Class RoundingStepType

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
uk.org.netex.www.netex.RoundingStepType
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable, RoundingStepTypeOrBuilder

public final class RoundingStepType extends com.google.protobuf.GeneratedMessage implements RoundingStepTypeOrBuilder
 A rounding step to use to round a range of values. ANy value larger than the step key and smaller tha the next step key should be rounded to this value.  [netex_part_3/part3_fares/netex_calculationParameters_version.xsd at 306:35]
 
Protobuf type uk.org.netex.www.netex.RoundingStepType
See Also:
  • Field Details

    • CREATED_FIELD_NUMBER

      public static final int CREATED_FIELD_NUMBER
      See Also:
    • CHANGED_FIELD_NUMBER

      public static final int CHANGED_FIELD_NUMBER
      See Also:
    • VERSION_FIELD_NUMBER

      public static final int VERSION_FIELD_NUMBER
      See Also:
    • STATUS_FIELD_NUMBER

      public static final int STATUS_FIELD_NUMBER
      See Also:
    • DERIVED_FROM_VERSION_REF_FIELD_NUMBER

      public static final int DERIVED_FROM_VERSION_REF_FIELD_NUMBER
      See Also:
    • DERIVED_FROM_OBJECT_REF_FIELD_NUMBER

      public static final int DERIVED_FROM_OBJECT_REF_FIELD_NUMBER
      See Also:
    • VALIDITY_CONDITIONS_FIELD_NUMBER

      public static final int VALIDITY_CONDITIONS_FIELD_NUMBER
      See Also:
    • VALID_BETWEEN_FIELD_NUMBER

      public static final int VALID_BETWEEN_FIELD_NUMBER
      See Also:
    • ALTERNATIVE_TEXTS_FIELD_NUMBER

      public static final int ALTERNATIVE_TEXTS_FIELD_NUMBER
      See Also:
    • EXTENSIONS_FIELD_NUMBER

      public static final int EXTENSIONS_FIELD_NUMBER
      See Also:
    • ROUNDING_STEP_REF_FIELD_NUMBER

      public static final int ROUNDING_STEP_REF_FIELD_NUMBER
      See Also:
    • ROUND_IF_GREATER_THAN_FIELD_NUMBER

      public static final int ROUND_IF_GREATER_THAN_FIELD_NUMBER
      See Also:
    • ROUND_TO_FIELD_NUMBER

      public static final int ROUND_TO_FIELD_NUMBER
      See Also:
    • ID_FIELD_NUMBER

      public static final int ID_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:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • hasCreated

      public boolean hasCreated()
       Date ENTITY was first created.  [netex_framework/netex_responsibility/netex_version_support.xsd at 190:68]
       
      .google.protobuf.Timestamp created = 4;
      Specified by:
      hasCreated in interface RoundingStepTypeOrBuilder
      Returns:
      Whether the created field is set.
    • getCreated

      public com.google.protobuf.Timestamp getCreated()
       Date ENTITY was first created.  [netex_framework/netex_responsibility/netex_version_support.xsd at 190:68]
       
      .google.protobuf.Timestamp created = 4;
      Specified by:
      getCreated in interface RoundingStepTypeOrBuilder
      Returns:
      The created.
    • getCreatedOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCreatedOrBuilder()
       Date ENTITY was first created.  [netex_framework/netex_responsibility/netex_version_support.xsd at 190:68]
       
      .google.protobuf.Timestamp created = 4;
      Specified by:
      getCreatedOrBuilder in interface RoundingStepTypeOrBuilder
    • hasChanged

      public boolean hasChanged()
       Date ENTITY or version was last changed.  [netex_framework/netex_responsibility/netex_version_support.xsd at 195:68]
       
      .google.protobuf.Timestamp changed = 5;
      Specified by:
      hasChanged in interface RoundingStepTypeOrBuilder
      Returns:
      Whether the changed field is set.
    • getChanged

      public com.google.protobuf.Timestamp getChanged()
       Date ENTITY or version was last changed.  [netex_framework/netex_responsibility/netex_version_support.xsd at 195:68]
       
      .google.protobuf.Timestamp changed = 5;
      Specified by:
      getChanged in interface RoundingStepTypeOrBuilder
      Returns:
      The changed.
    • getChangedOrBuilder

      public com.google.protobuf.TimestampOrBuilder getChangedOrBuilder()
       Date ENTITY or version was last changed.  [netex_framework/netex_responsibility/netex_version_support.xsd at 195:68]
       
      .google.protobuf.Timestamp changed = 5;
      Specified by:
      getChangedOrBuilder in interface RoundingStepTypeOrBuilder
    • getVersion

      public String getVersion()
       Version number of entity.  [netex_framework/netex_responsibility/netex_version_support.xsd at 201:69]
       
      string version = 7;
      Specified by:
      getVersion in interface RoundingStepTypeOrBuilder
      Returns:
      The version.
    • getVersionBytes

      public com.google.protobuf.ByteString getVersionBytes()
       Version number of entity.  [netex_framework/netex_responsibility/netex_version_support.xsd at 201:69]
       
      string version = 7;
      Specified by:
      getVersionBytes in interface RoundingStepTypeOrBuilder
      Returns:
      The bytes for version.
    • getStatusValue

      public int getStatusValue()
       Whether ENTITY is currently in use. Default is "active".  [netex_framework/netex_responsibility/netex_version_support.xsd at 206:89]
       
      .uk.org.netex.www.netex.StatusEnumeration status = 8;
      Specified by:
      getStatusValue in interface RoundingStepTypeOrBuilder
      Returns:
      The enum numeric value on the wire for status.
    • getStatus

      public StatusEnumeration getStatus()
       Whether ENTITY is currently in use. Default is "active".  [netex_framework/netex_responsibility/netex_version_support.xsd at 206:89]
       
      .uk.org.netex.www.netex.StatusEnumeration status = 8;
      Specified by:
      getStatus in interface RoundingStepTypeOrBuilder
      Returns:
      The status.
    • getDerivedFromVersionRef

      public String getDerivedFromVersionRef()
       Version of this object from which this version of ENTITY was derived.  [netex_framework/netex_responsibility/netex_version_support.xsd at 212:83]
       
      string derived_from_version_ref = 193;
      Specified by:
      getDerivedFromVersionRef in interface RoundingStepTypeOrBuilder
      Returns:
      The derivedFromVersionRef.
    • getDerivedFromVersionRefBytes

      public com.google.protobuf.ByteString getDerivedFromVersionRefBytes()
       Version of this object from which this version of ENTITY was derived.  [netex_framework/netex_responsibility/netex_version_support.xsd at 212:83]
       
      string derived_from_version_ref = 193;
      Specified by:
      getDerivedFromVersionRefBytes in interface RoundingStepTypeOrBuilder
      Returns:
      The bytes for derivedFromVersionRef.
    • getDerivedFromObjectRef

      public String getDerivedFromObjectRef()
       Identity of object from which this object of ENTITY was derived. Normally the same.  [netex_framework/netex_responsibility/netex_version_support.xsd at 218:81]
       
      string derived_from_object_ref = 194;
      Specified by:
      getDerivedFromObjectRef in interface RoundingStepTypeOrBuilder
      Returns:
      The derivedFromObjectRef.
    • getDerivedFromObjectRefBytes

      public com.google.protobuf.ByteString getDerivedFromObjectRefBytes()
       Identity of object from which this object of ENTITY was derived. Normally the same.  [netex_framework/netex_responsibility/netex_version_support.xsd at 218:81]
       
      string derived_from_object_ref = 194;
      Specified by:
      getDerivedFromObjectRefBytes in interface RoundingStepTypeOrBuilder
      Returns:
      The bytes for derivedFromObjectRef.
    • hasValidityConditions

      public boolean hasValidityConditions()
       VALIDITY CONDITIONs conditioning entity.  [netex_framework/netex_responsibility/netex_version_version.xsd at 111:83]
       
      .uk.org.netex.www.netex.ValidityConditions_RelStructure validity_conditions = 12;
      Specified by:
      hasValidityConditions in interface RoundingStepTypeOrBuilder
      Returns:
      Whether the validityConditions field is set.
    • getValidityConditions

      public ValidityConditions_RelStructure getValidityConditions()
       VALIDITY CONDITIONs conditioning entity.  [netex_framework/netex_responsibility/netex_version_version.xsd at 111:83]
       
      .uk.org.netex.www.netex.ValidityConditions_RelStructure validity_conditions = 12;
      Specified by:
      getValidityConditions in interface RoundingStepTypeOrBuilder
      Returns:
      The validityConditions.
    • getValidityConditionsOrBuilder

      public ValidityConditions_RelStructureOrBuilder getValidityConditionsOrBuilder()
       VALIDITY CONDITIONs conditioning entity.  [netex_framework/netex_responsibility/netex_version_version.xsd at 111:83]
       
      .uk.org.netex.www.netex.ValidityConditions_RelStructure validity_conditions = 12;
      Specified by:
      getValidityConditionsOrBuilder in interface RoundingStepTypeOrBuilder
    • getValidBetweenList

      public List<ValidBetweenType> getValidBetweenList()
       OPTIMISATION. Simple version of a VALIDITY CONDITION. Comprises a simple period. NO UNIQUENESS CONSTRAINT.  [netex_framework/netex_responsibility/netex_validityCondition_version.xsd at 385:52]
       
      repeated .uk.org.netex.www.netex.ValidBetweenType valid_between = 13;
      Specified by:
      getValidBetweenList in interface RoundingStepTypeOrBuilder
    • getValidBetweenOrBuilderList

      public List<? extends ValidBetweenTypeOrBuilder> getValidBetweenOrBuilderList()
       OPTIMISATION. Simple version of a VALIDITY CONDITION. Comprises a simple period. NO UNIQUENESS CONSTRAINT.  [netex_framework/netex_responsibility/netex_validityCondition_version.xsd at 385:52]
       
      repeated .uk.org.netex.www.netex.ValidBetweenType valid_between = 13;
      Specified by:
      getValidBetweenOrBuilderList in interface RoundingStepTypeOrBuilder
    • getValidBetweenCount

      public int getValidBetweenCount()
       OPTIMISATION. Simple version of a VALIDITY CONDITION. Comprises a simple period. NO UNIQUENESS CONSTRAINT.  [netex_framework/netex_responsibility/netex_validityCondition_version.xsd at 385:52]
       
      repeated .uk.org.netex.www.netex.ValidBetweenType valid_between = 13;
      Specified by:
      getValidBetweenCount in interface RoundingStepTypeOrBuilder
    • getValidBetween

      public ValidBetweenType getValidBetween(int index)
       OPTIMISATION. Simple version of a VALIDITY CONDITION. Comprises a simple period. NO UNIQUENESS CONSTRAINT.  [netex_framework/netex_responsibility/netex_validityCondition_version.xsd at 385:52]
       
      repeated .uk.org.netex.www.netex.ValidBetweenType valid_between = 13;
      Specified by:
      getValidBetween in interface RoundingStepTypeOrBuilder
    • getValidBetweenOrBuilder

      public ValidBetweenTypeOrBuilder getValidBetweenOrBuilder(int index)
       OPTIMISATION. Simple version of a VALIDITY CONDITION. Comprises a simple period. NO UNIQUENESS CONSTRAINT.  [netex_framework/netex_responsibility/netex_validityCondition_version.xsd at 385:52]
       
      repeated .uk.org.netex.www.netex.ValidBetweenType valid_between = 13;
      Specified by:
      getValidBetweenOrBuilder in interface RoundingStepTypeOrBuilder
    • hasAlternativeTexts

      public boolean hasAlternativeTexts()
       Additional Translations of text  elements.  [netex_framework/netex_responsibility/netex_version_version.xsd at 118:92]
       
      .uk.org.netex.www.netex.AlternativeTexts_RelStructure alternative_texts = 21;
      Specified by:
      hasAlternativeTexts in interface RoundingStepTypeOrBuilder
      Returns:
      Whether the alternativeTexts field is set.
    • getAlternativeTexts

      public AlternativeTexts_RelStructure getAlternativeTexts()
       Additional Translations of text  elements.  [netex_framework/netex_responsibility/netex_version_version.xsd at 118:92]
       
      .uk.org.netex.www.netex.AlternativeTexts_RelStructure alternative_texts = 21;
      Specified by:
      getAlternativeTexts in interface RoundingStepTypeOrBuilder
      Returns:
      The alternativeTexts.
    • getAlternativeTextsOrBuilder

      public AlternativeTexts_RelStructureOrBuilder getAlternativeTextsOrBuilder()
       Additional Translations of text  elements.  [netex_framework/netex_responsibility/netex_version_version.xsd at 118:92]
       
      .uk.org.netex.www.netex.AlternativeTexts_RelStructure alternative_texts = 21;
      Specified by:
      getAlternativeTextsOrBuilder in interface RoundingStepTypeOrBuilder
    • hasExtensions

      public boolean hasExtensions()
       User defined Extensions to ENTITY in schema. (Wrapper tag used to avoid problems with handling of optional 'any' by some validators).  [netex_framework/netex_utility/netex_utility_xml.xsd at 85:60]
       
      .uk.org.netex.www.netex.ExtensionsStructure extensions = 71;
      Specified by:
      hasExtensions in interface RoundingStepTypeOrBuilder
      Returns:
      Whether the extensions field is set.
    • getExtensions

      public ExtensionsStructure getExtensions()
       User defined Extensions to ENTITY in schema. (Wrapper tag used to avoid problems with handling of optional 'any' by some validators).  [netex_framework/netex_utility/netex_utility_xml.xsd at 85:60]
       
      .uk.org.netex.www.netex.ExtensionsStructure extensions = 71;
      Specified by:
      getExtensions in interface RoundingStepTypeOrBuilder
      Returns:
      The extensions.
    • getExtensionsOrBuilder

      public ExtensionsStructureOrBuilder getExtensionsOrBuilder()
       User defined Extensions to ENTITY in schema. (Wrapper tag used to avoid problems with handling of optional 'any' by some validators).  [netex_framework/netex_utility/netex_utility_xml.xsd at 85:60]
       
      .uk.org.netex.www.netex.ExtensionsStructure extensions = 71;
      Specified by:
      getExtensionsOrBuilder in interface RoundingStepTypeOrBuilder
    • hasRoundingStepRef

      public boolean hasRoundingStepRef()
       Reference to a ROUNDING STEP.  [netex_part_3/part3_fares/netex_calculationParameters_support.xsd at 157:109]
       
      .uk.org.netex.www.netex.VersionOfObjectRefStructure rounding_step_ref = 161;
      Specified by:
      hasRoundingStepRef in interface RoundingStepTypeOrBuilder
      Returns:
      Whether the roundingStepRef field is set.
    • getRoundingStepRef

      public VersionOfObjectRefStructure getRoundingStepRef()
       Reference to a ROUNDING STEP.  [netex_part_3/part3_fares/netex_calculationParameters_support.xsd at 157:109]
       
      .uk.org.netex.www.netex.VersionOfObjectRefStructure rounding_step_ref = 161;
      Specified by:
      getRoundingStepRef in interface RoundingStepTypeOrBuilder
      Returns:
      The roundingStepRef.
    • getRoundingStepRefOrBuilder

      public VersionOfObjectRefStructureOrBuilder getRoundingStepRefOrBuilder()
       Reference to a ROUNDING STEP.  [netex_part_3/part3_fares/netex_calculationParameters_support.xsd at 157:109]
       
      .uk.org.netex.www.netex.VersionOfObjectRefStructure rounding_step_ref = 161;
      Specified by:
      getRoundingStepRefOrBuilder in interface RoundingStepTypeOrBuilder
    • getRoundIfGreaterThan

      public double getRoundIfGreaterThan()
       Rounding Step Threshold.  [netex_part_3/part3_fares/netex_calculationParameters_version.xsd at 351:69]
       
      double round_if_greater_than = 162;
      Specified by:
      getRoundIfGreaterThan in interface RoundingStepTypeOrBuilder
      Returns:
      The roundIfGreaterThan.
    • getRoundTo

      public double getRoundTo()
       Amount to which to round.  [netex_part_3/part3_fares/netex_calculationParameters_version.xsd at 356:58]
       
      double round_to = 163;
      Specified by:
      getRoundTo in interface RoundingStepTypeOrBuilder
      Returns:
      The roundTo.
    • getId

      public String getId()
       Identifier of ENTITY.  [netex_part_3/part3_fares/netex_calculationParameters_version.xsd at 324:72]
       
      string id = 191;
      Specified by:
      getId in interface RoundingStepTypeOrBuilder
      Returns:
      The id.
    • getIdBytes

      public com.google.protobuf.ByteString getIdBytes()
       Identifier of ENTITY.  [netex_part_3/part3_fares/netex_calculationParameters_version.xsd at 324:72]
       
      string id = 191;
      Specified by:
      getIdBytes in interface RoundingStepTypeOrBuilder
      Returns:
      The bytes for id.
    • 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 RoundingStepType parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static RoundingStepType parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static RoundingStepType parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static RoundingStepType parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static RoundingStepType parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static RoundingStepType parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

      public static RoundingStepType parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

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

      public static RoundingStepType parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static RoundingStepType parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

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

      public static RoundingStepType.Builder newBuilder()
    • newBuilder

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

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

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

      public static RoundingStepType getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<RoundingStepType> 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 RoundingStepType getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder