Class Event.InputSwitchTask.Builder (0.85.0)

public static final class Event.InputSwitchTask.Builder extends GeneratedMessage.Builder<Event.InputSwitchTask.Builder> implements Event.InputSwitchTaskOrBuilder

Switches to another input stream. Automatic failover is then disabled.

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public Event.InputSwitchTask build()
Returns
Type Description
Event.InputSwitchTask

buildPartial()

public Event.InputSwitchTask buildPartial()
Returns
Type Description
Event.InputSwitchTask

clear()

public Event.InputSwitchTask.Builder clear()
Returns
Type Description
Event.InputSwitchTask.Builder
Overrides

clearInputKey()

public Event.InputSwitchTask.Builder clearInputKey()

The InputAttachment.key of the input to switch to.

string input_key = 1;

Returns
Type Description
Event.InputSwitchTask.Builder

This builder for chaining.

getDefaultInstanceForType()

public Event.InputSwitchTask getDefaultInstanceForType()
Returns
Type Description
Event.InputSwitchTask

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getInputKey()

public String getInputKey()

The InputAttachment.key of the input to switch to.

string input_key = 1;

Returns
Type Description
String

The inputKey.

getInputKeyBytes()

public ByteString getInputKeyBytes()

The InputAttachment.key of the input to switch to.

string input_key = 1;

Returns
Type Description
ByteString

The bytes for inputKey.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Event.InputSwitchTask other)

public Event.InputSwitchTask.Builder mergeFrom(Event.InputSwitchTask other)
Parameter
Name Description
other Event.InputSwitchTask
Returns
Type Description
Event.InputSwitchTask.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Event.InputSwitchTask.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Event.InputSwitchTask.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Event.InputSwitchTask.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Event.InputSwitchTask.Builder
Overrides

setInputKey(String value)

public Event.InputSwitchTask.Builder setInputKey(String value)

The InputAttachment.key of the input to switch to.

string input_key = 1;

Parameter
Name Description
value String

The inputKey to set.

Returns
Type Description
Event.InputSwitchTask.Builder

This builder for chaining.

setInputKeyBytes(ByteString value)

public Event.InputSwitchTask.Builder setInputKeyBytes(ByteString value)

The InputAttachment.key of the input to switch to.

string input_key = 1;

Parameter
Name Description
value ByteString

The bytes for inputKey to set.

Returns
Type Description
Event.InputSwitchTask.Builder

This builder for chaining.