public static final class InputAttachment.AutomaticFailover extends GeneratedMessageV3 implements InputAttachment.AutomaticFailoverOrBuilder
Configurations to follow when automatic failover happens.
Protobuf type google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover
Static Fields
public static final int INPUT_KEYS_FIELD_NUMBER
Field Value
Static Methods
public static InputAttachment.AutomaticFailover getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static InputAttachment.AutomaticFailover.Builder newBuilder()
Returns
public static InputAttachment.AutomaticFailover.Builder newBuilder(InputAttachment.AutomaticFailover prototype)
Parameter
Returns
public static InputAttachment.AutomaticFailover parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static InputAttachment.AutomaticFailover parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static InputAttachment.AutomaticFailover parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static InputAttachment.AutomaticFailover parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static InputAttachment.AutomaticFailover parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static InputAttachment.AutomaticFailover parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static InputAttachment.AutomaticFailover parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static InputAttachment.AutomaticFailover parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static InputAttachment.AutomaticFailover parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static InputAttachment.AutomaticFailover parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static InputAttachment.AutomaticFailover parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static InputAttachment.AutomaticFailover parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<InputAttachment.AutomaticFailover> parser()
Returns
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
public InputAttachment.AutomaticFailover getDefaultInstanceForType()
Returns
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
public Parser<InputAttachment.AutomaticFailover> getParserForType()
Returns
Overrides
public int getSerializedSize()
Returns
Overrides
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public InputAttachment.AutomaticFailover.Builder newBuilderForType()
Returns
protected InputAttachment.AutomaticFailover.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public InputAttachment.AutomaticFailover.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions