Class GenerateProductMixIdeasRequest.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<GenerateProductMixIdeasRequest.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<GenerateProductMixIdeasRequest.Builder>
      • getDefaultInstanceForType

        public GenerateProductMixIdeasRequest getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public GenerateProductMixIdeasRequest build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public GenerateProductMixIdeasRequest buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • setRepeatedField

        public GenerateProductMixIdeasRequest.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                       int index,
                                                                       java.lang.Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<GenerateProductMixIdeasRequest.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<GenerateProductMixIdeasRequest.Builder>
      • mergeFrom

        public GenerateProductMixIdeasRequest.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                                com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                         throws java.io.IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<GenerateProductMixIdeasRequest.Builder>
        Throws:
        java.io.IOException
      • getCustomerId

        public java.lang.String getCustomerId()
         Required. The ID of the customer.
         
        string customer_id = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getCustomerId in interface GenerateProductMixIdeasRequestOrBuilder
        Returns:
        The customerId.
      • getCustomerIdBytes

        public com.google.protobuf.ByteString getCustomerIdBytes()
         Required. The ID of the customer.
         
        string customer_id = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getCustomerIdBytes in interface GenerateProductMixIdeasRequestOrBuilder
        Returns:
        The bytes for customerId.
      • setCustomerId

        public GenerateProductMixIdeasRequest.Builder setCustomerId​(java.lang.String value)
         Required. The ID of the customer.
         
        string customer_id = 1 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The customerId to set.
        Returns:
        This builder for chaining.
      • clearCustomerId

        public GenerateProductMixIdeasRequest.Builder clearCustomerId()
         Required. The ID of the customer.
         
        string customer_id = 1 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • setCustomerIdBytes

        public GenerateProductMixIdeasRequest.Builder setCustomerIdBytes​(com.google.protobuf.ByteString value)
         Required. The ID of the customer.
         
        string customer_id = 1 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The bytes for customerId to set.
        Returns:
        This builder for chaining.
      • getPlannableLocationId

        public java.lang.String getPlannableLocationId()
         Required. The ID of the location, this is one of the ids returned by
         [ReachPlanService.ListPlannableLocations][google.ads.googleads.v10.services.ReachPlanService.ListPlannableLocations].
         
        string plannable_location_id = 6 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getPlannableLocationId in interface GenerateProductMixIdeasRequestOrBuilder
        Returns:
        The plannableLocationId.
      • getPlannableLocationIdBytes

        public com.google.protobuf.ByteString getPlannableLocationIdBytes()
         Required. The ID of the location, this is one of the ids returned by
         [ReachPlanService.ListPlannableLocations][google.ads.googleads.v10.services.ReachPlanService.ListPlannableLocations].
         
        string plannable_location_id = 6 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getPlannableLocationIdBytes in interface GenerateProductMixIdeasRequestOrBuilder
        Returns:
        The bytes for plannableLocationId.
      • setPlannableLocationId

        public GenerateProductMixIdeasRequest.Builder setPlannableLocationId​(java.lang.String value)
         Required. The ID of the location, this is one of the ids returned by
         [ReachPlanService.ListPlannableLocations][google.ads.googleads.v10.services.ReachPlanService.ListPlannableLocations].
         
        string plannable_location_id = 6 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The plannableLocationId to set.
        Returns:
        This builder for chaining.
      • clearPlannableLocationId

        public GenerateProductMixIdeasRequest.Builder clearPlannableLocationId()
         Required. The ID of the location, this is one of the ids returned by
         [ReachPlanService.ListPlannableLocations][google.ads.googleads.v10.services.ReachPlanService.ListPlannableLocations].
         
        string plannable_location_id = 6 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • setPlannableLocationIdBytes

        public GenerateProductMixIdeasRequest.Builder setPlannableLocationIdBytes​(com.google.protobuf.ByteString value)
         Required. The ID of the location, this is one of the ids returned by
         [ReachPlanService.ListPlannableLocations][google.ads.googleads.v10.services.ReachPlanService.ListPlannableLocations].
         
        string plannable_location_id = 6 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The bytes for plannableLocationId to set.
        Returns:
        This builder for chaining.
      • getCurrencyCode

        public java.lang.String getCurrencyCode()
         Required. Currency code.
         Three-character ISO 4217 currency code.
         
        string currency_code = 7 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getCurrencyCode in interface GenerateProductMixIdeasRequestOrBuilder
        Returns:
        The currencyCode.
      • getCurrencyCodeBytes

        public com.google.protobuf.ByteString getCurrencyCodeBytes()
         Required. Currency code.
         Three-character ISO 4217 currency code.
         
        string currency_code = 7 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getCurrencyCodeBytes in interface GenerateProductMixIdeasRequestOrBuilder
        Returns:
        The bytes for currencyCode.
      • setCurrencyCode

        public GenerateProductMixIdeasRequest.Builder setCurrencyCode​(java.lang.String value)
         Required. Currency code.
         Three-character ISO 4217 currency code.
         
        string currency_code = 7 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The currencyCode to set.
        Returns:
        This builder for chaining.
      • clearCurrencyCode

        public GenerateProductMixIdeasRequest.Builder clearCurrencyCode()
         Required. Currency code.
         Three-character ISO 4217 currency code.
         
        string currency_code = 7 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • setCurrencyCodeBytes

        public GenerateProductMixIdeasRequest.Builder setCurrencyCodeBytes​(com.google.protobuf.ByteString value)
         Required. Currency code.
         Three-character ISO 4217 currency code.
         
        string currency_code = 7 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The bytes for currencyCode to set.
        Returns:
        This builder for chaining.
      • getBudgetMicros

        public long getBudgetMicros()
         Required. Total budget.
         Amount in micros. One million is equivalent to one unit.
         
        int64 budget_micros = 8 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getBudgetMicros in interface GenerateProductMixIdeasRequestOrBuilder
        Returns:
        The budgetMicros.
      • setBudgetMicros

        public GenerateProductMixIdeasRequest.Builder setBudgetMicros​(long value)
         Required. Total budget.
         Amount in micros. One million is equivalent to one unit.
         
        int64 budget_micros = 8 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The budgetMicros to set.
        Returns:
        This builder for chaining.
      • clearBudgetMicros

        public GenerateProductMixIdeasRequest.Builder clearBudgetMicros()
         Required. Total budget.
         Amount in micros. One million is equivalent to one unit.
         
        int64 budget_micros = 8 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • hasPreferences

        public boolean hasPreferences()
         The preferences of the suggested product mix.
         An unset preference is interpreted as all possible values are allowed,
         unless explicitly specified.
         
        .google.ads.googleads.v10.services.Preferences preferences = 5;
        Specified by:
        hasPreferences in interface GenerateProductMixIdeasRequestOrBuilder
        Returns:
        Whether the preferences field is set.
      • getPreferences

        public Preferences getPreferences()
         The preferences of the suggested product mix.
         An unset preference is interpreted as all possible values are allowed,
         unless explicitly specified.
         
        .google.ads.googleads.v10.services.Preferences preferences = 5;
        Specified by:
        getPreferences in interface GenerateProductMixIdeasRequestOrBuilder
        Returns:
        The preferences.
      • setPreferences

        public GenerateProductMixIdeasRequest.Builder setPreferences​(Preferences value)
         The preferences of the suggested product mix.
         An unset preference is interpreted as all possible values are allowed,
         unless explicitly specified.
         
        .google.ads.googleads.v10.services.Preferences preferences = 5;
      • setPreferences

        public GenerateProductMixIdeasRequest.Builder setPreferences​(Preferences.Builder builderForValue)
         The preferences of the suggested product mix.
         An unset preference is interpreted as all possible values are allowed,
         unless explicitly specified.
         
        .google.ads.googleads.v10.services.Preferences preferences = 5;
      • mergePreferences

        public GenerateProductMixIdeasRequest.Builder mergePreferences​(Preferences value)
         The preferences of the suggested product mix.
         An unset preference is interpreted as all possible values are allowed,
         unless explicitly specified.
         
        .google.ads.googleads.v10.services.Preferences preferences = 5;
      • clearPreferences

        public GenerateProductMixIdeasRequest.Builder clearPreferences()
         The preferences of the suggested product mix.
         An unset preference is interpreted as all possible values are allowed,
         unless explicitly specified.
         
        .google.ads.googleads.v10.services.Preferences preferences = 5;
      • getPreferencesBuilder

        public Preferences.Builder getPreferencesBuilder()
         The preferences of the suggested product mix.
         An unset preference is interpreted as all possible values are allowed,
         unless explicitly specified.
         
        .google.ads.googleads.v10.services.Preferences preferences = 5;