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 Summary
Modifier and TypeMethodDescriptionaddAllDataMonths(Iterable<String> values) The months for which AudienceInsights data is currently available, each represented as a string in the form "YYYY-MM".addDataMonths(String value) 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".addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()The months for which AudienceInsights data is currently available, each represented as a string in the form "YYYY-MM".clearField(com.google.protobuf.Descriptors.FieldDescriptor field) 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.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) clone()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.ByteStringgetDataMonthsBytes(int index) The months for which AudienceInsights data is currently available, each represented as a string in the form "YYYY-MM".intThe months for which AudienceInsights data is currently available, each represented as a string in the form "YYYY-MM".com.google.protobuf.ProtocolStringListThe months for which AudienceInsights data is currently available, each represented as a string in the form "YYYY-MM".static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe 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.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.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.booleanThe 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.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) 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.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setDataMonths(int index, String value) The months for which AudienceInsights data is currently available, each represented as a string in the form "YYYY-MM".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.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.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setUnknownFields(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, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods 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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<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
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.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, 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, 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, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ListInsightsEligibleDatesResponse.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ListInsightsEligibleDatesResponse.Builder>
-
mergeFrom
-
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 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:
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
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
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
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
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:
hasLastThirtyDaysin interfaceListInsightsEligibleDatesResponseOrBuilder- Returns:
- Whether the lastThirtyDays field is set.
-
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:
getLastThirtyDaysin interfaceListInsightsEligibleDatesResponseOrBuilder- Returns:
- The lastThirtyDays.
-
setLastThirtyDays
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
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
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
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
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:
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>
-