Class TrainComponent_VersionStructure

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

@Generated public final class TrainComponent_VersionStructure extends com.google.protobuf.GeneratedMessage implements TrainComponent_VersionStructureOrBuilder
 Type for a TRAIN COMPONENT.  [netex_framework/netex_reusableComponents/netex_trainElement_version.xsd at 427:75]
 
Protobuf type uk.org.netex.www.netex.TrainComponent_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:
    • ORDER_FIELD_NUMBER

      public static final int ORDER_FIELD_NUMBER
      See Also:
    • LABEL_FIELD_NUMBER

      public static final int LABEL_FIELD_NUMBER
      See Also:
    • DESCRIPTION_FIELD_NUMBER

      public static final int DESCRIPTION_FIELD_NUMBER
      See Also:
    • TRAIN_REF_FIELD_NUMBER

      public static final int TRAIN_REF_FIELD_NUMBER
      See Also:
    • TRAIN_ELEMENT_REF_FIELD_NUMBER

      public static final int TRAIN_ELEMENT_REF_FIELD_NUMBER
      See Also:
    • TRAIN_ELEMENT_FIELD_NUMBER

      public static final int TRAIN_ELEMENT_FIELD_NUMBER
      See Also:
    • OPERATIONAL_ORIENTATION_FIELD_NUMBER

      public static final int OPERATIONAL_ORIENTATION_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 TrainComponent_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 TrainComponent_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 TrainComponent_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 TrainComponent_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 TrainComponent_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 TrainComponent_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 TrainComponent_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 TrainComponent_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 TrainComponent_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 TrainComponent_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 TrainComponent_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 TrainComponent_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 TrainComponent_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 TrainComponent_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 TrainComponent_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 TrainComponent_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 TrainComponent_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 TrainComponent_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 TrainComponent_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 TrainComponent_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 TrainComponent_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 TrainComponent_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 TrainComponent_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 TrainComponent_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 TrainComponent_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 TrainComponent_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 TrainComponent_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 TrainComponent_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 TrainComponent_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 TrainComponent_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 TrainComponent_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 TrainComponent_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 TrainComponent_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 TrainComponent_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 TrainComponent_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 TrainComponent_VersionStructureOrBuilder
    • getOrder

      public int getOrder()
       Order of TRAIN COMPONENT within TRAIN.  [netex_framework/netex_reusableComponents/netex_trainElement_version.xsd at 434:60]
       
      uint32 order = 101 [(.buf.validate.field) = { ... }
      Specified by:
      getOrder in interface TrainComponent_VersionStructureOrBuilder
      Returns:
      The order.
    • hasLabel

      public boolean hasLabel()
       Label for TRAIN COMPONENT.  [netex_framework/netex_reusableComponents/netex_trainElement_version.xsd at 447:70]
       
      .uk.org.netex.www.netex.MultilingualString label = 161;
      Specified by:
      hasLabel in interface TrainComponent_VersionStructureOrBuilder
      Returns:
      Whether the label field is set.
    • getLabel

      public MultilingualString getLabel()
       Label for TRAIN COMPONENT.  [netex_framework/netex_reusableComponents/netex_trainElement_version.xsd at 447:70]
       
      .uk.org.netex.www.netex.MultilingualString label = 161;
      Specified by:
      getLabel in interface TrainComponent_VersionStructureOrBuilder
      Returns:
      The label.
    • getLabelOrBuilder

      public MultilingualStringOrBuilder getLabelOrBuilder()
       Label for TRAIN COMPONENT.  [netex_framework/netex_reusableComponents/netex_trainElement_version.xsd at 447:70]
       
      .uk.org.netex.www.netex.MultilingualString label = 161;
      Specified by:
      getLabelOrBuilder in interface TrainComponent_VersionStructureOrBuilder
    • hasDescription

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

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

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

      public boolean hasTrainRef()
       Reference to a TRAIN.  [netex_framework/netex_reusableComponents/netex_trainElement_support.xsd at 67:91]
       
      .uk.org.netex.www.netex.VersionOfObjectRefStructure train_ref = 163;
      Specified by:
      hasTrainRef in interface TrainComponent_VersionStructureOrBuilder
      Returns:
      Whether the trainRef field is set.
    • getTrainRef

      public VersionOfObjectRefStructure getTrainRef()
       Reference to a TRAIN.  [netex_framework/netex_reusableComponents/netex_trainElement_support.xsd at 67:91]
       
      .uk.org.netex.www.netex.VersionOfObjectRefStructure train_ref = 163;
      Specified by:
      getTrainRef in interface TrainComponent_VersionStructureOrBuilder
      Returns:
      The trainRef.
    • getTrainRefOrBuilder

      public VersionOfObjectRefStructureOrBuilder getTrainRefOrBuilder()
       Reference to a TRAIN.  [netex_framework/netex_reusableComponents/netex_trainElement_support.xsd at 67:91]
       
      .uk.org.netex.www.netex.VersionOfObjectRefStructure train_ref = 163;
      Specified by:
      getTrainRefOrBuilder in interface TrainComponent_VersionStructureOrBuilder
    • hasTrainElementRef

      public boolean hasTrainElementRef()
       Reference to a TRAIN ELEMENT.  [netex_framework/netex_reusableComponents/netex_trainElement_support.xsd at 150:109]
       
      .uk.org.netex.www.netex.VersionOfObjectRefStructure train_element_ref = 164;
      Specified by:
      hasTrainElementRef in interface TrainComponent_VersionStructureOrBuilder
      Returns:
      Whether the trainElementRef field is set.
    • getTrainElementRef

      public VersionOfObjectRefStructure getTrainElementRef()
       Reference to a TRAIN ELEMENT.  [netex_framework/netex_reusableComponents/netex_trainElement_support.xsd at 150:109]
       
      .uk.org.netex.www.netex.VersionOfObjectRefStructure train_element_ref = 164;
      Specified by:
      getTrainElementRef in interface TrainComponent_VersionStructureOrBuilder
      Returns:
      The trainElementRef.
    • getTrainElementRefOrBuilder

      public VersionOfObjectRefStructureOrBuilder getTrainElementRefOrBuilder()
       Reference to a TRAIN ELEMENT.  [netex_framework/netex_reusableComponents/netex_trainElement_support.xsd at 150:109]
       
      .uk.org.netex.www.netex.VersionOfObjectRefStructure train_element_ref = 164;
      Specified by:
      getTrainElementRefOrBuilder in interface TrainComponent_VersionStructureOrBuilder
    • hasTrainElement

      public boolean hasTrainElement()
       An elementary component of a TRAIN (e.g. wagon, locomotive).  [netex_framework/netex_reusableComponents/netex_trainElement_version.xsd at 302:73]
       
      .uk.org.netex.www.netex.TrainElementType train_element = 165;
      Specified by:
      hasTrainElement in interface TrainComponent_VersionStructureOrBuilder
      Returns:
      Whether the trainElement field is set.
    • getTrainElement

      public TrainElementType getTrainElement()
       An elementary component of a TRAIN (e.g. wagon, locomotive).  [netex_framework/netex_reusableComponents/netex_trainElement_version.xsd at 302:73]
       
      .uk.org.netex.www.netex.TrainElementType train_element = 165;
      Specified by:
      getTrainElement in interface TrainComponent_VersionStructureOrBuilder
      Returns:
      The trainElement.
    • getTrainElementOrBuilder

      public TrainElementTypeOrBuilder getTrainElementOrBuilder()
       An elementary component of a TRAIN (e.g. wagon, locomotive).  [netex_framework/netex_reusableComponents/netex_trainElement_version.xsd at 302:73]
       
      .uk.org.netex.www.netex.TrainElementType train_element = 165;
      Specified by:
      getTrainElementOrBuilder in interface TrainComponent_VersionStructureOrBuilder
    • getOperationalOrientationValue

      public int getOperationalOrientationValue()
       Orientation of the  TRAIN ELEMENT within the TRAIN. +v1.1.  [netex_framework/netex_reusableComponents/netex_trainElement_version.xsd at 470:117]
       
      .uk.org.netex.www.netex.VehicleOrientationEnumeration operational_orientation = 171;
      Specified by:
      getOperationalOrientationValue in interface TrainComponent_VersionStructureOrBuilder
      Returns:
      The enum numeric value on the wire for operationalOrientation.
    • getOperationalOrientation

      public VehicleOrientationEnumeration getOperationalOrientation()
       Orientation of the  TRAIN ELEMENT within the TRAIN. +v1.1.  [netex_framework/netex_reusableComponents/netex_trainElement_version.xsd at 470:117]
       
      .uk.org.netex.www.netex.VehicleOrientationEnumeration operational_orientation = 171;
      Specified by:
      getOperationalOrientation in interface TrainComponent_VersionStructureOrBuilder
      Returns:
      The operationalOrientation.
    • 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 TrainComponent_VersionStructure parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

      public static TrainComponent_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 TrainComponent_VersionStructure parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

      public static TrainComponent_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 TrainComponent_VersionStructure.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static TrainComponent_VersionStructure getDefaultInstance()
    • parser

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

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