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

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

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

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

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

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

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

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

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

        public boolean hasDateInterval()
         A future date range relative to the current date used for forecasting.
         
        .google.ads.googleads.v10.enums.KeywordPlanForecastIntervalEnum.KeywordPlanForecastInterval date_interval = 1;
        Specified by:
        hasDateInterval in interface KeywordPlanForecastPeriodOrBuilder
        Returns:
        Whether the dateInterval field is set.
      • getDateIntervalValue

        public int getDateIntervalValue()
         A future date range relative to the current date used for forecasting.
         
        .google.ads.googleads.v10.enums.KeywordPlanForecastIntervalEnum.KeywordPlanForecastInterval date_interval = 1;
        Specified by:
        getDateIntervalValue in interface KeywordPlanForecastPeriodOrBuilder
        Returns:
        The enum numeric value on the wire for dateInterval.
      • setDateIntervalValue

        public KeywordPlanForecastPeriod.Builder setDateIntervalValue​(int value)
         A future date range relative to the current date used for forecasting.
         
        .google.ads.googleads.v10.enums.KeywordPlanForecastIntervalEnum.KeywordPlanForecastInterval date_interval = 1;
        Parameters:
        value - The enum numeric value on the wire for dateInterval to set.
        Returns:
        This builder for chaining.
      • clearDateInterval

        public KeywordPlanForecastPeriod.Builder clearDateInterval()
         A future date range relative to the current date used for forecasting.
         
        .google.ads.googleads.v10.enums.KeywordPlanForecastIntervalEnum.KeywordPlanForecastInterval date_interval = 1;
        Returns:
        This builder for chaining.
      • hasDateRange

        public boolean hasDateRange()
         The custom date range used for forecasting.
         The start and end dates must be in the future. Otherwise, an error will
         be returned when the forecasting action is performed.
         The start and end dates are inclusive.
         
        .google.ads.googleads.v10.common.DateRange date_range = 2;
        Specified by:
        hasDateRange in interface KeywordPlanForecastPeriodOrBuilder
        Returns:
        Whether the dateRange field is set.
      • getDateRange

        public DateRange getDateRange()
         The custom date range used for forecasting.
         The start and end dates must be in the future. Otherwise, an error will
         be returned when the forecasting action is performed.
         The start and end dates are inclusive.
         
        .google.ads.googleads.v10.common.DateRange date_range = 2;
        Specified by:
        getDateRange in interface KeywordPlanForecastPeriodOrBuilder
        Returns:
        The dateRange.
      • setDateRange

        public KeywordPlanForecastPeriod.Builder setDateRange​(DateRange value)
         The custom date range used for forecasting.
         The start and end dates must be in the future. Otherwise, an error will
         be returned when the forecasting action is performed.
         The start and end dates are inclusive.
         
        .google.ads.googleads.v10.common.DateRange date_range = 2;
      • setDateRange

        public KeywordPlanForecastPeriod.Builder setDateRange​(DateRange.Builder builderForValue)
         The custom date range used for forecasting.
         The start and end dates must be in the future. Otherwise, an error will
         be returned when the forecasting action is performed.
         The start and end dates are inclusive.
         
        .google.ads.googleads.v10.common.DateRange date_range = 2;
      • mergeDateRange

        public KeywordPlanForecastPeriod.Builder mergeDateRange​(DateRange value)
         The custom date range used for forecasting.
         The start and end dates must be in the future. Otherwise, an error will
         be returned when the forecasting action is performed.
         The start and end dates are inclusive.
         
        .google.ads.googleads.v10.common.DateRange date_range = 2;
      • clearDateRange

        public KeywordPlanForecastPeriod.Builder clearDateRange()
         The custom date range used for forecasting.
         The start and end dates must be in the future. Otherwise, an error will
         be returned when the forecasting action is performed.
         The start and end dates are inclusive.
         
        .google.ads.googleads.v10.common.DateRange date_range = 2;
      • getDateRangeBuilder

        public DateRange.Builder getDateRangeBuilder()
         The custom date range used for forecasting.
         The start and end dates must be in the future. Otherwise, an error will
         be returned when the forecasting action is performed.
         The start and end dates are inclusive.
         
        .google.ads.googleads.v10.common.DateRange date_range = 2;
      • getDateRangeOrBuilder

        public DateRangeOrBuilder getDateRangeOrBuilder()
         The custom date range used for forecasting.
         The start and end dates must be in the future. Otherwise, an error will
         be returned when the forecasting action is performed.
         The start and end dates are inclusive.
         
        .google.ads.googleads.v10.common.DateRange date_range = 2;
        Specified by:
        getDateRangeOrBuilder in interface KeywordPlanForecastPeriodOrBuilder
      • setUnknownFields

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

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