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.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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()
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
|
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;
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 |
---|
Name | Description |
index | int
|
value | Event
|
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;
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;
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 |
---|
Name | Description |
index | int
|
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>
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public VodSessionAd.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public VodSessionAd build()
buildPartial()
public VodSessionAd buildPartial()
clear()
public VodSessionAd.Builder clear()
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;
clearCompanionAds()
public VodSessionAd.Builder clearCompanionAds()
Metadata of companion ads associated with the ad.
.google.cloud.video.stitcher.v1.CompanionAds companion_ads = 2;
clearDuration()
public VodSessionAd.Builder clearDuration()
Duration in seconds of the ad.
.google.protobuf.Duration duration = 1;
clearField(Descriptors.FieldDescriptor field)
public VodSessionAd.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public VodSessionAd.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public VodSessionAd.Builder clone()
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 |
---|
Name | Description |
index | int
|
Returns |
---|
Type | Description |
Event | |
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 |
---|
Name | Description |
index | int
|
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;
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 |
---|
Type | Description |
int | |
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;
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 |
---|
Name | Description |
index | int
|
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;
getCompanionAdsBuilder()
public CompanionAds.Builder getCompanionAdsBuilder()
Metadata of companion ads associated with the ad.
.google.cloud.video.stitcher.v1.CompanionAds companion_ads = 2;
getCompanionAdsOrBuilder()
public CompanionAdsOrBuilder getCompanionAdsOrBuilder()
Metadata of companion ads associated with the ad.
.google.cloud.video.stitcher.v1.CompanionAds companion_ads = 2;
getDefaultInstanceForType()
public VodSessionAd getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getDuration()
public Duration getDuration()
Duration in seconds of the ad.
.google.protobuf.Duration duration = 1;
Returns |
---|
Type | Description |
Duration | The duration.
|
getDurationBuilder()
public Duration.Builder getDurationBuilder()
Duration in seconds of the ad.
.google.protobuf.Duration duration = 1;
getDurationOrBuilder()
public DurationOrBuilder getDurationOrBuilder()
Duration in seconds of the ad.
.google.protobuf.Duration duration = 1;
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()
Overrides
isInitialized()
public final boolean isInitialized()
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;
mergeDuration(Duration value)
public VodSessionAd.Builder mergeDuration(Duration value)
Duration in seconds of the ad.
.google.protobuf.Duration duration = 1;
mergeFrom(VodSessionAd other)
public VodSessionAd.Builder mergeFrom(VodSessionAd other)
public VodSessionAd.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public VodSessionAd.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final VodSessionAd.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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 |
---|
Name | Description |
index | int
|
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 |
---|
Name | Description |
index | int
|
value | Event
|
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;
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;
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;
setDuration(Duration value)
public VodSessionAd.Builder setDuration(Duration value)
Duration in seconds of the ad.
.google.protobuf.Duration duration = 1;
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
|
setField(Descriptors.FieldDescriptor field, Object value)
public VodSessionAd.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public VodSessionAd.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final VodSessionAd.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides