Interface CompanionAdsOrBuilder (0.46.0)

public interface CompanionAdsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCompanions(int index)

public abstract Companion getCompanions(int index)

List of companion ads.

repeated .google.cloud.video.stitcher.v1.Companion companions = 2;

Parameter
Name Description
index int
Returns
Type Description
Companion

getCompanionsCount()

public abstract int getCompanionsCount()

List of companion ads.

repeated .google.cloud.video.stitcher.v1.Companion companions = 2;

Returns
Type Description
int

getCompanionsList()

public abstract List<Companion> getCompanionsList()

List of companion ads.

repeated .google.cloud.video.stitcher.v1.Companion companions = 2;

Returns
Type Description
List<Companion>

getCompanionsOrBuilder(int index)

public abstract CompanionOrBuilder getCompanionsOrBuilder(int index)

List of companion ads.

repeated .google.cloud.video.stitcher.v1.Companion companions = 2;

Parameter
Name Description
index int
Returns
Type Description
CompanionOrBuilder

getCompanionsOrBuilderList()

public abstract List<? extends CompanionOrBuilder> getCompanionsOrBuilderList()

List of companion ads.

repeated .google.cloud.video.stitcher.v1.Companion companions = 2;

Returns
Type Description
List<? extends com.google.cloud.video.stitcher.v1.CompanionOrBuilder>

getDisplayRequirement()

public abstract CompanionAds.DisplayRequirement getDisplayRequirement()

Indicates how many of the companions should be displayed with the ad.

.google.cloud.video.stitcher.v1.CompanionAds.DisplayRequirement display_requirement = 1;

Returns
Type Description
CompanionAds.DisplayRequirement

The displayRequirement.

getDisplayRequirementValue()

public abstract int getDisplayRequirementValue()

Indicates how many of the companions should be displayed with the ad.

.google.cloud.video.stitcher.v1.CompanionAds.DisplayRequirement display_requirement = 1;

Returns
Type Description
int

The enum numeric value on the wire for displayRequirement.