Enum ContentTypeProto.ContentType
java.lang.Object
java.lang.Enum<ContentTypeProto.ContentType>
com.yoti.api.client.spi.remote.proto.ContentTypeProto.ContentType
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<ContentTypeProto.ContentType>
- Enclosing class:
- ContentTypeProto
public static enum ContentTypeProto.ContentType
extends Enum<ContentTypeProto.ContentType>
implements com.google.protobuf.ProtocolMessageEnum
Protobuf enum
attrpubapi_v1.ContentType-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDATE = 3;INT = 7;JPEG = 2;JSON = 5;MULTI_VALUE = 6;PNG = 4;STRING = 1;UNDEFINED = 0; -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intDATE = 3;static final intINT = 7;static final intJPEG = 2;static final intJSON = 5;static final intMULTI_VALUE = 6;static final intPNG = 4;static final intSTRING = 1;static final intUNDEFINED = 0; -
Method Summary
Modifier and TypeMethodDescriptionstatic ContentTypeProto.ContentTypeforNumber(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<ContentTypeProto.ContentType>static ContentTypeProto.ContentTypevalueOf(int value) Deprecated.static ContentTypeProto.ContentTypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static ContentTypeProto.ContentTypeReturns the enum constant of this type with the specified name.static ContentTypeProto.ContentType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
UNDEFINED
UNDEFINED = 0; -
STRING
STRING = 1; -
JPEG
JPEG = 2; -
DATE
DATE = 3; -
PNG
PNG = 4; -
JSON
JSON = 5; -
MULTI_VALUE
MULTI_VALUE = 6; -
INT
INT = 7; -
UNRECOGNIZED
-
-
Field Details
-
UNDEFINED_VALUE
public static final int UNDEFINED_VALUEUNDEFINED = 0;- See Also:
-
STRING_VALUE
public static final int STRING_VALUESTRING = 1;- See Also:
-
JPEG_VALUE
public static final int JPEG_VALUEJPEG = 2;- See Also:
-
DATE_VALUE
public static final int DATE_VALUEDATE = 3;- See Also:
-
PNG_VALUE
public static final int PNG_VALUEPNG = 4;- See Also:
-
JSON_VALUE
public static final int JSON_VALUEJSON = 5;- See Also:
-
MULTI_VALUE_VALUE
public static final int MULTI_VALUE_VALUEMULTI_VALUE = 6;- See Also:
-
INT_VALUE
public static final int INT_VALUEINT = 7;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type 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 type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type 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
public static com.google.protobuf.Internal.EnumLiteMap<ContentTypeProto.ContentType> 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 ContentTypeProto.ContentType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-