Annotation Interface ValidPushMessage
@Constraint(validatedBy=PushMessageValidator.class)
@Retention(RUNTIME)
@Target(TYPE)
public @interface ValidPushMessage
A class-level validation constraint for PubSub push messages.
- Since:
- 5.4.0
- Author:
- Jeremy Grelle
-
Optional Element Summary
-
Field Summary
-
Field Details
-
MESSAGE
ValidPushMessage message.- See Also:
-
-
Element Details
-
message
String message- Returns:
- message The error message
- Default:
- "{io.micronaut.gcp.pubsub.validation.ValidPushMessage.message}"
-
groups
Class<?>[] groups- Returns:
- Groups to control the order in which constraints are evaluated, or to perform validation of the partial state of a JavaBean.
- Default:
- {}
-
payload
Class<? extends jakarta.validation.Payload>[] payload- Returns:
- Payloads used by validation clients to associate some metadata information with a given constraint declaration
- Default:
- {}
-