Class Companion.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Companion.Builder>
-
- com.google.cloud.video.stitcher.v1.Companion.Builder
-
- All Implemented Interfaces:
CompanionOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- Companion
public static final class Companion.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Companion.Builder> implements CompanionOrBuilder
Metadata for a companion.
Protobuf typegoogle.cloud.video.stitcher.v1.Companion
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Companion.Builder
addAllEvents(Iterable<? extends Event> values)
The list of tracking events for the companion.Companion.Builder
addEvents(int index, Event value)
The list of tracking events for the companion.Companion.Builder
addEvents(int index, Event.Builder builderForValue)
The list of tracking events for the companion.Companion.Builder
addEvents(Event value)
The list of tracking events for the companion.Companion.Builder
addEvents(Event.Builder builderForValue)
The list of tracking events for the companion.Event.Builder
addEventsBuilder()
The list of tracking events for the companion.Event.Builder
addEventsBuilder(int index)
The list of tracking events for the companion.Companion.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Companion
build()
Companion
buildPartial()
Companion.Builder
clear()
Companion.Builder
clearAdResource()
Companion.Builder
clearAdSlotId()
The ID used to identify the desired placement on a publisher's page.Companion.Builder
clearApiFramework()
The API necessary to communicate with the creative if available.Companion.Builder
clearAssetHeightPx()
The pixel height of the creative.Companion.Builder
clearAssetWidthPx()
The pixel width of the creative.Companion.Builder
clearEvents()
The list of tracking events for the companion.Companion.Builder
clearExpandedHeightPx()
The maximum pixel height of the creative in its expanded state.Companion.Builder
clearExpandedWidthPx()
The maximum pixel width of the creative in its expanded state.Companion.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Companion.Builder
clearHeightPx()
The pixel height of the placement slot for the intended creative.Companion.Builder
clearHtmlAdResource()
The HTML ad resource associated with the companion ad.Companion.Builder
clearIframeAdResource()
The IFrame ad resource associated with the companion ad.Companion.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Companion.Builder
clearStaticAdResource()
The static ad resource associated with the companion ad.Companion.Builder
clearWidthPx()
The pixel width of the placement slot for the intended creative.Companion.Builder
clone()
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.Companion
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
Event
getEvents(int index)
The list of tracking events for the companion.Event.Builder
getEventsBuilder(int index)
The list of tracking events for the companion.List<Event.Builder>
getEventsBuilderList()
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.HtmlAdResource.Builder
getHtmlAdResourceBuilder()
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.IframeAdResource.Builder
getIframeAdResourceBuilder()
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.StaticAdResource.Builder
getStaticAdResourceBuilder()
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.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
Companion.Builder
mergeFrom(Companion other)
Companion.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Companion.Builder
mergeFrom(com.google.protobuf.Message other)
Companion.Builder
mergeHtmlAdResource(HtmlAdResource value)
The HTML ad resource associated with the companion ad.Companion.Builder
mergeIframeAdResource(IframeAdResource value)
The IFrame ad resource associated with the companion ad.Companion.Builder
mergeStaticAdResource(StaticAdResource value)
The static ad resource associated with the companion ad.Companion.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Companion.Builder
removeEvents(int index)
The list of tracking events for the companion.Companion.Builder
setAdSlotId(String value)
The ID used to identify the desired placement on a publisher's page.Companion.Builder
setAdSlotIdBytes(com.google.protobuf.ByteString value)
The ID used to identify the desired placement on a publisher's page.Companion.Builder
setApiFramework(String value)
The API necessary to communicate with the creative if available.Companion.Builder
setApiFrameworkBytes(com.google.protobuf.ByteString value)
The API necessary to communicate with the creative if available.Companion.Builder
setAssetHeightPx(int value)
The pixel height of the creative.Companion.Builder
setAssetWidthPx(int value)
The pixel width of the creative.Companion.Builder
setEvents(int index, Event value)
The list of tracking events for the companion.Companion.Builder
setEvents(int index, Event.Builder builderForValue)
The list of tracking events for the companion.Companion.Builder
setExpandedHeightPx(int value)
The maximum pixel height of the creative in its expanded state.Companion.Builder
setExpandedWidthPx(int value)
The maximum pixel width of the creative in its expanded state.Companion.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Companion.Builder
setHeightPx(int value)
The pixel height of the placement slot for the intended creative.Companion.Builder
setHtmlAdResource(HtmlAdResource value)
The HTML ad resource associated with the companion ad.Companion.Builder
setHtmlAdResource(HtmlAdResource.Builder builderForValue)
The HTML ad resource associated with the companion ad.Companion.Builder
setIframeAdResource(IframeAdResource value)
The IFrame ad resource associated with the companion ad.Companion.Builder
setIframeAdResource(IframeAdResource.Builder builderForValue)
The IFrame ad resource associated with the companion ad.Companion.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
Companion.Builder
setStaticAdResource(StaticAdResource value)
The static ad resource associated with the companion ad.Companion.Builder
setStaticAdResource(StaticAdResource.Builder builderForValue)
The static ad resource associated with the companion ad.Companion.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Companion.Builder
setWidthPx(int value)
The pixel width of the placement slot for the intended creative.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Companion.Builder>
-
clear
public Companion.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Companion.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Companion.Builder>
-
getDefaultInstanceForType
public Companion getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Companion build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Companion buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Companion.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<Companion.Builder>
-
setField
public Companion.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Companion.Builder>
-
clearField
public Companion.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Companion.Builder>
-
clearOneof
public Companion.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Companion.Builder>
-
setRepeatedField
public Companion.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Companion.Builder>
-
addRepeatedField
public Companion.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Companion.Builder>
-
mergeFrom
public Companion.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Companion.Builder>
-
mergeFrom
public Companion.Builder mergeFrom(Companion other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Companion.Builder>
-
mergeFrom
public Companion.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Companion.Builder>
- Throws:
IOException
-
getAdResourceCase
public Companion.AdResourceCase getAdResourceCase()
- Specified by:
getAdResourceCase
in interfaceCompanionOrBuilder
-
clearAdResource
public Companion.Builder clearAdResource()
-
hasIframeAdResource
public boolean hasIframeAdResource()
The IFrame ad resource associated with the companion ad.
.google.cloud.video.stitcher.v1.IframeAdResource iframe_ad_resource = 10;
- Specified by:
hasIframeAdResource
in interfaceCompanionOrBuilder
- Returns:
- Whether the iframeAdResource field is set.
-
getIframeAdResource
public IframeAdResource getIframeAdResource()
The IFrame ad resource associated with the companion ad.
.google.cloud.video.stitcher.v1.IframeAdResource iframe_ad_resource = 10;
- Specified by:
getIframeAdResource
in interfaceCompanionOrBuilder
- Returns:
- The iframeAdResource.
-
setIframeAdResource
public Companion.Builder setIframeAdResource(IframeAdResource value)
The IFrame ad resource associated with the companion ad.
.google.cloud.video.stitcher.v1.IframeAdResource iframe_ad_resource = 10;
-
setIframeAdResource
public Companion.Builder setIframeAdResource(IframeAdResource.Builder builderForValue)
The IFrame ad resource associated with the companion ad.
.google.cloud.video.stitcher.v1.IframeAdResource iframe_ad_resource = 10;
-
mergeIframeAdResource
public Companion.Builder mergeIframeAdResource(IframeAdResource value)
The IFrame ad resource associated with the companion ad.
.google.cloud.video.stitcher.v1.IframeAdResource iframe_ad_resource = 10;
-
clearIframeAdResource
public Companion.Builder clearIframeAdResource()
The IFrame ad resource associated with the companion ad.
.google.cloud.video.stitcher.v1.IframeAdResource iframe_ad_resource = 10;
-
getIframeAdResourceBuilder
public IframeAdResource.Builder getIframeAdResourceBuilder()
The IFrame ad resource associated with the companion ad.
.google.cloud.video.stitcher.v1.IframeAdResource iframe_ad_resource = 10;
-
getIframeAdResourceOrBuilder
public IframeAdResourceOrBuilder getIframeAdResourceOrBuilder()
The IFrame ad resource associated with the companion ad.
.google.cloud.video.stitcher.v1.IframeAdResource iframe_ad_resource = 10;
- Specified by:
getIframeAdResourceOrBuilder
in interfaceCompanionOrBuilder
-
hasStaticAdResource
public boolean hasStaticAdResource()
The static ad resource associated with the companion ad.
.google.cloud.video.stitcher.v1.StaticAdResource static_ad_resource = 11;
- Specified by:
hasStaticAdResource
in interfaceCompanionOrBuilder
- Returns:
- Whether the staticAdResource field is set.
-
getStaticAdResource
public StaticAdResource getStaticAdResource()
The static ad resource associated with the companion ad.
.google.cloud.video.stitcher.v1.StaticAdResource static_ad_resource = 11;
- Specified by:
getStaticAdResource
in interfaceCompanionOrBuilder
- Returns:
- The staticAdResource.
-
setStaticAdResource
public Companion.Builder setStaticAdResource(StaticAdResource value)
The static ad resource associated with the companion ad.
.google.cloud.video.stitcher.v1.StaticAdResource static_ad_resource = 11;
-
setStaticAdResource
public Companion.Builder setStaticAdResource(StaticAdResource.Builder builderForValue)
The static ad resource associated with the companion ad.
.google.cloud.video.stitcher.v1.StaticAdResource static_ad_resource = 11;
-
mergeStaticAdResource
public Companion.Builder mergeStaticAdResource(StaticAdResource value)
The static ad resource associated with the companion ad.
.google.cloud.video.stitcher.v1.StaticAdResource static_ad_resource = 11;
-
clearStaticAdResource
public Companion.Builder clearStaticAdResource()
The static ad resource associated with the companion ad.
.google.cloud.video.stitcher.v1.StaticAdResource static_ad_resource = 11;
-
getStaticAdResourceBuilder
public StaticAdResource.Builder getStaticAdResourceBuilder()
The static ad resource associated with the companion ad.
.google.cloud.video.stitcher.v1.StaticAdResource static_ad_resource = 11;
-
getStaticAdResourceOrBuilder
public StaticAdResourceOrBuilder getStaticAdResourceOrBuilder()
The static ad resource associated with the companion ad.
.google.cloud.video.stitcher.v1.StaticAdResource static_ad_resource = 11;
- Specified by:
getStaticAdResourceOrBuilder
in interfaceCompanionOrBuilder
-
hasHtmlAdResource
public boolean hasHtmlAdResource()
The HTML ad resource associated with the companion ad.
.google.cloud.video.stitcher.v1.HtmlAdResource html_ad_resource = 12;
- Specified by:
hasHtmlAdResource
in interfaceCompanionOrBuilder
- Returns:
- Whether the htmlAdResource field is set.
-
getHtmlAdResource
public HtmlAdResource getHtmlAdResource()
The HTML ad resource associated with the companion ad.
.google.cloud.video.stitcher.v1.HtmlAdResource html_ad_resource = 12;
- Specified by:
getHtmlAdResource
in interfaceCompanionOrBuilder
- Returns:
- The htmlAdResource.
-
setHtmlAdResource
public Companion.Builder setHtmlAdResource(HtmlAdResource value)
The HTML ad resource associated with the companion ad.
.google.cloud.video.stitcher.v1.HtmlAdResource html_ad_resource = 12;
-
setHtmlAdResource
public Companion.Builder setHtmlAdResource(HtmlAdResource.Builder builderForValue)
The HTML ad resource associated with the companion ad.
.google.cloud.video.stitcher.v1.HtmlAdResource html_ad_resource = 12;
-
mergeHtmlAdResource
public Companion.Builder mergeHtmlAdResource(HtmlAdResource value)
The HTML ad resource associated with the companion ad.
.google.cloud.video.stitcher.v1.HtmlAdResource html_ad_resource = 12;
-
clearHtmlAdResource
public Companion.Builder clearHtmlAdResource()
The HTML ad resource associated with the companion ad.
.google.cloud.video.stitcher.v1.HtmlAdResource html_ad_resource = 12;
-
getHtmlAdResourceBuilder
public HtmlAdResource.Builder getHtmlAdResourceBuilder()
The HTML ad resource associated with the companion ad.
.google.cloud.video.stitcher.v1.HtmlAdResource html_ad_resource = 12;
-
getHtmlAdResourceOrBuilder
public HtmlAdResourceOrBuilder getHtmlAdResourceOrBuilder()
The HTML ad resource associated with the companion ad.
.google.cloud.video.stitcher.v1.HtmlAdResource html_ad_resource = 12;
- Specified by:
getHtmlAdResourceOrBuilder
in interfaceCompanionOrBuilder
-
getApiFramework
public String getApiFramework()
The API necessary to communicate with the creative if available.
string api_framework = 1;
- Specified by:
getApiFramework
in interfaceCompanionOrBuilder
- Returns:
- The apiFramework.
-
getApiFrameworkBytes
public com.google.protobuf.ByteString getApiFrameworkBytes()
The API necessary to communicate with the creative if available.
string api_framework = 1;
- Specified by:
getApiFrameworkBytes
in interfaceCompanionOrBuilder
- Returns:
- The bytes for apiFramework.
-
setApiFramework
public Companion.Builder setApiFramework(String value)
The API necessary to communicate with the creative if available.
string api_framework = 1;
- Parameters:
value
- The apiFramework to set.- Returns:
- This builder for chaining.
-
clearApiFramework
public Companion.Builder clearApiFramework()
The API necessary to communicate with the creative if available.
string api_framework = 1;
- Returns:
- This builder for chaining.
-
setApiFrameworkBytes
public Companion.Builder setApiFrameworkBytes(com.google.protobuf.ByteString value)
The API necessary to communicate with the creative if available.
string api_framework = 1;
- Parameters:
value
- The bytes for apiFramework to set.- Returns:
- This builder for chaining.
-
getHeightPx
public int getHeightPx()
The pixel height of the placement slot for the intended creative.
int32 height_px = 2;
- Specified by:
getHeightPx
in interfaceCompanionOrBuilder
- Returns:
- The heightPx.
-
setHeightPx
public Companion.Builder setHeightPx(int value)
The pixel height of the placement slot for the intended creative.
int32 height_px = 2;
- Parameters:
value
- The heightPx to set.- Returns:
- This builder for chaining.
-
clearHeightPx
public Companion.Builder clearHeightPx()
The pixel height of the placement slot for the intended creative.
int32 height_px = 2;
- Returns:
- This builder for chaining.
-
getWidthPx
public int getWidthPx()
The pixel width of the placement slot for the intended creative.
int32 width_px = 3;
- Specified by:
getWidthPx
in interfaceCompanionOrBuilder
- Returns:
- The widthPx.
-
setWidthPx
public Companion.Builder setWidthPx(int value)
The pixel width of the placement slot for the intended creative.
int32 width_px = 3;
- Parameters:
value
- The widthPx to set.- Returns:
- This builder for chaining.
-
clearWidthPx
public Companion.Builder clearWidthPx()
The pixel width of the placement slot for the intended creative.
int32 width_px = 3;
- Returns:
- This builder for chaining.
-
getAssetHeightPx
public int getAssetHeightPx()
The pixel height of the creative.
int32 asset_height_px = 4;
- Specified by:
getAssetHeightPx
in interfaceCompanionOrBuilder
- Returns:
- The assetHeightPx.
-
setAssetHeightPx
public Companion.Builder setAssetHeightPx(int value)
The pixel height of the creative.
int32 asset_height_px = 4;
- Parameters:
value
- The assetHeightPx to set.- Returns:
- This builder for chaining.
-
clearAssetHeightPx
public Companion.Builder clearAssetHeightPx()
The pixel height of the creative.
int32 asset_height_px = 4;
- Returns:
- This builder for chaining.
-
getExpandedHeightPx
public int getExpandedHeightPx()
The maximum pixel height of the creative in its expanded state.
int32 expanded_height_px = 5;
- Specified by:
getExpandedHeightPx
in interfaceCompanionOrBuilder
- Returns:
- The expandedHeightPx.
-
setExpandedHeightPx
public Companion.Builder setExpandedHeightPx(int value)
The maximum pixel height of the creative in its expanded state.
int32 expanded_height_px = 5;
- Parameters:
value
- The expandedHeightPx to set.- Returns:
- This builder for chaining.
-
clearExpandedHeightPx
public Companion.Builder clearExpandedHeightPx()
The maximum pixel height of the creative in its expanded state.
int32 expanded_height_px = 5;
- Returns:
- This builder for chaining.
-
getAssetWidthPx
public int getAssetWidthPx()
The pixel width of the creative.
int32 asset_width_px = 6;
- Specified by:
getAssetWidthPx
in interfaceCompanionOrBuilder
- Returns:
- The assetWidthPx.
-
setAssetWidthPx
public Companion.Builder setAssetWidthPx(int value)
The pixel width of the creative.
int32 asset_width_px = 6;
- Parameters:
value
- The assetWidthPx to set.- Returns:
- This builder for chaining.
-
clearAssetWidthPx
public Companion.Builder clearAssetWidthPx()
The pixel width of the creative.
int32 asset_width_px = 6;
- Returns:
- This builder for chaining.
-
getExpandedWidthPx
public int getExpandedWidthPx()
The maximum pixel width of the creative in its expanded state.
int32 expanded_width_px = 7;
- Specified by:
getExpandedWidthPx
in interfaceCompanionOrBuilder
- Returns:
- The expandedWidthPx.
-
setExpandedWidthPx
public Companion.Builder setExpandedWidthPx(int value)
The maximum pixel width of the creative in its expanded state.
int32 expanded_width_px = 7;
- Parameters:
value
- The expandedWidthPx to set.- Returns:
- This builder for chaining.
-
clearExpandedWidthPx
public Companion.Builder clearExpandedWidthPx()
The maximum pixel width of the creative in its expanded state.
int32 expanded_width_px = 7;
- Returns:
- This builder for chaining.
-
getAdSlotId
public 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;
- Specified by:
getAdSlotId
in interfaceCompanionOrBuilder
- Returns:
- The adSlotId.
-
getAdSlotIdBytes
public 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;
- Specified by:
getAdSlotIdBytes
in interfaceCompanionOrBuilder
- Returns:
- The bytes for adSlotId.
-
setAdSlotId
public Companion.Builder setAdSlotId(String value)
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;
- Parameters:
value
- The adSlotId to set.- Returns:
- This builder for chaining.
-
clearAdSlotId
public Companion.Builder clearAdSlotId()
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:
- This builder for chaining.
-
setAdSlotIdBytes
public Companion.Builder setAdSlotIdBytes(com.google.protobuf.ByteString value)
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;
- Parameters:
value
- The bytes for adSlotId to set.- Returns:
- This builder for chaining.
-
getEventsList
public List<Event> getEventsList()
The list of tracking events for the companion.
repeated .google.cloud.video.stitcher.v1.Event events = 9;
- Specified by:
getEventsList
in interfaceCompanionOrBuilder
-
getEventsCount
public int getEventsCount()
The list of tracking events for the companion.
repeated .google.cloud.video.stitcher.v1.Event events = 9;
- Specified by:
getEventsCount
in interfaceCompanionOrBuilder
-
getEvents
public Event getEvents(int index)
The list of tracking events for the companion.
repeated .google.cloud.video.stitcher.v1.Event events = 9;
- Specified by:
getEvents
in interfaceCompanionOrBuilder
-
setEvents
public Companion.Builder setEvents(int index, Event value)
The list of tracking events for the companion.
repeated .google.cloud.video.stitcher.v1.Event events = 9;
-
setEvents
public Companion.Builder setEvents(int index, Event.Builder builderForValue)
The list of tracking events for the companion.
repeated .google.cloud.video.stitcher.v1.Event events = 9;
-
addEvents
public Companion.Builder addEvents(Event value)
The list of tracking events for the companion.
repeated .google.cloud.video.stitcher.v1.Event events = 9;
-
addEvents
public Companion.Builder addEvents(int index, Event value)
The list of tracking events for the companion.
repeated .google.cloud.video.stitcher.v1.Event events = 9;
-
addEvents
public Companion.Builder addEvents(Event.Builder builderForValue)
The list of tracking events for the companion.
repeated .google.cloud.video.stitcher.v1.Event events = 9;
-
addEvents
public Companion.Builder addEvents(int index, Event.Builder builderForValue)
The list of tracking events for the companion.
repeated .google.cloud.video.stitcher.v1.Event events = 9;
-
addAllEvents
public Companion.Builder addAllEvents(Iterable<? extends Event> values)
The list of tracking events for the companion.
repeated .google.cloud.video.stitcher.v1.Event events = 9;
-
clearEvents
public Companion.Builder clearEvents()
The list of tracking events for the companion.
repeated .google.cloud.video.stitcher.v1.Event events = 9;
-
removeEvents
public Companion.Builder removeEvents(int index)
The list of tracking events for the companion.
repeated .google.cloud.video.stitcher.v1.Event events = 9;
-
getEventsBuilder
public Event.Builder getEventsBuilder(int index)
The list of tracking events for the companion.
repeated .google.cloud.video.stitcher.v1.Event events = 9;
-
getEventsOrBuilder
public EventOrBuilder getEventsOrBuilder(int index)
The list of tracking events for the companion.
repeated .google.cloud.video.stitcher.v1.Event events = 9;
- Specified by:
getEventsOrBuilder
in interfaceCompanionOrBuilder
-
getEventsOrBuilderList
public List<? extends EventOrBuilder> getEventsOrBuilderList()
The list of tracking events for the companion.
repeated .google.cloud.video.stitcher.v1.Event events = 9;
- Specified by:
getEventsOrBuilderList
in interfaceCompanionOrBuilder
-
addEventsBuilder
public Event.Builder addEventsBuilder()
The list of tracking events for the companion.
repeated .google.cloud.video.stitcher.v1.Event events = 9;
-
addEventsBuilder
public Event.Builder addEventsBuilder(int index)
The list of tracking events for the companion.
repeated .google.cloud.video.stitcher.v1.Event events = 9;
-
getEventsBuilderList
public List<Event.Builder> getEventsBuilderList()
The list of tracking events for the companion.
repeated .google.cloud.video.stitcher.v1.Event events = 9;
-
setUnknownFields
public final Companion.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Companion.Builder>
-
mergeUnknownFields
public final Companion.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Companion.Builder>
-
-