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

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

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

        public ListInsightsEligibleDatesResponse 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<ListInsightsEligibleDatesResponse.Builder>
      • mergeFrom

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

        public com.google.protobuf.ProtocolStringList getDataMonthsList()
         The months for which AudienceInsights data is currently
         available, each represented as a string in the form "YYYY-MM".
         
        repeated string data_months = 1;
        Specified by:
        getDataMonthsList in interface ListInsightsEligibleDatesResponseOrBuilder
        Returns:
        A list containing the dataMonths.
      • getDataMonthsCount

        public int getDataMonthsCount()
         The months for which AudienceInsights data is currently
         available, each represented as a string in the form "YYYY-MM".
         
        repeated string data_months = 1;
        Specified by:
        getDataMonthsCount in interface ListInsightsEligibleDatesResponseOrBuilder
        Returns:
        The count of dataMonths.
      • getDataMonths

        public java.lang.String getDataMonths​(int index)
         The months for which AudienceInsights data is currently
         available, each represented as a string in the form "YYYY-MM".
         
        repeated string data_months = 1;
        Specified by:
        getDataMonths in interface ListInsightsEligibleDatesResponseOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The dataMonths at the given index.
      • getDataMonthsBytes

        public com.google.protobuf.ByteString getDataMonthsBytes​(int index)
         The months for which AudienceInsights data is currently
         available, each represented as a string in the form "YYYY-MM".
         
        repeated string data_months = 1;
        Specified by:
        getDataMonthsBytes in interface ListInsightsEligibleDatesResponseOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the dataMonths at the given index.
      • setDataMonths

        public ListInsightsEligibleDatesResponse.Builder setDataMonths​(int index,
                                                                       java.lang.String value)
         The months for which AudienceInsights data is currently
         available, each represented as a string in the form "YYYY-MM".
         
        repeated string data_months = 1;
        Parameters:
        index - The index to set the value at.
        value - The dataMonths to set.
        Returns:
        This builder for chaining.
      • addDataMonths

        public ListInsightsEligibleDatesResponse.Builder addDataMonths​(java.lang.String value)
         The months for which AudienceInsights data is currently
         available, each represented as a string in the form "YYYY-MM".
         
        repeated string data_months = 1;
        Parameters:
        value - The dataMonths to add.
        Returns:
        This builder for chaining.
      • addAllDataMonths

        public ListInsightsEligibleDatesResponse.Builder addAllDataMonths​(java.lang.Iterable<java.lang.String> values)
         The months for which AudienceInsights data is currently
         available, each represented as a string in the form "YYYY-MM".
         
        repeated string data_months = 1;
        Parameters:
        values - The dataMonths to add.
        Returns:
        This builder for chaining.
      • clearDataMonths

        public ListInsightsEligibleDatesResponse.Builder clearDataMonths()
         The months for which AudienceInsights data is currently
         available, each represented as a string in the form "YYYY-MM".
         
        repeated string data_months = 1;
        Returns:
        This builder for chaining.
      • addDataMonthsBytes

        public ListInsightsEligibleDatesResponse.Builder addDataMonthsBytes​(com.google.protobuf.ByteString value)
         The months for which AudienceInsights data is currently
         available, each represented as a string in the form "YYYY-MM".
         
        repeated string data_months = 1;
        Parameters:
        value - The bytes of the dataMonths to add.
        Returns:
        This builder for chaining.
      • hasLastThirtyDays

        public boolean hasLastThirtyDays()
         The actual dates covered by the "last 30 days" date range that will be used
         implicitly for
         [AudienceInsightsService.GenerateAudienceCompositionInsights][google.ads.googleads.v15.services.AudienceInsightsService.GenerateAudienceCompositionInsights]
         requests that have no data_month set.
         
        .google.ads.googleads.v15.common.DateRange last_thirty_days = 2;
        Specified by:
        hasLastThirtyDays in interface ListInsightsEligibleDatesResponseOrBuilder
        Returns:
        Whether the lastThirtyDays field is set.
      • getLastThirtyDays

        public DateRange getLastThirtyDays()
         The actual dates covered by the "last 30 days" date range that will be used
         implicitly for
         [AudienceInsightsService.GenerateAudienceCompositionInsights][google.ads.googleads.v15.services.AudienceInsightsService.GenerateAudienceCompositionInsights]
         requests that have no data_month set.
         
        .google.ads.googleads.v15.common.DateRange last_thirty_days = 2;
        Specified by:
        getLastThirtyDays in interface ListInsightsEligibleDatesResponseOrBuilder
        Returns:
        The lastThirtyDays.
      • setLastThirtyDays

        public ListInsightsEligibleDatesResponse.Builder setLastThirtyDays​(DateRange value)
         The actual dates covered by the "last 30 days" date range that will be used
         implicitly for
         [AudienceInsightsService.GenerateAudienceCompositionInsights][google.ads.googleads.v15.services.AudienceInsightsService.GenerateAudienceCompositionInsights]
         requests that have no data_month set.
         
        .google.ads.googleads.v15.common.DateRange last_thirty_days = 2;
      • setLastThirtyDays

        public ListInsightsEligibleDatesResponse.Builder setLastThirtyDays​(DateRange.Builder builderForValue)
         The actual dates covered by the "last 30 days" date range that will be used
         implicitly for
         [AudienceInsightsService.GenerateAudienceCompositionInsights][google.ads.googleads.v15.services.AudienceInsightsService.GenerateAudienceCompositionInsights]
         requests that have no data_month set.
         
        .google.ads.googleads.v15.common.DateRange last_thirty_days = 2;
      • mergeLastThirtyDays

        public ListInsightsEligibleDatesResponse.Builder mergeLastThirtyDays​(DateRange value)
         The actual dates covered by the "last 30 days" date range that will be used
         implicitly for
         [AudienceInsightsService.GenerateAudienceCompositionInsights][google.ads.googleads.v15.services.AudienceInsightsService.GenerateAudienceCompositionInsights]
         requests that have no data_month set.
         
        .google.ads.googleads.v15.common.DateRange last_thirty_days = 2;
      • clearLastThirtyDays

        public ListInsightsEligibleDatesResponse.Builder clearLastThirtyDays()
         The actual dates covered by the "last 30 days" date range that will be used
         implicitly for
         [AudienceInsightsService.GenerateAudienceCompositionInsights][google.ads.googleads.v15.services.AudienceInsightsService.GenerateAudienceCompositionInsights]
         requests that have no data_month set.
         
        .google.ads.googleads.v15.common.DateRange last_thirty_days = 2;
      • getLastThirtyDaysBuilder

        public DateRange.Builder getLastThirtyDaysBuilder()
         The actual dates covered by the "last 30 days" date range that will be used
         implicitly for
         [AudienceInsightsService.GenerateAudienceCompositionInsights][google.ads.googleads.v15.services.AudienceInsightsService.GenerateAudienceCompositionInsights]
         requests that have no data_month set.
         
        .google.ads.googleads.v15.common.DateRange last_thirty_days = 2;
      • getLastThirtyDaysOrBuilder

        public DateRangeOrBuilder getLastThirtyDaysOrBuilder()
         The actual dates covered by the "last 30 days" date range that will be used
         implicitly for
         [AudienceInsightsService.GenerateAudienceCompositionInsights][google.ads.googleads.v15.services.AudienceInsightsService.GenerateAudienceCompositionInsights]
         requests that have no data_month set.
         
        .google.ads.googleads.v15.common.DateRange last_thirty_days = 2;
        Specified by:
        getLastThirtyDaysOrBuilder in interface ListInsightsEligibleDatesResponseOrBuilder