Class Value.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<Value.Builder>
com.google.bigtable.v2.Value.Builder
All Implemented Interfaces:
ValueOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
Value

public static final class Value.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Value.Builder> implements ValueOrBuilder
 `Value` represents a dynamically typed value.
 The typed fields in `Value` are used as a transport encoding for the actual
 value (which may be of a more complex type). See the documentation of the
 `Type` message for more details.
 
Protobuf type google.bigtable.v2.Value
  • Method Summary

    Modifier and Type
    Method
    Description
    addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
     
     
     
     
    clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
     
    Represents a typed value transported as an integer.
     
    clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
     
    Represents a raw cell timestamp with no type information.
    Represents a raw byte sequence with no type information.
     
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Descriptors.Descriptor
     
    long
    Represents a typed value transported as an integer.
     
    long
    Represents a raw cell timestamp with no type information.
    com.google.protobuf.ByteString
    Represents a raw byte sequence with no type information.
    boolean
    Represents a typed value transported as an integer.
    boolean
    Represents a raw cell timestamp with no type information.
    boolean
    Represents a raw byte sequence with no type information.
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
     
    final boolean
     
     
    mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    mergeFrom(com.google.protobuf.Message other)
     
    mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
     
    setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
     
    setIntValue(long value)
    Represents a typed value transported as an integer.
    Represents a raw cell timestamp with no type information.
    setRawValue(com.google.protobuf.ByteString value)
    Represents a raw byte sequence with no type information.
    setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
     
    setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
     

    Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder

    getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3

    Methods inherited from class com.google.protobuf.AbstractMessage.Builder

    findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

    addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.Message.Builder

    mergeDelimitedFrom, mergeDelimitedFrom

    Methods inherited from interface com.google.protobuf.MessageLite.Builder

    mergeFrom

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • 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<Value.Builder>
    • clear

      public Value.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<Value.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<Value.Builder>
    • getDefaultInstanceForType

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

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

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

      public Value.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<Value.Builder>
    • setField

      public Value.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<Value.Builder>
    • clearField

      public Value.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<Value.Builder>
    • clearOneof

      public Value.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<Value.Builder>
    • setRepeatedField

      public Value.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<Value.Builder>
    • addRepeatedField

      public Value.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<Value.Builder>
    • mergeFrom

      public Value.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<Value.Builder>
    • mergeFrom

      public Value.Builder mergeFrom(Value other)
    • isInitialized

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

      public Value.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<Value.Builder>
      Throws:
      IOException
    • getKindCase

      public Value.KindCase getKindCase()
      Specified by:
      getKindCase in interface ValueOrBuilder
    • clearKind

      public Value.Builder clearKind()
    • hasRawValue

      public boolean hasRawValue()
       Represents a raw byte sequence with no type information.
       The `type` field must be omitted.
       
      bytes raw_value = 8;
      Specified by:
      hasRawValue in interface ValueOrBuilder
      Returns:
      Whether the rawValue field is set.
    • getRawValue

      public com.google.protobuf.ByteString getRawValue()
       Represents a raw byte sequence with no type information.
       The `type` field must be omitted.
       
      bytes raw_value = 8;
      Specified by:
      getRawValue in interface ValueOrBuilder
      Returns:
      The rawValue.
    • setRawValue

      public Value.Builder setRawValue(com.google.protobuf.ByteString value)
       Represents a raw byte sequence with no type information.
       The `type` field must be omitted.
       
      bytes raw_value = 8;
      Parameters:
      value - The rawValue to set.
      Returns:
      This builder for chaining.
    • clearRawValue

      public Value.Builder clearRawValue()
       Represents a raw byte sequence with no type information.
       The `type` field must be omitted.
       
      bytes raw_value = 8;
      Returns:
      This builder for chaining.
    • hasRawTimestampMicros

      public boolean hasRawTimestampMicros()
       Represents a raw cell timestamp with no type information.
       The `type` field must be omitted.
       
      int64 raw_timestamp_micros = 9;
      Specified by:
      hasRawTimestampMicros in interface ValueOrBuilder
      Returns:
      Whether the rawTimestampMicros field is set.
    • getRawTimestampMicros

      public long getRawTimestampMicros()
       Represents a raw cell timestamp with no type information.
       The `type` field must be omitted.
       
      int64 raw_timestamp_micros = 9;
      Specified by:
      getRawTimestampMicros in interface ValueOrBuilder
      Returns:
      The rawTimestampMicros.
    • setRawTimestampMicros

      public Value.Builder setRawTimestampMicros(long value)
       Represents a raw cell timestamp with no type information.
       The `type` field must be omitted.
       
      int64 raw_timestamp_micros = 9;
      Parameters:
      value - The rawTimestampMicros to set.
      Returns:
      This builder for chaining.
    • clearRawTimestampMicros

      public Value.Builder clearRawTimestampMicros()
       Represents a raw cell timestamp with no type information.
       The `type` field must be omitted.
       
      int64 raw_timestamp_micros = 9;
      Returns:
      This builder for chaining.
    • hasIntValue

      public boolean hasIntValue()
       Represents a typed value transported as an integer.
       Default type for writes: `Int64`
       
      int64 int_value = 6;
      Specified by:
      hasIntValue in interface ValueOrBuilder
      Returns:
      Whether the intValue field is set.
    • getIntValue

      public long getIntValue()
       Represents a typed value transported as an integer.
       Default type for writes: `Int64`
       
      int64 int_value = 6;
      Specified by:
      getIntValue in interface ValueOrBuilder
      Returns:
      The intValue.
    • setIntValue

      public Value.Builder setIntValue(long value)
       Represents a typed value transported as an integer.
       Default type for writes: `Int64`
       
      int64 int_value = 6;
      Parameters:
      value - The intValue to set.
      Returns:
      This builder for chaining.
    • clearIntValue

      public Value.Builder clearIntValue()
       Represents a typed value transported as an integer.
       Default type for writes: `Int64`
       
      int64 int_value = 6;
      Returns:
      This builder for chaining.
    • setUnknownFields

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

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