public static enum WriteToken._Fields extends java.lang.Enum<WriteToken._Fields> implements org.apache.thrift.TFieldIdEnum
| Enum Constant and Description |
|---|
APP_NAME
Application name
|
ATTRIBUTES
Token attributes, placeholder to store K/V.
|
EXPIRY_TIMESTAMP
Timestamp of the token expiration
|
INDICES
indices to use
|
ISSUANCE_TIMESTAMP
delivery timestamp of the token
|
LABELS
Default labels.
|
LOOKUP
true if a lookup is necessary, default false
|
OWNER_ID
ident of the owner
|
PRODUCER_ID
ident of the producer
a producer inject data, but is not the data owner
|
TOKEN_TYPE
TokenType (Set to TokenType.WRITE)
|
| Modifier and Type | Method and Description |
|---|---|
static WriteToken._Fields |
findByName(java.lang.String name)
Find the _Fields constant that matches name, or null if its not found.
|
static WriteToken._Fields |
findByThriftId(int fieldId)
Find the _Fields constant that matches fieldId, or null if its not found.
|
static WriteToken._Fields |
findByThriftIdOrThrow(int fieldId)
Find the _Fields constant that matches fieldId, throwing an exception
if it is not found.
|
java.lang.String |
getFieldName() |
short |
getThriftFieldId() |
static WriteToken._Fields |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static WriteToken._Fields[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WriteToken._Fields ISSUANCE_TIMESTAMP
public static final WriteToken._Fields EXPIRY_TIMESTAMP
public static final WriteToken._Fields TOKEN_TYPE
TokenTypepublic static final WriteToken._Fields LOOKUP
public static final WriteToken._Fields PRODUCER_ID
public static final WriteToken._Fields OWNER_ID
public static final WriteToken._Fields APP_NAME
public static final WriteToken._Fields INDICES
public static final WriteToken._Fields LABELS
public static final WriteToken._Fields ATTRIBUTES
public static WriteToken._Fields[] values()
for (WriteToken._Fields c : WriteToken._Fields.values()) System.out.println(c);
public static WriteToken._Fields 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 static WriteToken._Fields findByThriftId(int fieldId)
public static WriteToken._Fields findByThriftIdOrThrow(int fieldId)
public static WriteToken._Fields findByName(java.lang.String name)
public short getThriftFieldId()
getThriftFieldId in interface org.apache.thrift.TFieldIdEnumpublic java.lang.String getFieldName()
getFieldName in interface org.apache.thrift.TFieldIdEnum