Class DirectPositionType.Builder

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

public static final class DirectPositionType.Builder extends com.google.protobuf.GeneratedMessage.Builder<DirectPositionType.Builder> implements DirectPositionTypeOrBuilder
 Direct position instances hold the coordinates for a position within some coordinate reference system (CRS). Since direct positions, as data types, will often be included in larger objects (such as geometry elements) that have references to CRS, the srsName attribute will in general be missing, if this particular direct position is included in a larger element with such a reference to a CRS. In this case, the CRS is implicitly assumed to take on the value of the containing object's CRS. if no srsName attribute is given, the CRS shall be specified as part of the larger context this geometry element is part of, typically a geometric object like a point, curve, etc.  [gml/geometryBasic0d1d-extract-v3_2_1.xsd at 73:41]
 
Protobuf type net.opengis.www.gml.v3_2.DirectPositionType
  • Method Summary

    Modifier and Type
    Method
    Description
    addAllValue(Iterable<? extends Double> values)
    Direct position instances hold the coordinates for a position within some coordinate reference system (CRS).
    addValue(double value)
    Direct position instances hold the coordinates for a position within some coordinate reference system (CRS).
     
     
     
    [gml/geometryBasic0d1d-extract-v3_2_1.xsd at 37:58]
    [gml/geometryBasic0d1d-extract-v3_2_1.xsd at 36:44]
    Direct position instances hold the coordinates for a position within some coordinate reference system (CRS).
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Descriptors.Descriptor
     
    int
    [gml/geometryBasic0d1d-extract-v3_2_1.xsd at 37:58]
    [gml/geometryBasic0d1d-extract-v3_2_1.xsd at 36:44]
    com.google.protobuf.ByteString
    [gml/geometryBasic0d1d-extract-v3_2_1.xsd at 36:44]
    double
    getValue(int index)
    Direct position instances hold the coordinates for a position within some coordinate reference system (CRS).
    int
    Direct position instances hold the coordinates for a position within some coordinate reference system (CRS).
    Direct position instances hold the coordinates for a position within some coordinate reference system (CRS).
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
    mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    mergeFrom(com.google.protobuf.Message other)
     
     
    setSrsDimension(int value)
    [gml/geometryBasic0d1d-extract-v3_2_1.xsd at 37:58]
    [gml/geometryBasic0d1d-extract-v3_2_1.xsd at 36:44]
    setSrsNameBytes(com.google.protobuf.ByteString value)
    [gml/geometryBasic0d1d-extract-v3_2_1.xsd at 36:44]
    setValue(int index, double value)
    Direct position instances hold the coordinates for a position within some coordinate reference system (CRS).

    Methods inherited from class com.google.protobuf.GeneratedMessage.Builder

    addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, 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.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<DirectPositionType.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<DirectPositionType.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<DirectPositionType.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public DirectPositionType.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<DirectPositionType.Builder>
      Throws:
      IOException
    • getSrsName

      public String getSrsName()
       [gml/geometryBasic0d1d-extract-v3_2_1.xsd at 36:44]
       
      string srs_name = 1;
      Specified by:
      getSrsName in interface DirectPositionTypeOrBuilder
      Returns:
      The srsName.
    • getSrsNameBytes

      public com.google.protobuf.ByteString getSrsNameBytes()
       [gml/geometryBasic0d1d-extract-v3_2_1.xsd at 36:44]
       
      string srs_name = 1;
      Specified by:
      getSrsNameBytes in interface DirectPositionTypeOrBuilder
      Returns:
      The bytes for srsName.
    • setSrsName

      public DirectPositionType.Builder setSrsName(String value)
       [gml/geometryBasic0d1d-extract-v3_2_1.xsd at 36:44]
       
      string srs_name = 1;
      Parameters:
      value - The srsName to set.
      Returns:
      This builder for chaining.
    • clearSrsName

      public DirectPositionType.Builder clearSrsName()
       [gml/geometryBasic0d1d-extract-v3_2_1.xsd at 36:44]
       
      string srs_name = 1;
      Returns:
      This builder for chaining.
    • setSrsNameBytes

      public DirectPositionType.Builder setSrsNameBytes(com.google.protobuf.ByteString value)
       [gml/geometryBasic0d1d-extract-v3_2_1.xsd at 36:44]
       
      string srs_name = 1;
      Parameters:
      value - The bytes for srsName to set.
      Returns:
      This builder for chaining.
    • getSrsDimension

      public int getSrsDimension()
       [gml/geometryBasic0d1d-extract-v3_2_1.xsd at 37:58]
       
      uint32 srs_dimension = 2 [(.buf.validate.field) = { ... }
      Specified by:
      getSrsDimension in interface DirectPositionTypeOrBuilder
      Returns:
      The srsDimension.
    • setSrsDimension

      public DirectPositionType.Builder setSrsDimension(int value)
       [gml/geometryBasic0d1d-extract-v3_2_1.xsd at 37:58]
       
      uint32 srs_dimension = 2 [(.buf.validate.field) = { ... }
      Parameters:
      value - The srsDimension to set.
      Returns:
      This builder for chaining.
    • clearSrsDimension

      public DirectPositionType.Builder clearSrsDimension()
       [gml/geometryBasic0d1d-extract-v3_2_1.xsd at 37:58]
       
      uint32 srs_dimension = 2 [(.buf.validate.field) = { ... }
      Returns:
      This builder for chaining.
    • getValueList

      public List<Double> getValueList()
       Direct position instances hold the coordinates for a position within some coordinate reference system (CRS). Since direct positions, as data types, will often be included in larger objects (such as geometry elements) that have references to CRS, the srsName attribute will in general be missing, if this particular direct position is included in a larger element with such a reference to a CRS. In this case, the CRS is implicitly assumed to take on the value of the containing object's CRS. if no srsName attribute is given, the CRS shall be specified as part of the larger context this geometry element is part of, typically a geometric object like a point, curve, etc.  [gml/geometryBasic0d1d-extract-v3_2_1.xsd at 73:41]
       
      repeated double value = 3;
      Specified by:
      getValueList in interface DirectPositionTypeOrBuilder
      Returns:
      A list containing the value.
    • getValueCount

      public int getValueCount()
       Direct position instances hold the coordinates for a position within some coordinate reference system (CRS). Since direct positions, as data types, will often be included in larger objects (such as geometry elements) that have references to CRS, the srsName attribute will in general be missing, if this particular direct position is included in a larger element with such a reference to a CRS. In this case, the CRS is implicitly assumed to take on the value of the containing object's CRS. if no srsName attribute is given, the CRS shall be specified as part of the larger context this geometry element is part of, typically a geometric object like a point, curve, etc.  [gml/geometryBasic0d1d-extract-v3_2_1.xsd at 73:41]
       
      repeated double value = 3;
      Specified by:
      getValueCount in interface DirectPositionTypeOrBuilder
      Returns:
      The count of value.
    • getValue

      public double getValue(int index)
       Direct position instances hold the coordinates for a position within some coordinate reference system (CRS). Since direct positions, as data types, will often be included in larger objects (such as geometry elements) that have references to CRS, the srsName attribute will in general be missing, if this particular direct position is included in a larger element with such a reference to a CRS. In this case, the CRS is implicitly assumed to take on the value of the containing object's CRS. if no srsName attribute is given, the CRS shall be specified as part of the larger context this geometry element is part of, typically a geometric object like a point, curve, etc.  [gml/geometryBasic0d1d-extract-v3_2_1.xsd at 73:41]
       
      repeated double value = 3;
      Specified by:
      getValue in interface DirectPositionTypeOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The value at the given index.
    • setValue

      public DirectPositionType.Builder setValue(int index, double value)
       Direct position instances hold the coordinates for a position within some coordinate reference system (CRS). Since direct positions, as data types, will often be included in larger objects (such as geometry elements) that have references to CRS, the srsName attribute will in general be missing, if this particular direct position is included in a larger element with such a reference to a CRS. In this case, the CRS is implicitly assumed to take on the value of the containing object's CRS. if no srsName attribute is given, the CRS shall be specified as part of the larger context this geometry element is part of, typically a geometric object like a point, curve, etc.  [gml/geometryBasic0d1d-extract-v3_2_1.xsd at 73:41]
       
      repeated double value = 3;
      Parameters:
      index - The index to set the value at.
      value - The value to set.
      Returns:
      This builder for chaining.
    • addValue

      public DirectPositionType.Builder addValue(double value)
       Direct position instances hold the coordinates for a position within some coordinate reference system (CRS). Since direct positions, as data types, will often be included in larger objects (such as geometry elements) that have references to CRS, the srsName attribute will in general be missing, if this particular direct position is included in a larger element with such a reference to a CRS. In this case, the CRS is implicitly assumed to take on the value of the containing object's CRS. if no srsName attribute is given, the CRS shall be specified as part of the larger context this geometry element is part of, typically a geometric object like a point, curve, etc.  [gml/geometryBasic0d1d-extract-v3_2_1.xsd at 73:41]
       
      repeated double value = 3;
      Parameters:
      value - The value to add.
      Returns:
      This builder for chaining.
    • addAllValue

      public DirectPositionType.Builder addAllValue(Iterable<? extends Double> values)
       Direct position instances hold the coordinates for a position within some coordinate reference system (CRS). Since direct positions, as data types, will often be included in larger objects (such as geometry elements) that have references to CRS, the srsName attribute will in general be missing, if this particular direct position is included in a larger element with such a reference to a CRS. In this case, the CRS is implicitly assumed to take on the value of the containing object's CRS. if no srsName attribute is given, the CRS shall be specified as part of the larger context this geometry element is part of, typically a geometric object like a point, curve, etc.  [gml/geometryBasic0d1d-extract-v3_2_1.xsd at 73:41]
       
      repeated double value = 3;
      Parameters:
      values - The value to add.
      Returns:
      This builder for chaining.
    • clearValue

      public DirectPositionType.Builder clearValue()
       Direct position instances hold the coordinates for a position within some coordinate reference system (CRS). Since direct positions, as data types, will often be included in larger objects (such as geometry elements) that have references to CRS, the srsName attribute will in general be missing, if this particular direct position is included in a larger element with such a reference to a CRS. In this case, the CRS is implicitly assumed to take on the value of the containing object's CRS. if no srsName attribute is given, the CRS shall be specified as part of the larger context this geometry element is part of, typically a geometric object like a point, curve, etc.  [gml/geometryBasic0d1d-extract-v3_2_1.xsd at 73:41]
       
      repeated double value = 3;
      Returns:
      This builder for chaining.