Class InputAttachment.AutomaticFailover.Builder (0.5.8)

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
TypeDescription
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
NameDescription
valuesIterable<String>

The inputKeys to add.

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

The inputKeys to add.

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

The bytes of the inputKeys to add.

Returns
TypeDescription
InputAttachment.AutomaticFailover.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public InputAttachment.AutomaticFailover build()
Returns
TypeDescription
InputAttachment.AutomaticFailover

buildPartial()

public InputAttachment.AutomaticFailover buildPartial()
Returns
TypeDescription
InputAttachment.AutomaticFailover

clear()

public InputAttachment.AutomaticFailover.Builder clear()
Returns
TypeDescription
InputAttachment.AutomaticFailover.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public InputAttachment.AutomaticFailover.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
InputAttachment.AutomaticFailover.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public InputAttachment.AutomaticFailover.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
InputAttachment.AutomaticFailover.Builder
Overrides

clone()

public InputAttachment.AutomaticFailover.Builder clone()
Returns
TypeDescription
InputAttachment.AutomaticFailover.Builder
Overrides

getDefaultInstanceForType()

public InputAttachment.AutomaticFailover getDefaultInstanceForType()
Returns
TypeDescription
InputAttachment.AutomaticFailover

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint

The index of the element to return.

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

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ProtocolStringList

A list containing the inputKeys.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(InputAttachment.AutomaticFailover other)

public InputAttachment.AutomaticFailover.Builder mergeFrom(InputAttachment.AutomaticFailover other)
Parameter
NameDescription
otherInputAttachment.AutomaticFailover
Returns
TypeDescription
InputAttachment.AutomaticFailover.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public InputAttachment.AutomaticFailover.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
InputAttachment.AutomaticFailover.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final InputAttachment.AutomaticFailover.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
InputAttachment.AutomaticFailover.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

The index to set the value at.

valueString

The inputKeys to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

public final InputAttachment.AutomaticFailover.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
InputAttachment.AutomaticFailover.Builder
Overrides