Class InputAttachment.AutomaticFailover (0.31.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
TypeDescription
int

Static Methods

getDefaultInstance()

public static InputAttachment.AutomaticFailover getDefaultInstance()
Returns
TypeDescription
InputAttachment.AutomaticFailover

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static InputAttachment.AutomaticFailover.Builder newBuilder()
Returns
TypeDescription
InputAttachment.AutomaticFailover.Builder

newBuilder(InputAttachment.AutomaticFailover prototype)

public static InputAttachment.AutomaticFailover.Builder newBuilder(InputAttachment.AutomaticFailover prototype)
Parameter
NameDescription
prototypeInputAttachment.AutomaticFailover
Returns
TypeDescription
InputAttachment.AutomaticFailover.Builder

parseDelimitedFrom(InputStream input)

public static InputAttachment.AutomaticFailover parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
InputAttachment.AutomaticFailover
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static InputAttachment.AutomaticFailover parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
InputAttachment.AutomaticFailover
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static InputAttachment.AutomaticFailover parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
InputAttachment.AutomaticFailover
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static InputAttachment.AutomaticFailover parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
InputAttachment.AutomaticFailover
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static InputAttachment.AutomaticFailover parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
InputAttachment.AutomaticFailover
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static InputAttachment.AutomaticFailover parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
InputAttachment.AutomaticFailover
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static InputAttachment.AutomaticFailover parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
InputAttachment.AutomaticFailover
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static InputAttachment.AutomaticFailover parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
InputAttachment.AutomaticFailover
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static InputAttachment.AutomaticFailover parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
InputAttachment.AutomaticFailover
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static InputAttachment.AutomaticFailover parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
InputAttachment.AutomaticFailover
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static InputAttachment.AutomaticFailover parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
InputAttachment.AutomaticFailover
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static InputAttachment.AutomaticFailover parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
InputAttachment.AutomaticFailover
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public InputAttachment.AutomaticFailover getDefaultInstanceForType()
Returns
TypeDescription
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
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.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public InputAttachment.AutomaticFailover.Builder newBuilderForType()
Returns
TypeDescription
InputAttachment.AutomaticFailover.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected InputAttachment.AutomaticFailover.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
InputAttachment.AutomaticFailover.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public InputAttachment.AutomaticFailover.Builder toBuilder()
Returns
TypeDescription
InputAttachment.AutomaticFailover.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException