Interface AdStitchDetailOrBuilder (0.32.0)

public interface AdStitchDetailOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsMedia(String key)

public abstract boolean containsMedia(String key)

Optional. The metadata of the chosen media file for the ad.

map<string, .google.protobuf.Value> media = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

getAdBreakId()

public abstract String getAdBreakId()

Required. The ad break ID of the processed ad.

string ad_break_id = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The adBreakId.

getAdBreakIdBytes()

public abstract ByteString getAdBreakIdBytes()

Required. The ad break ID of the processed ad.

string ad_break_id = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for adBreakId.

getAdId()

public abstract String getAdId()

Required. The ad ID of the processed ad.

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

Returns
TypeDescription
String

The adId.

getAdIdBytes()

public abstract ByteString getAdIdBytes()

Required. The ad ID of the processed ad.

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

Returns
TypeDescription
ByteString

The bytes for adId.

getAdTimeOffset()

public abstract Duration getAdTimeOffset()

Required. The time offset of the processed ad.

.google.protobuf.Duration ad_time_offset = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Duration

The adTimeOffset.

getAdTimeOffsetOrBuilder()

public abstract DurationOrBuilder getAdTimeOffsetOrBuilder()

Required. The time offset of the processed ad.

.google.protobuf.Duration ad_time_offset = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
DurationOrBuilder

getMedia() (deprecated)

public abstract Map<String,Value> getMedia()

Use #getMediaMap() instead.

Returns
TypeDescription
Map<String,Value>

getMediaCount()

public abstract int getMediaCount()

Optional. The metadata of the chosen media file for the ad.

map<string, .google.protobuf.Value> media = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
int

getMediaMap()

public abstract Map<String,Value> getMediaMap()

Optional. The metadata of the chosen media file for the ad.

map<string, .google.protobuf.Value> media = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
Map<String,Value>

getMediaOrDefault(String key, Value defaultValue)

public abstract Value getMediaOrDefault(String key, Value defaultValue)

Optional. The metadata of the chosen media file for the ad.

map<string, .google.protobuf.Value> media = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameters
NameDescription
keyString
defaultValueValue
Returns
TypeDescription
Value

getMediaOrThrow(String key)

public abstract Value getMediaOrThrow(String key)

Optional. The metadata of the chosen media file for the ad.

map<string, .google.protobuf.Value> media = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
keyString
Returns
TypeDescription
Value

getSkipReason()

public abstract String getSkipReason()

Optional. Indicates the reason why the ad has been skipped.

string skip_reason = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The skipReason.

getSkipReasonBytes()

public abstract ByteString getSkipReasonBytes()

Optional. Indicates the reason why the ad has been skipped.

string skip_reason = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for skipReason.

hasAdTimeOffset()

public abstract boolean hasAdTimeOffset()

Required. The time offset of the processed ad.

.google.protobuf.Duration ad_time_offset = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the adTimeOffset field is set.