Package uk.org.netex.www.netex
Class TrainElementType
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
uk.org.netex.www.netex.TrainElementType
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,TrainElementTypeOrBuilder
public final class TrainElementType
extends com.google.protobuf.GeneratedMessage
implements TrainElementTypeOrBuilder
An elementary component of a TRAIN (e.g. wagon, locomotive). [netex_framework/netex_reusableComponents/netex_trainElement_version.xsd at 302:73]Protobuf type
uk.org.netex.www.netex.TrainElementType- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classAn elementary component of a TRAIN (e.g. wagon, locomotive).Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanAdditional Translations of text elements.Additional Translations of text elements.Reference to a BRANDING.Reference to a BRANDING.[netex_framework/netex_reusableComponents/netex_trainElement_version.xsd at 368:90][netex_framework/netex_reusableComponents/netex_trainElement_version.xsd at 368:90]com.google.protobuf.TimestampDate ENTITY or version was last changed.com.google.protobuf.TimestampOrBuilderDate ENTITY or version was last changed.com.google.protobuf.TimestampDate ENTITY was first created.com.google.protobuf.TimestampOrBuilderDate ENTITY was first created.static TrainElementTypeIdentity of object from which this object of ENTITY was derived.com.google.protobuf.ByteStringIdentity of object from which this object of ENTITY was derived.Version of this object from which this version of ENTITY was derived.com.google.protobuf.ByteStringVersion of this object from which this version of ENTITY was derived.Description of TRAIN ELEMENT.Description of TRAIN ELEMENT.static final com.google.protobuf.Descriptors.DescriptorActual EQUIPMENT on element.Actual EQUIPMENT on element.User defined Extensions to ENTITY in schema.User defined Extensions to ENTITY in schema.[netex_framework/netex_reusableComponents/netex_trainElement_version.xsd at 380:90][netex_framework/netex_reusableComponents/netex_trainElement_version.xsd at 380:90]getFareClasses(int index) List of FARE CLASSes.intList of FARE CLASSes.List of FARE CLASSes.intgetFareClassesValue(int index) List of FARE CLASSes.List of FARE CLASSes.getId()[netex_framework/netex_reusableComponents/netex_trainElement_version.xsd at 324:58]com.google.protobuf.ByteString[netex_framework/netex_reusableComponents/netex_trainElement_version.xsd at 324:58]A list of alternative Key values for an element.A list of alternative Key values for an element.doubleThe length of a TRAIN ELEMENT.getName()Name of TRAIN ELEMENT.Name of TRAIN ELEMENT.com.google.protobuf.Parser<TrainElementType> Total Number of passengers that TRAIN ELEMENT. can carry.Total Number of passengers that TRAIN ELEMENT. can carry.A private code that uniquely identifies the element.A private code that uniquely identifies the element.intWhether ENTITY is currently in use.intWhether ENTITY is currently in use.Type of TRAIN ELEMENT.intType of TRAIN ELEMENT.Requirements for TRAIN SIZe.Requirements for TRAIN SIZe.getValidBetween(int index) OPTIMISATION.intOPTIMISATION.OPTIMISATION.getValidBetweenOrBuilder(int index) OPTIMISATION.List<? extends ValidBetweenTypeOrBuilder> OPTIMISATION.VALIDITY CONDITIONs conditioning entity.VALIDITY CONDITIONs conditioning entity.Version number of entity.com.google.protobuf.ByteStringVersion number of entity.doublegetWidth()The width of a TRAIN ELEMENT.booleanAdditional Translations of text elements.booleanReference to a BRANDING.boolean[netex_framework/netex_reusableComponents/netex_trainElement_version.xsd at 368:90]booleanDate ENTITY or version was last changed.booleanDate ENTITY was first created.booleanDescription of TRAIN ELEMENT.booleanActual EQUIPMENT on element.booleanUser defined Extensions to ENTITY in schema.boolean[netex_framework/netex_reusableComponents/netex_trainElement_version.xsd at 380:90]inthashCode()booleanA list of alternative Key values for an element.booleanhasName()Name of TRAIN ELEMENT.booleanTotal Number of passengers that TRAIN ELEMENT. can carry.booleanA private code that uniquely identifies the element.booleanRequirements for TRAIN SIZe.booleanVALIDITY CONDITIONs conditioning entity.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic TrainElementType.Builderstatic TrainElementType.BuildernewBuilder(TrainElementType prototype) protected TrainElementType.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static TrainElementTypeparseDelimitedFrom(InputStream input) static TrainElementTypeparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TrainElementTypeparseFrom(byte[] data) static TrainElementTypeparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TrainElementTypeparseFrom(com.google.protobuf.ByteString data) static TrainElementTypeparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TrainElementTypeparseFrom(com.google.protobuf.CodedInputStream input) static TrainElementTypeparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TrainElementTypeparseFrom(InputStream input) static TrainElementTypeparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TrainElementTypeparseFrom(ByteBuffer data) static TrainElementTypeparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<TrainElementType> parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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:
-
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:
-
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:
internalGetFieldAccessorTablein classcom.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:
hasCreatedin interfaceTrainElementTypeOrBuilder- 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:
getCreatedin interfaceTrainElementTypeOrBuilder- 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:
getCreatedOrBuilderin interfaceTrainElementTypeOrBuilder
-
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:
hasChangedin interfaceTrainElementTypeOrBuilder- 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:
getChangedin interfaceTrainElementTypeOrBuilder- 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:
getChangedOrBuilderin interfaceTrainElementTypeOrBuilder
-
getVersion
Version number of entity. [netex_framework/netex_responsibility/netex_version_support.xsd at 201:69]
string version = 7;- Specified by:
getVersionin interfaceTrainElementTypeOrBuilder- 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:
getVersionBytesin interfaceTrainElementTypeOrBuilder- 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:
getStatusValuein interfaceTrainElementTypeOrBuilder- Returns:
- The enum numeric value on the wire for status.
-
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:
getStatusin interfaceTrainElementTypeOrBuilder- Returns:
- The status.
-
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 = 203;- Specified by:
getDerivedFromVersionRefin interfaceTrainElementTypeOrBuilder- 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 = 203;- Specified by:
getDerivedFromVersionRefBytesin interfaceTrainElementTypeOrBuilder- Returns:
- The bytes for derivedFromVersionRef.
-
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 = 204;- Specified by:
getDerivedFromObjectRefin interfaceTrainElementTypeOrBuilder- 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 = 204;- Specified by:
getDerivedFromObjectRefBytesin interfaceTrainElementTypeOrBuilder- 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:
hasValidityConditionsin interfaceTrainElementTypeOrBuilder- Returns:
- Whether the validityConditions field is set.
-
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:
getValidityConditionsin interfaceTrainElementTypeOrBuilder- Returns:
- The validityConditions.
-
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:
getValidityConditionsOrBuilderin interfaceTrainElementTypeOrBuilder
-
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:
getValidBetweenListin interfaceTrainElementTypeOrBuilder
-
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:
getValidBetweenOrBuilderListin interfaceTrainElementTypeOrBuilder
-
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:
getValidBetweenCountin interfaceTrainElementTypeOrBuilder
-
getValidBetween
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:
getValidBetweenin interfaceTrainElementTypeOrBuilder
-
getValidBetweenOrBuilder
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:
getValidBetweenOrBuilderin interfaceTrainElementTypeOrBuilder
-
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:
hasAlternativeTextsin interfaceTrainElementTypeOrBuilder- Returns:
- Whether the alternativeTexts field is set.
-
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:
getAlternativeTextsin interfaceTrainElementTypeOrBuilder- Returns:
- The alternativeTexts.
-
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:
getAlternativeTextsOrBuilderin interfaceTrainElementTypeOrBuilder
-
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:
hasKeyListin interfaceTrainElementTypeOrBuilder- Returns:
- Whether the keyList field is set.
-
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:
getKeyListin interfaceTrainElementTypeOrBuilder- Returns:
- The keyList.
-
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:
getKeyListOrBuilderin interfaceTrainElementTypeOrBuilder
-
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:
hasExtensionsin interfaceTrainElementTypeOrBuilder- Returns:
- Whether the extensions field is set.
-
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:
getExtensionsin interfaceTrainElementTypeOrBuilder- Returns:
- The extensions.
-
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:
getExtensionsOrBuilderin interfaceTrainElementTypeOrBuilder
-
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:
hasBrandingRefin interfaceTrainElementTypeOrBuilder- Returns:
- Whether the brandingRef field is set.
-
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:
getBrandingRefin interfaceTrainElementTypeOrBuilder- Returns:
- The brandingRef.
-
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:
getBrandingRefOrBuilderin interfaceTrainElementTypeOrBuilder
-
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:
hasNamein interfaceTrainElementTypeOrBuilder- Returns:
- Whether the name field is set.
-
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:
getNamein interfaceTrainElementTypeOrBuilder- Returns:
- The name.
-
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:
getNameOrBuilderin interfaceTrainElementTypeOrBuilder
-
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:
hasDescriptionin interfaceTrainElementTypeOrBuilder- Returns:
- Whether the description field is set.
-
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:
getDescriptionin interfaceTrainElementTypeOrBuilder- Returns:
- The description.
-
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:
getDescriptionOrBuilderin interfaceTrainElementTypeOrBuilder
-
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:
hasPrivateCodein interfaceTrainElementTypeOrBuilder- Returns:
- Whether the privateCode field is set.
-
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:
getPrivateCodein interfaceTrainElementTypeOrBuilder- Returns:
- The privateCode.
-
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:
getPrivateCodeOrBuilderin interfaceTrainElementTypeOrBuilder
-
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:
getTrainElementTypeValuein interfaceTrainElementTypeOrBuilder- Returns:
- The enum numeric value on the wire for trainElementType.
-
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:
getTrainElementTypein interfaceTrainElementTypeOrBuilder- Returns:
- The trainElementType.
-
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:
getFareClassesListin interfaceTrainElementTypeOrBuilder- 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:
getFareClassesCountin interfaceTrainElementTypeOrBuilder- Returns:
- The count of fareClasses.
-
getFareClasses
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:
getFareClassesin interfaceTrainElementTypeOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The fareClasses at the given index.
-
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:
getFareClassesValueListin interfaceTrainElementTypeOrBuilder- 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:
getFareClassesValuein interfaceTrainElementTypeOrBuilder- 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:
hasPassengerCapacityin interfaceTrainElementTypeOrBuilder- Returns:
- Whether the passengerCapacity field is set.
-
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:
getPassengerCapacityin interfaceTrainElementTypeOrBuilder- Returns:
- The passengerCapacity.
-
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:
getPassengerCapacityOrBuilderin interfaceTrainElementTypeOrBuilder
-
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:
hasCapacitiesin interfaceTrainElementTypeOrBuilder- Returns:
- Whether the capacities field is set.
-
getCapacities
[netex_framework/netex_reusableComponents/netex_trainElement_version.xsd at 368:90]
.uk.org.netex.www.netex.PassengerCapacities_RelStructure capacities = 166;- Specified by:
getCapacitiesin interfaceTrainElementTypeOrBuilder- Returns:
- The capacities.
-
getCapacitiesOrBuilder
[netex_framework/netex_reusableComponents/netex_trainElement_version.xsd at 368:90]
.uk.org.netex.www.netex.PassengerCapacities_RelStructure capacities = 166;- Specified by:
getCapacitiesOrBuilderin interfaceTrainElementTypeOrBuilder
-
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:
getLengthin interfaceTrainElementTypeOrBuilder- 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:
getWidthin interfaceTrainElementTypeOrBuilder- 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:
hasTrainSizein interfaceTrainElementTypeOrBuilder- Returns:
- Whether the trainSize field is set.
-
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:
getTrainSizein interfaceTrainElementTypeOrBuilder- Returns:
- The trainSize.
-
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:
getTrainSizeOrBuilderin interfaceTrainElementTypeOrBuilder
-
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:
hasFacilitiesin interfaceTrainElementTypeOrBuilder- Returns:
- Whether the facilities field is set.
-
getFacilities
[netex_framework/netex_reusableComponents/netex_trainElement_version.xsd at 380:90]
.uk.org.netex.www.netex.ServiceFacilitySets_RelStructure facilities = 170;- Specified by:
getFacilitiesin interfaceTrainElementTypeOrBuilder- Returns:
- The facilities.
-
getFacilitiesOrBuilder
[netex_framework/netex_reusableComponents/netex_trainElement_version.xsd at 380:90]
.uk.org.netex.www.netex.ServiceFacilitySets_RelStructure facilities = 170;- Specified by:
getFacilitiesOrBuilderin interfaceTrainElementTypeOrBuilder
-
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:
hasEquipmentsin interfaceTrainElementTypeOrBuilder- Returns:
- Whether the equipments field is set.
-
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:
getEquipmentsin interfaceTrainElementTypeOrBuilder- Returns:
- The equipments.
-
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:
getEquipmentsOrBuilderin interfaceTrainElementTypeOrBuilder
-
getId
[netex_framework/netex_reusableComponents/netex_trainElement_version.xsd at 324:58]
string id = 201;- Specified by:
getIdin interfaceTrainElementTypeOrBuilder- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()[netex_framework/netex_reusableComponents/netex_trainElement_version.xsd at 324:58]
string id = 201;- Specified by:
getIdBytesin interfaceTrainElementTypeOrBuilder- Returns:
- The bytes for id.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static TrainElementType parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TrainElementType parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TrainElementType parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TrainElementType parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TrainElementType parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TrainElementType parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static TrainElementType parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static TrainElementType parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static TrainElementType parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static TrainElementType parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected TrainElementType.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-