Class ReadRowsResponse.CellChunk.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ReadRowsResponse.CellChunk.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ReadRowsResponse.CellChunk.Builder>
      • getDefaultInstanceForType

        public ReadRowsResponse.CellChunk getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public ReadRowsResponse.CellChunk build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public ReadRowsResponse.CellChunk buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ReadRowsResponse.CellChunk.Builder>
      • mergeFrom

        public ReadRowsResponse.CellChunk.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                     throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ReadRowsResponse.CellChunk.Builder>
        Throws:
        IOException
      • getRowKey

        public com.google.protobuf.ByteString getRowKey()
         The row key for this chunk of data.  If the row key is empty,
         this CellChunk is a continuation of the same row as the previous
         CellChunk in the response stream, even if that CellChunk was in a
         previous ReadRowsResponse message.
         
        bytes row_key = 1;
        Specified by:
        getRowKey in interface ReadRowsResponse.CellChunkOrBuilder
        Returns:
        The rowKey.
      • setRowKey

        public ReadRowsResponse.CellChunk.Builder setRowKey​(com.google.protobuf.ByteString value)
         The row key for this chunk of data.  If the row key is empty,
         this CellChunk is a continuation of the same row as the previous
         CellChunk in the response stream, even if that CellChunk was in a
         previous ReadRowsResponse message.
         
        bytes row_key = 1;
        Parameters:
        value - The rowKey to set.
        Returns:
        This builder for chaining.
      • clearRowKey

        public ReadRowsResponse.CellChunk.Builder clearRowKey()
         The row key for this chunk of data.  If the row key is empty,
         this CellChunk is a continuation of the same row as the previous
         CellChunk in the response stream, even if that CellChunk was in a
         previous ReadRowsResponse message.
         
        bytes row_key = 1;
        Returns:
        This builder for chaining.
      • hasFamilyName

        public boolean hasFamilyName()
         The column family name for this chunk of data.  If this message
         is not present this CellChunk is a continuation of the same column
         family as the previous CellChunk.  The empty string can occur as a
         column family name in a response so clients must check
         explicitly for the presence of this message, not just for
         `family_name.value` being non-empty.
         
        .google.protobuf.StringValue family_name = 2;
        Specified by:
        hasFamilyName in interface ReadRowsResponse.CellChunkOrBuilder
        Returns:
        Whether the familyName field is set.
      • getFamilyName

        public com.google.protobuf.StringValue getFamilyName()
         The column family name for this chunk of data.  If this message
         is not present this CellChunk is a continuation of the same column
         family as the previous CellChunk.  The empty string can occur as a
         column family name in a response so clients must check
         explicitly for the presence of this message, not just for
         `family_name.value` being non-empty.
         
        .google.protobuf.StringValue family_name = 2;
        Specified by:
        getFamilyName in interface ReadRowsResponse.CellChunkOrBuilder
        Returns:
        The familyName.
      • setFamilyName

        public ReadRowsResponse.CellChunk.Builder setFamilyName​(com.google.protobuf.StringValue value)
         The column family name for this chunk of data.  If this message
         is not present this CellChunk is a continuation of the same column
         family as the previous CellChunk.  The empty string can occur as a
         column family name in a response so clients must check
         explicitly for the presence of this message, not just for
         `family_name.value` being non-empty.
         
        .google.protobuf.StringValue family_name = 2;
      • setFamilyName

        public ReadRowsResponse.CellChunk.Builder setFamilyName​(com.google.protobuf.StringValue.Builder builderForValue)
         The column family name for this chunk of data.  If this message
         is not present this CellChunk is a continuation of the same column
         family as the previous CellChunk.  The empty string can occur as a
         column family name in a response so clients must check
         explicitly for the presence of this message, not just for
         `family_name.value` being non-empty.
         
        .google.protobuf.StringValue family_name = 2;
      • mergeFamilyName

        public ReadRowsResponse.CellChunk.Builder mergeFamilyName​(com.google.protobuf.StringValue value)
         The column family name for this chunk of data.  If this message
         is not present this CellChunk is a continuation of the same column
         family as the previous CellChunk.  The empty string can occur as a
         column family name in a response so clients must check
         explicitly for the presence of this message, not just for
         `family_name.value` being non-empty.
         
        .google.protobuf.StringValue family_name = 2;
      • clearFamilyName

        public ReadRowsResponse.CellChunk.Builder clearFamilyName()
         The column family name for this chunk of data.  If this message
         is not present this CellChunk is a continuation of the same column
         family as the previous CellChunk.  The empty string can occur as a
         column family name in a response so clients must check
         explicitly for the presence of this message, not just for
         `family_name.value` being non-empty.
         
        .google.protobuf.StringValue family_name = 2;
      • getFamilyNameBuilder

        public com.google.protobuf.StringValue.Builder getFamilyNameBuilder()
         The column family name for this chunk of data.  If this message
         is not present this CellChunk is a continuation of the same column
         family as the previous CellChunk.  The empty string can occur as a
         column family name in a response so clients must check
         explicitly for the presence of this message, not just for
         `family_name.value` being non-empty.
         
        .google.protobuf.StringValue family_name = 2;
      • getFamilyNameOrBuilder

        public com.google.protobuf.StringValueOrBuilder getFamilyNameOrBuilder()
         The column family name for this chunk of data.  If this message
         is not present this CellChunk is a continuation of the same column
         family as the previous CellChunk.  The empty string can occur as a
         column family name in a response so clients must check
         explicitly for the presence of this message, not just for
         `family_name.value` being non-empty.
         
        .google.protobuf.StringValue family_name = 2;
        Specified by:
        getFamilyNameOrBuilder in interface ReadRowsResponse.CellChunkOrBuilder
      • hasQualifier

        public boolean hasQualifier()
         The column qualifier for this chunk of data.  If this message
         is not present, this CellChunk is a continuation of the same column
         as the previous CellChunk.  Column qualifiers may be empty so
         clients must check for the presence of this message, not just
         for `qualifier.value` being non-empty.
         
        .google.protobuf.BytesValue qualifier = 3;
        Specified by:
        hasQualifier in interface ReadRowsResponse.CellChunkOrBuilder
        Returns:
        Whether the qualifier field is set.
      • getQualifier

        public com.google.protobuf.BytesValue getQualifier()
         The column qualifier for this chunk of data.  If this message
         is not present, this CellChunk is a continuation of the same column
         as the previous CellChunk.  Column qualifiers may be empty so
         clients must check for the presence of this message, not just
         for `qualifier.value` being non-empty.
         
        .google.protobuf.BytesValue qualifier = 3;
        Specified by:
        getQualifier in interface ReadRowsResponse.CellChunkOrBuilder
        Returns:
        The qualifier.
      • setQualifier

        public ReadRowsResponse.CellChunk.Builder setQualifier​(com.google.protobuf.BytesValue value)
         The column qualifier for this chunk of data.  If this message
         is not present, this CellChunk is a continuation of the same column
         as the previous CellChunk.  Column qualifiers may be empty so
         clients must check for the presence of this message, not just
         for `qualifier.value` being non-empty.
         
        .google.protobuf.BytesValue qualifier = 3;
      • setQualifier

        public ReadRowsResponse.CellChunk.Builder setQualifier​(com.google.protobuf.BytesValue.Builder builderForValue)
         The column qualifier for this chunk of data.  If this message
         is not present, this CellChunk is a continuation of the same column
         as the previous CellChunk.  Column qualifiers may be empty so
         clients must check for the presence of this message, not just
         for `qualifier.value` being non-empty.
         
        .google.protobuf.BytesValue qualifier = 3;
      • mergeQualifier

        public ReadRowsResponse.CellChunk.Builder mergeQualifier​(com.google.protobuf.BytesValue value)
         The column qualifier for this chunk of data.  If this message
         is not present, this CellChunk is a continuation of the same column
         as the previous CellChunk.  Column qualifiers may be empty so
         clients must check for the presence of this message, not just
         for `qualifier.value` being non-empty.
         
        .google.protobuf.BytesValue qualifier = 3;
      • clearQualifier

        public ReadRowsResponse.CellChunk.Builder clearQualifier()
         The column qualifier for this chunk of data.  If this message
         is not present, this CellChunk is a continuation of the same column
         as the previous CellChunk.  Column qualifiers may be empty so
         clients must check for the presence of this message, not just
         for `qualifier.value` being non-empty.
         
        .google.protobuf.BytesValue qualifier = 3;
      • getQualifierBuilder

        public com.google.protobuf.BytesValue.Builder getQualifierBuilder()
         The column qualifier for this chunk of data.  If this message
         is not present, this CellChunk is a continuation of the same column
         as the previous CellChunk.  Column qualifiers may be empty so
         clients must check for the presence of this message, not just
         for `qualifier.value` being non-empty.
         
        .google.protobuf.BytesValue qualifier = 3;
      • getQualifierOrBuilder

        public com.google.protobuf.BytesValueOrBuilder getQualifierOrBuilder()
         The column qualifier for this chunk of data.  If this message
         is not present, this CellChunk is a continuation of the same column
         as the previous CellChunk.  Column qualifiers may be empty so
         clients must check for the presence of this message, not just
         for `qualifier.value` being non-empty.
         
        .google.protobuf.BytesValue qualifier = 3;
        Specified by:
        getQualifierOrBuilder in interface ReadRowsResponse.CellChunkOrBuilder
      • getTimestampMicros

        public long getTimestampMicros()
         The cell's stored timestamp, which also uniquely identifies it
         within its column.  Values are always expressed in
         microseconds, but individual tables may set a coarser
         granularity to further restrict the allowed values. For
         example, a table which specifies millisecond granularity will
         only allow values of `timestamp_micros` which are multiples of
         1000.  Timestamps are only set in the first CellChunk per cell
         (for cells split into multiple chunks).
         
        int64 timestamp_micros = 4;
        Specified by:
        getTimestampMicros in interface ReadRowsResponse.CellChunkOrBuilder
        Returns:
        The timestampMicros.
      • setTimestampMicros

        public ReadRowsResponse.CellChunk.Builder setTimestampMicros​(long value)
         The cell's stored timestamp, which also uniquely identifies it
         within its column.  Values are always expressed in
         microseconds, but individual tables may set a coarser
         granularity to further restrict the allowed values. For
         example, a table which specifies millisecond granularity will
         only allow values of `timestamp_micros` which are multiples of
         1000.  Timestamps are only set in the first CellChunk per cell
         (for cells split into multiple chunks).
         
        int64 timestamp_micros = 4;
        Parameters:
        value - The timestampMicros to set.
        Returns:
        This builder for chaining.
      • clearTimestampMicros

        public ReadRowsResponse.CellChunk.Builder clearTimestampMicros()
         The cell's stored timestamp, which also uniquely identifies it
         within its column.  Values are always expressed in
         microseconds, but individual tables may set a coarser
         granularity to further restrict the allowed values. For
         example, a table which specifies millisecond granularity will
         only allow values of `timestamp_micros` which are multiples of
         1000.  Timestamps are only set in the first CellChunk per cell
         (for cells split into multiple chunks).
         
        int64 timestamp_micros = 4;
        Returns:
        This builder for chaining.
      • getLabelsList

        public com.google.protobuf.ProtocolStringList getLabelsList()
         Labels applied to the cell by a
         [RowFilter][google.bigtable.v2.RowFilter].  Labels are only set
         on the first CellChunk per cell.
         
        repeated string labels = 5;
        Specified by:
        getLabelsList in interface ReadRowsResponse.CellChunkOrBuilder
        Returns:
        A list containing the labels.
      • getLabelsCount

        public int getLabelsCount()
         Labels applied to the cell by a
         [RowFilter][google.bigtable.v2.RowFilter].  Labels are only set
         on the first CellChunk per cell.
         
        repeated string labels = 5;
        Specified by:
        getLabelsCount in interface ReadRowsResponse.CellChunkOrBuilder
        Returns:
        The count of labels.
      • getLabels

        public String getLabels​(int index)
         Labels applied to the cell by a
         [RowFilter][google.bigtable.v2.RowFilter].  Labels are only set
         on the first CellChunk per cell.
         
        repeated string labels = 5;
        Specified by:
        getLabels in interface ReadRowsResponse.CellChunkOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The labels at the given index.
      • getLabelsBytes

        public com.google.protobuf.ByteString getLabelsBytes​(int index)
         Labels applied to the cell by a
         [RowFilter][google.bigtable.v2.RowFilter].  Labels are only set
         on the first CellChunk per cell.
         
        repeated string labels = 5;
        Specified by:
        getLabelsBytes in interface ReadRowsResponse.CellChunkOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the labels at the given index.
      • setLabels

        public ReadRowsResponse.CellChunk.Builder setLabels​(int index,
                                                            String value)
         Labels applied to the cell by a
         [RowFilter][google.bigtable.v2.RowFilter].  Labels are only set
         on the first CellChunk per cell.
         
        repeated string labels = 5;
        Parameters:
        index - The index to set the value at.
        value - The labels to set.
        Returns:
        This builder for chaining.
      • addLabels

        public ReadRowsResponse.CellChunk.Builder addLabels​(String value)
         Labels applied to the cell by a
         [RowFilter][google.bigtable.v2.RowFilter].  Labels are only set
         on the first CellChunk per cell.
         
        repeated string labels = 5;
        Parameters:
        value - The labels to add.
        Returns:
        This builder for chaining.
      • addAllLabels

        public ReadRowsResponse.CellChunk.Builder addAllLabels​(Iterable<String> values)
         Labels applied to the cell by a
         [RowFilter][google.bigtable.v2.RowFilter].  Labels are only set
         on the first CellChunk per cell.
         
        repeated string labels = 5;
        Parameters:
        values - The labels to add.
        Returns:
        This builder for chaining.
      • clearLabels

        public ReadRowsResponse.CellChunk.Builder clearLabels()
         Labels applied to the cell by a
         [RowFilter][google.bigtable.v2.RowFilter].  Labels are only set
         on the first CellChunk per cell.
         
        repeated string labels = 5;
        Returns:
        This builder for chaining.
      • addLabelsBytes

        public ReadRowsResponse.CellChunk.Builder addLabelsBytes​(com.google.protobuf.ByteString value)
         Labels applied to the cell by a
         [RowFilter][google.bigtable.v2.RowFilter].  Labels are only set
         on the first CellChunk per cell.
         
        repeated string labels = 5;
        Parameters:
        value - The bytes of the labels to add.
        Returns:
        This builder for chaining.
      • getValue

        public com.google.protobuf.ByteString getValue()
         The value stored in the cell.  Cell values can be split across
         multiple CellChunks.  In that case only the value field will be
         set in CellChunks after the first: the timestamp and labels
         will only be present in the first CellChunk, even if the first
         CellChunk came in a previous ReadRowsResponse.
         
        bytes value = 6;
        Specified by:
        getValue in interface ReadRowsResponse.CellChunkOrBuilder
        Returns:
        The value.
      • setValue

        public ReadRowsResponse.CellChunk.Builder setValue​(com.google.protobuf.ByteString value)
         The value stored in the cell.  Cell values can be split across
         multiple CellChunks.  In that case only the value field will be
         set in CellChunks after the first: the timestamp and labels
         will only be present in the first CellChunk, even if the first
         CellChunk came in a previous ReadRowsResponse.
         
        bytes value = 6;
        Parameters:
        value - The value to set.
        Returns:
        This builder for chaining.
      • clearValue

        public ReadRowsResponse.CellChunk.Builder clearValue()
         The value stored in the cell.  Cell values can be split across
         multiple CellChunks.  In that case only the value field will be
         set in CellChunks after the first: the timestamp and labels
         will only be present in the first CellChunk, even if the first
         CellChunk came in a previous ReadRowsResponse.
         
        bytes value = 6;
        Returns:
        This builder for chaining.
      • getValueSize

        public int getValueSize()
         If this CellChunk is part of a chunked cell value and this is
         not the final chunk of that cell, value_size will be set to the
         total length of the cell value.  The client can use this size
         to pre-allocate memory to hold the full cell value.
         
        int32 value_size = 7;
        Specified by:
        getValueSize in interface ReadRowsResponse.CellChunkOrBuilder
        Returns:
        The valueSize.
      • setValueSize

        public ReadRowsResponse.CellChunk.Builder setValueSize​(int value)
         If this CellChunk is part of a chunked cell value and this is
         not the final chunk of that cell, value_size will be set to the
         total length of the cell value.  The client can use this size
         to pre-allocate memory to hold the full cell value.
         
        int32 value_size = 7;
        Parameters:
        value - The valueSize to set.
        Returns:
        This builder for chaining.
      • clearValueSize

        public ReadRowsResponse.CellChunk.Builder clearValueSize()
         If this CellChunk is part of a chunked cell value and this is
         not the final chunk of that cell, value_size will be set to the
         total length of the cell value.  The client can use this size
         to pre-allocate memory to hold the full cell value.
         
        int32 value_size = 7;
        Returns:
        This builder for chaining.
      • hasResetRow

        public boolean hasResetRow()
         Indicates that the client should drop all previous chunks for
         `row_key`, as it will be re-read from the beginning.
         
        bool reset_row = 8;
        Specified by:
        hasResetRow in interface ReadRowsResponse.CellChunkOrBuilder
        Returns:
        Whether the resetRow field is set.
      • getResetRow

        public boolean getResetRow()
         Indicates that the client should drop all previous chunks for
         `row_key`, as it will be re-read from the beginning.
         
        bool reset_row = 8;
        Specified by:
        getResetRow in interface ReadRowsResponse.CellChunkOrBuilder
        Returns:
        The resetRow.
      • setResetRow

        public ReadRowsResponse.CellChunk.Builder setResetRow​(boolean value)
         Indicates that the client should drop all previous chunks for
         `row_key`, as it will be re-read from the beginning.
         
        bool reset_row = 8;
        Parameters:
        value - The resetRow to set.
        Returns:
        This builder for chaining.
      • clearResetRow

        public ReadRowsResponse.CellChunk.Builder clearResetRow()
         Indicates that the client should drop all previous chunks for
         `row_key`, as it will be re-read from the beginning.
         
        bool reset_row = 8;
        Returns:
        This builder for chaining.
      • hasCommitRow

        public boolean hasCommitRow()
         Indicates that the client can safely process all previous chunks for
         `row_key`, as its data has been fully read.
         
        bool commit_row = 9;
        Specified by:
        hasCommitRow in interface ReadRowsResponse.CellChunkOrBuilder
        Returns:
        Whether the commitRow field is set.
      • getCommitRow

        public boolean getCommitRow()
         Indicates that the client can safely process all previous chunks for
         `row_key`, as its data has been fully read.
         
        bool commit_row = 9;
        Specified by:
        getCommitRow in interface ReadRowsResponse.CellChunkOrBuilder
        Returns:
        The commitRow.
      • setCommitRow

        public ReadRowsResponse.CellChunk.Builder setCommitRow​(boolean value)
         Indicates that the client can safely process all previous chunks for
         `row_key`, as its data has been fully read.
         
        bool commit_row = 9;
        Parameters:
        value - The commitRow to set.
        Returns:
        This builder for chaining.
      • clearCommitRow

        public ReadRowsResponse.CellChunk.Builder clearCommitRow()
         Indicates that the client can safely process all previous chunks for
         `row_key`, as its data has been fully read.
         
        bool commit_row = 9;
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final ReadRowsResponse.CellChunk.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ReadRowsResponse.CellChunk.Builder>
      • mergeUnknownFields

        public final ReadRowsResponse.CellChunk.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ReadRowsResponse.CellChunk.Builder>