Interface Event.SlateTaskOrBuilder (0.45.0)

public static interface Event.SlateTaskOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAsset()

public abstract String getAsset()

Slate asset to use for the duration. If its duration is less than the duration of the SlateTask, then it will be looped. The slate must be represented in the form of: projects/{project}/locations/{location}/assets/{assetId}.

string asset = 2 [(.google.api.resource_reference) = { ... }

Returns
Type Description
String

The asset.

getAssetBytes()

public abstract ByteString getAssetBytes()

Slate asset to use for the duration. If its duration is less than the duration of the SlateTask, then it will be looped. The slate must be represented in the form of: projects/{project}/locations/{location}/assets/{assetId}.

string asset = 2 [(.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for asset.

getDuration()

public abstract Duration getDuration()

Optional. Duration of the slate. Must be greater than 0 if specified. Omit this field for a long running slate.

.google.protobuf.Duration duration = 1;

Returns
Type Description
Duration

The duration.

getDurationOrBuilder()

public abstract DurationOrBuilder getDurationOrBuilder()

Optional. Duration of the slate. Must be greater than 0 if specified. Omit this field for a long running slate.

.google.protobuf.Duration duration = 1;

Returns
Type Description
DurationOrBuilder

hasDuration()

public abstract boolean hasDuration()

Optional. Duration of the slate. Must be greater than 0 if specified. Omit this field for a long running slate.

.google.protobuf.Duration duration = 1;

Returns
Type Description
boolean

Whether the duration field is set.