public static final class VodSessionAd.Builder extends GeneratedMessageV3.Builder<VodSessionAd.Builder> implements VodSessionAdOrBuilder
Metadata for an inserted ad in a VOD session.
Protobuf type google.cloud.video.stitcher.v1.VodSessionAd
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addActivityEvents(Event value)
public VodSessionAd.Builder addActivityEvents(Event value)
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;
Parameter
Name | Description |
value | Event
|
Returns
addActivityEvents(Event.Builder builderForValue)
public VodSessionAd.Builder addActivityEvents(Event.Builder builderForValue)
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;
Parameter
Returns
addActivityEvents(int index, Event value)
public VodSessionAd.Builder addActivityEvents(int index, Event value)
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;
Parameters
Returns
addActivityEvents(int index, Event.Builder builderForValue)
public VodSessionAd.Builder addActivityEvents(int index, Event.Builder builderForValue)
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;
Parameters
Returns
addActivityEventsBuilder()
public Event.Builder 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;
Returns
addActivityEventsBuilder(int index)
public Event.Builder addActivityEventsBuilder(int index)
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;
Parameter
Returns
addAllActivityEvents(Iterable<? extends Event> values)
public VodSessionAd.Builder addAllActivityEvents(Iterable<? extends Event> values)
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;
Parameter
Name | Description |
values | Iterable<? extends com.google.cloud.video.stitcher.v1.Event>
|
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public VodSessionAd.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public VodSessionAd build()
Returns
buildPartial()
public VodSessionAd buildPartial()
Returns
clear()
public VodSessionAd.Builder clear()
Returns
Overrides
clearActivityEvents()
public VodSessionAd.Builder 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;
Returns
clearCompanionAds()
public VodSessionAd.Builder clearCompanionAds()
Metadata of companion ads associated with the ad.
.google.cloud.video.stitcher.v1.CompanionAds companion_ads = 2;
Returns
clearDuration()
public VodSessionAd.Builder clearDuration()
Duration in seconds of the ad.
.google.protobuf.Duration duration = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public VodSessionAd.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public VodSessionAd.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public VodSessionAd.Builder clone()
Returns
Overrides
getActivityEvents(int index)
public Event getActivityEvents(int index)
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;
Parameter
Returns
getActivityEventsBuilder(int index)
public Event.Builder getActivityEventsBuilder(int index)
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;
Parameter
Returns
getActivityEventsBuilderList()
public List<Event.Builder> 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;
Returns
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;
Returns
getActivityEventsList()
public List<Event> 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;
Returns
getActivityEventsOrBuilder(int index)
public EventOrBuilder getActivityEventsOrBuilder(int index)
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;
Parameter
Returns
getActivityEventsOrBuilderList()
public List<? extends EventOrBuilder> 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;
Returns
Type | Description |
List<? extends com.google.cloud.video.stitcher.v1.EventOrBuilder> | |
getCompanionAds()
public CompanionAds getCompanionAds()
Metadata of companion ads associated with the ad.
.google.cloud.video.stitcher.v1.CompanionAds companion_ads = 2;
Returns
getCompanionAdsBuilder()
public CompanionAds.Builder getCompanionAdsBuilder()
Metadata of companion ads associated with the ad.
.google.cloud.video.stitcher.v1.CompanionAds companion_ads = 2;
Returns
getCompanionAdsOrBuilder()
public CompanionAdsOrBuilder getCompanionAdsOrBuilder()
Metadata of companion ads associated with the ad.
.google.cloud.video.stitcher.v1.CompanionAds companion_ads = 2;
Returns
getDefaultInstanceForType()
public VodSessionAd getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getDuration()
public Duration getDuration()
Duration in seconds of the ad.
.google.protobuf.Duration duration = 1;
Returns
getDurationBuilder()
public Duration.Builder getDurationBuilder()
Duration in seconds of the ad.
.google.protobuf.Duration duration = 1;
Returns
getDurationOrBuilder()
public DurationOrBuilder getDurationOrBuilder()
Duration in seconds of the ad.
.google.protobuf.Duration duration = 1;
Returns
hasCompanionAds()
public boolean hasCompanionAds()
Metadata of companion ads associated with the ad.
.google.cloud.video.stitcher.v1.CompanionAds companion_ads = 2;
Returns
Type | Description |
boolean | Whether the companionAds field is set.
|
hasDuration()
public boolean hasDuration()
Duration in seconds of the ad.
.google.protobuf.Duration duration = 1;
Returns
Type | Description |
boolean | Whether the duration field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeCompanionAds(CompanionAds value)
public VodSessionAd.Builder mergeCompanionAds(CompanionAds value)
Metadata of companion ads associated with the ad.
.google.cloud.video.stitcher.v1.CompanionAds companion_ads = 2;
Parameter
Returns
mergeDuration(Duration value)
public VodSessionAd.Builder mergeDuration(Duration value)
Duration in seconds of the ad.
.google.protobuf.Duration duration = 1;
Parameter
Returns
mergeFrom(VodSessionAd other)
public VodSessionAd.Builder mergeFrom(VodSessionAd other)
Parameter
Returns
public VodSessionAd.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public VodSessionAd.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final VodSessionAd.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeActivityEvents(int index)
public VodSessionAd.Builder removeActivityEvents(int index)
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;
Parameter
Returns
setActivityEvents(int index, Event value)
public VodSessionAd.Builder setActivityEvents(int index, Event value)
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;
Parameters
Returns
setActivityEvents(int index, Event.Builder builderForValue)
public VodSessionAd.Builder setActivityEvents(int index, Event.Builder builderForValue)
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;
Parameters
Returns
setCompanionAds(CompanionAds value)
public VodSessionAd.Builder setCompanionAds(CompanionAds value)
Metadata of companion ads associated with the ad.
.google.cloud.video.stitcher.v1.CompanionAds companion_ads = 2;
Parameter
Returns
setCompanionAds(CompanionAds.Builder builderForValue)
public VodSessionAd.Builder setCompanionAds(CompanionAds.Builder builderForValue)
Metadata of companion ads associated with the ad.
.google.cloud.video.stitcher.v1.CompanionAds companion_ads = 2;
Parameter
Returns
setDuration(Duration value)
public VodSessionAd.Builder setDuration(Duration value)
Duration in seconds of the ad.
.google.protobuf.Duration duration = 1;
Parameter
Returns
setDuration(Duration.Builder builderForValue)
public VodSessionAd.Builder setDuration(Duration.Builder builderForValue)
Duration in seconds of the ad.
.google.protobuf.Duration duration = 1;
Parameter
Name | Description |
builderForValue | Builder
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public VodSessionAd.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public VodSessionAd.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final VodSessionAd.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides