Class ListInsightsEligibleDatesResponse.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<ListInsightsEligibleDatesResponse.Builder>
com.google.ads.googleads.v18.services.ListInsightsEligibleDatesResponse.Builder
All Implemented Interfaces:
ListInsightsEligibleDatesResponseOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ListInsightsEligibleDatesResponse

public static final class ListInsightsEligibleDatesResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ListInsightsEligibleDatesResponse.Builder> implements ListInsightsEligibleDatesResponseOrBuilder
 Response message for
 [AudienceInsightsService.ListInsightsEligibleDates][google.ads.googleads.v18.services.AudienceInsightsService.ListInsightsEligibleDates].
 
Protobuf type google.ads.googleads.v18.services.ListInsightsEligibleDatesResponse
  • Method Details

    • 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>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear 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

      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
    • clone

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<ListInsightsEligibleDatesResponse.Builder>
    • setField

      public ListInsightsEligibleDatesResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<ListInsightsEligibleDatesResponse.Builder>
    • clearField

      public ListInsightsEligibleDatesResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<ListInsightsEligibleDatesResponse.Builder>
    • clearOneof

      public ListInsightsEligibleDatesResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ListInsightsEligibleDatesResponse.Builder>
    • setRepeatedField

      public ListInsightsEligibleDatesResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ListInsightsEligibleDatesResponse.Builder>
    • addRepeatedField

      public ListInsightsEligibleDatesResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ListInsightsEligibleDatesResponse.Builder>
    • mergeFrom

      public ListInsightsEligibleDatesResponse.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListInsightsEligibleDatesResponse.Builder>
    • mergeFrom

    • 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 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:
      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 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, 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(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(Iterable<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

       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.v18.services.AudienceInsightsService.GenerateAudienceCompositionInsights]
       requests that have no data_month set.
       
      .google.ads.googleads.v18.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.v18.services.AudienceInsightsService.GenerateAudienceCompositionInsights]
       requests that have no data_month set.
       
      .google.ads.googleads.v18.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.v18.services.AudienceInsightsService.GenerateAudienceCompositionInsights]
       requests that have no data_month set.
       
      .google.ads.googleads.v18.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.v18.services.AudienceInsightsService.GenerateAudienceCompositionInsights]
       requests that have no data_month set.
       
      .google.ads.googleads.v18.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.v18.services.AudienceInsightsService.GenerateAudienceCompositionInsights]
       requests that have no data_month set.
       
      .google.ads.googleads.v18.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.v18.services.AudienceInsightsService.GenerateAudienceCompositionInsights]
       requests that have no data_month set.
       
      .google.ads.googleads.v18.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.v18.services.AudienceInsightsService.GenerateAudienceCompositionInsights]
       requests that have no data_month set.
       
      .google.ads.googleads.v18.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.v18.services.AudienceInsightsService.GenerateAudienceCompositionInsights]
       requests that have no data_month set.
       
      .google.ads.googleads.v18.common.DateRange last_thirty_days = 2;
      Specified by:
      getLastThirtyDaysOrBuilder in interface ListInsightsEligibleDatesResponseOrBuilder
    • setUnknownFields

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

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