Class Column.Builder

  • All Implemented Interfaces:
    ColumnOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
    Enclosing class:
    Column

    public static final class Column.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<Column.Builder>
    implements ColumnOrBuilder
     Specifies (some of) the contents of a single row/column intersection of a
     table.
     
    Protobuf type google.bigtable.v2.Column
    • 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<Column.Builder>
      • clear

        public Column.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<Column.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<Column.Builder>
      • getDefaultInstanceForType

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

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

        public Column buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public Column.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<Column.Builder>
      • setField

        public Column.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                       Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<Column.Builder>
      • clearField

        public Column.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<Column.Builder>
      • clearOneof

        public Column.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Column.Builder>
      • setRepeatedField

        public Column.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                               int index,
                                               Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Column.Builder>
      • addRepeatedField

        public Column.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                               Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Column.Builder>
      • mergeFrom

        public Column.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Column.Builder>
      • isInitialized

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

        public Column.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<Column.Builder>
        Throws:
        IOException
      • getQualifier

        public com.google.protobuf.ByteString getQualifier()
         The unique key which identifies this column within its family. This is the
         same key that's used to identify the column in, for example, a RowFilter
         which sets its `column_qualifier_regex_filter` field.
         May contain any byte string, including the empty string, up to 16kiB in
         length.
         
        bytes qualifier = 1;
        Specified by:
        getQualifier in interface ColumnOrBuilder
        Returns:
        The qualifier.
      • setQualifier

        public Column.Builder setQualifier​(com.google.protobuf.ByteString value)
         The unique key which identifies this column within its family. This is the
         same key that's used to identify the column in, for example, a RowFilter
         which sets its `column_qualifier_regex_filter` field.
         May contain any byte string, including the empty string, up to 16kiB in
         length.
         
        bytes qualifier = 1;
        Parameters:
        value - The qualifier to set.
        Returns:
        This builder for chaining.
      • clearQualifier

        public Column.Builder clearQualifier()
         The unique key which identifies this column within its family. This is the
         same key that's used to identify the column in, for example, a RowFilter
         which sets its `column_qualifier_regex_filter` field.
         May contain any byte string, including the empty string, up to 16kiB in
         length.
         
        bytes qualifier = 1;
        Returns:
        This builder for chaining.
      • getCellsList

        public List<Cell> getCellsList()
         Must not be empty. Sorted in order of decreasing "timestamp_micros".
         
        repeated .google.bigtable.v2.Cell cells = 2;
        Specified by:
        getCellsList in interface ColumnOrBuilder
      • getCellsCount

        public int getCellsCount()
         Must not be empty. Sorted in order of decreasing "timestamp_micros".
         
        repeated .google.bigtable.v2.Cell cells = 2;
        Specified by:
        getCellsCount in interface ColumnOrBuilder
      • getCells

        public Cell getCells​(int index)
         Must not be empty. Sorted in order of decreasing "timestamp_micros".
         
        repeated .google.bigtable.v2.Cell cells = 2;
        Specified by:
        getCells in interface ColumnOrBuilder
      • setCells

        public Column.Builder setCells​(int index,
                                       Cell value)
         Must not be empty. Sorted in order of decreasing "timestamp_micros".
         
        repeated .google.bigtable.v2.Cell cells = 2;
      • setCells

        public Column.Builder setCells​(int index,
                                       Cell.Builder builderForValue)
         Must not be empty. Sorted in order of decreasing "timestamp_micros".
         
        repeated .google.bigtable.v2.Cell cells = 2;
      • addCells

        public Column.Builder addCells​(Cell value)
         Must not be empty. Sorted in order of decreasing "timestamp_micros".
         
        repeated .google.bigtable.v2.Cell cells = 2;
      • addCells

        public Column.Builder addCells​(int index,
                                       Cell value)
         Must not be empty. Sorted in order of decreasing "timestamp_micros".
         
        repeated .google.bigtable.v2.Cell cells = 2;
      • addCells

        public Column.Builder addCells​(Cell.Builder builderForValue)
         Must not be empty. Sorted in order of decreasing "timestamp_micros".
         
        repeated .google.bigtable.v2.Cell cells = 2;
      • addCells

        public Column.Builder addCells​(int index,
                                       Cell.Builder builderForValue)
         Must not be empty. Sorted in order of decreasing "timestamp_micros".
         
        repeated .google.bigtable.v2.Cell cells = 2;
      • addAllCells

        public Column.Builder addAllCells​(Iterable<? extends Cell> values)
         Must not be empty. Sorted in order of decreasing "timestamp_micros".
         
        repeated .google.bigtable.v2.Cell cells = 2;
      • clearCells

        public Column.Builder clearCells()
         Must not be empty. Sorted in order of decreasing "timestamp_micros".
         
        repeated .google.bigtable.v2.Cell cells = 2;
      • removeCells

        public Column.Builder removeCells​(int index)
         Must not be empty. Sorted in order of decreasing "timestamp_micros".
         
        repeated .google.bigtable.v2.Cell cells = 2;
      • getCellsBuilder

        public Cell.Builder getCellsBuilder​(int index)
         Must not be empty. Sorted in order of decreasing "timestamp_micros".
         
        repeated .google.bigtable.v2.Cell cells = 2;
      • getCellsOrBuilder

        public CellOrBuilder getCellsOrBuilder​(int index)
         Must not be empty. Sorted in order of decreasing "timestamp_micros".
         
        repeated .google.bigtable.v2.Cell cells = 2;
        Specified by:
        getCellsOrBuilder in interface ColumnOrBuilder
      • getCellsOrBuilderList

        public List<? extends CellOrBuilder> getCellsOrBuilderList()
         Must not be empty. Sorted in order of decreasing "timestamp_micros".
         
        repeated .google.bigtable.v2.Cell cells = 2;
        Specified by:
        getCellsOrBuilderList in interface ColumnOrBuilder
      • addCellsBuilder

        public Cell.Builder addCellsBuilder()
         Must not be empty. Sorted in order of decreasing "timestamp_micros".
         
        repeated .google.bigtable.v2.Cell cells = 2;
      • addCellsBuilder

        public Cell.Builder addCellsBuilder​(int index)
         Must not be empty. Sorted in order of decreasing "timestamp_micros".
         
        repeated .google.bigtable.v2.Cell cells = 2;
      • getCellsBuilderList

        public List<Cell.Builder> getCellsBuilderList()
         Must not be empty. Sorted in order of decreasing "timestamp_micros".
         
        repeated .google.bigtable.v2.Cell cells = 2;
      • setUnknownFields

        public final Column.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<Column.Builder>
      • mergeUnknownFields

        public final Column.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<Column.Builder>