Interface AlertConfigOrBuilder (2.51.0)

public interface AlertConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAlertPolicies(int index)

public abstract AlertConfig.AlertPolicy getAlertPolicies(int index)

Alert policies for a customer. They must be unique by [AlertPolicy.alert_group]

repeated .google.cloud.retail.v2alpha.AlertConfig.AlertPolicy alert_policies = 2;

Parameter
Name Description
index int
Returns
Type Description
AlertConfig.AlertPolicy

getAlertPoliciesCount()

public abstract int getAlertPoliciesCount()

Alert policies for a customer. They must be unique by [AlertPolicy.alert_group]

repeated .google.cloud.retail.v2alpha.AlertConfig.AlertPolicy alert_policies = 2;

Returns
Type Description
int

getAlertPoliciesList()

public abstract List<AlertConfig.AlertPolicy> getAlertPoliciesList()

Alert policies for a customer. They must be unique by [AlertPolicy.alert_group]

repeated .google.cloud.retail.v2alpha.AlertConfig.AlertPolicy alert_policies = 2;

Returns
Type Description
List<AlertPolicy>

getAlertPoliciesOrBuilder(int index)

public abstract AlertConfig.AlertPolicyOrBuilder getAlertPoliciesOrBuilder(int index)

Alert policies for a customer. They must be unique by [AlertPolicy.alert_group]

repeated .google.cloud.retail.v2alpha.AlertConfig.AlertPolicy alert_policies = 2;

Parameter
Name Description
index int
Returns
Type Description
AlertConfig.AlertPolicyOrBuilder

getAlertPoliciesOrBuilderList()

public abstract List<? extends AlertConfig.AlertPolicyOrBuilder> getAlertPoliciesOrBuilderList()

Alert policies for a customer. They must be unique by [AlertPolicy.alert_group]

repeated .google.cloud.retail.v2alpha.AlertConfig.AlertPolicy alert_policies = 2;

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

getName()

public abstract String getName()

Required. Immutable. The name of the AlertConfig singleton resource. Format: projects/*/alertConfig

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Required. Immutable. The name of the AlertConfig singleton resource. Format: projects/*/alertConfig

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
ByteString

The bytes for name.