Class: Google::Cloud::Bigtable::V2::Mutation

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/bigtable/v2/data.rb

Overview

Specifies a particular change to be made to the contents of a row.

Defined Under Namespace

Classes: AddToCell, DeleteFromColumn, DeleteFromFamily, DeleteFromRow, MergeToCell, SetCell

Instance Attribute Summary collapse

Instance Attribute Details

#add_to_cell::Google::Cloud::Bigtable::V2::Mutation::AddToCell

Returns Incrementally updates an Aggregate cell.

Returns:



539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
# File 'proto_docs/google/bigtable/v2/data.rb', line 539

class Mutation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # A Mutation which sets the value of the specified cell.
  # @!attribute [rw] family_name
  #   @return [::String]
  #     The name of the family into which new data should be written.
  #     Must match `[-_.a-zA-Z0-9]+`
  # @!attribute [rw] column_qualifier
  #   @return [::String]
  #     The qualifier of the column into which new data should be written.
  #     Can be any byte string, including the empty string.
  # @!attribute [rw] timestamp_micros
  #   @return [::Integer]
  #     The timestamp of the cell into which new data should be written.
  #     Use -1 for current Bigtable server time.
  #     Otherwise, the client should set this value itself, noting that the
  #     default value is a timestamp of zero if the field is left unspecified.
  #     Values must match the granularity of the table (e.g. micros, millis).
  # @!attribute [rw] value
  #   @return [::String]
  #     The value to be written into the specified cell.
  class SetCell
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A Mutation which incrementally updates a cell in an `Aggregate` family.
  # @!attribute [rw] family_name
  #   @return [::String]
  #     The name of the `Aggregate` family into which new data should be added.
  #     This must be a family with a `value_type` of `Aggregate`.
  #     Format: `[-_.a-zA-Z0-9]+`
  # @!attribute [rw] column_qualifier
  #   @return [::Google::Cloud::Bigtable::V2::Value]
  #     The qualifier of the column into which new data should be added. This
  #     must be a `raw_value`.
  # @!attribute [rw] timestamp
  #   @return [::Google::Cloud::Bigtable::V2::Value]
  #     The timestamp of the cell to which new data should be added. This must
  #     be a `raw_timestamp_micros` that matches the table's `granularity`.
  # @!attribute [rw] input
  #   @return [::Google::Cloud::Bigtable::V2::Value]
  #     The input value to be accumulated into the specified cell. This must be
  #     compatible with the family's `value_type.input_type`.
  class AddToCell
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A Mutation which merges accumulated state into a cell in an `Aggregate`
  # family.
  # @!attribute [rw] family_name
  #   @return [::String]
  #     The name of the `Aggregate` family into which new data should be added.
  #     This must be a family with a `value_type` of `Aggregate`.
  #     Format: `[-_.a-zA-Z0-9]+`
  # @!attribute [rw] column_qualifier
  #   @return [::Google::Cloud::Bigtable::V2::Value]
  #     The qualifier of the column into which new data should be added. This
  #     must be a `raw_value`.
  # @!attribute [rw] timestamp
  #   @return [::Google::Cloud::Bigtable::V2::Value]
  #     The timestamp of the cell to which new data should be added. This must
  #     be a `raw_timestamp_micros` that matches the table's `granularity`.
  # @!attribute [rw] input
  #   @return [::Google::Cloud::Bigtable::V2::Value]
  #     The input value to be merged into the specified cell. This must be
  #     compatible with the family's `value_type.state_type`. Merging `NULL` is
  #     allowed, but has no effect.
  class MergeToCell
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A Mutation which deletes cells from the specified column, optionally
  # restricting the deletions to a given timestamp range.
  # @!attribute [rw] family_name
  #   @return [::String]
  #     The name of the family from which cells should be deleted.
  #     Must match `[-_.a-zA-Z0-9]+`
  # @!attribute [rw] column_qualifier
  #   @return [::String]
  #     The qualifier of the column from which cells should be deleted.
  #     Can be any byte string, including the empty string.
  # @!attribute [rw] time_range
  #   @return [::Google::Cloud::Bigtable::V2::TimestampRange]
  #     The range of timestamps within which cells should be deleted.
  class DeleteFromColumn
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A Mutation which deletes all cells from the specified column family.
  # @!attribute [rw] family_name
  #   @return [::String]
  #     The name of the family from which cells should be deleted.
  #     Must match `[-_.a-zA-Z0-9]+`
  class DeleteFromFamily
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A Mutation which deletes all cells from the containing row.
  class DeleteFromRow
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#delete_from_column::Google::Cloud::Bigtable::V2::Mutation::DeleteFromColumn

Returns Deletes cells from a column.

Returns:



539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
# File 'proto_docs/google/bigtable/v2/data.rb', line 539

class Mutation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # A Mutation which sets the value of the specified cell.
  # @!attribute [rw] family_name
  #   @return [::String]
  #     The name of the family into which new data should be written.
  #     Must match `[-_.a-zA-Z0-9]+`
  # @!attribute [rw] column_qualifier
  #   @return [::String]
  #     The qualifier of the column into which new data should be written.
  #     Can be any byte string, including the empty string.
  # @!attribute [rw] timestamp_micros
  #   @return [::Integer]
  #     The timestamp of the cell into which new data should be written.
  #     Use -1 for current Bigtable server time.
  #     Otherwise, the client should set this value itself, noting that the
  #     default value is a timestamp of zero if the field is left unspecified.
  #     Values must match the granularity of the table (e.g. micros, millis).
  # @!attribute [rw] value
  #   @return [::String]
  #     The value to be written into the specified cell.
  class SetCell
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A Mutation which incrementally updates a cell in an `Aggregate` family.
  # @!attribute [rw] family_name
  #   @return [::String]
  #     The name of the `Aggregate` family into which new data should be added.
  #     This must be a family with a `value_type` of `Aggregate`.
  #     Format: `[-_.a-zA-Z0-9]+`
  # @!attribute [rw] column_qualifier
  #   @return [::Google::Cloud::Bigtable::V2::Value]
  #     The qualifier of the column into which new data should be added. This
  #     must be a `raw_value`.
  # @!attribute [rw] timestamp
  #   @return [::Google::Cloud::Bigtable::V2::Value]
  #     The timestamp of the cell to which new data should be added. This must
  #     be a `raw_timestamp_micros` that matches the table's `granularity`.
  # @!attribute [rw] input
  #   @return [::Google::Cloud::Bigtable::V2::Value]
  #     The input value to be accumulated into the specified cell. This must be
  #     compatible with the family's `value_type.input_type`.
  class AddToCell
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A Mutation which merges accumulated state into a cell in an `Aggregate`
  # family.
  # @!attribute [rw] family_name
  #   @return [::String]
  #     The name of the `Aggregate` family into which new data should be added.
  #     This must be a family with a `value_type` of `Aggregate`.
  #     Format: `[-_.a-zA-Z0-9]+`
  # @!attribute [rw] column_qualifier
  #   @return [::Google::Cloud::Bigtable::V2::Value]
  #     The qualifier of the column into which new data should be added. This
  #     must be a `raw_value`.
  # @!attribute [rw] timestamp
  #   @return [::Google::Cloud::Bigtable::V2::Value]
  #     The timestamp of the cell to which new data should be added. This must
  #     be a `raw_timestamp_micros` that matches the table's `granularity`.
  # @!attribute [rw] input
  #   @return [::Google::Cloud::Bigtable::V2::Value]
  #     The input value to be merged into the specified cell. This must be
  #     compatible with the family's `value_type.state_type`. Merging `NULL` is
  #     allowed, but has no effect.
  class MergeToCell
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A Mutation which deletes cells from the specified column, optionally
  # restricting the deletions to a given timestamp range.
  # @!attribute [rw] family_name
  #   @return [::String]
  #     The name of the family from which cells should be deleted.
  #     Must match `[-_.a-zA-Z0-9]+`
  # @!attribute [rw] column_qualifier
  #   @return [::String]
  #     The qualifier of the column from which cells should be deleted.
  #     Can be any byte string, including the empty string.
  # @!attribute [rw] time_range
  #   @return [::Google::Cloud::Bigtable::V2::TimestampRange]
  #     The range of timestamps within which cells should be deleted.
  class DeleteFromColumn
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A Mutation which deletes all cells from the specified column family.
  # @!attribute [rw] family_name
  #   @return [::String]
  #     The name of the family from which cells should be deleted.
  #     Must match `[-_.a-zA-Z0-9]+`
  class DeleteFromFamily
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A Mutation which deletes all cells from the containing row.
  class DeleteFromRow
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#delete_from_family::Google::Cloud::Bigtable::V2::Mutation::DeleteFromFamily

Returns Deletes cells from a column family.

Returns:



539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
# File 'proto_docs/google/bigtable/v2/data.rb', line 539

class Mutation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # A Mutation which sets the value of the specified cell.
  # @!attribute [rw] family_name
  #   @return [::String]
  #     The name of the family into which new data should be written.
  #     Must match `[-_.a-zA-Z0-9]+`
  # @!attribute [rw] column_qualifier
  #   @return [::String]
  #     The qualifier of the column into which new data should be written.
  #     Can be any byte string, including the empty string.
  # @!attribute [rw] timestamp_micros
  #   @return [::Integer]
  #     The timestamp of the cell into which new data should be written.
  #     Use -1 for current Bigtable server time.
  #     Otherwise, the client should set this value itself, noting that the
  #     default value is a timestamp of zero if the field is left unspecified.
  #     Values must match the granularity of the table (e.g. micros, millis).
  # @!attribute [rw] value
  #   @return [::String]
  #     The value to be written into the specified cell.
  class SetCell
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A Mutation which incrementally updates a cell in an `Aggregate` family.
  # @!attribute [rw] family_name
  #   @return [::String]
  #     The name of the `Aggregate` family into which new data should be added.
  #     This must be a family with a `value_type` of `Aggregate`.
  #     Format: `[-_.a-zA-Z0-9]+`
  # @!attribute [rw] column_qualifier
  #   @return [::Google::Cloud::Bigtable::V2::Value]
  #     The qualifier of the column into which new data should be added. This
  #     must be a `raw_value`.
  # @!attribute [rw] timestamp
  #   @return [::Google::Cloud::Bigtable::V2::Value]
  #     The timestamp of the cell to which new data should be added. This must
  #     be a `raw_timestamp_micros` that matches the table's `granularity`.
  # @!attribute [rw] input
  #   @return [::Google::Cloud::Bigtable::V2::Value]
  #     The input value to be accumulated into the specified cell. This must be
  #     compatible with the family's `value_type.input_type`.
  class AddToCell
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A Mutation which merges accumulated state into a cell in an `Aggregate`
  # family.
  # @!attribute [rw] family_name
  #   @return [::String]
  #     The name of the `Aggregate` family into which new data should be added.
  #     This must be a family with a `value_type` of `Aggregate`.
  #     Format: `[-_.a-zA-Z0-9]+`
  # @!attribute [rw] column_qualifier
  #   @return [::Google::Cloud::Bigtable::V2::Value]
  #     The qualifier of the column into which new data should be added. This
  #     must be a `raw_value`.
  # @!attribute [rw] timestamp
  #   @return [::Google::Cloud::Bigtable::V2::Value]
  #     The timestamp of the cell to which new data should be added. This must
  #     be a `raw_timestamp_micros` that matches the table's `granularity`.
  # @!attribute [rw] input
  #   @return [::Google::Cloud::Bigtable::V2::Value]
  #     The input value to be merged into the specified cell. This must be
  #     compatible with the family's `value_type.state_type`. Merging `NULL` is
  #     allowed, but has no effect.
  class MergeToCell
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A Mutation which deletes cells from the specified column, optionally
  # restricting the deletions to a given timestamp range.
  # @!attribute [rw] family_name
  #   @return [::String]
  #     The name of the family from which cells should be deleted.
  #     Must match `[-_.a-zA-Z0-9]+`
  # @!attribute [rw] column_qualifier
  #   @return [::String]
  #     The qualifier of the column from which cells should be deleted.
  #     Can be any byte string, including the empty string.
  # @!attribute [rw] time_range
  #   @return [::Google::Cloud::Bigtable::V2::TimestampRange]
  #     The range of timestamps within which cells should be deleted.
  class DeleteFromColumn
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A Mutation which deletes all cells from the specified column family.
  # @!attribute [rw] family_name
  #   @return [::String]
  #     The name of the family from which cells should be deleted.
  #     Must match `[-_.a-zA-Z0-9]+`
  class DeleteFromFamily
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A Mutation which deletes all cells from the containing row.
  class DeleteFromRow
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#delete_from_row::Google::Cloud::Bigtable::V2::Mutation::DeleteFromRow

Returns Deletes cells from the entire row.

Returns:



539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
# File 'proto_docs/google/bigtable/v2/data.rb', line 539

class Mutation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # A Mutation which sets the value of the specified cell.
  # @!attribute [rw] family_name
  #   @return [::String]
  #     The name of the family into which new data should be written.
  #     Must match `[-_.a-zA-Z0-9]+`
  # @!attribute [rw] column_qualifier
  #   @return [::String]
  #     The qualifier of the column into which new data should be written.
  #     Can be any byte string, including the empty string.
  # @!attribute [rw] timestamp_micros
  #   @return [::Integer]
  #     The timestamp of the cell into which new data should be written.
  #     Use -1 for current Bigtable server time.
  #     Otherwise, the client should set this value itself, noting that the
  #     default value is a timestamp of zero if the field is left unspecified.
  #     Values must match the granularity of the table (e.g. micros, millis).
  # @!attribute [rw] value
  #   @return [::String]
  #     The value to be written into the specified cell.
  class SetCell
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A Mutation which incrementally updates a cell in an `Aggregate` family.
  # @!attribute [rw] family_name
  #   @return [::String]
  #     The name of the `Aggregate` family into which new data should be added.
  #     This must be a family with a `value_type` of `Aggregate`.
  #     Format: `[-_.a-zA-Z0-9]+`
  # @!attribute [rw] column_qualifier
  #   @return [::Google::Cloud::Bigtable::V2::Value]
  #     The qualifier of the column into which new data should be added. This
  #     must be a `raw_value`.
  # @!attribute [rw] timestamp
  #   @return [::Google::Cloud::Bigtable::V2::Value]
  #     The timestamp of the cell to which new data should be added. This must
  #     be a `raw_timestamp_micros` that matches the table's `granularity`.
  # @!attribute [rw] input
  #   @return [::Google::Cloud::Bigtable::V2::Value]
  #     The input value to be accumulated into the specified cell. This must be
  #     compatible with the family's `value_type.input_type`.
  class AddToCell
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A Mutation which merges accumulated state into a cell in an `Aggregate`
  # family.
  # @!attribute [rw] family_name
  #   @return [::String]
  #     The name of the `Aggregate` family into which new data should be added.
  #     This must be a family with a `value_type` of `Aggregate`.
  #     Format: `[-_.a-zA-Z0-9]+`
  # @!attribute [rw] column_qualifier
  #   @return [::Google::Cloud::Bigtable::V2::Value]
  #     The qualifier of the column into which new data should be added. This
  #     must be a `raw_value`.
  # @!attribute [rw] timestamp
  #   @return [::Google::Cloud::Bigtable::V2::Value]
  #     The timestamp of the cell to which new data should be added. This must
  #     be a `raw_timestamp_micros` that matches the table's `granularity`.
  # @!attribute [rw] input
  #   @return [::Google::Cloud::Bigtable::V2::Value]
  #     The input value to be merged into the specified cell. This must be
  #     compatible with the family's `value_type.state_type`. Merging `NULL` is
  #     allowed, but has no effect.
  class MergeToCell
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A Mutation which deletes cells from the specified column, optionally
  # restricting the deletions to a given timestamp range.
  # @!attribute [rw] family_name
  #   @return [::String]
  #     The name of the family from which cells should be deleted.
  #     Must match `[-_.a-zA-Z0-9]+`
  # @!attribute [rw] column_qualifier
  #   @return [::String]
  #     The qualifier of the column from which cells should be deleted.
  #     Can be any byte string, including the empty string.
  # @!attribute [rw] time_range
  #   @return [::Google::Cloud::Bigtable::V2::TimestampRange]
  #     The range of timestamps within which cells should be deleted.
  class DeleteFromColumn
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A Mutation which deletes all cells from the specified column family.
  # @!attribute [rw] family_name
  #   @return [::String]
  #     The name of the family from which cells should be deleted.
  #     Must match `[-_.a-zA-Z0-9]+`
  class DeleteFromFamily
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A Mutation which deletes all cells from the containing row.
  class DeleteFromRow
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#merge_to_cell::Google::Cloud::Bigtable::V2::Mutation::MergeToCell

Returns Merges accumulated state to an Aggregate cell.

Returns:



539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
# File 'proto_docs/google/bigtable/v2/data.rb', line 539

class Mutation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # A Mutation which sets the value of the specified cell.
  # @!attribute [rw] family_name
  #   @return [::String]
  #     The name of the family into which new data should be written.
  #     Must match `[-_.a-zA-Z0-9]+`
  # @!attribute [rw] column_qualifier
  #   @return [::String]
  #     The qualifier of the column into which new data should be written.
  #     Can be any byte string, including the empty string.
  # @!attribute [rw] timestamp_micros
  #   @return [::Integer]
  #     The timestamp of the cell into which new data should be written.
  #     Use -1 for current Bigtable server time.
  #     Otherwise, the client should set this value itself, noting that the
  #     default value is a timestamp of zero if the field is left unspecified.
  #     Values must match the granularity of the table (e.g. micros, millis).
  # @!attribute [rw] value
  #   @return [::String]
  #     The value to be written into the specified cell.
  class SetCell
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A Mutation which incrementally updates a cell in an `Aggregate` family.
  # @!attribute [rw] family_name
  #   @return [::String]
  #     The name of the `Aggregate` family into which new data should be added.
  #     This must be a family with a `value_type` of `Aggregate`.
  #     Format: `[-_.a-zA-Z0-9]+`
  # @!attribute [rw] column_qualifier
  #   @return [::Google::Cloud::Bigtable::V2::Value]
  #     The qualifier of the column into which new data should be added. This
  #     must be a `raw_value`.
  # @!attribute [rw] timestamp
  #   @return [::Google::Cloud::Bigtable::V2::Value]
  #     The timestamp of the cell to which new data should be added. This must
  #     be a `raw_timestamp_micros` that matches the table's `granularity`.
  # @!attribute [rw] input
  #   @return [::Google::Cloud::Bigtable::V2::Value]
  #     The input value to be accumulated into the specified cell. This must be
  #     compatible with the family's `value_type.input_type`.
  class AddToCell
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A Mutation which merges accumulated state into a cell in an `Aggregate`
  # family.
  # @!attribute [rw] family_name
  #   @return [::String]
  #     The name of the `Aggregate` family into which new data should be added.
  #     This must be a family with a `value_type` of `Aggregate`.
  #     Format: `[-_.a-zA-Z0-9]+`
  # @!attribute [rw] column_qualifier
  #   @return [::Google::Cloud::Bigtable::V2::Value]
  #     The qualifier of the column into which new data should be added. This
  #     must be a `raw_value`.
  # @!attribute [rw] timestamp
  #   @return [::Google::Cloud::Bigtable::V2::Value]
  #     The timestamp of the cell to which new data should be added. This must
  #     be a `raw_timestamp_micros` that matches the table's `granularity`.
  # @!attribute [rw] input
  #   @return [::Google::Cloud::Bigtable::V2::Value]
  #     The input value to be merged into the specified cell. This must be
  #     compatible with the family's `value_type.state_type`. Merging `NULL` is
  #     allowed, but has no effect.
  class MergeToCell
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A Mutation which deletes cells from the specified column, optionally
  # restricting the deletions to a given timestamp range.
  # @!attribute [rw] family_name
  #   @return [::String]
  #     The name of the family from which cells should be deleted.
  #     Must match `[-_.a-zA-Z0-9]+`
  # @!attribute [rw] column_qualifier
  #   @return [::String]
  #     The qualifier of the column from which cells should be deleted.
  #     Can be any byte string, including the empty string.
  # @!attribute [rw] time_range
  #   @return [::Google::Cloud::Bigtable::V2::TimestampRange]
  #     The range of timestamps within which cells should be deleted.
  class DeleteFromColumn
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A Mutation which deletes all cells from the specified column family.
  # @!attribute [rw] family_name
  #   @return [::String]
  #     The name of the family from which cells should be deleted.
  #     Must match `[-_.a-zA-Z0-9]+`
  class DeleteFromFamily
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A Mutation which deletes all cells from the containing row.
  class DeleteFromRow
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#set_cell::Google::Cloud::Bigtable::V2::Mutation::SetCell

Returns Set a cell's value.

Returns:



539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
# File 'proto_docs/google/bigtable/v2/data.rb', line 539

class Mutation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # A Mutation which sets the value of the specified cell.
  # @!attribute [rw] family_name
  #   @return [::String]
  #     The name of the family into which new data should be written.
  #     Must match `[-_.a-zA-Z0-9]+`
  # @!attribute [rw] column_qualifier
  #   @return [::String]
  #     The qualifier of the column into which new data should be written.
  #     Can be any byte string, including the empty string.
  # @!attribute [rw] timestamp_micros
  #   @return [::Integer]
  #     The timestamp of the cell into which new data should be written.
  #     Use -1 for current Bigtable server time.
  #     Otherwise, the client should set this value itself, noting that the
  #     default value is a timestamp of zero if the field is left unspecified.
  #     Values must match the granularity of the table (e.g. micros, millis).
  # @!attribute [rw] value
  #   @return [::String]
  #     The value to be written into the specified cell.
  class SetCell
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A Mutation which incrementally updates a cell in an `Aggregate` family.
  # @!attribute [rw] family_name
  #   @return [::String]
  #     The name of the `Aggregate` family into which new data should be added.
  #     This must be a family with a `value_type` of `Aggregate`.
  #     Format: `[-_.a-zA-Z0-9]+`
  # @!attribute [rw] column_qualifier
  #   @return [::Google::Cloud::Bigtable::V2::Value]
  #     The qualifier of the column into which new data should be added. This
  #     must be a `raw_value`.
  # @!attribute [rw] timestamp
  #   @return [::Google::Cloud::Bigtable::V2::Value]
  #     The timestamp of the cell to which new data should be added. This must
  #     be a `raw_timestamp_micros` that matches the table's `granularity`.
  # @!attribute [rw] input
  #   @return [::Google::Cloud::Bigtable::V2::Value]
  #     The input value to be accumulated into the specified cell. This must be
  #     compatible with the family's `value_type.input_type`.
  class AddToCell
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A Mutation which merges accumulated state into a cell in an `Aggregate`
  # family.
  # @!attribute [rw] family_name
  #   @return [::String]
  #     The name of the `Aggregate` family into which new data should be added.
  #     This must be a family with a `value_type` of `Aggregate`.
  #     Format: `[-_.a-zA-Z0-9]+`
  # @!attribute [rw] column_qualifier
  #   @return [::Google::Cloud::Bigtable::V2::Value]
  #     The qualifier of the column into which new data should be added. This
  #     must be a `raw_value`.
  # @!attribute [rw] timestamp
  #   @return [::Google::Cloud::Bigtable::V2::Value]
  #     The timestamp of the cell to which new data should be added. This must
  #     be a `raw_timestamp_micros` that matches the table's `granularity`.
  # @!attribute [rw] input
  #   @return [::Google::Cloud::Bigtable::V2::Value]
  #     The input value to be merged into the specified cell. This must be
  #     compatible with the family's `value_type.state_type`. Merging `NULL` is
  #     allowed, but has no effect.
  class MergeToCell
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A Mutation which deletes cells from the specified column, optionally
  # restricting the deletions to a given timestamp range.
  # @!attribute [rw] family_name
  #   @return [::String]
  #     The name of the family from which cells should be deleted.
  #     Must match `[-_.a-zA-Z0-9]+`
  # @!attribute [rw] column_qualifier
  #   @return [::String]
  #     The qualifier of the column from which cells should be deleted.
  #     Can be any byte string, including the empty string.
  # @!attribute [rw] time_range
  #   @return [::Google::Cloud::Bigtable::V2::TimestampRange]
  #     The range of timestamps within which cells should be deleted.
  class DeleteFromColumn
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A Mutation which deletes all cells from the specified column family.
  # @!attribute [rw] family_name
  #   @return [::String]
  #     The name of the family from which cells should be deleted.
  #     Must match `[-_.a-zA-Z0-9]+`
  class DeleteFromFamily
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A Mutation which deletes all cells from the containing row.
  class DeleteFromRow
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end