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
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
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
Returns
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
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
public InputAttachment.AutomaticFailover.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public InputAttachment.AutomaticFailover build()
Returns
public InputAttachment.AutomaticFailover buildPartial()
Returns
public InputAttachment.AutomaticFailover.Builder clear()
Returns
Overrides
public InputAttachment.AutomaticFailover.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
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
public InputAttachment.AutomaticFailover.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public InputAttachment.AutomaticFailover.Builder clone()
Returns
Overrides
public InputAttachment.AutomaticFailover getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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.
|
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.
|
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.
|
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
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public InputAttachment.AutomaticFailover.Builder mergeFrom(InputAttachment.AutomaticFailover other)
Parameter
Returns
public InputAttachment.AutomaticFailover.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public InputAttachment.AutomaticFailover.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final InputAttachment.AutomaticFailover.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public InputAttachment.AutomaticFailover.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
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
public InputAttachment.AutomaticFailover.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final InputAttachment.AutomaticFailover.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides