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

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Class<?>[]
     
     
    Class<? extends jakarta.validation.Payload>[]
     
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    ValidPushMessage message.
  • Field Details

  • 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:
      {}