Class RetrieveInsightsResponse (0.8.0)

public final class RetrieveInsightsResponse extends GeneratedMessage implements RetrieveInsightsResponseOrBuilder

Response message for DM API MarketingDataInsightsService.RetrieveInsights

Protobuf type google.ads.datamanager.v1.RetrieveInsightsResponse

Static Fields

MARKETING_DATA_INSIGHTS_FIELD_NUMBER

public static final int MARKETING_DATA_INSIGHTS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static RetrieveInsightsResponse getDefaultInstance()
Returns
Type Description
RetrieveInsightsResponse

getDescriptor()

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

newBuilder()

public static RetrieveInsightsResponse.Builder newBuilder()
Returns
Type Description
RetrieveInsightsResponse.Builder

newBuilder(RetrieveInsightsResponse prototype)

public static RetrieveInsightsResponse.Builder newBuilder(RetrieveInsightsResponse prototype)
Parameter
Name Description
prototype RetrieveInsightsResponse
Returns
Type Description
RetrieveInsightsResponse.Builder

parseDelimitedFrom(InputStream input)

public static RetrieveInsightsResponse parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
RetrieveInsightsResponse
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RetrieveInsightsResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RetrieveInsightsResponse
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static RetrieveInsightsResponse parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
RetrieveInsightsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static RetrieveInsightsResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RetrieveInsightsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static RetrieveInsightsResponse parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
RetrieveInsightsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static RetrieveInsightsResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RetrieveInsightsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static RetrieveInsightsResponse parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
RetrieveInsightsResponse
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static RetrieveInsightsResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RetrieveInsightsResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static RetrieveInsightsResponse parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
RetrieveInsightsResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RetrieveInsightsResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RetrieveInsightsResponse
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static RetrieveInsightsResponse parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
RetrieveInsightsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static RetrieveInsightsResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RetrieveInsightsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<RetrieveInsightsResponse> parser()
Returns
Type Description
Parser<RetrieveInsightsResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public RetrieveInsightsResponse getDefaultInstanceForType()
Returns
Type Description
RetrieveInsightsResponse

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

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>

getParserForType()

public Parser<RetrieveInsightsResponse> getParserForType()
Returns
Type Description
Parser<RetrieveInsightsResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public RetrieveInsightsResponse.Builder newBuilderForType()
Returns
Type Description
RetrieveInsightsResponse.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected RetrieveInsightsResponse.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
RetrieveInsightsResponse.Builder
Overrides

toBuilder()

public RetrieveInsightsResponse.Builder toBuilder()
Returns
Type Description
RetrieveInsightsResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException