Interface SuggestBrandsRequestOrBuilder

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

    public interface SuggestBrandsRequestOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String getBrandPrefix()
      Required.
      com.google.protobuf.ByteString getBrandPrefixBytes()
      Required.
      java.lang.String getCustomerId()
      Required.
      com.google.protobuf.ByteString getCustomerIdBytes()
      Required.
      java.lang.String getSelectedBrands​(int index)
      Optional.
      com.google.protobuf.ByteString getSelectedBrandsBytes​(int index)
      Optional.
      int getSelectedBrandsCount()
      Optional.
      java.util.List<java.lang.String> getSelectedBrandsList()
      Optional.
      boolean hasBrandPrefix()
      Required.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • getCustomerId

        java.lang.String getCustomerId()
         Required. The ID of the customer onto which to apply the brand suggestion
         operation.
         
        string customer_id = 1 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The customerId.
      • getCustomerIdBytes

        com.google.protobuf.ByteString getCustomerIdBytes()
         Required. The ID of the customer onto which to apply the brand suggestion
         operation.
         
        string customer_id = 1 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The bytes for customerId.
      • hasBrandPrefix

        boolean hasBrandPrefix()
         Required. The prefix of a brand name.
         
        optional string brand_prefix = 2 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        Whether the brandPrefix field is set.
      • getBrandPrefix

        java.lang.String getBrandPrefix()
         Required. The prefix of a brand name.
         
        optional string brand_prefix = 2 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The brandPrefix.
      • getBrandPrefixBytes

        com.google.protobuf.ByteString getBrandPrefixBytes()
         Required. The prefix of a brand name.
         
        optional string brand_prefix = 2 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The bytes for brandPrefix.
      • getSelectedBrandsList

        java.util.List<java.lang.String> getSelectedBrandsList()
         Optional. Ids of the brands already selected by advertisers. They will be
         excluded in response. These are expected to be brand ids not brand names.
         
        repeated string selected_brands = 3 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        A list containing the selectedBrands.
      • getSelectedBrandsCount

        int getSelectedBrandsCount()
         Optional. Ids of the brands already selected by advertisers. They will be
         excluded in response. These are expected to be brand ids not brand names.
         
        repeated string selected_brands = 3 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        The count of selectedBrands.
      • getSelectedBrands

        java.lang.String getSelectedBrands​(int index)
         Optional. Ids of the brands already selected by advertisers. They will be
         excluded in response. These are expected to be brand ids not brand names.
         
        repeated string selected_brands = 3 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        index - The index of the element to return.
        Returns:
        The selectedBrands at the given index.
      • getSelectedBrandsBytes

        com.google.protobuf.ByteString getSelectedBrandsBytes​(int index)
         Optional. Ids of the brands already selected by advertisers. They will be
         excluded in response. These are expected to be brand ids not brand names.
         
        repeated string selected_brands = 3 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the selectedBrands at the given index.