/*
 * Copyright 2020 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/cloud/channel/v1/offers.proto

package com.google.cloud.channel.v1;

public interface CustomerConstraintsOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.CustomerConstraints)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * <pre>
   * Allowed geographical regions of the customer.
   * </pre>
   *
   * <code>repeated string allowed_regions = 1;</code>
   *
   * @return A list containing the allowedRegions.
   */
  java.util.List<java.lang.String> getAllowedRegionsList();
  /**
   *
   *
   * <pre>
   * Allowed geographical regions of the customer.
   * </pre>
   *
   * <code>repeated string allowed_regions = 1;</code>
   *
   * @return The count of allowedRegions.
   */
  int getAllowedRegionsCount();
  /**
   *
   *
   * <pre>
   * Allowed geographical regions of the customer.
   * </pre>
   *
   * <code>repeated string allowed_regions = 1;</code>
   *
   * @param index The index of the element to return.
   * @return The allowedRegions at the given index.
   */
  java.lang.String getAllowedRegions(int index);
  /**
   *
   *
   * <pre>
   * Allowed geographical regions of the customer.
   * </pre>
   *
   * <code>repeated string allowed_regions = 1;</code>
   *
   * @param index The index of the value to return.
   * @return The bytes of the allowedRegions at the given index.
   */
  com.google.protobuf.ByteString getAllowedRegionsBytes(int index);

  /**
   *
   *
   * <pre>
   * Allowed Customer Type.
   * </pre>
   *
   * <code>
   * repeated .google.cloud.channel.v1.CloudIdentityInfo.CustomerType allowed_customer_types = 2;
   * </code>
   *
   * @return A list containing the allowedCustomerTypes.
   */
  java.util.List<com.google.cloud.channel.v1.CloudIdentityInfo.CustomerType>
      getAllowedCustomerTypesList();
  /**
   *
   *
   * <pre>
   * Allowed Customer Type.
   * </pre>
   *
   * <code>
   * repeated .google.cloud.channel.v1.CloudIdentityInfo.CustomerType allowed_customer_types = 2;
   * </code>
   *
   * @return The count of allowedCustomerTypes.
   */
  int getAllowedCustomerTypesCount();
  /**
   *
   *
   * <pre>
   * Allowed Customer Type.
   * </pre>
   *
   * <code>
   * repeated .google.cloud.channel.v1.CloudIdentityInfo.CustomerType allowed_customer_types = 2;
   * </code>
   *
   * @param index The index of the element to return.
   * @return The allowedCustomerTypes at the given index.
   */
  com.google.cloud.channel.v1.CloudIdentityInfo.CustomerType getAllowedCustomerTypes(int index);
  /**
   *
   *
   * <pre>
   * Allowed Customer Type.
   * </pre>
   *
   * <code>
   * repeated .google.cloud.channel.v1.CloudIdentityInfo.CustomerType allowed_customer_types = 2;
   * </code>
   *
   * @return A list containing the enum numeric values on the wire for allowedCustomerTypes.
   */
  java.util.List<java.lang.Integer> getAllowedCustomerTypesValueList();
  /**
   *
   *
   * <pre>
   * Allowed Customer Type.
   * </pre>
   *
   * <code>
   * repeated .google.cloud.channel.v1.CloudIdentityInfo.CustomerType allowed_customer_types = 2;
   * </code>
   *
   * @param index The index of the value to return.
   * @return The enum numeric value on the wire of allowedCustomerTypes at the given index.
   */
  int getAllowedCustomerTypesValue(int index);

  /**
   *
   *
   * <pre>
   * Allowed Promotional Order Type. Present for Promotional offers.
   * </pre>
   *
   * <code>repeated .google.cloud.channel.v1.PromotionalOrderType promotional_order_types = 3;
   * </code>
   *
   * @return A list containing the promotionalOrderTypes.
   */
  java.util.List<com.google.cloud.channel.v1.PromotionalOrderType> getPromotionalOrderTypesList();
  /**
   *
   *
   * <pre>
   * Allowed Promotional Order Type. Present for Promotional offers.
   * </pre>
   *
   * <code>repeated .google.cloud.channel.v1.PromotionalOrderType promotional_order_types = 3;
   * </code>
   *
   * @return The count of promotionalOrderTypes.
   */
  int getPromotionalOrderTypesCount();
  /**
   *
   *
   * <pre>
   * Allowed Promotional Order Type. Present for Promotional offers.
   * </pre>
   *
   * <code>repeated .google.cloud.channel.v1.PromotionalOrderType promotional_order_types = 3;
   * </code>
   *
   * @param index The index of the element to return.
   * @return The promotionalOrderTypes at the given index.
   */
  com.google.cloud.channel.v1.PromotionalOrderType getPromotionalOrderTypes(int index);
  /**
   *
   *
   * <pre>
   * Allowed Promotional Order Type. Present for Promotional offers.
   * </pre>
   *
   * <code>repeated .google.cloud.channel.v1.PromotionalOrderType promotional_order_types = 3;
   * </code>
   *
   * @return A list containing the enum numeric values on the wire for promotionalOrderTypes.
   */
  java.util.List<java.lang.Integer> getPromotionalOrderTypesValueList();
  /**
   *
   *
   * <pre>
   * Allowed Promotional Order Type. Present for Promotional offers.
   * </pre>
   *
   * <code>repeated .google.cloud.channel.v1.PromotionalOrderType promotional_order_types = 3;
   * </code>
   *
   * @param index The index of the value to return.
   * @return The enum numeric value on the wire of promotionalOrderTypes at the given index.
   */
  int getPromotionalOrderTypesValue(int index);
}
