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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
ACTIVITY_EVENTS_FIELD_NUMBER
public static final int ACTIVITY_EVENTS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
COMPANION_ADS_FIELD_NUMBER
public static final int COMPANION_ADS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
DURATION_FIELD_NUMBER
public static final int DURATION_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static VodSessionAd getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static VodSessionAd.Builder newBuilder()
newBuilder(VodSessionAd prototype)
public static VodSessionAd.Builder newBuilder(VodSessionAd prototype)
public static VodSessionAd parseDelimitedFrom(InputStream input)
public static VodSessionAd parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static VodSessionAd parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static VodSessionAd parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static VodSessionAd parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static VodSessionAd parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static VodSessionAd parseFrom(CodedInputStream input)
public static VodSessionAd parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static VodSessionAd parseFrom(InputStream input)
public static VodSessionAd parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static VodSessionAd parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static VodSessionAd parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<VodSessionAd> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
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 | |
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;
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()
getDuration()
public Duration getDuration()
Duration in seconds of the ad.
.google.protobuf.Duration duration = 1;
Returns |
---|
Type | Description |
Duration | The duration.
|
getDurationOrBuilder()
public DurationOrBuilder getDurationOrBuilder()
Duration in seconds of the ad.
.google.protobuf.Duration duration = 1;
getParserForType()
public Parser<VodSessionAd> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
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 |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public VodSessionAd.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected VodSessionAd.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public VodSessionAd.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides