Class RetrieveInsightsResponse.Builder (0.8.0)

public static final class RetrieveInsightsResponse.Builder extends GeneratedMessage.Builder<RetrieveInsightsResponse.Builder> implements RetrieveInsightsResponseOrBuilder

Response message for DM API MarketingDataInsightsService.RetrieveInsights

Protobuf type google.ads.datamanager.v1.RetrieveInsightsResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllMarketingDataInsights(Iterable<? extends RetrieveInsightsResponse.MarketingDataInsight> values)

public RetrieveInsightsResponse.Builder addAllMarketingDataInsights(Iterable<? extends RetrieveInsightsResponse.MarketingDataInsight> values)

Contains the insights for the marketing data.

repeated .google.ads.datamanager.v1.RetrieveInsightsResponse.MarketingDataInsight marketing_data_insights = 1;

Parameter
Name Description
values Iterable<? extends com.google.ads.datamanager.v1.RetrieveInsightsResponse.MarketingDataInsight>
Returns
Type Description
RetrieveInsightsResponse.Builder

addMarketingDataInsights(RetrieveInsightsResponse.MarketingDataInsight value)

public RetrieveInsightsResponse.Builder addMarketingDataInsights(RetrieveInsightsResponse.MarketingDataInsight value)

Contains the insights for the marketing data.

repeated .google.ads.datamanager.v1.RetrieveInsightsResponse.MarketingDataInsight marketing_data_insights = 1;

Parameter
Name Description
value RetrieveInsightsResponse.MarketingDataInsight
Returns
Type Description
RetrieveInsightsResponse.Builder

addMarketingDataInsights(RetrieveInsightsResponse.MarketingDataInsight.Builder builderForValue)

public RetrieveInsightsResponse.Builder addMarketingDataInsights(RetrieveInsightsResponse.MarketingDataInsight.Builder builderForValue)

Contains the insights for the marketing data.

repeated .google.ads.datamanager.v1.RetrieveInsightsResponse.MarketingDataInsight marketing_data_insights = 1;

Parameter
Name Description
builderForValue RetrieveInsightsResponse.MarketingDataInsight.Builder
Returns
Type Description
RetrieveInsightsResponse.Builder

addMarketingDataInsights(int index, RetrieveInsightsResponse.MarketingDataInsight value)

public RetrieveInsightsResponse.Builder addMarketingDataInsights(int index, RetrieveInsightsResponse.MarketingDataInsight value)

Contains the insights for the marketing data.

repeated .google.ads.datamanager.v1.RetrieveInsightsResponse.MarketingDataInsight marketing_data_insights = 1;

Parameters
Name Description
index int
value RetrieveInsightsResponse.MarketingDataInsight
Returns
Type Description
RetrieveInsightsResponse.Builder

addMarketingDataInsights(int index, RetrieveInsightsResponse.MarketingDataInsight.Builder builderForValue)

public RetrieveInsightsResponse.Builder addMarketingDataInsights(int index, RetrieveInsightsResponse.MarketingDataInsight.Builder builderForValue)

Contains the insights for the marketing data.

repeated .google.ads.datamanager.v1.RetrieveInsightsResponse.MarketingDataInsight marketing_data_insights = 1;

Parameters
Name Description
index int
builderForValue RetrieveInsightsResponse.MarketingDataInsight.Builder
Returns
Type Description
RetrieveInsightsResponse.Builder

addMarketingDataInsightsBuilder()

public RetrieveInsightsResponse.MarketingDataInsight.Builder addMarketingDataInsightsBuilder()

Contains the insights for the marketing data.

repeated .google.ads.datamanager.v1.RetrieveInsightsResponse.MarketingDataInsight marketing_data_insights = 1;

Returns
Type Description
RetrieveInsightsResponse.MarketingDataInsight.Builder

addMarketingDataInsightsBuilder(int index)

public RetrieveInsightsResponse.MarketingDataInsight.Builder addMarketingDataInsightsBuilder(int index)

Contains the insights for the marketing data.

repeated .google.ads.datamanager.v1.RetrieveInsightsResponse.MarketingDataInsight marketing_data_insights = 1;

Parameter
Name Description
index int
Returns
Type Description
RetrieveInsightsResponse.MarketingDataInsight.Builder

build()

public RetrieveInsightsResponse build()
Returns
Type Description
RetrieveInsightsResponse

buildPartial()

public RetrieveInsightsResponse buildPartial()
Returns
Type Description
RetrieveInsightsResponse

clear()

public RetrieveInsightsResponse.Builder clear()
Returns
Type Description
RetrieveInsightsResponse.Builder
Overrides

clearMarketingDataInsights()

public RetrieveInsightsResponse.Builder clearMarketingDataInsights()

Contains the insights for the marketing data.

repeated .google.ads.datamanager.v1.RetrieveInsightsResponse.MarketingDataInsight marketing_data_insights = 1;

Returns
Type Description
RetrieveInsightsResponse.Builder

getDefaultInstanceForType()

public RetrieveInsightsResponse getDefaultInstanceForType()
Returns
Type Description
RetrieveInsightsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getMarketingDataInsights(int index)

public RetrieveInsightsResponse.MarketingDataInsight getMarketingDataInsights(int index)

Contains the insights for the marketing data.

repeated .google.ads.datamanager.v1.RetrieveInsightsResponse.MarketingDataInsight marketing_data_insights = 1;

Parameter
Name Description
index int
Returns
Type Description
RetrieveInsightsResponse.MarketingDataInsight

getMarketingDataInsightsBuilder(int index)

public RetrieveInsightsResponse.MarketingDataInsight.Builder getMarketingDataInsightsBuilder(int index)

Contains the insights for the marketing data.

repeated .google.ads.datamanager.v1.RetrieveInsightsResponse.MarketingDataInsight marketing_data_insights = 1;

Parameter
Name Description
index int
Returns
Type Description
RetrieveInsightsResponse.MarketingDataInsight.Builder

getMarketingDataInsightsBuilderList()

public List<RetrieveInsightsResponse.MarketingDataInsight.Builder> getMarketingDataInsightsBuilderList()

Contains the insights for the marketing data.

repeated .google.ads.datamanager.v1.RetrieveInsightsResponse.MarketingDataInsight marketing_data_insights = 1;

Returns
Type Description
List<Builder>

getMarketingDataInsightsCount()

public int getMarketingDataInsightsCount()

Contains the insights for the marketing data.

repeated .google.ads.datamanager.v1.RetrieveInsightsResponse.MarketingDataInsight marketing_data_insights = 1;

Returns
Type Description
int

getMarketingDataInsightsList()

public List<RetrieveInsightsResponse.MarketingDataInsight> getMarketingDataInsightsList()

Contains the insights for the marketing data.

repeated .google.ads.datamanager.v1.RetrieveInsightsResponse.MarketingDataInsight marketing_data_insights = 1;

Returns
Type Description
List<MarketingDataInsight>

getMarketingDataInsightsOrBuilder(int index)

public RetrieveInsightsResponse.MarketingDataInsightOrBuilder getMarketingDataInsightsOrBuilder(int index)

Contains the insights for the marketing data.

repeated .google.ads.datamanager.v1.RetrieveInsightsResponse.MarketingDataInsight marketing_data_insights = 1;

Parameter
Name Description
index int
Returns
Type Description
RetrieveInsightsResponse.MarketingDataInsightOrBuilder

getMarketingDataInsightsOrBuilderList()

public List<? extends RetrieveInsightsResponse.MarketingDataInsightOrBuilder> getMarketingDataInsightsOrBuilderList()

Contains the insights for the marketing data.

repeated .google.ads.datamanager.v1.RetrieveInsightsResponse.MarketingDataInsight marketing_data_insights = 1;

Returns
Type Description
List<? extends com.google.ads.datamanager.v1.RetrieveInsightsResponse.MarketingDataInsightOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(RetrieveInsightsResponse other)

public RetrieveInsightsResponse.Builder mergeFrom(RetrieveInsightsResponse other)
Parameter
Name Description
other RetrieveInsightsResponse
Returns
Type Description
RetrieveInsightsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public RetrieveInsightsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RetrieveInsightsResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public RetrieveInsightsResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
RetrieveInsightsResponse.Builder
Overrides

removeMarketingDataInsights(int index)

public RetrieveInsightsResponse.Builder removeMarketingDataInsights(int index)

Contains the insights for the marketing data.

repeated .google.ads.datamanager.v1.RetrieveInsightsResponse.MarketingDataInsight marketing_data_insights = 1;

Parameter
Name Description
index int
Returns
Type Description
RetrieveInsightsResponse.Builder

setMarketingDataInsights(int index, RetrieveInsightsResponse.MarketingDataInsight value)

public RetrieveInsightsResponse.Builder setMarketingDataInsights(int index, RetrieveInsightsResponse.MarketingDataInsight value)

Contains the insights for the marketing data.

repeated .google.ads.datamanager.v1.RetrieveInsightsResponse.MarketingDataInsight marketing_data_insights = 1;

Parameters
Name Description
index int
value RetrieveInsightsResponse.MarketingDataInsight
Returns
Type Description
RetrieveInsightsResponse.Builder

setMarketingDataInsights(int index, RetrieveInsightsResponse.MarketingDataInsight.Builder builderForValue)

public RetrieveInsightsResponse.Builder setMarketingDataInsights(int index, RetrieveInsightsResponse.MarketingDataInsight.Builder builderForValue)

Contains the insights for the marketing data.

repeated .google.ads.datamanager.v1.RetrieveInsightsResponse.MarketingDataInsight marketing_data_insights = 1;

Parameters
Name Description
index int
builderForValue RetrieveInsightsResponse.MarketingDataInsight.Builder
Returns
Type Description
RetrieveInsightsResponse.Builder