Interface Event.SlateTaskOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Event.SlateTask,Event.SlateTask.Builder
- Enclosing class:
- Event
public static interface Event.SlateTaskOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetAsset()Slate asset to use for the duration.com.google.protobuf.ByteStringSlate asset to use for the duration.com.google.protobuf.DurationOptional.com.google.protobuf.DurationOrBuilderOptional.booleanOptional.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasDuration
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:
- Whether the duration field is set.
-
getDuration
com.google.protobuf.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:
- The duration.
-
getDurationOrBuilder
com.google.protobuf.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; -
getAsset
String getAsset()Slate asset to use for the duration. If its duration is less than the duration of the SlateTask, then the slate loops. The slate must be represented in the form of: `projects/{project}/locations/{location}/assets/{assetId}`.string asset = 2 [(.google.api.resource_reference) = { ... }- Returns:
- The asset.
-
getAssetBytes
com.google.protobuf.ByteString getAssetBytes()Slate asset to use for the duration. If its duration is less than the duration of the SlateTask, then the slate loops. The slate must be represented in the form of: `projects/{project}/locations/{location}/assets/{assetId}`.string asset = 2 [(.google.api.resource_reference) = { ... }- Returns:
- The bytes for asset.
-