Class Validate.EnumRules

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.envoyproxy.pgv.validate.Validate.EnumRules
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Validate.EnumRulesOrBuilder, Serializable
Enclosing class:
Validate

public static final class Validate.EnumRules
extends com.google.protobuf.GeneratedMessageV3
implements Validate.EnumRulesOrBuilder
 EnumRules describe the constraints applied to enum values
 
Protobuf type validate.EnumRules
See Also:
Serialized Form
  • Nested Class Summary

    Nested Classes 
    Modifier and Type Class Description
    static class  Validate.EnumRules.Builder
    EnumRules describe the constraints applied to enum values

    Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3

    com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,​BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,​BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
  • Field Summary

    Fields 
    Modifier and Type Field Description
    static int CONST_FIELD_NUMBER  
    static int DEFINED_ONLY_FIELD_NUMBER  
    static int IN_FIELD_NUMBER  
    static int NOT_IN_FIELD_NUMBER  
    static com.google.protobuf.Parser<Validate.EnumRules> PARSER
    Deprecated.

    Fields inherited from class com.google.protobuf.GeneratedMessageV3

    alwaysUseFieldBuilders, unknownFields

    Fields inherited from class com.google.protobuf.AbstractMessage

    memoizedSize

    Fields inherited from class com.google.protobuf.AbstractMessageLite

    memoizedHashCode
  • Method Summary

    Modifier and Type Method Description
    boolean equals​(Object obj)  
    int getConst()
    Const specifies that this field must be exactly the specified value
    static Validate.EnumRules getDefaultInstance()  
    Validate.EnumRules getDefaultInstanceForType()  
    boolean getDefinedOnly()
    DefinedOnly specifies that this field must be only one of the defined values for this enum, failing on any undefined value.
    static com.google.protobuf.Descriptors.Descriptor getDescriptor()  
    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
    com.google.protobuf.Parser<Validate.EnumRules> getParserForType()  
    int getSerializedSize()  
    com.google.protobuf.UnknownFieldSet getUnknownFields()  
    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.
    int hashCode()  
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()  
    boolean isInitialized()  
    static Validate.EnumRules.Builder newBuilder()  
    static Validate.EnumRules.Builder newBuilder​(Validate.EnumRules prototype)  
    Validate.EnumRules.Builder newBuilderForType()  
    protected Validate.EnumRules.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)  
    static Validate.EnumRules parseDelimitedFrom​(InputStream input)  
    static Validate.EnumRules parseDelimitedFrom​(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
    static Validate.EnumRules parseFrom​(byte[] data)  
    static Validate.EnumRules parseFrom​(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
    static Validate.EnumRules parseFrom​(com.google.protobuf.ByteString data)  
    static Validate.EnumRules parseFrom​(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
    static Validate.EnumRules parseFrom​(com.google.protobuf.CodedInputStream input)  
    static Validate.EnumRules parseFrom​(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
    static Validate.EnumRules parseFrom​(InputStream input)  
    static Validate.EnumRules parseFrom​(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
    static com.google.protobuf.Parser<Validate.EnumRules> parser()  
    Validate.EnumRules.Builder toBuilder()  
    void writeTo​(com.google.protobuf.CodedOutputStream output)  

    Methods inherited from class com.google.protobuf.GeneratedMessageV3

    canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag

    Methods inherited from class com.google.protobuf.AbstractMessage

    findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite

    addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.MessageLite

    toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof