Package uk.org.siri.www.siri
Class LocationStructure
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
uk.org.siri.www.siri.LocationStructure
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,LocationStructureOrBuilder
public final class LocationStructure
extends com.google.protobuf.GeneratedMessage
implements LocationStructureOrBuilder
Type for gepspatial Position of a point. May be expressed in concrete WGS 84 Coordinates or any gml compatible point coordinates format. [siri_utility/siri_location-v2.0.xsd at 144:44]Protobuf type
uk.org.siri.www.siri.LocationStructure- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classType for gepspatial Position of a point.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanCoordinates of points in a GML compatibe format, as indicated by srsName attribute.Coordinates of points in a GML compatibe format, as indicated by srsName attribute.static LocationStructurestatic final com.google.protobuf.Descriptors.DescriptorgetId()Identifier of POINT.com.google.protobuf.ByteStringIdentifier of POINT.doubleLatitude from equator. -90 (South) to +90 (North).doubleLongitude from Greenwich Meridian. -180 (West) to +180 (East).com.google.protobuf.Parser<LocationStructure> intPrecision for point measurement.intidentifier of data reference system for geocodes if point is specified as gml compatible Coordinates.com.google.protobuf.ByteStringidentifier of data reference system for geocodes if point is specified as gml compatible Coordinates.booleanCoordinates of points in a GML compatibe format, as indicated by srsName attribute.inthashCode()protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic LocationStructure.Builderstatic LocationStructure.BuildernewBuilder(LocationStructure prototype) protected LocationStructure.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static LocationStructureparseDelimitedFrom(InputStream input) static LocationStructureparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static LocationStructureparseFrom(byte[] data) static LocationStructureparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static LocationStructureparseFrom(com.google.protobuf.ByteString data) static LocationStructureparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static LocationStructureparseFrom(com.google.protobuf.CodedInputStream input) static LocationStructureparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static LocationStructureparseFrom(InputStream input) static LocationStructureparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static LocationStructureparseFrom(ByteBuffer data) static LocationStructureparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<LocationStructure> parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER- See Also:
-
SRS_NAME_FIELD_NUMBER
public static final int SRS_NAME_FIELD_NUMBER- See Also:
-
LONGITUDE_FIELD_NUMBER
public static final int LONGITUDE_FIELD_NUMBER- See Also:
-
LATITUDE_FIELD_NUMBER
public static final int LATITUDE_FIELD_NUMBER- See Also:
-
COORDINATES_FIELD_NUMBER
public static final int COORDINATES_FIELD_NUMBER- See Also:
-
PRECISION_FIELD_NUMBER
public static final int PRECISION_FIELD_NUMBER- See Also:
-
-
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
-
getId
Identifier of POINT. [siri_utility/siri_location-v2.0.xsd at 174:47]
string id = 1;- Specified by:
getIdin interfaceLocationStructureOrBuilder- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()Identifier of POINT. [siri_utility/siri_location-v2.0.xsd at 174:47]
string id = 1;- Specified by:
getIdBytesin interfaceLocationStructureOrBuilder- Returns:
- The bytes for id.
-
getSrsName
identifier of data reference system for geocodes if point is specified as gml compatible Coordinates. A gml value. If not specified taken from system configuration. [siri_utility/siri_location-v2.0.xsd at 179:52]
string srs_name = 2 [(.buf.validate.field) = { ... }- Specified by:
getSrsNamein interfaceLocationStructureOrBuilder- Returns:
- The srsName.
-
getSrsNameBytes
public com.google.protobuf.ByteString getSrsNameBytes()identifier of data reference system for geocodes if point is specified as gml compatible Coordinates. A gml value. If not specified taken from system configuration. [siri_utility/siri_location-v2.0.xsd at 179:52]
string srs_name = 2 [(.buf.validate.field) = { ... }- Specified by:
getSrsNameBytesin interfaceLocationStructureOrBuilder- Returns:
- The bytes for srsName.
-
getLongitude
public double getLongitude()Longitude from Greenwich Meridian. -180 (West) to +180 (East). Decimal degrees. eg 2.356 [siri_utility/siri_location-v2.0.xsd at 151:57]
double longitude = 3;- Specified by:
getLongitudein interfaceLocationStructureOrBuilder- Returns:
- The longitude.
-
getLatitude
public double getLatitude()Latitude from equator. -90 (South) to +90 (North). Decimal degrees. eg 56.356 [siri_utility/siri_location-v2.0.xsd at 156:55]
double latitude = 4;- Specified by:
getLatitudein interfaceLocationStructureOrBuilder- Returns:
- The latitude.
-
hasCoordinates
public boolean hasCoordinates()Coordinates of points in a GML compatibe format, as indicated by srsName attribute. [siri_utility/siri_location-v2.0.xsd at 162:65]
.uk.org.siri.www.siri.CoordinatesStructure coordinates = 11;- Specified by:
hasCoordinatesin interfaceLocationStructureOrBuilder- Returns:
- Whether the coordinates field is set.
-
getCoordinates
Coordinates of points in a GML compatibe format, as indicated by srsName attribute. [siri_utility/siri_location-v2.0.xsd at 162:65]
.uk.org.siri.www.siri.CoordinatesStructure coordinates = 11;- Specified by:
getCoordinatesin interfaceLocationStructureOrBuilder- Returns:
- The coordinates.
-
getCoordinatesOrBuilder
Coordinates of points in a GML compatibe format, as indicated by srsName attribute. [siri_utility/siri_location-v2.0.xsd at 162:65]
.uk.org.siri.www.siri.CoordinatesStructure coordinates = 11;- Specified by:
getCoordinatesOrBuilderin interfaceLocationStructureOrBuilder
-
getPrecision
public int getPrecision()Precision for point measurement. In meters. [siri_utility/siri_location-v2.0.xsd at 168:68]
uint32 precision = 21;- Specified by:
getPrecisionin interfaceLocationStructureOrBuilder- Returns:
- The precision.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static LocationStructure parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LocationStructure parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LocationStructure parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LocationStructure parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LocationStructure parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LocationStructure parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static LocationStructure parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static LocationStructure parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static LocationStructure parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static LocationStructure parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected LocationStructure.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-