Package com.validate

Class ValidateProto

java.lang.Object
com.validate.ValidateProto

public final class ValidateProto extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final com.google.protobuf.GeneratedMessage.GeneratedExtension<com.google.protobuf.DescriptorProtos.MessageOptions,Boolean>
    Disabled nullifies any validation rules for this message, including any message fields associated with it that do support validation.
    static final int
     
    static final com.google.protobuf.GeneratedMessage.GeneratedExtension<com.google.protobuf.DescriptorProtos.MessageOptions,Boolean>
    Ignore skips generation of validation methods for this message.
    static final int
     
    static final com.google.protobuf.GeneratedMessage.GeneratedExtension<com.google.protobuf.DescriptorProtos.OneofOptions,Boolean>
    Required ensures that exactly one the field options in a oneof is set; validation fails if no fields in the oneof are set.
    static final int
     
    static final com.google.protobuf.GeneratedMessage.GeneratedExtension<com.google.protobuf.DescriptorProtos.FieldOptions,FieldRules>
    Rules specify the validations to be performed on this field.
    static final int
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static com.google.protobuf.Descriptors.FileDescriptor
     
    static void
    registerAllExtensions(com.google.protobuf.ExtensionRegistry registry)
     
    static void
    registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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,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()