Class Geometry

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.cognite.client.dto.geo.Geometry
All Implemented Interfaces:
GeometryOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

public final class Geometry extends com.google.protobuf.GeneratedMessageV3 implements GeometryOrBuilder
Protobuf type com.cognite.client.dto.geo.Geometry
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    Protobuf type com.cognite.client.dto.geo.Geometry
    static enum 
     

    Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3

    com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter

    Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

    com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     

    Fields inherited from class com.google.protobuf.GeneratedMessageV3

    alwaysUseFieldBuilders, unknownFields

    Fields inherited from class com.google.protobuf.AbstractMessage

    memoizedSize

    Fields inherited from class com.google.protobuf.AbstractMessageLite

    memoizedHashCode
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    static Geometry
     
     
    static final com.google.protobuf.Descriptors.Descriptor
     
     
    .com.cognite.client.dto.geo.LineString line_string = 3;
    .com.cognite.client.dto.geo.LineString line_string = 3;
    .com.cognite.client.dto.geo.MultiLineString multi_line_string = 4;
    .com.cognite.client.dto.geo.MultiLineString multi_line_string = 4;
    .com.cognite.client.dto.geo.MultiPoint multi_point = 2;
    .com.cognite.client.dto.geo.MultiPoint multi_point = 2;
    .com.cognite.client.dto.geo.MultiPolygon multi_polygon = 6;
    .com.cognite.client.dto.geo.MultiPolygon multi_polygon = 6;
    com.google.protobuf.Parser<Geometry>
     
    .com.cognite.client.dto.geo.Point point = 1;
    .com.cognite.client.dto.geo.Point point = 1;
    .com.cognite.client.dto.geo.Polygon polygon = 5;
    .com.cognite.client.dto.geo.Polygon polygon = 5;
    int
     
    int
     
    boolean
    .com.cognite.client.dto.geo.LineString line_string = 3;
    boolean
    .com.cognite.client.dto.geo.MultiLineString multi_line_string = 4;
    boolean
    .com.cognite.client.dto.geo.MultiPoint multi_point = 2;
    boolean
    .com.cognite.client.dto.geo.MultiPolygon multi_polygon = 6;
    boolean
    .com.cognite.client.dto.geo.Point point = 1;
    boolean
    .com.cognite.client.dto.geo.Polygon polygon = 5;
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
     
    final boolean
     
     
    newBuilder(Geometry prototype)
     
     
    newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
     
    protected Object
    newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
     
    static Geometry
     
    static Geometry
    parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Geometry
    parseFrom(byte[] data)
     
    static Geometry
    parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Geometry
    parseFrom(com.google.protobuf.ByteString data)
     
    static Geometry
    parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Geometry
    parseFrom(com.google.protobuf.CodedInputStream input)
     
    static Geometry
    parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Geometry
     
    static Geometry
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Geometry
     
    static Geometry
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<Geometry>
     
     
    void
    writeTo(com.google.protobuf.CodedOutputStream output)
     

    Methods inherited from class com.google.protobuf.GeneratedMessageV3

    canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag

    Methods inherited from class com.google.protobuf.AbstractMessage

    findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite

    addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.MessageLite

    toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Field Details

    • POINT_FIELD_NUMBER

      public static final int POINT_FIELD_NUMBER
      See Also:
    • MULTI_POINT_FIELD_NUMBER

      public static final int MULTI_POINT_FIELD_NUMBER
      See Also:
    • LINE_STRING_FIELD_NUMBER

      public static final int LINE_STRING_FIELD_NUMBER
      See Also:
    • MULTI_LINE_STRING_FIELD_NUMBER

      public static final int MULTI_LINE_STRING_FIELD_NUMBER
      See Also:
    • POLYGON_FIELD_NUMBER

      public static final int POLYGON_FIELD_NUMBER
      See Also:
    • MULTI_POLYGON_FIELD_NUMBER

      public static final int MULTI_POLYGON_FIELD_NUMBER
      See Also:
  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • 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
    • getGeometryTypeCase

      public Geometry.GeometryTypeCase getGeometryTypeCase()
      Specified by:
      getGeometryTypeCase in interface GeometryOrBuilder
    • hasPoint

      public boolean hasPoint()
      .com.cognite.client.dto.geo.Point point = 1;
      Specified by:
      hasPoint in interface GeometryOrBuilder
      Returns:
      Whether the point field is set.
    • getPoint

      public Point getPoint()
      .com.cognite.client.dto.geo.Point point = 1;
      Specified by:
      getPoint in interface GeometryOrBuilder
      Returns:
      The point.
    • getPointOrBuilder

      public PointOrBuilder getPointOrBuilder()
      .com.cognite.client.dto.geo.Point point = 1;
      Specified by:
      getPointOrBuilder in interface GeometryOrBuilder
    • hasMultiPoint

      public boolean hasMultiPoint()
      .com.cognite.client.dto.geo.MultiPoint multi_point = 2;
      Specified by:
      hasMultiPoint in interface GeometryOrBuilder
      Returns:
      Whether the multiPoint field is set.
    • getMultiPoint

      public MultiPoint getMultiPoint()
      .com.cognite.client.dto.geo.MultiPoint multi_point = 2;
      Specified by:
      getMultiPoint in interface GeometryOrBuilder
      Returns:
      The multiPoint.
    • getMultiPointOrBuilder

      public MultiPointOrBuilder getMultiPointOrBuilder()
      .com.cognite.client.dto.geo.MultiPoint multi_point = 2;
      Specified by:
      getMultiPointOrBuilder in interface GeometryOrBuilder
    • hasLineString

      public boolean hasLineString()
      .com.cognite.client.dto.geo.LineString line_string = 3;
      Specified by:
      hasLineString in interface GeometryOrBuilder
      Returns:
      Whether the lineString field is set.
    • getLineString

      public LineString getLineString()
      .com.cognite.client.dto.geo.LineString line_string = 3;
      Specified by:
      getLineString in interface GeometryOrBuilder
      Returns:
      The lineString.
    • getLineStringOrBuilder

      public LineStringOrBuilder getLineStringOrBuilder()
      .com.cognite.client.dto.geo.LineString line_string = 3;
      Specified by:
      getLineStringOrBuilder in interface GeometryOrBuilder
    • hasMultiLineString

      public boolean hasMultiLineString()
      .com.cognite.client.dto.geo.MultiLineString multi_line_string = 4;
      Specified by:
      hasMultiLineString in interface GeometryOrBuilder
      Returns:
      Whether the multiLineString field is set.
    • getMultiLineString

      public MultiLineString getMultiLineString()
      .com.cognite.client.dto.geo.MultiLineString multi_line_string = 4;
      Specified by:
      getMultiLineString in interface GeometryOrBuilder
      Returns:
      The multiLineString.
    • getMultiLineStringOrBuilder

      public MultiLineStringOrBuilder getMultiLineStringOrBuilder()
      .com.cognite.client.dto.geo.MultiLineString multi_line_string = 4;
      Specified by:
      getMultiLineStringOrBuilder in interface GeometryOrBuilder
    • hasPolygon

      public boolean hasPolygon()
      .com.cognite.client.dto.geo.Polygon polygon = 5;
      Specified by:
      hasPolygon in interface GeometryOrBuilder
      Returns:
      Whether the polygon field is set.
    • getPolygon

      public Polygon getPolygon()
      .com.cognite.client.dto.geo.Polygon polygon = 5;
      Specified by:
      getPolygon in interface GeometryOrBuilder
      Returns:
      The polygon.
    • getPolygonOrBuilder

      public PolygonOrBuilder getPolygonOrBuilder()
      .com.cognite.client.dto.geo.Polygon polygon = 5;
      Specified by:
      getPolygonOrBuilder in interface GeometryOrBuilder
    • hasMultiPolygon

      public boolean hasMultiPolygon()
      .com.cognite.client.dto.geo.MultiPolygon multi_polygon = 6;
      Specified by:
      hasMultiPolygon in interface GeometryOrBuilder
      Returns:
      Whether the multiPolygon field is set.
    • getMultiPolygon

      public MultiPolygon getMultiPolygon()
      .com.cognite.client.dto.geo.MultiPolygon multi_polygon = 6;
      Specified by:
      getMultiPolygon in interface GeometryOrBuilder
      Returns:
      The multiPolygon.
    • getMultiPolygonOrBuilder

      public MultiPolygonOrBuilder getMultiPolygonOrBuilder()
      .com.cognite.client.dto.geo.MultiPolygon multi_polygon = 6;
      Specified by:
      getMultiPolygonOrBuilder in interface GeometryOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static Geometry parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Geometry parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Geometry parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Geometry parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Geometry parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Geometry parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Geometry parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Geometry parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Geometry parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Geometry parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Geometry parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Geometry parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public Geometry.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static Geometry.Builder newBuilder()
    • newBuilder

      public static Geometry.Builder newBuilder(Geometry prototype)
    • toBuilder

      public Geometry.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected Geometry.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static Geometry getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<Geometry> parser()
    • getParserForType

      public com.google.protobuf.Parser<Geometry> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public Geometry getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder