Interface AlertConfig.AlertPolicyOrBuilder (2.50.0)

public static interface AlertConfig.AlertPolicyOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAlertGroup()

public abstract String getAlertGroup()

The feature that provides alerting capability. Supported value is only search-data-quality for now.

string alert_group = 1;

Returns
Type Description
String

The alertGroup.

getAlertGroupBytes()

public abstract ByteString getAlertGroupBytes()

The feature that provides alerting capability. Supported value is only search-data-quality for now.

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.v2alpha.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.v2alpha.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.v2alpha.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.v2alpha.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.v2alpha.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.v2alpha.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.v2alpha.AlertConfig.AlertPolicy.Recipient recipients = 3;

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