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.BuilderaddAllEvents(Iterable<? extends Event> values)The list of tracking events for the companion.Companion.BuilderaddEvents(int index, Event value)The list of tracking events for the companion.Companion.BuilderaddEvents(int index, Event.Builder builderForValue)The list of tracking events for the companion.Companion.BuilderaddEvents(Event value)The list of tracking events for the companion.Companion.BuilderaddEvents(Event.Builder builderForValue)The list of tracking events for the companion.Event.BuilderaddEventsBuilder()The list of tracking events for the companion.Event.BuilderaddEventsBuilder(int index)The list of tracking events for the companion.Companion.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Companionbuild()CompanionbuildPartial()Companion.Builderclear()Companion.BuilderclearAdResource()Companion.BuilderclearAdSlotId()The ID used to identify the desired placement on a publisher's page.Companion.BuilderclearApiFramework()The API necessary to communicate with the creative if available.Companion.BuilderclearAssetHeightPx()The pixel height of the creative.Companion.BuilderclearAssetWidthPx()The pixel width of the creative.Companion.BuilderclearEvents()The list of tracking events for the companion.Companion.BuilderclearExpandedHeightPx()The maximum pixel height of the creative in its expanded state.Companion.BuilderclearExpandedWidthPx()The maximum pixel width of the creative in its expanded state.Companion.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Companion.BuilderclearHeightPx()The pixel height of the placement slot for the intended creative.Companion.BuilderclearHtmlAdResource()The HTML ad resource associated with the companion ad.Companion.BuilderclearIframeAdResource()The IFrame ad resource associated with the companion ad.Companion.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Companion.BuilderclearStaticAdResource()The static ad resource associated with the companion ad.Companion.BuilderclearWidthPx()The pixel width of the placement slot for the intended creative.Companion.Builderclone()Companion.AdResourceCasegetAdResourceCase()StringgetAdSlotId()The ID used to identify the desired placement on a publisher's page.com.google.protobuf.ByteStringgetAdSlotIdBytes()The ID used to identify the desired placement on a publisher's page.StringgetApiFramework()The API necessary to communicate with the creative if available.com.google.protobuf.ByteStringgetApiFrameworkBytes()The API necessary to communicate with the creative if available.intgetAssetHeightPx()The pixel height of the creative.intgetAssetWidthPx()The pixel width of the creative.CompaniongetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()EventgetEvents(int index)The list of tracking events for the companion.Event.BuildergetEventsBuilder(int index)The list of tracking events for the companion.List<Event.Builder>getEventsBuilderList()The list of tracking events for the companion.intgetEventsCount()The list of tracking events for the companion.List<Event>getEventsList()The list of tracking events for the companion.EventOrBuildergetEventsOrBuilder(int index)The list of tracking events for the companion.List<? extends EventOrBuilder>getEventsOrBuilderList()The list of tracking events for the companion.intgetExpandedHeightPx()The maximum pixel height of the creative in its expanded state.intgetExpandedWidthPx()The maximum pixel width of the creative in its expanded state.intgetHeightPx()The pixel height of the placement slot for the intended creative.HtmlAdResourcegetHtmlAdResource()The HTML ad resource associated with the companion ad.HtmlAdResource.BuildergetHtmlAdResourceBuilder()The HTML ad resource associated with the companion ad.HtmlAdResourceOrBuildergetHtmlAdResourceOrBuilder()The HTML ad resource associated with the companion ad.IframeAdResourcegetIframeAdResource()The IFrame ad resource associated with the companion ad.IframeAdResource.BuildergetIframeAdResourceBuilder()The IFrame ad resource associated with the companion ad.IframeAdResourceOrBuildergetIframeAdResourceOrBuilder()The IFrame ad resource associated with the companion ad.StaticAdResourcegetStaticAdResource()The static ad resource associated with the companion ad.StaticAdResource.BuildergetStaticAdResourceBuilder()The static ad resource associated with the companion ad.StaticAdResourceOrBuildergetStaticAdResourceOrBuilder()The static ad resource associated with the companion ad.intgetWidthPx()The pixel width of the placement slot for the intended creative.booleanhasHtmlAdResource()The HTML ad resource associated with the companion ad.booleanhasIframeAdResource()The IFrame ad resource associated with the companion ad.booleanhasStaticAdResource()The static ad resource associated with the companion ad.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Companion.BuildermergeFrom(Companion other)Companion.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Companion.BuildermergeFrom(com.google.protobuf.Message other)Companion.BuildermergeHtmlAdResource(HtmlAdResource value)The HTML ad resource associated with the companion ad.Companion.BuildermergeIframeAdResource(IframeAdResource value)The IFrame ad resource associated with the companion ad.Companion.BuildermergeStaticAdResource(StaticAdResource value)The static ad resource associated with the companion ad.Companion.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Companion.BuilderremoveEvents(int index)The list of tracking events for the companion.Companion.BuildersetAdSlotId(String value)The ID used to identify the desired placement on a publisher's page.Companion.BuildersetAdSlotIdBytes(com.google.protobuf.ByteString value)The ID used to identify the desired placement on a publisher's page.Companion.BuildersetApiFramework(String value)The API necessary to communicate with the creative if available.Companion.BuildersetApiFrameworkBytes(com.google.protobuf.ByteString value)The API necessary to communicate with the creative if available.Companion.BuildersetAssetHeightPx(int value)The pixel height of the creative.Companion.BuildersetAssetWidthPx(int value)The pixel width of the creative.Companion.BuildersetEvents(int index, Event value)The list of tracking events for the companion.Companion.BuildersetEvents(int index, Event.Builder builderForValue)The list of tracking events for the companion.Companion.BuildersetExpandedHeightPx(int value)The maximum pixel height of the creative in its expanded state.Companion.BuildersetExpandedWidthPx(int value)The maximum pixel width of the creative in its expanded state.Companion.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Companion.BuildersetHeightPx(int value)The pixel height of the placement slot for the intended creative.Companion.BuildersetHtmlAdResource(HtmlAdResource value)The HTML ad resource associated with the companion ad.Companion.BuildersetHtmlAdResource(HtmlAdResource.Builder builderForValue)The HTML ad resource associated with the companion ad.Companion.BuildersetIframeAdResource(IframeAdResource value)The IFrame ad resource associated with the companion ad.Companion.BuildersetIframeAdResource(IframeAdResource.Builder builderForValue)The IFrame ad resource associated with the companion ad.Companion.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Companion.BuildersetStaticAdResource(StaticAdResource value)The static ad resource associated with the companion ad.Companion.BuildersetStaticAdResource(StaticAdResource.Builder builderForValue)The static ad resource associated with the companion ad.Companion.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Companion.BuildersetWidthPx(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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Companion.Builder>
-
clear
public Companion.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Companion.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Companion.Builder>
-
getDefaultInstanceForType
public Companion getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Companion build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Companion buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Companion.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Companion.Builder>
-
setField
public Companion.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Companion.Builder>
-
clearField
public Companion.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Companion.Builder>
-
clearOneof
public Companion.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Companion.Builder>
-
setRepeatedField
public Companion.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Companion.Builder>
-
addRepeatedField
public Companion.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Companion.Builder>
-
mergeFrom
public Companion.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Companion.Builder>
-
mergeFrom
public Companion.Builder mergeFrom(Companion other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin 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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Companion.Builder>- Throws:
IOException
-
getAdResourceCase
public Companion.AdResourceCase getAdResourceCase()
- Specified by:
getAdResourceCasein 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:
hasIframeAdResourcein 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:
getIframeAdResourcein 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:
getIframeAdResourceOrBuilderin 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:
hasStaticAdResourcein 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:
getStaticAdResourcein 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:
getStaticAdResourceOrBuilderin 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:
hasHtmlAdResourcein 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:
getHtmlAdResourcein 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:
getHtmlAdResourceOrBuilderin interfaceCompanionOrBuilder
-
getApiFramework
public String getApiFramework()
The API necessary to communicate with the creative if available.
string api_framework = 1;- Specified by:
getApiFrameworkin 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:
getApiFrameworkBytesin 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:
getHeightPxin 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:
getWidthPxin 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:
getAssetHeightPxin 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:
getExpandedHeightPxin 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:
getAssetWidthPxin 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:
getExpandedWidthPxin 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:
getAdSlotIdin 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:
getAdSlotIdBytesin 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:
getEventsListin interfaceCompanionOrBuilder
-
getEventsCount
public int getEventsCount()
The list of tracking events for the companion.
repeated .google.cloud.video.stitcher.v1.Event events = 9;- Specified by:
getEventsCountin 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:
getEventsin 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:
getEventsOrBuilderin 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:
getEventsOrBuilderListin 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:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Companion.Builder>
-
mergeUnknownFields
public final Companion.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Companion.Builder>
-
-