Class InputAttachment (0.46.0)

public final class InputAttachment extends GeneratedMessageV3 implements InputAttachmentOrBuilder

A group of information for attaching an input resource to this channel.

Protobuf type google.cloud.video.livestream.v1.InputAttachment

Static Fields

AUTOMATIC_FAILOVER_FIELD_NUMBER

public static final int AUTOMATIC_FAILOVER_FIELD_NUMBER
Field Value
Type Description
int

INPUT_FIELD_NUMBER

public static final int INPUT_FIELD_NUMBER
Field Value
Type Description
int

KEY_FIELD_NUMBER

public static final int KEY_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static InputAttachment getDefaultInstance()
Returns
Type Description
InputAttachment

getDescriptor()

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

newBuilder()

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

newBuilder(InputAttachment prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getAutomaticFailover()

public InputAttachment.AutomaticFailover getAutomaticFailover()

Automatic failover configurations.

.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover automatic_failover = 3;

Returns
Type Description
InputAttachment.AutomaticFailover

The automaticFailover.

getAutomaticFailoverOrBuilder()

public InputAttachment.AutomaticFailoverOrBuilder getAutomaticFailoverOrBuilder()

Automatic failover configurations.

.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover automatic_failover = 3;

Returns
Type Description
InputAttachment.AutomaticFailoverOrBuilder

getDefaultInstanceForType()

public InputAttachment getDefaultInstanceForType()
Returns
Type Description
InputAttachment

getInput()

public String getInput()

The resource name of an existing input, in the form of: projects/{project}/locations/{location}/inputs/{inputId}.

string input = 2 [(.google.api.resource_reference) = { ... }

Returns
Type Description
String

The input.

getInputBytes()

public ByteString getInputBytes()

The resource name of an existing input, in the form of: projects/{project}/locations/{location}/inputs/{inputId}.

string input = 2 [(.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for input.

getKey()

public String getKey()

A unique key for this input attachment.

string key = 1;

Returns
Type Description
String

The key.

getKeyBytes()

public ByteString getKeyBytes()

A unique key for this input attachment.

string key = 1;

Returns
Type Description
ByteString

The bytes for key.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasAutomaticFailover()

public boolean hasAutomaticFailover()

Automatic failover configurations.

.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover automatic_failover = 3;

Returns
Type Description
boolean

Whether the automaticFailover field is set.

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.Builder newBuilderForType()
Returns
Type Description
InputAttachment.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected InputAttachment.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
InputAttachment.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.Builder toBuilder()
Returns
Type Description
InputAttachment.Builder

writeTo(CodedOutputStream output)

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