Interface LiveConfigOrBuilder (0.35.0)

public interface LiveConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAdTagUri()

public abstract String getAdTagUri()

The default ad tag associated with this live stream config.

string ad_tag_uri = 3;

Returns
TypeDescription
String

The adTagUri.

getAdTagUriBytes()

public abstract ByteString getAdTagUriBytes()

The default ad tag associated with this live stream config.

string ad_tag_uri = 3;

Returns
TypeDescription
ByteString

The bytes for adTagUri.

getAdTracking()

public abstract AdTracking getAdTracking()

Required. Determines how the ads are tracked. If gam_live_config is set, the value must be CLIENT because the IMA SDK handles ad tracking.

.google.cloud.video.stitcher.v1.AdTracking ad_tracking = 6 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
AdTracking

The adTracking.

getAdTrackingValue()

public abstract int getAdTrackingValue()

Required. Determines how the ads are tracked. If gam_live_config is set, the value must be CLIENT because the IMA SDK handles ad tracking.

.google.cloud.video.stitcher.v1.AdTracking ad_tracking = 6 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
int

The enum numeric value on the wire for adTracking.

getDefaultSlate()

public abstract String getDefaultSlate()

This must refer to a slate in the same project. If Google Ad Manager (GAM) is used for ads, this string sets the value of slateCreativeId in https://developers.google.com/ad-manager/api/reference/v202211/LiveStreamEventService.LiveStreamEvent#slateCreativeId

string default_slate = 7 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The defaultSlate.

getDefaultSlateBytes()

public abstract ByteString getDefaultSlateBytes()

This must refer to a slate in the same project. If Google Ad Manager (GAM) is used for ads, this string sets the value of slateCreativeId in https://developers.google.com/ad-manager/api/reference/v202211/LiveStreamEventService.LiveStreamEvent#slateCreativeId

string default_slate = 7 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for defaultSlate.

getGamLiveConfig()

public abstract GamLiveConfig getGamLiveConfig()

Additional metadata used to register a live stream with Google Ad Manager (GAM)

.google.cloud.video.stitcher.v1.GamLiveConfig gam_live_config = 4;

Returns
TypeDescription
GamLiveConfig

The gamLiveConfig.

getGamLiveConfigOrBuilder()

public abstract GamLiveConfigOrBuilder getGamLiveConfigOrBuilder()

Additional metadata used to register a live stream with Google Ad Manager (GAM)

.google.cloud.video.stitcher.v1.GamLiveConfig gam_live_config = 4;

Returns
TypeDescription
GamLiveConfigOrBuilder

getName()

public abstract String getName()

Output only. The resource name of the live config, in the form of projects/{project}/locations/{location}/liveConfigs/{id}.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Output only. The resource name of the live config, in the form of projects/{project}/locations/{location}/liveConfigs/{id}.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for name.

getPrefetchConfig()

public abstract PrefetchConfig getPrefetchConfig()

The configuration for prefetching ads.

.google.cloud.video.stitcher.v1.PrefetchConfig prefetch_config = 10;

Returns
TypeDescription
PrefetchConfig

The prefetchConfig.

getPrefetchConfigOrBuilder()

public abstract PrefetchConfigOrBuilder getPrefetchConfigOrBuilder()

The configuration for prefetching ads.

.google.cloud.video.stitcher.v1.PrefetchConfig prefetch_config = 10;

Returns
TypeDescription
PrefetchConfigOrBuilder

getSourceUri()

public abstract String getSourceUri()

Required. Source URI for the live stream manifest.

string source_uri = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The sourceUri.

getSourceUriBytes()

public abstract ByteString getSourceUriBytes()

Required. Source URI for the live stream manifest.

string source_uri = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for sourceUri.

getState()

public abstract LiveConfig.State getState()

Output only. State of the live config.

.google.cloud.video.stitcher.v1.LiveConfig.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
LiveConfig.State

The state.

getStateValue()

public abstract int getStateValue()

Output only. State of the live config.

.google.cloud.video.stitcher.v1.LiveConfig.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
int

The enum numeric value on the wire for state.

getStitchingPolicy()

public abstract LiveConfig.StitchingPolicy getStitchingPolicy()

Defines the stitcher behavior in case an ad does not align exactly with the ad break boundaries. If not specified, the default is CUT_CURRENT.

.google.cloud.video.stitcher.v1.LiveConfig.StitchingPolicy stitching_policy = 8;

Returns
TypeDescription
LiveConfig.StitchingPolicy

The stitchingPolicy.

getStitchingPolicyValue()

public abstract int getStitchingPolicyValue()

Defines the stitcher behavior in case an ad does not align exactly with the ad break boundaries. If not specified, the default is CUT_CURRENT.

.google.cloud.video.stitcher.v1.LiveConfig.StitchingPolicy stitching_policy = 8;

Returns
TypeDescription
int

The enum numeric value on the wire for stitchingPolicy.

hasGamLiveConfig()

public abstract boolean hasGamLiveConfig()

Additional metadata used to register a live stream with Google Ad Manager (GAM)

.google.cloud.video.stitcher.v1.GamLiveConfig gam_live_config = 4;

Returns
TypeDescription
boolean

Whether the gamLiveConfig field is set.

hasPrefetchConfig()

public abstract boolean hasPrefetchConfig()

The configuration for prefetching ads.

.google.cloud.video.stitcher.v1.PrefetchConfig prefetch_config = 10;

Returns
TypeDescription
boolean

Whether the prefetchConfig field is set.