public static interface Validate.EnumRulesOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
int |
getConst()
Const specifies that this field must be exactly the specified value
|
boolean |
getDefinedOnly()
DefinedOnly specifies that this field must be only one of the defined
values for this enum, failing on any undefined value.
|
int |
getIn(int index)
In specifies that this field must be equal to one of the specified
values
|
int |
getInCount()
In specifies that this field must be equal to one of the specified
values
|
List<Integer> |
getInList()
In specifies that this field must be equal to one of the specified
values
|
int |
getNotIn(int index)
NotIn specifies that this field cannot be equal to one of the specified
values
|
int |
getNotInCount()
NotIn specifies that this field cannot be equal to one of the specified
values
|
List<Integer> |
getNotInList()
NotIn specifies that this field cannot be equal to one of the specified
values
|
boolean |
hasConst()
Const specifies that this field must be exactly the specified value
|
boolean |
hasDefinedOnly()
DefinedOnly specifies that this field must be only one of the defined
values for this enum, failing on any undefined value.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofboolean hasConst()
Const specifies that this field must be exactly the specified value
optional int32 const = 1;int getConst()
Const specifies that this field must be exactly the specified value
optional int32 const = 1;boolean hasDefinedOnly()
DefinedOnly specifies that this field must be only one of the defined values for this enum, failing on any undefined value.
optional bool defined_only = 2;boolean getDefinedOnly()
DefinedOnly specifies that this field must be only one of the defined values for this enum, failing on any undefined value.
optional bool defined_only = 2;List<Integer> getInList()
In specifies that this field must be equal to one of the specified values
repeated int32 in = 3;int getInCount()
In specifies that this field must be equal to one of the specified values
repeated int32 in = 3;int getIn(int index)
In specifies that this field must be equal to one of the specified values
repeated int32 in = 3;List<Integer> getNotInList()
NotIn specifies that this field cannot be equal to one of the specified values
repeated int32 not_in = 4;int getNotInCount()
NotIn specifies that this field cannot be equal to one of the specified values
repeated int32 not_in = 4;int getNotIn(int index)
NotIn specifies that this field cannot be equal to one of the specified values
repeated int32 not_in = 4;Copyright © 2019 WSO2. All rights reserved.