Package org.opensearch.protobufs
Class GeoLocation.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<GeoLocation.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<GeoLocation.Builder>
org.opensearch.protobufs.GeoLocation.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,GeoLocationOrBuilder
- Enclosing class:
GeoLocation
public static final class GeoLocation.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<GeoLocation.Builder>
implements GeoLocationOrBuilder
Protobuf type
org.opensearch.protobufs.GeoLocation-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear().org.opensearch.protobufs.DoubleArray coords = 3 [json_name = "coords"];clearField(com.google.protobuf.Descriptors.FieldDescriptor field) .org.opensearch.protobufs.GeoHashLocation geohash = 2 [json_name = "geohash"];.org.opensearch.protobufs.LatLonGeoLocation latlon = 1 [json_name = "latlon"];clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) string text = 4 [json_name = "text"];clone().org.opensearch.protobufs.DoubleArray coords = 3 [json_name = "coords"];.org.opensearch.protobufs.DoubleArray coords = 3 [json_name = "coords"];.org.opensearch.protobufs.DoubleArray coords = 3 [json_name = "coords"];static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptor.org.opensearch.protobufs.GeoHashLocation geohash = 2 [json_name = "geohash"];.org.opensearch.protobufs.GeoHashLocation geohash = 2 [json_name = "geohash"];.org.opensearch.protobufs.GeoHashLocation geohash = 2 [json_name = "geohash"];.org.opensearch.protobufs.LatLonGeoLocation latlon = 1 [json_name = "latlon"];.org.opensearch.protobufs.LatLonGeoLocation latlon = 1 [json_name = "latlon"];.org.opensearch.protobufs.LatLonGeoLocation latlon = 1 [json_name = "latlon"];getText()string text = 4 [json_name = "text"];com.google.protobuf.ByteStringstring text = 4 [json_name = "text"];boolean.org.opensearch.protobufs.DoubleArray coords = 3 [json_name = "coords"];boolean.org.opensearch.protobufs.GeoHashLocation geohash = 2 [json_name = "geohash"];boolean.org.opensearch.protobufs.LatLonGeoLocation latlon = 1 [json_name = "latlon"];booleanhasText()string text = 4 [json_name = "text"];protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeCoords(DoubleArray value) .org.opensearch.protobufs.DoubleArray coords = 3 [json_name = "coords"];mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(GeoLocation other) mergeGeohash(GeoHashLocation value) .org.opensearch.protobufs.GeoHashLocation geohash = 2 [json_name = "geohash"];mergeLatlon(LatLonGeoLocation value) .org.opensearch.protobufs.LatLonGeoLocation latlon = 1 [json_name = "latlon"];final GeoLocation.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setCoords(DoubleArray value) .org.opensearch.protobufs.DoubleArray coords = 3 [json_name = "coords"];setCoords(DoubleArray.Builder builderForValue) .org.opensearch.protobufs.DoubleArray coords = 3 [json_name = "coords"];setGeohash(GeoHashLocation value) .org.opensearch.protobufs.GeoHashLocation geohash = 2 [json_name = "geohash"];setGeohash(GeoHashLocation.Builder builderForValue) .org.opensearch.protobufs.GeoHashLocation geohash = 2 [json_name = "geohash"];setLatlon(LatLonGeoLocation value) .org.opensearch.protobufs.LatLonGeoLocation latlon = 1 [json_name = "latlon"];setLatlon(LatLonGeoLocation.Builder builderForValue) .org.opensearch.protobufs.LatLonGeoLocation latlon = 1 [json_name = "latlon"];setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) string text = 4 [json_name = "text"];setTextBytes(com.google.protobuf.ByteString value) string text = 4 [json_name = "text"];final GeoLocation.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<GeoLocation.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<GeoLocation.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<GeoLocation.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<GeoLocation.Builder>
-
setField
public GeoLocation.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<GeoLocation.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GeoLocation.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<GeoLocation.Builder>
-
setRepeatedField
public GeoLocation.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<GeoLocation.Builder>
-
addRepeatedField
public GeoLocation.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<GeoLocation.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<GeoLocation.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<GeoLocation.Builder>
-
mergeFrom
public GeoLocation.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<GeoLocation.Builder>- Throws:
IOException
-
getGeoLocationCase
- Specified by:
getGeoLocationCasein interfaceGeoLocationOrBuilder
-
clearGeoLocation
-
hasLatlon
public boolean hasLatlon().org.opensearch.protobufs.LatLonGeoLocation latlon = 1 [json_name = "latlon"];- Specified by:
hasLatlonin interfaceGeoLocationOrBuilder- Returns:
- Whether the latlon field is set.
-
getLatlon
.org.opensearch.protobufs.LatLonGeoLocation latlon = 1 [json_name = "latlon"];- Specified by:
getLatlonin interfaceGeoLocationOrBuilder- Returns:
- The latlon.
-
setLatlon
.org.opensearch.protobufs.LatLonGeoLocation latlon = 1 [json_name = "latlon"]; -
setLatlon
.org.opensearch.protobufs.LatLonGeoLocation latlon = 1 [json_name = "latlon"]; -
mergeLatlon
.org.opensearch.protobufs.LatLonGeoLocation latlon = 1 [json_name = "latlon"]; -
clearLatlon
.org.opensearch.protobufs.LatLonGeoLocation latlon = 1 [json_name = "latlon"]; -
getLatlonBuilder
.org.opensearch.protobufs.LatLonGeoLocation latlon = 1 [json_name = "latlon"]; -
getLatlonOrBuilder
.org.opensearch.protobufs.LatLonGeoLocation latlon = 1 [json_name = "latlon"];- Specified by:
getLatlonOrBuilderin interfaceGeoLocationOrBuilder
-
hasGeohash
public boolean hasGeohash().org.opensearch.protobufs.GeoHashLocation geohash = 2 [json_name = "geohash"];- Specified by:
hasGeohashin interfaceGeoLocationOrBuilder- Returns:
- Whether the geohash field is set.
-
getGeohash
.org.opensearch.protobufs.GeoHashLocation geohash = 2 [json_name = "geohash"];- Specified by:
getGeohashin interfaceGeoLocationOrBuilder- Returns:
- The geohash.
-
setGeohash
.org.opensearch.protobufs.GeoHashLocation geohash = 2 [json_name = "geohash"]; -
setGeohash
.org.opensearch.protobufs.GeoHashLocation geohash = 2 [json_name = "geohash"]; -
mergeGeohash
.org.opensearch.protobufs.GeoHashLocation geohash = 2 [json_name = "geohash"]; -
clearGeohash
.org.opensearch.protobufs.GeoHashLocation geohash = 2 [json_name = "geohash"]; -
getGeohashBuilder
.org.opensearch.protobufs.GeoHashLocation geohash = 2 [json_name = "geohash"]; -
getGeohashOrBuilder
.org.opensearch.protobufs.GeoHashLocation geohash = 2 [json_name = "geohash"];- Specified by:
getGeohashOrBuilderin interfaceGeoLocationOrBuilder
-
hasCoords
public boolean hasCoords().org.opensearch.protobufs.DoubleArray coords = 3 [json_name = "coords"];- Specified by:
hasCoordsin interfaceGeoLocationOrBuilder- Returns:
- Whether the coords field is set.
-
getCoords
.org.opensearch.protobufs.DoubleArray coords = 3 [json_name = "coords"];- Specified by:
getCoordsin interfaceGeoLocationOrBuilder- Returns:
- The coords.
-
setCoords
.org.opensearch.protobufs.DoubleArray coords = 3 [json_name = "coords"]; -
setCoords
.org.opensearch.protobufs.DoubleArray coords = 3 [json_name = "coords"]; -
mergeCoords
.org.opensearch.protobufs.DoubleArray coords = 3 [json_name = "coords"]; -
clearCoords
.org.opensearch.protobufs.DoubleArray coords = 3 [json_name = "coords"]; -
getCoordsBuilder
.org.opensearch.protobufs.DoubleArray coords = 3 [json_name = "coords"]; -
getCoordsOrBuilder
.org.opensearch.protobufs.DoubleArray coords = 3 [json_name = "coords"];- Specified by:
getCoordsOrBuilderin interfaceGeoLocationOrBuilder
-
hasText
public boolean hasText()string text = 4 [json_name = "text"];- Specified by:
hasTextin interfaceGeoLocationOrBuilder- Returns:
- Whether the text field is set.
-
getText
string text = 4 [json_name = "text"];- Specified by:
getTextin interfaceGeoLocationOrBuilder- Returns:
- The text.
-
getTextBytes
public com.google.protobuf.ByteString getTextBytes()string text = 4 [json_name = "text"];- Specified by:
getTextBytesin interfaceGeoLocationOrBuilder- Returns:
- The bytes for text.
-
setText
string text = 4 [json_name = "text"];- Parameters:
value- The text to set.- Returns:
- This builder for chaining.
-
clearText
string text = 4 [json_name = "text"];- Returns:
- This builder for chaining.
-
setTextBytes
string text = 4 [json_name = "text"];- Parameters:
value- The bytes for text to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final GeoLocation.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<GeoLocation.Builder>
-
mergeUnknownFields
public final GeoLocation.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<GeoLocation.Builder>
-