public interface AlertPolicyConfigOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getAlertEnrollments(int index)
public abstract AlertPolicyConfig.AlertEnrollment getAlertEnrollments(int index)Optional. The enrollment states of each alert.
repeated .google.cloud.discoveryengine.v1.AlertPolicyConfig.AlertEnrollment alert_enrollments = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
AlertPolicyConfig.AlertEnrollment |
|
getAlertEnrollmentsCount()
public abstract int getAlertEnrollmentsCount()Optional. The enrollment states of each alert.
repeated .google.cloud.discoveryengine.v1.AlertPolicyConfig.AlertEnrollment alert_enrollments = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
|
getAlertEnrollmentsList()
public abstract List<AlertPolicyConfig.AlertEnrollment> getAlertEnrollmentsList()Optional. The enrollment states of each alert.
repeated .google.cloud.discoveryengine.v1.AlertPolicyConfig.AlertEnrollment alert_enrollments = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<AlertEnrollment> |
|
getAlertEnrollmentsOrBuilder(int index)
public abstract AlertPolicyConfig.AlertEnrollmentOrBuilder getAlertEnrollmentsOrBuilder(int index)Optional. The enrollment states of each alert.
repeated .google.cloud.discoveryengine.v1.AlertPolicyConfig.AlertEnrollment alert_enrollments = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
AlertPolicyConfig.AlertEnrollmentOrBuilder |
|
getAlertEnrollmentsOrBuilderList()
public abstract List<? extends AlertPolicyConfig.AlertEnrollmentOrBuilder> getAlertEnrollmentsOrBuilderList()Optional. The enrollment states of each alert.
repeated .google.cloud.discoveryengine.v1.AlertPolicyConfig.AlertEnrollment alert_enrollments = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.discoveryengine.v1.AlertPolicyConfig.AlertEnrollmentOrBuilder> |
|
getAlertPolicyName()
public abstract String getAlertPolicyName()Immutable. The fully qualified resource name of the AlertPolicy.
string alert_policy_name = 1 [(.google.api.field_behavior) = IMMUTABLE];
| Returns | |
|---|---|
| Type | Description |
String |
The alertPolicyName. |
getAlertPolicyNameBytes()
public abstract ByteString getAlertPolicyNameBytes()Immutable. The fully qualified resource name of the AlertPolicy.
string alert_policy_name = 1 [(.google.api.field_behavior) = IMMUTABLE];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for alertPolicyName. |