Class InputAttachment.Builder (0.48.0)

public static final class InputAttachment.Builder extends GeneratedMessageV3.Builder<InputAttachment.Builder> implements InputAttachmentOrBuilder

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

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public InputAttachment.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
InputAttachment.Builder
Overrides

build()

public InputAttachment build()
Returns
Type Description
InputAttachment

buildPartial()

public InputAttachment buildPartial()
Returns
Type Description
InputAttachment

clear()

public InputAttachment.Builder clear()
Returns
Type Description
InputAttachment.Builder
Overrides

clearAutomaticFailover()

public InputAttachment.Builder clearAutomaticFailover()

Automatic failover configurations.

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

Returns
Type Description
InputAttachment.Builder

clearField(Descriptors.FieldDescriptor field)

public InputAttachment.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
InputAttachment.Builder
Overrides

clearInput()

public InputAttachment.Builder clearInput()

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
InputAttachment.Builder

This builder for chaining.

clearKey()

public InputAttachment.Builder clearKey()

A unique key for this input attachment.

string key = 1;

Returns
Type Description
InputAttachment.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public InputAttachment.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
InputAttachment.Builder
Overrides

clone()

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

getAutomaticFailoverBuilder()

public InputAttachment.AutomaticFailover.Builder getAutomaticFailoverBuilder()

Automatic failover configurations.

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

Returns
Type Description
InputAttachment.AutomaticFailover.Builder

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeAutomaticFailover(InputAttachment.AutomaticFailover value)

public InputAttachment.Builder mergeAutomaticFailover(InputAttachment.AutomaticFailover value)

Automatic failover configurations.

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

Parameter
Name Description
value InputAttachment.AutomaticFailover
Returns
Type Description
InputAttachment.Builder

mergeFrom(InputAttachment other)

public InputAttachment.Builder mergeFrom(InputAttachment other)
Parameter
Name Description
other InputAttachment
Returns
Type Description
InputAttachment.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public InputAttachment.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InputAttachment.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public InputAttachment.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
InputAttachment.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final InputAttachment.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
InputAttachment.Builder
Overrides

setAutomaticFailover(InputAttachment.AutomaticFailover value)

public InputAttachment.Builder setAutomaticFailover(InputAttachment.AutomaticFailover value)

Automatic failover configurations.

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

Parameter
Name Description
value InputAttachment.AutomaticFailover
Returns
Type Description
InputAttachment.Builder

setAutomaticFailover(InputAttachment.AutomaticFailover.Builder builderForValue)

public InputAttachment.Builder setAutomaticFailover(InputAttachment.AutomaticFailover.Builder builderForValue)

Automatic failover configurations.

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

Parameter
Name Description
builderForValue InputAttachment.AutomaticFailover.Builder
Returns
Type Description
InputAttachment.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public InputAttachment.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
InputAttachment.Builder
Overrides

setInput(String value)

public InputAttachment.Builder setInput(String value)

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

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

Parameter
Name Description
value String

The input to set.

Returns
Type Description
InputAttachment.Builder

This builder for chaining.

setInputBytes(ByteString value)

public InputAttachment.Builder setInputBytes(ByteString value)

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

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

Parameter
Name Description
value ByteString

The bytes for input to set.

Returns
Type Description
InputAttachment.Builder

This builder for chaining.

setKey(String value)

public InputAttachment.Builder setKey(String value)

A unique key for this input attachment.

string key = 1;

Parameter
Name Description
value String

The key to set.

Returns
Type Description
InputAttachment.Builder

This builder for chaining.

setKeyBytes(ByteString value)

public InputAttachment.Builder setKeyBytes(ByteString value)

A unique key for this input attachment.

string key = 1;

Parameter
Name Description
value ByteString

The bytes for key to set.

Returns
Type Description
InputAttachment.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public InputAttachment.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
InputAttachment.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final InputAttachment.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
InputAttachment.Builder
Overrides