From 22df5393b5ed9d57033cbac92dae0ec1742bd4fa Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 19 Oct 2021 02:56:18 +0000 Subject: [PATCH 01/16] chore: release 0.1.2-SNAPSHOT (#22) :robot: I have created a release \*beep\* \*boop\* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- google-cloud-deploy-bom/pom.xml | 8 ++++---- google-cloud-deploy/pom.xml | 4 ++-- grpc-google-cloud-deploy-v1/pom.xml | 4 ++-- pom.xml | 8 ++++---- proto-google-cloud-deploy-v1/pom.xml | 4 ++-- versions.txt | 6 +++--- 6 files changed, 17 insertions(+), 17 deletions(-) diff --git a/google-cloud-deploy-bom/pom.xml b/google-cloud-deploy-bom/pom.xml index de2cbb5..40cda93 100644 --- a/google-cloud-deploy-bom/pom.xml +++ b/google-cloud-deploy-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-deploy-bom - 0.1.1 + 0.1.2-SNAPSHOT pom com.google.cloud @@ -65,17 +65,17 @@ com.google.cloud google-cloud-deploy - 0.1.1 + 0.1.2-SNAPSHOT com.google.api.grpc grpc-google-cloud-deploy-v1 - 0.1.1 + 0.1.2-SNAPSHOT com.google.api.grpc proto-google-cloud-deploy-v1 - 0.1.1 + 0.1.2-SNAPSHOT diff --git a/google-cloud-deploy/pom.xml b/google-cloud-deploy/pom.xml index 06d8bea..0cd2006 100644 --- a/google-cloud-deploy/pom.xml +++ b/google-cloud-deploy/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-deploy - 0.1.1 + 0.1.2-SNAPSHOT jar Google Google CLoud Deploy https://github.com/googleapis/java-deploy @@ -11,7 +11,7 @@ com.google.cloud google-cloud-deploy-parent - 0.1.1 + 0.1.2-SNAPSHOT google-cloud-deploy diff --git a/grpc-google-cloud-deploy-v1/pom.xml b/grpc-google-cloud-deploy-v1/pom.xml index a326d3a..2beddb6 100644 --- a/grpc-google-cloud-deploy-v1/pom.xml +++ b/grpc-google-cloud-deploy-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-deploy-v1 - 0.1.1 + 0.1.2-SNAPSHOT grpc-google-cloud-deploy-v1 GRPC library for google-cloud-deploy com.google.cloud google-cloud-deploy-parent - 0.1.1 + 0.1.2-SNAPSHOT diff --git a/pom.xml b/pom.xml index 518bfb0..8f9ded7 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-deploy-parent pom - 0.1.1 + 0.1.2-SNAPSHOT Google Google CLoud Deploy Parent https://github.com/googleapis/java-deploy @@ -69,17 +69,17 @@ com.google.cloud google-cloud-deploy - 0.1.1 + 0.1.2-SNAPSHOT com.google.api.grpc grpc-google-cloud-deploy-v1 - 0.1.1 + 0.1.2-SNAPSHOT com.google.api.grpc proto-google-cloud-deploy-v1 - 0.1.1 + 0.1.2-SNAPSHOT diff --git a/proto-google-cloud-deploy-v1/pom.xml b/proto-google-cloud-deploy-v1/pom.xml index d0a46dd..cba0529 100644 --- a/proto-google-cloud-deploy-v1/pom.xml +++ b/proto-google-cloud-deploy-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-deploy-v1 - 0.1.1 + 0.1.2-SNAPSHOT proto-google-cloud-deploy-v1 Proto library for google-cloud-deploy com.google.cloud google-cloud-deploy-parent - 0.1.1 + 0.1.2-SNAPSHOT diff --git a/versions.txt b/versions.txt index 4752e8d..a348175 100644 --- a/versions.txt +++ b/versions.txt @@ -1,6 +1,6 @@ # Format: # module:released-version:current-version -google-cloud-deploy:0.1.1:0.1.1 -grpc-google-cloud-deploy-v1:0.1.1:0.1.1 -proto-google-cloud-deploy-v1:0.1.1:0.1.1 +google-cloud-deploy:0.1.1:0.1.2-SNAPSHOT +grpc-google-cloud-deploy-v1:0.1.1:0.1.2-SNAPSHOT +proto-google-cloud-deploy-v1:0.1.1:0.1.2-SNAPSHOT From b8144e61ea4bfc2d07f2e00d7c330a710ac2c0a3 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Tue, 19 Oct 2021 22:46:23 +0000 Subject: [PATCH 02/16] chore(ruby): Re-enable bigquery-storage-v1 generation, which also required updating protobuf from 3.15.3 to 3.18.1 for codegen (#17) - [x] Regenerate this pull request now. PiperOrigin-RevId: 403132955 Source-Link: https://github.com/googleapis/googleapis/commit/d2977af9e9f1fc0c9dc8368352daa032471f3c63 Source-Link: https://github.com/googleapis/googleapis-gen/commit/99bb13c813c0e9c2682d03a8b3c3bcb382a909c9 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiOTliYjEzYzgxM2MwZTljMjY4MmQwM2E4YjNjM2JjYjM4MmE5MDljOSJ9 --- .../deploy/v1/ApproveRolloutRequest.java | 4 +-- .../google/cloud/deploy/v1/BuildArtifact.java | 8 ++--- .../com/google/cloud/deploy/v1/Config.java | 8 ++--- .../v1/CreateDeliveryPipelineRequest.java | 12 +++---- .../cloud/deploy/v1/CreateReleaseRequest.java | 12 +++---- .../cloud/deploy/v1/CreateRolloutRequest.java | 12 +++---- .../cloud/deploy/v1/CreateTargetRequest.java | 12 +++---- .../google/cloud/deploy/v1/DefaultPool.java | 8 ++--- .../v1/DeleteDeliveryPipelineRequest.java | 12 +++---- .../cloud/deploy/v1/DeleteTargetRequest.java | 12 +++---- .../cloud/deploy/v1/DeliveryPipeline.java | 16 +++++----- .../cloud/deploy/v1/GetConfigRequest.java | 4 +-- .../deploy/v1/GetDeliveryPipelineRequest.java | 4 +-- .../cloud/deploy/v1/GetReleaseRequest.java | 4 +-- .../cloud/deploy/v1/GetRolloutRequest.java | 4 +-- .../cloud/deploy/v1/GetTargetRequest.java | 4 +-- .../google/cloud/deploy/v1/GkeCluster.java | 4 +-- .../v1/ListDeliveryPipelinesRequest.java | 16 +++++----- .../v1/ListDeliveryPipelinesResponse.java | 4 +-- .../cloud/deploy/v1/ListReleasesRequest.java | 16 +++++----- .../cloud/deploy/v1/ListReleasesResponse.java | 4 +-- .../cloud/deploy/v1/ListRolloutsRequest.java | 16 +++++----- .../cloud/deploy/v1/ListRolloutsResponse.java | 4 +-- .../cloud/deploy/v1/ListTargetsRequest.java | 16 +++++----- .../cloud/deploy/v1/ListTargetsResponse.java | 4 +-- .../cloud/deploy/v1/OperationMetadata.java | 16 +++++----- .../google/cloud/deploy/v1/PrivatePool.java | 12 +++---- .../com/google/cloud/deploy/v1/Release.java | 32 +++++++++---------- .../com/google/cloud/deploy/v1/Rollout.java | 28 ++++++++-------- .../cloud/deploy/v1/SkaffoldVersion.java | 4 +-- .../com/google/cloud/deploy/v1/Stage.java | 4 +-- .../com/google/cloud/deploy/v1/Target.java | 20 ++++++------ .../cloud/deploy/v1/TargetArtifact.java | 8 ++--- .../v1/UpdateDeliveryPipelineRequest.java | 4 +-- .../cloud/deploy/v1/UpdateTargetRequest.java | 4 +-- 35 files changed, 176 insertions(+), 176 deletions(-) diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ApproveRolloutRequest.java b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ApproveRolloutRequest.java index 2244109..90ab57b 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ApproveRolloutRequest.java +++ b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ApproveRolloutRequest.java @@ -205,7 +205,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getNameBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } if (approved_ != false) { @@ -220,7 +220,7 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getNameBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (approved_ != false) { diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/BuildArtifact.java b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/BuildArtifact.java index c9f3fab..0162da3 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/BuildArtifact.java +++ b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/BuildArtifact.java @@ -235,10 +235,10 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getTagBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tag_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, tag_); } - if (!getImageBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(image_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, image_); } unknownFields.writeTo(output); @@ -250,10 +250,10 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getTagBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tag_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, tag_); } - if (!getImageBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(image_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, image_); } size += unknownFields.getSerializedSize(); diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Config.java b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Config.java index 8a2ef44..3bf4426 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Config.java +++ b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Config.java @@ -330,13 +330,13 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getNameBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } for (int i = 0; i < supportedVersions_.size(); i++) { output.writeMessage(2, supportedVersions_.get(i)); } - if (!getDefaultSkaffoldVersionBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(defaultSkaffoldVersion_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, defaultSkaffoldVersion_); } unknownFields.writeTo(output); @@ -348,14 +348,14 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getNameBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { 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)); } - if (!getDefaultSkaffoldVersionBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(defaultSkaffoldVersion_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, defaultSkaffoldVersion_); } size += unknownFields.getSerializedSize(); diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateDeliveryPipelineRequest.java b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateDeliveryPipelineRequest.java index af20214..ab3fd7a 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateDeliveryPipelineRequest.java +++ b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateDeliveryPipelineRequest.java @@ -408,16 +408,16 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getParentBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } - if (!getDeliveryPipelineIdBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(deliveryPipelineId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, deliveryPipelineId_); } if (deliveryPipeline_ != null) { output.writeMessage(3, getDeliveryPipeline()); } - if (!getRequestIdBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, requestId_); } if (validateOnly_ != false) { @@ -432,16 +432,16 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getParentBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } - if (!getDeliveryPipelineIdBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(deliveryPipelineId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, deliveryPipelineId_); } if (deliveryPipeline_ != null) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getDeliveryPipeline()); } - if (!getRequestIdBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, requestId_); } if (validateOnly_ != false) { diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateReleaseRequest.java b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateReleaseRequest.java index 6e9befe..399c778 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateReleaseRequest.java +++ b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateReleaseRequest.java @@ -404,16 +404,16 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getParentBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } - if (!getReleaseIdBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(releaseId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, releaseId_); } if (release_ != null) { output.writeMessage(3, getRelease()); } - if (!getRequestIdBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, requestId_); } if (validateOnly_ != false) { @@ -428,16 +428,16 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getParentBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } - if (!getReleaseIdBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(releaseId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, releaseId_); } if (release_ != null) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getRelease()); } - if (!getRequestIdBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, requestId_); } if (validateOnly_ != false) { diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateRolloutRequest.java b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateRolloutRequest.java index f9081af..6e6d475 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateRolloutRequest.java +++ b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateRolloutRequest.java @@ -404,16 +404,16 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getParentBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } - if (!getRolloutIdBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(rolloutId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, rolloutId_); } if (rollout_ != null) { output.writeMessage(3, getRollout()); } - if (!getRequestIdBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, requestId_); } if (validateOnly_ != false) { @@ -428,16 +428,16 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getParentBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } - if (!getRolloutIdBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(rolloutId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, rolloutId_); } if (rollout_ != null) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getRollout()); } - if (!getRequestIdBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, requestId_); } if (validateOnly_ != false) { diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateTargetRequest.java b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateTargetRequest.java index e19f99d..96f415d 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateTargetRequest.java +++ b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateTargetRequest.java @@ -404,16 +404,16 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getParentBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } - if (!getTargetIdBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(targetId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, targetId_); } if (target_ != null) { output.writeMessage(3, getTarget()); } - if (!getRequestIdBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, requestId_); } if (validateOnly_ != false) { @@ -428,16 +428,16 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getParentBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } - if (!getTargetIdBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(targetId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, targetId_); } if (target_ != null) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getTarget()); } - if (!getRequestIdBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, requestId_); } if (validateOnly_ != false) { diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DefaultPool.java b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DefaultPool.java index ca58a3a..1b09041 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DefaultPool.java +++ b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DefaultPool.java @@ -241,10 +241,10 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getServiceAccountBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceAccount_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, serviceAccount_); } - if (!getArtifactStorageBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(artifactStorage_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, artifactStorage_); } unknownFields.writeTo(output); @@ -256,10 +256,10 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getServiceAccountBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceAccount_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, serviceAccount_); } - if (!getArtifactStorageBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(artifactStorage_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, artifactStorage_); } size += unknownFields.getSerializedSize(); diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeleteDeliveryPipelineRequest.java b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeleteDeliveryPipelineRequest.java index 6dd2ded..4ee2205 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeleteDeliveryPipelineRequest.java +++ b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeleteDeliveryPipelineRequest.java @@ -391,10 +391,10 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getNameBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } - if (!getRequestIdBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, requestId_); } if (allowMissing_ != false) { @@ -403,7 +403,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (validateOnly_ != false) { output.writeBool(4, validateOnly_); } - if (!getEtagBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, etag_); } if (force_ != false) { @@ -418,10 +418,10 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getNameBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (!getRequestIdBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, requestId_); } if (allowMissing_ != false) { @@ -430,7 +430,7 @@ public int getSerializedSize() { if (validateOnly_ != false) { size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, validateOnly_); } - if (!getEtagBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, etag_); } if (force_ != false) { diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeleteTargetRequest.java b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeleteTargetRequest.java index 24d64da..574b075 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeleteTargetRequest.java +++ b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeleteTargetRequest.java @@ -366,10 +366,10 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getNameBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } - if (!getRequestIdBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, requestId_); } if (allowMissing_ != false) { @@ -378,7 +378,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (validateOnly_ != false) { output.writeBool(4, validateOnly_); } - if (!getEtagBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, etag_); } unknownFields.writeTo(output); @@ -390,10 +390,10 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getNameBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (!getRequestIdBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, requestId_); } if (allowMissing_ != false) { @@ -402,7 +402,7 @@ public int getSerializedSize() { if (validateOnly_ != false) { size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, validateOnly_); } - if (!getEtagBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, etag_); } size += unknownFields.getSerializedSize(); diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeliveryPipeline.java b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeliveryPipeline.java index fe3f48f..0c34d19 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeliveryPipeline.java +++ b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeliveryPipeline.java @@ -937,13 +937,13 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getNameBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } - if (!getUidBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uid_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, uid_); } - if (!getDescriptionBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, description_); } com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( @@ -959,7 +959,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (pipelineCase_ == 8) { output.writeMessage(8, (com.google.cloud.deploy.v1.SerialPipeline) pipeline_); } - if (!getEtagBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 10, etag_); } if (condition_ != null) { @@ -974,13 +974,13 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getNameBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (!getUidBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uid_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, uid_); } - if (!getDescriptionBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, description_); } for (java.util.Map.Entry entry : @@ -1014,7 +1014,7 @@ public int getSerializedSize() { com.google.protobuf.CodedOutputStream.computeMessageSize( 8, (com.google.cloud.deploy.v1.SerialPipeline) pipeline_); } - if (!getEtagBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, etag_); } if (condition_ != null) { diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetConfigRequest.java b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetConfigRequest.java index a66a018..0c5d422 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetConfigRequest.java +++ b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetConfigRequest.java @@ -178,7 +178,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getNameBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } unknownFields.writeTo(output); @@ -190,7 +190,7 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getNameBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } size += unknownFields.getSerializedSize(); diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetDeliveryPipelineRequest.java b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetDeliveryPipelineRequest.java index 48aa227..0cdacf3 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetDeliveryPipelineRequest.java +++ b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetDeliveryPipelineRequest.java @@ -180,7 +180,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getNameBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } unknownFields.writeTo(output); @@ -192,7 +192,7 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getNameBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } size += unknownFields.getSerializedSize(); diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetReleaseRequest.java b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetReleaseRequest.java index 8825ff2..8d398cf 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetReleaseRequest.java +++ b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetReleaseRequest.java @@ -180,7 +180,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getNameBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } unknownFields.writeTo(output); @@ -192,7 +192,7 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getNameBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } size += unknownFields.getSerializedSize(); diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetRolloutRequest.java b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetRolloutRequest.java index 721c04a..390a349 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetRolloutRequest.java +++ b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetRolloutRequest.java @@ -180,7 +180,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getNameBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } unknownFields.writeTo(output); @@ -192,7 +192,7 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getNameBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } size += unknownFields.getSerializedSize(); diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetTargetRequest.java b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetTargetRequest.java index 99dcf2f..d8c72a3 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetTargetRequest.java +++ b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetTargetRequest.java @@ -180,7 +180,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getNameBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } unknownFields.writeTo(output); @@ -192,7 +192,7 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getNameBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } size += unknownFields.getSerializedSize(); diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GkeCluster.java b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GkeCluster.java index a06a781..95c6629 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GkeCluster.java +++ b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GkeCluster.java @@ -176,7 +176,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getClusterBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(cluster_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, cluster_); } unknownFields.writeTo(output); @@ -188,7 +188,7 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getClusterBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(cluster_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, cluster_); } size += unknownFields.getSerializedSize(); diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListDeliveryPipelinesRequest.java b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListDeliveryPipelinesRequest.java index 5218eed..18ed7fb 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListDeliveryPipelinesRequest.java +++ b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListDeliveryPipelinesRequest.java @@ -385,19 +385,19 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getParentBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } if (pageSize_ != 0) { output.writeInt32(2, pageSize_); } - if (!getPageTokenBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, pageToken_); } - if (!getFilterBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, filter_); } - if (!getOrderByBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderBy_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, orderBy_); } unknownFields.writeTo(output); @@ -409,19 +409,19 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getParentBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } - if (!getPageTokenBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); } - if (!getFilterBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, filter_); } - if (!getOrderByBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderBy_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, orderBy_); } size += unknownFields.getSerializedSize(); diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListDeliveryPipelinesResponse.java b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListDeliveryPipelinesResponse.java index 4c35c7c..9153138 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListDeliveryPipelinesResponse.java +++ b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListDeliveryPipelinesResponse.java @@ -341,7 +341,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < deliveryPipelines_.size(); i++) { output.writeMessage(1, deliveryPipelines_.get(i)); } - if (!getNextPageTokenBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nextPageToken_); } for (int i = 0; i < unreachable_.size(); i++) { @@ -360,7 +360,7 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, deliveryPipelines_.get(i)); } - if (!getNextPageTokenBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); } { diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListReleasesRequest.java b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListReleasesRequest.java index a94eb33..ce804f1 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListReleasesRequest.java +++ b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListReleasesRequest.java @@ -382,19 +382,19 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getParentBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } if (pageSize_ != 0) { output.writeInt32(2, pageSize_); } - if (!getPageTokenBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, pageToken_); } - if (!getFilterBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, filter_); } - if (!getOrderByBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderBy_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, orderBy_); } unknownFields.writeTo(output); @@ -406,19 +406,19 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getParentBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } - if (!getPageTokenBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); } - if (!getFilterBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, filter_); } - if (!getOrderByBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderBy_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, orderBy_); } size += unknownFields.getSerializedSize(); diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListReleasesResponse.java b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListReleasesResponse.java index c5a6623..9d78709 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListReleasesResponse.java +++ b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListReleasesResponse.java @@ -339,7 +339,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < releases_.size(); i++) { output.writeMessage(1, releases_.get(i)); } - if (!getNextPageTokenBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nextPageToken_); } for (int i = 0; i < unreachable_.size(); i++) { @@ -357,7 +357,7 @@ public int getSerializedSize() { for (int i = 0; i < releases_.size(); i++) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, releases_.get(i)); } - if (!getNextPageTokenBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); } { diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListRolloutsRequest.java b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListRolloutsRequest.java index 8300b1e..06137a2 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListRolloutsRequest.java +++ b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListRolloutsRequest.java @@ -382,19 +382,19 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getParentBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } if (pageSize_ != 0) { output.writeInt32(2, pageSize_); } - if (!getPageTokenBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, pageToken_); } - if (!getFilterBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, filter_); } - if (!getOrderByBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderBy_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, orderBy_); } unknownFields.writeTo(output); @@ -406,19 +406,19 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getParentBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } - if (!getPageTokenBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); } - if (!getFilterBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, filter_); } - if (!getOrderByBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderBy_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, orderBy_); } size += unknownFields.getSerializedSize(); diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListRolloutsResponse.java b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListRolloutsResponse.java index 5739116..360fecf 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListRolloutsResponse.java +++ b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListRolloutsResponse.java @@ -339,7 +339,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < rollouts_.size(); i++) { output.writeMessage(1, rollouts_.get(i)); } - if (!getNextPageTokenBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nextPageToken_); } for (int i = 0; i < unreachable_.size(); i++) { @@ -357,7 +357,7 @@ public int getSerializedSize() { for (int i = 0; i < rollouts_.size(); i++) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, rollouts_.get(i)); } - if (!getNextPageTokenBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); } { diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListTargetsRequest.java b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListTargetsRequest.java index e99039b..17e5fb6 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListTargetsRequest.java +++ b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListTargetsRequest.java @@ -384,19 +384,19 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getParentBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } if (pageSize_ != 0) { output.writeInt32(2, pageSize_); } - if (!getPageTokenBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, pageToken_); } - if (!getFilterBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, filter_); } - if (!getOrderByBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderBy_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, orderBy_); } unknownFields.writeTo(output); @@ -408,19 +408,19 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getParentBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } - if (!getPageTokenBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); } - if (!getFilterBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, filter_); } - if (!getOrderByBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderBy_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, orderBy_); } size += unknownFields.getSerializedSize(); diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListTargetsResponse.java b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListTargetsResponse.java index f1b86af..0bde947 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListTargetsResponse.java +++ b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListTargetsResponse.java @@ -338,7 +338,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < targets_.size(); i++) { output.writeMessage(1, targets_.get(i)); } - if (!getNextPageTokenBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nextPageToken_); } for (int i = 0; i < unreachable_.size(); i++) { @@ -356,7 +356,7 @@ public int getSerializedSize() { for (int i = 0; i < targets_.size(); i++) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, targets_.get(i)); } - if (!getNextPageTokenBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); } { diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/OperationMetadata.java b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/OperationMetadata.java index 549c642..6dad9a7 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/OperationMetadata.java +++ b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/OperationMetadata.java @@ -505,19 +505,19 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (endTime_ != null) { output.writeMessage(2, getEndTime()); } - if (!getTargetBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(target_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, target_); } - if (!getVerbBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(verb_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, verb_); } - if (!getStatusMessageBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(statusMessage_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, statusMessage_); } if (requestedCancellation_ != false) { output.writeBool(6, requestedCancellation_); } - if (!getApiVersionBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(apiVersion_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 7, apiVersion_); } unknownFields.writeTo(output); @@ -535,19 +535,19 @@ public int getSerializedSize() { if (endTime_ != null) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEndTime()); } - if (!getTargetBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(target_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, target_); } - if (!getVerbBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(verb_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, verb_); } - if (!getStatusMessageBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(statusMessage_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, statusMessage_); } if (requestedCancellation_ != false) { size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, requestedCancellation_); } - if (!getApiVersionBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(apiVersion_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, apiVersion_); } size += unknownFields.getSerializedSize(); diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PrivatePool.java b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PrivatePool.java index 06f0035..5700f66 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PrivatePool.java +++ b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PrivatePool.java @@ -304,13 +304,13 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getWorkerPoolBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workerPool_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, workerPool_); } - if (!getServiceAccountBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceAccount_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, serviceAccount_); } - if (!getArtifactStorageBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(artifactStorage_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, artifactStorage_); } unknownFields.writeTo(output); @@ -322,13 +322,13 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getWorkerPoolBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workerPool_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, workerPool_); } - if (!getServiceAccountBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceAccount_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, serviceAccount_); } - if (!getArtifactStorageBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(artifactStorage_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, artifactStorage_); } size += unknownFields.getSerializedSize(); diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Release.java b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Release.java index 0d71bcd..804a281 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Release.java +++ b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Release.java @@ -989,7 +989,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getRenderingBuildBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(renderingBuild_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, renderingBuild_); } if (renderingState_ @@ -1007,7 +1007,7 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getRenderingBuildBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(renderingBuild_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, renderingBuild_); } if (renderingState_ @@ -2844,13 +2844,13 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getNameBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } - if (!getUidBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uid_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, uid_); } - if (!getDescriptionBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, description_); } com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( @@ -2866,7 +2866,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (renderEndTime_ != null) { output.writeMessage(8, getRenderEndTime()); } - if (!getSkaffoldConfigPathBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(skaffoldConfigPath_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 9, skaffoldConfigPath_); } for (int i = 0; i < buildArtifacts_.size(); i++) { @@ -2882,13 +2882,13 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io != com.google.cloud.deploy.v1.Release.RenderState.RENDER_STATE_UNSPECIFIED.getNumber()) { output.writeEnum(13, renderState_); } - if (!getEtagBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 16, etag_); } - if (!getSkaffoldConfigUriBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(skaffoldConfigUri_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 17, skaffoldConfigUri_); } - if (!getSkaffoldVersionBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(skaffoldVersion_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 19, skaffoldVersion_); } com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( @@ -2904,13 +2904,13 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getNameBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (!getUidBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uid_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, uid_); } - if (!getDescriptionBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, description_); } for (java.util.Map.Entry entry : @@ -2942,7 +2942,7 @@ public int getSerializedSize() { if (renderEndTime_ != null) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getRenderEndTime()); } - if (!getSkaffoldConfigPathBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(skaffoldConfigPath_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, skaffoldConfigPath_); } for (int i = 0; i < buildArtifacts_.size(); i++) { @@ -2960,13 +2960,13 @@ public int getSerializedSize() { != com.google.cloud.deploy.v1.Release.RenderState.RENDER_STATE_UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream.computeEnumSize(13, renderState_); } - if (!getEtagBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(16, etag_); } - if (!getSkaffoldConfigUriBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(skaffoldConfigUri_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(17, skaffoldConfigUri_); } - if (!getSkaffoldVersionBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(skaffoldVersion_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(19, skaffoldVersion_); } for (java.util.Map.Entry entry : diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Rollout.java b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Rollout.java index 51bded6..bf4d1f7 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Rollout.java +++ b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Rollout.java @@ -1703,13 +1703,13 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getNameBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } - if (!getUidBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uid_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, uid_); } - if (!getDescriptionBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, description_); } com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( @@ -1739,16 +1739,16 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (state_ != com.google.cloud.deploy.v1.Rollout.State.STATE_UNSPECIFIED.getNumber()) { output.writeEnum(13, state_); } - if (!getFailureReasonBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(failureReason_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 14, failureReason_); } - if (!getEtagBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 16, etag_); } - if (!getDeployingBuildBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(deployingBuild_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 17, deployingBuild_); } - if (!getTargetIdBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(targetId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 18, targetId_); } unknownFields.writeTo(output); @@ -1760,13 +1760,13 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getNameBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (!getUidBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uid_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, uid_); } - if (!getDescriptionBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, description_); } for (java.util.Map.Entry entry : @@ -1812,16 +1812,16 @@ public int getSerializedSize() { if (state_ != com.google.cloud.deploy.v1.Rollout.State.STATE_UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream.computeEnumSize(13, state_); } - if (!getFailureReasonBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(failureReason_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(14, failureReason_); } - if (!getEtagBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(16, etag_); } - if (!getDeployingBuildBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(deployingBuild_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(17, deployingBuild_); } - if (!getTargetIdBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(targetId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(18, targetId_); } size += unknownFields.getSerializedSize(); diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/SkaffoldVersion.java b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/SkaffoldVersion.java index e0a607d..d3c2235 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/SkaffoldVersion.java +++ b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/SkaffoldVersion.java @@ -234,7 +234,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getVersionBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(version_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, version_); } if (supportEndDate_ != null) { @@ -249,7 +249,7 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getVersionBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(version_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, version_); } if (supportEndDate_ != null) { diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Stage.java b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Stage.java index 24ac549..655e4c6 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Stage.java +++ b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Stage.java @@ -263,7 +263,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getTargetIdBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(targetId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, targetId_); } for (int i = 0; i < profiles_.size(); i++) { @@ -278,7 +278,7 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getTargetIdBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(targetId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, targetId_); } { diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Target.java b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Target.java index 18e74c4..c666191 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Target.java +++ b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Target.java @@ -1065,16 +1065,16 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getNameBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } - if (!getTargetIdBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(targetId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, targetId_); } - if (!getUidBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uid_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, uid_); } - if (!getDescriptionBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, description_); } com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( @@ -1087,7 +1087,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (updateTime_ != null) { output.writeMessage(9, getUpdateTime()); } - if (!getEtagBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 12, etag_); } if (requireApproval_ != false) { @@ -1108,16 +1108,16 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getNameBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (!getTargetIdBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(targetId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, targetId_); } - if (!getUidBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uid_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, uid_); } - if (!getDescriptionBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, description_); } for (java.util.Map.Entry entry : @@ -1146,7 +1146,7 @@ public int getSerializedSize() { if (updateTime_ != null) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getUpdateTime()); } - if (!getEtagBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, etag_); } if (requireApproval_ != false) { diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetArtifact.java b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetArtifact.java index f0eeece..4f98383 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetArtifact.java +++ b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetArtifact.java @@ -358,10 +358,10 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getSkaffoldConfigPathBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(skaffoldConfigPath_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, skaffoldConfigPath_); } - if (!getManifestPathBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(manifestPath_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, manifestPath_); } if (uriCase_ == 4) { @@ -376,10 +376,10 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getSkaffoldConfigPathBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(skaffoldConfigPath_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, skaffoldConfigPath_); } - if (!getManifestPathBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(manifestPath_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, manifestPath_); } if (uriCase_ == 4) { diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/UpdateDeliveryPipelineRequest.java b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/UpdateDeliveryPipelineRequest.java index a1d78c3..ae9a13b 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/UpdateDeliveryPipelineRequest.java +++ b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/UpdateDeliveryPipelineRequest.java @@ -394,7 +394,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (deliveryPipeline_ != null) { output.writeMessage(2, getDeliveryPipeline()); } - if (!getRequestIdBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, requestId_); } if (allowMissing_ != false) { @@ -418,7 +418,7 @@ public int getSerializedSize() { if (deliveryPipeline_ != null) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getDeliveryPipeline()); } - if (!getRequestIdBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, requestId_); } if (allowMissing_ != false) { diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/UpdateTargetRequest.java b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/UpdateTargetRequest.java index 7b1b40a..104ab9e 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/UpdateTargetRequest.java +++ b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/UpdateTargetRequest.java @@ -388,7 +388,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (target_ != null) { output.writeMessage(2, getTarget()); } - if (!getRequestIdBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, requestId_); } if (allowMissing_ != false) { @@ -412,7 +412,7 @@ public int getSerializedSize() { if (target_ != null) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getTarget()); } - if (!getRequestIdBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, requestId_); } if (allowMissing_ != false) { From 8eb87381f2147ce14f7cb07ee913f21b9612cd0f Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Thu, 21 Oct 2021 17:14:43 -0400 Subject: [PATCH 03/16] docs: fix docstring formatting (#19) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * docs: fix docstring formatting Committer: @parthea PiperOrigin-RevId: 403986035 Source-Link: https://github.com/googleapis/googleapis/commit/bbe8aa1896799a456a90dfda189e9150ed92c310 Source-Link: https://github.com/googleapis/googleapis-gen/commit/4a43c7a5873fefde138a03b37e184ea27834c5f5 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNGE0M2M3YTU4NzNmZWZkZTEzOGEwM2IzN2UxODRlYTI3ODM0YzVmNSJ9 * 🦉 Updates from OwlBot See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md Co-authored-by: Owl Bot --- .../cloud/deploy/v1/DeliveryPipeline.java | 66 +++++++++---------- .../deploy/v1/DeliveryPipelineOrBuilder.java | 30 ++++----- .../com/google/cloud/deploy/v1/Release.java | 66 +++++++++---------- .../cloud/deploy/v1/ReleaseOrBuilder.java | 30 ++++----- .../com/google/cloud/deploy/v1/Rollout.java | 66 +++++++++---------- .../cloud/deploy/v1/RolloutOrBuilder.java | 30 ++++----- .../com/google/cloud/deploy/v1/Target.java | 66 +++++++++---------- .../cloud/deploy/v1/TargetOrBuilder.java | 30 ++++----- .../google/cloud/deploy/v1/cloud_deploy.proto | 24 +++---- 9 files changed, 204 insertions(+), 204 deletions(-) diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeliveryPipeline.java b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeliveryPipeline.java index 0c34d19..e547eef 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeliveryPipeline.java +++ b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeliveryPipeline.java @@ -578,9 +578,9 @@ public int getLabelsCount() { * Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * * map<string, string> labels = 5; @@ -605,9 +605,9 @@ public java.util.Map getLabels() { * Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * * map<string, string> labels = 5; @@ -623,9 +623,9 @@ public java.util.Map getLabelsMap() { * Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * * map<string, string> labels = 5; @@ -645,9 +645,9 @@ public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.Strin * Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * * map<string, string> labels = 5; @@ -2037,9 +2037,9 @@ public int getLabelsCount() { * Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * * map<string, string> labels = 5; @@ -2064,9 +2064,9 @@ public java.util.Map getLabels() { * Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * * map<string, string> labels = 5; @@ -2082,9 +2082,9 @@ public java.util.Map getLabelsMap() { * Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * * map<string, string> labels = 5; @@ -2105,9 +2105,9 @@ public java.lang.String getLabelsOrDefault( * Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * * map<string, string> labels = 5; @@ -2135,9 +2135,9 @@ public Builder clearLabels() { * Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * * map<string, string> labels = 5; @@ -2161,9 +2161,9 @@ public java.util.Map getMutableLabels() { * Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * * map<string, string> labels = 5; @@ -2185,9 +2185,9 @@ public Builder putLabels(java.lang.String key, java.lang.String value) { * Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * * map<string, string> labels = 5; diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeliveryPipelineOrBuilder.java b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeliveryPipelineOrBuilder.java index 0dc6289..1d1c689 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeliveryPipelineOrBuilder.java +++ b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeliveryPipelineOrBuilder.java @@ -176,9 +176,9 @@ public interface DeliveryPipelineOrBuilder * Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * * map<string, string> labels = 5; @@ -191,9 +191,9 @@ public interface DeliveryPipelineOrBuilder * Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * * map<string, string> labels = 5; @@ -209,9 +209,9 @@ public interface DeliveryPipelineOrBuilder * Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * * map<string, string> labels = 5; @@ -224,9 +224,9 @@ public interface DeliveryPipelineOrBuilder * Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * * map<string, string> labels = 5; @@ -239,9 +239,9 @@ public interface DeliveryPipelineOrBuilder * Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * * map<string, string> labels = 5; diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Release.java b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Release.java index 804a281..5ab04b2 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Release.java +++ b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Release.java @@ -1896,9 +1896,9 @@ public int getLabelsCount() { * Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * * map<string, string> labels = 5; @@ -1923,9 +1923,9 @@ public java.util.Map getLabels() { * Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * * map<string, string> labels = 5; @@ -1941,9 +1941,9 @@ public java.util.Map getLabelsMap() { * Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * * map<string, string> labels = 5; @@ -1963,9 +1963,9 @@ public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.Strin * Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * * map<string, string> labels = 5; @@ -4144,9 +4144,9 @@ public int getLabelsCount() { * Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * * map<string, string> labels = 5; @@ -4171,9 +4171,9 @@ public java.util.Map getLabels() { * Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * * map<string, string> labels = 5; @@ -4189,9 +4189,9 @@ public java.util.Map getLabelsMap() { * Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * * map<string, string> labels = 5; @@ -4212,9 +4212,9 @@ public java.lang.String getLabelsOrDefault( * Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * * map<string, string> labels = 5; @@ -4242,9 +4242,9 @@ public Builder clearLabels() { * Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * * map<string, string> labels = 5; @@ -4268,9 +4268,9 @@ public java.util.Map getMutableLabels() { * Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * * map<string, string> labels = 5; @@ -4292,9 +4292,9 @@ public Builder putLabels(java.lang.String key, java.lang.String value) { * Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * * map<string, string> labels = 5; diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ReleaseOrBuilder.java b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ReleaseOrBuilder.java index 0850629..f6ced02 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ReleaseOrBuilder.java +++ b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ReleaseOrBuilder.java @@ -178,9 +178,9 @@ public interface ReleaseOrBuilder * Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * * map<string, string> labels = 5; @@ -193,9 +193,9 @@ public interface ReleaseOrBuilder * Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * * map<string, string> labels = 5; @@ -211,9 +211,9 @@ public interface ReleaseOrBuilder * Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * * map<string, string> labels = 5; @@ -226,9 +226,9 @@ public interface ReleaseOrBuilder * Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * * map<string, string> labels = 5; @@ -241,9 +241,9 @@ public interface ReleaseOrBuilder * Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * * map<string, string> labels = 5; diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Rollout.java b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Rollout.java index bf4d1f7..aa47a6c 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Rollout.java +++ b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Rollout.java @@ -1060,9 +1060,9 @@ public int getLabelsCount() { * Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * * map<string, string> labels = 5; @@ -1087,9 +1087,9 @@ public java.util.Map getLabels() { * Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * * map<string, string> labels = 5; @@ -1105,9 +1105,9 @@ public java.util.Map getLabelsMap() { * Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * * map<string, string> labels = 5; @@ -1127,9 +1127,9 @@ public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.Strin * Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * * map<string, string> labels = 5; @@ -2888,9 +2888,9 @@ public int getLabelsCount() { * Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * * map<string, string> labels = 5; @@ -2915,9 +2915,9 @@ public java.util.Map getLabels() { * Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * * map<string, string> labels = 5; @@ -2933,9 +2933,9 @@ public java.util.Map getLabelsMap() { * Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * * map<string, string> labels = 5; @@ -2956,9 +2956,9 @@ public java.lang.String getLabelsOrDefault( * Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * * map<string, string> labels = 5; @@ -2986,9 +2986,9 @@ public Builder clearLabels() { * Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * * map<string, string> labels = 5; @@ -3012,9 +3012,9 @@ public java.util.Map getMutableLabels() { * Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * * map<string, string> labels = 5; @@ -3036,9 +3036,9 @@ public Builder putLabels(java.lang.String key, java.lang.String value) { * Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * * map<string, string> labels = 5; diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RolloutOrBuilder.java b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RolloutOrBuilder.java index bfd3b42..2e4cd29 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RolloutOrBuilder.java +++ b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RolloutOrBuilder.java @@ -180,9 +180,9 @@ public interface RolloutOrBuilder * Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * * map<string, string> labels = 5; @@ -195,9 +195,9 @@ public interface RolloutOrBuilder * Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * * map<string, string> labels = 5; @@ -213,9 +213,9 @@ public interface RolloutOrBuilder * Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * * map<string, string> labels = 5; @@ -228,9 +228,9 @@ public interface RolloutOrBuilder * Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * * map<string, string> labels = 5; @@ -243,9 +243,9 @@ public interface RolloutOrBuilder * Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * * map<string, string> labels = 5; diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Target.java b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Target.java index c666191..0921e14 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Target.java +++ b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Target.java @@ -645,9 +645,9 @@ public int getLabelsCount() { * Optional. Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; @@ -672,9 +672,9 @@ public java.util.Map getLabels() { * Optional. Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; @@ -690,9 +690,9 @@ public java.util.Map getLabelsMap() { * Optional. Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; @@ -712,9 +712,9 @@ public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.Strin * Optional. Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; @@ -2334,9 +2334,9 @@ public int getLabelsCount() { * Optional. Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; @@ -2361,9 +2361,9 @@ public java.util.Map getLabels() { * Optional. Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; @@ -2379,9 +2379,9 @@ public java.util.Map getLabelsMap() { * Optional. Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; @@ -2402,9 +2402,9 @@ public java.lang.String getLabelsOrDefault( * Optional. Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; @@ -2432,9 +2432,9 @@ public Builder clearLabels() { * Optional. Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; @@ -2458,9 +2458,9 @@ public java.util.Map getMutableLabels() { * Optional. Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; @@ -2482,9 +2482,9 @@ public Builder putLabels(java.lang.String key, java.lang.String value) { * Optional. Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetOrBuilder.java b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetOrBuilder.java index 2490aec..70879f2 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetOrBuilder.java +++ b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetOrBuilder.java @@ -206,9 +206,9 @@ public interface TargetOrBuilder * Optional. Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; @@ -221,9 +221,9 @@ public interface TargetOrBuilder * Optional. Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; @@ -239,9 +239,9 @@ public interface TargetOrBuilder * Optional. Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; @@ -254,9 +254,9 @@ public interface TargetOrBuilder * Optional. Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; @@ -269,9 +269,9 @@ public interface TargetOrBuilder * Optional. Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; diff --git a/proto-google-cloud-deploy-v1/src/main/proto/google/cloud/deploy/v1/cloud_deploy.proto b/proto-google-cloud-deploy-v1/src/main/proto/google/cloud/deploy/v1/cloud_deploy.proto index 54071e0..ebdfb88 100644 --- a/proto-google-cloud-deploy-v1/src/main/proto/google/cloud/deploy/v1/cloud_deploy.proto +++ b/proto-google-cloud-deploy-v1/src/main/proto/google/cloud/deploy/v1/cloud_deploy.proto @@ -265,9 +265,9 @@ message DeliveryPipeline { // Labels are attributes that can be set and used by both the // user and by Google Cloud Deploy. Labels must meet the following // constraints: Each resource is limited to 64 labels. Keys must conform to - // the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - // [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - // <= 128 bytes in size. + // the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + // regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + // constrained to be <= 128 bytes in size. map labels = 5; // Output only. Time at which the pipeline was created. @@ -559,9 +559,9 @@ message Target { // Optional. Labels are attributes that can be set and used by both the // user and by Google Cloud Deploy. Labels must meet the following // constraints: Each resource is limited to 64 labels. Keys must conform to - // the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - // [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - // <= 128 bytes in size. + // the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + // regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + // constrained to be <= 128 bytes in size. map labels = 6 [(google.api.field_behavior) = OPTIONAL]; // Optional. Whether or not the `Target` requires approval. @@ -914,9 +914,9 @@ message Release { // Labels are attributes that can be set and used by both the // user and by Google Cloud Deploy. Labels must meet the following // constraints: Each resource is limited to 64 labels. Keys must conform to - // the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - // [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - // <= 128 bytes in size. + // the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + // regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + // constrained to be <= 128 bytes in size. map labels = 5; // Output only. Time at which the `Release` was created. @@ -1162,9 +1162,9 @@ message Rollout { // Labels are attributes that can be set and used by both the // user and by Google Cloud Deploy. Labels must meet the following // constraints: Each resource is limited to 64 labels. Keys must conform to - // the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - // [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - // <= 128 bytes in size. + // the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + // regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + // constrained to be <= 128 bytes in size. map labels = 5; // Output only. Time at which the `Rollout` was created. From 449aa0f497308d7eed094232d03322e604f39047 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Mon, 25 Oct 2021 21:04:18 +0000 Subject: [PATCH 04/16] fix(java): java 17 dependency arguments (#1266) (#26) --- .github/.OwlBot.lock.yaml | 2 +- .kokoro/dependencies.sh | 10 ++++------ 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/.OwlBot.lock.yaml b/.github/.OwlBot.lock.yaml index a600ac2..ee66478 100644 --- a/.github/.OwlBot.lock.yaml +++ b/.github/.OwlBot.lock.yaml @@ -1,3 +1,3 @@ docker: image: gcr.io/repo-automation-bots/owlbot-java:latest - digest: sha256:d4b2141d65566523dfd523f63c6e6899ab1281463bce182a9f600e74b0511875 + digest: sha256:a3ac08d167454718ff057b97a1950d3cb5e16fc39fb3f355d90276285a6cac75 diff --git a/.kokoro/dependencies.sh b/.kokoro/dependencies.sh index 9a5105d..d7476cf 100755 --- a/.kokoro/dependencies.sh +++ b/.kokoro/dependencies.sh @@ -38,15 +38,13 @@ function determineMavenOpts() { | sed -E 's/^(1\.[0-9]\.0).*$/\1/g' ) - case $javaVersion in - "17") + if [[ $javaVersion == 17* ]] + then # MaxPermSize is no longer supported as of jdk 17 echo -n "-Xmx1024m" - ;; - *) + else echo -n "-Xmx1024m -XX:MaxPermSize=128m" - ;; - esac + fi } export MAVEN_OPTS=$(determineMavenOpts) From 07f19900f2b9a2172026fadbcbe96fec1912b195 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 25 Oct 2021 23:06:30 +0200 Subject: [PATCH 05/16] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v1.2.0 (#25) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-shared-config](https://togithub.com/googleapis/java-shared-config) | `1.1.0` -> `1.2.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.2.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.2.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.2.0/compatibility-slim/1.1.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.2.0/confidence-slim/1.1.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
googleapis/java-shared-config ### [`v1.2.0`](https://togithub.com/googleapis/java-shared-config/blob/master/CHANGELOG.md#​120-httpswwwgithubcomgoogleapisjava-shared-configcomparev110v120-2021-10-21) [Compare Source](https://togithub.com/googleapis/java-shared-config/compare/v1.1.0...v1.2.0) ##### Features - Introduce Native Image testing build script changes ([#​1240](https://www.togithub.com/googleapis/java-shared-config/issues/1240)) ([#​334](https://www.togithub.com/googleapis/java-shared-config/issues/334)) ([4643cf1](https://www.github.com/googleapis/java-shared-config/commit/4643cf15be0b37fa8fa905d544d438cda7ef2ecd)) ##### Bug Fixes - **java:** downgrade native maven plugin version ([#​335](https://www.togithub.com/googleapis/java-shared-config/issues/335)) ([5834284](https://www.github.com/googleapis/java-shared-config/commit/5834284176fb34713d10082ce04f3b6abba85ad8))
--- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-deploy). --- google-cloud-deploy-bom/pom.xml | 2 +- pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/google-cloud-deploy-bom/pom.xml b/google-cloud-deploy-bom/pom.xml index 40cda93..735e7e8 100644 --- a/google-cloud-deploy-bom/pom.xml +++ b/google-cloud-deploy-bom/pom.xml @@ -8,7 +8,7 @@ com.google.cloud google-cloud-shared-config - 1.1.0 + 1.2.0 Google Google CLoud Deploy BOM diff --git a/pom.xml b/pom.xml index 8f9ded7..70b249a 100644 --- a/pom.xml +++ b/pom.xml @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 1.1.0 + 1.2.0 From 4bbe7f5ea05a2d8d315da22c82a711e2c11b43ab Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Thu, 4 Nov 2021 22:16:22 +0000 Subject: [PATCH 06/16] chore(java): remove pin on Apache Maven 3.8.1 from github actions (#1268) (#27) --- .github/.OwlBot.lock.yaml | 2 +- .github/workflows/ci.yaml | 17 +---------------- 2 files changed, 2 insertions(+), 17 deletions(-) diff --git a/.github/.OwlBot.lock.yaml b/.github/.OwlBot.lock.yaml index ee66478..86fe600 100644 --- a/.github/.OwlBot.lock.yaml +++ b/.github/.OwlBot.lock.yaml @@ -1,3 +1,3 @@ docker: image: gcr.io/repo-automation-bots/owlbot-java:latest - digest: sha256:a3ac08d167454718ff057b97a1950d3cb5e16fc39fb3f355d90276285a6cac75 + digest: sha256:ed012741acaae5d03e011244585a1f0625a596d31568967d77772aa5a0a51d5e diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 2425d72..d95a11a 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -12,9 +12,6 @@ jobs: java: [8, 11, 17] steps: - uses: actions/checkout@v2 - - uses: stCarolas/setup-maven@v4 - with: - maven-version: 3.8.1 - uses: actions/setup-java@v2 with: distribution: zulu @@ -27,9 +24,6 @@ jobs: runs-on: windows-latest steps: - uses: actions/checkout@v2 - - uses: stCarolas/setup-maven@v4 - with: - maven-version: 3.8.1 - uses: actions/setup-java@v2 with: distribution: zulu @@ -45,9 +39,6 @@ jobs: java: [8, 11, 17] steps: - uses: actions/checkout@v2 - - uses: stCarolas/setup-maven@v4 - with: - maven-version: 3.8.1 - uses: actions/setup-java@v2 with: distribution: zulu @@ -58,9 +49,6 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - uses: stCarolas/setup-maven@v4 - with: - maven-version: 3.8.1 - uses: actions/setup-java@v2 with: distribution: zulu @@ -73,9 +61,6 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - uses: stCarolas/setup-maven@v4 - with: - maven-version: 3.8.1 - uses: actions/setup-java@v2 with: distribution: zulu @@ -83,4 +68,4 @@ jobs: - run: java -version - run: .kokoro/build.sh env: - JOB_TYPE: clirr + JOB_TYPE: clirr \ No newline at end of file From 3269f655edbaba6e22c6a1c6c50dd5f7b0d06b12 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Mon, 8 Nov 2021 15:22:36 +0000 Subject: [PATCH 07/16] Update ci.yaml (#1275) (#28) --- .github/.OwlBot.lock.yaml | 2 +- .github/workflows/ci.yaml | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/.OwlBot.lock.yaml b/.github/.OwlBot.lock.yaml index 86fe600..323e242 100644 --- a/.github/.OwlBot.lock.yaml +++ b/.github/.OwlBot.lock.yaml @@ -1,3 +1,3 @@ docker: image: gcr.io/repo-automation-bots/owlbot-java:latest - digest: sha256:ed012741acaae5d03e011244585a1f0625a596d31568967d77772aa5a0a51d5e + digest: sha256:fecf6bd85f19eb046d913982ea36f6d434f9a49ab0545d25e31186aa64367c0c diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index d95a11a..93b337c 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -8,6 +8,7 @@ jobs: units: runs-on: ubuntu-latest strategy: + fail-fast: false matrix: java: [8, 11, 17] steps: @@ -68,4 +69,4 @@ jobs: - run: java -version - run: .kokoro/build.sh env: - JOB_TYPE: clirr \ No newline at end of file + JOB_TYPE: clirr From 2501e844f292b0b5c1ed588d6fe8fb3eb244fe57 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Mon, 8 Nov 2021 13:44:26 -0800 Subject: [PATCH 08/16] chore: cleanup cloud RAD generation (#1269) (#29) Updating cloud rad generation to support [java-shared-config/pull/344](https://github.com/googleapis/java-shared-config/pull/344) updates and removing inclusion of README as we're not currently supporting this feature yet Source-Link: https://github.com/googleapis/synthtool/commit/99ea92a109dbcd4e2b8c179e337848ba6a25fe16 Post-Processor: gcr.io/repo-automation-bots/owlbot-java:latest@sha256:204b7af96e6d481f19b0ff377aa379d46bc56dd06e1cc7c523f361dd9cbfeeaa Co-authored-by: Owl Bot --- .github/.OwlBot.lock.yaml | 2 +- .kokoro/release/publish_javadoc11.sh | 10 +++------- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/.github/.OwlBot.lock.yaml b/.github/.OwlBot.lock.yaml index 323e242..7409005 100644 --- a/.github/.OwlBot.lock.yaml +++ b/.github/.OwlBot.lock.yaml @@ -1,3 +1,3 @@ docker: image: gcr.io/repo-automation-bots/owlbot-java:latest - digest: sha256:fecf6bd85f19eb046d913982ea36f6d434f9a49ab0545d25e31186aa64367c0c + digest: sha256:204b7af96e6d481f19b0ff377aa379d46bc56dd06e1cc7c523f361dd9cbfeeaa diff --git a/.kokoro/release/publish_javadoc11.sh b/.kokoro/release/publish_javadoc11.sh index 6f4a8d3..4e1c782 100755 --- a/.kokoro/release/publish_javadoc11.sh +++ b/.kokoro/release/publish_javadoc11.sh @@ -36,13 +36,9 @@ mvn clean install -B -q -DskipTests=true export NAME=google-cloud-deploy export VERSION=$(grep ${NAME}: versions.txt | cut -d: -f3) -# V3 generates docfx yml from javadoc -# generate yml -mvn clean site -B -q -P docFX - -# copy README to docfx-yml dir and rename index.md -cp README.md target/docfx-yml/index.md -# copy CHANGELOG to docfx-yml dir and rename history.md +# cloud RAD generation +mvn clean javadoc:aggregate -B -q -P docFX +# include CHANGELOG cp CHANGELOG.md target/docfx-yml/history.md pushd target/docfx-yml From 5846b96f601468122b7ce707ae3cdb131a5f8e6c Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 9 Nov 2021 00:18:59 +0100 Subject: [PATCH 09/16] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v1.2.1 (#30) --- google-cloud-deploy-bom/pom.xml | 2 +- pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/google-cloud-deploy-bom/pom.xml b/google-cloud-deploy-bom/pom.xml index 735e7e8..e729629 100644 --- a/google-cloud-deploy-bom/pom.xml +++ b/google-cloud-deploy-bom/pom.xml @@ -8,7 +8,7 @@ com.google.cloud google-cloud-shared-config - 1.2.0 + 1.2.1 Google Google CLoud Deploy BOM diff --git a/pom.xml b/pom.xml index 70b249a..decd198 100644 --- a/pom.xml +++ b/pom.xml @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 1.2.0 + 1.2.1 From 5d3457e0656c99dee100ef3e113264edad32d17d Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Tue, 9 Nov 2021 15:32:23 +0000 Subject: [PATCH 10/16] chore: update jre to 11 for linter (#1278) (#31) --- .github/.OwlBot.lock.yaml | 2 +- .github/workflows/ci.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/.OwlBot.lock.yaml b/.github/.OwlBot.lock.yaml index 7409005..4435ffc 100644 --- a/.github/.OwlBot.lock.yaml +++ b/.github/.OwlBot.lock.yaml @@ -1,3 +1,3 @@ docker: image: gcr.io/repo-automation-bots/owlbot-java:latest - digest: sha256:204b7af96e6d481f19b0ff377aa379d46bc56dd06e1cc7c523f361dd9cbfeeaa + digest: sha256:14ecf64ec36f67c7bf04e3dc0f68eafcc01df3955121c38862b695e2ae7515d8 diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 93b337c..05de1f6 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -53,7 +53,7 @@ jobs: - uses: actions/setup-java@v2 with: distribution: zulu - java-version: 8 + java-version: 11 - run: java -version - run: .kokoro/build.sh env: From 3bf50bd579677475276a93a87e12711d931d4fd8 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Thu, 11 Nov 2021 21:16:21 +0000 Subject: [PATCH 11/16] chore: update minimum java version to java 8 (#1281) (#33) --- .github/.OwlBot.lock.yaml | 2 +- README.md | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/.OwlBot.lock.yaml b/.github/.OwlBot.lock.yaml index 4435ffc..5748a30 100644 --- a/.github/.OwlBot.lock.yaml +++ b/.github/.OwlBot.lock.yaml @@ -1,3 +1,3 @@ docker: image: gcr.io/repo-automation-bots/owlbot-java:latest - digest: sha256:14ecf64ec36f67c7bf04e3dc0f68eafcc01df3955121c38862b695e2ae7515d8 + digest: sha256:a744afda1956beb7bd6dc8d0b740a7839bbe402e34e2f4ef24589074db53ceb0 diff --git a/README.md b/README.md index 79cc156..2b7308c 100644 --- a/README.md +++ b/README.md @@ -85,7 +85,7 @@ Google Cloud Deploy uses gRPC for the transport layer. ## Supported Java Versions -Java 7 or above is required for using this client. +Java 8 or above is required for using this client. Google's Java client libraries, [Google Cloud Client Libraries][cloudlibs] @@ -157,7 +157,6 @@ Apache 2.0 - See [LICENSE][license] for more information. Java Version | Status ------------ | ------ -Java 7 | [![Kokoro CI][kokoro-badge-image-1]][kokoro-badge-link-1] Java 8 | [![Kokoro CI][kokoro-badge-image-2]][kokoro-badge-link-2] Java 8 OSX | [![Kokoro CI][kokoro-badge-image-3]][kokoro-badge-link-3] Java 8 Windows | [![Kokoro CI][kokoro-badge-image-4]][kokoro-badge-link-4] From d11213b3b1b3e7fcd6280195382f6ca58829f49d Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 15 Nov 2021 17:14:12 +0100 Subject: [PATCH 12/16] deps: update dependency com.google.cloud:google-cloud-shared-dependencies to v2.5.0 (#34) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-shared-dependencies](https://togithub.com/googleapis/java-shared-dependencies) | `2.4.0` -> `2.5.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/2.5.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/2.5.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/2.5.0/compatibility-slim/2.4.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/2.5.0/confidence-slim/2.4.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
googleapis/java-shared-dependencies ### [`v2.5.0`](https://togithub.com/googleapis/java-shared-dependencies/blob/master/CHANGELOG.md#​250-httpswwwgithubcomgoogleapisjava-shared-dependenciescompare240v250-2021-11-12) [Compare Source](https://togithub.com/googleapis/java-shared-dependencies/compare/v2.4.0...v2.5.0) ##### Features - next release from main branch is 2.5.0 ([#​510](https://www.togithub.com/googleapis/java-shared-dependencies/issues/510)) ([ca9eb8a](https://www.github.com/googleapis/java-shared-dependencies/commit/ca9eb8a40ae81d69de0d82d9499ef21b0136ae49)) ##### Bug Fixes - dependencies.sh to work with Java 17 ([#​516](https://www.togithub.com/googleapis/java-shared-dependencies/issues/516)) ([8422c1d](https://www.github.com/googleapis/java-shared-dependencies/commit/8422c1d7e9ef479f348e63c530789050b5235426)) ##### Dependencies - update dependency com.google.api:api-common to v2.1.0 ([#​508](https://www.togithub.com/googleapis/java-shared-dependencies/issues/508)) ([ae32d16](https://www.github.com/googleapis/java-shared-dependencies/commit/ae32d1689c78fc1469206c8c0df0ebaca59edd2c)) - update dependency com.google.auth:google-auth-library-bom to v1.2.2 ([#​506](https://www.togithub.com/googleapis/java-shared-dependencies/issues/506)) ([b9a8209](https://www.github.com/googleapis/java-shared-dependencies/commit/b9a82098655f29e858bd0c7a9b1049a379e5062a)) - update dependency com.google.auth:google-auth-library-bom to v1.3.0 ([#​524](https://www.togithub.com/googleapis/java-shared-dependencies/issues/524)) ([fc07879](https://www.github.com/googleapis/java-shared-dependencies/commit/fc07879fa6531e39b21977fe77abc19354a1fd33)) - update dependency com.google.code.gson:gson to v2.8.9 ([#​509](https://www.togithub.com/googleapis/java-shared-dependencies/issues/509)) ([bece99b](https://www.github.com/googleapis/java-shared-dependencies/commit/bece99bb3e0365e60e7376ba18d046ab6436a235)) - update dependency com.google.errorprone:error_prone_annotations to v2.10.0 ([#​512](https://www.togithub.com/googleapis/java-shared-dependencies/issues/512)) ([c281f13](https://www.github.com/googleapis/java-shared-dependencies/commit/c281f137525e2111e97349657be578ed1fc832f2)) - update dependency com.google.protobuf:protobuf-bom to v3.19.1 ([#​505](https://www.togithub.com/googleapis/java-shared-dependencies/issues/505)) ([94cde96](https://www.github.com/googleapis/java-shared-dependencies/commit/94cde96069900f9f8c2ff9a522671d03b26828bd)) - update dependency io.grpc:grpc-bom to v1.42.1 ([#​513](https://www.togithub.com/googleapis/java-shared-dependencies/issues/513)) ([0d2b774](https://www.github.com/googleapis/java-shared-dependencies/commit/0d2b774287a132821cc6fe2789140086bc48d525)) - update dependency org.checkerframework:checker-qual to v3.19.0 ([#​501](https://www.togithub.com/googleapis/java-shared-dependencies/issues/501)) ([2b3e0b5](https://www.github.com/googleapis/java-shared-dependencies/commit/2b3e0b5ddc3a645b20a837f3123394f1ca114f08)) - update dependency org.threeten:threetenbp to v1.5.2 ([#​514](https://www.togithub.com/googleapis/java-shared-dependencies/issues/514)) ([4885f40](https://www.github.com/googleapis/java-shared-dependencies/commit/4885f402e2c70435cd10d4f1b893df9873808c56)) - update gax.version to v2.7.0 ([#​515](https://www.togithub.com/googleapis/java-shared-dependencies/issues/515)) ([567e728](https://www.github.com/googleapis/java-shared-dependencies/commit/567e728b0e59233a04e2d04183e6a0c36cca2437)) - update google.core.version to v2.3.0 ([#​530](https://www.togithub.com/googleapis/java-shared-dependencies/issues/530)) ([78e87e9](https://www.github.com/googleapis/java-shared-dependencies/commit/78e87e96befab34dc4a494e752aeb473cd14a156)) - update iam.version to v1.1.7 ([#​504](https://www.togithub.com/googleapis/java-shared-dependencies/issues/504)) ([63dd583](https://www.github.com/googleapis/java-shared-dependencies/commit/63dd583c80f35b01a66fd1908d41467468c66436))
--- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-deploy). --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index decd198..6a44f3b 100644 --- a/pom.xml +++ b/pom.xml @@ -85,7 +85,7 @@ com.google.cloud google-cloud-shared-dependencies - 2.4.0 + 2.5.0 pom import From e740e8e7740f8d3b7a328c23ee8f90dbf956eb45 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 17 Nov 2021 19:46:38 +0100 Subject: [PATCH 13/16] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v1.2.2 (#35) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-shared-config](https://togithub.com/googleapis/java-shared-config) | `1.2.1` -> `1.2.2` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.2.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.2.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.2.2/compatibility-slim/1.2.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.2.2/confidence-slim/1.2.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
googleapis/java-shared-config ### [`v1.2.2`](https://togithub.com/googleapis/java-shared-config/blob/master/CHANGELOG.md#​122-httpswwwgithubcomgoogleapisjava-shared-configcomparev121v122-2021-11-16) [Compare Source](https://togithub.com/googleapis/java-shared-config/compare/v1.2.1...v1.2.2)
--- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-deploy). --- google-cloud-deploy-bom/pom.xml | 2 +- pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/google-cloud-deploy-bom/pom.xml b/google-cloud-deploy-bom/pom.xml index e729629..ed43323 100644 --- a/google-cloud-deploy-bom/pom.xml +++ b/google-cloud-deploy-bom/pom.xml @@ -8,7 +8,7 @@ com.google.cloud google-cloud-shared-config - 1.2.1 + 1.2.2 Google Google CLoud Deploy BOM diff --git a/pom.xml b/pom.xml index 6a44f3b..419c7a0 100644 --- a/pom.xml +++ b/pom.xml @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 1.2.1 + 1.2.2 From 6af2fd395bb428491bbbda3fccb54424d9d4a224 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Wed, 17 Nov 2021 21:20:27 +0000 Subject: [PATCH 14/16] chore: update Java and Python dependencies (#32) - [ ] Regenerate this pull request now. PiperOrigin-RevId: 408420890 Source-Link: https://github.com/googleapis/googleapis/commit/2921f9fb3bfbd16f6b2da0104373e2b47a80a65e Source-Link: https://github.com/googleapis/googleapis-gen/commit/6598ca8cbbf5226733a099c4506518a5af6ff74c Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNjU5OGNhOGNiYmY1MjI2NzMzYTA5OWM0NTA2NTE4YTVhZjZmZjc0YyJ9 --- google-cloud-deploy/pom.xml | 68 - grpc-google-cloud-deploy-v1/pom.xml | 32 +- .../cloud/deploy/v1/CloudDeployGrpc.java | 2294 ----------- .../cloud/deploy/v1/CloudDeployClient.java | 100 +- .../cloud/deploy/v1/CloudDeploySettings.java | 13 +- .../cloud/deploy/v1/gapic_metadata.json | 0 .../google/cloud/deploy/v1/package-info.java | 0 .../cloud/deploy/v1/stub/CloudDeployStub.java | 0 .../v1/stub/CloudDeployStubSettings.java | 24 +- .../stub/GrpcCloudDeployCallableFactory.java | 0 .../deploy/v1/stub/GrpcCloudDeployStub.java | 1 + .../deploy/v1/CloudDeployClientTest.java | 0 .../cloud/deploy/v1/MockCloudDeploy.java | 0 .../cloud/deploy/v1/MockCloudDeployImpl.java | 0 .../cloud/deploy/v1/CloudDeployGrpc.java | 1770 +++++++++ .../deploy/v1/ApproveRolloutRequest.java | 373 +- .../v1/ApproveRolloutRequestOrBuilder.java | 38 +- .../deploy/v1/ApproveRolloutResponse.java | 235 +- .../v1/ApproveRolloutResponseOrBuilder.java | 9 + .../google/cloud/deploy/v1/BuildArtifact.java | 377 +- .../deploy/v1/BuildArtifactOrBuilder.java | 36 +- .../cloud/deploy/v1/CloudDeployProto.java | 1001 +++++ .../com/google/cloud/deploy/v1/Config.java | 608 ++- .../google/cloud/deploy/v1/ConfigName.java | 0 .../cloud/deploy/v1/ConfigOrBuilder.java | 74 +- .../v1/CreateDeliveryPipelineRequest.java | 683 ++-- ...reateDeliveryPipelineRequestOrBuilder.java | 76 +- .../cloud/deploy/v1/CreateReleaseRequest.java | 659 ++-- .../v1/CreateReleaseRequestOrBuilder.java | 73 +- .../cloud/deploy/v1/CreateRolloutRequest.java | 659 ++-- .../v1/CreateRolloutRequestOrBuilder.java | 73 +- .../cloud/deploy/v1/CreateTargetRequest.java | 648 ++- .../v1/CreateTargetRequestOrBuilder.java | 73 +- .../google/cloud/deploy/v1/DefaultPool.java | 373 +- .../cloud/deploy/v1/DefaultPoolOrBuilder.java | 36 +- .../v1/DeleteDeliveryPipelineRequest.java | 613 ++- ...eleteDeliveryPipelineRequestOrBuilder.java | 62 +- .../cloud/deploy/v1/DeleteTargetRequest.java | 563 ++- .../v1/DeleteTargetRequestOrBuilder.java | 59 +- .../cloud/deploy/v1/DeliveryPipeline.java | 1613 +++----- .../cloud/deploy/v1/DeliveryPipelineName.java | 0 .../deploy/v1/DeliveryPipelineOrBuilder.java | 180 +- .../cloud/deploy/v1/ExecutionConfig.java | 862 ++-- .../deploy/v1/ExecutionConfigOrBuilder.java | 114 + .../cloud/deploy/v1/GetConfigRequest.java | 329 +- .../deploy/v1/GetConfigRequestOrBuilder.java | 29 + .../deploy/v1/GetDeliveryPipelineRequest.java | 342 +- .../GetDeliveryPipelineRequestOrBuilder.java | 31 + .../cloud/deploy/v1/GetReleaseRequest.java | 329 +- .../deploy/v1/GetReleaseRequestOrBuilder.java | 31 + .../cloud/deploy/v1/GetRolloutRequest.java | 329 +- .../deploy/v1/GetRolloutRequestOrBuilder.java | 31 + .../cloud/deploy/v1/GetTargetRequest.java | 329 +- .../deploy/v1/GetTargetRequestOrBuilder.java | 31 + .../google/cloud/deploy/v1/GkeCluster.java | 297 +- .../cloud/deploy/v1/GkeClusterOrBuilder.java | 27 +- .../v1/ListDeliveryPipelinesRequest.java | 615 ++- ...ListDeliveryPipelinesRequestOrBuilder.java | 65 +- .../v1/ListDeliveryPipelinesResponse.java | 553 +-- ...istDeliveryPipelinesResponseOrBuilder.java | 63 +- .../cloud/deploy/v1/ListReleasesRequest.java | 602 ++- .../v1/ListReleasesRequestOrBuilder.java | 65 +- .../cloud/deploy/v1/ListReleasesResponse.java | 562 ++- .../v1/ListReleasesResponseOrBuilder.java | 64 +- .../cloud/deploy/v1/ListRolloutsRequest.java | 602 ++- .../v1/ListRolloutsRequestOrBuilder.java | 65 +- .../cloud/deploy/v1/ListRolloutsResponse.java | 562 ++- .../v1/ListRolloutsResponseOrBuilder.java | 64 +- .../cloud/deploy/v1/ListTargetsRequest.java | 602 ++- .../v1/ListTargetsRequestOrBuilder.java | 65 +- .../cloud/deploy/v1/ListTargetsResponse.java | 558 ++- .../v1/ListTargetsResponseOrBuilder.java | 64 +- .../google/cloud/deploy/v1/LocationName.java | 0 .../cloud/deploy/v1/OperationMetadata.java | 842 ++-- .../deploy/v1/OperationMetadataOrBuilder.java | 91 +- .../cloud/deploy/v1/PipelineCondition.java | 458 +-- .../deploy/v1/PipelineConditionOrBuilder.java | 34 +- .../deploy/v1/PipelineReadyCondition.java | 366 +- .../v1/PipelineReadyConditionOrBuilder.java | 29 +- .../google/cloud/deploy/v1/PrivatePool.java | 480 +-- .../cloud/deploy/v1/PrivatePoolOrBuilder.java | 53 +- .../com/google/cloud/deploy/v1/Release.java | 3502 +++++++---------- .../google/cloud/deploy/v1/ReleaseName.java | 0 .../cloud/deploy/v1/ReleaseOrBuilder.java | 391 +- .../com/google/cloud/deploy/v1/Rollout.java | 2375 +++++------ .../google/cloud/deploy/v1/RolloutName.java | 0 .../cloud/deploy/v1/RolloutOrBuilder.java | 272 +- .../cloud/deploy/v1/SerialPipeline.java | 375 +- .../deploy/v1/SerialPipelineOrBuilder.java | 37 +- .../cloud/deploy/v1/SkaffoldVersion.java | 388 +- .../deploy/v1/SkaffoldVersionOrBuilder.java | 35 +- .../com/google/cloud/deploy/v1/Stage.java | 402 +- .../cloud/deploy/v1/StageOrBuilder.java | 45 +- .../com/google/cloud/deploy/v1/Target.java | 1736 ++++---- .../cloud/deploy/v1/TargetArtifact.java | 513 +-- .../deploy/v1/TargetArtifactOrBuilder.java | 48 +- .../google/cloud/deploy/v1/TargetName.java | 0 .../cloud/deploy/v1/TargetOrBuilder.java | 205 +- .../deploy/v1/TargetsPresentCondition.java | 474 +-- .../v1/TargetsPresentConditionOrBuilder.java | 47 +- .../v1/UpdateDeliveryPipelineRequest.java | 666 ++-- ...pdateDeliveryPipelineRequestOrBuilder.java | 70 +- .../cloud/deploy/v1/UpdateTargetRequest.java | 631 ++- .../v1/UpdateTargetRequestOrBuilder.java | 67 +- .../google/cloud/deploy/v1/cloud_deploy.proto | 0 proto-google-cloud-deploy-v1/pom.xml | 18 - .../v1/ApproveRolloutResponseOrBuilder.java | 24 - .../cloud/deploy/v1/CloudDeployProto.java | 1125 ------ .../deploy/v1/ExecutionConfigOrBuilder.java | 184 - .../deploy/v1/GetConfigRequestOrBuilder.java | 54 - .../GetDeliveryPipelineRequestOrBuilder.java | 56 - .../deploy/v1/GetReleaseRequestOrBuilder.java | 56 - .../deploy/v1/GetRolloutRequestOrBuilder.java | 56 - .../deploy/v1/GetTargetRequestOrBuilder.java | 56 - 114 files changed, 14737 insertions(+), 23302 deletions(-) delete mode 100644 grpc-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CloudDeployGrpc.java rename {google-cloud-deploy => owl-bot-staging/v1/google-cloud-deploy}/src/main/java/com/google/cloud/deploy/v1/CloudDeployClient.java (96%) rename {google-cloud-deploy => owl-bot-staging/v1/google-cloud-deploy}/src/main/java/com/google/cloud/deploy/v1/CloudDeploySettings.java (97%) rename {google-cloud-deploy => owl-bot-staging/v1/google-cloud-deploy}/src/main/java/com/google/cloud/deploy/v1/gapic_metadata.json (100%) rename {google-cloud-deploy => owl-bot-staging/v1/google-cloud-deploy}/src/main/java/com/google/cloud/deploy/v1/package-info.java (100%) rename {google-cloud-deploy => owl-bot-staging/v1/google-cloud-deploy}/src/main/java/com/google/cloud/deploy/v1/stub/CloudDeployStub.java (100%) rename {google-cloud-deploy => owl-bot-staging/v1/google-cloud-deploy}/src/main/java/com/google/cloud/deploy/v1/stub/CloudDeployStubSettings.java (98%) rename {google-cloud-deploy => owl-bot-staging/v1/google-cloud-deploy}/src/main/java/com/google/cloud/deploy/v1/stub/GrpcCloudDeployCallableFactory.java (100%) rename {google-cloud-deploy => owl-bot-staging/v1/google-cloud-deploy}/src/main/java/com/google/cloud/deploy/v1/stub/GrpcCloudDeployStub.java (99%) rename {google-cloud-deploy => owl-bot-staging/v1/google-cloud-deploy}/src/test/java/com/google/cloud/deploy/v1/CloudDeployClientTest.java (100%) rename {google-cloud-deploy => owl-bot-staging/v1/google-cloud-deploy}/src/test/java/com/google/cloud/deploy/v1/MockCloudDeploy.java (100%) rename {google-cloud-deploy => owl-bot-staging/v1/google-cloud-deploy}/src/test/java/com/google/cloud/deploy/v1/MockCloudDeployImpl.java (100%) create mode 100644 owl-bot-staging/v1/grpc-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CloudDeployGrpc.java rename {proto-google-cloud-deploy-v1 => owl-bot-staging/v1/proto-google-cloud-deploy-v1}/src/main/java/com/google/cloud/deploy/v1/ApproveRolloutRequest.java (67%) rename {proto-google-cloud-deploy-v1 => owl-bot-staging/v1/proto-google-cloud-deploy-v1}/src/main/java/com/google/cloud/deploy/v1/ApproveRolloutRequestOrBuilder.java (50%) rename {proto-google-cloud-deploy-v1 => owl-bot-staging/v1/proto-google-cloud-deploy-v1}/src/main/java/com/google/cloud/deploy/v1/ApproveRolloutResponse.java (65%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ApproveRolloutResponseOrBuilder.java rename {proto-google-cloud-deploy-v1 => owl-bot-staging/v1/proto-google-cloud-deploy-v1}/src/main/java/com/google/cloud/deploy/v1/BuildArtifact.java (70%) rename {proto-google-cloud-deploy-v1 => owl-bot-staging/v1/proto-google-cloud-deploy-v1}/src/main/java/com/google/cloud/deploy/v1/BuildArtifactOrBuilder.java (59%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CloudDeployProto.java rename {proto-google-cloud-deploy-v1 => owl-bot-staging/v1/proto-google-cloud-deploy-v1}/src/main/java/com/google/cloud/deploy/v1/Config.java (68%) rename {proto-google-cloud-deploy-v1 => owl-bot-staging/v1/proto-google-cloud-deploy-v1}/src/main/java/com/google/cloud/deploy/v1/ConfigName.java (100%) rename {proto-google-cloud-deploy-v1 => owl-bot-staging/v1/proto-google-cloud-deploy-v1}/src/main/java/com/google/cloud/deploy/v1/ConfigOrBuilder.java (53%) rename {proto-google-cloud-deploy-v1 => owl-bot-staging/v1/proto-google-cloud-deploy-v1}/src/main/java/com/google/cloud/deploy/v1/CreateDeliveryPipelineRequest.java (70%) rename {proto-google-cloud-deploy-v1 => owl-bot-staging/v1/proto-google-cloud-deploy-v1}/src/main/java/com/google/cloud/deploy/v1/CreateDeliveryPipelineRequestOrBuilder.java (71%) rename {proto-google-cloud-deploy-v1 => owl-bot-staging/v1/proto-google-cloud-deploy-v1}/src/main/java/com/google/cloud/deploy/v1/CreateReleaseRequest.java (73%) rename {proto-google-cloud-deploy-v1 => owl-bot-staging/v1/proto-google-cloud-deploy-v1}/src/main/java/com/google/cloud/deploy/v1/CreateReleaseRequestOrBuilder.java (75%) rename {proto-google-cloud-deploy-v1 => owl-bot-staging/v1/proto-google-cloud-deploy-v1}/src/main/java/com/google/cloud/deploy/v1/CreateRolloutRequest.java (73%) rename {proto-google-cloud-deploy-v1 => owl-bot-staging/v1/proto-google-cloud-deploy-v1}/src/main/java/com/google/cloud/deploy/v1/CreateRolloutRequestOrBuilder.java (75%) rename {proto-google-cloud-deploy-v1 => owl-bot-staging/v1/proto-google-cloud-deploy-v1}/src/main/java/com/google/cloud/deploy/v1/CreateTargetRequest.java (73%) rename {proto-google-cloud-deploy-v1 => owl-bot-staging/v1/proto-google-cloud-deploy-v1}/src/main/java/com/google/cloud/deploy/v1/CreateTargetRequestOrBuilder.java (75%) rename {proto-google-cloud-deploy-v1 => owl-bot-staging/v1/proto-google-cloud-deploy-v1}/src/main/java/com/google/cloud/deploy/v1/DefaultPool.java (74%) rename {proto-google-cloud-deploy-v1 => owl-bot-staging/v1/proto-google-cloud-deploy-v1}/src/main/java/com/google/cloud/deploy/v1/DefaultPoolOrBuilder.java (70%) rename {proto-google-cloud-deploy-v1 => owl-bot-staging/v1/proto-google-cloud-deploy-v1}/src/main/java/com/google/cloud/deploy/v1/DeleteDeliveryPipelineRequest.java (75%) rename {proto-google-cloud-deploy-v1 => owl-bot-staging/v1/proto-google-cloud-deploy-v1}/src/main/java/com/google/cloud/deploy/v1/DeleteDeliveryPipelineRequestOrBuilder.java (78%) rename {proto-google-cloud-deploy-v1 => owl-bot-staging/v1/proto-google-cloud-deploy-v1}/src/main/java/com/google/cloud/deploy/v1/DeleteTargetRequest.java (75%) rename {proto-google-cloud-deploy-v1 => owl-bot-staging/v1/proto-google-cloud-deploy-v1}/src/main/java/com/google/cloud/deploy/v1/DeleteTargetRequestOrBuilder.java (77%) rename {proto-google-cloud-deploy-v1 => owl-bot-staging/v1/proto-google-cloud-deploy-v1}/src/main/java/com/google/cloud/deploy/v1/DeliveryPipeline.java (67%) rename {proto-google-cloud-deploy-v1 => owl-bot-staging/v1/proto-google-cloud-deploy-v1}/src/main/java/com/google/cloud/deploy/v1/DeliveryPipelineName.java (100%) rename {proto-google-cloud-deploy-v1 => owl-bot-staging/v1/proto-google-cloud-deploy-v1}/src/main/java/com/google/cloud/deploy/v1/DeliveryPipelineOrBuilder.java (78%) rename {proto-google-cloud-deploy-v1 => owl-bot-staging/v1/proto-google-cloud-deploy-v1}/src/main/java/com/google/cloud/deploy/v1/ExecutionConfig.java (63%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ExecutionConfigOrBuilder.java rename {proto-google-cloud-deploy-v1 => owl-bot-staging/v1/proto-google-cloud-deploy-v1}/src/main/java/com/google/cloud/deploy/v1/GetConfigRequest.java (64%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetConfigRequestOrBuilder.java rename {proto-google-cloud-deploy-v1 => owl-bot-staging/v1/proto-google-cloud-deploy-v1}/src/main/java/com/google/cloud/deploy/v1/GetDeliveryPipelineRequest.java (65%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetDeliveryPipelineRequestOrBuilder.java rename {proto-google-cloud-deploy-v1 => owl-bot-staging/v1/proto-google-cloud-deploy-v1}/src/main/java/com/google/cloud/deploy/v1/GetReleaseRequest.java (66%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetReleaseRequestOrBuilder.java rename {proto-google-cloud-deploy-v1 => owl-bot-staging/v1/proto-google-cloud-deploy-v1}/src/main/java/com/google/cloud/deploy/v1/GetRolloutRequest.java (66%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetRolloutRequestOrBuilder.java rename {proto-google-cloud-deploy-v1 => owl-bot-staging/v1/proto-google-cloud-deploy-v1}/src/main/java/com/google/cloud/deploy/v1/GetTargetRequest.java (65%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetTargetRequestOrBuilder.java rename {proto-google-cloud-deploy-v1 => owl-bot-staging/v1/proto-google-cloud-deploy-v1}/src/main/java/com/google/cloud/deploy/v1/GkeCluster.java (70%) rename {proto-google-cloud-deploy-v1 => owl-bot-staging/v1/proto-google-cloud-deploy-v1}/src/main/java/com/google/cloud/deploy/v1/GkeClusterOrBuilder.java (54%) rename {proto-google-cloud-deploy-v1 => owl-bot-staging/v1/proto-google-cloud-deploy-v1}/src/main/java/com/google/cloud/deploy/v1/ListDeliveryPipelinesRequest.java (71%) rename {proto-google-cloud-deploy-v1 => owl-bot-staging/v1/proto-google-cloud-deploy-v1}/src/main/java/com/google/cloud/deploy/v1/ListDeliveryPipelinesRequestOrBuilder.java (67%) rename {proto-google-cloud-deploy-v1 => owl-bot-staging/v1/proto-google-cloud-deploy-v1}/src/main/java/com/google/cloud/deploy/v1/ListDeliveryPipelinesResponse.java (75%) rename {proto-google-cloud-deploy-v1 => owl-bot-staging/v1/proto-google-cloud-deploy-v1}/src/main/java/com/google/cloud/deploy/v1/ListDeliveryPipelinesResponseOrBuilder.java (72%) rename {proto-google-cloud-deploy-v1 => owl-bot-staging/v1/proto-google-cloud-deploy-v1}/src/main/java/com/google/cloud/deploy/v1/ListReleasesRequest.java (72%) rename {proto-google-cloud-deploy-v1 => owl-bot-staging/v1/proto-google-cloud-deploy-v1}/src/main/java/com/google/cloud/deploy/v1/ListReleasesRequestOrBuilder.java (69%) rename {proto-google-cloud-deploy-v1 => owl-bot-staging/v1/proto-google-cloud-deploy-v1}/src/main/java/com/google/cloud/deploy/v1/ListReleasesResponse.java (74%) rename {proto-google-cloud-deploy-v1 => owl-bot-staging/v1/proto-google-cloud-deploy-v1}/src/main/java/com/google/cloud/deploy/v1/ListReleasesResponseOrBuilder.java (70%) rename {proto-google-cloud-deploy-v1 => owl-bot-staging/v1/proto-google-cloud-deploy-v1}/src/main/java/com/google/cloud/deploy/v1/ListRolloutsRequest.java (72%) rename {proto-google-cloud-deploy-v1 => owl-bot-staging/v1/proto-google-cloud-deploy-v1}/src/main/java/com/google/cloud/deploy/v1/ListRolloutsRequestOrBuilder.java (69%) rename {proto-google-cloud-deploy-v1 => owl-bot-staging/v1/proto-google-cloud-deploy-v1}/src/main/java/com/google/cloud/deploy/v1/ListRolloutsResponse.java (74%) rename {proto-google-cloud-deploy-v1 => owl-bot-staging/v1/proto-google-cloud-deploy-v1}/src/main/java/com/google/cloud/deploy/v1/ListRolloutsResponseOrBuilder.java (70%) rename {proto-google-cloud-deploy-v1 => owl-bot-staging/v1/proto-google-cloud-deploy-v1}/src/main/java/com/google/cloud/deploy/v1/ListTargetsRequest.java (72%) rename {proto-google-cloud-deploy-v1 => owl-bot-staging/v1/proto-google-cloud-deploy-v1}/src/main/java/com/google/cloud/deploy/v1/ListTargetsRequestOrBuilder.java (70%) rename {proto-google-cloud-deploy-v1 => owl-bot-staging/v1/proto-google-cloud-deploy-v1}/src/main/java/com/google/cloud/deploy/v1/ListTargetsResponse.java (74%) rename {proto-google-cloud-deploy-v1 => owl-bot-staging/v1/proto-google-cloud-deploy-v1}/src/main/java/com/google/cloud/deploy/v1/ListTargetsResponseOrBuilder.java (70%) rename {proto-google-cloud-deploy-v1 => owl-bot-staging/v1/proto-google-cloud-deploy-v1}/src/main/java/com/google/cloud/deploy/v1/LocationName.java (100%) rename {proto-google-cloud-deploy-v1 => owl-bot-staging/v1/proto-google-cloud-deploy-v1}/src/main/java/com/google/cloud/deploy/v1/OperationMetadata.java (71%) rename {proto-google-cloud-deploy-v1 => owl-bot-staging/v1/proto-google-cloud-deploy-v1}/src/main/java/com/google/cloud/deploy/v1/OperationMetadataOrBuilder.java (75%) rename {proto-google-cloud-deploy-v1 => owl-bot-staging/v1/proto-google-cloud-deploy-v1}/src/main/java/com/google/cloud/deploy/v1/PipelineCondition.java (68%) rename {proto-google-cloud-deploy-v1 => owl-bot-staging/v1/proto-google-cloud-deploy-v1}/src/main/java/com/google/cloud/deploy/v1/PipelineConditionOrBuilder.java (73%) rename {proto-google-cloud-deploy-v1 => owl-bot-staging/v1/proto-google-cloud-deploy-v1}/src/main/java/com/google/cloud/deploy/v1/PipelineReadyCondition.java (70%) rename {proto-google-cloud-deploy-v1 => owl-bot-staging/v1/proto-google-cloud-deploy-v1}/src/main/java/com/google/cloud/deploy/v1/PipelineReadyConditionOrBuilder.java (65%) rename {proto-google-cloud-deploy-v1 => owl-bot-staging/v1/proto-google-cloud-deploy-v1}/src/main/java/com/google/cloud/deploy/v1/PrivatePool.java (72%) rename {proto-google-cloud-deploy-v1 => owl-bot-staging/v1/proto-google-cloud-deploy-v1}/src/main/java/com/google/cloud/deploy/v1/PrivatePoolOrBuilder.java (67%) rename {proto-google-cloud-deploy-v1 => owl-bot-staging/v1/proto-google-cloud-deploy-v1}/src/main/java/com/google/cloud/deploy/v1/Release.java (65%) rename {proto-google-cloud-deploy-v1 => owl-bot-staging/v1/proto-google-cloud-deploy-v1}/src/main/java/com/google/cloud/deploy/v1/ReleaseName.java (100%) rename {proto-google-cloud-deploy-v1 => owl-bot-staging/v1/proto-google-cloud-deploy-v1}/src/main/java/com/google/cloud/deploy/v1/ReleaseOrBuilder.java (68%) rename {proto-google-cloud-deploy-v1 => owl-bot-staging/v1/proto-google-cloud-deploy-v1}/src/main/java/com/google/cloud/deploy/v1/Rollout.java (66%) rename {proto-google-cloud-deploy-v1 => owl-bot-staging/v1/proto-google-cloud-deploy-v1}/src/main/java/com/google/cloud/deploy/v1/RolloutName.java (100%) rename {proto-google-cloud-deploy-v1 => owl-bot-staging/v1/proto-google-cloud-deploy-v1}/src/main/java/com/google/cloud/deploy/v1/RolloutOrBuilder.java (73%) rename {proto-google-cloud-deploy-v1 => owl-bot-staging/v1/proto-google-cloud-deploy-v1}/src/main/java/com/google/cloud/deploy/v1/SerialPipeline.java (74%) rename {proto-google-cloud-deploy-v1 => owl-bot-staging/v1/proto-google-cloud-deploy-v1}/src/main/java/com/google/cloud/deploy/v1/SerialPipelineOrBuilder.java (63%) rename {proto-google-cloud-deploy-v1 => owl-bot-staging/v1/proto-google-cloud-deploy-v1}/src/main/java/com/google/cloud/deploy/v1/SkaffoldVersion.java (70%) rename {proto-google-cloud-deploy-v1 => owl-bot-staging/v1/proto-google-cloud-deploy-v1}/src/main/java/com/google/cloud/deploy/v1/SkaffoldVersionOrBuilder.java (63%) rename {proto-google-cloud-deploy-v1 => owl-bot-staging/v1/proto-google-cloud-deploy-v1}/src/main/java/com/google/cloud/deploy/v1/Stage.java (74%) rename {proto-google-cloud-deploy-v1 => owl-bot-staging/v1/proto-google-cloud-deploy-v1}/src/main/java/com/google/cloud/deploy/v1/StageOrBuilder.java (72%) rename {proto-google-cloud-deploy-v1 => owl-bot-staging/v1/proto-google-cloud-deploy-v1}/src/main/java/com/google/cloud/deploy/v1/Target.java (72%) rename {proto-google-cloud-deploy-v1 => owl-bot-staging/v1/proto-google-cloud-deploy-v1}/src/main/java/com/google/cloud/deploy/v1/TargetArtifact.java (73%) rename {proto-google-cloud-deploy-v1 => owl-bot-staging/v1/proto-google-cloud-deploy-v1}/src/main/java/com/google/cloud/deploy/v1/TargetArtifactOrBuilder.java (73%) rename {proto-google-cloud-deploy-v1 => owl-bot-staging/v1/proto-google-cloud-deploy-v1}/src/main/java/com/google/cloud/deploy/v1/TargetName.java (100%) rename {proto-google-cloud-deploy-v1 => owl-bot-staging/v1/proto-google-cloud-deploy-v1}/src/main/java/com/google/cloud/deploy/v1/TargetOrBuilder.java (82%) rename {proto-google-cloud-deploy-v1 => owl-bot-staging/v1/proto-google-cloud-deploy-v1}/src/main/java/com/google/cloud/deploy/v1/TargetsPresentCondition.java (73%) rename {proto-google-cloud-deploy-v1 => owl-bot-staging/v1/proto-google-cloud-deploy-v1}/src/main/java/com/google/cloud/deploy/v1/TargetsPresentConditionOrBuilder.java (74%) rename {proto-google-cloud-deploy-v1 => owl-bot-staging/v1/proto-google-cloud-deploy-v1}/src/main/java/com/google/cloud/deploy/v1/UpdateDeliveryPipelineRequest.java (73%) rename {proto-google-cloud-deploy-v1 => owl-bot-staging/v1/proto-google-cloud-deploy-v1}/src/main/java/com/google/cloud/deploy/v1/UpdateDeliveryPipelineRequestOrBuilder.java (78%) rename {proto-google-cloud-deploy-v1 => owl-bot-staging/v1/proto-google-cloud-deploy-v1}/src/main/java/com/google/cloud/deploy/v1/UpdateTargetRequest.java (76%) rename {proto-google-cloud-deploy-v1 => owl-bot-staging/v1/proto-google-cloud-deploy-v1}/src/main/java/com/google/cloud/deploy/v1/UpdateTargetRequestOrBuilder.java (81%) rename {proto-google-cloud-deploy-v1 => owl-bot-staging/v1/proto-google-cloud-deploy-v1}/src/main/proto/google/cloud/deploy/v1/cloud_deploy.proto (100%) delete mode 100644 proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ApproveRolloutResponseOrBuilder.java delete mode 100644 proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CloudDeployProto.java delete mode 100644 proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ExecutionConfigOrBuilder.java delete mode 100644 proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetConfigRequestOrBuilder.java delete mode 100644 proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetDeliveryPipelineRequestOrBuilder.java delete mode 100644 proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetReleaseRequestOrBuilder.java delete mode 100644 proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetRolloutRequestOrBuilder.java delete mode 100644 proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetTargetRequestOrBuilder.java diff --git a/google-cloud-deploy/pom.xml b/google-cloud-deploy/pom.xml index 0cd2006..6e7088c 100644 --- a/google-cloud-deploy/pom.xml +++ b/google-cloud-deploy/pom.xml @@ -16,74 +16,6 @@ google-cloud-deploy - - - io.grpc - grpc-api - - - io.grpc - grpc-stub - - - io.grpc - grpc-protobuf - - - com.google.api - api-common - - - com.google.protobuf - protobuf-java - - - com.google.api.grpc - proto-google-common-protos - - - - com.google.api.grpc - proto-google-cloud-deploy-v1 - - - com.google.guava - guava - - - com.google.api - gax - - - com.google.api - gax-grpc - - - org.threeten - threetenbp - - - - - junit - junit - test - 4.13.2 - - - - com.google.api.grpc - grpc-google-cloud-deploy-v1 - test - - - - com.google.api - gax-grpc - testlib - test - - diff --git a/grpc-google-cloud-deploy-v1/pom.xml b/grpc-google-cloud-deploy-v1/pom.xml index 2beddb6..9c021db 100644 --- a/grpc-google-cloud-deploy-v1/pom.xml +++ b/grpc-google-cloud-deploy-v1/pom.xml @@ -12,36 +12,6 @@ google-cloud-deploy-parent 0.1.2-SNAPSHOT
- - - io.grpc - grpc-api - - - io.grpc - grpc-stub - - - io.grpc - grpc-protobuf - - - com.google.protobuf - protobuf-java - - - com.google.api.grpc - proto-google-common-protos - - - com.google.api.grpc - proto-google-cloud-deploy-v1 - - - com.google.guava - guava - - @@ -66,4 +36,4 @@ - \ No newline at end of file + diff --git a/grpc-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CloudDeployGrpc.java b/grpc-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CloudDeployGrpc.java deleted file mode 100644 index 3c17dee..0000000 --- a/grpc-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CloudDeployGrpc.java +++ /dev/null @@ -1,2294 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package com.google.cloud.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") -public final class CloudDeployGrpc { - - private CloudDeployGrpc() {} - - public static final 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.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.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.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.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.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; - } - - /** 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 abstract static class CloudDeployImplBase implements io.grpc.BindableService { - - /** - * - * - *
-     * 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.ServerCalls.asyncUnimplementedUnaryCall( - getListDeliveryPipelinesMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall( - getGetDeliveryPipelineMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall( - getCreateDeliveryPipelineMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateDeliveryPipelineMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes a single DeliveryPipeline.
-     * 
- */ - public 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.
-     * 
- */ - public void listTargets( - com.google.cloud.deploy.v1.ListTargetsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListTargetsMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall(getGetTargetMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall( - getCreateTargetMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateTargetMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes a single Target.
-     * 
- */ - public void deleteTarget( - com.google.cloud.deploy.v1.DeleteTargetRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteTargetMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall( - getListReleasesMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall(getGetReleaseMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall( - getCreateReleaseMethod(), responseObserver); - } - - /** - * - * - *
-     * Approves a Rollout.
-     * 
- */ - public void approveRollout( - com.google.cloud.deploy.v1.ApproveRolloutRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getApproveRolloutMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall( - getListRolloutsMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall(getGetRolloutMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall( - getCreateRolloutMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall(getGetConfigMethod(), responseObserver); - } - - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { - 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>( - this, 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>( - this, METHODID_GET_DELIVERY_PIPELINE))) - .addMethod( - getCreateDeliveryPipelineMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.deploy.v1.CreateDeliveryPipelineRequest, - com.google.longrunning.Operation>(this, METHODID_CREATE_DELIVERY_PIPELINE))) - .addMethod( - getUpdateDeliveryPipelineMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.deploy.v1.UpdateDeliveryPipelineRequest, - com.google.longrunning.Operation>(this, METHODID_UPDATE_DELIVERY_PIPELINE))) - .addMethod( - getDeleteDeliveryPipelineMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.deploy.v1.DeleteDeliveryPipelineRequest, - com.google.longrunning.Operation>(this, 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>(this, METHODID_LIST_TARGETS))) - .addMethod( - getGetTargetMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.deploy.v1.GetTargetRequest, - com.google.cloud.deploy.v1.Target>(this, METHODID_GET_TARGET))) - .addMethod( - getCreateTargetMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.deploy.v1.CreateTargetRequest, - com.google.longrunning.Operation>(this, METHODID_CREATE_TARGET))) - .addMethod( - getUpdateTargetMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.deploy.v1.UpdateTargetRequest, - com.google.longrunning.Operation>(this, METHODID_UPDATE_TARGET))) - .addMethod( - getDeleteTargetMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.deploy.v1.DeleteTargetRequest, - com.google.longrunning.Operation>(this, METHODID_DELETE_TARGET))) - .addMethod( - getListReleasesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.deploy.v1.ListReleasesRequest, - com.google.cloud.deploy.v1.ListReleasesResponse>( - this, METHODID_LIST_RELEASES))) - .addMethod( - getGetReleaseMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.deploy.v1.GetReleaseRequest, - com.google.cloud.deploy.v1.Release>(this, METHODID_GET_RELEASE))) - .addMethod( - getCreateReleaseMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.deploy.v1.CreateReleaseRequest, - com.google.longrunning.Operation>(this, METHODID_CREATE_RELEASE))) - .addMethod( - getApproveRolloutMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.deploy.v1.ApproveRolloutRequest, - com.google.cloud.deploy.v1.ApproveRolloutResponse>( - this, METHODID_APPROVE_ROLLOUT))) - .addMethod( - getListRolloutsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.deploy.v1.ListRolloutsRequest, - com.google.cloud.deploy.v1.ListRolloutsResponse>( - this, METHODID_LIST_ROLLOUTS))) - .addMethod( - getGetRolloutMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.deploy.v1.GetRolloutRequest, - com.google.cloud.deploy.v1.Rollout>(this, METHODID_GET_ROLLOUT))) - .addMethod( - getCreateRolloutMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.deploy.v1.CreateRolloutRequest, - com.google.longrunning.Operation>(this, METHODID_CREATE_ROLLOUT))) - .addMethod( - getGetConfigMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.deploy.v1.GetConfigRequest, - com.google.cloud.deploy.v1.Config>(this, METHODID_GET_CONFIG))) - .build(); - } - } - - /** - * - * - *
-   * 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); - } - - /** - * - * - *
-     * 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 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); - } - - /** - * - * - *
-     * 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); - } - - /** - * - * - *
-     * 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); - } - - /** - * - * - *
-     * 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); - } - } - - /** - * - * - *
-   * 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); - } - - /** - * - * - *
-     * 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 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); - } - - /** - * - * - *
-     * 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); - } - - /** - * - * - *
-     * 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); - } - - /** - * - * - *
-     * 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); - } - } - - /** - * - * - *
-   * 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); - } - - /** - * - * - *
-     * 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 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); - } - - /** - * - * - *
-     * 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); - } - - /** - * - * - *
-     * 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); - } - - /** - * - * - *
-     * 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); - } - } - - 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_GET_TARGET = 6; - private static final int METHODID_CREATE_TARGET = 7; - private static final int METHODID_UPDATE_TARGET = 8; - private static final int METHODID_DELETE_TARGET = 9; - private static final int METHODID_LIST_RELEASES = 10; - private static final int METHODID_GET_RELEASE = 11; - private static final int METHODID_CREATE_RELEASE = 12; - private static final int METHODID_APPROVE_ROLLOUT = 13; - private static final int METHODID_LIST_ROLLOUTS = 14; - private static final int METHODID_GET_ROLLOUT = 15; - private static final int METHODID_CREATE_ROLLOUT = 16; - private static final int METHODID_GET_CONFIG = 17; - - 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 CloudDeployImplBase serviceImpl; - private final int methodId; - - MethodHandlers(CloudDeployImplBase 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_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_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_APPROVE_ROLLOUT: - serviceImpl.approveRollout( - (com.google.cloud.deploy.v1.ApproveRolloutRequest) 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_GET_CONFIG: - serviceImpl.getConfig( - (com.google.cloud.deploy.v1.GetConfigRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - private abstract static class 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 String methodName; - - CloudDeployMethodDescriptorSupplier(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(getGetTargetMethod()) - .addMethod(getCreateTargetMethod()) - .addMethod(getUpdateTargetMethod()) - .addMethod(getDeleteTargetMethod()) - .addMethod(getListReleasesMethod()) - .addMethod(getGetReleaseMethod()) - .addMethod(getCreateReleaseMethod()) - .addMethod(getApproveRolloutMethod()) - .addMethod(getListRolloutsMethod()) - .addMethod(getGetRolloutMethod()) - .addMethod(getCreateRolloutMethod()) - .addMethod(getGetConfigMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/CloudDeployClient.java b/owl-bot-staging/v1/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/CloudDeployClient.java similarity index 96% rename from google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/CloudDeployClient.java rename to owl-bot-staging/v1/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/CloudDeployClient.java index 4066e0e..a0a0b1c 100644 --- a/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/CloudDeployClient.java +++ b/owl-bot-staging/v1/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/CloudDeployClient.java @@ -62,13 +62,13 @@ * methods: * *
    - *
  1. A "flattened" method. With this type of method, the fields of the request type have been + *
  2. A "flattened" method. With this type of method, the fields of the request type have been * converted into function parameters. It may be the case that not all fields are available as * parameters, and not every API method will have a flattened method entry point. - *
  3. A "request object" method. This type of method only takes one parameter, a request object, + *
  4. A "request object" method. This type of method only takes one parameter, a request object, * which must be constructed before the call. Not every API method will have a request object * method. - *
  5. A "callable" method. This type of method takes no parameters and returns an immutable API + *
  6. A "callable" method. This type of method takes no parameters and returns an immutable API * callable object, which can be used to initiate calls to the service. *
* @@ -200,8 +200,7 @@ public final ListDeliveryPipelinesPagedResponse listDeliveryPipelines(LocationNa * *
{@code
    * try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
-   *   String parent =
-   *       DeliveryPipelineName.of("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]").toString();
+   *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
    *   for (DeliveryPipeline element :
    *       cloudDeployClient.listDeliveryPipelines(parent).iterateAll()) {
    *     // doThingsWith(element);
@@ -229,9 +228,7 @@ public final ListDeliveryPipelinesPagedResponse listDeliveryPipelines(String par
    * try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
    *   ListDeliveryPipelinesRequest request =
    *       ListDeliveryPipelinesRequest.newBuilder()
-   *           .setParent(
-   *               DeliveryPipelineName.of("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]")
-   *                   .toString())
+   *           .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
    *           .setPageSize(883849137)
    *           .setPageToken("pageToken873572522")
    *           .setFilter("filter-1274492040")
@@ -262,9 +259,7 @@ public final ListDeliveryPipelinesPagedResponse listDeliveryPipelines(
    * try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
    *   ListDeliveryPipelinesRequest request =
    *       ListDeliveryPipelinesRequest.newBuilder()
-   *           .setParent(
-   *               DeliveryPipelineName.of("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]")
-   *                   .toString())
+   *           .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
    *           .setPageSize(883849137)
    *           .setPageToken("pageToken873572522")
    *           .setFilter("filter-1274492040")
@@ -294,9 +289,7 @@ public final ListDeliveryPipelinesPagedResponse listDeliveryPipelines(
    * try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
    *   ListDeliveryPipelinesRequest request =
    *       ListDeliveryPipelinesRequest.newBuilder()
-   *           .setParent(
-   *               DeliveryPipelineName.of("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]")
-   *                   .toString())
+   *           .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
    *           .setPageSize(883849137)
    *           .setPageToken("pageToken873572522")
    *           .setFilter("filter-1274492040")
@@ -467,8 +460,7 @@ public final OperationFuture createDelivery
    *
    * 
{@code
    * try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
-   *   String parent =
-   *       DeliveryPipelineName.of("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]").toString();
+   *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
    *   DeliveryPipeline deliveryPipeline = DeliveryPipeline.newBuilder().build();
    *   String deliveryPipelineId = "deliveryPipelineId-632411535";
    *   DeliveryPipeline response =
@@ -505,9 +497,7 @@ public final OperationFuture createDelivery
    * try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
    *   CreateDeliveryPipelineRequest request =
    *       CreateDeliveryPipelineRequest.newBuilder()
-   *           .setParent(
-   *               DeliveryPipelineName.of("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]")
-   *                   .toString())
+   *           .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
    *           .setDeliveryPipelineId("deliveryPipelineId-632411535")
    *           .setDeliveryPipeline(DeliveryPipeline.newBuilder().build())
    *           .setRequestId("requestId693933066")
@@ -535,9 +525,7 @@ public final OperationFuture createDelivery
    * try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
    *   CreateDeliveryPipelineRequest request =
    *       CreateDeliveryPipelineRequest.newBuilder()
-   *           .setParent(
-   *               DeliveryPipelineName.of("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]")
-   *                   .toString())
+   *           .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
    *           .setDeliveryPipelineId("deliveryPipelineId-632411535")
    *           .setDeliveryPipeline(DeliveryPipeline.newBuilder().build())
    *           .setRequestId("requestId693933066")
@@ -565,9 +553,7 @@ public final OperationFuture createDelivery
    * try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
    *   CreateDeliveryPipelineRequest request =
    *       CreateDeliveryPipelineRequest.newBuilder()
-   *           .setParent(
-   *               DeliveryPipelineName.of("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]")
-   *                   .toString())
+   *           .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
    *           .setDeliveryPipelineId("deliveryPipelineId-632411535")
    *           .setDeliveryPipeline(DeliveryPipeline.newBuilder().build())
    *           .setRequestId("requestId693933066")
@@ -880,7 +866,7 @@ public final ListTargetsPagedResponse listTargets(LocationName parent) {
    *
    * 
{@code
    * try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
-   *   String parent = TargetName.of("[PROJECT]", "[LOCATION]", "[TARGET]").toString();
+   *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
    *   for (Target element : cloudDeployClient.listTargets(parent).iterateAll()) {
    *     // doThingsWith(element);
    *   }
@@ -906,7 +892,7 @@ public final ListTargetsPagedResponse listTargets(String parent) {
    * try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
    *   ListTargetsRequest request =
    *       ListTargetsRequest.newBuilder()
-   *           .setParent(TargetName.of("[PROJECT]", "[LOCATION]", "[TARGET]").toString())
+   *           .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
    *           .setPageSize(883849137)
    *           .setPageToken("pageToken873572522")
    *           .setFilter("filter-1274492040")
@@ -935,7 +921,7 @@ public final ListTargetsPagedResponse listTargets(ListTargetsRequest request) {
    * try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
    *   ListTargetsRequest request =
    *       ListTargetsRequest.newBuilder()
-   *           .setParent(TargetName.of("[PROJECT]", "[LOCATION]", "[TARGET]").toString())
+   *           .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
    *           .setPageSize(883849137)
    *           .setPageToken("pageToken873572522")
    *           .setFilter("filter-1274492040")
@@ -964,7 +950,7 @@ public final ListTargetsPagedResponse listTargets(ListTargetsRequest request) {
    * try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
    *   ListTargetsRequest request =
    *       ListTargetsRequest.newBuilder()
-   *           .setParent(TargetName.of("[PROJECT]", "[LOCATION]", "[TARGET]").toString())
+   *           .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
    *           .setPageSize(883849137)
    *           .setPageToken("pageToken873572522")
    *           .setFilter("filter-1274492040")
@@ -1119,7 +1105,7 @@ public final OperationFuture createTargetAsync(
    *
    * 
{@code
    * try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
-   *   String parent = TargetName.of("[PROJECT]", "[LOCATION]", "[TARGET]").toString();
+   *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
    *   Target target = Target.newBuilder().build();
    *   String targetId = "targetId-441951604";
    *   Target response = cloudDeployClient.createTargetAsync(parent, target, targetId).get();
@@ -1153,7 +1139,7 @@ public final OperationFuture createTargetAsync(
    * try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
    *   CreateTargetRequest request =
    *       CreateTargetRequest.newBuilder()
-   *           .setParent(TargetName.of("[PROJECT]", "[LOCATION]", "[TARGET]").toString())
+   *           .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
    *           .setTargetId("targetId-441951604")
    *           .setTarget(Target.newBuilder().build())
    *           .setRequestId("requestId693933066")
@@ -1181,7 +1167,7 @@ public final OperationFuture createTargetAsync(
    * try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
    *   CreateTargetRequest request =
    *       CreateTargetRequest.newBuilder()
-   *           .setParent(TargetName.of("[PROJECT]", "[LOCATION]", "[TARGET]").toString())
+   *           .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
    *           .setTargetId("targetId-441951604")
    *           .setTarget(Target.newBuilder().build())
    *           .setRequestId("requestId693933066")
@@ -1209,7 +1195,7 @@ public final OperationFuture createTargetAsync(
    * try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
    *   CreateTargetRequest request =
    *       CreateTargetRequest.newBuilder()
-   *           .setParent(TargetName.of("[PROJECT]", "[LOCATION]", "[TARGET]").toString())
+   *           .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
    *           .setTargetId("targetId-441951604")
    *           .setTarget(Target.newBuilder().build())
    *           .setRequestId("requestId693933066")
@@ -2512,11 +2498,8 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted
 
   public static class ListDeliveryPipelinesPagedResponse
       extends AbstractPagedListResponse<
-          ListDeliveryPipelinesRequest,
-          ListDeliveryPipelinesResponse,
-          DeliveryPipeline,
-          ListDeliveryPipelinesPage,
-          ListDeliveryPipelinesFixedSizeCollection> {
+          ListDeliveryPipelinesRequest, ListDeliveryPipelinesResponse, DeliveryPipeline,
+          ListDeliveryPipelinesPage, ListDeliveryPipelinesFixedSizeCollection> {
 
     public static ApiFuture createAsync(
         PageContext
@@ -2537,9 +2520,7 @@ private ListDeliveryPipelinesPagedResponse(ListDeliveryPipelinesPage page) {
 
   public static class ListDeliveryPipelinesPage
       extends AbstractPage<
-          ListDeliveryPipelinesRequest,
-          ListDeliveryPipelinesResponse,
-          DeliveryPipeline,
+          ListDeliveryPipelinesRequest, ListDeliveryPipelinesResponse, DeliveryPipeline,
           ListDeliveryPipelinesPage> {
 
     private ListDeliveryPipelinesPage(
@@ -2572,11 +2553,8 @@ public ApiFuture createPageAsync(
 
   public static class ListDeliveryPipelinesFixedSizeCollection
       extends AbstractFixedSizeCollection<
-          ListDeliveryPipelinesRequest,
-          ListDeliveryPipelinesResponse,
-          DeliveryPipeline,
-          ListDeliveryPipelinesPage,
-          ListDeliveryPipelinesFixedSizeCollection> {
+          ListDeliveryPipelinesRequest, ListDeliveryPipelinesResponse, DeliveryPipeline,
+          ListDeliveryPipelinesPage, ListDeliveryPipelinesFixedSizeCollection> {
 
     private ListDeliveryPipelinesFixedSizeCollection(
         List pages, int collectionSize) {
@@ -2596,10 +2574,7 @@ protected ListDeliveryPipelinesFixedSizeCollection createCollection(
 
   public static class ListTargetsPagedResponse
       extends AbstractPagedListResponse<
-          ListTargetsRequest,
-          ListTargetsResponse,
-          Target,
-          ListTargetsPage,
+          ListTargetsRequest, ListTargetsResponse, Target, ListTargetsPage,
           ListTargetsFixedSizeCollection> {
 
     public static ApiFuture createAsync(
@@ -2646,10 +2621,7 @@ public ApiFuture createPageAsync(
 
   public static class ListTargetsFixedSizeCollection
       extends AbstractFixedSizeCollection<
-          ListTargetsRequest,
-          ListTargetsResponse,
-          Target,
-          ListTargetsPage,
+          ListTargetsRequest, ListTargetsResponse, Target, ListTargetsPage,
           ListTargetsFixedSizeCollection> {
 
     private ListTargetsFixedSizeCollection(List pages, int collectionSize) {
@@ -2669,10 +2641,7 @@ protected ListTargetsFixedSizeCollection createCollection(
 
   public static class ListReleasesPagedResponse
       extends AbstractPagedListResponse<
-          ListReleasesRequest,
-          ListReleasesResponse,
-          Release,
-          ListReleasesPage,
+          ListReleasesRequest, ListReleasesResponse, Release, ListReleasesPage,
           ListReleasesFixedSizeCollection> {
 
     public static ApiFuture createAsync(
@@ -2721,10 +2690,7 @@ public ApiFuture createPageAsync(
 
   public static class ListReleasesFixedSizeCollection
       extends AbstractFixedSizeCollection<
-          ListReleasesRequest,
-          ListReleasesResponse,
-          Release,
-          ListReleasesPage,
+          ListReleasesRequest, ListReleasesResponse, Release, ListReleasesPage,
           ListReleasesFixedSizeCollection> {
 
     private ListReleasesFixedSizeCollection(List pages, int collectionSize) {
@@ -2744,10 +2710,7 @@ protected ListReleasesFixedSizeCollection createCollection(
 
   public static class ListRolloutsPagedResponse
       extends AbstractPagedListResponse<
-          ListRolloutsRequest,
-          ListRolloutsResponse,
-          Rollout,
-          ListRolloutsPage,
+          ListRolloutsRequest, ListRolloutsResponse, Rollout, ListRolloutsPage,
           ListRolloutsFixedSizeCollection> {
 
     public static ApiFuture createAsync(
@@ -2796,10 +2759,7 @@ public ApiFuture createPageAsync(
 
   public static class ListRolloutsFixedSizeCollection
       extends AbstractFixedSizeCollection<
-          ListRolloutsRequest,
-          ListRolloutsResponse,
-          Rollout,
-          ListRolloutsPage,
+          ListRolloutsRequest, ListRolloutsResponse, Rollout, ListRolloutsPage,
           ListRolloutsFixedSizeCollection> {
 
     private ListRolloutsFixedSizeCollection(List pages, int collectionSize) {
diff --git a/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/CloudDeploySettings.java b/owl-bot-staging/v1/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/CloudDeploySettings.java
similarity index 97%
rename from google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/CloudDeploySettings.java
rename to owl-bot-staging/v1/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/CloudDeploySettings.java
index b1eea4f..97524ea 100644
--- a/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/CloudDeploySettings.java
+++ b/owl-bot-staging/v1/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/CloudDeploySettings.java
@@ -31,6 +31,7 @@
 import com.google.api.gax.rpc.ClientSettings;
 import com.google.api.gax.rpc.OperationCallSettings;
 import com.google.api.gax.rpc.PagedCallSettings;
+import com.google.api.gax.rpc.StubSettings;
 import com.google.api.gax.rpc.TransportChannelProvider;
 import com.google.api.gax.rpc.UnaryCallSettings;
 import com.google.cloud.deploy.v1.stub.CloudDeployStubSettings;
@@ -47,9 +48,9 @@
  * 

The default instance has everything set to sensible defaults: * *

    - *
  • The default service address (clouddeploy.googleapis.com) and default port (443) are used. - *
  • Credentials are acquired automatically through Application Default Credentials. - *
  • Retries are configured for idempotent methods but not for non-idempotent methods. + *
  • The default service address (clouddeploy.googleapis.com) and default port (443) are used. + *
  • Credentials are acquired automatically through Application Default Credentials. + *
  • Retries are configured for idempotent methods but not for non-idempotent methods. *
* *

The builder of this class is recursive, so contained classes are themselves builders. When @@ -76,8 +77,7 @@ public class CloudDeploySettings extends ClientSettings { /** Returns the object with the settings used for calls to listDeliveryPipelines. */ public PagedCallSettings< - ListDeliveryPipelinesRequest, - ListDeliveryPipelinesResponse, + ListDeliveryPipelinesRequest, ListDeliveryPipelinesResponse, ListDeliveryPipelinesPagedResponse> listDeliveryPipelinesSettings() { return ((CloudDeployStubSettings) getStubSettings()).listDeliveryPipelinesSettings(); @@ -321,8 +321,7 @@ public Builder applyToAllUnaryMethods( /** Returns the builder for the settings used for calls to listDeliveryPipelines. */ public PagedCallSettings.Builder< - ListDeliveryPipelinesRequest, - ListDeliveryPipelinesResponse, + ListDeliveryPipelinesRequest, ListDeliveryPipelinesResponse, ListDeliveryPipelinesPagedResponse> listDeliveryPipelinesSettings() { return getStubSettingsBuilder().listDeliveryPipelinesSettings(); diff --git a/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/gapic_metadata.json b/owl-bot-staging/v1/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/gapic_metadata.json similarity index 100% rename from google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/gapic_metadata.json rename to owl-bot-staging/v1/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/gapic_metadata.json diff --git a/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/package-info.java b/owl-bot-staging/v1/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/package-info.java similarity index 100% rename from google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/package-info.java rename to owl-bot-staging/v1/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/package-info.java diff --git a/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/stub/CloudDeployStub.java b/owl-bot-staging/v1/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/stub/CloudDeployStub.java similarity index 100% rename from google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/stub/CloudDeployStub.java rename to owl-bot-staging/v1/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/stub/CloudDeployStub.java diff --git a/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/stub/CloudDeployStubSettings.java b/owl-bot-staging/v1/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/stub/CloudDeployStubSettings.java similarity index 98% rename from google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/stub/CloudDeployStubSettings.java rename to owl-bot-staging/v1/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/stub/CloudDeployStubSettings.java index d4aff8d..f537036 100644 --- a/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/stub/CloudDeployStubSettings.java +++ b/owl-bot-staging/v1/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/stub/CloudDeployStubSettings.java @@ -94,9 +94,9 @@ *

The default instance has everything set to sensible defaults: * *

    - *
  • The default service address (clouddeploy.googleapis.com) and default port (443) are used. - *
  • Credentials are acquired automatically through Application Default Credentials. - *
  • Retries are configured for idempotent methods but not for non-idempotent methods. + *
  • The default service address (clouddeploy.googleapis.com) and default port (443) are used. + *
  • Credentials are acquired automatically through Application Default Credentials. + *
  • Retries are configured for idempotent methods but not for non-idempotent methods. *
* *

The builder of this class is recursive, so contained classes are themselves builders. When @@ -126,8 +126,7 @@ public class CloudDeployStubSettings extends StubSettingsbuilder().add("https://www.googleapis.com/auth/cloud-platform").build(); private final PagedCallSettings< - ListDeliveryPipelinesRequest, - ListDeliveryPipelinesResponse, + ListDeliveryPipelinesRequest, ListDeliveryPipelinesResponse, ListDeliveryPipelinesPagedResponse> listDeliveryPipelinesSettings; private final UnaryCallSettings @@ -326,13 +325,11 @@ public Iterable extractResources(ListRolloutsResponse payload) { }; private static final PagedListResponseFactory< - ListDeliveryPipelinesRequest, - ListDeliveryPipelinesResponse, + ListDeliveryPipelinesRequest, ListDeliveryPipelinesResponse, ListDeliveryPipelinesPagedResponse> LIST_DELIVERY_PIPELINES_PAGE_STR_FACT = new PagedListResponseFactory< - ListDeliveryPipelinesRequest, - ListDeliveryPipelinesResponse, + ListDeliveryPipelinesRequest, ListDeliveryPipelinesResponse, ListDeliveryPipelinesPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -402,8 +399,7 @@ public ApiFuture getFuturePagedResponse( /** Returns the object with the settings used for calls to listDeliveryPipelines. */ public PagedCallSettings< - ListDeliveryPipelinesRequest, - ListDeliveryPipelinesResponse, + ListDeliveryPipelinesRequest, ListDeliveryPipelinesResponse, ListDeliveryPipelinesPagedResponse> listDeliveryPipelinesSettings() { return listDeliveryPipelinesSettings; @@ -660,8 +656,7 @@ protected CloudDeployStubSettings(Builder settingsBuilder) throws IOException { public static class Builder extends StubSettings.Builder { private final ImmutableList> unaryMethodSettingsBuilders; private final PagedCallSettings.Builder< - ListDeliveryPipelinesRequest, - ListDeliveryPipelinesResponse, + ListDeliveryPipelinesRequest, ListDeliveryPipelinesResponse, ListDeliveryPipelinesPagedResponse> listDeliveryPipelinesSettings; private final UnaryCallSettings.Builder @@ -1181,8 +1176,7 @@ public Builder applyToAllUnaryMethods( /** Returns the builder for the settings used for calls to listDeliveryPipelines. */ public PagedCallSettings.Builder< - ListDeliveryPipelinesRequest, - ListDeliveryPipelinesResponse, + ListDeliveryPipelinesRequest, ListDeliveryPipelinesResponse, ListDeliveryPipelinesPagedResponse> listDeliveryPipelinesSettings() { return listDeliveryPipelinesSettings; diff --git a/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/stub/GrpcCloudDeployCallableFactory.java b/owl-bot-staging/v1/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/stub/GrpcCloudDeployCallableFactory.java similarity index 100% rename from google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/stub/GrpcCloudDeployCallableFactory.java rename to owl-bot-staging/v1/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/stub/GrpcCloudDeployCallableFactory.java diff --git a/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/stub/GrpcCloudDeployStub.java b/owl-bot-staging/v1/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/stub/GrpcCloudDeployStub.java similarity index 99% rename from google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/stub/GrpcCloudDeployStub.java rename to owl-bot-staging/v1/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/stub/GrpcCloudDeployStub.java index 2050e20..5668a3d 100644 --- a/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/stub/GrpcCloudDeployStub.java +++ b/owl-bot-staging/v1/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/stub/GrpcCloudDeployStub.java @@ -64,6 +64,7 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; +import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/google-cloud-deploy/src/test/java/com/google/cloud/deploy/v1/CloudDeployClientTest.java b/owl-bot-staging/v1/google-cloud-deploy/src/test/java/com/google/cloud/deploy/v1/CloudDeployClientTest.java similarity index 100% rename from google-cloud-deploy/src/test/java/com/google/cloud/deploy/v1/CloudDeployClientTest.java rename to owl-bot-staging/v1/google-cloud-deploy/src/test/java/com/google/cloud/deploy/v1/CloudDeployClientTest.java diff --git a/google-cloud-deploy/src/test/java/com/google/cloud/deploy/v1/MockCloudDeploy.java b/owl-bot-staging/v1/google-cloud-deploy/src/test/java/com/google/cloud/deploy/v1/MockCloudDeploy.java similarity index 100% rename from google-cloud-deploy/src/test/java/com/google/cloud/deploy/v1/MockCloudDeploy.java rename to owl-bot-staging/v1/google-cloud-deploy/src/test/java/com/google/cloud/deploy/v1/MockCloudDeploy.java diff --git a/google-cloud-deploy/src/test/java/com/google/cloud/deploy/v1/MockCloudDeployImpl.java b/owl-bot-staging/v1/google-cloud-deploy/src/test/java/com/google/cloud/deploy/v1/MockCloudDeployImpl.java similarity index 100% rename from google-cloud-deploy/src/test/java/com/google/cloud/deploy/v1/MockCloudDeployImpl.java rename to owl-bot-staging/v1/google-cloud-deploy/src/test/java/com/google/cloud/deploy/v1/MockCloudDeployImpl.java diff --git a/owl-bot-staging/v1/grpc-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CloudDeployGrpc.java b/owl-bot-staging/v1/grpc-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CloudDeployGrpc.java new file mode 100644 index 0000000..a1b3e4c --- /dev/null +++ b/owl-bot-staging/v1/grpc-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CloudDeployGrpc.java @@ -0,0 +1,1770 @@ +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 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 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 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 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 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 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; + } + + /** + * 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 static abstract class CloudDeployImplBase implements io.grpc.BindableService { + + /** + *
+     * 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.ServerCalls.asyncUnimplementedUnaryCall(getListDeliveryPipelinesMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall(getGetDeliveryPipelineMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall(getCreateDeliveryPipelineMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall(getUpdateDeliveryPipelineMethod(), responseObserver); + } + + /** + *
+     * Deletes a single DeliveryPipeline.
+     * 
+ */ + public 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.
+     * 
+ */ + public void listTargets(com.google.cloud.deploy.v1.ListTargetsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListTargetsMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall(getGetTargetMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall(getCreateTargetMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall(getUpdateTargetMethod(), responseObserver); + } + + /** + *
+     * Deletes a single Target.
+     * 
+ */ + public void deleteTarget(com.google.cloud.deploy.v1.DeleteTargetRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteTargetMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall(getListReleasesMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall(getGetReleaseMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall(getCreateReleaseMethod(), responseObserver); + } + + /** + *
+     * Approves a Rollout.
+     * 
+ */ + public void approveRollout(com.google.cloud.deploy.v1.ApproveRolloutRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getApproveRolloutMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall(getListRolloutsMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall(getGetRolloutMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall(getCreateRolloutMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall(getGetConfigMethod(), responseObserver); + } + + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + 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>( + this, 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>( + this, METHODID_GET_DELIVERY_PIPELINE))) + .addMethod( + getCreateDeliveryPipelineMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.deploy.v1.CreateDeliveryPipelineRequest, + com.google.longrunning.Operation>( + this, METHODID_CREATE_DELIVERY_PIPELINE))) + .addMethod( + getUpdateDeliveryPipelineMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.deploy.v1.UpdateDeliveryPipelineRequest, + com.google.longrunning.Operation>( + this, METHODID_UPDATE_DELIVERY_PIPELINE))) + .addMethod( + getDeleteDeliveryPipelineMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.deploy.v1.DeleteDeliveryPipelineRequest, + com.google.longrunning.Operation>( + this, 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>( + this, METHODID_LIST_TARGETS))) + .addMethod( + getGetTargetMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.deploy.v1.GetTargetRequest, + com.google.cloud.deploy.v1.Target>( + this, METHODID_GET_TARGET))) + .addMethod( + getCreateTargetMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.deploy.v1.CreateTargetRequest, + com.google.longrunning.Operation>( + this, METHODID_CREATE_TARGET))) + .addMethod( + getUpdateTargetMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.deploy.v1.UpdateTargetRequest, + com.google.longrunning.Operation>( + this, METHODID_UPDATE_TARGET))) + .addMethod( + getDeleteTargetMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.deploy.v1.DeleteTargetRequest, + com.google.longrunning.Operation>( + this, METHODID_DELETE_TARGET))) + .addMethod( + getListReleasesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.deploy.v1.ListReleasesRequest, + com.google.cloud.deploy.v1.ListReleasesResponse>( + this, METHODID_LIST_RELEASES))) + .addMethod( + getGetReleaseMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.deploy.v1.GetReleaseRequest, + com.google.cloud.deploy.v1.Release>( + this, METHODID_GET_RELEASE))) + .addMethod( + getCreateReleaseMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.deploy.v1.CreateReleaseRequest, + com.google.longrunning.Operation>( + this, METHODID_CREATE_RELEASE))) + .addMethod( + getApproveRolloutMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.deploy.v1.ApproveRolloutRequest, + com.google.cloud.deploy.v1.ApproveRolloutResponse>( + this, METHODID_APPROVE_ROLLOUT))) + .addMethod( + getListRolloutsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.deploy.v1.ListRolloutsRequest, + com.google.cloud.deploy.v1.ListRolloutsResponse>( + this, METHODID_LIST_ROLLOUTS))) + .addMethod( + getGetRolloutMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.deploy.v1.GetRolloutRequest, + com.google.cloud.deploy.v1.Rollout>( + this, METHODID_GET_ROLLOUT))) + .addMethod( + getCreateRolloutMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.deploy.v1.CreateRolloutRequest, + com.google.longrunning.Operation>( + this, METHODID_CREATE_ROLLOUT))) + .addMethod( + getGetConfigMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.deploy.v1.GetConfigRequest, + com.google.cloud.deploy.v1.Config>( + this, METHODID_GET_CONFIG))) + .build(); + } + } + + /** + *
+   * 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); + } + + /** + *
+     * 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 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); + } + + /** + *
+     * 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); + } + + /** + *
+     * 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); + } + + /** + *
+     * 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); + } + } + + /** + *
+   * 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); + } + + /** + *
+     * 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 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); + } + + /** + *
+     * 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); + } + + /** + *
+     * 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); + } + + /** + *
+     * 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); + } + } + + /** + *
+   * 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); + } + + /** + *
+     * 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 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); + } + + /** + *
+     * 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); + } + + /** + *
+     * 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); + } + + /** + *
+     * 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); + } + } + + 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_GET_TARGET = 6; + private static final int METHODID_CREATE_TARGET = 7; + private static final int METHODID_UPDATE_TARGET = 8; + private static final int METHODID_DELETE_TARGET = 9; + private static final int METHODID_LIST_RELEASES = 10; + private static final int METHODID_GET_RELEASE = 11; + private static final int METHODID_CREATE_RELEASE = 12; + private static final int METHODID_APPROVE_ROLLOUT = 13; + private static final int METHODID_LIST_ROLLOUTS = 14; + private static final int METHODID_GET_ROLLOUT = 15; + private static final int METHODID_CREATE_ROLLOUT = 16; + private static final int METHODID_GET_CONFIG = 17; + + 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 CloudDeployImplBase serviceImpl; + private final int methodId; + + MethodHandlers(CloudDeployImplBase 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_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_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_APPROVE_ROLLOUT: + serviceImpl.approveRollout((com.google.cloud.deploy.v1.ApproveRolloutRequest) 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_GET_CONFIG: + serviceImpl.getConfig((com.google.cloud.deploy.v1.GetConfigRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + private static abstract class 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 String methodName; + + CloudDeployMethodDescriptorSupplier(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(getGetTargetMethod()) + .addMethod(getCreateTargetMethod()) + .addMethod(getUpdateTargetMethod()) + .addMethod(getDeleteTargetMethod()) + .addMethod(getListReleasesMethod()) + .addMethod(getGetReleaseMethod()) + .addMethod(getCreateReleaseMethod()) + .addMethod(getApproveRolloutMethod()) + .addMethod(getListRolloutsMethod()) + .addMethod(getGetRolloutMethod()) + .addMethod(getCreateRolloutMethod()) + .addMethod(getGetConfigMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ApproveRolloutRequest.java b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ApproveRolloutRequest.java similarity index 67% rename from proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ApproveRolloutRequest.java rename to owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ApproveRolloutRequest.java index 90ab57b..7c2986f 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ApproveRolloutRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ApproveRolloutRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ApproveRolloutRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,67 +53,59 @@ private ApproveRolloutRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 16: - { - approved_ = input.readBool(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + case 16: { + + approved_ = input.readBool(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.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; 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 @@ -139,33 +114,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 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 { @@ -176,14 +149,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int APPROVED_FIELD_NUMBER = 2; private boolean approved_; /** - * - * *
    * Required. True = approve; false = reject
    * 
* * bool approved = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The approved. */ @java.lang.Override @@ -192,7 +162,6 @@ public boolean getApproved() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -204,7 +173,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -224,7 +194,8 @@ 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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -234,16 +205,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -258,133 +230,125 @@ 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) + unknownFields.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() @@ -392,15 +356,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -412,9 +377,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 @@ -433,8 +398,7 @@ 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); + com.google.cloud.deploy.v1.ApproveRolloutRequest result = new com.google.cloud.deploy.v1.ApproveRolloutRequest(this); result.name_ = name_; result.approved_ = approved_; onBuilt(); @@ -445,39 +409,38 @@ public com.google.cloud.deploy.v1.ApproveRolloutRequest 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.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; @@ -485,8 +448,7 @@ 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_; onChanged(); @@ -525,24 +487,20 @@ public Builder mergeFrom( 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; @@ -551,25 +509,22 @@ 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 { @@ -577,88 +532,72 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - 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 @@ -666,43 +605,37 @@ 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. */ public Builder setApproved(boolean value) { - + approved_ = value; onChanged(); return this; } /** - * - * *
      * Required. True = approve; false = reject
      * 
* * bool approved = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearApproved() { - + approved_ = false; 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); } @@ -712,12 +645,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(); } @@ -726,16 +659,16 @@ 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 { - return new ApproveRolloutRequest(input, extensionRegistry); - } - }; + 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 { + return new ApproveRolloutRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -750,4 +683,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.ApproveRolloutRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ApproveRolloutRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ApproveRolloutRequestOrBuilder.java similarity index 50% rename from proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ApproveRolloutRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ApproveRolloutRequestOrBuilder.java index e0f7a5f..64b29d3 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ApproveRolloutRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ApproveRolloutRequestOrBuilder.java @@ -1,70 +1,42 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ApproveRolloutResponse.java b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ApproveRolloutResponse.java similarity index 65% rename from proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ApproveRolloutResponse.java rename to owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ApproveRolloutResponse.java index d944706..4634a09 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ApproveRolloutResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ApproveRolloutResponse.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ApproveRolloutResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,42 +52,39 @@ private ApproveRolloutResponse( case 0: done = true; break; - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.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; @@ -115,7 +96,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { unknownFields.writeTo(output); } @@ -133,13 +115,12 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -158,126 +139,117 @@ 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() @@ -285,15 +257,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -301,9 +274,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 @@ -322,8 +295,7 @@ 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; } @@ -332,39 +304,38 @@ 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; @@ -372,8 +343,7 @@ 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.unknownFields); onChanged(); return this; @@ -393,8 +363,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.deploy.v1.ApproveRolloutResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.deploy.v1.ApproveRolloutResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -403,9 +372,9 @@ public Builder mergeFrom( } 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); } @@ -415,12 +384,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(); } @@ -429,16 +398,16 @@ 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 { - return new ApproveRolloutResponse(input, extensionRegistry); - } - }; + 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 { + return new ApproveRolloutResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -453,4 +422,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.ApproveRolloutResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ApproveRolloutResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ApproveRolloutResponseOrBuilder.java new file mode 100644 index 0000000..4f70603 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ApproveRolloutResponseOrBuilder.java @@ -0,0 +1,9 @@ +// 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/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/BuildArtifact.java b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/BuildArtifact.java similarity index 70% rename from proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/BuildArtifact.java rename to owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/BuildArtifact.java index 0162da3..2babe26 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/BuildArtifact.java +++ b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/BuildArtifact.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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_ = ""; @@ -44,15 +26,16 @@ private BuildArtifact() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new BuildArtifact(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private BuildArtifact( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,65 +54,58 @@ private BuildArtifact( case 0: done = true; break; - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - tag_ = s; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + tag_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - image_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + image_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.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; private volatile java.lang.Object image_; /** - * - * *
    * Image name in Skaffold configuration.
    * 
* * string image = 3; - * * @return The image. */ @java.lang.Override @@ -138,29 +114,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 { @@ -171,8 +147,6 @@ public com.google.protobuf.ByteString getImageBytes() { public static final int TAG_FIELD_NUMBER = 2; 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
@@ -180,7 +154,6 @@ public com.google.protobuf.ByteString getImageBytes() {
    * 
* * string tag = 2; - * * @return The tag. */ @java.lang.Override @@ -189,15 +162,14 @@ 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
@@ -205,15 +177,16 @@ 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 { @@ -222,7 +195,6 @@ public com.google.protobuf.ByteString getTagBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -234,7 +206,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tag_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, tag_); } @@ -264,15 +237,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -293,127 +268,118 @@ 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() @@ -421,15 +387,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -441,9 +408,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 @@ -462,8 +429,7 @@ 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); + com.google.cloud.deploy.v1.BuildArtifact result = new com.google.cloud.deploy.v1.BuildArtifact(this); result.image_ = image_; result.tag_ = tag_; onBuilt(); @@ -474,39 +440,38 @@ public com.google.cloud.deploy.v1.BuildArtifact 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.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; @@ -554,20 +519,18 @@ public Builder mergeFrom( 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; @@ -576,21 +539,20 @@ 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 { @@ -598,61 +560,54 @@ public com.google.protobuf.ByteString getImageBytes() { } } /** - * - * *
      * 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) { + public Builder setImage( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + image_ = value; onChanged(); return this; } /** - * - * *
      * Image name in Skaffold configuration.
      * 
* * string image = 3; - * * @return This builder for chaining. */ public Builder clearImage() { - + image_ = getDefaultInstance().getImage(); onChanged(); 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) { + public Builder setImageBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + image_ = value; onChanged(); return this; @@ -660,8 +615,6 @@ public Builder setImageBytes(com.google.protobuf.ByteString value) { 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
@@ -669,13 +622,13 @@ public Builder setImageBytes(com.google.protobuf.ByteString value) {
      * 
* * 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; @@ -684,8 +637,6 @@ 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
@@ -693,14 +644,15 @@ 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 { @@ -708,8 +660,6 @@ public com.google.protobuf.ByteString getTagBytes() { } } /** - * - * *
      * 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
@@ -717,22 +667,20 @@ public com.google.protobuf.ByteString getTagBytes() {
      * 
* * string tag = 2; - * * @param value The tag to set. * @return This builder for chaining. */ - public Builder setTag(java.lang.String value) { + public Builder setTag( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + tag_ = value; 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
@@ -740,18 +688,15 @@ public Builder setTag(java.lang.String value) {
      * 
* * string tag = 2; - * * @return This builder for chaining. */ public Builder clearTag() { - + tag_ = getDefaultInstance().getTag(); 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
@@ -759,23 +704,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) { + public Builder setTagBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + tag_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -785,12 +730,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(); } @@ -799,16 +744,16 @@ 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 { - return new BuildArtifact(input, extensionRegistry); - } - }; + 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 { + return new BuildArtifact(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -823,4 +768,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.BuildArtifact getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/BuildArtifactOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/BuildArtifactOrBuilder.java similarity index 59% rename from proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/BuildArtifactOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/BuildArtifactOrBuilder.java index ac0e9bd..6d6cbbd 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/BuildArtifactOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/BuildArtifactOrBuilder.java @@ -1,56 +1,33 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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
@@ -58,13 +35,10 @@ public interface BuildArtifactOrBuilder
    * 
* * 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
@@ -72,8 +46,8 @@ public interface BuildArtifactOrBuilder
    * 
* * string tag = 2; - * * @return The bytes for tag. */ - com.google.protobuf.ByteString getTagBytes(); + com.google.protobuf.ByteString + getTagBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CloudDeployProto.java b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CloudDeployProto.java new file mode 100644 index 0000000..55b62cd --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CloudDeployProto.java @@ -0,0 +1,1001 @@ +// 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_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_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_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_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_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_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_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_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_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_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_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; + + 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 google/protobuf/fie" + + "ld_mask.proto\032\037google/protobuf/timestamp" + + ".proto\032\026google/type/date.proto\"\322\005\n\020Deliv" + + "eryPipeline\022\021\n\004name\030\001 \001(\tB\003\340A\001\022\020\n\003uid\030\002 " + + "\001(\tB\003\340A\003\022\023\n\013description\030\003 \001(\t\022N\n\013annotat" + + "ions\030\004 \003(\01329.google.cloud.deploy.v1.Deli" + + "veryPipeline.AnnotationsEntry\022D\n\006labels\030" + + "\005 \003(\01324.google.cloud.deploy.v1.DeliveryP" + + "ipeline.LabelsEntry\0224\n\013create_time\030\006 \001(\013" + + "2\032.google.protobuf.TimestampB\003\340A\003\0224\n\013upd" + + "ate_time\030\007 \001(\0132\032.google.protobuf.Timesta" + + "mpB\003\340A\003\022A\n\017serial_pipeline\030\010 \001(\0132&.googl" + + "e.cloud.deploy.v1.SerialPipelineH\000\022A\n\tco" + + "ndition\030\013 \001(\0132).google.cloud.deploy.v1.P" + + "ipelineConditionB\003\340A\003\022\014\n\004etag\030\n \001(\t\0322\n\020A" + + "nnotationsEntry\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\005v" + + "alue\030\002 \001(\t:\0028\001:\177\352A|\n+clouddeploy.googlea" + + "pis.com/DeliveryPipeline\022Mprojects/{proj" + + "ect}/locations/{location}/deliveryPipeli" + + "nes/{delivery_pipeline}B\n\n\010pipeline\"?\n\016S" + + "erialPipeline\022-\n\006stages\030\001 \003(\0132\035.google.c" + + "loud.deploy.v1.Stage\",\n\005Stage\022\021\n\ttarget_" + + "id\030\001 \001(\t\022\020\n\010profiles\030\002 \003(\t\"Y\n\026PipelineRe" + + "adyCondition\022\016\n\006status\030\003 \001(\010\022/\n\013update_t" + + "ime\030\004 \001(\0132\032.google.protobuf.Timestamp\"\233\001" + + "\n\027TargetsPresentCondition\022\016\n\006status\030\001 \001(" + + "\010\022?\n\017missing_targets\030\002 \003(\tB&\372A#\n!cloudde" + + "ploy.googleapis.com/Target\022/\n\013update_tim" + + "e\030\004 \001(\0132\032.google.protobuf.Timestamp\"\271\001\n\021" + + "PipelineCondition\022P\n\030pipeline_ready_cond" + + "ition\030\001 \001(\0132..google.cloud.deploy.v1.Pip" + + "elineReadyCondition\022R\n\031targets_present_c" + + "ondition\030\003 \001(\0132/.google.cloud.deploy.v1." + + "TargetsPresentCondition\"\254\001\n\034ListDelivery" + + "PipelinesRequest\022C\n\006parent\030\001 \001(\tB3\340A\002\372A-" + + "\022+clouddeploy.googleapis.com/DeliveryPip" + + "eline\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\"\223" + + "\001\n\035ListDeliveryPipelinesResponse\022D\n\022deli" + + "very_pipelines\030\001 \003(\0132(.google.cloud.depl" + + "oy.v1.DeliveryPipeline\022\027\n\017next_page_toke" + + "n\030\002 \001(\t\022\023\n\013unreachable\030\003 \003(\t\"_\n\032GetDeliv" + + "eryPipelineRequest\022A\n\004name\030\001 \001(\tB3\340A\002\372A-" + + "\n+clouddeploy.googleapis.com/DeliveryPip" + + "eline\"\206\002\n\035CreateDeliveryPipelineRequest\022" + + "C\n\006parent\030\001 \001(\tB3\340A\002\372A-\022+clouddeploy.goo" + + "gleapis.com/DeliveryPipeline\022!\n\024delivery" + + "_pipeline_id\030\002 \001(\tB\003\340A\002\022H\n\021delivery_pipe" + + "line\030\003 \001(\0132(.google.cloud.deploy.v1.Deli" + + "veryPipelineB\003\340A\002\022\027\n\nrequest_id\030\004 \001(\tB\003\340" + + "A\001\022\032\n\rvalidate_only\030\005 \001(\010B\003\340A\001\"\360\001\n\035Updat" + + "eDeliveryPipelineRequest\0224\n\013update_mask\030" + + "\001 \001(\0132\032.google.protobuf.FieldMaskB\003\340A\002\022H" + + "\n\021delivery_pipeline\030\002 \001(\0132(.google.cloud" + + ".deploy.v1.DeliveryPipelineB\003\340A\002\022\027\n\nrequ" + + "est_id\030\003 \001(\tB\003\340A\001\022\032\n\rallow_missing\030\004 \001(\010" + + "B\003\340A\001\022\032\n\rvalidate_only\030\005 \001(\010B\003\340A\001\"\332\001\n\035De" + + "leteDeliveryPipelineRequest\022A\n\004name\030\001 \001(" + + "\tB3\340A\002\372A-\n+clouddeploy.googleapis.com/De" + + "liveryPipeline\022\027\n\nrequest_id\030\002 \001(\tB\003\340A\001\022" + + "\032\n\rallow_missing\030\003 \001(\010B\003\340A\001\022\032\n\rvalidate_" + + "only\030\004 \001(\010B\003\340A\001\022\022\n\005force\030\006 \001(\010B\003\340A\001\022\021\n\004e" + + "tag\030\005 \001(\tB\003\340A\001\"\332\005\n\006Target\022\021\n\004name\030\001 \001(\tB" + + "\003\340A\001\022\026\n\ttarget_id\030\002 \001(\tB\003\340A\003\022\020\n\003uid\030\003 \001(" + + "\tB\003\340A\003\022\030\n\013description\030\004 \001(\tB\003\340A\001\022I\n\013anno" + + "tations\030\005 \003(\0132/.google.cloud.deploy.v1.T" + + "arget.AnnotationsEntryB\003\340A\001\022?\n\006labels\030\006 " + + "\003(\0132*.google.cloud.deploy.v1.Target.Labe" + + "lsEntryB\003\340A\001\022\035\n\020require_approval\030\r \001(\010B\003" + + "\340A\001\0224\n\013create_time\030\010 \001(\0132\032.google.protob" + + "uf.TimestampB\003\340A\003\0224\n\013update_time\030\t \001(\0132\032" + + ".google.protobuf.TimestampB\003\340A\003\0221\n\003gke\030\017" + + " \001(\0132\".google.cloud.deploy.v1.GkeCluster" + + "H\000\022\021\n\004etag\030\014 \001(\tB\003\340A\001\022B\n\021execution_confi" + + "gs\030\020 \003(\0132\'.google.cloud.deploy.v1.Execut" + + "ionConfig\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\003" + + "key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001:`\352A]\n!cloud" + + "deploy.googleapis.com/Target\0228projects/{" + + "project}/locations/{location}/targets/{t" + + "arget}B\023\n\021deployment_target\"\350\002\n\017Executio" + + "nConfig\022V\n\006usages\030\001 \003(\0162A.google.cloud.d" + + "eploy.v1.ExecutionConfig.ExecutionEnviro" + + "nmentUsageB\003\340A\002\022@\n\014default_pool\030\002 \001(\0132#." + + "google.cloud.deploy.v1.DefaultPoolB\003\340A\001H" + + "\000\022@\n\014private_pool\030\003 \001(\0132#.google.cloud.d" + + "eploy.v1.PrivatePoolB\003\340A\001H\000\"`\n\031Execution" + + "EnvironmentUsage\022+\n\'EXECUTION_ENVIRONMEN" + + "T_USAGE_UNSPECIFIED\020\000\022\n\n\006RENDER\020\001\022\n\n\006DEP" + + "LOY\020\002B\027\n\025execution_environment\"J\n\013Defaul" + + "tPool\022\034\n\017service_account\030\001 \001(\tB\003\340A\001\022\035\n\020a" + + "rtifact_storage\030\002 \001(\tB\003\340A\001\"\215\001\n\013PrivatePo" + + "ol\022A\n\013worker_pool\030\001 \001(\tB,\340A\002\372A&\n$cloudbu" + + "ild.googleapis.com/WorkerPool\022\034\n\017service" + + "_account\030\002 \001(\tB\003\340A\001\022\035\n\020artifact_storage\030" + + "\003 \001(\tB\003\340A\001\"D\n\nGkeCluster\0226\n\007cluster\030\001 \001(" + + "\tB%\372A\"\n container.googleapis.com/Cluster" + + "\"\254\001\n\022ListTargetsRequest\0229\n\006parent\030\001 \001(\tB" + + ")\340A\002\372A#\022!clouddeploy.googleapis.com/Targ" + + "et\022\026\n\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n\npage_token" + + "\030\003 \001(\tB\003\340A\001\022\023\n\006filter\030\004 \001(\tB\003\340A\001\022\025\n\010orde" + + "r_by\030\005 \001(\tB\003\340A\001\"t\n\023ListTargetsResponse\022/" + + "\n\007targets\030\001 \003(\0132\036.google.cloud.deploy.v1" + + ".Target\022\027\n\017next_page_token\030\002 \001(\t\022\023\n\013unre" + + "achable\030\003 \003(\t\"K\n\020GetTargetRequest\0227\n\004nam" + + "e\030\001 \001(\tB)\340A\002\372A#\n!clouddeploy.googleapis." + + "com/Target\"\322\001\n\023CreateTargetRequest\0229\n\006pa" + + "rent\030\001 \001(\tB)\340A\002\372A#\022!clouddeploy.googleap" + + "is.com/Target\022\026\n\ttarget_id\030\002 \001(\tB\003\340A\002\0223\n" + + "\006target\030\003 \001(\0132\036.google.cloud.deploy.v1.T" + + "argetB\003\340A\002\022\027\n\nrequest_id\030\004 \001(\tB\003\340A\001\022\032\n\rv" + + "alidate_only\030\005 \001(\010B\003\340A\001\"\321\001\n\023UpdateTarget" + + "Request\0224\n\013update_mask\030\001 \001(\0132\032.google.pr" + + "otobuf.FieldMaskB\003\340A\002\0223\n\006target\030\002 \001(\0132\036." + + "google.cloud.deploy.v1.TargetB\003\340A\002\022\027\n\nre" + + "quest_id\030\003 \001(\tB\003\340A\001\022\032\n\rallow_missing\030\004 \001" + + "(\010B\003\340A\001\022\032\n\rvalidate_only\030\005 \001(\010B\003\340A\001\"\262\001\n\023" + + "DeleteTargetRequest\0227\n\004name\030\001 \001(\tB)\340A\002\372A" + + "#\n!clouddeploy.googleapis.com/Target\022\027\n\n" + + "request_id\030\002 \001(\tB\003\340A\001\022\032\n\rallow_missing\030\003" + + " \001(\010B\003\340A\001\022\032\n\rvalidate_only\030\004 \001(\010B\003\340A\001\022\021\n" + + "\004etag\030\005 \001(\tB\003\340A\001\"\272\r\n\007Release\022\021\n\004name\030\001 \001" + + "(\tB\003\340A\001\022\020\n\003uid\030\002 \001(\tB\003\340A\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\0224\n\013create_time\030\006 \001(\0132" + + "\032.google.protobuf.TimestampB\003\340A\003\022:\n\021rend" + + "er_start_time\030\007 \001(\0132\032.google.protobuf.Ti" + + "mestampB\003\340A\003\0228\n\017render_end_time\030\010 \001(\0132\032." + + "google.protobuf.TimestampB\003\340A\003\022\033\n\023skaffo" + + "ld_config_uri\030\021 \001(\t\022\034\n\024skaffold_config_p" + + "ath\030\t \001(\t\022>\n\017build_artifacts\030\n \003(\0132%.goo" + + "gle.cloud.deploy.v1.BuildArtifact\022Q\n\032del" + + "ivery_pipeline_snapshot\030\013 \001(\0132(.google.c" + + "loud.deploy.v1.DeliveryPipelineB\003\340A\003\022=\n\020" + + "target_snapshots\030\014 \003(\0132\036.google.cloud.de" + + "ploy.v1.TargetB\003\340A\003\022F\n\014render_state\030\r \001(" + + "\0162+.google.cloud.deploy.v1.Release.Rende" + + "rStateB\003\340A\003\022\014\n\004etag\030\020 \001(\t\022\030\n\020skaffold_ve" + + "rsion\030\023 \001(\t\022S\n\020target_artifacts\030\024 \003(\01324." + + "google.cloud.deploy.v1.Release.TargetArt" + + "ifactsEntryB\003\340A\003\022O\n\016target_renders\030\026 \003(\013" + + "22.google.cloud.deploy.v1.Release.Target" + + "RendersEntryB\003\340A\003\032\224\002\n\014TargetRender\022@\n\017re" + + "ndering_build\030\001 \001(\tB\'\340A\003\372A!\n\037cloudbuild." + + "googleapis.com/Build\022\\\n\017rendering_state\030" + + "\002 \001(\0162>.google.cloud.deploy.v1.Release.T" + + "argetRender.TargetRenderStateB\003\340A\003\"d\n\021Ta" + + "rgetRenderState\022#\n\037TARGET_RENDER_STATE_U" + + "NSPECIFIED\020\000\022\r\n\tSUCCEEDED\020\001\022\n\n\006FAILED\020\002\022" + + "\017\n\013IN_PROGRESS\020\003\0322\n\020AnnotationsEntry\022\013\n\003" + + "key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\032-\n\013LabelsEn" + + "try\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\032^\n\024T" + + "argetArtifactsEntry\022\013\n\003key\030\001 \001(\t\0225\n\005valu" + + "e\030\002 \001(\0132&.google.cloud.deploy.v1.TargetA" + + "rtifact:\0028\001\032b\n\022TargetRendersEntry\022\013\n\003key" + + "\030\001 \001(\t\022;\n\005value\030\002 \001(\0132,.google.cloud.dep" + + "loy.v1.Release.TargetRender:\0028\001\"W\n\013Rende" + + "rState\022\034\n\030RENDER_STATE_UNSPECIFIED\020\000\022\r\n\t" + + "SUCCEEDED\020\001\022\n\n\006FAILED\020\002\022\017\n\013IN_PROGRESS\020\003" + + ":\212\001\352A\206\001\n\"clouddeploy.googleapis.com/Rele" + + "ase\022`projects/{project}/locations/{locat" + + "ion}/deliveryPipelines/{delivery_pipelin" + + "e}/releases/{release}\"+\n\rBuildArtifact\022\r" + + "\n\005image\030\003 \001(\t\022\013\n\003tag\030\002 \001(\t\"s\n\016TargetArti" + + "fact\022\033\n\014artifact_uri\030\004 \001(\tB\003\340A\003H\000\022!\n\024ska" + + "ffold_config_path\030\002 \001(\tB\003\340A\003\022\032\n\rmanifest" + + "_path\030\003 \001(\tB\003\340A\003B\005\n\003uri\"\267\001\n\023ListReleases" + + "Request\022C\n\006parent\030\001 \001(\tB3\340A\002\372A-\n+cloudde" + + "ploy.googleapis.com/DeliveryPipeline\022\026\n\t" + + "page_size\030\002 \001(\005B\003\340A\001\022\027\n\npage_token\030\003 \001(\t" + + "B\003\340A\001\022\023\n\006filter\030\004 \001(\tB\003\340A\001\022\025\n\010order_by\030\005" + + " \001(\tB\003\340A\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\"M\n\021GetReleaseRequest\0228\n\004name\030" + + "\001 \001(\tB*\340A\002\372A$\n\"clouddeploy.googleapis.co" + + "m/Release\"\340\001\n\024CreateReleaseRequest\022C\n\006pa" + + "rent\030\001 \001(\tB3\340A\002\372A-\n+clouddeploy.googleap" + + "is.com/DeliveryPipeline\022\027\n\nrelease_id\030\002 " + + "\001(\tB\003\340A\002\0225\n\007release\030\003 \001(\0132\037.google.cloud" + + ".deploy.v1.ReleaseB\003\340A\002\022\027\n\nrequest_id\030\004 " + + "\001(\tB\003\340A\001\022\032\n\rvalidate_only\030\005 \001(\010B\003\340A\001\"\211\n\n" + + "\007Rollout\022\021\n\004name\030\001 \001(\tB\003\340A\001\022\020\n\003uid\030\002 \001(\t" + + "B\003\340A\003\022\023\n\013description\030\003 \001(\t\022E\n\013annotation" + + "s\030\004 \003(\01320.google.cloud.deploy.v1.Rollout" + + ".AnnotationsEntry\022;\n\006labels\030\005 \003(\0132+.goog" + + "le.cloud.deploy.v1.Rollout.LabelsEntry\0224" + + "\n\013create_time\030\006 \001(\0132\032.google.protobuf.Ti" + + "mestampB\003\340A\003\0225\n\014approve_time\030\007 \001(\0132\032.goo" + + "gle.protobuf.TimestampB\003\340A\003\0225\n\014enqueue_t" + + "ime\030\010 \001(\0132\032.google.protobuf.TimestampB\003\340" + + "A\003\022:\n\021deploy_start_time\030\t \001(\0132\032.google.p" + + "rotobuf.TimestampB\003\340A\003\0228\n\017deploy_end_tim" + + "e\030\n \001(\0132\032.google.protobuf.TimestampB\003\340A\003" + + "\022\026\n\ttarget_id\030\022 \001(\tB\003\340A\002\022J\n\016approval_sta" + + "te\030\014 \001(\0162-.google.cloud.deploy.v1.Rollou" + + "t.ApprovalStateB\003\340A\003\0229\n\005state\030\r \001(\0162%.go" + + "ogle.cloud.deploy.v1.Rollout.StateB\003\340A\003\022" + + "\033\n\016failure_reason\030\016 \001(\tB\003\340A\003\022@\n\017deployin" + + "g_build\030\021 \001(\tB\'\340A\003\372A!\n\037cloudbuild.google" + + "apis.com/Build\022\014\n\004etag\030\020 \001(\t\0322\n\020Annotati" + + "onsEntry\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_STA" + + "TE_UNSPECIFIED\020\000\022\022\n\016NEEDS_APPROVAL\020\001\022\032\n\026" + + "DOES_NOT_NEED_APPROVAL\020\002\022\014\n\010APPROVED\020\003\022\014" + + "\n\010REJECTED\020\004\"\231\001\n\005State\022\025\n\021STATE_UNSPECIF" + + "IED\020\000\022\r\n\tSUCCEEDED\020\001\022\n\n\006FAILED\020\002\022\017\n\013IN_P" + + "ROGRESS\020\003\022\024\n\020PENDING_APPROVAL\020\004\022\025\n\021APPRO" + + "VAL_REJECTED\020\005\022\013\n\007PENDING\020\006\022\023\n\017PENDING_R" + + "ELEASE\020\007:\235\001\352A\231\001\n\"clouddeploy.googleapis." + + "com/Rollout\022sprojects/{project}/location" + + "s/{location}/deliveryPipelines/{delivery" + + "_pipeline}/releases/{release}/rollouts/{" + + "rollout}\"\256\001\n\023ListRolloutsRequest\022:\n\006pare" + + "nt\030\001 \001(\tB*\340A\002\372A$\n\"clouddeploy.googleapis" + + ".com/Release\022\026\n\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n\n" + + "page_token\030\003 \001(\tB\003\340A\001\022\023\n\006filter\030\004 \001(\tB\003\340" + + "A\001\022\025\n\010order_by\030\005 \001(\tB\003\340A\001\"w\n\024ListRollout" + + "sResponse\0221\n\010rollouts\030\001 \003(\0132\037.google.clo" + + "ud.deploy.v1.Rollout\022\027\n\017next_page_token\030" + + "\002 \001(\t\022\023\n\013unreachable\030\003 \003(\t\"M\n\021GetRollout" + + "Request\0228\n\004name\030\001 \001(\tB*\340A\002\372A$\n\"clouddepl" + + "oy.googleapis.com/Rollout\"\327\001\n\024CreateRoll" + + "outRequest\022:\n\006parent\030\001 \001(\tB*\340A\002\372A$\n\"clou" + + "ddeploy.googleapis.com/Release\022\027\n\nrollou" + + "t_id\030\002 \001(\tB\003\340A\002\0225\n\007rollout\030\003 \001(\0132\037.googl" + + "e.cloud.deploy.v1.RolloutB\003\340A\002\022\027\n\nreques" + + "t_id\030\004 \001(\tB\003\340A\001\022\032\n\rvalidate_only\030\005 \001(\010B\003" + + "\340A\001\"\200\002\n\021OperationMetadata\0224\n\013create_time" + + "\030\001 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022" + + "1\n\010end_time\030\002 \001(\0132\032.google.protobuf.Time" + + "stampB\003\340A\003\022\023\n\006target\030\003 \001(\tB\003\340A\003\022\021\n\004verb\030" + + "\004 \001(\tB\003\340A\003\022\033\n\016status_message\030\005 \001(\tB\003\340A\003\022" + + "#\n\026requested_cancellation\030\006 \001(\010B\003\340A\003\022\030\n\013" + + "api_version\030\007 \001(\tB\003\340A\003\"h\n\025ApproveRollout" + + "Request\0228\n\004name\030\001 \001(\tB*\340A\002\372A$\n\"clouddepl" + + "oy.googleapis.com/Rollout\022\025\n\010approved\030\002 " + + "\001(\010B\003\340A\002\"\030\n\026ApproveRolloutResponse\"\337\001\n\006C" + + "onfig\022\014\n\004name\030\001 \001(\t\022H\n\022supported_version" + + "s\030\002 \003(\0132\'.google.cloud.deploy.v1.Skaffol" + + "dVersionB\003\340A\003\022%\n\030default_skaffold_versio" + + "n\030\003 \001(\tB\003\340A\003:V\352AS\n!clouddeploy.googleapi" + + "s.com/Config\022.projects/{project}/locatio" + + "ns/{location}/config\"O\n\017SkaffoldVersion\022" + + "\017\n\007version\030\001 \001(\t\022+\n\020support_end_date\030\002 \001" + + "(\0132\021.google.type.Date\"K\n\020GetConfigReques" + + "t\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!clouddeploy.goo" + + "gleapis.com/Config2\352\035\n\013CloudDeploy\022\314\001\n\025L" + + "istDeliveryPipelines\0224.google.cloud.depl" + + "oy.v1.ListDeliveryPipelinesRequest\0325.goo" + + "gle.cloud.deploy.v1.ListDeliveryPipeline" + + "sResponse\"F\202\323\344\223\0027\0225/v1/{parent=projects/" + + "*/locations/*}/deliveryPipelines\332A\006paren" + + "t\022\271\001\n\023GetDeliveryPipeline\0222.google.cloud" + + ".deploy.v1.GetDeliveryPipelineRequest\032(." + + "google.cloud.deploy.v1.DeliveryPipeline\"" + + "D\202\323\344\223\0027\0225/v1/{name=projects/*/locations/" + + "*/deliveryPipelines/*}\332A\004name\022\231\002\n\026Create" + + "DeliveryPipeline\0225.google.cloud.deploy.v" + + "1.CreateDeliveryPipelineRequest\032\035.google" + + ".longrunning.Operation\"\250\001\202\323\344\223\002J\"5/v1/{pa" + + "rent=projects/*/locations/*}/deliveryPip" + + "elines:\021delivery_pipeline\332A-parent,deliv" + + "ery_pipeline,delivery_pipeline_id\312A%\n\020De" + + "liveryPipeline\022\021OperationMetadata\022\233\002\n\026Up" + + "dateDeliveryPipeline\0225.google.cloud.depl" + + "oy.v1.UpdateDeliveryPipelineRequest\032\035.go" + + "ogle.longrunning.Operation\"\252\001\202\323\344\223\002\\2G/v1" + + "/{delivery_pipeline.name=projects/*/loca" + + "tions/*/deliveryPipelines/*}:\021delivery_p" + + "ipeline\332A\035delivery_pipeline,update_mask\312" + + "A%\n\020DeliveryPipeline\022\021OperationMetadata\022" + + "\341\001\n\026DeleteDeliveryPipeline\0225.google.clou" + + "d.deploy.v1.DeleteDeliveryPipelineReques" + + "t\032\035.google.longrunning.Operation\"q\202\323\344\223\0027" + + "*5/v1/{name=projects/*/locations/*/deliv" + + "eryPipelines/*}\332A\004name\312A*\n\025google.protob" + + "uf.Empty\022\021OperationMetadata\022\244\001\n\013ListTarg" + + "ets\022*.google.cloud.deploy.v1.ListTargets" + + "Request\032+.google.cloud.deploy.v1.ListTar" + + "getsResponse\"<\202\323\344\223\002-\022+/v1/{parent=projec" + + "ts/*/locations/*}/targets\332A\006parent\022\221\001\n\tG" + + "etTarget\022(.google.cloud.deploy.v1.GetTar" + + "getRequest\032\036.google.cloud.deploy.v1.Targ" + + "et\":\202\323\344\223\002-\022+/v1/{name=projects/*/locatio" + + "ns/*/targets/*}\332A\004name\022\317\001\n\014CreateTarget\022" + + "+.google.cloud.deploy.v1.CreateTargetReq" + + "uest\032\035.google.longrunning.Operation\"s\202\323\344" + + "\223\0025\"+/v1/{parent=projects/*/locations/*}" + + "/targets:\006target\332A\027parent,target,target_" + + "id\312A\033\n\006Target\022\021OperationMetadata\022\321\001\n\014Upd" + + "ateTarget\022+.google.cloud.deploy.v1.Updat" + + "eTargetRequest\032\035.google.longrunning.Oper" + + "ation\"u\202\323\344\223\002<22/v1/{target.name=projects" + + "/*/locations/*/targets/*}:\006target\332A\022targ" + + "et,update_mask\312A\033\n\006Target\022\021OperationMeta" + + "data\022\303\001\n\014DeleteTarget\022+.google.cloud.dep" + + "loy.v1.DeleteTargetRequest\032\035.google.long" + + "running.Operation\"g\202\323\344\223\002-*+/v1/{name=pro" + + "jects/*/locations/*/targets/*}\332A\004name\312A*" + + "\n\025google.protobuf.Empty\022\021OperationMetada" + + "ta\022\274\001\n\014ListReleases\022+.google.cloud.deplo" + + "y.v1.ListReleasesRequest\032,.google.cloud." + + "deploy.v1.ListReleasesResponse\"Q\202\323\344\223\002B\022@" + + "/v1/{parent=projects/*/locations/*/deliv" + + "eryPipelines/*}/releases\332A\006parent\022\251\001\n\nGe" + + "tRelease\022).google.cloud.deploy.v1.GetRel" + + "easeRequest\032\037.google.cloud.deploy.v1.Rel" + + "ease\"O\202\323\344\223\002B\022@/v1/{name=projects/*/locat" + + "ions/*/deliveryPipelines/*/releases/*}\332A" + + "\004name\022\353\001\n\rCreateRelease\022,.google.cloud.d" + + "eploy.v1.CreateReleaseRequest\032\035.google.l" + + "ongrunning.Operation\"\214\001\202\323\344\223\002K\"@/v1/{pare" + + "nt=projects/*/locations/*/deliveryPipeli" + + "nes/*}/releases:\007release\332A\031parent,releas" + + "e,release_id\312A\034\n\007Release\022\021OperationMetad" + + "ata\022\326\001\n\016ApproveRollout\022-.google.cloud.de" + + "ploy.v1.ApproveRolloutRequest\032..google.c" + + "loud.deploy.v1.ApproveRolloutResponse\"e\202" + + "\323\344\223\002X\"S/v1/{name=projects/*/locations/*/" + + "deliveryPipelines/*/releases/*/rollouts/" + + "*}:approve:\001*\332A\004name\022\307\001\n\014ListRollouts\022+." + + "google.cloud.deploy.v1.ListRolloutsReque" + + "st\032,.google.cloud.deploy.v1.ListRollouts" + + "Response\"\\\202\323\344\223\002M\022K/v1/{parent=projects/*" + + "/locations/*/deliveryPipelines/*/release" + + "s/*}/rollouts\332A\006parent\022\264\001\n\nGetRollout\022)." + + "google.cloud.deploy.v1.GetRolloutRequest" + + "\032\037.google.cloud.deploy.v1.Rollout\"Z\202\323\344\223\002" + + "M\022K/v1/{name=projects/*/locations/*/deli" + + "veryPipelines/*/releases/*/rollouts/*}\332A" + + "\004name\022\366\001\n\rCreateRollout\022,.google.cloud.d" + + "eploy.v1.CreateRolloutRequest\032\035.google.l" + + "ongrunning.Operation\"\227\001\202\323\344\223\002V\"K/v1/{pare" + + "nt=projects/*/locations/*/deliveryPipeli" + + "nes/*/releases/*}/rollouts:\007rollout\332A\031pa" + + "rent,rollout,rollout_id\312A\034\n\007Rollout\022\021Ope" + + "rationMetadata\022\216\001\n\tGetConfig\022(.google.cl" + + "oud.deploy.v1.GetConfigRequest\032\036.google." + + "cloud.deploy.v1.Config\"7\202\323\344\223\002*\022(/v1/{nam" + + "e=projects/*/locations/*/config}\332A\004name\032" + + "N\312A\032clouddeploy.googleapis.com\322A.https:/" + + "/www.googleapis.com/auth/cloud-platformB" + + "\200\004\n\032com.google.cloud.deploy.v1B\020CloudDep" + + "loyProtoP\001Zprojects/{projec" + + "t}/locations/{location}/operations/{oper" + + "ation}\352Ai\n$cloudbuild.googleapis.com/Wor" + + "kerPool\022Aprojects/{project}/locations/{l" + + "ocation}/workerPools/{worker_pool}b\006prot" + + "o3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.longrunning.OperationsProto.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", "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", }); + internal_static_google_cloud_deploy_v1_PipelineReadyCondition_descriptor = + getDescriptor().getMessageTypes().get(3); + 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(4); + 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_PipelineCondition_descriptor = + getDescriptor().getMessageTypes().get(5); + 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", }); + internal_static_google_cloud_deploy_v1_ListDeliveryPipelinesRequest_descriptor = + getDescriptor().getMessageTypes().get(6); + 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(7); + 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(8); + 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(9); + 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(10); + 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(11); + 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_Target_descriptor = + getDescriptor().getMessageTypes().get(12); + 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", "Etag", "ExecutionConfigs", "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_ExecutionConfig_descriptor = + getDescriptor().getMessageTypes().get(13); + 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", "ExecutionEnvironment", }); + internal_static_google_cloud_deploy_v1_DefaultPool_descriptor = + getDescriptor().getMessageTypes().get(14); + 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(15); + 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(16); + 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", }); + internal_static_google_cloud_deploy_v1_ListTargetsRequest_descriptor = + getDescriptor().getMessageTypes().get(17); + 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(18); + 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(19); + 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(20); + 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(21); + 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(22); + 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_Release_descriptor = + getDescriptor().getMessageTypes().get(23); + 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", "CreateTime", "RenderStartTime", "RenderEndTime", "SkaffoldConfigUri", "SkaffoldConfigPath", "BuildArtifacts", "DeliveryPipelineSnapshot", "TargetSnapshots", "RenderState", "Etag", "SkaffoldVersion", "TargetArtifacts", "TargetRenders", }); + 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", }); + internal_static_google_cloud_deploy_v1_Release_AnnotationsEntry_descriptor = + internal_static_google_cloud_deploy_v1_Release_descriptor.getNestedTypes().get(1); + 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(2); + 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(3); + 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(4); + 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_BuildArtifact_descriptor = + getDescriptor().getMessageTypes().get(24); + 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(25); + 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", "Uri", }); + internal_static_google_cloud_deploy_v1_ListReleasesRequest_descriptor = + getDescriptor().getMessageTypes().get(26); + 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(27); + 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(28); + 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(29); + 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(30); + 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", }); + 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_ListRolloutsRequest_descriptor = + getDescriptor().getMessageTypes().get(31); + 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(32); + 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(33); + 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(34); + 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", }); + internal_static_google_cloud_deploy_v1_OperationMetadata_descriptor = + getDescriptor().getMessageTypes().get(35); + 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(36); + 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(37); + 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_Config_descriptor = + getDescriptor().getMessageTypes().get(38); + 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(39); + 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", "SupportEndDate", }); + internal_static_google_cloud_deploy_v1_GetConfigRequest_descriptor = + getDescriptor().getMessageTypes().get(40); + 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", }); + 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.FieldMaskProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + com.google.type.DateProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Config.java b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Config.java similarity index 68% rename from proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Config.java rename to owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Config.java index 3bf4426..ff96f6f 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Config.java +++ b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Config.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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(); @@ -45,15 +27,16 @@ private Config() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Config(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Config( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,45 +56,41 @@ private Config( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - supportedVersions_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - supportedVersions_.add( - input.readMessage( - com.google.cloud.deploy.v1.SkaffoldVersion.parser(), extensionRegistry)); - break; + name_ = s; + break; + } + case 18: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + supportedVersions_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + supportedVersions_.add( + input.readMessage(com.google.cloud.deploy.v1.SkaffoldVersion.parser(), extensionRegistry)); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - defaultSkaffoldVersion_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + defaultSkaffoldVersion_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { supportedVersions_ = java.util.Collections.unmodifiableList(supportedVersions_); @@ -120,33 +99,27 @@ private Config( makeExtensionsImmutable(); } } - - 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; private volatile java.lang.Object name_; /** - * - * *
    * Name of the configuration.
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -155,29 +128,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 { @@ -188,76 +161,56 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int SUPPORTED_VERSIONS_FIELD_NUMBER = 2; private java.util.List supportedVersions_; /** - * - * *
    * Output only. All supported versions of Skaffold.
    * 
* - * - * repeated .google.cloud.deploy.v1.SkaffoldVersion supported_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.deploy.v1.SkaffoldVersion supported_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public java.util.List getSupportedVersionsList() { return supportedVersions_; } /** - * - * *
    * Output only. All supported versions of Skaffold.
    * 
* - * - * repeated .google.cloud.deploy.v1.SkaffoldVersion supported_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.deploy.v1.SkaffoldVersion supported_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public java.util.List + public java.util.List getSupportedVersionsOrBuilderList() { return supportedVersions_; } /** - * - * *
    * Output only. All supported versions of Skaffold.
    * 
* - * - * repeated .google.cloud.deploy.v1.SkaffoldVersion supported_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.deploy.v1.SkaffoldVersion supported_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public int getSupportedVersionsCount() { return supportedVersions_.size(); } /** - * - * *
    * Output only. All supported versions of Skaffold.
    * 
* - * - * repeated .google.cloud.deploy.v1.SkaffoldVersion supported_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.deploy.v1.SkaffoldVersion supported_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.deploy.v1.SkaffoldVersion getSupportedVersions(int index) { return supportedVersions_.get(index); } /** - * - * *
    * Output only. All supported versions of Skaffold.
    * 
* - * - * repeated .google.cloud.deploy.v1.SkaffoldVersion supported_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.deploy.v1.SkaffoldVersion supported_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.deploy.v1.SkaffoldVersionOrBuilder getSupportedVersionsOrBuilder( @@ -268,15 +221,12 @@ public com.google.cloud.deploy.v1.SkaffoldVersionOrBuilder getSupportedVersionsO public static final int DEFAULT_SKAFFOLD_VERSION_FIELD_NUMBER = 3; private volatile java.lang.Object defaultSkaffoldVersion_; /** - * - * *
    * Output only. Default Skaffold version that is assigned when a Release is created without
    * specifying a Skaffold version.
    * 
* * string default_skaffold_version = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The defaultSkaffoldVersion. */ @java.lang.Override @@ -285,30 +235,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; } } /** - * - * *
    * Output only. Default Skaffold version that is assigned when a Release is created without
    * specifying a Skaffold version.
    * 
* * string default_skaffold_version = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @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 { @@ -317,7 +267,6 @@ public com.google.protobuf.ByteString getDefaultSkaffoldVersionBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -329,7 +278,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -352,8 +302,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_); @@ -366,16 +316,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -400,126 +353,118 @@ 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() @@ -527,17 +472,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getSupportedVersionsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -555,9 +500,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 @@ -597,39 +542,38 @@ public com.google.cloud.deploy.v1.Config 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.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; @@ -660,10 +604,9 @@ public Builder mergeFrom(com.google.cloud.deploy.v1.Config other) { supportedVersionsBuilder_ = null; supportedVersions_ = other.supportedVersions_; bitField0_ = (bitField0_ & ~0x00000001); - supportedVersionsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getSupportedVersionsFieldBuilder() - : null; + supportedVersionsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getSupportedVersionsFieldBuilder() : null; } else { supportedVersionsBuilder_.addAllMessages(other.supportedVersions_); } @@ -701,25 +644,22 @@ public Builder mergeFrom( } 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; @@ -728,21 +668,20 @@ 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 { @@ -750,93 +689,77 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Name of the configuration.
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } private java.util.List supportedVersions_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureSupportedVersionsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - supportedVersions_ = - new java.util.ArrayList(supportedVersions_); + supportedVersions_ = new java.util.ArrayList(supportedVersions_); bitField0_ |= 0x00000001; - } + } } 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_; /** - * - * *
      * Output only. All supported versions of Skaffold.
      * 
* - * - * repeated .google.cloud.deploy.v1.SkaffoldVersion supported_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.deploy.v1.SkaffoldVersion supported_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public java.util.List getSupportedVersionsList() { if (supportedVersionsBuilder_ == null) { @@ -846,15 +769,11 @@ public java.util.List getSupportedVe } } /** - * - * *
      * Output only. All supported versions of Skaffold.
      * 
* - * - * repeated .google.cloud.deploy.v1.SkaffoldVersion supported_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.deploy.v1.SkaffoldVersion supported_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public int getSupportedVersionsCount() { if (supportedVersionsBuilder_ == null) { @@ -864,15 +783,11 @@ public int getSupportedVersionsCount() { } } /** - * - * *
      * Output only. All supported versions of Skaffold.
      * 
* - * - * repeated .google.cloud.deploy.v1.SkaffoldVersion supported_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.deploy.v1.SkaffoldVersion supported_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.deploy.v1.SkaffoldVersion getSupportedVersions(int index) { if (supportedVersionsBuilder_ == null) { @@ -882,15 +797,11 @@ public com.google.cloud.deploy.v1.SkaffoldVersion getSupportedVersions(int index } } /** - * - * *
      * Output only. All supported versions of Skaffold.
      * 
* - * - * repeated .google.cloud.deploy.v1.SkaffoldVersion supported_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.deploy.v1.SkaffoldVersion supported_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setSupportedVersions( int index, com.google.cloud.deploy.v1.SkaffoldVersion value) { @@ -907,15 +818,11 @@ public Builder setSupportedVersions( return this; } /** - * - * *
      * Output only. All supported versions of Skaffold.
      * 
* - * - * repeated .google.cloud.deploy.v1.SkaffoldVersion supported_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.deploy.v1.SkaffoldVersion supported_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setSupportedVersions( int index, com.google.cloud.deploy.v1.SkaffoldVersion.Builder builderForValue) { @@ -929,15 +836,11 @@ public Builder setSupportedVersions( return this; } /** - * - * *
      * Output only. All supported versions of Skaffold.
      * 
* - * - * repeated .google.cloud.deploy.v1.SkaffoldVersion supported_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.deploy.v1.SkaffoldVersion supported_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addSupportedVersions(com.google.cloud.deploy.v1.SkaffoldVersion value) { if (supportedVersionsBuilder_ == null) { @@ -953,15 +856,11 @@ public Builder addSupportedVersions(com.google.cloud.deploy.v1.SkaffoldVersion v return this; } /** - * - * *
      * Output only. All supported versions of Skaffold.
      * 
* - * - * repeated .google.cloud.deploy.v1.SkaffoldVersion supported_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.deploy.v1.SkaffoldVersion supported_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addSupportedVersions( int index, com.google.cloud.deploy.v1.SkaffoldVersion value) { @@ -978,15 +877,11 @@ public Builder addSupportedVersions( return this; } /** - * - * *
      * Output only. All supported versions of Skaffold.
      * 
* - * - * repeated .google.cloud.deploy.v1.SkaffoldVersion supported_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.deploy.v1.SkaffoldVersion supported_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addSupportedVersions( com.google.cloud.deploy.v1.SkaffoldVersion.Builder builderForValue) { @@ -1000,15 +895,11 @@ public Builder addSupportedVersions( return this; } /** - * - * *
      * Output only. All supported versions of Skaffold.
      * 
* - * - * repeated .google.cloud.deploy.v1.SkaffoldVersion supported_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.deploy.v1.SkaffoldVersion supported_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addSupportedVersions( int index, com.google.cloud.deploy.v1.SkaffoldVersion.Builder builderForValue) { @@ -1022,21 +913,18 @@ public Builder addSupportedVersions( return this; } /** - * - * *
      * Output only. All supported versions of Skaffold.
      * 
* - * - * repeated .google.cloud.deploy.v1.SkaffoldVersion supported_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.deploy.v1.SkaffoldVersion supported_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ 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); @@ -1044,15 +932,11 @@ public Builder addAllSupportedVersions( return this; } /** - * - * *
      * Output only. All supported versions of Skaffold.
      * 
* - * - * repeated .google.cloud.deploy.v1.SkaffoldVersion supported_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.deploy.v1.SkaffoldVersion supported_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearSupportedVersions() { if (supportedVersionsBuilder_ == null) { @@ -1065,15 +949,11 @@ public Builder clearSupportedVersions() { return this; } /** - * - * *
      * Output only. All supported versions of Skaffold.
      * 
* - * - * repeated .google.cloud.deploy.v1.SkaffoldVersion supported_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.deploy.v1.SkaffoldVersion supported_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder removeSupportedVersions(int index) { if (supportedVersionsBuilder_ == null) { @@ -1086,52 +966,39 @@ public Builder removeSupportedVersions(int index) { return this; } /** - * - * *
      * Output only. All supported versions of Skaffold.
      * 
* - * - * repeated .google.cloud.deploy.v1.SkaffoldVersion supported_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.deploy.v1.SkaffoldVersion supported_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.deploy.v1.SkaffoldVersion.Builder getSupportedVersionsBuilder( int index) { return getSupportedVersionsFieldBuilder().getBuilder(index); } /** - * - * *
      * Output only. All supported versions of Skaffold.
      * 
* - * - * repeated .google.cloud.deploy.v1.SkaffoldVersion supported_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.deploy.v1.SkaffoldVersion supported_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ 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); } } /** - * - * *
      * Output only. All supported versions of Skaffold.
      * 
* - * - * repeated .google.cloud.deploy.v1.SkaffoldVersion supported_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.deploy.v1.SkaffoldVersion supported_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public java.util.List - getSupportedVersionsOrBuilderList() { + public java.util.List + getSupportedVersionsOrBuilderList() { if (supportedVersionsBuilder_ != null) { return supportedVersionsBuilder_.getMessageOrBuilderList(); } else { @@ -1139,63 +1006,45 @@ public com.google.cloud.deploy.v1.SkaffoldVersionOrBuilder getSupportedVersionsO } } /** - * - * *
      * Output only. All supported versions of Skaffold.
      * 
* - * - * repeated .google.cloud.deploy.v1.SkaffoldVersion supported_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.deploy.v1.SkaffoldVersion supported_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ 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()); } /** - * - * *
      * Output only. All supported versions of Skaffold.
      * 
* - * - * repeated .google.cloud.deploy.v1.SkaffoldVersion supported_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.deploy.v1.SkaffoldVersion supported_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ 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()); } /** - * - * *
      * Output only. All supported versions of Skaffold.
      * 
* - * - * repeated .google.cloud.deploy.v1.SkaffoldVersion supported_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.deploy.v1.SkaffoldVersion supported_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - 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_ & 0x00000001) != 0), getParentForChildren(), @@ -1207,22 +1056,19 @@ public com.google.cloud.deploy.v1.SkaffoldVersion.Builder addSupportedVersionsBu private java.lang.Object defaultSkaffoldVersion_ = ""; /** - * - * *
      * Output only. Default Skaffold version that is assigned when a Release is created without
      * specifying a Skaffold version.
      * 
* - * string default_skaffold_version = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string default_skaffold_version = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @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; @@ -1231,23 +1077,21 @@ public java.lang.String getDefaultSkaffoldVersion() { } } /** - * - * *
      * Output only. Default Skaffold version that is assigned when a Release is created without
      * specifying a Skaffold version.
      * 
* - * string default_skaffold_version = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string default_skaffold_version = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @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 { @@ -1255,74 +1099,64 @@ public com.google.protobuf.ByteString getDefaultSkaffoldVersionBytes() { } } /** - * - * *
      * Output only. Default Skaffold version that is assigned when a Release is created without
      * specifying a Skaffold version.
      * 
* - * string default_skaffold_version = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string default_skaffold_version = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The defaultSkaffoldVersion to set. * @return This builder for chaining. */ - public Builder setDefaultSkaffoldVersion(java.lang.String value) { + public Builder setDefaultSkaffoldVersion( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + defaultSkaffoldVersion_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Default Skaffold version that is assigned when a Release is created without
      * specifying a Skaffold version.
      * 
* - * string default_skaffold_version = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string default_skaffold_version = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearDefaultSkaffoldVersion() { - + defaultSkaffoldVersion_ = getDefaultInstance().getDefaultSkaffoldVersion(); onChanged(); return this; } /** - * - * *
      * Output only. Default Skaffold version that is assigned when a Release is created without
      * specifying a Skaffold version.
      * 
* - * string default_skaffold_version = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string default_skaffold_version = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The bytes for defaultSkaffoldVersion to set. * @return This builder for chaining. */ - public Builder setDefaultSkaffoldVersionBytes(com.google.protobuf.ByteString value) { + public Builder setDefaultSkaffoldVersionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + defaultSkaffoldVersion_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1332,12 +1166,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(); } @@ -1346,16 +1180,16 @@ 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 { - return new Config(input, extensionRegistry); - } - }; + 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 { + return new Config(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1370,4 +1204,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.Config getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ConfigName.java b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ConfigName.java similarity index 100% rename from proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ConfigName.java rename to owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ConfigName.java diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ConfigOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ConfigOrBuilder.java similarity index 53% rename from proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ConfigOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ConfigOrBuilder.java index 4336902..67ddfe7 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ConfigOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ConfigOrBuilder.java @@ -1,139 +1,95 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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(); /** - * - * *
    * Output only. All supported versions of Skaffold.
    * 
* - * - * repeated .google.cloud.deploy.v1.SkaffoldVersion supported_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.deploy.v1.SkaffoldVersion supported_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - java.util.List getSupportedVersionsList(); + java.util.List + getSupportedVersionsList(); /** - * - * *
    * Output only. All supported versions of Skaffold.
    * 
* - * - * repeated .google.cloud.deploy.v1.SkaffoldVersion supported_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.deploy.v1.SkaffoldVersion supported_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.deploy.v1.SkaffoldVersion getSupportedVersions(int index); /** - * - * *
    * Output only. All supported versions of Skaffold.
    * 
* - * - * repeated .google.cloud.deploy.v1.SkaffoldVersion supported_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.deploy.v1.SkaffoldVersion supported_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ int getSupportedVersionsCount(); /** - * - * *
    * Output only. All supported versions of Skaffold.
    * 
* - * - * repeated .google.cloud.deploy.v1.SkaffoldVersion supported_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.deploy.v1.SkaffoldVersion supported_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - java.util.List + java.util.List getSupportedVersionsOrBuilderList(); /** - * - * *
    * Output only. All supported versions of Skaffold.
    * 
* - * - * repeated .google.cloud.deploy.v1.SkaffoldVersion supported_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.deploy.v1.SkaffoldVersion supported_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - com.google.cloud.deploy.v1.SkaffoldVersionOrBuilder getSupportedVersionsOrBuilder(int index); + com.google.cloud.deploy.v1.SkaffoldVersionOrBuilder getSupportedVersionsOrBuilder( + int index); /** - * - * *
    * Output only. Default Skaffold version that is assigned when a Release is created without
    * specifying a Skaffold version.
    * 
* * string default_skaffold_version = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The defaultSkaffoldVersion. */ java.lang.String getDefaultSkaffoldVersion(); /** - * - * *
    * Output only. Default Skaffold version that is assigned when a Release is created without
    * specifying a Skaffold version.
    * 
* * string default_skaffold_version = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for defaultSkaffoldVersion. */ - com.google.protobuf.ByteString getDefaultSkaffoldVersionBytes(); + com.google.protobuf.ByteString + getDefaultSkaffoldVersionBytes(); } diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateDeliveryPipelineRequest.java b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateDeliveryPipelineRequest.java similarity index 70% rename from proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateDeliveryPipelineRequest.java rename to owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateDeliveryPipelineRequest.java index ab3fd7a..823c983 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateDeliveryPipelineRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateDeliveryPipelineRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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_ = ""; @@ -45,15 +27,16 @@ private CreateDeliveryPipelineRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateDeliveryPipelineRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CreateDeliveryPipelineRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,96 +55,83 @@ private CreateDeliveryPipelineRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - deliveryPipelineId_ = s; - break; + deliveryPipelineId_ = s; + break; + } + case 26: { + com.google.cloud.deploy.v1.DeliveryPipeline.Builder subBuilder = null; + if (deliveryPipeline_ != null) { + subBuilder = deliveryPipeline_.toBuilder(); } - case 26: - { - com.google.cloud.deploy.v1.DeliveryPipeline.Builder subBuilder = null; - if (deliveryPipeline_ != null) { - subBuilder = deliveryPipeline_.toBuilder(); - } - deliveryPipeline_ = - input.readMessage( - com.google.cloud.deploy.v1.DeliveryPipeline.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(deliveryPipeline_); - deliveryPipeline_ = subBuilder.buildPartial(); - } - - break; + deliveryPipeline_ = input.readMessage(com.google.cloud.deploy.v1.DeliveryPipeline.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(deliveryPipeline_); + deliveryPipeline_ = subBuilder.buildPartial(); } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); - requestId_ = s; - break; - } - case 40: - { - validateOnly_ = input.readBool(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + requestId_ = s; + break; + } + case 40: { + + validateOnly_ = input.readBool(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.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; 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 @@ -170,32 +140,30 @@ 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 { @@ -206,14 +174,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int DELIVERY_PIPELINE_ID_FIELD_NUMBER = 2; 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 @@ -222,29 +187,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 { @@ -255,16 +220,11 @@ public com.google.protobuf.ByteString getDeliveryPipelineIdBytes() { 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 @@ -272,34 +232,23 @@ 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() { @@ -309,8 +258,6 @@ public com.google.cloud.deploy.v1.DeliveryPipelineOrBuilder getDeliveryPipelineO public static final int REQUEST_ID_FIELD_NUMBER = 4; 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 will know to ignore
@@ -326,7 +273,6 @@ public com.google.cloud.deploy.v1.DeliveryPipelineOrBuilder getDeliveryPipelineO
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ @java.lang.Override @@ -335,15 +281,14 @@ 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 will know to ignore
@@ -359,15 +304,16 @@ 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 { @@ -378,15 +324,12 @@ public com.google.protobuf.ByteString getRequestIdBytes() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 5; 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 @@ -395,7 +338,6 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -407,7 +349,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -439,13 +382,15 @@ 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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -455,22 +400,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -493,134 +442,125 @@ 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) + unknownFields.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() @@ -628,15 +568,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -658,9 +599,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 @@ -679,8 +620,7 @@ 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); + com.google.cloud.deploy.v1.CreateDeliveryPipelineRequest result = new com.google.cloud.deploy.v1.CreateDeliveryPipelineRequest(this); result.parent_ = parent_; result.deliveryPipelineId_ = deliveryPipelineId_; if (deliveryPipelineBuilder_ == null) { @@ -698,39 +638,38 @@ public com.google.cloud.deploy.v1.CreateDeliveryPipelineRequest 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.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; @@ -738,8 +677,7 @@ 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_; onChanged(); @@ -777,8 +715,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.deploy.v1.CreateDeliveryPipelineRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.deploy.v1.CreateDeliveryPipelineRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -790,23 +727,19 @@ public Builder mergeFrom( 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; @@ -815,24 +748,21 @@ 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 { @@ -840,70 +770,57 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * 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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -911,20 +828,18 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { 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; @@ -933,21 +848,20 @@ 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 { @@ -955,61 +869,54 @@ public com.google.protobuf.ByteString getDeliveryPipelineIdBytes() { } } /** - * - * *
      * 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) { + public Builder setDeliveryPipelineId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + deliveryPipelineId_ = value; 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() { - + deliveryPipelineId_ = getDefaultInstance().getDeliveryPipelineId(); onChanged(); 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) { + public Builder setDeliveryPipelineIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + deliveryPipelineId_ = value; onChanged(); return this; @@ -1017,58 +924,39 @@ public Builder setDeliveryPipelineIdBytes(com.google.protobuf.ByteString value) 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 deliveryPipelineBuilder_ != null || 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. */ 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) { @@ -1084,15 +972,11 @@ 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) { @@ -1106,23 +990,17 @@ 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 (deliveryPipeline_ != null) { deliveryPipeline_ = - com.google.cloud.deploy.v1.DeliveryPipeline.newBuilder(deliveryPipeline_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.deploy.v1.DeliveryPipeline.newBuilder(deliveryPipeline_).mergeFrom(value).buildPartial(); } else { deliveryPipeline_ = value; } @@ -1134,15 +1012,11 @@ 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() { if (deliveryPipelineBuilder_ == null) { @@ -1156,64 +1030,48 @@ 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() { - + onChanged(); 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_; @@ -1221,8 +1079,6 @@ 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 will know to ignore
@@ -1238,13 +1094,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; @@ -1253,8 +1109,6 @@ 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 will know to ignore
@@ -1270,14 +1124,15 @@ 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 { @@ -1285,8 +1140,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1302,22 +1155,20 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * 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) { + public Builder setRequestId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + requestId_ = value; 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 will know to ignore
@@ -1333,18 +1184,15 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearRequestId() { - + requestId_ = getDefaultInstance().getRequestId(); 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 will know to ignore
@@ -1360,32 +1208,29 @@ 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) { + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestId_ = value; onChanged(); 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 @@ -1393,45 +1238,39 @@ 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. */ public Builder setValidateOnly(boolean value) { - + validateOnly_ = value; onChanged(); 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() { - + validateOnly_ = false; 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); } @@ -1441,12 +1280,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(); } @@ -1455,16 +1294,16 @@ 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 { - return new CreateDeliveryPipelineRequest(input, extensionRegistry); - } - }; + 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 { + return new CreateDeliveryPipelineRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1479,4 +1318,6 @@ public com.google.protobuf.Parser getParserForTyp public com.google.cloud.deploy.v1.CreateDeliveryPipelineRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateDeliveryPipelineRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateDeliveryPipelineRequestOrBuilder.java similarity index 71% rename from proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateDeliveryPipelineRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateDeliveryPipelineRequestOrBuilder.java index da2d8c3..4ca0359 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateDeliveryPipelineRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateDeliveryPipelineRequestOrBuilder.java @@ -1,128 +1,82 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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 will know to ignore
@@ -138,13 +92,10 @@ public interface CreateDeliveryPipelineRequestOrBuilder
    * 
* * 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 will know to ignore
@@ -160,21 +111,18 @@ public interface CreateDeliveryPipelineRequestOrBuilder
    * 
* * 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/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateReleaseRequest.java b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateReleaseRequest.java similarity index 73% rename from proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateReleaseRequest.java rename to owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateReleaseRequest.java index 399c778..19d7511 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateReleaseRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateReleaseRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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_ = ""; @@ -45,15 +27,16 @@ private CreateReleaseRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateReleaseRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CreateReleaseRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,96 +55,84 @@ private CreateReleaseRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - releaseId_ = s; - break; + releaseId_ = s; + break; + } + case 26: { + com.google.cloud.deploy.v1.Release.Builder subBuilder = null; + if (release_ != null) { + subBuilder = release_.toBuilder(); } - case 26: - { - com.google.cloud.deploy.v1.Release.Builder subBuilder = null; - if (release_ != null) { - subBuilder = release_.toBuilder(); - } - release_ = - input.readMessage(com.google.cloud.deploy.v1.Release.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(release_); - release_ = subBuilder.buildPartial(); - } - - break; + release_ = input.readMessage(com.google.cloud.deploy.v1.Release.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(release_); + release_ = subBuilder.buildPartial(); } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); - requestId_ = s; - break; - } - case 40: - { - validateOnly_ = input.readBool(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + requestId_ = s; + break; + } + case 40: { + + validateOnly_ = input.readBool(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.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; 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 @@ -170,33 +141,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 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 { @@ -207,14 +176,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int RELEASE_ID_FIELD_NUMBER = 2; 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 @@ -223,29 +189,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 { @@ -256,15 +222,11 @@ public com.google.protobuf.ByteString getReleaseIdBytes() { 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 @@ -272,15 +234,11 @@ 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 @@ -288,14 +246,11 @@ 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() { @@ -305,8 +260,6 @@ public com.google.cloud.deploy.v1.ReleaseOrBuilder getReleaseOrBuilder() { public static final int REQUEST_ID_FIELD_NUMBER = 4; 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 will know to ignore
@@ -322,7 +275,6 @@ public com.google.cloud.deploy.v1.ReleaseOrBuilder getReleaseOrBuilder() {
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ @java.lang.Override @@ -331,15 +283,14 @@ 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 will know to ignore
@@ -355,15 +306,16 @@ 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 { @@ -374,15 +326,12 @@ public com.google.protobuf.ByteString getRequestIdBytes() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 5; 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 @@ -391,7 +340,6 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -403,7 +351,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -435,13 +384,15 @@ 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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -451,22 +402,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -489,133 +444,125 @@ 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) + unknownFields.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() @@ -623,15 +570,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -653,9 +601,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 @@ -674,8 +622,7 @@ 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); + com.google.cloud.deploy.v1.CreateReleaseRequest result = new com.google.cloud.deploy.v1.CreateReleaseRequest(this); result.parent_ = parent_; result.releaseId_ = releaseId_; if (releaseBuilder_ == null) { @@ -693,39 +640,38 @@ public com.google.cloud.deploy.v1.CreateReleaseRequest 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.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; @@ -733,8 +679,7 @@ 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_; onChanged(); @@ -784,24 +729,20 @@ public Builder mergeFrom( 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; @@ -810,25 +751,22 @@ 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 { @@ -836,73 +774,60 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * 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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -910,20 +835,18 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { 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; @@ -932,21 +855,20 @@ 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 { @@ -954,61 +876,54 @@ public com.google.protobuf.ByteString getReleaseIdBytes() { } } /** - * - * *
      * 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) { + public Builder setReleaseId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + releaseId_ = value; 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() { - + releaseId_ = getDefaultInstance().getReleaseId(); onChanged(); 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) { + public Builder setReleaseIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + releaseId_ = value; onChanged(); return this; @@ -1016,55 +931,39 @@ public Builder setReleaseIdBytes(com.google.protobuf.ByteString value) { 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 releaseBuilder_ != null || 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. */ 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) { @@ -1080,16 +979,14 @@ 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(); onChanged(); @@ -1100,22 +997,17 @@ public Builder setRelease(com.google.cloud.deploy.v1.Release.Builder builderForV 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 (release_ != null) { release_ = - com.google.cloud.deploy.v1.Release.newBuilder(release_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.deploy.v1.Release.newBuilder(release_).mergeFrom(value).buildPartial(); } else { release_ = value; } @@ -1127,14 +1019,11 @@ 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() { if (releaseBuilder_ == null) { @@ -1148,61 +1037,48 @@ 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() { - + onChanged(); 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_; @@ -1210,8 +1086,6 @@ 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 will know to ignore
@@ -1227,13 +1101,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; @@ -1242,8 +1116,6 @@ 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 will know to ignore
@@ -1259,14 +1131,15 @@ 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 { @@ -1274,8 +1147,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1291,22 +1162,20 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * 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) { + public Builder setRequestId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + requestId_ = value; 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 will know to ignore
@@ -1322,18 +1191,15 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearRequestId() { - + requestId_ = getDefaultInstance().getRequestId(); 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 will know to ignore
@@ -1349,32 +1215,29 @@ 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) { + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestId_ = value; onChanged(); 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 @@ -1382,45 +1245,39 @@ 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. */ public Builder setValidateOnly(boolean value) { - + validateOnly_ = value; onChanged(); 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() { - + validateOnly_ = false; 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); } @@ -1430,12 +1287,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(); } @@ -1444,16 +1301,16 @@ 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 { - return new CreateReleaseRequest(input, extensionRegistry); - } - }; + 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 { + return new CreateReleaseRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1468,4 +1325,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.CreateReleaseRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateReleaseRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateReleaseRequestOrBuilder.java similarity index 75% rename from proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateReleaseRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateReleaseRequestOrBuilder.java index 48a860a..dc1272e 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateReleaseRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateReleaseRequestOrBuilder.java @@ -1,127 +1,84 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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 will know to ignore
@@ -137,13 +94,10 @@ public interface CreateReleaseRequestOrBuilder
    * 
* * 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 will know to ignore
@@ -159,21 +113,18 @@ public interface CreateReleaseRequestOrBuilder
    * 
* * 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/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateRolloutRequest.java b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateRolloutRequest.java similarity index 73% rename from proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateRolloutRequest.java rename to owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateRolloutRequest.java index 6e6d475..e90e5a7 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateRolloutRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateRolloutRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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_ = ""; @@ -45,15 +27,16 @@ private CreateRolloutRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateRolloutRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CreateRolloutRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,96 +55,84 @@ private CreateRolloutRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - rolloutId_ = s; - break; + rolloutId_ = s; + break; + } + case 26: { + com.google.cloud.deploy.v1.Rollout.Builder subBuilder = null; + if (rollout_ != null) { + subBuilder = rollout_.toBuilder(); } - case 26: - { - com.google.cloud.deploy.v1.Rollout.Builder subBuilder = null; - if (rollout_ != null) { - subBuilder = rollout_.toBuilder(); - } - rollout_ = - input.readMessage(com.google.cloud.deploy.v1.Rollout.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(rollout_); - rollout_ = subBuilder.buildPartial(); - } - - break; + rollout_ = input.readMessage(com.google.cloud.deploy.v1.Rollout.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(rollout_); + rollout_ = subBuilder.buildPartial(); } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); - requestId_ = s; - break; - } - case 40: - { - validateOnly_ = input.readBool(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + requestId_ = s; + break; + } + case 40: { + + validateOnly_ = input.readBool(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.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; 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 @@ -170,33 +141,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 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 { @@ -207,14 +176,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int ROLLOUT_ID_FIELD_NUMBER = 2; 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 @@ -223,29 +189,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 { @@ -256,15 +222,11 @@ public com.google.protobuf.ByteString getRolloutIdBytes() { 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 @@ -272,15 +234,11 @@ 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 @@ -288,14 +246,11 @@ 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() { @@ -305,8 +260,6 @@ public com.google.cloud.deploy.v1.RolloutOrBuilder getRolloutOrBuilder() { public static final int REQUEST_ID_FIELD_NUMBER = 4; 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 will know to ignore
@@ -322,7 +275,6 @@ public com.google.cloud.deploy.v1.RolloutOrBuilder getRolloutOrBuilder() {
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ @java.lang.Override @@ -331,15 +283,14 @@ 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 will know to ignore
@@ -355,15 +306,16 @@ 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 { @@ -374,15 +326,12 @@ public com.google.protobuf.ByteString getRequestIdBytes() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 5; 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 @@ -391,7 +340,6 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -403,7 +351,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -435,13 +384,15 @@ 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_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -451,22 +402,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.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 (!getRollout() + .equals(other.getRollout())) 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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -489,133 +444,125 @@ 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) + unknownFields.hashCode(); memoizedHashCode = hash; 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() @@ -623,15 +570,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -653,9 +601,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 @@ -674,8 +622,7 @@ 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); + com.google.cloud.deploy.v1.CreateRolloutRequest result = new com.google.cloud.deploy.v1.CreateRolloutRequest(this); result.parent_ = parent_; result.rolloutId_ = rolloutId_; if (rolloutBuilder_ == null) { @@ -693,39 +640,38 @@ public com.google.cloud.deploy.v1.CreateRolloutRequest 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.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; @@ -733,8 +679,7 @@ 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_; onChanged(); @@ -784,24 +729,20 @@ public Builder mergeFrom( 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; @@ -810,25 +751,22 @@ 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 { @@ -836,73 +774,60 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * 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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -910,20 +835,18 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { 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; @@ -932,21 +855,20 @@ 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 { @@ -954,61 +876,54 @@ public com.google.protobuf.ByteString getRolloutIdBytes() { } } /** - * - * *
      * 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) { + public Builder setRolloutId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + rolloutId_ = value; 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() { - + rolloutId_ = getDefaultInstance().getRolloutId(); onChanged(); 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) { + public Builder setRolloutIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + rolloutId_ = value; onChanged(); return this; @@ -1016,55 +931,39 @@ public Builder setRolloutIdBytes(com.google.protobuf.ByteString value) { 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 rolloutBuilder_ != null || 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. */ 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) { @@ -1080,16 +979,14 @@ 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(); onChanged(); @@ -1100,22 +997,17 @@ public Builder setRollout(com.google.cloud.deploy.v1.Rollout.Builder builderForV 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 (rollout_ != null) { rollout_ = - com.google.cloud.deploy.v1.Rollout.newBuilder(rollout_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.deploy.v1.Rollout.newBuilder(rollout_).mergeFrom(value).buildPartial(); } else { rollout_ = value; } @@ -1127,14 +1019,11 @@ 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() { if (rolloutBuilder_ == null) { @@ -1148,61 +1037,48 @@ 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() { - + onChanged(); 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_; @@ -1210,8 +1086,6 @@ 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 will know to ignore
@@ -1227,13 +1101,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; @@ -1242,8 +1116,6 @@ 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 will know to ignore
@@ -1259,14 +1131,15 @@ 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 { @@ -1274,8 +1147,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1291,22 +1162,20 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * 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) { + public Builder setRequestId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + requestId_ = value; 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 will know to ignore
@@ -1322,18 +1191,15 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearRequestId() { - + requestId_ = getDefaultInstance().getRequestId(); 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 will know to ignore
@@ -1349,32 +1215,29 @@ 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) { + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestId_ = value; onChanged(); 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 @@ -1382,45 +1245,39 @@ 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. */ public Builder setValidateOnly(boolean value) { - + validateOnly_ = value; onChanged(); 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() { - + validateOnly_ = false; 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); } @@ -1430,12 +1287,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(); } @@ -1444,16 +1301,16 @@ 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 { - return new CreateRolloutRequest(input, extensionRegistry); - } - }; + 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 { + return new CreateRolloutRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1468,4 +1325,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.CreateRolloutRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateRolloutRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateRolloutRequestOrBuilder.java similarity index 75% rename from proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateRolloutRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateRolloutRequestOrBuilder.java index 0e2f4c4..507de8f 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateRolloutRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateRolloutRequestOrBuilder.java @@ -1,127 +1,84 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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 will know to ignore
@@ -137,13 +94,10 @@ public interface CreateRolloutRequestOrBuilder
    * 
* * 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 will know to ignore
@@ -159,21 +113,18 @@ public interface CreateRolloutRequestOrBuilder
    * 
* * 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/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateTargetRequest.java b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateTargetRequest.java similarity index 73% rename from proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateTargetRequest.java rename to owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateTargetRequest.java index 96f415d..1400c56 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateTargetRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateTargetRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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_ = ""; @@ -45,15 +27,16 @@ private CreateTargetRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateTargetRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CreateTargetRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,96 +55,84 @@ private CreateTargetRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - targetId_ = s; - break; + targetId_ = s; + break; + } + case 26: { + com.google.cloud.deploy.v1.Target.Builder subBuilder = null; + if (target_ != null) { + subBuilder = target_.toBuilder(); } - case 26: - { - com.google.cloud.deploy.v1.Target.Builder subBuilder = null; - if (target_ != null) { - subBuilder = target_.toBuilder(); - } - target_ = - input.readMessage(com.google.cloud.deploy.v1.Target.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(target_); - target_ = subBuilder.buildPartial(); - } - - break; + target_ = input.readMessage(com.google.cloud.deploy.v1.Target.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(target_); + target_ = subBuilder.buildPartial(); } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); - requestId_ = s; - break; - } - case 40: - { - validateOnly_ = input.readBool(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + requestId_ = s; + break; + } + case 40: { + + validateOnly_ = input.readBool(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.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; 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 @@ -170,33 +141,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 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 { @@ -207,14 +176,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int TARGET_ID_FIELD_NUMBER = 2; 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 @@ -223,29 +189,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 { @@ -256,15 +222,11 @@ public com.google.protobuf.ByteString getTargetIdBytes() { 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 @@ -272,15 +234,11 @@ 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 @@ -288,14 +246,11 @@ 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() { @@ -305,8 +260,6 @@ public com.google.cloud.deploy.v1.TargetOrBuilder getTargetOrBuilder() { public static final int REQUEST_ID_FIELD_NUMBER = 4; 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 will know to ignore
@@ -322,7 +275,6 @@ public com.google.cloud.deploy.v1.TargetOrBuilder getTargetOrBuilder() {
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ @java.lang.Override @@ -331,15 +283,14 @@ 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 will know to ignore
@@ -355,15 +306,16 @@ 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 { @@ -374,15 +326,12 @@ public com.google.protobuf.ByteString getRequestIdBytes() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 5; 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 @@ -391,7 +340,6 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -403,7 +351,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -435,13 +384,15 @@ 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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -451,22 +402,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -489,133 +444,125 @@ 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) + unknownFields.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() @@ -623,15 +570,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -653,9 +601,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 @@ -674,8 +622,7 @@ 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); + com.google.cloud.deploy.v1.CreateTargetRequest result = new com.google.cloud.deploy.v1.CreateTargetRequest(this); result.parent_ = parent_; result.targetId_ = targetId_; if (targetBuilder_ == null) { @@ -693,39 +640,38 @@ public com.google.cloud.deploy.v1.CreateTargetRequest 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.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; @@ -783,24 +729,20 @@ public Builder mergeFrom( 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; @@ -809,25 +751,22 @@ 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 { @@ -835,73 +774,60 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * 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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -909,20 +835,18 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { 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; @@ -931,21 +855,20 @@ 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 { @@ -953,61 +876,54 @@ public com.google.protobuf.ByteString getTargetIdBytes() { } } /** - * - * *
      * 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) { + public Builder setTargetId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + targetId_ = value; 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() { - + targetId_ = getDefaultInstance().getTargetId(); onChanged(); 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) { + public Builder setTargetIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + targetId_ = value; onChanged(); return this; @@ -1015,35 +931,24 @@ public Builder setTargetIdBytes(com.google.protobuf.ByteString value) { 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 targetBuilder_ != null || 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. */ public com.google.cloud.deploy.v1.Target getTarget() { @@ -1054,14 +959,11 @@ 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) { @@ -1077,16 +979,14 @@ 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(); onChanged(); @@ -1097,20 +997,17 @@ public Builder setTarget(com.google.cloud.deploy.v1.Target.Builder builderForVal 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 (target_ != null) { target_ = - com.google.cloud.deploy.v1.Target.newBuilder(target_).mergeFrom(value).buildPartial(); + com.google.cloud.deploy.v1.Target.newBuilder(target_).mergeFrom(value).buildPartial(); } else { target_ = value; } @@ -1122,14 +1019,11 @@ 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() { if (targetBuilder_ == null) { @@ -1143,59 +1037,48 @@ 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() { - + onChanged(); 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_; @@ -1203,8 +1086,6 @@ 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 will know to ignore
@@ -1220,13 +1101,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; @@ -1235,8 +1116,6 @@ 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 will know to ignore
@@ -1252,14 +1131,15 @@ 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 { @@ -1267,8 +1147,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1284,22 +1162,20 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * 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) { + public Builder setRequestId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + requestId_ = value; 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 will know to ignore
@@ -1315,18 +1191,15 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearRequestId() { - + requestId_ = getDefaultInstance().getRequestId(); 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 will know to ignore
@@ -1342,32 +1215,29 @@ 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) { + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestId_ = value; onChanged(); 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 @@ -1375,45 +1245,39 @@ 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. */ public Builder setValidateOnly(boolean value) { - + validateOnly_ = value; onChanged(); 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() { - + validateOnly_ = false; 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); } @@ -1423,12 +1287,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(); } @@ -1437,16 +1301,16 @@ 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 { - return new CreateTargetRequest(input, extensionRegistry); - } - }; + 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 { + return new CreateTargetRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1461,4 +1325,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.CreateTargetRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateTargetRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateTargetRequestOrBuilder.java similarity index 75% rename from proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateTargetRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateTargetRequestOrBuilder.java index 46bb926..86815ed 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateTargetRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CreateTargetRequestOrBuilder.java @@ -1,127 +1,84 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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 will know to ignore
@@ -137,13 +94,10 @@ public interface CreateTargetRequestOrBuilder
    * 
* * 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 will know to ignore
@@ -159,21 +113,18 @@ public interface CreateTargetRequestOrBuilder
    * 
* * 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/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DefaultPool.java b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DefaultPool.java similarity index 74% rename from proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DefaultPool.java rename to owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DefaultPool.java index 1b09041..6505c59 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DefaultPool.java +++ b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DefaultPool.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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_ = ""; @@ -44,15 +26,16 @@ private DefaultPool() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DefaultPool(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DefaultPool( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,59 +54,53 @@ private DefaultPool( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - serviceAccount_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + serviceAccount_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - artifactStorage_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + artifactStorage_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.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; private volatile java.lang.Object serviceAccount_; /** - * - * *
    * Optional. Google service account to use for execution. If unspecified,
    * the project execution service account
@@ -131,7 +108,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string service_account = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The serviceAccount. */ @java.lang.Override @@ -140,15 +116,14 @@ 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
@@ -156,15 +131,16 @@ 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 { @@ -175,8 +151,6 @@ public com.google.protobuf.ByteString getServiceAccountBytes() { public static final int ARTIFACT_STORAGE_FIELD_NUMBER = 2; 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
@@ -185,7 +159,6 @@ public com.google.protobuf.ByteString getServiceAccountBytes() {
    * 
* * string artifact_storage = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The artifactStorage. */ @java.lang.Override @@ -194,15 +167,14 @@ 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
@@ -211,15 +183,16 @@ 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 { @@ -228,7 +201,6 @@ public com.google.protobuf.ByteString getArtifactStorageBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -240,7 +212,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceAccount_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, serviceAccount_); } @@ -270,15 +243,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -299,127 +274,118 @@ 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() @@ -427,15 +393,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -447,9 +414,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 @@ -468,8 +435,7 @@ 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); + com.google.cloud.deploy.v1.DefaultPool result = new com.google.cloud.deploy.v1.DefaultPool(this); result.serviceAccount_ = serviceAccount_; result.artifactStorage_ = artifactStorage_; onBuilt(); @@ -480,39 +446,38 @@ public com.google.cloud.deploy.v1.DefaultPool 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.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; @@ -560,8 +525,6 @@ public Builder mergeFrom( private java.lang.Object serviceAccount_ = ""; /** - * - * *
      * Optional. Google service account to use for execution. If unspecified,
      * the project execution service account
@@ -569,13 +532,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; @@ -584,8 +547,6 @@ public java.lang.String getServiceAccount() { } } /** - * - * *
      * Optional. Google service account to use for execution. If unspecified,
      * the project execution service account
@@ -593,14 +554,15 @@ 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 { @@ -608,8 +570,6 @@ public com.google.protobuf.ByteString getServiceAccountBytes() { } } /** - * - * *
      * Optional. Google service account to use for execution. If unspecified,
      * the project execution service account
@@ -617,22 +577,20 @@ public com.google.protobuf.ByteString getServiceAccountBytes() {
      * 
* * 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) { + public Builder setServiceAccount( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + serviceAccount_ = value; onChanged(); return this; } /** - * - * *
      * Optional. Google service account to use for execution. If unspecified,
      * the project execution service account
@@ -640,18 +598,15 @@ public Builder setServiceAccount(java.lang.String value) {
      * 
* * string service_account = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearServiceAccount() { - + serviceAccount_ = getDefaultInstance().getServiceAccount(); onChanged(); return this; } /** - * - * *
      * Optional. Google service account to use for execution. If unspecified,
      * the project execution service account
@@ -659,16 +614,16 @@ 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) { + public Builder setServiceAccountBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + serviceAccount_ = value; onChanged(); return this; @@ -676,8 +631,6 @@ public Builder setServiceAccountBytes(com.google.protobuf.ByteString value) { 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
@@ -686,13 +639,13 @@ public Builder setServiceAccountBytes(com.google.protobuf.ByteString value) {
      * 
* * 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; @@ -701,8 +654,6 @@ 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
@@ -711,14 +662,15 @@ 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 { @@ -726,8 +678,6 @@ public com.google.protobuf.ByteString getArtifactStorageBytes() { } } /** - * - * *
      * 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
@@ -736,22 +686,20 @@ public com.google.protobuf.ByteString getArtifactStorageBytes() {
      * 
* * 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) { + public Builder setArtifactStorage( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + artifactStorage_ = value; 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
@@ -760,18 +708,15 @@ public Builder setArtifactStorage(java.lang.String value) {
      * 
* * string artifact_storage = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearArtifactStorage() { - + artifactStorage_ = getDefaultInstance().getArtifactStorage(); 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
@@ -780,23 +725,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) { + public Builder setArtifactStorageBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + artifactStorage_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -806,12 +751,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(); } @@ -820,16 +765,16 @@ 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 { - return new DefaultPool(input, extensionRegistry); - } - }; + 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 { + return new DefaultPool(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -844,4 +789,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.DefaultPool getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DefaultPoolOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DefaultPoolOrBuilder.java similarity index 70% rename from proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DefaultPoolOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DefaultPoolOrBuilder.java index 0842407..83f8b30 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DefaultPoolOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DefaultPoolOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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
@@ -33,13 +15,10 @@ public interface DefaultPoolOrBuilder
    * 
* * 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
@@ -47,14 +26,12 @@ public interface DefaultPoolOrBuilder
    * 
* * 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
@@ -63,13 +40,10 @@ public interface DefaultPoolOrBuilder
    * 
* * 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
@@ -78,8 +52,8 @@ public interface DefaultPoolOrBuilder
    * 
* * 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/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeleteDeliveryPipelineRequest.java b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeleteDeliveryPipelineRequest.java similarity index 75% rename from proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeleteDeliveryPipelineRequest.java rename to owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeleteDeliveryPipelineRequest.java index 4ee2205..ce0bb94 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeleteDeliveryPipelineRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeleteDeliveryPipelineRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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_ = ""; @@ -45,15 +27,16 @@ private DeleteDeliveryPipelineRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteDeliveryPipelineRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DeleteDeliveryPipelineRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,90 +55,80 @@ private DeleteDeliveryPipelineRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - requestId_ = s; - break; - } - case 24: - { - allowMissing_ = input.readBool(); - break; - } - case 32: - { - validateOnly_ = input.readBool(); - break; - } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); + requestId_ = s; + break; + } + case 24: { - etag_ = s; - break; - } - case 48: - { - force_ = input.readBool(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + allowMissing_ = input.readBool(); + break; + } + case 32: { + + validateOnly_ = input.readBool(); + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + + etag_ = s; + break; + } + case 48: { + + force_ = input.readBool(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.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; 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 @@ -164,32 +137,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. 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 { @@ -200,8 +171,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int REQUEST_ID_FIELD_NUMBER = 2; 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 will know to ignore
@@ -217,7 +186,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ @java.lang.Override @@ -226,15 +194,14 @@ 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 will know to ignore
@@ -250,15 +217,16 @@ 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 { @@ -269,15 +237,12 @@ public com.google.protobuf.ByteString getRequestIdBytes() { public static final int ALLOW_MISSING_FIELD_NUMBER = 3; 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 @@ -288,15 +253,12 @@ public boolean getAllowMissing() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 4; 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 @@ -307,8 +269,6 @@ public boolean getValidateOnly() { public static final int FORCE_FIELD_NUMBER = 6; 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
@@ -316,7 +276,6 @@ public boolean getValidateOnly() {
    * 
* * bool force = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The force. */ @java.lang.Override @@ -327,8 +286,6 @@ public boolean getForce() { public static final int ETAG_FIELD_NUMBER = 5; 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
@@ -336,7 +293,6 @@ public boolean getForce() {
    * 
* * string etag = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The etag. */ @java.lang.Override @@ -345,15 +301,14 @@ 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
@@ -361,15 +316,16 @@ 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 { @@ -378,7 +334,6 @@ public com.google.protobuf.ByteString getEtagBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -390,7 +345,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -425,16 +381,19 @@ 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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -444,20 +403,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -474,11 +438,14 @@ 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) + unknownFields.hashCode(); @@ -487,127 +454,117 @@ 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() @@ -615,15 +572,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -643,9 +601,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 @@ -664,8 +622,7 @@ 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); + com.google.cloud.deploy.v1.DeleteDeliveryPipelineRequest result = new com.google.cloud.deploy.v1.DeleteDeliveryPipelineRequest(this); result.name_ = name_; result.requestId_ = requestId_; result.allowMissing_ = allowMissing_; @@ -680,39 +637,38 @@ public com.google.cloud.deploy.v1.DeleteDeliveryPipelineRequest 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.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; @@ -720,8 +676,7 @@ 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_; onChanged(); @@ -762,8 +717,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.deploy.v1.DeleteDeliveryPipelineRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.deploy.v1.DeleteDeliveryPipelineRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -775,23 +729,19 @@ public Builder mergeFrom( 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; @@ -800,24 +750,21 @@ 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 { @@ -825,70 +772,57 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the `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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -896,8 +830,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { 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 will know to ignore
@@ -913,13 +845,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * 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; @@ -928,8 +860,6 @@ 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 will know to ignore
@@ -945,14 +875,15 @@ 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 { @@ -960,8 +891,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -977,22 +906,20 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * 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) { + public Builder setRequestId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + requestId_ = value; 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 will know to ignore
@@ -1008,18 +935,15 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearRequestId() { - + requestId_ = getDefaultInstance().getRequestId(); 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 will know to ignore
@@ -1035,32 +959,29 @@ 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) { + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestId_ = value; onChanged(); 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 @@ -1068,54 +989,45 @@ 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. */ public Builder setAllowMissing(boolean value) { - + allowMissing_ = value; onChanged(); 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() { - + allowMissing_ = false; onChanged(); 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 @@ -1123,47 +1035,39 @@ 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. */ public Builder setValidateOnly(boolean value) { - + validateOnly_ = value; onChanged(); 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() { - + validateOnly_ = false; onChanged(); 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
@@ -1171,7 +1075,6 @@ public Builder clearValidateOnly() {
      * 
* * bool force = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The force. */ @java.lang.Override @@ -1179,8 +1082,6 @@ 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
@@ -1188,19 +1089,16 @@ public boolean getForce() {
      * 
* * bool force = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The force to set. * @return This builder for chaining. */ public Builder setForce(boolean value) { - + force_ = value; onChanged(); 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
@@ -1208,11 +1106,10 @@ public Builder setForce(boolean value) {
      * 
* * bool force = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearForce() { - + force_ = false; onChanged(); return this; @@ -1220,8 +1117,6 @@ 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
@@ -1229,13 +1124,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; @@ -1244,8 +1139,6 @@ 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
@@ -1253,14 +1146,15 @@ 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 { @@ -1268,8 +1162,6 @@ public com.google.protobuf.ByteString getEtagBytes() { } } /** - * - * *
      * 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
@@ -1277,22 +1169,20 @@ public com.google.protobuf.ByteString getEtagBytes() {
      * 
* * 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) { + public Builder setEtag( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + etag_ = value; 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
@@ -1300,18 +1190,15 @@ public Builder setEtag(java.lang.String value) {
      * 
* * string etag = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearEtag() { - + etag_ = getDefaultInstance().getEtag(); 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
@@ -1319,23 +1206,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) { + public Builder setEtagBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + etag_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1345,12 +1232,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(); } @@ -1359,16 +1246,16 @@ 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 { - return new DeleteDeliveryPipelineRequest(input, extensionRegistry); - } - }; + 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 { + return new DeleteDeliveryPipelineRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1383,4 +1270,6 @@ public com.google.protobuf.Parser getParserForTyp public com.google.cloud.deploy.v1.DeleteDeliveryPipelineRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeleteDeliveryPipelineRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeleteDeliveryPipelineRequestOrBuilder.java similarity index 78% rename from proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeleteDeliveryPipelineRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeleteDeliveryPipelineRequestOrBuilder.java index 5333dbd..25e6254 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeleteDeliveryPipelineRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeleteDeliveryPipelineRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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 will know to ignore
@@ -72,13 +45,10 @@ public interface DeleteDeliveryPipelineRequestOrBuilder
    * 
* * 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 will know to ignore
@@ -94,42 +64,34 @@ public interface DeleteDeliveryPipelineRequestOrBuilder
    * 
* * 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
@@ -137,14 +99,11 @@ public interface DeleteDeliveryPipelineRequestOrBuilder
    * 
* * 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
@@ -152,13 +111,10 @@ public interface DeleteDeliveryPipelineRequestOrBuilder
    * 
* * 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
@@ -166,8 +122,8 @@ public interface DeleteDeliveryPipelineRequestOrBuilder
    * 
* * 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/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeleteTargetRequest.java b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeleteTargetRequest.java similarity index 75% rename from proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeleteTargetRequest.java rename to owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeleteTargetRequest.java index 574b075..dc5bb1f 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeleteTargetRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeleteTargetRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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_ = ""; @@ -45,15 +27,16 @@ private DeleteTargetRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteTargetRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DeleteTargetRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,85 +55,75 @@ private DeleteTargetRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - requestId_ = s; - break; - } - case 24: - { - allowMissing_ = input.readBool(); - break; - } - case 32: - { - validateOnly_ = input.readBool(); - break; - } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); + requestId_ = s; + break; + } + case 24: { - etag_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + allowMissing_ = input.readBool(); + break; + } + case 32: { + + validateOnly_ = input.readBool(); + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + + etag_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.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; 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 @@ -159,32 +132,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. 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 { @@ -195,8 +166,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int REQUEST_ID_FIELD_NUMBER = 2; 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 will know to ignore
@@ -212,7 +181,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ @java.lang.Override @@ -221,15 +189,14 @@ 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 will know to ignore
@@ -245,15 +212,16 @@ 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 { @@ -264,15 +232,12 @@ public com.google.protobuf.ByteString getRequestIdBytes() { public static final int ALLOW_MISSING_FIELD_NUMBER = 3; 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 @@ -283,15 +248,12 @@ public boolean getAllowMissing() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 4; 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 @@ -302,8 +264,6 @@ public boolean getValidateOnly() { public static final int ETAG_FIELD_NUMBER = 5; 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
@@ -311,7 +271,6 @@ public boolean getValidateOnly() {
    * 
* * string etag = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The etag. */ @java.lang.Override @@ -320,15 +279,14 @@ 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
@@ -336,15 +294,16 @@ 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 { @@ -353,7 +312,6 @@ public com.google.protobuf.ByteString getEtagBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -365,7 +323,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -397,10 +356,12 @@ 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_); @@ -413,19 +374,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -442,9 +407,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) + ETAG_FIELD_NUMBER; hash = (53 * hash) + getEtag().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); @@ -452,127 +419,118 @@ 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() @@ -580,15 +538,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -606,9 +565,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 @@ -627,8 +586,7 @@ 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); + com.google.cloud.deploy.v1.DeleteTargetRequest result = new com.google.cloud.deploy.v1.DeleteTargetRequest(this); result.name_ = name_; result.requestId_ = requestId_; result.allowMissing_ = allowMissing_; @@ -642,39 +600,38 @@ public com.google.cloud.deploy.v1.DeleteTargetRequest 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.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; @@ -732,23 +689,19 @@ public Builder mergeFrom( 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; @@ -757,24 +710,21 @@ 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 { @@ -782,70 +732,57 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the `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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -853,8 +790,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { 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 will know to ignore
@@ -870,13 +805,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * 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; @@ -885,8 +820,6 @@ 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 will know to ignore
@@ -902,14 +835,15 @@ 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 { @@ -917,8 +851,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -934,22 +866,20 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * 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) { + public Builder setRequestId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + requestId_ = value; 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 will know to ignore
@@ -965,18 +895,15 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearRequestId() { - + requestId_ = getDefaultInstance().getRequestId(); 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 will know to ignore
@@ -992,32 +919,29 @@ 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) { + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestId_ = value; onChanged(); 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 @@ -1025,54 +949,45 @@ 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. */ public Builder setAllowMissing(boolean value) { - + allowMissing_ = value; onChanged(); 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() { - + allowMissing_ = false; onChanged(); 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 @@ -1080,38 +995,32 @@ 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. */ public Builder setValidateOnly(boolean value) { - + validateOnly_ = value; onChanged(); 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() { - + validateOnly_ = false; onChanged(); return this; @@ -1119,8 +1028,6 @@ 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
@@ -1128,13 +1035,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; @@ -1143,8 +1050,6 @@ 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
@@ -1152,14 +1057,15 @@ 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 { @@ -1167,8 +1073,6 @@ public com.google.protobuf.ByteString getEtagBytes() { } } /** - * - * *
      * 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
@@ -1176,22 +1080,20 @@ public com.google.protobuf.ByteString getEtagBytes() {
      * 
* * 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) { + public Builder setEtag( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + etag_ = value; 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
@@ -1199,18 +1101,15 @@ public Builder setEtag(java.lang.String value) {
      * 
* * string etag = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearEtag() { - + etag_ = getDefaultInstance().getEtag(); 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
@@ -1218,23 +1117,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) { + public Builder setEtagBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + etag_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1244,12 +1143,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(); } @@ -1258,16 +1157,16 @@ 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 { - return new DeleteTargetRequest(input, extensionRegistry); - } - }; + 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 { + return new DeleteTargetRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1282,4 +1181,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.DeleteTargetRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeleteTargetRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeleteTargetRequestOrBuilder.java similarity index 77% rename from proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeleteTargetRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeleteTargetRequestOrBuilder.java index 971b3a6..ac9f7ab 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeleteTargetRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeleteTargetRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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 will know to ignore
@@ -72,13 +45,10 @@ public interface DeleteTargetRequestOrBuilder
    * 
* * 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 will know to ignore
@@ -94,42 +64,34 @@ public interface DeleteTargetRequestOrBuilder
    * 
* * 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. 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
@@ -137,13 +99,10 @@ public interface DeleteTargetRequestOrBuilder
    * 
* * 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
@@ -151,8 +110,8 @@ public interface DeleteTargetRequestOrBuilder
    * 
* * 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/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeliveryPipeline.java b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeliveryPipeline.java similarity index 67% rename from proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeliveryPipeline.java rename to owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeliveryPipeline.java index e547eef..7d2bde5 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeliveryPipeline.java +++ b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeliveryPipeline.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** - * - * *
  * A `DeliveryPipeline` resource in the Google Cloud Deploy API.
  * A `DeliveryPipeline` defines a pipeline through which a Skaffold
@@ -29,16 +12,15 @@
  *
  * 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_ = "";
@@ -48,15 +30,16 @@ private DeliveryPipeline() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new DeliveryPipeline();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private DeliveryPipeline(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -76,182 +59,163 @@ private DeliveryPipeline(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
-            }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            name_ = s;
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              uid_ = s;
-              break;
-            }
-          case 26:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            uid_ = s;
+            break;
+          }
+          case 26: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              description_ = s;
-              break;
+            description_ = s;
+            break;
+          }
+          case 34: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              annotations_ = com.google.protobuf.MapField.newMapField(
+                  AnnotationsDefaultEntryHolder.defaultEntry);
+              mutable_bitField0_ |= 0x00000001;
             }
-          case 34:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                annotations_ =
-                    com.google.protobuf.MapField.newMapField(
-                        AnnotationsDefaultEntryHolder.defaultEntry);
-                mutable_bitField0_ |= 0x00000001;
-              }
-              com.google.protobuf.MapEntry annotations__ =
-                  input.readMessage(
-                      AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(),
-                      extensionRegistry);
-              annotations_.getMutableMap().put(annotations__.getKey(), annotations__.getValue());
-              break;
+            com.google.protobuf.MapEntry
+            annotations__ = input.readMessage(
+                AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+            annotations_.getMutableMap().put(
+                annotations__.getKey(), annotations__.getValue());
+            break;
+          }
+          case 42: {
+            if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+              labels_ = com.google.protobuf.MapField.newMapField(
+                  LabelsDefaultEntryHolder.defaultEntry);
+              mutable_bitField0_ |= 0x00000002;
             }
-          case 42:
-            {
-              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-                labels_ =
-                    com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry);
-                mutable_bitField0_ |= 0x00000002;
-              }
-              com.google.protobuf.MapEntry labels__ =
-                  input.readMessage(
-                      LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              labels_.getMutableMap().put(labels__.getKey(), labels__.getValue());
-              break;
+            com.google.protobuf.MapEntry
+            labels__ = input.readMessage(
+                LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+            labels_.getMutableMap().put(
+                labels__.getKey(), labels__.getValue());
+            break;
+          }
+          case 50: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (createTime_ != null) {
+              subBuilder = createTime_.toBuilder();
             }
-          case 50:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (createTime_ != null) {
-                subBuilder = createTime_.toBuilder();
-              }
-              createTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(createTime_);
-                createTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+            createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(createTime_);
+              createTime_ = subBuilder.buildPartial();
             }
-          case 58:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (updateTime_ != null) {
-                subBuilder = updateTime_.toBuilder();
-              }
-              updateTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(updateTime_);
-                updateTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+
+            break;
+          }
+          case 58: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (updateTime_ != null) {
+              subBuilder = updateTime_.toBuilder();
             }
-          case 66:
-            {
-              com.google.cloud.deploy.v1.SerialPipeline.Builder subBuilder = null;
-              if (pipelineCase_ == 8) {
-                subBuilder = ((com.google.cloud.deploy.v1.SerialPipeline) pipeline_).toBuilder();
-              }
-              pipeline_ =
-                  input.readMessage(
-                      com.google.cloud.deploy.v1.SerialPipeline.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom((com.google.cloud.deploy.v1.SerialPipeline) pipeline_);
-                pipeline_ = subBuilder.buildPartial();
-              }
-              pipelineCase_ = 8;
-              break;
+            updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(updateTime_);
+              updateTime_ = subBuilder.buildPartial();
             }
-          case 82:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
 
-              etag_ = s;
-              break;
+            break;
+          }
+          case 66: {
+            com.google.cloud.deploy.v1.SerialPipeline.Builder subBuilder = null;
+            if (pipelineCase_ == 8) {
+              subBuilder = ((com.google.cloud.deploy.v1.SerialPipeline) pipeline_).toBuilder();
             }
-          case 90:
-            {
-              com.google.cloud.deploy.v1.PipelineCondition.Builder subBuilder = null;
-              if (condition_ != null) {
-                subBuilder = condition_.toBuilder();
-              }
-              condition_ =
-                  input.readMessage(
-                      com.google.cloud.deploy.v1.PipelineCondition.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(condition_);
-                condition_ = subBuilder.buildPartial();
-              }
-
-              break;
+            pipeline_ =
+                input.readMessage(com.google.cloud.deploy.v1.SerialPipeline.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.cloud.deploy.v1.SerialPipeline) pipeline_);
+              pipeline_ = subBuilder.buildPartial();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            pipelineCase_ = 8;
+            break;
+          }
+          case 82: {
+            java.lang.String s = input.readStringRequireUtf8();
+
+            etag_ = s;
+            break;
+          }
+          case 90: {
+            com.google.cloud.deploy.v1.PipelineCondition.Builder subBuilder = null;
+            if (condition_ != null) {
+              subBuilder = condition_.toBuilder();
+            }
+            condition_ = input.readMessage(com.google.cloud.deploy.v1.PipelineCondition.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(condition_);
+              condition_ = subBuilder.buildPartial();
             }
+
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
+            }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.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;
   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;
     }
@@ -267,36 +231,31 @@ 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;
   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 @@ -305,30 +264,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 { @@ -339,14 +298,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int UID_FIELD_NUMBER = 2; 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 @@ -355,29 +311,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 { @@ -388,14 +344,11 @@ public com.google.protobuf.ByteString getUidBytes() { public static final int DESCRIPTION_FIELD_NUMBER = 3; private volatile java.lang.Object description_; /** - * - * *
    * Description of the `DeliveryPipeline`. Max length is 255 characters.
    * 
* * string description = 3; - * * @return The description. */ @java.lang.Override @@ -404,29 +357,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 { @@ -435,24 +388,24 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } public static final int ANNOTATIONS_FIELD_NUMBER = 4; - private static final class AnnotationsDefaultEntryHolder { - 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, - ""); - } - - private com.google.protobuf.MapField annotations_; - + 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, + ""); + } + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> 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_; } @@ -461,8 +414,6 @@ public int getAnnotationsCount() { return internalGetAnnotations().getMap().size(); } /** - * - * *
    * User annotations. These attributes can only be set and used by the
    * user, and not by Google Cloud Deploy. See
@@ -472,22 +423,22 @@ public int getAnnotationsCount() {
    *
    * map<string, string> annotations = 4;
    */
+
   @java.lang.Override
-  public boolean containsAnnotations(java.lang.String key) {
-    if (key == null) {
-      throw new java.lang.NullPointerException();
-    }
+  public boolean containsAnnotations(
+      java.lang.String key) {
+    if (key == null) { throw new java.lang.NullPointerException(); }
     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 Google Cloud Deploy. See
@@ -498,12 +449,11 @@ public java.util.Map getAnnotations() {
    * map<string, string> annotations = 4;
    */
   @java.lang.Override
+
   public java.util.Map getAnnotationsMap() {
     return internalGetAnnotations().getMap();
   }
   /**
-   *
-   *
    * 
    * User annotations. These attributes can only be set and used by the
    * user, and not by Google Cloud Deploy. See
@@ -514,17 +464,16 @@ public java.util.Map getAnnotationsMap() {
    * map<string, string> annotations = 4;
    */
   @java.lang.Override
+
   public java.lang.String getAnnotationsOrDefault(
-      java.lang.String key, java.lang.String defaultValue) {
-    if (key == null) {
-      throw new java.lang.NullPointerException();
-    }
-    java.util.Map map = internalGetAnnotations().getMap();
+      java.lang.String key,
+      java.lang.String defaultValue) {
+    if (key == null) { throw new java.lang.NullPointerException(); }
+    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 Google Cloud Deploy. See
@@ -535,11 +484,12 @@ public 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 java.lang.NullPointerException();
-    }
-    java.util.Map map = internalGetAnnotations().getMap();
+
+  public java.lang.String getAnnotationsOrThrow(
+      java.lang.String key) {
+    if (key == null) { throw new java.lang.NullPointerException(); }
+    java.util.Map map =
+        internalGetAnnotations().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -547,23 +497,24 @@ public java.lang.String getAnnotationsOrThrow(java.lang.String key) {
   }
 
   public static final int LABELS_FIELD_NUMBER = 5;
-
   private static final class LabelsDefaultEntryHolder {
-    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,
-            "");
-  }
-
-  private com.google.protobuf.MapField labels_;
-
-  private com.google.protobuf.MapField internalGetLabels() {
+    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,
+                "");
+  }
+  private com.google.protobuf.MapField<
+      java.lang.String, java.lang.String> 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_;
   }
@@ -572,8 +523,6 @@ public int getLabelsCount() {
     return internalGetLabels().getMap().size();
   }
   /**
-   *
-   *
    * 
    * Labels are attributes that can be set and used by both the
    * user and by Google Cloud Deploy. Labels must meet the following
@@ -585,22 +534,22 @@ public int getLabelsCount() {
    *
    * map<string, string> labels = 5;
    */
+
   @java.lang.Override
-  public boolean containsLabels(java.lang.String key) {
-    if (key == null) {
-      throw new java.lang.NullPointerException();
-    }
+  public boolean containsLabels(
+      java.lang.String key) {
+    if (key == null) { throw new java.lang.NullPointerException(); }
     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 Google Cloud Deploy. Labels must meet the following
@@ -613,12 +562,11 @@ public java.util.Map getLabels() {
    * map<string, string> labels = 5;
    */
   @java.lang.Override
+
   public java.util.Map getLabelsMap() {
     return internalGetLabels().getMap();
   }
   /**
-   *
-   *
    * 
    * Labels are attributes that can be set and used by both the
    * user and by Google Cloud Deploy. Labels must meet the following
@@ -631,16 +579,16 @@ public java.util.Map getLabelsMap() {
    * map<string, string> labels = 5;
    */
   @java.lang.Override
-  public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) {
-    if (key == null) {
-      throw new java.lang.NullPointerException();
-    }
-    java.util.Map map = internalGetLabels().getMap();
+
+  public java.lang.String getLabelsOrDefault(
+      java.lang.String key,
+      java.lang.String defaultValue) {
+    if (key == null) { throw new java.lang.NullPointerException(); }
+    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 Google Cloud Deploy. Labels must meet the following
@@ -653,11 +601,12 @@ public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.Strin
    * map<string, string> labels = 5;
    */
   @java.lang.Override
-  public java.lang.String getLabelsOrThrow(java.lang.String key) {
-    if (key == null) {
-      throw new java.lang.NullPointerException();
-    }
-    java.util.Map map = internalGetLabels().getMap();
+
+  public java.lang.String getLabelsOrThrow(
+      java.lang.String key) {
+    if (key == null) { throw new java.lang.NullPointerException(); }
+    java.util.Map map =
+        internalGetLabels().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -667,15 +616,11 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
   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 @@ -683,15 +628,11 @@ 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 @@ -699,14 +640,11 @@ 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() { @@ -716,15 +654,11 @@ 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 @@ -732,15 +666,11 @@ 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 @@ -748,14 +678,11 @@ 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() { @@ -764,15 +691,12 @@ 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 @@ -780,27 +704,22 @@ 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`.
@@ -811,7 +730,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();
   }
@@ -819,16 +738,11 @@ 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 @@ -836,34 +750,23 @@ 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() { @@ -873,8 +776,6 @@ public com.google.cloud.deploy.v1.PipelineConditionOrBuilder getConditionOrBuild public static final int ETAG_FIELD_NUMBER = 10; 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
@@ -882,7 +783,6 @@ public com.google.cloud.deploy.v1.PipelineConditionOrBuilder getConditionOrBuild
    * 
* * string etag = 10; - * * @return The etag. */ @java.lang.Override @@ -891,15 +791,14 @@ 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
@@ -907,15 +806,16 @@ 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 { @@ -924,7 +824,6 @@ public com.google.protobuf.ByteString getEtagBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -936,7 +835,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -946,10 +846,18 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io 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()); } @@ -983,42 +891,44 @@ 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()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1028,36 +938,45 @@ 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 (!getEtag() + .equals(other.getEtag())) 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: @@ -1114,104 +1033,97 @@ 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 Google Cloud Deploy API.
    * A `DeliveryPipeline` defines a pipeline through which a Skaffold
@@ -1220,47 +1132,47 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * 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()
@@ -1268,15 +1180,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1314,9 +1227,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
@@ -1335,8 +1248,7 @@ 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);
+      com.google.cloud.deploy.v1.DeliveryPipeline result = new com.google.cloud.deploy.v1.DeliveryPipeline(this);
       int from_bitField0_ = bitField0_;
       result.name_ = name_;
       result.uid_ = uid_;
@@ -1377,39 +1289,38 @@ public com.google.cloud.deploy.v1.DeliveryPipeline 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.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;
@@ -1430,8 +1341,10 @@ public Builder mergeFrom(com.google.cloud.deploy.v1.DeliveryPipeline other) {
         description_ = other.description_;
         onChanged();
       }
-      internalGetMutableAnnotations().mergeFrom(other.internalGetAnnotations());
-      internalGetMutableLabels().mergeFrom(other.internalGetLabels());
+      internalGetMutableAnnotations().mergeFrom(
+          other.internalGetAnnotations());
+      internalGetMutableLabels().mergeFrom(
+          other.internalGetLabels());
       if (other.hasCreateTime()) {
         mergeCreateTime(other.getCreateTime());
       }
@@ -1446,15 +1359,13 @@ public Builder mergeFrom(com.google.cloud.deploy.v1.DeliveryPipeline other) {
         onChanged();
       }
       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.unknownFields);
       onChanged();
@@ -1484,12 +1395,12 @@ public Builder mergeFrom(
       }
       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() {
@@ -1503,21 +1414,19 @@ 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; @@ -1526,22 +1435,21 @@ 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 { @@ -1549,64 +1457,57 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1614,20 +1515,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { 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; @@ -1636,21 +1535,20 @@ 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 { @@ -1658,61 +1556,54 @@ public com.google.protobuf.ByteString getUidBytes() { } } /** - * - * *
      * 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) { + public Builder setUid( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + uid_ = value; 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() { - + uid_ = getDefaultInstance().getUid(); onChanged(); 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) { + public Builder setUidBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + uid_ = value; onChanged(); return this; @@ -1720,20 +1611,18 @@ public Builder setUidBytes(com.google.protobuf.ByteString value) { 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; @@ -1742,21 +1631,20 @@ 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 { @@ -1764,84 +1652,75 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * 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) { + public Builder setDescription( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** - * - * *
      * Description of the `DeliveryPipeline`. Max length is 255 characters.
      * 
* * string description = 3; - * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); 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) { + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; } - private com.google.protobuf.MapField annotations_; - + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> annotations_; private com.google.protobuf.MapField - internalGetAnnotations() { + internalGetAnnotations() { if (annotations_ == null) { return com.google.protobuf.MapField.emptyMapField( AnnotationsDefaultEntryHolder.defaultEntry); } return annotations_; } - private com.google.protobuf.MapField - internalGetMutableAnnotations() { - onChanged(); - ; + internalGetMutableAnnotations() { + onChanged();; 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(); @@ -1853,8 +1732,6 @@ public int getAnnotationsCount() { return internalGetAnnotations().getMap().size(); } /** - * - * *
      * User annotations. These attributes can only be set and used by the
      * user, and not by Google Cloud Deploy. See
@@ -1864,22 +1741,22 @@ public int getAnnotationsCount() {
      *
      * map<string, string> annotations = 4;
      */
+
     @java.lang.Override
-    public boolean containsAnnotations(java.lang.String key) {
-      if (key == null) {
-        throw new java.lang.NullPointerException();
-      }
+    public boolean containsAnnotations(
+        java.lang.String key) {
+      if (key == null) { throw new java.lang.NullPointerException(); }
       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 Google Cloud Deploy. See
@@ -1890,12 +1767,11 @@ public java.util.Map getAnnotations() {
      * map<string, string> annotations = 4;
      */
     @java.lang.Override
+
     public java.util.Map getAnnotationsMap() {
       return internalGetAnnotations().getMap();
     }
     /**
-     *
-     *
      * 
      * User annotations. These attributes can only be set and used by the
      * user, and not by Google Cloud Deploy. See
@@ -1906,17 +1782,16 @@ public java.util.Map getAnnotationsMap() {
      * map<string, string> annotations = 4;
      */
     @java.lang.Override
+
     public java.lang.String getAnnotationsOrDefault(
-        java.lang.String key, java.lang.String defaultValue) {
-      if (key == null) {
-        throw new java.lang.NullPointerException();
-      }
-      java.util.Map map = internalGetAnnotations().getMap();
+        java.lang.String key,
+        java.lang.String defaultValue) {
+      if (key == null) { throw new java.lang.NullPointerException(); }
+      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 Google Cloud Deploy. See
@@ -1927,11 +1802,12 @@ public 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 java.lang.NullPointerException();
-      }
-      java.util.Map map = internalGetAnnotations().getMap();
+
+    public java.lang.String getAnnotationsOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new java.lang.NullPointerException(); }
+      java.util.Map map =
+          internalGetAnnotations().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -1939,12 +1815,11 @@ public java.lang.String getAnnotationsOrThrow(java.lang.String key) {
     }
 
     public Builder clearAnnotations() {
-      internalGetMutableAnnotations().getMutableMap().clear();
+      internalGetMutableAnnotations().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * User annotations. These attributes can only be set and used by the
      * user, and not by Google Cloud Deploy. See
@@ -1954,21 +1829,23 @@ public Builder clearAnnotations() {
      *
      * map<string, string> annotations = 4;
      */
-    public Builder removeAnnotations(java.lang.String key) {
-      if (key == null) {
-        throw new java.lang.NullPointerException();
-      }
-      internalGetMutableAnnotations().getMutableMap().remove(key);
+
+    public Builder removeAnnotations(
+        java.lang.String key) {
+      if (key == null) { throw new java.lang.NullPointerException(); }
+      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() {
       return internalGetMutableAnnotations().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * User annotations. These attributes can only be set and used by the
      * user, and not by Google Cloud Deploy. See
@@ -1978,19 +1855,16 @@ public java.util.Map getMutableAnnotations()
      *
      * map<string, string> annotations = 4;
      */
-    public Builder putAnnotations(java.lang.String key, java.lang.String value) {
-      if (key == null) {
-        throw new java.lang.NullPointerException();
-      }
-      if (value == null) {
-        throw new java.lang.NullPointerException();
-      }
-      internalGetMutableAnnotations().getMutableMap().put(key, value);
+    public Builder putAnnotations(
+        java.lang.String key,
+        java.lang.String value) {
+      if (key == null) { throw new java.lang.NullPointerException(); }
+      if (value == null) { throw new java.lang.NullPointerException(); }
+      internalGetMutableAnnotations().getMutableMap()
+          .put(key, value);
       return this;
     }
     /**
-     *
-     *
      * 
      * User annotations. These attributes can only be set and used by the
      * user, and not by Google Cloud Deploy. See
@@ -2000,26 +1874,30 @@ public Builder putAnnotations(java.lang.String key, java.lang.String value) {
      *
      * 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);
       return this;
     }
 
-    private com.google.protobuf.MapField labels_;
-
-    private com.google.protobuf.MapField internalGetLabels() {
+    private com.google.protobuf.MapField<
+        java.lang.String, java.lang.String> 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() {
-      onChanged();
-      ;
+    internalGetMutableLabels() {
+      onChanged();;
       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();
@@ -2031,8 +1909,6 @@ public int getLabelsCount() {
       return internalGetLabels().getMap().size();
     }
     /**
-     *
-     *
      * 
      * Labels are attributes that can be set and used by both the
      * user and by Google Cloud Deploy. Labels must meet the following
@@ -2044,22 +1920,22 @@ public int getLabelsCount() {
      *
      * map<string, string> labels = 5;
      */
+
     @java.lang.Override
-    public boolean containsLabels(java.lang.String key) {
-      if (key == null) {
-        throw new java.lang.NullPointerException();
-      }
+    public boolean containsLabels(
+        java.lang.String key) {
+      if (key == null) { throw new java.lang.NullPointerException(); }
       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 Google Cloud Deploy. Labels must meet the following
@@ -2072,12 +1948,11 @@ public java.util.Map getLabels() {
      * map<string, string> labels = 5;
      */
     @java.lang.Override
+
     public java.util.Map getLabelsMap() {
       return internalGetLabels().getMap();
     }
     /**
-     *
-     *
      * 
      * Labels are attributes that can be set and used by both the
      * user and by Google Cloud Deploy. Labels must meet the following
@@ -2090,17 +1965,16 @@ public java.util.Map getLabelsMap() {
      * map<string, string> labels = 5;
      */
     @java.lang.Override
+
     public java.lang.String getLabelsOrDefault(
-        java.lang.String key, java.lang.String defaultValue) {
-      if (key == null) {
-        throw new java.lang.NullPointerException();
-      }
-      java.util.Map map = internalGetLabels().getMap();
+        java.lang.String key,
+        java.lang.String defaultValue) {
+      if (key == null) { throw new java.lang.NullPointerException(); }
+      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 Google Cloud Deploy. Labels must meet the following
@@ -2113,11 +1987,12 @@ public 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 java.lang.NullPointerException();
-      }
-      java.util.Map map = internalGetLabels().getMap();
+
+    public java.lang.String getLabelsOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new java.lang.NullPointerException(); }
+      java.util.Map map =
+          internalGetLabels().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -2125,12 +2000,11 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
     }
 
     public Builder clearLabels() {
-      internalGetMutableLabels().getMutableMap().clear();
+      internalGetMutableLabels().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * Labels are attributes that can be set and used by both the
      * user and by Google Cloud Deploy. Labels must meet the following
@@ -2142,21 +2016,23 @@ public Builder clearLabels() {
      *
      * map<string, string> labels = 5;
      */
-    public Builder removeLabels(java.lang.String key) {
-      if (key == null) {
-        throw new java.lang.NullPointerException();
-      }
-      internalGetMutableLabels().getMutableMap().remove(key);
+
+    public Builder removeLabels(
+        java.lang.String key) {
+      if (key == null) { throw new java.lang.NullPointerException(); }
+      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() {
       return internalGetMutableLabels().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * Labels are attributes that can be set and used by both the
      * user and by Google Cloud Deploy. Labels must meet the following
@@ -2168,19 +2044,16 @@ public java.util.Map getMutableLabels() {
      *
      * map<string, string> labels = 5;
      */
-    public Builder putLabels(java.lang.String key, java.lang.String value) {
-      if (key == null) {
-        throw new java.lang.NullPointerException();
-      }
-      if (value == null) {
-        throw new java.lang.NullPointerException();
-      }
-      internalGetMutableLabels().getMutableMap().put(key, value);
+    public Builder putLabels(
+        java.lang.String key,
+        java.lang.String value) {
+      if (key == null) { throw new java.lang.NullPointerException(); }
+      if (value == null) { throw new java.lang.NullPointerException(); }
+      internalGetMutableLabels().getMutableMap()
+          .put(key, value);
       return this;
     }
     /**
-     *
-     *
      * 
      * Labels are attributes that can be set and used by both the
      * user and by Google Cloud Deploy. Labels must meet the following
@@ -2192,65 +2065,49 @@ public Builder putLabels(java.lang.String key, java.lang.String value) {
      *
      * 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);
       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 createTimeBuilder_ != null || 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. */ 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) { @@ -2266,17 +2123,14 @@ 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(); onChanged(); @@ -2287,21 +2141,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal 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 (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -2313,15 +2163,11 @@ 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() { if (createTimeBuilder_ == null) { @@ -2335,64 +2181,48 @@ 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() { - + onChanged(); 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_; @@ -2400,58 +2230,39 @@ 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 updateTimeBuilder_ != null || 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. */ 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) { @@ -2467,17 +2278,14 @@ 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(); onChanged(); @@ -2488,21 +2296,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal 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 (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -2514,15 +2318,11 @@ 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() { if (updateTimeBuilder_ == null) { @@ -2536,84 +2336,62 @@ 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() { - + onChanged(); 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 @@ -2621,15 +2399,12 @@ 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 @@ -2647,8 +2422,6 @@ public com.google.cloud.deploy.v1.SerialPipeline getSerialPipeline() { } } /** - * - * *
      * SerialPipeline defines a sequential set of stages for a
      * `DeliveryPipeline`.
@@ -2670,8 +2443,6 @@ public Builder setSerialPipeline(com.google.cloud.deploy.v1.SerialPipeline value
       return this;
     }
     /**
-     *
-     *
      * 
      * SerialPipeline defines a sequential set of stages for a
      * `DeliveryPipeline`.
@@ -2691,8 +2462,6 @@ public Builder setSerialPipeline(
       return this;
     }
     /**
-     *
-     *
      * 
      * SerialPipeline defines a sequential set of stages for a
      * `DeliveryPipeline`.
@@ -2702,13 +2471,10 @@ 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;
         }
@@ -2723,8 +2489,6 @@ public Builder mergeSerialPipeline(com.google.cloud.deploy.v1.SerialPipeline val
       return this;
     }
     /**
-     *
-     *
      * 
      * SerialPipeline defines a sequential set of stages for a
      * `DeliveryPipeline`.
@@ -2749,8 +2513,6 @@ public Builder clearSerialPipeline() {
       return this;
     }
     /**
-     *
-     *
      * 
      * SerialPipeline defines a sequential set of stages for a
      * `DeliveryPipeline`.
@@ -2762,8 +2524,6 @@ public com.google.cloud.deploy.v1.SerialPipeline.Builder getSerialPipelineBuilde
       return getSerialPipelineFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * SerialPipeline defines a sequential set of stages for a
      * `DeliveryPipeline`.
@@ -2783,8 +2543,6 @@ public com.google.cloud.deploy.v1.SerialPipelineOrBuilder getSerialPipelineOrBui
       }
     }
     /**
-     *
-     *
      * 
      * SerialPipeline defines a sequential set of stages for a
      * `DeliveryPipeline`.
@@ -2793,84 +2551,59 @@ 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());
         pipeline_ = null;
       }
       pipelineCase_ = 8;
-      onChanged();
-      ;
+      onChanged();;
       return serialPipelineBuilder_;
     }
 
     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 conditionBuilder_ != null || 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. */ 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) { @@ -2886,15 +2619,11 @@ 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) { @@ -2908,23 +2637,17 @@ 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 (condition_ != null) { condition_ = - com.google.cloud.deploy.v1.PipelineCondition.newBuilder(condition_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.deploy.v1.PipelineCondition.newBuilder(condition_).mergeFrom(value).buildPartial(); } else { condition_ = value; } @@ -2936,15 +2659,11 @@ 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() { if (conditionBuilder_ == null) { @@ -2958,64 +2677,48 @@ 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() { - + onChanged(); 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_; @@ -3023,8 +2726,6 @@ 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
@@ -3032,13 +2733,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; @@ -3047,8 +2748,6 @@ 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
@@ -3056,14 +2755,15 @@ 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 { @@ -3071,8 +2771,6 @@ public com.google.protobuf.ByteString getEtagBytes() { } } /** - * - * *
      * 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
@@ -3080,22 +2778,20 @@ public com.google.protobuf.ByteString getEtagBytes() {
      * 
* * string etag = 10; - * * @param value The etag to set. * @return This builder for chaining. */ - public Builder setEtag(java.lang.String value) { + public Builder setEtag( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + etag_ = value; 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
@@ -3103,18 +2799,15 @@ public Builder setEtag(java.lang.String value) {
      * 
* * string etag = 10; - * * @return This builder for chaining. */ public Builder clearEtag() { - + etag_ = getDefaultInstance().getEtag(); 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
@@ -3122,23 +2815,23 @@ 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) { + public Builder setEtagBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + etag_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3148,12 +2841,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(); } @@ -3162,16 +2855,16 @@ 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 { - return new DeliveryPipeline(input, extensionRegistry); - } - }; + 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 { + return new DeliveryPipeline(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3186,4 +2879,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.DeliveryPipeline getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeliveryPipelineName.java b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeliveryPipelineName.java similarity index 100% rename from proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeliveryPipelineName.java rename to owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeliveryPipelineName.java diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeliveryPipelineOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeliveryPipelineOrBuilder.java similarity index 78% rename from proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeliveryPipelineOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeliveryPipelineOrBuilder.java index 1d1c689..ae850bb 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeliveryPipelineOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeliveryPipelineOrBuilder.java @@ -1,108 +1,75 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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 Google Cloud Deploy. See
@@ -114,8 +81,6 @@ public interface DeliveryPipelineOrBuilder
    */
   int getAnnotationsCount();
   /**
-   *
-   *
    * 
    * User annotations. These attributes can only be set and used by the
    * user, and not by Google Cloud Deploy. See
@@ -125,13 +90,15 @@ public interface DeliveryPipelineOrBuilder
    *
    * 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 Google Cloud Deploy. See
@@ -141,10 +108,9 @@ public interface DeliveryPipelineOrBuilder
    *
    * 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 Google Cloud Deploy. See
@@ -154,10 +120,11 @@ public interface DeliveryPipelineOrBuilder
    *
    * map<string, string> annotations = 4;
    */
-  java.lang.String getAnnotationsOrDefault(java.lang.String key, java.lang.String defaultValue);
+
+  java.lang.String getAnnotationsOrDefault(
+      java.lang.String key,
+      java.lang.String defaultValue);
   /**
-   *
-   *
    * 
    * User annotations. These attributes can only be set and used by the
    * user, and not by Google Cloud Deploy. See
@@ -167,11 +134,11 @@ public interface DeliveryPipelineOrBuilder
    *
    * 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 Google Cloud Deploy. Labels must meet the following
@@ -185,8 +152,6 @@ public interface DeliveryPipelineOrBuilder
    */
   int getLabelsCount();
   /**
-   *
-   *
    * 
    * Labels are attributes that can be set and used by both the
    * user and by Google Cloud Deploy. Labels must meet the following
@@ -198,13 +163,15 @@ public interface DeliveryPipelineOrBuilder
    *
    * 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 Google Cloud Deploy. Labels must meet the following
@@ -216,10 +183,9 @@ public interface DeliveryPipelineOrBuilder
    *
    * 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 Google Cloud Deploy. Labels must meet the following
@@ -231,10 +197,11 @@ public interface DeliveryPipelineOrBuilder
    *
    * map<string, string> labels = 5;
    */
-  java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue);
+
+  java.lang.String getLabelsOrDefault(
+      java.lang.String key,
+      java.lang.String defaultValue);
   /**
-   *
-   *
    * 
    * Labels are attributes that can be set and used by both the
    * user and by Google Cloud Deploy. Labels must meet the following
@@ -246,113 +213,85 @@ public interface DeliveryPipelineOrBuilder
    *
    * 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`.
@@ -363,49 +302,33 @@ public interface DeliveryPipelineOrBuilder
   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
@@ -413,13 +336,10 @@ public interface DeliveryPipelineOrBuilder
    * 
* * 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
@@ -427,10 +347,10 @@ public interface DeliveryPipelineOrBuilder
    * 
* * string etag = 10; - * * @return The bytes for etag. */ - com.google.protobuf.ByteString getEtagBytes(); + com.google.protobuf.ByteString + getEtagBytes(); public com.google.cloud.deploy.v1.DeliveryPipeline.PipelineCase getPipelineCase(); } diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ExecutionConfig.java b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ExecutionConfig.java similarity index 63% rename from proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ExecutionConfig.java rename to owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ExecutionConfig.java index cffe83b..ce09531 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ExecutionConfig.java +++ b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ExecutionConfig.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ExecutionConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ExecutionConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,80 +54,71 @@ private ExecutionConfig( case 0: done = true; break; - case 8: - { + case 8: { + int rawValue = input.readEnum(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + usages_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + usages_.add(rawValue); + break; + } + case 10: { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while(input.getBytesUntilLimit() > 0) { int rawValue = input.readEnum(); if (!((mutable_bitField0_ & 0x00000001) != 0)) { usages_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } usages_.add(rawValue); - break; } - case 10: - { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while (input.getBytesUntilLimit() > 0) { - int rawValue = input.readEnum(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - usages_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - usages_.add(rawValue); - } - input.popLimit(oldLimit); - break; + input.popLimit(oldLimit); + break; + } + case 18: { + com.google.cloud.deploy.v1.DefaultPool.Builder subBuilder = null; + if (executionEnvironmentCase_ == 2) { + subBuilder = ((com.google.cloud.deploy.v1.DefaultPool) executionEnvironment_).toBuilder(); } - case 18: - { - com.google.cloud.deploy.v1.DefaultPool.Builder subBuilder = null; - if (executionEnvironmentCase_ == 2) { - subBuilder = - ((com.google.cloud.deploy.v1.DefaultPool) executionEnvironment_).toBuilder(); - } - executionEnvironment_ = - input.readMessage( - com.google.cloud.deploy.v1.DefaultPool.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.deploy.v1.DefaultPool) executionEnvironment_); - executionEnvironment_ = subBuilder.buildPartial(); - } - executionEnvironmentCase_ = 2; - break; + executionEnvironment_ = + input.readMessage(com.google.cloud.deploy.v1.DefaultPool.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.deploy.v1.DefaultPool) executionEnvironment_); + executionEnvironment_ = subBuilder.buildPartial(); } - case 26: - { - com.google.cloud.deploy.v1.PrivatePool.Builder subBuilder = null; - if (executionEnvironmentCase_ == 3) { - subBuilder = - ((com.google.cloud.deploy.v1.PrivatePool) executionEnvironment_).toBuilder(); - } - executionEnvironment_ = - input.readMessage( - com.google.cloud.deploy.v1.PrivatePool.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.deploy.v1.PrivatePool) executionEnvironment_); - executionEnvironment_ = subBuilder.buildPartial(); - } - executionEnvironmentCase_ = 3; - break; + executionEnvironmentCase_ = 2; + break; + } + case 26: { + com.google.cloud.deploy.v1.PrivatePool.Builder subBuilder = null; + if (executionEnvironmentCase_ == 3) { + subBuilder = ((com.google.cloud.deploy.v1.PrivatePool) executionEnvironment_).toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + executionEnvironment_ = + input.readMessage(com.google.cloud.deploy.v1.PrivatePool.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.deploy.v1.PrivatePool) executionEnvironment_); + executionEnvironment_ = subBuilder.buildPartial(); } + executionEnvironmentCase_ = 3; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { usages_ = java.util.Collections.unmodifiableList(usages_); @@ -153,35 +127,29 @@ private ExecutionConfig( makeExtensionsImmutable(); } } - - 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.
      * 
@@ -190,8 +158,6 @@ public enum ExecutionEnvironmentUsage implements com.google.protobuf.ProtocolMes */ EXECUTION_ENVIRONMENT_USAGE_UNSPECIFIED(0), /** - * - * *
      * Use for rendering.
      * 
@@ -200,8 +166,6 @@ public enum ExecutionEnvironmentUsage implements com.google.protobuf.ProtocolMes */ RENDER(1), /** - * - * *
      * Use for deploying and deployment hooks.
      * 
@@ -213,8 +177,6 @@ public enum ExecutionEnvironmentUsage implements com.google.protobuf.ProtocolMes ; /** - * - * *
      * Default value. This value is unused.
      * 
@@ -223,8 +185,6 @@ public enum ExecutionEnvironmentUsage implements com.google.protobuf.ProtocolMes */ public static final int EXECUTION_ENVIRONMENT_USAGE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Use for rendering.
      * 
@@ -233,8 +193,6 @@ public enum ExecutionEnvironmentUsage implements com.google.protobuf.ProtocolMes */ public static final int RENDER_VALUE = 1; /** - * - * *
      * Use for deploying and deployment hooks.
      * 
@@ -243,6 +201,7 @@ public enum ExecutionEnvironmentUsage implements com.google.protobuf.ProtocolMes */ public static final int DEPLOY_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -267,14 +226,10 @@ 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; - default: - return null; + case 0: return EXECUTION_ENVIRONMENT_USAGE_UNSPECIFIED; + case 1: return RENDER; + case 2: return DEPLOY; + default: return null; } } @@ -282,28 +237,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); + } + }; - 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() { + 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); } @@ -312,7 +267,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor 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; @@ -331,16 +287,13 @@ private ExecutionEnvironmentUsage(int value) { private int executionEnvironmentCase_ = 0; 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; } @@ -356,77 +309,54 @@ 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; 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) { + java.lang.Integer, com.google.cloud.deploy.v1.ExecutionConfig.ExecutionEnvironmentUsage>() { + public com.google.cloud.deploy.v1.ExecutionConfig.ExecutionEnvironmentUsage convert(java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.cloud.deploy.v1.ExecutionConfig.ExecutionEnvironmentUsage result = - com.google.cloud.deploy.v1.ExecutionConfig.ExecutionEnvironmentUsage.valueOf( - from); - return result == null - ? com.google.cloud.deploy.v1.ExecutionConfig.ExecutionEnvironmentUsage - .UNRECOGNIZED - : result; + com.google.cloud.deploy.v1.ExecutionConfig.ExecutionEnvironmentUsage result = com.google.cloud.deploy.v1.ExecutionConfig.ExecutionEnvironmentUsage.valueOf(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 @@ -434,16 +364,11 @@ 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. */ @@ -452,33 +377,24 @@ 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. */ @@ -486,21 +402,15 @@ public java.util.List getUsagesValueList() { 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 @@ -508,56 +418,42 @@ 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 @@ -565,46 +461,36 @@ 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(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -616,7 +502,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { getSerializedSize(); if (getUsagesList().size() > 0) { output.writeUInt32NoTag(10); @@ -643,24 +530,22 @@ 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_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -670,22 +555,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.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 (!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: @@ -722,127 +608,118 @@ 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() @@ -850,15 +727,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -870,9 +748,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 @@ -891,8 +769,7 @@ 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); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { usages_ = java.util.Collections.unmodifiableList(usages_); @@ -922,39 +799,38 @@ public com.google.cloud.deploy.v1.ExecutionConfig 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.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; @@ -974,20 +850,17 @@ public Builder mergeFrom(com.google.cloud.deploy.v1.ExecutionConfig other) { onChanged(); } 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.unknownFields); onChanged(); @@ -1017,12 +890,12 @@ public Builder mergeFrom( } 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() { @@ -1034,8 +907,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_); @@ -1043,69 +916,46 @@ 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. @@ -1121,21 +971,15 @@ 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(); } @@ -1145,23 +989,16 @@ public Builder addUsages( 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< - ? extends com.google.cloud.deploy.v1.ExecutionConfig.ExecutionEnvironmentUsage> - values) { + java.lang.Iterable values) { ensureUsagesIsMutable(); for (com.google.cloud.deploy.v1.ExecutionConfig.ExecutionEnvironmentUsage value : values) { usages_.add(value.getNumber()); @@ -1170,16 +1007,11 @@ 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() { @@ -1189,32 +1021,23 @@ 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. */ @@ -1222,37 +1045,28 @@ 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 of the value to return. * @return The enum numeric value on the wire of usages at the given index. * @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. */ @@ -1263,20 +1077,16 @@ 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); @@ -1286,21 +1096,13 @@ public Builder addAllUsagesValue(java.lang.Iterable values) { } 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 @@ -1308,16 +1110,11 @@ 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 @@ -1335,15 +1132,11 @@ 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) { @@ -1359,17 +1152,14 @@ 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(); @@ -1380,26 +1170,18 @@ public Builder setDefaultPool(com.google.cloud.deploy.v1.DefaultPool.Builder bui 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; } @@ -1414,15 +1196,11 @@ 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) { @@ -1441,29 +1219,21 @@ 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() { @@ -1477,57 +1247,39 @@ 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()); executionEnvironment_ = null; } executionEnvironmentCase_ = 2; - onChanged(); - ; + onChanged();; return defaultPoolBuilder_; } 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 @@ -1535,16 +1287,11 @@ 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 @@ -1562,15 +1309,11 @@ 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) { @@ -1586,17 +1329,14 @@ 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(); @@ -1607,26 +1347,18 @@ public Builder setPrivatePool(com.google.cloud.deploy.v1.PrivatePool.Builder bui 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; } @@ -1641,15 +1373,11 @@ 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) { @@ -1668,29 +1396,21 @@ 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() { @@ -1704,43 +1424,33 @@ 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()); executionEnvironment_ = null; } executionEnvironmentCase_ = 3; - onChanged(); - ; + onChanged();; return privatePoolBuilder_; } - @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); } @@ -1750,12 +1460,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(); } @@ -1764,16 +1474,16 @@ 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 { - return new ExecutionConfig(input, extensionRegistry); - } - }; + 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 { + return new ExecutionConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1788,4 +1498,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.ExecutionConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ExecutionConfigOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ExecutionConfigOrBuilder.java new file mode 100644 index 0000000..4397183 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ExecutionConfigOrBuilder.java @@ -0,0 +1,114 @@ +// 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 + // @@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]; + * @return A list containing the usages. + */ + 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]; + * @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]; + * @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]; + * @return A list containing the enum numeric values on the wire for usages. + */ + 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]; + * @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]; + * @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]; + * @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]; + */ + 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]; + * @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]; + * @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]; + */ + com.google.cloud.deploy.v1.PrivatePoolOrBuilder getPrivatePoolOrBuilder(); + + public com.google.cloud.deploy.v1.ExecutionConfig.ExecutionEnvironmentCase getExecutionEnvironmentCase(); +} diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetConfigRequest.java b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetConfigRequest.java similarity index 64% rename from proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetConfigRequest.java rename to owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetConfigRequest.java index 0c5d422..40d3a4f 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetConfigRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetConfigRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetConfigRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,60 +53,52 @@ private GetConfigRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.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; 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 @@ -132,31 +107,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. 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 { @@ -165,7 +138,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -177,7 +149,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -201,15 +174,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -228,127 +201,118 @@ 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() @@ -356,15 +320,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -374,9 +339,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 @@ -395,8 +360,7 @@ 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); + com.google.cloud.deploy.v1.GetConfigRequest result = new com.google.cloud.deploy.v1.GetConfigRequest(this); result.name_ = name_; onBuilt(); return result; @@ -406,39 +370,38 @@ public com.google.cloud.deploy.v1.GetConfigRequest 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.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; @@ -482,22 +445,18 @@ public Builder mergeFrom( 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; @@ -506,23 +465,20 @@ 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 { @@ -530,74 +486,61 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -607,12 +550,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(); } @@ -621,16 +564,16 @@ 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 { - return new GetConfigRequest(input, extensionRegistry); - } - }; + 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 { + return new GetConfigRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -645,4 +588,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.GetConfigRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetConfigRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetConfigRequestOrBuilder.java new file mode 100644 index 0000000..8fb7d2d --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetConfigRequestOrBuilder.java @@ -0,0 +1,29 @@ +// 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/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetDeliveryPipelineRequest.java b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetDeliveryPipelineRequest.java similarity index 65% rename from proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetDeliveryPipelineRequest.java rename to owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetDeliveryPipelineRequest.java index 0cdacf3..9fa69b7 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetDeliveryPipelineRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetDeliveryPipelineRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetDeliveryPipelineRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,61 +53,53 @@ private GetDeliveryPipelineRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.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; 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 @@ -133,32 +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; } } /** - * - * *
    * 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 { @@ -167,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -203,15 +176,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -231,127 +204,117 @@ 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() @@ -359,15 +322,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -377,9 +341,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 @@ -398,8 +362,7 @@ 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); + com.google.cloud.deploy.v1.GetDeliveryPipelineRequest result = new com.google.cloud.deploy.v1.GetDeliveryPipelineRequest(this); result.name_ = name_; onBuilt(); return result; @@ -409,39 +372,38 @@ public com.google.cloud.deploy.v1.GetDeliveryPipelineRequest 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.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; @@ -449,8 +411,7 @@ 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_; onChanged(); @@ -474,8 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.deploy.v1.GetDeliveryPipelineRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.deploy.v1.GetDeliveryPipelineRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -487,23 +447,19 @@ public Builder mergeFrom( 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; @@ -512,24 +468,21 @@ 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 { @@ -537,77 +490,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -617,12 +557,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(); } @@ -631,16 +571,16 @@ 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 { - return new GetDeliveryPipelineRequest(input, extensionRegistry); - } - }; + 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 { + return new GetDeliveryPipelineRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -655,4 +595,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.deploy.v1.GetDeliveryPipelineRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetDeliveryPipelineRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetDeliveryPipelineRequestOrBuilder.java new file mode 100644 index 0000000..062234f --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetDeliveryPipelineRequestOrBuilder.java @@ -0,0 +1,31 @@ +// 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/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetReleaseRequest.java b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetReleaseRequest.java similarity index 66% rename from proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetReleaseRequest.java rename to owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetReleaseRequest.java index 8d398cf..fd416dd 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetReleaseRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetReleaseRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetReleaseRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,61 +53,53 @@ private GetReleaseRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.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; 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 @@ -133,32 +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; } } /** - * - * *
    * 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 { @@ -167,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -203,15 +176,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -230,127 +203,118 @@ 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() @@ -358,15 +322,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -376,9 +341,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 @@ -397,8 +362,7 @@ 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); + com.google.cloud.deploy.v1.GetReleaseRequest result = new com.google.cloud.deploy.v1.GetReleaseRequest(this); result.name_ = name_; onBuilt(); return result; @@ -408,39 +372,38 @@ public com.google.cloud.deploy.v1.GetReleaseRequest 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.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; @@ -484,23 +447,19 @@ public Builder mergeFrom( 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; @@ -509,24 +468,21 @@ 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 { @@ -534,77 +490,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -614,12 +557,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(); } @@ -628,16 +571,16 @@ 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 { - return new GetReleaseRequest(input, extensionRegistry); - } - }; + 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 { + return new GetReleaseRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -652,4 +595,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.GetReleaseRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetReleaseRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetReleaseRequestOrBuilder.java new file mode 100644 index 0000000..ce78bf9 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetReleaseRequestOrBuilder.java @@ -0,0 +1,31 @@ +// 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/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetRolloutRequest.java b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetRolloutRequest.java similarity index 66% rename from proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetRolloutRequest.java rename to owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetRolloutRequest.java index 390a349..28420d9 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetRolloutRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetRolloutRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetRolloutRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,61 +53,53 @@ private GetRolloutRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.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; 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 @@ -133,32 +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; } } /** - * - * *
    * 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 { @@ -167,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -203,15 +176,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -230,127 +203,118 @@ 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() @@ -358,15 +322,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -376,9 +341,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 @@ -397,8 +362,7 @@ 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); + com.google.cloud.deploy.v1.GetRolloutRequest result = new com.google.cloud.deploy.v1.GetRolloutRequest(this); result.name_ = name_; onBuilt(); return result; @@ -408,39 +372,38 @@ public com.google.cloud.deploy.v1.GetRolloutRequest 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.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; @@ -484,23 +447,19 @@ public Builder mergeFrom( 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; @@ -509,24 +468,21 @@ 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 { @@ -534,77 +490,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -614,12 +557,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(); } @@ -628,16 +571,16 @@ 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 { - return new GetRolloutRequest(input, extensionRegistry); - } - }; + 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 { + return new GetRolloutRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -652,4 +595,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.GetRolloutRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetRolloutRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetRolloutRequestOrBuilder.java new file mode 100644 index 0000000..b4645b8 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetRolloutRequestOrBuilder.java @@ -0,0 +1,31 @@ +// 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/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetTargetRequest.java b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetTargetRequest.java similarity index 65% rename from proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetTargetRequest.java rename to owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetTargetRequest.java index d8c72a3..f2d4f6d 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetTargetRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetTargetRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetTargetRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,61 +53,53 @@ private GetTargetRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.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; 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 @@ -133,32 +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; } } /** - * - * *
    * 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 { @@ -167,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -203,15 +176,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -230,127 +203,118 @@ 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() @@ -358,15 +322,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -376,9 +341,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 @@ -397,8 +362,7 @@ 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); + com.google.cloud.deploy.v1.GetTargetRequest result = new com.google.cloud.deploy.v1.GetTargetRequest(this); result.name_ = name_; onBuilt(); return result; @@ -408,39 +372,38 @@ public com.google.cloud.deploy.v1.GetTargetRequest 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.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; @@ -484,23 +447,19 @@ public Builder mergeFrom( 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; @@ -509,24 +468,21 @@ 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 { @@ -534,77 +490,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -614,12 +557,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(); } @@ -628,16 +571,16 @@ 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 { - return new GetTargetRequest(input, extensionRegistry); - } - }; + 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 { + return new GetTargetRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -652,4 +595,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.GetTargetRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetTargetRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetTargetRequestOrBuilder.java new file mode 100644 index 0000000..229e8ee --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetTargetRequestOrBuilder.java @@ -0,0 +1,31 @@ +// 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/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GkeCluster.java b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GkeCluster.java similarity index 70% rename from proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GkeCluster.java rename to owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GkeCluster.java index 95c6629..b9a4859 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GkeCluster.java +++ b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GkeCluster.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GkeCluster( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,59 +53,53 @@ private GkeCluster( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - cluster_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + cluster_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.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; 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 @@ -131,30 +108,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 { @@ -163,7 +140,6 @@ public com.google.protobuf.ByteString getClusterBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -175,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(cluster_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, cluster_); } @@ -199,14 +176,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 (!getCluster() + .equals(other.getCluster())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -225,126 +203,118 @@ public int hashCode() { 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() @@ -352,15 +322,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -370,9 +341,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 @@ -391,8 +362,7 @@ 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); + com.google.cloud.deploy.v1.GkeCluster result = new com.google.cloud.deploy.v1.GkeCluster(this); result.cluster_ = cluster_; onBuilt(); return result; @@ -402,39 +372,38 @@ public com.google.cloud.deploy.v1.GkeCluster 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.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; @@ -478,21 +447,19 @@ public Builder mergeFrom( 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; @@ -501,22 +468,21 @@ 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 { @@ -524,71 +490,64 @@ public com.google.protobuf.ByteString getClusterBytes() { } } /** - * - * *
      * 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) { + public Builder setCluster( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + cluster_ = value; 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() { - + cluster_ = getDefaultInstance().getCluster(); 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) = { ... } - * * @param value The bytes for cluster to set. * @return This builder for chaining. */ - public Builder setClusterBytes(com.google.protobuf.ByteString value) { + public Builder setClusterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + cluster_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -598,12 +557,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(); } @@ -612,16 +571,16 @@ 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 { - return new GkeCluster(input, extensionRegistry); - } - }; + 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 { + return new GkeCluster(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -636,4 +595,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.GkeCluster getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GkeClusterOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GkeClusterOrBuilder.java similarity index 54% rename from proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GkeClusterOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GkeClusterOrBuilder.java index 4258e40..6e62032 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GkeClusterOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GkeClusterOrBuilder.java @@ -1,52 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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(); } diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListDeliveryPipelinesRequest.java b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListDeliveryPipelinesRequest.java similarity index 71% rename from proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListDeliveryPipelinesRequest.java rename to owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListDeliveryPipelinesRequest.java index 18ed7fb..dca80f0 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListDeliveryPipelinesRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListDeliveryPipelinesRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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_ = ""; @@ -46,15 +28,16 @@ private ListDeliveryPipelinesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListDeliveryPipelinesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListDeliveryPipelinesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,87 +56,76 @@ private ListDeliveryPipelinesRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); + pageToken_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); - orderBy_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + filter_ = s; + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + + orderBy_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.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; 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 @@ -162,32 +134,30 @@ 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 { @@ -198,8 +168,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; 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
@@ -208,7 +176,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -219,8 +186,6 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * A page token, received from a previous `ListDeliveryPipelines` call.
    * Provide this to retrieve the subsequent page.
@@ -229,7 +194,6 @@ public int getPageSize() {
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -238,15 +202,14 @@ 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.
@@ -255,15 +218,16 @@ 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 { @@ -274,15 +238,12 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int FILTER_FIELD_NUMBER = 4; private volatile java.lang.Object filter_; /** - * - * *
    * Filter builds to be returned. See https://google.aip.dev/160 for more
    * details.
    * 
* * string filter = 4; - * * @return The filter. */ @java.lang.Override @@ -291,30 +252,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 builds 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 { @@ -325,14 +286,11 @@ public com.google.protobuf.ByteString getFilterBytes() { public static final int ORDER_BY_FIELD_NUMBER = 5; 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 @@ -341,29 +299,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 { @@ -372,7 +330,6 @@ public com.google.protobuf.ByteString getOrderByBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -384,7 +341,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -413,7 +371,8 @@ 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_); @@ -432,19 +391,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -472,127 +435,117 @@ 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() @@ -600,15 +553,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -626,9 +580,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 @@ -647,8 +601,7 @@ 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); + com.google.cloud.deploy.v1.ListDeliveryPipelinesRequest result = new com.google.cloud.deploy.v1.ListDeliveryPipelinesRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -662,39 +615,38 @@ public com.google.cloud.deploy.v1.ListDeliveryPipelinesRequest 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.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; @@ -702,8 +654,7 @@ 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_; onChanged(); @@ -742,8 +693,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.deploy.v1.ListDeliveryPipelinesRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.deploy.v1.ListDeliveryPipelinesRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -755,23 +705,19 @@ public Builder mergeFrom( 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; @@ -780,24 +726,21 @@ 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 { @@ -805,79 +748,64 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * 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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); 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
@@ -886,7 +814,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -894,8 +821,6 @@ 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
@@ -904,19 +829,16 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * The maximum number of pipelines to return. The service may return
      * fewer than this value. If unspecified, at most 50 pipelines will
@@ -925,11 +847,10 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -937,8 +858,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * A page token, received from a previous `ListDeliveryPipelines` call.
      * Provide this to retrieve the subsequent page.
@@ -947,13 +866,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; @@ -962,8 +881,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * A page token, received from a previous `ListDeliveryPipelines` call.
      * Provide this to retrieve the subsequent page.
@@ -972,14 +889,15 @@ 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 { @@ -987,8 +905,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * A page token, received from a previous `ListDeliveryPipelines` call.
      * Provide this to retrieve the subsequent page.
@@ -997,22 +913,20 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * A page token, received from a previous `ListDeliveryPipelines` call.
      * Provide this to retrieve the subsequent page.
@@ -1021,18 +935,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * A page token, received from a previous `ListDeliveryPipelines` call.
      * Provide this to retrieve the subsequent page.
@@ -1041,16 +952,16 @@ 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) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -1058,21 +969,19 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * Filter builds 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; @@ -1081,22 +990,21 @@ public java.lang.String getFilter() { } } /** - * - * *
      * Filter builds 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 { @@ -1104,64 +1012,57 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * Filter builds 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) { + public Builder setFilter( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** - * - * *
      * Filter builds to be returned. See https://google.aip.dev/160 for more
      * details.
      * 
* * string filter = 4; - * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** - * - * *
      * Filter builds 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) { + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; @@ -1169,20 +1070,18 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) { 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; @@ -1191,21 +1090,20 @@ 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 { @@ -1213,68 +1111,61 @@ public com.google.protobuf.ByteString getOrderByBytes() { } } /** - * - * *
      * 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) { + public Builder setOrderBy( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + orderBy_ = value; 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() { - + orderBy_ = getDefaultInstance().getOrderBy(); onChanged(); 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) { + public Builder setOrderByBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + orderBy_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1284,12 +1175,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(); } @@ -1298,16 +1189,16 @@ 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 { - return new ListDeliveryPipelinesRequest(input, extensionRegistry); - } - }; + 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 { + return new ListDeliveryPipelinesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1322,4 +1213,6 @@ public com.google.protobuf.Parser getParserForType public com.google.cloud.deploy.v1.ListDeliveryPipelinesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListDeliveryPipelinesRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListDeliveryPipelinesRequestOrBuilder.java similarity index 67% rename from proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListDeliveryPipelinesRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListDeliveryPipelinesRequestOrBuilder.java index 2db73e8..c9f278b 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListDeliveryPipelinesRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListDeliveryPipelinesRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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
@@ -65,14 +38,11 @@ public interface ListDeliveryPipelinesRequestOrBuilder
    * 
* * 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.
@@ -81,13 +51,10 @@ public interface ListDeliveryPipelinesRequestOrBuilder
    * 
* * 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.
@@ -96,60 +63,50 @@ public interface ListDeliveryPipelinesRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * Filter builds to be returned. See https://google.aip.dev/160 for more
    * details.
    * 
* * string filter = 4; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * Filter builds 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/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListDeliveryPipelinesResponse.java b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListDeliveryPipelinesResponse.java similarity index 75% rename from proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListDeliveryPipelinesResponse.java rename to owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListDeliveryPipelinesResponse.java index 9153138..3a3dbc7 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListDeliveryPipelinesResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListDeliveryPipelinesResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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_ = ""; @@ -45,15 +27,16 @@ private ListDeliveryPipelinesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListDeliveryPipelinesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListDeliveryPipelinesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,48 +56,44 @@ private ListDeliveryPipelinesResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - deliveryPipelines_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - deliveryPipelines_.add( - input.readMessage( - com.google.cloud.deploy.v1.DeliveryPipeline.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + deliveryPipelines_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + deliveryPipelines_.add( + input.readMessage(com.google.cloud.deploy.v1.DeliveryPipeline.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - unreachable_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; - } - unreachable_.add(s); - break; + nextPageToken_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + unreachable_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000002; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + unreachable_.add(s); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { deliveryPipelines_ = java.util.Collections.unmodifiableList(deliveryPipelines_); @@ -126,27 +105,22 @@ private ListDeliveryPipelinesResponse( makeExtensionsImmutable(); } } - - 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; private java.util.List deliveryPipelines_; /** - * - * *
    * The `DeliveryPipeline` objects.
    * 
@@ -158,8 +132,6 @@ public java.util.List getDeliveryPi return deliveryPipelines_; } /** - * - * *
    * The `DeliveryPipeline` objects.
    * 
@@ -167,13 +139,11 @@ 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.
    * 
@@ -185,8 +155,6 @@ public int getDeliveryPipelinesCount() { return deliveryPipelines_.size(); } /** - * - * *
    * The `DeliveryPipeline` objects.
    * 
@@ -198,8 +166,6 @@ public com.google.cloud.deploy.v1.DeliveryPipeline getDeliveryPipelines(int inde return deliveryPipelines_.get(index); } /** - * - * *
    * The `DeliveryPipeline` objects.
    * 
@@ -215,15 +181,12 @@ public com.google.cloud.deploy.v1.DeliveryPipelineOrBuilder getDeliveryPipelines public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; 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 @@ -232,30 +195,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 { @@ -266,42 +229,34 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { public static final int UNREACHABLE_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList unreachable_; /** - * - * *
    * 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. */ @@ -309,23 +264,20 @@ 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; @@ -337,7 +289,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < deliveryPipelines_.size(); i++) { output.writeMessage(1, deliveryPipelines_.get(i)); } @@ -357,8 +310,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_); @@ -379,17 +332,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -417,127 +372,117 @@ 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() @@ -545,17 +490,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getDeliveryPipelinesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -573,9 +518,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_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 @@ -594,8 +539,7 @@ 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); int from_bitField0_ = bitField0_; if (deliveryPipelinesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -620,39 +564,38 @@ public com.google.cloud.deploy.v1.ListDeliveryPipelinesResponse 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.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; @@ -660,8 +603,7 @@ 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()) { @@ -680,10 +622,9 @@ 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_); } @@ -722,8 +663,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.deploy.v1.ListDeliveryPipelinesResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.deploy.v1.ListDeliveryPipelinesResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -732,30 +672,21 @@ public Builder mergeFrom( } 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.
      * 
@@ -770,8 +701,6 @@ public java.util.List getDeliveryPi } } /** - * - * *
      * The `DeliveryPipeline` objects.
      * 
@@ -786,8 +715,6 @@ public int getDeliveryPipelinesCount() { } } /** - * - * *
      * The `DeliveryPipeline` objects.
      * 
@@ -802,8 +729,6 @@ public com.google.cloud.deploy.v1.DeliveryPipeline getDeliveryPipelines(int inde } } /** - * - * *
      * The `DeliveryPipeline` objects.
      * 
@@ -825,8 +750,6 @@ public Builder setDeliveryPipelines( return this; } /** - * - * *
      * The `DeliveryPipeline` objects.
      * 
@@ -845,8 +768,6 @@ public Builder setDeliveryPipelines( return this; } /** - * - * *
      * The `DeliveryPipeline` objects.
      * 
@@ -867,8 +788,6 @@ public Builder addDeliveryPipelines(com.google.cloud.deploy.v1.DeliveryPipeline return this; } /** - * - * *
      * The `DeliveryPipeline` objects.
      * 
@@ -890,8 +809,6 @@ public Builder addDeliveryPipelines( return this; } /** - * - * *
      * The `DeliveryPipeline` objects.
      * 
@@ -910,8 +827,6 @@ public Builder addDeliveryPipelines( return this; } /** - * - * *
      * The `DeliveryPipeline` objects.
      * 
@@ -930,8 +845,6 @@ public Builder addDeliveryPipelines( return this; } /** - * - * *
      * The `DeliveryPipeline` objects.
      * 
@@ -942,7 +855,8 @@ 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); @@ -950,8 +864,6 @@ public Builder addAllDeliveryPipelines( return this; } /** - * - * *
      * The `DeliveryPipeline` objects.
      * 
@@ -969,8 +881,6 @@ public Builder clearDeliveryPipelines() { return this; } /** - * - * *
      * The `DeliveryPipeline` objects.
      * 
@@ -988,8 +898,6 @@ public Builder removeDeliveryPipelines(int index) { return this; } /** - * - * *
      * The `DeliveryPipeline` objects.
      * 
@@ -1001,8 +909,6 @@ public com.google.cloud.deploy.v1.DeliveryPipeline.Builder getDeliveryPipelinesB return getDeliveryPipelinesFieldBuilder().getBuilder(index); } /** - * - * *
      * The `DeliveryPipeline` objects.
      * 
@@ -1012,22 +918,19 @@ 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 { @@ -1035,8 +938,6 @@ public com.google.cloud.deploy.v1.DeliveryPipelineOrBuilder getDeliveryPipelines } } /** - * - * *
      * The `DeliveryPipeline` objects.
      * 
@@ -1044,12 +945,10 @@ 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.
      * 
@@ -1058,34 +957,26 @@ 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(), @@ -1097,21 +988,19 @@ 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; @@ -1120,22 +1009,21 @@ 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 { @@ -1143,115 +1031,98 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * 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) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; 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() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); 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; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList unreachable_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList unreachable_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureUnreachableIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { unreachable_ = new com.google.protobuf.LazyStringArrayList(unreachable_); bitField0_ |= 0x00000002; - } + } } /** - * - * *
      * 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_.getUnmodifiableView(); } /** - * - * *
      * 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. */ @@ -1259,90 +1130,80 @@ 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) { + public Builder setUnreachable( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUnreachableIsMutable(); + throw new NullPointerException(); + } + ensureUnreachableIsMutable(); unreachable_.set(index, value); onChanged(); 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) { + public Builder addUnreachable( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUnreachableIsMutable(); + throw new NullPointerException(); + } + ensureUnreachableIsMutable(); unreachable_.add(value); onChanged(); 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_); onChanged(); return this; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @return This builder for chaining. */ public Builder clearUnreachable() { @@ -1352,30 +1213,28 @@ public Builder clearUnreachable() { 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) { + public Builder addUnreachableBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureUnreachableIsMutable(); unreachable_.add(value); onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1385,12 +1244,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(); } @@ -1399,16 +1258,16 @@ 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 { - return new ListDeliveryPipelinesResponse(input, extensionRegistry); - } - }; + 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 { + return new ListDeliveryPipelinesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1423,4 +1282,6 @@ public com.google.protobuf.Parser getParserForTyp public com.google.cloud.deploy.v1.ListDeliveryPipelinesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListDeliveryPipelinesResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListDeliveryPipelinesResponseOrBuilder.java similarity index 72% rename from proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListDeliveryPipelinesResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListDeliveryPipelinesResponseOrBuilder.java index d16caa6..9e3c893 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListDeliveryPipelinesResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListDeliveryPipelinesResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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.
    * 
@@ -44,8 +25,6 @@ public interface ListDeliveryPipelinesResponseOrBuilder */ com.google.cloud.deploy.v1.DeliveryPipeline getDeliveryPipelines(int index); /** - * - * *
    * The `DeliveryPipeline` objects.
    * 
@@ -54,102 +33,84 @@ public interface ListDeliveryPipelinesResponseOrBuilder */ 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/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListReleasesRequest.java b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListReleasesRequest.java similarity index 72% rename from proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListReleasesRequest.java rename to owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListReleasesRequest.java index ce804f1..a57c741 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListReleasesRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListReleasesRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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_ = ""; @@ -46,15 +28,16 @@ private ListReleasesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListReleasesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListReleasesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,86 +56,75 @@ private ListReleasesRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); + pageToken_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); - orderBy_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + filter_ = s; + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + + orderBy_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.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; 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 @@ -161,31 +133,29 @@ 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 { @@ -196,8 +166,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; 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` objects will be
@@ -205,7 +173,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -216,8 +183,6 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * Optional. A page token, received from a previous `ListReleases` call.
    * Provide this to retrieve the subsequent page.
@@ -226,7 +191,6 @@ public int getPageSize() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ @java.lang.Override @@ -235,15 +199,14 @@ 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.
@@ -252,15 +215,16 @@ 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 { @@ -271,15 +235,12 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int FILTER_FIELD_NUMBER = 4; private volatile java.lang.Object filter_; /** - * - * *
    * Optional. Filter builds 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 @@ -288,30 +249,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 builds 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 { @@ -322,14 +283,11 @@ public com.google.protobuf.ByteString getFilterBytes() { public static final int ORDER_BY_FIELD_NUMBER = 5; 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 @@ -338,29 +296,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; } } /** - * - * *
    * 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 { @@ -369,7 +327,6 @@ public com.google.protobuf.ByteString getOrderByBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -381,7 +338,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -410,7 +368,8 @@ 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_); @@ -429,19 +388,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -468,127 +431,118 @@ 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() @@ -596,15 +550,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -622,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_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 @@ -643,8 +598,7 @@ 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); + com.google.cloud.deploy.v1.ListReleasesRequest result = new com.google.cloud.deploy.v1.ListReleasesRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -658,39 +612,38 @@ public com.google.cloud.deploy.v1.ListReleasesRequest 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.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; @@ -749,22 +702,18 @@ public Builder mergeFrom( 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; @@ -773,23 +722,20 @@ 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 { @@ -797,76 +743,61 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * 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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); 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` objects will be
@@ -874,7 +805,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -882,8 +812,6 @@ 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` objects will be
@@ -891,19 +819,16 @@ public int getPageSize() {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); 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` objects will be
@@ -911,11 +836,10 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -923,8 +847,6 @@ 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.
@@ -933,13 +855,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; @@ -948,8 +870,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * Optional. A page token, received from a previous `ListReleases` call.
      * Provide this to retrieve the subsequent page.
@@ -958,14 +878,15 @@ 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 { @@ -973,8 +894,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * Optional. A page token, received from a previous `ListReleases` call.
      * Provide this to retrieve the subsequent page.
@@ -983,22 +902,20 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * 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) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * Optional. A page token, received from a previous `ListReleases` call.
      * Provide this to retrieve the subsequent page.
@@ -1007,18 +924,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * Optional. A page token, received from a previous `ListReleases` call.
      * Provide this to retrieve the subsequent page.
@@ -1027,16 +941,16 @@ 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) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -1044,21 +958,19 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * Optional. Filter builds 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; @@ -1067,22 +979,21 @@ public java.lang.String getFilter() { } } /** - * - * *
      * Optional. Filter builds 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 { @@ -1090,64 +1001,57 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * Optional. Filter builds 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) { + public Builder setFilter( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** - * - * *
      * Optional. Filter builds 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() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** - * - * *
      * Optional. Filter builds 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) { + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; @@ -1155,20 +1059,18 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) { 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; @@ -1177,21 +1079,20 @@ 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 { @@ -1199,68 +1100,61 @@ public com.google.protobuf.ByteString getOrderByBytes() { } } /** - * - * *
      * 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) { + public Builder setOrderBy( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + orderBy_ = value; 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() { - + orderBy_ = getDefaultInstance().getOrderBy(); 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]; - * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes(com.google.protobuf.ByteString value) { + public Builder setOrderByBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + orderBy_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1270,12 +1164,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(); } @@ -1284,16 +1178,16 @@ 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 { - return new ListReleasesRequest(input, extensionRegistry); - } - }; + 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 { + return new ListReleasesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1308,4 +1202,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.ListReleasesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListReleasesRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListReleasesRequestOrBuilder.java similarity index 69% rename from proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListReleasesRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListReleasesRequestOrBuilder.java index 2cb992b..536a7e5 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListReleasesRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListReleasesRequestOrBuilder.java @@ -1,60 +1,33 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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` objects will be
@@ -62,14 +35,11 @@ public interface ListReleasesRequestOrBuilder
    * 
* * 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.
@@ -78,13 +48,10 @@ public interface ListReleasesRequestOrBuilder
    * 
* * 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.
@@ -93,60 +60,50 @@ public interface ListReleasesRequestOrBuilder
    * 
* * 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 builds 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 builds 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/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListReleasesResponse.java b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListReleasesResponse.java similarity index 74% rename from proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListReleasesResponse.java rename to owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListReleasesResponse.java index 9d78709..0488e28 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListReleasesResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListReleasesResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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_ = ""; @@ -45,15 +27,16 @@ private ListReleasesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListReleasesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListReleasesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,47 +56,44 @@ private ListReleasesResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - releases_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - releases_.add( - input.readMessage( - com.google.cloud.deploy.v1.Release.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + releases_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + releases_.add( + input.readMessage(com.google.cloud.deploy.v1.Release.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - unreachable_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; - } - unreachable_.add(s); - break; + nextPageToken_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + unreachable_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000002; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + unreachable_.add(s); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { releases_ = java.util.Collections.unmodifiableList(releases_); @@ -125,27 +105,22 @@ private ListReleasesResponse( makeExtensionsImmutable(); } } - - 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; private java.util.List releases_; /** - * - * *
    * The `Release` objects.
    * 
@@ -157,8 +132,6 @@ public java.util.List getReleasesList() { return releases_; } /** - * - * *
    * The `Release` objects.
    * 
@@ -166,13 +139,11 @@ 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.
    * 
@@ -184,8 +155,6 @@ public int getReleasesCount() { return releases_.size(); } /** - * - * *
    * The `Release` objects.
    * 
@@ -197,8 +166,6 @@ public com.google.cloud.deploy.v1.Release getReleases(int index) { return releases_.get(index); } /** - * - * *
    * The `Release` objects.
    * 
@@ -206,22 +173,20 @@ 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; 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 @@ -230,30 +195,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 { @@ -264,42 +229,34 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { public static final int UNREACHABLE_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList unreachable_; /** - * - * *
    * 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. */ @@ -307,23 +264,20 @@ 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; @@ -335,7 +289,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < releases_.size(); i++) { output.writeMessage(1, releases_.get(i)); } @@ -355,7 +310,8 @@ 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_); @@ -376,17 +332,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -413,127 +371,118 @@ 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() @@ -541,17 +490,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getReleasesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -569,9 +518,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_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 @@ -590,8 +539,7 @@ 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); int from_bitField0_ = bitField0_; if (releasesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -616,39 +564,38 @@ public com.google.cloud.deploy.v1.ListReleasesResponse 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.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; @@ -656,8 +603,7 @@ 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()) { @@ -676,10 +622,9 @@ 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_); } @@ -727,28 +672,21 @@ public Builder mergeFrom( } 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.
      * 
@@ -763,8 +701,6 @@ public java.util.List getReleasesList() { } } /** - * - * *
      * The `Release` objects.
      * 
@@ -779,8 +715,6 @@ public int getReleasesCount() { } } /** - * - * *
      * The `Release` objects.
      * 
@@ -795,15 +729,14 @@ 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(); @@ -817,8 +750,6 @@ public Builder setReleases(int index, com.google.cloud.deploy.v1.Release value) return this; } /** - * - * *
      * The `Release` objects.
      * 
@@ -837,8 +768,6 @@ public Builder setReleases( return this; } /** - * - * *
      * The `Release` objects.
      * 
@@ -859,15 +788,14 @@ 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(); @@ -881,15 +809,14 @@ public Builder addReleases(int index, com.google.cloud.deploy.v1.Release value) 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()); @@ -900,8 +827,6 @@ public Builder addReleases(com.google.cloud.deploy.v1.Release.Builder builderFor return this; } /** - * - * *
      * The `Release` objects.
      * 
@@ -920,8 +845,6 @@ public Builder addReleases( return this; } /** - * - * *
      * The `Release` objects.
      * 
@@ -932,7 +855,8 @@ 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); @@ -940,8 +864,6 @@ public Builder addAllReleases( return this; } /** - * - * *
      * The `Release` objects.
      * 
@@ -959,8 +881,6 @@ public Builder clearReleases() { return this; } /** - * - * *
      * The `Release` objects.
      * 
@@ -978,44 +898,39 @@ 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 { @@ -1023,8 +938,6 @@ public com.google.cloud.deploy.v1.ReleaseOrBuilder getReleasesOrBuilder(int inde } } /** - * - * *
      * The `Release` objects.
      * 
@@ -1032,47 +945,42 @@ public com.google.cloud.deploy.v1.ReleaseOrBuilder getReleasesOrBuilder(int inde * 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_; @@ -1080,21 +988,19 @@ public java.util.List getReleasesBui 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; @@ -1103,22 +1009,21 @@ 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 { @@ -1126,115 +1031,98 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * 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) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; 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() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); 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; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList unreachable_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList unreachable_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureUnreachableIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { unreachable_ = new com.google.protobuf.LazyStringArrayList(unreachable_); bitField0_ |= 0x00000002; - } + } } /** - * - * *
      * 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_.getUnmodifiableView(); } /** - * - * *
      * 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. */ @@ -1242,90 +1130,80 @@ 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) { + public Builder setUnreachable( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUnreachableIsMutable(); + throw new NullPointerException(); + } + ensureUnreachableIsMutable(); unreachable_.set(index, value); onChanged(); 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) { + public Builder addUnreachable( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUnreachableIsMutable(); + throw new NullPointerException(); + } + ensureUnreachableIsMutable(); unreachable_.add(value); onChanged(); 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_); onChanged(); return this; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @return This builder for chaining. */ public Builder clearUnreachable() { @@ -1335,30 +1213,28 @@ public Builder clearUnreachable() { 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) { + public Builder addUnreachableBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureUnreachableIsMutable(); unreachable_.add(value); onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1368,12 +1244,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(); } @@ -1382,16 +1258,16 @@ 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 { - return new ListReleasesResponse(input, extensionRegistry); - } - }; + 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 { + return new ListReleasesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1406,4 +1282,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.ListReleasesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListReleasesResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListReleasesResponseOrBuilder.java similarity index 70% rename from proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListReleasesResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListReleasesResponseOrBuilder.java index dcc9cf4..69fdf3b 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListReleasesResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListReleasesResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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.
    * 
@@ -44,8 +25,6 @@ public interface ListReleasesResponseOrBuilder */ com.google.cloud.deploy.v1.Release getReleases(int index); /** - * - * *
    * The `Release` objects.
    * 
@@ -54,101 +33,84 @@ public interface ListReleasesResponseOrBuilder */ 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/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListRolloutsRequest.java b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListRolloutsRequest.java similarity index 72% rename from proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListRolloutsRequest.java rename to owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListRolloutsRequest.java index 06137a2..a9eb9aa 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListRolloutsRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListRolloutsRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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_ = ""; @@ -46,15 +28,16 @@ private ListRolloutsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListRolloutsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListRolloutsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,86 +56,75 @@ private ListRolloutsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); + pageToken_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); - orderBy_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + filter_ = s; + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + + orderBy_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.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; 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 @@ -161,31 +133,29 @@ 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 { @@ -196,8 +166,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; 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` objects will be
@@ -205,7 +173,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -216,8 +183,6 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * Optional. A page token, received from a previous `ListRollouts` call.
    * Provide this to retrieve the subsequent page.
@@ -226,7 +191,6 @@ public int getPageSize() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ @java.lang.Override @@ -235,15 +199,14 @@ 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.
@@ -252,15 +215,16 @@ 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 { @@ -271,15 +235,12 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int FILTER_FIELD_NUMBER = 4; private volatile java.lang.Object filter_; /** - * - * *
    * Optional. Filter builds 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 @@ -288,30 +249,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 builds 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 { @@ -322,14 +283,11 @@ public com.google.protobuf.ByteString getFilterBytes() { public static final int ORDER_BY_FIELD_NUMBER = 5; 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 @@ -338,29 +296,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; } } /** - * - * *
    * 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 { @@ -369,7 +327,6 @@ public com.google.protobuf.ByteString getOrderByBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -381,7 +338,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -410,7 +368,8 @@ 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_); @@ -429,19 +388,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -468,127 +431,118 @@ 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() @@ -596,15 +550,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -622,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_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 @@ -643,8 +598,7 @@ 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); + com.google.cloud.deploy.v1.ListRolloutsRequest result = new com.google.cloud.deploy.v1.ListRolloutsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -658,39 +612,38 @@ public com.google.cloud.deploy.v1.ListRolloutsRequest 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.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; @@ -749,22 +702,18 @@ public Builder mergeFrom( 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; @@ -773,23 +722,20 @@ 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 { @@ -797,76 +743,61 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * 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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); 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` objects will be
@@ -874,7 +805,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -882,8 +812,6 @@ 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` objects will be
@@ -891,19 +819,16 @@ public int getPageSize() {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); 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` objects will be
@@ -911,11 +836,10 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -923,8 +847,6 @@ 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.
@@ -933,13 +855,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; @@ -948,8 +870,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * Optional. A page token, received from a previous `ListRollouts` call.
      * Provide this to retrieve the subsequent page.
@@ -958,14 +878,15 @@ 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 { @@ -973,8 +894,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * Optional. A page token, received from a previous `ListRollouts` call.
      * Provide this to retrieve the subsequent page.
@@ -983,22 +902,20 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * 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) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * Optional. A page token, received from a previous `ListRollouts` call.
      * Provide this to retrieve the subsequent page.
@@ -1007,18 +924,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * Optional. A page token, received from a previous `ListRollouts` call.
      * Provide this to retrieve the subsequent page.
@@ -1027,16 +941,16 @@ 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) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -1044,21 +958,19 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * Optional. Filter builds 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; @@ -1067,22 +979,21 @@ public java.lang.String getFilter() { } } /** - * - * *
      * Optional. Filter builds 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 { @@ -1090,64 +1001,57 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * Optional. Filter builds 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) { + public Builder setFilter( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** - * - * *
      * Optional. Filter builds 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() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** - * - * *
      * Optional. Filter builds 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) { + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; @@ -1155,20 +1059,18 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) { 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; @@ -1177,21 +1079,20 @@ 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 { @@ -1199,68 +1100,61 @@ public com.google.protobuf.ByteString getOrderByBytes() { } } /** - * - * *
      * 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) { + public Builder setOrderBy( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + orderBy_ = value; 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() { - + orderBy_ = getDefaultInstance().getOrderBy(); 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]; - * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes(com.google.protobuf.ByteString value) { + public Builder setOrderByBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + orderBy_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1270,12 +1164,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(); } @@ -1284,16 +1178,16 @@ 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 { - return new ListRolloutsRequest(input, extensionRegistry); - } - }; + 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 { + return new ListRolloutsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1308,4 +1202,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.ListRolloutsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListRolloutsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListRolloutsRequestOrBuilder.java similarity index 69% rename from proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListRolloutsRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListRolloutsRequestOrBuilder.java index 8df6459..ac12023 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListRolloutsRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListRolloutsRequestOrBuilder.java @@ -1,60 +1,33 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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` objects will be
@@ -62,14 +35,11 @@ public interface ListRolloutsRequestOrBuilder
    * 
* * 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.
@@ -78,13 +48,10 @@ public interface ListRolloutsRequestOrBuilder
    * 
* * 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.
@@ -93,60 +60,50 @@ public interface ListRolloutsRequestOrBuilder
    * 
* * 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 builds 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 builds 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/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListRolloutsResponse.java b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListRolloutsResponse.java similarity index 74% rename from proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListRolloutsResponse.java rename to owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListRolloutsResponse.java index 360fecf..da162f5 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListRolloutsResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListRolloutsResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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_ = ""; @@ -45,15 +27,16 @@ private ListRolloutsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListRolloutsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListRolloutsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,47 +56,44 @@ private ListRolloutsResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - rollouts_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - rollouts_.add( - input.readMessage( - com.google.cloud.deploy.v1.Rollout.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + rollouts_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + rollouts_.add( + input.readMessage(com.google.cloud.deploy.v1.Rollout.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - unreachable_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; - } - unreachable_.add(s); - break; + nextPageToken_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + unreachable_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000002; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + unreachable_.add(s); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { rollouts_ = java.util.Collections.unmodifiableList(rollouts_); @@ -125,27 +105,22 @@ private ListRolloutsResponse( makeExtensionsImmutable(); } } - - 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; private java.util.List rollouts_; /** - * - * *
    * The `Rollout` objects.
    * 
@@ -157,8 +132,6 @@ public java.util.List getRolloutsList() { return rollouts_; } /** - * - * *
    * The `Rollout` objects.
    * 
@@ -166,13 +139,11 @@ 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.
    * 
@@ -184,8 +155,6 @@ public int getRolloutsCount() { return rollouts_.size(); } /** - * - * *
    * The `Rollout` objects.
    * 
@@ -197,8 +166,6 @@ public com.google.cloud.deploy.v1.Rollout getRollouts(int index) { return rollouts_.get(index); } /** - * - * *
    * The `Rollout` objects.
    * 
@@ -206,22 +173,20 @@ 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; 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 @@ -230,30 +195,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 { @@ -264,42 +229,34 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { public static final int UNREACHABLE_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList unreachable_; /** - * - * *
    * 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. */ @@ -307,23 +264,20 @@ 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; @@ -335,7 +289,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < rollouts_.size(); i++) { output.writeMessage(1, rollouts_.get(i)); } @@ -355,7 +310,8 @@ 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_); @@ -376,17 +332,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -413,127 +371,118 @@ 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() @@ -541,17 +490,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getRolloutsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -569,9 +518,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_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 @@ -590,8 +539,7 @@ 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); int from_bitField0_ = bitField0_; if (rolloutsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -616,39 +564,38 @@ public com.google.cloud.deploy.v1.ListRolloutsResponse 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.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; @@ -656,8 +603,7 @@ 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()) { @@ -676,10 +622,9 @@ 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_); } @@ -727,28 +672,21 @@ public Builder mergeFrom( } 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.
      * 
@@ -763,8 +701,6 @@ public java.util.List getRolloutsList() { } } /** - * - * *
      * The `Rollout` objects.
      * 
@@ -779,8 +715,6 @@ public int getRolloutsCount() { } } /** - * - * *
      * The `Rollout` objects.
      * 
@@ -795,15 +729,14 @@ 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(); @@ -817,8 +750,6 @@ public Builder setRollouts(int index, com.google.cloud.deploy.v1.Rollout value) return this; } /** - * - * *
      * The `Rollout` objects.
      * 
@@ -837,8 +768,6 @@ public Builder setRollouts( return this; } /** - * - * *
      * The `Rollout` objects.
      * 
@@ -859,15 +788,14 @@ 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(); @@ -881,15 +809,14 @@ public Builder addRollouts(int index, com.google.cloud.deploy.v1.Rollout value) 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()); @@ -900,8 +827,6 @@ public Builder addRollouts(com.google.cloud.deploy.v1.Rollout.Builder builderFor return this; } /** - * - * *
      * The `Rollout` objects.
      * 
@@ -920,8 +845,6 @@ public Builder addRollouts( return this; } /** - * - * *
      * The `Rollout` objects.
      * 
@@ -932,7 +855,8 @@ 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); @@ -940,8 +864,6 @@ public Builder addAllRollouts( return this; } /** - * - * *
      * The `Rollout` objects.
      * 
@@ -959,8 +881,6 @@ public Builder clearRollouts() { return this; } /** - * - * *
      * The `Rollout` objects.
      * 
@@ -978,44 +898,39 @@ 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 { @@ -1023,8 +938,6 @@ public com.google.cloud.deploy.v1.RolloutOrBuilder getRolloutsOrBuilder(int inde } } /** - * - * *
      * The `Rollout` objects.
      * 
@@ -1032,47 +945,42 @@ public com.google.cloud.deploy.v1.RolloutOrBuilder getRolloutsOrBuilder(int inde * 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_; @@ -1080,21 +988,19 @@ public java.util.List getRolloutsBui 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; @@ -1103,22 +1009,21 @@ 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 { @@ -1126,115 +1031,98 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * 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) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; 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() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); 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; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList unreachable_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList unreachable_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureUnreachableIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { unreachable_ = new com.google.protobuf.LazyStringArrayList(unreachable_); bitField0_ |= 0x00000002; - } + } } /** - * - * *
      * 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_.getUnmodifiableView(); } /** - * - * *
      * 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. */ @@ -1242,90 +1130,80 @@ 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) { + public Builder setUnreachable( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUnreachableIsMutable(); + throw new NullPointerException(); + } + ensureUnreachableIsMutable(); unreachable_.set(index, value); onChanged(); 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) { + public Builder addUnreachable( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUnreachableIsMutable(); + throw new NullPointerException(); + } + ensureUnreachableIsMutable(); unreachable_.add(value); onChanged(); 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_); onChanged(); return this; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @return This builder for chaining. */ public Builder clearUnreachable() { @@ -1335,30 +1213,28 @@ public Builder clearUnreachable() { 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) { + public Builder addUnreachableBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureUnreachableIsMutable(); unreachable_.add(value); onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1368,12 +1244,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(); } @@ -1382,16 +1258,16 @@ 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 { - return new ListRolloutsResponse(input, extensionRegistry); - } - }; + 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 { + return new ListRolloutsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1406,4 +1282,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.ListRolloutsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListRolloutsResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListRolloutsResponseOrBuilder.java similarity index 70% rename from proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListRolloutsResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListRolloutsResponseOrBuilder.java index a949a79..c4df877 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListRolloutsResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListRolloutsResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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.
    * 
@@ -44,8 +25,6 @@ public interface ListRolloutsResponseOrBuilder */ com.google.cloud.deploy.v1.Rollout getRollouts(int index); /** - * - * *
    * The `Rollout` objects.
    * 
@@ -54,101 +33,84 @@ public interface ListRolloutsResponseOrBuilder */ 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/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListTargetsRequest.java b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListTargetsRequest.java similarity index 72% rename from proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListTargetsRequest.java rename to owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListTargetsRequest.java index 17e5fb6..23ed2f7 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListTargetsRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListTargetsRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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_ = ""; @@ -46,15 +28,16 @@ private ListTargetsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListTargetsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListTargetsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,87 +56,76 @@ private ListTargetsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); + pageToken_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); - orderBy_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + filter_ = s; + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + + orderBy_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.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; 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 @@ -162,32 +134,30 @@ 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 { @@ -198,8 +168,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; 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 will be
@@ -207,7 +175,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -218,8 +185,6 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * Optional. A page token, received from a previous `ListTargets` call.
    * Provide this to retrieve the subsequent page.
@@ -228,7 +193,6 @@ public int getPageSize() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ @java.lang.Override @@ -237,15 +201,14 @@ 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.
@@ -254,15 +217,16 @@ 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 { @@ -273,15 +237,12 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int FILTER_FIELD_NUMBER = 4; private volatile java.lang.Object filter_; /** - * - * *
    * Optional. Filter builds 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 @@ -290,30 +251,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 builds 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 { @@ -324,14 +285,11 @@ public com.google.protobuf.ByteString getFilterBytes() { public static final int ORDER_BY_FIELD_NUMBER = 5; 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 @@ -340,29 +298,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; } } /** - * - * *
    * 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 { @@ -371,7 +329,6 @@ public com.google.protobuf.ByteString getOrderByBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -383,7 +340,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -412,7 +370,8 @@ 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_); @@ -431,19 +390,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -470,127 +433,118 @@ 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() @@ -598,15 +552,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -624,9 +579,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 @@ -645,8 +600,7 @@ 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); + com.google.cloud.deploy.v1.ListTargetsRequest result = new com.google.cloud.deploy.v1.ListTargetsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -660,39 +614,38 @@ public com.google.cloud.deploy.v1.ListTargetsRequest 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.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; @@ -751,23 +704,19 @@ public Builder mergeFrom( 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; @@ -776,24 +725,21 @@ 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 { @@ -801,79 +747,64 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * 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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); 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 will be
@@ -881,7 +812,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -889,8 +819,6 @@ 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 will be
@@ -898,19 +826,16 @@ public int getPageSize() {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); 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 will be
@@ -918,11 +843,10 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -930,8 +854,6 @@ 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.
@@ -940,13 +862,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; @@ -955,8 +877,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * Optional. A page token, received from a previous `ListTargets` call.
      * Provide this to retrieve the subsequent page.
@@ -965,14 +885,15 @@ 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 { @@ -980,8 +901,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * Optional. A page token, received from a previous `ListTargets` call.
      * Provide this to retrieve the subsequent page.
@@ -990,22 +909,20 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * 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) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * Optional. A page token, received from a previous `ListTargets` call.
      * Provide this to retrieve the subsequent page.
@@ -1014,18 +931,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * Optional. A page token, received from a previous `ListTargets` call.
      * Provide this to retrieve the subsequent page.
@@ -1034,16 +948,16 @@ 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) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -1051,21 +965,19 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * Optional. Filter builds 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; @@ -1074,22 +986,21 @@ public java.lang.String getFilter() { } } /** - * - * *
      * Optional. Filter builds 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 { @@ -1097,64 +1008,57 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * Optional. Filter builds 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) { + public Builder setFilter( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** - * - * *
      * Optional. Filter builds 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() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** - * - * *
      * Optional. Filter builds 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) { + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; @@ -1162,20 +1066,18 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) { 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; @@ -1184,21 +1086,20 @@ 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 { @@ -1206,68 +1107,61 @@ public com.google.protobuf.ByteString getOrderByBytes() { } } /** - * - * *
      * 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) { + public Builder setOrderBy( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + orderBy_ = value; 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() { - + orderBy_ = getDefaultInstance().getOrderBy(); 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]; - * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes(com.google.protobuf.ByteString value) { + public Builder setOrderByBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + orderBy_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1277,12 +1171,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(); } @@ -1291,16 +1185,16 @@ 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 { - return new ListTargetsRequest(input, extensionRegistry); - } - }; + 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 { + return new ListTargetsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1315,4 +1209,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.ListTargetsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListTargetsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListTargetsRequestOrBuilder.java similarity index 70% rename from proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListTargetsRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListTargetsRequestOrBuilder.java index fcc8966..463a0ea 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListTargetsRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListTargetsRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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 will be
@@ -64,14 +37,11 @@ public interface ListTargetsRequestOrBuilder
    * 
* * 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.
@@ -80,13 +50,10 @@ public interface ListTargetsRequestOrBuilder
    * 
* * 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.
@@ -95,60 +62,50 @@ public interface ListTargetsRequestOrBuilder
    * 
* * 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 builds 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 builds 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/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListTargetsResponse.java b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListTargetsResponse.java similarity index 74% rename from proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListTargetsResponse.java rename to owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListTargetsResponse.java index 0bde947..c8f9245 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListTargetsResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListTargetsResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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_ = ""; @@ -45,15 +27,16 @@ private ListTargetsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListTargetsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListTargetsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,46 +56,44 @@ private ListTargetsResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - targets_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - targets_.add( - input.readMessage(com.google.cloud.deploy.v1.Target.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + targets_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + targets_.add( + input.readMessage(com.google.cloud.deploy.v1.Target.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - unreachable_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; - } - unreachable_.add(s); - break; + nextPageToken_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + unreachable_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000002; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + unreachable_.add(s); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { targets_ = java.util.Collections.unmodifiableList(targets_); @@ -124,27 +105,22 @@ private ListTargetsResponse( makeExtensionsImmutable(); } } - - 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; private java.util.List targets_; /** - * - * *
    * The `Target` objects.
    * 
@@ -156,8 +132,6 @@ public java.util.List getTargetsList() { return targets_; } /** - * - * *
    * The `Target` objects.
    * 
@@ -165,13 +139,11 @@ 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.
    * 
@@ -183,8 +155,6 @@ public int getTargetsCount() { return targets_.size(); } /** - * - * *
    * The `Target` objects.
    * 
@@ -196,8 +166,6 @@ public com.google.cloud.deploy.v1.Target getTargets(int index) { return targets_.get(index); } /** - * - * *
    * The `Target` objects.
    * 
@@ -205,22 +173,20 @@ 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; 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 @@ -229,30 +195,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 { @@ -263,42 +229,34 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { public static final int UNREACHABLE_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList unreachable_; /** - * - * *
    * 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. */ @@ -306,23 +264,20 @@ 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; @@ -334,7 +289,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < targets_.size(); i++) { output.writeMessage(1, targets_.get(i)); } @@ -354,7 +310,8 @@ 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_); @@ -375,17 +332,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -412,127 +371,118 @@ 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() @@ -540,17 +490,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getTargetsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -568,9 +518,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_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 @@ -589,8 +539,7 @@ 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); int from_bitField0_ = bitField0_; if (targetsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -615,39 +564,38 @@ public com.google.cloud.deploy.v1.ListTargetsResponse 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.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; @@ -674,10 +622,9 @@ 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_); } @@ -725,28 +672,21 @@ public Builder mergeFrom( } 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.
      * 
@@ -761,8 +701,6 @@ public java.util.List getTargetsList() { } } /** - * - * *
      * The `Target` objects.
      * 
@@ -777,8 +715,6 @@ public int getTargetsCount() { } } /** - * - * *
      * The `Target` objects.
      * 
@@ -793,15 +729,14 @@ 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(); @@ -815,8 +750,6 @@ public Builder setTargets(int index, com.google.cloud.deploy.v1.Target value) { return this; } /** - * - * *
      * The `Target` objects.
      * 
@@ -835,8 +768,6 @@ public Builder setTargets( return this; } /** - * - * *
      * The `Target` objects.
      * 
@@ -857,15 +788,14 @@ 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(); @@ -879,15 +809,14 @@ public Builder addTargets(int index, com.google.cloud.deploy.v1.Target value) { 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()); @@ -898,8 +827,6 @@ public Builder addTargets(com.google.cloud.deploy.v1.Target.Builder builderForVa return this; } /** - * - * *
      * The `Target` objects.
      * 
@@ -918,8 +845,6 @@ public Builder addTargets( return this; } /** - * - * *
      * The `Target` objects.
      * 
@@ -930,7 +855,8 @@ 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); @@ -938,8 +864,6 @@ public Builder addAllTargets( return this; } /** - * - * *
      * The `Target` objects.
      * 
@@ -957,8 +881,6 @@ public Builder clearTargets() { return this; } /** - * - * *
      * The `Target` objects.
      * 
@@ -976,44 +898,39 @@ 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 { @@ -1021,8 +938,6 @@ public com.google.cloud.deploy.v1.TargetOrBuilder getTargetsOrBuilder(int index) } } /** - * - * *
      * The `Target` objects.
      * 
@@ -1030,47 +945,42 @@ public com.google.cloud.deploy.v1.TargetOrBuilder getTargetsOrBuilder(int index) * 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_; @@ -1078,21 +988,19 @@ public java.util.List getTargetsBuild 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; @@ -1101,22 +1009,21 @@ 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 { @@ -1124,115 +1031,98 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * 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) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; 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() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); 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; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList unreachable_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList unreachable_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureUnreachableIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { unreachable_ = new com.google.protobuf.LazyStringArrayList(unreachable_); bitField0_ |= 0x00000002; - } + } } /** - * - * *
      * 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_.getUnmodifiableView(); } /** - * - * *
      * 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. */ @@ -1240,90 +1130,80 @@ 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) { + public Builder setUnreachable( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUnreachableIsMutable(); + throw new NullPointerException(); + } + ensureUnreachableIsMutable(); unreachable_.set(index, value); onChanged(); 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) { + public Builder addUnreachable( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUnreachableIsMutable(); + throw new NullPointerException(); + } + ensureUnreachableIsMutable(); unreachable_.add(value); onChanged(); 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_); onChanged(); return this; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @return This builder for chaining. */ public Builder clearUnreachable() { @@ -1333,30 +1213,28 @@ public Builder clearUnreachable() { 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) { + public Builder addUnreachableBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureUnreachableIsMutable(); unreachable_.add(value); onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1366,12 +1244,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(); } @@ -1380,16 +1258,16 @@ 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 { - return new ListTargetsResponse(input, extensionRegistry); - } - }; + 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 { + return new ListTargetsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1404,4 +1282,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.ListTargetsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListTargetsResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListTargetsResponseOrBuilder.java similarity index 70% rename from proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListTargetsResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListTargetsResponseOrBuilder.java index 3b99d8f..7d60b09 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListTargetsResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ListTargetsResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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.
    * 
@@ -44,8 +25,6 @@ public interface ListTargetsResponseOrBuilder */ com.google.cloud.deploy.v1.Target getTargets(int index); /** - * - * *
    * The `Target` objects.
    * 
@@ -54,101 +33,84 @@ public interface ListTargetsResponseOrBuilder */ 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/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/LocationName.java b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/LocationName.java similarity index 100% rename from proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/LocationName.java rename to owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/LocationName.java diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/OperationMetadata.java b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/OperationMetadata.java similarity index 71% rename from proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/OperationMetadata.java rename to owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/OperationMetadata.java index 6dad9a7..f734026 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/OperationMetadata.java +++ b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/OperationMetadata.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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_ = ""; @@ -46,15 +28,16 @@ private OperationMetadata() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new OperationMetadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private OperationMetadata( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,115 +56,101 @@ private OperationMetadata( case 0: done = true; break; - case 10: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); } - case 18: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (endTime_ != null) { - subBuilder = endTime_.toBuilder(); - } - endTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(endTime_); - endTime_ = subBuilder.buildPartial(); - } - - break; + createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - target_ = s; - break; + break; + } + case 18: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (endTime_ != null) { + subBuilder = endTime_.toBuilder(); } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); - - verb_ = s; - break; + endTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(endTime_); + endTime_ = subBuilder.buildPartial(); } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); - statusMessage_ = s; - break; - } - case 48: - { - requestedCancellation_ = input.readBool(); - break; - } - case 58: - { - java.lang.String s = input.readStringRequireUtf8(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - apiVersion_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + target_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + verb_ = s; + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + + statusMessage_ = s; + break; + } + case 48: { + + requestedCancellation_ = input.readBool(); + break; + } + case 58: { + java.lang.String s = input.readStringRequireUtf8(); + + apiVersion_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.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 @@ -189,15 +158,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ @java.lang.Override @@ -205,14 +170,11 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -222,15 +184,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp endTime_; /** - * - * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the endTime field is set. */ @java.lang.Override @@ -238,15 +196,11 @@ public boolean hasEndTime() { return endTime_ != null; } /** - * - * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The endTime. */ @java.lang.Override @@ -254,14 +208,11 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** - * - * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { @@ -271,14 +222,11 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { public static final int TARGET_FIELD_NUMBER = 3; private volatile java.lang.Object target_; /** - * - * *
    * Output only. Server-defined resource path for the target of the operation.
    * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The target. */ @java.lang.Override @@ -287,29 +235,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 { @@ -320,14 +268,11 @@ public com.google.protobuf.ByteString getTargetBytes() { public static final int VERB_FIELD_NUMBER = 4; private volatile java.lang.Object verb_; /** - * - * *
    * Output only. Name of the verb executed by the operation.
    * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The verb. */ @java.lang.Override @@ -336,29 +281,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 { @@ -369,14 +314,11 @@ public com.google.protobuf.ByteString getVerbBytes() { public static final int STATUS_MESSAGE_FIELD_NUMBER = 5; 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 @@ -385,29 +327,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 { @@ -418,8 +360,6 @@ public com.google.protobuf.ByteString getStatusMessageBytes() { public static final int REQUESTED_CANCELLATION_FIELD_NUMBER = 6; private boolean requestedCancellation_; /** - * - * *
    * Output only. Identifies whether the user has requested cancellation
    * of the operation. Operations that have successfully been cancelled
@@ -428,7 +368,6 @@ public com.google.protobuf.ByteString getStatusMessageBytes() {
    * 
* * bool requested_cancellation = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The requestedCancellation. */ @java.lang.Override @@ -439,14 +378,11 @@ public boolean getRequestedCancellation() { public static final int API_VERSION_FIELD_NUMBER = 7; private volatile java.lang.Object apiVersion_; /** - * - * *
    * Output only. API version used to start the operation.
    * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The apiVersion. */ @java.lang.Override @@ -455,29 +391,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 { @@ -486,7 +422,6 @@ public com.google.protobuf.ByteString getApiVersionBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -498,7 +433,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (createTime_ != null) { output.writeMessage(1, getCreateTime()); } @@ -530,10 +466,12 @@ public int getSerializedSize() { size = 0; if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getCreateTime()); } if (endTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEndTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getEndTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(target_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, target_); @@ -545,7 +483,8 @@ 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_); @@ -558,27 +497,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -605,7 +550,8 @@ 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) + unknownFields.hashCode(); @@ -613,127 +559,118 @@ 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() @@ -741,15 +678,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -779,9 +717,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 @@ -800,8 +738,7 @@ 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); + com.google.cloud.deploy.v1.OperationMetadata result = new com.google.cloud.deploy.v1.OperationMetadata(this); if (createTimeBuilder_ == null) { result.createTime_ = createTime_; } else { @@ -825,39 +762,38 @@ public com.google.cloud.deploy.v1.OperationMetadata 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.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; @@ -922,58 +858,39 @@ public Builder mergeFrom( 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 createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -989,17 +906,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -1010,21 +924,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -1036,15 +946,11 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearCreateTime() { if (createTimeBuilder_ == null) { @@ -1058,64 +964,48 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), getParentForChildren(), isClean()); + createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), + getParentForChildren(), + isClean()); createTime_ = null; } return createTimeBuilder_; @@ -1123,35 +1013,24 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp endTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - endTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the endTime field is set. */ public boolean hasEndTime() { return endTimeBuilder_ != null || endTime_ != null; } /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -1162,14 +1041,11 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { @@ -1185,16 +1061,14 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEndTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (endTimeBuilder_ == null) { endTime_ = builderForValue.build(); onChanged(); @@ -1205,20 +1079,17 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) return this; } /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { if (endTime_ != null) { endTime_ = - com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); } else { endTime_ = value; } @@ -1230,14 +1101,11 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearEndTime() { if (endTimeBuilder_ == null) { @@ -1251,59 +1119,48 @@ public Builder clearEndTime() { return this; } /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { - + onChanged(); return getEndTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { if (endTimeBuilder_ != null) { return endTimeBuilder_.getMessageOrBuilder(); } else { - return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + return endTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } } /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getEndTimeFieldBuilder() { if (endTimeBuilder_ == null) { - endTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getEndTime(), getParentForChildren(), isClean()); + endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getEndTime(), + getParentForChildren(), + isClean()); endTime_ = null; } return endTimeBuilder_; @@ -1311,20 +1168,18 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { private java.lang.Object target_ = ""; /** - * - * *
      * Output only. Server-defined resource path for the target of the operation.
      * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The target. */ public java.lang.String getTarget() { java.lang.Object ref = target_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); target_ = s; return s; @@ -1333,21 +1188,20 @@ public java.lang.String getTarget() { } } /** - * - * *
      * Output only. Server-defined resource path for the target of the operation.
      * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for target. */ - public com.google.protobuf.ByteString getTargetBytes() { + public com.google.protobuf.ByteString + getTargetBytes() { java.lang.Object ref = target_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); target_ = b; return b; } else { @@ -1355,61 +1209,54 @@ public com.google.protobuf.ByteString getTargetBytes() { } } /** - * - * *
      * Output only. Server-defined resource path for the target of the operation.
      * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The target to set. * @return This builder for chaining. */ - public Builder setTarget(java.lang.String value) { + public Builder setTarget( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + target_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Server-defined resource path for the target of the operation.
      * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearTarget() { - + target_ = getDefaultInstance().getTarget(); onChanged(); return this; } /** - * - * *
      * Output only. Server-defined resource path for the target of the operation.
      * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for target to set. * @return This builder for chaining. */ - public Builder setTargetBytes(com.google.protobuf.ByteString value) { + public Builder setTargetBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + target_ = value; onChanged(); return this; @@ -1417,20 +1264,18 @@ public Builder setTargetBytes(com.google.protobuf.ByteString value) { private java.lang.Object verb_ = ""; /** - * - * *
      * Output only. Name of the verb executed by the operation.
      * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The verb. */ public java.lang.String getVerb() { java.lang.Object ref = verb_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); verb_ = s; return s; @@ -1439,21 +1284,20 @@ public java.lang.String getVerb() { } } /** - * - * *
      * Output only. Name of the verb executed by the operation.
      * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for verb. */ - public com.google.protobuf.ByteString getVerbBytes() { + public com.google.protobuf.ByteString + getVerbBytes() { java.lang.Object ref = verb_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); verb_ = b; return b; } else { @@ -1461,61 +1305,54 @@ public com.google.protobuf.ByteString getVerbBytes() { } } /** - * - * *
      * Output only. Name of the verb executed by the operation.
      * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The verb to set. * @return This builder for chaining. */ - public Builder setVerb(java.lang.String value) { + public Builder setVerb( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + verb_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Name of the verb executed by the operation.
      * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearVerb() { - + verb_ = getDefaultInstance().getVerb(); onChanged(); return this; } /** - * - * *
      * Output only. Name of the verb executed by the operation.
      * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for verb to set. * @return This builder for chaining. */ - public Builder setVerbBytes(com.google.protobuf.ByteString value) { + public Builder setVerbBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + verb_ = value; onChanged(); return this; @@ -1523,20 +1360,18 @@ public Builder setVerbBytes(com.google.protobuf.ByteString value) { 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; @@ -1545,21 +1380,20 @@ 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 { @@ -1567,70 +1401,61 @@ public com.google.protobuf.ByteString getStatusMessageBytes() { } } /** - * - * *
      * 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) { + public Builder setStatusMessage( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + statusMessage_ = value; 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() { - + statusMessage_ = getDefaultInstance().getStatusMessage(); onChanged(); 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) { + public Builder setStatusMessageBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + statusMessage_ = value; onChanged(); 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
@@ -1639,7 +1464,6 @@ public Builder setStatusMessageBytes(com.google.protobuf.ByteString value) {
      * 
* * bool requested_cancellation = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The requestedCancellation. */ @java.lang.Override @@ -1647,8 +1471,6 @@ public boolean getRequestedCancellation() { return requestedCancellation_; } /** - * - * *
      * Output only. Identifies whether the user has requested cancellation
      * of the operation. Operations that have successfully been cancelled
@@ -1657,19 +1479,16 @@ public boolean getRequestedCancellation() {
      * 
* * bool requested_cancellation = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The requestedCancellation to set. * @return This builder for chaining. */ public Builder setRequestedCancellation(boolean value) { - + requestedCancellation_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Identifies whether the user has requested cancellation
      * of the operation. Operations that have successfully been cancelled
@@ -1678,11 +1497,10 @@ public Builder setRequestedCancellation(boolean value) {
      * 
* * bool requested_cancellation = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearRequestedCancellation() { - + requestedCancellation_ = false; onChanged(); return this; @@ -1690,20 +1508,18 @@ 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; @@ -1712,21 +1528,20 @@ public java.lang.String getApiVersion() { } } /** - * - * *
      * Output only. API version used to start the operation.
      * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for apiVersion. */ - public com.google.protobuf.ByteString getApiVersionBytes() { + public com.google.protobuf.ByteString + getApiVersionBytes() { java.lang.Object ref = apiVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); apiVersion_ = b; return b; } else { @@ -1734,68 +1549,61 @@ public com.google.protobuf.ByteString getApiVersionBytes() { } } /** - * - * *
      * Output only. API version used to start the operation.
      * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The apiVersion to set. * @return This builder for chaining. */ - public Builder setApiVersion(java.lang.String value) { + public Builder setApiVersion( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + apiVersion_ = value; onChanged(); return this; } /** - * - * *
      * Output only. API version used to start the operation.
      * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearApiVersion() { - + apiVersion_ = getDefaultInstance().getApiVersion(); onChanged(); return this; } /** - * - * *
      * Output only. API version used to start the operation.
      * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for apiVersion to set. * @return This builder for chaining. */ - public Builder setApiVersionBytes(com.google.protobuf.ByteString value) { + public Builder setApiVersionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + apiVersion_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1805,12 +1613,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(); } @@ -1819,16 +1627,16 @@ 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 { - return new OperationMetadata(input, extensionRegistry); - } - }; + 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 { + return new OperationMetadata(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1843,4 +1651,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.OperationMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/OperationMetadataOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/OperationMetadataOrBuilder.java similarity index 75% rename from proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/OperationMetadataOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/OperationMetadataOrBuilder.java index 4b2f943..8bf429b 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/OperationMetadataOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/OperationMetadataOrBuilder.java @@ -1,182 +1,127 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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
@@ -185,33 +130,27 @@ public interface OperationMetadataOrBuilder
    * 
* * 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/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PipelineCondition.java b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PipelineCondition.java similarity index 68% rename from proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PipelineCondition.java rename to owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PipelineCondition.java index 077eae3..0c8693a 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PipelineCondition.java +++ b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PipelineCondition.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private PipelineCondition( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,85 +52,72 @@ private PipelineCondition( case 0: done = true; break; - case 10: - { - com.google.cloud.deploy.v1.PipelineReadyCondition.Builder subBuilder = null; - if (pipelineReadyCondition_ != null) { - subBuilder = pipelineReadyCondition_.toBuilder(); - } - pipelineReadyCondition_ = - input.readMessage( - com.google.cloud.deploy.v1.PipelineReadyCondition.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(pipelineReadyCondition_); - pipelineReadyCondition_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.cloud.deploy.v1.PipelineReadyCondition.Builder subBuilder = null; + if (pipelineReadyCondition_ != null) { + subBuilder = pipelineReadyCondition_.toBuilder(); + } + pipelineReadyCondition_ = input.readMessage(com.google.cloud.deploy.v1.PipelineReadyCondition.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(pipelineReadyCondition_); + pipelineReadyCondition_ = subBuilder.buildPartial(); } - case 26: - { - com.google.cloud.deploy.v1.TargetsPresentCondition.Builder subBuilder = null; - if (targetsPresentCondition_ != null) { - subBuilder = targetsPresentCondition_.toBuilder(); - } - targetsPresentCondition_ = - input.readMessage( - com.google.cloud.deploy.v1.TargetsPresentCondition.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(targetsPresentCondition_); - targetsPresentCondition_ = subBuilder.buildPartial(); - } - break; + break; + } + case 26: { + com.google.cloud.deploy.v1.TargetsPresentCondition.Builder subBuilder = null; + if (targetsPresentCondition_ != null) { + subBuilder = targetsPresentCondition_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + targetsPresentCondition_ = input.readMessage(com.google.cloud.deploy.v1.TargetsPresentCondition.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(targetsPresentCondition_); + targetsPresentCondition_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.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 @@ -154,25 +125,18 @@ 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.
    * 
@@ -180,22 +144,18 @@ 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() { + public com.google.cloud.deploy.v1.PipelineReadyConditionOrBuilder getPipelineReadyConditionOrBuilder() { return getPipelineReadyCondition(); } public static final int TARGETS_PRESENT_CONDITION_FIELD_NUMBER = 3; private com.google.cloud.deploy.v1.TargetsPresentCondition targetsPresentCondition_; /** - * - * *
    * Detalis 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 @@ -203,25 +163,18 @@ public boolean hasTargetsPresentCondition() { return targetsPresentCondition_ != null; } /** - * - * *
    * Detalis 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_; } /** - * - * *
    * Detalis around targets enumerated in the pipeline.
    * 
@@ -229,13 +182,11 @@ 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() { + public com.google.cloud.deploy.v1.TargetsPresentConditionOrBuilder getTargetsPresentConditionOrBuilder() { return getTargetsPresentCondition(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -247,7 +198,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (pipelineReadyCondition_ != null) { output.writeMessage(1, getPipelineReadyCondition()); } @@ -264,12 +216,12 @@ 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()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -279,21 +231,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -319,127 +272,118 @@ 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() @@ -447,15 +391,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -475,9 +420,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 @@ -496,8 +441,7 @@ 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); + com.google.cloud.deploy.v1.PipelineCondition result = new com.google.cloud.deploy.v1.PipelineCondition(this); if (pipelineReadyConditionBuilder_ == null) { result.pipelineReadyCondition_ = pipelineReadyCondition_; } else { @@ -516,39 +460,38 @@ public com.google.cloud.deploy.v1.PipelineCondition 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.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; @@ -594,55 +537,41 @@ public Builder mergeFrom( 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 pipelineReadyConditionBuilder_ != null || pipelineReadyCondition_ != null; } /** - * - * *
      * 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(); @@ -656,8 +585,6 @@ public Builder setPipelineReadyCondition( return this; } /** - * - * *
      * Details around the Pipeline's overall status.
      * 
@@ -676,22 +603,17 @@ 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 (pipelineReadyCondition_ != null) { pipelineReadyCondition_ = - com.google.cloud.deploy.v1.PipelineReadyCondition.newBuilder(pipelineReadyCondition_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.deploy.v1.PipelineReadyCondition.newBuilder(pipelineReadyCondition_).mergeFrom(value).buildPartial(); } else { pipelineReadyCondition_ = value; } @@ -703,8 +625,6 @@ public Builder mergePipelineReadyCondition( return this; } /** - * - * *
      * Details around the Pipeline's overall status.
      * 
@@ -723,42 +643,33 @@ 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() { + 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.
      * 
@@ -766,17 +677,14 @@ public Builder clearPipelineReadyCondition() { * .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_; @@ -784,55 +692,41 @@ public Builder clearPipelineReadyCondition() { 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_; /** - * - * *
      * Detalis 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 targetsPresentConditionBuilder_ != null || targetsPresentCondition_ != null; } /** - * - * *
      * Detalis 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(); } } /** - * - * *
      * Detalis 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(); @@ -846,8 +740,6 @@ public Builder setTargetsPresentCondition( return this; } /** - * - * *
      * Detalis around targets enumerated in the pipeline.
      * 
@@ -866,23 +758,17 @@ public Builder setTargetsPresentCondition( return this; } /** - * - * *
      * Detalis 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 (targetsPresentCondition_ != null) { targetsPresentCondition_ = - com.google.cloud.deploy.v1.TargetsPresentCondition.newBuilder( - targetsPresentCondition_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.deploy.v1.TargetsPresentCondition.newBuilder(targetsPresentCondition_).mergeFrom(value).buildPartial(); } else { targetsPresentCondition_ = value; } @@ -894,8 +780,6 @@ public Builder mergeTargetsPresentCondition( return this; } /** - * - * *
      * Detalis around targets enumerated in the pipeline.
      * 
@@ -914,42 +798,33 @@ public Builder clearTargetsPresentCondition() { return this; } /** - * - * *
      * Detalis 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() { + onChanged(); return getTargetsPresentConditionFieldBuilder().getBuilder(); } /** - * - * *
      * Detalis 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_; } } /** - * - * *
      * Detalis around targets enumerated in the pipeline.
      * 
@@ -957,24 +832,21 @@ public Builder clearTargetsPresentCondition() { * .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_; } - @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); } @@ -984,12 +856,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(); } @@ -998,16 +870,16 @@ 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 { - return new PipelineCondition(input, extensionRegistry); - } - }; + 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 { + return new PipelineCondition(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1022,4 +894,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.PipelineCondition getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PipelineConditionOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PipelineConditionOrBuilder.java similarity index 73% rename from proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PipelineConditionOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PipelineConditionOrBuilder.java index 438144f..fd5cf24 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PipelineConditionOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PipelineConditionOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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.
    * 
@@ -59,32 +35,24 @@ public interface PipelineConditionOrBuilder com.google.cloud.deploy.v1.PipelineReadyConditionOrBuilder getPipelineReadyConditionOrBuilder(); /** - * - * *
    * Detalis around targets enumerated in the pipeline.
    * 
* * .google.cloud.deploy.v1.TargetsPresentCondition targets_present_condition = 3; - * * @return Whether the targetsPresentCondition field is set. */ boolean hasTargetsPresentCondition(); /** - * - * *
    * Detalis 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(); /** - * - * *
    * Detalis around targets enumerated in the pipeline.
    * 
diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PipelineReadyCondition.java b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PipelineReadyCondition.java similarity index 70% rename from proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PipelineReadyCondition.java rename to owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PipelineReadyCondition.java index 7474479..3ff0e15 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PipelineReadyCondition.java +++ b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PipelineReadyCondition.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** - * - * *
  * PipelineReadyCondition contains information around the status of the
  * Pipeline.
@@ -28,29 +11,30 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private PipelineReadyCondition(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -69,65 +53,59 @@ private PipelineReadyCondition(
           case 0:
             done = true;
             break;
-          case 24:
-            {
-              status_ = input.readBool();
-              break;
+          case 24: {
+
+            status_ = input.readBool();
+            break;
+          }
+          case 34: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (updateTime_ != null) {
+              subBuilder = updateTime_.toBuilder();
             }
-          case 34:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (updateTime_ != null) {
-                subBuilder = updateTime_.toBuilder();
-              }
-              updateTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(updateTime_);
-                updateTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+            updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(updateTime_);
+              updateTime_ = subBuilder.buildPartial();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.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_;
   /**
-   *
-   *
    * 
    * True if the Pipeline is in a valid state. Otherwise at least one condition
    * in `PipelineCondition` is in an invalid state. Iterate over those
@@ -136,7 +114,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * bool status = 3; - * * @return The status. */ @java.lang.Override @@ -147,14 +124,11 @@ 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 @@ -162,14 +136,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * Last time the condition was updated.
    * 
* * .google.protobuf.Timestamp update_time = 4; - * * @return The updateTime. */ @java.lang.Override @@ -177,8 +148,6 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * Last time the condition was updated.
    * 
@@ -191,7 +160,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -203,7 +171,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (status_ != false) { output.writeBool(3, status_); } @@ -220,10 +189,12 @@ 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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -233,18 +204,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -258,7 +230,8 @@ 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(); @@ -269,103 +242,96 @@ 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.
@@ -373,23 +339,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * 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()
@@ -397,15 +361,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -421,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_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
@@ -442,8 +407,7 @@ 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);
+      com.google.cloud.deploy.v1.PipelineReadyCondition result = new com.google.cloud.deploy.v1.PipelineReadyCondition(this);
       result.status_ = status_;
       if (updateTimeBuilder_ == null) {
         result.updateTime_ = updateTime_;
@@ -458,39 +422,38 @@ public com.google.cloud.deploy.v1.PipelineReadyCondition 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.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;
@@ -498,8 +461,7 @@ 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());
       }
@@ -525,8 +487,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.deploy.v1.PipelineReadyCondition) e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.deploy.v1.PipelineReadyCondition) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -536,10 +497,8 @@ public Builder mergeFrom(
       return this;
     }
 
-    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
@@ -548,7 +507,6 @@ public Builder mergeFrom(
      * 
* * bool status = 3; - * * @return The status. */ @java.lang.Override @@ -556,8 +514,6 @@ 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
@@ -566,19 +522,16 @@ public boolean getStatus() {
      * 
* * bool status = 3; - * * @param value The status to set. * @return This builder for chaining. */ public Builder setStatus(boolean value) { - + status_ = value; onChanged(); 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
@@ -587,11 +540,10 @@ public Builder setStatus(boolean value) {
      * 
* * bool status = 3; - * * @return This builder for chaining. */ public Builder clearStatus() { - + status_ = false; onChanged(); return this; @@ -599,47 +551,34 @@ 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 updateTimeBuilder_ != null || updateTime_ != null; } /** - * - * *
      * 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.
      * 
@@ -660,15 +599,14 @@ 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(); onChanged(); @@ -679,8 +617,6 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Last time the condition was updated.
      * 
@@ -691,7 +627,7 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -703,8 +639,6 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Last time the condition was updated.
      * 
@@ -723,8 +657,6 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * Last time the condition was updated.
      * 
@@ -732,13 +664,11 @@ public Builder clearUpdateTime() { * .google.protobuf.Timestamp update_time = 4; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Last time the condition was updated.
      * 
@@ -749,14 +679,11 @@ 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.
      * 
@@ -764,24 +691,21 @@ 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); } @@ -791,12 +715,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(); } @@ -805,16 +729,16 @@ 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 { - return new PipelineReadyCondition(input, extensionRegistry); - } - }; + 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 { + return new PipelineReadyCondition(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -829,4 +753,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.PipelineReadyCondition getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PipelineReadyConditionOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PipelineReadyConditionOrBuilder.java similarity index 65% rename from proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PipelineReadyConditionOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PipelineReadyConditionOrBuilder.java index 7409f50..f86867e 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PipelineReadyConditionOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PipelineReadyConditionOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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
@@ -34,38 +16,29 @@ public interface PipelineReadyConditionOrBuilder
    * 
* * 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/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PrivatePool.java b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PrivatePool.java similarity index 72% rename from proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PrivatePool.java rename to owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PrivatePool.java index 5700f66..e1ee018 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PrivatePool.java +++ b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PrivatePool.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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_ = ""; @@ -45,15 +27,16 @@ private PrivatePool() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new PrivatePool(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private PrivatePool( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,75 +55,65 @@ private PrivatePool( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - workerPool_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + workerPool_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - serviceAccount_ = s; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + serviceAccount_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - artifactStorage_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + artifactStorage_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.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; 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 @@ -149,32 +122,30 @@ 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 { @@ -185,8 +156,6 @@ public com.google.protobuf.ByteString getWorkerPoolBytes() { public static final int SERVICE_ACCOUNT_FIELD_NUMBER = 2; private volatile java.lang.Object serviceAccount_; /** - * - * *
    * Optional. Google service account to use for execution. If unspecified,
    * the project execution service account
@@ -194,7 +163,6 @@ public com.google.protobuf.ByteString getWorkerPoolBytes() {
    * 
* * string service_account = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The serviceAccount. */ @java.lang.Override @@ -203,15 +171,14 @@ 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
@@ -219,15 +186,16 @@ 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 { @@ -238,8 +206,6 @@ public com.google.protobuf.ByteString getServiceAccountBytes() { public static final int ARTIFACT_STORAGE_FIELD_NUMBER = 3; 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
@@ -248,7 +214,6 @@ public com.google.protobuf.ByteString getServiceAccountBytes() {
    * 
* * string artifact_storage = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The artifactStorage. */ @java.lang.Override @@ -257,15 +222,14 @@ 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
@@ -274,15 +238,16 @@ 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 { @@ -291,7 +256,6 @@ public com.google.protobuf.ByteString getArtifactStorageBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -303,7 +267,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workerPool_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, workerPool_); } @@ -339,16 +304,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -371,127 +339,118 @@ 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() @@ -499,15 +458,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -521,9 +481,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 @@ -542,8 +502,7 @@ 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); + com.google.cloud.deploy.v1.PrivatePool result = new com.google.cloud.deploy.v1.PrivatePool(this); result.workerPool_ = workerPool_; result.serviceAccount_ = serviceAccount_; result.artifactStorage_ = artifactStorage_; @@ -555,39 +514,38 @@ public com.google.cloud.deploy.v1.PrivatePool 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.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; @@ -639,23 +597,19 @@ public Builder mergeFrom( 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; @@ -664,24 +618,21 @@ 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 { @@ -689,70 +640,57 @@ public com.google.protobuf.ByteString getWorkerPoolBytes() { } } /** - * - * *
      * 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) { + public Builder setWorkerPool( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + workerPool_ = value; 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() { - + workerPool_ = getDefaultInstance().getWorkerPool(); 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) = { ... } * @param value The bytes for workerPool to set. * @return This builder for chaining. */ - public Builder setWorkerPoolBytes(com.google.protobuf.ByteString value) { + public Builder setWorkerPoolBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + workerPool_ = value; onChanged(); return this; @@ -760,8 +698,6 @@ public Builder setWorkerPoolBytes(com.google.protobuf.ByteString value) { private java.lang.Object serviceAccount_ = ""; /** - * - * *
      * Optional. Google service account to use for execution. If unspecified,
      * the project execution service account
@@ -769,13 +705,13 @@ public Builder setWorkerPoolBytes(com.google.protobuf.ByteString value) {
      * 
* * 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; @@ -784,8 +720,6 @@ public java.lang.String getServiceAccount() { } } /** - * - * *
      * Optional. Google service account to use for execution. If unspecified,
      * the project execution service account
@@ -793,14 +727,15 @@ 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 { @@ -808,8 +743,6 @@ public com.google.protobuf.ByteString getServiceAccountBytes() { } } /** - * - * *
      * Optional. Google service account to use for execution. If unspecified,
      * the project execution service account
@@ -817,22 +750,20 @@ public com.google.protobuf.ByteString getServiceAccountBytes() {
      * 
* * 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) { + public Builder setServiceAccount( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + serviceAccount_ = value; onChanged(); return this; } /** - * - * *
      * Optional. Google service account to use for execution. If unspecified,
      * the project execution service account
@@ -840,18 +771,15 @@ public Builder setServiceAccount(java.lang.String value) {
      * 
* * string service_account = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearServiceAccount() { - + serviceAccount_ = getDefaultInstance().getServiceAccount(); onChanged(); return this; } /** - * - * *
      * Optional. Google service account to use for execution. If unspecified,
      * the project execution service account
@@ -859,16 +787,16 @@ 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) { + public Builder setServiceAccountBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + serviceAccount_ = value; onChanged(); return this; @@ -876,8 +804,6 @@ public Builder setServiceAccountBytes(com.google.protobuf.ByteString value) { 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
@@ -886,13 +812,13 @@ public Builder setServiceAccountBytes(com.google.protobuf.ByteString value) {
      * 
* * 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; @@ -901,8 +827,6 @@ 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
@@ -911,14 +835,15 @@ 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 { @@ -926,8 +851,6 @@ public com.google.protobuf.ByteString getArtifactStorageBytes() { } } /** - * - * *
      * 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
@@ -936,22 +859,20 @@ public com.google.protobuf.ByteString getArtifactStorageBytes() {
      * 
* * 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) { + public Builder setArtifactStorage( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + artifactStorage_ = value; 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
@@ -960,18 +881,15 @@ public Builder setArtifactStorage(java.lang.String value) {
      * 
* * string artifact_storage = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearArtifactStorage() { - + artifactStorage_ = getDefaultInstance().getArtifactStorage(); 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
@@ -980,23 +898,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) { + public Builder setArtifactStorageBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + artifactStorage_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1006,12 +924,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(); } @@ -1020,16 +938,16 @@ 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 { - return new PrivatePool(input, extensionRegistry); - } - }; + 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 { + return new PrivatePool(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1044,4 +962,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.PrivatePool getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PrivatePoolOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PrivatePoolOrBuilder.java similarity index 67% rename from proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PrivatePoolOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PrivatePoolOrBuilder.java index 69b35c8..0cea092 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PrivatePoolOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PrivatePoolOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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
@@ -64,13 +37,10 @@ public interface PrivatePoolOrBuilder
    * 
* * 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
@@ -78,14 +48,12 @@ public interface PrivatePoolOrBuilder
    * 
* * 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
@@ -94,13 +62,10 @@ public interface PrivatePoolOrBuilder
    * 
* * 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
@@ -109,8 +74,8 @@ public interface PrivatePoolOrBuilder
    * 
* * 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/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Release.java b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Release.java similarity index 65% rename from proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Release.java rename to owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Release.java index 5ab04b2..f468883 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Release.java +++ b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Release.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** - * - * *
  * A `Release` resource in the Google Cloud Deploy API.
  * A `Release` defines a specific Skaffold configuration instance
@@ -29,16 +12,15 @@
  *
  * 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_ = "";
@@ -54,15 +36,16 @@ private Release() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Release();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private Release(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -82,224 +65,190 @@ private Release(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
-            }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            name_ = s;
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              uid_ = s;
-              break;
-            }
-          case 26:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            uid_ = s;
+            break;
+          }
+          case 26: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              description_ = s;
-              break;
+            description_ = s;
+            break;
+          }
+          case 34: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              annotations_ = com.google.protobuf.MapField.newMapField(
+                  AnnotationsDefaultEntryHolder.defaultEntry);
+              mutable_bitField0_ |= 0x00000001;
             }
-          case 34:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                annotations_ =
-                    com.google.protobuf.MapField.newMapField(
-                        AnnotationsDefaultEntryHolder.defaultEntry);
-                mutable_bitField0_ |= 0x00000001;
-              }
-              com.google.protobuf.MapEntry annotations__ =
-                  input.readMessage(
-                      AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(),
-                      extensionRegistry);
-              annotations_.getMutableMap().put(annotations__.getKey(), annotations__.getValue());
-              break;
+            com.google.protobuf.MapEntry
+            annotations__ = input.readMessage(
+                AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+            annotations_.getMutableMap().put(
+                annotations__.getKey(), annotations__.getValue());
+            break;
+          }
+          case 42: {
+            if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+              labels_ = com.google.protobuf.MapField.newMapField(
+                  LabelsDefaultEntryHolder.defaultEntry);
+              mutable_bitField0_ |= 0x00000002;
             }
-          case 42:
-            {
-              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-                labels_ =
-                    com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry);
-                mutable_bitField0_ |= 0x00000002;
-              }
-              com.google.protobuf.MapEntry labels__ =
-                  input.readMessage(
-                      LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              labels_.getMutableMap().put(labels__.getKey(), labels__.getValue());
-              break;
+            com.google.protobuf.MapEntry
+            labels__ = input.readMessage(
+                LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+            labels_.getMutableMap().put(
+                labels__.getKey(), labels__.getValue());
+            break;
+          }
+          case 50: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (createTime_ != null) {
+              subBuilder = createTime_.toBuilder();
             }
-          case 50:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (createTime_ != null) {
-                subBuilder = createTime_.toBuilder();
-              }
-              createTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(createTime_);
-                createTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+            createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(createTime_);
+              createTime_ = subBuilder.buildPartial();
             }
-          case 58:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (renderStartTime_ != null) {
-                subBuilder = renderStartTime_.toBuilder();
-              }
-              renderStartTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(renderStartTime_);
-                renderStartTime_ = subBuilder.buildPartial();
-              }
 
-              break;
+            break;
+          }
+          case 58: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (renderStartTime_ != null) {
+              subBuilder = renderStartTime_.toBuilder();
             }
-          case 66:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (renderEndTime_ != null) {
-                subBuilder = renderEndTime_.toBuilder();
-              }
-              renderEndTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(renderEndTime_);
-                renderEndTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+            renderStartTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(renderStartTime_);
+              renderStartTime_ = subBuilder.buildPartial();
             }
-          case 74:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
 
-              skaffoldConfigPath_ = s;
-              break;
+            break;
+          }
+          case 66: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (renderEndTime_ != null) {
+              subBuilder = renderEndTime_.toBuilder();
             }
-          case 82:
-            {
-              if (!((mutable_bitField0_ & 0x00000004) != 0)) {
-                buildArtifacts_ =
-                    new java.util.ArrayList();
-                mutable_bitField0_ |= 0x00000004;
-              }
-              buildArtifacts_.add(
-                  input.readMessage(
-                      com.google.cloud.deploy.v1.BuildArtifact.parser(), extensionRegistry));
-              break;
+            renderEndTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(renderEndTime_);
+              renderEndTime_ = subBuilder.buildPartial();
             }
-          case 90:
-            {
-              com.google.cloud.deploy.v1.DeliveryPipeline.Builder subBuilder = null;
-              if (deliveryPipelineSnapshot_ != null) {
-                subBuilder = deliveryPipelineSnapshot_.toBuilder();
-              }
-              deliveryPipelineSnapshot_ =
-                  input.readMessage(
-                      com.google.cloud.deploy.v1.DeliveryPipeline.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(deliveryPipelineSnapshot_);
-                deliveryPipelineSnapshot_ = subBuilder.buildPartial();
-              }
 
-              break;
+            break;
+          }
+          case 74: {
+            java.lang.String s = input.readStringRequireUtf8();
+
+            skaffoldConfigPath_ = s;
+            break;
+          }
+          case 82: {
+            if (!((mutable_bitField0_ & 0x00000004) != 0)) {
+              buildArtifacts_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000004;
             }
-          case 98:
-            {
-              if (!((mutable_bitField0_ & 0x00000008) != 0)) {
-                targetSnapshots_ = new java.util.ArrayList();
-                mutable_bitField0_ |= 0x00000008;
-              }
-              targetSnapshots_.add(
-                  input.readMessage(com.google.cloud.deploy.v1.Target.parser(), extensionRegistry));
-              break;
+            buildArtifacts_.add(
+                input.readMessage(com.google.cloud.deploy.v1.BuildArtifact.parser(), extensionRegistry));
+            break;
+          }
+          case 90: {
+            com.google.cloud.deploy.v1.DeliveryPipeline.Builder subBuilder = null;
+            if (deliveryPipelineSnapshot_ != null) {
+              subBuilder = deliveryPipelineSnapshot_.toBuilder();
             }
-          case 104:
-            {
-              int rawValue = input.readEnum();
-
-              renderState_ = rawValue;
-              break;
+            deliveryPipelineSnapshot_ = input.readMessage(com.google.cloud.deploy.v1.DeliveryPipeline.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(deliveryPipelineSnapshot_);
+              deliveryPipelineSnapshot_ = subBuilder.buildPartial();
             }
-          case 130:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
 
-              etag_ = s;
-              break;
+            break;
+          }
+          case 98: {
+            if (!((mutable_bitField0_ & 0x00000008) != 0)) {
+              targetSnapshots_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000008;
             }
-          case 138:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            targetSnapshots_.add(
+                input.readMessage(com.google.cloud.deploy.v1.Target.parser(), extensionRegistry));
+            break;
+          }
+          case 104: {
+            int rawValue = input.readEnum();
 
-              skaffoldConfigUri_ = s;
-              break;
-            }
-          case 154:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            renderState_ = rawValue;
+            break;
+          }
+          case 130: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              skaffoldVersion_ = s;
-              break;
-            }
-          case 162:
-            {
-              if (!((mutable_bitField0_ & 0x00000010) != 0)) {
-                targetArtifacts_ =
-                    com.google.protobuf.MapField.newMapField(
-                        TargetArtifactsDefaultEntryHolder.defaultEntry);
-                mutable_bitField0_ |= 0x00000010;
-              }
-              com.google.protobuf.MapEntry<
-                      java.lang.String, com.google.cloud.deploy.v1.TargetArtifact>
-                  targetArtifacts__ =
-                      input.readMessage(
-                          TargetArtifactsDefaultEntryHolder.defaultEntry.getParserForType(),
-                          extensionRegistry);
-              targetArtifacts_
-                  .getMutableMap()
-                  .put(targetArtifacts__.getKey(), targetArtifacts__.getValue());
-              break;
+            etag_ = s;
+            break;
+          }
+          case 138: {
+            java.lang.String s = input.readStringRequireUtf8();
+
+            skaffoldConfigUri_ = s;
+            break;
+          }
+          case 154: {
+            java.lang.String s = input.readStringRequireUtf8();
+
+            skaffoldVersion_ = s;
+            break;
+          }
+          case 162: {
+            if (!((mutable_bitField0_ & 0x00000010) != 0)) {
+              targetArtifacts_ = com.google.protobuf.MapField.newMapField(
+                  TargetArtifactsDefaultEntryHolder.defaultEntry);
+              mutable_bitField0_ |= 0x00000010;
             }
-          case 178:
-            {
-              if (!((mutable_bitField0_ & 0x00000020) != 0)) {
-                targetRenders_ =
-                    com.google.protobuf.MapField.newMapField(
-                        TargetRendersDefaultEntryHolder.defaultEntry);
-                mutable_bitField0_ |= 0x00000020;
-              }
-              com.google.protobuf.MapEntry<
-                      java.lang.String, com.google.cloud.deploy.v1.Release.TargetRender>
-                  targetRenders__ =
-                      input.readMessage(
-                          TargetRendersDefaultEntryHolder.defaultEntry.getParserForType(),
-                          extensionRegistry);
-              targetRenders_
-                  .getMutableMap()
-                  .put(targetRenders__.getKey(), targetRenders__.getValue());
-              break;
+            com.google.protobuf.MapEntry
+            targetArtifacts__ = input.readMessage(
+                TargetArtifactsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+            targetArtifacts_.getMutableMap().put(
+                targetArtifacts__.getKey(), targetArtifacts__.getValue());
+            break;
+          }
+          case 178: {
+            if (!((mutable_bitField0_ & 0x00000020) != 0)) {
+              targetRenders_ = com.google.protobuf.MapField.newMapField(
+                  TargetRendersDefaultEntryHolder.defaultEntry);
+              mutable_bitField0_ |= 0x00000020;
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            com.google.protobuf.MapEntry
+            targetRenders__ = input.readMessage(
+                TargetRendersDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+            targetRenders_.getMutableMap().put(
+                targetRenders__.getKey(), targetRenders__.getValue());
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000004) != 0)) {
         buildArtifacts_ = java.util.Collections.unmodifiableList(buildArtifacts_);
@@ -311,15 +260,15 @@ private Release(
       makeExtensionsImmutable();
     }
   }
-
-  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();
@@ -330,33 +279,28 @@ protected com.google.protobuf.MapField internalGetMapField(int number) {
       case 22:
         return internalGetTargetRenders();
       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.
      * 
@@ -365,8 +309,6 @@ public enum RenderState implements com.google.protobuf.ProtocolMessageEnum { */ RENDER_STATE_UNSPECIFIED(0), /** - * - * *
      * All rendering operations have completed successfully.
      * 
@@ -375,8 +317,6 @@ public enum RenderState implements com.google.protobuf.ProtocolMessageEnum { */ SUCCEEDED(1), /** - * - * *
      * All rendering operations have completed, and one or more have failed.
      * 
@@ -385,8 +325,6 @@ public enum RenderState implements com.google.protobuf.ProtocolMessageEnum { */ FAILED(2), /** - * - * *
      * Rendering has started and is not complete.
      * 
@@ -398,8 +336,6 @@ public enum RenderState implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * The render state is unspecified.
      * 
@@ -408,8 +344,6 @@ public enum RenderState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int RENDER_STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * All rendering operations have completed successfully.
      * 
@@ -418,8 +352,6 @@ public enum RenderState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SUCCEEDED_VALUE = 1; /** - * - * *
      * All rendering operations have completed, and one or more have failed.
      * 
@@ -428,8 +360,6 @@ public enum RenderState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FAILED_VALUE = 2; /** - * - * *
      * Rendering has started and is not complete.
      * 
@@ -438,6 +368,7 @@ public enum RenderState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int IN_PROGRESS_VALUE = 3; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -462,51 +393,50 @@ 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); + } + }; - 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() { + 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; @@ -523,92 +453,69 @@ 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(); } /** - * - * *
    * 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; @@ -616,15 +523,16 @@ private TargetRender() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new TargetRender(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private TargetRender( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -643,67 +551,60 @@ private TargetRender( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - renderingBuild_ = s; - break; - } - case 16: - { - int rawValue = input.readEnum(); + renderingBuild_ = s; + break; + } + case 16: { + int rawValue = input.readEnum(); - renderingState_ = rawValue; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + renderingState_ = rawValue; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.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.
        * 
@@ -712,8 +613,6 @@ public enum TargetRenderState implements com.google.protobuf.ProtocolMessageEnum */ TARGET_RENDER_STATE_UNSPECIFIED(0), /** - * - * *
        * The render operation has completed successfully.
        * 
@@ -722,8 +621,6 @@ public enum TargetRenderState implements com.google.protobuf.ProtocolMessageEnum */ SUCCEEDED(1), /** - * - * *
        * The render operation has failed.
        * 
@@ -732,8 +629,6 @@ public enum TargetRenderState implements com.google.protobuf.ProtocolMessageEnum */ FAILED(2), /** - * - * *
        * The render operation is in progress.
        * 
@@ -745,8 +640,6 @@ public enum TargetRenderState implements com.google.protobuf.ProtocolMessageEnum ; /** - * - * *
        * The render operation state is unspecified.
        * 
@@ -755,8 +648,6 @@ public enum TargetRenderState implements com.google.protobuf.ProtocolMessageEnum */ public static final int TARGET_RENDER_STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
        * The render operation has completed successfully.
        * 
@@ -765,8 +656,6 @@ public enum TargetRenderState implements com.google.protobuf.ProtocolMessageEnum */ public static final int SUCCEEDED_VALUE = 1; /** - * - * *
        * The render operation has failed.
        * 
@@ -775,8 +664,6 @@ public enum TargetRenderState implements com.google.protobuf.ProtocolMessageEnum */ public static final int FAILED_VALUE = 2; /** - * - * *
        * The render operation is in progress.
        * 
@@ -785,6 +672,7 @@ public enum TargetRenderState implements com.google.protobuf.ProtocolMessageEnum */ public static final int IN_PROGRESS_VALUE = 3; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -809,16 +697,11 @@ 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; } } @@ -826,31 +709,29 @@ 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); + } + }; - 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() { + 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(); @@ -858,7 +739,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor 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; @@ -878,18 +760,13 @@ private TargetRenderState(int value) { public static final int RENDERING_BUILD_FIELD_NUMBER = 1; 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 @@ -898,33 +775,31 @@ 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 { @@ -935,48 +810,31 @@ public com.google.protobuf.ByteString getRenderingBuildBytes() { public static final int RENDERING_STATE_FIELD_NUMBER = 2; private int 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 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() { + @java.lang.Override public com.google.cloud.deploy.v1.Release.TargetRender.TargetRenderState getRenderingState() { @SuppressWarnings("deprecation") - com.google.cloud.deploy.v1.Release.TargetRender.TargetRenderState result = - com.google.cloud.deploy.v1.Release.TargetRender.TargetRenderState.valueOf( - 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.valueOf(renderingState_); + return result == null ? com.google.cloud.deploy.v1.Release.TargetRender.TargetRenderState.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -988,14 +846,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(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_); } unknownFields.writeTo(output); @@ -1010,11 +866,9 @@ 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_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1024,15 +878,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -1055,93 +909,87 @@ 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 @@ -1151,32 +999,27 @@ 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() @@ -1184,15 +1027,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1204,9 +1048,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 @@ -1225,8 +1069,7 @@ 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); + com.google.cloud.deploy.v1.Release.TargetRender result = new com.google.cloud.deploy.v1.Release.TargetRender(this); result.renderingBuild_ = renderingBuild_; result.renderingState_ = renderingState_; onBuilt(); @@ -1237,41 +1080,38 @@ public com.google.cloud.deploy.v1.Release.TargetRender buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.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; @@ -1279,8 +1119,7 @@ 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_; onChanged(); @@ -1307,8 +1146,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.deploy.v1.Release.TargetRender) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.deploy.v1.Release.TargetRender) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1320,24 +1158,20 @@ public Builder mergeFrom( 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; @@ -1346,25 +1180,22 @@ 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 { @@ -1372,73 +1203,60 @@ public com.google.protobuf.ByteString getRenderingBuildBytes() { } } /** - * - * *
        * 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) { + public Builder setRenderingBuild( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + renderingBuild_ = value; 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() { - + renderingBuild_ = getDefaultInstance().getRenderingBuild(); 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) = { ... } * @param value The bytes for renderingBuild to set. * @return This builder for chaining. */ - public Builder setRenderingBuildBytes(com.google.protobuf.ByteString value) { + public Builder setRenderingBuildBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + renderingBuild_ = value; onChanged(); return this; @@ -1446,109 +1264,77 @@ public Builder setRenderingBuildBytes(com.google.protobuf.ByteString value) { 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. */ public Builder setRenderingStateValue(int value) { - + renderingState_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.cloud.deploy.v1.Release.TargetRender.TargetRenderState result = - com.google.cloud.deploy.v1.Release.TargetRender.TargetRenderState.valueOf( - 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.valueOf(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(); } - + renderingState_ = value.getNumber(); onChanged(); 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() { - + renderingState_ = 0; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1561,12 +1347,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(); } @@ -1575,16 +1361,16 @@ 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 { - return new TargetRender(input, extensionRegistry); - } - }; + 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 { + return new TargetRender(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1599,13 +1385,12 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.Release.TargetRender getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Optional. Name of the `Release`. Format is projects/{project}/
    * locations/{location}/deliveryPipelines/{deliveryPipeline}/
@@ -1613,7 +1398,6 @@ public com.google.cloud.deploy.v1.Release.TargetRender getDefaultInstanceForType
    * 
* * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The name. */ @java.lang.Override @@ -1622,15 +1406,14 @@ 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}/
@@ -1638,15 +1421,16 @@ public java.lang.String getName() {
    * 
* * 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 { @@ -1657,14 +1441,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int UID_FIELD_NUMBER = 2; 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 @@ -1673,29 +1454,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 { @@ -1706,14 +1487,11 @@ public com.google.protobuf.ByteString getUidBytes() { public static final int DESCRIPTION_FIELD_NUMBER = 3; private volatile java.lang.Object description_; /** - * - * *
    * Description of the `Release`. Max length is 255 characters.
    * 
* * string description = 3; - * * @return The description. */ @java.lang.Override @@ -1722,29 +1500,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 { @@ -1753,24 +1531,24 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } public static final int ANNOTATIONS_FIELD_NUMBER = 4; - private static final class AnnotationsDefaultEntryHolder { - 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, - ""); + 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, + ""); } - - private com.google.protobuf.MapField annotations_; - + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> 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_; } @@ -1779,8 +1557,6 @@ public int getAnnotationsCount() { return internalGetAnnotations().getMap().size(); } /** - * - * *
    * User annotations. These attributes can only be set and used by the
    * user, and not by Google Cloud Deploy. See
@@ -1790,22 +1566,22 @@ public int getAnnotationsCount() {
    *
    * map<string, string> annotations = 4;
    */
+
   @java.lang.Override
-  public boolean containsAnnotations(java.lang.String key) {
-    if (key == null) {
-      throw new java.lang.NullPointerException();
-    }
+  public boolean containsAnnotations(
+      java.lang.String key) {
+    if (key == null) { throw new java.lang.NullPointerException(); }
     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 Google Cloud Deploy. See
@@ -1816,12 +1592,11 @@ public java.util.Map getAnnotations() {
    * map<string, string> annotations = 4;
    */
   @java.lang.Override
+
   public java.util.Map getAnnotationsMap() {
     return internalGetAnnotations().getMap();
   }
   /**
-   *
-   *
    * 
    * User annotations. These attributes can only be set and used by the
    * user, and not by Google Cloud Deploy. See
@@ -1832,17 +1607,16 @@ public java.util.Map getAnnotationsMap() {
    * map<string, string> annotations = 4;
    */
   @java.lang.Override
+
   public java.lang.String getAnnotationsOrDefault(
-      java.lang.String key, java.lang.String defaultValue) {
-    if (key == null) {
-      throw new java.lang.NullPointerException();
-    }
-    java.util.Map map = internalGetAnnotations().getMap();
+      java.lang.String key,
+      java.lang.String defaultValue) {
+    if (key == null) { throw new java.lang.NullPointerException(); }
+    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 Google Cloud Deploy. See
@@ -1853,11 +1627,12 @@ public 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 java.lang.NullPointerException();
-    }
-    java.util.Map map = internalGetAnnotations().getMap();
+
+  public java.lang.String getAnnotationsOrThrow(
+      java.lang.String key) {
+    if (key == null) { throw new java.lang.NullPointerException(); }
+    java.util.Map map =
+        internalGetAnnotations().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -1865,23 +1640,24 @@ public java.lang.String getAnnotationsOrThrow(java.lang.String key) {
   }
 
   public static final int LABELS_FIELD_NUMBER = 5;
-
   private static final class LabelsDefaultEntryHolder {
-    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,
-            "");
+    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,
+                "");
   }
-
-  private com.google.protobuf.MapField labels_;
-
-  private com.google.protobuf.MapField internalGetLabels() {
+  private com.google.protobuf.MapField<
+      java.lang.String, java.lang.String> 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_;
   }
@@ -1890,8 +1666,6 @@ public int getLabelsCount() {
     return internalGetLabels().getMap().size();
   }
   /**
-   *
-   *
    * 
    * Labels are attributes that can be set and used by both the
    * user and by Google Cloud Deploy. Labels must meet the following
@@ -1903,22 +1677,22 @@ public int getLabelsCount() {
    *
    * map<string, string> labels = 5;
    */
+
   @java.lang.Override
-  public boolean containsLabels(java.lang.String key) {
-    if (key == null) {
-      throw new java.lang.NullPointerException();
-    }
+  public boolean containsLabels(
+      java.lang.String key) {
+    if (key == null) { throw new java.lang.NullPointerException(); }
     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 Google Cloud Deploy. Labels must meet the following
@@ -1931,12 +1705,11 @@ public java.util.Map getLabels() {
    * map<string, string> labels = 5;
    */
   @java.lang.Override
+
   public java.util.Map getLabelsMap() {
     return internalGetLabels().getMap();
   }
   /**
-   *
-   *
    * 
    * Labels are attributes that can be set and used by both the
    * user and by Google Cloud Deploy. Labels must meet the following
@@ -1949,16 +1722,16 @@ public java.util.Map getLabelsMap() {
    * map<string, string> labels = 5;
    */
   @java.lang.Override
-  public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) {
-    if (key == null) {
-      throw new java.lang.NullPointerException();
-    }
-    java.util.Map map = internalGetLabels().getMap();
+
+  public java.lang.String getLabelsOrDefault(
+      java.lang.String key,
+      java.lang.String defaultValue) {
+    if (key == null) { throw new java.lang.NullPointerException(); }
+    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 Google Cloud Deploy. Labels must meet the following
@@ -1971,11 +1744,12 @@ public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.Strin
    * map<string, string> labels = 5;
    */
   @java.lang.Override
-  public java.lang.String getLabelsOrThrow(java.lang.String key) {
-    if (key == null) {
-      throw new java.lang.NullPointerException();
-    }
-    java.util.Map map = internalGetLabels().getMap();
+
+  public java.lang.String getLabelsOrThrow(
+      java.lang.String key) {
+    if (key == null) { throw new java.lang.NullPointerException(); }
+    java.util.Map map =
+        internalGetLabels().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -1985,15 +1759,11 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
   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 @@ -2001,15 +1771,11 @@ 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 @@ -2017,14 +1783,11 @@ 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() { @@ -2034,16 +1797,11 @@ 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 @@ -2051,34 +1809,23 @@ 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() { @@ -2088,16 +1835,11 @@ public com.google.protobuf.TimestampOrBuilder getRenderStartTimeOrBuilder() { 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 @@ -2105,34 +1847,23 @@ 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() { @@ -2142,14 +1873,11 @@ public com.google.protobuf.TimestampOrBuilder getRenderEndTimeOrBuilder() { public static final int SKAFFOLD_CONFIG_URI_FIELD_NUMBER = 17; 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 @@ -2158,29 +1886,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 { @@ -2191,14 +1919,11 @@ public com.google.protobuf.ByteString getSkaffoldConfigUriBytes() { public static final int SKAFFOLD_CONFIG_PATH_FIELD_NUMBER = 9; 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 @@ -2207,29 +1932,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 { @@ -2240,8 +1965,6 @@ public com.google.protobuf.ByteString getSkaffoldConfigPathBytes() { public static final int BUILD_ARTIFACTS_FIELD_NUMBER = 10; private java.util.List buildArtifacts_; /** - * - * *
    * List of artifacts to pass through to Skaffold command.
    * 
@@ -2253,8 +1976,6 @@ public java.util.List getBuildArtifact return buildArtifacts_; } /** - * - * *
    * List of artifacts to pass through to Skaffold command.
    * 
@@ -2262,13 +1983,11 @@ 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.
    * 
@@ -2280,8 +1999,6 @@ public int getBuildArtifactsCount() { return buildArtifacts_.size(); } /** - * - * *
    * List of artifacts to pass through to Skaffold command.
    * 
@@ -2293,8 +2010,6 @@ public com.google.cloud.deploy.v1.BuildArtifact getBuildArtifacts(int index) { return buildArtifacts_.get(index); } /** - * - * *
    * List of artifacts to pass through to Skaffold command.
    * 
@@ -2302,23 +2017,19 @@ 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 @@ -2326,165 +2037,119 @@ 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() { + public com.google.cloud.deploy.v1.DeliveryPipelineOrBuilder getDeliveryPipelineSnapshotOrBuilder() { return getDeliveryPipelineSnapshot(); } public static final int TARGET_SNAPSHOTS_FIELD_NUMBER = 12; private java.util.List targetSnapshots_; /** - * - * *
    * Output only. Snapshot of the parent pipeline's 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 parent pipeline's 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 parent pipeline's 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 parent pipeline's 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 parent pipeline's 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 RENDER_STATE_FIELD_NUMBER = 13; private int 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 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() { + @java.lang.Override public com.google.cloud.deploy.v1.Release.RenderState getRenderState() { @SuppressWarnings("deprecation") - com.google.cloud.deploy.v1.Release.RenderState result = - com.google.cloud.deploy.v1.Release.RenderState.valueOf(renderState_); + com.google.cloud.deploy.v1.Release.RenderState result = com.google.cloud.deploy.v1.Release.RenderState.valueOf(renderState_); return result == null ? com.google.cloud.deploy.v1.Release.RenderState.UNRECOGNIZED : result; } public static final int ETAG_FIELD_NUMBER = 16; 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
@@ -2492,7 +2157,6 @@ public com.google.cloud.deploy.v1.Release.RenderState getRenderState() {
    * 
* * string etag = 16; - * * @return The etag. */ @java.lang.Override @@ -2501,15 +2165,14 @@ 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
@@ -2517,15 +2180,16 @@ 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 { @@ -2536,8 +2200,6 @@ public com.google.protobuf.ByteString getEtagBytes() { public static final int SKAFFOLD_VERSION_FIELD_NUMBER = 19; 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; Google Cloud Deploy supports a
@@ -2546,7 +2208,6 @@ public com.google.protobuf.ByteString getEtagBytes() {
    * 
* * string skaffold_version = 19; - * * @return The skaffoldVersion. */ @java.lang.Override @@ -2555,15 +2216,14 @@ 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; Google Cloud Deploy supports a
@@ -2572,15 +2232,16 @@ 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 { @@ -2589,26 +2250,21 @@ public com.google.protobuf.ByteString getSkaffoldVersionBytes() { } 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()); } - - private com.google.protobuf.MapField - targetArtifacts_; - + private com.google.protobuf.MapField< + java.lang.String, com.google.cloud.deploy.v1.TargetArtifact> targetArtifacts_; private com.google.protobuf.MapField - internalGetTargetArtifacts() { + internalGetTargetArtifacts() { if (targetArtifacts_ == null) { return com.google.protobuf.MapField.emptyMapField( TargetArtifactsDefaultEntryHolder.defaultEntry); @@ -2620,87 +2276,72 @@ 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 java.lang.NullPointerException(); - } + public boolean containsTargetArtifacts( + java.lang.String key) { + if (key == null) { throw new java.lang.NullPointerException(); } 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 com.google.cloud.deploy.v1.TargetArtifact getTargetArtifactsOrDefault( - java.lang.String key, com.google.cloud.deploy.v1.TargetArtifact defaultValue) { - if (key == null) { - throw new java.lang.NullPointerException(); - } + java.lang.String key, + com.google.cloud.deploy.v1.TargetArtifact defaultValue) { + if (key == null) { throw new java.lang.NullPointerException(); } 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 java.lang.NullPointerException(); - } + + public com.google.cloud.deploy.v1.TargetArtifact getTargetArtifactsOrThrow( + java.lang.String key) { + if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetTargetArtifacts().getMap(); if (!map.containsKey(key)) { @@ -2710,29 +2351,21 @@ public com.google.cloud.deploy.v1.TargetArtifact getTargetArtifactsOrThrow(java. } 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()); } - - 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() { + java.lang.String, com.google.cloud.deploy.v1.Release.TargetRender> targetRenders_; + private com.google.protobuf.MapField + internalGetTargetRenders() { if (targetRenders_ == null) { return com.google.protobuf.MapField.emptyMapField( TargetRendersDefaultEntryHolder.defaultEntry); @@ -2744,84 +2377,68 @@ 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 java.lang.NullPointerException(); - } + public boolean containsTargetRenders( + java.lang.String key) { + if (key == null) { throw new java.lang.NullPointerException(); } 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 com.google.cloud.deploy.v1.Release.TargetRender getTargetRendersOrDefault( - java.lang.String key, com.google.cloud.deploy.v1.Release.TargetRender defaultValue) { - if (key == null) { - throw new java.lang.NullPointerException(); - } + java.lang.String key, + com.google.cloud.deploy.v1.Release.TargetRender defaultValue) { + if (key == null) { throw new java.lang.NullPointerException(); } 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 java.lang.NullPointerException(); - } + if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetTargetRenders().getMap(); if (!map.containsKey(key)) { @@ -2831,7 +2448,6 @@ public com.google.cloud.deploy.v1.Release.TargetRender getTargetRendersOrThrow( } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2843,7 +2459,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -2853,10 +2470,18 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io 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()); } @@ -2878,8 +2503,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io 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_)) { @@ -2891,10 +2515,18 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io 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); unknownFields.writeTo(output); } @@ -2913,52 +2545,56 @@ 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_); @@ -2969,28 +2605,25 @@ 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< - 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__); + 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__); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -3000,43 +2633,60 @@ 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 (!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 (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 (!getTargetSnapshotsList() + .equals(other.getTargetSnapshotsList())) 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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -3109,103 +2759,97 @@ 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 Google Cloud Deploy API.
    * A `Release` defines a specific Skaffold configuration instance
@@ -3214,17 +2858,18 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * 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();
@@ -3235,12 +2880,13 @@ protected com.google.protobuf.MapField internalGetMapField(int number) {
         case 22:
           return internalGetTargetRenders();
         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();
@@ -3251,18 +2897,16 @@ protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
         case 22:
           return internalGetMutableTargetRenders();
         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()
@@ -3270,18 +2914,18 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getBuildArtifactsFieldBuilder();
         getTargetSnapshotsFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -3345,9 +2989,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
@@ -3430,39 +3074,38 @@ public com.google.cloud.deploy.v1.Release 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.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;
@@ -3483,8 +3126,10 @@ public Builder mergeFrom(com.google.cloud.deploy.v1.Release other) {
         description_ = other.description_;
         onChanged();
       }
-      internalGetMutableAnnotations().mergeFrom(other.internalGetAnnotations());
-      internalGetMutableLabels().mergeFrom(other.internalGetLabels());
+      internalGetMutableAnnotations().mergeFrom(
+          other.internalGetAnnotations());
+      internalGetMutableLabels().mergeFrom(
+          other.internalGetLabels());
       if (other.hasCreateTime()) {
         mergeCreateTime(other.getCreateTime());
       }
@@ -3520,10 +3165,9 @@ public Builder mergeFrom(com.google.cloud.deploy.v1.Release other) {
             buildArtifactsBuilder_ = null;
             buildArtifacts_ = other.buildArtifacts_;
             bitField0_ = (bitField0_ & ~0x00000004);
-            buildArtifactsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getBuildArtifactsFieldBuilder()
-                    : null;
+            buildArtifactsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getBuildArtifactsFieldBuilder() : null;
           } else {
             buildArtifactsBuilder_.addAllMessages(other.buildArtifacts_);
           }
@@ -3550,10 +3194,9 @@ public Builder mergeFrom(com.google.cloud.deploy.v1.Release other) {
             targetSnapshotsBuilder_ = null;
             targetSnapshots_ = other.targetSnapshots_;
             bitField0_ = (bitField0_ & ~0x00000008);
-            targetSnapshotsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getTargetSnapshotsFieldBuilder()
-                    : null;
+            targetSnapshotsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getTargetSnapshotsFieldBuilder() : null;
           } else {
             targetSnapshotsBuilder_.addAllMessages(other.targetSnapshots_);
           }
@@ -3570,8 +3213,10 @@ public Builder mergeFrom(com.google.cloud.deploy.v1.Release other) {
         skaffoldVersion_ = other.skaffoldVersion_;
         onChanged();
       }
-      internalGetMutableTargetArtifacts().mergeFrom(other.internalGetTargetArtifacts());
-      internalGetMutableTargetRenders().mergeFrom(other.internalGetTargetRenders());
+      internalGetMutableTargetArtifacts().mergeFrom(
+          other.internalGetTargetArtifacts());
+      internalGetMutableTargetRenders().mergeFrom(
+          other.internalGetTargetRenders());
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
       return this;
@@ -3600,13 +3245,10 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Optional. Name of the `Release`. Format is projects/{project}/
      * locations/{location}/deliveryPipelines/{deliveryPipeline}/
@@ -3614,13 +3256,13 @@ public Builder mergeFrom(
      * 
* * 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; @@ -3629,8 +3271,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Optional. Name of the `Release`. Format is projects/{project}/
      * locations/{location}/deliveryPipelines/{deliveryPipeline}/
@@ -3638,14 +3278,15 @@ public java.lang.String getName() {
      * 
* * 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 { @@ -3653,8 +3294,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Optional. Name of the `Release`. Format is projects/{project}/
      * locations/{location}/deliveryPipelines/{deliveryPipeline}/
@@ -3662,22 +3301,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Optional. Name of the `Release`. Format is projects/{project}/
      * locations/{location}/deliveryPipelines/{deliveryPipeline}/
@@ -3685,18 +3322,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Optional. Name of the `Release`. Format is projects/{project}/
      * locations/{location}/deliveryPipelines/{deliveryPipeline}/
@@ -3704,16 +3338,16 @@ public Builder clearName() {
      * 
* * 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -3721,20 +3355,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { 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; @@ -3743,21 +3375,20 @@ 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 { @@ -3765,61 +3396,54 @@ public com.google.protobuf.ByteString getUidBytes() { } } /** - * - * *
      * 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) { + public Builder setUid( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + uid_ = value; 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() { - + uid_ = getDefaultInstance().getUid(); onChanged(); 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) { + public Builder setUidBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + uid_ = value; onChanged(); return this; @@ -3827,20 +3451,18 @@ public Builder setUidBytes(com.google.protobuf.ByteString value) { 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; @@ -3849,21 +3471,20 @@ 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 { @@ -3871,84 +3492,75 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * 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) { + public Builder setDescription( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** - * - * *
      * Description of the `Release`. Max length is 255 characters.
      * 
* * string description = 3; - * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); 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) { + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; } - private com.google.protobuf.MapField annotations_; - + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> annotations_; private com.google.protobuf.MapField - internalGetAnnotations() { + internalGetAnnotations() { if (annotations_ == null) { return com.google.protobuf.MapField.emptyMapField( AnnotationsDefaultEntryHolder.defaultEntry); } return annotations_; } - private com.google.protobuf.MapField - internalGetMutableAnnotations() { - onChanged(); - ; + internalGetMutableAnnotations() { + onChanged();; 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(); @@ -3960,8 +3572,6 @@ public int getAnnotationsCount() { return internalGetAnnotations().getMap().size(); } /** - * - * *
      * User annotations. These attributes can only be set and used by the
      * user, and not by Google Cloud Deploy. See
@@ -3971,22 +3581,22 @@ public int getAnnotationsCount() {
      *
      * map<string, string> annotations = 4;
      */
+
     @java.lang.Override
-    public boolean containsAnnotations(java.lang.String key) {
-      if (key == null) {
-        throw new java.lang.NullPointerException();
-      }
+    public boolean containsAnnotations(
+        java.lang.String key) {
+      if (key == null) { throw new java.lang.NullPointerException(); }
       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 Google Cloud Deploy. See
@@ -3997,12 +3607,11 @@ public java.util.Map getAnnotations() {
      * map<string, string> annotations = 4;
      */
     @java.lang.Override
+
     public java.util.Map getAnnotationsMap() {
       return internalGetAnnotations().getMap();
     }
     /**
-     *
-     *
      * 
      * User annotations. These attributes can only be set and used by the
      * user, and not by Google Cloud Deploy. See
@@ -4013,17 +3622,16 @@ public java.util.Map getAnnotationsMap() {
      * map<string, string> annotations = 4;
      */
     @java.lang.Override
+
     public java.lang.String getAnnotationsOrDefault(
-        java.lang.String key, java.lang.String defaultValue) {
-      if (key == null) {
-        throw new java.lang.NullPointerException();
-      }
-      java.util.Map map = internalGetAnnotations().getMap();
+        java.lang.String key,
+        java.lang.String defaultValue) {
+      if (key == null) { throw new java.lang.NullPointerException(); }
+      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 Google Cloud Deploy. See
@@ -4034,11 +3642,12 @@ public 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 java.lang.NullPointerException();
-      }
-      java.util.Map map = internalGetAnnotations().getMap();
+
+    public java.lang.String getAnnotationsOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new java.lang.NullPointerException(); }
+      java.util.Map map =
+          internalGetAnnotations().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -4046,12 +3655,11 @@ public java.lang.String getAnnotationsOrThrow(java.lang.String key) {
     }
 
     public Builder clearAnnotations() {
-      internalGetMutableAnnotations().getMutableMap().clear();
+      internalGetMutableAnnotations().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * User annotations. These attributes can only be set and used by the
      * user, and not by Google Cloud Deploy. See
@@ -4061,21 +3669,23 @@ public Builder clearAnnotations() {
      *
      * map<string, string> annotations = 4;
      */
-    public Builder removeAnnotations(java.lang.String key) {
-      if (key == null) {
-        throw new java.lang.NullPointerException();
-      }
-      internalGetMutableAnnotations().getMutableMap().remove(key);
+
+    public Builder removeAnnotations(
+        java.lang.String key) {
+      if (key == null) { throw new java.lang.NullPointerException(); }
+      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() {
       return internalGetMutableAnnotations().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * User annotations. These attributes can only be set and used by the
      * user, and not by Google Cloud Deploy. See
@@ -4085,19 +3695,16 @@ public java.util.Map getMutableAnnotations()
      *
      * map<string, string> annotations = 4;
      */
-    public Builder putAnnotations(java.lang.String key, java.lang.String value) {
-      if (key == null) {
-        throw new java.lang.NullPointerException();
-      }
-      if (value == null) {
-        throw new java.lang.NullPointerException();
-      }
-      internalGetMutableAnnotations().getMutableMap().put(key, value);
+    public Builder putAnnotations(
+        java.lang.String key,
+        java.lang.String value) {
+      if (key == null) { throw new java.lang.NullPointerException(); }
+      if (value == null) { throw new java.lang.NullPointerException(); }
+      internalGetMutableAnnotations().getMutableMap()
+          .put(key, value);
       return this;
     }
     /**
-     *
-     *
      * 
      * User annotations. These attributes can only be set and used by the
      * user, and not by Google Cloud Deploy. See
@@ -4107,26 +3714,30 @@ public Builder putAnnotations(java.lang.String key, java.lang.String value) {
      *
      * 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);
       return this;
     }
 
-    private com.google.protobuf.MapField labels_;
-
-    private com.google.protobuf.MapField internalGetLabels() {
+    private com.google.protobuf.MapField<
+        java.lang.String, java.lang.String> 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() {
-      onChanged();
-      ;
+    internalGetMutableLabels() {
+      onChanged();;
       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();
@@ -4138,8 +3749,6 @@ public int getLabelsCount() {
       return internalGetLabels().getMap().size();
     }
     /**
-     *
-     *
      * 
      * Labels are attributes that can be set and used by both the
      * user and by Google Cloud Deploy. Labels must meet the following
@@ -4151,22 +3760,22 @@ public int getLabelsCount() {
      *
      * map<string, string> labels = 5;
      */
+
     @java.lang.Override
-    public boolean containsLabels(java.lang.String key) {
-      if (key == null) {
-        throw new java.lang.NullPointerException();
-      }
+    public boolean containsLabels(
+        java.lang.String key) {
+      if (key == null) { throw new java.lang.NullPointerException(); }
       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 Google Cloud Deploy. Labels must meet the following
@@ -4179,12 +3788,11 @@ public java.util.Map getLabels() {
      * map<string, string> labels = 5;
      */
     @java.lang.Override
+
     public java.util.Map getLabelsMap() {
       return internalGetLabels().getMap();
     }
     /**
-     *
-     *
      * 
      * Labels are attributes that can be set and used by both the
      * user and by Google Cloud Deploy. Labels must meet the following
@@ -4197,17 +3805,16 @@ public java.util.Map getLabelsMap() {
      * map<string, string> labels = 5;
      */
     @java.lang.Override
+
     public java.lang.String getLabelsOrDefault(
-        java.lang.String key, java.lang.String defaultValue) {
-      if (key == null) {
-        throw new java.lang.NullPointerException();
-      }
-      java.util.Map map = internalGetLabels().getMap();
+        java.lang.String key,
+        java.lang.String defaultValue) {
+      if (key == null) { throw new java.lang.NullPointerException(); }
+      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 Google Cloud Deploy. Labels must meet the following
@@ -4220,11 +3827,12 @@ public 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 java.lang.NullPointerException();
-      }
-      java.util.Map map = internalGetLabels().getMap();
+
+    public java.lang.String getLabelsOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new java.lang.NullPointerException(); }
+      java.util.Map map =
+          internalGetLabels().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -4232,12 +3840,11 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
     }
 
     public Builder clearLabels() {
-      internalGetMutableLabels().getMutableMap().clear();
+      internalGetMutableLabels().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * Labels are attributes that can be set and used by both the
      * user and by Google Cloud Deploy. Labels must meet the following
@@ -4249,21 +3856,23 @@ public Builder clearLabels() {
      *
      * map<string, string> labels = 5;
      */
-    public Builder removeLabels(java.lang.String key) {
-      if (key == null) {
-        throw new java.lang.NullPointerException();
-      }
-      internalGetMutableLabels().getMutableMap().remove(key);
+
+    public Builder removeLabels(
+        java.lang.String key) {
+      if (key == null) { throw new java.lang.NullPointerException(); }
+      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() {
       return internalGetMutableLabels().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * Labels are attributes that can be set and used by both the
      * user and by Google Cloud Deploy. Labels must meet the following
@@ -4275,19 +3884,16 @@ public java.util.Map getMutableLabels() {
      *
      * map<string, string> labels = 5;
      */
-    public Builder putLabels(java.lang.String key, java.lang.String value) {
-      if (key == null) {
-        throw new java.lang.NullPointerException();
-      }
-      if (value == null) {
-        throw new java.lang.NullPointerException();
-      }
-      internalGetMutableLabels().getMutableMap().put(key, value);
+    public Builder putLabels(
+        java.lang.String key,
+        java.lang.String value) {
+      if (key == null) { throw new java.lang.NullPointerException(); }
+      if (value == null) { throw new java.lang.NullPointerException(); }
+      internalGetMutableLabels().getMutableMap()
+          .put(key, value);
       return this;
     }
     /**
-     *
-     *
      * 
      * Labels are attributes that can be set and used by both the
      * user and by Google Cloud Deploy. Labels must meet the following
@@ -4299,65 +3905,49 @@ public Builder putLabels(java.lang.String key, java.lang.String value) {
      *
      * 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);
       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 `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 createTimeBuilder_ != null || 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. */ 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) { @@ -4373,17 +3963,14 @@ 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(); onChanged(); @@ -4394,21 +3981,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal 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 (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -4420,15 +4003,11 @@ 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() { if (createTimeBuilder_ == null) { @@ -4442,64 +4021,48 @@ 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() { - + onChanged(); 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_; @@ -4507,58 +4070,39 @@ 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 renderStartTimeBuilder_ != null || 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. */ 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) { @@ -4574,17 +4118,14 @@ 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(); onChanged(); @@ -4595,23 +4136,17 @@ public Builder setRenderStartTime(com.google.protobuf.Timestamp.Builder builderF 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 (renderStartTime_ != null) { renderStartTime_ = - com.google.protobuf.Timestamp.newBuilder(renderStartTime_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Timestamp.newBuilder(renderStartTime_).mergeFrom(value).buildPartial(); } else { renderStartTime_ = value; } @@ -4623,15 +4158,11 @@ 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() { if (renderStartTimeBuilder_ == null) { @@ -4645,64 +4176,48 @@ 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() { - + onChanged(); 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_; @@ -4710,58 +4225,39 @@ 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 renderEndTimeBuilder_ != null || 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. */ 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) { @@ -4777,17 +4273,14 @@ 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(); onChanged(); @@ -4798,23 +4291,17 @@ public Builder setRenderEndTime(com.google.protobuf.Timestamp.Builder builderFor 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 (renderEndTime_ != null) { renderEndTime_ = - com.google.protobuf.Timestamp.newBuilder(renderEndTime_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Timestamp.newBuilder(renderEndTime_).mergeFrom(value).buildPartial(); } else { renderEndTime_ = value; } @@ -4826,15 +4313,11 @@ 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() { if (renderEndTimeBuilder_ == null) { @@ -4848,64 +4331,48 @@ 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() { - + onChanged(); 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_; @@ -4913,20 +4380,18 @@ 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; @@ -4935,21 +4400,20 @@ 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 { @@ -4957,61 +4421,54 @@ public com.google.protobuf.ByteString getSkaffoldConfigUriBytes() { } } /** - * - * *
      * 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) { + public Builder setSkaffoldConfigUri( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + skaffoldConfigUri_ = value; 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() { - + skaffoldConfigUri_ = getDefaultInstance().getSkaffoldConfigUri(); onChanged(); 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) { + public Builder setSkaffoldConfigUriBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + skaffoldConfigUri_ = value; onChanged(); return this; @@ -5019,20 +4476,18 @@ public Builder setSkaffoldConfigUriBytes(com.google.protobuf.ByteString value) { 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; @@ -5041,21 +4496,20 @@ 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 { @@ -5063,86 +4517,72 @@ public com.google.protobuf.ByteString getSkaffoldConfigPathBytes() { } } /** - * - * *
      * 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) { + public Builder setSkaffoldConfigPath( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + skaffoldConfigPath_ = value; 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() { - + skaffoldConfigPath_ = getDefaultInstance().getSkaffoldConfigPath(); onChanged(); 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) { + public Builder setSkaffoldConfigPathBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + skaffoldConfigPath_ = value; onChanged(); return this; } private java.util.List buildArtifacts_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureBuildArtifactsIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { - buildArtifacts_ = - new java.util.ArrayList(buildArtifacts_); + buildArtifacts_ = new java.util.ArrayList(buildArtifacts_); bitField0_ |= 0x00000004; - } + } } 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.
      * 
@@ -5157,8 +4597,6 @@ public java.util.List getBuildArtifact } } /** - * - * *
      * List of artifacts to pass through to Skaffold command.
      * 
@@ -5173,8 +4611,6 @@ public int getBuildArtifactsCount() { } } /** - * - * *
      * List of artifacts to pass through to Skaffold command.
      * 
@@ -5189,15 +4625,14 @@ 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(); @@ -5211,8 +4646,6 @@ public Builder setBuildArtifacts(int index, com.google.cloud.deploy.v1.BuildArti return this; } /** - * - * *
      * List of artifacts to pass through to Skaffold command.
      * 
@@ -5231,8 +4664,6 @@ public Builder setBuildArtifacts( return this; } /** - * - * *
      * List of artifacts to pass through to Skaffold command.
      * 
@@ -5253,15 +4684,14 @@ 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(); @@ -5275,8 +4705,6 @@ public Builder addBuildArtifacts(int index, com.google.cloud.deploy.v1.BuildArti return this; } /** - * - * *
      * List of artifacts to pass through to Skaffold command.
      * 
@@ -5295,8 +4723,6 @@ public Builder addBuildArtifacts( return this; } /** - * - * *
      * List of artifacts to pass through to Skaffold command.
      * 
@@ -5315,8 +4741,6 @@ public Builder addBuildArtifacts( return this; } /** - * - * *
      * List of artifacts to pass through to Skaffold command.
      * 
@@ -5327,7 +4751,8 @@ 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); @@ -5335,8 +4760,6 @@ public Builder addAllBuildArtifacts( return this; } /** - * - * *
      * List of artifacts to pass through to Skaffold command.
      * 
@@ -5354,8 +4777,6 @@ public Builder clearBuildArtifacts() { return this; } /** - * - * *
      * List of artifacts to pass through to Skaffold command.
      * 
@@ -5372,45 +4793,40 @@ 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 { @@ -5418,8 +4834,6 @@ public com.google.cloud.deploy.v1.BuildArtifactOrBuilder getBuildArtifactsOrBuil } } /** - * - * *
      * List of artifacts to pass through to Skaffold command.
      * 
@@ -5427,47 +4841,38 @@ 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_ & 0x00000004) != 0), getParentForChildren(), @@ -5479,58 +4884,39 @@ 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 deliveryPipelineSnapshotBuilder_ != null || 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. */ 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) { @@ -5546,15 +4932,11 @@ 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) { @@ -5568,24 +4950,17 @@ 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 (deliveryPipelineSnapshot_ != null) { deliveryPipelineSnapshot_ = - com.google.cloud.deploy.v1.DeliveryPipeline.newBuilder(deliveryPipelineSnapshot_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.deploy.v1.DeliveryPipeline.newBuilder(deliveryPipelineSnapshot_).mergeFrom(value).buildPartial(); } else { deliveryPipelineSnapshot_ = value; } @@ -5597,15 +4972,11 @@ public Builder mergeDeliveryPipelineSnapshot( 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() { if (deliveryPipelineSnapshotBuilder_ == null) { @@ -5619,98 +4990,71 @@ 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() { + 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_ & 0x00000008) != 0)) { - targetSnapshots_ = - new java.util.ArrayList(targetSnapshots_); + targetSnapshots_ = new java.util.ArrayList(targetSnapshots_); bitField0_ |= 0x00000008; - } + } } 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 parent pipeline's 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) { @@ -5720,15 +5064,11 @@ public java.util.List getTargetSnapshotsList( } } /** - * - * *
      * Output only. Snapshot of the parent pipeline's 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) { @@ -5738,15 +5078,11 @@ public int getTargetSnapshotsCount() { } } /** - * - * *
      * Output only. Snapshot of the parent pipeline's 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) { @@ -5756,17 +5092,14 @@ public com.google.cloud.deploy.v1.Target getTargetSnapshots(int index) { } } /** - * - * *
      * Output only. Snapshot of the parent pipeline's 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(); @@ -5780,15 +5113,11 @@ public Builder setTargetSnapshots(int index, com.google.cloud.deploy.v1.Target v return this; } /** - * - * *
      * Output only. Snapshot of the parent pipeline's 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) { @@ -5802,15 +5131,11 @@ public Builder setTargetSnapshots( return this; } /** - * - * *
      * Output only. Snapshot of the parent pipeline's 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) { @@ -5826,17 +5151,14 @@ public Builder addTargetSnapshots(com.google.cloud.deploy.v1.Target value) { return this; } /** - * - * *
      * Output only. Snapshot of the parent pipeline's 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(); @@ -5850,17 +5172,14 @@ public Builder addTargetSnapshots(int index, com.google.cloud.deploy.v1.Target v return this; } /** - * - * *
      * Output only. Snapshot of the parent pipeline's 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()); @@ -5871,15 +5190,11 @@ public Builder addTargetSnapshots(com.google.cloud.deploy.v1.Target.Builder buil return this; } /** - * - * *
      * Output only. Snapshot of the parent pipeline's 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) { @@ -5893,21 +5208,18 @@ public Builder addTargetSnapshots( return this; } /** - * - * *
      * Output only. Snapshot of the parent pipeline's 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); @@ -5915,15 +5227,11 @@ public Builder addAllTargetSnapshots( return this; } /** - * - * *
      * Output only. Snapshot of the parent pipeline's 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) { @@ -5936,15 +5244,11 @@ public Builder clearTargetSnapshots() { return this; } /** - * - * *
      * Output only. Snapshot of the parent pipeline's 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) { @@ -5957,50 +5261,39 @@ public Builder removeTargetSnapshots(int index) { return this; } /** - * - * *
      * Output only. Snapshot of the parent pipeline's 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 parent pipeline's 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 parent pipeline's 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 { @@ -6008,62 +5301,45 @@ public com.google.cloud.deploy.v1.TargetOrBuilder getTargetSnapshotsOrBuilder(in } } /** - * - * *
      * Output only. Snapshot of the parent pipeline's 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 parent pipeline's 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 parent pipeline's 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_ & 0x00000008) != 0), getParentForChildren(), @@ -6075,73 +5351,51 @@ public com.google.cloud.deploy.v1.Target.Builder addTargetSnapshotsBuilder(int i 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. */ public Builder setRenderStateValue(int value) { - + renderState_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.cloud.deploy.v1.Release.RenderState result = - com.google.cloud.deploy.v1.Release.RenderState.valueOf(renderState_); + com.google.cloud.deploy.v1.Release.RenderState result = com.google.cloud.deploy.v1.Release.RenderState.valueOf(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. */ @@ -6149,26 +5403,21 @@ public Builder setRenderState(com.google.cloud.deploy.v1.Release.RenderState val if (value == null) { throw new NullPointerException(); } - + renderState_ = value.getNumber(); onChanged(); 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() { - + renderState_ = 0; onChanged(); return this; @@ -6176,8 +5425,6 @@ 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
@@ -6185,13 +5432,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; @@ -6200,8 +5447,6 @@ 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
@@ -6209,14 +5454,15 @@ 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 { @@ -6224,8 +5470,6 @@ public com.google.protobuf.ByteString getEtagBytes() { } } /** - * - * *
      * 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
@@ -6233,22 +5477,20 @@ public com.google.protobuf.ByteString getEtagBytes() {
      * 
* * string etag = 16; - * * @param value The etag to set. * @return This builder for chaining. */ - public Builder setEtag(java.lang.String value) { + public Builder setEtag( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + etag_ = value; 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
@@ -6256,18 +5498,15 @@ public Builder setEtag(java.lang.String value) {
      * 
* * string etag = 16; - * * @return This builder for chaining. */ public Builder clearEtag() { - + etag_ = getDefaultInstance().getEtag(); 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
@@ -6275,16 +5514,16 @@ 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) { + public Builder setEtagBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + etag_ = value; onChanged(); return this; @@ -6292,8 +5531,6 @@ public Builder setEtagBytes(com.google.protobuf.ByteString value) { 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; Google Cloud Deploy supports a
@@ -6302,13 +5539,13 @@ public Builder setEtagBytes(com.google.protobuf.ByteString value) {
      * 
* * 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; @@ -6317,8 +5554,6 @@ 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; Google Cloud Deploy supports a
@@ -6327,14 +5562,15 @@ 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 { @@ -6342,8 +5578,6 @@ public com.google.protobuf.ByteString getSkaffoldVersionBytes() { } } /** - * - * *
      * The Skaffold version to use when operating on this release, such as
      * "1.20.0". Not all versions are valid; Google Cloud Deploy supports a
@@ -6352,22 +5586,20 @@ public com.google.protobuf.ByteString getSkaffoldVersionBytes() {
      * 
* * string skaffold_version = 19; - * * @param value The skaffoldVersion to set. * @return This builder for chaining. */ - public Builder setSkaffoldVersion(java.lang.String value) { + public Builder setSkaffoldVersion( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + skaffoldVersion_ = value; onChanged(); return this; } /** - * - * *
      * The Skaffold version to use when operating on this release, such as
      * "1.20.0". Not all versions are valid; Google Cloud Deploy supports a
@@ -6376,18 +5608,15 @@ public Builder setSkaffoldVersion(java.lang.String value) {
      * 
* * string skaffold_version = 19; - * * @return This builder for chaining. */ public Builder clearSkaffoldVersion() { - + skaffoldVersion_ = getDefaultInstance().getSkaffoldVersion(); onChanged(); return this; } /** - * - * *
      * The Skaffold version to use when operating on this release, such as
      * "1.20.0". Not all versions are valid; Google Cloud Deploy supports a
@@ -6396,44 +5625,37 @@ 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) { + public Builder setSkaffoldVersionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + skaffoldVersion_ = value; onChanged(); return this; } 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() { + java.lang.String, com.google.cloud.deploy.v1.TargetArtifact> targetArtifacts_; + private com.google.protobuf.MapField + internalGetTargetArtifacts() { if (targetArtifacts_ == null) { return com.google.protobuf.MapField.emptyMapField( TargetArtifactsDefaultEntryHolder.defaultEntry); } return targetArtifacts_; } - - private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.deploy.v1.TargetArtifact> - internalGetMutableTargetArtifacts() { - onChanged(); - ; + private com.google.protobuf.MapField + internalGetMutableTargetArtifacts() { + onChanged();; 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(); @@ -6445,88 +5667,72 @@ 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 java.lang.NullPointerException(); - } + public boolean containsTargetArtifacts( + java.lang.String key) { + if (key == null) { throw new java.lang.NullPointerException(); } 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 com.google.cloud.deploy.v1.TargetArtifact getTargetArtifactsOrDefault( - java.lang.String key, com.google.cloud.deploy.v1.TargetArtifact defaultValue) { - if (key == null) { - throw new java.lang.NullPointerException(); - } + java.lang.String key, + com.google.cloud.deploy.v1.TargetArtifact defaultValue) { + if (key == null) { throw new java.lang.NullPointerException(); } 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 java.lang.NullPointerException(); - } + if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetTargetArtifacts().getMap(); if (!map.containsKey(key)) { @@ -6536,97 +5742,83 @@ public com.google.cloud.deploy.v1.TargetArtifact getTargetArtifactsOrThrow( } public Builder clearTargetArtifacts() { - 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 java.lang.NullPointerException(); - } - internalGetMutableTargetArtifacts().getMutableMap().remove(key); + + public Builder removeTargetArtifacts( + java.lang.String key) { + if (key == null) { throw new java.lang.NullPointerException(); } + internalGetMutableTargetArtifacts().getMutableMap() + .remove(key); return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated public java.util.Map - getMutableTargetArtifacts() { + getMutableTargetArtifacts() { 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 java.lang.NullPointerException(); - } - if (value == null) { - throw new java.lang.NullPointerException(); - } - internalGetMutableTargetArtifacts().getMutableMap().put(key, value); + java.lang.String key, + com.google.cloud.deploy.v1.TargetArtifact value) { + if (key == null) { throw new java.lang.NullPointerException(); } + if (value == null) { throw new java.lang.NullPointerException(); } + internalGetMutableTargetArtifacts().getMutableMap() + .put(key, value); 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); 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> - internalGetTargetRenders() { + java.lang.String, com.google.cloud.deploy.v1.Release.TargetRender> targetRenders_; + private com.google.protobuf.MapField + internalGetTargetRenders() { if (targetRenders_ == null) { return com.google.protobuf.MapField.emptyMapField( TargetRendersDefaultEntryHolder.defaultEntry); } return targetRenders_; } - - private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.deploy.v1.Release.TargetRender> - internalGetMutableTargetRenders() { - onChanged(); - ; + private com.google.protobuf.MapField + internalGetMutableTargetRenders() { + onChanged();; 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(); @@ -6638,84 +5830,68 @@ 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 java.lang.NullPointerException(); - } + public boolean containsTargetRenders( + java.lang.String key) { + if (key == null) { throw new java.lang.NullPointerException(); } 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 com.google.cloud.deploy.v1.Release.TargetRender getTargetRendersOrDefault( - java.lang.String key, com.google.cloud.deploy.v1.Release.TargetRender defaultValue) { - if (key == null) { - throw new java.lang.NullPointerException(); - } + java.lang.String key, + com.google.cloud.deploy.v1.Release.TargetRender defaultValue) { + if (key == null) { throw new java.lang.NullPointerException(); } 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 java.lang.NullPointerException(); - } + if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetTargetRenders().getMap(); if (!map.containsKey(key)) { @@ -6725,74 +5901,66 @@ public com.google.cloud.deploy.v1.Release.TargetRender getTargetRendersOrThrow( } public Builder clearTargetRenders() { - 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 java.lang.NullPointerException(); - } - internalGetMutableTargetRenders().getMutableMap().remove(key); + + public Builder removeTargetRenders( + java.lang.String key) { + if (key == null) { throw new java.lang.NullPointerException(); } + internalGetMutableTargetRenders().getMutableMap() + .remove(key); return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated public java.util.Map - getMutableTargetRenders() { + getMutableTargetRenders() { 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 java.lang.NullPointerException(); - } - if (value == null) { - throw new java.lang.NullPointerException(); - } - internalGetMutableTargetRenders().getMutableMap().put(key, value); + java.lang.String key, + com.google.cloud.deploy.v1.Release.TargetRender value) { + if (key == null) { throw new java.lang.NullPointerException(); } + if (value == null) { throw new java.lang.NullPointerException(); } + internalGetMutableTargetRenders().getMutableMap() + .put(key, value); 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); 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); } @@ -6802,12 +5970,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(); } @@ -6816,16 +5984,16 @@ 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 { - return new Release(input, extensionRegistry); - } - }; + 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 { + return new Release(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -6840,4 +6008,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.Release getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ReleaseName.java b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ReleaseName.java similarity index 100% rename from proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ReleaseName.java rename to owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ReleaseName.java diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ReleaseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ReleaseOrBuilder.java similarity index 68% rename from proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ReleaseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ReleaseOrBuilder.java index f6ced02..4bbe021 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ReleaseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ReleaseOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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}/
@@ -33,13 +15,10 @@ public interface ReleaseOrBuilder
    * 
* * 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}/
@@ -47,64 +26,52 @@ public interface ReleaseOrBuilder
    * 
* * 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 Google Cloud Deploy. See
@@ -116,8 +83,6 @@ public interface ReleaseOrBuilder
    */
   int getAnnotationsCount();
   /**
-   *
-   *
    * 
    * User annotations. These attributes can only be set and used by the
    * user, and not by Google Cloud Deploy. See
@@ -127,13 +92,15 @@ public interface ReleaseOrBuilder
    *
    * 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 Google Cloud Deploy. See
@@ -143,10 +110,9 @@ public interface ReleaseOrBuilder
    *
    * 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 Google Cloud Deploy. See
@@ -156,10 +122,11 @@ public interface ReleaseOrBuilder
    *
    * map<string, string> annotations = 4;
    */
-  java.lang.String getAnnotationsOrDefault(java.lang.String key, java.lang.String defaultValue);
+
+  java.lang.String getAnnotationsOrDefault(
+      java.lang.String key,
+      java.lang.String defaultValue);
   /**
-   *
-   *
    * 
    * User annotations. These attributes can only be set and used by the
    * user, and not by Google Cloud Deploy. See
@@ -169,11 +136,11 @@ public interface ReleaseOrBuilder
    *
    * 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 Google Cloud Deploy. Labels must meet the following
@@ -187,8 +154,6 @@ public interface ReleaseOrBuilder
    */
   int getLabelsCount();
   /**
-   *
-   *
    * 
    * Labels are attributes that can be set and used by both the
    * user and by Google Cloud Deploy. Labels must meet the following
@@ -200,13 +165,15 @@ public interface ReleaseOrBuilder
    *
    * 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 Google Cloud Deploy. Labels must meet the following
@@ -218,10 +185,9 @@ public interface ReleaseOrBuilder
    *
    * 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 Google Cloud Deploy. Labels must meet the following
@@ -233,10 +199,11 @@ public interface ReleaseOrBuilder
    *
    * map<string, string> labels = 5;
    */
-  java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue);
+
+  java.lang.String getLabelsOrDefault(
+      java.lang.String key,
+      java.lang.String defaultValue);
   /**
-   *
-   *
    * 
    * Labels are attributes that can be set and used by both the
    * user and by Google Cloud Deploy. Labels must meet the following
@@ -248,191 +215,141 @@ public interface ReleaseOrBuilder
    *
    * 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 `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.
    * 
@@ -441,8 +358,6 @@ public interface ReleaseOrBuilder */ com.google.cloud.deploy.v1.BuildArtifact getBuildArtifacts(int index); /** - * - * *
    * List of artifacts to pass through to Skaffold command.
    * 
@@ -451,162 +366,115 @@ public interface ReleaseOrBuilder */ 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 parent pipeline's 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 parent pipeline's 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 parent pipeline's 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 parent pipeline's 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 parent pipeline's 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. 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
@@ -614,13 +482,10 @@ public interface ReleaseOrBuilder
    * 
* * 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
@@ -628,14 +493,12 @@ public interface ReleaseOrBuilder
    * 
* * 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; Google Cloud Deploy supports a
@@ -644,13 +507,10 @@ public interface ReleaseOrBuilder
    * 
* * 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; Google Cloud Deploy supports a
@@ -659,146 +519,121 @@ public interface ReleaseOrBuilder
    * 
* * 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]; - * + * 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. */ - 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]; */ + com.google.cloud.deploy.v1.TargetArtifact getTargetArtifactsOrDefault( - java.lang.String key, com.google.cloud.deploy.v1.TargetArtifact defaultValue); + java.lang.String key, + 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]; - * + * 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. */ - 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]; */ + com.google.cloud.deploy.v1.Release.TargetRender getTargetRendersOrDefault( - java.lang.String key, com.google.cloud.deploy.v1.Release.TargetRender defaultValue); + java.lang.String key, + 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); } diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Rollout.java b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Rollout.java similarity index 66% rename from proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Rollout.java rename to owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Rollout.java index aa47a6c..a853b46 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Rollout.java +++ b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Rollout.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** - * - * *
  * A `Rollout` resource in the Google Cloud Deploy API.
  * A `Rollout` contains information around a specific deployment to a `Target`.
@@ -28,16 +11,15 @@
  *
  * 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_ = "";
@@ -52,15 +34,16 @@ private Rollout() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Rollout();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private Rollout(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -80,232 +63,207 @@ private Rollout(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
-            }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            name_ = s;
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              uid_ = s;
-              break;
-            }
-          case 26:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            uid_ = s;
+            break;
+          }
+          case 26: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              description_ = s;
-              break;
+            description_ = s;
+            break;
+          }
+          case 34: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              annotations_ = com.google.protobuf.MapField.newMapField(
+                  AnnotationsDefaultEntryHolder.defaultEntry);
+              mutable_bitField0_ |= 0x00000001;
             }
-          case 34:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                annotations_ =
-                    com.google.protobuf.MapField.newMapField(
-                        AnnotationsDefaultEntryHolder.defaultEntry);
-                mutable_bitField0_ |= 0x00000001;
-              }
-              com.google.protobuf.MapEntry annotations__ =
-                  input.readMessage(
-                      AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(),
-                      extensionRegistry);
-              annotations_.getMutableMap().put(annotations__.getKey(), annotations__.getValue());
-              break;
+            com.google.protobuf.MapEntry
+            annotations__ = input.readMessage(
+                AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+            annotations_.getMutableMap().put(
+                annotations__.getKey(), annotations__.getValue());
+            break;
+          }
+          case 42: {
+            if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+              labels_ = com.google.protobuf.MapField.newMapField(
+                  LabelsDefaultEntryHolder.defaultEntry);
+              mutable_bitField0_ |= 0x00000002;
             }
-          case 42:
-            {
-              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-                labels_ =
-                    com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry);
-                mutable_bitField0_ |= 0x00000002;
-              }
-              com.google.protobuf.MapEntry labels__ =
-                  input.readMessage(
-                      LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              labels_.getMutableMap().put(labels__.getKey(), labels__.getValue());
-              break;
+            com.google.protobuf.MapEntry
+            labels__ = input.readMessage(
+                LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+            labels_.getMutableMap().put(
+                labels__.getKey(), labels__.getValue());
+            break;
+          }
+          case 50: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (createTime_ != null) {
+              subBuilder = createTime_.toBuilder();
             }
-          case 50:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (createTime_ != null) {
-                subBuilder = createTime_.toBuilder();
-              }
-              createTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(createTime_);
-                createTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+            createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(createTime_);
+              createTime_ = subBuilder.buildPartial();
             }
-          case 58:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (approveTime_ != null) {
-                subBuilder = approveTime_.toBuilder();
-              }
-              approveTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(approveTime_);
-                approveTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+
+            break;
+          }
+          case 58: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (approveTime_ != null) {
+              subBuilder = approveTime_.toBuilder();
             }
-          case 66:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (enqueueTime_ != null) {
-                subBuilder = enqueueTime_.toBuilder();
-              }
-              enqueueTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(enqueueTime_);
-                enqueueTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+            approveTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(approveTime_);
+              approveTime_ = subBuilder.buildPartial();
             }
-          case 74:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (deployStartTime_ != null) {
-                subBuilder = deployStartTime_.toBuilder();
-              }
-              deployStartTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(deployStartTime_);
-                deployStartTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+
+            break;
+          }
+          case 66: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (enqueueTime_ != null) {
+              subBuilder = enqueueTime_.toBuilder();
             }
-          case 82:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (deployEndTime_ != null) {
-                subBuilder = deployEndTime_.toBuilder();
-              }
-              deployEndTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(deployEndTime_);
-                deployEndTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+            enqueueTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(enqueueTime_);
+              enqueueTime_ = subBuilder.buildPartial();
             }
-          case 96:
-            {
-              int rawValue = input.readEnum();
 
-              approvalState_ = rawValue;
-              break;
+            break;
+          }
+          case 74: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (deployStartTime_ != null) {
+              subBuilder = deployStartTime_.toBuilder();
             }
-          case 104:
-            {
-              int rawValue = input.readEnum();
-
-              state_ = rawValue;
-              break;
+            deployStartTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(deployStartTime_);
+              deployStartTime_ = subBuilder.buildPartial();
             }
-          case 114:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
 
-              failureReason_ = s;
-              break;
+            break;
+          }
+          case 82: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (deployEndTime_ != null) {
+              subBuilder = deployEndTime_.toBuilder();
             }
-          case 130:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
-
-              etag_ = s;
-              break;
+            deployEndTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(deployEndTime_);
+              deployEndTime_ = subBuilder.buildPartial();
             }
-          case 138:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
 
-              deployingBuild_ = s;
-              break;
-            }
-          case 146:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            break;
+          }
+          case 96: {
+            int rawValue = input.readEnum();
 
-              targetId_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            approvalState_ = rawValue;
+            break;
+          }
+          case 104: {
+            int rawValue = input.readEnum();
+
+            state_ = rawValue;
+            break;
+          }
+          case 114: {
+            java.lang.String s = input.readStringRequireUtf8();
+
+            failureReason_ = s;
+            break;
+          }
+          case 130: {
+            java.lang.String s = input.readStringRequireUtf8();
+
+            etag_ = s;
+            break;
+          }
+          case 138: {
+            java.lang.String s = input.readStringRequireUtf8();
+
+            deployingBuild_ = s;
+            break;
+          }
+          case 146: {
+            java.lang.String s = input.readStringRequireUtf8();
+
+            targetId_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.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.
      * 
@@ -314,8 +272,6 @@ public enum ApprovalState implements com.google.protobuf.ProtocolMessageEnum { */ APPROVAL_STATE_UNSPECIFIED(0), /** - * - * *
      * The `Rollout` requires approval.
      * 
@@ -324,8 +280,6 @@ public enum ApprovalState implements com.google.protobuf.ProtocolMessageEnum { */ NEEDS_APPROVAL(1), /** - * - * *
      * The `Rollout` does not require approval.
      * 
@@ -334,8 +288,6 @@ public enum ApprovalState implements com.google.protobuf.ProtocolMessageEnum { */ DOES_NOT_NEED_APPROVAL(2), /** - * - * *
      * The `Rollout` has been approved.
      * 
@@ -344,8 +296,6 @@ public enum ApprovalState implements com.google.protobuf.ProtocolMessageEnum { */ APPROVED(3), /** - * - * *
      * The `Rollout` has been rejected.
      * 
@@ -357,8 +307,6 @@ public enum ApprovalState implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * The `Rollout` has an unspecified approval state.
      * 
@@ -367,8 +315,6 @@ public enum ApprovalState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int APPROVAL_STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The `Rollout` requires approval.
      * 
@@ -377,8 +323,6 @@ public enum ApprovalState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int NEEDS_APPROVAL_VALUE = 1; /** - * - * *
      * The `Rollout` does not require approval.
      * 
@@ -387,8 +331,6 @@ public enum ApprovalState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DOES_NOT_NEED_APPROVAL_VALUE = 2; /** - * - * *
      * The `Rollout` has been approved.
      * 
@@ -397,8 +339,6 @@ public enum ApprovalState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int APPROVED_VALUE = 3; /** - * - * *
      * The `Rollout` has been rejected.
      * 
@@ -407,6 +347,7 @@ public enum ApprovalState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int REJECTED_VALUE = 4; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -431,53 +372,51 @@ 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); + } + }; - 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() { + 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; @@ -495,18 +434,15 @@ 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.
      * 
@@ -515,8 +451,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_UNSPECIFIED(0), /** - * - * *
      * The `Rollout` has completed successfully.
      * 
@@ -525,8 +459,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ SUCCEEDED(1), /** - * - * *
      * The `Rollout` has failed.
      * 
@@ -535,8 +467,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ FAILED(2), /** - * - * *
      * The `Rollout` is being deployed.
      * 
@@ -545,8 +475,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ IN_PROGRESS(3), /** - * - * *
      * The `Rollout` needs approval.
      * 
@@ -555,8 +483,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ PENDING_APPROVAL(4), /** - * - * *
      * An approver rejected the `Rollout`.
      * 
@@ -565,8 +491,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ APPROVAL_REJECTED(5), /** - * - * *
      * The `Rollout` is waiting for an earlier Rollout(s) to complete on this
      * `Target`.
@@ -576,8 +500,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     PENDING(6),
     /**
-     *
-     *
      * 
      * The `Rollout` is waiting for the `Release` to be fully rendered.
      * 
@@ -589,8 +511,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * The `Rollout` has an unspecified state.
      * 
@@ -599,8 +519,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The `Rollout` has completed successfully.
      * 
@@ -609,8 +527,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SUCCEEDED_VALUE = 1; /** - * - * *
      * The `Rollout` has failed.
      * 
@@ -619,8 +535,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FAILED_VALUE = 2; /** - * - * *
      * The `Rollout` is being deployed.
      * 
@@ -629,8 +543,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int IN_PROGRESS_VALUE = 3; /** - * - * *
      * The `Rollout` needs approval.
      * 
@@ -639,8 +551,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PENDING_APPROVAL_VALUE = 4; /** - * - * *
      * An approver rejected the `Rollout`.
      * 
@@ -649,8 +559,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int APPROVAL_REJECTED_VALUE = 5; /** - * - * *
      * The `Rollout` is waiting for an earlier Rollout(s) to complete on this
      * `Target`.
@@ -660,8 +568,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int PENDING_VALUE = 6;
     /**
-     *
-     *
      * 
      * The `Rollout` is waiting for the `Release` to be fully rendered.
      * 
@@ -670,6 +576,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PENDING_RELEASE_VALUE = 7; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -694,59 +601,54 @@ 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; - default: - return null; + 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; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + State> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public State findValueByNumber(int number) { + return State.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public State findValueByNumber(int number) { - return State.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + 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; @@ -766,8 +668,6 @@ private State(int value) { public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Optional. Name of the `Rollout`. Format is projects/{project}/
    * locations/{location}/deliveryPipelines/{deliveryPipeline}/
@@ -775,7 +675,6 @@ private State(int value) {
    * 
* * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The name. */ @java.lang.Override @@ -784,15 +683,14 @@ 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}/
@@ -800,15 +698,16 @@ public java.lang.String getName() {
    * 
* * 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 { @@ -819,14 +718,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int UID_FIELD_NUMBER = 2; 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 @@ -835,29 +731,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 { @@ -868,15 +764,12 @@ public com.google.protobuf.ByteString getUidBytes() { public static final int DESCRIPTION_FIELD_NUMBER = 3; 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 @@ -885,30 +778,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 { @@ -917,24 +810,24 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } public static final int ANNOTATIONS_FIELD_NUMBER = 4; - private static final class AnnotationsDefaultEntryHolder { - 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, - ""); + 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, + ""); } - - private com.google.protobuf.MapField annotations_; - + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> 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_; } @@ -943,8 +836,6 @@ public int getAnnotationsCount() { return internalGetAnnotations().getMap().size(); } /** - * - * *
    * User annotations. These attributes can only be set and used by the
    * user, and not by Google Cloud Deploy. See
@@ -954,22 +845,22 @@ public int getAnnotationsCount() {
    *
    * map<string, string> annotations = 4;
    */
+
   @java.lang.Override
-  public boolean containsAnnotations(java.lang.String key) {
-    if (key == null) {
-      throw new java.lang.NullPointerException();
-    }
+  public boolean containsAnnotations(
+      java.lang.String key) {
+    if (key == null) { throw new java.lang.NullPointerException(); }
     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 Google Cloud Deploy. See
@@ -980,12 +871,11 @@ public java.util.Map getAnnotations() {
    * map<string, string> annotations = 4;
    */
   @java.lang.Override
+
   public java.util.Map getAnnotationsMap() {
     return internalGetAnnotations().getMap();
   }
   /**
-   *
-   *
    * 
    * User annotations. These attributes can only be set and used by the
    * user, and not by Google Cloud Deploy. See
@@ -996,17 +886,16 @@ public java.util.Map getAnnotationsMap() {
    * map<string, string> annotations = 4;
    */
   @java.lang.Override
+
   public java.lang.String getAnnotationsOrDefault(
-      java.lang.String key, java.lang.String defaultValue) {
-    if (key == null) {
-      throw new java.lang.NullPointerException();
-    }
-    java.util.Map map = internalGetAnnotations().getMap();
+      java.lang.String key,
+      java.lang.String defaultValue) {
+    if (key == null) { throw new java.lang.NullPointerException(); }
+    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 Google Cloud Deploy. See
@@ -1017,11 +906,12 @@ public 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 java.lang.NullPointerException();
-    }
-    java.util.Map map = internalGetAnnotations().getMap();
+
+  public java.lang.String getAnnotationsOrThrow(
+      java.lang.String key) {
+    if (key == null) { throw new java.lang.NullPointerException(); }
+    java.util.Map map =
+        internalGetAnnotations().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -1029,23 +919,24 @@ public java.lang.String getAnnotationsOrThrow(java.lang.String key) {
   }
 
   public static final int LABELS_FIELD_NUMBER = 5;
-
   private static final class LabelsDefaultEntryHolder {
-    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,
-            "");
+    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,
+                "");
   }
-
-  private com.google.protobuf.MapField labels_;
-
-  private com.google.protobuf.MapField internalGetLabels() {
+  private com.google.protobuf.MapField<
+      java.lang.String, java.lang.String> 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_;
   }
@@ -1054,8 +945,6 @@ public int getLabelsCount() {
     return internalGetLabels().getMap().size();
   }
   /**
-   *
-   *
    * 
    * Labels are attributes that can be set and used by both the
    * user and by Google Cloud Deploy. Labels must meet the following
@@ -1067,22 +956,22 @@ public int getLabelsCount() {
    *
    * map<string, string> labels = 5;
    */
+
   @java.lang.Override
-  public boolean containsLabels(java.lang.String key) {
-    if (key == null) {
-      throw new java.lang.NullPointerException();
-    }
+  public boolean containsLabels(
+      java.lang.String key) {
+    if (key == null) { throw new java.lang.NullPointerException(); }
     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 Google Cloud Deploy. Labels must meet the following
@@ -1095,12 +984,11 @@ public java.util.Map getLabels() {
    * map<string, string> labels = 5;
    */
   @java.lang.Override
+
   public java.util.Map getLabelsMap() {
     return internalGetLabels().getMap();
   }
   /**
-   *
-   *
    * 
    * Labels are attributes that can be set and used by both the
    * user and by Google Cloud Deploy. Labels must meet the following
@@ -1113,16 +1001,16 @@ public java.util.Map getLabelsMap() {
    * map<string, string> labels = 5;
    */
   @java.lang.Override
-  public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) {
-    if (key == null) {
-      throw new java.lang.NullPointerException();
-    }
-    java.util.Map map = internalGetLabels().getMap();
+
+  public java.lang.String getLabelsOrDefault(
+      java.lang.String key,
+      java.lang.String defaultValue) {
+    if (key == null) { throw new java.lang.NullPointerException(); }
+    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 Google Cloud Deploy. Labels must meet the following
@@ -1135,11 +1023,12 @@ public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.Strin
    * map<string, string> labels = 5;
    */
   @java.lang.Override
-  public java.lang.String getLabelsOrThrow(java.lang.String key) {
-    if (key == null) {
-      throw new java.lang.NullPointerException();
-    }
-    java.util.Map map = internalGetLabels().getMap();
+
+  public java.lang.String getLabelsOrThrow(
+      java.lang.String key) {
+    if (key == null) { throw new java.lang.NullPointerException(); }
+    java.util.Map map =
+        internalGetLabels().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -1149,15 +1038,11 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
   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 @@ -1165,15 +1050,11 @@ 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 @@ -1181,14 +1062,11 @@ 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() { @@ -1198,15 +1076,11 @@ 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 @@ -1214,15 +1088,11 @@ 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 @@ -1230,14 +1100,11 @@ 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() { @@ -1247,15 +1114,11 @@ 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 @@ -1263,15 +1126,11 @@ 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 @@ -1279,14 +1138,11 @@ 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() { @@ -1296,16 +1152,11 @@ 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 @@ -1313,34 +1164,23 @@ 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() { @@ -1350,16 +1190,11 @@ public com.google.protobuf.TimestampOrBuilder getDeployStartTimeOrBuilder() { 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 @@ -1367,34 +1202,23 @@ 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() { @@ -1404,14 +1228,11 @@ public com.google.protobuf.TimestampOrBuilder getDeployEndTimeOrBuilder() { public static final int TARGET_ID_FIELD_NUMBER = 18; 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 @@ -1420,29 +1241,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 { @@ -1453,94 +1274,65 @@ public com.google.protobuf.ByteString getTargetIdBytes() { public static final int APPROVAL_STATE_FIELD_NUMBER = 12; private int 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 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() { + @java.lang.Override public com.google.cloud.deploy.v1.Rollout.ApprovalState getApprovalState() { @SuppressWarnings("deprecation") - com.google.cloud.deploy.v1.Rollout.ApprovalState result = - com.google.cloud.deploy.v1.Rollout.ApprovalState.valueOf(approvalState_); + com.google.cloud.deploy.v1.Rollout.ApprovalState result = com.google.cloud.deploy.v1.Rollout.ApprovalState.valueOf(approvalState_); return result == null ? com.google.cloud.deploy.v1.Rollout.ApprovalState.UNRECOGNIZED : result; } public static final int STATE_FIELD_NUMBER = 13; private int 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 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() { + @java.lang.Override public com.google.cloud.deploy.v1.Rollout.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.deploy.v1.Rollout.State result = - com.google.cloud.deploy.v1.Rollout.State.valueOf(state_); + com.google.cloud.deploy.v1.Rollout.State result = com.google.cloud.deploy.v1.Rollout.State.valueOf(state_); return result == null ? com.google.cloud.deploy.v1.Rollout.State.UNRECOGNIZED : result; } public static final int FAILURE_REASON_FIELD_NUMBER = 14; private volatile java.lang.Object failureReason_; /** - * - * *
    * Output only. Reason the build failed. Empty if the build succeeded.
    * 
* * string failure_reason = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The failureReason. */ @java.lang.Override @@ -1549,29 +1341,29 @@ 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. Reason the build failed. Empty if the build succeeded.
    * 
* * 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 { @@ -1582,18 +1374,13 @@ public com.google.protobuf.ByteString getFailureReasonBytes() { public static final int DEPLOYING_BUILD_FIELD_NUMBER = 17; 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 @@ -1602,33 +1389,31 @@ 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 { @@ -1639,8 +1424,6 @@ public com.google.protobuf.ByteString getDeployingBuildBytes() { public static final int ETAG_FIELD_NUMBER = 16; 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
@@ -1648,7 +1431,6 @@ public com.google.protobuf.ByteString getDeployingBuildBytes() {
    * 
* * string etag = 16; - * * @return The etag. */ @java.lang.Override @@ -1657,15 +1439,14 @@ 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
@@ -1673,15 +1454,16 @@ 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 { @@ -1690,7 +1472,6 @@ public com.google.protobuf.ByteString getEtagBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1702,7 +1483,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -1712,10 +1494,18 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io 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()); } @@ -1731,9 +1521,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io 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()) { @@ -1769,48 +1557,53 @@ 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_); @@ -1832,44 +1625,58 @@ 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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1932,103 +1739,97 @@ 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 Google Cloud Deploy API.
    * A `Rollout` contains information around a specific deployment to a `Target`.
@@ -2036,47 +1837,47 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * 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()
@@ -2084,15 +1885,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -2150,9 +1952,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_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
@@ -2219,39 +2021,38 @@ public com.google.cloud.deploy.v1.Rollout 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.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;
@@ -2272,8 +2073,10 @@ public Builder mergeFrom(com.google.cloud.deploy.v1.Rollout other) {
         description_ = other.description_;
         onChanged();
       }
-      internalGetMutableAnnotations().mergeFrom(other.internalGetAnnotations());
-      internalGetMutableLabels().mergeFrom(other.internalGetLabels());
+      internalGetMutableAnnotations().mergeFrom(
+          other.internalGetAnnotations());
+      internalGetMutableLabels().mergeFrom(
+          other.internalGetLabels());
       if (other.hasCreateTime()) {
         mergeCreateTime(other.getCreateTime());
       }
@@ -2339,13 +2142,10 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Optional. Name of the `Rollout`. Format is projects/{project}/
      * locations/{location}/deliveryPipelines/{deliveryPipeline}/
@@ -2353,13 +2153,13 @@ public Builder mergeFrom(
      * 
* * 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; @@ -2368,8 +2168,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Optional. Name of the `Rollout`. Format is projects/{project}/
      * locations/{location}/deliveryPipelines/{deliveryPipeline}/
@@ -2377,14 +2175,15 @@ public java.lang.String getName() {
      * 
* * 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 { @@ -2392,8 +2191,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Optional. Name of the `Rollout`. Format is projects/{project}/
      * locations/{location}/deliveryPipelines/{deliveryPipeline}/
@@ -2401,22 +2198,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Optional. Name of the `Rollout`. Format is projects/{project}/
      * locations/{location}/deliveryPipelines/{deliveryPipeline}/
@@ -2424,18 +2219,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Optional. Name of the `Rollout`. Format is projects/{project}/
      * locations/{location}/deliveryPipelines/{deliveryPipeline}/
@@ -2443,16 +2235,16 @@ public Builder clearName() {
      * 
* * 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -2460,20 +2252,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { 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; @@ -2482,21 +2272,20 @@ 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 { @@ -2504,61 +2293,54 @@ public com.google.protobuf.ByteString getUidBytes() { } } /** - * - * *
      * 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) { + public Builder setUid( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + uid_ = value; 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() { - + uid_ = getDefaultInstance().getUid(); onChanged(); 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) { + public Builder setUidBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + uid_ = value; onChanged(); return this; @@ -2566,21 +2348,19 @@ public Builder setUidBytes(com.google.protobuf.ByteString value) { 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; @@ -2589,22 +2369,21 @@ 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 { @@ -2612,87 +2391,78 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * 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) { + public Builder setDescription( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; 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() { - + description_ = getDefaultInstance().getDescription(); onChanged(); 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) { + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; } - private com.google.protobuf.MapField annotations_; - + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> annotations_; private com.google.protobuf.MapField - internalGetAnnotations() { + internalGetAnnotations() { if (annotations_ == null) { return com.google.protobuf.MapField.emptyMapField( AnnotationsDefaultEntryHolder.defaultEntry); } return annotations_; } - private com.google.protobuf.MapField - internalGetMutableAnnotations() { - onChanged(); - ; + internalGetMutableAnnotations() { + onChanged();; 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(); @@ -2704,8 +2474,6 @@ public int getAnnotationsCount() { return internalGetAnnotations().getMap().size(); } /** - * - * *
      * User annotations. These attributes can only be set and used by the
      * user, and not by Google Cloud Deploy. See
@@ -2715,22 +2483,22 @@ public int getAnnotationsCount() {
      *
      * map<string, string> annotations = 4;
      */
+
     @java.lang.Override
-    public boolean containsAnnotations(java.lang.String key) {
-      if (key == null) {
-        throw new java.lang.NullPointerException();
-      }
+    public boolean containsAnnotations(
+        java.lang.String key) {
+      if (key == null) { throw new java.lang.NullPointerException(); }
       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 Google Cloud Deploy. See
@@ -2741,12 +2509,11 @@ public java.util.Map getAnnotations() {
      * map<string, string> annotations = 4;
      */
     @java.lang.Override
+
     public java.util.Map getAnnotationsMap() {
       return internalGetAnnotations().getMap();
     }
     /**
-     *
-     *
      * 
      * User annotations. These attributes can only be set and used by the
      * user, and not by Google Cloud Deploy. See
@@ -2757,17 +2524,16 @@ public java.util.Map getAnnotationsMap() {
      * map<string, string> annotations = 4;
      */
     @java.lang.Override
+
     public java.lang.String getAnnotationsOrDefault(
-        java.lang.String key, java.lang.String defaultValue) {
-      if (key == null) {
-        throw new java.lang.NullPointerException();
-      }
-      java.util.Map map = internalGetAnnotations().getMap();
+        java.lang.String key,
+        java.lang.String defaultValue) {
+      if (key == null) { throw new java.lang.NullPointerException(); }
+      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 Google Cloud Deploy. See
@@ -2778,11 +2544,12 @@ public 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 java.lang.NullPointerException();
-      }
-      java.util.Map map = internalGetAnnotations().getMap();
+
+    public java.lang.String getAnnotationsOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new java.lang.NullPointerException(); }
+      java.util.Map map =
+          internalGetAnnotations().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -2790,12 +2557,11 @@ public java.lang.String getAnnotationsOrThrow(java.lang.String key) {
     }
 
     public Builder clearAnnotations() {
-      internalGetMutableAnnotations().getMutableMap().clear();
+      internalGetMutableAnnotations().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * User annotations. These attributes can only be set and used by the
      * user, and not by Google Cloud Deploy. See
@@ -2805,21 +2571,23 @@ public Builder clearAnnotations() {
      *
      * map<string, string> annotations = 4;
      */
-    public Builder removeAnnotations(java.lang.String key) {
-      if (key == null) {
-        throw new java.lang.NullPointerException();
-      }
-      internalGetMutableAnnotations().getMutableMap().remove(key);
+
+    public Builder removeAnnotations(
+        java.lang.String key) {
+      if (key == null) { throw new java.lang.NullPointerException(); }
+      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() {
       return internalGetMutableAnnotations().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * User annotations. These attributes can only be set and used by the
      * user, and not by Google Cloud Deploy. See
@@ -2829,19 +2597,16 @@ public java.util.Map getMutableAnnotations()
      *
      * map<string, string> annotations = 4;
      */
-    public Builder putAnnotations(java.lang.String key, java.lang.String value) {
-      if (key == null) {
-        throw new java.lang.NullPointerException();
-      }
-      if (value == null) {
-        throw new java.lang.NullPointerException();
-      }
-      internalGetMutableAnnotations().getMutableMap().put(key, value);
+    public Builder putAnnotations(
+        java.lang.String key,
+        java.lang.String value) {
+      if (key == null) { throw new java.lang.NullPointerException(); }
+      if (value == null) { throw new java.lang.NullPointerException(); }
+      internalGetMutableAnnotations().getMutableMap()
+          .put(key, value);
       return this;
     }
     /**
-     *
-     *
      * 
      * User annotations. These attributes can only be set and used by the
      * user, and not by Google Cloud Deploy. See
@@ -2851,26 +2616,30 @@ public Builder putAnnotations(java.lang.String key, java.lang.String value) {
      *
      * 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);
       return this;
     }
 
-    private com.google.protobuf.MapField labels_;
-
-    private com.google.protobuf.MapField internalGetLabels() {
+    private com.google.protobuf.MapField<
+        java.lang.String, java.lang.String> 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() {
-      onChanged();
-      ;
+    internalGetMutableLabels() {
+      onChanged();;
       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();
@@ -2882,8 +2651,6 @@ public int getLabelsCount() {
       return internalGetLabels().getMap().size();
     }
     /**
-     *
-     *
      * 
      * Labels are attributes that can be set and used by both the
      * user and by Google Cloud Deploy. Labels must meet the following
@@ -2895,22 +2662,22 @@ public int getLabelsCount() {
      *
      * map<string, string> labels = 5;
      */
+
     @java.lang.Override
-    public boolean containsLabels(java.lang.String key) {
-      if (key == null) {
-        throw new java.lang.NullPointerException();
-      }
+    public boolean containsLabels(
+        java.lang.String key) {
+      if (key == null) { throw new java.lang.NullPointerException(); }
       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 Google Cloud Deploy. Labels must meet the following
@@ -2923,12 +2690,11 @@ public java.util.Map getLabels() {
      * map<string, string> labels = 5;
      */
     @java.lang.Override
+
     public java.util.Map getLabelsMap() {
       return internalGetLabels().getMap();
     }
     /**
-     *
-     *
      * 
      * Labels are attributes that can be set and used by both the
      * user and by Google Cloud Deploy. Labels must meet the following
@@ -2941,17 +2707,16 @@ public java.util.Map getLabelsMap() {
      * map<string, string> labels = 5;
      */
     @java.lang.Override
+
     public java.lang.String getLabelsOrDefault(
-        java.lang.String key, java.lang.String defaultValue) {
-      if (key == null) {
-        throw new java.lang.NullPointerException();
-      }
-      java.util.Map map = internalGetLabels().getMap();
+        java.lang.String key,
+        java.lang.String defaultValue) {
+      if (key == null) { throw new java.lang.NullPointerException(); }
+      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 Google Cloud Deploy. Labels must meet the following
@@ -2964,11 +2729,12 @@ public 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 java.lang.NullPointerException();
-      }
-      java.util.Map map = internalGetLabels().getMap();
+
+    public java.lang.String getLabelsOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new java.lang.NullPointerException(); }
+      java.util.Map map =
+          internalGetLabels().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -2976,12 +2742,11 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
     }
 
     public Builder clearLabels() {
-      internalGetMutableLabels().getMutableMap().clear();
+      internalGetMutableLabels().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * Labels are attributes that can be set and used by both the
      * user and by Google Cloud Deploy. Labels must meet the following
@@ -2993,21 +2758,23 @@ public Builder clearLabels() {
      *
      * map<string, string> labels = 5;
      */
-    public Builder removeLabels(java.lang.String key) {
-      if (key == null) {
-        throw new java.lang.NullPointerException();
-      }
-      internalGetMutableLabels().getMutableMap().remove(key);
+
+    public Builder removeLabels(
+        java.lang.String key) {
+      if (key == null) { throw new java.lang.NullPointerException(); }
+      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() {
       return internalGetMutableLabels().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * Labels are attributes that can be set and used by both the
      * user and by Google Cloud Deploy. Labels must meet the following
@@ -3019,19 +2786,16 @@ public java.util.Map getMutableLabels() {
      *
      * map<string, string> labels = 5;
      */
-    public Builder putLabels(java.lang.String key, java.lang.String value) {
-      if (key == null) {
-        throw new java.lang.NullPointerException();
-      }
-      if (value == null) {
-        throw new java.lang.NullPointerException();
-      }
-      internalGetMutableLabels().getMutableMap().put(key, value);
+    public Builder putLabels(
+        java.lang.String key,
+        java.lang.String value) {
+      if (key == null) { throw new java.lang.NullPointerException(); }
+      if (value == null) { throw new java.lang.NullPointerException(); }
+      internalGetMutableLabels().getMutableMap()
+          .put(key, value);
       return this;
     }
     /**
-     *
-     *
      * 
      * Labels are attributes that can be set and used by both the
      * user and by Google Cloud Deploy. Labels must meet the following
@@ -3043,65 +2807,49 @@ public Builder putLabels(java.lang.String key, java.lang.String value) {
      *
      * 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);
       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 createTimeBuilder_ != null || 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. */ 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) { @@ -3117,17 +2865,14 @@ 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(); onChanged(); @@ -3138,21 +2883,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal 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 (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -3164,15 +2905,11 @@ 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() { if (createTimeBuilder_ == null) { @@ -3186,64 +2923,48 @@ 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() { - + onChanged(); 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_; @@ -3251,58 +2972,39 @@ 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 approveTimeBuilder_ != null || 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. */ 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) { @@ -3318,17 +3020,14 @@ 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(); onChanged(); @@ -3339,23 +3038,17 @@ public Builder setApproveTime(com.google.protobuf.Timestamp.Builder builderForVa 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 (approveTime_ != null) { approveTime_ = - com.google.protobuf.Timestamp.newBuilder(approveTime_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Timestamp.newBuilder(approveTime_).mergeFrom(value).buildPartial(); } else { approveTime_ = value; } @@ -3367,15 +3060,11 @@ 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() { if (approveTimeBuilder_ == null) { @@ -3389,64 +3078,48 @@ 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() { - + onChanged(); 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_; @@ -3454,58 +3127,39 @@ 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 enqueueTimeBuilder_ != null || 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. */ 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) { @@ -3521,17 +3175,14 @@ 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(); onChanged(); @@ -3542,23 +3193,17 @@ public Builder setEnqueueTime(com.google.protobuf.Timestamp.Builder builderForVa 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 (enqueueTime_ != null) { enqueueTime_ = - com.google.protobuf.Timestamp.newBuilder(enqueueTime_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Timestamp.newBuilder(enqueueTime_).mergeFrom(value).buildPartial(); } else { enqueueTime_ = value; } @@ -3570,15 +3215,11 @@ 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() { if (enqueueTimeBuilder_ == null) { @@ -3592,64 +3233,48 @@ 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() { - + onChanged(); 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_; @@ -3657,58 +3282,39 @@ 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 deployStartTimeBuilder_ != null || 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. */ 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) { @@ -3724,17 +3330,14 @@ 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(); onChanged(); @@ -3745,23 +3348,17 @@ public Builder setDeployStartTime(com.google.protobuf.Timestamp.Builder builderF 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 (deployStartTime_ != null) { deployStartTime_ = - com.google.protobuf.Timestamp.newBuilder(deployStartTime_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Timestamp.newBuilder(deployStartTime_).mergeFrom(value).buildPartial(); } else { deployStartTime_ = value; } @@ -3773,15 +3370,11 @@ 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() { if (deployStartTimeBuilder_ == null) { @@ -3795,64 +3388,48 @@ 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() { - + onChanged(); 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_; @@ -3860,58 +3437,39 @@ 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 deployEndTimeBuilder_ != null || 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. */ 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) { @@ -3927,17 +3485,14 @@ 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(); onChanged(); @@ -3948,23 +3503,17 @@ public Builder setDeployEndTime(com.google.protobuf.Timestamp.Builder builderFor 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 (deployEndTime_ != null) { deployEndTime_ = - com.google.protobuf.Timestamp.newBuilder(deployEndTime_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Timestamp.newBuilder(deployEndTime_).mergeFrom(value).buildPartial(); } else { deployEndTime_ = value; } @@ -3976,15 +3525,11 @@ 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() { if (deployEndTimeBuilder_ == null) { @@ -3998,64 +3543,48 @@ 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() { - + onChanged(); 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_; @@ -4063,20 +3592,18 @@ 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; @@ -4085,21 +3612,20 @@ 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 { @@ -4107,61 +3633,54 @@ public com.google.protobuf.ByteString getTargetIdBytes() { } } /** - * - * *
      * 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) { + public Builder setTargetId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + targetId_ = value; 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() { - + targetId_ = getDefaultInstance().getTargetId(); onChanged(); 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) { + public Builder setTargetIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + targetId_ = value; onChanged(); return this; @@ -4169,75 +3688,51 @@ public Builder setTargetIdBytes(com.google.protobuf.ByteString value) { 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. */ public Builder setApprovalStateValue(int value) { - + approvalState_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.cloud.deploy.v1.Rollout.ApprovalState result = - com.google.cloud.deploy.v1.Rollout.ApprovalState.valueOf(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.valueOf(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. */ @@ -4245,26 +3740,21 @@ public Builder setApprovalState(com.google.cloud.deploy.v1.Rollout.ApprovalState if (value == null) { throw new NullPointerException(); } - + approvalState_ = value.getNumber(); onChanged(); 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() { - + approvalState_ = 0; onChanged(); return this; @@ -4272,73 +3762,51 @@ 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. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.cloud.deploy.v1.Rollout.State result = - com.google.cloud.deploy.v1.Rollout.State.valueOf(state_); + com.google.cloud.deploy.v1.Rollout.State result = com.google.cloud.deploy.v1.Rollout.State.valueOf(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. */ @@ -4346,26 +3814,21 @@ public Builder setState(com.google.cloud.deploy.v1.Rollout.State value) { if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); 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() { - + state_ = 0; onChanged(); return this; @@ -4373,20 +3836,18 @@ public Builder clearState() { private java.lang.Object failureReason_ = ""; /** - * - * *
      * Output only. Reason the build failed. Empty if the build succeeded.
      * 
* * 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; @@ -4395,21 +3856,20 @@ public java.lang.String getFailureReason() { } } /** - * - * *
      * Output only. Reason the build failed. Empty if the build succeeded.
      * 
* * 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 { @@ -4417,61 +3877,54 @@ public com.google.protobuf.ByteString getFailureReasonBytes() { } } /** - * - * *
      * Output only. Reason the build failed. Empty if the build succeeded.
      * 
* * 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) { + public Builder setFailureReason( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + failureReason_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Reason the build failed. Empty if the build succeeded.
      * 
* * string failure_reason = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearFailureReason() { - + failureReason_ = getDefaultInstance().getFailureReason(); onChanged(); return this; } /** - * - * *
      * Output only. Reason the build failed. Empty if the build succeeded.
      * 
* * 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) { + public Builder setFailureReasonBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + failureReason_ = value; onChanged(); return this; @@ -4479,24 +3932,20 @@ public Builder setFailureReasonBytes(com.google.protobuf.ByteString value) { 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; @@ -4505,25 +3954,22 @@ 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 { @@ -4531,73 +3977,60 @@ public com.google.protobuf.ByteString getDeployingBuildBytes() { } } /** - * - * *
      * 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) { + public Builder setDeployingBuild( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + deployingBuild_ = value; 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() { - + deployingBuild_ = getDefaultInstance().getDeployingBuild(); 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) = { ... } * @param value The bytes for deployingBuild to set. * @return This builder for chaining. */ - public Builder setDeployingBuildBytes(com.google.protobuf.ByteString value) { + public Builder setDeployingBuildBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + deployingBuild_ = value; onChanged(); return this; @@ -4605,8 +4038,6 @@ public Builder setDeployingBuildBytes(com.google.protobuf.ByteString value) { 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
@@ -4614,13 +4045,13 @@ public Builder setDeployingBuildBytes(com.google.protobuf.ByteString value) {
      * 
* * 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; @@ -4629,8 +4060,6 @@ 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
@@ -4638,14 +4067,15 @@ 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 { @@ -4653,8 +4083,6 @@ public com.google.protobuf.ByteString getEtagBytes() { } } /** - * - * *
      * 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
@@ -4662,22 +4090,20 @@ public com.google.protobuf.ByteString getEtagBytes() {
      * 
* * string etag = 16; - * * @param value The etag to set. * @return This builder for chaining. */ - public Builder setEtag(java.lang.String value) { + public Builder setEtag( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + etag_ = value; 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
@@ -4685,18 +4111,15 @@ public Builder setEtag(java.lang.String value) {
      * 
* * string etag = 16; - * * @return This builder for chaining. */ public Builder clearEtag() { - + etag_ = getDefaultInstance().getEtag(); 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
@@ -4704,23 +4127,23 @@ 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) { + public Builder setEtagBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + etag_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -4730,12 +4153,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(); } @@ -4744,16 +4167,16 @@ 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 { - return new Rollout(input, extensionRegistry); - } - }; + 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 { + return new Rollout(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4768,4 +4191,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.Rollout getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RolloutName.java b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RolloutName.java similarity index 100% rename from proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RolloutName.java rename to owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RolloutName.java diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RolloutOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RolloutOrBuilder.java similarity index 73% rename from proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RolloutOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RolloutOrBuilder.java index 2e4cd29..319daa1 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RolloutOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RolloutOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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}/
@@ -33,13 +15,10 @@ public interface RolloutOrBuilder
    * 
* * 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}/
@@ -47,66 +26,54 @@ public interface RolloutOrBuilder
    * 
* * 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 Google Cloud Deploy. See
@@ -118,8 +85,6 @@ public interface RolloutOrBuilder
    */
   int getAnnotationsCount();
   /**
-   *
-   *
    * 
    * User annotations. These attributes can only be set and used by the
    * user, and not by Google Cloud Deploy. See
@@ -129,13 +94,15 @@ public interface RolloutOrBuilder
    *
    * 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 Google Cloud Deploy. See
@@ -145,10 +112,9 @@ public interface RolloutOrBuilder
    *
    * 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 Google Cloud Deploy. See
@@ -158,10 +124,11 @@ public interface RolloutOrBuilder
    *
    * map<string, string> annotations = 4;
    */
-  java.lang.String getAnnotationsOrDefault(java.lang.String key, java.lang.String defaultValue);
+
+  java.lang.String getAnnotationsOrDefault(
+      java.lang.String key,
+      java.lang.String defaultValue);
   /**
-   *
-   *
    * 
    * User annotations. These attributes can only be set and used by the
    * user, and not by Google Cloud Deploy. See
@@ -171,11 +138,11 @@ public interface RolloutOrBuilder
    *
    * 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 Google Cloud Deploy. Labels must meet the following
@@ -189,8 +156,6 @@ public interface RolloutOrBuilder
    */
   int getLabelsCount();
   /**
-   *
-   *
    * 
    * Labels are attributes that can be set and used by both the
    * user and by Google Cloud Deploy. Labels must meet the following
@@ -202,13 +167,15 @@ public interface RolloutOrBuilder
    *
    * 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 Google Cloud Deploy. Labels must meet the following
@@ -220,10 +187,9 @@ public interface RolloutOrBuilder
    *
    * 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 Google Cloud Deploy. Labels must meet the following
@@ -235,10 +201,11 @@ public interface RolloutOrBuilder
    *
    * map<string, string> labels = 5;
    */
-  java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue);
+
+  java.lang.String getLabelsOrDefault(
+      java.lang.String key,
+      java.lang.String defaultValue);
   /**
-   *
-   *
    * 
    * Labels are attributes that can be set and used by both the
    * user and by Google Cloud Deploy. Labels must meet the following
@@ -250,348 +217,248 @@ public interface RolloutOrBuilder
    *
    * 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. Reason the build failed. Empty if the build succeeded.
    * 
* * string failure_reason = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The failureReason. */ java.lang.String getFailureReason(); /** - * - * *
    * Output only. Reason the build failed. Empty if the build succeeded.
    * 
* * 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
@@ -599,13 +466,10 @@ public interface RolloutOrBuilder
    * 
* * 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
@@ -613,8 +477,8 @@ public interface RolloutOrBuilder
    * 
* * string etag = 16; - * * @return The bytes for etag. */ - com.google.protobuf.ByteString getEtagBytes(); + com.google.protobuf.ByteString + getEtagBytes(); } diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/SerialPipeline.java b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/SerialPipeline.java similarity index 74% rename from proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/SerialPipeline.java rename to owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/SerialPipeline.java index 7ab3738..96d11e6 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/SerialPipeline.java +++ b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/SerialPipeline.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private SerialPipeline( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,29 +54,29 @@ private SerialPipeline( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - stages_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - stages_.add( - input.readMessage(com.google.cloud.deploy.v1.Stage.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + stages_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + stages_.add( + input.readMessage(com.google.cloud.deploy.v1.Stage.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { stages_ = java.util.Collections.unmodifiableList(stages_); @@ -102,27 +85,22 @@ private SerialPipeline( makeExtensionsImmutable(); } } - - 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; private java.util.List stages_; /** - * - * *
    * Each stage specifies configuration for a `Target`. The ordering
    * of this list defines the promotion flow.
@@ -135,8 +113,6 @@ public java.util.List getStagesList() {
     return stages_;
   }
   /**
-   *
-   *
    * 
    * Each stage specifies configuration for a `Target`. The ordering
    * of this list defines the promotion flow.
@@ -145,13 +121,11 @@ 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.
@@ -164,8 +138,6 @@ public int getStagesCount() {
     return stages_.size();
   }
   /**
-   *
-   *
    * 
    * Each stage specifies configuration for a `Target`. The ordering
    * of this list defines the promotion flow.
@@ -178,8 +150,6 @@ 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.
@@ -188,12 +158,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;
@@ -205,7 +175,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     for (int i = 0; i < stages_.size(); i++) {
       output.writeMessage(1, stages_.get(i));
     }
@@ -219,7 +190,8 @@ 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 += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -229,15 +201,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 (!unknownFields.equals(other.unknownFields)) return false;
     return true;
   }
@@ -258,127 +230,118 @@ 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() @@ -386,17 +349,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getStagesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -410,9 +373,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 @@ -431,8 +394,7 @@ 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); int from_bitField0_ = bitField0_; if (stagesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -451,39 +413,38 @@ public com.google.cloud.deploy.v1.SerialPipeline 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.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; @@ -510,10 +471,9 @@ 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_); } @@ -547,28 +507,21 @@ public Builder mergeFrom( } 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.
@@ -584,8 +537,6 @@ public java.util.List getStagesList() {
       }
     }
     /**
-     *
-     *
      * 
      * Each stage specifies configuration for a `Target`. The ordering
      * of this list defines the promotion flow.
@@ -601,8 +552,6 @@ public int getStagesCount() {
       }
     }
     /**
-     *
-     *
      * 
      * Each stage specifies configuration for a `Target`. The ordering
      * of this list defines the promotion flow.
@@ -618,8 +567,6 @@ 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.
@@ -627,7 +574,8 @@ 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();
@@ -641,8 +589,6 @@ public Builder setStages(int index, 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.
@@ -650,7 +596,8 @@ public Builder setStages(int index, com.google.cloud.deploy.v1.Stage value) {
      *
      * 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());
@@ -661,8 +608,6 @@ public Builder setStages(int index, com.google.cloud.deploy.v1.Stage.Builder bui
       return this;
     }
     /**
-     *
-     *
      * 
      * Each stage specifies configuration for a `Target`. The ordering
      * of this list defines the promotion flow.
@@ -684,8 +629,6 @@ 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.
@@ -693,7 +636,8 @@ 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();
@@ -707,8 +651,6 @@ public Builder addStages(int index, 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.
@@ -716,7 +658,8 @@ public Builder addStages(int index, com.google.cloud.deploy.v1.Stage value) {
      *
      * 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());
@@ -727,8 +670,6 @@ public Builder addStages(com.google.cloud.deploy.v1.Stage.Builder builderForValu
       return this;
     }
     /**
-     *
-     *
      * 
      * Each stage specifies configuration for a `Target`. The ordering
      * of this list defines the promotion flow.
@@ -736,7 +677,8 @@ public Builder addStages(com.google.cloud.deploy.v1.Stage.Builder builderForValu
      *
      * 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());
@@ -747,8 +689,6 @@ public Builder addStages(int index, com.google.cloud.deploy.v1.Stage.Builder bui
       return this;
     }
     /**
-     *
-     *
      * 
      * Each stage specifies configuration for a `Target`. The ordering
      * of this list defines the promotion flow.
@@ -760,7 +700,8 @@ 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);
@@ -768,8 +709,6 @@ public Builder addAllStages(
       return this;
     }
     /**
-     *
-     *
      * 
      * Each stage specifies configuration for a `Target`. The ordering
      * of this list defines the promotion flow.
@@ -788,8 +727,6 @@ public Builder clearStages() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Each stage specifies configuration for a `Target`. The ordering
      * of this list defines the promotion flow.
@@ -808,8 +745,6 @@ public Builder removeStages(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Each stage specifies configuration for a `Target`. The ordering
      * of this list defines the promotion flow.
@@ -817,12 +752,11 @@ 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.
@@ -830,16 +764,14 @@ public com.google.cloud.deploy.v1.Stage.Builder getStagesBuilder(int index) {
      *
      * 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.
@@ -847,8 +779,8 @@ public com.google.cloud.deploy.v1.StageOrBuilder getStagesOrBuilder(int index) {
      *
      * 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 {
@@ -856,8 +788,6 @@ public com.google.cloud.deploy.v1.StageOrBuilder getStagesOrBuilder(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * Each stage specifies configuration for a `Target`. The ordering
      * of this list defines the promotion flow.
@@ -866,12 +796,10 @@ public com.google.cloud.deploy.v1.StageOrBuilder getStagesOrBuilder(int index) {
      * 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.
@@ -879,13 +807,12 @@ 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.
@@ -893,29 +820,27 @@ public com.google.cloud.deploy.v1.Stage.Builder addStagesBuilder(int index) {
      *
      * 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);
     }
 
@@ -925,12 +850,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();
   }
@@ -939,16 +864,16 @@ 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 {
-          return new SerialPipeline(input, extensionRegistry);
-        }
-      };
+  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 {
+      return new SerialPipeline(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -963,4 +888,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.deploy.v1.SerialPipeline getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/SerialPipelineOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/SerialPipelineOrBuilder.java
similarity index 63%
rename from proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/SerialPipelineOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/SerialPipelineOrBuilder.java
index 156842f..bf94995 100644
--- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/SerialPipelineOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/SerialPipelineOrBuilder.java
@@ -1,31 +1,13 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/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.
@@ -33,10 +15,9 @@ public interface SerialPipelineOrBuilder
    *
    * 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.
@@ -46,8 +27,6 @@ public interface SerialPipelineOrBuilder
    */
   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.
@@ -57,8 +36,6 @@ public interface SerialPipelineOrBuilder
    */
   int getStagesCount();
   /**
-   *
-   *
    * 
    * Each stage specifies configuration for a `Target`. The ordering
    * of this list defines the promotion flow.
@@ -66,10 +43,9 @@ public interface SerialPipelineOrBuilder
    *
    * 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.
@@ -77,5 +53,6 @@ public interface SerialPipelineOrBuilder
    *
    * 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/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/SkaffoldVersion.java b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/SkaffoldVersion.java
similarity index 70%
rename from proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/SkaffoldVersion.java
rename to owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/SkaffoldVersion.java
index d3c2235..10a4652 100644
--- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/SkaffoldVersion.java
+++ b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/SkaffoldVersion.java
@@ -1,57 +1,40 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private SkaffoldVersion( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,72 +53,65 @@ private SkaffoldVersion( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - version_ = s; - break; + version_ = s; + break; + } + case 18: { + com.google.type.Date.Builder subBuilder = null; + if (supportEndDate_ != null) { + subBuilder = supportEndDate_.toBuilder(); } - case 18: - { - com.google.type.Date.Builder subBuilder = null; - if (supportEndDate_ != null) { - subBuilder = supportEndDate_.toBuilder(); - } - supportEndDate_ = input.readMessage(com.google.type.Date.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(supportEndDate_); - supportEndDate_ = subBuilder.buildPartial(); - } - - break; + supportEndDate_ = input.readMessage(com.google.type.Date.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(supportEndDate_); + supportEndDate_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.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; private volatile java.lang.Object version_; /** - * - * *
    * Release version number. For example, "1.20.3".
    * 
* * string version = 1; - * * @return The version. */ @java.lang.Override @@ -144,29 +120,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 { @@ -177,14 +153,11 @@ public com.google.protobuf.ByteString getVersionBytes() { 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 @@ -192,14 +165,11 @@ 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 @@ -207,8 +177,6 @@ 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.
    * 
@@ -221,7 +189,6 @@ public com.google.type.DateOrBuilder getSupportEndDateOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -233,7 +200,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(version_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, version_); } @@ -253,7 +221,8 @@ 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()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -263,18 +232,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.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 (hasSupportEndDate() != other.hasSupportEndDate()) return false; if (hasSupportEndDate()) { - if (!getSupportEndDate().equals(other.getSupportEndDate())) return false; + if (!getSupportEndDate() + .equals(other.getSupportEndDate())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -298,127 +268,118 @@ 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() @@ -426,15 +387,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -450,9 +412,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 @@ -471,8 +433,7 @@ 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); + com.google.cloud.deploy.v1.SkaffoldVersion result = new com.google.cloud.deploy.v1.SkaffoldVersion(this); result.version_ = version_; if (supportEndDateBuilder_ == null) { result.supportEndDate_ = supportEndDate_; @@ -487,39 +448,38 @@ public com.google.cloud.deploy.v1.SkaffoldVersion 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.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; @@ -566,20 +526,18 @@ public Builder mergeFrom( 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; @@ -588,21 +546,20 @@ 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 { @@ -610,61 +567,54 @@ public com.google.protobuf.ByteString getVersionBytes() { } } /** - * - * *
      * 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) { + public Builder setVersion( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + version_ = value; onChanged(); return this; } /** - * - * *
      * Release version number. For example, "1.20.3".
      * 
* * string version = 1; - * * @return This builder for chaining. */ public Builder clearVersion() { - + version_ = getDefaultInstance().getVersion(); onChanged(); 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) { + public Builder setVersionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + version_ = value; onChanged(); return this; @@ -672,45 +622,34 @@ public Builder setVersionBytes(com.google.protobuf.ByteString value) { 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 supportEndDateBuilder_ != null || supportEndDate_ != null; } /** - * - * *
      * 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.
      * 
@@ -731,15 +670,14 @@ 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(); onChanged(); @@ -750,8 +688,6 @@ public Builder setSupportEndDate(com.google.type.Date.Builder builderForValue) { return this; } /** - * - * *
      * Date when this version is expected to no longer be supported.
      * 
@@ -762,7 +698,7 @@ public Builder mergeSupportEndDate(com.google.type.Date value) { if (supportEndDateBuilder_ == null) { if (supportEndDate_ != null) { supportEndDate_ = - com.google.type.Date.newBuilder(supportEndDate_).mergeFrom(value).buildPartial(); + com.google.type.Date.newBuilder(supportEndDate_).mergeFrom(value).buildPartial(); } else { supportEndDate_ = value; } @@ -774,8 +710,6 @@ public Builder mergeSupportEndDate(com.google.type.Date value) { return this; } /** - * - * *
      * Date when this version is expected to no longer be supported.
      * 
@@ -794,8 +728,6 @@ public Builder clearSupportEndDate() { return this; } /** - * - * *
      * Date when this version is expected to no longer be supported.
      * 
@@ -803,13 +735,11 @@ public Builder clearSupportEndDate() { * .google.type.Date support_end_date = 2; */ public com.google.type.Date.Builder getSupportEndDateBuilder() { - + onChanged(); return getSupportEndDateFieldBuilder().getBuilder(); } /** - * - * *
      * Date when this version is expected to no longer be supported.
      * 
@@ -820,14 +750,11 @@ 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.
      * 
@@ -835,20 +762,21 @@ 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); } @@ -858,12 +786,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(); } @@ -872,16 +800,16 @@ 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 { - return new SkaffoldVersion(input, extensionRegistry); - } - }; + 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 { + return new SkaffoldVersion(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -896,4 +824,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.SkaffoldVersion getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/SkaffoldVersionOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/SkaffoldVersionOrBuilder.java similarity index 63% rename from proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/SkaffoldVersionOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/SkaffoldVersionOrBuilder.java index d19cc82..54979b1 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/SkaffoldVersionOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/SkaffoldVersionOrBuilder.java @@ -1,80 +1,51 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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(); /** - * - * *
    * 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/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Stage.java b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Stage.java similarity index 74% rename from proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Stage.java rename to owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Stage.java index 655e4c6..be6b64d 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Stage.java +++ b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Stage.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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.EMPTY; @@ -44,15 +26,16 @@ private Stage() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Stage(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Stage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,36 +55,35 @@ private Stage( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - targetId_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - profiles_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - profiles_.add(s); - break; + targetId_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + profiles_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + profiles_.add(s); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { profiles_ = profiles_.getUnmodifiableView(); @@ -110,17 +92,15 @@ private Stage( makeExtensionsImmutable(); } } - - 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); } @@ -128,8 +108,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { public static final int TARGET_ID_FIELD_NUMBER = 1; 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
@@ -140,7 +118,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string target_id = 1; - * * @return The targetId. */ @java.lang.Override @@ -149,15 +126,14 @@ 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
@@ -168,15 +144,16 @@ 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 { @@ -187,45 +164,37 @@ public com.google.protobuf.ByteString getTargetIdBytes() { public static final int PROFILES_FIELD_NUMBER = 2; private com.google.protobuf.LazyStringList profiles_; /** - * - * *
    * 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. */ @@ -233,24 +202,21 @@ 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); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -262,7 +228,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(targetId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, targetId_); } @@ -297,15 +264,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -328,126 +297,118 @@ 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() @@ -455,15 +416,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -475,9 +437,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 @@ -512,39 +474,38 @@ public com.google.cloud.deploy.v1.Stage 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.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; @@ -595,13 +556,10 @@ public Builder mergeFrom( } 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
@@ -612,13 +570,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; @@ -627,8 +585,6 @@ 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
@@ -639,14 +595,15 @@ 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 { @@ -654,8 +611,6 @@ public com.google.protobuf.ByteString getTargetIdBytes() { } } /** - * - * *
      * 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
@@ -666,22 +621,20 @@ public com.google.protobuf.ByteString getTargetIdBytes() {
      * 
* * string target_id = 1; - * * @param value The targetId to set. * @return This builder for chaining. */ - public Builder setTargetId(java.lang.String value) { + public Builder setTargetId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + targetId_ = value; 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
@@ -692,18 +645,15 @@ public Builder setTargetId(java.lang.String value) {
      * 
* * string target_id = 1; - * * @return This builder for chaining. */ public Builder clearTargetId() { - + targetId_ = getDefaultInstance().getTargetId(); 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
@@ -714,70 +664,60 @@ 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) { + public Builder setTargetIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + targetId_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList profiles_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList profiles_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureProfilesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { profiles_ = new com.google.protobuf.LazyStringArrayList(profiles_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * 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_.getUnmodifiableView(); } /** - * - * *
      * 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. */ @@ -785,95 +725,85 @@ 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) { + public Builder setProfiles( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureProfilesIsMutable(); + throw new NullPointerException(); + } + ensureProfilesIsMutable(); profiles_.set(index, value); onChanged(); 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) { + public Builder addProfiles( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureProfilesIsMutable(); + throw new NullPointerException(); + } + ensureProfilesIsMutable(); profiles_.add(value); onChanged(); 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_); 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() { @@ -883,31 +813,29 @@ public Builder clearProfiles() { 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) { + public Builder addProfilesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureProfilesIsMutable(); profiles_.add(value); onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -917,12 +845,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(); } @@ -931,16 +859,16 @@ 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 { - return new Stage(input, extensionRegistry); - } - }; + 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 { + return new Stage(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -955,4 +883,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.Stage getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/StageOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/StageOrBuilder.java similarity index 72% rename from proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/StageOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/StageOrBuilder.java index abb2bb4..40c677e 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/StageOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/StageOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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
@@ -36,13 +18,10 @@ public interface StageOrBuilder
    * 
* * 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
@@ -53,63 +32,53 @@ public interface StageOrBuilder
    * 
* * 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); } diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Target.java b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Target.java similarity index 72% rename from proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Target.java rename to owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Target.java index 0921e14..dc8364b 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Target.java +++ b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Target.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/deploy/v1/cloud_deploy.proto package com.google.cloud.deploy.v1; /** - * - * *
  * A `Target` resource in the Google Cloud Deploy API.
  * A `Target` defines a location to which a Skaffold configuration
@@ -29,16 +12,15 @@
  *
  * 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_ = "";
@@ -50,15 +32,16 @@ private Target() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Target();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private Target(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -78,146 +61,130 @@ private Target(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
-            }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            name_ = s;
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              targetId_ = s;
-              break;
-            }
-          case 26:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            targetId_ = s;
+            break;
+          }
+          case 26: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              uid_ = s;
-              break;
-            }
-          case 34:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            uid_ = s;
+            break;
+          }
+          case 34: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              description_ = s;
-              break;
-            }
-          case 42:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                annotations_ =
-                    com.google.protobuf.MapField.newMapField(
-                        AnnotationsDefaultEntryHolder.defaultEntry);
-                mutable_bitField0_ |= 0x00000001;
-              }
-              com.google.protobuf.MapEntry annotations__ =
-                  input.readMessage(
-                      AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(),
-                      extensionRegistry);
-              annotations_.getMutableMap().put(annotations__.getKey(), annotations__.getValue());
-              break;
+            description_ = s;
+            break;
+          }
+          case 42: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              annotations_ = com.google.protobuf.MapField.newMapField(
+                  AnnotationsDefaultEntryHolder.defaultEntry);
+              mutable_bitField0_ |= 0x00000001;
             }
-          case 50:
-            {
-              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-                labels_ =
-                    com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry);
-                mutable_bitField0_ |= 0x00000002;
-              }
-              com.google.protobuf.MapEntry labels__ =
-                  input.readMessage(
-                      LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              labels_.getMutableMap().put(labels__.getKey(), labels__.getValue());
-              break;
+            com.google.protobuf.MapEntry
+            annotations__ = input.readMessage(
+                AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+            annotations_.getMutableMap().put(
+                annotations__.getKey(), annotations__.getValue());
+            break;
+          }
+          case 50: {
+            if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+              labels_ = com.google.protobuf.MapField.newMapField(
+                  LabelsDefaultEntryHolder.defaultEntry);
+              mutable_bitField0_ |= 0x00000002;
             }
-          case 66:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (createTime_ != null) {
-                subBuilder = createTime_.toBuilder();
-              }
-              createTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(createTime_);
-                createTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+            com.google.protobuf.MapEntry
+            labels__ = input.readMessage(
+                LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+            labels_.getMutableMap().put(
+                labels__.getKey(), labels__.getValue());
+            break;
+          }
+          case 66: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (createTime_ != null) {
+              subBuilder = createTime_.toBuilder();
             }
-          case 74:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (updateTime_ != null) {
-                subBuilder = updateTime_.toBuilder();
-              }
-              updateTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(updateTime_);
-                updateTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+            createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(createTime_);
+              createTime_ = subBuilder.buildPartial();
             }
-          case 98:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
 
-              etag_ = s;
-              break;
+            break;
+          }
+          case 74: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (updateTime_ != null) {
+              subBuilder = updateTime_.toBuilder();
             }
-          case 104:
-            {
-              requireApproval_ = input.readBool();
-              break;
+            updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(updateTime_);
+              updateTime_ = subBuilder.buildPartial();
+            }
+
+            break;
+          }
+          case 98: {
+            java.lang.String s = input.readStringRequireUtf8();
+
+            etag_ = s;
+            break;
+          }
+          case 104: {
+
+            requireApproval_ = input.readBool();
+            break;
+          }
+          case 122: {
+            com.google.cloud.deploy.v1.GkeCluster.Builder subBuilder = null;
+            if (deploymentTargetCase_ == 15) {
+              subBuilder = ((com.google.cloud.deploy.v1.GkeCluster) deploymentTarget_).toBuilder();
             }
-          case 122:
-            {
-              com.google.cloud.deploy.v1.GkeCluster.Builder subBuilder = null;
-              if (deploymentTargetCase_ == 15) {
-                subBuilder =
-                    ((com.google.cloud.deploy.v1.GkeCluster) deploymentTarget_).toBuilder();
-              }
-              deploymentTarget_ =
-                  input.readMessage(
-                      com.google.cloud.deploy.v1.GkeCluster.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom((com.google.cloud.deploy.v1.GkeCluster) deploymentTarget_);
-                deploymentTarget_ = subBuilder.buildPartial();
-              }
-              deploymentTargetCase_ = 15;
-              break;
+            deploymentTarget_ =
+                input.readMessage(com.google.cloud.deploy.v1.GkeCluster.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.cloud.deploy.v1.GkeCluster) deploymentTarget_);
+              deploymentTarget_ = subBuilder.buildPartial();
             }
-          case 130:
-            {
-              if (!((mutable_bitField0_ & 0x00000004) != 0)) {
-                executionConfigs_ =
-                    new java.util.ArrayList();
-                mutable_bitField0_ |= 0x00000004;
-              }
-              executionConfigs_.add(
-                  input.readMessage(
-                      com.google.cloud.deploy.v1.ExecutionConfig.parser(), extensionRegistry));
-              break;
+            deploymentTargetCase_ = 15;
+            break;
+          }
+          case 130: {
+            if (!((mutable_bitField0_ & 0x00000004) != 0)) {
+              executionConfigs_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000004;
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            executionConfigs_.add(
+                input.readMessage(com.google.cloud.deploy.v1.ExecutionConfig.parser(), extensionRegistry));
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000004) != 0)) {
         executionConfigs_ = java.util.Collections.unmodifiableList(executionConfigs_);
@@ -226,46 +193,41 @@ private Target(
       makeExtensionsImmutable();
     }
   }
-
-  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();
       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_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;
   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),
     DEPLOYMENTTARGET_NOT_SET(0);
     private final int value;
-
     private DeploymentTargetCase(int value) {
       this.value = value;
     }
@@ -281,36 +243,31 @@ public static DeploymentTargetCase valueOf(int value) {
 
     public static DeploymentTargetCase forNumber(int value) {
       switch (value) {
-        case 15:
-          return GKE;
-        case 0:
-          return DEPLOYMENTTARGET_NOT_SET;
-        default:
-          return null;
+        case 15: return GKE;
+        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;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * Optional. Name of the `Target`. Format is projects/{project}/locations/{location}/
    * deliveryPipelines/{deliveryPipeline}/targets/[a-z][a-z0-9\-]{0,62}.
    * 
* * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The name. */ @java.lang.Override @@ -319,30 +276,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}/
    * deliveryPipelines/{deliveryPipeline}/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 { @@ -353,14 +310,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int TARGET_ID_FIELD_NUMBER = 2; 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 @@ -369,29 +323,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 { @@ -402,14 +356,11 @@ public com.google.protobuf.ByteString getTargetIdBytes() { public static final int UID_FIELD_NUMBER = 3; 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 @@ -418,29 +369,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 { @@ -451,14 +402,11 @@ public com.google.protobuf.ByteString getUidBytes() { public static final int DESCRIPTION_FIELD_NUMBER = 4; 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 @@ -467,29 +415,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 { @@ -498,24 +446,24 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } public static final int ANNOTATIONS_FIELD_NUMBER = 5; - private static final class AnnotationsDefaultEntryHolder { - 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, - ""); - } - - private com.google.protobuf.MapField annotations_; - + 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, + ""); + } + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> 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_; } @@ -524,8 +472,6 @@ public int getAnnotationsCount() { return internalGetAnnotations().getMap().size(); } /** - * - * *
    * Optional. User annotations. These attributes can only be set and used by the
    * user, and not by Google Cloud Deploy. See
@@ -533,25 +479,24 @@ 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 java.lang.NullPointerException(); - } + public boolean containsAnnotations( + java.lang.String key) { + if (key == null) { throw new java.lang.NullPointerException(); } 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 Google Cloud Deploy. See
@@ -559,16 +504,14 @@ 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 Google Cloud Deploy. See
@@ -576,21 +519,19 @@ 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 java.lang.String getAnnotationsOrDefault( - java.lang.String key, java.lang.String defaultValue) { - if (key == null) { - throw new java.lang.NullPointerException(); - } - java.util.Map map = internalGetAnnotations().getMap(); + java.lang.String key, + java.lang.String defaultValue) { + if (key == null) { throw new java.lang.NullPointerException(); } + 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 Google Cloud Deploy. See
@@ -598,15 +539,15 @@ public 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 java.lang.NullPointerException(); - } - java.util.Map map = internalGetAnnotations().getMap(); + + public java.lang.String getAnnotationsOrThrow( + java.lang.String key) { + if (key == null) { throw new java.lang.NullPointerException(); } + java.util.Map map = + internalGetAnnotations().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -614,23 +555,24 @@ public java.lang.String getAnnotationsOrThrow(java.lang.String key) { } public static final int LABELS_FIELD_NUMBER = 6; - private static final class LabelsDefaultEntryHolder { - 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, - ""); - } - - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + 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, + ""); + } + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> 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_; } @@ -639,8 +581,6 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
    * Optional. Labels are attributes that can be set and used by both the
    * user and by Google Cloud Deploy. Labels must meet the following
@@ -652,22 +592,22 @@ 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 java.lang.NullPointerException();
-    }
+  public boolean containsLabels(
+      java.lang.String key) {
+    if (key == null) { throw new java.lang.NullPointerException(); }
     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 Google Cloud Deploy. Labels must meet the following
@@ -680,12 +620,11 @@ public java.util.Map getLabels() {
    * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
    */
   @java.lang.Override
+
   public java.util.Map getLabelsMap() {
     return internalGetLabels().getMap();
   }
   /**
-   *
-   *
    * 
    * Optional. Labels are attributes that can be set and used by both the
    * user and by Google Cloud Deploy. Labels must meet the following
@@ -698,16 +637,16 @@ public java.util.Map getLabelsMap() {
    * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
    */
   @java.lang.Override
-  public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) {
-    if (key == null) {
-      throw new java.lang.NullPointerException();
-    }
-    java.util.Map map = internalGetLabels().getMap();
+
+  public java.lang.String getLabelsOrDefault(
+      java.lang.String key,
+      java.lang.String defaultValue) {
+    if (key == null) { throw new java.lang.NullPointerException(); }
+    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 Google Cloud Deploy. Labels must meet the following
@@ -720,11 +659,12 @@ public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.Strin
    * 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 java.lang.NullPointerException();
-    }
-    java.util.Map map = internalGetLabels().getMap();
+
+  public java.lang.String getLabelsOrThrow(
+      java.lang.String key) {
+    if (key == null) { throw new java.lang.NullPointerException(); }
+    java.util.Map map =
+        internalGetLabels().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -734,14 +674,11 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
   public static final int REQUIRE_APPROVAL_FIELD_NUMBER = 13;
   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 @@ -752,15 +689,11 @@ 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 @@ -768,15 +701,11 @@ 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 @@ -784,14 +713,11 @@ 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() { @@ -801,15 +727,11 @@ 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 @@ -817,15 +739,11 @@ 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 @@ -833,14 +751,11 @@ 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() { @@ -849,14 +764,11 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int GKE_FIELD_NUMBER = 15; /** - * - * *
    * Information specifying a GKE Cluster.
    * 
* * .google.cloud.deploy.v1.GkeCluster gke = 15; - * * @return Whether the gke field is set. */ @java.lang.Override @@ -864,26 +776,21 @@ public boolean hasGke() { return deploymentTargetCase_ == 15; } /** - * - * *
    * Information specifying a GKE Cluster.
    * 
* * .google.cloud.deploy.v1.GkeCluster gke = 15; - * * @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(); } /** - * - * *
    * Information specifying a GKE Cluster.
    * 
@@ -893,7 +800,7 @@ public com.google.cloud.deploy.v1.GkeCluster getGke() { @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(); } @@ -901,8 +808,6 @@ public com.google.cloud.deploy.v1.GkeClusterOrBuilder getGkeOrBuilder() { public static final int ETAG_FIELD_NUMBER = 12; 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
@@ -910,7 +815,6 @@ public com.google.cloud.deploy.v1.GkeClusterOrBuilder getGkeOrBuilder() {
    * 
* * string etag = 12 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The etag. */ @java.lang.Override @@ -919,15 +823,14 @@ 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
@@ -935,15 +838,16 @@ 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 { @@ -954,8 +858,6 @@ public com.google.protobuf.ByteString getEtagBytes() { public static final int EXECUTION_CONFIGS_FIELD_NUMBER = 16; private java.util.List executionConfigs_; /** - * - * *
    * Configurations for all execution that relates to this `Target`.
    * Each `ExecutionEnvironmentUsage` value may only be used in a single
@@ -973,8 +875,6 @@ 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
@@ -988,13 +888,11 @@ 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
@@ -1012,8 +910,6 @@ 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
@@ -1031,8 +927,6 @@ 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
@@ -1052,7 +946,6 @@ public com.google.cloud.deploy.v1.ExecutionConfigOrBuilder getExecutionConfigsOr
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -1064,7 +957,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
     }
@@ -1077,10 +971,18 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
     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());
     }
@@ -1120,46 +1022,48 @@ 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));
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -1169,34 +1073,46 @@ 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 (!getUpdateTime()
+          .equals(other.getUpdateTime())) return false;
     }
-    if (!getEtag().equals(other.getEtag())) return false;
-    if (!getExecutionConfigsList().equals(other.getExecutionConfigsList())) return false;
+    if (!getEtag()
+        .equals(other.getEtag())) return false;
+    if (!getExecutionConfigsList()
+        .equals(other.getExecutionConfigsList())) 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 0:
       default:
@@ -1229,7 +1145,8 @@ 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();
@@ -1257,103 +1174,97 @@ 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 Google Cloud Deploy API.
    * A `Target` defines a location to which a Skaffold configuration
@@ -1362,47 +1273,47 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * 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();
         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_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()
@@ -1410,17 +1321,17 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getExecutionConfigsFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1462,9 +1373,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
@@ -1530,39 +1441,38 @@ public com.google.cloud.deploy.v1.Target 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.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;
@@ -1587,8 +1497,10 @@ public Builder mergeFrom(com.google.cloud.deploy.v1.Target other) {
         description_ = other.description_;
         onChanged();
       }
-      internalGetMutableAnnotations().mergeFrom(other.internalGetAnnotations());
-      internalGetMutableLabels().mergeFrom(other.internalGetLabels());
+      internalGetMutableAnnotations().mergeFrom(
+          other.internalGetAnnotations());
+      internalGetMutableLabels().mergeFrom(
+          other.internalGetLabels());
       if (other.getRequireApproval() != false) {
         setRequireApproval(other.getRequireApproval());
       }
@@ -1620,25 +1532,22 @@ public Builder mergeFrom(com.google.cloud.deploy.v1.Target other) {
             executionConfigsBuilder_ = null;
             executionConfigs_ = other.executionConfigs_;
             bitField0_ = (bitField0_ & ~0x00000004);
-            executionConfigsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getExecutionConfigsFieldBuilder()
-                    : null;
+            executionConfigsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getExecutionConfigsFieldBuilder() : null;
           } else {
             executionConfigsBuilder_.addAllMessages(other.executionConfigs_);
           }
         }
       }
       switch (other.getDeploymentTargetCase()) {
-        case GKE:
-          {
-            mergeGke(other.getGke());
-            break;
-          }
-        case DEPLOYMENTTARGET_NOT_SET:
-          {
-            break;
-          }
+        case GKE: {
+          mergeGke(other.getGke());
+          break;
+        }
+        case DEPLOYMENTTARGET_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -1668,12 +1577,12 @@ public Builder mergeFrom(
       }
       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() {
@@ -1687,21 +1596,19 @@ public Builder clearDeploymentTarget() {
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Optional. Name of the `Target`. Format is projects/{project}/locations/{location}/
      * deliveryPipelines/{deliveryPipeline}/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; @@ -1710,22 +1617,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Optional. Name of the `Target`. Format is projects/{project}/locations/{location}/
      * deliveryPipelines/{deliveryPipeline}/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 { @@ -1733,64 +1639,57 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Optional. Name of the `Target`. Format is projects/{project}/locations/{location}/
      * deliveryPipelines/{deliveryPipeline}/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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Optional. Name of the `Target`. Format is projects/{project}/locations/{location}/
      * deliveryPipelines/{deliveryPipeline}/targets/[a-z][a-z0-9\-]{0,62}.
      * 
* * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Optional. Name of the `Target`. Format is projects/{project}/locations/{location}/
      * deliveryPipelines/{deliveryPipeline}/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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1798,20 +1697,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { 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; @@ -1820,21 +1717,20 @@ 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 { @@ -1842,61 +1738,54 @@ public com.google.protobuf.ByteString getTargetIdBytes() { } } /** - * - * *
      * 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) { + public Builder setTargetId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + targetId_ = value; 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() { - + targetId_ = getDefaultInstance().getTargetId(); onChanged(); 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) { + public Builder setTargetIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + targetId_ = value; onChanged(); return this; @@ -1904,20 +1793,18 @@ public Builder setTargetIdBytes(com.google.protobuf.ByteString value) { 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; @@ -1926,21 +1813,20 @@ 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 { @@ -1948,61 +1834,54 @@ public com.google.protobuf.ByteString getUidBytes() { } } /** - * - * *
      * 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) { + public Builder setUid( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + uid_ = value; 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() { - + uid_ = getDefaultInstance().getUid(); onChanged(); 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) { + public Builder setUidBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + uid_ = value; onChanged(); return this; @@ -2010,20 +1889,18 @@ public Builder setUidBytes(com.google.protobuf.ByteString value) { 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; @@ -2032,21 +1909,20 @@ 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 { @@ -2054,84 +1930,75 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * 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) { + public Builder setDescription( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; 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() { - + description_ = getDefaultInstance().getDescription(); onChanged(); 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) { + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; } - private com.google.protobuf.MapField annotations_; - + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> annotations_; private com.google.protobuf.MapField - internalGetAnnotations() { + internalGetAnnotations() { if (annotations_ == null) { return com.google.protobuf.MapField.emptyMapField( AnnotationsDefaultEntryHolder.defaultEntry); } return annotations_; } - private com.google.protobuf.MapField - internalGetMutableAnnotations() { - onChanged(); - ; + internalGetMutableAnnotations() { + onChanged();; 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(); @@ -2143,8 +2010,6 @@ public int getAnnotationsCount() { return internalGetAnnotations().getMap().size(); } /** - * - * *
      * Optional. User annotations. These attributes can only be set and used by the
      * user, and not by Google Cloud Deploy. See
@@ -2152,25 +2017,24 @@ 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 java.lang.NullPointerException(); - } + public boolean containsAnnotations( + java.lang.String key) { + if (key == null) { throw new java.lang.NullPointerException(); } 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 Google Cloud Deploy. See
@@ -2178,16 +2042,14 @@ 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 Google Cloud Deploy. See
@@ -2195,21 +2057,19 @@ 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 java.lang.String getAnnotationsOrDefault( - java.lang.String key, java.lang.String defaultValue) { - if (key == null) { - throw new java.lang.NullPointerException(); - } - java.util.Map map = internalGetAnnotations().getMap(); + java.lang.String key, + java.lang.String defaultValue) { + if (key == null) { throw new java.lang.NullPointerException(); } + 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 Google Cloud Deploy. See
@@ -2217,15 +2077,15 @@ public 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 java.lang.NullPointerException(); - } - java.util.Map map = internalGetAnnotations().getMap(); + + public java.lang.String getAnnotationsOrThrow( + java.lang.String key) { + if (key == null) { throw new java.lang.NullPointerException(); } + java.util.Map map = + internalGetAnnotations().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -2233,12 +2093,11 @@ public java.lang.String getAnnotationsOrThrow(java.lang.String key) { } public Builder clearAnnotations() { - 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 Google Cloud Deploy. See
@@ -2246,24 +2105,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 java.lang.NullPointerException(); - } - internalGetMutableAnnotations().getMutableMap().remove(key); + + public Builder removeAnnotations( + java.lang.String key) { + if (key == null) { throw new java.lang.NullPointerException(); } + 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() { return internalGetMutableAnnotations().getMutableMap(); } /** - * - * *
      * Optional. User annotations. These attributes can only be set and used by the
      * user, and not by Google Cloud Deploy. See
@@ -2271,22 +2131,18 @@ public java.util.Map getMutableAnnotations()
      * 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 java.lang.NullPointerException(); - } - if (value == null) { - throw new java.lang.NullPointerException(); - } - internalGetMutableAnnotations().getMutableMap().put(key, value); + public Builder putAnnotations( + java.lang.String key, + java.lang.String value) { + if (key == null) { throw new java.lang.NullPointerException(); } + if (value == null) { throw new java.lang.NullPointerException(); } + internalGetMutableAnnotations().getMutableMap() + .put(key, value); return this; } /** - * - * *
      * Optional. User annotations. These attributes can only be set and used by the
      * user, and not by Google Cloud Deploy. See
@@ -2294,29 +2150,32 @@ public Builder putAnnotations(java.lang.String key, java.lang.String value) {
      * 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); return this; } - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> 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() { - onChanged(); - ; + internalGetMutableLabels() { + onChanged();; 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(); @@ -2328,8 +2187,6 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
      * Optional. Labels are attributes that can be set and used by both the
      * user and by Google Cloud Deploy. Labels must meet the following
@@ -2341,22 +2198,22 @@ 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 java.lang.NullPointerException();
-      }
+    public boolean containsLabels(
+        java.lang.String key) {
+      if (key == null) { throw new java.lang.NullPointerException(); }
       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 Google Cloud Deploy. Labels must meet the following
@@ -2369,12 +2226,11 @@ public java.util.Map getLabels() {
      * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
      */
     @java.lang.Override
+
     public java.util.Map getLabelsMap() {
       return internalGetLabels().getMap();
     }
     /**
-     *
-     *
      * 
      * Optional. Labels are attributes that can be set and used by both the
      * user and by Google Cloud Deploy. Labels must meet the following
@@ -2387,17 +2243,16 @@ public java.util.Map getLabelsMap() {
      * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
      */
     @java.lang.Override
+
     public java.lang.String getLabelsOrDefault(
-        java.lang.String key, java.lang.String defaultValue) {
-      if (key == null) {
-        throw new java.lang.NullPointerException();
-      }
-      java.util.Map map = internalGetLabels().getMap();
+        java.lang.String key,
+        java.lang.String defaultValue) {
+      if (key == null) { throw new java.lang.NullPointerException(); }
+      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 Google Cloud Deploy. Labels must meet the following
@@ -2410,11 +2265,12 @@ public 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 java.lang.NullPointerException();
-      }
-      java.util.Map map = internalGetLabels().getMap();
+
+    public java.lang.String getLabelsOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new java.lang.NullPointerException(); }
+      java.util.Map map =
+          internalGetLabels().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -2422,12 +2278,11 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
     }
 
     public Builder clearLabels() {
-      internalGetMutableLabels().getMutableMap().clear();
+      internalGetMutableLabels().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * Optional. Labels are attributes that can be set and used by both the
      * user and by Google Cloud Deploy. Labels must meet the following
@@ -2439,21 +2294,23 @@ 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 java.lang.NullPointerException();
-      }
-      internalGetMutableLabels().getMutableMap().remove(key);
+
+    public Builder removeLabels(
+        java.lang.String key) {
+      if (key == null) { throw new java.lang.NullPointerException(); }
+      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() {
       return internalGetMutableLabels().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * Optional. Labels are attributes that can be set and used by both the
      * user and by Google Cloud Deploy. Labels must meet the following
@@ -2465,19 +2322,16 @@ public java.util.Map getMutableLabels() {
      *
      * 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 java.lang.NullPointerException();
-      }
-      if (value == null) {
-        throw new java.lang.NullPointerException();
-      }
-      internalGetMutableLabels().getMutableMap().put(key, value);
+    public Builder putLabels(
+        java.lang.String key,
+        java.lang.String value) {
+      if (key == null) { throw new java.lang.NullPointerException(); }
+      if (value == null) { throw new java.lang.NullPointerException(); }
+      internalGetMutableLabels().getMutableMap()
+          .put(key, value);
       return this;
     }
     /**
-     *
-     *
      * 
      * Optional. Labels are attributes that can be set and used by both the
      * user and by Google Cloud Deploy. Labels must meet the following
@@ -2489,21 +2343,21 @@ public Builder putLabels(java.lang.String key, java.lang.String value) {
      *
      * 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);
       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 @@ -2511,36 +2365,30 @@ 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. */ public Builder setRequireApproval(boolean value) { - + requireApproval_ = value; onChanged(); 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() { - + requireApproval_ = false; onChanged(); return this; @@ -2548,58 +2396,39 @@ 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 createTimeBuilder_ != null || 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. */ 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) { @@ -2615,17 +2444,14 @@ 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(); onChanged(); @@ -2636,21 +2462,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal 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 (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -2662,15 +2484,11 @@ 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() { if (createTimeBuilder_ == null) { @@ -2684,64 +2502,48 @@ 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() { - + onChanged(); 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_; @@ -2749,58 +2551,39 @@ 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 updateTimeBuilder_ != null || 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. */ 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) { @@ -2816,17 +2599,14 @@ 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(); onChanged(); @@ -2837,21 +2617,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal 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 (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -2863,15 +2639,11 @@ 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() { if (updateTimeBuilder_ == null) { @@ -2885,83 +2657,61 @@ 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() { - + onChanged(); 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_; /** - * - * *
      * Information specifying a GKE Cluster.
      * 
* * .google.cloud.deploy.v1.GkeCluster gke = 15; - * * @return Whether the gke field is set. */ @java.lang.Override @@ -2969,14 +2719,11 @@ public boolean hasGke() { return deploymentTargetCase_ == 15; } /** - * - * *
      * Information specifying a GKE Cluster.
      * 
* * .google.cloud.deploy.v1.GkeCluster gke = 15; - * * @return The gke. */ @java.lang.Override @@ -2994,8 +2741,6 @@ public com.google.cloud.deploy.v1.GkeCluster getGke() { } } /** - * - * *
      * Information specifying a GKE Cluster.
      * 
@@ -3016,15 +2761,14 @@ public Builder setGke(com.google.cloud.deploy.v1.GkeCluster value) { return this; } /** - * - * *
      * Information specifying a GKE Cluster.
      * 
* * .google.cloud.deploy.v1.GkeCluster gke = 15; */ - 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(); @@ -3035,8 +2779,6 @@ public Builder setGke(com.google.cloud.deploy.v1.GkeCluster.Builder builderForVa return this; } /** - * - * *
      * Information specifying a GKE Cluster.
      * 
@@ -3045,13 +2787,10 @@ public Builder setGke(com.google.cloud.deploy.v1.GkeCluster.Builder builderForVa */ 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; } @@ -3066,8 +2805,6 @@ public Builder mergeGke(com.google.cloud.deploy.v1.GkeCluster value) { return this; } /** - * - * *
      * Information specifying a GKE Cluster.
      * 
@@ -3091,8 +2828,6 @@ public Builder clearGke() { return this; } /** - * - * *
      * Information specifying a GKE Cluster.
      * 
@@ -3103,8 +2838,6 @@ public com.google.cloud.deploy.v1.GkeCluster.Builder getGkeBuilder() { return getGkeFieldBuilder().getBuilder(); } /** - * - * *
      * Information specifying a GKE Cluster.
      * 
@@ -3123,8 +2856,6 @@ public com.google.cloud.deploy.v1.GkeClusterOrBuilder getGkeOrBuilder() { } } /** - * - * *
      * Information specifying a GKE Cluster.
      * 
@@ -3132,34 +2863,26 @@ public com.google.cloud.deploy.v1.GkeClusterOrBuilder getGkeOrBuilder() { * .google.cloud.deploy.v1.GkeCluster gke = 15; */ 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()); deploymentTarget_ = null; } deploymentTargetCase_ = 15; - onChanged(); - ; + onChanged();; return gkeBuilder_; } 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
@@ -3167,13 +2890,13 @@ public com.google.cloud.deploy.v1.GkeClusterOrBuilder getGkeOrBuilder() {
      * 
* * 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; @@ -3182,8 +2905,6 @@ 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
@@ -3191,14 +2912,15 @@ 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 { @@ -3206,8 +2928,6 @@ public com.google.protobuf.ByteString getEtagBytes() { } } /** - * - * *
      * 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
@@ -3215,22 +2935,20 @@ public com.google.protobuf.ByteString getEtagBytes() {
      * 
* * 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) { + public Builder setEtag( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + etag_ = value; 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
@@ -3238,18 +2956,15 @@ public Builder setEtag(java.lang.String value) {
      * 
* * string etag = 12 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearEtag() { - + etag_ = getDefaultInstance().getEtag(); 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
@@ -3257,41 +2972,34 @@ 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) { + public Builder setEtagBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + etag_ = value; onChanged(); return this; } private java.util.List executionConfigs_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureExecutionConfigsIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { - executionConfigs_ = - new java.util.ArrayList(executionConfigs_); + executionConfigs_ = new java.util.ArrayList(executionConfigs_); bitField0_ |= 0x00000004; - } + } } 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
@@ -3312,8 +3020,6 @@ public java.util.List getExecutionCo
       }
     }
     /**
-     *
-     *
      * 
      * Configurations for all execution that relates to this `Target`.
      * Each `ExecutionEnvironmentUsage` value may only be used in a single
@@ -3334,8 +3040,6 @@ public int getExecutionConfigsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * Configurations for all execution that relates to this `Target`.
      * Each `ExecutionEnvironmentUsage` value may only be used in a single
@@ -3356,8 +3060,6 @@ 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
@@ -3385,8 +3087,6 @@ public Builder setExecutionConfigs(
       return this;
     }
     /**
-     *
-     *
      * 
      * Configurations for all execution that relates to this `Target`.
      * Each `ExecutionEnvironmentUsage` value may only be used in a single
@@ -3411,8 +3111,6 @@ public Builder setExecutionConfigs(
       return this;
     }
     /**
-     *
-     *
      * 
      * Configurations for all execution that relates to this `Target`.
      * Each `ExecutionEnvironmentUsage` value may only be used in a single
@@ -3439,8 +3137,6 @@ 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
@@ -3468,8 +3164,6 @@ public Builder addExecutionConfigs(
       return this;
     }
     /**
-     *
-     *
      * 
      * Configurations for all execution that relates to this `Target`.
      * Each `ExecutionEnvironmentUsage` value may only be used in a single
@@ -3494,8 +3188,6 @@ public Builder addExecutionConfigs(
       return this;
     }
     /**
-     *
-     *
      * 
      * Configurations for all execution that relates to this `Target`.
      * Each `ExecutionEnvironmentUsage` value may only be used in a single
@@ -3520,8 +3212,6 @@ public Builder addExecutionConfigs(
       return this;
     }
     /**
-     *
-     *
      * 
      * Configurations for all execution that relates to this `Target`.
      * Each `ExecutionEnvironmentUsage` value may only be used in a single
@@ -3538,7 +3228,8 @@ 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);
@@ -3546,8 +3237,6 @@ public Builder addAllExecutionConfigs(
       return this;
     }
     /**
-     *
-     *
      * 
      * Configurations for all execution that relates to this `Target`.
      * Each `ExecutionEnvironmentUsage` value may only be used in a single
@@ -3571,8 +3260,6 @@ public Builder clearExecutionConfigs() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Configurations for all execution that relates to this `Target`.
      * Each `ExecutionEnvironmentUsage` value may only be used in a single
@@ -3596,8 +3283,6 @@ 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
@@ -3615,8 +3300,6 @@ 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
@@ -3632,14 +3315,11 @@ 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
@@ -3652,8 +3332,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 {
@@ -3661,8 +3341,6 @@ 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
@@ -3676,12 +3354,10 @@ 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
@@ -3696,12 +3372,10 @@ 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
@@ -3714,22 +3388,16 @@ 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_ & 0x00000004) != 0),
                 getParentForChildren(),
@@ -3738,9 +3406,9 @@ public com.google.cloud.deploy.v1.ExecutionConfig.Builder addExecutionConfigsBui
       }
       return executionConfigsBuilder_;
     }
-
     @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);
     }
 
@@ -3750,12 +3418,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();
   }
@@ -3764,16 +3432,16 @@ 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 {
-          return new Target(input, extensionRegistry);
-        }
-      };
+  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 {
+      return new Target(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -3788,4 +3456,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.deploy.v1.Target getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetArtifact.java b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetArtifact.java
similarity index 73%
rename from proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetArtifact.java
rename to owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetArtifact.java
index 4f98383..b324df2 100644
--- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetArtifact.java
+++ b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetArtifact.java
@@ -1,42 +1,24 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/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_ = ""; @@ -44,15 +26,16 @@ private TargetArtifact() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new TargetArtifact(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private TargetArtifact( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,72 +54,64 @@ private TargetArtifact( case 0: done = true; break; - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - skaffoldConfigPath_ = s; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + skaffoldConfigPath_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - manifestPath_ = s; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); - uriCase_ = 4; - uri_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + manifestPath_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + uriCase_ = 4; + uri_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.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; } @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); } private int uriCase_ = 0; 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; } @@ -152,28 +127,24 @@ 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
@@ -181,15 +152,12 @@ public UriCase getUriCase() {
    * 
* * 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
@@ -197,7 +165,6 @@ public boolean hasArtifactUri() {
    * 
* * string artifact_uri = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The artifactUri. */ public java.lang.String getArtifactUri() { @@ -208,7 +175,8 @@ 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; @@ -217,8 +185,6 @@ 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
@@ -226,17 +192,18 @@ 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; } @@ -249,14 +216,11 @@ public com.google.protobuf.ByteString getArtifactUriBytes() { public static final int SKAFFOLD_CONFIG_PATH_FIELD_NUMBER = 2; 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 @@ -265,29 +229,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; } } /** - * - * *
    * 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 { @@ -298,14 +262,11 @@ public com.google.protobuf.ByteString getSkaffoldConfigPathBytes() { public static final int MANIFEST_PATH_FIELD_NUMBER = 3; 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 @@ -314,29 +275,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 { @@ -345,7 +306,6 @@ public com.google.protobuf.ByteString getManifestPathBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -357,7 +317,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(skaffoldConfigPath_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, skaffoldConfigPath_); } @@ -393,20 +354,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.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 (!getSkaffoldConfigPath() + .equals(other.getSkaffoldConfigPath())) return false; + if (!getManifestPath() + .equals(other.getManifestPath())) 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: @@ -439,127 +402,118 @@ 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; } @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() @@ -567,15 +521,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -589,9 +544,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 @@ -610,8 +565,7 @@ 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); + com.google.cloud.deploy.v1.TargetArtifact result = new com.google.cloud.deploy.v1.TargetArtifact(this); if (uriCase_ == 4) { result.uri_ = uri_; } @@ -626,39 +580,38 @@ public com.google.cloud.deploy.v1.TargetArtifact 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.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; @@ -676,17 +629,15 @@ public Builder mergeFrom(com.google.cloud.deploy.v1.TargetArtifact other) { onChanged(); } 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.unknownFields); onChanged(); @@ -716,12 +667,12 @@ public Builder mergeFrom( } 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() { @@ -731,9 +682,8 @@ public Builder clearUri() { return this; } + /** - * - * *
      * Output only. URI of a directory containing the artifacts. This contains
      * deployment configuration used by Skaffold during a rollout, and all
@@ -741,7 +691,6 @@ public Builder clearUri() {
      * 
* * string artifact_uri = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return Whether the artifactUri field is set. */ @java.lang.Override @@ -749,8 +698,6 @@ 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
@@ -758,7 +705,6 @@ public boolean hasArtifactUri() {
      * 
* * string artifact_uri = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The artifactUri. */ @java.lang.Override @@ -768,7 +714,8 @@ 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; @@ -779,8 +726,6 @@ 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
@@ -788,18 +733,19 @@ 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; } @@ -809,8 +755,6 @@ public com.google.protobuf.ByteString getArtifactUriBytes() { } } /** - * - * *
      * Output only. URI of a directory containing the artifacts. This contains
      * deployment configuration used by Skaffold during a rollout, and all
@@ -818,22 +762,20 @@ public com.google.protobuf.ByteString getArtifactUriBytes() {
      * 
* * 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) { + public Builder setArtifactUri( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - uriCase_ = 4; + 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
@@ -841,7 +783,6 @@ public Builder setArtifactUri(java.lang.String value) {
      * 
* * string artifact_uri = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearArtifactUri() { @@ -853,8 +794,6 @@ 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
@@ -862,15 +801,15 @@ 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) { + public Builder setArtifactUriBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); uriCase_ = 4; uri_ = value; onChanged(); @@ -879,20 +818,18 @@ public Builder setArtifactUriBytes(com.google.protobuf.ByteString value) { 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; @@ -901,21 +838,20 @@ 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 { @@ -923,61 +859,54 @@ public com.google.protobuf.ByteString getSkaffoldConfigPathBytes() { } } /** - * - * *
      * 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) { + public Builder setSkaffoldConfigPath( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + skaffoldConfigPath_ = value; 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() { - + skaffoldConfigPath_ = getDefaultInstance().getSkaffoldConfigPath(); 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]; - * * @param value The bytes for skaffoldConfigPath to set. * @return This builder for chaining. */ - public Builder setSkaffoldConfigPathBytes(com.google.protobuf.ByteString value) { + public Builder setSkaffoldConfigPathBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + skaffoldConfigPath_ = value; onChanged(); return this; @@ -985,20 +914,18 @@ public Builder setSkaffoldConfigPathBytes(com.google.protobuf.ByteString value) 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; @@ -1007,21 +934,20 @@ 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 { @@ -1029,68 +955,61 @@ public com.google.protobuf.ByteString getManifestPathBytes() { } } /** - * - * *
      * 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) { + public Builder setManifestPath( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + manifestPath_ = value; 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() { - + manifestPath_ = getDefaultInstance().getManifestPath(); 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]; - * * @param value The bytes for manifestPath to set. * @return This builder for chaining. */ - public Builder setManifestPathBytes(com.google.protobuf.ByteString value) { + public Builder setManifestPathBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + manifestPath_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1100,12 +1019,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(); } @@ -1114,16 +1033,16 @@ 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 { - return new TargetArtifact(input, extensionRegistry); - } - }; + 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 { + return new TargetArtifact(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1138,4 +1057,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.TargetArtifact getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetArtifactOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetArtifactOrBuilder.java similarity index 73% rename from proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetArtifactOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetArtifactOrBuilder.java index c0778c7..f78ebfe 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetArtifactOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetArtifactOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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
@@ -33,13 +15,10 @@ public interface TargetArtifactOrBuilder
    * 
* * 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
@@ -47,13 +26,10 @@ public interface TargetArtifactOrBuilder
    * 
* * 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
@@ -61,60 +37,50 @@ public interface TargetArtifactOrBuilder
    * 
* * 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(); public com.google.cloud.deploy.v1.TargetArtifact.UriCase getUriCase(); } diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetName.java b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetName.java similarity index 100% rename from proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetName.java rename to owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetName.java diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetOrBuilder.java similarity index 82% rename from proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetOrBuilder.java index 70879f2..7086137 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetOrBuilder.java @@ -1,133 +1,95 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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}/
    * deliveryPipelines/{deliveryPipeline}/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}/
    * deliveryPipelines/{deliveryPipeline}/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 Google Cloud Deploy. See
@@ -135,13 +97,10 @@ public interface TargetOrBuilder
    * 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 Google Cloud Deploy. See
@@ -149,16 +108,17 @@ public interface TargetOrBuilder
    * size limitations.
    * 
* - * map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL]; + */ + 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(); /** - * - * *
    * Optional. User annotations. These attributes can only be set and used by the
    * user, and not by Google Cloud Deploy. See
@@ -166,13 +126,11 @@ public interface TargetOrBuilder
    * 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 Google Cloud Deploy. See
@@ -180,13 +138,13 @@ public interface TargetOrBuilder
    * 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 getAnnotationsOrDefault(java.lang.String key, java.lang.String defaultValue); + + java.lang.String getAnnotationsOrDefault( + java.lang.String key, + java.lang.String defaultValue); /** - * - * *
    * Optional. User annotations. These attributes can only be set and used by the
    * user, and not by Google Cloud Deploy. See
@@ -194,14 +152,13 @@ public interface TargetOrBuilder
    * 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 Google Cloud Deploy. Labels must meet the following
@@ -215,8 +172,6 @@ public interface TargetOrBuilder
    */
   int getLabelsCount();
   /**
-   *
-   *
    * 
    * Optional. Labels are attributes that can be set and used by both the
    * user and by Google Cloud Deploy. Labels must meet the following
@@ -228,13 +183,15 @@ public interface TargetOrBuilder
    *
    * 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 Google Cloud Deploy. Labels must meet the following
@@ -246,10 +203,9 @@ public interface TargetOrBuilder
    *
    * 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 Google Cloud Deploy. Labels must meet the following
@@ -261,10 +217,11 @@ public interface TargetOrBuilder
    *
    * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
    */
-  java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue);
+
+  java.lang.String getLabelsOrDefault(
+      java.lang.String key,
+      java.lang.String defaultValue);
   /**
-   *
-   *
    * 
    * Optional. Labels are attributes that can be set and used by both the
    * user and by Google Cloud Deploy. Labels must meet the following
@@ -276,124 +233,93 @@ public interface TargetOrBuilder
    *
    * 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(); /** - * - * *
    * Information specifying a GKE Cluster.
    * 
* * .google.cloud.deploy.v1.GkeCluster gke = 15; - * * @return Whether the gke field is set. */ boolean hasGke(); /** - * - * *
    * Information specifying a GKE Cluster.
    * 
* * .google.cloud.deploy.v1.GkeCluster gke = 15; - * * @return The gke. */ com.google.cloud.deploy.v1.GkeCluster getGke(); /** - * - * *
    * Information specifying a GKE Cluster.
    * 
@@ -403,8 +329,6 @@ public interface TargetOrBuilder com.google.cloud.deploy.v1.GkeClusterOrBuilder getGkeOrBuilder(); /** - * - * *
    * 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
@@ -412,13 +336,10 @@ public interface TargetOrBuilder
    * 
* * 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
@@ -426,14 +347,12 @@ public interface TargetOrBuilder
    * 
* * 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
@@ -446,10 +365,9 @@ public interface TargetOrBuilder
    *
    * 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
@@ -464,8 +382,6 @@ public interface TargetOrBuilder
    */
   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
@@ -480,8 +396,6 @@ public interface TargetOrBuilder
    */
   int getExecutionConfigsCount();
   /**
-   *
-   *
    * 
    * Configurations for all execution that relates to this `Target`.
    * Each `ExecutionEnvironmentUsage` value may only be used in a single
@@ -494,11 +408,9 @@ public interface TargetOrBuilder
    *
    * 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
@@ -511,7 +423,8 @@ public interface TargetOrBuilder
    *
    * 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);
 
   public com.google.cloud.deploy.v1.Target.DeploymentTargetCase getDeploymentTargetCase();
 }
diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetsPresentCondition.java b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetsPresentCondition.java
similarity index 73%
rename from proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetsPresentCondition.java
rename to owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetsPresentCondition.java
index 2c51426..9e52c76 100644
--- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetsPresentCondition.java
+++ b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetsPresentCondition.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/deploy/v1/cloud_deploy.proto
 
 package com.google.cloud.deploy.v1;
 
 /**
- *
- *
  * 
  * TargetsPresentCondition contains information on any Targets defined in
  * the Delivery Pipeline that do not actually exist.
@@ -28,31 +11,31 @@
  *
  * 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.EMPTY;
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new TargetsPresentCondition();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private TargetsPresentCondition(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -72,49 +55,47 @@ private TargetsPresentCondition(
           case 0:
             done = true;
             break;
-          case 8:
-            {
-              status_ = input.readBool();
-              break;
+          case 8: {
+
+            status_ = input.readBool();
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              missingTargets_ = new com.google.protobuf.LazyStringArrayList();
+              mutable_bitField0_ |= 0x00000001;
             }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                missingTargets_ = new com.google.protobuf.LazyStringArrayList();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              missingTargets_.add(s);
-              break;
+            missingTargets_.add(s);
+            break;
+          }
+          case 34: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (updateTime_ != null) {
+              subBuilder = updateTime_.toBuilder();
             }
-          case 34:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (updateTime_ != null) {
-                subBuilder = updateTime_.toBuilder();
-              }
-              updateTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(updateTime_);
-                updateTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+            updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(updateTime_);
+              updateTime_ = subBuilder.buildPartial();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         missingTargets_ = missingTargets_.getUnmodifiableView();
@@ -123,33 +104,27 @@ private TargetsPresentCondition(
       makeExtensionsImmutable();
     }
   }
-
-  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_;
   /**
-   *
-   *
    * 
    * True if there aren't any missing Targets.
    * 
* * bool status = 1; - * * @return The status. */ @java.lang.Override @@ -160,45 +135,37 @@ public boolean getStatus() { public static final int MISSING_TARGETS_FIELD_NUMBER = 2; private com.google.protobuf.LazyStringList missingTargets_; /** - * - * *
    * The list of Target names that are missing. 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 are missing. 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 are missing. 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. */ @@ -206,33 +173,28 @@ public java.lang.String getMissingTargets(int index) { return missingTargets_.get(index); } /** - * - * *
    * The list of Target names that are missing. 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 @@ -240,14 +202,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * Last time the condition was updated.
    * 
* * .google.protobuf.Timestamp update_time = 4; - * * @return The updateTime. */ @java.lang.Override @@ -255,8 +214,6 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * Last time the condition was updated.
    * 
@@ -269,7 +226,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -281,7 +237,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (status_ != false) { output.writeBool(1, status_); } @@ -301,7 +258,8 @@ 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; @@ -312,7 +270,8 @@ 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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -322,19 +281,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -348,7 +309,8 @@ 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(); @@ -363,103 +325,96 @@ 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 defined in
    * the Delivery Pipeline that do not actually exist.
@@ -467,23 +422,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * 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()
@@ -491,15 +444,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -517,9 +471,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
@@ -538,8 +492,7 @@ 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);
+      com.google.cloud.deploy.v1.TargetsPresentCondition result = new com.google.cloud.deploy.v1.TargetsPresentCondition(this);
       int from_bitField0_ = bitField0_;
       result.status_ = status_;
       if (((bitField0_ & 0x00000001) != 0)) {
@@ -560,39 +513,38 @@ public com.google.cloud.deploy.v1.TargetsPresentCondition 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.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;
@@ -600,8 +552,7 @@ 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());
       }
@@ -637,8 +588,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.deploy.v1.TargetsPresentCondition) e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.deploy.v1.TargetsPresentCondition) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -647,19 +597,15 @@ public Builder mergeFrom(
       }
       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 @@ -667,90 +613,74 @@ 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. */ public Builder setStatus(boolean value) { - + status_ = value; onChanged(); return this; } /** - * - * *
      * True if there aren't any missing Targets.
      * 
* * bool status = 1; - * * @return This builder for chaining. */ public Builder clearStatus() { - + status_ = false; onChanged(); return this; } - private com.google.protobuf.LazyStringList missingTargets_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList missingTargets_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureMissingTargetsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { missingTargets_ = new com.google.protobuf.LazyStringArrayList(missingTargets_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * The list of Target names that are missing. 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_.getUnmodifiableView(); } /** - * - * *
      * The list of Target names that are missing. 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 are missing. 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. */ @@ -758,95 +688,85 @@ public java.lang.String getMissingTargets(int index) { return missingTargets_.get(index); } /** - * - * *
      * The list of Target names that are missing. 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 are missing. 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) { + public Builder setMissingTargets( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureMissingTargetsIsMutable(); + throw new NullPointerException(); + } + ensureMissingTargetsIsMutable(); missingTargets_.set(index, value); onChanged(); return this; } /** - * - * *
      * The list of Target names that are missing. 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) { + public Builder addMissingTargets( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureMissingTargetsIsMutable(); + throw new NullPointerException(); + } + ensureMissingTargetsIsMutable(); missingTargets_.add(value); onChanged(); return this; } /** - * - * *
      * The list of Target names that are missing. 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_); onChanged(); return this; } /** - * - * *
      * The list of Target names that are missing. 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() { @@ -856,23 +776,21 @@ public Builder clearMissingTargets() { return this; } /** - * - * *
      * The list of Target names that are missing. 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) { + public Builder addMissingTargetsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureMissingTargetsIsMutable(); missingTargets_.add(value); onChanged(); @@ -881,47 +799,34 @@ public Builder addMissingTargetsBytes(com.google.protobuf.ByteString value) { 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 updateTimeBuilder_ != null || updateTime_ != null; } /** - * - * *
      * 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.
      * 
@@ -942,15 +847,14 @@ 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(); onChanged(); @@ -961,8 +865,6 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Last time the condition was updated.
      * 
@@ -973,7 +875,7 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -985,8 +887,6 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Last time the condition was updated.
      * 
@@ -1005,8 +905,6 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * Last time the condition was updated.
      * 
@@ -1014,13 +912,11 @@ public Builder clearUpdateTime() { * .google.protobuf.Timestamp update_time = 4; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Last time the condition was updated.
      * 
@@ -1031,14 +927,11 @@ 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.
      * 
@@ -1046,24 +939,21 @@ 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); } @@ -1073,12 +963,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(); } @@ -1087,16 +977,16 @@ 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 { - return new TargetsPresentCondition(input, extensionRegistry); - } - }; + 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 { + return new TargetsPresentCondition(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1111,4 +1001,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.TargetsPresentCondition getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetsPresentConditionOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetsPresentConditionOrBuilder.java similarity index 74% rename from proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetsPresentConditionOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetsPresentConditionOrBuilder.java index 322b943..89c2f11 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetsPresentConditionOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetsPresentConditionOrBuilder.java @@ -1,123 +1,86 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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 are missing. 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 are missing. 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 are missing. 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 are missing. 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/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/UpdateDeliveryPipelineRequest.java b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/UpdateDeliveryPipelineRequest.java similarity index 73% rename from proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/UpdateDeliveryPipelineRequest.java rename to owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/UpdateDeliveryPipelineRequest.java index ae9a13b..b83802f 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/UpdateDeliveryPipelineRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/UpdateDeliveryPipelineRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private UpdateDeliveryPipelineRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,93 +53,83 @@ private UpdateDeliveryPipelineRequest( case 0: done = true; break; - case 10: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); } - case 18: - { - com.google.cloud.deploy.v1.DeliveryPipeline.Builder subBuilder = null; - if (deliveryPipeline_ != null) { - subBuilder = deliveryPipeline_.toBuilder(); - } - deliveryPipeline_ = - input.readMessage( - com.google.cloud.deploy.v1.DeliveryPipeline.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(deliveryPipeline_); - deliveryPipeline_ = subBuilder.buildPartial(); - } - - break; + updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - requestId_ = s; - break; - } - case 32: - { - allowMissing_ = input.readBool(); - break; + break; + } + case 18: { + com.google.cloud.deploy.v1.DeliveryPipeline.Builder subBuilder = null; + if (deliveryPipeline_ != null) { + subBuilder = deliveryPipeline_.toBuilder(); } - case 40: - { - validateOnly_ = input.readBool(); - break; + deliveryPipeline_ = input.readMessage(com.google.cloud.deploy.v1.DeliveryPipeline.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(deliveryPipeline_); + deliveryPipeline_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + requestId_ = s; + break; + } + case 32: { + + allowMissing_ = input.readBool(); + break; + } + case 40: { + + validateOnly_ = input.readBool(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.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.
@@ -165,9 +138,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * user does not provide a mask then all fields will be 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 @@ -175,8 +146,6 @@ 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.
@@ -185,9 +154,7 @@ public boolean hasUpdateMask() {
    * user does not provide a mask then all fields will be 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 @@ -195,8 +162,6 @@ 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.
@@ -205,8 +170,7 @@ public com.google.protobuf.FieldMask getUpdateMask() {
    * user does not provide a mask then all fields will be 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() { @@ -216,16 +180,11 @@ 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 @@ -233,34 +192,23 @@ 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() { @@ -270,8 +218,6 @@ public com.google.cloud.deploy.v1.DeliveryPipelineOrBuilder getDeliveryPipelineO public static final int REQUEST_ID_FIELD_NUMBER = 3; 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 will know to ignore
@@ -287,7 +233,6 @@ public com.google.cloud.deploy.v1.DeliveryPipelineOrBuilder getDeliveryPipelineO
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ @java.lang.Override @@ -296,15 +241,14 @@ 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 will know to ignore
@@ -320,15 +264,16 @@ 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 { @@ -339,15 +284,12 @@ public com.google.protobuf.ByteString getRequestIdBytes() { public static final int ALLOW_MISSING_FIELD_NUMBER = 4; 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 @@ -358,15 +300,12 @@ public boolean getAllowMissing() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 5; 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 @@ -375,7 +314,6 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -387,7 +325,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (updateMask_ != null) { output.writeMessage(1, getUpdateMask()); } @@ -413,19 +352,23 @@ 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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -435,25 +378,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -476,136 +423,128 @@ 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) + unknownFields.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() @@ -613,15 +552,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -647,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_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 @@ -668,8 +608,7 @@ 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); + com.google.cloud.deploy.v1.UpdateDeliveryPipelineRequest result = new com.google.cloud.deploy.v1.UpdateDeliveryPipelineRequest(this); if (updateMaskBuilder_ == null) { result.updateMask_ = updateMask_; } else { @@ -691,39 +630,38 @@ public com.google.cloud.deploy.v1.UpdateDeliveryPipelineRequest 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.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; @@ -731,8 +669,7 @@ 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()); } @@ -768,8 +705,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.deploy.v1.UpdateDeliveryPipelineRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.deploy.v1.UpdateDeliveryPipelineRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -781,13 +717,8 @@ public Builder mergeFrom( 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.
@@ -796,17 +727,13 @@ public Builder mergeFrom(
      * user does not provide a mask then all fields will be 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 updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
      * Required. Field mask is used to specify the fields to be overwritten in the
      * `DeliveryPipeline` resource by the update.
@@ -815,23 +742,17 @@ public boolean hasUpdateMask() {
      * user does not provide a mask then all fields will be 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.
@@ -840,8 +761,7 @@ public com.google.protobuf.FieldMask getUpdateMask() {
      * user does not provide a mask then all fields will be 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) { @@ -857,8 +777,6 @@ 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.
@@ -867,10 +785,10 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      * user does not provide a mask then all fields will be 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(); onChanged(); @@ -881,8 +799,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * Required. Field mask is used to specify the fields to be overwritten in the
      * `DeliveryPipeline` resource by the update.
@@ -891,14 +807,13 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
      * user does not provide a mask then all fields will be 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 (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -910,8 +825,6 @@ 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.
@@ -920,8 +833,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
      * user does not provide a mask then all fields will be 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() { if (updateMaskBuilder_ == null) { @@ -935,8 +847,6 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * Required. Field mask is used to specify the fields to be overwritten in the
      * `DeliveryPipeline` resource by the update.
@@ -945,17 +855,14 @@ public Builder clearUpdateMask() {
      * user does not provide a mask then all fields will be 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() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Field mask is used to specify the fields to be overwritten in the
      * `DeliveryPipeline` resource by the update.
@@ -964,21 +871,17 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
      * user does not provide a mask then all fields will be 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.
@@ -987,21 +890,17 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * user does not provide a mask then all fields will be 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_; @@ -1009,58 +908,39 @@ 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 deliveryPipelineBuilder_ != null || 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. */ 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) { @@ -1076,15 +956,11 @@ 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) { @@ -1098,23 +974,17 @@ 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 (deliveryPipeline_ != null) { deliveryPipeline_ = - com.google.cloud.deploy.v1.DeliveryPipeline.newBuilder(deliveryPipeline_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.deploy.v1.DeliveryPipeline.newBuilder(deliveryPipeline_).mergeFrom(value).buildPartial(); } else { deliveryPipeline_ = value; } @@ -1126,15 +996,11 @@ 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() { if (deliveryPipelineBuilder_ == null) { @@ -1148,64 +1014,48 @@ 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() { - + onChanged(); 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_; @@ -1213,8 +1063,6 @@ 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 will know to ignore
@@ -1230,13 +1078,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; @@ -1245,8 +1093,6 @@ 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 will know to ignore
@@ -1262,14 +1108,15 @@ 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 { @@ -1277,8 +1124,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1294,22 +1139,20 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * 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) { + public Builder setRequestId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + requestId_ = value; 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 will know to ignore
@@ -1325,18 +1168,15 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearRequestId() { - + requestId_ = getDefaultInstance().getRequestId(); 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 will know to ignore
@@ -1352,32 +1192,29 @@ 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) { + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestId_ = value; onChanged(); 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 @@ -1385,54 +1222,45 @@ 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. */ public Builder setAllowMissing(boolean value) { - + allowMissing_ = value; onChanged(); 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() { - + allowMissing_ = false; onChanged(); 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 @@ -1440,45 +1268,39 @@ 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. */ public Builder setValidateOnly(boolean value) { - + validateOnly_ = value; onChanged(); 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() { - + validateOnly_ = false; 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); } @@ -1488,12 +1310,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(); } @@ -1502,16 +1324,16 @@ 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 { - return new UpdateDeliveryPipelineRequest(input, extensionRegistry); - } - }; + 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 { + return new UpdateDeliveryPipelineRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1526,4 +1348,6 @@ public com.google.protobuf.Parser getParserForTyp public com.google.cloud.deploy.v1.UpdateDeliveryPipelineRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/UpdateDeliveryPipelineRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/UpdateDeliveryPipelineRequestOrBuilder.java similarity index 78% rename from proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/UpdateDeliveryPipelineRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/UpdateDeliveryPipelineRequestOrBuilder.java index c286089..0c076d1 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/UpdateDeliveryPipelineRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/UpdateDeliveryPipelineRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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.
@@ -34,15 +16,11 @@ public interface UpdateDeliveryPipelineRequestOrBuilder
    * user does not provide a mask then all fields will be 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.
@@ -51,15 +29,11 @@ public interface UpdateDeliveryPipelineRequestOrBuilder
    * user does not provide a mask then all fields will be 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.
@@ -68,55 +42,38 @@ public interface UpdateDeliveryPipelineRequestOrBuilder
    * user does not provide a mask then all fields will be 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 will know to ignore
@@ -132,13 +89,10 @@ public interface UpdateDeliveryPipelineRequestOrBuilder
    * 
* * 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 will know to ignore
@@ -154,35 +108,29 @@ public interface UpdateDeliveryPipelineRequestOrBuilder
    * 
* * 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/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/UpdateTargetRequest.java b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/UpdateTargetRequest.java similarity index 76% rename from proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/UpdateTargetRequest.java rename to owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/UpdateTargetRequest.java index 104ab9e..36fc089 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/UpdateTargetRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/UpdateTargetRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private UpdateTargetRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,92 +53,83 @@ private UpdateTargetRequest( case 0: done = true; break; - case 10: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); } - case 18: - { - com.google.cloud.deploy.v1.Target.Builder subBuilder = null; - if (target_ != null) { - subBuilder = target_.toBuilder(); - } - target_ = - input.readMessage(com.google.cloud.deploy.v1.Target.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(target_); - target_ = subBuilder.buildPartial(); - } - - break; + updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - requestId_ = s; - break; - } - case 32: - { - allowMissing_ = input.readBool(); - break; + break; + } + case 18: { + com.google.cloud.deploy.v1.Target.Builder subBuilder = null; + if (target_ != null) { + subBuilder = target_.toBuilder(); } - case 40: - { - validateOnly_ = input.readBool(); - break; + target_ = input.readMessage(com.google.cloud.deploy.v1.Target.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(target_); + target_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + requestId_ = s; + break; + } + case 32: { + + allowMissing_ = input.readBool(); + break; + } + case 40: { + + validateOnly_ = input.readBool(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.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.
@@ -164,9 +138,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * user does not provide a mask then all fields will be 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 @@ -174,8 +146,6 @@ 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.
@@ -184,9 +154,7 @@ public boolean hasUpdateMask() {
    * user does not provide a mask then all fields will be 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 @@ -194,8 +162,6 @@ 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.
@@ -204,8 +170,7 @@ public com.google.protobuf.FieldMask getUpdateMask() {
    * user does not provide a mask then all fields will be 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() { @@ -215,15 +180,11 @@ 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 @@ -231,15 +192,11 @@ 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 @@ -247,14 +204,11 @@ 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() { @@ -264,8 +218,6 @@ public com.google.cloud.deploy.v1.TargetOrBuilder getTargetOrBuilder() { public static final int REQUEST_ID_FIELD_NUMBER = 3; 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 will know to ignore
@@ -281,7 +233,6 @@ public com.google.cloud.deploy.v1.TargetOrBuilder getTargetOrBuilder() {
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ @java.lang.Override @@ -290,15 +241,14 @@ 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 will know to ignore
@@ -314,15 +264,16 @@ 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 { @@ -333,15 +284,12 @@ public com.google.protobuf.ByteString getRequestIdBytes() { public static final int ALLOW_MISSING_FIELD_NUMBER = 4; 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 @@ -352,15 +300,12 @@ public boolean getAllowMissing() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 5; 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 @@ -369,7 +314,6 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -381,7 +325,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (updateMask_ != null) { output.writeMessage(1, getUpdateMask()); } @@ -407,19 +352,23 @@ 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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -429,25 +378,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -470,135 +423,128 @@ 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) + unknownFields.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() @@ -606,15 +552,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -640,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_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 @@ -661,8 +608,7 @@ 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); + com.google.cloud.deploy.v1.UpdateTargetRequest result = new com.google.cloud.deploy.v1.UpdateTargetRequest(this); if (updateMaskBuilder_ == null) { result.updateMask_ = updateMask_; } else { @@ -684,39 +630,38 @@ public com.google.cloud.deploy.v1.UpdateTargetRequest 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.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; @@ -772,13 +717,8 @@ public Builder mergeFrom( 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.
@@ -787,17 +727,13 @@ public Builder mergeFrom(
      * user does not provide a mask then all fields will be 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 updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
      * Required. Field mask is used to specify the fields to be overwritten in the
      * Target resource by the update.
@@ -806,23 +742,17 @@ public boolean hasUpdateMask() {
      * user does not provide a mask then all fields will be 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.
@@ -831,8 +761,7 @@ public com.google.protobuf.FieldMask getUpdateMask() {
      * user does not provide a mask then all fields will be 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) { @@ -848,8 +777,6 @@ 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.
@@ -858,10 +785,10 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      * user does not provide a mask then all fields will be 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(); onChanged(); @@ -872,8 +799,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * Required. Field mask is used to specify the fields to be overwritten in the
      * Target resource by the update.
@@ -882,14 +807,13 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
      * user does not provide a mask then all fields will be 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 (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -901,8 +825,6 @@ 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.
@@ -911,8 +833,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
      * user does not provide a mask then all fields will be 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() { if (updateMaskBuilder_ == null) { @@ -926,8 +847,6 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * Required. Field mask is used to specify the fields to be overwritten in the
      * Target resource by the update.
@@ -936,17 +855,14 @@ public Builder clearUpdateMask() {
      * user does not provide a mask then all fields will be 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() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Field mask is used to specify the fields to be overwritten in the
      * Target resource by the update.
@@ -955,21 +871,17 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
      * user does not provide a mask then all fields will be 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.
@@ -978,21 +890,17 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * user does not provide a mask then all fields will be 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_; @@ -1000,35 +908,24 @@ 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 targetBuilder_ != null || 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. */ public com.google.cloud.deploy.v1.Target getTarget() { @@ -1039,14 +936,11 @@ 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) { @@ -1062,16 +956,14 @@ 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(); onChanged(); @@ -1082,20 +974,17 @@ public Builder setTarget(com.google.cloud.deploy.v1.Target.Builder builderForVal 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 (target_ != null) { target_ = - com.google.cloud.deploy.v1.Target.newBuilder(target_).mergeFrom(value).buildPartial(); + com.google.cloud.deploy.v1.Target.newBuilder(target_).mergeFrom(value).buildPartial(); } else { target_ = value; } @@ -1107,14 +996,11 @@ 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() { if (targetBuilder_ == null) { @@ -1128,59 +1014,48 @@ 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() { - + onChanged(); 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_; @@ -1188,8 +1063,6 @@ 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 will know to ignore
@@ -1205,13 +1078,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; @@ -1220,8 +1093,6 @@ 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 will know to ignore
@@ -1237,14 +1108,15 @@ 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 { @@ -1252,8 +1124,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
      * Optional. A request ID to identify requests. Specify a unique request ID
      * so that if you must retry your request, the server will know to ignore
@@ -1269,22 +1139,20 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * 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) { + public Builder setRequestId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + requestId_ = value; 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 will know to ignore
@@ -1300,18 +1168,15 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearRequestId() { - + requestId_ = getDefaultInstance().getRequestId(); 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 will know to ignore
@@ -1327,32 +1192,29 @@ 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) { + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestId_ = value; onChanged(); 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 @@ -1360,54 +1222,45 @@ 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. */ public Builder setAllowMissing(boolean value) { - + allowMissing_ = value; onChanged(); 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() { - + allowMissing_ = false; onChanged(); 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 @@ -1415,45 +1268,39 @@ 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. */ public Builder setValidateOnly(boolean value) { - + validateOnly_ = value; onChanged(); 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() { - + validateOnly_ = false; 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); } @@ -1463,12 +1310,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(); } @@ -1477,16 +1324,16 @@ 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 { - return new UpdateTargetRequest(input, extensionRegistry); - } - }; + 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 { + return new UpdateTargetRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1501,4 +1348,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.deploy.v1.UpdateTargetRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/UpdateTargetRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/UpdateTargetRequestOrBuilder.java similarity index 81% rename from proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/UpdateTargetRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/UpdateTargetRequestOrBuilder.java index 6c7a9e0..f17794e 100644 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/UpdateTargetRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/UpdateTargetRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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.
@@ -34,15 +16,11 @@ public interface UpdateTargetRequestOrBuilder
    * user does not provide a mask then all fields will be 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.
@@ -51,15 +29,11 @@ public interface UpdateTargetRequestOrBuilder
    * user does not provide a mask then all fields will be 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.
@@ -68,52 +42,38 @@ public interface UpdateTargetRequestOrBuilder
    * user does not provide a mask then all fields will be 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 will know to ignore
@@ -129,13 +89,10 @@ public interface UpdateTargetRequestOrBuilder
    * 
* * 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 will know to ignore
@@ -151,35 +108,29 @@ public interface UpdateTargetRequestOrBuilder
    * 
* * 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/proto-google-cloud-deploy-v1/src/main/proto/google/cloud/deploy/v1/cloud_deploy.proto b/owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/proto/google/cloud/deploy/v1/cloud_deploy.proto similarity index 100% rename from proto-google-cloud-deploy-v1/src/main/proto/google/cloud/deploy/v1/cloud_deploy.proto rename to owl-bot-staging/v1/proto-google-cloud-deploy-v1/src/main/proto/google/cloud/deploy/v1/cloud_deploy.proto diff --git a/proto-google-cloud-deploy-v1/pom.xml b/proto-google-cloud-deploy-v1/pom.xml index cba0529..e344d88 100644 --- a/proto-google-cloud-deploy-v1/pom.xml +++ b/proto-google-cloud-deploy-v1/pom.xml @@ -12,24 +12,6 @@ google-cloud-deploy-parent 0.1.2-SNAPSHOT - - - com.google.protobuf - protobuf-java - - - com.google.api.grpc - proto-google-common-protos - - - com.google.api - api-common - - - com.google.guava - guava - - diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ApproveRolloutResponseOrBuilder.java b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ApproveRolloutResponseOrBuilder.java deleted file mode 100644 index a8f0ac6..0000000 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ApproveRolloutResponseOrBuilder.java +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/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/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CloudDeployProto.java b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CloudDeployProto.java deleted file mode 100644 index d38e6da..0000000 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CloudDeployProto.java +++ /dev/null @@ -1,1125 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/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_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_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_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_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_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_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_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_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_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_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_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; - - 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 google/protobuf/fie" - + "ld_mask.proto\032\037google/protobuf/timestamp" - + ".proto\032\026google/type/date.proto\"\322\005\n\020Deliv" - + "eryPipeline\022\021\n\004name\030\001 \001(\tB\003\340A\001\022\020\n\003uid\030\002 " - + "\001(\tB\003\340A\003\022\023\n\013description\030\003 \001(\t\022N\n\013annotat" - + "ions\030\004 \003(\01329.google.cloud.deploy.v1.Deli" - + "veryPipeline.AnnotationsEntry\022D\n\006labels\030" - + "\005 \003(\01324.google.cloud.deploy.v1.DeliveryP" - + "ipeline.LabelsEntry\0224\n\013create_time\030\006 \001(\013" - + "2\032.google.protobuf.TimestampB\003\340A\003\0224\n\013upd" - + "ate_time\030\007 \001(\0132\032.google.protobuf.Timesta" - + "mpB\003\340A\003\022A\n\017serial_pipeline\030\010 \001(\0132&.googl" - + "e.cloud.deploy.v1.SerialPipelineH\000\022A\n\tco" - + "ndition\030\013 \001(\0132).google.cloud.deploy.v1.P" - + "ipelineConditionB\003\340A\003\022\014\n\004etag\030\n \001(\t\0322\n\020A" - + "nnotationsEntry\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\005v" - + "alue\030\002 \001(\t:\0028\001:\177\352A|\n+clouddeploy.googlea" - + "pis.com/DeliveryPipeline\022Mprojects/{proj" - + "ect}/locations/{location}/deliveryPipeli" - + "nes/{delivery_pipeline}B\n\n\010pipeline\"?\n\016S" - + "erialPipeline\022-\n\006stages\030\001 \003(\0132\035.google.c" - + "loud.deploy.v1.Stage\",\n\005Stage\022\021\n\ttarget_" - + "id\030\001 \001(\t\022\020\n\010profiles\030\002 \003(\t\"Y\n\026PipelineRe" - + "adyCondition\022\016\n\006status\030\003 \001(\010\022/\n\013update_t" - + "ime\030\004 \001(\0132\032.google.protobuf.Timestamp\"\233\001" - + "\n\027TargetsPresentCondition\022\016\n\006status\030\001 \001(" - + "\010\022?\n\017missing_targets\030\002 \003(\tB&\372A#\n!cloudde" - + "ploy.googleapis.com/Target\022/\n\013update_tim" - + "e\030\004 \001(\0132\032.google.protobuf.Timestamp\"\271\001\n\021" - + "PipelineCondition\022P\n\030pipeline_ready_cond" - + "ition\030\001 \001(\0132..google.cloud.deploy.v1.Pip" - + "elineReadyCondition\022R\n\031targets_present_c" - + "ondition\030\003 \001(\0132/.google.cloud.deploy.v1." - + "TargetsPresentCondition\"\254\001\n\034ListDelivery" - + "PipelinesRequest\022C\n\006parent\030\001 \001(\tB3\340A\002\372A-" - + "\022+clouddeploy.googleapis.com/DeliveryPip" - + "eline\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\"\223" - + "\001\n\035ListDeliveryPipelinesResponse\022D\n\022deli" - + "very_pipelines\030\001 \003(\0132(.google.cloud.depl" - + "oy.v1.DeliveryPipeline\022\027\n\017next_page_toke" - + "n\030\002 \001(\t\022\023\n\013unreachable\030\003 \003(\t\"_\n\032GetDeliv" - + "eryPipelineRequest\022A\n\004name\030\001 \001(\tB3\340A\002\372A-" - + "\n+clouddeploy.googleapis.com/DeliveryPip" - + "eline\"\206\002\n\035CreateDeliveryPipelineRequest\022" - + "C\n\006parent\030\001 \001(\tB3\340A\002\372A-\022+clouddeploy.goo" - + "gleapis.com/DeliveryPipeline\022!\n\024delivery" - + "_pipeline_id\030\002 \001(\tB\003\340A\002\022H\n\021delivery_pipe" - + "line\030\003 \001(\0132(.google.cloud.deploy.v1.Deli" - + "veryPipelineB\003\340A\002\022\027\n\nrequest_id\030\004 \001(\tB\003\340" - + "A\001\022\032\n\rvalidate_only\030\005 \001(\010B\003\340A\001\"\360\001\n\035Updat" - + "eDeliveryPipelineRequest\0224\n\013update_mask\030" - + "\001 \001(\0132\032.google.protobuf.FieldMaskB\003\340A\002\022H" - + "\n\021delivery_pipeline\030\002 \001(\0132(.google.cloud" - + ".deploy.v1.DeliveryPipelineB\003\340A\002\022\027\n\nrequ" - + "est_id\030\003 \001(\tB\003\340A\001\022\032\n\rallow_missing\030\004 \001(\010" - + "B\003\340A\001\022\032\n\rvalidate_only\030\005 \001(\010B\003\340A\001\"\332\001\n\035De" - + "leteDeliveryPipelineRequest\022A\n\004name\030\001 \001(" - + "\tB3\340A\002\372A-\n+clouddeploy.googleapis.com/De" - + "liveryPipeline\022\027\n\nrequest_id\030\002 \001(\tB\003\340A\001\022" - + "\032\n\rallow_missing\030\003 \001(\010B\003\340A\001\022\032\n\rvalidate_" - + "only\030\004 \001(\010B\003\340A\001\022\022\n\005force\030\006 \001(\010B\003\340A\001\022\021\n\004e" - + "tag\030\005 \001(\tB\003\340A\001\"\332\005\n\006Target\022\021\n\004name\030\001 \001(\tB" - + "\003\340A\001\022\026\n\ttarget_id\030\002 \001(\tB\003\340A\003\022\020\n\003uid\030\003 \001(" - + "\tB\003\340A\003\022\030\n\013description\030\004 \001(\tB\003\340A\001\022I\n\013anno" - + "tations\030\005 \003(\0132/.google.cloud.deploy.v1.T" - + "arget.AnnotationsEntryB\003\340A\001\022?\n\006labels\030\006 " - + "\003(\0132*.google.cloud.deploy.v1.Target.Labe" - + "lsEntryB\003\340A\001\022\035\n\020require_approval\030\r \001(\010B\003" - + "\340A\001\0224\n\013create_time\030\010 \001(\0132\032.google.protob" - + "uf.TimestampB\003\340A\003\0224\n\013update_time\030\t \001(\0132\032" - + ".google.protobuf.TimestampB\003\340A\003\0221\n\003gke\030\017" - + " \001(\0132\".google.cloud.deploy.v1.GkeCluster" - + "H\000\022\021\n\004etag\030\014 \001(\tB\003\340A\001\022B\n\021execution_confi" - + "gs\030\020 \003(\0132\'.google.cloud.deploy.v1.Execut" - + "ionConfig\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\003" - + "key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001:`\352A]\n!cloud" - + "deploy.googleapis.com/Target\0228projects/{" - + "project}/locations/{location}/targets/{t" - + "arget}B\023\n\021deployment_target\"\350\002\n\017Executio" - + "nConfig\022V\n\006usages\030\001 \003(\0162A.google.cloud.d" - + "eploy.v1.ExecutionConfig.ExecutionEnviro" - + "nmentUsageB\003\340A\002\022@\n\014default_pool\030\002 \001(\0132#." - + "google.cloud.deploy.v1.DefaultPoolB\003\340A\001H" - + "\000\022@\n\014private_pool\030\003 \001(\0132#.google.cloud.d" - + "eploy.v1.PrivatePoolB\003\340A\001H\000\"`\n\031Execution" - + "EnvironmentUsage\022+\n\'EXECUTION_ENVIRONMEN" - + "T_USAGE_UNSPECIFIED\020\000\022\n\n\006RENDER\020\001\022\n\n\006DEP" - + "LOY\020\002B\027\n\025execution_environment\"J\n\013Defaul" - + "tPool\022\034\n\017service_account\030\001 \001(\tB\003\340A\001\022\035\n\020a" - + "rtifact_storage\030\002 \001(\tB\003\340A\001\"\215\001\n\013PrivatePo" - + "ol\022A\n\013worker_pool\030\001 \001(\tB,\340A\002\372A&\n$cloudbu" - + "ild.googleapis.com/WorkerPool\022\034\n\017service" - + "_account\030\002 \001(\tB\003\340A\001\022\035\n\020artifact_storage\030" - + "\003 \001(\tB\003\340A\001\"D\n\nGkeCluster\0226\n\007cluster\030\001 \001(" - + "\tB%\372A\"\n container.googleapis.com/Cluster" - + "\"\254\001\n\022ListTargetsRequest\0229\n\006parent\030\001 \001(\tB" - + ")\340A\002\372A#\022!clouddeploy.googleapis.com/Targ" - + "et\022\026\n\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n\npage_token" - + "\030\003 \001(\tB\003\340A\001\022\023\n\006filter\030\004 \001(\tB\003\340A\001\022\025\n\010orde" - + "r_by\030\005 \001(\tB\003\340A\001\"t\n\023ListTargetsResponse\022/" - + "\n\007targets\030\001 \003(\0132\036.google.cloud.deploy.v1" - + ".Target\022\027\n\017next_page_token\030\002 \001(\t\022\023\n\013unre" - + "achable\030\003 \003(\t\"K\n\020GetTargetRequest\0227\n\004nam" - + "e\030\001 \001(\tB)\340A\002\372A#\n!clouddeploy.googleapis." - + "com/Target\"\322\001\n\023CreateTargetRequest\0229\n\006pa" - + "rent\030\001 \001(\tB)\340A\002\372A#\022!clouddeploy.googleap" - + "is.com/Target\022\026\n\ttarget_id\030\002 \001(\tB\003\340A\002\0223\n" - + "\006target\030\003 \001(\0132\036.google.cloud.deploy.v1.T" - + "argetB\003\340A\002\022\027\n\nrequest_id\030\004 \001(\tB\003\340A\001\022\032\n\rv" - + "alidate_only\030\005 \001(\010B\003\340A\001\"\321\001\n\023UpdateTarget" - + "Request\0224\n\013update_mask\030\001 \001(\0132\032.google.pr" - + "otobuf.FieldMaskB\003\340A\002\0223\n\006target\030\002 \001(\0132\036." - + "google.cloud.deploy.v1.TargetB\003\340A\002\022\027\n\nre" - + "quest_id\030\003 \001(\tB\003\340A\001\022\032\n\rallow_missing\030\004 \001" - + "(\010B\003\340A\001\022\032\n\rvalidate_only\030\005 \001(\010B\003\340A\001\"\262\001\n\023" - + "DeleteTargetRequest\0227\n\004name\030\001 \001(\tB)\340A\002\372A" - + "#\n!clouddeploy.googleapis.com/Target\022\027\n\n" - + "request_id\030\002 \001(\tB\003\340A\001\022\032\n\rallow_missing\030\003" - + " \001(\010B\003\340A\001\022\032\n\rvalidate_only\030\004 \001(\010B\003\340A\001\022\021\n" - + "\004etag\030\005 \001(\tB\003\340A\001\"\272\r\n\007Release\022\021\n\004name\030\001 \001" - + "(\tB\003\340A\001\022\020\n\003uid\030\002 \001(\tB\003\340A\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\0224\n\013create_time\030\006 \001(\0132" - + "\032.google.protobuf.TimestampB\003\340A\003\022:\n\021rend" - + "er_start_time\030\007 \001(\0132\032.google.protobuf.Ti" - + "mestampB\003\340A\003\0228\n\017render_end_time\030\010 \001(\0132\032." - + "google.protobuf.TimestampB\003\340A\003\022\033\n\023skaffo" - + "ld_config_uri\030\021 \001(\t\022\034\n\024skaffold_config_p" - + "ath\030\t \001(\t\022>\n\017build_artifacts\030\n \003(\0132%.goo" - + "gle.cloud.deploy.v1.BuildArtifact\022Q\n\032del" - + "ivery_pipeline_snapshot\030\013 \001(\0132(.google.c" - + "loud.deploy.v1.DeliveryPipelineB\003\340A\003\022=\n\020" - + "target_snapshots\030\014 \003(\0132\036.google.cloud.de" - + "ploy.v1.TargetB\003\340A\003\022F\n\014render_state\030\r \001(" - + "\0162+.google.cloud.deploy.v1.Release.Rende" - + "rStateB\003\340A\003\022\014\n\004etag\030\020 \001(\t\022\030\n\020skaffold_ve" - + "rsion\030\023 \001(\t\022S\n\020target_artifacts\030\024 \003(\01324." - + "google.cloud.deploy.v1.Release.TargetArt" - + "ifactsEntryB\003\340A\003\022O\n\016target_renders\030\026 \003(\013" - + "22.google.cloud.deploy.v1.Release.Target" - + "RendersEntryB\003\340A\003\032\224\002\n\014TargetRender\022@\n\017re" - + "ndering_build\030\001 \001(\tB\'\340A\003\372A!\n\037cloudbuild." - + "googleapis.com/Build\022\\\n\017rendering_state\030" - + "\002 \001(\0162>.google.cloud.deploy.v1.Release.T" - + "argetRender.TargetRenderStateB\003\340A\003\"d\n\021Ta" - + "rgetRenderState\022#\n\037TARGET_RENDER_STATE_U" - + "NSPECIFIED\020\000\022\r\n\tSUCCEEDED\020\001\022\n\n\006FAILED\020\002\022" - + "\017\n\013IN_PROGRESS\020\003\0322\n\020AnnotationsEntry\022\013\n\003" - + "key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\032-\n\013LabelsEn" - + "try\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\032^\n\024T" - + "argetArtifactsEntry\022\013\n\003key\030\001 \001(\t\0225\n\005valu" - + "e\030\002 \001(\0132&.google.cloud.deploy.v1.TargetA" - + "rtifact:\0028\001\032b\n\022TargetRendersEntry\022\013\n\003key" - + "\030\001 \001(\t\022;\n\005value\030\002 \001(\0132,.google.cloud.dep" - + "loy.v1.Release.TargetRender:\0028\001\"W\n\013Rende" - + "rState\022\034\n\030RENDER_STATE_UNSPECIFIED\020\000\022\r\n\t" - + "SUCCEEDED\020\001\022\n\n\006FAILED\020\002\022\017\n\013IN_PROGRESS\020\003" - + ":\212\001\352A\206\001\n\"clouddeploy.googleapis.com/Rele" - + "ase\022`projects/{project}/locations/{locat" - + "ion}/deliveryPipelines/{delivery_pipelin" - + "e}/releases/{release}\"+\n\rBuildArtifact\022\r" - + "\n\005image\030\003 \001(\t\022\013\n\003tag\030\002 \001(\t\"s\n\016TargetArti" - + "fact\022\033\n\014artifact_uri\030\004 \001(\tB\003\340A\003H\000\022!\n\024ska" - + "ffold_config_path\030\002 \001(\tB\003\340A\003\022\032\n\rmanifest" - + "_path\030\003 \001(\tB\003\340A\003B\005\n\003uri\"\267\001\n\023ListReleases" - + "Request\022C\n\006parent\030\001 \001(\tB3\340A\002\372A-\n+cloudde" - + "ploy.googleapis.com/DeliveryPipeline\022\026\n\t" - + "page_size\030\002 \001(\005B\003\340A\001\022\027\n\npage_token\030\003 \001(\t" - + "B\003\340A\001\022\023\n\006filter\030\004 \001(\tB\003\340A\001\022\025\n\010order_by\030\005" - + " \001(\tB\003\340A\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\"M\n\021GetReleaseRequest\0228\n\004name\030" - + "\001 \001(\tB*\340A\002\372A$\n\"clouddeploy.googleapis.co" - + "m/Release\"\340\001\n\024CreateReleaseRequest\022C\n\006pa" - + "rent\030\001 \001(\tB3\340A\002\372A-\n+clouddeploy.googleap" - + "is.com/DeliveryPipeline\022\027\n\nrelease_id\030\002 " - + "\001(\tB\003\340A\002\0225\n\007release\030\003 \001(\0132\037.google.cloud" - + ".deploy.v1.ReleaseB\003\340A\002\022\027\n\nrequest_id\030\004 " - + "\001(\tB\003\340A\001\022\032\n\rvalidate_only\030\005 \001(\010B\003\340A\001\"\211\n\n" - + "\007Rollout\022\021\n\004name\030\001 \001(\tB\003\340A\001\022\020\n\003uid\030\002 \001(\t" - + "B\003\340A\003\022\023\n\013description\030\003 \001(\t\022E\n\013annotation" - + "s\030\004 \003(\01320.google.cloud.deploy.v1.Rollout" - + ".AnnotationsEntry\022;\n\006labels\030\005 \003(\0132+.goog" - + "le.cloud.deploy.v1.Rollout.LabelsEntry\0224" - + "\n\013create_time\030\006 \001(\0132\032.google.protobuf.Ti" - + "mestampB\003\340A\003\0225\n\014approve_time\030\007 \001(\0132\032.goo" - + "gle.protobuf.TimestampB\003\340A\003\0225\n\014enqueue_t" - + "ime\030\010 \001(\0132\032.google.protobuf.TimestampB\003\340" - + "A\003\022:\n\021deploy_start_time\030\t \001(\0132\032.google.p" - + "rotobuf.TimestampB\003\340A\003\0228\n\017deploy_end_tim" - + "e\030\n \001(\0132\032.google.protobuf.TimestampB\003\340A\003" - + "\022\026\n\ttarget_id\030\022 \001(\tB\003\340A\002\022J\n\016approval_sta" - + "te\030\014 \001(\0162-.google.cloud.deploy.v1.Rollou" - + "t.ApprovalStateB\003\340A\003\0229\n\005state\030\r \001(\0162%.go" - + "ogle.cloud.deploy.v1.Rollout.StateB\003\340A\003\022" - + "\033\n\016failure_reason\030\016 \001(\tB\003\340A\003\022@\n\017deployin" - + "g_build\030\021 \001(\tB\'\340A\003\372A!\n\037cloudbuild.google" - + "apis.com/Build\022\014\n\004etag\030\020 \001(\t\0322\n\020Annotati" - + "onsEntry\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_STA" - + "TE_UNSPECIFIED\020\000\022\022\n\016NEEDS_APPROVAL\020\001\022\032\n\026" - + "DOES_NOT_NEED_APPROVAL\020\002\022\014\n\010APPROVED\020\003\022\014" - + "\n\010REJECTED\020\004\"\231\001\n\005State\022\025\n\021STATE_UNSPECIF" - + "IED\020\000\022\r\n\tSUCCEEDED\020\001\022\n\n\006FAILED\020\002\022\017\n\013IN_P" - + "ROGRESS\020\003\022\024\n\020PENDING_APPROVAL\020\004\022\025\n\021APPRO" - + "VAL_REJECTED\020\005\022\013\n\007PENDING\020\006\022\023\n\017PENDING_R" - + "ELEASE\020\007:\235\001\352A\231\001\n\"clouddeploy.googleapis." - + "com/Rollout\022sprojects/{project}/location" - + "s/{location}/deliveryPipelines/{delivery" - + "_pipeline}/releases/{release}/rollouts/{" - + "rollout}\"\256\001\n\023ListRolloutsRequest\022:\n\006pare" - + "nt\030\001 \001(\tB*\340A\002\372A$\n\"clouddeploy.googleapis" - + ".com/Release\022\026\n\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n\n" - + "page_token\030\003 \001(\tB\003\340A\001\022\023\n\006filter\030\004 \001(\tB\003\340" - + "A\001\022\025\n\010order_by\030\005 \001(\tB\003\340A\001\"w\n\024ListRollout" - + "sResponse\0221\n\010rollouts\030\001 \003(\0132\037.google.clo" - + "ud.deploy.v1.Rollout\022\027\n\017next_page_token\030" - + "\002 \001(\t\022\023\n\013unreachable\030\003 \003(\t\"M\n\021GetRollout" - + "Request\0228\n\004name\030\001 \001(\tB*\340A\002\372A$\n\"clouddepl" - + "oy.googleapis.com/Rollout\"\327\001\n\024CreateRoll" - + "outRequest\022:\n\006parent\030\001 \001(\tB*\340A\002\372A$\n\"clou" - + "ddeploy.googleapis.com/Release\022\027\n\nrollou" - + "t_id\030\002 \001(\tB\003\340A\002\0225\n\007rollout\030\003 \001(\0132\037.googl" - + "e.cloud.deploy.v1.RolloutB\003\340A\002\022\027\n\nreques" - + "t_id\030\004 \001(\tB\003\340A\001\022\032\n\rvalidate_only\030\005 \001(\010B\003" - + "\340A\001\"\200\002\n\021OperationMetadata\0224\n\013create_time" - + "\030\001 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022" - + "1\n\010end_time\030\002 \001(\0132\032.google.protobuf.Time" - + "stampB\003\340A\003\022\023\n\006target\030\003 \001(\tB\003\340A\003\022\021\n\004verb\030" - + "\004 \001(\tB\003\340A\003\022\033\n\016status_message\030\005 \001(\tB\003\340A\003\022" - + "#\n\026requested_cancellation\030\006 \001(\010B\003\340A\003\022\030\n\013" - + "api_version\030\007 \001(\tB\003\340A\003\"h\n\025ApproveRollout" - + "Request\0228\n\004name\030\001 \001(\tB*\340A\002\372A$\n\"clouddepl" - + "oy.googleapis.com/Rollout\022\025\n\010approved\030\002 " - + "\001(\010B\003\340A\002\"\030\n\026ApproveRolloutResponse\"\337\001\n\006C" - + "onfig\022\014\n\004name\030\001 \001(\t\022H\n\022supported_version" - + "s\030\002 \003(\0132\'.google.cloud.deploy.v1.Skaffol" - + "dVersionB\003\340A\003\022%\n\030default_skaffold_versio" - + "n\030\003 \001(\tB\003\340A\003:V\352AS\n!clouddeploy.googleapi" - + "s.com/Config\022.projects/{project}/locatio" - + "ns/{location}/config\"O\n\017SkaffoldVersion\022" - + "\017\n\007version\030\001 \001(\t\022+\n\020support_end_date\030\002 \001" - + "(\0132\021.google.type.Date\"K\n\020GetConfigReques" - + "t\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!clouddeploy.goo" - + "gleapis.com/Config2\352\035\n\013CloudDeploy\022\314\001\n\025L" - + "istDeliveryPipelines\0224.google.cloud.depl" - + "oy.v1.ListDeliveryPipelinesRequest\0325.goo" - + "gle.cloud.deploy.v1.ListDeliveryPipeline" - + "sResponse\"F\202\323\344\223\0027\0225/v1/{parent=projects/" - + "*/locations/*}/deliveryPipelines\332A\006paren" - + "t\022\271\001\n\023GetDeliveryPipeline\0222.google.cloud" - + ".deploy.v1.GetDeliveryPipelineRequest\032(." - + "google.cloud.deploy.v1.DeliveryPipeline\"" - + "D\202\323\344\223\0027\0225/v1/{name=projects/*/locations/" - + "*/deliveryPipelines/*}\332A\004name\022\231\002\n\026Create" - + "DeliveryPipeline\0225.google.cloud.deploy.v" - + "1.CreateDeliveryPipelineRequest\032\035.google" - + ".longrunning.Operation\"\250\001\202\323\344\223\002J\"5/v1/{pa" - + "rent=projects/*/locations/*}/deliveryPip" - + "elines:\021delivery_pipeline\332A-parent,deliv" - + "ery_pipeline,delivery_pipeline_id\312A%\n\020De" - + "liveryPipeline\022\021OperationMetadata\022\233\002\n\026Up" - + "dateDeliveryPipeline\0225.google.cloud.depl" - + "oy.v1.UpdateDeliveryPipelineRequest\032\035.go" - + "ogle.longrunning.Operation\"\252\001\202\323\344\223\002\\2G/v1" - + "/{delivery_pipeline.name=projects/*/loca" - + "tions/*/deliveryPipelines/*}:\021delivery_p" - + "ipeline\332A\035delivery_pipeline,update_mask\312" - + "A%\n\020DeliveryPipeline\022\021OperationMetadata\022" - + "\341\001\n\026DeleteDeliveryPipeline\0225.google.clou" - + "d.deploy.v1.DeleteDeliveryPipelineReques" - + "t\032\035.google.longrunning.Operation\"q\202\323\344\223\0027" - + "*5/v1/{name=projects/*/locations/*/deliv" - + "eryPipelines/*}\332A\004name\312A*\n\025google.protob" - + "uf.Empty\022\021OperationMetadata\022\244\001\n\013ListTarg" - + "ets\022*.google.cloud.deploy.v1.ListTargets" - + "Request\032+.google.cloud.deploy.v1.ListTar" - + "getsResponse\"<\202\323\344\223\002-\022+/v1/{parent=projec" - + "ts/*/locations/*}/targets\332A\006parent\022\221\001\n\tG" - + "etTarget\022(.google.cloud.deploy.v1.GetTar" - + "getRequest\032\036.google.cloud.deploy.v1.Targ" - + "et\":\202\323\344\223\002-\022+/v1/{name=projects/*/locatio" - + "ns/*/targets/*}\332A\004name\022\317\001\n\014CreateTarget\022" - + "+.google.cloud.deploy.v1.CreateTargetReq" - + "uest\032\035.google.longrunning.Operation\"s\202\323\344" - + "\223\0025\"+/v1/{parent=projects/*/locations/*}" - + "/targets:\006target\332A\027parent,target,target_" - + "id\312A\033\n\006Target\022\021OperationMetadata\022\321\001\n\014Upd" - + "ateTarget\022+.google.cloud.deploy.v1.Updat" - + "eTargetRequest\032\035.google.longrunning.Oper" - + "ation\"u\202\323\344\223\002<22/v1/{target.name=projects" - + "/*/locations/*/targets/*}:\006target\332A\022targ" - + "et,update_mask\312A\033\n\006Target\022\021OperationMeta" - + "data\022\303\001\n\014DeleteTarget\022+.google.cloud.dep" - + "loy.v1.DeleteTargetRequest\032\035.google.long" - + "running.Operation\"g\202\323\344\223\002-*+/v1/{name=pro" - + "jects/*/locations/*/targets/*}\332A\004name\312A*" - + "\n\025google.protobuf.Empty\022\021OperationMetada" - + "ta\022\274\001\n\014ListReleases\022+.google.cloud.deplo" - + "y.v1.ListReleasesRequest\032,.google.cloud." - + "deploy.v1.ListReleasesResponse\"Q\202\323\344\223\002B\022@" - + "/v1/{parent=projects/*/locations/*/deliv" - + "eryPipelines/*}/releases\332A\006parent\022\251\001\n\nGe" - + "tRelease\022).google.cloud.deploy.v1.GetRel" - + "easeRequest\032\037.google.cloud.deploy.v1.Rel" - + "ease\"O\202\323\344\223\002B\022@/v1/{name=projects/*/locat" - + "ions/*/deliveryPipelines/*/releases/*}\332A" - + "\004name\022\353\001\n\rCreateRelease\022,.google.cloud.d" - + "eploy.v1.CreateReleaseRequest\032\035.google.l" - + "ongrunning.Operation\"\214\001\202\323\344\223\002K\"@/v1/{pare" - + "nt=projects/*/locations/*/deliveryPipeli" - + "nes/*}/releases:\007release\332A\031parent,releas" - + "e,release_id\312A\034\n\007Release\022\021OperationMetad" - + "ata\022\326\001\n\016ApproveRollout\022-.google.cloud.de" - + "ploy.v1.ApproveRolloutRequest\032..google.c" - + "loud.deploy.v1.ApproveRolloutResponse\"e\202" - + "\323\344\223\002X\"S/v1/{name=projects/*/locations/*/" - + "deliveryPipelines/*/releases/*/rollouts/" - + "*}:approve:\001*\332A\004name\022\307\001\n\014ListRollouts\022+." - + "google.cloud.deploy.v1.ListRolloutsReque" - + "st\032,.google.cloud.deploy.v1.ListRollouts" - + "Response\"\\\202\323\344\223\002M\022K/v1/{parent=projects/*" - + "/locations/*/deliveryPipelines/*/release" - + "s/*}/rollouts\332A\006parent\022\264\001\n\nGetRollout\022)." - + "google.cloud.deploy.v1.GetRolloutRequest" - + "\032\037.google.cloud.deploy.v1.Rollout\"Z\202\323\344\223\002" - + "M\022K/v1/{name=projects/*/locations/*/deli" - + "veryPipelines/*/releases/*/rollouts/*}\332A" - + "\004name\022\366\001\n\rCreateRollout\022,.google.cloud.d" - + "eploy.v1.CreateRolloutRequest\032\035.google.l" - + "ongrunning.Operation\"\227\001\202\323\344\223\002V\"K/v1/{pare" - + "nt=projects/*/locations/*/deliveryPipeli" - + "nes/*/releases/*}/rollouts:\007rollout\332A\031pa" - + "rent,rollout,rollout_id\312A\034\n\007Rollout\022\021Ope" - + "rationMetadata\022\216\001\n\tGetConfig\022(.google.cl" - + "oud.deploy.v1.GetConfigRequest\032\036.google." - + "cloud.deploy.v1.Config\"7\202\323\344\223\002*\022(/v1/{nam" - + "e=projects/*/locations/*/config}\332A\004name\032" - + "N\312A\032clouddeploy.googleapis.com\322A.https:/" - + "/www.googleapis.com/auth/cloud-platformB" - + "\200\004\n\032com.google.cloud.deploy.v1B\020CloudDep" - + "loyProtoP\001Zprojects/{projec" - + "t}/locations/{location}/operations/{oper" - + "ation}\352Ai\n$cloudbuild.googleapis.com/Wor" - + "kerPool\022Aprojects/{project}/locations/{l" - + "ocation}/workerPools/{worker_pool}b\006prot" - + "o3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.longrunning.OperationsProto.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", - "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", - }); - internal_static_google_cloud_deploy_v1_PipelineReadyCondition_descriptor = - getDescriptor().getMessageTypes().get(3); - 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(4); - 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_PipelineCondition_descriptor = - getDescriptor().getMessageTypes().get(5); - 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", - }); - internal_static_google_cloud_deploy_v1_ListDeliveryPipelinesRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - 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(7); - 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(8); - 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(9); - 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(10); - 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(11); - 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_Target_descriptor = - getDescriptor().getMessageTypes().get(12); - 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", - "Etag", - "ExecutionConfigs", - "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_ExecutionConfig_descriptor = - getDescriptor().getMessageTypes().get(13); - 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", "ExecutionEnvironment", - }); - internal_static_google_cloud_deploy_v1_DefaultPool_descriptor = - getDescriptor().getMessageTypes().get(14); - 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(15); - 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(16); - 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", - }); - internal_static_google_cloud_deploy_v1_ListTargetsRequest_descriptor = - getDescriptor().getMessageTypes().get(17); - 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(18); - 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(19); - 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(20); - 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(21); - 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(22); - 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_Release_descriptor = - getDescriptor().getMessageTypes().get(23); - 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", - "CreateTime", - "RenderStartTime", - "RenderEndTime", - "SkaffoldConfigUri", - "SkaffoldConfigPath", - "BuildArtifacts", - "DeliveryPipelineSnapshot", - "TargetSnapshots", - "RenderState", - "Etag", - "SkaffoldVersion", - "TargetArtifacts", - "TargetRenders", - }); - 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", - }); - internal_static_google_cloud_deploy_v1_Release_AnnotationsEntry_descriptor = - internal_static_google_cloud_deploy_v1_Release_descriptor.getNestedTypes().get(1); - 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(2); - 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(3); - 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(4); - 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_BuildArtifact_descriptor = - getDescriptor().getMessageTypes().get(24); - 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(25); - 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", "Uri", - }); - internal_static_google_cloud_deploy_v1_ListReleasesRequest_descriptor = - getDescriptor().getMessageTypes().get(26); - 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(27); - 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(28); - 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(29); - 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(30); - 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", - }); - 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_ListRolloutsRequest_descriptor = - getDescriptor().getMessageTypes().get(31); - 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(32); - 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(33); - 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(34); - 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", - }); - internal_static_google_cloud_deploy_v1_OperationMetadata_descriptor = - getDescriptor().getMessageTypes().get(35); - 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(36); - 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(37); - 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_Config_descriptor = - getDescriptor().getMessageTypes().get(38); - 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(39); - 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", "SupportEndDate", - }); - internal_static_google_cloud_deploy_v1_GetConfigRequest_descriptor = - getDescriptor().getMessageTypes().get(40); - 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", - }); - 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.FieldMaskProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.type.DateProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ExecutionConfigOrBuilder.java b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ExecutionConfigOrBuilder.java deleted file mode 100644 index a1c7d44..0000000 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ExecutionConfigOrBuilder.java +++ /dev/null @@ -1,184 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/deploy/v1/cloud_deploy.proto - -package com.google.cloud.deploy.v1; - -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]; - * - * - * @return A list containing the usages. - */ - 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]; - * - * - * @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]; - * - * - * @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]; - * - * - * @return A list containing the enum numeric values on the wire for usages. - */ - 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]; - * - * - * @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]; - * - * - * @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]; - * - * - * @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]; - * - */ - 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]; - * - * - * @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]; - * - * - * @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]; - * - */ - com.google.cloud.deploy.v1.PrivatePoolOrBuilder getPrivatePoolOrBuilder(); - - public com.google.cloud.deploy.v1.ExecutionConfig.ExecutionEnvironmentCase - getExecutionEnvironmentCase(); -} diff --git a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetConfigRequestOrBuilder.java b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetConfigRequestOrBuilder.java deleted file mode 100644 index 129aa7b..0000000 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetConfigRequestOrBuilder.java +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/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/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetDeliveryPipelineRequestOrBuilder.java b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetDeliveryPipelineRequestOrBuilder.java deleted file mode 100644 index 50fd634..0000000 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetDeliveryPipelineRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/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/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetReleaseRequestOrBuilder.java b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetReleaseRequestOrBuilder.java deleted file mode 100644 index e6b7913..0000000 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetReleaseRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/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/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetRolloutRequestOrBuilder.java b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetRolloutRequestOrBuilder.java deleted file mode 100644 index 12d4479..0000000 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetRolloutRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/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/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetTargetRequestOrBuilder.java b/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetTargetRequestOrBuilder.java deleted file mode 100644 index f18ae72..0000000 --- a/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GetTargetRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/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(); -} From 99f6c060d924e768816e6998146f83dbc619b162 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 3 Dec 2021 18:00:20 +0100 Subject: [PATCH 15/16] deps: update dependency com.google.cloud:google-cloud-shared-dependencies to v2.5.1 (#37) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-shared-dependencies](https://togithub.com/googleapis/java-shared-dependencies) | `2.5.0` -> `2.5.1` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/2.5.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/2.5.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/2.5.1/compatibility-slim/2.5.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/2.5.1/confidence-slim/2.5.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
googleapis/java-shared-dependencies ### [`v2.5.1`](https://togithub.com/googleapis/java-shared-dependencies/blob/master/CHANGELOG.md#​251-httpswwwgithubcomgoogleapisjava-shared-dependenciescompare250v251-2021-12-03) [Compare Source](https://togithub.com/googleapis/java-shared-dependencies/compare/v2.5.0...v2.5.1)
--- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-deploy). --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 419c7a0..d7ce3f9 100644 --- a/pom.xml +++ b/pom.xml @@ -85,7 +85,7 @@ com.google.cloud google-cloud-shared-dependencies - 2.5.0 + 2.5.1 pom import From f880f0feefbed80e74b0388589db163871dab296 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Mon, 6 Dec 2021 11:56:02 -0800 Subject: [PATCH 16/16] chore: release 0.1.2 (#24) Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> --- CHANGELOG.md | 18 ++++++++++++++++++ google-cloud-deploy-bom/pom.xml | 8 ++++---- google-cloud-deploy/pom.xml | 4 ++-- grpc-google-cloud-deploy-v1/pom.xml | 4 ++-- pom.xml | 8 ++++---- proto-google-cloud-deploy-v1/pom.xml | 4 ++-- versions.txt | 6 +++--- 7 files changed, 35 insertions(+), 17 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c87b9cd..2646ec5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,23 @@ # Changelog +### [0.1.2](https://www.github.com/googleapis/java-deploy/compare/v0.1.1...v0.1.2) (2021-12-03) + + +### Bug Fixes + +* **java:** java 17 dependency arguments ([#1266](https://www.github.com/googleapis/java-deploy/issues/1266)) ([#26](https://www.github.com/googleapis/java-deploy/issues/26)) ([449aa0f](https://www.github.com/googleapis/java-deploy/commit/449aa0f497308d7eed094232d03322e604f39047)) + + +### Documentation + +* fix docstring formatting ([#19](https://www.github.com/googleapis/java-deploy/issues/19)) ([8eb8738](https://www.github.com/googleapis/java-deploy/commit/8eb87381f2147ce14f7cb07ee913f21b9612cd0f)) + + +### Dependencies + +* update dependency com.google.cloud:google-cloud-shared-dependencies to v2.5.0 ([#34](https://www.github.com/googleapis/java-deploy/issues/34)) ([d11213b](https://www.github.com/googleapis/java-deploy/commit/d11213b3b1b3e7fcd6280195382f6ca58829f49d)) +* update dependency com.google.cloud:google-cloud-shared-dependencies to v2.5.1 ([#37](https://www.github.com/googleapis/java-deploy/issues/37)) ([99f6c06](https://www.github.com/googleapis/java-deploy/commit/99f6c060d924e768816e6998146f83dbc619b162)) + ### [0.1.1](https://www.github.com/googleapis/java-deploy/compare/v0.1.0...v0.1.1) (2021-10-19) diff --git a/google-cloud-deploy-bom/pom.xml b/google-cloud-deploy-bom/pom.xml index ed43323..aa1abf3 100644 --- a/google-cloud-deploy-bom/pom.xml +++ b/google-cloud-deploy-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-deploy-bom - 0.1.2-SNAPSHOT + 0.1.2 pom com.google.cloud @@ -65,17 +65,17 @@ com.google.cloud google-cloud-deploy - 0.1.2-SNAPSHOT + 0.1.2 com.google.api.grpc grpc-google-cloud-deploy-v1 - 0.1.2-SNAPSHOT + 0.1.2 com.google.api.grpc proto-google-cloud-deploy-v1 - 0.1.2-SNAPSHOT + 0.1.2 diff --git a/google-cloud-deploy/pom.xml b/google-cloud-deploy/pom.xml index 6e7088c..ede9645 100644 --- a/google-cloud-deploy/pom.xml +++ b/google-cloud-deploy/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-deploy - 0.1.2-SNAPSHOT + 0.1.2 jar Google Google CLoud Deploy https://github.com/googleapis/java-deploy @@ -11,7 +11,7 @@ com.google.cloud google-cloud-deploy-parent - 0.1.2-SNAPSHOT + 0.1.2 google-cloud-deploy diff --git a/grpc-google-cloud-deploy-v1/pom.xml b/grpc-google-cloud-deploy-v1/pom.xml index 9c021db..9613b92 100644 --- a/grpc-google-cloud-deploy-v1/pom.xml +++ b/grpc-google-cloud-deploy-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-deploy-v1 - 0.1.2-SNAPSHOT + 0.1.2 grpc-google-cloud-deploy-v1 GRPC library for google-cloud-deploy com.google.cloud google-cloud-deploy-parent - 0.1.2-SNAPSHOT + 0.1.2 diff --git a/pom.xml b/pom.xml index d7ce3f9..01050ad 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-deploy-parent pom - 0.1.2-SNAPSHOT + 0.1.2 Google Google CLoud Deploy Parent https://github.com/googleapis/java-deploy @@ -69,17 +69,17 @@ com.google.cloud google-cloud-deploy - 0.1.2-SNAPSHOT + 0.1.2 com.google.api.grpc grpc-google-cloud-deploy-v1 - 0.1.2-SNAPSHOT + 0.1.2 com.google.api.grpc proto-google-cloud-deploy-v1 - 0.1.2-SNAPSHOT + 0.1.2 diff --git a/proto-google-cloud-deploy-v1/pom.xml b/proto-google-cloud-deploy-v1/pom.xml index e344d88..4d4c6ee 100644 --- a/proto-google-cloud-deploy-v1/pom.xml +++ b/proto-google-cloud-deploy-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-deploy-v1 - 0.1.2-SNAPSHOT + 0.1.2 proto-google-cloud-deploy-v1 Proto library for google-cloud-deploy com.google.cloud google-cloud-deploy-parent - 0.1.2-SNAPSHOT + 0.1.2 diff --git a/versions.txt b/versions.txt index a348175..b85799f 100644 --- a/versions.txt +++ b/versions.txt @@ -1,6 +1,6 @@ # Format: # module:released-version:current-version -google-cloud-deploy:0.1.1:0.1.2-SNAPSHOT -grpc-google-cloud-deploy-v1:0.1.1:0.1.2-SNAPSHOT -proto-google-cloud-deploy-v1:0.1.1:0.1.2-SNAPSHOT +google-cloud-deploy:0.1.2:0.1.2 +grpc-google-cloud-deploy-v1:0.1.2:0.1.2 +proto-google-cloud-deploy-v1:0.1.2:0.1.2