Class DaiSession.Creative.VastInfo.Builder (0.58.0)

public static final class DaiSession.Creative.VastInfo.Builder extends GeneratedMessage.Builder<DaiSession.Creative.VastInfo.Builder> implements DaiSession.Creative.VastInfoOrBuilder

Details about a single VAST info.

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

Static Methods

getDescriptor()

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

Methods

build()

public DaiSession.Creative.VastInfo build()
Returns
Type Description
DaiSession.Creative.VastInfo

buildPartial()

public DaiSession.Creative.VastInfo buildPartial()
Returns
Type Description
DaiSession.Creative.VastInfo

clear()

public DaiSession.Creative.VastInfo.Builder clear()
Returns
Type Description
DaiSession.Creative.VastInfo.Builder
Overrides

clearAdSystem()

public DaiSession.Creative.VastInfo.Builder clearAdSystem()

Output only. Value of VAST/Ad/InLine/AdSystem.

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

Returns
Type Description
DaiSession.Creative.VastInfo.Builder

This builder for chaining.

clearAdSystemVersion()

public DaiSession.Creative.VastInfo.Builder clearAdSystemVersion()

Output only. Version attribute from VAST/Ad/InLine/AdSystem.

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

Returns
Type Description
DaiSession.Creative.VastInfo.Builder

This builder for chaining.

clearAdTitle()

public DaiSession.Creative.VastInfo.Builder clearAdTitle()

Output only. Value of VAST/Ad/InLine/AdTitle.

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

Returns
Type Description
DaiSession.Creative.VastInfo.Builder

This builder for chaining.

clearCreativeId()

public DaiSession.Creative.VastInfo.Builder clearCreativeId()

Output only. The id attribute from VAST/Ad/InLine/Creatives/Creative.

optional string creative_id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DaiSession.Creative.VastInfo.Builder

This builder for chaining.

clearDescription()

public DaiSession.Creative.VastInfo.Builder clearDescription()

Output only. Value of VAST/Ad/InLine/Description.

optional string description = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DaiSession.Creative.VastInfo.Builder

This builder for chaining.

getAdSystem()

public String getAdSystem()

Output only. Value of VAST/Ad/InLine/AdSystem.

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

Returns
Type Description
String

The adSystem.

getAdSystemBytes()

public ByteString getAdSystemBytes()

Output only. Value of VAST/Ad/InLine/AdSystem.

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

Returns
Type Description
ByteString

The bytes for adSystem.

getAdSystemVersion()

public String getAdSystemVersion()

Output only. Version attribute from VAST/Ad/InLine/AdSystem.

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

Returns
Type Description
String

The adSystemVersion.

getAdSystemVersionBytes()

public ByteString getAdSystemVersionBytes()

Output only. Version attribute from VAST/Ad/InLine/AdSystem.

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

Returns
Type Description
ByteString

The bytes for adSystemVersion.

getAdTitle()

public String getAdTitle()

Output only. Value of VAST/Ad/InLine/AdTitle.

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

Returns
Type Description
String

The adTitle.

getAdTitleBytes()

public ByteString getAdTitleBytes()

Output only. Value of VAST/Ad/InLine/AdTitle.

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

Returns
Type Description
ByteString

The bytes for adTitle.

getCreativeId()

public String getCreativeId()

Output only. The id attribute from VAST/Ad/InLine/Creatives/Creative.

optional string creative_id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The creativeId.

getCreativeIdBytes()

public ByteString getCreativeIdBytes()

Output only. The id attribute from VAST/Ad/InLine/Creatives/Creative.

optional string creative_id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for creativeId.

getDefaultInstanceForType()

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

getDescription()

public String getDescription()

Output only. Value of VAST/Ad/InLine/Description.

optional string description = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

Output only. Value of VAST/Ad/InLine/Description.

optional string description = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for description.

getDescriptorForType()

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

hasAdSystem()

public boolean hasAdSystem()

Output only. Value of VAST/Ad/InLine/AdSystem.

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

Returns
Type Description
boolean

Whether the adSystem field is set.

hasAdSystemVersion()

public boolean hasAdSystemVersion()

Output only. Version attribute from VAST/Ad/InLine/AdSystem.

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

Returns
Type Description
boolean

Whether the adSystemVersion field is set.

hasAdTitle()

public boolean hasAdTitle()

Output only. Value of VAST/Ad/InLine/AdTitle.

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

Returns
Type Description
boolean

Whether the adTitle field is set.

hasCreativeId()

public boolean hasCreativeId()

Output only. The id attribute from VAST/Ad/InLine/Creatives/Creative.

optional string creative_id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the creativeId field is set.

hasDescription()

public boolean hasDescription()

Output only. Value of VAST/Ad/InLine/Description.

optional string description = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the description field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DaiSession.Creative.VastInfo other)

public DaiSession.Creative.VastInfo.Builder mergeFrom(DaiSession.Creative.VastInfo other)
Parameter
Name Description
other DaiSession.Creative.VastInfo
Returns
Type Description
DaiSession.Creative.VastInfo.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public DaiSession.Creative.VastInfo.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
DaiSession.Creative.VastInfo.Builder
Overrides

setAdSystem(String value)

public DaiSession.Creative.VastInfo.Builder setAdSystem(String value)

Output only. Value of VAST/Ad/InLine/AdSystem.

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

Parameter
Name Description
value String

The adSystem to set.

Returns
Type Description
DaiSession.Creative.VastInfo.Builder

This builder for chaining.

setAdSystemBytes(ByteString value)

public DaiSession.Creative.VastInfo.Builder setAdSystemBytes(ByteString value)

Output only. Value of VAST/Ad/InLine/AdSystem.

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

Parameter
Name Description
value ByteString

The bytes for adSystem to set.

Returns
Type Description
DaiSession.Creative.VastInfo.Builder

This builder for chaining.

setAdSystemVersion(String value)

public DaiSession.Creative.VastInfo.Builder setAdSystemVersion(String value)

Output only. Version attribute from VAST/Ad/InLine/AdSystem.

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

Parameter
Name Description
value String

The adSystemVersion to set.

Returns
Type Description
DaiSession.Creative.VastInfo.Builder

This builder for chaining.

setAdSystemVersionBytes(ByteString value)

public DaiSession.Creative.VastInfo.Builder setAdSystemVersionBytes(ByteString value)

Output only. Version attribute from VAST/Ad/InLine/AdSystem.

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

Parameter
Name Description
value ByteString

The bytes for adSystemVersion to set.

Returns
Type Description
DaiSession.Creative.VastInfo.Builder

This builder for chaining.

setAdTitle(String value)

public DaiSession.Creative.VastInfo.Builder setAdTitle(String value)

Output only. Value of VAST/Ad/InLine/AdTitle.

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

Parameter
Name Description
value String

The adTitle to set.

Returns
Type Description
DaiSession.Creative.VastInfo.Builder

This builder for chaining.

setAdTitleBytes(ByteString value)

public DaiSession.Creative.VastInfo.Builder setAdTitleBytes(ByteString value)

Output only. Value of VAST/Ad/InLine/AdTitle.

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

Parameter
Name Description
value ByteString

The bytes for adTitle to set.

Returns
Type Description
DaiSession.Creative.VastInfo.Builder

This builder for chaining.

setCreativeId(String value)

public DaiSession.Creative.VastInfo.Builder setCreativeId(String value)

Output only. The id attribute from VAST/Ad/InLine/Creatives/Creative.

optional string creative_id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The creativeId to set.

Returns
Type Description
DaiSession.Creative.VastInfo.Builder

This builder for chaining.

setCreativeIdBytes(ByteString value)

public DaiSession.Creative.VastInfo.Builder setCreativeIdBytes(ByteString value)

Output only. The id attribute from VAST/Ad/InLine/Creatives/Creative.

optional string creative_id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for creativeId to set.

Returns
Type Description
DaiSession.Creative.VastInfo.Builder

This builder for chaining.

setDescription(String value)

public DaiSession.Creative.VastInfo.Builder setDescription(String value)

Output only. Value of VAST/Ad/InLine/Description.

optional string description = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The description to set.

Returns
Type Description
DaiSession.Creative.VastInfo.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public DaiSession.Creative.VastInfo.Builder setDescriptionBytes(ByteString value)

Output only. Value of VAST/Ad/InLine/Description.

optional string description = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for description to set.

Returns
Type Description
DaiSession.Creative.VastInfo.Builder

This builder for chaining.