Package uk.org.netex.www.netex
Enum Class MediaTypeEnumeration
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<MediaTypeEnumeration>,Constable
public enum MediaTypeEnumeration
extends Enum<MediaTypeEnumeration>
implements com.google.protobuf.ProtocolMessageEnum
Allowed values for ResellType. [netex_part_3/part3_fares/netex_typeOfTravelDocument_support.xsd at 137:46]Protobuf enum
uk.org.netex.www.netex.MediaTypeEnumeration-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription[netex_part_3/part3_fares/netex_typeOfTravelDocument_support.xsd at 150:35][netex_part_3/part3_fares/netex_typeOfTravelDocument_support.xsd at 145:37][netex_part_3/part3_fares/netex_typeOfTravelDocument_support.xsd at 149:43][netex_part_3/part3_fares/netex_typeOfTravelDocument_support.xsd at 151:34][netex_part_3/part3_fares/netex_typeOfTravelDocument_support.xsd at 148:40][netex_part_3/part3_fares/netex_typeOfTravelDocument_support.xsd at 142:35][netex_part_3/part3_fares/netex_typeOfTravelDocument_support.xsd at 153:36][netex_part_3/part3_fares/netex_typeOfTravelDocument_support.xsd at 143:42][netex_part_3/part3_fares/netex_typeOfTravelDocument_support.xsd at 144:53][netex_part_3/part3_fares/netex_typeOfTravelDocument_support.xsd at 146:51][netex_part_3/part3_fares/netex_typeOfTravelDocument_support.xsd at 147:40][netex_part_3/part3_fares/netex_typeOfTravelDocument_support.xsd at 152:34]Default -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int[netex_part_3/part3_fares/netex_typeOfTravelDocument_support.xsd at 150:35]static final int[netex_part_3/part3_fares/netex_typeOfTravelDocument_support.xsd at 145:37]static final int[netex_part_3/part3_fares/netex_typeOfTravelDocument_support.xsd at 149:43]static final int[netex_part_3/part3_fares/netex_typeOfTravelDocument_support.xsd at 151:34]static final int[netex_part_3/part3_fares/netex_typeOfTravelDocument_support.xsd at 148:40]static final int[netex_part_3/part3_fares/netex_typeOfTravelDocument_support.xsd at 142:35]static final int[netex_part_3/part3_fares/netex_typeOfTravelDocument_support.xsd at 153:36]static final int[netex_part_3/part3_fares/netex_typeOfTravelDocument_support.xsd at 143:42]static final int[netex_part_3/part3_fares/netex_typeOfTravelDocument_support.xsd at 144:53]static final int[netex_part_3/part3_fares/netex_typeOfTravelDocument_support.xsd at 146:51]static final int[netex_part_3/part3_fares/netex_typeOfTravelDocument_support.xsd at 147:40]static final int[netex_part_3/part3_fares/netex_typeOfTravelDocument_support.xsd at 152:34]static final intDefault -
Method Summary
Modifier and TypeMethodDescriptionstatic MediaTypeEnumerationforNumber(int value) static final com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<MediaTypeEnumeration> static MediaTypeEnumerationvalueOf(int value) Deprecated.static MediaTypeEnumerationvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.static MediaTypeEnumerationReturns the enum constant of this class with the specified name.static MediaTypeEnumeration[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
MEDIA_TYPE_ENUMERATION_UNSPECIFIED
Default
MEDIA_TYPE_ENUMERATION_UNSPECIFIED = 0; -
MEDIA_TYPE_ENUMERATION_NONE
[netex_part_3/part3_fares/netex_typeOfTravelDocument_support.xsd at 142:35]
MEDIA_TYPE_ENUMERATION_NONE = 1; -
MEDIA_TYPE_ENUMERATION_PAPER_TICKET
[netex_part_3/part3_fares/netex_typeOfTravelDocument_support.xsd at 143:42]
MEDIA_TYPE_ENUMERATION_PAPER_TICKET = 2; -
MEDIA_TYPE_ENUMERATION_PAPER_TICKET_WITH_COUPONS
[netex_part_3/part3_fares/netex_typeOfTravelDocument_support.xsd at 144:53]
MEDIA_TYPE_ENUMERATION_PAPER_TICKET_WITH_COUPONS = 3; -
MEDIA_TYPE_ENUMERATION_COUPON
[netex_part_3/part3_fares/netex_typeOfTravelDocument_support.xsd at 145:37]
MEDIA_TYPE_ENUMERATION_COUPON = 4; -
MEDIA_TYPE_ENUMERATION_SELF_PRINT_PAPER_TICKET
[netex_part_3/part3_fares/netex_typeOfTravelDocument_support.xsd at 146:51]
MEDIA_TYPE_ENUMERATION_SELF_PRINT_PAPER_TICKET = 5; -
MEDIA_TYPE_ENUMERATION_SMART_CARD
[netex_part_3/part3_fares/netex_typeOfTravelDocument_support.xsd at 147:40]
MEDIA_TYPE_ENUMERATION_SMART_CARD = 6; -
MEDIA_TYPE_ENUMERATION_MOBILE_APP
[netex_part_3/part3_fares/netex_typeOfTravelDocument_support.xsd at 148:40]
MEDIA_TYPE_ENUMERATION_MOBILE_APP = 7; -
MEDIA_TYPE_ENUMERATION_LICENCE_PLATE
[netex_part_3/part3_fares/netex_typeOfTravelDocument_support.xsd at 149:43]
MEDIA_TYPE_ENUMERATION_LICENCE_PLATE = 13; -
MEDIA_TYPE_ENUMERATION_CARD
[netex_part_3/part3_fares/netex_typeOfTravelDocument_support.xsd at 150:35]
MEDIA_TYPE_ENUMERATION_CARD = 8; -
MEDIA_TYPE_ENUMERATION_MMS
[netex_part_3/part3_fares/netex_typeOfTravelDocument_support.xsd at 151:34]
MEDIA_TYPE_ENUMERATION_MMS = 9; -
MEDIA_TYPE_ENUMERATION_SMS
[netex_part_3/part3_fares/netex_typeOfTravelDocument_support.xsd at 152:34]
MEDIA_TYPE_ENUMERATION_SMS = 10; -
MEDIA_TYPE_ENUMERATION_OTHER
[netex_part_3/part3_fares/netex_typeOfTravelDocument_support.xsd at 153:36]
MEDIA_TYPE_ENUMERATION_OTHER = 11; -
UNRECOGNIZED
-
-
Field Details
-
MEDIA_TYPE_ENUMERATION_UNSPECIFIED_VALUE
public static final int MEDIA_TYPE_ENUMERATION_UNSPECIFIED_VALUEDefault
MEDIA_TYPE_ENUMERATION_UNSPECIFIED = 0;- See Also:
-
MEDIA_TYPE_ENUMERATION_NONE_VALUE
public static final int MEDIA_TYPE_ENUMERATION_NONE_VALUE[netex_part_3/part3_fares/netex_typeOfTravelDocument_support.xsd at 142:35]
MEDIA_TYPE_ENUMERATION_NONE = 1;- See Also:
-
MEDIA_TYPE_ENUMERATION_PAPER_TICKET_VALUE
public static final int MEDIA_TYPE_ENUMERATION_PAPER_TICKET_VALUE[netex_part_3/part3_fares/netex_typeOfTravelDocument_support.xsd at 143:42]
MEDIA_TYPE_ENUMERATION_PAPER_TICKET = 2;- See Also:
-
MEDIA_TYPE_ENUMERATION_PAPER_TICKET_WITH_COUPONS_VALUE
public static final int MEDIA_TYPE_ENUMERATION_PAPER_TICKET_WITH_COUPONS_VALUE[netex_part_3/part3_fares/netex_typeOfTravelDocument_support.xsd at 144:53]
MEDIA_TYPE_ENUMERATION_PAPER_TICKET_WITH_COUPONS = 3;- See Also:
-
MEDIA_TYPE_ENUMERATION_COUPON_VALUE
public static final int MEDIA_TYPE_ENUMERATION_COUPON_VALUE[netex_part_3/part3_fares/netex_typeOfTravelDocument_support.xsd at 145:37]
MEDIA_TYPE_ENUMERATION_COUPON = 4;- See Also:
-
MEDIA_TYPE_ENUMERATION_SELF_PRINT_PAPER_TICKET_VALUE
public static final int MEDIA_TYPE_ENUMERATION_SELF_PRINT_PAPER_TICKET_VALUE[netex_part_3/part3_fares/netex_typeOfTravelDocument_support.xsd at 146:51]
MEDIA_TYPE_ENUMERATION_SELF_PRINT_PAPER_TICKET = 5;- See Also:
-
MEDIA_TYPE_ENUMERATION_SMART_CARD_VALUE
public static final int MEDIA_TYPE_ENUMERATION_SMART_CARD_VALUE[netex_part_3/part3_fares/netex_typeOfTravelDocument_support.xsd at 147:40]
MEDIA_TYPE_ENUMERATION_SMART_CARD = 6;- See Also:
-
MEDIA_TYPE_ENUMERATION_MOBILE_APP_VALUE
public static final int MEDIA_TYPE_ENUMERATION_MOBILE_APP_VALUE[netex_part_3/part3_fares/netex_typeOfTravelDocument_support.xsd at 148:40]
MEDIA_TYPE_ENUMERATION_MOBILE_APP = 7;- See Also:
-
MEDIA_TYPE_ENUMERATION_LICENCE_PLATE_VALUE
public static final int MEDIA_TYPE_ENUMERATION_LICENCE_PLATE_VALUE[netex_part_3/part3_fares/netex_typeOfTravelDocument_support.xsd at 149:43]
MEDIA_TYPE_ENUMERATION_LICENCE_PLATE = 13;- See Also:
-
MEDIA_TYPE_ENUMERATION_CARD_VALUE
public static final int MEDIA_TYPE_ENUMERATION_CARD_VALUE[netex_part_3/part3_fares/netex_typeOfTravelDocument_support.xsd at 150:35]
MEDIA_TYPE_ENUMERATION_CARD = 8;- See Also:
-
MEDIA_TYPE_ENUMERATION_MMS_VALUE
public static final int MEDIA_TYPE_ENUMERATION_MMS_VALUE[netex_part_3/part3_fares/netex_typeOfTravelDocument_support.xsd at 151:34]
MEDIA_TYPE_ENUMERATION_MMS = 9;- See Also:
-
MEDIA_TYPE_ENUMERATION_SMS_VALUE
public static final int MEDIA_TYPE_ENUMERATION_SMS_VALUE[netex_part_3/part3_fares/netex_typeOfTravelDocument_support.xsd at 152:34]
MEDIA_TYPE_ENUMERATION_SMS = 10;- See Also:
-
MEDIA_TYPE_ENUMERATION_OTHER_VALUE
public static final int MEDIA_TYPE_ENUMERATION_OTHER_VALUE[netex_part_3/part3_fares/netex_typeOfTravelDocument_support.xsd at 153:36]
MEDIA_TYPE_ENUMERATION_OTHER = 11;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
Deprecated.Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
public static MediaTypeEnumeration valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
desc- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-