Package org.opensearch.protobufs
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 Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()bool bool = 7 [json_name = "bool"];double double = 5 [json_name = "double"];clearField(com.google.protobuf.Descriptors.FieldDescriptor field) float float = 4 [json_name = "float"];int32 int32 = 2 [json_name = "int32"];int64 int64 = 3 [json_name = "int64"];.org.opensearch.protobufs.ObjectMap.ListValue list_value = 9 [json_name = "listValue"];.org.opensearch.protobufs.NullValue null_value = 1 [json_name = "nullValue"];.org.opensearch.protobufs.ObjectMap object_map = 8 [json_name = "objectMap"];clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) string string = 6 [json_name = "string"];clone()booleangetBool()bool bool = 7 [json_name = "bool"];static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptordoubledouble double = 5 [json_name = "double"];floatgetFloat()float float = 4 [json_name = "float"];intgetInt32()int32 int32 = 2 [json_name = "int32"];longgetInt64()int64 int64 = 3 [json_name = "int64"];.org.opensearch.protobufs.ObjectMap.ListValue list_value = 9 [json_name = "listValue"];.org.opensearch.protobufs.ObjectMap.ListValue list_value = 9 [json_name = "listValue"];.org.opensearch.protobufs.ObjectMap.ListValue list_value = 9 [json_name = "listValue"];.org.opensearch.protobufs.NullValue null_value = 1 [json_name = "nullValue"];int.org.opensearch.protobufs.NullValue null_value = 1 [json_name = "nullValue"];.org.opensearch.protobufs.ObjectMap object_map = 8 [json_name = "objectMap"];.org.opensearch.protobufs.ObjectMap object_map = 8 [json_name = "objectMap"];.org.opensearch.protobufs.ObjectMap object_map = 8 [json_name = "objectMap"];string string = 6 [json_name = "string"];com.google.protobuf.ByteStringstring string = 6 [json_name = "string"];booleanhasBool()bool bool = 7 [json_name = "bool"];booleandouble double = 5 [json_name = "double"];booleanhasFloat()float float = 4 [json_name = "float"];booleanhasInt32()int32 int32 = 2 [json_name = "int32"];booleanhasInt64()int64 int64 = 3 [json_name = "int64"];boolean.org.opensearch.protobufs.ObjectMap.ListValue list_value = 9 [json_name = "listValue"];boolean.org.opensearch.protobufs.NullValue null_value = 1 [json_name = "nullValue"];boolean.org.opensearch.protobufs.ObjectMap object_map = 8 [json_name = "objectMap"];booleanstring string = 6 [json_name = "string"];protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(ObjectMap.Value other) .org.opensearch.protobufs.ObjectMap.ListValue list_value = 9 [json_name = "listValue"];mergeObjectMap(ObjectMap value) .org.opensearch.protobufs.ObjectMap object_map = 8 [json_name = "objectMap"];final ObjectMap.Value.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setBool(boolean value) bool bool = 7 [json_name = "bool"];setDouble(double value) double double = 5 [json_name = "double"];setFloat(float value) float float = 4 [json_name = "float"];setInt32(int value) int32 int32 = 2 [json_name = "int32"];setInt64(long value) int64 int64 = 3 [json_name = "int64"];setListValue(ObjectMap.ListValue value) .org.opensearch.protobufs.ObjectMap.ListValue list_value = 9 [json_name = "listValue"];setListValue(ObjectMap.ListValue.Builder builderForValue) .org.opensearch.protobufs.ObjectMap.ListValue list_value = 9 [json_name = "listValue"];setNullValue(NullValue value) .org.opensearch.protobufs.NullValue null_value = 1 [json_name = "nullValue"];setNullValueValue(int value) .org.opensearch.protobufs.NullValue null_value = 1 [json_name = "nullValue"];setObjectMap(ObjectMap value) .org.opensearch.protobufs.ObjectMap object_map = 8 [json_name = "objectMap"];setObjectMap(ObjectMap.Builder builderForValue) .org.opensearch.protobufs.ObjectMap object_map = 8 [json_name = "objectMap"];setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) string string = 6 [json_name = "string"];setStringBytes(com.google.protobuf.ByteString value) string string = 6 [json_name = "string"];final ObjectMap.Value.BuildersetUnknownFields(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, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods 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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<ObjectMap.Value.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<ObjectMap.Value.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<ObjectMap.Value.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<ObjectMap.Value.Builder>
-
setField
public ObjectMap.Value.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ObjectMap.Value.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ObjectMap.Value.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.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:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ObjectMap.Value.Builder>
-
addRepeatedField
public ObjectMap.Value.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ObjectMap.Value.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ObjectMap.Value.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ObjectMap.Value.Builder>- Throws:
IOException
-
getValueCase
- Specified by:
getValueCasein interfaceObjectMap.ValueOrBuilder
-
clearValue
-
hasNullValue
public boolean hasNullValue().org.opensearch.protobufs.NullValue null_value = 1 [json_name = "nullValue"];- Specified by:
hasNullValuein interfaceObjectMap.ValueOrBuilder- Returns:
- Whether the nullValue field is set.
-
getNullValueValue
public int getNullValueValue().org.opensearch.protobufs.NullValue null_value = 1 [json_name = "nullValue"];- Specified by:
getNullValueValuein interfaceObjectMap.ValueOrBuilder- Returns:
- The enum numeric value on the wire for nullValue.
-
setNullValueValue
.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
.org.opensearch.protobufs.NullValue null_value = 1 [json_name = "nullValue"];- Specified by:
getNullValuein interfaceObjectMap.ValueOrBuilder- Returns:
- The nullValue.
-
setNullValue
.org.opensearch.protobufs.NullValue null_value = 1 [json_name = "nullValue"];- Parameters:
value- The nullValue to set.- Returns:
- This builder for chaining.
-
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:
hasInt32in interfaceObjectMap.ValueOrBuilder- Returns:
- Whether the int32 field is set.
-
getInt32
public int getInt32()int32 int32 = 2 [json_name = "int32"];- Specified by:
getInt32in interfaceObjectMap.ValueOrBuilder- Returns:
- The int32.
-
setInt32
int32 int32 = 2 [json_name = "int32"];- Parameters:
value- The int32 to set.- Returns:
- This builder for chaining.
-
clearInt32
int32 int32 = 2 [json_name = "int32"];- Returns:
- This builder for chaining.
-
hasInt64
public boolean hasInt64()int64 int64 = 3 [json_name = "int64"];- Specified by:
hasInt64in interfaceObjectMap.ValueOrBuilder- Returns:
- Whether the int64 field is set.
-
getInt64
public long getInt64()int64 int64 = 3 [json_name = "int64"];- Specified by:
getInt64in interfaceObjectMap.ValueOrBuilder- Returns:
- The int64.
-
setInt64
int64 int64 = 3 [json_name = "int64"];- Parameters:
value- The int64 to set.- Returns:
- This builder for chaining.
-
clearInt64
int64 int64 = 3 [json_name = "int64"];- Returns:
- This builder for chaining.
-
hasFloat
public boolean hasFloat()float float = 4 [json_name = "float"];- Specified by:
hasFloatin interfaceObjectMap.ValueOrBuilder- Returns:
- Whether the float field is set.
-
getFloat
public float getFloat()float float = 4 [json_name = "float"];- Specified by:
getFloatin interfaceObjectMap.ValueOrBuilder- Returns:
- The float.
-
setFloat
float float = 4 [json_name = "float"];- Parameters:
value- The float to set.- Returns:
- This builder for chaining.
-
clearFloat
float float = 4 [json_name = "float"];- Returns:
- This builder for chaining.
-
hasDouble
public boolean hasDouble()double double = 5 [json_name = "double"];- Specified by:
hasDoublein interfaceObjectMap.ValueOrBuilder- Returns:
- Whether the double field is set.
-
getDouble
public double getDouble()double double = 5 [json_name = "double"];- Specified by:
getDoublein interfaceObjectMap.ValueOrBuilder- Returns:
- The double.
-
setDouble
double double = 5 [json_name = "double"];- Parameters:
value- The double to set.- Returns:
- This builder for chaining.
-
clearDouble
double double = 5 [json_name = "double"];- Returns:
- This builder for chaining.
-
hasString
public boolean hasString()string string = 6 [json_name = "string"];- Specified by:
hasStringin interfaceObjectMap.ValueOrBuilder- Returns:
- Whether the string field is set.
-
getString
string string = 6 [json_name = "string"];- Specified by:
getStringin interfaceObjectMap.ValueOrBuilder- Returns:
- The string.
-
getStringBytes
public com.google.protobuf.ByteString getStringBytes()string string = 6 [json_name = "string"];- Specified by:
getStringBytesin interfaceObjectMap.ValueOrBuilder- Returns:
- The bytes for string.
-
setString
string string = 6 [json_name = "string"];- Parameters:
value- The string to set.- Returns:
- This builder for chaining.
-
clearString
string string = 6 [json_name = "string"];- Returns:
- This builder for chaining.
-
setStringBytes
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:
hasBoolin interfaceObjectMap.ValueOrBuilder- Returns:
- Whether the bool field is set.
-
getBool
public boolean getBool()bool bool = 7 [json_name = "bool"];- Specified by:
getBoolin interfaceObjectMap.ValueOrBuilder- Returns:
- The bool.
-
setBool
bool bool = 7 [json_name = "bool"];- Parameters:
value- The bool to set.- Returns:
- This builder for chaining.
-
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:
hasObjectMapin interfaceObjectMap.ValueOrBuilder- Returns:
- Whether the objectMap field is set.
-
getObjectMap
.org.opensearch.protobufs.ObjectMap object_map = 8 [json_name = "objectMap"];- Specified by:
getObjectMapin interfaceObjectMap.ValueOrBuilder- Returns:
- The objectMap.
-
setObjectMap
.org.opensearch.protobufs.ObjectMap object_map = 8 [json_name = "objectMap"]; -
setObjectMap
.org.opensearch.protobufs.ObjectMap object_map = 8 [json_name = "objectMap"]; -
mergeObjectMap
.org.opensearch.protobufs.ObjectMap object_map = 8 [json_name = "objectMap"]; -
clearObjectMap
.org.opensearch.protobufs.ObjectMap object_map = 8 [json_name = "objectMap"]; -
getObjectMapBuilder
.org.opensearch.protobufs.ObjectMap object_map = 8 [json_name = "objectMap"]; -
getObjectMapOrBuilder
.org.opensearch.protobufs.ObjectMap object_map = 8 [json_name = "objectMap"];- Specified by:
getObjectMapOrBuilderin interfaceObjectMap.ValueOrBuilder
-
hasListValue
public boolean hasListValue().org.opensearch.protobufs.ObjectMap.ListValue list_value = 9 [json_name = "listValue"];- Specified by:
hasListValuein interfaceObjectMap.ValueOrBuilder- Returns:
- Whether the listValue field is set.
-
getListValue
.org.opensearch.protobufs.ObjectMap.ListValue list_value = 9 [json_name = "listValue"];- Specified by:
getListValuein interfaceObjectMap.ValueOrBuilder- Returns:
- The listValue.
-
setListValue
.org.opensearch.protobufs.ObjectMap.ListValue list_value = 9 [json_name = "listValue"]; -
setListValue
.org.opensearch.protobufs.ObjectMap.ListValue list_value = 9 [json_name = "listValue"]; -
mergeListValue
.org.opensearch.protobufs.ObjectMap.ListValue list_value = 9 [json_name = "listValue"]; -
clearListValue
.org.opensearch.protobufs.ObjectMap.ListValue list_value = 9 [json_name = "listValue"]; -
getListValueBuilder
.org.opensearch.protobufs.ObjectMap.ListValue list_value = 9 [json_name = "listValue"]; -
getListValueOrBuilder
.org.opensearch.protobufs.ObjectMap.ListValue list_value = 9 [json_name = "listValue"];- Specified by:
getListValueOrBuilderin interfaceObjectMap.ValueOrBuilder
-
setUnknownFields
public final ObjectMap.Value.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ObjectMap.Value.Builder>
-
mergeUnknownFields
public final ObjectMap.Value.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ObjectMap.Value.Builder>
-