public static final class Storage.ReadSession extends GeneratedMessageV3 implements Storage.ReadSessionOrBuilder
Information returned from a CreateReadSession
request.
Protobuf type google.cloud.bigquery.storage.v1beta1.ReadSession
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
ARROW_SCHEMA_FIELD_NUMBER
public static final int ARROW_SCHEMA_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
AVRO_SCHEMA_FIELD_NUMBER
public static final int AVRO_SCHEMA_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
EXPIRE_TIME_FIELD_NUMBER
public static final int EXPIRE_TIME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
SHARDING_STRATEGY_FIELD_NUMBER
public static final int SHARDING_STRATEGY_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
STREAMS_FIELD_NUMBER
public static final int STREAMS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
TABLE_MODIFIERS_FIELD_NUMBER
public static final int TABLE_MODIFIERS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
TABLE_REFERENCE_FIELD_NUMBER
public static final int TABLE_REFERENCE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static Storage.ReadSession getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Storage.ReadSession.Builder newBuilder()
newBuilder(Storage.ReadSession prototype)
public static Storage.ReadSession.Builder newBuilder(Storage.ReadSession prototype)
public static Storage.ReadSession parseDelimitedFrom(InputStream input)
public static Storage.ReadSession parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static Storage.ReadSession parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Storage.ReadSession parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static Storage.ReadSession parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Storage.ReadSession parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Storage.ReadSession parseFrom(CodedInputStream input)
public static Storage.ReadSession parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Storage.ReadSession parseFrom(InputStream input)
public static Storage.ReadSession parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static Storage.ReadSession parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Storage.ReadSession parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<Storage.ReadSession> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getArrowSchema()
public ArrowProto.ArrowSchema getArrowSchema()
Arrow schema.
.google.cloud.bigquery.storage.v1beta1.ArrowSchema arrow_schema = 6;
getArrowSchemaOrBuilder()
public ArrowProto.ArrowSchemaOrBuilder getArrowSchemaOrBuilder()
Arrow schema.
.google.cloud.bigquery.storage.v1beta1.ArrowSchema arrow_schema = 6;
getAvroSchema()
public AvroProto.AvroSchema getAvroSchema()
Avro schema.
.google.cloud.bigquery.storage.v1beta1.AvroSchema avro_schema = 5;
getAvroSchemaOrBuilder()
public AvroProto.AvroSchemaOrBuilder getAvroSchemaOrBuilder()
Avro schema.
.google.cloud.bigquery.storage.v1beta1.AvroSchema avro_schema = 5;
getDefaultInstanceForType()
public Storage.ReadSession getDefaultInstanceForType()
getExpireTime()
public 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;
Returns |
---|
Type | Description |
Timestamp | The expireTime.
|
getExpireTimeOrBuilder()
public 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;
getName()
Unique identifier for the session, in the form
projects/{project_id}/locations/{location}/sessions/{session_id}
.
string name = 1;
Returns |
---|
Type | Description |
String | The name.
|
getNameBytes()
public ByteString getNameBytes()
Unique identifier for the session, in the form
projects/{project_id}/locations/{location}/sessions/{session_id}
.
string name = 1;
Returns |
---|
Type | Description |
ByteString | The bytes for name.
|
getParserForType()
public Parser<Storage.ReadSession> getParserForType()
Overrides
getSchemaCase()
public Storage.ReadSession.SchemaCase getSchemaCase()
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getShardingStrategy()
public Storage.ShardingStrategy getShardingStrategy()
The strategy to use for distributing data among the streams.
.google.cloud.bigquery.storage.v1beta1.ShardingStrategy sharding_strategy = 9;
getShardingStrategyValue()
public int getShardingStrategyValue()
The strategy to use for distributing data among the streams.
.google.cloud.bigquery.storage.v1beta1.ShardingStrategy sharding_strategy = 9;
Returns |
---|
Type | Description |
int | The enum numeric value on the wire for shardingStrategy.
|
getStreams(int index)
public Storage.Stream getStreams(int index)
Streams associated with this session.
repeated .google.cloud.bigquery.storage.v1beta1.Stream streams = 4;
Parameter |
---|
Name | Description |
index | int
|
getStreamsCount()
public int getStreamsCount()
Streams associated with this session.
repeated .google.cloud.bigquery.storage.v1beta1.Stream streams = 4;
Returns |
---|
Type | Description |
int | |
getStreamsList()
public List<Storage.Stream> getStreamsList()
Streams associated with this session.
repeated .google.cloud.bigquery.storage.v1beta1.Stream streams = 4;
getStreamsOrBuilder(int index)
public Storage.StreamOrBuilder getStreamsOrBuilder(int index)
Streams associated with this session.
repeated .google.cloud.bigquery.storage.v1beta1.Stream streams = 4;
Parameter |
---|
Name | Description |
index | int
|
getStreamsOrBuilderList()
public List<? extends Storage.StreamOrBuilder> getStreamsOrBuilderList()
Streams associated with this session.
repeated .google.cloud.bigquery.storage.v1beta1.Stream streams = 4;
Returns |
---|
Type | Description |
List<? extends com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder> | |
getTableModifiers()
public TableReferenceProto.TableModifiers getTableModifiers()
Any modifiers which are applied when reading from the specified table.
.google.cloud.bigquery.storage.v1beta1.TableModifiers table_modifiers = 8;
getTableModifiersOrBuilder()
public TableReferenceProto.TableModifiersOrBuilder getTableModifiersOrBuilder()
Any modifiers which are applied when reading from the specified table.
.google.cloud.bigquery.storage.v1beta1.TableModifiers table_modifiers = 8;
getTableReference()
public TableReferenceProto.TableReference getTableReference()
Table that this ReadSession is reading from.
.google.cloud.bigquery.storage.v1beta1.TableReference table_reference = 7;
getTableReferenceOrBuilder()
public TableReferenceProto.TableReferenceOrBuilder getTableReferenceOrBuilder()
Table that this ReadSession is reading from.
.google.cloud.bigquery.storage.v1beta1.TableReference table_reference = 7;
hasArrowSchema()
public boolean hasArrowSchema()
Arrow schema.
.google.cloud.bigquery.storage.v1beta1.ArrowSchema arrow_schema = 6;
Returns |
---|
Type | Description |
boolean | Whether the arrowSchema field is set.
|
hasAvroSchema()
public boolean hasAvroSchema()
Avro schema.
.google.cloud.bigquery.storage.v1beta1.AvroSchema avro_schema = 5;
Returns |
---|
Type | Description |
boolean | Whether the avroSchema field is set.
|
hasExpireTime()
public 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;
Returns |
---|
Type | Description |
boolean | Whether the expireTime field is set.
|
hasTableModifiers()
public boolean hasTableModifiers()
Any modifiers which are applied when reading from the specified table.
.google.cloud.bigquery.storage.v1beta1.TableModifiers table_modifiers = 8;
Returns |
---|
Type | Description |
boolean | Whether the tableModifiers field is set.
|
hasTableReference()
public boolean hasTableReference()
Table that this ReadSession is reading from.
.google.cloud.bigquery.storage.v1beta1.TableReference table_reference = 7;
Returns |
---|
Type | Description |
boolean | Whether the tableReference field is set.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Storage.ReadSession.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Storage.ReadSession.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public Storage.ReadSession.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides