public final class VodSessionAd extends GeneratedMessageV3 implements VodSessionAdOrBuilder
Metadata for an inserted ad in a VOD session.
Protobuf type google.cloud.video.stitcher.v1.VodSessionAd
Static Fields
ACTIVITY_EVENTS_FIELD_NUMBER
public static final int ACTIVITY_EVENTS_FIELD_NUMBER
Field Value
COMPANION_ADS_FIELD_NUMBER
public static final int COMPANION_ADS_FIELD_NUMBER
Field Value
DURATION_FIELD_NUMBER
public static final int DURATION_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static VodSessionAd getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static VodSessionAd.Builder newBuilder()
Returns
newBuilder(VodSessionAd prototype)
public static VodSessionAd.Builder newBuilder(VodSessionAd prototype)
Parameter
Returns
public static VodSessionAd parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static VodSessionAd parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static VodSessionAd parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static VodSessionAd parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static VodSessionAd parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static VodSessionAd parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static VodSessionAd parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static VodSessionAd parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static VodSessionAd parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static VodSessionAd parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static VodSessionAd parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static VodSessionAd parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<VodSessionAd> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
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
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
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
getDuration()
public Duration getDuration()
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
getParserForType()
public Parser<VodSessionAd> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public VodSessionAd.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected VodSessionAd.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public VodSessionAd.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions