Interface Validate.BytesRulesOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Validate.BytesRules, Validate.BytesRules.Builder
Enclosing class:
Validate

public static interface Validate.BytesRulesOrBuilder
extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type Method Description
    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.
    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
    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.
    com.google.protobuf.ByteString getSuffix()
    Suffix specifies that this field must have the specified bytes at the end of the string.
    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.
    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.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • hasConst

      boolean hasConst()
       Const specifies that this field must be exactly the specified value
       
      optional bytes const = 1;
    • getConst

      com.google.protobuf.ByteString getConst()
       Const specifies that this field must be exactly the specified value
       
      optional bytes const = 1;
    • hasLen

      boolean hasLen()
       Len specifies that this field must be the specified number of bytes
       
      optional uint64 len = 13;
    • getLen

      long getLen()
       Len specifies that this field must be the specified number of bytes
       
      optional uint64 len = 13;
    • hasMinLen

      boolean hasMinLen()
       MinLen specifies that this field must be the specified number of bytes
       at a minimum
       
      optional uint64 min_len = 2;
    • getMinLen

      long getMinLen()
       MinLen specifies that this field must be the specified number of bytes
       at a minimum
       
      optional uint64 min_len = 2;
    • hasMaxLen

      boolean hasMaxLen()
       MaxLen specifies that this field must be the specified number of bytes
       at a maximum
       
      optional uint64 max_len = 3;
    • getMaxLen

      long getMaxLen()
       MaxLen specifies that this field must be the specified number of bytes
       at a maximum
       
      optional uint64 max_len = 3;
    • hasPattern

      boolean hasPattern()
       Pattern specifes that this field must match against the specified
       regular expression (RE2 syntax). The included expression should elide
       any delimiters.
       
      optional string pattern = 4;
    • getPattern

      String getPattern()
       Pattern specifes that this field must match against the specified
       regular expression (RE2 syntax). The included expression should elide
       any delimiters.
       
      optional string pattern = 4;
    • getPatternBytes

      com.google.protobuf.ByteString getPatternBytes()
       Pattern specifes that this field must match against the specified
       regular expression (RE2 syntax). The included expression should elide
       any delimiters.
       
      optional string pattern = 4;
    • hasPrefix

      boolean hasPrefix()
       Prefix specifies that this field must have the specified bytes at the
       beginning of the string.
       
      optional bytes prefix = 5;
    • getPrefix

      com.google.protobuf.ByteString getPrefix()
       Prefix specifies that this field must have the specified bytes at the
       beginning of the string.
       
      optional bytes prefix = 5;
    • hasSuffix

      boolean hasSuffix()
       Suffix specifies that this field must have the specified bytes at the
       end of the string.
       
      optional bytes suffix = 6;
    • getSuffix

      com.google.protobuf.ByteString getSuffix()
       Suffix specifies that this field must have the specified bytes at the
       end of the string.
       
      optional bytes suffix = 6;
    • hasContains

      boolean hasContains()
       Contains specifies that this field must have the specified bytes
       anywhere in the string.
       
      optional bytes contains = 7;
    • getContains

      com.google.protobuf.ByteString getContains()
       Contains specifies that this field must have the specified bytes
       anywhere in the string.
       
      optional bytes contains = 7;
    • getInList

      List<com.google.protobuf.ByteString> getInList()
       In specifies that this field must be equal to one of the specified
       values
       
      repeated bytes in = 8;
    • getInCount

      int getInCount()
       In specifies that this field must be equal to one of the specified
       values
       
      repeated bytes in = 8;
    • getIn

      com.google.protobuf.ByteString getIn​(int index)
       In specifies that this field must be equal to one of the specified
       values
       
      repeated bytes in = 8;
    • getNotInList

      List<com.google.protobuf.ByteString> getNotInList()
       NotIn specifies that this field cannot be equal to one of the specified
       values
       
      repeated bytes not_in = 9;
    • getNotInCount

      int getNotInCount()
       NotIn specifies that this field cannot be equal to one of the specified
       values
       
      repeated bytes not_in = 9;
    • getNotIn

      com.google.protobuf.ByteString getNotIn​(int index)
       NotIn specifies that this field cannot be equal to one of the specified
       values
       
      repeated bytes not_in = 9;
    • hasIp

      boolean hasIp()
       Ip specifies that the field must be a valid IP (v4 or v6) address in
       byte format
       
      optional bool ip = 10;
    • getIp

      boolean getIp()
       Ip specifies that the field must be a valid IP (v4 or v6) address in
       byte format
       
      optional bool ip = 10;
    • hasIpv4

      boolean hasIpv4()
       Ipv4 specifies that the field must be a valid IPv4 address in byte
       format
       
      optional bool ipv4 = 11;
    • getIpv4

      boolean getIpv4()
       Ipv4 specifies that the field must be a valid IPv4 address in byte
       format
       
      optional bool ipv4 = 11;
    • hasIpv6

      boolean hasIpv6()
       Ipv6 specifies that the field must be a valid IPv6 address in byte
       format
       
      optional bool ipv6 = 12;
    • getIpv6

      boolean getIpv6()
       Ipv6 specifies that the field must be a valid IPv6 address in byte
       format
       
      optional bool ipv6 = 12;
    • getWellKnownCase