Interface Storage.ReadSessionOrBuilder (3.6.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
Type Description
ArrowProto.ArrowSchema

The arrowSchema.

getArrowSchemaOrBuilder()

public abstract ArrowProto.ArrowSchemaOrBuilder getArrowSchemaOrBuilder()

Arrow schema.

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

Returns
Type Description
ArrowProto.ArrowSchemaOrBuilder

getAvroSchema()

public abstract AvroProto.AvroSchema getAvroSchema()

Avro schema.

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

Returns
Type Description
AvroProto.AvroSchema

The avroSchema.

getAvroSchemaOrBuilder()

public abstract AvroProto.AvroSchemaOrBuilder getAvroSchemaOrBuilder()

Avro schema.

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

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for name.

getSchemaCase()

public abstract Storage.ReadSession.SchemaCase getSchemaCase()
Returns
Type Description
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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
Storage.Stream

getStreamsCount()

public abstract int getStreamsCount()

Streams associated with this session.

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

Returns
Type Description
int

getStreamsList()

public abstract List<Storage.Stream> getStreamsList()

Streams associated with this session.

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

Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
TableReferenceProto.TableReferenceOrBuilder

hasArrowSchema()

public abstract 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 abstract 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 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
Type Description
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
Type Description
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
Type Description
boolean

Whether the tableReference field is set.