Class DirectPositionListType.Builder

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

public static final class DirectPositionListType.Builder extends com.google.protobuf.GeneratedMessage.Builder<DirectPositionListType.Builder> implements DirectPositionListTypeOrBuilder
 posList instances (and other instances with the content model specified by DirectPositionListType) hold the coordinates for a sequence of direct positions within the same coordinate reference system (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. The optional attribute count specifies the number of direct positions in the list. If the attribute count is present then the attribute srsDimension shall be present, too. The number of entries in the list is equal to the product of the dimensionality of the coordinate reference system (i.e. it is a derived value of the coordinate reference system definition) and the number of direct positions.  [gml/geometryBasic0d1d-extract-v3_2_1.xsd at 85:45]
 
Protobuf type net.opengis.www.gml.v3_2.DirectPositionListType
  • Method Summary

    Modifier and Type
    Method
    Description
    addAllValue(Iterable<? extends Double> values)
    posList instances (and other instances with the content model specified by DirectPositionListType) hold the coordinates for a sequence of direct positions within the same coordinate reference system (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.
    addValue(double value)
    posList instances (and other instances with the content model specified by DirectPositionListType) hold the coordinates for a sequence of direct positions within the same coordinate reference system (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 95:53]
    [gml/geometryBasic0d1d-extract-v3_2_1.xsd at 37:58]
    [gml/geometryBasic0d1d-extract-v3_2_1.xsd at 36:44]
    posList instances (and other instances with the content model specified by DirectPositionListType) hold the coordinates for a sequence of direct positions within the same coordinate reference system (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.
    int
    [gml/geometryBasic0d1d-extract-v3_2_1.xsd at 95:53]
     
    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)
    posList instances (and other instances with the content model specified by DirectPositionListType) hold the coordinates for a sequence of direct positions within the same coordinate reference system (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.
    int
    posList instances (and other instances with the content model specified by DirectPositionListType) hold the coordinates for a sequence of direct positions within the same coordinate reference system (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.
    posList instances (and other instances with the content model specified by DirectPositionListType) hold the coordinates for a sequence of direct positions within the same coordinate reference system (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.
    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)
     
     
    setCount(int value)
    [gml/geometryBasic0d1d-extract-v3_2_1.xsd at 95:53]
    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)
    posList instances (and other instances with the content model specified by DirectPositionListType) hold the coordinates for a sequence of direct positions within the same coordinate reference system (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.

    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<DirectPositionListType.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<DirectPositionListType.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<DirectPositionListType.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public DirectPositionListType.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<DirectPositionListType.Builder>
      Throws:
      IOException
    • getCount

      public int getCount()
       [gml/geometryBasic0d1d-extract-v3_2_1.xsd at 95:53]
       
      uint32 count = 1 [(.buf.validate.field) = { ... }
      Specified by:
      getCount in interface DirectPositionListTypeOrBuilder
      Returns:
      The count.
    • setCount

      public DirectPositionListType.Builder setCount(int value)
       [gml/geometryBasic0d1d-extract-v3_2_1.xsd at 95:53]
       
      uint32 count = 1 [(.buf.validate.field) = { ... }
      Parameters:
      value - The count to set.
      Returns:
      This builder for chaining.
    • clearCount

      public DirectPositionListType.Builder clearCount()
       [gml/geometryBasic0d1d-extract-v3_2_1.xsd at 95:53]
       
      uint32 count = 1 [(.buf.validate.field) = { ... }
      Returns:
      This builder for chaining.
    • getSrsName

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

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

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

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

      public DirectPositionListType.Builder setSrsNameBytes(com.google.protobuf.ByteString value)
       [gml/geometryBasic0d1d-extract-v3_2_1.xsd at 36:44]
       
      string srs_name = 2;
      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 = 3 [(.buf.validate.field) = { ... }
      Specified by:
      getSrsDimension in interface DirectPositionListTypeOrBuilder
      Returns:
      The srsDimension.
    • setSrsDimension

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

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

      public List<Double> getValueList()
       posList instances (and other instances with the content model specified by DirectPositionListType) hold the coordinates for a sequence of direct positions within the same coordinate reference system (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. The optional attribute count specifies the number of direct positions in the list. If the attribute count is present then the attribute srsDimension shall be present, too. The number of entries in the list is equal to the product of the dimensionality of the coordinate reference system (i.e. it is a derived value of the coordinate reference system definition) and the number of direct positions.  [gml/geometryBasic0d1d-extract-v3_2_1.xsd at 85:45]
       
      repeated double value = 4;
      Specified by:
      getValueList in interface DirectPositionListTypeOrBuilder
      Returns:
      A list containing the value.
    • getValueCount

      public int getValueCount()
       posList instances (and other instances with the content model specified by DirectPositionListType) hold the coordinates for a sequence of direct positions within the same coordinate reference system (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. The optional attribute count specifies the number of direct positions in the list. If the attribute count is present then the attribute srsDimension shall be present, too. The number of entries in the list is equal to the product of the dimensionality of the coordinate reference system (i.e. it is a derived value of the coordinate reference system definition) and the number of direct positions.  [gml/geometryBasic0d1d-extract-v3_2_1.xsd at 85:45]
       
      repeated double value = 4;
      Specified by:
      getValueCount in interface DirectPositionListTypeOrBuilder
      Returns:
      The count of value.
    • getValue

      public double getValue(int index)
       posList instances (and other instances with the content model specified by DirectPositionListType) hold the coordinates for a sequence of direct positions within the same coordinate reference system (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. The optional attribute count specifies the number of direct positions in the list. If the attribute count is present then the attribute srsDimension shall be present, too. The number of entries in the list is equal to the product of the dimensionality of the coordinate reference system (i.e. it is a derived value of the coordinate reference system definition) and the number of direct positions.  [gml/geometryBasic0d1d-extract-v3_2_1.xsd at 85:45]
       
      repeated double value = 4;
      Specified by:
      getValue in interface DirectPositionListTypeOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The value at the given index.
    • setValue

      public DirectPositionListType.Builder setValue(int index, double value)
       posList instances (and other instances with the content model specified by DirectPositionListType) hold the coordinates for a sequence of direct positions within the same coordinate reference system (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. The optional attribute count specifies the number of direct positions in the list. If the attribute count is present then the attribute srsDimension shall be present, too. The number of entries in the list is equal to the product of the dimensionality of the coordinate reference system (i.e. it is a derived value of the coordinate reference system definition) and the number of direct positions.  [gml/geometryBasic0d1d-extract-v3_2_1.xsd at 85:45]
       
      repeated double value = 4;
      Parameters:
      index - The index to set the value at.
      value - The value to set.
      Returns:
      This builder for chaining.
    • addValue

      public DirectPositionListType.Builder addValue(double value)
       posList instances (and other instances with the content model specified by DirectPositionListType) hold the coordinates for a sequence of direct positions within the same coordinate reference system (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. The optional attribute count specifies the number of direct positions in the list. If the attribute count is present then the attribute srsDimension shall be present, too. The number of entries in the list is equal to the product of the dimensionality of the coordinate reference system (i.e. it is a derived value of the coordinate reference system definition) and the number of direct positions.  [gml/geometryBasic0d1d-extract-v3_2_1.xsd at 85:45]
       
      repeated double value = 4;
      Parameters:
      value - The value to add.
      Returns:
      This builder for chaining.
    • addAllValue

      public DirectPositionListType.Builder addAllValue(Iterable<? extends Double> values)
       posList instances (and other instances with the content model specified by DirectPositionListType) hold the coordinates for a sequence of direct positions within the same coordinate reference system (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. The optional attribute count specifies the number of direct positions in the list. If the attribute count is present then the attribute srsDimension shall be present, too. The number of entries in the list is equal to the product of the dimensionality of the coordinate reference system (i.e. it is a derived value of the coordinate reference system definition) and the number of direct positions.  [gml/geometryBasic0d1d-extract-v3_2_1.xsd at 85:45]
       
      repeated double value = 4;
      Parameters:
      values - The value to add.
      Returns:
      This builder for chaining.
    • clearValue

      public DirectPositionListType.Builder clearValue()
       posList instances (and other instances with the content model specified by DirectPositionListType) hold the coordinates for a sequence of direct positions within the same coordinate reference system (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. The optional attribute count specifies the number of direct positions in the list. If the attribute count is present then the attribute srsDimension shall be present, too. The number of entries in the list is equal to the product of the dimensionality of the coordinate reference system (i.e. it is a derived value of the coordinate reference system definition) and the number of direct positions.  [gml/geometryBasic0d1d-extract-v3_2_1.xsd at 85:45]
       
      repeated double value = 4;
      Returns:
      This builder for chaining.