Interface CompanionOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Companion
,Companion.Builder
public interface CompanionOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Companion.AdResourceCase
getAdResourceCase()
String
getAdSlotId()
The ID used to identify the desired placement on a publisher's page.com.google.protobuf.ByteString
getAdSlotIdBytes()
The ID used to identify the desired placement on a publisher's page.String
getApiFramework()
The API necessary to communicate with the creative if available.com.google.protobuf.ByteString
getApiFrameworkBytes()
The API necessary to communicate with the creative if available.int
getAssetHeightPx()
The pixel height of the creative.int
getAssetWidthPx()
The pixel width of the creative.Event
getEvents(int index)
The list of tracking events for the companion.int
getEventsCount()
The list of tracking events for the companion.List<Event>
getEventsList()
The list of tracking events for the companion.EventOrBuilder
getEventsOrBuilder(int index)
The list of tracking events for the companion.List<? extends EventOrBuilder>
getEventsOrBuilderList()
The list of tracking events for the companion.int
getExpandedHeightPx()
The maximum pixel height of the creative in its expanded state.int
getExpandedWidthPx()
The maximum pixel width of the creative in its expanded state.int
getHeightPx()
The pixel height of the placement slot for the intended creative.HtmlAdResource
getHtmlAdResource()
The HTML ad resource associated with the companion ad.HtmlAdResourceOrBuilder
getHtmlAdResourceOrBuilder()
The HTML ad resource associated with the companion ad.IframeAdResource
getIframeAdResource()
The IFrame ad resource associated with the companion ad.IframeAdResourceOrBuilder
getIframeAdResourceOrBuilder()
The IFrame ad resource associated with the companion ad.StaticAdResource
getStaticAdResource()
The static ad resource associated with the companion ad.StaticAdResourceOrBuilder
getStaticAdResourceOrBuilder()
The static ad resource associated with the companion ad.int
getWidthPx()
The pixel width of the placement slot for the intended creative.boolean
hasHtmlAdResource()
The HTML ad resource associated with the companion ad.boolean
hasIframeAdResource()
The IFrame ad resource associated with the companion ad.boolean
hasStaticAdResource()
The static ad resource associated with the companion ad.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasIframeAdResource
boolean hasIframeAdResource()
The IFrame ad resource associated with the companion ad.
.google.cloud.video.stitcher.v1.IframeAdResource iframe_ad_resource = 10;
- Returns:
- Whether the iframeAdResource field is set.
-
getIframeAdResource
IframeAdResource getIframeAdResource()
The IFrame ad resource associated with the companion ad.
.google.cloud.video.stitcher.v1.IframeAdResource iframe_ad_resource = 10;
- Returns:
- The iframeAdResource.
-
getIframeAdResourceOrBuilder
IframeAdResourceOrBuilder getIframeAdResourceOrBuilder()
The IFrame ad resource associated with the companion ad.
.google.cloud.video.stitcher.v1.IframeAdResource iframe_ad_resource = 10;
-
hasStaticAdResource
boolean hasStaticAdResource()
The static ad resource associated with the companion ad.
.google.cloud.video.stitcher.v1.StaticAdResource static_ad_resource = 11;
- Returns:
- Whether the staticAdResource field is set.
-
getStaticAdResource
StaticAdResource getStaticAdResource()
The static ad resource associated with the companion ad.
.google.cloud.video.stitcher.v1.StaticAdResource static_ad_resource = 11;
- Returns:
- The staticAdResource.
-
getStaticAdResourceOrBuilder
StaticAdResourceOrBuilder getStaticAdResourceOrBuilder()
The static ad resource associated with the companion ad.
.google.cloud.video.stitcher.v1.StaticAdResource static_ad_resource = 11;
-
hasHtmlAdResource
boolean hasHtmlAdResource()
The HTML ad resource associated with the companion ad.
.google.cloud.video.stitcher.v1.HtmlAdResource html_ad_resource = 12;
- Returns:
- Whether the htmlAdResource field is set.
-
getHtmlAdResource
HtmlAdResource getHtmlAdResource()
The HTML ad resource associated with the companion ad.
.google.cloud.video.stitcher.v1.HtmlAdResource html_ad_resource = 12;
- Returns:
- The htmlAdResource.
-
getHtmlAdResourceOrBuilder
HtmlAdResourceOrBuilder getHtmlAdResourceOrBuilder()
The HTML ad resource associated with the companion ad.
.google.cloud.video.stitcher.v1.HtmlAdResource html_ad_resource = 12;
-
getApiFramework
String getApiFramework()
The API necessary to communicate with the creative if available.
string api_framework = 1;
- Returns:
- The apiFramework.
-
getApiFrameworkBytes
com.google.protobuf.ByteString getApiFrameworkBytes()
The API necessary to communicate with the creative if available.
string api_framework = 1;
- Returns:
- The bytes for apiFramework.
-
getHeightPx
int getHeightPx()
The pixel height of the placement slot for the intended creative.
int32 height_px = 2;
- Returns:
- The heightPx.
-
getWidthPx
int getWidthPx()
The pixel width of the placement slot for the intended creative.
int32 width_px = 3;
- Returns:
- The widthPx.
-
getAssetHeightPx
int getAssetHeightPx()
The pixel height of the creative.
int32 asset_height_px = 4;
- Returns:
- The assetHeightPx.
-
getExpandedHeightPx
int getExpandedHeightPx()
The maximum pixel height of the creative in its expanded state.
int32 expanded_height_px = 5;
- Returns:
- The expandedHeightPx.
-
getAssetWidthPx
int getAssetWidthPx()
The pixel width of the creative.
int32 asset_width_px = 6;
- Returns:
- The assetWidthPx.
-
getExpandedWidthPx
int getExpandedWidthPx()
The maximum pixel width of the creative in its expanded state.
int32 expanded_width_px = 7;
- Returns:
- The expandedWidthPx.
-
getAdSlotId
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:
- The adSlotId.
-
getAdSlotIdBytes
com.google.protobuf.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:
- The bytes for adSlotId.
-
getEventsList
List<Event> getEventsList()
The list of tracking events for the companion.
repeated .google.cloud.video.stitcher.v1.Event events = 9;
-
getEvents
Event getEvents(int index)
The list of tracking events for the companion.
repeated .google.cloud.video.stitcher.v1.Event events = 9;
-
getEventsCount
int getEventsCount()
The list of tracking events for the companion.
repeated .google.cloud.video.stitcher.v1.Event events = 9;
-
getEventsOrBuilderList
List<? extends EventOrBuilder> getEventsOrBuilderList()
The list of tracking events for the companion.
repeated .google.cloud.video.stitcher.v1.Event events = 9;
-
getEventsOrBuilder
EventOrBuilder getEventsOrBuilder(int index)
The list of tracking events for the companion.
repeated .google.cloud.video.stitcher.v1.Event events = 9;
-
getAdResourceCase
Companion.AdResourceCase getAdResourceCase()
-
-