Class Type.String.Encoding.Utf8Bytes.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Type.String.Encoding.Utf8Bytes.Builder>
com.google.bigtable.v2.Type.String.Encoding.Utf8Bytes.Builder
All Implemented Interfaces:
Type.String.Encoding.Utf8BytesOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
Type.String.Encoding.Utf8Bytes

public static final class Type.String.Encoding.Utf8Bytes.Builder extends com.google.protobuf.GeneratedMessage.Builder<Type.String.Encoding.Utf8Bytes.Builder> implements Type.String.Encoding.Utf8BytesOrBuilder
 UTF-8 encoding.

 Sorted mode:
 - All values are supported.
 - Code point order is preserved.

 Distinct mode: all values are supported.

 Compatible with:

 - BigQuery `TEXT` encoding
 - HBase `Bytes.toBytes`
 - Java `String#getBytes(StandardCharsets.UTF_8)`
 
Protobuf type google.bigtable.v2.Type.String.Encoding.Utf8Bytes
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<Type.String.Encoding.Utf8Bytes.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.GeneratedMessage.Builder<Type.String.Encoding.Utf8Bytes.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.GeneratedMessage.Builder<Type.String.Encoding.Utf8Bytes.Builder>
    • getDefaultInstanceForType

      public Type.String.Encoding.Utf8Bytes getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public Type.String.Encoding.Utf8Bytes buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public Type.String.Encoding.Utf8Bytes.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<Type.String.Encoding.Utf8Bytes.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<Type.String.Encoding.Utf8Bytes.Builder>
    • mergeFrom

      public Type.String.Encoding.Utf8Bytes.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<Type.String.Encoding.Utf8Bytes.Builder>
      Throws:
      IOException
    • getNullEscapeChar

      public String getNullEscapeChar()
       Single-character escape sequence used to support NULL values.
      
       If set, allows NULL values to be encoded as the empty string "".
      
       The actual empty string, or any value where every character equals
       `null_escape_char`, has one more `null_escape_char` appended.
      
       If `null_escape_char` is set and does not equal the ASCII null
       character `0x00`, then the encoding will not support sorted mode.
      
       .
       
      string null_escape_char = 1;
      Specified by:
      getNullEscapeChar in interface Type.String.Encoding.Utf8BytesOrBuilder
      Returns:
      The nullEscapeChar.
    • getNullEscapeCharBytes

      public com.google.protobuf.ByteString getNullEscapeCharBytes()
       Single-character escape sequence used to support NULL values.
      
       If set, allows NULL values to be encoded as the empty string "".
      
       The actual empty string, or any value where every character equals
       `null_escape_char`, has one more `null_escape_char` appended.
      
       If `null_escape_char` is set and does not equal the ASCII null
       character `0x00`, then the encoding will not support sorted mode.
      
       .
       
      string null_escape_char = 1;
      Specified by:
      getNullEscapeCharBytes in interface Type.String.Encoding.Utf8BytesOrBuilder
      Returns:
      The bytes for nullEscapeChar.
    • setNullEscapeChar

      public Type.String.Encoding.Utf8Bytes.Builder setNullEscapeChar(String value)
       Single-character escape sequence used to support NULL values.
      
       If set, allows NULL values to be encoded as the empty string "".
      
       The actual empty string, or any value where every character equals
       `null_escape_char`, has one more `null_escape_char` appended.
      
       If `null_escape_char` is set and does not equal the ASCII null
       character `0x00`, then the encoding will not support sorted mode.
      
       .
       
      string null_escape_char = 1;
      Parameters:
      value - The nullEscapeChar to set.
      Returns:
      This builder for chaining.
    • clearNullEscapeChar

      public Type.String.Encoding.Utf8Bytes.Builder clearNullEscapeChar()
       Single-character escape sequence used to support NULL values.
      
       If set, allows NULL values to be encoded as the empty string "".
      
       The actual empty string, or any value where every character equals
       `null_escape_char`, has one more `null_escape_char` appended.
      
       If `null_escape_char` is set and does not equal the ASCII null
       character `0x00`, then the encoding will not support sorted mode.
      
       .
       
      string null_escape_char = 1;
      Returns:
      This builder for chaining.
    • setNullEscapeCharBytes

      public Type.String.Encoding.Utf8Bytes.Builder setNullEscapeCharBytes(com.google.protobuf.ByteString value)
       Single-character escape sequence used to support NULL values.
      
       If set, allows NULL values to be encoded as the empty string "".
      
       The actual empty string, or any value where every character equals
       `null_escape_char`, has one more `null_escape_char` appended.
      
       If `null_escape_char` is set and does not equal the ASCII null
       character `0x00`, then the encoding will not support sorted mode.
      
       .
       
      string null_escape_char = 1;
      Parameters:
      value - The bytes for nullEscapeChar to set.
      Returns:
      This builder for chaining.