diff --git a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsRequest.java b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsRequest.java
index fd81aa5f..0bda453f 100644
--- a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsRequest.java
+++ b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsRequest.java
@@ -46,6 +46,12 @@ private CheckValidCredsRequest() {
name_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new CheckValidCredsRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -59,7 +65,6 @@ private CheckValidCredsRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -125,6 +130,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -149,6 +156,8 @@ public java.lang.String getName() {
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -503,6 +512,8 @@ public Builder mergeFrom(
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -527,6 +538,8 @@ public java.lang.String getName() {
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -551,6 +564,9 @@ public com.google.protobuf.ByteString getNameBytes() {
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @param value The name to set.
+ * @return This builder for chaining.
*/
public Builder setName(java.lang.String value) {
if (value == null) {
@@ -573,6 +589,8 @@ public Builder setName(java.lang.String value) {
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return This builder for chaining.
*/
public Builder clearName() {
@@ -592,6 +610,9 @@ public Builder clearName() {
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @param value The bytes for name to set.
+ * @return This builder for chaining.
*/
public Builder setNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
diff --git a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsRequestOrBuilder.java b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsRequestOrBuilder.java
index 9a2979f0..0216fa69 100644
--- a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsRequestOrBuilder.java
+++ b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsRequestOrBuilder.java
@@ -35,6 +35,8 @@ public interface CheckValidCredsRequestOrBuilder
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The name.
*/
java.lang.String getName();
/**
@@ -49,6 +51,8 @@ public interface CheckValidCredsRequestOrBuilder
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
}
diff --git a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsResponse.java b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsResponse.java
index 061554db..7e09bf16 100644
--- a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsResponse.java
+++ b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsResponse.java
@@ -39,6 +39,12 @@ private CheckValidCredsResponse(com.google.protobuf.GeneratedMessageV3.Builder
private CheckValidCredsResponse() {}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new CheckValidCredsResponse();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -52,7 +58,6 @@ private CheckValidCredsResponse(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -112,6 +117,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* bool has_valid_creds = 1;
+ *
+ * @return The hasValidCreds.
*/
public boolean getHasValidCreds() {
return hasValidCreds_;
@@ -450,6 +457,8 @@ public Builder mergeFrom(
*
*
* bool has_valid_creds = 1;
+ *
+ * @return The hasValidCreds.
*/
public boolean getHasValidCreds() {
return hasValidCreds_;
@@ -462,6 +471,9 @@ public boolean getHasValidCreds() {
*
*
* bool has_valid_creds = 1;
+ *
+ * @param value The hasValidCreds to set.
+ * @return This builder for chaining.
*/
public Builder setHasValidCreds(boolean value) {
@@ -477,6 +489,8 @@ public Builder setHasValidCreds(boolean value) {
*
*
* bool has_valid_creds = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearHasValidCreds() {
diff --git a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsResponseOrBuilder.java b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsResponseOrBuilder.java
index b156f598..45b090bd 100644
--- a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsResponseOrBuilder.java
+++ b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CheckValidCredsResponseOrBuilder.java
@@ -31,6 +31,8 @@ public interface CheckValidCredsResponseOrBuilder
*
*
* bool has_valid_creds = 1;
+ *
+ * @return The hasValidCreds.
*/
boolean getHasValidCreds();
}
diff --git a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CreateTransferConfigRequest.java b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CreateTransferConfigRequest.java
index 6ed23135..e0e4ecf4 100644
--- a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CreateTransferConfigRequest.java
+++ b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CreateTransferConfigRequest.java
@@ -49,6 +49,12 @@ private CreateTransferConfigRequest() {
serviceAccountName_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new CreateTransferConfigRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -62,7 +68,6 @@ private CreateTransferConfigRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -167,6 +172,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The parent.
*/
public java.lang.String getParent() {
java.lang.Object ref = parent_;
@@ -192,6 +199,8 @@ public java.lang.String getParent() {
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The bytes for parent.
*/
public com.google.protobuf.ByteString getParentBytes() {
java.lang.Object ref = parent_;
@@ -217,6 +226,8 @@ public com.google.protobuf.ByteString getParentBytes() {
*
* .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 2 [(.google.api.field_behavior) = REQUIRED];
*
+ *
+ * @return Whether the transferConfig field is set.
*/
public boolean hasTransferConfig() {
return transferConfig_ != null;
@@ -231,6 +242,8 @@ public boolean hasTransferConfig() {
*
* .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 2 [(.google.api.field_behavior) = REQUIRED];
*
+ *
+ * @return The transferConfig.
*/
public com.google.cloud.bigquery.datatransfer.v1.TransferConfig getTransferConfig() {
return transferConfig_ == null
@@ -277,6 +290,8 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferConfig getTransferConfi
*
*
* string authorization_code = 3;
+ *
+ * @return The authorizationCode.
*/
public java.lang.String getAuthorizationCode() {
java.lang.Object ref = authorizationCode_;
@@ -311,6 +326,8 @@ public java.lang.String getAuthorizationCode() {
*
*
* string authorization_code = 3;
+ *
+ * @return The bytes for authorizationCode.
*/
public com.google.protobuf.ByteString getAuthorizationCodeBytes() {
java.lang.Object ref = authorizationCode_;
@@ -339,6 +356,8 @@ public com.google.protobuf.ByteString getAuthorizationCodeBytes() {
*
*
* string version_info = 5;
+ *
+ * @return The versionInfo.
*/
public java.lang.String getVersionInfo() {
java.lang.Object ref = versionInfo_;
@@ -364,6 +383,8 @@ public java.lang.String getVersionInfo() {
*
*
* string version_info = 5;
+ *
+ * @return The bytes for versionInfo.
*/
public com.google.protobuf.ByteString getVersionInfoBytes() {
java.lang.Object ref = versionInfo_;
@@ -390,6 +411,8 @@ public com.google.protobuf.ByteString getVersionInfoBytes() {
*
*
* string service_account_name = 6;
+ *
+ * @return The serviceAccountName.
*/
public java.lang.String getServiceAccountName() {
java.lang.Object ref = serviceAccountName_;
@@ -413,6 +436,8 @@ public java.lang.String getServiceAccountName() {
*
*
* string service_account_name = 6;
+ *
+ * @return The bytes for serviceAccountName.
*/
public com.google.protobuf.ByteString getServiceAccountNameBytes() {
java.lang.Object ref = serviceAccountName_;
@@ -848,6 +873,8 @@ public Builder mergeFrom(
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The parent.
*/
public java.lang.String getParent() {
java.lang.Object ref = parent_;
@@ -873,6 +900,8 @@ public java.lang.String getParent() {
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The bytes for parent.
*/
public com.google.protobuf.ByteString getParentBytes() {
java.lang.Object ref = parent_;
@@ -898,6 +927,9 @@ public com.google.protobuf.ByteString getParentBytes() {
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @param value The parent to set.
+ * @return This builder for chaining.
*/
public Builder setParent(java.lang.String value) {
if (value == null) {
@@ -921,6 +953,8 @@ public Builder setParent(java.lang.String value) {
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return This builder for chaining.
*/
public Builder clearParent() {
@@ -941,6 +975,9 @@ public Builder clearParent() {
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @param value The bytes for parent to set.
+ * @return This builder for chaining.
*/
public Builder setParentBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -969,6 +1006,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
*
* .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 2 [(.google.api.field_behavior) = REQUIRED];
*
+ *
+ * @return Whether the transferConfig field is set.
*/
public boolean hasTransferConfig() {
return transferConfigBuilder_ != null || transferConfig_ != null;
@@ -983,6 +1022,8 @@ public boolean hasTransferConfig() {
*
* .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 2 [(.google.api.field_behavior) = REQUIRED];
*
+ *
+ * @return The transferConfig.
*/
public com.google.cloud.bigquery.datatransfer.v1.TransferConfig getTransferConfig() {
if (transferConfigBuilder_ == null) {
@@ -1180,6 +1221,8 @@ public Builder clearTransferConfig() {
*
*
* string authorization_code = 3;
+ *
+ * @return The authorizationCode.
*/
public java.lang.String getAuthorizationCode() {
java.lang.Object ref = authorizationCode_;
@@ -1214,6 +1257,8 @@ public java.lang.String getAuthorizationCode() {
*
*
* string authorization_code = 3;
+ *
+ * @return The bytes for authorizationCode.
*/
public com.google.protobuf.ByteString getAuthorizationCodeBytes() {
java.lang.Object ref = authorizationCode_;
@@ -1248,6 +1293,9 @@ public com.google.protobuf.ByteString getAuthorizationCodeBytes() {
*
*
* string authorization_code = 3;
+ *
+ * @param value The authorizationCode to set.
+ * @return This builder for chaining.
*/
public Builder setAuthorizationCode(java.lang.String value) {
if (value == null) {
@@ -1280,6 +1328,8 @@ public Builder setAuthorizationCode(java.lang.String value) {
*
*
* string authorization_code = 3;
+ *
+ * @return This builder for chaining.
*/
public Builder clearAuthorizationCode() {
@@ -1309,6 +1359,9 @@ public Builder clearAuthorizationCode() {
*
*
* string authorization_code = 3;
+ *
+ * @param value The bytes for authorizationCode to set.
+ * @return This builder for chaining.
*/
public Builder setAuthorizationCodeBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1335,6 +1388,8 @@ public Builder setAuthorizationCodeBytes(com.google.protobuf.ByteString value) {
*
*
* string version_info = 5;
+ *
+ * @return The versionInfo.
*/
public java.lang.String getVersionInfo() {
java.lang.Object ref = versionInfo_;
@@ -1360,6 +1415,8 @@ public java.lang.String getVersionInfo() {
*
*
* string version_info = 5;
+ *
+ * @return The bytes for versionInfo.
*/
public com.google.protobuf.ByteString getVersionInfoBytes() {
java.lang.Object ref = versionInfo_;
@@ -1385,6 +1442,9 @@ public com.google.protobuf.ByteString getVersionInfoBytes() {
*
*
* string version_info = 5;
+ *
+ * @param value The versionInfo to set.
+ * @return This builder for chaining.
*/
public Builder setVersionInfo(java.lang.String value) {
if (value == null) {
@@ -1408,6 +1468,8 @@ public Builder setVersionInfo(java.lang.String value) {
*
*
* string version_info = 5;
+ *
+ * @return This builder for chaining.
*/
public Builder clearVersionInfo() {
@@ -1428,6 +1490,9 @@ public Builder clearVersionInfo() {
*
*
* string version_info = 5;
+ *
+ * @param value The bytes for versionInfo to set.
+ * @return This builder for chaining.
*/
public Builder setVersionInfoBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1452,6 +1517,8 @@ public Builder setVersionInfoBytes(com.google.protobuf.ByteString value) {
*
*
* string service_account_name = 6;
+ *
+ * @return The serviceAccountName.
*/
public java.lang.String getServiceAccountName() {
java.lang.Object ref = serviceAccountName_;
@@ -1475,6 +1542,8 @@ public java.lang.String getServiceAccountName() {
*
*
* string service_account_name = 6;
+ *
+ * @return The bytes for serviceAccountName.
*/
public com.google.protobuf.ByteString getServiceAccountNameBytes() {
java.lang.Object ref = serviceAccountName_;
@@ -1498,6 +1567,9 @@ public com.google.protobuf.ByteString getServiceAccountNameBytes() {
*
*
* string service_account_name = 6;
+ *
+ * @param value The serviceAccountName to set.
+ * @return This builder for chaining.
*/
public Builder setServiceAccountName(java.lang.String value) {
if (value == null) {
@@ -1519,6 +1591,8 @@ public Builder setServiceAccountName(java.lang.String value) {
*
*
* string service_account_name = 6;
+ *
+ * @return This builder for chaining.
*/
public Builder clearServiceAccountName() {
@@ -1537,6 +1611,9 @@ public Builder clearServiceAccountName() {
*
*
* string service_account_name = 6;
+ *
+ * @param value The bytes for serviceAccountName to set.
+ * @return This builder for chaining.
*/
public Builder setServiceAccountNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
diff --git a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CreateTransferConfigRequestOrBuilder.java b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CreateTransferConfigRequestOrBuilder.java
index 7ffb922f..076dedc6 100644
--- a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CreateTransferConfigRequestOrBuilder.java
+++ b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/CreateTransferConfigRequestOrBuilder.java
@@ -36,6 +36,8 @@ public interface CreateTransferConfigRequestOrBuilder
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The parent.
*/
java.lang.String getParent();
/**
@@ -51,6 +53,8 @@ public interface CreateTransferConfigRequestOrBuilder
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The bytes for parent.
*/
com.google.protobuf.ByteString getParentBytes();
@@ -64,6 +68,8 @@ public interface CreateTransferConfigRequestOrBuilder
*
* .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 2 [(.google.api.field_behavior) = REQUIRED];
*
+ *
+ * @return Whether the transferConfig field is set.
*/
boolean hasTransferConfig();
/**
@@ -76,6 +82,8 @@ public interface CreateTransferConfigRequestOrBuilder
*
* .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 2 [(.google.api.field_behavior) = REQUIRED];
*
+ *
+ * @return The transferConfig.
*/
com.google.cloud.bigquery.datatransfer.v1.TransferConfig getTransferConfig();
/**
@@ -113,6 +121,8 @@ public interface CreateTransferConfigRequestOrBuilder
*
*
* string authorization_code = 3;
+ *
+ * @return The authorizationCode.
*/
java.lang.String getAuthorizationCode();
/**
@@ -137,6 +147,8 @@ public interface CreateTransferConfigRequestOrBuilder
*
*
* string authorization_code = 3;
+ *
+ * @return The bytes for authorizationCode.
*/
com.google.protobuf.ByteString getAuthorizationCodeBytes();
@@ -153,6 +165,8 @@ public interface CreateTransferConfigRequestOrBuilder
*
*
* string version_info = 5;
+ *
+ * @return The versionInfo.
*/
java.lang.String getVersionInfo();
/**
@@ -168,6 +182,8 @@ public interface CreateTransferConfigRequestOrBuilder
*
*
* string version_info = 5;
+ *
+ * @return The bytes for versionInfo.
*/
com.google.protobuf.ByteString getVersionInfoBytes();
@@ -182,6 +198,8 @@ public interface CreateTransferConfigRequestOrBuilder
*
*
* string service_account_name = 6;
+ *
+ * @return The serviceAccountName.
*/
java.lang.String getServiceAccountName();
/**
@@ -195,6 +213,8 @@ public interface CreateTransferConfigRequestOrBuilder
*
*
* string service_account_name = 6;
+ *
+ * @return The bytes for serviceAccountName.
*/
com.google.protobuf.ByteString getServiceAccountNameBytes();
}
diff --git a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSource.java b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSource.java
index e5073298..b7cea1f5 100644
--- a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSource.java
+++ b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSource.java
@@ -53,6 +53,12 @@ private DataSource() {
dataRefreshType_ = 0;
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new DataSource();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -115,9 +121,9 @@ private DataSource(
case 50:
{
java.lang.String s = input.readStringRequireUtf8();
- if (!((mutable_bitField0_ & 0x00000020) != 0)) {
+ if (!((mutable_bitField0_ & 0x00000001) != 0)) {
scopes_ = new com.google.protobuf.LazyStringArrayList();
- mutable_bitField0_ |= 0x00000020;
+ mutable_bitField0_ |= 0x00000001;
}
scopes_.add(s);
break;
@@ -153,11 +159,11 @@ private DataSource(
}
case 98:
{
- if (!((mutable_bitField0_ & 0x00000800) != 0)) {
+ if (!((mutable_bitField0_ & 0x00000002) != 0)) {
parameters_ =
new java.util.ArrayList<
com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter>();
- mutable_bitField0_ |= 0x00000800;
+ mutable_bitField0_ |= 0x00000002;
}
parameters_.add(
input.readMessage(
@@ -225,10 +231,10 @@ private DataSource(
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
} finally {
- if (((mutable_bitField0_ & 0x00000020) != 0)) {
+ if (((mutable_bitField0_ & 0x00000001) != 0)) {
scopes_ = scopes_.getUnmodifiableView();
}
- if (((mutable_bitField0_ & 0x00000800) != 0)) {
+ if (((mutable_bitField0_ & 0x00000002) != 0)) {
parameters_ = java.util.Collections.unmodifiableList(parameters_);
}
this.unknownFields = unknownFields.build();
@@ -337,12 +343,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 AuthorizationType 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 AuthorizationType forNumber(int value) {
switch (value) {
case 0:
@@ -495,12 +509,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 DataRefreshType 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 DataRefreshType forNumber(int value) {
switch (value) {
case 0:
@@ -562,7 +584,6 @@ private DataRefreshType(int value) {
// @@protoc_insertion_point(enum_scope:google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType)
}
- private int bitField0_;
public static final int NAME_FIELD_NUMBER = 1;
private volatile java.lang.Object name_;
/**
@@ -573,6 +594,8 @@ private DataRefreshType(int value) {
*
*
* string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -593,6 +616,8 @@ public java.lang.String getName() {
*
*
* string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -616,6 +641,8 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* string data_source_id = 2;
+ *
+ * @return The dataSourceId.
*/
public java.lang.String getDataSourceId() {
java.lang.Object ref = dataSourceId_;
@@ -636,6 +663,8 @@ public java.lang.String getDataSourceId() {
*
*
* string data_source_id = 2;
+ *
+ * @return The bytes for dataSourceId.
*/
public com.google.protobuf.ByteString getDataSourceIdBytes() {
java.lang.Object ref = dataSourceId_;
@@ -659,6 +688,8 @@ public com.google.protobuf.ByteString getDataSourceIdBytes() {
*
*
* string display_name = 3;
+ *
+ * @return The displayName.
*/
public java.lang.String getDisplayName() {
java.lang.Object ref = displayName_;
@@ -679,6 +710,8 @@ public java.lang.String getDisplayName() {
*
*
* string display_name = 3;
+ *
+ * @return The bytes for displayName.
*/
public com.google.protobuf.ByteString getDisplayNameBytes() {
java.lang.Object ref = displayName_;
@@ -702,6 +735,8 @@ public com.google.protobuf.ByteString getDisplayNameBytes() {
*
*
* string description = 4;
+ *
+ * @return The description.
*/
public java.lang.String getDescription() {
java.lang.Object ref = description_;
@@ -722,6 +757,8 @@ public java.lang.String getDescription() {
*
*
* string description = 4;
+ *
+ * @return The bytes for description.
*/
public com.google.protobuf.ByteString getDescriptionBytes() {
java.lang.Object ref = description_;
@@ -745,6 +782,8 @@ public com.google.protobuf.ByteString getDescriptionBytes() {
*
*
* string client_id = 5;
+ *
+ * @return The clientId.
*/
public java.lang.String getClientId() {
java.lang.Object ref = clientId_;
@@ -765,6 +804,8 @@ public java.lang.String getClientId() {
*
*
* string client_id = 5;
+ *
+ * @return The bytes for clientId.
*/
public com.google.protobuf.ByteString getClientIdBytes() {
java.lang.Object ref = clientId_;
@@ -790,6 +831,8 @@ public com.google.protobuf.ByteString getClientIdBytes() {
*
*
* repeated string scopes = 6;
+ *
+ * @return A list containing the scopes.
*/
public com.google.protobuf.ProtocolStringList getScopesList() {
return scopes_;
@@ -804,6 +847,8 @@ public com.google.protobuf.ProtocolStringList getScopesList() {
*
*
* repeated string scopes = 6;
+ *
+ * @return The count of scopes.
*/
public int getScopesCount() {
return scopes_.size();
@@ -818,6 +863,9 @@ public int getScopesCount() {
*
*
* repeated string scopes = 6;
+ *
+ * @param index The index of the element to return.
+ * @return The scopes at the given index.
*/
public java.lang.String getScopes(int index) {
return scopes_.get(index);
@@ -832,6 +880,9 @@ public java.lang.String getScopes(int index) {
*
*
* repeated string scopes = 6;
+ *
+ * @param index The index of the value to return.
+ * @return The bytes of the scopes at the given index.
*/
public com.google.protobuf.ByteString getScopesBytes(int index) {
return scopes_.getByteString(index);
@@ -849,6 +900,8 @@ public com.google.protobuf.ByteString getScopesBytes(int index) {
*
* .google.cloud.bigquery.datatransfer.v1.TransferType transfer_type = 7 [deprecated = true];
*
+ *
+ * @return The enum numeric value on the wire for transferType.
*/
@java.lang.Deprecated
public int getTransferTypeValue() {
@@ -864,6 +917,8 @@ public int getTransferTypeValue() {
*
* .google.cloud.bigquery.datatransfer.v1.TransferType transfer_type = 7 [deprecated = true];
*
+ *
+ * @return The transferType.
*/
@java.lang.Deprecated
public com.google.cloud.bigquery.datatransfer.v1.TransferType getTransferType() {
@@ -885,6 +940,8 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferType getTransferType()
*
*
* bool supports_multiple_transfers = 8 [deprecated = true];
+ *
+ * @return The supportsMultipleTransfers.
*/
@java.lang.Deprecated
public boolean getSupportsMultipleTransfers() {
@@ -902,6 +959,8 @@ public boolean getSupportsMultipleTransfers() {
*
*
* int32 update_deadline_seconds = 9;
+ *
+ * @return The updateDeadlineSeconds.
*/
public int getUpdateDeadlineSeconds() {
return updateDeadlineSeconds_;
@@ -921,6 +980,8 @@ public int getUpdateDeadlineSeconds() {
*
*
* string default_schedule = 10;
+ *
+ * @return The defaultSchedule.
*/
public java.lang.String getDefaultSchedule() {
java.lang.Object ref = defaultSchedule_;
@@ -945,6 +1006,8 @@ public java.lang.String getDefaultSchedule() {
*
*
* string default_schedule = 10;
+ *
+ * @return The bytes for defaultSchedule.
*/
public com.google.protobuf.ByteString getDefaultScheduleBytes() {
java.lang.Object ref = defaultSchedule_;
@@ -970,6 +1033,8 @@ public com.google.protobuf.ByteString getDefaultScheduleBytes() {
*
*
* bool supports_custom_schedule = 11;
+ *
+ * @return The supportsCustomSchedule.
*/
public boolean getSupportsCustomSchedule() {
return supportsCustomSchedule_;
@@ -1057,6 +1122,8 @@ public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter getParamete
*
*
* string help_url = 13;
+ *
+ * @return The helpUrl.
*/
public java.lang.String getHelpUrl() {
java.lang.Object ref = helpUrl_;
@@ -1077,6 +1144,8 @@ public java.lang.String getHelpUrl() {
*
*
* string help_url = 13;
+ *
+ * @return The bytes for helpUrl.
*/
public com.google.protobuf.ByteString getHelpUrlBytes() {
java.lang.Object ref = helpUrl_;
@@ -1102,6 +1171,8 @@ public com.google.protobuf.ByteString getHelpUrlBytes() {
*
* .google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType authorization_type = 14;
*
+ *
+ * @return The enum numeric value on the wire for authorizationType.
*/
public int getAuthorizationTypeValue() {
return authorizationType_;
@@ -1116,6 +1187,8 @@ public int getAuthorizationTypeValue() {
*
* .google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType authorization_type = 14;
*
+ *
+ * @return The authorizationType.
*/
public com.google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType
getAuthorizationType() {
@@ -1142,6 +1215,8 @@ public int getAuthorizationTypeValue() {
*
* .google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType data_refresh_type = 15;
*
+ *
+ * @return The enum numeric value on the wire for dataRefreshType.
*/
public int getDataRefreshTypeValue() {
return dataRefreshType_;
@@ -1158,6 +1233,8 @@ public int getDataRefreshTypeValue() {
*
* .google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType data_refresh_type = 15;
*
+ *
+ * @return The dataRefreshType.
*/
public com.google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType getDataRefreshType() {
@SuppressWarnings("deprecation")
@@ -1180,6 +1257,8 @@ public com.google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType getD
*
*
* int32 default_data_refresh_window_days = 16;
+ *
+ * @return The defaultDataRefreshWindowDays.
*/
public int getDefaultDataRefreshWindowDays() {
return defaultDataRefreshWindowDays_;
@@ -1196,6 +1275,8 @@ public int getDefaultDataRefreshWindowDays() {
*
*
* bool manual_runs_disabled = 17;
+ *
+ * @return The manualRunsDisabled.
*/
public boolean getManualRunsDisabled() {
return manualRunsDisabled_;
@@ -1211,6 +1292,8 @@ public boolean getManualRunsDisabled() {
*
*
* .google.protobuf.Duration minimum_schedule_interval = 18;
+ *
+ * @return Whether the minimumScheduleInterval field is set.
*/
public boolean hasMinimumScheduleInterval() {
return minimumScheduleInterval_ != null;
@@ -1223,6 +1306,8 @@ public boolean hasMinimumScheduleInterval() {
*
*
* .google.protobuf.Duration minimum_schedule_interval = 18;
+ *
+ * @return The minimumScheduleInterval.
*/
public com.google.protobuf.Duration getMinimumScheduleInterval() {
return minimumScheduleInterval_ == null
@@ -1646,7 +1731,7 @@ public Builder clear() {
clientId_ = "";
scopes_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- bitField0_ = (bitField0_ & ~0x00000020);
+ bitField0_ = (bitField0_ & ~0x00000001);
transferType_ = 0;
supportsMultipleTransfers_ = false;
@@ -1659,7 +1744,7 @@ public Builder clear() {
if (parametersBuilder_ == null) {
parameters_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000800);
+ bitField0_ = (bitField0_ & ~0x00000002);
} else {
parametersBuilder_.clear();
}
@@ -1707,15 +1792,14 @@ public com.google.cloud.bigquery.datatransfer.v1.DataSource buildPartial() {
com.google.cloud.bigquery.datatransfer.v1.DataSource result =
new com.google.cloud.bigquery.datatransfer.v1.DataSource(this);
int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
result.name_ = name_;
result.dataSourceId_ = dataSourceId_;
result.displayName_ = displayName_;
result.description_ = description_;
result.clientId_ = clientId_;
- if (((bitField0_ & 0x00000020) != 0)) {
+ if (((bitField0_ & 0x00000001) != 0)) {
scopes_ = scopes_.getUnmodifiableView();
- bitField0_ = (bitField0_ & ~0x00000020);
+ bitField0_ = (bitField0_ & ~0x00000001);
}
result.scopes_ = scopes_;
result.transferType_ = transferType_;
@@ -1724,9 +1808,9 @@ public com.google.cloud.bigquery.datatransfer.v1.DataSource buildPartial() {
result.defaultSchedule_ = defaultSchedule_;
result.supportsCustomSchedule_ = supportsCustomSchedule_;
if (parametersBuilder_ == null) {
- if (((bitField0_ & 0x00000800) != 0)) {
+ if (((bitField0_ & 0x00000002) != 0)) {
parameters_ = java.util.Collections.unmodifiableList(parameters_);
- bitField0_ = (bitField0_ & ~0x00000800);
+ bitField0_ = (bitField0_ & ~0x00000002);
}
result.parameters_ = parameters_;
} else {
@@ -1742,7 +1826,6 @@ public com.google.cloud.bigquery.datatransfer.v1.DataSource buildPartial() {
} else {
result.minimumScheduleInterval_ = minimumScheduleIntervalBuilder_.build();
}
- result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@@ -1816,7 +1899,7 @@ public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.DataSource ot
if (!other.scopes_.isEmpty()) {
if (scopes_.isEmpty()) {
scopes_ = other.scopes_;
- bitField0_ = (bitField0_ & ~0x00000020);
+ bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureScopesIsMutable();
scopes_.addAll(other.scopes_);
@@ -1843,7 +1926,7 @@ public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.DataSource ot
if (!other.parameters_.isEmpty()) {
if (parameters_.isEmpty()) {
parameters_ = other.parameters_;
- bitField0_ = (bitField0_ & ~0x00000800);
+ bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureParametersIsMutable();
parameters_.addAll(other.parameters_);
@@ -1856,7 +1939,7 @@ public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.DataSource ot
parametersBuilder_.dispose();
parametersBuilder_ = null;
parameters_ = other.parameters_;
- bitField0_ = (bitField0_ & ~0x00000800);
+ bitField0_ = (bitField0_ & ~0x00000002);
parametersBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
? getParametersFieldBuilder()
@@ -1926,6 +2009,8 @@ public Builder mergeFrom(
*
*
* string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -1946,6 +2031,8 @@ public java.lang.String getName() {
*
*
* string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -1966,6 +2053,9 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @param value The name to set.
+ * @return This builder for chaining.
*/
public Builder setName(java.lang.String value) {
if (value == null) {
@@ -1984,6 +2074,8 @@ public Builder setName(java.lang.String value) {
*
*
* string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return This builder for chaining.
*/
public Builder clearName() {
@@ -1999,6 +2091,9 @@ public Builder clearName() {
*
*
* string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @param value The bytes for name to set.
+ * @return This builder for chaining.
*/
public Builder setNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -2020,6 +2115,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
*
*
* string data_source_id = 2;
+ *
+ * @return The dataSourceId.
*/
public java.lang.String getDataSourceId() {
java.lang.Object ref = dataSourceId_;
@@ -2040,6 +2137,8 @@ public java.lang.String getDataSourceId() {
*
*
* string data_source_id = 2;
+ *
+ * @return The bytes for dataSourceId.
*/
public com.google.protobuf.ByteString getDataSourceIdBytes() {
java.lang.Object ref = dataSourceId_;
@@ -2060,6 +2159,9 @@ public com.google.protobuf.ByteString getDataSourceIdBytes() {
*
*
* string data_source_id = 2;
+ *
+ * @param value The dataSourceId to set.
+ * @return This builder for chaining.
*/
public Builder setDataSourceId(java.lang.String value) {
if (value == null) {
@@ -2078,6 +2180,8 @@ public Builder setDataSourceId(java.lang.String value) {
*
*
* string data_source_id = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearDataSourceId() {
@@ -2093,6 +2197,9 @@ public Builder clearDataSourceId() {
*
*
* string data_source_id = 2;
+ *
+ * @param value The bytes for dataSourceId to set.
+ * @return This builder for chaining.
*/
public Builder setDataSourceIdBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -2114,6 +2221,8 @@ public Builder setDataSourceIdBytes(com.google.protobuf.ByteString value) {
*
*
* string display_name = 3;
+ *
+ * @return The displayName.
*/
public java.lang.String getDisplayName() {
java.lang.Object ref = displayName_;
@@ -2134,6 +2243,8 @@ public java.lang.String getDisplayName() {
*
*
* string display_name = 3;
+ *
+ * @return The bytes for displayName.
*/
public com.google.protobuf.ByteString getDisplayNameBytes() {
java.lang.Object ref = displayName_;
@@ -2154,6 +2265,9 @@ public com.google.protobuf.ByteString getDisplayNameBytes() {
*
*
* string display_name = 3;
+ *
+ * @param value The displayName to set.
+ * @return This builder for chaining.
*/
public Builder setDisplayName(java.lang.String value) {
if (value == null) {
@@ -2172,6 +2286,8 @@ public Builder setDisplayName(java.lang.String value) {
*
*
* string display_name = 3;
+ *
+ * @return This builder for chaining.
*/
public Builder clearDisplayName() {
@@ -2187,6 +2303,9 @@ public Builder clearDisplayName() {
*
*
* string display_name = 3;
+ *
+ * @param value The bytes for displayName to set.
+ * @return This builder for chaining.
*/
public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -2208,6 +2327,8 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) {
*
*
* string description = 4;
+ *
+ * @return The description.
*/
public java.lang.String getDescription() {
java.lang.Object ref = description_;
@@ -2228,6 +2349,8 @@ public java.lang.String getDescription() {
*
*
* string description = 4;
+ *
+ * @return The bytes for description.
*/
public com.google.protobuf.ByteString getDescriptionBytes() {
java.lang.Object ref = description_;
@@ -2248,6 +2371,9 @@ public com.google.protobuf.ByteString getDescriptionBytes() {
*
*
* string description = 4;
+ *
+ * @param value The description to set.
+ * @return This builder for chaining.
*/
public Builder setDescription(java.lang.String value) {
if (value == null) {
@@ -2266,6 +2392,8 @@ public Builder setDescription(java.lang.String value) {
*
*
* string description = 4;
+ *
+ * @return This builder for chaining.
*/
public Builder clearDescription() {
@@ -2281,6 +2409,9 @@ public Builder clearDescription() {
*
*
* string description = 4;
+ *
+ * @param value The bytes for description to set.
+ * @return This builder for chaining.
*/
public Builder setDescriptionBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -2302,6 +2433,8 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) {
*
*
* string client_id = 5;
+ *
+ * @return The clientId.
*/
public java.lang.String getClientId() {
java.lang.Object ref = clientId_;
@@ -2322,6 +2455,8 @@ public java.lang.String getClientId() {
*
*
* string client_id = 5;
+ *
+ * @return The bytes for clientId.
*/
public com.google.protobuf.ByteString getClientIdBytes() {
java.lang.Object ref = clientId_;
@@ -2342,6 +2477,9 @@ public com.google.protobuf.ByteString getClientIdBytes() {
*
*
* string client_id = 5;
+ *
+ * @param value The clientId to set.
+ * @return This builder for chaining.
*/
public Builder setClientId(java.lang.String value) {
if (value == null) {
@@ -2360,6 +2498,8 @@ public Builder setClientId(java.lang.String value) {
*
*
* string client_id = 5;
+ *
+ * @return This builder for chaining.
*/
public Builder clearClientId() {
@@ -2375,6 +2515,9 @@ public Builder clearClientId() {
*
*
* string client_id = 5;
+ *
+ * @param value The bytes for clientId to set.
+ * @return This builder for chaining.
*/
public Builder setClientIdBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -2391,9 +2534,9 @@ public Builder setClientIdBytes(com.google.protobuf.ByteString value) {
com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureScopesIsMutable() {
- if (!((bitField0_ & 0x00000020) != 0)) {
+ if (!((bitField0_ & 0x00000001) != 0)) {
scopes_ = new com.google.protobuf.LazyStringArrayList(scopes_);
- bitField0_ |= 0x00000020;
+ bitField0_ |= 0x00000001;
}
}
/**
@@ -2406,6 +2549,8 @@ private void ensureScopesIsMutable() {
*
*
* repeated string scopes = 6;
+ *
+ * @return A list containing the scopes.
*/
public com.google.protobuf.ProtocolStringList getScopesList() {
return scopes_.getUnmodifiableView();
@@ -2420,6 +2565,8 @@ public com.google.protobuf.ProtocolStringList getScopesList() {
*
*
* repeated string scopes = 6;
+ *
+ * @return The count of scopes.
*/
public int getScopesCount() {
return scopes_.size();
@@ -2434,6 +2581,9 @@ public int getScopesCount() {
*
*
* repeated string scopes = 6;
+ *
+ * @param index The index of the element to return.
+ * @return The scopes at the given index.
*/
public java.lang.String getScopes(int index) {
return scopes_.get(index);
@@ -2448,6 +2598,9 @@ public java.lang.String getScopes(int index) {
*
*
* repeated string scopes = 6;
+ *
+ * @param index The index of the value to return.
+ * @return The bytes of the scopes at the given index.
*/
public com.google.protobuf.ByteString getScopesBytes(int index) {
return scopes_.getByteString(index);
@@ -2462,6 +2615,10 @@ public com.google.protobuf.ByteString getScopesBytes(int index) {
*
*
* repeated string scopes = 6;
+ *
+ * @param index The index to set the value at.
+ * @param value The scopes to set.
+ * @return This builder for chaining.
*/
public Builder setScopes(int index, java.lang.String value) {
if (value == null) {
@@ -2482,6 +2639,9 @@ public Builder setScopes(int index, java.lang.String value) {
*
*
* repeated string scopes = 6;
+ *
+ * @param value The scopes to add.
+ * @return This builder for chaining.
*/
public Builder addScopes(java.lang.String value) {
if (value == null) {
@@ -2502,6 +2662,9 @@ public Builder addScopes(java.lang.String value) {
*
*
* repeated string scopes = 6;
+ *
+ * @param values The scopes to add.
+ * @return This builder for chaining.
*/
public Builder addAllScopes(java.lang.Iterable values) {
ensureScopesIsMutable();
@@ -2519,10 +2682,12 @@ public Builder addAllScopes(java.lang.Iterable values) {
*
*
* repeated string scopes = 6;
+ *
+ * @return This builder for chaining.
*/
public Builder clearScopes() {
scopes_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- bitField0_ = (bitField0_ & ~0x00000020);
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -2536,6 +2701,9 @@ public Builder clearScopes() {
*
*
* repeated string scopes = 6;
+ *
+ * @param value The bytes of the scopes to add.
+ * @return This builder for chaining.
*/
public Builder addScopesBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -2559,6 +2727,8 @@ public Builder addScopesBytes(com.google.protobuf.ByteString value) {
*
* .google.cloud.bigquery.datatransfer.v1.TransferType transfer_type = 7 [deprecated = true];
*
+ *
+ * @return The enum numeric value on the wire for transferType.
*/
@java.lang.Deprecated
public int getTransferTypeValue() {
@@ -2574,6 +2744,9 @@ public int getTransferTypeValue() {
*
* .google.cloud.bigquery.datatransfer.v1.TransferType transfer_type = 7 [deprecated = true];
*
+ *
+ * @param value The enum numeric value on the wire for transferType to set.
+ * @return This builder for chaining.
*/
@java.lang.Deprecated
public Builder setTransferTypeValue(int value) {
@@ -2591,6 +2764,8 @@ public Builder setTransferTypeValue(int value) {
*
* .google.cloud.bigquery.datatransfer.v1.TransferType transfer_type = 7 [deprecated = true];
*
+ *
+ * @return The transferType.
*/
@java.lang.Deprecated
public com.google.cloud.bigquery.datatransfer.v1.TransferType getTransferType() {
@@ -2611,6 +2786,9 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferType getTransferType()
*
* .google.cloud.bigquery.datatransfer.v1.TransferType transfer_type = 7 [deprecated = true];
*
+ *
+ * @param value The transferType to set.
+ * @return This builder for chaining.
*/
@java.lang.Deprecated
public Builder setTransferType(com.google.cloud.bigquery.datatransfer.v1.TransferType value) {
@@ -2632,6 +2810,8 @@ public Builder setTransferType(com.google.cloud.bigquery.datatransfer.v1.Transfe
*
* .google.cloud.bigquery.datatransfer.v1.TransferType transfer_type = 7 [deprecated = true];
*
+ *
+ * @return This builder for chaining.
*/
@java.lang.Deprecated
public Builder clearTransferType() {
@@ -2650,6 +2830,8 @@ public Builder clearTransferType() {
*
*
* bool supports_multiple_transfers = 8 [deprecated = true];
+ *
+ * @return The supportsMultipleTransfers.
*/
@java.lang.Deprecated
public boolean getSupportsMultipleTransfers() {
@@ -2663,6 +2845,9 @@ public boolean getSupportsMultipleTransfers() {
*
*
* bool supports_multiple_transfers = 8 [deprecated = true];
+ *
+ * @param value The supportsMultipleTransfers to set.
+ * @return This builder for chaining.
*/
@java.lang.Deprecated
public Builder setSupportsMultipleTransfers(boolean value) {
@@ -2679,6 +2864,8 @@ public Builder setSupportsMultipleTransfers(boolean value) {
*
*
* bool supports_multiple_transfers = 8 [deprecated = true];
+ *
+ * @return This builder for chaining.
*/
@java.lang.Deprecated
public Builder clearSupportsMultipleTransfers() {
@@ -2698,6 +2885,8 @@ public Builder clearSupportsMultipleTransfers() {
*
*
* int32 update_deadline_seconds = 9;
+ *
+ * @return The updateDeadlineSeconds.
*/
public int getUpdateDeadlineSeconds() {
return updateDeadlineSeconds_;
@@ -2711,6 +2900,9 @@ public int getUpdateDeadlineSeconds() {
*
*
* int32 update_deadline_seconds = 9;
+ *
+ * @param value The updateDeadlineSeconds to set.
+ * @return This builder for chaining.
*/
public Builder setUpdateDeadlineSeconds(int value) {
@@ -2727,6 +2919,8 @@ public Builder setUpdateDeadlineSeconds(int value) {
*
*
* int32 update_deadline_seconds = 9;
+ *
+ * @return This builder for chaining.
*/
public Builder clearUpdateDeadlineSeconds() {
@@ -2748,6 +2942,8 @@ public Builder clearUpdateDeadlineSeconds() {
*
*
* string default_schedule = 10;
+ *
+ * @return The defaultSchedule.
*/
public java.lang.String getDefaultSchedule() {
java.lang.Object ref = defaultSchedule_;
@@ -2772,6 +2968,8 @@ public java.lang.String getDefaultSchedule() {
*
*
* string default_schedule = 10;
+ *
+ * @return The bytes for defaultSchedule.
*/
public com.google.protobuf.ByteString getDefaultScheduleBytes() {
java.lang.Object ref = defaultSchedule_;
@@ -2796,6 +2994,9 @@ public com.google.protobuf.ByteString getDefaultScheduleBytes() {
*
*
* string default_schedule = 10;
+ *
+ * @param value The defaultSchedule to set.
+ * @return This builder for chaining.
*/
public Builder setDefaultSchedule(java.lang.String value) {
if (value == null) {
@@ -2818,6 +3019,8 @@ public Builder setDefaultSchedule(java.lang.String value) {
*
*
* string default_schedule = 10;
+ *
+ * @return This builder for chaining.
*/
public Builder clearDefaultSchedule() {
@@ -2837,6 +3040,9 @@ public Builder clearDefaultSchedule() {
*
*
* string default_schedule = 10;
+ *
+ * @param value The bytes for defaultSchedule to set.
+ * @return This builder for chaining.
*/
public Builder setDefaultScheduleBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -2860,6 +3066,8 @@ public Builder setDefaultScheduleBytes(com.google.protobuf.ByteString value) {
*
*
* bool supports_custom_schedule = 11;
+ *
+ * @return The supportsCustomSchedule.
*/
public boolean getSupportsCustomSchedule() {
return supportsCustomSchedule_;
@@ -2874,6 +3082,9 @@ public boolean getSupportsCustomSchedule() {
*
*
* bool supports_custom_schedule = 11;
+ *
+ * @param value The supportsCustomSchedule to set.
+ * @return This builder for chaining.
*/
public Builder setSupportsCustomSchedule(boolean value) {
@@ -2891,6 +3102,8 @@ public Builder setSupportsCustomSchedule(boolean value) {
*
*
* bool supports_custom_schedule = 11;
+ *
+ * @return This builder for chaining.
*/
public Builder clearSupportsCustomSchedule() {
@@ -2903,11 +3116,11 @@ public Builder clearSupportsCustomSchedule() {
parameters_ = java.util.Collections.emptyList();
private void ensureParametersIsMutable() {
- if (!((bitField0_ & 0x00000800) != 0)) {
+ if (!((bitField0_ & 0x00000002) != 0)) {
parameters_ =
new java.util.ArrayList(
parameters_);
- bitField0_ |= 0x00000800;
+ bitField0_ |= 0x00000002;
}
}
@@ -3141,7 +3354,7 @@ public Builder addAllParameters(
public Builder clearParameters() {
if (parametersBuilder_ == null) {
parameters_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000800);
+ bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
} else {
parametersBuilder_.clear();
@@ -3278,7 +3491,7 @@ public Builder removeParameters(int index) {
com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter,
com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder,
com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder>(
- parameters_, ((bitField0_ & 0x00000800) != 0), getParentForChildren(), isClean());
+ parameters_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean());
parameters_ = null;
}
return parametersBuilder_;
@@ -3293,6 +3506,8 @@ public Builder removeParameters(int index) {
*
*
* string help_url = 13;
+ *
+ * @return The helpUrl.
*/
public java.lang.String getHelpUrl() {
java.lang.Object ref = helpUrl_;
@@ -3313,6 +3528,8 @@ public java.lang.String getHelpUrl() {
*
*
* string help_url = 13;
+ *
+ * @return The bytes for helpUrl.
*/
public com.google.protobuf.ByteString getHelpUrlBytes() {
java.lang.Object ref = helpUrl_;
@@ -3333,6 +3550,9 @@ public com.google.protobuf.ByteString getHelpUrlBytes() {
*
*
* string help_url = 13;
+ *
+ * @param value The helpUrl to set.
+ * @return This builder for chaining.
*/
public Builder setHelpUrl(java.lang.String value) {
if (value == null) {
@@ -3351,6 +3571,8 @@ public Builder setHelpUrl(java.lang.String value) {
*
*
* string help_url = 13;
+ *
+ * @return This builder for chaining.
*/
public Builder clearHelpUrl() {
@@ -3366,6 +3588,9 @@ public Builder clearHelpUrl() {
*
*
* string help_url = 13;
+ *
+ * @param value The bytes for helpUrl to set.
+ * @return This builder for chaining.
*/
public Builder setHelpUrlBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -3389,6 +3614,8 @@ public Builder setHelpUrlBytes(com.google.protobuf.ByteString value) {
*
* .google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType authorization_type = 14;
*
+ *
+ * @return The enum numeric value on the wire for authorizationType.
*/
public int getAuthorizationTypeValue() {
return authorizationType_;
@@ -3403,6 +3630,9 @@ public int getAuthorizationTypeValue() {
*
* .google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType authorization_type = 14;
*
+ *
+ * @param value The enum numeric value on the wire for authorizationType to set.
+ * @return This builder for chaining.
*/
public Builder setAuthorizationTypeValue(int value) {
authorizationType_ = value;
@@ -3419,6 +3649,8 @@ public Builder setAuthorizationTypeValue(int value) {
*
* .google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType authorization_type = 14;
*
+ *
+ * @return The authorizationType.
*/
public com.google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType
getAuthorizationType() {
@@ -3440,6 +3672,9 @@ public Builder setAuthorizationTypeValue(int value) {
*
* .google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType authorization_type = 14;
*
+ *
+ * @param value The authorizationType to set.
+ * @return This builder for chaining.
*/
public Builder setAuthorizationType(
com.google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType value) {
@@ -3461,6 +3696,8 @@ public Builder setAuthorizationType(
*
* .google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType authorization_type = 14;
*
+ *
+ * @return This builder for chaining.
*/
public Builder clearAuthorizationType() {
@@ -3483,6 +3720,8 @@ public Builder clearAuthorizationType() {
*
* .google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType data_refresh_type = 15;
*
+ *
+ * @return The enum numeric value on the wire for dataRefreshType.
*/
public int getDataRefreshTypeValue() {
return dataRefreshType_;
@@ -3500,6 +3739,9 @@ public int getDataRefreshTypeValue() {
*
* .google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType data_refresh_type = 15;
*
+ *
+ * @param value The enum numeric value on the wire for dataRefreshType to set.
+ * @return This builder for chaining.
*/
public Builder setDataRefreshTypeValue(int value) {
dataRefreshType_ = value;
@@ -3519,6 +3761,8 @@ public Builder setDataRefreshTypeValue(int value) {
*
* .google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType data_refresh_type = 15;
*
+ *
+ * @return The dataRefreshType.
*/
public com.google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType
getDataRefreshType() {
@@ -3543,6 +3787,9 @@ public Builder setDataRefreshTypeValue(int value) {
*
* .google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType data_refresh_type = 15;
*
+ *
+ * @param value The dataRefreshType to set.
+ * @return This builder for chaining.
*/
public Builder setDataRefreshType(
com.google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType value) {
@@ -3567,6 +3814,8 @@ public Builder setDataRefreshType(
*
* .google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType data_refresh_type = 15;
*
+ *
+ * @return This builder for chaining.
*/
public Builder clearDataRefreshType() {
@@ -3585,6 +3834,8 @@ public Builder clearDataRefreshType() {
*
*
* int32 default_data_refresh_window_days = 16;
+ *
+ * @return The defaultDataRefreshWindowDays.
*/
public int getDefaultDataRefreshWindowDays() {
return defaultDataRefreshWindowDays_;
@@ -3598,6 +3849,9 @@ public int getDefaultDataRefreshWindowDays() {
*
*
* int32 default_data_refresh_window_days = 16;
+ *
+ * @param value The defaultDataRefreshWindowDays to set.
+ * @return This builder for chaining.
*/
public Builder setDefaultDataRefreshWindowDays(int value) {
@@ -3614,6 +3868,8 @@ public Builder setDefaultDataRefreshWindowDays(int value) {
*
*
* int32 default_data_refresh_window_days = 16;
+ *
+ * @return This builder for chaining.
*/
public Builder clearDefaultDataRefreshWindowDays() {
@@ -3632,6 +3888,8 @@ public Builder clearDefaultDataRefreshWindowDays() {
*
*
* bool manual_runs_disabled = 17;
+ *
+ * @return The manualRunsDisabled.
*/
public boolean getManualRunsDisabled() {
return manualRunsDisabled_;
@@ -3645,6 +3903,9 @@ public boolean getManualRunsDisabled() {
*
*
* bool manual_runs_disabled = 17;
+ *
+ * @param value The manualRunsDisabled to set.
+ * @return This builder for chaining.
*/
public Builder setManualRunsDisabled(boolean value) {
@@ -3661,6 +3922,8 @@ public Builder setManualRunsDisabled(boolean value) {
*
*
* bool manual_runs_disabled = 17;
+ *
+ * @return This builder for chaining.
*/
public Builder clearManualRunsDisabled() {
@@ -3683,6 +3946,8 @@ public Builder clearManualRunsDisabled() {
*
*
* .google.protobuf.Duration minimum_schedule_interval = 18;
+ *
+ * @return Whether the minimumScheduleInterval field is set.
*/
public boolean hasMinimumScheduleInterval() {
return minimumScheduleIntervalBuilder_ != null || minimumScheduleInterval_ != null;
@@ -3695,6 +3960,8 @@ public boolean hasMinimumScheduleInterval() {
*
*
* .google.protobuf.Duration minimum_schedule_interval = 18;
+ *
+ * @return The minimumScheduleInterval.
*/
public com.google.protobuf.Duration getMinimumScheduleInterval() {
if (minimumScheduleIntervalBuilder_ == null) {
diff --git a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSourceName.java b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSourceName.java
index 8a0ee889..10ba46ce 100644
--- a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSourceName.java
+++ b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSourceName.java
@@ -18,7 +18,7 @@
import com.google.api.resourcenames.ResourceName;
-// AUTO-GENERATED DOCUMENTATION AND CLASS
+/** AUTO-GENERATED DOCUMENTATION AND CLASS */
@javax.annotation.Generated("by GAPIC protoc plugin")
public abstract class DataSourceName implements ResourceName {
protected DataSourceName() {}
diff --git a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSourceNames.java b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSourceNames.java
index 03275f25..4fb66ade 100644
--- a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSourceNames.java
+++ b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSourceNames.java
@@ -16,8 +16,13 @@
package com.google.cloud.bigquery.datatransfer.v1;
-// AUTO-GENERATED DOCUMENTATION AND CLASS
+/**
+ * AUTO-GENERATED DOCUMENTATION AND CLASS
+ *
+ * @deprecated This resource name class will be removed in the next major version.
+ */
@javax.annotation.Generated("by GAPIC protoc plugin")
+@Deprecated
public class DataSourceNames {
private DataSourceNames() {}
diff --git a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSourceOrBuilder.java b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSourceOrBuilder.java
index 69c5a093..47403118 100644
--- a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSourceOrBuilder.java
+++ b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSourceOrBuilder.java
@@ -31,6 +31,8 @@ public interface DataSourceOrBuilder
*
*
* string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The name.
*/
java.lang.String getName();
/**
@@ -41,6 +43,8 @@ public interface DataSourceOrBuilder
*
*
* string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
@@ -52,6 +56,8 @@ public interface DataSourceOrBuilder
*
*
* string data_source_id = 2;
+ *
+ * @return The dataSourceId.
*/
java.lang.String getDataSourceId();
/**
@@ -62,6 +68,8 @@ public interface DataSourceOrBuilder
*
*
* string data_source_id = 2;
+ *
+ * @return The bytes for dataSourceId.
*/
com.google.protobuf.ByteString getDataSourceIdBytes();
@@ -73,6 +81,8 @@ public interface DataSourceOrBuilder
*
*
* string display_name = 3;
+ *
+ * @return The displayName.
*/
java.lang.String getDisplayName();
/**
@@ -83,6 +93,8 @@ public interface DataSourceOrBuilder
*
*
* string display_name = 3;
+ *
+ * @return The bytes for displayName.
*/
com.google.protobuf.ByteString getDisplayNameBytes();
@@ -94,6 +106,8 @@ public interface DataSourceOrBuilder
*
*
* string description = 4;
+ *
+ * @return The description.
*/
java.lang.String getDescription();
/**
@@ -104,6 +118,8 @@ public interface DataSourceOrBuilder
*
*
* string description = 4;
+ *
+ * @return The bytes for description.
*/
com.google.protobuf.ByteString getDescriptionBytes();
@@ -115,6 +131,8 @@ public interface DataSourceOrBuilder
*
*
* string client_id = 5;
+ *
+ * @return The clientId.
*/
java.lang.String getClientId();
/**
@@ -125,6 +143,8 @@ public interface DataSourceOrBuilder
*
*
* string client_id = 5;
+ *
+ * @return The bytes for clientId.
*/
com.google.protobuf.ByteString getClientIdBytes();
@@ -138,6 +158,8 @@ public interface DataSourceOrBuilder
*
*
* repeated string scopes = 6;
+ *
+ * @return A list containing the scopes.
*/
java.util.List getScopesList();
/**
@@ -150,6 +172,8 @@ public interface DataSourceOrBuilder
*
*
* repeated string scopes = 6;
+ *
+ * @return The count of scopes.
*/
int getScopesCount();
/**
@@ -162,6 +186,9 @@ public interface DataSourceOrBuilder
*
*
* repeated string scopes = 6;
+ *
+ * @param index The index of the element to return.
+ * @return The scopes at the given index.
*/
java.lang.String getScopes(int index);
/**
@@ -174,6 +201,9 @@ public interface DataSourceOrBuilder
*
*
* repeated string scopes = 6;
+ *
+ * @param index The index of the value to return.
+ * @return The bytes of the scopes at the given index.
*/
com.google.protobuf.ByteString getScopesBytes(int index);
@@ -187,6 +217,8 @@ public interface DataSourceOrBuilder
*
* .google.cloud.bigquery.datatransfer.v1.TransferType transfer_type = 7 [deprecated = true];
*
+ *
+ * @return The enum numeric value on the wire for transferType.
*/
@java.lang.Deprecated
int getTransferTypeValue();
@@ -200,6 +232,8 @@ public interface DataSourceOrBuilder
*
* .google.cloud.bigquery.datatransfer.v1.TransferType transfer_type = 7 [deprecated = true];
*
+ *
+ * @return The transferType.
*/
@java.lang.Deprecated
com.google.cloud.bigquery.datatransfer.v1.TransferType getTransferType();
@@ -212,6 +246,8 @@ public interface DataSourceOrBuilder
*
*
* bool supports_multiple_transfers = 8 [deprecated = true];
+ *
+ * @return The supportsMultipleTransfers.
*/
@java.lang.Deprecated
boolean getSupportsMultipleTransfers();
@@ -225,6 +261,8 @@ public interface DataSourceOrBuilder
*
*
* int32 update_deadline_seconds = 9;
+ *
+ * @return The updateDeadlineSeconds.
*/
int getUpdateDeadlineSeconds();
@@ -240,6 +278,8 @@ public interface DataSourceOrBuilder
*
*
* string default_schedule = 10;
+ *
+ * @return The defaultSchedule.
*/
java.lang.String getDefaultSchedule();
/**
@@ -254,6 +294,8 @@ public interface DataSourceOrBuilder
*
*
* string default_schedule = 10;
+ *
+ * @return The bytes for defaultSchedule.
*/
com.google.protobuf.ByteString getDefaultScheduleBytes();
@@ -267,6 +309,8 @@ public interface DataSourceOrBuilder
*
*
* bool supports_custom_schedule = 11;
+ *
+ * @return The supportsCustomSchedule.
*/
boolean getSupportsCustomSchedule();
@@ -336,6 +380,8 @@ com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder getParame
*
*
* string help_url = 13;
+ *
+ * @return The helpUrl.
*/
java.lang.String getHelpUrl();
/**
@@ -346,6 +392,8 @@ com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder getParame
*
*
* string help_url = 13;
+ *
+ * @return The bytes for helpUrl.
*/
com.google.protobuf.ByteString getHelpUrlBytes();
@@ -359,6 +407,8 @@ com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder getParame
*
* .google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType authorization_type = 14;
*
+ *
+ * @return The enum numeric value on the wire for authorizationType.
*/
int getAuthorizationTypeValue();
/**
@@ -371,6 +421,8 @@ com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder getParame
*
* .google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType authorization_type = 14;
*
+ *
+ * @return The authorizationType.
*/
com.google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType getAuthorizationType();
@@ -386,6 +438,8 @@ com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder getParame
*
* .google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType data_refresh_type = 15;
*
+ *
+ * @return The enum numeric value on the wire for dataRefreshType.
*/
int getDataRefreshTypeValue();
/**
@@ -400,6 +454,8 @@ com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder getParame
*
* .google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType data_refresh_type = 15;
*
+ *
+ * @return The dataRefreshType.
*/
com.google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType getDataRefreshType();
@@ -412,6 +468,8 @@ com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder getParame
*
*
* int32 default_data_refresh_window_days = 16;
+ *
+ * @return The defaultDataRefreshWindowDays.
*/
int getDefaultDataRefreshWindowDays();
@@ -424,6 +482,8 @@ com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder getParame
*
*
* bool manual_runs_disabled = 17;
+ *
+ * @return The manualRunsDisabled.
*/
boolean getManualRunsDisabled();
@@ -435,6 +495,8 @@ com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder getParame
*
*
* .google.protobuf.Duration minimum_schedule_interval = 18;
+ *
+ * @return Whether the minimumScheduleInterval field is set.
*/
boolean hasMinimumScheduleInterval();
/**
@@ -445,6 +507,8 @@ com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder getParame
*
*
* .google.protobuf.Duration minimum_schedule_interval = 18;
+ *
+ * @return The minimumScheduleInterval.
*/
com.google.protobuf.Duration getMinimumScheduleInterval();
/**
diff --git a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSourceParameter.java b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSourceParameter.java
index d73ce1cd..7bfffdbe 100644
--- a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSourceParameter.java
+++ b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSourceParameter.java
@@ -54,6 +54,12 @@ private DataSourceParameter() {
validationHelpUrl_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new DataSourceParameter();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -126,9 +132,9 @@ private DataSourceParameter(
case 66:
{
java.lang.String s = input.readStringRequireUtf8();
- if (!((mutable_bitField0_ & 0x00000080) != 0)) {
+ if (!((mutable_bitField0_ & 0x00000001) != 0)) {
allowedValues_ = new com.google.protobuf.LazyStringArrayList();
- mutable_bitField0_ |= 0x00000080;
+ mutable_bitField0_ |= 0x00000001;
}
allowedValues_.add(s);
break;
@@ -165,11 +171,11 @@ private DataSourceParameter(
}
case 90:
{
- if (!((mutable_bitField0_ & 0x00000400) != 0)) {
+ if (!((mutable_bitField0_ & 0x00000002) != 0)) {
fields_ =
new java.util.ArrayList<
com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter>();
- mutable_bitField0_ |= 0x00000400;
+ mutable_bitField0_ |= 0x00000002;
}
fields_.add(
input.readMessage(
@@ -220,10 +226,10 @@ private DataSourceParameter(
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
} finally {
- if (((mutable_bitField0_ & 0x00000080) != 0)) {
+ if (((mutable_bitField0_ & 0x00000001) != 0)) {
allowedValues_ = allowedValues_.getUnmodifiableView();
}
- if (((mutable_bitField0_ & 0x00000400) != 0)) {
+ if (((mutable_bitField0_ & 0x00000002) != 0)) {
fields_ = java.util.Collections.unmodifiableList(fields_);
}
this.unknownFields = unknownFields.build();
@@ -410,12 +416,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 Type 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 Type forNumber(int value) {
switch (value) {
case 0:
@@ -483,7 +497,6 @@ private Type(int value) {
// @@protoc_insertion_point(enum_scope:google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type)
}
- private int bitField0_;
public static final int PARAM_ID_FIELD_NUMBER = 1;
private volatile java.lang.Object paramId_;
/**
@@ -494,6 +507,8 @@ private Type(int value) {
*
*
* string param_id = 1;
+ *
+ * @return The paramId.
*/
public java.lang.String getParamId() {
java.lang.Object ref = paramId_;
@@ -514,6 +529,8 @@ public java.lang.String getParamId() {
*
*
* string param_id = 1;
+ *
+ * @return The bytes for paramId.
*/
public com.google.protobuf.ByteString getParamIdBytes() {
java.lang.Object ref = paramId_;
@@ -537,6 +554,8 @@ public com.google.protobuf.ByteString getParamIdBytes() {
*
*
* string display_name = 2;
+ *
+ * @return The displayName.
*/
public java.lang.String getDisplayName() {
java.lang.Object ref = displayName_;
@@ -557,6 +576,8 @@ public java.lang.String getDisplayName() {
*
*
* string display_name = 2;
+ *
+ * @return The bytes for displayName.
*/
public com.google.protobuf.ByteString getDisplayNameBytes() {
java.lang.Object ref = displayName_;
@@ -580,6 +601,8 @@ public com.google.protobuf.ByteString getDisplayNameBytes() {
*
*
* string description = 3;
+ *
+ * @return The description.
*/
public java.lang.String getDescription() {
java.lang.Object ref = description_;
@@ -600,6 +623,8 @@ public java.lang.String getDescription() {
*
*
* string description = 3;
+ *
+ * @return The bytes for description.
*/
public com.google.protobuf.ByteString getDescriptionBytes() {
java.lang.Object ref = description_;
@@ -623,6 +648,8 @@ public com.google.protobuf.ByteString getDescriptionBytes() {
*
*
* .google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type type = 4;
+ *
+ * @return The enum numeric value on the wire for type.
*/
public int getTypeValue() {
return type_;
@@ -635,6 +662,8 @@ public int getTypeValue() {
*
*
* .google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type type = 4;
+ *
+ * @return The type.
*/
public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type getType() {
@SuppressWarnings("deprecation")
@@ -655,6 +684,8 @@ public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type getTyp
*
*
* bool required = 5;
+ *
+ * @return The required.
*/
public boolean getRequired() {
return required_;
@@ -670,6 +701,8 @@ public boolean getRequired() {
*
*
* bool repeated = 6;
+ *
+ * @return The repeated.
*/
public boolean getRepeated() {
return repeated_;
@@ -685,6 +718,8 @@ public boolean getRepeated() {
*
*
* string validation_regex = 7;
+ *
+ * @return The validationRegex.
*/
public java.lang.String getValidationRegex() {
java.lang.Object ref = validationRegex_;
@@ -705,6 +740,8 @@ public java.lang.String getValidationRegex() {
*
*
* string validation_regex = 7;
+ *
+ * @return The bytes for validationRegex.
*/
public com.google.protobuf.ByteString getValidationRegexBytes() {
java.lang.Object ref = validationRegex_;
@@ -728,6 +765,8 @@ public com.google.protobuf.ByteString getValidationRegexBytes() {
*
*
* repeated string allowed_values = 8;
+ *
+ * @return A list containing the allowedValues.
*/
public com.google.protobuf.ProtocolStringList getAllowedValuesList() {
return allowedValues_;
@@ -740,6 +779,8 @@ public com.google.protobuf.ProtocolStringList getAllowedValuesList() {
*
*
* repeated string allowed_values = 8;
+ *
+ * @return The count of allowedValues.
*/
public int getAllowedValuesCount() {
return allowedValues_.size();
@@ -752,6 +793,9 @@ public int getAllowedValuesCount() {
*
*
* repeated string allowed_values = 8;
+ *
+ * @param index The index of the element to return.
+ * @return The allowedValues at the given index.
*/
public java.lang.String getAllowedValues(int index) {
return allowedValues_.get(index);
@@ -764,6 +808,9 @@ public java.lang.String getAllowedValues(int index) {
*
*
* repeated string allowed_values = 8;
+ *
+ * @param index The index of the value to return.
+ * @return The bytes of the allowedValues at the given index.
*/
public com.google.protobuf.ByteString getAllowedValuesBytes(int index) {
return allowedValues_.getByteString(index);
@@ -779,6 +826,8 @@ public com.google.protobuf.ByteString getAllowedValuesBytes(int index) {
*
*
* .google.protobuf.DoubleValue min_value = 9;
+ *
+ * @return Whether the minValue field is set.
*/
public boolean hasMinValue() {
return minValue_ != null;
@@ -791,6 +840,8 @@ public boolean hasMinValue() {
*
*
* .google.protobuf.DoubleValue min_value = 9;
+ *
+ * @return The minValue.
*/
public com.google.protobuf.DoubleValue getMinValue() {
return minValue_ == null ? com.google.protobuf.DoubleValue.getDefaultInstance() : minValue_;
@@ -818,6 +869,8 @@ public com.google.protobuf.DoubleValueOrBuilder getMinValueOrBuilder() {
*
*
* .google.protobuf.DoubleValue max_value = 10;
+ *
+ * @return Whether the maxValue field is set.
*/
public boolean hasMaxValue() {
return maxValue_ != null;
@@ -830,6 +883,8 @@ public boolean hasMaxValue() {
*
*
* .google.protobuf.DoubleValue max_value = 10;
+ *
+ * @return The maxValue.
*/
public com.google.protobuf.DoubleValue getMaxValue() {
return maxValue_ == null ? com.google.protobuf.DoubleValue.getDefaultInstance() : maxValue_;
@@ -925,6 +980,8 @@ public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder ge
*
*
* string validation_description = 12;
+ *
+ * @return The validationDescription.
*/
public java.lang.String getValidationDescription() {
java.lang.Object ref = validationDescription_;
@@ -946,6 +1003,8 @@ public java.lang.String getValidationDescription() {
*
*
* string validation_description = 12;
+ *
+ * @return The bytes for validationDescription.
*/
public com.google.protobuf.ByteString getValidationDescriptionBytes() {
java.lang.Object ref = validationDescription_;
@@ -969,6 +1028,8 @@ public com.google.protobuf.ByteString getValidationDescriptionBytes() {
*
*
* string validation_help_url = 13;
+ *
+ * @return The validationHelpUrl.
*/
public java.lang.String getValidationHelpUrl() {
java.lang.Object ref = validationHelpUrl_;
@@ -989,6 +1050,8 @@ public java.lang.String getValidationHelpUrl() {
*
*
* string validation_help_url = 13;
+ *
+ * @return The bytes for validationHelpUrl.
*/
public com.google.protobuf.ByteString getValidationHelpUrlBytes() {
java.lang.Object ref = validationHelpUrl_;
@@ -1012,6 +1075,8 @@ public com.google.protobuf.ByteString getValidationHelpUrlBytes() {
*
*
* bool immutable = 14;
+ *
+ * @return The immutable.
*/
public boolean getImmutable() {
return immutable_;
@@ -1027,6 +1092,8 @@ public boolean getImmutable() {
*
*
* bool recurse = 15;
+ *
+ * @return The recurse.
*/
public boolean getRecurse() {
return recurse_;
@@ -1043,6 +1110,8 @@ public boolean getRecurse() {
*
*
* bool deprecated = 20;
+ *
+ * @return The deprecated.
*/
public boolean getDeprecated() {
return deprecated_;
@@ -1433,7 +1502,7 @@ public Builder clear() {
validationRegex_ = "";
allowedValues_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- bitField0_ = (bitField0_ & ~0x00000080);
+ bitField0_ = (bitField0_ & ~0x00000001);
if (minValueBuilder_ == null) {
minValue_ = null;
} else {
@@ -1448,7 +1517,7 @@ public Builder clear() {
}
if (fieldsBuilder_ == null) {
fields_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000400);
+ bitField0_ = (bitField0_ & ~0x00000002);
} else {
fieldsBuilder_.clear();
}
@@ -1491,7 +1560,6 @@ public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter buildPartia
com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter result =
new com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter(this);
int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
result.paramId_ = paramId_;
result.displayName_ = displayName_;
result.description_ = description_;
@@ -1499,9 +1567,9 @@ public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter buildPartia
result.required_ = required_;
result.repeated_ = repeated_;
result.validationRegex_ = validationRegex_;
- if (((bitField0_ & 0x00000080) != 0)) {
+ if (((bitField0_ & 0x00000001) != 0)) {
allowedValues_ = allowedValues_.getUnmodifiableView();
- bitField0_ = (bitField0_ & ~0x00000080);
+ bitField0_ = (bitField0_ & ~0x00000001);
}
result.allowedValues_ = allowedValues_;
if (minValueBuilder_ == null) {
@@ -1515,9 +1583,9 @@ public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter buildPartia
result.maxValue_ = maxValueBuilder_.build();
}
if (fieldsBuilder_ == null) {
- if (((bitField0_ & 0x00000400) != 0)) {
+ if (((bitField0_ & 0x00000002) != 0)) {
fields_ = java.util.Collections.unmodifiableList(fields_);
- bitField0_ = (bitField0_ & ~0x00000400);
+ bitField0_ = (bitField0_ & ~0x00000002);
}
result.fields_ = fields_;
} else {
@@ -1528,7 +1596,6 @@ public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter buildPartia
result.immutable_ = immutable_;
result.recurse_ = recurse_;
result.deprecated_ = deprecated_;
- result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@@ -1608,7 +1675,7 @@ public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.DataSourcePar
if (!other.allowedValues_.isEmpty()) {
if (allowedValues_.isEmpty()) {
allowedValues_ = other.allowedValues_;
- bitField0_ = (bitField0_ & ~0x00000080);
+ bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureAllowedValuesIsMutable();
allowedValues_.addAll(other.allowedValues_);
@@ -1625,7 +1692,7 @@ public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.DataSourcePar
if (!other.fields_.isEmpty()) {
if (fields_.isEmpty()) {
fields_ = other.fields_;
- bitField0_ = (bitField0_ & ~0x00000400);
+ bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureFieldsIsMutable();
fields_.addAll(other.fields_);
@@ -1638,7 +1705,7 @@ public Builder mergeFrom(com.google.cloud.bigquery.datatransfer.v1.DataSourcePar
fieldsBuilder_.dispose();
fieldsBuilder_ = null;
fields_ = other.fields_;
- bitField0_ = (bitField0_ & ~0x00000400);
+ bitField0_ = (bitField0_ & ~0x00000002);
fieldsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
? getFieldsFieldBuilder()
@@ -1707,6 +1774,8 @@ public Builder mergeFrom(
*
*
* string param_id = 1;
+ *
+ * @return The paramId.
*/
public java.lang.String getParamId() {
java.lang.Object ref = paramId_;
@@ -1727,6 +1796,8 @@ public java.lang.String getParamId() {
*
*
* string param_id = 1;
+ *
+ * @return The bytes for paramId.
*/
public com.google.protobuf.ByteString getParamIdBytes() {
java.lang.Object ref = paramId_;
@@ -1747,6 +1818,9 @@ public com.google.protobuf.ByteString getParamIdBytes() {
*
*
* string param_id = 1;
+ *
+ * @param value The paramId to set.
+ * @return This builder for chaining.
*/
public Builder setParamId(java.lang.String value) {
if (value == null) {
@@ -1765,6 +1839,8 @@ public Builder setParamId(java.lang.String value) {
*
*
* string param_id = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearParamId() {
@@ -1780,6 +1856,9 @@ public Builder clearParamId() {
*
*
* string param_id = 1;
+ *
+ * @param value The bytes for paramId to set.
+ * @return This builder for chaining.
*/
public Builder setParamIdBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1801,6 +1880,8 @@ public Builder setParamIdBytes(com.google.protobuf.ByteString value) {
*
*
* string display_name = 2;
+ *
+ * @return The displayName.
*/
public java.lang.String getDisplayName() {
java.lang.Object ref = displayName_;
@@ -1821,6 +1902,8 @@ public java.lang.String getDisplayName() {
*
*
* string display_name = 2;
+ *
+ * @return The bytes for displayName.
*/
public com.google.protobuf.ByteString getDisplayNameBytes() {
java.lang.Object ref = displayName_;
@@ -1841,6 +1924,9 @@ public com.google.protobuf.ByteString getDisplayNameBytes() {
*
*
* string display_name = 2;
+ *
+ * @param value The displayName to set.
+ * @return This builder for chaining.
*/
public Builder setDisplayName(java.lang.String value) {
if (value == null) {
@@ -1859,6 +1945,8 @@ public Builder setDisplayName(java.lang.String value) {
*
*
* string display_name = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearDisplayName() {
@@ -1874,6 +1962,9 @@ public Builder clearDisplayName() {
*
*
* string display_name = 2;
+ *
+ * @param value The bytes for displayName to set.
+ * @return This builder for chaining.
*/
public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1895,6 +1986,8 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) {
*
*
* string description = 3;
+ *
+ * @return The description.
*/
public java.lang.String getDescription() {
java.lang.Object ref = description_;
@@ -1915,6 +2008,8 @@ public java.lang.String getDescription() {
*
*
* string description = 3;
+ *
+ * @return The bytes for description.
*/
public com.google.protobuf.ByteString getDescriptionBytes() {
java.lang.Object ref = description_;
@@ -1935,6 +2030,9 @@ public com.google.protobuf.ByteString getDescriptionBytes() {
*
*
* string description = 3;
+ *
+ * @param value The description to set.
+ * @return This builder for chaining.
*/
public Builder setDescription(java.lang.String value) {
if (value == null) {
@@ -1953,6 +2051,8 @@ public Builder setDescription(java.lang.String value) {
*
*
* string description = 3;
+ *
+ * @return This builder for chaining.
*/
public Builder clearDescription() {
@@ -1968,6 +2068,9 @@ public Builder clearDescription() {
*
*
* string description = 3;
+ *
+ * @param value The bytes for description to set.
+ * @return This builder for chaining.
*/
public Builder setDescriptionBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1989,6 +2092,8 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) {
*
*
* .google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type type = 4;
+ *
+ * @return The enum numeric value on the wire for type.
*/
public int getTypeValue() {
return type_;
@@ -2001,6 +2106,9 @@ public int getTypeValue() {
*
*
* .google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type type = 4;
+ *
+ * @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;
@@ -2015,6 +2123,8 @@ public Builder setTypeValue(int value) {
*
*
* .google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type type = 4;
+ *
+ * @return The type.
*/
public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type getType() {
@SuppressWarnings("deprecation")
@@ -2032,6 +2142,9 @@ public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type getTyp
*
*
* .google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type type = 4;
+ *
+ * @param value The type to set.
+ * @return This builder for chaining.
*/
public Builder setType(
com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type value) {
@@ -2051,6 +2164,8 @@ public Builder setType(
*
*
* .google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type type = 4;
+ *
+ * @return This builder for chaining.
*/
public Builder clearType() {
@@ -2068,6 +2183,8 @@ public Builder clearType() {
*
*
* bool required = 5;
+ *
+ * @return The required.
*/
public boolean getRequired() {
return required_;
@@ -2080,6 +2197,9 @@ public boolean getRequired() {
*
*
* bool required = 5;
+ *
+ * @param value The required to set.
+ * @return This builder for chaining.
*/
public Builder setRequired(boolean value) {
@@ -2095,6 +2215,8 @@ public Builder setRequired(boolean value) {
*
*
* bool required = 5;
+ *
+ * @return This builder for chaining.
*/
public Builder clearRequired() {
@@ -2112,6 +2234,8 @@ public Builder clearRequired() {
*
*
* bool repeated = 6;
+ *
+ * @return The repeated.
*/
public boolean getRepeated() {
return repeated_;
@@ -2124,6 +2248,9 @@ public boolean getRepeated() {
*
*
* bool repeated = 6;
+ *
+ * @param value The repeated to set.
+ * @return This builder for chaining.
*/
public Builder setRepeated(boolean value) {
@@ -2139,6 +2266,8 @@ public Builder setRepeated(boolean value) {
*
*
* bool repeated = 6;
+ *
+ * @return This builder for chaining.
*/
public Builder clearRepeated() {
@@ -2156,6 +2285,8 @@ public Builder clearRepeated() {
*
*
* string validation_regex = 7;
+ *
+ * @return The validationRegex.
*/
public java.lang.String getValidationRegex() {
java.lang.Object ref = validationRegex_;
@@ -2176,6 +2307,8 @@ public java.lang.String getValidationRegex() {
*
*
* string validation_regex = 7;
+ *
+ * @return The bytes for validationRegex.
*/
public com.google.protobuf.ByteString getValidationRegexBytes() {
java.lang.Object ref = validationRegex_;
@@ -2196,6 +2329,9 @@ public com.google.protobuf.ByteString getValidationRegexBytes() {
*
*
* string validation_regex = 7;
+ *
+ * @param value The validationRegex to set.
+ * @return This builder for chaining.
*/
public Builder setValidationRegex(java.lang.String value) {
if (value == null) {
@@ -2214,6 +2350,8 @@ public Builder setValidationRegex(java.lang.String value) {
*
*
* string validation_regex = 7;
+ *
+ * @return This builder for chaining.
*/
public Builder clearValidationRegex() {
@@ -2229,6 +2367,9 @@ public Builder clearValidationRegex() {
*
*
* string validation_regex = 7;
+ *
+ * @param value The bytes for validationRegex to set.
+ * @return This builder for chaining.
*/
public Builder setValidationRegexBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -2245,9 +2386,9 @@ public Builder setValidationRegexBytes(com.google.protobuf.ByteString value) {
com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureAllowedValuesIsMutable() {
- if (!((bitField0_ & 0x00000080) != 0)) {
+ if (!((bitField0_ & 0x00000001) != 0)) {
allowedValues_ = new com.google.protobuf.LazyStringArrayList(allowedValues_);
- bitField0_ |= 0x00000080;
+ bitField0_ |= 0x00000001;
}
}
/**
@@ -2258,6 +2399,8 @@ private void ensureAllowedValuesIsMutable() {
*
*
* repeated string allowed_values = 8;
+ *
+ * @return A list containing the allowedValues.
*/
public com.google.protobuf.ProtocolStringList getAllowedValuesList() {
return allowedValues_.getUnmodifiableView();
@@ -2270,6 +2413,8 @@ public com.google.protobuf.ProtocolStringList getAllowedValuesList() {
*
*
* repeated string allowed_values = 8;
+ *
+ * @return The count of allowedValues.
*/
public int getAllowedValuesCount() {
return allowedValues_.size();
@@ -2282,6 +2427,9 @@ public int getAllowedValuesCount() {
*
*
* repeated string allowed_values = 8;
+ *
+ * @param index The index of the element to return.
+ * @return The allowedValues at the given index.
*/
public java.lang.String getAllowedValues(int index) {
return allowedValues_.get(index);
@@ -2294,6 +2442,9 @@ public java.lang.String getAllowedValues(int index) {
*
*
* repeated string allowed_values = 8;
+ *
+ * @param index The index of the value to return.
+ * @return The bytes of the allowedValues at the given index.
*/
public com.google.protobuf.ByteString getAllowedValuesBytes(int index) {
return allowedValues_.getByteString(index);
@@ -2306,6 +2457,10 @@ public com.google.protobuf.ByteString getAllowedValuesBytes(int index) {
*
*
* repeated string allowed_values = 8;
+ *
+ * @param index The index to set the value at.
+ * @param value The allowedValues to set.
+ * @return This builder for chaining.
*/
public Builder setAllowedValues(int index, java.lang.String value) {
if (value == null) {
@@ -2324,6 +2479,9 @@ public Builder setAllowedValues(int index, java.lang.String value) {
*
*
* repeated string allowed_values = 8;
+ *
+ * @param value The allowedValues to add.
+ * @return This builder for chaining.
*/
public Builder addAllowedValues(java.lang.String value) {
if (value == null) {
@@ -2342,6 +2500,9 @@ public Builder addAllowedValues(java.lang.String value) {
*
*
* repeated string allowed_values = 8;
+ *
+ * @param values The allowedValues to add.
+ * @return This builder for chaining.
*/
public Builder addAllAllowedValues(java.lang.Iterable values) {
ensureAllowedValuesIsMutable();
@@ -2357,10 +2518,12 @@ public Builder addAllAllowedValues(java.lang.Iterable values)
*
*
* repeated string allowed_values = 8;
+ *
+ * @return This builder for chaining.
*/
public Builder clearAllowedValues() {
allowedValues_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- bitField0_ = (bitField0_ & ~0x00000080);
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -2372,6 +2535,9 @@ public Builder clearAllowedValues() {
*
*
* repeated string allowed_values = 8;
+ *
+ * @param value The bytes of the allowedValues to add.
+ * @return This builder for chaining.
*/
public Builder addAllowedValuesBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -2398,6 +2564,8 @@ public Builder addAllowedValuesBytes(com.google.protobuf.ByteString value) {
*
*
* .google.protobuf.DoubleValue min_value = 9;
+ *
+ * @return Whether the minValue field is set.
*/
public boolean hasMinValue() {
return minValueBuilder_ != null || minValue_ != null;
@@ -2410,6 +2578,8 @@ public boolean hasMinValue() {
*
*
* .google.protobuf.DoubleValue min_value = 9;
+ *
+ * @return The minValue.
*/
public com.google.protobuf.DoubleValue getMinValue() {
if (minValueBuilder_ == null) {
@@ -2573,6 +2743,8 @@ public com.google.protobuf.DoubleValueOrBuilder getMinValueOrBuilder() {
*
*
* .google.protobuf.DoubleValue max_value = 10;
+ *
+ * @return Whether the maxValue field is set.
*/
public boolean hasMaxValue() {
return maxValueBuilder_ != null || maxValue_ != null;
@@ -2585,6 +2757,8 @@ public boolean hasMaxValue() {
*
*
* .google.protobuf.DoubleValue max_value = 10;
+ *
+ * @return The maxValue.
*/
public com.google.protobuf.DoubleValue getMaxValue() {
if (maxValueBuilder_ == null) {
@@ -2738,11 +2912,11 @@ public com.google.protobuf.DoubleValueOrBuilder getMaxValueOrBuilder() {
java.util.Collections.emptyList();
private void ensureFieldsIsMutable() {
- if (!((bitField0_ & 0x00000400) != 0)) {
+ if (!((bitField0_ & 0x00000002) != 0)) {
fields_ =
new java.util.ArrayList(
fields_);
- bitField0_ |= 0x00000400;
+ bitField0_ |= 0x00000002;
}
}
@@ -2964,7 +3138,7 @@ public Builder addAllFields(
public Builder clearFields() {
if (fieldsBuilder_ == null) {
fields_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000400);
+ bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
} else {
fieldsBuilder_.clear();
@@ -3094,7 +3268,7 @@ public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder add
com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter,
com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder,
com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder>(
- fields_, ((bitField0_ & 0x00000400) != 0), getParentForChildren(), isClean());
+ fields_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean());
fields_ = null;
}
return fieldsBuilder_;
@@ -3110,6 +3284,8 @@ public com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Builder add
*
*
* string validation_description = 12;
+ *
+ * @return The validationDescription.
*/
public java.lang.String getValidationDescription() {
java.lang.Object ref = validationDescription_;
@@ -3131,6 +3307,8 @@ public java.lang.String getValidationDescription() {
*
*
* string validation_description = 12;
+ *
+ * @return The bytes for validationDescription.
*/
public com.google.protobuf.ByteString getValidationDescriptionBytes() {
java.lang.Object ref = validationDescription_;
@@ -3152,6 +3330,9 @@ public com.google.protobuf.ByteString getValidationDescriptionBytes() {
*
*
* string validation_description = 12;
+ *
+ * @param value The validationDescription to set.
+ * @return This builder for chaining.
*/
public Builder setValidationDescription(java.lang.String value) {
if (value == null) {
@@ -3171,6 +3352,8 @@ public Builder setValidationDescription(java.lang.String value) {
*
*
* string validation_description = 12;
+ *
+ * @return This builder for chaining.
*/
public Builder clearValidationDescription() {
@@ -3187,6 +3370,9 @@ public Builder clearValidationDescription() {
*
*
* string validation_description = 12;
+ *
+ * @param value The bytes for validationDescription to set.
+ * @return This builder for chaining.
*/
public Builder setValidationDescriptionBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -3208,6 +3394,8 @@ public Builder setValidationDescriptionBytes(com.google.protobuf.ByteString valu
*
*
* string validation_help_url = 13;
+ *
+ * @return The validationHelpUrl.
*/
public java.lang.String getValidationHelpUrl() {
java.lang.Object ref = validationHelpUrl_;
@@ -3228,6 +3416,8 @@ public java.lang.String getValidationHelpUrl() {
*
*
* string validation_help_url = 13;
+ *
+ * @return The bytes for validationHelpUrl.
*/
public com.google.protobuf.ByteString getValidationHelpUrlBytes() {
java.lang.Object ref = validationHelpUrl_;
@@ -3248,6 +3438,9 @@ public com.google.protobuf.ByteString getValidationHelpUrlBytes() {
*
*
* string validation_help_url = 13;
+ *
+ * @param value The validationHelpUrl to set.
+ * @return This builder for chaining.
*/
public Builder setValidationHelpUrl(java.lang.String value) {
if (value == null) {
@@ -3266,6 +3459,8 @@ public Builder setValidationHelpUrl(java.lang.String value) {
*
*
* string validation_help_url = 13;
+ *
+ * @return This builder for chaining.
*/
public Builder clearValidationHelpUrl() {
@@ -3281,6 +3476,9 @@ public Builder clearValidationHelpUrl() {
*
*
* string validation_help_url = 13;
+ *
+ * @param value The bytes for validationHelpUrl to set.
+ * @return This builder for chaining.
*/
public Builder setValidationHelpUrlBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -3302,6 +3500,8 @@ public Builder setValidationHelpUrlBytes(com.google.protobuf.ByteString value) {
*
*
* bool immutable = 14;
+ *
+ * @return The immutable.
*/
public boolean getImmutable() {
return immutable_;
@@ -3314,6 +3514,9 @@ public boolean getImmutable() {
*
*
* bool immutable = 14;
+ *
+ * @param value The immutable to set.
+ * @return This builder for chaining.
*/
public Builder setImmutable(boolean value) {
@@ -3329,6 +3532,8 @@ public Builder setImmutable(boolean value) {
*
*
* bool immutable = 14;
+ *
+ * @return This builder for chaining.
*/
public Builder clearImmutable() {
@@ -3346,6 +3551,8 @@ public Builder clearImmutable() {
*
*
* bool recurse = 15;
+ *
+ * @return The recurse.
*/
public boolean getRecurse() {
return recurse_;
@@ -3358,6 +3565,9 @@ public boolean getRecurse() {
*
*
* bool recurse = 15;
+ *
+ * @param value The recurse to set.
+ * @return This builder for chaining.
*/
public Builder setRecurse(boolean value) {
@@ -3373,6 +3583,8 @@ public Builder setRecurse(boolean value) {
*
*
* bool recurse = 15;
+ *
+ * @return This builder for chaining.
*/
public Builder clearRecurse() {
@@ -3391,6 +3603,8 @@ public Builder clearRecurse() {
*
*
* bool deprecated = 20;
+ *
+ * @return The deprecated.
*/
public boolean getDeprecated() {
return deprecated_;
@@ -3404,6 +3618,9 @@ public boolean getDeprecated() {
*
*
* bool deprecated = 20;
+ *
+ * @param value The deprecated to set.
+ * @return This builder for chaining.
*/
public Builder setDeprecated(boolean value) {
@@ -3420,6 +3637,8 @@ public Builder setDeprecated(boolean value) {
*
*
* bool deprecated = 20;
+ *
+ * @return This builder for chaining.
*/
public Builder clearDeprecated() {
diff --git a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSourceParameterOrBuilder.java b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSourceParameterOrBuilder.java
index 7f27abbd..54eba5fa 100644
--- a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSourceParameterOrBuilder.java
+++ b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSourceParameterOrBuilder.java
@@ -31,6 +31,8 @@ public interface DataSourceParameterOrBuilder
*
*
* string param_id = 1;
+ *
+ * @return The paramId.
*/
java.lang.String getParamId();
/**
@@ -41,6 +43,8 @@ public interface DataSourceParameterOrBuilder
*
*
* string param_id = 1;
+ *
+ * @return The bytes for paramId.
*/
com.google.protobuf.ByteString getParamIdBytes();
@@ -52,6 +56,8 @@ public interface DataSourceParameterOrBuilder
*
*
* string display_name = 2;
+ *
+ * @return The displayName.
*/
java.lang.String getDisplayName();
/**
@@ -62,6 +68,8 @@ public interface DataSourceParameterOrBuilder
*
*
* string display_name = 2;
+ *
+ * @return The bytes for displayName.
*/
com.google.protobuf.ByteString getDisplayNameBytes();
@@ -73,6 +81,8 @@ public interface DataSourceParameterOrBuilder
*
*
* string description = 3;
+ *
+ * @return The description.
*/
java.lang.String getDescription();
/**
@@ -83,6 +93,8 @@ public interface DataSourceParameterOrBuilder
*
*
* string description = 3;
+ *
+ * @return The bytes for description.
*/
com.google.protobuf.ByteString getDescriptionBytes();
@@ -94,6 +106,8 @@ public interface DataSourceParameterOrBuilder
*
*
* .google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type type = 4;
+ *
+ * @return The enum numeric value on the wire for type.
*/
int getTypeValue();
/**
@@ -104,6 +118,8 @@ public interface DataSourceParameterOrBuilder
*
*
* .google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type type = 4;
+ *
+ * @return The type.
*/
com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type getType();
@@ -115,6 +131,8 @@ public interface DataSourceParameterOrBuilder
*
*
* bool required = 5;
+ *
+ * @return The required.
*/
boolean getRequired();
@@ -126,6 +144,8 @@ public interface DataSourceParameterOrBuilder
*
*
* bool repeated = 6;
+ *
+ * @return The repeated.
*/
boolean getRepeated();
@@ -137,6 +157,8 @@ public interface DataSourceParameterOrBuilder
*
*
* string validation_regex = 7;
+ *
+ * @return The validationRegex.
*/
java.lang.String getValidationRegex();
/**
@@ -147,6 +169,8 @@ public interface DataSourceParameterOrBuilder
*
*
* string validation_regex = 7;
+ *
+ * @return The bytes for validationRegex.
*/
com.google.protobuf.ByteString getValidationRegexBytes();
@@ -158,6 +182,8 @@ public interface DataSourceParameterOrBuilder
*
*
* repeated string allowed_values = 8;
+ *
+ * @return A list containing the allowedValues.
*/
java.util.List getAllowedValuesList();
/**
@@ -168,6 +194,8 @@ public interface DataSourceParameterOrBuilder
*
*
* repeated string allowed_values = 8;
+ *
+ * @return The count of allowedValues.
*/
int getAllowedValuesCount();
/**
@@ -178,6 +206,9 @@ public interface DataSourceParameterOrBuilder
*
*
* repeated string allowed_values = 8;
+ *
+ * @param index The index of the element to return.
+ * @return The allowedValues at the given index.
*/
java.lang.String getAllowedValues(int index);
/**
@@ -188,6 +219,9 @@ public interface DataSourceParameterOrBuilder
*
*
* repeated string allowed_values = 8;
+ *
+ * @param index The index of the value to return.
+ * @return The bytes of the allowedValues at the given index.
*/
com.google.protobuf.ByteString getAllowedValuesBytes(int index);
@@ -199,6 +233,8 @@ public interface DataSourceParameterOrBuilder
*
*
* .google.protobuf.DoubleValue min_value = 9;
+ *
+ * @return Whether the minValue field is set.
*/
boolean hasMinValue();
/**
@@ -209,6 +245,8 @@ public interface DataSourceParameterOrBuilder
*
*
* .google.protobuf.DoubleValue min_value = 9;
+ *
+ * @return The minValue.
*/
com.google.protobuf.DoubleValue getMinValue();
/**
@@ -230,6 +268,8 @@ public interface DataSourceParameterOrBuilder
*
*
* .google.protobuf.DoubleValue max_value = 10;
+ *
+ * @return Whether the maxValue field is set.
*/
boolean hasMaxValue();
/**
@@ -240,6 +280,8 @@ public interface DataSourceParameterOrBuilder
*
*
* .google.protobuf.DoubleValue max_value = 10;
+ *
+ * @return The maxValue.
*/
com.google.protobuf.DoubleValue getMaxValue();
/**
@@ -315,6 +357,8 @@ com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder getFields
*
*
* string validation_description = 12;
+ *
+ * @return The validationDescription.
*/
java.lang.String getValidationDescription();
/**
@@ -326,6 +370,8 @@ com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder getFields
*
*
* string validation_description = 12;
+ *
+ * @return The bytes for validationDescription.
*/
com.google.protobuf.ByteString getValidationDescriptionBytes();
@@ -337,6 +383,8 @@ com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder getFields
*
*
* string validation_help_url = 13;
+ *
+ * @return The validationHelpUrl.
*/
java.lang.String getValidationHelpUrl();
/**
@@ -347,6 +395,8 @@ com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder getFields
*
*
* string validation_help_url = 13;
+ *
+ * @return The bytes for validationHelpUrl.
*/
com.google.protobuf.ByteString getValidationHelpUrlBytes();
@@ -358,6 +408,8 @@ com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder getFields
*
*
* bool immutable = 14;
+ *
+ * @return The immutable.
*/
boolean getImmutable();
@@ -369,6 +421,8 @@ com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder getFields
*
*
* bool recurse = 15;
+ *
+ * @return The recurse.
*/
boolean getRecurse();
@@ -381,6 +435,8 @@ com.google.cloud.bigquery.datatransfer.v1.DataSourceParameterOrBuilder getFields
*
*
* bool deprecated = 20;
+ *
+ * @return The deprecated.
*/
boolean getDeprecated();
}
diff --git a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferProto.java b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferProto.java
index 84dc638d..4cc16b71 100644
--- a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferProto.java
+++ b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferProto.java
@@ -381,29 +381,21 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "e.Cloud.BigQuery.DataTransfer.V1\312\002%Googl"
+ "e\\Cloud\\BigQuery\\DataTransfer\\V1b\006proto3"
};
- 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.api.ResourceProto.getDescriptor(),
- com.google.cloud.bigquery.datatransfer.v1.TransferProto.getDescriptor(),
- com.google.protobuf.DurationProto.getDescriptor(),
- com.google.protobuf.EmptyProto.getDescriptor(),
- com.google.protobuf.FieldMaskProto.getDescriptor(),
- com.google.protobuf.TimestampProto.getDescriptor(),
- com.google.protobuf.WrappersProto.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.api.ResourceProto.getDescriptor(),
+ com.google.cloud.bigquery.datatransfer.v1.TransferProto.getDescriptor(),
+ com.google.protobuf.DurationProto.getDescriptor(),
+ com.google.protobuf.EmptyProto.getDescriptor(),
+ com.google.protobuf.FieldMaskProto.getDescriptor(),
+ com.google.protobuf.TimestampProto.getDescriptor(),
+ com.google.protobuf.WrappersProto.getDescriptor(),
+ });
internal_static_google_cloud_bigquery_datatransfer_v1_DataSourceParameter_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_google_cloud_bigquery_datatransfer_v1_DataSourceParameter_fieldAccessorTable =
diff --git a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferConfigRequest.java b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferConfigRequest.java
index 03e637f2..ce7fd50e 100644
--- a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferConfigRequest.java
+++ b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferConfigRequest.java
@@ -42,6 +42,12 @@ private DeleteTransferConfigRequest() {
name_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new DeleteTransferConfigRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -55,7 +61,6 @@ private DeleteTransferConfigRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -121,6 +126,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -145,6 +152,8 @@ public java.lang.String getName() {
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -499,6 +508,8 @@ public Builder mergeFrom(
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -523,6 +534,8 @@ public java.lang.String getName() {
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -547,6 +560,9 @@ public com.google.protobuf.ByteString getNameBytes() {
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @param value The name to set.
+ * @return This builder for chaining.
*/
public Builder setName(java.lang.String value) {
if (value == null) {
@@ -569,6 +585,8 @@ public Builder setName(java.lang.String value) {
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return This builder for chaining.
*/
public Builder clearName() {
@@ -588,6 +606,9 @@ public Builder clearName() {
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @param value The bytes for name to set.
+ * @return This builder for chaining.
*/
public Builder setNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
diff --git a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferConfigRequestOrBuilder.java b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferConfigRequestOrBuilder.java
index 6cfa034a..07814f2d 100644
--- a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferConfigRequestOrBuilder.java
+++ b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferConfigRequestOrBuilder.java
@@ -35,6 +35,8 @@ public interface DeleteTransferConfigRequestOrBuilder
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The name.
*/
java.lang.String getName();
/**
@@ -49,6 +51,8 @@ public interface DeleteTransferConfigRequestOrBuilder
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
}
diff --git a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferRunRequest.java b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferRunRequest.java
index f81056f4..f37354c1 100644
--- a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferRunRequest.java
+++ b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferRunRequest.java
@@ -41,6 +41,12 @@ private DeleteTransferRunRequest() {
name_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new DeleteTransferRunRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -54,7 +60,6 @@ private DeleteTransferRunRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -120,6 +125,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -144,6 +151,8 @@ public java.lang.String getName() {
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -497,6 +506,8 @@ public Builder mergeFrom(
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -521,6 +532,8 @@ public java.lang.String getName() {
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -545,6 +558,9 @@ public com.google.protobuf.ByteString getNameBytes() {
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @param value The name to set.
+ * @return This builder for chaining.
*/
public Builder setName(java.lang.String value) {
if (value == null) {
@@ -567,6 +583,8 @@ public Builder setName(java.lang.String value) {
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return This builder for chaining.
*/
public Builder clearName() {
@@ -586,6 +604,9 @@ public Builder clearName() {
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @param value The bytes for name to set.
+ * @return This builder for chaining.
*/
public Builder setNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
diff --git a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferRunRequestOrBuilder.java b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferRunRequestOrBuilder.java
index 27a6b0ff..8c50f769 100644
--- a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferRunRequestOrBuilder.java
+++ b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DeleteTransferRunRequestOrBuilder.java
@@ -35,6 +35,8 @@ public interface DeleteTransferRunRequestOrBuilder
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The name.
*/
java.lang.String getName();
/**
@@ -49,6 +51,8 @@ public interface DeleteTransferRunRequestOrBuilder
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
}
diff --git a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EmailPreferences.java b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EmailPreferences.java
index 63985485..ac1d524d 100644
--- a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EmailPreferences.java
+++ b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EmailPreferences.java
@@ -40,6 +40,12 @@ private EmailPreferences(com.google.protobuf.GeneratedMessageV3.Builder> build
private EmailPreferences() {}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new EmailPreferences();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -53,7 +59,6 @@ private EmailPreferences(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -113,6 +118,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* bool enable_failure_email = 1;
+ *
+ * @return The enableFailureEmail.
*/
public boolean getEnableFailureEmail() {
return enableFailureEmail_;
@@ -446,6 +453,8 @@ public Builder mergeFrom(
*
*
* bool enable_failure_email = 1;
+ *
+ * @return The enableFailureEmail.
*/
public boolean getEnableFailureEmail() {
return enableFailureEmail_;
@@ -458,6 +467,9 @@ public boolean getEnableFailureEmail() {
*
*
* bool enable_failure_email = 1;
+ *
+ * @param value The enableFailureEmail to set.
+ * @return This builder for chaining.
*/
public Builder setEnableFailureEmail(boolean value) {
@@ -473,6 +485,8 @@ public Builder setEnableFailureEmail(boolean value) {
*
*
* bool enable_failure_email = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearEnableFailureEmail() {
diff --git a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EmailPreferencesOrBuilder.java b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EmailPreferencesOrBuilder.java
index 834bb7d8..9e9f9832 100644
--- a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EmailPreferencesOrBuilder.java
+++ b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/EmailPreferencesOrBuilder.java
@@ -31,6 +31,8 @@ public interface EmailPreferencesOrBuilder
*
*
* bool enable_failure_email = 1;
+ *
+ * @return The enableFailureEmail.
*/
boolean getEnableFailureEmail();
}
diff --git a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetDataSourceRequest.java b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetDataSourceRequest.java
index a181115e..a2248fed 100644
--- a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetDataSourceRequest.java
+++ b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetDataSourceRequest.java
@@ -41,6 +41,12 @@ private GetDataSourceRequest() {
name_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new GetDataSourceRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -54,7 +60,6 @@ private GetDataSourceRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -120,6 +125,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -144,6 +151,8 @@ public java.lang.String getName() {
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -492,6 +501,8 @@ public Builder mergeFrom(
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -516,6 +527,8 @@ public java.lang.String getName() {
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -540,6 +553,9 @@ public com.google.protobuf.ByteString getNameBytes() {
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @param value The name to set.
+ * @return This builder for chaining.
*/
public Builder setName(java.lang.String value) {
if (value == null) {
@@ -562,6 +578,8 @@ public Builder setName(java.lang.String value) {
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return This builder for chaining.
*/
public Builder clearName() {
@@ -581,6 +599,9 @@ public Builder clearName() {
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @param value The bytes for name to set.
+ * @return This builder for chaining.
*/
public Builder setNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
diff --git a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetDataSourceRequestOrBuilder.java b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetDataSourceRequestOrBuilder.java
index 5f140f6c..41884baa 100644
--- a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetDataSourceRequestOrBuilder.java
+++ b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetDataSourceRequestOrBuilder.java
@@ -35,6 +35,8 @@ public interface GetDataSourceRequestOrBuilder
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The name.
*/
java.lang.String getName();
/**
@@ -49,6 +51,8 @@ public interface GetDataSourceRequestOrBuilder
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
}
diff --git a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferConfigRequest.java b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferConfigRequest.java
index ea9a5b9f..e5ec4ddc 100644
--- a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferConfigRequest.java
+++ b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferConfigRequest.java
@@ -41,6 +41,12 @@ private GetTransferConfigRequest() {
name_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new GetTransferConfigRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -54,7 +60,6 @@ private GetTransferConfigRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -120,6 +125,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -144,6 +151,8 @@ public java.lang.String getName() {
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -497,6 +506,8 @@ public Builder mergeFrom(
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -521,6 +532,8 @@ public java.lang.String getName() {
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -545,6 +558,9 @@ public com.google.protobuf.ByteString getNameBytes() {
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @param value The name to set.
+ * @return This builder for chaining.
*/
public Builder setName(java.lang.String value) {
if (value == null) {
@@ -567,6 +583,8 @@ public Builder setName(java.lang.String value) {
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return This builder for chaining.
*/
public Builder clearName() {
@@ -586,6 +604,9 @@ public Builder clearName() {
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @param value The bytes for name to set.
+ * @return This builder for chaining.
*/
public Builder setNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
diff --git a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferConfigRequestOrBuilder.java b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferConfigRequestOrBuilder.java
index 8862fa5d..5356e32c 100644
--- a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferConfigRequestOrBuilder.java
+++ b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferConfigRequestOrBuilder.java
@@ -35,6 +35,8 @@ public interface GetTransferConfigRequestOrBuilder
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The name.
*/
java.lang.String getName();
/**
@@ -49,6 +51,8 @@ public interface GetTransferConfigRequestOrBuilder
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
}
diff --git a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferRunRequest.java b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferRunRequest.java
index b5bd62f3..574e2ef4 100644
--- a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferRunRequest.java
+++ b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferRunRequest.java
@@ -41,6 +41,12 @@ private GetTransferRunRequest() {
name_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new GetTransferRunRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -54,7 +60,6 @@ private GetTransferRunRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -120,6 +125,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -144,6 +151,8 @@ public java.lang.String getName() {
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -493,6 +502,8 @@ public Builder mergeFrom(
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -517,6 +528,8 @@ public java.lang.String getName() {
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -541,6 +554,9 @@ public com.google.protobuf.ByteString getNameBytes() {
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @param value The name to set.
+ * @return This builder for chaining.
*/
public Builder setName(java.lang.String value) {
if (value == null) {
@@ -563,6 +579,8 @@ public Builder setName(java.lang.String value) {
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return This builder for chaining.
*/
public Builder clearName() {
@@ -582,6 +600,9 @@ public Builder clearName() {
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @param value The bytes for name to set.
+ * @return This builder for chaining.
*/
public Builder setNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
diff --git a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferRunRequestOrBuilder.java b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferRunRequestOrBuilder.java
index fbe2d829..ab7011da 100644
--- a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferRunRequestOrBuilder.java
+++ b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/GetTransferRunRequestOrBuilder.java
@@ -35,6 +35,8 @@ public interface GetTransferRunRequestOrBuilder
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The name.
*/
java.lang.String getName();
/**
@@ -49,6 +51,8 @@ public interface GetTransferRunRequestOrBuilder
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
}
diff --git a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListDataSourcesRequest.java b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListDataSourcesRequest.java
index d97b6491..18cf51c4 100644
--- a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListDataSourcesRequest.java
+++ b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListDataSourcesRequest.java
@@ -42,6 +42,12 @@ private ListDataSourcesRequest() {
pageToken_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new ListDataSourcesRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -55,7 +61,6 @@ private ListDataSourcesRequest(
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 parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The parent.
*/
public java.lang.String getParent() {
java.lang.Object ref = parent_;
@@ -157,6 +164,8 @@ public java.lang.String getParent() {
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The bytes for parent.
*/
public com.google.protobuf.ByteString getParentBytes() {
java.lang.Object ref = parent_;
@@ -184,6 +193,8 @@ public com.google.protobuf.ByteString getParentBytes() {
*
*
* string page_token = 3;
+ *
+ * @return The pageToken.
*/
public java.lang.String getPageToken() {
java.lang.Object ref = pageToken_;
@@ -208,6 +219,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_;
@@ -231,6 +244,8 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
*
*
* int32 page_size = 4;
+ *
+ * @return The pageSize.
*/
public int getPageSize() {
return pageSize_;
@@ -603,6 +618,8 @@ public Builder mergeFrom(
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The parent.
*/
public java.lang.String getParent() {
java.lang.Object ref = parent_;
@@ -627,6 +644,8 @@ public java.lang.String getParent() {
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The bytes for parent.
*/
public com.google.protobuf.ByteString getParentBytes() {
java.lang.Object ref = parent_;
@@ -651,6 +670,9 @@ public com.google.protobuf.ByteString getParentBytes() {
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @param value The parent to set.
+ * @return This builder for chaining.
*/
public Builder setParent(java.lang.String value) {
if (value == null) {
@@ -673,6 +695,8 @@ public Builder setParent(java.lang.String value) {
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return This builder for chaining.
*/
public Builder clearParent() {
@@ -692,6 +716,9 @@ public Builder clearParent() {
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @param value The bytes for parent to set.
+ * @return This builder for chaining.
*/
public Builder setParentBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -717,6 +744,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
*
*
* string page_token = 3;
+ *
+ * @return The pageToken.
*/
public java.lang.String getPageToken() {
java.lang.Object ref = pageToken_;
@@ -741,6 +770,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_;
@@ -765,6 +796,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) {
@@ -787,6 +821,8 @@ public Builder setPageToken(java.lang.String value) {
*
*
* string page_token = 3;
+ *
+ * @return This builder for chaining.
*/
public Builder clearPageToken() {
@@ -806,6 +842,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) {
@@ -827,6 +866,8 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
*
*
* int32 page_size = 4;
+ *
+ * @return The pageSize.
*/
public int getPageSize() {
return pageSize_;
@@ -839,6 +880,9 @@ public int getPageSize() {
*
*
* int32 page_size = 4;
+ *
+ * @param value The pageSize to set.
+ * @return This builder for chaining.
*/
public Builder setPageSize(int value) {
@@ -854,6 +898,8 @@ public Builder setPageSize(int value) {
*
*
* int32 page_size = 4;
+ *
+ * @return This builder for chaining.
*/
public Builder clearPageSize() {
diff --git a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListDataSourcesRequestOrBuilder.java b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListDataSourcesRequestOrBuilder.java
index b89d6df7..9421bb71 100644
--- a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListDataSourcesRequestOrBuilder.java
+++ b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListDataSourcesRequestOrBuilder.java
@@ -35,6 +35,8 @@ public interface ListDataSourcesRequestOrBuilder
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The parent.
*/
java.lang.String getParent();
/**
@@ -49,6 +51,8 @@ public interface ListDataSourcesRequestOrBuilder
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The bytes for parent.
*/
com.google.protobuf.ByteString getParentBytes();
@@ -64,6 +68,8 @@ public interface ListDataSourcesRequestOrBuilder
*
*
* string page_token = 3;
+ *
+ * @return The pageToken.
*/
java.lang.String getPageToken();
/**
@@ -78,6 +84,8 @@ public interface ListDataSourcesRequestOrBuilder
*
*
* string page_token = 3;
+ *
+ * @return The bytes for pageToken.
*/
com.google.protobuf.ByteString getPageTokenBytes();
@@ -89,6 +97,8 @@ public interface ListDataSourcesRequestOrBuilder
*
*
* int32 page_size = 4;
+ *
+ * @return The pageSize.
*/
int getPageSize();
}
diff --git a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListDataSourcesResponse.java b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListDataSourcesResponse.java
index 054035cc..b0856698 100644
--- a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListDataSourcesResponse.java
+++ b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListDataSourcesResponse.java
@@ -42,6 +42,12 @@ private ListDataSourcesResponse() {
nextPageToken_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new ListDataSourcesResponse();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -123,7 +129,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse.Builder.class);
}
- private int bitField0_;
public static final int DATA_SOURCES_FIELD_NUMBER = 1;
private java.util.List dataSources_;
/**
@@ -202,6 +207,8 @@ public com.google.cloud.bigquery.datatransfer.v1.DataSourceOrBuilder getDataSour
*
*
* string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The nextPageToken.
*/
public java.lang.String getNextPageToken() {
java.lang.Object ref = nextPageToken_;
@@ -225,6 +232,8 @@ public java.lang.String getNextPageToken() {
*
*
* string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The bytes for nextPageToken.
*/
public com.google.protobuf.ByteString getNextPageTokenBytes() {
java.lang.Object ref = nextPageToken_;
@@ -495,7 +504,6 @@ public com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse buildPa
com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse result =
new com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse(this);
int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
if (dataSourcesBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
dataSources_ = java.util.Collections.unmodifiableList(dataSources_);
@@ -506,7 +514,6 @@ public com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse buildPa
result.dataSources_ = dataSourcesBuilder_.build();
}
result.nextPageToken_ = nextPageToken_;
- result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@@ -994,6 +1001,8 @@ public com.google.cloud.bigquery.datatransfer.v1.DataSource.Builder addDataSourc
*
*
* string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The nextPageToken.
*/
public java.lang.String getNextPageToken() {
java.lang.Object ref = nextPageToken_;
@@ -1017,6 +1026,8 @@ public java.lang.String getNextPageToken() {
*
*
* string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The bytes for nextPageToken.
*/
public com.google.protobuf.ByteString getNextPageTokenBytes() {
java.lang.Object ref = nextPageToken_;
@@ -1040,6 +1051,9 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
*
*
* string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @param value The nextPageToken to set.
+ * @return This builder for chaining.
*/
public Builder setNextPageToken(java.lang.String value) {
if (value == null) {
@@ -1061,6 +1075,8 @@ public Builder setNextPageToken(java.lang.String value) {
*
*
* string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return This builder for chaining.
*/
public Builder clearNextPageToken() {
@@ -1079,6 +1095,9 @@ public Builder clearNextPageToken() {
*
*
* string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @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-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListDataSourcesResponseOrBuilder.java b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListDataSourcesResponseOrBuilder.java
index d6212b43..55e59e57 100644
--- a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListDataSourcesResponseOrBuilder.java
+++ b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListDataSourcesResponseOrBuilder.java
@@ -86,6 +86,8 @@ public interface ListDataSourcesResponseOrBuilder
*
*
* string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The nextPageToken.
*/
java.lang.String getNextPageToken();
/**
@@ -99,6 +101,8 @@ public interface ListDataSourcesResponseOrBuilder
*
*
* string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The bytes for nextPageToken.
*/
com.google.protobuf.ByteString getNextPageTokenBytes();
}
diff --git a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferConfigsRequest.java b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferConfigsRequest.java
index c37656e3..5548e690 100644
--- a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferConfigsRequest.java
+++ b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferConfigsRequest.java
@@ -43,6 +43,12 @@ private ListTransferConfigsRequest() {
pageToken_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new ListTransferConfigsRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -77,9 +83,9 @@ private ListTransferConfigsRequest(
case 18:
{
java.lang.String s = input.readStringRequireUtf8();
- if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+ if (!((mutable_bitField0_ & 0x00000001) != 0)) {
dataSourceIds_ = new com.google.protobuf.LazyStringArrayList();
- mutable_bitField0_ |= 0x00000002;
+ mutable_bitField0_ |= 0x00000001;
}
dataSourceIds_.add(s);
break;
@@ -110,7 +116,7 @@ private ListTransferConfigsRequest(
} 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)) {
dataSourceIds_ = dataSourceIds_.getUnmodifiableView();
}
this.unknownFields = unknownFields.build();
@@ -133,7 +139,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest.Builder.class);
}
- private int bitField0_;
public static final int PARENT_FIELD_NUMBER = 1;
private volatile java.lang.Object parent_;
/**
@@ -148,6 +153,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The parent.
*/
public java.lang.String getParent() {
java.lang.Object ref = parent_;
@@ -172,6 +179,8 @@ public java.lang.String getParent() {
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The bytes for parent.
*/
public com.google.protobuf.ByteString getParentBytes() {
java.lang.Object ref = parent_;
@@ -195,6 +204,8 @@ public com.google.protobuf.ByteString getParentBytes() {
*
*
* repeated string data_source_ids = 2;
+ *
+ * @return A list containing the dataSourceIds.
*/
public com.google.protobuf.ProtocolStringList getDataSourceIdsList() {
return dataSourceIds_;
@@ -207,6 +218,8 @@ public com.google.protobuf.ProtocolStringList getDataSourceIdsList() {
*
*
* repeated string data_source_ids = 2;
+ *
+ * @return The count of dataSourceIds.
*/
public int getDataSourceIdsCount() {
return dataSourceIds_.size();
@@ -219,6 +232,9 @@ public int getDataSourceIdsCount() {
*
*
* repeated string data_source_ids = 2;
+ *
+ * @param index The index of the element to return.
+ * @return The dataSourceIds at the given index.
*/
public java.lang.String getDataSourceIds(int index) {
return dataSourceIds_.get(index);
@@ -231,6 +247,9 @@ public java.lang.String getDataSourceIds(int index) {
*
*
* repeated string data_source_ids = 2;
+ *
+ * @param index The index of the value to return.
+ * @return The bytes of the dataSourceIds at the given index.
*/
public com.google.protobuf.ByteString getDataSourceIdsBytes(int index) {
return dataSourceIds_.getByteString(index);
@@ -250,6 +269,8 @@ public com.google.protobuf.ByteString getDataSourceIdsBytes(int index) {
*
*
* string page_token = 3;
+ *
+ * @return The pageToken.
*/
public java.lang.String getPageToken() {
java.lang.Object ref = pageToken_;
@@ -274,6 +295,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_;
@@ -297,6 +320,8 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
*
*
* int32 page_size = 4;
+ *
+ * @return The pageSize.
*/
public int getPageSize() {
return pageSize_;
@@ -546,7 +571,7 @@ public Builder clear() {
parent_ = "";
dataSourceIds_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- bitField0_ = (bitField0_ & ~0x00000002);
+ bitField0_ = (bitField0_ & ~0x00000001);
pageToken_ = "";
pageSize_ = 0;
@@ -581,16 +606,14 @@ public com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest buil
com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest result =
new com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest(this);
int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
result.parent_ = parent_;
- if (((bitField0_ & 0x00000002) != 0)) {
+ if (((bitField0_ & 0x00000001) != 0)) {
dataSourceIds_ = dataSourceIds_.getUnmodifiableView();
- bitField0_ = (bitField0_ & ~0x00000002);
+ bitField0_ = (bitField0_ & ~0x00000001);
}
result.dataSourceIds_ = dataSourceIds_;
result.pageToken_ = pageToken_;
result.pageSize_ = pageSize_;
- result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@@ -651,7 +674,7 @@ public Builder mergeFrom(
if (!other.dataSourceIds_.isEmpty()) {
if (dataSourceIds_.isEmpty()) {
dataSourceIds_ = other.dataSourceIds_;
- bitField0_ = (bitField0_ & ~0x00000002);
+ bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureDataSourceIdsIsMutable();
dataSourceIds_.addAll(other.dataSourceIds_);
@@ -711,6 +734,8 @@ public Builder mergeFrom(
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The parent.
*/
public java.lang.String getParent() {
java.lang.Object ref = parent_;
@@ -735,6 +760,8 @@ public java.lang.String getParent() {
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The bytes for parent.
*/
public com.google.protobuf.ByteString getParentBytes() {
java.lang.Object ref = parent_;
@@ -759,6 +786,9 @@ public com.google.protobuf.ByteString getParentBytes() {
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @param value The parent to set.
+ * @return This builder for chaining.
*/
public Builder setParent(java.lang.String value) {
if (value == null) {
@@ -781,6 +811,8 @@ public Builder setParent(java.lang.String value) {
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return This builder for chaining.
*/
public Builder clearParent() {
@@ -800,6 +832,9 @@ public Builder clearParent() {
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @param value The bytes for parent to set.
+ * @return This builder for chaining.
*/
public Builder setParentBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -816,9 +851,9 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureDataSourceIdsIsMutable() {
- if (!((bitField0_ & 0x00000002) != 0)) {
+ if (!((bitField0_ & 0x00000001) != 0)) {
dataSourceIds_ = new com.google.protobuf.LazyStringArrayList(dataSourceIds_);
- bitField0_ |= 0x00000002;
+ bitField0_ |= 0x00000001;
}
}
/**
@@ -829,6 +864,8 @@ private void ensureDataSourceIdsIsMutable() {
*
*
* repeated string data_source_ids = 2;
+ *
+ * @return A list containing the dataSourceIds.
*/
public com.google.protobuf.ProtocolStringList getDataSourceIdsList() {
return dataSourceIds_.getUnmodifiableView();
@@ -841,6 +878,8 @@ public com.google.protobuf.ProtocolStringList getDataSourceIdsList() {
*
*
* repeated string data_source_ids = 2;
+ *
+ * @return The count of dataSourceIds.
*/
public int getDataSourceIdsCount() {
return dataSourceIds_.size();
@@ -853,6 +892,9 @@ public int getDataSourceIdsCount() {
*
*
* repeated string data_source_ids = 2;
+ *
+ * @param index The index of the element to return.
+ * @return The dataSourceIds at the given index.
*/
public java.lang.String getDataSourceIds(int index) {
return dataSourceIds_.get(index);
@@ -865,6 +907,9 @@ public java.lang.String getDataSourceIds(int index) {
*
*
* repeated string data_source_ids = 2;
+ *
+ * @param index The index of the value to return.
+ * @return The bytes of the dataSourceIds at the given index.
*/
public com.google.protobuf.ByteString getDataSourceIdsBytes(int index) {
return dataSourceIds_.getByteString(index);
@@ -877,6 +922,10 @@ public com.google.protobuf.ByteString getDataSourceIdsBytes(int index) {
*
*
* repeated string data_source_ids = 2;
+ *
+ * @param index The index to set the value at.
+ * @param value The dataSourceIds to set.
+ * @return This builder for chaining.
*/
public Builder setDataSourceIds(int index, java.lang.String value) {
if (value == null) {
@@ -895,6 +944,9 @@ public Builder setDataSourceIds(int index, java.lang.String value) {
*
*
* repeated string data_source_ids = 2;
+ *
+ * @param value The dataSourceIds to add.
+ * @return This builder for chaining.
*/
public Builder addDataSourceIds(java.lang.String value) {
if (value == null) {
@@ -913,6 +965,9 @@ public Builder addDataSourceIds(java.lang.String value) {
*
*
* repeated string data_source_ids = 2;
+ *
+ * @param values The dataSourceIds to add.
+ * @return This builder for chaining.
*/
public Builder addAllDataSourceIds(java.lang.Iterable values) {
ensureDataSourceIdsIsMutable();
@@ -928,10 +983,12 @@ public Builder addAllDataSourceIds(java.lang.Iterable values)
*
*
* repeated string data_source_ids = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearDataSourceIds() {
dataSourceIds_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- bitField0_ = (bitField0_ & ~0x00000002);
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -943,6 +1000,9 @@ public Builder clearDataSourceIds() {
*
*
* repeated string data_source_ids = 2;
+ *
+ * @param value The bytes of the dataSourceIds to add.
+ * @return This builder for chaining.
*/
public Builder addDataSourceIdsBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -968,6 +1028,8 @@ public Builder addDataSourceIdsBytes(com.google.protobuf.ByteString value) {
*
*
* string page_token = 3;
+ *
+ * @return The pageToken.
*/
public java.lang.String getPageToken() {
java.lang.Object ref = pageToken_;
@@ -992,6 +1054,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_;
@@ -1016,6 +1080,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) {
@@ -1038,6 +1105,8 @@ public Builder setPageToken(java.lang.String value) {
*
*
* string page_token = 3;
+ *
+ * @return This builder for chaining.
*/
public Builder clearPageToken() {
@@ -1057,6 +1126,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) {
@@ -1078,6 +1150,8 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
*
*
* int32 page_size = 4;
+ *
+ * @return The pageSize.
*/
public int getPageSize() {
return pageSize_;
@@ -1090,6 +1164,9 @@ public int getPageSize() {
*
*
* int32 page_size = 4;
+ *
+ * @param value The pageSize to set.
+ * @return This builder for chaining.
*/
public Builder setPageSize(int value) {
@@ -1105,6 +1182,8 @@ public Builder setPageSize(int value) {
*
*
* int32 page_size = 4;
+ *
+ * @return This builder for chaining.
*/
public Builder clearPageSize() {
diff --git a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferConfigsRequestOrBuilder.java b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferConfigsRequestOrBuilder.java
index a96d42ee..e18413c2 100644
--- a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferConfigsRequestOrBuilder.java
+++ b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferConfigsRequestOrBuilder.java
@@ -35,6 +35,8 @@ public interface ListTransferConfigsRequestOrBuilder
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The parent.
*/
java.lang.String getParent();
/**
@@ -49,6 +51,8 @@ public interface ListTransferConfigsRequestOrBuilder
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The bytes for parent.
*/
com.google.protobuf.ByteString getParentBytes();
@@ -60,6 +64,8 @@ public interface ListTransferConfigsRequestOrBuilder
*
*
* repeated string data_source_ids = 2;
+ *
+ * @return A list containing the dataSourceIds.
*/
java.util.List getDataSourceIdsList();
/**
@@ -70,6 +76,8 @@ public interface ListTransferConfigsRequestOrBuilder
*
*
* repeated string data_source_ids = 2;
+ *
+ * @return The count of dataSourceIds.
*/
int getDataSourceIdsCount();
/**
@@ -80,6 +88,9 @@ public interface ListTransferConfigsRequestOrBuilder
*
*
* repeated string data_source_ids = 2;
+ *
+ * @param index The index of the element to return.
+ * @return The dataSourceIds at the given index.
*/
java.lang.String getDataSourceIds(int index);
/**
@@ -90,6 +101,9 @@ public interface ListTransferConfigsRequestOrBuilder
*
*
* repeated string data_source_ids = 2;
+ *
+ * @param index The index of the value to return.
+ * @return The bytes of the dataSourceIds at the given index.
*/
com.google.protobuf.ByteString getDataSourceIdsBytes(int index);
@@ -105,6 +119,8 @@ public interface ListTransferConfigsRequestOrBuilder
*
*
* string page_token = 3;
+ *
+ * @return The pageToken.
*/
java.lang.String getPageToken();
/**
@@ -119,6 +135,8 @@ public interface ListTransferConfigsRequestOrBuilder
*
*
* string page_token = 3;
+ *
+ * @return The bytes for pageToken.
*/
com.google.protobuf.ByteString getPageTokenBytes();
@@ -130,6 +148,8 @@ public interface ListTransferConfigsRequestOrBuilder
*
*
* int32 page_size = 4;
+ *
+ * @return The pageSize.
*/
int getPageSize();
}
diff --git a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferConfigsResponse.java b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferConfigsResponse.java
index 77e60d47..0cc7937c 100644
--- a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferConfigsResponse.java
+++ b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferConfigsResponse.java
@@ -42,6 +42,12 @@ private ListTransferConfigsResponse() {
nextPageToken_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new ListTransferConfigsResponse();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -124,7 +130,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse.Builder.class);
}
- private int bitField0_;
public static final int TRANSFER_CONFIGS_FIELD_NUMBER = 1;
private java.util.List transferConfigs_;
/**
@@ -214,6 +219,8 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferConfig getTransferConfi
*
*
* string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The nextPageToken.
*/
public java.lang.String getNextPageToken() {
java.lang.Object ref = nextPageToken_;
@@ -237,6 +244,8 @@ public java.lang.String getNextPageToken() {
*
*
* string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The bytes for nextPageToken.
*/
public com.google.protobuf.ByteString getNextPageTokenBytes() {
java.lang.Object ref = nextPageToken_;
@@ -508,7 +517,6 @@ public com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse bui
com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse result =
new com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse(this);
int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
if (transferConfigsBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
transferConfigs_ = java.util.Collections.unmodifiableList(transferConfigs_);
@@ -519,7 +527,6 @@ public com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse bui
result.transferConfigs_ = transferConfigsBuilder_.build();
}
result.nextPageToken_ = nextPageToken_;
- result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@@ -1054,6 +1061,8 @@ public Builder removeTransferConfigs(int index) {
*
*
* string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The nextPageToken.
*/
public java.lang.String getNextPageToken() {
java.lang.Object ref = nextPageToken_;
@@ -1077,6 +1086,8 @@ public java.lang.String getNextPageToken() {
*
*
* string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The bytes for nextPageToken.
*/
public com.google.protobuf.ByteString getNextPageTokenBytes() {
java.lang.Object ref = nextPageToken_;
@@ -1100,6 +1111,9 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
*
*
* string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @param value The nextPageToken to set.
+ * @return This builder for chaining.
*/
public Builder setNextPageToken(java.lang.String value) {
if (value == null) {
@@ -1121,6 +1135,8 @@ public Builder setNextPageToken(java.lang.String value) {
*
*
* string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return This builder for chaining.
*/
public Builder clearNextPageToken() {
@@ -1139,6 +1155,9 @@ public Builder clearNextPageToken() {
*
*
* string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @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-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferConfigsResponseOrBuilder.java b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferConfigsResponseOrBuilder.java
index 33507387..8af54d19 100644
--- a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferConfigsResponseOrBuilder.java
+++ b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferConfigsResponseOrBuilder.java
@@ -97,6 +97,8 @@ com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder getTransferCon
*
*
* string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The nextPageToken.
*/
java.lang.String getNextPageToken();
/**
@@ -110,6 +112,8 @@ com.google.cloud.bigquery.datatransfer.v1.TransferConfigOrBuilder getTransferCon
*
*
* string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The bytes for nextPageToken.
*/
com.google.protobuf.ByteString getNextPageTokenBytes();
}
diff --git a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferLogsRequest.java b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferLogsRequest.java
index 8c345c26..d2c8b4c5 100644
--- a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferLogsRequest.java
+++ b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferLogsRequest.java
@@ -43,6 +43,12 @@ private ListTransferLogsRequest() {
messageTypes_ = java.util.Collections.emptyList();
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new ListTransferLogsRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -89,9 +95,9 @@ private ListTransferLogsRequest(
case 48:
{
int rawValue = input.readEnum();
- if (!((mutable_bitField0_ & 0x00000008) != 0)) {
+ if (!((mutable_bitField0_ & 0x00000001) != 0)) {
messageTypes_ = new java.util.ArrayList();
- mutable_bitField0_ |= 0x00000008;
+ mutable_bitField0_ |= 0x00000001;
}
messageTypes_.add(rawValue);
break;
@@ -102,9 +108,9 @@ private ListTransferLogsRequest(
int oldLimit = input.pushLimit(length);
while (input.getBytesUntilLimit() > 0) {
int rawValue = input.readEnum();
- if (!((mutable_bitField0_ & 0x00000008) != 0)) {
+ if (!((mutable_bitField0_ & 0x00000001) != 0)) {
messageTypes_ = new java.util.ArrayList();
- mutable_bitField0_ |= 0x00000008;
+ mutable_bitField0_ |= 0x00000001;
}
messageTypes_.add(rawValue);
}
@@ -125,7 +131,7 @@ private ListTransferLogsRequest(
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
} finally {
- if (((mutable_bitField0_ & 0x00000008) != 0)) {
+ if (((mutable_bitField0_ & 0x00000001) != 0)) {
messageTypes_ = java.util.Collections.unmodifiableList(messageTypes_);
}
this.unknownFields = unknownFields.build();
@@ -148,7 +154,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest.Builder.class);
}
- private int bitField0_;
public static final int PARENT_FIELD_NUMBER = 1;
private volatile java.lang.Object parent_;
/**
@@ -163,6 +168,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The parent.
*/
public java.lang.String getParent() {
java.lang.Object ref = parent_;
@@ -187,6 +194,8 @@ public java.lang.String getParent() {
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The bytes for parent.
*/
public com.google.protobuf.ByteString getParentBytes() {
java.lang.Object ref = parent_;
@@ -214,6 +223,8 @@ public com.google.protobuf.ByteString getParentBytes() {
*
*
* string page_token = 4;
+ *
+ * @return The pageToken.
*/
public java.lang.String getPageToken() {
java.lang.Object ref = pageToken_;
@@ -238,6 +249,8 @@ public java.lang.String getPageToken() {
*
*
* string page_token = 4;
+ *
+ * @return The bytes for pageToken.
*/
public com.google.protobuf.ByteString getPageTokenBytes() {
java.lang.Object ref = pageToken_;
@@ -261,6 +274,8 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
*
*
* int32 page_size = 5;
+ *
+ * @return The pageSize.
*/
public int getPageSize() {
return pageSize_;
@@ -298,6 +313,8 @@ public int getPageSize() {
*
* repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6;
*
+ *
+ * @return A list containing the messageTypes.
*/
public java.util.List
getMessageTypesList() {
@@ -317,6 +334,8 @@ public int getPageSize() {
*
* repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6;
*
+ *
+ * @param value The messageTypes to add.
*/
public int getMessageTypesCount() {
return messageTypes_.size();
@@ -332,6 +351,9 @@ public int getMessageTypesCount() {
*
* repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6;
*
+ *
+ * @param index The index of the element to return.
+ * @return The messageTypes at the given index.
*/
public com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity getMessageTypes(
int index) {
@@ -348,6 +370,8 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity
*
* repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6;
*
+ *
+ * @return A list containing the enum numeric values on the wire for messageTypes.
*/
public java.util.List getMessageTypesValueList() {
return messageTypes_;
@@ -363,6 +387,9 @@ public java.util.List getMessageTypesValueList() {
*
* repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6;
*
+ *
+ * @param index The index of the value to return.
+ * @return The enum numeric value on the wire of messageTypes at the given index.
*/
public int getMessageTypesValue(int index) {
return messageTypes_.get(index);
@@ -628,7 +655,7 @@ public Builder clear() {
pageSize_ = 0;
messageTypes_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000008);
+ bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
@@ -658,16 +685,14 @@ public com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest buildPa
com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest result =
new com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest(this);
int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
result.parent_ = parent_;
result.pageToken_ = pageToken_;
result.pageSize_ = pageSize_;
- if (((bitField0_ & 0x00000008) != 0)) {
+ if (((bitField0_ & 0x00000001) != 0)) {
messageTypes_ = java.util.Collections.unmodifiableList(messageTypes_);
- bitField0_ = (bitField0_ & ~0x00000008);
+ bitField0_ = (bitField0_ & ~0x00000001);
}
result.messageTypes_ = messageTypes_;
- result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@@ -734,7 +759,7 @@ public Builder mergeFrom(
if (!other.messageTypes_.isEmpty()) {
if (messageTypes_.isEmpty()) {
messageTypes_ = other.messageTypes_;
- bitField0_ = (bitField0_ & ~0x00000008);
+ bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureMessageTypesIsMutable();
messageTypes_.addAll(other.messageTypes_);
@@ -787,6 +812,8 @@ public Builder mergeFrom(
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The parent.
*/
public java.lang.String getParent() {
java.lang.Object ref = parent_;
@@ -811,6 +838,8 @@ public java.lang.String getParent() {
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The bytes for parent.
*/
public com.google.protobuf.ByteString getParentBytes() {
java.lang.Object ref = parent_;
@@ -835,6 +864,9 @@ public com.google.protobuf.ByteString getParentBytes() {
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @param value The parent to set.
+ * @return This builder for chaining.
*/
public Builder setParent(java.lang.String value) {
if (value == null) {
@@ -857,6 +889,8 @@ public Builder setParent(java.lang.String value) {
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return This builder for chaining.
*/
public Builder clearParent() {
@@ -876,6 +910,9 @@ public Builder clearParent() {
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @param value The bytes for parent to set.
+ * @return This builder for chaining.
*/
public Builder setParentBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -901,6 +938,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
*
*
* string page_token = 4;
+ *
+ * @return The pageToken.
*/
public java.lang.String getPageToken() {
java.lang.Object ref = pageToken_;
@@ -925,6 +964,8 @@ public java.lang.String getPageToken() {
*
*
* string page_token = 4;
+ *
+ * @return The bytes for pageToken.
*/
public com.google.protobuf.ByteString getPageTokenBytes() {
java.lang.Object ref = pageToken_;
@@ -949,6 +990,9 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
*
*
* string page_token = 4;
+ *
+ * @param value The pageToken to set.
+ * @return This builder for chaining.
*/
public Builder setPageToken(java.lang.String value) {
if (value == null) {
@@ -971,6 +1015,8 @@ public Builder setPageToken(java.lang.String value) {
*
*
* string page_token = 4;
+ *
+ * @return This builder for chaining.
*/
public Builder clearPageToken() {
@@ -990,6 +1036,9 @@ public Builder clearPageToken() {
*
*
* string page_token = 4;
+ *
+ * @param value The bytes for pageToken to set.
+ * @return This builder for chaining.
*/
public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1011,6 +1060,8 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
*
*
* int32 page_size = 5;
+ *
+ * @return The pageSize.
*/
public int getPageSize() {
return pageSize_;
@@ -1023,6 +1074,9 @@ public int getPageSize() {
*
*
* int32 page_size = 5;
+ *
+ * @param value The pageSize to set.
+ * @return This builder for chaining.
*/
public Builder setPageSize(int value) {
@@ -1038,6 +1092,8 @@ public Builder setPageSize(int value) {
*
*
* int32 page_size = 5;
+ *
+ * @return This builder for chaining.
*/
public Builder clearPageSize() {
@@ -1049,9 +1105,9 @@ public Builder clearPageSize() {
private java.util.List messageTypes_ = java.util.Collections.emptyList();
private void ensureMessageTypesIsMutable() {
- if (!((bitField0_ & 0x00000008) != 0)) {
+ if (!((bitField0_ & 0x00000001) != 0)) {
messageTypes_ = new java.util.ArrayList(messageTypes_);
- bitField0_ |= 0x00000008;
+ bitField0_ |= 0x00000001;
}
}
/**
@@ -1065,6 +1121,8 @@ private void ensureMessageTypesIsMutable() {
*
* repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6;
*
+ *
+ * @return A list containing the messageTypes.
*/
public java.util.List
getMessageTypesList() {
@@ -1084,6 +1142,8 @@ private void ensureMessageTypesIsMutable() {
*
* repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6;
*
+ *
+ * @return The count of messageTypes.
*/
public int getMessageTypesCount() {
return messageTypes_.size();
@@ -1099,6 +1159,9 @@ public int getMessageTypesCount() {
*
* repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6;
*
+ *
+ * @param index The index of the element to return.
+ * @return The messageTypes at the given index.
*/
public com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity
getMessageTypes(int index) {
@@ -1115,6 +1178,10 @@ public int getMessageTypesCount() {
*
* repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6;
*
+ *
+ * @param index The index to set the value at.
+ * @param value The messageTypes to set.
+ * @return This builder for chaining.
*/
public Builder setMessageTypes(
int index,
@@ -1138,6 +1205,9 @@ public Builder setMessageTypes(
*
* repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6;
*
+ *
+ * @param value The messageTypes to add.
+ * @return This builder for chaining.
*/
public Builder addMessageTypes(
com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity value) {
@@ -1160,6 +1230,9 @@ public Builder addMessageTypes(
*
* repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6;
*
+ *
+ * @param values The messageTypes to add.
+ * @return This builder for chaining.
*/
public Builder addAllMessageTypes(
java.lang.Iterable<
@@ -1184,10 +1257,12 @@ public Builder addAllMessageTypes(
*
* repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6;
*
+ *
+ * @return This builder for chaining.
*/
public Builder clearMessageTypes() {
messageTypes_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000008);
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -1202,6 +1277,8 @@ public Builder clearMessageTypes() {
*
* repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6;
*
+ *
+ * @return A list containing the enum numeric values on the wire for messageTypes.
*/
public java.util.List getMessageTypesValueList() {
return java.util.Collections.unmodifiableList(messageTypes_);
@@ -1217,6 +1294,9 @@ public java.util.List getMessageTypesValueList() {
*
* repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6;
*
+ *
+ * @param index The index of the value to return.
+ * @return The enum numeric value on the wire of messageTypes at the given index.
*/
public int getMessageTypesValue(int index) {
return messageTypes_.get(index);
@@ -1232,6 +1312,10 @@ public int getMessageTypesValue(int index) {
*
* repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6;
*
+ *
+ * @param index The index of the value to return.
+ * @return The enum numeric value on the wire of messageTypes at the given index.
+ * @return This builder for chaining.
*/
public Builder setMessageTypesValue(int index, int value) {
ensureMessageTypesIsMutable();
@@ -1250,6 +1334,9 @@ public Builder setMessageTypesValue(int index, int value) {
*
* repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6;
*
+ *
+ * @param value The enum numeric value on the wire for messageTypes to add.
+ * @return This builder for chaining.
*/
public Builder addMessageTypesValue(int value) {
ensureMessageTypesIsMutable();
@@ -1268,6 +1355,9 @@ public Builder addMessageTypesValue(int value) {
*
* repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6;
*
+ *
+ * @param values The enum numeric values on the wire for messageTypes to add.
+ * @return This builder for chaining.
*/
public Builder addAllMessageTypesValue(java.lang.Iterable values) {
ensureMessageTypesIsMutable();
diff --git a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferLogsRequestOrBuilder.java b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferLogsRequestOrBuilder.java
index 0dc44a47..3ed249bb 100644
--- a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferLogsRequestOrBuilder.java
+++ b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferLogsRequestOrBuilder.java
@@ -35,6 +35,8 @@ public interface ListTransferLogsRequestOrBuilder
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The parent.
*/
java.lang.String getParent();
/**
@@ -49,6 +51,8 @@ public interface ListTransferLogsRequestOrBuilder
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The bytes for parent.
*/
com.google.protobuf.ByteString getParentBytes();
@@ -64,6 +68,8 @@ public interface ListTransferLogsRequestOrBuilder
*
*
* string page_token = 4;
+ *
+ * @return The pageToken.
*/
java.lang.String getPageToken();
/**
@@ -78,6 +84,8 @@ public interface ListTransferLogsRequestOrBuilder
*
*
* string page_token = 4;
+ *
+ * @return The bytes for pageToken.
*/
com.google.protobuf.ByteString getPageTokenBytes();
@@ -89,6 +97,8 @@ public interface ListTransferLogsRequestOrBuilder
*
*
* int32 page_size = 5;
+ *
+ * @return The pageSize.
*/
int getPageSize();
@@ -103,6 +113,8 @@ public interface ListTransferLogsRequestOrBuilder
*
* repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6;
*
+ *
+ * @return A list containing the messageTypes.
*/
java.util.List
getMessageTypesList();
@@ -117,6 +129,8 @@ public interface ListTransferLogsRequestOrBuilder
*
* repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6;
*
+ *
+ * @return The count of messageTypes.
*/
int getMessageTypesCount();
/**
@@ -130,6 +144,9 @@ public interface ListTransferLogsRequestOrBuilder
*
* repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6;
*
+ *
+ * @param index The index of the element to return.
+ * @return The messageTypes at the given index.
*/
com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity getMessageTypes(
int index);
@@ -144,6 +161,8 @@ com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity getMes
*
* repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6;
*
+ *
+ * @return A list containing the enum numeric values on the wire for messageTypes.
*/
java.util.List getMessageTypesValueList();
/**
@@ -157,6 +176,9 @@ com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity getMes
*
* repeated .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity message_types = 6;
*
+ *
+ * @param index The index of the value to return.
+ * @return The enum numeric value on the wire of messageTypes at the given index.
*/
int getMessageTypesValue(int index);
}
diff --git a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferLogsResponse.java b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferLogsResponse.java
index 4501fdef..f8a7df41 100644
--- a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferLogsResponse.java
+++ b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferLogsResponse.java
@@ -42,6 +42,12 @@ private ListTransferLogsResponse() {
nextPageToken_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new ListTransferLogsResponse();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -124,7 +130,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse.Builder.class);
}
- private int bitField0_;
public static final int TRANSFER_MESSAGES_FIELD_NUMBER = 1;
private java.util.List
transferMessages_;
@@ -216,6 +221,8 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferMessage getTransferMess
*
*
* string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The nextPageToken.
*/
public java.lang.String getNextPageToken() {
java.lang.Object ref = nextPageToken_;
@@ -239,6 +246,8 @@ public java.lang.String getNextPageToken() {
*
*
* string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The bytes for nextPageToken.
*/
public com.google.protobuf.ByteString getNextPageTokenBytes() {
java.lang.Object ref = nextPageToken_;
@@ -510,7 +519,6 @@ public com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse buildP
com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse result =
new com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse(this);
int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
if (transferMessagesBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
transferMessages_ = java.util.Collections.unmodifiableList(transferMessages_);
@@ -521,7 +529,6 @@ public com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse buildP
result.transferMessages_ = transferMessagesBuilder_.build();
}
result.nextPageToken_ = nextPageToken_;
- result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@@ -1058,6 +1065,8 @@ public Builder removeTransferMessages(int index) {
*
*
* string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The nextPageToken.
*/
public java.lang.String getNextPageToken() {
java.lang.Object ref = nextPageToken_;
@@ -1081,6 +1090,8 @@ public java.lang.String getNextPageToken() {
*
*
* string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The bytes for nextPageToken.
*/
public com.google.protobuf.ByteString getNextPageTokenBytes() {
java.lang.Object ref = nextPageToken_;
@@ -1104,6 +1115,9 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
*
*
* string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @param value The nextPageToken to set.
+ * @return This builder for chaining.
*/
public Builder setNextPageToken(java.lang.String value) {
if (value == null) {
@@ -1125,6 +1139,8 @@ public Builder setNextPageToken(java.lang.String value) {
*
*
* string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return This builder for chaining.
*/
public Builder clearNextPageToken() {
@@ -1143,6 +1159,9 @@ public Builder clearNextPageToken() {
*
*
* string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @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-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferLogsResponseOrBuilder.java b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferLogsResponseOrBuilder.java
index 64a5aab2..4581098b 100644
--- a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferLogsResponseOrBuilder.java
+++ b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferLogsResponseOrBuilder.java
@@ -98,6 +98,8 @@ com.google.cloud.bigquery.datatransfer.v1.TransferMessageOrBuilder getTransferMe
*
*
* string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The nextPageToken.
*/
java.lang.String getNextPageToken();
/**
@@ -111,6 +113,8 @@ com.google.cloud.bigquery.datatransfer.v1.TransferMessageOrBuilder getTransferMe
*
*
* string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The bytes for nextPageToken.
*/
com.google.protobuf.ByteString getNextPageTokenBytes();
}
diff --git a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsRequest.java b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsRequest.java
index 475ead7e..ac2b296d 100644
--- a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsRequest.java
+++ b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsRequest.java
@@ -46,6 +46,12 @@ private ListTransferRunsRequest() {
runAttempt_ = 0;
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new ListTransferRunsRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -80,9 +86,9 @@ private ListTransferRunsRequest(
case 16:
{
int rawValue = input.readEnum();
- if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+ if (!((mutable_bitField0_ & 0x00000001) != 0)) {
states_ = new java.util.ArrayList();
- mutable_bitField0_ |= 0x00000002;
+ mutable_bitField0_ |= 0x00000001;
}
states_.add(rawValue);
break;
@@ -93,9 +99,9 @@ private ListTransferRunsRequest(
int oldLimit = input.pushLimit(length);
while (input.getBytesUntilLimit() > 0) {
int rawValue = input.readEnum();
- if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+ if (!((mutable_bitField0_ & 0x00000001) != 0)) {
states_ = new java.util.ArrayList();
- mutable_bitField0_ |= 0x00000002;
+ mutable_bitField0_ |= 0x00000001;
}
states_.add(rawValue);
}
@@ -135,7 +141,7 @@ private ListTransferRunsRequest(
} 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)) {
states_ = java.util.Collections.unmodifiableList(states_);
}
this.unknownFields = unknownFields.build();
@@ -220,12 +226,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 RunAttempt 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 RunAttempt forNumber(int value) {
switch (value) {
case 0:
@@ -283,7 +297,6 @@ private RunAttempt(int value) {
// @@protoc_insertion_point(enum_scope:google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt)
}
- private int bitField0_;
public static final int PARENT_FIELD_NUMBER = 1;
private volatile java.lang.Object parent_;
/**
@@ -299,6 +312,8 @@ private RunAttempt(int value) {
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The parent.
*/
public java.lang.String getParent() {
java.lang.Object ref = parent_;
@@ -324,6 +339,8 @@ public java.lang.String getParent() {
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The bytes for parent.
*/
public com.google.protobuf.ByteString getParentBytes() {
java.lang.Object ref = parent_;
@@ -362,6 +379,8 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferState convert(
*
*
* repeated .google.cloud.bigquery.datatransfer.v1.TransferState states = 2;
+ *
+ * @return A list containing the states.
*/
public java.util.List getStatesList() {
return new com.google.protobuf.Internal.ListAdapter<
@@ -376,6 +395,8 @@ public java.util.List g
*
*
* repeated .google.cloud.bigquery.datatransfer.v1.TransferState states = 2;
+ *
+ * @param value The states to add.
*/
public int getStatesCount() {
return states_.size();
@@ -388,6 +409,9 @@ public int getStatesCount() {
*
*
* repeated .google.cloud.bigquery.datatransfer.v1.TransferState states = 2;
+ *
+ * @param index The index of the element to return.
+ * @return The states at the given index.
*/
public com.google.cloud.bigquery.datatransfer.v1.TransferState getStates(int index) {
return states_converter_.convert(states_.get(index));
@@ -400,6 +424,8 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferState getStates(int ind
*
*
* repeated .google.cloud.bigquery.datatransfer.v1.TransferState states = 2;
+ *
+ * @return A list containing the enum numeric values on the wire for states.
*/
public java.util.List getStatesValueList() {
return states_;
@@ -412,6 +438,9 @@ public java.util.List getStatesValueList() {
*
*
* repeated .google.cloud.bigquery.datatransfer.v1.TransferState states = 2;
+ *
+ * @param index The index of the value to return.
+ * @return The enum numeric value on the wire of states at the given index.
*/
public int getStatesValue(int index) {
return states_.get(index);
@@ -433,6 +462,8 @@ public int getStatesValue(int index) {
*
*
* string page_token = 3;
+ *
+ * @return The pageToken.
*/
public java.lang.String getPageToken() {
java.lang.Object ref = pageToken_;
@@ -457,6 +488,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_;
@@ -480,6 +513,8 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
*
*
* int32 page_size = 4;
+ *
+ * @return The pageSize.
*/
public int getPageSize() {
return pageSize_;
@@ -497,6 +532,8 @@ public int getPageSize() {
*
* .google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt run_attempt = 5;
*
+ *
+ * @return The enum numeric value on the wire for runAttempt.
*/
public int getRunAttemptValue() {
return runAttempt_;
@@ -511,6 +548,8 @@ public int getRunAttemptValue() {
*
* .google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt run_attempt = 5;
*
+ *
+ * @return The runAttempt.
*/
public com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt
getRunAttempt() {
@@ -793,7 +832,7 @@ public Builder clear() {
parent_ = "";
states_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000002);
+ bitField0_ = (bitField0_ & ~0x00000001);
pageToken_ = "";
pageSize_ = 0;
@@ -829,17 +868,15 @@ public com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest buildPa
com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest result =
new com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest(this);
int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
result.parent_ = parent_;
- if (((bitField0_ & 0x00000002) != 0)) {
+ if (((bitField0_ & 0x00000001) != 0)) {
states_ = java.util.Collections.unmodifiableList(states_);
- bitField0_ = (bitField0_ & ~0x00000002);
+ bitField0_ = (bitField0_ & ~0x00000001);
}
result.states_ = states_;
result.pageToken_ = pageToken_;
result.pageSize_ = pageSize_;
result.runAttempt_ = runAttempt_;
- result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@@ -899,7 +936,7 @@ public Builder mergeFrom(
if (!other.states_.isEmpty()) {
if (states_.isEmpty()) {
states_ = other.states_;
- bitField0_ = (bitField0_ & ~0x00000002);
+ bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureStatesIsMutable();
states_.addAll(other.states_);
@@ -963,6 +1000,8 @@ public Builder mergeFrom(
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The parent.
*/
public java.lang.String getParent() {
java.lang.Object ref = parent_;
@@ -988,6 +1027,8 @@ public java.lang.String getParent() {
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The bytes for parent.
*/
public com.google.protobuf.ByteString getParentBytes() {
java.lang.Object ref = parent_;
@@ -1013,6 +1054,9 @@ public com.google.protobuf.ByteString getParentBytes() {
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @param value The parent to set.
+ * @return This builder for chaining.
*/
public Builder setParent(java.lang.String value) {
if (value == null) {
@@ -1036,6 +1080,8 @@ public Builder setParent(java.lang.String value) {
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return This builder for chaining.
*/
public Builder clearParent() {
@@ -1056,6 +1102,9 @@ public Builder clearParent() {
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @param value The bytes for parent to set.
+ * @return This builder for chaining.
*/
public Builder setParentBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1071,9 +1120,9 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
private java.util.List states_ = java.util.Collections.emptyList();
private void ensureStatesIsMutable() {
- if (!((bitField0_ & 0x00000002) != 0)) {
+ if (!((bitField0_ & 0x00000001) != 0)) {
states_ = new java.util.ArrayList(states_);
- bitField0_ |= 0x00000002;
+ bitField0_ |= 0x00000001;
}
}
/**
@@ -1084,6 +1133,8 @@ private void ensureStatesIsMutable() {
*
*
* repeated .google.cloud.bigquery.datatransfer.v1.TransferState states = 2;
+ *
+ * @return A list containing the states.
*/
public java.util.List getStatesList() {
return new com.google.protobuf.Internal.ListAdapter<
@@ -1098,6 +1149,8 @@ public java.util.List g
*
*
* repeated .google.cloud.bigquery.datatransfer.v1.TransferState states = 2;
+ *
+ * @return The count of states.
*/
public int getStatesCount() {
return states_.size();
@@ -1110,6 +1163,9 @@ public int getStatesCount() {
*
*
* repeated .google.cloud.bigquery.datatransfer.v1.TransferState states = 2;
+ *
+ * @param index The index of the element to return.
+ * @return The states at the given index.
*/
public com.google.cloud.bigquery.datatransfer.v1.TransferState getStates(int index) {
return states_converter_.convert(states_.get(index));
@@ -1122,6 +1178,10 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferState getStates(int ind
*
*
* repeated .google.cloud.bigquery.datatransfer.v1.TransferState states = 2;
+ *
+ * @param index The index to set the value at.
+ * @param value The states to set.
+ * @return This builder for chaining.
*/
public Builder setStates(
int index, com.google.cloud.bigquery.datatransfer.v1.TransferState value) {
@@ -1141,6 +1201,9 @@ public Builder setStates(
*
*
* repeated .google.cloud.bigquery.datatransfer.v1.TransferState states = 2;
+ *
+ * @param value The states to add.
+ * @return This builder for chaining.
*/
public Builder addStates(com.google.cloud.bigquery.datatransfer.v1.TransferState value) {
if (value == null) {
@@ -1159,6 +1222,9 @@ public Builder addStates(com.google.cloud.bigquery.datatransfer.v1.TransferState
*
*
* repeated .google.cloud.bigquery.datatransfer.v1.TransferState states = 2;
+ *
+ * @param values The states to add.
+ * @return This builder for chaining.
*/
public Builder addAllStates(
java.lang.Iterable extends com.google.cloud.bigquery.datatransfer.v1.TransferState>
@@ -1178,10 +1244,12 @@ public Builder addAllStates(
*
*
* repeated .google.cloud.bigquery.datatransfer.v1.TransferState states = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearStates() {
states_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000002);
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -1193,6 +1261,8 @@ public Builder clearStates() {
*
*
* repeated .google.cloud.bigquery.datatransfer.v1.TransferState states = 2;
+ *
+ * @return A list containing the enum numeric values on the wire for states.
*/
public java.util.List getStatesValueList() {
return java.util.Collections.unmodifiableList(states_);
@@ -1205,6 +1275,9 @@ public java.util.List getStatesValueList() {
*
*
* repeated .google.cloud.bigquery.datatransfer.v1.TransferState states = 2;
+ *
+ * @param index The index of the value to return.
+ * @return The enum numeric value on the wire of states at the given index.
*/
public int getStatesValue(int index) {
return states_.get(index);
@@ -1217,6 +1290,10 @@ public int getStatesValue(int index) {
*
*
* repeated .google.cloud.bigquery.datatransfer.v1.TransferState states = 2;
+ *
+ * @param index The index of the value to return.
+ * @return The enum numeric value on the wire of states at the given index.
+ * @return This builder for chaining.
*/
public Builder setStatesValue(int index, int value) {
ensureStatesIsMutable();
@@ -1232,6 +1309,9 @@ public Builder setStatesValue(int index, int value) {
*
*
* repeated .google.cloud.bigquery.datatransfer.v1.TransferState states = 2;
+ *
+ * @param value The enum numeric value on the wire for states to add.
+ * @return This builder for chaining.
*/
public Builder addStatesValue(int value) {
ensureStatesIsMutable();
@@ -1247,6 +1327,9 @@ public Builder addStatesValue(int value) {
*
*
* repeated .google.cloud.bigquery.datatransfer.v1.TransferState states = 2;
+ *
+ * @param values The enum numeric values on the wire for states to add.
+ * @return This builder for chaining.
*/
public Builder addAllStatesValue(java.lang.Iterable values) {
ensureStatesIsMutable();
@@ -1270,6 +1353,8 @@ public Builder addAllStatesValue(java.lang.Iterable values) {
*
*
* string page_token = 3;
+ *
+ * @return The pageToken.
*/
public java.lang.String getPageToken() {
java.lang.Object ref = pageToken_;
@@ -1294,6 +1379,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_;
@@ -1318,6 +1405,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) {
@@ -1340,6 +1430,8 @@ public Builder setPageToken(java.lang.String value) {
*
*
* string page_token = 3;
+ *
+ * @return This builder for chaining.
*/
public Builder clearPageToken() {
@@ -1359,6 +1451,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) {
@@ -1380,6 +1475,8 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
*
*
* int32 page_size = 4;
+ *
+ * @return The pageSize.
*/
public int getPageSize() {
return pageSize_;
@@ -1392,6 +1489,9 @@ public int getPageSize() {
*
*
* int32 page_size = 4;
+ *
+ * @param value The pageSize to set.
+ * @return This builder for chaining.
*/
public Builder setPageSize(int value) {
@@ -1407,6 +1507,8 @@ public Builder setPageSize(int value) {
*
*
* int32 page_size = 4;
+ *
+ * @return This builder for chaining.
*/
public Builder clearPageSize() {
@@ -1426,6 +1528,8 @@ public Builder clearPageSize() {
*
* .google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt run_attempt = 5;
*
+ *
+ * @return The enum numeric value on the wire for runAttempt.
*/
public int getRunAttemptValue() {
return runAttempt_;
@@ -1440,6 +1544,9 @@ public int getRunAttemptValue() {
*
* .google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt run_attempt = 5;
*
+ *
+ * @param value The enum numeric value on the wire for runAttempt to set.
+ * @return This builder for chaining.
*/
public Builder setRunAttemptValue(int value) {
runAttempt_ = value;
@@ -1456,6 +1563,8 @@ public Builder setRunAttemptValue(int value) {
*
* .google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt run_attempt = 5;
*
+ *
+ * @return The runAttempt.
*/
public com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt
getRunAttempt() {
@@ -1478,6 +1587,9 @@ public Builder setRunAttemptValue(int value) {
*
* .google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt run_attempt = 5;
*
+ *
+ * @param value The runAttempt to set.
+ * @return This builder for chaining.
*/
public Builder setRunAttempt(
com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt value) {
@@ -1499,6 +1611,8 @@ public Builder setRunAttempt(
*
* .google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt run_attempt = 5;
*
+ *
+ * @return This builder for chaining.
*/
public Builder clearRunAttempt() {
diff --git a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsRequestOrBuilder.java b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsRequestOrBuilder.java
index 982a836a..43a897a9 100644
--- a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsRequestOrBuilder.java
+++ b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsRequestOrBuilder.java
@@ -36,6 +36,8 @@ public interface ListTransferRunsRequestOrBuilder
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The parent.
*/
java.lang.String getParent();
/**
@@ -51,6 +53,8 @@ public interface ListTransferRunsRequestOrBuilder
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The bytes for parent.
*/
com.google.protobuf.ByteString getParentBytes();
@@ -62,6 +66,8 @@ public interface ListTransferRunsRequestOrBuilder
*
*
* repeated .google.cloud.bigquery.datatransfer.v1.TransferState states = 2;
+ *
+ * @return A list containing the states.
*/
java.util.List getStatesList();
/**
@@ -72,6 +78,8 @@ public interface ListTransferRunsRequestOrBuilder
*
*
* repeated .google.cloud.bigquery.datatransfer.v1.TransferState states = 2;
+ *
+ * @return The count of states.
*/
int getStatesCount();
/**
@@ -82,6 +90,9 @@ public interface ListTransferRunsRequestOrBuilder
*
*
* repeated .google.cloud.bigquery.datatransfer.v1.TransferState states = 2;
+ *
+ * @param index The index of the element to return.
+ * @return The states at the given index.
*/
com.google.cloud.bigquery.datatransfer.v1.TransferState getStates(int index);
/**
@@ -92,6 +103,8 @@ public interface ListTransferRunsRequestOrBuilder
*
*
* repeated .google.cloud.bigquery.datatransfer.v1.TransferState states = 2;
+ *
+ * @return A list containing the enum numeric values on the wire for states.
*/
java.util.List getStatesValueList();
/**
@@ -102,6 +115,9 @@ public interface ListTransferRunsRequestOrBuilder
*
*
* repeated .google.cloud.bigquery.datatransfer.v1.TransferState states = 2;
+ *
+ * @param index The index of the value to return.
+ * @return The enum numeric value on the wire of states at the given index.
*/
int getStatesValue(int index);
@@ -117,6 +133,8 @@ public interface ListTransferRunsRequestOrBuilder
*
*
* string page_token = 3;
+ *
+ * @return The pageToken.
*/
java.lang.String getPageToken();
/**
@@ -131,6 +149,8 @@ public interface ListTransferRunsRequestOrBuilder
*
*
* string page_token = 3;
+ *
+ * @return The bytes for pageToken.
*/
com.google.protobuf.ByteString getPageTokenBytes();
@@ -142,6 +162,8 @@ public interface ListTransferRunsRequestOrBuilder
*
*
* int32 page_size = 4;
+ *
+ * @return The pageSize.
*/
int getPageSize();
@@ -155,6 +177,8 @@ public interface ListTransferRunsRequestOrBuilder
*
* .google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt run_attempt = 5;
*
+ *
+ * @return The enum numeric value on the wire for runAttempt.
*/
int getRunAttemptValue();
/**
@@ -167,6 +191,8 @@ public interface ListTransferRunsRequestOrBuilder
*
* .google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt run_attempt = 5;
*
+ *
+ * @return The runAttempt.
*/
com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt getRunAttempt();
}
diff --git a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsResponse.java b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsResponse.java
index 08082c64..5e5e9588 100644
--- a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsResponse.java
+++ b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsResponse.java
@@ -42,6 +42,12 @@ private ListTransferRunsResponse() {
nextPageToken_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new ListTransferRunsResponse();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -124,7 +130,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse.Builder.class);
}
- private int bitField0_;
public static final int TRANSFER_RUNS_FIELD_NUMBER = 1;
private java.util.List transferRuns_;
/**
@@ -214,6 +219,8 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder getTransfe
*
*
* string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The nextPageToken.
*/
public java.lang.String getNextPageToken() {
java.lang.Object ref = nextPageToken_;
@@ -237,6 +244,8 @@ public java.lang.String getNextPageToken() {
*
*
* string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The bytes for nextPageToken.
*/
public com.google.protobuf.ByteString getNextPageTokenBytes() {
java.lang.Object ref = nextPageToken_;
@@ -508,7 +517,6 @@ public com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse buildP
com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse result =
new com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse(this);
int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
if (transferRunsBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
transferRuns_ = java.util.Collections.unmodifiableList(transferRuns_);
@@ -519,7 +527,6 @@ public com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse buildP
result.transferRuns_ = transferRunsBuilder_.build();
}
result.nextPageToken_ = nextPageToken_;
- result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@@ -1045,6 +1052,8 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferRun.Builder addTransfer
*
*
* string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The nextPageToken.
*/
public java.lang.String getNextPageToken() {
java.lang.Object ref = nextPageToken_;
@@ -1068,6 +1077,8 @@ public java.lang.String getNextPageToken() {
*
*
* string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The bytes for nextPageToken.
*/
public com.google.protobuf.ByteString getNextPageTokenBytes() {
java.lang.Object ref = nextPageToken_;
@@ -1091,6 +1102,9 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
*
*
* string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @param value The nextPageToken to set.
+ * @return This builder for chaining.
*/
public Builder setNextPageToken(java.lang.String value) {
if (value == null) {
@@ -1112,6 +1126,8 @@ public Builder setNextPageToken(java.lang.String value) {
*
*
* string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return This builder for chaining.
*/
public Builder clearNextPageToken() {
@@ -1130,6 +1146,9 @@ public Builder clearNextPageToken() {
*
*
* string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @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-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsResponseOrBuilder.java b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsResponseOrBuilder.java
index cf9bbf8a..853a3a14 100644
--- a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsResponseOrBuilder.java
+++ b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ListTransferRunsResponseOrBuilder.java
@@ -97,6 +97,8 @@ com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder getTransferRunsOr
*
*
* string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The nextPageToken.
*/
java.lang.String getNextPageToken();
/**
@@ -110,6 +112,8 @@ com.google.cloud.bigquery.datatransfer.v1.TransferRunOrBuilder getTransferRunsOr
*
*
* string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The bytes for nextPageToken.
*/
com.google.protobuf.ByteString getNextPageTokenBytes();
}
diff --git a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/LocationDataSourceName.java b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/LocationDataSourceName.java
index 83160b0e..2b9fe18a 100644
--- a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/LocationDataSourceName.java
+++ b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/LocationDataSourceName.java
@@ -23,8 +23,13 @@
import java.util.List;
import java.util.Map;
-// AUTO-GENERATED DOCUMENTATION AND CLASS
+/**
+ * AUTO-GENERATED DOCUMENTATION AND CLASS
+ *
+ * @deprecated This resource name class will be removed in the next major version.
+ */
@javax.annotation.Generated("by GAPIC protoc plugin")
+@Deprecated
public class LocationDataSourceName extends DataSourceName {
private static final PathTemplate PATH_TEMPLATE =
diff --git a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/LocationName.java b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/LocationName.java
index 2159e023..c23604e4 100644
--- a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/LocationName.java
+++ b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/LocationName.java
@@ -23,8 +23,13 @@
import java.util.List;
import java.util.Map;
-// AUTO-GENERATED DOCUMENTATION AND CLASS
+/**
+ * AUTO-GENERATED DOCUMENTATION AND CLASS
+ *
+ * @deprecated This resource name class will be removed in the next major version.
+ */
@javax.annotation.Generated("by GAPIC protoc plugin")
+@Deprecated
public class LocationName extends ParentName {
private static final PathTemplate PATH_TEMPLATE =
diff --git a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/LocationRunName.java b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/LocationRunName.java
index ff5fab56..49647acb 100644
--- a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/LocationRunName.java
+++ b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/LocationRunName.java
@@ -23,8 +23,13 @@
import java.util.List;
import java.util.Map;
-// AUTO-GENERATED DOCUMENTATION AND CLASS
+/**
+ * AUTO-GENERATED DOCUMENTATION AND CLASS
+ *
+ * @deprecated This resource name class will be removed in the next major version.
+ */
@javax.annotation.Generated("by GAPIC protoc plugin")
+@Deprecated
public class LocationRunName extends RunName {
private static final PathTemplate PATH_TEMPLATE =
diff --git a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/LocationTransferConfigName.java b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/LocationTransferConfigName.java
index e7da1e97..84b81a71 100644
--- a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/LocationTransferConfigName.java
+++ b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/LocationTransferConfigName.java
@@ -23,8 +23,13 @@
import java.util.List;
import java.util.Map;
-// AUTO-GENERATED DOCUMENTATION AND CLASS
+/**
+ * AUTO-GENERATED DOCUMENTATION AND CLASS
+ *
+ * @deprecated This resource name class will be removed in the next major version.
+ */
@javax.annotation.Generated("by GAPIC protoc plugin")
+@Deprecated
public class LocationTransferConfigName extends TransferConfigName {
private static final PathTemplate PATH_TEMPLATE =
diff --git a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ParentName.java b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ParentName.java
index ca66fe0c..b48a1756 100644
--- a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ParentName.java
+++ b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ParentName.java
@@ -18,7 +18,7 @@
import com.google.api.resourcenames.ResourceName;
-// AUTO-GENERATED DOCUMENTATION AND CLASS
+/** AUTO-GENERATED DOCUMENTATION AND CLASS */
@javax.annotation.Generated("by GAPIC protoc plugin")
public abstract class ParentName implements ResourceName {
protected ParentName() {}
diff --git a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ParentNames.java b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ParentNames.java
index cc844559..86cb55db 100644
--- a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ParentNames.java
+++ b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ParentNames.java
@@ -16,8 +16,13 @@
package com.google.cloud.bigquery.datatransfer.v1;
-// AUTO-GENERATED DOCUMENTATION AND CLASS
+/**
+ * AUTO-GENERATED DOCUMENTATION AND CLASS
+ *
+ * @deprecated This resource name class will be removed in the next major version.
+ */
@javax.annotation.Generated("by GAPIC protoc plugin")
+@Deprecated
public class ParentNames {
private ParentNames() {}
diff --git a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ProjectDataSourceName.java b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ProjectDataSourceName.java
index 424d2d5f..e6482a4b 100644
--- a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ProjectDataSourceName.java
+++ b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ProjectDataSourceName.java
@@ -23,8 +23,13 @@
import java.util.List;
import java.util.Map;
-// AUTO-GENERATED DOCUMENTATION AND CLASS
+/**
+ * AUTO-GENERATED DOCUMENTATION AND CLASS
+ *
+ * @deprecated This resource name class will be removed in the next major version.
+ */
@javax.annotation.Generated("by GAPIC protoc plugin")
+@Deprecated
public class ProjectDataSourceName extends DataSourceName {
private static final PathTemplate PATH_TEMPLATE =
diff --git a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ProjectName.java b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ProjectName.java
index fa685e76..fb430c0c 100644
--- a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ProjectName.java
+++ b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ProjectName.java
@@ -23,8 +23,13 @@
import java.util.List;
import java.util.Map;
-// AUTO-GENERATED DOCUMENTATION AND CLASS
+/**
+ * AUTO-GENERATED DOCUMENTATION AND CLASS
+ *
+ * @deprecated This resource name class will be removed in the next major version.
+ */
@javax.annotation.Generated("by GAPIC protoc plugin")
+@Deprecated
public class ProjectName extends ParentName {
private static final PathTemplate PATH_TEMPLATE =
diff --git a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ProjectRunName.java b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ProjectRunName.java
index 38831760..14fa2d93 100644
--- a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ProjectRunName.java
+++ b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ProjectRunName.java
@@ -23,8 +23,13 @@
import java.util.List;
import java.util.Map;
-// AUTO-GENERATED DOCUMENTATION AND CLASS
+/**
+ * AUTO-GENERATED DOCUMENTATION AND CLASS
+ *
+ * @deprecated This resource name class will be removed in the next major version.
+ */
@javax.annotation.Generated("by GAPIC protoc plugin")
+@Deprecated
public class ProjectRunName extends RunName {
private static final PathTemplate PATH_TEMPLATE =
diff --git a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ProjectTransferConfigName.java b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ProjectTransferConfigName.java
index b4d2ed83..e65a4202 100644
--- a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ProjectTransferConfigName.java
+++ b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ProjectTransferConfigName.java
@@ -23,8 +23,13 @@
import java.util.List;
import java.util.Map;
-// AUTO-GENERATED DOCUMENTATION AND CLASS
+/**
+ * AUTO-GENERATED DOCUMENTATION AND CLASS
+ *
+ * @deprecated This resource name class will be removed in the next major version.
+ */
@javax.annotation.Generated("by GAPIC protoc plugin")
+@Deprecated
public class ProjectTransferConfigName extends TransferConfigName {
private static final PathTemplate PATH_TEMPLATE =
diff --git a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/RunName.java b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/RunName.java
index 3ae3dbef..4b41f6b8 100644
--- a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/RunName.java
+++ b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/RunName.java
@@ -18,7 +18,7 @@
import com.google.api.resourcenames.ResourceName;
-// AUTO-GENERATED DOCUMENTATION AND CLASS
+/** AUTO-GENERATED DOCUMENTATION AND CLASS */
@javax.annotation.Generated("by GAPIC protoc plugin")
public abstract class RunName implements ResourceName {
protected RunName() {}
diff --git a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/RunNames.java b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/RunNames.java
index 18ef3098..bf86b743 100644
--- a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/RunNames.java
+++ b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/RunNames.java
@@ -16,8 +16,13 @@
package com.google.cloud.bigquery.datatransfer.v1;
-// AUTO-GENERATED DOCUMENTATION AND CLASS
+/**
+ * AUTO-GENERATED DOCUMENTATION AND CLASS
+ *
+ * @deprecated This resource name class will be removed in the next major version.
+ */
@javax.annotation.Generated("by GAPIC protoc plugin")
+@Deprecated
public class RunNames {
private RunNames() {}
diff --git a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleOptions.java b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleOptions.java
index 56baaf1a..8f1b1205 100644
--- a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleOptions.java
+++ b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleOptions.java
@@ -39,6 +39,12 @@ private ScheduleOptions(com.google.protobuf.GeneratedMessageV3.Builder> builde
private ScheduleOptions() {}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new ScheduleOptions();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -52,7 +58,6 @@ private ScheduleOptions(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -145,6 +150,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* bool disable_auto_scheduling = 3;
+ *
+ * @return The disableAutoScheduling.
*/
public boolean getDisableAutoScheduling() {
return disableAutoScheduling_;
@@ -164,6 +171,8 @@ public boolean getDisableAutoScheduling() {
*
*
* .google.protobuf.Timestamp start_time = 1;
+ *
+ * @return Whether the startTime field is set.
*/
public boolean hasStartTime() {
return startTime_ != null;
@@ -180,6 +189,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_;
@@ -214,6 +225,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;
@@ -229,6 +242,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_;
@@ -635,6 +650,8 @@ public Builder mergeFrom(
*
*
* bool disable_auto_scheduling = 3;
+ *
+ * @return The disableAutoScheduling.
*/
public boolean getDisableAutoScheduling() {
return disableAutoScheduling_;
@@ -650,6 +667,9 @@ public boolean getDisableAutoScheduling() {
*
*
* bool disable_auto_scheduling = 3;
+ *
+ * @param value The disableAutoScheduling to set.
+ * @return This builder for chaining.
*/
public Builder setDisableAutoScheduling(boolean value) {
@@ -668,6 +688,8 @@ public Builder setDisableAutoScheduling(boolean value) {
*
*
* bool disable_auto_scheduling = 3;
+ *
+ * @return This builder for chaining.
*/
public Builder clearDisableAutoScheduling() {
@@ -694,6 +716,8 @@ public Builder clearDisableAutoScheduling() {
*
*
* .google.protobuf.Timestamp start_time = 1;
+ *
+ * @return Whether the startTime field is set.
*/
public boolean hasStartTime() {
return startTimeBuilder_ != null || startTime_ != null;
@@ -710,6 +734,8 @@ public boolean hasStartTime() {
*
*
* .google.protobuf.Timestamp start_time = 1;
+ *
+ * @return The startTime.
*/
public com.google.protobuf.Timestamp getStartTime() {
if (startTimeBuilder_ == null) {
@@ -904,6 +930,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;
@@ -919,6 +947,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-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleOptionsOrBuilder.java b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleOptionsOrBuilder.java
index 7b867678..e05bc02a 100644
--- a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleOptionsOrBuilder.java
+++ b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleOptionsOrBuilder.java
@@ -34,6 +34,8 @@ public interface ScheduleOptionsOrBuilder
*
*
* bool disable_auto_scheduling = 3;
+ *
+ * @return The disableAutoScheduling.
*/
boolean getDisableAutoScheduling();
@@ -49,6 +51,8 @@ public interface ScheduleOptionsOrBuilder
*
*
* .google.protobuf.Timestamp start_time = 1;
+ *
+ * @return Whether the startTime field is set.
*/
boolean hasStartTime();
/**
@@ -63,6 +67,8 @@ public interface ScheduleOptionsOrBuilder
*
*
* .google.protobuf.Timestamp start_time = 1;
+ *
+ * @return The startTime.
*/
com.google.protobuf.Timestamp getStartTime();
/**
@@ -91,6 +97,8 @@ public interface ScheduleOptionsOrBuilder
*
*
* .google.protobuf.Timestamp end_time = 2;
+ *
+ * @return Whether the endTime field is set.
*/
boolean hasEndTime();
/**
@@ -104,6 +112,8 @@ public interface ScheduleOptionsOrBuilder
*
*
* .google.protobuf.Timestamp end_time = 2;
+ *
+ * @return The endTime.
*/
com.google.protobuf.Timestamp getEndTime();
/**
diff --git a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleTransferRunsRequest.java b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleTransferRunsRequest.java
index f4cec1b2..c0255d2e 100644
--- a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleTransferRunsRequest.java
+++ b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleTransferRunsRequest.java
@@ -41,6 +41,12 @@ private ScheduleTransferRunsRequest() {
parent_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new ScheduleTransferRunsRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -54,7 +60,6 @@ private ScheduleTransferRunsRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -150,6 +155,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The parent.
*/
public java.lang.String getParent() {
java.lang.Object ref = parent_;
@@ -174,6 +181,8 @@ public java.lang.String getParent() {
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The bytes for parent.
*/
public com.google.protobuf.ByteString getParentBytes() {
java.lang.Object ref = parent_;
@@ -199,6 +208,8 @@ public com.google.protobuf.ByteString getParentBytes() {
*
* .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED];
*
+ *
+ * @return Whether the startTime field is set.
*/
public boolean hasStartTime() {
return startTime_ != null;
@@ -213,6 +224,8 @@ public boolean hasStartTime() {
*
* .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED];
*
+ *
+ * @return The startTime.
*/
public com.google.protobuf.Timestamp getStartTime() {
return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_;
@@ -243,6 +256,8 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
*
*
* .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return Whether the endTime field is set.
*/
public boolean hasEndTime() {
return endTime_ != null;
@@ -256,6 +271,8 @@ public boolean hasEndTime() {
*
*
* .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The endTime.
*/
public com.google.protobuf.Timestamp getEndTime() {
return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
@@ -670,6 +687,8 @@ public Builder mergeFrom(
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The parent.
*/
public java.lang.String getParent() {
java.lang.Object ref = parent_;
@@ -694,6 +713,8 @@ public java.lang.String getParent() {
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The bytes for parent.
*/
public com.google.protobuf.ByteString getParentBytes() {
java.lang.Object ref = parent_;
@@ -718,6 +739,9 @@ public com.google.protobuf.ByteString getParentBytes() {
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @param value The parent to set.
+ * @return This builder for chaining.
*/
public Builder setParent(java.lang.String value) {
if (value == null) {
@@ -740,6 +764,8 @@ public Builder setParent(java.lang.String value) {
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return This builder for chaining.
*/
public Builder clearParent() {
@@ -759,6 +785,9 @@ public Builder clearParent() {
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @param value The bytes for parent to set.
+ * @return This builder for chaining.
*/
public Builder setParentBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -787,6 +816,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
*
* .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED];
*
+ *
+ * @return Whether the startTime field is set.
*/
public boolean hasStartTime() {
return startTimeBuilder_ != null || startTime_ != null;
@@ -801,6 +832,8 @@ public boolean hasStartTime() {
*
* .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED];
*
+ *
+ * @return The startTime.
*/
public com.google.protobuf.Timestamp getStartTime() {
if (startTimeBuilder_ == null) {
@@ -980,6 +1013,8 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
*
* .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = REQUIRED];
*
+ *
+ * @return Whether the endTime field is set.
*/
public boolean hasEndTime() {
return endTimeBuilder_ != null || endTime_ != null;
@@ -994,6 +1029,8 @@ public boolean hasEndTime() {
*
* .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = REQUIRED];
*
+ *
+ * @return The endTime.
*/
public com.google.protobuf.Timestamp getEndTime() {
if (endTimeBuilder_ == null) {
diff --git a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleTransferRunsRequestOrBuilder.java b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleTransferRunsRequestOrBuilder.java
index 4265a17a..87839fea 100644
--- a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleTransferRunsRequestOrBuilder.java
+++ b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleTransferRunsRequestOrBuilder.java
@@ -35,6 +35,8 @@ public interface ScheduleTransferRunsRequestOrBuilder
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The parent.
*/
java.lang.String getParent();
/**
@@ -49,6 +51,8 @@ public interface ScheduleTransferRunsRequestOrBuilder
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
+ *
+ * @return The bytes for parent.
*/
com.google.protobuf.ByteString getParentBytes();
@@ -62,6 +66,8 @@ public interface ScheduleTransferRunsRequestOrBuilder
*
* .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED];
*
+ *
+ * @return Whether the startTime field is set.
*/
boolean hasStartTime();
/**
@@ -74,6 +80,8 @@ public interface ScheduleTransferRunsRequestOrBuilder
*
* .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED];
*
+ *
+ * @return The startTime.
*/
com.google.protobuf.Timestamp getStartTime();
/**
@@ -98,6 +106,8 @@ public interface ScheduleTransferRunsRequestOrBuilder
*
*
* .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return Whether the endTime field is set.
*/
boolean hasEndTime();
/**
@@ -109,6 +119,8 @@ public interface ScheduleTransferRunsRequestOrBuilder
*
*
* .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The endTime.
*/
com.google.protobuf.Timestamp getEndTime();
/**
diff --git a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleTransferRunsResponse.java b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleTransferRunsResponse.java
index 63539cce..767ff4ac 100644
--- a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleTransferRunsResponse.java
+++ b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/ScheduleTransferRunsResponse.java
@@ -41,6 +41,12 @@ private ScheduleTransferRunsResponse() {
runs_ = java.util.Collections.emptyList();
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new ScheduleTransferRunsResponse();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
diff --git a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/StartManualTransferRunsRequest.java b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/StartManualTransferRunsRequest.java
index 77464de7..cd9c228b 100644
--- a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/StartManualTransferRunsRequest.java
+++ b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/StartManualTransferRunsRequest.java
@@ -42,6 +42,12 @@ private StartManualTransferRunsRequest() {
parent_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new StartManualTransferRunsRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -55,7 +61,6 @@ private StartManualTransferRunsRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -164,6 +169,8 @@ public interface TimeRangeOrBuilder
*
*
* .google.protobuf.Timestamp start_time = 1;
+ *
+ * @return Whether the startTime field is set.
*/
boolean hasStartTime();
/**
@@ -177,6 +184,8 @@ public interface TimeRangeOrBuilder
*
*
* .google.protobuf.Timestamp start_time = 1;
+ *
+ * @return The startTime.
*/
com.google.protobuf.Timestamp getStartTime();
/**
@@ -204,6 +213,8 @@ public interface TimeRangeOrBuilder
*
*
* .google.protobuf.Timestamp end_time = 2;
+ *
+ * @return Whether the endTime field is set.
*/
boolean hasEndTime();
/**
@@ -217,6 +228,8 @@ public interface TimeRangeOrBuilder
*
*
* .google.protobuf.Timestamp end_time = 2;
+ *
+ * @return The endTime.
*/
com.google.protobuf.Timestamp getEndTime();
/**
@@ -256,6 +269,12 @@ private TimeRange(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
private TimeRange() {}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new TimeRange();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -269,7 +288,6 @@ private TimeRange(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -359,6 +377,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;
@@ -374,6 +394,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_;
@@ -407,6 +429,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;
@@ -422,6 +446,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_;
@@ -852,6 +878,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;
@@ -867,6 +895,8 @@ public boolean hasStartTime() {
*
*
* .google.protobuf.Timestamp start_time = 1;
+ *
+ * @return The startTime.
*/
public com.google.protobuf.Timestamp getStartTime() {
if (startTimeBuilder_ == null) {
@@ -1060,6 +1090,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;
@@ -1075,6 +1107,8 @@ public boolean hasEndTime() {
*
*
* .google.protobuf.Timestamp end_time = 2;
+ *
+ * @return The endTime.
*/
public com.google.protobuf.Timestamp getEndTime() {
if (endTimeBuilder_ == null) {
@@ -1305,7 +1339,10 @@ public com.google.protobuf.Parser getParserForType() {
private int timeCase_ = 0;
private java.lang.Object time_;
- public enum TimeCase implements com.google.protobuf.Internal.EnumLite {
+ public enum TimeCase
+ implements
+ com.google.protobuf.Internal.EnumLite,
+ com.google.protobuf.AbstractMessage.InternalOneOfEnum {
REQUESTED_TIME_RANGE(3),
REQUESTED_RUN_TIME(4),
TIME_NOT_SET(0);
@@ -1314,7 +1351,11 @@ public enum TimeCase implements com.google.protobuf.Internal.EnumLite {
private TimeCase(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 TimeCase valueOf(int value) {
return forNumber(value);
@@ -1354,6 +1395,8 @@ public TimeCase getTimeCase() {
*
*
* string parent = 1 [(.google.api.resource_reference) = { ... }
+ *
+ * @return The parent.
*/
public java.lang.String getParent() {
java.lang.Object ref = parent_;
@@ -1376,6 +1419,8 @@ public java.lang.String getParent() {
*
*
* string parent = 1 [(.google.api.resource_reference) = { ... }
+ *
+ * @return The bytes for parent.
*/
public com.google.protobuf.ByteString getParentBytes() {
java.lang.Object ref = parent_;
@@ -1400,6 +1445,8 @@ public com.google.protobuf.ByteString getParentBytes() {
*
* .google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange requested_time_range = 3;
*
+ *
+ * @return Whether the requestedTimeRange field is set.
*/
public boolean hasRequestedTimeRange() {
return timeCase_ == 3;
@@ -1414,6 +1461,8 @@ public boolean hasRequestedTimeRange() {
*
* .google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange requested_time_range = 3;
*
+ *
+ * @return The requestedTimeRange.
*/
public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange
getRequestedTimeRange() {
@@ -1455,6 +1504,8 @@ public boolean hasRequestedTimeRange() {
*
*
* .google.protobuf.Timestamp requested_run_time = 4;
+ *
+ * @return Whether the requestedRunTime field is set.
*/
public boolean hasRequestedRunTime() {
return timeCase_ == 4;
@@ -1468,6 +1519,8 @@ public boolean hasRequestedRunTime() {
*
*
* .google.protobuf.Timestamp requested_run_time = 4;
+ *
+ * @return The requestedRunTime.
*/
public com.google.protobuf.Timestamp getRequestedRunTime() {
if (timeCase_ == 4) {
@@ -1925,6 +1978,8 @@ public Builder clearTime() {
*
*
* string parent = 1 [(.google.api.resource_reference) = { ... }
+ *
+ * @return The parent.
*/
public java.lang.String getParent() {
java.lang.Object ref = parent_;
@@ -1947,6 +2002,8 @@ public java.lang.String getParent() {
*
*
* string parent = 1 [(.google.api.resource_reference) = { ... }
+ *
+ * @return The bytes for parent.
*/
public com.google.protobuf.ByteString getParentBytes() {
java.lang.Object ref = parent_;
@@ -1969,6 +2026,9 @@ public com.google.protobuf.ByteString getParentBytes() {
*
*
* string parent = 1 [(.google.api.resource_reference) = { ... }
+ *
+ * @param value The parent to set.
+ * @return This builder for chaining.
*/
public Builder setParent(java.lang.String value) {
if (value == null) {
@@ -1989,6 +2049,8 @@ public Builder setParent(java.lang.String value) {
*
*
* string parent = 1 [(.google.api.resource_reference) = { ... }
+ *
+ * @return This builder for chaining.
*/
public Builder clearParent() {
@@ -2006,6 +2068,9 @@ public Builder clearParent() {
*
*
* string parent = 1 [(.google.api.resource_reference) = { ... }
+ *
+ * @param value The bytes for parent to set.
+ * @return This builder for chaining.
*/
public Builder setParentBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -2035,6 +2100,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
*
* .google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange requested_time_range = 3;
*
+ *
+ * @return Whether the requestedTimeRange field is set.
*/
public boolean hasRequestedTimeRange() {
return timeCase_ == 3;
@@ -2049,6 +2116,8 @@ public boolean hasRequestedTimeRange() {
*
* .google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange requested_time_range = 3;
*
+ *
+ * @return The requestedTimeRange.
*/
public com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange
getRequestedTimeRange() {
@@ -2281,6 +2350,8 @@ public Builder clearRequestedTimeRange() {
*
*
* .google.protobuf.Timestamp requested_run_time = 4;
+ *
+ * @return Whether the requestedRunTime field is set.
*/
public boolean hasRequestedRunTime() {
return timeCase_ == 4;
@@ -2294,6 +2365,8 @@ public boolean hasRequestedRunTime() {
*
*
* .google.protobuf.Timestamp requested_run_time = 4;
+ *
+ * @return The requestedRunTime.
*/
public com.google.protobuf.Timestamp getRequestedRunTime() {
if (requestedRunTimeBuilder_ == null) {
diff --git a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/StartManualTransferRunsRequestOrBuilder.java b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/StartManualTransferRunsRequestOrBuilder.java
index ff2ee878..e2c2256a 100644
--- a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/StartManualTransferRunsRequestOrBuilder.java
+++ b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/StartManualTransferRunsRequestOrBuilder.java
@@ -33,6 +33,8 @@ public interface StartManualTransferRunsRequestOrBuilder
*
*
* string parent = 1 [(.google.api.resource_reference) = { ... }
+ *
+ * @return The parent.
*/
java.lang.String getParent();
/**
@@ -45,6 +47,8 @@ public interface StartManualTransferRunsRequestOrBuilder
*
*
* string parent = 1 [(.google.api.resource_reference) = { ... }
+ *
+ * @return The bytes for parent.
*/
com.google.protobuf.ByteString getParentBytes();
@@ -58,6 +62,8 @@ public interface StartManualTransferRunsRequestOrBuilder
*
* .google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange requested_time_range = 3;
*
+ *
+ * @return Whether the requestedTimeRange field is set.
*/
boolean hasRequestedTimeRange();
/**
@@ -70,6 +76,8 @@ public interface StartManualTransferRunsRequestOrBuilder
*
* .google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange requested_time_range = 3;
*
+ *
+ * @return The requestedTimeRange.
*/
com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange
getRequestedTimeRange();
@@ -96,6 +104,8 @@ public interface StartManualTransferRunsRequestOrBuilder
*
*
* .google.protobuf.Timestamp requested_run_time = 4;
+ *
+ * @return Whether the requestedRunTime field is set.
*/
boolean hasRequestedRunTime();
/**
@@ -107,6 +117,8 @@ public interface StartManualTransferRunsRequestOrBuilder
*
*
* .google.protobuf.Timestamp requested_run_time = 4;
+ *
+ * @return The requestedRunTime.
*/
com.google.protobuf.Timestamp getRequestedRunTime();
/**
diff --git a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/StartManualTransferRunsResponse.java b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/StartManualTransferRunsResponse.java
index 7a5ded44..59578ece 100644
--- a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/StartManualTransferRunsResponse.java
+++ b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/StartManualTransferRunsResponse.java
@@ -42,6 +42,12 @@ private StartManualTransferRunsResponse() {
runs_ = java.util.Collections.emptyList();
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new StartManualTransferRunsResponse();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
diff --git a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferConfig.java b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferConfig.java
index ab8e1ac7..d12a4334 100644
--- a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferConfig.java
+++ b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferConfig.java
@@ -52,6 +52,12 @@ private TransferConfig() {
notificationPubsubTopic_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new TransferConfig();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -65,7 +71,6 @@ private TransferConfig(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -262,7 +267,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
private int destinationCase_ = 0;
private java.lang.Object destination_;
- public enum DestinationCase implements com.google.protobuf.Internal.EnumLite {
+ public enum DestinationCase
+ implements
+ com.google.protobuf.Internal.EnumLite,
+ com.google.protobuf.AbstractMessage.InternalOneOfEnum {
DESTINATION_DATASET_ID(2),
DESTINATION_NOT_SET(0);
private final int value;
@@ -270,7 +278,11 @@ public enum DestinationCase implements com.google.protobuf.Internal.EnumLite {
private DestinationCase(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 DestinationCase valueOf(int value) {
return forNumber(value);
@@ -312,6 +324,8 @@ public DestinationCase getDestinationCase() {
*
*
* string name = 1;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -338,6 +352,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_;
@@ -360,6 +376,8 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* string destination_dataset_id = 2;
+ *
+ * @return The destinationDatasetId.
*/
public java.lang.String getDestinationDatasetId() {
java.lang.Object ref = "";
@@ -385,6 +403,8 @@ public java.lang.String getDestinationDatasetId() {
*
*
* string destination_dataset_id = 2;
+ *
+ * @return The bytes for destinationDatasetId.
*/
public com.google.protobuf.ByteString getDestinationDatasetIdBytes() {
java.lang.Object ref = "";
@@ -413,6 +433,8 @@ public com.google.protobuf.ByteString getDestinationDatasetIdBytes() {
*
*
* string display_name = 3;
+ *
+ * @return The displayName.
*/
public java.lang.String getDisplayName() {
java.lang.Object ref = displayName_;
@@ -433,6 +455,8 @@ public java.lang.String getDisplayName() {
*
*
* string display_name = 3;
+ *
+ * @return The bytes for displayName.
*/
public com.google.protobuf.ByteString getDisplayNameBytes() {
java.lang.Object ref = displayName_;
@@ -456,6 +480,8 @@ public com.google.protobuf.ByteString getDisplayNameBytes() {
*
*
* string data_source_id = 5;
+ *
+ * @return The dataSourceId.
*/
public java.lang.String getDataSourceId() {
java.lang.Object ref = dataSourceId_;
@@ -476,6 +502,8 @@ public java.lang.String getDataSourceId() {
*
*
* string data_source_id = 5;
+ *
+ * @return The bytes for dataSourceId.
*/
public com.google.protobuf.ByteString getDataSourceIdBytes() {
java.lang.Object ref = dataSourceId_;
@@ -499,6 +527,8 @@ public com.google.protobuf.ByteString getDataSourceIdBytes() {
*
*
* .google.protobuf.Struct params = 9;
+ *
+ * @return Whether the params field is set.
*/
public boolean hasParams() {
return params_ != null;
@@ -511,6 +541,8 @@ public boolean hasParams() {
*
*
* .google.protobuf.Struct params = 9;
+ *
+ * @return The params.
*/
public com.google.protobuf.Struct getParams() {
return params_ == null ? com.google.protobuf.Struct.getDefaultInstance() : params_;
@@ -549,6 +581,8 @@ public com.google.protobuf.StructOrBuilder getParamsOrBuilder() {
*
*
* string schedule = 7;
+ *
+ * @return The schedule.
*/
public java.lang.String getSchedule() {
java.lang.Object ref = schedule_;
@@ -580,6 +614,8 @@ public java.lang.String getSchedule() {
*
*
* string schedule = 7;
+ *
+ * @return The bytes for schedule.
*/
public com.google.protobuf.ByteString getScheduleBytes() {
java.lang.Object ref = schedule_;
@@ -603,6 +639,8 @@ public com.google.protobuf.ByteString getScheduleBytes() {
*
*
* .google.cloud.bigquery.datatransfer.v1.ScheduleOptions schedule_options = 24;
+ *
+ * @return Whether the scheduleOptions field is set.
*/
public boolean hasScheduleOptions() {
return scheduleOptions_ != null;
@@ -615,6 +653,8 @@ public boolean hasScheduleOptions() {
*
*
* .google.cloud.bigquery.datatransfer.v1.ScheduleOptions schedule_options = 24;
+ *
+ * @return The scheduleOptions.
*/
public com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions getScheduleOptions() {
return scheduleOptions_ == null
@@ -650,6 +690,8 @@ public com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions getScheduleOpti
*
*
* int32 data_refresh_window_days = 12;
+ *
+ * @return The dataRefreshWindowDays.
*/
public int getDataRefreshWindowDays() {
return dataRefreshWindowDays_;
@@ -666,6 +708,8 @@ public int getDataRefreshWindowDays() {
*
*
* bool disabled = 13;
+ *
+ * @return The disabled.
*/
public boolean getDisabled() {
return disabled_;
@@ -682,6 +726,8 @@ public boolean getDisabled() {
*
* .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
+ *
+ * @return Whether the updateTime field is set.
*/
public boolean hasUpdateTime() {
return updateTime_ != null;
@@ -695,6 +741,8 @@ public boolean hasUpdateTime() {
*
* .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
+ *
+ * @return The updateTime.
*/
public com.google.protobuf.Timestamp getUpdateTime() {
return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_;
@@ -725,6 +773,8 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
*
* .google.protobuf.Timestamp next_run_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
+ *
+ * @return Whether the nextRunTime field is set.
*/
public boolean hasNextRunTime() {
return nextRunTime_ != null;
@@ -739,6 +789,8 @@ public boolean hasNextRunTime() {
*
* .google.protobuf.Timestamp next_run_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
+ *
+ * @return The nextRunTime.
*/
public com.google.protobuf.Timestamp getNextRunTime() {
return nextRunTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : nextRunTime_;
@@ -770,6 +822,8 @@ public com.google.protobuf.TimestampOrBuilder getNextRunTimeOrBuilder() {
*
* .google.cloud.bigquery.datatransfer.v1.TransferState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
+ *
+ * @return The enum numeric value on the wire for state.
*/
public int getStateValue() {
return state_;
@@ -784,6 +838,8 @@ public int getStateValue() {
*
* .google.cloud.bigquery.datatransfer.v1.TransferState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
+ *
+ * @return The state.
*/
public com.google.cloud.bigquery.datatransfer.v1.TransferState getState() {
@SuppressWarnings("deprecation")
@@ -804,6 +860,8 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferState getState() {
*
*
* int64 user_id = 11;
+ *
+ * @return The userId.
*/
public long getUserId() {
return userId_;
@@ -819,6 +877,8 @@ public long getUserId() {
*
*
* string dataset_region = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The datasetRegion.
*/
public java.lang.String getDatasetRegion() {
java.lang.Object ref = datasetRegion_;
@@ -839,6 +899,8 @@ public java.lang.String getDatasetRegion() {
*
*
* string dataset_region = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The bytes for datasetRegion.
*/
public com.google.protobuf.ByteString getDatasetRegionBytes() {
java.lang.Object ref = datasetRegion_;
@@ -863,6 +925,8 @@ public com.google.protobuf.ByteString getDatasetRegionBytes() {
*
*
* string notification_pubsub_topic = 15;
+ *
+ * @return The notificationPubsubTopic.
*/
public java.lang.String getNotificationPubsubTopic() {
java.lang.Object ref = notificationPubsubTopic_;
@@ -884,6 +948,8 @@ public java.lang.String getNotificationPubsubTopic() {
*
*
* string notification_pubsub_topic = 15;
+ *
+ * @return The bytes for notificationPubsubTopic.
*/
public com.google.protobuf.ByteString getNotificationPubsubTopicBytes() {
java.lang.Object ref = notificationPubsubTopic_;
@@ -908,6 +974,8 @@ public com.google.protobuf.ByteString getNotificationPubsubTopicBytes() {
*
*
* .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 18;
+ *
+ * @return Whether the emailPreferences field is set.
*/
public boolean hasEmailPreferences() {
return emailPreferences_ != null;
@@ -921,6 +989,8 @@ public boolean hasEmailPreferences() {
*
*
* .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 18;
+ *
+ * @return The emailPreferences.
*/
public com.google.cloud.bigquery.datatransfer.v1.EmailPreferences getEmailPreferences() {
return emailPreferences_ == null
@@ -1621,6 +1691,8 @@ public Builder clearDestination() {
*
*
* string name = 1;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -1647,6 +1719,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_;
@@ -1673,6 +1747,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) {
@@ -1697,6 +1774,8 @@ public Builder setName(java.lang.String value) {
*
*
* string name = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearName() {
@@ -1718,6 +1797,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) {
@@ -1738,6 +1820,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
*
*
* string destination_dataset_id = 2;
+ *
+ * @return The destinationDatasetId.
*/
public java.lang.String getDestinationDatasetId() {
java.lang.Object ref = "";
@@ -1763,6 +1847,8 @@ public java.lang.String getDestinationDatasetId() {
*
*
* string destination_dataset_id = 2;
+ *
+ * @return The bytes for destinationDatasetId.
*/
public com.google.protobuf.ByteString getDestinationDatasetIdBytes() {
java.lang.Object ref = "";
@@ -1788,6 +1874,9 @@ public com.google.protobuf.ByteString getDestinationDatasetIdBytes() {
*
*
* string destination_dataset_id = 2;
+ *
+ * @param value The destinationDatasetId to set.
+ * @return This builder for chaining.
*/
public Builder setDestinationDatasetId(java.lang.String value) {
if (value == null) {
@@ -1806,6 +1895,8 @@ public Builder setDestinationDatasetId(java.lang.String value) {
*
*
* string destination_dataset_id = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearDestinationDatasetId() {
if (destinationCase_ == 2) {
@@ -1823,6 +1914,9 @@ public Builder clearDestinationDatasetId() {
*
*
* string destination_dataset_id = 2;
+ *
+ * @param value The bytes for destinationDatasetId to set.
+ * @return This builder for chaining.
*/
public Builder setDestinationDatasetIdBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1844,6 +1938,8 @@ public Builder setDestinationDatasetIdBytes(com.google.protobuf.ByteString value
*
*
* string display_name = 3;
+ *
+ * @return The displayName.
*/
public java.lang.String getDisplayName() {
java.lang.Object ref = displayName_;
@@ -1864,6 +1960,8 @@ public java.lang.String getDisplayName() {
*
*
* string display_name = 3;
+ *
+ * @return The bytes for displayName.
*/
public com.google.protobuf.ByteString getDisplayNameBytes() {
java.lang.Object ref = displayName_;
@@ -1884,6 +1982,9 @@ public com.google.protobuf.ByteString getDisplayNameBytes() {
*
*
* string display_name = 3;
+ *
+ * @param value The displayName to set.
+ * @return This builder for chaining.
*/
public Builder setDisplayName(java.lang.String value) {
if (value == null) {
@@ -1902,6 +2003,8 @@ public Builder setDisplayName(java.lang.String value) {
*
*
* string display_name = 3;
+ *
+ * @return This builder for chaining.
*/
public Builder clearDisplayName() {
@@ -1917,6 +2020,9 @@ public Builder clearDisplayName() {
*
*
* string display_name = 3;
+ *
+ * @param value The bytes for displayName to set.
+ * @return This builder for chaining.
*/
public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1938,6 +2044,8 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) {
*
*
* string data_source_id = 5;
+ *
+ * @return The dataSourceId.
*/
public java.lang.String getDataSourceId() {
java.lang.Object ref = dataSourceId_;
@@ -1958,6 +2066,8 @@ public java.lang.String getDataSourceId() {
*
*
* string data_source_id = 5;
+ *
+ * @return The bytes for dataSourceId.
*/
public com.google.protobuf.ByteString getDataSourceIdBytes() {
java.lang.Object ref = dataSourceId_;
@@ -1978,6 +2088,9 @@ public com.google.protobuf.ByteString getDataSourceIdBytes() {
*
*
* string data_source_id = 5;
+ *
+ * @param value The dataSourceId to set.
+ * @return This builder for chaining.
*/
public Builder setDataSourceId(java.lang.String value) {
if (value == null) {
@@ -1996,6 +2109,8 @@ public Builder setDataSourceId(java.lang.String value) {
*
*
* string data_source_id = 5;
+ *
+ * @return This builder for chaining.
*/
public Builder clearDataSourceId() {
@@ -2011,6 +2126,9 @@ public Builder clearDataSourceId() {
*
*
* string data_source_id = 5;
+ *
+ * @param value The bytes for dataSourceId to set.
+ * @return This builder for chaining.
*/
public Builder setDataSourceIdBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -2037,6 +2155,8 @@ public Builder setDataSourceIdBytes(com.google.protobuf.ByteString value) {
*
*
* .google.protobuf.Struct params = 9;
+ *
+ * @return Whether the params field is set.
*/
public boolean hasParams() {
return paramsBuilder_ != null || params_ != null;
@@ -2049,6 +2169,8 @@ public boolean hasParams() {
*
*
* .google.protobuf.Struct params = 9;
+ *
+ * @return The params.
*/
public com.google.protobuf.Struct getParams() {
if (paramsBuilder_ == null) {
@@ -2217,6 +2339,8 @@ public com.google.protobuf.StructOrBuilder getParamsOrBuilder() {
*
*
* string schedule = 7;
+ *
+ * @return The schedule.
*/
public java.lang.String getSchedule() {
java.lang.Object ref = schedule_;
@@ -2248,6 +2372,8 @@ public java.lang.String getSchedule() {
*
*
* string schedule = 7;
+ *
+ * @return The bytes for schedule.
*/
public com.google.protobuf.ByteString getScheduleBytes() {
java.lang.Object ref = schedule_;
@@ -2279,6 +2405,9 @@ public com.google.protobuf.ByteString getScheduleBytes() {
*
*
* string schedule = 7;
+ *
+ * @param value The schedule to set.
+ * @return This builder for chaining.
*/
public Builder setSchedule(java.lang.String value) {
if (value == null) {
@@ -2308,6 +2437,8 @@ public Builder setSchedule(java.lang.String value) {
*
*
* string schedule = 7;
+ *
+ * @return This builder for chaining.
*/
public Builder clearSchedule() {
@@ -2334,6 +2465,9 @@ public Builder clearSchedule() {
*
*
* string schedule = 7;
+ *
+ * @param value The bytes for schedule to set.
+ * @return This builder for chaining.
*/
public Builder setScheduleBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -2360,6 +2494,8 @@ public Builder setScheduleBytes(com.google.protobuf.ByteString value) {
*
*
* .google.cloud.bigquery.datatransfer.v1.ScheduleOptions schedule_options = 24;
+ *
+ * @return Whether the scheduleOptions field is set.
*/
public boolean hasScheduleOptions() {
return scheduleOptionsBuilder_ != null || scheduleOptions_ != null;
@@ -2372,6 +2508,8 @@ public boolean hasScheduleOptions() {
*
*
* .google.cloud.bigquery.datatransfer.v1.ScheduleOptions schedule_options = 24;
+ *
+ * @return The scheduleOptions.
*/
public com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions getScheduleOptions() {
if (scheduleOptionsBuilder_ == null) {
@@ -2546,6 +2684,8 @@ public Builder clearScheduleOptions() {
*
*
* int32 data_refresh_window_days = 12;
+ *
+ * @return The dataRefreshWindowDays.
*/
public int getDataRefreshWindowDays() {
return dataRefreshWindowDays_;
@@ -2563,6 +2703,9 @@ public int getDataRefreshWindowDays() {
*
*
* int32 data_refresh_window_days = 12;
+ *
+ * @param value The dataRefreshWindowDays to set.
+ * @return This builder for chaining.
*/
public Builder setDataRefreshWindowDays(int value) {
@@ -2583,6 +2726,8 @@ public Builder setDataRefreshWindowDays(int value) {
*
*
* int32 data_refresh_window_days = 12;
+ *
+ * @return This builder for chaining.
*/
public Builder clearDataRefreshWindowDays() {
@@ -2601,6 +2746,8 @@ public Builder clearDataRefreshWindowDays() {
*
*
* bool disabled = 13;
+ *
+ * @return The disabled.
*/
public boolean getDisabled() {
return disabled_;
@@ -2614,6 +2761,9 @@ public boolean getDisabled() {
*
*
* bool disabled = 13;
+ *
+ * @param value The disabled to set.
+ * @return This builder for chaining.
*/
public Builder setDisabled(boolean value) {
@@ -2630,6 +2780,8 @@ public Builder setDisabled(boolean value) {
*
*
* bool disabled = 13;
+ *
+ * @return This builder for chaining.
*/
public Builder clearDisabled() {
@@ -2654,6 +2806,8 @@ public Builder clearDisabled() {
*
* .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
+ *
+ * @return Whether the updateTime field is set.
*/
public boolean hasUpdateTime() {
return updateTimeBuilder_ != null || updateTime_ != null;
@@ -2668,6 +2822,8 @@ public boolean hasUpdateTime() {
*
* .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
+ *
+ * @return The updateTime.
*/
public com.google.protobuf.Timestamp getUpdateTime() {
if (updateTimeBuilder_ == null) {
@@ -2851,6 +3007,8 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
*
* .google.protobuf.Timestamp next_run_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
+ *
+ * @return Whether the nextRunTime field is set.
*/
public boolean hasNextRunTime() {
return nextRunTimeBuilder_ != null || nextRunTime_ != null;
@@ -2865,6 +3023,8 @@ public boolean hasNextRunTime() {
*
* .google.protobuf.Timestamp next_run_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
+ *
+ * @return The nextRunTime.
*/
public com.google.protobuf.Timestamp getNextRunTime() {
if (nextRunTimeBuilder_ == null) {
@@ -3045,6 +3205,8 @@ public com.google.protobuf.TimestampOrBuilder getNextRunTimeOrBuilder() {
*
* .google.cloud.bigquery.datatransfer.v1.TransferState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
+ *
+ * @return The enum numeric value on the wire for state.
*/
public int getStateValue() {
return state_;
@@ -3059,6 +3221,9 @@ public int getStateValue() {
*
* .google.cloud.bigquery.datatransfer.v1.TransferState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
+ *
+ * @param value The enum numeric value on the wire for state to set.
+ * @return This builder for chaining.
*/
public Builder setStateValue(int value) {
state_ = value;
@@ -3075,6 +3240,8 @@ public Builder setStateValue(int value) {
*
* .google.cloud.bigquery.datatransfer.v1.TransferState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
+ *
+ * @return The state.
*/
public com.google.cloud.bigquery.datatransfer.v1.TransferState getState() {
@SuppressWarnings("deprecation")
@@ -3094,6 +3261,9 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferState getState() {
*
* .google.cloud.bigquery.datatransfer.v1.TransferState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
+ *
+ * @param value The state to set.
+ * @return This builder for chaining.
*/
public Builder setState(com.google.cloud.bigquery.datatransfer.v1.TransferState value) {
if (value == null) {
@@ -3114,6 +3284,8 @@ public Builder setState(com.google.cloud.bigquery.datatransfer.v1.TransferState
*
* .google.cloud.bigquery.datatransfer.v1.TransferState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
+ *
+ * @return This builder for chaining.
*/
public Builder clearState() {
@@ -3131,6 +3303,8 @@ public Builder clearState() {
*
*
* int64 user_id = 11;
+ *
+ * @return The userId.
*/
public long getUserId() {
return userId_;
@@ -3143,6 +3317,9 @@ public long getUserId() {
*
*
* int64 user_id = 11;
+ *
+ * @param value The userId to set.
+ * @return This builder for chaining.
*/
public Builder setUserId(long value) {
@@ -3158,6 +3335,8 @@ public Builder setUserId(long value) {
*
*
* int64 user_id = 11;
+ *
+ * @return This builder for chaining.
*/
public Builder clearUserId() {
@@ -3175,6 +3354,8 @@ public Builder clearUserId() {
*
*
* string dataset_region = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The datasetRegion.
*/
public java.lang.String getDatasetRegion() {
java.lang.Object ref = datasetRegion_;
@@ -3195,6 +3376,8 @@ public java.lang.String getDatasetRegion() {
*
*
* string dataset_region = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The bytes for datasetRegion.
*/
public com.google.protobuf.ByteString getDatasetRegionBytes() {
java.lang.Object ref = datasetRegion_;
@@ -3215,6 +3398,9 @@ public com.google.protobuf.ByteString getDatasetRegionBytes() {
*
*
* string dataset_region = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @param value The datasetRegion to set.
+ * @return This builder for chaining.
*/
public Builder setDatasetRegion(java.lang.String value) {
if (value == null) {
@@ -3233,6 +3419,8 @@ public Builder setDatasetRegion(java.lang.String value) {
*
*
* string dataset_region = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return This builder for chaining.
*/
public Builder clearDatasetRegion() {
@@ -3248,6 +3436,9 @@ public Builder clearDatasetRegion() {
*
*
* string dataset_region = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @param value The bytes for datasetRegion to set.
+ * @return This builder for chaining.
*/
public Builder setDatasetRegionBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -3270,6 +3461,8 @@ public Builder setDatasetRegionBytes(com.google.protobuf.ByteString value) {
*
*
* string notification_pubsub_topic = 15;
+ *
+ * @return The notificationPubsubTopic.
*/
public java.lang.String getNotificationPubsubTopic() {
java.lang.Object ref = notificationPubsubTopic_;
@@ -3291,6 +3484,8 @@ public java.lang.String getNotificationPubsubTopic() {
*
*
* string notification_pubsub_topic = 15;
+ *
+ * @return The bytes for notificationPubsubTopic.
*/
public com.google.protobuf.ByteString getNotificationPubsubTopicBytes() {
java.lang.Object ref = notificationPubsubTopic_;
@@ -3312,6 +3507,9 @@ public com.google.protobuf.ByteString getNotificationPubsubTopicBytes() {
*
*
* string notification_pubsub_topic = 15;
+ *
+ * @param value The notificationPubsubTopic to set.
+ * @return This builder for chaining.
*/
public Builder setNotificationPubsubTopic(java.lang.String value) {
if (value == null) {
@@ -3331,6 +3529,8 @@ public Builder setNotificationPubsubTopic(java.lang.String value) {
*
*
* string notification_pubsub_topic = 15;
+ *
+ * @return This builder for chaining.
*/
public Builder clearNotificationPubsubTopic() {
@@ -3347,6 +3547,9 @@ public Builder clearNotificationPubsubTopic() {
*
*
* string notification_pubsub_topic = 15;
+ *
+ * @param value The bytes for notificationPubsubTopic to set.
+ * @return This builder for chaining.
*/
public Builder setNotificationPubsubTopicBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -3374,6 +3577,8 @@ public Builder setNotificationPubsubTopicBytes(com.google.protobuf.ByteString va
*
*
* .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 18;
+ *
+ * @return Whether the emailPreferences field is set.
*/
public boolean hasEmailPreferences() {
return emailPreferencesBuilder_ != null || emailPreferences_ != null;
@@ -3387,6 +3592,8 @@ public boolean hasEmailPreferences() {
*
*
* .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 18;
+ *
+ * @return The emailPreferences.
*/
public com.google.cloud.bigquery.datatransfer.v1.EmailPreferences getEmailPreferences() {
if (emailPreferencesBuilder_ == null) {
diff --git a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferConfigName.java b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferConfigName.java
index a7cdaa81..fa5ae142 100644
--- a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferConfigName.java
+++ b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferConfigName.java
@@ -18,7 +18,7 @@
import com.google.api.resourcenames.ResourceName;
-// AUTO-GENERATED DOCUMENTATION AND CLASS
+/** AUTO-GENERATED DOCUMENTATION AND CLASS */
@javax.annotation.Generated("by GAPIC protoc plugin")
public abstract class TransferConfigName implements ResourceName {
protected TransferConfigName() {}
diff --git a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferConfigNames.java b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferConfigNames.java
index ccc1577f..82090543 100644
--- a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferConfigNames.java
+++ b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferConfigNames.java
@@ -16,8 +16,13 @@
package com.google.cloud.bigquery.datatransfer.v1;
-// AUTO-GENERATED DOCUMENTATION AND CLASS
+/**
+ * AUTO-GENERATED DOCUMENTATION AND CLASS
+ *
+ * @deprecated This resource name class will be removed in the next major version.
+ */
@javax.annotation.Generated("by GAPIC protoc plugin")
+@Deprecated
public class TransferConfigNames {
private TransferConfigNames() {}
diff --git a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferConfigOrBuilder.java b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferConfigOrBuilder.java
index a9ec7f78..063b636d 100644
--- a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferConfigOrBuilder.java
+++ b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferConfigOrBuilder.java
@@ -37,6 +37,8 @@ public interface TransferConfigOrBuilder
*
*
* string name = 1;
+ *
+ * @return The name.
*/
java.lang.String getName();
/**
@@ -53,6 +55,8 @@ public interface TransferConfigOrBuilder
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
@@ -64,6 +68,8 @@ public interface TransferConfigOrBuilder
*
*
* string destination_dataset_id = 2;
+ *
+ * @return The destinationDatasetId.
*/
java.lang.String getDestinationDatasetId();
/**
@@ -74,6 +80,8 @@ public interface TransferConfigOrBuilder
*
*
* string destination_dataset_id = 2;
+ *
+ * @return The bytes for destinationDatasetId.
*/
com.google.protobuf.ByteString getDestinationDatasetIdBytes();
@@ -85,6 +93,8 @@ public interface TransferConfigOrBuilder
*
*
* string display_name = 3;
+ *
+ * @return The displayName.
*/
java.lang.String getDisplayName();
/**
@@ -95,6 +105,8 @@ public interface TransferConfigOrBuilder
*
*
* string display_name = 3;
+ *
+ * @return The bytes for displayName.
*/
com.google.protobuf.ByteString getDisplayNameBytes();
@@ -106,6 +118,8 @@ public interface TransferConfigOrBuilder
*
*
* string data_source_id = 5;
+ *
+ * @return The dataSourceId.
*/
java.lang.String getDataSourceId();
/**
@@ -116,6 +130,8 @@ public interface TransferConfigOrBuilder
*
*
* string data_source_id = 5;
+ *
+ * @return The bytes for dataSourceId.
*/
com.google.protobuf.ByteString getDataSourceIdBytes();
@@ -127,6 +143,8 @@ public interface TransferConfigOrBuilder
*
*
* .google.protobuf.Struct params = 9;
+ *
+ * @return Whether the params field is set.
*/
boolean hasParams();
/**
@@ -137,6 +155,8 @@ public interface TransferConfigOrBuilder
*
*
* .google.protobuf.Struct params = 9;
+ *
+ * @return The params.
*/
com.google.protobuf.Struct getParams();
/**
@@ -169,6 +189,8 @@ public interface TransferConfigOrBuilder
*
*
* string schedule = 7;
+ *
+ * @return The schedule.
*/
java.lang.String getSchedule();
/**
@@ -190,6 +212,8 @@ public interface TransferConfigOrBuilder
*
*
* string schedule = 7;
+ *
+ * @return The bytes for schedule.
*/
com.google.protobuf.ByteString getScheduleBytes();
@@ -201,6 +225,8 @@ public interface TransferConfigOrBuilder
*
*
* .google.cloud.bigquery.datatransfer.v1.ScheduleOptions schedule_options = 24;
+ *
+ * @return Whether the scheduleOptions field is set.
*/
boolean hasScheduleOptions();
/**
@@ -211,6 +237,8 @@ public interface TransferConfigOrBuilder
*
*
* .google.cloud.bigquery.datatransfer.v1.ScheduleOptions schedule_options = 24;
+ *
+ * @return The scheduleOptions.
*/
com.google.cloud.bigquery.datatransfer.v1.ScheduleOptions getScheduleOptions();
/**
@@ -237,6 +265,8 @@ public interface TransferConfigOrBuilder
*
*
* int32 data_refresh_window_days = 12;
+ *
+ * @return The dataRefreshWindowDays.
*/
int getDataRefreshWindowDays();
@@ -249,6 +279,8 @@ public interface TransferConfigOrBuilder
*
*
* bool disabled = 13;
+ *
+ * @return The disabled.
*/
boolean getDisabled();
@@ -261,6 +293,8 @@ public interface TransferConfigOrBuilder
*
* .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
+ *
+ * @return Whether the updateTime field is set.
*/
boolean hasUpdateTime();
/**
@@ -272,6 +306,8 @@ public interface TransferConfigOrBuilder
*
* .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
+ *
+ * @return The updateTime.
*/
com.google.protobuf.Timestamp getUpdateTime();
/**
@@ -296,6 +332,8 @@ public interface TransferConfigOrBuilder
*
* .google.protobuf.Timestamp next_run_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
+ *
+ * @return Whether the nextRunTime field is set.
*/
boolean hasNextRunTime();
/**
@@ -308,6 +346,8 @@ public interface TransferConfigOrBuilder
*
* .google.protobuf.Timestamp next_run_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
+ *
+ * @return The nextRunTime.
*/
com.google.protobuf.Timestamp getNextRunTime();
/**
@@ -333,6 +373,8 @@ public interface TransferConfigOrBuilder
*
* .google.cloud.bigquery.datatransfer.v1.TransferState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
+ *
+ * @return The enum numeric value on the wire for state.
*/
int getStateValue();
/**
@@ -345,6 +387,8 @@ public interface TransferConfigOrBuilder
*
* .google.cloud.bigquery.datatransfer.v1.TransferState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
+ *
+ * @return The state.
*/
com.google.cloud.bigquery.datatransfer.v1.TransferState getState();
@@ -356,6 +400,8 @@ public interface TransferConfigOrBuilder
*
*
* int64 user_id = 11;
+ *
+ * @return The userId.
*/
long getUserId();
@@ -367,6 +413,8 @@ public interface TransferConfigOrBuilder
*
*
* string dataset_region = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The datasetRegion.
*/
java.lang.String getDatasetRegion();
/**
@@ -377,6 +425,8 @@ public interface TransferConfigOrBuilder
*
*
* string dataset_region = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The bytes for datasetRegion.
*/
com.google.protobuf.ByteString getDatasetRegionBytes();
@@ -389,6 +439,8 @@ public interface TransferConfigOrBuilder
*
*
* string notification_pubsub_topic = 15;
+ *
+ * @return The notificationPubsubTopic.
*/
java.lang.String getNotificationPubsubTopic();
/**
@@ -400,6 +452,8 @@ public interface TransferConfigOrBuilder
*
*
* string notification_pubsub_topic = 15;
+ *
+ * @return The bytes for notificationPubsubTopic.
*/
com.google.protobuf.ByteString getNotificationPubsubTopicBytes();
@@ -412,6 +466,8 @@ public interface TransferConfigOrBuilder
*
*
* .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 18;
+ *
+ * @return Whether the emailPreferences field is set.
*/
boolean hasEmailPreferences();
/**
@@ -423,6 +479,8 @@ public interface TransferConfigOrBuilder
*
*
* .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 18;
+ *
+ * @return The emailPreferences.
*/
com.google.cloud.bigquery.datatransfer.v1.EmailPreferences getEmailPreferences();
/**
diff --git a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferMessage.java b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferMessage.java
index abd1061a..025d88a1 100644
--- a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferMessage.java
+++ b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferMessage.java
@@ -42,6 +42,12 @@ private TransferMessage() {
messageText_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new TransferMessage();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -55,7 +61,6 @@ private TransferMessage(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -231,12 +236,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 MessageSeverity 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 MessageSeverity forNumber(int value) {
switch (value) {
case 0:
@@ -310,6 +323,8 @@ private MessageSeverity(int value) {
*
*
* .google.protobuf.Timestamp message_time = 1;
+ *
+ * @return Whether the messageTime field is set.
*/
public boolean hasMessageTime() {
return messageTime_ != null;
@@ -322,6 +337,8 @@ public boolean hasMessageTime() {
*
*
* .google.protobuf.Timestamp message_time = 1;
+ *
+ * @return The messageTime.
*/
public com.google.protobuf.Timestamp getMessageTime() {
return messageTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : messageTime_;
@@ -350,6 +367,8 @@ public com.google.protobuf.TimestampOrBuilder getMessageTimeOrBuilder() {
*
* .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity severity = 2;
*
+ *
+ * @return The enum numeric value on the wire for severity.
*/
public int getSeverityValue() {
return severity_;
@@ -363,6 +382,8 @@ public int getSeverityValue() {
*
* .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity severity = 2;
*
+ *
+ * @return The severity.
*/
public com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity getSeverity() {
@SuppressWarnings("deprecation")
@@ -384,6 +405,8 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity
*
*
* string message_text = 3;
+ *
+ * @return The messageText.
*/
public java.lang.String getMessageText() {
java.lang.Object ref = messageText_;
@@ -404,6 +427,8 @@ public java.lang.String getMessageText() {
*
*
* string message_text = 3;
+ *
+ * @return The bytes for messageText.
*/
public com.google.protobuf.ByteString getMessageTextBytes() {
java.lang.Object ref = messageText_;
@@ -799,6 +824,8 @@ public Builder mergeFrom(
*
*
* .google.protobuf.Timestamp message_time = 1;
+ *
+ * @return Whether the messageTime field is set.
*/
public boolean hasMessageTime() {
return messageTimeBuilder_ != null || messageTime_ != null;
@@ -811,6 +838,8 @@ public boolean hasMessageTime() {
*
*
* .google.protobuf.Timestamp message_time = 1;
+ *
+ * @return The messageTime.
*/
public com.google.protobuf.Timestamp getMessageTime() {
if (messageTimeBuilder_ == null) {
@@ -976,6 +1005,8 @@ public com.google.protobuf.TimestampOrBuilder getMessageTimeOrBuilder() {
*
* .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity severity = 2;
*
+ *
+ * @return The enum numeric value on the wire for severity.
*/
public int getSeverityValue() {
return severity_;
@@ -989,6 +1020,9 @@ public int getSeverityValue() {
*
* .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity severity = 2;
*
+ *
+ * @param value The enum numeric value on the wire for severity to set.
+ * @return This builder for chaining.
*/
public Builder setSeverityValue(int value) {
severity_ = value;
@@ -1004,6 +1038,8 @@ public Builder setSeverityValue(int value) {
*
* .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity severity = 2;
*
+ *
+ * @return The severity.
*/
public com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity getSeverity() {
@SuppressWarnings("deprecation")
@@ -1023,6 +1059,9 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity
*
* .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity severity = 2;
*
+ *
+ * @param value The severity to set.
+ * @return This builder for chaining.
*/
public Builder setSeverity(
com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity value) {
@@ -1043,6 +1082,8 @@ public Builder setSeverity(
*
* .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity severity = 2;
*
+ *
+ * @return This builder for chaining.
*/
public Builder clearSeverity() {
@@ -1060,6 +1101,8 @@ public Builder clearSeverity() {
*
*
* string message_text = 3;
+ *
+ * @return The messageText.
*/
public java.lang.String getMessageText() {
java.lang.Object ref = messageText_;
@@ -1080,6 +1123,8 @@ public java.lang.String getMessageText() {
*
*
* string message_text = 3;
+ *
+ * @return The bytes for messageText.
*/
public com.google.protobuf.ByteString getMessageTextBytes() {
java.lang.Object ref = messageText_;
@@ -1100,6 +1145,9 @@ public com.google.protobuf.ByteString getMessageTextBytes() {
*
*
* string message_text = 3;
+ *
+ * @param value The messageText to set.
+ * @return This builder for chaining.
*/
public Builder setMessageText(java.lang.String value) {
if (value == null) {
@@ -1118,6 +1166,8 @@ public Builder setMessageText(java.lang.String value) {
*
*
* string message_text = 3;
+ *
+ * @return This builder for chaining.
*/
public Builder clearMessageText() {
@@ -1133,6 +1183,9 @@ public Builder clearMessageText() {
*
*
* string message_text = 3;
+ *
+ * @param value The bytes for messageText to set.
+ * @return This builder for chaining.
*/
public Builder setMessageTextBytes(com.google.protobuf.ByteString value) {
if (value == null) {
diff --git a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferMessageOrBuilder.java b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferMessageOrBuilder.java
index 30601d4c..d3da8389 100644
--- a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferMessageOrBuilder.java
+++ b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferMessageOrBuilder.java
@@ -31,6 +31,8 @@ public interface TransferMessageOrBuilder
*
*
* .google.protobuf.Timestamp message_time = 1;
+ *
+ * @return Whether the messageTime field is set.
*/
boolean hasMessageTime();
/**
@@ -41,6 +43,8 @@ public interface TransferMessageOrBuilder
*
*
* .google.protobuf.Timestamp message_time = 1;
+ *
+ * @return The messageTime.
*/
com.google.protobuf.Timestamp getMessageTime();
/**
@@ -63,6 +67,8 @@ public interface TransferMessageOrBuilder
*
* .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity severity = 2;
*
+ *
+ * @return The enum numeric value on the wire for severity.
*/
int getSeverityValue();
/**
@@ -74,6 +80,8 @@ public interface TransferMessageOrBuilder
*
* .google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity severity = 2;
*
+ *
+ * @return The severity.
*/
com.google.cloud.bigquery.datatransfer.v1.TransferMessage.MessageSeverity getSeverity();
@@ -85,6 +93,8 @@ public interface TransferMessageOrBuilder
*
*
* string message_text = 3;
+ *
+ * @return The messageText.
*/
java.lang.String getMessageText();
/**
@@ -95,6 +105,8 @@ public interface TransferMessageOrBuilder
*
*
* string message_text = 3;
+ *
+ * @return The bytes for messageText.
*/
com.google.protobuf.ByteString getMessageTextBytes();
}
diff --git a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferProto.java b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferProto.java
index 2a3e63be..878b0f66 100644
--- a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferProto.java
+++ b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferProto.java
@@ -132,24 +132,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "om/Parent\022\022projects/{project}\022\'projects/"
+ "{project}/locations/{location}b\006proto3"
};
- 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.FieldBehaviorProto.getDescriptor(),
- com.google.api.ResourceProto.getDescriptor(),
- com.google.protobuf.StructProto.getDescriptor(),
- com.google.protobuf.TimestampProto.getDescriptor(),
- com.google.rpc.StatusProto.getDescriptor(),
- },
- assigner);
+ descriptor =
+ com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
+ descriptorData,
+ new com.google.protobuf.Descriptors.FileDescriptor[] {
+ com.google.api.FieldBehaviorProto.getDescriptor(),
+ com.google.api.ResourceProto.getDescriptor(),
+ com.google.protobuf.StructProto.getDescriptor(),
+ com.google.protobuf.TimestampProto.getDescriptor(),
+ com.google.rpc.StatusProto.getDescriptor(),
+ });
internal_static_google_cloud_bigquery_datatransfer_v1_EmailPreferences_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_google_cloud_bigquery_datatransfer_v1_EmailPreferences_fieldAccessorTable =
diff --git a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferRun.java b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferRun.java
index 80d2fd15..c92b00a0 100644
--- a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferRun.java
+++ b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferRun.java
@@ -45,6 +45,12 @@ private TransferRun() {
notificationPubsubTopic_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new TransferRun();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -58,7 +64,6 @@ private TransferRun(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -273,7 +278,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
private int destinationCase_ = 0;
private java.lang.Object destination_;
- public enum DestinationCase implements com.google.protobuf.Internal.EnumLite {
+ public enum DestinationCase
+ implements
+ com.google.protobuf.Internal.EnumLite,
+ com.google.protobuf.AbstractMessage.InternalOneOfEnum {
DESTINATION_DATASET_ID(2),
DESTINATION_NOT_SET(0);
private final int value;
@@ -281,7 +289,11 @@ public enum DestinationCase implements com.google.protobuf.Internal.EnumLite {
private DestinationCase(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 DestinationCase valueOf(int value) {
return forNumber(value);
@@ -320,6 +332,8 @@ public DestinationCase getDestinationCase() {
*
*
* string name = 1;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -343,6 +357,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_;
@@ -366,6 +382,8 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* .google.protobuf.Timestamp schedule_time = 3;
+ *
+ * @return Whether the scheduleTime field is set.
*/
public boolean hasScheduleTime() {
return scheduleTime_ != null;
@@ -378,6 +396,8 @@ public boolean hasScheduleTime() {
*
*
* .google.protobuf.Timestamp schedule_time = 3;
+ *
+ * @return The scheduleTime.
*/
public com.google.protobuf.Timestamp getScheduleTime() {
return scheduleTime_ == null
@@ -408,6 +428,8 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
*
*
* .google.protobuf.Timestamp run_time = 10;
+ *
+ * @return Whether the runTime field is set.
*/
public boolean hasRunTime() {
return runTime_ != null;
@@ -421,6 +443,8 @@ public boolean hasRunTime() {
*
*
* .google.protobuf.Timestamp run_time = 10;
+ *
+ * @return The runTime.
*/
public com.google.protobuf.Timestamp getRunTime() {
return runTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : runTime_;
@@ -449,6 +473,8 @@ public com.google.protobuf.TimestampOrBuilder getRunTimeOrBuilder() {
*
*
* .google.rpc.Status error_status = 21;
+ *
+ * @return Whether the errorStatus field is set.
*/
public boolean hasErrorStatus() {
return errorStatus_ != null;
@@ -461,6 +487,8 @@ public boolean hasErrorStatus() {
*
*
* .google.rpc.Status error_status = 21;
+ *
+ * @return The errorStatus.
*/
public com.google.rpc.Status getErrorStatus() {
return errorStatus_ == null ? com.google.rpc.Status.getDefaultInstance() : errorStatus_;
@@ -490,6 +518,8 @@ public com.google.rpc.StatusOrBuilder getErrorStatusOrBuilder() {
*
* .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
+ *
+ * @return Whether the startTime field is set.
*/
public boolean hasStartTime() {
return startTime_ != null;
@@ -504,6 +534,8 @@ public boolean hasStartTime() {
*
* .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
+ *
+ * @return The startTime.
*/
public com.google.protobuf.Timestamp getStartTime() {
return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_;
@@ -535,6 +567,8 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
*
* .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
+ *
+ * @return Whether the endTime field is set.
*/
public boolean hasEndTime() {
return endTime_ != null;
@@ -549,6 +583,8 @@ public boolean hasEndTime() {
*
* .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
+ *
+ * @return The endTime.
*/
public com.google.protobuf.Timestamp getEndTime() {
return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
@@ -579,6 +615,8 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
*
* .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
+ *
+ * @return Whether the updateTime field is set.
*/
public boolean hasUpdateTime() {
return updateTime_ != null;
@@ -592,6 +630,8 @@ public boolean hasUpdateTime() {
*
* .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
+ *
+ * @return The updateTime.
*/
public com.google.protobuf.Timestamp getUpdateTime() {
return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_;
@@ -620,6 +660,8 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
*
*
* .google.protobuf.Struct params = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return Whether the params field is set.
*/
public boolean hasParams() {
return params_ != null;
@@ -632,6 +674,8 @@ public boolean hasParams() {
*
*
* .google.protobuf.Struct params = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The params.
*/
public com.google.protobuf.Struct getParams() {
return params_ == null ? com.google.protobuf.Struct.getDefaultInstance() : params_;
@@ -658,6 +702,8 @@ public com.google.protobuf.StructOrBuilder getParamsOrBuilder() {
*
*
* string destination_dataset_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The destinationDatasetId.
*/
public java.lang.String getDestinationDatasetId() {
java.lang.Object ref = "";
@@ -683,6 +729,8 @@ public java.lang.String getDestinationDatasetId() {
*
*
* string destination_dataset_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The bytes for destinationDatasetId.
*/
public com.google.protobuf.ByteString getDestinationDatasetIdBytes() {
java.lang.Object ref = "";
@@ -711,6 +759,8 @@ public com.google.protobuf.ByteString getDestinationDatasetIdBytes() {
*
*
* string data_source_id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The dataSourceId.
*/
public java.lang.String getDataSourceId() {
java.lang.Object ref = dataSourceId_;
@@ -731,6 +781,8 @@ public java.lang.String getDataSourceId() {
*
*
* string data_source_id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The bytes for dataSourceId.
*/
public com.google.protobuf.ByteString getDataSourceIdBytes() {
java.lang.Object ref = dataSourceId_;
@@ -754,6 +806,8 @@ public com.google.protobuf.ByteString getDataSourceIdBytes() {
*
*
* .google.cloud.bigquery.datatransfer.v1.TransferState state = 8;
+ *
+ * @return The enum numeric value on the wire for state.
*/
public int getStateValue() {
return state_;
@@ -766,6 +820,8 @@ public int getStateValue() {
*
*
* .google.cloud.bigquery.datatransfer.v1.TransferState state = 8;
+ *
+ * @return The state.
*/
public com.google.cloud.bigquery.datatransfer.v1.TransferState getState() {
@SuppressWarnings("deprecation")
@@ -786,6 +842,8 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferState getState() {
*
*
* int64 user_id = 11;
+ *
+ * @return The userId.
*/
public long getUserId() {
return userId_;
@@ -805,6 +863,8 @@ public long getUserId() {
*
*
* string schedule = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The schedule.
*/
public java.lang.String getSchedule() {
java.lang.Object ref = schedule_;
@@ -829,6 +889,8 @@ public java.lang.String getSchedule() {
*
*
* string schedule = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The bytes for schedule.
*/
public com.google.protobuf.ByteString getScheduleBytes() {
java.lang.Object ref = schedule_;
@@ -854,6 +916,8 @@ public com.google.protobuf.ByteString getScheduleBytes() {
*
* string notification_pubsub_topic = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
+ *
+ * @return The notificationPubsubTopic.
*/
public java.lang.String getNotificationPubsubTopic() {
java.lang.Object ref = notificationPubsubTopic_;
@@ -876,6 +940,8 @@ public java.lang.String getNotificationPubsubTopic() {
*
* string notification_pubsub_topic = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
+ *
+ * @return The bytes for notificationPubsubTopic.
*/
public com.google.protobuf.ByteString getNotificationPubsubTopicBytes() {
java.lang.Object ref = notificationPubsubTopic_;
@@ -903,6 +969,8 @@ public com.google.protobuf.ByteString getNotificationPubsubTopicBytes() {
*
* .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 25 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
+ *
+ * @return Whether the emailPreferences field is set.
*/
public boolean hasEmailPreferences() {
return emailPreferences_ != null;
@@ -919,6 +987,8 @@ public boolean hasEmailPreferences() {
*
* .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 25 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
+ *
+ * @return The emailPreferences.
*/
public com.google.cloud.bigquery.datatransfer.v1.EmailPreferences getEmailPreferences() {
return emailPreferences_ == null
@@ -1636,6 +1706,8 @@ public Builder clearDestination() {
*
*
* string name = 1;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -1659,6 +1731,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_;
@@ -1682,6 +1756,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) {
@@ -1703,6 +1780,8 @@ public Builder setName(java.lang.String value) {
*
*
* string name = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearName() {
@@ -1721,6 +1800,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) {
@@ -1747,6 +1829,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
*
*
* .google.protobuf.Timestamp schedule_time = 3;
+ *
+ * @return Whether the scheduleTime field is set.
*/
public boolean hasScheduleTime() {
return scheduleTimeBuilder_ != null || scheduleTime_ != null;
@@ -1759,6 +1843,8 @@ public boolean hasScheduleTime() {
*
*
* .google.protobuf.Timestamp schedule_time = 3;
+ *
+ * @return The scheduleTime.
*/
public com.google.protobuf.Timestamp getScheduleTime() {
if (scheduleTimeBuilder_ == null) {
@@ -1929,6 +2015,8 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
*
*
* .google.protobuf.Timestamp run_time = 10;
+ *
+ * @return Whether the runTime field is set.
*/
public boolean hasRunTime() {
return runTimeBuilder_ != null || runTime_ != null;
@@ -1942,6 +2030,8 @@ public boolean hasRunTime() {
*
*
* .google.protobuf.Timestamp run_time = 10;
+ *
+ * @return The runTime.
*/
public com.google.protobuf.Timestamp getRunTime() {
if (runTimeBuilder_ == null) {
@@ -2110,6 +2200,8 @@ public com.google.protobuf.TimestampOrBuilder getRunTimeOrBuilder() {
*
*
* .google.rpc.Status error_status = 21;
+ *
+ * @return Whether the errorStatus field is set.
*/
public boolean hasErrorStatus() {
return errorStatusBuilder_ != null || errorStatus_ != null;
@@ -2122,6 +2214,8 @@ public boolean hasErrorStatus() {
*
*
* .google.rpc.Status error_status = 21;
+ *
+ * @return The errorStatus.
*/
public com.google.rpc.Status getErrorStatus() {
if (errorStatusBuilder_ == null) {
@@ -2285,6 +2379,8 @@ public com.google.rpc.StatusOrBuilder getErrorStatusOrBuilder() {
*
* .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
+ *
+ * @return Whether the startTime field is set.
*/
public boolean hasStartTime() {
return startTimeBuilder_ != null || startTime_ != null;
@@ -2299,6 +2395,8 @@ public boolean hasStartTime() {
*
* .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
+ *
+ * @return The startTime.
*/
public com.google.protobuf.Timestamp getStartTime() {
if (startTimeBuilder_ == null) {
@@ -2478,6 +2576,8 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
*
* .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
+ *
+ * @return Whether the endTime field is set.
*/
public boolean hasEndTime() {
return endTimeBuilder_ != null || endTime_ != null;
@@ -2492,6 +2592,8 @@ public boolean hasEndTime() {
*
* .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
+ *
+ * @return The endTime.
*/
public com.google.protobuf.Timestamp getEndTime() {
if (endTimeBuilder_ == null) {
@@ -2671,6 +2773,8 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
*
* .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
+ *
+ * @return Whether the updateTime field is set.
*/
public boolean hasUpdateTime() {
return updateTimeBuilder_ != null || updateTime_ != null;
@@ -2685,6 +2789,8 @@ public boolean hasUpdateTime() {
*
* .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
+ *
+ * @return The updateTime.
*/
public com.google.protobuf.Timestamp getUpdateTime() {
if (updateTimeBuilder_ == null) {
@@ -2866,6 +2972,8 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
*
*
* .google.protobuf.Struct params = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return Whether the params field is set.
*/
public boolean hasParams() {
return paramsBuilder_ != null || params_ != null;
@@ -2878,6 +2986,8 @@ public boolean hasParams() {
*
*
* .google.protobuf.Struct params = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The params.
*/
public com.google.protobuf.Struct getParams() {
if (paramsBuilder_ == null) {
@@ -3034,6 +3144,8 @@ public com.google.protobuf.StructOrBuilder getParamsOrBuilder() {
*
*
* string destination_dataset_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The destinationDatasetId.
*/
public java.lang.String getDestinationDatasetId() {
java.lang.Object ref = "";
@@ -3059,6 +3171,8 @@ public java.lang.String getDestinationDatasetId() {
*
*
* string destination_dataset_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The bytes for destinationDatasetId.
*/
public com.google.protobuf.ByteString getDestinationDatasetIdBytes() {
java.lang.Object ref = "";
@@ -3084,6 +3198,9 @@ public com.google.protobuf.ByteString getDestinationDatasetIdBytes() {
*
*
* string destination_dataset_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @param value The destinationDatasetId to set.
+ * @return This builder for chaining.
*/
public Builder setDestinationDatasetId(java.lang.String value) {
if (value == null) {
@@ -3102,6 +3219,8 @@ public Builder setDestinationDatasetId(java.lang.String value) {
*
*
* string destination_dataset_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return This builder for chaining.
*/
public Builder clearDestinationDatasetId() {
if (destinationCase_ == 2) {
@@ -3119,6 +3238,9 @@ public Builder clearDestinationDatasetId() {
*
*
* string destination_dataset_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @param value The bytes for destinationDatasetId to set.
+ * @return This builder for chaining.
*/
public Builder setDestinationDatasetIdBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -3140,6 +3262,8 @@ public Builder setDestinationDatasetIdBytes(com.google.protobuf.ByteString value
*
*
* string data_source_id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The dataSourceId.
*/
public java.lang.String getDataSourceId() {
java.lang.Object ref = dataSourceId_;
@@ -3160,6 +3284,8 @@ public java.lang.String getDataSourceId() {
*
*
* string data_source_id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The bytes for dataSourceId.
*/
public com.google.protobuf.ByteString getDataSourceIdBytes() {
java.lang.Object ref = dataSourceId_;
@@ -3180,6 +3306,9 @@ public com.google.protobuf.ByteString getDataSourceIdBytes() {
*
*
* string data_source_id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @param value The dataSourceId to set.
+ * @return This builder for chaining.
*/
public Builder setDataSourceId(java.lang.String value) {
if (value == null) {
@@ -3198,6 +3327,8 @@ public Builder setDataSourceId(java.lang.String value) {
*
*
* string data_source_id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return This builder for chaining.
*/
public Builder clearDataSourceId() {
@@ -3213,6 +3344,9 @@ public Builder clearDataSourceId() {
*
*
* string data_source_id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @param value The bytes for dataSourceId to set.
+ * @return This builder for chaining.
*/
public Builder setDataSourceIdBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -3234,6 +3368,8 @@ public Builder setDataSourceIdBytes(com.google.protobuf.ByteString value) {
*
*
* .google.cloud.bigquery.datatransfer.v1.TransferState state = 8;
+ *
+ * @return The enum numeric value on the wire for state.
*/
public int getStateValue() {
return state_;
@@ -3246,6 +3382,9 @@ public int getStateValue() {
*
*
* .google.cloud.bigquery.datatransfer.v1.TransferState state = 8;
+ *
+ * @param value The enum numeric value on the wire for state to set.
+ * @return This builder for chaining.
*/
public Builder setStateValue(int value) {
state_ = value;
@@ -3260,6 +3399,8 @@ public Builder setStateValue(int value) {
*
*
* .google.cloud.bigquery.datatransfer.v1.TransferState state = 8;
+ *
+ * @return The state.
*/
public com.google.cloud.bigquery.datatransfer.v1.TransferState getState() {
@SuppressWarnings("deprecation")
@@ -3277,6 +3418,9 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferState getState() {
*
*
* .google.cloud.bigquery.datatransfer.v1.TransferState state = 8;
+ *
+ * @param value The state to set.
+ * @return This builder for chaining.
*/
public Builder setState(com.google.cloud.bigquery.datatransfer.v1.TransferState value) {
if (value == null) {
@@ -3295,6 +3439,8 @@ public Builder setState(com.google.cloud.bigquery.datatransfer.v1.TransferState
*
*
* .google.cloud.bigquery.datatransfer.v1.TransferState state = 8;
+ *
+ * @return This builder for chaining.
*/
public Builder clearState() {
@@ -3312,6 +3458,8 @@ public Builder clearState() {
*
*
* int64 user_id = 11;
+ *
+ * @return The userId.
*/
public long getUserId() {
return userId_;
@@ -3324,6 +3472,9 @@ public long getUserId() {
*
*
* int64 user_id = 11;
+ *
+ * @param value The userId to set.
+ * @return This builder for chaining.
*/
public Builder setUserId(long value) {
@@ -3339,6 +3490,8 @@ public Builder setUserId(long value) {
*
*
* int64 user_id = 11;
+ *
+ * @return This builder for chaining.
*/
public Builder clearUserId() {
@@ -3360,6 +3513,8 @@ public Builder clearUserId() {
*
*
* string schedule = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The schedule.
*/
public java.lang.String getSchedule() {
java.lang.Object ref = schedule_;
@@ -3384,6 +3539,8 @@ public java.lang.String getSchedule() {
*
*
* string schedule = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The bytes for schedule.
*/
public com.google.protobuf.ByteString getScheduleBytes() {
java.lang.Object ref = schedule_;
@@ -3408,6 +3565,9 @@ public com.google.protobuf.ByteString getScheduleBytes() {
*
*
* string schedule = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @param value The schedule to set.
+ * @return This builder for chaining.
*/
public Builder setSchedule(java.lang.String value) {
if (value == null) {
@@ -3430,6 +3590,8 @@ public Builder setSchedule(java.lang.String value) {
*
*
* string schedule = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return This builder for chaining.
*/
public Builder clearSchedule() {
@@ -3449,6 +3611,9 @@ public Builder clearSchedule() {
*
*
* string schedule = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @param value The bytes for schedule to set.
+ * @return This builder for chaining.
*/
public Builder setScheduleBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -3472,6 +3637,8 @@ public Builder setScheduleBytes(com.google.protobuf.ByteString value) {
*
* string notification_pubsub_topic = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
+ *
+ * @return The notificationPubsubTopic.
*/
public java.lang.String getNotificationPubsubTopic() {
java.lang.Object ref = notificationPubsubTopic_;
@@ -3494,6 +3661,8 @@ public java.lang.String getNotificationPubsubTopic() {
*
* string notification_pubsub_topic = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
+ *
+ * @return The bytes for notificationPubsubTopic.
*/
public com.google.protobuf.ByteString getNotificationPubsubTopicBytes() {
java.lang.Object ref = notificationPubsubTopic_;
@@ -3516,6 +3685,9 @@ public com.google.protobuf.ByteString getNotificationPubsubTopicBytes() {
*
* string notification_pubsub_topic = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
+ *
+ * @param value The notificationPubsubTopic to set.
+ * @return This builder for chaining.
*/
public Builder setNotificationPubsubTopic(java.lang.String value) {
if (value == null) {
@@ -3536,6 +3708,8 @@ public Builder setNotificationPubsubTopic(java.lang.String value) {
*
* string notification_pubsub_topic = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
+ *
+ * @return This builder for chaining.
*/
public Builder clearNotificationPubsubTopic() {
@@ -3553,6 +3727,9 @@ public Builder clearNotificationPubsubTopic() {
*
* string notification_pubsub_topic = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
+ *
+ * @param value The bytes for notificationPubsubTopic to set.
+ * @return This builder for chaining.
*/
public Builder setNotificationPubsubTopicBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -3583,6 +3760,8 @@ public Builder setNotificationPubsubTopicBytes(com.google.protobuf.ByteString va
*
* .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 25 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
+ *
+ * @return Whether the emailPreferences field is set.
*/
public boolean hasEmailPreferences() {
return emailPreferencesBuilder_ != null || emailPreferences_ != null;
@@ -3599,6 +3778,8 @@ public boolean hasEmailPreferences() {
*
* .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 25 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
+ *
+ * @return The emailPreferences.
*/
public com.google.cloud.bigquery.datatransfer.v1.EmailPreferences getEmailPreferences() {
if (emailPreferencesBuilder_ == null) {
diff --git a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferRunOrBuilder.java b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferRunOrBuilder.java
index 1eaf45e2..cf8ffa05 100644
--- a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferRunOrBuilder.java
+++ b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferRunOrBuilder.java
@@ -34,6 +34,8 @@ public interface TransferRunOrBuilder
*
*
* string name = 1;
+ *
+ * @return The name.
*/
java.lang.String getName();
/**
@@ -47,6 +49,8 @@ public interface TransferRunOrBuilder
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
@@ -58,6 +62,8 @@ public interface TransferRunOrBuilder
*
*
* .google.protobuf.Timestamp schedule_time = 3;
+ *
+ * @return Whether the scheduleTime field is set.
*/
boolean hasScheduleTime();
/**
@@ -68,6 +74,8 @@ public interface TransferRunOrBuilder
*
*
* .google.protobuf.Timestamp schedule_time = 3;
+ *
+ * @return The scheduleTime.
*/
com.google.protobuf.Timestamp getScheduleTime();
/**
@@ -90,6 +98,8 @@ public interface TransferRunOrBuilder
*
*
* .google.protobuf.Timestamp run_time = 10;
+ *
+ * @return Whether the runTime field is set.
*/
boolean hasRunTime();
/**
@@ -101,6 +111,8 @@ public interface TransferRunOrBuilder
*
*
* .google.protobuf.Timestamp run_time = 10;
+ *
+ * @return The runTime.
*/
com.google.protobuf.Timestamp getRunTime();
/**
@@ -123,6 +135,8 @@ public interface TransferRunOrBuilder
*
*
* .google.rpc.Status error_status = 21;
+ *
+ * @return Whether the errorStatus field is set.
*/
boolean hasErrorStatus();
/**
@@ -133,6 +147,8 @@ public interface TransferRunOrBuilder
*
*
* .google.rpc.Status error_status = 21;
+ *
+ * @return The errorStatus.
*/
com.google.rpc.Status getErrorStatus();
/**
@@ -156,6 +172,8 @@ public interface TransferRunOrBuilder
*
* .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
+ *
+ * @return Whether the startTime field is set.
*/
boolean hasStartTime();
/**
@@ -168,6 +186,8 @@ public interface TransferRunOrBuilder
*
* .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
+ *
+ * @return The startTime.
*/
com.google.protobuf.Timestamp getStartTime();
/**
@@ -193,6 +213,8 @@ public interface TransferRunOrBuilder
*
* .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
+ *
+ * @return Whether the endTime field is set.
*/
boolean hasEndTime();
/**
@@ -205,6 +227,8 @@ public interface TransferRunOrBuilder
*
* .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
+ *
+ * @return The endTime.
*/
com.google.protobuf.Timestamp getEndTime();
/**
@@ -229,6 +253,8 @@ public interface TransferRunOrBuilder
*
* .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
+ *
+ * @return Whether the updateTime field is set.
*/
boolean hasUpdateTime();
/**
@@ -240,6 +266,8 @@ public interface TransferRunOrBuilder
*
* .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
+ *
+ * @return The updateTime.
*/
com.google.protobuf.Timestamp getUpdateTime();
/**
@@ -262,6 +290,8 @@ public interface TransferRunOrBuilder
*
*
* .google.protobuf.Struct params = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return Whether the params field is set.
*/
boolean hasParams();
/**
@@ -272,6 +302,8 @@ public interface TransferRunOrBuilder
*
*
* .google.protobuf.Struct params = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The params.
*/
com.google.protobuf.Struct getParams();
/**
@@ -293,6 +325,8 @@ public interface TransferRunOrBuilder
*
*
* string destination_dataset_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The destinationDatasetId.
*/
java.lang.String getDestinationDatasetId();
/**
@@ -303,6 +337,8 @@ public interface TransferRunOrBuilder
*
*
* string destination_dataset_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The bytes for destinationDatasetId.
*/
com.google.protobuf.ByteString getDestinationDatasetIdBytes();
@@ -314,6 +350,8 @@ public interface TransferRunOrBuilder
*
*
* string data_source_id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The dataSourceId.
*/
java.lang.String getDataSourceId();
/**
@@ -324,6 +362,8 @@ public interface TransferRunOrBuilder
*
*
* string data_source_id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The bytes for dataSourceId.
*/
com.google.protobuf.ByteString getDataSourceIdBytes();
@@ -335,6 +375,8 @@ public interface TransferRunOrBuilder
*
*
* .google.cloud.bigquery.datatransfer.v1.TransferState state = 8;
+ *
+ * @return The enum numeric value on the wire for state.
*/
int getStateValue();
/**
@@ -345,6 +387,8 @@ public interface TransferRunOrBuilder
*
*
* .google.cloud.bigquery.datatransfer.v1.TransferState state = 8;
+ *
+ * @return The state.
*/
com.google.cloud.bigquery.datatransfer.v1.TransferState getState();
@@ -356,6 +400,8 @@ public interface TransferRunOrBuilder
*
*
* int64 user_id = 11;
+ *
+ * @return The userId.
*/
long getUserId();
@@ -371,6 +417,8 @@ public interface TransferRunOrBuilder
*
*
* string schedule = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The schedule.
*/
java.lang.String getSchedule();
/**
@@ -385,6 +433,8 @@ public interface TransferRunOrBuilder
*
*
* string schedule = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The bytes for schedule.
*/
com.google.protobuf.ByteString getScheduleBytes();
@@ -398,6 +448,8 @@ public interface TransferRunOrBuilder
*
* string notification_pubsub_topic = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
+ *
+ * @return The notificationPubsubTopic.
*/
java.lang.String getNotificationPubsubTopic();
/**
@@ -410,6 +462,8 @@ public interface TransferRunOrBuilder
*
* string notification_pubsub_topic = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
+ *
+ * @return The bytes for notificationPubsubTopic.
*/
com.google.protobuf.ByteString getNotificationPubsubTopicBytes();
@@ -425,6 +479,8 @@ public interface TransferRunOrBuilder
*
* .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 25 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
+ *
+ * @return Whether the emailPreferences field is set.
*/
boolean hasEmailPreferences();
/**
@@ -439,6 +495,8 @@ public interface TransferRunOrBuilder
*
* .google.cloud.bigquery.datatransfer.v1.EmailPreferences email_preferences = 25 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
+ *
+ * @return The emailPreferences.
*/
com.google.cloud.bigquery.datatransfer.v1.EmailPreferences getEmailPreferences();
/**
diff --git a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferState.java b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferState.java
index 7fe056b3..5f91ac8a 100644
--- a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferState.java
+++ b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferState.java
@@ -162,12 +162,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 TransferState 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 TransferState forNumber(int value) {
switch (value) {
case 0:
diff --git a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferType.java b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferType.java
index 95489bf2..4bf69642 100644
--- a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferType.java
+++ b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferType.java
@@ -102,12 +102,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 TransferType 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 TransferType forNumber(int value) {
switch (value) {
case 0:
diff --git a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UntypedDataSourceName.java b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UntypedDataSourceName.java
index 367c6f9c..ae987730 100644
--- a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UntypedDataSourceName.java
+++ b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UntypedDataSourceName.java
@@ -23,8 +23,13 @@
import java.util.List;
import java.util.Map;
-// AUTO-GENERATED DOCUMENTATION AND CLASS
+/**
+ * AUTO-GENERATED DOCUMENTATION AND CLASS
+ *
+ * @deprecated This resource name class will be removed in the next major version.
+ */
@javax.annotation.Generated("by GAPIC protoc plugin")
+@Deprecated
public class UntypedDataSourceName extends DataSourceName {
private final String rawValue;
diff --git a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UntypedParentName.java b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UntypedParentName.java
index 381ae996..4400f318 100644
--- a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UntypedParentName.java
+++ b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UntypedParentName.java
@@ -23,8 +23,13 @@
import java.util.List;
import java.util.Map;
-// AUTO-GENERATED DOCUMENTATION AND CLASS
+/**
+ * AUTO-GENERATED DOCUMENTATION AND CLASS
+ *
+ * @deprecated This resource name class will be removed in the next major version.
+ */
@javax.annotation.Generated("by GAPIC protoc plugin")
+@Deprecated
public class UntypedParentName extends ParentName {
private final String rawValue;
diff --git a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UntypedRunName.java b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UntypedRunName.java
index 7dc811c8..cb14a0bc 100644
--- a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UntypedRunName.java
+++ b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UntypedRunName.java
@@ -23,8 +23,13 @@
import java.util.List;
import java.util.Map;
-// AUTO-GENERATED DOCUMENTATION AND CLASS
+/**
+ * AUTO-GENERATED DOCUMENTATION AND CLASS
+ *
+ * @deprecated This resource name class will be removed in the next major version.
+ */
@javax.annotation.Generated("by GAPIC protoc plugin")
+@Deprecated
public class UntypedRunName extends RunName {
private final String rawValue;
diff --git a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UntypedTransferConfigName.java b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UntypedTransferConfigName.java
index 94d21b0e..5c971669 100644
--- a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UntypedTransferConfigName.java
+++ b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UntypedTransferConfigName.java
@@ -23,8 +23,13 @@
import java.util.List;
import java.util.Map;
-// AUTO-GENERATED DOCUMENTATION AND CLASS
+/**
+ * AUTO-GENERATED DOCUMENTATION AND CLASS
+ *
+ * @deprecated This resource name class will be removed in the next major version.
+ */
@javax.annotation.Generated("by GAPIC protoc plugin")
+@Deprecated
public class UntypedTransferConfigName extends TransferConfigName {
private final String rawValue;
diff --git a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UpdateTransferConfigRequest.java b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UpdateTransferConfigRequest.java
index 99f695df..774b1ce3 100644
--- a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UpdateTransferConfigRequest.java
+++ b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UpdateTransferConfigRequest.java
@@ -44,6 +44,12 @@ private UpdateTransferConfigRequest() {
serviceAccountName_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new UpdateTransferConfigRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -57,7 +63,6 @@ private UpdateTransferConfigRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -167,6 +172,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 1 [(.google.api.field_behavior) = REQUIRED];
*
+ *
+ * @return Whether the transferConfig field is set.
*/
public boolean hasTransferConfig() {
return transferConfig_ != null;
@@ -181,6 +188,8 @@ public boolean hasTransferConfig() {
*
* .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 1 [(.google.api.field_behavior) = REQUIRED];
*
+ *
+ * @return The transferConfig.
*/
public com.google.cloud.bigquery.datatransfer.v1.TransferConfig getTransferConfig() {
return transferConfig_ == null
@@ -227,6 +236,8 @@ public com.google.cloud.bigquery.datatransfer.v1.TransferConfig getTransferConfi
*
*
* string authorization_code = 3;
+ *
+ * @return The authorizationCode.
*/
public java.lang.String getAuthorizationCode() {
java.lang.Object ref = authorizationCode_;
@@ -261,6 +272,8 @@ public java.lang.String getAuthorizationCode() {
*
*
* string authorization_code = 3;
+ *
+ * @return The bytes for authorizationCode.
*/
public com.google.protobuf.ByteString getAuthorizationCodeBytes() {
java.lang.Object ref = authorizationCode_;
@@ -285,6 +298,8 @@ public com.google.protobuf.ByteString getAuthorizationCodeBytes() {
*
* .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED];
*
+ *
+ * @return Whether the updateMask field is set.
*/
public boolean hasUpdateMask() {
return updateMask_ != null;
@@ -298,6 +313,8 @@ public boolean hasUpdateMask() {
*
* .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED];
*
+ *
+ * @return The updateMask.
*/
public com.google.protobuf.FieldMask getUpdateMask() {
return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_;
@@ -331,6 +348,8 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
*
*
* string version_info = 5;
+ *
+ * @return The versionInfo.
*/
public java.lang.String getVersionInfo() {
java.lang.Object ref = versionInfo_;
@@ -356,6 +375,8 @@ public java.lang.String getVersionInfo() {
*
*
* string version_info = 5;
+ *
+ * @return The bytes for versionInfo.
*/
public com.google.protobuf.ByteString getVersionInfoBytes() {
java.lang.Object ref = versionInfo_;
@@ -383,6 +404,8 @@ public com.google.protobuf.ByteString getVersionInfoBytes() {
*
*
* string service_account_name = 6;
+ *
+ * @return The serviceAccountName.
*/
public java.lang.String getServiceAccountName() {
java.lang.Object ref = serviceAccountName_;
@@ -407,6 +430,8 @@ public java.lang.String getServiceAccountName() {
*
*
* string service_account_name = 6;
+ *
+ * @return The bytes for serviceAccountName.
*/
public com.google.protobuf.ByteString getServiceAccountNameBytes() {
java.lang.Object ref = serviceAccountName_;
@@ -852,6 +877,8 @@ public Builder mergeFrom(
*
* .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 1 [(.google.api.field_behavior) = REQUIRED];
*
+ *
+ * @return Whether the transferConfig field is set.
*/
public boolean hasTransferConfig() {
return transferConfigBuilder_ != null || transferConfig_ != null;
@@ -866,6 +893,8 @@ public boolean hasTransferConfig() {
*
* .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 1 [(.google.api.field_behavior) = REQUIRED];
*
+ *
+ * @return The transferConfig.
*/
public com.google.cloud.bigquery.datatransfer.v1.TransferConfig getTransferConfig() {
if (transferConfigBuilder_ == null) {
@@ -1063,6 +1092,8 @@ public Builder clearTransferConfig() {
*
*
* string authorization_code = 3;
+ *
+ * @return The authorizationCode.
*/
public java.lang.String getAuthorizationCode() {
java.lang.Object ref = authorizationCode_;
@@ -1097,6 +1128,8 @@ public java.lang.String getAuthorizationCode() {
*
*
* string authorization_code = 3;
+ *
+ * @return The bytes for authorizationCode.
*/
public com.google.protobuf.ByteString getAuthorizationCodeBytes() {
java.lang.Object ref = authorizationCode_;
@@ -1131,6 +1164,9 @@ public com.google.protobuf.ByteString getAuthorizationCodeBytes() {
*
*
* string authorization_code = 3;
+ *
+ * @param value The authorizationCode to set.
+ * @return This builder for chaining.
*/
public Builder setAuthorizationCode(java.lang.String value) {
if (value == null) {
@@ -1163,6 +1199,8 @@ public Builder setAuthorizationCode(java.lang.String value) {
*
*
* string authorization_code = 3;
+ *
+ * @return This builder for chaining.
*/
public Builder clearAuthorizationCode() {
@@ -1192,6 +1230,9 @@ public Builder clearAuthorizationCode() {
*
*
* string authorization_code = 3;
+ *
+ * @param value The bytes for authorizationCode to set.
+ * @return This builder for chaining.
*/
public Builder setAuthorizationCodeBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1219,6 +1260,8 @@ public Builder setAuthorizationCodeBytes(com.google.protobuf.ByteString value) {
*
* .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED];
*
+ *
+ * @return Whether the updateMask field is set.
*/
public boolean hasUpdateMask() {
return updateMaskBuilder_ != null || updateMask_ != null;
@@ -1232,6 +1275,8 @@ public boolean hasUpdateMask() {
*
* .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED];
*
+ *
+ * @return The updateMask.
*/
public com.google.protobuf.FieldMask getUpdateMask() {
if (updateMaskBuilder_ == null) {
@@ -1406,6 +1451,8 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
*
*
* string version_info = 5;
+ *
+ * @return The versionInfo.
*/
public java.lang.String getVersionInfo() {
java.lang.Object ref = versionInfo_;
@@ -1431,6 +1478,8 @@ public java.lang.String getVersionInfo() {
*
*
* string version_info = 5;
+ *
+ * @return The bytes for versionInfo.
*/
public com.google.protobuf.ByteString getVersionInfoBytes() {
java.lang.Object ref = versionInfo_;
@@ -1456,6 +1505,9 @@ public com.google.protobuf.ByteString getVersionInfoBytes() {
*
*
* string version_info = 5;
+ *
+ * @param value The versionInfo to set.
+ * @return This builder for chaining.
*/
public Builder setVersionInfo(java.lang.String value) {
if (value == null) {
@@ -1479,6 +1531,8 @@ public Builder setVersionInfo(java.lang.String value) {
*
*
* string version_info = 5;
+ *
+ * @return This builder for chaining.
*/
public Builder clearVersionInfo() {
@@ -1499,6 +1553,9 @@ public Builder clearVersionInfo() {
*
*
* string version_info = 5;
+ *
+ * @param value The bytes for versionInfo to set.
+ * @return This builder for chaining.
*/
public Builder setVersionInfoBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1524,6 +1581,8 @@ public Builder setVersionInfoBytes(com.google.protobuf.ByteString value) {
*
*
* string service_account_name = 6;
+ *
+ * @return The serviceAccountName.
*/
public java.lang.String getServiceAccountName() {
java.lang.Object ref = serviceAccountName_;
@@ -1548,6 +1607,8 @@ public java.lang.String getServiceAccountName() {
*
*
* string service_account_name = 6;
+ *
+ * @return The bytes for serviceAccountName.
*/
public com.google.protobuf.ByteString getServiceAccountNameBytes() {
java.lang.Object ref = serviceAccountName_;
@@ -1572,6 +1633,9 @@ public com.google.protobuf.ByteString getServiceAccountNameBytes() {
*
*
* string service_account_name = 6;
+ *
+ * @param value The serviceAccountName to set.
+ * @return This builder for chaining.
*/
public Builder setServiceAccountName(java.lang.String value) {
if (value == null) {
@@ -1594,6 +1658,8 @@ public Builder setServiceAccountName(java.lang.String value) {
*
*
* string service_account_name = 6;
+ *
+ * @return This builder for chaining.
*/
public Builder clearServiceAccountName() {
@@ -1613,6 +1679,9 @@ public Builder clearServiceAccountName() {
*
*
* string service_account_name = 6;
+ *
+ * @param value The bytes for serviceAccountName to set.
+ * @return This builder for chaining.
*/
public Builder setServiceAccountNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
diff --git a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UpdateTransferConfigRequestOrBuilder.java b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UpdateTransferConfigRequestOrBuilder.java
index b4cf1a9d..85dde8d3 100644
--- a/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UpdateTransferConfigRequestOrBuilder.java
+++ b/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/UpdateTransferConfigRequestOrBuilder.java
@@ -33,6 +33,8 @@ public interface UpdateTransferConfigRequestOrBuilder
*
* .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 1 [(.google.api.field_behavior) = REQUIRED];
*
+ *
+ * @return Whether the transferConfig field is set.
*/
boolean hasTransferConfig();
/**
@@ -45,6 +47,8 @@ public interface UpdateTransferConfigRequestOrBuilder
*
* .google.cloud.bigquery.datatransfer.v1.TransferConfig transfer_config = 1 [(.google.api.field_behavior) = REQUIRED];
*
+ *
+ * @return The transferConfig.
*/
com.google.cloud.bigquery.datatransfer.v1.TransferConfig getTransferConfig();
/**
@@ -82,6 +86,8 @@ public interface UpdateTransferConfigRequestOrBuilder
*
*
* string authorization_code = 3;
+ *
+ * @return The authorizationCode.
*/
java.lang.String getAuthorizationCode();
/**
@@ -106,6 +112,8 @@ public interface UpdateTransferConfigRequestOrBuilder
*
*
* string authorization_code = 3;
+ *
+ * @return The bytes for authorizationCode.
*/
com.google.protobuf.ByteString getAuthorizationCodeBytes();
@@ -118,6 +126,8 @@ public interface UpdateTransferConfigRequestOrBuilder
*
* .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED];
*
+ *
+ * @return Whether the updateMask field is set.
*/
boolean hasUpdateMask();
/**
@@ -129,6 +139,8 @@ public interface UpdateTransferConfigRequestOrBuilder
*
* .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED];
*
+ *
+ * @return The updateMask.
*/
com.google.protobuf.FieldMask getUpdateMask();
/**
@@ -156,6 +168,8 @@ public interface UpdateTransferConfigRequestOrBuilder
*
*
* string version_info = 5;
+ *
+ * @return The versionInfo.
*/
java.lang.String getVersionInfo();
/**
@@ -171,6 +185,8 @@ public interface UpdateTransferConfigRequestOrBuilder
*
*
* string version_info = 5;
+ *
+ * @return The bytes for versionInfo.
*/
com.google.protobuf.ByteString getVersionInfoBytes();
@@ -186,6 +202,8 @@ public interface UpdateTransferConfigRequestOrBuilder
*
*
* string service_account_name = 6;
+ *
+ * @return The serviceAccountName.
*/
java.lang.String getServiceAccountName();
/**
@@ -200,6 +218,8 @@ public interface UpdateTransferConfigRequestOrBuilder
*
*
* string service_account_name = 6;
+ *
+ * @return The bytes for serviceAccountName.
*/
com.google.protobuf.ByteString getServiceAccountNameBytes();
}
diff --git a/synth.metadata b/synth.metadata
index ad0acad4..fed81193 100644
--- a/synth.metadata
+++ b/synth.metadata
@@ -1,19 +1,19 @@
{
- "updateTime": "2019-12-07T08:37:06.838425Z",
+ "updateTime": "2019-12-14T08:34:17.285250Z",
"sources": [
{
"generator": {
"name": "artman",
- "version": "0.42.1",
- "dockerImage": "googleapis/artman@sha256:c773192618c608a7a0415dd95282f841f8e6bcdef7dd760a988c93b77a64bd57"
+ "version": "0.42.3",
+ "dockerImage": "googleapis/artman@sha256:feed210b5723c6f524b52ef6d7740a030f2d1a8f7c29a71c5e5b4481ceaad7f5"
}
},
{
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
- "sha": "a4adac3a12aca6e3a792c9c35ee850435fe7cf7e",
- "internalRef": "284277770"
+ "sha": "2085a0d3c76180ee843cf2ecef2b94ca5266be31",
+ "internalRef": "285233245"
}
},
{