diff --git a/.github/workflows/hermetic_library_generation.yaml b/.github/workflows/hermetic_library_generation.yaml index 545f190487a3..f7804e9d0263 100644 --- a/.github/workflows/hermetic_library_generation.yaml +++ b/.github/workflows/hermetic_library_generation.yaml @@ -37,7 +37,7 @@ jobs: with: fetch-depth: 0 token: ${{ secrets.CLOUD_JAVA_BOT_TOKEN }} - - uses: googleapis/sdk-platform-java/.github/scripts@v2.53.0 + - uses: googleapis/sdk-platform-java/.github/scripts@v2.52.0 if: env.SHOULD_RUN == 'true' with: base_ref: ${{ github.base_ref }} diff --git a/generation_config.yaml b/generation_config.yaml index 327f3b2f66b5..2a237bba5603 100644 --- a/generation_config.yaml +++ b/generation_config.yaml @@ -1,5 +1,5 @@ gapic_generator_version: 2.52.0 -googleapis_commitish: 0a459af4362c0e41b9723dd4d7edc022c552db40 +googleapis_commitish: 04132de0b952ee921d91a2583915dbd82d10cd3c libraries_bom_version: 26.54.0 # the libraries are ordered with respect to library name, which is diff --git a/java-aiplatform/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1beta1/PredictionServiceClientTest.java b/java-aiplatform/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1beta1/PredictionServiceClientTest.java index 2bc6503daf21..e3a5e1b661c1 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1beta1/PredictionServiceClientTest.java +++ b/java-aiplatform/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1beta1/PredictionServiceClientTest.java @@ -48,6 +48,7 @@ import com.google.protobuf.Any; import com.google.protobuf.ByteString; import com.google.protobuf.FieldMask; +import com.google.protobuf.Timestamp; import com.google.protobuf.Value; import io.grpc.StatusRuntimeException; import java.io.IOException; @@ -970,6 +971,8 @@ public void generateContentTest() throws Exception { GenerateContentResponse.newBuilder() .addAllCandidates(new ArrayList()) .setModelVersion("modelVersion212437359") + .setCreateTime(Timestamp.newBuilder().build()) + .setResponseId("responseId-633138884") .setPromptFeedback(GenerateContentResponse.PromptFeedback.newBuilder().build()) .setUsageMetadata(GenerateContentResponse.UsageMetadata.newBuilder().build()) .build(); @@ -1014,6 +1017,8 @@ public void streamGenerateContentTest() throws Exception { GenerateContentResponse.newBuilder() .addAllCandidates(new ArrayList()) .setModelVersion("modelVersion212437359") + .setCreateTime(Timestamp.newBuilder().build()) + .setResponseId("responseId-633138884") .setPromptFeedback(GenerateContentResponse.PromptFeedback.newBuilder().build()) .setUsageMetadata(GenerateContentResponse.UsageMetadata.newBuilder().build()) .build(); diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/GenerateContentResponse.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/GenerateContentResponse.java index 7cd76b3b9656..e4694ec6dd8e 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/GenerateContentResponse.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/GenerateContentResponse.java @@ -41,6 +41,7 @@ private GenerateContentResponse(com.google.protobuf.GeneratedMessageV3.Builder + * Output only. Timestamp when the request is made to the server. + * + * + * .google.protobuf.Timestamp create_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the createTime field is set. + */ + @java.lang.Override + public boolean hasCreateTime() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+   * Output only. Timestamp when the request is made to the server.
+   * 
+ * + * .google.protobuf.Timestamp create_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The createTime. + */ + @java.lang.Override + public com.google.protobuf.Timestamp getCreateTime() { + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + } + /** + * + * + *
+   * Output only. Timestamp when the request is made to the server.
+   * 
+ * + * .google.protobuf.Timestamp create_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + } + + public static final int RESPONSE_ID_FIELD_NUMBER = 13; + + @SuppressWarnings("serial") + private volatile java.lang.Object responseId_ = ""; + /** + * + * + *
+   * Output only. response_id is used to identify each response. It is the
+   * encoding of the event_id.
+   * 
+ * + * string response_id = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The responseId. + */ + @java.lang.Override + public java.lang.String getResponseId() { + java.lang.Object ref = responseId_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + responseId_ = s; + return s; + } + } + /** + * + * + *
+   * Output only. response_id is used to identify each response. It is the
+   * encoding of the event_id.
+   * 
+ * + * string response_id = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for responseId. + */ + @java.lang.Override + public com.google.protobuf.ByteString getResponseIdBytes() { + java.lang.Object ref = responseId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + responseId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + public static final int PROMPT_FEEDBACK_FIELD_NUMBER = 3; private com.google.cloud.aiplatform.v1beta1.GenerateContentResponse.PromptFeedback promptFeedback_; @@ -4734,7 +4837,7 @@ public com.google.protobuf.ByteString getModelVersionBytes() { */ @java.lang.Override public boolean hasPromptFeedback() { - return ((bitField0_ & 0x00000001) != 0); + return ((bitField0_ & 0x00000002) != 0); } /** * @@ -4798,7 +4901,7 @@ public boolean hasPromptFeedback() { */ @java.lang.Override public boolean hasUsageMetadata() { - return ((bitField0_ & 0x00000002) != 0); + return ((bitField0_ & 0x00000004) != 0); } /** * @@ -4858,15 +4961,21 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < candidates_.size(); i++) { output.writeMessage(2, candidates_.get(i)); } - if (((bitField0_ & 0x00000001) != 0)) { + if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(3, getPromptFeedback()); } - if (((bitField0_ & 0x00000002) != 0)) { + if (((bitField0_ & 0x00000004) != 0)) { output.writeMessage(4, getUsageMetadata()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(modelVersion_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 11, modelVersion_); } + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(12, getCreateTime()); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(responseId_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 13, responseId_); + } getUnknownFields().writeTo(output); } @@ -4879,15 +4988,21 @@ public int getSerializedSize() { for (int i = 0; i < candidates_.size(); i++) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, candidates_.get(i)); } - if (((bitField0_ & 0x00000001) != 0)) { + if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getPromptFeedback()); } - if (((bitField0_ & 0x00000002) != 0)) { + if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getUsageMetadata()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(modelVersion_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, modelVersion_); } + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, getCreateTime()); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(responseId_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, responseId_); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -4906,6 +5021,11 @@ public boolean equals(final java.lang.Object obj) { if (!getCandidatesList().equals(other.getCandidatesList())) return false; if (!getModelVersion().equals(other.getModelVersion())) return false; + if (hasCreateTime() != other.hasCreateTime()) return false; + if (hasCreateTime()) { + if (!getCreateTime().equals(other.getCreateTime())) return false; + } + if (!getResponseId().equals(other.getResponseId())) return false; if (hasPromptFeedback() != other.hasPromptFeedback()) return false; if (hasPromptFeedback()) { if (!getPromptFeedback().equals(other.getPromptFeedback())) return false; @@ -4931,6 +5051,12 @@ public int hashCode() { } hash = (37 * hash) + MODEL_VERSION_FIELD_NUMBER; hash = (53 * hash) + getModelVersion().hashCode(); + if (hasCreateTime()) { + hash = (37 * hash) + CREATE_TIME_FIELD_NUMBER; + hash = (53 * hash) + getCreateTime().hashCode(); + } + hash = (37 * hash) + RESPONSE_ID_FIELD_NUMBER; + hash = (53 * hash) + getResponseId().hashCode(); if (hasPromptFeedback()) { hash = (37 * hash) + PROMPT_FEEDBACK_FIELD_NUMBER; hash = (53 * hash) + getPromptFeedback().hashCode(); @@ -5081,6 +5207,7 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getCandidatesFieldBuilder(); + getCreateTimeFieldBuilder(); getPromptFeedbackFieldBuilder(); getUsageMetadataFieldBuilder(); } @@ -5098,6 +5225,12 @@ public Builder clear() { } bitField0_ = (bitField0_ & ~0x00000001); modelVersion_ = ""; + createTime_ = null; + if (createTimeBuilder_ != null) { + createTimeBuilder_.dispose(); + createTimeBuilder_ = null; + } + responseId_ = ""; promptFeedback_ = null; if (promptFeedbackBuilder_ != null) { promptFeedbackBuilder_.dispose(); @@ -5163,14 +5296,21 @@ private void buildPartial0(com.google.cloud.aiplatform.v1beta1.GenerateContentRe } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000004) != 0)) { - result.promptFeedback_ = - promptFeedbackBuilder_ == null ? promptFeedback_ : promptFeedbackBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000008) != 0)) { + result.responseId_ = responseId_; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.promptFeedback_ = + promptFeedbackBuilder_ == null ? promptFeedback_ : promptFeedbackBuilder_.build(); + to_bitField0_ |= 0x00000002; + } + if (((from_bitField0_ & 0x00000020) != 0)) { result.usageMetadata_ = usageMetadataBuilder_ == null ? usageMetadata_ : usageMetadataBuilder_.build(); - to_bitField0_ |= 0x00000002; + to_bitField0_ |= 0x00000004; } result.bitField0_ |= to_bitField0_; } @@ -5253,6 +5393,14 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1beta1.GenerateContentResp bitField0_ |= 0x00000002; onChanged(); } + if (other.hasCreateTime()) { + mergeCreateTime(other.getCreateTime()); + } + if (!other.getResponseId().isEmpty()) { + responseId_ = other.responseId_; + bitField0_ |= 0x00000008; + onChanged(); + } if (other.hasPromptFeedback()) { mergePromptFeedback(other.getPromptFeedback()); } @@ -5301,13 +5449,13 @@ public Builder mergeFrom( case 26: { input.readMessage(getPromptFeedbackFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000010; break; } // case 26 case 34: { input.readMessage(getUsageMetadataFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000020; break; } // case 34 case 90: @@ -5316,6 +5464,18 @@ public Builder mergeFrom( bitField0_ |= 0x00000002; break; } // case 90 + case 98: + { + input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 98 + case 106: + { + responseId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 106 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -5829,6 +5989,320 @@ public Builder setModelVersionBytes(com.google.protobuf.ByteString value) { 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_; + /** + * + * + *
+     * Output only. Timestamp when the request is made to the server.
+     * 
+ * + * + * .google.protobuf.Timestamp create_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the createTime field is set. + */ + public boolean hasCreateTime() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * + * + *
+     * Output only. Timestamp when the request is made to the server.
+     * 
+ * + * + * .google.protobuf.Timestamp create_time = 12 [(.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_; + } else { + return createTimeBuilder_.getMessage(); + } + } + /** + * + * + *
+     * Output only. Timestamp when the request is made to the server.
+     * 
+ * + * + * .google.protobuf.Timestamp create_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setCreateTime(com.google.protobuf.Timestamp value) { + if (createTimeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + createTime_ = value; + } else { + createTimeBuilder_.setMessage(value); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. Timestamp when the request is made to the server.
+     * 
+ * + * + * .google.protobuf.Timestamp create_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + if (createTimeBuilder_ == null) { + createTime_ = builderForValue.build(); + } else { + createTimeBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. Timestamp when the request is made to the server.
+     * 
+ * + * + * .google.protobuf.Timestamp create_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { + if (createTimeBuilder_ == null) { + if (((bitField0_ & 0x00000004) != 0) + && createTime_ != null + && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + getCreateTimeBuilder().mergeFrom(value); + } else { + createTime_ = value; + } + } else { + createTimeBuilder_.mergeFrom(value); + } + if (createTime_ != null) { + bitField0_ |= 0x00000004; + onChanged(); + } + return this; + } + /** + * + * + *
+     * Output only. Timestamp when the request is made to the server.
+     * 
+ * + * + * .google.protobuf.Timestamp create_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder clearCreateTime() { + bitField0_ = (bitField0_ & ~0x00000004); + createTime_ = null; + if (createTimeBuilder_ != null) { + createTimeBuilder_.dispose(); + createTimeBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. Timestamp when the request is made to the server.
+     * 
+ * + * + * .google.protobuf.Timestamp create_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { + bitField0_ |= 0x00000004; + onChanged(); + return getCreateTimeFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Output only. Timestamp when the request is made to the server.
+     * 
+ * + * + * .google.protobuf.Timestamp create_time = 12 [(.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_; + } + } + /** + * + * + *
+     * Output only. Timestamp when the request is made to the server.
+     * 
+ * + * + * .google.protobuf.Timestamp create_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + 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()); + createTime_ = null; + } + return createTimeBuilder_; + } + + private java.lang.Object responseId_ = ""; + /** + * + * + *
+     * Output only. response_id is used to identify each response. It is the
+     * encoding of the event_id.
+     * 
+ * + * string response_id = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The responseId. + */ + public java.lang.String getResponseId() { + java.lang.Object ref = responseId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + responseId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Output only. response_id is used to identify each response. It is the
+     * encoding of the event_id.
+     * 
+ * + * string response_id = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for responseId. + */ + public com.google.protobuf.ByteString getResponseIdBytes() { + java.lang.Object ref = responseId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + responseId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Output only. response_id is used to identify each response. It is the
+     * encoding of the event_id.
+     * 
+ * + * string response_id = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The responseId to set. + * @return This builder for chaining. + */ + public Builder setResponseId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + responseId_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. response_id is used to identify each response. It is the
+     * encoding of the event_id.
+     * 
+ * + * string response_id = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. + */ + public Builder clearResponseId() { + responseId_ = getDefaultInstance().getResponseId(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. response_id is used to identify each response. It is the
+     * encoding of the event_id.
+     * 
+ * + * string response_id = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The bytes for responseId to set. + * @return This builder for chaining. + */ + public Builder setResponseIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + responseId_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + private com.google.cloud.aiplatform.v1beta1.GenerateContentResponse.PromptFeedback promptFeedback_; private com.google.protobuf.SingleFieldBuilderV3< @@ -5852,7 +6326,7 @@ public Builder setModelVersionBytes(com.google.protobuf.ByteString value) { * @return Whether the promptFeedback field is set. */ public boolean hasPromptFeedback() { - return ((bitField0_ & 0x00000004) != 0); + return ((bitField0_ & 0x00000010) != 0); } /** * @@ -5903,7 +6377,7 @@ public Builder setPromptFeedback( } else { promptFeedbackBuilder_.setMessage(value); } - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000010; onChanged(); return this; } @@ -5928,7 +6402,7 @@ public Builder setPromptFeedback( } else { promptFeedbackBuilder_.setMessage(builderForValue.build()); } - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000010; onChanged(); return this; } @@ -5948,7 +6422,7 @@ public Builder setPromptFeedback( public Builder mergePromptFeedback( com.google.cloud.aiplatform.v1beta1.GenerateContentResponse.PromptFeedback value) { if (promptFeedbackBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) + if (((bitField0_ & 0x00000010) != 0) && promptFeedback_ != null && promptFeedback_ != com.google.cloud.aiplatform.v1beta1.GenerateContentResponse.PromptFeedback @@ -5961,7 +6435,7 @@ public Builder mergePromptFeedback( promptFeedbackBuilder_.mergeFrom(value); } if (promptFeedback_ != null) { - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000010; onChanged(); } return this; @@ -5980,7 +6454,7 @@ public Builder mergePromptFeedback( * */ public Builder clearPromptFeedback() { - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000010); promptFeedback_ = null; if (promptFeedbackBuilder_ != null) { promptFeedbackBuilder_.dispose(); @@ -6004,7 +6478,7 @@ public Builder clearPromptFeedback() { */ public com.google.cloud.aiplatform.v1beta1.GenerateContentResponse.PromptFeedback.Builder getPromptFeedbackBuilder() { - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000010; onChanged(); return getPromptFeedbackFieldBuilder().getBuilder(); } @@ -6084,7 +6558,7 @@ public Builder clearPromptFeedback() { * @return Whether the usageMetadata field is set. */ public boolean hasUsageMetadata() { - return ((bitField0_ & 0x00000008) != 0); + return ((bitField0_ & 0x00000020) != 0); } /** * @@ -6131,7 +6605,7 @@ public Builder setUsageMetadata( } else { usageMetadataBuilder_.setMessage(value); } - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000020; onChanged(); return this; } @@ -6154,7 +6628,7 @@ public Builder setUsageMetadata( } else { usageMetadataBuilder_.setMessage(builderForValue.build()); } - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000020; onChanged(); return this; } @@ -6172,7 +6646,7 @@ public Builder setUsageMetadata( public Builder mergeUsageMetadata( com.google.cloud.aiplatform.v1beta1.GenerateContentResponse.UsageMetadata value) { if (usageMetadataBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) + if (((bitField0_ & 0x00000020) != 0) && usageMetadata_ != null && usageMetadata_ != com.google.cloud.aiplatform.v1beta1.GenerateContentResponse.UsageMetadata @@ -6185,7 +6659,7 @@ public Builder mergeUsageMetadata( usageMetadataBuilder_.mergeFrom(value); } if (usageMetadata_ != null) { - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000020; onChanged(); } return this; @@ -6202,7 +6676,7 @@ public Builder mergeUsageMetadata( * */ public Builder clearUsageMetadata() { - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000020); usageMetadata_ = null; if (usageMetadataBuilder_ != null) { usageMetadataBuilder_.dispose(); @@ -6224,7 +6698,7 @@ public Builder clearUsageMetadata() { */ public com.google.cloud.aiplatform.v1beta1.GenerateContentResponse.UsageMetadata.Builder getUsageMetadataBuilder() { - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000020; onChanged(); return getUsageMetadataFieldBuilder().getBuilder(); } diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/GenerateContentResponseOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/GenerateContentResponseOrBuilder.java index a532d7ab24a1..7dff8a098a2e 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/GenerateContentResponseOrBuilder.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/GenerateContentResponseOrBuilder.java @@ -111,6 +111,71 @@ public interface GenerateContentResponseOrBuilder */ com.google.protobuf.ByteString getModelVersionBytes(); + /** + * + * + *
+   * Output only. Timestamp when the request is made to the server.
+   * 
+ * + * .google.protobuf.Timestamp create_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the createTime field is set. + */ + boolean hasCreateTime(); + /** + * + * + *
+   * Output only. Timestamp when the request is made to the server.
+   * 
+ * + * .google.protobuf.Timestamp create_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The createTime. + */ + com.google.protobuf.Timestamp getCreateTime(); + /** + * + * + *
+   * Output only. Timestamp when the request is made to the server.
+   * 
+ * + * .google.protobuf.Timestamp create_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); + + /** + * + * + *
+   * Output only. response_id is used to identify each response. It is the
+   * encoding of the event_id.
+   * 
+ * + * string response_id = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The responseId. + */ + java.lang.String getResponseId(); + /** + * + * + *
+   * Output only. response_id is used to identify each response. It is the
+   * encoding of the event_id.
+   * 
+ * + * string response_id = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for responseId. + */ + com.google.protobuf.ByteString getResponseIdBytes(); + /** * * diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/PredictionServiceProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/PredictionServiceProto.java index fa677e3c8df6..3ba819243599 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/PredictionServiceProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/PredictionServiceProto.java @@ -176,274 +176,277 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ation.proto\032*google/cloud/aiplatform/v1b" + "eta1/tool.proto\032+google/cloud/aiplatform" + "/v1beta1/types.proto\032\034google/protobuf/st" - + "ruct.proto\"\252\001\n\016PredictRequest\022<\n\010endpoin" - + "t\030\001 \001(\tB*\340A\002\372A$\n\"aiplatform.googleapis.c" - + "om/Endpoint\022.\n\tinstances\030\002 \003(\0132\026.google." - + "protobuf.ValueB\003\340A\002\022*\n\nparameters\030\003 \001(\0132" - + "\026.google.protobuf.Value\"\200\002\n\017PredictRespo" - + "nse\022+\n\013predictions\030\001 \003(\0132\026.google.protob" - + "uf.Value\022\031\n\021deployed_model_id\030\002 \001(\t\0226\n\005m" - + "odel\030\003 \001(\tB\'\340A\003\372A!\n\037aiplatform.googleapi" - + "s.com/Model\022\035\n\020model_version_id\030\005 \001(\tB\003\340" - + "A\003\022\037\n\022model_display_name\030\004 \001(\tB\003\340A\003\022-\n\010m" - + "etadata\030\006 \001(\0132\026.google.protobuf.ValueB\003\340" - + "A\003\"z\n\021RawPredictRequest\022<\n\010endpoint\030\001 \001(" - + "\tB*\340A\002\372A$\n\"aiplatform.googleapis.com/End" - + "point\022\'\n\thttp_body\030\002 \001(\0132\024.google.api.Ht" - + "tpBody\"\200\001\n\027StreamRawPredictRequest\022<\n\010en" - + "dpoint\030\001 \001(\tB*\340A\002\372A$\n\"aiplatform.googlea" - + "pis.com/Endpoint\022\'\n\thttp_body\030\002 \001(\0132\024.go" - + "ogle.api.HttpBody\"\312\001\n\024DirectPredictReque" - + "st\022<\n\010endpoint\030\001 \001(\tB*\340A\002\372A$\n\"aiplatform" - + ".googleapis.com/Endpoint\0227\n\006inputs\030\002 \003(\013" - + "2\'.google.cloud.aiplatform.v1beta1.Tenso" - + "r\022;\n\nparameters\030\003 \001(\0132\'.google.cloud.aip" - + "latform.v1beta1.Tensor\"\216\001\n\025DirectPredict" - + "Response\0228\n\007outputs\030\001 \003(\0132\'.google.cloud" - + ".aiplatform.v1beta1.Tensor\022;\n\nparameters" - + "\030\002 \001(\0132\'.google.cloud.aiplatform.v1beta1" - + ".Tensor\"{\n\027DirectRawPredictRequest\022<\n\010en" - + "dpoint\030\001 \001(\tB*\340A\002\372A$\n\"aiplatform.googlea" - + "pis.com/Endpoint\022\023\n\013method_name\030\002 \001(\t\022\r\n" - + "\005input\030\003 \001(\014\"*\n\030DirectRawPredictResponse" - + "\022\016\n\006output\030\001 \001(\014\"\332\001\n\032StreamDirectPredict" - + "Request\022<\n\010endpoint\030\001 \001(\tB*\340A\002\372A$\n\"aipla" - + "tform.googleapis.com/Endpoint\022<\n\006inputs\030" - + "\002 \003(\0132\'.google.cloud.aiplatform.v1beta1." - + "TensorB\003\340A\001\022@\n\nparameters\030\003 \001(\0132\'.google" - + ".cloud.aiplatform.v1beta1.TensorB\003\340A\001\"\224\001" - + "\n\033StreamDirectPredictResponse\0228\n\007outputs" - + "\030\001 \003(\0132\'.google.cloud.aiplatform.v1beta1" - + ".Tensor\022;\n\nparameters\030\002 \001(\0132\'.google.clo" - + "ud.aiplatform.v1beta1.Tensor\"\213\001\n\035StreamD" - + "irectRawPredictRequest\022<\n\010endpoint\030\001 \001(\t" + + "ruct.proto\032\037google/protobuf/timestamp.pr" + + "oto\"\252\001\n\016PredictRequest\022<\n\010endpoint\030\001 \001(\t" + "B*\340A\002\372A$\n\"aiplatform.googleapis.com/Endp" - + "oint\022\030\n\013method_name\030\002 \001(\tB\003\340A\001\022\022\n\005input\030" - + "\003 \001(\014B\003\340A\001\"0\n\036StreamDirectRawPredictResp" - + "onse\022\016\n\006output\030\001 \001(\014\"\315\001\n\027StreamingPredic" - + "tRequest\022<\n\010endpoint\030\001 \001(\tB*\340A\002\372A$\n\"aipl" - + "atform.googleapis.com/Endpoint\0227\n\006inputs" - + "\030\002 \003(\0132\'.google.cloud.aiplatform.v1beta1" - + ".Tensor\022;\n\nparameters\030\003 \001(\0132\'.google.clo" - + "ud.aiplatform.v1beta1.Tensor\"\221\001\n\030Streami" - + "ngPredictResponse\0228\n\007outputs\030\001 \003(\0132\'.goo" - + "gle.cloud.aiplatform.v1beta1.Tensor\022;\n\np" - + "arameters\030\002 \001(\0132\'.google.cloud.aiplatfor" - + "m.v1beta1.Tensor\"~\n\032StreamingRawPredictR" - + "equest\022<\n\010endpoint\030\001 \001(\tB*\340A\002\372A$\n\"aiplat" - + "form.googleapis.com/Endpoint\022\023\n\013method_n" - + "ame\030\002 \001(\t\022\r\n\005input\030\003 \001(\014\"-\n\033StreamingRaw" - + "PredictResponse\022\016\n\006output\030\001 \001(\014\"\263\004\n\016Expl" - + "ainRequest\022<\n\010endpoint\030\001 \001(\tB*\340A\002\372A$\n\"ai" - + "platform.googleapis.com/Endpoint\022.\n\tinst" - + "ances\030\002 \003(\0132\026.google.protobuf.ValueB\003\340A\002" - + "\022*\n\nparameters\030\004 \001(\0132\026.google.protobuf.V" - + "alue\022[\n\031explanation_spec_override\030\005 \001(\0132" - + "8.google.cloud.aiplatform.v1beta1.Explan" - + "ationSpecOverride\022\211\001\n$concurrent_explana" - + "tion_spec_override\030\006 \003(\0132V.google.cloud." - + "aiplatform.v1beta1.ExplainRequest.Concur" - + "rentExplanationSpecOverrideEntryB\003\340A\001\022\031\n" - + "\021deployed_model_id\030\003 \001(\t\032\202\001\n&ConcurrentE" - + "xplanationSpecOverrideEntry\022\013\n\003key\030\001 \001(\t" - + "\022G\n\005value\030\002 \001(\01328.google.cloud.aiplatfor" - + "m.v1beta1.ExplanationSpecOverride:\0028\001\"\361\003" - + "\n\017ExplainResponse\022B\n\014explanations\030\001 \003(\0132" - + ",.google.cloud.aiplatform.v1beta1.Explan" - + "ation\022m\n\027concurrent_explanations\030\004 \003(\0132L" - + ".google.cloud.aiplatform.v1beta1.Explain" - + "Response.ConcurrentExplanationsEntry\022\031\n\021" - + "deployed_model_id\030\002 \001(\t\022+\n\013predictions\030\003" - + " \003(\0132\026.google.protobuf.Value\032[\n\025Concurre" - + "ntExplanation\022B\n\014explanations\030\001 \003(\0132,.go" - + "ogle.cloud.aiplatform.v1beta1.Explanatio" - + "n\032\205\001\n\033ConcurrentExplanationsEntry\022\013\n\003key" - + "\030\001 \001(\t\022U\n\005value\030\002 \001(\0132F.google.cloud.aip" - + "latform.v1beta1.ExplainResponse.Concurre" - + "ntExplanation:\0028\001\"\347\003\n\022CountTokensRequest" + + "oint\022.\n\tinstances\030\002 \003(\0132\026.google.protobu" + + "f.ValueB\003\340A\002\022*\n\nparameters\030\003 \001(\0132\026.googl" + + "e.protobuf.Value\"\200\002\n\017PredictResponse\022+\n\013" + + "predictions\030\001 \003(\0132\026.google.protobuf.Valu" + + "e\022\031\n\021deployed_model_id\030\002 \001(\t\0226\n\005model\030\003 " + + "\001(\tB\'\340A\003\372A!\n\037aiplatform.googleapis.com/M" + + "odel\022\035\n\020model_version_id\030\005 \001(\tB\003\340A\003\022\037\n\022m" + + "odel_display_name\030\004 \001(\tB\003\340A\003\022-\n\010metadata" + + "\030\006 \001(\0132\026.google.protobuf.ValueB\003\340A\003\"z\n\021R" + + "awPredictRequest\022<\n\010endpoint\030\001 \001(\tB*\340A\002\372" + + "A$\n\"aiplatform.googleapis.com/Endpoint\022\'" + + "\n\thttp_body\030\002 \001(\0132\024.google.api.HttpBody\"" + + "\200\001\n\027StreamRawPredictRequest\022<\n\010endpoint\030" + + "\001 \001(\tB*\340A\002\372A$\n\"aiplatform.googleapis.com" + + "/Endpoint\022\'\n\thttp_body\030\002 \001(\0132\024.google.ap" + + "i.HttpBody\"\312\001\n\024DirectPredictRequest\022<\n\010e" + + "ndpoint\030\001 \001(\tB*\340A\002\372A$\n\"aiplatform.google" + + "apis.com/Endpoint\0227\n\006inputs\030\002 \003(\0132\'.goog" + + "le.cloud.aiplatform.v1beta1.Tensor\022;\n\npa" + + "rameters\030\003 \001(\0132\'.google.cloud.aiplatform" + + ".v1beta1.Tensor\"\216\001\n\025DirectPredictRespons" + + "e\0228\n\007outputs\030\001 \003(\0132\'.google.cloud.aiplat" + + "form.v1beta1.Tensor\022;\n\nparameters\030\002 \001(\0132" + + "\'.google.cloud.aiplatform.v1beta1.Tensor" + + "\"{\n\027DirectRawPredictRequest\022<\n\010endpoint\030" + + "\001 \001(\tB*\340A\002\372A$\n\"aiplatform.googleapis.com" + + "/Endpoint\022\023\n\013method_name\030\002 \001(\t\022\r\n\005input\030" + + "\003 \001(\014\"*\n\030DirectRawPredictResponse\022\016\n\006out" + + "put\030\001 \001(\014\"\332\001\n\032StreamDirectPredictRequest" + "\022<\n\010endpoint\030\001 \001(\tB*\340A\002\372A$\n\"aiplatform.g" - + "oogleapis.com/Endpoint\022\022\n\005model\030\003 \001(\tB\003\340" - + "A\001\022.\n\tinstances\030\002 \003(\0132\026.google.protobuf." - + "ValueB\003\340A\001\022?\n\010contents\030\004 \003(\0132(.google.cl" - + "oud.aiplatform.v1beta1.ContentB\003\340A\001\022N\n\022s" - + "ystem_instruction\030\005 \001(\0132(.google.cloud.a" - + "iplatform.v1beta1.ContentB\003\340A\001H\000\210\001\001\0229\n\005t" - + "ools\030\006 \003(\0132%.google.cloud.aiplatform.v1b" - + "eta1.ToolB\003\340A\001\022V\n\021generation_config\030\007 \001(" - + "\01321.google.cloud.aiplatform.v1beta1.Gene" - + "rationConfigB\003\340A\001H\001\210\001\001B\025\n\023_system_instru" - + "ctionB\024\n\022_generation_config\"\247\001\n\023CountTok" - + "ensResponse\022\024\n\014total_tokens\030\001 \001(\005\022!\n\031tot" - + "al_billable_characters\030\002 \001(\005\022W\n\025prompt_t" - + "okens_details\030\003 \003(\01323.google.cloud.aipla" - + "tform.v1beta1.ModalityTokenCountB\003\340A\003\"\311\005" - + "\n\026GenerateContentRequest\022\022\n\005model\030\005 \001(\tB" - + "\003\340A\002\022?\n\010contents\030\002 \003(\0132(.google.cloud.ai" - + "platform.v1beta1.ContentB\003\340A\002\022N\n\022system_" - + "instruction\030\010 \001(\0132(.google.cloud.aiplatf" - + "orm.v1beta1.ContentB\003\340A\001H\000\210\001\001\022G\n\016cached_" - + "content\030\t \001(\tB/\340A\001\372A)\n\'aiplatform.google" - + "apis.com/CachedContent\0229\n\005tools\030\006 \003(\0132%." - + "google.cloud.aiplatform.v1beta1.ToolB\003\340A" - + "\001\022E\n\013tool_config\030\007 \001(\0132+.google.cloud.ai" - + "platform.v1beta1.ToolConfigB\003\340A\001\022X\n\006labe" - + "ls\030\n \003(\0132C.google.cloud.aiplatform.v1bet" - + "a1.GenerateContentRequest.LabelsEntryB\003\340" - + "A\001\022L\n\017safety_settings\030\003 \003(\0132..google.clo" - + "ud.aiplatform.v1beta1.SafetySettingB\003\340A\001" - + "\022Q\n\021generation_config\030\004 \001(\01321.google.clo" - + "ud.aiplatform.v1beta1.GenerationConfigB\003" - + "\340A\001\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value" - + "\030\002 \001(\t:\0028\001B\025\n\023_system_instruction\"\304\010\n\027Ge" - + "nerateContentResponse\022C\n\ncandidates\030\002 \003(" - + "\0132*.google.cloud.aiplatform.v1beta1.Cand" - + "idateB\003\340A\003\022\032\n\rmodel_version\030\013 \001(\tB\003\340A\003\022e" - + "\n\017prompt_feedback\030\003 \001(\0132G.google.cloud.a" - + "iplatform.v1beta1.GenerateContentRespons" - + "e.PromptFeedbackB\003\340A\003\022^\n\016usage_metadata\030" - + "\004 \001(\0132F.google.cloud.aiplatform.v1beta1." - + "GenerateContentResponse.UsageMetadata\032\340\002" - + "\n\016PromptFeedback\022p\n\014block_reason\030\001 \001(\0162U" + + "oogleapis.com/Endpoint\022<\n\006inputs\030\002 \003(\0132\'" + + ".google.cloud.aiplatform.v1beta1.TensorB" + + "\003\340A\001\022@\n\nparameters\030\003 \001(\0132\'.google.cloud." + + "aiplatform.v1beta1.TensorB\003\340A\001\"\224\001\n\033Strea" + + "mDirectPredictResponse\0228\n\007outputs\030\001 \003(\0132" + + "\'.google.cloud.aiplatform.v1beta1.Tensor" + + "\022;\n\nparameters\030\002 \001(\0132\'.google.cloud.aipl" + + "atform.v1beta1.Tensor\"\213\001\n\035StreamDirectRa" + + "wPredictRequest\022<\n\010endpoint\030\001 \001(\tB*\340A\002\372A" + + "$\n\"aiplatform.googleapis.com/Endpoint\022\030\n" + + "\013method_name\030\002 \001(\tB\003\340A\001\022\022\n\005input\030\003 \001(\014B\003" + + "\340A\001\"0\n\036StreamDirectRawPredictResponse\022\016\n" + + "\006output\030\001 \001(\014\"\315\001\n\027StreamingPredictReques" + + "t\022<\n\010endpoint\030\001 \001(\tB*\340A\002\372A$\n\"aiplatform." + + "googleapis.com/Endpoint\0227\n\006inputs\030\002 \003(\0132" + + "\'.google.cloud.aiplatform.v1beta1.Tensor" + + "\022;\n\nparameters\030\003 \001(\0132\'.google.cloud.aipl" + + "atform.v1beta1.Tensor\"\221\001\n\030StreamingPredi" + + "ctResponse\0228\n\007outputs\030\001 \003(\0132\'.google.clo" + + "ud.aiplatform.v1beta1.Tensor\022;\n\nparamete" + + "rs\030\002 \001(\0132\'.google.cloud.aiplatform.v1bet" + + "a1.Tensor\"~\n\032StreamingRawPredictRequest\022" + + "<\n\010endpoint\030\001 \001(\tB*\340A\002\372A$\n\"aiplatform.go" + + "ogleapis.com/Endpoint\022\023\n\013method_name\030\002 \001" + + "(\t\022\r\n\005input\030\003 \001(\014\"-\n\033StreamingRawPredict" + + "Response\022\016\n\006output\030\001 \001(\014\"\263\004\n\016ExplainRequ" + + "est\022<\n\010endpoint\030\001 \001(\tB*\340A\002\372A$\n\"aiplatfor" + + "m.googleapis.com/Endpoint\022.\n\tinstances\030\002" + + " \003(\0132\026.google.protobuf.ValueB\003\340A\002\022*\n\npar" + + "ameters\030\004 \001(\0132\026.google.protobuf.Value\022[\n" + + "\031explanation_spec_override\030\005 \001(\01328.googl" + + "e.cloud.aiplatform.v1beta1.ExplanationSp" + + "ecOverride\022\211\001\n$concurrent_explanation_sp" + + "ec_override\030\006 \003(\0132V.google.cloud.aiplatf" + + "orm.v1beta1.ExplainRequest.ConcurrentExp" + + "lanationSpecOverrideEntryB\003\340A\001\022\031\n\021deploy" + + "ed_model_id\030\003 \001(\t\032\202\001\n&ConcurrentExplanat" + + "ionSpecOverrideEntry\022\013\n\003key\030\001 \001(\t\022G\n\005val" + + "ue\030\002 \001(\01328.google.cloud.aiplatform.v1bet" + + "a1.ExplanationSpecOverride:\0028\001\"\361\003\n\017Expla" + + "inResponse\022B\n\014explanations\030\001 \003(\0132,.googl" + + "e.cloud.aiplatform.v1beta1.Explanation\022m" + + "\n\027concurrent_explanations\030\004 \003(\0132L.google" + + ".cloud.aiplatform.v1beta1.ExplainRespons" + + "e.ConcurrentExplanationsEntry\022\031\n\021deploye" + + "d_model_id\030\002 \001(\t\022+\n\013predictions\030\003 \003(\0132\026." + + "google.protobuf.Value\032[\n\025ConcurrentExpla" + + "nation\022B\n\014explanations\030\001 \003(\0132,.google.cl" + + "oud.aiplatform.v1beta1.Explanation\032\205\001\n\033C" + + "oncurrentExplanationsEntry\022\013\n\003key\030\001 \001(\t\022" + + "U\n\005value\030\002 \001(\0132F.google.cloud.aiplatform" + + ".v1beta1.ExplainResponse.ConcurrentExpla" + + "nation:\0028\001\"\347\003\n\022CountTokensRequest\022<\n\010end" + + "point\030\001 \001(\tB*\340A\002\372A$\n\"aiplatform.googleap" + + "is.com/Endpoint\022\022\n\005model\030\003 \001(\tB\003\340A\001\022.\n\ti" + + "nstances\030\002 \003(\0132\026.google.protobuf.ValueB\003" + + "\340A\001\022?\n\010contents\030\004 \003(\0132(.google.cloud.aip" + + "latform.v1beta1.ContentB\003\340A\001\022N\n\022system_i" + + "nstruction\030\005 \001(\0132(.google.cloud.aiplatfo" + + "rm.v1beta1.ContentB\003\340A\001H\000\210\001\001\0229\n\005tools\030\006 " + + "\003(\0132%.google.cloud.aiplatform.v1beta1.To" + + "olB\003\340A\001\022V\n\021generation_config\030\007 \001(\01321.goo" + + "gle.cloud.aiplatform.v1beta1.GenerationC" + + "onfigB\003\340A\001H\001\210\001\001B\025\n\023_system_instructionB\024" + + "\n\022_generation_config\"\247\001\n\023CountTokensResp" + + "onse\022\024\n\014total_tokens\030\001 \001(\005\022!\n\031total_bill" + + "able_characters\030\002 \001(\005\022W\n\025prompt_tokens_d" + + "etails\030\003 \003(\01323.google.cloud.aiplatform.v" + + "1beta1.ModalityTokenCountB\003\340A\003\"\311\005\n\026Gener" + + "ateContentRequest\022\022\n\005model\030\005 \001(\tB\003\340A\002\022?\n" + + "\010contents\030\002 \003(\0132(.google.cloud.aiplatfor" + + "m.v1beta1.ContentB\003\340A\002\022N\n\022system_instruc" + + "tion\030\010 \001(\0132(.google.cloud.aiplatform.v1b" + + "eta1.ContentB\003\340A\001H\000\210\001\001\022G\n\016cached_content" + + "\030\t \001(\tB/\340A\001\372A)\n\'aiplatform.googleapis.co" + + "m/CachedContent\0229\n\005tools\030\006 \003(\0132%.google." + + "cloud.aiplatform.v1beta1.ToolB\003\340A\001\022E\n\013to" + + "ol_config\030\007 \001(\0132+.google.cloud.aiplatfor" + + "m.v1beta1.ToolConfigB\003\340A\001\022X\n\006labels\030\n \003(" + + "\0132C.google.cloud.aiplatform.v1beta1.Gene" + + "rateContentRequest.LabelsEntryB\003\340A\001\022L\n\017s" + + "afety_settings\030\003 \003(\0132..google.cloud.aipl" + + "atform.v1beta1.SafetySettingB\003\340A\001\022Q\n\021gen" + + "eration_config\030\004 \001(\01321.google.cloud.aipl" + + "atform.v1beta1.GenerationConfigB\003\340A\001\032-\n\013" + + "LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:" + + "\0028\001B\025\n\023_system_instruction\"\224\t\n\027GenerateC" + + "ontentResponse\022C\n\ncandidates\030\002 \003(\0132*.goo" + + "gle.cloud.aiplatform.v1beta1.CandidateB\003" + + "\340A\003\022\032\n\rmodel_version\030\013 \001(\tB\003\340A\003\0224\n\013creat" + + "e_time\030\014 \001(\0132\032.google.protobuf.Timestamp" + + "B\003\340A\003\022\030\n\013response_id\030\r \001(\tB\003\340A\003\022e\n\017promp" + + "t_feedback\030\003 \001(\0132G.google.cloud.aiplatfo" + + "rm.v1beta1.GenerateContentResponse.Promp" + + "tFeedbackB\003\340A\003\022^\n\016usage_metadata\030\004 \001(\0132F" + ".google.cloud.aiplatform.v1beta1.Generat" - + "eContentResponse.PromptFeedback.BlockedR" - + "easonB\003\340A\003\022J\n\016safety_ratings\030\002 \003(\0132-.goo" - + "gle.cloud.aiplatform.v1beta1.SafetyRatin" - + "gB\003\340A\003\022!\n\024block_reason_message\030\003 \001(\tB\003\340A" - + "\003\"m\n\rBlockedReason\022\036\n\032BLOCKED_REASON_UNS" - + "PECIFIED\020\000\022\n\n\006SAFETY\020\001\022\t\n\005OTHER\020\002\022\r\n\tBLO" - + "CKLIST\020\003\022\026\n\022PROHIBITED_CONTENT\020\004\032\235\003\n\rUsa" - + "geMetadata\022\032\n\022prompt_token_count\030\001 \001(\005\022\036" - + "\n\026candidates_token_count\030\002 \001(\005\022\031\n\021total_" - + "token_count\030\003 \001(\005\022\'\n\032cached_content_toke" - + "n_count\030\005 \001(\005B\003\340A\003\022W\n\025prompt_tokens_deta" - + "ils\030\t \003(\01323.google.cloud.aiplatform.v1be" - + "ta1.ModalityTokenCountB\003\340A\003\022V\n\024cache_tok" - + "ens_details\030\n \003(\01323.google.cloud.aiplatf" - + "orm.v1beta1.ModalityTokenCountB\003\340A\003\022[\n\031c" - + "andidates_tokens_details\030\013 \003(\01323.google." - + "cloud.aiplatform.v1beta1.ModalityTokenCo" - + "untB\003\340A\003\"\204\001\n\026ChatCompletionsRequest\022<\n\010e" - + "ndpoint\030\001 \001(\tB*\340A\002\372A$\n\"aiplatform.google" - + "apis.com/Endpoint\022,\n\thttp_body\030\002 \001(\0132\024.g" - + "oogle.api.HttpBodyB\003\340A\001\"\203\001\n\032PredictLongR" - + "unningResponse\022Y\n\027generate_video_respons" - + "e\030\001 \001(\01326.google.cloud.aiplatform.v1beta" - + "1.GenerateVideoResponseH\000B\n\n\010response\"\034\n" - + "\032PredictLongRunningMetadata\"\232\001\n\025Generate" - + "VideoResponse\022\031\n\021generated_samples\030\001 \003(\t" - + "\022%\n\030rai_media_filtered_count\030\002 \001(\005H\000\210\001\001\022" - + "\"\n\032rai_media_filtered_reasons\030\003 \003(\tB\033\n\031_" - + "rai_media_filtered_count2\301 \n\021PredictionS" - + "ervice\022\250\002\n\007Predict\022/.google.cloud.aiplat" - + "form.v1beta1.PredictRequest\0320.google.clo" - + "ud.aiplatform.v1beta1.PredictResponse\"\271\001" - + "\332A\035endpoint,instances,parameters\202\323\344\223\002\222\001\"" - + ">/v1beta1/{endpoint=projects/*/locations" - + "/*/endpoints/*}:predict:\001*ZM\"H/v1beta1/{" - + "endpoint=projects/*/locations/*/publishe" - + "rs/*/models/*}:predict:\001*\022\215\002\n\nRawPredict" - + "\0222.google.cloud.aiplatform.v1beta1.RawPr" - + "edictRequest\032\024.google.api.HttpBody\"\264\001\332A\022" - + "endpoint,http_body\202\323\344\223\002\230\001\"A/v1beta1/{end" - + "point=projects/*/locations/*/endpoints/*" - + "}:rawPredict:\001*ZP\"K/v1beta1/{endpoint=pr" - + "ojects/*/locations/*/publishers/*/models" - + "/*}:rawPredict:\001*\022\247\002\n\020StreamRawPredict\0228" - + ".google.cloud.aiplatform.v1beta1.StreamR" - + "awPredictRequest\032\024.google.api.HttpBody\"\300" - + "\001\332A\022endpoint,http_body\202\323\344\223\002\244\001\"G/v1beta1/" - + "{endpoint=projects/*/locations/*/endpoin" - + "ts/*}:streamRawPredict:\001*ZV\"Q/v1beta1/{e" - + "ndpoint=projects/*/locations/*/publisher" - + "s/*/models/*}:streamRawPredict:\001*0\001\022\317\001\n\r" - + "DirectPredict\0225.google.cloud.aiplatform." - + "v1beta1.DirectPredictRequest\0326.google.cl" - + "oud.aiplatform.v1beta1.DirectPredictResp" - + "onse\"O\202\323\344\223\002I\"D/v1beta1/{endpoint=project" - + "s/*/locations/*/endpoints/*}:directPredi" - + "ct:\001*\022\333\001\n\020DirectRawPredict\0228.google.clou" - + "d.aiplatform.v1beta1.DirectRawPredictReq" - + "uest\0329.google.cloud.aiplatform.v1beta1.D" - + "irectRawPredictResponse\"R\202\323\344\223\002L\"G/v1beta" - + "1/{endpoint=projects/*/locations/*/endpo" - + "ints/*}:directRawPredict:\001*\022\226\001\n\023StreamDi" - + "rectPredict\022;.google.cloud.aiplatform.v1" - + "beta1.StreamDirectPredictRequest\032<.googl" - + "e.cloud.aiplatform.v1beta1.StreamDirectP" - + "redictResponse\"\000(\0010\001\022\237\001\n\026StreamDirectRaw" - + "Predict\022>.google.cloud.aiplatform.v1beta" - + "1.StreamDirectRawPredictRequest\032?.google" - + ".cloud.aiplatform.v1beta1.StreamDirectRa" - + "wPredictResponse\"\000(\0010\001\022\215\001\n\020StreamingPred" - + "ict\0228.google.cloud.aiplatform.v1beta1.St" - + "reamingPredictRequest\0329.google.cloud.aip" - + "latform.v1beta1.StreamingPredictResponse" - + "\"\000(\0010\001\022\311\002\n\026ServerStreamingPredict\0228.goog" - + "le.cloud.aiplatform.v1beta1.StreamingPre" - + "dictRequest\0329.google.cloud.aiplatform.v1" - + "beta1.StreamingPredictResponse\"\267\001\202\323\344\223\002\260\001" - + "\"M/v1beta1/{endpoint=projects/*/location" - + "s/*/endpoints/*}:serverStreamingPredict:" - + "\001*Z\\\"W/v1beta1/{endpoint=projects/*/loca" - + "tions/*/publishers/*/models/*}:serverStr" - + "eamingPredict:\001*0\001\022\226\001\n\023StreamingRawPredi" - + "ct\022;.google.cloud.aiplatform.v1beta1.Str" - + "eamingRawPredictRequest\032<.google.cloud.a" - + "iplatform.v1beta1.StreamingRawPredictRes" - + "ponse\"\000(\0010\001\022\351\001\n\007Explain\022/.google.cloud.a" - + "iplatform.v1beta1.ExplainRequest\0320.googl" - + "e.cloud.aiplatform.v1beta1.ExplainRespon" - + "se\"{\332A/endpoint,instances,parameters,dep" - + "loyed_model_id\202\323\344\223\002C\">/v1beta1/{endpoint" - + "=projects/*/locations/*/endpoints/*}:exp" - + "lain:\001*\022\237\003\n\013CountTokens\0223.google.cloud.a" - + "iplatform.v1beta1.CountTokensRequest\0324.g" - + "oogle.cloud.aiplatform.v1beta1.CountToke" - + "nsResponse\"\244\002\332A\022endpoint,instances\202\323\344\223\002\210" - + "\002\"B/v1beta1/{endpoint=projects/*/locatio" - + "ns/*/endpoints/*}:countTokens:\001*ZQ\"L/v1b" - + "eta1/{endpoint=projects/*/locations/*/pu" - + "blishers/*/models/*}:countTokens:\001*Z0\"+/" - + "v1beta1/{endpoint=endpoints/*}:countToke" - + "ns:\001*Z:\"5/v1beta1/{endpoint=publishers/*" - + "/models/*}:countTokens:\001*\022\253\003\n\017GenerateCo" - + "ntent\0227.google.cloud.aiplatform.v1beta1." - + "GenerateContentRequest\0328.google.cloud.ai" - + "platform.v1beta1.GenerateContentResponse" - + "\"\244\002\332A\016model,contents\202\323\344\223\002\214\002\"C/v1beta1/{m" - + "odel=projects/*/locations/*/endpoints/*}" - + ":generateContent:\001*ZR\"M/v1beta1/{model=p" - + "rojects/*/locations/*/publishers/*/model" - + "s/*}:generateContent:\001*Z1\",/v1beta1/{mod" - + "el=endpoints/*}:generateContent:\001*Z;\"6/v" - + "1beta1/{model=publishers/*/models/*}:gen" - + "erateContent:\001*\022\313\003\n\025StreamGenerateConten" - + "t\0227.google.cloud.aiplatform.v1beta1.Gene" - + "rateContentRequest\0328.google.cloud.aiplat" - + "form.v1beta1.GenerateContentResponse\"\274\002\332" - + "A\016model,contents\202\323\344\223\002\244\002\"I/v1beta1/{model" - + "=projects/*/locations/*/endpoints/*}:str" - + "eamGenerateContent:\001*ZX\"S/v1beta1/{model" + + "eContentResponse.UsageMetadata\032\340\002\n\016Promp" + + "tFeedback\022p\n\014block_reason\030\001 \001(\0162U.google" + + ".cloud.aiplatform.v1beta1.GenerateConten" + + "tResponse.PromptFeedback.BlockedReasonB\003" + + "\340A\003\022J\n\016safety_ratings\030\002 \003(\0132-.google.clo" + + "ud.aiplatform.v1beta1.SafetyRatingB\003\340A\003\022" + + "!\n\024block_reason_message\030\003 \001(\tB\003\340A\003\"m\n\rBl" + + "ockedReason\022\036\n\032BLOCKED_REASON_UNSPECIFIE" + + "D\020\000\022\n\n\006SAFETY\020\001\022\t\n\005OTHER\020\002\022\r\n\tBLOCKLIST\020" + + "\003\022\026\n\022PROHIBITED_CONTENT\020\004\032\235\003\n\rUsageMetad" + + "ata\022\032\n\022prompt_token_count\030\001 \001(\005\022\036\n\026candi" + + "dates_token_count\030\002 \001(\005\022\031\n\021total_token_c" + + "ount\030\003 \001(\005\022\'\n\032cached_content_token_count" + + "\030\005 \001(\005B\003\340A\003\022W\n\025prompt_tokens_details\030\t \003" + + "(\01323.google.cloud.aiplatform.v1beta1.Mod" + + "alityTokenCountB\003\340A\003\022V\n\024cache_tokens_det" + + "ails\030\n \003(\01323.google.cloud.aiplatform.v1b" + + "eta1.ModalityTokenCountB\003\340A\003\022[\n\031candidat" + + "es_tokens_details\030\013 \003(\01323.google.cloud.a" + + "iplatform.v1beta1.ModalityTokenCountB\003\340A" + + "\003\"\204\001\n\026ChatCompletionsRequest\022<\n\010endpoint" + + "\030\001 \001(\tB*\340A\002\372A$\n\"aiplatform.googleapis.co" + + "m/Endpoint\022,\n\thttp_body\030\002 \001(\0132\024.google.a" + + "pi.HttpBodyB\003\340A\001\"\203\001\n\032PredictLongRunningR" + + "esponse\022Y\n\027generate_video_response\030\001 \001(\013" + + "26.google.cloud.aiplatform.v1beta1.Gener" + + "ateVideoResponseH\000B\n\n\010response\"\034\n\032Predic" + + "tLongRunningMetadata\"\232\001\n\025GenerateVideoRe" + + "sponse\022\031\n\021generated_samples\030\001 \003(\t\022%\n\030rai" + + "_media_filtered_count\030\002 \001(\005H\000\210\001\001\022\"\n\032rai_" + + "media_filtered_reasons\030\003 \003(\tB\033\n\031_rai_med" + + "ia_filtered_count2\301 \n\021PredictionService\022" + + "\250\002\n\007Predict\022/.google.cloud.aiplatform.v1" + + "beta1.PredictRequest\0320.google.cloud.aipl" + + "atform.v1beta1.PredictResponse\"\271\001\332A\035endp" + + "oint,instances,parameters\202\323\344\223\002\222\001\">/v1bet" + + "a1/{endpoint=projects/*/locations/*/endp" + + "oints/*}:predict:\001*ZM\"H/v1beta1/{endpoin" + + "t=projects/*/locations/*/publishers/*/mo" + + "dels/*}:predict:\001*\022\215\002\n\nRawPredict\0222.goog" + + "le.cloud.aiplatform.v1beta1.RawPredictRe" + + "quest\032\024.google.api.HttpBody\"\264\001\332A\022endpoin" + + "t,http_body\202\323\344\223\002\230\001\"A/v1beta1/{endpoint=p" + + "rojects/*/locations/*/endpoints/*}:rawPr" + + "edict:\001*ZP\"K/v1beta1/{endpoint=projects/" + + "*/locations/*/publishers/*/models/*}:raw" + + "Predict:\001*\022\247\002\n\020StreamRawPredict\0228.google" + + ".cloud.aiplatform.v1beta1.StreamRawPredi" + + "ctRequest\032\024.google.api.HttpBody\"\300\001\332A\022end" + + "point,http_body\202\323\344\223\002\244\001\"G/v1beta1/{endpoi" + + "nt=projects/*/locations/*/endpoints/*}:s" + + "treamRawPredict:\001*ZV\"Q/v1beta1/{endpoint" + "=projects/*/locations/*/publishers/*/mod" - + "els/*}:streamGenerateContent:\001*Z7\"2/v1be" - + "ta1/{model=endpoints/*}:streamGenerateCo" - + "ntent:\001*ZA\".google.cloud.aiplatform.v1beta1.Strea" + + "mDirectRawPredictRequest\032?.google.cloud." + + "aiplatform.v1beta1.StreamDirectRawPredic" + + "tResponse\"\000(\0010\001\022\215\001\n\020StreamingPredict\0228.g" + + "oogle.cloud.aiplatform.v1beta1.Streaming" + + "PredictRequest\0329.google.cloud.aiplatform" + + ".v1beta1.StreamingPredictResponse\"\000(\0010\001\022" + + "\311\002\n\026ServerStreamingPredict\0228.google.clou" + + "d.aiplatform.v1beta1.StreamingPredictReq" + + "uest\0329.google.cloud.aiplatform.v1beta1.S" + + "treamingPredictResponse\"\267\001\202\323\344\223\002\260\001\"M/v1be" + + "ta1/{endpoint=projects/*/locations/*/end" + + "points/*}:serverStreamingPredict:\001*Z\\\"W/" + + "v1beta1/{endpoint=projects/*/locations/*" + + "/publishers/*/models/*}:serverStreamingP" + + "redict:\001*0\001\022\226\001\n\023StreamingRawPredict\022;.go" + + "ogle.cloud.aiplatform.v1beta1.StreamingR" + + "awPredictRequest\032<.google.cloud.aiplatfo" + + "rm.v1beta1.StreamingRawPredictResponse\"\000" + + "(\0010\001\022\351\001\n\007Explain\022/.google.cloud.aiplatfo" + + "rm.v1beta1.ExplainRequest\0320.google.cloud" + + ".aiplatform.v1beta1.ExplainResponse\"{\332A/" + + "endpoint,instances,parameters,deployed_m" + + "odel_id\202\323\344\223\002C\">/v1beta1/{endpoint=projec" + + "ts/*/locations/*/endpoints/*}:explain:\001*" + + "\022\237\003\n\013CountTokens\0223.google.cloud.aiplatfo" + + "rm.v1beta1.CountTokensRequest\0324.google.c" + + "loud.aiplatform.v1beta1.CountTokensRespo" + + "nse\"\244\002\332A\022endpoint,instances\202\323\344\223\002\210\002\"B/v1b" + + "eta1/{endpoint=projects/*/locations/*/en" + + "dpoints/*}:countTokens:\001*ZQ\"L/v1beta1/{e" + + "ndpoint=projects/*/locations/*/publisher" + + "s/*/models/*}:countTokens:\001*Z0\"+/v1beta1" + + "/{endpoint=endpoints/*}:countTokens:\001*Z:" + + "\"5/v1beta1/{endpoint=publishers/*/models" + + "/*}:countTokens:\001*\022\253\003\n\017GenerateContent\0227" + + ".google.cloud.aiplatform.v1beta1.Generat" + + "eContentRequest\0328.google.cloud.aiplatfor" + + "m.v1beta1.GenerateContentResponse\"\244\002\332A\016m" + + "odel,contents\202\323\344\223\002\214\002\"C/v1beta1/{model=pr" + + "ojects/*/locations/*/endpoints/*}:genera" + + "teContent:\001*ZR\"M/v1beta1/{model=projects" + + "/*/locations/*/publishers/*/models/*}:ge" + + "nerateContent:\001*Z1\",/v1beta1/{model=endp" + + "oints/*}:generateContent:\001*Z;\"6/v1beta1/" + + "{model=publishers/*/models/*}:generateCo" + + "ntent:\001*\022\313\003\n\025StreamGenerateContent\0227.goo" + + "gle.cloud.aiplatform.v1beta1.GenerateCon" + + "tentRequest\0328.google.cloud.aiplatform.v1" + + "beta1.GenerateContentResponse\"\274\002\332A\016model" + + ",contents\202\323\344\223\002\244\002\"I/v1beta1/{model=projec" + + "ts/*/locations/*/endpoints/*}:streamGene" + + "rateContent:\001*ZX\"S/v1beta1/{model=projec" + + "ts/*/locations/*/publishers/*/models/*}:" + + "streamGenerateContent:\001*Z7\"2/v1beta1/{mo" + + "del=endpoints/*}:streamGenerateContent:\001" + + "*ZA\" * * + *

CancelJob + *

Cancel a Job. + * + *

Request object method variants only take one parameter, a request object, which must be constructed before the call.

+ * + *

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

+ * + *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

+ * + * + * + * *

ListJobs *

List all Jobs for a project within a region. * @@ -709,6 +729,147 @@ public final UnaryCallable deleteJobCallable() { return stub.deleteJobCallable(); } + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Cancel a Job. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BatchServiceClient batchServiceClient = BatchServiceClient.create()) {
+   *   JobName name = JobName.of("[PROJECT]", "[LOCATION]", "[JOB]");
+   *   CancelJobResponse response = batchServiceClient.cancelJobAsync(name).get();
+   * }
+   * }
+ * + * @param name Required. Job name. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture cancelJobAsync(JobName name) { + CancelJobRequest request = + CancelJobRequest.newBuilder().setName(name == null ? null : name.toString()).build(); + return cancelJobAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Cancel a Job. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BatchServiceClient batchServiceClient = BatchServiceClient.create()) {
+   *   String name = JobName.of("[PROJECT]", "[LOCATION]", "[JOB]").toString();
+   *   CancelJobResponse response = batchServiceClient.cancelJobAsync(name).get();
+   * }
+   * }
+ * + * @param name Required. Job name. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture cancelJobAsync(String name) { + CancelJobRequest request = CancelJobRequest.newBuilder().setName(name).build(); + return cancelJobAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Cancel a Job. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BatchServiceClient batchServiceClient = BatchServiceClient.create()) {
+   *   CancelJobRequest request =
+   *       CancelJobRequest.newBuilder()
+   *           .setName(JobName.of("[PROJECT]", "[LOCATION]", "[JOB]").toString())
+   *           .setRequestId("requestId693933066")
+   *           .build();
+   *   CancelJobResponse response = batchServiceClient.cancelJobAsync(request).get();
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture cancelJobAsync( + CancelJobRequest request) { + return cancelJobOperationCallable().futureCall(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Cancel a Job. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BatchServiceClient batchServiceClient = BatchServiceClient.create()) {
+   *   CancelJobRequest request =
+   *       CancelJobRequest.newBuilder()
+   *           .setName(JobName.of("[PROJECT]", "[LOCATION]", "[JOB]").toString())
+   *           .setRequestId("requestId693933066")
+   *           .build();
+   *   OperationFuture future =
+   *       batchServiceClient.cancelJobOperationCallable().futureCall(request);
+   *   // Do something.
+   *   CancelJobResponse response = future.get();
+   * }
+   * }
+ */ + public final OperationCallable + cancelJobOperationCallable() { + return stub.cancelJobOperationCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Cancel a Job. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BatchServiceClient batchServiceClient = BatchServiceClient.create()) {
+   *   CancelJobRequest request =
+   *       CancelJobRequest.newBuilder()
+   *           .setName(JobName.of("[PROJECT]", "[LOCATION]", "[JOB]").toString())
+   *           .setRequestId("requestId693933066")
+   *           .build();
+   *   ApiFuture future = batchServiceClient.cancelJobCallable().futureCall(request);
+   *   // Do something.
+   *   Operation response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable cancelJobCallable() { + return stub.cancelJobCallable(); + } + // AUTO-GENERATED DOCUMENTATION AND METHOD. /** * List all Jobs for a project within a region. diff --git a/java-batch/google-cloud-batch/src/main/java/com/google/cloud/batch/v1/BatchServiceSettings.java b/java-batch/google-cloud-batch/src/main/java/com/google/cloud/batch/v1/BatchServiceSettings.java index 3e6ab223ea8f..9bf046047e89 100644 --- a/java-batch/google-cloud-batch/src/main/java/com/google/cloud/batch/v1/BatchServiceSettings.java +++ b/java-batch/google-cloud-batch/src/main/java/com/google/cloud/batch/v1/BatchServiceSettings.java @@ -142,6 +142,17 @@ public UnaryCallSettings deleteJobSettings() { return ((BatchServiceStubSettings) getStubSettings()).deleteJobOperationSettings(); } + /** Returns the object with the settings used for calls to cancelJob. */ + public UnaryCallSettings cancelJobSettings() { + return ((BatchServiceStubSettings) getStubSettings()).cancelJobSettings(); + } + + /** Returns the object with the settings used for calls to cancelJob. */ + public OperationCallSettings + cancelJobOperationSettings() { + return ((BatchServiceStubSettings) getStubSettings()).cancelJobOperationSettings(); + } + /** Returns the object with the settings used for calls to listJobs. */ public PagedCallSettings listJobsSettings() { @@ -303,6 +314,17 @@ public UnaryCallSettings.Builder deleteJobSettings( return getStubSettingsBuilder().deleteJobOperationSettings(); } + /** Returns the builder for the settings used for calls to cancelJob. */ + public UnaryCallSettings.Builder cancelJobSettings() { + return getStubSettingsBuilder().cancelJobSettings(); + } + + /** Returns the builder for the settings used for calls to cancelJob. */ + public OperationCallSettings.Builder + cancelJobOperationSettings() { + return getStubSettingsBuilder().cancelJobOperationSettings(); + } + /** Returns the builder for the settings used for calls to listJobs. */ public PagedCallSettings.Builder listJobsSettings() { diff --git a/java-batch/google-cloud-batch/src/main/java/com/google/cloud/batch/v1/gapic_metadata.json b/java-batch/google-cloud-batch/src/main/java/com/google/cloud/batch/v1/gapic_metadata.json index 31a29beeab0d..6c9b3f955370 100644 --- a/java-batch/google-cloud-batch/src/main/java/com/google/cloud/batch/v1/gapic_metadata.json +++ b/java-batch/google-cloud-batch/src/main/java/com/google/cloud/batch/v1/gapic_metadata.json @@ -10,6 +10,9 @@ "grpc": { "libraryClient": "BatchServiceClient", "rpcs": { + "CancelJob": { + "methods": ["cancelJobAsync", "cancelJobAsync", "cancelJobAsync", "cancelJobOperationCallable", "cancelJobCallable"] + }, "CreateJob": { "methods": ["createJob", "createJob", "createJob", "createJobCallable"] }, diff --git a/java-batch/google-cloud-batch/src/main/java/com/google/cloud/batch/v1/stub/BatchServiceStub.java b/java-batch/google-cloud-batch/src/main/java/com/google/cloud/batch/v1/stub/BatchServiceStub.java index 42be40158788..1c1e912ac9eb 100644 --- a/java-batch/google-cloud-batch/src/main/java/com/google/cloud/batch/v1/stub/BatchServiceStub.java +++ b/java-batch/google-cloud-batch/src/main/java/com/google/cloud/batch/v1/stub/BatchServiceStub.java @@ -23,6 +23,8 @@ import com.google.api.gax.core.BackgroundResource; import com.google.api.gax.rpc.OperationCallable; import com.google.api.gax.rpc.UnaryCallable; +import com.google.cloud.batch.v1.CancelJobRequest; +import com.google.cloud.batch.v1.CancelJobResponse; import com.google.cloud.batch.v1.CreateJobRequest; import com.google.cloud.batch.v1.DeleteJobRequest; import com.google.cloud.batch.v1.GetJobRequest; @@ -77,6 +79,15 @@ public UnaryCallable deleteJobCallable() { throw new UnsupportedOperationException("Not implemented: deleteJobCallable()"); } + public OperationCallable + cancelJobOperationCallable() { + throw new UnsupportedOperationException("Not implemented: cancelJobOperationCallable()"); + } + + public UnaryCallable cancelJobCallable() { + throw new UnsupportedOperationException("Not implemented: cancelJobCallable()"); + } + public UnaryCallable listJobsPagedCallable() { throw new UnsupportedOperationException("Not implemented: listJobsPagedCallable()"); } diff --git a/java-batch/google-cloud-batch/src/main/java/com/google/cloud/batch/v1/stub/BatchServiceStubSettings.java b/java-batch/google-cloud-batch/src/main/java/com/google/cloud/batch/v1/stub/BatchServiceStubSettings.java index 4203eec16bed..2f40b5b91743 100644 --- a/java-batch/google-cloud-batch/src/main/java/com/google/cloud/batch/v1/stub/BatchServiceStubSettings.java +++ b/java-batch/google-cloud-batch/src/main/java/com/google/cloud/batch/v1/stub/BatchServiceStubSettings.java @@ -50,6 +50,8 @@ import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.api.gax.rpc.UnaryCallable; +import com.google.cloud.batch.v1.CancelJobRequest; +import com.google.cloud.batch.v1.CancelJobResponse; import com.google.cloud.batch.v1.CreateJobRequest; import com.google.cloud.batch.v1.DeleteJobRequest; import com.google.cloud.batch.v1.GetJobRequest; @@ -163,6 +165,9 @@ public class BatchServiceStubSettings extends StubSettings deleteJobSettings; private final OperationCallSettings deleteJobOperationSettings; + private final UnaryCallSettings cancelJobSettings; + private final OperationCallSettings + cancelJobOperationSettings; private final PagedCallSettings listJobsSettings; private final UnaryCallSettings getTaskSettings; @@ -346,6 +351,17 @@ public UnaryCallSettings deleteJobSettings() { return deleteJobOperationSettings; } + /** Returns the object with the settings used for calls to cancelJob. */ + public UnaryCallSettings cancelJobSettings() { + return cancelJobSettings; + } + + /** Returns the object with the settings used for calls to cancelJob. */ + public OperationCallSettings + cancelJobOperationSettings() { + return cancelJobOperationSettings; + } + /** Returns the object with the settings used for calls to listJobs. */ public PagedCallSettings listJobsSettings() { @@ -489,6 +505,8 @@ protected BatchServiceStubSettings(Builder settingsBuilder) throws IOException { getJobSettings = settingsBuilder.getJobSettings().build(); deleteJobSettings = settingsBuilder.deleteJobSettings().build(); deleteJobOperationSettings = settingsBuilder.deleteJobOperationSettings().build(); + cancelJobSettings = settingsBuilder.cancelJobSettings().build(); + cancelJobOperationSettings = settingsBuilder.cancelJobOperationSettings().build(); listJobsSettings = settingsBuilder.listJobsSettings().build(); getTaskSettings = settingsBuilder.getTaskSettings().build(); listTasksSettings = settingsBuilder.listTasksSettings().build(); @@ -504,6 +522,10 @@ public static class Builder extends StubSettings.Builder deleteJobSettings; private final OperationCallSettings.Builder deleteJobOperationSettings; + private final UnaryCallSettings.Builder cancelJobSettings; + private final OperationCallSettings.Builder< + CancelJobRequest, CancelJobResponse, OperationMetadata> + cancelJobOperationSettings; private final PagedCallSettings.Builder< ListJobsRequest, ListJobsResponse, ListJobsPagedResponse> listJobsSettings; @@ -570,6 +592,8 @@ protected Builder(ClientContext clientContext) { getJobSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); deleteJobSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); deleteJobOperationSettings = OperationCallSettings.newBuilder(); + cancelJobSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + cancelJobOperationSettings = OperationCallSettings.newBuilder(); listJobsSettings = PagedCallSettings.newBuilder(LIST_JOBS_PAGE_STR_FACT); getTaskSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); listTasksSettings = PagedCallSettings.newBuilder(LIST_TASKS_PAGE_STR_FACT); @@ -581,6 +605,7 @@ protected Builder(ClientContext clientContext) { createJobSettings, getJobSettings, deleteJobSettings, + cancelJobSettings, listJobsSettings, getTaskSettings, listTasksSettings, @@ -596,6 +621,8 @@ protected Builder(BatchServiceStubSettings settings) { getJobSettings = settings.getJobSettings.toBuilder(); deleteJobSettings = settings.deleteJobSettings.toBuilder(); deleteJobOperationSettings = settings.deleteJobOperationSettings.toBuilder(); + cancelJobSettings = settings.cancelJobSettings.toBuilder(); + cancelJobOperationSettings = settings.cancelJobOperationSettings.toBuilder(); listJobsSettings = settings.listJobsSettings.toBuilder(); getTaskSettings = settings.getTaskSettings.toBuilder(); listTasksSettings = settings.listTasksSettings.toBuilder(); @@ -607,6 +634,7 @@ protected Builder(BatchServiceStubSettings settings) { createJobSettings, getJobSettings, deleteJobSettings, + cancelJobSettings, listJobsSettings, getTaskSettings, listTasksSettings, @@ -654,6 +682,11 @@ private static Builder initDefaults(Builder builder) { .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); + builder + .cancelJobSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); + builder .listJobsSettings() .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) @@ -702,6 +735,29 @@ private static Builder initDefaults(Builder builder) { .setTotalTimeoutDuration(Duration.ofMillis(300000L)) .build())); + builder + .cancelJobOperationSettings() + .setInitialCallSettings( + UnaryCallSettings.newUnaryCallSettingsBuilder() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")) + .build()) + .setResponseTransformer( + ProtoOperationTransformers.ResponseTransformer.create(CancelJobResponse.class)) + .setMetadataTransformer( + ProtoOperationTransformers.MetadataTransformer.create(OperationMetadata.class)) + .setPollingAlgorithm( + OperationTimedPollAlgorithm.create( + RetrySettings.newBuilder() + .setInitialRetryDelayDuration(Duration.ofMillis(5000L)) + .setRetryDelayMultiplier(1.5) + .setMaxRetryDelayDuration(Duration.ofMillis(45000L)) + .setInitialRpcTimeoutDuration(Duration.ZERO) + .setRpcTimeoutMultiplier(1.0) + .setMaxRpcTimeoutDuration(Duration.ZERO) + .setTotalTimeoutDuration(Duration.ofMillis(300000L)) + .build())); + return builder; } @@ -741,6 +797,17 @@ public UnaryCallSettings.Builder deleteJobSettings( return deleteJobOperationSettings; } + /** Returns the builder for the settings used for calls to cancelJob. */ + public UnaryCallSettings.Builder cancelJobSettings() { + return cancelJobSettings; + } + + /** Returns the builder for the settings used for calls to cancelJob. */ + public OperationCallSettings.Builder + cancelJobOperationSettings() { + return cancelJobOperationSettings; + } + /** Returns the builder for the settings used for calls to listJobs. */ public PagedCallSettings.Builder listJobsSettings() { diff --git a/java-batch/google-cloud-batch/src/main/java/com/google/cloud/batch/v1/stub/GrpcBatchServiceStub.java b/java-batch/google-cloud-batch/src/main/java/com/google/cloud/batch/v1/stub/GrpcBatchServiceStub.java index 10041bff9a1d..7075cf312add 100644 --- a/java-batch/google-cloud-batch/src/main/java/com/google/cloud/batch/v1/stub/GrpcBatchServiceStub.java +++ b/java-batch/google-cloud-batch/src/main/java/com/google/cloud/batch/v1/stub/GrpcBatchServiceStub.java @@ -28,6 +28,8 @@ import com.google.api.gax.rpc.OperationCallable; import com.google.api.gax.rpc.RequestParamsBuilder; import com.google.api.gax.rpc.UnaryCallable; +import com.google.cloud.batch.v1.CancelJobRequest; +import com.google.cloud.batch.v1.CancelJobResponse; import com.google.cloud.batch.v1.CreateJobRequest; import com.google.cloud.batch.v1.DeleteJobRequest; import com.google.cloud.batch.v1.GetJobRequest; @@ -84,6 +86,14 @@ public class GrpcBatchServiceStub extends BatchServiceStub { .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance())) .build(); + private static final MethodDescriptor cancelJobMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.cloud.batch.v1.BatchService/CancelJob") + .setRequestMarshaller(ProtoUtils.marshaller(CancelJobRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance())) + .build(); + private static final MethodDescriptor listJobsMethodDescriptor = MethodDescriptor.newBuilder() @@ -134,6 +144,9 @@ public class GrpcBatchServiceStub extends BatchServiceStub { private final UnaryCallable deleteJobCallable; private final OperationCallable deleteJobOperationCallable; + private final UnaryCallable cancelJobCallable; + private final OperationCallable + cancelJobOperationCallable; private final UnaryCallable listJobsCallable; private final UnaryCallable listJobsPagedCallable; private final UnaryCallable getTaskCallable; @@ -216,6 +229,16 @@ protected GrpcBatchServiceStub( return builder.build(); }) .build(); + GrpcCallSettings cancelJobTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(cancelJobMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); + }) + .build(); GrpcCallSettings listJobsTransportSettings = GrpcCallSettings.newBuilder() .setMethodDescriptor(listJobsMethodDescriptor) @@ -282,6 +305,15 @@ protected GrpcBatchServiceStub( settings.deleteJobOperationSettings(), clientContext, operationsStub); + this.cancelJobCallable = + callableFactory.createUnaryCallable( + cancelJobTransportSettings, settings.cancelJobSettings(), clientContext); + this.cancelJobOperationCallable = + callableFactory.createOperationCallable( + cancelJobTransportSettings, + settings.cancelJobOperationSettings(), + clientContext, + operationsStub); this.listJobsCallable = callableFactory.createUnaryCallable( listJobsTransportSettings, settings.listJobsSettings(), clientContext); @@ -336,6 +368,17 @@ public UnaryCallable deleteJobCallable() { return deleteJobOperationCallable; } + @Override + public UnaryCallable cancelJobCallable() { + return cancelJobCallable; + } + + @Override + public OperationCallable + cancelJobOperationCallable() { + return cancelJobOperationCallable; + } + @Override public UnaryCallable listJobsCallable() { return listJobsCallable; diff --git a/java-batch/google-cloud-batch/src/main/java/com/google/cloud/batch/v1/stub/HttpJsonBatchServiceStub.java b/java-batch/google-cloud-batch/src/main/java/com/google/cloud/batch/v1/stub/HttpJsonBatchServiceStub.java index eb305203ebec..850a9831b898 100644 --- a/java-batch/google-cloud-batch/src/main/java/com/google/cloud/batch/v1/stub/HttpJsonBatchServiceStub.java +++ b/java-batch/google-cloud-batch/src/main/java/com/google/cloud/batch/v1/stub/HttpJsonBatchServiceStub.java @@ -36,6 +36,8 @@ import com.google.api.gax.rpc.OperationCallable; import com.google.api.gax.rpc.RequestParamsBuilder; import com.google.api.gax.rpc.UnaryCallable; +import com.google.cloud.batch.v1.CancelJobRequest; +import com.google.cloud.batch.v1.CancelJobResponse; import com.google.cloud.batch.v1.CreateJobRequest; import com.google.cloud.batch.v1.DeleteJobRequest; import com.google.cloud.batch.v1.GetJobRequest; @@ -75,6 +77,7 @@ public class HttpJsonBatchServiceStub extends BatchServiceStub { TypeRegistry.newBuilder() .add(Empty.getDescriptor()) .add(OperationMetadata.getDescriptor()) + .add(CancelJobResponse.getDescriptor()) .build(); private static final ApiMethodDescriptor createJobMethodDescriptor = @@ -184,6 +187,45 @@ public class HttpJsonBatchServiceStub extends BatchServiceStub { HttpJsonOperationSnapshot.create(response)) .build(); + private static final ApiMethodDescriptor cancelJobMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.batch.v1.BatchService/CancelJob") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{name=projects/*/locations/*/jobs/*}:cancel", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody("*", request.toBuilder().clearName().build(), true)) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Operation.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .setOperationSnapshotFactory( + (CancelJobRequest request, Operation response) -> + HttpJsonOperationSnapshot.create(response)) + .build(); + private static final ApiMethodDescriptor listJobsMethodDescriptor = ApiMethodDescriptor.newBuilder() @@ -365,6 +407,9 @@ public class HttpJsonBatchServiceStub extends BatchServiceStub { private final UnaryCallable deleteJobCallable; private final OperationCallable deleteJobOperationCallable; + private final UnaryCallable cancelJobCallable; + private final OperationCallable + cancelJobOperationCallable; private final UnaryCallable listJobsCallable; private final UnaryCallable listJobsPagedCallable; private final UnaryCallable getTaskCallable; @@ -478,6 +523,17 @@ protected HttpJsonBatchServiceStub( return builder.build(); }) .build(); + HttpJsonCallSettings cancelJobTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(cancelJobMethodDescriptor) + .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); + }) + .build(); HttpJsonCallSettings listJobsTransportSettings = HttpJsonCallSettings.newBuilder() .setMethodDescriptor(listJobsMethodDescriptor) @@ -550,6 +606,15 @@ protected HttpJsonBatchServiceStub( settings.deleteJobOperationSettings(), clientContext, httpJsonOperationsStub); + this.cancelJobCallable = + callableFactory.createUnaryCallable( + cancelJobTransportSettings, settings.cancelJobSettings(), clientContext); + this.cancelJobOperationCallable = + callableFactory.createOperationCallable( + cancelJobTransportSettings, + settings.cancelJobOperationSettings(), + clientContext, + httpJsonOperationsStub); this.listJobsCallable = callableFactory.createUnaryCallable( listJobsTransportSettings, settings.listJobsSettings(), clientContext); @@ -585,6 +650,7 @@ public static List getMethodDescriptors() { methodDescriptors.add(createJobMethodDescriptor); methodDescriptors.add(getJobMethodDescriptor); methodDescriptors.add(deleteJobMethodDescriptor); + methodDescriptors.add(cancelJobMethodDescriptor); methodDescriptors.add(listJobsMethodDescriptor); methodDescriptors.add(getTaskMethodDescriptor); methodDescriptors.add(listTasksMethodDescriptor); @@ -618,6 +684,17 @@ public UnaryCallable deleteJobCallable() { return deleteJobOperationCallable; } + @Override + public UnaryCallable cancelJobCallable() { + return cancelJobCallable; + } + + @Override + public OperationCallable + cancelJobOperationCallable() { + return cancelJobOperationCallable; + } + @Override public UnaryCallable listJobsCallable() { return listJobsCallable; diff --git a/java-batch/google-cloud-batch/src/main/resources/META-INF/native-image/com.google.cloud.batch.v1/reflect-config.json b/java-batch/google-cloud-batch/src/main/resources/META-INF/native-image/com.google.cloud.batch.v1/reflect-config.json index b8d7c98b14db..d639858e5630 100644 --- a/java-batch/google-cloud-batch/src/main/resources/META-INF/native-image/com.google.cloud.batch.v1/reflect-config.json +++ b/java-batch/google-cloud-batch/src/main/resources/META-INF/native-image/com.google.cloud.batch.v1/reflect-config.json @@ -647,6 +647,42 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.cloud.batch.v1.CancelJobRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.batch.v1.CancelJobRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.batch.v1.CancelJobResponse", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.batch.v1.CancelJobResponse$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.cloud.batch.v1.ComputeResource", "queryAllDeclaredConstructors": true, diff --git a/java-batch/google-cloud-batch/src/test/java/com/google/cloud/batch/v1/BatchServiceClientHttpJsonTest.java b/java-batch/google-cloud-batch/src/test/java/com/google/cloud/batch/v1/BatchServiceClientHttpJsonTest.java index 81c2e925d6ab..18c7223f46a9 100644 --- a/java-batch/google-cloud-batch/src/test/java/com/google/cloud/batch/v1/BatchServiceClientHttpJsonTest.java +++ b/java-batch/google-cloud-batch/src/test/java/com/google/cloud/batch/v1/BatchServiceClientHttpJsonTest.java @@ -357,6 +357,98 @@ public void deleteJobExceptionTest() throws Exception { } } + @Test + public void cancelJobTest() throws Exception { + CancelJobResponse expectedResponse = CancelJobResponse.newBuilder().build(); + Operation resultOperation = + Operation.newBuilder() + .setName("cancelJobTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + JobName name = JobName.of("[PROJECT]", "[LOCATION]", "[JOB]"); + + CancelJobResponse actualResponse = client.cancelJobAsync(name).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void cancelJobExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + JobName name = JobName.of("[PROJECT]", "[LOCATION]", "[JOB]"); + client.cancelJobAsync(name).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void cancelJobTest2() throws Exception { + CancelJobResponse expectedResponse = CancelJobResponse.newBuilder().build(); + Operation resultOperation = + Operation.newBuilder() + .setName("cancelJobTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + String name = "projects/project-3306/locations/location-3306/jobs/job-3306"; + + CancelJobResponse actualResponse = client.cancelJobAsync(name).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void cancelJobExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = "projects/project-3306/locations/location-3306/jobs/job-3306"; + client.cancelJobAsync(name).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + @Test public void listJobsTest() throws Exception { Job responsesElement = Job.newBuilder().build(); diff --git a/java-batch/google-cloud-batch/src/test/java/com/google/cloud/batch/v1/BatchServiceClientTest.java b/java-batch/google-cloud-batch/src/test/java/com/google/cloud/batch/v1/BatchServiceClientTest.java index fa111e4f7046..2d44dec7ae08 100644 --- a/java-batch/google-cloud-batch/src/test/java/com/google/cloud/batch/v1/BatchServiceClientTest.java +++ b/java-batch/google-cloud-batch/src/test/java/com/google/cloud/batch/v1/BatchServiceClientTest.java @@ -341,6 +341,92 @@ public void deleteJobExceptionTest() throws Exception { } } + @Test + public void cancelJobTest() throws Exception { + CancelJobResponse expectedResponse = CancelJobResponse.newBuilder().build(); + Operation resultOperation = + Operation.newBuilder() + .setName("cancelJobTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockBatchService.addResponse(resultOperation); + + JobName name = JobName.of("[PROJECT]", "[LOCATION]", "[JOB]"); + + CancelJobResponse actualResponse = client.cancelJobAsync(name).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBatchService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CancelJobRequest actualRequest = ((CancelJobRequest) actualRequests.get(0)); + + Assert.assertEquals(name.toString(), actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void cancelJobExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBatchService.addException(exception); + + try { + JobName name = JobName.of("[PROJECT]", "[LOCATION]", "[JOB]"); + client.cancelJobAsync(name).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); + InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } + + @Test + public void cancelJobTest2() throws Exception { + CancelJobResponse expectedResponse = CancelJobResponse.newBuilder().build(); + Operation resultOperation = + Operation.newBuilder() + .setName("cancelJobTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockBatchService.addResponse(resultOperation); + + String name = "name3373707"; + + CancelJobResponse actualResponse = client.cancelJobAsync(name).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBatchService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CancelJobRequest actualRequest = ((CancelJobRequest) actualRequests.get(0)); + + Assert.assertEquals(name, actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void cancelJobExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBatchService.addException(exception); + + try { + String name = "name3373707"; + client.cancelJobAsync(name).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); + InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } + @Test public void listJobsTest() throws Exception { Job responsesElement = Job.newBuilder().build(); diff --git a/java-batch/google-cloud-batch/src/test/java/com/google/cloud/batch/v1/MockBatchServiceImpl.java b/java-batch/google-cloud-batch/src/test/java/com/google/cloud/batch/v1/MockBatchServiceImpl.java index 24f300ab7cd3..ee5550bceb04 100644 --- a/java-batch/google-cloud-batch/src/test/java/com/google/cloud/batch/v1/MockBatchServiceImpl.java +++ b/java-batch/google-cloud-batch/src/test/java/com/google/cloud/batch/v1/MockBatchServiceImpl.java @@ -119,6 +119,26 @@ public void deleteJob(DeleteJobRequest request, StreamObserver respon } } + @Override + public void cancelJob(CancelJobRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Operation) { + requests.add(request); + responseObserver.onNext(((Operation) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method CancelJob, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Operation.class.getName(), + Exception.class.getName()))); + } + } + @Override public void listJobs(ListJobsRequest request, StreamObserver responseObserver) { Object response = responses.poll(); diff --git a/java-batch/grpc-google-cloud-batch-v1/src/main/java/com/google/cloud/batch/v1/BatchServiceGrpc.java b/java-batch/grpc-google-cloud-batch-v1/src/main/java/com/google/cloud/batch/v1/BatchServiceGrpc.java index c3c7f317a238..dc95e64a7e6a 100644 --- a/java-batch/grpc-google-cloud-batch-v1/src/main/java/com/google/cloud/batch/v1/BatchServiceGrpc.java +++ b/java-batch/grpc-google-cloud-batch-v1/src/main/java/com/google/cloud/batch/v1/BatchServiceGrpc.java @@ -157,6 +157,47 @@ private BatchServiceGrpc() {} return getDeleteJobMethod; } + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.batch.v1.CancelJobRequest, com.google.longrunning.Operation> + getCancelJobMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CancelJob", + requestType = com.google.cloud.batch.v1.CancelJobRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.batch.v1.CancelJobRequest, com.google.longrunning.Operation> + getCancelJobMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.batch.v1.CancelJobRequest, com.google.longrunning.Operation> + getCancelJobMethod; + if ((getCancelJobMethod = BatchServiceGrpc.getCancelJobMethod) == null) { + synchronized (BatchServiceGrpc.class) { + if ((getCancelJobMethod = BatchServiceGrpc.getCancelJobMethod) == null) { + BatchServiceGrpc.getCancelJobMethod = + getCancelJobMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CancelJob")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.batch.v1.CancelJobRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new BatchServiceMethodDescriptorSupplier("CancelJob")) + .build(); + } + } + } + return getCancelJobMethod; + } + private static volatile io.grpc.MethodDescriptor< com.google.cloud.batch.v1.ListJobsRequest, com.google.cloud.batch.v1.ListJobsResponse> getListJobsMethod; @@ -370,6 +411,19 @@ default void deleteJob( io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteJobMethod(), responseObserver); } + /** + * + * + *
+     * Cancel a Job.
+     * 
+ */ + default void cancelJob( + com.google.cloud.batch.v1.CancelJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCancelJobMethod(), responseObserver); + } + /** * * @@ -490,6 +544,20 @@ public void deleteJob( getChannel().newCall(getDeleteJobMethod(), getCallOptions()), request, responseObserver); } + /** + * + * + *
+     * Cancel a Job.
+     * 
+ */ + public void cancelJob( + com.google.cloud.batch.v1.CancelJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCancelJobMethod(), getCallOptions()), request, responseObserver); + } + /** * * @@ -592,6 +660,19 @@ public com.google.longrunning.Operation deleteJob( getChannel(), getDeleteJobMethod(), getCallOptions(), request); } + /** + * + * + *
+     * Cancel a Job.
+     * 
+ */ + public com.google.longrunning.Operation cancelJob( + com.google.cloud.batch.v1.CancelJobRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCancelJobMethod(), getCallOptions(), request); + } + /** * * @@ -692,6 +773,19 @@ public com.google.common.util.concurrent.ListenableFuture + * Cancel a Job. + * + */ + public com.google.common.util.concurrent.ListenableFuture + cancelJob(com.google.cloud.batch.v1.CancelJobRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCancelJobMethod(), getCallOptions()), request); + } + /** * * @@ -737,9 +831,10 @@ public com.google.common.util.concurrent.ListenableFuture implements io.grpc.stub.ServerCalls.UnaryMethod, @@ -773,6 +868,11 @@ public void invoke(Req request, io.grpc.stub.StreamObserver responseObserv (com.google.cloud.batch.v1.DeleteJobRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; + case METHODID_CANCEL_JOB: + serviceImpl.cancelJob( + (com.google.cloud.batch.v1.CancelJobRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; case METHODID_LIST_JOBS: serviceImpl.listJobs( (com.google.cloud.batch.v1.ListJobsRequest) request, @@ -826,6 +926,12 @@ public static final io.grpc.ServerServiceDefinition bindService(AsyncService ser new MethodHandlers< com.google.cloud.batch.v1.DeleteJobRequest, com.google.longrunning.Operation>( service, METHODID_DELETE_JOB))) + .addMethod( + getCancelJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.batch.v1.CancelJobRequest, com.google.longrunning.Operation>( + service, METHODID_CANCEL_JOB))) .addMethod( getListJobsMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( @@ -898,6 +1004,7 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { .addMethod(getCreateJobMethod()) .addMethod(getGetJobMethod()) .addMethod(getDeleteJobMethod()) + .addMethod(getCancelJobMethod()) .addMethod(getListJobsMethod()) .addMethod(getGetTaskMethod()) .addMethod(getListTasksMethod()) diff --git a/java-batch/proto-google-cloud-batch-v1/src/main/java/com/google/cloud/batch/v1/AllocationPolicy.java b/java-batch/proto-google-cloud-batch-v1/src/main/java/com/google/cloud/batch/v1/AllocationPolicy.java index c7b9aab54818..96c11d53eddd 100644 --- a/java-batch/proto-google-cloud-batch-v1/src/main/java/com/google/cloud/batch/v1/AllocationPolicy.java +++ b/java-batch/proto-google-cloud-batch-v1/src/main/java/com/google/cloud/batch/v1/AllocationPolicy.java @@ -4463,7 +4463,7 @@ public interface AcceleratorOrBuilder * bool install_gpu_drivers = 3 [deprecated = true]; * * @deprecated google.cloud.batch.v1.AllocationPolicy.Accelerator.install_gpu_drivers is - * deprecated. See google/cloud/batch/v1/job.proto;l=378 + * deprecated. See google/cloud/batch/v1/job.proto;l=386 * @return The installGpuDrivers. */ @java.lang.Deprecated @@ -4634,7 +4634,7 @@ public long getCount() { * bool install_gpu_drivers = 3 [deprecated = true]; * * @deprecated google.cloud.batch.v1.AllocationPolicy.Accelerator.install_gpu_drivers is - * deprecated. See google/cloud/batch/v1/job.proto;l=378 + * deprecated. See google/cloud/batch/v1/job.proto;l=386 * @return The installGpuDrivers. */ @java.lang.Override @@ -5296,7 +5296,7 @@ public Builder clearCount() { * bool install_gpu_drivers = 3 [deprecated = true]; * * @deprecated google.cloud.batch.v1.AllocationPolicy.Accelerator.install_gpu_drivers is - * deprecated. See google/cloud/batch/v1/job.proto;l=378 + * deprecated. See google/cloud/batch/v1/job.proto;l=386 * @return The installGpuDrivers. */ @java.lang.Override @@ -5314,7 +5314,7 @@ public boolean getInstallGpuDrivers() { * bool install_gpu_drivers = 3 [deprecated = true]; * * @deprecated google.cloud.batch.v1.AllocationPolicy.Accelerator.install_gpu_drivers is - * deprecated. See google/cloud/batch/v1/job.proto;l=378 + * deprecated. See google/cloud/batch/v1/job.proto;l=386 * @param value The installGpuDrivers to set. * @return This builder for chaining. */ @@ -5336,7 +5336,7 @@ public Builder setInstallGpuDrivers(boolean value) { * bool install_gpu_drivers = 3 [deprecated = true]; * * @deprecated google.cloud.batch.v1.AllocationPolicy.Accelerator.install_gpu_drivers is - * deprecated. See google/cloud/batch/v1/job.proto;l=378 + * deprecated. See google/cloud/batch/v1/job.proto;l=386 * @return This builder for chaining. */ @java.lang.Deprecated diff --git a/java-batch/proto-google-cloud-batch-v1/src/main/java/com/google/cloud/batch/v1/BatchProto.java b/java-batch/proto-google-cloud-batch-v1/src/main/java/com/google/cloud/batch/v1/BatchProto.java index b57c0d07d11b..93d142685d25 100644 --- a/java-batch/proto-google-cloud-batch-v1/src/main/java/com/google/cloud/batch/v1/BatchProto.java +++ b/java-batch/proto-google-cloud-batch-v1/src/main/java/com/google/cloud/batch/v1/BatchProto.java @@ -40,6 +40,14 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_batch_v1_DeleteJobRequest_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_batch_v1_DeleteJobRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_batch_v1_CancelJobRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_batch_v1_CancelJobRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_batch_v1_CancelJobResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_batch_v1_CancelJobResponse_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_batch_v1_ListJobsRequest_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -89,59 +97,68 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\tB\003\340A\001\"?\n\rGetJobRequest\022.\n\004name\030\001 \001(\tB \340" + "A\002\372A\032\n\030batch.googleapis.com/Job\"N\n\020Delet" + "eJobRequest\022\014\n\004name\030\001 \001(\t\022\023\n\006reason\030\002 \001(" - + "\tB\003\340A\001\022\027\n\nrequest_id\030\004 \001(\tB\003\340A\001\"o\n\017ListJ" - + "obsRequest\022\016\n\006parent\030\001 \001(\t\022\016\n\006filter\030\004 \001" - + "(\t\022\025\n\010order_by\030\005 \001(\tB\003\340A\001\022\021\n\tpage_size\030\002" - + " \001(\005\022\022\n\npage_token\030\003 \001(\t\"j\n\020ListJobsResp" - + "onse\022(\n\004jobs\030\001 \003(\0132\032.google.cloud.batch." - + "v1.Job\022\027\n\017next_page_token\030\002 \001(\t\022\023\n\013unrea" - + "chable\030\003 \003(\t\"\201\001\n\020ListTasksRequest\0226\n\006par" - + "ent\030\001 \001(\tB&\340A\002\372A \n\036batch.googleapis.com/" - + "TaskGroup\022\016\n\006filter\030\002 \001(\t\022\021\n\tpage_size\030\003" - + " \001(\005\022\022\n\npage_token\030\004 \001(\t\"m\n\021ListTasksRes" - + "ponse\022*\n\005tasks\030\001 \003(\0132\033.google.cloud.batc" - + "h.v1.Task\022\027\n\017next_page_token\030\002 \001(\t\022\023\n\013un" - + "reachable\030\003 \003(\t\"A\n\016GetTaskRequest\022/\n\004nam" - + "e\030\001 \001(\tB!\340A\002\372A\033\n\031batch.googleapis.com/Ta" - + "sk\"\200\002\n\021OperationMetadata\0224\n\013create_time\030" - + "\001 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\0221" - + "\n\010end_time\030\002 \001(\0132\032.google.protobuf.Times" - + "tampB\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\013a" - + "pi_version\030\007 \001(\tB\003\340A\0032\266\010\n\014BatchService\022\233" - + "\001\n\tCreateJob\022\'.google.cloud.batch.v1.Cre" - + "ateJobRequest\032\032.google.cloud.batch.v1.Jo" - + "b\"I\332A\021parent,job,job_id\202\323\344\223\002/\"(/v1/{pare" - + "nt=projects/*/locations/*}/jobs:\003job\022\203\001\n" - + "\006GetJob\022$.google.cloud.batch.v1.GetJobRe" - + "quest\032\032.google.cloud.batch.v1.Job\"7\332A\004na" - + "me\202\323\344\223\002*\022(/v1/{name=projects/*/locations" - + "/*/jobs/*}\022\317\001\n\tDeleteJob\022\'.google.cloud." - + "batch.v1.DeleteJobRequest\032\035.google.longr" - + "unning.Operation\"z\312A@\n\025google.protobuf.E" - + "mpty\022\'google.cloud.batch.v1.OperationMet" - + "adata\332A\004name\202\323\344\223\002**(/v1/{name=projects/*" - + "/locations/*/jobs/*}\022\226\001\n\010ListJobs\022&.goog" - + "le.cloud.batch.v1.ListJobsRequest\032\'.goog" - + "le.cloud.batch.v1.ListJobsResponse\"9\332A\006p" - + "arent\202\323\344\223\002*\022(/v1/{parent=projects/*/loca" - + "tions/*}/jobs\022\233\001\n\007GetTask\022%.google.cloud" - + ".batch.v1.GetTaskRequest\032\033.google.cloud." - + "batch.v1.Task\"L\332A\004name\202\323\344\223\002?\022=/v1/{name=" - + "projects/*/locations/*/jobs/*/taskGroups" - + "/*/tasks/*}\022\256\001\n\tListTasks\022\'.google.cloud" - + ".batch.v1.ListTasksRequest\032(.google.clou" - + "d.batch.v1.ListTasksResponse\"N\332A\006parent\202" - + "\323\344\223\002?\022=/v1/{parent=projects/*/locations/" - + "*/jobs/*/taskGroups/*}/tasks\032H\312A\024batch.g" - + "oogleapis.com\322A.https://www.googleapis.c" - + "om/auth/cloud-platformB\253\001\n\031com.google.cl" - + "oud.batch.v1B\nBatchProtoP\001Z/cloud.google" - + ".com/go/batch/apiv1/batchpb;batchpb\242\002\003GC" - + "B\252\002\025Google.Cloud.Batch.V1\312\002\025Google\\Cloud" - + "\\Batch\\V1\352\002\030Google::Cloud::Batch::V1b\006pr" - + "oto3" + + "\tB\003\340A\001\022\027\n\nrequest_id\030\004 \001(\tB\003\340A\001\"c\n\020Cance" + + "lJobRequest\022.\n\004name\030\001 \001(\tB \340A\002\372A\032\n\030batch" + + ".googleapis.com/Job\022\037\n\nrequest_id\030\004 \001(\tB" + + "\013\340A\001\342\214\317\327\010\002\010\001\"\023\n\021CancelJobResponse\"o\n\017Lis" + + "tJobsRequest\022\016\n\006parent\030\001 \001(\t\022\016\n\006filter\030\004" + + " \001(\t\022\025\n\010order_by\030\005 \001(\tB\003\340A\001\022\021\n\tpage_size" + + "\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"j\n\020ListJobsRe" + + "sponse\022(\n\004jobs\030\001 \003(\0132\032.google.cloud.batc" + + "h.v1.Job\022\027\n\017next_page_token\030\002 \001(\t\022\023\n\013unr" + + "eachable\030\003 \003(\t\"\201\001\n\020ListTasksRequest\0226\n\006p" + + "arent\030\001 \001(\tB&\340A\002\372A \n\036batch.googleapis.co" + + "m/TaskGroup\022\016\n\006filter\030\002 \001(\t\022\021\n\tpage_size" + + "\030\003 \001(\005\022\022\n\npage_token\030\004 \001(\t\"m\n\021ListTasksR" + + "esponse\022*\n\005tasks\030\001 \003(\0132\033.google.cloud.ba" + + "tch.v1.Task\022\027\n\017next_page_token\030\002 \001(\t\022\023\n\013" + + "unreachable\030\003 \003(\t\"A\n\016GetTaskRequest\022/\n\004n" + + "ame\030\001 \001(\tB!\340A\002\372A\033\n\031batch.googleapis.com/" + + "Task\"\200\002\n\021OperationMetadata\0224\n\013create_tim" + + "e\030\001 \001(\0132\032.google.protobuf.TimestampB\003\340A\003" + + "\0221\n\010end_time\030\002 \001(\0132\032.google.protobuf.Tim" + + "estampB\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" + + "\013api_version\030\007 \001(\tB\003\340A\0032\245\n\n\014BatchService" + + "\022\233\001\n\tCreateJob\022\'.google.cloud.batch.v1.C" + + "reateJobRequest\032\032.google.cloud.batch.v1." + + "Job\"I\332A\021parent,job,job_id\202\323\344\223\002/\"(/v1/{pa" + + "rent=projects/*/locations/*}/jobs:\003job\022\203" + + "\001\n\006GetJob\022$.google.cloud.batch.v1.GetJob" + + "Request\032\032.google.cloud.batch.v1.Job\"7\332A\004" + + "name\202\323\344\223\002*\022(/v1/{name=projects/*/locatio" + + "ns/*/jobs/*}\022\317\001\n\tDeleteJob\022\'.google.clou" + + "d.batch.v1.DeleteJobRequest\032\035.google.lon" + + "grunning.Operation\"z\312A@\n\025google.protobuf" + + ".Empty\022\'google.cloud.batch.v1.OperationM" + + "etadata\332A\004name\202\323\344\223\002**(/v1/{name=projects" + + "/*/locations/*/jobs/*}\022\354\001\n\tCancelJob\022\'.g" + + "oogle.cloud.batch.v1.CancelJobRequest\032\035." + + "google.longrunning.Operation\"\226\001\312AR\n\'goog" + + "le.cloud.batch.v1.CancelJobResponse\022\'goo" + + "gle.cloud.batch.v1.OperationMetadata\332A\004n" + + "ame\202\323\344\223\0024\"//v1/{name=projects/*/location" + + "s/*/jobs/*}:cancel:\001*\022\226\001\n\010ListJobs\022&.goo" + + "gle.cloud.batch.v1.ListJobsRequest\032\'.goo" + + "gle.cloud.batch.v1.ListJobsResponse\"9\332A\006" + + "parent\202\323\344\223\002*\022(/v1/{parent=projects/*/loc" + + "ations/*}/jobs\022\233\001\n\007GetTask\022%.google.clou" + + "d.batch.v1.GetTaskRequest\032\033.google.cloud" + + ".batch.v1.Task\"L\332A\004name\202\323\344\223\002?\022=/v1/{name" + + "=projects/*/locations/*/jobs/*/taskGroup" + + "s/*/tasks/*}\022\256\001\n\tListTasks\022\'.google.clou" + + "d.batch.v1.ListTasksRequest\032(.google.clo" + + "ud.batch.v1.ListTasksResponse\"N\332A\006parent" + + "\202\323\344\223\002?\022=/v1/{parent=projects/*/locations" + + "/*/jobs/*/taskGroups/*}/tasks\032H\312A\024batch." + + "googleapis.com\322A.https://www.googleapis." + + "com/auth/cloud-platformB\253\001\n\031com.google.c" + + "loud.batch.v1B\nBatchProtoP\001Z/cloud.googl" + + "e.com/go/batch/apiv1/batchpb;batchpb\242\002\003G" + + "CB\252\002\025Google.Cloud.Batch.V1\312\002\025Google\\Clou" + + "d\\Batch\\V1\352\002\030Google::Cloud::Batch::V1b\006p" + + "roto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -182,8 +199,22 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "Name", "Reason", "RequestId", }); - internal_static_google_cloud_batch_v1_ListJobsRequest_descriptor = + internal_static_google_cloud_batch_v1_CancelJobRequest_descriptor = getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_batch_v1_CancelJobRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_batch_v1_CancelJobRequest_descriptor, + new java.lang.String[] { + "Name", "RequestId", + }); + internal_static_google_cloud_batch_v1_CancelJobResponse_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_batch_v1_CancelJobResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_batch_v1_CancelJobResponse_descriptor, + new java.lang.String[] {}); + internal_static_google_cloud_batch_v1_ListJobsRequest_descriptor = + getDescriptor().getMessageTypes().get(5); internal_static_google_cloud_batch_v1_ListJobsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_batch_v1_ListJobsRequest_descriptor, @@ -191,7 +222,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Parent", "Filter", "OrderBy", "PageSize", "PageToken", }); internal_static_google_cloud_batch_v1_ListJobsResponse_descriptor = - getDescriptor().getMessageTypes().get(4); + getDescriptor().getMessageTypes().get(6); internal_static_google_cloud_batch_v1_ListJobsResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_batch_v1_ListJobsResponse_descriptor, @@ -199,7 +230,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Jobs", "NextPageToken", "Unreachable", }); internal_static_google_cloud_batch_v1_ListTasksRequest_descriptor = - getDescriptor().getMessageTypes().get(5); + getDescriptor().getMessageTypes().get(7); internal_static_google_cloud_batch_v1_ListTasksRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_batch_v1_ListTasksRequest_descriptor, @@ -207,7 +238,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Parent", "Filter", "PageSize", "PageToken", }); internal_static_google_cloud_batch_v1_ListTasksResponse_descriptor = - getDescriptor().getMessageTypes().get(6); + getDescriptor().getMessageTypes().get(8); internal_static_google_cloud_batch_v1_ListTasksResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_batch_v1_ListTasksResponse_descriptor, @@ -215,7 +246,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Tasks", "NextPageToken", "Unreachable", }); internal_static_google_cloud_batch_v1_GetTaskRequest_descriptor = - getDescriptor().getMessageTypes().get(7); + getDescriptor().getMessageTypes().get(9); internal_static_google_cloud_batch_v1_GetTaskRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_batch_v1_GetTaskRequest_descriptor, @@ -223,7 +254,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", }); internal_static_google_cloud_batch_v1_OperationMetadata_descriptor = - getDescriptor().getMessageTypes().get(8); + getDescriptor().getMessageTypes().get(10); internal_static_google_cloud_batch_v1_OperationMetadata_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_batch_v1_OperationMetadata_descriptor, @@ -240,6 +271,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { com.google.protobuf.ExtensionRegistry.newInstance(); registry.add(com.google.api.ClientProto.defaultHost); registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.FieldInfoProto.fieldInfo); registry.add(com.google.api.AnnotationsProto.http); registry.add(com.google.api.ClientProto.methodSignature); registry.add(com.google.api.ClientProto.oauthScopes); diff --git a/java-batch/proto-google-cloud-batch-v1/src/main/java/com/google/cloud/batch/v1/CancelJobRequest.java b/java-batch/proto-google-cloud-batch-v1/src/main/java/com/google/cloud/batch/v1/CancelJobRequest.java new file mode 100644 index 000000000000..ae70efcaa6fb --- /dev/null +++ b/java-batch/proto-google-cloud-batch-v1/src/main/java/com/google/cloud/batch/v1/CancelJobRequest.java @@ -0,0 +1,918 @@ +/* + * Copyright 2025 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/batch/v1/batch.proto + +// Protobuf Java Version: 3.25.5 +package com.google.cloud.batch.v1; + +/** + * + * + *
+ * CancelJob Request.
+ * 
+ * + * Protobuf type {@code google.cloud.batch.v1.CancelJobRequest} + */ +public final class CancelJobRequest extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.batch.v1.CancelJobRequest) + CancelJobRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use CancelJobRequest.newBuilder() to construct. + private CancelJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private CancelJobRequest() { + name_ = ""; + requestId_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new CancelJobRequest(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.batch.v1.BatchProto + .internal_static_google_cloud_batch_v1_CancelJobRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.batch.v1.BatchProto + .internal_static_google_cloud_batch_v1_CancelJobRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.batch.v1.CancelJobRequest.class, + com.google.cloud.batch.v1.CancelJobRequest.Builder.class); + } + + public static final int NAME_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object name_ = ""; + /** + * + * + *
+   * Required. Job name.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + @java.lang.Override + public java.lang.String getName() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } + } + /** + * + * + *
+   * Required. Job name.
+   * 
+ * + * + * 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() { + 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); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int REQUEST_ID_FIELD_NUMBER = 4; + + @SuppressWarnings("serial") + private volatile java.lang.Object requestId_ = ""; + /** + * + * + *
+   * Optional. An optional request ID to identify requests. Specify a unique
+   * request ID so that if you must retry your request, the server will know to
+   * ignore the request if it has already been completed. The server will
+   * guarantee that for at least 60 minutes after the first request.
+   *
+   * For example, consider a situation where you make an initial request and
+   * the request times out. If you make the request again with the same request
+   * ID, the server can check if original operation with the same request ID
+   * was received, and if so, will ignore the second request. This prevents
+   * clients from accidentally creating duplicate commitments.
+   *
+   * The request ID must be a valid UUID with the exception that zero UUID is
+   * not supported (00000000-0000-0000-0000-000000000000).
+   * 
+ * + * + * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... } + * + * + * @return The requestId. + */ + @java.lang.Override + public java.lang.String getRequestId() { + java.lang.Object ref = requestId_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + requestId_ = s; + return s; + } + } + /** + * + * + *
+   * Optional. An optional request ID to identify requests. Specify a unique
+   * request ID so that if you must retry your request, the server will know to
+   * ignore the request if it has already been completed. The server will
+   * guarantee that for at least 60 minutes after the first request.
+   *
+   * For example, consider a situation where you make an initial request and
+   * the request times out. If you make the request again with the same request
+   * ID, the server can check if original operation with the same request ID
+   * was received, and if so, will ignore the second request. This prevents
+   * clients from accidentally creating duplicate commitments.
+   *
+   * The request ID must be a valid UUID with the exception that zero UUID is
+   * not supported (00000000-0000-0000-0000-000000000000).
+   * 
+ * + * + * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... } + * + * + * @return The bytes for requestId. + */ + @java.lang.Override + 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); + requestId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, requestId_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, requestId_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.batch.v1.CancelJobRequest)) { + return super.equals(obj); + } + com.google.cloud.batch.v1.CancelJobRequest other = + (com.google.cloud.batch.v1.CancelJobRequest) obj; + + if (!getName().equals(other.getName())) return false; + if (!getRequestId().equals(other.getRequestId())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; + hash = (53 * hash) + getRequestId().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.batch.v1.CancelJobRequest parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.batch.v1.CancelJobRequest parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.batch.v1.CancelJobRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.batch.v1.CancelJobRequest parseFrom( + 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.batch.v1.CancelJobRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.batch.v1.CancelJobRequest parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.batch.v1.CancelJobRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.batch.v1.CancelJobRequest parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.batch.v1.CancelJobRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.batch.v1.CancelJobRequest parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.batch.v1.CancelJobRequest parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.batch.v1.CancelJobRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(com.google.cloud.batch.v1.CancelJobRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * CancelJob Request.
+   * 
+ * + * Protobuf type {@code google.cloud.batch.v1.CancelJobRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.batch.v1.CancelJobRequest) + com.google.cloud.batch.v1.CancelJobRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.batch.v1.BatchProto + .internal_static_google_cloud_batch_v1_CancelJobRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.batch.v1.BatchProto + .internal_static_google_cloud_batch_v1_CancelJobRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.batch.v1.CancelJobRequest.class, + com.google.cloud.batch.v1.CancelJobRequest.Builder.class); + } + + // Construct using com.google.cloud.batch.v1.CancelJobRequest.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + name_ = ""; + requestId_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.batch.v1.BatchProto + .internal_static_google_cloud_batch_v1_CancelJobRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.batch.v1.CancelJobRequest getDefaultInstanceForType() { + return com.google.cloud.batch.v1.CancelJobRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.batch.v1.CancelJobRequest build() { + com.google.cloud.batch.v1.CancelJobRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.batch.v1.CancelJobRequest buildPartial() { + com.google.cloud.batch.v1.CancelJobRequest result = + new com.google.cloud.batch.v1.CancelJobRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.batch.v1.CancelJobRequest result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.name_ = name_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.requestId_ = requestId_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.batch.v1.CancelJobRequest) { + return mergeFrom((com.google.cloud.batch.v1.CancelJobRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.batch.v1.CancelJobRequest other) { + if (other == com.google.cloud.batch.v1.CancelJobRequest.getDefaultInstance()) return this; + if (!other.getName().isEmpty()) { + name_ = other.name_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getRequestId().isEmpty()) { + requestId_ = other.requestId_; + bitField0_ |= 0x00000002; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 34: + { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 34 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object name_ = ""; + /** + * + * + *
+     * Required. Job name.
+     * 
+ * + * + * 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; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Required. Job name.
+     * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + 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); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Required. Job name.
+     * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The name to set. + * @return This builder for chaining. + */ + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + name_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+     * Required. Job name.
+     * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return This builder for chaining. + */ + public Builder clearName() { + name_ = getDefaultInstance().getName(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * + * + *
+     * Required. Job name.
+     * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The bytes for name to set. + * @return This builder for chaining. + */ + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object requestId_ = ""; + /** + * + * + *
+     * Optional. An optional request ID to identify requests. Specify a unique
+     * request ID so that if you must retry your request, the server will know to
+     * ignore the request if it has already been completed. The server will
+     * guarantee that for at least 60 minutes after the first request.
+     *
+     * For example, consider a situation where you make an initial request and
+     * the request times out. If you make the request again with the same request
+     * ID, the server can check if original operation with the same request ID
+     * was received, and if so, will ignore the second request. This prevents
+     * clients from accidentally creating duplicate commitments.
+     *
+     * The request ID must be a valid UUID with the exception that zero UUID is
+     * not supported (00000000-0000-0000-0000-000000000000).
+     * 
+ * + * + * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... } + * + * + * @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; + java.lang.String s = bs.toStringUtf8(); + requestId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Optional. An optional request ID to identify requests. Specify a unique
+     * request ID so that if you must retry your request, the server will know to
+     * ignore the request if it has already been completed. The server will
+     * guarantee that for at least 60 minutes after the first request.
+     *
+     * For example, consider a situation where you make an initial request and
+     * the request times out. If you make the request again with the same request
+     * ID, the server can check if original operation with the same request ID
+     * was received, and if so, will ignore the second request. This prevents
+     * clients from accidentally creating duplicate commitments.
+     *
+     * The request ID must be a valid UUID with the exception that zero UUID is
+     * not supported (00000000-0000-0000-0000-000000000000).
+     * 
+ * + * + * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... } + * + * + * @return The bytes for requestId. + */ + 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); + requestId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Optional. An optional request ID to identify requests. Specify a unique
+     * request ID so that if you must retry your request, the server will know to
+     * ignore the request if it has already been completed. The server will
+     * guarantee that for at least 60 minutes after the first request.
+     *
+     * For example, consider a situation where you make an initial request and
+     * the request times out. If you make the request again with the same request
+     * ID, the server can check if original operation with the same request ID
+     * was received, and if so, will ignore the second request. This prevents
+     * clients from accidentally creating duplicate commitments.
+     *
+     * The request ID must be a valid UUID with the exception that zero UUID is
+     * not supported (00000000-0000-0000-0000-000000000000).
+     * 
+ * + * + * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... } + * + * + * @param value The requestId to set. + * @return This builder for chaining. + */ + public Builder setRequestId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + requestId_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+     * Optional. An optional request ID to identify requests. Specify a unique
+     * request ID so that if you must retry your request, the server will know to
+     * ignore the request if it has already been completed. The server will
+     * guarantee that for at least 60 minutes after the first request.
+     *
+     * For example, consider a situation where you make an initial request and
+     * the request times out. If you make the request again with the same request
+     * ID, the server can check if original operation with the same request ID
+     * was received, and if so, will ignore the second request. This prevents
+     * clients from accidentally creating duplicate commitments.
+     *
+     * The request ID must be a valid UUID with the exception that zero UUID is
+     * not supported (00000000-0000-0000-0000-000000000000).
+     * 
+ * + * + * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... } + * + * + * @return This builder for chaining. + */ + public Builder clearRequestId() { + requestId_ = getDefaultInstance().getRequestId(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * + * + *
+     * Optional. An optional request ID to identify requests. Specify a unique
+     * request ID so that if you must retry your request, the server will know to
+     * ignore the request if it has already been completed. The server will
+     * guarantee that for at least 60 minutes after the first request.
+     *
+     * For example, consider a situation where you make an initial request and
+     * the request times out. If you make the request again with the same request
+     * ID, the server can check if original operation with the same request ID
+     * was received, and if so, will ignore the second request. This prevents
+     * clients from accidentally creating duplicate commitments.
+     *
+     * The request ID must be a valid UUID with the exception that zero UUID is
+     * not supported (00000000-0000-0000-0000-000000000000).
+     * 
+ * + * + * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... } + * + * + * @param value The bytes for requestId to set. + * @return This builder for chaining. + */ + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestId_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.batch.v1.CancelJobRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.batch.v1.CancelJobRequest) + private static final com.google.cloud.batch.v1.CancelJobRequest DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.batch.v1.CancelJobRequest(); + } + + public static com.google.cloud.batch.v1.CancelJobRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CancelJobRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.batch.v1.CancelJobRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-batch/proto-google-cloud-batch-v1/src/main/java/com/google/cloud/batch/v1/CancelJobRequestOrBuilder.java b/java-batch/proto-google-cloud-batch-v1/src/main/java/com/google/cloud/batch/v1/CancelJobRequestOrBuilder.java new file mode 100644 index 000000000000..935234a0b042 --- /dev/null +++ b/java-batch/proto-google-cloud-batch-v1/src/main/java/com/google/cloud/batch/v1/CancelJobRequestOrBuilder.java @@ -0,0 +1,108 @@ +/* + * Copyright 2025 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/batch/v1/batch.proto + +// Protobuf Java Version: 3.25.5 +package com.google.cloud.batch.v1; + +public interface CancelJobRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.batch.v1.CancelJobRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Job name.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. Job name.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); + + /** + * + * + *
+   * Optional. An optional request ID to identify requests. Specify a unique
+   * request ID so that if you must retry your request, the server will know to
+   * ignore the request if it has already been completed. The server will
+   * guarantee that for at least 60 minutes after the first request.
+   *
+   * For example, consider a situation where you make an initial request and
+   * the request times out. If you make the request again with the same request
+   * ID, the server can check if original operation with the same request ID
+   * was received, and if so, will ignore the second request. This prevents
+   * clients from accidentally creating duplicate commitments.
+   *
+   * The request ID must be a valid UUID with the exception that zero UUID is
+   * not supported (00000000-0000-0000-0000-000000000000).
+   * 
+ * + * + * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... } + * + * + * @return The requestId. + */ + java.lang.String getRequestId(); + /** + * + * + *
+   * Optional. An optional request ID to identify requests. Specify a unique
+   * request ID so that if you must retry your request, the server will know to
+   * ignore the request if it has already been completed. The server will
+   * guarantee that for at least 60 minutes after the first request.
+   *
+   * For example, consider a situation where you make an initial request and
+   * the request times out. If you make the request again with the same request
+   * ID, the server can check if original operation with the same request ID
+   * was received, and if so, will ignore the second request. This prevents
+   * clients from accidentally creating duplicate commitments.
+   *
+   * The request ID must be a valid UUID with the exception that zero UUID is
+   * not supported (00000000-0000-0000-0000-000000000000).
+   * 
+ * + * + * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... } + * + * + * @return The bytes for requestId. + */ + com.google.protobuf.ByteString getRequestIdBytes(); +} diff --git a/java-batch/proto-google-cloud-batch-v1/src/main/java/com/google/cloud/batch/v1/CancelJobResponse.java b/java-batch/proto-google-cloud-batch-v1/src/main/java/com/google/cloud/batch/v1/CancelJobResponse.java new file mode 100644 index 000000000000..077ff4cb2beb --- /dev/null +++ b/java-batch/proto-google-cloud-batch-v1/src/main/java/com/google/cloud/batch/v1/CancelJobResponse.java @@ -0,0 +1,431 @@ +/* + * Copyright 2025 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/batch/v1/batch.proto + +// Protobuf Java Version: 3.25.5 +package com.google.cloud.batch.v1; + +/** + * + * + *
+ * Response to the CancelJob request.
+ * 
+ * + * Protobuf type {@code google.cloud.batch.v1.CancelJobResponse} + */ +public final class CancelJobResponse extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.batch.v1.CancelJobResponse) + CancelJobResponseOrBuilder { + private static final long serialVersionUID = 0L; + // Use CancelJobResponse.newBuilder() to construct. + private CancelJobResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private CancelJobResponse() {} + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new CancelJobResponse(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.batch.v1.BatchProto + .internal_static_google_cloud_batch_v1_CancelJobResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.batch.v1.BatchProto + .internal_static_google_cloud_batch_v1_CancelJobResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.batch.v1.CancelJobResponse.class, + com.google.cloud.batch.v1.CancelJobResponse.Builder.class); + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.batch.v1.CancelJobResponse)) { + return super.equals(obj); + } + com.google.cloud.batch.v1.CancelJobResponse other = + (com.google.cloud.batch.v1.CancelJobResponse) obj; + + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.batch.v1.CancelJobResponse parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.batch.v1.CancelJobResponse parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.batch.v1.CancelJobResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.batch.v1.CancelJobResponse parseFrom( + 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.batch.v1.CancelJobResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.batch.v1.CancelJobResponse parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.batch.v1.CancelJobResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.batch.v1.CancelJobResponse parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.batch.v1.CancelJobResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.batch.v1.CancelJobResponse parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.batch.v1.CancelJobResponse parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.batch.v1.CancelJobResponse parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(com.google.cloud.batch.v1.CancelJobResponse prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * Response to the CancelJob request.
+   * 
+ * + * Protobuf type {@code google.cloud.batch.v1.CancelJobResponse} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.batch.v1.CancelJobResponse) + com.google.cloud.batch.v1.CancelJobResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.batch.v1.BatchProto + .internal_static_google_cloud_batch_v1_CancelJobResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.batch.v1.BatchProto + .internal_static_google_cloud_batch_v1_CancelJobResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.batch.v1.CancelJobResponse.class, + com.google.cloud.batch.v1.CancelJobResponse.Builder.class); + } + + // Construct using com.google.cloud.batch.v1.CancelJobResponse.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.batch.v1.BatchProto + .internal_static_google_cloud_batch_v1_CancelJobResponse_descriptor; + } + + @java.lang.Override + public com.google.cloud.batch.v1.CancelJobResponse getDefaultInstanceForType() { + return com.google.cloud.batch.v1.CancelJobResponse.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.batch.v1.CancelJobResponse build() { + com.google.cloud.batch.v1.CancelJobResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.batch.v1.CancelJobResponse buildPartial() { + com.google.cloud.batch.v1.CancelJobResponse result = + new com.google.cloud.batch.v1.CancelJobResponse(this); + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.batch.v1.CancelJobResponse) { + return mergeFrom((com.google.cloud.batch.v1.CancelJobResponse) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.batch.v1.CancelJobResponse other) { + if (other == com.google.cloud.batch.v1.CancelJobResponse.getDefaultInstance()) return this; + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.batch.v1.CancelJobResponse) + } + + // @@protoc_insertion_point(class_scope:google.cloud.batch.v1.CancelJobResponse) + private static final com.google.cloud.batch.v1.CancelJobResponse DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.batch.v1.CancelJobResponse(); + } + + public static com.google.cloud.batch.v1.CancelJobResponse getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CancelJobResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.batch.v1.CancelJobResponse getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-batch/proto-google-cloud-batch-v1/src/main/java/com/google/cloud/batch/v1/CancelJobResponseOrBuilder.java b/java-batch/proto-google-cloud-batch-v1/src/main/java/com/google/cloud/batch/v1/CancelJobResponseOrBuilder.java new file mode 100644 index 000000000000..a244cf00005d --- /dev/null +++ b/java-batch/proto-google-cloud-batch-v1/src/main/java/com/google/cloud/batch/v1/CancelJobResponseOrBuilder.java @@ -0,0 +1,25 @@ +/* + * Copyright 2025 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/batch/v1/batch.proto + +// Protobuf Java Version: 3.25.5 +package com.google.cloud.batch.v1; + +public interface CancelJobResponseOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.batch.v1.CancelJobResponse) + com.google.protobuf.MessageOrBuilder {} diff --git a/java-batch/proto-google-cloud-batch-v1/src/main/java/com/google/cloud/batch/v1/JobProto.java b/java-batch/proto-google-cloud-batch-v1/src/main/java/com/google/cloud/batch/v1/JobProto.java index 7a1c1f00b407..4587ff42f302 100644 --- a/java-batch/proto-google-cloud-batch-v1/src/main/java/com/google/cloud/batch/v1/JobProto.java +++ b/java-batch/proto-google-cloud-batch-v1/src/main/java/com/google/cloud/batch/v1/JobProto.java @@ -163,7 +163,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "gOption\0220\n#use_generic_task_monitored_re" + "source\030\001 \001(\010B\003\340A\001\"G\n\013Destination\022\033\n\027DEST" + "INATION_UNSPECIFIED\020\000\022\021\n\rCLOUD_LOGGING\020\001" - + "\022\010\n\004PATH\020\002\"\200\007\n\tJobStatus\0225\n\005state\030\001 \001(\0162" + + "\022\010\n\004PATH\020\002\"\256\007\n\tJobStatus\0225\n\005state\030\001 \001(\0162" + "&.google.cloud.batch.v1.JobStatus.State\022" + "9\n\rstatus_events\030\002 \003(\0132\".google.cloud.ba" + "tch.v1.StatusEvent\022E\n\013task_groups\030\004 \003(\0132" @@ -182,88 +182,90 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "CountsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\003:" + "\0028\001\032c\n\017TaskGroupsEntry\022\013\n\003key\030\001 \001(\t\022?\n\005v" + "alue\030\002 \001(\01320.google.cloud.batch.v1.JobSt" - + "atus.TaskGroupStatus:\0028\001\"{\n\005State\022\025\n\021STA" - + "TE_UNSPECIFIED\020\000\022\n\n\006QUEUED\020\001\022\r\n\tSCHEDULE" - + "D\020\002\022\013\n\007RUNNING\020\003\022\r\n\tSUCCEEDED\020\004\022\n\n\006FAILE" - + "D\020\005\022\030\n\024DELETION_IN_PROGRESS\020\006\"\374\002\n\017JobNot" - + "ification\022\024\n\014pubsub_topic\030\001 \001(\t\022?\n\007messa" - + "ge\030\002 \001(\0132..google.cloud.batch.v1.JobNoti" - + "fication.Message\032\304\001\n\007Message\0229\n\004type\030\001 \001" - + "(\0162+.google.cloud.batch.v1.JobNotificati" - + "on.Type\022=\n\rnew_job_state\030\002 \001(\0162&.google." - + "cloud.batch.v1.JobStatus.State\022?\n\016new_ta" - + "sk_state\030\003 \001(\0162\'.google.cloud.batch.v1.T" - + "askStatus.State\"K\n\004Type\022\024\n\020TYPE_UNSPECIF" - + "IED\020\000\022\025\n\021JOB_STATE_CHANGED\020\001\022\026\n\022TASK_STA" - + "TE_CHANGED\020\002\"\201\017\n\020AllocationPolicy\022H\n\010loc" - + "ation\030\001 \001(\01326.google.cloud.batch.v1.Allo" - + "cationPolicy.LocationPolicy\022S\n\tinstances" - + "\030\010 \003(\0132@.google.cloud.batch.v1.Allocatio" - + "nPolicy.InstancePolicyOrTemplate\022>\n\017serv" - + "ice_account\030\t \001(\0132%.google.cloud.batch.v" - + "1.ServiceAccount\022C\n\006labels\030\006 \003(\01323.googl" - + "e.cloud.batch.v1.AllocationPolicy.Labels" - + "Entry\022F\n\007network\030\007 \001(\01325.google.cloud.ba" - + "tch.v1.AllocationPolicy.NetworkPolicy\022J\n" - + "\tplacement\030\n \001(\01327.google.cloud.batch.v1" - + ".AllocationPolicy.PlacementPolicy\022\021\n\004tag" - + "s\030\013 \003(\tB\003\340A\001\032+\n\016LocationPolicy\022\031\n\021allowe" - + "d_locations\030\001 \003(\t\032q\n\004Disk\022\017\n\005image\030\004 \001(\t" - + "H\000\022\022\n\010snapshot\030\005 \001(\tH\000\022\014\n\004type\030\001 \001(\t\022\017\n\007" - + "size_gb\030\002 \001(\003\022\026\n\016disk_interface\030\006 \001(\tB\r\n" - + "\013data_source\032\212\001\n\014AttachedDisk\022@\n\010new_dis" - + "k\030\001 \001(\0132,.google.cloud.batch.v1.Allocati" - + "onPolicy.DiskH\000\022\027\n\rexisting_disk\030\002 \001(\tH\000" - + "\022\023\n\013device_name\030\003 \001(\tB\n\n\010attached\032h\n\013Acc" - + "elerator\022\014\n\004type\030\001 \001(\t\022\r\n\005count\030\002 \001(\003\022\037\n" - + "\023install_gpu_drivers\030\003 \001(\010B\002\030\001\022\033\n\016driver" - + "_version\030\004 \001(\tB\003\340A\001\032\202\003\n\016InstancePolicy\022\024" - + "\n\014machine_type\030\002 \001(\t\022\030\n\020min_cpu_platform" - + "\030\003 \001(\t\022U\n\022provisioning_model\030\004 \001(\01629.goo" - + "gle.cloud.batch.v1.AllocationPolicy.Prov" - + "isioningModel\022I\n\014accelerators\030\005 \003(\01323.go" - + "ogle.cloud.batch.v1.AllocationPolicy.Acc" - + "elerator\022?\n\tboot_disk\030\010 \001(\0132,.google.clo" - + "ud.batch.v1.AllocationPolicy.Disk\022C\n\005dis" - + "ks\030\006 \003(\01324.google.cloud.batch.v1.Allocat" - + "ionPolicy.AttachedDisk\022\030\n\013reservation\030\007 " - + "\001(\tB\003\340A\001\032\366\001\n\030InstancePolicyOrTemplate\022H\n" - + "\006policy\030\001 \001(\01326.google.cloud.batch.v1.Al" - + "locationPolicy.InstancePolicyH\000\022\033\n\021insta" - + "nce_template\030\002 \001(\tH\000\022\033\n\023install_gpu_driv" - + "ers\030\003 \001(\010\022\036\n\021install_ops_agent\030\004 \001(\010B\003\340A" - + "\001\022#\n\026block_project_ssh_keys\030\005 \001(\010B\003\340A\001B\021" - + "\n\017policy_template\032W\n\020NetworkInterface\022\017\n" - + "\007network\030\001 \001(\t\022\022\n\nsubnetwork\030\002 \001(\t\022\036\n\026no" - + "_external_ip_address\030\003 \001(\010\032e\n\rNetworkPol" - + "icy\022T\n\022network_interfaces\030\001 \003(\01328.google" - + ".cloud.batch.v1.AllocationPolicy.Network" - + "Interface\032<\n\017PlacementPolicy\022\023\n\013collocat" - + "ion\030\001 \001(\t\022\024\n\014max_distance\030\002 \001(\003\032-\n\013Label" - + "sEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"`" - + "\n\021ProvisioningModel\022\"\n\036PROVISIONING_MODE" - + "L_UNSPECIFIED\020\000\022\014\n\010STANDARD\020\001\022\010\n\004SPOT\020\002\022" - + "\017\n\013PREEMPTIBLE\020\003\"\313\004\n\tTaskGroup\022\021\n\004name\030\001" - + " \001(\tB\003\340A\003\0227\n\ttask_spec\030\003 \001(\0132\037.google.cl" - + "oud.batch.v1.TaskSpecB\003\340A\002\022\022\n\ntask_count" - + "\030\004 \001(\003\022\023\n\013parallelism\030\005 \001(\003\022L\n\021schedulin" - + "g_policy\030\006 \001(\01621.google.cloud.batch.v1.T" - + "askGroup.SchedulingPolicy\022=\n\021task_enviro" - + "nments\030\t \003(\0132\".google.cloud.batch.v1.Env" - + "ironment\022\033\n\023task_count_per_node\030\n \001(\003\022\032\n" - + "\022require_hosts_file\030\013 \001(\010\022\026\n\016permissive_" - + "ssh\030\014 \001(\010\022\034\n\017run_as_non_root\030\016 \001(\010B\003\340A\001\"" - + "\\\n\020SchedulingPolicy\022!\n\035SCHEDULING_POLICY" - + "_UNSPECIFIED\020\000\022\027\n\023AS_SOON_AS_POSSIBLE\020\001\022" - + "\014\n\010IN_ORDER\020\002:o\352Al\n\036batch.googleapis.com" - + "/TaskGroup\022Jprojects/{project}/locations" - + "/{location}/jobs/{job}/taskGroups/{task_" - + "group}\"/\n\016ServiceAccount\022\r\n\005email\030\001 \001(\t\022" - + "\016\n\006scopes\030\002 \003(\tB\251\001\n\031com.google.cloud.bat" - + "ch.v1B\010JobProtoP\001Z/cloud.google.com/go/b" - + "atch/apiv1/batchpb;batchpb\242\002\003GCB\252\002\025Googl" - + "e.Cloud.Batch.V1\312\002\025Google\\Cloud\\Batch\\V1" - + "\352\002\030Google::Cloud::Batch::V1b\006proto3" + + "atus.TaskGroupStatus:\0028\001\"\250\001\n\005State\022\025\n\021ST" + + "ATE_UNSPECIFIED\020\000\022\n\n\006QUEUED\020\001\022\r\n\tSCHEDUL" + + "ED\020\002\022\013\n\007RUNNING\020\003\022\r\n\tSUCCEEDED\020\004\022\n\n\006FAIL" + + "ED\020\005\022\030\n\024DELETION_IN_PROGRESS\020\006\022\034\n\030CANCEL" + + "LATION_IN_PROGRESS\020\007\022\r\n\tCANCELLED\020\010\"\374\002\n\017" + + "JobNotification\022\024\n\014pubsub_topic\030\001 \001(\t\022?\n" + + "\007message\030\002 \001(\0132..google.cloud.batch.v1.J" + + "obNotification.Message\032\304\001\n\007Message\0229\n\004ty" + + "pe\030\001 \001(\0162+.google.cloud.batch.v1.JobNoti" + + "fication.Type\022=\n\rnew_job_state\030\002 \001(\0162&.g" + + "oogle.cloud.batch.v1.JobStatus.State\022?\n\016" + + "new_task_state\030\003 \001(\0162\'.google.cloud.batc" + + "h.v1.TaskStatus.State\"K\n\004Type\022\024\n\020TYPE_UN" + + "SPECIFIED\020\000\022\025\n\021JOB_STATE_CHANGED\020\001\022\026\n\022TA" + + "SK_STATE_CHANGED\020\002\"\201\017\n\020AllocationPolicy\022" + + "H\n\010location\030\001 \001(\01326.google.cloud.batch.v" + + "1.AllocationPolicy.LocationPolicy\022S\n\tins" + + "tances\030\010 \003(\0132@.google.cloud.batch.v1.All" + + "ocationPolicy.InstancePolicyOrTemplate\022>" + + "\n\017service_account\030\t \001(\0132%.google.cloud.b" + + "atch.v1.ServiceAccount\022C\n\006labels\030\006 \003(\01323" + + ".google.cloud.batch.v1.AllocationPolicy." + + "LabelsEntry\022F\n\007network\030\007 \001(\01325.google.cl" + + "oud.batch.v1.AllocationPolicy.NetworkPol" + + "icy\022J\n\tplacement\030\n \001(\01327.google.cloud.ba" + + "tch.v1.AllocationPolicy.PlacementPolicy\022" + + "\021\n\004tags\030\013 \003(\tB\003\340A\001\032+\n\016LocationPolicy\022\031\n\021" + + "allowed_locations\030\001 \003(\t\032q\n\004Disk\022\017\n\005image" + + "\030\004 \001(\tH\000\022\022\n\010snapshot\030\005 \001(\tH\000\022\014\n\004type\030\001 \001" + + "(\t\022\017\n\007size_gb\030\002 \001(\003\022\026\n\016disk_interface\030\006 " + + "\001(\tB\r\n\013data_source\032\212\001\n\014AttachedDisk\022@\n\010n" + + "ew_disk\030\001 \001(\0132,.google.cloud.batch.v1.Al" + + "locationPolicy.DiskH\000\022\027\n\rexisting_disk\030\002" + + " \001(\tH\000\022\023\n\013device_name\030\003 \001(\tB\n\n\010attached\032" + + "h\n\013Accelerator\022\014\n\004type\030\001 \001(\t\022\r\n\005count\030\002 " + + "\001(\003\022\037\n\023install_gpu_drivers\030\003 \001(\010B\002\030\001\022\033\n\016" + + "driver_version\030\004 \001(\tB\003\340A\001\032\202\003\n\016InstancePo" + + "licy\022\024\n\014machine_type\030\002 \001(\t\022\030\n\020min_cpu_pl" + + "atform\030\003 \001(\t\022U\n\022provisioning_model\030\004 \001(\016" + + "29.google.cloud.batch.v1.AllocationPolic" + + "y.ProvisioningModel\022I\n\014accelerators\030\005 \003(" + + "\01323.google.cloud.batch.v1.AllocationPoli" + + "cy.Accelerator\022?\n\tboot_disk\030\010 \001(\0132,.goog" + + "le.cloud.batch.v1.AllocationPolicy.Disk\022" + + "C\n\005disks\030\006 \003(\01324.google.cloud.batch.v1.A" + + "llocationPolicy.AttachedDisk\022\030\n\013reservat" + + "ion\030\007 \001(\tB\003\340A\001\032\366\001\n\030InstancePolicyOrTempl" + + "ate\022H\n\006policy\030\001 \001(\01326.google.cloud.batch" + + ".v1.AllocationPolicy.InstancePolicyH\000\022\033\n" + + "\021instance_template\030\002 \001(\tH\000\022\033\n\023install_gp" + + "u_drivers\030\003 \001(\010\022\036\n\021install_ops_agent\030\004 \001" + + "(\010B\003\340A\001\022#\n\026block_project_ssh_keys\030\005 \001(\010B" + + "\003\340A\001B\021\n\017policy_template\032W\n\020NetworkInterf" + + "ace\022\017\n\007network\030\001 \001(\t\022\022\n\nsubnetwork\030\002 \001(\t" + + "\022\036\n\026no_external_ip_address\030\003 \001(\010\032e\n\rNetw" + + "orkPolicy\022T\n\022network_interfaces\030\001 \003(\01328." + + "google.cloud.batch.v1.AllocationPolicy.N" + + "etworkInterface\032<\n\017PlacementPolicy\022\023\n\013co" + + "llocation\030\001 \001(\t\022\024\n\014max_distance\030\002 \001(\003\032-\n" + + "\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t" + + ":\0028\001\"`\n\021ProvisioningModel\022\"\n\036PROVISIONIN" + + "G_MODEL_UNSPECIFIED\020\000\022\014\n\010STANDARD\020\001\022\010\n\004S" + + "POT\020\002\022\017\n\013PREEMPTIBLE\020\003\"\313\004\n\tTaskGroup\022\021\n\004" + + "name\030\001 \001(\tB\003\340A\003\0227\n\ttask_spec\030\003 \001(\0132\037.goo" + + "gle.cloud.batch.v1.TaskSpecB\003\340A\002\022\022\n\ntask" + + "_count\030\004 \001(\003\022\023\n\013parallelism\030\005 \001(\003\022L\n\021sch" + + "eduling_policy\030\006 \001(\01621.google.cloud.batc" + + "h.v1.TaskGroup.SchedulingPolicy\022=\n\021task_" + + "environments\030\t \003(\0132\".google.cloud.batch." + + "v1.Environment\022\033\n\023task_count_per_node\030\n " + + "\001(\003\022\032\n\022require_hosts_file\030\013 \001(\010\022\026\n\016permi" + + "ssive_ssh\030\014 \001(\010\022\034\n\017run_as_non_root\030\016 \001(\010" + + "B\003\340A\001\"\\\n\020SchedulingPolicy\022!\n\035SCHEDULING_" + + "POLICY_UNSPECIFIED\020\000\022\027\n\023AS_SOON_AS_POSSI" + + "BLE\020\001\022\014\n\010IN_ORDER\020\002:o\352Al\n\036batch.googleap" + + "is.com/TaskGroup\022Jprojects/{project}/loc" + + "ations/{location}/jobs/{job}/taskGroups/" + + "{task_group}\"/\n\016ServiceAccount\022\r\n\005email\030" + + "\001 \001(\t\022\016\n\006scopes\030\002 \003(\tB\251\001\n\031com.google.clo" + + "ud.batch.v1B\010JobProtoP\001Z/cloud.google.co" + + "m/go/batch/apiv1/batchpb;batchpb\242\002\003GCB\252\002" + + "\025Google.Cloud.Batch.V1\312\002\025Google\\Cloud\\Ba" + + "tch\\V1\352\002\030Google::Cloud::Batch::V1b\006proto" + + "3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-batch/proto-google-cloud-batch-v1/src/main/java/com/google/cloud/batch/v1/JobStatus.java b/java-batch/proto-google-cloud-batch-v1/src/main/java/com/google/cloud/batch/v1/JobStatus.java index f1e39e481861..052d712609ee 100644 --- a/java-batch/proto-google-cloud-batch-v1/src/main/java/com/google/cloud/batch/v1/JobStatus.java +++ b/java-batch/proto-google-cloud-batch-v1/src/main/java/com/google/cloud/batch/v1/JobStatus.java @@ -160,6 +160,28 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { * DELETION_IN_PROGRESS = 6; */ DELETION_IN_PROGRESS(6), + /** + * + * + *
+     * The Job cancellation is in progress, this is because the resources used
+     * by the Job are still being cleaned up.
+     * 
+ * + * CANCELLATION_IN_PROGRESS = 7; + */ + CANCELLATION_IN_PROGRESS(7), + /** + * + * + *
+     * The Job has been cancelled, the task executions were stopped and the
+     * resources were cleaned up.
+     * 
+ * + * CANCELLED = 8; + */ + CANCELLED(8), UNRECOGNIZED(-1), ; @@ -237,6 +259,28 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { * DELETION_IN_PROGRESS = 6; */ public static final int DELETION_IN_PROGRESS_VALUE = 6; + /** + * + * + *
+     * The Job cancellation is in progress, this is because the resources used
+     * by the Job are still being cleaned up.
+     * 
+ * + * CANCELLATION_IN_PROGRESS = 7; + */ + public static final int CANCELLATION_IN_PROGRESS_VALUE = 7; + /** + * + * + *
+     * The Job has been cancelled, the task executions were stopped and the
+     * resources were cleaned up.
+     * 
+ * + * CANCELLED = 8; + */ + public static final int CANCELLED_VALUE = 8; public final int getNumber() { if (this == UNRECOGNIZED) { @@ -276,6 +320,10 @@ public static State forNumber(int value) { return FAILED; case 6: return DELETION_IN_PROGRESS; + case 7: + return CANCELLATION_IN_PROGRESS; + case 8: + return CANCELLED; default: return null; } diff --git a/java-batch/proto-google-cloud-batch-v1/src/main/proto/google/cloud/batch/v1/batch.proto b/java-batch/proto-google-cloud-batch-v1/src/main/proto/google/cloud/batch/v1/batch.proto index 91b902cdb181..ddc2fd50d484 100644 --- a/java-batch/proto-google-cloud-batch-v1/src/main/proto/google/cloud/batch/v1/batch.proto +++ b/java-batch/proto-google-cloud-batch-v1/src/main/proto/google/cloud/batch/v1/batch.proto @@ -73,6 +73,19 @@ service BatchService { }; } + // Cancel a Job. + rpc CancelJob(CancelJobRequest) returns (google.longrunning.Operation) { + option (google.api.http) = { + post: "/v1/{name=projects/*/locations/*/jobs/*}:cancel" + body: "*" + }; + option (google.api.method_signature) = "name"; + option (google.longrunning.operation_info) = { + response_type: "google.cloud.batch.v1.CancelJobResponse" + metadata_type: "google.cloud.batch.v1.OperationMetadata" + }; + } + // List all Jobs for a project within a region. rpc ListJobs(ListJobsRequest) returns (ListJobsResponse) { option (google.api.http) = { @@ -170,6 +183,36 @@ message DeleteJobRequest { string request_id = 4 [(google.api.field_behavior) = OPTIONAL]; } +// CancelJob Request. +message CancelJobRequest { + // Required. Job name. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { type: "batch.googleapis.com/Job" } + ]; + + // Optional. An optional request ID to identify requests. Specify a unique + // request ID so that if you must retry your request, the server will know to + // ignore the request if it has already been completed. The server will + // guarantee that for at least 60 minutes after the first request. + // + // For example, consider a situation where you make an initial request and + // the request times out. If you make the request again with the same request + // ID, the server can check if original operation with the same request ID + // was received, and if so, will ignore the second request. This prevents + // clients from accidentally creating duplicate commitments. + // + // The request ID must be a valid UUID with the exception that zero UUID is + // not supported (00000000-0000-0000-0000-000000000000). + string request_id = 4 [ + (google.api.field_info).format = UUID4, + (google.api.field_behavior) = OPTIONAL + ]; +} + +// Response to the CancelJob request. +message CancelJobResponse {} + // ListJob Request. message ListJobsRequest { // Parent path. diff --git a/java-batch/proto-google-cloud-batch-v1/src/main/proto/google/cloud/batch/v1/job.proto b/java-batch/proto-google-cloud-batch-v1/src/main/proto/google/cloud/batch/v1/job.proto index a215c35b837a..1690b2ba29fa 100644 --- a/java-batch/proto-google-cloud-batch-v1/src/main/proto/google/cloud/batch/v1/job.proto +++ b/java-batch/proto-google-cloud-batch-v1/src/main/proto/google/cloud/batch/v1/job.proto @@ -195,6 +195,14 @@ message JobStatus { // The Job will be deleted, but has not been deleted yet. Typically this is // because resources used by the Job are still being cleaned up. DELETION_IN_PROGRESS = 6; + + // The Job cancellation is in progress, this is because the resources used + // by the Job are still being cleaned up. + CANCELLATION_IN_PROGRESS = 7; + + // The Job has been cancelled, the task executions were stopped and the + // resources were cleaned up. + CANCELLED = 8; } // Job state diff --git a/java-batch/samples/snippets/generated/com/google/cloud/batch/v1/batchservice/canceljob/AsyncCancelJob.java b/java-batch/samples/snippets/generated/com/google/cloud/batch/v1/batchservice/canceljob/AsyncCancelJob.java new file mode 100644 index 000000000000..1d2bc19c75d0 --- /dev/null +++ b/java-batch/samples/snippets/generated/com/google/cloud/batch/v1/batchservice/canceljob/AsyncCancelJob.java @@ -0,0 +1,50 @@ +/* + * Copyright 2025 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.batch.v1.samples; + +// [START batch_v1_generated_BatchService_CancelJob_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.batch.v1.BatchServiceClient; +import com.google.cloud.batch.v1.CancelJobRequest; +import com.google.cloud.batch.v1.JobName; +import com.google.longrunning.Operation; + +public class AsyncCancelJob { + + public static void main(String[] args) throws Exception { + asyncCancelJob(); + } + + public static void asyncCancelJob() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (BatchServiceClient batchServiceClient = BatchServiceClient.create()) { + CancelJobRequest request = + CancelJobRequest.newBuilder() + .setName(JobName.of("[PROJECT]", "[LOCATION]", "[JOB]").toString()) + .setRequestId("requestId693933066") + .build(); + ApiFuture future = batchServiceClient.cancelJobCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END batch_v1_generated_BatchService_CancelJob_async] diff --git a/java-batch/samples/snippets/generated/com/google/cloud/batch/v1/batchservice/canceljob/AsyncCancelJobLRO.java b/java-batch/samples/snippets/generated/com/google/cloud/batch/v1/batchservice/canceljob/AsyncCancelJobLRO.java new file mode 100644 index 000000000000..7811f0613cc2 --- /dev/null +++ b/java-batch/samples/snippets/generated/com/google/cloud/batch/v1/batchservice/canceljob/AsyncCancelJobLRO.java @@ -0,0 +1,52 @@ +/* + * Copyright 2025 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.batch.v1.samples; + +// [START batch_v1_generated_BatchService_CancelJob_LRO_async] +import com.google.api.gax.longrunning.OperationFuture; +import com.google.cloud.batch.v1.BatchServiceClient; +import com.google.cloud.batch.v1.CancelJobRequest; +import com.google.cloud.batch.v1.CancelJobResponse; +import com.google.cloud.batch.v1.JobName; +import com.google.cloud.batch.v1.OperationMetadata; + +public class AsyncCancelJobLRO { + + public static void main(String[] args) throws Exception { + asyncCancelJobLRO(); + } + + public static void asyncCancelJobLRO() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (BatchServiceClient batchServiceClient = BatchServiceClient.create()) { + CancelJobRequest request = + CancelJobRequest.newBuilder() + .setName(JobName.of("[PROJECT]", "[LOCATION]", "[JOB]").toString()) + .setRequestId("requestId693933066") + .build(); + OperationFuture future = + batchServiceClient.cancelJobOperationCallable().futureCall(request); + // Do something. + CancelJobResponse response = future.get(); + } + } +} +// [END batch_v1_generated_BatchService_CancelJob_LRO_async] diff --git a/java-batch/samples/snippets/generated/com/google/cloud/batch/v1/batchservice/canceljob/SyncCancelJob.java b/java-batch/samples/snippets/generated/com/google/cloud/batch/v1/batchservice/canceljob/SyncCancelJob.java new file mode 100644 index 000000000000..1f26bc648bf7 --- /dev/null +++ b/java-batch/samples/snippets/generated/com/google/cloud/batch/v1/batchservice/canceljob/SyncCancelJob.java @@ -0,0 +1,47 @@ +/* + * Copyright 2025 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.batch.v1.samples; + +// [START batch_v1_generated_BatchService_CancelJob_sync] +import com.google.cloud.batch.v1.BatchServiceClient; +import com.google.cloud.batch.v1.CancelJobRequest; +import com.google.cloud.batch.v1.CancelJobResponse; +import com.google.cloud.batch.v1.JobName; + +public class SyncCancelJob { + + public static void main(String[] args) throws Exception { + syncCancelJob(); + } + + public static void syncCancelJob() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (BatchServiceClient batchServiceClient = BatchServiceClient.create()) { + CancelJobRequest request = + CancelJobRequest.newBuilder() + .setName(JobName.of("[PROJECT]", "[LOCATION]", "[JOB]").toString()) + .setRequestId("requestId693933066") + .build(); + CancelJobResponse response = batchServiceClient.cancelJobAsync(request).get(); + } + } +} +// [END batch_v1_generated_BatchService_CancelJob_sync] diff --git a/java-batch/samples/snippets/generated/com/google/cloud/batch/v1/batchservice/canceljob/SyncCancelJobJobname.java b/java-batch/samples/snippets/generated/com/google/cloud/batch/v1/batchservice/canceljob/SyncCancelJobJobname.java new file mode 100644 index 000000000000..047dd5fafbed --- /dev/null +++ b/java-batch/samples/snippets/generated/com/google/cloud/batch/v1/batchservice/canceljob/SyncCancelJobJobname.java @@ -0,0 +1,42 @@ +/* + * Copyright 2025 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.batch.v1.samples; + +// [START batch_v1_generated_BatchService_CancelJob_Jobname_sync] +import com.google.cloud.batch.v1.BatchServiceClient; +import com.google.cloud.batch.v1.CancelJobResponse; +import com.google.cloud.batch.v1.JobName; + +public class SyncCancelJobJobname { + + public static void main(String[] args) throws Exception { + syncCancelJobJobname(); + } + + public static void syncCancelJobJobname() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (BatchServiceClient batchServiceClient = BatchServiceClient.create()) { + JobName name = JobName.of("[PROJECT]", "[LOCATION]", "[JOB]"); + CancelJobResponse response = batchServiceClient.cancelJobAsync(name).get(); + } + } +} +// [END batch_v1_generated_BatchService_CancelJob_Jobname_sync] diff --git a/java-batch/samples/snippets/generated/com/google/cloud/batch/v1/batchservice/canceljob/SyncCancelJobString.java b/java-batch/samples/snippets/generated/com/google/cloud/batch/v1/batchservice/canceljob/SyncCancelJobString.java new file mode 100644 index 000000000000..3067d8fad8ce --- /dev/null +++ b/java-batch/samples/snippets/generated/com/google/cloud/batch/v1/batchservice/canceljob/SyncCancelJobString.java @@ -0,0 +1,42 @@ +/* + * Copyright 2025 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.batch.v1.samples; + +// [START batch_v1_generated_BatchService_CancelJob_String_sync] +import com.google.cloud.batch.v1.BatchServiceClient; +import com.google.cloud.batch.v1.CancelJobResponse; +import com.google.cloud.batch.v1.JobName; + +public class SyncCancelJobString { + + public static void main(String[] args) throws Exception { + syncCancelJobString(); + } + + public static void syncCancelJobString() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (BatchServiceClient batchServiceClient = BatchServiceClient.create()) { + String name = JobName.of("[PROJECT]", "[LOCATION]", "[JOB]").toString(); + CancelJobResponse response = batchServiceClient.cancelJobAsync(name).get(); + } + } +} +// [END batch_v1_generated_BatchService_CancelJob_String_sync] diff --git a/java-deploy/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/stub/HttpJsonCloudDeployStub.java b/java-deploy/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/stub/HttpJsonCloudDeployStub.java index 6add396312d7..9a88054b0832 100644 --- a/java-deploy/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/stub/HttpJsonCloudDeployStub.java +++ b/java-deploy/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/stub/HttpJsonCloudDeployStub.java @@ -2037,7 +2037,8 @@ public class HttpJsonCloudDeployStub extends CloudDeployStub { }) .setAdditionalPaths( "/v1/{resource=projects/*/locations/*/targets/*}:setIamPolicy", - "/v1/{resource=projects/*/locations/*/customTargetTypes/*}:setIamPolicy") + "/v1/{resource=projects/*/locations/*/customTargetTypes/*}:setIamPolicy", + "/v1/{resource=projects/*/locations/*/deployPolicies/*}:setIamPolicy") .setQueryParamsExtractor( request -> { Map> fields = new HashMap<>(); @@ -2077,7 +2078,8 @@ public class HttpJsonCloudDeployStub extends CloudDeployStub { }) .setAdditionalPaths( "/v1/{resource=projects/*/locations/*/targets/*}:getIamPolicy", - "/v1/{resource=projects/*/locations/*/customTargetTypes/*}:getIamPolicy") + "/v1/{resource=projects/*/locations/*/customTargetTypes/*}:getIamPolicy", + "/v1/{resource=projects/*/locations/*/deployPolicies/*}:getIamPolicy") .setQueryParamsExtractor( request -> { Map> fields = new HashMap<>(); diff --git a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AutomationResourceSelector.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AutomationResourceSelector.java index 9186906e753e..acd945a4d9f7 100644 --- a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AutomationResourceSelector.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AutomationResourceSelector.java @@ -72,10 +72,12 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Contains attributes about a target.
+   * Optional. Contains attributes about a target.
    * 
* - * repeated .google.cloud.deploy.v1.TargetAttribute targets = 1; + * + * repeated .google.cloud.deploy.v1.TargetAttribute targets = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public java.util.List getTargetsList() { @@ -85,10 +87,12 @@ public java.util.List getTargetsList * * *
-   * Contains attributes about a target.
+   * Optional. Contains attributes about a target.
    * 
* - * repeated .google.cloud.deploy.v1.TargetAttribute targets = 1; + * + * repeated .google.cloud.deploy.v1.TargetAttribute targets = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public java.util.List @@ -99,10 +103,12 @@ public java.util.List getTargetsList * * *
-   * Contains attributes about a target.
+   * Optional. Contains attributes about a target.
    * 
* - * repeated .google.cloud.deploy.v1.TargetAttribute targets = 1; + * + * repeated .google.cloud.deploy.v1.TargetAttribute targets = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public int getTargetsCount() { @@ -112,10 +118,12 @@ public int getTargetsCount() { * * *
-   * Contains attributes about a target.
+   * Optional. Contains attributes about a target.
    * 
* - * repeated .google.cloud.deploy.v1.TargetAttribute targets = 1; + * + * repeated .google.cloud.deploy.v1.TargetAttribute targets = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.TargetAttribute getTargets(int index) { @@ -125,10 +133,12 @@ public com.google.cloud.deploy.v1.TargetAttribute getTargets(int index) { * * *
-   * Contains attributes about a target.
+   * Optional. Contains attributes about a target.
    * 
* - * repeated .google.cloud.deploy.v1.TargetAttribute targets = 1; + * + * repeated .google.cloud.deploy.v1.TargetAttribute targets = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.TargetAttributeOrBuilder getTargetsOrBuilder(int index) { @@ -547,10 +557,12 @@ private void ensureTargetsIsMutable() { * * *
-     * Contains attributes about a target.
+     * Optional. Contains attributes about a target.
      * 
* - * repeated .google.cloud.deploy.v1.TargetAttribute targets = 1; + * + * repeated .google.cloud.deploy.v1.TargetAttribute targets = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public java.util.List getTargetsList() { if (targetsBuilder_ == null) { @@ -563,10 +575,12 @@ public java.util.List getTargetsList * * *
-     * Contains attributes about a target.
+     * Optional. Contains attributes about a target.
      * 
* - * repeated .google.cloud.deploy.v1.TargetAttribute targets = 1; + * + * repeated .google.cloud.deploy.v1.TargetAttribute targets = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public int getTargetsCount() { if (targetsBuilder_ == null) { @@ -579,10 +593,12 @@ public int getTargetsCount() { * * *
-     * Contains attributes about a target.
+     * Optional. Contains attributes about a target.
      * 
* - * repeated .google.cloud.deploy.v1.TargetAttribute targets = 1; + * + * repeated .google.cloud.deploy.v1.TargetAttribute targets = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.deploy.v1.TargetAttribute getTargets(int index) { if (targetsBuilder_ == null) { @@ -595,10 +611,12 @@ public com.google.cloud.deploy.v1.TargetAttribute getTargets(int index) { * * *
-     * Contains attributes about a target.
+     * Optional. Contains attributes about a target.
      * 
* - * repeated .google.cloud.deploy.v1.TargetAttribute targets = 1; + * + * repeated .google.cloud.deploy.v1.TargetAttribute targets = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setTargets(int index, com.google.cloud.deploy.v1.TargetAttribute value) { if (targetsBuilder_ == null) { @@ -617,10 +635,12 @@ public Builder setTargets(int index, com.google.cloud.deploy.v1.TargetAttribute * * *
-     * Contains attributes about a target.
+     * Optional. Contains attributes about a target.
      * 
* - * repeated .google.cloud.deploy.v1.TargetAttribute targets = 1; + * + * repeated .google.cloud.deploy.v1.TargetAttribute targets = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setTargets( int index, com.google.cloud.deploy.v1.TargetAttribute.Builder builderForValue) { @@ -637,10 +657,12 @@ public Builder setTargets( * * *
-     * Contains attributes about a target.
+     * Optional. Contains attributes about a target.
      * 
* - * repeated .google.cloud.deploy.v1.TargetAttribute targets = 1; + * + * repeated .google.cloud.deploy.v1.TargetAttribute targets = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addTargets(com.google.cloud.deploy.v1.TargetAttribute value) { if (targetsBuilder_ == null) { @@ -659,10 +681,12 @@ public Builder addTargets(com.google.cloud.deploy.v1.TargetAttribute value) { * * *
-     * Contains attributes about a target.
+     * Optional. Contains attributes about a target.
      * 
* - * repeated .google.cloud.deploy.v1.TargetAttribute targets = 1; + * + * repeated .google.cloud.deploy.v1.TargetAttribute targets = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addTargets(int index, com.google.cloud.deploy.v1.TargetAttribute value) { if (targetsBuilder_ == null) { @@ -681,10 +705,12 @@ public Builder addTargets(int index, com.google.cloud.deploy.v1.TargetAttribute * * *
-     * Contains attributes about a target.
+     * Optional. Contains attributes about a target.
      * 
* - * repeated .google.cloud.deploy.v1.TargetAttribute targets = 1; + * + * repeated .google.cloud.deploy.v1.TargetAttribute targets = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addTargets(com.google.cloud.deploy.v1.TargetAttribute.Builder builderForValue) { if (targetsBuilder_ == null) { @@ -700,10 +726,12 @@ public Builder addTargets(com.google.cloud.deploy.v1.TargetAttribute.Builder bui * * *
-     * Contains attributes about a target.
+     * Optional. Contains attributes about a target.
      * 
* - * repeated .google.cloud.deploy.v1.TargetAttribute targets = 1; + * + * repeated .google.cloud.deploy.v1.TargetAttribute targets = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addTargets( int index, com.google.cloud.deploy.v1.TargetAttribute.Builder builderForValue) { @@ -720,10 +748,12 @@ public Builder addTargets( * * *
-     * Contains attributes about a target.
+     * Optional. Contains attributes about a target.
      * 
* - * repeated .google.cloud.deploy.v1.TargetAttribute targets = 1; + * + * repeated .google.cloud.deploy.v1.TargetAttribute targets = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addAllTargets( java.lang.Iterable values) { @@ -740,10 +770,12 @@ public Builder addAllTargets( * * *
-     * Contains attributes about a target.
+     * Optional. Contains attributes about a target.
      * 
* - * repeated .google.cloud.deploy.v1.TargetAttribute targets = 1; + * + * repeated .google.cloud.deploy.v1.TargetAttribute targets = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearTargets() { if (targetsBuilder_ == null) { @@ -759,10 +791,12 @@ public Builder clearTargets() { * * *
-     * Contains attributes about a target.
+     * Optional. Contains attributes about a target.
      * 
* - * repeated .google.cloud.deploy.v1.TargetAttribute targets = 1; + * + * repeated .google.cloud.deploy.v1.TargetAttribute targets = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder removeTargets(int index) { if (targetsBuilder_ == null) { @@ -778,10 +812,12 @@ public Builder removeTargets(int index) { * * *
-     * Contains attributes about a target.
+     * Optional. Contains attributes about a target.
      * 
* - * repeated .google.cloud.deploy.v1.TargetAttribute targets = 1; + * + * repeated .google.cloud.deploy.v1.TargetAttribute targets = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.deploy.v1.TargetAttribute.Builder getTargetsBuilder(int index) { return getTargetsFieldBuilder().getBuilder(index); @@ -790,10 +826,12 @@ public com.google.cloud.deploy.v1.TargetAttribute.Builder getTargetsBuilder(int * * *
-     * Contains attributes about a target.
+     * Optional. Contains attributes about a target.
      * 
* - * repeated .google.cloud.deploy.v1.TargetAttribute targets = 1; + * + * repeated .google.cloud.deploy.v1.TargetAttribute targets = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.deploy.v1.TargetAttributeOrBuilder getTargetsOrBuilder(int index) { if (targetsBuilder_ == null) { @@ -806,10 +844,12 @@ public com.google.cloud.deploy.v1.TargetAttributeOrBuilder getTargetsOrBuilder(i * * *
-     * Contains attributes about a target.
+     * Optional. Contains attributes about a target.
      * 
* - * repeated .google.cloud.deploy.v1.TargetAttribute targets = 1; + * + * repeated .google.cloud.deploy.v1.TargetAttribute targets = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public java.util.List getTargetsOrBuilderList() { @@ -823,10 +863,12 @@ public com.google.cloud.deploy.v1.TargetAttributeOrBuilder getTargetsOrBuilder(i * * *
-     * Contains attributes about a target.
+     * Optional. Contains attributes about a target.
      * 
* - * repeated .google.cloud.deploy.v1.TargetAttribute targets = 1; + * + * repeated .google.cloud.deploy.v1.TargetAttribute targets = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.deploy.v1.TargetAttribute.Builder addTargetsBuilder() { return getTargetsFieldBuilder() @@ -836,10 +878,12 @@ public com.google.cloud.deploy.v1.TargetAttribute.Builder addTargetsBuilder() { * * *
-     * Contains attributes about a target.
+     * Optional. Contains attributes about a target.
      * 
* - * repeated .google.cloud.deploy.v1.TargetAttribute targets = 1; + * + * repeated .google.cloud.deploy.v1.TargetAttribute targets = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.deploy.v1.TargetAttribute.Builder addTargetsBuilder(int index) { return getTargetsFieldBuilder() @@ -849,10 +893,12 @@ public com.google.cloud.deploy.v1.TargetAttribute.Builder addTargetsBuilder(int * * *
-     * Contains attributes about a target.
+     * Optional. Contains attributes about a target.
      * 
* - * repeated .google.cloud.deploy.v1.TargetAttribute targets = 1; + * + * repeated .google.cloud.deploy.v1.TargetAttribute targets = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public java.util.List getTargetsBuilderList() { diff --git a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AutomationResourceSelectorOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AutomationResourceSelectorOrBuilder.java index 7f515d322a80..1366f2352325 100644 --- a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AutomationResourceSelectorOrBuilder.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/AutomationResourceSelectorOrBuilder.java @@ -28,40 +28,48 @@ public interface AutomationResourceSelectorOrBuilder * * *
-   * Contains attributes about a target.
+   * Optional. Contains attributes about a target.
    * 
* - * repeated .google.cloud.deploy.v1.TargetAttribute targets = 1; + * + * repeated .google.cloud.deploy.v1.TargetAttribute targets = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ java.util.List getTargetsList(); /** * * *
-   * Contains attributes about a target.
+   * Optional. Contains attributes about a target.
    * 
* - * repeated .google.cloud.deploy.v1.TargetAttribute targets = 1; + * + * repeated .google.cloud.deploy.v1.TargetAttribute targets = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.deploy.v1.TargetAttribute getTargets(int index); /** * * *
-   * Contains attributes about a target.
+   * Optional. Contains attributes about a target.
    * 
* - * repeated .google.cloud.deploy.v1.TargetAttribute targets = 1; + * + * repeated .google.cloud.deploy.v1.TargetAttribute targets = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ int getTargetsCount(); /** * * *
-   * Contains attributes about a target.
+   * Optional. Contains attributes about a target.
    * 
* - * repeated .google.cloud.deploy.v1.TargetAttribute targets = 1; + * + * repeated .google.cloud.deploy.v1.TargetAttribute targets = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ java.util.List getTargetsOrBuilderList(); @@ -69,10 +77,12 @@ public interface AutomationResourceSelectorOrBuilder * * *
-   * Contains attributes about a target.
+   * Optional. Contains attributes about a target.
    * 
* - * repeated .google.cloud.deploy.v1.TargetAttribute targets = 1; + * + * repeated .google.cloud.deploy.v1.TargetAttribute targets = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.deploy.v1.TargetAttributeOrBuilder getTargetsOrBuilder(int index); } diff --git a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/BuildArtifact.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/BuildArtifact.java index 93f0bd87f452..0310934d8f3c 100644 --- a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/BuildArtifact.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/BuildArtifact.java @@ -72,10 +72,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Image name in Skaffold configuration.
+   * Optional. Image name in Skaffold configuration.
    * 
* - * string image = 3; + * string image = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The image. */ @@ -95,10 +95,10 @@ public java.lang.String getImage() { * * *
-   * Image name in Skaffold configuration.
+   * Optional. Image name in Skaffold configuration.
    * 
* - * string image = 3; + * string image = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for image. */ @@ -123,12 +123,12 @@ public 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
+   * Optional. 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
    * "gcr.io/my-project/busybox@sha256:abc123".
    * 
* - * string tag = 2; + * string tag = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The tag. */ @@ -148,12 +148,12 @@ 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
+   * Optional. 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
    * "gcr.io/my-project/busybox@sha256:abc123".
    * 
* - * string tag = 2; + * string tag = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for tag. */ @@ -539,10 +539,10 @@ public Builder mergeFrom( * * *
-     * Image name in Skaffold configuration.
+     * Optional. Image name in Skaffold configuration.
      * 
* - * string image = 3; + * string image = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The image. */ @@ -561,10 +561,10 @@ public java.lang.String getImage() { * * *
-     * Image name in Skaffold configuration.
+     * Optional. Image name in Skaffold configuration.
      * 
* - * string image = 3; + * string image = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for image. */ @@ -583,10 +583,10 @@ public com.google.protobuf.ByteString getImageBytes() { * * *
-     * Image name in Skaffold configuration.
+     * Optional. Image name in Skaffold configuration.
      * 
* - * string image = 3; + * string image = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The image to set. * @return This builder for chaining. @@ -604,10 +604,10 @@ public Builder setImage(java.lang.String value) { * * *
-     * Image name in Skaffold configuration.
+     * Optional. Image name in Skaffold configuration.
      * 
* - * string image = 3; + * string image = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return This builder for chaining. */ @@ -621,10 +621,10 @@ public Builder clearImage() { * * *
-     * Image name in Skaffold configuration.
+     * Optional. Image name in Skaffold configuration.
      * 
* - * string image = 3; + * string image = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The bytes for image to set. * @return This builder for chaining. @@ -645,12 +645,12 @@ public Builder setImageBytes(com.google.protobuf.ByteString value) { * * *
-     * 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
+     * Optional. 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
      * "gcr.io/my-project/busybox@sha256:abc123".
      * 
* - * string tag = 2; + * string tag = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The tag. */ @@ -669,12 +669,12 @@ 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
+     * Optional. 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
      * "gcr.io/my-project/busybox@sha256:abc123".
      * 
* - * string tag = 2; + * string tag = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for tag. */ @@ -693,12 +693,12 @@ 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
+     * Optional. 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
      * "gcr.io/my-project/busybox@sha256:abc123".
      * 
* - * string tag = 2; + * string tag = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The tag to set. * @return This builder for chaining. @@ -716,12 +716,12 @@ public Builder setTag(java.lang.String value) { * * *
-     * 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
+     * Optional. 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
      * "gcr.io/my-project/busybox@sha256:abc123".
      * 
* - * string tag = 2; + * string tag = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return This builder for chaining. */ @@ -735,12 +735,12 @@ public Builder clearTag() { * * *
-     * 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
+     * Optional. 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
      * "gcr.io/my-project/busybox@sha256:abc123".
      * 
* - * string tag = 2; + * string tag = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The bytes for tag to set. * @return This builder for chaining. diff --git a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/BuildArtifactOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/BuildArtifactOrBuilder.java index 51ad53ed706e..c4c8ab369cbd 100644 --- a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/BuildArtifactOrBuilder.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/BuildArtifactOrBuilder.java @@ -28,10 +28,10 @@ public interface BuildArtifactOrBuilder * * *
-   * Image name in Skaffold configuration.
+   * Optional. Image name in Skaffold configuration.
    * 
* - * string image = 3; + * string image = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The image. */ @@ -40,10 +40,10 @@ public interface BuildArtifactOrBuilder * * *
-   * Image name in Skaffold configuration.
+   * Optional. Image name in Skaffold configuration.
    * 
* - * string image = 3; + * string image = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for image. */ @@ -53,12 +53,12 @@ public interface BuildArtifactOrBuilder * * *
-   * 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
+   * Optional. 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
    * "gcr.io/my-project/busybox@sha256:abc123".
    * 
* - * string tag = 2; + * string tag = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The tag. */ @@ -67,12 +67,12 @@ public interface BuildArtifactOrBuilder * * *
-   * 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
+   * Optional. 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
    * "gcr.io/my-project/busybox@sha256:abc123".
    * 
* - * string tag = 2; + * string tag = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for tag. */ diff --git a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Canary.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Canary.java index 016f68285415..22ee902b01eb 100644 --- a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Canary.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Canary.java @@ -178,10 +178,12 @@ public com.google.cloud.deploy.v1.RuntimeConfigOrBuilder getRuntimeConfigOrBuild * * *
-   * Configures the progressive based deployment for a Target.
+   * Optional. Configures the progressive based deployment for a Target.
    * 
* - * .google.cloud.deploy.v1.CanaryDeployment canary_deployment = 2; + * + * .google.cloud.deploy.v1.CanaryDeployment canary_deployment = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return Whether the canaryDeployment field is set. */ @@ -193,10 +195,12 @@ public boolean hasCanaryDeployment() { * * *
-   * Configures the progressive based deployment for a Target.
+   * Optional. Configures the progressive based deployment for a Target.
    * 
* - * .google.cloud.deploy.v1.CanaryDeployment canary_deployment = 2; + * + * .google.cloud.deploy.v1.CanaryDeployment canary_deployment = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return The canaryDeployment. */ @@ -211,10 +215,12 @@ public com.google.cloud.deploy.v1.CanaryDeployment getCanaryDeployment() { * * *
-   * Configures the progressive based deployment for a Target.
+   * Optional. Configures the progressive based deployment for a Target.
    * 
* - * .google.cloud.deploy.v1.CanaryDeployment canary_deployment = 2; + * + * .google.cloud.deploy.v1.CanaryDeployment canary_deployment = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.CanaryDeploymentOrBuilder getCanaryDeploymentOrBuilder() { @@ -229,12 +235,14 @@ public com.google.cloud.deploy.v1.CanaryDeploymentOrBuilder getCanaryDeploymentO * * *
-   * Configures the progressive based deployment for a Target, but allows
-   * customizing at the phase level where a phase represents each of the
-   * percentage deployments.
+   * Optional. Configures the progressive based deployment for a Target, but
+   * allows customizing at the phase level where a phase represents each of
+   * the percentage deployments.
    * 
* - * .google.cloud.deploy.v1.CustomCanaryDeployment custom_canary_deployment = 3; + * + * .google.cloud.deploy.v1.CustomCanaryDeployment custom_canary_deployment = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return Whether the customCanaryDeployment field is set. */ @@ -246,12 +254,14 @@ public boolean hasCustomCanaryDeployment() { * * *
-   * Configures the progressive based deployment for a Target, but allows
-   * customizing at the phase level where a phase represents each of the
-   * percentage deployments.
+   * Optional. Configures the progressive based deployment for a Target, but
+   * allows customizing at the phase level where a phase represents each of
+   * the percentage deployments.
    * 
* - * .google.cloud.deploy.v1.CustomCanaryDeployment custom_canary_deployment = 3; + * + * .google.cloud.deploy.v1.CustomCanaryDeployment custom_canary_deployment = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return The customCanaryDeployment. */ @@ -266,12 +276,14 @@ public com.google.cloud.deploy.v1.CustomCanaryDeployment getCustomCanaryDeployme * * *
-   * Configures the progressive based deployment for a Target, but allows
-   * customizing at the phase level where a phase represents each of the
-   * percentage deployments.
+   * Optional. Configures the progressive based deployment for a Target, but
+   * allows customizing at the phase level where a phase represents each of
+   * the percentage deployments.
    * 
* - * .google.cloud.deploy.v1.CustomCanaryDeployment custom_canary_deployment = 3; + * + * .google.cloud.deploy.v1.CustomCanaryDeployment custom_canary_deployment = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.CustomCanaryDeploymentOrBuilder @@ -974,10 +986,12 @@ public com.google.cloud.deploy.v1.RuntimeConfigOrBuilder getRuntimeConfigOrBuild * * *
-     * Configures the progressive based deployment for a Target.
+     * Optional. Configures the progressive based deployment for a Target.
      * 
* - * .google.cloud.deploy.v1.CanaryDeployment canary_deployment = 2; + * + * .google.cloud.deploy.v1.CanaryDeployment canary_deployment = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return Whether the canaryDeployment field is set. */ @@ -989,10 +1003,12 @@ public boolean hasCanaryDeployment() { * * *
-     * Configures the progressive based deployment for a Target.
+     * Optional. Configures the progressive based deployment for a Target.
      * 
* - * .google.cloud.deploy.v1.CanaryDeployment canary_deployment = 2; + * + * .google.cloud.deploy.v1.CanaryDeployment canary_deployment = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return The canaryDeployment. */ @@ -1014,10 +1030,12 @@ public com.google.cloud.deploy.v1.CanaryDeployment getCanaryDeployment() { * * *
-     * Configures the progressive based deployment for a Target.
+     * Optional. Configures the progressive based deployment for a Target.
      * 
* - * .google.cloud.deploy.v1.CanaryDeployment canary_deployment = 2; + * + * .google.cloud.deploy.v1.CanaryDeployment canary_deployment = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setCanaryDeployment(com.google.cloud.deploy.v1.CanaryDeployment value) { if (canaryDeploymentBuilder_ == null) { @@ -1036,10 +1054,12 @@ public Builder setCanaryDeployment(com.google.cloud.deploy.v1.CanaryDeployment v * * *
-     * Configures the progressive based deployment for a Target.
+     * Optional. Configures the progressive based deployment for a Target.
      * 
* - * .google.cloud.deploy.v1.CanaryDeployment canary_deployment = 2; + * + * .google.cloud.deploy.v1.CanaryDeployment canary_deployment = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setCanaryDeployment( com.google.cloud.deploy.v1.CanaryDeployment.Builder builderForValue) { @@ -1056,10 +1076,12 @@ public Builder setCanaryDeployment( * * *
-     * Configures the progressive based deployment for a Target.
+     * Optional. Configures the progressive based deployment for a Target.
      * 
* - * .google.cloud.deploy.v1.CanaryDeployment canary_deployment = 2; + * + * .google.cloud.deploy.v1.CanaryDeployment canary_deployment = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeCanaryDeployment(com.google.cloud.deploy.v1.CanaryDeployment value) { if (canaryDeploymentBuilder_ == null) { @@ -1088,10 +1110,12 @@ public Builder mergeCanaryDeployment(com.google.cloud.deploy.v1.CanaryDeployment * * *
-     * Configures the progressive based deployment for a Target.
+     * Optional. Configures the progressive based deployment for a Target.
      * 
* - * .google.cloud.deploy.v1.CanaryDeployment canary_deployment = 2; + * + * .google.cloud.deploy.v1.CanaryDeployment canary_deployment = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearCanaryDeployment() { if (canaryDeploymentBuilder_ == null) { @@ -1113,10 +1137,12 @@ public Builder clearCanaryDeployment() { * * *
-     * Configures the progressive based deployment for a Target.
+     * Optional. Configures the progressive based deployment for a Target.
      * 
* - * .google.cloud.deploy.v1.CanaryDeployment canary_deployment = 2; + * + * .google.cloud.deploy.v1.CanaryDeployment canary_deployment = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.deploy.v1.CanaryDeployment.Builder getCanaryDeploymentBuilder() { return getCanaryDeploymentFieldBuilder().getBuilder(); @@ -1125,10 +1151,12 @@ public com.google.cloud.deploy.v1.CanaryDeployment.Builder getCanaryDeploymentBu * * *
-     * Configures the progressive based deployment for a Target.
+     * Optional. Configures the progressive based deployment for a Target.
      * 
* - * .google.cloud.deploy.v1.CanaryDeployment canary_deployment = 2; + * + * .google.cloud.deploy.v1.CanaryDeployment canary_deployment = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.CanaryDeploymentOrBuilder getCanaryDeploymentOrBuilder() { @@ -1145,10 +1173,12 @@ public com.google.cloud.deploy.v1.CanaryDeploymentOrBuilder getCanaryDeploymentO * * *
-     * Configures the progressive based deployment for a Target.
+     * Optional. Configures the progressive based deployment for a Target.
      * 
* - * .google.cloud.deploy.v1.CanaryDeployment canary_deployment = 2; + * + * .google.cloud.deploy.v1.CanaryDeployment canary_deployment = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.deploy.v1.CanaryDeployment, @@ -1183,12 +1213,14 @@ public com.google.cloud.deploy.v1.CanaryDeploymentOrBuilder getCanaryDeploymentO * * *
-     * Configures the progressive based deployment for a Target, but allows
-     * customizing at the phase level where a phase represents each of the
-     * percentage deployments.
+     * Optional. Configures the progressive based deployment for a Target, but
+     * allows customizing at the phase level where a phase represents each of
+     * the percentage deployments.
      * 
* - * .google.cloud.deploy.v1.CustomCanaryDeployment custom_canary_deployment = 3; + * + * .google.cloud.deploy.v1.CustomCanaryDeployment custom_canary_deployment = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return Whether the customCanaryDeployment field is set. */ @@ -1200,12 +1232,14 @@ public boolean hasCustomCanaryDeployment() { * * *
-     * Configures the progressive based deployment for a Target, but allows
-     * customizing at the phase level where a phase represents each of the
-     * percentage deployments.
+     * Optional. Configures the progressive based deployment for a Target, but
+     * allows customizing at the phase level where a phase represents each of
+     * the percentage deployments.
      * 
* - * .google.cloud.deploy.v1.CustomCanaryDeployment custom_canary_deployment = 3; + * + * .google.cloud.deploy.v1.CustomCanaryDeployment custom_canary_deployment = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return The customCanaryDeployment. */ @@ -1227,12 +1261,14 @@ public com.google.cloud.deploy.v1.CustomCanaryDeployment getCustomCanaryDeployme * * *
-     * Configures the progressive based deployment for a Target, but allows
-     * customizing at the phase level where a phase represents each of the
-     * percentage deployments.
+     * Optional. Configures the progressive based deployment for a Target, but
+     * allows customizing at the phase level where a phase represents each of
+     * the percentage deployments.
      * 
* - * .google.cloud.deploy.v1.CustomCanaryDeployment custom_canary_deployment = 3; + * + * .google.cloud.deploy.v1.CustomCanaryDeployment custom_canary_deployment = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setCustomCanaryDeployment( com.google.cloud.deploy.v1.CustomCanaryDeployment value) { @@ -1252,12 +1288,14 @@ public Builder setCustomCanaryDeployment( * * *
-     * Configures the progressive based deployment for a Target, but allows
-     * customizing at the phase level where a phase represents each of the
-     * percentage deployments.
+     * Optional. Configures the progressive based deployment for a Target, but
+     * allows customizing at the phase level where a phase represents each of
+     * the percentage deployments.
      * 
* - * .google.cloud.deploy.v1.CustomCanaryDeployment custom_canary_deployment = 3; + * + * .google.cloud.deploy.v1.CustomCanaryDeployment custom_canary_deployment = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setCustomCanaryDeployment( com.google.cloud.deploy.v1.CustomCanaryDeployment.Builder builderForValue) { @@ -1274,12 +1312,14 @@ public Builder setCustomCanaryDeployment( * * *
-     * Configures the progressive based deployment for a Target, but allows
-     * customizing at the phase level where a phase represents each of the
-     * percentage deployments.
+     * Optional. Configures the progressive based deployment for a Target, but
+     * allows customizing at the phase level where a phase represents each of
+     * the percentage deployments.
      * 
* - * .google.cloud.deploy.v1.CustomCanaryDeployment custom_canary_deployment = 3; + * + * .google.cloud.deploy.v1.CustomCanaryDeployment custom_canary_deployment = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeCustomCanaryDeployment( com.google.cloud.deploy.v1.CustomCanaryDeployment value) { @@ -1309,12 +1349,14 @@ public Builder mergeCustomCanaryDeployment( * * *
-     * Configures the progressive based deployment for a Target, but allows
-     * customizing at the phase level where a phase represents each of the
-     * percentage deployments.
+     * Optional. Configures the progressive based deployment for a Target, but
+     * allows customizing at the phase level where a phase represents each of
+     * the percentage deployments.
      * 
* - * .google.cloud.deploy.v1.CustomCanaryDeployment custom_canary_deployment = 3; + * + * .google.cloud.deploy.v1.CustomCanaryDeployment custom_canary_deployment = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearCustomCanaryDeployment() { if (customCanaryDeploymentBuilder_ == null) { @@ -1336,12 +1378,14 @@ public Builder clearCustomCanaryDeployment() { * * *
-     * Configures the progressive based deployment for a Target, but allows
-     * customizing at the phase level where a phase represents each of the
-     * percentage deployments.
+     * Optional. Configures the progressive based deployment for a Target, but
+     * allows customizing at the phase level where a phase represents each of
+     * the percentage deployments.
      * 
* - * .google.cloud.deploy.v1.CustomCanaryDeployment custom_canary_deployment = 3; + * + * .google.cloud.deploy.v1.CustomCanaryDeployment custom_canary_deployment = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.deploy.v1.CustomCanaryDeployment.Builder getCustomCanaryDeploymentBuilder() { @@ -1351,12 +1395,14 @@ public Builder clearCustomCanaryDeployment() { * * *
-     * Configures the progressive based deployment for a Target, but allows
-     * customizing at the phase level where a phase represents each of the
-     * percentage deployments.
+     * Optional. Configures the progressive based deployment for a Target, but
+     * allows customizing at the phase level where a phase represents each of
+     * the percentage deployments.
      * 
* - * .google.cloud.deploy.v1.CustomCanaryDeployment custom_canary_deployment = 3; + * + * .google.cloud.deploy.v1.CustomCanaryDeployment custom_canary_deployment = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.CustomCanaryDeploymentOrBuilder @@ -1374,12 +1420,14 @@ public Builder clearCustomCanaryDeployment() { * * *
-     * Configures the progressive based deployment for a Target, but allows
-     * customizing at the phase level where a phase represents each of the
-     * percentage deployments.
+     * Optional. Configures the progressive based deployment for a Target, but
+     * allows customizing at the phase level where a phase represents each of
+     * the percentage deployments.
      * 
* - * .google.cloud.deploy.v1.CustomCanaryDeployment custom_canary_deployment = 3; + * + * .google.cloud.deploy.v1.CustomCanaryDeployment custom_canary_deployment = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.deploy.v1.CustomCanaryDeployment, diff --git a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CanaryDeployment.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CanaryDeployment.java index 5c75b2c1134d..517b64795ded 100644 --- a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CanaryDeployment.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CanaryDeployment.java @@ -133,10 +133,10 @@ public int getPercentages(int index) { * * *
-   * Whether to run verify tests after each percentage deployment.
+   * Optional. Whether to run verify tests after each percentage deployment.
    * 
* - * bool verify = 2; + * bool verify = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The verify. */ @@ -901,10 +901,10 @@ public Builder clearPercentages() { * * *
-     * Whether to run verify tests after each percentage deployment.
+     * Optional. Whether to run verify tests after each percentage deployment.
      * 
* - * bool verify = 2; + * bool verify = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The verify. */ @@ -916,10 +916,10 @@ public boolean getVerify() { * * *
-     * Whether to run verify tests after each percentage deployment.
+     * Optional. Whether to run verify tests after each percentage deployment.
      * 
* - * bool verify = 2; + * bool verify = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The verify to set. * @return This builder for chaining. @@ -935,10 +935,10 @@ public Builder setVerify(boolean value) { * * *
-     * Whether to run verify tests after each percentage deployment.
+     * Optional. Whether to run verify tests after each percentage deployment.
      * 
* - * bool verify = 2; + * bool verify = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return This builder for chaining. */ diff --git a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CanaryDeploymentOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CanaryDeploymentOrBuilder.java index 872d7eb0f456..02f91ea16fcd 100644 --- a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CanaryDeploymentOrBuilder.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CanaryDeploymentOrBuilder.java @@ -78,10 +78,10 @@ public interface CanaryDeploymentOrBuilder * * *
-   * Whether to run verify tests after each percentage deployment.
+   * Optional. Whether to run verify tests after each percentage deployment.
    * 
* - * bool verify = 2; + * bool verify = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The verify. */ diff --git a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CanaryOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CanaryOrBuilder.java index 710f7b959c81..ecfeda731d5e 100644 --- a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CanaryOrBuilder.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CanaryOrBuilder.java @@ -75,10 +75,12 @@ public interface CanaryOrBuilder * * *
-   * Configures the progressive based deployment for a Target.
+   * Optional. Configures the progressive based deployment for a Target.
    * 
* - * .google.cloud.deploy.v1.CanaryDeployment canary_deployment = 2; + * + * .google.cloud.deploy.v1.CanaryDeployment canary_deployment = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return Whether the canaryDeployment field is set. */ @@ -87,10 +89,12 @@ public interface CanaryOrBuilder * * *
-   * Configures the progressive based deployment for a Target.
+   * Optional. Configures the progressive based deployment for a Target.
    * 
* - * .google.cloud.deploy.v1.CanaryDeployment canary_deployment = 2; + * + * .google.cloud.deploy.v1.CanaryDeployment canary_deployment = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return The canaryDeployment. */ @@ -99,10 +103,12 @@ public interface CanaryOrBuilder * * *
-   * Configures the progressive based deployment for a Target.
+   * Optional. Configures the progressive based deployment for a Target.
    * 
* - * .google.cloud.deploy.v1.CanaryDeployment canary_deployment = 2; + * + * .google.cloud.deploy.v1.CanaryDeployment canary_deployment = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.deploy.v1.CanaryDeploymentOrBuilder getCanaryDeploymentOrBuilder(); @@ -110,12 +116,14 @@ public interface CanaryOrBuilder * * *
-   * Configures the progressive based deployment for a Target, but allows
-   * customizing at the phase level where a phase represents each of the
-   * percentage deployments.
+   * Optional. Configures the progressive based deployment for a Target, but
+   * allows customizing at the phase level where a phase represents each of
+   * the percentage deployments.
    * 
* - * .google.cloud.deploy.v1.CustomCanaryDeployment custom_canary_deployment = 3; + * + * .google.cloud.deploy.v1.CustomCanaryDeployment custom_canary_deployment = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return Whether the customCanaryDeployment field is set. */ @@ -124,12 +132,14 @@ public interface CanaryOrBuilder * * *
-   * Configures the progressive based deployment for a Target, but allows
-   * customizing at the phase level where a phase represents each of the
-   * percentage deployments.
+   * Optional. Configures the progressive based deployment for a Target, but
+   * allows customizing at the phase level where a phase represents each of
+   * the percentage deployments.
    * 
* - * .google.cloud.deploy.v1.CustomCanaryDeployment custom_canary_deployment = 3; + * + * .google.cloud.deploy.v1.CustomCanaryDeployment custom_canary_deployment = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return The customCanaryDeployment. */ @@ -138,12 +148,14 @@ public interface CanaryOrBuilder * * *
-   * Configures the progressive based deployment for a Target, but allows
-   * customizing at the phase level where a phase represents each of the
-   * percentage deployments.
+   * Optional. Configures the progressive based deployment for a Target, but
+   * allows customizing at the phase level where a phase represents each of
+   * the percentage deployments.
    * 
* - * .google.cloud.deploy.v1.CustomCanaryDeployment custom_canary_deployment = 3; + * + * .google.cloud.deploy.v1.CustomCanaryDeployment custom_canary_deployment = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.deploy.v1.CustomCanaryDeploymentOrBuilder getCustomCanaryDeploymentOrBuilder(); diff --git a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CloudDeployProto.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CloudDeployProto.java index db73e9e4415b..1afcceec73b5 100644 --- a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CloudDeployProto.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CloudDeployProto.java @@ -839,519 +839,524 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\032 google/protobuf/field_mask.proto\032\037goog" + "le/protobuf/timestamp.proto\032\026google/type" + "/date.proto\032\033google/type/dayofweek.proto" - + "\032\033google/type/timeofday.proto\"\345\005\n\020Delive" - + "ryPipeline\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\013annotati" - + "ons\030\004 \003(\01329.google.cloud.deploy.v1.Deliv" - + "eryPipeline.AnnotationsEntry\022D\n\006labels\030\005" - + " \003(\01324.google.cloud.deploy.v1.DeliveryPi" - + "peline.LabelsEntry\0224\n\013create_time\030\006 \001(\0132" - + "\032.google.protobuf.TimestampB\003\340A\003\0224\n\013upda" - + "te_time\030\007 \001(\0132\032.google.protobuf.Timestam" - + "pB\003\340A\003\022A\n\017serial_pipeline\030\010 \001(\0132&.google" - + ".cloud.deploy.v1.SerialPipelineH\000\022A\n\tcon" - + "dition\030\013 \001(\0132).google.cloud.deploy.v1.Pi" - + "pelineConditionB\003\340A\003\022\014\n\004etag\030\n \001(\t\022\021\n\tsu" - + "spended\030\014 \001(\010\0322\n\020AnnotationsEntry\022\013\n\003key" - + "\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\032-\n\013LabelsEntry" - + "\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001:\177\352A|\n+c" - + "louddeploy.googleapis.com/DeliveryPipeli" - + "ne\022Mprojects/{project}/locations/{locati" - + "on}/deliveryPipelines/{delivery_pipeline" - + "}B\n\n\010pipeline\"?\n\016SerialPipeline\022-\n\006stage" - + "s\030\001 \003(\0132\035.google.cloud.deploy.v1.Stage\"\257" - + "\001\n\005Stage\022\021\n\ttarget_id\030\001 \001(\t\022\020\n\010profiles\030" - + "\002 \003(\t\0227\n\010strategy\030\005 \001(\0132 .google.cloud.d" - + "eploy.v1.StrategyB\003\340A\001\022H\n\021deploy_paramet" - + "ers\030\006 \003(\0132(.google.cloud.deploy.v1.Deplo" - + "yParametersB\003\340A\001\"\251\002\n\020DeployParameters\022I\n" - + "\006values\030\001 \003(\01324.google.cloud.deploy.v1.D" - + "eployParameters.ValuesEntryB\003\340A\002\022a\n\023matc" - + "h_target_labels\030\002 \003(\0132?.google.cloud.dep" - + "loy.v1.DeployParameters.MatchTargetLabel" - + "sEntryB\003\340A\001\032-\n\013ValuesEntry\022\013\n\003key\030\001 \001(\t\022" - + "\r\n\005value\030\002 \001(\t:\0028\001\0328\n\026MatchTargetLabelsE" - + "ntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\211\001\n" - + "\010Strategy\0224\n\010standard\030\001 \001(\0132 .google.clo" - + "ud.deploy.v1.StandardH\000\0220\n\006canary\030\002 \001(\0132" - + "\036.google.cloud.deploy.v1.CanaryH\000B\025\n\023dep" - + "loyment_strategy\"!\n\tPredeploy\022\024\n\007actions" - + "\030\001 \003(\tB\003\340A\001\"\"\n\nPostdeploy\022\024\n\007actions\030\001 \003" - + "(\tB\003\340A\001\"\222\001\n\010Standard\022\016\n\006verify\030\001 \001(\010\0229\n\t" - + "predeploy\030\002 \001(\0132!.google.cloud.deploy.v1" - + ".PredeployB\003\340A\001\022;\n\npostdeploy\030\003 \001(\0132\".go" - + "ogle.cloud.deploy.v1.PostdeployB\003\340A\001\"\357\001\n" - + "\006Canary\022B\n\016runtime_config\030\001 \001(\0132%.google" - + ".cloud.deploy.v1.RuntimeConfigB\003\340A\001\022E\n\021c" - + "anary_deployment\030\002 \001(\0132(.google.cloud.de" - + "ploy.v1.CanaryDeploymentH\000\022R\n\030custom_can" - + "ary_deployment\030\003 \001(\0132..google.cloud.depl" - + "oy.v1.CustomCanaryDeploymentH\000B\006\n\004mode\"\264" - + "\001\n\020CanaryDeployment\022\030\n\013percentages\030\001 \003(\005" - + "B\003\340A\002\022\016\n\006verify\030\002 \001(\010\0229\n\tpredeploy\030\003 \001(\013" - + "2!.google.cloud.deploy.v1.PredeployB\003\340A\001" - + "\022;\n\npostdeploy\030\004 \001(\0132\".google.cloud.depl" - + "oy.v1.PostdeployB\003\340A\001\"\312\002\n\026CustomCanaryDe" - + "ployment\022V\n\rphase_configs\030\001 \003(\0132:.google" - + ".cloud.deploy.v1.CustomCanaryDeployment." - + "PhaseConfigB\003\340A\002\032\327\001\n\013PhaseConfig\022\025\n\010phas" - + "e_id\030\001 \001(\tB\003\340A\002\022\027\n\npercentage\030\002 \001(\005B\003\340A\002" - + "\022\020\n\010profiles\030\003 \003(\t\022\016\n\006verify\030\004 \001(\010\0229\n\tpr" - + "edeploy\030\005 \001(\0132!.google.cloud.deploy.v1.P" - + "redeployB\003\340A\001\022;\n\npostdeploy\030\006 \001(\0132\".goog" - + "le.cloud.deploy.v1.PostdeployB\003\340A\001\"\264\006\n\020K" - + "ubernetesConfig\022[\n\024gateway_service_mesh\030" - + "\001 \001(\0132;.google.cloud.deploy.v1.Kubernete" - + "sConfig.GatewayServiceMeshH\000\022X\n\022service_" + + "\032\033google/type/timeofday.proto\"\371\005\n\020Delive" + + "ryPipeline\022\021\n\004name\030\001 \001(\tB\003\340A\010\022\020\n\003uid\030\002 \001" + + "(\tB\003\340A\003\022\030\n\013description\030\003 \001(\tB\003\340A\001\022S\n\013ann" + + "otations\030\004 \003(\01329.google.cloud.deploy.v1." + + "DeliveryPipeline.AnnotationsEntryB\003\340A\001\022D" + + "\n\006labels\030\005 \003(\01324.google.cloud.deploy.v1." + + "DeliveryPipeline.LabelsEntry\0224\n\013create_t" + + "ime\030\006 \001(\0132\032.google.protobuf.TimestampB\003\340" + + "A\003\0224\n\013update_time\030\007 \001(\0132\032.google.protobu" + + "f.TimestampB\003\340A\003\022F\n\017serial_pipeline\030\010 \001(" + + "\0132&.google.cloud.deploy.v1.SerialPipelin" + + "eB\003\340A\001H\000\022A\n\tcondition\030\013 \001(\0132).google.clo" + + "ud.deploy.v1.PipelineConditionB\003\340A\003\022\014\n\004e" + + "tag\030\n \001(\t\022\026\n\tsuspended\030\014 \001(\010B\003\340A\001\0322\n\020Ann" + + "otationsEntry\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\005val" + + "ue\030\002 \001(\t:\0028\001:\177\352A|\n+clouddeploy.googleapi" + + "s.com/DeliveryPipeline\022Mprojects/{projec" + + "t}/locations/{location}/deliveryPipeline" + + "s/{delivery_pipeline}B\n\n\010pipeline\"D\n\016Ser" + + "ialPipeline\0222\n\006stages\030\001 \003(\0132\035.google.clo" + + "ud.deploy.v1.StageB\003\340A\001\"\271\001\n\005Stage\022\026\n\ttar" + + "get_id\030\001 \001(\tB\003\340A\001\022\025\n\010profiles\030\002 \003(\tB\003\340A\001" + + "\0227\n\010strategy\030\005 \001(\0132 .google.cloud.deploy" + + ".v1.StrategyB\003\340A\001\022H\n\021deploy_parameters\030\006" + + " \003(\0132(.google.cloud.deploy.v1.DeployPara" + + "metersB\003\340A\001\"\251\002\n\020DeployParameters\022I\n\006valu" + + "es\030\001 \003(\01324.google.cloud.deploy.v1.Deploy" + + "Parameters.ValuesEntryB\003\340A\002\022a\n\023match_tar" + + "get_labels\030\002 \003(\0132?.google.cloud.deploy.v" + + "1.DeployParameters.MatchTargetLabelsEntr" + + "yB\003\340A\001\032-\n\013ValuesEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005va" + + "lue\030\002 \001(\t:\0028\001\0328\n\026MatchTargetLabelsEntry\022" + + "\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\223\001\n\010Stra" + + "tegy\0229\n\010standard\030\001 \001(\0132 .google.cloud.de" + + "ploy.v1.StandardB\003\340A\001H\000\0225\n\006canary\030\002 \001(\0132" + + "\036.google.cloud.deploy.v1.CanaryB\003\340A\001H\000B\025" + + "\n\023deployment_strategy\"!\n\tPredeploy\022\024\n\007ac" + + "tions\030\001 \003(\tB\003\340A\001\"\"\n\nPostdeploy\022\024\n\007action" + + "s\030\001 \003(\tB\003\340A\001\"\227\001\n\010Standard\022\023\n\006verify\030\001 \001(" + + "\010B\003\340A\001\0229\n\tpredeploy\030\002 \001(\0132!.google.cloud" + + ".deploy.v1.PredeployB\003\340A\001\022;\n\npostdeploy\030" + + "\003 \001(\0132\".google.cloud.deploy.v1.Postdeplo" + + "yB\003\340A\001\"\371\001\n\006Canary\022B\n\016runtime_config\030\001 \001(" + + "\0132%.google.cloud.deploy.v1.RuntimeConfig" + + "B\003\340A\001\022J\n\021canary_deployment\030\002 \001(\0132(.googl" + + "e.cloud.deploy.v1.CanaryDeploymentB\003\340A\001H" + + "\000\022W\n\030custom_canary_deployment\030\003 \001(\0132..go" + + "ogle.cloud.deploy.v1.CustomCanaryDeploym" + + "entB\003\340A\001H\000B\006\n\004mode\"\271\001\n\020CanaryDeployment\022" + + "\030\n\013percentages\030\001 \003(\005B\003\340A\002\022\023\n\006verify\030\002 \001(" + + "\010B\003\340A\001\0229\n\tpredeploy\030\003 \001(\0132!.google.cloud" + + ".deploy.v1.PredeployB\003\340A\001\022;\n\npostdeploy\030" + + "\004 \001(\0132\".google.cloud.deploy.v1.Postdeplo" + + "yB\003\340A\001\"\324\002\n\026CustomCanaryDeployment\022V\n\rpha" + + "se_configs\030\001 \003(\0132:.google.cloud.deploy.v" + + "1.CustomCanaryDeployment.PhaseConfigB\003\340A" + + "\002\032\341\001\n\013PhaseConfig\022\025\n\010phase_id\030\001 \001(\tB\003\340A\002" + + "\022\027\n\npercentage\030\002 \001(\005B\003\340A\002\022\025\n\010profiles\030\003 " + + "\003(\tB\003\340A\001\022\023\n\006verify\030\004 \001(\010B\003\340A\001\0229\n\tpredepl" + + "oy\030\005 \001(\0132!.google.cloud.deploy.v1.Predep" + + "loyB\003\340A\001\022;\n\npostdeploy\030\006 \001(\0132\".google.cl" + + "oud.deploy.v1.PostdeployB\003\340A\001\"\276\006\n\020Kubern" + + "etesConfig\022`\n\024gateway_service_mesh\030\001 \001(\013" + + "2;.google.cloud.deploy.v1.KubernetesConf" + + "ig.GatewayServiceMeshB\003\340A\001H\000\022]\n\022service_" + "networking\030\002 \001(\0132:.google.cloud.deploy.v" - + "1.KubernetesConfig.ServiceNetworkingH\000\032\301" - + "\003\n\022GatewayServiceMesh\022\027\n\nhttp_route\030\001 \001(" - + "\tB\003\340A\002\022\024\n\007service\030\002 \001(\tB\003\340A\002\022\027\n\ndeployme" - + "nt\030\003 \001(\tB\003\340A\002\022>\n\026route_update_wait_time\030" - + "\004 \001(\0132\031.google.protobuf.DurationB\003\340A\001\022?\n" - + "\027stable_cutback_duration\030\005 \001(\0132\031.google." - + "protobuf.DurationB\003\340A\001\022\037\n\022pod_selector_l" - + "abel\030\006 \001(\tB\003\340A\001\022n\n\022route_destinations\030\010 " - + "\001(\0132M.google.cloud.deploy.v1.KubernetesC" - + "onfig.GatewayServiceMesh.RouteDestinatio" - + "nsB\003\340A\001\032Q\n\021RouteDestinations\022\034\n\017destinat" - + "ion_ids\030\001 \003(\tB\003\340A\002\022\036\n\021propagate_service\030" - + "\002 \001(\010B\003\340A\001\032\216\001\n\021ServiceNetworking\022\024\n\007serv" - + "ice\030\001 \001(\tB\003\340A\002\022\027\n\ndeployment\030\002 \001(\tB\003\340A\002\022" - + ")\n\034disable_pod_overprovisioning\030\003 \001(\010B\003\340" - + "A\001\022\037\n\022pod_selector_label\030\004 \001(\tB\003\340A\001B\024\n\022s" - + "ervice_definition\"\233\001\n\016CloudRunConfig\022!\n\031" - + "automatic_traffic_control\030\001 \001(\010\022!\n\024canar" - + "y_revision_tags\030\002 \003(\tB\003\340A\001\022 \n\023prior_revi" - + "sion_tags\030\003 \003(\tB\003\340A\001\022!\n\024stable_revision_" - + "tags\030\004 \003(\tB\003\340A\001\"\236\001\n\rRuntimeConfig\022>\n\nkub" - + "ernetes\030\001 \001(\0132(.google.cloud.deploy.v1.K" - + "ubernetesConfigH\000\022;\n\tcloud_run\030\002 \001(\0132&.g" - + "oogle.cloud.deploy.v1.CloudRunConfigH\000B\020" - + "\n\016runtime_config\"Y\n\026PipelineReadyConditi" - + "on\022\016\n\006status\030\003 \001(\010\022/\n\013update_time\030\004 \001(\0132" - + "\032.google.protobuf.Timestamp\"\233\001\n\027TargetsP" - + "resentCondition\022\016\n\006status\030\001 \001(\010\022?\n\017missi" - + "ng_targets\030\002 \003(\tB&\372A#\n!clouddeploy.googl" - + "eapis.com/Target\022/\n\013update_time\030\004 \001(\0132\032." - + "google.protobuf.Timestamp\"=\n\024TargetsType" - + "Condition\022\016\n\006status\030\001 \001(\010\022\025\n\rerror_detai" - + "ls\030\002 \001(\t\"\207\002\n\021PipelineCondition\022P\n\030pipeli" - + "ne_ready_condition\030\001 \001(\0132..google.cloud." - + "deploy.v1.PipelineReadyCondition\022R\n\031targ" - + "ets_present_condition\030\003 \001(\0132/.google.clo" - + "ud.deploy.v1.TargetsPresentCondition\022L\n\026" - + "targets_type_condition\030\004 \001(\0132,.google.cl" - + "oud.deploy.v1.TargetsTypeCondition\"\254\001\n\034L" - + "istDeliveryPipelinesRequest\022C\n\006parent\030\001 " - + "\001(\tB3\340A\002\372A-\022+clouddeploy.googleapis.com/" - + "DeliveryPipeline\022\021\n\tpage_size\030\002 \001(\005\022\022\n\np" - + "age_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\035ListDeliveryPipelinesRespo" - + "nse\022D\n\022delivery_pipelines\030\001 \003(\0132(.google" - + ".cloud.deploy.v1.DeliveryPipeline\022\027\n\017nex" - + "t_page_token\030\002 \001(\t\022\023\n\013unreachable\030\003 \003(\t\"" - + "_\n\032GetDeliveryPipelineRequest\022A\n\004name\030\001 " - + "\001(\tB3\340A\002\372A-\n+clouddeploy.googleapis.com/" - + "DeliveryPipeline\"\206\002\n\035CreateDeliveryPipel" - + "ineRequest\022C\n\006parent\030\001 \001(\tB3\340A\002\372A-\022+clou" - + "ddeploy.googleapis.com/DeliveryPipeline\022" - + "!\n\024delivery_pipeline_id\030\002 \001(\tB\003\340A\002\022H\n\021de" - + "livery_pipeline\030\003 \001(\0132(.google.cloud.dep" - + "loy.v1.DeliveryPipelineB\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\"\360\001\n\035UpdateDeliveryPipelineRequest\0224\n\013u" - + "pdate_mask\030\001 \001(\0132\032.google.protobuf.Field" - + "MaskB\003\340A\002\022H\n\021delivery_pipeline\030\002 \001(\0132(.g" - + "oogle.cloud.deploy.v1.DeliveryPipelineB\003" - + "\340A\002\022\027\n\nrequest_id\030\003 \001(\tB\003\340A\001\022\032\n\rallow_mi" - + "ssing\030\004 \001(\010B\003\340A\001\022\032\n\rvalidate_only\030\005 \001(\010B" - + "\003\340A\001\"\332\001\n\035DeleteDeliveryPipelineRequest\022A" - + "\n\004name\030\001 \001(\tB3\340A\002\372A-\n+clouddeploy.google" - + "apis.com/DeliveryPipeline\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\004etag\030\005 \001(\tB\003\340A\001\"m\n\024RollbackTar" - + "getConfig\0225\n\007rollout\030\001 \001(\0132\037.google.clou" - + "d.deploy.v1.RolloutB\003\340A\001\022\036\n\021starting_pha" - + "se_id\030\002 \001(\tB\003\340A\001\"\200\003\n\025RollbackTargetReque" - + "st\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n+clouddeploy.go" - + "ogleapis.com/DeliveryPipeline\022\026\n\ttarget_" - + "id\030\002 \001(\tB\003\340A\002\022\027\n\nrollout_id\030\003 \001(\tB\003\340A\002\022\027" - + "\n\nrelease_id\030\004 \001(\tB\003\340A\001\022!\n\024rollout_to_ro" - + "ll_back\030\005 \001(\tB\003\340A\001\022J\n\017rollback_config\030\006 " - + "\001(\0132,.google.cloud.deploy.v1.RollbackTar" - + "getConfigB\003\340A\001\022\032\n\rvalidate_only\030\007 \001(\010B\003\340" - + "A\001\022O\n\026override_deploy_policy\030\t \003(\tB/\340A\001\372" - + "A)\n\'clouddeploy.googleapis.com/DeployPol" - + "icy\"_\n\026RollbackTargetResponse\022E\n\017rollbac" - + "k_config\030\001 \001(\0132,.google.cloud.deploy.v1." - + "RollbackTargetConfig\"\271\n\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\003ui" - + "d\030\003 \001(\tB\003\340A\003\022\030\n\013description\030\004 \001(\tB\003\340A\001\022I" - + "\n\013annotations\030\005 \003(\0132/.google.cloud.deplo" - + "y.v1.Target.AnnotationsEntryB\003\340A\001\022?\n\006lab" - + "els\030\006 \003(\0132*.google.cloud.deploy.v1.Targe" - + "t.LabelsEntryB\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." - + "protobuf.TimestampB\003\340A\003\0224\n\013update_time\030\t" - + " \001(\0132\032.google.protobuf.TimestampB\003\340A\003\0226\n" - + "\003gke\030\017 \001(\0132\".google.cloud.deploy.v1.GkeC" - + "lusterB\003\340A\001H\000\022D\n\016anthos_cluster\030\021 \001(\0132%." - + "google.cloud.deploy.v1.AnthosClusterB\003\340A" - + "\001H\000\022<\n\003run\030\022 \001(\0132(.google.cloud.deploy.v" - + "1.CloudRunLocationB\003\340A\001H\000\022@\n\014multi_targe" - + "t\030\023 \001(\0132#.google.cloud.deploy.v1.MultiTa" - + "rgetB\003\340A\001H\000\022B\n\rcustom_target\030\025 \001(\0132$.goo" - + "gle.cloud.deploy.v1.CustomTargetB\003\340A\001H\000\022" - + "X\n\023associated_entities\030\027 \003(\01326.google.cl" - + "oud.deploy.v1.Target.AssociatedEntitiesE" - + "ntryB\003\340A\001\022\021\n\004etag\030\014 \001(\tB\003\340A\001\022B\n\021executio" - + "n_configs\030\020 \003(\0132\'.google.cloud.deploy.v1" - + ".ExecutionConfig\022T\n\021deploy_parameters\030\024 " - + "\003(\01324.google.cloud.deploy.v1.Target.Depl" - + "oyParametersEntryB\003\340A\001\0322\n\020AnnotationsEnt" - + "ry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\032-\n\013La" - + "belsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028" - + "\001\032e\n\027AssociatedEntitiesEntry\022\013\n\003key\030\001 \001(" - + "\t\0229\n\005value\030\002 \001(\0132*.google.cloud.deploy.v" - + "1.AssociatedEntities:\0028\001\0327\n\025DeployParame" - + "tersEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028" - + "\001:`\352A]\n!clouddeploy.googleapis.com/Targe" - + "t\0228projects/{project}/locations/{locatio" - + "n}/targets/{target}B\023\n\021deployment_target" - + "\"\345\004\n\017ExecutionConfig\022V\n\006usages\030\001 \003(\0162A.g" - + "oogle.cloud.deploy.v1.ExecutionConfig.Ex" - + "ecutionEnvironmentUsageB\003\340A\002\022@\n\014default_" - + "pool\030\002 \001(\0132#.google.cloud.deploy.v1.Defa" - + "ultPoolB\003\340A\001H\000\022@\n\014private_pool\030\003 \001(\0132#.g" - + "oogle.cloud.deploy.v1.PrivatePoolB\003\340A\001H\000" - + "\022A\n\013worker_pool\030\004 \001(\tB,\340A\001\372A&\n$cloudbuil" - + "d.googleapis.com/WorkerPool\022\034\n\017service_a" - + "ccount\030\005 \001(\tB\003\340A\001\022\035\n\020artifact_storage\030\006 " - + "\001(\tB\003\340A\001\0229\n\021execution_timeout\030\007 \001(\0132\031.go" - + "ogle.protobuf.DurationB\003\340A\001\022\024\n\007verbose\030\010" - + " \001(\010B\003\340A\001\"\213\001\n\031ExecutionEnvironmentUsage\022" - + "+\n\'EXECUTION_ENVIRONMENT_USAGE_UNSPECIFI" - + "ED\020\000\022\n\n\006RENDER\020\001\022\n\n\006DEPLOY\020\002\022\n\n\006VERIFY\020\003" - + "\022\r\n\tPREDEPLOY\020\004\022\016\n\nPOSTDEPLOY\020\005B\027\n\025execu" - + "tion_environment\"J\n\013DefaultPool\022\034\n\017servi" - + "ce_account\030\001 \001(\tB\003\340A\001\022\035\n\020artifact_storag" - + "e\030\002 \001(\tB\003\340A\001\"\215\001\n\013PrivatePool\022A\n\013worker_p" - + "ool\030\001 \001(\tB,\340A\002\372A&\n$cloudbuild.googleapis" - + ".com/WorkerPool\022\034\n\017service_account\030\002 \001(\t" - + "B\003\340A\001\022\035\n\020artifact_storage\030\003 \001(\tB\003\340A\001\"\224\001\n" - + "\nGkeCluster\0229\n\007cluster\030\001 \001(\tB(\340A\001\372A\"\n co" - + "ntainer.googleapis.com/Cluster\022\030\n\013intern" - + "al_ip\030\002 \001(\010B\003\340A\001\022\026\n\tproxy_url\030\003 \001(\tB\003\340A\001" - + "\022\031\n\014dns_endpoint\030\004 \001(\010B\003\340A\001\"M\n\rAnthosClu" - + "ster\022<\n\nmembership\030\001 \001(\tB(\340A\001\372A\"\n gkehub" - + ".googleapis.com/Membership\"O\n\020CloudRunLo" - + "cation\022;\n\010location\030\001 \001(\tB)\340A\002\372A#\n!locati" - + "ons.googleapis.com/Location\"&\n\013MultiTarg" - + "et\022\027\n\ntarget_ids\030\001 \003(\tB\003\340A\002\"_\n\014CustomTar" - + "get\022O\n\022custom_target_type\030\001 \001(\tB3\340A\002\372A-\n" - + "+clouddeploy.googleapis.com/CustomTarget" - + "Type\"\230\001\n\022AssociatedEntities\022=\n\014gke_clust" - + "ers\030\002 \003(\0132\".google.cloud.deploy.v1.GkeCl" - + "usterB\003\340A\001\022C\n\017anthos_clusters\030\003 \003(\0132%.go" - + "ogle.cloud.deploy.v1.AnthosClusterB\003\340A\001\"" - + "\254\001\n\022ListTargetsRequest\0229\n\006parent\030\001 \001(\tB)" - + "\340A\002\372A#\022!clouddeploy.googleapis.com/Targe" - + "t\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\010order" - + "_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\013unrea" - + "chable\030\003 \003(\t\"K\n\020GetTargetRequest\0227\n\004name" - + "\030\001 \001(\tB)\340A\002\372A#\n!clouddeploy.googleapis.c" - + "om/Target\"\322\001\n\023CreateTargetRequest\0229\n\006par" - + "ent\030\001 \001(\tB)\340A\002\372A#\022!clouddeploy.googleapi" - + "s.com/Target\022\026\n\ttarget_id\030\002 \001(\tB\003\340A\002\0223\n\006" - + "target\030\003 \001(\0132\036.google.cloud.deploy.v1.Ta" - + "rgetB\003\340A\002\022\027\n\nrequest_id\030\004 \001(\tB\003\340A\001\022\032\n\rva" - + "lidate_only\030\005 \001(\010B\003\340A\001\"\321\001\n\023UpdateTargetR" - + "equest\0224\n\013update_mask\030\001 \001(\0132\032.google.pro" - + "tobuf.FieldMaskB\003\340A\002\0223\n\006target\030\002 \001(\0132\036.g" - + "oogle.cloud.deploy.v1.TargetB\003\340A\002\022\027\n\nreq" - + "uest_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\023D" - + "eleteTargetRequest\0227\n\004name\030\001 \001(\tB)\340A\002\372A#" - + "\n!clouddeploy.googleapis.com/Target\022\027\n\nr" - + "equest_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\004" - + "etag\030\005 \001(\tB\003\340A\001\"\327\005\n\020CustomTargetType\022\021\n\004" - + "name\030\001 \001(\tB\003\340A\001\022\"\n\025custom_target_type_id" - + "\030\002 \001(\tB\003\340A\003\022\020\n\003uid\030\003 \001(\tB\003\340A\003\022\030\n\013descrip" - + "tion\030\004 \001(\tB\003\340A\001\022S\n\013annotations\030\005 \003(\01329.g" - + "oogle.cloud.deploy.v1.CustomTargetType.A" - + "nnotationsEntryB\003\340A\001\022I\n\006labels\030\006 \003(\01324.g" - + "oogle.cloud.deploy.v1.CustomTargetType.L" - + "abelsEntryB\003\340A\001\0224\n\013create_time\030\007 \001(\0132\032.g" - + "oogle.protobuf.TimestampB\003\340A\003\0224\n\013update_" + + "1.KubernetesConfig.ServiceNetworkingB\003\340A" + + "\001H\000\032\301\003\n\022GatewayServiceMesh\022\027\n\nhttp_route" + + "\030\001 \001(\tB\003\340A\002\022\024\n\007service\030\002 \001(\tB\003\340A\002\022\027\n\ndep" + + "loyment\030\003 \001(\tB\003\340A\002\022>\n\026route_update_wait_" + + "time\030\004 \001(\0132\031.google.protobuf.DurationB\003\340" + + "A\001\022?\n\027stable_cutback_duration\030\005 \001(\0132\031.go" + + "ogle.protobuf.DurationB\003\340A\001\022\037\n\022pod_selec" + + "tor_label\030\006 \001(\tB\003\340A\001\022n\n\022route_destinatio" + + "ns\030\010 \001(\0132M.google.cloud.deploy.v1.Kubern" + + "etesConfig.GatewayServiceMesh.RouteDesti" + + "nationsB\003\340A\001\032Q\n\021RouteDestinations\022\034\n\017des" + + "tination_ids\030\001 \003(\tB\003\340A\002\022\036\n\021propagate_ser" + + "vice\030\002 \001(\010B\003\340A\001\032\216\001\n\021ServiceNetworking\022\024\n" + + "\007service\030\001 \001(\tB\003\340A\002\022\027\n\ndeployment\030\002 \001(\tB" + + "\003\340A\002\022)\n\034disable_pod_overprovisioning\030\003 \001" + + "(\010B\003\340A\001\022\037\n\022pod_selector_label\030\004 \001(\tB\003\340A\001" + + "B\024\n\022service_definition\"\240\001\n\016CloudRunConfi" + + "g\022&\n\031automatic_traffic_control\030\001 \001(\010B\003\340A" + + "\001\022!\n\024canary_revision_tags\030\002 \003(\tB\003\340A\001\022 \n\023" + + "prior_revision_tags\030\003 \003(\tB\003\340A\001\022!\n\024stable" + + "_revision_tags\030\004 \003(\tB\003\340A\001\"\250\001\n\rRuntimeCon" + + "fig\022C\n\nkubernetes\030\001 \001(\0132(.google.cloud.d" + + "eploy.v1.KubernetesConfigB\003\340A\001H\000\022@\n\tclou" + + "d_run\030\002 \001(\0132&.google.cloud.deploy.v1.Clo" + + "udRunConfigB\003\340A\001H\000B\020\n\016runtime_config\"Y\n\026" + + "PipelineReadyCondition\022\016\n\006status\030\003 \001(\010\022/" + + "\n\013update_time\030\004 \001(\0132\032.google.protobuf.Ti" + + "mestamp\"\233\001\n\027TargetsPresentCondition\022\016\n\006s" + + "tatus\030\001 \001(\010\022?\n\017missing_targets\030\002 \003(\tB&\372A" + + "#\n!clouddeploy.googleapis.com/Target\022/\n\013" + + "update_time\030\004 \001(\0132\032.google.protobuf.Time" + + "stamp\"=\n\024TargetsTypeCondition\022\016\n\006status\030" + + "\001 \001(\010\022\025\n\rerror_details\030\002 \001(\t\"\207\002\n\021Pipelin" + + "eCondition\022P\n\030pipeline_ready_condition\030\001" + + " \001(\0132..google.cloud.deploy.v1.PipelineRe" + + "adyCondition\022R\n\031targets_present_conditio" + + "n\030\003 \001(\0132/.google.cloud.deploy.v1.Targets" + + "PresentCondition\022L\n\026targets_type_conditi" + + "on\030\004 \001(\0132,.google.cloud.deploy.v1.Target" + + "sTypeCondition\"\254\001\n\034ListDeliveryPipelines" + + "Request\022C\n\006parent\030\001 \001(\tB3\340A\002\372A-\022+cloudde" + + "ploy.googleapis.com/DeliveryPipeline\022\021\n\t" + + "page_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022\016\n\006f" + + "ilter\030\004 \001(\t\022\020\n\010order_by\030\005 \001(\t\"\223\001\n\035ListDe" + + "liveryPipelinesResponse\022D\n\022delivery_pipe" + + "lines\030\001 \003(\0132(.google.cloud.deploy.v1.Del" + + "iveryPipeline\022\027\n\017next_page_token\030\002 \001(\t\022\023" + + "\n\013unreachable\030\003 \003(\t\"_\n\032GetDeliveryPipeli" + + "neRequest\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n+cloudde" + + "ploy.googleapis.com/DeliveryPipeline\"\206\002\n" + + "\035CreateDeliveryPipelineRequest\022C\n\006parent" + + "\030\001 \001(\tB3\340A\002\372A-\022+clouddeploy.googleapis.c" + + "om/DeliveryPipeline\022!\n\024delivery_pipeline" + + "_id\030\002 \001(\tB\003\340A\002\022H\n\021delivery_pipeline\030\003 \001(" + + "\0132(.google.cloud.deploy.v1.DeliveryPipel" + + "ineB\003\340A\002\022\027\n\nrequest_id\030\004 \001(\tB\003\340A\001\022\032\n\rval" + + "idate_only\030\005 \001(\010B\003\340A\001\"\360\001\n\035UpdateDelivery" + + "PipelineRequest\0224\n\013update_mask\030\001 \001(\0132\032.g" + + "oogle.protobuf.FieldMaskB\003\340A\002\022H\n\021deliver" + + "y_pipeline\030\002 \001(\0132(.google.cloud.deploy.v" + + "1.DeliveryPipelineB\003\340A\002\022\027\n\nrequest_id\030\003 " + + "\001(\tB\003\340A\001\022\032\n\rallow_missing\030\004 \001(\010B\003\340A\001\022\032\n\r" + + "validate_only\030\005 \001(\010B\003\340A\001\"\332\001\n\035DeleteDeliv" + + "eryPipelineRequest\022A\n\004name\030\001 \001(\tB3\340A\002\372A-" + + "\n+clouddeploy.googleapis.com/DeliveryPip" + + "eline\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\004etag\030\005 \001(\t" + + "B\003\340A\001\"m\n\024RollbackTargetConfig\0225\n\007rollout" + + "\030\001 \001(\0132\037.google.cloud.deploy.v1.RolloutB" + + "\003\340A\001\022\036\n\021starting_phase_id\030\002 \001(\tB\003\340A\001\"\200\003\n" + + "\025RollbackTargetRequest\022A\n\004name\030\001 \001(\tB3\340A" + + "\002\372A-\n+clouddeploy.googleapis.com/Deliver" + + "yPipeline\022\026\n\ttarget_id\030\002 \001(\tB\003\340A\002\022\027\n\nrol" + + "lout_id\030\003 \001(\tB\003\340A\002\022\027\n\nrelease_id\030\004 \001(\tB\003" + + "\340A\001\022!\n\024rollout_to_roll_back\030\005 \001(\tB\003\340A\001\022J" + + "\n\017rollback_config\030\006 \001(\0132,.google.cloud.d" + + "eploy.v1.RollbackTargetConfigB\003\340A\001\022\032\n\rva" + + "lidate_only\030\007 \001(\010B\003\340A\001\022O\n\026override_deplo" + + "y_policy\030\t \003(\tB/\340A\001\372A)\n\'clouddeploy.goog" + + "leapis.com/DeployPolicy\"_\n\026RollbackTarge" + + "tResponse\022E\n\017rollback_config\030\001 \001(\0132,.goo" + + "gle.cloud.deploy.v1.RollbackTargetConfig" + + "\"\276\n\n\006Target\022\021\n\004name\030\001 \001(\tB\003\340A\010\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\013desc" + + "ription\030\004 \001(\tB\003\340A\001\022I\n\013annotations\030\005 \003(\0132" + + "/.google.cloud.deploy.v1.Target.Annotati" + + "onsEntryB\003\340A\001\022?\n\006labels\030\006 \003(\0132*.google.c" + + "loud.deploy.v1.Target.LabelsEntryB\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.protobuf.TimestampB\003" - + "\340A\003\022\021\n\004etag\030\t \001(\tB\003\340A\001\022M\n\016custom_actions" - + "\030\n \001(\01323.google.cloud.deploy.v1.CustomTa" - + "rgetSkaffoldActionsH\000\0322\n\020AnnotationsEntr" - + "y\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\032-\n\013Lab" - + "elsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001" - + ":\200\001\352A}\n+clouddeploy.googleapis.com/Custo" - + "mTargetType\022Nprojects/{project}/location" - + "s/{location}/customTargetTypes/{custom_t" - + "arget_type}B\014\n\ndefinition\"\245\001\n\033CustomTarg" - + "etSkaffoldActions\022\032\n\rrender_action\030\001 \001(\t" - + "B\003\340A\001\022\032\n\rdeploy_action\030\002 \001(\tB\003\340A\002\022N\n\030inc" - + "lude_skaffold_modules\030\003 \003(\0132\'.google.clo" - + "ud.deploy.v1.SkaffoldModulesB\003\340A\001\"\302\004\n\017Sk" - + "affoldModules\022\024\n\007configs\030\001 \003(\tB\003\340A\001\022H\n\003g" - + "it\030\002 \001(\01329.google.cloud.deploy.v1.Skaffo" - + "ldModules.SkaffoldGitSourceH\000\022Y\n\024google_" - + "cloud_storage\030\003 \001(\01329.google.cloud.deplo" - + "y.v1.SkaffoldModules.SkaffoldGCSSourceH\000" - + "\022`\n\027google_cloud_build_repo\030\004 \001(\0132=.goog" + + "\340A\003\0224\n\013update_time\030\t \001(\0132\032.google.protob" + + "uf.TimestampB\003\340A\003\0226\n\003gke\030\017 \001(\0132\".google." + + "cloud.deploy.v1.GkeClusterB\003\340A\001H\000\022D\n\016ant" + + "hos_cluster\030\021 \001(\0132%.google.cloud.deploy." + + "v1.AnthosClusterB\003\340A\001H\000\022<\n\003run\030\022 \001(\0132(.g" + + "oogle.cloud.deploy.v1.CloudRunLocationB\003" + + "\340A\001H\000\022@\n\014multi_target\030\023 \001(\0132#.google.clo" + + "ud.deploy.v1.MultiTargetB\003\340A\001H\000\022B\n\rcusto" + + "m_target\030\025 \001(\0132$.google.cloud.deploy.v1." + + "CustomTargetB\003\340A\001H\000\022X\n\023associated_entiti" + + "es\030\027 \003(\01326.google.cloud.deploy.v1.Target" + + ".AssociatedEntitiesEntryB\003\340A\001\022\021\n\004etag\030\014 " + + "\001(\tB\003\340A\001\022G\n\021execution_configs\030\020 \003(\0132\'.go" + + "ogle.cloud.deploy.v1.ExecutionConfigB\003\340A" + + "\001\022T\n\021deploy_parameters\030\024 \003(\01324.google.cl" + + "oud.deploy.v1.Target.DeployParametersEnt" + + "ryB\003\340A\001\0322\n\020AnnotationsEntry\022\013\n\003key\030\001 \001(\t" + + "\022\r\n\005value\030\002 \001(\t:\0028\001\032-\n\013LabelsEntry\022\013\n\003ke" + + "y\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\032e\n\027Associated" + + "EntitiesEntry\022\013\n\003key\030\001 \001(\t\0229\n\005value\030\002 \001(" + + "\0132*.google.cloud.deploy.v1.AssociatedEnt" + + "ities:\0028\001\0327\n\025DeployParametersEntry\022\013\n\003ke" + + "y\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001:`\352A]\n!cloudde" + + "ploy.googleapis.com/Target\0228projects/{pr" + + "oject}/locations/{location}/targets/{tar" + + "get}B\023\n\021deployment_target\"\345\004\n\017ExecutionC" + + "onfig\022V\n\006usages\030\001 \003(\0162A.google.cloud.dep" + + "loy.v1.ExecutionConfig.ExecutionEnvironm" + + "entUsageB\003\340A\002\022@\n\014default_pool\030\002 \001(\0132#.go" + + "ogle.cloud.deploy.v1.DefaultPoolB\003\340A\001H\000\022" + + "@\n\014private_pool\030\003 \001(\0132#.google.cloud.dep" + + "loy.v1.PrivatePoolB\003\340A\001H\000\022A\n\013worker_pool" + + "\030\004 \001(\tB,\340A\001\372A&\n$cloudbuild.googleapis.co" + + "m/WorkerPool\022\034\n\017service_account\030\005 \001(\tB\003\340" + + "A\001\022\035\n\020artifact_storage\030\006 \001(\tB\003\340A\001\0229\n\021exe" + + "cution_timeout\030\007 \001(\0132\031.google.protobuf.D" + + "urationB\003\340A\001\022\024\n\007verbose\030\010 \001(\010B\003\340A\001\"\213\001\n\031E" + + "xecutionEnvironmentUsage\022+\n\'EXECUTION_EN" + + "VIRONMENT_USAGE_UNSPECIFIED\020\000\022\n\n\006RENDER\020" + + "\001\022\n\n\006DEPLOY\020\002\022\n\n\006VERIFY\020\003\022\r\n\tPREDEPLOY\020\004" + + "\022\016\n\nPOSTDEPLOY\020\005B\027\n\025execution_environmen" + + "t\"J\n\013DefaultPool\022\034\n\017service_account\030\001 \001(" + + "\tB\003\340A\001\022\035\n\020artifact_storage\030\002 \001(\tB\003\340A\001\"\215\001" + + "\n\013PrivatePool\022A\n\013worker_pool\030\001 \001(\tB,\340A\002\372" + + "A&\n$cloudbuild.googleapis.com/WorkerPool" + + "\022\034\n\017service_account\030\002 \001(\tB\003\340A\001\022\035\n\020artifa" + + "ct_storage\030\003 \001(\tB\003\340A\001\"\224\001\n\nGkeCluster\0229\n\007" + + "cluster\030\001 \001(\tB(\340A\001\372A\"\n container.googlea" + + "pis.com/Cluster\022\030\n\013internal_ip\030\002 \001(\010B\003\340A" + + "\001\022\026\n\tproxy_url\030\003 \001(\tB\003\340A\001\022\031\n\014dns_endpoin" + + "t\030\004 \001(\010B\003\340A\001\"M\n\rAnthosCluster\022<\n\nmembers" + + "hip\030\001 \001(\tB(\340A\001\372A\"\n gkehub.googleapis.com" + + "/Membership\"O\n\020CloudRunLocation\022;\n\010locat" + + "ion\030\001 \001(\tB)\340A\002\372A#\n!locations.googleapis." + + "com/Location\"&\n\013MultiTarget\022\027\n\ntarget_id" + + "s\030\001 \003(\tB\003\340A\002\"_\n\014CustomTarget\022O\n\022custom_t" + + "arget_type\030\001 \001(\tB3\340A\002\372A-\n+clouddeploy.go" + + "ogleapis.com/CustomTargetType\"\230\001\n\022Associ" + + "atedEntities\022=\n\014gke_clusters\030\002 \003(\0132\".goo" + + "gle.cloud.deploy.v1.GkeClusterB\003\340A\001\022C\n\017a" + + "nthos_clusters\030\003 \003(\0132%.google.cloud.depl" + + "oy.v1.AnthosClusterB\003\340A\001\"\254\001\n\022ListTargets" + + "Request\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\022!cloudde" + + "ploy.googleapis.com/Target\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\006f" + + "ilter\030\004 \001(\tB\003\340A\001\022\025\n\010order_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\013unreachable\030\003 \003(\t\"K\n" + + "\020GetTargetRequest\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n" + + "!clouddeploy.googleapis.com/Target\"\322\001\n\023C" + + "reateTargetRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372" + + "A#\022!clouddeploy.googleapis.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.TargetB\003\340A\002\022\027\n\nre" + + "quest_id\030\004 \001(\tB\003\340A\001\022\032\n\rvalidate_only\030\005 \001" + + "(\010B\003\340A\001\"\321\001\n\023UpdateTargetRequest\0224\n\013updat" + + "e_mask\030\001 \001(\0132\032.google.protobuf.FieldMask" + + "B\003\340A\002\0223\n\006target\030\002 \001(\0132\036.google.cloud.dep" + + "loy.v1.TargetB\003\340A\002\022\027\n\nrequest_id\030\003 \001(\tB\003" + + "\340A\001\022\032\n\rallow_missing\030\004 \001(\010B\003\340A\001\022\032\n\rvalid" + + "ate_only\030\005 \001(\010B\003\340A\001\"\262\001\n\023DeleteTargetRequ" + + "est\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!clouddeploy.g" + + "oogleapis.com/Target\022\027\n\nrequest_id\030\002 \001(\t" + + "B\003\340A\001\022\032\n\rallow_missing\030\003 \001(\010B\003\340A\001\022\032\n\rval" + + "idate_only\030\004 \001(\010B\003\340A\001\022\021\n\004etag\030\005 \001(\tB\003\340A\001" + + "\"\334\005\n\020CustomTargetType\022\021\n\004name\030\001 \001(\tB\003\340A\010" + + "\022\"\n\025custom_target_type_id\030\002 \001(\tB\003\340A\003\022\020\n\003" + + "uid\030\003 \001(\tB\003\340A\003\022\030\n\013description\030\004 \001(\tB\003\340A\001" + + "\022S\n\013annotations\030\005 \003(\01329.google.cloud.dep" + + "loy.v1.CustomTargetType.AnnotationsEntry" + + "B\003\340A\001\022I\n\006labels\030\006 \003(\01324.google.cloud.dep" + + "loy.v1.CustomTargetType.LabelsEntryB\003\340A\001" + + "\0224\n\013create_time\030\007 \001(\0132\032.google.protobuf." + + "TimestampB\003\340A\003\0224\n\013update_time\030\010 \001(\0132\032.go" + + "ogle.protobuf.TimestampB\003\340A\003\022\021\n\004etag\030\t \001" + + "(\tB\003\340A\001\022R\n\016custom_actions\030\n \001(\01323.google" + + ".cloud.deploy.v1.CustomTargetSkaffoldAct" + + "ionsB\003\340A\001H\000\0322\n\020AnnotationsEntry\022\013\n\003key\030\001" + + " \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\032-\n\013LabelsEntry\022\013" + + "\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001:\200\001\352A}\n+cl" + + "ouddeploy.googleapis.com/CustomTargetTyp" + + "e\022Nprojects/{project}/locations/{locatio" + + "n}/customTargetTypes/{custom_target_type" + + "}B\014\n\ndefinition\"\245\001\n\033CustomTargetSkaffold" + + "Actions\022\032\n\rrender_action\030\001 \001(\tB\003\340A\001\022\032\n\rd" + + "eploy_action\030\002 \001(\tB\003\340A\002\022N\n\030include_skaff" + + "old_modules\030\003 \003(\0132\'.google.cloud.deploy." + + "v1.SkaffoldModulesB\003\340A\001\"\321\004\n\017SkaffoldModu" + + "les\022\024\n\007configs\030\001 \003(\tB\003\340A\001\022M\n\003git\030\002 \001(\01329" + + ".google.cloud.deploy.v1.SkaffoldModules." + + "SkaffoldGitSourceB\003\340A\001H\000\022^\n\024google_cloud" + + "_storage\030\003 \001(\01329.google.cloud.deploy.v1." + + "SkaffoldModules.SkaffoldGCSSourceB\003\340A\001H\000" + + "\022e\n\027google_cloud_build_repo\030\004 \001(\0132=.goog" + "le.cloud.deploy.v1.SkaffoldModules.Skaff" - + "oldGCBRepoSourceH\000\032K\n\021SkaffoldGitSource\022" - + "\021\n\004repo\030\001 \001(\tB\003\340A\002\022\021\n\004path\030\002 \001(\tB\003\340A\001\022\020\n" - + "\003ref\030\003 \001(\tB\003\340A\001\032;\n\021SkaffoldGCSSource\022\023\n\006" - + "source\030\001 \001(\tB\003\340A\002\022\021\n\004path\030\002 \001(\tB\003\340A\001\032~\n\025" - + "SkaffoldGCBRepoSource\022@\n\nrepository\030\001 \001(" - + "\tB,\340A\002\372A&\n$cloudbuild.googleapis.com/Rep" - + "ository\022\021\n\004path\030\002 \001(\tB\003\340A\001\022\020\n\003ref\030\003 \001(\tB" - + "\003\340A\001B\010\n\006source\"\300\001\n\034ListCustomTargetTypes" - + "Request\022C\n\006parent\030\001 \001(\tB3\340A\002\372A-\022+cloudde" - + "ploy.googleapis.com/CustomTargetType\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\"\224\001\n\035ListCustomTargetTypesRespo" - + "nse\022E\n\023custom_target_types\030\001 \003(\0132(.googl" - + "e.cloud.deploy.v1.CustomTargetType\022\027\n\017ne" - + "xt_page_token\030\002 \001(\t\022\023\n\013unreachable\030\003 \003(\t" - + "\"_\n\032GetCustomTargetTypeRequest\022A\n\004name\030\001" - + " \001(\tB3\340A\002\372A-\n+clouddeploy.googleapis.com" - + "/CustomTargetType\"\210\002\n\035CreateCustomTarget" - + "TypeRequest\022C\n\006parent\030\001 \001(\tB3\340A\002\372A-\022+clo" - + "uddeploy.googleapis.com/CustomTargetType" - + "\022\"\n\025custom_target_type_id\030\002 \001(\tB\003\340A\002\022I\n\022" - + "custom_target_type\030\003 \001(\0132(.google.cloud." - + "deploy.v1.CustomTargetTypeB\003\340A\002\022\027\n\nreque" - + "st_id\030\004 \001(\tB\003\340A\001\022\032\n\rvalidate_only\030\005 \001(\010B" - + "\003\340A\001\"\361\001\n\035UpdateCustomTargetTypeRequest\0224" - + "\n\013update_mask\030\001 \001(\0132\032.google.protobuf.Fi" - + "eldMaskB\003\340A\002\022I\n\022custom_target_type\030\002 \001(\013" - + "2(.google.cloud.deploy.v1.CustomTargetTy" - + "peB\003\340A\002\022\027\n\nrequest_id\030\003 \001(\tB\003\340A\001\022\032\n\rallo" - + "w_missing\030\004 \001(\010B\003\340A\001\022\032\n\rvalidate_only\030\005 " - + "\001(\010B\003\340A\001\"\306\001\n\035DeleteCustomTargetTypeReque" - + "st\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n+clouddeploy.go" - + "ogleapis.com/CustomTargetType\022\027\n\nrequest" - + "_id\030\002 \001(\tB\003\340A\001\022\032\n\rallow_missing\030\003 \001(\010B\003\340" - + "A\001\022\032\n\rvalidate_only\030\004 \001(\010B\003\340A\001\022\021\n\004etag\030\005" - + " \001(\tB\003\340A\001\"\212\006\n\014DeployPolicy\022\021\n\004name\030\001 \001(\t" - + "B\003\340A\003\022\020\n\003uid\030\002 \001(\tB\003\340A\003\022\023\n\013description\030\003" - + " \001(\t\022J\n\013annotations\030\004 \003(\01325.google.cloud" - + ".deploy.v1.DeployPolicy.AnnotationsEntry" - + "\022@\n\006labels\030\005 \003(\01320.google.cloud.deploy.v" - + "1.DeployPolicy.LabelsEntry\0224\n\013create_tim" - + "e\030\006 \001(\0132\032.google.protobuf.TimestampB\003\340A\003" - + "\0224\n\013update_time\030\007 \001(\0132\032.google.protobuf." - + "TimestampB\003\340A\003\022\021\n\tsuspended\030\010 \001(\010\022L\n\tsel" - + "ectors\030\014 \003(\01324.google.cloud.deploy.v1.De" - + "ployPolicyResourceSelectorB\003\340A\002\0226\n\005rules" - + "\030\n \003(\0132\".google.cloud.deploy.v1.PolicyRu" - + "leB\003\340A\002\022\014\n\004etag\030\013 \001(\t\0322\n\020AnnotationsEntr" - + "y\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\032-\n\013Lab" - + "elsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001" - + "\"C\n\007Invoker\022\027\n\023INVOKER_UNSPECIFIED\020\000\022\010\n\004" - + "USER\020\001\022\025\n\021DEPLOY_AUTOMATION\020\002:w\352At\n\'clou" - + "ddeploy.googleapis.com/DeployPolicy\022Fpro" - + "jects/{project}/locations/{location}/dep" - + "loyPolicies/{deploy_policy}R\001\001\"\257\001\n\034Deplo" - + "yPolicyResourceSelector\022Q\n\021delivery_pipe" - + "line\030\001 \001(\01321.google.cloud.deploy.v1.Deli" - + "veryPipelineAttributeB\003\340A\001\022<\n\006target\030\002 \001" - + "(\0132\'.google.cloud.deploy.v1.TargetAttrib" - + "uteB\003\340A\001\"\245\001\n\031DeliveryPipelineAttribute\022\n" - + "\n\002id\030\001 \001(\t\022M\n\006labels\030\002 \003(\0132=.google.clou" - + "d.deploy.v1.DeliveryPipelineAttribute.La" - + "belsEntry\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n" - + "\005value\030\002 \001(\t:\0028\001\"\221\001\n\017TargetAttribute\022\n\n\002" - + "id\030\001 \001(\t\022C\n\006labels\030\002 \003(\01323.google.cloud." - + "deploy.v1.TargetAttribute.LabelsEntry\032-\n" - + "\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t" - + ":\0028\001\"_\n\nPolicyRule\022I\n\023rollout_restrictio" - + "n\030\002 \001(\0132*.google.cloud.deploy.v1.Rollout" - + "RestrictionH\000B\006\n\004rule\"\244\003\n\022RolloutRestric" - + "tion\022\017\n\002id\030\001 \001(\tB\003\340A\002\022C\n\010invokers\030\002 \003(\0162" - + ",.google.cloud.deploy.v1.DeployPolicy.In" - + "vokerB\003\340A\001\022O\n\007actions\030\003 \003(\01629.google.clo" - + "ud.deploy.v1.RolloutRestriction.RolloutA" - + "ctionsB\003\340A\001\022>\n\014time_windows\030\004 \001(\0132#.goog" - + "le.cloud.deploy.v1.TimeWindowsB\003\340A\002\"\246\001\n\016" - + "RolloutActions\022\037\n\033ROLLOUT_ACTIONS_UNSPEC" - + "IFIED\020\000\022\013\n\007ADVANCE\020\001\022\013\n\007APPROVE\020\002\022\n\n\006CAN" - + "CEL\020\003\022\n\n\006CREATE\020\004\022\016\n\nIGNORE_JOB\020\005\022\r\n\tRET" - + "RY_JOB\020\006\022\014\n\010ROLLBACK\020\007\022\024\n\020TERMINATE_JOBR" - + "UN\020\010\"\256\001\n\013TimeWindows\022\026\n\ttime_zone\030\001 \001(\tB" - + "\003\340A\002\022D\n\020one_time_windows\030\002 \003(\0132%.google." - + "cloud.deploy.v1.OneTimeWindowB\003\340A\001\022A\n\016we" - + "ekly_windows\030\003 \003(\0132$.google.cloud.deploy" - + ".v1.WeeklyWindowB\003\340A\001\"\305\001\n\rOneTimeWindow\022" - + "*\n\nstart_date\030\001 \001(\0132\021.google.type.DateB\003" - + "\340A\002\022/\n\nstart_time\030\002 \001(\0132\026.google.type.Ti" - + "meOfDayB\003\340A\002\022(\n\010end_date\030\003 \001(\0132\021.google." - + "type.DateB\003\340A\002\022-\n\010end_time\030\004 \001(\0132\026.googl" - + "e.type.TimeOfDayB\003\340A\002\"\241\001\n\014WeeklyWindow\0221" - + "\n\014days_of_week\030\001 \003(\0162\026.google.type.DayOf" - + "WeekB\003\340A\001\022/\n\nstart_time\030\002 \001(\0132\026.google.t" - + "ype.TimeOfDayB\003\340A\001\022-\n\010end_time\030\003 \001(\0132\026.g" - + "oogle.type.TimeOfDayB\003\340A\001\"c\n\017PolicyViola" - + "tion\022P\n\030policy_violation_details\030\001 \003(\0132." - + ".google.cloud.deploy.v1.PolicyViolationD" - + "etails\"R\n\026PolicyViolationDetails\022\016\n\006poli" - + "cy\030\001 \001(\t\022\017\n\007rule_id\030\002 \001(\t\022\027\n\017failure_mes" - + "sage\030\003 \001(\t\"\263\027\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.cloud.dep" - + "loy.v1.Release.AnnotationsEntry\022;\n\006label" - + "s\030\005 \003(\0132+.google.cloud.deploy.v1.Release" - + ".LabelsEntry\022\026\n\tabandoned\030\027 \001(\010B\003\340A\003\0224\n\013" - + "create_time\030\006 \001(\0132\032.google.protobuf.Time" - + "stampB\003\340A\003\022:\n\021render_start_time\030\007 \001(\0132\032." - + "google.protobuf.TimestampB\003\340A\003\0228\n\017render" - + "_end_time\030\010 \001(\0132\032.google.protobuf.Timest" - + "ampB\003\340A\003\022\033\n\023skaffold_config_uri\030\021 \001(\t\022\034\n" - + "\024skaffold_config_path\030\t \001(\t\022>\n\017build_art" - + "ifacts\030\n \003(\0132%.google.cloud.deploy.v1.Bu" - + "ildArtifact\022Q\n\032delivery_pipeline_snapsho" - + "t\030\013 \001(\0132(.google.cloud.deploy.v1.Deliver" - + "yPipelineB\003\340A\003\022=\n\020target_snapshots\030\014 \003(\013" - + "2\036.google.cloud.deploy.v1.TargetB\003\340A\003\022S\n" - + "\034custom_target_type_snapshots\030\033 \003(\0132(.go" - + "ogle.cloud.deploy.v1.CustomTargetTypeB\003\340" - + "A\003\022F\n\014render_state\030\r \001(\0162+.google.cloud.", - "deploy.v1.Release.RenderStateB\003\340A\003\022\014\n\004et" - + "ag\030\020 \001(\t\022\035\n\020skaffold_version\030\023 \001(\tB\003\340A\001\022" - + "S\n\020target_artifacts\030\024 \003(\01324.google.cloud" - + ".deploy.v1.Release.TargetArtifactsEntryB" - + "\003\340A\003\022O\n\016target_renders\030\026 \003(\01322.google.cl" - + "oud.deploy.v1.Release.TargetRendersEntry" - + "B\003\340A\003\022H\n\tcondition\030\030 \001(\01320.google.cloud." - + "deploy.v1.Release.ReleaseConditionB\003\340A\003\022" - + "U\n\021deploy_parameters\030\031 \003(\01325.google.clou" - + "d.deploy.v1.Release.DeployParametersEntr" - + "yB\003\340A\001\032\324\005\n\014TargetRender\022@\n\017rendering_bui" - + "ld\030\001 \001(\tB\'\340A\003\372A!\n\037cloudbuild.googleapis." - + "com/Build\022\\\n\017rendering_state\030\002 \001(\0162>.goo" - + "gle.cloud.deploy.v1.Release.TargetRender" - + ".TargetRenderStateB\003\340A\003\022=\n\010metadata\030\006 \001(" - + "\0132&.google.cloud.deploy.v1.RenderMetadat" - + "aB\003\340A\003\022U\n\rfailure_cause\030\004 \001(\01629.google.c" - + "loud.deploy.v1.Release.TargetRender.Fail" - + "ureCauseB\003\340A\003\022\034\n\017failure_message\030\005 \001(\tB\003" - + "\340A\003\"d\n\021TargetRenderState\022#\n\037TARGET_RENDE" - + "R_STATE_UNSPECIFIED\020\000\022\r\n\tSUCCEEDED\020\001\022\n\n\006" - + "FAILED\020\002\022\017\n\013IN_PROGRESS\020\003\"\211\002\n\014FailureCau" - + "se\022\035\n\031FAILURE_CAUSE_UNSPECIFIED\020\000\022\033\n\027CLO" - + "UD_BUILD_UNAVAILABLE\020\001\022\024\n\020EXECUTION_FAIL" - + "ED\020\002\022\036\n\032CLOUD_BUILD_REQUEST_FAILED\020\003\022!\n\035" - + "VERIFICATION_CONFIG_NOT_FOUND\020\004\022\033\n\027CUSTO" - + "M_ACTION_NOT_FOUND\020\005\022%\n!DEPLOYMENT_STRAT" - + "EGY_NOT_SUPPORTED\020\006\022 \n\034RENDER_FEATURE_NO" - + "T_SUPPORTED\020\007\032\'\n\025ReleaseReadyCondition\022\016" - + "\n\006status\030\001 \001(\010\032\362\001\n\032SkaffoldSupportedCond" - + "ition\022\016\n\006status\030\001 \001(\010\022L\n\026skaffold_suppor" - + "t_state\030\002 \001(\0162,.google.cloud.deploy.v1.S" - + "kaffoldSupportState\0229\n\025maintenance_mode_" - + "time\030\003 \001(\0132\032.google.protobuf.Timestamp\022;" - + "\n\027support_expiration_time\030\004 \001(\0132\032.google" - + ".protobuf.Timestamp\032\314\001\n\020ReleaseCondition" - + "\022V\n\027release_ready_condition\030\001 \001(\01325.goog" - + "le.cloud.deploy.v1.Release.ReleaseReadyC" - + "ondition\022`\n\034skaffold_supported_condition" - + "\030\002 \001(\0132:.google.cloud.deploy.v1.Release." - + "SkaffoldSupportedCondition\0322\n\020Annotation" - + "sEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\032-" - + "\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(" - + "\t:\0028\001\032^\n\024TargetArtifactsEntry\022\013\n\003key\030\001 \001" - + "(\t\0225\n\005value\030\002 \001(\0132&.google.cloud.deploy." - + "v1.TargetArtifact:\0028\001\032b\n\022TargetRendersEn" - + "try\022\013\n\003key\030\001 \001(\t\022;\n\005value\030\002 \001(\0132,.google" - + ".cloud.deploy.v1.Release.TargetRender:\0028" - + "\001\0327\n\025DeployParametersEntry\022\013\n\003key\030\001 \001(\t\022" - + "\r\n\005value\030\002 \001(\t:\0028\001\"W\n\013RenderState\022\034\n\030REN" - + "DER_STATE_UNSPECIFIED\020\000\022\r\n\tSUCCEEDED\020\001\022\n" - + "\n\006FAILED\020\002\022\017\n\013IN_PROGRESS\020\003:\212\001\352A\206\001\n\"clou" - + "ddeploy.googleapis.com/Release\022`projects" - + "/{project}/locations/{location}/delivery" - + "Pipelines/{delivery_pipeline}/releases/{" - + "release}\"\362\001\n\031CreateDeployPolicyRequest\022?" - + "\n\006parent\030\001 \001(\tB/\340A\002\372A)\022\'clouddeploy.goog" - + "leapis.com/DeployPolicy\022\035\n\020deploy_policy" - + "_id\030\002 \001(\tB\003\340A\002\022@\n\rdeploy_policy\030\003 \001(\0132$." - + "google.cloud.deploy.v1.DeployPolicyB\003\340A\002" - + "\022\027\n\nrequest_id\030\004 \001(\tB\003\340A\001\022\032\n\rvalidate_on" - + "ly\030\005 \001(\010B\003\340A\001\"\344\001\n\031UpdateDeployPolicyRequ" + + "oldGCBRepoSourceB\003\340A\001H\000\032K\n\021SkaffoldGitSo" + + "urce\022\021\n\004repo\030\001 \001(\tB\003\340A\002\022\021\n\004path\030\002 \001(\tB\003\340" + + "A\001\022\020\n\003ref\030\003 \001(\tB\003\340A\001\032;\n\021SkaffoldGCSSourc" + + "e\022\023\n\006source\030\001 \001(\tB\003\340A\002\022\021\n\004path\030\002 \001(\tB\003\340A" + + "\001\032~\n\025SkaffoldGCBRepoSource\022@\n\nrepository" + + "\030\001 \001(\tB,\340A\002\372A&\n$cloudbuild.googleapis.co" + + "m/Repository\022\021\n\004path\030\002 \001(\tB\003\340A\001\022\020\n\003ref\030\003" + + " \001(\tB\003\340A\001B\010\n\006source\"\300\001\n\034ListCustomTarget" + + "TypesRequest\022C\n\006parent\030\001 \001(\tB3\340A\002\372A-\022+cl" + + "ouddeploy.googleapis.com/CustomTargetTyp" + + "e\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\010order" + + "_by\030\005 \001(\tB\003\340A\001\"\224\001\n\035ListCustomTargetTypes" + + "Response\022E\n\023custom_target_types\030\001 \003(\0132(." + + "google.cloud.deploy.v1.CustomTargetType\022" + + "\027\n\017next_page_token\030\002 \001(\t\022\023\n\013unreachable\030" + + "\003 \003(\t\"_\n\032GetCustomTargetTypeRequest\022A\n\004n" + + "ame\030\001 \001(\tB3\340A\002\372A-\n+clouddeploy.googleapi" + + "s.com/CustomTargetType\"\210\002\n\035CreateCustomT" + + "argetTypeRequest\022C\n\006parent\030\001 \001(\tB3\340A\002\372A-" + + "\022+clouddeploy.googleapis.com/CustomTarge" + + "tType\022\"\n\025custom_target_type_id\030\002 \001(\tB\003\340A" + + "\002\022I\n\022custom_target_type\030\003 \001(\0132(.google.c" + + "loud.deploy.v1.CustomTargetTypeB\003\340A\002\022\027\n\n" + + "request_id\030\004 \001(\tB\003\340A\001\022\032\n\rvalidate_only\030\005" + + " \001(\010B\003\340A\001\"\361\001\n\035UpdateCustomTargetTypeRequ" + "est\0224\n\013update_mask\030\001 \001(\0132\032.google.protob" - + "uf.FieldMaskB\003\340A\002\022@\n\rdeploy_policy\030\002 \001(\013" - + "2$.google.cloud.deploy.v1.DeployPolicyB\003" - + "\340A\002\022\027\n\nrequest_id\030\003 \001(\tB\003\340A\001\022\032\n\rallow_mi" - + "ssing\030\004 \001(\010B\003\340A\001\022\032\n\rvalidate_only\030\005 \001(\010B" - + "\003\340A\001\"\276\001\n\031DeleteDeployPolicyRequest\022=\n\004na" - + "me\030\001 \001(\tB/\340A\002\372A)\n\'clouddeploy.googleapis" - + ".com/DeployPolicy\022\027\n\nrequest_id\030\002 \001(\tB\003\340" - + "A\001\022\032\n\rallow_missing\030\003 \001(\010B\003\340A\001\022\032\n\rvalida" - + "te_only\030\004 \001(\010B\003\340A\001\022\021\n\004etag\030\005 \001(\tB\003\340A\001\"\245\001" - + "\n\031ListDeployPoliciesRequest\022?\n\006parent\030\001 " - + "\001(\tB/\340A\002\372A)\022\'clouddeploy.googleapis.com/" - + "DeployPolicy\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\"\211\001\n\032ListDeployPoliciesResponse\022=\n\017" - + "deploy_policies\030\001 \003(\0132$.google.cloud.dep" - + "loy.v1.DeployPolicy\022\027\n\017next_page_token\030\002" - + " \001(\t\022\023\n\013unreachable\030\003 \003(\t\"W\n\026GetDeployPo" - + "licyRequest\022=\n\004name\030\001 \001(\tB/\340A\002\372A)\n\'cloud" - + "deploy.googleapis.com/DeployPolicy\"+\n\rBu" - + "ildArtifact\022\r\n\005image\030\003 \001(\t\022\013\n\003tag\030\002 \001(\t\"" - + "\253\003\n\016TargetArtifact\022\033\n\014artifact_uri\030\004 \001(\t" - + "B\003\340A\003H\000\022!\n\024skaffold_config_path\030\002 \001(\tB\003\340" - + "A\003\022\032\n\rmanifest_path\030\003 \001(\tB\003\340A\003\022X\n\017phase_" - + "artifacts\030\005 \003(\0132:.google.cloud.deploy.v1" - + ".TargetArtifact.PhaseArtifactsEntryB\003\340A\003" - + "\032o\n\rPhaseArtifact\022!\n\024skaffold_config_pat" - + "h\030\001 \001(\tB\003\340A\003\022\032\n\rmanifest_path\030\003 \001(\tB\003\340A\003" - + "\022\037\n\022job_manifests_path\030\004 \001(\tB\003\340A\003\032k\n\023Pha" - + "seArtifactsEntry\022\013\n\003key\030\001 \001(\t\022C\n\005value\030\002" - + " \001(\01324.google.cloud.deploy.v1.TargetArti" - + "fact.PhaseArtifact:\0028\001B\005\n\003uri\"H\n\016DeployA" - + "rtifact\022\031\n\014artifact_uri\030\001 \001(\tB\003\340A\003\022\033\n\016ma" - + "nifest_paths\030\002 \003(\tB\003\340A\003\"M\n\026CloudRunRende" - + "rMetadata\0223\n\007service\030\001 \001(\tB\"\340A\003\372A\034\n\032run." - + "googleapis.com/Service\"\225\001\n\016RenderMetadat" - + "a\022F\n\tcloud_run\030\001 \001(\0132..google.cloud.depl" - + "oy.v1.CloudRunRenderMetadataB\003\340A\003\022;\n\006cus" - + "tom\030\002 \001(\0132&.google.cloud.deploy.v1.Custo" - + "mMetadataB\003\340A\003\"\267\001\n\023ListReleasesRequest\022C" - + "\n\006parent\030\001 \001(\tB3\340A\002\372A-\n+clouddeploy.goog" - + "leapis.com/DeliveryPipeline\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\006" - + "filter\030\004 \001(\tB\003\340A\001\022\025\n\010order_by\030\005 \001(\tB\003\340A\001" - + "\"w\n\024ListReleasesResponse\0221\n\010releases\030\001 \003" - + "(\0132\037.google.cloud.deploy.v1.Release\022\027\n\017n" - + "ext_page_token\030\002 \001(\t\022\023\n\013unreachable\030\003 \003(" - + "\t\"M\n\021GetReleaseRequest\0228\n\004name\030\001 \001(\tB*\340A" - + "\002\372A$\n\"clouddeploy.googleapis.com/Release" - + "\"\261\002\n\024CreateReleaseRequest\022C\n\006parent\030\001 \001(" - + "\tB3\340A\002\372A-\n+clouddeploy.googleapis.com/De" - + "liveryPipeline\022\027\n\nrelease_id\030\002 \001(\tB\003\340A\002\022" - + "5\n\007release\030\003 \001(\0132\037.google.cloud.deploy.v" - + "1.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\022O\n\026override_" - + "deploy_policy\030\006 \003(\tB/\340A\001\372A)\n\'clouddeploy" - + ".googleapis.com/DeployPolicy\"\223\017\n\007Rollout" - + "\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(\0132" - + "0.google.cloud.deploy.v1.Rollout.Annotat" - + "ionsEntry\022;\n\006labels\030\005 \003(\0132+.google.cloud" + + "uf.FieldMaskB\003\340A\002\022I\n\022custom_target_type\030" + + "\002 \001(\0132(.google.cloud.deploy.v1.CustomTar" + + "getTypeB\003\340A\002\022\027\n\nrequest_id\030\003 \001(\tB\003\340A\001\022\032\n" + + "\rallow_missing\030\004 \001(\010B\003\340A\001\022\032\n\rvalidate_on" + + "ly\030\005 \001(\010B\003\340A\001\"\306\001\n\035DeleteCustomTargetType" + + "Request\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n+clouddepl" + + "oy.googleapis.com/CustomTargetType\022\027\n\nre" + + "quest_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\004e" + + "tag\030\005 \001(\tB\003\340A\001\"\231\006\n\014DeployPolicy\022\021\n\004name\030" + + "\001 \001(\tB\003\340A\003\022\020\n\003uid\030\002 \001(\tB\003\340A\003\022\030\n\013descript" + + "ion\030\003 \001(\tB\003\340A\001\022O\n\013annotations\030\004 \003(\01325.go" + + "ogle.cloud.deploy.v1.DeployPolicy.Annota" + + "tionsEntryB\003\340A\001\022@\n\006labels\030\005 \003(\01320.google" + + ".cloud.deploy.v1.DeployPolicy.LabelsEntr" + + "y\0224\n\013create_time\030\006 \001(\0132\032.google.protobuf" + + ".TimestampB\003\340A\003\0224\n\013update_time\030\007 \001(\0132\032.g" + + "oogle.protobuf.TimestampB\003\340A\003\022\026\n\tsuspend" + + "ed\030\010 \001(\010B\003\340A\001\022L\n\tselectors\030\014 \003(\01324.googl" + + "e.cloud.deploy.v1.DeployPolicyResourceSe" + + "lectorB\003\340A\002\0226\n\005rules\030\n \003(\0132\".google.clou" + + "d.deploy.v1.PolicyRuleB\003\340A\002\022\014\n\004etag\030\013 \001(" + + "\t\0322\n\020AnnotationsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005va" + + "lue\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\"C\n\007Invoker\022\027\n\023INVOK" + + "ER_UNSPECIFIED\020\000\022\010\n\004USER\020\001\022\025\n\021DEPLOY_AUT" + + "OMATION\020\002:w\352At\n\'clouddeploy.googleapis.c" + + "om/DeployPolicy\022Fprojects/{project}/loca" + + "tions/{location}/deployPolicies/{deploy_" + + "policy}R\001\001\"\257\001\n\034DeployPolicyResourceSelec" + + "tor\022Q\n\021delivery_pipeline\030\001 \001(\01321.google." + + "cloud.deploy.v1.DeliveryPipelineAttribut" + + "eB\003\340A\001\022<\n\006target\030\002 \001(\0132\'.google.cloud.de" + + "ploy.v1.TargetAttributeB\003\340A\001\"\252\001\n\031Deliver" + + "yPipelineAttribute\022\017\n\002id\030\001 \001(\tB\003\340A\001\022M\n\006l" + + "abels\030\002 \003(\0132=.google.cloud.deploy.v1.Del" + + "iveryPipelineAttribute.LabelsEntry\032-\n\013La" + + "belsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028" + + "\001\"\226\001\n\017TargetAttribute\022\017\n\002id\030\001 \001(\tB\003\340A\001\022C" + + "\n\006labels\030\002 \003(\01323.google.cloud.deploy.v1." + + "TargetAttribute.LabelsEntry\032-\n\013LabelsEnt" + + "ry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"d\n\nPo" + + "licyRule\022N\n\023rollout_restriction\030\002 \001(\0132*." + + "google.cloud.deploy.v1.RolloutRestrictio" + + "nB\003\340A\001H\000B\006\n\004rule\"\244\003\n\022RolloutRestriction\022" + + "\017\n\002id\030\001 \001(\tB\003\340A\002\022C\n\010invokers\030\002 \003(\0162,.goo" + + "gle.cloud.deploy.v1.DeployPolicy.Invoker" + + "B\003\340A\001\022O\n\007actions\030\003 \003(\01629.google.cloud.de" + + "ploy.v1.RolloutRestriction.RolloutAction" + + "sB\003\340A\001\022>\n\014time_windows\030\004 \001(\0132#.google.cl" + + "oud.deploy.v1.TimeWindowsB\003\340A\002\"\246\001\n\016Rollo" + + "utActions\022\037\n\033ROLLOUT_ACTIONS_UNSPECIFIED" + + "\020\000\022\013\n\007ADVANCE\020\001\022\013\n\007APPROVE\020\002\022\n\n\006CANCEL\020\003" + + "\022\n\n\006CREATE\020\004\022\016\n\nIGNORE_JOB\020\005\022\r\n\tRETRY_JO" + + "B\020\006\022\014\n\010ROLLBACK\020\007\022\024\n\020TERMINATE_JOBRUN\020\010\"" + + "\256\001\n\013TimeWindows\022\026\n\ttime_zone\030\001 \001(\tB\003\340A\002\022" + + "D\n\020one_time_windows\030\002 \003(\0132%.google.cloud" + + ".deploy.v1.OneTimeWindowB\003\340A\001\022A\n\016weekly_" + + "windows\030\003 \003(\0132$.google.cloud.deploy.v1.W" + + "eeklyWindowB\003\340A\001\"\305\001\n\rOneTimeWindow\022*\n\nst" + + "art_date\030\001 \001(\0132\021.google.type.DateB\003\340A\002\022/" + + "\n\nstart_time\030\002 \001(\0132\026.google.type.TimeOfD" + + "ayB\003\340A\002\022(\n\010end_date\030\003 \001(\0132\021.google.type." + + "DateB\003\340A\002\022-\n\010end_time\030\004 \001(\0132\026.google.typ" + + "e.TimeOfDayB\003\340A\002\"\241\001\n\014WeeklyWindow\0221\n\014day" + + "s_of_week\030\001 \003(\0162\026.google.type.DayOfWeekB" + + "\003\340A\001\022/\n\nstart_time\030\002 \001(\0132\026.google.type.T" + + "imeOfDayB\003\340A\001\022-\n\010end_time\030\003 \001(\0132\026.google" + + ".type.TimeOfDayB\003\340A\001\"c\n\017PolicyViolation\022" + + "P\n\030policy_violation_details\030\001 \003(\0132..goog" + + "le.cloud.deploy.v1.PolicyViolationDetail" + + "s\"R\n\026PolicyViolationDetails\022\016\n\006policy\030\001 " + + "\001(\t\022\017\n\007rule_id\030\002 \001(\t\022\027\n\017failure_message\030" + + "\003 \001(\t\"\314\027\n\007Release\022\021\n\004name\030\001 \001(\tB\003\340A\010\022\020\n\003" + + "uid\030\002 \001(\tB\003\340A\003\022\030\n\013description\030\003 \001(\tB\003\340A\001" + + "\022J\n\013annotations\030\004 \003(\01320.google.cloud.dep" + + "loy.v1.Release.AnnotationsEntryB\003\340A\001\022;\n\006" + + "labels\030\005 \003(\0132+.google.cloud.deploy.v1.Re" + + "lease.LabelsEntry\022\026\n\tabandoned\030\027 \001(\010B\003\340A" + + "\003\0224\n\013create_time\030\006 \001(\0132\032.google.protobuf" + + ".TimestampB\003\340A\003\022:\n\021render_start_time\030\007 \001" + + "(\0132\032.google.protobuf.TimestampB\003\340A\003\0228\n\017r" + + "ender_end_time\030\010 \001(\0132\032.google.protobuf.T" + + "imestampB\003\340A\003\022 \n\023skaffold_config_uri\030\021 \001" + + "(\tB\003\340A\001\022!\n\024skaffold_config_path\030\t \001(\tB\003\340" + + "A\001\022C\n\017build_artifacts\030\n \003(\0132%.google.clo" + + "ud.deploy.v1.BuildArtifactB\003\340A\001\022Q\n\032deliv" + + "ery_pipeline_snapshot\030\013 \001(\0132(.google.clo" + + "ud.deploy.v1.DeliveryPipelineB\003\340A\003\022=\n\020ta", + "rget_snapshots\030\014 \003(\0132\036.google.cloud.depl" + + "oy.v1.TargetB\003\340A\003\022S\n\034custom_target_type_" + + "snapshots\030\033 \003(\0132(.google.cloud.deploy.v1" + + ".CustomTargetTypeB\003\340A\003\022F\n\014render_state\030\r" + + " \001(\0162+.google.cloud.deploy.v1.Release.Re" + + "nderStateB\003\340A\003\022\014\n\004etag\030\020 \001(\t\022\035\n\020skaffold" + + "_version\030\023 \001(\tB\003\340A\001\022S\n\020target_artifacts\030" + + "\024 \003(\01324.google.cloud.deploy.v1.Release.T" + + "argetArtifactsEntryB\003\340A\003\022O\n\016target_rende" + + "rs\030\026 \003(\01322.google.cloud.deploy.v1.Releas" + + "e.TargetRendersEntryB\003\340A\003\022H\n\tcondition\030\030" + + " \001(\01320.google.cloud.deploy.v1.Release.Re" + + "leaseConditionB\003\340A\003\022U\n\021deploy_parameters" + + "\030\031 \003(\01325.google.cloud.deploy.v1.Release." + + "DeployParametersEntryB\003\340A\001\032\324\005\n\014TargetRen" + + "der\022@\n\017rendering_build\030\001 \001(\tB\'\340A\003\372A!\n\037cl" + + "oudbuild.googleapis.com/Build\022\\\n\017renderi" + + "ng_state\030\002 \001(\0162>.google.cloud.deploy.v1." + + "Release.TargetRender.TargetRenderStateB\003" + + "\340A\003\022=\n\010metadata\030\006 \001(\0132&.google.cloud.dep" + + "loy.v1.RenderMetadataB\003\340A\003\022U\n\rfailure_ca" + + "use\030\004 \001(\01629.google.cloud.deploy.v1.Relea" + + "se.TargetRender.FailureCauseB\003\340A\003\022\034\n\017fai" + + "lure_message\030\005 \001(\tB\003\340A\003\"d\n\021TargetRenderS" + + "tate\022#\n\037TARGET_RENDER_STATE_UNSPECIFIED\020" + + "\000\022\r\n\tSUCCEEDED\020\001\022\n\n\006FAILED\020\002\022\017\n\013IN_PROGR" + + "ESS\020\003\"\211\002\n\014FailureCause\022\035\n\031FAILURE_CAUSE_" + + "UNSPECIFIED\020\000\022\033\n\027CLOUD_BUILD_UNAVAILABLE" + + "\020\001\022\024\n\020EXECUTION_FAILED\020\002\022\036\n\032CLOUD_BUILD_" + + "REQUEST_FAILED\020\003\022!\n\035VERIFICATION_CONFIG_" + + "NOT_FOUND\020\004\022\033\n\027CUSTOM_ACTION_NOT_FOUND\020\005" + + "\022%\n!DEPLOYMENT_STRATEGY_NOT_SUPPORTED\020\006\022" + + " \n\034RENDER_FEATURE_NOT_SUPPORTED\020\007\032\'\n\025Rel" + + "easeReadyCondition\022\016\n\006status\030\001 \001(\010\032\362\001\n\032S" + + "kaffoldSupportedCondition\022\016\n\006status\030\001 \001(" + + "\010\022L\n\026skaffold_support_state\030\002 \001(\0162,.goog" + + "le.cloud.deploy.v1.SkaffoldSupportState\022" + + "9\n\025maintenance_mode_time\030\003 \001(\0132\032.google." + + "protobuf.Timestamp\022;\n\027support_expiration" + + "_time\030\004 \001(\0132\032.google.protobuf.Timestamp\032" + + "\314\001\n\020ReleaseCondition\022V\n\027release_ready_co" + + "ndition\030\001 \001(\01325.google.cloud.deploy.v1.R" + + "elease.ReleaseReadyCondition\022`\n\034skaffold" + + "_supported_condition\030\002 \001(\0132:.google.clou" + + "d.deploy.v1.Release.SkaffoldSupportedCon" + + "dition\0322\n\020AnnotationsEntry\022\013\n\003key\030\001 \001(\t\022" + + "\r\n\005value\030\002 \001(\t:\0028\001\032-\n\013LabelsEntry\022\013\n\003key" + + "\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\032^\n\024TargetArtif" + + "actsEntry\022\013\n\003key\030\001 \001(\t\0225\n\005value\030\002 \001(\0132&." + + "google.cloud.deploy.v1.TargetArtifact:\0028" + + "\001\032b\n\022TargetRendersEntry\022\013\n\003key\030\001 \001(\t\022;\n\005" + + "value\030\002 \001(\0132,.google.cloud.deploy.v1.Rel" + + "ease.TargetRender:\0028\001\0327\n\025DeployParameter" + + "sEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"W" + + "\n\013RenderState\022\034\n\030RENDER_STATE_UNSPECIFIE" + + "D\020\000\022\r\n\tSUCCEEDED\020\001\022\n\n\006FAILED\020\002\022\017\n\013IN_PRO" + + "GRESS\020\003:\212\001\352A\206\001\n\"clouddeploy.googleapis.c" + + "om/Release\022`projects/{project}/locations" + + "/{location}/deliveryPipelines/{delivery_" + + "pipeline}/releases/{release}\"\362\001\n\031CreateD" + + "eployPolicyRequest\022?\n\006parent\030\001 \001(\tB/\340A\002\372" + + "A)\022\'clouddeploy.googleapis.com/DeployPol" + + "icy\022\035\n\020deploy_policy_id\030\002 \001(\tB\003\340A\002\022@\n\rde" + + "ploy_policy\030\003 \001(\0132$.google.cloud.deploy." + + "v1.DeployPolicyB\003\340A\002\022\027\n\nrequest_id\030\004 \001(\t" + + "B\003\340A\001\022\032\n\rvalidate_only\030\005 \001(\010B\003\340A\001\"\344\001\n\031Up" + + "dateDeployPolicyRequest\0224\n\013update_mask\030\001" + + " \001(\0132\032.google.protobuf.FieldMaskB\003\340A\002\022@\n" + + "\rdeploy_policy\030\002 \001(\0132$.google.cloud.depl" + + "oy.v1.DeployPolicyB\003\340A\002\022\027\n\nrequest_id\030\003 " + + "\001(\tB\003\340A\001\022\032\n\rallow_missing\030\004 \001(\010B\003\340A\001\022\032\n\r" + + "validate_only\030\005 \001(\010B\003\340A\001\"\276\001\n\031DeleteDeplo" + + "yPolicyRequest\022=\n\004name\030\001 \001(\tB/\340A\002\372A)\n\'cl" + + "ouddeploy.googleapis.com/DeployPolicy\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\021" + + "\n\004etag\030\005 \001(\tB\003\340A\001\"\245\001\n\031ListDeployPolicies" + + "Request\022?\n\006parent\030\001 \001(\tB/\340A\002\372A)\022\'cloudde" + + "ploy.googleapis.com/DeployPolicy\022\021\n\tpage" + + "_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022\016\n\006filte" + + "r\030\004 \001(\t\022\020\n\010order_by\030\005 \001(\t\"\211\001\n\032ListDeploy" + + "PoliciesResponse\022=\n\017deploy_policies\030\001 \003(" + + "\0132$.google.cloud.deploy.v1.DeployPolicy\022" + + "\027\n\017next_page_token\030\002 \001(\t\022\023\n\013unreachable\030" + + "\003 \003(\t\"W\n\026GetDeployPolicyRequest\022=\n\004name\030" + + "\001 \001(\tB/\340A\002\372A)\n\'clouddeploy.googleapis.co" + + "m/DeployPolicy\"5\n\rBuildArtifact\022\022\n\005image" + + "\030\003 \001(\tB\003\340A\001\022\020\n\003tag\030\002 \001(\tB\003\340A\001\"\253\003\n\016Target" + + "Artifact\022\033\n\014artifact_uri\030\004 \001(\tB\003\340A\003H\000\022!\n" + + "\024skaffold_config_path\030\002 \001(\tB\003\340A\003\022\032\n\rmani" + + "fest_path\030\003 \001(\tB\003\340A\003\022X\n\017phase_artifacts\030" + + "\005 \003(\0132:.google.cloud.deploy.v1.TargetArt" + + "ifact.PhaseArtifactsEntryB\003\340A\003\032o\n\rPhaseA" + + "rtifact\022!\n\024skaffold_config_path\030\001 \001(\tB\003\340" + + "A\003\022\032\n\rmanifest_path\030\003 \001(\tB\003\340A\003\022\037\n\022job_ma" + + "nifests_path\030\004 \001(\tB\003\340A\003\032k\n\023PhaseArtifact" + + "sEntry\022\013\n\003key\030\001 \001(\t\022C\n\005value\030\002 \001(\01324.goo" + + "gle.cloud.deploy.v1.TargetArtifact.Phase" + + "Artifact:\0028\001B\005\n\003uri\"H\n\016DeployArtifact\022\031\n" + + "\014artifact_uri\030\001 \001(\tB\003\340A\003\022\033\n\016manifest_pat" + + "hs\030\002 \003(\tB\003\340A\003\"M\n\026CloudRunRenderMetadata\022" + + "3\n\007service\030\001 \001(\tB\"\340A\003\372A\034\n\032run.googleapis" + + ".com/Service\"\225\001\n\016RenderMetadata\022F\n\tcloud" + + "_run\030\001 \001(\0132..google.cloud.deploy.v1.Clou" + + "dRunRenderMetadataB\003\340A\003\022;\n\006custom\030\002 \001(\0132" + + "&.google.cloud.deploy.v1.CustomMetadataB" + + "\003\340A\003\"\267\001\n\023ListReleasesRequest\022C\n\006parent\030\001" + + " \001(\tB3\340A\002\372A-\n+clouddeploy.googleapis.com" + + "/DeliveryPipeline\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\010order_by\030\005 \001(\tB\003\340A\001\"w\n\024ListRe" + + "leasesResponse\0221\n\010releases\030\001 \003(\0132\037.googl" + + "e.cloud.deploy.v1.Release\022\027\n\017next_page_t" + + "oken\030\002 \001(\t\022\023\n\013unreachable\030\003 \003(\t\"M\n\021GetRe" + + "leaseRequest\0228\n\004name\030\001 \001(\tB*\340A\002\372A$\n\"clou" + + "ddeploy.googleapis.com/Release\"\261\002\n\024Creat" + + "eReleaseRequest\022C\n\006parent\030\001 \001(\tB3\340A\002\372A-\n" + + "+clouddeploy.googleapis.com/DeliveryPipe" + + "line\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\rvalidat" + + "e_only\030\005 \001(\010B\003\340A\001\022O\n\026override_deploy_pol" + + "icy\030\006 \003(\tB/\340A\001\372A)\n\'clouddeploy.googleapi" + + "s.com/DeployPolicy\"\235\017\n\007Rollout\022\021\n\004name\030\001" + + " \001(\tB\003\340A\010\022\020\n\003uid\030\002 \001(\tB\003\340A\003\022\030\n\013descripti" + + "on\030\003 \001(\tB\003\340A\001\022J\n\013annotations\030\004 \003(\01320.goo" + + "gle.cloud.deploy.v1.Rollout.AnnotationsE" + + "ntryB\003\340A\001\022;\n\006labels\030\005 \003(\0132+.google.cloud" + ".deploy.v1.Rollout.LabelsEntry\0224\n\013create" + "_time\030\006 \001(\0132\032.google.protobuf.TimestampB" + "\003\340A\003\0225\n\014approve_time\030\007 \001(\0132\032.google.prot" @@ -1430,10 +1435,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ATE_UNSPECIFIED\020\000\022\013\n\007PENDING\020\001\022\017\n\013IN_PRO" + "GRESS\020\002\022\r\n\tSUCCEEDED\020\003\022\n\n\006FAILED\020\004\022\013\n\007AB" + "ORTED\020\005\022\013\n\007SKIPPED\020\006B\006\n\004jobs\"\357\001\n\016Deploym" - + "entJobs\0224\n\ndeploy_job\030\001 \001(\0132\033.google.clo" - + "ud.deploy.v1.JobB\003\340A\003\0224\n\nverify_job\030\002 \001(" - + "\0132\033.google.cloud.deploy.v1.JobB\003\340A\003\0227\n\rp" - + "redeploy_job\030\003 \001(\0132\033.google.cloud.deploy" + + "entJobs\0227\n\rpredeploy_job\030\003 \001(\0132\033.google." + + "cloud.deploy.v1.JobB\003\340A\003\0224\n\ndeploy_job\030\001" + + " \001(\0132\033.google.cloud.deploy.v1.JobB\003\340A\003\0224" + + "\n\nverify_job\030\002 \001(\0132\033.google.cloud.deploy" + ".v1.JobB\003\340A\003\0228\n\016postdeploy_job\030\004 \001(\0132\033.g" + "oogle.cloud.deploy.v1.JobB\003\340A\003\"\221\001\n\020Child" + "RolloutJobs\022=\n\023create_rollout_jobs\030\001 \003(\013" @@ -1516,7 +1521,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "yJobResponse\"Q\n\025AbandonReleaseRequest\0228\n" + "\004name\030\001 \001(\tB*\340A\002\372A$\n\"clouddeploy.googlea" + "pis.com/Release\"\030\n\026AbandonReleaseRespons" - + "e\"\320\010\n\006JobRun\022\021\n\004name\030\001 \001(\tB\003\340A\001\022\020\n\003uid\030\002" + + "e\"\320\010\n\006JobRun\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\020\n\003uid\030\002" + " \001(\tB\003\340A\003\022\025\n\010phase_id\030\003 \001(\tB\003\340A\003\022\023\n\006job_" + "id\030\004 \001(\tB\003\340A\003\0224\n\013create_time\030\005 \001(\0132\032.goo" + "gle.protobuf.TimestampB\003\340A\003\0223\n\nstart_tim" @@ -1623,459 +1628,459 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "B\003\340A\003\022M\n\013annotations\030\006 \003(\01323.google.clou" + "d.deploy.v1.Automation.AnnotationsEntryB" + "\003\340A\001\022C\n\006labels\030\007 \003(\0132..google.cloud.depl" - + "oy.v1.Automation.LabelsEntryB\003\340A\001\022\021\n\004eta" - + "g\030\010 \001(\tB\003\340A\001\022\026\n\tsuspended\030\t \001(\010B\003\340A\001\022\034\n\017" + + "oy.v1.Automation.LabelsEntryB\003\340A\001\022\021\n\004eta", + "g\030\010 \001(\tB\003\340A\001\022\026\n\tsuspended\030\t \001(\010B\003\340A\001\022\034\n\017" + "service_account\030\n \001(\tB\003\340A\002\022I\n\010selector\030\013" + " \001(\01322.google.cloud.deploy.v1.Automation" + "ResourceSelectorB\003\340A\002\022:\n\005rules\030\016 \003(\0132&.g" - + "oogle.cloud.deploy.v1.AutomationRuleB\003\340A", - "\002\0322\n\020AnnotationsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005va" + + "oogle.cloud.deploy.v1.AutomationRuleB\003\340A" + + "\002\0322\n\020AnnotationsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005va" + "lue\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:\226\001\352A\222\001\n%clouddeploy" + ".googleapis.com/Automation\022fprojects/{pr" + "oject}/locations/{location}/deliveryPipe" + "lines/{delivery_pipeline}/automations/{a" - + "utomation}R\001\001\"V\n\032AutomationResourceSelec" - + "tor\0228\n\007targets\030\001 \003(\0132\'.google.cloud.depl" - + "oy.v1.TargetAttribute\"\345\002\n\016AutomationRule" - + "\022O\n\024promote_release_rule\030\001 \001(\0132*.google." - + "cloud.deploy.v1.PromoteReleaseRuleB\003\340A\001H" - + "\000\022O\n\024advance_rollout_rule\030\002 \001(\0132*.google" - + ".cloud.deploy.v1.AdvanceRolloutRuleB\003\340A\001" - + "H\000\022M\n\023repair_rollout_rule\030\003 \001(\0132).google" - + ".cloud.deploy.v1.RepairRolloutRuleB\003\340A\001H" - + "\000\022Z\n\032timed_promote_release_rule\030\004 \001(\0132/." - + "google.cloud.deploy.v1.TimedPromoteRelea" - + "seRuleB\003\340A\001H\000B\006\n\004rule\"\346\001\n\027TimedPromoteRe" - + "leaseRule\022\017\n\002id\030\001 \001(\tB\003\340A\002\022\"\n\025destinatio" - + "n_target_id\030\002 \001(\tB\003\340A\001\022\025\n\010schedule\030\003 \001(\t" - + "B\003\340A\002\022\026\n\ttime_zone\030\004 \001(\tB\003\340A\002\022G\n\tconditi" - + "on\030\005 \001(\0132/.google.cloud.deploy.v1.Automa" - + "tionRuleConditionB\003\340A\003\022\036\n\021destination_ph" - + "ase\030\006 \001(\tB\003\340A\001\"\340\001\n\022PromoteReleaseRule\022\017\n" - + "\002id\030\001 \001(\tB\003\340A\002\022,\n\004wait\030\002 \001(\0132\031.google.pr" - + "otobuf.DurationB\003\340A\001\022\"\n\025destination_targ" - + "et_id\030\007 \001(\tB\003\340A\001\022G\n\tcondition\030\005 \001(\0132/.go" - + "ogle.cloud.deploy.v1.AutomationRuleCondi" - + "tionB\003\340A\003\022\036\n\021destination_phase\030\010 \001(\tB\003\340A" - + "\001\"\270\001\n\022AdvanceRolloutRule\022\017\n\002id\030\001 \001(\tB\003\340A" - + "\002\022\032\n\rsource_phases\030\006 \003(\tB\003\340A\001\022,\n\004wait\030\003 " - + "\001(\0132\031.google.protobuf.DurationB\003\340A\001\022G\n\tc" - + "ondition\030\005 \001(\0132/.google.cloud.deploy.v1." - + "AutomationRuleConditionB\003\340A\003\"\334\001\n\021RepairR" - + "olloutRule\022\017\n\002id\030\001 \001(\tB\003\340A\002\022\023\n\006phases\030\007 " - + "\003(\tB\003\340A\001\022\021\n\004jobs\030\003 \003(\tB\003\340A\001\022G\n\tcondition" - + "\030\006 \001(\0132/.google.cloud.deploy.v1.Automati" - + "onRuleConditionB\003\340A\003\022E\n\rrepair_phases\030\010 " - + "\003(\0132).google.cloud.deploy.v1.RepairPhase" - + "ConfigB\003\340A\002\"\223\001\n\021RepairPhaseConfig\0223\n\005ret" - + "ry\030\001 \001(\0132\035.google.cloud.deploy.v1.RetryB" - + "\003\340A\001H\000\0229\n\010rollback\030\002 \001(\0132 .google.cloud." - + "deploy.v1.RollbackB\003\340A\001H\000B\016\n\014repair_phas" - + "e\"\214\001\n\005Retry\022\025\n\010attempts\030\001 \001(\003B\003\340A\002\022,\n\004wa" - + "it\030\002 \001(\0132\031.google.protobuf.DurationB\003\340A\001" - + "\022>\n\014backoff_mode\030\003 \001(\0162#.google.cloud.de" - + "ploy.v1.BackoffModeB\003\340A\001\"\\\n\010Rollback\022\036\n\021" - + "destination_phase\030\001 \001(\tB\003\340A\001\0220\n#disable_" - + "rollback_if_rollout_pending\030\002 \001(\010B\003\340A\001\"\357" - + "\001\n\027AutomationRuleCondition\022W\n\031targets_pr" - + "esent_condition\030\001 \001(\0132/.google.cloud.dep" - + "loy.v1.TargetsPresentConditionB\003\340A\001\022d\n\037t" - + "imed_promote_release_condition\030\002 \001(\01324.g" - + "oogle.cloud.deploy.v1.TimedPromoteReleas" - + "eConditionB\003\340A\001H\000B\025\n\023rule_type_condition" - + "\"\203\002\n\034TimedPromoteReleaseCondition\022<\n\023nex" - + "t_promotion_time\030\001 \001(\0132\032.google.protobuf" - + ".TimestampB\003\340A\003\022W\n\014targets_list\030\002 \003(\0132<." - + "google.cloud.deploy.v1.TimedPromoteRelea" - + "seCondition.TargetsB\003\340A\003\032L\n\007Targets\022\035\n\020s" - + "ource_target_id\030\001 \001(\tB\003\340A\001\022\"\n\025destinatio" - + "n_target_id\030\002 \001(\tB\003\340A\001\"\346\001\n\027CreateAutomat" - + "ionRequest\022=\n\006parent\030\001 \001(\tB-\340A\002\372A\'\022%clou" - + "ddeploy.googleapis.com/Automation\022\032\n\raut" - + "omation_id\030\002 \001(\tB\003\340A\002\022;\n\nautomation\030\003 \001(" - + "\0132\".google.cloud.deploy.v1.AutomationB\003\340" - + "A\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\"\335\001\n\027UpdateAutomationRequ" - + "est\0224\n\013update_mask\030\001 \001(\0132\032.google.protob" - + "uf.FieldMaskB\003\340A\002\022;\n\nautomation\030\002 \001(\0132\"." - + "google.cloud.deploy.v1.AutomationB\003\340A\002\022\027" - + "\n\nrequest_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\"" - + "\272\001\n\027DeleteAutomationRequest\022;\n\004name\030\001 \001(" - + "\tB-\340A\002\372A\'\n%clouddeploy.googleapis.com/Au" - + "tomation\022\027\n\nrequest_id\030\002 \001(\tB\003\340A\001\022\032\n\rall" - + "ow_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\"\240\001\n\026ListAut" - + "omationsRequest\022=\n\006parent\030\001 \001(\tB-\340A\002\372A\'\022" - + "%clouddeploy.googleapis.com/Automation\022\021" - + "\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022\016\n" - + "\006filter\030\004 \001(\t\022\020\n\010order_by\030\005 \001(\t\"\200\001\n\027List" - + "AutomationsResponse\0227\n\013automations\030\001 \003(\013" - + "2\".google.cloud.deploy.v1.Automation\022\027\n\017" - + "next_page_token\030\002 \001(\t\022\023\n\013unreachable\030\003 \003" - + "(\t\"S\n\024GetAutomationRequest\022;\n\004name\030\001 \001(\t" - + "B-\340A\002\372A\'\n%clouddeploy.googleapis.com/Aut" - + "omation\"\377\t\n\rAutomationRun\022\021\n\004name\030\001 \001(\tB" - + "\003\340A\003\0224\n\013create_time\030\002 \001(\0132\032.google.proto" - + "buf.TimestampB\003\340A\003\0224\n\013update_time\030\003 \001(\0132" - + "\032.google.protobuf.TimestampB\003\340A\003\022\021\n\004etag" - + "\030\004 \001(\tB\003\340A\003\022\034\n\017service_account\030\005 \001(\tB\003\340A" - + "\003\022D\n\023automation_snapshot\030\006 \001(\0132\".google." - + "cloud.deploy.v1.AutomationB\003\340A\003\022\026\n\ttarge" - + "t_id\030\007 \001(\tB\003\340A\003\022?\n\005state\030\010 \001(\0162+.google." - + "cloud.deploy.v1.AutomationRun.StateB\003\340A\003" - + "\022\036\n\021state_description\030\t \001(\tB\003\340A\003\022F\n\020poli" - + "cy_violation\030\n \001(\0132\'.google.cloud.deploy" - + ".v1.PolicyViolationB\003\340A\003\0224\n\013expire_time\030" - + "\013 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022\024" - + "\n\007rule_id\030\014 \001(\tB\003\340A\003\022\032\n\rautomation_id\030\017 " - + "\001(\tB\003\340A\003\022Y\n\031promote_release_operation\030\r " - + "\001(\0132/.google.cloud.deploy.v1.PromoteRele" - + "aseOperationB\003\340A\003H\000\022Y\n\031advance_rollout_o" - + "peration\030\016 \001(\0132/.google.cloud.deploy.v1." - + "AdvanceRolloutOperationB\003\340A\003H\000\022W\n\030repair" - + "_rollout_operation\030\021 \001(\0132..google.cloud." - + "deploy.v1.RepairRolloutOperationB\003\340A\003H\000\022" - + "d\n\037timed_promote_release_operation\030\023 \001(\013" - + "24.google.cloud.deploy.v1.TimedPromoteRe" - + "leaseOperationB\003\340A\003H\000\0228\n\017wait_until_time" - + "\030\020 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\"" - + "s\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\r\n\tSUCCE" - + "EDED\020\001\022\r\n\tCANCELLED\020\002\022\n\n\006FAILED\020\003\022\017\n\013IN_" - + "PROGRESS\020\004\022\013\n\007PENDING\020\005\022\013\n\007ABORTED\020\006:\235\001\352" - + "A\231\001\n(clouddeploy.googleapis.com/Automati" - + "onRun\022mprojects/{project}/locations/{loc" - + "ation}/deliveryPipelines/{delivery_pipel" - + "ine}/automationRuns/{automation_run}B\013\n\t" - + "operation\"\211\001\n\027PromoteReleaseOperation\022\026\n" - + "\ttarget_id\030\001 \001(\tB\003\340A\003\022,\n\004wait\030\002 \001(\0132\031.go" - + "ogle.protobuf.DurationB\003\340A\003\022\024\n\007rollout\030\003" - + " \001(\tB\003\340A\003\022\022\n\005phase\030\004 \001(\tB\003\340A\003\"\230\001\n\027Advanc" - + "eRolloutOperation\022\031\n\014source_phase\030\005 \001(\tB" - + "\003\340A\003\022,\n\004wait\030\002 \001(\0132\031.google.protobuf.Dur" - + "ationB\003\340A\003\022\024\n\007rollout\030\003 \001(\tB\003\340A\003\022\036\n\021dest" - + "ination_phase\030\004 \001(\tB\003\340A\003\"\304\001\n\026RepairRollo" - + "utOperation\022\024\n\007rollout\030\001 \001(\tB\003\340A\003\022\'\n\032cur" - + "rent_repair_phase_index\030\006 \001(\003B\003\340A\003\022?\n\rre" - + "pair_phases\030\003 \003(\0132#.google.cloud.deploy." - + "v1.RepairPhaseB\003\340A\003\022\025\n\010phase_id\030\004 \001(\tB\003\340" - + "A\003\022\023\n\006job_id\030\005 \001(\tB\003\340A\003\"`\n\034TimedPromoteR" - + "eleaseOperation\022\026\n\ttarget_id\030\001 \001(\tB\003\340A\003\022" - + "\024\n\007release\030\002 \001(\tB\003\340A\003\022\022\n\005phase\030\003 \001(\tB\003\340A" - + "\003\"\231\001\n\013RepairPhase\0228\n\005retry\030\001 \001(\0132\".googl" - + "e.cloud.deploy.v1.RetryPhaseB\003\340A\003H\000\022@\n\010r" - + "ollback\030\002 \001(\0132\'.google.cloud.deploy.v1.R" - + "ollbackAttemptB\003\340A\003H\000B\016\n\014repair_phase\"\246\001" - + "\n\nRetryPhase\022\033\n\016total_attempts\030\001 \001(\003B\003\340A" - + "\003\022>\n\014backoff_mode\030\002 \001(\0162#.google.cloud.d" - + "eploy.v1.BackoffModeB\003\340A\003\022;\n\010attempts\030\005 " - + "\003(\0132$.google.cloud.deploy.v1.RetryAttemp" - + "tB\003\340A\003\"\244\001\n\014RetryAttempt\022\024\n\007attempt\030\001 \001(\003" - + "B\003\340A\003\022,\n\004wait\030\002 \001(\0132\031.google.protobuf.Du" - + "rationB\003\340A\003\0227\n\005state\030\005 \001(\0162#.google.clou" - + "d.deploy.v1.RepairStateB\003\340A\003\022\027\n\nstate_de" - + "sc\030\006 \001(\tB\003\340A\003\"\316\001\n\017RollbackAttempt\022\036\n\021des" - + "tination_phase\030\001 \001(\tB\003\340A\003\022\027\n\nrollout_id\030" - + "\002 \001(\tB\003\340A\003\0227\n\005state\030\003 \001(\0162#.google.cloud" - + ".deploy.v1.RepairStateB\003\340A\003\022\027\n\nstate_des" - + "c\030\004 \001(\tB\003\340A\003\0220\n#disable_rollback_if_roll" - + "out_pending\030\005 \001(\010B\003\340A\003\"\246\001\n\031ListAutomatio" - + "nRunsRequest\022@\n\006parent\030\001 \001(\tB0\340A\002\372A*\022(cl" - + "ouddeploy.googleapis.com/AutomationRun\022\021" - + "\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022\016\n" - + "\006filter\030\004 \001(\t\022\020\n\010order_by\030\005 \001(\t\"\212\001\n\032List" - + "AutomationRunsResponse\022>\n\017automation_run" - + "s\030\001 \003(\0132%.google.cloud.deploy.v1.Automat" - + "ionRun\022\027\n\017next_page_token\030\002 \001(\t\022\023\n\013unrea" - + "chable\030\003 \003(\t\"Y\n\027GetAutomationRunRequest\022" - + ">\n\004name\030\001 \001(\tB0\340A\002\372A*\n(clouddeploy.googl" - + "eapis.com/AutomationRun\"\\\n\032CancelAutomat" - + "ionRunRequest\022>\n\004name\030\001 \001(\tB0\340A\002\372A*\n(clo" - + "uddeploy.googleapis.com/AutomationRun\"\035\n" - + "\033CancelAutomationRunResponse*\271\001\n\024Skaffol" - + "dSupportState\022&\n\"SKAFFOLD_SUPPORT_STATE_" - + "UNSPECIFIED\020\000\022$\n SKAFFOLD_SUPPORT_STATE_" - + "SUPPORTED\020\001\022+\n\'SKAFFOLD_SUPPORT_STATE_MA" - + "INTENANCE_MODE\020\002\022&\n\"SKAFFOLD_SUPPORT_STA" - + "TE_UNSUPPORTED\020\003*b\n\013BackoffMode\022\034\n\030BACKO" - + "FF_MODE_UNSPECIFIED\020\000\022\027\n\023BACKOFF_MODE_LI" - + "NEAR\020\001\022\034\n\030BACKOFF_MODE_EXPONENTIAL\020\002*\316\001\n" - + "\013RepairState\022\034\n\030REPAIR_STATE_UNSPECIFIED" - + "\020\000\022\032\n\026REPAIR_STATE_SUCCEEDED\020\001\022\032\n\026REPAIR" - + "_STATE_CANCELLED\020\002\022\027\n\023REPAIR_STATE_FAILE" - + "D\020\003\022\034\n\030REPAIR_STATE_IN_PROGRESS\020\004\022\030\n\024REP" - + "AIR_STATE_PENDING\020\005\022\030\n\024REPAIR_STATE_ABOR" - + "TED\020\0072\357L\n\013CloudDeploy\022\314\001\n\025ListDeliveryPi" - + "pelines\0224.google.cloud.deploy.v1.ListDel" - + "iveryPipelinesRequest\0325.google.cloud.dep" - + "loy.v1.ListDeliveryPipelinesResponse\"F\332A" - + "\006parent\202\323\344\223\0027\0225/v1/{parent=projects/*/lo" - + "cations/*}/deliveryPipelines\022\271\001\n\023GetDeli" - + "veryPipeline\0222.google.cloud.deploy.v1.Ge" - + "tDeliveryPipelineRequest\032(.google.cloud." - + "deploy.v1.DeliveryPipeline\"D\332A\004name\202\323\344\223\002" - + "7\0225/v1/{name=projects/*/locations/*/deli" - + "veryPipelines/*}\022\231\002\n\026CreateDeliveryPipel" - + "ine\0225.google.cloud.deploy.v1.CreateDeliv" - + "eryPipelineRequest\032\035.google.longrunning." - + "Operation\"\250\001\312A%\n\020DeliveryPipeline\022\021Opera" - + "tionMetadata\332A-parent,delivery_pipeline," - + "delivery_pipeline_id\202\323\344\223\002J\"5/v1/{parent=" - + "projects/*/locations/*}/deliveryPipeline" - + "s:\021delivery_pipeline\022\233\002\n\026UpdateDeliveryP" - + "ipeline\0225.google.cloud.deploy.v1.UpdateD" - + "eliveryPipelineRequest\032\035.google.longrunn" - + "ing.Operation\"\252\001\312A%\n\020DeliveryPipeline\022\021O" - + "perationMetadata\332A\035delivery_pipeline,upd" - + "ate_mask\202\323\344\223\002\\2G/v1/{delivery_pipeline.n" - + "ame=projects/*/locations/*/deliveryPipel" - + "ines/*}:\021delivery_pipeline\022\341\001\n\026DeleteDel" - + "iveryPipeline\0225.google.cloud.deploy.v1.D" - + "eleteDeliveryPipelineRequest\032\035.google.lo" - + "ngrunning.Operation\"q\312A*\n\025google.protobu" - + "f.Empty\022\021OperationMetadata\332A\004name\202\323\344\223\0027*" - + "5/v1/{name=projects/*/locations/*/delive" - + "ryPipelines/*}\022\244\001\n\013ListTargets\022*.google." - + "cloud.deploy.v1.ListTargetsRequest\032+.goo" - + "gle.cloud.deploy.v1.ListTargetsResponse\"" - + "<\332A\006parent\202\323\344\223\002-\022+/v1/{parent=projects/*" - + "/locations/*}/targets\022\334\001\n\016RollbackTarget" - + "\022-.google.cloud.deploy.v1.RollbackTarget" - + "Request\032..google.cloud.deploy.v1.Rollbac" - + "kTargetResponse\"k\332A\031name,target_id,rollo" - + "ut_id\202\323\344\223\002I\"D/v1/{name=projects/*/locati" - + "ons/*/deliveryPipelines/*}:rollbackTarge" - + "t:\001*\022\221\001\n\tGetTarget\022(.google.cloud.deploy" - + ".v1.GetTargetRequest\032\036.google.cloud.depl" - + "oy.v1.Target\":\332A\004name\202\323\344\223\002-\022+/v1/{name=p" - + "rojects/*/locations/*/targets/*}\022\317\001\n\014Cre" - + "ateTarget\022+.google.cloud.deploy.v1.Creat" - + "eTargetRequest\032\035.google.longrunning.Oper" - + "ation\"s\312A\033\n\006Target\022\021OperationMetadata\332A\027" - + "parent,target,target_id\202\323\344\223\0025\"+/v1/{pare" - + "nt=projects/*/locations/*}/targets:\006targ" - + "et\022\321\001\n\014UpdateTarget\022+.google.cloud.deplo" - + "y.v1.UpdateTargetRequest\032\035.google.longru" - + "nning.Operation\"u\312A\033\n\006Target\022\021OperationM" - + "etadata\332A\022target,update_mask\202\323\344\223\002<22/v1/" - + "{target.name=projects/*/locations/*/targ" - + "ets/*}:\006target\022\303\001\n\014DeleteTarget\022+.google" - + ".cloud.deploy.v1.DeleteTargetRequest\032\035.g" - + "oogle.longrunning.Operation\"g\312A*\n\025google" - + ".protobuf.Empty\022\021OperationMetadata\332A\004nam" - + "e\202\323\344\223\002-*+/v1/{name=projects/*/locations/" - + "*/targets/*}\022\314\001\n\025ListCustomTargetTypes\0224" - + ".google.cloud.deploy.v1.ListCustomTarget" - + "TypesRequest\0325.google.cloud.deploy.v1.Li" - + "stCustomTargetTypesResponse\"F\332A\006parent\202\323" - + "\344\223\0027\0225/v1/{parent=projects/*/locations/*" - + "}/customTargetTypes\022\271\001\n\023GetCustomTargetT" - + "ype\0222.google.cloud.deploy.v1.GetCustomTa" - + "rgetTypeRequest\032(.google.cloud.deploy.v1" - + ".CustomTargetType\"D\332A\004name\202\323\344\223\0027\0225/v1/{n" - + "ame=projects/*/locations/*/customTargetT" - + "ypes/*}\022\234\002\n\026CreateCustomTargetType\0225.goo" - + "gle.cloud.deploy.v1.CreateCustomTargetTy" - + "peRequest\032\035.google.longrunning.Operation" - + "\"\253\001\312A%\n\020CustomTargetType\022\021OperationMetad" - + "ata\332A/parent,custom_target_type,custom_t" - + "arget_type_id\202\323\344\223\002K\"5/v1/{parent=project" - + "s/*/locations/*}/customTargetTypes:\022cust" - + "om_target_type\022\236\002\n\026UpdateCustomTargetTyp" - + "e\0225.google.cloud.deploy.v1.UpdateCustomT" - + "argetTypeRequest\032\035.google.longrunning.Op" - + "eration\"\255\001\312A%\n\020CustomTargetType\022\021Operati" - + "onMetadata\332A\036custom_target_type,update_m" - + "ask\202\323\344\223\002^2H/v1/{custom_target_type.name=" - + "projects/*/locations/*/customTargetTypes" - + "/*}:\022custom_target_type\022\341\001\n\026DeleteCustom" - + "TargetType\0225.google.cloud.deploy.v1.Dele" - + "teCustomTargetTypeRequest\032\035.google.longr" - + "unning.Operation\"q\312A*\n\025google.protobuf.E" - + "mpty\022\021OperationMetadata\332A\004name\202\323\344\223\0027*5/v" - + "1/{name=projects/*/locations/*/customTar" - + "getTypes/*}\022\274\001\n\014ListReleases\022+.google.cl" - + "oud.deploy.v1.ListReleasesRequest\032,.goog" - + "le.cloud.deploy.v1.ListReleasesResponse\"" - + "Q\332A\006parent\202\323\344\223\002B\022@/v1/{parent=projects/*" - + "/locations/*/deliveryPipelines/*}/releas" - + "es\022\251\001\n\nGetRelease\022).google.cloud.deploy." - + "v1.GetReleaseRequest\032\037.google.cloud.depl" - + "oy.v1.Release\"O\332A\004name\202\323\344\223\002B\022@/v1/{name=" - + "projects/*/locations/*/deliveryPipelines" - + "/*/releases/*}\022\353\001\n\rCreateRelease\022,.googl" - + "e.cloud.deploy.v1.CreateReleaseRequest\032\035" - + ".google.longrunning.Operation\"\214\001\312A\034\n\007Rel" - + "ease\022\021OperationMetadata\332A\031parent,release" - + ",release_id\202\323\344\223\002K\"@/v1/{parent=projects/" - + "*/locations/*/deliveryPipelines/*}/relea" - + "ses:\007release\022\313\001\n\016AbandonRelease\022-.google" - + ".cloud.deploy.v1.AbandonReleaseRequest\032." - + ".google.cloud.deploy.v1.AbandonReleaseRe" - + "sponse\"Z\332A\004name\202\323\344\223\002M\"H/v1/{name=project" - + "s/*/locations/*/deliveryPipelines/*/rele" - + "ases/*}:abandon:\001*\022\376\001\n\022CreateDeployPolic" - + "y\0221.google.cloud.deploy.v1.CreateDeployP" - + "olicyRequest\032\035.google.longrunning.Operat" - + "ion\"\225\001\312A!\n\014DeployPolicy\022\021OperationMetada" - + "ta\332A%parent,deploy_policy,deploy_policy_" - + "id\202\323\344\223\002C\"2/v1/{parent=projects/*/locatio" - + "ns/*}/deployPolicies:\rdeploy_policy\022\200\002\n\022" - + "UpdateDeployPolicy\0221.google.cloud.deploy" - + ".v1.UpdateDeployPolicyRequest\032\035.google.l" - + "ongrunning.Operation\"\227\001\312A!\n\014DeployPolicy" - + "\022\021OperationMetadata\332A\031deploy_policy,upda" - + "te_mask\202\323\344\223\002Q2@/v1/{deploy_policy.name=p" - + "rojects/*/locations/*/deployPolicies/*}:" - + "\rdeploy_policy\022\326\001\n\022DeleteDeployPolicy\0221." - + "google.cloud.deploy.v1.DeleteDeployPolic" - + "yRequest\032\035.google.longrunning.Operation\"" - + "n\312A*\n\025google.protobuf.Empty\022\021OperationMe" - + "tadata\332A\004name\202\323\344\223\0024*2/v1/{name=projects/" - + "*/locations/*/deployPolicies/*}\022\300\001\n\022List" - + "DeployPolicies\0221.google.cloud.deploy.v1." - + "ListDeployPoliciesRequest\0322.google.cloud" - + ".deploy.v1.ListDeployPoliciesResponse\"C\332" - + "A\006parent\202\323\344\223\0024\0222/v1/{parent=projects/*/l" - + "ocations/*}/deployPolicies\022\252\001\n\017GetDeploy" - + "Policy\022..google.cloud.deploy.v1.GetDeplo" - + "yPolicyRequest\032$.google.cloud.deploy.v1." - + "DeployPolicy\"A\332A\004name\202\323\344\223\0024\0222/v1/{name=p" - + "rojects/*/locations/*/deployPolicies/*}\022" - + "\326\001\n\016ApproveRollout\022-.google.cloud.deploy" - + ".v1.ApproveRolloutRequest\032..google.cloud" - + ".deploy.v1.ApproveRolloutResponse\"e\332A\004na" - + "me\202\323\344\223\002X\"S/v1/{name=projects/*/locations" - + "/*/deliveryPipelines/*/releases/*/rollou" - + "ts/*}:approve:\001*\022\337\001\n\016AdvanceRollout\022-.go" - + "ogle.cloud.deploy.v1.AdvanceRolloutReque" - + "st\032..google.cloud.deploy.v1.AdvanceRollo" - + "utResponse\"n\332A\rname,phase_id\202\323\344\223\002X\"S/v1/" - + "{name=projects/*/locations/*/deliveryPip" - + "elines/*/releases/*/rollouts/*}:advance:" - + "\001*\022\322\001\n\rCancelRollout\022,.google.cloud.depl" - + "oy.v1.CancelRolloutRequest\032-.google.clou" - + "d.deploy.v1.CancelRolloutResponse\"d\332A\004na" - + "me\202\323\344\223\002W\"R/v1/{name=projects/*/locations" - + "/*/deliveryPipelines/*/releases/*/rollou" - + "ts/*}:cancel:\001*\022\307\001\n\014ListRollouts\022+.googl" - + "e.cloud.deploy.v1.ListRolloutsRequest\032,." - + "google.cloud.deploy.v1.ListRolloutsRespo" - + "nse\"\\\332A\006parent\202\323\344\223\002M\022K/v1/{parent=projec" - + "ts/*/locations/*/deliveryPipelines/*/rel" - + "eases/*}/rollouts\022\264\001\n\nGetRollout\022).googl" - + "e.cloud.deploy.v1.GetRolloutRequest\032\037.go" - + "ogle.cloud.deploy.v1.Rollout\"Z\332A\004name\202\323\344" - + "\223\002M\022K/v1/{name=projects/*/locations/*/de" - + "liveryPipelines/*/releases/*/rollouts/*}" - + "\022\366\001\n\rCreateRollout\022,.google.cloud.deploy" - + ".v1.CreateRolloutRequest\032\035.google.longru" - + "nning.Operation\"\227\001\312A\034\n\007Rollout\022\021Operatio" - + "nMetadata\332A\031parent,rollout,rollout_id\202\323\344" - + "\223\002V\"K/v1/{parent=projects/*/locations/*/" - + "deliveryPipelines/*/releases/*}/rollouts" - + ":\007rollout\022\337\001\n\tIgnoreJob\022(.google.cloud.d" - + "eploy.v1.IgnoreJobRequest\032).google.cloud" - + ".deploy.v1.IgnoreJobResponse\"}\332A\027rollout" - + ",phase_id,job_id\202\323\344\223\002]\"X/v1/{rollout=pro" - + "jects/*/locations/*/deliveryPipelines/*/" - + "releases/*/rollouts/*}:ignoreJob:\001*\022\333\001\n\010" - + "RetryJob\022\'.google.cloud.deploy.v1.RetryJ" - + "obRequest\032(.google.cloud.deploy.v1.Retry" - + "JobResponse\"|\332A\027rollout,phase_id,job_id\202" - + "\323\344\223\002\\\"W/v1/{rollout=projects/*/locations" + + "utomation}R\001\001\"[\n\032AutomationResourceSelec" + + "tor\022=\n\007targets\030\001 \003(\0132\'.google.cloud.depl" + + "oy.v1.TargetAttributeB\003\340A\001\"\345\002\n\016Automatio" + + "nRule\022O\n\024promote_release_rule\030\001 \001(\0132*.go" + + "ogle.cloud.deploy.v1.PromoteReleaseRuleB" + + "\003\340A\001H\000\022O\n\024advance_rollout_rule\030\002 \001(\0132*.g" + + "oogle.cloud.deploy.v1.AdvanceRolloutRule" + + "B\003\340A\001H\000\022M\n\023repair_rollout_rule\030\003 \001(\0132).g" + + "oogle.cloud.deploy.v1.RepairRolloutRuleB" + + "\003\340A\001H\000\022Z\n\032timed_promote_release_rule\030\004 \001" + + "(\0132/.google.cloud.deploy.v1.TimedPromote" + + "ReleaseRuleB\003\340A\001H\000B\006\n\004rule\"\346\001\n\027TimedProm" + + "oteReleaseRule\022\017\n\002id\030\001 \001(\tB\003\340A\002\022\"\n\025desti" + + "nation_target_id\030\002 \001(\tB\003\340A\001\022\025\n\010schedule\030" + + "\003 \001(\tB\003\340A\002\022\026\n\ttime_zone\030\004 \001(\tB\003\340A\002\022G\n\tco" + + "ndition\030\005 \001(\0132/.google.cloud.deploy.v1.A" + + "utomationRuleConditionB\003\340A\003\022\036\n\021destinati" + + "on_phase\030\006 \001(\tB\003\340A\001\"\340\001\n\022PromoteReleaseRu" + + "le\022\017\n\002id\030\001 \001(\tB\003\340A\002\022,\n\004wait\030\002 \001(\0132\031.goog" + + "le.protobuf.DurationB\003\340A\001\022\"\n\025destination" + + "_target_id\030\007 \001(\tB\003\340A\001\022G\n\tcondition\030\005 \001(\013" + + "2/.google.cloud.deploy.v1.AutomationRule" + + "ConditionB\003\340A\003\022\036\n\021destination_phase\030\010 \001(" + + "\tB\003\340A\001\"\270\001\n\022AdvanceRolloutRule\022\017\n\002id\030\001 \001(" + + "\tB\003\340A\002\022\032\n\rsource_phases\030\006 \003(\tB\003\340A\001\022,\n\004wa" + + "it\030\003 \001(\0132\031.google.protobuf.DurationB\003\340A\001" + + "\022G\n\tcondition\030\005 \001(\0132/.google.cloud.deplo" + + "y.v1.AutomationRuleConditionB\003\340A\003\"\334\001\n\021Re" + + "pairRolloutRule\022\017\n\002id\030\001 \001(\tB\003\340A\002\022\023\n\006phas" + + "es\030\007 \003(\tB\003\340A\001\022\021\n\004jobs\030\003 \003(\tB\003\340A\001\022G\n\tcond" + + "ition\030\006 \001(\0132/.google.cloud.deploy.v1.Aut" + + "omationRuleConditionB\003\340A\003\022E\n\rrepair_phas" + + "es\030\010 \003(\0132).google.cloud.deploy.v1.Repair" + + "PhaseConfigB\003\340A\002\"\223\001\n\021RepairPhaseConfig\0223" + + "\n\005retry\030\001 \001(\0132\035.google.cloud.deploy.v1.R" + + "etryB\003\340A\001H\000\0229\n\010rollback\030\002 \001(\0132 .google.c" + + "loud.deploy.v1.RollbackB\003\340A\001H\000B\016\n\014repair" + + "_phase\"\214\001\n\005Retry\022\025\n\010attempts\030\001 \001(\003B\003\340A\002\022" + + ",\n\004wait\030\002 \001(\0132\031.google.protobuf.Duration" + + "B\003\340A\001\022>\n\014backoff_mode\030\003 \001(\0162#.google.clo" + + "ud.deploy.v1.BackoffModeB\003\340A\001\"\\\n\010Rollbac" + + "k\022\036\n\021destination_phase\030\001 \001(\tB\003\340A\001\0220\n#dis" + + "able_rollback_if_rollout_pending\030\002 \001(\010B\003" + + "\340A\001\"\357\001\n\027AutomationRuleCondition\022W\n\031targe" + + "ts_present_condition\030\001 \001(\0132/.google.clou" + + "d.deploy.v1.TargetsPresentConditionB\003\340A\001" + + "\022d\n\037timed_promote_release_condition\030\002 \001(" + + "\01324.google.cloud.deploy.v1.TimedPromoteR" + + "eleaseConditionB\003\340A\001H\000B\025\n\023rule_type_cond" + + "ition\"\203\002\n\034TimedPromoteReleaseCondition\022<" + + "\n\023next_promotion_time\030\001 \001(\0132\032.google.pro" + + "tobuf.TimestampB\003\340A\003\022W\n\014targets_list\030\002 \003" + + "(\0132<.google.cloud.deploy.v1.TimedPromote" + + "ReleaseCondition.TargetsB\003\340A\003\032L\n\007Targets" + + "\022\035\n\020source_target_id\030\001 \001(\tB\003\340A\001\022\"\n\025desti" + + "nation_target_id\030\002 \001(\tB\003\340A\001\"\346\001\n\027CreateAu" + + "tomationRequest\022=\n\006parent\030\001 \001(\tB-\340A\002\372A\'\022" + + "%clouddeploy.googleapis.com/Automation\022\032" + + "\n\rautomation_id\030\002 \001(\tB\003\340A\002\022;\n\nautomation" + + "\030\003 \001(\0132\".google.cloud.deploy.v1.Automati" + + "onB\003\340A\002\022\027\n\nrequest_id\030\004 \001(\tB\003\340A\001\022\032\n\rvali" + + "date_only\030\005 \001(\010B\003\340A\001\"\335\001\n\027UpdateAutomatio" + + "nRequest\0224\n\013update_mask\030\001 \001(\0132\032.google.p" + + "rotobuf.FieldMaskB\003\340A\002\022;\n\nautomation\030\002 \001" + + "(\0132\".google.cloud.deploy.v1.AutomationB\003" + + "\340A\002\022\027\n\nrequest_id\030\003 \001(\tB\003\340A\001\022\032\n\rallow_mi" + + "ssing\030\004 \001(\010B\003\340A\001\022\032\n\rvalidate_only\030\005 \001(\010B" + + "\003\340A\001\"\272\001\n\027DeleteAutomationRequest\022;\n\004name" + + "\030\001 \001(\tB-\340A\002\372A\'\n%clouddeploy.googleapis.c" + + "om/Automation\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_o" + + "nly\030\004 \001(\010B\003\340A\001\022\021\n\004etag\030\005 \001(\tB\003\340A\001\"\240\001\n\026Li" + + "stAutomationsRequest\022=\n\006parent\030\001 \001(\tB-\340A" + + "\002\372A\'\022%clouddeploy.googleapis.com/Automat" + + "ion\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001" + + "(\t\022\016\n\006filter\030\004 \001(\t\022\020\n\010order_by\030\005 \001(\t\"\200\001\n" + + "\027ListAutomationsResponse\0227\n\013automations\030" + + "\001 \003(\0132\".google.cloud.deploy.v1.Automatio" + + "n\022\027\n\017next_page_token\030\002 \001(\t\022\023\n\013unreachabl" + + "e\030\003 \003(\t\"S\n\024GetAutomationRequest\022;\n\004name\030" + + "\001 \001(\tB-\340A\002\372A\'\n%clouddeploy.googleapis.co" + + "m/Automation\"\377\t\n\rAutomationRun\022\021\n\004name\030\001" + + " \001(\tB\003\340A\003\0224\n\013create_time\030\002 \001(\0132\032.google." + + "protobuf.TimestampB\003\340A\003\0224\n\013update_time\030\003" + + " \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022\021\n" + + "\004etag\030\004 \001(\tB\003\340A\003\022\034\n\017service_account\030\005 \001(" + + "\tB\003\340A\003\022D\n\023automation_snapshot\030\006 \001(\0132\".go" + + "ogle.cloud.deploy.v1.AutomationB\003\340A\003\022\026\n\t" + + "target_id\030\007 \001(\tB\003\340A\003\022?\n\005state\030\010 \001(\0162+.go" + + "ogle.cloud.deploy.v1.AutomationRun.State" + + "B\003\340A\003\022\036\n\021state_description\030\t \001(\tB\003\340A\003\022F\n" + + "\020policy_violation\030\n \001(\0132\'.google.cloud.d" + + "eploy.v1.PolicyViolationB\003\340A\003\0224\n\013expire_" + + "time\030\013 \001(\0132\032.google.protobuf.TimestampB\003" + + "\340A\003\022\024\n\007rule_id\030\014 \001(\tB\003\340A\003\022\032\n\rautomation_" + + "id\030\017 \001(\tB\003\340A\003\022Y\n\031promote_release_operati" + + "on\030\r \001(\0132/.google.cloud.deploy.v1.Promot" + + "eReleaseOperationB\003\340A\003H\000\022Y\n\031advance_roll" + + "out_operation\030\016 \001(\0132/.google.cloud.deplo" + + "y.v1.AdvanceRolloutOperationB\003\340A\003H\000\022W\n\030r" + + "epair_rollout_operation\030\021 \001(\0132..google.c" + + "loud.deploy.v1.RepairRolloutOperationB\003\340" + + "A\003H\000\022d\n\037timed_promote_release_operation\030" + + "\023 \001(\01324.google.cloud.deploy.v1.TimedProm" + + "oteReleaseOperationB\003\340A\003H\000\0228\n\017wait_until" + + "_time\030\020 \001(\0132\032.google.protobuf.TimestampB" + + "\003\340A\003\"s\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\r\n\t" + + "SUCCEEDED\020\001\022\r\n\tCANCELLED\020\002\022\n\n\006FAILED\020\003\022\017" + + "\n\013IN_PROGRESS\020\004\022\013\n\007PENDING\020\005\022\013\n\007ABORTED\020" + + "\006:\235\001\352A\231\001\n(clouddeploy.googleapis.com/Aut" + + "omationRun\022mprojects/{project}/locations" + + "/{location}/deliveryPipelines/{delivery_" + + "pipeline}/automationRuns/{automation_run" + + "}B\013\n\toperation\"\211\001\n\027PromoteReleaseOperati" + + "on\022\026\n\ttarget_id\030\001 \001(\tB\003\340A\003\022,\n\004wait\030\002 \001(\013" + + "2\031.google.protobuf.DurationB\003\340A\003\022\024\n\007roll" + + "out\030\003 \001(\tB\003\340A\003\022\022\n\005phase\030\004 \001(\tB\003\340A\003\"\230\001\n\027A" + + "dvanceRolloutOperation\022\031\n\014source_phase\030\005" + + " \001(\tB\003\340A\003\022,\n\004wait\030\002 \001(\0132\031.google.protobu" + + "f.DurationB\003\340A\003\022\024\n\007rollout\030\003 \001(\tB\003\340A\003\022\036\n" + + "\021destination_phase\030\004 \001(\tB\003\340A\003\"\304\001\n\026Repair" + + "RolloutOperation\022\024\n\007rollout\030\001 \001(\tB\003\340A\003\022\'" + + "\n\032current_repair_phase_index\030\006 \001(\003B\003\340A\003\022" + + "?\n\rrepair_phases\030\003 \003(\0132#.google.cloud.de" + + "ploy.v1.RepairPhaseB\003\340A\003\022\025\n\010phase_id\030\004 \001" + + "(\tB\003\340A\003\022\023\n\006job_id\030\005 \001(\tB\003\340A\003\"`\n\034TimedPro" + + "moteReleaseOperation\022\026\n\ttarget_id\030\001 \001(\tB" + + "\003\340A\003\022\024\n\007release\030\002 \001(\tB\003\340A\003\022\022\n\005phase\030\003 \001(" + + "\tB\003\340A\003\"\231\001\n\013RepairPhase\0228\n\005retry\030\001 \001(\0132\"." + + "google.cloud.deploy.v1.RetryPhaseB\003\340A\003H\000" + + "\022@\n\010rollback\030\002 \001(\0132\'.google.cloud.deploy" + + ".v1.RollbackAttemptB\003\340A\003H\000B\016\n\014repair_pha" + + "se\"\246\001\n\nRetryPhase\022\033\n\016total_attempts\030\001 \001(" + + "\003B\003\340A\003\022>\n\014backoff_mode\030\002 \001(\0162#.google.cl" + + "oud.deploy.v1.BackoffModeB\003\340A\003\022;\n\010attemp" + + "ts\030\005 \003(\0132$.google.cloud.deploy.v1.RetryA" + + "ttemptB\003\340A\003\"\244\001\n\014RetryAttempt\022\024\n\007attempt\030" + + "\001 \001(\003B\003\340A\003\022,\n\004wait\030\002 \001(\0132\031.google.protob" + + "uf.DurationB\003\340A\003\0227\n\005state\030\005 \001(\0162#.google" + + ".cloud.deploy.v1.RepairStateB\003\340A\003\022\027\n\nsta" + + "te_desc\030\006 \001(\tB\003\340A\003\"\316\001\n\017RollbackAttempt\022\036" + + "\n\021destination_phase\030\001 \001(\tB\003\340A\003\022\027\n\nrollou" + + "t_id\030\002 \001(\tB\003\340A\003\0227\n\005state\030\003 \001(\0162#.google." + + "cloud.deploy.v1.RepairStateB\003\340A\003\022\027\n\nstat" + + "e_desc\030\004 \001(\tB\003\340A\003\0220\n#disable_rollback_if" + + "_rollout_pending\030\005 \001(\010B\003\340A\003\"\246\001\n\031ListAuto" + + "mationRunsRequest\022@\n\006parent\030\001 \001(\tB0\340A\002\372A" + + "*\022(clouddeploy.googleapis.com/Automation" + + "Run\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001" + + "(\t\022\016\n\006filter\030\004 \001(\t\022\020\n\010order_by\030\005 \001(\t\"\212\001\n" + + "\032ListAutomationRunsResponse\022>\n\017automatio" + + "n_runs\030\001 \003(\0132%.google.cloud.deploy.v1.Au" + + "tomationRun\022\027\n\017next_page_token\030\002 \001(\t\022\023\n\013" + + "unreachable\030\003 \003(\t\"Y\n\027GetAutomationRunReq" + + "uest\022>\n\004name\030\001 \001(\tB0\340A\002\372A*\n(clouddeploy." + + "googleapis.com/AutomationRun\"\\\n\032CancelAu" + + "tomationRunRequest\022>\n\004name\030\001 \001(\tB0\340A\002\372A*" + + "\n(clouddeploy.googleapis.com/AutomationR" + + "un\"\035\n\033CancelAutomationRunResponse*\271\001\n\024Sk" + + "affoldSupportState\022&\n\"SKAFFOLD_SUPPORT_S" + + "TATE_UNSPECIFIED\020\000\022$\n SKAFFOLD_SUPPORT_S" + + "TATE_SUPPORTED\020\001\022+\n\'SKAFFOLD_SUPPORT_STA" + + "TE_MAINTENANCE_MODE\020\002\022&\n\"SKAFFOLD_SUPPOR" + + "T_STATE_UNSUPPORTED\020\003*b\n\013BackoffMode\022\034\n\030" + + "BACKOFF_MODE_UNSPECIFIED\020\000\022\027\n\023BACKOFF_MO" + + "DE_LINEAR\020\001\022\034\n\030BACKOFF_MODE_EXPONENTIAL\020" + + "\002*\316\001\n\013RepairState\022\034\n\030REPAIR_STATE_UNSPEC" + + "IFIED\020\000\022\032\n\026REPAIR_STATE_SUCCEEDED\020\001\022\032\n\026R" + + "EPAIR_STATE_CANCELLED\020\002\022\027\n\023REPAIR_STATE_" + + "FAILED\020\003\022\034\n\030REPAIR_STATE_IN_PROGRESS\020\004\022\030" + + "\n\024REPAIR_STATE_PENDING\020\005\022\030\n\024REPAIR_STATE" + + "_ABORTED\020\0072\357L\n\013CloudDeploy\022\314\001\n\025ListDeliv" + + "eryPipelines\0224.google.cloud.deploy.v1.Li" + + "stDeliveryPipelinesRequest\0325.google.clou" + + "d.deploy.v1.ListDeliveryPipelinesRespons" + + "e\"F\332A\006parent\202\323\344\223\0027\0225/v1/{parent=projects" + + "/*/locations/*}/deliveryPipelines\022\271\001\n\023Ge" + + "tDeliveryPipeline\0222.google.cloud.deploy." + + "v1.GetDeliveryPipelineRequest\032(.google.c" + + "loud.deploy.v1.DeliveryPipeline\"D\332A\004name" + + "\202\323\344\223\0027\0225/v1/{name=projects/*/locations/*" + + "/deliveryPipelines/*}\022\231\002\n\026CreateDelivery" + + "Pipeline\0225.google.cloud.deploy.v1.Create" + + "DeliveryPipelineRequest\032\035.google.longrun" + + "ning.Operation\"\250\001\312A%\n\020DeliveryPipeline\022\021" + + "OperationMetadata\332A-parent,delivery_pipe" + + "line,delivery_pipeline_id\202\323\344\223\002J\"5/v1/{pa" + + "rent=projects/*/locations/*}/deliveryPip" + + "elines:\021delivery_pipeline\022\233\002\n\026UpdateDeli" + + "veryPipeline\0225.google.cloud.deploy.v1.Up" + + "dateDeliveryPipelineRequest\032\035.google.lon" + + "grunning.Operation\"\252\001\312A%\n\020DeliveryPipeli" + + "ne\022\021OperationMetadata\332A\035delivery_pipelin" + + "e,update_mask\202\323\344\223\002\\2G/v1/{delivery_pipel" + + "ine.name=projects/*/locations/*/delivery" + + "Pipelines/*}:\021delivery_pipeline\022\341\001\n\026Dele" + + "teDeliveryPipeline\0225.google.cloud.deploy" + + ".v1.DeleteDeliveryPipelineRequest\032\035.goog" + + "le.longrunning.Operation\"q\312A*\n\025google.pr" + + "otobuf.Empty\022\021OperationMetadata\332A\004name\202\323" + + "\344\223\0027*5/v1/{name=projects/*/locations/*/d" + + "eliveryPipelines/*}\022\244\001\n\013ListTargets\022*.go" + + "ogle.cloud.deploy.v1.ListTargetsRequest\032" + + "+.google.cloud.deploy.v1.ListTargetsResp" + + "onse\"<\332A\006parent\202\323\344\223\002-\022+/v1/{parent=proje" + + "cts/*/locations/*}/targets\022\334\001\n\016RollbackT" + + "arget\022-.google.cloud.deploy.v1.RollbackT" + + "argetRequest\032..google.cloud.deploy.v1.Ro" + + "llbackTargetResponse\"k\332A\031name,target_id," + + "rollout_id\202\323\344\223\002I\"D/v1/{name=projects/*/l" + + "ocations/*/deliveryPipelines/*}:rollback" + + "Target:\001*\022\221\001\n\tGetTarget\022(.google.cloud.d" + + "eploy.v1.GetTargetRequest\032\036.google.cloud" + + ".deploy.v1.Target\":\332A\004name\202\323\344\223\002-\022+/v1/{n" + + "ame=projects/*/locations/*/targets/*}\022\317\001" + + "\n\014CreateTarget\022+.google.cloud.deploy.v1." + + "CreateTargetRequest\032\035.google.longrunning" + + ".Operation\"s\312A\033\n\006Target\022\021OperationMetada" + + "ta\332A\027parent,target,target_id\202\323\344\223\0025\"+/v1/" + + "{parent=projects/*/locations/*}/targets:" + + "\006target\022\321\001\n\014UpdateTarget\022+.google.cloud." + + "deploy.v1.UpdateTargetRequest\032\035.google.l" + + "ongrunning.Operation\"u\312A\033\n\006Target\022\021Opera" + + "tionMetadata\332A\022target,update_mask\202\323\344\223\002<2" + + "2/v1/{target.name=projects/*/locations/*" + + "/targets/*}:\006target\022\303\001\n\014DeleteTarget\022+.g" + + "oogle.cloud.deploy.v1.DeleteTargetReques" + + "t\032\035.google.longrunning.Operation\"g\312A*\n\025g" + + "oogle.protobuf.Empty\022\021OperationMetadata\332" + + "A\004name\202\323\344\223\002-*+/v1/{name=projects/*/locat" + + "ions/*/targets/*}\022\314\001\n\025ListCustomTargetTy" + + "pes\0224.google.cloud.deploy.v1.ListCustomT" + + "argetTypesRequest\0325.google.cloud.deploy." + + "v1.ListCustomTargetTypesResponse\"F\332A\006par" + + "ent\202\323\344\223\0027\0225/v1/{parent=projects/*/locati" + + "ons/*}/customTargetTypes\022\271\001\n\023GetCustomTa" + + "rgetType\0222.google.cloud.deploy.v1.GetCus" + + "tomTargetTypeRequest\032(.google.cloud.depl" + + "oy.v1.CustomTargetType\"D\332A\004name\202\323\344\223\0027\0225/" + + "v1/{name=projects/*/locations/*/customTa" + + "rgetTypes/*}\022\234\002\n\026CreateCustomTargetType\022" + + "5.google.cloud.deploy.v1.CreateCustomTar" + + "getTypeRequest\032\035.google.longrunning.Oper" + + "ation\"\253\001\312A%\n\020CustomTargetType\022\021Operation" + + "Metadata\332A/parent,custom_target_type,cus" + + "tom_target_type_id\202\323\344\223\002K\"5/v1/{parent=pr" + + "ojects/*/locations/*}/customTargetTypes:" + + "\022custom_target_type\022\236\002\n\026UpdateCustomTarg" + + "etType\0225.google.cloud.deploy.v1.UpdateCu" + + "stomTargetTypeRequest\032\035.google.longrunni" + + "ng.Operation\"\255\001\312A%\n\020CustomTargetType\022\021Op" + + "erationMetadata\332A\036custom_target_type,upd" + + "ate_mask\202\323\344\223\002^2H/v1/{custom_target_type." + + "name=projects/*/locations/*/customTarget" + + "Types/*}:\022custom_target_type\022\341\001\n\026DeleteC" + + "ustomTargetType\0225.google.cloud.deploy.v1" + + ".DeleteCustomTargetTypeRequest\032\035.google." + + "longrunning.Operation\"q\312A*\n\025google.proto" + + "buf.Empty\022\021OperationMetadata\332A\004name\202\323\344\223\002" + + "7*5/v1/{name=projects/*/locations/*/cust" + + "omTargetTypes/*}\022\274\001\n\014ListReleases\022+.goog" + + "le.cloud.deploy.v1.ListReleasesRequest\032," + + ".google.cloud.deploy.v1.ListReleasesResp" + + "onse\"Q\332A\006parent\202\323\344\223\002B\022@/v1/{parent=proje" + + "cts/*/locations/*/deliveryPipelines/*}/r" + + "eleases\022\251\001\n\nGetRelease\022).google.cloud.de" + + "ploy.v1.GetReleaseRequest\032\037.google.cloud" + + ".deploy.v1.Release\"O\332A\004name\202\323\344\223\002B\022@/v1/{" + + "name=projects/*/locations/*/deliveryPipe" + + "lines/*/releases/*}\022\353\001\n\rCreateRelease\022,." + + "google.cloud.deploy.v1.CreateReleaseRequ" + + "est\032\035.google.longrunning.Operation\"\214\001\312A\034" + + "\n\007Release\022\021OperationMetadata\332A\031parent,re" + + "lease,release_id\202\323\344\223\002K\"@/v1/{parent=proj" + + "ects/*/locations/*/deliveryPipelines/*}/" + + "releases:\007release\022\313\001\n\016AbandonRelease\022-.g" + + "oogle.cloud.deploy.v1.AbandonReleaseRequ" + + "est\032..google.cloud.deploy.v1.AbandonRele" + + "aseResponse\"Z\332A\004name\202\323\344\223\002M\"H/v1/{name=pr" + + "ojects/*/locations/*/deliveryPipelines/*" + + "/releases/*}:abandon:\001*\022\376\001\n\022CreateDeploy" + + "Policy\0221.google.cloud.deploy.v1.CreateDe" + + "ployPolicyRequest\032\035.google.longrunning.O" + + "peration\"\225\001\312A!\n\014DeployPolicy\022\021OperationM" + + "etadata\332A%parent,deploy_policy,deploy_po" + + "licy_id\202\323\344\223\002C\"2/v1/{parent=projects/*/lo" + + "cations/*}/deployPolicies:\rdeploy_policy" + + "\022\200\002\n\022UpdateDeployPolicy\0221.google.cloud.d" + + "eploy.v1.UpdateDeployPolicyRequest\032\035.goo" + + "gle.longrunning.Operation\"\227\001\312A!\n\014DeployP" + + "olicy\022\021OperationMetadata\332A\031deploy_policy" + + ",update_mask\202\323\344\223\002Q2@/v1/{deploy_policy.n" + + "ame=projects/*/locations/*/deployPolicie" + + "s/*}:\rdeploy_policy\022\326\001\n\022DeleteDeployPoli" + + "cy\0221.google.cloud.deploy.v1.DeleteDeploy" + + "PolicyRequest\032\035.google.longrunning.Opera" + + "tion\"n\312A*\n\025google.protobuf.Empty\022\021Operat" + + "ionMetadata\332A\004name\202\323\344\223\0024*2/v1/{name=proj" + + "ects/*/locations/*/deployPolicies/*}\022\300\001\n" + + "\022ListDeployPolicies\0221.google.cloud.deplo" + + "y.v1.ListDeployPoliciesRequest\0322.google." + + "cloud.deploy.v1.ListDeployPoliciesRespon" + + "se\"C\332A\006parent\202\323\344\223\0024\0222/v1/{parent=project" + + "s/*/locations/*}/deployPolicies\022\252\001\n\017GetD" + + "eployPolicy\022..google.cloud.deploy.v1.Get" + + "DeployPolicyRequest\032$.google.cloud.deplo" + + "y.v1.DeployPolicy\"A\332A\004name\202\323\344\223\0024\0222/v1/{n" + + "ame=projects/*/locations/*/deployPolicie" + + "s/*}\022\326\001\n\016ApproveRollout\022-.google.cloud.d" + + "eploy.v1.ApproveRolloutRequest\032..google." + + "cloud.deploy.v1.ApproveRolloutResponse\"e" + + "\332A\004name\202\323\344\223\002X\"S/v1/{name=projects/*/loca" + + "tions/*/deliveryPipelines/*/releases/*/r" + + "ollouts/*}:approve:\001*\022\337\001\n\016AdvanceRollout" + + "\022-.google.cloud.deploy.v1.AdvanceRollout" + + "Request\032..google.cloud.deploy.v1.Advance" + + "RolloutResponse\"n\332A\rname,phase_id\202\323\344\223\002X\"" + + "S/v1/{name=projects/*/locations/*/delive" + + "ryPipelines/*/releases/*/rollouts/*}:adv" + + "ance:\001*\022\322\001\n\rCancelRollout\022,.google.cloud" + + ".deploy.v1.CancelRolloutRequest\032-.google" + + ".cloud.deploy.v1.CancelRolloutResponse\"d" + + "\332A\004name\202\323\344\223\002W\"R/v1/{name=projects/*/loca" + + "tions/*/deliveryPipelines/*/releases/*/r" + + "ollouts/*}:cancel:\001*\022\307\001\n\014ListRollouts\022+." + + "google.cloud.deploy.v1.ListRolloutsReque" + + "st\032,.google.cloud.deploy.v1.ListRollouts" + + "Response\"\\\332A\006parent\202\323\344\223\002M\022K/v1/{parent=p" + + "rojects/*/locations/*/deliveryPipelines/" + + "*/releases/*}/rollouts\022\264\001\n\nGetRollout\022)." + + "google.cloud.deploy.v1.GetRolloutRequest" + + "\032\037.google.cloud.deploy.v1.Rollout\"Z\332A\004na" + + "me\202\323\344\223\002M\022K/v1/{name=projects/*/locations" + "/*/deliveryPipelines/*/releases/*/rollou" - + "ts/*}:retryJob:\001*\022\316\001\n\013ListJobRuns\022*.goog" - + "le.cloud.deploy.v1.ListJobRunsRequest\032+." - + "google.cloud.deploy.v1.ListJobRunsRespon" - + "se\"f\332A\006parent\202\323\344\223\002W\022U/v1/{parent=project" - + "s/*/locations/*/deliveryPipelines/*/rele" - + "ases/*/rollouts/*}/jobRuns\022\273\001\n\tGetJobRun" - + "\022(.google.cloud.deploy.v1.GetJobRunReque" - + "st\032\036.google.cloud.deploy.v1.JobRun\"d\332A\004n" - + "ame\202\323\344\223\002W\022U/v1/{name=projects/*/location" - + "s/*/deliveryPipelines/*/releases/*/rollo" - + "uts/*/jobRuns/*}\022\345\001\n\017TerminateJobRun\022..g" - + "oogle.cloud.deploy.v1.TerminateJobRunReq" - + "uest\032/.google.cloud.deploy.v1.TerminateJ" - + "obRunResponse\"q\332A\004name\202\323\344\223\002d\"_/v1/{name=" + + "ts/*}\022\366\001\n\rCreateRollout\022,.google.cloud.d" + + "eploy.v1.CreateRolloutRequest\032\035.google.l" + + "ongrunning.Operation\"\227\001\312A\034\n\007Rollout\022\021Ope" + + "rationMetadata\332A\031parent,rollout,rollout_" + + "id\202\323\344\223\002V\"K/v1/{parent=projects/*/locatio" + + "ns/*/deliveryPipelines/*/releases/*}/rol" + + "louts:\007rollout\022\337\001\n\tIgnoreJob\022(.google.cl" + + "oud.deploy.v1.IgnoreJobRequest\032).google." + + "cloud.deploy.v1.IgnoreJobResponse\"}\332A\027ro" + + "llout,phase_id,job_id\202\323\344\223\002]\"X/v1/{rollou" + + "t=projects/*/locations/*/deliveryPipelin" + + "es/*/releases/*/rollouts/*}:ignoreJob:\001*" + + "\022\333\001\n\010RetryJob\022\'.google.cloud.deploy.v1.R" + + "etryJobRequest\032(.google.cloud.deploy.v1." + + "RetryJobResponse\"|\332A\027rollout,phase_id,jo" + + "b_id\202\323\344\223\002\\\"W/v1/{rollout=projects/*/loca" + + "tions/*/deliveryPipelines/*/releases/*/r" + + "ollouts/*}:retryJob:\001*\022\316\001\n\013ListJobRuns\022*" + + ".google.cloud.deploy.v1.ListJobRunsReque" + + "st\032+.google.cloud.deploy.v1.ListJobRunsR" + + "esponse\"f\332A\006parent\202\323\344\223\002W\022U/v1/{parent=pr" + + "ojects/*/locations/*/deliveryPipelines/*" + + "/releases/*/rollouts/*}/jobRuns\022\273\001\n\tGetJ" + + "obRun\022(.google.cloud.deploy.v1.GetJobRun" + + "Request\032\036.google.cloud.deploy.v1.JobRun\"" + + "d\332A\004name\202\323\344\223\002W\022U/v1/{name=projects/*/loc" + + "ations/*/deliveryPipelines/*/releases/*/" + + "rollouts/*/jobRuns/*}\022\345\001\n\017TerminateJobRu" + + "n\022..google.cloud.deploy.v1.TerminateJobR" + + "unRequest\032/.google.cloud.deploy.v1.Termi" + + "nateJobRunResponse\"q\332A\004name\202\323\344\223\002d\"_/v1/{" + + "name=projects/*/locations/*/deliveryPipe" + + "lines/*/releases/*/rollouts/*/jobRuns/*}" + + ":terminate:\001*\022\216\001\n\tGetConfig\022(.google.clo" + + "ud.deploy.v1.GetConfigRequest\032\036.google.c" + + "loud.deploy.v1.Config\"7\332A\004name\202\323\344\223\002*\022(/v" + + "1/{name=projects/*/locations/*/config}\022\200" + + "\002\n\020CreateAutomation\022/.google.cloud.deplo" + + "y.v1.CreateAutomationRequest\032\035.google.lo" + + "ngrunning.Operation\"\233\001\312A\037\n\nAutomation\022\021O" + + "perationMetadata\332A\037parent,automation,aut" + + "omation_id\202\323\344\223\002Q\"C/v1/{parent=projects/*" + + "/locations/*/deliveryPipelines/*}/automa" + + "tions:\nautomation\022\202\002\n\020UpdateAutomation\022/" + + ".google.cloud.deploy.v1.UpdateAutomation" + + "Request\032\035.google.longrunning.Operation\"\235" + + "\001\312A\037\n\nAutomation\022\021OperationMetadata\332A\026au" + + "tomation,update_mask\202\323\344\223\002\\2N/v1/{automat" + + "ion.name=projects/*/locations/*/delivery" + + "Pipelines/*/automations/*}:\nautomation\022\343" + + "\001\n\020DeleteAutomation\022/.google.cloud.deplo" + + "y.v1.DeleteAutomationRequest\032\035.google.lo" + + "ngrunning.Operation\"\177\312A*\n\025google.protobu" + + "f.Empty\022\021OperationMetadata\332A\004name\202\323\344\223\002E*" + + "C/v1/{name=projects/*/locations/*/delive", + "ryPipelines/*/automations/*}\022\265\001\n\rGetAuto" + + "mation\022,.google.cloud.deploy.v1.GetAutom" + + "ationRequest\032\".google.cloud.deploy.v1.Au" + + "tomation\"R\332A\004name\202\323\344\223\002E\022C/v1/{name=proje" + + "cts/*/locations/*/deliveryPipelines/*/au" + + "tomations/*}\022\310\001\n\017ListAutomations\022..googl" + + "e.cloud.deploy.v1.ListAutomationsRequest" + + "\032/.google.cloud.deploy.v1.ListAutomation" + + "sResponse\"T\332A\006parent\202\323\344\223\002E\022C/v1/{parent=" + "projects/*/locations/*/deliveryPipelines" - + "/*/releases/*/rollouts/*/jobRuns/*}:term" - + "inate:\001*\022\216\001\n\tGetConfig\022(.google.cloud.de" - + "ploy.v1.GetConfigRequest\032\036.google.cloud." - + "deploy.v1.Config\"7\332A\004name\202\323\344\223\002*\022(/v1/{na" - + "me=projects/*/locations/*/config}\022\200\002\n\020Cr" - + "eateAutomation\022/.google.cloud.deploy.v1." - + "CreateAutomationRequest\032\035.google.longrun" - + "ning.Operation\"\233\001\312A\037\n\nAutomation\022\021Operat" - + "ionMetadata\332A\037parent,automation,automati" - + "on_id\202\323\344\223\002Q\"C/v1/{parent=projects/*/loca" - + "tions/*/deliveryPipelines/*}/automations" - + ":\nautomation\022\202\002\n\020UpdateAutomation\022/.goog" - + "le.cloud.deploy.v1.UpdateAutomationReque" - + "st\032\035.google.longrunning.Operation\"\235\001\312A\037\n" - + "\nAutomation\022\021OperationMetadata\332A\026automat" - + "ion,update_mask\202\323\344\223\002\\2N/v1/{automation.n" - + "ame=projects/*/locations/*/deliveryPipel" - + "ines/*/automations/*}:\nautomation\022\343\001\n\020De" - + "leteAutomation\022/.google.cloud.deploy.v1." - + "DeleteAutomationRequest\032\035.google.longrun" - + "ning.Operation\"\177\312A*\n\025google.protobuf.Emp" - + "ty\022\021OperationMetadata\332A\004name\202\323\344\223\002E*C/v1/" - + "{name=projects/*/locations/*/deliveryPip" - + "elines/*/automations/*}\022\265\001\n\rGetAutomatio" - + "n\022,.google.cloud.deploy.v1.GetAutomation" - + "Request\032\".google.cloud.deploy.v1.Automat" - + "ion\"R\332A\004name\202\323\344\223\002E\022C/v1/{name=projects/*" - + "/locations/*/deliveryPipelines/*/automat", - "ions/*}\022\310\001\n\017ListAutomations\022..google.clo" - + "ud.deploy.v1.ListAutomationsRequest\032/.go" - + "ogle.cloud.deploy.v1.ListAutomationsResp" - + "onse\"T\332A\006parent\202\323\344\223\002E\022C/v1/{parent=proje" - + "cts/*/locations/*/deliveryPipelines/*}/a" - + "utomations\022\301\001\n\020GetAutomationRun\022/.google" - + ".cloud.deploy.v1.GetAutomationRunRequest" - + "\032%.google.cloud.deploy.v1.AutomationRun\"" - + "U\332A\004name\202\323\344\223\002H\022F/v1/{name=projects/*/loc" - + "ations/*/deliveryPipelines/*/automationR" - + "uns/*}\022\324\001\n\022ListAutomationRuns\0221.google.c" - + "loud.deploy.v1.ListAutomationRunsRequest" - + "\0322.google.cloud.deploy.v1.ListAutomation" - + "RunsResponse\"W\332A\006parent\202\323\344\223\002H\022F/v1/{pare" - + "nt=projects/*/locations/*/deliveryPipeli" - + "nes/*}/automationRuns\022\337\001\n\023CancelAutomati" - + "onRun\0222.google.cloud.deploy.v1.CancelAut" - + "omationRunRequest\0323.google.cloud.deploy." - + "v1.CancelAutomationRunResponse\"_\332A\004name\202" - + "\323\344\223\002R\"M/v1/{name=projects/*/locations/*/" - + "deliveryPipelines/*/automationRuns/*}:ca" - + "ncel:\001*\032N\312A\032clouddeploy.googleapis.com\322A" - + ".https://www.googleapis.com/auth/cloud-p" - + "latformB\215\007\n\032com.google.cloud.deploy.v1B\020" - + "CloudDeployProtoP\001Z2cloud.google.com/go/" - + "deploy/apiv1/deploypb;deploypb\352AY\n\037cloud" - + "build.googleapis.com/Build\0226projects/{pr" - + "oject}/locations/{location}/builds/{buil" - + "d}\352A\202\001\n$cloudbuild.googleapis.com/Reposi" - + "tory\022Zprojects/{project}/locations/{loca" - + "tion}/connections/{connection}/repositor" - + "ies/{repository}\352A^\n container.googleapi" - + "s.com/Cluster\022:projects/{project}/locati" - + "ons/{location}/clusters/{cluster}\352Af\n$cl" - + "ouddeploy.googleapis.com/Operation\022>proj" - + "ects/{project}/locations/{location}/oper" - + "ations/{operation}\352Ai\n$cloudbuild.google" - + "apis.com/WorkerPool\022Aprojects/{project}/" - + "locations/{location}/workerPools/{worker" - + "_pool}\352Ad\n gkehub.googleapis.com/Members" - + "hip\022@projects/{project}/locations/{locat" - + "ion}/memberships/{membership}\352AX\n\032run.go" - + "ogleapis.com/Service\022:projects/{project}" - + "/locations/{location}/services/{service}" - + "\352AL\n\026run.googleapis.com/Job\0222projects/{p" - + "roject}/locations/{location}/jobs/{job}b" - + "\006proto3" + + "/*}/automations\022\301\001\n\020GetAutomationRun\022/.g" + + "oogle.cloud.deploy.v1.GetAutomationRunRe" + + "quest\032%.google.cloud.deploy.v1.Automatio" + + "nRun\"U\332A\004name\202\323\344\223\002H\022F/v1/{name=projects/" + + "*/locations/*/deliveryPipelines/*/automa" + + "tionRuns/*}\022\324\001\n\022ListAutomationRuns\0221.goo" + + "gle.cloud.deploy.v1.ListAutomationRunsRe" + + "quest\0322.google.cloud.deploy.v1.ListAutom" + + "ationRunsResponse\"W\332A\006parent\202\323\344\223\002H\022F/v1/" + + "{parent=projects/*/locations/*/deliveryP" + + "ipelines/*}/automationRuns\022\337\001\n\023CancelAut" + + "omationRun\0222.google.cloud.deploy.v1.Canc" + + "elAutomationRunRequest\0323.google.cloud.de" + + "ploy.v1.CancelAutomationRunResponse\"_\332A\004" + + "name\202\323\344\223\002R\"M/v1/{name=projects/*/locatio" + + "ns/*/deliveryPipelines/*/automationRuns/" + + "*}:cancel:\001*\032N\312A\032clouddeploy.googleapis." + + "com\322A.https://www.googleapis.com/auth/cl" + + "oud-platformB\215\007\n\032com.google.cloud.deploy" + + ".v1B\020CloudDeployProtoP\001Z2cloud.google.co" + + "m/go/deploy/apiv1/deploypb;deploypb\352AY\n\037" + + "cloudbuild.googleapis.com/Build\0226project" + + "s/{project}/locations/{location}/builds/" + + "{build}\352A\202\001\n$cloudbuild.googleapis.com/R" + + "epository\022Zprojects/{project}/locations/" + + "{location}/connections/{connection}/repo" + + "sitories/{repository}\352A^\n container.goog" + + "leapis.com/Cluster\022:projects/{project}/l" + + "ocations/{location}/clusters/{cluster}\352A" + + "f\n$clouddeploy.googleapis.com/Operation\022" + + ">projects/{project}/locations/{location}" + + "/operations/{operation}\352Ai\n$cloudbuild.g" + + "oogleapis.com/WorkerPool\022Aprojects/{proj" + + "ect}/locations/{location}/workerPools/{w" + + "orker_pool}\352Ad\n gkehub.googleapis.com/Me" + + "mbership\022@projects/{project}/locations/{" + + "location}/memberships/{membership}\352AX\n\032r" + + "un.googleapis.com/Service\022:projects/{pro" + + "ject}/locations/{location}/services/{ser" + + "vice}\352AL\n\026run.googleapis.com/Job\0222projec" + + "ts/{project}/locations/{location}/jobs/{" + + "job}b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -3198,7 +3203,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_deploy_v1_DeploymentJobs_descriptor, new java.lang.String[] { - "DeployJob", "VerifyJob", "PredeployJob", "PostdeployJob", + "PredeployJob", "DeployJob", "VerifyJob", "PostdeployJob", }); internal_static_google_cloud_deploy_v1_ChildRolloutJobs_descriptor = getDescriptor().getMessageTypes().get(88); diff --git a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CloudRunConfig.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CloudRunConfig.java index 4a5f34082dd3..15f16b57ff13 100644 --- a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CloudRunConfig.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CloudRunConfig.java @@ -71,13 +71,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Whether Cloud Deploy should update the traffic stanza in a Cloud Run
-   * Service on the user's behalf to facilitate traffic splitting. This is
+   * Optional. Whether Cloud Deploy should update the traffic stanza in a Cloud
+   * Run Service on the user's behalf to facilitate traffic splitting. This is
    * required to be true for CanaryDeployments, but optional for
    * CustomCanaryDeployments.
    * 
* - * bool automatic_traffic_control = 1; + * bool automatic_traffic_control = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return The automaticTrafficControl. */ @@ -756,13 +756,13 @@ public Builder mergeFrom( * * *
-     * Whether Cloud Deploy should update the traffic stanza in a Cloud Run
-     * Service on the user's behalf to facilitate traffic splitting. This is
+     * Optional. Whether Cloud Deploy should update the traffic stanza in a Cloud
+     * Run Service on the user's behalf to facilitate traffic splitting. This is
      * required to be true for CanaryDeployments, but optional for
      * CustomCanaryDeployments.
      * 
* - * bool automatic_traffic_control = 1; + * bool automatic_traffic_control = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return The automaticTrafficControl. */ @@ -774,13 +774,13 @@ public boolean getAutomaticTrafficControl() { * * *
-     * Whether Cloud Deploy should update the traffic stanza in a Cloud Run
-     * Service on the user's behalf to facilitate traffic splitting. This is
+     * Optional. Whether Cloud Deploy should update the traffic stanza in a Cloud
+     * Run Service on the user's behalf to facilitate traffic splitting. This is
      * required to be true for CanaryDeployments, but optional for
      * CustomCanaryDeployments.
      * 
* - * bool automatic_traffic_control = 1; + * bool automatic_traffic_control = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The automaticTrafficControl to set. * @return This builder for chaining. @@ -796,13 +796,13 @@ public Builder setAutomaticTrafficControl(boolean value) { * * *
-     * Whether Cloud Deploy should update the traffic stanza in a Cloud Run
-     * Service on the user's behalf to facilitate traffic splitting. This is
+     * Optional. Whether Cloud Deploy should update the traffic stanza in a Cloud
+     * Run Service on the user's behalf to facilitate traffic splitting. This is
      * required to be true for CanaryDeployments, but optional for
      * CustomCanaryDeployments.
      * 
* - * bool automatic_traffic_control = 1; + * bool automatic_traffic_control = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return This builder for chaining. */ diff --git a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CloudRunConfigOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CloudRunConfigOrBuilder.java index 79d3d47c1bd2..7698e276402f 100644 --- a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CloudRunConfigOrBuilder.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CloudRunConfigOrBuilder.java @@ -28,13 +28,13 @@ public interface CloudRunConfigOrBuilder * * *
-   * Whether Cloud Deploy should update the traffic stanza in a Cloud Run
-   * Service on the user's behalf to facilitate traffic splitting. This is
+   * Optional. Whether Cloud Deploy should update the traffic stanza in a Cloud
+   * Run Service on the user's behalf to facilitate traffic splitting. This is
    * required to be true for CanaryDeployments, but optional for
    * CustomCanaryDeployments.
    * 
* - * bool automatic_traffic_control = 1; + * bool automatic_traffic_control = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return The automaticTrafficControl. */ diff --git a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CustomCanaryDeployment.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CustomCanaryDeployment.java index 15bd682c4e55..52ed51120c6a 100644 --- a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CustomCanaryDeployment.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CustomCanaryDeployment.java @@ -119,12 +119,12 @@ public interface PhaseConfigOrBuilder * * *
-     * Skaffold profiles to use when rendering the manifest for this phase.
-     * These are in addition to the profiles list specified in the
+     * Optional. Skaffold profiles to use when rendering the manifest for this
+     * phase. These are in addition to the profiles list specified in the
      * `DeliveryPipeline` stage.
      * 
* - * repeated string profiles = 3; + * repeated string profiles = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return A list containing the profiles. */ @@ -133,12 +133,12 @@ public interface PhaseConfigOrBuilder * * *
-     * Skaffold profiles to use when rendering the manifest for this phase.
-     * These are in addition to the profiles list specified in the
+     * Optional. Skaffold profiles to use when rendering the manifest for this
+     * phase. These are in addition to the profiles list specified in the
      * `DeliveryPipeline` stage.
      * 
* - * repeated string profiles = 3; + * repeated string profiles = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The count of profiles. */ @@ -147,12 +147,12 @@ public interface PhaseConfigOrBuilder * * *
-     * Skaffold profiles to use when rendering the manifest for this phase.
-     * These are in addition to the profiles list specified in the
+     * Optional. Skaffold profiles to use when rendering the manifest for this
+     * phase. These are in addition to the profiles list specified in the
      * `DeliveryPipeline` stage.
      * 
* - * repeated string profiles = 3; + * repeated string profiles = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @param index The index of the element to return. * @return The profiles at the given index. @@ -162,12 +162,12 @@ public interface PhaseConfigOrBuilder * * *
-     * Skaffold profiles to use when rendering the manifest for this phase.
-     * These are in addition to the profiles list specified in the
+     * Optional. Skaffold profiles to use when rendering the manifest for this
+     * phase. These are in addition to the profiles list specified in the
      * `DeliveryPipeline` stage.
      * 
* - * repeated string profiles = 3; + * repeated string profiles = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @param index The index of the value to return. * @return The bytes of the profiles at the given index. @@ -178,10 +178,10 @@ public interface PhaseConfigOrBuilder * * *
-     * Whether to run verify tests after the deployment.
+     * Optional. Whether to run verify tests after the deployment.
      * 
* - * bool verify = 4; + * bool verify = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @return The verify. */ @@ -408,12 +408,12 @@ public int getPercentage() { * * *
-     * Skaffold profiles to use when rendering the manifest for this phase.
-     * These are in addition to the profiles list specified in the
+     * Optional. Skaffold profiles to use when rendering the manifest for this
+     * phase. These are in addition to the profiles list specified in the
      * `DeliveryPipeline` stage.
      * 
* - * repeated string profiles = 3; + * repeated string profiles = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return A list containing the profiles. */ @@ -424,12 +424,12 @@ public com.google.protobuf.ProtocolStringList getProfilesList() { * * *
-     * Skaffold profiles to use when rendering the manifest for this phase.
-     * These are in addition to the profiles list specified in the
+     * Optional. Skaffold profiles to use when rendering the manifest for this
+     * phase. These are in addition to the profiles list specified in the
      * `DeliveryPipeline` stage.
      * 
* - * repeated string profiles = 3; + * repeated string profiles = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The count of profiles. */ @@ -440,12 +440,12 @@ public int getProfilesCount() { * * *
-     * Skaffold profiles to use when rendering the manifest for this phase.
-     * These are in addition to the profiles list specified in the
+     * Optional. Skaffold profiles to use when rendering the manifest for this
+     * phase. These are in addition to the profiles list specified in the
      * `DeliveryPipeline` stage.
      * 
* - * repeated string profiles = 3; + * repeated string profiles = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @param index The index of the element to return. * @return The profiles at the given index. @@ -457,12 +457,12 @@ public java.lang.String getProfiles(int index) { * * *
-     * Skaffold profiles to use when rendering the manifest for this phase.
-     * These are in addition to the profiles list specified in the
+     * Optional. Skaffold profiles to use when rendering the manifest for this
+     * phase. These are in addition to the profiles list specified in the
      * `DeliveryPipeline` stage.
      * 
* - * repeated string profiles = 3; + * repeated string profiles = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @param index The index of the value to return. * @return The bytes of the profiles at the given index. @@ -477,10 +477,10 @@ public com.google.protobuf.ByteString getProfilesBytes(int index) { * * *
-     * Whether to run verify tests after the deployment.
+     * Optional. Whether to run verify tests after the deployment.
      * 
* - * bool verify = 4; + * bool verify = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @return The verify. */ @@ -1310,12 +1310,12 @@ private void ensureProfilesIsMutable() { * * *
-       * Skaffold profiles to use when rendering the manifest for this phase.
-       * These are in addition to the profiles list specified in the
+       * Optional. Skaffold profiles to use when rendering the manifest for this
+       * phase. These are in addition to the profiles list specified in the
        * `DeliveryPipeline` stage.
        * 
* - * repeated string profiles = 3; + * repeated string profiles = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return A list containing the profiles. */ @@ -1327,12 +1327,12 @@ public com.google.protobuf.ProtocolStringList getProfilesList() { * * *
-       * Skaffold profiles to use when rendering the manifest for this phase.
-       * These are in addition to the profiles list specified in the
+       * Optional. Skaffold profiles to use when rendering the manifest for this
+       * phase. These are in addition to the profiles list specified in the
        * `DeliveryPipeline` stage.
        * 
* - * repeated string profiles = 3; + * repeated string profiles = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The count of profiles. */ @@ -1343,12 +1343,12 @@ public int getProfilesCount() { * * *
-       * Skaffold profiles to use when rendering the manifest for this phase.
-       * These are in addition to the profiles list specified in the
+       * Optional. Skaffold profiles to use when rendering the manifest for this
+       * phase. These are in addition to the profiles list specified in the
        * `DeliveryPipeline` stage.
        * 
* - * repeated string profiles = 3; + * repeated string profiles = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @param index The index of the element to return. * @return The profiles at the given index. @@ -1360,12 +1360,12 @@ public java.lang.String getProfiles(int index) { * * *
-       * Skaffold profiles to use when rendering the manifest for this phase.
-       * These are in addition to the profiles list specified in the
+       * Optional. Skaffold profiles to use when rendering the manifest for this
+       * phase. These are in addition to the profiles list specified in the
        * `DeliveryPipeline` stage.
        * 
* - * repeated string profiles = 3; + * repeated string profiles = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @param index The index of the value to return. * @return The bytes of the profiles at the given index. @@ -1377,12 +1377,12 @@ public com.google.protobuf.ByteString getProfilesBytes(int index) { * * *
-       * Skaffold profiles to use when rendering the manifest for this phase.
-       * These are in addition to the profiles list specified in the
+       * Optional. Skaffold profiles to use when rendering the manifest for this
+       * phase. These are in addition to the profiles list specified in the
        * `DeliveryPipeline` stage.
        * 
* - * repeated string profiles = 3; + * repeated string profiles = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @param index The index to set the value at. * @param value The profiles to set. @@ -1402,12 +1402,12 @@ public Builder setProfiles(int index, java.lang.String value) { * * *
-       * Skaffold profiles to use when rendering the manifest for this phase.
-       * These are in addition to the profiles list specified in the
+       * Optional. Skaffold profiles to use when rendering the manifest for this
+       * phase. These are in addition to the profiles list specified in the
        * `DeliveryPipeline` stage.
        * 
* - * repeated string profiles = 3; + * repeated string profiles = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The profiles to add. * @return This builder for chaining. @@ -1426,12 +1426,12 @@ public Builder addProfiles(java.lang.String value) { * * *
-       * Skaffold profiles to use when rendering the manifest for this phase.
-       * These are in addition to the profiles list specified in the
+       * Optional. Skaffold profiles to use when rendering the manifest for this
+       * phase. These are in addition to the profiles list specified in the
        * `DeliveryPipeline` stage.
        * 
* - * repeated string profiles = 3; + * repeated string profiles = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @param values The profiles to add. * @return This builder for chaining. @@ -1447,12 +1447,12 @@ public Builder addAllProfiles(java.lang.Iterable values) { * * *
-       * Skaffold profiles to use when rendering the manifest for this phase.
-       * These are in addition to the profiles list specified in the
+       * Optional. Skaffold profiles to use when rendering the manifest for this
+       * phase. These are in addition to the profiles list specified in the
        * `DeliveryPipeline` stage.
        * 
* - * repeated string profiles = 3; + * repeated string profiles = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return This builder for chaining. */ @@ -1467,12 +1467,12 @@ public Builder clearProfiles() { * * *
-       * Skaffold profiles to use when rendering the manifest for this phase.
-       * These are in addition to the profiles list specified in the
+       * Optional. Skaffold profiles to use when rendering the manifest for this
+       * phase. These are in addition to the profiles list specified in the
        * `DeliveryPipeline` stage.
        * 
* - * repeated string profiles = 3; + * repeated string profiles = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The bytes of the profiles to add. * @return This builder for chaining. @@ -1494,10 +1494,10 @@ public Builder addProfilesBytes(com.google.protobuf.ByteString value) { * * *
-       * Whether to run verify tests after the deployment.
+       * Optional. Whether to run verify tests after the deployment.
        * 
* - * bool verify = 4; + * bool verify = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @return The verify. */ @@ -1509,10 +1509,10 @@ public boolean getVerify() { * * *
-       * Whether to run verify tests after the deployment.
+       * Optional. Whether to run verify tests after the deployment.
        * 
* - * bool verify = 4; + * bool verify = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The verify to set. * @return This builder for chaining. @@ -1528,10 +1528,10 @@ public Builder setVerify(boolean value) { * * *
-       * Whether to run verify tests after the deployment.
+       * Optional. Whether to run verify tests after the deployment.
        * 
* - * bool verify = 4; + * bool verify = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @return This builder for chaining. */ diff --git a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CustomTargetType.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CustomTargetType.java index b35faa52069f..3e1d4ccdcee6 100644 --- a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CustomTargetType.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CustomTargetType.java @@ -140,13 +140,13 @@ public DefinitionCase getDefinitionCase() { * * *
-   * Optional. Name of the `CustomTargetType`. Format is
+   * Identifier. Name of the `CustomTargetType`. Format is
    * `projects/{project}/locations/{location}/customTargetTypes/{customTargetType}`.
    * The `customTargetType` component must match
    * `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`
    * 
* - * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The name. */ @@ -166,13 +166,13 @@ public java.lang.String getName() { * * *
-   * Optional. Name of the `CustomTargetType`. Format is
+   * Identifier. Name of the `CustomTargetType`. Format is
    * `projects/{project}/locations/{location}/customTargetTypes/{customTargetType}`.
    * The `customTargetType` component must match
    * `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`
    * 
* - * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The bytes for name. */ @@ -763,11 +763,13 @@ public com.google.protobuf.ByteString getEtagBytes() { * * *
-   * Configures render and deploy for the `CustomTargetType` using Skaffold
-   * custom actions.
+   * Optional. Configures render and deploy for the `CustomTargetType` using
+   * Skaffold custom actions.
    * 
* - * .google.cloud.deploy.v1.CustomTargetSkaffoldActions custom_actions = 10; + * + * .google.cloud.deploy.v1.CustomTargetSkaffoldActions custom_actions = 10 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return Whether the customActions field is set. */ @@ -779,11 +781,13 @@ public boolean hasCustomActions() { * * *
-   * Configures render and deploy for the `CustomTargetType` using Skaffold
-   * custom actions.
+   * Optional. Configures render and deploy for the `CustomTargetType` using
+   * Skaffold custom actions.
    * 
* - * .google.cloud.deploy.v1.CustomTargetSkaffoldActions custom_actions = 10; + * + * .google.cloud.deploy.v1.CustomTargetSkaffoldActions custom_actions = 10 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return The customActions. */ @@ -798,11 +802,13 @@ public com.google.cloud.deploy.v1.CustomTargetSkaffoldActions getCustomActions() * * *
-   * Configures render and deploy for the `CustomTargetType` using Skaffold
-   * custom actions.
+   * Optional. Configures render and deploy for the `CustomTargetType` using
+   * Skaffold custom actions.
    * 
* - * .google.cloud.deploy.v1.CustomTargetSkaffoldActions custom_actions = 10; + * + * .google.cloud.deploy.v1.CustomTargetSkaffoldActions custom_actions = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.CustomTargetSkaffoldActionsOrBuilder @@ -1502,13 +1508,13 @@ public Builder clearDefinition() { * * *
-     * Optional. Name of the `CustomTargetType`. Format is
+     * Identifier. Name of the `CustomTargetType`. Format is
      * `projects/{project}/locations/{location}/customTargetTypes/{customTargetType}`.
      * The `customTargetType` component must match
      * `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`
      * 
* - * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The name. */ @@ -1527,13 +1533,13 @@ public java.lang.String getName() { * * *
-     * Optional. Name of the `CustomTargetType`. Format is
+     * Identifier. Name of the `CustomTargetType`. Format is
      * `projects/{project}/locations/{location}/customTargetTypes/{customTargetType}`.
      * The `customTargetType` component must match
      * `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`
      * 
* - * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The bytes for name. */ @@ -1552,13 +1558,13 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Optional. Name of the `CustomTargetType`. Format is
+     * Identifier. Name of the `CustomTargetType`. Format is
      * `projects/{project}/locations/{location}/customTargetTypes/{customTargetType}`.
      * The `customTargetType` component must match
      * `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`
      * 
* - * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @param value The name to set. * @return This builder for chaining. @@ -1576,13 +1582,13 @@ public Builder setName(java.lang.String value) { * * *
-     * Optional. Name of the `CustomTargetType`. Format is
+     * Identifier. Name of the `CustomTargetType`. Format is
      * `projects/{project}/locations/{location}/customTargetTypes/{customTargetType}`.
      * The `customTargetType` component must match
      * `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`
      * 
* - * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return This builder for chaining. */ @@ -1596,13 +1602,13 @@ public Builder clearName() { * * *
-     * Optional. Name of the `CustomTargetType`. Format is
+     * Identifier. Name of the `CustomTargetType`. Format is
      * `projects/{project}/locations/{location}/customTargetTypes/{customTargetType}`.
      * The `customTargetType` component must match
      * `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`
      * 
* - * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @param value The bytes for name to set. * @return This builder for chaining. @@ -2899,11 +2905,13 @@ public Builder setEtagBytes(com.google.protobuf.ByteString value) { * * *
-     * Configures render and deploy for the `CustomTargetType` using Skaffold
-     * custom actions.
+     * Optional. Configures render and deploy for the `CustomTargetType` using
+     * Skaffold custom actions.
      * 
* - * .google.cloud.deploy.v1.CustomTargetSkaffoldActions custom_actions = 10; + * + * .google.cloud.deploy.v1.CustomTargetSkaffoldActions custom_actions = 10 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return Whether the customActions field is set. */ @@ -2915,11 +2923,13 @@ public boolean hasCustomActions() { * * *
-     * Configures render and deploy for the `CustomTargetType` using Skaffold
-     * custom actions.
+     * Optional. Configures render and deploy for the `CustomTargetType` using
+     * Skaffold custom actions.
      * 
* - * .google.cloud.deploy.v1.CustomTargetSkaffoldActions custom_actions = 10; + * + * .google.cloud.deploy.v1.CustomTargetSkaffoldActions custom_actions = 10 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return The customActions. */ @@ -2941,11 +2951,13 @@ public com.google.cloud.deploy.v1.CustomTargetSkaffoldActions getCustomActions() * * *
-     * Configures render and deploy for the `CustomTargetType` using Skaffold
-     * custom actions.
+     * Optional. Configures render and deploy for the `CustomTargetType` using
+     * Skaffold custom actions.
      * 
* - * .google.cloud.deploy.v1.CustomTargetSkaffoldActions custom_actions = 10; + * + * .google.cloud.deploy.v1.CustomTargetSkaffoldActions custom_actions = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setCustomActions(com.google.cloud.deploy.v1.CustomTargetSkaffoldActions value) { if (customActionsBuilder_ == null) { @@ -2964,11 +2976,13 @@ public Builder setCustomActions(com.google.cloud.deploy.v1.CustomTargetSkaffoldA * * *
-     * Configures render and deploy for the `CustomTargetType` using Skaffold
-     * custom actions.
+     * Optional. Configures render and deploy for the `CustomTargetType` using
+     * Skaffold custom actions.
      * 
* - * .google.cloud.deploy.v1.CustomTargetSkaffoldActions custom_actions = 10; + * + * .google.cloud.deploy.v1.CustomTargetSkaffoldActions custom_actions = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setCustomActions( com.google.cloud.deploy.v1.CustomTargetSkaffoldActions.Builder builderForValue) { @@ -2985,11 +2999,13 @@ public Builder setCustomActions( * * *
-     * Configures render and deploy for the `CustomTargetType` using Skaffold
-     * custom actions.
+     * Optional. Configures render and deploy for the `CustomTargetType` using
+     * Skaffold custom actions.
      * 
* - * .google.cloud.deploy.v1.CustomTargetSkaffoldActions custom_actions = 10; + * + * .google.cloud.deploy.v1.CustomTargetSkaffoldActions custom_actions = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeCustomActions( com.google.cloud.deploy.v1.CustomTargetSkaffoldActions value) { @@ -3020,11 +3036,13 @@ public Builder mergeCustomActions( * * *
-     * Configures render and deploy for the `CustomTargetType` using Skaffold
-     * custom actions.
+     * Optional. Configures render and deploy for the `CustomTargetType` using
+     * Skaffold custom actions.
      * 
* - * .google.cloud.deploy.v1.CustomTargetSkaffoldActions custom_actions = 10; + * + * .google.cloud.deploy.v1.CustomTargetSkaffoldActions custom_actions = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearCustomActions() { if (customActionsBuilder_ == null) { @@ -3046,11 +3064,13 @@ public Builder clearCustomActions() { * * *
-     * Configures render and deploy for the `CustomTargetType` using Skaffold
-     * custom actions.
+     * Optional. Configures render and deploy for the `CustomTargetType` using
+     * Skaffold custom actions.
      * 
* - * .google.cloud.deploy.v1.CustomTargetSkaffoldActions custom_actions = 10; + * + * .google.cloud.deploy.v1.CustomTargetSkaffoldActions custom_actions = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.deploy.v1.CustomTargetSkaffoldActions.Builder getCustomActionsBuilder() { @@ -3060,11 +3080,13 @@ public Builder clearCustomActions() { * * *
-     * Configures render and deploy for the `CustomTargetType` using Skaffold
-     * custom actions.
+     * Optional. Configures render and deploy for the `CustomTargetType` using
+     * Skaffold custom actions.
      * 
* - * .google.cloud.deploy.v1.CustomTargetSkaffoldActions custom_actions = 10; + * + * .google.cloud.deploy.v1.CustomTargetSkaffoldActions custom_actions = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.CustomTargetSkaffoldActionsOrBuilder @@ -3082,11 +3104,13 @@ public Builder clearCustomActions() { * * *
-     * Configures render and deploy for the `CustomTargetType` using Skaffold
-     * custom actions.
+     * Optional. Configures render and deploy for the `CustomTargetType` using
+     * Skaffold custom actions.
      * 
* - * .google.cloud.deploy.v1.CustomTargetSkaffoldActions custom_actions = 10; + * + * .google.cloud.deploy.v1.CustomTargetSkaffoldActions custom_actions = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.deploy.v1.CustomTargetSkaffoldActions, diff --git a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CustomTargetTypeOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CustomTargetTypeOrBuilder.java index 652ba971cb07..c978c6445708 100644 --- a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CustomTargetTypeOrBuilder.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CustomTargetTypeOrBuilder.java @@ -28,13 +28,13 @@ public interface CustomTargetTypeOrBuilder * * *
-   * Optional. Name of the `CustomTargetType`. Format is
+   * Identifier. Name of the `CustomTargetType`. Format is
    * `projects/{project}/locations/{location}/customTargetTypes/{customTargetType}`.
    * The `customTargetType` component must match
    * `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`
    * 
* - * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The name. */ @@ -43,13 +43,13 @@ public interface CustomTargetTypeOrBuilder * * *
-   * Optional. Name of the `CustomTargetType`. Format is
+   * Identifier. Name of the `CustomTargetType`. Format is
    * `projects/{project}/locations/{location}/customTargetTypes/{customTargetType}`.
    * The `customTargetType` component must match
    * `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`
    * 
* - * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The bytes for name. */ @@ -427,11 +427,13 @@ java.lang.String getLabelsOrDefault( * * *
-   * Configures render and deploy for the `CustomTargetType` using Skaffold
-   * custom actions.
+   * Optional. Configures render and deploy for the `CustomTargetType` using
+   * Skaffold custom actions.
    * 
* - * .google.cloud.deploy.v1.CustomTargetSkaffoldActions custom_actions = 10; + * + * .google.cloud.deploy.v1.CustomTargetSkaffoldActions custom_actions = 10 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return Whether the customActions field is set. */ @@ -440,11 +442,13 @@ java.lang.String getLabelsOrDefault( * * *
-   * Configures render and deploy for the `CustomTargetType` using Skaffold
-   * custom actions.
+   * Optional. Configures render and deploy for the `CustomTargetType` using
+   * Skaffold custom actions.
    * 
* - * .google.cloud.deploy.v1.CustomTargetSkaffoldActions custom_actions = 10; + * + * .google.cloud.deploy.v1.CustomTargetSkaffoldActions custom_actions = 10 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return The customActions. */ @@ -453,11 +457,13 @@ java.lang.String getLabelsOrDefault( * * *
-   * Configures render and deploy for the `CustomTargetType` using Skaffold
-   * custom actions.
+   * Optional. Configures render and deploy for the `CustomTargetType` using
+   * Skaffold custom actions.
    * 
* - * .google.cloud.deploy.v1.CustomTargetSkaffoldActions custom_actions = 10; + * + * .google.cloud.deploy.v1.CustomTargetSkaffoldActions custom_actions = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.deploy.v1.CustomTargetSkaffoldActionsOrBuilder getCustomActionsOrBuilder(); diff --git a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeliveryPipeline.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeliveryPipeline.java index 69f771e586bd..652da433ea0d 100644 --- a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeliveryPipeline.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeliveryPipeline.java @@ -138,13 +138,13 @@ public PipelineCase getPipelineCase() { * * *
-   * Optional. Name of the `DeliveryPipeline`. Format is
+   * Identifier. Name of the `DeliveryPipeline`. Format is
    * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}`.
    * The `deliveryPipeline` component must match
    * `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`
    * 
* - * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The name. */ @@ -164,13 +164,13 @@ public java.lang.String getName() { * * *
-   * Optional. Name of the `DeliveryPipeline`. Format is
+   * Identifier. Name of the `DeliveryPipeline`. Format is
    * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}`.
    * The `deliveryPipeline` component must match
    * `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`
    * 
* - * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The bytes for name. */ @@ -246,10 +246,11 @@ public com.google.protobuf.ByteString getUidBytes() { * * *
-   * Description of the `DeliveryPipeline`. Max length is 255 characters.
+   * Optional. Description of the `DeliveryPipeline`. Max length is 255
+   * characters.
    * 
* - * string description = 3; + * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The description. */ @@ -269,10 +270,11 @@ public java.lang.String getDescription() { * * *
-   * Description of the `DeliveryPipeline`. Max length is 255 characters.
+   * Optional. Description of the `DeliveryPipeline`. Max length is 255
+   * characters.
    * 
* - * string description = 3; + * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for description. */ @@ -320,11 +322,12 @@ public int getAnnotationsCount() { * * *
-   * User annotations. These attributes can only be set and used by the
-   * user, and not by Cloud Deploy.
+   * Optional. User annotations. These attributes can only be set and used by
+   * the user, and not by Cloud Deploy.
    * 
* - * map<string, string> annotations = 4; + * map<string, string> annotations = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public boolean containsAnnotations(java.lang.String key) { @@ -343,11 +346,12 @@ public java.util.Map getAnnotations() { * * *
-   * User annotations. These attributes can only be set and used by the
-   * user, and not by Cloud Deploy.
+   * Optional. User annotations. These attributes can only be set and used by
+   * the user, and not by Cloud Deploy.
    * 
* - * map<string, string> annotations = 4; + * map<string, string> annotations = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public java.util.Map getAnnotationsMap() { @@ -357,11 +361,12 @@ public java.util.Map getAnnotationsMap() { * * *
-   * User annotations. These attributes can only be set and used by the
-   * user, and not by Cloud Deploy.
+   * Optional. User annotations. These attributes can only be set and used by
+   * the user, and not by Cloud Deploy.
    * 
* - * map<string, string> annotations = 4; + * map<string, string> annotations = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public /* nullable */ java.lang.String getAnnotationsOrDefault( @@ -378,11 +383,12 @@ public java.util.Map getAnnotationsMap() { * * *
-   * User annotations. These attributes can only be set and used by the
-   * user, and not by Cloud Deploy.
+   * Optional. User annotations. These attributes can only be set and used by
+   * the user, and not by Cloud Deploy.
    * 
* - * map<string, string> annotations = 4; + * map<string, string> annotations = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public java.lang.String getAnnotationsOrThrow(java.lang.String key) { @@ -641,11 +647,13 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * * *
-   * SerialPipeline defines a sequential set of stages for a
+   * Optional. SerialPipeline defines a sequential set of stages for a
    * `DeliveryPipeline`.
    * 
* - * .google.cloud.deploy.v1.SerialPipeline serial_pipeline = 8; + * + * .google.cloud.deploy.v1.SerialPipeline serial_pipeline = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return Whether the serialPipeline field is set. */ @@ -657,11 +665,13 @@ public boolean hasSerialPipeline() { * * *
-   * SerialPipeline defines a sequential set of stages for a
+   * Optional. SerialPipeline defines a sequential set of stages for a
    * `DeliveryPipeline`.
    * 
* - * .google.cloud.deploy.v1.SerialPipeline serial_pipeline = 8; + * + * .google.cloud.deploy.v1.SerialPipeline serial_pipeline = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return The serialPipeline. */ @@ -676,11 +686,13 @@ public com.google.cloud.deploy.v1.SerialPipeline getSerialPipeline() { * * *
-   * SerialPipeline defines a sequential set of stages for a
+   * Optional. SerialPipeline defines a sequential set of stages for a
    * `DeliveryPipeline`.
    * 
* - * .google.cloud.deploy.v1.SerialPipeline serial_pipeline = 8; + * + * .google.cloud.deploy.v1.SerialPipeline serial_pipeline = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.SerialPipelineOrBuilder getSerialPipelineOrBuilder() { @@ -807,11 +819,11 @@ public com.google.protobuf.ByteString getEtagBytes() { * * *
-   * When suspended, no new releases or rollouts can be created,
+   * Optional. When suspended, no new releases or rollouts can be created,
    * but in-progress ones will complete.
    * 
* - * bool suspended = 12; + * bool suspended = 12 [(.google.api.field_behavior) = OPTIONAL]; * * @return The suspended. */ @@ -1539,13 +1551,13 @@ public Builder clearPipeline() { * * *
-     * Optional. Name of the `DeliveryPipeline`. Format is
+     * Identifier. Name of the `DeliveryPipeline`. Format is
      * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}`.
      * The `deliveryPipeline` component must match
      * `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`
      * 
* - * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The name. */ @@ -1564,13 +1576,13 @@ public java.lang.String getName() { * * *
-     * Optional. Name of the `DeliveryPipeline`. Format is
+     * Identifier. Name of the `DeliveryPipeline`. Format is
      * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}`.
      * The `deliveryPipeline` component must match
      * `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`
      * 
* - * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The bytes for name. */ @@ -1589,13 +1601,13 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Optional. Name of the `DeliveryPipeline`. Format is
+     * Identifier. Name of the `DeliveryPipeline`. Format is
      * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}`.
      * The `deliveryPipeline` component must match
      * `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`
      * 
* - * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @param value The name to set. * @return This builder for chaining. @@ -1613,13 +1625,13 @@ public Builder setName(java.lang.String value) { * * *
-     * Optional. Name of the `DeliveryPipeline`. Format is
+     * Identifier. Name of the `DeliveryPipeline`. Format is
      * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}`.
      * The `deliveryPipeline` component must match
      * `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`
      * 
* - * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return This builder for chaining. */ @@ -1633,13 +1645,13 @@ public Builder clearName() { * * *
-     * Optional. Name of the `DeliveryPipeline`. Format is
+     * Identifier. Name of the `DeliveryPipeline`. Format is
      * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}`.
      * The `deliveryPipeline` component must match
      * `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`
      * 
* - * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @param value The bytes for name to set. * @return This builder for chaining. @@ -1766,10 +1778,11 @@ public Builder setUidBytes(com.google.protobuf.ByteString value) { * * *
-     * Description of the `DeliveryPipeline`. Max length is 255 characters.
+     * Optional. Description of the `DeliveryPipeline`. Max length is 255
+     * characters.
      * 
* - * string description = 3; + * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The description. */ @@ -1788,10 +1801,11 @@ public java.lang.String getDescription() { * * *
-     * Description of the `DeliveryPipeline`. Max length is 255 characters.
+     * Optional. Description of the `DeliveryPipeline`. Max length is 255
+     * characters.
      * 
* - * string description = 3; + * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for description. */ @@ -1810,10 +1824,11 @@ public com.google.protobuf.ByteString getDescriptionBytes() { * * *
-     * Description of the `DeliveryPipeline`. Max length is 255 characters.
+     * Optional. Description of the `DeliveryPipeline`. Max length is 255
+     * characters.
      * 
* - * string description = 3; + * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The description to set. * @return This builder for chaining. @@ -1831,10 +1846,11 @@ public Builder setDescription(java.lang.String value) { * * *
-     * Description of the `DeliveryPipeline`. Max length is 255 characters.
+     * Optional. Description of the `DeliveryPipeline`. Max length is 255
+     * characters.
      * 
* - * string description = 3; + * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return This builder for chaining. */ @@ -1848,10 +1864,11 @@ public Builder clearDescription() { * * *
-     * Description of the `DeliveryPipeline`. Max length is 255 characters.
+     * Optional. Description of the `DeliveryPipeline`. Max length is 255
+     * characters.
      * 
* - * string description = 3; + * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The bytes for description to set. * @return This builder for chaining. @@ -1899,11 +1916,12 @@ public int getAnnotationsCount() { * * *
-     * User annotations. These attributes can only be set and used by the
-     * user, and not by Cloud Deploy.
+     * Optional. User annotations. These attributes can only be set and used by
+     * the user, and not by Cloud Deploy.
      * 
* - * map<string, string> annotations = 4; + * map<string, string> annotations = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public boolean containsAnnotations(java.lang.String key) { @@ -1922,11 +1940,12 @@ public java.util.Map getAnnotations() { * * *
-     * User annotations. These attributes can only be set and used by the
-     * user, and not by Cloud Deploy.
+     * Optional. User annotations. These attributes can only be set and used by
+     * the user, and not by Cloud Deploy.
      * 
* - * map<string, string> annotations = 4; + * map<string, string> annotations = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public java.util.Map getAnnotationsMap() { @@ -1936,11 +1955,12 @@ public java.util.Map getAnnotationsMap() { * * *
-     * User annotations. These attributes can only be set and used by the
-     * user, and not by Cloud Deploy.
+     * Optional. User annotations. These attributes can only be set and used by
+     * the user, and not by Cloud Deploy.
      * 
* - * map<string, string> annotations = 4; + * map<string, string> annotations = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public /* nullable */ java.lang.String getAnnotationsOrDefault( @@ -1957,11 +1977,12 @@ public java.util.Map getAnnotationsMap() { * * *
-     * User annotations. These attributes can only be set and used by the
-     * user, and not by Cloud Deploy.
+     * Optional. User annotations. These attributes can only be set and used by
+     * the user, and not by Cloud Deploy.
      * 
* - * map<string, string> annotations = 4; + * map<string, string> annotations = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public java.lang.String getAnnotationsOrThrow(java.lang.String key) { @@ -1984,11 +2005,12 @@ public Builder clearAnnotations() { * * *
-     * User annotations. These attributes can only be set and used by the
-     * user, and not by Cloud Deploy.
+     * Optional. User annotations. These attributes can only be set and used by
+     * the user, and not by Cloud Deploy.
      * 
* - * map<string, string> annotations = 4; + * map<string, string> annotations = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder removeAnnotations(java.lang.String key) { if (key == null) { @@ -2007,11 +2029,12 @@ public java.util.Map getMutableAnnotations() * * *
-     * User annotations. These attributes can only be set and used by the
-     * user, and not by Cloud Deploy.
+     * Optional. User annotations. These attributes can only be set and used by
+     * the user, and not by Cloud Deploy.
      * 
* - * map<string, string> annotations = 4; + * map<string, string> annotations = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder putAnnotations(java.lang.String key, java.lang.String value) { if (key == null) { @@ -2028,11 +2051,12 @@ public Builder putAnnotations(java.lang.String key, java.lang.String value) { * * *
-     * User annotations. These attributes can only be set and used by the
-     * user, and not by Cloud Deploy.
+     * Optional. User annotations. These attributes can only be set and used by
+     * the user, and not by Cloud Deploy.
      * 
* - * map<string, string> annotations = 4; + * map<string, string> annotations = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder putAllAnnotations(java.util.Map values) { internalGetMutableAnnotations().getMutableMap().putAll(values); @@ -2688,11 +2712,13 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * * *
-     * SerialPipeline defines a sequential set of stages for a
+     * Optional. SerialPipeline defines a sequential set of stages for a
      * `DeliveryPipeline`.
      * 
* - * .google.cloud.deploy.v1.SerialPipeline serial_pipeline = 8; + * + * .google.cloud.deploy.v1.SerialPipeline serial_pipeline = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return Whether the serialPipeline field is set. */ @@ -2704,11 +2730,13 @@ public boolean hasSerialPipeline() { * * *
-     * SerialPipeline defines a sequential set of stages for a
+     * Optional. SerialPipeline defines a sequential set of stages for a
      * `DeliveryPipeline`.
      * 
* - * .google.cloud.deploy.v1.SerialPipeline serial_pipeline = 8; + * + * .google.cloud.deploy.v1.SerialPipeline serial_pipeline = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return The serialPipeline. */ @@ -2730,11 +2758,13 @@ public com.google.cloud.deploy.v1.SerialPipeline getSerialPipeline() { * * *
-     * SerialPipeline defines a sequential set of stages for a
+     * Optional. SerialPipeline defines a sequential set of stages for a
      * `DeliveryPipeline`.
      * 
* - * .google.cloud.deploy.v1.SerialPipeline serial_pipeline = 8; + * + * .google.cloud.deploy.v1.SerialPipeline serial_pipeline = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setSerialPipeline(com.google.cloud.deploy.v1.SerialPipeline value) { if (serialPipelineBuilder_ == null) { @@ -2753,11 +2783,13 @@ public Builder setSerialPipeline(com.google.cloud.deploy.v1.SerialPipeline value * * *
-     * SerialPipeline defines a sequential set of stages for a
+     * Optional. SerialPipeline defines a sequential set of stages for a
      * `DeliveryPipeline`.
      * 
* - * .google.cloud.deploy.v1.SerialPipeline serial_pipeline = 8; + * + * .google.cloud.deploy.v1.SerialPipeline serial_pipeline = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setSerialPipeline( com.google.cloud.deploy.v1.SerialPipeline.Builder builderForValue) { @@ -2774,11 +2806,13 @@ public Builder setSerialPipeline( * * *
-     * SerialPipeline defines a sequential set of stages for a
+     * Optional. SerialPipeline defines a sequential set of stages for a
      * `DeliveryPipeline`.
      * 
* - * .google.cloud.deploy.v1.SerialPipeline serial_pipeline = 8; + * + * .google.cloud.deploy.v1.SerialPipeline serial_pipeline = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeSerialPipeline(com.google.cloud.deploy.v1.SerialPipeline value) { if (serialPipelineBuilder_ == null) { @@ -2807,11 +2841,13 @@ public Builder mergeSerialPipeline(com.google.cloud.deploy.v1.SerialPipeline val * * *
-     * SerialPipeline defines a sequential set of stages for a
+     * Optional. SerialPipeline defines a sequential set of stages for a
      * `DeliveryPipeline`.
      * 
* - * .google.cloud.deploy.v1.SerialPipeline serial_pipeline = 8; + * + * .google.cloud.deploy.v1.SerialPipeline serial_pipeline = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearSerialPipeline() { if (serialPipelineBuilder_ == null) { @@ -2833,11 +2869,13 @@ public Builder clearSerialPipeline() { * * *
-     * SerialPipeline defines a sequential set of stages for a
+     * Optional. SerialPipeline defines a sequential set of stages for a
      * `DeliveryPipeline`.
      * 
* - * .google.cloud.deploy.v1.SerialPipeline serial_pipeline = 8; + * + * .google.cloud.deploy.v1.SerialPipeline serial_pipeline = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.deploy.v1.SerialPipeline.Builder getSerialPipelineBuilder() { return getSerialPipelineFieldBuilder().getBuilder(); @@ -2846,11 +2884,13 @@ public com.google.cloud.deploy.v1.SerialPipeline.Builder getSerialPipelineBuilde * * *
-     * SerialPipeline defines a sequential set of stages for a
+     * Optional. SerialPipeline defines a sequential set of stages for a
      * `DeliveryPipeline`.
      * 
* - * .google.cloud.deploy.v1.SerialPipeline serial_pipeline = 8; + * + * .google.cloud.deploy.v1.SerialPipeline serial_pipeline = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.SerialPipelineOrBuilder getSerialPipelineOrBuilder() { @@ -2867,11 +2907,13 @@ public com.google.cloud.deploy.v1.SerialPipelineOrBuilder getSerialPipelineOrBui * * *
-     * SerialPipeline defines a sequential set of stages for a
+     * Optional. SerialPipeline defines a sequential set of stages for a
      * `DeliveryPipeline`.
      * 
* - * .google.cloud.deploy.v1.SerialPipeline serial_pipeline = 8; + * + * .google.cloud.deploy.v1.SerialPipeline serial_pipeline = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.deploy.v1.SerialPipeline, @@ -3222,11 +3264,11 @@ public Builder setEtagBytes(com.google.protobuf.ByteString value) { * * *
-     * When suspended, no new releases or rollouts can be created,
+     * Optional. When suspended, no new releases or rollouts can be created,
      * but in-progress ones will complete.
      * 
* - * bool suspended = 12; + * bool suspended = 12 [(.google.api.field_behavior) = OPTIONAL]; * * @return The suspended. */ @@ -3238,11 +3280,11 @@ public boolean getSuspended() { * * *
-     * When suspended, no new releases or rollouts can be created,
+     * Optional. When suspended, no new releases or rollouts can be created,
      * but in-progress ones will complete.
      * 
* - * bool suspended = 12; + * bool suspended = 12 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The suspended to set. * @return This builder for chaining. @@ -3258,11 +3300,11 @@ public Builder setSuspended(boolean value) { * * *
-     * When suspended, no new releases or rollouts can be created,
+     * Optional. When suspended, no new releases or rollouts can be created,
      * but in-progress ones will complete.
      * 
* - * bool suspended = 12; + * bool suspended = 12 [(.google.api.field_behavior) = OPTIONAL]; * * @return This builder for chaining. */ diff --git a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeliveryPipelineAttribute.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeliveryPipelineAttribute.java index aea2ab02557a..53428a788c70 100644 --- a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeliveryPipelineAttribute.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeliveryPipelineAttribute.java @@ -83,14 +83,14 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl * * *
-   * ID of the `DeliveryPipeline`. The value of this field could be one of the
-   * following:
+   * Optional. ID of the `DeliveryPipeline`. The value of this field could be
+   * one of the following:
    *
    * * The last segment of a pipeline name
    * * "*", all delivery pipelines in a location
    * 
* - * string id = 1; + * string id = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return The id. */ @@ -110,14 +110,14 @@ public java.lang.String getId() { * * *
-   * ID of the `DeliveryPipeline`. The value of this field could be one of the
-   * following:
+   * Optional. ID of the `DeliveryPipeline`. The value of this field could be
+   * one of the following:
    *
    * * The last segment of a pipeline name
    * * "*", all delivery pipelines in a location
    * 
* - * string id = 1; + * string id = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for id. */ @@ -641,14 +641,14 @@ public Builder mergeFrom( * * *
-     * ID of the `DeliveryPipeline`. The value of this field could be one of the
-     * following:
+     * Optional. ID of the `DeliveryPipeline`. The value of this field could be
+     * one of the following:
      *
      * * The last segment of a pipeline name
      * * "*", all delivery pipelines in a location
      * 
* - * string id = 1; + * string id = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return The id. */ @@ -667,14 +667,14 @@ public java.lang.String getId() { * * *
-     * ID of the `DeliveryPipeline`. The value of this field could be one of the
-     * following:
+     * Optional. ID of the `DeliveryPipeline`. The value of this field could be
+     * one of the following:
      *
      * * The last segment of a pipeline name
      * * "*", all delivery pipelines in a location
      * 
* - * string id = 1; + * string id = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for id. */ @@ -693,14 +693,14 @@ public com.google.protobuf.ByteString getIdBytes() { * * *
-     * ID of the `DeliveryPipeline`. The value of this field could be one of the
-     * following:
+     * Optional. ID of the `DeliveryPipeline`. The value of this field could be
+     * one of the following:
      *
      * * The last segment of a pipeline name
      * * "*", all delivery pipelines in a location
      * 
* - * string id = 1; + * string id = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The id to set. * @return This builder for chaining. @@ -718,14 +718,14 @@ public Builder setId(java.lang.String value) { * * *
-     * ID of the `DeliveryPipeline`. The value of this field could be one of the
-     * following:
+     * Optional. ID of the `DeliveryPipeline`. The value of this field could be
+     * one of the following:
      *
      * * The last segment of a pipeline name
      * * "*", all delivery pipelines in a location
      * 
* - * string id = 1; + * string id = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return This builder for chaining. */ @@ -739,14 +739,14 @@ public Builder clearId() { * * *
-     * ID of the `DeliveryPipeline`. The value of this field could be one of the
-     * following:
+     * Optional. ID of the `DeliveryPipeline`. The value of this field could be
+     * one of the following:
      *
      * * The last segment of a pipeline name
      * * "*", all delivery pipelines in a location
      * 
* - * string id = 1; + * string id = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The bytes for id to set. * @return This builder for chaining. diff --git a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeliveryPipelineAttributeOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeliveryPipelineAttributeOrBuilder.java index d27e634ab703..1580984df2ad 100644 --- a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeliveryPipelineAttributeOrBuilder.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeliveryPipelineAttributeOrBuilder.java @@ -28,14 +28,14 @@ public interface DeliveryPipelineAttributeOrBuilder * * *
-   * ID of the `DeliveryPipeline`. The value of this field could be one of the
-   * following:
+   * Optional. ID of the `DeliveryPipeline`. The value of this field could be
+   * one of the following:
    *
    * * The last segment of a pipeline name
    * * "*", all delivery pipelines in a location
    * 
* - * string id = 1; + * string id = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return The id. */ @@ -44,14 +44,14 @@ public interface DeliveryPipelineAttributeOrBuilder * * *
-   * ID of the `DeliveryPipeline`. The value of this field could be one of the
-   * following:
+   * Optional. ID of the `DeliveryPipeline`. The value of this field could be
+   * one of the following:
    *
    * * The last segment of a pipeline name
    * * "*", all delivery pipelines in a location
    * 
* - * string id = 1; + * string id = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for id. */ diff --git a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeliveryPipelineOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeliveryPipelineOrBuilder.java index 0ce6d5fa5da6..fc6c6acd36da 100644 --- a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeliveryPipelineOrBuilder.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeliveryPipelineOrBuilder.java @@ -28,13 +28,13 @@ public interface DeliveryPipelineOrBuilder * * *
-   * Optional. Name of the `DeliveryPipeline`. Format is
+   * Identifier. Name of the `DeliveryPipeline`. Format is
    * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}`.
    * The `deliveryPipeline` component must match
    * `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`
    * 
* - * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The name. */ @@ -43,13 +43,13 @@ public interface DeliveryPipelineOrBuilder * * *
-   * Optional. Name of the `DeliveryPipeline`. Format is
+   * Identifier. Name of the `DeliveryPipeline`. Format is
    * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}`.
    * The `deliveryPipeline` component must match
    * `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`
    * 
* - * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The bytes for name. */ @@ -84,10 +84,11 @@ public interface DeliveryPipelineOrBuilder * * *
-   * Description of the `DeliveryPipeline`. Max length is 255 characters.
+   * Optional. Description of the `DeliveryPipeline`. Max length is 255
+   * characters.
    * 
* - * string description = 3; + * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The description. */ @@ -96,10 +97,11 @@ public interface DeliveryPipelineOrBuilder * * *
-   * Description of the `DeliveryPipeline`. Max length is 255 characters.
+   * Optional. Description of the `DeliveryPipeline`. Max length is 255
+   * characters.
    * 
* - * string description = 3; + * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for description. */ @@ -109,22 +111,24 @@ public interface DeliveryPipelineOrBuilder * * *
-   * User annotations. These attributes can only be set and used by the
-   * user, and not by Cloud Deploy.
+   * Optional. User annotations. These attributes can only be set and used by
+   * the user, and not by Cloud Deploy.
    * 
* - * map<string, string> annotations = 4; + * map<string, string> annotations = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ int getAnnotationsCount(); /** * * *
-   * User annotations. These attributes can only be set and used by the
-   * user, and not by Cloud Deploy.
+   * Optional. User annotations. These attributes can only be set and used by
+   * the user, and not by Cloud Deploy.
    * 
* - * map<string, string> annotations = 4; + * map<string, string> annotations = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ boolean containsAnnotations(java.lang.String key); /** Use {@link #getAnnotationsMap()} instead. */ @@ -134,22 +138,24 @@ public interface DeliveryPipelineOrBuilder * * *
-   * User annotations. These attributes can only be set and used by the
-   * user, and not by Cloud Deploy.
+   * Optional. User annotations. These attributes can only be set and used by
+   * the user, and not by Cloud Deploy.
    * 
* - * map<string, string> annotations = 4; + * map<string, string> annotations = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ java.util.Map getAnnotationsMap(); /** * * *
-   * User annotations. These attributes can only be set and used by the
-   * user, and not by Cloud Deploy.
+   * Optional. User annotations. These attributes can only be set and used by
+   * the user, and not by Cloud Deploy.
    * 
* - * map<string, string> annotations = 4; + * map<string, string> annotations = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ /* nullable */ java.lang.String getAnnotationsOrDefault( @@ -160,11 +166,12 @@ java.lang.String getAnnotationsOrDefault( * * *
-   * User annotations. These attributes can only be set and used by the
-   * user, and not by Cloud Deploy.
+   * Optional. User annotations. These attributes can only be set and used by
+   * the user, and not by Cloud Deploy.
    * 
* - * map<string, string> annotations = 4; + * map<string, string> annotations = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ java.lang.String getAnnotationsOrThrow(java.lang.String key); @@ -356,11 +363,13 @@ java.lang.String getLabelsOrDefault( * * *
-   * SerialPipeline defines a sequential set of stages for a
+   * Optional. SerialPipeline defines a sequential set of stages for a
    * `DeliveryPipeline`.
    * 
* - * .google.cloud.deploy.v1.SerialPipeline serial_pipeline = 8; + * + * .google.cloud.deploy.v1.SerialPipeline serial_pipeline = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return Whether the serialPipeline field is set. */ @@ -369,11 +378,13 @@ java.lang.String getLabelsOrDefault( * * *
-   * SerialPipeline defines a sequential set of stages for a
+   * Optional. SerialPipeline defines a sequential set of stages for a
    * `DeliveryPipeline`.
    * 
* - * .google.cloud.deploy.v1.SerialPipeline serial_pipeline = 8; + * + * .google.cloud.deploy.v1.SerialPipeline serial_pipeline = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return The serialPipeline. */ @@ -382,11 +393,13 @@ java.lang.String getLabelsOrDefault( * * *
-   * SerialPipeline defines a sequential set of stages for a
+   * Optional. SerialPipeline defines a sequential set of stages for a
    * `DeliveryPipeline`.
    * 
* - * .google.cloud.deploy.v1.SerialPipeline serial_pipeline = 8; + * + * .google.cloud.deploy.v1.SerialPipeline serial_pipeline = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.deploy.v1.SerialPipelineOrBuilder getSerialPipelineOrBuilder(); @@ -464,11 +477,11 @@ java.lang.String getLabelsOrDefault( * * *
-   * When suspended, no new releases or rollouts can be created,
+   * Optional. When suspended, no new releases or rollouts can be created,
    * but in-progress ones will complete.
    * 
* - * bool suspended = 12; + * bool suspended = 12 [(.google.api.field_behavior) = OPTIONAL]; * * @return The suspended. */ diff --git a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeployPolicy.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeployPolicy.java index a87d79d12f97..a15a69439a51 100644 --- a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeployPolicy.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeployPolicy.java @@ -360,10 +360,10 @@ public com.google.protobuf.ByteString getUidBytes() { * * *
-   * Description of the `DeployPolicy`. Max length is 255 characters.
+   * Optional. Description of the `DeployPolicy`. Max length is 255 characters.
    * 
* - * string description = 3; + * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The description. */ @@ -383,10 +383,10 @@ public java.lang.String getDescription() { * * *
-   * Description of the `DeployPolicy`. Max length is 255 characters.
+   * Optional. Description of the `DeployPolicy`. Max length is 255 characters.
    * 
* - * string description = 3; + * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for description. */ @@ -434,8 +434,8 @@ public int getAnnotationsCount() { * * *
-   * User annotations. These attributes can only be set and used by the
-   * user, and not by Cloud Deploy. Annotations must meet the following
+   * Optional. User annotations. These attributes can only be set and used by
+   * the user, and not by Cloud Deploy. Annotations must meet the following
    * constraints:
    *
    * * Annotations are key/value pairs.
@@ -453,7 +453,8 @@ public int getAnnotationsCount() {
    * for more details.
    * 
* - * map<string, string> annotations = 4; + * map<string, string> annotations = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public boolean containsAnnotations(java.lang.String key) { @@ -472,8 +473,8 @@ public java.util.Map getAnnotations() { * * *
-   * User annotations. These attributes can only be set and used by the
-   * user, and not by Cloud Deploy. Annotations must meet the following
+   * Optional. User annotations. These attributes can only be set and used by
+   * the user, and not by Cloud Deploy. Annotations must meet the following
    * constraints:
    *
    * * Annotations are key/value pairs.
@@ -491,7 +492,8 @@ public java.util.Map getAnnotations() {
    * for more details.
    * 
* - * map<string, string> annotations = 4; + * map<string, string> annotations = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public java.util.Map getAnnotationsMap() { @@ -501,8 +503,8 @@ public java.util.Map getAnnotationsMap() { * * *
-   * User annotations. These attributes can only be set and used by the
-   * user, and not by Cloud Deploy. Annotations must meet the following
+   * Optional. User annotations. These attributes can only be set and used by
+   * the user, and not by Cloud Deploy. Annotations must meet the following
    * constraints:
    *
    * * Annotations are key/value pairs.
@@ -520,7 +522,8 @@ public java.util.Map getAnnotationsMap() {
    * for more details.
    * 
* - * map<string, string> annotations = 4; + * map<string, string> annotations = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public /* nullable */ java.lang.String getAnnotationsOrDefault( @@ -537,8 +540,8 @@ public java.util.Map getAnnotationsMap() { * * *
-   * User annotations. These attributes can only be set and used by the
-   * user, and not by Cloud Deploy. Annotations must meet the following
+   * Optional. User annotations. These attributes can only be set and used by
+   * the user, and not by Cloud Deploy. Annotations must meet the following
    * constraints:
    *
    * * Annotations are key/value pairs.
@@ -556,7 +559,8 @@ public java.util.Map getAnnotationsMap() {
    * for more details.
    * 
* - * map<string, string> annotations = 4; + * map<string, string> annotations = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public java.lang.String getAnnotationsOrThrow(java.lang.String key) { @@ -816,11 +820,11 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * * *
-   * When suspended, the policy will not prevent actions from occurring, even
-   * if the action violates the policy.
+   * Optional. When suspended, the policy will not prevent actions from
+   * occurring, even if the action violates the policy.
    * 
* - * bool suspended = 8; + * bool suspended = 8 [(.google.api.field_behavior) = OPTIONAL]; * * @return The suspended. */ @@ -2044,10 +2048,10 @@ public Builder setUidBytes(com.google.protobuf.ByteString value) { * * *
-     * Description of the `DeployPolicy`. Max length is 255 characters.
+     * Optional. Description of the `DeployPolicy`. Max length is 255 characters.
      * 
* - * string description = 3; + * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The description. */ @@ -2066,10 +2070,10 @@ public java.lang.String getDescription() { * * *
-     * Description of the `DeployPolicy`. Max length is 255 characters.
+     * Optional. Description of the `DeployPolicy`. Max length is 255 characters.
      * 
* - * string description = 3; + * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for description. */ @@ -2088,10 +2092,10 @@ public com.google.protobuf.ByteString getDescriptionBytes() { * * *
-     * Description of the `DeployPolicy`. Max length is 255 characters.
+     * Optional. Description of the `DeployPolicy`. Max length is 255 characters.
      * 
* - * string description = 3; + * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The description to set. * @return This builder for chaining. @@ -2109,10 +2113,10 @@ public Builder setDescription(java.lang.String value) { * * *
-     * Description of the `DeployPolicy`. Max length is 255 characters.
+     * Optional. Description of the `DeployPolicy`. Max length is 255 characters.
      * 
* - * string description = 3; + * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return This builder for chaining. */ @@ -2126,10 +2130,10 @@ public Builder clearDescription() { * * *
-     * Description of the `DeployPolicy`. Max length is 255 characters.
+     * Optional. Description of the `DeployPolicy`. Max length is 255 characters.
      * 
* - * string description = 3; + * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The bytes for description to set. * @return This builder for chaining. @@ -2177,8 +2181,8 @@ public int getAnnotationsCount() { * * *
-     * User annotations. These attributes can only be set and used by the
-     * user, and not by Cloud Deploy. Annotations must meet the following
+     * Optional. User annotations. These attributes can only be set and used by
+     * the user, and not by Cloud Deploy. Annotations must meet the following
      * constraints:
      *
      * * Annotations are key/value pairs.
@@ -2196,7 +2200,8 @@ public int getAnnotationsCount() {
      * for more details.
      * 
* - * map<string, string> annotations = 4; + * map<string, string> annotations = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public boolean containsAnnotations(java.lang.String key) { @@ -2215,8 +2220,8 @@ public java.util.Map getAnnotations() { * * *
-     * User annotations. These attributes can only be set and used by the
-     * user, and not by Cloud Deploy. Annotations must meet the following
+     * Optional. User annotations. These attributes can only be set and used by
+     * the user, and not by Cloud Deploy. Annotations must meet the following
      * constraints:
      *
      * * Annotations are key/value pairs.
@@ -2234,7 +2239,8 @@ public java.util.Map getAnnotations() {
      * for more details.
      * 
* - * map<string, string> annotations = 4; + * map<string, string> annotations = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public java.util.Map getAnnotationsMap() { @@ -2244,8 +2250,8 @@ public java.util.Map getAnnotationsMap() { * * *
-     * User annotations. These attributes can only be set and used by the
-     * user, and not by Cloud Deploy. Annotations must meet the following
+     * Optional. User annotations. These attributes can only be set and used by
+     * the user, and not by Cloud Deploy. Annotations must meet the following
      * constraints:
      *
      * * Annotations are key/value pairs.
@@ -2263,7 +2269,8 @@ public java.util.Map getAnnotationsMap() {
      * for more details.
      * 
* - * map<string, string> annotations = 4; + * map<string, string> annotations = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public /* nullable */ java.lang.String getAnnotationsOrDefault( @@ -2280,8 +2287,8 @@ public java.util.Map getAnnotationsMap() { * * *
-     * User annotations. These attributes can only be set and used by the
-     * user, and not by Cloud Deploy. Annotations must meet the following
+     * Optional. User annotations. These attributes can only be set and used by
+     * the user, and not by Cloud Deploy. Annotations must meet the following
      * constraints:
      *
      * * Annotations are key/value pairs.
@@ -2299,7 +2306,8 @@ public java.util.Map getAnnotationsMap() {
      * for more details.
      * 
* - * map<string, string> annotations = 4; + * map<string, string> annotations = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public java.lang.String getAnnotationsOrThrow(java.lang.String key) { @@ -2322,8 +2330,8 @@ public Builder clearAnnotations() { * * *
-     * User annotations. These attributes can only be set and used by the
-     * user, and not by Cloud Deploy. Annotations must meet the following
+     * Optional. User annotations. These attributes can only be set and used by
+     * the user, and not by Cloud Deploy. Annotations must meet the following
      * constraints:
      *
      * * Annotations are key/value pairs.
@@ -2341,7 +2349,8 @@ public Builder clearAnnotations() {
      * for more details.
      * 
* - * map<string, string> annotations = 4; + * map<string, string> annotations = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder removeAnnotations(java.lang.String key) { if (key == null) { @@ -2360,8 +2369,8 @@ public java.util.Map getMutableAnnotations() * * *
-     * User annotations. These attributes can only be set and used by the
-     * user, and not by Cloud Deploy. Annotations must meet the following
+     * Optional. User annotations. These attributes can only be set and used by
+     * the user, and not by Cloud Deploy. Annotations must meet the following
      * constraints:
      *
      * * Annotations are key/value pairs.
@@ -2379,7 +2388,8 @@ public java.util.Map getMutableAnnotations()
      * for more details.
      * 
* - * map<string, string> annotations = 4; + * map<string, string> annotations = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder putAnnotations(java.lang.String key, java.lang.String value) { if (key == null) { @@ -2396,8 +2406,8 @@ public Builder putAnnotations(java.lang.String key, java.lang.String value) { * * *
-     * User annotations. These attributes can only be set and used by the
-     * user, and not by Cloud Deploy. Annotations must meet the following
+     * Optional. User annotations. These attributes can only be set and used by
+     * the user, and not by Cloud Deploy. Annotations must meet the following
      * constraints:
      *
      * * Annotations are key/value pairs.
@@ -2415,7 +2425,8 @@ public Builder putAnnotations(java.lang.String key, java.lang.String value) {
      * for more details.
      * 
* - * map<string, string> annotations = 4; + * map<string, string> annotations = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder putAllAnnotations(java.util.Map values) { internalGetMutableAnnotations().getMutableMap().putAll(values); @@ -3067,11 +3078,11 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * * *
-     * When suspended, the policy will not prevent actions from occurring, even
-     * if the action violates the policy.
+     * Optional. When suspended, the policy will not prevent actions from
+     * occurring, even if the action violates the policy.
      * 
* - * bool suspended = 8; + * bool suspended = 8 [(.google.api.field_behavior) = OPTIONAL]; * * @return The suspended. */ @@ -3083,11 +3094,11 @@ public boolean getSuspended() { * * *
-     * When suspended, the policy will not prevent actions from occurring, even
-     * if the action violates the policy.
+     * Optional. When suspended, the policy will not prevent actions from
+     * occurring, even if the action violates the policy.
      * 
* - * bool suspended = 8; + * bool suspended = 8 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The suspended to set. * @return This builder for chaining. @@ -3103,11 +3114,11 @@ public Builder setSuspended(boolean value) { * * *
-     * When suspended, the policy will not prevent actions from occurring, even
-     * if the action violates the policy.
+     * Optional. When suspended, the policy will not prevent actions from
+     * occurring, even if the action violates the policy.
      * 
* - * bool suspended = 8; + * bool suspended = 8 [(.google.api.field_behavior) = OPTIONAL]; * * @return This builder for chaining. */ diff --git a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeployPolicyOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeployPolicyOrBuilder.java index e2beecebc7e2..a540f4ba3ccd 100644 --- a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeployPolicyOrBuilder.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeployPolicyOrBuilder.java @@ -82,10 +82,10 @@ public interface DeployPolicyOrBuilder * * *
-   * Description of the `DeployPolicy`. Max length is 255 characters.
+   * Optional. Description of the `DeployPolicy`. Max length is 255 characters.
    * 
* - * string description = 3; + * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The description. */ @@ -94,10 +94,10 @@ public interface DeployPolicyOrBuilder * * *
-   * Description of the `DeployPolicy`. Max length is 255 characters.
+   * Optional. Description of the `DeployPolicy`. Max length is 255 characters.
    * 
* - * string description = 3; + * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for description. */ @@ -107,8 +107,8 @@ public interface DeployPolicyOrBuilder * * *
-   * User annotations. These attributes can only be set and used by the
-   * user, and not by Cloud Deploy. Annotations must meet the following
+   * Optional. User annotations. These attributes can only be set and used by
+   * the user, and not by Cloud Deploy. Annotations must meet the following
    * constraints:
    *
    * * Annotations are key/value pairs.
@@ -126,15 +126,16 @@ public interface DeployPolicyOrBuilder
    * for more details.
    * 
* - * map<string, string> annotations = 4; + * map<string, string> annotations = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ int getAnnotationsCount(); /** * * *
-   * User annotations. These attributes can only be set and used by the
-   * user, and not by Cloud Deploy. Annotations must meet the following
+   * Optional. User annotations. These attributes can only be set and used by
+   * the user, and not by Cloud Deploy. Annotations must meet the following
    * constraints:
    *
    * * Annotations are key/value pairs.
@@ -152,7 +153,8 @@ public interface DeployPolicyOrBuilder
    * for more details.
    * 
* - * map<string, string> annotations = 4; + * map<string, string> annotations = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ boolean containsAnnotations(java.lang.String key); /** Use {@link #getAnnotationsMap()} instead. */ @@ -162,8 +164,8 @@ public interface DeployPolicyOrBuilder * * *
-   * User annotations. These attributes can only be set and used by the
-   * user, and not by Cloud Deploy. Annotations must meet the following
+   * Optional. User annotations. These attributes can only be set and used by
+   * the user, and not by Cloud Deploy. Annotations must meet the following
    * constraints:
    *
    * * Annotations are key/value pairs.
@@ -181,15 +183,16 @@ public interface DeployPolicyOrBuilder
    * for more details.
    * 
* - * map<string, string> annotations = 4; + * map<string, string> annotations = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ java.util.Map getAnnotationsMap(); /** * * *
-   * User annotations. These attributes can only be set and used by the
-   * user, and not by Cloud Deploy. Annotations must meet the following
+   * Optional. User annotations. These attributes can only be set and used by
+   * the user, and not by Cloud Deploy. Annotations must meet the following
    * constraints:
    *
    * * Annotations are key/value pairs.
@@ -207,7 +210,8 @@ public interface DeployPolicyOrBuilder
    * for more details.
    * 
* - * map<string, string> annotations = 4; + * map<string, string> annotations = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ /* nullable */ java.lang.String getAnnotationsOrDefault( @@ -218,8 +222,8 @@ java.lang.String getAnnotationsOrDefault( * * *
-   * User annotations. These attributes can only be set and used by the
-   * user, and not by Cloud Deploy. Annotations must meet the following
+   * Optional. User annotations. These attributes can only be set and used by
+   * the user, and not by Cloud Deploy. Annotations must meet the following
    * constraints:
    *
    * * Annotations are key/value pairs.
@@ -237,7 +241,8 @@ java.lang.String getAnnotationsOrDefault(
    * for more details.
    * 
* - * map<string, string> annotations = 4; + * map<string, string> annotations = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ java.lang.String getAnnotationsOrThrow(java.lang.String key); @@ -429,11 +434,11 @@ java.lang.String getLabelsOrDefault( * * *
-   * When suspended, the policy will not prevent actions from occurring, even
-   * if the action violates the policy.
+   * Optional. When suspended, the policy will not prevent actions from
+   * occurring, even if the action violates the policy.
    * 
* - * bool suspended = 8; + * bool suspended = 8 [(.google.api.field_behavior) = OPTIONAL]; * * @return The suspended. */ diff --git a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeploymentJobs.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeploymentJobs.java index fd4f11a555c1..ebcc1573d0b9 100644 --- a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeploymentJobs.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeploymentJobs.java @@ -62,158 +62,158 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } private int bitField0_; - public static final int DEPLOY_JOB_FIELD_NUMBER = 1; - private com.google.cloud.deploy.v1.Job deployJob_; + public static final int PREDEPLOY_JOB_FIELD_NUMBER = 3; + private com.google.cloud.deploy.v1.Job predeployJob_; /** * * *
-   * Output only. The deploy Job. This is the deploy job in the phase.
+   * Output only. The predeploy Job, which is the first job on the phase.
    * 
* - * .google.cloud.deploy.v1.Job deploy_job = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Job predeploy_job = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * - * @return Whether the deployJob field is set. + * @return Whether the predeployJob field is set. */ @java.lang.Override - public boolean hasDeployJob() { + public boolean hasPredeployJob() { return ((bitField0_ & 0x00000001) != 0); } /** * * *
-   * Output only. The deploy Job. This is the deploy job in the phase.
+   * Output only. The predeploy Job, which is the first job on the phase.
    * 
* - * .google.cloud.deploy.v1.Job deploy_job = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Job predeploy_job = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * - * @return The deployJob. + * @return The predeployJob. */ @java.lang.Override - public com.google.cloud.deploy.v1.Job getDeployJob() { - return deployJob_ == null ? com.google.cloud.deploy.v1.Job.getDefaultInstance() : deployJob_; + public com.google.cloud.deploy.v1.Job getPredeployJob() { + return predeployJob_ == null + ? com.google.cloud.deploy.v1.Job.getDefaultInstance() + : predeployJob_; } /** * * *
-   * Output only. The deploy Job. This is the deploy job in the phase.
+   * Output only. The predeploy Job, which is the first job on the phase.
    * 
* - * .google.cloud.deploy.v1.Job deploy_job = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Job predeploy_job = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ @java.lang.Override - public com.google.cloud.deploy.v1.JobOrBuilder getDeployJobOrBuilder() { - return deployJob_ == null ? com.google.cloud.deploy.v1.Job.getDefaultInstance() : deployJob_; + public com.google.cloud.deploy.v1.JobOrBuilder getPredeployJobOrBuilder() { + return predeployJob_ == null + ? com.google.cloud.deploy.v1.Job.getDefaultInstance() + : predeployJob_; } - public static final int VERIFY_JOB_FIELD_NUMBER = 2; - private com.google.cloud.deploy.v1.Job verifyJob_; + public static final int DEPLOY_JOB_FIELD_NUMBER = 1; + private com.google.cloud.deploy.v1.Job deployJob_; /** * * *
-   * Output only. The verify Job. Runs after a deploy if the deploy succeeds.
+   * Output only. The deploy Job. This is the deploy job in the phase.
    * 
* - * .google.cloud.deploy.v1.Job verify_job = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.deploy.v1.Job deploy_job = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * - * @return Whether the verifyJob field is set. + * @return Whether the deployJob field is set. */ @java.lang.Override - public boolean hasVerifyJob() { + public boolean hasDeployJob() { return ((bitField0_ & 0x00000002) != 0); } /** * * *
-   * Output only. The verify Job. Runs after a deploy if the deploy succeeds.
+   * Output only. The deploy Job. This is the deploy job in the phase.
    * 
* - * .google.cloud.deploy.v1.Job verify_job = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.deploy.v1.Job deploy_job = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * - * @return The verifyJob. + * @return The deployJob. */ @java.lang.Override - public com.google.cloud.deploy.v1.Job getVerifyJob() { - return verifyJob_ == null ? com.google.cloud.deploy.v1.Job.getDefaultInstance() : verifyJob_; + public com.google.cloud.deploy.v1.Job getDeployJob() { + return deployJob_ == null ? com.google.cloud.deploy.v1.Job.getDefaultInstance() : deployJob_; } /** * * *
-   * Output only. The verify Job. Runs after a deploy if the deploy succeeds.
+   * Output only. The deploy Job. This is the deploy job in the phase.
    * 
* - * .google.cloud.deploy.v1.Job verify_job = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.deploy.v1.Job deploy_job = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ @java.lang.Override - public com.google.cloud.deploy.v1.JobOrBuilder getVerifyJobOrBuilder() { - return verifyJob_ == null ? com.google.cloud.deploy.v1.Job.getDefaultInstance() : verifyJob_; + public com.google.cloud.deploy.v1.JobOrBuilder getDeployJobOrBuilder() { + return deployJob_ == null ? com.google.cloud.deploy.v1.Job.getDefaultInstance() : deployJob_; } - public static final int PREDEPLOY_JOB_FIELD_NUMBER = 3; - private com.google.cloud.deploy.v1.Job predeployJob_; + public static final int VERIFY_JOB_FIELD_NUMBER = 2; + private com.google.cloud.deploy.v1.Job verifyJob_; /** * * *
-   * Output only. The predeploy Job, which is the first job on the phase.
+   * Output only. The verify Job. Runs after a deploy if the deploy succeeds.
    * 
* - * - * .google.cloud.deploy.v1.Job predeploy_job = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.deploy.v1.Job verify_job = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * - * @return Whether the predeployJob field is set. + * @return Whether the verifyJob field is set. */ @java.lang.Override - public boolean hasPredeployJob() { + public boolean hasVerifyJob() { return ((bitField0_ & 0x00000004) != 0); } /** * * *
-   * Output only. The predeploy Job, which is the first job on the phase.
+   * Output only. The verify Job. Runs after a deploy if the deploy succeeds.
    * 
* - * - * .google.cloud.deploy.v1.Job predeploy_job = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.deploy.v1.Job verify_job = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * - * @return The predeployJob. + * @return The verifyJob. */ @java.lang.Override - public com.google.cloud.deploy.v1.Job getPredeployJob() { - return predeployJob_ == null - ? com.google.cloud.deploy.v1.Job.getDefaultInstance() - : predeployJob_; + public com.google.cloud.deploy.v1.Job getVerifyJob() { + return verifyJob_ == null ? com.google.cloud.deploy.v1.Job.getDefaultInstance() : verifyJob_; } /** * * *
-   * Output only. The predeploy Job, which is the first job on the phase.
+   * Output only. The verify Job. Runs after a deploy if the deploy succeeds.
    * 
* - * - * .google.cloud.deploy.v1.Job predeploy_job = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.deploy.v1.Job verify_job = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ @java.lang.Override - public com.google.cloud.deploy.v1.JobOrBuilder getPredeployJobOrBuilder() { - return predeployJob_ == null - ? com.google.cloud.deploy.v1.Job.getDefaultInstance() - : predeployJob_; + public com.google.cloud.deploy.v1.JobOrBuilder getVerifyJobOrBuilder() { + return verifyJob_ == null ? com.google.cloud.deploy.v1.Job.getDefaultInstance() : verifyJob_; } public static final int POSTDEPLOY_JOB_FIELD_NUMBER = 4; @@ -286,13 +286,13 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (((bitField0_ & 0x00000001) != 0)) { + if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(1, getDeployJob()); } - if (((bitField0_ & 0x00000002) != 0)) { + if (((bitField0_ & 0x00000004) != 0)) { output.writeMessage(2, getVerifyJob()); } - if (((bitField0_ & 0x00000004) != 0)) { + if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(3, getPredeployJob()); } if (((bitField0_ & 0x00000008) != 0)) { @@ -307,13 +307,13 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (((bitField0_ & 0x00000001) != 0)) { + if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getDeployJob()); } - if (((bitField0_ & 0x00000002) != 0)) { + if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getVerifyJob()); } - if (((bitField0_ & 0x00000004) != 0)) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getPredeployJob()); } if (((bitField0_ & 0x00000008) != 0)) { @@ -335,6 +335,10 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.deploy.v1.DeploymentJobs other = (com.google.cloud.deploy.v1.DeploymentJobs) obj; + if (hasPredeployJob() != other.hasPredeployJob()) return false; + if (hasPredeployJob()) { + if (!getPredeployJob().equals(other.getPredeployJob())) return false; + } if (hasDeployJob() != other.hasDeployJob()) return false; if (hasDeployJob()) { if (!getDeployJob().equals(other.getDeployJob())) return false; @@ -343,10 +347,6 @@ public boolean equals(final java.lang.Object obj) { if (hasVerifyJob()) { if (!getVerifyJob().equals(other.getVerifyJob())) return false; } - if (hasPredeployJob() != other.hasPredeployJob()) return false; - if (hasPredeployJob()) { - if (!getPredeployJob().equals(other.getPredeployJob())) return false; - } if (hasPostdeployJob() != other.hasPostdeployJob()) return false; if (hasPostdeployJob()) { if (!getPostdeployJob().equals(other.getPostdeployJob())) return false; @@ -362,6 +362,10 @@ public int hashCode() { } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); + if (hasPredeployJob()) { + hash = (37 * hash) + PREDEPLOY_JOB_FIELD_NUMBER; + hash = (53 * hash) + getPredeployJob().hashCode(); + } if (hasDeployJob()) { hash = (37 * hash) + DEPLOY_JOB_FIELD_NUMBER; hash = (53 * hash) + getDeployJob().hashCode(); @@ -370,10 +374,6 @@ public int hashCode() { hash = (37 * hash) + VERIFY_JOB_FIELD_NUMBER; hash = (53 * hash) + getVerifyJob().hashCode(); } - if (hasPredeployJob()) { - hash = (37 * hash) + PREDEPLOY_JOB_FIELD_NUMBER; - hash = (53 * hash) + getPredeployJob().hashCode(); - } if (hasPostdeployJob()) { hash = (37 * hash) + POSTDEPLOY_JOB_FIELD_NUMBER; hash = (53 * hash) + getPostdeployJob().hashCode(); @@ -518,9 +518,9 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getPredeployJobFieldBuilder(); getDeployJobFieldBuilder(); getVerifyJobFieldBuilder(); - getPredeployJobFieldBuilder(); getPostdeployJobFieldBuilder(); } } @@ -529,6 +529,11 @@ private void maybeForceBuilderInitialization() { public Builder clear() { super.clear(); bitField0_ = 0; + predeployJob_ = null; + if (predeployJobBuilder_ != null) { + predeployJobBuilder_.dispose(); + predeployJobBuilder_ = null; + } deployJob_ = null; if (deployJobBuilder_ != null) { deployJobBuilder_.dispose(); @@ -539,11 +544,6 @@ public Builder clear() { verifyJobBuilder_.dispose(); verifyJobBuilder_ = null; } - predeployJob_ = null; - if (predeployJobBuilder_ != null) { - predeployJobBuilder_.dispose(); - predeployJobBuilder_ = null; - } postdeployJob_ = null; if (postdeployJobBuilder_ != null) { postdeployJobBuilder_.dispose(); @@ -587,16 +587,16 @@ private void buildPartial0(com.google.cloud.deploy.v1.DeploymentJobs result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { - result.deployJob_ = deployJobBuilder_ == null ? deployJob_ : deployJobBuilder_.build(); + result.predeployJob_ = + predeployJobBuilder_ == null ? predeployJob_ : predeployJobBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.verifyJob_ = verifyJobBuilder_ == null ? verifyJob_ : verifyJobBuilder_.build(); + result.deployJob_ = deployJobBuilder_ == null ? deployJob_ : deployJobBuilder_.build(); to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.predeployJob_ = - predeployJobBuilder_ == null ? predeployJob_ : predeployJobBuilder_.build(); + result.verifyJob_ = verifyJobBuilder_ == null ? verifyJob_ : verifyJobBuilder_.build(); to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000008) != 0)) { @@ -652,15 +652,15 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(com.google.cloud.deploy.v1.DeploymentJobs other) { if (other == com.google.cloud.deploy.v1.DeploymentJobs.getDefaultInstance()) return this; + if (other.hasPredeployJob()) { + mergePredeployJob(other.getPredeployJob()); + } if (other.hasDeployJob()) { mergeDeployJob(other.getDeployJob()); } if (other.hasVerifyJob()) { mergeVerifyJob(other.getVerifyJob()); } - if (other.hasPredeployJob()) { - mergePredeployJob(other.getPredeployJob()); - } if (other.hasPostdeployJob()) { mergePostdeployJob(other.getPostdeployJob()); } @@ -693,19 +693,19 @@ public Builder mergeFrom( case 10: { input.readMessage(getDeployJobFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; + bitField0_ |= 0x00000002; break; } // case 10 case 18: { input.readMessage(getVerifyJobFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000004; break; } // case 18 case 26: { input.readMessage(getPredeployJobFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000001; break; } // case 26 case 34: @@ -733,69 +733,69 @@ public Builder mergeFrom( private int bitField0_; - private com.google.cloud.deploy.v1.Job deployJob_; + private com.google.cloud.deploy.v1.Job predeployJob_; private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.deploy.v1.Job, com.google.cloud.deploy.v1.Job.Builder, com.google.cloud.deploy.v1.JobOrBuilder> - deployJobBuilder_; + predeployJobBuilder_; /** * * *
-     * Output only. The deploy Job. This is the deploy job in the phase.
+     * Output only. The predeploy Job, which is the first job on the phase.
      * 
* * - * .google.cloud.deploy.v1.Job deploy_job = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.deploy.v1.Job predeploy_job = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * - * @return Whether the deployJob field is set. + * @return Whether the predeployJob field is set. */ - public boolean hasDeployJob() { + public boolean hasPredeployJob() { return ((bitField0_ & 0x00000001) != 0); } /** * * *
-     * Output only. The deploy Job. This is the deploy job in the phase.
+     * Output only. The predeploy Job, which is the first job on the phase.
      * 
* * - * .google.cloud.deploy.v1.Job deploy_job = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.deploy.v1.Job predeploy_job = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * - * @return The deployJob. + * @return The predeployJob. */ - public com.google.cloud.deploy.v1.Job getDeployJob() { - if (deployJobBuilder_ == null) { - return deployJob_ == null + public com.google.cloud.deploy.v1.Job getPredeployJob() { + if (predeployJobBuilder_ == null) { + return predeployJob_ == null ? com.google.cloud.deploy.v1.Job.getDefaultInstance() - : deployJob_; + : predeployJob_; } else { - return deployJobBuilder_.getMessage(); + return predeployJobBuilder_.getMessage(); } } /** * * *
-     * Output only. The deploy Job. This is the deploy job in the phase.
+     * Output only. The predeploy Job, which is the first job on the phase.
      * 
* * - * .google.cloud.deploy.v1.Job deploy_job = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.deploy.v1.Job predeploy_job = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ - public Builder setDeployJob(com.google.cloud.deploy.v1.Job value) { - if (deployJobBuilder_ == null) { + public Builder setPredeployJob(com.google.cloud.deploy.v1.Job value) { + if (predeployJobBuilder_ == null) { if (value == null) { throw new NullPointerException(); } - deployJob_ = value; + predeployJob_ = value; } else { - deployJobBuilder_.setMessage(value); + predeployJobBuilder_.setMessage(value); } bitField0_ |= 0x00000001; onChanged(); @@ -805,18 +805,18 @@ public Builder setDeployJob(com.google.cloud.deploy.v1.Job value) { * * *
-     * Output only. The deploy Job. This is the deploy job in the phase.
+     * Output only. The predeploy Job, which is the first job on the phase.
      * 
* * - * .google.cloud.deploy.v1.Job deploy_job = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.deploy.v1.Job predeploy_job = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ - public Builder setDeployJob(com.google.cloud.deploy.v1.Job.Builder builderForValue) { - if (deployJobBuilder_ == null) { - deployJob_ = builderForValue.build(); + public Builder setPredeployJob(com.google.cloud.deploy.v1.Job.Builder builderForValue) { + if (predeployJobBuilder_ == null) { + predeployJob_ = builderForValue.build(); } else { - deployJobBuilder_.setMessage(builderForValue.build()); + predeployJobBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; onChanged(); @@ -826,26 +826,26 @@ public Builder setDeployJob(com.google.cloud.deploy.v1.Job.Builder builderForVal * * *
-     * Output only. The deploy Job. This is the deploy job in the phase.
+     * Output only. The predeploy Job, which is the first job on the phase.
      * 
* * - * .google.cloud.deploy.v1.Job deploy_job = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.deploy.v1.Job predeploy_job = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ - public Builder mergeDeployJob(com.google.cloud.deploy.v1.Job value) { - if (deployJobBuilder_ == null) { + public Builder mergePredeployJob(com.google.cloud.deploy.v1.Job value) { + if (predeployJobBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) - && deployJob_ != null - && deployJob_ != com.google.cloud.deploy.v1.Job.getDefaultInstance()) { - getDeployJobBuilder().mergeFrom(value); + && predeployJob_ != null + && predeployJob_ != com.google.cloud.deploy.v1.Job.getDefaultInstance()) { + getPredeployJobBuilder().mergeFrom(value); } else { - deployJob_ = value; + predeployJob_ = value; } } else { - deployJobBuilder_.mergeFrom(value); + predeployJobBuilder_.mergeFrom(value); } - if (deployJob_ != null) { + if (predeployJob_ != null) { bitField0_ |= 0x00000001; onChanged(); } @@ -855,19 +855,19 @@ public Builder mergeDeployJob(com.google.cloud.deploy.v1.Job value) { * * *
-     * Output only. The deploy Job. This is the deploy job in the phase.
+     * Output only. The predeploy Job, which is the first job on the phase.
      * 
* * - * .google.cloud.deploy.v1.Job deploy_job = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.deploy.v1.Job predeploy_job = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ - public Builder clearDeployJob() { + public Builder clearPredeployJob() { bitField0_ = (bitField0_ & ~0x00000001); - deployJob_ = null; - if (deployJobBuilder_ != null) { - deployJobBuilder_.dispose(); - deployJobBuilder_ = null; + predeployJob_ = null; + if (predeployJobBuilder_ != null) { + predeployJobBuilder_.dispose(); + predeployJobBuilder_ = null; } onChanged(); return this; @@ -876,129 +876,129 @@ public Builder clearDeployJob() { * * *
-     * Output only. The deploy Job. This is the deploy job in the phase.
+     * Output only. The predeploy Job, which is the first job on the phase.
      * 
* * - * .google.cloud.deploy.v1.Job deploy_job = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.deploy.v1.Job predeploy_job = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ - public com.google.cloud.deploy.v1.Job.Builder getDeployJobBuilder() { + public com.google.cloud.deploy.v1.Job.Builder getPredeployJobBuilder() { bitField0_ |= 0x00000001; onChanged(); - return getDeployJobFieldBuilder().getBuilder(); + return getPredeployJobFieldBuilder().getBuilder(); } /** * * *
-     * Output only. The deploy Job. This is the deploy job in the phase.
+     * Output only. The predeploy Job, which is the first job on the phase.
      * 
* * - * .google.cloud.deploy.v1.Job deploy_job = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.deploy.v1.Job predeploy_job = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ - public com.google.cloud.deploy.v1.JobOrBuilder getDeployJobOrBuilder() { - if (deployJobBuilder_ != null) { - return deployJobBuilder_.getMessageOrBuilder(); + public com.google.cloud.deploy.v1.JobOrBuilder getPredeployJobOrBuilder() { + if (predeployJobBuilder_ != null) { + return predeployJobBuilder_.getMessageOrBuilder(); } else { - return deployJob_ == null + return predeployJob_ == null ? com.google.cloud.deploy.v1.Job.getDefaultInstance() - : deployJob_; + : predeployJob_; } } /** * * *
-     * Output only. The deploy Job. This is the deploy job in the phase.
+     * Output only. The predeploy Job, which is the first job on the phase.
      * 
* * - * .google.cloud.deploy.v1.Job deploy_job = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.deploy.v1.Job predeploy_job = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.deploy.v1.Job, com.google.cloud.deploy.v1.Job.Builder, com.google.cloud.deploy.v1.JobOrBuilder> - getDeployJobFieldBuilder() { - if (deployJobBuilder_ == null) { - deployJobBuilder_ = + getPredeployJobFieldBuilder() { + if (predeployJobBuilder_ == null) { + predeployJobBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.deploy.v1.Job, com.google.cloud.deploy.v1.Job.Builder, com.google.cloud.deploy.v1.JobOrBuilder>( - getDeployJob(), getParentForChildren(), isClean()); - deployJob_ = null; + getPredeployJob(), getParentForChildren(), isClean()); + predeployJob_ = null; } - return deployJobBuilder_; + return predeployJobBuilder_; } - private com.google.cloud.deploy.v1.Job verifyJob_; + private com.google.cloud.deploy.v1.Job deployJob_; private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.deploy.v1.Job, com.google.cloud.deploy.v1.Job.Builder, com.google.cloud.deploy.v1.JobOrBuilder> - verifyJobBuilder_; + deployJobBuilder_; /** * * *
-     * Output only. The verify Job. Runs after a deploy if the deploy succeeds.
+     * Output only. The deploy Job. This is the deploy job in the phase.
      * 
* * - * .google.cloud.deploy.v1.Job verify_job = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.deploy.v1.Job deploy_job = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * - * @return Whether the verifyJob field is set. + * @return Whether the deployJob field is set. */ - public boolean hasVerifyJob() { + public boolean hasDeployJob() { return ((bitField0_ & 0x00000002) != 0); } /** * * *
-     * Output only. The verify Job. Runs after a deploy if the deploy succeeds.
+     * Output only. The deploy Job. This is the deploy job in the phase.
      * 
* * - * .google.cloud.deploy.v1.Job verify_job = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.deploy.v1.Job deploy_job = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * - * @return The verifyJob. + * @return The deployJob. */ - public com.google.cloud.deploy.v1.Job getVerifyJob() { - if (verifyJobBuilder_ == null) { - return verifyJob_ == null + public com.google.cloud.deploy.v1.Job getDeployJob() { + if (deployJobBuilder_ == null) { + return deployJob_ == null ? com.google.cloud.deploy.v1.Job.getDefaultInstance() - : verifyJob_; + : deployJob_; } else { - return verifyJobBuilder_.getMessage(); + return deployJobBuilder_.getMessage(); } } /** * * *
-     * Output only. The verify Job. Runs after a deploy if the deploy succeeds.
+     * Output only. The deploy Job. This is the deploy job in the phase.
      * 
* * - * .google.cloud.deploy.v1.Job verify_job = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.deploy.v1.Job deploy_job = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ - public Builder setVerifyJob(com.google.cloud.deploy.v1.Job value) { - if (verifyJobBuilder_ == null) { + public Builder setDeployJob(com.google.cloud.deploy.v1.Job value) { + if (deployJobBuilder_ == null) { if (value == null) { throw new NullPointerException(); } - verifyJob_ = value; + deployJob_ = value; } else { - verifyJobBuilder_.setMessage(value); + deployJobBuilder_.setMessage(value); } bitField0_ |= 0x00000002; onChanged(); @@ -1008,18 +1008,18 @@ public Builder setVerifyJob(com.google.cloud.deploy.v1.Job value) { * * *
-     * Output only. The verify Job. Runs after a deploy if the deploy succeeds.
+     * Output only. The deploy Job. This is the deploy job in the phase.
      * 
* * - * .google.cloud.deploy.v1.Job verify_job = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.deploy.v1.Job deploy_job = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ - public Builder setVerifyJob(com.google.cloud.deploy.v1.Job.Builder builderForValue) { - if (verifyJobBuilder_ == null) { - verifyJob_ = builderForValue.build(); + public Builder setDeployJob(com.google.cloud.deploy.v1.Job.Builder builderForValue) { + if (deployJobBuilder_ == null) { + deployJob_ = builderForValue.build(); } else { - verifyJobBuilder_.setMessage(builderForValue.build()); + deployJobBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; onChanged(); @@ -1029,26 +1029,26 @@ public Builder setVerifyJob(com.google.cloud.deploy.v1.Job.Builder builderForVal * * *
-     * Output only. The verify Job. Runs after a deploy if the deploy succeeds.
+     * Output only. The deploy Job. This is the deploy job in the phase.
      * 
* * - * .google.cloud.deploy.v1.Job verify_job = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.deploy.v1.Job deploy_job = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ - public Builder mergeVerifyJob(com.google.cloud.deploy.v1.Job value) { - if (verifyJobBuilder_ == null) { + public Builder mergeDeployJob(com.google.cloud.deploy.v1.Job value) { + if (deployJobBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0) - && verifyJob_ != null - && verifyJob_ != com.google.cloud.deploy.v1.Job.getDefaultInstance()) { - getVerifyJobBuilder().mergeFrom(value); + && deployJob_ != null + && deployJob_ != com.google.cloud.deploy.v1.Job.getDefaultInstance()) { + getDeployJobBuilder().mergeFrom(value); } else { - verifyJob_ = value; + deployJob_ = value; } } else { - verifyJobBuilder_.mergeFrom(value); + deployJobBuilder_.mergeFrom(value); } - if (verifyJob_ != null) { + if (deployJob_ != null) { bitField0_ |= 0x00000002; onChanged(); } @@ -1058,19 +1058,19 @@ public Builder mergeVerifyJob(com.google.cloud.deploy.v1.Job value) { * * *
-     * Output only. The verify Job. Runs after a deploy if the deploy succeeds.
+     * Output only. The deploy Job. This is the deploy job in the phase.
      * 
* * - * .google.cloud.deploy.v1.Job verify_job = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.deploy.v1.Job deploy_job = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ - public Builder clearVerifyJob() { + public Builder clearDeployJob() { bitField0_ = (bitField0_ & ~0x00000002); - verifyJob_ = null; - if (verifyJobBuilder_ != null) { - verifyJobBuilder_.dispose(); - verifyJobBuilder_ = null; + deployJob_ = null; + if (deployJobBuilder_ != null) { + deployJobBuilder_.dispose(); + deployJobBuilder_ = null; } onChanged(); return this; @@ -1079,129 +1079,129 @@ public Builder clearVerifyJob() { * * *
-     * Output only. The verify Job. Runs after a deploy if the deploy succeeds.
+     * Output only. The deploy Job. This is the deploy job in the phase.
      * 
* * - * .google.cloud.deploy.v1.Job verify_job = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.deploy.v1.Job deploy_job = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ - public com.google.cloud.deploy.v1.Job.Builder getVerifyJobBuilder() { + public com.google.cloud.deploy.v1.Job.Builder getDeployJobBuilder() { bitField0_ |= 0x00000002; onChanged(); - return getVerifyJobFieldBuilder().getBuilder(); + return getDeployJobFieldBuilder().getBuilder(); } /** * * *
-     * Output only. The verify Job. Runs after a deploy if the deploy succeeds.
+     * Output only. The deploy Job. This is the deploy job in the phase.
      * 
* * - * .google.cloud.deploy.v1.Job verify_job = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.deploy.v1.Job deploy_job = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ - public com.google.cloud.deploy.v1.JobOrBuilder getVerifyJobOrBuilder() { - if (verifyJobBuilder_ != null) { - return verifyJobBuilder_.getMessageOrBuilder(); + public com.google.cloud.deploy.v1.JobOrBuilder getDeployJobOrBuilder() { + if (deployJobBuilder_ != null) { + return deployJobBuilder_.getMessageOrBuilder(); } else { - return verifyJob_ == null + return deployJob_ == null ? com.google.cloud.deploy.v1.Job.getDefaultInstance() - : verifyJob_; + : deployJob_; } } /** * * *
-     * Output only. The verify Job. Runs after a deploy if the deploy succeeds.
+     * Output only. The deploy Job. This is the deploy job in the phase.
      * 
* * - * .google.cloud.deploy.v1.Job verify_job = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.deploy.v1.Job deploy_job = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.deploy.v1.Job, com.google.cloud.deploy.v1.Job.Builder, com.google.cloud.deploy.v1.JobOrBuilder> - getVerifyJobFieldBuilder() { - if (verifyJobBuilder_ == null) { - verifyJobBuilder_ = + getDeployJobFieldBuilder() { + if (deployJobBuilder_ == null) { + deployJobBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.deploy.v1.Job, com.google.cloud.deploy.v1.Job.Builder, com.google.cloud.deploy.v1.JobOrBuilder>( - getVerifyJob(), getParentForChildren(), isClean()); - verifyJob_ = null; + getDeployJob(), getParentForChildren(), isClean()); + deployJob_ = null; } - return verifyJobBuilder_; + return deployJobBuilder_; } - private com.google.cloud.deploy.v1.Job predeployJob_; + private com.google.cloud.deploy.v1.Job verifyJob_; private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.deploy.v1.Job, com.google.cloud.deploy.v1.Job.Builder, com.google.cloud.deploy.v1.JobOrBuilder> - predeployJobBuilder_; + verifyJobBuilder_; /** * * *
-     * Output only. The predeploy Job, which is the first job on the phase.
+     * Output only. The verify Job. Runs after a deploy if the deploy succeeds.
      * 
* * - * .google.cloud.deploy.v1.Job predeploy_job = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.deploy.v1.Job verify_job = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * - * @return Whether the predeployJob field is set. + * @return Whether the verifyJob field is set. */ - public boolean hasPredeployJob() { + public boolean hasVerifyJob() { return ((bitField0_ & 0x00000004) != 0); } /** * * *
-     * Output only. The predeploy Job, which is the first job on the phase.
+     * Output only. The verify Job. Runs after a deploy if the deploy succeeds.
      * 
* * - * .google.cloud.deploy.v1.Job predeploy_job = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.deploy.v1.Job verify_job = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * - * @return The predeployJob. + * @return The verifyJob. */ - public com.google.cloud.deploy.v1.Job getPredeployJob() { - if (predeployJobBuilder_ == null) { - return predeployJob_ == null + public com.google.cloud.deploy.v1.Job getVerifyJob() { + if (verifyJobBuilder_ == null) { + return verifyJob_ == null ? com.google.cloud.deploy.v1.Job.getDefaultInstance() - : predeployJob_; + : verifyJob_; } else { - return predeployJobBuilder_.getMessage(); + return verifyJobBuilder_.getMessage(); } } /** * * *
-     * Output only. The predeploy Job, which is the first job on the phase.
+     * Output only. The verify Job. Runs after a deploy if the deploy succeeds.
      * 
* * - * .google.cloud.deploy.v1.Job predeploy_job = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.deploy.v1.Job verify_job = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ - public Builder setPredeployJob(com.google.cloud.deploy.v1.Job value) { - if (predeployJobBuilder_ == null) { + public Builder setVerifyJob(com.google.cloud.deploy.v1.Job value) { + if (verifyJobBuilder_ == null) { if (value == null) { throw new NullPointerException(); } - predeployJob_ = value; + verifyJob_ = value; } else { - predeployJobBuilder_.setMessage(value); + verifyJobBuilder_.setMessage(value); } bitField0_ |= 0x00000004; onChanged(); @@ -1211,18 +1211,18 @@ public Builder setPredeployJob(com.google.cloud.deploy.v1.Job value) { * * *
-     * Output only. The predeploy Job, which is the first job on the phase.
+     * Output only. The verify Job. Runs after a deploy if the deploy succeeds.
      * 
* * - * .google.cloud.deploy.v1.Job predeploy_job = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.deploy.v1.Job verify_job = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ - public Builder setPredeployJob(com.google.cloud.deploy.v1.Job.Builder builderForValue) { - if (predeployJobBuilder_ == null) { - predeployJob_ = builderForValue.build(); + public Builder setVerifyJob(com.google.cloud.deploy.v1.Job.Builder builderForValue) { + if (verifyJobBuilder_ == null) { + verifyJob_ = builderForValue.build(); } else { - predeployJobBuilder_.setMessage(builderForValue.build()); + verifyJobBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000004; onChanged(); @@ -1232,26 +1232,26 @@ public Builder setPredeployJob(com.google.cloud.deploy.v1.Job.Builder builderFor * * *
-     * Output only. The predeploy Job, which is the first job on the phase.
+     * Output only. The verify Job. Runs after a deploy if the deploy succeeds.
      * 
* * - * .google.cloud.deploy.v1.Job predeploy_job = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.deploy.v1.Job verify_job = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ - public Builder mergePredeployJob(com.google.cloud.deploy.v1.Job value) { - if (predeployJobBuilder_ == null) { + public Builder mergeVerifyJob(com.google.cloud.deploy.v1.Job value) { + if (verifyJobBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0) - && predeployJob_ != null - && predeployJob_ != com.google.cloud.deploy.v1.Job.getDefaultInstance()) { - getPredeployJobBuilder().mergeFrom(value); + && verifyJob_ != null + && verifyJob_ != com.google.cloud.deploy.v1.Job.getDefaultInstance()) { + getVerifyJobBuilder().mergeFrom(value); } else { - predeployJob_ = value; + verifyJob_ = value; } } else { - predeployJobBuilder_.mergeFrom(value); + verifyJobBuilder_.mergeFrom(value); } - if (predeployJob_ != null) { + if (verifyJob_ != null) { bitField0_ |= 0x00000004; onChanged(); } @@ -1261,19 +1261,19 @@ public Builder mergePredeployJob(com.google.cloud.deploy.v1.Job value) { * * *
-     * Output only. The predeploy Job, which is the first job on the phase.
+     * Output only. The verify Job. Runs after a deploy if the deploy succeeds.
      * 
* * - * .google.cloud.deploy.v1.Job predeploy_job = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.deploy.v1.Job verify_job = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ - public Builder clearPredeployJob() { + public Builder clearVerifyJob() { bitField0_ = (bitField0_ & ~0x00000004); - predeployJob_ = null; - if (predeployJobBuilder_ != null) { - predeployJobBuilder_.dispose(); - predeployJobBuilder_ = null; + verifyJob_ = null; + if (verifyJobBuilder_ != null) { + verifyJobBuilder_.dispose(); + verifyJobBuilder_ = null; } onChanged(); return this; @@ -1282,64 +1282,64 @@ public Builder clearPredeployJob() { * * *
-     * Output only. The predeploy Job, which is the first job on the phase.
+     * Output only. The verify Job. Runs after a deploy if the deploy succeeds.
      * 
* * - * .google.cloud.deploy.v1.Job predeploy_job = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.deploy.v1.Job verify_job = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ - public com.google.cloud.deploy.v1.Job.Builder getPredeployJobBuilder() { + public com.google.cloud.deploy.v1.Job.Builder getVerifyJobBuilder() { bitField0_ |= 0x00000004; onChanged(); - return getPredeployJobFieldBuilder().getBuilder(); + return getVerifyJobFieldBuilder().getBuilder(); } /** * * *
-     * Output only. The predeploy Job, which is the first job on the phase.
+     * Output only. The verify Job. Runs after a deploy if the deploy succeeds.
      * 
* * - * .google.cloud.deploy.v1.Job predeploy_job = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.deploy.v1.Job verify_job = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ - public com.google.cloud.deploy.v1.JobOrBuilder getPredeployJobOrBuilder() { - if (predeployJobBuilder_ != null) { - return predeployJobBuilder_.getMessageOrBuilder(); + public com.google.cloud.deploy.v1.JobOrBuilder getVerifyJobOrBuilder() { + if (verifyJobBuilder_ != null) { + return verifyJobBuilder_.getMessageOrBuilder(); } else { - return predeployJob_ == null + return verifyJob_ == null ? com.google.cloud.deploy.v1.Job.getDefaultInstance() - : predeployJob_; + : verifyJob_; } } /** * * *
-     * Output only. The predeploy Job, which is the first job on the phase.
+     * Output only. The verify Job. Runs after a deploy if the deploy succeeds.
      * 
* * - * .google.cloud.deploy.v1.Job predeploy_job = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.deploy.v1.Job verify_job = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.deploy.v1.Job, com.google.cloud.deploy.v1.Job.Builder, com.google.cloud.deploy.v1.JobOrBuilder> - getPredeployJobFieldBuilder() { - if (predeployJobBuilder_ == null) { - predeployJobBuilder_ = + getVerifyJobFieldBuilder() { + if (verifyJobBuilder_ == null) { + verifyJobBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.deploy.v1.Job, com.google.cloud.deploy.v1.Job.Builder, com.google.cloud.deploy.v1.JobOrBuilder>( - getPredeployJob(), getParentForChildren(), isClean()); - predeployJob_ = null; + getVerifyJob(), getParentForChildren(), isClean()); + verifyJob_ = null; } - return predeployJobBuilder_; + return verifyJobBuilder_; } private com.google.cloud.deploy.v1.Job postdeployJob_; diff --git a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeploymentJobsOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeploymentJobsOrBuilder.java index 393a3c044e71..0e0a53d325dd 100644 --- a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeploymentJobsOrBuilder.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeploymentJobsOrBuilder.java @@ -28,118 +28,118 @@ public interface DeploymentJobsOrBuilder * * *
-   * Output only. The deploy Job. This is the deploy job in the phase.
+   * Output only. The predeploy Job, which is the first job on the phase.
    * 
* - * .google.cloud.deploy.v1.Job deploy_job = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Job predeploy_job = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * - * @return Whether the deployJob field is set. + * @return Whether the predeployJob field is set. */ - boolean hasDeployJob(); + boolean hasPredeployJob(); /** * * *
-   * Output only. The deploy Job. This is the deploy job in the phase.
+   * Output only. The predeploy Job, which is the first job on the phase.
    * 
* - * .google.cloud.deploy.v1.Job deploy_job = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Job predeploy_job = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * - * @return The deployJob. + * @return The predeployJob. */ - com.google.cloud.deploy.v1.Job getDeployJob(); + com.google.cloud.deploy.v1.Job getPredeployJob(); /** * * *
-   * Output only. The deploy Job. This is the deploy job in the phase.
+   * Output only. The predeploy Job, which is the first job on the phase.
    * 
* - * .google.cloud.deploy.v1.Job deploy_job = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.deploy.v1.Job predeploy_job = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ - com.google.cloud.deploy.v1.JobOrBuilder getDeployJobOrBuilder(); + com.google.cloud.deploy.v1.JobOrBuilder getPredeployJobOrBuilder(); /** * * *
-   * Output only. The verify Job. Runs after a deploy if the deploy succeeds.
+   * Output only. The deploy Job. This is the deploy job in the phase.
    * 
* - * .google.cloud.deploy.v1.Job verify_job = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.deploy.v1.Job deploy_job = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * - * @return Whether the verifyJob field is set. + * @return Whether the deployJob field is set. */ - boolean hasVerifyJob(); + boolean hasDeployJob(); /** * * *
-   * Output only. The verify Job. Runs after a deploy if the deploy succeeds.
+   * Output only. The deploy Job. This is the deploy job in the phase.
    * 
* - * .google.cloud.deploy.v1.Job verify_job = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.deploy.v1.Job deploy_job = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * - * @return The verifyJob. + * @return The deployJob. */ - com.google.cloud.deploy.v1.Job getVerifyJob(); + com.google.cloud.deploy.v1.Job getDeployJob(); /** * * *
-   * Output only. The verify Job. Runs after a deploy if the deploy succeeds.
+   * Output only. The deploy Job. This is the deploy job in the phase.
    * 
* - * .google.cloud.deploy.v1.Job verify_job = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.deploy.v1.Job deploy_job = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ - com.google.cloud.deploy.v1.JobOrBuilder getVerifyJobOrBuilder(); + com.google.cloud.deploy.v1.JobOrBuilder getDeployJobOrBuilder(); /** * * *
-   * Output only. The predeploy Job, which is the first job on the phase.
+   * Output only. The verify Job. Runs after a deploy if the deploy succeeds.
    * 
* - * - * .google.cloud.deploy.v1.Job predeploy_job = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.deploy.v1.Job verify_job = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * - * @return Whether the predeployJob field is set. + * @return Whether the verifyJob field is set. */ - boolean hasPredeployJob(); + boolean hasVerifyJob(); /** * * *
-   * Output only. The predeploy Job, which is the first job on the phase.
+   * Output only. The verify Job. Runs after a deploy if the deploy succeeds.
    * 
* - * - * .google.cloud.deploy.v1.Job predeploy_job = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.deploy.v1.Job verify_job = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * - * @return The predeployJob. + * @return The verifyJob. */ - com.google.cloud.deploy.v1.Job getPredeployJob(); + com.google.cloud.deploy.v1.Job getVerifyJob(); /** * * *
-   * Output only. The predeploy Job, which is the first job on the phase.
+   * Output only. The verify Job. Runs after a deploy if the deploy succeeds.
    * 
* - * - * .google.cloud.deploy.v1.Job predeploy_job = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.deploy.v1.Job verify_job = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ - com.google.cloud.deploy.v1.JobOrBuilder getPredeployJobOrBuilder(); + com.google.cloud.deploy.v1.JobOrBuilder getVerifyJobOrBuilder(); /** * diff --git a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GkeCluster.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GkeCluster.java index 86ad3acb722e..768e8660fe02 100644 --- a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GkeCluster.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GkeCluster.java @@ -209,7 +209,7 @@ public com.google.protobuf.ByteString getProxyUrlBytes() { * *
    * Optional. If set, the cluster will be accessed using the DNS endpoint. Note
-   * that `dns_endpoint` and `internal_ip` cannot both be set to true.
+   * that both `dns_endpoint` and `internal_ip` cannot be set to true.
    * 
* * bool dns_endpoint = 4 [(.google.api.field_behavior) = OPTIONAL]; @@ -948,7 +948,7 @@ public Builder setProxyUrlBytes(com.google.protobuf.ByteString value) { * *
      * Optional. If set, the cluster will be accessed using the DNS endpoint. Note
-     * that `dns_endpoint` and `internal_ip` cannot both be set to true.
+     * that both `dns_endpoint` and `internal_ip` cannot be set to true.
      * 
* * bool dns_endpoint = 4 [(.google.api.field_behavior) = OPTIONAL]; @@ -964,7 +964,7 @@ public boolean getDnsEndpoint() { * *
      * Optional. If set, the cluster will be accessed using the DNS endpoint. Note
-     * that `dns_endpoint` and `internal_ip` cannot both be set to true.
+     * that both `dns_endpoint` and `internal_ip` cannot be set to true.
      * 
* * bool dns_endpoint = 4 [(.google.api.field_behavior) = OPTIONAL]; @@ -984,7 +984,7 @@ public Builder setDnsEndpoint(boolean value) { * *
      * Optional. If set, the cluster will be accessed using the DNS endpoint. Note
-     * that `dns_endpoint` and `internal_ip` cannot both be set to true.
+     * that both `dns_endpoint` and `internal_ip` cannot be set to true.
      * 
* * bool dns_endpoint = 4 [(.google.api.field_behavior) = OPTIONAL]; diff --git a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GkeClusterOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GkeClusterOrBuilder.java index e98a9d4bfa12..9422aec54abc 100644 --- a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GkeClusterOrBuilder.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/GkeClusterOrBuilder.java @@ -110,7 +110,7 @@ public interface GkeClusterOrBuilder * *
    * Optional. If set, the cluster will be accessed using the DNS endpoint. Note
-   * that `dns_endpoint` and `internal_ip` cannot both be set to true.
+   * that both `dns_endpoint` and `internal_ip` cannot be set to true.
    * 
* * bool dns_endpoint = 4 [(.google.api.field_behavior) = OPTIONAL]; diff --git a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/JobRun.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/JobRun.java index 54062f06abe6..9b8a376b61f7 100644 --- a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/JobRun.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/JobRun.java @@ -363,11 +363,11 @@ public JobRunCase getJobRunCase() { * * *
-   * Optional. Name of the `JobRun`. Format is
+   * Output only. Name of the `JobRun`. Format is
    * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{releases}/rollouts/{rollouts}/jobRuns/{uuid}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return The name. */ @@ -387,11 +387,11 @@ public java.lang.String getName() { * * *
-   * Optional. Name of the `JobRun`. Format is
+   * Output only. Name of the `JobRun`. Format is
    * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{releases}/rollouts/{rollouts}/jobRuns/{uuid}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return The bytes for name. */ @@ -1952,11 +1952,11 @@ public Builder clearJobRun() { * * *
-     * Optional. Name of the `JobRun`. Format is
+     * Output only. Name of the `JobRun`. Format is
      * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{releases}/rollouts/{rollouts}/jobRuns/{uuid}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return The name. */ @@ -1975,11 +1975,11 @@ public java.lang.String getName() { * * *
-     * Optional. Name of the `JobRun`. Format is
+     * Output only. Name of the `JobRun`. Format is
      * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{releases}/rollouts/{rollouts}/jobRuns/{uuid}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return The bytes for name. */ @@ -1998,11 +1998,11 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Optional. Name of the `JobRun`. Format is
+     * Output only. Name of the `JobRun`. Format is
      * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{releases}/rollouts/{rollouts}/jobRuns/{uuid}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @param value The name to set. * @return This builder for chaining. @@ -2020,11 +2020,11 @@ public Builder setName(java.lang.String value) { * * *
-     * Optional. Name of the `JobRun`. Format is
+     * Output only. Name of the `JobRun`. Format is
      * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{releases}/rollouts/{rollouts}/jobRuns/{uuid}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return This builder for chaining. */ @@ -2038,11 +2038,11 @@ public Builder clearName() { * * *
-     * Optional. Name of the `JobRun`. Format is
+     * Output only. Name of the `JobRun`. Format is
      * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{releases}/rollouts/{rollouts}/jobRuns/{uuid}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @param value The bytes for name to set. * @return This builder for chaining. diff --git a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/JobRunOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/JobRunOrBuilder.java index 3a153954f4e3..24af286f80e7 100644 --- a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/JobRunOrBuilder.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/JobRunOrBuilder.java @@ -28,11 +28,11 @@ public interface JobRunOrBuilder * * *
-   * Optional. Name of the `JobRun`. Format is
+   * Output only. Name of the `JobRun`. Format is
    * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{releases}/rollouts/{rollouts}/jobRuns/{uuid}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return The name. */ @@ -41,11 +41,11 @@ public interface JobRunOrBuilder * * *
-   * Optional. Name of the `JobRun`. Format is
+   * Output only. Name of the `JobRun`. Format is
    * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{releases}/rollouts/{rollouts}/jobRuns/{uuid}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return The bytes for name. */ diff --git a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/KubernetesConfig.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/KubernetesConfig.java index 138ee25516bf..d3883c9edeae 100644 --- a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/KubernetesConfig.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/KubernetesConfig.java @@ -4785,10 +4785,11 @@ public ServiceDefinitionCase getServiceDefinitionCase() { * * *
-   * Kubernetes Gateway API service mesh configuration.
+   * Optional. Kubernetes Gateway API service mesh configuration.
    * 
* - * .google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh gateway_service_mesh = 1; + * + * .google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh gateway_service_mesh = 1 [(.google.api.field_behavior) = OPTIONAL]; * * * @return Whether the gatewayServiceMesh field is set. @@ -4801,10 +4802,11 @@ public boolean hasGatewayServiceMesh() { * * *
-   * Kubernetes Gateway API service mesh configuration.
+   * Optional. Kubernetes Gateway API service mesh configuration.
    * 
* - * .google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh gateway_service_mesh = 1; + * + * .google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh gateway_service_mesh = 1 [(.google.api.field_behavior) = OPTIONAL]; * * * @return The gatewayServiceMesh. @@ -4820,10 +4822,11 @@ public com.google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh getGateway * * *
-   * Kubernetes Gateway API service mesh configuration.
+   * Optional. Kubernetes Gateway API service mesh configuration.
    * 
* - * .google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh gateway_service_mesh = 1; + * + * .google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh gateway_service_mesh = 1 [(.google.api.field_behavior) = OPTIONAL]; * */ @java.lang.Override @@ -4840,10 +4843,12 @@ public com.google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh getGateway * * *
-   * Kubernetes Service networking configuration.
+   * Optional. Kubernetes Service networking configuration.
    * 
* - * .google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking service_networking = 2; + * + * .google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking service_networking = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return Whether the serviceNetworking field is set. */ @@ -4855,10 +4860,12 @@ public boolean hasServiceNetworking() { * * *
-   * Kubernetes Service networking configuration.
+   * Optional. Kubernetes Service networking configuration.
    * 
* - * .google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking service_networking = 2; + * + * .google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking service_networking = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return The serviceNetworking. */ @@ -4873,10 +4880,12 @@ public com.google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking getServiceN * * *
-   * Kubernetes Service networking configuration.
+   * Optional. Kubernetes Service networking configuration.
    * 
* - * .google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking service_networking = 2; + * + * .google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking service_networking = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.KubernetesConfig.ServiceNetworkingOrBuilder @@ -5320,10 +5329,11 @@ public Builder clearServiceDefinition() { * * *
-     * Kubernetes Gateway API service mesh configuration.
+     * Optional. Kubernetes Gateway API service mesh configuration.
      * 
* - * .google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh gateway_service_mesh = 1; + * + * .google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh gateway_service_mesh = 1 [(.google.api.field_behavior) = OPTIONAL]; * * * @return Whether the gatewayServiceMesh field is set. @@ -5336,10 +5346,11 @@ public boolean hasGatewayServiceMesh() { * * *
-     * Kubernetes Gateway API service mesh configuration.
+     * Optional. Kubernetes Gateway API service mesh configuration.
      * 
* - * .google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh gateway_service_mesh = 1; + * + * .google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh gateway_service_mesh = 1 [(.google.api.field_behavior) = OPTIONAL]; * * * @return The gatewayServiceMesh. @@ -5363,10 +5374,11 @@ public com.google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh getGateway * * *
-     * Kubernetes Gateway API service mesh configuration.
+     * Optional. Kubernetes Gateway API service mesh configuration.
      * 
* - * .google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh gateway_service_mesh = 1; + * + * .google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh gateway_service_mesh = 1 [(.google.api.field_behavior) = OPTIONAL]; * */ public Builder setGatewayServiceMesh( @@ -5387,10 +5399,11 @@ public Builder setGatewayServiceMesh( * * *
-     * Kubernetes Gateway API service mesh configuration.
+     * Optional. Kubernetes Gateway API service mesh configuration.
      * 
* - * .google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh gateway_service_mesh = 1; + * + * .google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh gateway_service_mesh = 1 [(.google.api.field_behavior) = OPTIONAL]; * */ public Builder setGatewayServiceMesh( @@ -5408,10 +5421,11 @@ public Builder setGatewayServiceMesh( * * *
-     * Kubernetes Gateway API service mesh configuration.
+     * Optional. Kubernetes Gateway API service mesh configuration.
      * 
* - * .google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh gateway_service_mesh = 1; + * + * .google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh gateway_service_mesh = 1 [(.google.api.field_behavior) = OPTIONAL]; * */ public Builder mergeGatewayServiceMesh( @@ -5445,10 +5459,11 @@ public Builder mergeGatewayServiceMesh( * * *
-     * Kubernetes Gateway API service mesh configuration.
+     * Optional. Kubernetes Gateway API service mesh configuration.
      * 
* - * .google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh gateway_service_mesh = 1; + * + * .google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh gateway_service_mesh = 1 [(.google.api.field_behavior) = OPTIONAL]; * */ public Builder clearGatewayServiceMesh() { @@ -5471,10 +5486,11 @@ public Builder clearGatewayServiceMesh() { * * *
-     * Kubernetes Gateway API service mesh configuration.
+     * Optional. Kubernetes Gateway API service mesh configuration.
      * 
* - * .google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh gateway_service_mesh = 1; + * + * .google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh gateway_service_mesh = 1 [(.google.api.field_behavior) = OPTIONAL]; * */ public com.google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh.Builder @@ -5485,10 +5501,11 @@ public Builder clearGatewayServiceMesh() { * * *
-     * Kubernetes Gateway API service mesh configuration.
+     * Optional. Kubernetes Gateway API service mesh configuration.
      * 
* - * .google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh gateway_service_mesh = 1; + * + * .google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh gateway_service_mesh = 1 [(.google.api.field_behavior) = OPTIONAL]; * */ @java.lang.Override @@ -5508,10 +5525,11 @@ public Builder clearGatewayServiceMesh() { * * *
-     * Kubernetes Gateway API service mesh configuration.
+     * Optional. Kubernetes Gateway API service mesh configuration.
      * 
* - * .google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh gateway_service_mesh = 1; + * + * .google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh gateway_service_mesh = 1 [(.google.api.field_behavior) = OPTIONAL]; * */ private com.google.protobuf.SingleFieldBuilderV3< @@ -5548,10 +5566,11 @@ public Builder clearGatewayServiceMesh() { * * *
-     * Kubernetes Service networking configuration.
+     * Optional. Kubernetes Service networking configuration.
      * 
* - * .google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking service_networking = 2; + * + * .google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking service_networking = 2 [(.google.api.field_behavior) = OPTIONAL]; * * * @return Whether the serviceNetworking field is set. @@ -5564,10 +5583,11 @@ public boolean hasServiceNetworking() { * * *
-     * Kubernetes Service networking configuration.
+     * Optional. Kubernetes Service networking configuration.
      * 
* - * .google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking service_networking = 2; + * + * .google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking service_networking = 2 [(.google.api.field_behavior) = OPTIONAL]; * * * @return The serviceNetworking. @@ -5590,10 +5610,11 @@ public com.google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking getServiceN * * *
-     * Kubernetes Service networking configuration.
+     * Optional. Kubernetes Service networking configuration.
      * 
* - * .google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking service_networking = 2; + * + * .google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking service_networking = 2 [(.google.api.field_behavior) = OPTIONAL]; * */ public Builder setServiceNetworking( @@ -5614,10 +5635,11 @@ public Builder setServiceNetworking( * * *
-     * Kubernetes Service networking configuration.
+     * Optional. Kubernetes Service networking configuration.
      * 
* - * .google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking service_networking = 2; + * + * .google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking service_networking = 2 [(.google.api.field_behavior) = OPTIONAL]; * */ public Builder setServiceNetworking( @@ -5635,10 +5657,11 @@ public Builder setServiceNetworking( * * *
-     * Kubernetes Service networking configuration.
+     * Optional. Kubernetes Service networking configuration.
      * 
* - * .google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking service_networking = 2; + * + * .google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking service_networking = 2 [(.google.api.field_behavior) = OPTIONAL]; * */ public Builder mergeServiceNetworking( @@ -5672,10 +5695,11 @@ public Builder mergeServiceNetworking( * * *
-     * Kubernetes Service networking configuration.
+     * Optional. Kubernetes Service networking configuration.
      * 
* - * .google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking service_networking = 2; + * + * .google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking service_networking = 2 [(.google.api.field_behavior) = OPTIONAL]; * */ public Builder clearServiceNetworking() { @@ -5698,10 +5722,11 @@ public Builder clearServiceNetworking() { * * *
-     * Kubernetes Service networking configuration.
+     * Optional. Kubernetes Service networking configuration.
      * 
* - * .google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking service_networking = 2; + * + * .google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking service_networking = 2 [(.google.api.field_behavior) = OPTIONAL]; * */ public com.google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking.Builder @@ -5712,10 +5737,11 @@ public Builder clearServiceNetworking() { * * *
-     * Kubernetes Service networking configuration.
+     * Optional. Kubernetes Service networking configuration.
      * 
* - * .google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking service_networking = 2; + * + * .google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking service_networking = 2 [(.google.api.field_behavior) = OPTIONAL]; * */ @java.lang.Override @@ -5734,10 +5760,11 @@ public Builder clearServiceNetworking() { * * *
-     * Kubernetes Service networking configuration.
+     * Optional. Kubernetes Service networking configuration.
      * 
* - * .google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking service_networking = 2; + * + * .google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking service_networking = 2 [(.google.api.field_behavior) = OPTIONAL]; * */ private com.google.protobuf.SingleFieldBuilderV3< diff --git a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/KubernetesConfigOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/KubernetesConfigOrBuilder.java index e48b95e47d0e..6d81e27ec6bb 100644 --- a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/KubernetesConfigOrBuilder.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/KubernetesConfigOrBuilder.java @@ -28,10 +28,11 @@ public interface KubernetesConfigOrBuilder * * *
-   * Kubernetes Gateway API service mesh configuration.
+   * Optional. Kubernetes Gateway API service mesh configuration.
    * 
* - * .google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh gateway_service_mesh = 1; + * + * .google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh gateway_service_mesh = 1 [(.google.api.field_behavior) = OPTIONAL]; * * * @return Whether the gatewayServiceMesh field is set. @@ -41,10 +42,11 @@ public interface KubernetesConfigOrBuilder * * *
-   * Kubernetes Gateway API service mesh configuration.
+   * Optional. Kubernetes Gateway API service mesh configuration.
    * 
* - * .google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh gateway_service_mesh = 1; + * + * .google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh gateway_service_mesh = 1 [(.google.api.field_behavior) = OPTIONAL]; * * * @return The gatewayServiceMesh. @@ -54,10 +56,11 @@ public interface KubernetesConfigOrBuilder * * *
-   * Kubernetes Gateway API service mesh configuration.
+   * Optional. Kubernetes Gateway API service mesh configuration.
    * 
* - * .google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh gateway_service_mesh = 1; + * + * .google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh gateway_service_mesh = 1 [(.google.api.field_behavior) = OPTIONAL]; * */ com.google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMeshOrBuilder @@ -67,10 +70,12 @@ public interface KubernetesConfigOrBuilder * * *
-   * Kubernetes Service networking configuration.
+   * Optional. Kubernetes Service networking configuration.
    * 
* - * .google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking service_networking = 2; + * + * .google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking service_networking = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return Whether the serviceNetworking field is set. */ @@ -79,10 +84,12 @@ public interface KubernetesConfigOrBuilder * * *
-   * Kubernetes Service networking configuration.
+   * Optional. Kubernetes Service networking configuration.
    * 
* - * .google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking service_networking = 2; + * + * .google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking service_networking = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return The serviceNetworking. */ @@ -91,10 +98,12 @@ public interface KubernetesConfigOrBuilder * * *
-   * Kubernetes Service networking configuration.
+   * Optional. Kubernetes Service networking configuration.
    * 
* - * .google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking service_networking = 2; + * + * .google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking service_networking = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.deploy.v1.KubernetesConfig.ServiceNetworkingOrBuilder getServiceNetworkingOrBuilder(); diff --git a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PolicyRule.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PolicyRule.java index c3eee5b0f07d..5c5d0bff4ddf 100644 --- a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PolicyRule.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PolicyRule.java @@ -112,10 +112,12 @@ public RuleCase getRuleCase() { * * *
-   * Rollout restrictions.
+   * Optional. Rollout restrictions.
    * 
* - * .google.cloud.deploy.v1.RolloutRestriction rollout_restriction = 2; + * + * .google.cloud.deploy.v1.RolloutRestriction rollout_restriction = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return Whether the rolloutRestriction field is set. */ @@ -127,10 +129,12 @@ public boolean hasRolloutRestriction() { * * *
-   * Rollout restrictions.
+   * Optional. Rollout restrictions.
    * 
* - * .google.cloud.deploy.v1.RolloutRestriction rollout_restriction = 2; + * + * .google.cloud.deploy.v1.RolloutRestriction rollout_restriction = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return The rolloutRestriction. */ @@ -145,10 +149,12 @@ public com.google.cloud.deploy.v1.RolloutRestriction getRolloutRestriction() { * * *
-   * Rollout restrictions.
+   * Optional. Rollout restrictions.
    * 
* - * .google.cloud.deploy.v1.RolloutRestriction rollout_restriction = 2; + * + * .google.cloud.deploy.v1.RolloutRestriction rollout_restriction = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.RolloutRestrictionOrBuilder getRolloutRestrictionOrBuilder() { @@ -552,10 +558,12 @@ public Builder clearRule() { * * *
-     * Rollout restrictions.
+     * Optional. Rollout restrictions.
      * 
* - * .google.cloud.deploy.v1.RolloutRestriction rollout_restriction = 2; + * + * .google.cloud.deploy.v1.RolloutRestriction rollout_restriction = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return Whether the rolloutRestriction field is set. */ @@ -567,10 +575,12 @@ public boolean hasRolloutRestriction() { * * *
-     * Rollout restrictions.
+     * Optional. Rollout restrictions.
      * 
* - * .google.cloud.deploy.v1.RolloutRestriction rollout_restriction = 2; + * + * .google.cloud.deploy.v1.RolloutRestriction rollout_restriction = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return The rolloutRestriction. */ @@ -592,10 +602,12 @@ public com.google.cloud.deploy.v1.RolloutRestriction getRolloutRestriction() { * * *
-     * Rollout restrictions.
+     * Optional. Rollout restrictions.
      * 
* - * .google.cloud.deploy.v1.RolloutRestriction rollout_restriction = 2; + * + * .google.cloud.deploy.v1.RolloutRestriction rollout_restriction = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setRolloutRestriction(com.google.cloud.deploy.v1.RolloutRestriction value) { if (rolloutRestrictionBuilder_ == null) { @@ -614,10 +626,12 @@ public Builder setRolloutRestriction(com.google.cloud.deploy.v1.RolloutRestricti * * *
-     * Rollout restrictions.
+     * Optional. Rollout restrictions.
      * 
* - * .google.cloud.deploy.v1.RolloutRestriction rollout_restriction = 2; + * + * .google.cloud.deploy.v1.RolloutRestriction rollout_restriction = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setRolloutRestriction( com.google.cloud.deploy.v1.RolloutRestriction.Builder builderForValue) { @@ -634,10 +648,12 @@ public Builder setRolloutRestriction( * * *
-     * Rollout restrictions.
+     * Optional. Rollout restrictions.
      * 
* - * .google.cloud.deploy.v1.RolloutRestriction rollout_restriction = 2; + * + * .google.cloud.deploy.v1.RolloutRestriction rollout_restriction = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeRolloutRestriction(com.google.cloud.deploy.v1.RolloutRestriction value) { if (rolloutRestrictionBuilder_ == null) { @@ -666,10 +682,12 @@ public Builder mergeRolloutRestriction(com.google.cloud.deploy.v1.RolloutRestric * * *
-     * Rollout restrictions.
+     * Optional. Rollout restrictions.
      * 
* - * .google.cloud.deploy.v1.RolloutRestriction rollout_restriction = 2; + * + * .google.cloud.deploy.v1.RolloutRestriction rollout_restriction = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearRolloutRestriction() { if (rolloutRestrictionBuilder_ == null) { @@ -691,10 +709,12 @@ public Builder clearRolloutRestriction() { * * *
-     * Rollout restrictions.
+     * Optional. Rollout restrictions.
      * 
* - * .google.cloud.deploy.v1.RolloutRestriction rollout_restriction = 2; + * + * .google.cloud.deploy.v1.RolloutRestriction rollout_restriction = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.deploy.v1.RolloutRestriction.Builder getRolloutRestrictionBuilder() { return getRolloutRestrictionFieldBuilder().getBuilder(); @@ -703,10 +723,12 @@ public com.google.cloud.deploy.v1.RolloutRestriction.Builder getRolloutRestricti * * *
-     * Rollout restrictions.
+     * Optional. Rollout restrictions.
      * 
* - * .google.cloud.deploy.v1.RolloutRestriction rollout_restriction = 2; + * + * .google.cloud.deploy.v1.RolloutRestriction rollout_restriction = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.RolloutRestrictionOrBuilder getRolloutRestrictionOrBuilder() { @@ -723,10 +745,12 @@ public com.google.cloud.deploy.v1.RolloutRestrictionOrBuilder getRolloutRestrict * * *
-     * Rollout restrictions.
+     * Optional. Rollout restrictions.
      * 
* - * .google.cloud.deploy.v1.RolloutRestriction rollout_restriction = 2; + * + * .google.cloud.deploy.v1.RolloutRestriction rollout_restriction = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.deploy.v1.RolloutRestriction, diff --git a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PolicyRuleOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PolicyRuleOrBuilder.java index 085881bc1be4..c01fc8d98e40 100644 --- a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PolicyRuleOrBuilder.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/PolicyRuleOrBuilder.java @@ -28,10 +28,12 @@ public interface PolicyRuleOrBuilder * * *
-   * Rollout restrictions.
+   * Optional. Rollout restrictions.
    * 
* - * .google.cloud.deploy.v1.RolloutRestriction rollout_restriction = 2; + * + * .google.cloud.deploy.v1.RolloutRestriction rollout_restriction = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return Whether the rolloutRestriction field is set. */ @@ -40,10 +42,12 @@ public interface PolicyRuleOrBuilder * * *
-   * Rollout restrictions.
+   * Optional. Rollout restrictions.
    * 
* - * .google.cloud.deploy.v1.RolloutRestriction rollout_restriction = 2; + * + * .google.cloud.deploy.v1.RolloutRestriction rollout_restriction = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return The rolloutRestriction. */ @@ -52,10 +56,12 @@ public interface PolicyRuleOrBuilder * * *
-   * Rollout restrictions.
+   * Optional. Rollout restrictions.
    * 
* - * .google.cloud.deploy.v1.RolloutRestriction rollout_restriction = 2; + * + * .google.cloud.deploy.v1.RolloutRestriction rollout_restriction = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.deploy.v1.RolloutRestrictionOrBuilder getRolloutRestrictionOrBuilder(); diff --git a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Release.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Release.java index e44b820da1f3..2e0a81a3ab7c 100644 --- a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Release.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Release.java @@ -5499,12 +5499,12 @@ public com.google.cloud.deploy.v1.Release.ReleaseCondition getDefaultInstanceFor * * *
-   * Optional. Name of the `Release`. Format is
+   * Identifier. Name of the `Release`. Format is
    * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}`.
    * The `release` component must match `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`
    * 
* - * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The name. */ @@ -5524,12 +5524,12 @@ public java.lang.String getName() { * * *
-   * Optional. Name of the `Release`. Format is
+   * Identifier. Name of the `Release`. Format is
    * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}`.
    * The `release` component must match `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`
    * 
* - * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The bytes for name. */ @@ -5605,10 +5605,10 @@ public com.google.protobuf.ByteString getUidBytes() { * * *
-   * Description of the `Release`. Max length is 255 characters.
+   * Optional. Description of the `Release`. Max length is 255 characters.
    * 
* - * string description = 3; + * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The description. */ @@ -5628,10 +5628,10 @@ public java.lang.String getDescription() { * * *
-   * Description of the `Release`. Max length is 255 characters.
+   * Optional. Description of the `Release`. Max length is 255 characters.
    * 
* - * string description = 3; + * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for description. */ @@ -5679,12 +5679,14 @@ public int getAnnotationsCount() { * * *
-   * User annotations. These attributes can only be set and used by the
-   * user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations
-   * for more details such as format and size limitations.
+   * Optional. User annotations. These attributes can only be set and used by
+   * the user, and not by Cloud Deploy. See
+   * https://google.aip.dev/128#annotations for more details such as format and
+   * size limitations.
    * 
* - * map<string, string> annotations = 4; + * map<string, string> annotations = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public boolean containsAnnotations(java.lang.String key) { @@ -5703,12 +5705,14 @@ public java.util.Map getAnnotations() { * * *
-   * User annotations. These attributes can only be set and used by the
-   * user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations
-   * for more details such as format and size limitations.
+   * Optional. User annotations. These attributes can only be set and used by
+   * the user, and not by Cloud Deploy. See
+   * https://google.aip.dev/128#annotations for more details such as format and
+   * size limitations.
    * 
* - * map<string, string> annotations = 4; + * map<string, string> annotations = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public java.util.Map getAnnotationsMap() { @@ -5718,12 +5722,14 @@ public java.util.Map getAnnotationsMap() { * * *
-   * User annotations. These attributes can only be set and used by the
-   * user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations
-   * for more details such as format and size limitations.
+   * Optional. User annotations. These attributes can only be set and used by
+   * the user, and not by Cloud Deploy. See
+   * https://google.aip.dev/128#annotations for more details such as format and
+   * size limitations.
    * 
* - * map<string, string> annotations = 4; + * map<string, string> annotations = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public /* nullable */ java.lang.String getAnnotationsOrDefault( @@ -5740,12 +5746,14 @@ public java.util.Map getAnnotationsMap() { * * *
-   * User annotations. These attributes can only be set and used by the
-   * user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations
-   * for more details such as format and size limitations.
+   * Optional. User annotations. These attributes can only be set and used by
+   * the user, and not by Cloud Deploy. See
+   * https://google.aip.dev/128#annotations for more details such as format and
+   * size limitations.
    * 
* - * map<string, string> annotations = 4; + * map<string, string> annotations = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public java.lang.String getAnnotationsOrThrow(java.lang.String key) { @@ -6088,10 +6096,11 @@ public com.google.protobuf.TimestampOrBuilder getRenderEndTimeOrBuilder() { * * *
-   * Cloud Storage URI of tar.gz archive containing Skaffold configuration.
+   * Optional. Cloud Storage URI of tar.gz archive containing Skaffold
+   * configuration.
    * 
* - * string skaffold_config_uri = 17; + * string skaffold_config_uri = 17 [(.google.api.field_behavior) = OPTIONAL]; * * @return The skaffoldConfigUri. */ @@ -6111,10 +6120,11 @@ public java.lang.String getSkaffoldConfigUri() { * * *
-   * Cloud Storage URI of tar.gz archive containing Skaffold configuration.
+   * Optional. Cloud Storage URI of tar.gz archive containing Skaffold
+   * configuration.
    * 
* - * string skaffold_config_uri = 17; + * string skaffold_config_uri = 17 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for skaffoldConfigUri. */ @@ -6139,10 +6149,10 @@ public com.google.protobuf.ByteString getSkaffoldConfigUriBytes() { * * *
-   * Filepath of the Skaffold config inside of the config URI.
+   * Optional. Filepath of the Skaffold config inside of the config URI.
    * 
* - * string skaffold_config_path = 9; + * string skaffold_config_path = 9 [(.google.api.field_behavior) = OPTIONAL]; * * @return The skaffoldConfigPath. */ @@ -6162,10 +6172,10 @@ public java.lang.String getSkaffoldConfigPath() { * * *
-   * Filepath of the Skaffold config inside of the config URI.
+   * Optional. Filepath of the Skaffold config inside of the config URI.
    * 
* - * string skaffold_config_path = 9; + * string skaffold_config_path = 9 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for skaffoldConfigPath. */ @@ -6190,10 +6200,12 @@ public com.google.protobuf.ByteString getSkaffoldConfigPathBytes() { * * *
-   * List of artifacts to pass through to Skaffold command.
+   * Optional. List of artifacts to pass through to Skaffold command.
    * 
* - * repeated .google.cloud.deploy.v1.BuildArtifact build_artifacts = 10; + * + * repeated .google.cloud.deploy.v1.BuildArtifact build_artifacts = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public java.util.List getBuildArtifactsList() { @@ -6203,10 +6215,12 @@ public java.util.List getBuildArtifact * * *
-   * List of artifacts to pass through to Skaffold command.
+   * Optional. List of artifacts to pass through to Skaffold command.
    * 
* - * repeated .google.cloud.deploy.v1.BuildArtifact build_artifacts = 10; + * + * repeated .google.cloud.deploy.v1.BuildArtifact build_artifacts = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public java.util.List @@ -6217,10 +6231,12 @@ public java.util.List getBuildArtifact * * *
-   * List of artifacts to pass through to Skaffold command.
+   * Optional. List of artifacts to pass through to Skaffold command.
    * 
* - * repeated .google.cloud.deploy.v1.BuildArtifact build_artifacts = 10; + * + * repeated .google.cloud.deploy.v1.BuildArtifact build_artifacts = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public int getBuildArtifactsCount() { @@ -6230,10 +6246,12 @@ public int getBuildArtifactsCount() { * * *
-   * List of artifacts to pass through to Skaffold command.
+   * Optional. List of artifacts to pass through to Skaffold command.
    * 
* - * repeated .google.cloud.deploy.v1.BuildArtifact build_artifacts = 10; + * + * repeated .google.cloud.deploy.v1.BuildArtifact build_artifacts = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.BuildArtifact getBuildArtifacts(int index) { @@ -6243,10 +6261,12 @@ public com.google.cloud.deploy.v1.BuildArtifact getBuildArtifacts(int index) { * * *
-   * List of artifacts to pass through to Skaffold command.
+   * Optional. List of artifacts to pass through to Skaffold command.
    * 
* - * repeated .google.cloud.deploy.v1.BuildArtifact build_artifacts = 10; + * + * repeated .google.cloud.deploy.v1.BuildArtifact build_artifacts = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.BuildArtifactOrBuilder getBuildArtifactsOrBuilder(int index) { @@ -8212,12 +8232,12 @@ public Builder mergeFrom( * * *
-     * Optional. Name of the `Release`. Format is
+     * Identifier. Name of the `Release`. Format is
      * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}`.
      * The `release` component must match `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`
      * 
* - * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The name. */ @@ -8236,12 +8256,12 @@ public java.lang.String getName() { * * *
-     * Optional. Name of the `Release`. Format is
+     * Identifier. Name of the `Release`. Format is
      * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}`.
      * The `release` component must match `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`
      * 
* - * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The bytes for name. */ @@ -8260,12 +8280,12 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Optional. Name of the `Release`. Format is
+     * Identifier. Name of the `Release`. Format is
      * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}`.
      * The `release` component must match `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`
      * 
* - * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @param value The name to set. * @return This builder for chaining. @@ -8283,12 +8303,12 @@ public Builder setName(java.lang.String value) { * * *
-     * Optional. Name of the `Release`. Format is
+     * Identifier. Name of the `Release`. Format is
      * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}`.
      * The `release` component must match `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`
      * 
* - * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return This builder for chaining. */ @@ -8302,12 +8322,12 @@ public Builder clearName() { * * *
-     * Optional. Name of the `Release`. Format is
+     * Identifier. Name of the `Release`. Format is
      * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}`.
      * The `release` component must match `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`
      * 
* - * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @param value The bytes for name to set. * @return This builder for chaining. @@ -8434,10 +8454,10 @@ public Builder setUidBytes(com.google.protobuf.ByteString value) { * * *
-     * Description of the `Release`. Max length is 255 characters.
+     * Optional. Description of the `Release`. Max length is 255 characters.
      * 
* - * string description = 3; + * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The description. */ @@ -8456,10 +8476,10 @@ public java.lang.String getDescription() { * * *
-     * Description of the `Release`. Max length is 255 characters.
+     * Optional. Description of the `Release`. Max length is 255 characters.
      * 
* - * string description = 3; + * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for description. */ @@ -8478,10 +8498,10 @@ public com.google.protobuf.ByteString getDescriptionBytes() { * * *
-     * Description of the `Release`. Max length is 255 characters.
+     * Optional. Description of the `Release`. Max length is 255 characters.
      * 
* - * string description = 3; + * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The description to set. * @return This builder for chaining. @@ -8499,10 +8519,10 @@ public Builder setDescription(java.lang.String value) { * * *
-     * Description of the `Release`. Max length is 255 characters.
+     * Optional. Description of the `Release`. Max length is 255 characters.
      * 
* - * string description = 3; + * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return This builder for chaining. */ @@ -8516,10 +8536,10 @@ public Builder clearDescription() { * * *
-     * Description of the `Release`. Max length is 255 characters.
+     * Optional. Description of the `Release`. Max length is 255 characters.
      * 
* - * string description = 3; + * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The bytes for description to set. * @return This builder for chaining. @@ -8567,12 +8587,14 @@ public int getAnnotationsCount() { * * *
-     * User annotations. These attributes can only be set and used by the
-     * user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations
-     * for more details such as format and size limitations.
+     * Optional. User annotations. These attributes can only be set and used by
+     * the user, and not by Cloud Deploy. See
+     * https://google.aip.dev/128#annotations for more details such as format and
+     * size limitations.
      * 
* - * map<string, string> annotations = 4; + * map<string, string> annotations = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public boolean containsAnnotations(java.lang.String key) { @@ -8591,12 +8613,14 @@ public java.util.Map getAnnotations() { * * *
-     * User annotations. These attributes can only be set and used by the
-     * user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations
-     * for more details such as format and size limitations.
+     * Optional. User annotations. These attributes can only be set and used by
+     * the user, and not by Cloud Deploy. See
+     * https://google.aip.dev/128#annotations for more details such as format and
+     * size limitations.
      * 
* - * map<string, string> annotations = 4; + * map<string, string> annotations = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public java.util.Map getAnnotationsMap() { @@ -8606,12 +8630,14 @@ public java.util.Map getAnnotationsMap() { * * *
-     * User annotations. These attributes can only be set and used by the
-     * user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations
-     * for more details such as format and size limitations.
+     * Optional. User annotations. These attributes can only be set and used by
+     * the user, and not by Cloud Deploy. See
+     * https://google.aip.dev/128#annotations for more details such as format and
+     * size limitations.
      * 
* - * map<string, string> annotations = 4; + * map<string, string> annotations = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public /* nullable */ java.lang.String getAnnotationsOrDefault( @@ -8628,12 +8654,14 @@ public java.util.Map getAnnotationsMap() { * * *
-     * User annotations. These attributes can only be set and used by the
-     * user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations
-     * for more details such as format and size limitations.
+     * Optional. User annotations. These attributes can only be set and used by
+     * the user, and not by Cloud Deploy. See
+     * https://google.aip.dev/128#annotations for more details such as format and
+     * size limitations.
      * 
* - * map<string, string> annotations = 4; + * map<string, string> annotations = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public java.lang.String getAnnotationsOrThrow(java.lang.String key) { @@ -8656,12 +8684,14 @@ public Builder clearAnnotations() { * * *
-     * User annotations. These attributes can only be set and used by the
-     * user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations
-     * for more details such as format and size limitations.
+     * Optional. User annotations. These attributes can only be set and used by
+     * the user, and not by Cloud Deploy. See
+     * https://google.aip.dev/128#annotations for more details such as format and
+     * size limitations.
      * 
* - * map<string, string> annotations = 4; + * map<string, string> annotations = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder removeAnnotations(java.lang.String key) { if (key == null) { @@ -8680,12 +8710,14 @@ public java.util.Map getMutableAnnotations() * * *
-     * User annotations. These attributes can only be set and used by the
-     * user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations
-     * for more details such as format and size limitations.
+     * Optional. User annotations. These attributes can only be set and used by
+     * the user, and not by Cloud Deploy. See
+     * https://google.aip.dev/128#annotations for more details such as format and
+     * size limitations.
      * 
* - * map<string, string> annotations = 4; + * map<string, string> annotations = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder putAnnotations(java.lang.String key, java.lang.String value) { if (key == null) { @@ -8702,12 +8734,14 @@ public Builder putAnnotations(java.lang.String key, java.lang.String value) { * * *
-     * User annotations. These attributes can only be set and used by the
-     * user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations
-     * for more details such as format and size limitations.
+     * Optional. User annotations. These attributes can only be set and used by
+     * the user, and not by Cloud Deploy. See
+     * https://google.aip.dev/128#annotations for more details such as format and
+     * size limitations.
      * 
* - * map<string, string> annotations = 4; + * map<string, string> annotations = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder putAllAnnotations(java.util.Map values) { internalGetMutableAnnotations().getMutableMap().putAll(values); @@ -9615,10 +9649,11 @@ public com.google.protobuf.TimestampOrBuilder getRenderEndTimeOrBuilder() { * * *
-     * Cloud Storage URI of tar.gz archive containing Skaffold configuration.
+     * Optional. Cloud Storage URI of tar.gz archive containing Skaffold
+     * configuration.
      * 
* - * string skaffold_config_uri = 17; + * string skaffold_config_uri = 17 [(.google.api.field_behavior) = OPTIONAL]; * * @return The skaffoldConfigUri. */ @@ -9637,10 +9672,11 @@ public java.lang.String getSkaffoldConfigUri() { * * *
-     * Cloud Storage URI of tar.gz archive containing Skaffold configuration.
+     * Optional. Cloud Storage URI of tar.gz archive containing Skaffold
+     * configuration.
      * 
* - * string skaffold_config_uri = 17; + * string skaffold_config_uri = 17 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for skaffoldConfigUri. */ @@ -9659,10 +9695,11 @@ public com.google.protobuf.ByteString getSkaffoldConfigUriBytes() { * * *
-     * Cloud Storage URI of tar.gz archive containing Skaffold configuration.
+     * Optional. Cloud Storage URI of tar.gz archive containing Skaffold
+     * configuration.
      * 
* - * string skaffold_config_uri = 17; + * string skaffold_config_uri = 17 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The skaffoldConfigUri to set. * @return This builder for chaining. @@ -9680,10 +9717,11 @@ public Builder setSkaffoldConfigUri(java.lang.String value) { * * *
-     * Cloud Storage URI of tar.gz archive containing Skaffold configuration.
+     * Optional. Cloud Storage URI of tar.gz archive containing Skaffold
+     * configuration.
      * 
* - * string skaffold_config_uri = 17; + * string skaffold_config_uri = 17 [(.google.api.field_behavior) = OPTIONAL]; * * @return This builder for chaining. */ @@ -9697,10 +9735,11 @@ public Builder clearSkaffoldConfigUri() { * * *
-     * Cloud Storage URI of tar.gz archive containing Skaffold configuration.
+     * Optional. Cloud Storage URI of tar.gz archive containing Skaffold
+     * configuration.
      * 
* - * string skaffold_config_uri = 17; + * string skaffold_config_uri = 17 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The bytes for skaffoldConfigUri to set. * @return This builder for chaining. @@ -9721,10 +9760,10 @@ public Builder setSkaffoldConfigUriBytes(com.google.protobuf.ByteString value) { * * *
-     * Filepath of the Skaffold config inside of the config URI.
+     * Optional. Filepath of the Skaffold config inside of the config URI.
      * 
* - * string skaffold_config_path = 9; + * string skaffold_config_path = 9 [(.google.api.field_behavior) = OPTIONAL]; * * @return The skaffoldConfigPath. */ @@ -9743,10 +9782,10 @@ public java.lang.String getSkaffoldConfigPath() { * * *
-     * Filepath of the Skaffold config inside of the config URI.
+     * Optional. Filepath of the Skaffold config inside of the config URI.
      * 
* - * string skaffold_config_path = 9; + * string skaffold_config_path = 9 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for skaffoldConfigPath. */ @@ -9765,10 +9804,10 @@ public com.google.protobuf.ByteString getSkaffoldConfigPathBytes() { * * *
-     * Filepath of the Skaffold config inside of the config URI.
+     * Optional. Filepath of the Skaffold config inside of the config URI.
      * 
* - * string skaffold_config_path = 9; + * string skaffold_config_path = 9 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The skaffoldConfigPath to set. * @return This builder for chaining. @@ -9786,10 +9825,10 @@ public Builder setSkaffoldConfigPath(java.lang.String value) { * * *
-     * Filepath of the Skaffold config inside of the config URI.
+     * Optional. Filepath of the Skaffold config inside of the config URI.
      * 
* - * string skaffold_config_path = 9; + * string skaffold_config_path = 9 [(.google.api.field_behavior) = OPTIONAL]; * * @return This builder for chaining. */ @@ -9803,10 +9842,10 @@ public Builder clearSkaffoldConfigPath() { * * *
-     * Filepath of the Skaffold config inside of the config URI.
+     * Optional. Filepath of the Skaffold config inside of the config URI.
      * 
* - * string skaffold_config_path = 9; + * string skaffold_config_path = 9 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The bytes for skaffoldConfigPath to set. * @return This builder for chaining. @@ -9843,10 +9882,12 @@ private void ensureBuildArtifactsIsMutable() { * * *
-     * List of artifacts to pass through to Skaffold command.
+     * Optional. List of artifacts to pass through to Skaffold command.
      * 
* - * repeated .google.cloud.deploy.v1.BuildArtifact build_artifacts = 10; + * + * repeated .google.cloud.deploy.v1.BuildArtifact build_artifacts = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ public java.util.List getBuildArtifactsList() { if (buildArtifactsBuilder_ == null) { @@ -9859,10 +9900,12 @@ public java.util.List getBuildArtifact * * *
-     * List of artifacts to pass through to Skaffold command.
+     * Optional. List of artifacts to pass through to Skaffold command.
      * 
* - * repeated .google.cloud.deploy.v1.BuildArtifact build_artifacts = 10; + * + * repeated .google.cloud.deploy.v1.BuildArtifact build_artifacts = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ public int getBuildArtifactsCount() { if (buildArtifactsBuilder_ == null) { @@ -9875,10 +9918,12 @@ public int getBuildArtifactsCount() { * * *
-     * List of artifacts to pass through to Skaffold command.
+     * Optional. List of artifacts to pass through to Skaffold command.
      * 
* - * repeated .google.cloud.deploy.v1.BuildArtifact build_artifacts = 10; + * + * repeated .google.cloud.deploy.v1.BuildArtifact build_artifacts = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.deploy.v1.BuildArtifact getBuildArtifacts(int index) { if (buildArtifactsBuilder_ == null) { @@ -9891,10 +9936,12 @@ public com.google.cloud.deploy.v1.BuildArtifact getBuildArtifacts(int index) { * * *
-     * List of artifacts to pass through to Skaffold command.
+     * Optional. List of artifacts to pass through to Skaffold command.
      * 
* - * repeated .google.cloud.deploy.v1.BuildArtifact build_artifacts = 10; + * + * repeated .google.cloud.deploy.v1.BuildArtifact build_artifacts = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setBuildArtifacts(int index, com.google.cloud.deploy.v1.BuildArtifact value) { if (buildArtifactsBuilder_ == null) { @@ -9913,10 +9960,12 @@ public Builder setBuildArtifacts(int index, com.google.cloud.deploy.v1.BuildArti * * *
-     * List of artifacts to pass through to Skaffold command.
+     * Optional. List of artifacts to pass through to Skaffold command.
      * 
* - * repeated .google.cloud.deploy.v1.BuildArtifact build_artifacts = 10; + * + * repeated .google.cloud.deploy.v1.BuildArtifact build_artifacts = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setBuildArtifacts( int index, com.google.cloud.deploy.v1.BuildArtifact.Builder builderForValue) { @@ -9933,10 +9982,12 @@ public Builder setBuildArtifacts( * * *
-     * List of artifacts to pass through to Skaffold command.
+     * Optional. List of artifacts to pass through to Skaffold command.
      * 
* - * repeated .google.cloud.deploy.v1.BuildArtifact build_artifacts = 10; + * + * repeated .google.cloud.deploy.v1.BuildArtifact build_artifacts = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addBuildArtifacts(com.google.cloud.deploy.v1.BuildArtifact value) { if (buildArtifactsBuilder_ == null) { @@ -9955,10 +10006,12 @@ public Builder addBuildArtifacts(com.google.cloud.deploy.v1.BuildArtifact value) * * *
-     * List of artifacts to pass through to Skaffold command.
+     * Optional. List of artifacts to pass through to Skaffold command.
      * 
* - * repeated .google.cloud.deploy.v1.BuildArtifact build_artifacts = 10; + * + * repeated .google.cloud.deploy.v1.BuildArtifact build_artifacts = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addBuildArtifacts(int index, com.google.cloud.deploy.v1.BuildArtifact value) { if (buildArtifactsBuilder_ == null) { @@ -9977,10 +10030,12 @@ public Builder addBuildArtifacts(int index, com.google.cloud.deploy.v1.BuildArti * * *
-     * List of artifacts to pass through to Skaffold command.
+     * Optional. List of artifacts to pass through to Skaffold command.
      * 
* - * repeated .google.cloud.deploy.v1.BuildArtifact build_artifacts = 10; + * + * repeated .google.cloud.deploy.v1.BuildArtifact build_artifacts = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addBuildArtifacts( com.google.cloud.deploy.v1.BuildArtifact.Builder builderForValue) { @@ -9997,10 +10052,12 @@ public Builder addBuildArtifacts( * * *
-     * List of artifacts to pass through to Skaffold command.
+     * Optional. List of artifacts to pass through to Skaffold command.
      * 
* - * repeated .google.cloud.deploy.v1.BuildArtifact build_artifacts = 10; + * + * repeated .google.cloud.deploy.v1.BuildArtifact build_artifacts = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addBuildArtifacts( int index, com.google.cloud.deploy.v1.BuildArtifact.Builder builderForValue) { @@ -10017,10 +10074,12 @@ public Builder addBuildArtifacts( * * *
-     * List of artifacts to pass through to Skaffold command.
+     * Optional. List of artifacts to pass through to Skaffold command.
      * 
* - * repeated .google.cloud.deploy.v1.BuildArtifact build_artifacts = 10; + * + * repeated .google.cloud.deploy.v1.BuildArtifact build_artifacts = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addAllBuildArtifacts( java.lang.Iterable values) { @@ -10037,10 +10096,12 @@ public Builder addAllBuildArtifacts( * * *
-     * List of artifacts to pass through to Skaffold command.
+     * Optional. List of artifacts to pass through to Skaffold command.
      * 
* - * repeated .google.cloud.deploy.v1.BuildArtifact build_artifacts = 10; + * + * repeated .google.cloud.deploy.v1.BuildArtifact build_artifacts = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearBuildArtifacts() { if (buildArtifactsBuilder_ == null) { @@ -10056,10 +10117,12 @@ public Builder clearBuildArtifacts() { * * *
-     * List of artifacts to pass through to Skaffold command.
+     * Optional. List of artifacts to pass through to Skaffold command.
      * 
* - * repeated .google.cloud.deploy.v1.BuildArtifact build_artifacts = 10; + * + * repeated .google.cloud.deploy.v1.BuildArtifact build_artifacts = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder removeBuildArtifacts(int index) { if (buildArtifactsBuilder_ == null) { @@ -10075,10 +10138,12 @@ public Builder removeBuildArtifacts(int index) { * * *
-     * List of artifacts to pass through to Skaffold command.
+     * Optional. List of artifacts to pass through to Skaffold command.
      * 
* - * repeated .google.cloud.deploy.v1.BuildArtifact build_artifacts = 10; + * + * repeated .google.cloud.deploy.v1.BuildArtifact build_artifacts = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.deploy.v1.BuildArtifact.Builder getBuildArtifactsBuilder(int index) { return getBuildArtifactsFieldBuilder().getBuilder(index); @@ -10087,10 +10152,12 @@ public com.google.cloud.deploy.v1.BuildArtifact.Builder getBuildArtifactsBuilder * * *
-     * List of artifacts to pass through to Skaffold command.
+     * Optional. List of artifacts to pass through to Skaffold command.
      * 
* - * repeated .google.cloud.deploy.v1.BuildArtifact build_artifacts = 10; + * + * repeated .google.cloud.deploy.v1.BuildArtifact build_artifacts = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.deploy.v1.BuildArtifactOrBuilder getBuildArtifactsOrBuilder(int index) { if (buildArtifactsBuilder_ == null) { @@ -10103,10 +10170,12 @@ public com.google.cloud.deploy.v1.BuildArtifactOrBuilder getBuildArtifactsOrBuil * * *
-     * List of artifacts to pass through to Skaffold command.
+     * Optional. List of artifacts to pass through to Skaffold command.
      * 
* - * repeated .google.cloud.deploy.v1.BuildArtifact build_artifacts = 10; + * + * repeated .google.cloud.deploy.v1.BuildArtifact build_artifacts = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ public java.util.List getBuildArtifactsOrBuilderList() { @@ -10120,10 +10189,12 @@ public com.google.cloud.deploy.v1.BuildArtifactOrBuilder getBuildArtifactsOrBuil * * *
-     * List of artifacts to pass through to Skaffold command.
+     * Optional. List of artifacts to pass through to Skaffold command.
      * 
* - * repeated .google.cloud.deploy.v1.BuildArtifact build_artifacts = 10; + * + * repeated .google.cloud.deploy.v1.BuildArtifact build_artifacts = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.deploy.v1.BuildArtifact.Builder addBuildArtifactsBuilder() { return getBuildArtifactsFieldBuilder() @@ -10133,10 +10204,12 @@ public com.google.cloud.deploy.v1.BuildArtifact.Builder addBuildArtifactsBuilder * * *
-     * List of artifacts to pass through to Skaffold command.
+     * Optional. List of artifacts to pass through to Skaffold command.
      * 
* - * repeated .google.cloud.deploy.v1.BuildArtifact build_artifacts = 10; + * + * repeated .google.cloud.deploy.v1.BuildArtifact build_artifacts = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.deploy.v1.BuildArtifact.Builder addBuildArtifactsBuilder(int index) { return getBuildArtifactsFieldBuilder() @@ -10146,10 +10219,12 @@ public com.google.cloud.deploy.v1.BuildArtifact.Builder addBuildArtifactsBuilder * * *
-     * List of artifacts to pass through to Skaffold command.
+     * Optional. List of artifacts to pass through to Skaffold command.
      * 
* - * repeated .google.cloud.deploy.v1.BuildArtifact build_artifacts = 10; + * + * repeated .google.cloud.deploy.v1.BuildArtifact build_artifacts = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ public java.util.List getBuildArtifactsBuilderList() { diff --git a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ReleaseOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ReleaseOrBuilder.java index 366ec3f76e90..c87127a32c49 100644 --- a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ReleaseOrBuilder.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/ReleaseOrBuilder.java @@ -28,12 +28,12 @@ public interface ReleaseOrBuilder * * *
-   * Optional. Name of the `Release`. Format is
+   * Identifier. Name of the `Release`. Format is
    * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}`.
    * The `release` component must match `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`
    * 
* - * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The name. */ @@ -42,12 +42,12 @@ public interface ReleaseOrBuilder * * *
-   * Optional. Name of the `Release`. Format is
+   * Identifier. Name of the `Release`. Format is
    * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}`.
    * The `release` component must match `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`
    * 
* - * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The bytes for name. */ @@ -82,10 +82,10 @@ public interface ReleaseOrBuilder * * *
-   * Description of the `Release`. Max length is 255 characters.
+   * Optional. Description of the `Release`. Max length is 255 characters.
    * 
* - * string description = 3; + * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The description. */ @@ -94,10 +94,10 @@ public interface ReleaseOrBuilder * * *
-   * Description of the `Release`. Max length is 255 characters.
+   * Optional. Description of the `Release`. Max length is 255 characters.
    * 
* - * string description = 3; + * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for description. */ @@ -107,24 +107,28 @@ public interface ReleaseOrBuilder * * *
-   * User annotations. These attributes can only be set and used by the
-   * user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations
-   * for more details such as format and size limitations.
+   * Optional. User annotations. These attributes can only be set and used by
+   * the user, and not by Cloud Deploy. See
+   * https://google.aip.dev/128#annotations for more details such as format and
+   * size limitations.
    * 
* - * map<string, string> annotations = 4; + * map<string, string> annotations = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ int getAnnotationsCount(); /** * * *
-   * User annotations. These attributes can only be set and used by the
-   * user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations
-   * for more details such as format and size limitations.
+   * Optional. User annotations. These attributes can only be set and used by
+   * the user, and not by Cloud Deploy. See
+   * https://google.aip.dev/128#annotations for more details such as format and
+   * size limitations.
    * 
* - * map<string, string> annotations = 4; + * map<string, string> annotations = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ boolean containsAnnotations(java.lang.String key); /** Use {@link #getAnnotationsMap()} instead. */ @@ -134,24 +138,28 @@ public interface ReleaseOrBuilder * * *
-   * User annotations. These attributes can only be set and used by the
-   * user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations
-   * for more details such as format and size limitations.
+   * Optional. User annotations. These attributes can only be set and used by
+   * the user, and not by Cloud Deploy. See
+   * https://google.aip.dev/128#annotations for more details such as format and
+   * size limitations.
    * 
* - * map<string, string> annotations = 4; + * map<string, string> annotations = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ java.util.Map getAnnotationsMap(); /** * * *
-   * User annotations. These attributes can only be set and used by the
-   * user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations
-   * for more details such as format and size limitations.
+   * Optional. User annotations. These attributes can only be set and used by
+   * the user, and not by Cloud Deploy. See
+   * https://google.aip.dev/128#annotations for more details such as format and
+   * size limitations.
    * 
* - * map<string, string> annotations = 4; + * map<string, string> annotations = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ /* nullable */ java.lang.String getAnnotationsOrDefault( @@ -162,12 +170,14 @@ java.lang.String getAnnotationsOrDefault( * * *
-   * User annotations. These attributes can only be set and used by the
-   * user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations
-   * for more details such as format and size limitations.
+   * Optional. User annotations. These attributes can only be set and used by
+   * the user, and not by Cloud Deploy. See
+   * https://google.aip.dev/128#annotations for more details such as format and
+   * size limitations.
    * 
* - * map<string, string> annotations = 4; + * map<string, string> annotations = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ java.lang.String getAnnotationsOrThrow(java.lang.String key); @@ -416,10 +426,11 @@ java.lang.String getLabelsOrDefault( * * *
-   * Cloud Storage URI of tar.gz archive containing Skaffold configuration.
+   * Optional. Cloud Storage URI of tar.gz archive containing Skaffold
+   * configuration.
    * 
* - * string skaffold_config_uri = 17; + * string skaffold_config_uri = 17 [(.google.api.field_behavior) = OPTIONAL]; * * @return The skaffoldConfigUri. */ @@ -428,10 +439,11 @@ java.lang.String getLabelsOrDefault( * * *
-   * Cloud Storage URI of tar.gz archive containing Skaffold configuration.
+   * Optional. Cloud Storage URI of tar.gz archive containing Skaffold
+   * configuration.
    * 
* - * string skaffold_config_uri = 17; + * string skaffold_config_uri = 17 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for skaffoldConfigUri. */ @@ -441,10 +453,10 @@ java.lang.String getLabelsOrDefault( * * *
-   * Filepath of the Skaffold config inside of the config URI.
+   * Optional. Filepath of the Skaffold config inside of the config URI.
    * 
* - * string skaffold_config_path = 9; + * string skaffold_config_path = 9 [(.google.api.field_behavior) = OPTIONAL]; * * @return The skaffoldConfigPath. */ @@ -453,10 +465,10 @@ java.lang.String getLabelsOrDefault( * * *
-   * Filepath of the Skaffold config inside of the config URI.
+   * Optional. Filepath of the Skaffold config inside of the config URI.
    * 
* - * string skaffold_config_path = 9; + * string skaffold_config_path = 9 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for skaffoldConfigPath. */ @@ -466,40 +478,48 @@ java.lang.String getLabelsOrDefault( * * *
-   * List of artifacts to pass through to Skaffold command.
+   * Optional. List of artifacts to pass through to Skaffold command.
    * 
* - * repeated .google.cloud.deploy.v1.BuildArtifact build_artifacts = 10; + * + * repeated .google.cloud.deploy.v1.BuildArtifact build_artifacts = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ java.util.List getBuildArtifactsList(); /** * * *
-   * List of artifacts to pass through to Skaffold command.
+   * Optional. List of artifacts to pass through to Skaffold command.
    * 
* - * repeated .google.cloud.deploy.v1.BuildArtifact build_artifacts = 10; + * + * repeated .google.cloud.deploy.v1.BuildArtifact build_artifacts = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.deploy.v1.BuildArtifact getBuildArtifacts(int index); /** * * *
-   * List of artifacts to pass through to Skaffold command.
+   * Optional. List of artifacts to pass through to Skaffold command.
    * 
* - * repeated .google.cloud.deploy.v1.BuildArtifact build_artifacts = 10; + * + * repeated .google.cloud.deploy.v1.BuildArtifact build_artifacts = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ int getBuildArtifactsCount(); /** * * *
-   * List of artifacts to pass through to Skaffold command.
+   * Optional. List of artifacts to pass through to Skaffold command.
    * 
* - * repeated .google.cloud.deploy.v1.BuildArtifact build_artifacts = 10; + * + * repeated .google.cloud.deploy.v1.BuildArtifact build_artifacts = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ java.util.List getBuildArtifactsOrBuilderList(); @@ -507,10 +527,12 @@ java.lang.String getLabelsOrDefault( * * *
-   * List of artifacts to pass through to Skaffold command.
+   * Optional. List of artifacts to pass through to Skaffold command.
    * 
* - * repeated .google.cloud.deploy.v1.BuildArtifact build_artifacts = 10; + * + * repeated .google.cloud.deploy.v1.BuildArtifact build_artifacts = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.deploy.v1.BuildArtifactOrBuilder getBuildArtifactsOrBuilder(int index); diff --git a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Rollout.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Rollout.java index 197e74b91e94..f2e993607134 100644 --- a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Rollout.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Rollout.java @@ -935,12 +935,12 @@ private FailureCause(int value) { * * *
-   * Optional. Name of the `Rollout`. Format is
+   * Identifier. Name of the `Rollout`. Format is
    * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`.
    * The `rollout` component must match `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`
    * 
* - * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The name. */ @@ -960,12 +960,12 @@ public java.lang.String getName() { * * *
-   * Optional. Name of the `Rollout`. Format is
+   * Identifier. Name of the `Rollout`. Format is
    * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`.
    * The `rollout` component must match `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`
    * 
* - * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The bytes for name. */ @@ -1041,11 +1041,11 @@ public com.google.protobuf.ByteString getUidBytes() { * * *
-   * Description of the `Rollout` for user purposes. Max length is 255
+   * Optional. Description of the `Rollout` for user purposes. Max length is 255
    * characters.
    * 
* - * string description = 3; + * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The description. */ @@ -1065,11 +1065,11 @@ public java.lang.String getDescription() { * * *
-   * Description of the `Rollout` for user purposes. Max length is 255
+   * Optional. Description of the `Rollout` for user purposes. Max length is 255
    * characters.
    * 
* - * string description = 3; + * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for description. */ @@ -1117,12 +1117,14 @@ public int getAnnotationsCount() { * * *
-   * User annotations. These attributes can only be set and used by the
-   * user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations
-   * for more details such as format and size limitations.
+   * Optional. User annotations. These attributes can only be set and used by
+   * the user, and not by Cloud Deploy. See
+   * https://google.aip.dev/128#annotations for more details such as format and
+   * size limitations.
    * 
* - * map<string, string> annotations = 4; + * map<string, string> annotations = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public boolean containsAnnotations(java.lang.String key) { @@ -1141,12 +1143,14 @@ public java.util.Map getAnnotations() { * * *
-   * User annotations. These attributes can only be set and used by the
-   * user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations
-   * for more details such as format and size limitations.
+   * Optional. User annotations. These attributes can only be set and used by
+   * the user, and not by Cloud Deploy. See
+   * https://google.aip.dev/128#annotations for more details such as format and
+   * size limitations.
    * 
* - * map<string, string> annotations = 4; + * map<string, string> annotations = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public java.util.Map getAnnotationsMap() { @@ -1156,12 +1160,14 @@ public java.util.Map getAnnotationsMap() { * * *
-   * User annotations. These attributes can only be set and used by the
-   * user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations
-   * for more details such as format and size limitations.
+   * Optional. User annotations. These attributes can only be set and used by
+   * the user, and not by Cloud Deploy. See
+   * https://google.aip.dev/128#annotations for more details such as format and
+   * size limitations.
    * 
* - * map<string, string> annotations = 4; + * map<string, string> annotations = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public /* nullable */ java.lang.String getAnnotationsOrDefault( @@ -1178,12 +1184,14 @@ public java.util.Map getAnnotationsMap() { * * *
-   * User annotations. These attributes can only be set and used by the
-   * user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations
-   * for more details such as format and size limitations.
+   * Optional. User annotations. These attributes can only be set and used by
+   * the user, and not by Cloud Deploy. See
+   * https://google.aip.dev/128#annotations for more details such as format and
+   * size limitations.
    * 
* - * map<string, string> annotations = 4; + * map<string, string> annotations = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public java.lang.String getAnnotationsOrThrow(java.lang.String key) { @@ -3353,12 +3361,12 @@ public Builder mergeFrom( * * *
-     * Optional. Name of the `Rollout`. Format is
+     * Identifier. Name of the `Rollout`. Format is
      * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`.
      * The `rollout` component must match `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`
      * 
* - * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The name. */ @@ -3377,12 +3385,12 @@ public java.lang.String getName() { * * *
-     * Optional. Name of the `Rollout`. Format is
+     * Identifier. Name of the `Rollout`. Format is
      * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`.
      * The `rollout` component must match `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`
      * 
* - * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The bytes for name. */ @@ -3401,12 +3409,12 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Optional. Name of the `Rollout`. Format is
+     * Identifier. Name of the `Rollout`. Format is
      * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`.
      * The `rollout` component must match `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`
      * 
* - * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @param value The name to set. * @return This builder for chaining. @@ -3424,12 +3432,12 @@ public Builder setName(java.lang.String value) { * * *
-     * Optional. Name of the `Rollout`. Format is
+     * Identifier. Name of the `Rollout`. Format is
      * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`.
      * The `rollout` component must match `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`
      * 
* - * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return This builder for chaining. */ @@ -3443,12 +3451,12 @@ public Builder clearName() { * * *
-     * Optional. Name of the `Rollout`. Format is
+     * Identifier. Name of the `Rollout`. Format is
      * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`.
      * The `rollout` component must match `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`
      * 
* - * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @param value The bytes for name to set. * @return This builder for chaining. @@ -3575,11 +3583,11 @@ public Builder setUidBytes(com.google.protobuf.ByteString value) { * * *
-     * Description of the `Rollout` for user purposes. Max length is 255
+     * Optional. Description of the `Rollout` for user purposes. Max length is 255
      * characters.
      * 
* - * string description = 3; + * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The description. */ @@ -3598,11 +3606,11 @@ public java.lang.String getDescription() { * * *
-     * Description of the `Rollout` for user purposes. Max length is 255
+     * Optional. Description of the `Rollout` for user purposes. Max length is 255
      * characters.
      * 
* - * string description = 3; + * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for description. */ @@ -3621,11 +3629,11 @@ public com.google.protobuf.ByteString getDescriptionBytes() { * * *
-     * Description of the `Rollout` for user purposes. Max length is 255
+     * Optional. Description of the `Rollout` for user purposes. Max length is 255
      * characters.
      * 
* - * string description = 3; + * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The description to set. * @return This builder for chaining. @@ -3643,11 +3651,11 @@ public Builder setDescription(java.lang.String value) { * * *
-     * Description of the `Rollout` for user purposes. Max length is 255
+     * Optional. Description of the `Rollout` for user purposes. Max length is 255
      * characters.
      * 
* - * string description = 3; + * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return This builder for chaining. */ @@ -3661,11 +3669,11 @@ public Builder clearDescription() { * * *
-     * Description of the `Rollout` for user purposes. Max length is 255
+     * Optional. Description of the `Rollout` for user purposes. Max length is 255
      * characters.
      * 
* - * string description = 3; + * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The bytes for description to set. * @return This builder for chaining. @@ -3713,12 +3721,14 @@ public int getAnnotationsCount() { * * *
-     * User annotations. These attributes can only be set and used by the
-     * user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations
-     * for more details such as format and size limitations.
+     * Optional. User annotations. These attributes can only be set and used by
+     * the user, and not by Cloud Deploy. See
+     * https://google.aip.dev/128#annotations for more details such as format and
+     * size limitations.
      * 
* - * map<string, string> annotations = 4; + * map<string, string> annotations = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public boolean containsAnnotations(java.lang.String key) { @@ -3737,12 +3747,14 @@ public java.util.Map getAnnotations() { * * *
-     * User annotations. These attributes can only be set and used by the
-     * user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations
-     * for more details such as format and size limitations.
+     * Optional. User annotations. These attributes can only be set and used by
+     * the user, and not by Cloud Deploy. See
+     * https://google.aip.dev/128#annotations for more details such as format and
+     * size limitations.
      * 
* - * map<string, string> annotations = 4; + * map<string, string> annotations = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public java.util.Map getAnnotationsMap() { @@ -3752,12 +3764,14 @@ public java.util.Map getAnnotationsMap() { * * *
-     * User annotations. These attributes can only be set and used by the
-     * user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations
-     * for more details such as format and size limitations.
+     * Optional. User annotations. These attributes can only be set and used by
+     * the user, and not by Cloud Deploy. See
+     * https://google.aip.dev/128#annotations for more details such as format and
+     * size limitations.
      * 
* - * map<string, string> annotations = 4; + * map<string, string> annotations = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public /* nullable */ java.lang.String getAnnotationsOrDefault( @@ -3774,12 +3788,14 @@ public java.util.Map getAnnotationsMap() { * * *
-     * User annotations. These attributes can only be set and used by the
-     * user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations
-     * for more details such as format and size limitations.
+     * Optional. User annotations. These attributes can only be set and used by
+     * the user, and not by Cloud Deploy. See
+     * https://google.aip.dev/128#annotations for more details such as format and
+     * size limitations.
      * 
* - * map<string, string> annotations = 4; + * map<string, string> annotations = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public java.lang.String getAnnotationsOrThrow(java.lang.String key) { @@ -3802,12 +3818,14 @@ public Builder clearAnnotations() { * * *
-     * User annotations. These attributes can only be set and used by the
-     * user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations
-     * for more details such as format and size limitations.
+     * Optional. User annotations. These attributes can only be set and used by
+     * the user, and not by Cloud Deploy. See
+     * https://google.aip.dev/128#annotations for more details such as format and
+     * size limitations.
      * 
* - * map<string, string> annotations = 4; + * map<string, string> annotations = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder removeAnnotations(java.lang.String key) { if (key == null) { @@ -3826,12 +3844,14 @@ public java.util.Map getMutableAnnotations() * * *
-     * User annotations. These attributes can only be set and used by the
-     * user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations
-     * for more details such as format and size limitations.
+     * Optional. User annotations. These attributes can only be set and used by
+     * the user, and not by Cloud Deploy. See
+     * https://google.aip.dev/128#annotations for more details such as format and
+     * size limitations.
      * 
* - * map<string, string> annotations = 4; + * map<string, string> annotations = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder putAnnotations(java.lang.String key, java.lang.String value) { if (key == null) { @@ -3848,12 +3868,14 @@ public Builder putAnnotations(java.lang.String key, java.lang.String value) { * * *
-     * User annotations. These attributes can only be set and used by the
-     * user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations
-     * for more details such as format and size limitations.
+     * Optional. User annotations. These attributes can only be set and used by
+     * the user, and not by Cloud Deploy. See
+     * https://google.aip.dev/128#annotations for more details such as format and
+     * size limitations.
      * 
* - * map<string, string> annotations = 4; + * map<string, string> annotations = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder putAllAnnotations(java.util.Map values) { internalGetMutableAnnotations().getMutableMap().putAll(values); diff --git a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RolloutOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RolloutOrBuilder.java index 0ecf1c941679..0d3e2c64c76e 100644 --- a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RolloutOrBuilder.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RolloutOrBuilder.java @@ -28,12 +28,12 @@ public interface RolloutOrBuilder * * *
-   * Optional. Name of the `Rollout`. Format is
+   * Identifier. Name of the `Rollout`. Format is
    * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`.
    * The `rollout` component must match `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`
    * 
* - * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The name. */ @@ -42,12 +42,12 @@ public interface RolloutOrBuilder * * *
-   * Optional. Name of the `Rollout`. Format is
+   * Identifier. Name of the `Rollout`. Format is
    * `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`.
    * The `rollout` component must match `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`
    * 
* - * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The bytes for name. */ @@ -82,11 +82,11 @@ public interface RolloutOrBuilder * * *
-   * Description of the `Rollout` for user purposes. Max length is 255
+   * Optional. Description of the `Rollout` for user purposes. Max length is 255
    * characters.
    * 
* - * string description = 3; + * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The description. */ @@ -95,11 +95,11 @@ public interface RolloutOrBuilder * * *
-   * Description of the `Rollout` for user purposes. Max length is 255
+   * Optional. Description of the `Rollout` for user purposes. Max length is 255
    * characters.
    * 
* - * string description = 3; + * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for description. */ @@ -109,24 +109,28 @@ public interface RolloutOrBuilder * * *
-   * User annotations. These attributes can only be set and used by the
-   * user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations
-   * for more details such as format and size limitations.
+   * Optional. User annotations. These attributes can only be set and used by
+   * the user, and not by Cloud Deploy. See
+   * https://google.aip.dev/128#annotations for more details such as format and
+   * size limitations.
    * 
* - * map<string, string> annotations = 4; + * map<string, string> annotations = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ int getAnnotationsCount(); /** * * *
-   * User annotations. These attributes can only be set and used by the
-   * user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations
-   * for more details such as format and size limitations.
+   * Optional. User annotations. These attributes can only be set and used by
+   * the user, and not by Cloud Deploy. See
+   * https://google.aip.dev/128#annotations for more details such as format and
+   * size limitations.
    * 
* - * map<string, string> annotations = 4; + * map<string, string> annotations = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ boolean containsAnnotations(java.lang.String key); /** Use {@link #getAnnotationsMap()} instead. */ @@ -136,24 +140,28 @@ public interface RolloutOrBuilder * * *
-   * User annotations. These attributes can only be set and used by the
-   * user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations
-   * for more details such as format and size limitations.
+   * Optional. User annotations. These attributes can only be set and used by
+   * the user, and not by Cloud Deploy. See
+   * https://google.aip.dev/128#annotations for more details such as format and
+   * size limitations.
    * 
* - * map<string, string> annotations = 4; + * map<string, string> annotations = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ java.util.Map getAnnotationsMap(); /** * * *
-   * User annotations. These attributes can only be set and used by the
-   * user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations
-   * for more details such as format and size limitations.
+   * Optional. User annotations. These attributes can only be set and used by
+   * the user, and not by Cloud Deploy. See
+   * https://google.aip.dev/128#annotations for more details such as format and
+   * size limitations.
    * 
* - * map<string, string> annotations = 4; + * map<string, string> annotations = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ /* nullable */ java.lang.String getAnnotationsOrDefault( @@ -164,12 +172,14 @@ java.lang.String getAnnotationsOrDefault( * * *
-   * User annotations. These attributes can only be set and used by the
-   * user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations
-   * for more details such as format and size limitations.
+   * Optional. User annotations. These attributes can only be set and used by
+   * the user, and not by Cloud Deploy. See
+   * https://google.aip.dev/128#annotations for more details such as format and
+   * size limitations.
    * 
* - * map<string, string> annotations = 4; + * map<string, string> annotations = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ java.lang.String getAnnotationsOrThrow(java.lang.String key); diff --git a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RuntimeConfig.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RuntimeConfig.java index f4b405bdeac5..393c4b819f8f 100644 --- a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RuntimeConfig.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RuntimeConfig.java @@ -116,10 +116,12 @@ public RuntimeConfigCase getRuntimeConfigCase() { * * *
-   * Kubernetes runtime configuration.
+   * Optional. Kubernetes runtime configuration.
    * 
* - * .google.cloud.deploy.v1.KubernetesConfig kubernetes = 1; + * + * .google.cloud.deploy.v1.KubernetesConfig kubernetes = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return Whether the kubernetes field is set. */ @@ -131,10 +133,12 @@ public boolean hasKubernetes() { * * *
-   * Kubernetes runtime configuration.
+   * Optional. Kubernetes runtime configuration.
    * 
* - * .google.cloud.deploy.v1.KubernetesConfig kubernetes = 1; + * + * .google.cloud.deploy.v1.KubernetesConfig kubernetes = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return The kubernetes. */ @@ -149,10 +153,12 @@ public com.google.cloud.deploy.v1.KubernetesConfig getKubernetes() { * * *
-   * Kubernetes runtime configuration.
+   * Optional. Kubernetes runtime configuration.
    * 
* - * .google.cloud.deploy.v1.KubernetesConfig kubernetes = 1; + * + * .google.cloud.deploy.v1.KubernetesConfig kubernetes = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.KubernetesConfigOrBuilder getKubernetesOrBuilder() { @@ -167,10 +173,12 @@ public com.google.cloud.deploy.v1.KubernetesConfigOrBuilder getKubernetesOrBuild * * *
-   * Cloud Run runtime configuration.
+   * Optional. Cloud Run runtime configuration.
    * 
* - * .google.cloud.deploy.v1.CloudRunConfig cloud_run = 2; + * + * .google.cloud.deploy.v1.CloudRunConfig cloud_run = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return Whether the cloudRun field is set. */ @@ -182,10 +190,12 @@ public boolean hasCloudRun() { * * *
-   * Cloud Run runtime configuration.
+   * Optional. Cloud Run runtime configuration.
    * 
* - * .google.cloud.deploy.v1.CloudRunConfig cloud_run = 2; + * + * .google.cloud.deploy.v1.CloudRunConfig cloud_run = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return The cloudRun. */ @@ -200,10 +210,12 @@ public com.google.cloud.deploy.v1.CloudRunConfig getCloudRun() { * * *
-   * Cloud Run runtime configuration.
+   * Optional. Cloud Run runtime configuration.
    * 
* - * .google.cloud.deploy.v1.CloudRunConfig cloud_run = 2; + * + * .google.cloud.deploy.v1.CloudRunConfig cloud_run = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.CloudRunConfigOrBuilder getCloudRunOrBuilder() { @@ -640,10 +652,12 @@ public Builder clearRuntimeConfig() { * * *
-     * Kubernetes runtime configuration.
+     * Optional. Kubernetes runtime configuration.
      * 
* - * .google.cloud.deploy.v1.KubernetesConfig kubernetes = 1; + * + * .google.cloud.deploy.v1.KubernetesConfig kubernetes = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return Whether the kubernetes field is set. */ @@ -655,10 +669,12 @@ public boolean hasKubernetes() { * * *
-     * Kubernetes runtime configuration.
+     * Optional. Kubernetes runtime configuration.
      * 
* - * .google.cloud.deploy.v1.KubernetesConfig kubernetes = 1; + * + * .google.cloud.deploy.v1.KubernetesConfig kubernetes = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return The kubernetes. */ @@ -680,10 +696,12 @@ public com.google.cloud.deploy.v1.KubernetesConfig getKubernetes() { * * *
-     * Kubernetes runtime configuration.
+     * Optional. Kubernetes runtime configuration.
      * 
* - * .google.cloud.deploy.v1.KubernetesConfig kubernetes = 1; + * + * .google.cloud.deploy.v1.KubernetesConfig kubernetes = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setKubernetes(com.google.cloud.deploy.v1.KubernetesConfig value) { if (kubernetesBuilder_ == null) { @@ -702,10 +720,12 @@ public Builder setKubernetes(com.google.cloud.deploy.v1.KubernetesConfig value) * * *
-     * Kubernetes runtime configuration.
+     * Optional. Kubernetes runtime configuration.
      * 
* - * .google.cloud.deploy.v1.KubernetesConfig kubernetes = 1; + * + * .google.cloud.deploy.v1.KubernetesConfig kubernetes = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setKubernetes( com.google.cloud.deploy.v1.KubernetesConfig.Builder builderForValue) { @@ -722,10 +742,12 @@ public Builder setKubernetes( * * *
-     * Kubernetes runtime configuration.
+     * Optional. Kubernetes runtime configuration.
      * 
* - * .google.cloud.deploy.v1.KubernetesConfig kubernetes = 1; + * + * .google.cloud.deploy.v1.KubernetesConfig kubernetes = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeKubernetes(com.google.cloud.deploy.v1.KubernetesConfig value) { if (kubernetesBuilder_ == null) { @@ -754,10 +776,12 @@ public Builder mergeKubernetes(com.google.cloud.deploy.v1.KubernetesConfig value * * *
-     * Kubernetes runtime configuration.
+     * Optional. Kubernetes runtime configuration.
      * 
* - * .google.cloud.deploy.v1.KubernetesConfig kubernetes = 1; + * + * .google.cloud.deploy.v1.KubernetesConfig kubernetes = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearKubernetes() { if (kubernetesBuilder_ == null) { @@ -779,10 +803,12 @@ public Builder clearKubernetes() { * * *
-     * Kubernetes runtime configuration.
+     * Optional. Kubernetes runtime configuration.
      * 
* - * .google.cloud.deploy.v1.KubernetesConfig kubernetes = 1; + * + * .google.cloud.deploy.v1.KubernetesConfig kubernetes = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.deploy.v1.KubernetesConfig.Builder getKubernetesBuilder() { return getKubernetesFieldBuilder().getBuilder(); @@ -791,10 +817,12 @@ public com.google.cloud.deploy.v1.KubernetesConfig.Builder getKubernetesBuilder( * * *
-     * Kubernetes runtime configuration.
+     * Optional. Kubernetes runtime configuration.
      * 
* - * .google.cloud.deploy.v1.KubernetesConfig kubernetes = 1; + * + * .google.cloud.deploy.v1.KubernetesConfig kubernetes = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.KubernetesConfigOrBuilder getKubernetesOrBuilder() { @@ -811,10 +839,12 @@ public com.google.cloud.deploy.v1.KubernetesConfigOrBuilder getKubernetesOrBuild * * *
-     * Kubernetes runtime configuration.
+     * Optional. Kubernetes runtime configuration.
      * 
* - * .google.cloud.deploy.v1.KubernetesConfig kubernetes = 1; + * + * .google.cloud.deploy.v1.KubernetesConfig kubernetes = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.deploy.v1.KubernetesConfig, @@ -849,10 +879,12 @@ public com.google.cloud.deploy.v1.KubernetesConfigOrBuilder getKubernetesOrBuild * * *
-     * Cloud Run runtime configuration.
+     * Optional. Cloud Run runtime configuration.
      * 
* - * .google.cloud.deploy.v1.CloudRunConfig cloud_run = 2; + * + * .google.cloud.deploy.v1.CloudRunConfig cloud_run = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return Whether the cloudRun field is set. */ @@ -864,10 +896,12 @@ public boolean hasCloudRun() { * * *
-     * Cloud Run runtime configuration.
+     * Optional. Cloud Run runtime configuration.
      * 
* - * .google.cloud.deploy.v1.CloudRunConfig cloud_run = 2; + * + * .google.cloud.deploy.v1.CloudRunConfig cloud_run = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return The cloudRun. */ @@ -889,10 +923,12 @@ public com.google.cloud.deploy.v1.CloudRunConfig getCloudRun() { * * *
-     * Cloud Run runtime configuration.
+     * Optional. Cloud Run runtime configuration.
      * 
* - * .google.cloud.deploy.v1.CloudRunConfig cloud_run = 2; + * + * .google.cloud.deploy.v1.CloudRunConfig cloud_run = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setCloudRun(com.google.cloud.deploy.v1.CloudRunConfig value) { if (cloudRunBuilder_ == null) { @@ -911,10 +947,12 @@ public Builder setCloudRun(com.google.cloud.deploy.v1.CloudRunConfig value) { * * *
-     * Cloud Run runtime configuration.
+     * Optional. Cloud Run runtime configuration.
      * 
* - * .google.cloud.deploy.v1.CloudRunConfig cloud_run = 2; + * + * .google.cloud.deploy.v1.CloudRunConfig cloud_run = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setCloudRun(com.google.cloud.deploy.v1.CloudRunConfig.Builder builderForValue) { if (cloudRunBuilder_ == null) { @@ -930,10 +968,12 @@ public Builder setCloudRun(com.google.cloud.deploy.v1.CloudRunConfig.Builder bui * * *
-     * Cloud Run runtime configuration.
+     * Optional. Cloud Run runtime configuration.
      * 
* - * .google.cloud.deploy.v1.CloudRunConfig cloud_run = 2; + * + * .google.cloud.deploy.v1.CloudRunConfig cloud_run = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeCloudRun(com.google.cloud.deploy.v1.CloudRunConfig value) { if (cloudRunBuilder_ == null) { @@ -962,10 +1002,12 @@ public Builder mergeCloudRun(com.google.cloud.deploy.v1.CloudRunConfig value) { * * *
-     * Cloud Run runtime configuration.
+     * Optional. Cloud Run runtime configuration.
      * 
* - * .google.cloud.deploy.v1.CloudRunConfig cloud_run = 2; + * + * .google.cloud.deploy.v1.CloudRunConfig cloud_run = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearCloudRun() { if (cloudRunBuilder_ == null) { @@ -987,10 +1029,12 @@ public Builder clearCloudRun() { * * *
-     * Cloud Run runtime configuration.
+     * Optional. Cloud Run runtime configuration.
      * 
* - * .google.cloud.deploy.v1.CloudRunConfig cloud_run = 2; + * + * .google.cloud.deploy.v1.CloudRunConfig cloud_run = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.deploy.v1.CloudRunConfig.Builder getCloudRunBuilder() { return getCloudRunFieldBuilder().getBuilder(); @@ -999,10 +1043,12 @@ public com.google.cloud.deploy.v1.CloudRunConfig.Builder getCloudRunBuilder() { * * *
-     * Cloud Run runtime configuration.
+     * Optional. Cloud Run runtime configuration.
      * 
* - * .google.cloud.deploy.v1.CloudRunConfig cloud_run = 2; + * + * .google.cloud.deploy.v1.CloudRunConfig cloud_run = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.CloudRunConfigOrBuilder getCloudRunOrBuilder() { @@ -1019,10 +1065,12 @@ public com.google.cloud.deploy.v1.CloudRunConfigOrBuilder getCloudRunOrBuilder() * * *
-     * Cloud Run runtime configuration.
+     * Optional. Cloud Run runtime configuration.
      * 
* - * .google.cloud.deploy.v1.CloudRunConfig cloud_run = 2; + * + * .google.cloud.deploy.v1.CloudRunConfig cloud_run = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.deploy.v1.CloudRunConfig, diff --git a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RuntimeConfigOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RuntimeConfigOrBuilder.java index 2c80fa6b65fc..3dccb7e70dc2 100644 --- a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RuntimeConfigOrBuilder.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/RuntimeConfigOrBuilder.java @@ -28,10 +28,12 @@ public interface RuntimeConfigOrBuilder * * *
-   * Kubernetes runtime configuration.
+   * Optional. Kubernetes runtime configuration.
    * 
* - * .google.cloud.deploy.v1.KubernetesConfig kubernetes = 1; + * + * .google.cloud.deploy.v1.KubernetesConfig kubernetes = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return Whether the kubernetes field is set. */ @@ -40,10 +42,12 @@ public interface RuntimeConfigOrBuilder * * *
-   * Kubernetes runtime configuration.
+   * Optional. Kubernetes runtime configuration.
    * 
* - * .google.cloud.deploy.v1.KubernetesConfig kubernetes = 1; + * + * .google.cloud.deploy.v1.KubernetesConfig kubernetes = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return The kubernetes. */ @@ -52,10 +56,12 @@ public interface RuntimeConfigOrBuilder * * *
-   * Kubernetes runtime configuration.
+   * Optional. Kubernetes runtime configuration.
    * 
* - * .google.cloud.deploy.v1.KubernetesConfig kubernetes = 1; + * + * .google.cloud.deploy.v1.KubernetesConfig kubernetes = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.deploy.v1.KubernetesConfigOrBuilder getKubernetesOrBuilder(); @@ -63,10 +69,12 @@ public interface RuntimeConfigOrBuilder * * *
-   * Cloud Run runtime configuration.
+   * Optional. Cloud Run runtime configuration.
    * 
* - * .google.cloud.deploy.v1.CloudRunConfig cloud_run = 2; + * + * .google.cloud.deploy.v1.CloudRunConfig cloud_run = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return Whether the cloudRun field is set. */ @@ -75,10 +83,12 @@ public interface RuntimeConfigOrBuilder * * *
-   * Cloud Run runtime configuration.
+   * Optional. Cloud Run runtime configuration.
    * 
* - * .google.cloud.deploy.v1.CloudRunConfig cloud_run = 2; + * + * .google.cloud.deploy.v1.CloudRunConfig cloud_run = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return The cloudRun. */ @@ -87,10 +97,12 @@ public interface RuntimeConfigOrBuilder * * *
-   * Cloud Run runtime configuration.
+   * Optional. Cloud Run runtime configuration.
    * 
* - * .google.cloud.deploy.v1.CloudRunConfig cloud_run = 2; + * + * .google.cloud.deploy.v1.CloudRunConfig cloud_run = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.deploy.v1.CloudRunConfigOrBuilder getCloudRunOrBuilder(); diff --git a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/SerialPipeline.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/SerialPipeline.java index 1ea56670eebb..84e95fd1c243 100644 --- a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/SerialPipeline.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/SerialPipeline.java @@ -71,11 +71,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Each stage specifies configuration for a `Target`. The ordering
+   * Optional. Each stage specifies configuration for a `Target`. The ordering
    * of this list defines the promotion flow.
    * 
* - * repeated .google.cloud.deploy.v1.Stage stages = 1; + * + * repeated .google.cloud.deploy.v1.Stage stages = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public java.util.List getStagesList() { @@ -85,11 +87,13 @@ public java.util.List getStagesList() { * * *
-   * Each stage specifies configuration for a `Target`. The ordering
+   * Optional. Each stage specifies configuration for a `Target`. The ordering
    * of this list defines the promotion flow.
    * 
* - * repeated .google.cloud.deploy.v1.Stage stages = 1; + * + * repeated .google.cloud.deploy.v1.Stage stages = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public java.util.List @@ -100,11 +104,13 @@ public java.util.List getStagesList() { * * *
-   * Each stage specifies configuration for a `Target`. The ordering
+   * Optional. Each stage specifies configuration for a `Target`. The ordering
    * of this list defines the promotion flow.
    * 
* - * repeated .google.cloud.deploy.v1.Stage stages = 1; + * + * repeated .google.cloud.deploy.v1.Stage stages = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public int getStagesCount() { @@ -114,11 +120,13 @@ public int getStagesCount() { * * *
-   * Each stage specifies configuration for a `Target`. The ordering
+   * Optional. Each stage specifies configuration for a `Target`. The ordering
    * of this list defines the promotion flow.
    * 
* - * repeated .google.cloud.deploy.v1.Stage stages = 1; + * + * repeated .google.cloud.deploy.v1.Stage stages = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.Stage getStages(int index) { @@ -128,11 +136,13 @@ public com.google.cloud.deploy.v1.Stage getStages(int index) { * * *
-   * Each stage specifies configuration for a `Target`. The ordering
+   * Optional. Each stage specifies configuration for a `Target`. The ordering
    * of this list defines the promotion flow.
    * 
* - * repeated .google.cloud.deploy.v1.Stage stages = 1; + * + * repeated .google.cloud.deploy.v1.Stage stages = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.StageOrBuilder getStagesOrBuilder(int index) { @@ -546,11 +556,13 @@ private void ensureStagesIsMutable() { * * *
-     * Each stage specifies configuration for a `Target`. The ordering
+     * Optional. Each stage specifies configuration for a `Target`. The ordering
      * of this list defines the promotion flow.
      * 
* - * repeated .google.cloud.deploy.v1.Stage stages = 1; + * + * repeated .google.cloud.deploy.v1.Stage stages = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public java.util.List getStagesList() { if (stagesBuilder_ == null) { @@ -563,11 +575,13 @@ public java.util.List getStagesList() { * * *
-     * Each stage specifies configuration for a `Target`. The ordering
+     * Optional. Each stage specifies configuration for a `Target`. The ordering
      * of this list defines the promotion flow.
      * 
* - * repeated .google.cloud.deploy.v1.Stage stages = 1; + * + * repeated .google.cloud.deploy.v1.Stage stages = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public int getStagesCount() { if (stagesBuilder_ == null) { @@ -580,11 +594,13 @@ public int getStagesCount() { * * *
-     * Each stage specifies configuration for a `Target`. The ordering
+     * Optional. Each stage specifies configuration for a `Target`. The ordering
      * of this list defines the promotion flow.
      * 
* - * repeated .google.cloud.deploy.v1.Stage stages = 1; + * + * repeated .google.cloud.deploy.v1.Stage stages = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.deploy.v1.Stage getStages(int index) { if (stagesBuilder_ == null) { @@ -597,11 +613,13 @@ public com.google.cloud.deploy.v1.Stage getStages(int index) { * * *
-     * Each stage specifies configuration for a `Target`. The ordering
+     * Optional. Each stage specifies configuration for a `Target`. The ordering
      * of this list defines the promotion flow.
      * 
* - * repeated .google.cloud.deploy.v1.Stage stages = 1; + * + * repeated .google.cloud.deploy.v1.Stage stages = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setStages(int index, com.google.cloud.deploy.v1.Stage value) { if (stagesBuilder_ == null) { @@ -620,11 +638,13 @@ public Builder setStages(int index, com.google.cloud.deploy.v1.Stage value) { * * *
-     * Each stage specifies configuration for a `Target`. The ordering
+     * Optional. Each stage specifies configuration for a `Target`. The ordering
      * of this list defines the promotion flow.
      * 
* - * repeated .google.cloud.deploy.v1.Stage stages = 1; + * + * repeated .google.cloud.deploy.v1.Stage stages = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setStages(int index, com.google.cloud.deploy.v1.Stage.Builder builderForValue) { if (stagesBuilder_ == null) { @@ -640,11 +660,13 @@ public Builder setStages(int index, com.google.cloud.deploy.v1.Stage.Builder bui * * *
-     * Each stage specifies configuration for a `Target`. The ordering
+     * Optional. Each stage specifies configuration for a `Target`. The ordering
      * of this list defines the promotion flow.
      * 
* - * repeated .google.cloud.deploy.v1.Stage stages = 1; + * + * repeated .google.cloud.deploy.v1.Stage stages = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addStages(com.google.cloud.deploy.v1.Stage value) { if (stagesBuilder_ == null) { @@ -663,11 +685,13 @@ public Builder addStages(com.google.cloud.deploy.v1.Stage value) { * * *
-     * Each stage specifies configuration for a `Target`. The ordering
+     * Optional. Each stage specifies configuration for a `Target`. The ordering
      * of this list defines the promotion flow.
      * 
* - * repeated .google.cloud.deploy.v1.Stage stages = 1; + * + * repeated .google.cloud.deploy.v1.Stage stages = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addStages(int index, com.google.cloud.deploy.v1.Stage value) { if (stagesBuilder_ == null) { @@ -686,11 +710,13 @@ public Builder addStages(int index, com.google.cloud.deploy.v1.Stage value) { * * *
-     * Each stage specifies configuration for a `Target`. The ordering
+     * Optional. Each stage specifies configuration for a `Target`. The ordering
      * of this list defines the promotion flow.
      * 
* - * repeated .google.cloud.deploy.v1.Stage stages = 1; + * + * repeated .google.cloud.deploy.v1.Stage stages = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addStages(com.google.cloud.deploy.v1.Stage.Builder builderForValue) { if (stagesBuilder_ == null) { @@ -706,11 +732,13 @@ public Builder addStages(com.google.cloud.deploy.v1.Stage.Builder builderForValu * * *
-     * Each stage specifies configuration for a `Target`. The ordering
+     * Optional. Each stage specifies configuration for a `Target`. The ordering
      * of this list defines the promotion flow.
      * 
* - * repeated .google.cloud.deploy.v1.Stage stages = 1; + * + * repeated .google.cloud.deploy.v1.Stage stages = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addStages(int index, com.google.cloud.deploy.v1.Stage.Builder builderForValue) { if (stagesBuilder_ == null) { @@ -726,11 +754,13 @@ public Builder addStages(int index, com.google.cloud.deploy.v1.Stage.Builder bui * * *
-     * Each stage specifies configuration for a `Target`. The ordering
+     * Optional. Each stage specifies configuration for a `Target`. The ordering
      * of this list defines the promotion flow.
      * 
* - * repeated .google.cloud.deploy.v1.Stage stages = 1; + * + * repeated .google.cloud.deploy.v1.Stage stages = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addAllStages( java.lang.Iterable values) { @@ -747,11 +777,13 @@ public Builder addAllStages( * * *
-     * Each stage specifies configuration for a `Target`. The ordering
+     * Optional. Each stage specifies configuration for a `Target`. The ordering
      * of this list defines the promotion flow.
      * 
* - * repeated .google.cloud.deploy.v1.Stage stages = 1; + * + * repeated .google.cloud.deploy.v1.Stage stages = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearStages() { if (stagesBuilder_ == null) { @@ -767,11 +799,13 @@ public Builder clearStages() { * * *
-     * Each stage specifies configuration for a `Target`. The ordering
+     * Optional. Each stage specifies configuration for a `Target`. The ordering
      * of this list defines the promotion flow.
      * 
* - * repeated .google.cloud.deploy.v1.Stage stages = 1; + * + * repeated .google.cloud.deploy.v1.Stage stages = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder removeStages(int index) { if (stagesBuilder_ == null) { @@ -787,11 +821,13 @@ public Builder removeStages(int index) { * * *
-     * Each stage specifies configuration for a `Target`. The ordering
+     * Optional. Each stage specifies configuration for a `Target`. The ordering
      * of this list defines the promotion flow.
      * 
* - * repeated .google.cloud.deploy.v1.Stage stages = 1; + * + * repeated .google.cloud.deploy.v1.Stage stages = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.deploy.v1.Stage.Builder getStagesBuilder(int index) { return getStagesFieldBuilder().getBuilder(index); @@ -800,11 +836,13 @@ public com.google.cloud.deploy.v1.Stage.Builder getStagesBuilder(int index) { * * *
-     * Each stage specifies configuration for a `Target`. The ordering
+     * Optional. Each stage specifies configuration for a `Target`. The ordering
      * of this list defines the promotion flow.
      * 
* - * repeated .google.cloud.deploy.v1.Stage stages = 1; + * + * repeated .google.cloud.deploy.v1.Stage stages = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.deploy.v1.StageOrBuilder getStagesOrBuilder(int index) { if (stagesBuilder_ == null) { @@ -817,11 +855,13 @@ public com.google.cloud.deploy.v1.StageOrBuilder getStagesOrBuilder(int index) { * * *
-     * Each stage specifies configuration for a `Target`. The ordering
+     * Optional. Each stage specifies configuration for a `Target`. The ordering
      * of this list defines the promotion flow.
      * 
* - * repeated .google.cloud.deploy.v1.Stage stages = 1; + * + * repeated .google.cloud.deploy.v1.Stage stages = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public java.util.List getStagesOrBuilderList() { @@ -835,11 +875,13 @@ public com.google.cloud.deploy.v1.StageOrBuilder getStagesOrBuilder(int index) { * * *
-     * Each stage specifies configuration for a `Target`. The ordering
+     * Optional. Each stage specifies configuration for a `Target`. The ordering
      * of this list defines the promotion flow.
      * 
* - * repeated .google.cloud.deploy.v1.Stage stages = 1; + * + * repeated .google.cloud.deploy.v1.Stage stages = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.deploy.v1.Stage.Builder addStagesBuilder() { return getStagesFieldBuilder() @@ -849,11 +891,13 @@ public com.google.cloud.deploy.v1.Stage.Builder addStagesBuilder() { * * *
-     * Each stage specifies configuration for a `Target`. The ordering
+     * Optional. Each stage specifies configuration for a `Target`. The ordering
      * of this list defines the promotion flow.
      * 
* - * repeated .google.cloud.deploy.v1.Stage stages = 1; + * + * repeated .google.cloud.deploy.v1.Stage stages = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.deploy.v1.Stage.Builder addStagesBuilder(int index) { return getStagesFieldBuilder() @@ -863,11 +907,13 @@ public com.google.cloud.deploy.v1.Stage.Builder addStagesBuilder(int index) { * * *
-     * Each stage specifies configuration for a `Target`. The ordering
+     * Optional. Each stage specifies configuration for a `Target`. The ordering
      * of this list defines the promotion flow.
      * 
* - * repeated .google.cloud.deploy.v1.Stage stages = 1; + * + * repeated .google.cloud.deploy.v1.Stage stages = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public java.util.List getStagesBuilderList() { return getStagesFieldBuilder().getBuilderList(); diff --git a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/SerialPipelineOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/SerialPipelineOrBuilder.java index 0589a29acf7c..60cfcad84a23 100644 --- a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/SerialPipelineOrBuilder.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/SerialPipelineOrBuilder.java @@ -28,55 +28,65 @@ public interface SerialPipelineOrBuilder * * *
-   * Each stage specifies configuration for a `Target`. The ordering
+   * Optional. Each stage specifies configuration for a `Target`. The ordering
    * of this list defines the promotion flow.
    * 
* - * repeated .google.cloud.deploy.v1.Stage stages = 1; + * + * repeated .google.cloud.deploy.v1.Stage stages = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ java.util.List getStagesList(); /** * * *
-   * Each stage specifies configuration for a `Target`. The ordering
+   * Optional. Each stage specifies configuration for a `Target`. The ordering
    * of this list defines the promotion flow.
    * 
* - * repeated .google.cloud.deploy.v1.Stage stages = 1; + * + * repeated .google.cloud.deploy.v1.Stage stages = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.deploy.v1.Stage getStages(int index); /** * * *
-   * Each stage specifies configuration for a `Target`. The ordering
+   * Optional. Each stage specifies configuration for a `Target`. The ordering
    * of this list defines the promotion flow.
    * 
* - * repeated .google.cloud.deploy.v1.Stage stages = 1; + * + * repeated .google.cloud.deploy.v1.Stage stages = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ int getStagesCount(); /** * * *
-   * Each stage specifies configuration for a `Target`. The ordering
+   * Optional. Each stage specifies configuration for a `Target`. The ordering
    * of this list defines the promotion flow.
    * 
* - * repeated .google.cloud.deploy.v1.Stage stages = 1; + * + * repeated .google.cloud.deploy.v1.Stage stages = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ java.util.List getStagesOrBuilderList(); /** * * *
-   * Each stage specifies configuration for a `Target`. The ordering
+   * Optional. Each stage specifies configuration for a `Target`. The ordering
    * of this list defines the promotion flow.
    * 
* - * repeated .google.cloud.deploy.v1.Stage stages = 1; + * + * repeated .google.cloud.deploy.v1.Stage stages = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.deploy.v1.StageOrBuilder getStagesOrBuilder(int index); } diff --git a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/SkaffoldModules.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/SkaffoldModules.java index 1dc46d6cc387..eec9cee6557e 100644 --- a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/SkaffoldModules.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/SkaffoldModules.java @@ -3231,10 +3231,12 @@ public com.google.protobuf.ByteString getConfigsBytes(int index) { * * *
-   * Remote git repository containing the Skaffold Config modules.
+   * Optional. Remote git repository containing the Skaffold Config modules.
    * 
* - * .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource git = 2; + * + * .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource git = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return Whether the git field is set. */ @@ -3246,10 +3248,12 @@ public boolean hasGit() { * * *
-   * Remote git repository containing the Skaffold Config modules.
+   * Optional. Remote git repository containing the Skaffold Config modules.
    * 
* - * .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource git = 2; + * + * .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource git = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return The git. */ @@ -3264,10 +3268,12 @@ public com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource getGit() { * * *
-   * Remote git repository containing the Skaffold Config modules.
+   * Optional. Remote git repository containing the Skaffold Config modules.
    * 
* - * .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource git = 2; + * + * .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource git = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSourceOrBuilder getGitOrBuilder() { @@ -3282,10 +3288,11 @@ public com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSourceOrBuilder get * * *
-   * Cloud Storage bucket containing the Skaffold Config modules.
+   * Optional. Cloud Storage bucket containing the Skaffold Config modules.
    * 
* - * .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource google_cloud_storage = 3; + * + * .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource google_cloud_storage = 3 [(.google.api.field_behavior) = OPTIONAL]; * * * @return Whether the googleCloudStorage field is set. @@ -3298,10 +3305,11 @@ public boolean hasGoogleCloudStorage() { * * *
-   * Cloud Storage bucket containing the Skaffold Config modules.
+   * Optional. Cloud Storage bucket containing the Skaffold Config modules.
    * 
* - * .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource google_cloud_storage = 3; + * + * .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource google_cloud_storage = 3 [(.google.api.field_behavior) = OPTIONAL]; * * * @return The googleCloudStorage. @@ -3317,10 +3325,11 @@ public com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource getGoogleClo * * *
-   * Cloud Storage bucket containing the Skaffold Config modules.
+   * Optional. Cloud Storage bucket containing the Skaffold Config modules.
    * 
* - * .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource google_cloud_storage = 3; + * + * .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource google_cloud_storage = 3 [(.google.api.field_behavior) = OPTIONAL]; * */ @java.lang.Override @@ -3337,11 +3346,12 @@ public com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource getGoogleClo * * *
-   * Cloud Build V2 repository containing the Skaffold Config modules.
+   * Optional. Cloud Build V2 repository containing the Skaffold Config
+   * modules.
    * 
* * - * .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCBRepoSource google_cloud_build_repo = 4; + * .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCBRepoSource google_cloud_build_repo = 4 [(.google.api.field_behavior) = OPTIONAL]; * * * @return Whether the googleCloudBuildRepo field is set. @@ -3354,11 +3364,12 @@ public boolean hasGoogleCloudBuildRepo() { * * *
-   * Cloud Build V2 repository containing the Skaffold Config modules.
+   * Optional. Cloud Build V2 repository containing the Skaffold Config
+   * modules.
    * 
* * - * .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCBRepoSource google_cloud_build_repo = 4; + * .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCBRepoSource google_cloud_build_repo = 4 [(.google.api.field_behavior) = OPTIONAL]; * * * @return The googleCloudBuildRepo. @@ -3375,11 +3386,12 @@ public boolean hasGoogleCloudBuildRepo() { * * *
-   * Cloud Build V2 repository containing the Skaffold Config modules.
+   * Optional. Cloud Build V2 repository containing the Skaffold Config
+   * modules.
    * 
* * - * .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCBRepoSource google_cloud_build_repo = 4; + * .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCBRepoSource google_cloud_build_repo = 4 [(.google.api.field_behavior) = OPTIONAL]; * */ @java.lang.Override @@ -4067,10 +4079,12 @@ public Builder addConfigsBytes(com.google.protobuf.ByteString value) { * * *
-     * Remote git repository containing the Skaffold Config modules.
+     * Optional. Remote git repository containing the Skaffold Config modules.
      * 
* - * .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource git = 2; + * + * .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource git = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return Whether the git field is set. */ @@ -4082,10 +4096,12 @@ public boolean hasGit() { * * *
-     * Remote git repository containing the Skaffold Config modules.
+     * Optional. Remote git repository containing the Skaffold Config modules.
      * 
* - * .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource git = 2; + * + * .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource git = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return The git. */ @@ -4107,10 +4123,12 @@ public com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource getGit() { * * *
-     * Remote git repository containing the Skaffold Config modules.
+     * Optional. Remote git repository containing the Skaffold Config modules.
      * 
* - * .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource git = 2; + * + * .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource git = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setGit(com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource value) { if (gitBuilder_ == null) { @@ -4129,10 +4147,12 @@ public Builder setGit(com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSour * * *
-     * Remote git repository containing the Skaffold Config modules.
+     * Optional. Remote git repository containing the Skaffold Config modules.
      * 
* - * .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource git = 2; + * + * .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource git = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setGit( com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource.Builder builderForValue) { @@ -4149,10 +4169,12 @@ public Builder setGit( * * *
-     * Remote git repository containing the Skaffold Config modules.
+     * Optional. Remote git repository containing the Skaffold Config modules.
      * 
* - * .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource git = 2; + * + * .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource git = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeGit(com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource value) { if (gitBuilder_ == null) { @@ -4183,10 +4205,12 @@ public Builder mergeGit(com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSo * * *
-     * Remote git repository containing the Skaffold Config modules.
+     * Optional. Remote git repository containing the Skaffold Config modules.
      * 
* - * .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource git = 2; + * + * .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource git = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearGit() { if (gitBuilder_ == null) { @@ -4208,10 +4232,12 @@ public Builder clearGit() { * * *
-     * Remote git repository containing the Skaffold Config modules.
+     * Optional. Remote git repository containing the Skaffold Config modules.
      * 
* - * .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource git = 2; + * + * .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource git = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource.Builder getGitBuilder() { return getGitFieldBuilder().getBuilder(); @@ -4220,10 +4246,12 @@ public com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource.Builder getG * * *
-     * Remote git repository containing the Skaffold Config modules.
+     * Optional. Remote git repository containing the Skaffold Config modules.
      * 
* - * .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource git = 2; + * + * .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource git = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSourceOrBuilder getGitOrBuilder() { @@ -4240,10 +4268,12 @@ public com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSourceOrBuilder get * * *
-     * Remote git repository containing the Skaffold Config modules.
+     * Optional. Remote git repository containing the Skaffold Config modules.
      * 
* - * .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource git = 2; + * + * .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource git = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource, @@ -4279,10 +4309,11 @@ public com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSourceOrBuilder get * * *
-     * Cloud Storage bucket containing the Skaffold Config modules.
+     * Optional. Cloud Storage bucket containing the Skaffold Config modules.
      * 
* - * .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource google_cloud_storage = 3; + * + * .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource google_cloud_storage = 3 [(.google.api.field_behavior) = OPTIONAL]; * * * @return Whether the googleCloudStorage field is set. @@ -4295,10 +4326,11 @@ public boolean hasGoogleCloudStorage() { * * *
-     * Cloud Storage bucket containing the Skaffold Config modules.
+     * Optional. Cloud Storage bucket containing the Skaffold Config modules.
      * 
* - * .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource google_cloud_storage = 3; + * + * .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource google_cloud_storage = 3 [(.google.api.field_behavior) = OPTIONAL]; * * * @return The googleCloudStorage. @@ -4321,10 +4353,11 @@ public com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource getGoogleClo * * *
-     * Cloud Storage bucket containing the Skaffold Config modules.
+     * Optional. Cloud Storage bucket containing the Skaffold Config modules.
      * 
* - * .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource google_cloud_storage = 3; + * + * .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource google_cloud_storage = 3 [(.google.api.field_behavior) = OPTIONAL]; * */ public Builder setGoogleCloudStorage( @@ -4345,10 +4378,11 @@ public Builder setGoogleCloudStorage( * * *
-     * Cloud Storage bucket containing the Skaffold Config modules.
+     * Optional. Cloud Storage bucket containing the Skaffold Config modules.
      * 
* - * .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource google_cloud_storage = 3; + * + * .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource google_cloud_storage = 3 [(.google.api.field_behavior) = OPTIONAL]; * */ public Builder setGoogleCloudStorage( @@ -4366,10 +4400,11 @@ public Builder setGoogleCloudStorage( * * *
-     * Cloud Storage bucket containing the Skaffold Config modules.
+     * Optional. Cloud Storage bucket containing the Skaffold Config modules.
      * 
* - * .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource google_cloud_storage = 3; + * + * .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource google_cloud_storage = 3 [(.google.api.field_behavior) = OPTIONAL]; * */ public Builder mergeGoogleCloudStorage( @@ -4402,10 +4437,11 @@ public Builder mergeGoogleCloudStorage( * * *
-     * Cloud Storage bucket containing the Skaffold Config modules.
+     * Optional. Cloud Storage bucket containing the Skaffold Config modules.
      * 
* - * .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource google_cloud_storage = 3; + * + * .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource google_cloud_storage = 3 [(.google.api.field_behavior) = OPTIONAL]; * */ public Builder clearGoogleCloudStorage() { @@ -4428,10 +4464,11 @@ public Builder clearGoogleCloudStorage() { * * *
-     * Cloud Storage bucket containing the Skaffold Config modules.
+     * Optional. Cloud Storage bucket containing the Skaffold Config modules.
      * 
* - * .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource google_cloud_storage = 3; + * + * .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource google_cloud_storage = 3 [(.google.api.field_behavior) = OPTIONAL]; * */ public com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource.Builder @@ -4442,10 +4479,11 @@ public Builder clearGoogleCloudStorage() { * * *
-     * Cloud Storage bucket containing the Skaffold Config modules.
+     * Optional. Cloud Storage bucket containing the Skaffold Config modules.
      * 
* - * .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource google_cloud_storage = 3; + * + * .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource google_cloud_storage = 3 [(.google.api.field_behavior) = OPTIONAL]; * */ @java.lang.Override @@ -4464,10 +4502,11 @@ public Builder clearGoogleCloudStorage() { * * *
-     * Cloud Storage bucket containing the Skaffold Config modules.
+     * Optional. Cloud Storage bucket containing the Skaffold Config modules.
      * 
* - * .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource google_cloud_storage = 3; + * + * .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource google_cloud_storage = 3 [(.google.api.field_behavior) = OPTIONAL]; * */ private com.google.protobuf.SingleFieldBuilderV3< @@ -4504,11 +4543,12 @@ public Builder clearGoogleCloudStorage() { * * *
-     * Cloud Build V2 repository containing the Skaffold Config modules.
+     * Optional. Cloud Build V2 repository containing the Skaffold Config
+     * modules.
      * 
* * - * .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCBRepoSource google_cloud_build_repo = 4; + * .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCBRepoSource google_cloud_build_repo = 4 [(.google.api.field_behavior) = OPTIONAL]; * * * @return Whether the googleCloudBuildRepo field is set. @@ -4521,11 +4561,12 @@ public boolean hasGoogleCloudBuildRepo() { * * *
-     * Cloud Build V2 repository containing the Skaffold Config modules.
+     * Optional. Cloud Build V2 repository containing the Skaffold Config
+     * modules.
      * 
* * - * .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCBRepoSource google_cloud_build_repo = 4; + * .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCBRepoSource google_cloud_build_repo = 4 [(.google.api.field_behavior) = OPTIONAL]; * * * @return The googleCloudBuildRepo. @@ -4551,11 +4592,12 @@ public boolean hasGoogleCloudBuildRepo() { * * *
-     * Cloud Build V2 repository containing the Skaffold Config modules.
+     * Optional. Cloud Build V2 repository containing the Skaffold Config
+     * modules.
      * 
* * - * .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCBRepoSource google_cloud_build_repo = 4; + * .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCBRepoSource google_cloud_build_repo = 4 [(.google.api.field_behavior) = OPTIONAL]; * */ public Builder setGoogleCloudBuildRepo( @@ -4576,11 +4618,12 @@ public Builder setGoogleCloudBuildRepo( * * *
-     * Cloud Build V2 repository containing the Skaffold Config modules.
+     * Optional. Cloud Build V2 repository containing the Skaffold Config
+     * modules.
      * 
* * - * .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCBRepoSource google_cloud_build_repo = 4; + * .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCBRepoSource google_cloud_build_repo = 4 [(.google.api.field_behavior) = OPTIONAL]; * */ public Builder setGoogleCloudBuildRepo( @@ -4598,11 +4641,12 @@ public Builder setGoogleCloudBuildRepo( * * *
-     * Cloud Build V2 repository containing the Skaffold Config modules.
+     * Optional. Cloud Build V2 repository containing the Skaffold Config
+     * modules.
      * 
* * - * .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCBRepoSource google_cloud_build_repo = 4; + * .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCBRepoSource google_cloud_build_repo = 4 [(.google.api.field_behavior) = OPTIONAL]; * */ public Builder mergeGoogleCloudBuildRepo( @@ -4635,11 +4679,12 @@ public Builder mergeGoogleCloudBuildRepo( * * *
-     * Cloud Build V2 repository containing the Skaffold Config modules.
+     * Optional. Cloud Build V2 repository containing the Skaffold Config
+     * modules.
      * 
* * - * .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCBRepoSource google_cloud_build_repo = 4; + * .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCBRepoSource google_cloud_build_repo = 4 [(.google.api.field_behavior) = OPTIONAL]; * */ public Builder clearGoogleCloudBuildRepo() { @@ -4662,11 +4707,12 @@ public Builder clearGoogleCloudBuildRepo() { * * *
-     * Cloud Build V2 repository containing the Skaffold Config modules.
+     * Optional. Cloud Build V2 repository containing the Skaffold Config
+     * modules.
      * 
* * - * .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCBRepoSource google_cloud_build_repo = 4; + * .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCBRepoSource google_cloud_build_repo = 4 [(.google.api.field_behavior) = OPTIONAL]; * */ public com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCBRepoSource.Builder @@ -4677,11 +4723,12 @@ public Builder clearGoogleCloudBuildRepo() { * * *
-     * Cloud Build V2 repository containing the Skaffold Config modules.
+     * Optional. Cloud Build V2 repository containing the Skaffold Config
+     * modules.
      * 
* * - * .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCBRepoSource google_cloud_build_repo = 4; + * .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCBRepoSource google_cloud_build_repo = 4 [(.google.api.field_behavior) = OPTIONAL]; * */ @java.lang.Override @@ -4701,11 +4748,12 @@ public Builder clearGoogleCloudBuildRepo() { * * *
-     * Cloud Build V2 repository containing the Skaffold Config modules.
+     * Optional. Cloud Build V2 repository containing the Skaffold Config
+     * modules.
      * 
* * - * .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCBRepoSource google_cloud_build_repo = 4; + * .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCBRepoSource google_cloud_build_repo = 4 [(.google.api.field_behavior) = OPTIONAL]; * */ private com.google.protobuf.SingleFieldBuilderV3< diff --git a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/SkaffoldModulesOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/SkaffoldModulesOrBuilder.java index 1d5b690abb48..1bf6e16fee01 100644 --- a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/SkaffoldModulesOrBuilder.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/SkaffoldModulesOrBuilder.java @@ -79,10 +79,12 @@ public interface SkaffoldModulesOrBuilder * * *
-   * Remote git repository containing the Skaffold Config modules.
+   * Optional. Remote git repository containing the Skaffold Config modules.
    * 
* - * .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource git = 2; + * + * .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource git = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return Whether the git field is set. */ @@ -91,10 +93,12 @@ public interface SkaffoldModulesOrBuilder * * *
-   * Remote git repository containing the Skaffold Config modules.
+   * Optional. Remote git repository containing the Skaffold Config modules.
    * 
* - * .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource git = 2; + * + * .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource git = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return The git. */ @@ -103,10 +107,12 @@ public interface SkaffoldModulesOrBuilder * * *
-   * Remote git repository containing the Skaffold Config modules.
+   * Optional. Remote git repository containing the Skaffold Config modules.
    * 
* - * .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource git = 2; + * + * .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource git = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSourceOrBuilder getGitOrBuilder(); @@ -114,10 +120,11 @@ public interface SkaffoldModulesOrBuilder * * *
-   * Cloud Storage bucket containing the Skaffold Config modules.
+   * Optional. Cloud Storage bucket containing the Skaffold Config modules.
    * 
* - * .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource google_cloud_storage = 3; + * + * .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource google_cloud_storage = 3 [(.google.api.field_behavior) = OPTIONAL]; * * * @return Whether the googleCloudStorage field is set. @@ -127,10 +134,11 @@ public interface SkaffoldModulesOrBuilder * * *
-   * Cloud Storage bucket containing the Skaffold Config modules.
+   * Optional. Cloud Storage bucket containing the Skaffold Config modules.
    * 
* - * .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource google_cloud_storage = 3; + * + * .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource google_cloud_storage = 3 [(.google.api.field_behavior) = OPTIONAL]; * * * @return The googleCloudStorage. @@ -140,10 +148,11 @@ public interface SkaffoldModulesOrBuilder * * *
-   * Cloud Storage bucket containing the Skaffold Config modules.
+   * Optional. Cloud Storage bucket containing the Skaffold Config modules.
    * 
* - * .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource google_cloud_storage = 3; + * + * .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource google_cloud_storage = 3 [(.google.api.field_behavior) = OPTIONAL]; * */ com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSourceOrBuilder @@ -153,11 +162,12 @@ public interface SkaffoldModulesOrBuilder * * *
-   * Cloud Build V2 repository containing the Skaffold Config modules.
+   * Optional. Cloud Build V2 repository containing the Skaffold Config
+   * modules.
    * 
* * - * .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCBRepoSource google_cloud_build_repo = 4; + * .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCBRepoSource google_cloud_build_repo = 4 [(.google.api.field_behavior) = OPTIONAL]; * * * @return Whether the googleCloudBuildRepo field is set. @@ -167,11 +177,12 @@ public interface SkaffoldModulesOrBuilder * * *
-   * Cloud Build V2 repository containing the Skaffold Config modules.
+   * Optional. Cloud Build V2 repository containing the Skaffold Config
+   * modules.
    * 
* * - * .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCBRepoSource google_cloud_build_repo = 4; + * .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCBRepoSource google_cloud_build_repo = 4 [(.google.api.field_behavior) = OPTIONAL]; * * * @return The googleCloudBuildRepo. @@ -181,11 +192,12 @@ public interface SkaffoldModulesOrBuilder * * *
-   * Cloud Build V2 repository containing the Skaffold Config modules.
+   * Optional. Cloud Build V2 repository containing the Skaffold Config
+   * modules.
    * 
* * - * .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCBRepoSource google_cloud_build_repo = 4; + * .google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCBRepoSource google_cloud_build_repo = 4 [(.google.api.field_behavior) = OPTIONAL]; * */ com.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCBRepoSourceOrBuilder diff --git a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Stage.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Stage.java index 563c77968b1a..04326f06e1a1 100644 --- a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Stage.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Stage.java @@ -73,15 +73,15 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * 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
-   * `my-target` (rather than
+   * Optional. 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 `my-target` (rather than
    * `projects/project/locations/location/targets/my-target`). The location of
    * the `Target` is inferred to be the same as the location of the
    * `DeliveryPipeline` that contains this `Stage`.
    * 
* - * string target_id = 1; + * string target_id = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return The targetId. */ @@ -101,15 +101,15 @@ 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
-   * `my-target` (rather than
+   * Optional. 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 `my-target` (rather than
    * `projects/project/locations/location/targets/my-target`). The location of
    * the `Target` is inferred to be the same as the location of the
    * `DeliveryPipeline` that contains this `Stage`.
    * 
* - * string target_id = 1; + * string target_id = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for targetId. */ @@ -135,11 +135,11 @@ public com.google.protobuf.ByteString getTargetIdBytes() { * * *
-   * Skaffold profiles to use when rendering the manifest for this stage's
-   * `Target`.
+   * Optional. Skaffold profiles to use when rendering the manifest for this
+   * stage's `Target`.
    * 
* - * repeated string profiles = 2; + * repeated string profiles = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return A list containing the profiles. */ @@ -150,11 +150,11 @@ public com.google.protobuf.ProtocolStringList getProfilesList() { * * *
-   * Skaffold profiles to use when rendering the manifest for this stage's
-   * `Target`.
+   * Optional. Skaffold profiles to use when rendering the manifest for this
+   * stage's `Target`.
    * 
* - * repeated string profiles = 2; + * repeated string profiles = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The count of profiles. */ @@ -165,11 +165,11 @@ public int getProfilesCount() { * * *
-   * Skaffold profiles to use when rendering the manifest for this stage's
-   * `Target`.
+   * Optional. Skaffold profiles to use when rendering the manifest for this
+   * stage's `Target`.
    * 
* - * repeated string profiles = 2; + * repeated string profiles = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @param index The index of the element to return. * @return The profiles at the given index. @@ -181,11 +181,11 @@ public java.lang.String getProfiles(int index) { * * *
-   * Skaffold profiles to use when rendering the manifest for this stage's
-   * `Target`.
+   * Optional. Skaffold profiles to use when rendering the manifest for this
+   * stage's `Target`.
    * 
* - * repeated string profiles = 2; + * repeated string profiles = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @param index The index of the value to return. * @return The bytes of the profiles at the given index. @@ -821,15 +821,15 @@ public Builder mergeFrom( * * *
-     * 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
-     * `my-target` (rather than
+     * Optional. 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 `my-target` (rather than
      * `projects/project/locations/location/targets/my-target`). The location of
      * the `Target` is inferred to be the same as the location of the
      * `DeliveryPipeline` that contains this `Stage`.
      * 
* - * string target_id = 1; + * string target_id = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return The targetId. */ @@ -848,15 +848,15 @@ 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
-     * `my-target` (rather than
+     * Optional. 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 `my-target` (rather than
      * `projects/project/locations/location/targets/my-target`). The location of
      * the `Target` is inferred to be the same as the location of the
      * `DeliveryPipeline` that contains this `Stage`.
      * 
* - * string target_id = 1; + * string target_id = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for targetId. */ @@ -875,15 +875,15 @@ 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
-     * `my-target` (rather than
+     * Optional. 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 `my-target` (rather than
      * `projects/project/locations/location/targets/my-target`). The location of
      * the `Target` is inferred to be the same as the location of the
      * `DeliveryPipeline` that contains this `Stage`.
      * 
* - * string target_id = 1; + * string target_id = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The targetId to set. * @return This builder for chaining. @@ -901,15 +901,15 @@ public Builder setTargetId(java.lang.String value) { * * *
-     * 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
-     * `my-target` (rather than
+     * Optional. 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 `my-target` (rather than
      * `projects/project/locations/location/targets/my-target`). The location of
      * the `Target` is inferred to be the same as the location of the
      * `DeliveryPipeline` that contains this `Stage`.
      * 
* - * string target_id = 1; + * string target_id = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return This builder for chaining. */ @@ -923,15 +923,15 @@ public Builder clearTargetId() { * * *
-     * 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
-     * `my-target` (rather than
+     * Optional. 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 `my-target` (rather than
      * `projects/project/locations/location/targets/my-target`). The location of
      * the `Target` is inferred to be the same as the location of the
      * `DeliveryPipeline` that contains this `Stage`.
      * 
* - * string target_id = 1; + * string target_id = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The bytes for targetId to set. * @return This builder for chaining. @@ -960,11 +960,11 @@ private void ensureProfilesIsMutable() { * * *
-     * Skaffold profiles to use when rendering the manifest for this stage's
-     * `Target`.
+     * Optional. Skaffold profiles to use when rendering the manifest for this
+     * stage's `Target`.
      * 
* - * repeated string profiles = 2; + * repeated string profiles = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return A list containing the profiles. */ @@ -976,11 +976,11 @@ public com.google.protobuf.ProtocolStringList getProfilesList() { * * *
-     * Skaffold profiles to use when rendering the manifest for this stage's
-     * `Target`.
+     * Optional. Skaffold profiles to use when rendering the manifest for this
+     * stage's `Target`.
      * 
* - * repeated string profiles = 2; + * repeated string profiles = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The count of profiles. */ @@ -991,11 +991,11 @@ public int getProfilesCount() { * * *
-     * Skaffold profiles to use when rendering the manifest for this stage's
-     * `Target`.
+     * Optional. Skaffold profiles to use when rendering the manifest for this
+     * stage's `Target`.
      * 
* - * repeated string profiles = 2; + * repeated string profiles = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @param index The index of the element to return. * @return The profiles at the given index. @@ -1007,11 +1007,11 @@ public java.lang.String getProfiles(int index) { * * *
-     * Skaffold profiles to use when rendering the manifest for this stage's
-     * `Target`.
+     * Optional. Skaffold profiles to use when rendering the manifest for this
+     * stage's `Target`.
      * 
* - * repeated string profiles = 2; + * repeated string profiles = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @param index The index of the value to return. * @return The bytes of the profiles at the given index. @@ -1023,11 +1023,11 @@ public com.google.protobuf.ByteString getProfilesBytes(int index) { * * *
-     * Skaffold profiles to use when rendering the manifest for this stage's
-     * `Target`.
+     * Optional. Skaffold profiles to use when rendering the manifest for this
+     * stage's `Target`.
      * 
* - * repeated string profiles = 2; + * repeated string profiles = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @param index The index to set the value at. * @param value The profiles to set. @@ -1047,11 +1047,11 @@ public Builder setProfiles(int index, java.lang.String value) { * * *
-     * Skaffold profiles to use when rendering the manifest for this stage's
-     * `Target`.
+     * Optional. Skaffold profiles to use when rendering the manifest for this
+     * stage's `Target`.
      * 
* - * repeated string profiles = 2; + * repeated string profiles = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The profiles to add. * @return This builder for chaining. @@ -1070,11 +1070,11 @@ public Builder addProfiles(java.lang.String value) { * * *
-     * Skaffold profiles to use when rendering the manifest for this stage's
-     * `Target`.
+     * Optional. Skaffold profiles to use when rendering the manifest for this
+     * stage's `Target`.
      * 
* - * repeated string profiles = 2; + * repeated string profiles = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @param values The profiles to add. * @return This builder for chaining. @@ -1090,11 +1090,11 @@ public Builder addAllProfiles(java.lang.Iterable values) { * * *
-     * Skaffold profiles to use when rendering the manifest for this stage's
-     * `Target`.
+     * Optional. Skaffold profiles to use when rendering the manifest for this
+     * stage's `Target`.
      * 
* - * repeated string profiles = 2; + * repeated string profiles = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return This builder for chaining. */ @@ -1109,11 +1109,11 @@ public Builder clearProfiles() { * * *
-     * Skaffold profiles to use when rendering the manifest for this stage's
-     * `Target`.
+     * Optional. Skaffold profiles to use when rendering the manifest for this
+     * stage's `Target`.
      * 
* - * repeated string profiles = 2; + * repeated string profiles = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The bytes of the profiles to add. * @return This builder for chaining. diff --git a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/StageOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/StageOrBuilder.java index b4806790b93e..e87f1ecfcb3b 100644 --- a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/StageOrBuilder.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/StageOrBuilder.java @@ -28,15 +28,15 @@ public interface StageOrBuilder * * *
-   * 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
-   * `my-target` (rather than
+   * Optional. 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 `my-target` (rather than
    * `projects/project/locations/location/targets/my-target`). The location of
    * the `Target` is inferred to be the same as the location of the
    * `DeliveryPipeline` that contains this `Stage`.
    * 
* - * string target_id = 1; + * string target_id = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return The targetId. */ @@ -45,15 +45,15 @@ public interface StageOrBuilder * * *
-   * 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
-   * `my-target` (rather than
+   * Optional. 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 `my-target` (rather than
    * `projects/project/locations/location/targets/my-target`). The location of
    * the `Target` is inferred to be the same as the location of the
    * `DeliveryPipeline` that contains this `Stage`.
    * 
* - * string target_id = 1; + * string target_id = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for targetId. */ @@ -63,11 +63,11 @@ public interface StageOrBuilder * * *
-   * Skaffold profiles to use when rendering the manifest for this stage's
-   * `Target`.
+   * Optional. Skaffold profiles to use when rendering the manifest for this
+   * stage's `Target`.
    * 
* - * repeated string profiles = 2; + * repeated string profiles = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return A list containing the profiles. */ @@ -76,11 +76,11 @@ public interface StageOrBuilder * * *
-   * Skaffold profiles to use when rendering the manifest for this stage's
-   * `Target`.
+   * Optional. Skaffold profiles to use when rendering the manifest for this
+   * stage's `Target`.
    * 
* - * repeated string profiles = 2; + * repeated string profiles = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The count of profiles. */ @@ -89,11 +89,11 @@ public interface StageOrBuilder * * *
-   * Skaffold profiles to use when rendering the manifest for this stage's
-   * `Target`.
+   * Optional. Skaffold profiles to use when rendering the manifest for this
+   * stage's `Target`.
    * 
* - * repeated string profiles = 2; + * repeated string profiles = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @param index The index of the element to return. * @return The profiles at the given index. @@ -103,11 +103,11 @@ public interface StageOrBuilder * * *
-   * Skaffold profiles to use when rendering the manifest for this stage's
-   * `Target`.
+   * Optional. Skaffold profiles to use when rendering the manifest for this
+   * stage's `Target`.
    * 
* - * repeated string profiles = 2; + * repeated string profiles = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @param index The index of the value to return. * @return The bytes of the profiles at the given index. diff --git a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Standard.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Standard.java index 7d0094ab74b0..5501d10187b2 100644 --- a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Standard.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Standard.java @@ -68,10 +68,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Whether to verify a deployment.
+   * Optional. Whether to verify a deployment.
    * 
* - * bool verify = 1; + * bool verify = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return The verify. */ @@ -615,10 +615,10 @@ public Builder mergeFrom( * * *
-     * Whether to verify a deployment.
+     * Optional. Whether to verify a deployment.
      * 
* - * bool verify = 1; + * bool verify = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return The verify. */ @@ -630,10 +630,10 @@ public boolean getVerify() { * * *
-     * Whether to verify a deployment.
+     * Optional. Whether to verify a deployment.
      * 
* - * bool verify = 1; + * bool verify = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The verify to set. * @return This builder for chaining. @@ -649,10 +649,10 @@ public Builder setVerify(boolean value) { * * *
-     * Whether to verify a deployment.
+     * Optional. Whether to verify a deployment.
      * 
* - * bool verify = 1; + * bool verify = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return This builder for chaining. */ diff --git a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/StandardOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/StandardOrBuilder.java index 6d9b761adc36..cbadaabf53fa 100644 --- a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/StandardOrBuilder.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/StandardOrBuilder.java @@ -28,10 +28,10 @@ public interface StandardOrBuilder * * *
-   * Whether to verify a deployment.
+   * Optional. Whether to verify a deployment.
    * 
* - * bool verify = 1; + * bool verify = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return The verify. */ diff --git a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Strategy.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Strategy.java index e34f086c4cb3..0747864bc8a1 100644 --- a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Strategy.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Strategy.java @@ -115,11 +115,12 @@ public DeploymentStrategyCase getDeploymentStrategyCase() { * * *
-   * Standard deployment strategy executes a single deploy and allows
-   * verifying the deployment.
+   * Optional. Standard deployment strategy executes a single deploy and
+   * allows verifying the deployment.
    * 
* - * .google.cloud.deploy.v1.Standard standard = 1; + * .google.cloud.deploy.v1.Standard standard = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return Whether the standard field is set. */ @@ -131,11 +132,12 @@ public boolean hasStandard() { * * *
-   * Standard deployment strategy executes a single deploy and allows
-   * verifying the deployment.
+   * Optional. Standard deployment strategy executes a single deploy and
+   * allows verifying the deployment.
    * 
* - * .google.cloud.deploy.v1.Standard standard = 1; + * .google.cloud.deploy.v1.Standard standard = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return The standard. */ @@ -150,11 +152,12 @@ public com.google.cloud.deploy.v1.Standard getStandard() { * * *
-   * Standard deployment strategy executes a single deploy and allows
-   * verifying the deployment.
+   * Optional. Standard deployment strategy executes a single deploy and
+   * allows verifying the deployment.
    * 
* - * .google.cloud.deploy.v1.Standard standard = 1; + * .google.cloud.deploy.v1.Standard standard = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.StandardOrBuilder getStandardOrBuilder() { @@ -169,11 +172,12 @@ public com.google.cloud.deploy.v1.StandardOrBuilder getStandardOrBuilder() { * * *
-   * Canary deployment strategy provides progressive percentage based
-   * deployments to a Target.
+   * Optional. Canary deployment strategy provides progressive percentage
+   * based deployments to a Target.
    * 
* - * .google.cloud.deploy.v1.Canary canary = 2; + * .google.cloud.deploy.v1.Canary canary = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return Whether the canary field is set. */ @@ -185,11 +189,12 @@ public boolean hasCanary() { * * *
-   * Canary deployment strategy provides progressive percentage based
-   * deployments to a Target.
+   * Optional. Canary deployment strategy provides progressive percentage
+   * based deployments to a Target.
    * 
* - * .google.cloud.deploy.v1.Canary canary = 2; + * .google.cloud.deploy.v1.Canary canary = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return The canary. */ @@ -204,11 +209,12 @@ public com.google.cloud.deploy.v1.Canary getCanary() { * * *
-   * Canary deployment strategy provides progressive percentage based
-   * deployments to a Target.
+   * Optional. Canary deployment strategy provides progressive percentage
+   * based deployments to a Target.
    * 
* - * .google.cloud.deploy.v1.Canary canary = 2; + * .google.cloud.deploy.v1.Canary canary = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.CanaryOrBuilder getCanaryOrBuilder() { @@ -642,11 +648,13 @@ public Builder clearDeploymentStrategy() { * * *
-     * Standard deployment strategy executes a single deploy and allows
-     * verifying the deployment.
+     * Optional. Standard deployment strategy executes a single deploy and
+     * allows verifying the deployment.
      * 
* - * .google.cloud.deploy.v1.Standard standard = 1; + * + * .google.cloud.deploy.v1.Standard standard = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return Whether the standard field is set. */ @@ -658,11 +666,13 @@ public boolean hasStandard() { * * *
-     * Standard deployment strategy executes a single deploy and allows
-     * verifying the deployment.
+     * Optional. Standard deployment strategy executes a single deploy and
+     * allows verifying the deployment.
      * 
* - * .google.cloud.deploy.v1.Standard standard = 1; + * + * .google.cloud.deploy.v1.Standard standard = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return The standard. */ @@ -684,11 +694,13 @@ public com.google.cloud.deploy.v1.Standard getStandard() { * * *
-     * Standard deployment strategy executes a single deploy and allows
-     * verifying the deployment.
+     * Optional. Standard deployment strategy executes a single deploy and
+     * allows verifying the deployment.
      * 
* - * .google.cloud.deploy.v1.Standard standard = 1; + * + * .google.cloud.deploy.v1.Standard standard = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setStandard(com.google.cloud.deploy.v1.Standard value) { if (standardBuilder_ == null) { @@ -707,11 +719,13 @@ public Builder setStandard(com.google.cloud.deploy.v1.Standard value) { * * *
-     * Standard deployment strategy executes a single deploy and allows
-     * verifying the deployment.
+     * Optional. Standard deployment strategy executes a single deploy and
+     * allows verifying the deployment.
      * 
* - * .google.cloud.deploy.v1.Standard standard = 1; + * + * .google.cloud.deploy.v1.Standard standard = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setStandard(com.google.cloud.deploy.v1.Standard.Builder builderForValue) { if (standardBuilder_ == null) { @@ -727,11 +741,13 @@ public Builder setStandard(com.google.cloud.deploy.v1.Standard.Builder builderFo * * *
-     * Standard deployment strategy executes a single deploy and allows
-     * verifying the deployment.
+     * Optional. Standard deployment strategy executes a single deploy and
+     * allows verifying the deployment.
      * 
* - * .google.cloud.deploy.v1.Standard standard = 1; + * + * .google.cloud.deploy.v1.Standard standard = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeStandard(com.google.cloud.deploy.v1.Standard value) { if (standardBuilder_ == null) { @@ -760,11 +776,13 @@ public Builder mergeStandard(com.google.cloud.deploy.v1.Standard value) { * * *
-     * Standard deployment strategy executes a single deploy and allows
-     * verifying the deployment.
+     * Optional. Standard deployment strategy executes a single deploy and
+     * allows verifying the deployment.
      * 
* - * .google.cloud.deploy.v1.Standard standard = 1; + * + * .google.cloud.deploy.v1.Standard standard = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearStandard() { if (standardBuilder_ == null) { @@ -786,11 +804,13 @@ public Builder clearStandard() { * * *
-     * Standard deployment strategy executes a single deploy and allows
-     * verifying the deployment.
+     * Optional. Standard deployment strategy executes a single deploy and
+     * allows verifying the deployment.
      * 
* - * .google.cloud.deploy.v1.Standard standard = 1; + * + * .google.cloud.deploy.v1.Standard standard = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.deploy.v1.Standard.Builder getStandardBuilder() { return getStandardFieldBuilder().getBuilder(); @@ -799,11 +819,13 @@ public com.google.cloud.deploy.v1.Standard.Builder getStandardBuilder() { * * *
-     * Standard deployment strategy executes a single deploy and allows
-     * verifying the deployment.
+     * Optional. Standard deployment strategy executes a single deploy and
+     * allows verifying the deployment.
      * 
* - * .google.cloud.deploy.v1.Standard standard = 1; + * + * .google.cloud.deploy.v1.Standard standard = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.StandardOrBuilder getStandardOrBuilder() { @@ -820,11 +842,13 @@ public com.google.cloud.deploy.v1.StandardOrBuilder getStandardOrBuilder() { * * *
-     * Standard deployment strategy executes a single deploy and allows
-     * verifying the deployment.
+     * Optional. Standard deployment strategy executes a single deploy and
+     * allows verifying the deployment.
      * 
* - * .google.cloud.deploy.v1.Standard standard = 1; + * + * .google.cloud.deploy.v1.Standard standard = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.deploy.v1.Standard, @@ -859,11 +883,12 @@ public com.google.cloud.deploy.v1.StandardOrBuilder getStandardOrBuilder() { * * *
-     * Canary deployment strategy provides progressive percentage based
-     * deployments to a Target.
+     * Optional. Canary deployment strategy provides progressive percentage
+     * based deployments to a Target.
      * 
* - * .google.cloud.deploy.v1.Canary canary = 2; + * .google.cloud.deploy.v1.Canary canary = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return Whether the canary field is set. */ @@ -875,11 +900,12 @@ public boolean hasCanary() { * * *
-     * Canary deployment strategy provides progressive percentage based
-     * deployments to a Target.
+     * Optional. Canary deployment strategy provides progressive percentage
+     * based deployments to a Target.
      * 
* - * .google.cloud.deploy.v1.Canary canary = 2; + * .google.cloud.deploy.v1.Canary canary = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return The canary. */ @@ -901,11 +927,12 @@ public com.google.cloud.deploy.v1.Canary getCanary() { * * *
-     * Canary deployment strategy provides progressive percentage based
-     * deployments to a Target.
+     * Optional. Canary deployment strategy provides progressive percentage
+     * based deployments to a Target.
      * 
* - * .google.cloud.deploy.v1.Canary canary = 2; + * .google.cloud.deploy.v1.Canary canary = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setCanary(com.google.cloud.deploy.v1.Canary value) { if (canaryBuilder_ == null) { @@ -924,11 +951,12 @@ public Builder setCanary(com.google.cloud.deploy.v1.Canary value) { * * *
-     * Canary deployment strategy provides progressive percentage based
-     * deployments to a Target.
+     * Optional. Canary deployment strategy provides progressive percentage
+     * based deployments to a Target.
      * 
* - * .google.cloud.deploy.v1.Canary canary = 2; + * .google.cloud.deploy.v1.Canary canary = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setCanary(com.google.cloud.deploy.v1.Canary.Builder builderForValue) { if (canaryBuilder_ == null) { @@ -944,11 +972,12 @@ public Builder setCanary(com.google.cloud.deploy.v1.Canary.Builder builderForVal * * *
-     * Canary deployment strategy provides progressive percentage based
-     * deployments to a Target.
+     * Optional. Canary deployment strategy provides progressive percentage
+     * based deployments to a Target.
      * 
* - * .google.cloud.deploy.v1.Canary canary = 2; + * .google.cloud.deploy.v1.Canary canary = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeCanary(com.google.cloud.deploy.v1.Canary value) { if (canaryBuilder_ == null) { @@ -977,11 +1006,12 @@ public Builder mergeCanary(com.google.cloud.deploy.v1.Canary value) { * * *
-     * Canary deployment strategy provides progressive percentage based
-     * deployments to a Target.
+     * Optional. Canary deployment strategy provides progressive percentage
+     * based deployments to a Target.
      * 
* - * .google.cloud.deploy.v1.Canary canary = 2; + * .google.cloud.deploy.v1.Canary canary = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearCanary() { if (canaryBuilder_ == null) { @@ -1003,11 +1033,12 @@ public Builder clearCanary() { * * *
-     * Canary deployment strategy provides progressive percentage based
-     * deployments to a Target.
+     * Optional. Canary deployment strategy provides progressive percentage
+     * based deployments to a Target.
      * 
* - * .google.cloud.deploy.v1.Canary canary = 2; + * .google.cloud.deploy.v1.Canary canary = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.deploy.v1.Canary.Builder getCanaryBuilder() { return getCanaryFieldBuilder().getBuilder(); @@ -1016,11 +1047,12 @@ public com.google.cloud.deploy.v1.Canary.Builder getCanaryBuilder() { * * *
-     * Canary deployment strategy provides progressive percentage based
-     * deployments to a Target.
+     * Optional. Canary deployment strategy provides progressive percentage
+     * based deployments to a Target.
      * 
* - * .google.cloud.deploy.v1.Canary canary = 2; + * .google.cloud.deploy.v1.Canary canary = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.CanaryOrBuilder getCanaryOrBuilder() { @@ -1037,11 +1069,12 @@ public com.google.cloud.deploy.v1.CanaryOrBuilder getCanaryOrBuilder() { * * *
-     * Canary deployment strategy provides progressive percentage based
-     * deployments to a Target.
+     * Optional. Canary deployment strategy provides progressive percentage
+     * based deployments to a Target.
      * 
* - * .google.cloud.deploy.v1.Canary canary = 2; + * .google.cloud.deploy.v1.Canary canary = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.deploy.v1.Canary, diff --git a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/StrategyOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/StrategyOrBuilder.java index 393ad9f32dc0..117c24cf75c7 100644 --- a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/StrategyOrBuilder.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/StrategyOrBuilder.java @@ -28,11 +28,12 @@ public interface StrategyOrBuilder * * *
-   * Standard deployment strategy executes a single deploy and allows
-   * verifying the deployment.
+   * Optional. Standard deployment strategy executes a single deploy and
+   * allows verifying the deployment.
    * 
* - * .google.cloud.deploy.v1.Standard standard = 1; + * .google.cloud.deploy.v1.Standard standard = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return Whether the standard field is set. */ @@ -41,11 +42,12 @@ public interface StrategyOrBuilder * * *
-   * Standard deployment strategy executes a single deploy and allows
-   * verifying the deployment.
+   * Optional. Standard deployment strategy executes a single deploy and
+   * allows verifying the deployment.
    * 
* - * .google.cloud.deploy.v1.Standard standard = 1; + * .google.cloud.deploy.v1.Standard standard = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return The standard. */ @@ -54,11 +56,12 @@ public interface StrategyOrBuilder * * *
-   * Standard deployment strategy executes a single deploy and allows
-   * verifying the deployment.
+   * Optional. Standard deployment strategy executes a single deploy and
+   * allows verifying the deployment.
    * 
* - * .google.cloud.deploy.v1.Standard standard = 1; + * .google.cloud.deploy.v1.Standard standard = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.deploy.v1.StandardOrBuilder getStandardOrBuilder(); @@ -66,11 +69,12 @@ public interface StrategyOrBuilder * * *
-   * Canary deployment strategy provides progressive percentage based
-   * deployments to a Target.
+   * Optional. Canary deployment strategy provides progressive percentage
+   * based deployments to a Target.
    * 
* - * .google.cloud.deploy.v1.Canary canary = 2; + * .google.cloud.deploy.v1.Canary canary = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return Whether the canary field is set. */ @@ -79,11 +83,12 @@ public interface StrategyOrBuilder * * *
-   * Canary deployment strategy provides progressive percentage based
-   * deployments to a Target.
+   * Optional. Canary deployment strategy provides progressive percentage
+   * based deployments to a Target.
    * 
* - * .google.cloud.deploy.v1.Canary canary = 2; + * .google.cloud.deploy.v1.Canary canary = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return The canary. */ @@ -92,11 +97,12 @@ public interface StrategyOrBuilder * * *
-   * Canary deployment strategy provides progressive percentage based
-   * deployments to a Target.
+   * Optional. Canary deployment strategy provides progressive percentage
+   * based deployments to a Target.
    * 
* - * .google.cloud.deploy.v1.Canary canary = 2; + * .google.cloud.deploy.v1.Canary canary = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.deploy.v1.CanaryOrBuilder getCanaryOrBuilder(); diff --git a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Target.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Target.java index 0b850589917c..3f4fe2a67b80 100644 --- a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Target.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/Target.java @@ -156,12 +156,12 @@ public DeploymentTargetCase getDeploymentTargetCase() { * * *
-   * Optional. Name of the `Target`. Format is
+   * Identifier. Name of the `Target`. Format is
    * `projects/{project}/locations/{location}/targets/{target}`.
    * The `target` component must match `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`
    * 
* - * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The name. */ @@ -181,12 +181,12 @@ public java.lang.String getName() { * * *
-   * Optional. Name of the `Target`. Format is
+   * Identifier. Name of the `Target`. Format is
    * `projects/{project}/locations/{location}/targets/{target}`.
    * The `target` component must match `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`
    * 
* - * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The bytes for name. */ @@ -1231,7 +1231,7 @@ public com.google.protobuf.ByteString getEtagBytes() { * * *
-   * Configurations for all execution that relates to this `Target`.
+   * Optional. Configurations for all execution that relates to this `Target`.
    * Each `ExecutionEnvironmentUsage` value may only be used in a single
    * configuration; using the same value multiple times is an error.
    * When one or more configurations are specified, they must include the
@@ -1240,7 +1240,9 @@ public com.google.protobuf.ByteString getEtagBytes() {
    * specified in `DefaultPool`.
    * 
* - * repeated .google.cloud.deploy.v1.ExecutionConfig execution_configs = 16; + * + * repeated .google.cloud.deploy.v1.ExecutionConfig execution_configs = 16 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public java.util.List getExecutionConfigsList() { @@ -1250,7 +1252,7 @@ public java.util.List getExecutionCo * * *
-   * Configurations for all execution that relates to this `Target`.
+   * Optional. Configurations for all execution that relates to this `Target`.
    * Each `ExecutionEnvironmentUsage` value may only be used in a single
    * configuration; using the same value multiple times is an error.
    * When one or more configurations are specified, they must include the
@@ -1259,7 +1261,9 @@ public java.util.List getExecutionCo
    * specified in `DefaultPool`.
    * 
* - * repeated .google.cloud.deploy.v1.ExecutionConfig execution_configs = 16; + * + * repeated .google.cloud.deploy.v1.ExecutionConfig execution_configs = 16 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public java.util.List @@ -1270,7 +1274,7 @@ public java.util.List getExecutionCo * * *
-   * Configurations for all execution that relates to this `Target`.
+   * Optional. Configurations for all execution that relates to this `Target`.
    * Each `ExecutionEnvironmentUsage` value may only be used in a single
    * configuration; using the same value multiple times is an error.
    * When one or more configurations are specified, they must include the
@@ -1279,7 +1283,9 @@ public java.util.List getExecutionCo
    * specified in `DefaultPool`.
    * 
* - * repeated .google.cloud.deploy.v1.ExecutionConfig execution_configs = 16; + * + * repeated .google.cloud.deploy.v1.ExecutionConfig execution_configs = 16 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public int getExecutionConfigsCount() { @@ -1289,7 +1295,7 @@ public int getExecutionConfigsCount() { * * *
-   * Configurations for all execution that relates to this `Target`.
+   * Optional. Configurations for all execution that relates to this `Target`.
    * Each `ExecutionEnvironmentUsage` value may only be used in a single
    * configuration; using the same value multiple times is an error.
    * When one or more configurations are specified, they must include the
@@ -1298,7 +1304,9 @@ public int getExecutionConfigsCount() {
    * specified in `DefaultPool`.
    * 
* - * repeated .google.cloud.deploy.v1.ExecutionConfig execution_configs = 16; + * + * repeated .google.cloud.deploy.v1.ExecutionConfig execution_configs = 16 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.ExecutionConfig getExecutionConfigs(int index) { @@ -1308,7 +1316,7 @@ public com.google.cloud.deploy.v1.ExecutionConfig getExecutionConfigs(int index) * * *
-   * Configurations for all execution that relates to this `Target`.
+   * Optional. Configurations for all execution that relates to this `Target`.
    * Each `ExecutionEnvironmentUsage` value may only be used in a single
    * configuration; using the same value multiple times is an error.
    * When one or more configurations are specified, they must include the
@@ -1317,7 +1325,9 @@ public com.google.cloud.deploy.v1.ExecutionConfig getExecutionConfigs(int index)
    * specified in `DefaultPool`.
    * 
* - * repeated .google.cloud.deploy.v1.ExecutionConfig execution_configs = 16; + * + * repeated .google.cloud.deploy.v1.ExecutionConfig execution_configs = 16 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.deploy.v1.ExecutionConfigOrBuilder getExecutionConfigsOrBuilder( @@ -2434,12 +2444,12 @@ public Builder clearDeploymentTarget() { * * *
-     * Optional. Name of the `Target`. Format is
+     * Identifier. Name of the `Target`. Format is
      * `projects/{project}/locations/{location}/targets/{target}`.
      * The `target` component must match `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`
      * 
* - * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The name. */ @@ -2458,12 +2468,12 @@ public java.lang.String getName() { * * *
-     * Optional. Name of the `Target`. Format is
+     * Identifier. Name of the `Target`. Format is
      * `projects/{project}/locations/{location}/targets/{target}`.
      * The `target` component must match `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`
      * 
* - * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The bytes for name. */ @@ -2482,12 +2492,12 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Optional. Name of the `Target`. Format is
+     * Identifier. Name of the `Target`. Format is
      * `projects/{project}/locations/{location}/targets/{target}`.
      * The `target` component must match `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`
      * 
* - * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @param value The name to set. * @return This builder for chaining. @@ -2505,12 +2515,12 @@ public Builder setName(java.lang.String value) { * * *
-     * Optional. Name of the `Target`. Format is
+     * Identifier. Name of the `Target`. Format is
      * `projects/{project}/locations/{location}/targets/{target}`.
      * The `target` component must match `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`
      * 
* - * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return This builder for chaining. */ @@ -2524,12 +2534,12 @@ public Builder clearName() { * * *
-     * Optional. Name of the `Target`. Format is
+     * Identifier. Name of the `Target`. Format is
      * `projects/{project}/locations/{location}/targets/{target}`.
      * The `target` component must match `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`
      * 
* - * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @param value The bytes for name to set. * @return This builder for chaining. @@ -5321,7 +5331,7 @@ private void ensureExecutionConfigsIsMutable() { * * *
-     * Configurations for all execution that relates to this `Target`.
+     * Optional. Configurations for all execution that relates to this `Target`.
      * Each `ExecutionEnvironmentUsage` value may only be used in a single
      * configuration; using the same value multiple times is an error.
      * When one or more configurations are specified, they must include the
@@ -5330,7 +5340,9 @@ private void ensureExecutionConfigsIsMutable() {
      * specified in `DefaultPool`.
      * 
* - * repeated .google.cloud.deploy.v1.ExecutionConfig execution_configs = 16; + * + * repeated .google.cloud.deploy.v1.ExecutionConfig execution_configs = 16 [(.google.api.field_behavior) = OPTIONAL]; + * */ public java.util.List getExecutionConfigsList() { if (executionConfigsBuilder_ == null) { @@ -5343,7 +5355,7 @@ public java.util.List getExecutionCo * * *
-     * Configurations for all execution that relates to this `Target`.
+     * Optional. Configurations for all execution that relates to this `Target`.
      * Each `ExecutionEnvironmentUsage` value may only be used in a single
      * configuration; using the same value multiple times is an error.
      * When one or more configurations are specified, they must include the
@@ -5352,7 +5364,9 @@ public java.util.List getExecutionCo
      * specified in `DefaultPool`.
      * 
* - * repeated .google.cloud.deploy.v1.ExecutionConfig execution_configs = 16; + * + * repeated .google.cloud.deploy.v1.ExecutionConfig execution_configs = 16 [(.google.api.field_behavior) = OPTIONAL]; + * */ public int getExecutionConfigsCount() { if (executionConfigsBuilder_ == null) { @@ -5365,7 +5379,7 @@ public int getExecutionConfigsCount() { * * *
-     * Configurations for all execution that relates to this `Target`.
+     * Optional. Configurations for all execution that relates to this `Target`.
      * Each `ExecutionEnvironmentUsage` value may only be used in a single
      * configuration; using the same value multiple times is an error.
      * When one or more configurations are specified, they must include the
@@ -5374,7 +5388,9 @@ public int getExecutionConfigsCount() {
      * specified in `DefaultPool`.
      * 
* - * repeated .google.cloud.deploy.v1.ExecutionConfig execution_configs = 16; + * + * repeated .google.cloud.deploy.v1.ExecutionConfig execution_configs = 16 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.deploy.v1.ExecutionConfig getExecutionConfigs(int index) { if (executionConfigsBuilder_ == null) { @@ -5387,7 +5403,7 @@ public com.google.cloud.deploy.v1.ExecutionConfig getExecutionConfigs(int index) * * *
-     * Configurations for all execution that relates to this `Target`.
+     * Optional. Configurations for all execution that relates to this `Target`.
      * Each `ExecutionEnvironmentUsage` value may only be used in a single
      * configuration; using the same value multiple times is an error.
      * When one or more configurations are specified, they must include the
@@ -5396,7 +5412,9 @@ public com.google.cloud.deploy.v1.ExecutionConfig getExecutionConfigs(int index)
      * specified in `DefaultPool`.
      * 
* - * repeated .google.cloud.deploy.v1.ExecutionConfig execution_configs = 16; + * + * repeated .google.cloud.deploy.v1.ExecutionConfig execution_configs = 16 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setExecutionConfigs( int index, com.google.cloud.deploy.v1.ExecutionConfig value) { @@ -5416,7 +5434,7 @@ public Builder setExecutionConfigs( * * *
-     * Configurations for all execution that relates to this `Target`.
+     * Optional. Configurations for all execution that relates to this `Target`.
      * Each `ExecutionEnvironmentUsage` value may only be used in a single
      * configuration; using the same value multiple times is an error.
      * When one or more configurations are specified, they must include the
@@ -5425,7 +5443,9 @@ public Builder setExecutionConfigs(
      * specified in `DefaultPool`.
      * 
* - * repeated .google.cloud.deploy.v1.ExecutionConfig execution_configs = 16; + * + * repeated .google.cloud.deploy.v1.ExecutionConfig execution_configs = 16 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setExecutionConfigs( int index, com.google.cloud.deploy.v1.ExecutionConfig.Builder builderForValue) { @@ -5442,7 +5462,7 @@ public Builder setExecutionConfigs( * * *
-     * Configurations for all execution that relates to this `Target`.
+     * Optional. Configurations for all execution that relates to this `Target`.
      * Each `ExecutionEnvironmentUsage` value may only be used in a single
      * configuration; using the same value multiple times is an error.
      * When one or more configurations are specified, they must include the
@@ -5451,7 +5471,9 @@ public Builder setExecutionConfigs(
      * specified in `DefaultPool`.
      * 
* - * repeated .google.cloud.deploy.v1.ExecutionConfig execution_configs = 16; + * + * repeated .google.cloud.deploy.v1.ExecutionConfig execution_configs = 16 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addExecutionConfigs(com.google.cloud.deploy.v1.ExecutionConfig value) { if (executionConfigsBuilder_ == null) { @@ -5470,7 +5492,7 @@ public Builder addExecutionConfigs(com.google.cloud.deploy.v1.ExecutionConfig va * * *
-     * Configurations for all execution that relates to this `Target`.
+     * Optional. Configurations for all execution that relates to this `Target`.
      * Each `ExecutionEnvironmentUsage` value may only be used in a single
      * configuration; using the same value multiple times is an error.
      * When one or more configurations are specified, they must include the
@@ -5479,7 +5501,9 @@ public Builder addExecutionConfigs(com.google.cloud.deploy.v1.ExecutionConfig va
      * specified in `DefaultPool`.
      * 
* - * repeated .google.cloud.deploy.v1.ExecutionConfig execution_configs = 16; + * + * repeated .google.cloud.deploy.v1.ExecutionConfig execution_configs = 16 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addExecutionConfigs( int index, com.google.cloud.deploy.v1.ExecutionConfig value) { @@ -5499,7 +5523,7 @@ public Builder addExecutionConfigs( * * *
-     * Configurations for all execution that relates to this `Target`.
+     * Optional. Configurations for all execution that relates to this `Target`.
      * Each `ExecutionEnvironmentUsage` value may only be used in a single
      * configuration; using the same value multiple times is an error.
      * When one or more configurations are specified, they must include the
@@ -5508,7 +5532,9 @@ public Builder addExecutionConfigs(
      * specified in `DefaultPool`.
      * 
* - * repeated .google.cloud.deploy.v1.ExecutionConfig execution_configs = 16; + * + * repeated .google.cloud.deploy.v1.ExecutionConfig execution_configs = 16 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addExecutionConfigs( com.google.cloud.deploy.v1.ExecutionConfig.Builder builderForValue) { @@ -5525,7 +5551,7 @@ public Builder addExecutionConfigs( * * *
-     * Configurations for all execution that relates to this `Target`.
+     * Optional. Configurations for all execution that relates to this `Target`.
      * Each `ExecutionEnvironmentUsage` value may only be used in a single
      * configuration; using the same value multiple times is an error.
      * When one or more configurations are specified, they must include the
@@ -5534,7 +5560,9 @@ public Builder addExecutionConfigs(
      * specified in `DefaultPool`.
      * 
* - * repeated .google.cloud.deploy.v1.ExecutionConfig execution_configs = 16; + * + * repeated .google.cloud.deploy.v1.ExecutionConfig execution_configs = 16 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addExecutionConfigs( int index, com.google.cloud.deploy.v1.ExecutionConfig.Builder builderForValue) { @@ -5551,7 +5579,7 @@ public Builder addExecutionConfigs( * * *
-     * Configurations for all execution that relates to this `Target`.
+     * Optional. Configurations for all execution that relates to this `Target`.
      * Each `ExecutionEnvironmentUsage` value may only be used in a single
      * configuration; using the same value multiple times is an error.
      * When one or more configurations are specified, they must include the
@@ -5560,7 +5588,9 @@ public Builder addExecutionConfigs(
      * specified in `DefaultPool`.
      * 
* - * repeated .google.cloud.deploy.v1.ExecutionConfig execution_configs = 16; + * + * repeated .google.cloud.deploy.v1.ExecutionConfig execution_configs = 16 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addAllExecutionConfigs( java.lang.Iterable values) { @@ -5577,7 +5607,7 @@ public Builder addAllExecutionConfigs( * * *
-     * Configurations for all execution that relates to this `Target`.
+     * Optional. Configurations for all execution that relates to this `Target`.
      * Each `ExecutionEnvironmentUsage` value may only be used in a single
      * configuration; using the same value multiple times is an error.
      * When one or more configurations are specified, they must include the
@@ -5586,7 +5616,9 @@ public Builder addAllExecutionConfigs(
      * specified in `DefaultPool`.
      * 
* - * repeated .google.cloud.deploy.v1.ExecutionConfig execution_configs = 16; + * + * repeated .google.cloud.deploy.v1.ExecutionConfig execution_configs = 16 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearExecutionConfigs() { if (executionConfigsBuilder_ == null) { @@ -5602,7 +5634,7 @@ public Builder clearExecutionConfigs() { * * *
-     * Configurations for all execution that relates to this `Target`.
+     * Optional. Configurations for all execution that relates to this `Target`.
      * Each `ExecutionEnvironmentUsage` value may only be used in a single
      * configuration; using the same value multiple times is an error.
      * When one or more configurations are specified, they must include the
@@ -5611,7 +5643,9 @@ public Builder clearExecutionConfigs() {
      * specified in `DefaultPool`.
      * 
* - * repeated .google.cloud.deploy.v1.ExecutionConfig execution_configs = 16; + * + * repeated .google.cloud.deploy.v1.ExecutionConfig execution_configs = 16 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder removeExecutionConfigs(int index) { if (executionConfigsBuilder_ == null) { @@ -5627,7 +5661,7 @@ public Builder removeExecutionConfigs(int index) { * * *
-     * Configurations for all execution that relates to this `Target`.
+     * Optional. Configurations for all execution that relates to this `Target`.
      * Each `ExecutionEnvironmentUsage` value may only be used in a single
      * configuration; using the same value multiple times is an error.
      * When one or more configurations are specified, they must include the
@@ -5636,7 +5670,9 @@ public Builder removeExecutionConfigs(int index) {
      * specified in `DefaultPool`.
      * 
* - * repeated .google.cloud.deploy.v1.ExecutionConfig execution_configs = 16; + * + * repeated .google.cloud.deploy.v1.ExecutionConfig execution_configs = 16 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.deploy.v1.ExecutionConfig.Builder getExecutionConfigsBuilder( int index) { @@ -5646,7 +5682,7 @@ public com.google.cloud.deploy.v1.ExecutionConfig.Builder getExecutionConfigsBui * * *
-     * Configurations for all execution that relates to this `Target`.
+     * Optional. Configurations for all execution that relates to this `Target`.
      * Each `ExecutionEnvironmentUsage` value may only be used in a single
      * configuration; using the same value multiple times is an error.
      * When one or more configurations are specified, they must include the
@@ -5655,7 +5691,9 @@ public com.google.cloud.deploy.v1.ExecutionConfig.Builder getExecutionConfigsBui
      * specified in `DefaultPool`.
      * 
* - * repeated .google.cloud.deploy.v1.ExecutionConfig execution_configs = 16; + * + * repeated .google.cloud.deploy.v1.ExecutionConfig execution_configs = 16 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.deploy.v1.ExecutionConfigOrBuilder getExecutionConfigsOrBuilder( int index) { @@ -5669,7 +5707,7 @@ public com.google.cloud.deploy.v1.ExecutionConfigOrBuilder getExecutionConfigsOr * * *
-     * Configurations for all execution that relates to this `Target`.
+     * Optional. Configurations for all execution that relates to this `Target`.
      * Each `ExecutionEnvironmentUsage` value may only be used in a single
      * configuration; using the same value multiple times is an error.
      * When one or more configurations are specified, they must include the
@@ -5678,7 +5716,9 @@ public com.google.cloud.deploy.v1.ExecutionConfigOrBuilder getExecutionConfigsOr
      * specified in `DefaultPool`.
      * 
* - * repeated .google.cloud.deploy.v1.ExecutionConfig execution_configs = 16; + * + * repeated .google.cloud.deploy.v1.ExecutionConfig execution_configs = 16 [(.google.api.field_behavior) = OPTIONAL]; + * */ public java.util.List getExecutionConfigsOrBuilderList() { @@ -5692,7 +5732,7 @@ public com.google.cloud.deploy.v1.ExecutionConfigOrBuilder getExecutionConfigsOr * * *
-     * Configurations for all execution that relates to this `Target`.
+     * Optional. Configurations for all execution that relates to this `Target`.
      * Each `ExecutionEnvironmentUsage` value may only be used in a single
      * configuration; using the same value multiple times is an error.
      * When one or more configurations are specified, they must include the
@@ -5701,7 +5741,9 @@ public com.google.cloud.deploy.v1.ExecutionConfigOrBuilder getExecutionConfigsOr
      * specified in `DefaultPool`.
      * 
* - * repeated .google.cloud.deploy.v1.ExecutionConfig execution_configs = 16; + * + * repeated .google.cloud.deploy.v1.ExecutionConfig execution_configs = 16 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.deploy.v1.ExecutionConfig.Builder addExecutionConfigsBuilder() { return getExecutionConfigsFieldBuilder() @@ -5711,7 +5753,7 @@ public com.google.cloud.deploy.v1.ExecutionConfig.Builder addExecutionConfigsBui * * *
-     * Configurations for all execution that relates to this `Target`.
+     * Optional. Configurations for all execution that relates to this `Target`.
      * Each `ExecutionEnvironmentUsage` value may only be used in a single
      * configuration; using the same value multiple times is an error.
      * When one or more configurations are specified, they must include the
@@ -5720,7 +5762,9 @@ public com.google.cloud.deploy.v1.ExecutionConfig.Builder addExecutionConfigsBui
      * specified in `DefaultPool`.
      * 
* - * repeated .google.cloud.deploy.v1.ExecutionConfig execution_configs = 16; + * + * repeated .google.cloud.deploy.v1.ExecutionConfig execution_configs = 16 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.deploy.v1.ExecutionConfig.Builder addExecutionConfigsBuilder( int index) { @@ -5731,7 +5775,7 @@ public com.google.cloud.deploy.v1.ExecutionConfig.Builder addExecutionConfigsBui * * *
-     * Configurations for all execution that relates to this `Target`.
+     * Optional. Configurations for all execution that relates to this `Target`.
      * Each `ExecutionEnvironmentUsage` value may only be used in a single
      * configuration; using the same value multiple times is an error.
      * When one or more configurations are specified, they must include the
@@ -5740,7 +5784,9 @@ public com.google.cloud.deploy.v1.ExecutionConfig.Builder addExecutionConfigsBui
      * specified in `DefaultPool`.
      * 
* - * repeated .google.cloud.deploy.v1.ExecutionConfig execution_configs = 16; + * + * repeated .google.cloud.deploy.v1.ExecutionConfig execution_configs = 16 [(.google.api.field_behavior) = OPTIONAL]; + * */ public java.util.List getExecutionConfigsBuilderList() { diff --git a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetAttribute.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetAttribute.java index dc975ee90478..c6b318d22de9 100644 --- a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetAttribute.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetAttribute.java @@ -84,14 +84,14 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl * * *
-   * ID of the `Target`. The value of this field could be one of the
+   * Optional. ID of the `Target`. The value of this field could be one of the
    * following:
    *
    * * The last segment of a target name
    * * "*", all targets in a location
    * 
* - * string id = 1; + * string id = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return The id. */ @@ -111,14 +111,14 @@ public java.lang.String getId() { * * *
-   * ID of the `Target`. The value of this field could be one of the
+   * Optional. ID of the `Target`. The value of this field could be one of the
    * following:
    *
    * * The last segment of a target name
    * * "*", all targets in a location
    * 
* - * string id = 1; + * string id = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for id. */ @@ -642,14 +642,14 @@ public Builder mergeFrom( * * *
-     * ID of the `Target`. The value of this field could be one of the
+     * Optional. ID of the `Target`. The value of this field could be one of the
      * following:
      *
      * * The last segment of a target name
      * * "*", all targets in a location
      * 
* - * string id = 1; + * string id = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return The id. */ @@ -668,14 +668,14 @@ public java.lang.String getId() { * * *
-     * ID of the `Target`. The value of this field could be one of the
+     * Optional. ID of the `Target`. The value of this field could be one of the
      * following:
      *
      * * The last segment of a target name
      * * "*", all targets in a location
      * 
* - * string id = 1; + * string id = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for id. */ @@ -694,14 +694,14 @@ public com.google.protobuf.ByteString getIdBytes() { * * *
-     * ID of the `Target`. The value of this field could be one of the
+     * Optional. ID of the `Target`. The value of this field could be one of the
      * following:
      *
      * * The last segment of a target name
      * * "*", all targets in a location
      * 
* - * string id = 1; + * string id = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The id to set. * @return This builder for chaining. @@ -719,14 +719,14 @@ public Builder setId(java.lang.String value) { * * *
-     * ID of the `Target`. The value of this field could be one of the
+     * Optional. ID of the `Target`. The value of this field could be one of the
      * following:
      *
      * * The last segment of a target name
      * * "*", all targets in a location
      * 
* - * string id = 1; + * string id = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return This builder for chaining. */ @@ -740,14 +740,14 @@ public Builder clearId() { * * *
-     * ID of the `Target`. The value of this field could be one of the
+     * Optional. ID of the `Target`. The value of this field could be one of the
      * following:
      *
      * * The last segment of a target name
      * * "*", all targets in a location
      * 
* - * string id = 1; + * string id = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The bytes for id to set. * @return This builder for chaining. diff --git a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetAttributeOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetAttributeOrBuilder.java index 81ca4470dd79..9302ce4f6bbc 100644 --- a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetAttributeOrBuilder.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetAttributeOrBuilder.java @@ -28,14 +28,14 @@ public interface TargetAttributeOrBuilder * * *
-   * ID of the `Target`. The value of this field could be one of the
+   * Optional. ID of the `Target`. The value of this field could be one of the
    * following:
    *
    * * The last segment of a target name
    * * "*", all targets in a location
    * 
* - * string id = 1; + * string id = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return The id. */ @@ -44,14 +44,14 @@ public interface TargetAttributeOrBuilder * * *
-   * ID of the `Target`. The value of this field could be one of the
+   * Optional. ID of the `Target`. The value of this field could be one of the
    * following:
    *
    * * The last segment of a target name
    * * "*", all targets in a location
    * 
* - * string id = 1; + * string id = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for id. */ diff --git a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetOrBuilder.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetOrBuilder.java index 1c9c1ce59f16..3daf6cd3eb68 100644 --- a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetOrBuilder.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/TargetOrBuilder.java @@ -28,12 +28,12 @@ public interface TargetOrBuilder * * *
-   * Optional. Name of the `Target`. Format is
+   * Identifier. Name of the `Target`. Format is
    * `projects/{project}/locations/{location}/targets/{target}`.
    * The `target` component must match `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`
    * 
* - * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The name. */ @@ -42,12 +42,12 @@ public interface TargetOrBuilder * * *
-   * Optional. Name of the `Target`. Format is
+   * Identifier. Name of the `Target`. Format is
    * `projects/{project}/locations/{location}/targets/{target}`.
    * The `target` component must match `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`
    * 
* - * string name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * * @return The bytes for name. */ @@ -743,7 +743,7 @@ com.google.cloud.deploy.v1.AssociatedEntities getAssociatedEntitiesOrDefault( * * *
-   * Configurations for all execution that relates to this `Target`.
+   * Optional. Configurations for all execution that relates to this `Target`.
    * Each `ExecutionEnvironmentUsage` value may only be used in a single
    * configuration; using the same value multiple times is an error.
    * When one or more configurations are specified, they must include the
@@ -752,14 +752,16 @@ com.google.cloud.deploy.v1.AssociatedEntities getAssociatedEntitiesOrDefault(
    * specified in `DefaultPool`.
    * 
* - * repeated .google.cloud.deploy.v1.ExecutionConfig execution_configs = 16; + * + * repeated .google.cloud.deploy.v1.ExecutionConfig execution_configs = 16 [(.google.api.field_behavior) = OPTIONAL]; + * */ java.util.List getExecutionConfigsList(); /** * * *
-   * Configurations for all execution that relates to this `Target`.
+   * Optional. Configurations for all execution that relates to this `Target`.
    * Each `ExecutionEnvironmentUsage` value may only be used in a single
    * configuration; using the same value multiple times is an error.
    * When one or more configurations are specified, they must include the
@@ -768,14 +770,16 @@ com.google.cloud.deploy.v1.AssociatedEntities getAssociatedEntitiesOrDefault(
    * specified in `DefaultPool`.
    * 
* - * repeated .google.cloud.deploy.v1.ExecutionConfig execution_configs = 16; + * + * repeated .google.cloud.deploy.v1.ExecutionConfig execution_configs = 16 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.deploy.v1.ExecutionConfig getExecutionConfigs(int index); /** * * *
-   * Configurations for all execution that relates to this `Target`.
+   * Optional. Configurations for all execution that relates to this `Target`.
    * Each `ExecutionEnvironmentUsage` value may only be used in a single
    * configuration; using the same value multiple times is an error.
    * When one or more configurations are specified, they must include the
@@ -784,14 +788,16 @@ com.google.cloud.deploy.v1.AssociatedEntities getAssociatedEntitiesOrDefault(
    * specified in `DefaultPool`.
    * 
* - * repeated .google.cloud.deploy.v1.ExecutionConfig execution_configs = 16; + * + * repeated .google.cloud.deploy.v1.ExecutionConfig execution_configs = 16 [(.google.api.field_behavior) = OPTIONAL]; + * */ int getExecutionConfigsCount(); /** * * *
-   * Configurations for all execution that relates to this `Target`.
+   * Optional. Configurations for all execution that relates to this `Target`.
    * Each `ExecutionEnvironmentUsage` value may only be used in a single
    * configuration; using the same value multiple times is an error.
    * When one or more configurations are specified, they must include the
@@ -800,7 +806,9 @@ com.google.cloud.deploy.v1.AssociatedEntities getAssociatedEntitiesOrDefault(
    * specified in `DefaultPool`.
    * 
* - * repeated .google.cloud.deploy.v1.ExecutionConfig execution_configs = 16; + * + * repeated .google.cloud.deploy.v1.ExecutionConfig execution_configs = 16 [(.google.api.field_behavior) = OPTIONAL]; + * */ java.util.List getExecutionConfigsOrBuilderList(); @@ -808,7 +816,7 @@ com.google.cloud.deploy.v1.AssociatedEntities getAssociatedEntitiesOrDefault( * * *
-   * Configurations for all execution that relates to this `Target`.
+   * Optional. Configurations for all execution that relates to this `Target`.
    * Each `ExecutionEnvironmentUsage` value may only be used in a single
    * configuration; using the same value multiple times is an error.
    * When one or more configurations are specified, they must include the
@@ -817,7 +825,9 @@ com.google.cloud.deploy.v1.AssociatedEntities getAssociatedEntitiesOrDefault(
    * specified in `DefaultPool`.
    * 
* - * repeated .google.cloud.deploy.v1.ExecutionConfig execution_configs = 16; + * + * repeated .google.cloud.deploy.v1.ExecutionConfig execution_configs = 16 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.deploy.v1.ExecutionConfigOrBuilder getExecutionConfigsOrBuilder(int index); diff --git a/java-deploy/proto-google-cloud-deploy-v1/src/main/proto/google/cloud/deploy/v1/cloud_deploy.proto b/java-deploy/proto-google-cloud-deploy-v1/src/main/proto/google/cloud/deploy/v1/cloud_deploy.proto index 7f26318432a6..7f970654f184 100644 --- a/java-deploy/proto-google-cloud-deploy-v1/src/main/proto/google/cloud/deploy/v1/cloud_deploy.proto +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/proto/google/cloud/deploy/v1/cloud_deploy.proto @@ -562,21 +562,22 @@ message DeliveryPipeline { pattern: "projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}" }; - // Optional. Name of the `DeliveryPipeline`. Format is + // Identifier. Name of the `DeliveryPipeline`. Format is // `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}`. // The `deliveryPipeline` component must match // `[a-z]([a-z0-9-]{0,61}[a-z0-9])?` - string name = 1 [(google.api.field_behavior) = OPTIONAL]; + string name = 1 [(google.api.field_behavior) = IDENTIFIER]; // Output only. Unique identifier of the `DeliveryPipeline`. string uid = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Description of the `DeliveryPipeline`. Max length is 255 characters. - string description = 3; + // Optional. Description of the `DeliveryPipeline`. Max length is 255 + // characters. + string description = 3 [(google.api.field_behavior) = OPTIONAL]; - // User annotations. These attributes can only be set and used by the - // user, and not by Cloud Deploy. - map annotations = 4; + // Optional. User annotations. These attributes can only be set and used by + // the user, and not by Cloud Deploy. + map annotations = 4 [(google.api.field_behavior) = OPTIONAL]; // Labels are attributes that can be set and used by both the // user and by Cloud Deploy. Labels must meet the following constraints: @@ -601,9 +602,9 @@ message DeliveryPipeline { // The ordering configuration of the `DeliveryPipeline`. oneof pipeline { - // SerialPipeline defines a sequential set of stages for a + // Optional. SerialPipeline defines a sequential set of stages for a // `DeliveryPipeline`. - SerialPipeline serial_pipeline = 8; + SerialPipeline serial_pipeline = 8 [(google.api.field_behavior) = OPTIONAL]; } // Output only. Information around the state of the Delivery Pipeline. @@ -614,31 +615,31 @@ message DeliveryPipeline { // client has an up-to-date value before proceeding. string etag = 10; - // When suspended, no new releases or rollouts can be created, + // Optional. When suspended, no new releases or rollouts can be created, // but in-progress ones will complete. - bool suspended = 12; + bool suspended = 12 [(google.api.field_behavior) = OPTIONAL]; } // SerialPipeline defines a sequential set of stages for a `DeliveryPipeline`. message SerialPipeline { - // Each stage specifies configuration for a `Target`. The ordering + // Optional. Each stage specifies configuration for a `Target`. The ordering // of this list defines the promotion flow. - repeated Stage stages = 1; + repeated Stage stages = 1 [(google.api.field_behavior) = OPTIONAL]; } // Stage specifies a location to which to deploy. message Stage { - // 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 - // `my-target` (rather than + // Optional. 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 `my-target` (rather than // `projects/project/locations/location/targets/my-target`). The location of // the `Target` is inferred to be the same as the location of the // `DeliveryPipeline` that contains this `Stage`. - string target_id = 1; + string target_id = 1 [(google.api.field_behavior) = OPTIONAL]; - // Skaffold profiles to use when rendering the manifest for this stage's - // `Target`. - repeated string profiles = 2; + // Optional. Skaffold profiles to use when rendering the manifest for this + // stage's `Target`. + repeated string profiles = 2 [(google.api.field_behavior) = OPTIONAL]; // Optional. The strategy to use for a `Rollout` to this stage. Strategy strategy = 5 [(google.api.field_behavior) = OPTIONAL]; @@ -664,13 +665,13 @@ message DeployParameters { message Strategy { // Deployment strategy details. oneof deployment_strategy { - // Standard deployment strategy executes a single deploy and allows - // verifying the deployment. - Standard standard = 1; + // Optional. Standard deployment strategy executes a single deploy and + // allows verifying the deployment. + Standard standard = 1 [(google.api.field_behavior) = OPTIONAL]; - // Canary deployment strategy provides progressive percentage based - // deployments to a Target. - Canary canary = 2; + // Optional. Canary deployment strategy provides progressive percentage + // based deployments to a Target. + Canary canary = 2 [(google.api.field_behavior) = OPTIONAL]; } } @@ -690,8 +691,8 @@ message Postdeploy { // Standard represents the standard deployment strategy. message Standard { - // Whether to verify a deployment. - bool verify = 1; + // Optional. Whether to verify a deployment. + bool verify = 1 [(google.api.field_behavior) = OPTIONAL]; // Optional. Configuration for the predeploy job. If this is not configured, // predeploy job will not be present. @@ -711,13 +712,15 @@ message Canary { // The mode to use for the canary deployment strategy. oneof mode { - // Configures the progressive based deployment for a Target. - CanaryDeployment canary_deployment = 2; + // Optional. Configures the progressive based deployment for a Target. + CanaryDeployment canary_deployment = 2 + [(google.api.field_behavior) = OPTIONAL]; - // Configures the progressive based deployment for a Target, but allows - // customizing at the phase level where a phase represents each of the - // percentage deployments. - CustomCanaryDeployment custom_canary_deployment = 3; + // Optional. Configures the progressive based deployment for a Target, but + // allows customizing at the phase level where a phase represents each of + // the percentage deployments. + CustomCanaryDeployment custom_canary_deployment = 3 + [(google.api.field_behavior) = OPTIONAL]; } } @@ -730,8 +733,8 @@ message CanaryDeployment { // n is 0 <= n <= 100. repeated int32 percentages = 1 [(google.api.field_behavior) = REQUIRED]; - // Whether to run verify tests after each percentage deployment. - bool verify = 2; + // Optional. Whether to run verify tests after each percentage deployment. + bool verify = 2 [(google.api.field_behavior) = OPTIONAL]; // Optional. Configuration for the predeploy job of the first phase. If this // is not configured, there will be no predeploy job for this phase. @@ -758,13 +761,13 @@ message CustomCanaryDeployment { // Required. Percentage deployment for the phase. int32 percentage = 2 [(google.api.field_behavior) = REQUIRED]; - // Skaffold profiles to use when rendering the manifest for this phase. - // These are in addition to the profiles list specified in the + // Optional. Skaffold profiles to use when rendering the manifest for this + // phase. These are in addition to the profiles list specified in the // `DeliveryPipeline` stage. - repeated string profiles = 3; + repeated string profiles = 3 [(google.api.field_behavior) = OPTIONAL]; - // Whether to run verify tests after the deployment. - bool verify = 4; + // Optional. Whether to run verify tests after the deployment. + bool verify = 4 [(google.api.field_behavior) = OPTIONAL]; // Optional. Configuration for the predeploy job of this phase. If this is // not configured, there will be no predeploy job for this phase. @@ -861,21 +864,23 @@ message KubernetesConfig { // The service definition configuration. oneof service_definition { - // Kubernetes Gateway API service mesh configuration. - GatewayServiceMesh gateway_service_mesh = 1; + // Optional. Kubernetes Gateway API service mesh configuration. + GatewayServiceMesh gateway_service_mesh = 1 + [(google.api.field_behavior) = OPTIONAL]; - // Kubernetes Service networking configuration. - ServiceNetworking service_networking = 2; + // Optional. Kubernetes Service networking configuration. + ServiceNetworking service_networking = 2 + [(google.api.field_behavior) = OPTIONAL]; } } // CloudRunConfig contains the Cloud Run runtime configuration. message CloudRunConfig { - // Whether Cloud Deploy should update the traffic stanza in a Cloud Run - // Service on the user's behalf to facilitate traffic splitting. This is + // Optional. Whether Cloud Deploy should update the traffic stanza in a Cloud + // Run Service on the user's behalf to facilitate traffic splitting. This is // required to be true for CanaryDeployments, but optional for // CustomCanaryDeployments. - bool automatic_traffic_control = 1; + bool automatic_traffic_control = 1 [(google.api.field_behavior) = OPTIONAL]; // Optional. A list of tags that are added to the canary revision while the // canary phase is in progress. @@ -898,11 +903,11 @@ message CloudRunConfig { message RuntimeConfig { // The runtime configuration details. oneof runtime_config { - // Kubernetes runtime configuration. - KubernetesConfig kubernetes = 1; + // Optional. Kubernetes runtime configuration. + KubernetesConfig kubernetes = 1 [(google.api.field_behavior) = OPTIONAL]; - // Cloud Run runtime configuration. - CloudRunConfig cloud_run = 2; + // Optional. Cloud Run runtime configuration. + CloudRunConfig cloud_run = 2 [(google.api.field_behavior) = OPTIONAL]; } } @@ -1209,10 +1214,10 @@ message Target { pattern: "projects/{project}/locations/{location}/targets/{target}" }; - // Optional. Name of the `Target`. Format is + // Identifier. Name of the `Target`. Format is // `projects/{project}/locations/{location}/targets/{target}`. // The `target` component must match `[a-z]([a-z0-9-]{0,61}[a-z0-9])?` - string name = 1 [(google.api.field_behavior) = OPTIONAL]; + string name = 1 [(google.api.field_behavior) = IDENTIFIER]; // Output only. Resource id of the `Target`. string target_id = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -1288,14 +1293,15 @@ message Target { // client has an up-to-date value before proceeding. string etag = 12 [(google.api.field_behavior) = OPTIONAL]; - // Configurations for all execution that relates to this `Target`. + // Optional. Configurations for all execution that relates to this `Target`. // Each `ExecutionEnvironmentUsage` value may only be used in a single // configuration; using the same value multiple times is an error. // When one or more configurations are specified, they must include the // `RENDER` and `DEPLOY` `ExecutionEnvironmentUsage` values. // When no configurations are specified, execution will use the default // specified in `DefaultPool`. - repeated ExecutionConfig execution_configs = 16; + repeated ExecutionConfig execution_configs = 16 + [(google.api.field_behavior) = OPTIONAL]; // Optional. The deploy parameters to use for this target. map deploy_parameters = 20 @@ -1436,7 +1442,7 @@ message GkeCluster { string proxy_url = 3 [(google.api.field_behavior) = OPTIONAL]; // Optional. If set, the cluster will be accessed using the DNS endpoint. Note - // that `dns_endpoint` and `internal_ip` cannot both be set to true. + // that both `dns_endpoint` and `internal_ip` cannot be set to true. bool dns_endpoint = 4 [(google.api.field_behavior) = OPTIONAL]; } @@ -1677,11 +1683,11 @@ message CustomTargetType { pattern: "projects/{project}/locations/{location}/customTargetTypes/{custom_target_type}" }; - // Optional. Name of the `CustomTargetType`. Format is + // Identifier. Name of the `CustomTargetType`. Format is // `projects/{project}/locations/{location}/customTargetTypes/{customTargetType}`. // The `customTargetType` component must match // `[a-z]([a-z0-9-]{0,61}[a-z0-9])?` - string name = 1 [(google.api.field_behavior) = OPTIONAL]; + string name = 1 [(google.api.field_behavior) = IDENTIFIER]; // Output only. Resource id of the `CustomTargetType`. string custom_target_type_id = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -1727,9 +1733,10 @@ message CustomTargetType { // Defines the `CustomTargetType` renderer and deployer. oneof definition { - // Configures render and deploy for the `CustomTargetType` using Skaffold - // custom actions. - CustomTargetSkaffoldActions custom_actions = 10; + // Optional. Configures render and deploy for the `CustomTargetType` using + // Skaffold custom actions. + CustomTargetSkaffoldActions custom_actions = 10 + [(google.api.field_behavior) = OPTIONAL]; } } @@ -1800,14 +1807,17 @@ message SkaffoldModules { // The source that contains the Skaffold Config modules. oneof source { - // Remote git repository containing the Skaffold Config modules. - SkaffoldGitSource git = 2; + // Optional. Remote git repository containing the Skaffold Config modules. + SkaffoldGitSource git = 2 [(google.api.field_behavior) = OPTIONAL]; - // Cloud Storage bucket containing the Skaffold Config modules. - SkaffoldGCSSource google_cloud_storage = 3; + // Optional. Cloud Storage bucket containing the Skaffold Config modules. + SkaffoldGCSSource google_cloud_storage = 3 + [(google.api.field_behavior) = OPTIONAL]; - // Cloud Build V2 repository containing the Skaffold Config modules. - SkaffoldGCBRepoSource google_cloud_build_repo = 4; + // Optional. Cloud Build V2 repository containing the Skaffold Config + // modules. + SkaffoldGCBRepoSource google_cloud_build_repo = 4 + [(google.api.field_behavior) = OPTIONAL]; } } @@ -2018,11 +2028,11 @@ message DeployPolicy { // Output only. Unique identifier of the `DeployPolicy`. string uid = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Description of the `DeployPolicy`. Max length is 255 characters. - string description = 3; + // Optional. Description of the `DeployPolicy`. Max length is 255 characters. + string description = 3 [(google.api.field_behavior) = OPTIONAL]; - // User annotations. These attributes can only be set and used by the - // user, and not by Cloud Deploy. Annotations must meet the following + // Optional. User annotations. These attributes can only be set and used by + // the user, and not by Cloud Deploy. Annotations must meet the following // constraints: // // * Annotations are key/value pairs. @@ -2038,7 +2048,7 @@ message DeployPolicy { // See // https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/#syntax-and-character-set // for more details. - map annotations = 4; + map annotations = 4 [(google.api.field_behavior) = OPTIONAL]; // Labels are attributes that can be set and used by both the // user and by Cloud Deploy. Labels must meet the following constraints: @@ -2061,9 +2071,9 @@ message DeployPolicy { google.protobuf.Timestamp update_time = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; - // When suspended, the policy will not prevent actions from occurring, even - // if the action violates the policy. - bool suspended = 8; + // Optional. When suspended, the policy will not prevent actions from + // occurring, even if the action violates the policy. + bool suspended = 8 [(google.api.field_behavior) = OPTIONAL]; // Required. Selected resources to which the policy will be applied. At least // one selector is required. If one selector matches the resource the policy @@ -2098,12 +2108,12 @@ message DeployPolicyResourceSelector { // Contains criteria for selecting DeliveryPipelines. message DeliveryPipelineAttribute { - // ID of the `DeliveryPipeline`. The value of this field could be one of the - // following: + // Optional. ID of the `DeliveryPipeline`. The value of this field could be + // one of the following: // // * The last segment of a pipeline name // * "*", all delivery pipelines in a location - string id = 1; + string id = 1 [(google.api.field_behavior) = OPTIONAL]; // DeliveryPipeline labels. map labels = 2; @@ -2112,12 +2122,12 @@ message DeliveryPipelineAttribute { // Contains criteria for selecting Targets. This could be used to select targets // for a Deploy Policy or for an Automation. message TargetAttribute { - // ID of the `Target`. The value of this field could be one of the + // Optional. ID of the `Target`. The value of this field could be one of the // following: // // * The last segment of a target name // * "*", all targets in a location - string id = 1; + string id = 1 [(google.api.field_behavior) = OPTIONAL]; // Target labels. map labels = 2; @@ -2126,8 +2136,9 @@ message TargetAttribute { // Deploy Policy rule. message PolicyRule { oneof rule { - // Rollout restrictions. - RolloutRestriction rollout_restriction = 2; + // Optional. Rollout restrictions. + RolloutRestriction rollout_restriction = 2 + [(google.api.field_behavior) = OPTIONAL]; } } @@ -2398,21 +2409,22 @@ message Release { SkaffoldSupportedCondition skaffold_supported_condition = 2; } - // Optional. Name of the `Release`. Format is + // Identifier. Name of the `Release`. Format is // `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}`. // The `release` component must match `[a-z]([a-z0-9-]{0,61}[a-z0-9])?` - string name = 1 [(google.api.field_behavior) = OPTIONAL]; + string name = 1 [(google.api.field_behavior) = IDENTIFIER]; // Output only. Unique identifier of the `Release`. string uid = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Description of the `Release`. Max length is 255 characters. - string description = 3; + // Optional. Description of the `Release`. Max length is 255 characters. + string description = 3 [(google.api.field_behavior) = OPTIONAL]; - // User annotations. These attributes can only be set and used by the - // user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations - // for more details such as format and size limitations. - map annotations = 4; + // Optional. User annotations. These attributes can only be set and used by + // the user, and not by Cloud Deploy. See + // https://google.aip.dev/128#annotations for more details such as format and + // size limitations. + map annotations = 4 [(google.api.field_behavior) = OPTIONAL]; // Labels are attributes that can be set and used by both the // user and by Cloud Deploy. Labels must meet the following constraints: @@ -2442,14 +2454,16 @@ message Release { google.protobuf.Timestamp render_end_time = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Cloud Storage URI of tar.gz archive containing Skaffold configuration. - string skaffold_config_uri = 17; + // Optional. Cloud Storage URI of tar.gz archive containing Skaffold + // configuration. + string skaffold_config_uri = 17 [(google.api.field_behavior) = OPTIONAL]; - // Filepath of the Skaffold config inside of the config URI. - string skaffold_config_path = 9; + // Optional. Filepath of the Skaffold config inside of the config URI. + string skaffold_config_path = 9 [(google.api.field_behavior) = OPTIONAL]; - // List of artifacts to pass through to Skaffold command. - repeated BuildArtifact build_artifacts = 10; + // Optional. List of artifacts to pass through to Skaffold command. + repeated BuildArtifact build_artifacts = 10 + [(google.api.field_behavior) = OPTIONAL]; // Output only. Snapshot of the parent pipeline taken at release creation // time. @@ -2671,13 +2685,13 @@ message GetDeployPolicyRequest { // Description of an a image to use during Skaffold rendering. message BuildArtifact { - // Image name in Skaffold configuration. - string image = 3; + // Optional. Image name in Skaffold configuration. + string image = 3 [(google.api.field_behavior) = OPTIONAL]; - // 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 + // Optional. 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 // "gcr.io/my-project/busybox@sha256:abc123". - string tag = 2; + string tag = 2 [(google.api.field_behavior) = OPTIONAL]; } // The artifacts produced by a target render operation. @@ -2951,22 +2965,23 @@ message Rollout { OPERATION_FEATURE_NOT_SUPPORTED = 8; } - // Optional. Name of the `Rollout`. Format is + // Identifier. Name of the `Rollout`. Format is // `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`. // The `rollout` component must match `[a-z]([a-z0-9-]{0,61}[a-z0-9])?` - string name = 1 [(google.api.field_behavior) = OPTIONAL]; + string name = 1 [(google.api.field_behavior) = IDENTIFIER]; // Output only. Unique identifier of the `Rollout`. string uid = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Description of the `Rollout` for user purposes. Max length is 255 + // Optional. Description of the `Rollout` for user purposes. Max length is 255 // characters. - string description = 3; + string description = 3 [(google.api.field_behavior) = OPTIONAL]; - // User annotations. These attributes can only be set and used by the - // user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations - // for more details such as format and size limitations. - map annotations = 4; + // Optional. User annotations. These attributes can only be set and used by + // the user, and not by Cloud Deploy. See + // https://google.aip.dev/128#annotations for more details such as format and + // size limitations. + map annotations = 4 [(google.api.field_behavior) = OPTIONAL]; // Labels are attributes that can be set and used by both the // user and by Cloud Deploy. Labels must meet the following constraints: @@ -3196,15 +3211,15 @@ message Phase { // Deployment job composition. message DeploymentJobs { + // Output only. The predeploy Job, which is the first job on the phase. + Job predeploy_job = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. The deploy Job. This is the deploy job in the phase. Job deploy_job = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The verify Job. Runs after a deploy if the deploy succeeds. Job verify_job = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. The predeploy Job, which is the first job on the phase. - Job predeploy_job = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. The postdeploy Job, which is the last job on the phase. Job postdeploy_job = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; } @@ -3642,9 +3657,9 @@ message JobRun { TERMINATED = 5; } - // Optional. Name of the `JobRun`. Format is + // Output only. Name of the `JobRun`. Format is // `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{releases}/rollouts/{rollouts}/jobRuns/{uuid}`. - string name = 1 [(google.api.field_behavior) = OPTIONAL]; + string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Unique identifier of the `JobRun`. string uid = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -4134,8 +4149,8 @@ message Automation { // AutomationResourceSelector contains the information to select the resources // to which an Automation is going to be applied. message AutomationResourceSelector { - // Contains attributes about a target. - repeated TargetAttribute targets = 1; + // Optional. Contains attributes about a target. + repeated TargetAttribute targets = 1 [(google.api.field_behavior) = OPTIONAL]; } // `AutomationRule` defines the automation activities. diff --git a/java-valkey/proto-google-cloud-valkey-v1/src/main/java/com/google/cloud/memorystore/v1/Instance.java b/java-valkey/proto-google-cloud-valkey-v1/src/main/java/com/google/cloud/memorystore/v1/Instance.java index 89cfdf977100..391611adefb2 100644 --- a/java-valkey/proto-google-cloud-valkey-v1/src/main/java/com/google/cloud/memorystore/v1/Instance.java +++ b/java-valkey/proto-google-cloud-valkey-v1/src/main/java/com/google/cloud/memorystore/v1/Instance.java @@ -835,11 +835,12 @@ public enum Mode implements com.google.protobuf.ProtocolMessageEnum { * * *
-     * Instance is in standalone mode.
+     * Deprecated: Use CLUSTER_DISABLED instead.
      * 
* - * STANDALONE = 1; + * STANDALONE = 1 [deprecated = true]; */ + @java.lang.Deprecated STANDALONE(1), /** * @@ -851,6 +852,16 @@ public enum Mode implements com.google.protobuf.ProtocolMessageEnum { * CLUSTER = 2; */ CLUSTER(2), + /** + * + * + *
+     * Cluster mode is disabled for the instance.
+     * 
+ * + * CLUSTER_DISABLED = 4; + */ + CLUSTER_DISABLED(4), UNRECOGNIZED(-1), ; @@ -868,12 +879,12 @@ public enum Mode implements com.google.protobuf.ProtocolMessageEnum { * * *
-     * Instance is in standalone mode.
+     * Deprecated: Use CLUSTER_DISABLED instead.
      * 
* - * STANDALONE = 1; + * STANDALONE = 1 [deprecated = true]; */ - public static final int STANDALONE_VALUE = 1; + @java.lang.Deprecated public static final int STANDALONE_VALUE = 1; /** * * @@ -884,6 +895,16 @@ public enum Mode implements com.google.protobuf.ProtocolMessageEnum { * CLUSTER = 2; */ public static final int CLUSTER_VALUE = 2; + /** + * + * + *
+     * Cluster mode is disabled for the instance.
+     * 
+ * + * CLUSTER_DISABLED = 4; + */ + public static final int CLUSTER_DISABLED_VALUE = 4; public final int getNumber() { if (this == UNRECOGNIZED) { @@ -915,6 +936,8 @@ public static Mode forNumber(int value) { return STANDALONE; case 2: return CLUSTER; + case 4: + return CLUSTER_DISABLED; default: return null; } diff --git a/java-valkey/proto-google-cloud-valkey-v1/src/main/java/com/google/cloud/memorystore/v1/V1mainProto.java b/java-valkey/proto-google-cloud-valkey-v1/src/main/java/com/google/cloud/memorystore/v1/V1mainProto.java index 2adc6e6d52df..75e6c7ac3b40 100644 --- a/java-valkey/proto-google-cloud-valkey-v1/src/main/java/com/google/cloud/memorystore/v1/V1mainProto.java +++ b/java-valkey/proto-google-cloud-valkey-v1/src/main/java/com/google/cloud/memorystore/v1/V1mainProto.java @@ -149,7 +149,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "e/api/resource.proto\032#google/longrunning" + "/operations.proto\032\033google/protobuf/empty" + ".proto\032 google/protobuf/field_mask.proto" - + "\032\037google/protobuf/timestamp.proto\"\236\025\n\010In" + + "\032\037google/protobuf/timestamp.proto\"\270\025\n\010In" + "stance\022\021\n\004name\030\001 \001(\tB\003\340A\010\0224\n\013create_time" + "\030\002 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022" + "4\n\013update_time\030\003 \001(\0132\032.google.protobuf.T" @@ -212,165 +212,166 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "w\n\010NodeType\022\031\n\025NODE_TYPE_UNSPECIFIED\020\000\022\024" + "\n\020SHARED_CORE_NANO\020\001\022\022\n\016HIGHMEM_MEDIUM\020\002" + "\022\022\n\016HIGHMEM_XLARGE\020\003\022\022\n\016STANDARD_SMALL\020\004" - + "\"9\n\004Mode\022\024\n\020MODE_UNSPECIFIED\020\000\022\016\n\nSTANDA" - + "LONE\020\001\022\013\n\007CLUSTER\020\002:{\352Ax\n#memorystore.go" - + "ogleapis.com/Instance\022.google.cloud.memory" - + "store.v1.PersistenceConfig.PersistenceMo" - + "deB\003\340A\001\022Q\n\nrdb_config\030\002 \001(\01328.google.clo" - + "ud.memorystore.v1.PersistenceConfig.RDBC" - + "onfigB\003\340A\001\022Q\n\naof_config\030\003 \001(\01328.google." - + "cloud.memorystore.v1.PersistenceConfig.A" - + "OFConfigB\003\340A\001\032\261\002\n\tRDBConfig\022i\n\023rdb_snaps" - + "hot_period\030\001 \001(\0162G.google.cloud.memoryst" - + "ore.v1.PersistenceConfig.RDBConfig.Snaps" - + "hotPeriodB\003\340A\001\022@\n\027rdb_snapshot_start_tim" - + "e\030\002 \001(\0132\032.google.protobuf.TimestampB\003\340A\001" - + "\"w\n\016SnapshotPeriod\022\037\n\033SNAPSHOT_PERIOD_UN" - + "SPECIFIED\020\000\022\014\n\010ONE_HOUR\020\001\022\r\n\tSIX_HOURS\020\002" - + "\022\020\n\014TWELVE_HOURS\020\003\022\025\n\021TWENTY_FOUR_HOURS\020" - + "\004\032\277\001\n\tAOFConfig\022_\n\014append_fsync\030\001 \001(\0162D." - + "google.cloud.memorystore.v1.PersistenceC" - + "onfig.AOFConfig.AppendFsyncB\003\340A\001\"Q\n\013Appe" - + "ndFsync\022\034\n\030APPEND_FSYNC_UNSPECIFIED\020\000\022\t\n" - + "\005NEVER\020\001\022\r\n\tEVERY_SEC\020\002\022\n\n\006ALWAYS\020\003\"S\n\017P" - + "ersistenceMode\022 \n\034PERSISTENCE_MODE_UNSPE" - + "CIFIED\020\000\022\014\n\010DISABLED\020\001\022\007\n\003RDB\020\002\022\007\n\003AOF\020\003" - + "\"\"\n\nNodeConfig\022\024\n\007size_gb\030\001 \001(\001B\003\340A\003\"\351\001\n" - + "\026ZoneDistributionConfig\022\021\n\004zone\030\002 \001(\tB\003\340" - + "A\001\022[\n\004mode\030\001 \001(\0162H.google.cloud.memoryst" - + "ore.v1.ZoneDistributionConfig.ZoneDistri" - + "butionModeB\003\340A\001\"_\n\024ZoneDistributionMode\022" - + "&\n\"ZONE_DISTRIBUTION_MODE_UNSPECIFIED\020\000\022" - + "\016\n\nMULTI_ZONE\020\001\022\017\n\013SINGLE_ZONE\020\002\"\260\001\n\024Lis" - + "tInstancesRequest\022;\n\006parent\030\001 \001(\tB+\340A\002\372A" - + "%\022#memorystore.googleapis.com/Instance\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\010order_by" - + "\030\005 \001(\tB\003\340A\001\"\177\n\025ListInstancesResponse\0228\n\t" - + "instances\030\001 \003(\0132%.google.cloud.memorysto" - + "re.v1.Instance\022\027\n\017next_page_token\030\002 \001(\t\022" - + "\023\n\013unreachable\030\003 \003(\t\"O\n\022GetInstanceReque" - + "st\0229\n\004name\030\001 \001(\tB+\340A\002\372A%\n#memorystore.go" - + "ogleapis.com/Instance\"\315\001\n\025CreateInstance" - + "Request\022;\n\006parent\030\001 \001(\tB+\340A\002\372A%\022#memorys" - + "tore.googleapis.com/Instance\022\030\n\013instance" - + "_id\030\002 \001(\tB\003\340A\002\022<\n\010instance\030\003 \001(\0132%.googl" - + "e.cloud.memorystore.v1.InstanceB\003\340A\002\022\037\n\n" - + "request_id\030\004 \001(\tB\013\340A\001\342\214\317\327\010\002\010\001\"\254\001\n\025Update" - + "InstanceRequest\0224\n\013update_mask\030\001 \001(\0132\032.g" - + "oogle.protobuf.FieldMaskB\003\340A\001\022<\n\010instanc" - + "e\030\002 \001(\0132%.google.cloud.memorystore.v1.In" - + "stanceB\003\340A\002\022\037\n\nrequest_id\030\003 \001(\tB\013\340A\001\342\214\317\327" - + "\010\002\010\001\"s\n\025DeleteInstanceRequest\0229\n\004name\030\001 " - + "\001(\tB+\340A\002\372A%\n#memorystore.googleapis.com/" - + "Instance\022\037\n\nrequest_id\030\002 \001(\tB\013\340A\001\342\214\317\327\010\002\010" - + "\001\"[\n\036GetCertificateAuthorityRequest\0229\n\004n" - + "ame\030\001 \001(\tB+\340A\002\372A%\n#memorystore.googleapi" - + "s.com/Instance\"\211\004\n\024CertificateAuthority\022" - + "j\n\021managed_server_ca\030\002 \001(\0132M.google.clou" - + "d.memorystore.v1.CertificateAuthority.Ma" - + "nagedCertificateAuthorityH\000\022\021\n\004name\030\001 \001(" - + "\tB\003\340A\010\032\253\001\n\033ManagedCertificateAuthority\022i" - + "\n\010ca_certs\030\001 \003(\0132W.google.cloud.memoryst" - + "ore.v1.CertificateAuthority.ManagedCerti" - + "ficateAuthority.CertChain\032!\n\tCertChain\022\024" - + "\n\014certificates\030\001 \003(\t:\266\001\352A\262\001\n/memorystore" - + ".googleapis.com/CertificateAuthority\022Qpr" - + "ojects/{project}/locations/{location}/in" - + "stances/{instance}/certificateAuthority*" - + "\026certificateAuthorities2\024certificateAuth" - + "orityB\013\n\tserver_ca\"\200\002\n\021OperationMetadata" - + "\0224\n\013create_time\030\001 \001(\0132\032.google.protobuf." - + "TimestampB\003\340A\003\0221\n\010end_time\030\002 \001(\0132\032.googl" - + "e.protobuf.TimestampB\003\340A\003\022\023\n\006target\030\003 \001(" - + "\tB\003\340A\003\022\021\n\004verb\030\004 \001(\tB\003\340A\003\022\033\n\016status_mess" - + "age\030\005 \001(\tB\003\340A\003\022#\n\026requested_cancellation" - + "\030\006 \001(\010B\003\340A\003\022\030\n\013api_version\030\007 \001(\tB\003\340A\003*W\n" - + "\023PscConnectionStatus\022%\n!PSC_CONNECTION_S" - + "TATUS_UNSPECIFIED\020\000\022\n\n\006ACTIVE\020\001\022\r\n\tNOT_F" - + "OUND\020\002*\211\001\n\016ConnectionType\022\037\n\033CONNECTION_" - + "TYPE_UNSPECIFIED\020\000\022\035\n\031CONNECTION_TYPE_DI" - + "SCOVERY\020\001\022\033\n\027CONNECTION_TYPE_PRIMARY\020\002\022\032" - + "\n\026CONNECTION_TYPE_READER\020\0032\270\n\n\013Memorysto" - + "re\022\266\001\n\rListInstances\0221.google.cloud.memo" - + "rystore.v1.ListInstancesRequest\0322.google" - + ".cloud.memorystore.v1.ListInstancesRespo" - + "nse\">\332A\006parent\202\323\344\223\002/\022-/v1/{parent=projec" - + "ts/*/locations/*}/instances\022\243\001\n\013GetInsta" - + "nce\022/.google.cloud.memorystore.v1.GetIns" - + "tanceRequest\032%.google.cloud.memorystore." - + "v1.Instance\"<\332A\004name\202\323\344\223\002/\022-/v1/{name=pr" - + "ojects/*/locations/*/instances/*}\022\342\001\n\016Cr" - + "eateInstance\0222.google.cloud.memorystore." - + "v1.CreateInstanceRequest\032\035.google.longru" - + "nning.Operation\"}\312A\035\n\010Instance\022\021Operatio" - + "nMetadata\332A\033parent,instance,instance_id\202" - + "\323\344\223\0029\"-/v1/{parent=projects/*/locations/" - + "*}/instances:\010instance\022\344\001\n\016UpdateInstanc" - + "e\0222.google.cloud.memorystore.v1.UpdateIn" - + "stanceRequest\032\035.google.longrunning.Opera" - + "tion\"\177\312A\035\n\010Instance\022\021OperationMetadata\332A" - + "\024instance,update_mask\202\323\344\223\002B26/v1/{instan" - + "ce.name=projects/*/locations/*/instances" - + "/*}:\010instance\022\316\001\n\016DeleteInstance\0222.googl" - + "e.cloud.memorystore.v1.DeleteInstanceReq" - + "uest\032\035.google.longrunning.Operation\"i\312A*" - + "\n\025google.protobuf.Empty\022\021OperationMetada" - + "ta\332A\004name\202\323\344\223\002/*-/v1/{name=projects/*/lo" - + "cations/*/instances/*}\022\334\001\n\027GetCertificat" - + "eAuthority\022;.google.cloud.memorystore.v1" - + ".GetCertificateAuthorityRequest\0321.google" - + ".cloud.memorystore.v1.CertificateAuthori" - + "ty\"Q\332A\004name\202\323\344\223\002D\022B/v1/{name=projects/*/" - + "locations/*/instances/*}/certificateAuth" - + "ority\032N\312A\032memorystore.googleapis.com\322A.h" - + "ttps://www.googleapis.com/auth/cloud-pla" - + "tformB\214\004\n\037com.google.cloud.memorystore.v" - + "1B\013V1mainProtoP\001ZAcloud.google.com/go/me" - + "morystore/apiv1/memorystorepb;memorystor" - + "epb\252\002\033Google.Cloud.Memorystore.V1\312\002\033Goog" - + "le\\Cloud\\Memorystore\\V1\352\002\036Google::Cloud:" - + ":Memorystore::V1\352An\n%compute.googleapis." - + "com/ForwardingRule\022Eprojects/{project}/r" - + "egions/{region}/forwardingRules/{forward" - + "ing_rule}\352AN\n\036compute.googleapis.com/Net" - + "work\022,projects/{project}/global/networks" - + "/{network}\352Aw\n(compute.googleapis.com/Se" - + "rviceAttachment\022Kprojects/{project}/regi" - + "ons/{region}/serviceAttachments/{service" - + "_attachment}b\006proto3" + + "\"S\n\004Mode\022\024\n\020MODE_UNSPECIFIED\020\000\022\022\n\nSTANDA" + + "LONE\020\001\032\002\010\001\022\013\n\007CLUSTER\020\002\022\024\n\020CLUSTER_DISAB" + + "LED\020\004:{\352Ax\n#memorystore.googleapis.com/I" + + "nstance\022.google.cloud.memorystore.v1.Persi" + + "stenceConfig.PersistenceModeB\003\340A\001\022Q\n\nrdb" + + "_config\030\002 \001(\01328.google.cloud.memorystore" + + ".v1.PersistenceConfig.RDBConfigB\003\340A\001\022Q\n\n" + + "aof_config\030\003 \001(\01328.google.cloud.memoryst" + + "ore.v1.PersistenceConfig.AOFConfigB\003\340A\001\032" + + "\261\002\n\tRDBConfig\022i\n\023rdb_snapshot_period\030\001 \001" + + "(\0162G.google.cloud.memorystore.v1.Persist" + + "enceConfig.RDBConfig.SnapshotPeriodB\003\340A\001" + + "\022@\n\027rdb_snapshot_start_time\030\002 \001(\0132\032.goog" + + "le.protobuf.TimestampB\003\340A\001\"w\n\016SnapshotPe" + + "riod\022\037\n\033SNAPSHOT_PERIOD_UNSPECIFIED\020\000\022\014\n" + + "\010ONE_HOUR\020\001\022\r\n\tSIX_HOURS\020\002\022\020\n\014TWELVE_HOU" + + "RS\020\003\022\025\n\021TWENTY_FOUR_HOURS\020\004\032\277\001\n\tAOFConfi" + + "g\022_\n\014append_fsync\030\001 \001(\0162D.google.cloud.m" + + "emorystore.v1.PersistenceConfig.AOFConfi" + + "g.AppendFsyncB\003\340A\001\"Q\n\013AppendFsync\022\034\n\030APP" + + "END_FSYNC_UNSPECIFIED\020\000\022\t\n\005NEVER\020\001\022\r\n\tEV" + + "ERY_SEC\020\002\022\n\n\006ALWAYS\020\003\"S\n\017PersistenceMode" + + "\022 \n\034PERSISTENCE_MODE_UNSPECIFIED\020\000\022\014\n\010DI" + + "SABLED\020\001\022\007\n\003RDB\020\002\022\007\n\003AOF\020\003\"\"\n\nNodeConfig" + + "\022\024\n\007size_gb\030\001 \001(\001B\003\340A\003\"\351\001\n\026ZoneDistribut" + + "ionConfig\022\021\n\004zone\030\002 \001(\tB\003\340A\001\022[\n\004mode\030\001 \001" + + "(\0162H.google.cloud.memorystore.v1.ZoneDis" + + "tributionConfig.ZoneDistributionModeB\003\340A" + + "\001\"_\n\024ZoneDistributionMode\022&\n\"ZONE_DISTRI" + + "BUTION_MODE_UNSPECIFIED\020\000\022\016\n\nMULTI_ZONE\020" + + "\001\022\017\n\013SINGLE_ZONE\020\002\"\260\001\n\024ListInstancesRequ" + + "est\022;\n\006parent\030\001 \001(\tB+\340A\002\372A%\022#memorystore" + + ".googleapis.com/Instance\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\006fil" + + "ter\030\004 \001(\tB\003\340A\001\022\025\n\010order_by\030\005 \001(\tB\003\340A\001\"\177\n" + + "\025ListInstancesResponse\0228\n\tinstances\030\001 \003(" + + "\0132%.google.cloud.memorystore.v1.Instance" + + "\022\027\n\017next_page_token\030\002 \001(\t\022\023\n\013unreachable" + + "\030\003 \003(\t\"O\n\022GetInstanceRequest\0229\n\004name\030\001 \001" + + "(\tB+\340A\002\372A%\n#memorystore.googleapis.com/I" + + "nstance\"\315\001\n\025CreateInstanceRequest\022;\n\006par" + + "ent\030\001 \001(\tB+\340A\002\372A%\022#memorystore.googleapi" + + "s.com/Instance\022\030\n\013instance_id\030\002 \001(\tB\003\340A\002" + + "\022<\n\010instance\030\003 \001(\0132%.google.cloud.memory" + + "store.v1.InstanceB\003\340A\002\022\037\n\nrequest_id\030\004 \001" + + "(\tB\013\340A\001\342\214\317\327\010\002\010\001\"\254\001\n\025UpdateInstanceReques" + + "t\0224\n\013update_mask\030\001 \001(\0132\032.google.protobuf" + + ".FieldMaskB\003\340A\001\022<\n\010instance\030\002 \001(\0132%.goog" + + "le.cloud.memorystore.v1.InstanceB\003\340A\002\022\037\n" + + "\nrequest_id\030\003 \001(\tB\013\340A\001\342\214\317\327\010\002\010\001\"s\n\025Delete" + + "InstanceRequest\0229\n\004name\030\001 \001(\tB+\340A\002\372A%\n#m" + + "emorystore.googleapis.com/Instance\022\037\n\nre" + + "quest_id\030\002 \001(\tB\013\340A\001\342\214\317\327\010\002\010\001\"[\n\036GetCertif" + + "icateAuthorityRequest\0229\n\004name\030\001 \001(\tB+\340A\002" + + "\372A%\n#memorystore.googleapis.com/Instance" + + "\"\211\004\n\024CertificateAuthority\022j\n\021managed_ser" + + "ver_ca\030\002 \001(\0132M.google.cloud.memorystore." + + "v1.CertificateAuthority.ManagedCertifica" + + "teAuthorityH\000\022\021\n\004name\030\001 \001(\tB\003\340A\010\032\253\001\n\033Man" + + "agedCertificateAuthority\022i\n\010ca_certs\030\001 \003" + + "(\0132W.google.cloud.memorystore.v1.Certifi" + + "cateAuthority.ManagedCertificateAuthorit" + + "y.CertChain\032!\n\tCertChain\022\024\n\014certificates" + + "\030\001 \003(\t:\266\001\352A\262\001\n/memorystore.googleapis.co" + + "m/CertificateAuthority\022Qprojects/{projec" + + "t}/locations/{location}/instances/{insta" + + "nce}/certificateAuthority*\026certificateAu" + + "thorities2\024certificateAuthorityB\013\n\tserve" + + "r_ca\"\200\002\n\021OperationMetadata\0224\n\013create_tim" + + "e\030\001 \001(\0132\032.google.protobuf.TimestampB\003\340A\003" + + "\0221\n\010end_time\030\002 \001(\0132\032.google.protobuf.Tim" + + "estampB\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" + + "\013api_version\030\007 \001(\tB\003\340A\003*W\n\023PscConnection" + + "Status\022%\n!PSC_CONNECTION_STATUS_UNSPECIF" + + "IED\020\000\022\n\n\006ACTIVE\020\001\022\r\n\tNOT_FOUND\020\002*\211\001\n\016Con" + + "nectionType\022\037\n\033CONNECTION_TYPE_UNSPECIFI" + + "ED\020\000\022\035\n\031CONNECTION_TYPE_DISCOVERY\020\001\022\033\n\027C" + + "ONNECTION_TYPE_PRIMARY\020\002\022\032\n\026CONNECTION_T" + + "YPE_READER\020\0032\270\n\n\013Memorystore\022\266\001\n\rListIns" + + "tances\0221.google.cloud.memorystore.v1.Lis" + + "tInstancesRequest\0322.google.cloud.memorys" + + "tore.v1.ListInstancesResponse\">\332A\006parent" + + "\202\323\344\223\002/\022-/v1/{parent=projects/*/locations" + + "/*}/instances\022\243\001\n\013GetInstance\022/.google.c" + + "loud.memorystore.v1.GetInstanceRequest\032%" + + ".google.cloud.memorystore.v1.Instance\"<\332" + + "A\004name\202\323\344\223\002/\022-/v1/{name=projects/*/locat" + + "ions/*/instances/*}\022\342\001\n\016CreateInstance\0222" + + ".google.cloud.memorystore.v1.CreateInsta" + + "nceRequest\032\035.google.longrunning.Operatio" + + "n\"}\312A\035\n\010Instance\022\021OperationMetadata\332A\033pa" + + "rent,instance,instance_id\202\323\344\223\0029\"-/v1/{pa" + + "rent=projects/*/locations/*}/instances:\010" + + "instance\022\344\001\n\016UpdateInstance\0222.google.clo" + + "ud.memorystore.v1.UpdateInstanceRequest\032" + + "\035.google.longrunning.Operation\"\177\312A\035\n\010Ins" + + "tance\022\021OperationMetadata\332A\024instance,upda" + + "te_mask\202\323\344\223\002B26/v1/{instance.name=projec" + + "ts/*/locations/*/instances/*}:\010instance\022" + + "\316\001\n\016DeleteInstance\0222.google.cloud.memory" + + "store.v1.DeleteInstanceRequest\032\035.google." + + "longrunning.Operation\"i\312A*\n\025google.proto" + + "buf.Empty\022\021OperationMetadata\332A\004name\202\323\344\223\002" + + "/*-/v1/{name=projects/*/locations/*/inst" + + "ances/*}\022\334\001\n\027GetCertificateAuthority\022;.g" + + "oogle.cloud.memorystore.v1.GetCertificat" + + "eAuthorityRequest\0321.google.cloud.memorys" + + "tore.v1.CertificateAuthority\"Q\332A\004name\202\323\344" + + "\223\002D\022B/v1/{name=projects/*/locations/*/in" + + "stances/*}/certificateAuthority\032N\312A\032memo" + + "rystore.googleapis.com\322A.https://www.goo" + + "gleapis.com/auth/cloud-platformB\214\004\n\037com." + + "google.cloud.memorystore.v1B\013V1mainProto" + + "P\001ZAcloud.google.com/go/memorystore/apiv" + + "1/memorystorepb;memorystorepb\252\002\033Google.C" + + "loud.Memorystore.V1\312\002\033Google\\Cloud\\Memor" + + "ystore\\V1\352\002\036Google::Cloud::Memorystore::" + + "V1\352An\n%compute.googleapis.com/Forwarding" + + "Rule\022Eprojects/{project}/regions/{region" + + "}/forwardingRules/{forwarding_rule}\352AN\n\036" + + "compute.googleapis.com/Network\022,projects" + + "/{project}/global/networks/{network}\352Aw\n" + + "(compute.googleapis.com/ServiceAttachmen" + + "t\022Kprojects/{project}/regions/{region}/s" + + "erviceAttachments/{service_attachment}b\006" + + "proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-valkey/proto-google-cloud-valkey-v1/src/main/proto/google/cloud/memorystore/v1/memorystore.proto b/java-valkey/proto-google-cloud-valkey-v1/src/main/proto/google/cloud/memorystore/v1/memorystore.proto index eede5815eab7..1dee504381b0 100644 --- a/java-valkey/proto-google-cloud-valkey-v1/src/main/proto/google/cloud/memorystore/v1/memorystore.proto +++ b/java-valkey/proto-google-cloud-valkey-v1/src/main/proto/google/cloud/memorystore/v1/memorystore.proto @@ -266,11 +266,14 @@ message Instance { // Mode is not specified. MODE_UNSPECIFIED = 0; - // Instance is in standalone mode. - STANDALONE = 1; + // Deprecated: Use CLUSTER_DISABLED instead. + STANDALONE = 1 [deprecated = true]; // Instance is in cluster mode. CLUSTER = 2; + + // Cluster mode is disabled for the instance. + CLUSTER_DISABLED = 4; } // Identifier. Unique name of the instance. diff --git a/java-valkey/proto-google-cloud-valkey-v1beta/src/main/java/com/google/cloud/memorystore/v1beta/Instance.java b/java-valkey/proto-google-cloud-valkey-v1beta/src/main/java/com/google/cloud/memorystore/v1beta/Instance.java index ef393267c79b..86a2beeb0101 100644 --- a/java-valkey/proto-google-cloud-valkey-v1beta/src/main/java/com/google/cloud/memorystore/v1beta/Instance.java +++ b/java-valkey/proto-google-cloud-valkey-v1beta/src/main/java/com/google/cloud/memorystore/v1beta/Instance.java @@ -835,11 +835,12 @@ public enum Mode implements com.google.protobuf.ProtocolMessageEnum { * * *
-     * Instance is in standalone mode.
+     * Deprecated: Use CLUSTER_DISABLED instead.
      * 
* - * STANDALONE = 1; + * STANDALONE = 1 [deprecated = true]; */ + @java.lang.Deprecated STANDALONE(1), /** * @@ -851,6 +852,16 @@ public enum Mode implements com.google.protobuf.ProtocolMessageEnum { * CLUSTER = 2; */ CLUSTER(2), + /** + * + * + *
+     * Cluster mode is disabled for the instance.
+     * 
+ * + * CLUSTER_DISABLED = 4; + */ + CLUSTER_DISABLED(4), UNRECOGNIZED(-1), ; @@ -868,12 +879,12 @@ public enum Mode implements com.google.protobuf.ProtocolMessageEnum { * * *
-     * Instance is in standalone mode.
+     * Deprecated: Use CLUSTER_DISABLED instead.
      * 
* - * STANDALONE = 1; + * STANDALONE = 1 [deprecated = true]; */ - public static final int STANDALONE_VALUE = 1; + @java.lang.Deprecated public static final int STANDALONE_VALUE = 1; /** * * @@ -884,6 +895,16 @@ public enum Mode implements com.google.protobuf.ProtocolMessageEnum { * CLUSTER = 2; */ public static final int CLUSTER_VALUE = 2; + /** + * + * + *
+     * Cluster mode is disabled for the instance.
+     * 
+ * + * CLUSTER_DISABLED = 4; + */ + public static final int CLUSTER_DISABLED_VALUE = 4; public final int getNumber() { if (this == UNRECOGNIZED) { @@ -915,6 +936,8 @@ public static Mode forNumber(int value) { return STANDALONE; case 2: return CLUSTER; + case 4: + return CLUSTER_DISABLED; default: return null; } diff --git a/java-valkey/proto-google-cloud-valkey-v1beta/src/main/java/com/google/cloud/memorystore/v1beta/V1mainProto.java b/java-valkey/proto-google-cloud-valkey-v1beta/src/main/java/com/google/cloud/memorystore/v1beta/V1mainProto.java index 2ec5be3a7423..ce0b3070bec3 100644 --- a/java-valkey/proto-google-cloud-valkey-v1beta/src/main/java/com/google/cloud/memorystore/v1beta/V1mainProto.java +++ b/java-valkey/proto-google-cloud-valkey-v1beta/src/main/java/com/google/cloud/memorystore/v1beta/V1mainProto.java @@ -150,7 +150,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "grunning/operations.proto\032\033google/protob" + "uf/empty.proto\032 google/protobuf/field_ma" + "sk.proto\032\037google/protobuf/timestamp.prot" - + "o\"\346\025\n\010Instance\022\021\n\004name\030\001 \001(\tB\003\340A\010\0224\n\013cre" + + "o\"\200\026\n\010Instance\022\021\n\004name\030\001 \001(\tB\003\340A\010\0224\n\013cre" + "ate_time\030\002 \001(\0132\032.google.protobuf.Timesta" + "mpB\003\340A\003\0224\n\013update_time\030\003 \001(\0132\032.google.pr" + "otobuf.TimestampB\003\340A\003\022J\n\006labels\030\004 \003(\01325." @@ -214,169 +214,169 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "w\n\010NodeType\022\031\n\025NODE_TYPE_UNSPECIFIED\020\000\022\024" + "\n\020SHARED_CORE_NANO\020\001\022\022\n\016HIGHMEM_MEDIUM\020\002" + "\022\022\n\016HIGHMEM_XLARGE\020\003\022\022\n\016STANDARD_SMALL\020\004" - + "\"9\n\004Mode\022\024\n\020MODE_UNSPECIFIED\020\000\022\016\n\nSTANDA" - + "LONE\020\001\022\013\n\007CLUSTER\020\002:{\352Ax\n#memorystore.go" - + "ogleapis.com/Instance\022