public static enum CollectionPolicyConfig.PayloadCase extends Enum<CollectionPolicyConfig.PayloadCase> implements com.google.protobuf.Internal.EnumLite
Enum Constant and Description |
---|
PAYLOAD_NOT_SET |
SIGNATURE_POLICY |
Modifier and Type | Method and Description |
---|---|
static CollectionPolicyConfig.PayloadCase |
forNumber(int value) |
int |
getNumber() |
static CollectionPolicyConfig.PayloadCase |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static CollectionPolicyConfig.PayloadCase |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CollectionPolicyConfig.PayloadCase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CollectionPolicyConfig.PayloadCase SIGNATURE_POLICY
public static final CollectionPolicyConfig.PayloadCase PAYLOAD_NOT_SET
public static CollectionPolicyConfig.PayloadCase[] values()
for (CollectionPolicyConfig.PayloadCase c : CollectionPolicyConfig.PayloadCase.values()) System.out.println(c);
public static CollectionPolicyConfig.PayloadCase valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null@Deprecated public static CollectionPolicyConfig.PayloadCase valueOf(int value)
forNumber(int)
instead.value
- The number of the enum to look for.public static CollectionPolicyConfig.PayloadCase forNumber(int value)
public int getNumber()
getNumber
in interface com.google.protobuf.Internal.EnumLite
Copyright © 2022. All rights reserved.