Class Event.InputSwitchTask.Builder (0.51.0)

public static final class Event.InputSwitchTask.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Event.InputSwitchTask.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Event.InputSwitchTask.Builder
Overrides

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

clearField(Descriptors.FieldDescriptor field)

public Event.InputSwitchTask.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
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.

clearOneof(Descriptors.OneofDescriptor oneof)

public Event.InputSwitchTask.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Event.InputSwitchTask.Builder
Overrides

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Event.InputSwitchTask.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Event.InputSwitchTask.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public Event.InputSwitchTask.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
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.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Event.InputSwitchTask.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Event.InputSwitchTask.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Event.InputSwitchTask.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Event.InputSwitchTask.Builder
Overrides