Class GeometryPropertyType.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<GeometryPropertyType.Builder>
com.google.protobuf.GeneratedMessage.Builder<GeometryPropertyType.Builder>
net.opengis.www.gml.v3_2.GeometryPropertyType.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, GeometryPropertyTypeOrBuilder
Enclosing class:
GeometryPropertyType

public static final class GeometryPropertyType.Builder extends com.google.protobuf.GeneratedMessage.Builder<GeometryPropertyType.Builder> implements GeometryPropertyTypeOrBuilder
 A geometric property may either be any geometry element encapsulated in an element of this type or an XLink reference to a remote geometry element (where remote includes geometry elements located elsewhere in the same or another document). Note that either the reference or the contained element shall be given, but not both or none. If a feature has a property that takes a geometry element as its value, this is called a geometry property. A generic type for such a geometry property is GeometryPropertyType.  [gml/geometryBasic0d1d-extract-v3_2_1.xsd at 52:43]
 
Protobuf type net.opengis.www.gml.v3_2.GeometryPropertyType
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<GeometryPropertyType.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.GeneratedMessage.Builder<GeometryPropertyType.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.GeneratedMessage.Builder<GeometryPropertyType.Builder>
    • getDefaultInstanceForType

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

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

      public GeometryPropertyType buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

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

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<GeometryPropertyType.Builder>
    • mergeFrom

      public GeometryPropertyType.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<GeometryPropertyType.Builder>
      Throws:
      IOException
    • getAbstractGeometryTypeCase

      public GeometryPropertyType.AbstractGeometryTypeCase getAbstractGeometryTypeCase()
      Specified by:
      getAbstractGeometryTypeCase in interface GeometryPropertyTypeOrBuilder
    • clearAbstractGeometryType

      public GeometryPropertyType.Builder clearAbstractGeometryType()
    • getNilReason

      public String getNilReason()
       [gml/gmlBase-extract-v3_2_1.xsd at 46:57]
       
      string nil_reason = 1;
      Specified by:
      getNilReason in interface GeometryPropertyTypeOrBuilder
      Returns:
      The nilReason.
    • getNilReasonBytes

      public com.google.protobuf.ByteString getNilReasonBytes()
       [gml/gmlBase-extract-v3_2_1.xsd at 46:57]
       
      string nil_reason = 1;
      Specified by:
      getNilReasonBytes in interface GeometryPropertyTypeOrBuilder
      Returns:
      The bytes for nilReason.
    • setNilReason

      public GeometryPropertyType.Builder setNilReason(String value)
       [gml/gmlBase-extract-v3_2_1.xsd at 46:57]
       
      string nil_reason = 1;
      Parameters:
      value - The nilReason to set.
      Returns:
      This builder for chaining.
    • clearNilReason

      public GeometryPropertyType.Builder clearNilReason()
       [gml/gmlBase-extract-v3_2_1.xsd at 46:57]
       
      string nil_reason = 1;
      Returns:
      This builder for chaining.
    • setNilReasonBytes

      public GeometryPropertyType.Builder setNilReasonBytes(com.google.protobuf.ByteString value)
       [gml/gmlBase-extract-v3_2_1.xsd at 46:57]
       
      string nil_reason = 1;
      Parameters:
      value - The bytes for nilReason to set.
      Returns:
      This builder for chaining.
    • getOwns

      public boolean getOwns()
       [gml/gmlBase-extract-v3_2_1.xsd at 69:58]
       
      bool owns = 2;
      Specified by:
      getOwns in interface GeometryPropertyTypeOrBuilder
      Returns:
      The owns.
    • setOwns

      public GeometryPropertyType.Builder setOwns(boolean value)
       [gml/gmlBase-extract-v3_2_1.xsd at 69:58]
       
      bool owns = 2;
      Parameters:
      value - The owns to set.
      Returns:
      This builder for chaining.
    • clearOwns

      public GeometryPropertyType.Builder clearOwns()
       [gml/gmlBase-extract-v3_2_1.xsd at 69:58]
       
      bool owns = 2;
      Returns:
      This builder for chaining.
    • hasPoint

      public boolean hasPoint()
       A Point is defined by a single coordinate tuple. The direct position of a point is specified by the pos element which is of type DirectPositionType.  [gml/geometryBasic0d1d-extract-v3_2_1.xsd at 184:96]
       
      .net.opengis.www.gml.v3_2.PointType point = 3;
      Specified by:
      hasPoint in interface GeometryPropertyTypeOrBuilder
      Returns:
      Whether the point field is set.
    • getPoint

      public PointType getPoint()
       A Point is defined by a single coordinate tuple. The direct position of a point is specified by the pos element which is of type DirectPositionType.  [gml/geometryBasic0d1d-extract-v3_2_1.xsd at 184:96]
       
      .net.opengis.www.gml.v3_2.PointType point = 3;
      Specified by:
      getPoint in interface GeometryPropertyTypeOrBuilder
      Returns:
      The point.
    • setPoint

      public GeometryPropertyType.Builder setPoint(PointType value)
       A Point is defined by a single coordinate tuple. The direct position of a point is specified by the pos element which is of type DirectPositionType.  [gml/geometryBasic0d1d-extract-v3_2_1.xsd at 184:96]
       
      .net.opengis.www.gml.v3_2.PointType point = 3;
    • setPoint

      public GeometryPropertyType.Builder setPoint(PointType.Builder builderForValue)
       A Point is defined by a single coordinate tuple. The direct position of a point is specified by the pos element which is of type DirectPositionType.  [gml/geometryBasic0d1d-extract-v3_2_1.xsd at 184:96]
       
      .net.opengis.www.gml.v3_2.PointType point = 3;
    • mergePoint

      public GeometryPropertyType.Builder mergePoint(PointType value)
       A Point is defined by a single coordinate tuple. The direct position of a point is specified by the pos element which is of type DirectPositionType.  [gml/geometryBasic0d1d-extract-v3_2_1.xsd at 184:96]
       
      .net.opengis.www.gml.v3_2.PointType point = 3;
    • clearPoint

      public GeometryPropertyType.Builder clearPoint()
       A Point is defined by a single coordinate tuple. The direct position of a point is specified by the pos element which is of type DirectPositionType.  [gml/geometryBasic0d1d-extract-v3_2_1.xsd at 184:96]
       
      .net.opengis.www.gml.v3_2.PointType point = 3;
    • getPointBuilder

      public PointType.Builder getPointBuilder()
       A Point is defined by a single coordinate tuple. The direct position of a point is specified by the pos element which is of type DirectPositionType.  [gml/geometryBasic0d1d-extract-v3_2_1.xsd at 184:96]
       
      .net.opengis.www.gml.v3_2.PointType point = 3;
    • getPointOrBuilder

      public PointTypeOrBuilder getPointOrBuilder()
       A Point is defined by a single coordinate tuple. The direct position of a point is specified by the pos element which is of type DirectPositionType.  [gml/geometryBasic0d1d-extract-v3_2_1.xsd at 184:96]
       
      .net.opengis.www.gml.v3_2.PointType point = 3;
      Specified by:
      getPointOrBuilder in interface GeometryPropertyTypeOrBuilder
    • hasLineString

      public boolean hasLineString()
       A LineString is a special curve that consists of a single segment with linear interpolation. It is defined by two or more coordinate tuples, with linear interpolation between them. The number of direct positions in the list shall be at least two.  [gml/geometryBasic0d1d-extract-v3_2_1.xsd at 265:93]
       
      .net.opengis.www.gml.v3_2.LineStringType line_string = 4;
      Specified by:
      hasLineString in interface GeometryPropertyTypeOrBuilder
      Returns:
      Whether the lineString field is set.
    • getLineString

      public LineStringType getLineString()
       A LineString is a special curve that consists of a single segment with linear interpolation. It is defined by two or more coordinate tuples, with linear interpolation between them. The number of direct positions in the list shall be at least two.  [gml/geometryBasic0d1d-extract-v3_2_1.xsd at 265:93]
       
      .net.opengis.www.gml.v3_2.LineStringType line_string = 4;
      Specified by:
      getLineString in interface GeometryPropertyTypeOrBuilder
      Returns:
      The lineString.
    • setLineString

      public GeometryPropertyType.Builder setLineString(LineStringType value)
       A LineString is a special curve that consists of a single segment with linear interpolation. It is defined by two or more coordinate tuples, with linear interpolation between them. The number of direct positions in the list shall be at least two.  [gml/geometryBasic0d1d-extract-v3_2_1.xsd at 265:93]
       
      .net.opengis.www.gml.v3_2.LineStringType line_string = 4;
    • setLineString

      public GeometryPropertyType.Builder setLineString(LineStringType.Builder builderForValue)
       A LineString is a special curve that consists of a single segment with linear interpolation. It is defined by two or more coordinate tuples, with linear interpolation between them. The number of direct positions in the list shall be at least two.  [gml/geometryBasic0d1d-extract-v3_2_1.xsd at 265:93]
       
      .net.opengis.www.gml.v3_2.LineStringType line_string = 4;
    • mergeLineString

      public GeometryPropertyType.Builder mergeLineString(LineStringType value)
       A LineString is a special curve that consists of a single segment with linear interpolation. It is defined by two or more coordinate tuples, with linear interpolation between them. The number of direct positions in the list shall be at least two.  [gml/geometryBasic0d1d-extract-v3_2_1.xsd at 265:93]
       
      .net.opengis.www.gml.v3_2.LineStringType line_string = 4;
    • clearLineString

      public GeometryPropertyType.Builder clearLineString()
       A LineString is a special curve that consists of a single segment with linear interpolation. It is defined by two or more coordinate tuples, with linear interpolation between them. The number of direct positions in the list shall be at least two.  [gml/geometryBasic0d1d-extract-v3_2_1.xsd at 265:93]
       
      .net.opengis.www.gml.v3_2.LineStringType line_string = 4;
    • getLineStringBuilder

      public LineStringType.Builder getLineStringBuilder()
       A LineString is a special curve that consists of a single segment with linear interpolation. It is defined by two or more coordinate tuples, with linear interpolation between them. The number of direct positions in the list shall be at least two.  [gml/geometryBasic0d1d-extract-v3_2_1.xsd at 265:93]
       
      .net.opengis.www.gml.v3_2.LineStringType line_string = 4;
    • getLineStringOrBuilder

      public LineStringTypeOrBuilder getLineStringOrBuilder()
       A LineString is a special curve that consists of a single segment with linear interpolation. It is defined by two or more coordinate tuples, with linear interpolation between them. The number of direct positions in the list shall be at least two.  [gml/geometryBasic0d1d-extract-v3_2_1.xsd at 265:93]
       
      .net.opengis.www.gml.v3_2.LineStringType line_string = 4;
      Specified by:
      getLineStringOrBuilder in interface GeometryPropertyTypeOrBuilder
    • hasPolygon

      public boolean hasPolygon()
       A Polygon is a special surface that is defined by a single surface patch (see D.3.6). The boundary of this patch is coplanar and the polygon uses planar interpolation in its interior. The elements exterior and interior describe the surface boundary of the polygon.  [gml/gmlBasic2d-extract-v3_2_1-.xsd at 59:89]
       
      .net.opengis.www.gml.v3_2.PolygonType polygon = 5;
      Specified by:
      hasPolygon in interface GeometryPropertyTypeOrBuilder
      Returns:
      Whether the polygon field is set.
    • getPolygon

      public PolygonType getPolygon()
       A Polygon is a special surface that is defined by a single surface patch (see D.3.6). The boundary of this patch is coplanar and the polygon uses planar interpolation in its interior. The elements exterior and interior describe the surface boundary of the polygon.  [gml/gmlBasic2d-extract-v3_2_1-.xsd at 59:89]
       
      .net.opengis.www.gml.v3_2.PolygonType polygon = 5;
      Specified by:
      getPolygon in interface GeometryPropertyTypeOrBuilder
      Returns:
      The polygon.
    • setPolygon

      public GeometryPropertyType.Builder setPolygon(PolygonType value)
       A Polygon is a special surface that is defined by a single surface patch (see D.3.6). The boundary of this patch is coplanar and the polygon uses planar interpolation in its interior. The elements exterior and interior describe the surface boundary of the polygon.  [gml/gmlBasic2d-extract-v3_2_1-.xsd at 59:89]
       
      .net.opengis.www.gml.v3_2.PolygonType polygon = 5;
    • setPolygon

      public GeometryPropertyType.Builder setPolygon(PolygonType.Builder builderForValue)
       A Polygon is a special surface that is defined by a single surface patch (see D.3.6). The boundary of this patch is coplanar and the polygon uses planar interpolation in its interior. The elements exterior and interior describe the surface boundary of the polygon.  [gml/gmlBasic2d-extract-v3_2_1-.xsd at 59:89]
       
      .net.opengis.www.gml.v3_2.PolygonType polygon = 5;
    • mergePolygon

      public GeometryPropertyType.Builder mergePolygon(PolygonType value)
       A Polygon is a special surface that is defined by a single surface patch (see D.3.6). The boundary of this patch is coplanar and the polygon uses planar interpolation in its interior. The elements exterior and interior describe the surface boundary of the polygon.  [gml/gmlBasic2d-extract-v3_2_1-.xsd at 59:89]
       
      .net.opengis.www.gml.v3_2.PolygonType polygon = 5;
    • clearPolygon

      public GeometryPropertyType.Builder clearPolygon()
       A Polygon is a special surface that is defined by a single surface patch (see D.3.6). The boundary of this patch is coplanar and the polygon uses planar interpolation in its interior. The elements exterior and interior describe the surface boundary of the polygon.  [gml/gmlBasic2d-extract-v3_2_1-.xsd at 59:89]
       
      .net.opengis.www.gml.v3_2.PolygonType polygon = 5;
    • getPolygonBuilder

      public PolygonType.Builder getPolygonBuilder()
       A Polygon is a special surface that is defined by a single surface patch (see D.3.6). The boundary of this patch is coplanar and the polygon uses planar interpolation in its interior. The elements exterior and interior describe the surface boundary of the polygon.  [gml/gmlBasic2d-extract-v3_2_1-.xsd at 59:89]
       
      .net.opengis.www.gml.v3_2.PolygonType polygon = 5;
    • getPolygonOrBuilder

      public PolygonTypeOrBuilder getPolygonOrBuilder()
       A Polygon is a special surface that is defined by a single surface patch (see D.3.6). The boundary of this patch is coplanar and the polygon uses planar interpolation in its interior. The elements exterior and interior describe the surface boundary of the polygon.  [gml/gmlBasic2d-extract-v3_2_1-.xsd at 59:89]
       
      .net.opengis.www.gml.v3_2.PolygonType polygon = 5;
      Specified by:
      getPolygonOrBuilder in interface GeometryPropertyTypeOrBuilder