Class InputAttachment.AutomaticFailover (0.53.0)

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

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > InputAttachment.AutomaticFailover

Static Fields

INPUT_KEYS_FIELD_NUMBER

public static final int INPUT_KEYS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static InputAttachment.AutomaticFailover getDefaultInstance()
Returns
Type Description
InputAttachment.AutomaticFailover

getDescriptor()

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

newBuilder()

public static InputAttachment.AutomaticFailover.Builder newBuilder()
Returns
Type Description
InputAttachment.AutomaticFailover.Builder

newBuilder(InputAttachment.AutomaticFailover prototype)

public static InputAttachment.AutomaticFailover.Builder newBuilder(InputAttachment.AutomaticFailover prototype)
Parameter
Name Description
prototype InputAttachment.AutomaticFailover
Returns
Type Description
InputAttachment.AutomaticFailover.Builder

parseDelimitedFrom(InputStream input)

public static InputAttachment.AutomaticFailover parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
InputAttachment.AutomaticFailover
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static InputAttachment.AutomaticFailover parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InputAttachment.AutomaticFailover
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static InputAttachment.AutomaticFailover parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
InputAttachment.AutomaticFailover
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static InputAttachment.AutomaticFailover parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InputAttachment.AutomaticFailover
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static InputAttachment.AutomaticFailover parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
InputAttachment.AutomaticFailover
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static InputAttachment.AutomaticFailover parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InputAttachment.AutomaticFailover
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static InputAttachment.AutomaticFailover parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
InputAttachment.AutomaticFailover
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static InputAttachment.AutomaticFailover parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InputAttachment.AutomaticFailover
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static InputAttachment.AutomaticFailover parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
InputAttachment.AutomaticFailover
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static InputAttachment.AutomaticFailover parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InputAttachment.AutomaticFailover
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static InputAttachment.AutomaticFailover parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
InputAttachment.AutomaticFailover
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static InputAttachment.AutomaticFailover parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InputAttachment.AutomaticFailover
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<InputAttachment.AutomaticFailover> parser()
Returns
Type Description
Parser<AutomaticFailover>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

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

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.

getParserForType()

public Parser<InputAttachment.AutomaticFailover> getParserForType()
Returns
Type Description
Parser<AutomaticFailover>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public InputAttachment.AutomaticFailover.Builder newBuilderForType()
Returns
Type Description
InputAttachment.AutomaticFailover.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected InputAttachment.AutomaticFailover.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
InputAttachment.AutomaticFailover.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public InputAttachment.AutomaticFailover.Builder toBuilder()
Returns
Type Description
InputAttachment.AutomaticFailover.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException