public static final class Storage.ReadSession extends com.google.protobuf.GeneratedMessageV3 implements Storage.ReadSessionOrBuilder
Information returned from a `CreateReadSession` request.Protobuf type
google.cloud.bigquery.storage.v1beta1.ReadSession| Modifier and Type | Class and Description |
|---|---|
static class |
Storage.ReadSession.Builder
Information returned from a `CreateReadSession` request.
|
static class |
Storage.ReadSession.SchemaCase |
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 |
ARROW_SCHEMA_FIELD_NUMBER |
static int |
AVRO_SCHEMA_FIELD_NUMBER |
static int |
EXPIRE_TIME_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
SHARDING_STRATEGY_FIELD_NUMBER |
static int |
STREAMS_FIELD_NUMBER |
static int |
TABLE_MODIFIERS_FIELD_NUMBER |
static int |
TABLE_REFERENCE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
ArrowProto.ArrowSchema |
getArrowSchema()
Arrow schema.
|
ArrowProto.ArrowSchemaOrBuilder |
getArrowSchemaOrBuilder()
Arrow schema.
|
AvroProto.AvroSchema |
getAvroSchema()
Avro schema.
|
AvroProto.AvroSchemaOrBuilder |
getAvroSchemaOrBuilder()
Avro schema.
|
static Storage.ReadSession |
getDefaultInstance() |
Storage.ReadSession |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Timestamp |
getExpireTime()
Time at which the session becomes invalid.
|
com.google.protobuf.TimestampOrBuilder |
getExpireTimeOrBuilder()
Time at which the session becomes invalid.
|
String |
getName()
Unique identifier for the session, in the form
`projects/{project_id}/locations/{location}/sessions/{session_id}`.
|
com.google.protobuf.ByteString |
getNameBytes()
Unique identifier for the session, in the form
`projects/{project_id}/locations/{location}/sessions/{session_id}`.
|
com.google.protobuf.Parser<Storage.ReadSession> |
getParserForType() |
Storage.ReadSession.SchemaCase |
getSchemaCase() |
int |
getSerializedSize() |
Storage.ShardingStrategy |
getShardingStrategy()
The strategy to use for distributing data among the streams.
|
int |
getShardingStrategyValue()
The strategy to use for distributing data among the streams.
|
Storage.Stream |
getStreams(int index)
Streams associated with this session.
|
int |
getStreamsCount()
Streams associated with this session.
|
List<Storage.Stream> |
getStreamsList()
Streams associated with this session.
|
Storage.StreamOrBuilder |
getStreamsOrBuilder(int index)
Streams associated with this session.
|
List<? extends Storage.StreamOrBuilder> |
getStreamsOrBuilderList()
Streams associated with this session.
|
TableReferenceProto.TableModifiers |
getTableModifiers()
Any modifiers which are applied when reading from the specified table.
|
TableReferenceProto.TableModifiersOrBuilder |
getTableModifiersOrBuilder()
Any modifiers which are applied when reading from the specified table.
|
TableReferenceProto.TableReference |
getTableReference()
Table that this ReadSession is reading from.
|
TableReferenceProto.TableReferenceOrBuilder |
getTableReferenceOrBuilder()
Table that this ReadSession is reading from.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasArrowSchema()
Arrow schema.
|
boolean |
hasAvroSchema()
Avro schema.
|
boolean |
hasExpireTime()
Time at which the session becomes invalid.
|
int |
hashCode() |
boolean |
hasTableModifiers()
Any modifiers which are applied when reading from the specified table.
|
boolean |
hasTableReference()
Table that this ReadSession is reading from.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Storage.ReadSession.Builder |
newBuilder() |
static Storage.ReadSession.Builder |
newBuilder(Storage.ReadSession prototype) |
Storage.ReadSession.Builder |
newBuilderForType() |
protected Storage.ReadSession.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Storage.ReadSession |
parseDelimitedFrom(InputStream input) |
static Storage.ReadSession |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Storage.ReadSession |
parseFrom(byte[] data) |
static Storage.ReadSession |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Storage.ReadSession |
parseFrom(ByteBuffer data) |
static Storage.ReadSession |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Storage.ReadSession |
parseFrom(com.google.protobuf.ByteString data) |
static Storage.ReadSession |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Storage.ReadSession |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Storage.ReadSession |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Storage.ReadSession |
parseFrom(InputStream input) |
static Storage.ReadSession |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Storage.ReadSession> |
parser() |
Storage.ReadSession.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 NAME_FIELD_NUMBER
public static final int EXPIRE_TIME_FIELD_NUMBER
public static final int AVRO_SCHEMA_FIELD_NUMBER
public static final int ARROW_SCHEMA_FIELD_NUMBER
public static final int STREAMS_FIELD_NUMBER
public static final int TABLE_REFERENCE_FIELD_NUMBER
public static final int TABLE_MODIFIERS_FIELD_NUMBER
public static final int SHARDING_STRATEGY_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 Storage.ReadSession.SchemaCase getSchemaCase()
getSchemaCase in interface Storage.ReadSessionOrBuilderpublic String getName()
Unique identifier for the session, in the form
`projects/{project_id}/locations/{location}/sessions/{session_id}`.
string name = 1;getName in interface Storage.ReadSessionOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Unique identifier for the session, in the form
`projects/{project_id}/locations/{location}/sessions/{session_id}`.
string name = 1;getNameBytes in interface Storage.ReadSessionOrBuilderpublic boolean hasExpireTime()
Time at which the session becomes invalid. After this time, subsequent requests to read this Session will return errors.
.google.protobuf.Timestamp expire_time = 2;hasExpireTime in interface Storage.ReadSessionOrBuilderpublic com.google.protobuf.Timestamp getExpireTime()
Time at which the session becomes invalid. After this time, subsequent requests to read this Session will return errors.
.google.protobuf.Timestamp expire_time = 2;getExpireTime in interface Storage.ReadSessionOrBuilderpublic com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder()
Time at which the session becomes invalid. After this time, subsequent requests to read this Session will return errors.
.google.protobuf.Timestamp expire_time = 2;getExpireTimeOrBuilder in interface Storage.ReadSessionOrBuilderpublic boolean hasAvroSchema()
Avro schema.
.google.cloud.bigquery.storage.v1beta1.AvroSchema avro_schema = 5;hasAvroSchema in interface Storage.ReadSessionOrBuilderpublic AvroProto.AvroSchema getAvroSchema()
Avro schema.
.google.cloud.bigquery.storage.v1beta1.AvroSchema avro_schema = 5;getAvroSchema in interface Storage.ReadSessionOrBuilderpublic AvroProto.AvroSchemaOrBuilder getAvroSchemaOrBuilder()
Avro schema.
.google.cloud.bigquery.storage.v1beta1.AvroSchema avro_schema = 5;getAvroSchemaOrBuilder in interface Storage.ReadSessionOrBuilderpublic boolean hasArrowSchema()
Arrow schema.
.google.cloud.bigquery.storage.v1beta1.ArrowSchema arrow_schema = 6;hasArrowSchema in interface Storage.ReadSessionOrBuilderpublic ArrowProto.ArrowSchema getArrowSchema()
Arrow schema.
.google.cloud.bigquery.storage.v1beta1.ArrowSchema arrow_schema = 6;getArrowSchema in interface Storage.ReadSessionOrBuilderpublic ArrowProto.ArrowSchemaOrBuilder getArrowSchemaOrBuilder()
Arrow schema.
.google.cloud.bigquery.storage.v1beta1.ArrowSchema arrow_schema = 6;getArrowSchemaOrBuilder in interface Storage.ReadSessionOrBuilderpublic List<Storage.Stream> getStreamsList()
Streams associated with this session.
repeated .google.cloud.bigquery.storage.v1beta1.Stream streams = 4;getStreamsList in interface Storage.ReadSessionOrBuilderpublic List<? extends Storage.StreamOrBuilder> getStreamsOrBuilderList()
Streams associated with this session.
repeated .google.cloud.bigquery.storage.v1beta1.Stream streams = 4;getStreamsOrBuilderList in interface Storage.ReadSessionOrBuilderpublic int getStreamsCount()
Streams associated with this session.
repeated .google.cloud.bigquery.storage.v1beta1.Stream streams = 4;getStreamsCount in interface Storage.ReadSessionOrBuilderpublic Storage.Stream getStreams(int index)
Streams associated with this session.
repeated .google.cloud.bigquery.storage.v1beta1.Stream streams = 4;getStreams in interface Storage.ReadSessionOrBuilderpublic Storage.StreamOrBuilder getStreamsOrBuilder(int index)
Streams associated with this session.
repeated .google.cloud.bigquery.storage.v1beta1.Stream streams = 4;getStreamsOrBuilder in interface Storage.ReadSessionOrBuilderpublic boolean hasTableReference()
Table that this ReadSession is reading from.
.google.cloud.bigquery.storage.v1beta1.TableReference table_reference = 7;hasTableReference in interface Storage.ReadSessionOrBuilderpublic TableReferenceProto.TableReference getTableReference()
Table that this ReadSession is reading from.
.google.cloud.bigquery.storage.v1beta1.TableReference table_reference = 7;getTableReference in interface Storage.ReadSessionOrBuilderpublic TableReferenceProto.TableReferenceOrBuilder getTableReferenceOrBuilder()
Table that this ReadSession is reading from.
.google.cloud.bigquery.storage.v1beta1.TableReference table_reference = 7;getTableReferenceOrBuilder in interface Storage.ReadSessionOrBuilderpublic boolean hasTableModifiers()
Any modifiers which are applied when reading from the specified table.
.google.cloud.bigquery.storage.v1beta1.TableModifiers table_modifiers = 8;hasTableModifiers in interface Storage.ReadSessionOrBuilderpublic TableReferenceProto.TableModifiers getTableModifiers()
Any modifiers which are applied when reading from the specified table.
.google.cloud.bigquery.storage.v1beta1.TableModifiers table_modifiers = 8;getTableModifiers in interface Storage.ReadSessionOrBuilderpublic TableReferenceProto.TableModifiersOrBuilder getTableModifiersOrBuilder()
Any modifiers which are applied when reading from the specified table.
.google.cloud.bigquery.storage.v1beta1.TableModifiers table_modifiers = 8;getTableModifiersOrBuilder in interface Storage.ReadSessionOrBuilderpublic int getShardingStrategyValue()
The strategy to use for distributing data among the streams.
.google.cloud.bigquery.storage.v1beta1.ShardingStrategy sharding_strategy = 9;getShardingStrategyValue in interface Storage.ReadSessionOrBuilderpublic Storage.ShardingStrategy getShardingStrategy()
The strategy to use for distributing data among the streams.
.google.cloud.bigquery.storage.v1beta1.ShardingStrategy sharding_strategy = 9;getShardingStrategy in interface Storage.ReadSessionOrBuilderpublic 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.ReadSession parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Storage.ReadSession parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Storage.ReadSession parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Storage.ReadSession parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Storage.ReadSession parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Storage.ReadSession parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Storage.ReadSession parseFrom(InputStream input) throws IOException
IOExceptionpublic static Storage.ReadSession parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Storage.ReadSession parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Storage.ReadSession parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Storage.ReadSession parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Storage.ReadSession parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Storage.ReadSession.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Storage.ReadSession.Builder newBuilder()
public static Storage.ReadSession.Builder newBuilder(Storage.ReadSession prototype)
public Storage.ReadSession.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Storage.ReadSession.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Storage.ReadSession getDefaultInstance()
public static com.google.protobuf.Parser<Storage.ReadSession> parser()
public com.google.protobuf.Parser<Storage.ReadSession> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Storage.ReadSession getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2022 Google LLC. All rights reserved.