Interface NotificationOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Notification, Notification.Builder

@Generated public interface NotificationOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getName

      String getName()
       The resource name of the notification.
       Format:
       organizations/{organization}/locations/{location}/notifications/{notification}
       or projects/{project}/locations/{location}/notifications/{notification}.
       
      string name = 1;
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       The resource name of the notification.
       Format:
       organizations/{organization}/locations/{location}/notifications/{notification}
       or projects/{project}/locations/{location}/notifications/{notification}.
       
      string name = 1;
      Returns:
      The bytes for name.
    • hasSubject

      boolean hasSubject()
       The subject line of the notification.
       
      .google.cloud.advisorynotifications.v1.Subject subject = 2;
      Returns:
      Whether the subject field is set.
    • getSubject

      Subject getSubject()
       The subject line of the notification.
       
      .google.cloud.advisorynotifications.v1.Subject subject = 2;
      Returns:
      The subject.
    • getSubjectOrBuilder

      SubjectOrBuilder getSubjectOrBuilder()
       The subject line of the notification.
       
      .google.cloud.advisorynotifications.v1.Subject subject = 2;
    • getMessagesList

      List<Message> getMessagesList()
       A list of messages in the notification.
       
      repeated .google.cloud.advisorynotifications.v1.Message messages = 3;
    • getMessages

      Message getMessages(int index)
       A list of messages in the notification.
       
      repeated .google.cloud.advisorynotifications.v1.Message messages = 3;
    • getMessagesCount

      int getMessagesCount()
       A list of messages in the notification.
       
      repeated .google.cloud.advisorynotifications.v1.Message messages = 3;
    • getMessagesOrBuilderList

      List<? extends MessageOrBuilder> getMessagesOrBuilderList()
       A list of messages in the notification.
       
      repeated .google.cloud.advisorynotifications.v1.Message messages = 3;
    • getMessagesOrBuilder

      MessageOrBuilder getMessagesOrBuilder(int index)
       A list of messages in the notification.
       
      repeated .google.cloud.advisorynotifications.v1.Message messages = 3;
    • hasCreateTime

      boolean hasCreateTime()
       Output only. Time the notification was created.
       
      .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      com.google.protobuf.Timestamp getCreateTime()
       Output only. Time the notification was created.
       
      .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The createTime.
    • getCreateTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Output only. Time the notification was created.
       
      .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getNotificationTypeValue

      int getNotificationTypeValue()
       Type of notification
       
      .google.cloud.advisorynotifications.v1.NotificationType notification_type = 12;
      Returns:
      The enum numeric value on the wire for notificationType.
    • getNotificationType

      NotificationType getNotificationType()
       Type of notification
       
      .google.cloud.advisorynotifications.v1.NotificationType notification_type = 12;
      Returns:
      The notificationType.