Class VodSessionAd.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<VodSessionAd.Builder>
com.google.cloud.video.stitcher.v1.VodSessionAd.Builder
- All Implemented Interfaces:
VodSessionAdOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- VodSessionAd
public static final class VodSessionAd.Builder
extends com.google.protobuf.GeneratedMessage.Builder<VodSessionAd.Builder>
implements VodSessionAdOrBuilder
Metadata for an inserted ad in a VOD session.Protobuf type
google.cloud.video.stitcher.v1.VodSessionAd-
Method Summary
Modifier and TypeMethodDescriptionaddActivityEvents(int index, Event value) The list of progress tracking events for the ad break.addActivityEvents(int index, Event.Builder builderForValue) The list of progress tracking events for the ad break.addActivityEvents(Event value) The list of progress tracking events for the ad break.addActivityEvents(Event.Builder builderForValue) The list of progress tracking events for the ad break.The list of progress tracking events for the ad break.addActivityEventsBuilder(int index) The list of progress tracking events for the ad break.addAllActivityEvents(Iterable<? extends Event> values) The list of progress tracking events for the ad break.build()clear()The list of progress tracking events for the ad break.Metadata of companion ads associated with the ad.Duration in seconds of the ad.getActivityEvents(int index) The list of progress tracking events for the ad break.getActivityEventsBuilder(int index) The list of progress tracking events for the ad break.The list of progress tracking events for the ad break.intThe list of progress tracking events for the ad break.The list of progress tracking events for the ad break.getActivityEventsOrBuilder(int index) The list of progress tracking events for the ad break.List<? extends EventOrBuilder>The list of progress tracking events for the ad break.Metadata of companion ads associated with the ad.Metadata of companion ads associated with the ad.Metadata of companion ads associated with the ad.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorcom.google.protobuf.DurationDuration in seconds of the ad.com.google.protobuf.Duration.BuilderDuration in seconds of the ad.com.google.protobuf.DurationOrBuilderDuration in seconds of the ad.booleanMetadata of companion ads associated with the ad.booleanDuration in seconds of the ad.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeCompanionAds(CompanionAds value) Metadata of companion ads associated with the ad.mergeDuration(com.google.protobuf.Duration value) Duration in seconds of the ad.mergeFrom(VodSessionAd other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeActivityEvents(int index) The list of progress tracking events for the ad break.setActivityEvents(int index, Event value) The list of progress tracking events for the ad break.setActivityEvents(int index, Event.Builder builderForValue) The list of progress tracking events for the ad break.setCompanionAds(CompanionAds value) Metadata of companion ads associated with the ad.setCompanionAds(CompanionAds.Builder builderForValue) Metadata of companion ads associated with the ad.setDuration(com.google.protobuf.Duration value) Duration in seconds of the ad.setDuration(com.google.protobuf.Duration.Builder builderForValue) Duration in seconds of the ad.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<VodSessionAd.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<VodSessionAd.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.GeneratedMessage.Builder<VodSessionAd.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<VodSessionAd.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<VodSessionAd.Builder>
-
mergeFrom
public VodSessionAd.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<VodSessionAd.Builder>- Throws:
IOException
-
hasDuration
public boolean hasDuration()Duration in seconds of the ad.
.google.protobuf.Duration duration = 1;- Specified by:
hasDurationin interfaceVodSessionAdOrBuilder- Returns:
- Whether the duration field is set.
-
getDuration
public com.google.protobuf.Duration getDuration()Duration in seconds of the ad.
.google.protobuf.Duration duration = 1;- Specified by:
getDurationin interfaceVodSessionAdOrBuilder- Returns:
- The duration.
-
setDuration
Duration in seconds of the ad.
.google.protobuf.Duration duration = 1; -
setDuration
Duration in seconds of the ad.
.google.protobuf.Duration duration = 1; -
mergeDuration
Duration in seconds of the ad.
.google.protobuf.Duration duration = 1; -
clearDuration
Duration in seconds of the ad.
.google.protobuf.Duration duration = 1; -
getDurationBuilder
public com.google.protobuf.Duration.Builder getDurationBuilder()Duration in seconds of the ad.
.google.protobuf.Duration duration = 1; -
getDurationOrBuilder
public com.google.protobuf.DurationOrBuilder getDurationOrBuilder()Duration in seconds of the ad.
.google.protobuf.Duration duration = 1;- Specified by:
getDurationOrBuilderin interfaceVodSessionAdOrBuilder
-
hasCompanionAds
public boolean hasCompanionAds()Metadata of companion ads associated with the ad.
.google.cloud.video.stitcher.v1.CompanionAds companion_ads = 2;- Specified by:
hasCompanionAdsin interfaceVodSessionAdOrBuilder- Returns:
- Whether the companionAds field is set.
-
getCompanionAds
Metadata of companion ads associated with the ad.
.google.cloud.video.stitcher.v1.CompanionAds companion_ads = 2;- Specified by:
getCompanionAdsin interfaceVodSessionAdOrBuilder- Returns:
- The companionAds.
-
setCompanionAds
Metadata of companion ads associated with the ad.
.google.cloud.video.stitcher.v1.CompanionAds companion_ads = 2; -
setCompanionAds
Metadata of companion ads associated with the ad.
.google.cloud.video.stitcher.v1.CompanionAds companion_ads = 2; -
mergeCompanionAds
Metadata of companion ads associated with the ad.
.google.cloud.video.stitcher.v1.CompanionAds companion_ads = 2; -
clearCompanionAds
Metadata of companion ads associated with the ad.
.google.cloud.video.stitcher.v1.CompanionAds companion_ads = 2; -
getCompanionAdsBuilder
Metadata of companion ads associated with the ad.
.google.cloud.video.stitcher.v1.CompanionAds companion_ads = 2; -
getCompanionAdsOrBuilder
Metadata of companion ads associated with the ad.
.google.cloud.video.stitcher.v1.CompanionAds companion_ads = 2;- Specified by:
getCompanionAdsOrBuilderin interfaceVodSessionAdOrBuilder
-
getActivityEventsList
The list of progress tracking events for the ad break. These can be of the following IAB types: `MUTE`, `UNMUTE`, `PAUSE`, `CLICK`, `CLICK_THROUGH`, `REWIND`, `RESUME`, `ERROR`, `FULLSCREEN`, `EXIT_FULLSCREEN`, `EXPAND`, `COLLAPSE`, `ACCEPT_INVITATION_LINEAR`, `CLOSE_LINEAR`, `SKIP`.
repeated .google.cloud.video.stitcher.v1.Event activity_events = 3;- Specified by:
getActivityEventsListin interfaceVodSessionAdOrBuilder
-
getActivityEventsCount
public int getActivityEventsCount()The list of progress tracking events for the ad break. These can be of the following IAB types: `MUTE`, `UNMUTE`, `PAUSE`, `CLICK`, `CLICK_THROUGH`, `REWIND`, `RESUME`, `ERROR`, `FULLSCREEN`, `EXIT_FULLSCREEN`, `EXPAND`, `COLLAPSE`, `ACCEPT_INVITATION_LINEAR`, `CLOSE_LINEAR`, `SKIP`.
repeated .google.cloud.video.stitcher.v1.Event activity_events = 3;- Specified by:
getActivityEventsCountin interfaceVodSessionAdOrBuilder
-
getActivityEvents
The list of progress tracking events for the ad break. These can be of the following IAB types: `MUTE`, `UNMUTE`, `PAUSE`, `CLICK`, `CLICK_THROUGH`, `REWIND`, `RESUME`, `ERROR`, `FULLSCREEN`, `EXIT_FULLSCREEN`, `EXPAND`, `COLLAPSE`, `ACCEPT_INVITATION_LINEAR`, `CLOSE_LINEAR`, `SKIP`.
repeated .google.cloud.video.stitcher.v1.Event activity_events = 3;- Specified by:
getActivityEventsin interfaceVodSessionAdOrBuilder
-
setActivityEvents
The list of progress tracking events for the ad break. These can be of the following IAB types: `MUTE`, `UNMUTE`, `PAUSE`, `CLICK`, `CLICK_THROUGH`, `REWIND`, `RESUME`, `ERROR`, `FULLSCREEN`, `EXIT_FULLSCREEN`, `EXPAND`, `COLLAPSE`, `ACCEPT_INVITATION_LINEAR`, `CLOSE_LINEAR`, `SKIP`.
repeated .google.cloud.video.stitcher.v1.Event activity_events = 3; -
setActivityEvents
The list of progress tracking events for the ad break. These can be of the following IAB types: `MUTE`, `UNMUTE`, `PAUSE`, `CLICK`, `CLICK_THROUGH`, `REWIND`, `RESUME`, `ERROR`, `FULLSCREEN`, `EXIT_FULLSCREEN`, `EXPAND`, `COLLAPSE`, `ACCEPT_INVITATION_LINEAR`, `CLOSE_LINEAR`, `SKIP`.
repeated .google.cloud.video.stitcher.v1.Event activity_events = 3; -
addActivityEvents
The list of progress tracking events for the ad break. These can be of the following IAB types: `MUTE`, `UNMUTE`, `PAUSE`, `CLICK`, `CLICK_THROUGH`, `REWIND`, `RESUME`, `ERROR`, `FULLSCREEN`, `EXIT_FULLSCREEN`, `EXPAND`, `COLLAPSE`, `ACCEPT_INVITATION_LINEAR`, `CLOSE_LINEAR`, `SKIP`.
repeated .google.cloud.video.stitcher.v1.Event activity_events = 3; -
addActivityEvents
The list of progress tracking events for the ad break. These can be of the following IAB types: `MUTE`, `UNMUTE`, `PAUSE`, `CLICK`, `CLICK_THROUGH`, `REWIND`, `RESUME`, `ERROR`, `FULLSCREEN`, `EXIT_FULLSCREEN`, `EXPAND`, `COLLAPSE`, `ACCEPT_INVITATION_LINEAR`, `CLOSE_LINEAR`, `SKIP`.
repeated .google.cloud.video.stitcher.v1.Event activity_events = 3; -
addActivityEvents
The list of progress tracking events for the ad break. These can be of the following IAB types: `MUTE`, `UNMUTE`, `PAUSE`, `CLICK`, `CLICK_THROUGH`, `REWIND`, `RESUME`, `ERROR`, `FULLSCREEN`, `EXIT_FULLSCREEN`, `EXPAND`, `COLLAPSE`, `ACCEPT_INVITATION_LINEAR`, `CLOSE_LINEAR`, `SKIP`.
repeated .google.cloud.video.stitcher.v1.Event activity_events = 3; -
addActivityEvents
The list of progress tracking events for the ad break. These can be of the following IAB types: `MUTE`, `UNMUTE`, `PAUSE`, `CLICK`, `CLICK_THROUGH`, `REWIND`, `RESUME`, `ERROR`, `FULLSCREEN`, `EXIT_FULLSCREEN`, `EXPAND`, `COLLAPSE`, `ACCEPT_INVITATION_LINEAR`, `CLOSE_LINEAR`, `SKIP`.
repeated .google.cloud.video.stitcher.v1.Event activity_events = 3; -
addAllActivityEvents
The list of progress tracking events for the ad break. These can be of the following IAB types: `MUTE`, `UNMUTE`, `PAUSE`, `CLICK`, `CLICK_THROUGH`, `REWIND`, `RESUME`, `ERROR`, `FULLSCREEN`, `EXIT_FULLSCREEN`, `EXPAND`, `COLLAPSE`, `ACCEPT_INVITATION_LINEAR`, `CLOSE_LINEAR`, `SKIP`.
repeated .google.cloud.video.stitcher.v1.Event activity_events = 3; -
clearActivityEvents
The list of progress tracking events for the ad break. These can be of the following IAB types: `MUTE`, `UNMUTE`, `PAUSE`, `CLICK`, `CLICK_THROUGH`, `REWIND`, `RESUME`, `ERROR`, `FULLSCREEN`, `EXIT_FULLSCREEN`, `EXPAND`, `COLLAPSE`, `ACCEPT_INVITATION_LINEAR`, `CLOSE_LINEAR`, `SKIP`.
repeated .google.cloud.video.stitcher.v1.Event activity_events = 3; -
removeActivityEvents
The list of progress tracking events for the ad break. These can be of the following IAB types: `MUTE`, `UNMUTE`, `PAUSE`, `CLICK`, `CLICK_THROUGH`, `REWIND`, `RESUME`, `ERROR`, `FULLSCREEN`, `EXIT_FULLSCREEN`, `EXPAND`, `COLLAPSE`, `ACCEPT_INVITATION_LINEAR`, `CLOSE_LINEAR`, `SKIP`.
repeated .google.cloud.video.stitcher.v1.Event activity_events = 3; -
getActivityEventsBuilder
The list of progress tracking events for the ad break. These can be of the following IAB types: `MUTE`, `UNMUTE`, `PAUSE`, `CLICK`, `CLICK_THROUGH`, `REWIND`, `RESUME`, `ERROR`, `FULLSCREEN`, `EXIT_FULLSCREEN`, `EXPAND`, `COLLAPSE`, `ACCEPT_INVITATION_LINEAR`, `CLOSE_LINEAR`, `SKIP`.
repeated .google.cloud.video.stitcher.v1.Event activity_events = 3; -
getActivityEventsOrBuilder
The list of progress tracking events for the ad break. These can be of the following IAB types: `MUTE`, `UNMUTE`, `PAUSE`, `CLICK`, `CLICK_THROUGH`, `REWIND`, `RESUME`, `ERROR`, `FULLSCREEN`, `EXIT_FULLSCREEN`, `EXPAND`, `COLLAPSE`, `ACCEPT_INVITATION_LINEAR`, `CLOSE_LINEAR`, `SKIP`.
repeated .google.cloud.video.stitcher.v1.Event activity_events = 3;- Specified by:
getActivityEventsOrBuilderin interfaceVodSessionAdOrBuilder
-
getActivityEventsOrBuilderList
The list of progress tracking events for the ad break. These can be of the following IAB types: `MUTE`, `UNMUTE`, `PAUSE`, `CLICK`, `CLICK_THROUGH`, `REWIND`, `RESUME`, `ERROR`, `FULLSCREEN`, `EXIT_FULLSCREEN`, `EXPAND`, `COLLAPSE`, `ACCEPT_INVITATION_LINEAR`, `CLOSE_LINEAR`, `SKIP`.
repeated .google.cloud.video.stitcher.v1.Event activity_events = 3;- Specified by:
getActivityEventsOrBuilderListin interfaceVodSessionAdOrBuilder
-
addActivityEventsBuilder
The list of progress tracking events for the ad break. These can be of the following IAB types: `MUTE`, `UNMUTE`, `PAUSE`, `CLICK`, `CLICK_THROUGH`, `REWIND`, `RESUME`, `ERROR`, `FULLSCREEN`, `EXIT_FULLSCREEN`, `EXPAND`, `COLLAPSE`, `ACCEPT_INVITATION_LINEAR`, `CLOSE_LINEAR`, `SKIP`.
repeated .google.cloud.video.stitcher.v1.Event activity_events = 3; -
addActivityEventsBuilder
The list of progress tracking events for the ad break. These can be of the following IAB types: `MUTE`, `UNMUTE`, `PAUSE`, `CLICK`, `CLICK_THROUGH`, `REWIND`, `RESUME`, `ERROR`, `FULLSCREEN`, `EXIT_FULLSCREEN`, `EXPAND`, `COLLAPSE`, `ACCEPT_INVITATION_LINEAR`, `CLOSE_LINEAR`, `SKIP`.
repeated .google.cloud.video.stitcher.v1.Event activity_events = 3; -
getActivityEventsBuilderList
The list of progress tracking events for the ad break. These can be of the following IAB types: `MUTE`, `UNMUTE`, `PAUSE`, `CLICK`, `CLICK_THROUGH`, `REWIND`, `RESUME`, `ERROR`, `FULLSCREEN`, `EXIT_FULLSCREEN`, `EXPAND`, `COLLAPSE`, `ACCEPT_INVITATION_LINEAR`, `CLOSE_LINEAR`, `SKIP`.
repeated .google.cloud.video.stitcher.v1.Event activity_events = 3;
-