Enum Class GenderEnumeration

java.lang.Object
java.lang.Enum<GenderEnumeration>
uk.org.netex.www.netex.GenderEnumeration
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<GenderEnumeration>, Constable

@Generated public enum GenderEnumeration extends Enum<GenderEnumeration> implements com.google.protobuf.ProtocolMessageEnum
 Allowed values for Gender.  [netex_framework/netex_reusableComponents/netex_facility_support.xsd at 367:43]
 
Protobuf enum uk.org.netex.www.netex.GenderEnumeration
  • Enum Constant Details

    • GENDER_ENUMERATION_UNSPECIFIED

      public static final GenderEnumeration GENDER_ENUMERATION_UNSPECIFIED
       Default
       
      GENDER_ENUMERATION_UNSPECIFIED = 0;
    • GENDER_ENUMERATION_FEMALE

      public static final GenderEnumeration GENDER_ENUMERATION_FEMALE
       [netex_framework/netex_reusableComponents/netex_facility_support.xsd at 372:37]
       
      GENDER_ENUMERATION_FEMALE = 1;
    • GENDER_ENUMERATION_MALE

      public static final GenderEnumeration GENDER_ENUMERATION_MALE
       [netex_framework/netex_reusableComponents/netex_facility_support.xsd at 373:35]
       
      GENDER_ENUMERATION_MALE = 2;
    • GENDER_ENUMERATION_UNSPECIFIED_ENUM_VALUE

      public static final GenderEnumeration GENDER_ENUMERATION_UNSPECIFIED_ENUM_VALUE
       [netex_framework/netex_reusableComponents/netex_facility_support.xsd at 374:42]
       
      GENDER_ENUMERATION_UNSPECIFIED_ENUM_VALUE = 3;
    • UNRECOGNIZED

      public static final GenderEnumeration UNRECOGNIZED
  • Field Details

    • GENDER_ENUMERATION_UNSPECIFIED_VALUE

      public static final int GENDER_ENUMERATION_UNSPECIFIED_VALUE
       Default
       
      GENDER_ENUMERATION_UNSPECIFIED = 0;
      See Also:
    • GENDER_ENUMERATION_FEMALE_VALUE

      public static final int GENDER_ENUMERATION_FEMALE_VALUE
       [netex_framework/netex_reusableComponents/netex_facility_support.xsd at 372:37]
       
      GENDER_ENUMERATION_FEMALE = 1;
      See Also:
    • GENDER_ENUMERATION_MALE_VALUE

      public static final int GENDER_ENUMERATION_MALE_VALUE
       [netex_framework/netex_reusableComponents/netex_facility_support.xsd at 373:35]
       
      GENDER_ENUMERATION_MALE = 2;
      See Also:
    • GENDER_ENUMERATION_UNSPECIFIED_ENUM_VALUE_VALUE

      public static final int GENDER_ENUMERATION_UNSPECIFIED_ENUM_VALUE_VALUE
       [netex_framework/netex_reusableComponents/netex_facility_support.xsd at 374:42]
       
      GENDER_ENUMERATION_UNSPECIFIED_ENUM_VALUE = 3;
      See Also:
  • Method Details

    • values

      public static GenderEnumeration[] 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

      public static GenderEnumeration valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getNumber

      public final int getNumber()
      Specified by:
      getNumber in interface com.google.protobuf.Internal.EnumLite
      Specified by:
      getNumber in interface com.google.protobuf.ProtocolMessageEnum
    • valueOf

      @Deprecated public static GenderEnumeration valueOf(int value)
      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 name
      NullPointerException - if the argument is null
    • forNumber

      public static GenderEnumeration forNumber(int value)
      Parameters:
      value - The numeric wire value of the corresponding enum entry.
      Returns:
      The enum associated with the given numeric wire value.
    • internalGetValueMap

      public static com.google.protobuf.Internal.EnumLiteMap<GenderEnumeration> internalGetValueMap()
    • getValueDescriptor

      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
      Specified by:
      getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptorForType

      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptor

      public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
    • valueOf

      public static GenderEnumeration 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 name
      NullPointerException - if the argument is null