Class Event.MuteTask.Builder (0.96.0)
Stay organized with collections
Save and categorize content based on your preferences.
public static final class Event.MuteTask.Builder extends GeneratedMessage.Builder<Event.MuteTask.Builder> implements Event.MuteTaskOrBuilder
Mutes the stream.
Protobuf type google.cloud.video.livestream.v1.Event.MuteTask
Inherited Members
com.google.protobuf.GeneratedMessage.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
build()
public Event.MuteTask build()
buildPartial()
public Event.MuteTask buildPartial()
clear()
public Event.MuteTask.Builder clear()
Overrides
clearDuration()
public Event.MuteTask.Builder clearDuration()
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;
getDefaultInstanceForType()
public Event.MuteTask getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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 |
| Type |
Description |
Duration |
The duration.
|
getDurationBuilder()
public Duration.Builder getDurationBuilder()
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;
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;
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 |
| Type |
Description |
boolean |
Whether the duration field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeDuration(Duration value)
public Event.MuteTask.Builder mergeDuration(Duration value)
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;
| Parameter |
| Name |
Description |
value |
Duration
|
mergeFrom(Event.MuteTask other)
public Event.MuteTask.Builder mergeFrom(Event.MuteTask other)
public Event.MuteTask.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Event.MuteTask.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
setDuration(Duration value)
public Event.MuteTask.Builder setDuration(Duration value)
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;
| Parameter |
| Name |
Description |
value |
Duration
|
setDuration(Duration.Builder builderForValue)
public Event.MuteTask.Builder setDuration(Duration.Builder builderForValue)
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;
| Parameter |
| Name |
Description |
builderForValue |
Builder
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-08-04 UTC.
[null,null,["Last updated 2026-08-04 UTC."],[],[]]