Class: Google::Cloud::Bigtable::V2::Type::String

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

Overview

String Values of type String are stored in Value.string_value.

Defined Under Namespace

Classes: Encoding

Instance Attribute Summary collapse

Instance Attribute Details

#encoding::Google::Cloud::Bigtable::V2::Type::String::Encoding

Returns The encoding to use when converting to/from lower level types.

Returns:



121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
# File 'proto_docs/google/bigtable/v2/types.rb', line 121

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

  # Rules used to convert to/from lower level types.
  # @!attribute [rw] utf8_raw
  #   @deprecated This field is deprecated and may be removed in the next major version update.
  #   @return [::Google::Cloud::Bigtable::V2::Type::String::Encoding::Utf8Raw]
  #     Deprecated: if set, converts to an empty `utf8_bytes`.
  # @!attribute [rw] utf8_bytes
  #   @return [::Google::Cloud::Bigtable::V2::Type::String::Encoding::Utf8Bytes]
  #     Use `Utf8Bytes` encoding.
  class Encoding
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Deprecated: prefer the equivalent `Utf8Bytes`.
    # @deprecated This message is deprecated and may be removed in the next major version update.
    class Utf8Raw
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end

    # UTF-8 encoding
    # * Order-preserving? Yes (code point order)
    # * Self-delimiting? No
    # * Compatibility?
    #    - BigQuery Federation `TEXT` encoding
    #    - HBase `Bytes.toBytes`
    #    - Java `String#getBytes(StandardCharsets.UTF_8)`
    class Utf8Bytes
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end
end