Class InputAttachment (0.5.1)

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
TypeDescription
int

INPUT_FIELD_NUMBER

public static final int INPUT_FIELD_NUMBER
Field Value
TypeDescription
int

KEY_FIELD_NUMBER

public static final int KEY_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static InputAttachment getDefaultInstance()
Returns
TypeDescription
InputAttachment

getDescriptor()

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

newBuilder()

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

newBuilder(InputAttachment prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getAutomaticFailover()

public InputAttachment.AutomaticFailover getAutomaticFailover()

Automatic failover configurations.

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

Returns
TypeDescription
InputAttachment.AutomaticFailover

The automaticFailover.

getAutomaticFailoverOrBuilder()

public InputAttachment.AutomaticFailoverOrBuilder getAutomaticFailoverOrBuilder()

Automatic failover configurations.

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

Returns
TypeDescription
InputAttachment.AutomaticFailoverOrBuilder

getDefaultInstanceForType()

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

The bytes for input.

getKey()

public String getKey()

A unique key for this input attachment.

string key = 1;

Returns
TypeDescription
String

The key.

getKeyBytes()

public ByteString getKeyBytes()

A unique key for this input attachment.

string key = 1;

Returns
TypeDescription
ByteString

The bytes for key.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasAutomaticFailover()

public boolean hasAutomaticFailover()

Automatic failover configurations.

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

Returns
TypeDescription
boolean

Whether the automaticFailover field is set.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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