Class RetrieveInsightsResponse.MarketingDataInsight.MarketingDataInsightsAttribute (0.8.0)

public static final class RetrieveInsightsResponse.MarketingDataInsight.MarketingDataInsightsAttribute extends GeneratedMessage implements RetrieveInsightsResponse.MarketingDataInsight.MarketingDataInsightsAttributeOrBuilder

Insights for a collection of related attributes of the same dimension.

Protobuf type google.ads.datamanager.v1.RetrieveInsightsResponse.MarketingDataInsight.MarketingDataInsightsAttribute

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > RetrieveInsightsResponse.MarketingDataInsight.MarketingDataInsightsAttribute

Static Fields

AGE_RANGE_FIELD_NUMBER

public static final int AGE_RANGE_FIELD_NUMBER
Field Value
Type Description
int

GENDER_FIELD_NUMBER

public static final int GENDER_FIELD_NUMBER
Field Value
Type Description
int

LIFT_FIELD_NUMBER

public static final int LIFT_FIELD_NUMBER
Field Value
Type Description
int

USER_INTEREST_ID_FIELD_NUMBER

public static final int USER_INTEREST_ID_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static RetrieveInsightsResponse.MarketingDataInsight.MarketingDataInsightsAttribute getDefaultInstance()
Returns
Type Description
RetrieveInsightsResponse.MarketingDataInsight.MarketingDataInsightsAttribute

getDescriptor()

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

newBuilder()

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

newBuilder(RetrieveInsightsResponse.MarketingDataInsight.MarketingDataInsightsAttribute prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getAgeRange()

public AgeRange getAgeRange()

Age range of the audience for which the lift is provided.

optional .google.ads.datamanager.v1.AgeRange age_range = 3;

Returns
Type Description
AgeRange

The ageRange.

getAgeRangeValue()

public int getAgeRangeValue()

Age range of the audience for which the lift is provided.

optional .google.ads.datamanager.v1.AgeRange age_range = 3;

Returns
Type Description
int

The enum numeric value on the wire for ageRange.

getDefaultInstanceForType()

public RetrieveInsightsResponse.MarketingDataInsight.MarketingDataInsightsAttribute getDefaultInstanceForType()
Returns
Type Description
RetrieveInsightsResponse.MarketingDataInsight.MarketingDataInsightsAttribute

getGender()

public Gender getGender()

Gender of the audience for which the lift is provided.

optional .google.ads.datamanager.v1.Gender gender = 4;

Returns
Type Description
Gender

The gender.

getGenderValue()

public int getGenderValue()

Gender of the audience for which the lift is provided.

optional .google.ads.datamanager.v1.Gender gender = 4;

Returns
Type Description
int

The enum numeric value on the wire for gender.

getLift()

public float getLift()

Measure of lift that the audience has for the attribute value as compared to the baseline. Range [0-1].

optional float lift = 2;

Returns
Type Description
float

The lift.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getUserInterestId()

public long getUserInterestId()

The user interest ID.

optional int64 user_interest_id = 1;

Returns
Type Description
long

The userInterestId.

hasAgeRange()

public boolean hasAgeRange()

Age range of the audience for which the lift is provided.

optional .google.ads.datamanager.v1.AgeRange age_range = 3;

Returns
Type Description
boolean

Whether the ageRange field is set.

hasGender()

public boolean hasGender()

Gender of the audience for which the lift is provided.

optional .google.ads.datamanager.v1.Gender gender = 4;

Returns
Type Description
boolean

Whether the gender field is set.

hasLift()

public boolean hasLift()

Measure of lift that the audience has for the attribute value as compared to the baseline. Range [0-1].

optional float lift = 2;

Returns
Type Description
boolean

Whether the lift field is set.

hasUserInterestId()

public boolean hasUserInterestId()

The user interest ID.

optional int64 user_interest_id = 1;

Returns
Type Description
boolean

Whether the userInterestId field is set.

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.MarketingDataInsight.MarketingDataInsightsAttribute.Builder newBuilderForType()
Returns
Type Description
RetrieveInsightsResponse.MarketingDataInsight.MarketingDataInsightsAttribute.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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