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 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

      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;
    • 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

      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;