Interface LiveConfigOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
LiveConfig
,LiveConfig.Builder
public interface LiveConfigOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getAdTagUri()
The default ad tag associated with this live stream config.com.google.protobuf.ByteString
getAdTagUriBytes()
The default ad tag associated with this live stream config.AdTracking
getAdTracking()
Required.int
getAdTrackingValue()
Required.String
getDefaultSlate()
This must refer to a slate in the same project.com.google.protobuf.ByteString
getDefaultSlateBytes()
This must refer to a slate in the same project.GamLiveConfig
getGamLiveConfig()
Additional metadata used to register a live stream with Google Ad Manager (GAM)GamLiveConfigOrBuilder
getGamLiveConfigOrBuilder()
Additional metadata used to register a live stream with Google Ad Manager (GAM)String
getName()
Output only.com.google.protobuf.ByteString
getNameBytes()
Output only.PrefetchConfig
getPrefetchConfig()
The configuration for prefetching ads.PrefetchConfigOrBuilder
getPrefetchConfigOrBuilder()
The configuration for prefetching ads.String
getSourceUri()
Required.com.google.protobuf.ByteString
getSourceUriBytes()
Required.LiveConfig.State
getState()
Output only.int
getStateValue()
Output only.LiveConfig.StitchingPolicy
getStitchingPolicy()
Defines the stitcher behavior in case an ad does not align exactly with the ad break boundaries.int
getStitchingPolicyValue()
Defines the stitcher behavior in case an ad does not align exactly with the ad break boundaries.boolean
hasGamLiveConfig()
Additional metadata used to register a live stream with Google Ad Manager (GAM)boolean
hasPrefetchConfig()
The configuration for prefetching ads.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
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:
- The name.
-
getNameBytes
com.google.protobuf.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:
- The bytes for name.
-
getSourceUri
String getSourceUri()
Required. Source URI for the live stream manifest.
string source_uri = 2 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The sourceUri.
-
getSourceUriBytes
com.google.protobuf.ByteString getSourceUriBytes()
Required. Source URI for the live stream manifest.
string source_uri = 2 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The bytes for sourceUri.
-
getAdTagUri
String getAdTagUri()
The default ad tag associated with this live stream config.
string ad_tag_uri = 3;
- Returns:
- The adTagUri.
-
getAdTagUriBytes
com.google.protobuf.ByteString getAdTagUriBytes()
The default ad tag associated with this live stream config.
string ad_tag_uri = 3;
- Returns:
- The bytes for adTagUri.
-
hasGamLiveConfig
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:
- Whether the gamLiveConfig field is set.
-
getGamLiveConfig
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:
- The gamLiveConfig.
-
getGamLiveConfigOrBuilder
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;
-
getStateValue
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:
- The enum numeric value on the wire for state.
-
getState
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:
- The state.
-
getAdTrackingValue
int getAdTrackingValue()
Required. Determines how the ads are tracked. If [gam_live_config][google.cloud.video.stitcher.v1.LiveConfig.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:
- The enum numeric value on the wire for adTracking.
-
getAdTracking
AdTracking getAdTracking()
Required. Determines how the ads are tracked. If [gam_live_config][google.cloud.video.stitcher.v1.LiveConfig.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:
- The adTracking.
-
getDefaultSlate
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:
- The defaultSlate.
-
getDefaultSlateBytes
com.google.protobuf.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:
- The bytes for defaultSlate.
-
getStitchingPolicyValue
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:
- The enum numeric value on the wire for stitchingPolicy.
-
getStitchingPolicy
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:
- The stitchingPolicy.
-
hasPrefetchConfig
boolean hasPrefetchConfig()
The configuration for prefetching ads.
.google.cloud.video.stitcher.v1.PrefetchConfig prefetch_config = 10;
- Returns:
- Whether the prefetchConfig field is set.
-
getPrefetchConfig
PrefetchConfig getPrefetchConfig()
The configuration for prefetching ads.
.google.cloud.video.stitcher.v1.PrefetchConfig prefetch_config = 10;
- Returns:
- The prefetchConfig.
-
getPrefetchConfigOrBuilder
PrefetchConfigOrBuilder getPrefetchConfigOrBuilder()
The configuration for prefetching ads.
.google.cloud.video.stitcher.v1.PrefetchConfig prefetch_config = 10;
-
-