Class ListInsightsEligibleDatesResponse.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ListInsightsEligibleDatesResponse.Builder>
com.google.ads.googleads.v23.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.GeneratedMessage.Builder<ListInsightsEligibleDatesResponse.Builder> implements ListInsightsEligibleDatesResponseOrBuilder
 Response message for
 [AudienceInsightsService.ListInsightsEligibleDates][google.ads.googleads.v23.services.AudienceInsightsService.ListInsightsEligibleDates].
 
Protobuf type google.ads.googleads.v23.services.ListInsightsEligibleDatesResponse
  • Method Summary

    Modifier and Type
    Method
    Description
    The months for which AudienceInsights data is currently available, each represented as a string in the form "YYYY-MM".
    The months for which AudienceInsights data is currently available, each represented as a string in the form "YYYY-MM".
    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".
     
     
     
    The months for which AudienceInsights data is currently available, each represented as a string in the form "YYYY-MM".
    The actual dates covered by the "last 30 days" date range that will be used implicitly for [AudienceInsightsService.GenerateAudienceCompositionInsights][google.ads.googleads.v23.services.AudienceInsightsService.GenerateAudienceCompositionInsights] requests that have no data_month set.
    getDataMonths(int index)
    The months for which AudienceInsights data is currently available, each represented as a string in the form "YYYY-MM".
    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".
    int
    The months for which AudienceInsights data is currently available, each represented as a string in the form "YYYY-MM".
    com.google.protobuf.ProtocolStringList
    The months for which AudienceInsights data is currently available, each represented as a string in the form "YYYY-MM".
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Descriptors.Descriptor
     
    The actual dates covered by the "last 30 days" date range that will be used implicitly for [AudienceInsightsService.GenerateAudienceCompositionInsights][google.ads.googleads.v23.services.AudienceInsightsService.GenerateAudienceCompositionInsights] requests that have no data_month set.
    The actual dates covered by the "last 30 days" date range that will be used implicitly for [AudienceInsightsService.GenerateAudienceCompositionInsights][google.ads.googleads.v23.services.AudienceInsightsService.GenerateAudienceCompositionInsights] requests that have no data_month set.
    The actual dates covered by the "last 30 days" date range that will be used implicitly for [AudienceInsightsService.GenerateAudienceCompositionInsights][google.ads.googleads.v23.services.AudienceInsightsService.GenerateAudienceCompositionInsights] requests that have no data_month set.
    boolean
    The actual dates covered by the "last 30 days" date range that will be used implicitly for [AudienceInsightsService.GenerateAudienceCompositionInsights][google.ads.googleads.v23.services.AudienceInsightsService.GenerateAudienceCompositionInsights] requests that have no data_month set.
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
     
    mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    mergeFrom(com.google.protobuf.Message other)
     
    The actual dates covered by the "last 30 days" date range that will be used implicitly for [AudienceInsightsService.GenerateAudienceCompositionInsights][google.ads.googleads.v23.services.AudienceInsightsService.GenerateAudienceCompositionInsights] requests that have no data_month set.
    setDataMonths(int index, String value)
    The months for which AudienceInsights data is currently available, each represented as a string in the form "YYYY-MM".
    The actual dates covered by the "last 30 days" date range that will be used implicitly for [AudienceInsightsService.GenerateAudienceCompositionInsights][google.ads.googleads.v23.services.AudienceInsightsService.GenerateAudienceCompositionInsights] requests that have no data_month set.
    The actual dates covered by the "last 30 days" date range that will be used implicitly for [AudienceInsightsService.GenerateAudienceCompositionInsights][google.ads.googleads.v23.services.AudienceInsightsService.GenerateAudienceCompositionInsights] requests that have no data_month set.

    Methods inherited from class com.google.protobuf.GeneratedMessage.Builder

    addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3

    Methods inherited from class com.google.protobuf.AbstractMessage.Builder

    findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

    addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.Message.Builder

    mergeDelimitedFrom, mergeDelimitedFrom

    Methods inherited from interface com.google.protobuf.MessageLite.Builder

    mergeFrom

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.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.GeneratedMessage.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.GeneratedMessage.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
    • 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.GeneratedMessage.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.v23.services.AudienceInsightsService.GenerateAudienceCompositionInsights]
       requests that have no data_month set.
       
      .google.ads.googleads.v23.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.v23.services.AudienceInsightsService.GenerateAudienceCompositionInsights]
       requests that have no data_month set.
       
      .google.ads.googleads.v23.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.v23.services.AudienceInsightsService.GenerateAudienceCompositionInsights]
       requests that have no data_month set.
       
      .google.ads.googleads.v23.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.v23.services.AudienceInsightsService.GenerateAudienceCompositionInsights]
       requests that have no data_month set.
       
      .google.ads.googleads.v23.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.v23.services.AudienceInsightsService.GenerateAudienceCompositionInsights]
       requests that have no data_month set.
       
      .google.ads.googleads.v23.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.v23.services.AudienceInsightsService.GenerateAudienceCompositionInsights]
       requests that have no data_month set.
       
      .google.ads.googleads.v23.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.v23.services.AudienceInsightsService.GenerateAudienceCompositionInsights]
       requests that have no data_month set.
       
      .google.ads.googleads.v23.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.v23.services.AudienceInsightsService.GenerateAudienceCompositionInsights]
       requests that have no data_month set.
       
      .google.ads.googleads.v23.common.DateRange last_thirty_days = 2;
      Specified by:
      getLastThirtyDaysOrBuilder in interface ListInsightsEligibleDatesResponseOrBuilder