Class Event.SlateTask (0.42.0)

public static final class Event.SlateTask extends GeneratedMessageV3 implements Event.SlateTaskOrBuilder

Inserts a slate.

Protobuf type google.cloud.video.livestream.v1.Event.SlateTask

Static Fields

ASSET_FIELD_NUMBER

public static final int ASSET_FIELD_NUMBER
Field Value
TypeDescription
int

DURATION_FIELD_NUMBER

public static final int DURATION_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Event.SlateTask getDefaultInstance()
Returns
TypeDescription
Event.SlateTask

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static Event.SlateTask.Builder newBuilder()
Returns
TypeDescription
Event.SlateTask.Builder

newBuilder(Event.SlateTask prototype)

public static Event.SlateTask.Builder newBuilder(Event.SlateTask prototype)
Parameter
NameDescription
prototypeEvent.SlateTask
Returns
TypeDescription
Event.SlateTask.Builder

parseDelimitedFrom(InputStream input)

public static Event.SlateTask parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Event.SlateTask
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Event.SlateTask parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Event.SlateTask
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Event.SlateTask parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Event.SlateTask
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Event.SlateTask parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Event.SlateTask
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Event.SlateTask parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Event.SlateTask
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Event.SlateTask parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Event.SlateTask
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Event.SlateTask parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Event.SlateTask
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Event.SlateTask parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Event.SlateTask
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static Event.SlateTask parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Event.SlateTask
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Event.SlateTask parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Event.SlateTask
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Event.SlateTask parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Event.SlateTask
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Event.SlateTask parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Event.SlateTask
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<Event.SlateTask> parser()
Returns
TypeDescription
Parser<SlateTask>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getAsset()

public 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
TypeDescription
String

The asset.

getAssetBytes()

public 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
TypeDescription
ByteString

The bytes for asset.

getDefaultInstanceForType()

public Event.SlateTask getDefaultInstanceForType()
Returns
TypeDescription
Event.SlateTask

getDuration()

public 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
TypeDescription
Duration

The duration.

getDurationOrBuilder()

public 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
TypeDescription
DurationOrBuilder

getParserForType()

public Parser<Event.SlateTask> getParserForType()
Returns
TypeDescription
Parser<SlateTask>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasDuration()

public 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
TypeDescription
boolean

Whether the duration field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public Event.SlateTask.Builder newBuilderForType()
Returns
TypeDescription
Event.SlateTask.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Event.SlateTask.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Event.SlateTask.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public Event.SlateTask.Builder toBuilder()
Returns
TypeDescription
Event.SlateTask.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException