Package net.opengis.www.gml.v3_2
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 TypeMethodDescriptionaddAllValue(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).build()clear()[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.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) Direct position instances hold the coordinates for a position within some coordinate reference system (CRS).intDirect 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.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(DirectPositionType other) 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) 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, 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<DirectPositionType.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<DirectPositionType.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<DirectPositionType.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<DirectPositionType.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DirectPositionType.Builder>- Throws:
IOException
-
getSrsName
[gml/geometryBasic0d1d-extract-v3_2_1.xsd at 36:44]
string srs_name = 1;- Specified by:
getSrsNamein interfaceDirectPositionTypeOrBuilder- 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:
getSrsNameBytesin interfaceDirectPositionTypeOrBuilder- Returns:
- The bytes for srsName.
-
setSrsName
[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
[gml/geometryBasic0d1d-extract-v3_2_1.xsd at 36:44]
string srs_name = 1;- Returns:
- This builder for chaining.
-
setSrsNameBytes
[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:
getSrsDimensionin interfaceDirectPositionTypeOrBuilder- Returns:
- The srsDimension.
-
setSrsDimension
[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
[gml/geometryBasic0d1d-extract-v3_2_1.xsd at 37:58]
uint32 srs_dimension = 2 [(.buf.validate.field) = { ... }- Returns:
- This builder for chaining.
-
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:
getValueListin interfaceDirectPositionTypeOrBuilder- 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:
getValueCountin interfaceDirectPositionTypeOrBuilder- 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:
getValuein interfaceDirectPositionTypeOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The value at the given index.
-
setValue
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
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
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
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.
-