Class ValidateProto


  • public final class ValidateProto
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static com.google.protobuf.GeneratedMessage.GeneratedExtension<com.google.protobuf.DescriptorProtos.FieldOptions,​FieldConstraints> field
      Rules specify the validations to be performed on this field.
      static int FIELD_FIELD_NUMBER  
      static com.google.protobuf.GeneratedMessage.GeneratedExtension<com.google.protobuf.DescriptorProtos.MessageOptions,​MessageConstraints> message
      Rules specify the validations to be performed on this message.
      static int MESSAGE_FIELD_NUMBER  
      static com.google.protobuf.GeneratedMessage.GeneratedExtension<com.google.protobuf.DescriptorProtos.OneofOptions,​OneofConstraints> oneof
      Rules specify the validations to be performed on this oneof.
      static int ONEOF_FIELD_NUMBER  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static com.google.protobuf.Descriptors.FileDescriptor getDescriptor()  
      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 Detail

      • 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

        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

        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 Detail

      • 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()