Class InputAttachment.Builder (0.22.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public InputAttachment.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
InputAttachment.Builder
Overrides

build()

public InputAttachment build()
Returns
TypeDescription
InputAttachment

buildPartial()

public InputAttachment buildPartial()
Returns
TypeDescription
InputAttachment

clear()

public InputAttachment.Builder clear()
Returns
TypeDescription
InputAttachment.Builder
Overrides

clearAutomaticFailover()

public InputAttachment.Builder clearAutomaticFailover()

Automatic failover configurations.

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

Returns
TypeDescription
InputAttachment.Builder

clearField(Descriptors.FieldDescriptor field)

public InputAttachment.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
InputAttachment.Builder

This builder for chaining.

clearKey()

public InputAttachment.Builder clearKey()

A unique key for this input attachment.

string key = 1;

Returns
TypeDescription
InputAttachment.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public InputAttachment.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
InputAttachment.Builder
Overrides

clone()

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

getAutomaticFailoverBuilder()

public InputAttachment.AutomaticFailover.Builder getAutomaticFailoverBuilder()

Automatic failover configurations.

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

Returns
TypeDescription
InputAttachment.AutomaticFailover.Builder

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
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.

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueInputAttachment.AutomaticFailover
Returns
TypeDescription
InputAttachment.Builder

mergeFrom(InputAttachment other)

public InputAttachment.Builder mergeFrom(InputAttachment other)
Parameter
NameDescription
otherInputAttachment
Returns
TypeDescription
InputAttachment.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public InputAttachment.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
InputAttachment.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public InputAttachment.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
InputAttachment.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final InputAttachment.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueInputAttachment.AutomaticFailover
Returns
TypeDescription
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
NameDescription
builderForValueInputAttachment.AutomaticFailover.Builder
Returns
TypeDescription
InputAttachment.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public InputAttachment.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The input to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for input to set.

Returns
TypeDescription
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
NameDescription
valueString

The key to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for key to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
InputAttachment.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final InputAttachment.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
InputAttachment.Builder
Overrides