Class Validate

java.lang.Object
io.envoyproxy.pgv.validate.Validate

public final class Validate extends Object
  • Field Details

    • DISABLED_FIELD_NUMBER

      public static final int DISABLED_FIELD_NUMBER
      See Also:
    • disabled

      public static final com.google.protobuf.GeneratedMessage.GeneratedExtension<com.google.protobuf.DescriptorProtos.MessageOptions,Boolean> disabled
       Disabled nullifies any validation rules for this message, including any
       message fields associated with it that do support validation.
       
      extend .google.protobuf.MessageOptions { ... }
    • IGNORED_FIELD_NUMBER

      public static final int IGNORED_FIELD_NUMBER
      See Also:
    • ignored

      public static final com.google.protobuf.GeneratedMessage.GeneratedExtension<com.google.protobuf.DescriptorProtos.MessageOptions,Boolean> ignored
       Ignore skips generation of validation methods for this message.
       
      extend .google.protobuf.MessageOptions { ... }
    • REQUIRED_FIELD_NUMBER

      public static final int REQUIRED_FIELD_NUMBER
      See Also:
    • required

      public static final com.google.protobuf.GeneratedMessage.GeneratedExtension<com.google.protobuf.DescriptorProtos.OneofOptions,Boolean> required
       Required ensures that exactly one the field options in a oneof is set;
       validation fails if no fields in the oneof are set.
       
      extend .google.protobuf.OneofOptions { ... }
    • RULES_FIELD_NUMBER

      public static final int RULES_FIELD_NUMBER
      See Also:
    • rules

      public static final com.google.protobuf.GeneratedMessage.GeneratedExtension<com.google.protobuf.DescriptorProtos.FieldOptions,Validate.FieldRules> rules
       Rules specify the validations to be performed on this field. By default,
       no validation is performed against a field.
       
      extend .google.protobuf.FieldOptions { ... }
  • Method Details

    • registerAllExtensions

      public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry)
    • registerAllExtensions

      public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry)
    • getDescriptor

      public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor()