Class DaiSession.Creative (0.58.0)

public static final class DaiSession.Creative extends GeneratedMessage implements DaiSession.CreativeOrBuilder

Information about a single creative.

Protobuf type google.ads.admanager.v1.DaiSession.Creative

Static Fields

AD_BUFFET_FIELD_NUMBER

public static final int AD_BUFFET_FIELD_NUMBER
Field Value
Type Description
int

AD_SYSTEM_FIELD_NUMBER

public static final int AD_SYSTEM_FIELD_NUMBER
Field Value
Type Description
int

DURATION_FIELD_NUMBER

public static final int DURATION_FIELD_NUMBER
Field Value
Type Description
int

ID_TYPE_FIELD_NUMBER

public static final int ID_TYPE_FIELD_NUMBER
Field Value
Type Description
int

ID_VALUE_FIELD_NUMBER

public static final int ID_VALUE_FIELD_NUMBER
Field Value
Type Description
int

POD_SEQUENCE_FIELD_NUMBER

public static final int POD_SEQUENCE_FIELD_NUMBER
Field Value
Type Description
int

VAST_INFOS_FIELD_NUMBER

public static final int VAST_INFOS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static DaiSession.Creative getDefaultInstance()
Returns
Type Description
DaiSession.Creative

getDescriptor()

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

newBuilder()

public static DaiSession.Creative.Builder newBuilder()
Returns
Type Description
DaiSession.Creative.Builder

newBuilder(DaiSession.Creative prototype)

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

parseDelimitedFrom(InputStream input)

public static DaiSession.Creative parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DaiSession.Creative
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static DaiSession.Creative parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
DaiSession.Creative
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static DaiSession.Creative parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
DaiSession.Creative
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static DaiSession.Creative parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DaiSession.Creative
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static DaiSession.Creative parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
DaiSession.Creative
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<DaiSession.Creative> parser()
Returns
Type Description
Parser<Creative>

Methods

equals(Object obj)

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

getAdBuffet()

public boolean getAdBuffet()

Output only. Whether this creative was from ad buffet.

optional bool ad_buffet = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

The adBuffet.

getAdSystem()

public String getAdSystem()

Output only. The ad system that provided this creative.

optional string ad_system = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The adSystem.

getAdSystemBytes()

public ByteString getAdSystemBytes()

Output only. The ad system that provided this creative.

optional string ad_system = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for adSystem.

getDefaultInstanceForType()

public DaiSession.Creative getDefaultInstanceForType()
Returns
Type Description
DaiSession.Creative

getDuration()

public Duration getDuration()

Output only. Duration of the creative.

.google.protobuf.Duration duration = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Duration

The duration.

getDurationOrBuilder()

public DurationOrBuilder getDurationOrBuilder()

Output only. Duration of the creative.

.google.protobuf.Duration duration = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DurationOrBuilder

getIdType()

public CreativeIdTypeEnum.CreativeIdType getIdType()

Output only. The type of ID that is used to identify this creative.

optional .google.ads.admanager.v1.CreativeIdTypeEnum.CreativeIdType id_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
CreativeIdTypeEnum.CreativeIdType

The idType.

getIdTypeValue()

public int getIdTypeValue()

Output only. The type of ID that is used to identify this creative.

optional .google.ads.admanager.v1.CreativeIdTypeEnum.CreativeIdType id_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for idType.

getIdValue()

public String getIdValue()

Output only. The value for the given ID type.

optional string id_value = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The idValue.

getIdValueBytes()

public ByteString getIdValueBytes()

Output only. The value for the given ID type.

optional string id_value = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for idValue.

getParserForType()

public Parser<DaiSession.Creative> getParserForType()
Returns
Type Description
Parser<Creative>
Overrides

getPodSequence()

public int getPodSequence()

Output only. The index at which this creative appeared in the ad pod.

optional int32 pod_sequence = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The podSequence.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getVastInfos(int index)

public DaiSession.Creative.VastInfo getVastInfos(int index)

Output only. The VAST infos that resulted in this creative.

repeated .google.ads.admanager.v1.DaiSession.Creative.VastInfo vast_infos = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
DaiSession.Creative.VastInfo

getVastInfosCount()

public int getVastInfosCount()

Output only. The VAST infos that resulted in this creative.

repeated .google.ads.admanager.v1.DaiSession.Creative.VastInfo vast_infos = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getVastInfosList()

public List<DaiSession.Creative.VastInfo> getVastInfosList()

Output only. The VAST infos that resulted in this creative.

repeated .google.ads.admanager.v1.DaiSession.Creative.VastInfo vast_infos = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<VastInfo>

getVastInfosOrBuilder(int index)

public DaiSession.Creative.VastInfoOrBuilder getVastInfosOrBuilder(int index)

Output only. The VAST infos that resulted in this creative.

repeated .google.ads.admanager.v1.DaiSession.Creative.VastInfo vast_infos = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
DaiSession.Creative.VastInfoOrBuilder

getVastInfosOrBuilderList()

public List<? extends DaiSession.Creative.VastInfoOrBuilder> getVastInfosOrBuilderList()

Output only. The VAST infos that resulted in this creative.

repeated .google.ads.admanager.v1.DaiSession.Creative.VastInfo vast_infos = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.ads.admanager.v1.DaiSession.Creative.VastInfoOrBuilder>

hasAdBuffet()

public boolean hasAdBuffet()

Output only. Whether this creative was from ad buffet.

optional bool ad_buffet = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the adBuffet field is set.

hasAdSystem()

public boolean hasAdSystem()

Output only. The ad system that provided this creative.

optional string ad_system = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the adSystem field is set.

hasDuration()

public boolean hasDuration()

Output only. Duration of the creative.

.google.protobuf.Duration duration = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the duration field is set.

hasIdType()

public boolean hasIdType()

Output only. The type of ID that is used to identify this creative.

optional .google.ads.admanager.v1.CreativeIdTypeEnum.CreativeIdType id_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the idType field is set.

hasIdValue()

public boolean hasIdValue()

Output only. The value for the given ID type.

optional string id_value = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the idValue field is set.

hasPodSequence()

public boolean hasPodSequence()

Output only. The index at which this creative appeared in the ad pod.

optional int32 pod_sequence = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the podSequence 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 DaiSession.Creative.Builder newBuilderForType()
Returns
Type Description
DaiSession.Creative.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

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

toBuilder()

public DaiSession.Creative.Builder toBuilder()
Returns
Type Description
DaiSession.Creative.Builder

writeTo(CodedOutputStream output)

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