Interface CompanionAdsOrBuilder (0.37.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
NameDescription
indexint
Returns
TypeDescription
Companion

getCompanionsCount()

public abstract int getCompanionsCount()

List of companion ads.

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

Returns
TypeDescription
int

getCompanionsList()

public abstract List<Companion> getCompanionsList()

List of companion ads.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
CompanionOrBuilder

getCompanionsOrBuilderList()

public abstract List<? extends CompanionOrBuilder> getCompanionsOrBuilderList()

List of companion ads.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
int

The enum numeric value on the wire for displayRequirement.