diff --git a/java-cloudbuild/README.md b/java-cloudbuild/README.md index 71ad69d3c8ac..e09fc9f411af 100644 --- a/java-cloudbuild/README.md +++ b/java-cloudbuild/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.19.0 + 26.20.0 pom import @@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-build.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-build/3.23.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-build/3.24.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-cloudbuild/google-cloud-build/src/main/java/com/google/cloud/devtools/cloudbuild/v1/CloudBuildClient.java b/java-cloudbuild/google-cloud-build/src/main/java/com/google/cloud/devtools/cloudbuild/v1/CloudBuildClient.java index 25e6f59ca109..716758c04276 100644 --- a/java-cloudbuild/google-cloud-build/src/main/java/com/google/cloud/devtools/cloudbuild/v1/CloudBuildClient.java +++ b/java-cloudbuild/google-cloud-build/src/main/java/com/google/cloud/devtools/cloudbuild/v1/CloudBuildClient.java @@ -1574,6 +1574,7 @@ public final BuildTrigger updateBuildTrigger( * .setProjectId("projectId-894832108") * .setTriggerId("triggerId-648752909") * .setTrigger(BuildTrigger.newBuilder().build()) + * .setUpdateMask(FieldMask.newBuilder().build()) * .build(); * BuildTrigger response = cloudBuildClient.updateBuildTrigger(request); * } @@ -1606,6 +1607,7 @@ public final BuildTrigger updateBuildTrigger(UpdateBuildTriggerRequest request) * .setProjectId("projectId-894832108") * .setTriggerId("triggerId-648752909") * .setTrigger(BuildTrigger.newBuilder().build()) + * .setUpdateMask(FieldMask.newBuilder().build()) * .build(); * ApiFuture future = * cloudBuildClient.updateBuildTriggerCallable().futureCall(request); diff --git a/java-cloudbuild/google-cloud-build/src/main/java/com/google/cloud/devtools/cloudbuild/v1/stub/HttpJsonCloudBuildStub.java b/java-cloudbuild/google-cloud-build/src/main/java/com/google/cloud/devtools/cloudbuild/v1/stub/HttpJsonCloudBuildStub.java index b8a4ee45bc41..dca2304ae689 100644 --- a/java-cloudbuild/google-cloud-build/src/main/java/com/google/cloud/devtools/cloudbuild/v1/stub/HttpJsonCloudBuildStub.java +++ b/java-cloudbuild/google-cloud-build/src/main/java/com/google/cloud/devtools/cloudbuild/v1/stub/HttpJsonCloudBuildStub.java @@ -535,6 +535,7 @@ public class HttpJsonCloudBuildStub extends CloudBuildStub { Map> fields = new HashMap<>(); ProtoRestSerializer serializer = ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "updateMask", request.getUpdateMask()); serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); return fields; }) diff --git a/java-cloudbuild/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/BuildOptions.java b/java-cloudbuild/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/BuildOptions.java index 50d868109aa3..92ef69fa50af 100644 --- a/java-cloudbuild/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/BuildOptions.java +++ b/java-cloudbuild/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/BuildOptions.java @@ -2064,6 +2064,25 @@ public boolean getDynamicSubstitutions() { return dynamicSubstitutions_; } + public static final int AUTOMAP_SUBSTITUTIONS_FIELD_NUMBER = 22; + private boolean automapSubstitutions_ = false; + /** + * + * + *
+   * Option to include built-in and custom substitutions as env variables
+   * for all build steps.
+   * 
+ * + * bool automap_substitutions = 22; + * + * @return The automapSubstitutions. + */ + @java.lang.Override + public boolean getAutomapSubstitutions() { + return automapSubstitutions_; + } + public static final int LOG_STREAMING_OPTION_FIELD_NUMBER = 5; private int logStreamingOption_ = 0; /** @@ -2119,7 +2138,7 @@ public com.google.cloudbuild.v1.BuildOptions.LogStreamingOption getLogStreamingO * string worker_pool = 7 [deprecated = true]; * * @deprecated google.devtools.cloudbuild.v1.BuildOptions.worker_pool is deprecated. See - * google/devtools/cloudbuild/v1/cloudbuild.proto;l=2252 + * google/devtools/cloudbuild/v1/cloudbuild.proto;l=2266 * @return The workerPool. */ @java.lang.Override @@ -2145,7 +2164,7 @@ public java.lang.String getWorkerPool() { * string worker_pool = 7 [deprecated = true]; * * @deprecated google.devtools.cloudbuild.v1.BuildOptions.worker_pool is deprecated. See - * google/devtools/cloudbuild/v1/cloudbuild.proto;l=2252 + * google/devtools/cloudbuild/v1/cloudbuild.proto;l=2266 * @return The bytes for workerPool. */ @java.lang.Override @@ -2649,6 +2668,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io .getNumber()) { output.writeEnum(21, defaultLogsBucketBehavior_); } + if (automapSubstitutions_ != false) { + output.writeBool(22, automapSubstitutions_); + } getUnknownFields().writeTo(output); } @@ -2728,6 +2750,9 @@ public int getSerializedSize() { .getNumber()) { size += com.google.protobuf.CodedOutputStream.computeEnumSize(21, defaultLogsBucketBehavior_); } + if (automapSubstitutions_ != false) { + size += com.google.protobuf.CodedOutputStream.computeBoolSize(22, automapSubstitutions_); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -2749,6 +2774,7 @@ public boolean equals(final java.lang.Object obj) { if (getDiskSizeGb() != other.getDiskSizeGb()) return false; if (substitutionOption_ != other.substitutionOption_) return false; if (getDynamicSubstitutions() != other.getDynamicSubstitutions()) return false; + if (getAutomapSubstitutions() != other.getAutomapSubstitutions()) return false; if (logStreamingOption_ != other.logStreamingOption_) return false; if (!getWorkerPool().equals(other.getWorkerPool())) return false; if (hasPool() != other.hasPool()) return false; @@ -2785,6 +2811,8 @@ public int hashCode() { hash = (53 * hash) + substitutionOption_; hash = (37 * hash) + DYNAMIC_SUBSTITUTIONS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDynamicSubstitutions()); + hash = (37 * hash) + AUTOMAP_SUBSTITUTIONS_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAutomapSubstitutions()); hash = (37 * hash) + LOG_STREAMING_OPTION_FIELD_NUMBER; hash = (53 * hash) + logStreamingOption_; hash = (37 * hash) + WORKER_POOL_FIELD_NUMBER; @@ -2954,6 +2982,7 @@ public Builder clear() { diskSizeGb_ = 0L; substitutionOption_ = 0; dynamicSubstitutions_ = false; + automapSubstitutions_ = false; logStreamingOption_ = 0; workerPool_ = ""; pool_ = null; @@ -2970,7 +2999,7 @@ public Builder clear() { volumes_ = null; volumesBuilder_.clear(); } - bitField0_ = (bitField0_ & ~0x00001000); + bitField0_ = (bitField0_ & ~0x00002000); defaultLogsBucketBehavior_ = 0; return this; } @@ -3014,9 +3043,9 @@ private void buildPartialRepeatedFields(com.google.cloudbuild.v1.BuildOptions re } result.sourceProvenanceHash_ = sourceProvenanceHash_; if (volumesBuilder_ == null) { - if (((bitField0_ & 0x00001000) != 0)) { + if (((bitField0_ & 0x00002000) != 0)) { volumes_ = java.util.Collections.unmodifiableList(volumes_); - bitField0_ = (bitField0_ & ~0x00001000); + bitField0_ = (bitField0_ & ~0x00002000); } result.volumes_ = volumes_; } else { @@ -3042,26 +3071,29 @@ private void buildPartial0(com.google.cloudbuild.v1.BuildOptions result) { result.dynamicSubstitutions_ = dynamicSubstitutions_; } if (((from_bitField0_ & 0x00000040) != 0)) { - result.logStreamingOption_ = logStreamingOption_; + result.automapSubstitutions_ = automapSubstitutions_; } if (((from_bitField0_ & 0x00000080) != 0)) { - result.workerPool_ = workerPool_; + result.logStreamingOption_ = logStreamingOption_; } if (((from_bitField0_ & 0x00000100) != 0)) { - result.pool_ = poolBuilder_ == null ? pool_ : poolBuilder_.build(); + result.workerPool_ = workerPool_; } if (((from_bitField0_ & 0x00000200) != 0)) { - result.logging_ = logging_; + result.pool_ = poolBuilder_ == null ? pool_ : poolBuilder_.build(); } if (((from_bitField0_ & 0x00000400) != 0)) { + result.logging_ = logging_; + } + if (((from_bitField0_ & 0x00000800) != 0)) { env_.makeImmutable(); result.env_ = env_; } - if (((from_bitField0_ & 0x00000800) != 0)) { + if (((from_bitField0_ & 0x00001000) != 0)) { secretEnv_.makeImmutable(); result.secretEnv_ = secretEnv_; } - if (((from_bitField0_ & 0x00002000) != 0)) { + if (((from_bitField0_ & 0x00004000) != 0)) { result.defaultLogsBucketBehavior_ = defaultLogsBucketBehavior_; } } @@ -3136,12 +3168,15 @@ public Builder mergeFrom(com.google.cloudbuild.v1.BuildOptions other) { if (other.getDynamicSubstitutions() != false) { setDynamicSubstitutions(other.getDynamicSubstitutions()); } + if (other.getAutomapSubstitutions() != false) { + setAutomapSubstitutions(other.getAutomapSubstitutions()); + } if (other.logStreamingOption_ != 0) { setLogStreamingOptionValue(other.getLogStreamingOptionValue()); } if (!other.getWorkerPool().isEmpty()) { workerPool_ = other.workerPool_; - bitField0_ |= 0x00000080; + bitField0_ |= 0x00000100; onChanged(); } if (other.hasPool()) { @@ -3153,7 +3188,7 @@ public Builder mergeFrom(com.google.cloudbuild.v1.BuildOptions other) { if (!other.env_.isEmpty()) { if (env_.isEmpty()) { env_ = other.env_; - bitField0_ |= 0x00000400; + bitField0_ |= 0x00000800; } else { ensureEnvIsMutable(); env_.addAll(other.env_); @@ -3163,7 +3198,7 @@ public Builder mergeFrom(com.google.cloudbuild.v1.BuildOptions other) { if (!other.secretEnv_.isEmpty()) { if (secretEnv_.isEmpty()) { secretEnv_ = other.secretEnv_; - bitField0_ |= 0x00000800; + bitField0_ |= 0x00001000; } else { ensureSecretEnvIsMutable(); secretEnv_.addAll(other.secretEnv_); @@ -3174,7 +3209,7 @@ public Builder mergeFrom(com.google.cloudbuild.v1.BuildOptions other) { if (!other.volumes_.isEmpty()) { if (volumes_.isEmpty()) { volumes_ = other.volumes_; - bitField0_ = (bitField0_ & ~0x00001000); + bitField0_ = (bitField0_ & ~0x00002000); } else { ensureVolumesIsMutable(); volumes_.addAll(other.volumes_); @@ -3187,7 +3222,7 @@ public Builder mergeFrom(com.google.cloudbuild.v1.BuildOptions other) { volumesBuilder_.dispose(); volumesBuilder_ = null; volumes_ = other.volumes_; - bitField0_ = (bitField0_ & ~0x00001000); + bitField0_ = (bitField0_ & ~0x00002000); volumesBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getVolumesFieldBuilder() @@ -3266,7 +3301,7 @@ public Builder mergeFrom( case 40: { logStreamingOption_ = input.readEnum(); - bitField0_ |= 0x00000040; + bitField0_ |= 0x00000080; break; } // case 40 case 48: @@ -3278,13 +3313,13 @@ public Builder mergeFrom( case 58: { workerPool_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000080; + bitField0_ |= 0x00000100; break; } // case 58 case 88: { logging_ = input.readEnum(); - bitField0_ |= 0x00000200; + bitField0_ |= 0x00000400; break; } // case 88 case 98: @@ -3322,15 +3357,21 @@ public Builder mergeFrom( case 154: { input.readMessage(getPoolFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000100; + bitField0_ |= 0x00000200; break; } // case 154 case 168: { defaultLogsBucketBehavior_ = input.readEnum(); - bitField0_ |= 0x00002000; + bitField0_ |= 0x00004000; break; } // case 168 + case 176: + { + automapSubstitutions_ = input.readBool(); + bitField0_ |= 0x00000040; + break; + } // case 176 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -4026,6 +4067,62 @@ public Builder clearDynamicSubstitutions() { return this; } + private boolean automapSubstitutions_; + /** + * + * + *
+     * Option to include built-in and custom substitutions as env variables
+     * for all build steps.
+     * 
+ * + * bool automap_substitutions = 22; + * + * @return The automapSubstitutions. + */ + @java.lang.Override + public boolean getAutomapSubstitutions() { + return automapSubstitutions_; + } + /** + * + * + *
+     * Option to include built-in and custom substitutions as env variables
+     * for all build steps.
+     * 
+ * + * bool automap_substitutions = 22; + * + * @param value The automapSubstitutions to set. + * @return This builder for chaining. + */ + public Builder setAutomapSubstitutions(boolean value) { + + automapSubstitutions_ = value; + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + /** + * + * + *
+     * Option to include built-in and custom substitutions as env variables
+     * for all build steps.
+     * 
+ * + * bool automap_substitutions = 22; + * + * @return This builder for chaining. + */ + public Builder clearAutomapSubstitutions() { + bitField0_ = (bitField0_ & ~0x00000040); + automapSubstitutions_ = false; + onChanged(); + return this; + } + private int logStreamingOption_ = 0; /** * @@ -4062,7 +4159,7 @@ public int getLogStreamingOptionValue() { */ public Builder setLogStreamingOptionValue(int value) { logStreamingOption_ = value; - bitField0_ |= 0x00000040; + bitField0_ |= 0x00000080; onChanged(); return this; } @@ -4108,7 +4205,7 @@ public Builder setLogStreamingOption( if (value == null) { throw new NullPointerException(); } - bitField0_ |= 0x00000040; + bitField0_ |= 0x00000080; logStreamingOption_ = value.getNumber(); onChanged(); return this; @@ -4128,7 +4225,7 @@ public Builder setLogStreamingOption( * @return This builder for chaining. */ public Builder clearLogStreamingOption() { - bitField0_ = (bitField0_ & ~0x00000040); + bitField0_ = (bitField0_ & ~0x00000080); logStreamingOption_ = 0; onChanged(); return this; @@ -4145,7 +4242,7 @@ public Builder clearLogStreamingOption() { * string worker_pool = 7 [deprecated = true]; * * @deprecated google.devtools.cloudbuild.v1.BuildOptions.worker_pool is deprecated. See - * google/devtools/cloudbuild/v1/cloudbuild.proto;l=2252 + * google/devtools/cloudbuild/v1/cloudbuild.proto;l=2266 * @return The workerPool. */ @java.lang.Deprecated @@ -4170,7 +4267,7 @@ public java.lang.String getWorkerPool() { * string worker_pool = 7 [deprecated = true]; * * @deprecated google.devtools.cloudbuild.v1.BuildOptions.worker_pool is deprecated. See - * google/devtools/cloudbuild/v1/cloudbuild.proto;l=2252 + * google/devtools/cloudbuild/v1/cloudbuild.proto;l=2266 * @return The bytes for workerPool. */ @java.lang.Deprecated @@ -4195,7 +4292,7 @@ public com.google.protobuf.ByteString getWorkerPoolBytes() { * string worker_pool = 7 [deprecated = true]; * * @deprecated google.devtools.cloudbuild.v1.BuildOptions.worker_pool is deprecated. See - * google/devtools/cloudbuild/v1/cloudbuild.proto;l=2252 + * google/devtools/cloudbuild/v1/cloudbuild.proto;l=2266 * @param value The workerPool to set. * @return This builder for chaining. */ @@ -4205,7 +4302,7 @@ public Builder setWorkerPool(java.lang.String value) { throw new NullPointerException(); } workerPool_ = value; - bitField0_ |= 0x00000080; + bitField0_ |= 0x00000100; onChanged(); return this; } @@ -4219,13 +4316,13 @@ public Builder setWorkerPool(java.lang.String value) { * string worker_pool = 7 [deprecated = true]; * * @deprecated google.devtools.cloudbuild.v1.BuildOptions.worker_pool is deprecated. See - * google/devtools/cloudbuild/v1/cloudbuild.proto;l=2252 + * google/devtools/cloudbuild/v1/cloudbuild.proto;l=2266 * @return This builder for chaining. */ @java.lang.Deprecated public Builder clearWorkerPool() { workerPool_ = getDefaultInstance().getWorkerPool(); - bitField0_ = (bitField0_ & ~0x00000080); + bitField0_ = (bitField0_ & ~0x00000100); onChanged(); return this; } @@ -4239,7 +4336,7 @@ public Builder clearWorkerPool() { * string worker_pool = 7 [deprecated = true]; * * @deprecated google.devtools.cloudbuild.v1.BuildOptions.worker_pool is deprecated. See - * google/devtools/cloudbuild/v1/cloudbuild.proto;l=2252 + * google/devtools/cloudbuild/v1/cloudbuild.proto;l=2266 * @param value The bytes for workerPool to set. * @return This builder for chaining. */ @@ -4250,7 +4347,7 @@ public Builder setWorkerPoolBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); workerPool_ = value; - bitField0_ |= 0x00000080; + bitField0_ |= 0x00000100; onChanged(); return this; } @@ -4279,7 +4376,7 @@ public Builder setWorkerPoolBytes(com.google.protobuf.ByteString value) { * @return Whether the pool field is set. */ public boolean hasPool() { - return ((bitField0_ & 0x00000100) != 0); + return ((bitField0_ & 0x00000200) != 0); } /** * @@ -4331,7 +4428,7 @@ public Builder setPool(com.google.cloudbuild.v1.BuildOptions.PoolOption value) { } else { poolBuilder_.setMessage(value); } - bitField0_ |= 0x00000100; + bitField0_ |= 0x00000200; onChanged(); return this; } @@ -4357,7 +4454,7 @@ public Builder setPool( } else { poolBuilder_.setMessage(builderForValue.build()); } - bitField0_ |= 0x00000100; + bitField0_ |= 0x00000200; onChanged(); return this; } @@ -4378,7 +4475,7 @@ public Builder setPool( */ public Builder mergePool(com.google.cloudbuild.v1.BuildOptions.PoolOption value) { if (poolBuilder_ == null) { - if (((bitField0_ & 0x00000100) != 0) + if (((bitField0_ & 0x00000200) != 0) && pool_ != null && pool_ != com.google.cloudbuild.v1.BuildOptions.PoolOption.getDefaultInstance()) { getPoolBuilder().mergeFrom(value); @@ -4388,7 +4485,7 @@ public Builder mergePool(com.google.cloudbuild.v1.BuildOptions.PoolOption value) } else { poolBuilder_.mergeFrom(value); } - bitField0_ |= 0x00000100; + bitField0_ |= 0x00000200; onChanged(); return this; } @@ -4408,7 +4505,7 @@ public Builder mergePool(com.google.cloudbuild.v1.BuildOptions.PoolOption value) * */ public Builder clearPool() { - bitField0_ = (bitField0_ & ~0x00000100); + bitField0_ = (bitField0_ & ~0x00000200); pool_ = null; if (poolBuilder_ != null) { poolBuilder_.dispose(); @@ -4433,7 +4530,7 @@ public Builder clearPool() { * */ public com.google.cloudbuild.v1.BuildOptions.PoolOption.Builder getPoolBuilder() { - bitField0_ |= 0x00000100; + bitField0_ |= 0x00000200; onChanged(); return getPoolFieldBuilder().getBuilder(); } @@ -4525,7 +4622,7 @@ public int getLoggingValue() { */ public Builder setLoggingValue(int value) { logging_ = value; - bitField0_ |= 0x00000200; + bitField0_ |= 0x00000400; onChanged(); return this; } @@ -4566,7 +4663,7 @@ public Builder setLogging(com.google.cloudbuild.v1.BuildOptions.LoggingMode valu if (value == null) { throw new NullPointerException(); } - bitField0_ |= 0x00000200; + bitField0_ |= 0x00000400; logging_ = value.getNumber(); onChanged(); return this; @@ -4584,7 +4681,7 @@ public Builder setLogging(com.google.cloudbuild.v1.BuildOptions.LoggingMode valu * @return This builder for chaining. */ public Builder clearLogging() { - bitField0_ = (bitField0_ & ~0x00000200); + bitField0_ = (bitField0_ & ~0x00000400); logging_ = 0; onChanged(); return this; @@ -4597,7 +4694,7 @@ private void ensureEnvIsMutable() { if (!env_.isModifiable()) { env_ = new com.google.protobuf.LazyStringArrayList(env_); } - bitField0_ |= 0x00000400; + bitField0_ |= 0x00000800; } /** * @@ -4702,7 +4799,7 @@ public Builder setEnv(int index, java.lang.String value) { } ensureEnvIsMutable(); env_.set(index, value); - bitField0_ |= 0x00000400; + bitField0_ |= 0x00000800; onChanged(); return this; } @@ -4729,7 +4826,7 @@ public Builder addEnv(java.lang.String value) { } ensureEnvIsMutable(); env_.add(value); - bitField0_ |= 0x00000400; + bitField0_ |= 0x00000800; onChanged(); return this; } @@ -4753,7 +4850,7 @@ public Builder addEnv(java.lang.String value) { public Builder addAllEnv(java.lang.Iterable values) { ensureEnvIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll(values, env_); - bitField0_ |= 0x00000400; + bitField0_ |= 0x00000800; onChanged(); return this; } @@ -4775,7 +4872,7 @@ public Builder addAllEnv(java.lang.Iterable values) { */ public Builder clearEnv() { env_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000400); + bitField0_ = (bitField0_ & ~0x00000800); ; onChanged(); return this; @@ -4804,7 +4901,7 @@ public Builder addEnvBytes(com.google.protobuf.ByteString value) { checkByteStringIsUtf8(value); ensureEnvIsMutable(); env_.add(value); - bitField0_ |= 0x00000400; + bitField0_ |= 0x00000800; onChanged(); return this; } @@ -4816,7 +4913,7 @@ private void ensureSecretEnvIsMutable() { if (!secretEnv_.isModifiable()) { secretEnv_ = new com.google.protobuf.LazyStringArrayList(secretEnv_); } - bitField0_ |= 0x00000800; + bitField0_ |= 0x00001000; } /** * @@ -4911,7 +5008,7 @@ public Builder setSecretEnv(int index, java.lang.String value) { } ensureSecretEnvIsMutable(); secretEnv_.set(index, value); - bitField0_ |= 0x00000800; + bitField0_ |= 0x00001000; onChanged(); return this; } @@ -4936,7 +5033,7 @@ public Builder addSecretEnv(java.lang.String value) { } ensureSecretEnvIsMutable(); secretEnv_.add(value); - bitField0_ |= 0x00000800; + bitField0_ |= 0x00001000; onChanged(); return this; } @@ -4958,7 +5055,7 @@ public Builder addSecretEnv(java.lang.String value) { public Builder addAllSecretEnv(java.lang.Iterable values) { ensureSecretEnvIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll(values, secretEnv_); - bitField0_ |= 0x00000800; + bitField0_ |= 0x00001000; onChanged(); return this; } @@ -4978,7 +5075,7 @@ public Builder addAllSecretEnv(java.lang.Iterable values) { */ public Builder clearSecretEnv() { secretEnv_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000800); + bitField0_ = (bitField0_ & ~0x00001000); ; onChanged(); return this; @@ -5005,7 +5102,7 @@ public Builder addSecretEnvBytes(com.google.protobuf.ByteString value) { checkByteStringIsUtf8(value); ensureSecretEnvIsMutable(); secretEnv_.add(value); - bitField0_ |= 0x00000800; + bitField0_ |= 0x00001000; onChanged(); return this; } @@ -5014,9 +5111,9 @@ public Builder addSecretEnvBytes(com.google.protobuf.ByteString value) { java.util.Collections.emptyList(); private void ensureVolumesIsMutable() { - if (!((bitField0_ & 0x00001000) != 0)) { + if (!((bitField0_ & 0x00002000) != 0)) { volumes_ = new java.util.ArrayList(volumes_); - bitField0_ |= 0x00001000; + bitField0_ |= 0x00002000; } } @@ -5317,7 +5414,7 @@ public Builder addAllVolumes( public Builder clearVolumes() { if (volumesBuilder_ == null) { volumes_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00001000); + bitField0_ = (bitField0_ & ~0x00002000); onChanged(); } else { volumesBuilder_.clear(); @@ -5494,7 +5591,7 @@ public java.util.List getVolumesBuilder com.google.cloudbuild.v1.Volume, com.google.cloudbuild.v1.Volume.Builder, com.google.cloudbuild.v1.VolumeOrBuilder>( - volumes_, ((bitField0_ & 0x00001000) != 0), getParentForChildren(), isClean()); + volumes_, ((bitField0_ & 0x00002000) != 0), getParentForChildren(), isClean()); volumes_ = null; } return volumesBuilder_; @@ -5534,7 +5631,7 @@ public int getDefaultLogsBucketBehaviorValue() { */ public Builder setDefaultLogsBucketBehaviorValue(int value) { defaultLogsBucketBehavior_ = value; - bitField0_ |= 0x00002000; + bitField0_ |= 0x00004000; onChanged(); return this; } @@ -5580,7 +5677,7 @@ public Builder setDefaultLogsBucketBehavior( if (value == null) { throw new NullPointerException(); } - bitField0_ |= 0x00002000; + bitField0_ |= 0x00004000; defaultLogsBucketBehavior_ = value.getNumber(); onChanged(); return this; @@ -5599,7 +5696,7 @@ public Builder setDefaultLogsBucketBehavior( * @return This builder for chaining. */ public Builder clearDefaultLogsBucketBehavior() { - bitField0_ = (bitField0_ & ~0x00002000); + bitField0_ = (bitField0_ & ~0x00004000); defaultLogsBucketBehavior_ = 0; onChanged(); return this; diff --git a/java-cloudbuild/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/BuildOptionsOrBuilder.java b/java-cloudbuild/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/BuildOptionsOrBuilder.java index de6ded8bb260..87296ac2bc6b 100644 --- a/java-cloudbuild/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/BuildOptionsOrBuilder.java +++ b/java-cloudbuild/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/BuildOptionsOrBuilder.java @@ -208,6 +208,20 @@ public interface BuildOptionsOrBuilder */ boolean getDynamicSubstitutions(); + /** + * + * + *
+   * Option to include built-in and custom substitutions as env variables
+   * for all build steps.
+   * 
+ * + * bool automap_substitutions = 22; + * + * @return The automapSubstitutions. + */ + boolean getAutomapSubstitutions(); + /** * * @@ -247,7 +261,7 @@ public interface BuildOptionsOrBuilder * string worker_pool = 7 [deprecated = true]; * * @deprecated google.devtools.cloudbuild.v1.BuildOptions.worker_pool is deprecated. See - * google/devtools/cloudbuild/v1/cloudbuild.proto;l=2252 + * google/devtools/cloudbuild/v1/cloudbuild.proto;l=2266 * @return The workerPool. */ @java.lang.Deprecated @@ -262,7 +276,7 @@ public interface BuildOptionsOrBuilder * string worker_pool = 7 [deprecated = true]; * * @deprecated google.devtools.cloudbuild.v1.BuildOptions.worker_pool is deprecated. See - * google/devtools/cloudbuild/v1/cloudbuild.proto;l=2252 + * google/devtools/cloudbuild/v1/cloudbuild.proto;l=2266 * @return The bytes for workerPool. */ @java.lang.Deprecated diff --git a/java-cloudbuild/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/BuildStep.java b/java-cloudbuild/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/BuildStep.java index d7f204f52a98..cc2aaf1a88e3 100644 --- a/java-cloudbuild/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/BuildStep.java +++ b/java-cloudbuild/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/BuildStep.java @@ -73,6 +73,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { com.google.cloudbuild.v1.BuildStep.Builder.class); } + private int bitField0_; public static final int NAME_FIELD_NUMBER = 1; @SuppressWarnings("serial") @@ -1107,6 +1108,43 @@ public com.google.protobuf.ByteString getScriptBytes() { } } + public static final int AUTOMAP_SUBSTITUTIONS_FIELD_NUMBER = 20; + private boolean automapSubstitutions_ = false; + /** + * + * + *
+   * Option to include built-in and custom substitutions as env variables
+   * for this build step. This option will override the global option
+   * in BuildOption.
+   * 
+ * + * optional bool automap_substitutions = 20; + * + * @return Whether the automapSubstitutions field is set. + */ + @java.lang.Override + public boolean hasAutomapSubstitutions() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+   * Option to include built-in and custom substitutions as env variables
+   * for this build step. This option will override the global option
+   * in BuildOption.
+   * 
+ * + * optional bool automap_substitutions = 20; + * + * @return The automapSubstitutions. + */ + @java.lang.Override + public boolean getAutomapSubstitutions() { + return automapSubstitutions_; + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -1177,6 +1215,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(script_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 19, script_); } + if (((bitField0_ & 0x00000001) != 0)) { + output.writeBool(20, automapSubstitutions_); + } getUnknownFields().writeTo(output); } @@ -1267,6 +1308,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(script_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(19, script_); } + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeBoolSize(20, automapSubstitutions_); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -1308,6 +1352,10 @@ public boolean equals(final java.lang.Object obj) { if (getExitCode() != other.getExitCode()) return false; if (!getAllowExitCodesList().equals(other.getAllowExitCodesList())) return false; if (!getScript().equals(other.getScript())) return false; + if (hasAutomapSubstitutions() != other.hasAutomapSubstitutions()) return false; + if (hasAutomapSubstitutions()) { + if (getAutomapSubstitutions() != other.getAutomapSubstitutions()) return false; + } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1371,6 +1419,10 @@ public int hashCode() { } hash = (37 * hash) + SCRIPT_FIELD_NUMBER; hash = (53 * hash) + getScript().hashCode(); + if (hasAutomapSubstitutions()) { + hash = (37 * hash) + AUTOMAP_SUBSTITUTIONS_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAutomapSubstitutions()); + } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; @@ -1544,6 +1596,7 @@ public Builder clear() { exitCode_ = 0; allowExitCodes_ = emptyIntList(); script_ = ""; + automapSubstitutions_ = false; return this; } @@ -1646,6 +1699,12 @@ private void buildPartial0(com.google.cloudbuild.v1.BuildStep result) { if (((from_bitField0_ & 0x00010000) != 0)) { result.script_ = script_; } + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00020000) != 0)) { + result.automapSubstitutions_ = automapSubstitutions_; + to_bitField0_ |= 0x00000001; + } + result.bitField0_ |= to_bitField0_; } @java.lang.Override @@ -1813,6 +1872,9 @@ public Builder mergeFrom(com.google.cloudbuild.v1.BuildStep other) { bitField0_ |= 0x00010000; onChanged(); } + if (other.hasAutomapSubstitutions()) { + setAutomapSubstitutions(other.getAutomapSubstitutions()); + } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -1963,6 +2025,12 @@ public Builder mergeFrom( bitField0_ |= 0x00010000; break; } // case 154 + case 160: + { + automapSubstitutions_ = input.readBool(); + bitField0_ |= 0x00020000; + break; + } // case 160 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -4925,6 +4993,82 @@ public Builder setScriptBytes(com.google.protobuf.ByteString value) { return this; } + private boolean automapSubstitutions_; + /** + * + * + *
+     * Option to include built-in and custom substitutions as env variables
+     * for this build step. This option will override the global option
+     * in BuildOption.
+     * 
+ * + * optional bool automap_substitutions = 20; + * + * @return Whether the automapSubstitutions field is set. + */ + @java.lang.Override + public boolean hasAutomapSubstitutions() { + return ((bitField0_ & 0x00020000) != 0); + } + /** + * + * + *
+     * Option to include built-in and custom substitutions as env variables
+     * for this build step. This option will override the global option
+     * in BuildOption.
+     * 
+ * + * optional bool automap_substitutions = 20; + * + * @return The automapSubstitutions. + */ + @java.lang.Override + public boolean getAutomapSubstitutions() { + return automapSubstitutions_; + } + /** + * + * + *
+     * Option to include built-in and custom substitutions as env variables
+     * for this build step. This option will override the global option
+     * in BuildOption.
+     * 
+ * + * optional bool automap_substitutions = 20; + * + * @param value The automapSubstitutions to set. + * @return This builder for chaining. + */ + public Builder setAutomapSubstitutions(boolean value) { + + automapSubstitutions_ = value; + bitField0_ |= 0x00020000; + onChanged(); + return this; + } + /** + * + * + *
+     * Option to include built-in and custom substitutions as env variables
+     * for this build step. This option will override the global option
+     * in BuildOption.
+     * 
+ * + * optional bool automap_substitutions = 20; + * + * @return This builder for chaining. + */ + public Builder clearAutomapSubstitutions() { + bitField0_ = (bitField0_ & ~0x00020000); + automapSubstitutions_ = false; + onChanged(); + return this; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/java-cloudbuild/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/BuildStepOrBuilder.java b/java-cloudbuild/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/BuildStepOrBuilder.java index a6ee7cf70e71..db9050b6e03d 100644 --- a/java-cloudbuild/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/BuildStepOrBuilder.java +++ b/java-cloudbuild/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/BuildStepOrBuilder.java @@ -784,4 +784,33 @@ public interface BuildStepOrBuilder * @return The bytes for script. */ com.google.protobuf.ByteString getScriptBytes(); + + /** + * + * + *
+   * Option to include built-in and custom substitutions as env variables
+   * for this build step. This option will override the global option
+   * in BuildOption.
+   * 
+ * + * optional bool automap_substitutions = 20; + * + * @return Whether the automapSubstitutions field is set. + */ + boolean hasAutomapSubstitutions(); + /** + * + * + *
+   * Option to include built-in and custom substitutions as env variables
+   * for this build step. This option will override the global option
+   * in BuildOption.
+   * 
+ * + * optional bool automap_substitutions = 20; + * + * @return The automapSubstitutions. + */ + boolean getAutomapSubstitutions(); } diff --git a/java-cloudbuild/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/Cloudbuild.java b/java-cloudbuild/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/Cloudbuild.java index 5a20d845c763..b25abb7c30d6 100644 --- a/java-cloudbuild/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/Cloudbuild.java +++ b/java-cloudbuild/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/Cloudbuild.java @@ -422,7 +422,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "file_hashes\030\002 \001(\0132).google.devtools.clou" + "dbuild.v1.FileHashes\022B\n\013push_timing\030\003 \001(" + "\0132\'.google.devtools.cloudbuild.v1.TimeSp" - + "anB\004\342A\001\003\"\213\004\n\tBuildStep\022\014\n\004name\030\001 \001(\t\022\013\n\003" + + "anB\004\342A\001\003\"\311\004\n\tBuildStep\022\014\n\004name\030\001 \001(\t\022\013\n\003" + "env\030\002 \003(\t\022\014\n\004args\030\003 \003(\t\022\013\n\003dir\030\004 \001(\t\022\n\n\002" + "id\030\005 \001(\t\022\020\n\010wait_for\030\006 \003(\t\022\022\n\nentrypoint" + "\030\007 \001(\t\022\022\n\nsecret_env\030\010 \003(\t\0226\n\007volumes\030\t " @@ -435,582 +435,586 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "le.devtools.cloudbuild.v1.Build.StatusB\004" + "\342A\001\003\022\025\n\rallow_failure\030\016 \001(\010\022\027\n\texit_code" + "\030\020 \001(\005B\004\342A\001\003\022\030\n\020allow_exit_codes\030\022 \003(\005\022\016" - + "\n\006script\030\023 \001(\t\"$\n\006Volume\022\014\n\004name\030\001 \001(\t\022\014" - + "\n\004path\030\002 \001(\t\"\326\003\n\007Results\0229\n\006images\030\002 \003(\013" - + "2).google.devtools.cloudbuild.v1.BuiltIm" - + "age\022\031\n\021build_step_images\030\003 \003(\t\022\031\n\021artifa" - + "ct_manifest\030\004 \001(\t\022\025\n\rnum_artifacts\030\005 \001(\003" - + "\022\032\n\022build_step_outputs\030\006 \003(\014\022@\n\017artifact" - + "_timing\030\007 \001(\0132\'.google.devtools.cloudbui" - + "ld.v1.TimeSpan\022M\n\017python_packages\030\010 \003(\0132" - + "4.google.devtools.cloudbuild.v1.Uploaded" - + "PythonPackage\022M\n\017maven_artifacts\030\t \003(\01324" - + ".google.devtools.cloudbuild.v1.UploadedM" - + "avenArtifact\022G\n\014npm_packages\030\014 \003(\01321.goo" - + "gle.devtools.cloudbuild.v1.UploadedNpmPa" - + "ckage\"`\n\016ArtifactResult\022\020\n\010location\030\001 \001(" - + "\t\022<\n\tfile_hash\030\002 \003(\0132).google.devtools.c" - + "loudbuild.v1.FileHashes\"\260\022\n\005Build\022\022\n\004nam" - + "e\030- \001(\tB\004\342A\001\003\022\020\n\002id\030\001 \001(\tB\004\342A\001\003\022\030\n\nproje" - + "ct_id\030\020 \001(\tB\004\342A\001\003\022A\n\006status\030\002 \001(\0162+.goog" - + "le.devtools.cloudbuild.v1.Build.StatusB\004" - + "\342A\001\003\022\033\n\rstatus_detail\030\030 \001(\tB\004\342A\001\003\0225\n\006sou" - + "rce\030\003 \001(\0132%.google.devtools.cloudbuild.v" - + "1.Source\0227\n\005steps\030\013 \003(\0132(.google.devtool" - + "s.cloudbuild.v1.BuildStep\022=\n\007results\030\n \001" - + "(\0132&.google.devtools.cloudbuild.v1.Resul" - + "tsB\004\342A\001\003\0225\n\013create_time\030\006 \001(\0132\032.google.p" - + "rotobuf.TimestampB\004\342A\001\003\0224\n\nstart_time\030\007 " - + "\001(\0132\032.google.protobuf.TimestampB\004\342A\001\003\0225\n" - + "\013finish_time\030\010 \001(\0132\032.google.protobuf.Tim" - + "estampB\004\342A\001\003\022*\n\007timeout\030\014 \001(\0132\031.google.p" - + "rotobuf.Duration\022\016\n\006images\030\r \003(\t\022,\n\tqueu" - + "e_ttl\030( \001(\0132\031.google.protobuf.Duration\022;" - + "\n\tartifacts\030% \001(\0132(.google.devtools.clou" - + "dbuild.v1.Artifacts\022\023\n\013logs_bucket\030\023 \001(\t" - + "\022P\n\021source_provenance\030\025 \001(\0132/.google.dev" - + "tools.cloudbuild.v1.SourceProvenanceB\004\342A" - + "\001\003\022\036\n\020build_trigger_id\030\026 \001(\tB\004\342A\001\003\022<\n\007op" - + "tions\030\027 \001(\0132+.google.devtools.cloudbuild" - + ".v1.BuildOptions\022\025\n\007log_url\030\031 \001(\tB\004\342A\001\003\022" - + "N\n\rsubstitutions\030\035 \003(\01327.google.devtools" - + ".cloudbuild.v1.Build.SubstitutionsEntry\022" - + "\014\n\004tags\030\037 \003(\t\0226\n\007secrets\030 \003(\0132%.google." - + "devtools.cloudbuild.v1.Secret\022F\n\006timing\030" - + "! \003(\01320.google.devtools.cloudbuild.v1.Bu" - + "ild.TimingEntryB\004\342A\001\003\022D\n\010approval\030, \001(\0132" - + ",.google.devtools.cloudbuild.v1.BuildApp" - + "rovalB\004\342A\001\003\022?\n\017service_account\030* \001(\tB&\372A" - + "#\n!iam.googleapis.com/ServiceAccount\022A\n\021" - + "available_secrets\030/ \001(\0132&.google.devtool" - + "s.cloudbuild.v1.Secrets\022D\n\010warnings\0301 \003(" - + "\0132,.google.devtools.cloudbuild.v1.Build." - + "WarningB\004\342A\001\003\022L\n\014failure_info\0303 \001(\01320.go" - + "ogle.devtools.cloudbuild.v1.Build.Failur" - + "eInfoB\004\342A\001\003\032\250\001\n\007Warning\022\014\n\004text\030\001 \001(\t\022G\n" - + "\010priority\030\002 \001(\01625.google.devtools.cloudb" - + "uild.v1.Build.Warning.Priority\"F\n\010Priori" - + "ty\022\030\n\024PRIORITY_UNSPECIFIED\020\000\022\010\n\004INFO\020\001\022\013" - + "\n\007WARNING\020\002\022\t\n\005ALERT\020\003\032\236\002\n\013FailureInfo\022J" - + "\n\004type\030\001 \001(\0162<.google.devtools.cloudbuil" - + "d.v1.Build.FailureInfo.FailureType\022\016\n\006de" - + "tail\030\002 \001(\t\"\262\001\n\013FailureType\022\034\n\030FAILURE_TY" - + "PE_UNSPECIFIED\020\000\022\017\n\013PUSH_FAILED\020\001\022\030\n\024PUS" - + "H_IMAGE_NOT_FOUND\020\002\022\027\n\023PUSH_NOT_AUTHORIZ" - + "ED\020\003\022\023\n\017LOGGING_FAILURE\020\004\022\023\n\017USER_BUILD_" - + "STEP\020\005\022\027\n\023FETCH_SOURCE_FAILED\020\006\0324\n\022Subst" - + "itutionsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(" - + "\t:\0028\001\032V\n\013TimingEntry\022\013\n\003key\030\001 \001(\t\0226\n\005val" - + "ue\030\002 \001(\0132\'.google.devtools.cloudbuild.v1" - + ".TimeSpan:\0028\001\"\231\001\n\006Status\022\022\n\016STATUS_UNKNO" - + "WN\020\000\022\013\n\007PENDING\020\n\022\n\n\006QUEUED\020\001\022\013\n\007WORKING" - + "\020\002\022\013\n\007SUCCESS\020\003\022\013\n\007FAILURE\020\004\022\022\n\016INTERNAL" - + "_ERROR\020\005\022\013\n\007TIMEOUT\020\006\022\r\n\tCANCELLED\020\007\022\013\n\007" - + "EXPIRED\020\t:\177\352A|\n\037cloudbuild.googleapis.co" - + "m/Build\022!projects/{project}/builds/{buil" - + "d}\0226projects/{project}/locations/{locati" - + "on}/builds/{build}\"\235\005\n\tArtifacts\022\016\n\006imag" - + "es\030\001 \003(\t\022I\n\007objects\030\002 \001(\01328.google.devto" - + "ols.cloudbuild.v1.Artifacts.ArtifactObje" - + "cts\022O\n\017maven_artifacts\030\003 \003(\01326.google.de" - + "vtools.cloudbuild.v1.Artifacts.MavenArti" - + "fact\022O\n\017python_packages\030\005 \003(\01326.google.d" - + "evtools.cloudbuild.v1.Artifacts.PythonPa" - + "ckage\022I\n\014npm_packages\030\006 \003(\01323.google.dev" - + "tools.cloudbuild.v1.Artifacts.NpmPackage" - + "\032q\n\017ArtifactObjects\022\020\n\010location\030\001 \001(\t\022\r\n" - + "\005paths\030\002 \003(\t\022=\n\006timing\030\003 \001(\0132\'.google.de" - + "vtools.cloudbuild.v1.TimeSpanB\004\342A\001\003\032i\n\rM" - + "avenArtifact\022\022\n\nrepository\030\001 \001(\t\022\014\n\004path" - + "\030\002 \001(\t\022\023\n\013artifact_id\030\003 \001(\t\022\020\n\010group_id\030" - + "\004 \001(\t\022\017\n\007version\030\005 \001(\t\0322\n\rPythonPackage\022" - + "\022\n\nrepository\030\001 \001(\t\022\r\n\005paths\030\002 \003(\t\0326\n\nNp" - + "mPackage\022\022\n\nrepository\030\001 \001(\t\022\024\n\014package_" - + "path\030\002 \001(\t\"h\n\010TimeSpan\022.\n\nstart_time\030\001 \001" - + "(\0132\032.google.protobuf.Timestamp\022,\n\010end_ti" - + "me\030\002 \001(\0132\032.google.protobuf.Timestamp\"M\n\026" - + "BuildOperationMetadata\0223\n\005build\030\001 \001(\0132$." - + "google.devtools.cloudbuild.v1.Build\"\304\003\n\020" - + "SourceProvenance\022M\n\027resolved_storage_sou" - + "rce\030\003 \001(\0132,.google.devtools.cloudbuild.v" - + "1.StorageSource\022G\n\024resolved_repo_source\030" - + "\006 \001(\0132).google.devtools.cloudbuild.v1.Re" - + "poSource\022^\n resolved_storage_source_mani" - + "fest\030\t \001(\01324.google.devtools.cloudbuild." - + "v1.StorageSourceManifest\022Z\n\013file_hashes\030" - + "\004 \003(\0132?.google.devtools.cloudbuild.v1.So" - + "urceProvenance.FileHashesEntryB\004\342A\001\003\032\\\n\017" - + "FileHashesEntry\022\013\n\003key\030\001 \001(\t\0228\n\005value\030\002 " - + "\001(\0132).google.devtools.cloudbuild.v1.File" - + "Hashes:\0028\001\"D\n\nFileHashes\0226\n\tfile_hash\030\001 " - + "\003(\0132#.google.devtools.cloudbuild.v1.Hash" - + "\"\210\001\n\004Hash\022:\n\004type\030\001 \001(\0162,.google.devtool" - + "s.cloudbuild.v1.Hash.HashType\022\r\n\005value\030\002" - + " \001(\014\"5\n\010HashType\022\010\n\004NONE\020\000\022\n\n\006SHA256\020\001\022\007" - + "\n\003MD5\020\002\022\n\n\006SHA512\020\004\"\222\001\n\007Secrets\022J\n\016secre" - + "t_manager\030\001 \003(\01322.google.devtools.cloudb" - + "uild.v1.SecretManagerSecret\022;\n\006inline\030\002 " - + "\003(\0132+.google.devtools.cloudbuild.v1.Inli" - + "neSecret\"\305\001\n\014InlineSecret\022<\n\014kms_key_nam" - + "e\030\001 \001(\tB&\372A#\n!cloudkms.googleapis.com/Cr" - + "yptoKey\022H\n\007env_map\030\002 \003(\01327.google.devtoo" - + "ls.cloudbuild.v1.InlineSecret.EnvMapEntr" - + "y\032-\n\013EnvMapEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002" - + " \001(\014:\0028\001\"i\n\023SecretManagerSecret\022E\n\014versi" - + "on_name\030\001 \001(\tB/\372A,\n*secretmanager.google" - + "apis.com/SecretVersion\022\013\n\003env\030\002 \001(\t\"\232\001\n\006" - + "Secret\022\024\n\014kms_key_name\030\001 \001(\t\022H\n\nsecret_e" - + "nv\030\003 \003(\01324.google.devtools.cloudbuild.v1" - + ".Secret.SecretEnvEntry\0320\n\016SecretEnvEntry" - + "\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\014:\0028\001\"\237\001\n\022Cre" - + "ateBuildRequest\0224\n\006parent\030\004 \001(\tB$\372A!\022\037cl" - + "oudbuild.googleapis.com/Build\022\030\n\nproject" - + "_id\030\001 \001(\tB\004\342A\001\002\0229\n\005build\030\002 \001(\0132$.google." - + "devtools.cloudbuild.v1.BuildB\004\342A\001\002\"q\n\017Ge" - + "tBuildRequest\0222\n\004name\030\004 \001(\tB$\372A!\n\037cloudb" - + "uild.googleapis.com/Build\022\030\n\nproject_id\030" - + "\001 \001(\tB\004\342A\001\002\022\020\n\002id\030\002 \001(\tB\004\342A\001\002\"\232\001\n\021ListBu" - + "ildsRequest\0224\n\006parent\030\t \001(\tB$\372A!\022\037cloudb" - + "uild.googleapis.com/Build\022\030\n\nproject_id\030" + + "\n\006script\030\023 \001(\t\022\"\n\025automap_substitutions\030" + + "\024 \001(\010H\000\210\001\001B\030\n\026_automap_substitutions\"$\n\006" + + "Volume\022\014\n\004name\030\001 \001(\t\022\014\n\004path\030\002 \001(\t\"\326\003\n\007R" + + "esults\0229\n\006images\030\002 \003(\0132).google.devtools" + + ".cloudbuild.v1.BuiltImage\022\031\n\021build_step_" + + "images\030\003 \003(\t\022\031\n\021artifact_manifest\030\004 \001(\t\022" + + "\025\n\rnum_artifacts\030\005 \001(\003\022\032\n\022build_step_out" + + "puts\030\006 \003(\014\022@\n\017artifact_timing\030\007 \001(\0132\'.go" + + "ogle.devtools.cloudbuild.v1.TimeSpan\022M\n\017" + + "python_packages\030\010 \003(\01324.google.devtools." + + "cloudbuild.v1.UploadedPythonPackage\022M\n\017m" + + "aven_artifacts\030\t \003(\01324.google.devtools.c" + + "loudbuild.v1.UploadedMavenArtifact\022G\n\014np" + + "m_packages\030\014 \003(\01321.google.devtools.cloud" + + "build.v1.UploadedNpmPackage\"`\n\016ArtifactR" + + "esult\022\020\n\010location\030\001 \001(\t\022<\n\tfile_hash\030\002 \003" + + "(\0132).google.devtools.cloudbuild.v1.FileH" + + "ashes\"\260\022\n\005Build\022\022\n\004name\030- \001(\tB\004\342A\001\003\022\020\n\002i" + + "d\030\001 \001(\tB\004\342A\001\003\022\030\n\nproject_id\030\020 \001(\tB\004\342A\001\003\022" + + "A\n\006status\030\002 \001(\0162+.google.devtools.cloudb" + + "uild.v1.Build.StatusB\004\342A\001\003\022\033\n\rstatus_det" + + "ail\030\030 \001(\tB\004\342A\001\003\0225\n\006source\030\003 \001(\0132%.google" + + ".devtools.cloudbuild.v1.Source\0227\n\005steps\030" + + "\013 \003(\0132(.google.devtools.cloudbuild.v1.Bu" + + "ildStep\022=\n\007results\030\n \001(\0132&.google.devtoo" + + "ls.cloudbuild.v1.ResultsB\004\342A\001\003\0225\n\013create" + + "_time\030\006 \001(\0132\032.google.protobuf.TimestampB" + + "\004\342A\001\003\0224\n\nstart_time\030\007 \001(\0132\032.google.proto" + + "buf.TimestampB\004\342A\001\003\0225\n\013finish_time\030\010 \001(\013" + + "2\032.google.protobuf.TimestampB\004\342A\001\003\022*\n\007ti" + + "meout\030\014 \001(\0132\031.google.protobuf.Duration\022\016" + + "\n\006images\030\r \003(\t\022,\n\tqueue_ttl\030( \001(\0132\031.goog" + + "le.protobuf.Duration\022;\n\tartifacts\030% \001(\0132" + + "(.google.devtools.cloudbuild.v1.Artifact" + + "s\022\023\n\013logs_bucket\030\023 \001(\t\022P\n\021source_provena" + + "nce\030\025 \001(\0132/.google.devtools.cloudbuild.v" + + "1.SourceProvenanceB\004\342A\001\003\022\036\n\020build_trigge" + + "r_id\030\026 \001(\tB\004\342A\001\003\022<\n\007options\030\027 \001(\0132+.goog" + + "le.devtools.cloudbuild.v1.BuildOptions\022\025" + + "\n\007log_url\030\031 \001(\tB\004\342A\001\003\022N\n\rsubstitutions\030\035" + + " \003(\01327.google.devtools.cloudbuild.v1.Bui" + + "ld.SubstitutionsEntry\022\014\n\004tags\030\037 \003(\t\0226\n\007s" + + "ecrets\030 \003(\0132%.google.devtools.cloudbuil" + + "d.v1.Secret\022F\n\006timing\030! \003(\01320.google.dev" + + "tools.cloudbuild.v1.Build.TimingEntryB\004\342" + + "A\001\003\022D\n\010approval\030, \001(\0132,.google.devtools." + + "cloudbuild.v1.BuildApprovalB\004\342A\001\003\022?\n\017ser" + + "vice_account\030* \001(\tB&\372A#\n!iam.googleapis." + + "com/ServiceAccount\022A\n\021available_secrets\030" + + "/ \001(\0132&.google.devtools.cloudbuild.v1.Se" + + "crets\022D\n\010warnings\0301 \003(\0132,.google.devtool" + + "s.cloudbuild.v1.Build.WarningB\004\342A\001\003\022L\n\014f" + + "ailure_info\0303 \001(\01320.google.devtools.clou" + + "dbuild.v1.Build.FailureInfoB\004\342A\001\003\032\250\001\n\007Wa" + + "rning\022\014\n\004text\030\001 \001(\t\022G\n\010priority\030\002 \001(\01625." + + "google.devtools.cloudbuild.v1.Build.Warn" + + "ing.Priority\"F\n\010Priority\022\030\n\024PRIORITY_UNS" + + "PECIFIED\020\000\022\010\n\004INFO\020\001\022\013\n\007WARNING\020\002\022\t\n\005ALE" + + "RT\020\003\032\236\002\n\013FailureInfo\022J\n\004type\030\001 \001(\0162<.goo" + + "gle.devtools.cloudbuild.v1.Build.Failure" + + "Info.FailureType\022\016\n\006detail\030\002 \001(\t\"\262\001\n\013Fai" + + "lureType\022\034\n\030FAILURE_TYPE_UNSPECIFIED\020\000\022\017" + + "\n\013PUSH_FAILED\020\001\022\030\n\024PUSH_IMAGE_NOT_FOUND\020" + + "\002\022\027\n\023PUSH_NOT_AUTHORIZED\020\003\022\023\n\017LOGGING_FA" + + "ILURE\020\004\022\023\n\017USER_BUILD_STEP\020\005\022\027\n\023FETCH_SO" + + "URCE_FAILED\020\006\0324\n\022SubstitutionsEntry\022\013\n\003k" + + "ey\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\032V\n\013TimingEnt" + + "ry\022\013\n\003key\030\001 \001(\t\0226\n\005value\030\002 \001(\0132\'.google." + + "devtools.cloudbuild.v1.TimeSpan:\0028\001\"\231\001\n\006" + + "Status\022\022\n\016STATUS_UNKNOWN\020\000\022\013\n\007PENDING\020\n\022" + + "\n\n\006QUEUED\020\001\022\013\n\007WORKING\020\002\022\013\n\007SUCCESS\020\003\022\013\n" + + "\007FAILURE\020\004\022\022\n\016INTERNAL_ERROR\020\005\022\013\n\007TIMEOU" + + "T\020\006\022\r\n\tCANCELLED\020\007\022\013\n\007EXPIRED\020\t:\177\352A|\n\037cl" + + "oudbuild.googleapis.com/Build\022!projects/" + + "{project}/builds/{build}\0226projects/{proj" + + "ect}/locations/{location}/builds/{build}" + + "\"\235\005\n\tArtifacts\022\016\n\006images\030\001 \003(\t\022I\n\007object" + + "s\030\002 \001(\01328.google.devtools.cloudbuild.v1." + + "Artifacts.ArtifactObjects\022O\n\017maven_artif" + + "acts\030\003 \003(\01326.google.devtools.cloudbuild." + + "v1.Artifacts.MavenArtifact\022O\n\017python_pac" + + "kages\030\005 \003(\01326.google.devtools.cloudbuild" + + ".v1.Artifacts.PythonPackage\022I\n\014npm_packa" + + "ges\030\006 \003(\01323.google.devtools.cloudbuild.v" + + "1.Artifacts.NpmPackage\032q\n\017ArtifactObject" + + "s\022\020\n\010location\030\001 \001(\t\022\r\n\005paths\030\002 \003(\t\022=\n\006ti" + + "ming\030\003 \001(\0132\'.google.devtools.cloudbuild." + + "v1.TimeSpanB\004\342A\001\003\032i\n\rMavenArtifact\022\022\n\nre" + + "pository\030\001 \001(\t\022\014\n\004path\030\002 \001(\t\022\023\n\013artifact" + + "_id\030\003 \001(\t\022\020\n\010group_id\030\004 \001(\t\022\017\n\007version\030\005" + + " \001(\t\0322\n\rPythonPackage\022\022\n\nrepository\030\001 \001(" + + "\t\022\r\n\005paths\030\002 \003(\t\0326\n\nNpmPackage\022\022\n\nreposi" + + "tory\030\001 \001(\t\022\024\n\014package_path\030\002 \001(\t\"h\n\010Time" + + "Span\022.\n\nstart_time\030\001 \001(\0132\032.google.protob" + + "uf.Timestamp\022,\n\010end_time\030\002 \001(\0132\032.google." + + "protobuf.Timestamp\"M\n\026BuildOperationMeta" + + "data\0223\n\005build\030\001 \001(\0132$.google.devtools.cl" + + "oudbuild.v1.Build\"\304\003\n\020SourceProvenance\022M" + + "\n\027resolved_storage_source\030\003 \001(\0132,.google" + + ".devtools.cloudbuild.v1.StorageSource\022G\n" + + "\024resolved_repo_source\030\006 \001(\0132).google.dev" + + "tools.cloudbuild.v1.RepoSource\022^\n resolv" + + "ed_storage_source_manifest\030\t \001(\01324.googl" + + "e.devtools.cloudbuild.v1.StorageSourceMa" + + "nifest\022Z\n\013file_hashes\030\004 \003(\0132?.google.dev" + + "tools.cloudbuild.v1.SourceProvenance.Fil" + + "eHashesEntryB\004\342A\001\003\032\\\n\017FileHashesEntry\022\013\n" + + "\003key\030\001 \001(\t\0228\n\005value\030\002 \001(\0132).google.devto" + + "ols.cloudbuild.v1.FileHashes:\0028\001\"D\n\nFile" + + "Hashes\0226\n\tfile_hash\030\001 \003(\0132#.google.devto" + + "ols.cloudbuild.v1.Hash\"\210\001\n\004Hash\022:\n\004type\030" + + "\001 \001(\0162,.google.devtools.cloudbuild.v1.Ha" + + "sh.HashType\022\r\n\005value\030\002 \001(\014\"5\n\010HashType\022\010" + + "\n\004NONE\020\000\022\n\n\006SHA256\020\001\022\007\n\003MD5\020\002\022\n\n\006SHA512\020" + + "\004\"\222\001\n\007Secrets\022J\n\016secret_manager\030\001 \003(\01322." + + "google.devtools.cloudbuild.v1.SecretMana" + + "gerSecret\022;\n\006inline\030\002 \003(\0132+.google.devto" + + "ols.cloudbuild.v1.InlineSecret\"\305\001\n\014Inlin" + + "eSecret\022<\n\014kms_key_name\030\001 \001(\tB&\372A#\n!clou" + + "dkms.googleapis.com/CryptoKey\022H\n\007env_map" + + "\030\002 \003(\01327.google.devtools.cloudbuild.v1.I" + + "nlineSecret.EnvMapEntry\032-\n\013EnvMapEntry\022\013" + + "\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\014:\0028\001\"i\n\023Secret" + + "ManagerSecret\022E\n\014version_name\030\001 \001(\tB/\372A," + + "\n*secretmanager.googleapis.com/SecretVer" + + "sion\022\013\n\003env\030\002 \001(\t\"\232\001\n\006Secret\022\024\n\014kms_key_" + + "name\030\001 \001(\t\022H\n\nsecret_env\030\003 \003(\01324.google." + + "devtools.cloudbuild.v1.Secret.SecretEnvE" + + "ntry\0320\n\016SecretEnvEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005v" + + "alue\030\002 \001(\014:\0028\001\"\237\001\n\022CreateBuildRequest\0224\n" + + "\006parent\030\004 \001(\tB$\372A!\022\037cloudbuild.googleapi" + + "s.com/Build\022\030\n\nproject_id\030\001 \001(\tB\004\342A\001\002\0229\n" + + "\005build\030\002 \001(\0132$.google.devtools.cloudbuil" + + "d.v1.BuildB\004\342A\001\002\"q\n\017GetBuildRequest\0222\n\004n" + + "ame\030\004 \001(\tB$\372A!\n\037cloudbuild.googleapis.co" + + "m/Build\022\030\n\nproject_id\030\001 \001(\tB\004\342A\001\002\022\020\n\002id\030" + + "\002 \001(\tB\004\342A\001\002\"\232\001\n\021ListBuildsRequest\0224\n\006par" + + "ent\030\t \001(\tB$\372A!\022\037cloudbuild.googleapis.co" + + "m/Build\022\030\n\nproject_id\030\001 \001(\tB\004\342A\001\002\022\021\n\tpag" + + "e_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022\016\n\006filt" + + "er\030\010 \001(\t\"c\n\022ListBuildsResponse\0224\n\006builds" + + "\030\001 \003(\0132$.google.devtools.cloudbuild.v1.B" + + "uild\022\027\n\017next_page_token\030\002 \001(\t\"t\n\022CancelB" + + "uildRequest\0222\n\004name\030\004 \001(\tB$\372A!\n\037cloudbui" + + "ld.googleapis.com/Build\022\030\n\nproject_id\030\001 " + + "\001(\tB\004\342A\001\002\022\020\n\002id\030\002 \001(\tB\004\342A\001\002\"q\n\023ApproveBu" + + "ildRequest\022\022\n\004name\030\001 \001(\tB\004\342A\001\002\022F\n\017approv" + + "al_result\030\002 \001(\0132-.google.devtools.cloudb" + + "uild.v1.ApprovalResult\"\272\002\n\rBuildApproval" + + "\022G\n\005state\030\001 \001(\01622.google.devtools.cloudb" + + "uild.v1.BuildApproval.StateB\004\342A\001\003\022C\n\006con" + + "fig\030\002 \001(\0132-.google.devtools.cloudbuild.v" + + "1.ApprovalConfigB\004\342A\001\003\022C\n\006result\030\003 \001(\0132-" + + ".google.devtools.cloudbuild.v1.ApprovalR" + + "esultB\004\342A\001\003\"V\n\005State\022\025\n\021STATE_UNSPECIFIE" + + "D\020\000\022\013\n\007PENDING\020\001\022\014\n\010APPROVED\020\002\022\014\n\010REJECT" + + "ED\020\003\022\r\n\tCANCELLED\020\005\"+\n\016ApprovalConfig\022\031\n" + + "\021approval_required\030\001 \001(\010\"\245\002\n\016ApprovalRes" + + "ult\022\036\n\020approver_account\030\002 \001(\tB\004\342A\001\003\0227\n\ra" + + "pproval_time\030\003 \001(\0132\032.google.protobuf.Tim" + + "estampB\004\342A\001\003\022N\n\010decision\030\004 \001(\01626.google." + + "devtools.cloudbuild.v1.ApprovalResult.De" + + "cisionB\004\342A\001\002\022\025\n\007comment\030\005 \001(\tB\004\342A\001\001\022\021\n\003u" + + "rl\030\006 \001(\tB\004\342A\001\001\"@\n\010Decision\022\030\n\024DECISION_U" + + "NSPECIFIED\020\000\022\014\n\010APPROVED\020\001\022\014\n\010REJECTED\020\002" + + "\"\256\002\n\rGitRepoSource\022\013\n\003uri\030\001 \001(\t\022?\n\nrepos" + + "itory\030\006 \001(\tB)\372A&\n$cloudbuild.googleapis." + + "com/RepositoryH\000\022\013\n\003ref\030\002 \001(\t\022H\n\trepo_ty" + + "pe\030\003 \001(\01625.google.devtools.cloudbuild.v1" + + ".GitFileSource.RepoType\022Y\n\030github_enterp" + + "rise_config\030\004 \001(\tB5\372A2\n0cloudbuild.googl" + + "eapis.com/GithubEnterpriseConfigH\001B\010\n\006so" + + "urceB\023\n\021enterprise_config\"\247\003\n\rGitFileSou" + + "rce\022\014\n\004path\030\001 \001(\t\022\013\n\003uri\030\002 \001(\t\022?\n\nreposi" + + "tory\030\007 \001(\tB)\372A&\n$cloudbuild.googleapis.c" + + "om/RepositoryH\000\022H\n\trepo_type\030\003 \001(\01625.goo" + + "gle.devtools.cloudbuild.v1.GitFileSource" + + ".RepoType\022\020\n\010revision\030\004 \001(\t\022Y\n\030github_en" + + "terprise_config\030\005 \001(\tB5\372A2\n0cloudbuild.g" + + "oogleapis.com/GithubEnterpriseConfigH\001\"d" + + "\n\010RepoType\022\013\n\007UNKNOWN\020\000\022\035\n\031CLOUD_SOURCE_" + + "REPOSITORIES\020\001\022\n\n\006GITHUB\020\002\022\024\n\020BITBUCKET_" + + "SERVER\020\003\022\n\n\006GITLAB\020\004B\010\n\006sourceB\023\n\021enterp" + + "rise_config\"\325\t\n\014BuildTrigger\022\025\n\rresource" + + "_name\030\" \001(\t\022\020\n\002id\030\001 \001(\tB\004\342A\001\003\022\023\n\013descrip" + + "tion\030\n \001(\t\022\014\n\004name\030\025 \001(\t\022\014\n\004tags\030\023 \003(\t\022C" + + "\n\020trigger_template\030\007 \001(\0132).google.devtoo" + + "ls.cloudbuild.v1.RepoSource\022A\n\006github\030\r " + + "\001(\01321.google.devtools.cloudbuild.v1.GitH" + + "ubEventsConfig\022B\n\rpubsub_config\030\035 \001(\0132+." + + "google.devtools.cloudbuild.v1.PubsubConf" + + "ig\022D\n\016webhook_config\030\037 \001(\0132,.google.devt" + + "ools.cloudbuild.v1.WebhookConfig\022\024\n\nauto" + + "detect\030\022 \001(\010H\000\0225\n\005build\030\004 \001(\0132$.google.d" + + "evtools.cloudbuild.v1.BuildH\000\022\022\n\010filenam" + + "e\030\010 \001(\tH\000\022G\n\017git_file_source\030\030 \001(\0132,.goo" + + "gle.devtools.cloudbuild.v1.GitFileSource" + + "H\000\0225\n\013create_time\030\005 \001(\0132\032.google.protobu" + + "f.TimestampB\004\342A\001\003\022\020\n\010disabled\030\t \001(\010\022U\n\rs" + + "ubstitutions\030\013 \003(\0132>.google.devtools.clo" + + "udbuild.v1.BuildTrigger.SubstitutionsEnt" + + "ry\022\025\n\rignored_files\030\017 \003(\t\022\026\n\016included_fi" + + "les\030\020 \003(\t\022\024\n\006filter\030\036 \001(\tB\004\342A\001\001\022E\n\017sourc" + + "e_to_build\030\032 \001(\0132,.google.devtools.cloud" + + "build.v1.GitRepoSource\022?\n\017service_accoun" + + "t\030! \001(\tB&\372A#\n!iam.googleapis.com/Service" + + "Account\022U\n\027repository_event_config\030\' \001(\013" + + "24.google.devtools.cloudbuild.v1.Reposit" + + "oryEventConfig\0324\n\022SubstitutionsEntry\022\013\n\003" + + "key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001:\242\001\352A\236\001\n&clo" + + "udbuild.googleapis.com/BuildTrigger\022%pro" + + "jects/{project}/triggers/{trigger}\022:proj" + + "ects/{project}/locations/{location}/trig" + + "gers/{trigger}*\010triggers2\007triggerB\020\n\016bui" + + "ld_template\"\266\003\n\025RepositoryEventConfig\022=\n" + + "\nrepository\030\001 \001(\tB)\372A&\n$cloudbuild.googl" + + "eapis.com/Repository\022b\n\017repository_type\030" + + "\002 \001(\0162C.google.devtools.cloudbuild.v1.Re" + + "positoryEventConfig.RepositoryTypeB\004\342A\001\003" + + "\022H\n\014pull_request\030\003 \001(\01320.google.devtools" + + ".cloudbuild.v1.PullRequestFilterH\000\0229\n\004pu" + + "sh\030\004 \001(\0132).google.devtools.cloudbuild.v1" + + ".PushFilterH\000\"k\n\016RepositoryType\022\037\n\033REPOS" + + "ITORY_TYPE_UNSPECIFIED\020\000\022\n\n\006GITHUB\020\001\022\025\n\021" + + "GITHUB_ENTERPRISE\020\002\022\025\n\021GITLAB_ENTERPRISE" + + "\020\003B\010\n\006filter\"\334\001\n\022GitHubEventsConfig\022\033\n\017i" + + "nstallation_id\030\001 \001(\003B\002\030\001\022\r\n\005owner\030\006 \001(\t\022" + + "\014\n\004name\030\007 \001(\t\022H\n\014pull_request\030\004 \001(\01320.go" + + "ogle.devtools.cloudbuild.v1.PullRequestF" + + "ilterH\000\0229\n\004push\030\005 \001(\0132).google.devtools." + + "cloudbuild.v1.PushFilterH\000B\007\n\005event\"\200\003\n\014" + + "PubsubConfig\022A\n\014subscription\030\001 \001(\tB+\342A\001\003" + + "\372A$\n\"pubsub.googleapis.com/Subscription\022" + + "/\n\005topic\030\002 \001(\tB \372A\035\n\033pubsub.googleapis.c" + + "om/Topic\022E\n\025service_account_email\030\003 \001(\tB" + + "&\372A#\n!iam.googleapis.com/ServiceAccount\022" + + "@\n\005state\030\004 \001(\01621.google.devtools.cloudbu" + + "ild.v1.PubsubConfig.State\"s\n\005State\022\025\n\021ST" + + "ATE_UNSPECIFIED\020\000\022\006\n\002OK\020\001\022\030\n\024SUBSCRIPTIO" + + "N_DELETED\020\002\022\021\n\rTOPIC_DELETED\020\003\022\036\n\032SUBSCR" + + "IPTION_MISCONFIGURED\020\004\"\344\001\n\rWebhookConfig" + + "\022E\n\006secret\030\003 \001(\tB3\342A\001\002\372A,\n*secretmanager" + + ".googleapis.com/SecretVersionH\000\022A\n\005state" + + "\030\004 \001(\01622.google.devtools.cloudbuild.v1.W" + + "ebhookConfig.State\":\n\005State\022\025\n\021STATE_UNS" + + "PECIFIED\020\000\022\006\n\002OK\020\001\022\022\n\016SECRET_DELETED\020\002B\r" + + "\n\013auth_method\"\224\002\n\021PullRequestFilter\022\020\n\006b" + + "ranch\030\002 \001(\tH\000\022X\n\017comment_control\030\005 \001(\0162?" + + ".google.devtools.cloudbuild.v1.PullReque" + + "stFilter.CommentControl\022\024\n\014invert_regex\030" + + "\006 \001(\010\"r\n\016CommentControl\022\025\n\021COMMENTS_DISA" + + "BLED\020\000\022\024\n\020COMMENTS_ENABLED\020\001\0223\n/COMMENTS" + + "_ENABLED_FOR_EXTERNAL_CONTRIBUTORS_ONLY\020" + + "\002B\t\n\007git_ref\"N\n\nPushFilter\022\020\n\006branch\030\002 \001" + + "(\tH\000\022\r\n\003tag\030\003 \001(\tH\000\022\024\n\014invert_regex\030\004 \001(" + + "\010B\t\n\007git_ref\"\266\001\n\031CreateBuildTriggerReque" + + "st\022;\n\006parent\030\003 \001(\tB+\372A(\022&cloudbuild.goog" + + "leapis.com/BuildTrigger\022\030\n\nproject_id\030\001 " + + "\001(\tB\004\342A\001\002\022B\n\007trigger\030\002 \001(\0132+.google.devt" + + "ools.cloudbuild.v1.BuildTriggerB\004\342A\001\002\"\207\001" + + "\n\026GetBuildTriggerRequest\0229\n\004name\030\003 \001(\tB+" + + "\372A(\n&cloudbuild.googleapis.com/BuildTrig" + + "ger\022\030\n\nproject_id\030\001 \001(\tB\004\342A\001\002\022\030\n\ntrigger" + + "_id\030\002 \001(\tB\004\342A\001\002\"\230\001\n\030ListBuildTriggersReq" + + "uest\022;\n\006parent\030\004 \001(\tB+\372A(\022&cloudbuild.go" + + "ogleapis.com/BuildTrigger\022\030\n\nproject_id\030" + "\001 \001(\tB\004\342A\001\002\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_t" - + "oken\030\003 \001(\t\022\016\n\006filter\030\010 \001(\t\"c\n\022ListBuilds" - + "Response\0224\n\006builds\030\001 \003(\0132$.google.devtoo" - + "ls.cloudbuild.v1.Build\022\027\n\017next_page_toke" - + "n\030\002 \001(\t\"t\n\022CancelBuildRequest\0222\n\004name\030\004 " - + "\001(\tB$\372A!\n\037cloudbuild.googleapis.com/Buil" - + "d\022\030\n\nproject_id\030\001 \001(\tB\004\342A\001\002\022\020\n\002id\030\002 \001(\tB" - + "\004\342A\001\002\"q\n\023ApproveBuildRequest\022\022\n\004name\030\001 \001" - + "(\tB\004\342A\001\002\022F\n\017approval_result\030\002 \001(\0132-.goog" - + "le.devtools.cloudbuild.v1.ApprovalResult" - + "\"\272\002\n\rBuildApproval\022G\n\005state\030\001 \001(\01622.goog" - + "le.devtools.cloudbuild.v1.BuildApproval." - + "StateB\004\342A\001\003\022C\n\006config\030\002 \001(\0132-.google.dev" - + "tools.cloudbuild.v1.ApprovalConfigB\004\342A\001\003" - + "\022C\n\006result\030\003 \001(\0132-.google.devtools.cloud" - + "build.v1.ApprovalResultB\004\342A\001\003\"V\n\005State\022\025" - + "\n\021STATE_UNSPECIFIED\020\000\022\013\n\007PENDING\020\001\022\014\n\010AP" - + "PROVED\020\002\022\014\n\010REJECTED\020\003\022\r\n\tCANCELLED\020\005\"+\n" - + "\016ApprovalConfig\022\031\n\021approval_required\030\001 \001" - + "(\010\"\245\002\n\016ApprovalResult\022\036\n\020approver_accoun" - + "t\030\002 \001(\tB\004\342A\001\003\0227\n\rapproval_time\030\003 \001(\0132\032.g" - + "oogle.protobuf.TimestampB\004\342A\001\003\022N\n\010decisi" - + "on\030\004 \001(\01626.google.devtools.cloudbuild.v1" - + ".ApprovalResult.DecisionB\004\342A\001\002\022\025\n\007commen" - + "t\030\005 \001(\tB\004\342A\001\001\022\021\n\003url\030\006 \001(\tB\004\342A\001\001\"@\n\010Deci" - + "sion\022\030\n\024DECISION_UNSPECIFIED\020\000\022\014\n\010APPROV" - + "ED\020\001\022\014\n\010REJECTED\020\002\"\256\002\n\rGitRepoSource\022\013\n\003" - + "uri\030\001 \001(\t\022?\n\nrepository\030\006 \001(\tB)\372A&\n$clou" - + "dbuild.googleapis.com/RepositoryH\000\022\013\n\003re" - + "f\030\002 \001(\t\022H\n\trepo_type\030\003 \001(\01625.google.devt" - + "ools.cloudbuild.v1.GitFileSource.RepoTyp" - + "e\022Y\n\030github_enterprise_config\030\004 \001(\tB5\372A2" - + "\n0cloudbuild.googleapis.com/GithubEnterp" - + "riseConfigH\001B\010\n\006sourceB\023\n\021enterprise_con" - + "fig\"\247\003\n\rGitFileSource\022\014\n\004path\030\001 \001(\t\022\013\n\003u" - + "ri\030\002 \001(\t\022?\n\nrepository\030\007 \001(\tB)\372A&\n$cloud" - + "build.googleapis.com/RepositoryH\000\022H\n\trep" - + "o_type\030\003 \001(\01625.google.devtools.cloudbuil" - + "d.v1.GitFileSource.RepoType\022\020\n\010revision\030" - + "\004 \001(\t\022Y\n\030github_enterprise_config\030\005 \001(\tB" - + "5\372A2\n0cloudbuild.googleapis.com/GithubEn" - + "terpriseConfigH\001\"d\n\010RepoType\022\013\n\007UNKNOWN\020" - + "\000\022\035\n\031CLOUD_SOURCE_REPOSITORIES\020\001\022\n\n\006GITH" - + "UB\020\002\022\024\n\020BITBUCKET_SERVER\020\003\022\n\n\006GITLAB\020\004B\010" - + "\n\006sourceB\023\n\021enterprise_config\"\325\t\n\014BuildT" - + "rigger\022\025\n\rresource_name\030\" \001(\t\022\020\n\002id\030\001 \001(" - + "\tB\004\342A\001\003\022\023\n\013description\030\n \001(\t\022\014\n\004name\030\025 \001" - + "(\t\022\014\n\004tags\030\023 \003(\t\022C\n\020trigger_template\030\007 \001" - + "(\0132).google.devtools.cloudbuild.v1.RepoS" - + "ource\022A\n\006github\030\r \001(\01321.google.devtools." - + "cloudbuild.v1.GitHubEventsConfig\022B\n\rpubs" - + "ub_config\030\035 \001(\0132+.google.devtools.cloudb" - + "uild.v1.PubsubConfig\022D\n\016webhook_config\030\037" - + " \001(\0132,.google.devtools.cloudbuild.v1.Web" - + "hookConfig\022\024\n\nautodetect\030\022 \001(\010H\000\0225\n\005buil" - + "d\030\004 \001(\0132$.google.devtools.cloudbuild.v1." - + "BuildH\000\022\022\n\010filename\030\010 \001(\tH\000\022G\n\017git_file_" - + "source\030\030 \001(\0132,.google.devtools.cloudbuil" - + "d.v1.GitFileSourceH\000\0225\n\013create_time\030\005 \001(" - + "\0132\032.google.protobuf.TimestampB\004\342A\001\003\022\020\n\010d" - + "isabled\030\t \001(\010\022U\n\rsubstitutions\030\013 \003(\0132>.g" - + "oogle.devtools.cloudbuild.v1.BuildTrigge" - + "r.SubstitutionsEntry\022\025\n\rignored_files\030\017 " - + "\003(\t\022\026\n\016included_files\030\020 \003(\t\022\024\n\006filter\030\036 " - + "\001(\tB\004\342A\001\001\022E\n\017source_to_build\030\032 \001(\0132,.goo" - + "gle.devtools.cloudbuild.v1.GitRepoSource" - + "\022?\n\017service_account\030! \001(\tB&\372A#\n!iam.goog" - + "leapis.com/ServiceAccount\022U\n\027repository_" - + "event_config\030\' \001(\01324.google.devtools.clo" - + "udbuild.v1.RepositoryEventConfig\0324\n\022Subs" - + "titutionsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001" - + "(\t:\0028\001:\242\001\352A\236\001\n&cloudbuild.googleapis.com" - + "/BuildTrigger\022%projects/{project}/trigge" - + "rs/{trigger}\022:projects/{project}/locatio" - + "ns/{location}/triggers/{trigger}*\010trigge" - + "rs2\007triggerB\020\n\016build_template\"\266\003\n\025Reposi" - + "toryEventConfig\022=\n\nrepository\030\001 \001(\tB)\372A&" - + "\n$cloudbuild.googleapis.com/Repository\022b" - + "\n\017repository_type\030\002 \001(\0162C.google.devtool" - + "s.cloudbuild.v1.RepositoryEventConfig.Re" - + "positoryTypeB\004\342A\001\003\022H\n\014pull_request\030\003 \001(\013" - + "20.google.devtools.cloudbuild.v1.PullReq" - + "uestFilterH\000\0229\n\004push\030\004 \001(\0132).google.devt" - + "ools.cloudbuild.v1.PushFilterH\000\"k\n\016Repos" - + "itoryType\022\037\n\033REPOSITORY_TYPE_UNSPECIFIED" - + "\020\000\022\n\n\006GITHUB\020\001\022\025\n\021GITHUB_ENTERPRISE\020\002\022\025\n" - + "\021GITLAB_ENTERPRISE\020\003B\010\n\006filter\"\334\001\n\022GitHu" - + "bEventsConfig\022\033\n\017installation_id\030\001 \001(\003B\002" - + "\030\001\022\r\n\005owner\030\006 \001(\t\022\014\n\004name\030\007 \001(\t\022H\n\014pull_" - + "request\030\004 \001(\01320.google.devtools.cloudbui" - + "ld.v1.PullRequestFilterH\000\0229\n\004push\030\005 \001(\0132" - + ").google.devtools.cloudbuild.v1.PushFilt" - + "erH\000B\007\n\005event\"\200\003\n\014PubsubConfig\022A\n\014subscr" - + "iption\030\001 \001(\tB+\342A\001\003\372A$\n\"pubsub.googleapis" - + ".com/Subscription\022/\n\005topic\030\002 \001(\tB \372A\035\n\033p" - + "ubsub.googleapis.com/Topic\022E\n\025service_ac" - + "count_email\030\003 \001(\tB&\372A#\n!iam.googleapis.c" - + "om/ServiceAccount\022@\n\005state\030\004 \001(\01621.googl" - + "e.devtools.cloudbuild.v1.PubsubConfig.St" - + "ate\"s\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\006\n\002O" - + "K\020\001\022\030\n\024SUBSCRIPTION_DELETED\020\002\022\021\n\rTOPIC_D" - + "ELETED\020\003\022\036\n\032SUBSCRIPTION_MISCONFIGURED\020\004" - + "\"\344\001\n\rWebhookConfig\022E\n\006secret\030\003 \001(\tB3\342A\001\002" - + "\372A,\n*secretmanager.googleapis.com/Secret" - + "VersionH\000\022A\n\005state\030\004 \001(\01622.google.devtoo" - + "ls.cloudbuild.v1.WebhookConfig.State\":\n\005" - + "State\022\025\n\021STATE_UNSPECIFIED\020\000\022\006\n\002OK\020\001\022\022\n\016" - + "SECRET_DELETED\020\002B\r\n\013auth_method\"\224\002\n\021Pull" - + "RequestFilter\022\020\n\006branch\030\002 \001(\tH\000\022X\n\017comme" - + "nt_control\030\005 \001(\0162?.google.devtools.cloud" - + "build.v1.PullRequestFilter.CommentContro" - + "l\022\024\n\014invert_regex\030\006 \001(\010\"r\n\016CommentContro" - + "l\022\025\n\021COMMENTS_DISABLED\020\000\022\024\n\020COMMENTS_ENA" - + "BLED\020\001\0223\n/COMMENTS_ENABLED_FOR_EXTERNAL_" - + "CONTRIBUTORS_ONLY\020\002B\t\n\007git_ref\"N\n\nPushFi" - + "lter\022\020\n\006branch\030\002 \001(\tH\000\022\r\n\003tag\030\003 \001(\tH\000\022\024\n" - + "\014invert_regex\030\004 \001(\010B\t\n\007git_ref\"\266\001\n\031Creat" - + "eBuildTriggerRequest\022;\n\006parent\030\003 \001(\tB+\372A" - + "(\022&cloudbuild.googleapis.com/BuildTrigge" - + "r\022\030\n\nproject_id\030\001 \001(\tB\004\342A\001\002\022B\n\007trigger\030\002" - + " \001(\0132+.google.devtools.cloudbuild.v1.Bui" - + "ldTriggerB\004\342A\001\002\"\207\001\n\026GetBuildTriggerReque" - + "st\0229\n\004name\030\003 \001(\tB+\372A(\n&cloudbuild.google" - + "apis.com/BuildTrigger\022\030\n\nproject_id\030\001 \001(" - + "\tB\004\342A\001\002\022\030\n\ntrigger_id\030\002 \001(\tB\004\342A\001\002\"\230\001\n\030Li" - + "stBuildTriggersRequest\022;\n\006parent\030\004 \001(\tB+" - + "\372A(\022&cloudbuild.googleapis.com/BuildTrig" - + "ger\022\030\n\nproject_id\030\001 \001(\tB\004\342A\001\002\022\021\n\tpage_si" - + "ze\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"s\n\031ListBuil" - + "dTriggersResponse\022=\n\010triggers\030\001 \003(\0132+.go" - + "ogle.devtools.cloudbuild.v1.BuildTrigger" - + "\022\027\n\017next_page_token\030\002 \001(\t\"\212\001\n\031DeleteBuil" - + "dTriggerRequest\0229\n\004name\030\003 \001(\tB+\372A(\n&clou" - + "dbuild.googleapis.com/BuildTrigger\022\030\n\npr" - + "oject_id\030\001 \001(\tB\004\342A\001\002\022\030\n\ntrigger_id\030\002 \001(\t" - + "B\004\342A\001\002\"\223\001\n\031UpdateBuildTriggerRequest\022\030\n\n" - + "project_id\030\001 \001(\tB\004\342A\001\002\022\030\n\ntrigger_id\030\002 \001" - + "(\tB\004\342A\001\002\022B\n\007trigger\030\003 \001(\0132+.google.devto" - + "ols.cloudbuild.v1.BuildTriggerB\004\342A\001\002\"\312\013\n" - + "\014BuildOptions\022L\n\026source_provenance_hash\030" - + "\001 \003(\0162,.google.devtools.cloudbuild.v1.Ha" - + "sh.HashType\022Y\n\027requested_verify_option\030\002" - + " \001(\01628.google.devtools.cloudbuild.v1.Bui" - + "ldOptions.VerifyOption\022M\n\014machine_type\030\003" - + " \001(\01627.google.devtools.cloudbuild.v1.Bui" - + "ldOptions.MachineType\022\024\n\014disk_size_gb\030\006 " - + "\001(\003\022[\n\023substitution_option\030\004 \001(\0162>.googl" - + "e.devtools.cloudbuild.v1.BuildOptions.Su" - + "bstitutionOption\022\035\n\025dynamic_substitution" - + "s\030\021 \001(\010\022\\\n\024log_streaming_option\030\005 \001(\0162>." - + "google.devtools.cloudbuild.v1.BuildOptio" - + "ns.LogStreamingOption\022\027\n\013worker_pool\030\007 \001" - + "(\tB\002\030\001\022J\n\004pool\030\023 \001(\01326.google.devtools.c" - + "loudbuild.v1.BuildOptions.PoolOptionB\004\342A" - + "\001\001\022H\n\007logging\030\013 \001(\01627.google.devtools.cl" - + "oudbuild.v1.BuildOptions.LoggingMode\022\013\n\003" - + "env\030\014 \003(\t\022\022\n\nsecret_env\030\r \003(\t\0226\n\007volumes" - + "\030\016 \003(\0132%.google.devtools.cloudbuild.v1.V" - + "olume\022q\n\034default_logs_bucket_behavior\030\025 " - + "\001(\0162E.google.devtools.cloudbuild.v1.Buil" - + "dOptions.DefaultLogsBucketBehaviorB\004\342A\001\001" - + "\032E\n\nPoolOption\0227\n\004name\030\001 \001(\tB)\372A&\n$cloud" - + "build.googleapis.com/WorkerPool\".\n\014Verif" - + "yOption\022\020\n\014NOT_VERIFIED\020\000\022\014\n\010VERIFIED\020\001\"" - + "w\n\013MachineType\022\017\n\013UNSPECIFIED\020\000\022\020\n\014N1_HI" - + "GHCPU_8\020\001\022\021\n\rN1_HIGHCPU_32\020\002\022\020\n\014E2_HIGHC" - + "PU_8\020\005\022\021\n\rE2_HIGHCPU_32\020\006\022\r\n\tE2_MEDIUM\020\007" - + "\"5\n\022SubstitutionOption\022\016\n\nMUST_MATCH\020\000\022\017" - + "\n\013ALLOW_LOOSE\020\001\"G\n\022LogStreamingOption\022\022\n" - + "\016STREAM_DEFAULT\020\000\022\r\n\tSTREAM_ON\020\001\022\016\n\nSTRE" - + "AM_OFF\020\002\"|\n\013LoggingMode\022\027\n\023LOGGING_UNSPE" - + "CIFIED\020\000\022\n\n\006LEGACY\020\001\022\014\n\010GCS_ONLY\020\002\022\030\n\020ST" - + "ACKDRIVER_ONLY\020\003\032\002\010\001\022\026\n\022CLOUD_LOGGING_ON" - + "LY\020\005\022\010\n\004NONE\020\004\"i\n\031DefaultLogsBucketBehav" - + "ior\022,\n(DEFAULT_LOGS_BUCKET_BEHAVIOR_UNSP" - + "ECIFIED\020\000\022\036\n\032REGIONAL_USER_OWNED_BUCKET\020" - + "\001\"\205\001\n\034ReceiveTriggerWebhookRequest\022\014\n\004na" - + "me\030\005 \001(\t\022\"\n\004body\030\001 \001(\0132\024.google.api.Http" - + "Body\022\022\n\nproject_id\030\002 \001(\t\022\017\n\007trigger\030\003 \001(" - + "\t\022\016\n\006secret\030\004 \001(\t\"\037\n\035ReceiveTriggerWebho" - + "okResponse\"\216\004\n\026GitHubEnterpriseConfig\022\022\n" - + "\004name\030\007 \001(\tB\004\342A\001\001\022\020\n\010host_url\030\003 \001(\t\022\024\n\006a" - + "pp_id\030\004 \001(\003B\004\342A\001\002\0225\n\013create_time\030\006 \001(\0132\032" - + ".google.protobuf.TimestampB\004\342A\001\003\022\023\n\013webh" - + "ook_key\030\010 \001(\t\022?\n\016peered_network\030\t \001(\tB\'\342" - + "A\001\001\372A \n\036compute.googleapis.com/Network\022G" - + "\n\007secrets\030\n \001(\01326.google.devtools.cloudb" - + "uild.v1.GitHubEnterpriseSecrets\022\024\n\014displ" - + "ay_name\030\013 \001(\t\022\024\n\006ssl_ca\030\014 \001(\tB\004\342A\001\001:\265\001\352A" - + "\261\001\n0cloudbuild.googleapis.com/GithubEnte" - + "rpriseConfig\0223projects/{project}/githubE" - + "nterpriseConfigs/{config}\022Hprojects/{pro" - + "ject}/locations/{location}/githubEnterpr" - + "iseConfigs/{config}\"\355\002\n\027GitHubEnterprise" - + "Secrets\022Q\n\030private_key_version_name\030\005 \001(" - + "\tB/\372A,\n*secretmanager.googleapis.com/Sec", - "retVersion\022T\n\033webhook_secret_version_nam" - + "e\030\006 \001(\tB/\372A,\n*secretmanager.googleapis.c" - + "om/SecretVersion\022R\n\031oauth_secret_version" - + "_name\030\007 \001(\tB/\372A,\n*secretmanager.googleap" - + "is.com/SecretVersion\022U\n\034oauth_client_id_" - + "version_name\030\010 \001(\tB/\372A,\n*secretmanager.g" - + "oogleapis.com/SecretVersion\"\235\006\n\nWorkerPo" - + "ol\022\022\n\004name\030\001 \001(\tB\004\342A\001\003\022\024\n\014display_name\030\002" - + " \001(\t\022\021\n\003uid\030\003 \001(\tB\004\342A\001\003\022O\n\013annotations\030\004" - + " \003(\0132:.google.devtools.cloudbuild.v1.Wor" - + "kerPool.AnnotationsEntry\0225\n\013create_time\030" - + "\005 \001(\0132\032.google.protobuf.TimestampB\004\342A\001\003\022" - + "5\n\013update_time\030\006 \001(\0132\032.google.protobuf.T" - + "imestampB\004\342A\001\003\0225\n\013delete_time\030\007 \001(\0132\032.go" - + "ogle.protobuf.TimestampB\004\342A\001\003\022D\n\005state\030\010" - + " \001(\0162/.google.devtools.cloudbuild.v1.Wor" - + "kerPool.StateB\004\342A\001\003\022T\n\026private_pool_v1_c" - + "onfig\030\014 \001(\01322.google.devtools.cloudbuild" - + ".v1.PrivatePoolV1ConfigH\000\022\022\n\004etag\030\013 \001(\tB" - + "\004\342A\001\003\0322\n\020AnnotationsEntry\022\013\n\003key\030\001 \001(\t\022\r" - + "\n\005value\030\002 \001(\t:\0028\001\"b\n\005State\022\025\n\021STATE_UNSP" - + "ECIFIED\020\000\022\014\n\010CREATING\020\001\022\013\n\007RUNNING\020\002\022\014\n\010" - + "DELETING\020\003\022\013\n\007DELETED\020\004\022\014\n\010UPDATING\020\005:\211\001" - + "\352A\205\001\n$cloudbuild.googleapis.com/WorkerPo" - + "ol\022Aprojects/{project}/locations/{locati" - + "on}/workerPools/{worker_pool}*\013workerPoo" - + "ls2\nworkerPoolR\001\001B\010\n\006config\"\274\004\n\023PrivateP" - + "oolV1Config\022V\n\rworker_config\030\001 \001(\0132?.goo" - + "gle.devtools.cloudbuild.v1.PrivatePoolV1" - + "Config.WorkerConfig\022X\n\016network_config\030\002 " - + "\001(\0132@.google.devtools.cloudbuild.v1.Priv" - + "atePoolV1Config.NetworkConfig\032:\n\014WorkerC" - + "onfig\022\024\n\014machine_type\030\001 \001(\t\022\024\n\014disk_size" - + "_gb\030\002 \001(\003\032\266\002\n\rNetworkConfig\022@\n\016peered_ne" - + "twork\030\001 \001(\tB(\342A\002\005\002\372A \n\036compute.googleapi" - + "s.com/Network\022d\n\regress_option\030\002 \001(\0162M.g" - + "oogle.devtools.cloudbuild.v1.PrivatePool" - + "V1Config.NetworkConfig.EgressOption\022%\n\027p" - + "eered_network_ip_range\030\003 \001(\tB\004\342A\001\005\"V\n\014Eg" - + "ressOption\022\035\n\031EGRESS_OPTION_UNSPECIFIED\020" - + "\000\022\024\n\020NO_PUBLIC_EGRESS\020\001\022\021\n\rPUBLIC_EGRESS" - + "\020\002\"\321\001\n\027CreateWorkerPoolRequest\022:\n\006parent" - + "\030\001 \001(\tB*\342A\001\002\372A#\n!locations.googleapis.co" - + "m/Location\022D\n\013worker_pool\030\002 \001(\0132).google" - + ".devtools.cloudbuild.v1.WorkerPoolB\004\342A\001\002" - + "\022\035\n\016worker_pool_id\030\003 \001(\tB\005\342A\002\005\002\022\025\n\rvalid" - + "ate_only\030\004 \001(\010\"S\n\024GetWorkerPoolRequest\022;" - + "\n\004name\030\001 \001(\tB-\342A\001\002\372A&\n$cloudbuild.google" - + "apis.com/WorkerPool\"\230\001\n\027DeleteWorkerPool" - + "Request\022;\n\004name\030\001 \001(\tB-\342A\001\002\372A&\n$cloudbui" - + "ld.googleapis.com/WorkerPool\022\022\n\004etag\030\002 \001" - + "(\tB\004\342A\001\001\022\025\n\rallow_missing\030\003 \001(\010\022\025\n\rvalid" - + "ate_only\030\004 \001(\010\"\247\001\n\027UpdateWorkerPoolReque" - + "st\022D\n\013worker_pool\030\001 \001(\0132).google.devtool" - + "s.cloudbuild.v1.WorkerPoolB\004\342A\001\002\022/\n\013upda" - + "te_mask\030\002 \001(\0132\032.google.protobuf.FieldMas" - + "k\022\025\n\rvalidate_only\030\004 \001(\010\"{\n\026ListWorkerPo" - + "olsRequest\022:\n\006parent\030\001 \001(\tB*\342A\001\002\372A#\n!loc" - + "ations.googleapis.com/Location\022\021\n\tpage_s" - + "ize\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"s\n\027ListWor" - + "kerPoolsResponse\022?\n\014worker_pools\030\001 \003(\0132)" - + ".google.devtools.cloudbuild.v1.WorkerPoo" - + "l\022\027\n\017next_page_token\030\002 \001(\t\"\307\001\n!CreateWor" - + "kerPoolOperationMetadata\022>\n\013worker_pool\030" - + "\001 \001(\tB)\372A&\n$cloudbuild.googleapis.com/Wo" - + "rkerPool\022/\n\013create_time\030\002 \001(\0132\032.google.p" - + "rotobuf.Timestamp\0221\n\rcomplete_time\030\003 \001(\013" - + "2\032.google.protobuf.Timestamp\"\307\001\n!UpdateW" - + "orkerPoolOperationMetadata\022>\n\013worker_poo" - + "l\030\001 \001(\tB)\372A&\n$cloudbuild.googleapis.com/" - + "WorkerPool\022/\n\013create_time\030\002 \001(\0132\032.google" - + ".protobuf.Timestamp\0221\n\rcomplete_time\030\003 \001" - + "(\0132\032.google.protobuf.Timestamp\"\307\001\n!Delet" - + "eWorkerPoolOperationMetadata\022>\n\013worker_p" - + "ool\030\001 \001(\tB)\372A&\n$cloudbuild.googleapis.co" - + "m/WorkerPool\022/\n\013create_time\030\002 \001(\0132\032.goog" - + "le.protobuf.Timestamp\0221\n\rcomplete_time\030\003" - + " \001(\0132\032.google.protobuf.Timestamp2\241+\n\nClo" - + "udBuild\022\256\002\n\013CreateBuild\0221.google.devtool" - + "s.cloudbuild.v1.CreateBuildRequest\032\035.goo" - + "gle.longrunning.Operation\"\314\001\312A\037\n\005Build\022\026" - + "BuildOperationMetadata\332A\020project_id,buil" - + "d\202\323\344\223\002^\" /v1/projects/{project_id}/build" - + "s:\005buildZ3\"*/v1/{parent=projects/*/locat" - + "ions/*}/builds:\005build\212\323\344\223\002-\022+\n\006parent\022!p" - + "rojects/*/locations/{location=*}\022\210\002\n\010Get" - + "Build\022..google.devtools.cloudbuild.v1.Ge" - + "tBuildRequest\032$.google.devtools.cloudbui" - + "ld.v1.Build\"\245\001\332A\rproject_id,id\202\323\344\223\002U\022%/v" - + "1/projects/{project_id}/builds/{id}Z,\022*/" - + "v1/{name=projects/*/locations/*/builds/*" - + "}\212\323\344\223\0024\0222\n\004name\022*projects/*/locations/{l" - + "ocation=*}/builds/*\022\221\002\n\nListBuilds\0220.goo" - + "gle.devtools.cloudbuild.v1.ListBuildsReq" - + "uest\0321.google.devtools.cloudbuild.v1.Lis" - + "tBuildsResponse\"\235\001\332A\021project_id,filter\202\323" - + "\344\223\002P\022 /v1/projects/{project_id}/buildsZ," - + "\022*/v1/{parent=projects/*/locations/*}/bu" - + "ilds\212\323\344\223\002-\022+\n\006parent\022!projects/*/locatio" - + "ns/{location=*}\022\242\002\n\013CancelBuild\0221.google" - + ".devtools.cloudbuild.v1.CancelBuildReque" - + "st\032$.google.devtools.cloudbuild.v1.Build" - + "\"\271\001\332A\rproject_id,id\202\323\344\223\002i\",/v1/projects/" - + "{project_id}/builds/{id}:cancel:\001*Z6\"1/v" - + "1/{name=projects/*/locations/*/builds/*}" - + ":cancel:\001*\212\323\344\223\0024\0222\n\004name\022*projects/*/loc" - + "ations/{location=*}/builds/*\022\271\002\n\nRetryBu" - + "ild\0220.google.devtools.cloudbuild.v1.Retr" - + "yBuildRequest\032\035.google.longrunning.Opera" - + "tion\"\331\001\312A\037\n\005Build\022\026BuildOperationMetadat" - + "a\332A\rproject_id,id\202\323\344\223\002g\"+/v1/projects/{p" - + "roject_id}/builds/{id}:retry:\001*Z5\"0/v1/{" - + "name=projects/*/locations/*/builds/*}:re" - + "try:\001*\212\323\344\223\0024\0222\n\004name\022*projects/*/locatio" - + "ns/{location=*}/builds/*\022\301\002\n\014ApproveBuil" - + "d\0222.google.devtools.cloudbuild.v1.Approv" - + "eBuildRequest\032\035.google.longrunning.Opera" - + "tion\"\335\001\312A\037\n\005Build\022\026BuildOperationMetadat" - + "a\332A\024name,approval_result\202\323\344\223\002d\"&/v1/{nam" - + "e=projects/*/builds/*}:approve:\001*Z7\"2/v1" - + "/{name=projects/*/locations/*/builds/*}:" - + "approve:\001*\212\323\344\223\0024\0222\n\004name\022*projects/*/loc" - + "ations/{location=*}/builds/*\022\262\002\n\022CreateB" - + "uildTrigger\0228.google.devtools.cloudbuild" - + ".v1.CreateBuildTriggerRequest\032+.google.d" - + "evtools.cloudbuild.v1.BuildTrigger\"\264\001\332A\022" - + "project_id,trigger\202\323\344\223\002f\"\"/v1/projects/{" - + "project_id}/triggers:\007triggerZ7\",/v1/{pa" - + "rent=projects/*/locations/*}/triggers:\007t" - + "rigger\212\323\344\223\002-\022+\n\006parent\022!projects/*/locat" - + "ions/{location=*}\022\263\002\n\017GetBuildTrigger\0225." - + "google.devtools.cloudbuild.v1.GetBuildTr" - + "iggerRequest\032+.google.devtools.cloudbuil" - + "d.v1.BuildTrigger\"\273\001\332A\025project_id,trigge" - + "r_id\202\323\344\223\002a\022//v1/projects/{project_id}/tr" - + "iggers/{trigger_id}Z.\022,/v1/{name=project" - + "s/*/locations/*/triggers/*}\212\323\344\223\0026\0224\n\004nam" - + "e\022,projects/*/locations/{location=*}/tri" - + "ggers/*\022\243\002\n\021ListBuildTriggers\0227.google.d" - + "evtools.cloudbuild.v1.ListBuildTriggersR" - + "equest\0328.google.devtools.cloudbuild.v1.L" - + "istBuildTriggersResponse\"\232\001\332A\nproject_id" - + "\202\323\344\223\002T\022\"/v1/projects/{project_id}/trigge" - + "rsZ.\022,/v1/{parent=projects/*/locations/*" - + "}/triggers\212\323\344\223\002-\022+\n\006parent\022!projects/*/l" - + "ocations/{location=*}\022\244\002\n\022DeleteBuildTri" - + "gger\0228.google.devtools.cloudbuild.v1.Del" - + "eteBuildTriggerRequest\032\026.google.protobuf" - + ".Empty\"\273\001\332A\025project_id,trigger_id\202\323\344\223\002a*" - + "//v1/projects/{project_id}/triggers/{tri" - + "gger_id}Z.*,/v1/{name=projects/*/locatio" - + "ns/*/triggers/*}\212\323\344\223\0026\0224\n\004name\022,projects" - + "/*/locations/{location=*}/triggers/*\022\366\002\n" - + "\022UpdateBuildTrigger\0228.google.devtools.cl" - + "oudbuild.v1.UpdateBuildTriggerRequest\032+." - + "google.devtools.cloudbuild.v1.BuildTrigg" - + "er\"\370\001\332A\035project_id,trigger_id,trigger\202\323\344" - + "\223\002\204\0012//v1/projects/{project_id}/triggers" - + "/{trigger_id}:\007triggerZH2=/v1/{trigger.r" - + "esource_name=projects/*/locations/*/trig" - + "gers/*}:\007trigger\212\323\344\223\002G\022E\n\025trigger.resour" - + "ce_name\022,projects/*/locations/{location=" - + "*}/triggers/*\022\341\002\n\017RunBuildTrigger\0225.goog" - + "le.devtools.cloudbuild.v1.RunBuildTrigge" - + "rRequest\032\035.google.longrunning.Operation\"" - + "\367\001\312A\037\n\005Build\022\026BuildOperationMetadata\332A\034p" - + "roject_id,trigger_id,source\202\323\344\223\002t\"3/v1/p" - + "rojects/{project_id}/triggers/{trigger_i" - + "d}:run:\006sourceZ5\"0/v1/{name=projects/*/l" - + "ocations/*/triggers/*}:run:\001*\212\323\344\223\0026\0224\n\004n" - + "ame\022,projects/*/locations/{location=*}/t" - + "riggers/*\022\225\002\n\025ReceiveTriggerWebhook\022;.go" - + "ogle.devtools.cloudbuild.v1.ReceiveTrigg" - + "erWebhookRequest\032<.google.devtools.cloud" - + "build.v1.ReceiveTriggerWebhookResponse\"\200" - + "\001\202\323\344\223\002z\"4/v1/projects/{project_id}/trigg" - + "ers/{trigger}:webhook:\004bodyZ<\"4/v1/{name" - + "=projects/*/locations/*/triggers/*}:webh" - + "ook:\004body\022\271\002\n\020CreateWorkerPool\0226.google." - + "devtools.cloudbuild.v1.CreateWorkerPoolR" - + "equest\032\035.google.longrunning.Operation\"\315\001" - + "\312A/\n\nWorkerPool\022!CreateWorkerPoolOperati" - + "onMetadata\332A!parent,worker_pool,worker_p" - + "ool_id\202\323\344\223\002>\"//v1/{parent=projects/*/loc" - + "ations/*}/workerPools:\013worker_pool\212\323\344\223\002-" - + "\022+\n\006parent\022!projects/*/locations/{locati" - + "on=*}\022\356\001\n\rGetWorkerPool\0223.google.devtool" - + "s.cloudbuild.v1.GetWorkerPoolRequest\032).g" - + "oogle.devtools.cloudbuild.v1.WorkerPool\"" - + "}\332A\004name\202\323\344\223\0021\022//v1/{name=projects/*/loc" - + "ations/*/workerPools/*}\212\323\344\223\0029\0227\n\004name\022/p" - + "rojects/*/locations/{location=*}/workerP" - + "ools/*\022\246\002\n\020DeleteWorkerPool\0226.google.dev" - + "tools.cloudbuild.v1.DeleteWorkerPoolRequ" - + "est\032\035.google.longrunning.Operation\"\272\001\312A:" - + "\n\025google.protobuf.Empty\022!DeleteWorkerPoo" - + "lOperationMetadata\332A\004name\202\323\344\223\0021*//v1/{na" - + "me=projects/*/locations/*/workerPools/*}" - + "\212\323\344\223\0029\0227\n\004name\022/projects/*/locations/{lo" - + "cation=*}/workerPools/*\022\323\002\n\020UpdateWorker" - + "Pool\0226.google.devtools.cloudbuild.v1.Upd" - + "ateWorkerPoolRequest\032\035.google.longrunnin" - + "g.Operation\"\347\001\312A/\n\nWorkerPool\022!UpdateWor" - + "kerPoolOperationMetadata\332A\027worker_pool,u" - + "pdate_mask\202\323\344\223\002J2;/v1/{worker_pool.name=" - + "projects/*/locations/*/workerPools/*}:\013w" - + "orker_pool\212\323\344\223\002E\022C\n\020worker_pool.name\022/pr" + + "oken\030\003 \001(\t\"s\n\031ListBuildTriggersResponse\022" + + "=\n\010triggers\030\001 \003(\0132+.google.devtools.clou" + + "dbuild.v1.BuildTrigger\022\027\n\017next_page_toke" + + "n\030\002 \001(\t\"\212\001\n\031DeleteBuildTriggerRequest\0229\n" + + "\004name\030\003 \001(\tB+\372A(\n&cloudbuild.googleapis." + + "com/BuildTrigger\022\030\n\nproject_id\030\001 \001(\tB\004\342A" + + "\001\002\022\030\n\ntrigger_id\030\002 \001(\tB\004\342A\001\002\"\304\001\n\031UpdateB" + + "uildTriggerRequest\022\030\n\nproject_id\030\001 \001(\tB\004" + + "\342A\001\002\022\030\n\ntrigger_id\030\002 \001(\tB\004\342A\001\002\022B\n\007trigge" + + "r\030\003 \001(\0132+.google.devtools.cloudbuild.v1." + + "BuildTriggerB\004\342A\001\002\022/\n\013update_mask\030\005 \001(\0132" + + "\032.google.protobuf.FieldMask\"\351\013\n\014BuildOpt" + + "ions\022L\n\026source_provenance_hash\030\001 \003(\0162,.g" + + "oogle.devtools.cloudbuild.v1.Hash.HashTy" + + "pe\022Y\n\027requested_verify_option\030\002 \001(\01628.go" + + "ogle.devtools.cloudbuild.v1.BuildOptions" + + ".VerifyOption\022M\n\014machine_type\030\003 \001(\01627.go" + + "ogle.devtools.cloudbuild.v1.BuildOptions" + + ".MachineType\022\024\n\014disk_size_gb\030\006 \001(\003\022[\n\023su" + + "bstitution_option\030\004 \001(\0162>.google.devtool" + + "s.cloudbuild.v1.BuildOptions.Substitutio" + + "nOption\022\035\n\025dynamic_substitutions\030\021 \001(\010\022\035" + + "\n\025automap_substitutions\030\026 \001(\010\022\\\n\024log_str" + + "eaming_option\030\005 \001(\0162>.google.devtools.cl" + + "oudbuild.v1.BuildOptions.LogStreamingOpt" + + "ion\022\027\n\013worker_pool\030\007 \001(\tB\002\030\001\022J\n\004pool\030\023 \001" + + "(\01326.google.devtools.cloudbuild.v1.Build" + + "Options.PoolOptionB\004\342A\001\001\022H\n\007logging\030\013 \001(" + + "\01627.google.devtools.cloudbuild.v1.BuildO" + + "ptions.LoggingMode\022\013\n\003env\030\014 \003(\t\022\022\n\nsecre" + + "t_env\030\r \003(\t\0226\n\007volumes\030\016 \003(\0132%.google.de" + + "vtools.cloudbuild.v1.Volume\022q\n\034default_l" + + "ogs_bucket_behavior\030\025 \001(\0162E.google.devto" + + "ols.cloudbuild.v1.BuildOptions.DefaultLo" + + "gsBucketBehaviorB\004\342A\001\001\032E\n\nPoolOption\0227\n\004" + + "name\030\001 \001(\tB)\372A&\n$cloudbuild.googleapis.c" + + "om/WorkerPool\".\n\014VerifyOption\022\020\n\014NOT_VER" + + "IFIED\020\000\022\014\n\010VERIFIED\020\001\"w\n\013MachineType\022\017\n\013" + + "UNSPECIFIED\020\000\022\020\n\014N1_HIGHCPU_8\020\001\022\021\n\rN1_HI" + + "GHCPU_32\020\002\022\020\n\014E2_HIGHCPU_8\020\005\022\021\n\rE2_HIGHC" + + "PU_32\020\006\022\r\n\tE2_MEDIUM\020\007\"5\n\022SubstitutionOp" + + "tion\022\016\n\nMUST_MATCH\020\000\022\017\n\013ALLOW_LOOSE\020\001\"G\n" + + "\022LogStreamingOption\022\022\n\016STREAM_DEFAULT\020\000\022" + + "\r\n\tSTREAM_ON\020\001\022\016\n\nSTREAM_OFF\020\002\"|\n\013Loggin" + + "gMode\022\027\n\023LOGGING_UNSPECIFIED\020\000\022\n\n\006LEGACY" + + "\020\001\022\014\n\010GCS_ONLY\020\002\022\030\n\020STACKDRIVER_ONLY\020\003\032\002" + + "\010\001\022\026\n\022CLOUD_LOGGING_ONLY\020\005\022\010\n\004NONE\020\004\"i\n\031" + + "DefaultLogsBucketBehavior\022,\n(DEFAULT_LOG" + + "S_BUCKET_BEHAVIOR_UNSPECIFIED\020\000\022\036\n\032REGIO" + + "NAL_USER_OWNED_BUCKET\020\001\"\205\001\n\034ReceiveTrigg" + + "erWebhookRequest\022\014\n\004name\030\005 \001(\t\022\"\n\004body\030\001" + + " \001(\0132\024.google.api.HttpBody\022\022\n\nproject_id" + + "\030\002 \001(\t\022\017\n\007trigger\030\003 \001(\t\022\016\n\006secret\030\004 \001(\t\"" + + "\037\n\035ReceiveTriggerWebhookResponse\"\216\004\n\026Git" + + "HubEnterpriseConfig\022\022\n\004name\030\007 \001(\tB\004\342A\001\001\022" + + "\020\n\010host_url\030\003 \001(\t\022\024\n\006app_id\030\004 \001(\003B\004\342A\001\002\022" + + "5\n\013create_time\030\006 \001(\0132\032.google.protobuf.T" + + "imestampB\004\342A\001\003\022\023\n\013webhook_key\030\010 \001(\t\022?\n\016p" + + "eered_network\030\t \001(\tB\'\342A\001\001\372A \n\036compute.go" + + "ogleapis.com/Network\022G\n\007secrets\030\n \001(\01326." + + "google.devtools.cloudbuild.v1.GitHubEnte" + + "rpriseSecrets\022\024\n\014display_name\030\013 \001(\t\022\024\n\006s" + + "sl_ca\030\014 \001(\tB\004\342A\001\001:\265\001\352A\261\001\n0cloudbuild.goo" + + "gleapis.com/GithubEnterpriseConfig\0223proj" + + "ects/{project}/githubEnterpriseConfigs/{" + + "config}\022Hprojects/{project}/locations/{l", + "ocation}/githubEnterpriseConfigs/{config" + + "}\"\355\002\n\027GitHubEnterpriseSecrets\022Q\n\030private" + + "_key_version_name\030\005 \001(\tB/\372A,\n*secretmana" + + "ger.googleapis.com/SecretVersion\022T\n\033webh" + + "ook_secret_version_name\030\006 \001(\tB/\372A,\n*secr" + + "etmanager.googleapis.com/SecretVersion\022R" + + "\n\031oauth_secret_version_name\030\007 \001(\tB/\372A,\n*" + + "secretmanager.googleapis.com/SecretVersi" + + "on\022U\n\034oauth_client_id_version_name\030\010 \001(\t" + + "B/\372A,\n*secretmanager.googleapis.com/Secr" + + "etVersion\"\235\006\n\nWorkerPool\022\022\n\004name\030\001 \001(\tB\004" + + "\342A\001\003\022\024\n\014display_name\030\002 \001(\t\022\021\n\003uid\030\003 \001(\tB" + + "\004\342A\001\003\022O\n\013annotations\030\004 \003(\0132:.google.devt" + + "ools.cloudbuild.v1.WorkerPool.Annotation" + + "sEntry\0225\n\013create_time\030\005 \001(\0132\032.google.pro" + + "tobuf.TimestampB\004\342A\001\003\0225\n\013update_time\030\006 \001" + + "(\0132\032.google.protobuf.TimestampB\004\342A\001\003\0225\n\013" + + "delete_time\030\007 \001(\0132\032.google.protobuf.Time" + + "stampB\004\342A\001\003\022D\n\005state\030\010 \001(\0162/.google.devt" + + "ools.cloudbuild.v1.WorkerPool.StateB\004\342A\001" + + "\003\022T\n\026private_pool_v1_config\030\014 \001(\01322.goog" + + "le.devtools.cloudbuild.v1.PrivatePoolV1C" + + "onfigH\000\022\022\n\004etag\030\013 \001(\tB\004\342A\001\003\0322\n\020Annotatio" + + "nsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"" + + "b\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\014\n\010CREAT" + + "ING\020\001\022\013\n\007RUNNING\020\002\022\014\n\010DELETING\020\003\022\013\n\007DELE" + + "TED\020\004\022\014\n\010UPDATING\020\005:\211\001\352A\205\001\n$cloudbuild.g" + + "oogleapis.com/WorkerPool\022Aprojects/{proj" + + "ect}/locations/{location}/workerPools/{w" + + "orker_pool}*\013workerPools2\nworkerPoolR\001\001B" + + "\010\n\006config\"\274\004\n\023PrivatePoolV1Config\022V\n\rwor" + + "ker_config\030\001 \001(\0132?.google.devtools.cloud" + + "build.v1.PrivatePoolV1Config.WorkerConfi" + + "g\022X\n\016network_config\030\002 \001(\0132@.google.devto" + + "ols.cloudbuild.v1.PrivatePoolV1Config.Ne" + + "tworkConfig\032:\n\014WorkerConfig\022\024\n\014machine_t" + + "ype\030\001 \001(\t\022\024\n\014disk_size_gb\030\002 \001(\003\032\266\002\n\rNetw" + + "orkConfig\022@\n\016peered_network\030\001 \001(\tB(\342A\002\005\002" + + "\372A \n\036compute.googleapis.com/Network\022d\n\re" + + "gress_option\030\002 \001(\0162M.google.devtools.clo" + + "udbuild.v1.PrivatePoolV1Config.NetworkCo" + + "nfig.EgressOption\022%\n\027peered_network_ip_r" + + "ange\030\003 \001(\tB\004\342A\001\005\"V\n\014EgressOption\022\035\n\031EGRE" + + "SS_OPTION_UNSPECIFIED\020\000\022\024\n\020NO_PUBLIC_EGR" + + "ESS\020\001\022\021\n\rPUBLIC_EGRESS\020\002\"\321\001\n\027CreateWorke" + + "rPoolRequest\022:\n\006parent\030\001 \001(\tB*\342A\001\002\372A#\n!l" + + "ocations.googleapis.com/Location\022D\n\013work" + + "er_pool\030\002 \001(\0132).google.devtools.cloudbui" + + "ld.v1.WorkerPoolB\004\342A\001\002\022\035\n\016worker_pool_id" + + "\030\003 \001(\tB\005\342A\002\005\002\022\025\n\rvalidate_only\030\004 \001(\010\"S\n\024" + + "GetWorkerPoolRequest\022;\n\004name\030\001 \001(\tB-\342A\001\002" + + "\372A&\n$cloudbuild.googleapis.com/WorkerPoo" + + "l\"\230\001\n\027DeleteWorkerPoolRequest\022;\n\004name\030\001 " + + "\001(\tB-\342A\001\002\372A&\n$cloudbuild.googleapis.com/" + + "WorkerPool\022\022\n\004etag\030\002 \001(\tB\004\342A\001\001\022\025\n\rallow_" + + "missing\030\003 \001(\010\022\025\n\rvalidate_only\030\004 \001(\010\"\247\001\n" + + "\027UpdateWorkerPoolRequest\022D\n\013worker_pool\030" + + "\001 \001(\0132).google.devtools.cloudbuild.v1.Wo" + + "rkerPoolB\004\342A\001\002\022/\n\013update_mask\030\002 \001(\0132\032.go" + + "ogle.protobuf.FieldMask\022\025\n\rvalidate_only" + + "\030\004 \001(\010\"{\n\026ListWorkerPoolsRequest\022:\n\006pare" + + "nt\030\001 \001(\tB*\342A\001\002\372A#\n!locations.googleapis." + + "com/Location\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_" + + "token\030\003 \001(\t\"s\n\027ListWorkerPoolsResponse\022?" + + "\n\014worker_pools\030\001 \003(\0132).google.devtools.c" + + "loudbuild.v1.WorkerPool\022\027\n\017next_page_tok" + + "en\030\002 \001(\t\"\307\001\n!CreateWorkerPoolOperationMe" + + "tadata\022>\n\013worker_pool\030\001 \001(\tB)\372A&\n$cloudb" + + "uild.googleapis.com/WorkerPool\022/\n\013create" + + "_time\030\002 \001(\0132\032.google.protobuf.Timestamp\022" + + "1\n\rcomplete_time\030\003 \001(\0132\032.google.protobuf" + + ".Timestamp\"\307\001\n!UpdateWorkerPoolOperation" + + "Metadata\022>\n\013worker_pool\030\001 \001(\tB)\372A&\n$clou" + + "dbuild.googleapis.com/WorkerPool\022/\n\013crea" + + "te_time\030\002 \001(\0132\032.google.protobuf.Timestam" + + "p\0221\n\rcomplete_time\030\003 \001(\0132\032.google.protob" + + "uf.Timestamp\"\307\001\n!DeleteWorkerPoolOperati" + + "onMetadata\022>\n\013worker_pool\030\001 \001(\tB)\372A&\n$cl" + + "oudbuild.googleapis.com/WorkerPool\022/\n\013cr" + + "eate_time\030\002 \001(\0132\032.google.protobuf.Timest" + + "amp\0221\n\rcomplete_time\030\003 \001(\0132\032.google.prot" + + "obuf.Timestamp2\241+\n\nCloudBuild\022\256\002\n\013Create" + + "Build\0221.google.devtools.cloudbuild.v1.Cr" + + "eateBuildRequest\032\035.google.longrunning.Op" + + "eration\"\314\001\312A\037\n\005Build\022\026BuildOperationMeta" + + "data\332A\020project_id,build\202\323\344\223\002^\" /v1/proje" + + "cts/{project_id}/builds:\005buildZ3\"*/v1/{p" + + "arent=projects/*/locations/*}/builds:\005bu" + + "ild\212\323\344\223\002-\022+\n\006parent\022!projects/*/location" + + "s/{location=*}\022\210\002\n\010GetBuild\022..google.dev" + + "tools.cloudbuild.v1.GetBuildRequest\032$.go" + + "ogle.devtools.cloudbuild.v1.Build\"\245\001\332A\rp" + + "roject_id,id\202\323\344\223\002U\022%/v1/projects/{projec" + + "t_id}/builds/{id}Z,\022*/v1/{name=projects/" + + "*/locations/*/builds/*}\212\323\344\223\0024\0222\n\004name\022*p" + + "rojects/*/locations/{location=*}/builds/" + + "*\022\221\002\n\nListBuilds\0220.google.devtools.cloud" + + "build.v1.ListBuildsRequest\0321.google.devt" + + "ools.cloudbuild.v1.ListBuildsResponse\"\235\001" + + "\332A\021project_id,filter\202\323\344\223\002P\022 /v1/projects" + + "/{project_id}/buildsZ,\022*/v1/{parent=proj" + + "ects/*/locations/*}/builds\212\323\344\223\002-\022+\n\006pare" + + "nt\022!projects/*/locations/{location=*}\022\242\002" + + "\n\013CancelBuild\0221.google.devtools.cloudbui" + + "ld.v1.CancelBuildRequest\032$.google.devtoo" + + "ls.cloudbuild.v1.Build\"\271\001\332A\rproject_id,i" + + "d\202\323\344\223\002i\",/v1/projects/{project_id}/build" + + "s/{id}:cancel:\001*Z6\"1/v1/{name=projects/*" + + "/locations/*/builds/*}:cancel:\001*\212\323\344\223\0024\0222" + + "\n\004name\022*projects/*/locations/{location=*" + + "}/builds/*\022\271\002\n\nRetryBuild\0220.google.devto" + + "ols.cloudbuild.v1.RetryBuildRequest\032\035.go" + + "ogle.longrunning.Operation\"\331\001\312A\037\n\005Build\022" + + "\026BuildOperationMetadata\332A\rproject_id,id\202" + + "\323\344\223\002g\"+/v1/projects/{project_id}/builds/" + + "{id}:retry:\001*Z5\"0/v1/{name=projects/*/lo" + + "cations/*/builds/*}:retry:\001*\212\323\344\223\0024\0222\n\004na" + + "me\022*projects/*/locations/{location=*}/bu" + + "ilds/*\022\301\002\n\014ApproveBuild\0222.google.devtool" + + "s.cloudbuild.v1.ApproveBuildRequest\032\035.go" + + "ogle.longrunning.Operation\"\335\001\312A\037\n\005Build\022" + + "\026BuildOperationMetadata\332A\024name,approval_" + + "result\202\323\344\223\002d\"&/v1/{name=projects/*/build" + + "s/*}:approve:\001*Z7\"2/v1/{name=projects/*/" + + "locations/*/builds/*}:approve:\001*\212\323\344\223\0024\0222" + + "\n\004name\022*projects/*/locations/{location=*" + + "}/builds/*\022\262\002\n\022CreateBuildTrigger\0228.goog" + + "le.devtools.cloudbuild.v1.CreateBuildTri" + + "ggerRequest\032+.google.devtools.cloudbuild" + + ".v1.BuildTrigger\"\264\001\332A\022project_id,trigger" + + "\202\323\344\223\002f\"\"/v1/projects/{project_id}/trigge" + + "rs:\007triggerZ7\",/v1/{parent=projects/*/lo" + + "cations/*}/triggers:\007trigger\212\323\344\223\002-\022+\n\006pa" + + "rent\022!projects/*/locations/{location=*}\022" + + "\263\002\n\017GetBuildTrigger\0225.google.devtools.cl" + + "oudbuild.v1.GetBuildTriggerRequest\032+.goo" + + "gle.devtools.cloudbuild.v1.BuildTrigger\"" + + "\273\001\332A\025project_id,trigger_id\202\323\344\223\002a\022//v1/pr" + + "ojects/{project_id}/triggers/{trigger_id" + + "}Z.\022,/v1/{name=projects/*/locations/*/tr" + + "iggers/*}\212\323\344\223\0026\0224\n\004name\022,projects/*/loca" + + "tions/{location=*}/triggers/*\022\243\002\n\021ListBu" + + "ildTriggers\0227.google.devtools.cloudbuild" + + ".v1.ListBuildTriggersRequest\0328.google.de" + + "vtools.cloudbuild.v1.ListBuildTriggersRe" + + "sponse\"\232\001\332A\nproject_id\202\323\344\223\002T\022\"/v1/projec" + + "ts/{project_id}/triggersZ.\022,/v1/{parent=" + + "projects/*/locations/*}/triggers\212\323\344\223\002-\022+" + + "\n\006parent\022!projects/*/locations/{location" + + "=*}\022\244\002\n\022DeleteBuildTrigger\0228.google.devt" + + "ools.cloudbuild.v1.DeleteBuildTriggerReq" + + "uest\032\026.google.protobuf.Empty\"\273\001\332A\025projec" + + "t_id,trigger_id\202\323\344\223\002a*//v1/projects/{pro" + + "ject_id}/triggers/{trigger_id}Z.*,/v1/{n" + + "ame=projects/*/locations/*/triggers/*}\212\323" + + "\344\223\0026\0224\n\004name\022,projects/*/locations/{loca" + + "tion=*}/triggers/*\022\366\002\n\022UpdateBuildTrigge" + + "r\0228.google.devtools.cloudbuild.v1.Update" + + "BuildTriggerRequest\032+.google.devtools.cl" + + "oudbuild.v1.BuildTrigger\"\370\001\332A\035project_id" + + ",trigger_id,trigger\202\323\344\223\002\204\0012//v1/projects" + + "/{project_id}/triggers/{trigger_id}:\007tri" + + "ggerZH2=/v1/{trigger.resource_name=proje" + + "cts/*/locations/*/triggers/*}:\007trigger\212\323" + + "\344\223\002G\022E\n\025trigger.resource_name\022,projects/" + + "*/locations/{location=*}/triggers/*\022\341\002\n\017" + + "RunBuildTrigger\0225.google.devtools.cloudb" + + "uild.v1.RunBuildTriggerRequest\032\035.google." + + "longrunning.Operation\"\367\001\312A\037\n\005Build\022\026Buil" + + "dOperationMetadata\332A\034project_id,trigger_" + + "id,source\202\323\344\223\002t\"3/v1/projects/{project_i" + + "d}/triggers/{trigger_id}:run:\006sourceZ5\"0" + + "/v1/{name=projects/*/locations/*/trigger" + + "s/*}:run:\001*\212\323\344\223\0026\0224\n\004name\022,projects/*/lo" + + "cations/{location=*}/triggers/*\022\225\002\n\025Rece" + + "iveTriggerWebhook\022;.google.devtools.clou" + + "dbuild.v1.ReceiveTriggerWebhookRequest\032<" + + ".google.devtools.cloudbuild.v1.ReceiveTr" + + "iggerWebhookResponse\"\200\001\202\323\344\223\002z\"4/v1/proje" + + "cts/{project_id}/triggers/{trigger}:webh" + + "ook:\004bodyZ<\"4/v1/{name=projects/*/locati" + + "ons/*/triggers/*}:webhook:\004body\022\271\002\n\020Crea" + + "teWorkerPool\0226.google.devtools.cloudbuil" + + "d.v1.CreateWorkerPoolRequest\032\035.google.lo" + + "ngrunning.Operation\"\315\001\312A/\n\nWorkerPool\022!C" + + "reateWorkerPoolOperationMetadata\332A!paren" + + "t,worker_pool,worker_pool_id\202\323\344\223\002>\"//v1/" + + "{parent=projects/*/locations/*}/workerPo" + + "ols:\013worker_pool\212\323\344\223\002-\022+\n\006parent\022!projec" + + "ts/*/locations/{location=*}\022\356\001\n\rGetWorke" + + "rPool\0223.google.devtools.cloudbuild.v1.Ge" + + "tWorkerPoolRequest\032).google.devtools.clo" + + "udbuild.v1.WorkerPool\"}\332A\004name\202\323\344\223\0021\022//v" + + "1/{name=projects/*/locations/*/workerPoo" + + "ls/*}\212\323\344\223\0029\0227\n\004name\022/projects/*/location" + + "s/{location=*}/workerPools/*\022\246\002\n\020DeleteW" + + "orkerPool\0226.google.devtools.cloudbuild.v" + + "1.DeleteWorkerPoolRequest\032\035.google.longr" + + "unning.Operation\"\272\001\312A:\n\025google.protobuf." + + "Empty\022!DeleteWorkerPoolOperationMetadata" + + "\332A\004name\202\323\344\223\0021*//v1/{name=projects/*/loca" + + "tions/*/workerPools/*}\212\323\344\223\0029\0227\n\004name\022/pr" + "ojects/*/locations/{location=*}/workerPo" - + "ols/*\022\365\001\n\017ListWorkerPools\0225.google.devto" - + "ols.cloudbuild.v1.ListWorkerPoolsRequest" - + "\0326.google.devtools.cloudbuild.v1.ListWor" - + "kerPoolsResponse\"s\332A\006parent\202\323\344\223\0021\022//v1/{" - + "parent=projects/*/locations/*}/workerPoo" - + "ls\212\323\344\223\002-\022+\n\006parent\022!projects/*/locations" - + "/{location=*}\032M\312A\031cloudbuild.googleapis." - + "com\322A.https://www.googleapis.com/auth/cl" - + "oud-platformB\223\010\n\030com.google.cloudbuild.v" - + "1P\001ZAcloud.google.com/go/cloudbuild/apiv" - + "1/v2/cloudbuildpb;cloudbuildpb\242\002\003GCB\252\002\032G" - + "oogle.Cloud.CloudBuild.V1\312\002\025Google\\Cloud" - + "\\Build\\V1\352\002\030Google::Cloud::Build::V1\352AN\n" - + "\036compute.googleapis.com/Network\022,project" - + "s/{project}/global/networks/{network}\352AY" - + "\n!iam.googleapis.com/ServiceAccount\0224pro" - + "jects/{project}/serviceAccounts/{service" - + "_account}\352AJ\n#secretmanager.googleapis.c" - + "om/Secret\022#projects/{project}/secrets/{s" - + "ecret}\352Ad\n*secretmanager.googleapis.com/" - + "SecretVersion\0226projects/{project}/secret" - + "s/{secret}/versions/{version}\352Af\n gkehub" - + ".googleapis.com/Membership\022Bprojects/{pr" - + "oject}/locations/{location}/memberships/" - + "{cluster_name}\352Ap\n!cloudkms.googleapis.c" - + "om/CryptoKey\022Kprojects/{project}/locatio" - + "ns/{location}/keyRings/{keyring}/cryptoK" - + "eys/{key}\352AU\n\"pubsub.googleapis.com/Subs" - + "cription\022/projects/{project}/subscriptio" - + "ns/{subscription}\352A@\n\033pubsub.googleapis." - + "com/Topic\022!projects/{project}/topics/{to" - + "pic}\352A\202\001\n$cloudbuild.googleapis.com/Repo" - + "sitory\022Zprojects/{project}/locations/{lo" - + "cation}/connections/{connection}/reposit" - + "ories/{repository}b\006proto3" + + "ols/*\022\323\002\n\020UpdateWorkerPool\0226.google.devt" + + "ools.cloudbuild.v1.UpdateWorkerPoolReque" + + "st\032\035.google.longrunning.Operation\"\347\001\312A/\n" + + "\nWorkerPool\022!UpdateWorkerPoolOperationMe" + + "tadata\332A\027worker_pool,update_mask\202\323\344\223\002J2;" + + "/v1/{worker_pool.name=projects/*/locatio" + + "ns/*/workerPools/*}:\013worker_pool\212\323\344\223\002E\022C" + + "\n\020worker_pool.name\022/projects/*/locations" + + "/{location=*}/workerPools/*\022\365\001\n\017ListWork" + + "erPools\0225.google.devtools.cloudbuild.v1." + + "ListWorkerPoolsRequest\0326.google.devtools" + + ".cloudbuild.v1.ListWorkerPoolsResponse\"s" + + "\332A\006parent\202\323\344\223\0021\022//v1/{parent=projects/*/" + + "locations/*}/workerPools\212\323\344\223\002-\022+\n\006parent" + + "\022!projects/*/locations/{location=*}\032M\312A\031" + + "cloudbuild.googleapis.com\322A.https://www." + + "googleapis.com/auth/cloud-platformB\223\010\n\030c" + + "om.google.cloudbuild.v1P\001ZAcloud.google." + + "com/go/cloudbuild/apiv1/v2/cloudbuildpb;" + + "cloudbuildpb\242\002\003GCB\252\002\032Google.Cloud.CloudB" + + "uild.V1\312\002\025Google\\Cloud\\Build\\V1\352\002\030Google" + + "::Cloud::Build::V1\352AN\n\036compute.googleapi" + + "s.com/Network\022,projects/{project}/global" + + "/networks/{network}\352AY\n!iam.googleapis.c" + + "om/ServiceAccount\0224projects/{project}/se" + + "rviceAccounts/{service_account}\352AJ\n#secr" + + "etmanager.googleapis.com/Secret\022#project" + + "s/{project}/secrets/{secret}\352Ad\n*secretm" + + "anager.googleapis.com/SecretVersion\0226pro" + + "jects/{project}/secrets/{secret}/version" + + "s/{version}\352Af\n gkehub.googleapis.com/Me" + + "mbership\022Bprojects/{project}/locations/{" + + "location}/memberships/{cluster_name}\352Ap\n" + + "!cloudkms.googleapis.com/CryptoKey\022Kproj" + + "ects/{project}/locations/{location}/keyR" + + "ings/{keyring}/cryptoKeys/{key}\352AU\n\"pubs" + + "ub.googleapis.com/Subscription\022/projects" + + "/{project}/subscriptions/{subscription}\352" + + "A@\n\033pubsub.googleapis.com/Topic\022!project" + + "s/{project}/topics/{topic}\352A\202\001\n$cloudbui" + + "ld.googleapis.com/Repository\022Zprojects/{" + + "project}/locations/{location}/connection" + + "s/{connection}/repositories/{repository}" + + "b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -1155,6 +1159,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ExitCode", "AllowExitCodes", "Script", + "AutomapSubstitutions", + "AutomapSubstitutions", }); internal_static_google_devtools_cloudbuild_v1_Volume_descriptor = getDescriptor().getMessageTypes().get(12); @@ -1634,7 +1640,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_devtools_cloudbuild_v1_UpdateBuildTriggerRequest_descriptor, new java.lang.String[] { - "ProjectId", "TriggerId", "Trigger", + "ProjectId", "TriggerId", "Trigger", "UpdateMask", }); internal_static_google_devtools_cloudbuild_v1_BuildOptions_descriptor = getDescriptor().getMessageTypes().get(50); @@ -1648,6 +1654,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "DiskSizeGb", "SubstitutionOption", "DynamicSubstitutions", + "AutomapSubstitutions", "LogStreamingOption", "WorkerPool", "Pool", diff --git a/java-cloudbuild/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/GitHubEventsConfig.java b/java-cloudbuild/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/GitHubEventsConfig.java index a0c58ead762d..2b4a4cfd6fe8 100644 --- a/java-cloudbuild/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/GitHubEventsConfig.java +++ b/java-cloudbuild/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/GitHubEventsConfig.java @@ -125,7 +125,7 @@ public EventCase getEventCase() { * int64 installation_id = 1 [deprecated = true]; * * @deprecated google.devtools.cloudbuild.v1.GitHubEventsConfig.installation_id is deprecated. See - * google/devtools/cloudbuild/v1/cloudbuild.proto;l=1856 + * google/devtools/cloudbuild/v1/cloudbuild.proto;l=1861 * @return The installationId. */ @java.lang.Override @@ -844,7 +844,7 @@ public Builder clearEvent() { * int64 installation_id = 1 [deprecated = true]; * * @deprecated google.devtools.cloudbuild.v1.GitHubEventsConfig.installation_id is deprecated. - * See google/devtools/cloudbuild/v1/cloudbuild.proto;l=1856 + * See google/devtools/cloudbuild/v1/cloudbuild.proto;l=1861 * @return The installationId. */ @java.lang.Override @@ -862,7 +862,7 @@ public long getInstallationId() { * int64 installation_id = 1 [deprecated = true]; * * @deprecated google.devtools.cloudbuild.v1.GitHubEventsConfig.installation_id is deprecated. - * See google/devtools/cloudbuild/v1/cloudbuild.proto;l=1856 + * See google/devtools/cloudbuild/v1/cloudbuild.proto;l=1861 * @param value The installationId to set. * @return This builder for chaining. */ @@ -884,7 +884,7 @@ public Builder setInstallationId(long value) { * int64 installation_id = 1 [deprecated = true]; * * @deprecated google.devtools.cloudbuild.v1.GitHubEventsConfig.installation_id is deprecated. - * See google/devtools/cloudbuild/v1/cloudbuild.proto;l=1856 + * See google/devtools/cloudbuild/v1/cloudbuild.proto;l=1861 * @return This builder for chaining. */ @java.lang.Deprecated diff --git a/java-cloudbuild/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/GitHubEventsConfigOrBuilder.java b/java-cloudbuild/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/GitHubEventsConfigOrBuilder.java index 5943cdbdc951..bc35b3a1df96 100644 --- a/java-cloudbuild/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/GitHubEventsConfigOrBuilder.java +++ b/java-cloudbuild/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/GitHubEventsConfigOrBuilder.java @@ -33,7 +33,7 @@ public interface GitHubEventsConfigOrBuilder * int64 installation_id = 1 [deprecated = true]; * * @deprecated google.devtools.cloudbuild.v1.GitHubEventsConfig.installation_id is deprecated. See - * google/devtools/cloudbuild/v1/cloudbuild.proto;l=1856 + * google/devtools/cloudbuild/v1/cloudbuild.proto;l=1861 * @return The installationId. */ @java.lang.Deprecated diff --git a/java-cloudbuild/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/UpdateBuildTriggerRequest.java b/java-cloudbuild/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/UpdateBuildTriggerRequest.java index 6b8256296db4..248033572ea0 100644 --- a/java-cloudbuild/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/UpdateBuildTriggerRequest.java +++ b/java-cloudbuild/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/UpdateBuildTriggerRequest.java @@ -217,6 +217,58 @@ public com.google.cloudbuild.v1.BuildTriggerOrBuilder getTriggerOrBuilder() { return trigger_ == null ? com.google.cloudbuild.v1.BuildTrigger.getDefaultInstance() : trigger_; } + public static final int UPDATE_MASK_FIELD_NUMBER = 5; + private com.google.protobuf.FieldMask updateMask_; + /** + * + * + *
+   * Update mask for the resource. If this is set,
+   * the server will only update the fields specified in the field mask.
+   * Otherwise, a full update of the mutable resource fields will be performed.
+   * 
+ * + * .google.protobuf.FieldMask update_mask = 5; + * + * @return Whether the updateMask field is set. + */ + @java.lang.Override + public boolean hasUpdateMask() { + return updateMask_ != null; + } + /** + * + * + *
+   * Update mask for the resource. If this is set,
+   * the server will only update the fields specified in the field mask.
+   * Otherwise, a full update of the mutable resource fields will be performed.
+   * 
+ * + * .google.protobuf.FieldMask update_mask = 5; + * + * @return The updateMask. + */ + @java.lang.Override + public com.google.protobuf.FieldMask getUpdateMask() { + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + } + /** + * + * + *
+   * Update mask for the resource. If this is set,
+   * the server will only update the fields specified in the field mask.
+   * Otherwise, a full update of the mutable resource fields will be performed.
+   * 
+ * + * .google.protobuf.FieldMask update_mask = 5; + */ + @java.lang.Override + public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -240,6 +292,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (trigger_ != null) { output.writeMessage(3, getTrigger()); } + if (updateMask_ != null) { + output.writeMessage(5, getUpdateMask()); + } getUnknownFields().writeTo(output); } @@ -258,6 +313,9 @@ public int getSerializedSize() { if (trigger_ != null) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getTrigger()); } + if (updateMask_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getUpdateMask()); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -280,6 +338,10 @@ public boolean equals(final java.lang.Object obj) { if (hasTrigger()) { if (!getTrigger().equals(other.getTrigger())) return false; } + if (hasUpdateMask() != other.hasUpdateMask()) return false; + if (hasUpdateMask()) { + if (!getUpdateMask().equals(other.getUpdateMask())) return false; + } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -299,6 +361,10 @@ public int hashCode() { hash = (37 * hash) + TRIGGER_FIELD_NUMBER; hash = (53 * hash) + getTrigger().hashCode(); } + if (hasUpdateMask()) { + hash = (37 * hash) + UPDATE_MASK_FIELD_NUMBER; + hash = (53 * hash) + getUpdateMask().hashCode(); + } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; @@ -445,6 +511,11 @@ public Builder clear() { triggerBuilder_.dispose(); triggerBuilder_ = null; } + updateMask_ = null; + if (updateMaskBuilder_ != null) { + updateMaskBuilder_.dispose(); + updateMaskBuilder_ = null; + } return this; } @@ -490,6 +561,9 @@ private void buildPartial0(com.google.cloudbuild.v1.UpdateBuildTriggerRequest re if (((from_bitField0_ & 0x00000004) != 0)) { result.trigger_ = triggerBuilder_ == null ? trigger_ : triggerBuilder_.build(); } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); + } } @java.lang.Override @@ -551,6 +625,9 @@ public Builder mergeFrom(com.google.cloudbuild.v1.UpdateBuildTriggerRequest othe if (other.hasTrigger()) { mergeTrigger(other.getTrigger()); } + if (other.hasUpdateMask()) { + mergeUpdateMask(other.getUpdateMask()); + } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -595,6 +672,12 @@ public Builder mergeFrom( bitField0_ |= 0x00000004; break; } // case 26 + case 42: + { + input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 42 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -1027,6 +1110,207 @@ public com.google.cloudbuild.v1.BuildTriggerOrBuilder getTriggerOrBuilder() { return triggerBuilder_; } + private com.google.protobuf.FieldMask updateMask_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + updateMaskBuilder_; + /** + * + * + *
+     * Update mask for the resource. If this is set,
+     * the server will only update the fields specified in the field mask.
+     * Otherwise, a full update of the mutable resource fields will be performed.
+     * 
+ * + * .google.protobuf.FieldMask update_mask = 5; + * + * @return Whether the updateMask field is set. + */ + public boolean hasUpdateMask() { + return ((bitField0_ & 0x00000008) != 0); + } + /** + * + * + *
+     * Update mask for the resource. If this is set,
+     * the server will only update the fields specified in the field mask.
+     * Otherwise, a full update of the mutable resource fields will be performed.
+     * 
+ * + * .google.protobuf.FieldMask update_mask = 5; + * + * @return The updateMask. + */ + public com.google.protobuf.FieldMask getUpdateMask() { + if (updateMaskBuilder_ == null) { + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; + } else { + return updateMaskBuilder_.getMessage(); + } + } + /** + * + * + *
+     * Update mask for the resource. If this is set,
+     * the server will only update the fields specified in the field mask.
+     * Otherwise, a full update of the mutable resource fields will be performed.
+     * 
+ * + * .google.protobuf.FieldMask update_mask = 5; + */ + public Builder setUpdateMask(com.google.protobuf.FieldMask value) { + if (updateMaskBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + updateMask_ = value; + } else { + updateMaskBuilder_.setMessage(value); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * + * + *
+     * Update mask for the resource. If this is set,
+     * the server will only update the fields specified in the field mask.
+     * Otherwise, a full update of the mutable resource fields will be performed.
+     * 
+ * + * .google.protobuf.FieldMask update_mask = 5; + */ + public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + if (updateMaskBuilder_ == null) { + updateMask_ = builderForValue.build(); + } else { + updateMaskBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * + * + *
+     * Update mask for the resource. If this is set,
+     * the server will only update the fields specified in the field mask.
+     * Otherwise, a full update of the mutable resource fields will be performed.
+     * 
+ * + * .google.protobuf.FieldMask update_mask = 5; + */ + public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { + if (updateMaskBuilder_ == null) { + if (((bitField0_ & 0x00000008) != 0) + && updateMask_ != null + && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { + getUpdateMaskBuilder().mergeFrom(value); + } else { + updateMask_ = value; + } + } else { + updateMaskBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * + * + *
+     * Update mask for the resource. If this is set,
+     * the server will only update the fields specified in the field mask.
+     * Otherwise, a full update of the mutable resource fields will be performed.
+     * 
+ * + * .google.protobuf.FieldMask update_mask = 5; + */ + public Builder clearUpdateMask() { + bitField0_ = (bitField0_ & ~0x00000008); + updateMask_ = null; + if (updateMaskBuilder_ != null) { + updateMaskBuilder_.dispose(); + updateMaskBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+     * Update mask for the resource. If this is set,
+     * the server will only update the fields specified in the field mask.
+     * Otherwise, a full update of the mutable resource fields will be performed.
+     * 
+ * + * .google.protobuf.FieldMask update_mask = 5; + */ + public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { + bitField0_ |= 0x00000008; + onChanged(); + return getUpdateMaskFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Update mask for the resource. If this is set,
+     * the server will only update the fields specified in the field mask.
+     * Otherwise, a full update of the mutable resource fields will be performed.
+     * 
+ * + * .google.protobuf.FieldMask update_mask = 5; + */ + public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { + if (updateMaskBuilder_ != null) { + return updateMaskBuilder_.getMessageOrBuilder(); + } else { + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; + } + } + /** + * + * + *
+     * Update mask for the resource. If this is set,
+     * the server will only update the fields specified in the field mask.
+     * Otherwise, a full update of the mutable resource fields will be performed.
+     * 
+ * + * .google.protobuf.FieldMask update_mask = 5; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + getUpdateMaskFieldBuilder() { + if (updateMaskBuilder_ == null) { + updateMaskBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), getParentForChildren(), isClean()); + updateMask_ = null; + } + return updateMaskBuilder_; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/java-cloudbuild/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/UpdateBuildTriggerRequestOrBuilder.java b/java-cloudbuild/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/UpdateBuildTriggerRequestOrBuilder.java index 8366259cf671..cabed76f57f2 100644 --- a/java-cloudbuild/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/UpdateBuildTriggerRequestOrBuilder.java +++ b/java-cloudbuild/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/UpdateBuildTriggerRequestOrBuilder.java @@ -113,4 +113,45 @@ public interface UpdateBuildTriggerRequestOrBuilder * */ com.google.cloudbuild.v1.BuildTriggerOrBuilder getTriggerOrBuilder(); + + /** + * + * + *
+   * Update mask for the resource. If this is set,
+   * the server will only update the fields specified in the field mask.
+   * Otherwise, a full update of the mutable resource fields will be performed.
+   * 
+ * + * .google.protobuf.FieldMask update_mask = 5; + * + * @return Whether the updateMask field is set. + */ + boolean hasUpdateMask(); + /** + * + * + *
+   * Update mask for the resource. If this is set,
+   * the server will only update the fields specified in the field mask.
+   * Otherwise, a full update of the mutable resource fields will be performed.
+   * 
+ * + * .google.protobuf.FieldMask update_mask = 5; + * + * @return The updateMask. + */ + com.google.protobuf.FieldMask getUpdateMask(); + /** + * + * + *
+   * Update mask for the resource. If this is set,
+   * the server will only update the fields specified in the field mask.
+   * Otherwise, a full update of the mutable resource fields will be performed.
+   * 
+ * + * .google.protobuf.FieldMask update_mask = 5; + */ + com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); } diff --git a/java-cloudbuild/proto-google-cloud-build-v1/src/main/proto/google/devtools/cloudbuild/v1/cloudbuild.proto b/java-cloudbuild/proto-google-cloud-build-v1/src/main/proto/google/devtools/cloudbuild/v1/cloudbuild.proto index b864bed355a9..20f7f3191fa4 100644 --- a/java-cloudbuild/proto-google-cloud-build-v1/src/main/proto/google/devtools/cloudbuild/v1/cloudbuild.proto +++ b/java-cloudbuild/proto-google-cloud-build-v1/src/main/proto/google/devtools/cloudbuild/v1/cloudbuild.proto @@ -802,6 +802,11 @@ message BuildStep { // // When script is provided, the user cannot specify the entrypoint or args. string script = 19; + + // Option to include built-in and custom substitutions as env variables + // for this build step. This option will override the global option + // in BuildOption. + optional bool automap_substitutions = 20; } // Volume describes a Docker container volume which is mounted into build steps @@ -2095,6 +2100,11 @@ message UpdateBuildTriggerRequest { // Required. `BuildTrigger` to update. BuildTrigger trigger = 3 [(google.api.field_behavior) = REQUIRED]; + + // Update mask for the resource. If this is set, + // the server will only update the fields specified in the field mask. + // Otherwise, a full update of the mutable resource fields will be performed. + google.protobuf.FieldMask update_mask = 5; } // Optional arguments to enable specific features of builds. @@ -2245,6 +2255,10 @@ message BuildOptions { // overridden in the build configuration file. bool dynamic_substitutions = 17; + // Option to include built-in and custom substitutions as env variables + // for all build steps. + bool automap_substitutions = 22; + // Option to define build log streaming behavior to Cloud // Storage. LogStreamingOption log_streaming_option = 5; diff --git a/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v1/cloudbuild/updatebuildtrigger/AsyncUpdateBuildTrigger.java b/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v1/cloudbuild/updatebuildtrigger/AsyncUpdateBuildTrigger.java index e5c7e8270432..6cf131d77ab3 100644 --- a/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v1/cloudbuild/updatebuildtrigger/AsyncUpdateBuildTrigger.java +++ b/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v1/cloudbuild/updatebuildtrigger/AsyncUpdateBuildTrigger.java @@ -21,6 +21,7 @@ import com.google.cloud.devtools.cloudbuild.v1.CloudBuildClient; import com.google.cloudbuild.v1.BuildTrigger; import com.google.cloudbuild.v1.UpdateBuildTriggerRequest; +import com.google.protobuf.FieldMask; public class AsyncUpdateBuildTrigger { @@ -40,6 +41,7 @@ public static void asyncUpdateBuildTrigger() throws Exception { .setProjectId("projectId-894832108") .setTriggerId("triggerId-648752909") .setTrigger(BuildTrigger.newBuilder().build()) + .setUpdateMask(FieldMask.newBuilder().build()) .build(); ApiFuture future = cloudBuildClient.updateBuildTriggerCallable().futureCall(request); diff --git a/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v1/cloudbuild/updatebuildtrigger/SyncUpdateBuildTrigger.java b/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v1/cloudbuild/updatebuildtrigger/SyncUpdateBuildTrigger.java index cf2d264ee40b..f0adf54ba789 100644 --- a/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v1/cloudbuild/updatebuildtrigger/SyncUpdateBuildTrigger.java +++ b/java-cloudbuild/samples/snippets/generated/com/google/cloud/devtools/cloudbuild/v1/cloudbuild/updatebuildtrigger/SyncUpdateBuildTrigger.java @@ -20,6 +20,7 @@ import com.google.cloud.devtools.cloudbuild.v1.CloudBuildClient; import com.google.cloudbuild.v1.BuildTrigger; import com.google.cloudbuild.v1.UpdateBuildTriggerRequest; +import com.google.protobuf.FieldMask; public class SyncUpdateBuildTrigger { @@ -39,6 +40,7 @@ public static void syncUpdateBuildTrigger() throws Exception { .setProjectId("projectId-894832108") .setTriggerId("triggerId-648752909") .setTrigger(BuildTrigger.newBuilder().build()) + .setUpdateMask(FieldMask.newBuilder().build()) .build(); BuildTrigger response = cloudBuildClient.updateBuildTrigger(request); }