Class TrainComponent_DerivedViewStructure

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

@Generated public final class TrainComponent_DerivedViewStructure extends com.google.protobuf.GeneratedMessage implements TrainComponent_DerivedViewStructureOrBuilder
 Type for TRAIN COMPONENT VIEW.  [netex_framework/netex_reusableComponents/netex_trainElement_version.xsd at 567:79]
 
Protobuf type uk.org.netex.www.netex.TrainComponent_DerivedViewStructure
See Also:
  • Field Details

    • ID_FIELD_NUMBER

      public static final int ID_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:
    • TRAIN_COMPONENT_REF_FIELD_NUMBER

      public static final int TRAIN_COMPONENT_REF_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_ELEMENT_REF_FIELD_NUMBER

      public static final int TRAIN_ELEMENT_REF_FIELD_NUMBER
      See Also:
    • FARE_CLASSES_FIELD_NUMBER

      public static final int FARE_CLASSES_FIELD_NUMBER
      See Also:
    • TRAIN_ELEMENT_TYPE_FIELD_NUMBER

      public static final int TRAIN_ELEMENT_TYPE_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 Object of which this is a view.  [netex_framework/netex_responsibility/netex_responsibility_version.xsd at 136:48]
       
      string id = 1;
      Specified by:
      getId in interface TrainComponent_DerivedViewStructureOrBuilder
      Returns:
      The id.
    • getIdBytes

      public com.google.protobuf.ByteString getIdBytes()
       Identifier of Object of which this is a view.  [netex_framework/netex_responsibility/netex_responsibility_version.xsd at 136:48]
       
      string id = 1;
      Specified by:
      getIdBytes in interface TrainComponent_DerivedViewStructureOrBuilder
      Returns:
      The bytes for id.
    • 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 = 2;
      Specified by:
      hasBrandingRef in interface TrainComponent_DerivedViewStructureOrBuilder
      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 = 2;
      Specified by:
      getBrandingRef in interface TrainComponent_DerivedViewStructureOrBuilder
      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 = 2;
      Specified by:
      getBrandingRefOrBuilder in interface TrainComponent_DerivedViewStructureOrBuilder
    • getOrder

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

      public boolean hasTrainComponentRef()
       Reference to a TRAIN COMPONENT.  [netex_framework/netex_reusableComponents/netex_trainElement_support.xsd at 191:113]
       
      .uk.org.netex.www.netex.OrderedVersionOfObjectRefStructure train_component_ref = 41;
      Specified by:
      hasTrainComponentRef in interface TrainComponent_DerivedViewStructureOrBuilder
      Returns:
      Whether the trainComponentRef field is set.
    • getTrainComponentRef

      public OrderedVersionOfObjectRefStructure getTrainComponentRef()
       Reference to a TRAIN COMPONENT.  [netex_framework/netex_reusableComponents/netex_trainElement_support.xsd at 191:113]
       
      .uk.org.netex.www.netex.OrderedVersionOfObjectRefStructure train_component_ref = 41;
      Specified by:
      getTrainComponentRef in interface TrainComponent_DerivedViewStructureOrBuilder
      Returns:
      The trainComponentRef.
    • getTrainComponentRefOrBuilder

      public OrderedVersionOfObjectRefStructureOrBuilder getTrainComponentRefOrBuilder()
       Reference to a TRAIN COMPONENT.  [netex_framework/netex_reusableComponents/netex_trainElement_support.xsd at 191:113]
       
      .uk.org.netex.www.netex.OrderedVersionOfObjectRefStructure train_component_ref = 41;
      Specified by:
      getTrainComponentRefOrBuilder in interface TrainComponent_DerivedViewStructureOrBuilder
    • hasLabel

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

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

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

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

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

      public MultilingualStringOrBuilder getDescriptionOrBuilder()
       Description of TRAIN COMPONENT.  [netex_framework/netex_reusableComponents/netex_trainElement_version.xsd at 595:76]
       
      .uk.org.netex.www.netex.MultilingualString description = 43;
      Specified by:
      getDescriptionOrBuilder in interface TrainComponent_DerivedViewStructureOrBuilder
    • 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 = 44;
      Specified by:
      hasTrainElementRef in interface TrainComponent_DerivedViewStructureOrBuilder
      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 = 44;
      Specified by:
      getTrainElementRef in interface TrainComponent_DerivedViewStructureOrBuilder
      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 = 44;
      Specified by:
      getTrainElementRefOrBuilder in interface TrainComponent_DerivedViewStructureOrBuilder
    • 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 = 45 [packed = true];
      Specified by:
      getFareClassesList in interface TrainComponent_DerivedViewStructureOrBuilder
      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 = 45 [packed = true];
      Specified by:
      getFareClassesCount in interface TrainComponent_DerivedViewStructureOrBuilder
      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 = 45 [packed = true];
      Specified by:
      getFareClasses in interface TrainComponent_DerivedViewStructureOrBuilder
      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 = 45 [packed = true];
      Specified by:
      getFareClassesValueList in interface TrainComponent_DerivedViewStructureOrBuilder
      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 = 45 [packed = true];
      Specified by:
      getFareClassesValue in interface TrainComponent_DerivedViewStructureOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The enum numeric value on the wire of fareClasses at the given index.
    • getTrainElementTypeValue

      public int getTrainElementTypeValue()
       Type of TRAIN ELEMENT.  [netex_framework/netex_reusableComponents/netex_trainElement_version.xsd at 619:90]
       
      .uk.org.netex.www.netex.TrainElementTypeEnumeration train_element_type = 46;
      Specified by:
      getTrainElementTypeValue in interface TrainComponent_DerivedViewStructureOrBuilder
      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 619:90]
       
      .uk.org.netex.www.netex.TrainElementTypeEnumeration train_element_type = 46;
      Specified by:
      getTrainElementType in interface TrainComponent_DerivedViewStructureOrBuilder
      Returns:
      The trainElementType.
    • 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_DerivedViewStructure parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static TrainComponent_DerivedViewStructure getDefaultInstance()
    • parser

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

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