Class GenerateProductMixIdeasResponse.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<GenerateProductMixIdeasResponse.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<GenerateProductMixIdeasResponse.Builder>
      • getDefaultInstanceForType

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

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

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

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

        public GenerateProductMixIdeasResponse.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<GenerateProductMixIdeasResponse.Builder>
        Throws:
        java.io.IOException
      • getProductAllocationCount

        public int getProductAllocationCount()
         A list of products (ad formats) and the associated budget allocation idea.
         
        repeated .google.ads.googleads.v10.services.ProductAllocation product_allocation = 1;
        Specified by:
        getProductAllocationCount in interface GenerateProductMixIdeasResponseOrBuilder
      • setProductAllocation

        public GenerateProductMixIdeasResponse.Builder setProductAllocation​(int index,
                                                                            ProductAllocation value)
         A list of products (ad formats) and the associated budget allocation idea.
         
        repeated .google.ads.googleads.v10.services.ProductAllocation product_allocation = 1;
      • addProductAllocation

        public GenerateProductMixIdeasResponse.Builder addProductAllocation​(ProductAllocation value)
         A list of products (ad formats) and the associated budget allocation idea.
         
        repeated .google.ads.googleads.v10.services.ProductAllocation product_allocation = 1;
      • addProductAllocation

        public GenerateProductMixIdeasResponse.Builder addProductAllocation​(int index,
                                                                            ProductAllocation value)
         A list of products (ad formats) and the associated budget allocation idea.
         
        repeated .google.ads.googleads.v10.services.ProductAllocation product_allocation = 1;
      • addAllProductAllocation

        public GenerateProductMixIdeasResponse.Builder addAllProductAllocation​(java.lang.Iterable<? extends ProductAllocation> values)
         A list of products (ad formats) and the associated budget allocation idea.
         
        repeated .google.ads.googleads.v10.services.ProductAllocation product_allocation = 1;
      • clearProductAllocation

        public GenerateProductMixIdeasResponse.Builder clearProductAllocation()
         A list of products (ad formats) and the associated budget allocation idea.
         
        repeated .google.ads.googleads.v10.services.ProductAllocation product_allocation = 1;
      • removeProductAllocation

        public GenerateProductMixIdeasResponse.Builder removeProductAllocation​(int index)
         A list of products (ad formats) and the associated budget allocation idea.
         
        repeated .google.ads.googleads.v10.services.ProductAllocation product_allocation = 1;
      • getProductAllocationBuilder

        public ProductAllocation.Builder getProductAllocationBuilder​(int index)
         A list of products (ad formats) and the associated budget allocation idea.
         
        repeated .google.ads.googleads.v10.services.ProductAllocation product_allocation = 1;
      • addProductAllocationBuilder

        public ProductAllocation.Builder addProductAllocationBuilder()
         A list of products (ad formats) and the associated budget allocation idea.
         
        repeated .google.ads.googleads.v10.services.ProductAllocation product_allocation = 1;
      • addProductAllocationBuilder

        public ProductAllocation.Builder addProductAllocationBuilder​(int index)
         A list of products (ad formats) and the associated budget allocation idea.
         
        repeated .google.ads.googleads.v10.services.ProductAllocation product_allocation = 1;
      • getProductAllocationBuilderList

        public java.util.List<ProductAllocation.Builder> getProductAllocationBuilderList()
         A list of products (ad formats) and the associated budget allocation idea.
         
        repeated .google.ads.googleads.v10.services.ProductAllocation product_allocation = 1;