Class Common.DocumentValue.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<Common.DocumentValue.Builder>
io.dingodb.common.Common.DocumentValue.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Common.DocumentValueOrBuilder, Cloneable
Enclosing class:
Common.DocumentValue

public static final class Common.DocumentValue.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Common.DocumentValue.Builder> implements Common.DocumentValueOrBuilder
Protobuf type dingodb.pb.common.DocumentValue
  • 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<Common.DocumentValue.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<Common.DocumentValue.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<Common.DocumentValue.Builder>
    • getDefaultInstanceForType

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

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

      public Common.DocumentValue buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.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<Common.DocumentValue.Builder>
    • setField

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

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

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

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

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

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

    • isInitialized

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

      public Common.DocumentValue.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<Common.DocumentValue.Builder>
      Throws:
      IOException
    • getFieldTypeValue

      public int getFieldTypeValue()
       data type of scalar field
       for document, only INT64, DOUBLE and STRING is supported
       
      .dingodb.pb.common.ScalarFieldType field_type = 1;
      Specified by:
      getFieldTypeValue in interface Common.DocumentValueOrBuilder
      Returns:
      The enum numeric value on the wire for fieldType.
    • setFieldTypeValue

      public Common.DocumentValue.Builder setFieldTypeValue(int value)
       data type of scalar field
       for document, only INT64, DOUBLE and STRING is supported
       
      .dingodb.pb.common.ScalarFieldType field_type = 1;
      Parameters:
      value - The enum numeric value on the wire for fieldType to set.
      Returns:
      This builder for chaining.
    • getFieldType

      public Common.ScalarFieldType getFieldType()
       data type of scalar field
       for document, only INT64, DOUBLE and STRING is supported
       
      .dingodb.pb.common.ScalarFieldType field_type = 1;
      Specified by:
      getFieldType in interface Common.DocumentValueOrBuilder
      Returns:
      The fieldType.
    • setFieldType

       data type of scalar field
       for document, only INT64, DOUBLE and STRING is supported
       
      .dingodb.pb.common.ScalarFieldType field_type = 1;
      Parameters:
      value - The fieldType to set.
      Returns:
      This builder for chaining.
    • clearFieldType

      public Common.DocumentValue.Builder clearFieldType()
       data type of scalar field
       for document, only INT64, DOUBLE and STRING is supported
       
      .dingodb.pb.common.ScalarFieldType field_type = 1;
      Returns:
      This builder for chaining.
    • hasFieldValue

      public boolean hasFieldValue()
       scalar field
       
      .dingodb.pb.common.ScalarField field_value = 2;
      Specified by:
      hasFieldValue in interface Common.DocumentValueOrBuilder
      Returns:
      Whether the fieldValue field is set.
    • getFieldValue

      public Common.ScalarField getFieldValue()
       scalar field
       
      .dingodb.pb.common.ScalarField field_value = 2;
      Specified by:
      getFieldValue in interface Common.DocumentValueOrBuilder
      Returns:
      The fieldValue.
    • setFieldValue

      public Common.DocumentValue.Builder setFieldValue(Common.ScalarField value)
       scalar field
       
      .dingodb.pb.common.ScalarField field_value = 2;
    • setFieldValue

      public Common.DocumentValue.Builder setFieldValue(Common.ScalarField.Builder builderForValue)
       scalar field
       
      .dingodb.pb.common.ScalarField field_value = 2;
    • mergeFieldValue

      public Common.DocumentValue.Builder mergeFieldValue(Common.ScalarField value)
       scalar field
       
      .dingodb.pb.common.ScalarField field_value = 2;
    • clearFieldValue

      public Common.DocumentValue.Builder clearFieldValue()
       scalar field
       
      .dingodb.pb.common.ScalarField field_value = 2;
    • getFieldValueBuilder

      public Common.ScalarField.Builder getFieldValueBuilder()
       scalar field
       
      .dingodb.pb.common.ScalarField field_value = 2;
    • getFieldValueOrBuilder

      public Common.ScalarFieldOrBuilder getFieldValueOrBuilder()
       scalar field
       
      .dingodb.pb.common.ScalarField field_value = 2;
      Specified by:
      getFieldValueOrBuilder in interface Common.DocumentValueOrBuilder
    • setUnknownFields

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

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