public static final class Storage.CreateReadSessionRequest extends com.google.protobuf.GeneratedMessageV3 implements Storage.CreateReadSessionRequestOrBuilder
Creates a new read session, which may include additional options such as requested parallelism, projection filters and constraints.Protobuf type
google.cloud.bigquery.storage.v1beta1.CreateReadSessionRequest| Modifier and Type | Class and Description |
|---|---|
static class |
Storage.CreateReadSessionRequest.Builder
Creates a new read session, which may include additional options such as
requested parallelism, projection filters and constraints.
|
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| Modifier and Type | Field and Description |
|---|---|
static int |
FORMAT_FIELD_NUMBER |
static int |
PARENT_FIELD_NUMBER |
static int |
READ_OPTIONS_FIELD_NUMBER |
static int |
REQUESTED_STREAMS_FIELD_NUMBER |
static int |
SHARDING_STRATEGY_FIELD_NUMBER |
static int |
TABLE_MODIFIERS_FIELD_NUMBER |
static int |
TABLE_REFERENCE_FIELD_NUMBER |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, 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 TABLE_REFERENCE_FIELD_NUMBER
public static final int PARENT_FIELD_NUMBER
public static final int TABLE_MODIFIERS_FIELD_NUMBER
public static final int REQUESTED_STREAMS_FIELD_NUMBER
public static final int READ_OPTIONS_FIELD_NUMBER
public static final int FORMAT_FIELD_NUMBER
public static final int SHARDING_STRATEGY_FIELD_NUMBER
public 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 boolean hasTableReference()
Required. Reference to the table to read.
.google.cloud.bigquery.storage.v1beta1.TableReference table_reference = 1;hasTableReference in interface Storage.CreateReadSessionRequestOrBuilderpublic TableReferenceProto.TableReference getTableReference()
Required. Reference to the table to read.
.google.cloud.bigquery.storage.v1beta1.TableReference table_reference = 1;getTableReference in interface Storage.CreateReadSessionRequestOrBuilderpublic TableReferenceProto.TableReferenceOrBuilder getTableReferenceOrBuilder()
Required. Reference to the table to read.
.google.cloud.bigquery.storage.v1beta1.TableReference table_reference = 1;getTableReferenceOrBuilder in interface Storage.CreateReadSessionRequestOrBuilderpublic String getParent()
Required. String of the form `projects/{project_id}` indicating the
project this ReadSession is associated with. This is the project that will
be billed for usage.
string parent = 6;getParent in interface Storage.CreateReadSessionRequestOrBuilderpublic com.google.protobuf.ByteString getParentBytes()
Required. String of the form `projects/{project_id}` indicating the
project this ReadSession is associated with. This is the project that will
be billed for usage.
string parent = 6;getParentBytes in interface Storage.CreateReadSessionRequestOrBuilderpublic boolean hasTableModifiers()
Optional. Any modifiers to the Table (e.g. snapshot timestamp).
.google.cloud.bigquery.storage.v1beta1.TableModifiers table_modifiers = 2;hasTableModifiers in interface Storage.CreateReadSessionRequestOrBuilderpublic TableReferenceProto.TableModifiers getTableModifiers()
Optional. Any modifiers to the Table (e.g. snapshot timestamp).
.google.cloud.bigquery.storage.v1beta1.TableModifiers table_modifiers = 2;getTableModifiers in interface Storage.CreateReadSessionRequestOrBuilderpublic TableReferenceProto.TableModifiersOrBuilder getTableModifiersOrBuilder()
Optional. Any modifiers to the Table (e.g. snapshot timestamp).
.google.cloud.bigquery.storage.v1beta1.TableModifiers table_modifiers = 2;getTableModifiersOrBuilder in interface Storage.CreateReadSessionRequestOrBuilderpublic int getRequestedStreams()
Optional. Initial number of streams. If unset or 0, we will provide a value of streams so as to produce reasonable throughput. Must be non-negative. The number of streams may be lower than the requested number, depending on the amount parallelism that is reasonable for the table and the maximum amount of parallelism allowed by the system. Streams must be read starting from offset 0.
int32 requested_streams = 3;getRequestedStreams in interface Storage.CreateReadSessionRequestOrBuilderpublic boolean hasReadOptions()
Optional. Read options for this session (e.g. column selection, filters).
.google.cloud.bigquery.storage.v1beta1.TableReadOptions read_options = 4;hasReadOptions in interface Storage.CreateReadSessionRequestOrBuilderpublic ReadOptions.TableReadOptions getReadOptions()
Optional. Read options for this session (e.g. column selection, filters).
.google.cloud.bigquery.storage.v1beta1.TableReadOptions read_options = 4;getReadOptions in interface Storage.CreateReadSessionRequestOrBuilderpublic ReadOptions.TableReadOptionsOrBuilder getReadOptionsOrBuilder()
Optional. Read options for this session (e.g. column selection, filters).
.google.cloud.bigquery.storage.v1beta1.TableReadOptions read_options = 4;getReadOptionsOrBuilder in interface Storage.CreateReadSessionRequestOrBuilderpublic int getFormatValue()
Data output format. Currently default to Avro.
.google.cloud.bigquery.storage.v1beta1.DataFormat format = 5;getFormatValue in interface Storage.CreateReadSessionRequestOrBuilderpublic Storage.DataFormat getFormat()
Data output format. Currently default to Avro.
.google.cloud.bigquery.storage.v1beta1.DataFormat format = 5;getFormat in interface Storage.CreateReadSessionRequestOrBuilderpublic int getShardingStrategyValue()
The strategy to use for distributing data among multiple streams. Currently defaults to liquid sharding.
.google.cloud.bigquery.storage.v1beta1.ShardingStrategy sharding_strategy = 7;getShardingStrategyValue in interface Storage.CreateReadSessionRequestOrBuilderpublic Storage.ShardingStrategy getShardingStrategy()
The strategy to use for distributing data among multiple streams. Currently defaults to liquid sharding.
.google.cloud.bigquery.storage.v1beta1.ShardingStrategy sharding_strategy = 7;getShardingStrategy in interface Storage.CreateReadSessionRequestOrBuilderpublic 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 Storage.CreateReadSessionRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Storage.CreateReadSessionRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Storage.CreateReadSessionRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Storage.CreateReadSessionRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Storage.CreateReadSessionRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Storage.CreateReadSessionRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Storage.CreateReadSessionRequest parseFrom(InputStream input) throws IOException
IOExceptionpublic static Storage.CreateReadSessionRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Storage.CreateReadSessionRequest parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Storage.CreateReadSessionRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Storage.CreateReadSessionRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Storage.CreateReadSessionRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Storage.CreateReadSessionRequest.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Storage.CreateReadSessionRequest.Builder newBuilder()
public static Storage.CreateReadSessionRequest.Builder newBuilder(Storage.CreateReadSessionRequest prototype)
public Storage.CreateReadSessionRequest.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Storage.CreateReadSessionRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Storage.CreateReadSessionRequest getDefaultInstance()
public static com.google.protobuf.Parser<Storage.CreateReadSessionRequest> parser()
public com.google.protobuf.Parser<Storage.CreateReadSessionRequest> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Storage.CreateReadSessionRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2019 Google LLC. All rights reserved.