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 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<Points.GeoPolygon.Builder>
    • clear

      public Points.GeoPolygon.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<Points.GeoPolygon.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<Points.GeoPolygon.Builder>
    • getDefaultInstanceForType

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

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

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

      public Points.GeoPolygon.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<Points.GeoPolygon.Builder>
    • setField

      public Points.GeoPolygon.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<Points.GeoPolygon.Builder>
    • clearField

      public Points.GeoPolygon.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<Points.GeoPolygon.Builder>
    • clearOneof

      public Points.GeoPolygon.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<Points.GeoPolygon.Builder>
    • setRepeatedField

      public Points.GeoPolygon.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<Points.GeoPolygon.Builder>
    • addRepeatedField

      public Points.GeoPolygon.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<Points.GeoPolygon.Builder>
    • mergeFrom

      public Points.GeoPolygon.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<Points.GeoPolygon.Builder>
    • mergeFrom

      public Points.GeoPolygon.Builder mergeFrom(Points.GeoPolygon other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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 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<Points.GeoPolygon.Builder>
      Throws:
      IOException
    • hasExterior

      public boolean hasExterior()
       The exterior line bounds the surface
       
      .qdrant.GeoLineString exterior = 1;
      Specified by:
      hasExterior in interface Points.GeoPolygonOrBuilder
      Returns:
      Whether the exterior field is set.
    • getExterior

      public Points.GeoLineString getExterior()
       The exterior line bounds the surface
       
      .qdrant.GeoLineString exterior = 1;
      Specified by:
      getExterior in interface Points.GeoPolygonOrBuilder
      Returns:
      The exterior.
    • setExterior

      public Points.GeoPolygon.Builder setExterior(Points.GeoLineString value)
       The exterior line bounds the surface
       
      .qdrant.GeoLineString exterior = 1;
    • setExterior

      public Points.GeoPolygon.Builder setExterior(Points.GeoLineString.Builder builderForValue)
       The exterior line bounds the surface
       
      .qdrant.GeoLineString exterior = 1;
    • mergeExterior

      public Points.GeoPolygon.Builder mergeExterior(Points.GeoLineString value)
       The exterior line bounds the surface
       
      .qdrant.GeoLineString exterior = 1;
    • clearExterior

      public Points.GeoPolygon.Builder clearExterior()
       The exterior line bounds the surface
       
      .qdrant.GeoLineString exterior = 1;
    • getExteriorBuilder

      public Points.GeoLineString.Builder getExteriorBuilder()
       The exterior line bounds the surface
       
      .qdrant.GeoLineString exterior = 1;
    • getExteriorOrBuilder

      public Points.GeoLineStringOrBuilder getExteriorOrBuilder()
       The exterior line bounds the surface
       
      .qdrant.GeoLineString exterior = 1;
      Specified by:
      getExteriorOrBuilder in interface Points.GeoPolygonOrBuilder
    • getInteriorsList

      public List<Points.GeoLineString> getInteriorsList()
       Interior lines (if present) bound holes within the surface
       
      repeated .qdrant.GeoLineString interiors = 2;
      Specified by:
      getInteriorsList in interface Points.GeoPolygonOrBuilder
    • getInteriorsCount

      public int getInteriorsCount()
       Interior lines (if present) bound holes within the surface
       
      repeated .qdrant.GeoLineString interiors = 2;
      Specified by:
      getInteriorsCount in interface Points.GeoPolygonOrBuilder
    • getInteriors

      public Points.GeoLineString getInteriors(int index)
       Interior lines (if present) bound holes within the surface
       
      repeated .qdrant.GeoLineString interiors = 2;
      Specified by:
      getInteriors in interface Points.GeoPolygonOrBuilder
    • setInteriors

      public Points.GeoPolygon.Builder setInteriors(int index, Points.GeoLineString value)
       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

      public Points.GeoPolygon.Builder addInteriors(Points.GeoLineString value)
       Interior lines (if present) bound holes within the surface
       
      repeated .qdrant.GeoLineString interiors = 2;
    • addInteriors

      public Points.GeoPolygon.Builder addInteriors(int index, Points.GeoLineString value)
       Interior lines (if present) bound holes within the surface
       
      repeated .qdrant.GeoLineString interiors = 2;
    • addInteriors

      public Points.GeoPolygon.Builder addInteriors(Points.GeoLineString.Builder builderForValue)
       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

      public Points.GeoPolygon.Builder addAllInteriors(Iterable<? extends Points.GeoLineString> values)
       Interior lines (if present) bound holes within the surface
       
      repeated .qdrant.GeoLineString interiors = 2;
    • clearInteriors

      public Points.GeoPolygon.Builder clearInteriors()
       Interior lines (if present) bound holes within the surface
       
      repeated .qdrant.GeoLineString interiors = 2;
    • removeInteriors

      public Points.GeoPolygon.Builder removeInteriors(int index)
       Interior lines (if present) bound holes within the surface
       
      repeated .qdrant.GeoLineString interiors = 2;
    • getInteriorsBuilder

      public Points.GeoLineString.Builder getInteriorsBuilder(int index)
       Interior lines (if present) bound holes within the surface
       
      repeated .qdrant.GeoLineString interiors = 2;
    • getInteriorsOrBuilder

      public Points.GeoLineStringOrBuilder getInteriorsOrBuilder(int index)
       Interior lines (if present) bound holes within the surface
       
      repeated .qdrant.GeoLineString interiors = 2;
      Specified by:
      getInteriorsOrBuilder in interface Points.GeoPolygonOrBuilder
    • getInteriorsOrBuilderList

      public List<? extends Points.GeoLineStringOrBuilder> getInteriorsOrBuilderList()
       Interior lines (if present) bound holes within the surface
       
      repeated .qdrant.GeoLineString interiors = 2;
      Specified by:
      getInteriorsOrBuilderList in interface Points.GeoPolygonOrBuilder
    • addInteriorsBuilder

      public Points.GeoLineString.Builder addInteriorsBuilder()
       Interior lines (if present) bound holes within the surface
       
      repeated .qdrant.GeoLineString interiors = 2;
    • addInteriorsBuilder

      public Points.GeoLineString.Builder addInteriorsBuilder(int index)
       Interior lines (if present) bound holes within the surface
       
      repeated .qdrant.GeoLineString interiors = 2;
    • getInteriorsBuilderList

      public List<Points.GeoLineString.Builder> 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 interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Points.GeoPolygon.Builder>
    • mergeUnknownFields

      public final Points.GeoPolygon.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<Points.GeoPolygon.Builder>