* CloudBuildSettings.Builder cloudBuildSettingsBuilder =
* CloudBuildSettings.newBuilder();
- * cloudBuildSettingsBuilder.createBuildSettings().getRetrySettings().toBuilder()
- * .setTotalTimeout(Duration.ofSeconds(30));
+ * cloudBuildSettingsBuilder
+ * .createBuildSettings()
+ * .setRetrySettings(
+ * cloudBuildSettingsBuilder.createBuildSettings().getRetrySettings().toBuilder()
+ * .setTotalTimeout(Duration.ofSeconds(30))
+ * .build());
* CloudBuildSettings cloudBuildSettings = cloudBuildSettingsBuilder.build();
*
*
diff --git a/google-cloud-build/src/main/java/com/google/cloud/devtools/cloudbuild/v1/package-info.java b/google-cloud-build/src/main/java/com/google/cloud/devtools/cloudbuild/v1/package-info.java
index 0e2e5008..1f148ffa 100644
--- a/google-cloud-build/src/main/java/com/google/cloud/devtools/cloudbuild/v1/package-info.java
+++ b/google-cloud-build/src/main/java/com/google/cloud/devtools/cloudbuild/v1/package-info.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/google-cloud-build/src/main/java/com/google/cloud/devtools/cloudbuild/v1/stub/CloudBuildStub.java b/google-cloud-build/src/main/java/com/google/cloud/devtools/cloudbuild/v1/stub/CloudBuildStub.java
index 68335363..1b717d26 100644
--- a/google-cloud-build/src/main/java/com/google/cloud/devtools/cloudbuild/v1/stub/CloudBuildStub.java
+++ b/google-cloud-build/src/main/java/com/google/cloud/devtools/cloudbuild/v1/stub/CloudBuildStub.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/google-cloud-build/src/main/java/com/google/cloud/devtools/cloudbuild/v1/stub/CloudBuildStubSettings.java b/google-cloud-build/src/main/java/com/google/cloud/devtools/cloudbuild/v1/stub/CloudBuildStubSettings.java
index 46af2935..021c5139 100644
--- a/google-cloud-build/src/main/java/com/google/cloud/devtools/cloudbuild/v1/stub/CloudBuildStubSettings.java
+++ b/google-cloud-build/src/main/java/com/google/cloud/devtools/cloudbuild/v1/stub/CloudBuildStubSettings.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -93,8 +93,12 @@
*
* CloudBuildStubSettings.Builder cloudBuildSettingsBuilder =
* CloudBuildStubSettings.newBuilder();
- * cloudBuildSettingsBuilder.createBuildSettings().getRetrySettings().toBuilder()
- * .setTotalTimeout(Duration.ofSeconds(30));
+ * cloudBuildSettingsBuilder
+ * .createBuildSettings()
+ * .setRetrySettings(
+ * cloudBuildSettingsBuilder.createBuildSettings().getRetrySettings().toBuilder()
+ * .setTotalTimeout(Duration.ofSeconds(30))
+ * .build());
* CloudBuildStubSettings cloudBuildSettings = cloudBuildSettingsBuilder.build();
*
*
diff --git a/google-cloud-build/src/main/java/com/google/cloud/devtools/cloudbuild/v1/stub/GrpcCloudBuildCallableFactory.java b/google-cloud-build/src/main/java/com/google/cloud/devtools/cloudbuild/v1/stub/GrpcCloudBuildCallableFactory.java
index bff3cef9..befd88f1 100644
--- a/google-cloud-build/src/main/java/com/google/cloud/devtools/cloudbuild/v1/stub/GrpcCloudBuildCallableFactory.java
+++ b/google-cloud-build/src/main/java/com/google/cloud/devtools/cloudbuild/v1/stub/GrpcCloudBuildCallableFactory.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/google-cloud-build/src/main/java/com/google/cloud/devtools/cloudbuild/v1/stub/GrpcCloudBuildStub.java b/google-cloud-build/src/main/java/com/google/cloud/devtools/cloudbuild/v1/stub/GrpcCloudBuildStub.java
index 19f80d67..08f5bf0d 100644
--- a/google-cloud-build/src/main/java/com/google/cloud/devtools/cloudbuild/v1/stub/GrpcCloudBuildStub.java
+++ b/google-cloud-build/src/main/java/com/google/cloud/devtools/cloudbuild/v1/stub/GrpcCloudBuildStub.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/google-cloud-build/src/test/java/com/google/cloud/devtools/cloudbuild/v1/CloudBuildClientTest.java b/google-cloud-build/src/test/java/com/google/cloud/devtools/cloudbuild/v1/CloudBuildClientTest.java
index cdbbc204..7bec6f80 100644
--- a/google-cloud-build/src/test/java/com/google/cloud/devtools/cloudbuild/v1/CloudBuildClientTest.java
+++ b/google-cloud-build/src/test/java/com/google/cloud/devtools/cloudbuild/v1/CloudBuildClientTest.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -29,17 +29,24 @@
import com.google.cloudbuild.v1.CancelBuildRequest;
import com.google.cloudbuild.v1.CreateBuildRequest;
import com.google.cloudbuild.v1.CreateBuildTriggerRequest;
+import com.google.cloudbuild.v1.CreateWorkerPoolRequest;
import com.google.cloudbuild.v1.DeleteBuildTriggerRequest;
+import com.google.cloudbuild.v1.DeleteWorkerPoolRequest;
import com.google.cloudbuild.v1.GetBuildRequest;
import com.google.cloudbuild.v1.GetBuildTriggerRequest;
+import com.google.cloudbuild.v1.GetWorkerPoolRequest;
import com.google.cloudbuild.v1.ListBuildTriggersRequest;
import com.google.cloudbuild.v1.ListBuildTriggersResponse;
import com.google.cloudbuild.v1.ListBuildsRequest;
import com.google.cloudbuild.v1.ListBuildsResponse;
+import com.google.cloudbuild.v1.ListWorkerPoolsRequest;
+import com.google.cloudbuild.v1.ListWorkerPoolsResponse;
import com.google.cloudbuild.v1.RepoSource;
import com.google.cloudbuild.v1.RetryBuildRequest;
import com.google.cloudbuild.v1.RunBuildTriggerRequest;
import com.google.cloudbuild.v1.UpdateBuildTriggerRequest;
+import com.google.cloudbuild.v1.UpdateWorkerPoolRequest;
+import com.google.cloudbuild.v1.WorkerPool;
import com.google.common.collect.Lists;
import com.google.longrunning.Operation;
import com.google.protobuf.AbstractMessage;
@@ -49,6 +56,7 @@
import java.io.IOException;
import java.util.Arrays;
import java.util.List;
+import java.util.UUID;
import org.junit.After;
import org.junit.AfterClass;
import org.junit.Assert;
@@ -67,7 +75,8 @@ public class CloudBuildClientTest {
public static void startStaticServer() {
mockCloudBuild = new MockCloudBuild();
serviceHelper =
- new MockServiceHelper("in-process-1", Arrays.string location = 1;
+ *
+ * @return The location.
*/
public java.lang.String getLocation() {
java.lang.Object ref = location_;
@@ -157,6 +164,8 @@ public java.lang.String getLocation() {
*
*
* string location = 1;
+ *
+ * @return The bytes for location.
*/
public com.google.protobuf.ByteString getLocationBytes() {
java.lang.Object ref = location_;
@@ -455,7 +464,7 @@ public Builder clear() {
if (fileHashBuilder_ == null) {
fileHash_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000002);
+ bitField0_ = (bitField0_ & ~0x00000001);
} else {
fileHashBuilder_.clear();
}
@@ -487,18 +496,16 @@ public com.google.cloudbuild.v1.ArtifactResult buildPartial() {
com.google.cloudbuild.v1.ArtifactResult result =
new com.google.cloudbuild.v1.ArtifactResult(this);
int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
result.location_ = location_;
if (fileHashBuilder_ == null) {
- if (((bitField0_ & 0x00000002) != 0)) {
+ if (((bitField0_ & 0x00000001) != 0)) {
fileHash_ = java.util.Collections.unmodifiableList(fileHash_);
- bitField0_ = (bitField0_ & ~0x00000002);
+ bitField0_ = (bitField0_ & ~0x00000001);
}
result.fileHash_ = fileHash_;
} else {
result.fileHash_ = fileHashBuilder_.build();
}
- result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@@ -556,7 +563,7 @@ public Builder mergeFrom(com.google.cloudbuild.v1.ArtifactResult other) {
if (!other.fileHash_.isEmpty()) {
if (fileHash_.isEmpty()) {
fileHash_ = other.fileHash_;
- bitField0_ = (bitField0_ & ~0x00000002);
+ bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureFileHashIsMutable();
fileHash_.addAll(other.fileHash_);
@@ -569,7 +576,7 @@ public Builder mergeFrom(com.google.cloudbuild.v1.ArtifactResult other) {
fileHashBuilder_.dispose();
fileHashBuilder_ = null;
fileHash_ = other.fileHash_;
- bitField0_ = (bitField0_ & ~0x00000002);
+ bitField0_ = (bitField0_ & ~0x00000001);
fileHashBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
? getFileHashFieldBuilder()
@@ -621,6 +628,8 @@ public Builder mergeFrom(
*
*
* string location = 1;
+ *
+ * @return The location.
*/
public java.lang.String getLocation() {
java.lang.Object ref = location_;
@@ -643,6 +652,8 @@ public java.lang.String getLocation() {
*
*
* string location = 1;
+ *
+ * @return The bytes for location.
*/
public com.google.protobuf.ByteString getLocationBytes() {
java.lang.Object ref = location_;
@@ -665,6 +676,9 @@ public com.google.protobuf.ByteString getLocationBytes() {
*
*
* string location = 1;
+ *
+ * @param value The location to set.
+ * @return This builder for chaining.
*/
public Builder setLocation(java.lang.String value) {
if (value == null) {
@@ -685,6 +699,8 @@ public Builder setLocation(java.lang.String value) {
*
*
* string location = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearLocation() {
@@ -702,6 +718,9 @@ public Builder clearLocation() {
*
*
* string location = 1;
+ *
+ * @param value The bytes for location to set.
+ * @return This builder for chaining.
*/
public Builder setLocationBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -718,9 +737,9 @@ public Builder setLocationBytes(com.google.protobuf.ByteString value) {
java.util.Collections.emptyList();
private void ensureFileHashIsMutable() {
- if (!((bitField0_ & 0x00000002) != 0)) {
+ if (!((bitField0_ & 0x00000001) != 0)) {
fileHash_ = new java.util.ArrayListstring location = 1;
+ *
+ * @return The location.
*/
java.lang.String getLocation();
/**
@@ -45,6 +47,8 @@ public interface ArtifactResultOrBuilder
*
*
* string location = 1;
+ *
+ * @return The bytes for location.
*/
com.google.protobuf.ByteString getLocationBytes();
diff --git a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/Artifacts.java b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/Artifacts.java
index 2d559f1e..895a5e77 100644
--- a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/Artifacts.java
+++ b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/Artifacts.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -42,6 +42,12 @@ private Artifacts() {
images_ = com.google.protobuf.LazyStringArrayList.EMPTY;
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new Artifacts();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -147,6 +153,8 @@ public interface ArtifactObjectsOrBuilder
*
*
* string location = 1;
+ *
+ * @return The location.
*/
java.lang.String getLocation();
/**
@@ -161,6 +169,8 @@ public interface ArtifactObjectsOrBuilder
*
*
* string location = 1;
+ *
+ * @return The bytes for location.
*/
com.google.protobuf.ByteString getLocationBytes();
@@ -172,6 +182,8 @@ public interface ArtifactObjectsOrBuilder
*
*
* repeated string paths = 2;
+ *
+ * @return A list containing the paths.
*/
java.util.Listrepeated string paths = 2;
+ *
+ * @return The count of paths.
*/
int getPathsCount();
/**
@@ -192,6 +206,9 @@ public interface ArtifactObjectsOrBuilder
*
*
* repeated string paths = 2;
+ *
+ * @param index The index of the element to return.
+ * @return The paths at the given index.
*/
java.lang.String getPaths(int index);
/**
@@ -202,6 +219,9 @@ public interface ArtifactObjectsOrBuilder
*
*
* repeated string paths = 2;
+ *
+ * @param index The index of the value to return.
+ * @return The bytes of the paths at the given index.
*/
com.google.protobuf.ByteString getPathsBytes(int index);
@@ -213,6 +233,8 @@ public interface ArtifactObjectsOrBuilder
*
*
* .google.devtools.cloudbuild.v1.TimeSpan timing = 3;
+ *
+ * @return Whether the timing field is set.
*/
boolean hasTiming();
/**
@@ -223,6 +245,8 @@ public interface ArtifactObjectsOrBuilder
*
*
* .google.devtools.cloudbuild.v1.TimeSpan timing = 3;
+ *
+ * @return The timing.
*/
com.google.cloudbuild.v1.TimeSpan getTiming();
/**
@@ -261,6 +285,12 @@ private ArtifactObjects() {
paths_ = com.google.protobuf.LazyStringArrayList.EMPTY;
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new ArtifactObjects();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -295,9 +325,9 @@ private ArtifactObjects(
case 18:
{
java.lang.String s = input.readStringRequireUtf8();
- if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+ if (!((mutable_bitField0_ & 0x00000001) != 0)) {
paths_ = new com.google.protobuf.LazyStringArrayList();
- mutable_bitField0_ |= 0x00000002;
+ mutable_bitField0_ |= 0x00000001;
}
paths_.add(s);
break;
@@ -332,7 +362,7 @@ private ArtifactObjects(
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
} finally {
- if (((mutable_bitField0_ & 0x00000002) != 0)) {
+ if (((mutable_bitField0_ & 0x00000001) != 0)) {
paths_ = paths_.getUnmodifiableView();
}
this.unknownFields = unknownFields.build();
@@ -355,7 +385,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
com.google.cloudbuild.v1.Artifacts.ArtifactObjects.Builder.class);
}
- private int bitField0_;
public static final int LOCATION_FIELD_NUMBER = 1;
private volatile java.lang.Object location_;
/**
@@ -370,6 +399,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* string location = 1;
+ *
+ * @return The location.
*/
public java.lang.String getLocation() {
java.lang.Object ref = location_;
@@ -394,6 +425,8 @@ public java.lang.String getLocation() {
*
*
* string location = 1;
+ *
+ * @return The bytes for location.
*/
public com.google.protobuf.ByteString getLocationBytes() {
java.lang.Object ref = location_;
@@ -417,6 +450,8 @@ public com.google.protobuf.ByteString getLocationBytes() {
*
*
* repeated string paths = 2;
+ *
+ * @return A list containing the paths.
*/
public com.google.protobuf.ProtocolStringList getPathsList() {
return paths_;
@@ -429,6 +464,8 @@ public com.google.protobuf.ProtocolStringList getPathsList() {
*
*
* repeated string paths = 2;
+ *
+ * @return The count of paths.
*/
public int getPathsCount() {
return paths_.size();
@@ -441,6 +478,9 @@ public int getPathsCount() {
*
*
* repeated string paths = 2;
+ *
+ * @param index The index of the element to return.
+ * @return The paths at the given index.
*/
public java.lang.String getPaths(int index) {
return paths_.get(index);
@@ -453,6 +493,9 @@ public java.lang.String getPaths(int index) {
*
*
* repeated string paths = 2;
+ *
+ * @param index The index of the value to return.
+ * @return The bytes of the paths at the given index.
*/
public com.google.protobuf.ByteString getPathsBytes(int index) {
return paths_.getByteString(index);
@@ -468,6 +511,8 @@ public com.google.protobuf.ByteString getPathsBytes(int index) {
*
*
* .google.devtools.cloudbuild.v1.TimeSpan timing = 3;
+ *
+ * @return Whether the timing field is set.
*/
public boolean hasTiming() {
return timing_ != null;
@@ -480,6 +525,8 @@ public boolean hasTiming() {
*
*
* .google.devtools.cloudbuild.v1.TimeSpan timing = 3;
+ *
+ * @return The timing.
*/
public com.google.cloudbuild.v1.TimeSpan getTiming() {
return timing_ == null ? com.google.cloudbuild.v1.TimeSpan.getDefaultInstance() : timing_;
@@ -737,7 +784,7 @@ public Builder clear() {
location_ = "";
paths_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- bitField0_ = (bitField0_ & ~0x00000002);
+ bitField0_ = (bitField0_ & ~0x00000001);
if (timingBuilder_ == null) {
timing_ = null;
} else {
@@ -772,11 +819,10 @@ public com.google.cloudbuild.v1.Artifacts.ArtifactObjects buildPartial() {
com.google.cloudbuild.v1.Artifacts.ArtifactObjects result =
new com.google.cloudbuild.v1.Artifacts.ArtifactObjects(this);
int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
result.location_ = location_;
- if (((bitField0_ & 0x00000002) != 0)) {
+ if (((bitField0_ & 0x00000001) != 0)) {
paths_ = paths_.getUnmodifiableView();
- bitField0_ = (bitField0_ & ~0x00000002);
+ bitField0_ = (bitField0_ & ~0x00000001);
}
result.paths_ = paths_;
if (timingBuilder_ == null) {
@@ -784,7 +830,6 @@ public com.google.cloudbuild.v1.Artifacts.ArtifactObjects buildPartial() {
} else {
result.timing_ = timingBuilder_.build();
}
- result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@@ -844,7 +889,7 @@ public Builder mergeFrom(com.google.cloudbuild.v1.Artifacts.ArtifactObjects othe
if (!other.paths_.isEmpty()) {
if (paths_.isEmpty()) {
paths_ = other.paths_;
- bitField0_ = (bitField0_ & ~0x00000002);
+ bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensurePathsIsMutable();
paths_.addAll(other.paths_);
@@ -899,6 +944,8 @@ public Builder mergeFrom(
*
*
* string location = 1;
+ *
+ * @return The location.
*/
public java.lang.String getLocation() {
java.lang.Object ref = location_;
@@ -923,6 +970,8 @@ public java.lang.String getLocation() {
*
*
* string location = 1;
+ *
+ * @return The bytes for location.
*/
public com.google.protobuf.ByteString getLocationBytes() {
java.lang.Object ref = location_;
@@ -947,6 +996,9 @@ public com.google.protobuf.ByteString getLocationBytes() {
*
*
* string location = 1;
+ *
+ * @param value The location to set.
+ * @return This builder for chaining.
*/
public Builder setLocation(java.lang.String value) {
if (value == null) {
@@ -969,6 +1021,8 @@ public Builder setLocation(java.lang.String value) {
*
*
* string location = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearLocation() {
@@ -988,6 +1042,9 @@ public Builder clearLocation() {
*
*
* string location = 1;
+ *
+ * @param value The bytes for location to set.
+ * @return This builder for chaining.
*/
public Builder setLocationBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1004,9 +1061,9 @@ public Builder setLocationBytes(com.google.protobuf.ByteString value) {
com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensurePathsIsMutable() {
- if (!((bitField0_ & 0x00000002) != 0)) {
+ if (!((bitField0_ & 0x00000001) != 0)) {
paths_ = new com.google.protobuf.LazyStringArrayList(paths_);
- bitField0_ |= 0x00000002;
+ bitField0_ |= 0x00000001;
}
}
/**
@@ -1017,6 +1074,8 @@ private void ensurePathsIsMutable() {
*
*
* repeated string paths = 2;
+ *
+ * @return A list containing the paths.
*/
public com.google.protobuf.ProtocolStringList getPathsList() {
return paths_.getUnmodifiableView();
@@ -1029,6 +1088,8 @@ public com.google.protobuf.ProtocolStringList getPathsList() {
*
*
* repeated string paths = 2;
+ *
+ * @return The count of paths.
*/
public int getPathsCount() {
return paths_.size();
@@ -1041,6 +1102,9 @@ public int getPathsCount() {
*
*
* repeated string paths = 2;
+ *
+ * @param index The index of the element to return.
+ * @return The paths at the given index.
*/
public java.lang.String getPaths(int index) {
return paths_.get(index);
@@ -1053,6 +1117,9 @@ public java.lang.String getPaths(int index) {
*
*
* repeated string paths = 2;
+ *
+ * @param index The index of the value to return.
+ * @return The bytes of the paths at the given index.
*/
public com.google.protobuf.ByteString getPathsBytes(int index) {
return paths_.getByteString(index);
@@ -1065,6 +1132,10 @@ public com.google.protobuf.ByteString getPathsBytes(int index) {
*
*
* repeated string paths = 2;
+ *
+ * @param index The index to set the value at.
+ * @param value The paths to set.
+ * @return This builder for chaining.
*/
public Builder setPaths(int index, java.lang.String value) {
if (value == null) {
@@ -1083,6 +1154,9 @@ public Builder setPaths(int index, java.lang.String value) {
*
*
* repeated string paths = 2;
+ *
+ * @param value The paths to add.
+ * @return This builder for chaining.
*/
public Builder addPaths(java.lang.String value) {
if (value == null) {
@@ -1101,6 +1175,9 @@ public Builder addPaths(java.lang.String value) {
*
*
* repeated string paths = 2;
+ *
+ * @param values The paths to add.
+ * @return This builder for chaining.
*/
public Builder addAllPaths(java.lang.Iterablerepeated string paths = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearPaths() {
paths_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- bitField0_ = (bitField0_ & ~0x00000002);
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -1131,6 +1210,9 @@ public Builder clearPaths() {
*
*
* repeated string paths = 2;
+ *
+ * @param value The bytes of the paths to add.
+ * @return This builder for chaining.
*/
public Builder addPathsBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1157,6 +1239,8 @@ public Builder addPathsBytes(com.google.protobuf.ByteString value) {
*
*
* .google.devtools.cloudbuild.v1.TimeSpan timing = 3;
+ *
+ * @return Whether the timing field is set.
*/
public boolean hasTiming() {
return timingBuilder_ != null || timing_ != null;
@@ -1169,6 +1253,8 @@ public boolean hasTiming() {
*
*
* .google.devtools.cloudbuild.v1.TimeSpan timing = 3;
+ *
+ * @return The timing.
*/
public com.google.cloudbuild.v1.TimeSpan getTiming() {
if (timingBuilder_ == null) {
@@ -1372,7 +1458,6 @@ public com.google.cloudbuild.v1.Artifacts.ArtifactObjects getDefaultInstanceForT
}
}
- private int bitField0_;
public static final int IMAGES_FIELD_NUMBER = 1;
private com.google.protobuf.LazyStringList images_;
/**
@@ -1388,6 +1473,8 @@ public com.google.cloudbuild.v1.Artifacts.ArtifactObjects getDefaultInstanceForT
*
*
* repeated string images = 1;
+ *
+ * @return A list containing the images.
*/
public com.google.protobuf.ProtocolStringList getImagesList() {
return images_;
@@ -1405,6 +1492,8 @@ public com.google.protobuf.ProtocolStringList getImagesList() {
*
*
* repeated string images = 1;
+ *
+ * @return The count of images.
*/
public int getImagesCount() {
return images_.size();
@@ -1422,6 +1511,9 @@ public int getImagesCount() {
*
*
* repeated string images = 1;
+ *
+ * @param index The index of the element to return.
+ * @return The images at the given index.
*/
public java.lang.String getImages(int index) {
return images_.get(index);
@@ -1439,6 +1531,9 @@ public java.lang.String getImages(int index) {
*
*
* repeated string images = 1;
+ *
+ * @param index The index of the value to return.
+ * @return The bytes of the images at the given index.
*/
public com.google.protobuf.ByteString getImagesBytes(int index) {
return images_.getByteString(index);
@@ -1461,6 +1556,8 @@ public com.google.protobuf.ByteString getImagesBytes(int index) {
*
*
* .google.devtools.cloudbuild.v1.Artifacts.ArtifactObjects objects = 2;
+ *
+ * @return Whether the objects field is set.
*/
public boolean hasObjects() {
return objects_ != null;
@@ -1480,6 +1577,8 @@ public boolean hasObjects() {
*
*
* .google.devtools.cloudbuild.v1.Artifacts.ArtifactObjects objects = 2;
+ *
+ * @return The objects.
*/
public com.google.cloudbuild.v1.Artifacts.ArtifactObjects getObjects() {
return objects_ == null
@@ -1765,7 +1864,6 @@ public com.google.cloudbuild.v1.Artifacts build() {
public com.google.cloudbuild.v1.Artifacts buildPartial() {
com.google.cloudbuild.v1.Artifacts result = new com.google.cloudbuild.v1.Artifacts(this);
int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
if (((bitField0_ & 0x00000001) != 0)) {
images_ = images_.getUnmodifiableView();
bitField0_ = (bitField0_ & ~0x00000001);
@@ -1776,7 +1874,6 @@ public com.google.cloudbuild.v1.Artifacts buildPartial() {
} else {
result.objects_ = objectsBuilder_.build();
}
- result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@@ -1892,6 +1989,8 @@ private void ensureImagesIsMutable() {
*
*
* repeated string images = 1;
+ *
+ * @return A list containing the images.
*/
public com.google.protobuf.ProtocolStringList getImagesList() {
return images_.getUnmodifiableView();
@@ -1909,6 +2008,8 @@ public com.google.protobuf.ProtocolStringList getImagesList() {
*
*
* repeated string images = 1;
+ *
+ * @return The count of images.
*/
public int getImagesCount() {
return images_.size();
@@ -1926,6 +2027,9 @@ public int getImagesCount() {
*
*
* repeated string images = 1;
+ *
+ * @param index The index of the element to return.
+ * @return The images at the given index.
*/
public java.lang.String getImages(int index) {
return images_.get(index);
@@ -1943,6 +2047,9 @@ public java.lang.String getImages(int index) {
*
*
* repeated string images = 1;
+ *
+ * @param index The index of the value to return.
+ * @return The bytes of the images at the given index.
*/
public com.google.protobuf.ByteString getImagesBytes(int index) {
return images_.getByteString(index);
@@ -1960,6 +2067,10 @@ public com.google.protobuf.ByteString getImagesBytes(int index) {
*
*
* repeated string images = 1;
+ *
+ * @param index The index to set the value at.
+ * @param value The images to set.
+ * @return This builder for chaining.
*/
public Builder setImages(int index, java.lang.String value) {
if (value == null) {
@@ -1983,6 +2094,9 @@ public Builder setImages(int index, java.lang.String value) {
*
*
* repeated string images = 1;
+ *
+ * @param value The images to add.
+ * @return This builder for chaining.
*/
public Builder addImages(java.lang.String value) {
if (value == null) {
@@ -2006,6 +2120,9 @@ public Builder addImages(java.lang.String value) {
*
*
* repeated string images = 1;
+ *
+ * @param values The images to add.
+ * @return This builder for chaining.
*/
public Builder addAllImages(java.lang.Iterablerepeated string images = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearImages() {
images_ = com.google.protobuf.LazyStringArrayList.EMPTY;
@@ -2046,6 +2165,9 @@ public Builder clearImages() {
*
*
* repeated string images = 1;
+ *
+ * @param value The bytes of the images to add.
+ * @return This builder for chaining.
*/
public Builder addImagesBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -2079,6 +2201,8 @@ public Builder addImagesBytes(com.google.protobuf.ByteString value) {
*
*
* .google.devtools.cloudbuild.v1.Artifacts.ArtifactObjects objects = 2;
+ *
+ * @return Whether the objects field is set.
*/
public boolean hasObjects() {
return objectsBuilder_ != null || objects_ != null;
@@ -2098,6 +2222,8 @@ public boolean hasObjects() {
*
*
* .google.devtools.cloudbuild.v1.Artifacts.ArtifactObjects objects = 2;
+ *
+ * @return The objects.
*/
public com.google.cloudbuild.v1.Artifacts.ArtifactObjects getObjects() {
if (objectsBuilder_ == null) {
diff --git a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/ArtifactsOrBuilder.java b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/ArtifactsOrBuilder.java
index e98897a4..d59a718b 100644
--- a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/ArtifactsOrBuilder.java
+++ b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/ArtifactsOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -36,6 +36,8 @@ public interface ArtifactsOrBuilder
*
*
* repeated string images = 1;
+ *
+ * @return A list containing the images.
*/
java.util.Listrepeated string images = 1;
+ *
+ * @return The count of images.
*/
int getImagesCount();
/**
@@ -66,6 +70,9 @@ public interface ArtifactsOrBuilder
*
*
* repeated string images = 1;
+ *
+ * @param index The index of the element to return.
+ * @return The images at the given index.
*/
java.lang.String getImages(int index);
/**
@@ -81,6 +88,9 @@ public interface ArtifactsOrBuilder
*
*
* repeated string images = 1;
+ *
+ * @param index The index of the value to return.
+ * @return The bytes of the images at the given index.
*/
com.google.protobuf.ByteString getImagesBytes(int index);
@@ -99,6 +109,8 @@ public interface ArtifactsOrBuilder
*
*
* .google.devtools.cloudbuild.v1.Artifacts.ArtifactObjects objects = 2;
+ *
+ * @return Whether the objects field is set.
*/
boolean hasObjects();
/**
@@ -116,6 +128,8 @@ public interface ArtifactsOrBuilder
*
*
* .google.devtools.cloudbuild.v1.Artifacts.ArtifactObjects objects = 2;
+ *
+ * @return The objects.
*/
com.google.cloudbuild.v1.Artifacts.ArtifactObjects getObjects();
/**
diff --git a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/Build.java b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/Build.java
index 2ff064ca..d6b4dff7 100644
--- a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/Build.java
+++ b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/Build.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -64,6 +64,12 @@ private Build() {
secrets_ = java.util.Collections.emptyList();
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new Build();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -179,9 +185,9 @@ private Build(
}
case 90:
{
- if (!((mutable_bitField0_ & 0x00000020) != 0)) {
+ if (!((mutable_bitField0_ & 0x00000001) != 0)) {
steps_ = new java.util.ArrayListCANCELLED = 7;
*/
CANCELLED(7),
+ /**
+ *
+ *
+ * + * Build was enqueued for longer than the value of `queue_ttl`. + *+ * + *
EXPIRED = 9;
+ */
+ EXPIRED(9),
UNRECOGNIZED(-1),
;
@@ -578,6 +609,16 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum {
* CANCELLED = 7;
*/
public static final int CANCELLED_VALUE = 7;
+ /**
+ *
+ *
+ * + * Build was enqueued for longer than the value of `queue_ttl`. + *+ * + *
EXPIRED = 9;
+ */
+ public static final int EXPIRED_VALUE = 9;
public final int getNumber() {
if (this == UNRECOGNIZED) {
@@ -587,12 +628,20 @@ public final int getNumber() {
return value;
}
- /** @deprecated Use {@link #forNumber(int)} instead. */
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
@java.lang.Deprecated
public static Status valueOf(int value) {
return forNumber(value);
}
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ */
public static Status forNumber(int value) {
switch (value) {
case 0:
@@ -611,6 +660,8 @@ public static Status forNumber(int value) {
return TIMEOUT;
case 7:
return CANCELLED;
+ case 9:
+ return EXPIRED;
default:
return null;
}
@@ -660,7 +711,6 @@ private Status(int value) {
// @@protoc_insertion_point(enum_scope:google.devtools.cloudbuild.v1.Build.Status)
}
- private int bitField0_;
public static final int ID_FIELD_NUMBER = 1;
private volatile java.lang.Object id_;
/**
@@ -670,7 +720,9 @@ private Status(int value) {
* Output only. Unique identifier of the build.
*
*
- * string id = 1;
+ * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The id.
*/
public java.lang.String getId() {
java.lang.Object ref = id_;
@@ -690,7 +742,9 @@ public java.lang.String getId() {
* Output only. Unique identifier of the build.
*
*
- * string id = 1;
+ * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The bytes for id.
*/
public com.google.protobuf.ByteString getIdBytes() {
java.lang.Object ref = id_;
@@ -713,7 +767,9 @@ public com.google.protobuf.ByteString getIdBytes() {
* Output only. ID of the project.
*
*
- * string project_id = 16;
+ * string project_id = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The projectId.
*/
public java.lang.String getProjectId() {
java.lang.Object ref = projectId_;
@@ -733,7 +789,9 @@ public java.lang.String getProjectId() {
* Output only. ID of the project.
*
*
- * string project_id = 16;
+ * string project_id = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The bytes for projectId.
*/
public com.google.protobuf.ByteString getProjectIdBytes() {
java.lang.Object ref = projectId_;
@@ -757,6 +815,8 @@ public com.google.protobuf.ByteString getProjectIdBytes() {
*
*
* .google.devtools.cloudbuild.v1.Build.Status status = 2;
+ *
+ * @return The enum numeric value on the wire for status.
*/
public int getStatusValue() {
return status_;
@@ -769,6 +829,8 @@ public int getStatusValue() {
*
*
* .google.devtools.cloudbuild.v1.Build.Status status = 2;
+ *
+ * @return The status.
*/
public com.google.cloudbuild.v1.Build.Status getStatus() {
@SuppressWarnings("deprecation")
@@ -787,6 +849,8 @@ public com.google.cloudbuild.v1.Build.Status getStatus() {
*
*
* string status_detail = 24;
+ *
+ * @return The statusDetail.
*/
public java.lang.String getStatusDetail() {
java.lang.Object ref = statusDetail_;
@@ -807,6 +871,8 @@ public java.lang.String getStatusDetail() {
*
*
* string status_detail = 24;
+ *
+ * @return The bytes for statusDetail.
*/
public com.google.protobuf.ByteString getStatusDetailBytes() {
java.lang.Object ref = statusDetail_;
@@ -830,6 +896,8 @@ public com.google.protobuf.ByteString getStatusDetailBytes() {
*
*
* .google.devtools.cloudbuild.v1.Source source = 3;
+ *
+ * @return Whether the source field is set.
*/
public boolean hasSource() {
return source_ != null;
@@ -842,6 +910,8 @@ public boolean hasSource() {
*
*
* .google.devtools.cloudbuild.v1.Source source = 3;
+ *
+ * @return The source.
*/
public com.google.cloudbuild.v1.Source getSource() {
return source_ == null ? com.google.cloudbuild.v1.Source.getDefaultInstance() : source_;
@@ -932,7 +1002,11 @@ public com.google.cloudbuild.v1.BuildStepOrBuilder getStepsOrBuilder(int index)
* Output only. Results of the build.
*
*
- * .google.devtools.cloudbuild.v1.Results results = 10;
+ *
+ * .google.devtools.cloudbuild.v1.Results results = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return Whether the results field is set.
*/
public boolean hasResults() {
return results_ != null;
@@ -944,7 +1018,11 @@ public boolean hasResults() {
* Output only. Results of the build.
*
*
- * .google.devtools.cloudbuild.v1.Results results = 10;
+ *
+ * .google.devtools.cloudbuild.v1.Results results = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The results.
*/
public com.google.cloudbuild.v1.Results getResults() {
return results_ == null ? com.google.cloudbuild.v1.Results.getDefaultInstance() : results_;
@@ -956,7 +1034,9 @@ public com.google.cloudbuild.v1.Results getResults() {
* Output only. Results of the build.
*
*
- * .google.devtools.cloudbuild.v1.Results results = 10;
+ *
+ * .google.devtools.cloudbuild.v1.Results results = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
*/
public com.google.cloudbuild.v1.ResultsOrBuilder getResultsOrBuilder() {
return getResults();
@@ -971,7 +1051,10 @@ public com.google.cloudbuild.v1.ResultsOrBuilder getResultsOrBuilder() {
* Output only. Time at which the request to create the build was received.
*
*
- * .google.protobuf.Timestamp create_time = 6;
+ * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return Whether the createTime field is set.
*/
public boolean hasCreateTime() {
return createTime_ != null;
@@ -983,7 +1066,10 @@ public boolean hasCreateTime() {
* Output only. Time at which the request to create the build was received.
*
*
- * .google.protobuf.Timestamp create_time = 6;
+ * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The createTime.
*/
public com.google.protobuf.Timestamp getCreateTime() {
return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_;
@@ -995,7 +1081,8 @@ public com.google.protobuf.Timestamp getCreateTime() {
* Output only. Time at which the request to create the build was received.
*
*
- * .google.protobuf.Timestamp create_time = 6;
+ * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
*/
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
return getCreateTime();
@@ -1010,7 +1097,10 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
* Output only. Time at which execution of the build was started.
*
*
- * .google.protobuf.Timestamp start_time = 7;
+ * .google.protobuf.Timestamp start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return Whether the startTime field is set.
*/
public boolean hasStartTime() {
return startTime_ != null;
@@ -1022,7 +1112,10 @@ public boolean hasStartTime() {
* Output only. Time at which execution of the build was started.
*
*
- * .google.protobuf.Timestamp start_time = 7;
+ * .google.protobuf.Timestamp start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The startTime.
*/
public com.google.protobuf.Timestamp getStartTime() {
return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_;
@@ -1034,7 +1127,8 @@ public com.google.protobuf.Timestamp getStartTime() {
* Output only. Time at which execution of the build was started.
*
*
- * .google.protobuf.Timestamp start_time = 7;
+ * .google.protobuf.Timestamp start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
*/
public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
return getStartTime();
@@ -1051,7 +1145,10 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
* build's execution.
*
*
- * .google.protobuf.Timestamp finish_time = 8;
+ * .google.protobuf.Timestamp finish_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return Whether the finishTime field is set.
*/
public boolean hasFinishTime() {
return finishTime_ != null;
@@ -1065,7 +1162,10 @@ public boolean hasFinishTime() {
* build's execution.
*
*
- * .google.protobuf.Timestamp finish_time = 8;
+ * .google.protobuf.Timestamp finish_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The finishTime.
*/
public com.google.protobuf.Timestamp getFinishTime() {
return finishTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : finishTime_;
@@ -1079,7 +1179,8 @@ public com.google.protobuf.Timestamp getFinishTime() {
* build's execution.
*
*
- * .google.protobuf.Timestamp finish_time = 8;
+ * .google.protobuf.Timestamp finish_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
*/
public com.google.protobuf.TimestampOrBuilder getFinishTimeOrBuilder() {
return getFinishTime();
@@ -1098,6 +1199,8 @@ public com.google.protobuf.TimestampOrBuilder getFinishTimeOrBuilder() {
*
*
* .google.protobuf.Duration timeout = 12;
+ *
+ * @return Whether the timeout field is set.
*/
public boolean hasTimeout() {
return timeout_ != null;
@@ -1113,6 +1216,8 @@ public boolean hasTimeout() {
*
*
* .google.protobuf.Duration timeout = 12;
+ *
+ * @return The timeout.
*/
public com.google.protobuf.Duration getTimeout() {
return timeout_ == null ? com.google.protobuf.Duration.getDefaultInstance() : timeout_;
@@ -1149,6 +1254,8 @@ public com.google.protobuf.DurationOrBuilder getTimeoutOrBuilder() {
*
*
* repeated string images = 13;
+ *
+ * @return A list containing the images.
*/
public com.google.protobuf.ProtocolStringList getImagesList() {
return images_;
@@ -1167,6 +1274,8 @@ public com.google.protobuf.ProtocolStringList getImagesList() {
*
*
* repeated string images = 13;
+ *
+ * @return The count of images.
*/
public int getImagesCount() {
return images_.size();
@@ -1185,6 +1294,9 @@ public int getImagesCount() {
*
*
* repeated string images = 13;
+ *
+ * @param index The index of the element to return.
+ * @return The images at the given index.
*/
public java.lang.String getImages(int index) {
return images_.get(index);
@@ -1203,11 +1315,66 @@ public java.lang.String getImages(int index) {
*
*
* repeated string images = 13;
+ *
+ * @param index The index of the value to return.
+ * @return The bytes of the images at the given index.
*/
public com.google.protobuf.ByteString getImagesBytes(int index) {
return images_.getByteString(index);
}
+ public static final int QUEUE_TTL_FIELD_NUMBER = 40;
+ private com.google.protobuf.Duration queueTtl_;
+ /**
+ *
+ *
+ * + * TTL in queue for this build. If provided and the build is enqueued longer + * than this value, the build will expire and the build status will be + * `EXPIRED`. + * The TTL starts ticking from create_time. + *+ * + *
.google.protobuf.Duration queue_ttl = 40;
+ *
+ * @return Whether the queueTtl field is set.
+ */
+ public boolean hasQueueTtl() {
+ return queueTtl_ != null;
+ }
+ /**
+ *
+ *
+ * + * TTL in queue for this build. If provided and the build is enqueued longer + * than this value, the build will expire and the build status will be + * `EXPIRED`. + * The TTL starts ticking from create_time. + *+ * + *
.google.protobuf.Duration queue_ttl = 40;
+ *
+ * @return The queueTtl.
+ */
+ public com.google.protobuf.Duration getQueueTtl() {
+ return queueTtl_ == null ? com.google.protobuf.Duration.getDefaultInstance() : queueTtl_;
+ }
+ /**
+ *
+ *
+ * + * TTL in queue for this build. If provided and the build is enqueued longer + * than this value, the build will expire and the build status will be + * `EXPIRED`. + * The TTL starts ticking from create_time. + *+ * + *
.google.protobuf.Duration queue_ttl = 40;
+ */
+ public com.google.protobuf.DurationOrBuilder getQueueTtlOrBuilder() {
+ return getQueueTtl();
+ }
+
public static final int ARTIFACTS_FIELD_NUMBER = 37;
private com.google.cloudbuild.v1.Artifacts artifacts_;
/**
@@ -1219,6 +1386,8 @@ public com.google.protobuf.ByteString getImagesBytes(int index) {
*
*
* .google.devtools.cloudbuild.v1.Artifacts artifacts = 37;
+ *
+ * @return Whether the artifacts field is set.
*/
public boolean hasArtifacts() {
return artifacts_ != null;
@@ -1232,6 +1401,8 @@ public boolean hasArtifacts() {
*
*
* .google.devtools.cloudbuild.v1.Artifacts artifacts = 37;
+ *
+ * @return The artifacts.
*/
public com.google.cloudbuild.v1.Artifacts getArtifacts() {
return artifacts_ == null
@@ -1265,6 +1436,8 @@ public com.google.cloudbuild.v1.ArtifactsOrBuilder getArtifactsOrBuilder() {
*
*
* string logs_bucket = 19;
+ *
+ * @return The logsBucket.
*/
public java.lang.String getLogsBucket() {
java.lang.Object ref = logsBucket_;
@@ -1288,6 +1461,8 @@ public java.lang.String getLogsBucket() {
*
*
* string logs_bucket = 19;
+ *
+ * @return The bytes for logsBucket.
*/
public com.google.protobuf.ByteString getLogsBucketBytes() {
java.lang.Object ref = logsBucket_;
@@ -1311,6 +1486,8 @@ public com.google.protobuf.ByteString getLogsBucketBytes() {
*
*
* .google.devtools.cloudbuild.v1.SourceProvenance source_provenance = 21;
+ *
+ * @return Whether the sourceProvenance field is set.
*/
public boolean hasSourceProvenance() {
return sourceProvenance_ != null;
@@ -1323,6 +1500,8 @@ public boolean hasSourceProvenance() {
*
*
* .google.devtools.cloudbuild.v1.SourceProvenance source_provenance = 21;
+ *
+ * @return The sourceProvenance.
*/
public com.google.cloudbuild.v1.SourceProvenance getSourceProvenance() {
return sourceProvenance_ == null
@@ -1353,6 +1532,8 @@ public com.google.cloudbuild.v1.SourceProvenanceOrBuilder getSourceProvenanceOrB
*
*
* string build_trigger_id = 22;
+ *
+ * @return The buildTriggerId.
*/
public java.lang.String getBuildTriggerId() {
java.lang.Object ref = buildTriggerId_;
@@ -1374,6 +1555,8 @@ public java.lang.String getBuildTriggerId() {
*
*
* string build_trigger_id = 22;
+ *
+ * @return The bytes for buildTriggerId.
*/
public com.google.protobuf.ByteString getBuildTriggerIdBytes() {
java.lang.Object ref = buildTriggerId_;
@@ -1397,6 +1580,8 @@ public com.google.protobuf.ByteString getBuildTriggerIdBytes() {
*
*
* .google.devtools.cloudbuild.v1.BuildOptions options = 23;
+ *
+ * @return Whether the options field is set.
*/
public boolean hasOptions() {
return options_ != null;
@@ -1409,6 +1594,8 @@ public boolean hasOptions() {
*
*
* .google.devtools.cloudbuild.v1.BuildOptions options = 23;
+ *
+ * @return The options.
*/
public com.google.cloudbuild.v1.BuildOptions getOptions() {
return options_ == null ? com.google.cloudbuild.v1.BuildOptions.getDefaultInstance() : options_;
@@ -1435,7 +1622,9 @@ public com.google.cloudbuild.v1.BuildOptionsOrBuilder getOptionsOrBuilder() {
* Output only. URL to logs for this build in Google Cloud Console.
*
*
- * string log_url = 25;
+ * string log_url = 25 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The logUrl.
*/
public java.lang.String getLogUrl() {
java.lang.Object ref = logUrl_;
@@ -1455,7 +1644,9 @@ public java.lang.String getLogUrl() {
* Output only. URL to logs for this build in Google Cloud Console.
*
*
- * string log_url = 25;
+ * string log_url = 25 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The bytes for logUrl.
*/
public com.google.protobuf.ByteString getLogUrlBytes() {
java.lang.Object ref = logUrl_;
@@ -1575,6 +1766,8 @@ public java.lang.String getSubstitutionsOrThrow(java.lang.String key) {
*
*
* repeated string tags = 31;
+ *
+ * @return A list containing the tags.
*/
public com.google.protobuf.ProtocolStringList getTagsList() {
return tags_;
@@ -1587,6 +1780,8 @@ public com.google.protobuf.ProtocolStringList getTagsList() {
*
*
* repeated string tags = 31;
+ *
+ * @return The count of tags.
*/
public int getTagsCount() {
return tags_.size();
@@ -1599,6 +1794,9 @@ public int getTagsCount() {
*
*
* repeated string tags = 31;
+ *
+ * @param index The index of the element to return.
+ * @return The tags at the given index.
*/
public java.lang.String getTags(int index) {
return tags_.get(index);
@@ -1611,6 +1809,9 @@ public java.lang.String getTags(int index) {
*
*
* repeated string tags = 31;
+ *
+ * @param index The index of the value to return.
+ * @return The bytes of the tags at the given index.
*/
public com.google.protobuf.ByteString getTagsBytes(int index) {
return tags_.getByteString(index);
@@ -1721,7 +1922,9 @@ public int getTimingCount() {
* these keys will not be included.
*
*
- * map<string, .google.devtools.cloudbuild.v1.TimeSpan> timing = 33;
+ *
+ * map<string, .google.devtools.cloudbuild.v1.TimeSpan> timing = 33 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
*/
public boolean containsTiming(java.lang.String key) {
if (key == null) {
@@ -1747,7 +1950,9 @@ public java.util.Mapmap<string, .google.devtools.cloudbuild.v1.TimeSpan> timing = 33;
+ *
+ * map<string, .google.devtools.cloudbuild.v1.TimeSpan> timing = 33 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
*/
public java.util.Mapmap<string, .google.devtools.cloudbuild.v1.TimeSpan> timing = 33;
+ *
+ * map<string, .google.devtools.cloudbuild.v1.TimeSpan> timing = 33 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
*/
public com.google.cloudbuild.v1.TimeSpan getTimingOrDefault(
java.lang.String key, com.google.cloudbuild.v1.TimeSpan defaultValue) {
@@ -1789,7 +1996,9 @@ public com.google.cloudbuild.v1.TimeSpan getTimingOrDefault(
* these keys will not be included.
*
*
- * map<string, .google.devtools.cloudbuild.v1.TimeSpan> timing = 33;
+ *
+ * map<string, .google.devtools.cloudbuild.v1.TimeSpan> timing = 33 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
*/
public com.google.cloudbuild.v1.TimeSpan getTimingOrThrow(java.lang.String key) {
if (key == null) {
@@ -1881,6 +2090,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (artifacts_ != null) {
output.writeMessage(37, getArtifacts());
}
+ if (queueTtl_ != null) {
+ output.writeMessage(40, getQueueTtl());
+ }
unknownFields.writeTo(output);
}
@@ -1980,6 +2192,9 @@ public int getSerializedSize() {
if (artifacts_ != null) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(37, getArtifacts());
}
+ if (queueTtl_ != null) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(40, getQueueTtl());
+ }
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
@@ -2025,6 +2240,10 @@ public boolean equals(final java.lang.Object obj) {
if (!getTimeout().equals(other.getTimeout())) return false;
}
if (!getImagesList().equals(other.getImagesList())) return false;
+ if (hasQueueTtl() != other.hasQueueTtl()) return false;
+ if (hasQueueTtl()) {
+ if (!getQueueTtl().equals(other.getQueueTtl())) return false;
+ }
if (hasArtifacts() != other.hasArtifacts()) return false;
if (hasArtifacts()) {
if (!getArtifacts().equals(other.getArtifacts())) return false;
@@ -2095,6 +2314,10 @@ public int hashCode() {
hash = (37 * hash) + IMAGES_FIELD_NUMBER;
hash = (53 * hash) + getImagesList().hashCode();
}
+ if (hasQueueTtl()) {
+ hash = (37 * hash) + QUEUE_TTL_FIELD_NUMBER;
+ hash = (53 * hash) + getQueueTtl().hashCode();
+ }
if (hasArtifacts()) {
hash = (37 * hash) + ARTIFACTS_FIELD_NUMBER;
hash = (53 * hash) + getArtifacts().hashCode();
@@ -2328,7 +2551,7 @@ public Builder clear() {
}
if (stepsBuilder_ == null) {
steps_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000020);
+ bitField0_ = (bitField0_ & ~0x00000001);
} else {
stepsBuilder_.clear();
}
@@ -2363,7 +2586,13 @@ public Builder clear() {
timeoutBuilder_ = null;
}
images_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- bitField0_ = (bitField0_ & ~0x00000800);
+ bitField0_ = (bitField0_ & ~0x00000002);
+ if (queueTtlBuilder_ == null) {
+ queueTtl_ = null;
+ } else {
+ queueTtl_ = null;
+ queueTtlBuilder_ = null;
+ }
if (artifactsBuilder_ == null) {
artifacts_ = null;
} else {
@@ -2390,10 +2619,10 @@ public Builder clear() {
internalGetMutableSubstitutions().clear();
tags_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- bitField0_ = (bitField0_ & ~0x00080000);
+ bitField0_ = (bitField0_ & ~0x00000008);
if (secretsBuilder_ == null) {
secrets_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00100000);
+ bitField0_ = (bitField0_ & ~0x00000010);
} else {
secretsBuilder_.clear();
}
@@ -2425,7 +2654,6 @@ public com.google.cloudbuild.v1.Build build() {
public com.google.cloudbuild.v1.Build buildPartial() {
com.google.cloudbuild.v1.Build result = new com.google.cloudbuild.v1.Build(this);
int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
result.id_ = id_;
result.projectId_ = projectId_;
result.status_ = status_;
@@ -2436,9 +2664,9 @@ public com.google.cloudbuild.v1.Build buildPartial() {
result.source_ = sourceBuilder_.build();
}
if (stepsBuilder_ == null) {
- if (((bitField0_ & 0x00000020) != 0)) {
+ if (((bitField0_ & 0x00000001) != 0)) {
steps_ = java.util.Collections.unmodifiableList(steps_);
- bitField0_ = (bitField0_ & ~0x00000020);
+ bitField0_ = (bitField0_ & ~0x00000001);
}
result.steps_ = steps_;
} else {
@@ -2469,11 +2697,16 @@ public com.google.cloudbuild.v1.Build buildPartial() {
} else {
result.timeout_ = timeoutBuilder_.build();
}
- if (((bitField0_ & 0x00000800) != 0)) {
+ if (((bitField0_ & 0x00000002) != 0)) {
images_ = images_.getUnmodifiableView();
- bitField0_ = (bitField0_ & ~0x00000800);
+ bitField0_ = (bitField0_ & ~0x00000002);
}
result.images_ = images_;
+ if (queueTtlBuilder_ == null) {
+ result.queueTtl_ = queueTtl_;
+ } else {
+ result.queueTtl_ = queueTtlBuilder_.build();
+ }
if (artifactsBuilder_ == null) {
result.artifacts_ = artifacts_;
} else {
@@ -2494,15 +2727,15 @@ public com.google.cloudbuild.v1.Build buildPartial() {
result.logUrl_ = logUrl_;
result.substitutions_ = internalGetSubstitutions();
result.substitutions_.makeImmutable();
- if (((bitField0_ & 0x00080000) != 0)) {
+ if (((bitField0_ & 0x00000008) != 0)) {
tags_ = tags_.getUnmodifiableView();
- bitField0_ = (bitField0_ & ~0x00080000);
+ bitField0_ = (bitField0_ & ~0x00000008);
}
result.tags_ = tags_;
if (secretsBuilder_ == null) {
- if (((bitField0_ & 0x00100000) != 0)) {
+ if (((bitField0_ & 0x00000010) != 0)) {
secrets_ = java.util.Collections.unmodifiableList(secrets_);
- bitField0_ = (bitField0_ & ~0x00100000);
+ bitField0_ = (bitField0_ & ~0x00000010);
}
result.secrets_ = secrets_;
} else {
@@ -2510,7 +2743,6 @@ public com.google.cloudbuild.v1.Build buildPartial() {
}
result.timing_ = internalGetTiming();
result.timing_.makeImmutable();
- result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@@ -2582,7 +2814,7 @@ public Builder mergeFrom(com.google.cloudbuild.v1.Build other) {
if (!other.steps_.isEmpty()) {
if (steps_.isEmpty()) {
steps_ = other.steps_;
- bitField0_ = (bitField0_ & ~0x00000020);
+ bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureStepsIsMutable();
steps_.addAll(other.steps_);
@@ -2595,7 +2827,7 @@ public Builder mergeFrom(com.google.cloudbuild.v1.Build other) {
stepsBuilder_.dispose();
stepsBuilder_ = null;
steps_ = other.steps_;
- bitField0_ = (bitField0_ & ~0x00000020);
+ bitField0_ = (bitField0_ & ~0x00000001);
stepsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
? getStepsFieldBuilder()
@@ -2623,13 +2855,16 @@ public Builder mergeFrom(com.google.cloudbuild.v1.Build other) {
if (!other.images_.isEmpty()) {
if (images_.isEmpty()) {
images_ = other.images_;
- bitField0_ = (bitField0_ & ~0x00000800);
+ bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureImagesIsMutable();
images_.addAll(other.images_);
}
onChanged();
}
+ if (other.hasQueueTtl()) {
+ mergeQueueTtl(other.getQueueTtl());
+ }
if (other.hasArtifacts()) {
mergeArtifacts(other.getArtifacts());
}
@@ -2655,7 +2890,7 @@ public Builder mergeFrom(com.google.cloudbuild.v1.Build other) {
if (!other.tags_.isEmpty()) {
if (tags_.isEmpty()) {
tags_ = other.tags_;
- bitField0_ = (bitField0_ & ~0x00080000);
+ bitField0_ = (bitField0_ & ~0x00000008);
} else {
ensureTagsIsMutable();
tags_.addAll(other.tags_);
@@ -2666,7 +2901,7 @@ public Builder mergeFrom(com.google.cloudbuild.v1.Build other) {
if (!other.secrets_.isEmpty()) {
if (secrets_.isEmpty()) {
secrets_ = other.secrets_;
- bitField0_ = (bitField0_ & ~0x00100000);
+ bitField0_ = (bitField0_ & ~0x00000010);
} else {
ensureSecretsIsMutable();
secrets_.addAll(other.secrets_);
@@ -2679,7 +2914,7 @@ public Builder mergeFrom(com.google.cloudbuild.v1.Build other) {
secretsBuilder_.dispose();
secretsBuilder_ = null;
secrets_ = other.secrets_;
- bitField0_ = (bitField0_ & ~0x00100000);
+ bitField0_ = (bitField0_ & ~0x00000010);
secretsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
? getSecretsFieldBuilder()
@@ -2729,7 +2964,9 @@ public Builder mergeFrom(
* Output only. Unique identifier of the build.
*
*
- * string id = 1;
+ * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The id.
*/
public java.lang.String getId() {
java.lang.Object ref = id_;
@@ -2749,7 +2986,9 @@ public java.lang.String getId() {
* Output only. Unique identifier of the build.
*
*
- * string id = 1;
+ * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The bytes for id.
*/
public com.google.protobuf.ByteString getIdBytes() {
java.lang.Object ref = id_;
@@ -2769,7 +3008,10 @@ public com.google.protobuf.ByteString getIdBytes() {
* Output only. Unique identifier of the build.
*
*
- * string id = 1;
+ * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @param value The id to set.
+ * @return This builder for chaining.
*/
public Builder setId(java.lang.String value) {
if (value == null) {
@@ -2787,7 +3029,9 @@ public Builder setId(java.lang.String value) {
* Output only. Unique identifier of the build.
*
*
- * string id = 1;
+ * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return This builder for chaining.
*/
public Builder clearId() {
@@ -2802,7 +3046,10 @@ public Builder clearId() {
* Output only. Unique identifier of the build.
*
*
- * string id = 1;
+ * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @param value The bytes for id to set.
+ * @return This builder for chaining.
*/
public Builder setIdBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -2823,7 +3070,9 @@ public Builder setIdBytes(com.google.protobuf.ByteString value) {
* Output only. ID of the project.
*
*
- * string project_id = 16;
+ * string project_id = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The projectId.
*/
public java.lang.String getProjectId() {
java.lang.Object ref = projectId_;
@@ -2843,7 +3092,9 @@ public java.lang.String getProjectId() {
* Output only. ID of the project.
*
*
- * string project_id = 16;
+ * string project_id = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The bytes for projectId.
*/
public com.google.protobuf.ByteString getProjectIdBytes() {
java.lang.Object ref = projectId_;
@@ -2863,7 +3114,10 @@ public com.google.protobuf.ByteString getProjectIdBytes() {
* Output only. ID of the project.
*
*
- * string project_id = 16;
+ * string project_id = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @param value The projectId to set.
+ * @return This builder for chaining.
*/
public Builder setProjectId(java.lang.String value) {
if (value == null) {
@@ -2881,7 +3135,9 @@ public Builder setProjectId(java.lang.String value) {
* Output only. ID of the project.
*
*
- * string project_id = 16;
+ * string project_id = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return This builder for chaining.
*/
public Builder clearProjectId() {
@@ -2896,7 +3152,10 @@ public Builder clearProjectId() {
* Output only. ID of the project.
*
*
- * string project_id = 16;
+ * string project_id = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @param value The bytes for projectId to set.
+ * @return This builder for chaining.
*/
public Builder setProjectIdBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -2918,6 +3177,8 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) {
*
*
* .google.devtools.cloudbuild.v1.Build.Status status = 2;
+ *
+ * @return The enum numeric value on the wire for status.
*/
public int getStatusValue() {
return status_;
@@ -2930,6 +3191,9 @@ public int getStatusValue() {
*
*
* .google.devtools.cloudbuild.v1.Build.Status status = 2;
+ *
+ * @param value The enum numeric value on the wire for status to set.
+ * @return This builder for chaining.
*/
public Builder setStatusValue(int value) {
status_ = value;
@@ -2944,6 +3208,8 @@ public Builder setStatusValue(int value) {
*
*
* .google.devtools.cloudbuild.v1.Build.Status status = 2;
+ *
+ * @return The status.
*/
public com.google.cloudbuild.v1.Build.Status getStatus() {
@SuppressWarnings("deprecation")
@@ -2959,6 +3225,9 @@ public com.google.cloudbuild.v1.Build.Status getStatus() {
*
*
* .google.devtools.cloudbuild.v1.Build.Status status = 2;
+ *
+ * @param value The status to set.
+ * @return This builder for chaining.
*/
public Builder setStatus(com.google.cloudbuild.v1.Build.Status value) {
if (value == null) {
@@ -2977,6 +3246,8 @@ public Builder setStatus(com.google.cloudbuild.v1.Build.Status value) {
*
*
* .google.devtools.cloudbuild.v1.Build.Status status = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearStatus() {
@@ -2994,6 +3265,8 @@ public Builder clearStatus() {
*
*
* string status_detail = 24;
+ *
+ * @return The statusDetail.
*/
public java.lang.String getStatusDetail() {
java.lang.Object ref = statusDetail_;
@@ -3014,6 +3287,8 @@ public java.lang.String getStatusDetail() {
*
*
* string status_detail = 24;
+ *
+ * @return The bytes for statusDetail.
*/
public com.google.protobuf.ByteString getStatusDetailBytes() {
java.lang.Object ref = statusDetail_;
@@ -3034,6 +3309,9 @@ public com.google.protobuf.ByteString getStatusDetailBytes() {
*
*
* string status_detail = 24;
+ *
+ * @param value The statusDetail to set.
+ * @return This builder for chaining.
*/
public Builder setStatusDetail(java.lang.String value) {
if (value == null) {
@@ -3052,6 +3330,8 @@ public Builder setStatusDetail(java.lang.String value) {
*
*
* string status_detail = 24;
+ *
+ * @return This builder for chaining.
*/
public Builder clearStatusDetail() {
@@ -3067,6 +3347,9 @@ public Builder clearStatusDetail() {
*
*
* string status_detail = 24;
+ *
+ * @param value The bytes for statusDetail to set.
+ * @return This builder for chaining.
*/
public Builder setStatusDetailBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -3093,6 +3376,8 @@ public Builder setStatusDetailBytes(com.google.protobuf.ByteString value) {
*
*
* .google.devtools.cloudbuild.v1.Source source = 3;
+ *
+ * @return Whether the source field is set.
*/
public boolean hasSource() {
return sourceBuilder_ != null || source_ != null;
@@ -3105,6 +3390,8 @@ public boolean hasSource() {
*
*
* .google.devtools.cloudbuild.v1.Source source = 3;
+ *
+ * @return The source.
*/
public com.google.cloudbuild.v1.Source getSource() {
if (sourceBuilder_ == null) {
@@ -3258,9 +3545,9 @@ public com.google.cloudbuild.v1.SourceOrBuilder getSourceOrBuilder() {
java.util.Collections.emptyList();
private void ensureStepsIsMutable() {
- if (!((bitField0_ & 0x00000020) != 0)) {
+ if (!((bitField0_ & 0x00000001) != 0)) {
steps_ = new java.util.ArrayList.google.devtools.cloudbuild.v1.Results results = 10;
+ *
+ * .google.devtools.cloudbuild.v1.Results results = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return Whether the results field is set.
*/
public boolean hasResults() {
return resultsBuilder_ != null || results_ != null;
@@ -3625,7 +3916,11 @@ public boolean hasResults() {
* Output only. Results of the build.
*
*
- * .google.devtools.cloudbuild.v1.Results results = 10;
+ *
+ * .google.devtools.cloudbuild.v1.Results results = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The results.
*/
public com.google.cloudbuild.v1.Results getResults() {
if (resultsBuilder_ == null) {
@@ -3641,7 +3936,9 @@ public com.google.cloudbuild.v1.Results getResults() {
* Output only. Results of the build.
*
*
- * .google.devtools.cloudbuild.v1.Results results = 10;
+ *
+ * .google.devtools.cloudbuild.v1.Results results = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
*/
public Builder setResults(com.google.cloudbuild.v1.Results value) {
if (resultsBuilder_ == null) {
@@ -3663,7 +3960,9 @@ public Builder setResults(com.google.cloudbuild.v1.Results value) {
* Output only. Results of the build.
*
*
- * .google.devtools.cloudbuild.v1.Results results = 10;
+ *
+ * .google.devtools.cloudbuild.v1.Results results = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
*/
public Builder setResults(com.google.cloudbuild.v1.Results.Builder builderForValue) {
if (resultsBuilder_ == null) {
@@ -3682,7 +3981,9 @@ public Builder setResults(com.google.cloudbuild.v1.Results.Builder builderForVal
* Output only. Results of the build.
*
*
- * .google.devtools.cloudbuild.v1.Results results = 10;
+ *
+ * .google.devtools.cloudbuild.v1.Results results = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
*/
public Builder mergeResults(com.google.cloudbuild.v1.Results value) {
if (resultsBuilder_ == null) {
@@ -3706,7 +4007,9 @@ public Builder mergeResults(com.google.cloudbuild.v1.Results value) {
* Output only. Results of the build.
*
*
- * .google.devtools.cloudbuild.v1.Results results = 10;
+ *
+ * .google.devtools.cloudbuild.v1.Results results = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
*/
public Builder clearResults() {
if (resultsBuilder_ == null) {
@@ -3726,7 +4029,9 @@ public Builder clearResults() {
* Output only. Results of the build.
*
*
- * .google.devtools.cloudbuild.v1.Results results = 10;
+ *
+ * .google.devtools.cloudbuild.v1.Results results = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
*/
public com.google.cloudbuild.v1.Results.Builder getResultsBuilder() {
@@ -3740,7 +4045,9 @@ public com.google.cloudbuild.v1.Results.Builder getResultsBuilder() {
* Output only. Results of the build.
*
*
- * .google.devtools.cloudbuild.v1.Results results = 10;
+ *
+ * .google.devtools.cloudbuild.v1.Results results = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
*/
public com.google.cloudbuild.v1.ResultsOrBuilder getResultsOrBuilder() {
if (resultsBuilder_ != null) {
@@ -3756,7 +4063,9 @@ public com.google.cloudbuild.v1.ResultsOrBuilder getResultsOrBuilder() {
* Output only. Results of the build.
*
*
- * .google.devtools.cloudbuild.v1.Results results = 10;
+ *
+ * .google.devtools.cloudbuild.v1.Results results = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.cloudbuild.v1.Results,
@@ -3788,7 +4097,11 @@ public com.google.cloudbuild.v1.ResultsOrBuilder getResultsOrBuilder() {
* Output only. Time at which the request to create the build was received.
*
*
- * .google.protobuf.Timestamp create_time = 6;
+ *
+ * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return Whether the createTime field is set.
*/
public boolean hasCreateTime() {
return createTimeBuilder_ != null || createTime_ != null;
@@ -3800,7 +4113,11 @@ public boolean hasCreateTime() {
* Output only. Time at which the request to create the build was received.
*
*
- * .google.protobuf.Timestamp create_time = 6;
+ *
+ * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The createTime.
*/
public com.google.protobuf.Timestamp getCreateTime() {
if (createTimeBuilder_ == null) {
@@ -3818,7 +4135,9 @@ public com.google.protobuf.Timestamp getCreateTime() {
* Output only. Time at which the request to create the build was received.
*
*
- * .google.protobuf.Timestamp create_time = 6;
+ *
+ * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
*/
public Builder setCreateTime(com.google.protobuf.Timestamp value) {
if (createTimeBuilder_ == null) {
@@ -3840,7 +4159,9 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) {
* Output only. Time at which the request to create the build was received.
*
*
- * .google.protobuf.Timestamp create_time = 6;
+ *
+ * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
*/
public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) {
if (createTimeBuilder_ == null) {
@@ -3859,7 +4180,9 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal
* Output only. Time at which the request to create the build was received.
*
*
- * .google.protobuf.Timestamp create_time = 6;
+ *
+ * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
*/
public Builder mergeCreateTime(com.google.protobuf.Timestamp value) {
if (createTimeBuilder_ == null) {
@@ -3883,7 +4206,9 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) {
* Output only. Time at which the request to create the build was received.
*
*
- * .google.protobuf.Timestamp create_time = 6;
+ *
+ * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
*/
public Builder clearCreateTime() {
if (createTimeBuilder_ == null) {
@@ -3903,7 +4228,9 @@ public Builder clearCreateTime() {
* Output only. Time at which the request to create the build was received.
*
*
- * .google.protobuf.Timestamp create_time = 6;
+ *
+ * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
*/
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() {
@@ -3917,7 +4244,9 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() {
* Output only. Time at which the request to create the build was received.
*
*
- * .google.protobuf.Timestamp create_time = 6;
+ *
+ * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
*/
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
if (createTimeBuilder_ != null) {
@@ -3935,7 +4264,9 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
* Output only. Time at which the request to create the build was received.
*
*
- * .google.protobuf.Timestamp create_time = 6;
+ *
+ * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp,
@@ -3967,7 +4298,10 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
* Output only. Time at which execution of the build was started.
*
*
- * .google.protobuf.Timestamp start_time = 7;
+ * .google.protobuf.Timestamp start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return Whether the startTime field is set.
*/
public boolean hasStartTime() {
return startTimeBuilder_ != null || startTime_ != null;
@@ -3979,7 +4313,10 @@ public boolean hasStartTime() {
* Output only. Time at which execution of the build was started.
*
*
- * .google.protobuf.Timestamp start_time = 7;
+ * .google.protobuf.Timestamp start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The startTime.
*/
public com.google.protobuf.Timestamp getStartTime() {
if (startTimeBuilder_ == null) {
@@ -3995,7 +4332,8 @@ public com.google.protobuf.Timestamp getStartTime() {
* Output only. Time at which execution of the build was started.
*
*
- * .google.protobuf.Timestamp start_time = 7;
+ * .google.protobuf.Timestamp start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
*/
public Builder setStartTime(com.google.protobuf.Timestamp value) {
if (startTimeBuilder_ == null) {
@@ -4017,7 +4355,8 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) {
* Output only. Time at which execution of the build was started.
*
*
- * .google.protobuf.Timestamp start_time = 7;
+ * .google.protobuf.Timestamp start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
*/
public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) {
if (startTimeBuilder_ == null) {
@@ -4036,7 +4375,8 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu
* Output only. Time at which execution of the build was started.
*
*
- * .google.protobuf.Timestamp start_time = 7;
+ * .google.protobuf.Timestamp start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
*/
public Builder mergeStartTime(com.google.protobuf.Timestamp value) {
if (startTimeBuilder_ == null) {
@@ -4060,7 +4400,8 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) {
* Output only. Time at which execution of the build was started.
*
*
- * .google.protobuf.Timestamp start_time = 7;
+ * .google.protobuf.Timestamp start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
*/
public Builder clearStartTime() {
if (startTimeBuilder_ == null) {
@@ -4080,7 +4421,8 @@ public Builder clearStartTime() {
* Output only. Time at which execution of the build was started.
*
*
- * .google.protobuf.Timestamp start_time = 7;
+ * .google.protobuf.Timestamp start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
*/
public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() {
@@ -4094,7 +4436,8 @@ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() {
* Output only. Time at which execution of the build was started.
*
*
- * .google.protobuf.Timestamp start_time = 7;
+ * .google.protobuf.Timestamp start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
*/
public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
if (startTimeBuilder_ != null) {
@@ -4110,7 +4453,8 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
* Output only. Time at which execution of the build was started.
*
*
- * .google.protobuf.Timestamp start_time = 7;
+ * .google.protobuf.Timestamp start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp,
@@ -4144,7 +4488,11 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
* build's execution.
*
*
- * .google.protobuf.Timestamp finish_time = 8;
+ *
+ * .google.protobuf.Timestamp finish_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return Whether the finishTime field is set.
*/
public boolean hasFinishTime() {
return finishTimeBuilder_ != null || finishTime_ != null;
@@ -4158,7 +4506,11 @@ public boolean hasFinishTime() {
* build's execution.
*
*
- * .google.protobuf.Timestamp finish_time = 8;
+ *
+ * .google.protobuf.Timestamp finish_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The finishTime.
*/
public com.google.protobuf.Timestamp getFinishTime() {
if (finishTimeBuilder_ == null) {
@@ -4178,7 +4530,9 @@ public com.google.protobuf.Timestamp getFinishTime() {
* build's execution.
*
*
- * .google.protobuf.Timestamp finish_time = 8;
+ *
+ * .google.protobuf.Timestamp finish_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
*/
public Builder setFinishTime(com.google.protobuf.Timestamp value) {
if (finishTimeBuilder_ == null) {
@@ -4202,7 +4556,9 @@ public Builder setFinishTime(com.google.protobuf.Timestamp value) {
* build's execution.
*
*
- * .google.protobuf.Timestamp finish_time = 8;
+ *
+ * .google.protobuf.Timestamp finish_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
*/
public Builder setFinishTime(com.google.protobuf.Timestamp.Builder builderForValue) {
if (finishTimeBuilder_ == null) {
@@ -4223,7 +4579,9 @@ public Builder setFinishTime(com.google.protobuf.Timestamp.Builder builderForVal
* build's execution.
*
*
- * .google.protobuf.Timestamp finish_time = 8;
+ *
+ * .google.protobuf.Timestamp finish_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
*/
public Builder mergeFinishTime(com.google.protobuf.Timestamp value) {
if (finishTimeBuilder_ == null) {
@@ -4249,7 +4607,9 @@ public Builder mergeFinishTime(com.google.protobuf.Timestamp value) {
* build's execution.
*
*
- * .google.protobuf.Timestamp finish_time = 8;
+ *
+ * .google.protobuf.Timestamp finish_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
*/
public Builder clearFinishTime() {
if (finishTimeBuilder_ == null) {
@@ -4271,7 +4631,9 @@ public Builder clearFinishTime() {
* build's execution.
*
*
- * .google.protobuf.Timestamp finish_time = 8;
+ *
+ * .google.protobuf.Timestamp finish_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
*/
public com.google.protobuf.Timestamp.Builder getFinishTimeBuilder() {
@@ -4287,7 +4649,9 @@ public com.google.protobuf.Timestamp.Builder getFinishTimeBuilder() {
* build's execution.
*
*
- * .google.protobuf.Timestamp finish_time = 8;
+ *
+ * .google.protobuf.Timestamp finish_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
*/
public com.google.protobuf.TimestampOrBuilder getFinishTimeOrBuilder() {
if (finishTimeBuilder_ != null) {
@@ -4307,7 +4671,9 @@ public com.google.protobuf.TimestampOrBuilder getFinishTimeOrBuilder() {
* build's execution.
*
*
- * .google.protobuf.Timestamp finish_time = 8;
+ *
+ * .google.protobuf.Timestamp finish_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp,
@@ -4343,6 +4709,8 @@ public com.google.protobuf.TimestampOrBuilder getFinishTimeOrBuilder() {
*
*
* .google.protobuf.Duration timeout = 12;
+ *
+ * @return Whether the timeout field is set.
*/
public boolean hasTimeout() {
return timeoutBuilder_ != null || timeout_ != null;
@@ -4358,6 +4726,8 @@ public boolean hasTimeout() {
*
*
* .google.protobuf.Duration timeout = 12;
+ *
+ * @return The timeout.
*/
public com.google.protobuf.Duration getTimeout() {
if (timeoutBuilder_ == null) {
@@ -4532,9 +4902,9 @@ public com.google.protobuf.DurationOrBuilder getTimeoutOrBuilder() {
com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureImagesIsMutable() {
- if (!((bitField0_ & 0x00000800) != 0)) {
+ if (!((bitField0_ & 0x00000002) != 0)) {
images_ = new com.google.protobuf.LazyStringArrayList(images_);
- bitField0_ |= 0x00000800;
+ bitField0_ |= 0x00000002;
}
}
/**
@@ -4551,6 +4921,8 @@ private void ensureImagesIsMutable() {
*
*
* repeated string images = 13;
+ *
+ * @return A list containing the images.
*/
public com.google.protobuf.ProtocolStringList getImagesList() {
return images_.getUnmodifiableView();
@@ -4569,6 +4941,8 @@ public com.google.protobuf.ProtocolStringList getImagesList() {
*
*
* repeated string images = 13;
+ *
+ * @return The count of images.
*/
public int getImagesCount() {
return images_.size();
@@ -4587,6 +4961,9 @@ public int getImagesCount() {
*
*
* repeated string images = 13;
+ *
+ * @param index The index of the element to return.
+ * @return The images at the given index.
*/
public java.lang.String getImages(int index) {
return images_.get(index);
@@ -4605,6 +4982,9 @@ public java.lang.String getImages(int index) {
*
*
* repeated string images = 13;
+ *
+ * @param index The index of the value to return.
+ * @return The bytes of the images at the given index.
*/
public com.google.protobuf.ByteString getImagesBytes(int index) {
return images_.getByteString(index);
@@ -4623,6 +5003,10 @@ public com.google.protobuf.ByteString getImagesBytes(int index) {
*
*
* repeated string images = 13;
+ *
+ * @param index The index to set the value at.
+ * @param value The images to set.
+ * @return This builder for chaining.
*/
public Builder setImages(int index, java.lang.String value) {
if (value == null) {
@@ -4647,6 +5031,9 @@ public Builder setImages(int index, java.lang.String value) {
*
*
* repeated string images = 13;
+ *
+ * @param value The images to add.
+ * @return This builder for chaining.
*/
public Builder addImages(java.lang.String value) {
if (value == null) {
@@ -4671,6 +5058,9 @@ public Builder addImages(java.lang.String value) {
*
*
* repeated string images = 13;
+ *
+ * @param values The images to add.
+ * @return This builder for chaining.
*/
public Builder addAllImages(java.lang.Iterablerepeated string images = 13;
+ *
+ * @return This builder for chaining.
*/
public Builder clearImages() {
images_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- bitField0_ = (bitField0_ & ~0x00000800);
+ bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
@@ -4713,6 +5105,9 @@ public Builder clearImages() {
*
*
* repeated string images = 13;
+ *
+ * @param value The bytes of the images to add.
+ * @return This builder for chaining.
*/
public Builder addImagesBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -4725,6 +5120,212 @@ public Builder addImagesBytes(com.google.protobuf.ByteString value) {
return this;
}
+ private com.google.protobuf.Duration queueTtl_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.protobuf.Duration,
+ com.google.protobuf.Duration.Builder,
+ com.google.protobuf.DurationOrBuilder>
+ queueTtlBuilder_;
+ /**
+ *
+ *
+ * + * TTL in queue for this build. If provided and the build is enqueued longer + * than this value, the build will expire and the build status will be + * `EXPIRED`. + * The TTL starts ticking from create_time. + *+ * + *
.google.protobuf.Duration queue_ttl = 40;
+ *
+ * @return Whether the queueTtl field is set.
+ */
+ public boolean hasQueueTtl() {
+ return queueTtlBuilder_ != null || queueTtl_ != null;
+ }
+ /**
+ *
+ *
+ * + * TTL in queue for this build. If provided and the build is enqueued longer + * than this value, the build will expire and the build status will be + * `EXPIRED`. + * The TTL starts ticking from create_time. + *+ * + *
.google.protobuf.Duration queue_ttl = 40;
+ *
+ * @return The queueTtl.
+ */
+ public com.google.protobuf.Duration getQueueTtl() {
+ if (queueTtlBuilder_ == null) {
+ return queueTtl_ == null ? com.google.protobuf.Duration.getDefaultInstance() : queueTtl_;
+ } else {
+ return queueTtlBuilder_.getMessage();
+ }
+ }
+ /**
+ *
+ *
+ * + * TTL in queue for this build. If provided and the build is enqueued longer + * than this value, the build will expire and the build status will be + * `EXPIRED`. + * The TTL starts ticking from create_time. + *+ * + *
.google.protobuf.Duration queue_ttl = 40;
+ */
+ public Builder setQueueTtl(com.google.protobuf.Duration value) {
+ if (queueTtlBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ queueTtl_ = value;
+ onChanged();
+ } else {
+ queueTtlBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * TTL in queue for this build. If provided and the build is enqueued longer + * than this value, the build will expire and the build status will be + * `EXPIRED`. + * The TTL starts ticking from create_time. + *+ * + *
.google.protobuf.Duration queue_ttl = 40;
+ */
+ public Builder setQueueTtl(com.google.protobuf.Duration.Builder builderForValue) {
+ if (queueTtlBuilder_ == null) {
+ queueTtl_ = builderForValue.build();
+ onChanged();
+ } else {
+ queueTtlBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * TTL in queue for this build. If provided and the build is enqueued longer + * than this value, the build will expire and the build status will be + * `EXPIRED`. + * The TTL starts ticking from create_time. + *+ * + *
.google.protobuf.Duration queue_ttl = 40;
+ */
+ public Builder mergeQueueTtl(com.google.protobuf.Duration value) {
+ if (queueTtlBuilder_ == null) {
+ if (queueTtl_ != null) {
+ queueTtl_ =
+ com.google.protobuf.Duration.newBuilder(queueTtl_).mergeFrom(value).buildPartial();
+ } else {
+ queueTtl_ = value;
+ }
+ onChanged();
+ } else {
+ queueTtlBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * TTL in queue for this build. If provided and the build is enqueued longer + * than this value, the build will expire and the build status will be + * `EXPIRED`. + * The TTL starts ticking from create_time. + *+ * + *
.google.protobuf.Duration queue_ttl = 40;
+ */
+ public Builder clearQueueTtl() {
+ if (queueTtlBuilder_ == null) {
+ queueTtl_ = null;
+ onChanged();
+ } else {
+ queueTtl_ = null;
+ queueTtlBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * TTL in queue for this build. If provided and the build is enqueued longer + * than this value, the build will expire and the build status will be + * `EXPIRED`. + * The TTL starts ticking from create_time. + *+ * + *
.google.protobuf.Duration queue_ttl = 40;
+ */
+ public com.google.protobuf.Duration.Builder getQueueTtlBuilder() {
+
+ onChanged();
+ return getQueueTtlFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ * + * TTL in queue for this build. If provided and the build is enqueued longer + * than this value, the build will expire and the build status will be + * `EXPIRED`. + * The TTL starts ticking from create_time. + *+ * + *
.google.protobuf.Duration queue_ttl = 40;
+ */
+ public com.google.protobuf.DurationOrBuilder getQueueTtlOrBuilder() {
+ if (queueTtlBuilder_ != null) {
+ return queueTtlBuilder_.getMessageOrBuilder();
+ } else {
+ return queueTtl_ == null ? com.google.protobuf.Duration.getDefaultInstance() : queueTtl_;
+ }
+ }
+ /**
+ *
+ *
+ * + * TTL in queue for this build. If provided and the build is enqueued longer + * than this value, the build will expire and the build status will be + * `EXPIRED`. + * The TTL starts ticking from create_time. + *+ * + *
.google.protobuf.Duration queue_ttl = 40;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.protobuf.Duration,
+ com.google.protobuf.Duration.Builder,
+ com.google.protobuf.DurationOrBuilder>
+ getQueueTtlFieldBuilder() {
+ if (queueTtlBuilder_ == null) {
+ queueTtlBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.protobuf.Duration,
+ com.google.protobuf.Duration.Builder,
+ com.google.protobuf.DurationOrBuilder>(
+ getQueueTtl(), getParentForChildren(), isClean());
+ queueTtl_ = null;
+ }
+ return queueTtlBuilder_;
+ }
+
private com.google.cloudbuild.v1.Artifacts artifacts_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.cloudbuild.v1.Artifacts,
@@ -4740,6 +5341,8 @@ public Builder addImagesBytes(com.google.protobuf.ByteString value) {
*
*
* .google.devtools.cloudbuild.v1.Artifacts artifacts = 37;
+ *
+ * @return Whether the artifacts field is set.
*/
public boolean hasArtifacts() {
return artifactsBuilder_ != null || artifacts_ != null;
@@ -4753,6 +5356,8 @@ public boolean hasArtifacts() {
*
*
* .google.devtools.cloudbuild.v1.Artifacts artifacts = 37;
+ *
+ * @return The artifacts.
*/
public com.google.cloudbuild.v1.Artifacts getArtifacts() {
if (artifactsBuilder_ == null) {
@@ -4927,6 +5532,8 @@ public com.google.cloudbuild.v1.ArtifactsOrBuilder getArtifactsOrBuilder() {
*
*
* string logs_bucket = 19;
+ *
+ * @return The logsBucket.
*/
public java.lang.String getLogsBucket() {
java.lang.Object ref = logsBucket_;
@@ -4950,6 +5557,8 @@ public java.lang.String getLogsBucket() {
*
*
* string logs_bucket = 19;
+ *
+ * @return The bytes for logsBucket.
*/
public com.google.protobuf.ByteString getLogsBucketBytes() {
java.lang.Object ref = logsBucket_;
@@ -4973,6 +5582,9 @@ public com.google.protobuf.ByteString getLogsBucketBytes() {
*
*
* string logs_bucket = 19;
+ *
+ * @param value The logsBucket to set.
+ * @return This builder for chaining.
*/
public Builder setLogsBucket(java.lang.String value) {
if (value == null) {
@@ -4994,6 +5606,8 @@ public Builder setLogsBucket(java.lang.String value) {
*
*
* string logs_bucket = 19;
+ *
+ * @return This builder for chaining.
*/
public Builder clearLogsBucket() {
@@ -5012,6 +5626,9 @@ public Builder clearLogsBucket() {
*
*
* string logs_bucket = 19;
+ *
+ * @param value The bytes for logsBucket to set.
+ * @return This builder for chaining.
*/
public Builder setLogsBucketBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -5038,6 +5655,8 @@ public Builder setLogsBucketBytes(com.google.protobuf.ByteString value) {
*
*
* .google.devtools.cloudbuild.v1.SourceProvenance source_provenance = 21;
+ *
+ * @return Whether the sourceProvenance field is set.
*/
public boolean hasSourceProvenance() {
return sourceProvenanceBuilder_ != null || sourceProvenance_ != null;
@@ -5050,6 +5669,8 @@ public boolean hasSourceProvenance() {
*
*
* .google.devtools.cloudbuild.v1.SourceProvenance source_provenance = 21;
+ *
+ * @return The sourceProvenance.
*/
public com.google.cloudbuild.v1.SourceProvenance getSourceProvenance() {
if (sourceProvenanceBuilder_ == null) {
@@ -5216,6 +5837,8 @@ public com.google.cloudbuild.v1.SourceProvenanceOrBuilder getSourceProvenanceOrB
*
*
* string build_trigger_id = 22;
+ *
+ * @return The buildTriggerId.
*/
public java.lang.String getBuildTriggerId() {
java.lang.Object ref = buildTriggerId_;
@@ -5237,6 +5860,8 @@ public java.lang.String getBuildTriggerId() {
*
*
* string build_trigger_id = 22;
+ *
+ * @return The bytes for buildTriggerId.
*/
public com.google.protobuf.ByteString getBuildTriggerIdBytes() {
java.lang.Object ref = buildTriggerId_;
@@ -5258,6 +5883,9 @@ public com.google.protobuf.ByteString getBuildTriggerIdBytes() {
*
*
* string build_trigger_id = 22;
+ *
+ * @param value The buildTriggerId to set.
+ * @return This builder for chaining.
*/
public Builder setBuildTriggerId(java.lang.String value) {
if (value == null) {
@@ -5277,6 +5905,8 @@ public Builder setBuildTriggerId(java.lang.String value) {
*
*
* string build_trigger_id = 22;
+ *
+ * @return This builder for chaining.
*/
public Builder clearBuildTriggerId() {
@@ -5293,6 +5923,9 @@ public Builder clearBuildTriggerId() {
*
*
* string build_trigger_id = 22;
+ *
+ * @param value The bytes for buildTriggerId to set.
+ * @return This builder for chaining.
*/
public Builder setBuildTriggerIdBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -5319,6 +5952,8 @@ public Builder setBuildTriggerIdBytes(com.google.protobuf.ByteString value) {
*
*
* .google.devtools.cloudbuild.v1.BuildOptions options = 23;
+ *
+ * @return Whether the options field is set.
*/
public boolean hasOptions() {
return optionsBuilder_ != null || options_ != null;
@@ -5331,6 +5966,8 @@ public boolean hasOptions() {
*
*
* .google.devtools.cloudbuild.v1.BuildOptions options = 23;
+ *
+ * @return The options.
*/
public com.google.cloudbuild.v1.BuildOptions getOptions() {
if (optionsBuilder_ == null) {
@@ -5494,7 +6131,9 @@ public com.google.cloudbuild.v1.BuildOptionsOrBuilder getOptionsOrBuilder() {
* Output only. URL to logs for this build in Google Cloud Console.
*
*
- * string log_url = 25;
+ * string log_url = 25 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The logUrl.
*/
public java.lang.String getLogUrl() {
java.lang.Object ref = logUrl_;
@@ -5514,7 +6153,9 @@ public java.lang.String getLogUrl() {
* Output only. URL to logs for this build in Google Cloud Console.
*
*
- * string log_url = 25;
+ * string log_url = 25 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The bytes for logUrl.
*/
public com.google.protobuf.ByteString getLogUrlBytes() {
java.lang.Object ref = logUrl_;
@@ -5534,7 +6175,10 @@ public com.google.protobuf.ByteString getLogUrlBytes() {
* Output only. URL to logs for this build in Google Cloud Console.
*
*
- * string log_url = 25;
+ * string log_url = 25 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @param value The logUrl to set.
+ * @return This builder for chaining.
*/
public Builder setLogUrl(java.lang.String value) {
if (value == null) {
@@ -5552,7 +6196,9 @@ public Builder setLogUrl(java.lang.String value) {
* Output only. URL to logs for this build in Google Cloud Console.
*
*
- * string log_url = 25;
+ * string log_url = 25 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return This builder for chaining.
*/
public Builder clearLogUrl() {
@@ -5567,7 +6213,10 @@ public Builder clearLogUrl() {
* Output only. URL to logs for this build in Google Cloud Console.
*
*
- * string log_url = 25;
+ * string log_url = 25 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @param value The bytes for logUrl to set.
+ * @return This builder for chaining.
*/
public Builder setLogUrlBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -5739,9 +6388,9 @@ public Builder putAllSubstitutions(java.util.Maprepeated string tags = 31;
+ *
+ * @return A list containing the tags.
*/
public com.google.protobuf.ProtocolStringList getTagsList() {
return tags_.getUnmodifiableView();
@@ -5764,6 +6415,8 @@ public com.google.protobuf.ProtocolStringList getTagsList() {
*
*
* repeated string tags = 31;
+ *
+ * @return The count of tags.
*/
public int getTagsCount() {
return tags_.size();
@@ -5776,6 +6429,9 @@ public int getTagsCount() {
*
*
* repeated string tags = 31;
+ *
+ * @param index The index of the element to return.
+ * @return The tags at the given index.
*/
public java.lang.String getTags(int index) {
return tags_.get(index);
@@ -5788,6 +6444,9 @@ public java.lang.String getTags(int index) {
*
*
* repeated string tags = 31;
+ *
+ * @param index The index of the value to return.
+ * @return The bytes of the tags at the given index.
*/
public com.google.protobuf.ByteString getTagsBytes(int index) {
return tags_.getByteString(index);
@@ -5800,6 +6459,10 @@ public com.google.protobuf.ByteString getTagsBytes(int index) {
*
*
* repeated string tags = 31;
+ *
+ * @param index The index to set the value at.
+ * @param value The tags to set.
+ * @return This builder for chaining.
*/
public Builder setTags(int index, java.lang.String value) {
if (value == null) {
@@ -5818,6 +6481,9 @@ public Builder setTags(int index, java.lang.String value) {
*
*
* repeated string tags = 31;
+ *
+ * @param value The tags to add.
+ * @return This builder for chaining.
*/
public Builder addTags(java.lang.String value) {
if (value == null) {
@@ -5836,6 +6502,9 @@ public Builder addTags(java.lang.String value) {
*
*
* repeated string tags = 31;
+ *
+ * @param values The tags to add.
+ * @return This builder for chaining.
*/
public Builder addAllTags(java.lang.Iterablerepeated string tags = 31;
+ *
+ * @return This builder for chaining.
*/
public Builder clearTags() {
tags_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- bitField0_ = (bitField0_ & ~0x00080000);
+ bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
return this;
}
@@ -5866,6 +6537,9 @@ public Builder clearTags() {
*
*
* repeated string tags = 31;
+ *
+ * @param value The bytes of the tags to add.
+ * @return This builder for chaining.
*/
public Builder addTagsBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -5882,9 +6556,9 @@ public Builder addTagsBytes(com.google.protobuf.ByteString value) {
java.util.Collections.emptyList();
private void ensureSecretsIsMutable() {
- if (!((bitField0_ & 0x00100000) != 0)) {
+ if (!((bitField0_ & 0x00000010) != 0)) {
secrets_ = new java.util.ArrayListmap<string, .google.devtools.cloudbuild.v1.TimeSpan> timing = 33;
+ *
+ * map<string, .google.devtools.cloudbuild.v1.TimeSpan> timing = 33 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
*/
public boolean containsTiming(java.lang.String key) {
if (key == null) {
@@ -6290,7 +6966,9 @@ public java.util.Mapmap<string, .google.devtools.cloudbuild.v1.TimeSpan> timing = 33;
+ *
+ * map<string, .google.devtools.cloudbuild.v1.TimeSpan> timing = 33 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
*/
public java.util.Mapmap<string, .google.devtools.cloudbuild.v1.TimeSpan> timing = 33;
+ *
+ * map<string, .google.devtools.cloudbuild.v1.TimeSpan> timing = 33 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
*/
public com.google.cloudbuild.v1.TimeSpan getTimingOrDefault(
java.lang.String key, com.google.cloudbuild.v1.TimeSpan defaultValue) {
@@ -6332,7 +7012,9 @@ public com.google.cloudbuild.v1.TimeSpan getTimingOrDefault(
* these keys will not be included.
*
*
- * map<string, .google.devtools.cloudbuild.v1.TimeSpan> timing = 33;
+ *
+ * map<string, .google.devtools.cloudbuild.v1.TimeSpan> timing = 33 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
*/
public com.google.cloudbuild.v1.TimeSpan getTimingOrThrow(java.lang.String key) {
if (key == null) {
@@ -6363,7 +7045,9 @@ public Builder clearTiming() {
* these keys will not be included.
*
*
- * map<string, .google.devtools.cloudbuild.v1.TimeSpan> timing = 33;
+ *
+ * map<string, .google.devtools.cloudbuild.v1.TimeSpan> timing = 33 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
*/
public Builder removeTiming(java.lang.String key) {
if (key == null) {
@@ -6390,7 +7074,9 @@ public java.util.Mapmap<string, .google.devtools.cloudbuild.v1.TimeSpan> timing = 33;
+ *
+ * map<string, .google.devtools.cloudbuild.v1.TimeSpan> timing = 33 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
*/
public Builder putTiming(java.lang.String key, com.google.cloudbuild.v1.TimeSpan value) {
if (key == null) {
@@ -6415,7 +7101,9 @@ public Builder putTiming(java.lang.String key, com.google.cloudbuild.v1.TimeSpan
* these keys will not be included.
*
*
- * map<string, .google.devtools.cloudbuild.v1.TimeSpan> timing = 33;
+ *
+ * map<string, .google.devtools.cloudbuild.v1.TimeSpan> timing = 33 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
*/
public Builder putAllTiming(
java.util.Map.google.devtools.cloudbuild.v1.Build build = 1;
+ *
+ * @return Whether the build field is set.
*/
public boolean hasBuild() {
return build_ != null;
@@ -134,6 +141,8 @@ public boolean hasBuild() {
*
*
* .google.devtools.cloudbuild.v1.Build build = 1;
+ *
+ * @return The build.
*/
public com.google.cloudbuild.v1.Build getBuild() {
return build_ == null ? com.google.cloudbuild.v1.Build.getDefaultInstance() : build_;
@@ -494,6 +503,8 @@ public Builder mergeFrom(
*
*
* .google.devtools.cloudbuild.v1.Build build = 1;
+ *
+ * @return Whether the build field is set.
*/
public boolean hasBuild() {
return buildBuilder_ != null || build_ != null;
@@ -506,6 +517,8 @@ public boolean hasBuild() {
*
*
* .google.devtools.cloudbuild.v1.Build build = 1;
+ *
+ * @return The build.
*/
public com.google.cloudbuild.v1.Build getBuild() {
if (buildBuilder_ == null) {
diff --git a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/BuildOperationMetadataOrBuilder.java b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/BuildOperationMetadataOrBuilder.java
index ec7ba003..ef5b1a87 100644
--- a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/BuildOperationMetadataOrBuilder.java
+++ b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/BuildOperationMetadataOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -31,6 +31,8 @@ public interface BuildOperationMetadataOrBuilder
*
*
* .google.devtools.cloudbuild.v1.Build build = 1;
+ *
+ * @return Whether the build field is set.
*/
boolean hasBuild();
/**
@@ -41,6 +43,8 @@ public interface BuildOperationMetadataOrBuilder
*
*
* .google.devtools.cloudbuild.v1.Build build = 1;
+ *
+ * @return The build.
*/
com.google.cloudbuild.v1.Build getBuild();
/**
diff --git a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/BuildOptions.java b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/BuildOptions.java
index 1a6c5fbe..1386576f 100644
--- a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/BuildOptions.java
+++ b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/BuildOptions.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -50,6 +50,12 @@ private BuildOptions() {
volumes_ = java.util.Collections.emptyList();
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new BuildOptions();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -149,9 +155,9 @@ private BuildOptions(
case 98:
{
java.lang.String s = input.readStringRequireUtf8();
- if (!((mutable_bitField0_ & 0x00000100) != 0)) {
+ if (!((mutable_bitField0_ & 0x00000002) != 0)) {
env_ = new com.google.protobuf.LazyStringArrayList();
- mutable_bitField0_ |= 0x00000100;
+ mutable_bitField0_ |= 0x00000002;
}
env_.add(s);
break;
@@ -159,18 +165,18 @@ private BuildOptions(
case 106:
{
java.lang.String s = input.readStringRequireUtf8();
- if (!((mutable_bitField0_ & 0x00000200) != 0)) {
+ if (!((mutable_bitField0_ & 0x00000004) != 0)) {
secretEnv_ = new com.google.protobuf.LazyStringArrayList();
- mutable_bitField0_ |= 0x00000200;
+ mutable_bitField0_ |= 0x00000004;
}
secretEnv_.add(s);
break;
}
case 114:
{
- if (!((mutable_bitField0_ & 0x00000400) != 0)) {
+ if (!((mutable_bitField0_ & 0x00000008) != 0)) {
volumes_ = new java.util.ArrayListrepeated .google.devtools.cloudbuild.v1.Hash.HashType source_provenance_hash = 1;
+ *
+ * @return A list containing the sourceProvenanceHash.
*/
public java.util.Listrepeated .google.devtools.cloudbuild.v1.Hash.HashType source_provenance_hash = 1;
+ *
+ * @return The count of sourceProvenanceHash.
*/
public int getSourceProvenanceHashCount() {
return sourceProvenanceHash_.size();
@@ -964,6 +1013,9 @@ public int getSourceProvenanceHashCount() {
*
*
* repeated .google.devtools.cloudbuild.v1.Hash.HashType source_provenance_hash = 1;
+ *
+ * @param index The index of the element to return.
+ * @return The sourceProvenanceHash at the given index.
*/
public com.google.cloudbuild.v1.Hash.HashType getSourceProvenanceHash(int index) {
return sourceProvenanceHash_converter_.convert(sourceProvenanceHash_.get(index));
@@ -976,6 +1028,8 @@ public com.google.cloudbuild.v1.Hash.HashType getSourceProvenanceHash(int index)
*
*
* repeated .google.devtools.cloudbuild.v1.Hash.HashType source_provenance_hash = 1;
+ *
+ * @return A list containing the enum numeric values on the wire for sourceProvenanceHash.
*/
public java.util.Listrepeated .google.devtools.cloudbuild.v1.Hash.HashType source_provenance_hash = 1;
+ *
+ * @param index The index of the value to return.
+ * @return The enum numeric value on the wire of sourceProvenanceHash at the given index.
*/
public int getSourceProvenanceHashValue(int index) {
return sourceProvenanceHash_.get(index);
@@ -1006,6 +1063,8 @@ public int getSourceProvenanceHashValue(int index) {
*
* .google.devtools.cloudbuild.v1.BuildOptions.VerifyOption requested_verify_option = 2;
*
+ *
+ * @return The enum numeric value on the wire for requestedVerifyOption.
*/
public int getRequestedVerifyOptionValue() {
return requestedVerifyOption_;
@@ -1019,6 +1078,8 @@ public int getRequestedVerifyOptionValue() {
*
* .google.devtools.cloudbuild.v1.BuildOptions.VerifyOption requested_verify_option = 2;
*
+ *
+ * @return The requestedVerifyOption.
*/
public com.google.cloudbuild.v1.BuildOptions.VerifyOption getRequestedVerifyOption() {
@SuppressWarnings("deprecation")
@@ -1039,6 +1100,8 @@ public com.google.cloudbuild.v1.BuildOptions.VerifyOption getRequestedVerifyOpti
*
*
* .google.devtools.cloudbuild.v1.BuildOptions.MachineType machine_type = 3;
+ *
+ * @return The enum numeric value on the wire for machineType.
*/
public int getMachineTypeValue() {
return machineType_;
@@ -1051,6 +1114,8 @@ public int getMachineTypeValue() {
*
*
* .google.devtools.cloudbuild.v1.BuildOptions.MachineType machine_type = 3;
+ *
+ * @return The machineType.
*/
public com.google.cloudbuild.v1.BuildOptions.MachineType getMachineType() {
@SuppressWarnings("deprecation")
@@ -1074,6 +1139,8 @@ public com.google.cloudbuild.v1.BuildOptions.MachineType getMachineType() {
*
*
* int64 disk_size_gb = 6;
+ *
+ * @return The diskSizeGb.
*/
public long getDiskSizeGb() {
return diskSizeGb_;
@@ -1091,6 +1158,8 @@ public long getDiskSizeGb() {
*
* .google.devtools.cloudbuild.v1.BuildOptions.SubstitutionOption substitution_option = 4;
*
+ *
+ * @return The enum numeric value on the wire for substitutionOption.
*/
public int getSubstitutionOptionValue() {
return substitutionOption_;
@@ -1105,6 +1174,8 @@ public int getSubstitutionOptionValue() {
*
* .google.devtools.cloudbuild.v1.BuildOptions.SubstitutionOption substitution_option = 4;
*
+ *
+ * @return The substitutionOption.
*/
public com.google.cloudbuild.v1.BuildOptions.SubstitutionOption getSubstitutionOption() {
@SuppressWarnings("deprecation")
@@ -1127,6 +1198,8 @@ public com.google.cloudbuild.v1.BuildOptions.SubstitutionOption getSubstitutionO
*
* .google.devtools.cloudbuild.v1.BuildOptions.LogStreamingOption log_streaming_option = 5;
*
+ *
+ * @return The enum numeric value on the wire for logStreamingOption.
*/
public int getLogStreamingOptionValue() {
return logStreamingOption_;
@@ -1141,6 +1214,8 @@ public int getLogStreamingOptionValue() {
*
* .google.devtools.cloudbuild.v1.BuildOptions.LogStreamingOption log_streaming_option = 5;
*
+ *
+ * @return The logStreamingOption.
*/
public com.google.cloudbuild.v1.BuildOptions.LogStreamingOption getLogStreamingOption() {
@SuppressWarnings("deprecation")
@@ -1157,12 +1232,14 @@ public com.google.cloudbuild.v1.BuildOptions.LogStreamingOption getLogStreamingO
*
*
* - * Option to specify a `WorkerPool` for the build. User specifies the pool - * with the format "[WORKERPOOL_PROJECT_ID]/[WORKERPOOL_NAME]". - * This is an experimental field. + * Option to specify a `WorkerPool` for the build. + * Format: projects/{project}/workerPools/{workerPool} + * This field is experimental. ** *
string worker_pool = 7;
+ *
+ * @return The workerPool.
*/
public java.lang.String getWorkerPool() {
java.lang.Object ref = workerPool_;
@@ -1179,12 +1256,14 @@ public java.lang.String getWorkerPool() {
*
*
* - * Option to specify a `WorkerPool` for the build. User specifies the pool - * with the format "[WORKERPOOL_PROJECT_ID]/[WORKERPOOL_NAME]". - * This is an experimental field. + * Option to specify a `WorkerPool` for the build. + * Format: projects/{project}/workerPools/{workerPool} + * This field is experimental. ** *
string worker_pool = 7;
+ *
+ * @return The bytes for workerPool.
*/
public com.google.protobuf.ByteString getWorkerPoolBytes() {
java.lang.Object ref = workerPool_;
@@ -1209,6 +1288,8 @@ public com.google.protobuf.ByteString getWorkerPoolBytes() {
*
*
* .google.devtools.cloudbuild.v1.BuildOptions.LoggingMode logging = 11;
+ *
+ * @return The enum numeric value on the wire for logging.
*/
public int getLoggingValue() {
return logging_;
@@ -1222,6 +1303,8 @@ public int getLoggingValue() {
*
*
* .google.devtools.cloudbuild.v1.BuildOptions.LoggingMode logging = 11;
+ *
+ * @return The logging.
*/
public com.google.cloudbuild.v1.BuildOptions.LoggingMode getLogging() {
@SuppressWarnings("deprecation")
@@ -1244,6 +1327,8 @@ public com.google.cloudbuild.v1.BuildOptions.LoggingMode getLogging() {
*
*
* repeated string env = 12;
+ *
+ * @return A list containing the env.
*/
public com.google.protobuf.ProtocolStringList getEnvList() {
return env_;
@@ -1260,6 +1345,8 @@ public com.google.protobuf.ProtocolStringList getEnvList() {
*
*
* repeated string env = 12;
+ *
+ * @return The count of env.
*/
public int getEnvCount() {
return env_.size();
@@ -1276,6 +1363,9 @@ public int getEnvCount() {
*
*
* repeated string env = 12;
+ *
+ * @param index The index of the element to return.
+ * @return The env at the given index.
*/
public java.lang.String getEnv(int index) {
return env_.get(index);
@@ -1292,6 +1382,9 @@ public java.lang.String getEnv(int index) {
*
*
* repeated string env = 12;
+ *
+ * @param index The index of the value to return.
+ * @return The bytes of the env at the given index.
*/
public com.google.protobuf.ByteString getEnvBytes(int index) {
return env_.getByteString(index);
@@ -1310,6 +1403,8 @@ public com.google.protobuf.ByteString getEnvBytes(int index) {
*
*
* repeated string secret_env = 13;
+ *
+ * @return A list containing the secretEnv.
*/
public com.google.protobuf.ProtocolStringList getSecretEnvList() {
return secretEnv_;
@@ -1325,6 +1420,8 @@ public com.google.protobuf.ProtocolStringList getSecretEnvList() {
*
*
* repeated string secret_env = 13;
+ *
+ * @return The count of secretEnv.
*/
public int getSecretEnvCount() {
return secretEnv_.size();
@@ -1340,6 +1437,9 @@ public int getSecretEnvCount() {
*
*
* repeated string secret_env = 13;
+ *
+ * @param index The index of the element to return.
+ * @return The secretEnv at the given index.
*/
public java.lang.String getSecretEnv(int index) {
return secretEnv_.get(index);
@@ -1355,6 +1455,9 @@ public java.lang.String getSecretEnv(int index) {
*
*
* repeated string secret_env = 13;
+ *
+ * @param index The index of the value to return.
+ * @return The bytes of the secretEnv at the given index.
*/
public com.google.protobuf.ByteString getSecretEnvBytes(int index) {
return secretEnv_.getByteString(index);
@@ -1807,12 +1910,12 @@ public Builder clear() {
logging_ = 0;
env_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- bitField0_ = (bitField0_ & ~0x00000100);
+ bitField0_ = (bitField0_ & ~0x00000002);
secretEnv_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- bitField0_ = (bitField0_ & ~0x00000200);
+ bitField0_ = (bitField0_ & ~0x00000004);
if (volumesBuilder_ == null) {
volumes_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000400);
+ bitField0_ = (bitField0_ & ~0x00000008);
} else {
volumesBuilder_.clear();
}
@@ -1844,7 +1947,6 @@ public com.google.cloudbuild.v1.BuildOptions buildPartial() {
com.google.cloudbuild.v1.BuildOptions result =
new com.google.cloudbuild.v1.BuildOptions(this);
int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
if (((bitField0_ & 0x00000001) != 0)) {
sourceProvenanceHash_ = java.util.Collections.unmodifiableList(sourceProvenanceHash_);
bitField0_ = (bitField0_ & ~0x00000001);
@@ -1857,26 +1959,25 @@ public com.google.cloudbuild.v1.BuildOptions buildPartial() {
result.logStreamingOption_ = logStreamingOption_;
result.workerPool_ = workerPool_;
result.logging_ = logging_;
- if (((bitField0_ & 0x00000100) != 0)) {
+ if (((bitField0_ & 0x00000002) != 0)) {
env_ = env_.getUnmodifiableView();
- bitField0_ = (bitField0_ & ~0x00000100);
+ bitField0_ = (bitField0_ & ~0x00000002);
}
result.env_ = env_;
- if (((bitField0_ & 0x00000200) != 0)) {
+ if (((bitField0_ & 0x00000004) != 0)) {
secretEnv_ = secretEnv_.getUnmodifiableView();
- bitField0_ = (bitField0_ & ~0x00000200);
+ bitField0_ = (bitField0_ & ~0x00000004);
}
result.secretEnv_ = secretEnv_;
if (volumesBuilder_ == null) {
- if (((bitField0_ & 0x00000400) != 0)) {
+ if (((bitField0_ & 0x00000008) != 0)) {
volumes_ = java.util.Collections.unmodifiableList(volumes_);
- bitField0_ = (bitField0_ & ~0x00000400);
+ bitField0_ = (bitField0_ & ~0x00000008);
}
result.volumes_ = volumes_;
} else {
result.volumes_ = volumesBuilder_.build();
}
- result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@@ -1961,7 +2062,7 @@ public Builder mergeFrom(com.google.cloudbuild.v1.BuildOptions other) {
if (!other.env_.isEmpty()) {
if (env_.isEmpty()) {
env_ = other.env_;
- bitField0_ = (bitField0_ & ~0x00000100);
+ bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureEnvIsMutable();
env_.addAll(other.env_);
@@ -1971,7 +2072,7 @@ public Builder mergeFrom(com.google.cloudbuild.v1.BuildOptions other) {
if (!other.secretEnv_.isEmpty()) {
if (secretEnv_.isEmpty()) {
secretEnv_ = other.secretEnv_;
- bitField0_ = (bitField0_ & ~0x00000200);
+ bitField0_ = (bitField0_ & ~0x00000004);
} else {
ensureSecretEnvIsMutable();
secretEnv_.addAll(other.secretEnv_);
@@ -1982,7 +2083,7 @@ public Builder mergeFrom(com.google.cloudbuild.v1.BuildOptions other) {
if (!other.volumes_.isEmpty()) {
if (volumes_.isEmpty()) {
volumes_ = other.volumes_;
- bitField0_ = (bitField0_ & ~0x00000400);
+ bitField0_ = (bitField0_ & ~0x00000008);
} else {
ensureVolumesIsMutable();
volumes_.addAll(other.volumes_);
@@ -1995,7 +2096,7 @@ public Builder mergeFrom(com.google.cloudbuild.v1.BuildOptions other) {
volumesBuilder_.dispose();
volumesBuilder_ = null;
volumes_ = other.volumes_;
- bitField0_ = (bitField0_ & ~0x00000400);
+ bitField0_ = (bitField0_ & ~0x00000008);
volumesBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
? getVolumesFieldBuilder()
@@ -2054,6 +2155,8 @@ private void ensureSourceProvenanceHashIsMutable() {
*
* repeated .google.devtools.cloudbuild.v1.Hash.HashType source_provenance_hash = 1;
*
+ *
+ * @return A list containing the sourceProvenanceHash.
*/
public java.util.Listrepeated .google.devtools.cloudbuild.v1.Hash.HashType source_provenance_hash = 1;
*
+ *
+ * @return The count of sourceProvenanceHash.
*/
public int getSourceProvenanceHashCount() {
return sourceProvenanceHash_.size();
@@ -2082,6 +2187,9 @@ public int getSourceProvenanceHashCount() {
*
* repeated .google.devtools.cloudbuild.v1.Hash.HashType source_provenance_hash = 1;
*
+ *
+ * @param index The index of the element to return.
+ * @return The sourceProvenanceHash at the given index.
*/
public com.google.cloudbuild.v1.Hash.HashType getSourceProvenanceHash(int index) {
return sourceProvenanceHash_converter_.convert(sourceProvenanceHash_.get(index));
@@ -2095,6 +2203,10 @@ public com.google.cloudbuild.v1.Hash.HashType getSourceProvenanceHash(int index)
*
* repeated .google.devtools.cloudbuild.v1.Hash.HashType source_provenance_hash = 1;
*
+ *
+ * @param index The index to set the value at.
+ * @param value The sourceProvenanceHash to set.
+ * @return This builder for chaining.
*/
public Builder setSourceProvenanceHash(
int index, com.google.cloudbuild.v1.Hash.HashType value) {
@@ -2115,6 +2227,9 @@ public Builder setSourceProvenanceHash(
*
* repeated .google.devtools.cloudbuild.v1.Hash.HashType source_provenance_hash = 1;
*
+ *
+ * @param value The sourceProvenanceHash to add.
+ * @return This builder for chaining.
*/
public Builder addSourceProvenanceHash(com.google.cloudbuild.v1.Hash.HashType value) {
if (value == null) {
@@ -2134,6 +2249,9 @@ public Builder addSourceProvenanceHash(com.google.cloudbuild.v1.Hash.HashType va
*
* repeated .google.devtools.cloudbuild.v1.Hash.HashType source_provenance_hash = 1;
*
+ *
+ * @param values The sourceProvenanceHash to add.
+ * @return This builder for chaining.
*/
public Builder addAllSourceProvenanceHash(
java.lang.Iterable extends com.google.cloudbuild.v1.Hash.HashType> values) {
@@ -2153,6 +2271,8 @@ public Builder addAllSourceProvenanceHash(
*
* repeated .google.devtools.cloudbuild.v1.Hash.HashType source_provenance_hash = 1;
*
+ *
+ * @return This builder for chaining.
*/
public Builder clearSourceProvenanceHash() {
sourceProvenanceHash_ = java.util.Collections.emptyList();
@@ -2169,6 +2289,8 @@ public Builder clearSourceProvenanceHash() {
*
* repeated .google.devtools.cloudbuild.v1.Hash.HashType source_provenance_hash = 1;
*
+ *
+ * @return A list containing the enum numeric values on the wire for sourceProvenanceHash.
*/
public java.util.Listrepeated .google.devtools.cloudbuild.v1.Hash.HashType source_provenance_hash = 1;
*
+ *
+ * @param index The index of the value to return.
+ * @return The enum numeric value on the wire of sourceProvenanceHash at the given index.
*/
public int getSourceProvenanceHashValue(int index) {
return sourceProvenanceHash_.get(index);
@@ -2195,6 +2320,10 @@ public int getSourceProvenanceHashValue(int index) {
*
* repeated .google.devtools.cloudbuild.v1.Hash.HashType source_provenance_hash = 1;
*
+ *
+ * @param index The index of the value to return.
+ * @return The enum numeric value on the wire of sourceProvenanceHash at the given index.
+ * @return This builder for chaining.
*/
public Builder setSourceProvenanceHashValue(int index, int value) {
ensureSourceProvenanceHashIsMutable();
@@ -2211,6 +2340,9 @@ public Builder setSourceProvenanceHashValue(int index, int value) {
*
* repeated .google.devtools.cloudbuild.v1.Hash.HashType source_provenance_hash = 1;
*
+ *
+ * @param value The enum numeric value on the wire for sourceProvenanceHash to add.
+ * @return This builder for chaining.
*/
public Builder addSourceProvenanceHashValue(int value) {
ensureSourceProvenanceHashIsMutable();
@@ -2227,6 +2359,9 @@ public Builder addSourceProvenanceHashValue(int value) {
*
* repeated .google.devtools.cloudbuild.v1.Hash.HashType source_provenance_hash = 1;
*
+ *
+ * @param values The enum numeric values on the wire for sourceProvenanceHash to add.
+ * @return This builder for chaining.
*/
public Builder addAllSourceProvenanceHashValue(java.lang.Iterable.google.devtools.cloudbuild.v1.BuildOptions.VerifyOption requested_verify_option = 2;
*
+ *
+ * @param value The enum numeric value on the wire for requestedVerifyOption to set.
+ * @return This builder for chaining.
*/
public Builder setRequestedVerifyOptionValue(int value) {
requestedVerifyOption_ = value;
@@ -2275,6 +2415,8 @@ public Builder setRequestedVerifyOptionValue(int value) {
*
* .google.devtools.cloudbuild.v1.BuildOptions.VerifyOption requested_verify_option = 2;
*
+ *
+ * @return The requestedVerifyOption.
*/
public com.google.cloudbuild.v1.BuildOptions.VerifyOption getRequestedVerifyOption() {
@SuppressWarnings("deprecation")
@@ -2293,6 +2435,9 @@ public com.google.cloudbuild.v1.BuildOptions.VerifyOption getRequestedVerifyOpti
*
* .google.devtools.cloudbuild.v1.BuildOptions.VerifyOption requested_verify_option = 2;
*
+ *
+ * @param value The requestedVerifyOption to set.
+ * @return This builder for chaining.
*/
public Builder setRequestedVerifyOption(
com.google.cloudbuild.v1.BuildOptions.VerifyOption value) {
@@ -2313,6 +2458,8 @@ public Builder setRequestedVerifyOption(
*
* .google.devtools.cloudbuild.v1.BuildOptions.VerifyOption requested_verify_option = 2;
*
+ *
+ * @return This builder for chaining.
*/
public Builder clearRequestedVerifyOption() {
@@ -2330,6 +2477,8 @@ public Builder clearRequestedVerifyOption() {
*
*
* .google.devtools.cloudbuild.v1.BuildOptions.MachineType machine_type = 3;
+ *
+ * @return The enum numeric value on the wire for machineType.
*/
public int getMachineTypeValue() {
return machineType_;
@@ -2342,6 +2491,9 @@ public int getMachineTypeValue() {
*
*
* .google.devtools.cloudbuild.v1.BuildOptions.MachineType machine_type = 3;
+ *
+ * @param value The enum numeric value on the wire for machineType to set.
+ * @return This builder for chaining.
*/
public Builder setMachineTypeValue(int value) {
machineType_ = value;
@@ -2356,6 +2508,8 @@ public Builder setMachineTypeValue(int value) {
*
*
* .google.devtools.cloudbuild.v1.BuildOptions.MachineType machine_type = 3;
+ *
+ * @return The machineType.
*/
public com.google.cloudbuild.v1.BuildOptions.MachineType getMachineType() {
@SuppressWarnings("deprecation")
@@ -2373,6 +2527,9 @@ public com.google.cloudbuild.v1.BuildOptions.MachineType getMachineType() {
*
*
* .google.devtools.cloudbuild.v1.BuildOptions.MachineType machine_type = 3;
+ *
+ * @param value The machineType to set.
+ * @return This builder for chaining.
*/
public Builder setMachineType(com.google.cloudbuild.v1.BuildOptions.MachineType value) {
if (value == null) {
@@ -2391,6 +2548,8 @@ public Builder setMachineType(com.google.cloudbuild.v1.BuildOptions.MachineType
*
*
* .google.devtools.cloudbuild.v1.BuildOptions.MachineType machine_type = 3;
+ *
+ * @return This builder for chaining.
*/
public Builder clearMachineType() {
@@ -2413,6 +2572,8 @@ public Builder clearMachineType() {
*
*
* int64 disk_size_gb = 6;
+ *
+ * @return The diskSizeGb.
*/
public long getDiskSizeGb() {
return diskSizeGb_;
@@ -2430,6 +2591,9 @@ public long getDiskSizeGb() {
*
*
* int64 disk_size_gb = 6;
+ *
+ * @param value The diskSizeGb to set.
+ * @return This builder for chaining.
*/
public Builder setDiskSizeGb(long value) {
@@ -2450,6 +2614,8 @@ public Builder setDiskSizeGb(long value) {
*
*
* int64 disk_size_gb = 6;
+ *
+ * @return This builder for chaining.
*/
public Builder clearDiskSizeGb() {
@@ -2469,6 +2635,8 @@ public Builder clearDiskSizeGb() {
*
* .google.devtools.cloudbuild.v1.BuildOptions.SubstitutionOption substitution_option = 4;
*
+ *
+ * @return The enum numeric value on the wire for substitutionOption.
*/
public int getSubstitutionOptionValue() {
return substitutionOption_;
@@ -2483,6 +2651,9 @@ public int getSubstitutionOptionValue() {
*
* .google.devtools.cloudbuild.v1.BuildOptions.SubstitutionOption substitution_option = 4;
*
+ *
+ * @param value The enum numeric value on the wire for substitutionOption to set.
+ * @return This builder for chaining.
*/
public Builder setSubstitutionOptionValue(int value) {
substitutionOption_ = value;
@@ -2499,6 +2670,8 @@ public Builder setSubstitutionOptionValue(int value) {
*
* .google.devtools.cloudbuild.v1.BuildOptions.SubstitutionOption substitution_option = 4;
*
+ *
+ * @return The substitutionOption.
*/
public com.google.cloudbuild.v1.BuildOptions.SubstitutionOption getSubstitutionOption() {
@SuppressWarnings("deprecation")
@@ -2518,6 +2691,9 @@ public com.google.cloudbuild.v1.BuildOptions.SubstitutionOption getSubstitutionO
*
* .google.devtools.cloudbuild.v1.BuildOptions.SubstitutionOption substitution_option = 4;
*
+ *
+ * @param value The substitutionOption to set.
+ * @return This builder for chaining.
*/
public Builder setSubstitutionOption(
com.google.cloudbuild.v1.BuildOptions.SubstitutionOption value) {
@@ -2539,6 +2715,8 @@ public Builder setSubstitutionOption(
*
* .google.devtools.cloudbuild.v1.BuildOptions.SubstitutionOption substitution_option = 4;
*
+ *
+ * @return This builder for chaining.
*/
public Builder clearSubstitutionOption() {
@@ -2559,6 +2737,8 @@ public Builder clearSubstitutionOption() {
*
* .google.devtools.cloudbuild.v1.BuildOptions.LogStreamingOption log_streaming_option = 5;
*
+ *
+ * @return The enum numeric value on the wire for logStreamingOption.
*/
public int getLogStreamingOptionValue() {
return logStreamingOption_;
@@ -2574,6 +2754,9 @@ public int getLogStreamingOptionValue() {
*
* .google.devtools.cloudbuild.v1.BuildOptions.LogStreamingOption log_streaming_option = 5;
*
+ *
+ * @param value The enum numeric value on the wire for logStreamingOption to set.
+ * @return This builder for chaining.
*/
public Builder setLogStreamingOptionValue(int value) {
logStreamingOption_ = value;
@@ -2591,6 +2774,8 @@ public Builder setLogStreamingOptionValue(int value) {
*
* .google.devtools.cloudbuild.v1.BuildOptions.LogStreamingOption log_streaming_option = 5;
*
+ *
+ * @return The logStreamingOption.
*/
public com.google.cloudbuild.v1.BuildOptions.LogStreamingOption getLogStreamingOption() {
@SuppressWarnings("deprecation")
@@ -2611,6 +2796,9 @@ public com.google.cloudbuild.v1.BuildOptions.LogStreamingOption getLogStreamingO
*
* .google.devtools.cloudbuild.v1.BuildOptions.LogStreamingOption log_streaming_option = 5;
*
+ *
+ * @param value The logStreamingOption to set.
+ * @return This builder for chaining.
*/
public Builder setLogStreamingOption(
com.google.cloudbuild.v1.BuildOptions.LogStreamingOption value) {
@@ -2633,6 +2821,8 @@ public Builder setLogStreamingOption(
*
* .google.devtools.cloudbuild.v1.BuildOptions.LogStreamingOption log_streaming_option = 5;
*
+ *
+ * @return This builder for chaining.
*/
public Builder clearLogStreamingOption() {
@@ -2646,12 +2836,14 @@ public Builder clearLogStreamingOption() {
*
*
* - * Option to specify a `WorkerPool` for the build. User specifies the pool - * with the format "[WORKERPOOL_PROJECT_ID]/[WORKERPOOL_NAME]". - * This is an experimental field. + * Option to specify a `WorkerPool` for the build. + * Format: projects/{project}/workerPools/{workerPool} + * This field is experimental. ** *
string worker_pool = 7;
+ *
+ * @return The workerPool.
*/
public java.lang.String getWorkerPool() {
java.lang.Object ref = workerPool_;
@@ -2668,12 +2860,14 @@ public java.lang.String getWorkerPool() {
*
*
* - * Option to specify a `WorkerPool` for the build. User specifies the pool - * with the format "[WORKERPOOL_PROJECT_ID]/[WORKERPOOL_NAME]". - * This is an experimental field. + * Option to specify a `WorkerPool` for the build. + * Format: projects/{project}/workerPools/{workerPool} + * This field is experimental. ** *
string worker_pool = 7;
+ *
+ * @return The bytes for workerPool.
*/
public com.google.protobuf.ByteString getWorkerPoolBytes() {
java.lang.Object ref = workerPool_;
@@ -2690,12 +2884,15 @@ public com.google.protobuf.ByteString getWorkerPoolBytes() {
*
*
* - * Option to specify a `WorkerPool` for the build. User specifies the pool - * with the format "[WORKERPOOL_PROJECT_ID]/[WORKERPOOL_NAME]". - * This is an experimental field. + * Option to specify a `WorkerPool` for the build. + * Format: projects/{project}/workerPools/{workerPool} + * This field is experimental. ** *
string worker_pool = 7;
+ *
+ * @param value The workerPool to set.
+ * @return This builder for chaining.
*/
public Builder setWorkerPool(java.lang.String value) {
if (value == null) {
@@ -2710,12 +2907,14 @@ public Builder setWorkerPool(java.lang.String value) {
*
*
* - * Option to specify a `WorkerPool` for the build. User specifies the pool - * with the format "[WORKERPOOL_PROJECT_ID]/[WORKERPOOL_NAME]". - * This is an experimental field. + * Option to specify a `WorkerPool` for the build. + * Format: projects/{project}/workerPools/{workerPool} + * This field is experimental. ** *
string worker_pool = 7;
+ *
+ * @return This builder for chaining.
*/
public Builder clearWorkerPool() {
@@ -2727,12 +2926,15 @@ public Builder clearWorkerPool() {
*
*
* - * Option to specify a `WorkerPool` for the build. User specifies the pool - * with the format "[WORKERPOOL_PROJECT_ID]/[WORKERPOOL_NAME]". - * This is an experimental field. + * Option to specify a `WorkerPool` for the build. + * Format: projects/{project}/workerPools/{workerPool} + * This field is experimental. ** *
string worker_pool = 7;
+ *
+ * @param value The bytes for workerPool to set.
+ * @return This builder for chaining.
*/
public Builder setWorkerPoolBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -2755,6 +2957,8 @@ public Builder setWorkerPoolBytes(com.google.protobuf.ByteString value) {
*
*
* .google.devtools.cloudbuild.v1.BuildOptions.LoggingMode logging = 11;
+ *
+ * @return The enum numeric value on the wire for logging.
*/
public int getLoggingValue() {
return logging_;
@@ -2768,6 +2972,9 @@ public int getLoggingValue() {
*
*
* .google.devtools.cloudbuild.v1.BuildOptions.LoggingMode logging = 11;
+ *
+ * @param value The enum numeric value on the wire for logging to set.
+ * @return This builder for chaining.
*/
public Builder setLoggingValue(int value) {
logging_ = value;
@@ -2783,6 +2990,8 @@ public Builder setLoggingValue(int value) {
*
*
* .google.devtools.cloudbuild.v1.BuildOptions.LoggingMode logging = 11;
+ *
+ * @return The logging.
*/
public com.google.cloudbuild.v1.BuildOptions.LoggingMode getLogging() {
@SuppressWarnings("deprecation")
@@ -2801,6 +3010,9 @@ public com.google.cloudbuild.v1.BuildOptions.LoggingMode getLogging() {
*
*
* .google.devtools.cloudbuild.v1.BuildOptions.LoggingMode logging = 11;
+ *
+ * @param value The logging to set.
+ * @return This builder for chaining.
*/
public Builder setLogging(com.google.cloudbuild.v1.BuildOptions.LoggingMode value) {
if (value == null) {
@@ -2820,6 +3032,8 @@ public Builder setLogging(com.google.cloudbuild.v1.BuildOptions.LoggingMode valu
*
*
* .google.devtools.cloudbuild.v1.BuildOptions.LoggingMode logging = 11;
+ *
+ * @return This builder for chaining.
*/
public Builder clearLogging() {
@@ -2831,9 +3045,9 @@ public Builder clearLogging() {
private com.google.protobuf.LazyStringList env_ = com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureEnvIsMutable() {
- if (!((bitField0_ & 0x00000100) != 0)) {
+ if (!((bitField0_ & 0x00000002) != 0)) {
env_ = new com.google.protobuf.LazyStringArrayList(env_);
- bitField0_ |= 0x00000100;
+ bitField0_ |= 0x00000002;
}
}
/**
@@ -2848,6 +3062,8 @@ private void ensureEnvIsMutable() {
*
*
* repeated string env = 12;
+ *
+ * @return A list containing the env.
*/
public com.google.protobuf.ProtocolStringList getEnvList() {
return env_.getUnmodifiableView();
@@ -2864,6 +3080,8 @@ public com.google.protobuf.ProtocolStringList getEnvList() {
*
*
* repeated string env = 12;
+ *
+ * @return The count of env.
*/
public int getEnvCount() {
return env_.size();
@@ -2880,6 +3098,9 @@ public int getEnvCount() {
*
*
* repeated string env = 12;
+ *
+ * @param index The index of the element to return.
+ * @return The env at the given index.
*/
public java.lang.String getEnv(int index) {
return env_.get(index);
@@ -2896,6 +3117,9 @@ public java.lang.String getEnv(int index) {
*
*
* repeated string env = 12;
+ *
+ * @param index The index of the value to return.
+ * @return The bytes of the env at the given index.
*/
public com.google.protobuf.ByteString getEnvBytes(int index) {
return env_.getByteString(index);
@@ -2912,6 +3136,10 @@ public com.google.protobuf.ByteString getEnvBytes(int index) {
*
*
* repeated string env = 12;
+ *
+ * @param index The index to set the value at.
+ * @param value The env to set.
+ * @return This builder for chaining.
*/
public Builder setEnv(int index, java.lang.String value) {
if (value == null) {
@@ -2934,6 +3162,9 @@ public Builder setEnv(int index, java.lang.String value) {
*
*
* repeated string env = 12;
+ *
+ * @param value The env to add.
+ * @return This builder for chaining.
*/
public Builder addEnv(java.lang.String value) {
if (value == null) {
@@ -2956,6 +3187,9 @@ public Builder addEnv(java.lang.String value) {
*
*
* repeated string env = 12;
+ *
+ * @param values The env to add.
+ * @return This builder for chaining.
*/
public Builder addAllEnv(java.lang.Iterablerepeated string env = 12;
+ *
+ * @return This builder for chaining.
*/
public Builder clearEnv() {
env_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- bitField0_ = (bitField0_ & ~0x00000100);
+ bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
@@ -2994,6 +3230,9 @@ public Builder clearEnv() {
*
*
* repeated string env = 12;
+ *
+ * @param value The bytes of the env to add.
+ * @return This builder for chaining.
*/
public Builder addEnvBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -3010,9 +3249,9 @@ public Builder addEnvBytes(com.google.protobuf.ByteString value) {
com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureSecretEnvIsMutable() {
- if (!((bitField0_ & 0x00000200) != 0)) {
+ if (!((bitField0_ & 0x00000004) != 0)) {
secretEnv_ = new com.google.protobuf.LazyStringArrayList(secretEnv_);
- bitField0_ |= 0x00000200;
+ bitField0_ |= 0x00000004;
}
}
/**
@@ -3026,6 +3265,8 @@ private void ensureSecretEnvIsMutable() {
*
*
* repeated string secret_env = 13;
+ *
+ * @return A list containing the secretEnv.
*/
public com.google.protobuf.ProtocolStringList getSecretEnvList() {
return secretEnv_.getUnmodifiableView();
@@ -3041,6 +3282,8 @@ public com.google.protobuf.ProtocolStringList getSecretEnvList() {
*
*
* repeated string secret_env = 13;
+ *
+ * @return The count of secretEnv.
*/
public int getSecretEnvCount() {
return secretEnv_.size();
@@ -3056,6 +3299,9 @@ public int getSecretEnvCount() {
*
*
* repeated string secret_env = 13;
+ *
+ * @param index The index of the element to return.
+ * @return The secretEnv at the given index.
*/
public java.lang.String getSecretEnv(int index) {
return secretEnv_.get(index);
@@ -3071,6 +3317,9 @@ public java.lang.String getSecretEnv(int index) {
*
*
* repeated string secret_env = 13;
+ *
+ * @param index The index of the value to return.
+ * @return The bytes of the secretEnv at the given index.
*/
public com.google.protobuf.ByteString getSecretEnvBytes(int index) {
return secretEnv_.getByteString(index);
@@ -3086,6 +3335,10 @@ public com.google.protobuf.ByteString getSecretEnvBytes(int index) {
*
*
* repeated string secret_env = 13;
+ *
+ * @param index The index to set the value at.
+ * @param value The secretEnv to set.
+ * @return This builder for chaining.
*/
public Builder setSecretEnv(int index, java.lang.String value) {
if (value == null) {
@@ -3107,6 +3360,9 @@ public Builder setSecretEnv(int index, java.lang.String value) {
*
*
* repeated string secret_env = 13;
+ *
+ * @param value The secretEnv to add.
+ * @return This builder for chaining.
*/
public Builder addSecretEnv(java.lang.String value) {
if (value == null) {
@@ -3128,6 +3384,9 @@ public Builder addSecretEnv(java.lang.String value) {
*
*
* repeated string secret_env = 13;
+ *
+ * @param values The secretEnv to add.
+ * @return This builder for chaining.
*/
public Builder addAllSecretEnv(java.lang.Iterablerepeated string secret_env = 13;
+ *
+ * @return This builder for chaining.
*/
public Builder clearSecretEnv() {
secretEnv_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- bitField0_ = (bitField0_ & ~0x00000200);
+ bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
@@ -3164,6 +3425,9 @@ public Builder clearSecretEnv() {
*
*
* repeated string secret_env = 13;
+ *
+ * @param value The bytes of the secretEnv to add.
+ * @return This builder for chaining.
*/
public Builder addSecretEnvBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -3180,9 +3444,9 @@ public Builder addSecretEnvBytes(com.google.protobuf.ByteString value) {
java.util.Collections.emptyList();
private void ensureVolumesIsMutable() {
- if (!((bitField0_ & 0x00000400) != 0)) {
+ if (!((bitField0_ & 0x00000008) != 0)) {
volumes_ = new java.util.ArrayListrepeated .google.devtools.cloudbuild.v1.Hash.HashType source_provenance_hash = 1;
+ *
+ * @return A list containing the sourceProvenanceHash.
*/
java.util.Listrepeated .google.devtools.cloudbuild.v1.Hash.HashType source_provenance_hash = 1;
+ *
+ * @return The count of sourceProvenanceHash.
*/
int getSourceProvenanceHashCount();
/**
@@ -51,6 +55,9 @@ public interface BuildOptionsOrBuilder
*
*
* repeated .google.devtools.cloudbuild.v1.Hash.HashType source_provenance_hash = 1;
+ *
+ * @param index The index of the element to return.
+ * @return The sourceProvenanceHash at the given index.
*/
com.google.cloudbuild.v1.Hash.HashType getSourceProvenanceHash(int index);
/**
@@ -61,6 +68,8 @@ public interface BuildOptionsOrBuilder
*
*
* repeated .google.devtools.cloudbuild.v1.Hash.HashType source_provenance_hash = 1;
+ *
+ * @return A list containing the enum numeric values on the wire for sourceProvenanceHash.
*/
java.util.Listrepeated .google.devtools.cloudbuild.v1.Hash.HashType source_provenance_hash = 1;
+ *
+ * @param index The index of the value to return.
+ * @return The enum numeric value on the wire of sourceProvenanceHash at the given index.
*/
int getSourceProvenanceHashValue(int index);
@@ -83,6 +95,8 @@ public interface BuildOptionsOrBuilder
*
* .google.devtools.cloudbuild.v1.BuildOptions.VerifyOption requested_verify_option = 2;
*
+ *
+ * @return The enum numeric value on the wire for requestedVerifyOption.
*/
int getRequestedVerifyOptionValue();
/**
@@ -94,6 +108,8 @@ public interface BuildOptionsOrBuilder
*
* .google.devtools.cloudbuild.v1.BuildOptions.VerifyOption requested_verify_option = 2;
*
+ *
+ * @return The requestedVerifyOption.
*/
com.google.cloudbuild.v1.BuildOptions.VerifyOption getRequestedVerifyOption();
@@ -105,6 +121,8 @@ public interface BuildOptionsOrBuilder
*
*
* .google.devtools.cloudbuild.v1.BuildOptions.MachineType machine_type = 3;
+ *
+ * @return The enum numeric value on the wire for machineType.
*/
int getMachineTypeValue();
/**
@@ -115,6 +133,8 @@ public interface BuildOptionsOrBuilder
*
*
* .google.devtools.cloudbuild.v1.BuildOptions.MachineType machine_type = 3;
+ *
+ * @return The machineType.
*/
com.google.cloudbuild.v1.BuildOptions.MachineType getMachineType();
@@ -131,6 +151,8 @@ public interface BuildOptionsOrBuilder
*
*
* int64 disk_size_gb = 6;
+ *
+ * @return The diskSizeGb.
*/
long getDiskSizeGb();
@@ -144,6 +166,8 @@ public interface BuildOptionsOrBuilder
*
* .google.devtools.cloudbuild.v1.BuildOptions.SubstitutionOption substitution_option = 4;
*
+ *
+ * @return The enum numeric value on the wire for substitutionOption.
*/
int getSubstitutionOptionValue();
/**
@@ -156,6 +180,8 @@ public interface BuildOptionsOrBuilder
*
* .google.devtools.cloudbuild.v1.BuildOptions.SubstitutionOption substitution_option = 4;
*
+ *
+ * @return The substitutionOption.
*/
com.google.cloudbuild.v1.BuildOptions.SubstitutionOption getSubstitutionOption();
@@ -169,6 +195,8 @@ public interface BuildOptionsOrBuilder
*
* .google.devtools.cloudbuild.v1.BuildOptions.LogStreamingOption log_streaming_option = 5;
*
+ *
+ * @return The enum numeric value on the wire for logStreamingOption.
*/
int getLogStreamingOptionValue();
/**
@@ -181,6 +209,8 @@ public interface BuildOptionsOrBuilder
*
* .google.devtools.cloudbuild.v1.BuildOptions.LogStreamingOption log_streaming_option = 5;
*
+ *
+ * @return The logStreamingOption.
*/
com.google.cloudbuild.v1.BuildOptions.LogStreamingOption getLogStreamingOption();
@@ -188,24 +218,28 @@ public interface BuildOptionsOrBuilder
*
*
* - * Option to specify a `WorkerPool` for the build. User specifies the pool - * with the format "[WORKERPOOL_PROJECT_ID]/[WORKERPOOL_NAME]". - * This is an experimental field. + * Option to specify a `WorkerPool` for the build. + * Format: projects/{project}/workerPools/{workerPool} + * This field is experimental. ** *
string worker_pool = 7;
+ *
+ * @return The workerPool.
*/
java.lang.String getWorkerPool();
/**
*
*
* - * Option to specify a `WorkerPool` for the build. User specifies the pool - * with the format "[WORKERPOOL_PROJECT_ID]/[WORKERPOOL_NAME]". - * This is an experimental field. + * Option to specify a `WorkerPool` for the build. + * Format: projects/{project}/workerPools/{workerPool} + * This field is experimental. ** *
string worker_pool = 7;
+ *
+ * @return The bytes for workerPool.
*/
com.google.protobuf.ByteString getWorkerPoolBytes();
@@ -218,6 +252,8 @@ public interface BuildOptionsOrBuilder
*
*
* .google.devtools.cloudbuild.v1.BuildOptions.LoggingMode logging = 11;
+ *
+ * @return The enum numeric value on the wire for logging.
*/
int getLoggingValue();
/**
@@ -229,6 +265,8 @@ public interface BuildOptionsOrBuilder
*
*
* .google.devtools.cloudbuild.v1.BuildOptions.LoggingMode logging = 11;
+ *
+ * @return The logging.
*/
com.google.cloudbuild.v1.BuildOptions.LoggingMode getLogging();
@@ -244,6 +282,8 @@ public interface BuildOptionsOrBuilder
*
*
* repeated string env = 12;
+ *
+ * @return A list containing the env.
*/
java.util.Listrepeated string env = 12;
+ *
+ * @return The count of env.
*/
int getEnvCount();
/**
@@ -272,6 +314,9 @@ public interface BuildOptionsOrBuilder
*
*
* repeated string env = 12;
+ *
+ * @param index The index of the element to return.
+ * @return The env at the given index.
*/
java.lang.String getEnv(int index);
/**
@@ -286,6 +331,9 @@ public interface BuildOptionsOrBuilder
*
*
* repeated string env = 12;
+ *
+ * @param index The index of the value to return.
+ * @return The bytes of the env at the given index.
*/
com.google.protobuf.ByteString getEnvBytes(int index);
@@ -300,6 +348,8 @@ public interface BuildOptionsOrBuilder
*
*
* repeated string secret_env = 13;
+ *
+ * @return A list containing the secretEnv.
*/
java.util.Listrepeated string secret_env = 13;
+ *
+ * @return The count of secretEnv.
*/
int getSecretEnvCount();
/**
@@ -326,6 +378,9 @@ public interface BuildOptionsOrBuilder
*
*
* repeated string secret_env = 13;
+ *
+ * @param index The index of the element to return.
+ * @return The secretEnv at the given index.
*/
java.lang.String getSecretEnv(int index);
/**
@@ -339,6 +394,9 @@ public interface BuildOptionsOrBuilder
*
*
* repeated string secret_env = 13;
+ *
+ * @param index The index of the value to return.
+ * @return The bytes of the secretEnv at the given index.
*/
com.google.protobuf.ByteString getSecretEnvBytes(int index);
diff --git a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/BuildOrBuilder.java b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/BuildOrBuilder.java
index d9b5efdb..3dff807f 100644
--- a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/BuildOrBuilder.java
+++ b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/BuildOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -30,7 +30,9 @@ public interface BuildOrBuilder
* Output only. Unique identifier of the build.
*
*
- * string id = 1;
+ * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The id.
*/
java.lang.String getId();
/**
@@ -40,7 +42,9 @@ public interface BuildOrBuilder
* Output only. Unique identifier of the build.
*
*
- * string id = 1;
+ * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The bytes for id.
*/
com.google.protobuf.ByteString getIdBytes();
@@ -51,7 +55,9 @@ public interface BuildOrBuilder
* Output only. ID of the project.
*
*
- * string project_id = 16;
+ * string project_id = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The projectId.
*/
java.lang.String getProjectId();
/**
@@ -61,7 +67,9 @@ public interface BuildOrBuilder
* Output only. ID of the project.
*
*
- * string project_id = 16;
+ * string project_id = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The bytes for projectId.
*/
com.google.protobuf.ByteString getProjectIdBytes();
@@ -73,6 +81,8 @@ public interface BuildOrBuilder
*
*
* .google.devtools.cloudbuild.v1.Build.Status status = 2;
+ *
+ * @return The enum numeric value on the wire for status.
*/
int getStatusValue();
/**
@@ -83,6 +93,8 @@ public interface BuildOrBuilder
*
*
* .google.devtools.cloudbuild.v1.Build.Status status = 2;
+ *
+ * @return The status.
*/
com.google.cloudbuild.v1.Build.Status getStatus();
@@ -94,6 +106,8 @@ public interface BuildOrBuilder
*
*
* string status_detail = 24;
+ *
+ * @return The statusDetail.
*/
java.lang.String getStatusDetail();
/**
@@ -104,6 +118,8 @@ public interface BuildOrBuilder
*
*
* string status_detail = 24;
+ *
+ * @return The bytes for statusDetail.
*/
com.google.protobuf.ByteString getStatusDetailBytes();
@@ -115,6 +131,8 @@ public interface BuildOrBuilder
*
*
* .google.devtools.cloudbuild.v1.Source source = 3;
+ *
+ * @return Whether the source field is set.
*/
boolean hasSource();
/**
@@ -125,6 +143,8 @@ public interface BuildOrBuilder
*
*
* .google.devtools.cloudbuild.v1.Source source = 3;
+ *
+ * @return The source.
*/
com.google.cloudbuild.v1.Source getSource();
/**
@@ -196,7 +216,11 @@ public interface BuildOrBuilder
* Output only. Results of the build.
*
*
- * .google.devtools.cloudbuild.v1.Results results = 10;
+ *
+ * .google.devtools.cloudbuild.v1.Results results = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return Whether the results field is set.
*/
boolean hasResults();
/**
@@ -206,7 +230,11 @@ public interface BuildOrBuilder
* Output only. Results of the build.
*
*
- * .google.devtools.cloudbuild.v1.Results results = 10;
+ *
+ * .google.devtools.cloudbuild.v1.Results results = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The results.
*/
com.google.cloudbuild.v1.Results getResults();
/**
@@ -216,7 +244,9 @@ public interface BuildOrBuilder
* Output only. Results of the build.
*
*
- * .google.devtools.cloudbuild.v1.Results results = 10;
+ *
+ * .google.devtools.cloudbuild.v1.Results results = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
*/
com.google.cloudbuild.v1.ResultsOrBuilder getResultsOrBuilder();
@@ -227,7 +257,10 @@ public interface BuildOrBuilder
* Output only. Time at which the request to create the build was received.
*
*
- * .google.protobuf.Timestamp create_time = 6;
+ * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return Whether the createTime field is set.
*/
boolean hasCreateTime();
/**
@@ -237,7 +270,10 @@ public interface BuildOrBuilder
* Output only. Time at which the request to create the build was received.
*
*
- * .google.protobuf.Timestamp create_time = 6;
+ * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The createTime.
*/
com.google.protobuf.Timestamp getCreateTime();
/**
@@ -247,7 +283,8 @@ public interface BuildOrBuilder
* Output only. Time at which the request to create the build was received.
*
*
- * .google.protobuf.Timestamp create_time = 6;
+ * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
*/
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder();
@@ -258,7 +295,10 @@ public interface BuildOrBuilder
* Output only. Time at which execution of the build was started.
*
*
- * .google.protobuf.Timestamp start_time = 7;
+ * .google.protobuf.Timestamp start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return Whether the startTime field is set.
*/
boolean hasStartTime();
/**
@@ -268,7 +308,10 @@ public interface BuildOrBuilder
* Output only. Time at which execution of the build was started.
*
*
- * .google.protobuf.Timestamp start_time = 7;
+ * .google.protobuf.Timestamp start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The startTime.
*/
com.google.protobuf.Timestamp getStartTime();
/**
@@ -278,7 +321,8 @@ public interface BuildOrBuilder
* Output only. Time at which execution of the build was started.
*
*
- * .google.protobuf.Timestamp start_time = 7;
+ * .google.protobuf.Timestamp start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
*/
com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder();
@@ -291,7 +335,10 @@ public interface BuildOrBuilder
* build's execution.
*
*
- * .google.protobuf.Timestamp finish_time = 8;
+ * .google.protobuf.Timestamp finish_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return Whether the finishTime field is set.
*/
boolean hasFinishTime();
/**
@@ -303,7 +350,10 @@ public interface BuildOrBuilder
* build's execution.
*
*
- * .google.protobuf.Timestamp finish_time = 8;
+ * .google.protobuf.Timestamp finish_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The finishTime.
*/
com.google.protobuf.Timestamp getFinishTime();
/**
@@ -315,7 +365,8 @@ public interface BuildOrBuilder
* build's execution.
*
*
- * .google.protobuf.Timestamp finish_time = 8;
+ * .google.protobuf.Timestamp finish_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
*/
com.google.protobuf.TimestampOrBuilder getFinishTimeOrBuilder();
@@ -330,6 +381,8 @@ public interface BuildOrBuilder
*
*
* .google.protobuf.Duration timeout = 12;
+ *
+ * @return Whether the timeout field is set.
*/
boolean hasTimeout();
/**
@@ -343,6 +396,8 @@ public interface BuildOrBuilder
*
*
* .google.protobuf.Duration timeout = 12;
+ *
+ * @return The timeout.
*/
com.google.protobuf.Duration getTimeout();
/**
@@ -373,6 +428,8 @@ public interface BuildOrBuilder
*
*
* repeated string images = 13;
+ *
+ * @return A list containing the images.
*/
java.util.Listrepeated string images = 13;
+ *
+ * @return The count of images.
*/
int getImagesCount();
/**
@@ -405,6 +464,9 @@ public interface BuildOrBuilder
*
*
* repeated string images = 13;
+ *
+ * @param index The index of the element to return.
+ * @return The images at the given index.
*/
java.lang.String getImages(int index);
/**
@@ -421,9 +483,56 @@ public interface BuildOrBuilder
*
*
* repeated string images = 13;
+ *
+ * @param index The index of the value to return.
+ * @return The bytes of the images at the given index.
*/
com.google.protobuf.ByteString getImagesBytes(int index);
+ /**
+ *
+ *
+ * + * TTL in queue for this build. If provided and the build is enqueued longer + * than this value, the build will expire and the build status will be + * `EXPIRED`. + * The TTL starts ticking from create_time. + *+ * + *
.google.protobuf.Duration queue_ttl = 40;
+ *
+ * @return Whether the queueTtl field is set.
+ */
+ boolean hasQueueTtl();
+ /**
+ *
+ *
+ * + * TTL in queue for this build. If provided and the build is enqueued longer + * than this value, the build will expire and the build status will be + * `EXPIRED`. + * The TTL starts ticking from create_time. + *+ * + *
.google.protobuf.Duration queue_ttl = 40;
+ *
+ * @return The queueTtl.
+ */
+ com.google.protobuf.Duration getQueueTtl();
+ /**
+ *
+ *
+ * + * TTL in queue for this build. If provided and the build is enqueued longer + * than this value, the build will expire and the build status will be + * `EXPIRED`. + * The TTL starts ticking from create_time. + *+ * + *
.google.protobuf.Duration queue_ttl = 40;
+ */
+ com.google.protobuf.DurationOrBuilder getQueueTtlOrBuilder();
+
/**
*
*
@@ -433,6 +542,8 @@ public interface BuildOrBuilder
*
*
* .google.devtools.cloudbuild.v1.Artifacts artifacts = 37;
+ *
+ * @return Whether the artifacts field is set.
*/
boolean hasArtifacts();
/**
@@ -444,6 +555,8 @@ public interface BuildOrBuilder
*
*
* .google.devtools.cloudbuild.v1.Artifacts artifacts = 37;
+ *
+ * @return The artifacts.
*/
com.google.cloudbuild.v1.Artifacts getArtifacts();
/**
@@ -469,6 +582,8 @@ public interface BuildOrBuilder
*
*
* string logs_bucket = 19;
+ *
+ * @return The logsBucket.
*/
java.lang.String getLogsBucket();
/**
@@ -482,6 +597,8 @@ public interface BuildOrBuilder
*
*
* string logs_bucket = 19;
+ *
+ * @return The bytes for logsBucket.
*/
com.google.protobuf.ByteString getLogsBucketBytes();
@@ -493,6 +610,8 @@ public interface BuildOrBuilder
*
*
* .google.devtools.cloudbuild.v1.SourceProvenance source_provenance = 21;
+ *
+ * @return Whether the sourceProvenance field is set.
*/
boolean hasSourceProvenance();
/**
@@ -503,6 +622,8 @@ public interface BuildOrBuilder
*
*
* .google.devtools.cloudbuild.v1.SourceProvenance source_provenance = 21;
+ *
+ * @return The sourceProvenance.
*/
com.google.cloudbuild.v1.SourceProvenance getSourceProvenance();
/**
@@ -525,6 +646,8 @@ public interface BuildOrBuilder
*
*
* string build_trigger_id = 22;
+ *
+ * @return The buildTriggerId.
*/
java.lang.String getBuildTriggerId();
/**
@@ -536,6 +659,8 @@ public interface BuildOrBuilder
*
*
* string build_trigger_id = 22;
+ *
+ * @return The bytes for buildTriggerId.
*/
com.google.protobuf.ByteString getBuildTriggerIdBytes();
@@ -547,6 +672,8 @@ public interface BuildOrBuilder
*
*
* .google.devtools.cloudbuild.v1.BuildOptions options = 23;
+ *
+ * @return Whether the options field is set.
*/
boolean hasOptions();
/**
@@ -557,6 +684,8 @@ public interface BuildOrBuilder
*
*
* .google.devtools.cloudbuild.v1.BuildOptions options = 23;
+ *
+ * @return The options.
*/
com.google.cloudbuild.v1.BuildOptions getOptions();
/**
@@ -577,7 +706,9 @@ public interface BuildOrBuilder
* Output only. URL to logs for this build in Google Cloud Console.
*
*
- * string log_url = 25;
+ * string log_url = 25 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The logUrl.
*/
java.lang.String getLogUrl();
/**
@@ -587,7 +718,9 @@ public interface BuildOrBuilder
* Output only. URL to logs for this build in Google Cloud Console.
*
*
- * string log_url = 25;
+ * string log_url = 25 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The bytes for logUrl.
*/
com.google.protobuf.ByteString getLogUrlBytes();
@@ -653,6 +786,8 @@ public interface BuildOrBuilder
*
*
* repeated string tags = 31;
+ *
+ * @return A list containing the tags.
*/
java.util.Listrepeated string tags = 31;
+ *
+ * @return The count of tags.
*/
int getTagsCount();
/**
@@ -673,6 +810,9 @@ public interface BuildOrBuilder
*
*
* repeated string tags = 31;
+ *
+ * @param index The index of the element to return.
+ * @return The tags at the given index.
*/
java.lang.String getTags(int index);
/**
@@ -683,6 +823,9 @@ public interface BuildOrBuilder
*
*
* repeated string tags = 31;
+ *
+ * @param index The index of the value to return.
+ * @return The bytes of the tags at the given index.
*/
com.google.protobuf.ByteString getTagsBytes(int index);
@@ -750,7 +893,9 @@ public interface BuildOrBuilder
* these keys will not be included.
*
*
- * map<string, .google.devtools.cloudbuild.v1.TimeSpan> timing = 33;
+ *
+ * map<string, .google.devtools.cloudbuild.v1.TimeSpan> timing = 33 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
*/
int getTimingCount();
/**
@@ -766,7 +911,9 @@ public interface BuildOrBuilder
* these keys will not be included.
*
*
- * map<string, .google.devtools.cloudbuild.v1.TimeSpan> timing = 33;
+ *
+ * map<string, .google.devtools.cloudbuild.v1.TimeSpan> timing = 33 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
*/
boolean containsTiming(java.lang.String key);
/** Use {@link #getTimingMap()} instead. */
@@ -785,7 +932,9 @@ public interface BuildOrBuilder
* these keys will not be included.
*
*
- * map<string, .google.devtools.cloudbuild.v1.TimeSpan> timing = 33;
+ *
+ * map<string, .google.devtools.cloudbuild.v1.TimeSpan> timing = 33 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
*/
java.util.Mapmap<string, .google.devtools.cloudbuild.v1.TimeSpan> timing = 33;
+ *
+ * map<string, .google.devtools.cloudbuild.v1.TimeSpan> timing = 33 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
*/
com.google.cloudbuild.v1.TimeSpan getTimingOrDefault(
java.lang.String key, com.google.cloudbuild.v1.TimeSpan defaultValue);
@@ -818,7 +969,9 @@ com.google.cloudbuild.v1.TimeSpan getTimingOrDefault(
* these keys will not be included.
*
*
- * map<string, .google.devtools.cloudbuild.v1.TimeSpan> timing = 33;
+ *
+ * map<string, .google.devtools.cloudbuild.v1.TimeSpan> timing = 33 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
*/
com.google.cloudbuild.v1.TimeSpan getTimingOrThrow(java.lang.String key);
}
diff --git a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/BuildStep.java b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/BuildStep.java
index 151e9c89..cbd7efbd 100644
--- a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/BuildStep.java
+++ b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/BuildStep.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -50,6 +50,12 @@ private BuildStep() {
status_ = 0;
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new BuildStep();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -84,9 +90,9 @@ private BuildStep(
case 18:
{
java.lang.String s = input.readStringRequireUtf8();
- if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+ if (!((mutable_bitField0_ & 0x00000001) != 0)) {
env_ = new com.google.protobuf.LazyStringArrayList();
- mutable_bitField0_ |= 0x00000002;
+ mutable_bitField0_ |= 0x00000001;
}
env_.add(s);
break;
@@ -94,9 +100,9 @@ private BuildStep(
case 26:
{
java.lang.String s = input.readStringRequireUtf8();
- if (!((mutable_bitField0_ & 0x00000004) != 0)) {
+ if (!((mutable_bitField0_ & 0x00000002) != 0)) {
args_ = new com.google.protobuf.LazyStringArrayList();
- mutable_bitField0_ |= 0x00000004;
+ mutable_bitField0_ |= 0x00000002;
}
args_.add(s);
break;
@@ -118,9 +124,9 @@ private BuildStep(
case 50:
{
java.lang.String s = input.readStringRequireUtf8();
- if (!((mutable_bitField0_ & 0x00000020) != 0)) {
+ if (!((mutable_bitField0_ & 0x00000004) != 0)) {
waitFor_ = new com.google.protobuf.LazyStringArrayList();
- mutable_bitField0_ |= 0x00000020;
+ mutable_bitField0_ |= 0x00000004;
}
waitFor_.add(s);
break;
@@ -135,18 +141,18 @@ private BuildStep(
case 66:
{
java.lang.String s = input.readStringRequireUtf8();
- if (!((mutable_bitField0_ & 0x00000080) != 0)) {
+ if (!((mutable_bitField0_ & 0x00000008) != 0)) {
secretEnv_ = new com.google.protobuf.LazyStringArrayList();
- mutable_bitField0_ |= 0x00000080;
+ mutable_bitField0_ |= 0x00000008;
}
secretEnv_.add(s);
break;
}
case 74:
{
- if (!((mutable_bitField0_ & 0x00000100) != 0)) {
+ if (!((mutable_bitField0_ & 0x00000010) != 0)) {
volumes_ = new java.util.ArrayListstring name = 1;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -310,6 +317,8 @@ public java.lang.String getName() {
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -335,6 +344,8 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* repeated string env = 2;
+ *
+ * @return A list containing the env.
*/
public com.google.protobuf.ProtocolStringList getEnvList() {
return env_;
@@ -349,6 +360,8 @@ public com.google.protobuf.ProtocolStringList getEnvList() {
*
*
* repeated string env = 2;
+ *
+ * @return The count of env.
*/
public int getEnvCount() {
return env_.size();
@@ -363,6 +376,9 @@ public int getEnvCount() {
*
*
* repeated string env = 2;
+ *
+ * @param index The index of the element to return.
+ * @return The env at the given index.
*/
public java.lang.String getEnv(int index) {
return env_.get(index);
@@ -377,6 +393,9 @@ public java.lang.String getEnv(int index) {
*
*
* repeated string env = 2;
+ *
+ * @param index The index of the value to return.
+ * @return The bytes of the env at the given index.
*/
public com.google.protobuf.ByteString getEnvBytes(int index) {
return env_.getByteString(index);
@@ -396,6 +415,8 @@ public com.google.protobuf.ByteString getEnvBytes(int index) {
*
*
* repeated string args = 3;
+ *
+ * @return A list containing the args.
*/
public com.google.protobuf.ProtocolStringList getArgsList() {
return args_;
@@ -412,6 +433,8 @@ public com.google.protobuf.ProtocolStringList getArgsList() {
*
*
* repeated string args = 3;
+ *
+ * @return The count of args.
*/
public int getArgsCount() {
return args_.size();
@@ -428,6 +451,9 @@ public int getArgsCount() {
*
*
* repeated string args = 3;
+ *
+ * @param index The index of the element to return.
+ * @return The args at the given index.
*/
public java.lang.String getArgs(int index) {
return args_.get(index);
@@ -444,6 +470,9 @@ public java.lang.String getArgs(int index) {
*
*
* repeated string args = 3;
+ *
+ * @param index The index of the value to return.
+ * @return The bytes of the args at the given index.
*/
public com.google.protobuf.ByteString getArgsBytes(int index) {
return args_.getByteString(index);
@@ -466,6 +495,8 @@ public com.google.protobuf.ByteString getArgsBytes(int index) {
*
*
* string dir = 4;
+ *
+ * @return The dir.
*/
public java.lang.String getDir() {
java.lang.Object ref = dir_;
@@ -493,6 +524,8 @@ public java.lang.String getDir() {
*
*
* string dir = 4;
+ *
+ * @return The bytes for dir.
*/
public com.google.protobuf.ByteString getDirBytes() {
java.lang.Object ref = dir_;
@@ -517,6 +550,8 @@ public com.google.protobuf.ByteString getDirBytes() {
*
*
* string id = 5;
+ *
+ * @return The id.
*/
public java.lang.String getId() {
java.lang.Object ref = id_;
@@ -538,6 +573,8 @@ public java.lang.String getId() {
*
*
* string id = 5;
+ *
+ * @return The bytes for id.
*/
public com.google.protobuf.ByteString getIdBytes() {
java.lang.Object ref = id_;
@@ -565,6 +602,8 @@ public com.google.protobuf.ByteString getIdBytes() {
*
*
* repeated string wait_for = 6;
+ *
+ * @return A list containing the waitFor.
*/
public com.google.protobuf.ProtocolStringList getWaitForList() {
return waitFor_;
@@ -581,6 +620,8 @@ public com.google.protobuf.ProtocolStringList getWaitForList() {
*
*
* repeated string wait_for = 6;
+ *
+ * @return The count of waitFor.
*/
public int getWaitForCount() {
return waitFor_.size();
@@ -597,6 +638,9 @@ public int getWaitForCount() {
*
*
* repeated string wait_for = 6;
+ *
+ * @param index The index of the element to return.
+ * @return The waitFor at the given index.
*/
public java.lang.String getWaitFor(int index) {
return waitFor_.get(index);
@@ -613,6 +657,9 @@ public java.lang.String getWaitFor(int index) {
*
*
* repeated string wait_for = 6;
+ *
+ * @param index The index of the value to return.
+ * @return The bytes of the waitFor at the given index.
*/
public com.google.protobuf.ByteString getWaitForBytes(int index) {
return waitFor_.getByteString(index);
@@ -629,6 +676,8 @@ public com.google.protobuf.ByteString getWaitForBytes(int index) {
*
*
* string entrypoint = 7;
+ *
+ * @return The entrypoint.
*/
public java.lang.String getEntrypoint() {
java.lang.Object ref = entrypoint_;
@@ -650,6 +699,8 @@ public java.lang.String getEntrypoint() {
*
*
* string entrypoint = 7;
+ *
+ * @return The bytes for entrypoint.
*/
public com.google.protobuf.ByteString getEntrypointBytes() {
java.lang.Object ref = entrypoint_;
@@ -675,6 +726,8 @@ public com.google.protobuf.ByteString getEntrypointBytes() {
*
*
* repeated string secret_env = 8;
+ *
+ * @return A list containing the secretEnv.
*/
public com.google.protobuf.ProtocolStringList getSecretEnvList() {
return secretEnv_;
@@ -689,6 +742,8 @@ public com.google.protobuf.ProtocolStringList getSecretEnvList() {
*
*
* repeated string secret_env = 8;
+ *
+ * @return The count of secretEnv.
*/
public int getSecretEnvCount() {
return secretEnv_.size();
@@ -703,6 +758,9 @@ public int getSecretEnvCount() {
*
*
* repeated string secret_env = 8;
+ *
+ * @param index The index of the element to return.
+ * @return The secretEnv at the given index.
*/
public java.lang.String getSecretEnv(int index) {
return secretEnv_.get(index);
@@ -717,6 +775,9 @@ public java.lang.String getSecretEnv(int index) {
*
*
* repeated string secret_env = 8;
+ *
+ * @param index The index of the value to return.
+ * @return The bytes of the secretEnv at the given index.
*/
public com.google.protobuf.ByteString getSecretEnvBytes(int index) {
return secretEnv_.getByteString(index);
@@ -820,7 +881,11 @@ public com.google.cloudbuild.v1.VolumeOrBuilder getVolumesOrBuilder(int index) {
* Output only. Stores timing information for executing this build step.
*
*
- * .google.devtools.cloudbuild.v1.TimeSpan timing = 10;
+ *
+ * .google.devtools.cloudbuild.v1.TimeSpan timing = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return Whether the timing field is set.
*/
public boolean hasTiming() {
return timing_ != null;
@@ -832,7 +897,11 @@ public boolean hasTiming() {
* Output only. Stores timing information for executing this build step.
*
*
- * .google.devtools.cloudbuild.v1.TimeSpan timing = 10;
+ *
+ * .google.devtools.cloudbuild.v1.TimeSpan timing = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The timing.
*/
public com.google.cloudbuild.v1.TimeSpan getTiming() {
return timing_ == null ? com.google.cloudbuild.v1.TimeSpan.getDefaultInstance() : timing_;
@@ -844,7 +913,9 @@ public com.google.cloudbuild.v1.TimeSpan getTiming() {
* Output only. Stores timing information for executing this build step.
*
*
- * .google.devtools.cloudbuild.v1.TimeSpan timing = 10;
+ *
+ * .google.devtools.cloudbuild.v1.TimeSpan timing = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
*/
public com.google.cloudbuild.v1.TimeSpanOrBuilder getTimingOrBuilder() {
return getTiming();
@@ -861,6 +932,8 @@ public com.google.cloudbuild.v1.TimeSpanOrBuilder getTimingOrBuilder() {
*
*
* .google.devtools.cloudbuild.v1.TimeSpan pull_timing = 13;
+ *
+ * @return Whether the pullTiming field is set.
*/
public boolean hasPullTiming() {
return pullTiming_ != null;
@@ -874,6 +947,8 @@ public boolean hasPullTiming() {
*
*
* .google.devtools.cloudbuild.v1.TimeSpan pull_timing = 13;
+ *
+ * @return The pullTiming.
*/
public com.google.cloudbuild.v1.TimeSpan getPullTiming() {
return pullTiming_ == null
@@ -906,6 +981,8 @@ public com.google.cloudbuild.v1.TimeSpanOrBuilder getPullTimingOrBuilder() {
*
*
* .google.protobuf.Duration timeout = 11;
+ *
+ * @return Whether the timeout field is set.
*/
public boolean hasTimeout() {
return timeout_ != null;
@@ -920,6 +997,8 @@ public boolean hasTimeout() {
*
*
* .google.protobuf.Duration timeout = 11;
+ *
+ * @return The timeout.
*/
public com.google.protobuf.Duration getTimeout() {
return timeout_ == null ? com.google.protobuf.Duration.getDefaultInstance() : timeout_;
@@ -951,6 +1030,8 @@ public com.google.protobuf.DurationOrBuilder getTimeoutOrBuilder() {
*
*
* .google.devtools.cloudbuild.v1.Build.Status status = 12;
+ *
+ * @return The enum numeric value on the wire for status.
*/
public int getStatusValue() {
return status_;
@@ -965,6 +1046,8 @@ public int getStatusValue() {
*
*
* .google.devtools.cloudbuild.v1.Build.Status status = 12;
+ *
+ * @return The status.
*/
public com.google.cloudbuild.v1.Build.Status getStatus() {
@SuppressWarnings("deprecation")
@@ -1333,22 +1416,22 @@ public Builder clear() {
name_ = "";
env_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- bitField0_ = (bitField0_ & ~0x00000002);
+ bitField0_ = (bitField0_ & ~0x00000001);
args_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- bitField0_ = (bitField0_ & ~0x00000004);
+ bitField0_ = (bitField0_ & ~0x00000002);
dir_ = "";
id_ = "";
waitFor_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- bitField0_ = (bitField0_ & ~0x00000020);
+ bitField0_ = (bitField0_ & ~0x00000004);
entrypoint_ = "";
secretEnv_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- bitField0_ = (bitField0_ & ~0x00000080);
+ bitField0_ = (bitField0_ & ~0x00000008);
if (volumesBuilder_ == null) {
volumes_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000100);
+ bitField0_ = (bitField0_ & ~0x00000010);
} else {
volumesBuilder_.clear();
}
@@ -1399,35 +1482,34 @@ public com.google.cloudbuild.v1.BuildStep build() {
public com.google.cloudbuild.v1.BuildStep buildPartial() {
com.google.cloudbuild.v1.BuildStep result = new com.google.cloudbuild.v1.BuildStep(this);
int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
result.name_ = name_;
- if (((bitField0_ & 0x00000002) != 0)) {
+ if (((bitField0_ & 0x00000001) != 0)) {
env_ = env_.getUnmodifiableView();
- bitField0_ = (bitField0_ & ~0x00000002);
+ bitField0_ = (bitField0_ & ~0x00000001);
}
result.env_ = env_;
- if (((bitField0_ & 0x00000004) != 0)) {
+ if (((bitField0_ & 0x00000002) != 0)) {
args_ = args_.getUnmodifiableView();
- bitField0_ = (bitField0_ & ~0x00000004);
+ bitField0_ = (bitField0_ & ~0x00000002);
}
result.args_ = args_;
result.dir_ = dir_;
result.id_ = id_;
- if (((bitField0_ & 0x00000020) != 0)) {
+ if (((bitField0_ & 0x00000004) != 0)) {
waitFor_ = waitFor_.getUnmodifiableView();
- bitField0_ = (bitField0_ & ~0x00000020);
+ bitField0_ = (bitField0_ & ~0x00000004);
}
result.waitFor_ = waitFor_;
result.entrypoint_ = entrypoint_;
- if (((bitField0_ & 0x00000080) != 0)) {
+ if (((bitField0_ & 0x00000008) != 0)) {
secretEnv_ = secretEnv_.getUnmodifiableView();
- bitField0_ = (bitField0_ & ~0x00000080);
+ bitField0_ = (bitField0_ & ~0x00000008);
}
result.secretEnv_ = secretEnv_;
if (volumesBuilder_ == null) {
- if (((bitField0_ & 0x00000100) != 0)) {
+ if (((bitField0_ & 0x00000010) != 0)) {
volumes_ = java.util.Collections.unmodifiableList(volumes_);
- bitField0_ = (bitField0_ & ~0x00000100);
+ bitField0_ = (bitField0_ & ~0x00000010);
}
result.volumes_ = volumes_;
} else {
@@ -1449,7 +1531,6 @@ public com.google.cloudbuild.v1.BuildStep buildPartial() {
result.timeout_ = timeoutBuilder_.build();
}
result.status_ = status_;
- result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@@ -1506,7 +1587,7 @@ public Builder mergeFrom(com.google.cloudbuild.v1.BuildStep other) {
if (!other.env_.isEmpty()) {
if (env_.isEmpty()) {
env_ = other.env_;
- bitField0_ = (bitField0_ & ~0x00000002);
+ bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureEnvIsMutable();
env_.addAll(other.env_);
@@ -1516,7 +1597,7 @@ public Builder mergeFrom(com.google.cloudbuild.v1.BuildStep other) {
if (!other.args_.isEmpty()) {
if (args_.isEmpty()) {
args_ = other.args_;
- bitField0_ = (bitField0_ & ~0x00000004);
+ bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureArgsIsMutable();
args_.addAll(other.args_);
@@ -1534,7 +1615,7 @@ public Builder mergeFrom(com.google.cloudbuild.v1.BuildStep other) {
if (!other.waitFor_.isEmpty()) {
if (waitFor_.isEmpty()) {
waitFor_ = other.waitFor_;
- bitField0_ = (bitField0_ & ~0x00000020);
+ bitField0_ = (bitField0_ & ~0x00000004);
} else {
ensureWaitForIsMutable();
waitFor_.addAll(other.waitFor_);
@@ -1548,7 +1629,7 @@ public Builder mergeFrom(com.google.cloudbuild.v1.BuildStep other) {
if (!other.secretEnv_.isEmpty()) {
if (secretEnv_.isEmpty()) {
secretEnv_ = other.secretEnv_;
- bitField0_ = (bitField0_ & ~0x00000080);
+ bitField0_ = (bitField0_ & ~0x00000008);
} else {
ensureSecretEnvIsMutable();
secretEnv_.addAll(other.secretEnv_);
@@ -1559,7 +1640,7 @@ public Builder mergeFrom(com.google.cloudbuild.v1.BuildStep other) {
if (!other.volumes_.isEmpty()) {
if (volumes_.isEmpty()) {
volumes_ = other.volumes_;
- bitField0_ = (bitField0_ & ~0x00000100);
+ bitField0_ = (bitField0_ & ~0x00000010);
} else {
ensureVolumesIsMutable();
volumes_.addAll(other.volumes_);
@@ -1572,7 +1653,7 @@ public Builder mergeFrom(com.google.cloudbuild.v1.BuildStep other) {
volumesBuilder_.dispose();
volumesBuilder_ = null;
volumes_ = other.volumes_;
- bitField0_ = (bitField0_ & ~0x00000100);
+ bitField0_ = (bitField0_ & ~0x00000010);
volumesBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
? getVolumesFieldBuilder()
@@ -1647,6 +1728,8 @@ public Builder mergeFrom(
*
*
* string name = 1;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -1680,6 +1763,8 @@ public java.lang.String getName() {
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -1713,6 +1798,9 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* string name = 1;
+ *
+ * @param value The name to set.
+ * @return This builder for chaining.
*/
public Builder setName(java.lang.String value) {
if (value == null) {
@@ -1744,6 +1832,8 @@ public Builder setName(java.lang.String value) {
*
*
* string name = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearName() {
@@ -1772,6 +1862,9 @@ public Builder clearName() {
*
*
* string name = 1;
+ *
+ * @param value The bytes for name to set.
+ * @return This builder for chaining.
*/
public Builder setNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1787,9 +1880,9 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
private com.google.protobuf.LazyStringList env_ = com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureEnvIsMutable() {
- if (!((bitField0_ & 0x00000002) != 0)) {
+ if (!((bitField0_ & 0x00000001) != 0)) {
env_ = new com.google.protobuf.LazyStringArrayList(env_);
- bitField0_ |= 0x00000002;
+ bitField0_ |= 0x00000001;
}
}
/**
@@ -1802,6 +1895,8 @@ private void ensureEnvIsMutable() {
*
*
* repeated string env = 2;
+ *
+ * @return A list containing the env.
*/
public com.google.protobuf.ProtocolStringList getEnvList() {
return env_.getUnmodifiableView();
@@ -1816,6 +1911,8 @@ public com.google.protobuf.ProtocolStringList getEnvList() {
*
*
* repeated string env = 2;
+ *
+ * @return The count of env.
*/
public int getEnvCount() {
return env_.size();
@@ -1830,6 +1927,9 @@ public int getEnvCount() {
*
*
* repeated string env = 2;
+ *
+ * @param index The index of the element to return.
+ * @return The env at the given index.
*/
public java.lang.String getEnv(int index) {
return env_.get(index);
@@ -1844,6 +1944,9 @@ public java.lang.String getEnv(int index) {
*
*
* repeated string env = 2;
+ *
+ * @param index The index of the value to return.
+ * @return The bytes of the env at the given index.
*/
public com.google.protobuf.ByteString getEnvBytes(int index) {
return env_.getByteString(index);
@@ -1858,6 +1961,10 @@ public com.google.protobuf.ByteString getEnvBytes(int index) {
*
*
* repeated string env = 2;
+ *
+ * @param index The index to set the value at.
+ * @param value The env to set.
+ * @return This builder for chaining.
*/
public Builder setEnv(int index, java.lang.String value) {
if (value == null) {
@@ -1878,6 +1985,9 @@ public Builder setEnv(int index, java.lang.String value) {
*
*
* repeated string env = 2;
+ *
+ * @param value The env to add.
+ * @return This builder for chaining.
*/
public Builder addEnv(java.lang.String value) {
if (value == null) {
@@ -1898,6 +2008,9 @@ public Builder addEnv(java.lang.String value) {
*
*
* repeated string env = 2;
+ *
+ * @param values The env to add.
+ * @return This builder for chaining.
*/
public Builder addAllEnv(java.lang.Iterablerepeated string env = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearEnv() {
env_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- bitField0_ = (bitField0_ & ~0x00000002);
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -1932,6 +2047,9 @@ public Builder clearEnv() {
*
*
* repeated string env = 2;
+ *
+ * @param value The bytes of the env to add.
+ * @return This builder for chaining.
*/
public Builder addEnvBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1948,9 +2066,9 @@ public Builder addEnvBytes(com.google.protobuf.ByteString value) {
com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureArgsIsMutable() {
- if (!((bitField0_ & 0x00000004) != 0)) {
+ if (!((bitField0_ & 0x00000002) != 0)) {
args_ = new com.google.protobuf.LazyStringArrayList(args_);
- bitField0_ |= 0x00000004;
+ bitField0_ |= 0x00000002;
}
}
/**
@@ -1965,6 +2083,8 @@ private void ensureArgsIsMutable() {
*
*
* repeated string args = 3;
+ *
+ * @return A list containing the args.
*/
public com.google.protobuf.ProtocolStringList getArgsList() {
return args_.getUnmodifiableView();
@@ -1981,6 +2101,8 @@ public com.google.protobuf.ProtocolStringList getArgsList() {
*
*
* repeated string args = 3;
+ *
+ * @return The count of args.
*/
public int getArgsCount() {
return args_.size();
@@ -1997,6 +2119,9 @@ public int getArgsCount() {
*
*
* repeated string args = 3;
+ *
+ * @param index The index of the element to return.
+ * @return The args at the given index.
*/
public java.lang.String getArgs(int index) {
return args_.get(index);
@@ -2013,6 +2138,9 @@ public java.lang.String getArgs(int index) {
*
*
* repeated string args = 3;
+ *
+ * @param index The index of the value to return.
+ * @return The bytes of the args at the given index.
*/
public com.google.protobuf.ByteString getArgsBytes(int index) {
return args_.getByteString(index);
@@ -2029,6 +2157,10 @@ public com.google.protobuf.ByteString getArgsBytes(int index) {
*
*
* repeated string args = 3;
+ *
+ * @param index The index to set the value at.
+ * @param value The args to set.
+ * @return This builder for chaining.
*/
public Builder setArgs(int index, java.lang.String value) {
if (value == null) {
@@ -2051,6 +2183,9 @@ public Builder setArgs(int index, java.lang.String value) {
*
*
* repeated string args = 3;
+ *
+ * @param value The args to add.
+ * @return This builder for chaining.
*/
public Builder addArgs(java.lang.String value) {
if (value == null) {
@@ -2073,6 +2208,9 @@ public Builder addArgs(java.lang.String value) {
*
*
* repeated string args = 3;
+ *
+ * @param values The args to add.
+ * @return This builder for chaining.
*/
public Builder addAllArgs(java.lang.Iterablerepeated string args = 3;
+ *
+ * @return This builder for chaining.
*/
public Builder clearArgs() {
args_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- bitField0_ = (bitField0_ & ~0x00000004);
+ bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
@@ -2111,6 +2251,9 @@ public Builder clearArgs() {
*
*
* repeated string args = 3;
+ *
+ * @param value The bytes of the args to add.
+ * @return This builder for chaining.
*/
public Builder addArgsBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -2139,6 +2282,8 @@ public Builder addArgsBytes(com.google.protobuf.ByteString value) {
*
*
* string dir = 4;
+ *
+ * @return The dir.
*/
public java.lang.String getDir() {
java.lang.Object ref = dir_;
@@ -2166,6 +2311,8 @@ public java.lang.String getDir() {
*
*
* string dir = 4;
+ *
+ * @return The bytes for dir.
*/
public com.google.protobuf.ByteString getDirBytes() {
java.lang.Object ref = dir_;
@@ -2193,6 +2340,9 @@ public com.google.protobuf.ByteString getDirBytes() {
*
*
* string dir = 4;
+ *
+ * @param value The dir to set.
+ * @return This builder for chaining.
*/
public Builder setDir(java.lang.String value) {
if (value == null) {
@@ -2218,6 +2368,8 @@ public Builder setDir(java.lang.String value) {
*
*
* string dir = 4;
+ *
+ * @return This builder for chaining.
*/
public Builder clearDir() {
@@ -2240,6 +2392,9 @@ public Builder clearDir() {
*
*
* string dir = 4;
+ *
+ * @param value The bytes for dir to set.
+ * @return This builder for chaining.
*/
public Builder setDirBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -2262,6 +2417,8 @@ public Builder setDirBytes(com.google.protobuf.ByteString value) {
*
*
* string id = 5;
+ *
+ * @return The id.
*/
public java.lang.String getId() {
java.lang.Object ref = id_;
@@ -2283,6 +2440,8 @@ public java.lang.String getId() {
*
*
* string id = 5;
+ *
+ * @return The bytes for id.
*/
public com.google.protobuf.ByteString getIdBytes() {
java.lang.Object ref = id_;
@@ -2304,6 +2463,9 @@ public com.google.protobuf.ByteString getIdBytes() {
*
*
* string id = 5;
+ *
+ * @param value The id to set.
+ * @return This builder for chaining.
*/
public Builder setId(java.lang.String value) {
if (value == null) {
@@ -2323,6 +2485,8 @@ public Builder setId(java.lang.String value) {
*
*
* string id = 5;
+ *
+ * @return This builder for chaining.
*/
public Builder clearId() {
@@ -2339,6 +2503,9 @@ public Builder clearId() {
*
*
* string id = 5;
+ *
+ * @param value The bytes for id to set.
+ * @return This builder for chaining.
*/
public Builder setIdBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -2355,9 +2522,9 @@ public Builder setIdBytes(com.google.protobuf.ByteString value) {
com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureWaitForIsMutable() {
- if (!((bitField0_ & 0x00000020) != 0)) {
+ if (!((bitField0_ & 0x00000004) != 0)) {
waitFor_ = new com.google.protobuf.LazyStringArrayList(waitFor_);
- bitField0_ |= 0x00000020;
+ bitField0_ |= 0x00000004;
}
}
/**
@@ -2372,6 +2539,8 @@ private void ensureWaitForIsMutable() {
*
*
* repeated string wait_for = 6;
+ *
+ * @return A list containing the waitFor.
*/
public com.google.protobuf.ProtocolStringList getWaitForList() {
return waitFor_.getUnmodifiableView();
@@ -2388,6 +2557,8 @@ public com.google.protobuf.ProtocolStringList getWaitForList() {
*
*
* repeated string wait_for = 6;
+ *
+ * @return The count of waitFor.
*/
public int getWaitForCount() {
return waitFor_.size();
@@ -2404,6 +2575,9 @@ public int getWaitForCount() {
*
*
* repeated string wait_for = 6;
+ *
+ * @param index The index of the element to return.
+ * @return The waitFor at the given index.
*/
public java.lang.String getWaitFor(int index) {
return waitFor_.get(index);
@@ -2420,6 +2594,9 @@ public java.lang.String getWaitFor(int index) {
*
*
* repeated string wait_for = 6;
+ *
+ * @param index The index of the value to return.
+ * @return The bytes of the waitFor at the given index.
*/
public com.google.protobuf.ByteString getWaitForBytes(int index) {
return waitFor_.getByteString(index);
@@ -2436,6 +2613,10 @@ public com.google.protobuf.ByteString getWaitForBytes(int index) {
*
*
* repeated string wait_for = 6;
+ *
+ * @param index The index to set the value at.
+ * @param value The waitFor to set.
+ * @return This builder for chaining.
*/
public Builder setWaitFor(int index, java.lang.String value) {
if (value == null) {
@@ -2458,6 +2639,9 @@ public Builder setWaitFor(int index, java.lang.String value) {
*
*
* repeated string wait_for = 6;
+ *
+ * @param value The waitFor to add.
+ * @return This builder for chaining.
*/
public Builder addWaitFor(java.lang.String value) {
if (value == null) {
@@ -2480,6 +2664,9 @@ public Builder addWaitFor(java.lang.String value) {
*
*
* repeated string wait_for = 6;
+ *
+ * @param values The waitFor to add.
+ * @return This builder for chaining.
*/
public Builder addAllWaitFor(java.lang.Iterablerepeated string wait_for = 6;
+ *
+ * @return This builder for chaining.
*/
public Builder clearWaitFor() {
waitFor_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- bitField0_ = (bitField0_ & ~0x00000020);
+ bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
@@ -2518,6 +2707,9 @@ public Builder clearWaitFor() {
*
*
* repeated string wait_for = 6;
+ *
+ * @param value The bytes of the waitFor to add.
+ * @return This builder for chaining.
*/
public Builder addWaitForBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -2540,6 +2732,8 @@ public Builder addWaitForBytes(com.google.protobuf.ByteString value) {
*
*
* string entrypoint = 7;
+ *
+ * @return The entrypoint.
*/
public java.lang.String getEntrypoint() {
java.lang.Object ref = entrypoint_;
@@ -2561,6 +2755,8 @@ public java.lang.String getEntrypoint() {
*
*
* string entrypoint = 7;
+ *
+ * @return The bytes for entrypoint.
*/
public com.google.protobuf.ByteString getEntrypointBytes() {
java.lang.Object ref = entrypoint_;
@@ -2582,6 +2778,9 @@ public com.google.protobuf.ByteString getEntrypointBytes() {
*
*
* string entrypoint = 7;
+ *
+ * @param value The entrypoint to set.
+ * @return This builder for chaining.
*/
public Builder setEntrypoint(java.lang.String value) {
if (value == null) {
@@ -2601,6 +2800,8 @@ public Builder setEntrypoint(java.lang.String value) {
*
*
* string entrypoint = 7;
+ *
+ * @return This builder for chaining.
*/
public Builder clearEntrypoint() {
@@ -2617,6 +2818,9 @@ public Builder clearEntrypoint() {
*
*
* string entrypoint = 7;
+ *
+ * @param value The bytes for entrypoint to set.
+ * @return This builder for chaining.
*/
public Builder setEntrypointBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -2633,9 +2837,9 @@ public Builder setEntrypointBytes(com.google.protobuf.ByteString value) {
com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureSecretEnvIsMutable() {
- if (!((bitField0_ & 0x00000080) != 0)) {
+ if (!((bitField0_ & 0x00000008) != 0)) {
secretEnv_ = new com.google.protobuf.LazyStringArrayList(secretEnv_);
- bitField0_ |= 0x00000080;
+ bitField0_ |= 0x00000008;
}
}
/**
@@ -2648,6 +2852,8 @@ private void ensureSecretEnvIsMutable() {
*
*
* repeated string secret_env = 8;
+ *
+ * @return A list containing the secretEnv.
*/
public com.google.protobuf.ProtocolStringList getSecretEnvList() {
return secretEnv_.getUnmodifiableView();
@@ -2662,6 +2868,8 @@ public com.google.protobuf.ProtocolStringList getSecretEnvList() {
*
*
* repeated string secret_env = 8;
+ *
+ * @return The count of secretEnv.
*/
public int getSecretEnvCount() {
return secretEnv_.size();
@@ -2676,6 +2884,9 @@ public int getSecretEnvCount() {
*
*
* repeated string secret_env = 8;
+ *
+ * @param index The index of the element to return.
+ * @return The secretEnv at the given index.
*/
public java.lang.String getSecretEnv(int index) {
return secretEnv_.get(index);
@@ -2690,6 +2901,9 @@ public java.lang.String getSecretEnv(int index) {
*
*
* repeated string secret_env = 8;
+ *
+ * @param index The index of the value to return.
+ * @return The bytes of the secretEnv at the given index.
*/
public com.google.protobuf.ByteString getSecretEnvBytes(int index) {
return secretEnv_.getByteString(index);
@@ -2704,6 +2918,10 @@ public com.google.protobuf.ByteString getSecretEnvBytes(int index) {
*
*
* repeated string secret_env = 8;
+ *
+ * @param index The index to set the value at.
+ * @param value The secretEnv to set.
+ * @return This builder for chaining.
*/
public Builder setSecretEnv(int index, java.lang.String value) {
if (value == null) {
@@ -2724,6 +2942,9 @@ public Builder setSecretEnv(int index, java.lang.String value) {
*
*
* repeated string secret_env = 8;
+ *
+ * @param value The secretEnv to add.
+ * @return This builder for chaining.
*/
public Builder addSecretEnv(java.lang.String value) {
if (value == null) {
@@ -2744,6 +2965,9 @@ public Builder addSecretEnv(java.lang.String value) {
*
*
* repeated string secret_env = 8;
+ *
+ * @param values The secretEnv to add.
+ * @return This builder for chaining.
*/
public Builder addAllSecretEnv(java.lang.Iterablerepeated string secret_env = 8;
+ *
+ * @return This builder for chaining.
*/
public Builder clearSecretEnv() {
secretEnv_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- bitField0_ = (bitField0_ & ~0x00000080);
+ bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
return this;
}
@@ -2778,6 +3004,9 @@ public Builder clearSecretEnv() {
*
*
* repeated string secret_env = 8;
+ *
+ * @param value The bytes of the secretEnv to add.
+ * @return This builder for chaining.
*/
public Builder addSecretEnvBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -2794,9 +3023,9 @@ public Builder addSecretEnvBytes(com.google.protobuf.ByteString value) {
java.util.Collections.emptyList();
private void ensureVolumesIsMutable() {
- if (!((bitField0_ & 0x00000100) != 0)) {
+ if (!((bitField0_ & 0x00000010) != 0)) {
volumes_ = new java.util.ArrayList.google.devtools.cloudbuild.v1.TimeSpan timing = 10;
+ *
+ * .google.devtools.cloudbuild.v1.TimeSpan timing = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return Whether the timing field is set.
*/
public boolean hasTiming() {
return timingBuilder_ != null || timing_ != null;
@@ -3251,7 +3484,11 @@ public boolean hasTiming() {
* Output only. Stores timing information for executing this build step.
*
*
- * .google.devtools.cloudbuild.v1.TimeSpan timing = 10;
+ *
+ * .google.devtools.cloudbuild.v1.TimeSpan timing = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The timing.
*/
public com.google.cloudbuild.v1.TimeSpan getTiming() {
if (timingBuilder_ == null) {
@@ -3267,7 +3504,9 @@ public com.google.cloudbuild.v1.TimeSpan getTiming() {
* Output only. Stores timing information for executing this build step.
*
*
- * .google.devtools.cloudbuild.v1.TimeSpan timing = 10;
+ *
+ * .google.devtools.cloudbuild.v1.TimeSpan timing = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
*/
public Builder setTiming(com.google.cloudbuild.v1.TimeSpan value) {
if (timingBuilder_ == null) {
@@ -3289,7 +3528,9 @@ public Builder setTiming(com.google.cloudbuild.v1.TimeSpan value) {
* Output only. Stores timing information for executing this build step.
*
*
- * .google.devtools.cloudbuild.v1.TimeSpan timing = 10;
+ *
+ * .google.devtools.cloudbuild.v1.TimeSpan timing = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
*/
public Builder setTiming(com.google.cloudbuild.v1.TimeSpan.Builder builderForValue) {
if (timingBuilder_ == null) {
@@ -3308,7 +3549,9 @@ public Builder setTiming(com.google.cloudbuild.v1.TimeSpan.Builder builderForVal
* Output only. Stores timing information for executing this build step.
*
*
- * .google.devtools.cloudbuild.v1.TimeSpan timing = 10;
+ *
+ * .google.devtools.cloudbuild.v1.TimeSpan timing = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
*/
public Builder mergeTiming(com.google.cloudbuild.v1.TimeSpan value) {
if (timingBuilder_ == null) {
@@ -3332,7 +3575,9 @@ public Builder mergeTiming(com.google.cloudbuild.v1.TimeSpan value) {
* Output only. Stores timing information for executing this build step.
*
*
- * .google.devtools.cloudbuild.v1.TimeSpan timing = 10;
+ *
+ * .google.devtools.cloudbuild.v1.TimeSpan timing = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
*/
public Builder clearTiming() {
if (timingBuilder_ == null) {
@@ -3352,7 +3597,9 @@ public Builder clearTiming() {
* Output only. Stores timing information for executing this build step.
*
*
- * .google.devtools.cloudbuild.v1.TimeSpan timing = 10;
+ *
+ * .google.devtools.cloudbuild.v1.TimeSpan timing = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
*/
public com.google.cloudbuild.v1.TimeSpan.Builder getTimingBuilder() {
@@ -3366,7 +3613,9 @@ public com.google.cloudbuild.v1.TimeSpan.Builder getTimingBuilder() {
* Output only. Stores timing information for executing this build step.
*
*
- * .google.devtools.cloudbuild.v1.TimeSpan timing = 10;
+ *
+ * .google.devtools.cloudbuild.v1.TimeSpan timing = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
*/
public com.google.cloudbuild.v1.TimeSpanOrBuilder getTimingOrBuilder() {
if (timingBuilder_ != null) {
@@ -3382,7 +3631,9 @@ public com.google.cloudbuild.v1.TimeSpanOrBuilder getTimingOrBuilder() {
* Output only. Stores timing information for executing this build step.
*
*
- * .google.devtools.cloudbuild.v1.TimeSpan timing = 10;
+ *
+ * .google.devtools.cloudbuild.v1.TimeSpan timing = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.cloudbuild.v1.TimeSpan,
@@ -3416,6 +3667,8 @@ public com.google.cloudbuild.v1.TimeSpanOrBuilder getTimingOrBuilder() {
*
*
* .google.devtools.cloudbuild.v1.TimeSpan pull_timing = 13;
+ *
+ * @return Whether the pullTiming field is set.
*/
public boolean hasPullTiming() {
return pullTimingBuilder_ != null || pullTiming_ != null;
@@ -3429,6 +3682,8 @@ public boolean hasPullTiming() {
*
*
* .google.devtools.cloudbuild.v1.TimeSpan pull_timing = 13;
+ *
+ * @return The pullTiming.
*/
public com.google.cloudbuild.v1.TimeSpan getPullTiming() {
if (pullTimingBuilder_ == null) {
@@ -3607,6 +3862,8 @@ public com.google.cloudbuild.v1.TimeSpanOrBuilder getPullTimingOrBuilder() {
*
*
* .google.protobuf.Duration timeout = 11;
+ *
+ * @return Whether the timeout field is set.
*/
public boolean hasTimeout() {
return timeoutBuilder_ != null || timeout_ != null;
@@ -3621,6 +3878,8 @@ public boolean hasTimeout() {
*
*
* .google.protobuf.Duration timeout = 11;
+ *
+ * @return The timeout.
*/
public com.google.protobuf.Duration getTimeout() {
if (timeoutBuilder_ == null) {
@@ -3795,6 +4054,8 @@ public com.google.protobuf.DurationOrBuilder getTimeoutOrBuilder() {
*
*
* .google.devtools.cloudbuild.v1.Build.Status status = 12;
+ *
+ * @return The enum numeric value on the wire for status.
*/
public int getStatusValue() {
return status_;
@@ -3809,6 +4070,9 @@ public int getStatusValue() {
*
*
* .google.devtools.cloudbuild.v1.Build.Status status = 12;
+ *
+ * @param value The enum numeric value on the wire for status to set.
+ * @return This builder for chaining.
*/
public Builder setStatusValue(int value) {
status_ = value;
@@ -3825,6 +4089,8 @@ public Builder setStatusValue(int value) {
*
*
* .google.devtools.cloudbuild.v1.Build.Status status = 12;
+ *
+ * @return The status.
*/
public com.google.cloudbuild.v1.Build.Status getStatus() {
@SuppressWarnings("deprecation")
@@ -3842,6 +4108,9 @@ public com.google.cloudbuild.v1.Build.Status getStatus() {
*
*
* .google.devtools.cloudbuild.v1.Build.Status status = 12;
+ *
+ * @param value The status to set.
+ * @return This builder for chaining.
*/
public Builder setStatus(com.google.cloudbuild.v1.Build.Status value) {
if (value == null) {
@@ -3862,6 +4131,8 @@ public Builder setStatus(com.google.cloudbuild.v1.Build.Status value) {
*
*
* .google.devtools.cloudbuild.v1.Build.Status status = 12;
+ *
+ * @return This builder for chaining.
*/
public Builder clearStatus() {
diff --git a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/BuildStepOrBuilder.java b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/BuildStepOrBuilder.java
index 583e5e30..92531b1f 100644
--- a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/BuildStepOrBuilder.java
+++ b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/BuildStepOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -44,6 +44,8 @@ public interface BuildStepOrBuilder
*
*
* string name = 1;
+ *
+ * @return The name.
*/
java.lang.String getName();
/**
@@ -67,6 +69,8 @@ public interface BuildStepOrBuilder
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
@@ -80,6 +84,8 @@ public interface BuildStepOrBuilder
*
*
* repeated string env = 2;
+ *
+ * @return A list containing the env.
*/
java.util.Listrepeated string env = 2;
+ *
+ * @return The count of env.
*/
int getEnvCount();
/**
@@ -104,6 +112,9 @@ public interface BuildStepOrBuilder
*
*
* repeated string env = 2;
+ *
+ * @param index The index of the element to return.
+ * @return The env at the given index.
*/
java.lang.String getEnv(int index);
/**
@@ -116,6 +127,9 @@ public interface BuildStepOrBuilder
*
*
* repeated string env = 2;
+ *
+ * @param index The index of the value to return.
+ * @return The bytes of the env at the given index.
*/
com.google.protobuf.ByteString getEnvBytes(int index);
@@ -131,6 +145,8 @@ public interface BuildStepOrBuilder
*
*
* repeated string args = 3;
+ *
+ * @return A list containing the args.
*/
java.util.Listrepeated string args = 3;
+ *
+ * @return The count of args.
*/
int getArgsCount();
/**
@@ -159,6 +177,9 @@ public interface BuildStepOrBuilder
*
*
* repeated string args = 3;
+ *
+ * @param index The index of the element to return.
+ * @return The args at the given index.
*/
java.lang.String getArgs(int index);
/**
@@ -173,6 +194,9 @@ public interface BuildStepOrBuilder
*
*
* repeated string args = 3;
+ *
+ * @param index The index of the value to return.
+ * @return The bytes of the args at the given index.
*/
com.google.protobuf.ByteString getArgsBytes(int index);
@@ -191,6 +215,8 @@ public interface BuildStepOrBuilder
*
*
* string dir = 4;
+ *
+ * @return The dir.
*/
java.lang.String getDir();
/**
@@ -208,6 +234,8 @@ public interface BuildStepOrBuilder
*
*
* string dir = 4;
+ *
+ * @return The bytes for dir.
*/
com.google.protobuf.ByteString getDirBytes();
@@ -220,6 +248,8 @@ public interface BuildStepOrBuilder
*
*
* string id = 5;
+ *
+ * @return The id.
*/
java.lang.String getId();
/**
@@ -231,6 +261,8 @@ public interface BuildStepOrBuilder
*
*
* string id = 5;
+ *
+ * @return The bytes for id.
*/
com.google.protobuf.ByteString getIdBytes();
@@ -246,6 +278,8 @@ public interface BuildStepOrBuilder
*
*
* repeated string wait_for = 6;
+ *
+ * @return A list containing the waitFor.
*/
java.util.Listrepeated string wait_for = 6;
+ *
+ * @return The count of waitFor.
*/
int getWaitForCount();
/**
@@ -274,6 +310,9 @@ public interface BuildStepOrBuilder
*
*
* repeated string wait_for = 6;
+ *
+ * @param index The index of the element to return.
+ * @return The waitFor at the given index.
*/
java.lang.String getWaitFor(int index);
/**
@@ -288,6 +327,9 @@ public interface BuildStepOrBuilder
*
*
* repeated string wait_for = 6;
+ *
+ * @param index The index of the value to return.
+ * @return The bytes of the waitFor at the given index.
*/
com.google.protobuf.ByteString getWaitForBytes(int index);
@@ -300,6 +342,8 @@ public interface BuildStepOrBuilder
*
*
* string entrypoint = 7;
+ *
+ * @return The entrypoint.
*/
java.lang.String getEntrypoint();
/**
@@ -311,6 +355,8 @@ public interface BuildStepOrBuilder
*
*
* string entrypoint = 7;
+ *
+ * @return The bytes for entrypoint.
*/
com.google.protobuf.ByteString getEntrypointBytes();
@@ -324,6 +370,8 @@ public interface BuildStepOrBuilder
*
*
* repeated string secret_env = 8;
+ *
+ * @return A list containing the secretEnv.
*/
java.util.Listrepeated string secret_env = 8;
+ *
+ * @return The count of secretEnv.
*/
int getSecretEnvCount();
/**
@@ -348,6 +398,9 @@ public interface BuildStepOrBuilder
*
*
* repeated string secret_env = 8;
+ *
+ * @param index The index of the element to return.
+ * @return The secretEnv at the given index.
*/
java.lang.String getSecretEnv(int index);
/**
@@ -360,6 +413,9 @@ public interface BuildStepOrBuilder
*
*
* repeated string secret_env = 8;
+ *
+ * @param index The index of the value to return.
+ * @return The bytes of the secretEnv at the given index.
*/
com.google.protobuf.ByteString getSecretEnvBytes(int index);
@@ -446,7 +502,11 @@ public interface BuildStepOrBuilder
* Output only. Stores timing information for executing this build step.
*
*
- * .google.devtools.cloudbuild.v1.TimeSpan timing = 10;
+ *
+ * .google.devtools.cloudbuild.v1.TimeSpan timing = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return Whether the timing field is set.
*/
boolean hasTiming();
/**
@@ -456,7 +516,11 @@ public interface BuildStepOrBuilder
* Output only. Stores timing information for executing this build step.
*
*
- * .google.devtools.cloudbuild.v1.TimeSpan timing = 10;
+ *
+ * .google.devtools.cloudbuild.v1.TimeSpan timing = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The timing.
*/
com.google.cloudbuild.v1.TimeSpan getTiming();
/**
@@ -466,7 +530,9 @@ public interface BuildStepOrBuilder
* Output only. Stores timing information for executing this build step.
*
*
- * .google.devtools.cloudbuild.v1.TimeSpan timing = 10;
+ *
+ * .google.devtools.cloudbuild.v1.TimeSpan timing = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
*/
com.google.cloudbuild.v1.TimeSpanOrBuilder getTimingOrBuilder();
@@ -479,6 +545,8 @@ public interface BuildStepOrBuilder
*
*
* .google.devtools.cloudbuild.v1.TimeSpan pull_timing = 13;
+ *
+ * @return Whether the pullTiming field is set.
*/
boolean hasPullTiming();
/**
@@ -490,6 +558,8 @@ public interface BuildStepOrBuilder
*
*
* .google.devtools.cloudbuild.v1.TimeSpan pull_timing = 13;
+ *
+ * @return The pullTiming.
*/
com.google.cloudbuild.v1.TimeSpan getPullTiming();
/**
@@ -514,6 +584,8 @@ public interface BuildStepOrBuilder
*
*
* .google.protobuf.Duration timeout = 11;
+ *
+ * @return Whether the timeout field is set.
*/
boolean hasTimeout();
/**
@@ -526,6 +598,8 @@ public interface BuildStepOrBuilder
*
*
* .google.protobuf.Duration timeout = 11;
+ *
+ * @return The timeout.
*/
com.google.protobuf.Duration getTimeout();
/**
@@ -551,6 +625,8 @@ public interface BuildStepOrBuilder
*
*
* .google.devtools.cloudbuild.v1.Build.Status status = 12;
+ *
+ * @return The enum numeric value on the wire for status.
*/
int getStatusValue();
/**
@@ -563,6 +639,8 @@ public interface BuildStepOrBuilder
*
*
* .google.devtools.cloudbuild.v1.Build.Status status = 12;
+ *
+ * @return The status.
*/
com.google.cloudbuild.v1.Build.Status getStatus();
}
diff --git a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/BuildTrigger.java b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/BuildTrigger.java
index bbaaf81d..baf54b5a 100644
--- a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/BuildTrigger.java
+++ b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/BuildTrigger.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -47,6 +47,12 @@ private BuildTrigger() {
includedFiles_ = com.google.protobuf.LazyStringArrayList.EMPTY;
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new BuildTrigger();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -145,11 +151,11 @@ private BuildTrigger(
}
case 90:
{
- if (!((mutable_bitField0_ & 0x00000400) != 0)) {
+ if (!((mutable_bitField0_ & 0x00000002) != 0)) {
substitutions_ =
com.google.protobuf.MapField.newMapField(
SubstitutionsDefaultEntryHolder.defaultEntry);
- mutable_bitField0_ |= 0x00000400;
+ mutable_bitField0_ |= 0x00000002;
}
com.google.protobuf.MapEntrystring id = 1;
+ * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The id.
*/
public java.lang.String getId() {
java.lang.Object ref = id_;
@@ -337,7 +351,9 @@ public java.lang.String getId() {
* Output only. Unique identifier of the trigger.
*
*
- * string id = 1;
+ * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The bytes for id.
*/
public com.google.protobuf.ByteString getIdBytes() {
java.lang.Object ref = id_;
@@ -361,6 +377,8 @@ public com.google.protobuf.ByteString getIdBytes() {
*
*
* string description = 10;
+ *
+ * @return The description.
*/
public java.lang.String getDescription() {
java.lang.Object ref = description_;
@@ -381,6 +399,8 @@ public java.lang.String getDescription() {
*
*
* string description = 10;
+ *
+ * @return The bytes for description.
*/
public com.google.protobuf.ByteString getDescriptionBytes() {
java.lang.Object ref = description_;
@@ -400,10 +420,16 @@ public com.google.protobuf.ByteString getDescriptionBytes() {
*
*
* - * User assigned name of the trigger. Must be unique within the project. + * User-assigned name of the trigger. Must be unique within the project. + * Trigger names must meet the following requirements: + * + They must contain only alphanumeric characters and dashes. + * + They can be 1-64 characters long. + * + They must begin and end with an alphanumeric character. ** *
string name = 21;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -420,10 +446,16 @@ public java.lang.String getName() {
*
*
* - * User assigned name of the trigger. Must be unique within the project. + * User-assigned name of the trigger. Must be unique within the project. + * Trigger names must meet the following requirements: + * + They must contain only alphanumeric characters and dashes. + * + They can be 1-64 characters long. + * + They must begin and end with an alphanumeric character. ** *
string name = 21;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -447,6 +479,8 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* repeated string tags = 19;
+ *
+ * @return A list containing the tags.
*/
public com.google.protobuf.ProtocolStringList getTagsList() {
return tags_;
@@ -459,6 +493,8 @@ public com.google.protobuf.ProtocolStringList getTagsList() {
*
*
* repeated string tags = 19;
+ *
+ * @return The count of tags.
*/
public int getTagsCount() {
return tags_.size();
@@ -471,6 +507,9 @@ public int getTagsCount() {
*
*
* repeated string tags = 19;
+ *
+ * @param index The index of the element to return.
+ * @return The tags at the given index.
*/
public java.lang.String getTags(int index) {
return tags_.get(index);
@@ -483,6 +522,9 @@ public java.lang.String getTags(int index) {
*
*
* repeated string tags = 19;
+ *
+ * @param index The index of the value to return.
+ * @return The bytes of the tags at the given index.
*/
public com.google.protobuf.ByteString getTagsBytes(int index) {
return tags_.getByteString(index);
@@ -502,6 +544,8 @@ public com.google.protobuf.ByteString getTagsBytes(int index) {
*
*
* .google.devtools.cloudbuild.v1.RepoSource trigger_template = 7;
+ *
+ * @return Whether the triggerTemplate field is set.
*/
public boolean hasTriggerTemplate() {
return triggerTemplate_ != null;
@@ -518,6 +562,8 @@ public boolean hasTriggerTemplate() {
*
*
* .google.devtools.cloudbuild.v1.RepoSource trigger_template = 7;
+ *
+ * @return The triggerTemplate.
*/
public com.google.cloudbuild.v1.RepoSource getTriggerTemplate() {
return triggerTemplate_ == null
@@ -553,6 +599,8 @@ public com.google.cloudbuild.v1.RepoSourceOrBuilder getTriggerTemplateOrBuilder(
*
*
* .google.devtools.cloudbuild.v1.GitHubEventsConfig github = 13;
+ *
+ * @return Whether the github field is set.
*/
public boolean hasGithub() {
return github_ != null;
@@ -567,6 +615,8 @@ public boolean hasGithub() {
*
*
* .google.devtools.cloudbuild.v1.GitHubEventsConfig github = 13;
+ *
+ * @return The github.
*/
public com.google.cloudbuild.v1.GitHubEventsConfig getGithub() {
return github_ == null
@@ -597,6 +647,8 @@ public com.google.cloudbuild.v1.GitHubEventsConfigOrBuilder getGithubOrBuilder()
*
*
* .google.devtools.cloudbuild.v1.Build build = 4;
+ *
+ * @return Whether the build field is set.
*/
public boolean hasBuild() {
return buildTemplateCase_ == 4;
@@ -609,6 +661,8 @@ public boolean hasBuild() {
*
*
* .google.devtools.cloudbuild.v1.Build build = 4;
+ *
+ * @return The build.
*/
public com.google.cloudbuild.v1.Build getBuild() {
if (buildTemplateCase_ == 4) {
@@ -642,6 +696,8 @@ public com.google.cloudbuild.v1.BuildOrBuilder getBuildOrBuilder() {
*
*
* string filename = 8;
+ *
+ * @return The filename.
*/
public java.lang.String getFilename() {
java.lang.Object ref = "";
@@ -668,6 +724,8 @@ public java.lang.String getFilename() {
*
*
* string filename = 8;
+ *
+ * @return The bytes for filename.
*/
public com.google.protobuf.ByteString getFilenameBytes() {
java.lang.Object ref = "";
@@ -695,7 +753,10 @@ public com.google.protobuf.ByteString getFilenameBytes() {
* Output only. Time when the trigger was created.
*
*
- * .google.protobuf.Timestamp create_time = 5;
+ * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return Whether the createTime field is set.
*/
public boolean hasCreateTime() {
return createTime_ != null;
@@ -707,7 +768,10 @@ public boolean hasCreateTime() {
* Output only. Time when the trigger was created.
*
*
- * .google.protobuf.Timestamp create_time = 5;
+ * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The createTime.
*/
public com.google.protobuf.Timestamp getCreateTime() {
return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_;
@@ -719,7 +783,8 @@ public com.google.protobuf.Timestamp getCreateTime() {
* Output only. Time when the trigger was created.
*
*
- * .google.protobuf.Timestamp create_time = 5;
+ * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
*/
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
return getCreateTime();
@@ -735,6 +800,8 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
*
*
* bool disabled = 9;
+ *
+ * @return The disabled.
*/
public boolean getDisabled() {
return disabled_;
@@ -771,7 +838,9 @@ public int getSubstitutionsCount() {
*
*
* - * Substitutions data for Build resource. + * Substitutions for Build resource. The keys must match the following + * regular expression: `^_[A-Z0-9_]+$`.The keys cannot conflict with the + * keys in bindings. ** *
map<string, string> substitutions = 11;
@@ -791,7 +860,9 @@ public java.util.Map- * Substitutions data for Build resource. + * Substitutions for Build resource. The keys must match the following + * regular expression: `^_[A-Z0-9_]+$`.The keys cannot conflict with the + * keys in bindings. ** *
map<string, string> substitutions = 11;
@@ -803,7 +874,9 @@ public java.util.Map- * Substitutions data for Build resource. + * Substitutions for Build resource. The keys must match the following + * regular expression: `^_[A-Z0-9_]+$`.The keys cannot conflict with the + * keys in bindings. ** *
map<string, string> substitutions = 11;
@@ -820,7 +893,9 @@ public java.lang.String getSubstitutionsOrDefault(
*
*
* - * Substitutions data for Build resource. + * Substitutions for Build resource. The keys must match the following + * regular expression: `^_[A-Z0-9_]+$`.The keys cannot conflict with the + * keys in bindings. ** *
map<string, string> substitutions = 11;
@@ -843,7 +918,7 @@ public java.lang.String getSubstitutionsOrThrow(java.lang.String key) {
*
* * ignored_files and included_files are file glob matches using - * http://godoc/pkg/path/filepath#Match extended with support for "**". + * https://golang.org/pkg/path/filepath/#Match extended with support for "**". * If ignored_files and changed files are both empty, then they are * not used to determine whether or not to trigger a build. * If ignored_files is not empty, then we ignore any files that match @@ -852,6 +927,8 @@ public java.lang.String getSubstitutionsOrThrow(java.lang.String key) { ** *
repeated string ignored_files = 15;
+ *
+ * @return A list containing the ignoredFiles.
*/
public com.google.protobuf.ProtocolStringList getIgnoredFilesList() {
return ignoredFiles_;
@@ -861,7 +938,7 @@ public com.google.protobuf.ProtocolStringList getIgnoredFilesList() {
*
* * ignored_files and included_files are file glob matches using - * http://godoc/pkg/path/filepath#Match extended with support for "**". + * https://golang.org/pkg/path/filepath/#Match extended with support for "**". * If ignored_files and changed files are both empty, then they are * not used to determine whether or not to trigger a build. * If ignored_files is not empty, then we ignore any files that match @@ -870,6 +947,8 @@ public com.google.protobuf.ProtocolStringList getIgnoredFilesList() { ** *
repeated string ignored_files = 15;
+ *
+ * @return The count of ignoredFiles.
*/
public int getIgnoredFilesCount() {
return ignoredFiles_.size();
@@ -879,7 +958,7 @@ public int getIgnoredFilesCount() {
*
* * ignored_files and included_files are file glob matches using - * http://godoc/pkg/path/filepath#Match extended with support for "**". + * https://golang.org/pkg/path/filepath/#Match extended with support for "**". * If ignored_files and changed files are both empty, then they are * not used to determine whether or not to trigger a build. * If ignored_files is not empty, then we ignore any files that match @@ -888,6 +967,9 @@ public int getIgnoredFilesCount() { ** *
repeated string ignored_files = 15;
+ *
+ * @param index The index of the element to return.
+ * @return The ignoredFiles at the given index.
*/
public java.lang.String getIgnoredFiles(int index) {
return ignoredFiles_.get(index);
@@ -897,7 +979,7 @@ public java.lang.String getIgnoredFiles(int index) {
*
* * ignored_files and included_files are file glob matches using - * http://godoc/pkg/path/filepath#Match extended with support for "**". + * https://golang.org/pkg/path/filepath/#Match extended with support for "**". * If ignored_files and changed files are both empty, then they are * not used to determine whether or not to trigger a build. * If ignored_files is not empty, then we ignore any files that match @@ -906,6 +988,9 @@ public java.lang.String getIgnoredFiles(int index) { ** *
repeated string ignored_files = 15;
+ *
+ * @param index The index of the value to return.
+ * @return The bytes of the ignoredFiles at the given index.
*/
public com.google.protobuf.ByteString getIgnoredFilesBytes(int index) {
return ignoredFiles_.getByteString(index);
@@ -927,6 +1012,8 @@ public com.google.protobuf.ByteString getIgnoredFilesBytes(int index) {
*
*
* repeated string included_files = 16;
+ *
+ * @return A list containing the includedFiles.
*/
public com.google.protobuf.ProtocolStringList getIncludedFilesList() {
return includedFiles_;
@@ -945,6 +1032,8 @@ public com.google.protobuf.ProtocolStringList getIncludedFilesList() {
*
*
* repeated string included_files = 16;
+ *
+ * @return The count of includedFiles.
*/
public int getIncludedFilesCount() {
return includedFiles_.size();
@@ -963,6 +1052,9 @@ public int getIncludedFilesCount() {
*
*
* repeated string included_files = 16;
+ *
+ * @param index The index of the element to return.
+ * @return The includedFiles at the given index.
*/
public java.lang.String getIncludedFiles(int index) {
return includedFiles_.get(index);
@@ -981,6 +1073,9 @@ public java.lang.String getIncludedFiles(int index) {
*
*
* repeated string included_files = 16;
+ *
+ * @param index The index of the value to return.
+ * @return The bytes of the includedFiles at the given index.
*/
public com.google.protobuf.ByteString getIncludedFilesBytes(int index) {
return includedFiles_.getByteString(index);
@@ -1387,7 +1482,7 @@ public Builder clear() {
name_ = "";
tags_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- bitField0_ = (bitField0_ & ~0x00000008);
+ bitField0_ = (bitField0_ & ~0x00000001);
if (triggerTemplateBuilder_ == null) {
triggerTemplate_ = null;
} else {
@@ -1410,9 +1505,9 @@ public Builder clear() {
internalGetMutableSubstitutions().clear();
ignoredFiles_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- bitField0_ = (bitField0_ & ~0x00000800);
+ bitField0_ = (bitField0_ & ~0x00000004);
includedFiles_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- bitField0_ = (bitField0_ & ~0x00001000);
+ bitField0_ = (bitField0_ & ~0x00000008);
buildTemplateCase_ = 0;
buildTemplate_ = null;
return this;
@@ -1443,13 +1538,12 @@ public com.google.cloudbuild.v1.BuildTrigger buildPartial() {
com.google.cloudbuild.v1.BuildTrigger result =
new com.google.cloudbuild.v1.BuildTrigger(this);
int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
result.id_ = id_;
result.description_ = description_;
result.name_ = name_;
- if (((bitField0_ & 0x00000008) != 0)) {
+ if (((bitField0_ & 0x00000001) != 0)) {
tags_ = tags_.getUnmodifiableView();
- bitField0_ = (bitField0_ & ~0x00000008);
+ bitField0_ = (bitField0_ & ~0x00000001);
}
result.tags_ = tags_;
if (triggerTemplateBuilder_ == null) {
@@ -1480,17 +1574,16 @@ public com.google.cloudbuild.v1.BuildTrigger buildPartial() {
result.disabled_ = disabled_;
result.substitutions_ = internalGetSubstitutions();
result.substitutions_.makeImmutable();
- if (((bitField0_ & 0x00000800) != 0)) {
+ if (((bitField0_ & 0x00000004) != 0)) {
ignoredFiles_ = ignoredFiles_.getUnmodifiableView();
- bitField0_ = (bitField0_ & ~0x00000800);
+ bitField0_ = (bitField0_ & ~0x00000004);
}
result.ignoredFiles_ = ignoredFiles_;
- if (((bitField0_ & 0x00001000) != 0)) {
+ if (((bitField0_ & 0x00000008) != 0)) {
includedFiles_ = includedFiles_.getUnmodifiableView();
- bitField0_ = (bitField0_ & ~0x00001000);
+ bitField0_ = (bitField0_ & ~0x00000008);
}
result.includedFiles_ = includedFiles_;
- result.bitField0_ = to_bitField0_;
result.buildTemplateCase_ = buildTemplateCase_;
onBuilt();
return result;
@@ -1556,7 +1649,7 @@ public Builder mergeFrom(com.google.cloudbuild.v1.BuildTrigger other) {
if (!other.tags_.isEmpty()) {
if (tags_.isEmpty()) {
tags_ = other.tags_;
- bitField0_ = (bitField0_ & ~0x00000008);
+ bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureTagsIsMutable();
tags_.addAll(other.tags_);
@@ -1579,7 +1672,7 @@ public Builder mergeFrom(com.google.cloudbuild.v1.BuildTrigger other) {
if (!other.ignoredFiles_.isEmpty()) {
if (ignoredFiles_.isEmpty()) {
ignoredFiles_ = other.ignoredFiles_;
- bitField0_ = (bitField0_ & ~0x00000800);
+ bitField0_ = (bitField0_ & ~0x00000004);
} else {
ensureIgnoredFilesIsMutable();
ignoredFiles_.addAll(other.ignoredFiles_);
@@ -1589,7 +1682,7 @@ public Builder mergeFrom(com.google.cloudbuild.v1.BuildTrigger other) {
if (!other.includedFiles_.isEmpty()) {
if (includedFiles_.isEmpty()) {
includedFiles_ = other.includedFiles_;
- bitField0_ = (bitField0_ & ~0x00001000);
+ bitField0_ = (bitField0_ & ~0x00000008);
} else {
ensureIncludedFilesIsMutable();
includedFiles_.addAll(other.includedFiles_);
@@ -1667,7 +1760,9 @@ public Builder clearBuildTemplate() {
* Output only. Unique identifier of the trigger.
*
*
- * string id = 1;
+ * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The id.
*/
public java.lang.String getId() {
java.lang.Object ref = id_;
@@ -1687,7 +1782,9 @@ public java.lang.String getId() {
* Output only. Unique identifier of the trigger.
*
*
- * string id = 1;
+ * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The bytes for id.
*/
public com.google.protobuf.ByteString getIdBytes() {
java.lang.Object ref = id_;
@@ -1707,7 +1804,10 @@ public com.google.protobuf.ByteString getIdBytes() {
* Output only. Unique identifier of the trigger.
*
*
- * string id = 1;
+ * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @param value The id to set.
+ * @return This builder for chaining.
*/
public Builder setId(java.lang.String value) {
if (value == null) {
@@ -1725,7 +1825,9 @@ public Builder setId(java.lang.String value) {
* Output only. Unique identifier of the trigger.
*
*
- * string id = 1;
+ * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return This builder for chaining.
*/
public Builder clearId() {
@@ -1740,7 +1842,10 @@ public Builder clearId() {
* Output only. Unique identifier of the trigger.
*
*
- * string id = 1;
+ * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @param value The bytes for id to set.
+ * @return This builder for chaining.
*/
public Builder setIdBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1762,6 +1867,8 @@ public Builder setIdBytes(com.google.protobuf.ByteString value) {
*
*
* string description = 10;
+ *
+ * @return The description.
*/
public java.lang.String getDescription() {
java.lang.Object ref = description_;
@@ -1782,6 +1889,8 @@ public java.lang.String getDescription() {
*
*
* string description = 10;
+ *
+ * @return The bytes for description.
*/
public com.google.protobuf.ByteString getDescriptionBytes() {
java.lang.Object ref = description_;
@@ -1802,6 +1911,9 @@ public com.google.protobuf.ByteString getDescriptionBytes() {
*
*
* string description = 10;
+ *
+ * @param value The description to set.
+ * @return This builder for chaining.
*/
public Builder setDescription(java.lang.String value) {
if (value == null) {
@@ -1820,6 +1932,8 @@ public Builder setDescription(java.lang.String value) {
*
*
* string description = 10;
+ *
+ * @return This builder for chaining.
*/
public Builder clearDescription() {
@@ -1835,6 +1949,9 @@ public Builder clearDescription() {
*
*
* string description = 10;
+ *
+ * @param value The bytes for description to set.
+ * @return This builder for chaining.
*/
public Builder setDescriptionBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1852,10 +1969,16 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) {
*
*
* - * User assigned name of the trigger. Must be unique within the project. + * User-assigned name of the trigger. Must be unique within the project. + * Trigger names must meet the following requirements: + * + They must contain only alphanumeric characters and dashes. + * + They can be 1-64 characters long. + * + They must begin and end with an alphanumeric character. ** *
string name = 21;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -1872,10 +1995,16 @@ public java.lang.String getName() {
*
*
* - * User assigned name of the trigger. Must be unique within the project. + * User-assigned name of the trigger. Must be unique within the project. + * Trigger names must meet the following requirements: + * + They must contain only alphanumeric characters and dashes. + * + They can be 1-64 characters long. + * + They must begin and end with an alphanumeric character. ** *
string name = 21;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -1892,10 +2021,17 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* - * User assigned name of the trigger. Must be unique within the project. + * User-assigned name of the trigger. Must be unique within the project. + * Trigger names must meet the following requirements: + * + They must contain only alphanumeric characters and dashes. + * + They can be 1-64 characters long. + * + They must begin and end with an alphanumeric character. ** *
string name = 21;
+ *
+ * @param value The name to set.
+ * @return This builder for chaining.
*/
public Builder setName(java.lang.String value) {
if (value == null) {
@@ -1910,10 +2046,16 @@ public Builder setName(java.lang.String value) {
*
*
* - * User assigned name of the trigger. Must be unique within the project. + * User-assigned name of the trigger. Must be unique within the project. + * Trigger names must meet the following requirements: + * + They must contain only alphanumeric characters and dashes. + * + They can be 1-64 characters long. + * + They must begin and end with an alphanumeric character. ** *
string name = 21;
+ *
+ * @return This builder for chaining.
*/
public Builder clearName() {
@@ -1925,10 +2067,17 @@ public Builder clearName() {
*
*
* - * User assigned name of the trigger. Must be unique within the project. + * User-assigned name of the trigger. Must be unique within the project. + * Trigger names must meet the following requirements: + * + They must contain only alphanumeric characters and dashes. + * + They can be 1-64 characters long. + * + They must begin and end with an alphanumeric character. ** *
string name = 21;
+ *
+ * @param value The bytes for name to set.
+ * @return This builder for chaining.
*/
public Builder setNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1945,9 +2094,9 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureTagsIsMutable() {
- if (!((bitField0_ & 0x00000008) != 0)) {
+ if (!((bitField0_ & 0x00000001) != 0)) {
tags_ = new com.google.protobuf.LazyStringArrayList(tags_);
- bitField0_ |= 0x00000008;
+ bitField0_ |= 0x00000001;
}
}
/**
@@ -1958,6 +2107,8 @@ private void ensureTagsIsMutable() {
*
*
* repeated string tags = 19;
+ *
+ * @return A list containing the tags.
*/
public com.google.protobuf.ProtocolStringList getTagsList() {
return tags_.getUnmodifiableView();
@@ -1970,6 +2121,8 @@ public com.google.protobuf.ProtocolStringList getTagsList() {
*
*
* repeated string tags = 19;
+ *
+ * @return The count of tags.
*/
public int getTagsCount() {
return tags_.size();
@@ -1982,6 +2135,9 @@ public int getTagsCount() {
*
*
* repeated string tags = 19;
+ *
+ * @param index The index of the element to return.
+ * @return The tags at the given index.
*/
public java.lang.String getTags(int index) {
return tags_.get(index);
@@ -1994,6 +2150,9 @@ public java.lang.String getTags(int index) {
*
*
* repeated string tags = 19;
+ *
+ * @param index The index of the value to return.
+ * @return The bytes of the tags at the given index.
*/
public com.google.protobuf.ByteString getTagsBytes(int index) {
return tags_.getByteString(index);
@@ -2006,6 +2165,10 @@ public com.google.protobuf.ByteString getTagsBytes(int index) {
*
*
* repeated string tags = 19;
+ *
+ * @param index The index to set the value at.
+ * @param value The tags to set.
+ * @return This builder for chaining.
*/
public Builder setTags(int index, java.lang.String value) {
if (value == null) {
@@ -2024,6 +2187,9 @@ public Builder setTags(int index, java.lang.String value) {
*
*
* repeated string tags = 19;
+ *
+ * @param value The tags to add.
+ * @return This builder for chaining.
*/
public Builder addTags(java.lang.String value) {
if (value == null) {
@@ -2042,6 +2208,9 @@ public Builder addTags(java.lang.String value) {
*
*
* repeated string tags = 19;
+ *
+ * @param values The tags to add.
+ * @return This builder for chaining.
*/
public Builder addAllTags(java.lang.Iterablerepeated string tags = 19;
+ *
+ * @return This builder for chaining.
*/
public Builder clearTags() {
tags_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- bitField0_ = (bitField0_ & ~0x00000008);
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -2072,6 +2243,9 @@ public Builder clearTags() {
*
*
* repeated string tags = 19;
+ *
+ * @param value The bytes of the tags to add.
+ * @return This builder for chaining.
*/
public Builder addTagsBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -2102,6 +2276,8 @@ public Builder addTagsBytes(com.google.protobuf.ByteString value) {
*
*
* .google.devtools.cloudbuild.v1.RepoSource trigger_template = 7;
+ *
+ * @return Whether the triggerTemplate field is set.
*/
public boolean hasTriggerTemplate() {
return triggerTemplateBuilder_ != null || triggerTemplate_ != null;
@@ -2118,6 +2294,8 @@ public boolean hasTriggerTemplate() {
*
*
* .google.devtools.cloudbuild.v1.RepoSource trigger_template = 7;
+ *
+ * @return The triggerTemplate.
*/
public com.google.cloudbuild.v1.RepoSource getTriggerTemplate() {
if (triggerTemplateBuilder_ == null) {
@@ -2317,6 +2495,8 @@ public com.google.cloudbuild.v1.RepoSourceOrBuilder getTriggerTemplateOrBuilder(
*
*
* .google.devtools.cloudbuild.v1.GitHubEventsConfig github = 13;
+ *
+ * @return Whether the github field is set.
*/
public boolean hasGithub() {
return githubBuilder_ != null || github_ != null;
@@ -2331,6 +2511,8 @@ public boolean hasGithub() {
*
*
* .google.devtools.cloudbuild.v1.GitHubEventsConfig github = 13;
+ *
+ * @return The github.
*/
public com.google.cloudbuild.v1.GitHubEventsConfig getGithub() {
if (githubBuilder_ == null) {
@@ -2513,6 +2695,8 @@ public com.google.cloudbuild.v1.GitHubEventsConfigOrBuilder getGithubOrBuilder()
*
*
* .google.devtools.cloudbuild.v1.Build build = 4;
+ *
+ * @return Whether the build field is set.
*/
public boolean hasBuild() {
return buildTemplateCase_ == 4;
@@ -2525,6 +2709,8 @@ public boolean hasBuild() {
*
*
* .google.devtools.cloudbuild.v1.Build build = 4;
+ *
+ * @return The build.
*/
public com.google.cloudbuild.v1.Build getBuild() {
if (buildBuilder_ == null) {
@@ -2708,6 +2894,8 @@ public com.google.cloudbuild.v1.BuildOrBuilder getBuildOrBuilder() {
*
*
* string filename = 8;
+ *
+ * @return The filename.
*/
public java.lang.String getFilename() {
java.lang.Object ref = "";
@@ -2734,6 +2922,8 @@ public java.lang.String getFilename() {
*
*
* string filename = 8;
+ *
+ * @return The bytes for filename.
*/
public com.google.protobuf.ByteString getFilenameBytes() {
java.lang.Object ref = "";
@@ -2760,6 +2950,9 @@ public com.google.protobuf.ByteString getFilenameBytes() {
*
*
* string filename = 8;
+ *
+ * @param value The filename to set.
+ * @return This builder for chaining.
*/
public Builder setFilename(java.lang.String value) {
if (value == null) {
@@ -2779,6 +2972,8 @@ public Builder setFilename(java.lang.String value) {
*
*
* string filename = 8;
+ *
+ * @return This builder for chaining.
*/
public Builder clearFilename() {
if (buildTemplateCase_ == 8) {
@@ -2797,6 +2992,9 @@ public Builder clearFilename() {
*
*
* string filename = 8;
+ *
+ * @param value The bytes for filename to set.
+ * @return This builder for chaining.
*/
public Builder setFilenameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -2822,7 +3020,11 @@ public Builder setFilenameBytes(com.google.protobuf.ByteString value) {
* Output only. Time when the trigger was created.
*
*
- * .google.protobuf.Timestamp create_time = 5;
+ *
+ * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return Whether the createTime field is set.
*/
public boolean hasCreateTime() {
return createTimeBuilder_ != null || createTime_ != null;
@@ -2834,7 +3036,11 @@ public boolean hasCreateTime() {
* Output only. Time when the trigger was created.
*
*
- * .google.protobuf.Timestamp create_time = 5;
+ *
+ * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The createTime.
*/
public com.google.protobuf.Timestamp getCreateTime() {
if (createTimeBuilder_ == null) {
@@ -2852,7 +3058,9 @@ public com.google.protobuf.Timestamp getCreateTime() {
* Output only. Time when the trigger was created.
*
*
- * .google.protobuf.Timestamp create_time = 5;
+ *
+ * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
*/
public Builder setCreateTime(com.google.protobuf.Timestamp value) {
if (createTimeBuilder_ == null) {
@@ -2874,7 +3082,9 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) {
* Output only. Time when the trigger was created.
*
*
- * .google.protobuf.Timestamp create_time = 5;
+ *
+ * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
*/
public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) {
if (createTimeBuilder_ == null) {
@@ -2893,7 +3103,9 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal
* Output only. Time when the trigger was created.
*
*
- * .google.protobuf.Timestamp create_time = 5;
+ *
+ * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
*/
public Builder mergeCreateTime(com.google.protobuf.Timestamp value) {
if (createTimeBuilder_ == null) {
@@ -2917,7 +3129,9 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) {
* Output only. Time when the trigger was created.
*
*
- * .google.protobuf.Timestamp create_time = 5;
+ *
+ * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
*/
public Builder clearCreateTime() {
if (createTimeBuilder_ == null) {
@@ -2937,7 +3151,9 @@ public Builder clearCreateTime() {
* Output only. Time when the trigger was created.
*
*
- * .google.protobuf.Timestamp create_time = 5;
+ *
+ * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
*/
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() {
@@ -2951,7 +3167,9 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() {
* Output only. Time when the trigger was created.
*
*
- * .google.protobuf.Timestamp create_time = 5;
+ *
+ * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
*/
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
if (createTimeBuilder_ != null) {
@@ -2969,7 +3187,9 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
* Output only. Time when the trigger was created.
*
*
- * .google.protobuf.Timestamp create_time = 5;
+ *
+ * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp,
@@ -2997,6 +3217,8 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
*
*
* bool disabled = 9;
+ *
+ * @return The disabled.
*/
public boolean getDisabled() {
return disabled_;
@@ -3009,6 +3231,9 @@ public boolean getDisabled() {
*
*
* bool disabled = 9;
+ *
+ * @param value The disabled to set.
+ * @return This builder for chaining.
*/
public Builder setDisabled(boolean value) {
@@ -3024,6 +3249,8 @@ public Builder setDisabled(boolean value) {
*
*
* bool disabled = 9;
+ *
+ * @return This builder for chaining.
*/
public Builder clearDisabled() {
@@ -3064,7 +3291,9 @@ public int getSubstitutionsCount() {
*
*
* - * Substitutions data for Build resource. + * Substitutions for Build resource. The keys must match the following + * regular expression: `^_[A-Z0-9_]+$`.The keys cannot conflict with the + * keys in bindings. ** *
map<string, string> substitutions = 11;
@@ -3084,7 +3313,9 @@ public java.util.Map- * Substitutions data for Build resource. + * Substitutions for Build resource. The keys must match the following + * regular expression: `^_[A-Z0-9_]+$`.The keys cannot conflict with the + * keys in bindings. ** *
map<string, string> substitutions = 11;
@@ -3096,7 +3327,9 @@ public java.util.Map- * Substitutions data for Build resource. + * Substitutions for Build resource. The keys must match the following + * regular expression: `^_[A-Z0-9_]+$`.The keys cannot conflict with the + * keys in bindings. ** *
map<string, string> substitutions = 11;
@@ -3113,7 +3346,9 @@ public java.lang.String getSubstitutionsOrDefault(
*
*
* - * Substitutions data for Build resource. + * Substitutions for Build resource. The keys must match the following + * regular expression: `^_[A-Z0-9_]+$`.The keys cannot conflict with the + * keys in bindings. ** *
map<string, string> substitutions = 11;
@@ -3137,7 +3372,9 @@ public Builder clearSubstitutions() {
*
*
* - * Substitutions data for Build resource. + * Substitutions for Build resource. The keys must match the following + * regular expression: `^_[A-Z0-9_]+$`.The keys cannot conflict with the + * keys in bindings. ** *
map<string, string> substitutions = 11;
@@ -3158,7 +3395,9 @@ public java.util.Map- * Substitutions data for Build resource. + * Substitutions for Build resource. The keys must match the following + * regular expression: `^_[A-Z0-9_]+$`.The keys cannot conflict with the + * keys in bindings. ** *
map<string, string> substitutions = 11;
@@ -3177,7 +3416,9 @@ public Builder putSubstitutions(java.lang.String key, java.lang.String value) {
*
*
* - * Substitutions data for Build resource. + * Substitutions for Build resource. The keys must match the following + * regular expression: `^_[A-Z0-9_]+$`.The keys cannot conflict with the + * keys in bindings. ** *
map<string, string> substitutions = 11;
@@ -3191,9 +3432,9 @@ public Builder putAllSubstitutions(java.util.Maprepeated string ignored_files = 15;
+ *
+ * @return A list containing the ignoredFiles.
*/
public com.google.protobuf.ProtocolStringList getIgnoredFilesList() {
return ignoredFiles_.getUnmodifiableView();
@@ -3219,7 +3462,7 @@ public com.google.protobuf.ProtocolStringList getIgnoredFilesList() {
*
* * ignored_files and included_files are file glob matches using - * http://godoc/pkg/path/filepath#Match extended with support for "**". + * https://golang.org/pkg/path/filepath/#Match extended with support for "**". * If ignored_files and changed files are both empty, then they are * not used to determine whether or not to trigger a build. * If ignored_files is not empty, then we ignore any files that match @@ -3228,6 +3471,8 @@ public com.google.protobuf.ProtocolStringList getIgnoredFilesList() { ** *
repeated string ignored_files = 15;
+ *
+ * @return The count of ignoredFiles.
*/
public int getIgnoredFilesCount() {
return ignoredFiles_.size();
@@ -3237,7 +3482,7 @@ public int getIgnoredFilesCount() {
*
* * ignored_files and included_files are file glob matches using - * http://godoc/pkg/path/filepath#Match extended with support for "**". + * https://golang.org/pkg/path/filepath/#Match extended with support for "**". * If ignored_files and changed files are both empty, then they are * not used to determine whether or not to trigger a build. * If ignored_files is not empty, then we ignore any files that match @@ -3246,6 +3491,9 @@ public int getIgnoredFilesCount() { ** *
repeated string ignored_files = 15;
+ *
+ * @param index The index of the element to return.
+ * @return The ignoredFiles at the given index.
*/
public java.lang.String getIgnoredFiles(int index) {
return ignoredFiles_.get(index);
@@ -3255,7 +3503,7 @@ public java.lang.String getIgnoredFiles(int index) {
*
* * ignored_files and included_files are file glob matches using - * http://godoc/pkg/path/filepath#Match extended with support for "**". + * https://golang.org/pkg/path/filepath/#Match extended with support for "**". * If ignored_files and changed files are both empty, then they are * not used to determine whether or not to trigger a build. * If ignored_files is not empty, then we ignore any files that match @@ -3264,6 +3512,9 @@ public java.lang.String getIgnoredFiles(int index) { ** *
repeated string ignored_files = 15;
+ *
+ * @param index The index of the value to return.
+ * @return The bytes of the ignoredFiles at the given index.
*/
public com.google.protobuf.ByteString getIgnoredFilesBytes(int index) {
return ignoredFiles_.getByteString(index);
@@ -3273,7 +3524,7 @@ public com.google.protobuf.ByteString getIgnoredFilesBytes(int index) {
*
* * ignored_files and included_files are file glob matches using - * http://godoc/pkg/path/filepath#Match extended with support for "**". + * https://golang.org/pkg/path/filepath/#Match extended with support for "**". * If ignored_files and changed files are both empty, then they are * not used to determine whether or not to trigger a build. * If ignored_files is not empty, then we ignore any files that match @@ -3282,6 +3533,10 @@ public com.google.protobuf.ByteString getIgnoredFilesBytes(int index) { ** *
repeated string ignored_files = 15;
+ *
+ * @param index The index to set the value at.
+ * @param value The ignoredFiles to set.
+ * @return This builder for chaining.
*/
public Builder setIgnoredFiles(int index, java.lang.String value) {
if (value == null) {
@@ -3297,7 +3552,7 @@ public Builder setIgnoredFiles(int index, java.lang.String value) {
*
* * ignored_files and included_files are file glob matches using - * http://godoc/pkg/path/filepath#Match extended with support for "**". + * https://golang.org/pkg/path/filepath/#Match extended with support for "**". * If ignored_files and changed files are both empty, then they are * not used to determine whether or not to trigger a build. * If ignored_files is not empty, then we ignore any files that match @@ -3306,6 +3561,9 @@ public Builder setIgnoredFiles(int index, java.lang.String value) { ** *
repeated string ignored_files = 15;
+ *
+ * @param value The ignoredFiles to add.
+ * @return This builder for chaining.
*/
public Builder addIgnoredFiles(java.lang.String value) {
if (value == null) {
@@ -3321,7 +3579,7 @@ public Builder addIgnoredFiles(java.lang.String value) {
*
* * ignored_files and included_files are file glob matches using - * http://godoc/pkg/path/filepath#Match extended with support for "**". + * https://golang.org/pkg/path/filepath/#Match extended with support for "**". * If ignored_files and changed files are both empty, then they are * not used to determine whether or not to trigger a build. * If ignored_files is not empty, then we ignore any files that match @@ -3330,6 +3588,9 @@ public Builder addIgnoredFiles(java.lang.String value) { ** *
repeated string ignored_files = 15;
+ *
+ * @param values The ignoredFiles to add.
+ * @return This builder for chaining.
*/
public Builder addAllIgnoredFiles(java.lang.Iterable* ignored_files and included_files are file glob matches using - * http://godoc/pkg/path/filepath#Match extended with support for "**". + * https://golang.org/pkg/path/filepath/#Match extended with support for "**". * If ignored_files and changed files are both empty, then they are * not used to determine whether or not to trigger a build. * If ignored_files is not empty, then we ignore any files that match @@ -3351,10 +3612,12 @@ public Builder addAllIgnoredFiles(java.lang.Iterable* *values) { *
repeated string ignored_files = 15;
+ *
+ * @return This builder for chaining.
*/
public Builder clearIgnoredFiles() {
ignoredFiles_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- bitField0_ = (bitField0_ & ~0x00000800);
+ bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
@@ -3363,7 +3626,7 @@ public Builder clearIgnoredFiles() {
*
* * ignored_files and included_files are file glob matches using - * http://godoc/pkg/path/filepath#Match extended with support for "**". + * https://golang.org/pkg/path/filepath/#Match extended with support for "**". * If ignored_files and changed files are both empty, then they are * not used to determine whether or not to trigger a build. * If ignored_files is not empty, then we ignore any files that match @@ -3372,6 +3635,9 @@ public Builder clearIgnoredFiles() { ** *
repeated string ignored_files = 15;
+ *
+ * @param value The bytes of the ignoredFiles to add.
+ * @return This builder for chaining.
*/
public Builder addIgnoredFilesBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -3388,9 +3654,9 @@ public Builder addIgnoredFilesBytes(com.google.protobuf.ByteString value) {
com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureIncludedFilesIsMutable() {
- if (!((bitField0_ & 0x00001000) != 0)) {
+ if (!((bitField0_ & 0x00000008) != 0)) {
includedFiles_ = new com.google.protobuf.LazyStringArrayList(includedFiles_);
- bitField0_ |= 0x00001000;
+ bitField0_ |= 0x00000008;
}
}
/**
@@ -3407,6 +3673,8 @@ private void ensureIncludedFilesIsMutable() {
*
*
* repeated string included_files = 16;
+ *
+ * @return A list containing the includedFiles.
*/
public com.google.protobuf.ProtocolStringList getIncludedFilesList() {
return includedFiles_.getUnmodifiableView();
@@ -3425,6 +3693,8 @@ public com.google.protobuf.ProtocolStringList getIncludedFilesList() {
*
*
* repeated string included_files = 16;
+ *
+ * @return The count of includedFiles.
*/
public int getIncludedFilesCount() {
return includedFiles_.size();
@@ -3443,6 +3713,9 @@ public int getIncludedFilesCount() {
*
*
* repeated string included_files = 16;
+ *
+ * @param index The index of the element to return.
+ * @return The includedFiles at the given index.
*/
public java.lang.String getIncludedFiles(int index) {
return includedFiles_.get(index);
@@ -3461,6 +3734,9 @@ public java.lang.String getIncludedFiles(int index) {
*
*
* repeated string included_files = 16;
+ *
+ * @param index The index of the value to return.
+ * @return The bytes of the includedFiles at the given index.
*/
public com.google.protobuf.ByteString getIncludedFilesBytes(int index) {
return includedFiles_.getByteString(index);
@@ -3479,6 +3755,10 @@ public com.google.protobuf.ByteString getIncludedFilesBytes(int index) {
*
*
* repeated string included_files = 16;
+ *
+ * @param index The index to set the value at.
+ * @param value The includedFiles to set.
+ * @return This builder for chaining.
*/
public Builder setIncludedFiles(int index, java.lang.String value) {
if (value == null) {
@@ -3503,6 +3783,9 @@ public Builder setIncludedFiles(int index, java.lang.String value) {
*
*
* repeated string included_files = 16;
+ *
+ * @param value The includedFiles to add.
+ * @return This builder for chaining.
*/
public Builder addIncludedFiles(java.lang.String value) {
if (value == null) {
@@ -3527,6 +3810,9 @@ public Builder addIncludedFiles(java.lang.String value) {
*
*
* repeated string included_files = 16;
+ *
+ * @param values The includedFiles to add.
+ * @return This builder for chaining.
*/
public Builder addAllIncludedFiles(java.lang.Iterablerepeated string included_files = 16;
+ *
+ * @return This builder for chaining.
*/
public Builder clearIncludedFiles() {
includedFiles_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- bitField0_ = (bitField0_ & ~0x00001000);
+ bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
return this;
}
@@ -3569,6 +3857,9 @@ public Builder clearIncludedFiles() {
*
*
* repeated string included_files = 16;
+ *
+ * @param value The bytes of the includedFiles to add.
+ * @return This builder for chaining.
*/
public Builder addIncludedFilesBytes(com.google.protobuf.ByteString value) {
if (value == null) {
diff --git a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/BuildTriggerOrBuilder.java b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/BuildTriggerOrBuilder.java
index 3226e9b0..ce07fbb8 100644
--- a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/BuildTriggerOrBuilder.java
+++ b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/BuildTriggerOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -30,7 +30,9 @@ public interface BuildTriggerOrBuilder
* Output only. Unique identifier of the trigger.
*
*
- * string id = 1;
+ * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The id.
*/
java.lang.String getId();
/**
@@ -40,7 +42,9 @@ public interface BuildTriggerOrBuilder
* Output only. Unique identifier of the trigger.
*
*
- * string id = 1;
+ * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The bytes for id.
*/
com.google.protobuf.ByteString getIdBytes();
@@ -52,6 +56,8 @@ public interface BuildTriggerOrBuilder
*
*
* string description = 10;
+ *
+ * @return The description.
*/
java.lang.String getDescription();
/**
@@ -62,6 +68,8 @@ public interface BuildTriggerOrBuilder
*
*
* string description = 10;
+ *
+ * @return The bytes for description.
*/
com.google.protobuf.ByteString getDescriptionBytes();
@@ -69,20 +77,32 @@ public interface BuildTriggerOrBuilder
*
*
* - * User assigned name of the trigger. Must be unique within the project. + * User-assigned name of the trigger. Must be unique within the project. + * Trigger names must meet the following requirements: + * + They must contain only alphanumeric characters and dashes. + * + They can be 1-64 characters long. + * + They must begin and end with an alphanumeric character. ** *
string name = 21;
+ *
+ * @return The name.
*/
java.lang.String getName();
/**
*
*
* - * User assigned name of the trigger. Must be unique within the project. + * User-assigned name of the trigger. Must be unique within the project. + * Trigger names must meet the following requirements: + * + They must contain only alphanumeric characters and dashes. + * + They can be 1-64 characters long. + * + They must begin and end with an alphanumeric character. ** *
string name = 21;
+ *
+ * @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
@@ -94,6 +114,8 @@ public interface BuildTriggerOrBuilder
*
*
* repeated string tags = 19;
+ *
+ * @return A list containing the tags.
*/
java.util.Listrepeated string tags = 19;
+ *
+ * @return The count of tags.
*/
int getTagsCount();
/**
@@ -114,6 +138,9 @@ public interface BuildTriggerOrBuilder
*
*
* repeated string tags = 19;
+ *
+ * @param index The index of the element to return.
+ * @return The tags at the given index.
*/
java.lang.String getTags(int index);
/**
@@ -124,6 +151,9 @@ public interface BuildTriggerOrBuilder
*
*
* repeated string tags = 19;
+ *
+ * @param index The index of the value to return.
+ * @return The bytes of the tags at the given index.
*/
com.google.protobuf.ByteString getTagsBytes(int index);
@@ -139,6 +169,8 @@ public interface BuildTriggerOrBuilder
*
*
* .google.devtools.cloudbuild.v1.RepoSource trigger_template = 7;
+ *
+ * @return Whether the triggerTemplate field is set.
*/
boolean hasTriggerTemplate();
/**
@@ -153,6 +185,8 @@ public interface BuildTriggerOrBuilder
*
*
* .google.devtools.cloudbuild.v1.RepoSource trigger_template = 7;
+ *
+ * @return The triggerTemplate.
*/
com.google.cloudbuild.v1.RepoSource getTriggerTemplate();
/**
@@ -180,6 +214,8 @@ public interface BuildTriggerOrBuilder
*
*
* .google.devtools.cloudbuild.v1.GitHubEventsConfig github = 13;
+ *
+ * @return Whether the github field is set.
*/
boolean hasGithub();
/**
@@ -192,6 +228,8 @@ public interface BuildTriggerOrBuilder
*
*
* .google.devtools.cloudbuild.v1.GitHubEventsConfig github = 13;
+ *
+ * @return The github.
*/
com.google.cloudbuild.v1.GitHubEventsConfig getGithub();
/**
@@ -215,6 +253,8 @@ public interface BuildTriggerOrBuilder
*
*
* .google.devtools.cloudbuild.v1.Build build = 4;
+ *
+ * @return Whether the build field is set.
*/
boolean hasBuild();
/**
@@ -225,6 +265,8 @@ public interface BuildTriggerOrBuilder
*
*
* .google.devtools.cloudbuild.v1.Build build = 4;
+ *
+ * @return The build.
*/
com.google.cloudbuild.v1.Build getBuild();
/**
@@ -247,6 +289,8 @@ public interface BuildTriggerOrBuilder
*
*
* string filename = 8;
+ *
+ * @return The filename.
*/
java.lang.String getFilename();
/**
@@ -258,6 +302,8 @@ public interface BuildTriggerOrBuilder
*
*
* string filename = 8;
+ *
+ * @return The bytes for filename.
*/
com.google.protobuf.ByteString getFilenameBytes();
@@ -268,7 +314,10 @@ public interface BuildTriggerOrBuilder
* Output only. Time when the trigger was created.
*
*
- * .google.protobuf.Timestamp create_time = 5;
+ * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return Whether the createTime field is set.
*/
boolean hasCreateTime();
/**
@@ -278,7 +327,10 @@ public interface BuildTriggerOrBuilder
* Output only. Time when the trigger was created.
*
*
- * .google.protobuf.Timestamp create_time = 5;
+ * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The createTime.
*/
com.google.protobuf.Timestamp getCreateTime();
/**
@@ -288,7 +340,8 @@ public interface BuildTriggerOrBuilder
* Output only. Time when the trigger was created.
*
*
- * .google.protobuf.Timestamp create_time = 5;
+ * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
*/
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder();
@@ -300,6 +353,8 @@ public interface BuildTriggerOrBuilder
*
*
* bool disabled = 9;
+ *
+ * @return The disabled.
*/
boolean getDisabled();
@@ -307,7 +362,9 @@ public interface BuildTriggerOrBuilder
*
*
* - * Substitutions data for Build resource. + * Substitutions for Build resource. The keys must match the following + * regular expression: `^_[A-Z0-9_]+$`.The keys cannot conflict with the + * keys in bindings. ** *
map<string, string> substitutions = 11;
@@ -317,7 +374,9 @@ public interface BuildTriggerOrBuilder
*
*
* - * Substitutions data for Build resource. + * Substitutions for Build resource. The keys must match the following + * regular expression: `^_[A-Z0-9_]+$`.The keys cannot conflict with the + * keys in bindings. ** *
map<string, string> substitutions = 11;
@@ -330,7 +389,9 @@ public interface BuildTriggerOrBuilder
*
*
* - * Substitutions data for Build resource. + * Substitutions for Build resource. The keys must match the following + * regular expression: `^_[A-Z0-9_]+$`.The keys cannot conflict with the + * keys in bindings. ** *
map<string, string> substitutions = 11;
@@ -340,7 +401,9 @@ public interface BuildTriggerOrBuilder
*
*
* - * Substitutions data for Build resource. + * Substitutions for Build resource. The keys must match the following + * regular expression: `^_[A-Z0-9_]+$`.The keys cannot conflict with the + * keys in bindings. ** *
map<string, string> substitutions = 11;
@@ -350,7 +413,9 @@ public interface BuildTriggerOrBuilder
*
*
* - * Substitutions data for Build resource. + * Substitutions for Build resource. The keys must match the following + * regular expression: `^_[A-Z0-9_]+$`.The keys cannot conflict with the + * keys in bindings. ** *
map<string, string> substitutions = 11;
@@ -362,7 +427,7 @@ public interface BuildTriggerOrBuilder
*
* * ignored_files and included_files are file glob matches using - * http://godoc/pkg/path/filepath#Match extended with support for "**". + * https://golang.org/pkg/path/filepath/#Match extended with support for "**". * If ignored_files and changed files are both empty, then they are * not used to determine whether or not to trigger a build. * If ignored_files is not empty, then we ignore any files that match @@ -371,6 +436,8 @@ public interface BuildTriggerOrBuilder ** *
repeated string ignored_files = 15;
+ *
+ * @return A list containing the ignoredFiles.
*/
java.util.List* ignored_files and included_files are file glob matches using - * http://godoc/pkg/path/filepath#Match extended with support for "**". + * https://golang.org/pkg/path/filepath/#Match extended with support for "**". * If ignored_files and changed files are both empty, then they are * not used to determine whether or not to trigger a build. * If ignored_files is not empty, then we ignore any files that match @@ -387,6 +454,8 @@ public interface BuildTriggerOrBuilder ** *
repeated string ignored_files = 15;
+ *
+ * @return The count of ignoredFiles.
*/
int getIgnoredFilesCount();
/**
@@ -394,7 +463,7 @@ public interface BuildTriggerOrBuilder
*
* * ignored_files and included_files are file glob matches using - * http://godoc/pkg/path/filepath#Match extended with support for "**". + * https://golang.org/pkg/path/filepath/#Match extended with support for "**". * If ignored_files and changed files are both empty, then they are * not used to determine whether or not to trigger a build. * If ignored_files is not empty, then we ignore any files that match @@ -403,6 +472,9 @@ public interface BuildTriggerOrBuilder ** *
repeated string ignored_files = 15;
+ *
+ * @param index The index of the element to return.
+ * @return The ignoredFiles at the given index.
*/
java.lang.String getIgnoredFiles(int index);
/**
@@ -410,7 +482,7 @@ public interface BuildTriggerOrBuilder
*
* * ignored_files and included_files are file glob matches using - * http://godoc/pkg/path/filepath#Match extended with support for "**". + * https://golang.org/pkg/path/filepath/#Match extended with support for "**". * If ignored_files and changed files are both empty, then they are * not used to determine whether or not to trigger a build. * If ignored_files is not empty, then we ignore any files that match @@ -419,6 +491,9 @@ public interface BuildTriggerOrBuilder ** *
repeated string ignored_files = 15;
+ *
+ * @param index The index of the value to return.
+ * @return The bytes of the ignoredFiles at the given index.
*/
com.google.protobuf.ByteString getIgnoredFilesBytes(int index);
@@ -436,6 +511,8 @@ public interface BuildTriggerOrBuilder
*
*
* repeated string included_files = 16;
+ *
+ * @return A list containing the includedFiles.
*/
java.util.Listrepeated string included_files = 16;
+ *
+ * @return The count of includedFiles.
*/
int getIncludedFilesCount();
/**
@@ -468,6 +547,9 @@ public interface BuildTriggerOrBuilder
*
*
* repeated string included_files = 16;
+ *
+ * @param index The index of the element to return.
+ * @return The includedFiles at the given index.
*/
java.lang.String getIncludedFiles(int index);
/**
@@ -484,6 +566,9 @@ public interface BuildTriggerOrBuilder
*
*
* repeated string included_files = 16;
+ *
+ * @param index The index of the value to return.
+ * @return The bytes of the includedFiles at the given index.
*/
com.google.protobuf.ByteString getIncludedFilesBytes(int index);
diff --git a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/BuiltImage.java b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/BuiltImage.java
index 862e1179..44476ad6 100644
--- a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/BuiltImage.java
+++ b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/BuiltImage.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -42,6 +42,12 @@ private BuiltImage() {
digest_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new BuiltImage();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -55,7 +61,6 @@ private BuiltImage(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -140,6 +145,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* string name = 1;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -161,6 +168,8 @@ public java.lang.String getName() {
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -184,6 +193,8 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* string digest = 3;
+ *
+ * @return The digest.
*/
public java.lang.String getDigest() {
java.lang.Object ref = digest_;
@@ -204,6 +215,8 @@ public java.lang.String getDigest() {
*
*
* string digest = 3;
+ *
+ * @return The bytes for digest.
*/
public com.google.protobuf.ByteString getDigestBytes() {
java.lang.Object ref = digest_;
@@ -226,7 +239,11 @@ public com.google.protobuf.ByteString getDigestBytes() {
* Output only. Stores timing information for pushing the specified image.
*
*
- * .google.devtools.cloudbuild.v1.TimeSpan push_timing = 4;
+ *
+ * .google.devtools.cloudbuild.v1.TimeSpan push_timing = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return Whether the pushTiming field is set.
*/
public boolean hasPushTiming() {
return pushTiming_ != null;
@@ -238,7 +255,11 @@ public boolean hasPushTiming() {
* Output only. Stores timing information for pushing the specified image.
*
*
- * .google.devtools.cloudbuild.v1.TimeSpan push_timing = 4;
+ *
+ * .google.devtools.cloudbuild.v1.TimeSpan push_timing = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The pushTiming.
*/
public com.google.cloudbuild.v1.TimeSpan getPushTiming() {
return pushTiming_ == null
@@ -252,7 +273,9 @@ public com.google.cloudbuild.v1.TimeSpan getPushTiming() {
* Output only. Stores timing information for pushing the specified image.
*
*
- * .google.devtools.cloudbuild.v1.TimeSpan push_timing = 4;
+ *
+ * .google.devtools.cloudbuild.v1.TimeSpan push_timing = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
*/
public com.google.cloudbuild.v1.TimeSpanOrBuilder getPushTimingOrBuilder() {
return getPushTiming();
@@ -625,6 +648,8 @@ public Builder mergeFrom(
*
*
* string name = 1;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -646,6 +671,8 @@ public java.lang.String getName() {
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -667,6 +694,9 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* string name = 1;
+ *
+ * @param value The name to set.
+ * @return This builder for chaining.
*/
public Builder setName(java.lang.String value) {
if (value == null) {
@@ -686,6 +716,8 @@ public Builder setName(java.lang.String value) {
*
*
* string name = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearName() {
@@ -702,6 +734,9 @@ public Builder clearName() {
*
*
* string name = 1;
+ *
+ * @param value The bytes for name to set.
+ * @return This builder for chaining.
*/
public Builder setNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -723,6 +758,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
*
*
* string digest = 3;
+ *
+ * @return The digest.
*/
public java.lang.String getDigest() {
java.lang.Object ref = digest_;
@@ -743,6 +780,8 @@ public java.lang.String getDigest() {
*
*
* string digest = 3;
+ *
+ * @return The bytes for digest.
*/
public com.google.protobuf.ByteString getDigestBytes() {
java.lang.Object ref = digest_;
@@ -763,6 +802,9 @@ public com.google.protobuf.ByteString getDigestBytes() {
*
*
* string digest = 3;
+ *
+ * @param value The digest to set.
+ * @return This builder for chaining.
*/
public Builder setDigest(java.lang.String value) {
if (value == null) {
@@ -781,6 +823,8 @@ public Builder setDigest(java.lang.String value) {
*
*
* string digest = 3;
+ *
+ * @return This builder for chaining.
*/
public Builder clearDigest() {
@@ -796,6 +840,9 @@ public Builder clearDigest() {
*
*
* string digest = 3;
+ *
+ * @param value The bytes for digest to set.
+ * @return This builder for chaining.
*/
public Builder setDigestBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -821,7 +868,11 @@ public Builder setDigestBytes(com.google.protobuf.ByteString value) {
* Output only. Stores timing information for pushing the specified image.
*
*
- * .google.devtools.cloudbuild.v1.TimeSpan push_timing = 4;
+ *
+ * .google.devtools.cloudbuild.v1.TimeSpan push_timing = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return Whether the pushTiming field is set.
*/
public boolean hasPushTiming() {
return pushTimingBuilder_ != null || pushTiming_ != null;
@@ -833,7 +884,11 @@ public boolean hasPushTiming() {
* Output only. Stores timing information for pushing the specified image.
*
*
- * .google.devtools.cloudbuild.v1.TimeSpan push_timing = 4;
+ *
+ * .google.devtools.cloudbuild.v1.TimeSpan push_timing = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The pushTiming.
*/
public com.google.cloudbuild.v1.TimeSpan getPushTiming() {
if (pushTimingBuilder_ == null) {
@@ -851,7 +906,9 @@ public com.google.cloudbuild.v1.TimeSpan getPushTiming() {
* Output only. Stores timing information for pushing the specified image.
*
*
- * .google.devtools.cloudbuild.v1.TimeSpan push_timing = 4;
+ *
+ * .google.devtools.cloudbuild.v1.TimeSpan push_timing = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
*/
public Builder setPushTiming(com.google.cloudbuild.v1.TimeSpan value) {
if (pushTimingBuilder_ == null) {
@@ -873,7 +930,9 @@ public Builder setPushTiming(com.google.cloudbuild.v1.TimeSpan value) {
* Output only. Stores timing information for pushing the specified image.
*
*
- * .google.devtools.cloudbuild.v1.TimeSpan push_timing = 4;
+ *
+ * .google.devtools.cloudbuild.v1.TimeSpan push_timing = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
*/
public Builder setPushTiming(com.google.cloudbuild.v1.TimeSpan.Builder builderForValue) {
if (pushTimingBuilder_ == null) {
@@ -892,7 +951,9 @@ public Builder setPushTiming(com.google.cloudbuild.v1.TimeSpan.Builder builderFo
* Output only. Stores timing information for pushing the specified image.
*
*
- * .google.devtools.cloudbuild.v1.TimeSpan push_timing = 4;
+ *
+ * .google.devtools.cloudbuild.v1.TimeSpan push_timing = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
*/
public Builder mergePushTiming(com.google.cloudbuild.v1.TimeSpan value) {
if (pushTimingBuilder_ == null) {
@@ -918,7 +979,9 @@ public Builder mergePushTiming(com.google.cloudbuild.v1.TimeSpan value) {
* Output only. Stores timing information for pushing the specified image.
*
*
- * .google.devtools.cloudbuild.v1.TimeSpan push_timing = 4;
+ *
+ * .google.devtools.cloudbuild.v1.TimeSpan push_timing = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
*/
public Builder clearPushTiming() {
if (pushTimingBuilder_ == null) {
@@ -938,7 +1001,9 @@ public Builder clearPushTiming() {
* Output only. Stores timing information for pushing the specified image.
*
*
- * .google.devtools.cloudbuild.v1.TimeSpan push_timing = 4;
+ *
+ * .google.devtools.cloudbuild.v1.TimeSpan push_timing = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
*/
public com.google.cloudbuild.v1.TimeSpan.Builder getPushTimingBuilder() {
@@ -952,7 +1017,9 @@ public com.google.cloudbuild.v1.TimeSpan.Builder getPushTimingBuilder() {
* Output only. Stores timing information for pushing the specified image.
*
*
- * .google.devtools.cloudbuild.v1.TimeSpan push_timing = 4;
+ *
+ * .google.devtools.cloudbuild.v1.TimeSpan push_timing = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
*/
public com.google.cloudbuild.v1.TimeSpanOrBuilder getPushTimingOrBuilder() {
if (pushTimingBuilder_ != null) {
@@ -970,7 +1037,9 @@ public com.google.cloudbuild.v1.TimeSpanOrBuilder getPushTimingOrBuilder() {
* Output only. Stores timing information for pushing the specified image.
*
*
- * .google.devtools.cloudbuild.v1.TimeSpan push_timing = 4;
+ *
+ * .google.devtools.cloudbuild.v1.TimeSpan push_timing = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.cloudbuild.v1.TimeSpan,
diff --git a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/BuiltImageOrBuilder.java b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/BuiltImageOrBuilder.java
index 28e080d9..25242d4e 100644
--- a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/BuiltImageOrBuilder.java
+++ b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/BuiltImageOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -32,6 +32,8 @@ public interface BuiltImageOrBuilder
*
*
* string name = 1;
+ *
+ * @return The name.
*/
java.lang.String getName();
/**
@@ -43,6 +45,8 @@ public interface BuiltImageOrBuilder
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
@@ -54,6 +58,8 @@ public interface BuiltImageOrBuilder
*
*
* string digest = 3;
+ *
+ * @return The digest.
*/
java.lang.String getDigest();
/**
@@ -64,6 +70,8 @@ public interface BuiltImageOrBuilder
*
*
* string digest = 3;
+ *
+ * @return The bytes for digest.
*/
com.google.protobuf.ByteString getDigestBytes();
@@ -74,7 +82,11 @@ public interface BuiltImageOrBuilder
* Output only. Stores timing information for pushing the specified image.
*
*
- * .google.devtools.cloudbuild.v1.TimeSpan push_timing = 4;
+ *
+ * .google.devtools.cloudbuild.v1.TimeSpan push_timing = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return Whether the pushTiming field is set.
*/
boolean hasPushTiming();
/**
@@ -84,7 +96,11 @@ public interface BuiltImageOrBuilder
* Output only. Stores timing information for pushing the specified image.
*
*
- * .google.devtools.cloudbuild.v1.TimeSpan push_timing = 4;
+ *
+ * .google.devtools.cloudbuild.v1.TimeSpan push_timing = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The pushTiming.
*/
com.google.cloudbuild.v1.TimeSpan getPushTiming();
/**
@@ -94,7 +110,9 @@ public interface BuiltImageOrBuilder
* Output only. Stores timing information for pushing the specified image.
*
*
- * .google.devtools.cloudbuild.v1.TimeSpan push_timing = 4;
+ *
+ * .google.devtools.cloudbuild.v1.TimeSpan push_timing = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
*/
com.google.cloudbuild.v1.TimeSpanOrBuilder getPushTimingOrBuilder();
}
diff --git a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/CancelBuildRequest.java b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/CancelBuildRequest.java
index 08ae19cd..e636cde4 100644
--- a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/CancelBuildRequest.java
+++ b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/CancelBuildRequest.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -42,6 +42,12 @@ private CancelBuildRequest() {
id_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new CancelBuildRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -55,7 +61,6 @@ private CancelBuildRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -124,6 +129,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The projectId.
*/
public java.lang.String getProjectId() {
java.lang.Object ref = projectId_;
@@ -144,6 +151,8 @@ public java.lang.String getProjectId() {
*
*
* string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The bytes for projectId.
*/
public com.google.protobuf.ByteString getProjectIdBytes() {
java.lang.Object ref = projectId_;
@@ -167,6 +176,8 @@ public com.google.protobuf.ByteString getProjectIdBytes() {
*
*
* string id = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The id.
*/
public java.lang.String getId() {
java.lang.Object ref = id_;
@@ -187,6 +198,8 @@ public java.lang.String getId() {
*
*
* string id = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The bytes for id.
*/
public com.google.protobuf.ByteString getIdBytes() {
java.lang.Object ref = id_;
@@ -541,6 +554,8 @@ public Builder mergeFrom(
*
*
* string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The projectId.
*/
public java.lang.String getProjectId() {
java.lang.Object ref = projectId_;
@@ -561,6 +576,8 @@ public java.lang.String getProjectId() {
*
*
* string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The bytes for projectId.
*/
public com.google.protobuf.ByteString getProjectIdBytes() {
java.lang.Object ref = projectId_;
@@ -581,6 +598,9 @@ public com.google.protobuf.ByteString getProjectIdBytes() {
*
*
* string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @param value The projectId to set.
+ * @return This builder for chaining.
*/
public Builder setProjectId(java.lang.String value) {
if (value == null) {
@@ -599,6 +619,8 @@ public Builder setProjectId(java.lang.String value) {
*
*
* string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return This builder for chaining.
*/
public Builder clearProjectId() {
@@ -614,6 +636,9 @@ public Builder clearProjectId() {
*
*
* string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @param value The bytes for projectId to set.
+ * @return This builder for chaining.
*/
public Builder setProjectIdBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -635,6 +660,8 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) {
*
*
* string id = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The id.
*/
public java.lang.String getId() {
java.lang.Object ref = id_;
@@ -655,6 +682,8 @@ public java.lang.String getId() {
*
*
* string id = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The bytes for id.
*/
public com.google.protobuf.ByteString getIdBytes() {
java.lang.Object ref = id_;
@@ -675,6 +704,9 @@ public com.google.protobuf.ByteString getIdBytes() {
*
*
* string id = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @param value The id to set.
+ * @return This builder for chaining.
*/
public Builder setId(java.lang.String value) {
if (value == null) {
@@ -693,6 +725,8 @@ public Builder setId(java.lang.String value) {
*
*
* string id = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return This builder for chaining.
*/
public Builder clearId() {
@@ -708,6 +742,9 @@ public Builder clearId() {
*
*
* string id = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @param value The bytes for id to set.
+ * @return This builder for chaining.
*/
public Builder setIdBytes(com.google.protobuf.ByteString value) {
if (value == null) {
diff --git a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/CancelBuildRequestOrBuilder.java b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/CancelBuildRequestOrBuilder.java
index 2d962d6a..2a1b1399 100644
--- a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/CancelBuildRequestOrBuilder.java
+++ b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/CancelBuildRequestOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -31,6 +31,8 @@ public interface CancelBuildRequestOrBuilder
*
*
* string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The projectId.
*/
java.lang.String getProjectId();
/**
@@ -41,6 +43,8 @@ public interface CancelBuildRequestOrBuilder
*
*
* string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The bytes for projectId.
*/
com.google.protobuf.ByteString getProjectIdBytes();
@@ -52,6 +56,8 @@ public interface CancelBuildRequestOrBuilder
*
*
* string id = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The id.
*/
java.lang.String getId();
/**
@@ -62,6 +68,8 @@ public interface CancelBuildRequestOrBuilder
*
*
* string id = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The bytes for id.
*/
com.google.protobuf.ByteString getIdBytes();
}
diff --git a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/Cloudbuild.java b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/Cloudbuild.java
index 9ae6c23e..035c5941 100644
--- a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/Cloudbuild.java
+++ b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/Cloudbuild.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -43,6 +43,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r
internal_static_google_devtools_cloudbuild_v1_RepoSource_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_devtools_cloudbuild_v1_RepoSource_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_devtools_cloudbuild_v1_RepoSource_SubstitutionsEntry_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_devtools_cloudbuild_v1_RepoSource_SubstitutionsEntry_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_devtools_cloudbuild_v1_Source_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
@@ -246,299 +250,300 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\n\006source\030\003 \001(\0132).google.devtools.cloudbu"
+ "ild.v1.RepoSourceB\003\340A\002\"C\n\rStorageSource\022"
+ "\016\n\006bucket\030\001 \001(\t\022\016\n\006object\030\002 \001(\t\022\022\n\ngener"
- + "ation\030\003 \001(\003\"\215\001\n\nRepoSource\022\022\n\nproject_id"
+ + "ation\030\003 \001(\003\"\256\002\n\nRepoSource\022\022\n\nproject_id"
+ "\030\001 \001(\t\022\021\n\trepo_name\030\002 \001(\t\022\025\n\013branch_name"
+ "\030\003 \001(\tH\000\022\022\n\010tag_name\030\004 \001(\tH\000\022\024\n\ncommit_s"
- + "ha\030\005 \001(\tH\000\022\013\n\003dir\030\007 \001(\tB\n\n\010revision\"\234\001\n\006"
- + "Source\022F\n\016storage_source\030\002 \001(\0132,.google."
- + "devtools.cloudbuild.v1.StorageSourceH\000\022@"
- + "\n\013repo_source\030\003 \001(\0132).google.devtools.cl"
- + "oudbuild.v1.RepoSourceH\000B\010\n\006source\"h\n\nBu"
- + "iltImage\022\014\n\004name\030\001 \001(\t\022\016\n\006digest\030\003 \001(\t\022<"
- + "\n\013push_timing\030\004 \001(\0132\'.google.devtools.cl"
- + "oudbuild.v1.TimeSpan\"\237\003\n\tBuildStep\022\014\n\004na"
- + "me\030\001 \001(\t\022\013\n\003env\030\002 \003(\t\022\014\n\004args\030\003 \003(\t\022\013\n\003d"
- + "ir\030\004 \001(\t\022\n\n\002id\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 \003(\0132%.google.devtools.cloudb"
- + "uild.v1.Volume\0227\n\006timing\030\n \001(\0132\'.google."
- + "devtools.cloudbuild.v1.TimeSpan\022<\n\013pull_"
- + "timing\030\r \001(\0132\'.google.devtools.cloudbuil"
- + "d.v1.TimeSpan\022*\n\007timeout\030\013 \001(\0132\031.google."
- + "protobuf.Duration\022;\n\006status\030\014 \001(\0162+.goog"
- + "le.devtools.cloudbuild.v1.Build.Status\"$"
- + "\n\006Volume\022\014\n\004name\030\001 \001(\t\022\014\n\004path\030\002 \001(\t\"\357\001\n"
- + "\007Results\0229\n\006images\030\002 \003(\0132).google.devtoo"
- + "ls.cloudbuild.v1.BuiltImage\022\031\n\021build_ste"
- + "p_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_o"
- + "utputs\030\006 \003(\014\022@\n\017artifact_timing\030\007 \001(\0132\'."
- + "google.devtools.cloudbuild.v1.TimeSpan\"`"
- + "\n\016ArtifactResult\022\020\n\010location\030\001 \001(\t\022<\n\tfi"
- + "le_hash\030\002 \003(\0132).google.devtools.cloudbui"
- + "ld.v1.FileHashes\"\340\t\n\005Build\022\n\n\002id\030\001 \001(\t\022\022"
- + "\n\nproject_id\030\020 \001(\t\022;\n\006status\030\002 \001(\0162+.goo"
- + "gle.devtools.cloudbuild.v1.Build.Status\022"
- + "\025\n\rstatus_detail\030\030 \001(\t\0225\n\006source\030\003 \001(\0132%"
- + ".google.devtools.cloudbuild.v1.Source\0227\n"
- + "\005steps\030\013 \003(\0132(.google.devtools.cloudbuil"
- + "d.v1.BuildStep\0227\n\007results\030\n \001(\0132&.google"
- + ".devtools.cloudbuild.v1.Results\022/\n\013creat"
- + "e_time\030\006 \001(\0132\032.google.protobuf.Timestamp"
- + "\022.\n\nstart_time\030\007 \001(\0132\032.google.protobuf.T"
- + "imestamp\022/\n\013finish_time\030\010 \001(\0132\032.google.p"
- + "rotobuf.Timestamp\022*\n\007timeout\030\014 \001(\0132\031.goo"
- + "gle.protobuf.Duration\022\016\n\006images\030\r \003(\t\022;\n"
- + "\tartifacts\030% \001(\0132(.google.devtools.cloud"
- + "build.v1.Artifacts\022\023\n\013logs_bucket\030\023 \001(\t\022"
- + "J\n\021source_provenance\030\025 \001(\0132/.google.devt"
- + "ools.cloudbuild.v1.SourceProvenance\022\030\n\020b"
- + "uild_trigger_id\030\026 \001(\t\022<\n\007options\030\027 \001(\0132+"
- + ".google.devtools.cloudbuild.v1.BuildOpti"
- + "ons\022\017\n\007log_url\030\031 \001(\t\022N\n\rsubstitutions\030\035 "
- + "\003(\01327.google.devtools.cloudbuild.v1.Buil"
- + "d.SubstitutionsEntry\022\014\n\004tags\030\037 \003(\t\0226\n\007se"
- + "crets\030 \003(\0132%.google.devtools.cloudbuild"
- + ".v1.Secret\022@\n\006timing\030! \003(\01320.google.devt"
- + "ools.cloudbuild.v1.Build.TimingEntry\0324\n\022"
- + "SubstitutionsEntry\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\005value\030\002 \001(\0132\'.google.devtools.cloudbui"
- + "ld.v1.TimeSpan:\0028\001\"\177\n\006Status\022\022\n\016STATUS_U"
- + "NKNOWN\020\000\022\n\n\006QUEUED\020\001\022\013\n\007WORKING\020\002\022\013\n\007SUC"
- + "CESS\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\"\323\001\n\tArtifact"
- + "s\022\016\n\006images\030\001 \003(\t\022I\n\007objects\030\002 \001(\01328.goo"
- + "gle.devtools.cloudbuild.v1.Artifacts.Art"
- + "ifactObjects\032k\n\017ArtifactObjects\022\020\n\010locat"
- + "ion\030\001 \001(\t\022\r\n\005paths\030\002 \003(\t\0227\n\006timing\030\003 \001(\013"
- + "2\'.google.devtools.cloudbuild.v1.TimeSpa"
- + "n\"h\n\010TimeSpan\022.\n\nstart_time\030\001 \001(\0132\032.goog"
- + "le.protobuf.Timestamp\022,\n\010end_time\030\002 \001(\0132"
- + "\032.google.protobuf.Timestamp\"M\n\026BuildOper"
- + "ationMetadata\0223\n\005build\030\001 \001(\0132$.google.de"
- + "vtools.cloudbuild.v1.Build\"\336\002\n\020SourcePro"
- + "venance\022M\n\027resolved_storage_source\030\003 \001(\013"
- + "2,.google.devtools.cloudbuild.v1.Storage"
- + "Source\022G\n\024resolved_repo_source\030\006 \001(\0132).g"
- + "oogle.devtools.cloudbuild.v1.RepoSource\022"
- + "T\n\013file_hashes\030\004 \003(\0132?.google.devtools.c"
- + "loudbuild.v1.SourceProvenance.FileHashes"
- + "Entry\032\\\n\017FileHashesEntry\022\013\n\003key\030\001 \001(\t\0228\n"
- + "\005value\030\002 \001(\0132).google.devtools.cloudbuil"
- + "d.v1.FileHashes:\0028\001\"D\n\nFileHashes\0226\n\tfil"
- + "e_hash\030\001 \003(\0132#.google.devtools.cloudbuil"
- + "d.v1.Hash\"|\n\004Hash\022:\n\004type\030\001 \001(\0162,.google"
- + ".devtools.cloudbuild.v1.Hash.HashType\022\r\n"
- + "\005value\030\002 \001(\014\")\n\010HashType\022\010\n\004NONE\020\000\022\n\n\006SH"
- + "A256\020\001\022\007\n\003MD5\020\002\"\232\001\n\006Secret\022\024\n\014kms_key_na"
- + "me\030\001 \001(\t\022H\n\nsecret_env\030\003 \003(\01324.google.de"
- + "vtools.cloudbuild.v1.Secret.SecretEnvEnt"
- + "ry\0320\n\016SecretEnvEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005val"
- + "ue\030\002 \001(\014:\0028\001\"g\n\022CreateBuildRequest\022\027\n\npr"
- + "oject_id\030\001 \001(\tB\003\340A\002\0228\n\005build\030\002 \001(\0132$.goo"
- + "gle.devtools.cloudbuild.v1.BuildB\003\340A\002\";\n"
- + "\017GetBuildRequest\022\027\n\nproject_id\030\001 \001(\tB\003\340A"
- + "\002\022\017\n\002id\030\002 \001(\tB\003\340A\002\"c\n\021ListBuildsRequest\022"
- + "\027\n\nproject_id\030\001 \001(\tB\003\340A\002\022\021\n\tpage_size\030\002 "
- + "\001(\005\022\022\n\npage_token\030\003 \001(\t\022\016\n\006filter\030\010 \001(\t\""
- + "c\n\022ListBuildsResponse\0224\n\006builds\030\001 \003(\0132$."
- + "google.devtools.cloudbuild.v1.Build\022\027\n\017n"
- + "ext_page_token\030\002 \001(\t\">\n\022CancelBuildReque"
- + "st\022\027\n\nproject_id\030\001 \001(\tB\003\340A\002\022\017\n\002id\030\002 \001(\tB"
- + "\003\340A\002\"\257\004\n\014BuildTrigger\022\n\n\002id\030\001 \001(\t\022\023\n\013des"
- + "cription\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.de"
- + "vtools.cloudbuild.v1.RepoSource\022A\n\006githu"
- + "b\030\r \001(\01321.google.devtools.cloudbuild.v1."
- + "GitHubEventsConfig\0225\n\005build\030\004 \001(\0132$.goog"
- + "le.devtools.cloudbuild.v1.BuildH\000\022\022\n\010fil"
- + "ename\030\010 \001(\tH\000\022/\n\013create_time\030\005 \001(\0132\032.goo"
- + "gle.protobuf.Timestamp\022\020\n\010disabled\030\t \001(\010"
- + "\022U\n\rsubstitutions\030\013 \003(\0132>.google.devtool"
- + "s.cloudbuild.v1.BuildTrigger.Substitutio"
- + "nsEntry\022\025\n\rignored_files\030\017 \003(\t\022\026\n\016includ"
- + "ed_files\030\020 \003(\t\0324\n\022SubstitutionsEntry\022\013\n\003"
- + "key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001B\020\n\016build_te"
- + "mplate\"\334\001\n\022GitHubEventsConfig\022\033\n\017install"
- + "ation_id\030\001 \001(\003B\002\030\001\022\r\n\005owner\030\006 \001(\t\022\014\n\004nam"
- + "e\030\007 \001(\t\022H\n\014pull_request\030\004 \001(\01320.google.d"
- + "evtools.cloudbuild.v1.PullRequestFilterH"
- + "\000\0229\n\004push\030\005 \001(\0132).google.devtools.cloudb"
- + "uild.v1.PushFilterH\000B\007\n\005event\"\311\001\n\021PullRe"
- + "questFilter\022\020\n\006branch\030\002 \001(\tH\000\022X\n\017comment"
- + "_control\030\005 \001(\0162?.google.devtools.cloudbu"
- + "ild.v1.PullRequestFilter.CommentControl\""
- + "=\n\016CommentControl\022\025\n\021COMMENTS_DISABLED\020\000"
- + "\022\024\n\020COMMENTS_ENABLED\020\001B\t\n\007git_ref\"8\n\nPus"
- + "hFilter\022\020\n\006branch\030\002 \001(\tH\000\022\r\n\003tag\030\003 \001(\tH\000"
- + "B\t\n\007git_ref\"w\n\031CreateBuildTriggerRequest"
- + "\022\027\n\nproject_id\030\001 \001(\tB\003\340A\002\022A\n\007trigger\030\002 \001"
- + "(\0132+.google.devtools.cloudbuild.v1.Build"
- + "TriggerB\003\340A\002\"J\n\026GetBuildTriggerRequest\022\027"
- + "\n\nproject_id\030\001 \001(\tB\003\340A\002\022\027\n\ntrigger_id\030\002 "
- + "\001(\tB\003\340A\002\"Z\n\030ListBuildTriggersRequest\022\027\n\n"
- + "project_id\030\001 \001(\tB\003\340A\002\022\021\n\tpage_size\030\002 \001(\005"
- + "\022\022\n\npage_token\030\003 \001(\t\"s\n\031ListBuildTrigger"
- + "sResponse\022=\n\010triggers\030\001 \003(\0132+.google.dev"
- + "tools.cloudbuild.v1.BuildTrigger\022\027\n\017next"
- + "_page_token\030\002 \001(\t\"M\n\031DeleteBuildTriggerR"
- + "equest\022\027\n\nproject_id\030\001 \001(\tB\003\340A\002\022\027\n\ntrigg"
- + "er_id\030\002 \001(\tB\003\340A\002\"\220\001\n\031UpdateBuildTriggerR"
- + "equest\022\027\n\nproject_id\030\001 \001(\tB\003\340A\002\022\027\n\ntrigg"
- + "er_id\030\002 \001(\tB\003\340A\002\022A\n\007trigger\030\003 \001(\0132+.goog"
- + "le.devtools.cloudbuild.v1.BuildTriggerB\003"
- + "\340A\002\"\306\007\n\014BuildOptions\022L\n\026source_provenanc"
- + "e_hash\030\001 \003(\0162,.google.devtools.cloudbuil"
- + "d.v1.Hash.HashType\022Y\n\027requested_verify_o"
- + "ption\030\002 \001(\01628.google.devtools.cloudbuild"
- + ".v1.BuildOptions.VerifyOption\022M\n\014machine"
- + "_type\030\003 \001(\01627.google.devtools.cloudbuild"
- + ".v1.BuildOptions.MachineType\022\024\n\014disk_siz"
- + "e_gb\030\006 \001(\003\022[\n\023substitution_option\030\004 \001(\0162"
- + ">.google.devtools.cloudbuild.v1.BuildOpt"
- + "ions.SubstitutionOption\022\\\n\024log_streaming"
- + "_option\030\005 \001(\0162>.google.devtools.cloudbui"
- + "ld.v1.BuildOptions.LogStreamingOption\022\023\n"
- + "\013worker_pool\030\007 \001(\t\022H\n\007logging\030\013 \001(\01627.go"
- + "ogle.devtools.cloudbuild.v1.BuildOptions"
- + ".LoggingMode\022\013\n\003env\030\014 \003(\t\022\022\n\nsecret_env\030"
- + "\r \003(\t\0226\n\007volumes\030\016 \003(\0132%.google.devtools"
- + ".cloudbuild.v1.Volume\".\n\014VerifyOption\022\020\n"
- + "\014NOT_VERIFIED\020\000\022\014\n\010VERIFIED\020\001\"C\n\013Machine"
- + "Type\022\017\n\013UNSPECIFIED\020\000\022\020\n\014N1_HIGHCPU_8\020\001\022"
- + "\021\n\rN1_HIGHCPU_32\020\002\"5\n\022SubstitutionOption"
- + "\022\016\n\nMUST_MATCH\020\000\022\017\n\013ALLOW_LOOSE\020\001\"G\n\022Log"
- + "StreamingOption\022\022\n\016STREAM_DEFAULT\020\000\022\r\n\tS"
- + "TREAM_ON\020\001\022\016\n\nSTREAM_OFF\020\002\"@\n\013LoggingMod"
- + "e\022\027\n\023LOGGING_UNSPECIFIED\020\000\022\n\n\006LEGACY\020\001\022\014"
- + "\n\010GCS_ONLY\020\002\"\364\004\n\nWorkerPool\022\014\n\004name\030\016 \001("
- + "\t\022\022\n\nproject_id\030\002 \001(\t\022\035\n\025service_account"
- + "_email\030\003 \001(\t\022\024\n\014worker_count\030\004 \001(\003\022B\n\rwo"
- + "rker_config\030\020 \001(\0132+.google.devtools.clou"
- + "dbuild.v1.WorkerConfig\022A\n\007regions\030\t \003(\0162"
- + "0.google.devtools.cloudbuild.v1.WorkerPo"
- + "ol.Region\022/\n\013create_time\030\013 \001(\0132\032.google."
- + "protobuf.Timestamp\022/\n\013update_time\030\021 \001(\0132"
- + "\032.google.protobuf.Timestamp\022/\n\013delete_ti"
- + "me\030\014 \001(\0132\032.google.protobuf.Timestamp\022@\n\006"
- + "status\030\r \001(\01620.google.devtools.cloudbuil"
- + "d.v1.WorkerPool.Status\"[\n\006Region\022\026\n\022REGI"
- + "ON_UNSPECIFIED\020\000\022\017\n\013US_CENTRAL1\020\001\022\014\n\010US_"
- + "WEST1\020\002\022\014\n\010US_EAST1\020\003\022\014\n\010US_EAST4\020\004\"V\n\006S"
- + "tatus\022\026\n\022STATUS_UNSPECIFIED\020\000\022\014\n\010CREATIN"
- + "G\020\001\022\013\n\007RUNNING\020\002\022\014\n\010DELETING\020\003\022\013\n\007DELETE"
- + "D\020\004\"\200\001\n\014WorkerConfig\022\024\n\014machine_type\030\001 \001"
- + "(\t\022\024\n\014disk_size_gb\030\002 \001(\003\0227\n\007network\030\003 \001("
- + "\0132&.google.devtools.cloudbuild.v1.Networ"
- + "k\022\013\n\003tag\030\004 \001(\t\"B\n\007Network\022\022\n\nproject_id\030"
- + "\001 \001(\t\022\017\n\007network\030\002 \001(\t\022\022\n\nsubnetwork\030\003 \001"
- + "(\t\"i\n\027CreateWorkerPoolRequest\022\016\n\006parent\030"
- + "\001 \001(\t\022>\n\013worker_pool\030\002 \001(\0132).google.devt"
- + "ools.cloudbuild.v1.WorkerPool\"$\n\024GetWork"
- + "erPoolRequest\022\014\n\004name\030\001 \001(\t\"\'\n\027DeleteWor"
- + "kerPoolRequest\022\014\n\004name\030\001 \001(\t\"g\n\027UpdateWo"
- + "rkerPoolRequest\022\014\n\004name\030\002 \001(\t\022>\n\013worker_"
- + "pool\030\003 \001(\0132).google.devtools.cloudbuild."
- + "v1.WorkerPool\"(\n\026ListWorkerPoolsRequest\022"
- + "\016\n\006parent\030\001 \001(\t\"Z\n\027ListWorkerPoolsRespon"
- + "se\022?\n\014worker_pools\030\001 \003(\0132).google.devtoo"
- + "ls.cloudbuild.v1.WorkerPool2\241\026\n\nCloudBui"
- + "ld\022\305\001\n\013CreateBuild\0221.google.devtools.clo"
- + "udbuild.v1.CreateBuildRequest\032\035.google.l"
- + "ongrunning.Operation\"d\202\323\344\223\002)\" /v1/projec"
- + "ts/{project_id}/builds:\005build\332A\020project_"
- + "id,build\312A\037\n\005Build\022\026BuildOperationMetada"
- + "ta\022\237\001\n\010GetBuild\022..google.devtools.cloudb"
- + "uild.v1.GetBuildRequest\032$.google.devtool"
- + "s.cloudbuild.v1.Build\"=\202\323\344\223\002\'\022%/v1/proje"
- + "cts/{project_id}/builds/{id}\332A\rproject_i"
- + "d,id\022\257\001\n\nListBuilds\0220.google.devtools.cl"
- + "oudbuild.v1.ListBuildsRequest\0321.google.d"
- + "evtools.cloudbuild.v1.ListBuildsResponse"
- + "\"<\202\323\344\223\002\"\022 /v1/projects/{project_id}/buil"
- + "ds\332A\021project_id,filter\022\257\001\n\013CancelBuild\0221"
- + ".google.devtools.cloudbuild.v1.CancelBui"
- + "ldRequest\032$.google.devtools.cloudbuild.v"
- + "1.Build\"G\202\323\344\223\0021\",/v1/projects/{project_i"
- + "d}/builds/{id}:cancel:\001*\332A\rproject_id,id"
- + "\022\307\001\n\nRetryBuild\0220.google.devtools.cloudb"
- + "uild.v1.RetryBuildRequest\032\035.google.longr"
- + "unning.Operation\"h\202\323\344\223\0020\"+/v1/projects/{"
- + "project_id}/builds/{id}:retry:\001*\332A\rproje"
- + "ct_id,id\312A\037\n\005Build\022\026BuildOperationMetada"
- + "ta\022\305\001\n\022CreateBuildTrigger\0228.google.devto"
- + "ols.cloudbuild.v1.CreateBuildTriggerRequ"
- + "est\032+.google.devtools.cloudbuild.v1.Buil"
- + "dTrigger\"H\202\323\344\223\002-\"\"/v1/projects/{project_"
- + "id}/triggers:\007trigger\332A\022project_id,trigg"
- + "er\022\306\001\n\017GetBuildTrigger\0225.google.devtools"
- + ".cloudbuild.v1.GetBuildTriggerRequest\032+."
+ + "ha\030\005 \001(\tH\000\022\013\n\003dir\030\007 \001(\t\022\024\n\014invert_regex\030"
+ + "\010 \001(\010\022S\n\rsubstitutions\030\t \003(\0132<.google.de"
+ + "vtools.cloudbuild.v1.RepoSource.Substitu"
+ + "tionsEntry\0324\n\022SubstitutionsEntry\022\013\n\003key\030"
+ + "\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001B\n\n\010revision\"\234\001\n"
+ + "\006Source\022F\n\016storage_source\030\002 \001(\0132,.google"
+ + ".devtools.cloudbuild.v1.StorageSourceH\000\022"
+ + "@\n\013repo_source\030\003 \001(\0132).google.devtools.c"
+ + "loudbuild.v1.RepoSourceH\000B\010\n\006source\"m\n\nB"
+ + "uiltImage\022\014\n\004name\030\001 \001(\t\022\016\n\006digest\030\003 \001(\t\022"
+ + "A\n\013push_timing\030\004 \001(\0132\'.google.devtools.c"
+ + "loudbuild.v1.TimeSpanB\003\340A\003\"\244\003\n\tBuildStep"
+ + "\022\014\n\004name\030\001 \001(\t\022\013\n\003env\030\002 \003(\t\022\014\n\004args\030\003 \003("
+ + "\t\022\013\n\003dir\030\004 \001(\t\022\n\n\002id\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 \003(\0132%.google.devtools."
+ + "cloudbuild.v1.Volume\022<\n\006timing\030\n \001(\0132\'.g"
+ + "oogle.devtools.cloudbuild.v1.TimeSpanB\003\340"
+ + "A\003\022<\n\013pull_timing\030\r \001(\0132\'.google.devtool"
+ + "s.cloudbuild.v1.TimeSpan\022*\n\007timeout\030\013 \001("
+ + "\0132\031.google.protobuf.Duration\022;\n\006status\030\014"
+ + " \001(\0162+.google.devtools.cloudbuild.v1.Bui"
+ + "ld.Status\"$\n\006Volume\022\014\n\004name\030\001 \001(\t\022\014\n\004pat"
+ + "h\030\002 \001(\t\"\357\001\n\007Results\0229\n\006images\030\002 \003(\0132).go"
+ + "ogle.devtools.cloudbuild.v1.BuiltImage\022\031"
+ + "\n\021build_step_images\030\003 \003(\t\022\031\n\021artifact_ma"
+ + "nifest\030\004 \001(\t\022\025\n\rnum_artifacts\030\005 \001(\003\022\032\n\022b"
+ + "uild_step_outputs\030\006 \003(\014\022@\n\017artifact_timi"
+ + "ng\030\007 \001(\0132\'.google.devtools.cloudbuild.v1"
+ + ".TimeSpan\"`\n\016ArtifactResult\022\020\n\010location\030"
+ + "\001 \001(\t\022<\n\tfile_hash\030\002 \003(\0132).google.devtoo"
+ + "ls.cloudbuild.v1.FileHashes\"\304\n\n\005Build\022\017\n"
+ + "\002id\030\001 \001(\tB\003\340A\003\022\027\n\nproject_id\030\020 \001(\tB\003\340A\003\022"
+ + ";\n\006status\030\002 \001(\0162+.google.devtools.cloudb"
+ + "uild.v1.Build.Status\022\025\n\rstatus_detail\030\030 "
+ + "\001(\t\0225\n\006source\030\003 \001(\0132%.google.devtools.cl"
+ + "oudbuild.v1.Source\0227\n\005steps\030\013 \003(\0132(.goog"
+ + "le.devtools.cloudbuild.v1.BuildStep\022<\n\007r"
+ + "esults\030\n \001(\0132&.google.devtools.cloudbuil"
+ + "d.v1.ResultsB\003\340A\003\0224\n\013create_time\030\006 \001(\0132\032"
+ + ".google.protobuf.TimestampB\003\340A\003\0223\n\nstart"
+ + "_time\030\007 \001(\0132\032.google.protobuf.TimestampB"
+ + "\003\340A\003\0224\n\013finish_time\030\010 \001(\0132\032.google.proto"
+ + "buf.TimestampB\003\340A\003\022*\n\007timeout\030\014 \001(\0132\031.go"
+ + "ogle.protobuf.Duration\022\016\n\006images\030\r \003(\t\022,"
+ + "\n\tqueue_ttl\030( \001(\0132\031.google.protobuf.Dura"
+ + "tion\022;\n\tartifacts\030% \001(\0132(.google.devtool"
+ + "s.cloudbuild.v1.Artifacts\022\023\n\013logs_bucket"
+ + "\030\023 \001(\t\022J\n\021source_provenance\030\025 \001(\0132/.goog"
+ + "le.devtools.cloudbuild.v1.SourceProvenan"
+ + "ce\022\030\n\020build_trigger_id\030\026 \001(\t\022<\n\007options\030"
+ + "\027 \001(\0132+.google.devtools.cloudbuild.v1.Bu"
+ + "ildOptions\022\024\n\007log_url\030\031 \001(\tB\003\340A\003\022N\n\rsubs"
+ + "titutions\030\035 \003(\01327.google.devtools.cloudb"
+ + "uild.v1.Build.SubstitutionsEntry\022\014\n\004tags"
+ + "\030\037 \003(\t\0226\n\007secrets\030 \003(\0132%.google.devtool"
+ + "s.cloudbuild.v1.Secret\022E\n\006timing\030! \003(\01320"
+ + ".google.devtools.cloudbuild.v1.Build.Tim"
+ + "ingEntryB\003\340A\003\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\"\214\001\n\006"
+ + "Status\022\022\n\016STATUS_UNKNOWN\020\000\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\tCANCEL"
+ + "LED\020\007\022\013\n\007EXPIRED\020\t\"\323\001\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\032k\n\017ArtifactObjects\022\020\n\010location\030\001 \001(\t"
+ + "\022\r\n\005paths\030\002 \003(\t\0227\n\006timing\030\003 \001(\0132\'.google"
+ + ".devtools.cloudbuild.v1.TimeSpan\"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\"\343\002\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\022Y\n\013file_h"
+ + "ashes\030\004 \003(\0132?.google.devtools.cloudbuild"
+ + ".v1.SourceProvenance.FileHashesEntryB\003\340A"
+ + "\003\032\\\n\017FileHashesEntry\022\013\n\003key\030\001 \001(\t\0228\n\005val"
+ + "ue\030\002 \001(\0132).google.devtools.cloudbuild.v1"
+ + ".FileHashes:\0028\001\"D\n\nFileHashes\0226\n\tfile_ha"
+ + "sh\030\001 \003(\0132#.google.devtools.cloudbuild.v1"
+ + ".Hash\"|\n\004Hash\022:\n\004type\030\001 \001(\0162,.google.dev"
+ + "tools.cloudbuild.v1.Hash.HashType\022\r\n\005val"
+ + "ue\030\002 \001(\014\")\n\010HashType\022\010\n\004NONE\020\000\022\n\n\006SHA256"
+ + "\020\001\022\007\n\003MD5\020\002\"\232\001\n\006Secret\022\024\n\014kms_key_name\030\001"
+ + " \001(\t\022H\n\nsecret_env\030\003 \003(\01324.google.devtoo"
+ + "ls.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\"g\n\022CreateBuildRequest\022\027\n\nprojec"
+ + "t_id\030\001 \001(\tB\003\340A\002\0228\n\005build\030\002 \001(\0132$.google."
+ + "devtools.cloudbuild.v1.BuildB\003\340A\002\";\n\017Get"
+ + "BuildRequest\022\027\n\nproject_id\030\001 \001(\tB\003\340A\002\022\017\n"
+ + "\002id\030\002 \001(\tB\003\340A\002\"c\n\021ListBuildsRequest\022\027\n\np"
+ + "roject_id\030\001 \001(\tB\003\340A\002\022\021\n\tpage_size\030\002 \001(\005\022"
+ + "\022\n\npage_token\030\003 \001(\t\022\016\n\006filter\030\010 \001(\t\"c\n\022L"
+ + "istBuildsResponse\0224\n\006builds\030\001 \003(\0132$.goog"
+ + "le.devtools.cloudbuild.v1.Build\022\027\n\017next_"
+ + "page_token\030\002 \001(\t\">\n\022CancelBuildRequest\022\027"
+ + "\n\nproject_id\030\001 \001(\tB\003\340A\002\022\017\n\002id\030\002 \001(\tB\003\340A\002"
+ + "\"\271\004\n\014BuildTrigger\022\017\n\002id\030\001 \001(\tB\003\340A\003\022\023\n\013de"
+ + "scription\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.d"
+ + "evtools.cloudbuild.v1.RepoSource\022A\n\006gith"
+ + "ub\030\r \001(\01321.google.devtools.cloudbuild.v1"
+ + ".GitHubEventsConfig\0225\n\005build\030\004 \001(\0132$.goo"
+ + "gle.devtools.cloudbuild.v1.BuildH\000\022\022\n\010fi"
+ + "lename\030\010 \001(\tH\000\0224\n\013create_time\030\005 \001(\0132\032.go"
+ + "ogle.protobuf.TimestampB\003\340A\003\022\020\n\010disabled"
+ + "\030\t \001(\010\022U\n\rsubstitutions\030\013 \003(\0132>.google.d"
+ + "evtools.cloudbuild.v1.BuildTrigger.Subst"
+ + "itutionsEntry\022\025\n\rignored_files\030\017 \003(\t\022\026\n\016"
+ + "included_files\030\020 \003(\t\0324\n\022SubstitutionsEnt"
+ + "ry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001B\020\n\016bu"
+ + "ild_template\"\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\"\337\001\n\021"
+ + "PullRequestFilter\022\020\n\006branch\030\002 \001(\tH\000\022X\n\017c"
+ + "omment_control\030\005 \001(\0162?.google.devtools.c"
+ + "loudbuild.v1.PullRequestFilter.CommentCo"
+ + "ntrol\022\024\n\014invert_regex\030\006 \001(\010\"=\n\016CommentCo"
+ + "ntrol\022\025\n\021COMMENTS_DISABLED\020\000\022\024\n\020COMMENTS"
+ + "_ENABLED\020\001B\t\n\007git_ref\"N\n\nPushFilter\022\020\n\006b"
+ + "ranch\030\002 \001(\tH\000\022\r\n\003tag\030\003 \001(\tH\000\022\024\n\014invert_r"
+ + "egex\030\004 \001(\010B\t\n\007git_ref\"w\n\031CreateBuildTrig"
+ + "gerRequest\022\027\n\nproject_id\030\001 \001(\tB\003\340A\002\022A\n\007t"
+ + "rigger\030\002 \001(\0132+.google.devtools.cloudbuil"
+ + "d.v1.BuildTriggerB\003\340A\002\"J\n\026GetBuildTrigge"
+ + "rRequest\022\027\n\nproject_id\030\001 \001(\tB\003\340A\002\022\027\n\ntri"
+ + "gger_id\030\002 \001(\tB\003\340A\002\"Z\n\030ListBuildTriggersR"
+ + "equest\022\027\n\nproject_id\030\001 \001(\tB\003\340A\002\022\021\n\tpage_"
+ + "size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"s\n\031ListBu"
+ + "ildTriggersResponse\022=\n\010triggers\030\001 \003(\0132+."
+ "google.devtools.cloudbuild.v1.BuildTrigg"
- + "er\"O\202\323\344\223\0021\022//v1/projects/{project_id}/tr"
- + "iggers/{trigger_id}\332A\025project_id,trigger"
- + "_id\022\277\001\n\021ListBuildTriggers\0227.google.devto"
- + "ols.cloudbuild.v1.ListBuildTriggersReque"
- + "st\0328.google.devtools.cloudbuild.v1.ListB"
- + "uildTriggersResponse\"7\202\323\344\223\002$\022\"/v1/projec"
- + "ts/{project_id}/triggers\332A\nproject_id\022\267\001"
- + "\n\022DeleteBuildTrigger\0228.google.devtools.c"
- + "loudbuild.v1.DeleteBuildTriggerRequest\032\026"
- + ".google.protobuf.Empty\"O\202\323\344\223\0021*//v1/proj"
- + "ects/{project_id}/triggers/{trigger_id}\332"
- + "A\025project_id,trigger_id\022\335\001\n\022UpdateBuildT"
- + "rigger\0228.google.devtools.cloudbuild.v1.U"
- + "pdateBuildTriggerRequest\032+.google.devtoo"
- + "ls.cloudbuild.v1.BuildTrigger\"`\202\323\344\223\002:2//"
- + "v1/projects/{project_id}/triggers/{trigg"
- + "er_id}:\007trigger\332A\035project_id,trigger_id,"
- + "trigger\022\356\001\n\017RunBuildTrigger\0225.google.dev"
- + "tools.cloudbuild.v1.RunBuildTriggerReque"
- + "st\032\035.google.longrunning.Operation\"\204\001\202\323\344\223"
- + "\002=\"3/v1/projects/{project_id}/triggers/{"
- + "trigger_id}:run:\006source\332A\034project_id,tri"
- + "gger_id,source\312A\037\n\005Build\022\026BuildOperation"
- + "Metadata\022w\n\020CreateWorkerPool\0226.google.de"
- + "vtools.cloudbuild.v1.CreateWorkerPoolReq"
- + "uest\032).google.devtools.cloudbuild.v1.Wor"
- + "kerPool\"\000\022q\n\rGetWorkerPool\0223.google.devt"
- + "ools.cloudbuild.v1.GetWorkerPoolRequest\032"
- + ").google.devtools.cloudbuild.v1.WorkerPo"
- + "ol\"\000\022d\n\020DeleteWorkerPool\0226.google.devtoo"
- + "ls.cloudbuild.v1.DeleteWorkerPoolRequest"
- + "\032\026.google.protobuf.Empty\"\000\022w\n\020UpdateWork"
- + "erPool\0226.google.devtools.cloudbuild.v1.U"
- + "pdateWorkerPoolRequest\032).google.devtools"
- + ".cloudbuild.v1.WorkerPool\"\000\022\202\001\n\017ListWork"
- + "erPools\0225.google.devtools.cloudbuild.v1."
- + "ListWorkerPoolsRequest\0326.google.devtools"
- + ".cloudbuild.v1.ListWorkerPoolsResponse\"\000"
- + "\032M\312A\031cloudbuild.googleapis.com\322A.https:/"
- + "/www.googleapis.com/auth/cloud-platformB"
- + "k\n\030com.google.cloudbuild.v1P\001ZGgoogle.go"
- + "lang.org/genproto/googleapis/devtools/cl"
- + "oudbuild/v1;cloudbuild\242\002\003GCBb\006proto3"
+ + "er\022\027\n\017next_page_token\030\002 \001(\t\"M\n\031DeleteBui"
+ + "ldTriggerRequest\022\027\n\nproject_id\030\001 \001(\tB\003\340A"
+ + "\002\022\027\n\ntrigger_id\030\002 \001(\tB\003\340A\002\"\220\001\n\031UpdateBui"
+ + "ldTriggerRequest\022\027\n\nproject_id\030\001 \001(\tB\003\340A"
+ + "\002\022\027\n\ntrigger_id\030\002 \001(\tB\003\340A\002\022A\n\007trigger\030\003 "
+ + "\001(\0132+.google.devtools.cloudbuild.v1.Buil"
+ + "dTriggerB\003\340A\002\"\306\007\n\014BuildOptions\022L\n\026source"
+ + "_provenance_hash\030\001 \003(\0162,.google.devtools"
+ + ".cloudbuild.v1.Hash.HashType\022Y\n\027requeste"
+ + "d_verify_option\030\002 \001(\01628.google.devtools."
+ + "cloudbuild.v1.BuildOptions.VerifyOption\022"
+ + "M\n\014machine_type\030\003 \001(\01627.google.devtools."
+ + "cloudbuild.v1.BuildOptions.MachineType\022\024"
+ + "\n\014disk_size_gb\030\006 \001(\003\022[\n\023substitution_opt"
+ + "ion\030\004 \001(\0162>.google.devtools.cloudbuild.v"
+ + "1.BuildOptions.SubstitutionOption\022\\\n\024log"
+ + "_streaming_option\030\005 \001(\0162>.google.devtool"
+ + "s.cloudbuild.v1.BuildOptions.LogStreamin"
+ + "gOption\022\023\n\013worker_pool\030\007 \001(\t\022H\n\007logging\030"
+ + "\013 \001(\01627.google.devtools.cloudbuild.v1.Bu"
+ + "ildOptions.LoggingMode\022\013\n\003env\030\014 \003(\t\022\022\n\ns"
+ + "ecret_env\030\r \003(\t\0226\n\007volumes\030\016 \003(\0132%.googl"
+ + "e.devtools.cloudbuild.v1.Volume\".\n\014Verif"
+ + "yOption\022\020\n\014NOT_VERIFIED\020\000\022\014\n\010VERIFIED\020\001\""
+ + "C\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\"5\n\022Substitu"
+ + "tionOption\022\016\n\nMUST_MATCH\020\000\022\017\n\013ALLOW_LOOS"
+ + "E\020\001\"G\n\022LogStreamingOption\022\022\n\016STREAM_DEFA"
+ + "ULT\020\000\022\r\n\tSTREAM_ON\020\001\022\016\n\nSTREAM_OFF\020\002\"@\n\013"
+ + "LoggingMode\022\027\n\023LOGGING_UNSPECIFIED\020\000\022\n\n\006"
+ + "LEGACY\020\001\022\014\n\010GCS_ONLY\020\002\"\364\004\n\nWorkerPool\022\014\n"
+ + "\004name\030\016 \001(\t\022\022\n\nproject_id\030\002 \001(\t\022\035\n\025servi"
+ + "ce_account_email\030\003 \001(\t\022\024\n\014worker_count\030\004"
+ + " \001(\003\022B\n\rworker_config\030\020 \001(\0132+.google.dev"
+ + "tools.cloudbuild.v1.WorkerConfig\022A\n\007regi"
+ + "ons\030\t \003(\01620.google.devtools.cloudbuild.v"
+ + "1.WorkerPool.Region\022/\n\013create_time\030\013 \001(\013"
+ + "2\032.google.protobuf.Timestamp\022/\n\013update_t"
+ + "ime\030\021 \001(\0132\032.google.protobuf.Timestamp\022/\n"
+ + "\013delete_time\030\014 \001(\0132\032.google.protobuf.Tim"
+ + "estamp\022@\n\006status\030\r \001(\01620.google.devtools"
+ + ".cloudbuild.v1.WorkerPool.Status\"[\n\006Regi"
+ + "on\022\026\n\022REGION_UNSPECIFIED\020\000\022\017\n\013US_CENTRAL"
+ + "1\020\001\022\014\n\010US_WEST1\020\002\022\014\n\010US_EAST1\020\003\022\014\n\010US_EA"
+ + "ST4\020\004\"V\n\006Status\022\026\n\022STATUS_UNSPECIFIED\020\000\022"
+ + "\014\n\010CREATING\020\001\022\013\n\007RUNNING\020\002\022\014\n\010DELETING\020\003"
+ + "\022\013\n\007DELETED\020\004\"\200\001\n\014WorkerConfig\022\024\n\014machin"
+ + "e_type\030\001 \001(\t\022\024\n\014disk_size_gb\030\002 \001(\003\0227\n\007ne"
+ + "twork\030\003 \001(\0132&.google.devtools.cloudbuild"
+ + ".v1.Network\022\013\n\003tag\030\004 \001(\t\"B\n\007Network\022\022\n\np"
+ + "roject_id\030\001 \001(\t\022\017\n\007network\030\002 \001(\t\022\022\n\nsubn"
+ + "etwork\030\003 \001(\t\"i\n\027CreateWorkerPoolRequest\022"
+ + "\016\n\006parent\030\001 \001(\t\022>\n\013worker_pool\030\002 \001(\0132).g"
+ + "oogle.devtools.cloudbuild.v1.WorkerPool\""
+ + "$\n\024GetWorkerPoolRequest\022\014\n\004name\030\001 \001(\t\"\'\n"
+ + "\027DeleteWorkerPoolRequest\022\014\n\004name\030\001 \001(\t\"g"
+ + "\n\027UpdateWorkerPoolRequest\022\014\n\004name\030\002 \001(\t\022"
+ + ">\n\013worker_pool\030\003 \001(\0132).google.devtools.c"
+ + "loudbuild.v1.WorkerPool\"(\n\026ListWorkerPoo"
+ + "lsRequest\022\016\n\006parent\030\001 \001(\t\"Z\n\027ListWorkerP"
+ + "oolsResponse\022?\n\014worker_pools\030\001 \003(\0132).goo"
+ + "gle.devtools.cloudbuild.v1.WorkerPool2\241\026"
+ + "\n\nCloudBuild\022\305\001\n\013CreateBuild\0221.google.de"
+ + "vtools.cloudbuild.v1.CreateBuildRequest\032"
+ + "\035.google.longrunning.Operation\"d\202\323\344\223\002)\" "
+ + "/v1/projects/{project_id}/builds:\005build\332"
+ + "A\020project_id,build\312A\037\n\005Build\022\026BuildOpera"
+ + "tionMetadata\022\237\001\n\010GetBuild\022..google.devto"
+ + "ols.cloudbuild.v1.GetBuildRequest\032$.goog"
+ + "le.devtools.cloudbuild.v1.Build\"=\202\323\344\223\002\'\022"
+ + "%/v1/projects/{project_id}/builds/{id}\332A"
+ + "\rproject_id,id\022\257\001\n\nListBuilds\0220.google.d"
+ + "evtools.cloudbuild.v1.ListBuildsRequest\032"
+ + "1.google.devtools.cloudbuild.v1.ListBuil"
+ + "dsResponse\"<\202\323\344\223\002\"\022 /v1/projects/{projec"
+ + "t_id}/builds\332A\021project_id,filter\022\257\001\n\013Can"
+ + "celBuild\0221.google.devtools.cloudbuild.v1"
+ + ".CancelBuildRequest\032$.google.devtools.cl"
+ + "oudbuild.v1.Build\"G\202\323\344\223\0021\",/v1/projects/"
+ + "{project_id}/builds/{id}:cancel:\001*\332A\rpro"
+ + "ject_id,id\022\307\001\n\nRetryBuild\0220.google.devto"
+ + "ols.cloudbuild.v1.RetryBuildRequest\032\035.go"
+ + "ogle.longrunning.Operation\"h\202\323\344\223\0020\"+/v1/"
+ + "projects/{project_id}/builds/{id}:retry:"
+ + "\001*\332A\rproject_id,id\312A\037\n\005Build\022\026BuildOpera"
+ + "tionMetadata\022\305\001\n\022CreateBuildTrigger\0228.go"
+ + "ogle.devtools.cloudbuild.v1.CreateBuildT"
+ + "riggerRequest\032+.google.devtools.cloudbui"
+ + "ld.v1.BuildTrigger\"H\202\323\344\223\002-\"\"/v1/projects"
+ + "/{project_id}/triggers:\007trigger\332A\022projec"
+ + "t_id,trigger\022\306\001\n\017GetBuildTrigger\0225.googl"
+ + "e.devtools.cloudbuild.v1.GetBuildTrigger"
+ + "Request\032+.google.devtools.cloudbuild.v1."
+ + "BuildTrigger\"O\202\323\344\223\0021\022//v1/projects/{proj"
+ + "ect_id}/triggers/{trigger_id}\332A\025project_"
+ + "id,trigger_id\022\277\001\n\021ListBuildTriggers\0227.go"
+ + "ogle.devtools.cloudbuild.v1.ListBuildTri"
+ + "ggersRequest\0328.google.devtools.cloudbuil"
+ + "d.v1.ListBuildTriggersResponse\"7\202\323\344\223\002$\022\""
+ + "/v1/projects/{project_id}/triggers\332A\npro"
+ + "ject_id\022\267\001\n\022DeleteBuildTrigger\0228.google."
+ + "devtools.cloudbuild.v1.DeleteBuildTrigge"
+ + "rRequest\032\026.google.protobuf.Empty\"O\202\323\344\223\0021"
+ + "*//v1/projects/{project_id}/triggers/{tr"
+ + "igger_id}\332A\025project_id,trigger_id\022\335\001\n\022Up"
+ + "dateBuildTrigger\0228.google.devtools.cloud"
+ + "build.v1.UpdateBuildTriggerRequest\032+.goo"
+ + "gle.devtools.cloudbuild.v1.BuildTrigger\""
+ + "`\202\323\344\223\002:2//v1/projects/{project_id}/trigg"
+ + "ers/{trigger_id}:\007trigger\332A\035project_id,t"
+ + "rigger_id,trigger\022\356\001\n\017RunBuildTrigger\0225."
+ + "google.devtools.cloudbuild.v1.RunBuildTr"
+ + "iggerRequest\032\035.google.longrunning.Operat"
+ + "ion\"\204\001\202\323\344\223\002=\"3/v1/projects/{project_id}/"
+ + "triggers/{trigger_id}:run:\006source\332A\034proj"
+ + "ect_id,trigger_id,source\312A\037\n\005Build\022\026Buil"
+ + "dOperationMetadata\022w\n\020CreateWorkerPool\0226"
+ + ".google.devtools.cloudbuild.v1.CreateWor"
+ + "kerPoolRequest\032).google.devtools.cloudbu"
+ + "ild.v1.WorkerPool\"\000\022q\n\rGetWorkerPool\0223.g"
+ + "oogle.devtools.cloudbuild.v1.GetWorkerPo"
+ + "olRequest\032).google.devtools.cloudbuild.v"
+ + "1.WorkerPool\"\000\022d\n\020DeleteWorkerPool\0226.goo"
+ + "gle.devtools.cloudbuild.v1.DeleteWorkerP"
+ + "oolRequest\032\026.google.protobuf.Empty\"\000\022w\n\020"
+ + "UpdateWorkerPool\0226.google.devtools.cloud"
+ + "build.v1.UpdateWorkerPoolRequest\032).googl"
+ + "e.devtools.cloudbuild.v1.WorkerPool\"\000\022\202\001"
+ + "\n\017ListWorkerPools\0225.google.devtools.clou"
+ + "dbuild.v1.ListWorkerPoolsRequest\0326.googl"
+ + "e.devtools.cloudbuild.v1.ListWorkerPools"
+ + "Response\"\000\032M\312A\031cloudbuild.googleapis.com"
+ + "\322A.https://www.googleapis.com/auth/cloud"
+ + "-platformBk\n\030com.google.cloudbuild.v1P\001Z"
+ + "Ggoogle.golang.org/genproto/googleapis/d"
+ + "evtools/cloudbuild/v1;cloudbuild\242\002\003GCBb\006"
+ + "proto3"
};
- com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
- new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
- public com.google.protobuf.ExtensionRegistry assignDescriptors(
- com.google.protobuf.Descriptors.FileDescriptor root) {
- descriptor = root;
- return null;
- }
- };
- com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
- descriptorData,
- new com.google.protobuf.Descriptors.FileDescriptor[] {
- com.google.api.AnnotationsProto.getDescriptor(),
- com.google.api.ClientProto.getDescriptor(),
- com.google.api.FieldBehaviorProto.getDescriptor(),
- com.google.longrunning.OperationsProto.getDescriptor(),
- com.google.protobuf.DurationProto.getDescriptor(),
- com.google.protobuf.EmptyProto.getDescriptor(),
- com.google.protobuf.TimestampProto.getDescriptor(),
- },
- assigner);
+ descriptor =
+ com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
+ descriptorData,
+ new com.google.protobuf.Descriptors.FileDescriptor[] {
+ com.google.api.AnnotationsProto.getDescriptor(),
+ com.google.api.ClientProto.getDescriptor(),
+ com.google.api.FieldBehaviorProto.getDescriptor(),
+ com.google.longrunning.OperationsProto.getDescriptor(),
+ com.google.protobuf.DurationProto.getDescriptor(),
+ com.google.protobuf.EmptyProto.getDescriptor(),
+ com.google.protobuf.TimestampProto.getDescriptor(),
+ });
internal_static_google_devtools_cloudbuild_v1_RetryBuildRequest_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_google_devtools_cloudbuild_v1_RetryBuildRequest_fieldAccessorTable =
@@ -569,7 +574,23 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors(
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_devtools_cloudbuild_v1_RepoSource_descriptor,
new java.lang.String[] {
- "ProjectId", "RepoName", "BranchName", "TagName", "CommitSha", "Dir", "Revision",
+ "ProjectId",
+ "RepoName",
+ "BranchName",
+ "TagName",
+ "CommitSha",
+ "Dir",
+ "InvertRegex",
+ "Substitutions",
+ "Revision",
+ });
+ internal_static_google_devtools_cloudbuild_v1_RepoSource_SubstitutionsEntry_descriptor =
+ internal_static_google_devtools_cloudbuild_v1_RepoSource_descriptor.getNestedTypes().get(0);
+ internal_static_google_devtools_cloudbuild_v1_RepoSource_SubstitutionsEntry_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_devtools_cloudbuild_v1_RepoSource_SubstitutionsEntry_descriptor,
+ new java.lang.String[] {
+ "Key", "Value",
});
internal_static_google_devtools_cloudbuild_v1_Source_descriptor =
getDescriptor().getMessageTypes().get(4);
@@ -654,6 +675,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors(
"FinishTime",
"Timeout",
"Images",
+ "QueueTtl",
"Artifacts",
"LogsBucket",
"SourceProvenance",
@@ -848,7 +870,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors(
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_devtools_cloudbuild_v1_PullRequestFilter_descriptor,
new java.lang.String[] {
- "Branch", "CommentControl", "GitRef",
+ "Branch", "CommentControl", "InvertRegex", "GitRef",
});
internal_static_google_devtools_cloudbuild_v1_PushFilter_descriptor =
getDescriptor().getMessageTypes().get(26);
@@ -856,7 +878,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors(
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_devtools_cloudbuild_v1_PushFilter_descriptor,
new java.lang.String[] {
- "Branch", "Tag", "GitRef",
+ "Branch", "Tag", "InvertRegex", "GitRef",
});
internal_static_google_devtools_cloudbuild_v1_CreateBuildTriggerRequest_descriptor =
getDescriptor().getMessageTypes().get(27);
diff --git a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/CreateBuildRequest.java b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/CreateBuildRequest.java
index c1a335c8..d0cfc4f5 100644
--- a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/CreateBuildRequest.java
+++ b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/CreateBuildRequest.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -41,6 +41,12 @@ private CreateBuildRequest() {
projectId_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new CreateBuildRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -54,7 +60,6 @@ private CreateBuildRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -131,6 +136,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The projectId.
*/
public java.lang.String getProjectId() {
java.lang.Object ref = projectId_;
@@ -151,6 +158,8 @@ public java.lang.String getProjectId() {
*
*
* string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The bytes for projectId.
*/
public com.google.protobuf.ByteString getProjectIdBytes() {
java.lang.Object ref = projectId_;
@@ -175,6 +184,8 @@ public com.google.protobuf.ByteString getProjectIdBytes() {
*
* .google.devtools.cloudbuild.v1.Build build = 2 [(.google.api.field_behavior) = REQUIRED];
*
+ *
+ * @return Whether the build field is set.
*/
public boolean hasBuild() {
return build_ != null;
@@ -188,6 +199,8 @@ public boolean hasBuild() {
*
* .google.devtools.cloudbuild.v1.Build build = 2 [(.google.api.field_behavior) = REQUIRED];
*
+ *
+ * @return The build.
*/
public com.google.cloudbuild.v1.Build getBuild() {
return build_ == null ? com.google.cloudbuild.v1.Build.getDefaultInstance() : build_;
@@ -559,6 +572,8 @@ public Builder mergeFrom(
*
*
* string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The projectId.
*/
public java.lang.String getProjectId() {
java.lang.Object ref = projectId_;
@@ -579,6 +594,8 @@ public java.lang.String getProjectId() {
*
*
* string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The bytes for projectId.
*/
public com.google.protobuf.ByteString getProjectIdBytes() {
java.lang.Object ref = projectId_;
@@ -599,6 +616,9 @@ public com.google.protobuf.ByteString getProjectIdBytes() {
*
*
* string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @param value The projectId to set.
+ * @return This builder for chaining.
*/
public Builder setProjectId(java.lang.String value) {
if (value == null) {
@@ -617,6 +637,8 @@ public Builder setProjectId(java.lang.String value) {
*
*
* string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return This builder for chaining.
*/
public Builder clearProjectId() {
@@ -632,6 +654,9 @@ public Builder clearProjectId() {
*
*
* string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @param value The bytes for projectId to set.
+ * @return This builder for chaining.
*/
public Builder setProjectIdBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -660,6 +685,8 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) {
*
* .google.devtools.cloudbuild.v1.Build build = 2 [(.google.api.field_behavior) = REQUIRED];
*
+ *
+ * @return Whether the build field is set.
*/
public boolean hasBuild() {
return buildBuilder_ != null || build_ != null;
@@ -674,6 +701,8 @@ public boolean hasBuild() {
*
* .google.devtools.cloudbuild.v1.Build build = 2 [(.google.api.field_behavior) = REQUIRED];
*
+ *
+ * @return The build.
*/
public com.google.cloudbuild.v1.Build getBuild() {
if (buildBuilder_ == null) {
diff --git a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/CreateBuildRequestOrBuilder.java b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/CreateBuildRequestOrBuilder.java
index dc74f020..d3617cce 100644
--- a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/CreateBuildRequestOrBuilder.java
+++ b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/CreateBuildRequestOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -31,6 +31,8 @@ public interface CreateBuildRequestOrBuilder
*
*
* string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The projectId.
*/
java.lang.String getProjectId();
/**
@@ -41,6 +43,8 @@ public interface CreateBuildRequestOrBuilder
*
*
* string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The bytes for projectId.
*/
com.google.protobuf.ByteString getProjectIdBytes();
@@ -53,6 +57,8 @@ public interface CreateBuildRequestOrBuilder
*
* .google.devtools.cloudbuild.v1.Build build = 2 [(.google.api.field_behavior) = REQUIRED];
*
+ *
+ * @return Whether the build field is set.
*/
boolean hasBuild();
/**
@@ -64,6 +70,8 @@ public interface CreateBuildRequestOrBuilder
*
* .google.devtools.cloudbuild.v1.Build build = 2 [(.google.api.field_behavior) = REQUIRED];
*
+ *
+ * @return The build.
*/
com.google.cloudbuild.v1.Build getBuild();
/**
diff --git a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/CreateBuildTriggerRequest.java b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/CreateBuildTriggerRequest.java
index d76781b1..88b3436f 100644
--- a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/CreateBuildTriggerRequest.java
+++ b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/CreateBuildTriggerRequest.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -41,6 +41,12 @@ private CreateBuildTriggerRequest() {
projectId_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new CreateBuildTriggerRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -54,7 +60,6 @@ private CreateBuildTriggerRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -132,6 +137,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The projectId.
*/
public java.lang.String getProjectId() {
java.lang.Object ref = projectId_;
@@ -152,6 +159,8 @@ public java.lang.String getProjectId() {
*
*
* string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The bytes for projectId.
*/
public com.google.protobuf.ByteString getProjectIdBytes() {
java.lang.Object ref = projectId_;
@@ -177,6 +186,8 @@ public com.google.protobuf.ByteString getProjectIdBytes() {
*
* .google.devtools.cloudbuild.v1.BuildTrigger trigger = 2 [(.google.api.field_behavior) = REQUIRED];
*
+ *
+ * @return Whether the trigger field is set.
*/
public boolean hasTrigger() {
return trigger_ != null;
@@ -191,6 +202,8 @@ public boolean hasTrigger() {
*
* .google.devtools.cloudbuild.v1.BuildTrigger trigger = 2 [(.google.api.field_behavior) = REQUIRED];
*
+ *
+ * @return The trigger.
*/
public com.google.cloudbuild.v1.BuildTrigger getTrigger() {
return trigger_ == null ? com.google.cloudbuild.v1.BuildTrigger.getDefaultInstance() : trigger_;
@@ -565,6 +578,8 @@ public Builder mergeFrom(
*
*
* string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The projectId.
*/
public java.lang.String getProjectId() {
java.lang.Object ref = projectId_;
@@ -585,6 +600,8 @@ public java.lang.String getProjectId() {
*
*
* string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The bytes for projectId.
*/
public com.google.protobuf.ByteString getProjectIdBytes() {
java.lang.Object ref = projectId_;
@@ -605,6 +622,9 @@ public com.google.protobuf.ByteString getProjectIdBytes() {
*
*
* string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @param value The projectId to set.
+ * @return This builder for chaining.
*/
public Builder setProjectId(java.lang.String value) {
if (value == null) {
@@ -623,6 +643,8 @@ public Builder setProjectId(java.lang.String value) {
*
*
* string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return This builder for chaining.
*/
public Builder clearProjectId() {
@@ -638,6 +660,9 @@ public Builder clearProjectId() {
*
*
* string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @param value The bytes for projectId to set.
+ * @return This builder for chaining.
*/
public Builder setProjectIdBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -666,6 +691,8 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) {
*
* .google.devtools.cloudbuild.v1.BuildTrigger trigger = 2 [(.google.api.field_behavior) = REQUIRED];
*
+ *
+ * @return Whether the trigger field is set.
*/
public boolean hasTrigger() {
return triggerBuilder_ != null || trigger_ != null;
@@ -680,6 +707,8 @@ public boolean hasTrigger() {
*
* .google.devtools.cloudbuild.v1.BuildTrigger trigger = 2 [(.google.api.field_behavior) = REQUIRED];
*
+ *
+ * @return The trigger.
*/
public com.google.cloudbuild.v1.BuildTrigger getTrigger() {
if (triggerBuilder_ == null) {
diff --git a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/CreateBuildTriggerRequestOrBuilder.java b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/CreateBuildTriggerRequestOrBuilder.java
index 06ae1c52..47229edb 100644
--- a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/CreateBuildTriggerRequestOrBuilder.java
+++ b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/CreateBuildTriggerRequestOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -31,6 +31,8 @@ public interface CreateBuildTriggerRequestOrBuilder
*
*
* string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The projectId.
*/
java.lang.String getProjectId();
/**
@@ -41,6 +43,8 @@ public interface CreateBuildTriggerRequestOrBuilder
*
*
* string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The bytes for projectId.
*/
com.google.protobuf.ByteString getProjectIdBytes();
@@ -54,6 +58,8 @@ public interface CreateBuildTriggerRequestOrBuilder
*
* .google.devtools.cloudbuild.v1.BuildTrigger trigger = 2 [(.google.api.field_behavior) = REQUIRED];
*
+ *
+ * @return Whether the trigger field is set.
*/
boolean hasTrigger();
/**
@@ -66,6 +72,8 @@ public interface CreateBuildTriggerRequestOrBuilder
*
* .google.devtools.cloudbuild.v1.BuildTrigger trigger = 2 [(.google.api.field_behavior) = REQUIRED];
*
+ *
+ * @return The trigger.
*/
com.google.cloudbuild.v1.BuildTrigger getTrigger();
/**
diff --git a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/CreateWorkerPoolRequest.java b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/CreateWorkerPoolRequest.java
index 5a7dc2ae..6317c7d7 100644
--- a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/CreateWorkerPoolRequest.java
+++ b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/CreateWorkerPoolRequest.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -41,6 +41,12 @@ private CreateWorkerPoolRequest() {
parent_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new CreateWorkerPoolRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -54,7 +60,6 @@ private CreateWorkerPoolRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -132,6 +137,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* string parent = 1;
+ *
+ * @return The parent.
*/
public java.lang.String getParent() {
java.lang.Object ref = parent_;
@@ -152,6 +159,8 @@ public java.lang.String getParent() {
*
*
* string parent = 1;
+ *
+ * @return The bytes for parent.
*/
public com.google.protobuf.ByteString getParentBytes() {
java.lang.Object ref = parent_;
@@ -175,6 +184,8 @@ public com.google.protobuf.ByteString getParentBytes() {
*
*
* .google.devtools.cloudbuild.v1.WorkerPool worker_pool = 2;
+ *
+ * @return Whether the workerPool field is set.
*/
public boolean hasWorkerPool() {
return workerPool_ != null;
@@ -187,6 +198,8 @@ public boolean hasWorkerPool() {
*
*
* .google.devtools.cloudbuild.v1.WorkerPool worker_pool = 2;
+ *
+ * @return The workerPool.
*/
public com.google.cloudbuild.v1.WorkerPool getWorkerPool() {
return workerPool_ == null
@@ -560,6 +573,8 @@ public Builder mergeFrom(
*
*
* string parent = 1;
+ *
+ * @return The parent.
*/
public java.lang.String getParent() {
java.lang.Object ref = parent_;
@@ -580,6 +595,8 @@ public java.lang.String getParent() {
*
*
* string parent = 1;
+ *
+ * @return The bytes for parent.
*/
public com.google.protobuf.ByteString getParentBytes() {
java.lang.Object ref = parent_;
@@ -600,6 +617,9 @@ public com.google.protobuf.ByteString getParentBytes() {
*
*
* string parent = 1;
+ *
+ * @param value The parent to set.
+ * @return This builder for chaining.
*/
public Builder setParent(java.lang.String value) {
if (value == null) {
@@ -618,6 +638,8 @@ public Builder setParent(java.lang.String value) {
*
*
* string parent = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearParent() {
@@ -633,6 +655,9 @@ public Builder clearParent() {
*
*
* string parent = 1;
+ *
+ * @param value The bytes for parent to set.
+ * @return This builder for chaining.
*/
public Builder setParentBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -659,6 +684,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
*
*
* .google.devtools.cloudbuild.v1.WorkerPool worker_pool = 2;
+ *
+ * @return Whether the workerPool field is set.
*/
public boolean hasWorkerPool() {
return workerPoolBuilder_ != null || workerPool_ != null;
@@ -671,6 +698,8 @@ public boolean hasWorkerPool() {
*
*
* .google.devtools.cloudbuild.v1.WorkerPool worker_pool = 2;
+ *
+ * @return The workerPool.
*/
public com.google.cloudbuild.v1.WorkerPool getWorkerPool() {
if (workerPoolBuilder_ == null) {
diff --git a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/CreateWorkerPoolRequestOrBuilder.java b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/CreateWorkerPoolRequestOrBuilder.java
index ef7d9147..4ee116db 100644
--- a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/CreateWorkerPoolRequestOrBuilder.java
+++ b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/CreateWorkerPoolRequestOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -31,6 +31,8 @@ public interface CreateWorkerPoolRequestOrBuilder
*
*
* string parent = 1;
+ *
+ * @return The parent.
*/
java.lang.String getParent();
/**
@@ -41,6 +43,8 @@ public interface CreateWorkerPoolRequestOrBuilder
*
*
* string parent = 1;
+ *
+ * @return The bytes for parent.
*/
com.google.protobuf.ByteString getParentBytes();
@@ -52,6 +56,8 @@ public interface CreateWorkerPoolRequestOrBuilder
*
*
* .google.devtools.cloudbuild.v1.WorkerPool worker_pool = 2;
+ *
+ * @return Whether the workerPool field is set.
*/
boolean hasWorkerPool();
/**
@@ -62,6 +68,8 @@ public interface CreateWorkerPoolRequestOrBuilder
*
*
* .google.devtools.cloudbuild.v1.WorkerPool worker_pool = 2;
+ *
+ * @return The workerPool.
*/
com.google.cloudbuild.v1.WorkerPool getWorkerPool();
/**
diff --git a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/DeleteBuildTriggerRequest.java b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/DeleteBuildTriggerRequest.java
index 4ce14721..2ae4142b 100644
--- a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/DeleteBuildTriggerRequest.java
+++ b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/DeleteBuildTriggerRequest.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -42,6 +42,12 @@ private DeleteBuildTriggerRequest() {
triggerId_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new DeleteBuildTriggerRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -55,7 +61,6 @@ private DeleteBuildTriggerRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -124,6 +129,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The projectId.
*/
public java.lang.String getProjectId() {
java.lang.Object ref = projectId_;
@@ -144,6 +151,8 @@ public java.lang.String getProjectId() {
*
*
* string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The bytes for projectId.
*/
public com.google.protobuf.ByteString getProjectIdBytes() {
java.lang.Object ref = projectId_;
@@ -167,6 +176,8 @@ public com.google.protobuf.ByteString getProjectIdBytes() {
*
*
* string trigger_id = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The triggerId.
*/
public java.lang.String getTriggerId() {
java.lang.Object ref = triggerId_;
@@ -187,6 +198,8 @@ public java.lang.String getTriggerId() {
*
*
* string trigger_id = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The bytes for triggerId.
*/
public com.google.protobuf.ByteString getTriggerIdBytes() {
java.lang.Object ref = triggerId_;
@@ -543,6 +556,8 @@ public Builder mergeFrom(
*
*
* string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The projectId.
*/
public java.lang.String getProjectId() {
java.lang.Object ref = projectId_;
@@ -563,6 +578,8 @@ public java.lang.String getProjectId() {
*
*
* string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The bytes for projectId.
*/
public com.google.protobuf.ByteString getProjectIdBytes() {
java.lang.Object ref = projectId_;
@@ -583,6 +600,9 @@ public com.google.protobuf.ByteString getProjectIdBytes() {
*
*
* string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @param value The projectId to set.
+ * @return This builder for chaining.
*/
public Builder setProjectId(java.lang.String value) {
if (value == null) {
@@ -601,6 +621,8 @@ public Builder setProjectId(java.lang.String value) {
*
*
* string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return This builder for chaining.
*/
public Builder clearProjectId() {
@@ -616,6 +638,9 @@ public Builder clearProjectId() {
*
*
* string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @param value The bytes for projectId to set.
+ * @return This builder for chaining.
*/
public Builder setProjectIdBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -637,6 +662,8 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) {
*
*
* string trigger_id = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The triggerId.
*/
public java.lang.String getTriggerId() {
java.lang.Object ref = triggerId_;
@@ -657,6 +684,8 @@ public java.lang.String getTriggerId() {
*
*
* string trigger_id = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The bytes for triggerId.
*/
public com.google.protobuf.ByteString getTriggerIdBytes() {
java.lang.Object ref = triggerId_;
@@ -677,6 +706,9 @@ public com.google.protobuf.ByteString getTriggerIdBytes() {
*
*
* string trigger_id = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @param value The triggerId to set.
+ * @return This builder for chaining.
*/
public Builder setTriggerId(java.lang.String value) {
if (value == null) {
@@ -695,6 +727,8 @@ public Builder setTriggerId(java.lang.String value) {
*
*
* string trigger_id = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return This builder for chaining.
*/
public Builder clearTriggerId() {
@@ -710,6 +744,9 @@ public Builder clearTriggerId() {
*
*
* string trigger_id = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @param value The bytes for triggerId to set.
+ * @return This builder for chaining.
*/
public Builder setTriggerIdBytes(com.google.protobuf.ByteString value) {
if (value == null) {
diff --git a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/DeleteBuildTriggerRequestOrBuilder.java b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/DeleteBuildTriggerRequestOrBuilder.java
index 7f49cef2..3151be01 100644
--- a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/DeleteBuildTriggerRequestOrBuilder.java
+++ b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/DeleteBuildTriggerRequestOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -31,6 +31,8 @@ public interface DeleteBuildTriggerRequestOrBuilder
*
*
* string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The projectId.
*/
java.lang.String getProjectId();
/**
@@ -41,6 +43,8 @@ public interface DeleteBuildTriggerRequestOrBuilder
*
*
* string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The bytes for projectId.
*/
com.google.protobuf.ByteString getProjectIdBytes();
@@ -52,6 +56,8 @@ public interface DeleteBuildTriggerRequestOrBuilder
*
*
* string trigger_id = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The triggerId.
*/
java.lang.String getTriggerId();
/**
@@ -62,6 +68,8 @@ public interface DeleteBuildTriggerRequestOrBuilder
*
*
* string trigger_id = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The bytes for triggerId.
*/
com.google.protobuf.ByteString getTriggerIdBytes();
}
diff --git a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/DeleteWorkerPoolRequest.java b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/DeleteWorkerPoolRequest.java
index 234e358e..c1d8456f 100644
--- a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/DeleteWorkerPoolRequest.java
+++ b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/DeleteWorkerPoolRequest.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -41,6 +41,12 @@ private DeleteWorkerPoolRequest() {
name_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new DeleteWorkerPoolRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -54,7 +60,6 @@ private DeleteWorkerPoolRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -117,6 +122,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* string name = 1;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -138,6 +145,8 @@ public java.lang.String getName() {
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -478,6 +487,8 @@ public Builder mergeFrom(
*
*
* string name = 1;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -499,6 +510,8 @@ public java.lang.String getName() {
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -520,6 +533,9 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* string name = 1;
+ *
+ * @param value The name to set.
+ * @return This builder for chaining.
*/
public Builder setName(java.lang.String value) {
if (value == null) {
@@ -539,6 +555,8 @@ public Builder setName(java.lang.String value) {
*
*
* string name = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearName() {
@@ -555,6 +573,9 @@ public Builder clearName() {
*
*
* string name = 1;
+ *
+ * @param value The bytes for name to set.
+ * @return This builder for chaining.
*/
public Builder setNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
diff --git a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/DeleteWorkerPoolRequestOrBuilder.java b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/DeleteWorkerPoolRequestOrBuilder.java
index 9de5614a..3fa7f929 100644
--- a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/DeleteWorkerPoolRequestOrBuilder.java
+++ b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/DeleteWorkerPoolRequestOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -32,6 +32,8 @@ public interface DeleteWorkerPoolRequestOrBuilder
*
*
* string name = 1;
+ *
+ * @return The name.
*/
java.lang.String getName();
/**
@@ -43,6 +45,8 @@ public interface DeleteWorkerPoolRequestOrBuilder
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
}
diff --git a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/FileHashes.java b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/FileHashes.java
index 852954d7..dc1e5f2b 100644
--- a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/FileHashes.java
+++ b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/FileHashes.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -42,6 +42,12 @@ private FileHashes() {
fileHash_ = java.util.Collections.emptyList();
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new FileHashes();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
diff --git a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/FileHashesOrBuilder.java b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/FileHashesOrBuilder.java
index 49868770..a0f1de56 100644
--- a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/FileHashesOrBuilder.java
+++ b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/FileHashesOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/GetBuildRequest.java b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/GetBuildRequest.java
index 82c5286b..946b8b83 100644
--- a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/GetBuildRequest.java
+++ b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/GetBuildRequest.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -42,6 +42,12 @@ private GetBuildRequest() {
id_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new GetBuildRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -55,7 +61,6 @@ private GetBuildRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -124,6 +129,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The projectId.
*/
public java.lang.String getProjectId() {
java.lang.Object ref = projectId_;
@@ -144,6 +151,8 @@ public java.lang.String getProjectId() {
*
*
* string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The bytes for projectId.
*/
public com.google.protobuf.ByteString getProjectIdBytes() {
java.lang.Object ref = projectId_;
@@ -167,6 +176,8 @@ public com.google.protobuf.ByteString getProjectIdBytes() {
*
*
* string id = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The id.
*/
public java.lang.String getId() {
java.lang.Object ref = id_;
@@ -187,6 +198,8 @@ public java.lang.String getId() {
*
*
* string id = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The bytes for id.
*/
public com.google.protobuf.ByteString getIdBytes() {
java.lang.Object ref = id_;
@@ -540,6 +553,8 @@ public Builder mergeFrom(
*
*
* string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The projectId.
*/
public java.lang.String getProjectId() {
java.lang.Object ref = projectId_;
@@ -560,6 +575,8 @@ public java.lang.String getProjectId() {
*
*
* string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The bytes for projectId.
*/
public com.google.protobuf.ByteString getProjectIdBytes() {
java.lang.Object ref = projectId_;
@@ -580,6 +597,9 @@ public com.google.protobuf.ByteString getProjectIdBytes() {
*
*
* string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @param value The projectId to set.
+ * @return This builder for chaining.
*/
public Builder setProjectId(java.lang.String value) {
if (value == null) {
@@ -598,6 +618,8 @@ public Builder setProjectId(java.lang.String value) {
*
*
* string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return This builder for chaining.
*/
public Builder clearProjectId() {
@@ -613,6 +635,9 @@ public Builder clearProjectId() {
*
*
* string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @param value The bytes for projectId to set.
+ * @return This builder for chaining.
*/
public Builder setProjectIdBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -634,6 +659,8 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) {
*
*
* string id = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The id.
*/
public java.lang.String getId() {
java.lang.Object ref = id_;
@@ -654,6 +681,8 @@ public java.lang.String getId() {
*
*
* string id = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The bytes for id.
*/
public com.google.protobuf.ByteString getIdBytes() {
java.lang.Object ref = id_;
@@ -674,6 +703,9 @@ public com.google.protobuf.ByteString getIdBytes() {
*
*
* string id = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @param value The id to set.
+ * @return This builder for chaining.
*/
public Builder setId(java.lang.String value) {
if (value == null) {
@@ -692,6 +724,8 @@ public Builder setId(java.lang.String value) {
*
*
* string id = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return This builder for chaining.
*/
public Builder clearId() {
@@ -707,6 +741,9 @@ public Builder clearId() {
*
*
* string id = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @param value The bytes for id to set.
+ * @return This builder for chaining.
*/
public Builder setIdBytes(com.google.protobuf.ByteString value) {
if (value == null) {
diff --git a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/GetBuildRequestOrBuilder.java b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/GetBuildRequestOrBuilder.java
index 424148b8..490c7e86 100644
--- a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/GetBuildRequestOrBuilder.java
+++ b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/GetBuildRequestOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -31,6 +31,8 @@ public interface GetBuildRequestOrBuilder
*
*
* string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The projectId.
*/
java.lang.String getProjectId();
/**
@@ -41,6 +43,8 @@ public interface GetBuildRequestOrBuilder
*
*
* string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The bytes for projectId.
*/
com.google.protobuf.ByteString getProjectIdBytes();
@@ -52,6 +56,8 @@ public interface GetBuildRequestOrBuilder
*
*
* string id = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The id.
*/
java.lang.String getId();
/**
@@ -62,6 +68,8 @@ public interface GetBuildRequestOrBuilder
*
*
* string id = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The bytes for id.
*/
com.google.protobuf.ByteString getIdBytes();
}
diff --git a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/GetBuildTriggerRequest.java b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/GetBuildTriggerRequest.java
index f3d9c628..3ed9d602 100644
--- a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/GetBuildTriggerRequest.java
+++ b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/GetBuildTriggerRequest.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -42,6 +42,12 @@ private GetBuildTriggerRequest() {
triggerId_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new GetBuildTriggerRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -55,7 +61,6 @@ private GetBuildTriggerRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -124,6 +129,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The projectId.
*/
public java.lang.String getProjectId() {
java.lang.Object ref = projectId_;
@@ -144,6 +151,8 @@ public java.lang.String getProjectId() {
*
*
* string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The bytes for projectId.
*/
public com.google.protobuf.ByteString getProjectIdBytes() {
java.lang.Object ref = projectId_;
@@ -163,10 +172,12 @@ public com.google.protobuf.ByteString getProjectIdBytes() {
*
*
* - * Required. ID of the `BuildTrigger` to get. + * Required. Identifier (`id` or `name`) of the `BuildTrigger` to get. ** *
string trigger_id = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The triggerId.
*/
public java.lang.String getTriggerId() {
java.lang.Object ref = triggerId_;
@@ -183,10 +194,12 @@ public java.lang.String getTriggerId() {
*
*
* - * Required. ID of the `BuildTrigger` to get. + * Required. Identifier (`id` or `name`) of the `BuildTrigger` to get. ** *
string trigger_id = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The bytes for triggerId.
*/
public com.google.protobuf.ByteString getTriggerIdBytes() {
java.lang.Object ref = triggerId_;
@@ -542,6 +555,8 @@ public Builder mergeFrom(
*
*
* string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The projectId.
*/
public java.lang.String getProjectId() {
java.lang.Object ref = projectId_;
@@ -562,6 +577,8 @@ public java.lang.String getProjectId() {
*
*
* string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The bytes for projectId.
*/
public com.google.protobuf.ByteString getProjectIdBytes() {
java.lang.Object ref = projectId_;
@@ -582,6 +599,9 @@ public com.google.protobuf.ByteString getProjectIdBytes() {
*
*
* string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @param value The projectId to set.
+ * @return This builder for chaining.
*/
public Builder setProjectId(java.lang.String value) {
if (value == null) {
@@ -600,6 +620,8 @@ public Builder setProjectId(java.lang.String value) {
*
*
* string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return This builder for chaining.
*/
public Builder clearProjectId() {
@@ -615,6 +637,9 @@ public Builder clearProjectId() {
*
*
* string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @param value The bytes for projectId to set.
+ * @return This builder for chaining.
*/
public Builder setProjectIdBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -632,10 +657,12 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) {
*
*
* - * Required. ID of the `BuildTrigger` to get. + * Required. Identifier (`id` or `name`) of the `BuildTrigger` to get. ** *
string trigger_id = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The triggerId.
*/
public java.lang.String getTriggerId() {
java.lang.Object ref = triggerId_;
@@ -652,10 +679,12 @@ public java.lang.String getTriggerId() {
*
*
* - * Required. ID of the `BuildTrigger` to get. + * Required. Identifier (`id` or `name`) of the `BuildTrigger` to get. ** *
string trigger_id = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The bytes for triggerId.
*/
public com.google.protobuf.ByteString getTriggerIdBytes() {
java.lang.Object ref = triggerId_;
@@ -672,10 +701,13 @@ public com.google.protobuf.ByteString getTriggerIdBytes() {
*
*
* - * Required. ID of the `BuildTrigger` to get. + * Required. Identifier (`id` or `name`) of the `BuildTrigger` to get. ** *
string trigger_id = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @param value The triggerId to set.
+ * @return This builder for chaining.
*/
public Builder setTriggerId(java.lang.String value) {
if (value == null) {
@@ -690,10 +722,12 @@ public Builder setTriggerId(java.lang.String value) {
*
*
* - * Required. ID of the `BuildTrigger` to get. + * Required. Identifier (`id` or `name`) of the `BuildTrigger` to get. ** *
string trigger_id = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return This builder for chaining.
*/
public Builder clearTriggerId() {
@@ -705,10 +739,13 @@ public Builder clearTriggerId() {
*
*
* - * Required. ID of the `BuildTrigger` to get. + * Required. Identifier (`id` or `name`) of the `BuildTrigger` to get. ** *
string trigger_id = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @param value The bytes for triggerId to set.
+ * @return This builder for chaining.
*/
public Builder setTriggerIdBytes(com.google.protobuf.ByteString value) {
if (value == null) {
diff --git a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/GetBuildTriggerRequestOrBuilder.java b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/GetBuildTriggerRequestOrBuilder.java
index 8641d398..9761a62a 100644
--- a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/GetBuildTriggerRequestOrBuilder.java
+++ b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/GetBuildTriggerRequestOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -31,6 +31,8 @@ public interface GetBuildTriggerRequestOrBuilder
*
*
* string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The projectId.
*/
java.lang.String getProjectId();
/**
@@ -41,6 +43,8 @@ public interface GetBuildTriggerRequestOrBuilder
*
*
* string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The bytes for projectId.
*/
com.google.protobuf.ByteString getProjectIdBytes();
@@ -48,20 +52,24 @@ public interface GetBuildTriggerRequestOrBuilder
*
*
* - * Required. ID of the `BuildTrigger` to get. + * Required. Identifier (`id` or `name`) of the `BuildTrigger` to get. ** *
string trigger_id = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The triggerId.
*/
java.lang.String getTriggerId();
/**
*
*
* - * Required. ID of the `BuildTrigger` to get. + * Required. Identifier (`id` or `name`) of the `BuildTrigger` to get. ** *
string trigger_id = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The bytes for triggerId.
*/
com.google.protobuf.ByteString getTriggerIdBytes();
}
diff --git a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/GetWorkerPoolRequest.java b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/GetWorkerPoolRequest.java
index 8f7af20c..895d9cb6 100644
--- a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/GetWorkerPoolRequest.java
+++ b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/GetWorkerPoolRequest.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -41,6 +41,12 @@ private GetWorkerPoolRequest() {
name_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new GetWorkerPoolRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -54,7 +60,6 @@ private GetWorkerPoolRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -117,6 +122,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* string name = 1;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -138,6 +145,8 @@ public java.lang.String getName() {
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -477,6 +486,8 @@ public Builder mergeFrom(
*
*
* string name = 1;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -498,6 +509,8 @@ public java.lang.String getName() {
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -519,6 +532,9 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* string name = 1;
+ *
+ * @param value The name to set.
+ * @return This builder for chaining.
*/
public Builder setName(java.lang.String value) {
if (value == null) {
@@ -538,6 +554,8 @@ public Builder setName(java.lang.String value) {
*
*
* string name = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearName() {
@@ -554,6 +572,9 @@ public Builder clearName() {
*
*
* string name = 1;
+ *
+ * @param value The bytes for name to set.
+ * @return This builder for chaining.
*/
public Builder setNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
diff --git a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/GetWorkerPoolRequestOrBuilder.java b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/GetWorkerPoolRequestOrBuilder.java
index e1d99d3b..3ddc47db 100644
--- a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/GetWorkerPoolRequestOrBuilder.java
+++ b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/GetWorkerPoolRequestOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -32,6 +32,8 @@ public interface GetWorkerPoolRequestOrBuilder
*
*
* string name = 1;
+ *
+ * @return The name.
*/
java.lang.String getName();
/**
@@ -43,6 +45,8 @@ public interface GetWorkerPoolRequestOrBuilder
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
}
diff --git a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/GitHubEventsConfig.java b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/GitHubEventsConfig.java
index 625cf149..2390f3a7 100644
--- a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/GitHubEventsConfig.java
+++ b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/GitHubEventsConfig.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -44,6 +44,12 @@ private GitHubEventsConfig() {
name_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new GitHubEventsConfig();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -57,7 +63,6 @@ private GitHubEventsConfig(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -156,7 +161,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
private int eventCase_ = 0;
private java.lang.Object event_;
- public enum EventCase implements com.google.protobuf.Internal.EnumLite {
+ public enum EventCase
+ implements
+ com.google.protobuf.Internal.EnumLite,
+ com.google.protobuf.AbstractMessage.InternalOneOfEnum {
PULL_REQUEST(4),
PUSH(5),
EVENT_NOT_SET(0);
@@ -165,7 +173,11 @@ public enum EventCase implements com.google.protobuf.Internal.EnumLite {
private EventCase(int value) {
this.value = value;
}
- /** @deprecated Use {@link #forNumber(int)} instead. */
+ /**
+ * @param value The number of the enum to look for.
+ * @return The enum associated with the given number.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
@java.lang.Deprecated
public static EventCase valueOf(int value) {
return forNumber(value);
@@ -203,6 +215,8 @@ public EventCase getEventCase() {
*
*
* int64 installation_id = 1 [deprecated = true];
+ *
+ * @return The installationId.
*/
@java.lang.Deprecated
public long getInstallationId() {
@@ -221,6 +235,8 @@ public long getInstallationId() {
*
*
* string owner = 6;
+ *
+ * @return The owner.
*/
public java.lang.String getOwner() {
java.lang.Object ref = owner_;
@@ -243,6 +259,8 @@ public java.lang.String getOwner() {
*
*
* string owner = 6;
+ *
+ * @return The bytes for owner.
*/
public com.google.protobuf.ByteString getOwnerBytes() {
java.lang.Object ref = owner_;
@@ -267,6 +285,8 @@ public com.google.protobuf.ByteString getOwnerBytes() {
*
*
* string name = 7;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -288,6 +308,8 @@ public java.lang.String getName() {
*
*
* string name = 7;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -310,6 +332,8 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* .google.devtools.cloudbuild.v1.PullRequestFilter pull_request = 4;
+ *
+ * @return Whether the pullRequest field is set.
*/
public boolean hasPullRequest() {
return eventCase_ == 4;
@@ -322,6 +346,8 @@ public boolean hasPullRequest() {
*
*
* .google.devtools.cloudbuild.v1.PullRequestFilter pull_request = 4;
+ *
+ * @return The pullRequest.
*/
public com.google.cloudbuild.v1.PullRequestFilter getPullRequest() {
if (eventCase_ == 4) {
@@ -354,6 +380,8 @@ public com.google.cloudbuild.v1.PullRequestFilterOrBuilder getPullRequestOrBuild
*
*
* .google.devtools.cloudbuild.v1.PushFilter push = 5;
+ *
+ * @return Whether the push field is set.
*/
public boolean hasPush() {
return eventCase_ == 5;
@@ -366,6 +394,8 @@ public boolean hasPush() {
*
*
* .google.devtools.cloudbuild.v1.PushFilter push = 5;
+ *
+ * @return The push.
*/
public com.google.cloudbuild.v1.PushFilter getPush() {
if (eventCase_ == 5) {
@@ -833,6 +863,8 @@ public Builder clearEvent() {
*
*
* int64 installation_id = 1 [deprecated = true];
+ *
+ * @return The installationId.
*/
@java.lang.Deprecated
public long getInstallationId() {
@@ -846,6 +878,9 @@ public long getInstallationId() {
*
*
* int64 installation_id = 1 [deprecated = true];
+ *
+ * @param value The installationId to set.
+ * @return This builder for chaining.
*/
@java.lang.Deprecated
public Builder setInstallationId(long value) {
@@ -862,6 +897,8 @@ public Builder setInstallationId(long value) {
*
*
* int64 installation_id = 1 [deprecated = true];
+ *
+ * @return This builder for chaining.
*/
@java.lang.Deprecated
public Builder clearInstallationId() {
@@ -882,6 +919,8 @@ public Builder clearInstallationId() {
*
*
* string owner = 6;
+ *
+ * @return The owner.
*/
public java.lang.String getOwner() {
java.lang.Object ref = owner_;
@@ -904,6 +943,8 @@ public java.lang.String getOwner() {
*
*
* string owner = 6;
+ *
+ * @return The bytes for owner.
*/
public com.google.protobuf.ByteString getOwnerBytes() {
java.lang.Object ref = owner_;
@@ -926,6 +967,9 @@ public com.google.protobuf.ByteString getOwnerBytes() {
*
*
* string owner = 6;
+ *
+ * @param value The owner to set.
+ * @return This builder for chaining.
*/
public Builder setOwner(java.lang.String value) {
if (value == null) {
@@ -946,6 +990,8 @@ public Builder setOwner(java.lang.String value) {
*
*
* string owner = 6;
+ *
+ * @return This builder for chaining.
*/
public Builder clearOwner() {
@@ -963,6 +1009,9 @@ public Builder clearOwner() {
*
*
* string owner = 6;
+ *
+ * @param value The bytes for owner to set.
+ * @return This builder for chaining.
*/
public Builder setOwnerBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -985,6 +1034,8 @@ public Builder setOwnerBytes(com.google.protobuf.ByteString value) {
*
*
* string name = 7;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -1006,6 +1057,8 @@ public java.lang.String getName() {
*
*
* string name = 7;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -1027,6 +1080,9 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* string name = 7;
+ *
+ * @param value The name to set.
+ * @return This builder for chaining.
*/
public Builder setName(java.lang.String value) {
if (value == null) {
@@ -1046,6 +1102,8 @@ public Builder setName(java.lang.String value) {
*
*
* string name = 7;
+ *
+ * @return This builder for chaining.
*/
public Builder clearName() {
@@ -1062,6 +1120,9 @@ public Builder clearName() {
*
*
* string name = 7;
+ *
+ * @param value The bytes for name to set.
+ * @return This builder for chaining.
*/
public Builder setNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1087,6 +1148,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
*
*
* .google.devtools.cloudbuild.v1.PullRequestFilter pull_request = 4;
+ *
+ * @return Whether the pullRequest field is set.
*/
public boolean hasPullRequest() {
return eventCase_ == 4;
@@ -1099,6 +1162,8 @@ public boolean hasPullRequest() {
*
*
* .google.devtools.cloudbuild.v1.PullRequestFilter pull_request = 4;
+ *
+ * @return The pullRequest.
*/
public com.google.cloudbuild.v1.PullRequestFilter getPullRequest() {
if (pullRequestBuilder_ == null) {
@@ -1289,6 +1354,8 @@ public com.google.cloudbuild.v1.PullRequestFilterOrBuilder getPullRequestOrBuild
*
*
* .google.devtools.cloudbuild.v1.PushFilter push = 5;
+ *
+ * @return Whether the push field is set.
*/
public boolean hasPush() {
return eventCase_ == 5;
@@ -1301,6 +1368,8 @@ public boolean hasPush() {
*
*
* .google.devtools.cloudbuild.v1.PushFilter push = 5;
+ *
+ * @return The push.
*/
public com.google.cloudbuild.v1.PushFilter getPush() {
if (pushBuilder_ == null) {
diff --git a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/GitHubEventsConfigOrBuilder.java b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/GitHubEventsConfigOrBuilder.java
index 3ad29f1b..44a69b72 100644
--- a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/GitHubEventsConfigOrBuilder.java
+++ b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/GitHubEventsConfigOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -31,6 +31,8 @@ public interface GitHubEventsConfigOrBuilder
*
*
* int64 installation_id = 1 [deprecated = true];
+ *
+ * @return The installationId.
*/
@java.lang.Deprecated
long getInstallationId();
@@ -45,6 +47,8 @@ public interface GitHubEventsConfigOrBuilder
*
*
* string owner = 6;
+ *
+ * @return The owner.
*/
java.lang.String getOwner();
/**
@@ -57,6 +61,8 @@ public interface GitHubEventsConfigOrBuilder
*
*
* string owner = 6;
+ *
+ * @return The bytes for owner.
*/
com.google.protobuf.ByteString getOwnerBytes();
@@ -69,6 +75,8 @@ public interface GitHubEventsConfigOrBuilder
*
*
* string name = 7;
+ *
+ * @return The name.
*/
java.lang.String getName();
/**
@@ -80,6 +88,8 @@ public interface GitHubEventsConfigOrBuilder
*
*
* string name = 7;
+ *
+ * @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
@@ -91,6 +101,8 @@ public interface GitHubEventsConfigOrBuilder
*
*
* .google.devtools.cloudbuild.v1.PullRequestFilter pull_request = 4;
+ *
+ * @return Whether the pullRequest field is set.
*/
boolean hasPullRequest();
/**
@@ -101,6 +113,8 @@ public interface GitHubEventsConfigOrBuilder
*
*
* .google.devtools.cloudbuild.v1.PullRequestFilter pull_request = 4;
+ *
+ * @return The pullRequest.
*/
com.google.cloudbuild.v1.PullRequestFilter getPullRequest();
/**
@@ -122,6 +136,8 @@ public interface GitHubEventsConfigOrBuilder
*
*
* .google.devtools.cloudbuild.v1.PushFilter push = 5;
+ *
+ * @return Whether the push field is set.
*/
boolean hasPush();
/**
@@ -132,6 +148,8 @@ public interface GitHubEventsConfigOrBuilder
*
*
* .google.devtools.cloudbuild.v1.PushFilter push = 5;
+ *
+ * @return The push.
*/
com.google.cloudbuild.v1.PushFilter getPush();
/**
diff --git a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/Hash.java b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/Hash.java
index 48234893..a1c2ea60 100644
--- a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/Hash.java
+++ b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/Hash.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -42,6 +42,12 @@ private Hash() {
value_ = com.google.protobuf.ByteString.EMPTY;
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new Hash();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -55,7 +61,6 @@ private Hash(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -193,12 +198,20 @@ public final int getNumber() {
return value;
}
- /** @deprecated Use {@link #forNumber(int)} instead. */
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
@java.lang.Deprecated
public static HashType valueOf(int value) {
return forNumber(value);
}
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ */
public static HashType forNumber(int value) {
switch (value) {
case 0:
@@ -266,6 +279,8 @@ private HashType(int value) {
*
*
* .google.devtools.cloudbuild.v1.Hash.HashType type = 1;
+ *
+ * @return The enum numeric value on the wire for type.
*/
public int getTypeValue() {
return type_;
@@ -278,6 +293,8 @@ public int getTypeValue() {
*
*
* .google.devtools.cloudbuild.v1.Hash.HashType type = 1;
+ *
+ * @return The type.
*/
public com.google.cloudbuild.v1.Hash.HashType getType() {
@SuppressWarnings("deprecation")
@@ -296,6 +313,8 @@ public com.google.cloudbuild.v1.Hash.HashType getType() {
*
*
* bytes value = 2;
+ *
+ * @return The value.
*/
public com.google.protobuf.ByteString getValue() {
return value_;
@@ -636,6 +655,8 @@ public Builder mergeFrom(
*
*
* .google.devtools.cloudbuild.v1.Hash.HashType type = 1;
+ *
+ * @return The enum numeric value on the wire for type.
*/
public int getTypeValue() {
return type_;
@@ -648,6 +669,9 @@ public int getTypeValue() {
*
*
* .google.devtools.cloudbuild.v1.Hash.HashType type = 1;
+ *
+ * @param value The enum numeric value on the wire for type to set.
+ * @return This builder for chaining.
*/
public Builder setTypeValue(int value) {
type_ = value;
@@ -662,6 +686,8 @@ public Builder setTypeValue(int value) {
*
*
* .google.devtools.cloudbuild.v1.Hash.HashType type = 1;
+ *
+ * @return The type.
*/
public com.google.cloudbuild.v1.Hash.HashType getType() {
@SuppressWarnings("deprecation")
@@ -677,6 +703,9 @@ public com.google.cloudbuild.v1.Hash.HashType getType() {
*
*
* .google.devtools.cloudbuild.v1.Hash.HashType type = 1;
+ *
+ * @param value The type to set.
+ * @return This builder for chaining.
*/
public Builder setType(com.google.cloudbuild.v1.Hash.HashType value) {
if (value == null) {
@@ -695,6 +724,8 @@ public Builder setType(com.google.cloudbuild.v1.Hash.HashType value) {
*
*
* .google.devtools.cloudbuild.v1.Hash.HashType type = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearType() {
@@ -712,6 +743,8 @@ public Builder clearType() {
*
*
* bytes value = 2;
+ *
+ * @return The value.
*/
public com.google.protobuf.ByteString getValue() {
return value_;
@@ -724,6 +757,9 @@ public com.google.protobuf.ByteString getValue() {
*
*
* bytes value = 2;
+ *
+ * @param value The value to set.
+ * @return This builder for chaining.
*/
public Builder setValue(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -742,6 +778,8 @@ public Builder setValue(com.google.protobuf.ByteString value) {
*
*
* bytes value = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearValue() {
diff --git a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/HashOrBuilder.java b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/HashOrBuilder.java
index e4f76052..2d6cf46c 100644
--- a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/HashOrBuilder.java
+++ b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/HashOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -31,6 +31,8 @@ public interface HashOrBuilder
*
*
* .google.devtools.cloudbuild.v1.Hash.HashType type = 1;
+ *
+ * @return The enum numeric value on the wire for type.
*/
int getTypeValue();
/**
@@ -41,6 +43,8 @@ public interface HashOrBuilder
*
*
* .google.devtools.cloudbuild.v1.Hash.HashType type = 1;
+ *
+ * @return The type.
*/
com.google.cloudbuild.v1.Hash.HashType getType();
@@ -52,6 +56,8 @@ public interface HashOrBuilder
*
*
* bytes value = 2;
+ *
+ * @return The value.
*/
com.google.protobuf.ByteString getValue();
}
diff --git a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/ListBuildTriggersRequest.java b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/ListBuildTriggersRequest.java
index 21049c82..f950a1df 100644
--- a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/ListBuildTriggersRequest.java
+++ b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/ListBuildTriggersRequest.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -42,6 +42,12 @@ private ListBuildTriggersRequest() {
pageToken_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new ListBuildTriggersRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -55,7 +61,6 @@ private ListBuildTriggersRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -129,6 +134,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The projectId.
*/
public java.lang.String getProjectId() {
java.lang.Object ref = projectId_;
@@ -149,6 +156,8 @@ public java.lang.String getProjectId() {
*
*
* string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The bytes for projectId.
*/
public com.google.protobuf.ByteString getProjectIdBytes() {
java.lang.Object ref = projectId_;
@@ -172,6 +181,8 @@ public com.google.protobuf.ByteString getProjectIdBytes() {
*
*
* int32 page_size = 2;
+ *
+ * @return The pageSize.
*/
public int getPageSize() {
return pageSize_;
@@ -187,6 +198,8 @@ public int getPageSize() {
*
*
* string page_token = 3;
+ *
+ * @return The pageToken.
*/
public java.lang.String getPageToken() {
java.lang.Object ref = pageToken_;
@@ -207,6 +220,8 @@ public java.lang.String getPageToken() {
*
*
* string page_token = 3;
+ *
+ * @return The bytes for pageToken.
*/
public com.google.protobuf.ByteString getPageTokenBytes() {
java.lang.Object ref = pageToken_;
@@ -578,6 +593,8 @@ public Builder mergeFrom(
*
*
* string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The projectId.
*/
public java.lang.String getProjectId() {
java.lang.Object ref = projectId_;
@@ -598,6 +615,8 @@ public java.lang.String getProjectId() {
*
*
* string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The bytes for projectId.
*/
public com.google.protobuf.ByteString getProjectIdBytes() {
java.lang.Object ref = projectId_;
@@ -618,6 +637,9 @@ public com.google.protobuf.ByteString getProjectIdBytes() {
*
*
* string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @param value The projectId to set.
+ * @return This builder for chaining.
*/
public Builder setProjectId(java.lang.String value) {
if (value == null) {
@@ -636,6 +658,8 @@ public Builder setProjectId(java.lang.String value) {
*
*
* string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return This builder for chaining.
*/
public Builder clearProjectId() {
@@ -651,6 +675,9 @@ public Builder clearProjectId() {
*
*
* string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @param value The bytes for projectId to set.
+ * @return This builder for chaining.
*/
public Builder setProjectIdBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -672,6 +699,8 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) {
*
*
* int32 page_size = 2;
+ *
+ * @return The pageSize.
*/
public int getPageSize() {
return pageSize_;
@@ -684,6 +713,9 @@ public int getPageSize() {
*
*
* int32 page_size = 2;
+ *
+ * @param value The pageSize to set.
+ * @return This builder for chaining.
*/
public Builder setPageSize(int value) {
@@ -699,6 +731,8 @@ public Builder setPageSize(int value) {
*
*
* int32 page_size = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearPageSize() {
@@ -716,6 +750,8 @@ public Builder clearPageSize() {
*
*
* string page_token = 3;
+ *
+ * @return The pageToken.
*/
public java.lang.String getPageToken() {
java.lang.Object ref = pageToken_;
@@ -736,6 +772,8 @@ public java.lang.String getPageToken() {
*
*
* string page_token = 3;
+ *
+ * @return The bytes for pageToken.
*/
public com.google.protobuf.ByteString getPageTokenBytes() {
java.lang.Object ref = pageToken_;
@@ -756,6 +794,9 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
*
*
* string page_token = 3;
+ *
+ * @param value The pageToken to set.
+ * @return This builder for chaining.
*/
public Builder setPageToken(java.lang.String value) {
if (value == null) {
@@ -774,6 +815,8 @@ public Builder setPageToken(java.lang.String value) {
*
*
* string page_token = 3;
+ *
+ * @return This builder for chaining.
*/
public Builder clearPageToken() {
@@ -789,6 +832,9 @@ public Builder clearPageToken() {
*
*
* string page_token = 3;
+ *
+ * @param value The bytes for pageToken to set.
+ * @return This builder for chaining.
*/
public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
if (value == null) {
diff --git a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/ListBuildTriggersRequestOrBuilder.java b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/ListBuildTriggersRequestOrBuilder.java
index 0cde67bd..afbacaa3 100644
--- a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/ListBuildTriggersRequestOrBuilder.java
+++ b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/ListBuildTriggersRequestOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -31,6 +31,8 @@ public interface ListBuildTriggersRequestOrBuilder
*
*
* string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The projectId.
*/
java.lang.String getProjectId();
/**
@@ -41,6 +43,8 @@ public interface ListBuildTriggersRequestOrBuilder
*
*
* string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The bytes for projectId.
*/
com.google.protobuf.ByteString getProjectIdBytes();
@@ -52,6 +56,8 @@ public interface ListBuildTriggersRequestOrBuilder
*
*
* int32 page_size = 2;
+ *
+ * @return The pageSize.
*/
int getPageSize();
@@ -63,6 +69,8 @@ public interface ListBuildTriggersRequestOrBuilder
*
*
* string page_token = 3;
+ *
+ * @return The pageToken.
*/
java.lang.String getPageToken();
/**
@@ -73,6 +81,8 @@ public interface ListBuildTriggersRequestOrBuilder
*
*
* string page_token = 3;
+ *
+ * @return The bytes for pageToken.
*/
com.google.protobuf.ByteString getPageTokenBytes();
}
diff --git a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/ListBuildTriggersResponse.java b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/ListBuildTriggersResponse.java
index f478ed7b..395e408c 100644
--- a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/ListBuildTriggersResponse.java
+++ b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/ListBuildTriggersResponse.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -42,6 +42,12 @@ private ListBuildTriggersResponse() {
nextPageToken_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new ListBuildTriggersResponse();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -121,7 +127,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
com.google.cloudbuild.v1.ListBuildTriggersResponse.Builder.class);
}
- private int bitField0_;
public static final int TRIGGERS_FIELD_NUMBER = 1;
private java.util.Liststring next_page_token = 2;
+ *
+ * @return The nextPageToken.
*/
public java.lang.String getNextPageToken() {
java.lang.Object ref = nextPageToken_;
@@ -216,6 +223,8 @@ public java.lang.String getNextPageToken() {
*
*
* string next_page_token = 2;
+ *
+ * @return The bytes for nextPageToken.
*/
public com.google.protobuf.ByteString getNextPageTokenBytes() {
java.lang.Object ref = nextPageToken_;
@@ -482,7 +491,6 @@ public com.google.cloudbuild.v1.ListBuildTriggersResponse buildPartial() {
com.google.cloudbuild.v1.ListBuildTriggersResponse result =
new com.google.cloudbuild.v1.ListBuildTriggersResponse(this);
int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
if (triggersBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
triggers_ = java.util.Collections.unmodifiableList(triggers_);
@@ -493,7 +501,6 @@ public com.google.cloudbuild.v1.ListBuildTriggersResponse buildPartial() {
result.triggers_ = triggersBuilder_.build();
}
result.nextPageToken_ = nextPageToken_;
- result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@@ -964,6 +971,8 @@ public java.util.Liststring next_page_token = 2;
+ *
+ * @return The nextPageToken.
*/
public java.lang.String getNextPageToken() {
java.lang.Object ref = nextPageToken_;
@@ -984,6 +993,8 @@ public java.lang.String getNextPageToken() {
*
*
* string next_page_token = 2;
+ *
+ * @return The bytes for nextPageToken.
*/
public com.google.protobuf.ByteString getNextPageTokenBytes() {
java.lang.Object ref = nextPageToken_;
@@ -1004,6 +1015,9 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
*
*
* string next_page_token = 2;
+ *
+ * @param value The nextPageToken to set.
+ * @return This builder for chaining.
*/
public Builder setNextPageToken(java.lang.String value) {
if (value == null) {
@@ -1022,6 +1036,8 @@ public Builder setNextPageToken(java.lang.String value) {
*
*
* string next_page_token = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearNextPageToken() {
@@ -1037,6 +1053,9 @@ public Builder clearNextPageToken() {
*
*
* string next_page_token = 2;
+ *
+ * @param value The bytes for nextPageToken to set.
+ * @return This builder for chaining.
*/
public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) {
if (value == null) {
diff --git a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/ListBuildTriggersResponseOrBuilder.java b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/ListBuildTriggersResponseOrBuilder.java
index 401d8b5c..7b7bb586 100644
--- a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/ListBuildTriggersResponseOrBuilder.java
+++ b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/ListBuildTriggersResponseOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -83,6 +83,8 @@ public interface ListBuildTriggersResponseOrBuilder
*
*
* string next_page_token = 2;
+ *
+ * @return The nextPageToken.
*/
java.lang.String getNextPageToken();
/**
@@ -93,6 +95,8 @@ public interface ListBuildTriggersResponseOrBuilder
*
*
* string next_page_token = 2;
+ *
+ * @return The bytes for nextPageToken.
*/
com.google.protobuf.ByteString getNextPageTokenBytes();
}
diff --git a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/ListBuildsRequest.java b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/ListBuildsRequest.java
index 1caa99bf..120e4b1b 100644
--- a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/ListBuildsRequest.java
+++ b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/ListBuildsRequest.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -43,6 +43,12 @@ private ListBuildsRequest() {
filter_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new ListBuildsRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -56,7 +62,6 @@ private ListBuildsRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -137,6 +142,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The projectId.
*/
public java.lang.String getProjectId() {
java.lang.Object ref = projectId_;
@@ -157,6 +164,8 @@ public java.lang.String getProjectId() {
*
*
* string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The bytes for projectId.
*/
public com.google.protobuf.ByteString getProjectIdBytes() {
java.lang.Object ref = projectId_;
@@ -180,6 +189,8 @@ public com.google.protobuf.ByteString getProjectIdBytes() {
*
*
* int32 page_size = 2;
+ *
+ * @return The pageSize.
*/
public int getPageSize() {
return pageSize_;
@@ -195,6 +206,8 @@ public int getPageSize() {
*
*
* string page_token = 3;
+ *
+ * @return The pageToken.
*/
public java.lang.String getPageToken() {
java.lang.Object ref = pageToken_;
@@ -215,6 +228,8 @@ public java.lang.String getPageToken() {
*
*
* string page_token = 3;
+ *
+ * @return The bytes for pageToken.
*/
public com.google.protobuf.ByteString getPageTokenBytes() {
java.lang.Object ref = pageToken_;
@@ -238,6 +253,8 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
*
*
* string filter = 8;
+ *
+ * @return The filter.
*/
public java.lang.String getFilter() {
java.lang.Object ref = filter_;
@@ -258,6 +275,8 @@ public java.lang.String getFilter() {
*
*
* string filter = 8;
+ *
+ * @return The bytes for filter.
*/
public com.google.protobuf.ByteString getFilterBytes() {
java.lang.Object ref = filter_;
@@ -643,6 +662,8 @@ public Builder mergeFrom(
*
*
* string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The projectId.
*/
public java.lang.String getProjectId() {
java.lang.Object ref = projectId_;
@@ -663,6 +684,8 @@ public java.lang.String getProjectId() {
*
*
* string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The bytes for projectId.
*/
public com.google.protobuf.ByteString getProjectIdBytes() {
java.lang.Object ref = projectId_;
@@ -683,6 +706,9 @@ public com.google.protobuf.ByteString getProjectIdBytes() {
*
*
* string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @param value The projectId to set.
+ * @return This builder for chaining.
*/
public Builder setProjectId(java.lang.String value) {
if (value == null) {
@@ -701,6 +727,8 @@ public Builder setProjectId(java.lang.String value) {
*
*
* string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return This builder for chaining.
*/
public Builder clearProjectId() {
@@ -716,6 +744,9 @@ public Builder clearProjectId() {
*
*
* string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @param value The bytes for projectId to set.
+ * @return This builder for chaining.
*/
public Builder setProjectIdBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -737,6 +768,8 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) {
*
*
* int32 page_size = 2;
+ *
+ * @return The pageSize.
*/
public int getPageSize() {
return pageSize_;
@@ -749,6 +782,9 @@ public int getPageSize() {
*
*
* int32 page_size = 2;
+ *
+ * @param value The pageSize to set.
+ * @return This builder for chaining.
*/
public Builder setPageSize(int value) {
@@ -764,6 +800,8 @@ public Builder setPageSize(int value) {
*
*
* int32 page_size = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearPageSize() {
@@ -781,6 +819,8 @@ public Builder clearPageSize() {
*
*
* string page_token = 3;
+ *
+ * @return The pageToken.
*/
public java.lang.String getPageToken() {
java.lang.Object ref = pageToken_;
@@ -801,6 +841,8 @@ public java.lang.String getPageToken() {
*
*
* string page_token = 3;
+ *
+ * @return The bytes for pageToken.
*/
public com.google.protobuf.ByteString getPageTokenBytes() {
java.lang.Object ref = pageToken_;
@@ -821,6 +863,9 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
*
*
* string page_token = 3;
+ *
+ * @param value The pageToken to set.
+ * @return This builder for chaining.
*/
public Builder setPageToken(java.lang.String value) {
if (value == null) {
@@ -839,6 +884,8 @@ public Builder setPageToken(java.lang.String value) {
*
*
* string page_token = 3;
+ *
+ * @return This builder for chaining.
*/
public Builder clearPageToken() {
@@ -854,6 +901,9 @@ public Builder clearPageToken() {
*
*
* string page_token = 3;
+ *
+ * @param value The bytes for pageToken to set.
+ * @return This builder for chaining.
*/
public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -875,6 +925,8 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
*
*
* string filter = 8;
+ *
+ * @return The filter.
*/
public java.lang.String getFilter() {
java.lang.Object ref = filter_;
@@ -895,6 +947,8 @@ public java.lang.String getFilter() {
*
*
* string filter = 8;
+ *
+ * @return The bytes for filter.
*/
public com.google.protobuf.ByteString getFilterBytes() {
java.lang.Object ref = filter_;
@@ -915,6 +969,9 @@ public com.google.protobuf.ByteString getFilterBytes() {
*
*
* string filter = 8;
+ *
+ * @param value The filter to set.
+ * @return This builder for chaining.
*/
public Builder setFilter(java.lang.String value) {
if (value == null) {
@@ -933,6 +990,8 @@ public Builder setFilter(java.lang.String value) {
*
*
* string filter = 8;
+ *
+ * @return This builder for chaining.
*/
public Builder clearFilter() {
@@ -948,6 +1007,9 @@ public Builder clearFilter() {
*
*
* string filter = 8;
+ *
+ * @param value The bytes for filter to set.
+ * @return This builder for chaining.
*/
public Builder setFilterBytes(com.google.protobuf.ByteString value) {
if (value == null) {
diff --git a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/ListBuildsRequestOrBuilder.java b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/ListBuildsRequestOrBuilder.java
index 43574be3..286e767a 100644
--- a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/ListBuildsRequestOrBuilder.java
+++ b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/ListBuildsRequestOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -31,6 +31,8 @@ public interface ListBuildsRequestOrBuilder
*
*
* string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The projectId.
*/
java.lang.String getProjectId();
/**
@@ -41,6 +43,8 @@ public interface ListBuildsRequestOrBuilder
*
*
* string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The bytes for projectId.
*/
com.google.protobuf.ByteString getProjectIdBytes();
@@ -52,6 +56,8 @@ public interface ListBuildsRequestOrBuilder
*
*
* int32 page_size = 2;
+ *
+ * @return The pageSize.
*/
int getPageSize();
@@ -63,6 +69,8 @@ public interface ListBuildsRequestOrBuilder
*
*
* string page_token = 3;
+ *
+ * @return The pageToken.
*/
java.lang.String getPageToken();
/**
@@ -73,6 +81,8 @@ public interface ListBuildsRequestOrBuilder
*
*
* string page_token = 3;
+ *
+ * @return The bytes for pageToken.
*/
com.google.protobuf.ByteString getPageTokenBytes();
@@ -84,6 +94,8 @@ public interface ListBuildsRequestOrBuilder
*
*
* string filter = 8;
+ *
+ * @return The filter.
*/
java.lang.String getFilter();
/**
@@ -94,6 +106,8 @@ public interface ListBuildsRequestOrBuilder
*
*
* string filter = 8;
+ *
+ * @return The bytes for filter.
*/
com.google.protobuf.ByteString getFilterBytes();
}
diff --git a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/ListBuildsResponse.java b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/ListBuildsResponse.java
index 0289f6d0..e5ea91a4 100644
--- a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/ListBuildsResponse.java
+++ b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/ListBuildsResponse.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -42,6 +42,12 @@ private ListBuildsResponse() {
nextPageToken_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new ListBuildsResponse();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -120,7 +126,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
com.google.cloudbuild.v1.ListBuildsResponse.Builder.class);
}
- private int bitField0_;
public static final int BUILDS_FIELD_NUMBER = 1;
private java.util.Liststring next_page_token = 2;
+ *
+ * @return The nextPageToken.
*/
public java.lang.String getNextPageToken() {
java.lang.Object ref = nextPageToken_;
@@ -215,6 +222,8 @@ public java.lang.String getNextPageToken() {
*
*
* string next_page_token = 2;
+ *
+ * @return The bytes for nextPageToken.
*/
public com.google.protobuf.ByteString getNextPageTokenBytes() {
java.lang.Object ref = nextPageToken_;
@@ -481,7 +490,6 @@ public com.google.cloudbuild.v1.ListBuildsResponse buildPartial() {
com.google.cloudbuild.v1.ListBuildsResponse result =
new com.google.cloudbuild.v1.ListBuildsResponse(this);
int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
if (buildsBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
builds_ = java.util.Collections.unmodifiableList(builds_);
@@ -492,7 +500,6 @@ public com.google.cloudbuild.v1.ListBuildsResponse buildPartial() {
result.builds_ = buildsBuilder_.build();
}
result.nextPageToken_ = nextPageToken_;
- result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@@ -959,6 +966,8 @@ public java.util.Liststring next_page_token = 2;
+ *
+ * @return The nextPageToken.
*/
public java.lang.String getNextPageToken() {
java.lang.Object ref = nextPageToken_;
@@ -979,6 +988,8 @@ public java.lang.String getNextPageToken() {
*
*
* string next_page_token = 2;
+ *
+ * @return The bytes for nextPageToken.
*/
public com.google.protobuf.ByteString getNextPageTokenBytes() {
java.lang.Object ref = nextPageToken_;
@@ -999,6 +1010,9 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
*
*
* string next_page_token = 2;
+ *
+ * @param value The nextPageToken to set.
+ * @return This builder for chaining.
*/
public Builder setNextPageToken(java.lang.String value) {
if (value == null) {
@@ -1017,6 +1031,8 @@ public Builder setNextPageToken(java.lang.String value) {
*
*
* string next_page_token = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearNextPageToken() {
@@ -1032,6 +1048,9 @@ public Builder clearNextPageToken() {
*
*
* string next_page_token = 2;
+ *
+ * @param value The bytes for nextPageToken to set.
+ * @return This builder for chaining.
*/
public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) {
if (value == null) {
diff --git a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/ListBuildsResponseOrBuilder.java b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/ListBuildsResponseOrBuilder.java
index 6b7bcc84..7063d12c 100644
--- a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/ListBuildsResponseOrBuilder.java
+++ b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/ListBuildsResponseOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -82,6 +82,8 @@ public interface ListBuildsResponseOrBuilder
*
*
* string next_page_token = 2;
+ *
+ * @return The nextPageToken.
*/
java.lang.String getNextPageToken();
/**
@@ -92,6 +94,8 @@ public interface ListBuildsResponseOrBuilder
*
*
* string next_page_token = 2;
+ *
+ * @return The bytes for nextPageToken.
*/
com.google.protobuf.ByteString getNextPageTokenBytes();
}
diff --git a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/ListWorkerPoolsRequest.java b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/ListWorkerPoolsRequest.java
index 47703665..1df7785e 100644
--- a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/ListWorkerPoolsRequest.java
+++ b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/ListWorkerPoolsRequest.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -41,6 +41,12 @@ private ListWorkerPoolsRequest() {
parent_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new ListWorkerPoolsRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -54,7 +60,6 @@ private ListWorkerPoolsRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -116,6 +121,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* string parent = 1;
+ *
+ * @return The parent.
*/
public java.lang.String getParent() {
java.lang.Object ref = parent_;
@@ -136,6 +143,8 @@ public java.lang.String getParent() {
*
*
* string parent = 1;
+ *
+ * @return The bytes for parent.
*/
public com.google.protobuf.ByteString getParentBytes() {
java.lang.Object ref = parent_;
@@ -475,6 +484,8 @@ public Builder mergeFrom(
*
*
* string parent = 1;
+ *
+ * @return The parent.
*/
public java.lang.String getParent() {
java.lang.Object ref = parent_;
@@ -495,6 +506,8 @@ public java.lang.String getParent() {
*
*
* string parent = 1;
+ *
+ * @return The bytes for parent.
*/
public com.google.protobuf.ByteString getParentBytes() {
java.lang.Object ref = parent_;
@@ -515,6 +528,9 @@ public com.google.protobuf.ByteString getParentBytes() {
*
*
* string parent = 1;
+ *
+ * @param value The parent to set.
+ * @return This builder for chaining.
*/
public Builder setParent(java.lang.String value) {
if (value == null) {
@@ -533,6 +549,8 @@ public Builder setParent(java.lang.String value) {
*
*
* string parent = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearParent() {
@@ -548,6 +566,9 @@ public Builder clearParent() {
*
*
* string parent = 1;
+ *
+ * @param value The bytes for parent to set.
+ * @return This builder for chaining.
*/
public Builder setParentBytes(com.google.protobuf.ByteString value) {
if (value == null) {
diff --git a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/ListWorkerPoolsRequestOrBuilder.java b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/ListWorkerPoolsRequestOrBuilder.java
index 5df3b8ce..3a67090e 100644
--- a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/ListWorkerPoolsRequestOrBuilder.java
+++ b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/ListWorkerPoolsRequestOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -31,6 +31,8 @@ public interface ListWorkerPoolsRequestOrBuilder
*
*
* string parent = 1;
+ *
+ * @return The parent.
*/
java.lang.String getParent();
/**
@@ -41,6 +43,8 @@ public interface ListWorkerPoolsRequestOrBuilder
*
*
* string parent = 1;
+ *
+ * @return The bytes for parent.
*/
com.google.protobuf.ByteString getParentBytes();
}
diff --git a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/ListWorkerPoolsResponse.java b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/ListWorkerPoolsResponse.java
index 6f4a2b2a..f85007a6 100644
--- a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/ListWorkerPoolsResponse.java
+++ b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/ListWorkerPoolsResponse.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -41,6 +41,12 @@ private ListWorkerPoolsResponse() {
workerPools_ = java.util.Collections.emptyList();
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new ListWorkerPoolsResponse();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
diff --git a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/ListWorkerPoolsResponseOrBuilder.java b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/ListWorkerPoolsResponseOrBuilder.java
index 97a090de..ed3d473c 100644
--- a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/ListWorkerPoolsResponseOrBuilder.java
+++ b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/ListWorkerPoolsResponseOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/Network.java b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/Network.java
index 2c53ab0d..211cbe80 100644
--- a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/Network.java
+++ b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/Network.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -43,6 +43,12 @@ private Network() {
subnetwork_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new Network();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -56,7 +62,6 @@ private Network(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -135,6 +140,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* string project_id = 1;
+ *
+ * @return The projectId.
*/
public java.lang.String getProjectId() {
java.lang.Object ref = projectId_;
@@ -159,6 +166,8 @@ public java.lang.String getProjectId() {
*
*
* string project_id = 1;
+ *
+ * @return The bytes for projectId.
*/
public com.google.protobuf.ByteString getProjectIdBytes() {
java.lang.Object ref = projectId_;
@@ -183,6 +192,8 @@ public com.google.protobuf.ByteString getProjectIdBytes() {
*
*
* string network = 2;
+ *
+ * @return The network.
*/
public java.lang.String getNetwork() {
java.lang.Object ref = network_;
@@ -204,6 +215,8 @@ public java.lang.String getNetwork() {
*
*
* string network = 2;
+ *
+ * @return The bytes for network.
*/
public com.google.protobuf.ByteString getNetworkBytes() {
java.lang.Object ref = network_;
@@ -228,6 +241,8 @@ public com.google.protobuf.ByteString getNetworkBytes() {
*
*
* string subnetwork = 3;
+ *
+ * @return The subnetwork.
*/
public java.lang.String getSubnetwork() {
java.lang.Object ref = subnetwork_;
@@ -249,6 +264,8 @@ public java.lang.String getSubnetwork() {
*
*
* string subnetwork = 3;
+ *
+ * @return The bytes for subnetwork.
*/
public com.google.protobuf.ByteString getSubnetworkBytes() {
java.lang.Object ref = subnetwork_;
@@ -620,6 +637,8 @@ public Builder mergeFrom(
*
*
* string project_id = 1;
+ *
+ * @return The projectId.
*/
public java.lang.String getProjectId() {
java.lang.Object ref = projectId_;
@@ -644,6 +663,8 @@ public java.lang.String getProjectId() {
*
*
* string project_id = 1;
+ *
+ * @return The bytes for projectId.
*/
public com.google.protobuf.ByteString getProjectIdBytes() {
java.lang.Object ref = projectId_;
@@ -668,6 +689,9 @@ public com.google.protobuf.ByteString getProjectIdBytes() {
*
*
* string project_id = 1;
+ *
+ * @param value The projectId to set.
+ * @return This builder for chaining.
*/
public Builder setProjectId(java.lang.String value) {
if (value == null) {
@@ -690,6 +714,8 @@ public Builder setProjectId(java.lang.String value) {
*
*
* string project_id = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearProjectId() {
@@ -709,6 +735,9 @@ public Builder clearProjectId() {
*
*
* string project_id = 1;
+ *
+ * @param value The bytes for projectId to set.
+ * @return This builder for chaining.
*/
public Builder setProjectIdBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -731,6 +760,8 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) {
*
*
* string network = 2;
+ *
+ * @return The network.
*/
public java.lang.String getNetwork() {
java.lang.Object ref = network_;
@@ -752,6 +783,8 @@ public java.lang.String getNetwork() {
*
*
* string network = 2;
+ *
+ * @return The bytes for network.
*/
public com.google.protobuf.ByteString getNetworkBytes() {
java.lang.Object ref = network_;
@@ -773,6 +806,9 @@ public com.google.protobuf.ByteString getNetworkBytes() {
*
*
* string network = 2;
+ *
+ * @param value The network to set.
+ * @return This builder for chaining.
*/
public Builder setNetwork(java.lang.String value) {
if (value == null) {
@@ -792,6 +828,8 @@ public Builder setNetwork(java.lang.String value) {
*
*
* string network = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearNetwork() {
@@ -808,6 +846,9 @@ public Builder clearNetwork() {
*
*
* string network = 2;
+ *
+ * @param value The bytes for network to set.
+ * @return This builder for chaining.
*/
public Builder setNetworkBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -830,6 +871,8 @@ public Builder setNetworkBytes(com.google.protobuf.ByteString value) {
*
*
* string subnetwork = 3;
+ *
+ * @return The subnetwork.
*/
public java.lang.String getSubnetwork() {
java.lang.Object ref = subnetwork_;
@@ -851,6 +894,8 @@ public java.lang.String getSubnetwork() {
*
*
* string subnetwork = 3;
+ *
+ * @return The bytes for subnetwork.
*/
public com.google.protobuf.ByteString getSubnetworkBytes() {
java.lang.Object ref = subnetwork_;
@@ -872,6 +917,9 @@ public com.google.protobuf.ByteString getSubnetworkBytes() {
*
*
* string subnetwork = 3;
+ *
+ * @param value The subnetwork to set.
+ * @return This builder for chaining.
*/
public Builder setSubnetwork(java.lang.String value) {
if (value == null) {
@@ -891,6 +939,8 @@ public Builder setSubnetwork(java.lang.String value) {
*
*
* string subnetwork = 3;
+ *
+ * @return This builder for chaining.
*/
public Builder clearSubnetwork() {
@@ -907,6 +957,9 @@ public Builder clearSubnetwork() {
*
*
* string subnetwork = 3;
+ *
+ * @param value The bytes for subnetwork to set.
+ * @return This builder for chaining.
*/
public Builder setSubnetworkBytes(com.google.protobuf.ByteString value) {
if (value == null) {
diff --git a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/NetworkOrBuilder.java b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/NetworkOrBuilder.java
index f41e26d5..16c10bd3 100644
--- a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/NetworkOrBuilder.java
+++ b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/NetworkOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -35,6 +35,8 @@ public interface NetworkOrBuilder
*
*
* string project_id = 1;
+ *
+ * @return The projectId.
*/
java.lang.String getProjectId();
/**
@@ -49,6 +51,8 @@ public interface NetworkOrBuilder
*
*
* string project_id = 1;
+ *
+ * @return The bytes for projectId.
*/
com.google.protobuf.ByteString getProjectIdBytes();
@@ -61,6 +65,8 @@ public interface NetworkOrBuilder
*
*
* string network = 2;
+ *
+ * @return The network.
*/
java.lang.String getNetwork();
/**
@@ -72,6 +78,8 @@ public interface NetworkOrBuilder
*
*
* string network = 2;
+ *
+ * @return The bytes for network.
*/
com.google.protobuf.ByteString getNetworkBytes();
@@ -84,6 +92,8 @@ public interface NetworkOrBuilder
*
*
* string subnetwork = 3;
+ *
+ * @return The subnetwork.
*/
java.lang.String getSubnetwork();
/**
@@ -95,6 +105,8 @@ public interface NetworkOrBuilder
*
*
* string subnetwork = 3;
+ *
+ * @return The bytes for subnetwork.
*/
com.google.protobuf.ByteString getSubnetworkBytes();
}
diff --git a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/PullRequestFilter.java b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/PullRequestFilter.java
index 52b1a057..00c10be5 100644
--- a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/PullRequestFilter.java
+++ b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/PullRequestFilter.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -42,6 +42,12 @@ private PullRequestFilter() {
commentControl_ = 0;
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new PullRequestFilter();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -55,7 +61,6 @@ private PullRequestFilter(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -80,6 +85,11 @@ private PullRequestFilter(
commentControl_ = rawValue;
break;
}
+ case 48:
+ {
+ invertRegex_ = input.readBool();
+ break;
+ }
default:
{
if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
@@ -178,12 +188,20 @@ public final int getNumber() {
return value;
}
- /** @deprecated Use {@link #forNumber(int)} instead. */
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
@java.lang.Deprecated
public static CommentControl valueOf(int value) {
return forNumber(value);
}
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ */
public static CommentControl forNumber(int value) {
switch (value) {
case 0:
@@ -242,7 +260,10 @@ private CommentControl(int value) {
private int gitRefCase_ = 0;
private java.lang.Object gitRef_;
- public enum GitRefCase implements com.google.protobuf.Internal.EnumLite {
+ public enum GitRefCase
+ implements
+ com.google.protobuf.Internal.EnumLite,
+ com.google.protobuf.AbstractMessage.InternalOneOfEnum {
BRANCH(2),
GITREF_NOT_SET(0);
private final int value;
@@ -250,7 +271,11 @@ public enum GitRefCase implements com.google.protobuf.Internal.EnumLite {
private GitRefCase(int value) {
this.value = value;
}
- /** @deprecated Use {@link #forNumber(int)} instead. */
+ /**
+ * @param value The number of the enum to look for.
+ * @return The enum associated with the given number.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
@java.lang.Deprecated
public static GitRefCase valueOf(int value) {
return forNumber(value);
@@ -287,6 +312,8 @@ public GitRefCase getGitRefCase() {
*
*
* string branch = 2;
+ *
+ * @return The branch.
*/
public java.lang.String getBranch() {
java.lang.Object ref = "";
@@ -314,6 +341,8 @@ public java.lang.String getBranch() {
*
*
* string branch = 2;
+ *
+ * @return The bytes for branch.
*/
public com.google.protobuf.ByteString getBranchBytes() {
java.lang.Object ref = "";
@@ -338,12 +367,14 @@ public com.google.protobuf.ByteString getBranchBytes() {
*
*
* - * Whether to block builds on a "/gcbrun" comment from a repository owner or + * Whether to block builds on a "/gcbrun" comment from a repository admin or * collaborator. ** *
.google.devtools.cloudbuild.v1.PullRequestFilter.CommentControl comment_control = 5;
*
+ *
+ * @return The enum numeric value on the wire for commentControl.
*/
public int getCommentControlValue() {
return commentControl_;
@@ -352,12 +383,14 @@ public int getCommentControlValue() {
*
*
* - * Whether to block builds on a "/gcbrun" comment from a repository owner or + * Whether to block builds on a "/gcbrun" comment from a repository admin or * collaborator. ** *
.google.devtools.cloudbuild.v1.PullRequestFilter.CommentControl comment_control = 5;
*
+ *
+ * @return The commentControl.
*/
public com.google.cloudbuild.v1.PullRequestFilter.CommentControl getCommentControl() {
@SuppressWarnings("deprecation")
@@ -368,6 +401,23 @@ public com.google.cloudbuild.v1.PullRequestFilter.CommentControl getCommentContr
: result;
}
+ public static final int INVERT_REGEX_FIELD_NUMBER = 6;
+ private boolean invertRegex_;
+ /**
+ *
+ *
+ * + * If true, branches that do NOT match the git_ref will trigger a build. + *+ * + *
bool invert_regex = 6;
+ *
+ * @return The invertRegex.
+ */
+ public boolean getInvertRegex() {
+ return invertRegex_;
+ }
+
private byte memoizedIsInitialized = -1;
@java.lang.Override
@@ -390,6 +440,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
.getNumber()) {
output.writeEnum(5, commentControl_);
}
+ if (invertRegex_ != false) {
+ output.writeBool(6, invertRegex_);
+ }
unknownFields.writeTo(output);
}
@@ -407,6 +460,9 @@ public int getSerializedSize() {
.getNumber()) {
size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, commentControl_);
}
+ if (invertRegex_ != false) {
+ size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, invertRegex_);
+ }
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
@@ -424,6 +480,7 @@ public boolean equals(final java.lang.Object obj) {
(com.google.cloudbuild.v1.PullRequestFilter) obj;
if (commentControl_ != other.commentControl_) return false;
+ if (getInvertRegex() != other.getInvertRegex()) return false;
if (!getGitRefCase().equals(other.getGitRefCase())) return false;
switch (gitRefCase_) {
case 2:
@@ -445,6 +502,8 @@ public int hashCode() {
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + COMMENT_CONTROL_FIELD_NUMBER;
hash = (53 * hash) + commentControl_;
+ hash = (37 * hash) + INVERT_REGEX_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getInvertRegex());
switch (gitRefCase_) {
case 2:
hash = (37 * hash) + BRANCH_FIELD_NUMBER;
@@ -601,6 +660,8 @@ public Builder clear() {
super.clear();
commentControl_ = 0;
+ invertRegex_ = false;
+
gitRefCase_ = 0;
gitRef_ = null;
return this;
@@ -634,6 +695,7 @@ public com.google.cloudbuild.v1.PullRequestFilter buildPartial() {
result.gitRef_ = gitRef_;
}
result.commentControl_ = commentControl_;
+ result.invertRegex_ = invertRegex_;
result.gitRefCase_ = gitRefCase_;
onBuilt();
return result;
@@ -687,6 +749,9 @@ public Builder mergeFrom(com.google.cloudbuild.v1.PullRequestFilter other) {
if (other.commentControl_ != 0) {
setCommentControlValue(other.getCommentControlValue());
}
+ if (other.getInvertRegex() != false) {
+ setInvertRegex(other.getInvertRegex());
+ }
switch (other.getGitRefCase()) {
case BRANCH:
{
@@ -753,6 +818,8 @@ public Builder clearGitRef() {
*
*
* string branch = 2;
+ *
+ * @return The branch.
*/
public java.lang.String getBranch() {
java.lang.Object ref = "";
@@ -780,6 +847,8 @@ public java.lang.String getBranch() {
*
*
* string branch = 2;
+ *
+ * @return The bytes for branch.
*/
public com.google.protobuf.ByteString getBranchBytes() {
java.lang.Object ref = "";
@@ -807,6 +876,9 @@ public com.google.protobuf.ByteString getBranchBytes() {
*
*
* string branch = 2;
+ *
+ * @param value The branch to set.
+ * @return This builder for chaining.
*/
public Builder setBranch(java.lang.String value) {
if (value == null) {
@@ -827,6 +899,8 @@ public Builder setBranch(java.lang.String value) {
*
*
* string branch = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearBranch() {
if (gitRefCase_ == 2) {
@@ -846,6 +920,9 @@ public Builder clearBranch() {
*
*
* string branch = 2;
+ *
+ * @param value The bytes for branch to set.
+ * @return This builder for chaining.
*/
public Builder setBranchBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -863,12 +940,14 @@ public Builder setBranchBytes(com.google.protobuf.ByteString value) {
*
*
* - * Whether to block builds on a "/gcbrun" comment from a repository owner or + * Whether to block builds on a "/gcbrun" comment from a repository admin or * collaborator. ** *
.google.devtools.cloudbuild.v1.PullRequestFilter.CommentControl comment_control = 5;
*
+ *
+ * @return The enum numeric value on the wire for commentControl.
*/
public int getCommentControlValue() {
return commentControl_;
@@ -877,12 +956,15 @@ public int getCommentControlValue() {
*
*
* - * Whether to block builds on a "/gcbrun" comment from a repository owner or + * Whether to block builds on a "/gcbrun" comment from a repository admin or * collaborator. ** *
.google.devtools.cloudbuild.v1.PullRequestFilter.CommentControl comment_control = 5;
*
+ *
+ * @param value The enum numeric value on the wire for commentControl to set.
+ * @return This builder for chaining.
*/
public Builder setCommentControlValue(int value) {
commentControl_ = value;
@@ -893,12 +975,14 @@ public Builder setCommentControlValue(int value) {
*
*
* - * Whether to block builds on a "/gcbrun" comment from a repository owner or + * Whether to block builds on a "/gcbrun" comment from a repository admin or * collaborator. ** *
.google.devtools.cloudbuild.v1.PullRequestFilter.CommentControl comment_control = 5;
*
+ *
+ * @return The commentControl.
*/
public com.google.cloudbuild.v1.PullRequestFilter.CommentControl getCommentControl() {
@SuppressWarnings("deprecation")
@@ -912,12 +996,15 @@ public com.google.cloudbuild.v1.PullRequestFilter.CommentControl getCommentContr
*
*
* - * Whether to block builds on a "/gcbrun" comment from a repository owner or + * Whether to block builds on a "/gcbrun" comment from a repository admin or * collaborator. ** *
.google.devtools.cloudbuild.v1.PullRequestFilter.CommentControl comment_control = 5;
*
+ *
+ * @param value The commentControl to set.
+ * @return This builder for chaining.
*/
public Builder setCommentControl(
com.google.cloudbuild.v1.PullRequestFilter.CommentControl value) {
@@ -933,12 +1020,14 @@ public Builder setCommentControl(
*
*
* - * Whether to block builds on a "/gcbrun" comment from a repository owner or + * Whether to block builds on a "/gcbrun" comment from a repository admin or * collaborator. ** *
.google.devtools.cloudbuild.v1.PullRequestFilter.CommentControl comment_control = 5;
*
+ *
+ * @return This builder for chaining.
*/
public Builder clearCommentControl() {
@@ -947,6 +1036,57 @@ public Builder clearCommentControl() {
return this;
}
+ private boolean invertRegex_;
+ /**
+ *
+ *
+ * + * If true, branches that do NOT match the git_ref will trigger a build. + *+ * + *
bool invert_regex = 6;
+ *
+ * @return The invertRegex.
+ */
+ public boolean getInvertRegex() {
+ return invertRegex_;
+ }
+ /**
+ *
+ *
+ * + * If true, branches that do NOT match the git_ref will trigger a build. + *+ * + *
bool invert_regex = 6;
+ *
+ * @param value The invertRegex to set.
+ * @return This builder for chaining.
+ */
+ public Builder setInvertRegex(boolean value) {
+
+ invertRegex_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * If true, branches that do NOT match the git_ref will trigger a build. + *+ * + *
bool invert_regex = 6;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearInvertRegex() {
+
+ invertRegex_ = false;
+ onChanged();
+ return this;
+ }
+
@java.lang.Override
public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
diff --git a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/PullRequestFilterOrBuilder.java b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/PullRequestFilterOrBuilder.java
index 430159fc..68630982 100644
--- a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/PullRequestFilterOrBuilder.java
+++ b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/PullRequestFilterOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -33,6 +33,8 @@ public interface PullRequestFilterOrBuilder
*
*
* string branch = 2;
+ *
+ * @return The branch.
*/
java.lang.String getBranch();
/**
@@ -45,6 +47,8 @@ public interface PullRequestFilterOrBuilder
*
*
* string branch = 2;
+ *
+ * @return The bytes for branch.
*/
com.google.protobuf.ByteString getBranchBytes();
@@ -52,26 +56,43 @@ public interface PullRequestFilterOrBuilder
*
*
* - * Whether to block builds on a "/gcbrun" comment from a repository owner or + * Whether to block builds on a "/gcbrun" comment from a repository admin or * collaborator. ** *
.google.devtools.cloudbuild.v1.PullRequestFilter.CommentControl comment_control = 5;
*
+ *
+ * @return The enum numeric value on the wire for commentControl.
*/
int getCommentControlValue();
/**
*
*
* - * Whether to block builds on a "/gcbrun" comment from a repository owner or + * Whether to block builds on a "/gcbrun" comment from a repository admin or * collaborator. ** *
.google.devtools.cloudbuild.v1.PullRequestFilter.CommentControl comment_control = 5;
*
+ *
+ * @return The commentControl.
*/
com.google.cloudbuild.v1.PullRequestFilter.CommentControl getCommentControl();
+ /**
+ *
+ *
+ * + * If true, branches that do NOT match the git_ref will trigger a build. + *+ * + *
bool invert_regex = 6;
+ *
+ * @return The invertRegex.
+ */
+ boolean getInvertRegex();
+
public com.google.cloudbuild.v1.PullRequestFilter.GitRefCase getGitRefCase();
}
diff --git a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/PushFilter.java b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/PushFilter.java
index f25d42c5..80c7775e 100644
--- a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/PushFilter.java
+++ b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/PushFilter.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -39,6 +39,12 @@ private PushFilter(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
private PushFilter() {}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new PushFilter();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -52,7 +58,6 @@ private PushFilter(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -77,6 +82,11 @@ private PushFilter(
gitRef_ = s;
break;
}
+ case 32:
+ {
+ invertRegex_ = input.readBool();
+ break;
+ }
default:
{
if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
@@ -114,7 +124,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
private int gitRefCase_ = 0;
private java.lang.Object gitRef_;
- public enum GitRefCase implements com.google.protobuf.Internal.EnumLite {
+ public enum GitRefCase
+ implements
+ com.google.protobuf.Internal.EnumLite,
+ com.google.protobuf.AbstractMessage.InternalOneOfEnum {
BRANCH(2),
TAG(3),
GITREF_NOT_SET(0);
@@ -123,7 +136,11 @@ public enum GitRefCase implements com.google.protobuf.Internal.EnumLite {
private GitRefCase(int value) {
this.value = value;
}
- /** @deprecated Use {@link #forNumber(int)} instead. */
+ /**
+ * @param value The number of the enum to look for.
+ * @return The enum associated with the given number.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
@java.lang.Deprecated
public static GitRefCase valueOf(int value) {
return forNumber(value);
@@ -162,6 +179,8 @@ public GitRefCase getGitRefCase() {
*
*
* string branch = 2;
+ *
+ * @return The branch.
*/
public java.lang.String getBranch() {
java.lang.Object ref = "";
@@ -189,6 +208,8 @@ public java.lang.String getBranch() {
*
*
* string branch = 2;
+ *
+ * @return The bytes for branch.
*/
public com.google.protobuf.ByteString getBranchBytes() {
java.lang.Object ref = "";
@@ -218,6 +239,8 @@ public com.google.protobuf.ByteString getBranchBytes() {
*
*
* string tag = 3;
+ *
+ * @return The tag.
*/
public java.lang.String getTag() {
java.lang.Object ref = "";
@@ -245,6 +268,8 @@ public java.lang.String getTag() {
*
*
* string tag = 3;
+ *
+ * @return The bytes for tag.
*/
public com.google.protobuf.ByteString getTagBytes() {
java.lang.Object ref = "";
@@ -263,6 +288,24 @@ public com.google.protobuf.ByteString getTagBytes() {
}
}
+ public static final int INVERT_REGEX_FIELD_NUMBER = 4;
+ private boolean invertRegex_;
+ /**
+ *
+ *
+ * + * When true, only trigger a build if the revision regex does NOT match the + * git_ref regex. + *+ * + *
bool invert_regex = 4;
+ *
+ * @return The invertRegex.
+ */
+ public boolean getInvertRegex() {
+ return invertRegex_;
+ }
+
private byte memoizedIsInitialized = -1;
@java.lang.Override
@@ -283,6 +326,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (gitRefCase_ == 3) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, gitRef_);
}
+ if (invertRegex_ != false) {
+ output.writeBool(4, invertRegex_);
+ }
unknownFields.writeTo(output);
}
@@ -298,6 +344,9 @@ public int getSerializedSize() {
if (gitRefCase_ == 3) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, gitRef_);
}
+ if (invertRegex_ != false) {
+ size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, invertRegex_);
+ }
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
@@ -313,6 +362,7 @@ public boolean equals(final java.lang.Object obj) {
}
com.google.cloudbuild.v1.PushFilter other = (com.google.cloudbuild.v1.PushFilter) obj;
+ if (getInvertRegex() != other.getInvertRegex()) return false;
if (!getGitRefCase().equals(other.getGitRefCase())) return false;
switch (gitRefCase_) {
case 2:
@@ -335,6 +385,8 @@ public int hashCode() {
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (37 * hash) + INVERT_REGEX_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getInvertRegex());
switch (gitRefCase_) {
case 2:
hash = (37 * hash) + BRANCH_FIELD_NUMBER;
@@ -491,6 +543,8 @@ private void maybeForceBuilderInitialization() {
@java.lang.Override
public Builder clear() {
super.clear();
+ invertRegex_ = false;
+
gitRefCase_ = 0;
gitRef_ = null;
return this;
@@ -525,6 +579,7 @@ public com.google.cloudbuild.v1.PushFilter buildPartial() {
if (gitRefCase_ == 3) {
result.gitRef_ = gitRef_;
}
+ result.invertRegex_ = invertRegex_;
result.gitRefCase_ = gitRefCase_;
onBuilt();
return result;
@@ -575,6 +630,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
public Builder mergeFrom(com.google.cloudbuild.v1.PushFilter other) {
if (other == com.google.cloudbuild.v1.PushFilter.getDefaultInstance()) return this;
+ if (other.getInvertRegex() != false) {
+ setInvertRegex(other.getInvertRegex());
+ }
switch (other.getGitRefCase()) {
case BRANCH:
{
@@ -648,6 +706,8 @@ public Builder clearGitRef() {
*
*
* string branch = 2;
+ *
+ * @return The branch.
*/
public java.lang.String getBranch() {
java.lang.Object ref = "";
@@ -675,6 +735,8 @@ public java.lang.String getBranch() {
*
*
* string branch = 2;
+ *
+ * @return The bytes for branch.
*/
public com.google.protobuf.ByteString getBranchBytes() {
java.lang.Object ref = "";
@@ -702,6 +764,9 @@ public com.google.protobuf.ByteString getBranchBytes() {
*
*
* string branch = 2;
+ *
+ * @param value The branch to set.
+ * @return This builder for chaining.
*/
public Builder setBranch(java.lang.String value) {
if (value == null) {
@@ -722,6 +787,8 @@ public Builder setBranch(java.lang.String value) {
*
*
* string branch = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearBranch() {
if (gitRefCase_ == 2) {
@@ -741,6 +808,9 @@ public Builder clearBranch() {
*
*
* string branch = 2;
+ *
+ * @param value The bytes for branch to set.
+ * @return This builder for chaining.
*/
public Builder setBranchBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -763,6 +833,8 @@ public Builder setBranchBytes(com.google.protobuf.ByteString value) {
*
*
* string tag = 3;
+ *
+ * @return The tag.
*/
public java.lang.String getTag() {
java.lang.Object ref = "";
@@ -790,6 +862,8 @@ public java.lang.String getTag() {
*
*
* string tag = 3;
+ *
+ * @return The bytes for tag.
*/
public com.google.protobuf.ByteString getTagBytes() {
java.lang.Object ref = "";
@@ -817,6 +891,9 @@ public com.google.protobuf.ByteString getTagBytes() {
*
*
* string tag = 3;
+ *
+ * @param value The tag to set.
+ * @return This builder for chaining.
*/
public Builder setTag(java.lang.String value) {
if (value == null) {
@@ -837,6 +914,8 @@ public Builder setTag(java.lang.String value) {
*
*
* string tag = 3;
+ *
+ * @return This builder for chaining.
*/
public Builder clearTag() {
if (gitRefCase_ == 3) {
@@ -856,6 +935,9 @@ public Builder clearTag() {
*
*
* string tag = 3;
+ *
+ * @param value The bytes for tag to set.
+ * @return This builder for chaining.
*/
public Builder setTagBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -868,6 +950,60 @@ public Builder setTagBytes(com.google.protobuf.ByteString value) {
return this;
}
+ private boolean invertRegex_;
+ /**
+ *
+ *
+ * + * When true, only trigger a build if the revision regex does NOT match the + * git_ref regex. + *+ * + *
bool invert_regex = 4;
+ *
+ * @return The invertRegex.
+ */
+ public boolean getInvertRegex() {
+ return invertRegex_;
+ }
+ /**
+ *
+ *
+ * + * When true, only trigger a build if the revision regex does NOT match the + * git_ref regex. + *+ * + *
bool invert_regex = 4;
+ *
+ * @param value The invertRegex to set.
+ * @return This builder for chaining.
+ */
+ public Builder setInvertRegex(boolean value) {
+
+ invertRegex_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * When true, only trigger a build if the revision regex does NOT match the + * git_ref regex. + *+ * + *
bool invert_regex = 4;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearInvertRegex() {
+
+ invertRegex_ = false;
+ onChanged();
+ return this;
+ }
+
@java.lang.Override
public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
diff --git a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/PushFilterOrBuilder.java b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/PushFilterOrBuilder.java
index 3dff06f2..4c2e8fe7 100644
--- a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/PushFilterOrBuilder.java
+++ b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/PushFilterOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -33,6 +33,8 @@ public interface PushFilterOrBuilder
*
*
* string branch = 2;
+ *
+ * @return The branch.
*/
java.lang.String getBranch();
/**
@@ -45,6 +47,8 @@ public interface PushFilterOrBuilder
*
*
* string branch = 2;
+ *
+ * @return The bytes for branch.
*/
com.google.protobuf.ByteString getBranchBytes();
@@ -58,6 +62,8 @@ public interface PushFilterOrBuilder
*
*
* string tag = 3;
+ *
+ * @return The tag.
*/
java.lang.String getTag();
/**
@@ -70,8 +76,24 @@ public interface PushFilterOrBuilder
*
*
* string tag = 3;
+ *
+ * @return The bytes for tag.
*/
com.google.protobuf.ByteString getTagBytes();
+ /**
+ *
+ *
+ * + * When true, only trigger a build if the revision regex does NOT match the + * git_ref regex. + *+ * + *
bool invert_regex = 4;
+ *
+ * @return The invertRegex.
+ */
+ boolean getInvertRegex();
+
public com.google.cloudbuild.v1.PushFilter.GitRefCase getGitRefCase();
}
diff --git a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/RepoSource.java b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/RepoSource.java
index cd9c49bc..df1a9d26 100644
--- a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/RepoSource.java
+++ b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/RepoSource.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -43,6 +43,12 @@ private RepoSource() {
dir_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new RepoSource();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -109,6 +115,28 @@ private RepoSource(
dir_ = s;
break;
}
+ case 64:
+ {
+ invertRegex_ = input.readBool();
+ break;
+ }
+ case 74:
+ {
+ if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+ substitutions_ =
+ com.google.protobuf.MapField.newMapField(
+ SubstitutionsDefaultEntryHolder.defaultEntry);
+ mutable_bitField0_ |= 0x00000001;
+ }
+ com.google.protobuf.MapEntrystring project_id = 1;
+ *
+ * @return The projectId.
*/
public java.lang.String getProjectId() {
java.lang.Object ref = projectId_;
@@ -218,6 +266,8 @@ public java.lang.String getProjectId() {
*
*
* string project_id = 1;
+ *
+ * @return The bytes for projectId.
*/
public com.google.protobuf.ByteString getProjectIdBytes() {
java.lang.Object ref = projectId_;
@@ -237,11 +287,12 @@ public com.google.protobuf.ByteString getProjectIdBytes() {
*
*
* - * Name of the Cloud Source Repository. If omitted, the name "default" is - * assumed. + * Required. Name of the Cloud Source Repository. ** *
string repo_name = 2;
+ *
+ * @return The repoName.
*/
public java.lang.String getRepoName() {
java.lang.Object ref = repoName_;
@@ -258,11 +309,12 @@ public java.lang.String getRepoName() {
*
*
* - * Name of the Cloud Source Repository. If omitted, the name "default" is - * assumed. + * Required. Name of the Cloud Source Repository. ** *
string repo_name = 2;
+ *
+ * @return The bytes for repoName.
*/
public com.google.protobuf.ByteString getRepoNameBytes() {
java.lang.Object ref = repoName_;
@@ -287,6 +339,8 @@ public com.google.protobuf.ByteString getRepoNameBytes() {
*
*
* string branch_name = 3;
+ *
+ * @return The branchName.
*/
public java.lang.String getBranchName() {
java.lang.Object ref = "";
@@ -314,6 +368,8 @@ public java.lang.String getBranchName() {
*
*
* string branch_name = 3;
+ *
+ * @return The bytes for branchName.
*/
public com.google.protobuf.ByteString getBranchNameBytes() {
java.lang.Object ref = "";
@@ -343,6 +399,8 @@ public com.google.protobuf.ByteString getBranchNameBytes() {
*
*
* string tag_name = 4;
+ *
+ * @return The tagName.
*/
public java.lang.String getTagName() {
java.lang.Object ref = "";
@@ -370,6 +428,8 @@ public java.lang.String getTagName() {
*
*
* string tag_name = 4;
+ *
+ * @return The bytes for tagName.
*/
public com.google.protobuf.ByteString getTagNameBytes() {
java.lang.Object ref = "";
@@ -397,6 +457,8 @@ public com.google.protobuf.ByteString getTagNameBytes() {
*
*
* string commit_sha = 5;
+ *
+ * @return The commitSha.
*/
public java.lang.String getCommitSha() {
java.lang.Object ref = "";
@@ -422,6 +484,8 @@ public java.lang.String getCommitSha() {
*
*
* string commit_sha = 5;
+ *
+ * @return The bytes for commitSha.
*/
public com.google.protobuf.ByteString getCommitShaBytes() {
java.lang.Object ref = "";
@@ -452,6 +516,8 @@ public com.google.protobuf.ByteString getCommitShaBytes() {
*
*
* string dir = 7;
+ *
+ * @return The dir.
*/
public java.lang.String getDir() {
java.lang.Object ref = dir_;
@@ -474,6 +540,8 @@ public java.lang.String getDir() {
*
*
* string dir = 7;
+ *
+ * @return The bytes for dir.
*/
public com.google.protobuf.ByteString getDirBytes() {
java.lang.Object ref = dir_;
@@ -487,6 +555,124 @@ public com.google.protobuf.ByteString getDirBytes() {
}
}
+ public static final int INVERT_REGEX_FIELD_NUMBER = 8;
+ private boolean invertRegex_;
+ /**
+ *
+ *
+ * + * Only trigger a build if the revision regex does NOT match the revision + * regex. + *+ * + *
bool invert_regex = 8;
+ *
+ * @return The invertRegex.
+ */
+ public boolean getInvertRegex() {
+ return invertRegex_;
+ }
+
+ public static final int SUBSTITUTIONS_FIELD_NUMBER = 9;
+
+ private static final class SubstitutionsDefaultEntryHolder {
+ static final com.google.protobuf.MapEntry+ * Substitutions to use in a triggered build. + * Should only be used with RunBuildTrigger + *+ * + *
map<string, string> substitutions = 9;
+ */
+ public boolean containsSubstitutions(java.lang.String key) {
+ if (key == null) {
+ throw new java.lang.NullPointerException();
+ }
+ return internalGetSubstitutions().getMap().containsKey(key);
+ }
+ /** Use {@link #getSubstitutionsMap()} instead. */
+ @java.lang.Deprecated
+ public java.util.Map+ * Substitutions to use in a triggered build. + * Should only be used with RunBuildTrigger + *+ * + *
map<string, string> substitutions = 9;
+ */
+ public java.util.Map+ * Substitutions to use in a triggered build. + * Should only be used with RunBuildTrigger + *+ * + *
map<string, string> substitutions = 9;
+ */
+ public java.lang.String getSubstitutionsOrDefault(
+ java.lang.String key, java.lang.String defaultValue) {
+ if (key == null) {
+ throw new java.lang.NullPointerException();
+ }
+ java.util.Map+ * Substitutions to use in a triggered build. + * Should only be used with RunBuildTrigger + *+ * + *
map<string, string> substitutions = 9;
+ */
+ public java.lang.String getSubstitutionsOrThrow(java.lang.String key) {
+ if (key == null) {
+ throw new java.lang.NullPointerException();
+ }
+ java.util.Mapstring project_id = 1;
+ *
+ * @return The projectId.
*/
public java.lang.String getProjectId() {
java.lang.Object ref = projectId_;
@@ -964,6 +1211,8 @@ public java.lang.String getProjectId() {
*
*
* string project_id = 1;
+ *
+ * @return The bytes for projectId.
*/
public com.google.protobuf.ByteString getProjectIdBytes() {
java.lang.Object ref = projectId_;
@@ -985,6 +1234,9 @@ public com.google.protobuf.ByteString getProjectIdBytes() {
*
*
* string project_id = 1;
+ *
+ * @param value The projectId to set.
+ * @return This builder for chaining.
*/
public Builder setProjectId(java.lang.String value) {
if (value == null) {
@@ -1004,6 +1256,8 @@ public Builder setProjectId(java.lang.String value) {
*
*
* string project_id = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearProjectId() {
@@ -1020,6 +1274,9 @@ public Builder clearProjectId() {
*
*
* string project_id = 1;
+ *
+ * @param value The bytes for projectId to set.
+ * @return This builder for chaining.
*/
public Builder setProjectIdBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1037,11 +1294,12 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) {
*
*
* - * Name of the Cloud Source Repository. If omitted, the name "default" is - * assumed. + * Required. Name of the Cloud Source Repository. ** *
string repo_name = 2;
+ *
+ * @return The repoName.
*/
public java.lang.String getRepoName() {
java.lang.Object ref = repoName_;
@@ -1058,11 +1316,12 @@ public java.lang.String getRepoName() {
*
*
* - * Name of the Cloud Source Repository. If omitted, the name "default" is - * assumed. + * Required. Name of the Cloud Source Repository. ** *
string repo_name = 2;
+ *
+ * @return The bytes for repoName.
*/
public com.google.protobuf.ByteString getRepoNameBytes() {
java.lang.Object ref = repoName_;
@@ -1079,11 +1338,13 @@ public com.google.protobuf.ByteString getRepoNameBytes() {
*
*
* - * Name of the Cloud Source Repository. If omitted, the name "default" is - * assumed. + * Required. Name of the Cloud Source Repository. ** *
string repo_name = 2;
+ *
+ * @param value The repoName to set.
+ * @return This builder for chaining.
*/
public Builder setRepoName(java.lang.String value) {
if (value == null) {
@@ -1098,11 +1359,12 @@ public Builder setRepoName(java.lang.String value) {
*
*
* - * Name of the Cloud Source Repository. If omitted, the name "default" is - * assumed. + * Required. Name of the Cloud Source Repository. ** *
string repo_name = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearRepoName() {
@@ -1114,11 +1376,13 @@ public Builder clearRepoName() {
*
*
* - * Name of the Cloud Source Repository. If omitted, the name "default" is - * assumed. + * Required. Name of the Cloud Source Repository. ** *
string repo_name = 2;
+ *
+ * @param value The bytes for repoName to set.
+ * @return This builder for chaining.
*/
public Builder setRepoNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1141,6 +1405,8 @@ public Builder setRepoNameBytes(com.google.protobuf.ByteString value) {
*
*
* string branch_name = 3;
+ *
+ * @return The branchName.
*/
public java.lang.String getBranchName() {
java.lang.Object ref = "";
@@ -1168,6 +1434,8 @@ public java.lang.String getBranchName() {
*
*
* string branch_name = 3;
+ *
+ * @return The bytes for branchName.
*/
public com.google.protobuf.ByteString getBranchNameBytes() {
java.lang.Object ref = "";
@@ -1195,6 +1463,9 @@ public com.google.protobuf.ByteString getBranchNameBytes() {
*
*
* string branch_name = 3;
+ *
+ * @param value The branchName to set.
+ * @return This builder for chaining.
*/
public Builder setBranchName(java.lang.String value) {
if (value == null) {
@@ -1215,6 +1486,8 @@ public Builder setBranchName(java.lang.String value) {
*
*
* string branch_name = 3;
+ *
+ * @return This builder for chaining.
*/
public Builder clearBranchName() {
if (revisionCase_ == 3) {
@@ -1234,6 +1507,9 @@ public Builder clearBranchName() {
*
*
* string branch_name = 3;
+ *
+ * @param value The bytes for branchName to set.
+ * @return This builder for chaining.
*/
public Builder setBranchNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1256,6 +1532,8 @@ public Builder setBranchNameBytes(com.google.protobuf.ByteString value) {
*
*
* string tag_name = 4;
+ *
+ * @return The tagName.
*/
public java.lang.String getTagName() {
java.lang.Object ref = "";
@@ -1283,6 +1561,8 @@ public java.lang.String getTagName() {
*
*
* string tag_name = 4;
+ *
+ * @return The bytes for tagName.
*/
public com.google.protobuf.ByteString getTagNameBytes() {
java.lang.Object ref = "";
@@ -1310,6 +1590,9 @@ public com.google.protobuf.ByteString getTagNameBytes() {
*
*
* string tag_name = 4;
+ *
+ * @param value The tagName to set.
+ * @return This builder for chaining.
*/
public Builder setTagName(java.lang.String value) {
if (value == null) {
@@ -1330,6 +1613,8 @@ public Builder setTagName(java.lang.String value) {
*
*
* string tag_name = 4;
+ *
+ * @return This builder for chaining.
*/
public Builder clearTagName() {
if (revisionCase_ == 4) {
@@ -1349,6 +1634,9 @@ public Builder clearTagName() {
*
*
* string tag_name = 4;
+ *
+ * @param value The bytes for tagName to set.
+ * @return This builder for chaining.
*/
public Builder setTagNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1369,6 +1657,8 @@ public Builder setTagNameBytes(com.google.protobuf.ByteString value) {
*
*
* string commit_sha = 5;
+ *
+ * @return The commitSha.
*/
public java.lang.String getCommitSha() {
java.lang.Object ref = "";
@@ -1394,6 +1684,8 @@ public java.lang.String getCommitSha() {
*
*
* string commit_sha = 5;
+ *
+ * @return The bytes for commitSha.
*/
public com.google.protobuf.ByteString getCommitShaBytes() {
java.lang.Object ref = "";
@@ -1419,6 +1711,9 @@ public com.google.protobuf.ByteString getCommitShaBytes() {
*
*
* string commit_sha = 5;
+ *
+ * @param value The commitSha to set.
+ * @return This builder for chaining.
*/
public Builder setCommitSha(java.lang.String value) {
if (value == null) {
@@ -1437,6 +1732,8 @@ public Builder setCommitSha(java.lang.String value) {
*
*
* string commit_sha = 5;
+ *
+ * @return This builder for chaining.
*/
public Builder clearCommitSha() {
if (revisionCase_ == 5) {
@@ -1454,6 +1751,9 @@ public Builder clearCommitSha() {
*
*
* string commit_sha = 5;
+ *
+ * @param value The bytes for commitSha to set.
+ * @return This builder for chaining.
*/
public Builder setCommitShaBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1477,6 +1777,8 @@ public Builder setCommitShaBytes(com.google.protobuf.ByteString value) {
*
*
* string dir = 7;
+ *
+ * @return The dir.
*/
public java.lang.String getDir() {
java.lang.Object ref = dir_;
@@ -1499,6 +1801,8 @@ public java.lang.String getDir() {
*
*
* string dir = 7;
+ *
+ * @return The bytes for dir.
*/
public com.google.protobuf.ByteString getDirBytes() {
java.lang.Object ref = dir_;
@@ -1521,6 +1825,9 @@ public com.google.protobuf.ByteString getDirBytes() {
*
*
* string dir = 7;
+ *
+ * @param value The dir to set.
+ * @return This builder for chaining.
*/
public Builder setDir(java.lang.String value) {
if (value == null) {
@@ -1541,6 +1848,8 @@ public Builder setDir(java.lang.String value) {
*
*
* string dir = 7;
+ *
+ * @return This builder for chaining.
*/
public Builder clearDir() {
@@ -1558,6 +1867,9 @@ public Builder clearDir() {
*
*
* string dir = 7;
+ *
+ * @param value The bytes for dir to set.
+ * @return This builder for chaining.
*/
public Builder setDirBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1570,6 +1882,222 @@ public Builder setDirBytes(com.google.protobuf.ByteString value) {
return this;
}
+ private boolean invertRegex_;
+ /**
+ *
+ *
+ * + * Only trigger a build if the revision regex does NOT match the revision + * regex. + *+ * + *
bool invert_regex = 8;
+ *
+ * @return The invertRegex.
+ */
+ public boolean getInvertRegex() {
+ return invertRegex_;
+ }
+ /**
+ *
+ *
+ * + * Only trigger a build if the revision regex does NOT match the revision + * regex. + *+ * + *
bool invert_regex = 8;
+ *
+ * @param value The invertRegex to set.
+ * @return This builder for chaining.
+ */
+ public Builder setInvertRegex(boolean value) {
+
+ invertRegex_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Only trigger a build if the revision regex does NOT match the revision + * regex. + *+ * + *
bool invert_regex = 8;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearInvertRegex() {
+
+ invertRegex_ = false;
+ onChanged();
+ return this;
+ }
+
+ private com.google.protobuf.MapField+ * Substitutions to use in a triggered build. + * Should only be used with RunBuildTrigger + *+ * + *
map<string, string> substitutions = 9;
+ */
+ public boolean containsSubstitutions(java.lang.String key) {
+ if (key == null) {
+ throw new java.lang.NullPointerException();
+ }
+ return internalGetSubstitutions().getMap().containsKey(key);
+ }
+ /** Use {@link #getSubstitutionsMap()} instead. */
+ @java.lang.Deprecated
+ public java.util.Map+ * Substitutions to use in a triggered build. + * Should only be used with RunBuildTrigger + *+ * + *
map<string, string> substitutions = 9;
+ */
+ public java.util.Map+ * Substitutions to use in a triggered build. + * Should only be used with RunBuildTrigger + *+ * + *
map<string, string> substitutions = 9;
+ */
+ public java.lang.String getSubstitutionsOrDefault(
+ java.lang.String key, java.lang.String defaultValue) {
+ if (key == null) {
+ throw new java.lang.NullPointerException();
+ }
+ java.util.Map+ * Substitutions to use in a triggered build. + * Should only be used with RunBuildTrigger + *+ * + *
map<string, string> substitutions = 9;
+ */
+ public java.lang.String getSubstitutionsOrThrow(java.lang.String key) {
+ if (key == null) {
+ throw new java.lang.NullPointerException();
+ }
+ java.util.Map+ * Substitutions to use in a triggered build. + * Should only be used with RunBuildTrigger + *+ * + *
map<string, string> substitutions = 9;
+ */
+ public Builder removeSubstitutions(java.lang.String key) {
+ if (key == null) {
+ throw new java.lang.NullPointerException();
+ }
+ internalGetMutableSubstitutions().getMutableMap().remove(key);
+ return this;
+ }
+ /** Use alternate mutation accessors instead. */
+ @java.lang.Deprecated
+ public java.util.Map+ * Substitutions to use in a triggered build. + * Should only be used with RunBuildTrigger + *+ * + *
map<string, string> substitutions = 9;
+ */
+ public Builder putSubstitutions(java.lang.String key, java.lang.String value) {
+ if (key == null) {
+ throw new java.lang.NullPointerException();
+ }
+ if (value == null) {
+ throw new java.lang.NullPointerException();
+ }
+ internalGetMutableSubstitutions().getMutableMap().put(key, value);
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Substitutions to use in a triggered build. + * Should only be used with RunBuildTrigger + *+ * + *
map<string, string> substitutions = 9;
+ */
+ public Builder putAllSubstitutions(java.util.Mapstring project_id = 1;
+ *
+ * @return The projectId.
*/
java.lang.String getProjectId();
/**
@@ -43,6 +45,8 @@ public interface RepoSourceOrBuilder
*
*
* string project_id = 1;
+ *
+ * @return The bytes for projectId.
*/
com.google.protobuf.ByteString getProjectIdBytes();
@@ -50,22 +54,24 @@ public interface RepoSourceOrBuilder
*
*
* - * Name of the Cloud Source Repository. If omitted, the name "default" is - * assumed. + * Required. Name of the Cloud Source Repository. ** *
string repo_name = 2;
+ *
+ * @return The repoName.
*/
java.lang.String getRepoName();
/**
*
*
* - * Name of the Cloud Source Repository. If omitted, the name "default" is - * assumed. + * Required. Name of the Cloud Source Repository. ** *
string repo_name = 2;
+ *
+ * @return The bytes for repoName.
*/
com.google.protobuf.ByteString getRepoNameBytes();
@@ -79,6 +85,8 @@ public interface RepoSourceOrBuilder
*
*
* string branch_name = 3;
+ *
+ * @return The branchName.
*/
java.lang.String getBranchName();
/**
@@ -91,6 +99,8 @@ public interface RepoSourceOrBuilder
*
*
* string branch_name = 3;
+ *
+ * @return The bytes for branchName.
*/
com.google.protobuf.ByteString getBranchNameBytes();
@@ -104,6 +114,8 @@ public interface RepoSourceOrBuilder
*
*
* string tag_name = 4;
+ *
+ * @return The tagName.
*/
java.lang.String getTagName();
/**
@@ -116,6 +128,8 @@ public interface RepoSourceOrBuilder
*
*
* string tag_name = 4;
+ *
+ * @return The bytes for tagName.
*/
com.google.protobuf.ByteString getTagNameBytes();
@@ -127,6 +141,8 @@ public interface RepoSourceOrBuilder
*
*
* string commit_sha = 5;
+ *
+ * @return The commitSha.
*/
java.lang.String getCommitSha();
/**
@@ -137,6 +153,8 @@ public interface RepoSourceOrBuilder
*
*
* string commit_sha = 5;
+ *
+ * @return The bytes for commitSha.
*/
com.google.protobuf.ByteString getCommitShaBytes();
@@ -150,6 +168,8 @@ public interface RepoSourceOrBuilder
*
*
* string dir = 7;
+ *
+ * @return The dir.
*/
java.lang.String getDir();
/**
@@ -162,8 +182,83 @@ public interface RepoSourceOrBuilder
*
*
* string dir = 7;
+ *
+ * @return The bytes for dir.
*/
com.google.protobuf.ByteString getDirBytes();
+ /**
+ *
+ *
+ * + * Only trigger a build if the revision regex does NOT match the revision + * regex. + *+ * + *
bool invert_regex = 8;
+ *
+ * @return The invertRegex.
+ */
+ boolean getInvertRegex();
+
+ /**
+ *
+ *
+ * + * Substitutions to use in a triggered build. + * Should only be used with RunBuildTrigger + *+ * + *
map<string, string> substitutions = 9;
+ */
+ int getSubstitutionsCount();
+ /**
+ *
+ *
+ * + * Substitutions to use in a triggered build. + * Should only be used with RunBuildTrigger + *+ * + *
map<string, string> substitutions = 9;
+ */
+ boolean containsSubstitutions(java.lang.String key);
+ /** Use {@link #getSubstitutionsMap()} instead. */
+ @java.lang.Deprecated
+ java.util.Map+ * Substitutions to use in a triggered build. + * Should only be used with RunBuildTrigger + *+ * + *
map<string, string> substitutions = 9;
+ */
+ java.util.Map+ * Substitutions to use in a triggered build. + * Should only be used with RunBuildTrigger + *+ * + *
map<string, string> substitutions = 9;
+ */
+ java.lang.String getSubstitutionsOrDefault(java.lang.String key, java.lang.String defaultValue);
+ /**
+ *
+ *
+ * + * Substitutions to use in a triggered build. + * Should only be used with RunBuildTrigger + *+ * + *
map<string, string> substitutions = 9;
+ */
+ java.lang.String getSubstitutionsOrThrow(java.lang.String key);
+
public com.google.cloudbuild.v1.RepoSource.RevisionCase getRevisionCase();
}
diff --git a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/Results.java b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/Results.java
index 1aa2f6a0..f84926c1 100644
--- a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/Results.java
+++ b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/Results.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -44,6 +44,12 @@ private Results() {
buildStepOutputs_ = java.util.Collections.emptyList();
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new Results();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -103,9 +109,9 @@ private Results(
}
case 50:
{
- if (!((mutable_bitField0_ & 0x00000010) != 0)) {
+ if (!((mutable_bitField0_ & 0x00000004) != 0)) {
buildStepOutputs_ = new java.util.ArrayListrepeated string build_step_images = 3;
+ *
+ * @return A list containing the buildStepImages.
*/
public com.google.protobuf.ProtocolStringList getBuildStepImagesList() {
return buildStepImages_;
@@ -256,6 +263,8 @@ public com.google.protobuf.ProtocolStringList getBuildStepImagesList() {
*
*
* repeated string build_step_images = 3;
+ *
+ * @return The count of buildStepImages.
*/
public int getBuildStepImagesCount() {
return buildStepImages_.size();
@@ -269,6 +278,9 @@ public int getBuildStepImagesCount() {
*
*
* repeated string build_step_images = 3;
+ *
+ * @param index The index of the element to return.
+ * @return The buildStepImages at the given index.
*/
public java.lang.String getBuildStepImages(int index) {
return buildStepImages_.get(index);
@@ -282,6 +294,9 @@ public java.lang.String getBuildStepImages(int index) {
*
*
* repeated string build_step_images = 3;
+ *
+ * @param index The index of the value to return.
+ * @return The bytes of the buildStepImages at the given index.
*/
public com.google.protobuf.ByteString getBuildStepImagesBytes(int index) {
return buildStepImages_.getByteString(index);
@@ -297,6 +312,8 @@ public com.google.protobuf.ByteString getBuildStepImagesBytes(int index) {
*
*
* string artifact_manifest = 4;
+ *
+ * @return The artifactManifest.
*/
public java.lang.String getArtifactManifest() {
java.lang.Object ref = artifactManifest_;
@@ -317,6 +334,8 @@ public java.lang.String getArtifactManifest() {
*
*
* string artifact_manifest = 4;
+ *
+ * @return The bytes for artifactManifest.
*/
public com.google.protobuf.ByteString getArtifactManifestBytes() {
java.lang.Object ref = artifactManifest_;
@@ -340,6 +359,8 @@ public com.google.protobuf.ByteString getArtifactManifestBytes() {
*
*
* int64 num_artifacts = 5;
+ *
+ * @return The numArtifacts.
*/
public long getNumArtifacts() {
return numArtifacts_;
@@ -359,6 +380,8 @@ public long getNumArtifacts() {
*
*
* repeated bytes build_step_outputs = 6;
+ *
+ * @return A list containing the buildStepOutputs.
*/
public java.util.Listrepeated bytes build_step_outputs = 6;
+ *
+ * @return The count of buildStepOutputs.
*/
public int getBuildStepOutputsCount() {
return buildStepOutputs_.size();
@@ -391,6 +416,9 @@ public int getBuildStepOutputsCount() {
*
*
* repeated bytes build_step_outputs = 6;
+ *
+ * @param index The index of the element to return.
+ * @return The buildStepOutputs at the given index.
*/
public com.google.protobuf.ByteString getBuildStepOutputs(int index) {
return buildStepOutputs_.get(index);
@@ -406,6 +434,8 @@ public com.google.protobuf.ByteString getBuildStepOutputs(int index) {
*
*
* .google.devtools.cloudbuild.v1.TimeSpan artifact_timing = 7;
+ *
+ * @return Whether the artifactTiming field is set.
*/
public boolean hasArtifactTiming() {
return artifactTiming_ != null;
@@ -418,6 +448,8 @@ public boolean hasArtifactTiming() {
*
*
* .google.devtools.cloudbuild.v1.TimeSpan artifact_timing = 7;
+ *
+ * @return The artifactTiming.
*/
public com.google.cloudbuild.v1.TimeSpan getArtifactTiming() {
return artifactTiming_ == null
@@ -721,7 +753,7 @@ public Builder clear() {
numArtifacts_ = 0L;
buildStepOutputs_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000010);
+ bitField0_ = (bitField0_ & ~0x00000004);
if (artifactTimingBuilder_ == null) {
artifactTiming_ = null;
} else {
@@ -755,7 +787,6 @@ public com.google.cloudbuild.v1.Results build() {
public com.google.cloudbuild.v1.Results buildPartial() {
com.google.cloudbuild.v1.Results result = new com.google.cloudbuild.v1.Results(this);
int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
if (imagesBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
images_ = java.util.Collections.unmodifiableList(images_);
@@ -772,9 +803,9 @@ public com.google.cloudbuild.v1.Results buildPartial() {
result.buildStepImages_ = buildStepImages_;
result.artifactManifest_ = artifactManifest_;
result.numArtifacts_ = numArtifacts_;
- if (((bitField0_ & 0x00000010) != 0)) {
+ if (((bitField0_ & 0x00000004) != 0)) {
buildStepOutputs_ = java.util.Collections.unmodifiableList(buildStepOutputs_);
- bitField0_ = (bitField0_ & ~0x00000010);
+ bitField0_ = (bitField0_ & ~0x00000004);
}
result.buildStepOutputs_ = buildStepOutputs_;
if (artifactTimingBuilder_ == null) {
@@ -782,7 +813,6 @@ public com.google.cloudbuild.v1.Results buildPartial() {
} else {
result.artifactTiming_ = artifactTimingBuilder_.build();
}
- result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@@ -879,7 +909,7 @@ public Builder mergeFrom(com.google.cloudbuild.v1.Results other) {
if (!other.buildStepOutputs_.isEmpty()) {
if (buildStepOutputs_.isEmpty()) {
buildStepOutputs_ = other.buildStepOutputs_;
- bitField0_ = (bitField0_ & ~0x00000010);
+ bitField0_ = (bitField0_ & ~0x00000004);
} else {
ensureBuildStepOutputsIsMutable();
buildStepOutputs_.addAll(other.buildStepOutputs_);
@@ -1286,6 +1316,8 @@ private void ensureBuildStepImagesIsMutable() {
*
*
* repeated string build_step_images = 3;
+ *
+ * @return A list containing the buildStepImages.
*/
public com.google.protobuf.ProtocolStringList getBuildStepImagesList() {
return buildStepImages_.getUnmodifiableView();
@@ -1299,6 +1331,8 @@ public com.google.protobuf.ProtocolStringList getBuildStepImagesList() {
*
*
* repeated string build_step_images = 3;
+ *
+ * @return The count of buildStepImages.
*/
public int getBuildStepImagesCount() {
return buildStepImages_.size();
@@ -1312,6 +1346,9 @@ public int getBuildStepImagesCount() {
*
*
* repeated string build_step_images = 3;
+ *
+ * @param index The index of the element to return.
+ * @return The buildStepImages at the given index.
*/
public java.lang.String getBuildStepImages(int index) {
return buildStepImages_.get(index);
@@ -1325,6 +1362,9 @@ public java.lang.String getBuildStepImages(int index) {
*
*
* repeated string build_step_images = 3;
+ *
+ * @param index The index of the value to return.
+ * @return The bytes of the buildStepImages at the given index.
*/
public com.google.protobuf.ByteString getBuildStepImagesBytes(int index) {
return buildStepImages_.getByteString(index);
@@ -1338,6 +1378,10 @@ public com.google.protobuf.ByteString getBuildStepImagesBytes(int index) {
*
*
* repeated string build_step_images = 3;
+ *
+ * @param index The index to set the value at.
+ * @param value The buildStepImages to set.
+ * @return This builder for chaining.
*/
public Builder setBuildStepImages(int index, java.lang.String value) {
if (value == null) {
@@ -1357,6 +1401,9 @@ public Builder setBuildStepImages(int index, java.lang.String value) {
*
*
* repeated string build_step_images = 3;
+ *
+ * @param value The buildStepImages to add.
+ * @return This builder for chaining.
*/
public Builder addBuildStepImages(java.lang.String value) {
if (value == null) {
@@ -1376,6 +1423,9 @@ public Builder addBuildStepImages(java.lang.String value) {
*
*
* repeated string build_step_images = 3;
+ *
+ * @param values The buildStepImages to add.
+ * @return This builder for chaining.
*/
public Builder addAllBuildStepImages(java.lang.Iterablerepeated string build_step_images = 3;
+ *
+ * @return This builder for chaining.
*/
public Builder clearBuildStepImages() {
buildStepImages_ = com.google.protobuf.LazyStringArrayList.EMPTY;
@@ -1408,6 +1460,9 @@ public Builder clearBuildStepImages() {
*
*
* repeated string build_step_images = 3;
+ *
+ * @param value The bytes of the buildStepImages to add.
+ * @return This builder for chaining.
*/
public Builder addBuildStepImagesBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1429,6 +1484,8 @@ public Builder addBuildStepImagesBytes(com.google.protobuf.ByteString value) {
*
*
* string artifact_manifest = 4;
+ *
+ * @return The artifactManifest.
*/
public java.lang.String getArtifactManifest() {
java.lang.Object ref = artifactManifest_;
@@ -1449,6 +1506,8 @@ public java.lang.String getArtifactManifest() {
*
*
* string artifact_manifest = 4;
+ *
+ * @return The bytes for artifactManifest.
*/
public com.google.protobuf.ByteString getArtifactManifestBytes() {
java.lang.Object ref = artifactManifest_;
@@ -1469,6 +1528,9 @@ public com.google.protobuf.ByteString getArtifactManifestBytes() {
*
*
* string artifact_manifest = 4;
+ *
+ * @param value The artifactManifest to set.
+ * @return This builder for chaining.
*/
public Builder setArtifactManifest(java.lang.String value) {
if (value == null) {
@@ -1487,6 +1549,8 @@ public Builder setArtifactManifest(java.lang.String value) {
*
*
* string artifact_manifest = 4;
+ *
+ * @return This builder for chaining.
*/
public Builder clearArtifactManifest() {
@@ -1502,6 +1566,9 @@ public Builder clearArtifactManifest() {
*
*
* string artifact_manifest = 4;
+ *
+ * @param value The bytes for artifactManifest to set.
+ * @return This builder for chaining.
*/
public Builder setArtifactManifestBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1523,6 +1590,8 @@ public Builder setArtifactManifestBytes(com.google.protobuf.ByteString value) {
*
*
* int64 num_artifacts = 5;
+ *
+ * @return The numArtifacts.
*/
public long getNumArtifacts() {
return numArtifacts_;
@@ -1535,6 +1604,9 @@ public long getNumArtifacts() {
*
*
* int64 num_artifacts = 5;
+ *
+ * @param value The numArtifacts to set.
+ * @return This builder for chaining.
*/
public Builder setNumArtifacts(long value) {
@@ -1550,6 +1622,8 @@ public Builder setNumArtifacts(long value) {
*
*
* int64 num_artifacts = 5;
+ *
+ * @return This builder for chaining.
*/
public Builder clearNumArtifacts() {
@@ -1562,10 +1636,10 @@ public Builder clearNumArtifacts() {
java.util.Collections.emptyList();
private void ensureBuildStepOutputsIsMutable() {
- if (!((bitField0_ & 0x00000010) != 0)) {
+ if (!((bitField0_ & 0x00000004) != 0)) {
buildStepOutputs_ =
new java.util.ArrayListrepeated bytes build_step_outputs = 6;
+ *
+ * @return A list containing the buildStepOutputs.
*/
public java.util.Listrepeated bytes build_step_outputs = 6;
+ *
+ * @return The count of buildStepOutputs.
*/
public int getBuildStepOutputsCount() {
return buildStepOutputs_.size();
@@ -1614,6 +1692,9 @@ public int getBuildStepOutputsCount() {
*
*
* repeated bytes build_step_outputs = 6;
+ *
+ * @param index The index of the element to return.
+ * @return The buildStepOutputs at the given index.
*/
public com.google.protobuf.ByteString getBuildStepOutputs(int index) {
return buildStepOutputs_.get(index);
@@ -1630,6 +1711,10 @@ public com.google.protobuf.ByteString getBuildStepOutputs(int index) {
*
*
* repeated bytes build_step_outputs = 6;
+ *
+ * @param index The index to set the value at.
+ * @param value The buildStepOutputs to set.
+ * @return This builder for chaining.
*/
public Builder setBuildStepOutputs(int index, com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1652,6 +1737,9 @@ public Builder setBuildStepOutputs(int index, com.google.protobuf.ByteString val
*
*
* repeated bytes build_step_outputs = 6;
+ *
+ * @param value The buildStepOutputs to add.
+ * @return This builder for chaining.
*/
public Builder addBuildStepOutputs(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1674,6 +1762,9 @@ public Builder addBuildStepOutputs(com.google.protobuf.ByteString value) {
*
*
* repeated bytes build_step_outputs = 6;
+ *
+ * @param values The buildStepOutputs to add.
+ * @return This builder for chaining.
*/
public Builder addAllBuildStepOutputs(
java.lang.Iterable extends com.google.protobuf.ByteString> values) {
@@ -1694,10 +1785,12 @@ public Builder addAllBuildStepOutputs(
*
*
* repeated bytes build_step_outputs = 6;
+ *
+ * @return This builder for chaining.
*/
public Builder clearBuildStepOutputs() {
buildStepOutputs_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000010);
+ bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
@@ -1716,6 +1809,8 @@ public Builder clearBuildStepOutputs() {
*
*
* .google.devtools.cloudbuild.v1.TimeSpan artifact_timing = 7;
+ *
+ * @return Whether the artifactTiming field is set.
*/
public boolean hasArtifactTiming() {
return artifactTimingBuilder_ != null || artifactTiming_ != null;
@@ -1728,6 +1823,8 @@ public boolean hasArtifactTiming() {
*
*
* .google.devtools.cloudbuild.v1.TimeSpan artifact_timing = 7;
+ *
+ * @return The artifactTiming.
*/
public com.google.cloudbuild.v1.TimeSpan getArtifactTiming() {
if (artifactTimingBuilder_ == null) {
diff --git a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/ResultsOrBuilder.java b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/ResultsOrBuilder.java
index f75bb0dc..42c21510 100644
--- a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/ResultsOrBuilder.java
+++ b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/ResultsOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -83,6 +83,8 @@ public interface ResultsOrBuilder
*
*
* repeated string build_step_images = 3;
+ *
+ * @return A list containing the buildStepImages.
*/
java.util.Listrepeated string build_step_images = 3;
+ *
+ * @return The count of buildStepImages.
*/
int getBuildStepImagesCount();
/**
@@ -105,6 +109,9 @@ public interface ResultsOrBuilder
*
*
* repeated string build_step_images = 3;
+ *
+ * @param index The index of the element to return.
+ * @return The buildStepImages at the given index.
*/
java.lang.String getBuildStepImages(int index);
/**
@@ -116,6 +123,9 @@ public interface ResultsOrBuilder
*
*
* repeated string build_step_images = 3;
+ *
+ * @param index The index of the value to return.
+ * @return The bytes of the buildStepImages at the given index.
*/
com.google.protobuf.ByteString getBuildStepImagesBytes(int index);
@@ -127,6 +137,8 @@ public interface ResultsOrBuilder
*
*
* string artifact_manifest = 4;
+ *
+ * @return The artifactManifest.
*/
java.lang.String getArtifactManifest();
/**
@@ -137,6 +149,8 @@ public interface ResultsOrBuilder
*
*
* string artifact_manifest = 4;
+ *
+ * @return The bytes for artifactManifest.
*/
com.google.protobuf.ByteString getArtifactManifestBytes();
@@ -148,6 +162,8 @@ public interface ResultsOrBuilder
*
*
* int64 num_artifacts = 5;
+ *
+ * @return The numArtifacts.
*/
long getNumArtifacts();
@@ -163,6 +179,8 @@ public interface ResultsOrBuilder
*
*
* repeated bytes build_step_outputs = 6;
+ *
+ * @return A list containing the buildStepOutputs.
*/
java.util.Listrepeated bytes build_step_outputs = 6;
+ *
+ * @return The count of buildStepOutputs.
*/
int getBuildStepOutputsCount();
/**
@@ -191,6 +211,9 @@ public interface ResultsOrBuilder
*
*
* repeated bytes build_step_outputs = 6;
+ *
+ * @param index The index of the element to return.
+ * @return The buildStepOutputs at the given index.
*/
com.google.protobuf.ByteString getBuildStepOutputs(int index);
@@ -202,6 +225,8 @@ public interface ResultsOrBuilder
*
*
* .google.devtools.cloudbuild.v1.TimeSpan artifact_timing = 7;
+ *
+ * @return Whether the artifactTiming field is set.
*/
boolean hasArtifactTiming();
/**
@@ -212,6 +237,8 @@ public interface ResultsOrBuilder
*
*
* .google.devtools.cloudbuild.v1.TimeSpan artifact_timing = 7;
+ *
+ * @return The artifactTiming.
*/
com.google.cloudbuild.v1.TimeSpan getArtifactTiming();
/**
diff --git a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/RetryBuildRequest.java b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/RetryBuildRequest.java
index adb91d31..85dd18f3 100644
--- a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/RetryBuildRequest.java
+++ b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/RetryBuildRequest.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -42,6 +42,12 @@ private RetryBuildRequest() {
id_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new RetryBuildRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -55,7 +61,6 @@ private RetryBuildRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -124,6 +129,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The projectId.
*/
public java.lang.String getProjectId() {
java.lang.Object ref = projectId_;
@@ -144,6 +151,8 @@ public java.lang.String getProjectId() {
*
*
* string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The bytes for projectId.
*/
public com.google.protobuf.ByteString getProjectIdBytes() {
java.lang.Object ref = projectId_;
@@ -167,6 +176,8 @@ public com.google.protobuf.ByteString getProjectIdBytes() {
*
*
* string id = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The id.
*/
public java.lang.String getId() {
java.lang.Object ref = id_;
@@ -187,6 +198,8 @@ public java.lang.String getId() {
*
*
* string id = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The bytes for id.
*/
public com.google.protobuf.ByteString getIdBytes() {
java.lang.Object ref = id_;
@@ -541,6 +554,8 @@ public Builder mergeFrom(
*
*
* string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The projectId.
*/
public java.lang.String getProjectId() {
java.lang.Object ref = projectId_;
@@ -561,6 +576,8 @@ public java.lang.String getProjectId() {
*
*
* string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The bytes for projectId.
*/
public com.google.protobuf.ByteString getProjectIdBytes() {
java.lang.Object ref = projectId_;
@@ -581,6 +598,9 @@ public com.google.protobuf.ByteString getProjectIdBytes() {
*
*
* string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @param value The projectId to set.
+ * @return This builder for chaining.
*/
public Builder setProjectId(java.lang.String value) {
if (value == null) {
@@ -599,6 +619,8 @@ public Builder setProjectId(java.lang.String value) {
*
*
* string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return This builder for chaining.
*/
public Builder clearProjectId() {
@@ -614,6 +636,9 @@ public Builder clearProjectId() {
*
*
* string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @param value The bytes for projectId to set.
+ * @return This builder for chaining.
*/
public Builder setProjectIdBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -635,6 +660,8 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) {
*
*
* string id = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The id.
*/
public java.lang.String getId() {
java.lang.Object ref = id_;
@@ -655,6 +682,8 @@ public java.lang.String getId() {
*
*
* string id = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The bytes for id.
*/
public com.google.protobuf.ByteString getIdBytes() {
java.lang.Object ref = id_;
@@ -675,6 +704,9 @@ public com.google.protobuf.ByteString getIdBytes() {
*
*
* string id = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @param value The id to set.
+ * @return This builder for chaining.
*/
public Builder setId(java.lang.String value) {
if (value == null) {
@@ -693,6 +725,8 @@ public Builder setId(java.lang.String value) {
*
*
* string id = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return This builder for chaining.
*/
public Builder clearId() {
@@ -708,6 +742,9 @@ public Builder clearId() {
*
*
* string id = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @param value The bytes for id to set.
+ * @return This builder for chaining.
*/
public Builder setIdBytes(com.google.protobuf.ByteString value) {
if (value == null) {
diff --git a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/RetryBuildRequestOrBuilder.java b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/RetryBuildRequestOrBuilder.java
index 0350dd01..8162577d 100644
--- a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/RetryBuildRequestOrBuilder.java
+++ b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/RetryBuildRequestOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -31,6 +31,8 @@ public interface RetryBuildRequestOrBuilder
*
*
* string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The projectId.
*/
java.lang.String getProjectId();
/**
@@ -41,6 +43,8 @@ public interface RetryBuildRequestOrBuilder
*
*
* string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The bytes for projectId.
*/
com.google.protobuf.ByteString getProjectIdBytes();
@@ -52,6 +56,8 @@ public interface RetryBuildRequestOrBuilder
*
*
* string id = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The id.
*/
java.lang.String getId();
/**
@@ -62,6 +68,8 @@ public interface RetryBuildRequestOrBuilder
*
*
* string id = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The bytes for id.
*/
com.google.protobuf.ByteString getIdBytes();
}
diff --git a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/RunBuildTriggerRequest.java b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/RunBuildTriggerRequest.java
index 40bb59b1..3c440f67 100644
--- a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/RunBuildTriggerRequest.java
+++ b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/RunBuildTriggerRequest.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -42,6 +42,12 @@ private RunBuildTriggerRequest() {
triggerId_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new RunBuildTriggerRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -55,7 +61,6 @@ private RunBuildTriggerRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -140,6 +145,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The projectId.
*/
public java.lang.String getProjectId() {
java.lang.Object ref = projectId_;
@@ -160,6 +167,8 @@ public java.lang.String getProjectId() {
*
*
* string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The bytes for projectId.
*/
public com.google.protobuf.ByteString getProjectIdBytes() {
java.lang.Object ref = projectId_;
@@ -183,6 +192,8 @@ public com.google.protobuf.ByteString getProjectIdBytes() {
*
*
* string trigger_id = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The triggerId.
*/
public java.lang.String getTriggerId() {
java.lang.Object ref = triggerId_;
@@ -203,6 +214,8 @@ public java.lang.String getTriggerId() {
*
*
* string trigger_id = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The bytes for triggerId.
*/
public com.google.protobuf.ByteString getTriggerIdBytes() {
java.lang.Object ref = triggerId_;
@@ -228,6 +241,8 @@ public com.google.protobuf.ByteString getTriggerIdBytes() {
*
* .google.devtools.cloudbuild.v1.RepoSource source = 3 [(.google.api.field_behavior) = REQUIRED];
*
+ *
+ * @return Whether the source field is set.
*/
public boolean hasSource() {
return source_ != null;
@@ -242,6 +257,8 @@ public boolean hasSource() {
*
* .google.devtools.cloudbuild.v1.RepoSource source = 3 [(.google.api.field_behavior) = REQUIRED];
*
+ *
+ * @return The source.
*/
public com.google.cloudbuild.v1.RepoSource getSource() {
return source_ == null ? com.google.cloudbuild.v1.RepoSource.getDefaultInstance() : source_;
@@ -631,6 +648,8 @@ public Builder mergeFrom(
*
*
* string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The projectId.
*/
public java.lang.String getProjectId() {
java.lang.Object ref = projectId_;
@@ -651,6 +670,8 @@ public java.lang.String getProjectId() {
*
*
* string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The bytes for projectId.
*/
public com.google.protobuf.ByteString getProjectIdBytes() {
java.lang.Object ref = projectId_;
@@ -671,6 +692,9 @@ public com.google.protobuf.ByteString getProjectIdBytes() {
*
*
* string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @param value The projectId to set.
+ * @return This builder for chaining.
*/
public Builder setProjectId(java.lang.String value) {
if (value == null) {
@@ -689,6 +713,8 @@ public Builder setProjectId(java.lang.String value) {
*
*
* string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return This builder for chaining.
*/
public Builder clearProjectId() {
@@ -704,6 +730,9 @@ public Builder clearProjectId() {
*
*
* string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @param value The bytes for projectId to set.
+ * @return This builder for chaining.
*/
public Builder setProjectIdBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -725,6 +754,8 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) {
*
*
* string trigger_id = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The triggerId.
*/
public java.lang.String getTriggerId() {
java.lang.Object ref = triggerId_;
@@ -745,6 +776,8 @@ public java.lang.String getTriggerId() {
*
*
* string trigger_id = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The bytes for triggerId.
*/
public com.google.protobuf.ByteString getTriggerIdBytes() {
java.lang.Object ref = triggerId_;
@@ -765,6 +798,9 @@ public com.google.protobuf.ByteString getTriggerIdBytes() {
*
*
* string trigger_id = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @param value The triggerId to set.
+ * @return This builder for chaining.
*/
public Builder setTriggerId(java.lang.String value) {
if (value == null) {
@@ -783,6 +819,8 @@ public Builder setTriggerId(java.lang.String value) {
*
*
* string trigger_id = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return This builder for chaining.
*/
public Builder clearTriggerId() {
@@ -798,6 +836,9 @@ public Builder clearTriggerId() {
*
*
* string trigger_id = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @param value The bytes for triggerId to set.
+ * @return This builder for chaining.
*/
public Builder setTriggerIdBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -826,6 +867,8 @@ public Builder setTriggerIdBytes(com.google.protobuf.ByteString value) {
*
* .google.devtools.cloudbuild.v1.RepoSource source = 3 [(.google.api.field_behavior) = REQUIRED];
*
+ *
+ * @return Whether the source field is set.
*/
public boolean hasSource() {
return sourceBuilder_ != null || source_ != null;
@@ -840,6 +883,8 @@ public boolean hasSource() {
*
* .google.devtools.cloudbuild.v1.RepoSource source = 3 [(.google.api.field_behavior) = REQUIRED];
*
+ *
+ * @return The source.
*/
public com.google.cloudbuild.v1.RepoSource getSource() {
if (sourceBuilder_ == null) {
diff --git a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/RunBuildTriggerRequestOrBuilder.java b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/RunBuildTriggerRequestOrBuilder.java
index 104cd744..d400ed0d 100644
--- a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/RunBuildTriggerRequestOrBuilder.java
+++ b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/RunBuildTriggerRequestOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -31,6 +31,8 @@ public interface RunBuildTriggerRequestOrBuilder
*
*
* string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The projectId.
*/
java.lang.String getProjectId();
/**
@@ -41,6 +43,8 @@ public interface RunBuildTriggerRequestOrBuilder
*
*
* string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The bytes for projectId.
*/
com.google.protobuf.ByteString getProjectIdBytes();
@@ -52,6 +56,8 @@ public interface RunBuildTriggerRequestOrBuilder
*
*
* string trigger_id = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The triggerId.
*/
java.lang.String getTriggerId();
/**
@@ -62,6 +68,8 @@ public interface RunBuildTriggerRequestOrBuilder
*
*
* string trigger_id = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The bytes for triggerId.
*/
com.google.protobuf.ByteString getTriggerIdBytes();
@@ -75,6 +83,8 @@ public interface RunBuildTriggerRequestOrBuilder
*
* .google.devtools.cloudbuild.v1.RepoSource source = 3 [(.google.api.field_behavior) = REQUIRED];
*
+ *
+ * @return Whether the source field is set.
*/
boolean hasSource();
/**
@@ -87,6 +97,8 @@ public interface RunBuildTriggerRequestOrBuilder
*
* .google.devtools.cloudbuild.v1.RepoSource source = 3 [(.google.api.field_behavior) = REQUIRED];
*
+ *
+ * @return The source.
*/
com.google.cloudbuild.v1.RepoSource getSource();
/**
diff --git a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/Secret.java b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/Secret.java
index f5507011..5e1158c3 100644
--- a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/Secret.java
+++ b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/Secret.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -42,6 +42,12 @@ private Secret() {
kmsKeyName_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new Secret();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -75,11 +81,11 @@ private Secret(
}
case 26:
{
- if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+ if (!((mutable_bitField0_ & 0x00000001) != 0)) {
secretEnv_ =
com.google.protobuf.MapField.newMapField(
SecretEnvDefaultEntryHolder.defaultEntry);
- mutable_bitField0_ |= 0x00000002;
+ mutable_bitField0_ |= 0x00000001;
}
com.google.protobuf.MapEntrystring kms_key_name = 1;
+ *
+ * @return The kmsKeyName.
*/
public java.lang.String getKmsKeyName() {
java.lang.Object ref = kmsKeyName_;
@@ -164,6 +171,8 @@ public java.lang.String getKmsKeyName() {
*
*
* string kms_key_name = 1;
+ *
+ * @return The bytes for kmsKeyName.
*/
public com.google.protobuf.ByteString getKmsKeyNameBytes() {
java.lang.Object ref = kmsKeyName_;
@@ -561,11 +570,9 @@ public com.google.cloudbuild.v1.Secret build() {
public com.google.cloudbuild.v1.Secret buildPartial() {
com.google.cloudbuild.v1.Secret result = new com.google.cloudbuild.v1.Secret(this);
int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
result.kmsKeyName_ = kmsKeyName_;
result.secretEnv_ = internalGetSecretEnv();
result.secretEnv_.makeImmutable();
- result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@@ -660,6 +667,8 @@ public Builder mergeFrom(
*
*
* string kms_key_name = 1;
+ *
+ * @return The kmsKeyName.
*/
public java.lang.String getKmsKeyName() {
java.lang.Object ref = kmsKeyName_;
@@ -680,6 +689,8 @@ public java.lang.String getKmsKeyName() {
*
*
* string kms_key_name = 1;
+ *
+ * @return The bytes for kmsKeyName.
*/
public com.google.protobuf.ByteString getKmsKeyNameBytes() {
java.lang.Object ref = kmsKeyName_;
@@ -700,6 +711,9 @@ public com.google.protobuf.ByteString getKmsKeyNameBytes() {
*
*
* string kms_key_name = 1;
+ *
+ * @param value The kmsKeyName to set.
+ * @return This builder for chaining.
*/
public Builder setKmsKeyName(java.lang.String value) {
if (value == null) {
@@ -718,6 +732,8 @@ public Builder setKmsKeyName(java.lang.String value) {
*
*
* string kms_key_name = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearKmsKeyName() {
@@ -733,6 +749,9 @@ public Builder clearKmsKeyName() {
*
*
* string kms_key_name = 1;
+ *
+ * @param value The bytes for kmsKeyName to set.
+ * @return This builder for chaining.
*/
public Builder setKmsKeyNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
diff --git a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/SecretOrBuilder.java b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/SecretOrBuilder.java
index a5b10321..b5a8145a 100644
--- a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/SecretOrBuilder.java
+++ b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/SecretOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -31,6 +31,8 @@ public interface SecretOrBuilder
*
*
* string kms_key_name = 1;
+ *
+ * @return The kmsKeyName.
*/
java.lang.String getKmsKeyName();
/**
@@ -41,6 +43,8 @@ public interface SecretOrBuilder
*
*
* string kms_key_name = 1;
+ *
+ * @return The bytes for kmsKeyName.
*/
com.google.protobuf.ByteString getKmsKeyNameBytes();
diff --git a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/Source.java b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/Source.java
index f69b8dc1..876ba9be 100644
--- a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/Source.java
+++ b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/Source.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -39,6 +39,12 @@ private Source(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
private Source() {}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new Source();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -52,7 +58,6 @@ private Source(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -131,7 +136,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
private int sourceCase_ = 0;
private java.lang.Object source_;
- public enum SourceCase implements com.google.protobuf.Internal.EnumLite {
+ public enum SourceCase
+ implements
+ com.google.protobuf.Internal.EnumLite,
+ com.google.protobuf.AbstractMessage.InternalOneOfEnum {
STORAGE_SOURCE(2),
REPO_SOURCE(3),
SOURCE_NOT_SET(0);
@@ -140,7 +148,11 @@ public enum SourceCase implements com.google.protobuf.Internal.EnumLite {
private SourceCase(int value) {
this.value = value;
}
- /** @deprecated Use {@link #forNumber(int)} instead. */
+ /**
+ * @param value The number of the enum to look for.
+ * @return The enum associated with the given number.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
@java.lang.Deprecated
public static SourceCase valueOf(int value) {
return forNumber(value);
@@ -177,6 +189,8 @@ public SourceCase getSourceCase() {
*
*
* .google.devtools.cloudbuild.v1.StorageSource storage_source = 2;
+ *
+ * @return Whether the storageSource field is set.
*/
public boolean hasStorageSource() {
return sourceCase_ == 2;
@@ -189,6 +203,8 @@ public boolean hasStorageSource() {
*
*
* .google.devtools.cloudbuild.v1.StorageSource storage_source = 2;
+ *
+ * @return The storageSource.
*/
public com.google.cloudbuild.v1.StorageSource getStorageSource() {
if (sourceCase_ == 2) {
@@ -222,6 +238,8 @@ public com.google.cloudbuild.v1.StorageSourceOrBuilder getStorageSourceOrBuilder
*
*
* .google.devtools.cloudbuild.v1.RepoSource repo_source = 3;
+ *
+ * @return Whether the repoSource field is set.
*/
public boolean hasRepoSource() {
return sourceCase_ == 3;
@@ -235,6 +253,8 @@ public boolean hasRepoSource() {
*
*
* .google.devtools.cloudbuild.v1.RepoSource repo_source = 3;
+ *
+ * @return The repoSource.
*/
public com.google.cloudbuild.v1.RepoSource getRepoSource() {
if (sourceCase_ == 3) {
@@ -654,6 +674,8 @@ public Builder clearSource() {
*
*
* .google.devtools.cloudbuild.v1.StorageSource storage_source = 2;
+ *
+ * @return Whether the storageSource field is set.
*/
public boolean hasStorageSource() {
return sourceCase_ == 2;
@@ -666,6 +688,8 @@ public boolean hasStorageSource() {
*
*
* .google.devtools.cloudbuild.v1.StorageSource storage_source = 2;
+ *
+ * @return The storageSource.
*/
public com.google.cloudbuild.v1.StorageSource getStorageSource() {
if (storageSourceBuilder_ == null) {
@@ -857,6 +881,8 @@ public com.google.cloudbuild.v1.StorageSourceOrBuilder getStorageSourceOrBuilder
*
*
* .google.devtools.cloudbuild.v1.RepoSource repo_source = 3;
+ *
+ * @return Whether the repoSource field is set.
*/
public boolean hasRepoSource() {
return sourceCase_ == 3;
@@ -870,6 +896,8 @@ public boolean hasRepoSource() {
*
*
* .google.devtools.cloudbuild.v1.RepoSource repo_source = 3;
+ *
+ * @return The repoSource.
*/
public com.google.cloudbuild.v1.RepoSource getRepoSource() {
if (repoSourceBuilder_ == null) {
diff --git a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/SourceOrBuilder.java b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/SourceOrBuilder.java
index 8abf1432..ffeaca1d 100644
--- a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/SourceOrBuilder.java
+++ b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/SourceOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -31,6 +31,8 @@ public interface SourceOrBuilder
*
*
* .google.devtools.cloudbuild.v1.StorageSource storage_source = 2;
+ *
+ * @return Whether the storageSource field is set.
*/
boolean hasStorageSource();
/**
@@ -41,6 +43,8 @@ public interface SourceOrBuilder
*
*
* .google.devtools.cloudbuild.v1.StorageSource storage_source = 2;
+ *
+ * @return The storageSource.
*/
com.google.cloudbuild.v1.StorageSource getStorageSource();
/**
@@ -63,6 +67,8 @@ public interface SourceOrBuilder
*
*
* .google.devtools.cloudbuild.v1.RepoSource repo_source = 3;
+ *
+ * @return Whether the repoSource field is set.
*/
boolean hasRepoSource();
/**
@@ -74,6 +80,8 @@ public interface SourceOrBuilder
*
*
* .google.devtools.cloudbuild.v1.RepoSource repo_source = 3;
+ *
+ * @return The repoSource.
*/
com.google.cloudbuild.v1.RepoSource getRepoSource();
/**
diff --git a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/SourceProvenance.java b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/SourceProvenance.java
index 55c1947b..2a2b23b9 100644
--- a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/SourceProvenance.java
+++ b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/SourceProvenance.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -40,6 +40,12 @@ private SourceProvenance(com.google.protobuf.GeneratedMessageV3.Builder> build
private SourceProvenance() {}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new SourceProvenance();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -82,11 +88,11 @@ private SourceProvenance(
}
case 34:
{
- if (!((mutable_bitField0_ & 0x00000004) != 0)) {
+ if (!((mutable_bitField0_ & 0x00000001) != 0)) {
fileHashes_ =
com.google.protobuf.MapField.newMapField(
FileHashesDefaultEntryHolder.defaultEntry);
- mutable_bitField0_ |= 0x00000004;
+ mutable_bitField0_ |= 0x00000001;
}
com.google.protobuf.MapEntry.google.devtools.cloudbuild.v1.StorageSource resolved_storage_source = 3;
+ *
+ * @return Whether the resolvedStorageSource field is set.
*/
public boolean hasResolvedStorageSource() {
return resolvedStorageSource_ != null;
@@ -182,6 +189,8 @@ public boolean hasResolvedStorageSource() {
*
*
* .google.devtools.cloudbuild.v1.StorageSource resolved_storage_source = 3;
+ *
+ * @return The resolvedStorageSource.
*/
public com.google.cloudbuild.v1.StorageSource getResolvedStorageSource() {
return resolvedStorageSource_ == null
@@ -213,6 +222,8 @@ public com.google.cloudbuild.v1.StorageSourceOrBuilder getResolvedStorageSourceO
*
*
* .google.devtools.cloudbuild.v1.RepoSource resolved_repo_source = 6;
+ *
+ * @return Whether the resolvedRepoSource field is set.
*/
public boolean hasResolvedRepoSource() {
return resolvedRepoSource_ != null;
@@ -226,6 +237,8 @@ public boolean hasResolvedRepoSource() {
*
*
* .google.devtools.cloudbuild.v1.RepoSource resolved_repo_source = 6;
+ *
+ * @return The resolvedRepoSource.
*/
public com.google.cloudbuild.v1.RepoSource getResolvedRepoSource() {
return resolvedRepoSource_ == null
@@ -289,7 +302,9 @@ public int getFileHashesCount() {
* (`.tar.gz`), the `FileHash` will be for the single path to that file.
*
*
- * map<string, .google.devtools.cloudbuild.v1.FileHashes> file_hashes = 4;
+ *
+ * map<string, .google.devtools.cloudbuild.v1.FileHashes> file_hashes = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
*/
public boolean containsFileHashes(java.lang.String key) {
if (key == null) {
@@ -316,7 +331,9 @@ public java.util.Mapmap<string, .google.devtools.cloudbuild.v1.FileHashes> file_hashes = 4;
+ *
+ * map<string, .google.devtools.cloudbuild.v1.FileHashes> file_hashes = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
*/
public java.util.Mapmap<string, .google.devtools.cloudbuild.v1.FileHashes> file_hashes = 4;
+ *
+ * map<string, .google.devtools.cloudbuild.v1.FileHashes> file_hashes = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
*/
public com.google.cloudbuild.v1.FileHashes getFileHashesOrDefault(
java.lang.String key, com.google.cloudbuild.v1.FileHashes defaultValue) {
@@ -360,7 +379,9 @@ public com.google.cloudbuild.v1.FileHashes getFileHashesOrDefault(
* (`.tar.gz`), the `FileHash` will be for the single path to that file.
*
*
- * map<string, .google.devtools.cloudbuild.v1.FileHashes> file_hashes = 4;
+ *
+ * map<string, .google.devtools.cloudbuild.v1.FileHashes> file_hashes = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
*/
public com.google.cloudbuild.v1.FileHashes getFileHashesOrThrow(java.lang.String key) {
if (key == null) {
@@ -678,7 +699,6 @@ public com.google.cloudbuild.v1.SourceProvenance buildPartial() {
com.google.cloudbuild.v1.SourceProvenance result =
new com.google.cloudbuild.v1.SourceProvenance(this);
int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
if (resolvedStorageSourceBuilder_ == null) {
result.resolvedStorageSource_ = resolvedStorageSource_;
} else {
@@ -691,7 +711,6 @@ public com.google.cloudbuild.v1.SourceProvenance buildPartial() {
}
result.fileHashes_ = internalGetFileHashes();
result.fileHashes_.makeImmutable();
- result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@@ -794,6 +813,8 @@ public Builder mergeFrom(
*
*
* .google.devtools.cloudbuild.v1.StorageSource resolved_storage_source = 3;
+ *
+ * @return Whether the resolvedStorageSource field is set.
*/
public boolean hasResolvedStorageSource() {
return resolvedStorageSourceBuilder_ != null || resolvedStorageSource_ != null;
@@ -807,6 +828,8 @@ public boolean hasResolvedStorageSource() {
*
*
* .google.devtools.cloudbuild.v1.StorageSource resolved_storage_source = 3;
+ *
+ * @return The resolvedStorageSource.
*/
public com.google.cloudbuild.v1.StorageSource getResolvedStorageSource() {
if (resolvedStorageSourceBuilder_ == null) {
@@ -985,6 +1008,8 @@ public com.google.cloudbuild.v1.StorageSourceOrBuilder getResolvedStorageSourceO
*
*
* .google.devtools.cloudbuild.v1.RepoSource resolved_repo_source = 6;
+ *
+ * @return Whether the resolvedRepoSource field is set.
*/
public boolean hasResolvedRepoSource() {
return resolvedRepoSourceBuilder_ != null || resolvedRepoSource_ != null;
@@ -998,6 +1023,8 @@ public boolean hasResolvedRepoSource() {
*
*
* .google.devtools.cloudbuild.v1.RepoSource resolved_repo_source = 6;
+ *
+ * @return The resolvedRepoSource.
*/
public com.google.cloudbuild.v1.RepoSource getResolvedRepoSource() {
if (resolvedRepoSourceBuilder_ == null) {
@@ -1204,7 +1231,9 @@ public int getFileHashesCount() {
* (`.tar.gz`), the `FileHash` will be for the single path to that file.
*
*
- * map<string, .google.devtools.cloudbuild.v1.FileHashes> file_hashes = 4;
+ *
+ * map<string, .google.devtools.cloudbuild.v1.FileHashes> file_hashes = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
*/
public boolean containsFileHashes(java.lang.String key) {
if (key == null) {
@@ -1231,7 +1260,9 @@ public java.util.Mapmap<string, .google.devtools.cloudbuild.v1.FileHashes> file_hashes = 4;
+ *
+ * map<string, .google.devtools.cloudbuild.v1.FileHashes> file_hashes = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
*/
public java.util.Mapmap<string, .google.devtools.cloudbuild.v1.FileHashes> file_hashes = 4;
+ *
+ * map<string, .google.devtools.cloudbuild.v1.FileHashes> file_hashes = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
*/
public com.google.cloudbuild.v1.FileHashes getFileHashesOrDefault(
java.lang.String key, com.google.cloudbuild.v1.FileHashes defaultValue) {
@@ -1275,7 +1308,9 @@ public com.google.cloudbuild.v1.FileHashes getFileHashesOrDefault(
* (`.tar.gz`), the `FileHash` will be for the single path to that file.
*
*
- * map<string, .google.devtools.cloudbuild.v1.FileHashes> file_hashes = 4;
+ *
+ * map<string, .google.devtools.cloudbuild.v1.FileHashes> file_hashes = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
*/
public com.google.cloudbuild.v1.FileHashes getFileHashesOrThrow(java.lang.String key) {
if (key == null) {
@@ -1307,7 +1342,9 @@ public Builder clearFileHashes() {
* (`.tar.gz`), the `FileHash` will be for the single path to that file.
*
*
- * map<string, .google.devtools.cloudbuild.v1.FileHashes> file_hashes = 4;
+ *
+ * map<string, .google.devtools.cloudbuild.v1.FileHashes> file_hashes = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
*/
public Builder removeFileHashes(java.lang.String key) {
if (key == null) {
@@ -1336,7 +1373,9 @@ public Builder removeFileHashes(java.lang.String key) {
* (`.tar.gz`), the `FileHash` will be for the single path to that file.
*
*
- * map<string, .google.devtools.cloudbuild.v1.FileHashes> file_hashes = 4;
+ *
+ * map<string, .google.devtools.cloudbuild.v1.FileHashes> file_hashes = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
*/
public Builder putFileHashes(java.lang.String key, com.google.cloudbuild.v1.FileHashes value) {
if (key == null) {
@@ -1362,7 +1401,9 @@ public Builder putFileHashes(java.lang.String key, com.google.cloudbuild.v1.File
* (`.tar.gz`), the `FileHash` will be for the single path to that file.
*
*
- * map<string, .google.devtools.cloudbuild.v1.FileHashes> file_hashes = 4;
+ *
+ * map<string, .google.devtools.cloudbuild.v1.FileHashes> file_hashes = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
*/
public Builder putAllFileHashes(
java.util.Map.google.devtools.cloudbuild.v1.StorageSource resolved_storage_source = 3;
+ *
+ * @return Whether the resolvedStorageSource field is set.
*/
boolean hasResolvedStorageSource();
/**
@@ -43,6 +45,8 @@ public interface SourceProvenanceOrBuilder
*
*
* .google.devtools.cloudbuild.v1.StorageSource resolved_storage_source = 3;
+ *
+ * @return The resolvedStorageSource.
*/
com.google.cloudbuild.v1.StorageSource getResolvedStorageSource();
/**
@@ -66,6 +70,8 @@ public interface SourceProvenanceOrBuilder
*
*
* .google.devtools.cloudbuild.v1.RepoSource resolved_repo_source = 6;
+ *
+ * @return Whether the resolvedRepoSource field is set.
*/
boolean hasResolvedRepoSource();
/**
@@ -77,6 +83,8 @@ public interface SourceProvenanceOrBuilder
*
*
* .google.devtools.cloudbuild.v1.RepoSource resolved_repo_source = 6;
+ *
+ * @return The resolvedRepoSource.
*/
com.google.cloudbuild.v1.RepoSource getResolvedRepoSource();
/**
@@ -105,7 +113,9 @@ public interface SourceProvenanceOrBuilder
* (`.tar.gz`), the `FileHash` will be for the single path to that file.
*
*
- * map<string, .google.devtools.cloudbuild.v1.FileHashes> file_hashes = 4;
+ *
+ * map<string, .google.devtools.cloudbuild.v1.FileHashes> file_hashes = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
*/
int getFileHashesCount();
/**
@@ -122,7 +132,9 @@ public interface SourceProvenanceOrBuilder
* (`.tar.gz`), the `FileHash` will be for the single path to that file.
*
*
- * map<string, .google.devtools.cloudbuild.v1.FileHashes> file_hashes = 4;
+ *
+ * map<string, .google.devtools.cloudbuild.v1.FileHashes> file_hashes = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
*/
boolean containsFileHashes(java.lang.String key);
/** Use {@link #getFileHashesMap()} instead. */
@@ -142,7 +154,9 @@ public interface SourceProvenanceOrBuilder
* (`.tar.gz`), the `FileHash` will be for the single path to that file.
*
*
- * map<string, .google.devtools.cloudbuild.v1.FileHashes> file_hashes = 4;
+ *
+ * map<string, .google.devtools.cloudbuild.v1.FileHashes> file_hashes = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
*/
java.util.Mapmap<string, .google.devtools.cloudbuild.v1.FileHashes> file_hashes = 4;
+ *
+ * map<string, .google.devtools.cloudbuild.v1.FileHashes> file_hashes = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
*/
com.google.cloudbuild.v1.FileHashes getFileHashesOrDefault(
java.lang.String key, com.google.cloudbuild.v1.FileHashes defaultValue);
@@ -177,7 +193,9 @@ com.google.cloudbuild.v1.FileHashes getFileHashesOrDefault(
* (`.tar.gz`), the `FileHash` will be for the single path to that file.
*
*
- * map<string, .google.devtools.cloudbuild.v1.FileHashes> file_hashes = 4;
+ *
+ * map<string, .google.devtools.cloudbuild.v1.FileHashes> file_hashes = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
*/
com.google.cloudbuild.v1.FileHashes getFileHashesOrThrow(java.lang.String key);
}
diff --git a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/StorageSource.java b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/StorageSource.java
index 8a993d03..dfb90835 100644
--- a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/StorageSource.java
+++ b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/StorageSource.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -42,6 +42,12 @@ private StorageSource() {
object_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new StorageSource();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -55,7 +61,6 @@ private StorageSource(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -131,6 +136,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* string bucket = 1;
+ *
+ * @return The bucket.
*/
public java.lang.String getBucket() {
java.lang.Object ref = bucket_;
@@ -153,6 +160,8 @@ public java.lang.String getBucket() {
*
*
* string bucket = 1;
+ *
+ * @return The bytes for bucket.
*/
public com.google.protobuf.ByteString getBucketBytes() {
java.lang.Object ref = bucket_;
@@ -178,6 +187,8 @@ public com.google.protobuf.ByteString getBucketBytes() {
*
*
* string object = 2;
+ *
+ * @return The object.
*/
public java.lang.String getObject() {
java.lang.Object ref = object_;
@@ -200,6 +211,8 @@ public java.lang.String getObject() {
*
*
* string object = 2;
+ *
+ * @return The bytes for object.
*/
public com.google.protobuf.ByteString getObjectBytes() {
java.lang.Object ref = object_;
@@ -224,6 +237,8 @@ public com.google.protobuf.ByteString getObjectBytes() {
*
*
* int64 generation = 3;
+ *
+ * @return The generation.
*/
public long getGeneration() {
return generation_;
@@ -586,6 +601,8 @@ public Builder mergeFrom(
*
*
* string bucket = 1;
+ *
+ * @return The bucket.
*/
public java.lang.String getBucket() {
java.lang.Object ref = bucket_;
@@ -608,6 +625,8 @@ public java.lang.String getBucket() {
*
*
* string bucket = 1;
+ *
+ * @return The bytes for bucket.
*/
public com.google.protobuf.ByteString getBucketBytes() {
java.lang.Object ref = bucket_;
@@ -630,6 +649,9 @@ public com.google.protobuf.ByteString getBucketBytes() {
*
*
* string bucket = 1;
+ *
+ * @param value The bucket to set.
+ * @return This builder for chaining.
*/
public Builder setBucket(java.lang.String value) {
if (value == null) {
@@ -650,6 +672,8 @@ public Builder setBucket(java.lang.String value) {
*
*
* string bucket = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearBucket() {
@@ -667,6 +691,9 @@ public Builder clearBucket() {
*
*
* string bucket = 1;
+ *
+ * @param value The bytes for bucket to set.
+ * @return This builder for chaining.
*/
public Builder setBucketBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -690,6 +717,8 @@ public Builder setBucketBytes(com.google.protobuf.ByteString value) {
*
*
* string object = 2;
+ *
+ * @return The object.
*/
public java.lang.String getObject() {
java.lang.Object ref = object_;
@@ -712,6 +741,8 @@ public java.lang.String getObject() {
*
*
* string object = 2;
+ *
+ * @return The bytes for object.
*/
public com.google.protobuf.ByteString getObjectBytes() {
java.lang.Object ref = object_;
@@ -734,6 +765,9 @@ public com.google.protobuf.ByteString getObjectBytes() {
*
*
* string object = 2;
+ *
+ * @param value The object to set.
+ * @return This builder for chaining.
*/
public Builder setObject(java.lang.String value) {
if (value == null) {
@@ -754,6 +788,8 @@ public Builder setObject(java.lang.String value) {
*
*
* string object = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearObject() {
@@ -771,6 +807,9 @@ public Builder clearObject() {
*
*
* string object = 2;
+ *
+ * @param value The bytes for object to set.
+ * @return This builder for chaining.
*/
public Builder setObjectBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -793,6 +832,8 @@ public Builder setObjectBytes(com.google.protobuf.ByteString value) {
*
*
* int64 generation = 3;
+ *
+ * @return The generation.
*/
public long getGeneration() {
return generation_;
@@ -806,6 +847,9 @@ public long getGeneration() {
*
*
* int64 generation = 3;
+ *
+ * @param value The generation to set.
+ * @return This builder for chaining.
*/
public Builder setGeneration(long value) {
@@ -822,6 +866,8 @@ public Builder setGeneration(long value) {
*
*
* int64 generation = 3;
+ *
+ * @return This builder for chaining.
*/
public Builder clearGeneration() {
diff --git a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/StorageSourceOrBuilder.java b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/StorageSourceOrBuilder.java
index 9d52d355..1b0a93c5 100644
--- a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/StorageSourceOrBuilder.java
+++ b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/StorageSourceOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -33,6 +33,8 @@ public interface StorageSourceOrBuilder
*
*
* string bucket = 1;
+ *
+ * @return The bucket.
*/
java.lang.String getBucket();
/**
@@ -45,6 +47,8 @@ public interface StorageSourceOrBuilder
*
*
* string bucket = 1;
+ *
+ * @return The bytes for bucket.
*/
com.google.protobuf.ByteString getBucketBytes();
@@ -58,6 +62,8 @@ public interface StorageSourceOrBuilder
*
*
* string object = 2;
+ *
+ * @return The object.
*/
java.lang.String getObject();
/**
@@ -70,6 +76,8 @@ public interface StorageSourceOrBuilder
*
*
* string object = 2;
+ *
+ * @return The bytes for object.
*/
com.google.protobuf.ByteString getObjectBytes();
@@ -82,6 +90,8 @@ public interface StorageSourceOrBuilder
*
*
* int64 generation = 3;
+ *
+ * @return The generation.
*/
long getGeneration();
}
diff --git a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/TimeSpan.java b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/TimeSpan.java
index 7cb68935..6470ca49 100644
--- a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/TimeSpan.java
+++ b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/TimeSpan.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -39,6 +39,12 @@ private TimeSpan(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
private TimeSpan() {}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new TimeSpan();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -52,7 +58,6 @@ private TimeSpan(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -137,6 +142,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* .google.protobuf.Timestamp start_time = 1;
+ *
+ * @return Whether the startTime field is set.
*/
public boolean hasStartTime() {
return startTime_ != null;
@@ -149,6 +156,8 @@ public boolean hasStartTime() {
*
*
* .google.protobuf.Timestamp start_time = 1;
+ *
+ * @return The startTime.
*/
public com.google.protobuf.Timestamp getStartTime() {
return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_;
@@ -176,6 +185,8 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
*
*
* .google.protobuf.Timestamp end_time = 2;
+ *
+ * @return Whether the endTime field is set.
*/
public boolean hasEndTime() {
return endTime_ != null;
@@ -188,6 +199,8 @@ public boolean hasEndTime() {
*
*
* .google.protobuf.Timestamp end_time = 2;
+ *
+ * @return The endTime.
*/
public com.google.protobuf.Timestamp getEndTime() {
return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
@@ -572,6 +585,8 @@ public Builder mergeFrom(
*
*
* .google.protobuf.Timestamp start_time = 1;
+ *
+ * @return Whether the startTime field is set.
*/
public boolean hasStartTime() {
return startTimeBuilder_ != null || startTime_ != null;
@@ -584,6 +599,8 @@ public boolean hasStartTime() {
*
*
* .google.protobuf.Timestamp start_time = 1;
+ *
+ * @return The startTime.
*/
public com.google.protobuf.Timestamp getStartTime() {
if (startTimeBuilder_ == null) {
@@ -747,6 +764,8 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
*
*
* .google.protobuf.Timestamp end_time = 2;
+ *
+ * @return Whether the endTime field is set.
*/
public boolean hasEndTime() {
return endTimeBuilder_ != null || endTime_ != null;
@@ -759,6 +778,8 @@ public boolean hasEndTime() {
*
*
* .google.protobuf.Timestamp end_time = 2;
+ *
+ * @return The endTime.
*/
public com.google.protobuf.Timestamp getEndTime() {
if (endTimeBuilder_ == null) {
diff --git a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/TimeSpanOrBuilder.java b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/TimeSpanOrBuilder.java
index de814184..b061a74d 100644
--- a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/TimeSpanOrBuilder.java
+++ b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/TimeSpanOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -31,6 +31,8 @@ public interface TimeSpanOrBuilder
*
*
* .google.protobuf.Timestamp start_time = 1;
+ *
+ * @return Whether the startTime field is set.
*/
boolean hasStartTime();
/**
@@ -41,6 +43,8 @@ public interface TimeSpanOrBuilder
*
*
* .google.protobuf.Timestamp start_time = 1;
+ *
+ * @return The startTime.
*/
com.google.protobuf.Timestamp getStartTime();
/**
@@ -62,6 +66,8 @@ public interface TimeSpanOrBuilder
*
*
* .google.protobuf.Timestamp end_time = 2;
+ *
+ * @return Whether the endTime field is set.
*/
boolean hasEndTime();
/**
@@ -72,6 +78,8 @@ public interface TimeSpanOrBuilder
*
*
* .google.protobuf.Timestamp end_time = 2;
+ *
+ * @return The endTime.
*/
com.google.protobuf.Timestamp getEndTime();
/**
diff --git a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/UpdateBuildTriggerRequest.java b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/UpdateBuildTriggerRequest.java
index 273ba1ba..60f9699c 100644
--- a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/UpdateBuildTriggerRequest.java
+++ b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/UpdateBuildTriggerRequest.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -42,6 +42,12 @@ private UpdateBuildTriggerRequest() {
triggerId_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new UpdateBuildTriggerRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -55,7 +61,6 @@ private UpdateBuildTriggerRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -140,6 +145,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The projectId.
*/
public java.lang.String getProjectId() {
java.lang.Object ref = projectId_;
@@ -160,6 +167,8 @@ public java.lang.String getProjectId() {
*
*
* string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The bytes for projectId.
*/
public com.google.protobuf.ByteString getProjectIdBytes() {
java.lang.Object ref = projectId_;
@@ -183,6 +192,8 @@ public com.google.protobuf.ByteString getProjectIdBytes() {
*
*
* string trigger_id = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The triggerId.
*/
public java.lang.String getTriggerId() {
java.lang.Object ref = triggerId_;
@@ -203,6 +214,8 @@ public java.lang.String getTriggerId() {
*
*
* string trigger_id = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The bytes for triggerId.
*/
public com.google.protobuf.ByteString getTriggerIdBytes() {
java.lang.Object ref = triggerId_;
@@ -228,6 +241,8 @@ public com.google.protobuf.ByteString getTriggerIdBytes() {
*
* .google.devtools.cloudbuild.v1.BuildTrigger trigger = 3 [(.google.api.field_behavior) = REQUIRED];
*
+ *
+ * @return Whether the trigger field is set.
*/
public boolean hasTrigger() {
return trigger_ != null;
@@ -242,6 +257,8 @@ public boolean hasTrigger() {
*
* .google.devtools.cloudbuild.v1.BuildTrigger trigger = 3 [(.google.api.field_behavior) = REQUIRED];
*
+ *
+ * @return The trigger.
*/
public com.google.cloudbuild.v1.BuildTrigger getTrigger() {
return trigger_ == null ? com.google.cloudbuild.v1.BuildTrigger.getDefaultInstance() : trigger_;
@@ -632,6 +649,8 @@ public Builder mergeFrom(
*
*
* string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The projectId.
*/
public java.lang.String getProjectId() {
java.lang.Object ref = projectId_;
@@ -652,6 +671,8 @@ public java.lang.String getProjectId() {
*
*
* string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The bytes for projectId.
*/
public com.google.protobuf.ByteString getProjectIdBytes() {
java.lang.Object ref = projectId_;
@@ -672,6 +693,9 @@ public com.google.protobuf.ByteString getProjectIdBytes() {
*
*
* string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @param value The projectId to set.
+ * @return This builder for chaining.
*/
public Builder setProjectId(java.lang.String value) {
if (value == null) {
@@ -690,6 +714,8 @@ public Builder setProjectId(java.lang.String value) {
*
*
* string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return This builder for chaining.
*/
public Builder clearProjectId() {
@@ -705,6 +731,9 @@ public Builder clearProjectId() {
*
*
* string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @param value The bytes for projectId to set.
+ * @return This builder for chaining.
*/
public Builder setProjectIdBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -726,6 +755,8 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) {
*
*
* string trigger_id = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The triggerId.
*/
public java.lang.String getTriggerId() {
java.lang.Object ref = triggerId_;
@@ -746,6 +777,8 @@ public java.lang.String getTriggerId() {
*
*
* string trigger_id = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The bytes for triggerId.
*/
public com.google.protobuf.ByteString getTriggerIdBytes() {
java.lang.Object ref = triggerId_;
@@ -766,6 +799,9 @@ public com.google.protobuf.ByteString getTriggerIdBytes() {
*
*
* string trigger_id = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @param value The triggerId to set.
+ * @return This builder for chaining.
*/
public Builder setTriggerId(java.lang.String value) {
if (value == null) {
@@ -784,6 +820,8 @@ public Builder setTriggerId(java.lang.String value) {
*
*
* string trigger_id = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return This builder for chaining.
*/
public Builder clearTriggerId() {
@@ -799,6 +837,9 @@ public Builder clearTriggerId() {
*
*
* string trigger_id = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @param value The bytes for triggerId to set.
+ * @return This builder for chaining.
*/
public Builder setTriggerIdBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -827,6 +868,8 @@ public Builder setTriggerIdBytes(com.google.protobuf.ByteString value) {
*
* .google.devtools.cloudbuild.v1.BuildTrigger trigger = 3 [(.google.api.field_behavior) = REQUIRED];
*
+ *
+ * @return Whether the trigger field is set.
*/
public boolean hasTrigger() {
return triggerBuilder_ != null || trigger_ != null;
@@ -841,6 +884,8 @@ public boolean hasTrigger() {
*
* .google.devtools.cloudbuild.v1.BuildTrigger trigger = 3 [(.google.api.field_behavior) = REQUIRED];
*
+ *
+ * @return The trigger.
*/
public com.google.cloudbuild.v1.BuildTrigger getTrigger() {
if (triggerBuilder_ == null) {
diff --git a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/UpdateBuildTriggerRequestOrBuilder.java b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/UpdateBuildTriggerRequestOrBuilder.java
index 169471c4..e63f9e57 100644
--- a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/UpdateBuildTriggerRequestOrBuilder.java
+++ b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/UpdateBuildTriggerRequestOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -31,6 +31,8 @@ public interface UpdateBuildTriggerRequestOrBuilder
*
*
* string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The projectId.
*/
java.lang.String getProjectId();
/**
@@ -41,6 +43,8 @@ public interface UpdateBuildTriggerRequestOrBuilder
*
*
* string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The bytes for projectId.
*/
com.google.protobuf.ByteString getProjectIdBytes();
@@ -52,6 +56,8 @@ public interface UpdateBuildTriggerRequestOrBuilder
*
*
* string trigger_id = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The triggerId.
*/
java.lang.String getTriggerId();
/**
@@ -62,6 +68,8 @@ public interface UpdateBuildTriggerRequestOrBuilder
*
*
* string trigger_id = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The bytes for triggerId.
*/
com.google.protobuf.ByteString getTriggerIdBytes();
@@ -75,6 +83,8 @@ public interface UpdateBuildTriggerRequestOrBuilder
*
* .google.devtools.cloudbuild.v1.BuildTrigger trigger = 3 [(.google.api.field_behavior) = REQUIRED];
*
+ *
+ * @return Whether the trigger field is set.
*/
boolean hasTrigger();
/**
@@ -87,6 +97,8 @@ public interface UpdateBuildTriggerRequestOrBuilder
*
* .google.devtools.cloudbuild.v1.BuildTrigger trigger = 3 [(.google.api.field_behavior) = REQUIRED];
*
+ *
+ * @return The trigger.
*/
com.google.cloudbuild.v1.BuildTrigger getTrigger();
/**
diff --git a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/UpdateWorkerPoolRequest.java b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/UpdateWorkerPoolRequest.java
index 393b1da0..19de4e64 100644
--- a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/UpdateWorkerPoolRequest.java
+++ b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/UpdateWorkerPoolRequest.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -41,6 +41,12 @@ private UpdateWorkerPoolRequest() {
name_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new UpdateWorkerPoolRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -54,7 +60,6 @@ private UpdateWorkerPoolRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -133,6 +138,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* string name = 2;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -154,6 +161,8 @@ public java.lang.String getName() {
*
*
* string name = 2;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -177,6 +186,8 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* .google.devtools.cloudbuild.v1.WorkerPool worker_pool = 3;
+ *
+ * @return Whether the workerPool field is set.
*/
public boolean hasWorkerPool() {
return workerPool_ != null;
@@ -189,6 +200,8 @@ public boolean hasWorkerPool() {
*
*
* .google.devtools.cloudbuild.v1.WorkerPool worker_pool = 3;
+ *
+ * @return The workerPool.
*/
public com.google.cloudbuild.v1.WorkerPool getWorkerPool() {
return workerPool_ == null
@@ -563,6 +576,8 @@ public Builder mergeFrom(
*
*
* string name = 2;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -584,6 +599,8 @@ public java.lang.String getName() {
*
*
* string name = 2;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -605,6 +622,9 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* string name = 2;
+ *
+ * @param value The name to set.
+ * @return This builder for chaining.
*/
public Builder setName(java.lang.String value) {
if (value == null) {
@@ -624,6 +644,8 @@ public Builder setName(java.lang.String value) {
*
*
* string name = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearName() {
@@ -640,6 +662,9 @@ public Builder clearName() {
*
*
* string name = 2;
+ *
+ * @param value The bytes for name to set.
+ * @return This builder for chaining.
*/
public Builder setNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -666,6 +691,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
*
*
* .google.devtools.cloudbuild.v1.WorkerPool worker_pool = 3;
+ *
+ * @return Whether the workerPool field is set.
*/
public boolean hasWorkerPool() {
return workerPoolBuilder_ != null || workerPool_ != null;
@@ -678,6 +705,8 @@ public boolean hasWorkerPool() {
*
*
* .google.devtools.cloudbuild.v1.WorkerPool worker_pool = 3;
+ *
+ * @return The workerPool.
*/
public com.google.cloudbuild.v1.WorkerPool getWorkerPool() {
if (workerPoolBuilder_ == null) {
diff --git a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/UpdateWorkerPoolRequestOrBuilder.java b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/UpdateWorkerPoolRequestOrBuilder.java
index d4324916..7098a444 100644
--- a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/UpdateWorkerPoolRequestOrBuilder.java
+++ b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/UpdateWorkerPoolRequestOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -32,6 +32,8 @@ public interface UpdateWorkerPoolRequestOrBuilder
*
*
* string name = 2;
+ *
+ * @return The name.
*/
java.lang.String getName();
/**
@@ -43,6 +45,8 @@ public interface UpdateWorkerPoolRequestOrBuilder
*
*
* string name = 2;
+ *
+ * @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
@@ -54,6 +58,8 @@ public interface UpdateWorkerPoolRequestOrBuilder
*
*
* .google.devtools.cloudbuild.v1.WorkerPool worker_pool = 3;
+ *
+ * @return Whether the workerPool field is set.
*/
boolean hasWorkerPool();
/**
@@ -64,6 +70,8 @@ public interface UpdateWorkerPoolRequestOrBuilder
*
*
* .google.devtools.cloudbuild.v1.WorkerPool worker_pool = 3;
+ *
+ * @return The workerPool.
*/
com.google.cloudbuild.v1.WorkerPool getWorkerPool();
/**
diff --git a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/Volume.java b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/Volume.java
index 51df1af9..eb45d14b 100644
--- a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/Volume.java
+++ b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/Volume.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -43,6 +43,12 @@ private Volume() {
path_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new Volume();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -56,7 +62,6 @@ private Volume(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -126,6 +131,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* string name = 1;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -148,6 +155,8 @@ public java.lang.String getName() {
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -173,6 +182,8 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* string path = 2;
+ *
+ * @return The path.
*/
public java.lang.String getPath() {
java.lang.Object ref = path_;
@@ -195,6 +206,8 @@ public java.lang.String getPath() {
*
*
* string path = 2;
+ *
+ * @return The bytes for path.
*/
public com.google.protobuf.ByteString getPathBytes() {
java.lang.Object ref = path_;
@@ -548,6 +561,8 @@ public Builder mergeFrom(
*
*
* string name = 1;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -570,6 +585,8 @@ public java.lang.String getName() {
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -592,6 +609,9 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* string name = 1;
+ *
+ * @param value The name to set.
+ * @return This builder for chaining.
*/
public Builder setName(java.lang.String value) {
if (value == null) {
@@ -612,6 +632,8 @@ public Builder setName(java.lang.String value) {
*
*
* string name = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearName() {
@@ -629,6 +651,9 @@ public Builder clearName() {
*
*
* string name = 1;
+ *
+ * @param value The bytes for name to set.
+ * @return This builder for chaining.
*/
public Builder setNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -652,6 +677,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
*
*
* string path = 2;
+ *
+ * @return The path.
*/
public java.lang.String getPath() {
java.lang.Object ref = path_;
@@ -674,6 +701,8 @@ public java.lang.String getPath() {
*
*
* string path = 2;
+ *
+ * @return The bytes for path.
*/
public com.google.protobuf.ByteString getPathBytes() {
java.lang.Object ref = path_;
@@ -696,6 +725,9 @@ public com.google.protobuf.ByteString getPathBytes() {
*
*
* string path = 2;
+ *
+ * @param value The path to set.
+ * @return This builder for chaining.
*/
public Builder setPath(java.lang.String value) {
if (value == null) {
@@ -716,6 +748,8 @@ public Builder setPath(java.lang.String value) {
*
*
* string path = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearPath() {
@@ -733,6 +767,9 @@ public Builder clearPath() {
*
*
* string path = 2;
+ *
+ * @param value The bytes for path to set.
+ * @return This builder for chaining.
*/
public Builder setPathBytes(com.google.protobuf.ByteString value) {
if (value == null) {
diff --git a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/VolumeOrBuilder.java b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/VolumeOrBuilder.java
index 7a047519..c6c6bc60 100644
--- a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/VolumeOrBuilder.java
+++ b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/VolumeOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -33,6 +33,8 @@ public interface VolumeOrBuilder
*
*
* string name = 1;
+ *
+ * @return The name.
*/
java.lang.String getName();
/**
@@ -45,6 +47,8 @@ public interface VolumeOrBuilder
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
@@ -58,6 +62,8 @@ public interface VolumeOrBuilder
*
*
* string path = 2;
+ *
+ * @return The path.
*/
java.lang.String getPath();
/**
@@ -70,6 +76,8 @@ public interface VolumeOrBuilder
*
*
* string path = 2;
+ *
+ * @return The bytes for path.
*/
com.google.protobuf.ByteString getPathBytes();
}
diff --git a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/WorkerConfig.java b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/WorkerConfig.java
index a34ddb6f..1c0a6764 100644
--- a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/WorkerConfig.java
+++ b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/WorkerConfig.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -43,6 +43,12 @@ private WorkerConfig() {
tag_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new WorkerConfig();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -56,7 +62,6 @@ private WorkerConfig(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -152,6 +157,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* string machine_type = 1;
+ *
+ * @return The machineType.
*/
public java.lang.String getMachineType() {
java.lang.Object ref = machineType_;
@@ -179,6 +186,8 @@ public java.lang.String getMachineType() {
*
*
* string machine_type = 1;
+ *
+ * @return The bytes for machineType.
*/
public com.google.protobuf.ByteString getMachineTypeBytes() {
java.lang.Object ref = machineType_;
@@ -209,6 +218,8 @@ public com.google.protobuf.ByteString getMachineTypeBytes() {
*
*
* int64 disk_size_gb = 2;
+ *
+ * @return The diskSizeGb.
*/
public long getDiskSizeGb() {
return diskSizeGb_;
@@ -226,6 +237,8 @@ public long getDiskSizeGb() {
*
*
* .google.devtools.cloudbuild.v1.Network network = 3;
+ *
+ * @return Whether the network field is set.
*/
public boolean hasNetwork() {
return network_ != null;
@@ -240,6 +253,8 @@ public boolean hasNetwork() {
*
*
* .google.devtools.cloudbuild.v1.Network network = 3;
+ *
+ * @return The network.
*/
public com.google.cloudbuild.v1.Network getNetwork() {
return network_ == null ? com.google.cloudbuild.v1.Network.getDefaultInstance() : network_;
@@ -271,6 +286,8 @@ public com.google.cloudbuild.v1.NetworkOrBuilder getNetworkOrBuilder() {
*
*
* string tag = 4;
+ *
+ * @return The tag.
*/
public java.lang.String getTag() {
java.lang.Object ref = tag_;
@@ -293,6 +310,8 @@ public java.lang.String getTag() {
*
*
* string tag = 4;
+ *
+ * @return The bytes for tag.
*/
public com.google.protobuf.ByteString getTagBytes() {
java.lang.Object ref = tag_;
@@ -696,6 +715,8 @@ public Builder mergeFrom(
*
*
* string machine_type = 1;
+ *
+ * @return The machineType.
*/
public java.lang.String getMachineType() {
java.lang.Object ref = machineType_;
@@ -723,6 +744,8 @@ public java.lang.String getMachineType() {
*
*
* string machine_type = 1;
+ *
+ * @return The bytes for machineType.
*/
public com.google.protobuf.ByteString getMachineTypeBytes() {
java.lang.Object ref = machineType_;
@@ -750,6 +773,9 @@ public com.google.protobuf.ByteString getMachineTypeBytes() {
*
*
* string machine_type = 1;
+ *
+ * @param value The machineType to set.
+ * @return This builder for chaining.
*/
public Builder setMachineType(java.lang.String value) {
if (value == null) {
@@ -775,6 +801,8 @@ public Builder setMachineType(java.lang.String value) {
*
*
* string machine_type = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearMachineType() {
@@ -797,6 +825,9 @@ public Builder clearMachineType() {
*
*
* string machine_type = 1;
+ *
+ * @param value The bytes for machineType to set.
+ * @return This builder for chaining.
*/
public Builder setMachineTypeBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -825,6 +856,8 @@ public Builder setMachineTypeBytes(com.google.protobuf.ByteString value) {
*
*
* int64 disk_size_gb = 2;
+ *
+ * @return The diskSizeGb.
*/
public long getDiskSizeGb() {
return diskSizeGb_;
@@ -844,6 +877,9 @@ public long getDiskSizeGb() {
*
*
* int64 disk_size_gb = 2;
+ *
+ * @param value The diskSizeGb to set.
+ * @return This builder for chaining.
*/
public Builder setDiskSizeGb(long value) {
@@ -866,6 +902,8 @@ public Builder setDiskSizeGb(long value) {
*
*
* int64 disk_size_gb = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearDiskSizeGb() {
@@ -890,6 +928,8 @@ public Builder clearDiskSizeGb() {
*
*
* .google.devtools.cloudbuild.v1.Network network = 3;
+ *
+ * @return Whether the network field is set.
*/
public boolean hasNetwork() {
return networkBuilder_ != null || network_ != null;
@@ -904,6 +944,8 @@ public boolean hasNetwork() {
*
*
* .google.devtools.cloudbuild.v1.Network network = 3;
+ *
+ * @return The network.
*/
public com.google.cloudbuild.v1.Network getNetwork() {
if (networkBuilder_ == null) {
@@ -1078,6 +1120,8 @@ public com.google.cloudbuild.v1.NetworkOrBuilder getNetworkOrBuilder() {
*
*
* string tag = 4;
+ *
+ * @return The tag.
*/
public java.lang.String getTag() {
java.lang.Object ref = tag_;
@@ -1100,6 +1144,8 @@ public java.lang.String getTag() {
*
*
* string tag = 4;
+ *
+ * @return The bytes for tag.
*/
public com.google.protobuf.ByteString getTagBytes() {
java.lang.Object ref = tag_;
@@ -1122,6 +1168,9 @@ public com.google.protobuf.ByteString getTagBytes() {
*
*
* string tag = 4;
+ *
+ * @param value The tag to set.
+ * @return This builder for chaining.
*/
public Builder setTag(java.lang.String value) {
if (value == null) {
@@ -1142,6 +1191,8 @@ public Builder setTag(java.lang.String value) {
*
*
* string tag = 4;
+ *
+ * @return This builder for chaining.
*/
public Builder clearTag() {
@@ -1159,6 +1210,9 @@ public Builder clearTag() {
*
*
* string tag = 4;
+ *
+ * @param value The bytes for tag to set.
+ * @return This builder for chaining.
*/
public Builder setTagBytes(com.google.protobuf.ByteString value) {
if (value == null) {
diff --git a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/WorkerConfigOrBuilder.java b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/WorkerConfigOrBuilder.java
index 0fae73c7..2a771798 100644
--- a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/WorkerConfigOrBuilder.java
+++ b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/WorkerConfigOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -38,6 +38,8 @@ public interface WorkerConfigOrBuilder
*
*
* string machine_type = 1;
+ *
+ * @return The machineType.
*/
java.lang.String getMachineType();
/**
@@ -55,6 +57,8 @@ public interface WorkerConfigOrBuilder
*
*
* string machine_type = 1;
+ *
+ * @return The bytes for machineType.
*/
com.google.protobuf.ByteString getMachineTypeBytes();
@@ -73,6 +77,8 @@ public interface WorkerConfigOrBuilder
*
*
* int64 disk_size_gb = 2;
+ *
+ * @return The diskSizeGb.
*/
long getDiskSizeGb();
@@ -86,6 +92,8 @@ public interface WorkerConfigOrBuilder
*
*
* .google.devtools.cloudbuild.v1.Network network = 3;
+ *
+ * @return Whether the network field is set.
*/
boolean hasNetwork();
/**
@@ -98,6 +106,8 @@ public interface WorkerConfigOrBuilder
*
*
* .google.devtools.cloudbuild.v1.Network network = 3;
+ *
+ * @return The network.
*/
com.google.cloudbuild.v1.Network getNetwork();
/**
@@ -123,6 +133,8 @@ public interface WorkerConfigOrBuilder
*
*
* string tag = 4;
+ *
+ * @return The tag.
*/
java.lang.String getTag();
/**
@@ -135,6 +147,8 @@ public interface WorkerConfigOrBuilder
*
*
* string tag = 4;
+ *
+ * @return The bytes for tag.
*/
com.google.protobuf.ByteString getTagBytes();
}
diff --git a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/WorkerPool.java b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/WorkerPool.java
index 8cb6fbc4..3ce5c3b8 100644
--- a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/WorkerPool.java
+++ b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/WorkerPool.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -50,6 +50,12 @@ private WorkerPool() {
status_ = 0;
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new WorkerPool();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -96,9 +102,9 @@ private WorkerPool(
case 72:
{
int rawValue = input.readEnum();
- if (!((mutable_bitField0_ & 0x00000020) != 0)) {
+ if (!((mutable_bitField0_ & 0x00000001) != 0)) {
regions_ = new java.util.ArrayList- * `WorkerPool` is being deleting: cancelling builds and draining workers. + * `WorkerPool` is being deleted: cancelling builds and draining workers. ** *
DELETING = 3;
@@ -516,7 +530,7 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum {
*
*
* - * `WorkerPool` is being deleting: cancelling builds and draining workers. + * `WorkerPool` is being deleted: cancelling builds and draining workers. ** *
DELETING = 3;
@@ -541,12 +555,20 @@ public final int getNumber() {
return value;
}
- /** @deprecated Use {@link #forNumber(int)} instead. */
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
@java.lang.Deprecated
public static Status valueOf(int value) {
return forNumber(value);
}
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ */
public static Status forNumber(int value) {
switch (value) {
case 0:
@@ -608,7 +630,6 @@ private Status(int value) {
// @@protoc_insertion_point(enum_scope:google.devtools.cloudbuild.v1.WorkerPool.Status)
}
- private int bitField0_;
public static final int NAME_FIELD_NUMBER = 14;
private volatile java.lang.Object name_;
/**
@@ -619,6 +640,8 @@ private Status(int value) {
*
*
* string name = 14;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -639,6 +662,8 @@ public java.lang.String getName() {
*
*
* string name = 14;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -662,6 +687,8 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* string project_id = 2;
+ *
+ * @return The projectId.
*/
public java.lang.String getProjectId() {
java.lang.Object ref = projectId_;
@@ -682,6 +709,8 @@ public java.lang.String getProjectId() {
*
*
* string project_id = 2;
+ *
+ * @return The bytes for projectId.
*/
public com.google.protobuf.ByteString getProjectIdBytes() {
java.lang.Object ref = projectId_;
@@ -707,6 +736,8 @@ public com.google.protobuf.ByteString getProjectIdBytes() {
*
*
* string service_account_email = 3;
+ *
+ * @return The serviceAccountEmail.
*/
public java.lang.String getServiceAccountEmail() {
java.lang.Object ref = serviceAccountEmail_;
@@ -729,6 +760,8 @@ public java.lang.String getServiceAccountEmail() {
*
*
* string service_account_email = 3;
+ *
+ * @return The bytes for serviceAccountEmail.
*/
public com.google.protobuf.ByteString getServiceAccountEmailBytes() {
java.lang.Object ref = serviceAccountEmail_;
@@ -752,6 +785,8 @@ public com.google.protobuf.ByteString getServiceAccountEmailBytes() {
*
*
* int64 worker_count = 4;
+ *
+ * @return The workerCount.
*/
public long getWorkerCount() {
return workerCount_;
@@ -767,6 +802,8 @@ public long getWorkerCount() {
*
*
* .google.devtools.cloudbuild.v1.WorkerConfig worker_config = 16;
+ *
+ * @return Whether the workerConfig field is set.
*/
public boolean hasWorkerConfig() {
return workerConfig_ != null;
@@ -779,6 +816,8 @@ public boolean hasWorkerConfig() {
*
*
* .google.devtools.cloudbuild.v1.WorkerConfig worker_config = 16;
+ *
+ * @return The workerConfig.
*/
public com.google.cloudbuild.v1.WorkerConfig getWorkerConfig() {
return workerConfig_ == null
@@ -826,6 +865,8 @@ public com.google.cloudbuild.v1.WorkerPool.Region convert(java.lang.Integer from
*
*
* repeated .google.devtools.cloudbuild.v1.WorkerPool.Region regions = 9;
+ *
+ * @return A list containing the regions.
*/
public java.util.Listrepeated .google.devtools.cloudbuild.v1.WorkerPool.Region regions = 9;
+ *
+ * @return The count of regions.
*/
public int getRegionsCount() {
return regions_.size();
@@ -860,6 +903,9 @@ public int getRegionsCount() {
*
*
* repeated .google.devtools.cloudbuild.v1.WorkerPool.Region regions = 9;
+ *
+ * @param index The index of the element to return.
+ * @return The regions at the given index.
*/
public com.google.cloudbuild.v1.WorkerPool.Region getRegions(int index) {
return regions_converter_.convert(regions_.get(index));
@@ -876,6 +922,8 @@ public com.google.cloudbuild.v1.WorkerPool.Region getRegions(int index) {
*
*
* repeated .google.devtools.cloudbuild.v1.WorkerPool.Region regions = 9;
+ *
+ * @return A list containing the enum numeric values on the wire for regions.
*/
public java.util.Listrepeated .google.devtools.cloudbuild.v1.WorkerPool.Region regions = 9;
+ *
+ * @param index The index of the value to return.
+ * @return The enum numeric value on the wire of regions at the given index.
*/
public int getRegionsValue(int index) {
return regions_.get(index);
@@ -910,6 +961,8 @@ public int getRegionsValue(int index) {
*
*
* .google.protobuf.Timestamp create_time = 11;
+ *
+ * @return Whether the createTime field is set.
*/
public boolean hasCreateTime() {
return createTime_ != null;
@@ -923,6 +976,8 @@ public boolean hasCreateTime() {
*
*
* .google.protobuf.Timestamp create_time = 11;
+ *
+ * @return The createTime.
*/
public com.google.protobuf.Timestamp getCreateTime() {
return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_;
@@ -952,6 +1007,8 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
*
*
* .google.protobuf.Timestamp update_time = 17;
+ *
+ * @return Whether the updateTime field is set.
*/
public boolean hasUpdateTime() {
return updateTime_ != null;
@@ -965,6 +1022,8 @@ public boolean hasUpdateTime() {
*
*
* .google.protobuf.Timestamp update_time = 17;
+ *
+ * @return The updateTime.
*/
public com.google.protobuf.Timestamp getUpdateTime() {
return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_;
@@ -994,6 +1053,8 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
*
*
* .google.protobuf.Timestamp delete_time = 12;
+ *
+ * @return Whether the deleteTime field is set.
*/
public boolean hasDeleteTime() {
return deleteTime_ != null;
@@ -1007,6 +1068,8 @@ public boolean hasDeleteTime() {
*
*
* .google.protobuf.Timestamp delete_time = 12;
+ *
+ * @return The deleteTime.
*/
public com.google.protobuf.Timestamp getDeleteTime() {
return deleteTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : deleteTime_;
@@ -1035,6 +1098,8 @@ public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() {
*
*
* .google.devtools.cloudbuild.v1.WorkerPool.Status status = 13;
+ *
+ * @return The enum numeric value on the wire for status.
*/
public int getStatusValue() {
return status_;
@@ -1047,6 +1112,8 @@ public int getStatusValue() {
*
*
* .google.devtools.cloudbuild.v1.WorkerPool.Status status = 13;
+ *
+ * @return The status.
*/
public com.google.cloudbuild.v1.WorkerPool.Status getStatus() {
@SuppressWarnings("deprecation")
@@ -1394,7 +1461,7 @@ public Builder clear() {
workerConfigBuilder_ = null;
}
regions_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000020);
+ bitField0_ = (bitField0_ & ~0x00000001);
if (createTimeBuilder_ == null) {
createTime_ = null;
} else {
@@ -1442,7 +1509,6 @@ public com.google.cloudbuild.v1.WorkerPool build() {
public com.google.cloudbuild.v1.WorkerPool buildPartial() {
com.google.cloudbuild.v1.WorkerPool result = new com.google.cloudbuild.v1.WorkerPool(this);
int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
result.name_ = name_;
result.projectId_ = projectId_;
result.serviceAccountEmail_ = serviceAccountEmail_;
@@ -1452,9 +1518,9 @@ public com.google.cloudbuild.v1.WorkerPool buildPartial() {
} else {
result.workerConfig_ = workerConfigBuilder_.build();
}
- if (((bitField0_ & 0x00000020) != 0)) {
+ if (((bitField0_ & 0x00000001) != 0)) {
regions_ = java.util.Collections.unmodifiableList(regions_);
- bitField0_ = (bitField0_ & ~0x00000020);
+ bitField0_ = (bitField0_ & ~0x00000001);
}
result.regions_ = regions_;
if (createTimeBuilder_ == null) {
@@ -1473,7 +1539,6 @@ public com.google.cloudbuild.v1.WorkerPool buildPartial() {
result.deleteTime_ = deleteTimeBuilder_.build();
}
result.status_ = status_;
- result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@@ -1544,7 +1609,7 @@ public Builder mergeFrom(com.google.cloudbuild.v1.WorkerPool other) {
if (!other.regions_.isEmpty()) {
if (regions_.isEmpty()) {
regions_ = other.regions_;
- bitField0_ = (bitField0_ & ~0x00000020);
+ bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureRegionsIsMutable();
regions_.addAll(other.regions_);
@@ -1603,6 +1668,8 @@ public Builder mergeFrom(
*
*
* string name = 14;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -1623,6 +1690,8 @@ public java.lang.String getName() {
*
*
* string name = 14;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -1643,6 +1712,9 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* string name = 14;
+ *
+ * @param value The name to set.
+ * @return This builder for chaining.
*/
public Builder setName(java.lang.String value) {
if (value == null) {
@@ -1661,6 +1733,8 @@ public Builder setName(java.lang.String value) {
*
*
* string name = 14;
+ *
+ * @return This builder for chaining.
*/
public Builder clearName() {
@@ -1676,6 +1750,9 @@ public Builder clearName() {
*
*
* string name = 14;
+ *
+ * @param value The bytes for name to set.
+ * @return This builder for chaining.
*/
public Builder setNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1697,6 +1774,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
*
*
* string project_id = 2;
+ *
+ * @return The projectId.
*/
public java.lang.String getProjectId() {
java.lang.Object ref = projectId_;
@@ -1717,6 +1796,8 @@ public java.lang.String getProjectId() {
*
*
* string project_id = 2;
+ *
+ * @return The bytes for projectId.
*/
public com.google.protobuf.ByteString getProjectIdBytes() {
java.lang.Object ref = projectId_;
@@ -1737,6 +1818,9 @@ public com.google.protobuf.ByteString getProjectIdBytes() {
*
*
* string project_id = 2;
+ *
+ * @param value The projectId to set.
+ * @return This builder for chaining.
*/
public Builder setProjectId(java.lang.String value) {
if (value == null) {
@@ -1755,6 +1839,8 @@ public Builder setProjectId(java.lang.String value) {
*
*
* string project_id = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearProjectId() {
@@ -1770,6 +1856,9 @@ public Builder clearProjectId() {
*
*
* string project_id = 2;
+ *
+ * @param value The bytes for projectId to set.
+ * @return This builder for chaining.
*/
public Builder setProjectIdBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1793,6 +1882,8 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) {
*
*
* string service_account_email = 3;
+ *
+ * @return The serviceAccountEmail.
*/
public java.lang.String getServiceAccountEmail() {
java.lang.Object ref = serviceAccountEmail_;
@@ -1815,6 +1906,8 @@ public java.lang.String getServiceAccountEmail() {
*
*
* string service_account_email = 3;
+ *
+ * @return The bytes for serviceAccountEmail.
*/
public com.google.protobuf.ByteString getServiceAccountEmailBytes() {
java.lang.Object ref = serviceAccountEmail_;
@@ -1837,6 +1930,9 @@ public com.google.protobuf.ByteString getServiceAccountEmailBytes() {
*
*
* string service_account_email = 3;
+ *
+ * @param value The serviceAccountEmail to set.
+ * @return This builder for chaining.
*/
public Builder setServiceAccountEmail(java.lang.String value) {
if (value == null) {
@@ -1857,6 +1953,8 @@ public Builder setServiceAccountEmail(java.lang.String value) {
*
*
* string service_account_email = 3;
+ *
+ * @return This builder for chaining.
*/
public Builder clearServiceAccountEmail() {
@@ -1874,6 +1972,9 @@ public Builder clearServiceAccountEmail() {
*
*
* string service_account_email = 3;
+ *
+ * @param value The bytes for serviceAccountEmail to set.
+ * @return This builder for chaining.
*/
public Builder setServiceAccountEmailBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1895,6 +1996,8 @@ public Builder setServiceAccountEmailBytes(com.google.protobuf.ByteString value)
*
*
* int64 worker_count = 4;
+ *
+ * @return The workerCount.
*/
public long getWorkerCount() {
return workerCount_;
@@ -1907,6 +2010,9 @@ public long getWorkerCount() {
*
*
* int64 worker_count = 4;
+ *
+ * @param value The workerCount to set.
+ * @return This builder for chaining.
*/
public Builder setWorkerCount(long value) {
@@ -1922,6 +2028,8 @@ public Builder setWorkerCount(long value) {
*
*
* int64 worker_count = 4;
+ *
+ * @return This builder for chaining.
*/
public Builder clearWorkerCount() {
@@ -1944,6 +2052,8 @@ public Builder clearWorkerCount() {
*
*
* .google.devtools.cloudbuild.v1.WorkerConfig worker_config = 16;
+ *
+ * @return Whether the workerConfig field is set.
*/
public boolean hasWorkerConfig() {
return workerConfigBuilder_ != null || workerConfig_ != null;
@@ -1956,6 +2066,8 @@ public boolean hasWorkerConfig() {
*
*
* .google.devtools.cloudbuild.v1.WorkerConfig worker_config = 16;
+ *
+ * @return The workerConfig.
*/
public com.google.cloudbuild.v1.WorkerConfig getWorkerConfig() {
if (workerConfigBuilder_ == null) {
@@ -2114,9 +2226,9 @@ public com.google.cloudbuild.v1.WorkerConfigOrBuilder getWorkerConfigOrBuilder()
private java.util.Listrepeated .google.devtools.cloudbuild.v1.WorkerPool.Region regions = 9;
+ *
+ * @return A list containing the regions.
*/
public java.util.Listrepeated .google.devtools.cloudbuild.v1.WorkerPool.Region regions = 9;
+ *
+ * @return The count of regions.
*/
public int getRegionsCount() {
return regions_.size();
@@ -2165,6 +2281,9 @@ public int getRegionsCount() {
*
*
* repeated .google.devtools.cloudbuild.v1.WorkerPool.Region regions = 9;
+ *
+ * @param index The index of the element to return.
+ * @return The regions at the given index.
*/
public com.google.cloudbuild.v1.WorkerPool.Region getRegions(int index) {
return regions_converter_.convert(regions_.get(index));
@@ -2181,6 +2300,10 @@ public com.google.cloudbuild.v1.WorkerPool.Region getRegions(int index) {
*
*
* repeated .google.devtools.cloudbuild.v1.WorkerPool.Region regions = 9;
+ *
+ * @param index The index to set the value at.
+ * @param value The regions to set.
+ * @return This builder for chaining.
*/
public Builder setRegions(int index, com.google.cloudbuild.v1.WorkerPool.Region value) {
if (value == null) {
@@ -2203,6 +2326,9 @@ public Builder setRegions(int index, com.google.cloudbuild.v1.WorkerPool.Region
*
*
* repeated .google.devtools.cloudbuild.v1.WorkerPool.Region regions = 9;
+ *
+ * @param value The regions to add.
+ * @return This builder for chaining.
*/
public Builder addRegions(com.google.cloudbuild.v1.WorkerPool.Region value) {
if (value == null) {
@@ -2225,6 +2351,9 @@ public Builder addRegions(com.google.cloudbuild.v1.WorkerPool.Region value) {
*
*
* repeated .google.devtools.cloudbuild.v1.WorkerPool.Region regions = 9;
+ *
+ * @param values The regions to add.
+ * @return This builder for chaining.
*/
public Builder addAllRegions(
java.lang.Iterable extends com.google.cloudbuild.v1.WorkerPool.Region> values) {
@@ -2247,10 +2376,12 @@ public Builder addAllRegions(
*
*
* repeated .google.devtools.cloudbuild.v1.WorkerPool.Region regions = 9;
+ *
+ * @return This builder for chaining.
*/
public Builder clearRegions() {
regions_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000020);
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -2266,6 +2397,8 @@ public Builder clearRegions() {
*
*
* repeated .google.devtools.cloudbuild.v1.WorkerPool.Region regions = 9;
+ *
+ * @return A list containing the enum numeric values on the wire for regions.
*/
public java.util.Listrepeated .google.devtools.cloudbuild.v1.WorkerPool.Region regions = 9;
+ *
+ * @param index The index of the value to return.
+ * @return The enum numeric value on the wire of regions at the given index.
*/
public int getRegionsValue(int index) {
return regions_.get(index);
@@ -2298,6 +2434,10 @@ public int getRegionsValue(int index) {
*
*
* repeated .google.devtools.cloudbuild.v1.WorkerPool.Region regions = 9;
+ *
+ * @param index The index of the value to return.
+ * @return The enum numeric value on the wire of regions at the given index.
+ * @return This builder for chaining.
*/
public Builder setRegionsValue(int index, int value) {
ensureRegionsIsMutable();
@@ -2317,6 +2457,9 @@ public Builder setRegionsValue(int index, int value) {
*
*
* repeated .google.devtools.cloudbuild.v1.WorkerPool.Region regions = 9;
+ *
+ * @param value The enum numeric value on the wire for regions to add.
+ * @return This builder for chaining.
*/
public Builder addRegionsValue(int value) {
ensureRegionsIsMutable();
@@ -2336,6 +2479,9 @@ public Builder addRegionsValue(int value) {
*
*
* repeated .google.devtools.cloudbuild.v1.WorkerPool.Region regions = 9;
+ *
+ * @param values The enum numeric values on the wire for regions to add.
+ * @return This builder for chaining.
*/
public Builder addAllRegionsValue(java.lang.Iterable.google.protobuf.Timestamp create_time = 11;
+ *
+ * @return Whether the createTime field is set.
*/
public boolean hasCreateTime() {
return createTimeBuilder_ != null || createTime_ != null;
@@ -2374,6 +2522,8 @@ public boolean hasCreateTime() {
*
*
* .google.protobuf.Timestamp create_time = 11;
+ *
+ * @return The createTime.
*/
public com.google.protobuf.Timestamp getCreateTime() {
if (createTimeBuilder_ == null) {
@@ -2549,6 +2699,8 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
*
*
* .google.protobuf.Timestamp update_time = 17;
+ *
+ * @return Whether the updateTime field is set.
*/
public boolean hasUpdateTime() {
return updateTimeBuilder_ != null || updateTime_ != null;
@@ -2562,6 +2714,8 @@ public boolean hasUpdateTime() {
*
*
* .google.protobuf.Timestamp update_time = 17;
+ *
+ * @return The updateTime.
*/
public com.google.protobuf.Timestamp getUpdateTime() {
if (updateTimeBuilder_ == null) {
@@ -2737,6 +2891,8 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
*
*
* .google.protobuf.Timestamp delete_time = 12;
+ *
+ * @return Whether the deleteTime field is set.
*/
public boolean hasDeleteTime() {
return deleteTimeBuilder_ != null || deleteTime_ != null;
@@ -2750,6 +2906,8 @@ public boolean hasDeleteTime() {
*
*
* .google.protobuf.Timestamp delete_time = 12;
+ *
+ * @return The deleteTime.
*/
public com.google.protobuf.Timestamp getDeleteTime() {
if (deleteTimeBuilder_ == null) {
@@ -2919,6 +3077,8 @@ public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() {
*
*
* .google.devtools.cloudbuild.v1.WorkerPool.Status status = 13;
+ *
+ * @return The enum numeric value on the wire for status.
*/
public int getStatusValue() {
return status_;
@@ -2931,6 +3091,9 @@ public int getStatusValue() {
*
*
* .google.devtools.cloudbuild.v1.WorkerPool.Status status = 13;
+ *
+ * @param value The enum numeric value on the wire for status to set.
+ * @return This builder for chaining.
*/
public Builder setStatusValue(int value) {
status_ = value;
@@ -2945,6 +3108,8 @@ public Builder setStatusValue(int value) {
*
*
* .google.devtools.cloudbuild.v1.WorkerPool.Status status = 13;
+ *
+ * @return The status.
*/
public com.google.cloudbuild.v1.WorkerPool.Status getStatus() {
@SuppressWarnings("deprecation")
@@ -2960,6 +3125,9 @@ public com.google.cloudbuild.v1.WorkerPool.Status getStatus() {
*
*
* .google.devtools.cloudbuild.v1.WorkerPool.Status status = 13;
+ *
+ * @param value The status to set.
+ * @return This builder for chaining.
*/
public Builder setStatus(com.google.cloudbuild.v1.WorkerPool.Status value) {
if (value == null) {
@@ -2978,6 +3146,8 @@ public Builder setStatus(com.google.cloudbuild.v1.WorkerPool.Status value) {
*
*
* .google.devtools.cloudbuild.v1.WorkerPool.Status status = 13;
+ *
+ * @return This builder for chaining.
*/
public Builder clearStatus() {
diff --git a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/WorkerPoolOrBuilder.java b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/WorkerPoolOrBuilder.java
index 2ccbbf6d..2e87c112 100644
--- a/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/WorkerPoolOrBuilder.java
+++ b/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/WorkerPoolOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Google LLC
+ * Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -31,6 +31,8 @@ public interface WorkerPoolOrBuilder
*
*
* string name = 14;
+ *
+ * @return The name.
*/
java.lang.String getName();
/**
@@ -41,6 +43,8 @@ public interface WorkerPoolOrBuilder
*
*
* string name = 14;
+ *
+ * @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
@@ -52,6 +56,8 @@ public interface WorkerPoolOrBuilder
*
*
* string project_id = 2;
+ *
+ * @return The projectId.
*/
java.lang.String getProjectId();
/**
@@ -62,6 +68,8 @@ public interface WorkerPoolOrBuilder
*
*
* string project_id = 2;
+ *
+ * @return The bytes for projectId.
*/
com.google.protobuf.ByteString getProjectIdBytes();
@@ -75,6 +83,8 @@ public interface WorkerPoolOrBuilder
*
*
* string service_account_email = 3;
+ *
+ * @return The serviceAccountEmail.
*/
java.lang.String getServiceAccountEmail();
/**
@@ -87,6 +97,8 @@ public interface WorkerPoolOrBuilder
*
*
* string service_account_email = 3;
+ *
+ * @return The bytes for serviceAccountEmail.
*/
com.google.protobuf.ByteString getServiceAccountEmailBytes();
@@ -98,6 +110,8 @@ public interface WorkerPoolOrBuilder
*
*
* int64 worker_count = 4;
+ *
+ * @return The workerCount.
*/
long getWorkerCount();
@@ -109,6 +123,8 @@ public interface WorkerPoolOrBuilder
*
*
* .google.devtools.cloudbuild.v1.WorkerConfig worker_config = 16;
+ *
+ * @return Whether the workerConfig field is set.
*/
boolean hasWorkerConfig();
/**
@@ -119,6 +135,8 @@ public interface WorkerPoolOrBuilder
*
*
* .google.devtools.cloudbuild.v1.WorkerConfig worker_config = 16;
+ *
+ * @return The workerConfig.
*/
com.google.cloudbuild.v1.WorkerConfig getWorkerConfig();
/**
@@ -144,6 +162,8 @@ public interface WorkerPoolOrBuilder
*
*
* repeated .google.devtools.cloudbuild.v1.WorkerPool.Region regions = 9;
+ *
+ * @return A list containing the regions.
*/
java.util.Listrepeated .google.devtools.cloudbuild.v1.WorkerPool.Region regions = 9;
+ *
+ * @return The count of regions.
*/
int getRegionsCount();
/**
@@ -172,6 +194,9 @@ public interface WorkerPoolOrBuilder
*
*
* repeated .google.devtools.cloudbuild.v1.WorkerPool.Region regions = 9;
+ *
+ * @param index The index of the element to return.
+ * @return The regions at the given index.
*/
com.google.cloudbuild.v1.WorkerPool.Region getRegions(int index);
/**
@@ -186,6 +211,8 @@ public interface WorkerPoolOrBuilder
*
*
* repeated .google.devtools.cloudbuild.v1.WorkerPool.Region regions = 9;
+ *
+ * @return A list containing the enum numeric values on the wire for regions.
*/
java.util.Listrepeated .google.devtools.cloudbuild.v1.WorkerPool.Region regions = 9;
+ *
+ * @param index The index of the value to return.
+ * @return The enum numeric value on the wire of regions at the given index.
*/
int getRegionsValue(int index);
@@ -212,6 +242,8 @@ public interface WorkerPoolOrBuilder
*
*
* .google.protobuf.Timestamp create_time = 11;
+ *
+ * @return Whether the createTime field is set.
*/
boolean hasCreateTime();
/**
@@ -223,6 +255,8 @@ public interface WorkerPoolOrBuilder
*
*
* .google.protobuf.Timestamp create_time = 11;
+ *
+ * @return The createTime.
*/
com.google.protobuf.Timestamp getCreateTime();
/**
@@ -246,6 +280,8 @@ public interface WorkerPoolOrBuilder
*
*
* .google.protobuf.Timestamp update_time = 17;
+ *
+ * @return Whether the updateTime field is set.
*/
boolean hasUpdateTime();
/**
@@ -257,6 +293,8 @@ public interface WorkerPoolOrBuilder
*
*
* .google.protobuf.Timestamp update_time = 17;
+ *
+ * @return The updateTime.
*/
com.google.protobuf.Timestamp getUpdateTime();
/**
@@ -280,6 +318,8 @@ public interface WorkerPoolOrBuilder
*
*
* .google.protobuf.Timestamp delete_time = 12;
+ *
+ * @return Whether the deleteTime field is set.
*/
boolean hasDeleteTime();
/**
@@ -291,6 +331,8 @@ public interface WorkerPoolOrBuilder
*
*
* .google.protobuf.Timestamp delete_time = 12;
+ *
+ * @return The deleteTime.
*/
com.google.protobuf.Timestamp getDeleteTime();
/**
@@ -313,6 +355,8 @@ public interface WorkerPoolOrBuilder
*
*
* .google.devtools.cloudbuild.v1.WorkerPool.Status status = 13;
+ *
+ * @return The enum numeric value on the wire for status.
*/
int getStatusValue();
/**
@@ -323,6 +367,8 @@ public interface WorkerPoolOrBuilder
*
*
* .google.devtools.cloudbuild.v1.WorkerPool.Status status = 13;
+ *
+ * @return The status.
*/
com.google.cloudbuild.v1.WorkerPool.Status getStatus();
}
diff --git a/proto-google-cloud-build-v1/src/main/proto/google/devtools/cloudbuild/v1/cloudbuild.proto b/proto-google-cloud-build-v1/src/main/proto/google/devtools/cloudbuild/v1/cloudbuild.proto
index a50ec126..aedf0547 100644
--- a/proto-google-cloud-build-v1/src/main/proto/google/devtools/cloudbuild/v1/cloudbuild.proto
+++ b/proto-google-cloud-build-v1/src/main/proto/google/devtools/cloudbuild/v1/cloudbuild.proto
@@ -1,4 +1,4 @@
-// Copyright 2019 Google LLC.
+// Copyright 2020 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -11,7 +11,6 @@
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
-//
syntax = "proto3";
@@ -271,8 +270,7 @@ message RepoSource {
// project ID requesting the build is assumed.
string project_id = 1;
- // Name of the Cloud Source Repository. If omitted, the name "default" is
- // assumed.
+ // Required. Name of the Cloud Source Repository.
string repo_name = 2;
// A revision within the Cloud Source Repository must be specified in
@@ -299,6 +297,14 @@ message RepoSource {
// This must be a relative path. If a step's `dir` is specified and is an
// absolute path, this value is ignored for that step's execution.
string dir = 7;
+
+ // Only trigger a build if the revision regex does NOT match the revision
+ // regex.
+ bool invert_regex = 8;
+
+ // Substitutions to use in a triggered build.
+ // Should only be used with RunBuildTrigger
+ map