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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
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;
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.
|
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.
|
public InputAttachment.AutomaticFailover.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public InputAttachment.AutomaticFailover build()
public InputAttachment.AutomaticFailover buildPartial()
public InputAttachment.AutomaticFailover.Builder clear()
Overrides
public InputAttachment.AutomaticFailover.Builder clearField(Descriptors.FieldDescriptor field)
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;
public InputAttachment.AutomaticFailover.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public InputAttachment.AutomaticFailover.Builder clone()
Overrides
public InputAttachment.AutomaticFailover getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
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;
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public InputAttachment.AutomaticFailover.Builder mergeFrom(InputAttachment.AutomaticFailover other)
public InputAttachment.AutomaticFailover.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public InputAttachment.AutomaticFailover.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
public final InputAttachment.AutomaticFailover.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public InputAttachment.AutomaticFailover.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
public InputAttachment.AutomaticFailover.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final InputAttachment.AutomaticFailover.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides