Class Validate.BytesRules

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

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

    Nested Classes 
    Modifier and Type Class Description
    static class  Validate.BytesRules.Builder
    BytesRules describe the constraints applied to `bytes` values
    static class  Validate.BytesRules.WellKnownCase  

    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 CONTAINS_FIELD_NUMBER  
    static int IN_FIELD_NUMBER  
    static int IP_FIELD_NUMBER  
    static int IPV4_FIELD_NUMBER  
    static int IPV6_FIELD_NUMBER  
    static int LEN_FIELD_NUMBER  
    static int MAX_LEN_FIELD_NUMBER  
    static int MIN_LEN_FIELD_NUMBER  
    static int NOT_IN_FIELD_NUMBER  
    static com.google.protobuf.Parser<Validate.BytesRules> PARSER
    Deprecated.
    static int PATTERN_FIELD_NUMBER  
    static int PREFIX_FIELD_NUMBER  
    static int SUFFIX_FIELD_NUMBER  

    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)  
    com.google.protobuf.ByteString getConst()
    Const specifies that this field must be exactly the specified value
    com.google.protobuf.ByteString getContains()
    Contains specifies that this field must have the specified bytes anywhere in the string.
    static Validate.BytesRules getDefaultInstance()  
    Validate.BytesRules getDefaultInstanceForType()  
    static com.google.protobuf.Descriptors.Descriptor getDescriptor()  
    com.google.protobuf.ByteString 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<com.google.protobuf.ByteString> getInList()
    In specifies that this field must be equal to one of the specified values
    boolean getIp()
    Ip specifies that the field must be a valid IP (v4 or v6) address in byte format
    boolean getIpv4()
    Ipv4 specifies that the field must be a valid IPv4 address in byte format
    boolean getIpv6()
    Ipv6 specifies that the field must be a valid IPv6 address in byte format
    long getLen()
    Len specifies that this field must be the specified number of bytes
    long getMaxLen()
    MaxLen specifies that this field must be the specified number of bytes at a maximum
    long getMinLen()
    MinLen specifies that this field must be the specified number of bytes at a minimum
    com.google.protobuf.ByteString 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<com.google.protobuf.ByteString> getNotInList()
    NotIn specifies that this field cannot be equal to one of the specified values
    com.google.protobuf.Parser<Validate.BytesRules> getParserForType()  
    String getPattern()
    Pattern specifes that this field must match against the specified regular expression (RE2 syntax).
    com.google.protobuf.ByteString getPatternBytes()
    Pattern specifes that this field must match against the specified regular expression (RE2 syntax).
    com.google.protobuf.ByteString getPrefix()
    Prefix specifies that this field must have the specified bytes at the beginning of the string.
    int getSerializedSize()  
    com.google.protobuf.ByteString getSuffix()
    Suffix specifies that this field must have the specified bytes at the end of the string.
    com.google.protobuf.UnknownFieldSet getUnknownFields()  
    Validate.BytesRules.WellKnownCase getWellKnownCase()  
    boolean hasConst()
    Const specifies that this field must be exactly the specified value
    boolean hasContains()
    Contains specifies that this field must have the specified bytes anywhere in the string.
    int hashCode()  
    boolean hasIp()
    Ip specifies that the field must be a valid IP (v4 or v6) address in byte format
    boolean hasIpv4()
    Ipv4 specifies that the field must be a valid IPv4 address in byte format
    boolean hasIpv6()
    Ipv6 specifies that the field must be a valid IPv6 address in byte format
    boolean hasLen()
    Len specifies that this field must be the specified number of bytes
    boolean hasMaxLen()
    MaxLen specifies that this field must be the specified number of bytes at a maximum
    boolean hasMinLen()
    MinLen specifies that this field must be the specified number of bytes at a minimum
    boolean hasPattern()
    Pattern specifes that this field must match against the specified regular expression (RE2 syntax).
    boolean hasPrefix()
    Prefix specifies that this field must have the specified bytes at the beginning of the string.
    boolean hasSuffix()
    Suffix specifies that this field must have the specified bytes at the end of the string.
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()  
    boolean isInitialized()  
    static Validate.BytesRules.Builder newBuilder()  
    static Validate.BytesRules.Builder newBuilder​(Validate.BytesRules prototype)  
    Validate.BytesRules.Builder newBuilderForType()  
    protected Validate.BytesRules.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)  
    static Validate.BytesRules parseDelimitedFrom​(InputStream input)  
    static Validate.BytesRules parseDelimitedFrom​(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
    static Validate.BytesRules parseFrom​(byte[] data)  
    static Validate.BytesRules parseFrom​(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
    static Validate.BytesRules parseFrom​(com.google.protobuf.ByteString data)  
    static Validate.BytesRules parseFrom​(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
    static Validate.BytesRules parseFrom​(com.google.protobuf.CodedInputStream input)  
    static Validate.BytesRules parseFrom​(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
    static Validate.BytesRules parseFrom​(InputStream input)  
    static Validate.BytesRules parseFrom​(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
    static com.google.protobuf.Parser<Validate.BytesRules> parser()  
    Validate.BytesRules.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