Package com.google.cloud.retail.v2alpha
Interface AlertConfigOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AlertConfig,AlertConfig.Builder
@Generated
public interface AlertConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetAlertPolicies(int index) Alert policies for a customer.intAlert policies for a customer.Alert policies for a customer.getAlertPoliciesOrBuilder(int index) Alert policies for a customer.List<? extends AlertConfig.AlertPolicyOrBuilder>Alert policies for a customer.getName()Required.com.google.protobuf.ByteStringRequired.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getName
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:
- The name.
-
getNameBytes
com.google.protobuf.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:
- The bytes for name.
-
getAlertPoliciesList
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; -
getAlertPolicies
Alert policies for a customer. They must be unique by [AlertPolicy.alert_group]
repeated .google.cloud.retail.v2alpha.AlertConfig.AlertPolicy alert_policies = 2; -
getAlertPoliciesCount
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; -
getAlertPoliciesOrBuilderList
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; -
getAlertPoliciesOrBuilder
Alert policies for a customer. They must be unique by [AlertPolicy.alert_group]
repeated .google.cloud.retail.v2alpha.AlertConfig.AlertPolicy alert_policies = 2;
-