diff --git a/proto-google-cloud-bigquerystorage-v1beta1/src/main/java/com/google/cloud/bigquery/storage/v1beta1/ArrowProto.java b/proto-google-cloud-bigquerystorage-v1beta1/src/main/java/com/google/cloud/bigquery/storage/v1beta1/ArrowProto.java
index c98b66273c..30538ce8c9 100644
--- a/proto-google-cloud-bigquerystorage-v1beta1/src/main/java/com/google/cloud/bigquery/storage/v1beta1/ArrowProto.java
+++ b/proto-google-cloud-bigquerystorage-v1beta1/src/main/java/com/google/cloud/bigquery/storage/v1beta1/ArrowProto.java
@@ -40,6 +40,8 @@ public interface ArrowSchemaOrBuilder
*
*
* bytes serialized_schema = 1;
+ *
+ * @return The serializedSchema.
*/
com.google.protobuf.ByteString getSerializedSchema();
}
@@ -66,6 +68,12 @@ private ArrowSchema() {
serializedSchema_ = com.google.protobuf.ByteString.EMPTY;
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new ArrowSchema();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -79,7 +87,6 @@ private ArrowSchema(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -139,6 +146,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* bytes serialized_schema = 1;
+ *
+ * @return The serializedSchema.
*/
public com.google.protobuf.ByteString getSerializedSchema() {
return serializedSchema_;
@@ -484,6 +493,8 @@ public Builder mergeFrom(
*
*
* bytes serialized_schema = 1;
+ *
+ * @return The serializedSchema.
*/
public com.google.protobuf.ByteString getSerializedSchema() {
return serializedSchema_;
@@ -496,6 +507,9 @@ public com.google.protobuf.ByteString getSerializedSchema() {
*
*
* bytes serialized_schema = 1;
+ *
+ * @param value The serializedSchema to set.
+ * @return This builder for chaining.
*/
public Builder setSerializedSchema(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -514,6 +528,8 @@ public Builder setSerializedSchema(com.google.protobuf.ByteString value) {
*
*
* bytes serialized_schema = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearSerializedSchema() {
@@ -590,6 +606,8 @@ public interface ArrowRecordBatchOrBuilder
*
*
* bytes serialized_record_batch = 1;
+ *
+ * @return The serializedRecordBatch.
*/
com.google.protobuf.ByteString getSerializedRecordBatch();
@@ -601,6 +619,8 @@ public interface ArrowRecordBatchOrBuilder
*
*
* int64 row_count = 2;
+ *
+ * @return The rowCount.
*/
long getRowCount();
}
@@ -627,6 +647,12 @@ private ArrowRecordBatch() {
serializedRecordBatch_ = com.google.protobuf.ByteString.EMPTY;
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new ArrowRecordBatch();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -640,7 +666,6 @@ private ArrowRecordBatch(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -705,6 +730,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* bytes serialized_record_batch = 1;
+ *
+ * @return The serializedRecordBatch.
*/
public com.google.protobuf.ByteString getSerializedRecordBatch() {
return serializedRecordBatch_;
@@ -720,6 +747,8 @@ public com.google.protobuf.ByteString getSerializedRecordBatch() {
*
*
* int64 row_count = 2;
+ *
+ * @return The rowCount.
*/
public long getRowCount() {
return rowCount_;
@@ -1083,6 +1112,8 @@ public Builder mergeFrom(
*
*
* bytes serialized_record_batch = 1;
+ *
+ * @return The serializedRecordBatch.
*/
public com.google.protobuf.ByteString getSerializedRecordBatch() {
return serializedRecordBatch_;
@@ -1095,6 +1126,9 @@ public com.google.protobuf.ByteString getSerializedRecordBatch() {
*
*
* bytes serialized_record_batch = 1;
+ *
+ * @param value The serializedRecordBatch to set.
+ * @return This builder for chaining.
*/
public Builder setSerializedRecordBatch(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1113,6 +1147,8 @@ public Builder setSerializedRecordBatch(com.google.protobuf.ByteString value) {
*
*
* bytes serialized_record_batch = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearSerializedRecordBatch() {
@@ -1130,6 +1166,8 @@ public Builder clearSerializedRecordBatch() {
*
*
* int64 row_count = 2;
+ *
+ * @return The rowCount.
*/
public long getRowCount() {
return rowCount_;
@@ -1142,6 +1180,9 @@ public long getRowCount() {
*
*
* int64 row_count = 2;
+ *
+ * @param value The rowCount to set.
+ * @return This builder for chaining.
*/
public Builder setRowCount(long value) {
@@ -1157,6 +1198,8 @@ public Builder setRowCount(long value) {
*
*
* int64 row_count = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearRowCount() {
@@ -1248,16 +1291,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "g/genproto/googleapis/cloud/bigquery/sto"
+ "rage/v1beta1;storageb\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[] {}, assigner);
+ descriptor =
+ com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
+ descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {});
internal_static_google_cloud_bigquery_storage_v1beta1_ArrowSchema_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_google_cloud_bigquery_storage_v1beta1_ArrowSchema_fieldAccessorTable =
diff --git a/proto-google-cloud-bigquerystorage-v1beta1/src/main/java/com/google/cloud/bigquery/storage/v1beta1/AvroProto.java b/proto-google-cloud-bigquerystorage-v1beta1/src/main/java/com/google/cloud/bigquery/storage/v1beta1/AvroProto.java
index 92049acfd5..bb08161962 100644
--- a/proto-google-cloud-bigquerystorage-v1beta1/src/main/java/com/google/cloud/bigquery/storage/v1beta1/AvroProto.java
+++ b/proto-google-cloud-bigquerystorage-v1beta1/src/main/java/com/google/cloud/bigquery/storage/v1beta1/AvroProto.java
@@ -41,6 +41,8 @@ public interface AvroSchemaOrBuilder
*
*
* string schema = 1;
+ *
+ * @return The schema.
*/
java.lang.String getSchema();
/**
@@ -52,6 +54,8 @@ public interface AvroSchemaOrBuilder
*
*
* string schema = 1;
+ *
+ * @return The bytes for schema.
*/
com.google.protobuf.ByteString getSchemaBytes();
}
@@ -78,6 +82,12 @@ private AvroSchema() {
schema_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new AvroSchema();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -91,7 +101,6 @@ private AvroSchema(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -154,6 +163,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* string schema = 1;
+ *
+ * @return The schema.
*/
public java.lang.String getSchema() {
java.lang.Object ref = schema_;
@@ -175,6 +186,8 @@ public java.lang.String getSchema() {
*
*
* string schema = 1;
+ *
+ * @return The bytes for schema.
*/
public com.google.protobuf.ByteString getSchemaBytes() {
java.lang.Object ref = schema_;
@@ -525,6 +538,8 @@ public Builder mergeFrom(
*
*
* string schema = 1;
+ *
+ * @return The schema.
*/
public java.lang.String getSchema() {
java.lang.Object ref = schema_;
@@ -546,6 +561,8 @@ public java.lang.String getSchema() {
*
*
* string schema = 1;
+ *
+ * @return The bytes for schema.
*/
public com.google.protobuf.ByteString getSchemaBytes() {
java.lang.Object ref = schema_;
@@ -567,6 +584,9 @@ public com.google.protobuf.ByteString getSchemaBytes() {
*
*
* string schema = 1;
+ *
+ * @param value The schema to set.
+ * @return This builder for chaining.
*/
public Builder setSchema(java.lang.String value) {
if (value == null) {
@@ -586,6 +606,8 @@ public Builder setSchema(java.lang.String value) {
*
*
* string schema = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearSchema() {
@@ -602,6 +624,9 @@ public Builder clearSchema() {
*
*
* string schema = 1;
+ *
+ * @param value The bytes for schema to set.
+ * @return This builder for chaining.
*/
public Builder setSchemaBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -682,6 +707,8 @@ public interface AvroRowsOrBuilder
*
*
* bytes serialized_binary_rows = 1;
+ *
+ * @return The serializedBinaryRows.
*/
com.google.protobuf.ByteString getSerializedBinaryRows();
@@ -693,6 +720,8 @@ public interface AvroRowsOrBuilder
*
*
* int64 row_count = 2;
+ *
+ * @return The rowCount.
*/
long getRowCount();
}
@@ -719,6 +748,12 @@ private AvroRows() {
serializedBinaryRows_ = com.google.protobuf.ByteString.EMPTY;
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new AvroRows();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -732,7 +767,6 @@ private AvroRows(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -797,6 +831,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* bytes serialized_binary_rows = 1;
+ *
+ * @return The serializedBinaryRows.
*/
public com.google.protobuf.ByteString getSerializedBinaryRows() {
return serializedBinaryRows_;
@@ -812,6 +848,8 @@ public com.google.protobuf.ByteString getSerializedBinaryRows() {
*
*
* int64 row_count = 2;
+ *
+ * @return The rowCount.
*/
public long getRowCount() {
return rowCount_;
@@ -1167,6 +1205,8 @@ public Builder mergeFrom(
*
*
* bytes serialized_binary_rows = 1;
+ *
+ * @return The serializedBinaryRows.
*/
public com.google.protobuf.ByteString getSerializedBinaryRows() {
return serializedBinaryRows_;
@@ -1179,6 +1219,9 @@ public com.google.protobuf.ByteString getSerializedBinaryRows() {
*
*
* bytes serialized_binary_rows = 1;
+ *
+ * @param value The serializedBinaryRows to set.
+ * @return This builder for chaining.
*/
public Builder setSerializedBinaryRows(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1197,6 +1240,8 @@ public Builder setSerializedBinaryRows(com.google.protobuf.ByteString value) {
*
*
* bytes serialized_binary_rows = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearSerializedBinaryRows() {
@@ -1214,6 +1259,8 @@ public Builder clearSerializedBinaryRows() {
*
*
* int64 row_count = 2;
+ *
+ * @return The rowCount.
*/
public long getRowCount() {
return rowCount_;
@@ -1226,6 +1273,9 @@ public long getRowCount() {
*
*
* int64 row_count = 2;
+ *
+ * @param value The rowCount to set.
+ * @return This builder for chaining.
*/
public Builder setRowCount(long value) {
@@ -1241,6 +1291,8 @@ public Builder setRowCount(long value) {
*
*
* int64 row_count = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearRowCount() {
@@ -1331,16 +1383,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "loud/bigquery/storage/v1beta1;storageb\006p"
+ "roto3"
};
- 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[] {}, assigner);
+ descriptor =
+ com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
+ descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {});
internal_static_google_cloud_bigquery_storage_v1beta1_AvroSchema_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_google_cloud_bigquery_storage_v1beta1_AvroSchema_fieldAccessorTable =
diff --git a/proto-google-cloud-bigquerystorage-v1beta1/src/main/java/com/google/cloud/bigquery/storage/v1beta1/ReadOptions.java b/proto-google-cloud-bigquerystorage-v1beta1/src/main/java/com/google/cloud/bigquery/storage/v1beta1/ReadOptions.java
index d129f0676f..5efbbc5481 100644
--- a/proto-google-cloud-bigquerystorage-v1beta1/src/main/java/com/google/cloud/bigquery/storage/v1beta1/ReadOptions.java
+++ b/proto-google-cloud-bigquerystorage-v1beta1/src/main/java/com/google/cloud/bigquery/storage/v1beta1/ReadOptions.java
@@ -43,6 +43,8 @@ public interface TableReadOptionsOrBuilder
*
*
* repeated string selected_fields = 1;
+ *
+ * @return A list containing the selectedFields.
*/
java.util.List getSelectedFieldsList();
/**
@@ -56,6 +58,8 @@ public interface TableReadOptionsOrBuilder
*
*
* repeated string selected_fields = 1;
+ *
+ * @return The count of selectedFields.
*/
int getSelectedFieldsCount();
/**
@@ -69,6 +73,9 @@ public interface TableReadOptionsOrBuilder
*
*
* repeated string selected_fields = 1;
+ *
+ * @param index The index of the element to return.
+ * @return The selectedFields at the given index.
*/
java.lang.String getSelectedFields(int index);
/**
@@ -82,6 +89,9 @@ public interface TableReadOptionsOrBuilder
*
*
* repeated string selected_fields = 1;
+ *
+ * @param index The index of the value to return.
+ * @return The bytes of the selectedFields at the given index.
*/
com.google.protobuf.ByteString getSelectedFieldsBytes(int index);
@@ -100,6 +110,8 @@ public interface TableReadOptionsOrBuilder
*
*
* string row_restriction = 2;
+ *
+ * @return The rowRestriction.
*/
java.lang.String getRowRestriction();
/**
@@ -117,6 +129,8 @@ public interface TableReadOptionsOrBuilder
*
*
* string row_restriction = 2;
+ *
+ * @return The bytes for rowRestriction.
*/
com.google.protobuf.ByteString getRowRestrictionBytes();
}
@@ -144,6 +158,12 @@ private TableReadOptions() {
rowRestriction_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new TableReadOptions();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -222,7 +242,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions.Builder.class);
}
- private int bitField0_;
public static final int SELECTED_FIELDS_FIELD_NUMBER = 1;
private com.google.protobuf.LazyStringList selectedFields_;
/**
@@ -236,6 +255,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* repeated string selected_fields = 1;
+ *
+ * @return A list containing the selectedFields.
*/
public com.google.protobuf.ProtocolStringList getSelectedFieldsList() {
return selectedFields_;
@@ -251,6 +272,8 @@ public com.google.protobuf.ProtocolStringList getSelectedFieldsList() {
*
*
* repeated string selected_fields = 1;
+ *
+ * @return The count of selectedFields.
*/
public int getSelectedFieldsCount() {
return selectedFields_.size();
@@ -266,6 +289,9 @@ public int getSelectedFieldsCount() {
*
*
* repeated string selected_fields = 1;
+ *
+ * @param index The index of the element to return.
+ * @return The selectedFields at the given index.
*/
public java.lang.String getSelectedFields(int index) {
return selectedFields_.get(index);
@@ -281,6 +307,9 @@ public java.lang.String getSelectedFields(int index) {
*
*
* repeated string selected_fields = 1;
+ *
+ * @param index The index of the value to return.
+ * @return The bytes of the selectedFields at the given index.
*/
public com.google.protobuf.ByteString getSelectedFieldsBytes(int index) {
return selectedFields_.getByteString(index);
@@ -303,6 +332,8 @@ public com.google.protobuf.ByteString getSelectedFieldsBytes(int index) {
*
*
* string row_restriction = 2;
+ *
+ * @return The rowRestriction.
*/
public java.lang.String getRowRestriction() {
java.lang.Object ref = rowRestriction_;
@@ -330,6 +361,8 @@ public java.lang.String getRowRestriction() {
*
*
* string row_restriction = 2;
+ *
+ * @return The bytes for rowRestriction.
*/
public com.google.protobuf.ByteString getRowRestrictionBytes() {
java.lang.Object ref = rowRestriction_;
@@ -605,14 +638,12 @@ public com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions bu
com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions result =
new com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions(this);
int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
if (((bitField0_ & 0x00000001) != 0)) {
selectedFields_ = selectedFields_.getUnmodifiableView();
bitField0_ = (bitField0_ & ~0x00000001);
}
result.selectedFields_ = selectedFields_;
result.rowRestriction_ = rowRestriction_;
- result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@@ -736,6 +767,8 @@ private void ensureSelectedFieldsIsMutable() {
*
*
* repeated string selected_fields = 1;
+ *
+ * @return A list containing the selectedFields.
*/
public com.google.protobuf.ProtocolStringList getSelectedFieldsList() {
return selectedFields_.getUnmodifiableView();
@@ -751,6 +784,8 @@ public com.google.protobuf.ProtocolStringList getSelectedFieldsList() {
*
*
* repeated string selected_fields = 1;
+ *
+ * @return The count of selectedFields.
*/
public int getSelectedFieldsCount() {
return selectedFields_.size();
@@ -766,6 +801,9 @@ public int getSelectedFieldsCount() {
*
*
* repeated string selected_fields = 1;
+ *
+ * @param index The index of the element to return.
+ * @return The selectedFields at the given index.
*/
public java.lang.String getSelectedFields(int index) {
return selectedFields_.get(index);
@@ -781,6 +819,9 @@ public java.lang.String getSelectedFields(int index) {
*
*
* repeated string selected_fields = 1;
+ *
+ * @param index The index of the value to return.
+ * @return The bytes of the selectedFields at the given index.
*/
public com.google.protobuf.ByteString getSelectedFieldsBytes(int index) {
return selectedFields_.getByteString(index);
@@ -796,6 +837,10 @@ public com.google.protobuf.ByteString getSelectedFieldsBytes(int index) {
*
*
* repeated string selected_fields = 1;
+ *
+ * @param index The index to set the value at.
+ * @param value The selectedFields to set.
+ * @return This builder for chaining.
*/
public Builder setSelectedFields(int index, java.lang.String value) {
if (value == null) {
@@ -817,6 +862,9 @@ public Builder setSelectedFields(int index, java.lang.String value) {
*
*
* repeated string selected_fields = 1;
+ *
+ * @param value The selectedFields to add.
+ * @return This builder for chaining.
*/
public Builder addSelectedFields(java.lang.String value) {
if (value == null) {
@@ -838,6 +886,9 @@ public Builder addSelectedFields(java.lang.String value) {
*
*
* repeated string selected_fields = 1;
+ *
+ * @param values The selectedFields to add.
+ * @return This builder for chaining.
*/
public Builder addAllSelectedFields(java.lang.Iterable values) {
ensureSelectedFieldsIsMutable();
@@ -856,6 +907,8 @@ public Builder addAllSelectedFields(java.lang.Iterable values)
*
*
* repeated string selected_fields = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearSelectedFields() {
selectedFields_ = com.google.protobuf.LazyStringArrayList.EMPTY;
@@ -874,6 +927,9 @@ public Builder clearSelectedFields() {
*
*
* repeated string selected_fields = 1;
+ *
+ * @param value The bytes of the selectedFields to add.
+ * @return This builder for chaining.
*/
public Builder addSelectedFieldsBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -902,6 +958,8 @@ public Builder addSelectedFieldsBytes(com.google.protobuf.ByteString value) {
*
*
* string row_restriction = 2;
+ *
+ * @return The rowRestriction.
*/
public java.lang.String getRowRestriction() {
java.lang.Object ref = rowRestriction_;
@@ -929,6 +987,8 @@ public java.lang.String getRowRestriction() {
*
*
* string row_restriction = 2;
+ *
+ * @return The bytes for rowRestriction.
*/
public com.google.protobuf.ByteString getRowRestrictionBytes() {
java.lang.Object ref = rowRestriction_;
@@ -956,6 +1016,9 @@ public com.google.protobuf.ByteString getRowRestrictionBytes() {
*
*
* string row_restriction = 2;
+ *
+ * @param value The rowRestriction to set.
+ * @return This builder for chaining.
*/
public Builder setRowRestriction(java.lang.String value) {
if (value == null) {
@@ -981,6 +1044,8 @@ public Builder setRowRestriction(java.lang.String value) {
*
*
* string row_restriction = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearRowRestriction() {
@@ -1003,6 +1068,9 @@ public Builder clearRowRestriction() {
*
*
* string row_restriction = 2;
+ *
+ * @param value The bytes for rowRestriction to set.
+ * @return This builder for chaining.
*/
public Builder setRowRestrictionBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1093,16 +1161,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "/googleapis/cloud/bigquery/storage/v1bet"
+ "a1;storageb\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[] {}, assigner);
+ descriptor =
+ com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
+ descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {});
internal_static_google_cloud_bigquery_storage_v1beta1_TableReadOptions_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_google_cloud_bigquery_storage_v1beta1_TableReadOptions_fieldAccessorTable =
diff --git a/proto-google-cloud-bigquerystorage-v1beta1/src/main/java/com/google/cloud/bigquery/storage/v1beta1/Storage.java b/proto-google-cloud-bigquerystorage-v1beta1/src/main/java/com/google/cloud/bigquery/storage/v1beta1/Storage.java
index a1a23a8ea3..48b5e8f08f 100644
--- a/proto-google-cloud-bigquerystorage-v1beta1/src/main/java/com/google/cloud/bigquery/storage/v1beta1/Storage.java
+++ b/proto-google-cloud-bigquerystorage-v1beta1/src/main/java/com/google/cloud/bigquery/storage/v1beta1/Storage.java
@@ -94,12 +94,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 DataFormat 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 DataFormat forNumber(int value) {
switch (value) {
case 0:
@@ -257,12 +265,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 ShardingStrategy 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 ShardingStrategy forNumber(int value) {
switch (value) {
case 0:
@@ -338,6 +354,8 @@ public interface StreamOrBuilder
*
*
* string name = 1;
+ *
+ * @return The name.
*/
java.lang.String getName();
/**
@@ -349,6 +367,8 @@ public interface StreamOrBuilder
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
}
@@ -375,6 +395,12 @@ private Stream() {
name_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new Stream();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -388,7 +414,6 @@ private Stream(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -451,6 +476,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* string name = 1;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -472,6 +499,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_;
@@ -818,6 +847,8 @@ public Builder mergeFrom(
*
*
* string name = 1;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -839,6 +870,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_;
@@ -860,6 +893,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) {
@@ -879,6 +915,8 @@ public Builder setName(java.lang.String value) {
*
*
* string name = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearName() {
@@ -895,6 +933,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) {
@@ -972,6 +1013,8 @@ public interface StreamPositionOrBuilder
*
*
* .google.cloud.bigquery.storage.v1beta1.Stream stream = 1;
+ *
+ * @return Whether the stream field is set.
*/
boolean hasStream();
/**
@@ -982,6 +1025,8 @@ public interface StreamPositionOrBuilder
*
*
* .google.cloud.bigquery.storage.v1beta1.Stream stream = 1;
+ *
+ * @return The stream.
*/
com.google.cloud.bigquery.storage.v1beta1.Storage.Stream getStream();
/**
@@ -1003,6 +1048,8 @@ public interface StreamPositionOrBuilder
*
*
* int64 offset = 2;
+ *
+ * @return The offset.
*/
long getOffset();
}
@@ -1027,6 +1074,12 @@ private StreamPosition(com.google.protobuf.GeneratedMessageV3.Builder> builder
private StreamPosition() {}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new StreamPosition();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -1040,7 +1093,6 @@ private StreamPosition(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -1117,6 +1169,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* .google.cloud.bigquery.storage.v1beta1.Stream stream = 1;
+ *
+ * @return Whether the stream field is set.
*/
public boolean hasStream() {
return stream_ != null;
@@ -1129,6 +1183,8 @@ public boolean hasStream() {
*
*
* .google.cloud.bigquery.storage.v1beta1.Stream stream = 1;
+ *
+ * @return The stream.
*/
public com.google.cloud.bigquery.storage.v1beta1.Storage.Stream getStream() {
return stream_ == null
@@ -1158,6 +1214,8 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder getStre
*
*
* int64 offset = 2;
+ *
+ * @return The offset.
*/
public long getOffset() {
return offset_;
@@ -1535,6 +1593,8 @@ public Builder mergeFrom(
*
*
* .google.cloud.bigquery.storage.v1beta1.Stream stream = 1;
+ *
+ * @return Whether the stream field is set.
*/
public boolean hasStream() {
return streamBuilder_ != null || stream_ != null;
@@ -1547,6 +1607,8 @@ public boolean hasStream() {
*
*
* .google.cloud.bigquery.storage.v1beta1.Stream stream = 1;
+ *
+ * @return The stream.
*/
public com.google.cloud.bigquery.storage.v1beta1.Storage.Stream getStream() {
if (streamBuilder_ == null) {
@@ -1713,6 +1775,8 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder getStrea
*
*
* int64 offset = 2;
+ *
+ * @return The offset.
*/
public long getOffset() {
return offset_;
@@ -1725,6 +1789,9 @@ public long getOffset() {
*
*
* int64 offset = 2;
+ *
+ * @param value The offset to set.
+ * @return This builder for chaining.
*/
public Builder setOffset(long value) {
@@ -1740,6 +1807,8 @@ public Builder setOffset(long value) {
*
*
* int64 offset = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearOffset() {
@@ -1817,6 +1886,8 @@ public interface ReadSessionOrBuilder
*
*
* string name = 1;
+ *
+ * @return The name.
*/
java.lang.String getName();
/**
@@ -1828,6 +1899,8 @@ public interface ReadSessionOrBuilder
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
@@ -1840,6 +1913,8 @@ public interface ReadSessionOrBuilder
*
*
* .google.protobuf.Timestamp expire_time = 2;
+ *
+ * @return Whether the expireTime field is set.
*/
boolean hasExpireTime();
/**
@@ -1851,6 +1926,8 @@ public interface ReadSessionOrBuilder
*
*
* .google.protobuf.Timestamp expire_time = 2;
+ *
+ * @return The expireTime.
*/
com.google.protobuf.Timestamp getExpireTime();
/**
@@ -1873,6 +1950,8 @@ public interface ReadSessionOrBuilder
*
*
* .google.cloud.bigquery.storage.v1beta1.AvroSchema avro_schema = 5;
+ *
+ * @return Whether the avroSchema field is set.
*/
boolean hasAvroSchema();
/**
@@ -1883,6 +1962,8 @@ public interface ReadSessionOrBuilder
*
*
* .google.cloud.bigquery.storage.v1beta1.AvroSchema avro_schema = 5;
+ *
+ * @return The avroSchema.
*/
com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema getAvroSchema();
/**
@@ -1905,6 +1986,8 @@ public interface ReadSessionOrBuilder
*
*
* .google.cloud.bigquery.storage.v1beta1.ArrowSchema arrow_schema = 6;
+ *
+ * @return Whether the arrowSchema field is set.
*/
boolean hasArrowSchema();
/**
@@ -1915,6 +1998,8 @@ public interface ReadSessionOrBuilder
*
*
* .google.cloud.bigquery.storage.v1beta1.ArrowSchema arrow_schema = 6;
+ *
+ * @return The arrowSchema.
*/
com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema getArrowSchema();
/**
@@ -1990,6 +2075,8 @@ com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder getStreamsOrBu
*
*
* .google.cloud.bigquery.storage.v1beta1.TableReference table_reference = 7;
+ *
+ * @return Whether the tableReference field is set.
*/
boolean hasTableReference();
/**
@@ -2000,6 +2087,8 @@ com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder getStreamsOrBu
*
*
* .google.cloud.bigquery.storage.v1beta1.TableReference table_reference = 7;
+ *
+ * @return The tableReference.
*/
com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference
getTableReference();
@@ -2023,6 +2112,8 @@ com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder getStreamsOrBu
*
*
* .google.cloud.bigquery.storage.v1beta1.TableModifiers table_modifiers = 8;
+ *
+ * @return Whether the tableModifiers field is set.
*/
boolean hasTableModifiers();
/**
@@ -2033,6 +2124,8 @@ com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder getStreamsOrBu
*
*
* .google.cloud.bigquery.storage.v1beta1.TableModifiers table_modifiers = 8;
+ *
+ * @return The tableModifiers.
*/
com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers
getTableModifiers();
@@ -2056,6 +2149,8 @@ com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder getStreamsOrBu
*
*
* .google.cloud.bigquery.storage.v1beta1.ShardingStrategy sharding_strategy = 9;
+ *
+ * @return The enum numeric value on the wire for shardingStrategy.
*/
int getShardingStrategyValue();
/**
@@ -2066,6 +2161,8 @@ com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder getStreamsOrBu
*
*
* .google.cloud.bigquery.storage.v1beta1.ShardingStrategy sharding_strategy = 9;
+ *
+ * @return The shardingStrategy.
*/
com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy getShardingStrategy();
@@ -2096,6 +2193,12 @@ private ReadSession() {
shardingStrategy_ = 0;
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new ReadSession();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -2144,11 +2247,11 @@ private ReadSession(
}
case 34:
{
- if (!((mutable_bitField0_ & 0x00000010) != 0)) {
+ if (!((mutable_bitField0_ & 0x00000001) != 0)) {
streams_ =
new java.util.ArrayList<
com.google.cloud.bigquery.storage.v1beta1.Storage.Stream>();
- mutable_bitField0_ |= 0x00000010;
+ mutable_bitField0_ |= 0x00000001;
}
streams_.add(
input.readMessage(
@@ -2257,7 +2360,7 @@ private ReadSession(
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
} finally {
- if (((mutable_bitField0_ & 0x00000010) != 0)) {
+ if (((mutable_bitField0_ & 0x00000001) != 0)) {
streams_ = java.util.Collections.unmodifiableList(streams_);
}
this.unknownFields = unknownFields.build();
@@ -2280,11 +2383,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession.Builder.class);
}
- private int bitField0_;
private int schemaCase_ = 0;
private java.lang.Object schema_;
- public enum SchemaCase implements com.google.protobuf.Internal.EnumLite {
+ public enum SchemaCase
+ implements
+ com.google.protobuf.Internal.EnumLite,
+ com.google.protobuf.AbstractMessage.InternalOneOfEnum {
AVRO_SCHEMA(5),
ARROW_SCHEMA(6),
SCHEMA_NOT_SET(0);
@@ -2293,7 +2398,11 @@ public enum SchemaCase implements com.google.protobuf.Internal.EnumLite {
private SchemaCase(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 SchemaCase valueOf(int value) {
return forNumber(value);
@@ -2332,6 +2441,8 @@ public SchemaCase getSchemaCase() {
*
*
* string name = 1;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -2353,6 +2464,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_;
@@ -2377,6 +2490,8 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* .google.protobuf.Timestamp expire_time = 2;
+ *
+ * @return Whether the expireTime field is set.
*/
public boolean hasExpireTime() {
return expireTime_ != null;
@@ -2390,6 +2505,8 @@ public boolean hasExpireTime() {
*
*
* .google.protobuf.Timestamp expire_time = 2;
+ *
+ * @return The expireTime.
*/
public com.google.protobuf.Timestamp getExpireTime() {
return expireTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_;
@@ -2417,6 +2534,8 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() {
*
*
* .google.cloud.bigquery.storage.v1beta1.AvroSchema avro_schema = 5;
+ *
+ * @return Whether the avroSchema field is set.
*/
public boolean hasAvroSchema() {
return schemaCase_ == 5;
@@ -2429,6 +2548,8 @@ public boolean hasAvroSchema() {
*
*
* .google.cloud.bigquery.storage.v1beta1.AvroSchema avro_schema = 5;
+ *
+ * @return The avroSchema.
*/
public com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema getAvroSchema() {
if (schemaCase_ == 5) {
@@ -2462,6 +2583,8 @@ public com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema getAvroSch
*
*
* .google.cloud.bigquery.storage.v1beta1.ArrowSchema arrow_schema = 6;
+ *
+ * @return Whether the arrowSchema field is set.
*/
public boolean hasArrowSchema() {
return schemaCase_ == 6;
@@ -2474,6 +2597,8 @@ public boolean hasArrowSchema() {
*
*
* .google.cloud.bigquery.storage.v1beta1.ArrowSchema arrow_schema = 6;
+ *
+ * @return The arrowSchema.
*/
public com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema getArrowSchema() {
if (schemaCase_ == 6) {
@@ -2576,6 +2701,8 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder getStre
*
*
* .google.cloud.bigquery.storage.v1beta1.TableReference table_reference = 7;
+ *
+ * @return Whether the tableReference field is set.
*/
public boolean hasTableReference() {
return tableReference_ != null;
@@ -2588,6 +2715,8 @@ public boolean hasTableReference() {
*
*
* .google.cloud.bigquery.storage.v1beta1.TableReference table_reference = 7;
+ *
+ * @return The tableReference.
*/
public com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference
getTableReference() {
@@ -2621,6 +2750,8 @@ public boolean hasTableReference() {
*
*
* .google.cloud.bigquery.storage.v1beta1.TableModifiers table_modifiers = 8;
+ *
+ * @return Whether the tableModifiers field is set.
*/
public boolean hasTableModifiers() {
return tableModifiers_ != null;
@@ -2633,6 +2764,8 @@ public boolean hasTableModifiers() {
*
*
* .google.cloud.bigquery.storage.v1beta1.TableModifiers table_modifiers = 8;
+ *
+ * @return The tableModifiers.
*/
public com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers
getTableModifiers() {
@@ -2665,6 +2798,8 @@ public boolean hasTableModifiers() {
*
*
* .google.cloud.bigquery.storage.v1beta1.ShardingStrategy sharding_strategy = 9;
+ *
+ * @return The enum numeric value on the wire for shardingStrategy.
*/
public int getShardingStrategyValue() {
return shardingStrategy_;
@@ -2677,6 +2812,8 @@ public int getShardingStrategyValue() {
*
*
* .google.cloud.bigquery.storage.v1beta1.ShardingStrategy sharding_strategy = 9;
+ *
+ * @return The shardingStrategy.
*/
public com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy
getShardingStrategy() {
@@ -3017,7 +3154,7 @@ public Builder clear() {
}
if (streamsBuilder_ == null) {
streams_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000010);
+ bitField0_ = (bitField0_ & ~0x00000001);
} else {
streamsBuilder_.clear();
}
@@ -3066,7 +3203,6 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession buildPartia
com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession result =
new com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession(this);
int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
result.name_ = name_;
if (expireTimeBuilder_ == null) {
result.expireTime_ = expireTime_;
@@ -3088,9 +3224,9 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession buildPartia
}
}
if (streamsBuilder_ == null) {
- if (((bitField0_ & 0x00000010) != 0)) {
+ if (((bitField0_ & 0x00000001) != 0)) {
streams_ = java.util.Collections.unmodifiableList(streams_);
- bitField0_ = (bitField0_ & ~0x00000010);
+ bitField0_ = (bitField0_ & ~0x00000001);
}
result.streams_ = streams_;
} else {
@@ -3107,7 +3243,6 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession buildPartia
result.tableModifiers_ = tableModifiersBuilder_.build();
}
result.shardingStrategy_ = shardingStrategy_;
- result.bitField0_ = to_bitField0_;
result.schemaCase_ = schemaCase_;
onBuilt();
return result;
@@ -3174,7 +3309,7 @@ public Builder mergeFrom(
if (!other.streams_.isEmpty()) {
if (streams_.isEmpty()) {
streams_ = other.streams_;
- bitField0_ = (bitField0_ & ~0x00000010);
+ bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureStreamsIsMutable();
streams_.addAll(other.streams_);
@@ -3187,7 +3322,7 @@ public Builder mergeFrom(
streamsBuilder_.dispose();
streamsBuilder_ = null;
streams_ = other.streams_;
- bitField0_ = (bitField0_ & ~0x00000010);
+ bitField0_ = (bitField0_ & ~0x00000001);
streamsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
? getStreamsFieldBuilder()
@@ -3279,6 +3414,8 @@ public Builder clearSchema() {
*
*
* string name = 1;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -3300,6 +3437,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_;
@@ -3321,6 +3460,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) {
@@ -3340,6 +3482,8 @@ public Builder setName(java.lang.String value) {
*
*
* string name = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearName() {
@@ -3356,6 +3500,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) {
@@ -3383,6 +3530,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
*
*
* .google.protobuf.Timestamp expire_time = 2;
+ *
+ * @return Whether the expireTime field is set.
*/
public boolean hasExpireTime() {
return expireTimeBuilder_ != null || expireTime_ != null;
@@ -3396,6 +3545,8 @@ public boolean hasExpireTime() {
*
*
* .google.protobuf.Timestamp expire_time = 2;
+ *
+ * @return The expireTime.
*/
public com.google.protobuf.Timestamp getExpireTime() {
if (expireTimeBuilder_ == null) {
@@ -3571,6 +3722,8 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() {
*
*
* .google.cloud.bigquery.storage.v1beta1.AvroSchema avro_schema = 5;
+ *
+ * @return Whether the avroSchema field is set.
*/
public boolean hasAvroSchema() {
return schemaCase_ == 5;
@@ -3583,6 +3736,8 @@ public boolean hasAvroSchema() {
*
*
* .google.cloud.bigquery.storage.v1beta1.AvroSchema avro_schema = 5;
+ *
+ * @return The avroSchema.
*/
public com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema getAvroSchema() {
if (avroSchemaBuilder_ == null) {
@@ -3783,6 +3938,8 @@ public Builder clearAvroSchema() {
*
*
* .google.cloud.bigquery.storage.v1beta1.ArrowSchema arrow_schema = 6;
+ *
+ * @return Whether the arrowSchema field is set.
*/
public boolean hasArrowSchema() {
return schemaCase_ == 6;
@@ -3795,6 +3952,8 @@ public boolean hasArrowSchema() {
*
*
* .google.cloud.bigquery.storage.v1beta1.ArrowSchema arrow_schema = 6;
+ *
+ * @return The arrowSchema.
*/
public com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema getArrowSchema() {
if (arrowSchemaBuilder_ == null) {
@@ -3988,11 +4147,11 @@ public Builder clearArrowSchema() {
java.util.Collections.emptyList();
private void ensureStreamsIsMutable() {
- if (!((bitField0_ & 0x00000010) != 0)) {
+ if (!((bitField0_ & 0x00000001) != 0)) {
streams_ =
new java.util.ArrayList(
streams_);
- bitField0_ |= 0x00000010;
+ bitField0_ |= 0x00000001;
}
}
@@ -4214,7 +4373,7 @@ public Builder addAllStreams(
public Builder clearStreams() {
if (streamsBuilder_ == null) {
streams_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000010);
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
streamsBuilder_.clear();
@@ -4343,7 +4502,7 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder addStrea
com.google.cloud.bigquery.storage.v1beta1.Storage.Stream,
com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder,
com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder>(
- streams_, ((bitField0_ & 0x00000010) != 0), getParentForChildren(), isClean());
+ streams_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
streams_ = null;
}
return streamsBuilder_;
@@ -4364,6 +4523,8 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder addStrea
*
*
* .google.cloud.bigquery.storage.v1beta1.TableReference table_reference = 7;
+ *
+ * @return Whether the tableReference field is set.
*/
public boolean hasTableReference() {
return tableReferenceBuilder_ != null || tableReference_ != null;
@@ -4376,6 +4537,8 @@ public boolean hasTableReference() {
*
*
* .google.cloud.bigquery.storage.v1beta1.TableReference table_reference = 7;
+ *
+ * @return The tableReference.
*/
public com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference
getTableReference() {
@@ -4558,6 +4721,8 @@ public Builder clearTableReference() {
*
*
* .google.cloud.bigquery.storage.v1beta1.TableModifiers table_modifiers = 8;
+ *
+ * @return Whether the tableModifiers field is set.
*/
public boolean hasTableModifiers() {
return tableModifiersBuilder_ != null || tableModifiers_ != null;
@@ -4570,6 +4735,8 @@ public boolean hasTableModifiers() {
*
*
* .google.cloud.bigquery.storage.v1beta1.TableModifiers table_modifiers = 8;
+ *
+ * @return The tableModifiers.
*/
public com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers
getTableModifiers() {
@@ -4746,6 +4913,8 @@ public Builder clearTableModifiers() {
*
*
* .google.cloud.bigquery.storage.v1beta1.ShardingStrategy sharding_strategy = 9;
+ *
+ * @return The enum numeric value on the wire for shardingStrategy.
*/
public int getShardingStrategyValue() {
return shardingStrategy_;
@@ -4758,6 +4927,9 @@ public int getShardingStrategyValue() {
*
*
* .google.cloud.bigquery.storage.v1beta1.ShardingStrategy sharding_strategy = 9;
+ *
+ * @param value The enum numeric value on the wire for shardingStrategy to set.
+ * @return This builder for chaining.
*/
public Builder setShardingStrategyValue(int value) {
shardingStrategy_ = value;
@@ -4772,6 +4944,8 @@ public Builder setShardingStrategyValue(int value) {
*
*
* .google.cloud.bigquery.storage.v1beta1.ShardingStrategy sharding_strategy = 9;
+ *
+ * @return The shardingStrategy.
*/
public com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy
getShardingStrategy() {
@@ -4791,6 +4965,9 @@ public Builder setShardingStrategyValue(int value) {
*
*
* .google.cloud.bigquery.storage.v1beta1.ShardingStrategy sharding_strategy = 9;
+ *
+ * @param value The shardingStrategy to set.
+ * @return This builder for chaining.
*/
public Builder setShardingStrategy(
com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy value) {
@@ -4810,6 +4987,8 @@ public Builder setShardingStrategy(
*
*
* .google.cloud.bigquery.storage.v1beta1.ShardingStrategy sharding_strategy = 9;
+ *
+ * @return This builder for chaining.
*/
public Builder clearShardingStrategy() {
@@ -4888,6 +5067,8 @@ public interface CreateReadSessionRequestOrBuilder
*
* .google.cloud.bigquery.storage.v1beta1.TableReference table_reference = 1 [(.google.api.field_behavior) = REQUIRED];
*
+ *
+ * @return Whether the tableReference field is set.
*/
boolean hasTableReference();
/**
@@ -4900,6 +5081,8 @@ public interface CreateReadSessionRequestOrBuilder
*
* .google.cloud.bigquery.storage.v1beta1.TableReference table_reference = 1 [(.google.api.field_behavior) = REQUIRED];
*
+ *
+ * @return The tableReference.
*/
com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference
getTableReference();
@@ -4927,6 +5110,8 @@ public interface CreateReadSessionRequestOrBuilder
*
*
* string parent = 6 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The parent.
*/
java.lang.String getParent();
/**
@@ -4939,6 +5124,8 @@ public interface CreateReadSessionRequestOrBuilder
*
*
* string parent = 6 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The bytes for parent.
*/
com.google.protobuf.ByteString getParentBytes();
@@ -4950,6 +5137,8 @@ public interface CreateReadSessionRequestOrBuilder
*
*
* .google.cloud.bigquery.storage.v1beta1.TableModifiers table_modifiers = 2;
+ *
+ * @return Whether the tableModifiers field is set.
*/
boolean hasTableModifiers();
/**
@@ -4960,6 +5149,8 @@ public interface CreateReadSessionRequestOrBuilder
*
*
* .google.cloud.bigquery.storage.v1beta1.TableModifiers table_modifiers = 2;
+ *
+ * @return The tableModifiers.
*/
com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers
getTableModifiers();
@@ -4988,6 +5179,8 @@ public interface CreateReadSessionRequestOrBuilder
*
*
* int32 requested_streams = 3;
+ *
+ * @return The requestedStreams.
*/
int getRequestedStreams();
@@ -4999,6 +5192,8 @@ public interface CreateReadSessionRequestOrBuilder
*
*
* .google.cloud.bigquery.storage.v1beta1.TableReadOptions read_options = 4;
+ *
+ * @return Whether the readOptions field is set.
*/
boolean hasReadOptions();
/**
@@ -5009,6 +5204,8 @@ public interface CreateReadSessionRequestOrBuilder
*
*
* .google.cloud.bigquery.storage.v1beta1.TableReadOptions read_options = 4;
+ *
+ * @return The readOptions.
*/
com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions getReadOptions();
/**
@@ -5031,6 +5228,8 @@ public interface CreateReadSessionRequestOrBuilder
*
*
* .google.cloud.bigquery.storage.v1beta1.DataFormat format = 5;
+ *
+ * @return The enum numeric value on the wire for format.
*/
int getFormatValue();
/**
@@ -5041,6 +5240,8 @@ public interface CreateReadSessionRequestOrBuilder
*
*
* .google.cloud.bigquery.storage.v1beta1.DataFormat format = 5;
+ *
+ * @return The format.
*/
com.google.cloud.bigquery.storage.v1beta1.Storage.DataFormat getFormat();
@@ -5053,6 +5254,8 @@ public interface CreateReadSessionRequestOrBuilder
*
*
* .google.cloud.bigquery.storage.v1beta1.ShardingStrategy sharding_strategy = 7;
+ *
+ * @return The enum numeric value on the wire for shardingStrategy.
*/
int getShardingStrategyValue();
/**
@@ -5064,6 +5267,8 @@ public interface CreateReadSessionRequestOrBuilder
*
*
* .google.cloud.bigquery.storage.v1beta1.ShardingStrategy sharding_strategy = 7;
+ *
+ * @return The shardingStrategy.
*/
com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy getShardingStrategy();
}
@@ -5093,6 +5298,12 @@ private CreateReadSessionRequest() {
shardingStrategy_ = 0;
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new CreateReadSessionRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -5106,7 +5317,6 @@ private CreateReadSessionRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -5248,6 +5458,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* .google.cloud.bigquery.storage.v1beta1.TableReference table_reference = 1 [(.google.api.field_behavior) = REQUIRED];
*
+ *
+ * @return Whether the tableReference field is set.
*/
public boolean hasTableReference() {
return tableReference_ != null;
@@ -5262,6 +5474,8 @@ public boolean hasTableReference() {
*
* .google.cloud.bigquery.storage.v1beta1.TableReference table_reference = 1 [(.google.api.field_behavior) = REQUIRED];
*
+ *
+ * @return The tableReference.
*/
public com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference
getTableReference() {
@@ -5298,6 +5512,8 @@ public boolean hasTableReference() {
*
*
* string parent = 6 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The parent.
*/
public java.lang.String getParent() {
java.lang.Object ref = parent_;
@@ -5320,6 +5536,8 @@ public java.lang.String getParent() {
*
*
* string parent = 6 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The bytes for parent.
*/
public com.google.protobuf.ByteString getParentBytes() {
java.lang.Object ref = parent_;
@@ -5344,6 +5562,8 @@ public com.google.protobuf.ByteString getParentBytes() {
*
*
* .google.cloud.bigquery.storage.v1beta1.TableModifiers table_modifiers = 2;
+ *
+ * @return Whether the tableModifiers field is set.
*/
public boolean hasTableModifiers() {
return tableModifiers_ != null;
@@ -5356,6 +5576,8 @@ public boolean hasTableModifiers() {
*
*
* .google.cloud.bigquery.storage.v1beta1.TableModifiers table_modifiers = 2;
+ *
+ * @return The tableModifiers.
*/
public com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers
getTableModifiers() {
@@ -5393,6 +5615,8 @@ public boolean hasTableModifiers() {
*
*
* int32 requested_streams = 3;
+ *
+ * @return The requestedStreams.
*/
public int getRequestedStreams() {
return requestedStreams_;
@@ -5408,6 +5632,8 @@ public int getRequestedStreams() {
*
*
* .google.cloud.bigquery.storage.v1beta1.TableReadOptions read_options = 4;
+ *
+ * @return Whether the readOptions field is set.
*/
public boolean hasReadOptions() {
return readOptions_ != null;
@@ -5420,6 +5646,8 @@ public boolean hasReadOptions() {
*
*
* .google.cloud.bigquery.storage.v1beta1.TableReadOptions read_options = 4;
+ *
+ * @return The readOptions.
*/
public com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions getReadOptions() {
return readOptions_ == null
@@ -5451,6 +5679,8 @@ public com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions ge
*
*
* .google.cloud.bigquery.storage.v1beta1.DataFormat format = 5;
+ *
+ * @return The enum numeric value on the wire for format.
*/
public int getFormatValue() {
return format_;
@@ -5463,6 +5693,8 @@ public int getFormatValue() {
*
*
* .google.cloud.bigquery.storage.v1beta1.DataFormat format = 5;
+ *
+ * @return The format.
*/
public com.google.cloud.bigquery.storage.v1beta1.Storage.DataFormat getFormat() {
@SuppressWarnings("deprecation")
@@ -5484,6 +5716,8 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.DataFormat getFormat()
*
*
* .google.cloud.bigquery.storage.v1beta1.ShardingStrategy sharding_strategy = 7;
+ *
+ * @return The enum numeric value on the wire for shardingStrategy.
*/
public int getShardingStrategyValue() {
return shardingStrategy_;
@@ -5497,6 +5731,8 @@ public int getShardingStrategyValue() {
*
*
* .google.cloud.bigquery.storage.v1beta1.ShardingStrategy sharding_strategy = 7;
+ *
+ * @return The shardingStrategy.
*/
public com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy
getShardingStrategy() {
@@ -6008,6 +6244,8 @@ public Builder mergeFrom(
*
* .google.cloud.bigquery.storage.v1beta1.TableReference table_reference = 1 [(.google.api.field_behavior) = REQUIRED];
*
+ *
+ * @return Whether the tableReference field is set.
*/
public boolean hasTableReference() {
return tableReferenceBuilder_ != null || tableReference_ != null;
@@ -6022,6 +6260,8 @@ public boolean hasTableReference() {
*
* .google.cloud.bigquery.storage.v1beta1.TableReference table_reference = 1 [(.google.api.field_behavior) = REQUIRED];
*
+ *
+ * @return The tableReference.
*/
public com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference
getTableReference() {
@@ -6214,6 +6454,8 @@ public Builder clearTableReference() {
*
*
* string parent = 6 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The parent.
*/
public java.lang.String getParent() {
java.lang.Object ref = parent_;
@@ -6236,6 +6478,8 @@ public java.lang.String getParent() {
*
*
* string parent = 6 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The bytes for parent.
*/
public com.google.protobuf.ByteString getParentBytes() {
java.lang.Object ref = parent_;
@@ -6258,6 +6502,9 @@ public com.google.protobuf.ByteString getParentBytes() {
*
*
* string parent = 6 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @param value The parent to set.
+ * @return This builder for chaining.
*/
public Builder setParent(java.lang.String value) {
if (value == null) {
@@ -6278,6 +6525,8 @@ public Builder setParent(java.lang.String value) {
*
*
* string parent = 6 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return This builder for chaining.
*/
public Builder clearParent() {
@@ -6295,6 +6544,9 @@ public Builder clearParent() {
*
*
* string parent = 6 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @param value The bytes for parent to set.
+ * @return This builder for chaining.
*/
public Builder setParentBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -6322,6 +6574,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
*
*
* .google.cloud.bigquery.storage.v1beta1.TableModifiers table_modifiers = 2;
+ *
+ * @return Whether the tableModifiers field is set.
*/
public boolean hasTableModifiers() {
return tableModifiersBuilder_ != null || tableModifiers_ != null;
@@ -6334,6 +6588,8 @@ public boolean hasTableModifiers() {
*
*
* .google.cloud.bigquery.storage.v1beta1.TableModifiers table_modifiers = 2;
+ *
+ * @return The tableModifiers.
*/
public com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers
getTableModifiers() {
@@ -6515,6 +6771,8 @@ public Builder clearTableModifiers() {
*
*
* int32 requested_streams = 3;
+ *
+ * @return The requestedStreams.
*/
public int getRequestedStreams() {
return requestedStreams_;
@@ -6532,6 +6790,9 @@ public int getRequestedStreams() {
*
*
* int32 requested_streams = 3;
+ *
+ * @param value The requestedStreams to set.
+ * @return This builder for chaining.
*/
public Builder setRequestedStreams(int value) {
@@ -6552,6 +6813,8 @@ public Builder setRequestedStreams(int value) {
*
*
* int32 requested_streams = 3;
+ *
+ * @return This builder for chaining.
*/
public Builder clearRequestedStreams() {
@@ -6574,6 +6837,8 @@ public Builder clearRequestedStreams() {
*
*
* .google.cloud.bigquery.storage.v1beta1.TableReadOptions read_options = 4;
+ *
+ * @return Whether the readOptions field is set.
*/
public boolean hasReadOptions() {
return readOptionsBuilder_ != null || readOptions_ != null;
@@ -6586,6 +6851,8 @@ public boolean hasReadOptions() {
*
*
* .google.cloud.bigquery.storage.v1beta1.TableReadOptions read_options = 4;
+ *
+ * @return The readOptions.
*/
public com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions
getReadOptions() {
@@ -6760,6 +7027,8 @@ public Builder clearReadOptions() {
*
*
* .google.cloud.bigquery.storage.v1beta1.DataFormat format = 5;
+ *
+ * @return The enum numeric value on the wire for format.
*/
public int getFormatValue() {
return format_;
@@ -6772,6 +7041,9 @@ public int getFormatValue() {
*
*
* .google.cloud.bigquery.storage.v1beta1.DataFormat format = 5;
+ *
+ * @param value The enum numeric value on the wire for format to set.
+ * @return This builder for chaining.
*/
public Builder setFormatValue(int value) {
format_ = value;
@@ -6786,6 +7058,8 @@ public Builder setFormatValue(int value) {
*
*
* .google.cloud.bigquery.storage.v1beta1.DataFormat format = 5;
+ *
+ * @return The format.
*/
public com.google.cloud.bigquery.storage.v1beta1.Storage.DataFormat getFormat() {
@SuppressWarnings("deprecation")
@@ -6803,6 +7077,9 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.DataFormat getFormat()
*
*
* .google.cloud.bigquery.storage.v1beta1.DataFormat format = 5;
+ *
+ * @param value The format to set.
+ * @return This builder for chaining.
*/
public Builder setFormat(com.google.cloud.bigquery.storage.v1beta1.Storage.DataFormat value) {
if (value == null) {
@@ -6821,6 +7098,8 @@ public Builder setFormat(com.google.cloud.bigquery.storage.v1beta1.Storage.DataF
*
*
* .google.cloud.bigquery.storage.v1beta1.DataFormat format = 5;
+ *
+ * @return This builder for chaining.
*/
public Builder clearFormat() {
@@ -6839,6 +7118,8 @@ public Builder clearFormat() {
*
*
* .google.cloud.bigquery.storage.v1beta1.ShardingStrategy sharding_strategy = 7;
+ *
+ * @return The enum numeric value on the wire for shardingStrategy.
*/
public int getShardingStrategyValue() {
return shardingStrategy_;
@@ -6852,6 +7133,9 @@ public int getShardingStrategyValue() {
*
*
* .google.cloud.bigquery.storage.v1beta1.ShardingStrategy sharding_strategy = 7;
+ *
+ * @param value The enum numeric value on the wire for shardingStrategy to set.
+ * @return This builder for chaining.
*/
public Builder setShardingStrategyValue(int value) {
shardingStrategy_ = value;
@@ -6867,6 +7151,8 @@ public Builder setShardingStrategyValue(int value) {
*
*
* .google.cloud.bigquery.storage.v1beta1.ShardingStrategy sharding_strategy = 7;
+ *
+ * @return The shardingStrategy.
*/
public com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy
getShardingStrategy() {
@@ -6887,6 +7173,9 @@ public Builder setShardingStrategyValue(int value) {
*
*
* .google.cloud.bigquery.storage.v1beta1.ShardingStrategy sharding_strategy = 7;
+ *
+ * @param value The shardingStrategy to set.
+ * @return This builder for chaining.
*/
public Builder setShardingStrategy(
com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy value) {
@@ -6907,6 +7196,8 @@ public Builder setShardingStrategy(
*
*
* .google.cloud.bigquery.storage.v1beta1.ShardingStrategy sharding_strategy = 7;
+ *
+ * @return This builder for chaining.
*/
public Builder clearShardingStrategy() {
@@ -6988,6 +7279,8 @@ public interface ReadRowsRequestOrBuilder
*
* .google.cloud.bigquery.storage.v1beta1.StreamPosition read_position = 1 [(.google.api.field_behavior) = REQUIRED];
*
+ *
+ * @return Whether the readPosition field is set.
*/
boolean hasReadPosition();
/**
@@ -7002,6 +7295,8 @@ public interface ReadRowsRequestOrBuilder
*
* .google.cloud.bigquery.storage.v1beta1.StreamPosition read_position = 1 [(.google.api.field_behavior) = REQUIRED];
*
+ *
+ * @return The readPosition.
*/
com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition getReadPosition();
/**
@@ -7041,6 +7336,12 @@ private ReadRowsRequest(com.google.protobuf.GeneratedMessageV3.Builder> builde
private ReadRowsRequest() {}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new ReadRowsRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -7054,7 +7355,6 @@ private ReadRowsRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -7131,6 +7431,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* .google.cloud.bigquery.storage.v1beta1.StreamPosition read_position = 1 [(.google.api.field_behavior) = REQUIRED];
*
+ *
+ * @return Whether the readPosition field is set.
*/
public boolean hasReadPosition() {
return readPosition_ != null;
@@ -7147,6 +7449,8 @@ public boolean hasReadPosition() {
*
* .google.cloud.bigquery.storage.v1beta1.StreamPosition read_position = 1 [(.google.api.field_behavior) = REQUIRED];
*
+ *
+ * @return The readPosition.
*/
public com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition getReadPosition() {
return readPosition_ == null
@@ -7532,6 +7836,8 @@ public Builder mergeFrom(
*
* .google.cloud.bigquery.storage.v1beta1.StreamPosition read_position = 1 [(.google.api.field_behavior) = REQUIRED];
*
+ *
+ * @return Whether the readPosition field is set.
*/
public boolean hasReadPosition() {
return readPositionBuilder_ != null || readPosition_ != null;
@@ -7548,6 +7854,8 @@ public boolean hasReadPosition() {
*
* .google.cloud.bigquery.storage.v1beta1.StreamPosition read_position = 1 [(.google.api.field_behavior) = REQUIRED];
*
+ *
+ * @return The readPosition.
*/
public com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition getReadPosition() {
if (readPositionBuilder_ == null) {
@@ -7810,6 +8118,8 @@ public interface StreamStatusOrBuilder
*
*
* int64 estimated_row_count = 1;
+ *
+ * @return The estimatedRowCount.
*/
long getEstimatedRowCount();
@@ -7826,6 +8136,8 @@ public interface StreamStatusOrBuilder
*
*
* float fraction_consumed = 2;
+ *
+ * @return The fractionConsumed.
*/
float getFractionConsumed();
@@ -7839,6 +8151,8 @@ public interface StreamStatusOrBuilder
*
*
* .google.cloud.bigquery.storage.v1beta1.Progress progress = 4;
+ *
+ * @return Whether the progress field is set.
*/
boolean hasProgress();
/**
@@ -7851,6 +8165,8 @@ public interface StreamStatusOrBuilder
*
*
* .google.cloud.bigquery.storage.v1beta1.Progress progress = 4;
+ *
+ * @return The progress.
*/
com.google.cloud.bigquery.storage.v1beta1.Storage.Progress getProgress();
/**
@@ -7878,6 +8194,8 @@ public interface StreamStatusOrBuilder
*
*
* bool is_splittable = 3;
+ *
+ * @return The isSplittable.
*/
boolean getIsSplittable();
}
@@ -7902,6 +8220,12 @@ private StreamStatus(com.google.protobuf.GeneratedMessageV3.Builder> builder)
private StreamStatus() {}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new StreamStatus();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -7915,7 +8239,6 @@ private StreamStatus(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -8005,6 +8328,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* int64 estimated_row_count = 1;
+ *
+ * @return The estimatedRowCount.
*/
public long getEstimatedRowCount() {
return estimatedRowCount_;
@@ -8025,6 +8350,8 @@ public long getEstimatedRowCount() {
*
*
* float fraction_consumed = 2;
+ *
+ * @return The fractionConsumed.
*/
public float getFractionConsumed() {
return fractionConsumed_;
@@ -8042,6 +8369,8 @@ public float getFractionConsumed() {
*
*
* .google.cloud.bigquery.storage.v1beta1.Progress progress = 4;
+ *
+ * @return Whether the progress field is set.
*/
public boolean hasProgress() {
return progress_ != null;
@@ -8056,6 +8385,8 @@ public boolean hasProgress() {
*
*
* .google.cloud.bigquery.storage.v1beta1.Progress progress = 4;
+ *
+ * @return The progress.
*/
public com.google.cloud.bigquery.storage.v1beta1.Storage.Progress getProgress() {
return progress_ == null
@@ -8092,6 +8423,8 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.Progress getProgress()
*
*
* bool is_splittable = 3;
+ *
+ * @return The isSplittable.
*/
public boolean getIsSplittable() {
return isSplittable_;
@@ -8493,6 +8826,8 @@ public Builder mergeFrom(
*
*
* int64 estimated_row_count = 1;
+ *
+ * @return The estimatedRowCount.
*/
public long getEstimatedRowCount() {
return estimatedRowCount_;
@@ -8507,6 +8842,9 @@ public long getEstimatedRowCount() {
*
*
* int64 estimated_row_count = 1;
+ *
+ * @param value The estimatedRowCount to set.
+ * @return This builder for chaining.
*/
public Builder setEstimatedRowCount(long value) {
@@ -8524,6 +8862,8 @@ public Builder setEstimatedRowCount(long value) {
*
*
* int64 estimated_row_count = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearEstimatedRowCount() {
@@ -8546,6 +8886,8 @@ public Builder clearEstimatedRowCount() {
*
*
* float fraction_consumed = 2;
+ *
+ * @return The fractionConsumed.
*/
public float getFractionConsumed() {
return fractionConsumed_;
@@ -8563,6 +8905,9 @@ public float getFractionConsumed() {
*
*
* float fraction_consumed = 2;
+ *
+ * @param value The fractionConsumed to set.
+ * @return This builder for chaining.
*/
public Builder setFractionConsumed(float value) {
@@ -8583,6 +8928,8 @@ public Builder setFractionConsumed(float value) {
*
*
* float fraction_consumed = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearFractionConsumed() {
@@ -8607,6 +8954,8 @@ public Builder clearFractionConsumed() {
*
*
* .google.cloud.bigquery.storage.v1beta1.Progress progress = 4;
+ *
+ * @return Whether the progress field is set.
*/
public boolean hasProgress() {
return progressBuilder_ != null || progress_ != null;
@@ -8621,6 +8970,8 @@ public boolean hasProgress() {
*
*
* .google.cloud.bigquery.storage.v1beta1.Progress progress = 4;
+ *
+ * @return The progress.
*/
public com.google.cloud.bigquery.storage.v1beta1.Storage.Progress getProgress() {
if (progressBuilder_ == null) {
@@ -8807,6 +9158,8 @@ public Builder clearProgress() {
*
*
* bool is_splittable = 3;
+ *
+ * @return The isSplittable.
*/
public boolean getIsSplittable() {
return isSplittable_;
@@ -8823,6 +9176,9 @@ public boolean getIsSplittable() {
*
*
* bool is_splittable = 3;
+ *
+ * @param value The isSplittable to set.
+ * @return This builder for chaining.
*/
public Builder setIsSplittable(boolean value) {
@@ -8842,6 +9198,8 @@ public Builder setIsSplittable(boolean value) {
*
*
* bool is_splittable = 3;
+ *
+ * @return This builder for chaining.
*/
public Builder clearIsSplittable() {
@@ -8926,6 +9284,8 @@ public interface ProgressOrBuilder
*
*
* float at_response_start = 1;
+ *
+ * @return The atResponseStart.
*/
float getAtResponseStart();
@@ -8938,6 +9298,8 @@ public interface ProgressOrBuilder
*
*
* float at_response_end = 2;
+ *
+ * @return The atResponseEnd.
*/
float getAtResponseEnd();
}
@@ -8954,6 +9316,12 @@ private Progress(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
private Progress() {}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new Progress();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -8967,7 +9335,6 @@ private Progress(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -9040,6 +9407,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* float at_response_start = 1;
+ *
+ * @return The atResponseStart.
*/
public float getAtResponseStart() {
return atResponseStart_;
@@ -9056,6 +9425,8 @@ public float getAtResponseStart() {
*
*
* float at_response_end = 2;
+ *
+ * @return The atResponseEnd.
*/
public float getAtResponseEnd() {
return atResponseEnd_;
@@ -9411,6 +9782,8 @@ public Builder mergeFrom(
*
*
* float at_response_start = 1;
+ *
+ * @return The atResponseStart.
*/
public float getAtResponseStart() {
return atResponseStart_;
@@ -9431,6 +9804,9 @@ public float getAtResponseStart() {
*
*
* float at_response_start = 1;
+ *
+ * @param value The atResponseStart to set.
+ * @return This builder for chaining.
*/
public Builder setAtResponseStart(float value) {
@@ -9454,6 +9830,8 @@ public Builder setAtResponseStart(float value) {
*
*
* float at_response_start = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearAtResponseStart() {
@@ -9472,6 +9850,8 @@ public Builder clearAtResponseStart() {
*
*
* float at_response_end = 2;
+ *
+ * @return The atResponseEnd.
*/
public float getAtResponseEnd() {
return atResponseEnd_;
@@ -9485,6 +9865,9 @@ public float getAtResponseEnd() {
*
*
* float at_response_end = 2;
+ *
+ * @param value The atResponseEnd to set.
+ * @return This builder for chaining.
*/
public Builder setAtResponseEnd(float value) {
@@ -9501,6 +9884,8 @@ public Builder setAtResponseEnd(float value) {
*
*
* float at_response_end = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearAtResponseEnd() {
@@ -9576,6 +9961,8 @@ public interface ThrottleStatusOrBuilder
*
*
* int32 throttle_percent = 1;
+ *
+ * @return The throttlePercent.
*/
int getThrottlePercent();
}
@@ -9600,6 +9987,12 @@ private ThrottleStatus(com.google.protobuf.GeneratedMessageV3.Builder> builder
private ThrottleStatus() {}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new ThrottleStatus();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -9613,7 +10006,6 @@ private ThrottleStatus(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -9674,6 +10066,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* int32 throttle_percent = 1;
+ *
+ * @return The throttlePercent.
*/
public int getThrottlePercent() {
return throttlePercent_;
@@ -10019,6 +10413,8 @@ public Builder mergeFrom(
*
*
* int32 throttle_percent = 1;
+ *
+ * @return The throttlePercent.
*/
public int getThrottlePercent() {
return throttlePercent_;
@@ -10032,6 +10428,9 @@ public int getThrottlePercent() {
*
*
* int32 throttle_percent = 1;
+ *
+ * @param value The throttlePercent to set.
+ * @return This builder for chaining.
*/
public Builder setThrottlePercent(int value) {
@@ -10048,6 +10447,8 @@ public Builder setThrottlePercent(int value) {
*
*
* int32 throttle_percent = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearThrottlePercent() {
@@ -10124,6 +10525,8 @@ public interface ReadRowsResponseOrBuilder
*
*
* .google.cloud.bigquery.storage.v1beta1.AvroRows avro_rows = 3;
+ *
+ * @return Whether the avroRows field is set.
*/
boolean hasAvroRows();
/**
@@ -10134,6 +10537,8 @@ public interface ReadRowsResponseOrBuilder
*
*
* .google.cloud.bigquery.storage.v1beta1.AvroRows avro_rows = 3;
+ *
+ * @return The avroRows.
*/
com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows getAvroRows();
/**
@@ -10155,6 +10560,8 @@ public interface ReadRowsResponseOrBuilder
*
*
* .google.cloud.bigquery.storage.v1beta1.ArrowRecordBatch arrow_record_batch = 4;
+ *
+ * @return Whether the arrowRecordBatch field is set.
*/
boolean hasArrowRecordBatch();
/**
@@ -10165,6 +10572,8 @@ public interface ReadRowsResponseOrBuilder
*
*
* .google.cloud.bigquery.storage.v1beta1.ArrowRecordBatch arrow_record_batch = 4;
+ *
+ * @return The arrowRecordBatch.
*/
com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch getArrowRecordBatch();
/**
@@ -10190,6 +10599,8 @@ public interface ReadRowsResponseOrBuilder
*
*
* int64 row_count = 6;
+ *
+ * @return The rowCount.
*/
long getRowCount();
@@ -10201,6 +10612,8 @@ public interface ReadRowsResponseOrBuilder
*
*
* .google.cloud.bigquery.storage.v1beta1.StreamStatus status = 2;
+ *
+ * @return Whether the status field is set.
*/
boolean hasStatus();
/**
@@ -10211,6 +10624,8 @@ public interface ReadRowsResponseOrBuilder
*
*
* .google.cloud.bigquery.storage.v1beta1.StreamStatus status = 2;
+ *
+ * @return The status.
*/
com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus getStatus();
/**
@@ -10233,6 +10648,8 @@ public interface ReadRowsResponseOrBuilder
*
*
* .google.cloud.bigquery.storage.v1beta1.ThrottleStatus throttle_status = 5;
+ *
+ * @return Whether the throttleStatus field is set.
*/
boolean hasThrottleStatus();
/**
@@ -10244,6 +10661,8 @@ public interface ReadRowsResponseOrBuilder
*
*
* .google.cloud.bigquery.storage.v1beta1.ThrottleStatus throttle_status = 5;
+ *
+ * @return The throttleStatus.
*/
com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus getThrottleStatus();
/**
@@ -10284,6 +10703,12 @@ private ReadRowsResponse(com.google.protobuf.GeneratedMessageV3.Builder> build
private ReadRowsResponse() {}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new ReadRowsResponse();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -10297,7 +10722,6 @@ private ReadRowsResponse(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -10431,7 +10855,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
private int rowsCase_ = 0;
private java.lang.Object rows_;
- public enum RowsCase implements com.google.protobuf.Internal.EnumLite {
+ public enum RowsCase
+ implements
+ com.google.protobuf.Internal.EnumLite,
+ com.google.protobuf.AbstractMessage.InternalOneOfEnum {
AVRO_ROWS(3),
ARROW_RECORD_BATCH(4),
ROWS_NOT_SET(0);
@@ -10440,7 +10867,11 @@ public enum RowsCase implements com.google.protobuf.Internal.EnumLite {
private RowsCase(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 RowsCase valueOf(int value) {
return forNumber(value);
@@ -10477,6 +10908,8 @@ public RowsCase getRowsCase() {
*
*
* .google.cloud.bigquery.storage.v1beta1.AvroRows avro_rows = 3;
+ *
+ * @return Whether the avroRows field is set.
*/
public boolean hasAvroRows() {
return rowsCase_ == 3;
@@ -10489,6 +10922,8 @@ public boolean hasAvroRows() {
*
*
* .google.cloud.bigquery.storage.v1beta1.AvroRows avro_rows = 3;
+ *
+ * @return The avroRows.
*/
public com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows getAvroRows() {
if (rowsCase_ == 3) {
@@ -10522,6 +10957,8 @@ public com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows getAvroRows(
*
*
* .google.cloud.bigquery.storage.v1beta1.ArrowRecordBatch arrow_record_batch = 4;
+ *
+ * @return Whether the arrowRecordBatch field is set.
*/
public boolean hasArrowRecordBatch() {
return rowsCase_ == 4;
@@ -10534,6 +10971,8 @@ public boolean hasArrowRecordBatch() {
*
*
* .google.cloud.bigquery.storage.v1beta1.ArrowRecordBatch arrow_record_batch = 4;
+ *
+ * @return The arrowRecordBatch.
*/
public com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch
getArrowRecordBatch() {
@@ -10574,6 +11013,8 @@ public boolean hasArrowRecordBatch() {
*
*
* int64 row_count = 6;
+ *
+ * @return The rowCount.
*/
public long getRowCount() {
return rowCount_;
@@ -10589,6 +11030,8 @@ public long getRowCount() {
*
*
* .google.cloud.bigquery.storage.v1beta1.StreamStatus status = 2;
+ *
+ * @return Whether the status field is set.
*/
public boolean hasStatus() {
return status_ != null;
@@ -10601,6 +11044,8 @@ public boolean hasStatus() {
*
*
* .google.cloud.bigquery.storage.v1beta1.StreamStatus status = 2;
+ *
+ * @return The status.
*/
public com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus getStatus() {
return status_ == null
@@ -10632,6 +11077,8 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus getStatus(
*
*
* .google.cloud.bigquery.storage.v1beta1.ThrottleStatus throttle_status = 5;
+ *
+ * @return Whether the throttleStatus field is set.
*/
public boolean hasThrottleStatus() {
return throttleStatus_ != null;
@@ -10645,6 +11092,8 @@ public boolean hasThrottleStatus() {
*
*
* .google.cloud.bigquery.storage.v1beta1.ThrottleStatus throttle_status = 5;
+ *
+ * @return The throttleStatus.
*/
public com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus getThrottleStatus() {
return throttleStatus_ == null
@@ -11154,6 +11603,8 @@ public Builder clearRows() {
*
*
* .google.cloud.bigquery.storage.v1beta1.AvroRows avro_rows = 3;
+ *
+ * @return Whether the avroRows field is set.
*/
public boolean hasAvroRows() {
return rowsCase_ == 3;
@@ -11166,6 +11617,8 @@ public boolean hasAvroRows() {
*
*
* .google.cloud.bigquery.storage.v1beta1.AvroRows avro_rows = 3;
+ *
+ * @return The avroRows.
*/
public com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows getAvroRows() {
if (avroRowsBuilder_ == null) {
@@ -11364,6 +11817,8 @@ public Builder clearAvroRows() {
*
* .google.cloud.bigquery.storage.v1beta1.ArrowRecordBatch arrow_record_batch = 4;
*
+ *
+ * @return Whether the arrowRecordBatch field is set.
*/
public boolean hasArrowRecordBatch() {
return rowsCase_ == 4;
@@ -11377,6 +11832,8 @@ public boolean hasArrowRecordBatch() {
*
* .google.cloud.bigquery.storage.v1beta1.ArrowRecordBatch arrow_record_batch = 4;
*
+ *
+ * @return The arrowRecordBatch.
*/
public com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch
getArrowRecordBatch() {
@@ -11587,6 +12044,8 @@ public Builder clearArrowRecordBatch() {
*
*
* int64 row_count = 6;
+ *
+ * @return The rowCount.
*/
public long getRowCount() {
return rowCount_;
@@ -11602,6 +12061,9 @@ public long getRowCount() {
*
*
* int64 row_count = 6;
+ *
+ * @param value The rowCount to set.
+ * @return This builder for chaining.
*/
public Builder setRowCount(long value) {
@@ -11620,6 +12082,8 @@ public Builder setRowCount(long value) {
*
*
* int64 row_count = 6;
+ *
+ * @return This builder for chaining.
*/
public Builder clearRowCount() {
@@ -11642,6 +12106,8 @@ public Builder clearRowCount() {
*
*
* .google.cloud.bigquery.storage.v1beta1.StreamStatus status = 2;
+ *
+ * @return Whether the status field is set.
*/
public boolean hasStatus() {
return statusBuilder_ != null || status_ != null;
@@ -11654,6 +12120,8 @@ public boolean hasStatus() {
*
*
* .google.cloud.bigquery.storage.v1beta1.StreamStatus status = 2;
+ *
+ * @return The status.
*/
public com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus getStatus() {
if (statusBuilder_ == null) {
@@ -11829,6 +12297,8 @@ public Builder clearStatus() {
*
*
* .google.cloud.bigquery.storage.v1beta1.ThrottleStatus throttle_status = 5;
+ *
+ * @return Whether the throttleStatus field is set.
*/
public boolean hasThrottleStatus() {
return throttleStatusBuilder_ != null || throttleStatus_ != null;
@@ -11842,6 +12312,8 @@ public boolean hasThrottleStatus() {
*
*
* .google.cloud.bigquery.storage.v1beta1.ThrottleStatus throttle_status = 5;
+ *
+ * @return The throttleStatus.
*/
public com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus getThrottleStatus() {
if (throttleStatusBuilder_ == null) {
@@ -12084,6 +12556,8 @@ public interface BatchCreateReadSessionStreamsRequestOrBuilder
*
* .google.cloud.bigquery.storage.v1beta1.ReadSession session = 1 [(.google.api.field_behavior) = REQUIRED];
*
+ *
+ * @return Whether the session field is set.
*/
boolean hasSession();
/**
@@ -12097,6 +12571,8 @@ public interface BatchCreateReadSessionStreamsRequestOrBuilder
*
* .google.cloud.bigquery.storage.v1beta1.ReadSession session = 1 [(.google.api.field_behavior) = REQUIRED];
*
+ *
+ * @return The session.
*/
com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession getSession();
/**
@@ -12123,6 +12599,8 @@ public interface BatchCreateReadSessionStreamsRequestOrBuilder
*
*
* int32 requested_streams = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The requestedStreams.
*/
int getRequestedStreams();
}
@@ -12151,6 +12629,12 @@ private BatchCreateReadSessionStreamsRequest(
private BatchCreateReadSessionStreamsRequest() {}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new BatchCreateReadSessionStreamsRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -12164,7 +12648,6 @@ private BatchCreateReadSessionStreamsRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -12247,6 +12730,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* .google.cloud.bigquery.storage.v1beta1.ReadSession session = 1 [(.google.api.field_behavior) = REQUIRED];
*
+ *
+ * @return Whether the session field is set.
*/
public boolean hasSession() {
return session_ != null;
@@ -12262,6 +12747,8 @@ public boolean hasSession() {
*
* .google.cloud.bigquery.storage.v1beta1.ReadSession session = 1 [(.google.api.field_behavior) = REQUIRED];
*
+ *
+ * @return The session.
*/
public com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession getSession() {
return session_ == null
@@ -12297,6 +12784,8 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession getSession(
*
*
* int32 requested_streams = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The requestedStreams.
*/
public int getRequestedStreams() {
return requestedStreams_;
@@ -12716,6 +13205,8 @@ public Builder mergeFrom(
*
* .google.cloud.bigquery.storage.v1beta1.ReadSession session = 1 [(.google.api.field_behavior) = REQUIRED];
*
+ *
+ * @return Whether the session field is set.
*/
public boolean hasSession() {
return sessionBuilder_ != null || session_ != null;
@@ -12731,6 +13222,8 @@ public boolean hasSession() {
*
* .google.cloud.bigquery.storage.v1beta1.ReadSession session = 1 [(.google.api.field_behavior) = REQUIRED];
*
+ *
+ * @return The session.
*/
public com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession getSession() {
if (sessionBuilder_ == null) {
@@ -12923,6 +13416,8 @@ public Builder clearSession() {
*
*
* int32 requested_streams = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The requestedStreams.
*/
public int getRequestedStreams() {
return requestedStreams_;
@@ -12937,6 +13432,9 @@ public int getRequestedStreams() {
*
*
* int32 requested_streams = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @param value The requestedStreams to set.
+ * @return This builder for chaining.
*/
public Builder setRequestedStreams(int value) {
@@ -12954,6 +13452,8 @@ public Builder setRequestedStreams(int value) {
*
*
* int32 requested_streams = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return This builder for chaining.
*/
public Builder clearRequestedStreams() {
@@ -13106,6 +13606,12 @@ private BatchCreateReadSessionStreamsResponse() {
streams_ = java.util.Collections.emptyList();
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new BatchCreateReadSessionStreamsResponse();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -14102,6 +14608,8 @@ public interface FinalizeStreamRequestOrBuilder
*
*
* .google.cloud.bigquery.storage.v1beta1.Stream stream = 2;
+ *
+ * @return Whether the stream field is set.
*/
boolean hasStream();
/**
@@ -14112,6 +14620,8 @@ public interface FinalizeStreamRequestOrBuilder
*
*
* .google.cloud.bigquery.storage.v1beta1.Stream stream = 2;
+ *
+ * @return The stream.
*/
com.google.cloud.bigquery.storage.v1beta1.Storage.Stream getStream();
/**
@@ -14146,6 +14656,12 @@ private FinalizeStreamRequest(com.google.protobuf.GeneratedMessageV3.Builder>
private FinalizeStreamRequest() {}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new FinalizeStreamRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -14159,7 +14675,6 @@ private FinalizeStreamRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -14232,6 +14747,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* .google.cloud.bigquery.storage.v1beta1.Stream stream = 2;
+ *
+ * @return Whether the stream field is set.
*/
public boolean hasStream() {
return stream_ != null;
@@ -14244,6 +14761,8 @@ public boolean hasStream() {
*
*
* .google.cloud.bigquery.storage.v1beta1.Stream stream = 2;
+ *
+ * @return The stream.
*/
public com.google.cloud.bigquery.storage.v1beta1.Storage.Stream getStream() {
return stream_ == null
@@ -14626,6 +15145,8 @@ public Builder mergeFrom(
*
*
* .google.cloud.bigquery.storage.v1beta1.Stream stream = 2;
+ *
+ * @return Whether the stream field is set.
*/
public boolean hasStream() {
return streamBuilder_ != null || stream_ != null;
@@ -14638,6 +15159,8 @@ public boolean hasStream() {
*
*
* .google.cloud.bigquery.storage.v1beta1.Stream stream = 2;
+ *
+ * @return The stream.
*/
public com.google.cloud.bigquery.storage.v1beta1.Storage.Stream getStream() {
if (streamBuilder_ == null) {
@@ -14864,6 +15387,8 @@ public interface SplitReadStreamRequestOrBuilder
*
*
* .google.cloud.bigquery.storage.v1beta1.Stream original_stream = 1;
+ *
+ * @return Whether the originalStream field is set.
*/
boolean hasOriginalStream();
/**
@@ -14874,6 +15399,8 @@ public interface SplitReadStreamRequestOrBuilder
*
*
* .google.cloud.bigquery.storage.v1beta1.Stream original_stream = 1;
+ *
+ * @return The originalStream.
*/
com.google.cloud.bigquery.storage.v1beta1.Storage.Stream getOriginalStream();
/**
@@ -14901,6 +15428,8 @@ public interface SplitReadStreamRequestOrBuilder
*
*
* float fraction = 2;
+ *
+ * @return The fraction.
*/
float getFraction();
}
@@ -14925,6 +15454,12 @@ private SplitReadStreamRequest(com.google.protobuf.GeneratedMessageV3.Builder>
private SplitReadStreamRequest() {}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new SplitReadStreamRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -14938,7 +15473,6 @@ private SplitReadStreamRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -15016,6 +15550,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* .google.cloud.bigquery.storage.v1beta1.Stream original_stream = 1;
+ *
+ * @return Whether the originalStream field is set.
*/
public boolean hasOriginalStream() {
return originalStream_ != null;
@@ -15028,6 +15564,8 @@ public boolean hasOriginalStream() {
*
*
* .google.cloud.bigquery.storage.v1beta1.Stream original_stream = 1;
+ *
+ * @return The originalStream.
*/
public com.google.cloud.bigquery.storage.v1beta1.Storage.Stream getOriginalStream() {
return originalStream_ == null
@@ -15064,6 +15602,8 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.Stream getOriginalStrea
*
*
* float fraction = 2;
+ *
+ * @return The fraction.
*/
public float getFraction() {
return fraction_;
@@ -15453,6 +15993,8 @@ public Builder mergeFrom(
*
*
* .google.cloud.bigquery.storage.v1beta1.Stream original_stream = 1;
+ *
+ * @return Whether the originalStream field is set.
*/
public boolean hasOriginalStream() {
return originalStreamBuilder_ != null || originalStream_ != null;
@@ -15465,6 +16007,8 @@ public boolean hasOriginalStream() {
*
*
* .google.cloud.bigquery.storage.v1beta1.Stream original_stream = 1;
+ *
+ * @return The originalStream.
*/
public com.google.cloud.bigquery.storage.v1beta1.Storage.Stream getOriginalStream() {
if (originalStreamBuilder_ == null) {
@@ -15640,6 +16184,8 @@ public Builder clearOriginalStream() {
*
*
* float fraction = 2;
+ *
+ * @return The fraction.
*/
public float getFraction() {
return fraction_;
@@ -15658,6 +16204,9 @@ public float getFraction() {
*
*
* float fraction = 2;
+ *
+ * @param value The fraction to set.
+ * @return This builder for chaining.
*/
public Builder setFraction(float value) {
@@ -15679,6 +16228,8 @@ public Builder setFraction(float value) {
*
*
* float fraction = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearFraction() {
@@ -15758,6 +16309,8 @@ public interface SplitReadStreamResponseOrBuilder
*
*
* .google.cloud.bigquery.storage.v1beta1.Stream primary_stream = 1;
+ *
+ * @return Whether the primaryStream field is set.
*/
boolean hasPrimaryStream();
/**
@@ -15770,6 +16323,8 @@ public interface SplitReadStreamResponseOrBuilder
*
*
* .google.cloud.bigquery.storage.v1beta1.Stream primary_stream = 1;
+ *
+ * @return The primaryStream.
*/
com.google.cloud.bigquery.storage.v1beta1.Storage.Stream getPrimaryStream();
/**
@@ -15794,6 +16349,8 @@ public interface SplitReadStreamResponseOrBuilder
*
*
* .google.cloud.bigquery.storage.v1beta1.Stream remainder_stream = 2;
+ *
+ * @return Whether the remainderStream field is set.
*/
boolean hasRemainderStream();
/**
@@ -15805,6 +16362,8 @@ public interface SplitReadStreamResponseOrBuilder
*
*
* .google.cloud.bigquery.storage.v1beta1.Stream remainder_stream = 2;
+ *
+ * @return The remainderStream.
*/
com.google.cloud.bigquery.storage.v1beta1.Storage.Stream getRemainderStream();
/**
@@ -15840,6 +16399,12 @@ private SplitReadStreamResponse(com.google.protobuf.GeneratedMessageV3.Builder
private SplitReadStreamResponse() {}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new SplitReadStreamResponse();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -15853,7 +16418,6 @@ private SplitReadStreamResponse(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -15945,6 +16509,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* .google.cloud.bigquery.storage.v1beta1.Stream primary_stream = 1;
+ *
+ * @return Whether the primaryStream field is set.
*/
public boolean hasPrimaryStream() {
return primaryStream_ != null;
@@ -15959,6 +16525,8 @@ public boolean hasPrimaryStream() {
*
*
* .google.cloud.bigquery.storage.v1beta1.Stream primary_stream = 1;
+ *
+ * @return The primaryStream.
*/
public com.google.cloud.bigquery.storage.v1beta1.Storage.Stream getPrimaryStream() {
return primaryStream_ == null
@@ -15992,6 +16560,8 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.Stream getPrimaryStream
*
*
* .google.cloud.bigquery.storage.v1beta1.Stream remainder_stream = 2;
+ *
+ * @return Whether the remainderStream field is set.
*/
public boolean hasRemainderStream() {
return remainderStream_ != null;
@@ -16005,6 +16575,8 @@ public boolean hasRemainderStream() {
*
*
* .google.cloud.bigquery.storage.v1beta1.Stream remainder_stream = 2;
+ *
+ * @return The remainderStream.
*/
public com.google.cloud.bigquery.storage.v1beta1.Storage.Stream getRemainderStream() {
return remainderStream_ == null
@@ -16424,6 +16996,8 @@ public Builder mergeFrom(
*
*
* .google.cloud.bigquery.storage.v1beta1.Stream primary_stream = 1;
+ *
+ * @return Whether the primaryStream field is set.
*/
public boolean hasPrimaryStream() {
return primaryStreamBuilder_ != null || primaryStream_ != null;
@@ -16438,6 +17012,8 @@ public boolean hasPrimaryStream() {
*
*
* .google.cloud.bigquery.storage.v1beta1.Stream primary_stream = 1;
+ *
+ * @return The primaryStream.
*/
public com.google.cloud.bigquery.storage.v1beta1.Storage.Stream getPrimaryStream() {
if (primaryStreamBuilder_ == null) {
@@ -16627,6 +17203,8 @@ public Builder clearPrimaryStream() {
*
*
* .google.cloud.bigquery.storage.v1beta1.Stream remainder_stream = 2;
+ *
+ * @return Whether the remainderStream field is set.
*/
public boolean hasRemainderStream() {
return remainderStreamBuilder_ != null || remainderStream_ != null;
@@ -16640,6 +17218,8 @@ public boolean hasRemainderStream() {
*
*
* .google.cloud.bigquery.storage.v1beta1.Stream remainder_stream = 2;
+ *
+ * @return The remainderStream.
*/
public com.google.cloud.bigquery.storage.v1beta1.Storage.Stream getRemainderStream() {
if (remainderStreamBuilder_ == null) {
@@ -17052,29 +17632,21 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "oto/googleapis/cloud/bigquery/storage/v1"
+ "beta1;storageb\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.storage.v1beta1.ArrowProto.getDescriptor(),
- com.google.cloud.bigquery.storage.v1beta1.AvroProto.getDescriptor(),
- com.google.cloud.bigquery.storage.v1beta1.ReadOptions.getDescriptor(),
- com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.getDescriptor(),
- com.google.protobuf.EmptyProto.getDescriptor(),
- com.google.protobuf.TimestampProto.getDescriptor(),
- },
- assigner);
+ descriptor =
+ com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
+ descriptorData,
+ new com.google.protobuf.Descriptors.FileDescriptor[] {
+ com.google.api.AnnotationsProto.getDescriptor(),
+ com.google.api.ClientProto.getDescriptor(),
+ com.google.api.FieldBehaviorProto.getDescriptor(),
+ com.google.api.ResourceProto.getDescriptor(),
+ com.google.cloud.bigquery.storage.v1beta1.ArrowProto.getDescriptor(),
+ com.google.cloud.bigquery.storage.v1beta1.AvroProto.getDescriptor(),
+ com.google.cloud.bigquery.storage.v1beta1.ReadOptions.getDescriptor(),
+ com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.getDescriptor(),
+ com.google.protobuf.EmptyProto.getDescriptor(),
+ com.google.protobuf.TimestampProto.getDescriptor(),
+ });
internal_static_google_cloud_bigquery_storage_v1beta1_Stream_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_google_cloud_bigquery_storage_v1beta1_Stream_fieldAccessorTable =
diff --git a/proto-google-cloud-bigquerystorage-v1beta1/src/main/java/com/google/cloud/bigquery/storage/v1beta1/TableReferenceProto.java b/proto-google-cloud-bigquerystorage-v1beta1/src/main/java/com/google/cloud/bigquery/storage/v1beta1/TableReferenceProto.java
index cb962de642..8a007ad2d1 100644
--- a/proto-google-cloud-bigquerystorage-v1beta1/src/main/java/com/google/cloud/bigquery/storage/v1beta1/TableReferenceProto.java
+++ b/proto-google-cloud-bigquerystorage-v1beta1/src/main/java/com/google/cloud/bigquery/storage/v1beta1/TableReferenceProto.java
@@ -40,6 +40,8 @@ public interface TableReferenceOrBuilder
*
*
* string project_id = 1;
+ *
+ * @return The projectId.
*/
java.lang.String getProjectId();
/**
@@ -50,6 +52,8 @@ public interface TableReferenceOrBuilder
*
*
* string project_id = 1;
+ *
+ * @return The bytes for projectId.
*/
com.google.protobuf.ByteString getProjectIdBytes();
@@ -61,6 +65,8 @@ public interface TableReferenceOrBuilder
*
*
* string dataset_id = 2;
+ *
+ * @return The datasetId.
*/
java.lang.String getDatasetId();
/**
@@ -71,6 +77,8 @@ public interface TableReferenceOrBuilder
*
*
* string dataset_id = 2;
+ *
+ * @return The bytes for datasetId.
*/
com.google.protobuf.ByteString getDatasetIdBytes();
@@ -82,6 +90,8 @@ public interface TableReferenceOrBuilder
*
*
* string table_id = 3;
+ *
+ * @return The tableId.
*/
java.lang.String getTableId();
/**
@@ -92,6 +102,8 @@ public interface TableReferenceOrBuilder
*
*
* string table_id = 3;
+ *
+ * @return The bytes for tableId.
*/
com.google.protobuf.ByteString getTableIdBytes();
}
@@ -120,6 +132,12 @@ private TableReference() {
tableId_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new TableReference();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -133,7 +151,6 @@ private TableReference(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -210,6 +227,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* string project_id = 1;
+ *
+ * @return The projectId.
*/
public java.lang.String getProjectId() {
java.lang.Object ref = projectId_;
@@ -230,6 +249,8 @@ public java.lang.String getProjectId() {
*
*
* string project_id = 1;
+ *
+ * @return The bytes for projectId.
*/
public com.google.protobuf.ByteString getProjectIdBytes() {
java.lang.Object ref = projectId_;
@@ -253,6 +274,8 @@ public com.google.protobuf.ByteString getProjectIdBytes() {
*
*
* string dataset_id = 2;
+ *
+ * @return The datasetId.
*/
public java.lang.String getDatasetId() {
java.lang.Object ref = datasetId_;
@@ -273,6 +296,8 @@ public java.lang.String getDatasetId() {
*
*
* string dataset_id = 2;
+ *
+ * @return The bytes for datasetId.
*/
public com.google.protobuf.ByteString getDatasetIdBytes() {
java.lang.Object ref = datasetId_;
@@ -296,6 +321,8 @@ public com.google.protobuf.ByteString getDatasetIdBytes() {
*
*
* string table_id = 3;
+ *
+ * @return The tableId.
*/
public java.lang.String getTableId() {
java.lang.Object ref = tableId_;
@@ -316,6 +343,8 @@ public java.lang.String getTableId() {
*
*
* string table_id = 3;
+ *
+ * @return The bytes for tableId.
*/
public com.google.protobuf.ByteString getTableIdBytes() {
java.lang.Object ref = tableId_;
@@ -714,6 +743,8 @@ public Builder mergeFrom(
*
*
* string project_id = 1;
+ *
+ * @return The projectId.
*/
public java.lang.String getProjectId() {
java.lang.Object ref = projectId_;
@@ -734,6 +765,8 @@ public java.lang.String getProjectId() {
*
*
* string project_id = 1;
+ *
+ * @return The bytes for projectId.
*/
public com.google.protobuf.ByteString getProjectIdBytes() {
java.lang.Object ref = projectId_;
@@ -754,6 +787,9 @@ public com.google.protobuf.ByteString getProjectIdBytes() {
*
*
* string project_id = 1;
+ *
+ * @param value The projectId to set.
+ * @return This builder for chaining.
*/
public Builder setProjectId(java.lang.String value) {
if (value == null) {
@@ -772,6 +808,8 @@ public Builder setProjectId(java.lang.String value) {
*
*
* string project_id = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearProjectId() {
@@ -787,6 +825,9 @@ public Builder clearProjectId() {
*
*
* string project_id = 1;
+ *
+ * @param value The bytes for projectId to set.
+ * @return This builder for chaining.
*/
public Builder setProjectIdBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -808,6 +849,8 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) {
*
*
* string dataset_id = 2;
+ *
+ * @return The datasetId.
*/
public java.lang.String getDatasetId() {
java.lang.Object ref = datasetId_;
@@ -828,6 +871,8 @@ public java.lang.String getDatasetId() {
*
*
* string dataset_id = 2;
+ *
+ * @return The bytes for datasetId.
*/
public com.google.protobuf.ByteString getDatasetIdBytes() {
java.lang.Object ref = datasetId_;
@@ -848,6 +893,9 @@ public com.google.protobuf.ByteString getDatasetIdBytes() {
*
*
* string dataset_id = 2;
+ *
+ * @param value The datasetId to set.
+ * @return This builder for chaining.
*/
public Builder setDatasetId(java.lang.String value) {
if (value == null) {
@@ -866,6 +914,8 @@ public Builder setDatasetId(java.lang.String value) {
*
*
* string dataset_id = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearDatasetId() {
@@ -881,6 +931,9 @@ public Builder clearDatasetId() {
*
*
* string dataset_id = 2;
+ *
+ * @param value The bytes for datasetId to set.
+ * @return This builder for chaining.
*/
public Builder setDatasetIdBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -902,6 +955,8 @@ public Builder setDatasetIdBytes(com.google.protobuf.ByteString value) {
*
*
* string table_id = 3;
+ *
+ * @return The tableId.
*/
public java.lang.String getTableId() {
java.lang.Object ref = tableId_;
@@ -922,6 +977,8 @@ public java.lang.String getTableId() {
*
*
* string table_id = 3;
+ *
+ * @return The bytes for tableId.
*/
public com.google.protobuf.ByteString getTableIdBytes() {
java.lang.Object ref = tableId_;
@@ -942,6 +999,9 @@ public com.google.protobuf.ByteString getTableIdBytes() {
*
*
* string table_id = 3;
+ *
+ * @param value The tableId to set.
+ * @return This builder for chaining.
*/
public Builder setTableId(java.lang.String value) {
if (value == null) {
@@ -960,6 +1020,8 @@ public Builder setTableId(java.lang.String value) {
*
*
* string table_id = 3;
+ *
+ * @return This builder for chaining.
*/
public Builder clearTableId() {
@@ -975,6 +1037,9 @@ public Builder clearTableId() {
*
*
* string table_id = 3;
+ *
+ * @param value The bytes for tableId to set.
+ * @return This builder for chaining.
*/
public Builder setTableIdBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1057,6 +1122,8 @@ public interface TableModifiersOrBuilder
*
*
* .google.protobuf.Timestamp snapshot_time = 1;
+ *
+ * @return Whether the snapshotTime field is set.
*/
boolean hasSnapshotTime();
/**
@@ -1067,6 +1134,8 @@ public interface TableModifiersOrBuilder
*
*
* .google.protobuf.Timestamp snapshot_time = 1;
+ *
+ * @return The snapshotTime.
*/
com.google.protobuf.Timestamp getSnapshotTime();
/**
@@ -1101,6 +1170,12 @@ private TableModifiers(com.google.protobuf.GeneratedMessageV3.Builder> builder
private TableModifiers() {}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new TableModifiers();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -1114,7 +1189,6 @@ private TableModifiers(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -1185,6 +1259,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* .google.protobuf.Timestamp snapshot_time = 1;
+ *
+ * @return Whether the snapshotTime field is set.
*/
public boolean hasSnapshotTime() {
return snapshotTime_ != null;
@@ -1197,6 +1273,8 @@ public boolean hasSnapshotTime() {
*
*
* .google.protobuf.Timestamp snapshot_time = 1;
+ *
+ * @return The snapshotTime.
*/
public com.google.protobuf.Timestamp getSnapshotTime() {
return snapshotTime_ == null
@@ -1586,6 +1664,8 @@ public Builder mergeFrom(
*
*
* .google.protobuf.Timestamp snapshot_time = 1;
+ *
+ * @return Whether the snapshotTime field is set.
*/
public boolean hasSnapshotTime() {
return snapshotTimeBuilder_ != null || snapshotTime_ != null;
@@ -1598,6 +1678,8 @@ public boolean hasSnapshotTime() {
*
*
* .google.protobuf.Timestamp snapshot_time = 1;
+ *
+ * @return The snapshotTime.
*/
public com.google.protobuf.Timestamp getSnapshotTime() {
if (snapshotTimeBuilder_ == null) {
@@ -1840,21 +1922,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "/googleapis/cloud/bigquery/storage/v1bet"
+ "a1;storageb\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.ResourceProto.getDescriptor(),
- com.google.protobuf.TimestampProto.getDescriptor(),
- },
- assigner);
+ descriptor =
+ com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
+ descriptorData,
+ new com.google.protobuf.Descriptors.FileDescriptor[] {
+ com.google.api.ResourceProto.getDescriptor(),
+ com.google.protobuf.TimestampProto.getDescriptor(),
+ });
internal_static_google_cloud_bigquery_storage_v1beta1_TableReference_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_google_cloud_bigquery_storage_v1beta1_TableReference_fieldAccessorTable =
diff --git a/synth.metadata b/synth.metadata
index cb83c97467..113e71b2f7 100644
--- a/synth.metadata
+++ b/synth.metadata
@@ -1,19 +1,19 @@
{
- "updateTime": "2019-12-06T16:09:01.984928Z",
+ "updateTime": "2019-12-12T08:36:29.557075Z",
"sources": [
{
"generator": {
"name": "artman",
- "version": "0.42.1",
- "dockerImage": "googleapis/artman@sha256:c773192618c608a7a0415dd95282f841f8e6bcdef7dd760a988c93b77a64bd57"
+ "version": "0.42.2",
+ "dockerImage": "googleapis/artman@sha256:a86051ce32e2454ca2558ec9e437d46c2184b6dd291f57b0686676d77242658e"
}
},
{
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
- "sha": "b10e4547017ca529ac8d183e839f3c272e1c13de",
- "internalRef": "284059574"
+ "sha": "19c4589a3cb44b3679f7b3fba88365b3d055d5f8",
+ "internalRef": "285013366"
}
},
{