Class ObjectMap.Value.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<ObjectMap.Value.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<ObjectMap.Value.Builder>
org.opensearch.protobufs.ObjectMap.Value.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, ObjectMap.ValueOrBuilder
Enclosing class:
ObjectMap.Value

public static final class ObjectMap.Value.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ObjectMap.Value.Builder> implements ObjectMap.ValueOrBuilder
Protobuf type org.opensearch.protobufs.ObjectMap.Value
  • 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<ObjectMap.Value.Builder>
    • clear

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

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

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

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

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

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

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

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

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

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

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

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

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

      public ObjectMap.Value.ValueCase getValueCase()
      Specified by:
      getValueCase in interface ObjectMap.ValueOrBuilder
    • clearValue

      public ObjectMap.Value.Builder clearValue()
    • hasNullValue

      public boolean hasNullValue()
      .org.opensearch.protobufs.NullValue null_value = 1 [json_name = "nullValue"];
      Specified by:
      hasNullValue in interface ObjectMap.ValueOrBuilder
      Returns:
      Whether the nullValue field is set.
    • getNullValueValue

      public int getNullValueValue()
      .org.opensearch.protobufs.NullValue null_value = 1 [json_name = "nullValue"];
      Specified by:
      getNullValueValue in interface ObjectMap.ValueOrBuilder
      Returns:
      The enum numeric value on the wire for nullValue.
    • setNullValueValue

      public ObjectMap.Value.Builder setNullValueValue(int value)
      .org.opensearch.protobufs.NullValue null_value = 1 [json_name = "nullValue"];
      Parameters:
      value - The enum numeric value on the wire for nullValue to set.
      Returns:
      This builder for chaining.
    • getNullValue

      public NullValue getNullValue()
      .org.opensearch.protobufs.NullValue null_value = 1 [json_name = "nullValue"];
      Specified by:
      getNullValue in interface ObjectMap.ValueOrBuilder
      Returns:
      The nullValue.
    • setNullValue

      public ObjectMap.Value.Builder setNullValue(NullValue value)
      .org.opensearch.protobufs.NullValue null_value = 1 [json_name = "nullValue"];
      Parameters:
      value - The nullValue to set.
      Returns:
      This builder for chaining.
    • clearNullValue

      public ObjectMap.Value.Builder clearNullValue()
      .org.opensearch.protobufs.NullValue null_value = 1 [json_name = "nullValue"];
      Returns:
      This builder for chaining.
    • hasInt32

      public boolean hasInt32()
      int32 int32 = 2 [json_name = "int32"];
      Specified by:
      hasInt32 in interface ObjectMap.ValueOrBuilder
      Returns:
      Whether the int32 field is set.
    • getInt32

      public int getInt32()
      int32 int32 = 2 [json_name = "int32"];
      Specified by:
      getInt32 in interface ObjectMap.ValueOrBuilder
      Returns:
      The int32.
    • setInt32

      public ObjectMap.Value.Builder setInt32(int value)
      int32 int32 = 2 [json_name = "int32"];
      Parameters:
      value - The int32 to set.
      Returns:
      This builder for chaining.
    • clearInt32

      public ObjectMap.Value.Builder clearInt32()
      int32 int32 = 2 [json_name = "int32"];
      Returns:
      This builder for chaining.
    • hasInt64

      public boolean hasInt64()
      int64 int64 = 3 [json_name = "int64"];
      Specified by:
      hasInt64 in interface ObjectMap.ValueOrBuilder
      Returns:
      Whether the int64 field is set.
    • getInt64

      public long getInt64()
      int64 int64 = 3 [json_name = "int64"];
      Specified by:
      getInt64 in interface ObjectMap.ValueOrBuilder
      Returns:
      The int64.
    • setInt64

      public ObjectMap.Value.Builder setInt64(long value)
      int64 int64 = 3 [json_name = "int64"];
      Parameters:
      value - The int64 to set.
      Returns:
      This builder for chaining.
    • clearInt64

      public ObjectMap.Value.Builder clearInt64()
      int64 int64 = 3 [json_name = "int64"];
      Returns:
      This builder for chaining.
    • hasFloat

      public boolean hasFloat()
      float float = 4 [json_name = "float"];
      Specified by:
      hasFloat in interface ObjectMap.ValueOrBuilder
      Returns:
      Whether the float field is set.
    • getFloat

      public float getFloat()
      float float = 4 [json_name = "float"];
      Specified by:
      getFloat in interface ObjectMap.ValueOrBuilder
      Returns:
      The float.
    • setFloat

      public ObjectMap.Value.Builder setFloat(float value)
      float float = 4 [json_name = "float"];
      Parameters:
      value - The float to set.
      Returns:
      This builder for chaining.
    • clearFloat

      public ObjectMap.Value.Builder clearFloat()
      float float = 4 [json_name = "float"];
      Returns:
      This builder for chaining.
    • hasDouble

      public boolean hasDouble()
      double double = 5 [json_name = "double"];
      Specified by:
      hasDouble in interface ObjectMap.ValueOrBuilder
      Returns:
      Whether the double field is set.
    • getDouble

      public double getDouble()
      double double = 5 [json_name = "double"];
      Specified by:
      getDouble in interface ObjectMap.ValueOrBuilder
      Returns:
      The double.
    • setDouble

      public ObjectMap.Value.Builder setDouble(double value)
      double double = 5 [json_name = "double"];
      Parameters:
      value - The double to set.
      Returns:
      This builder for chaining.
    • clearDouble

      public ObjectMap.Value.Builder clearDouble()
      double double = 5 [json_name = "double"];
      Returns:
      This builder for chaining.
    • hasString

      public boolean hasString()
      string string = 6 [json_name = "string"];
      Specified by:
      hasString in interface ObjectMap.ValueOrBuilder
      Returns:
      Whether the string field is set.
    • getString

      public String getString()
      string string = 6 [json_name = "string"];
      Specified by:
      getString in interface ObjectMap.ValueOrBuilder
      Returns:
      The string.
    • getStringBytes

      public com.google.protobuf.ByteString getStringBytes()
      string string = 6 [json_name = "string"];
      Specified by:
      getStringBytes in interface ObjectMap.ValueOrBuilder
      Returns:
      The bytes for string.
    • setString

      public ObjectMap.Value.Builder setString(String value)
      string string = 6 [json_name = "string"];
      Parameters:
      value - The string to set.
      Returns:
      This builder for chaining.
    • clearString

      public ObjectMap.Value.Builder clearString()
      string string = 6 [json_name = "string"];
      Returns:
      This builder for chaining.
    • setStringBytes

      public ObjectMap.Value.Builder setStringBytes(com.google.protobuf.ByteString value)
      string string = 6 [json_name = "string"];
      Parameters:
      value - The bytes for string to set.
      Returns:
      This builder for chaining.
    • hasBool

      public boolean hasBool()
      bool bool = 7 [json_name = "bool"];
      Specified by:
      hasBool in interface ObjectMap.ValueOrBuilder
      Returns:
      Whether the bool field is set.
    • getBool

      public boolean getBool()
      bool bool = 7 [json_name = "bool"];
      Specified by:
      getBool in interface ObjectMap.ValueOrBuilder
      Returns:
      The bool.
    • setBool

      public ObjectMap.Value.Builder setBool(boolean value)
      bool bool = 7 [json_name = "bool"];
      Parameters:
      value - The bool to set.
      Returns:
      This builder for chaining.
    • clearBool

      public ObjectMap.Value.Builder clearBool()
      bool bool = 7 [json_name = "bool"];
      Returns:
      This builder for chaining.
    • hasObjectMap

      public boolean hasObjectMap()
      .org.opensearch.protobufs.ObjectMap object_map = 8 [json_name = "objectMap"];
      Specified by:
      hasObjectMap in interface ObjectMap.ValueOrBuilder
      Returns:
      Whether the objectMap field is set.
    • getObjectMap

      public ObjectMap getObjectMap()
      .org.opensearch.protobufs.ObjectMap object_map = 8 [json_name = "objectMap"];
      Specified by:
      getObjectMap in interface ObjectMap.ValueOrBuilder
      Returns:
      The objectMap.
    • setObjectMap

      public ObjectMap.Value.Builder setObjectMap(ObjectMap value)
      .org.opensearch.protobufs.ObjectMap object_map = 8 [json_name = "objectMap"];
    • setObjectMap

      public ObjectMap.Value.Builder setObjectMap(ObjectMap.Builder builderForValue)
      .org.opensearch.protobufs.ObjectMap object_map = 8 [json_name = "objectMap"];
    • mergeObjectMap

      public ObjectMap.Value.Builder mergeObjectMap(ObjectMap value)
      .org.opensearch.protobufs.ObjectMap object_map = 8 [json_name = "objectMap"];
    • clearObjectMap

      public ObjectMap.Value.Builder clearObjectMap()
      .org.opensearch.protobufs.ObjectMap object_map = 8 [json_name = "objectMap"];
    • getObjectMapBuilder

      public ObjectMap.Builder getObjectMapBuilder()
      .org.opensearch.protobufs.ObjectMap object_map = 8 [json_name = "objectMap"];
    • getObjectMapOrBuilder

      public ObjectMapOrBuilder getObjectMapOrBuilder()
      .org.opensearch.protobufs.ObjectMap object_map = 8 [json_name = "objectMap"];
      Specified by:
      getObjectMapOrBuilder in interface ObjectMap.ValueOrBuilder
    • hasListValue

      public boolean hasListValue()
      .org.opensearch.protobufs.ObjectMap.ListValue list_value = 9 [json_name = "listValue"];
      Specified by:
      hasListValue in interface ObjectMap.ValueOrBuilder
      Returns:
      Whether the listValue field is set.
    • getListValue

      public ObjectMap.ListValue getListValue()
      .org.opensearch.protobufs.ObjectMap.ListValue list_value = 9 [json_name = "listValue"];
      Specified by:
      getListValue in interface ObjectMap.ValueOrBuilder
      Returns:
      The listValue.
    • setListValue

      public ObjectMap.Value.Builder setListValue(ObjectMap.ListValue value)
      .org.opensearch.protobufs.ObjectMap.ListValue list_value = 9 [json_name = "listValue"];
    • setListValue

      public ObjectMap.Value.Builder setListValue(ObjectMap.ListValue.Builder builderForValue)
      .org.opensearch.protobufs.ObjectMap.ListValue list_value = 9 [json_name = "listValue"];
    • mergeListValue

      public ObjectMap.Value.Builder mergeListValue(ObjectMap.ListValue value)
      .org.opensearch.protobufs.ObjectMap.ListValue list_value = 9 [json_name = "listValue"];
    • clearListValue

      public ObjectMap.Value.Builder clearListValue()
      .org.opensearch.protobufs.ObjectMap.ListValue list_value = 9 [json_name = "listValue"];
    • getListValueBuilder

      public ObjectMap.ListValue.Builder getListValueBuilder()
      .org.opensearch.protobufs.ObjectMap.ListValue list_value = 9 [json_name = "listValue"];
    • getListValueOrBuilder

      public ObjectMap.ListValueOrBuilder getListValueOrBuilder()
      .org.opensearch.protobufs.ObjectMap.ListValue list_value = 9 [json_name = "listValue"];
      Specified by:
      getListValueOrBuilder in interface ObjectMap.ValueOrBuilder
    • setUnknownFields

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

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