Interface ChannelOrBuilder (0.22.0)

public interface ChannelOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsLabels(String key)

public abstract boolean containsLabels(String key)

User-defined key/value metadata.

map<string, string> labels = 4;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

getActiveInput()

public abstract 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 abstract 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 abstract Timestamp getCreateTime()

Output only. The creation time.

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

Returns
TypeDescription
Timestamp

The createTime.

getCreateTimeOrBuilder()

public abstract TimestampOrBuilder getCreateTimeOrBuilder()

Output only. The creation time.

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

Returns
TypeDescription
TimestampOrBuilder

getElementaryStreams(int index)

public abstract ElementaryStream getElementaryStreams(int index)

List of elementary streams.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ElementaryStream

getElementaryStreamsCount()

public abstract int getElementaryStreamsCount()

List of elementary streams.

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

Returns
TypeDescription
int

getElementaryStreamsList()

public abstract 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 abstract 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 abstract 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 abstract 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

getEncryptionsCount()

public abstract 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 abstract 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 abstract 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 abstract 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 abstract 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

getInputAttachmentsCount()

public abstract 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 abstract 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 abstract 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 abstract 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 abstract 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.

getInputConfigOrBuilder()

public abstract 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 abstract Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
TypeDescription
Map<String,String>

getLabelsCount()

public abstract int getLabelsCount()

User-defined key/value metadata.

map<string, string> labels = 4;

Returns
TypeDescription
int

getLabelsMap()

public abstract 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 abstract 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 abstract String getLabelsOrThrow(String key)

User-defined key/value metadata.

map<string, string> labels = 4;

Parameter
NameDescription
keyString
Returns
TypeDescription
String

getLogConfig()

public abstract LogConfig getLogConfig()

Configuration of platform logs for this channel.

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

Returns
TypeDescription
LogConfig

The logConfig.

getLogConfigOrBuilder()

public abstract 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 abstract Manifest getManifests(int index)

List of output manifests.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Manifest

getManifestsCount()

public abstract int getManifestsCount()

List of output manifests.

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

Returns
TypeDescription
int

getManifestsList()

public abstract List<Manifest> getManifestsList()

List of output manifests.

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

Returns
TypeDescription
List<Manifest>

getManifestsOrBuilder(int index)

public abstract 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 abstract 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>

getMuxStreams(int index)

public abstract 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

getMuxStreamsCount()

public abstract int getMuxStreamsCount()

List of multiplexing settings for output streams.

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

Returns
TypeDescription
int

getMuxStreamsList()

public abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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.

getOutputOrBuilder()

public abstract 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 abstract 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

getSpriteSheetsCount()

public abstract int getSpriteSheetsCount()

List of output sprite sheets.

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

Returns
TypeDescription
int

getSpriteSheetsList()

public abstract 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 abstract 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 abstract 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 abstract 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.

getStreamingErrorOrBuilder()

public abstract 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 abstract 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 abstract 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 abstract TimecodeConfig getTimecodeConfig()

Configuration of timecode for this channel.

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

Returns
TypeDescription
TimecodeConfig

The timecodeConfig.

getTimecodeConfigOrBuilder()

public abstract TimecodeConfigOrBuilder getTimecodeConfigOrBuilder()

Configuration of timecode for this channel.

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

Returns
TypeDescription
TimecodeConfigOrBuilder

getUpdateTime()

public abstract Timestamp getUpdateTime()

Output only. The update time.

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

Returns
TypeDescription
Timestamp

The updateTime.

getUpdateTimeOrBuilder()

public abstract TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. The update time.

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

Returns
TypeDescription
TimestampOrBuilder

hasCreateTime()

public abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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.