Class ValidateProto

java.lang.Object
build.buf.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.FieldOptions,FieldConstraints>
    Rules specify the validations to be performed on this field.
    static final int
     
    static final com.google.protobuf.GeneratedMessage.GeneratedExtension<com.google.protobuf.DescriptorProtos.MessageOptions,MessageConstraints>
    Rules specify the validations to be performed on this message.
    static final int
     
    static final com.google.protobuf.GeneratedMessage.GeneratedExtension<com.google.protobuf.DescriptorProtos.OneofOptions,OneofConstraints>
    Rules specify the validations to be performed on this oneof.
    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

    • MESSAGE_FIELD_NUMBER

      public static final int MESSAGE_FIELD_NUMBER
      See Also:
    • message

      public static final com.google.protobuf.GeneratedMessage.GeneratedExtension<com.google.protobuf.DescriptorProtos.MessageOptions,MessageConstraints> message
       Rules specify the validations to be performed on this message. By default,
       no validation is performed against a message.
       
      extend .google.protobuf.MessageOptions { ... }
    • ONEOF_FIELD_NUMBER

      public static final int ONEOF_FIELD_NUMBER
      See Also:
    • oneof

      public static final com.google.protobuf.GeneratedMessage.GeneratedExtension<com.google.protobuf.DescriptorProtos.OneofOptions,OneofConstraints> oneof
       Rules specify the validations to be performed on this oneof. By default,
       no validation is performed against a oneof.
       
      extend .google.protobuf.OneofOptions { ... }
    • FIELD_FIELD_NUMBER

      public static final int FIELD_FIELD_NUMBER
      See Also:
    • field

      public static final com.google.protobuf.GeneratedMessage.GeneratedExtension<com.google.protobuf.DescriptorProtos.FieldOptions,FieldConstraints> field
       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()