Interface SendTestMessageRequestOrBuilder

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

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

    • getContactsList

      List<String> getContactsList()
       Required. The list of names of the contacts to send a test message to.
       Format: organizations/{organization_id}/contacts/{contact_id},
       folders/{folder_id}/contacts/{contact_id} or
       projects/{project_id}/contacts/{contact_id}
       
      repeated string contacts = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      A list containing the contacts.
    • getContactsCount

      int getContactsCount()
       Required. The list of names of the contacts to send a test message to.
       Format: organizations/{organization_id}/contacts/{contact_id},
       folders/{folder_id}/contacts/{contact_id} or
       projects/{project_id}/contacts/{contact_id}
       
      repeated string contacts = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The count of contacts.
    • getContacts

      String getContacts(int index)
       Required. The list of names of the contacts to send a test message to.
       Format: organizations/{organization_id}/contacts/{contact_id},
       folders/{folder_id}/contacts/{contact_id} or
       projects/{project_id}/contacts/{contact_id}
       
      repeated string contacts = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      index - The index of the element to return.
      Returns:
      The contacts at the given index.
    • getContactsBytes

      com.google.protobuf.ByteString getContactsBytes(int index)
       Required. The list of names of the contacts to send a test message to.
       Format: organizations/{organization_id}/contacts/{contact_id},
       folders/{folder_id}/contacts/{contact_id} or
       projects/{project_id}/contacts/{contact_id}
       
      repeated string contacts = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the contacts at the given index.
    • getResource

      String getResource()
       Required. The name of the resource to send the test message for. All
       contacts must either be set directly on this resource or inherited from
       another resource that is an ancestor of this one. Format:
       organizations/{organization_id}, folders/{folder_id} or
       projects/{project_id}
       
      string resource = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The resource.
    • getResourceBytes

      com.google.protobuf.ByteString getResourceBytes()
       Required. The name of the resource to send the test message for. All
       contacts must either be set directly on this resource or inherited from
       another resource that is an ancestor of this one. Format:
       organizations/{organization_id}, folders/{folder_id} or
       projects/{project_id}
       
      string resource = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The bytes for resource.
    • getNotificationCategoryValue

      int getNotificationCategoryValue()
       Required. The notification category to send the test message for. All
       contacts must be subscribed to this category.
       
      .google.cloud.essentialcontacts.v1.NotificationCategory notification_category = 3 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The enum numeric value on the wire for notificationCategory.
    • getNotificationCategory

      NotificationCategory getNotificationCategory()
       Required. The notification category to send the test message for. All
       contacts must be subscribed to this category.
       
      .google.cloud.essentialcontacts.v1.NotificationCategory notification_category = 3 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The notificationCategory.