Class BytesValidation

java.lang.Object
io.envoyproxy.pgv.BytesValidation

public final class BytesValidation extends Object
BytesValidation implements PGV validators for protobuf Byte fields.
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    contains(String field, com.google.protobuf.ByteString value, byte[] contains)
     
    static void
    ip(String field, com.google.protobuf.ByteString value)
     
    static void
    ipv4(String field, com.google.protobuf.ByteString value)
     
    static void
    ipv6(String field, com.google.protobuf.ByteString value)
     
    static void
    length(String field, com.google.protobuf.ByteString value, int expected)
     
    static void
    maxLength(String field, com.google.protobuf.ByteString value, int expected)
     
    static void
    minLength(String field, com.google.protobuf.ByteString value, int expected)
     
    static void
    pattern(String field, com.google.protobuf.ByteString value, com.google.re2j.Pattern p)
     
    static void
    prefix(String field, com.google.protobuf.ByteString value, byte[] prefix)
     
    static void
    suffix(String field, com.google.protobuf.ByteString value, byte[] suffix)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait