Package build.buf.validate
Class ValidateProto
- java.lang.Object
-
- build.buf.validate.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>fieldRules specify the validations to be performed on this field.static intFIELD_FIELD_NUMBERstatic com.google.protobuf.GeneratedMessage.GeneratedExtension<com.google.protobuf.DescriptorProtos.MessageOptions,MessageConstraints>messageRules specify the validations to be performed on this message.static intMESSAGE_FIELD_NUMBERstatic com.google.protobuf.GeneratedMessage.GeneratedExtension<com.google.protobuf.DescriptorProtos.OneofOptions,OneofConstraints>oneofRules specify the validations to be performed on this oneof.static intONEOF_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static com.google.protobuf.Descriptors.FileDescriptorgetDescriptor()static voidregisterAllExtensions(com.google.protobuf.ExtensionRegistry registry)static voidregisterAllExtensions(com.google.protobuf.ExtensionRegistryLite registry)
-
-
-
Field Detail
-
MESSAGE_FIELD_NUMBER
public static final int MESSAGE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
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:
- Constant Field Values
-
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:
- Constant Field Values
-
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()
-
-