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 Classes
    Modifier and Type
    Class
    Description
    static final class 
    Type 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.BuilderParent

    Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

    com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     

    Fields inherited from class com.google.protobuf.GeneratedMessage

    alwaysUseFieldBuilders, unknownFields

    Fields inherited from class com.google.protobuf.AbstractMessage

    memoizedSize

    Fields inherited from class com.google.protobuf.AbstractMessageLite

    memoizedHashCode
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    Coordinates 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 final com.google.protobuf.Descriptors.Descriptor
     
    Identifier of POINT.
    com.google.protobuf.ByteString
    Identifier of POINT.
    double
    Latitude from equator. -90 (South) to +90 (North).
    double
    Longitude from Greenwich Meridian. -180 (West) to +180 (East).
    com.google.protobuf.Parser<LocationStructure>
     
    int
    Precision for point measurement.
    int
     
    identifier of data reference system for geocodes if point is specified as gml compatible Coordinates.
    com.google.protobuf.ByteString
    identifier of data reference system for geocodes if point is specified as gml compatible Coordinates.
    boolean
    Coordinates of points in a GML compatibe format, as indicated by srsName attribute.
    int
     
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
     
     
     
    newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
     
     
    parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(byte[] data)
     
    parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.ByteString data)
     
    parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.CodedInputStream input)
     
    parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<LocationStructure>
     
     
    void
    writeTo(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, writeStringNoTag

    Methods inherited from class com.google.protobuf.AbstractMessage

    findInitializationErrors, getInitializationErrorString, hashFields, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite

    addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.MessageLite

    toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Field Details

  • 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
    • getId

      public String getId()
       Identifier of POINT.  [siri_utility/siri_location-v2.0.xsd at 174:47]
       
      string id = 1;
      Specified by:
      getId in interface LocationStructureOrBuilder
      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:
      getIdBytes in interface LocationStructureOrBuilder
      Returns:
      The bytes for id.
    • getSrsName

      public String 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:
      getSrsName in interface LocationStructureOrBuilder
      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:
      getSrsNameBytes in interface LocationStructureOrBuilder
      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:
      getLongitude in interface LocationStructureOrBuilder
      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:
      getLatitude in interface LocationStructureOrBuilder
      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:
      hasCoordinates in interface LocationStructureOrBuilder
      Returns:
      Whether the coordinates field is set.
    • getCoordinates

      public CoordinatesStructure 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:
      getCoordinates in interface LocationStructureOrBuilder
      Returns:
      The coordinates.
    • getCoordinatesOrBuilder

      public CoordinatesStructureOrBuilder 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:
      getCoordinatesOrBuilder in interface LocationStructureOrBuilder
    • 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:
      getPrecision in interface LocationStructureOrBuilder
      Returns:
      The precision.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.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

      public static LocationStructure parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static LocationStructure parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static LocationStructure parseDelimitedFrom(InputStream input) throws IOException
      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

      public LocationStructure.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static LocationStructure.Builder newBuilder()
    • newBuilder

      public static LocationStructure.Builder newBuilder(LocationStructure prototype)
    • toBuilder

      public LocationStructure.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected LocationStructure.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static LocationStructure getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<LocationStructure> parser()
    • getParserForType

      public com.google.protobuf.Parser<LocationStructure> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public LocationStructure getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder