Class Event.ReturnToProgramTask (0.43.0)

public static final class Event.ReturnToProgramTask extends GeneratedMessageV3 implements Event.ReturnToProgramTaskOrBuilder

Stops any events which are currently running. This only applies to events with a duration.

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

Static Methods

getDefaultInstance()

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

getDescriptor()

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

newBuilder()

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

newBuilder(Event.ReturnToProgramTask prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

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

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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.ReturnToProgramTask.Builder newBuilderForType()
Returns
TypeDescription
Event.ReturnToProgramTask.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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