Class TrainElement_VersionStructure

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

@Generated public final class TrainElement_VersionStructure extends com.google.protobuf.GeneratedMessage implements TrainElement_VersionStructureOrBuilder
 Type for a TRAIN ELEMENT.  [netex_framework/netex_reusableComponents/netex_trainElement_version.xsd at 329:56]
 
Protobuf type uk.org.netex.www.netex.TrainElement_VersionStructure
See Also:
  • Field Details

    • ID_FIELD_NUMBER

      public static final int ID_FIELD_NUMBER
      See Also:
    • 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:
    • KEY_LIST_FIELD_NUMBER

      public static final int KEY_LIST_FIELD_NUMBER
      See Also:
    • EXTENSIONS_FIELD_NUMBER

      public static final int EXTENSIONS_FIELD_NUMBER
      See Also:
    • BRANDING_REF_FIELD_NUMBER

      public static final int BRANDING_REF_FIELD_NUMBER
      See Also:
    • NAME_FIELD_NUMBER

      public static final int NAME_FIELD_NUMBER
      See Also:
    • DESCRIPTION_FIELD_NUMBER

      public static final int DESCRIPTION_FIELD_NUMBER
      See Also:
    • PRIVATE_CODE_FIELD_NUMBER

      public static final int PRIVATE_CODE_FIELD_NUMBER
      See Also:
    • TRAIN_ELEMENT_TYPE_FIELD_NUMBER

      public static final int TRAIN_ELEMENT_TYPE_FIELD_NUMBER
      See Also:
    • FARE_CLASSES_FIELD_NUMBER

      public static final int FARE_CLASSES_FIELD_NUMBER
      See Also:
    • PASSENGER_CAPACITY_FIELD_NUMBER

      public static final int PASSENGER_CAPACITY_FIELD_NUMBER
      See Also:
    • CAPACITIES_FIELD_NUMBER

      public static final int CAPACITIES_FIELD_NUMBER
      See Also:
    • LENGTH_FIELD_NUMBER

      public static final int LENGTH_FIELD_NUMBER
      See Also:
    • WIDTH_FIELD_NUMBER

      public static final int WIDTH_FIELD_NUMBER
      See Also:
    • TRAIN_SIZE_FIELD_NUMBER

      public static final int TRAIN_SIZE_FIELD_NUMBER
      See Also:
    • FACILITIES_FIELD_NUMBER

      public static final int FACILITIES_FIELD_NUMBER
      See Also:
    • EQUIPMENTS_FIELD_NUMBER

      public static final int EQUIPMENTS_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
    • getId

      public String getId()
       Identifier of ENTITY.  [netex_framework/netex_responsibility/netex_entity_version.xsd at 64:63]
       
      string id = 2;
      Specified by:
      getId in interface TrainElement_VersionStructureOrBuilder
      Returns:
      The id.
    • getIdBytes

      public com.google.protobuf.ByteString getIdBytes()
       Identifier of ENTITY.  [netex_framework/netex_responsibility/netex_entity_version.xsd at 64:63]
       
      string id = 2;
      Specified by:
      getIdBytes in interface TrainElement_VersionStructureOrBuilder
      Returns:
      The bytes for id.
    • 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 TrainElement_VersionStructureOrBuilder
      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 TrainElement_VersionStructureOrBuilder
      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 TrainElement_VersionStructureOrBuilder
    • 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 TrainElement_VersionStructureOrBuilder
      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 TrainElement_VersionStructureOrBuilder
      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 TrainElement_VersionStructureOrBuilder
    • 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 TrainElement_VersionStructureOrBuilder
      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 TrainElement_VersionStructureOrBuilder
      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 TrainElement_VersionStructureOrBuilder
      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 TrainElement_VersionStructureOrBuilder
      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 = 173;
      Specified by:
      getDerivedFromVersionRef in interface TrainElement_VersionStructureOrBuilder
      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 = 173;
      Specified by:
      getDerivedFromVersionRefBytes in interface TrainElement_VersionStructureOrBuilder
      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 = 174;
      Specified by:
      getDerivedFromObjectRef in interface TrainElement_VersionStructureOrBuilder
      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 = 174;
      Specified by:
      getDerivedFromObjectRefBytes in interface TrainElement_VersionStructureOrBuilder
      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 TrainElement_VersionStructureOrBuilder
      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 TrainElement_VersionStructureOrBuilder
      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 TrainElement_VersionStructureOrBuilder
    • 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 TrainElement_VersionStructureOrBuilder
    • 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 TrainElement_VersionStructureOrBuilder
    • 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 TrainElement_VersionStructureOrBuilder
    • 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 TrainElement_VersionStructureOrBuilder
    • 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 TrainElement_VersionStructureOrBuilder
    • 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 TrainElement_VersionStructureOrBuilder
      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 TrainElement_VersionStructureOrBuilder
      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 TrainElement_VersionStructureOrBuilder
    • hasKeyList

      public boolean hasKeyList()
       A list of alternative Key values for an element.  [netex_framework/netex_responsibility/netex_responsibility_version.xsd at 165:54]
       
      .uk.org.netex.www.netex.KeyListStructure key_list = 71;
      Specified by:
      hasKeyList in interface TrainElement_VersionStructureOrBuilder
      Returns:
      Whether the keyList field is set.
    • getKeyList

      public KeyListStructure getKeyList()
       A list of alternative Key values for an element.  [netex_framework/netex_responsibility/netex_responsibility_version.xsd at 165:54]
       
      .uk.org.netex.www.netex.KeyListStructure key_list = 71;
      Specified by:
      getKeyList in interface TrainElement_VersionStructureOrBuilder
      Returns:
      The keyList.
    • getKeyListOrBuilder

      public KeyListStructureOrBuilder getKeyListOrBuilder()
       A list of alternative Key values for an element.  [netex_framework/netex_responsibility/netex_responsibility_version.xsd at 165:54]
       
      .uk.org.netex.www.netex.KeyListStructure key_list = 71;
      Specified by:
      getKeyListOrBuilder in interface TrainElement_VersionStructureOrBuilder
    • 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 = 72;
      Specified by:
      hasExtensions in interface TrainElement_VersionStructureOrBuilder
      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 = 72;
      Specified by:
      getExtensions in interface TrainElement_VersionStructureOrBuilder
      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 = 72;
      Specified by:
      getExtensionsOrBuilder in interface TrainElement_VersionStructureOrBuilder
    • hasBrandingRef

      public boolean hasBrandingRef()
       Reference to a BRANDING.  [netex_framework/netex_responsibility/netex_responsibility_support.xsd at 256:114]
       
      .uk.org.netex.www.netex.VersionOfObjectRefStructure branding_ref = 73;
      Specified by:
      hasBrandingRef in interface TrainElement_VersionStructureOrBuilder
      Returns:
      Whether the brandingRef field is set.
    • getBrandingRef

      public VersionOfObjectRefStructure getBrandingRef()
       Reference to a BRANDING.  [netex_framework/netex_responsibility/netex_responsibility_support.xsd at 256:114]
       
      .uk.org.netex.www.netex.VersionOfObjectRefStructure branding_ref = 73;
      Specified by:
      getBrandingRef in interface TrainElement_VersionStructureOrBuilder
      Returns:
      The brandingRef.
    • getBrandingRefOrBuilder

      public VersionOfObjectRefStructureOrBuilder getBrandingRefOrBuilder()
       Reference to a BRANDING.  [netex_framework/netex_responsibility/netex_responsibility_support.xsd at 256:114]
       
      .uk.org.netex.www.netex.VersionOfObjectRefStructure branding_ref = 73;
      Specified by:
      getBrandingRefOrBuilder in interface TrainElement_VersionStructureOrBuilder
    • hasName

      public boolean hasName()
       Name of TRAIN ELEMENT.  [netex_framework/netex_reusableComponents/netex_trainElement_version.xsd at 346:69]
       
      .uk.org.netex.www.netex.MultilingualString name = 161;
      Specified by:
      hasName in interface TrainElement_VersionStructureOrBuilder
      Returns:
      Whether the name field is set.
    • getName

      public MultilingualString getName()
       Name of TRAIN ELEMENT.  [netex_framework/netex_reusableComponents/netex_trainElement_version.xsd at 346:69]
       
      .uk.org.netex.www.netex.MultilingualString name = 161;
      Specified by:
      getName in interface TrainElement_VersionStructureOrBuilder
      Returns:
      The name.
    • getNameOrBuilder

      public MultilingualStringOrBuilder getNameOrBuilder()
       Name of TRAIN ELEMENT.  [netex_framework/netex_reusableComponents/netex_trainElement_version.xsd at 346:69]
       
      .uk.org.netex.www.netex.MultilingualString name = 161;
      Specified by:
      getNameOrBuilder in interface TrainElement_VersionStructureOrBuilder
    • hasDescription

      public boolean hasDescription()
       Description of TRAIN ELEMENT.  [netex_framework/netex_reusableComponents/netex_trainElement_version.xsd at 351:76]
       
      .uk.org.netex.www.netex.MultilingualString description = 162;
      Specified by:
      hasDescription in interface TrainElement_VersionStructureOrBuilder
      Returns:
      Whether the description field is set.
    • getDescription

      public MultilingualString getDescription()
       Description of TRAIN ELEMENT.  [netex_framework/netex_reusableComponents/netex_trainElement_version.xsd at 351:76]
       
      .uk.org.netex.www.netex.MultilingualString description = 162;
      Specified by:
      getDescription in interface TrainElement_VersionStructureOrBuilder
      Returns:
      The description.
    • getDescriptionOrBuilder

      public MultilingualStringOrBuilder getDescriptionOrBuilder()
       Description of TRAIN ELEMENT.  [netex_framework/netex_reusableComponents/netex_trainElement_version.xsd at 351:76]
       
      .uk.org.netex.www.netex.MultilingualString description = 162;
      Specified by:
      getDescriptionOrBuilder in interface TrainElement_VersionStructureOrBuilder
    • hasPrivateCode

      public boolean hasPrivateCode()
       A private code that uniquely identifies the element.  May be used for inter-operating with other (legacy) systems.  [netex_framework/netex_utility/netex_utility_types.xsd at 100:62]
       
      .uk.org.netex.www.netex.PrivateCodeStructure private_code = 153;
      Specified by:
      hasPrivateCode in interface TrainElement_VersionStructureOrBuilder
      Returns:
      Whether the privateCode field is set.
    • getPrivateCode

      public PrivateCodeStructure getPrivateCode()
       A private code that uniquely identifies the element.  May be used for inter-operating with other (legacy) systems.  [netex_framework/netex_utility/netex_utility_types.xsd at 100:62]
       
      .uk.org.netex.www.netex.PrivateCodeStructure private_code = 153;
      Specified by:
      getPrivateCode in interface TrainElement_VersionStructureOrBuilder
      Returns:
      The privateCode.
    • getPrivateCodeOrBuilder

      public PrivateCodeStructureOrBuilder getPrivateCodeOrBuilder()
       A private code that uniquely identifies the element.  May be used for inter-operating with other (legacy) systems.  [netex_framework/netex_utility/netex_utility_types.xsd at 100:62]
       
      .uk.org.netex.www.netex.PrivateCodeStructure private_code = 153;
      Specified by:
      getPrivateCodeOrBuilder in interface TrainElement_VersionStructureOrBuilder
    • getTrainElementTypeValue

      public int getTrainElementTypeValue()
       Type of TRAIN ELEMENT.  [netex_framework/netex_reusableComponents/netex_trainElement_version.xsd at 357:90]
       
      .uk.org.netex.www.netex.TrainElementTypeEnumeration train_element_type = 163;
      Specified by:
      getTrainElementTypeValue in interface TrainElement_VersionStructureOrBuilder
      Returns:
      The enum numeric value on the wire for trainElementType.
    • getTrainElementType

      public TrainElementTypeEnumeration getTrainElementType()
       Type of TRAIN ELEMENT.  [netex_framework/netex_reusableComponents/netex_trainElement_version.xsd at 357:90]
       
      .uk.org.netex.www.netex.TrainElementTypeEnumeration train_element_type = 163;
      Specified by:
      getTrainElementType in interface TrainElement_VersionStructureOrBuilder
      Returns:
      The trainElementType.
    • getFareClassesList

      public List<FareClassEnumeration> getFareClassesList()
       List of FARE CLASSes.  [netex_framework/netex_reusableComponents/netex_facility_version.xsd at 948:69]
       
      repeated .uk.org.netex.www.netex.FareClassEnumeration fare_classes = 164 [packed = true];
      Specified by:
      getFareClassesList in interface TrainElement_VersionStructureOrBuilder
      Returns:
      A list containing the fareClasses.
    • getFareClassesCount

      public int getFareClassesCount()
       List of FARE CLASSes.  [netex_framework/netex_reusableComponents/netex_facility_version.xsd at 948:69]
       
      repeated .uk.org.netex.www.netex.FareClassEnumeration fare_classes = 164 [packed = true];
      Specified by:
      getFareClassesCount in interface TrainElement_VersionStructureOrBuilder
      Returns:
      The count of fareClasses.
    • getFareClasses

      public FareClassEnumeration getFareClasses(int index)
       List of FARE CLASSes.  [netex_framework/netex_reusableComponents/netex_facility_version.xsd at 948:69]
       
      repeated .uk.org.netex.www.netex.FareClassEnumeration fare_classes = 164 [packed = true];
      Specified by:
      getFareClasses in interface TrainElement_VersionStructureOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The fareClasses at the given index.
    • getFareClassesValueList

      public List<Integer> getFareClassesValueList()
       List of FARE CLASSes.  [netex_framework/netex_reusableComponents/netex_facility_version.xsd at 948:69]
       
      repeated .uk.org.netex.www.netex.FareClassEnumeration fare_classes = 164 [packed = true];
      Specified by:
      getFareClassesValueList in interface TrainElement_VersionStructureOrBuilder
      Returns:
      A list containing the enum numeric values on the wire for fareClasses.
    • getFareClassesValue

      public int getFareClassesValue(int index)
       List of FARE CLASSes.  [netex_framework/netex_reusableComponents/netex_facility_version.xsd at 948:69]
       
      repeated .uk.org.netex.www.netex.FareClassEnumeration fare_classes = 164 [packed = true];
      Specified by:
      getFareClassesValue in interface TrainElement_VersionStructureOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The enum numeric value on the wire of fareClasses at the given index.
    • hasPassengerCapacity

      public boolean hasPassengerCapacity()
       Total Number of passengers that TRAIN ELEMENT. can carry.  [netex_framework/netex_reusableComponents/netex_trainElement_version.xsd at 363:90]
       
      .uk.org.netex.www.netex.PassengerCapacityStructure passenger_capacity = 165;
      Specified by:
      hasPassengerCapacity in interface TrainElement_VersionStructureOrBuilder
      Returns:
      Whether the passengerCapacity field is set.
    • getPassengerCapacity

      public PassengerCapacityStructure getPassengerCapacity()
       Total Number of passengers that TRAIN ELEMENT. can carry.  [netex_framework/netex_reusableComponents/netex_trainElement_version.xsd at 363:90]
       
      .uk.org.netex.www.netex.PassengerCapacityStructure passenger_capacity = 165;
      Specified by:
      getPassengerCapacity in interface TrainElement_VersionStructureOrBuilder
      Returns:
      The passengerCapacity.
    • getPassengerCapacityOrBuilder

      public PassengerCapacityStructureOrBuilder getPassengerCapacityOrBuilder()
       Total Number of passengers that TRAIN ELEMENT. can carry.  [netex_framework/netex_reusableComponents/netex_trainElement_version.xsd at 363:90]
       
      .uk.org.netex.www.netex.PassengerCapacityStructure passenger_capacity = 165;
      Specified by:
      getPassengerCapacityOrBuilder in interface TrainElement_VersionStructureOrBuilder
    • hasCapacities

      public boolean hasCapacities()
       [netex_framework/netex_reusableComponents/netex_trainElement_version.xsd at 368:90]
       
      .uk.org.netex.www.netex.PassengerCapacities_RelStructure capacities = 166;
      Specified by:
      hasCapacities in interface TrainElement_VersionStructureOrBuilder
      Returns:
      Whether the capacities field is set.
    • getCapacities

      public PassengerCapacities_RelStructure getCapacities()
       [netex_framework/netex_reusableComponents/netex_trainElement_version.xsd at 368:90]
       
      .uk.org.netex.www.netex.PassengerCapacities_RelStructure capacities = 166;
      Specified by:
      getCapacities in interface TrainElement_VersionStructureOrBuilder
      Returns:
      The capacities.
    • getCapacitiesOrBuilder

      public PassengerCapacities_RelStructureOrBuilder getCapacitiesOrBuilder()
       [netex_framework/netex_reusableComponents/netex_trainElement_version.xsd at 368:90]
       
      .uk.org.netex.www.netex.PassengerCapacities_RelStructure capacities = 166;
      Specified by:
      getCapacitiesOrBuilder in interface TrainElement_VersionStructureOrBuilder
    • getLength

      public double getLength()
       The length of a TRAIN ELEMENT.  [netex_framework/netex_reusableComponents/netex_trainElement_version.xsd at 369:63]
       
      double length = 167;
      Specified by:
      getLength in interface TrainElement_VersionStructureOrBuilder
      Returns:
      The length.
    • getWidth

      public double getWidth()
       The width of a TRAIN ELEMENT.  [netex_framework/netex_reusableComponents/netex_trainElement_version.xsd at 374:62]
       
      double width = 168;
      Specified by:
      getWidth in interface TrainElement_VersionStructureOrBuilder
      Returns:
      The width.
    • hasTrainSize

      public boolean hasTrainSize()
       Requirements for TRAIN SIZe.  [netex_framework/netex_reusableComponents/netex_trainElement_version.xsd at 229:58]
       
      .uk.org.netex.www.netex.TrainSizeStructure train_size = 169;
      Specified by:
      hasTrainSize in interface TrainElement_VersionStructureOrBuilder
      Returns:
      Whether the trainSize field is set.
    • getTrainSize

      public TrainSizeStructure getTrainSize()
       Requirements for TRAIN SIZe.  [netex_framework/netex_reusableComponents/netex_trainElement_version.xsd at 229:58]
       
      .uk.org.netex.www.netex.TrainSizeStructure train_size = 169;
      Specified by:
      getTrainSize in interface TrainElement_VersionStructureOrBuilder
      Returns:
      The trainSize.
    • getTrainSizeOrBuilder

      public TrainSizeStructureOrBuilder getTrainSizeOrBuilder()
       Requirements for TRAIN SIZe.  [netex_framework/netex_reusableComponents/netex_trainElement_version.xsd at 229:58]
       
      .uk.org.netex.www.netex.TrainSizeStructure train_size = 169;
      Specified by:
      getTrainSizeOrBuilder in interface TrainElement_VersionStructureOrBuilder
    • hasFacilities

      public boolean hasFacilities()
       [netex_framework/netex_reusableComponents/netex_trainElement_version.xsd at 380:90]
       
      .uk.org.netex.www.netex.ServiceFacilitySets_RelStructure facilities = 170;
      Specified by:
      hasFacilities in interface TrainElement_VersionStructureOrBuilder
      Returns:
      Whether the facilities field is set.
    • getFacilities

      public ServiceFacilitySets_RelStructure getFacilities()
       [netex_framework/netex_reusableComponents/netex_trainElement_version.xsd at 380:90]
       
      .uk.org.netex.www.netex.ServiceFacilitySets_RelStructure facilities = 170;
      Specified by:
      getFacilities in interface TrainElement_VersionStructureOrBuilder
      Returns:
      The facilities.
    • getFacilitiesOrBuilder

      public ServiceFacilitySets_RelStructureOrBuilder getFacilitiesOrBuilder()
       [netex_framework/netex_reusableComponents/netex_trainElement_version.xsd at 380:90]
       
      .uk.org.netex.www.netex.ServiceFacilitySets_RelStructure facilities = 170;
      Specified by:
      getFacilitiesOrBuilder in interface TrainElement_VersionStructureOrBuilder
    • hasEquipments

      public boolean hasEquipments()
       Actual EQUIPMENT on element.  [netex_framework/netex_reusableComponents/netex_trainElement_version.xsd at 381:80]
       
      .uk.org.netex.www.netex.Equipments_RelStructure equipments = 171;
      Specified by:
      hasEquipments in interface TrainElement_VersionStructureOrBuilder
      Returns:
      Whether the equipments field is set.
    • getEquipments

      public Equipments_RelStructure getEquipments()
       Actual EQUIPMENT on element.  [netex_framework/netex_reusableComponents/netex_trainElement_version.xsd at 381:80]
       
      .uk.org.netex.www.netex.Equipments_RelStructure equipments = 171;
      Specified by:
      getEquipments in interface TrainElement_VersionStructureOrBuilder
      Returns:
      The equipments.
    • getEquipmentsOrBuilder

      public Equipments_RelStructureOrBuilder getEquipmentsOrBuilder()
       Actual EQUIPMENT on element.  [netex_framework/netex_reusableComponents/netex_trainElement_version.xsd at 381:80]
       
      .uk.org.netex.www.netex.Equipments_RelStructure equipments = 171;
      Specified by:
      getEquipmentsOrBuilder in interface TrainElement_VersionStructureOrBuilder
    • 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 TrainElement_VersionStructure parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static TrainElement_VersionStructure.Builder newBuilder()
    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

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

      public static TrainElement_VersionStructure getDefaultInstance()
    • parser

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

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