Package net.opengis.www.gml.v3_2
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 TypeMethodDescriptionaddAllValue(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.build()clear()[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.intgetCount()[gml/geometryBasic0d1d-extract-v3_2_1.xsd at 95:53]static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorint[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]doublegetValue(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.intposList 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.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(DirectPositionListType 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]setSrsName(String value) [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, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods 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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<DirectPositionListType.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<DirectPositionListType.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<DirectPositionListType.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DirectPositionListType.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.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:
getCountin interfaceDirectPositionListTypeOrBuilder- Returns:
- The count.
-
setCount
[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
[gml/geometryBasic0d1d-extract-v3_2_1.xsd at 95:53]
uint32 count = 1 [(.buf.validate.field) = { ... }- Returns:
- This builder for chaining.
-
getSrsName
[gml/geometryBasic0d1d-extract-v3_2_1.xsd at 36:44]
string srs_name = 2;- Specified by:
getSrsNamein interfaceDirectPositionListTypeOrBuilder- 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:
getSrsNameBytesin interfaceDirectPositionListTypeOrBuilder- Returns:
- The bytes for srsName.
-
setSrsName
[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
[gml/geometryBasic0d1d-extract-v3_2_1.xsd at 36:44]
string srs_name = 2;- Returns:
- This builder for chaining.
-
setSrsNameBytes
[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:
getSrsDimensionin interfaceDirectPositionListTypeOrBuilder- Returns:
- The srsDimension.
-
setSrsDimension
[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
[gml/geometryBasic0d1d-extract-v3_2_1.xsd at 37:58]
uint32 srs_dimension = 3 [(.buf.validate.field) = { ... }- Returns:
- This builder for chaining.
-
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:
getValueListin interfaceDirectPositionListTypeOrBuilder- 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:
getValueCountin interfaceDirectPositionListTypeOrBuilder- 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:
getValuein interfaceDirectPositionListTypeOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The value at the given index.
-
setValue
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
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
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
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.
-