Package io.qdrant.client.grpc
Class Points.GeoPolygon.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<Points.GeoPolygon.Builder>
io.qdrant.client.grpc.Points.GeoPolygon.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Points.GeoPolygonOrBuilder
,Cloneable
- Enclosing class:
- Points.GeoPolygon
public static final class Points.GeoPolygon.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Points.GeoPolygon.Builder>
implements Points.GeoPolygonOrBuilder
For a valid GeoPolygon, both the exterior and interior GeoLineStrings must consist of a minimum of 4 points. Additionally, the first and last points of each GeoLineString must be the same.Protobuf type
qdrant.GeoPolygon
-
Method Summary
Modifier and TypeMethodDescriptionaddAllInteriors
(Iterable<? extends Points.GeoLineString> values) Interior lines (if present) bound holes within the surfaceaddInteriors
(int index, Points.GeoLineString value) Interior lines (if present) bound holes within the surfaceaddInteriors
(int index, Points.GeoLineString.Builder builderForValue) Interior lines (if present) bound holes within the surfaceaddInteriors
(Points.GeoLineString value) Interior lines (if present) bound holes within the surfaceaddInteriors
(Points.GeoLineString.Builder builderForValue) Interior lines (if present) bound holes within the surfaceInterior lines (if present) bound holes within the surfaceaddInteriorsBuilder
(int index) Interior lines (if present) bound holes within the surfaceaddRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
The exterior line bounds the surfaceclearField
(com.google.protobuf.Descriptors.FieldDescriptor field) Interior lines (if present) bound holes within the surfaceclearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) clone()
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
The exterior line bounds the surfaceThe exterior line bounds the surfaceThe exterior line bounds the surfacegetInteriors
(int index) Interior lines (if present) bound holes within the surfacegetInteriorsBuilder
(int index) Interior lines (if present) bound holes within the surfaceInterior lines (if present) bound holes within the surfaceint
Interior lines (if present) bound holes within the surfaceInterior lines (if present) bound holes within the surfacegetInteriorsOrBuilder
(int index) Interior lines (if present) bound holes within the surfaceList<? extends Points.GeoLineStringOrBuilder>
Interior lines (if present) bound holes within the surfaceboolean
The exterior line bounds the surfaceprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
The exterior line bounds the surfacemergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeFrom
(Points.GeoPolygon other) mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) removeInteriors
(int index) Interior lines (if present) bound holes within the surfacesetExterior
(Points.GeoLineString value) The exterior line bounds the surfacesetExterior
(Points.GeoLineString.Builder builderForValue) The exterior line bounds the surfacesetInteriors
(int index, Points.GeoLineString value) Interior lines (if present) bound holes within the surfacesetInteriors
(int index, Points.GeoLineString.Builder builderForValue) Interior lines (if present) bound holes within the surfacesetRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setUnknownFields
(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, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods 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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Points.GeoPolygon.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Points.GeoPolygon.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Points.GeoPolygon.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<Points.GeoPolygon.Builder>
-
setField
public Points.GeoPolygon.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Points.GeoPolygon.Builder>
-
clearField
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Points.GeoPolygon.Builder>
-
clearOneof
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Points.GeoPolygon.Builder>
-
setRepeatedField
public Points.GeoPolygon.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Points.GeoPolygon.Builder>
-
addRepeatedField
public Points.GeoPolygon.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Points.GeoPolygon.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Points.GeoPolygon.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Points.GeoPolygon.Builder>
-
mergeFrom
public Points.GeoPolygon.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Points.GeoPolygon.Builder>
- Throws:
IOException
-
hasExterior
public boolean hasExterior()The exterior line bounds the surface
.qdrant.GeoLineString exterior = 1;
- Specified by:
hasExterior
in interfacePoints.GeoPolygonOrBuilder
- Returns:
- Whether the exterior field is set.
-
getExterior
The exterior line bounds the surface
.qdrant.GeoLineString exterior = 1;
- Specified by:
getExterior
in interfacePoints.GeoPolygonOrBuilder
- Returns:
- The exterior.
-
setExterior
The exterior line bounds the surface
.qdrant.GeoLineString exterior = 1;
-
setExterior
The exterior line bounds the surface
.qdrant.GeoLineString exterior = 1;
-
mergeExterior
The exterior line bounds the surface
.qdrant.GeoLineString exterior = 1;
-
clearExterior
The exterior line bounds the surface
.qdrant.GeoLineString exterior = 1;
-
getExteriorBuilder
The exterior line bounds the surface
.qdrant.GeoLineString exterior = 1;
-
getExteriorOrBuilder
The exterior line bounds the surface
.qdrant.GeoLineString exterior = 1;
- Specified by:
getExteriorOrBuilder
in interfacePoints.GeoPolygonOrBuilder
-
getInteriorsList
Interior lines (if present) bound holes within the surface
repeated .qdrant.GeoLineString interiors = 2;
- Specified by:
getInteriorsList
in interfacePoints.GeoPolygonOrBuilder
-
getInteriorsCount
public int getInteriorsCount()Interior lines (if present) bound holes within the surface
repeated .qdrant.GeoLineString interiors = 2;
- Specified by:
getInteriorsCount
in interfacePoints.GeoPolygonOrBuilder
-
getInteriors
Interior lines (if present) bound holes within the surface
repeated .qdrant.GeoLineString interiors = 2;
- Specified by:
getInteriors
in interfacePoints.GeoPolygonOrBuilder
-
setInteriors
Interior lines (if present) bound holes within the surface
repeated .qdrant.GeoLineString interiors = 2;
-
setInteriors
public Points.GeoPolygon.Builder setInteriors(int index, Points.GeoLineString.Builder builderForValue) Interior lines (if present) bound holes within the surface
repeated .qdrant.GeoLineString interiors = 2;
-
addInteriors
Interior lines (if present) bound holes within the surface
repeated .qdrant.GeoLineString interiors = 2;
-
addInteriors
Interior lines (if present) bound holes within the surface
repeated .qdrant.GeoLineString interiors = 2;
-
addInteriors
Interior lines (if present) bound holes within the surface
repeated .qdrant.GeoLineString interiors = 2;
-
addInteriors
public Points.GeoPolygon.Builder addInteriors(int index, Points.GeoLineString.Builder builderForValue) Interior lines (if present) bound holes within the surface
repeated .qdrant.GeoLineString interiors = 2;
-
addAllInteriors
Interior lines (if present) bound holes within the surface
repeated .qdrant.GeoLineString interiors = 2;
-
clearInteriors
Interior lines (if present) bound holes within the surface
repeated .qdrant.GeoLineString interiors = 2;
-
removeInteriors
Interior lines (if present) bound holes within the surface
repeated .qdrant.GeoLineString interiors = 2;
-
getInteriorsBuilder
Interior lines (if present) bound holes within the surface
repeated .qdrant.GeoLineString interiors = 2;
-
getInteriorsOrBuilder
Interior lines (if present) bound holes within the surface
repeated .qdrant.GeoLineString interiors = 2;
- Specified by:
getInteriorsOrBuilder
in interfacePoints.GeoPolygonOrBuilder
-
getInteriorsOrBuilderList
Interior lines (if present) bound holes within the surface
repeated .qdrant.GeoLineString interiors = 2;
- Specified by:
getInteriorsOrBuilderList
in interfacePoints.GeoPolygonOrBuilder
-
addInteriorsBuilder
Interior lines (if present) bound holes within the surface
repeated .qdrant.GeoLineString interiors = 2;
-
addInteriorsBuilder
Interior lines (if present) bound holes within the surface
repeated .qdrant.GeoLineString interiors = 2;
-
getInteriorsBuilderList
Interior lines (if present) bound holes within the surface
repeated .qdrant.GeoLineString interiors = 2;
-
setUnknownFields
public final Points.GeoPolygon.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Points.GeoPolygon.Builder>
-
mergeUnknownFields
public final Points.GeoPolygon.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Points.GeoPolygon.Builder>
-