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 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.