Class Channel.Builder (0.54.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
Type Description
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
Name Description
values Iterable<? extends com.google.cloud.video.livestream.v1.ElementaryStream>
Returns
Type Description
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
Name Description
values Iterable<? extends com.google.cloud.video.livestream.v1.Encryption>
Returns
Type Description
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
Name Description
values Iterable<? extends com.google.cloud.video.livestream.v1.InputAttachment>
Returns
Type Description
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
Name Description
values Iterable<? extends com.google.cloud.video.livestream.v1.Manifest>
Returns
Type Description
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
Name Description
values Iterable<? extends com.google.cloud.video.livestream.v1.MuxStream>
Returns
Type Description
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
Name Description
values Iterable<? extends com.google.cloud.video.livestream.v1.SpriteSheet>
Returns
Type Description
Channel.Builder

addAllStaticOverlays(Iterable<? extends StaticOverlay> values)

public Channel.Builder addAllStaticOverlays(Iterable<? extends StaticOverlay> values)

Optional. List of static overlay images. Those images display over the output content for the whole duration of the live stream.

repeated .google.cloud.video.livestream.v1.StaticOverlay static_overlays = 27 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Iterable<? extends com.google.cloud.video.livestream.v1.StaticOverlay>
Returns
Type Description
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
Name Description
value ElementaryStream
Returns
Type Description
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
Name Description
builderForValue ElementaryStream.Builder
Returns
Type Description
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
Name Description
index int
value ElementaryStream
Returns
Type Description
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
Name Description
index int
builderForValue ElementaryStream.Builder
Returns
Type Description
Channel.Builder

addElementaryStreamsBuilder()

public ElementaryStream.Builder addElementaryStreamsBuilder()

List of elementary streams.

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

Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
Name Description
value Encryption
Returns
Type Description
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
Name Description
builderForValue Encryption.Builder
Returns
Type Description
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
Name Description
index int
value Encryption
Returns
Type Description
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
Name Description
index int
builderForValue Encryption.Builder
Returns
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Name Description
value InputAttachment
Returns
Type Description
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
Name Description
builderForValue InputAttachment.Builder
Returns
Type Description
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
Name Description
index int
value InputAttachment
Returns
Type Description
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
Name Description
index int
builderForValue InputAttachment.Builder
Returns
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Name Description
value Manifest
Returns
Type Description
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
Name Description
builderForValue Manifest.Builder
Returns
Type Description
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
Name Description
index int
value Manifest
Returns
Type Description
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
Name Description
index int
builderForValue Manifest.Builder
Returns
Type Description
Channel.Builder

addManifestsBuilder()

public Manifest.Builder addManifestsBuilder()

List of output manifests.

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

Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
Name Description
value MuxStream
Returns
Type Description
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
Name Description
builderForValue MuxStream.Builder
Returns
Type Description
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
Name Description
index int
value MuxStream
Returns
Type Description
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
Name Description
index int
builderForValue MuxStream.Builder
Returns
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
MuxStream.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Channel.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
value SpriteSheet
Returns
Type Description
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
Name Description
builderForValue SpriteSheet.Builder
Returns
Type Description
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
Name Description
index int
value SpriteSheet
Returns
Type Description
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
Name Description
index int
builderForValue SpriteSheet.Builder
Returns
Type Description
Channel.Builder

addSpriteSheetsBuilder()

public SpriteSheet.Builder addSpriteSheetsBuilder()

List of output sprite sheets.

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

Returns
Type Description
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
Name Description
index int
Returns
Type Description
SpriteSheet.Builder

addStaticOverlays(StaticOverlay value)

public Channel.Builder addStaticOverlays(StaticOverlay value)

Optional. List of static overlay images. Those images display over the output content for the whole duration of the live stream.

repeated .google.cloud.video.livestream.v1.StaticOverlay static_overlays = 27 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value StaticOverlay
Returns
Type Description
Channel.Builder

addStaticOverlays(StaticOverlay.Builder builderForValue)

public Channel.Builder addStaticOverlays(StaticOverlay.Builder builderForValue)

Optional. List of static overlay images. Those images display over the output content for the whole duration of the live stream.

repeated .google.cloud.video.livestream.v1.StaticOverlay static_overlays = 27 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue StaticOverlay.Builder
Returns
Type Description
Channel.Builder

addStaticOverlays(int index, StaticOverlay value)

public Channel.Builder addStaticOverlays(int index, StaticOverlay value)

Optional. List of static overlay images. Those images display over the output content for the whole duration of the live stream.

repeated .google.cloud.video.livestream.v1.StaticOverlay static_overlays = 27 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
value StaticOverlay
Returns
Type Description
Channel.Builder

addStaticOverlays(int index, StaticOverlay.Builder builderForValue)

public Channel.Builder addStaticOverlays(int index, StaticOverlay.Builder builderForValue)

Optional. List of static overlay images. Those images display over the output content for the whole duration of the live stream.

repeated .google.cloud.video.livestream.v1.StaticOverlay static_overlays = 27 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
builderForValue StaticOverlay.Builder
Returns
Type Description
Channel.Builder

addStaticOverlaysBuilder()

public StaticOverlay.Builder addStaticOverlaysBuilder()

Optional. List of static overlay images. Those images display over the output content for the whole duration of the live stream.

repeated .google.cloud.video.livestream.v1.StaticOverlay static_overlays = 27 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
StaticOverlay.Builder

addStaticOverlaysBuilder(int index)

public StaticOverlay.Builder addStaticOverlaysBuilder(int index)

Optional. List of static overlay images. Those images display over the output content for the whole duration of the live stream.

repeated .google.cloud.video.livestream.v1.StaticOverlay static_overlays = 27 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
StaticOverlay.Builder

build()

public Channel build()
Returns
Type Description
Channel

buildPartial()

public Channel buildPartial()
Returns
Type Description
Channel

clear()

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

clearElementaryStreams()

public Channel.Builder clearElementaryStreams()

List of elementary streams.

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

Returns
Type Description
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
Type Description
Channel.Builder

clearField(Descriptors.FieldDescriptor field)

public Channel.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
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
Type Description
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
Type Description
Channel.Builder

clearLabels()

public Channel.Builder clearLabels()
Returns
Type Description
Channel.Builder

clearLogConfig()

public Channel.Builder clearLogConfig()

Configuration of platform logs for this channel.

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

Returns
Type Description
Channel.Builder

clearManifests()

public Channel.Builder clearManifests()

List of output manifests.

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

Returns
Type Description
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
Type Description
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
Type Description
Channel.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Channel.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
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
Type Description
Channel.Builder

clearRetentionConfig()

public Channel.Builder clearRetentionConfig()

Optional. Configuration for retention of output files for this channel.

.google.cloud.video.livestream.v1.RetentionConfig retention_config = 26 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Channel.Builder

clearSpriteSheets()

public Channel.Builder clearSpriteSheets()

List of output sprite sheets.

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

Returns
Type Description
Channel.Builder

clearStaticOverlays()

public Channel.Builder clearStaticOverlays()

Optional. List of static overlay images. Those images display over the output content for the whole duration of the live stream.

repeated .google.cloud.video.livestream.v1.StaticOverlay static_overlays = 27 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
Channel.Builder

clone()

public Channel.Builder clone()
Returns
Type Description
Channel.Builder
Overrides

containsLabels(String key)

public boolean containsLabels(String key)

User-defined key/value metadata.

map<string, string> labels = 4;

Parameter
Name Description
key String
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. The creation time.

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

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public Channel getDefaultInstanceForType()
Returns
Type Description
Channel

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
Name Description
index int
Returns
Type Description
ElementaryStream.Builder

getElementaryStreamsBuilderList()

public List<ElementaryStream.Builder> getElementaryStreamsBuilderList()

List of elementary streams.

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

Returns
Type Description
List<Builder>

getElementaryStreamsCount()

public int getElementaryStreamsCount()

List of elementary streams.

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

Returns
Type Description
int

getElementaryStreamsList()

public List<ElementaryStream> getElementaryStreamsList()

List of elementary streams.

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

Returns
Type Description
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
Name Description
index int
Returns
Type Description
ElementaryStreamOrBuilder

getElementaryStreamsOrBuilderList()

public List<? extends ElementaryStreamOrBuilder> getElementaryStreamsOrBuilderList()

List of elementary streams.

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

Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
InputConfigOrBuilder

getLabels() (deprecated)

public Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
Type Description
Map<String,String>

getLabelsCount()

public int getLabelsCount()

User-defined key/value metadata.

map<string, string> labels = 4;

Returns
Type Description
int

getLabelsMap()

public Map<String,String> getLabelsMap()

User-defined key/value metadata.

map<string, string> labels = 4;

Returns
Type Description
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
Name Description
key String
defaultValue String
Returns
Type Description
String

getLabelsOrThrow(String key)

public String getLabelsOrThrow(String key)

User-defined key/value metadata.

map<string, string> labels = 4;

Parameter
Name Description
key String
Returns
Type Description
String

getLogConfig()

public LogConfig getLogConfig()

Configuration of platform logs for this channel.

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

Returns
Type Description
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
Type Description
LogConfig.Builder

getLogConfigOrBuilder()

public LogConfigOrBuilder getLogConfigOrBuilder()

Configuration of platform logs for this channel.

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

Returns
Type Description
LogConfigOrBuilder

getManifests(int index)

public Manifest getManifests(int index)

List of output manifests.

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

Parameter
Name Description
index int
Returns
Type Description
Manifest

getManifestsBuilder(int index)

public Manifest.Builder getManifestsBuilder(int index)

List of output manifests.

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

Parameter
Name Description
index int
Returns
Type Description
Manifest.Builder

getManifestsBuilderList()

public List<Manifest.Builder> getManifestsBuilderList()

List of output manifests.

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

Returns
Type Description
List<Builder>

getManifestsCount()

public int getManifestsCount()

List of output manifests.

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

Returns
Type Description
int

getManifestsList()

public List<Manifest> getManifestsList()

List of output manifests.

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

Returns
Type Description
List<Manifest>

getManifestsOrBuilder(int index)

public ManifestOrBuilder getManifestsOrBuilder(int index)

List of output manifests.

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

Parameter
Name Description
index int
Returns
Type Description
ManifestOrBuilder

getManifestsOrBuilderList()

public List<? extends ManifestOrBuilder> getManifestsOrBuilderList()

List of output manifests.

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

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

getMutableLabels() (deprecated)

public Map<String,String> getMutableLabels()

Use alternate mutation accessors instead.

Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
List<Builder>

getMuxStreamsCount()

public int getMuxStreamsCount()

List of multiplexing settings for output streams.

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

Returns
Type Description
int

getMuxStreamsList()

public List<MuxStream> getMuxStreamsList()

List of multiplexing settings for output streams.

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

Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
Channel.OutputOrBuilder

getRetentionConfig()

public RetentionConfig getRetentionConfig()

Optional. Configuration for retention of output files for this channel.

.google.cloud.video.livestream.v1.RetentionConfig retention_config = 26 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
RetentionConfig

The retentionConfig.

getRetentionConfigBuilder()

public RetentionConfig.Builder getRetentionConfigBuilder()

Optional. Configuration for retention of output files for this channel.

.google.cloud.video.livestream.v1.RetentionConfig retention_config = 26 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
RetentionConfig.Builder

getRetentionConfigOrBuilder()

public RetentionConfigOrBuilder getRetentionConfigOrBuilder()

Optional. Configuration for retention of output files for this channel.

.google.cloud.video.livestream.v1.RetentionConfig retention_config = 26 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
RetentionConfigOrBuilder

getSpriteSheets(int index)

public SpriteSheet getSpriteSheets(int index)

List of output sprite sheets.

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

Parameter
Name Description
index int
Returns
Type Description
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
Name Description
index int
Returns
Type Description
SpriteSheet.Builder

getSpriteSheetsBuilderList()

public List<SpriteSheet.Builder> getSpriteSheetsBuilderList()

List of output sprite sheets.

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

Returns
Type Description
List<Builder>

getSpriteSheetsCount()

public int getSpriteSheetsCount()

List of output sprite sheets.

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

Returns
Type Description
int

getSpriteSheetsList()

public List<SpriteSheet> getSpriteSheetsList()

List of output sprite sheets.

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

Returns
Type Description
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
Name Description
index int
Returns
Type Description
SpriteSheetOrBuilder

getSpriteSheetsOrBuilderList()

public List<? extends SpriteSheetOrBuilder> getSpriteSheetsOrBuilderList()

List of output sprite sheets.

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

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

getStaticOverlays(int index)

public StaticOverlay getStaticOverlays(int index)

Optional. List of static overlay images. Those images display over the output content for the whole duration of the live stream.

repeated .google.cloud.video.livestream.v1.StaticOverlay static_overlays = 27 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
StaticOverlay

getStaticOverlaysBuilder(int index)

public StaticOverlay.Builder getStaticOverlaysBuilder(int index)

Optional. List of static overlay images. Those images display over the output content for the whole duration of the live stream.

repeated .google.cloud.video.livestream.v1.StaticOverlay static_overlays = 27 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
StaticOverlay.Builder

getStaticOverlaysBuilderList()

public List<StaticOverlay.Builder> getStaticOverlaysBuilderList()

Optional. List of static overlay images. Those images display over the output content for the whole duration of the live stream.

repeated .google.cloud.video.livestream.v1.StaticOverlay static_overlays = 27 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<Builder>

getStaticOverlaysCount()

public int getStaticOverlaysCount()

Optional. List of static overlay images. Those images display over the output content for the whole duration of the live stream.

repeated .google.cloud.video.livestream.v1.StaticOverlay static_overlays = 27 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getStaticOverlaysList()

public List<StaticOverlay> getStaticOverlaysList()

Optional. List of static overlay images. Those images display over the output content for the whole duration of the live stream.

repeated .google.cloud.video.livestream.v1.StaticOverlay static_overlays = 27 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<StaticOverlay>

getStaticOverlaysOrBuilder(int index)

public StaticOverlayOrBuilder getStaticOverlaysOrBuilder(int index)

Optional. List of static overlay images. Those images display over the output content for the whole duration of the live stream.

repeated .google.cloud.video.livestream.v1.StaticOverlay static_overlays = 27 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
StaticOverlayOrBuilder

getStaticOverlaysOrBuilderList()

public List<? extends StaticOverlayOrBuilder> getStaticOverlaysOrBuilderList()

Optional. List of static overlay images. Those images display over the output content for the whole duration of the live stream.

repeated .google.cloud.video.livestream.v1.StaticOverlay static_overlays = 27 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.cloud.video.livestream.v1.StaticOverlayOrBuilder>

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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
TimecodeConfig

The timecodeConfig.

getTimecodeConfigBuilder()

public TimecodeConfig.Builder getTimecodeConfigBuilder()

Configuration of timecode for this channel.

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

Returns
Type Description
TimecodeConfig.Builder

getTimecodeConfigOrBuilder()

public TimecodeConfigOrBuilder getTimecodeConfigOrBuilder()

Configuration of timecode for this channel.

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

Returns
Type Description
TimecodeConfigOrBuilder

getUpdateTime()

public Timestamp getUpdateTime()

Output only. The update time.

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

Returns
Type Description
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
Type Description
Builder

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. The update time.

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

Returns
Type Description
TimestampOrBuilder

hasCreateTime()

public boolean hasCreateTime()

Output only. The creation time.

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

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
boolean

Whether the output field is set.

hasRetentionConfig()

public boolean hasRetentionConfig()

Optional. Configuration for retention of output files for this channel.

.google.cloud.video.livestream.v1.RetentionConfig retention_config = 26 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the retentionConfig 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
Type Description
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
Type Description
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
Type Description
boolean

Whether the updateTime field is set.

internalGetFieldAccessorTable()

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

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)

internalGetMutableMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
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
Name Description
value Timestamp
Returns
Type Description
Channel.Builder

mergeFrom(Channel other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public Channel.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
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
Name Description
value InputConfig
Returns
Type Description
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
Name Description
value LogConfig
Returns
Type Description
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
Name Description
value Channel.Output
Returns
Type Description
Channel.Builder

mergeRetentionConfig(RetentionConfig value)

public Channel.Builder mergeRetentionConfig(RetentionConfig value)

Optional. Configuration for retention of output files for this channel.

.google.cloud.video.livestream.v1.RetentionConfig retention_config = 26 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value RetentionConfig
Returns
Type Description
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
Name Description
value com.google.rpc.Status
Returns
Type Description
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
Name Description
value TimecodeConfig
Returns
Type Description
Channel.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Channel.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
value Timestamp
Returns
Type Description
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
Name Description
values Map<String,String>
Returns
Type Description
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
Name Description
key String
value String
Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
Name Description
index int
Returns
Type Description
Channel.Builder

removeLabels(String key)

public Channel.Builder removeLabels(String key)

User-defined key/value metadata.

map<string, string> labels = 4;

Parameter
Name Description
key String
Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
Name Description
index int
Returns
Type Description
Channel.Builder

removeStaticOverlays(int index)

public Channel.Builder removeStaticOverlays(int index)

Optional. List of static overlay images. Those images display over the output content for the whole duration of the live stream.

repeated .google.cloud.video.livestream.v1.StaticOverlay static_overlays = 27 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
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
Name Description
value String

The activeInput to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for activeInput to set.

Returns
Type Description
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
Name Description
value Timestamp
Returns
Type Description
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
Name Description
builderForValue Builder
Returns
Type Description
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
Name Description
index int
value ElementaryStream
Returns
Type Description
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
Name Description
index int
builderForValue ElementaryStream.Builder
Returns
Type Description
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
Name Description
index int
value Encryption
Returns
Type Description
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
Name Description
index int
builderForValue Encryption.Builder
Returns
Type Description
Channel.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public Channel.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
index int
value InputAttachment
Returns
Type Description
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
Name Description
index int
builderForValue InputAttachment.Builder
Returns
Type Description
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
Name Description
value InputConfig
Returns
Type Description
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
Name Description
builderForValue InputConfig.Builder
Returns
Type Description
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
Name Description
value LogConfig
Returns
Type Description
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
Name Description
builderForValue LogConfig.Builder
Returns
Type Description
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
Name Description
index int
value Manifest
Returns
Type Description
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
Name Description
index int
builderForValue Manifest.Builder
Returns
Type Description
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
Name Description
index int
value MuxStream
Returns
Type Description
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
Name Description
index int
builderForValue MuxStream.Builder
Returns
Type Description
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
Name Description
value String

The name to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
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
Name Description
value Channel.Output
Returns
Type Description
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
Name Description
builderForValue Channel.Output.Builder
Returns
Type Description
Channel.Builder

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

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

setRetentionConfig(RetentionConfig value)

public Channel.Builder setRetentionConfig(RetentionConfig value)

Optional. Configuration for retention of output files for this channel.

.google.cloud.video.livestream.v1.RetentionConfig retention_config = 26 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value RetentionConfig
Returns
Type Description
Channel.Builder

setRetentionConfig(RetentionConfig.Builder builderForValue)

public Channel.Builder setRetentionConfig(RetentionConfig.Builder builderForValue)

Optional. Configuration for retention of output files for this channel.

.google.cloud.video.livestream.v1.RetentionConfig retention_config = 26 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue RetentionConfig.Builder
Returns
Type Description
Channel.Builder

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
Name Description
index int
value SpriteSheet
Returns
Type Description
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
Name Description
index int
builderForValue SpriteSheet.Builder
Returns
Type Description
Channel.Builder

setStaticOverlays(int index, StaticOverlay value)

public Channel.Builder setStaticOverlays(int index, StaticOverlay value)

Optional. List of static overlay images. Those images display over the output content for the whole duration of the live stream.

repeated .google.cloud.video.livestream.v1.StaticOverlay static_overlays = 27 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
value StaticOverlay
Returns
Type Description
Channel.Builder

setStaticOverlays(int index, StaticOverlay.Builder builderForValue)

public Channel.Builder setStaticOverlays(int index, StaticOverlay.Builder builderForValue)

Optional. List of static overlay images. Those images display over the output content for the whole duration of the live stream.

repeated .google.cloud.video.livestream.v1.StaticOverlay static_overlays = 27 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
builderForValue StaticOverlay.Builder
Returns
Type Description
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
Name Description
value com.google.rpc.Status
Returns
Type Description
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
Name Description
builderForValue com.google.rpc.Status.Builder
Returns
Type Description
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
Name Description
value Channel.StreamingState

The streamingState to set.

Returns
Type Description
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
Name Description
value int

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

Returns
Type Description
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
Name Description
value TimecodeConfig
Returns
Type Description
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
Name Description
builderForValue TimecodeConfig.Builder
Returns
Type Description
Channel.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final Channel.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
value Timestamp
Returns
Type Description
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
Name Description
builderForValue Builder
Returns
Type Description
Channel.Builder