Class Channel.Builder (0.24.0)

public static final class Channel.Builder extends GeneratedMessageV3.Builder<Channel.Builder> implements ChannelOrBuilder

Channel resource represents the processor that does a user-defined "streaming" operation, which includes getting an input stream through an input, transcoding it to multiple renditions, and publishing output live streams in certain formats (for example, HLS or DASH) to the specified location.

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

Implements

ChannelOrBuilder

Static Methods

getDescriptor()

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

Methods

addAllElementaryStreams(Iterable<? extends ElementaryStream> values)

public Channel.Builder addAllElementaryStreams(Iterable<? extends ElementaryStream> values)

List of elementary streams.

repeated .google.cloud.video.livestream.v1.ElementaryStream elementary_streams = 10;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.video.livestream.v1.ElementaryStream>
Returns
TypeDescription
Channel.Builder

addAllEncryptions(Iterable<? extends Encryption> values)

public Channel.Builder addAllEncryptions(Iterable<? extends Encryption> values)

Encryption configurations for this channel. Each configuration has an ID which is referred to by each MuxStream to indicate which configuration is used for that output.

repeated .google.cloud.video.livestream.v1.Encryption encryptions = 24;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.video.livestream.v1.Encryption>
Returns
TypeDescription
Channel.Builder

addAllInputAttachments(Iterable<? extends InputAttachment> values)

public Channel.Builder addAllInputAttachments(Iterable<? extends InputAttachment> values)

A list of input attachments that this channel uses. One channel can have multiple inputs as the input sources. Only one input can be selected as the input source at one time.

repeated .google.cloud.video.livestream.v1.InputAttachment input_attachments = 16;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.video.livestream.v1.InputAttachment>
Returns
TypeDescription
Channel.Builder

addAllManifests(Iterable<? extends Manifest> values)

public Channel.Builder addAllManifests(Iterable<? extends Manifest> values)

List of output manifests.

repeated .google.cloud.video.livestream.v1.Manifest manifests = 12;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.video.livestream.v1.Manifest>
Returns
TypeDescription
Channel.Builder

addAllMuxStreams(Iterable<? extends MuxStream> values)

public Channel.Builder addAllMuxStreams(Iterable<? extends MuxStream> values)

List of multiplexing settings for output streams.

repeated .google.cloud.video.livestream.v1.MuxStream mux_streams = 11;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.video.livestream.v1.MuxStream>
Returns
TypeDescription
Channel.Builder

addAllSpriteSheets(Iterable<? extends SpriteSheet> values)

public Channel.Builder addAllSpriteSheets(Iterable<? extends SpriteSheet> values)

List of output sprite sheets.

repeated .google.cloud.video.livestream.v1.SpriteSheet sprite_sheets = 13;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.video.livestream.v1.SpriteSheet>
Returns
TypeDescription
Channel.Builder

addElementaryStreams(ElementaryStream value)

public Channel.Builder addElementaryStreams(ElementaryStream value)

List of elementary streams.

repeated .google.cloud.video.livestream.v1.ElementaryStream elementary_streams = 10;

Parameter
NameDescription
valueElementaryStream
Returns
TypeDescription
Channel.Builder

addElementaryStreams(ElementaryStream.Builder builderForValue)

public Channel.Builder addElementaryStreams(ElementaryStream.Builder builderForValue)

List of elementary streams.

repeated .google.cloud.video.livestream.v1.ElementaryStream elementary_streams = 10;

Parameter
NameDescription
builderForValueElementaryStream.Builder
Returns
TypeDescription
Channel.Builder

addElementaryStreams(int index, ElementaryStream value)

public Channel.Builder addElementaryStreams(int index, ElementaryStream value)

List of elementary streams.

repeated .google.cloud.video.livestream.v1.ElementaryStream elementary_streams = 10;

Parameters
NameDescription
indexint
valueElementaryStream
Returns
TypeDescription
Channel.Builder

addElementaryStreams(int index, ElementaryStream.Builder builderForValue)

public Channel.Builder addElementaryStreams(int index, ElementaryStream.Builder builderForValue)

List of elementary streams.

repeated .google.cloud.video.livestream.v1.ElementaryStream elementary_streams = 10;

Parameters
NameDescription
indexint
builderForValueElementaryStream.Builder
Returns
TypeDescription
Channel.Builder

addElementaryStreamsBuilder()

public ElementaryStream.Builder addElementaryStreamsBuilder()

List of elementary streams.

repeated .google.cloud.video.livestream.v1.ElementaryStream elementary_streams = 10;

Returns
TypeDescription
ElementaryStream.Builder

addElementaryStreamsBuilder(int index)

public ElementaryStream.Builder addElementaryStreamsBuilder(int index)

List of elementary streams.

repeated .google.cloud.video.livestream.v1.ElementaryStream elementary_streams = 10;

Parameter
NameDescription
indexint
Returns
TypeDescription
ElementaryStream.Builder

addEncryptions(Encryption value)

public Channel.Builder addEncryptions(Encryption value)

Encryption configurations for this channel. Each configuration has an ID which is referred to by each MuxStream to indicate which configuration is used for that output.

repeated .google.cloud.video.livestream.v1.Encryption encryptions = 24;

Parameter
NameDescription
valueEncryption
Returns
TypeDescription
Channel.Builder

addEncryptions(Encryption.Builder builderForValue)

public Channel.Builder addEncryptions(Encryption.Builder builderForValue)

Encryption configurations for this channel. Each configuration has an ID which is referred to by each MuxStream to indicate which configuration is used for that output.

repeated .google.cloud.video.livestream.v1.Encryption encryptions = 24;

Parameter
NameDescription
builderForValueEncryption.Builder
Returns
TypeDescription
Channel.Builder

addEncryptions(int index, Encryption value)

public Channel.Builder addEncryptions(int index, Encryption value)

Encryption configurations for this channel. Each configuration has an ID which is referred to by each MuxStream to indicate which configuration is used for that output.

repeated .google.cloud.video.livestream.v1.Encryption encryptions = 24;

Parameters
NameDescription
indexint
valueEncryption
Returns
TypeDescription
Channel.Builder

addEncryptions(int index, Encryption.Builder builderForValue)

public Channel.Builder addEncryptions(int index, Encryption.Builder builderForValue)

Encryption configurations for this channel. Each configuration has an ID which is referred to by each MuxStream to indicate which configuration is used for that output.

repeated .google.cloud.video.livestream.v1.Encryption encryptions = 24;

Parameters
NameDescription
indexint
builderForValueEncryption.Builder
Returns
TypeDescription
Channel.Builder

addEncryptionsBuilder()

public Encryption.Builder addEncryptionsBuilder()

Encryption configurations for this channel. Each configuration has an ID which is referred to by each MuxStream to indicate which configuration is used for that output.

repeated .google.cloud.video.livestream.v1.Encryption encryptions = 24;

Returns
TypeDescription
Encryption.Builder

addEncryptionsBuilder(int index)

public Encryption.Builder addEncryptionsBuilder(int index)

Encryption configurations for this channel. Each configuration has an ID which is referred to by each MuxStream to indicate which configuration is used for that output.

repeated .google.cloud.video.livestream.v1.Encryption encryptions = 24;

Parameter
NameDescription
indexint
Returns
TypeDescription
Encryption.Builder

addInputAttachments(InputAttachment value)

public Channel.Builder addInputAttachments(InputAttachment value)

A list of input attachments that this channel uses. One channel can have multiple inputs as the input sources. Only one input can be selected as the input source at one time.

repeated .google.cloud.video.livestream.v1.InputAttachment input_attachments = 16;

Parameter
NameDescription
valueInputAttachment
Returns
TypeDescription
Channel.Builder

addInputAttachments(InputAttachment.Builder builderForValue)

public Channel.Builder addInputAttachments(InputAttachment.Builder builderForValue)

A list of input attachments that this channel uses. One channel can have multiple inputs as the input sources. Only one input can be selected as the input source at one time.

repeated .google.cloud.video.livestream.v1.InputAttachment input_attachments = 16;

Parameter
NameDescription
builderForValueInputAttachment.Builder
Returns
TypeDescription
Channel.Builder

addInputAttachments(int index, InputAttachment value)

public Channel.Builder addInputAttachments(int index, InputAttachment value)

A list of input attachments that this channel uses. One channel can have multiple inputs as the input sources. Only one input can be selected as the input source at one time.

repeated .google.cloud.video.livestream.v1.InputAttachment input_attachments = 16;

Parameters
NameDescription
indexint
valueInputAttachment
Returns
TypeDescription
Channel.Builder

addInputAttachments(int index, InputAttachment.Builder builderForValue)

public Channel.Builder addInputAttachments(int index, InputAttachment.Builder builderForValue)

A list of input attachments that this channel uses. One channel can have multiple inputs as the input sources. Only one input can be selected as the input source at one time.

repeated .google.cloud.video.livestream.v1.InputAttachment input_attachments = 16;

Parameters
NameDescription
indexint
builderForValueInputAttachment.Builder
Returns
TypeDescription
Channel.Builder

addInputAttachmentsBuilder()

public InputAttachment.Builder addInputAttachmentsBuilder()

A list of input attachments that this channel uses. One channel can have multiple inputs as the input sources. Only one input can be selected as the input source at one time.

repeated .google.cloud.video.livestream.v1.InputAttachment input_attachments = 16;

Returns
TypeDescription
InputAttachment.Builder

addInputAttachmentsBuilder(int index)

public InputAttachment.Builder addInputAttachmentsBuilder(int index)

A list of input attachments that this channel uses. One channel can have multiple inputs as the input sources. Only one input can be selected as the input source at one time.

repeated .google.cloud.video.livestream.v1.InputAttachment input_attachments = 16;

Parameter
NameDescription
indexint
Returns
TypeDescription
InputAttachment.Builder

addManifests(Manifest value)

public Channel.Builder addManifests(Manifest value)

List of output manifests.

repeated .google.cloud.video.livestream.v1.Manifest manifests = 12;

Parameter
NameDescription
valueManifest
Returns
TypeDescription
Channel.Builder

addManifests(Manifest.Builder builderForValue)

public Channel.Builder addManifests(Manifest.Builder builderForValue)

List of output manifests.

repeated .google.cloud.video.livestream.v1.Manifest manifests = 12;

Parameter
NameDescription
builderForValueManifest.Builder
Returns
TypeDescription
Channel.Builder

addManifests(int index, Manifest value)

public Channel.Builder addManifests(int index, Manifest value)

List of output manifests.

repeated .google.cloud.video.livestream.v1.Manifest manifests = 12;

Parameters
NameDescription
indexint
valueManifest
Returns
TypeDescription
Channel.Builder

addManifests(int index, Manifest.Builder builderForValue)

public Channel.Builder addManifests(int index, Manifest.Builder builderForValue)

List of output manifests.

repeated .google.cloud.video.livestream.v1.Manifest manifests = 12;

Parameters
NameDescription
indexint
builderForValueManifest.Builder
Returns
TypeDescription
Channel.Builder

addManifestsBuilder()

public Manifest.Builder addManifestsBuilder()

List of output manifests.

repeated .google.cloud.video.livestream.v1.Manifest manifests = 12;

Returns
TypeDescription
Manifest.Builder

addManifestsBuilder(int index)

public Manifest.Builder addManifestsBuilder(int index)

List of output manifests.

repeated .google.cloud.video.livestream.v1.Manifest manifests = 12;

Parameter
NameDescription
indexint
Returns
TypeDescription
Manifest.Builder

addMuxStreams(MuxStream value)

public Channel.Builder addMuxStreams(MuxStream value)

List of multiplexing settings for output streams.

repeated .google.cloud.video.livestream.v1.MuxStream mux_streams = 11;

Parameter
NameDescription
valueMuxStream
Returns
TypeDescription
Channel.Builder

addMuxStreams(MuxStream.Builder builderForValue)

public Channel.Builder addMuxStreams(MuxStream.Builder builderForValue)

List of multiplexing settings for output streams.

repeated .google.cloud.video.livestream.v1.MuxStream mux_streams = 11;

Parameter
NameDescription
builderForValueMuxStream.Builder
Returns
TypeDescription
Channel.Builder

addMuxStreams(int index, MuxStream value)

public Channel.Builder addMuxStreams(int index, MuxStream value)

List of multiplexing settings for output streams.

repeated .google.cloud.video.livestream.v1.MuxStream mux_streams = 11;

Parameters
NameDescription
indexint
valueMuxStream
Returns
TypeDescription
Channel.Builder

addMuxStreams(int index, MuxStream.Builder builderForValue)

public Channel.Builder addMuxStreams(int index, MuxStream.Builder builderForValue)

List of multiplexing settings for output streams.

repeated .google.cloud.video.livestream.v1.MuxStream mux_streams = 11;

Parameters
NameDescription
indexint
builderForValueMuxStream.Builder
Returns
TypeDescription
Channel.Builder

addMuxStreamsBuilder()

public MuxStream.Builder addMuxStreamsBuilder()

List of multiplexing settings for output streams.

repeated .google.cloud.video.livestream.v1.MuxStream mux_streams = 11;

Returns
TypeDescription
MuxStream.Builder

addMuxStreamsBuilder(int index)

public MuxStream.Builder addMuxStreamsBuilder(int index)

List of multiplexing settings for output streams.

repeated .google.cloud.video.livestream.v1.MuxStream mux_streams = 11;

Parameter
NameDescription
indexint
Returns
TypeDescription
MuxStream.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addSpriteSheets(SpriteSheet value)

public Channel.Builder addSpriteSheets(SpriteSheet value)

List of output sprite sheets.

repeated .google.cloud.video.livestream.v1.SpriteSheet sprite_sheets = 13;

Parameter
NameDescription
valueSpriteSheet
Returns
TypeDescription
Channel.Builder

addSpriteSheets(SpriteSheet.Builder builderForValue)

public Channel.Builder addSpriteSheets(SpriteSheet.Builder builderForValue)

List of output sprite sheets.

repeated .google.cloud.video.livestream.v1.SpriteSheet sprite_sheets = 13;

Parameter
NameDescription
builderForValueSpriteSheet.Builder
Returns
TypeDescription
Channel.Builder

addSpriteSheets(int index, SpriteSheet value)

public Channel.Builder addSpriteSheets(int index, SpriteSheet value)

List of output sprite sheets.

repeated .google.cloud.video.livestream.v1.SpriteSheet sprite_sheets = 13;

Parameters
NameDescription
indexint
valueSpriteSheet
Returns
TypeDescription
Channel.Builder

addSpriteSheets(int index, SpriteSheet.Builder builderForValue)

public Channel.Builder addSpriteSheets(int index, SpriteSheet.Builder builderForValue)

List of output sprite sheets.

repeated .google.cloud.video.livestream.v1.SpriteSheet sprite_sheets = 13;

Parameters
NameDescription
indexint
builderForValueSpriteSheet.Builder
Returns
TypeDescription
Channel.Builder

addSpriteSheetsBuilder()

public SpriteSheet.Builder addSpriteSheetsBuilder()

List of output sprite sheets.

repeated .google.cloud.video.livestream.v1.SpriteSheet sprite_sheets = 13;

Returns
TypeDescription
SpriteSheet.Builder

addSpriteSheetsBuilder(int index)

public SpriteSheet.Builder addSpriteSheetsBuilder(int index)

List of output sprite sheets.

repeated .google.cloud.video.livestream.v1.SpriteSheet sprite_sheets = 13;

Parameter
NameDescription
indexint
Returns
TypeDescription
SpriteSheet.Builder

build()

public Channel build()
Returns
TypeDescription
Channel

buildPartial()

public Channel buildPartial()
Returns
TypeDescription
Channel

clear()

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

clearActiveInput()

public Channel.Builder clearActiveInput()

Output only. The InputAttachment.key that serves as the current input source. The first input in the input_attachments is the initial input source.

string active_input = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Channel.Builder

This builder for chaining.

clearCreateTime()

public Channel.Builder clearCreateTime()

Output only. The creation time.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Channel.Builder

clearElementaryStreams()

public Channel.Builder clearElementaryStreams()

List of elementary streams.

repeated .google.cloud.video.livestream.v1.ElementaryStream elementary_streams = 10;

Returns
TypeDescription
Channel.Builder

clearEncryptions()

public Channel.Builder clearEncryptions()

Encryption configurations for this channel. Each configuration has an ID which is referred to by each MuxStream to indicate which configuration is used for that output.

repeated .google.cloud.video.livestream.v1.Encryption encryptions = 24;

Returns
TypeDescription
Channel.Builder

clearField(Descriptors.FieldDescriptor field)

public Channel.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Channel.Builder
Overrides

clearInputAttachments()

public Channel.Builder clearInputAttachments()

A list of input attachments that this channel uses. One channel can have multiple inputs as the input sources. Only one input can be selected as the input source at one time.

repeated .google.cloud.video.livestream.v1.InputAttachment input_attachments = 16;

Returns
TypeDescription
Channel.Builder

clearInputConfig()

public Channel.Builder clearInputConfig()

The configuration for input sources defined in input_attachments.

.google.cloud.video.livestream.v1.InputConfig input_config = 25;

Returns
TypeDescription
Channel.Builder

clearLabels()

public Channel.Builder clearLabels()
Returns
TypeDescription
Channel.Builder

clearLogConfig()

public Channel.Builder clearLogConfig()

Configuration of platform logs for this channel.

.google.cloud.video.livestream.v1.LogConfig log_config = 19;

Returns
TypeDescription
Channel.Builder

clearManifests()

public Channel.Builder clearManifests()

List of output manifests.

repeated .google.cloud.video.livestream.v1.Manifest manifests = 12;

Returns
TypeDescription
Channel.Builder

clearMuxStreams()

public Channel.Builder clearMuxStreams()

List of multiplexing settings for output streams.

repeated .google.cloud.video.livestream.v1.MuxStream mux_streams = 11;

Returns
TypeDescription
Channel.Builder

clearName()

public Channel.Builder clearName()

The resource name of the channel, in the form of: projects/{project}/locations/{location}/channels/{channelId}.

string name = 1;

Returns
TypeDescription
Channel.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearOutput()

public Channel.Builder clearOutput()

Required. Information about the output (that is, the Cloud Storage bucket to store the generated live stream).

.google.cloud.video.livestream.v1.Channel.Output output = 9 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Channel.Builder

clearSpriteSheets()

public Channel.Builder clearSpriteSheets()

List of output sprite sheets.

repeated .google.cloud.video.livestream.v1.SpriteSheet sprite_sheets = 13;

Returns
TypeDescription
Channel.Builder

clearStreamingError()

public Channel.Builder clearStreamingError()

Output only. A description of the reason for the streaming error. This property is always present when streaming_state is STREAMING_ERROR.

.google.rpc.Status streaming_error = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Channel.Builder

clearStreamingState()

public Channel.Builder clearStreamingState()

Output only. State of the streaming operation.

.google.cloud.video.livestream.v1.Channel.StreamingState streaming_state = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Channel.Builder

This builder for chaining.

clearTimecodeConfig()

public Channel.Builder clearTimecodeConfig()

Configuration of timecode for this channel.

.google.cloud.video.livestream.v1.TimecodeConfig timecode_config = 21;

Returns
TypeDescription
Channel.Builder

clearUpdateTime()

public Channel.Builder clearUpdateTime()

Output only. The update time.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Channel.Builder

clone()

public Channel.Builder clone()
Returns
TypeDescription
Channel.Builder
Overrides

containsLabels(String key)

public boolean containsLabels(String key)

User-defined key/value metadata.

map<string, string> labels = 4;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

getActiveInput()

public String getActiveInput()

Output only. The InputAttachment.key that serves as the current input source. The first input in the input_attachments is the initial input source.

string active_input = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The activeInput.

getActiveInputBytes()

public ByteString getActiveInputBytes()

Output only. The InputAttachment.key that serves as the current input source. The first input in the input_attachments is the initial input source.

string active_input = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for activeInput.

getCreateTime()

public Timestamp getCreateTime()

Output only. The creation time.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Output only. The creation time.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. The creation time.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
TimestampOrBuilder

getDefaultInstanceForType()

public Channel getDefaultInstanceForType()
Returns
TypeDescription
Channel

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getElementaryStreams(int index)

public ElementaryStream getElementaryStreams(int index)

List of elementary streams.

repeated .google.cloud.video.livestream.v1.ElementaryStream elementary_streams = 10;

Parameter
NameDescription
indexint
Returns
TypeDescription
ElementaryStream

getElementaryStreamsBuilder(int index)

public ElementaryStream.Builder getElementaryStreamsBuilder(int index)

List of elementary streams.

repeated .google.cloud.video.livestream.v1.ElementaryStream elementary_streams = 10;

Parameter
NameDescription
indexint
Returns
TypeDescription
ElementaryStream.Builder

getElementaryStreamsBuilderList()

public List<ElementaryStream.Builder> getElementaryStreamsBuilderList()

List of elementary streams.

repeated .google.cloud.video.livestream.v1.ElementaryStream elementary_streams = 10;

Returns
TypeDescription
List<Builder>

getElementaryStreamsCount()

public int getElementaryStreamsCount()

List of elementary streams.

repeated .google.cloud.video.livestream.v1.ElementaryStream elementary_streams = 10;

Returns
TypeDescription
int

getElementaryStreamsList()

public List<ElementaryStream> getElementaryStreamsList()

List of elementary streams.

repeated .google.cloud.video.livestream.v1.ElementaryStream elementary_streams = 10;

Returns
TypeDescription
List<ElementaryStream>

getElementaryStreamsOrBuilder(int index)

public ElementaryStreamOrBuilder getElementaryStreamsOrBuilder(int index)

List of elementary streams.

repeated .google.cloud.video.livestream.v1.ElementaryStream elementary_streams = 10;

Parameter
NameDescription
indexint
Returns
TypeDescription
ElementaryStreamOrBuilder

getElementaryStreamsOrBuilderList()

public List<? extends ElementaryStreamOrBuilder> getElementaryStreamsOrBuilderList()

List of elementary streams.

repeated .google.cloud.video.livestream.v1.ElementaryStream elementary_streams = 10;

Returns
TypeDescription
List<? extends com.google.cloud.video.livestream.v1.ElementaryStreamOrBuilder>

getEncryptions(int index)

public Encryption getEncryptions(int index)

Encryption configurations for this channel. Each configuration has an ID which is referred to by each MuxStream to indicate which configuration is used for that output.

repeated .google.cloud.video.livestream.v1.Encryption encryptions = 24;

Parameter
NameDescription
indexint
Returns
TypeDescription
Encryption

getEncryptionsBuilder(int index)

public Encryption.Builder getEncryptionsBuilder(int index)

Encryption configurations for this channel. Each configuration has an ID which is referred to by each MuxStream to indicate which configuration is used for that output.

repeated .google.cloud.video.livestream.v1.Encryption encryptions = 24;

Parameter
NameDescription
indexint
Returns
TypeDescription
Encryption.Builder

getEncryptionsBuilderList()

public List<Encryption.Builder> getEncryptionsBuilderList()

Encryption configurations for this channel. Each configuration has an ID which is referred to by each MuxStream to indicate which configuration is used for that output.

repeated .google.cloud.video.livestream.v1.Encryption encryptions = 24;

Returns
TypeDescription
List<Builder>

getEncryptionsCount()

public int getEncryptionsCount()

Encryption configurations for this channel. Each configuration has an ID which is referred to by each MuxStream to indicate which configuration is used for that output.

repeated .google.cloud.video.livestream.v1.Encryption encryptions = 24;

Returns
TypeDescription
int

getEncryptionsList()

public List<Encryption> getEncryptionsList()

Encryption configurations for this channel. Each configuration has an ID which is referred to by each MuxStream to indicate which configuration is used for that output.

repeated .google.cloud.video.livestream.v1.Encryption encryptions = 24;

Returns
TypeDescription
List<Encryption>

getEncryptionsOrBuilder(int index)

public EncryptionOrBuilder getEncryptionsOrBuilder(int index)

Encryption configurations for this channel. Each configuration has an ID which is referred to by each MuxStream to indicate which configuration is used for that output.

repeated .google.cloud.video.livestream.v1.Encryption encryptions = 24;

Parameter
NameDescription
indexint
Returns
TypeDescription
EncryptionOrBuilder

getEncryptionsOrBuilderList()

public List<? extends EncryptionOrBuilder> getEncryptionsOrBuilderList()

Encryption configurations for this channel. Each configuration has an ID which is referred to by each MuxStream to indicate which configuration is used for that output.

repeated .google.cloud.video.livestream.v1.Encryption encryptions = 24;

Returns
TypeDescription
List<? extends com.google.cloud.video.livestream.v1.EncryptionOrBuilder>

getInputAttachments(int index)

public InputAttachment getInputAttachments(int index)

A list of input attachments that this channel uses. One channel can have multiple inputs as the input sources. Only one input can be selected as the input source at one time.

repeated .google.cloud.video.livestream.v1.InputAttachment input_attachments = 16;

Parameter
NameDescription
indexint
Returns
TypeDescription
InputAttachment

getInputAttachmentsBuilder(int index)

public InputAttachment.Builder getInputAttachmentsBuilder(int index)

A list of input attachments that this channel uses. One channel can have multiple inputs as the input sources. Only one input can be selected as the input source at one time.

repeated .google.cloud.video.livestream.v1.InputAttachment input_attachments = 16;

Parameter
NameDescription
indexint
Returns
TypeDescription
InputAttachment.Builder

getInputAttachmentsBuilderList()

public List<InputAttachment.Builder> getInputAttachmentsBuilderList()

A list of input attachments that this channel uses. One channel can have multiple inputs as the input sources. Only one input can be selected as the input source at one time.

repeated .google.cloud.video.livestream.v1.InputAttachment input_attachments = 16;

Returns
TypeDescription
List<Builder>

getInputAttachmentsCount()

public int getInputAttachmentsCount()

A list of input attachments that this channel uses. One channel can have multiple inputs as the input sources. Only one input can be selected as the input source at one time.

repeated .google.cloud.video.livestream.v1.InputAttachment input_attachments = 16;

Returns
TypeDescription
int

getInputAttachmentsList()

public List<InputAttachment> getInputAttachmentsList()

A list of input attachments that this channel uses. One channel can have multiple inputs as the input sources. Only one input can be selected as the input source at one time.

repeated .google.cloud.video.livestream.v1.InputAttachment input_attachments = 16;

Returns
TypeDescription
List<InputAttachment>

getInputAttachmentsOrBuilder(int index)

public InputAttachmentOrBuilder getInputAttachmentsOrBuilder(int index)

A list of input attachments that this channel uses. One channel can have multiple inputs as the input sources. Only one input can be selected as the input source at one time.

repeated .google.cloud.video.livestream.v1.InputAttachment input_attachments = 16;

Parameter
NameDescription
indexint
Returns
TypeDescription
InputAttachmentOrBuilder

getInputAttachmentsOrBuilderList()

public List<? extends InputAttachmentOrBuilder> getInputAttachmentsOrBuilderList()

A list of input attachments that this channel uses. One channel can have multiple inputs as the input sources. Only one input can be selected as the input source at one time.

repeated .google.cloud.video.livestream.v1.InputAttachment input_attachments = 16;

Returns
TypeDescription
List<? extends com.google.cloud.video.livestream.v1.InputAttachmentOrBuilder>

getInputConfig()

public InputConfig getInputConfig()

The configuration for input sources defined in input_attachments.

.google.cloud.video.livestream.v1.InputConfig input_config = 25;

Returns
TypeDescription
InputConfig

The inputConfig.

getInputConfigBuilder()

public InputConfig.Builder getInputConfigBuilder()

The configuration for input sources defined in input_attachments.

.google.cloud.video.livestream.v1.InputConfig input_config = 25;

Returns
TypeDescription
InputConfig.Builder

getInputConfigOrBuilder()

public InputConfigOrBuilder getInputConfigOrBuilder()

The configuration for input sources defined in input_attachments.

.google.cloud.video.livestream.v1.InputConfig input_config = 25;

Returns
TypeDescription
InputConfigOrBuilder

getLabels()

public Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
TypeDescription
Map<String,String>

getLabelsCount()

public int getLabelsCount()

User-defined key/value metadata.

map<string, string> labels = 4;

Returns
TypeDescription
int

getLabelsMap()

public Map<String,String> getLabelsMap()

User-defined key/value metadata.

map<string, string> labels = 4;

Returns
TypeDescription
Map<String,String>

getLabelsOrDefault(String key, String defaultValue)

public String getLabelsOrDefault(String key, String defaultValue)

User-defined key/value metadata.

map<string, string> labels = 4;

Parameters
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getLabelsOrThrow(String key)

public String getLabelsOrThrow(String key)

User-defined key/value metadata.

map<string, string> labels = 4;

Parameter
NameDescription
keyString
Returns
TypeDescription
String

getLogConfig()

public LogConfig getLogConfig()

Configuration of platform logs for this channel.

.google.cloud.video.livestream.v1.LogConfig log_config = 19;

Returns
TypeDescription
LogConfig

The logConfig.

getLogConfigBuilder()

public LogConfig.Builder getLogConfigBuilder()

Configuration of platform logs for this channel.

.google.cloud.video.livestream.v1.LogConfig log_config = 19;

Returns
TypeDescription
LogConfig.Builder

getLogConfigOrBuilder()

public LogConfigOrBuilder getLogConfigOrBuilder()

Configuration of platform logs for this channel.

.google.cloud.video.livestream.v1.LogConfig log_config = 19;

Returns
TypeDescription
LogConfigOrBuilder

getManifests(int index)

public Manifest getManifests(int index)

List of output manifests.

repeated .google.cloud.video.livestream.v1.Manifest manifests = 12;

Parameter
NameDescription
indexint
Returns
TypeDescription
Manifest

getManifestsBuilder(int index)

public Manifest.Builder getManifestsBuilder(int index)

List of output manifests.

repeated .google.cloud.video.livestream.v1.Manifest manifests = 12;

Parameter
NameDescription
indexint
Returns
TypeDescription
Manifest.Builder

getManifestsBuilderList()

public List<Manifest.Builder> getManifestsBuilderList()

List of output manifests.

repeated .google.cloud.video.livestream.v1.Manifest manifests = 12;

Returns
TypeDescription
List<Builder>

getManifestsCount()

public int getManifestsCount()

List of output manifests.

repeated .google.cloud.video.livestream.v1.Manifest manifests = 12;

Returns
TypeDescription
int

getManifestsList()

public List<Manifest> getManifestsList()

List of output manifests.

repeated .google.cloud.video.livestream.v1.Manifest manifests = 12;

Returns
TypeDescription
List<Manifest>

getManifestsOrBuilder(int index)

public ManifestOrBuilder getManifestsOrBuilder(int index)

List of output manifests.

repeated .google.cloud.video.livestream.v1.Manifest manifests = 12;

Parameter
NameDescription
indexint
Returns
TypeDescription
ManifestOrBuilder

getManifestsOrBuilderList()

public List<? extends ManifestOrBuilder> getManifestsOrBuilderList()

List of output manifests.

repeated .google.cloud.video.livestream.v1.Manifest manifests = 12;

Returns
TypeDescription
List<? extends com.google.cloud.video.livestream.v1.ManifestOrBuilder>

getMutableLabels()

public Map<String,String> getMutableLabels()

Use alternate mutation accessors instead.

Returns
TypeDescription
Map<String,String>

getMuxStreams(int index)

public MuxStream getMuxStreams(int index)

List of multiplexing settings for output streams.

repeated .google.cloud.video.livestream.v1.MuxStream mux_streams = 11;

Parameter
NameDescription
indexint
Returns
TypeDescription
MuxStream

getMuxStreamsBuilder(int index)

public MuxStream.Builder getMuxStreamsBuilder(int index)

List of multiplexing settings for output streams.

repeated .google.cloud.video.livestream.v1.MuxStream mux_streams = 11;

Parameter
NameDescription
indexint
Returns
TypeDescription
MuxStream.Builder

getMuxStreamsBuilderList()

public List<MuxStream.Builder> getMuxStreamsBuilderList()

List of multiplexing settings for output streams.

repeated .google.cloud.video.livestream.v1.MuxStream mux_streams = 11;

Returns
TypeDescription
List<Builder>

getMuxStreamsCount()

public int getMuxStreamsCount()

List of multiplexing settings for output streams.

repeated .google.cloud.video.livestream.v1.MuxStream mux_streams = 11;

Returns
TypeDescription
int

getMuxStreamsList()

public List<MuxStream> getMuxStreamsList()

List of multiplexing settings for output streams.

repeated .google.cloud.video.livestream.v1.MuxStream mux_streams = 11;

Returns
TypeDescription
List<MuxStream>

getMuxStreamsOrBuilder(int index)

public MuxStreamOrBuilder getMuxStreamsOrBuilder(int index)

List of multiplexing settings for output streams.

repeated .google.cloud.video.livestream.v1.MuxStream mux_streams = 11;

Parameter
NameDescription
indexint
Returns
TypeDescription
MuxStreamOrBuilder

getMuxStreamsOrBuilderList()

public List<? extends MuxStreamOrBuilder> getMuxStreamsOrBuilderList()

List of multiplexing settings for output streams.

repeated .google.cloud.video.livestream.v1.MuxStream mux_streams = 11;

Returns
TypeDescription
List<? extends com.google.cloud.video.livestream.v1.MuxStreamOrBuilder>

getName()

public String getName()

The resource name of the channel, in the form of: projects/{project}/locations/{location}/channels/{channelId}.

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

The resource name of the channel, in the form of: projects/{project}/locations/{location}/channels/{channelId}.

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

getOutput()

public Channel.Output getOutput()

Required. Information about the output (that is, the Cloud Storage bucket to store the generated live stream).

.google.cloud.video.livestream.v1.Channel.Output output = 9 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Channel.Output

The output.

getOutputBuilder()

public Channel.Output.Builder getOutputBuilder()

Required. Information about the output (that is, the Cloud Storage bucket to store the generated live stream).

.google.cloud.video.livestream.v1.Channel.Output output = 9 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Channel.Output.Builder

getOutputOrBuilder()

public Channel.OutputOrBuilder getOutputOrBuilder()

Required. Information about the output (that is, the Cloud Storage bucket to store the generated live stream).

.google.cloud.video.livestream.v1.Channel.Output output = 9 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Channel.OutputOrBuilder

getSpriteSheets(int index)

public SpriteSheet getSpriteSheets(int index)

List of output sprite sheets.

repeated .google.cloud.video.livestream.v1.SpriteSheet sprite_sheets = 13;

Parameter
NameDescription
indexint
Returns
TypeDescription
SpriteSheet

getSpriteSheetsBuilder(int index)

public SpriteSheet.Builder getSpriteSheetsBuilder(int index)

List of output sprite sheets.

repeated .google.cloud.video.livestream.v1.SpriteSheet sprite_sheets = 13;

Parameter
NameDescription
indexint
Returns
TypeDescription
SpriteSheet.Builder

getSpriteSheetsBuilderList()

public List<SpriteSheet.Builder> getSpriteSheetsBuilderList()

List of output sprite sheets.

repeated .google.cloud.video.livestream.v1.SpriteSheet sprite_sheets = 13;

Returns
TypeDescription
List<Builder>

getSpriteSheetsCount()

public int getSpriteSheetsCount()

List of output sprite sheets.

repeated .google.cloud.video.livestream.v1.SpriteSheet sprite_sheets = 13;

Returns
TypeDescription
int

getSpriteSheetsList()

public List<SpriteSheet> getSpriteSheetsList()

List of output sprite sheets.

repeated .google.cloud.video.livestream.v1.SpriteSheet sprite_sheets = 13;

Returns
TypeDescription
List<SpriteSheet>

getSpriteSheetsOrBuilder(int index)

public SpriteSheetOrBuilder getSpriteSheetsOrBuilder(int index)

List of output sprite sheets.

repeated .google.cloud.video.livestream.v1.SpriteSheet sprite_sheets = 13;

Parameter
NameDescription
indexint
Returns
TypeDescription
SpriteSheetOrBuilder

getSpriteSheetsOrBuilderList()

public List<? extends SpriteSheetOrBuilder> getSpriteSheetsOrBuilderList()

List of output sprite sheets.

repeated .google.cloud.video.livestream.v1.SpriteSheet sprite_sheets = 13;

Returns
TypeDescription
List<? extends com.google.cloud.video.livestream.v1.SpriteSheetOrBuilder>

getStreamingError()

public Status getStreamingError()

Output only. A description of the reason for the streaming error. This property is always present when streaming_state is STREAMING_ERROR.

.google.rpc.Status streaming_error = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
com.google.rpc.Status

The streamingError.

getStreamingErrorBuilder()

public Status.Builder getStreamingErrorBuilder()

Output only. A description of the reason for the streaming error. This property is always present when streaming_state is STREAMING_ERROR.

.google.rpc.Status streaming_error = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
com.google.rpc.Status.Builder

getStreamingErrorOrBuilder()

public StatusOrBuilder getStreamingErrorOrBuilder()

Output only. A description of the reason for the streaming error. This property is always present when streaming_state is STREAMING_ERROR.

.google.rpc.Status streaming_error = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
com.google.rpc.StatusOrBuilder

getStreamingState()

public Channel.StreamingState getStreamingState()

Output only. State of the streaming operation.

.google.cloud.video.livestream.v1.Channel.StreamingState streaming_state = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Channel.StreamingState

The streamingState.

getStreamingStateValue()

public int getStreamingStateValue()

Output only. State of the streaming operation.

.google.cloud.video.livestream.v1.Channel.StreamingState streaming_state = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
int

The enum numeric value on the wire for streamingState.

getTimecodeConfig()

public TimecodeConfig getTimecodeConfig()

Configuration of timecode for this channel.

.google.cloud.video.livestream.v1.TimecodeConfig timecode_config = 21;

Returns
TypeDescription
TimecodeConfig

The timecodeConfig.

getTimecodeConfigBuilder()

public TimecodeConfig.Builder getTimecodeConfigBuilder()

Configuration of timecode for this channel.

.google.cloud.video.livestream.v1.TimecodeConfig timecode_config = 21;

Returns
TypeDescription
TimecodeConfig.Builder

getTimecodeConfigOrBuilder()

public TimecodeConfigOrBuilder getTimecodeConfigOrBuilder()

Configuration of timecode for this channel.

.google.cloud.video.livestream.v1.TimecodeConfig timecode_config = 21;

Returns
TypeDescription
TimecodeConfigOrBuilder

getUpdateTime()

public Timestamp getUpdateTime()

Output only. The update time.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Timestamp

The updateTime.

getUpdateTimeBuilder()

public Timestamp.Builder getUpdateTimeBuilder()

Output only. The update time.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Builder

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. The update time.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
TimestampOrBuilder

hasCreateTime()

public boolean hasCreateTime()

Output only. The creation time.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the createTime field is set.

hasInputConfig()

public boolean hasInputConfig()

The configuration for input sources defined in input_attachments.

.google.cloud.video.livestream.v1.InputConfig input_config = 25;

Returns
TypeDescription
boolean

Whether the inputConfig field is set.

hasLogConfig()

public boolean hasLogConfig()

Configuration of platform logs for this channel.

.google.cloud.video.livestream.v1.LogConfig log_config = 19;

Returns
TypeDescription
boolean

Whether the logConfig field is set.

hasOutput()

public boolean hasOutput()

Required. Information about the output (that is, the Cloud Storage bucket to store the generated live stream).

.google.cloud.video.livestream.v1.Channel.Output output = 9 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the output field is set.

hasStreamingError()

public boolean hasStreamingError()

Output only. A description of the reason for the streaming error. This property is always present when streaming_state is STREAMING_ERROR.

.google.rpc.Status streaming_error = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the streamingError field is set.

hasTimecodeConfig()

public boolean hasTimecodeConfig()

Configuration of timecode for this channel.

.google.cloud.video.livestream.v1.TimecodeConfig timecode_config = 21;

Returns
TypeDescription
boolean

Whether the timecodeConfig field is set.

hasUpdateTime()

public boolean hasUpdateTime()

Output only. The update time.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the updateTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapField(int number)

protected MapField internalGetMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

internalGetMutableMapField(int number)

protected MapField internalGetMutableMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeCreateTime(Timestamp value)

public Channel.Builder mergeCreateTime(Timestamp value)

Output only. The creation time.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
Channel.Builder

mergeFrom(Channel other)

public Channel.Builder mergeFrom(Channel other)
Parameter
NameDescription
otherChannel
Returns
TypeDescription
Channel.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeInputConfig(InputConfig value)

public Channel.Builder mergeInputConfig(InputConfig value)

The configuration for input sources defined in input_attachments.

.google.cloud.video.livestream.v1.InputConfig input_config = 25;

Parameter
NameDescription
valueInputConfig
Returns
TypeDescription
Channel.Builder

mergeLogConfig(LogConfig value)

public Channel.Builder mergeLogConfig(LogConfig value)

Configuration of platform logs for this channel.

.google.cloud.video.livestream.v1.LogConfig log_config = 19;

Parameter
NameDescription
valueLogConfig
Returns
TypeDescription
Channel.Builder

mergeOutput(Channel.Output value)

public Channel.Builder mergeOutput(Channel.Output value)

Required. Information about the output (that is, the Cloud Storage bucket to store the generated live stream).

.google.cloud.video.livestream.v1.Channel.Output output = 9 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueChannel.Output
Returns
TypeDescription
Channel.Builder

mergeStreamingError(Status value)

public Channel.Builder mergeStreamingError(Status value)

Output only. A description of the reason for the streaming error. This property is always present when streaming_state is STREAMING_ERROR.

.google.rpc.Status streaming_error = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valuecom.google.rpc.Status
Returns
TypeDescription
Channel.Builder

mergeTimecodeConfig(TimecodeConfig value)

public Channel.Builder mergeTimecodeConfig(TimecodeConfig value)

Configuration of timecode for this channel.

.google.cloud.video.livestream.v1.TimecodeConfig timecode_config = 21;

Parameter
NameDescription
valueTimecodeConfig
Returns
TypeDescription
Channel.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Channel.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Channel.Builder
Overrides

mergeUpdateTime(Timestamp value)

public Channel.Builder mergeUpdateTime(Timestamp value)

Output only. The update time.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
Channel.Builder

putAllLabels(Map<String,String> values)

public Channel.Builder putAllLabels(Map<String,String> values)

User-defined key/value metadata.

map<string, string> labels = 4;

Parameter
NameDescription
valuesMap<String,String>
Returns
TypeDescription
Channel.Builder

putLabels(String key, String value)

public Channel.Builder putLabels(String key, String value)

User-defined key/value metadata.

map<string, string> labels = 4;

Parameters
NameDescription
keyString
valueString
Returns
TypeDescription
Channel.Builder

removeElementaryStreams(int index)

public Channel.Builder removeElementaryStreams(int index)

List of elementary streams.

repeated .google.cloud.video.livestream.v1.ElementaryStream elementary_streams = 10;

Parameter
NameDescription
indexint
Returns
TypeDescription
Channel.Builder

removeEncryptions(int index)

public Channel.Builder removeEncryptions(int index)

Encryption configurations for this channel. Each configuration has an ID which is referred to by each MuxStream to indicate which configuration is used for that output.

repeated .google.cloud.video.livestream.v1.Encryption encryptions = 24;

Parameter
NameDescription
indexint
Returns
TypeDescription
Channel.Builder

removeInputAttachments(int index)

public Channel.Builder removeInputAttachments(int index)

A list of input attachments that this channel uses. One channel can have multiple inputs as the input sources. Only one input can be selected as the input source at one time.

repeated .google.cloud.video.livestream.v1.InputAttachment input_attachments = 16;

Parameter
NameDescription
indexint
Returns
TypeDescription
Channel.Builder

removeLabels(String key)

public Channel.Builder removeLabels(String key)

User-defined key/value metadata.

map<string, string> labels = 4;

Parameter
NameDescription
keyString
Returns
TypeDescription
Channel.Builder

removeManifests(int index)

public Channel.Builder removeManifests(int index)

List of output manifests.

repeated .google.cloud.video.livestream.v1.Manifest manifests = 12;

Parameter
NameDescription
indexint
Returns
TypeDescription
Channel.Builder

removeMuxStreams(int index)

public Channel.Builder removeMuxStreams(int index)

List of multiplexing settings for output streams.

repeated .google.cloud.video.livestream.v1.MuxStream mux_streams = 11;

Parameter
NameDescription
indexint
Returns
TypeDescription
Channel.Builder

removeSpriteSheets(int index)

public Channel.Builder removeSpriteSheets(int index)

List of output sprite sheets.

repeated .google.cloud.video.livestream.v1.SpriteSheet sprite_sheets = 13;

Parameter
NameDescription
indexint
Returns
TypeDescription
Channel.Builder

setActiveInput(String value)

public Channel.Builder setActiveInput(String value)

Output only. The InputAttachment.key that serves as the current input source. The first input in the input_attachments is the initial input source.

string active_input = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueString

The activeInput to set.

Returns
TypeDescription
Channel.Builder

This builder for chaining.

setActiveInputBytes(ByteString value)

public Channel.Builder setActiveInputBytes(ByteString value)

Output only. The InputAttachment.key that serves as the current input source. The first input in the input_attachments is the initial input source.

string active_input = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueByteString

The bytes for activeInput to set.

Returns
TypeDescription
Channel.Builder

This builder for chaining.

setCreateTime(Timestamp value)

public Channel.Builder setCreateTime(Timestamp value)

Output only. The creation time.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
Channel.Builder

setCreateTime(Timestamp.Builder builderForValue)

public Channel.Builder setCreateTime(Timestamp.Builder builderForValue)

Output only. The creation time.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
Channel.Builder

setElementaryStreams(int index, ElementaryStream value)

public Channel.Builder setElementaryStreams(int index, ElementaryStream value)

List of elementary streams.

repeated .google.cloud.video.livestream.v1.ElementaryStream elementary_streams = 10;

Parameters
NameDescription
indexint
valueElementaryStream
Returns
TypeDescription
Channel.Builder

setElementaryStreams(int index, ElementaryStream.Builder builderForValue)

public Channel.Builder setElementaryStreams(int index, ElementaryStream.Builder builderForValue)

List of elementary streams.

repeated .google.cloud.video.livestream.v1.ElementaryStream elementary_streams = 10;

Parameters
NameDescription
indexint
builderForValueElementaryStream.Builder
Returns
TypeDescription
Channel.Builder

setEncryptions(int index, Encryption value)

public Channel.Builder setEncryptions(int index, Encryption value)

Encryption configurations for this channel. Each configuration has an ID which is referred to by each MuxStream to indicate which configuration is used for that output.

repeated .google.cloud.video.livestream.v1.Encryption encryptions = 24;

Parameters
NameDescription
indexint
valueEncryption
Returns
TypeDescription
Channel.Builder

setEncryptions(int index, Encryption.Builder builderForValue)

public Channel.Builder setEncryptions(int index, Encryption.Builder builderForValue)

Encryption configurations for this channel. Each configuration has an ID which is referred to by each MuxStream to indicate which configuration is used for that output.

repeated .google.cloud.video.livestream.v1.Encryption encryptions = 24;

Parameters
NameDescription
indexint
builderForValueEncryption.Builder
Returns
TypeDescription
Channel.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setInputAttachments(int index, InputAttachment value)

public Channel.Builder setInputAttachments(int index, InputAttachment value)

A list of input attachments that this channel uses. One channel can have multiple inputs as the input sources. Only one input can be selected as the input source at one time.

repeated .google.cloud.video.livestream.v1.InputAttachment input_attachments = 16;

Parameters
NameDescription
indexint
valueInputAttachment
Returns
TypeDescription
Channel.Builder

setInputAttachments(int index, InputAttachment.Builder builderForValue)

public Channel.Builder setInputAttachments(int index, InputAttachment.Builder builderForValue)

A list of input attachments that this channel uses. One channel can have multiple inputs as the input sources. Only one input can be selected as the input source at one time.

repeated .google.cloud.video.livestream.v1.InputAttachment input_attachments = 16;

Parameters
NameDescription
indexint
builderForValueInputAttachment.Builder
Returns
TypeDescription
Channel.Builder

setInputConfig(InputConfig value)

public Channel.Builder setInputConfig(InputConfig value)

The configuration for input sources defined in input_attachments.

.google.cloud.video.livestream.v1.InputConfig input_config = 25;

Parameter
NameDescription
valueInputConfig
Returns
TypeDescription
Channel.Builder

setInputConfig(InputConfig.Builder builderForValue)

public Channel.Builder setInputConfig(InputConfig.Builder builderForValue)

The configuration for input sources defined in input_attachments.

.google.cloud.video.livestream.v1.InputConfig input_config = 25;

Parameter
NameDescription
builderForValueInputConfig.Builder
Returns
TypeDescription
Channel.Builder

setLogConfig(LogConfig value)

public Channel.Builder setLogConfig(LogConfig value)

Configuration of platform logs for this channel.

.google.cloud.video.livestream.v1.LogConfig log_config = 19;

Parameter
NameDescription
valueLogConfig
Returns
TypeDescription
Channel.Builder

setLogConfig(LogConfig.Builder builderForValue)

public Channel.Builder setLogConfig(LogConfig.Builder builderForValue)

Configuration of platform logs for this channel.

.google.cloud.video.livestream.v1.LogConfig log_config = 19;

Parameter
NameDescription
builderForValueLogConfig.Builder
Returns
TypeDescription
Channel.Builder

setManifests(int index, Manifest value)

public Channel.Builder setManifests(int index, Manifest value)

List of output manifests.

repeated .google.cloud.video.livestream.v1.Manifest manifests = 12;

Parameters
NameDescription
indexint
valueManifest
Returns
TypeDescription
Channel.Builder

setManifests(int index, Manifest.Builder builderForValue)

public Channel.Builder setManifests(int index, Manifest.Builder builderForValue)

List of output manifests.

repeated .google.cloud.video.livestream.v1.Manifest manifests = 12;

Parameters
NameDescription
indexint
builderForValueManifest.Builder
Returns
TypeDescription
Channel.Builder

setMuxStreams(int index, MuxStream value)

public Channel.Builder setMuxStreams(int index, MuxStream value)

List of multiplexing settings for output streams.

repeated .google.cloud.video.livestream.v1.MuxStream mux_streams = 11;

Parameters
NameDescription
indexint
valueMuxStream
Returns
TypeDescription
Channel.Builder

setMuxStreams(int index, MuxStream.Builder builderForValue)

public Channel.Builder setMuxStreams(int index, MuxStream.Builder builderForValue)

List of multiplexing settings for output streams.

repeated .google.cloud.video.livestream.v1.MuxStream mux_streams = 11;

Parameters
NameDescription
indexint
builderForValueMuxStream.Builder
Returns
TypeDescription
Channel.Builder

setName(String value)

public Channel.Builder setName(String value)

The resource name of the channel, in the form of: projects/{project}/locations/{location}/channels/{channelId}.

string name = 1;

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
Channel.Builder

This builder for chaining.

setNameBytes(ByteString value)

public Channel.Builder setNameBytes(ByteString value)

The resource name of the channel, in the form of: projects/{project}/locations/{location}/channels/{channelId}.

string name = 1;

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
Channel.Builder

This builder for chaining.

setOutput(Channel.Output value)

public Channel.Builder setOutput(Channel.Output value)

Required. Information about the output (that is, the Cloud Storage bucket to store the generated live stream).

.google.cloud.video.livestream.v1.Channel.Output output = 9 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueChannel.Output
Returns
TypeDescription
Channel.Builder

setOutput(Channel.Output.Builder builderForValue)

public Channel.Builder setOutput(Channel.Output.Builder builderForValue)

Required. Information about the output (that is, the Cloud Storage bucket to store the generated live stream).

.google.cloud.video.livestream.v1.Channel.Output output = 9 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
builderForValueChannel.Output.Builder
Returns
TypeDescription
Channel.Builder

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

public Channel.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Channel.Builder
Overrides

setSpriteSheets(int index, SpriteSheet value)

public Channel.Builder setSpriteSheets(int index, SpriteSheet value)

List of output sprite sheets.

repeated .google.cloud.video.livestream.v1.SpriteSheet sprite_sheets = 13;

Parameters
NameDescription
indexint
valueSpriteSheet
Returns
TypeDescription
Channel.Builder

setSpriteSheets(int index, SpriteSheet.Builder builderForValue)

public Channel.Builder setSpriteSheets(int index, SpriteSheet.Builder builderForValue)

List of output sprite sheets.

repeated .google.cloud.video.livestream.v1.SpriteSheet sprite_sheets = 13;

Parameters
NameDescription
indexint
builderForValueSpriteSheet.Builder
Returns
TypeDescription
Channel.Builder

setStreamingError(Status value)

public Channel.Builder setStreamingError(Status value)

Output only. A description of the reason for the streaming error. This property is always present when streaming_state is STREAMING_ERROR.

.google.rpc.Status streaming_error = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valuecom.google.rpc.Status
Returns
TypeDescription
Channel.Builder

setStreamingError(Status.Builder builderForValue)

public Channel.Builder setStreamingError(Status.Builder builderForValue)

Output only. A description of the reason for the streaming error. This property is always present when streaming_state is STREAMING_ERROR.

.google.rpc.Status streaming_error = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
builderForValuecom.google.rpc.Status.Builder
Returns
TypeDescription
Channel.Builder

setStreamingState(Channel.StreamingState value)

public Channel.Builder setStreamingState(Channel.StreamingState value)

Output only. State of the streaming operation.

.google.cloud.video.livestream.v1.Channel.StreamingState streaming_state = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueChannel.StreamingState

The streamingState to set.

Returns
TypeDescription
Channel.Builder

This builder for chaining.

setStreamingStateValue(int value)

public Channel.Builder setStreamingStateValue(int value)

Output only. State of the streaming operation.

.google.cloud.video.livestream.v1.Channel.StreamingState streaming_state = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueint

The enum numeric value on the wire for streamingState to set.

Returns
TypeDescription
Channel.Builder

This builder for chaining.

setTimecodeConfig(TimecodeConfig value)

public Channel.Builder setTimecodeConfig(TimecodeConfig value)

Configuration of timecode for this channel.

.google.cloud.video.livestream.v1.TimecodeConfig timecode_config = 21;

Parameter
NameDescription
valueTimecodeConfig
Returns
TypeDescription
Channel.Builder

setTimecodeConfig(TimecodeConfig.Builder builderForValue)

public Channel.Builder setTimecodeConfig(TimecodeConfig.Builder builderForValue)

Configuration of timecode for this channel.

.google.cloud.video.livestream.v1.TimecodeConfig timecode_config = 21;

Parameter
NameDescription
builderForValueTimecodeConfig.Builder
Returns
TypeDescription
Channel.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateTime(Timestamp value)

public Channel.Builder setUpdateTime(Timestamp value)

Output only. The update time.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
Channel.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public Channel.Builder setUpdateTime(Timestamp.Builder builderForValue)

Output only. The update time.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
Channel.Builder