Package org.opensearch.protobufs
Class GeoBoundingBoxQuery.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<GeoBoundingBoxQuery.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<GeoBoundingBoxQuery.Builder>
org.opensearch.protobufs.GeoBoundingBoxQuery.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,GeoBoundingBoxQueryOrBuilder
- Enclosing class:
GeoBoundingBoxQuery
public static final class GeoBoundingBoxQuery.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<GeoBoundingBoxQuery.Builder>
implements GeoBoundingBoxQueryOrBuilder
Protobuf type
org.opensearch.protobufs.GeoBoundingBoxQuery-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()optional float boost = 1 [json_name = "boost"];clearField(com.google.protobuf.Descriptors.FieldDescriptor field) optional bool ignore_unmapped = 5 [json_name = "ignoreUnmapped"];clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) optional .org.opensearch.protobufs.GeoExecution type = 3 [json_name = "type"];optional .org.opensearch.protobufs.GeoValidationMethod validation_method = 4 [json_name = "validationMethod"];optional string x_name = 2 [json_name = "xName"];clone()booleanmap<string, .org.opensearch.protobufs.GeoBounds> bounding_box = 6 [json_name = "boundingBox"];floatgetBoost()optional float boost = 1 [json_name = "boost"];Deprecated.intmap<string, .org.opensearch.protobufs.GeoBounds> bounding_box = 6 [json_name = "boundingBox"];map<string, .org.opensearch.protobufs.GeoBounds> bounding_box = 6 [json_name = "boundingBox"];getBoundingBoxOrDefault(String key, GeoBounds defaultValue) map<string, .org.opensearch.protobufs.GeoBounds> bounding_box = 6 [json_name = "boundingBox"];map<string, .org.opensearch.protobufs.GeoBounds> bounding_box = 6 [json_name = "boundingBox"];static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorbooleanoptional bool ignore_unmapped = 5 [json_name = "ignoreUnmapped"];Deprecated.getType()optional .org.opensearch.protobufs.GeoExecution type = 3 [json_name = "type"];intoptional .org.opensearch.protobufs.GeoExecution type = 3 [json_name = "type"];optional .org.opensearch.protobufs.GeoValidationMethod validation_method = 4 [json_name = "validationMethod"];intoptional .org.opensearch.protobufs.GeoValidationMethod validation_method = 4 [json_name = "validationMethod"];getXName()optional string x_name = 2 [json_name = "xName"];com.google.protobuf.ByteStringoptional string x_name = 2 [json_name = "xName"];booleanhasBoost()optional float boost = 1 [json_name = "boost"];booleanoptional bool ignore_unmapped = 5 [json_name = "ignoreUnmapped"];booleanhasType()optional .org.opensearch.protobufs.GeoExecution type = 3 [json_name = "type"];booleanoptional .org.opensearch.protobufs.GeoValidationMethod validation_method = 4 [json_name = "validationMethod"];booleanhasXName()optional string x_name = 2 [json_name = "xName"];protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(GeoBoundingBoxQuery other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) putAllBoundingBox(Map<String, GeoBounds> values) map<string, .org.opensearch.protobufs.GeoBounds> bounding_box = 6 [json_name = "boundingBox"];putBoundingBox(String key, GeoBounds value) map<string, .org.opensearch.protobufs.GeoBounds> bounding_box = 6 [json_name = "boundingBox"];map<string, .org.opensearch.protobufs.GeoBounds> bounding_box = 6 [json_name = "boundingBox"];removeBoundingBox(String key) map<string, .org.opensearch.protobufs.GeoBounds> bounding_box = 6 [json_name = "boundingBox"];setBoost(float value) optional float boost = 1 [json_name = "boost"];setIgnoreUnmapped(boolean value) optional bool ignore_unmapped = 5 [json_name = "ignoreUnmapped"];setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setType(GeoExecution value) optional .org.opensearch.protobufs.GeoExecution type = 3 [json_name = "type"];setTypeValue(int value) optional .org.opensearch.protobufs.GeoExecution type = 3 [json_name = "type"];setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) optional .org.opensearch.protobufs.GeoValidationMethod validation_method = 4 [json_name = "validationMethod"];setValidationMethodValue(int value) optional .org.opensearch.protobufs.GeoValidationMethod validation_method = 4 [json_name = "validationMethod"];optional string x_name = 2 [json_name = "xName"];setXNameBytes(com.google.protobuf.ByteString value) optional string x_name = 2 [json_name = "xName"];Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, 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() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessageV3.Builder<GeoBoundingBoxQuery.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessageV3.Builder<GeoBoundingBoxQuery.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<GeoBoundingBoxQuery.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<GeoBoundingBoxQuery.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<GeoBoundingBoxQuery.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<GeoBoundingBoxQuery.Builder>
-
setField
public GeoBoundingBoxQuery.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<GeoBoundingBoxQuery.Builder>
-
clearField
public GeoBoundingBoxQuery.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GeoBoundingBoxQuery.Builder>
-
clearOneof
public GeoBoundingBoxQuery.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<GeoBoundingBoxQuery.Builder>
-
setRepeatedField
public GeoBoundingBoxQuery.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<GeoBoundingBoxQuery.Builder>
-
addRepeatedField
public GeoBoundingBoxQuery.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<GeoBoundingBoxQuery.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<GeoBoundingBoxQuery.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<GeoBoundingBoxQuery.Builder>
-
mergeFrom
public GeoBoundingBoxQuery.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<GeoBoundingBoxQuery.Builder>- Throws:
IOException
-
hasBoost
public boolean hasBoost()optional float boost = 1 [json_name = "boost"];- Specified by:
hasBoostin interfaceGeoBoundingBoxQueryOrBuilder- Returns:
- Whether the boost field is set.
-
getBoost
public float getBoost()optional float boost = 1 [json_name = "boost"];- Specified by:
getBoostin interfaceGeoBoundingBoxQueryOrBuilder- Returns:
- The boost.
-
setBoost
optional float boost = 1 [json_name = "boost"];- Parameters:
value- The boost to set.- Returns:
- This builder for chaining.
-
clearBoost
optional float boost = 1 [json_name = "boost"];- Returns:
- This builder for chaining.
-
hasXName
public boolean hasXName()optional string x_name = 2 [json_name = "xName"];- Specified by:
hasXNamein interfaceGeoBoundingBoxQueryOrBuilder- Returns:
- Whether the xName field is set.
-
getXName
optional string x_name = 2 [json_name = "xName"];- Specified by:
getXNamein interfaceGeoBoundingBoxQueryOrBuilder- Returns:
- The xName.
-
getXNameBytes
public com.google.protobuf.ByteString getXNameBytes()optional string x_name = 2 [json_name = "xName"];- Specified by:
getXNameBytesin interfaceGeoBoundingBoxQueryOrBuilder- Returns:
- The bytes for xName.
-
setXName
optional string x_name = 2 [json_name = "xName"];- Parameters:
value- The xName to set.- Returns:
- This builder for chaining.
-
clearXName
optional string x_name = 2 [json_name = "xName"];- Returns:
- This builder for chaining.
-
setXNameBytes
optional string x_name = 2 [json_name = "xName"];- Parameters:
value- The bytes for xName to set.- Returns:
- This builder for chaining.
-
hasType
public boolean hasType()optional .org.opensearch.protobufs.GeoExecution type = 3 [json_name = "type"];- Specified by:
hasTypein interfaceGeoBoundingBoxQueryOrBuilder- Returns:
- Whether the type field is set.
-
getTypeValue
public int getTypeValue()optional .org.opensearch.protobufs.GeoExecution type = 3 [json_name = "type"];- Specified by:
getTypeValuein interfaceGeoBoundingBoxQueryOrBuilder- Returns:
- The enum numeric value on the wire for type.
-
setTypeValue
optional .org.opensearch.protobufs.GeoExecution type = 3 [json_name = "type"];- Parameters:
value- The enum numeric value on the wire for type to set.- Returns:
- This builder for chaining.
-
getType
optional .org.opensearch.protobufs.GeoExecution type = 3 [json_name = "type"];- Specified by:
getTypein interfaceGeoBoundingBoxQueryOrBuilder- Returns:
- The type.
-
setType
optional .org.opensearch.protobufs.GeoExecution type = 3 [json_name = "type"];- Parameters:
value- The type to set.- Returns:
- This builder for chaining.
-
clearType
optional .org.opensearch.protobufs.GeoExecution type = 3 [json_name = "type"];- Returns:
- This builder for chaining.
-
hasValidationMethod
public boolean hasValidationMethod()optional .org.opensearch.protobufs.GeoValidationMethod validation_method = 4 [json_name = "validationMethod"];- Specified by:
hasValidationMethodin interfaceGeoBoundingBoxQueryOrBuilder- Returns:
- Whether the validationMethod field is set.
-
getValidationMethodValue
public int getValidationMethodValue()optional .org.opensearch.protobufs.GeoValidationMethod validation_method = 4 [json_name = "validationMethod"];- Specified by:
getValidationMethodValuein interfaceGeoBoundingBoxQueryOrBuilder- Returns:
- The enum numeric value on the wire for validationMethod.
-
setValidationMethodValue
optional .org.opensearch.protobufs.GeoValidationMethod validation_method = 4 [json_name = "validationMethod"];- Parameters:
value- The enum numeric value on the wire for validationMethod to set.- Returns:
- This builder for chaining.
-
getValidationMethod
optional .org.opensearch.protobufs.GeoValidationMethod validation_method = 4 [json_name = "validationMethod"];- Specified by:
getValidationMethodin interfaceGeoBoundingBoxQueryOrBuilder- Returns:
- The validationMethod.
-
setValidationMethod
optional .org.opensearch.protobufs.GeoValidationMethod validation_method = 4 [json_name = "validationMethod"];- Parameters:
value- The validationMethod to set.- Returns:
- This builder for chaining.
-
clearValidationMethod
optional .org.opensearch.protobufs.GeoValidationMethod validation_method = 4 [json_name = "validationMethod"];- Returns:
- This builder for chaining.
-
hasIgnoreUnmapped
public boolean hasIgnoreUnmapped()optional bool ignore_unmapped = 5 [json_name = "ignoreUnmapped"];- Specified by:
hasIgnoreUnmappedin interfaceGeoBoundingBoxQueryOrBuilder- Returns:
- Whether the ignoreUnmapped field is set.
-
getIgnoreUnmapped
public boolean getIgnoreUnmapped()optional bool ignore_unmapped = 5 [json_name = "ignoreUnmapped"];- Specified by:
getIgnoreUnmappedin interfaceGeoBoundingBoxQueryOrBuilder- Returns:
- The ignoreUnmapped.
-
setIgnoreUnmapped
optional bool ignore_unmapped = 5 [json_name = "ignoreUnmapped"];- Parameters:
value- The ignoreUnmapped to set.- Returns:
- This builder for chaining.
-
clearIgnoreUnmapped
optional bool ignore_unmapped = 5 [json_name = "ignoreUnmapped"];- Returns:
- This builder for chaining.
-
getBoundingBoxCount
public int getBoundingBoxCount()Description copied from interface:GeoBoundingBoxQueryOrBuildermap<string, .org.opensearch.protobufs.GeoBounds> bounding_box = 6 [json_name = "boundingBox"];- Specified by:
getBoundingBoxCountin interfaceGeoBoundingBoxQueryOrBuilder
-
containsBoundingBox
map<string, .org.opensearch.protobufs.GeoBounds> bounding_box = 6 [json_name = "boundingBox"];- Specified by:
containsBoundingBoxin interfaceGeoBoundingBoxQueryOrBuilder
-
getBoundingBox
Deprecated.UsegetBoundingBoxMap()instead.- Specified by:
getBoundingBoxin interfaceGeoBoundingBoxQueryOrBuilder
-
getBoundingBoxMap
map<string, .org.opensearch.protobufs.GeoBounds> bounding_box = 6 [json_name = "boundingBox"];- Specified by:
getBoundingBoxMapin interfaceGeoBoundingBoxQueryOrBuilder
-
getBoundingBoxOrDefault
map<string, .org.opensearch.protobufs.GeoBounds> bounding_box = 6 [json_name = "boundingBox"];- Specified by:
getBoundingBoxOrDefaultin interfaceGeoBoundingBoxQueryOrBuilder
-
getBoundingBoxOrThrow
map<string, .org.opensearch.protobufs.GeoBounds> bounding_box = 6 [json_name = "boundingBox"];- Specified by:
getBoundingBoxOrThrowin interfaceGeoBoundingBoxQueryOrBuilder
-
clearBoundingBox
-
removeBoundingBox
map<string, .org.opensearch.protobufs.GeoBounds> bounding_box = 6 [json_name = "boundingBox"]; -
getMutableBoundingBox
Deprecated.Use alternate mutation accessors instead. -
putBoundingBox
map<string, .org.opensearch.protobufs.GeoBounds> bounding_box = 6 [json_name = "boundingBox"]; -
putAllBoundingBox
map<string, .org.opensearch.protobufs.GeoBounds> bounding_box = 6 [json_name = "boundingBox"]; -
putBoundingBoxBuilderIfAbsent
map<string, .org.opensearch.protobufs.GeoBounds> bounding_box = 6 [json_name = "boundingBox"]; -
setUnknownFields
public final GeoBoundingBoxQuery.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<GeoBoundingBoxQuery.Builder>
-
mergeUnknownFields
public final GeoBoundingBoxQuery.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<GeoBoundingBoxQuery.Builder>
-