Interface CompanionOrBuilder (0.7.0)

public interface CompanionOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAdResourceCase()

public abstract Companion.AdResourceCase getAdResourceCase()
Returns
TypeDescription
Companion.AdResourceCase

getAdSlotId()

public abstract String getAdSlotId()

The ID used to identify the desired placement on a publisher's page. Values to be used should be discussed between publishers and advertisers.

string ad_slot_id = 8;

Returns
TypeDescription
String

The adSlotId.

getAdSlotIdBytes()

public abstract ByteString getAdSlotIdBytes()

The ID used to identify the desired placement on a publisher's page. Values to be used should be discussed between publishers and advertisers.

string ad_slot_id = 8;

Returns
TypeDescription
ByteString

The bytes for adSlotId.

getApiFramework()

public abstract String getApiFramework()

The API necessary to communicate with the creative if available.

string api_framework = 1;

Returns
TypeDescription
String

The apiFramework.

getApiFrameworkBytes()

public abstract ByteString getApiFrameworkBytes()

The API necessary to communicate with the creative if available.

string api_framework = 1;

Returns
TypeDescription
ByteString

The bytes for apiFramework.

getAssetHeightPx()

public abstract int getAssetHeightPx()

The pixel height of the creative.

int32 asset_height_px = 4;

Returns
TypeDescription
int

The assetHeightPx.

getAssetWidthPx()

public abstract int getAssetWidthPx()

The pixel width of the creative.

int32 asset_width_px = 6;

Returns
TypeDescription
int

The assetWidthPx.

getEvents(int index)

public abstract Event getEvents(int index)

The list of tracking events for the companion.

repeated .google.cloud.video.stitcher.v1.Event events = 9;

Parameter
NameDescription
indexint
Returns
TypeDescription
Event

getEventsCount()

public abstract int getEventsCount()

The list of tracking events for the companion.

repeated .google.cloud.video.stitcher.v1.Event events = 9;

Returns
TypeDescription
int

getEventsList()

public abstract List<Event> getEventsList()

The list of tracking events for the companion.

repeated .google.cloud.video.stitcher.v1.Event events = 9;

Returns
TypeDescription
List<Event>

getEventsOrBuilder(int index)

public abstract EventOrBuilder getEventsOrBuilder(int index)

The list of tracking events for the companion.

repeated .google.cloud.video.stitcher.v1.Event events = 9;

Parameter
NameDescription
indexint
Returns
TypeDescription
EventOrBuilder

getEventsOrBuilderList()

public abstract List<? extends EventOrBuilder> getEventsOrBuilderList()

The list of tracking events for the companion.

repeated .google.cloud.video.stitcher.v1.Event events = 9;

Returns
TypeDescription
List<? extends com.google.cloud.video.stitcher.v1.EventOrBuilder>

getExpandedHeightPx()

public abstract int getExpandedHeightPx()

The maximum pixel height of the creative in its expanded state.

int32 expanded_height_px = 5;

Returns
TypeDescription
int

The expandedHeightPx.

getExpandedWidthPx()

public abstract int getExpandedWidthPx()

The maximum pixel width of the creative in its expanded state.

int32 expanded_width_px = 7;

Returns
TypeDescription
int

The expandedWidthPx.

getHeightPx()

public abstract int getHeightPx()

The pixel height of the placement slot for the intended creative.

int32 height_px = 2;

Returns
TypeDescription
int

The heightPx.

getHtmlAdResource()

public abstract HtmlAdResource getHtmlAdResource()

The HTML ad resource associated with the companion ad.

.google.cloud.video.stitcher.v1.HtmlAdResource html_ad_resource = 12;

Returns
TypeDescription
HtmlAdResource

The htmlAdResource.

getHtmlAdResourceOrBuilder()

public abstract HtmlAdResourceOrBuilder getHtmlAdResourceOrBuilder()

The HTML ad resource associated with the companion ad.

.google.cloud.video.stitcher.v1.HtmlAdResource html_ad_resource = 12;

Returns
TypeDescription
HtmlAdResourceOrBuilder

getIframeAdResource()

public abstract IframeAdResource getIframeAdResource()

The IFrame ad resource associated with the companion ad.

.google.cloud.video.stitcher.v1.IframeAdResource iframe_ad_resource = 10;

Returns
TypeDescription
IframeAdResource

The iframeAdResource.

getIframeAdResourceOrBuilder()

public abstract IframeAdResourceOrBuilder getIframeAdResourceOrBuilder()

The IFrame ad resource associated with the companion ad.

.google.cloud.video.stitcher.v1.IframeAdResource iframe_ad_resource = 10;

Returns
TypeDescription
IframeAdResourceOrBuilder

getStaticAdResource()

public abstract StaticAdResource getStaticAdResource()

The static ad resource associated with the companion ad.

.google.cloud.video.stitcher.v1.StaticAdResource static_ad_resource = 11;

Returns
TypeDescription
StaticAdResource

The staticAdResource.

getStaticAdResourceOrBuilder()

public abstract StaticAdResourceOrBuilder getStaticAdResourceOrBuilder()

The static ad resource associated with the companion ad.

.google.cloud.video.stitcher.v1.StaticAdResource static_ad_resource = 11;

Returns
TypeDescription
StaticAdResourceOrBuilder

getWidthPx()

public abstract int getWidthPx()

The pixel width of the placement slot for the intended creative.

int32 width_px = 3;

Returns
TypeDescription
int

The widthPx.

hasHtmlAdResource()

public abstract boolean hasHtmlAdResource()

The HTML ad resource associated with the companion ad.

.google.cloud.video.stitcher.v1.HtmlAdResource html_ad_resource = 12;

Returns
TypeDescription
boolean

Whether the htmlAdResource field is set.

hasIframeAdResource()

public abstract boolean hasIframeAdResource()

The IFrame ad resource associated with the companion ad.

.google.cloud.video.stitcher.v1.IframeAdResource iframe_ad_resource = 10;

Returns
TypeDescription
boolean

Whether the iframeAdResource field is set.

hasStaticAdResource()

public abstract boolean hasStaticAdResource()

The static ad resource associated with the companion ad.

.google.cloud.video.stitcher.v1.StaticAdResource static_ad_resource = 11;

Returns
TypeDescription
boolean

Whether the staticAdResource field is set.