public static enum ImplicitMetaPolicy.Rule extends Enum<ImplicitMetaPolicy.Rule> implements com.google.protobuf.ProtocolMessageEnum
common.ImplicitMetaPolicy.Rule
Enum Constant and Description |
---|
ALL
Requires all of the sub-policies be satisfied
|
ANY
Requires any of the sub-policies be satisfied, if no sub-policies exist, always returns true
|
MAJORITY
Requires a strict majority (greater than half) of the sub-policies be satisfied
|
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
ALL_VALUE
Requires all of the sub-policies be satisfied
|
static int |
ANY_VALUE
Requires any of the sub-policies be satisfied, if no sub-policies exist, always returns true
|
static int |
MAJORITY_VALUE
Requires a strict majority (greater than half) of the sub-policies be satisfied
|
Modifier and Type | Method and Description |
---|---|
static ImplicitMetaPolicy.Rule |
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<ImplicitMetaPolicy.Rule> |
internalGetValueMap() |
static ImplicitMetaPolicy.Rule |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static ImplicitMetaPolicy.Rule |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static ImplicitMetaPolicy.Rule |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ImplicitMetaPolicy.Rule[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ImplicitMetaPolicy.Rule ANY
Requires any of the sub-policies be satisfied, if no sub-policies exist, always returns true
ANY = 0;
public static final ImplicitMetaPolicy.Rule ALL
Requires all of the sub-policies be satisfied
ALL = 1;
public static final ImplicitMetaPolicy.Rule MAJORITY
Requires a strict majority (greater than half) of the sub-policies be satisfied
MAJORITY = 2;
public static final ImplicitMetaPolicy.Rule UNRECOGNIZED
public static final int ANY_VALUE
Requires any of the sub-policies be satisfied, if no sub-policies exist, always returns true
ANY = 0;
public static final int ALL_VALUE
Requires all of the sub-policies be satisfied
ALL = 1;
public static final int MAJORITY_VALUE
Requires a strict majority (greater than half) of the sub-policies be satisfied
MAJORITY = 2;
public static ImplicitMetaPolicy.Rule[] values()
for (ImplicitMetaPolicy.Rule c : ImplicitMetaPolicy.Rule.values()) System.out.println(c);
public static ImplicitMetaPolicy.Rule 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 nullpublic final int getNumber()
getNumber
in interface com.google.protobuf.Internal.EnumLite
getNumber
in interface com.google.protobuf.ProtocolMessageEnum
@Deprecated public static ImplicitMetaPolicy.Rule valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static ImplicitMetaPolicy.Rule forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<ImplicitMetaPolicy.Rule> 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 ImplicitMetaPolicy.Rule valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2022. All rights reserved.