public static final class ReadSession.TableReadOptions.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ReadSession.TableReadOptions.Builder> implements ReadSession.TableReadOptionsOrBuilder
Options dictating how we read a table.Protobuf type
google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions| Modifier and Type | Method and Description |
|---|---|
ReadSession.TableReadOptions.Builder |
addAllSelectedFields(Iterable<String> values)
Names of the fields in the table that should be read.
|
ReadSession.TableReadOptions.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ReadSession.TableReadOptions.Builder |
addSelectedFields(String value)
Names of the fields in the table that should be read.
|
ReadSession.TableReadOptions.Builder |
addSelectedFieldsBytes(com.google.protobuf.ByteString value)
Names of the fields in the table that should be read.
|
ReadSession.TableReadOptions |
build() |
ReadSession.TableReadOptions |
buildPartial() |
ReadSession.TableReadOptions.Builder |
clear() |
ReadSession.TableReadOptions.Builder |
clearArrowSerializationOptions()
Optional.
|
ReadSession.TableReadOptions.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ReadSession.TableReadOptions.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ReadSession.TableReadOptions.Builder |
clearRowRestriction()
SQL text filtering statement, similar to a WHERE clause in a query.
|
ReadSession.TableReadOptions.Builder |
clearSelectedFields()
Names of the fields in the table that should be read.
|
ReadSession.TableReadOptions.Builder |
clone() |
ArrowSerializationOptions |
getArrowSerializationOptions()
Optional.
|
ArrowSerializationOptions.Builder |
getArrowSerializationOptionsBuilder()
Optional.
|
ArrowSerializationOptionsOrBuilder |
getArrowSerializationOptionsOrBuilder()
Optional.
|
ReadSession.TableReadOptions |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getRowRestriction()
SQL text filtering statement, similar to a WHERE clause in a query.
|
com.google.protobuf.ByteString |
getRowRestrictionBytes()
SQL text filtering statement, similar to a WHERE clause in a query.
|
String |
getSelectedFields(int index)
Names of the fields in the table that should be read.
|
com.google.protobuf.ByteString |
getSelectedFieldsBytes(int index)
Names of the fields in the table that should be read.
|
int |
getSelectedFieldsCount()
Names of the fields in the table that should be read.
|
com.google.protobuf.ProtocolStringList |
getSelectedFieldsList()
Names of the fields in the table that should be read.
|
boolean |
hasArrowSerializationOptions()
Optional.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ReadSession.TableReadOptions.Builder |
mergeArrowSerializationOptions(ArrowSerializationOptions value)
Optional.
|
ReadSession.TableReadOptions.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ReadSession.TableReadOptions.Builder |
mergeFrom(com.google.protobuf.Message other) |
ReadSession.TableReadOptions.Builder |
mergeFrom(ReadSession.TableReadOptions other) |
ReadSession.TableReadOptions.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ReadSession.TableReadOptions.Builder |
setArrowSerializationOptions(ArrowSerializationOptions.Builder builderForValue)
Optional.
|
ReadSession.TableReadOptions.Builder |
setArrowSerializationOptions(ArrowSerializationOptions value)
Optional.
|
ReadSession.TableReadOptions.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ReadSession.TableReadOptions.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ReadSession.TableReadOptions.Builder |
setRowRestriction(String value)
SQL text filtering statement, similar to a WHERE clause in a query.
|
ReadSession.TableReadOptions.Builder |
setRowRestrictionBytes(com.google.protobuf.ByteString value)
SQL text filtering statement, similar to a WHERE clause in a query.
|
ReadSession.TableReadOptions.Builder |
setSelectedFields(int index,
String value)
Names of the fields in the table that should be read.
|
ReadSession.TableReadOptions.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ReadSession.TableReadOptions.Builder>public ReadSession.TableReadOptions.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ReadSession.TableReadOptions.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ReadSession.TableReadOptions.Builder>public ReadSession.TableReadOptions getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ReadSession.TableReadOptions build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ReadSession.TableReadOptions buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ReadSession.TableReadOptions.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ReadSession.TableReadOptions.Builder>public ReadSession.TableReadOptions.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<ReadSession.TableReadOptions.Builder>public ReadSession.TableReadOptions.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ReadSession.TableReadOptions.Builder>public ReadSession.TableReadOptions.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ReadSession.TableReadOptions.Builder>public ReadSession.TableReadOptions.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ReadSession.TableReadOptions.Builder>public ReadSession.TableReadOptions.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ReadSession.TableReadOptions.Builder>public ReadSession.TableReadOptions.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ReadSession.TableReadOptions.Builder>public ReadSession.TableReadOptions.Builder mergeFrom(ReadSession.TableReadOptions other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ReadSession.TableReadOptions.Builder>public ReadSession.TableReadOptions.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ReadSession.TableReadOptions.Builder>IOExceptionpublic com.google.protobuf.ProtocolStringList getSelectedFieldsList()
Names of the fields in the table that should be read. If empty, all fields will be read. If the specified field is a nested field, all the sub-fields in the field will be selected. The output field order is unrelated to the order of fields in selected_fields.
repeated string selected_fields = 1;getSelectedFieldsList in interface ReadSession.TableReadOptionsOrBuilderpublic int getSelectedFieldsCount()
Names of the fields in the table that should be read. If empty, all fields will be read. If the specified field is a nested field, all the sub-fields in the field will be selected. The output field order is unrelated to the order of fields in selected_fields.
repeated string selected_fields = 1;getSelectedFieldsCount in interface ReadSession.TableReadOptionsOrBuilderpublic String getSelectedFields(int index)
Names of the fields in the table that should be read. If empty, all fields will be read. If the specified field is a nested field, all the sub-fields in the field will be selected. The output field order is unrelated to the order of fields in selected_fields.
repeated string selected_fields = 1;getSelectedFields in interface ReadSession.TableReadOptionsOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getSelectedFieldsBytes(int index)
Names of the fields in the table that should be read. If empty, all fields will be read. If the specified field is a nested field, all the sub-fields in the field will be selected. The output field order is unrelated to the order of fields in selected_fields.
repeated string selected_fields = 1;getSelectedFieldsBytes in interface ReadSession.TableReadOptionsOrBuilderindex - The index of the value to return.public ReadSession.TableReadOptions.Builder setSelectedFields(int index, String value)
Names of the fields in the table that should be read. If empty, all fields will be read. If the specified field is a nested field, all the sub-fields in the field will be selected. The output field order is unrelated to the order of fields in selected_fields.
repeated string selected_fields = 1;index - The index to set the value at.value - The selectedFields to set.public ReadSession.TableReadOptions.Builder addSelectedFields(String value)
Names of the fields in the table that should be read. If empty, all fields will be read. If the specified field is a nested field, all the sub-fields in the field will be selected. The output field order is unrelated to the order of fields in selected_fields.
repeated string selected_fields = 1;value - The selectedFields to add.public ReadSession.TableReadOptions.Builder addAllSelectedFields(Iterable<String> values)
Names of the fields in the table that should be read. If empty, all fields will be read. If the specified field is a nested field, all the sub-fields in the field will be selected. The output field order is unrelated to the order of fields in selected_fields.
repeated string selected_fields = 1;values - The selectedFields to add.public ReadSession.TableReadOptions.Builder clearSelectedFields()
Names of the fields in the table that should be read. If empty, all fields will be read. If the specified field is a nested field, all the sub-fields in the field will be selected. The output field order is unrelated to the order of fields in selected_fields.
repeated string selected_fields = 1;public ReadSession.TableReadOptions.Builder addSelectedFieldsBytes(com.google.protobuf.ByteString value)
Names of the fields in the table that should be read. If empty, all fields will be read. If the specified field is a nested field, all the sub-fields in the field will be selected. The output field order is unrelated to the order of fields in selected_fields.
repeated string selected_fields = 1;value - The bytes of the selectedFields to add.public String getRowRestriction()
SQL text filtering statement, similar to a WHERE clause in a query.
Aggregates are not supported.
Examples: "int_field > 5"
"date_field = CAST('2014-9-27' as DATE)"
"nullable_field is not NULL"
"st_equals(geo_field, st_geofromtext("POINT(2, 2)"))"
"numeric_field BETWEEN 1.0 AND 5.0"
Restricted to a maximum length for 1 MB.
string row_restriction = 2;getRowRestriction in interface ReadSession.TableReadOptionsOrBuilderpublic com.google.protobuf.ByteString getRowRestrictionBytes()
SQL text filtering statement, similar to a WHERE clause in a query.
Aggregates are not supported.
Examples: "int_field > 5"
"date_field = CAST('2014-9-27' as DATE)"
"nullable_field is not NULL"
"st_equals(geo_field, st_geofromtext("POINT(2, 2)"))"
"numeric_field BETWEEN 1.0 AND 5.0"
Restricted to a maximum length for 1 MB.
string row_restriction = 2;getRowRestrictionBytes in interface ReadSession.TableReadOptionsOrBuilderpublic ReadSession.TableReadOptions.Builder setRowRestriction(String value)
SQL text filtering statement, similar to a WHERE clause in a query.
Aggregates are not supported.
Examples: "int_field > 5"
"date_field = CAST('2014-9-27' as DATE)"
"nullable_field is not NULL"
"st_equals(geo_field, st_geofromtext("POINT(2, 2)"))"
"numeric_field BETWEEN 1.0 AND 5.0"
Restricted to a maximum length for 1 MB.
string row_restriction = 2;value - The rowRestriction to set.public ReadSession.TableReadOptions.Builder clearRowRestriction()
SQL text filtering statement, similar to a WHERE clause in a query.
Aggregates are not supported.
Examples: "int_field > 5"
"date_field = CAST('2014-9-27' as DATE)"
"nullable_field is not NULL"
"st_equals(geo_field, st_geofromtext("POINT(2, 2)"))"
"numeric_field BETWEEN 1.0 AND 5.0"
Restricted to a maximum length for 1 MB.
string row_restriction = 2;public ReadSession.TableReadOptions.Builder setRowRestrictionBytes(com.google.protobuf.ByteString value)
SQL text filtering statement, similar to a WHERE clause in a query.
Aggregates are not supported.
Examples: "int_field > 5"
"date_field = CAST('2014-9-27' as DATE)"
"nullable_field is not NULL"
"st_equals(geo_field, st_geofromtext("POINT(2, 2)"))"
"numeric_field BETWEEN 1.0 AND 5.0"
Restricted to a maximum length for 1 MB.
string row_restriction = 2;value - The bytes for rowRestriction to set.public boolean hasArrowSerializationOptions()
Optional. Options specific to the Apache Arrow output format.
.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions arrow_serialization_options = 3 [(.google.api.field_behavior) = OPTIONAL];
hasArrowSerializationOptions in interface ReadSession.TableReadOptionsOrBuilderpublic ArrowSerializationOptions getArrowSerializationOptions()
Optional. Options specific to the Apache Arrow output format.
.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions arrow_serialization_options = 3 [(.google.api.field_behavior) = OPTIONAL];
getArrowSerializationOptions in interface ReadSession.TableReadOptionsOrBuilderpublic ReadSession.TableReadOptions.Builder setArrowSerializationOptions(ArrowSerializationOptions value)
Optional. Options specific to the Apache Arrow output format.
.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions arrow_serialization_options = 3 [(.google.api.field_behavior) = OPTIONAL];
public ReadSession.TableReadOptions.Builder setArrowSerializationOptions(ArrowSerializationOptions.Builder builderForValue)
Optional. Options specific to the Apache Arrow output format.
.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions arrow_serialization_options = 3 [(.google.api.field_behavior) = OPTIONAL];
public ReadSession.TableReadOptions.Builder mergeArrowSerializationOptions(ArrowSerializationOptions value)
Optional. Options specific to the Apache Arrow output format.
.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions arrow_serialization_options = 3 [(.google.api.field_behavior) = OPTIONAL];
public ReadSession.TableReadOptions.Builder clearArrowSerializationOptions()
Optional. Options specific to the Apache Arrow output format.
.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions arrow_serialization_options = 3 [(.google.api.field_behavior) = OPTIONAL];
public ArrowSerializationOptions.Builder getArrowSerializationOptionsBuilder()
Optional. Options specific to the Apache Arrow output format.
.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions arrow_serialization_options = 3 [(.google.api.field_behavior) = OPTIONAL];
public ArrowSerializationOptionsOrBuilder getArrowSerializationOptionsOrBuilder()
Optional. Options specific to the Apache Arrow output format.
.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions arrow_serialization_options = 3 [(.google.api.field_behavior) = OPTIONAL];
getArrowSerializationOptionsOrBuilder in interface ReadSession.TableReadOptionsOrBuilderpublic final ReadSession.TableReadOptions.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ReadSession.TableReadOptions.Builder>public final ReadSession.TableReadOptions.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ReadSession.TableReadOptions.Builder>Copyright © 2021 Google LLC. All rights reserved.