public static final class DaiSession.Creative.Builder extends GeneratedMessage.Builder<DaiSession.Creative.Builder> implements DaiSession.CreativeOrBuilderInformation about a single creative.
Protobuf type google.ads.admanager.v1.DaiSession.Creative
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > DaiSession.Creative.BuilderImplements
DaiSession.CreativeOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllVastInfos(Iterable<? extends DaiSession.Creative.VastInfo> values)
public DaiSession.Creative.Builder addAllVastInfos(Iterable<? extends DaiSession.Creative.VastInfo> values)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 |
values |
Iterable<? extends com.google.ads.admanager.v1.DaiSession.Creative.VastInfo> |
| Returns | |
|---|---|
| Type | Description |
DaiSession.Creative.Builder |
|
addVastInfos(DaiSession.Creative.VastInfo value)
public DaiSession.Creative.Builder addVastInfos(DaiSession.Creative.VastInfo value)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 |
value |
DaiSession.Creative.VastInfo |
| Returns | |
|---|---|
| Type | Description |
DaiSession.Creative.Builder |
|
addVastInfos(DaiSession.Creative.VastInfo.Builder builderForValue)
public DaiSession.Creative.Builder addVastInfos(DaiSession.Creative.VastInfo.Builder builderForValue)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 |
builderForValue |
DaiSession.Creative.VastInfo.Builder |
| Returns | |
|---|---|
| Type | Description |
DaiSession.Creative.Builder |
|
addVastInfos(int index, DaiSession.Creative.VastInfo value)
public DaiSession.Creative.Builder addVastInfos(int index, DaiSession.Creative.VastInfo value)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];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
DaiSession.Creative.VastInfo |
| Returns | |
|---|---|
| Type | Description |
DaiSession.Creative.Builder |
|
addVastInfos(int index, DaiSession.Creative.VastInfo.Builder builderForValue)
public DaiSession.Creative.Builder addVastInfos(int index, DaiSession.Creative.VastInfo.Builder builderForValue)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];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
DaiSession.Creative.VastInfo.Builder |
| Returns | |
|---|---|
| Type | Description |
DaiSession.Creative.Builder |
|
addVastInfosBuilder()
public DaiSession.Creative.VastInfo.Builder addVastInfosBuilder()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 |
DaiSession.Creative.VastInfo.Builder |
|
addVastInfosBuilder(int index)
public DaiSession.Creative.VastInfo.Builder addVastInfosBuilder(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.Builder |
|
build()
public DaiSession.Creative build()| Returns | |
|---|---|
| Type | Description |
DaiSession.Creative |
|
buildPartial()
public DaiSession.Creative buildPartial()| Returns | |
|---|---|
| Type | Description |
DaiSession.Creative |
|
clear()
public DaiSession.Creative.Builder clear()| Returns | |
|---|---|
| Type | Description |
DaiSession.Creative.Builder |
|
clearAdBuffet()
public DaiSession.Creative.Builder clearAdBuffet()Output only. Whether this creative was from ad buffet.
optional bool ad_buffet = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
DaiSession.Creative.Builder |
This builder for chaining. |
clearAdSystem()
public DaiSession.Creative.Builder clearAdSystem()Output only. The ad system that provided this creative.
optional string ad_system = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
DaiSession.Creative.Builder |
This builder for chaining. |
clearDuration()
public DaiSession.Creative.Builder clearDuration()Output only. Duration of the creative.
.google.protobuf.Duration duration = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
DaiSession.Creative.Builder |
|
clearIdType()
public DaiSession.Creative.Builder clearIdType()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 |
DaiSession.Creative.Builder |
This builder for chaining. |
clearIdValue()
public DaiSession.Creative.Builder clearIdValue()Output only. The value for the given ID type.
optional string id_value = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
DaiSession.Creative.Builder |
This builder for chaining. |
clearPodSequence()
public DaiSession.Creative.Builder clearPodSequence()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 |
DaiSession.Creative.Builder |
This builder for chaining. |
clearVastInfos()
public DaiSession.Creative.Builder clearVastInfos()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 |
DaiSession.Creative.Builder |
|
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 |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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. |
getDurationBuilder()
public Duration.Builder getDurationBuilder()Output only. Duration of the creative.
.google.protobuf.Duration duration = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
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. |
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. |
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 |
|
getVastInfosBuilder(int index)
public DaiSession.Creative.VastInfo.Builder getVastInfosBuilder(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.Builder |
|
getVastInfosBuilderList()
public List<DaiSession.Creative.VastInfo.Builder> getVastInfosBuilderList()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<Builder> |
|
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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeDuration(Duration value)
public DaiSession.Creative.Builder mergeDuration(Duration value)Output only. Duration of the creative.
.google.protobuf.Duration duration = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Duration |
| Returns | |
|---|---|
| Type | Description |
DaiSession.Creative.Builder |
|
mergeFrom(DaiSession.Creative other)
public DaiSession.Creative.Builder mergeFrom(DaiSession.Creative other)| Parameter | |
|---|---|
| Name | Description |
other |
DaiSession.Creative |
| Returns | |
|---|---|
| Type | Description |
DaiSession.Creative.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DaiSession.Creative.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DaiSession.Creative.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public DaiSession.Creative.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
DaiSession.Creative.Builder |
|
removeVastInfos(int index)
public DaiSession.Creative.Builder removeVastInfos(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.Builder |
|
setAdBuffet(boolean value)
public DaiSession.Creative.Builder setAdBuffet(boolean value)Output only. Whether this creative was from ad buffet.
optional bool ad_buffet = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe adBuffet to set. |
| Returns | |
|---|---|
| Type | Description |
DaiSession.Creative.Builder |
This builder for chaining. |
setAdSystem(String value)
public DaiSession.Creative.Builder setAdSystem(String value)Output only. The ad system that provided this creative.
optional string ad_system = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe adSystem to set. |
| Returns | |
|---|---|
| Type | Description |
DaiSession.Creative.Builder |
This builder for chaining. |
setAdSystemBytes(ByteString value)
public DaiSession.Creative.Builder setAdSystemBytes(ByteString value)Output only. The ad system that provided this creative.
optional string ad_system = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for adSystem to set. |
| Returns | |
|---|---|
| Type | Description |
DaiSession.Creative.Builder |
This builder for chaining. |
setDuration(Duration value)
public DaiSession.Creative.Builder setDuration(Duration value)Output only. Duration of the creative.
.google.protobuf.Duration duration = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Duration |
| Returns | |
|---|---|
| Type | Description |
DaiSession.Creative.Builder |
|
setDuration(Duration.Builder builderForValue)
public DaiSession.Creative.Builder setDuration(Duration.Builder builderForValue)Output only. Duration of the creative.
.google.protobuf.Duration duration = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
DaiSession.Creative.Builder |
|
setIdType(CreativeIdTypeEnum.CreativeIdType value)
public DaiSession.Creative.Builder setIdType(CreativeIdTypeEnum.CreativeIdType value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
CreativeIdTypeEnum.CreativeIdTypeThe idType to set. |
| Returns | |
|---|---|
| Type | Description |
DaiSession.Creative.Builder |
This builder for chaining. |
setIdTypeValue(int value)
public DaiSession.Creative.Builder setIdTypeValue(int value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for idType to set. |
| Returns | |
|---|---|
| Type | Description |
DaiSession.Creative.Builder |
This builder for chaining. |
setIdValue(String value)
public DaiSession.Creative.Builder setIdValue(String value)Output only. The value for the given ID type.
optional string id_value = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe idValue to set. |
| Returns | |
|---|---|
| Type | Description |
DaiSession.Creative.Builder |
This builder for chaining. |
setIdValueBytes(ByteString value)
public DaiSession.Creative.Builder setIdValueBytes(ByteString value)Output only. The value for the given ID type.
optional string id_value = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for idValue to set. |
| Returns | |
|---|---|
| Type | Description |
DaiSession.Creative.Builder |
This builder for chaining. |
setPodSequence(int value)
public DaiSession.Creative.Builder setPodSequence(int value)Output only. The index at which this creative appeared in the ad pod.
optional int32 pod_sequence = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe podSequence to set. |
| Returns | |
|---|---|
| Type | Description |
DaiSession.Creative.Builder |
This builder for chaining. |
setVastInfos(int index, DaiSession.Creative.VastInfo value)
public DaiSession.Creative.Builder setVastInfos(int index, DaiSession.Creative.VastInfo value)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];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
DaiSession.Creative.VastInfo |
| Returns | |
|---|---|
| Type | Description |
DaiSession.Creative.Builder |
|
setVastInfos(int index, DaiSession.Creative.VastInfo.Builder builderForValue)
public DaiSession.Creative.Builder setVastInfos(int index, DaiSession.Creative.VastInfo.Builder builderForValue)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];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
DaiSession.Creative.VastInfo.Builder |
| Returns | |
|---|---|
| Type | Description |
DaiSession.Creative.Builder |
|