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

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

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

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

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

        public KeywordPlanCampaignForecast.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<KeywordPlanCampaignForecast.Builder>
      • isInitialized

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

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

        public boolean hasKeywordPlanCampaign()
         The resource name of the Keyword Plan campaign related to the forecast.
         `customers/{customer_id}/keywordPlanCampaigns/{keyword_plan_campaign_id}`
         
        optional string keyword_plan_campaign = 3;
        Specified by:
        hasKeywordPlanCampaign in interface KeywordPlanCampaignForecastOrBuilder
        Returns:
        Whether the keywordPlanCampaign field is set.
      • getKeywordPlanCampaign

        public java.lang.String getKeywordPlanCampaign()
         The resource name of the Keyword Plan campaign related to the forecast.
         `customers/{customer_id}/keywordPlanCampaigns/{keyword_plan_campaign_id}`
         
        optional string keyword_plan_campaign = 3;
        Specified by:
        getKeywordPlanCampaign in interface KeywordPlanCampaignForecastOrBuilder
        Returns:
        The keywordPlanCampaign.
      • getKeywordPlanCampaignBytes

        public com.google.protobuf.ByteString getKeywordPlanCampaignBytes()
         The resource name of the Keyword Plan campaign related to the forecast.
         `customers/{customer_id}/keywordPlanCampaigns/{keyword_plan_campaign_id}`
         
        optional string keyword_plan_campaign = 3;
        Specified by:
        getKeywordPlanCampaignBytes in interface KeywordPlanCampaignForecastOrBuilder
        Returns:
        The bytes for keywordPlanCampaign.
      • setKeywordPlanCampaign

        public KeywordPlanCampaignForecast.Builder setKeywordPlanCampaign​(java.lang.String value)
         The resource name of the Keyword Plan campaign related to the forecast.
         `customers/{customer_id}/keywordPlanCampaigns/{keyword_plan_campaign_id}`
         
        optional string keyword_plan_campaign = 3;
        Parameters:
        value - The keywordPlanCampaign to set.
        Returns:
        This builder for chaining.
      • clearKeywordPlanCampaign

        public KeywordPlanCampaignForecast.Builder clearKeywordPlanCampaign()
         The resource name of the Keyword Plan campaign related to the forecast.
         `customers/{customer_id}/keywordPlanCampaigns/{keyword_plan_campaign_id}`
         
        optional string keyword_plan_campaign = 3;
        Returns:
        This builder for chaining.
      • setKeywordPlanCampaignBytes

        public KeywordPlanCampaignForecast.Builder setKeywordPlanCampaignBytes​(com.google.protobuf.ByteString value)
         The resource name of the Keyword Plan campaign related to the forecast.
         `customers/{customer_id}/keywordPlanCampaigns/{keyword_plan_campaign_id}`
         
        optional string keyword_plan_campaign = 3;
        Parameters:
        value - The bytes for keywordPlanCampaign to set.
        Returns:
        This builder for chaining.
      • hasCampaignForecast

        public boolean hasCampaignForecast()
         The forecast for the Keyword Plan campaign.
         
        .google.ads.googleads.v10.services.ForecastMetrics campaign_forecast = 2;
        Specified by:
        hasCampaignForecast in interface KeywordPlanCampaignForecastOrBuilder
        Returns:
        Whether the campaignForecast field is set.
      • clearCampaignForecast

        public KeywordPlanCampaignForecast.Builder clearCampaignForecast()
         The forecast for the Keyword Plan campaign.
         
        .google.ads.googleads.v10.services.ForecastMetrics campaign_forecast = 2;
      • getCampaignForecastBuilder

        public ForecastMetrics.Builder getCampaignForecastBuilder()
         The forecast for the Keyword Plan campaign.
         
        .google.ads.googleads.v10.services.ForecastMetrics campaign_forecast = 2;
      • mergeUnknownFields

        public final KeywordPlanCampaignForecast.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<KeywordPlanCampaignForecast.Builder>