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

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

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

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

        public PlannedProductReachForecast.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<PlannedProductReachForecast.Builder>
      • addRepeatedField

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

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

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

        public java.lang.String getPlannableProductCode()
         Selected product for planning. The product codes returned are within the
         set of the ones returned by ListPlannableProducts when using the same
         location ID.
         
        string plannable_product_code = 1;
        Specified by:
        getPlannableProductCode in interface PlannedProductReachForecastOrBuilder
        Returns:
        The plannableProductCode.
      • getPlannableProductCodeBytes

        public com.google.protobuf.ByteString getPlannableProductCodeBytes()
         Selected product for planning. The product codes returned are within the
         set of the ones returned by ListPlannableProducts when using the same
         location ID.
         
        string plannable_product_code = 1;
        Specified by:
        getPlannableProductCodeBytes in interface PlannedProductReachForecastOrBuilder
        Returns:
        The bytes for plannableProductCode.
      • setPlannableProductCode

        public PlannedProductReachForecast.Builder setPlannableProductCode​(java.lang.String value)
         Selected product for planning. The product codes returned are within the
         set of the ones returned by ListPlannableProducts when using the same
         location ID.
         
        string plannable_product_code = 1;
        Parameters:
        value - The plannableProductCode to set.
        Returns:
        This builder for chaining.
      • clearPlannableProductCode

        public PlannedProductReachForecast.Builder clearPlannableProductCode()
         Selected product for planning. The product codes returned are within the
         set of the ones returned by ListPlannableProducts when using the same
         location ID.
         
        string plannable_product_code = 1;
        Returns:
        This builder for chaining.
      • setPlannableProductCodeBytes

        public PlannedProductReachForecast.Builder setPlannableProductCodeBytes​(com.google.protobuf.ByteString value)
         Selected product for planning. The product codes returned are within the
         set of the ones returned by ListPlannableProducts when using the same
         location ID.
         
        string plannable_product_code = 1;
        Parameters:
        value - The bytes for plannableProductCode to set.
        Returns:
        This builder for chaining.
      • getCostMicros

        public long getCostMicros()
         The cost in micros. This may differ from the product's input allocation
         if one or more planned products cannot fulfill the budget because of
         limited inventory.
         
        int64 cost_micros = 2;
        Specified by:
        getCostMicros in interface PlannedProductReachForecastOrBuilder
        Returns:
        The costMicros.
      • setCostMicros

        public PlannedProductReachForecast.Builder setCostMicros​(long value)
         The cost in micros. This may differ from the product's input allocation
         if one or more planned products cannot fulfill the budget because of
         limited inventory.
         
        int64 cost_micros = 2;
        Parameters:
        value - The costMicros to set.
        Returns:
        This builder for chaining.
      • clearCostMicros

        public PlannedProductReachForecast.Builder clearCostMicros()
         The cost in micros. This may differ from the product's input allocation
         if one or more planned products cannot fulfill the budget because of
         limited inventory.
         
        int64 cost_micros = 2;
        Returns:
        This builder for chaining.
      • hasPlannedProductForecast

        public boolean hasPlannedProductForecast()
         Forecasted traffic metrics for this product.
         
        .google.ads.googleads.v13.services.PlannedProductForecast planned_product_forecast = 3;
        Specified by:
        hasPlannedProductForecast in interface PlannedProductReachForecastOrBuilder
        Returns:
        Whether the plannedProductForecast field is set.
      • clearPlannedProductForecast

        public PlannedProductReachForecast.Builder clearPlannedProductForecast()
         Forecasted traffic metrics for this product.
         
        .google.ads.googleads.v13.services.PlannedProductForecast planned_product_forecast = 3;
      • getPlannedProductForecastBuilder

        public PlannedProductForecast.Builder getPlannedProductForecastBuilder()
         Forecasted traffic metrics for this product.
         
        .google.ads.googleads.v13.services.PlannedProductForecast planned_product_forecast = 3;
      • mergeUnknownFields

        public final PlannedProductReachForecast.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<PlannedProductReachForecast.Builder>