@Generated(value="Generated by the protocol buffer compiler") public enum CreditCardNetwork extends java.lang.Enum<CreditCardNetwork> implements com.google.protobuf.ProtocolMessageEnum
Enum Constant and Description |
---|
AMERICAN_EXPRESS |
CREDIT_CARD_NETWORK_TYPE_UNSPECIFIED |
DINERS |
DISCOVER |
ELO |
GENERIC |
JCB |
MASTER_CARD |
MIR |
TROY |
UNION_PAY |
UNRECOGNIZED |
VISA |
Modifier and Type | Field and Description |
---|---|
static int |
AMERICAN_EXPRESS_VALUE |
static int |
CREDIT_CARD_NETWORK_TYPE_UNSPECIFIED_VALUE |
static int |
DINERS_VALUE |
static int |
DISCOVER_VALUE |
static int |
ELO_VALUE |
static int |
GENERIC_VALUE |
static int |
JCB_VALUE |
static int |
MASTER_CARD_VALUE |
static int |
MIR_VALUE |
static int |
TROY_VALUE |
static int |
UNION_PAY_VALUE |
static int |
VISA_VALUE |
Modifier and Type | Method and Description |
---|---|
static CreditCardNetwork |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<CreditCardNetwork> |
internalGetValueMap() |
static CreditCardNetwork |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static CreditCardNetwork |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static CreditCardNetwork |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CreditCardNetwork[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CreditCardNetwork CREDIT_CARD_NETWORK_TYPE_UNSPECIFIED
public static final CreditCardNetwork AMERICAN_EXPRESS
public static final CreditCardNetwork DINERS
public static final CreditCardNetwork DISCOVER
public static final CreditCardNetwork ELO
public static final CreditCardNetwork GENERIC
public static final CreditCardNetwork JCB
public static final CreditCardNetwork MASTER_CARD
public static final CreditCardNetwork MIR
public static final CreditCardNetwork TROY
public static final CreditCardNetwork UNION_PAY
public static final CreditCardNetwork VISA
public static final CreditCardNetwork UNRECOGNIZED
public static final int CREDIT_CARD_NETWORK_TYPE_UNSPECIFIED_VALUE
public static final int AMERICAN_EXPRESS_VALUE
public static final int DINERS_VALUE
public static final int DISCOVER_VALUE
public static final int ELO_VALUE
public static final int GENERIC_VALUE
public static final int JCB_VALUE
public static final int MASTER_CARD_VALUE
public static final int MIR_VALUE
public static final int TROY_VALUE
public static final int UNION_PAY_VALUE
public static final int VISA_VALUE
public static CreditCardNetwork[] values()
for (CreditCardNetwork c : CreditCardNetwork.values()) System.out.println(c);
public static CreditCardNetwork valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic final int getNumber()
getNumber
in interface com.google.protobuf.Internal.EnumLite
getNumber
in interface com.google.protobuf.ProtocolMessageEnum
@Deprecated public static CreditCardNetwork valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static CreditCardNetwork forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<CreditCardNetwork> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface com.google.protobuf.ProtocolMessageEnum
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.ProtocolMessageEnum
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static CreditCardNetwork valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)