Class LocationStructure.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<LocationStructure.Builder>
com.google.protobuf.GeneratedMessage.Builder<LocationStructure.Builder>
uk.org.netex.www.netex.LocationStructure.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, LocationStructureOrBuilder
Enclosing class:
LocationStructure

public static final class LocationStructure.Builder extends com.google.protobuf.GeneratedMessage.Builder<LocationStructure.Builder> implements LocationStructureOrBuilder
 Type for geospatial Position of a point. May be expressed in concrete WGS 84 Coordinates or any gml compatible point coordinates format.  [netex_framework/netex_utility/netex_location_types.xsd at 65:44]
 
Protobuf type uk.org.netex.www.netex.LocationStructure
  • 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<LocationStructure.Builder>
    • clear

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

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

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

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

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

      public LocationStructure.Builder mergeFrom(LocationStructure other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<LocationStructure.Builder>
    • mergeFrom

      public LocationStructure.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<LocationStructure.Builder>
      Throws:
      IOException
    • getId

      public String getId()
       Identifier of point.  [netex_framework/netex_utility/netex_location_types.xsd at 99:56]
       
      string id = 1;
      Specified by:
      getId in interface LocationStructureOrBuilder
      Returns:
      The id.
    • getIdBytes

      public com.google.protobuf.ByteString getIdBytes()
       Identifier of point.  [netex_framework/netex_utility/netex_location_types.xsd at 99:56]
       
      string id = 1;
      Specified by:
      getIdBytes in interface LocationStructureOrBuilder
      Returns:
      The bytes for id.
    • setId

      public LocationStructure.Builder setId(String value)
       Identifier of point.  [netex_framework/netex_utility/netex_location_types.xsd at 99:56]
       
      string id = 1;
      Parameters:
      value - The id to set.
      Returns:
      This builder for chaining.
    • clearId

      public LocationStructure.Builder clearId()
       Identifier of point.  [netex_framework/netex_utility/netex_location_types.xsd at 99:56]
       
      string id = 1;
      Returns:
      This builder for chaining.
    • setIdBytes

      public LocationStructure.Builder setIdBytes(com.google.protobuf.ByteString value)
       Identifier of point.  [netex_framework/netex_utility/netex_location_types.xsd at 99:56]
       
      string id = 1;
      Parameters:
      value - The bytes for id to set.
      Returns:
      This builder for chaining.
    • 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.  [netex_framework/netex_utility/netex_location_types.xsd at 104:52]
       
      string srs_name = 2;
      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.  [netex_framework/netex_utility/netex_location_types.xsd at 104:52]
       
      string srs_name = 2;
      Specified by:
      getSrsNameBytes in interface LocationStructureOrBuilder
      Returns:
      The bytes for srsName.
    • setSrsName

      public LocationStructure.Builder setSrsName(String value)
       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.  [netex_framework/netex_utility/netex_location_types.xsd at 104:52]
       
      string srs_name = 2;
      Parameters:
      value - The srsName to set.
      Returns:
      This builder for chaining.
    • clearSrsName

      public LocationStructure.Builder clearSrsName()
       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.  [netex_framework/netex_utility/netex_location_types.xsd at 104:52]
       
      string srs_name = 2;
      Returns:
      This builder for chaining.
    • setSrsNameBytes

      public LocationStructure.Builder setSrsNameBytes(com.google.protobuf.ByteString value)
       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.  [netex_framework/netex_utility/netex_location_types.xsd at 104:52]
       
      string srs_name = 2;
      Parameters:
      value - The bytes for srsName to set.
      Returns:
      This builder for chaining.
    • getLongitude

      public double getLongitude()
       Longitude from Greenwich Meridian. -180 (East) to +180 (West). Decimal degrees. e.g. 2.356  [netex_framework/netex_utility/netex_location_types.xsd at 75:57]
       
      double longitude = 3;
      Specified by:
      getLongitude in interface LocationStructureOrBuilder
      Returns:
      The longitude.
    • setLongitude

      public LocationStructure.Builder setLongitude(double value)
       Longitude from Greenwich Meridian. -180 (East) to +180 (West). Decimal degrees. e.g. 2.356  [netex_framework/netex_utility/netex_location_types.xsd at 75:57]
       
      double longitude = 3;
      Parameters:
      value - The longitude to set.
      Returns:
      This builder for chaining.
    • clearLongitude

      public LocationStructure.Builder clearLongitude()
       Longitude from Greenwich Meridian. -180 (East) to +180 (West). Decimal degrees. e.g. 2.356  [netex_framework/netex_utility/netex_location_types.xsd at 75:57]
       
      double longitude = 3;
      Returns:
      This builder for chaining.
    • getLatitude

      public double getLatitude()
       Latitude from equator. -90 (South) to +90 (North). Decimal degrees. e.g. 56.356  [netex_framework/netex_utility/netex_location_types.xsd at 80:55]
       
      double latitude = 4;
      Specified by:
      getLatitude in interface LocationStructureOrBuilder
      Returns:
      The latitude.
    • setLatitude

      public LocationStructure.Builder setLatitude(double value)
       Latitude from equator. -90 (South) to +90 (North). Decimal degrees. e.g. 56.356  [netex_framework/netex_utility/netex_location_types.xsd at 80:55]
       
      double latitude = 4;
      Parameters:
      value - The latitude to set.
      Returns:
      This builder for chaining.
    • clearLatitude

      public LocationStructure.Builder clearLatitude()
       Latitude from equator. -90 (South) to +90 (North). Decimal degrees. e.g. 56.356  [netex_framework/netex_utility/netex_location_types.xsd at 80:55]
       
      double latitude = 4;
      Returns:
      This builder for chaining.
    • getAltitude

      public double getAltitude()
       Altitude (metres) Above sea level.  [netex_framework/netex_utility/netex_location_types.xsd at 85:69]
       
      double altitude = 5;
      Specified by:
      getAltitude in interface LocationStructureOrBuilder
      Returns:
      The altitude.
    • setAltitude

      public LocationStructure.Builder setAltitude(double value)
       Altitude (metres) Above sea level.  [netex_framework/netex_utility/netex_location_types.xsd at 85:69]
       
      double altitude = 5;
      Parameters:
      value - The altitude to set.
      Returns:
      This builder for chaining.
    • clearAltitude

      public LocationStructure.Builder clearAltitude()
       Altitude (metres) Above sea level.  [netex_framework/netex_utility/netex_location_types.xsd at 85:69]
       
      double altitude = 5;
      Returns:
      This builder for chaining.
    • hasPos

      public boolean hasPos()
       [gml/geometryBasic0d1d-extract-v3_2_1.xsd at 84:53]
       
      .net.opengis.www.gml.v3_2.DirectPositionType pos = 11;
      Specified by:
      hasPos in interface LocationStructureOrBuilder
      Returns:
      Whether the pos field is set.
    • getPos

      public DirectPositionType getPos()
       [gml/geometryBasic0d1d-extract-v3_2_1.xsd at 84:53]
       
      .net.opengis.www.gml.v3_2.DirectPositionType pos = 11;
      Specified by:
      getPos in interface LocationStructureOrBuilder
      Returns:
      The pos.
    • setPos

       [gml/geometryBasic0d1d-extract-v3_2_1.xsd at 84:53]
       
      .net.opengis.www.gml.v3_2.DirectPositionType pos = 11;
    • setPos

      public LocationStructure.Builder setPos(DirectPositionType.Builder builderForValue)
       [gml/geometryBasic0d1d-extract-v3_2_1.xsd at 84:53]
       
      .net.opengis.www.gml.v3_2.DirectPositionType pos = 11;
    • mergePos

       [gml/geometryBasic0d1d-extract-v3_2_1.xsd at 84:53]
       
      .net.opengis.www.gml.v3_2.DirectPositionType pos = 11;
    • clearPos

      public LocationStructure.Builder clearPos()
       [gml/geometryBasic0d1d-extract-v3_2_1.xsd at 84:53]
       
      .net.opengis.www.gml.v3_2.DirectPositionType pos = 11;
    • getPosBuilder

      public DirectPositionType.Builder getPosBuilder()
       [gml/geometryBasic0d1d-extract-v3_2_1.xsd at 84:53]
       
      .net.opengis.www.gml.v3_2.DirectPositionType pos = 11;
    • getPosOrBuilder

      public DirectPositionTypeOrBuilder getPosOrBuilder()
       [gml/geometryBasic0d1d-extract-v3_2_1.xsd at 84:53]
       
      .net.opengis.www.gml.v3_2.DirectPositionType pos = 11;
      Specified by:
      getPosOrBuilder in interface LocationStructureOrBuilder
    • getPrecision

      public double getPrecision()
       Precision for point measurement. In meters.  [netex_framework/netex_utility/netex_location_types.xsd at 93:68]
       
      double precision = 21;
      Specified by:
      getPrecision in interface LocationStructureOrBuilder
      Returns:
      The precision.
    • setPrecision

      public LocationStructure.Builder setPrecision(double value)
       Precision for point measurement. In meters.  [netex_framework/netex_utility/netex_location_types.xsd at 93:68]
       
      double precision = 21;
      Parameters:
      value - The precision to set.
      Returns:
      This builder for chaining.
    • clearPrecision

      public LocationStructure.Builder clearPrecision()
       Precision for point measurement. In meters.  [netex_framework/netex_utility/netex_location_types.xsd at 93:68]
       
      double precision = 21;
      Returns:
      This builder for chaining.