Interface Storage.ReadSessionOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Storage.ReadSession
,Storage.ReadSession.Builder
- Enclosing class:
- Storage
public static interface Storage.ReadSessionOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ArrowProto.ArrowSchema
getArrowSchema()
Arrow schema.ArrowProto.ArrowSchemaOrBuilder
getArrowSchemaOrBuilder()
Arrow schema.AvroProto.AvroSchema
getAvroSchema()
Avro schema.AvroProto.AvroSchemaOrBuilder
getAvroSchemaOrBuilder()
Avro schema.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}`.Storage.ReadSession.SchemaCase
getSchemaCase()
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.boolean
hasArrowSchema()
Arrow schema.boolean
hasAvroSchema()
Avro schema.boolean
hasExpireTime()
Time at which the session becomes invalid.boolean
hasTableModifiers()
Any modifiers which are applied when reading from the specified table.boolean
hasTableReference()
Table that this ReadSession is reading from.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
String getName()
Unique identifier for the session, in the form `projects/{project_id}/locations/{location}/sessions/{session_id}`.
string name = 1;
- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
Unique identifier for the session, in the form `projects/{project_id}/locations/{location}/sessions/{session_id}`.
string name = 1;
- Returns:
- The bytes for name.
-
hasExpireTime
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:
- Whether the expireTime field is set.
-
getExpireTime
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;
- Returns:
- The expireTime.
-
getExpireTimeOrBuilder
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;
-
hasAvroSchema
boolean hasAvroSchema()
Avro schema.
.google.cloud.bigquery.storage.v1beta1.AvroSchema avro_schema = 5;
- Returns:
- Whether the avroSchema field is set.
-
getAvroSchema
AvroProto.AvroSchema getAvroSchema()
Avro schema.
.google.cloud.bigquery.storage.v1beta1.AvroSchema avro_schema = 5;
- Returns:
- The avroSchema.
-
getAvroSchemaOrBuilder
AvroProto.AvroSchemaOrBuilder getAvroSchemaOrBuilder()
Avro schema.
.google.cloud.bigquery.storage.v1beta1.AvroSchema avro_schema = 5;
-
hasArrowSchema
boolean hasArrowSchema()
Arrow schema.
.google.cloud.bigquery.storage.v1beta1.ArrowSchema arrow_schema = 6;
- Returns:
- Whether the arrowSchema field is set.
-
getArrowSchema
ArrowProto.ArrowSchema getArrowSchema()
Arrow schema.
.google.cloud.bigquery.storage.v1beta1.ArrowSchema arrow_schema = 6;
- Returns:
- The arrowSchema.
-
getArrowSchemaOrBuilder
ArrowProto.ArrowSchemaOrBuilder getArrowSchemaOrBuilder()
Arrow schema.
.google.cloud.bigquery.storage.v1beta1.ArrowSchema arrow_schema = 6;
-
getStreamsList
List<Storage.Stream> getStreamsList()
Streams associated with this session.
repeated .google.cloud.bigquery.storage.v1beta1.Stream streams = 4;
-
getStreams
Storage.Stream getStreams(int index)
Streams associated with this session.
repeated .google.cloud.bigquery.storage.v1beta1.Stream streams = 4;
-
getStreamsCount
int getStreamsCount()
Streams associated with this session.
repeated .google.cloud.bigquery.storage.v1beta1.Stream streams = 4;
-
getStreamsOrBuilderList
List<? extends Storage.StreamOrBuilder> getStreamsOrBuilderList()
Streams associated with this session.
repeated .google.cloud.bigquery.storage.v1beta1.Stream streams = 4;
-
getStreamsOrBuilder
Storage.StreamOrBuilder getStreamsOrBuilder(int index)
Streams associated with this session.
repeated .google.cloud.bigquery.storage.v1beta1.Stream streams = 4;
-
hasTableReference
boolean hasTableReference()
Table that this ReadSession is reading from.
.google.cloud.bigquery.storage.v1beta1.TableReference table_reference = 7;
- Returns:
- Whether the tableReference field is set.
-
getTableReference
TableReferenceProto.TableReference getTableReference()
Table that this ReadSession is reading from.
.google.cloud.bigquery.storage.v1beta1.TableReference table_reference = 7;
- Returns:
- The tableReference.
-
getTableReferenceOrBuilder
TableReferenceProto.TableReferenceOrBuilder getTableReferenceOrBuilder()
Table that this ReadSession is reading from.
.google.cloud.bigquery.storage.v1beta1.TableReference table_reference = 7;
-
hasTableModifiers
boolean hasTableModifiers()
Any modifiers which are applied when reading from the specified table.
.google.cloud.bigquery.storage.v1beta1.TableModifiers table_modifiers = 8;
- Returns:
- Whether the tableModifiers field is set.
-
getTableModifiers
TableReferenceProto.TableModifiers getTableModifiers()
Any modifiers which are applied when reading from the specified table.
.google.cloud.bigquery.storage.v1beta1.TableModifiers table_modifiers = 8;
- Returns:
- The tableModifiers.
-
getTableModifiersOrBuilder
TableReferenceProto.TableModifiersOrBuilder getTableModifiersOrBuilder()
Any modifiers which are applied when reading from the specified table.
.google.cloud.bigquery.storage.v1beta1.TableModifiers table_modifiers = 8;
-
getShardingStrategyValue
int getShardingStrategyValue()
The strategy to use for distributing data among the streams.
.google.cloud.bigquery.storage.v1beta1.ShardingStrategy sharding_strategy = 9;
- Returns:
- The enum numeric value on the wire for shardingStrategy.
-
getShardingStrategy
Storage.ShardingStrategy getShardingStrategy()
The strategy to use for distributing data among the streams.
.google.cloud.bigquery.storage.v1beta1.ShardingStrategy sharding_strategy = 9;
- Returns:
- The shardingStrategy.
-
getSchemaCase
Storage.ReadSession.SchemaCase getSchemaCase()
-
-