Interface AlertConfig.AlertPolicyOrBuilder (2.54.0)

public static interface AlertConfig.AlertPolicyOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAlertGroup()

public abstract String getAlertGroup()

The feature that provides alerting capability. Supported value:

  • search-data-quality for retail search customers.
  • conv-data-quality for retail conversation customers.

string alert_group = 1;

Returns
Type Description
String

The alertGroup.

getAlertGroupBytes()

public abstract ByteString getAlertGroupBytes()

The feature that provides alerting capability. Supported value:

  • search-data-quality for retail search customers.
  • conv-data-quality for retail conversation customers.

string alert_group = 1;

Returns
Type Description
ByteString

The bytes for alertGroup.

getEnrollStatus()

public abstract AlertConfig.AlertPolicy.EnrollStatus getEnrollStatus()

The enrollment status of a customer.

.google.cloud.retail.v2beta.AlertConfig.AlertPolicy.EnrollStatus enroll_status = 2;

Returns
Type Description
AlertConfig.AlertPolicy.EnrollStatus

The enrollStatus.

getEnrollStatusValue()

public abstract int getEnrollStatusValue()

The enrollment status of a customer.

.google.cloud.retail.v2beta.AlertConfig.AlertPolicy.EnrollStatus enroll_status = 2;

Returns
Type Description
int

The enum numeric value on the wire for enrollStatus.

getRecipients(int index)

public abstract AlertConfig.AlertPolicy.Recipient getRecipients(int index)

Recipients for the alert policy. One alert policy should not exceed 20 recipients.

repeated .google.cloud.retail.v2beta.AlertConfig.AlertPolicy.Recipient recipients = 3;

Parameter
Name Description
index int
Returns
Type Description
AlertConfig.AlertPolicy.Recipient

getRecipientsCount()

public abstract int getRecipientsCount()

Recipients for the alert policy. One alert policy should not exceed 20 recipients.

repeated .google.cloud.retail.v2beta.AlertConfig.AlertPolicy.Recipient recipients = 3;

Returns
Type Description
int

getRecipientsList()

public abstract List<AlertConfig.AlertPolicy.Recipient> getRecipientsList()

Recipients for the alert policy. One alert policy should not exceed 20 recipients.

repeated .google.cloud.retail.v2beta.AlertConfig.AlertPolicy.Recipient recipients = 3;

Returns
Type Description
List<Recipient>

getRecipientsOrBuilder(int index)

public abstract AlertConfig.AlertPolicy.RecipientOrBuilder getRecipientsOrBuilder(int index)

Recipients for the alert policy. One alert policy should not exceed 20 recipients.

repeated .google.cloud.retail.v2beta.AlertConfig.AlertPolicy.Recipient recipients = 3;

Parameter
Name Description
index int
Returns
Type Description
AlertConfig.AlertPolicy.RecipientOrBuilder

getRecipientsOrBuilderList()

public abstract List<? extends AlertConfig.AlertPolicy.RecipientOrBuilder> getRecipientsOrBuilderList()

Recipients for the alert policy. One alert policy should not exceed 20 recipients.

repeated .google.cloud.retail.v2beta.AlertConfig.AlertPolicy.Recipient recipients = 3;

Returns
Type Description
List<? extends com.google.cloud.retail.v2beta.AlertConfig.AlertPolicy.RecipientOrBuilder>