Package build.buf.validate
Class ValidateProto
java.lang.Object
build.buf.validate.ValidateProto
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.google.protobuf.GeneratedMessage.GeneratedExtension<com.google.protobuf.DescriptorProtos.FieldOptions, FieldConstraints> Rules specify the validations to be performed on this field.static final intstatic final com.google.protobuf.GeneratedMessage.GeneratedExtension<com.google.protobuf.DescriptorProtos.MessageOptions, MessageConstraints> Rules specify the validations to be performed on this message.static final intstatic 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 TypeMethodDescriptionstatic com.google.protobuf.Descriptors.FileDescriptorstatic voidregisterAllExtensions(com.google.protobuf.ExtensionRegistry registry) static voidregisterAllExtensions(com.google.protobuf.ExtensionRegistryLite registry)
-
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> messageRules 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> oneofRules 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> fieldRules 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()
-