Class: Google::Cloud::Bigtable::V2::ReadChangeStreamResponse::MutationChunk

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

Overview

A partial or complete mutation.

Defined Under Namespace

Classes: ChunkInfo

Instance Attribute Summary collapse

Instance Attribute Details

#chunk_info::Google::Cloud::Bigtable::V2::ReadChangeStreamResponse::MutationChunk::ChunkInfo

Returns If set, then the mutation is a SetCell with a chunked value across multiple messages.

Returns:



598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
# File 'proto_docs/google/bigtable/v2/bigtable.rb', line 598

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

  # Information about the chunking of this mutation.
  # Only `SetCell` mutations can be chunked, and all chunks for a `SetCell`
  # will be delivered contiguously with no other mutation types interleaved.
  # @!attribute [rw] chunked_value_size
  #   @return [::Integer]
  #     The total value size of all the chunks that make up the `SetCell`.
  # @!attribute [rw] chunked_value_offset
  #   @return [::Integer]
  #     The byte offset of this chunk into the total value size of the
  #     mutation.
  # @!attribute [rw] last_chunk
  #   @return [::Boolean]
  #     When true, this is the last chunk of a chunked `SetCell`.
  class ChunkInfo
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#mutation::Google::Cloud::Bigtable::V2::Mutation

Returns If this is a continuation of a chunked message (chunked_value_offset > 0), ignore all fields except the SetCell's value and merge it with the previous message by concatenating the value fields.

Returns:

  • (::Google::Cloud::Bigtable::V2::Mutation)

    If this is a continuation of a chunked message (chunked_value_offset > 0), ignore all fields except the SetCell's value and merge it with the previous message by concatenating the value fields.



598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
# File 'proto_docs/google/bigtable/v2/bigtable.rb', line 598

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

  # Information about the chunking of this mutation.
  # Only `SetCell` mutations can be chunked, and all chunks for a `SetCell`
  # will be delivered contiguously with no other mutation types interleaved.
  # @!attribute [rw] chunked_value_size
  #   @return [::Integer]
  #     The total value size of all the chunks that make up the `SetCell`.
  # @!attribute [rw] chunked_value_offset
  #   @return [::Integer]
  #     The byte offset of this chunk into the total value size of the
  #     mutation.
  # @!attribute [rw] last_chunk
  #   @return [::Boolean]
  #     When true, this is the last chunk of a chunked `SetCell`.
  class ChunkInfo
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end