Interface Storage.ReadSessionOrBuilder (3.4.0)

public static interface Storage.ReadSessionOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getArrowSchema()

public abstract ArrowProto.ArrowSchema getArrowSchema()

Arrow schema.

.google.cloud.bigquery.storage.v1beta1.ArrowSchema arrow_schema = 6;

Returns
TypeDescription
ArrowProto.ArrowSchema

The arrowSchema.

getArrowSchemaOrBuilder()

public abstract ArrowProto.ArrowSchemaOrBuilder getArrowSchemaOrBuilder()

Arrow schema.

.google.cloud.bigquery.storage.v1beta1.ArrowSchema arrow_schema = 6;

Returns
TypeDescription
ArrowProto.ArrowSchemaOrBuilder

getAvroSchema()

public abstract AvroProto.AvroSchema getAvroSchema()

Avro schema.

.google.cloud.bigquery.storage.v1beta1.AvroSchema avro_schema = 5;

Returns
TypeDescription
AvroProto.AvroSchema

The avroSchema.

getAvroSchemaOrBuilder()

public abstract AvroProto.AvroSchemaOrBuilder getAvroSchemaOrBuilder()

Avro schema.

.google.cloud.bigquery.storage.v1beta1.AvroSchema avro_schema = 5;

Returns
TypeDescription
AvroProto.AvroSchemaOrBuilder

getExpireTime()

public abstract 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
TypeDescription
Timestamp

The expireTime.

getExpireTimeOrBuilder()

public abstract 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;

Returns
TypeDescription
TimestampOrBuilder

getName()

public abstract String getName()

Unique identifier for the session, in the form projects/{project_id}/locations/{location}/sessions/{session_id}.

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Unique identifier for the session, in the form projects/{project_id}/locations/{location}/sessions/{session_id}.

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

getSchemaCase()

public abstract Storage.ReadSession.SchemaCase getSchemaCase()
Returns
TypeDescription
Storage.ReadSession.SchemaCase

getShardingStrategy()

public abstract Storage.ShardingStrategy getShardingStrategy()

The strategy to use for distributing data among the streams.

.google.cloud.bigquery.storage.v1beta1.ShardingStrategy sharding_strategy = 9;

Returns
TypeDescription
Storage.ShardingStrategy

The shardingStrategy.

getShardingStrategyValue()

public abstract int getShardingStrategyValue()

The strategy to use for distributing data among the streams.

.google.cloud.bigquery.storage.v1beta1.ShardingStrategy sharding_strategy = 9;

Returns
TypeDescription
int

The enum numeric value on the wire for shardingStrategy.

getStreams(int index)

public abstract Storage.Stream getStreams(int index)

Streams associated with this session.

repeated .google.cloud.bigquery.storage.v1beta1.Stream streams = 4;

Parameter
NameDescription
indexint
Returns
TypeDescription
Storage.Stream

getStreamsCount()

public abstract int getStreamsCount()

Streams associated with this session.

repeated .google.cloud.bigquery.storage.v1beta1.Stream streams = 4;

Returns
TypeDescription
int

getStreamsList()

public abstract List<Storage.Stream> getStreamsList()

Streams associated with this session.

repeated .google.cloud.bigquery.storage.v1beta1.Stream streams = 4;

Returns
TypeDescription
List<Stream>

getStreamsOrBuilder(int index)

public abstract Storage.StreamOrBuilder getStreamsOrBuilder(int index)

Streams associated with this session.

repeated .google.cloud.bigquery.storage.v1beta1.Stream streams = 4;

Parameter
NameDescription
indexint
Returns
TypeDescription
Storage.StreamOrBuilder

getStreamsOrBuilderList()

public abstract List<? extends Storage.StreamOrBuilder> getStreamsOrBuilderList()

Streams associated with this session.

repeated .google.cloud.bigquery.storage.v1beta1.Stream streams = 4;

Returns
TypeDescription
List<? extends com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder>

getTableModifiers()

public abstract TableReferenceProto.TableModifiers getTableModifiers()

Any modifiers which are applied when reading from the specified table.

.google.cloud.bigquery.storage.v1beta1.TableModifiers table_modifiers = 8;

Returns
TypeDescription
TableReferenceProto.TableModifiers

The tableModifiers.

getTableModifiersOrBuilder()

public abstract TableReferenceProto.TableModifiersOrBuilder getTableModifiersOrBuilder()

Any modifiers which are applied when reading from the specified table.

.google.cloud.bigquery.storage.v1beta1.TableModifiers table_modifiers = 8;

Returns
TypeDescription
TableReferenceProto.TableModifiersOrBuilder

getTableReference()

public abstract TableReferenceProto.TableReference getTableReference()

Table that this ReadSession is reading from.

.google.cloud.bigquery.storage.v1beta1.TableReference table_reference = 7;

Returns
TypeDescription
TableReferenceProto.TableReference

The tableReference.

getTableReferenceOrBuilder()

public abstract TableReferenceProto.TableReferenceOrBuilder getTableReferenceOrBuilder()

Table that this ReadSession is reading from.

.google.cloud.bigquery.storage.v1beta1.TableReference table_reference = 7;

Returns
TypeDescription
TableReferenceProto.TableReferenceOrBuilder

hasArrowSchema()

public abstract boolean hasArrowSchema()

Arrow schema.

.google.cloud.bigquery.storage.v1beta1.ArrowSchema arrow_schema = 6;

Returns
TypeDescription
boolean

Whether the arrowSchema field is set.

hasAvroSchema()

public abstract boolean hasAvroSchema()

Avro schema.

.google.cloud.bigquery.storage.v1beta1.AvroSchema avro_schema = 5;

Returns
TypeDescription
boolean

Whether the avroSchema field is set.

hasExpireTime()

public abstract 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
TypeDescription
boolean

Whether the expireTime field is set.

hasTableModifiers()

public abstract boolean hasTableModifiers()

Any modifiers which are applied when reading from the specified table.

.google.cloud.bigquery.storage.v1beta1.TableModifiers table_modifiers = 8;

Returns
TypeDescription
boolean

Whether the tableModifiers field is set.

hasTableReference()

public abstract boolean hasTableReference()

Table that this ReadSession is reading from.

.google.cloud.bigquery.storage.v1beta1.TableReference table_reference = 7;

Returns
TypeDescription
boolean

Whether the tableReference field is set.