public static final class Event.SlateTask extends GeneratedMessageV3 implements Event.SlateTaskOrBuilder
Inserts a slate.
Protobuf type google.cloud.video.livestream.v1.Event.SlateTask
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
ASSET_FIELD_NUMBER
public static final int ASSET_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
DURATION_FIELD_NUMBER
public static final int DURATION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static Event.SlateTask getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Event.SlateTask.Builder newBuilder()
newBuilder(Event.SlateTask prototype)
public static Event.SlateTask.Builder newBuilder(Event.SlateTask prototype)
public static Event.SlateTask parseDelimitedFrom(InputStream input)
public static Event.SlateTask parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static Event.SlateTask parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Event.SlateTask parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static Event.SlateTask parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Event.SlateTask parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Event.SlateTask parseFrom(CodedInputStream input)
public static Event.SlateTask parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Event.SlateTask parseFrom(InputStream input)
public static Event.SlateTask parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static Event.SlateTask parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Event.SlateTask parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<Event.SlateTask> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
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 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.
|
getDefaultInstanceForType()
public Event.SlateTask getDefaultInstanceForType()
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 |
Type |
Description |
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;
getParserForType()
public Parser<Event.SlateTask> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
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 |
Type |
Description |
boolean |
Whether the duration field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Event.SlateTask.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Event.SlateTask.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public Event.SlateTask.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides