Class InputAttachment.AutomaticFailover.Builder (0.54.0)

public static final class InputAttachment.AutomaticFailover.Builder extends GeneratedMessageV3.Builder<InputAttachment.AutomaticFailover.Builder> implements InputAttachment.AutomaticFailoverOrBuilder

Configurations to follow when automatic failover happens.

Protobuf type google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover

Static Methods

getDescriptor()

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

Methods

addAllInputKeys(Iterable<String> values)

public InputAttachment.AutomaticFailover.Builder addAllInputKeys(Iterable<String> values)

The InputAttachment.keys of inputs to failover to when this input is disconnected. Currently, only up to one backup input is supported.

repeated string input_keys = 1;

Parameter
Name Description
values Iterable<String>

The inputKeys to add.

Returns
Type Description
InputAttachment.AutomaticFailover.Builder

This builder for chaining.

addInputKeys(String value)

public InputAttachment.AutomaticFailover.Builder addInputKeys(String value)

The InputAttachment.keys of inputs to failover to when this input is disconnected. Currently, only up to one backup input is supported.

repeated string input_keys = 1;

Parameter
Name Description
value String

The inputKeys to add.

Returns
Type Description
InputAttachment.AutomaticFailover.Builder

This builder for chaining.

addInputKeysBytes(ByteString value)

public InputAttachment.AutomaticFailover.Builder addInputKeysBytes(ByteString value)

The InputAttachment.keys of inputs to failover to when this input is disconnected. Currently, only up to one backup input is supported.

repeated string input_keys = 1;

Parameter
Name Description
value ByteString

The bytes of the inputKeys to add.

Returns
Type Description
InputAttachment.AutomaticFailover.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public InputAttachment.AutomaticFailover build()
Returns
Type Description
InputAttachment.AutomaticFailover

buildPartial()

public InputAttachment.AutomaticFailover buildPartial()
Returns
Type Description
InputAttachment.AutomaticFailover

clear()

public InputAttachment.AutomaticFailover.Builder clear()
Returns
Type Description
InputAttachment.AutomaticFailover.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public InputAttachment.AutomaticFailover.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
InputAttachment.AutomaticFailover.Builder
Overrides

clearInputKeys()

public InputAttachment.AutomaticFailover.Builder clearInputKeys()

The InputAttachment.keys of inputs to failover to when this input is disconnected. Currently, only up to one backup input is supported.

repeated string input_keys = 1;

Returns
Type Description
InputAttachment.AutomaticFailover.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public InputAttachment.AutomaticFailover.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
InputAttachment.AutomaticFailover.Builder
Overrides

clone()

public InputAttachment.AutomaticFailover.Builder clone()
Returns
Type Description
InputAttachment.AutomaticFailover.Builder
Overrides

getDefaultInstanceForType()

public InputAttachment.AutomaticFailover getDefaultInstanceForType()
Returns
Type Description
InputAttachment.AutomaticFailover

getDescriptorForType()

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

getInputKeys(int index)

public String getInputKeys(int index)

The InputAttachment.keys of inputs to failover to when this input is disconnected. Currently, only up to one backup input is supported.

repeated string input_keys = 1;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The inputKeys at the given index.

getInputKeysBytes(int index)

public ByteString getInputKeysBytes(int index)

The InputAttachment.keys of inputs to failover to when this input is disconnected. Currently, only up to one backup input is supported.

repeated string input_keys = 1;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the inputKeys at the given index.

getInputKeysCount()

public int getInputKeysCount()

The InputAttachment.keys of inputs to failover to when this input is disconnected. Currently, only up to one backup input is supported.

repeated string input_keys = 1;

Returns
Type Description
int

The count of inputKeys.

getInputKeysList()

public ProtocolStringList getInputKeysList()

The InputAttachment.keys of inputs to failover to when this input is disconnected. Currently, only up to one backup input is supported.

repeated string input_keys = 1;

Returns
Type Description
ProtocolStringList

A list containing the inputKeys.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(InputAttachment.AutomaticFailover other)

public InputAttachment.AutomaticFailover.Builder mergeFrom(InputAttachment.AutomaticFailover other)
Parameter
Name Description
other InputAttachment.AutomaticFailover
Returns
Type Description
InputAttachment.AutomaticFailover.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public InputAttachment.AutomaticFailover.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
InputAttachment.AutomaticFailover.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final InputAttachment.AutomaticFailover.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
InputAttachment.AutomaticFailover.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public InputAttachment.AutomaticFailover.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
InputAttachment.AutomaticFailover.Builder
Overrides

setInputKeys(int index, String value)

public InputAttachment.AutomaticFailover.Builder setInputKeys(int index, String value)

The InputAttachment.keys of inputs to failover to when this input is disconnected. Currently, only up to one backup input is supported.

repeated string input_keys = 1;

Parameters
Name Description
index int

The index to set the value at.

value String

The inputKeys to set.

Returns
Type Description
InputAttachment.AutomaticFailover.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final InputAttachment.AutomaticFailover.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
InputAttachment.AutomaticFailover.Builder
Overrides