Class Event.InputSwitchTask.Builder (0.18.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Event.InputSwitchTask.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Event.InputSwitchTask.Builder
Overrides

build()

public Event.InputSwitchTask build()
Returns
TypeDescription
Event.InputSwitchTask

buildPartial()

public Event.InputSwitchTask buildPartial()
Returns
TypeDescription
Event.InputSwitchTask

clear()

public Event.InputSwitchTask.Builder clear()
Returns
TypeDescription
Event.InputSwitchTask.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public Event.InputSwitchTask.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Event.InputSwitchTask.Builder
Overrides

clearInputKey()

public Event.InputSwitchTask.Builder clearInputKey()

The InputAttachment.key of the input to switch to.

string input_key = 1;

Returns
TypeDescription
Event.InputSwitchTask.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Event.InputSwitchTask.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Event.InputSwitchTask.Builder
Overrides

clone()

public Event.InputSwitchTask.Builder clone()
Returns
TypeDescription
Event.InputSwitchTask.Builder
Overrides

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getInputKey()

public String getInputKey()

The InputAttachment.key of the input to switch to.

string input_key = 1;

Returns
TypeDescription
String

The inputKey.

getInputKeyBytes()

public ByteString getInputKeyBytes()

The InputAttachment.key of the input to switch to.

string input_key = 1;

Returns
TypeDescription
ByteString

The bytes for inputKey.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Event.InputSwitchTask other)

public Event.InputSwitchTask.Builder mergeFrom(Event.InputSwitchTask other)
Parameter
NameDescription
otherEvent.InputSwitchTask
Returns
TypeDescription
Event.InputSwitchTask.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Event.InputSwitchTask.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Event.InputSwitchTask.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Event.InputSwitchTask.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Event.InputSwitchTask.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Event.InputSwitchTask.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Event.InputSwitchTask.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public Event.InputSwitchTask.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The inputKey to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for inputKey to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Event.InputSwitchTask.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Event.InputSwitchTask.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Event.InputSwitchTask.Builder
Overrides