Class Channel (0.56.0)

public final class Channel extends GeneratedMessageV3 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 Fields

ACTIVE_INPUT_FIELD_NUMBER

public static final int ACTIVE_INPUT_FIELD_NUMBER
Field Value
Type Description
int

CREATE_TIME_FIELD_NUMBER

public static final int CREATE_TIME_FIELD_NUMBER
Field Value
Type Description
int

ELEMENTARY_STREAMS_FIELD_NUMBER

public static final int ELEMENTARY_STREAMS_FIELD_NUMBER
Field Value
Type Description
int

ENCRYPTIONS_FIELD_NUMBER

public static final int ENCRYPTIONS_FIELD_NUMBER
Field Value
Type Description
int

INPUT_ATTACHMENTS_FIELD_NUMBER

public static final int INPUT_ATTACHMENTS_FIELD_NUMBER
Field Value
Type Description
int

INPUT_CONFIG_FIELD_NUMBER

public static final int INPUT_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

LABELS_FIELD_NUMBER

public static final int LABELS_FIELD_NUMBER
Field Value
Type Description
int

LOG_CONFIG_FIELD_NUMBER

public static final int LOG_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

MANIFESTS_FIELD_NUMBER

public static final int MANIFESTS_FIELD_NUMBER
Field Value
Type Description
int

MUX_STREAMS_FIELD_NUMBER

public static final int MUX_STREAMS_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

OUTPUT_FIELD_NUMBER

public static final int OUTPUT_FIELD_NUMBER
Field Value
Type Description
int

RETENTION_CONFIG_FIELD_NUMBER

public static final int RETENTION_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

SPRITE_SHEETS_FIELD_NUMBER

public static final int SPRITE_SHEETS_FIELD_NUMBER
Field Value
Type Description
int

STATIC_OVERLAYS_FIELD_NUMBER

public static final int STATIC_OVERLAYS_FIELD_NUMBER
Field Value
Type Description
int

STREAMING_ERROR_FIELD_NUMBER

public static final int STREAMING_ERROR_FIELD_NUMBER
Field Value
Type Description
int

STREAMING_STATE_FIELD_NUMBER

public static final int STREAMING_STATE_FIELD_NUMBER
Field Value
Type Description
int

TIMECODE_CONFIG_FIELD_NUMBER

public static final int TIMECODE_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

UPDATE_TIME_FIELD_NUMBER

public static final int UPDATE_TIME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Channel getDefaultInstance()
Returns
Type Description
Channel

getDescriptor()

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

newBuilder()

public static Channel.Builder newBuilder()
Returns
Type Description
Channel.Builder

newBuilder(Channel prototype)

public static Channel.Builder newBuilder(Channel prototype)
Parameter
Name Description
prototype Channel
Returns
Type Description
Channel.Builder

parseDelimitedFrom(InputStream input)

public static Channel parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Channel
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Channel parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Channel
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static Channel parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
Channel
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Channel parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Channel
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Channel parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Channel
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Channel parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Channel
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Channel parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Channel
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Channel parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Channel
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static Channel parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Channel
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Channel parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Channel
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static Channel parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Channel
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Channel parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Channel
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<Channel> parser()
Returns
Type Description
Parser<Channel>

Methods

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

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

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.

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

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

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

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

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.

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.

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

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>

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

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.

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

getParserForType()

public Parser<Channel> getParserForType()
Returns
Type Description
Parser<Channel>
Overrides

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.

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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

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

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.

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.

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.

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

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.internalGetMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Channel.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Channel.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException