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.v15.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,java.lang.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.v15.services.AudienceInsightsService.ListInsightsEligibleDates].
Protobuf typegoogle.ads.googleads.v15.services.ListInsightsEligibleDatesResponse
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ListInsightsEligibleDatesResponse.BuilderaddAllDataMonths(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".ListInsightsEligibleDatesResponse.BuilderaddDataMonths(java.lang.String value)The months for which AudienceInsights data is currently available, each represented as a string in the form "YYYY-MM".ListInsightsEligibleDatesResponse.BuilderaddDataMonthsBytes(com.google.protobuf.ByteString value)The months for which AudienceInsights data is currently available, each represented as a string in the form "YYYY-MM".ListInsightsEligibleDatesResponse.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)ListInsightsEligibleDatesResponsebuild()ListInsightsEligibleDatesResponsebuildPartial()ListInsightsEligibleDatesResponse.Builderclear()ListInsightsEligibleDatesResponse.BuilderclearDataMonths()The months for which AudienceInsights data is currently available, each represented as a string in the form "YYYY-MM".ListInsightsEligibleDatesResponse.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)ListInsightsEligibleDatesResponse.BuilderclearLastThirtyDays()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.ListInsightsEligibleDatesResponse.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)ListInsightsEligibleDatesResponse.Builderclone()java.lang.StringgetDataMonths(int index)The months for which AudienceInsights data is currently available, each represented as a string in the form "YYYY-MM".com.google.protobuf.ByteStringgetDataMonthsBytes(int index)The months for which AudienceInsights data is currently available, each represented as a string in the form "YYYY-MM".intgetDataMonthsCount()The months for which AudienceInsights data is currently available, each represented as a string in the form "YYYY-MM".com.google.protobuf.ProtocolStringListgetDataMonthsList()The months for which AudienceInsights data is currently available, each represented as a string in the form "YYYY-MM".ListInsightsEligibleDatesResponsegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()DateRangegetLastThirtyDays()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.DateRange.BuildergetLastThirtyDaysBuilder()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.DateRangeOrBuildergetLastThirtyDaysOrBuilder()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.booleanhasLastThirtyDays()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.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()ListInsightsEligibleDatesResponse.BuildermergeFrom(ListInsightsEligibleDatesResponse other)ListInsightsEligibleDatesResponse.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)ListInsightsEligibleDatesResponse.BuildermergeFrom(com.google.protobuf.Message other)ListInsightsEligibleDatesResponse.BuildermergeLastThirtyDays(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.ListInsightsEligibleDatesResponse.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)ListInsightsEligibleDatesResponse.BuildersetDataMonths(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".ListInsightsEligibleDatesResponse.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)ListInsightsEligibleDatesResponse.BuildersetLastThirtyDays(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.ListInsightsEligibleDatesResponse.BuildersetLastThirtyDays(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.ListInsightsEligibleDatesResponse.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)ListInsightsEligibleDatesResponse.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, 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
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<ListInsightsEligibleDatesResponse.Builder>
-
clear
public ListInsightsEligibleDatesResponse.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<ListInsightsEligibleDatesResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<ListInsightsEligibleDatesResponse.Builder>
-
getDefaultInstanceForType
public ListInsightsEligibleDatesResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public ListInsightsEligibleDatesResponse build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ListInsightsEligibleDatesResponse buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ListInsightsEligibleDatesResponse.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<ListInsightsEligibleDatesResponse.Builder>
-
setField
public ListInsightsEligibleDatesResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ListInsightsEligibleDatesResponse.Builder>
-
clearField
public ListInsightsEligibleDatesResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ListInsightsEligibleDatesResponse.Builder>
-
clearOneof
public ListInsightsEligibleDatesResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ListInsightsEligibleDatesResponse.Builder>
-
setRepeatedField
public ListInsightsEligibleDatesResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ListInsightsEligibleDatesResponse.Builder>
-
addRepeatedField
public ListInsightsEligibleDatesResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ListInsightsEligibleDatesResponse.Builder>
-
mergeFrom
public ListInsightsEligibleDatesResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ListInsightsEligibleDatesResponse.Builder>
-
mergeFrom
public ListInsightsEligibleDatesResponse.Builder mergeFrom(ListInsightsEligibleDatesResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.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:
getDataMonthsListin interfaceListInsightsEligibleDatesResponseOrBuilder- 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:
getDataMonthsCountin interfaceListInsightsEligibleDatesResponseOrBuilder- 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:
getDataMonthsin interfaceListInsightsEligibleDatesResponseOrBuilder- 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:
getDataMonthsBytesin interfaceListInsightsEligibleDatesResponseOrBuilder- 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:
hasLastThirtyDaysin interfaceListInsightsEligibleDatesResponseOrBuilder- 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:
getLastThirtyDaysin interfaceListInsightsEligibleDatesResponseOrBuilder- 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:
getLastThirtyDaysOrBuilderin interfaceListInsightsEligibleDatesResponseOrBuilder
-
setUnknownFields
public final ListInsightsEligibleDatesResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ListInsightsEligibleDatesResponse.Builder>
-
mergeUnknownFields
public final ListInsightsEligibleDatesResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ListInsightsEligibleDatesResponse.Builder>
-
-