Interface DaiSession.CreationContext.LinearInfoOrBuilder (0.58.0)

public static interface DaiSession.CreationContext.LinearInfoOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAssetKey()

public abstract String getAssetKey()

Output only. The LiveStream.asset_key field. Google Ad Manager only generates this field for livestreams with the dynamic_ad_insertion_type field set to DynamicAdInsertionType.LINEAR value.

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

Returns
Type Description
String

The assetKey.

getAssetKeyBytes()

public abstract ByteString getAssetKeyBytes()

Output only. The LiveStream.asset_key field. Google Ad Manager only generates this field for livestreams with the dynamic_ad_insertion_type field set to DynamicAdInsertionType.LINEAR value.

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

Returns
Type Description
ByteString

The bytes for assetKey.

getCustomAssetKey()

public abstract String getCustomAssetKey()

Output only. The LiveStream.custom_asset_key field. This field is only populated for livestreams with the dynamic_ad_insertion_type field set to DynamicAdInsertionType.POD_SERVING_MANIFEST value or DynamicAdInsertionType.POD_SERVING_REDIRECT value.

optional string custom_asset_key = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The customAssetKey.

getCustomAssetKeyBytes()

public abstract ByteString getCustomAssetKeyBytes()

Output only. The LiveStream.custom_asset_key field. This field is only populated for livestreams with the dynamic_ad_insertion_type field set to DynamicAdInsertionType.POD_SERVING_MANIFEST value or DynamicAdInsertionType.POD_SERVING_REDIRECT value.

optional string custom_asset_key = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for customAssetKey.

getEventEndTime()

public abstract Timestamp getEventEndTime()

Output only. The LiveStream.end_time field.

.google.protobuf.Timestamp event_end_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The eventEndTime.

getEventEndTimeOrBuilder()

public abstract TimestampOrBuilder getEventEndTimeOrBuilder()

Output only. The LiveStream.end_time field.

.google.protobuf.Timestamp event_end_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getEventStartTime()

public abstract Timestamp getEventStartTime()

The LiveStream.start_time field.

.google.protobuf.Timestamp event_start_time = 6;

Returns
Type Description
Timestamp

The eventStartTime.

getEventStartTimeOrBuilder()

public abstract TimestampOrBuilder getEventStartTimeOrBuilder()

The LiveStream.start_time field.

.google.protobuf.Timestamp event_start_time = 6;

Returns
Type Description
TimestampOrBuilder

getLiveStream()

public abstract String getLiveStream()

Output only. The name field of the LiveStream resource.

optional string live_stream = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The liveStream.

getLiveStreamBytes()

public abstract ByteString getLiveStreamBytes()

Output only. The name field of the LiveStream resource.

optional string live_stream = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for liveStream.

getPodTrimTolerance()

public abstract Duration getPodTrimTolerance()

Optional. The maximum duration allowed to be trimmed from an ad pod before whole ads are dropped. This field is only populated when pod trimming is enabled.

optional .google.protobuf.Duration pod_trim_tolerance = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Duration

The podTrimTolerance.

getPodTrimToleranceOrBuilder()

public abstract DurationOrBuilder getPodTrimToleranceOrBuilder()

Optional. The maximum duration allowed to be trimmed from an ad pod before whole ads are dropped. This field is only populated when pod trimming is enabled.

optional .google.protobuf.Duration pod_trim_tolerance = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DurationOrBuilder

getPodTrimmingEnabled()

public abstract boolean getPodTrimmingEnabled()

Output only. Whether ad pod trimming is enabled for the DAI session.

optional bool pod_trimming_enabled = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

The podTrimmingEnabled.

getPrefetchEnabled()

public abstract boolean getPrefetchEnabled()

Output only. Whether the LiveStream.prefetch_enabled field is set to true.

optional bool prefetch_enabled = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

The prefetchEnabled.

hasAssetKey()

public abstract boolean hasAssetKey()

Output only. The LiveStream.asset_key field. Google Ad Manager only generates this field for livestreams with the dynamic_ad_insertion_type field set to DynamicAdInsertionType.LINEAR value.

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

Returns
Type Description
boolean

Whether the assetKey field is set.

hasCustomAssetKey()

public abstract boolean hasCustomAssetKey()

Output only. The LiveStream.custom_asset_key field. This field is only populated for livestreams with the dynamic_ad_insertion_type field set to DynamicAdInsertionType.POD_SERVING_MANIFEST value or DynamicAdInsertionType.POD_SERVING_REDIRECT value.

optional string custom_asset_key = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the customAssetKey field is set.

hasEventEndTime()

public abstract boolean hasEventEndTime()

Output only. The LiveStream.end_time field.

.google.protobuf.Timestamp event_end_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the eventEndTime field is set.

hasEventStartTime()

public abstract boolean hasEventStartTime()

The LiveStream.start_time field.

.google.protobuf.Timestamp event_start_time = 6;

Returns
Type Description
boolean

Whether the eventStartTime field is set.

hasLiveStream()

public abstract boolean hasLiveStream()

Output only. The name field of the LiveStream resource.

optional string live_stream = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
boolean

Whether the liveStream field is set.

hasPodTrimTolerance()

public abstract boolean hasPodTrimTolerance()

Optional. The maximum duration allowed to be trimmed from an ad pod before whole ads are dropped. This field is only populated when pod trimming is enabled.

optional .google.protobuf.Duration pod_trim_tolerance = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the podTrimTolerance field is set.

hasPodTrimmingEnabled()

public abstract boolean hasPodTrimmingEnabled()

Output only. Whether ad pod trimming is enabled for the DAI session.

optional bool pod_trimming_enabled = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the podTrimmingEnabled field is set.

hasPrefetchEnabled()

public abstract boolean hasPrefetchEnabled()

Output only. Whether the LiveStream.prefetch_enabled field is set to true.

optional bool prefetch_enabled = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the prefetchEnabled field is set.