public static final class ReadOptions.TableReadOptions extends com.google.protobuf.GeneratedMessageV3 implements ReadOptions.TableReadOptionsOrBuilder
Options dictating how we read a table.Protobuf type
google.cloud.bigquery.storage.v1beta1.TableReadOptions| Modifier and Type | Class and Description |
|---|---|
static class |
ReadOptions.TableReadOptions.Builder
Options dictating how we read a table.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
ROW_RESTRICTION_FIELD_NUMBER |
static int |
SELECTED_FIELDS_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static ReadOptions.TableReadOptions |
getDefaultInstance() |
ReadOptions.TableReadOptions |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Parser<ReadOptions.TableReadOptions> |
getParserForType() |
String |
getRowRestriction()
Optional.
|
com.google.protobuf.ByteString |
getRowRestrictionBytes()
Optional.
|
String |
getSelectedFields(int index)
Optional.
|
com.google.protobuf.ByteString |
getSelectedFieldsBytes(int index)
Optional.
|
int |
getSelectedFieldsCount()
Optional.
|
com.google.protobuf.ProtocolStringList |
getSelectedFieldsList()
Optional.
|
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static ReadOptions.TableReadOptions.Builder |
newBuilder() |
static ReadOptions.TableReadOptions.Builder |
newBuilder(ReadOptions.TableReadOptions prototype) |
ReadOptions.TableReadOptions.Builder |
newBuilderForType() |
protected ReadOptions.TableReadOptions.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static ReadOptions.TableReadOptions |
parseDelimitedFrom(InputStream input) |
static ReadOptions.TableReadOptions |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ReadOptions.TableReadOptions |
parseFrom(byte[] data) |
static ReadOptions.TableReadOptions |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ReadOptions.TableReadOptions |
parseFrom(ByteBuffer data) |
static ReadOptions.TableReadOptions |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ReadOptions.TableReadOptions |
parseFrom(com.google.protobuf.ByteString data) |
static ReadOptions.TableReadOptions |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ReadOptions.TableReadOptions |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ReadOptions.TableReadOptions |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ReadOptions.TableReadOptions |
parseFrom(InputStream input) |
static ReadOptions.TableReadOptions |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ReadOptions.TableReadOptions> |
parser() |
ReadOptions.TableReadOptions.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int SELECTED_FIELDS_FIELD_NUMBER
public static final int ROW_RESTRICTION_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public com.google.protobuf.ProtocolStringList getSelectedFieldsList()
Optional. 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 ReadOptions.TableReadOptionsOrBuilderpublic int getSelectedFieldsCount()
Optional. 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 ReadOptions.TableReadOptionsOrBuilderpublic String getSelectedFields(int index)
Optional. 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 ReadOptions.TableReadOptionsOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getSelectedFieldsBytes(int index)
Optional. 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 ReadOptions.TableReadOptionsOrBuilderindex - The index of the value to return.public String getRowRestriction()
Optional. 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"
string row_restriction = 2;getRowRestriction in interface ReadOptions.TableReadOptionsOrBuilderpublic com.google.protobuf.ByteString getRowRestrictionBytes()
Optional. 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"
string row_restriction = 2;getRowRestrictionBytes in interface ReadOptions.TableReadOptionsOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static ReadOptions.TableReadOptions parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ReadOptions.TableReadOptions parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ReadOptions.TableReadOptions parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ReadOptions.TableReadOptions parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ReadOptions.TableReadOptions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ReadOptions.TableReadOptions parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ReadOptions.TableReadOptions parseFrom(InputStream input) throws IOException
IOExceptionpublic static ReadOptions.TableReadOptions parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ReadOptions.TableReadOptions parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ReadOptions.TableReadOptions parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ReadOptions.TableReadOptions parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ReadOptions.TableReadOptions parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ReadOptions.TableReadOptions.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static ReadOptions.TableReadOptions.Builder newBuilder()
public static ReadOptions.TableReadOptions.Builder newBuilder(ReadOptions.TableReadOptions prototype)
public ReadOptions.TableReadOptions.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected ReadOptions.TableReadOptions.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static ReadOptions.TableReadOptions getDefaultInstance()
public static com.google.protobuf.Parser<ReadOptions.TableReadOptions> parser()
public com.google.protobuf.Parser<ReadOptions.TableReadOptions> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public ReadOptions.TableReadOptions getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2022 Google LLC. All rights reserved.