Interface CustomerConstraintsOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    CustomerConstraints, CustomerConstraints.Builder

    public interface CustomerConstraintsOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • getAllowedRegionsList

        List<String> getAllowedRegionsList()
         Allowed geographical regions of the customer.
         
        repeated string allowed_regions = 1;
        Returns:
        A list containing the allowedRegions.
      • getAllowedRegionsCount

        int getAllowedRegionsCount()
         Allowed geographical regions of the customer.
         
        repeated string allowed_regions = 1;
        Returns:
        The count of allowedRegions.
      • getAllowedRegions

        String getAllowedRegions​(int index)
         Allowed geographical regions of the customer.
         
        repeated string allowed_regions = 1;
        Parameters:
        index - The index of the element to return.
        Returns:
        The allowedRegions at the given index.
      • getAllowedRegionsBytes

        com.google.protobuf.ByteString getAllowedRegionsBytes​(int index)
         Allowed geographical regions of the customer.
         
        repeated string allowed_regions = 1;
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the allowedRegions at the given index.
      • getAllowedCustomerTypesList

        List<CloudIdentityInfo.CustomerType> getAllowedCustomerTypesList()
         Allowed Customer Type.
         
        repeated .google.cloud.channel.v1.CloudIdentityInfo.CustomerType allowed_customer_types = 2;
        Returns:
        A list containing the allowedCustomerTypes.
      • getAllowedCustomerTypesCount

        int getAllowedCustomerTypesCount()
         Allowed Customer Type.
         
        repeated .google.cloud.channel.v1.CloudIdentityInfo.CustomerType allowed_customer_types = 2;
        Returns:
        The count of allowedCustomerTypes.
      • getAllowedCustomerTypes

        CloudIdentityInfo.CustomerType getAllowedCustomerTypes​(int index)
         Allowed Customer Type.
         
        repeated .google.cloud.channel.v1.CloudIdentityInfo.CustomerType allowed_customer_types = 2;
        Parameters:
        index - The index of the element to return.
        Returns:
        The allowedCustomerTypes at the given index.
      • getAllowedCustomerTypesValueList

        List<Integer> getAllowedCustomerTypesValueList()
         Allowed Customer Type.
         
        repeated .google.cloud.channel.v1.CloudIdentityInfo.CustomerType allowed_customer_types = 2;
        Returns:
        A list containing the enum numeric values on the wire for allowedCustomerTypes.
      • getAllowedCustomerTypesValue

        int getAllowedCustomerTypesValue​(int index)
         Allowed Customer Type.
         
        repeated .google.cloud.channel.v1.CloudIdentityInfo.CustomerType allowed_customer_types = 2;
        Parameters:
        index - The index of the value to return.
        Returns:
        The enum numeric value on the wire of allowedCustomerTypes at the given index.
      • getPromotionalOrderTypesList

        List<PromotionalOrderType> getPromotionalOrderTypesList()
         Allowed Promotional Order Type. Present for Promotional offers.
         
        repeated .google.cloud.channel.v1.PromotionalOrderType promotional_order_types = 3;
        Returns:
        A list containing the promotionalOrderTypes.
      • getPromotionalOrderTypesCount

        int getPromotionalOrderTypesCount()
         Allowed Promotional Order Type. Present for Promotional offers.
         
        repeated .google.cloud.channel.v1.PromotionalOrderType promotional_order_types = 3;
        Returns:
        The count of promotionalOrderTypes.
      • getPromotionalOrderTypes

        PromotionalOrderType getPromotionalOrderTypes​(int index)
         Allowed Promotional Order Type. Present for Promotional offers.
         
        repeated .google.cloud.channel.v1.PromotionalOrderType promotional_order_types = 3;
        Parameters:
        index - The index of the element to return.
        Returns:
        The promotionalOrderTypes at the given index.
      • getPromotionalOrderTypesValueList

        List<Integer> getPromotionalOrderTypesValueList()
         Allowed Promotional Order Type. Present for Promotional offers.
         
        repeated .google.cloud.channel.v1.PromotionalOrderType promotional_order_types = 3;
        Returns:
        A list containing the enum numeric values on the wire for promotionalOrderTypes.
      • getPromotionalOrderTypesValue

        int getPromotionalOrderTypesValue​(int index)
         Allowed Promotional Order Type. Present for Promotional offers.
         
        repeated .google.cloud.channel.v1.PromotionalOrderType promotional_order_types = 3;
        Parameters:
        index - The index of the value to return.
        Returns:
        The enum numeric value on the wire of promotionalOrderTypes at the given index.