Class Event.MuteTask (0.16.0)

public static final class Event.MuteTask extends GeneratedMessageV3 implements Event.MuteTaskOrBuilder

Mutes the stream.

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

Static Fields

DURATION_FIELD_NUMBER

public static final int DURATION_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

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

getDescriptor()

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

newBuilder()

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

newBuilder(Event.MuteTask prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

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

getDuration()

public Duration getDuration()

Duration for which the stream should be muted. If omitted, the stream will be muted until an UnmuteTask event is sent.

.google.protobuf.Duration duration = 1;

Returns
TypeDescription
Duration

The duration.

getDurationOrBuilder()

public DurationOrBuilder getDurationOrBuilder()

Duration for which the stream should be muted. If omitted, the stream will be muted until an UnmuteTask event is sent.

.google.protobuf.Duration duration = 1;

Returns
TypeDescription
DurationOrBuilder

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasDuration()

public boolean hasDuration()

Duration for which the stream should be muted. If omitted, the stream will be muted until an UnmuteTask event is sent.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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