livestreampb

package
v1.20.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 14, 2024 License: Apache-2.0 Imports: 16 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Manifest_ManifestType_name = map[int32]string{
		0: "MANIFEST_TYPE_UNSPECIFIED",
		1: "HLS",
		2: "DASH",
	}
	Manifest_ManifestType_value = map[string]int32{
		"MANIFEST_TYPE_UNSPECIFIED": 0,
		"HLS":                       1,
		"DASH":                      2,
	}
)

Enum value maps for Manifest_ManifestType.

View Source
var (
	TimecodeConfig_TimecodeSource_name = map[int32]string{
		0: "TIMECODE_SOURCE_UNSPECIFIED",
		1: "MEDIA_TIMESTAMP",
		2: "EMBEDDED_TIMECODE",
	}
	TimecodeConfig_TimecodeSource_value = map[string]int32{
		"TIMECODE_SOURCE_UNSPECIFIED": 0,
		"MEDIA_TIMESTAMP":             1,
		"EMBEDDED_TIMECODE":           2,
	}
)

Enum value maps for TimecodeConfig_TimecodeSource.

View Source
var (
	Input_Type_name = map[int32]string{
		0: "TYPE_UNSPECIFIED",
		1: "RTMP_PUSH",
		2: "SRT_PUSH",
	}
	Input_Type_value = map[string]int32{
		"TYPE_UNSPECIFIED": 0,
		"RTMP_PUSH":        1,
		"SRT_PUSH":         2,
	}
)

Enum value maps for Input_Type.

View Source
var (
	Input_Tier_name = map[int32]string{
		0: "TIER_UNSPECIFIED",
		1: "SD",
		2: "HD",
		3: "UHD",
	}
	Input_Tier_value = map[string]int32{
		"TIER_UNSPECIFIED": 0,
		"SD":               1,
		"HD":               2,
		"UHD":              3,
	}
)

Enum value maps for Input_Tier.

View Source
var (
	Channel_StreamingState_name = map[int32]string{
		0: "STREAMING_STATE_UNSPECIFIED",
		1: "STREAMING",
		2: "AWAITING_INPUT",
		4: "STREAMING_ERROR",
		5: "STREAMING_NO_INPUT",
		6: "STOPPED",
		7: "STARTING",
		8: "STOPPING",
	}
	Channel_StreamingState_value = map[string]int32{
		"STREAMING_STATE_UNSPECIFIED": 0,
		"STREAMING":                   1,
		"AWAITING_INPUT":              2,
		"STREAMING_ERROR":             4,
		"STREAMING_NO_INPUT":          5,
		"STOPPED":                     6,
		"STARTING":                    7,
		"STOPPING":                    8,
	}
)

Enum value maps for Channel_StreamingState.

View Source
var (
	InputConfig_InputSwitchMode_name = map[int32]string{
		0: "INPUT_SWITCH_MODE_UNSPECIFIED",
		1: "FAILOVER_PREFER_PRIMARY",
		3: "MANUAL",
	}
	InputConfig_InputSwitchMode_value = map[string]int32{
		"INPUT_SWITCH_MODE_UNSPECIFIED": 0,
		"FAILOVER_PREFER_PRIMARY":       1,
		"MANUAL":                        3,
	}
)

Enum value maps for InputConfig_InputSwitchMode.

View Source
var (
	LogConfig_LogSeverity_name = map[int32]string{
		0:   "LOG_SEVERITY_UNSPECIFIED",
		1:   "OFF",
		100: "DEBUG",
		200: "INFO",
		400: "WARNING",
		500: "ERROR",
	}
	LogConfig_LogSeverity_value = map[string]int32{
		"LOG_SEVERITY_UNSPECIFIED": 0,
		"OFF":                      1,
		"DEBUG":                    100,
		"INFO":                     200,
		"WARNING":                  400,
		"ERROR":                    500,
	}
)

Enum value maps for LogConfig_LogSeverity.

View Source
var (
	Event_State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "SCHEDULED",
		2: "RUNNING",
		3: "SUCCEEDED",
		4: "FAILED",
		5: "PENDING",
		6: "STOPPED",
	}
	Event_State_value = map[string]int32{
		"STATE_UNSPECIFIED": 0,
		"SCHEDULED":         1,
		"RUNNING":           2,
		"SUCCEEDED":         3,
		"FAILED":            4,
		"PENDING":           5,
		"STOPPED":           6,
	}
)

Enum value maps for Event_State.

View Source
var (
	Asset_State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "CREATING",
		2: "ACTIVE",
		3: "DELETING",
		4: "ERROR",
	}
	Asset_State_value = map[string]int32{
		"STATE_UNSPECIFIED": 0,
		"CREATING":          1,
		"ACTIVE":            2,
		"DELETING":          3,
		"ERROR":             4,
	}
)

Enum value maps for Asset_State.

View Source
var File_google_cloud_video_livestream_v1_outputs_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_video_livestream_v1_resources_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_video_livestream_v1_service_proto protoreflect.FileDescriptor

Functions

func RegisterLivestreamServiceServer

func RegisterLivestreamServiceServer(s *grpc.Server, srv LivestreamServiceServer)

Types

type Asset added in v1.19.0

type Asset struct {

	// The resource name of the asset, in the form of:
	// `projects/{project}/locations/{location}/assets/{assetId}`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Output only. The creation time.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. The update time.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// User-defined key/value metadata.
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// The reference to the asset.
	// The maximum size of the resource is 250 MB.
	//
	// Types that are assignable to Resource:
	//
	//	*Asset_Video
	//	*Asset_Image
	Resource isAsset_Resource `protobuf_oneof:"resource"`
	// Based64-encoded CRC32c checksum of the asset file. For more information,
	// see the crc32c checksum of the [Cloud Storage Objects
	// resource](https://cloud.google.com/storage/docs/json_api/v1/objects).
	// If crc32c is omitted or left empty when the asset is created, this field is
	// filled by the crc32c checksum of the Cloud Storage object indicated by
	// [VideoAsset.uri] or [ImageAsset.uri].
	// If crc32c is set, the asset can't be created if the crc32c value does not
	// match with the crc32c checksum of the Cloud Storage object indicated by
	// [VideoAsset.uri] or [ImageAsset.uri].
	Crc32C string `protobuf:"bytes,7,opt,name=crc32c,proto3" json:"crc32c,omitempty"`
	// Output only. The state of the asset resource.
	State Asset_State `protobuf:"varint,8,opt,name=state,proto3,enum=google.cloud.video.livestream.v1.Asset_State" json:"state,omitempty"`
	// Output only. Only present when `state` is `ERROR`. The reason for the error
	// state of the asset.
	Error *status.Status `protobuf:"bytes,9,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

An asset represents a video or an image.

func (*Asset) Descriptor deprecated added in v1.19.0

func (*Asset) Descriptor() ([]byte, []int)

Deprecated: Use Asset.ProtoReflect.Descriptor instead.

func (*Asset) GetCrc32C added in v1.19.0

func (x *Asset) GetCrc32C() string

func (*Asset) GetCreateTime added in v1.19.0

func (x *Asset) GetCreateTime() *timestamppb.Timestamp

func (*Asset) GetError added in v1.19.0

func (x *Asset) GetError() *status.Status

func (*Asset) GetImage added in v1.19.0

func (x *Asset) GetImage() *Asset_ImageAsset

func (*Asset) GetLabels added in v1.19.0

func (x *Asset) GetLabels() map[string]string

func (*Asset) GetName added in v1.19.0

func (x *Asset) GetName() string

func (*Asset) GetResource added in v1.19.0

func (m *Asset) GetResource() isAsset_Resource

func (*Asset) GetState added in v1.19.0

func (x *Asset) GetState() Asset_State

func (*Asset) GetUpdateTime added in v1.19.0

func (x *Asset) GetUpdateTime() *timestamppb.Timestamp

func (*Asset) GetVideo added in v1.19.0

func (x *Asset) GetVideo() *Asset_VideoAsset

func (*Asset) ProtoMessage added in v1.19.0

func (*Asset) ProtoMessage()

func (*Asset) ProtoReflect added in v1.19.0

func (x *Asset) ProtoReflect() protoreflect.Message

func (*Asset) Reset added in v1.19.0

func (x *Asset) Reset()

func (*Asset) String added in v1.19.0

func (x *Asset) String() string

type Asset_Image added in v1.19.0

type Asset_Image struct {
	// ImageAsset represents an image.
	Image *Asset_ImageAsset `protobuf:"bytes,6,opt,name=image,proto3,oneof"`
}

type Asset_ImageAsset added in v1.19.0

type Asset_ImageAsset struct {

	// Cloud Storage URI of the image. The format is `gs://my-bucket/my-object`.
	Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"`
	// contains filtered or unexported fields
}

Image represents an image. The supported format is JPEG.

func (*Asset_ImageAsset) Descriptor deprecated added in v1.19.0

func (*Asset_ImageAsset) Descriptor() ([]byte, []int)

Deprecated: Use Asset_ImageAsset.ProtoReflect.Descriptor instead.

func (*Asset_ImageAsset) GetUri added in v1.19.0

func (x *Asset_ImageAsset) GetUri() string

func (*Asset_ImageAsset) ProtoMessage added in v1.19.0

func (*Asset_ImageAsset) ProtoMessage()

func (*Asset_ImageAsset) ProtoReflect added in v1.19.0

func (x *Asset_ImageAsset) ProtoReflect() protoreflect.Message

func (*Asset_ImageAsset) Reset added in v1.19.0

func (x *Asset_ImageAsset) Reset()

func (*Asset_ImageAsset) String added in v1.19.0

func (x *Asset_ImageAsset) String() string

type Asset_State added in v1.19.0

type Asset_State int32

State of the asset resource.

const (
	// State is not specified.
	Asset_STATE_UNSPECIFIED Asset_State = 0
	// The asset is being created.
	Asset_CREATING Asset_State = 1
	// The asset is ready for use.
	Asset_ACTIVE Asset_State = 2
	// The asset is being deleted.
	Asset_DELETING Asset_State = 3
	// The asset has an error.
	Asset_ERROR Asset_State = 4
)

func (Asset_State) Descriptor added in v1.19.0

func (Asset_State) Enum added in v1.19.0

func (x Asset_State) Enum() *Asset_State

func (Asset_State) EnumDescriptor deprecated added in v1.19.0

func (Asset_State) EnumDescriptor() ([]byte, []int)

Deprecated: Use Asset_State.Descriptor instead.

func (Asset_State) Number added in v1.19.0

func (x Asset_State) Number() protoreflect.EnumNumber

func (Asset_State) String added in v1.19.0

func (x Asset_State) String() string

func (Asset_State) Type added in v1.19.0

type Asset_Video added in v1.19.0

type Asset_Video struct {
	// VideoAsset represents a video.
	Video *Asset_VideoAsset `protobuf:"bytes,5,opt,name=video,proto3,oneof"`
}

type Asset_VideoAsset added in v1.19.0

type Asset_VideoAsset struct {

	// Cloud Storage URI of the video. The format is `gs://my-bucket/my-object`.
	Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"`
	// contains filtered or unexported fields
}

VideoAsset represents a video. The supported formats are MP4, MPEG-TS, and FLV. The supported video codec is H264. The supported audio codecs are AAC, AC3, MP2, and MP3.

func (*Asset_VideoAsset) Descriptor deprecated added in v1.19.0

func (*Asset_VideoAsset) Descriptor() ([]byte, []int)

Deprecated: Use Asset_VideoAsset.ProtoReflect.Descriptor instead.

func (*Asset_VideoAsset) GetUri added in v1.19.0

func (x *Asset_VideoAsset) GetUri() string

func (*Asset_VideoAsset) ProtoMessage added in v1.19.0

func (*Asset_VideoAsset) ProtoMessage()

func (*Asset_VideoAsset) ProtoReflect added in v1.19.0

func (x *Asset_VideoAsset) ProtoReflect() protoreflect.Message

func (*Asset_VideoAsset) Reset added in v1.19.0

func (x *Asset_VideoAsset) Reset()

func (*Asset_VideoAsset) String added in v1.19.0

func (x *Asset_VideoAsset) String() string

type AudioFormat

type AudioFormat struct {

	// Audio codec used in this audio stream.
	Codec string `protobuf:"bytes,1,opt,name=codec,proto3" json:"codec,omitempty"`
	// The number of audio channels.
	ChannelCount int32 `protobuf:"varint,2,opt,name=channel_count,json=channelCount,proto3" json:"channel_count,omitempty"`
	// A list of channel names specifying the layout of the audio channels.
	ChannelLayout []string `protobuf:"bytes,3,rep,name=channel_layout,json=channelLayout,proto3" json:"channel_layout,omitempty"`
	// contains filtered or unexported fields
}

Properties of the audio format.

func (*AudioFormat) Descriptor deprecated

func (*AudioFormat) Descriptor() ([]byte, []int)

Deprecated: Use AudioFormat.ProtoReflect.Descriptor instead.

func (*AudioFormat) GetChannelCount

func (x *AudioFormat) GetChannelCount() int32

func (*AudioFormat) GetChannelLayout

func (x *AudioFormat) GetChannelLayout() []string

func (*AudioFormat) GetCodec

func (x *AudioFormat) GetCodec() string

func (*AudioFormat) ProtoMessage

func (*AudioFormat) ProtoMessage()

func (*AudioFormat) ProtoReflect

func (x *AudioFormat) ProtoReflect() protoreflect.Message

func (*AudioFormat) Reset

func (x *AudioFormat) Reset()

func (*AudioFormat) String

func (x *AudioFormat) String() string

type AudioStream

type AudioStream struct {

	// Specifies whether pass through (transmuxing) is enabled or not.
	// If set to `true`, the rest of the settings, other than `mapping`, will be
	// ignored. The default is `false`.
	Transmux bool `protobuf:"varint,8,opt,name=transmux,proto3" json:"transmux,omitempty"`
	// The codec for this audio stream. The default is `aac`.
	//
	// Supported audio codecs:
	//
	// - `aac`
	Codec string `protobuf:"bytes,1,opt,name=codec,proto3" json:"codec,omitempty"`
	// Required. Audio bitrate in bits per second. Must be between 1 and
	// 10,000,000.
	BitrateBps int32 `protobuf:"varint,2,opt,name=bitrate_bps,json=bitrateBps,proto3" json:"bitrate_bps,omitempty"`
	// Number of audio channels. Must be between 1 and 6. The default is 2.
	ChannelCount int32 `protobuf:"varint,3,opt,name=channel_count,json=channelCount,proto3" json:"channel_count,omitempty"`
	// A list of channel names specifying layout of the audio channels.
	// This only affects the metadata embedded in the container headers, if
	// supported by the specified format. The default is `[fl, fr]`.
	//
	// Supported channel names:
	//
	// - `fl` - Front left channel
	// - `fr` - Front right channel
	// - `sl` - Side left channel
	// - `sr` - Side right channel
	// - `fc` - Front center channel
	// - `lfe` - Low frequency
	ChannelLayout []string `protobuf:"bytes,4,rep,name=channel_layout,json=channelLayout,proto3" json:"channel_layout,omitempty"`
	// The mapping for the input streams and audio channels.
	Mapping []*AudioStream_AudioMapping `protobuf:"bytes,5,rep,name=mapping,proto3" json:"mapping,omitempty"`
	// The audio sample rate in Hertz. The default is 48000 Hertz.
	SampleRateHertz int32 `protobuf:"varint,6,opt,name=sample_rate_hertz,json=sampleRateHertz,proto3" json:"sample_rate_hertz,omitempty"`
	// contains filtered or unexported fields
}

Audio stream resource.

func (*AudioStream) Descriptor deprecated

func (*AudioStream) Descriptor() ([]byte, []int)

Deprecated: Use AudioStream.ProtoReflect.Descriptor instead.

func (*AudioStream) GetBitrateBps

func (x *AudioStream) GetBitrateBps() int32

func (*AudioStream) GetChannelCount

func (x *AudioStream) GetChannelCount() int32

func (*AudioStream) GetChannelLayout

func (x *AudioStream) GetChannelLayout() []string

func (*AudioStream) GetCodec

func (x *AudioStream) GetCodec() string

func (*AudioStream) GetMapping

func (x *AudioStream) GetMapping() []*AudioStream_AudioMapping

func (*AudioStream) GetSampleRateHertz

func (x *AudioStream) GetSampleRateHertz() int32

func (*AudioStream) GetTransmux

func (x *AudioStream) GetTransmux() bool

func (*AudioStream) ProtoMessage

func (*AudioStream) ProtoMessage()

func (*AudioStream) ProtoReflect

func (x *AudioStream) ProtoReflect() protoreflect.Message

func (*AudioStream) Reset

func (x *AudioStream) Reset()

func (*AudioStream) String

func (x *AudioStream) String() string

type AudioStreamProperty

type AudioStreamProperty struct {

	// Index of this audio stream.
	Index int32 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"`
	// Properties of the audio format.
	AudioFormat *AudioFormat `protobuf:"bytes,2,opt,name=audio_format,json=audioFormat,proto3" json:"audio_format,omitempty"`
	// contains filtered or unexported fields
}

Properties of the audio stream.

func (*AudioStreamProperty) Descriptor deprecated

func (*AudioStreamProperty) Descriptor() ([]byte, []int)

Deprecated: Use AudioStreamProperty.ProtoReflect.Descriptor instead.

func (*AudioStreamProperty) GetAudioFormat

func (x *AudioStreamProperty) GetAudioFormat() *AudioFormat

func (*AudioStreamProperty) GetIndex

func (x *AudioStreamProperty) GetIndex() int32

func (*AudioStreamProperty) ProtoMessage

func (*AudioStreamProperty) ProtoMessage()

func (*AudioStreamProperty) ProtoReflect

func (x *AudioStreamProperty) ProtoReflect() protoreflect.Message

func (*AudioStreamProperty) Reset

func (x *AudioStreamProperty) Reset()

func (*AudioStreamProperty) String

func (x *AudioStreamProperty) String() string

type AudioStream_AudioMapping

type AudioStream_AudioMapping struct {

	// Required. The `Channel`
	// [InputAttachment.key][google.cloud.video.livestream.v1.InputAttachment.key]
	// that identifies the input that this audio mapping applies to. If an
	// active input doesn't have an audio mapping, the primary audio track in
	// the input stream will be selected.
	InputKey string `protobuf:"bytes,6,opt,name=input_key,json=inputKey,proto3" json:"input_key,omitempty"`
	// Required. The zero-based index of the track in the input stream.
	// All [mapping][google.cloud.video.livestream.v1.AudioStream.mapping]s in
	// the same [AudioStream][google.cloud.video.livestream.v1.AudioStream] must
	// have the same input track.
	InputTrack int32 `protobuf:"varint,2,opt,name=input_track,json=inputTrack,proto3" json:"input_track,omitempty"`
	// Required. The zero-based index of the channel in the input stream.
	InputChannel int32 `protobuf:"varint,3,opt,name=input_channel,json=inputChannel,proto3" json:"input_channel,omitempty"`
	// Required. The zero-based index of the channel in the output audio stream.
	// Must be consistent with the
	// [input_channel][google.cloud.video.livestream.v1.AudioStream.AudioMapping.input_channel].
	OutputChannel int32 `protobuf:"varint,4,opt,name=output_channel,json=outputChannel,proto3" json:"output_channel,omitempty"`
	// Audio volume control in dB. Negative values decrease volume,
	// positive values increase. The default is 0.
	GainDb float64 `protobuf:"fixed64,5,opt,name=gain_db,json=gainDb,proto3" json:"gain_db,omitempty"`
	// contains filtered or unexported fields
}

The mapping for the input streams and audio channels.

func (*AudioStream_AudioMapping) Descriptor deprecated

func (*AudioStream_AudioMapping) Descriptor() ([]byte, []int)

Deprecated: Use AudioStream_AudioMapping.ProtoReflect.Descriptor instead.

func (*AudioStream_AudioMapping) GetGainDb added in v1.14.0

func (x *AudioStream_AudioMapping) GetGainDb() float64

func (*AudioStream_AudioMapping) GetInputChannel

func (x *AudioStream_AudioMapping) GetInputChannel() int32

func (*AudioStream_AudioMapping) GetInputKey

func (x *AudioStream_AudioMapping) GetInputKey() string

func (*AudioStream_AudioMapping) GetInputTrack

func (x *AudioStream_AudioMapping) GetInputTrack() int32

func (*AudioStream_AudioMapping) GetOutputChannel

func (x *AudioStream_AudioMapping) GetOutputChannel() int32

func (*AudioStream_AudioMapping) ProtoMessage

func (*AudioStream_AudioMapping) ProtoMessage()

func (*AudioStream_AudioMapping) ProtoReflect

func (x *AudioStream_AudioMapping) ProtoReflect() protoreflect.Message

func (*AudioStream_AudioMapping) Reset

func (x *AudioStream_AudioMapping) Reset()

func (*AudioStream_AudioMapping) String

func (x *AudioStream_AudioMapping) String() string

type Channel

type Channel struct {

	// The resource name of the channel, in the form of:
	// `projects/{project}/locations/{location}/channels/{channelId}`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Output only. The creation time.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. The update time.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// User-defined key/value metadata.
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// 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.
	InputAttachments []*InputAttachment `protobuf:"bytes,16,rep,name=input_attachments,json=inputAttachments,proto3" json:"input_attachments,omitempty"`
	// Output only. The
	// [InputAttachment.key][google.cloud.video.livestream.v1.InputAttachment.key]
	// that serves as the current input source. The first input in the
	// [input_attachments][google.cloud.video.livestream.v1.Channel.input_attachments]
	// is the initial input source.
	ActiveInput string `protobuf:"bytes,6,opt,name=active_input,json=activeInput,proto3" json:"active_input,omitempty"`
	// Required. Information about the output (that is, the Cloud Storage bucket
	// to store the generated live stream).
	Output *Channel_Output `protobuf:"bytes,9,opt,name=output,proto3" json:"output,omitempty"`
	// List of elementary streams.
	ElementaryStreams []*ElementaryStream `protobuf:"bytes,10,rep,name=elementary_streams,json=elementaryStreams,proto3" json:"elementary_streams,omitempty"`
	// List of multiplexing settings for output streams.
	MuxStreams []*MuxStream `protobuf:"bytes,11,rep,name=mux_streams,json=muxStreams,proto3" json:"mux_streams,omitempty"`
	// List of output manifests.
	Manifests []*Manifest `protobuf:"bytes,12,rep,name=manifests,proto3" json:"manifests,omitempty"`
	// List of output sprite sheets.
	SpriteSheets []*SpriteSheet `protobuf:"bytes,13,rep,name=sprite_sheets,json=spriteSheets,proto3" json:"sprite_sheets,omitempty"`
	// Output only. State of the streaming operation.
	StreamingState Channel_StreamingState `` /* 166-byte string literal not displayed */
	// Output only. A description of the reason for the streaming error. This
	// property is always present when
	// [streaming_state][google.cloud.video.livestream.v1.Channel.streaming_state]
	// is
	// [STREAMING_ERROR][google.cloud.video.livestream.v1.Channel.StreamingState.STREAMING_ERROR].
	StreamingError *status.Status `protobuf:"bytes,18,opt,name=streaming_error,json=streamingError,proto3" json:"streaming_error,omitempty"`
	// Configuration of platform logs for this channel.
	LogConfig *LogConfig `protobuf:"bytes,19,opt,name=log_config,json=logConfig,proto3" json:"log_config,omitempty"`
	// Configuration of timecode for this channel.
	TimecodeConfig *TimecodeConfig `protobuf:"bytes,21,opt,name=timecode_config,json=timecodeConfig,proto3" json:"timecode_config,omitempty"`
	// 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.
	Encryptions []*Encryption `protobuf:"bytes,24,rep,name=encryptions,proto3" json:"encryptions,omitempty"`
	// The configuration for input sources defined in
	// [input_attachments][google.cloud.video.livestream.v1.Channel.input_attachments].
	InputConfig *InputConfig `protobuf:"bytes,25,opt,name=input_config,json=inputConfig,proto3" json:"input_config,omitempty"`
	// contains filtered or unexported fields
}

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.

func (*Channel) Descriptor deprecated

func (*Channel) Descriptor() ([]byte, []int)

Deprecated: Use Channel.ProtoReflect.Descriptor instead.

func (*Channel) GetActiveInput

func (x *Channel) GetActiveInput() string

func (*Channel) GetCreateTime

func (x *Channel) GetCreateTime() *timestamppb.Timestamp

func (*Channel) GetElementaryStreams

func (x *Channel) GetElementaryStreams() []*ElementaryStream

func (*Channel) GetEncryptions added in v1.14.0

func (x *Channel) GetEncryptions() []*Encryption

func (*Channel) GetInputAttachments

func (x *Channel) GetInputAttachments() []*InputAttachment

func (*Channel) GetInputConfig added in v1.14.0

func (x *Channel) GetInputConfig() *InputConfig

func (*Channel) GetLabels

func (x *Channel) GetLabels() map[string]string

func (*Channel) GetLogConfig

func (x *Channel) GetLogConfig() *LogConfig

func (*Channel) GetManifests

func (x *Channel) GetManifests() []*Manifest

func (*Channel) GetMuxStreams

func (x *Channel) GetMuxStreams() []*MuxStream

func (*Channel) GetName

func (x *Channel) GetName() string

func (*Channel) GetOutput

func (x *Channel) GetOutput() *Channel_Output

func (*Channel) GetSpriteSheets

func (x *Channel) GetSpriteSheets() []*SpriteSheet

func (*Channel) GetStreamingError

func (x *Channel) GetStreamingError() *status.Status

func (*Channel) GetStreamingState

func (x *Channel) GetStreamingState() Channel_StreamingState

func (*Channel) GetTimecodeConfig added in v1.14.0

func (x *Channel) GetTimecodeConfig() *TimecodeConfig

func (*Channel) GetUpdateTime

func (x *Channel) GetUpdateTime() *timestamppb.Timestamp

func (*Channel) ProtoMessage

func (*Channel) ProtoMessage()

func (*Channel) ProtoReflect

func (x *Channel) ProtoReflect() protoreflect.Message

func (*Channel) Reset

func (x *Channel) Reset()

func (*Channel) String

func (x *Channel) String() string

type ChannelOperationResponse

type ChannelOperationResponse struct {
	// contains filtered or unexported fields
}

Response message for Start/Stop Channel long-running operations.

func (*ChannelOperationResponse) Descriptor deprecated

func (*ChannelOperationResponse) Descriptor() ([]byte, []int)

Deprecated: Use ChannelOperationResponse.ProtoReflect.Descriptor instead.

func (*ChannelOperationResponse) ProtoMessage

func (*ChannelOperationResponse) ProtoMessage()

func (*ChannelOperationResponse) ProtoReflect

func (x *ChannelOperationResponse) ProtoReflect() protoreflect.Message

func (*ChannelOperationResponse) Reset

func (x *ChannelOperationResponse) Reset()

func (*ChannelOperationResponse) String

func (x *ChannelOperationResponse) String() string

type Channel_Output

type Channel_Output struct {

	// URI for the output file(s). For example, `gs://my-bucket/outputs/`.
	Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"`
	// contains filtered or unexported fields
}

Location of output file(s) in a Google Cloud Storage bucket.

func (*Channel_Output) Descriptor deprecated

func (*Channel_Output) Descriptor() ([]byte, []int)

Deprecated: Use Channel_Output.ProtoReflect.Descriptor instead.

func (*Channel_Output) GetUri

func (x *Channel_Output) GetUri() string

func (*Channel_Output) ProtoMessage

func (*Channel_Output) ProtoMessage()

func (*Channel_Output) ProtoReflect

func (x *Channel_Output) ProtoReflect() protoreflect.Message

func (*Channel_Output) Reset

func (x *Channel_Output) Reset()

func (*Channel_Output) String

func (x *Channel_Output) String() string

type Channel_StreamingState

type Channel_StreamingState int32

State of streaming operation that the channel is running.

const (
	// Streaming state is not specified.
	Channel_STREAMING_STATE_UNSPECIFIED Channel_StreamingState = 0
	// Channel is getting the input stream, generating the live streams to the
	// specified output location.
	Channel_STREAMING Channel_StreamingState = 1
	// Channel is waiting for the input stream through the input.
	Channel_AWAITING_INPUT Channel_StreamingState = 2
	// Channel is running, but has trouble publishing the live streams onto the
	// specified output location (for example, the specified Cloud Storage
	// bucket is not writable).
	Channel_STREAMING_ERROR Channel_StreamingState = 4
	// Channel is generating live streams with no input stream. Live streams are
	// filled out with black screen, while input stream is missing.
	// Not supported yet.
	Channel_STREAMING_NO_INPUT Channel_StreamingState = 5
	// Channel is stopped, finishing live streams.
	Channel_STOPPED Channel_StreamingState = 6
	// Channel is starting.
	Channel_STARTING Channel_StreamingState = 7
	// Channel is stopping.
	Channel_STOPPING Channel_StreamingState = 8
)

func (Channel_StreamingState) Descriptor

func (Channel_StreamingState) Enum

func (Channel_StreamingState) EnumDescriptor deprecated

func (Channel_StreamingState) EnumDescriptor() ([]byte, []int)

Deprecated: Use Channel_StreamingState.Descriptor instead.

func (Channel_StreamingState) Number

func (Channel_StreamingState) String

func (x Channel_StreamingState) String() string

func (Channel_StreamingState) Type

type CreateAssetRequest added in v1.19.0

type CreateAssetRequest struct {

	// Required. The parent location for the resource, in the form of:
	// `projects/{project}/locations/{location}`.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. The asset resource to be created.
	Asset *Asset `protobuf:"bytes,2,opt,name=asset,proto3" json:"asset,omitempty"`
	// Required. The ID of the asset resource to be created.
	// This value must be 1-63 characters, begin and end with `[a-z0-9]`,
	// could contain dashes (-) in between.
	AssetId string `protobuf:"bytes,3,opt,name=asset_id,json=assetId,proto3" json:"asset_id,omitempty"`
	// A request ID to identify requests. Specify a unique request ID
	// so that if you must retry your request, the server will know to ignore
	// the request if it has already been completed. The server will guarantee
	// that for at least 60 minutes since the first request.
	//
	// For example, consider a situation where you make an initial request and the
	// request times out. If you make the request again with the same request ID,
	// the server can check if original operation with the same request ID was
	// received, and if so, will ignore the second request. This prevents clients
	// from accidentally creating duplicate commitments.
	//
	// The request ID must be a valid UUID with the exception that zero UUID is
	// not supported `(00000000-0000-0000-0000-000000000000)`.
	RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// contains filtered or unexported fields
}

Request message for "LivestreamService.CreateAsset".

func (*CreateAssetRequest) Descriptor deprecated added in v1.19.0

func (*CreateAssetRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateAssetRequest.ProtoReflect.Descriptor instead.

func (*CreateAssetRequest) GetAsset added in v1.19.0

func (x *CreateAssetRequest) GetAsset() *Asset

func (*CreateAssetRequest) GetAssetId added in v1.19.0

func (x *CreateAssetRequest) GetAssetId() string

func (*CreateAssetRequest) GetParent added in v1.19.0

func (x *CreateAssetRequest) GetParent() string

func (*CreateAssetRequest) GetRequestId added in v1.19.0

func (x *CreateAssetRequest) GetRequestId() string

func (*CreateAssetRequest) ProtoMessage added in v1.19.0

func (*CreateAssetRequest) ProtoMessage()

func (*CreateAssetRequest) ProtoReflect added in v1.19.0

func (x *CreateAssetRequest) ProtoReflect() protoreflect.Message

func (*CreateAssetRequest) Reset added in v1.19.0

func (x *CreateAssetRequest) Reset()

func (*CreateAssetRequest) String added in v1.19.0

func (x *CreateAssetRequest) String() string

type CreateChannelRequest

type CreateChannelRequest struct {

	// Required. The parent location for the resource, in the form of:
	// `projects/{project}/locations/{location}`.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. The channel resource to be created.
	Channel *Channel `protobuf:"bytes,2,opt,name=channel,proto3" json:"channel,omitempty"`
	// Required. The ID of the channel resource to be created.
	// This value must be 1-63 characters, begin and end with `[a-z0-9]`,
	// could contain dashes (-) in between.
	ChannelId string `protobuf:"bytes,3,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
	// A request ID to identify requests. Specify a unique request ID
	// so that if you must retry your request, the server will know to ignore
	// the request if it has already been completed. The server will guarantee
	// that for at least 60 minutes since the first request.
	//
	// For example, consider a situation where you make an initial request and the
	// request times out. If you make the request again with the same request ID,
	// the server can check if original operation with the same request ID was
	// received, and if so, will ignore the second request. This prevents clients
	// from accidentally creating duplicate commitments.
	//
	// The request ID must be a valid UUID with the exception that zero UUID is
	// not supported `(00000000-0000-0000-0000-000000000000)`.
	RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// contains filtered or unexported fields
}

Request message for "LivestreamService.CreateChannel".

func (*CreateChannelRequest) Descriptor deprecated

func (*CreateChannelRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateChannelRequest.ProtoReflect.Descriptor instead.

func (*CreateChannelRequest) GetChannel

func (x *CreateChannelRequest) GetChannel() *Channel

func (*CreateChannelRequest) GetChannelId

func (x *CreateChannelRequest) GetChannelId() string

func (*CreateChannelRequest) GetParent

func (x *CreateChannelRequest) GetParent() string

func (*CreateChannelRequest) GetRequestId

func (x *CreateChannelRequest) GetRequestId() string

func (*CreateChannelRequest) ProtoMessage

func (*CreateChannelRequest) ProtoMessage()

func (*CreateChannelRequest) ProtoReflect

func (x *CreateChannelRequest) ProtoReflect() protoreflect.Message

func (*CreateChannelRequest) Reset

func (x *CreateChannelRequest) Reset()

func (*CreateChannelRequest) String

func (x *CreateChannelRequest) String() string

type CreateEventRequest

type CreateEventRequest struct {

	// Required. The parent channel for the resource, in the form of:
	// `projects/{project}/locations/{location}/channels/{channelId}`.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. The event resource to be created.
	Event *Event `protobuf:"bytes,2,opt,name=event,proto3" json:"event,omitempty"`
	// Required. The ID of the event resource to be created.
	// This value must be 1-63 characters, begin and end with `[a-z0-9]`,
	// could contain dashes (-) in between.
	EventId string `protobuf:"bytes,3,opt,name=event_id,json=eventId,proto3" json:"event_id,omitempty"`
	// A request ID to identify requests. Specify a unique request ID
	// so that if you must retry your request, the server will know to ignore
	// the request if it has already been completed. The server will guarantee
	// that for at least 60 minutes since the first request.
	//
	// For example, consider a situation where you make an initial request and the
	// request times out. If you make the request again with the same request ID,
	// the server can check if original operation with the same request ID was
	// received, and if so, will ignore the second request. This prevents clients
	// from accidentally creating duplicate commitments.
	//
	// The request ID must be a valid UUID with the exception that zero UUID is
	// not supported `(00000000-0000-0000-0000-000000000000)`.
	RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// contains filtered or unexported fields
}

Request message for "LivestreamService.CreateEvent".

func (*CreateEventRequest) Descriptor deprecated

func (*CreateEventRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateEventRequest.ProtoReflect.Descriptor instead.

func (*CreateEventRequest) GetEvent

func (x *CreateEventRequest) GetEvent() *Event

func (*CreateEventRequest) GetEventId

func (x *CreateEventRequest) GetEventId() string

func (*CreateEventRequest) GetParent

func (x *CreateEventRequest) GetParent() string

func (*CreateEventRequest) GetRequestId

func (x *CreateEventRequest) GetRequestId() string

func (*CreateEventRequest) ProtoMessage

func (*CreateEventRequest) ProtoMessage()

func (*CreateEventRequest) ProtoReflect

func (x *CreateEventRequest) ProtoReflect() protoreflect.Message

func (*CreateEventRequest) Reset

func (x *CreateEventRequest) Reset()

func (*CreateEventRequest) String

func (x *CreateEventRequest) String() string

type CreateInputRequest

type CreateInputRequest struct {

	// Required. The parent location for the resource, in the form of:
	// `projects/{project}/locations/{location}`.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. The input resource to be created.
	Input *Input `protobuf:"bytes,2,opt,name=input,proto3" json:"input,omitempty"`
	// Required. The ID of the input resource to be created.
	// This value must be 1-63 characters, begin and end with `[a-z0-9]`,
	// could contain dashes (-) in between.
	InputId string `protobuf:"bytes,3,opt,name=input_id,json=inputId,proto3" json:"input_id,omitempty"`
	// A request ID to identify requests. Specify a unique request ID
	// so that if you must retry your request, the server will know to ignore
	// the request if it has already been completed. The server will guarantee
	// that for at least 60 minutes since the first request.
	//
	// For example, consider a situation where you make an initial request and the
	// request times out. If you make the request again with the same request ID,
	// the server can check if original operation with the same request ID was
	// received, and if so, will ignore the second request. This prevents clients
	// from accidentally creating duplicate commitments.
	//
	// The request ID must be a valid UUID with the exception that zero UUID is
	// not supported `(00000000-0000-0000-0000-000000000000)`.
	RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// contains filtered or unexported fields
}

Request message for "LivestreamService.CreateInput".

func (*CreateInputRequest) Descriptor deprecated

func (*CreateInputRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateInputRequest.ProtoReflect.Descriptor instead.

func (*CreateInputRequest) GetInput

func (x *CreateInputRequest) GetInput() *Input

func (*CreateInputRequest) GetInputId

func (x *CreateInputRequest) GetInputId() string

func (*CreateInputRequest) GetParent

func (x *CreateInputRequest) GetParent() string

func (*CreateInputRequest) GetRequestId

func (x *CreateInputRequest) GetRequestId() string

func (*CreateInputRequest) ProtoMessage

func (*CreateInputRequest) ProtoMessage()

func (*CreateInputRequest) ProtoReflect

func (x *CreateInputRequest) ProtoReflect() protoreflect.Message

func (*CreateInputRequest) Reset

func (x *CreateInputRequest) Reset()

func (*CreateInputRequest) String

func (x *CreateInputRequest) String() string

type DeleteAssetRequest added in v1.19.0

type DeleteAssetRequest struct {

	// Required. The name of the asset resource, in the form of:
	// `projects/{project}/locations/{location}/assets/{assetId}`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// A request ID to identify requests. Specify a unique request ID
	// so that if you must retry your request, the server will know to ignore
	// the request if it has already been completed. The server will guarantee
	// that for at least 60 minutes after the first request.
	//
	// For example, consider a situation where you make an initial request and the
	// request times out. If you make the request again with the same request ID,
	// the server can check if original operation with the same request ID was
	// received, and if so, will ignore the second request. This prevents clients
	// from accidentally creating duplicate commitments.
	//
	// The request ID must be a valid UUID with the exception that zero UUID is
	// not supported `(00000000-0000-0000-0000-000000000000)`.
	RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// contains filtered or unexported fields
}

Request message for "LivestreamService.DeleteAsset".

func (*DeleteAssetRequest) Descriptor deprecated added in v1.19.0

func (*DeleteAssetRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteAssetRequest.ProtoReflect.Descriptor instead.

func (*DeleteAssetRequest) GetName added in v1.19.0

func (x *DeleteAssetRequest) GetName() string

func (*DeleteAssetRequest) GetRequestId added in v1.19.0

func (x *DeleteAssetRequest) GetRequestId() string

func (*DeleteAssetRequest) ProtoMessage added in v1.19.0

func (*DeleteAssetRequest) ProtoMessage()

func (*DeleteAssetRequest) ProtoReflect added in v1.19.0

func (x *DeleteAssetRequest) ProtoReflect() protoreflect.Message

func (*DeleteAssetRequest) Reset added in v1.19.0

func (x *DeleteAssetRequest) Reset()

func (*DeleteAssetRequest) String added in v1.19.0

func (x *DeleteAssetRequest) String() string

type DeleteChannelRequest

type DeleteChannelRequest struct {

	// Required. The name of the channel resource, in the form of:
	// `projects/{project}/locations/{location}/channels/{channelId}`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// A request ID to identify requests. Specify a unique request ID
	// so that if you must retry your request, the server will know to ignore
	// the request if it has already been completed. The server will guarantee
	// that for at least 60 minutes after the first request.
	//
	// For example, consider a situation where you make an initial request and the
	// request times out. If you make the request again with the same request ID,
	// the server can check if original operation with the same request ID was
	// received, and if so, will ignore the second request. This prevents clients
	// from accidentally creating duplicate commitments.
	//
	// The request ID must be a valid UUID with the exception that zero UUID is
	// not supported `(00000000-0000-0000-0000-000000000000)`.
	RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// If the `force` field is set to the default value of `false`, you must
	// delete all of a channel's events before you can delete the channel itself.
	// If the field is set to `true`, requests to delete a channel also delete
	// associated channel events.
	Force bool `protobuf:"varint,3,opt,name=force,proto3" json:"force,omitempty"`
	// contains filtered or unexported fields
}

Request message for "LivestreamService.DeleteChannel".

func (*DeleteChannelRequest) Descriptor deprecated

func (*DeleteChannelRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteChannelRequest.ProtoReflect.Descriptor instead.

func (*DeleteChannelRequest) GetForce

func (x *DeleteChannelRequest) GetForce() bool

func (*DeleteChannelRequest) GetName

func (x *DeleteChannelRequest) GetName() string

func (*DeleteChannelRequest) GetRequestId

func (x *DeleteChannelRequest) GetRequestId() string

func (*DeleteChannelRequest) ProtoMessage

func (*DeleteChannelRequest) ProtoMessage()

func (*DeleteChannelRequest) ProtoReflect

func (x *DeleteChannelRequest) ProtoReflect() protoreflect.Message

func (*DeleteChannelRequest) Reset

func (x *DeleteChannelRequest) Reset()

func (*DeleteChannelRequest) String

func (x *DeleteChannelRequest) String() string

type DeleteEventRequest

type DeleteEventRequest struct {

	// Required. The name of the event resource, in the form of:
	// `projects/{project}/locations/{location}/channels/{channelId}/events/{eventId}`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// A request ID to identify requests. Specify a unique request ID
	// so that if you must retry your request, the server will know to ignore
	// the request if it has already been completed. The server will guarantee
	// that for at least 60 minutes since the first request.
	//
	// For example, consider a situation where you make an initial request and the
	// request times out. If you make the request again with the same request ID,
	// the server can check if original operation with the same request ID was
	// received, and if so, will ignore the second request. This prevents clients
	// from accidentally creating duplicate commitments.
	//
	// The request ID must be a valid UUID with the exception that zero UUID is
	// not supported `(00000000-0000-0000-0000-000000000000)`.
	RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// contains filtered or unexported fields
}

Request message for "LivestreamService.DeleteEvent".

func (*DeleteEventRequest) Descriptor deprecated

func (*DeleteEventRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteEventRequest.ProtoReflect.Descriptor instead.

func (*DeleteEventRequest) GetName

func (x *DeleteEventRequest) GetName() string

func (*DeleteEventRequest) GetRequestId

func (x *DeleteEventRequest) GetRequestId() string

func (*DeleteEventRequest) ProtoMessage

func (*DeleteEventRequest) ProtoMessage()

func (*DeleteEventRequest) ProtoReflect

func (x *DeleteEventRequest) ProtoReflect() protoreflect.Message

func (*DeleteEventRequest) Reset

func (x *DeleteEventRequest) Reset()

func (*DeleteEventRequest) String

func (x *DeleteEventRequest) String() string

type DeleteInputRequest

type DeleteInputRequest struct {

	// Required. The name of the input resource, in the form of:
	// `projects/{project}/locations/{location}/inputs/{inputId}`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// A request ID to identify requests. Specify a unique request ID
	// so that if you must retry your request, the server will know to ignore
	// the request if it has already been completed. The server will guarantee
	// that for at least 60 minutes since the first request.
	//
	// For example, consider a situation where you make an initial request and the
	// request times out. If you make the request again with the same request ID,
	// the server can check if original operation with the same request ID was
	// received, and if so, will ignore the second request. This prevents clients
	// from accidentally creating duplicate commitments.
	//
	// The request ID must be a valid UUID with the exception that zero UUID is
	// not supported `(00000000-0000-0000-0000-000000000000)`.
	RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// contains filtered or unexported fields
}

Request message for "LivestreamService.DeleteInput".

func (*DeleteInputRequest) Descriptor deprecated

func (*DeleteInputRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteInputRequest.ProtoReflect.Descriptor instead.

func (*DeleteInputRequest) GetName

func (x *DeleteInputRequest) GetName() string

func (*DeleteInputRequest) GetRequestId

func (x *DeleteInputRequest) GetRequestId() string

func (*DeleteInputRequest) ProtoMessage

func (*DeleteInputRequest) ProtoMessage()

func (*DeleteInputRequest) ProtoReflect

func (x *DeleteInputRequest) ProtoReflect() protoreflect.Message

func (*DeleteInputRequest) Reset

func (x *DeleteInputRequest) Reset()

func (*DeleteInputRequest) String

func (x *DeleteInputRequest) String() string

type ElementaryStream

type ElementaryStream struct {

	// A unique key for this elementary stream.
	Key string `protobuf:"bytes,4,opt,name=key,proto3" json:"key,omitempty"`
	// Required. Encoding of an audio, video, or text track.
	//
	// Types that are assignable to ElementaryStream:
	//
	//	*ElementaryStream_VideoStream
	//	*ElementaryStream_AudioStream
	//	*ElementaryStream_TextStream
	ElementaryStream isElementaryStream_ElementaryStream `protobuf_oneof:"elementary_stream"`
	// contains filtered or unexported fields
}

Encoding of an input element such as an audio, video, or text track. Elementary streams must be packaged before mapping and sharing between different output formats.

func (*ElementaryStream) Descriptor deprecated

func (*ElementaryStream) Descriptor() ([]byte, []int)

Deprecated: Use ElementaryStream.ProtoReflect.Descriptor instead.

func (*ElementaryStream) GetAudioStream

func (x *ElementaryStream) GetAudioStream() *AudioStream

func (*ElementaryStream) GetElementaryStream

func (m *ElementaryStream) GetElementaryStream() isElementaryStream_ElementaryStream

func (*ElementaryStream) GetKey

func (x *ElementaryStream) GetKey() string

func (*ElementaryStream) GetTextStream

func (x *ElementaryStream) GetTextStream() *TextStream

func (*ElementaryStream) GetVideoStream

func (x *ElementaryStream) GetVideoStream() *VideoStream

func (*ElementaryStream) ProtoMessage

func (*ElementaryStream) ProtoMessage()

func (*ElementaryStream) ProtoReflect

func (x *ElementaryStream) ProtoReflect() protoreflect.Message

func (*ElementaryStream) Reset

func (x *ElementaryStream) Reset()

func (*ElementaryStream) String

func (x *ElementaryStream) String() string

type ElementaryStream_AudioStream

type ElementaryStream_AudioStream struct {
	// Encoding of an audio stream.
	AudioStream *AudioStream `protobuf:"bytes,2,opt,name=audio_stream,json=audioStream,proto3,oneof"`
}

type ElementaryStream_TextStream

type ElementaryStream_TextStream struct {
	// Encoding of a text stream. For example, closed captions or subtitles.
	TextStream *TextStream `protobuf:"bytes,3,opt,name=text_stream,json=textStream,proto3,oneof"`
}

type ElementaryStream_VideoStream

type ElementaryStream_VideoStream struct {
	// Encoding of a video stream.
	VideoStream *VideoStream `protobuf:"bytes,1,opt,name=video_stream,json=videoStream,proto3,oneof"`
}

type Encryption added in v1.14.0

type Encryption struct {

	// Required. Identifier for this set of encryption options.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Defines where content keys are stored.
	//
	// Types that are assignable to SecretSource:
	//
	//	*Encryption_SecretManagerKeySource
	SecretSource isEncryption_SecretSource `protobuf_oneof:"secret_source"`
	// Required. Configuration for DRM systems.
	DrmSystems *Encryption_DrmSystems `protobuf:"bytes,3,opt,name=drm_systems,json=drmSystems,proto3" json:"drm_systems,omitempty"`
	// Encryption modes for HLS and MPEG-Dash.
	//
	// Types that are assignable to EncryptionMode:
	//
	//	*Encryption_Aes128
	//	*Encryption_SampleAes
	//	*Encryption_MpegCenc
	EncryptionMode isEncryption_EncryptionMode `protobuf_oneof:"encryption_mode"`
	// contains filtered or unexported fields
}

Encryption settings.

func (*Encryption) Descriptor deprecated added in v1.14.0

func (*Encryption) Descriptor() ([]byte, []int)

Deprecated: Use Encryption.ProtoReflect.Descriptor instead.

func (*Encryption) GetAes128 added in v1.14.0

func (x *Encryption) GetAes128() *Encryption_Aes128Encryption

func (*Encryption) GetDrmSystems added in v1.14.0

func (x *Encryption) GetDrmSystems() *Encryption_DrmSystems

func (*Encryption) GetEncryptionMode added in v1.14.0

func (m *Encryption) GetEncryptionMode() isEncryption_EncryptionMode

func (*Encryption) GetId added in v1.14.0

func (x *Encryption) GetId() string

func (*Encryption) GetMpegCenc added in v1.14.0

func (x *Encryption) GetMpegCenc() *Encryption_MpegCommonEncryption

func (*Encryption) GetSampleAes added in v1.14.0

func (x *Encryption) GetSampleAes() *Encryption_SampleAesEncryption

func (*Encryption) GetSecretManagerKeySource added in v1.14.0

func (x *Encryption) GetSecretManagerKeySource() *Encryption_SecretManagerSource

func (*Encryption) GetSecretSource added in v1.14.0

func (m *Encryption) GetSecretSource() isEncryption_SecretSource

func (*Encryption) ProtoMessage added in v1.14.0

func (*Encryption) ProtoMessage()

func (*Encryption) ProtoReflect added in v1.14.0

func (x *Encryption) ProtoReflect() protoreflect.Message

func (*Encryption) Reset added in v1.14.0

func (x *Encryption) Reset()

func (*Encryption) String added in v1.14.0

func (x *Encryption) String() string

type Encryption_Aes128 added in v1.14.0

type Encryption_Aes128 struct {
	// Configuration for HLS AES-128 encryption.
	Aes128 *Encryption_Aes128Encryption `protobuf:"bytes,4,opt,name=aes128,proto3,oneof"`
}

type Encryption_Aes128Encryption added in v1.14.0

type Encryption_Aes128Encryption struct {
	// contains filtered or unexported fields
}

Configuration for HLS AES-128 encryption.

func (*Encryption_Aes128Encryption) Descriptor deprecated added in v1.14.0

func (*Encryption_Aes128Encryption) Descriptor() ([]byte, []int)

Deprecated: Use Encryption_Aes128Encryption.ProtoReflect.Descriptor instead.

func (*Encryption_Aes128Encryption) ProtoMessage added in v1.14.0

func (*Encryption_Aes128Encryption) ProtoMessage()

func (*Encryption_Aes128Encryption) ProtoReflect added in v1.14.0

func (*Encryption_Aes128Encryption) Reset added in v1.14.0

func (x *Encryption_Aes128Encryption) Reset()

func (*Encryption_Aes128Encryption) String added in v1.14.0

func (x *Encryption_Aes128Encryption) String() string

type Encryption_Clearkey added in v1.14.0

type Encryption_Clearkey struct {
	// contains filtered or unexported fields
}

Clearkey configuration.

func (*Encryption_Clearkey) Descriptor deprecated added in v1.14.0

func (*Encryption_Clearkey) Descriptor() ([]byte, []int)

Deprecated: Use Encryption_Clearkey.ProtoReflect.Descriptor instead.

func (*Encryption_Clearkey) ProtoMessage added in v1.14.0

func (*Encryption_Clearkey) ProtoMessage()

func (*Encryption_Clearkey) ProtoReflect added in v1.14.0

func (x *Encryption_Clearkey) ProtoReflect() protoreflect.Message

func (*Encryption_Clearkey) Reset added in v1.14.0

func (x *Encryption_Clearkey) Reset()

func (*Encryption_Clearkey) String added in v1.14.0

func (x *Encryption_Clearkey) String() string

type Encryption_DrmSystems added in v1.14.0

type Encryption_DrmSystems struct {

	// Widevine configuration.
	Widevine *Encryption_Widevine `protobuf:"bytes,1,opt,name=widevine,proto3" json:"widevine,omitempty"`
	// Fairplay configuration.
	Fairplay *Encryption_Fairplay `protobuf:"bytes,2,opt,name=fairplay,proto3" json:"fairplay,omitempty"`
	// Playready configuration.
	Playready *Encryption_Playready `protobuf:"bytes,3,opt,name=playready,proto3" json:"playready,omitempty"`
	// Clearkey configuration.
	Clearkey *Encryption_Clearkey `protobuf:"bytes,4,opt,name=clearkey,proto3" json:"clearkey,omitempty"`
	// contains filtered or unexported fields
}

Defines configuration for DRM systems in use. If a field is omitted, that DRM system will be considered to be disabled.

func (*Encryption_DrmSystems) Descriptor deprecated added in v1.14.0

func (*Encryption_DrmSystems) Descriptor() ([]byte, []int)

Deprecated: Use Encryption_DrmSystems.ProtoReflect.Descriptor instead.

func (*Encryption_DrmSystems) GetClearkey added in v1.14.0

func (x *Encryption_DrmSystems) GetClearkey() *Encryption_Clearkey

func (*Encryption_DrmSystems) GetFairplay added in v1.14.0

func (x *Encryption_DrmSystems) GetFairplay() *Encryption_Fairplay

func (*Encryption_DrmSystems) GetPlayready added in v1.14.0

func (x *Encryption_DrmSystems) GetPlayready() *Encryption_Playready

func (*Encryption_DrmSystems) GetWidevine added in v1.14.0

func (x *Encryption_DrmSystems) GetWidevine() *Encryption_Widevine

func (*Encryption_DrmSystems) ProtoMessage added in v1.14.0

func (*Encryption_DrmSystems) ProtoMessage()

func (*Encryption_DrmSystems) ProtoReflect added in v1.14.0

func (x *Encryption_DrmSystems) ProtoReflect() protoreflect.Message

func (*Encryption_DrmSystems) Reset added in v1.14.0

func (x *Encryption_DrmSystems) Reset()

func (*Encryption_DrmSystems) String added in v1.14.0

func (x *Encryption_DrmSystems) String() string

type Encryption_Fairplay added in v1.14.0

type Encryption_Fairplay struct {
	// contains filtered or unexported fields
}

Fairplay configuration.

func (*Encryption_Fairplay) Descriptor deprecated added in v1.14.0

func (*Encryption_Fairplay) Descriptor() ([]byte, []int)

Deprecated: Use Encryption_Fairplay.ProtoReflect.Descriptor instead.

func (*Encryption_Fairplay) ProtoMessage added in v1.14.0

func (*Encryption_Fairplay) ProtoMessage()

func (*Encryption_Fairplay) ProtoReflect added in v1.14.0

func (x *Encryption_Fairplay) ProtoReflect() protoreflect.Message

func (*Encryption_Fairplay) Reset added in v1.14.0

func (x *Encryption_Fairplay) Reset()

func (*Encryption_Fairplay) String added in v1.14.0

func (x *Encryption_Fairplay) String() string

type Encryption_MpegCenc added in v1.14.0

type Encryption_MpegCenc struct {
	// Configuration for MPEG-Dash Common Encryption (MPEG-CENC).
	MpegCenc *Encryption_MpegCommonEncryption `protobuf:"bytes,6,opt,name=mpeg_cenc,json=mpegCenc,proto3,oneof"`
}

type Encryption_MpegCommonEncryption added in v1.14.0

type Encryption_MpegCommonEncryption struct {

	// Required. Specify the encryption scheme, supported schemes:
	// - `cenc` - AES-CTR subsample
	// - `cbcs`- AES-CBC subsample pattern
	Scheme string `protobuf:"bytes,1,opt,name=scheme,proto3" json:"scheme,omitempty"`
	// contains filtered or unexported fields
}

Configuration for MPEG-Dash Common Encryption (MPEG-CENC).

func (*Encryption_MpegCommonEncryption) Descriptor deprecated added in v1.14.0

func (*Encryption_MpegCommonEncryption) Descriptor() ([]byte, []int)

Deprecated: Use Encryption_MpegCommonEncryption.ProtoReflect.Descriptor instead.

func (*Encryption_MpegCommonEncryption) GetScheme added in v1.14.0

func (x *Encryption_MpegCommonEncryption) GetScheme() string

func (*Encryption_MpegCommonEncryption) ProtoMessage added in v1.14.0

func (*Encryption_MpegCommonEncryption) ProtoMessage()

func (*Encryption_MpegCommonEncryption) ProtoReflect added in v1.14.0

func (*Encryption_MpegCommonEncryption) Reset added in v1.14.0

func (*Encryption_MpegCommonEncryption) String added in v1.14.0

type Encryption_Playready added in v1.14.0

type Encryption_Playready struct {
	// contains filtered or unexported fields
}

Playready configuration.

func (*Encryption_Playready) Descriptor deprecated added in v1.14.0

func (*Encryption_Playready) Descriptor() ([]byte, []int)

Deprecated: Use Encryption_Playready.ProtoReflect.Descriptor instead.

func (*Encryption_Playready) ProtoMessage added in v1.14.0

func (*Encryption_Playready) ProtoMessage()

func (*Encryption_Playready) ProtoReflect added in v1.14.0

func (x *Encryption_Playready) ProtoReflect() protoreflect.Message

func (*Encryption_Playready) Reset added in v1.14.0

func (x *Encryption_Playready) Reset()

func (*Encryption_Playready) String added in v1.14.0

func (x *Encryption_Playready) String() string

type Encryption_SampleAes added in v1.14.0

type Encryption_SampleAes struct {
	// Configuration for HLS SAMPLE-AES encryption.
	SampleAes *Encryption_SampleAesEncryption `protobuf:"bytes,5,opt,name=sample_aes,json=sampleAes,proto3,oneof"`
}

type Encryption_SampleAesEncryption added in v1.14.0

type Encryption_SampleAesEncryption struct {
	// contains filtered or unexported fields
}

Configuration for HLS SAMPLE-AES encryption.

func (*Encryption_SampleAesEncryption) Descriptor deprecated added in v1.14.0

func (*Encryption_SampleAesEncryption) Descriptor() ([]byte, []int)

Deprecated: Use Encryption_SampleAesEncryption.ProtoReflect.Descriptor instead.

func (*Encryption_SampleAesEncryption) ProtoMessage added in v1.14.0

func (*Encryption_SampleAesEncryption) ProtoMessage()

func (*Encryption_SampleAesEncryption) ProtoReflect added in v1.14.0

func (*Encryption_SampleAesEncryption) Reset added in v1.14.0

func (x *Encryption_SampleAesEncryption) Reset()

func (*Encryption_SampleAesEncryption) String added in v1.14.0

type Encryption_SecretManagerKeySource added in v1.14.0

type Encryption_SecretManagerKeySource struct {
	// For keys stored in Google Secret Manager.
	SecretManagerKeySource *Encryption_SecretManagerSource `protobuf:"bytes,7,opt,name=secret_manager_key_source,json=secretManagerKeySource,proto3,oneof"`
}

type Encryption_SecretManagerSource added in v1.14.0

type Encryption_SecretManagerSource struct {

	// Required. The name of the Secret Version containing the encryption key.
	// `projects/{project}/secrets/{secret_id}/versions/{version_number}`
	SecretVersion string `protobuf:"bytes,1,opt,name=secret_version,json=secretVersion,proto3" json:"secret_version,omitempty"`
	// contains filtered or unexported fields
}

Configuration for secrets stored in Google Secret Manager.

func (*Encryption_SecretManagerSource) Descriptor deprecated added in v1.14.0

func (*Encryption_SecretManagerSource) Descriptor() ([]byte, []int)

Deprecated: Use Encryption_SecretManagerSource.ProtoReflect.Descriptor instead.

func (*Encryption_SecretManagerSource) GetSecretVersion added in v1.14.0

func (x *Encryption_SecretManagerSource) GetSecretVersion() string

func (*Encryption_SecretManagerSource) ProtoMessage added in v1.14.0

func (*Encryption_SecretManagerSource) ProtoMessage()

func (*Encryption_SecretManagerSource) ProtoReflect added in v1.14.0

func (*Encryption_SecretManagerSource) Reset added in v1.14.0

func (x *Encryption_SecretManagerSource) Reset()

func (*Encryption_SecretManagerSource) String added in v1.14.0

type Encryption_Widevine added in v1.14.0

type Encryption_Widevine struct {
	// contains filtered or unexported fields
}

Widevine configuration.

func (*Encryption_Widevine) Descriptor deprecated added in v1.14.0

func (*Encryption_Widevine) Descriptor() ([]byte, []int)

Deprecated: Use Encryption_Widevine.ProtoReflect.Descriptor instead.

func (*Encryption_Widevine) ProtoMessage added in v1.14.0

func (*Encryption_Widevine) ProtoMessage()

func (*Encryption_Widevine) ProtoReflect added in v1.14.0

func (x *Encryption_Widevine) ProtoReflect() protoreflect.Message

func (*Encryption_Widevine) Reset added in v1.14.0

func (x *Encryption_Widevine) Reset()

func (*Encryption_Widevine) String added in v1.14.0

func (x *Encryption_Widevine) String() string

type Event

type Event struct {

	// The resource name of the event, in the form of:
	// `projects/{project}/locations/{location}/channels/{channelId}/events/{eventId}`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Output only. The creation time.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. The update time.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// User-defined key/value metadata.
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// Required. Operation to be executed by this event.
	//
	// Types that are assignable to Task:
	//
	//	*Event_InputSwitch
	//	*Event_AdBreak
	//	*Event_ReturnToProgram
	//	*Event_Slate
	//	*Event_Mute
	//	*Event_Unmute
	Task isEvent_Task `protobuf_oneof:"task"`
	// When this field is set to true, the event will be executed at the earliest
	// time that the server can schedule the event and
	// [execution_time][google.cloud.video.livestream.v1.Event.execution_time]
	// will be populated with the time that the server actually schedules the
	// event.
	ExecuteNow bool `protobuf:"varint,9,opt,name=execute_now,json=executeNow,proto3" json:"execute_now,omitempty"`
	// The time to execute the event. If you set
	// [execute_now][google.cloud.video.livestream.v1.Event.execute_now] to
	// `true`, then do not set this field in the `CreateEvent` request. In
	// this case, the server schedules the event and populates this field. If you
	// set [execute_now][google.cloud.video.livestream.v1.Event.execute_now] to
	// `false`, then you must set this field to at least 10 seconds in the future
	// or else the event can't be created.
	ExecutionTime *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=execution_time,json=executionTime,proto3" json:"execution_time,omitempty"`
	// Output only. The state of the event.
	State Event_State `protobuf:"varint,11,opt,name=state,proto3,enum=google.cloud.video.livestream.v1.Event_State" json:"state,omitempty"`
	// Output only. An error object that describes the reason for the failure.
	// This property is always present when `state` is `FAILED`.
	Error *status.Status `protobuf:"bytes,12,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

Event is a sub-resource of a channel, which can be scheduled by the user to execute operations on a channel resource without having to stop the channel.

func (*Event) Descriptor deprecated

func (*Event) Descriptor() ([]byte, []int)

Deprecated: Use Event.ProtoReflect.Descriptor instead.

func (*Event) GetAdBreak

func (x *Event) GetAdBreak() *Event_AdBreakTask

func (*Event) GetCreateTime

func (x *Event) GetCreateTime() *timestamppb.Timestamp

func (*Event) GetError

func (x *Event) GetError() *status.Status

func (*Event) GetExecuteNow

func (x *Event) GetExecuteNow() bool

func (*Event) GetExecutionTime

func (x *Event) GetExecutionTime() *timestamppb.Timestamp

func (*Event) GetInputSwitch added in v1.14.0

func (x *Event) GetInputSwitch() *Event_InputSwitchTask

func (*Event) GetLabels

func (x *Event) GetLabels() map[string]string

func (*Event) GetMute added in v1.14.0

func (x *Event) GetMute() *Event_MuteTask

func (*Event) GetName

func (x *Event) GetName() string

func (*Event) GetReturnToProgram added in v1.14.0

func (x *Event) GetReturnToProgram() *Event_ReturnToProgramTask

func (*Event) GetSlate added in v1.19.0

func (x *Event) GetSlate() *Event_SlateTask

func (*Event) GetState

func (x *Event) GetState() Event_State

func (*Event) GetTask

func (m *Event) GetTask() isEvent_Task

func (*Event) GetUnmute added in v1.14.0

func (x *Event) GetUnmute() *Event_UnmuteTask

func (*Event) GetUpdateTime

func (x *Event) GetUpdateTime() *timestamppb.Timestamp

func (*Event) ProtoMessage

func (*Event) ProtoMessage()

func (*Event) ProtoReflect

func (x *Event) ProtoReflect() protoreflect.Message

func (*Event) Reset

func (x *Event) Reset()

func (*Event) String

func (x *Event) String() string

type Event_AdBreak

type Event_AdBreak struct {
	// Inserts a new ad opportunity.
	AdBreak *Event_AdBreakTask `protobuf:"bytes,6,opt,name=ad_break,json=adBreak,proto3,oneof"`
}

type Event_AdBreakTask

type Event_AdBreakTask struct {

	// Duration of an ad opportunity. Must be greater than 0.
	Duration *durationpb.Duration `protobuf:"bytes,1,opt,name=duration,proto3" json:"duration,omitempty"`
	// contains filtered or unexported fields
}

Inserts a new ad opportunity.

func (*Event_AdBreakTask) Descriptor deprecated

func (*Event_AdBreakTask) Descriptor() ([]byte, []int)

Deprecated: Use Event_AdBreakTask.ProtoReflect.Descriptor instead.

func (*Event_AdBreakTask) GetDuration

func (x *Event_AdBreakTask) GetDuration() *durationpb.Duration

func (*Event_AdBreakTask) ProtoMessage

func (*Event_AdBreakTask) ProtoMessage()

func (*Event_AdBreakTask) ProtoReflect

func (x *Event_AdBreakTask) ProtoReflect() protoreflect.Message

func (*Event_AdBreakTask) Reset

func (x *Event_AdBreakTask) Reset()

func (*Event_AdBreakTask) String

func (x *Event_AdBreakTask) String() string

type Event_InputSwitch added in v1.14.0

type Event_InputSwitch struct {
	// Switches to another input stream.
	InputSwitch *Event_InputSwitchTask `protobuf:"bytes,5,opt,name=input_switch,json=inputSwitch,proto3,oneof"`
}

type Event_InputSwitchTask added in v1.14.0

type Event_InputSwitchTask struct {

	// The
	// [InputAttachment.key][google.cloud.video.livestream.v1.InputAttachment.key]
	// of the input to switch to.
	InputKey string `protobuf:"bytes,1,opt,name=input_key,json=inputKey,proto3" json:"input_key,omitempty"`
	// contains filtered or unexported fields
}

Switches to another input stream. Automatic failover is then disabled.

func (*Event_InputSwitchTask) Descriptor deprecated added in v1.14.0

func (*Event_InputSwitchTask) Descriptor() ([]byte, []int)

Deprecated: Use Event_InputSwitchTask.ProtoReflect.Descriptor instead.

func (*Event_InputSwitchTask) GetInputKey added in v1.14.0

func (x *Event_InputSwitchTask) GetInputKey() string

func (*Event_InputSwitchTask) ProtoMessage added in v1.14.0

func (*Event_InputSwitchTask) ProtoMessage()

func (*Event_InputSwitchTask) ProtoReflect added in v1.14.0

func (x *Event_InputSwitchTask) ProtoReflect() protoreflect.Message

func (*Event_InputSwitchTask) Reset added in v1.14.0

func (x *Event_InputSwitchTask) Reset()

func (*Event_InputSwitchTask) String added in v1.14.0

func (x *Event_InputSwitchTask) String() string

type Event_Mute added in v1.14.0

type Event_Mute struct {
	// Mutes the stream.
	Mute *Event_MuteTask `protobuf:"bytes,15,opt,name=mute,proto3,oneof"`
}

type Event_MuteTask added in v1.14.0

type Event_MuteTask struct {

	// Duration for which the stream should be muted. If omitted, the stream
	// will be muted until an UnmuteTask event is sent.
	Duration *durationpb.Duration `protobuf:"bytes,1,opt,name=duration,proto3" json:"duration,omitempty"`
	// contains filtered or unexported fields
}

Mutes the stream.

func (*Event_MuteTask) Descriptor deprecated added in v1.14.0

func (*Event_MuteTask) Descriptor() ([]byte, []int)

Deprecated: Use Event_MuteTask.ProtoReflect.Descriptor instead.

func (*Event_MuteTask) GetDuration added in v1.14.0

func (x *Event_MuteTask) GetDuration() *durationpb.Duration

func (*Event_MuteTask) ProtoMessage added in v1.14.0

func (*Event_MuteTask) ProtoMessage()

func (*Event_MuteTask) ProtoReflect added in v1.14.0

func (x *Event_MuteTask) ProtoReflect() protoreflect.Message

func (*Event_MuteTask) Reset added in v1.14.0

func (x *Event_MuteTask) Reset()

func (*Event_MuteTask) String added in v1.14.0

func (x *Event_MuteTask) String() string

type Event_ReturnToProgram added in v1.14.0

type Event_ReturnToProgram struct {
	// Stops any running ad break.
	ReturnToProgram *Event_ReturnToProgramTask `protobuf:"bytes,13,opt,name=return_to_program,json=returnToProgram,proto3,oneof"`
}

type Event_ReturnToProgramTask added in v1.14.0

type Event_ReturnToProgramTask struct {
	// contains filtered or unexported fields
}

Stops any events which are currently running. This only applies to events with a duration.

func (*Event_ReturnToProgramTask) Descriptor deprecated added in v1.14.0

func (*Event_ReturnToProgramTask) Descriptor() ([]byte, []int)

Deprecated: Use Event_ReturnToProgramTask.ProtoReflect.Descriptor instead.

func (*Event_ReturnToProgramTask) ProtoMessage added in v1.14.0

func (*Event_ReturnToProgramTask) ProtoMessage()

func (*Event_ReturnToProgramTask) ProtoReflect added in v1.14.0

func (*Event_ReturnToProgramTask) Reset added in v1.14.0

func (x *Event_ReturnToProgramTask) Reset()

func (*Event_ReturnToProgramTask) String added in v1.14.0

func (x *Event_ReturnToProgramTask) String() string

type Event_Slate added in v1.19.0

type Event_Slate struct {
	// Inserts a slate.
	Slate *Event_SlateTask `protobuf:"bytes,14,opt,name=slate,proto3,oneof"`
}

type Event_SlateTask added in v1.19.0

type Event_SlateTask struct {

	// Optional. Duration of the slate. Must be greater than 0 if specified.
	// Omit this field for a long running slate.
	Duration *durationpb.Duration `protobuf:"bytes,1,opt,name=duration,proto3" json:"duration,omitempty"`
	// Slate asset to use for the duration. If its duration is less than the
	// duration of the SlateTask, then it will be looped. The slate must be
	// represented in the form of:
	// `projects/{project}/locations/{location}/assets/{assetId}`.
	Asset string `protobuf:"bytes,2,opt,name=asset,proto3" json:"asset,omitempty"`
	// contains filtered or unexported fields
}

Inserts a slate.

func (*Event_SlateTask) Descriptor deprecated added in v1.19.0

func (*Event_SlateTask) Descriptor() ([]byte, []int)

Deprecated: Use Event_SlateTask.ProtoReflect.Descriptor instead.

func (*Event_SlateTask) GetAsset added in v1.19.0

func (x *Event_SlateTask) GetAsset() string

func (*Event_SlateTask) GetDuration added in v1.19.0

func (x *Event_SlateTask) GetDuration() *durationpb.Duration

func (*Event_SlateTask) ProtoMessage added in v1.19.0

func (*Event_SlateTask) ProtoMessage()

func (*Event_SlateTask) ProtoReflect added in v1.19.0

func (x *Event_SlateTask) ProtoReflect() protoreflect.Message

func (*Event_SlateTask) Reset added in v1.19.0

func (x *Event_SlateTask) Reset()

func (*Event_SlateTask) String added in v1.19.0

func (x *Event_SlateTask) String() string

type Event_State

type Event_State int32

State of the event

const (
	// Event state is not specified.
	Event_STATE_UNSPECIFIED Event_State = 0
	// Event is scheduled but not executed yet.
	Event_SCHEDULED Event_State = 1
	// Event is being executed.
	Event_RUNNING Event_State = 2
	// Event has been successfully executed.
	Event_SUCCEEDED Event_State = 3
	// Event fails to be executed.
	Event_FAILED Event_State = 4
	// Event has been created but not scheduled yet.
	Event_PENDING Event_State = 5
	// Event was stopped before running for its full duration.
	Event_STOPPED Event_State = 6
)

func (Event_State) Descriptor

func (Event_State) Enum

func (x Event_State) Enum() *Event_State

func (Event_State) EnumDescriptor deprecated

func (Event_State) EnumDescriptor() ([]byte, []int)

Deprecated: Use Event_State.Descriptor instead.

func (Event_State) Number

func (x Event_State) Number() protoreflect.EnumNumber

func (Event_State) String

func (x Event_State) String() string

func (Event_State) Type

type Event_Unmute added in v1.14.0

type Event_Unmute struct {
	// Unmutes the stream.
	Unmute *Event_UnmuteTask `protobuf:"bytes,16,opt,name=unmute,proto3,oneof"`
}

type Event_UnmuteTask added in v1.14.0

type Event_UnmuteTask struct {
	// contains filtered or unexported fields
}

Unmutes the stream. The task will fail if the stream is not currently muted.

func (*Event_UnmuteTask) Descriptor deprecated added in v1.14.0

func (*Event_UnmuteTask) Descriptor() ([]byte, []int)

Deprecated: Use Event_UnmuteTask.ProtoReflect.Descriptor instead.

func (*Event_UnmuteTask) ProtoMessage added in v1.14.0

func (*Event_UnmuteTask) ProtoMessage()

func (*Event_UnmuteTask) ProtoReflect added in v1.14.0

func (x *Event_UnmuteTask) ProtoReflect() protoreflect.Message

func (*Event_UnmuteTask) Reset added in v1.14.0

func (x *Event_UnmuteTask) Reset()

func (*Event_UnmuteTask) String added in v1.14.0

func (x *Event_UnmuteTask) String() string

type GetAssetRequest added in v1.19.0

type GetAssetRequest struct {

	// Required. Name of the resource, in the following form:
	// `projects/{project}/locations/{location}/assets/{asset}`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request message for "LivestreamService.GetAsset".

func (*GetAssetRequest) Descriptor deprecated added in v1.19.0

func (*GetAssetRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetAssetRequest.ProtoReflect.Descriptor instead.

func (*GetAssetRequest) GetName added in v1.19.0

func (x *GetAssetRequest) GetName() string

func (*GetAssetRequest) ProtoMessage added in v1.19.0

func (*GetAssetRequest) ProtoMessage()

func (*GetAssetRequest) ProtoReflect added in v1.19.0

func (x *GetAssetRequest) ProtoReflect() protoreflect.Message

func (*GetAssetRequest) Reset added in v1.19.0

func (x *GetAssetRequest) Reset()

func (*GetAssetRequest) String added in v1.19.0

func (x *GetAssetRequest) String() string

type GetChannelRequest

type GetChannelRequest struct {

	// Required. The name of the channel resource, in the form of:
	// `projects/{project}/locations/{location}/channels/{channelId}`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request message for "LivestreamService.GetChannel".

func (*GetChannelRequest) Descriptor deprecated

func (*GetChannelRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetChannelRequest.ProtoReflect.Descriptor instead.

func (*GetChannelRequest) GetName

func (x *GetChannelRequest) GetName() string

func (*GetChannelRequest) ProtoMessage

func (*GetChannelRequest) ProtoMessage()

func (*GetChannelRequest) ProtoReflect

func (x *GetChannelRequest) ProtoReflect() protoreflect.Message

func (*GetChannelRequest) Reset

func (x *GetChannelRequest) Reset()

func (*GetChannelRequest) String

func (x *GetChannelRequest) String() string

type GetEventRequest

type GetEventRequest struct {

	// Required. The name of the event resource, in the form of:
	// `projects/{project}/locations/{location}/channels/{channelId}/events/{eventId}`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request message for "LivestreamService.GetEvent".

func (*GetEventRequest) Descriptor deprecated

func (*GetEventRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetEventRequest.ProtoReflect.Descriptor instead.

func (*GetEventRequest) GetName

func (x *GetEventRequest) GetName() string

func (*GetEventRequest) ProtoMessage

func (*GetEventRequest) ProtoMessage()

func (*GetEventRequest) ProtoReflect

func (x *GetEventRequest) ProtoReflect() protoreflect.Message

func (*GetEventRequest) Reset

func (x *GetEventRequest) Reset()

func (*GetEventRequest) String

func (x *GetEventRequest) String() string

type GetInputRequest

type GetInputRequest struct {

	// Required. The name of the input resource, in the form of:
	// `projects/{project}/locations/{location}/inputs/{inputId}`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request message for "LivestreamService.GetInput".

func (*GetInputRequest) Descriptor deprecated

func (*GetInputRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetInputRequest.ProtoReflect.Descriptor instead.

func (*GetInputRequest) GetName

func (x *GetInputRequest) GetName() string

func (*GetInputRequest) ProtoMessage

func (*GetInputRequest) ProtoMessage()

func (*GetInputRequest) ProtoReflect

func (x *GetInputRequest) ProtoReflect() protoreflect.Message

func (*GetInputRequest) Reset

func (x *GetInputRequest) Reset()

func (*GetInputRequest) String

func (x *GetInputRequest) String() string

type GetPoolRequest added in v1.19.0

type GetPoolRequest struct {

	// Required. The name of the pool resource, in the form of:
	// `projects/{project}/locations/{location}/pools/{poolId}`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request message for "LivestreamService.GetPool".

func (*GetPoolRequest) Descriptor deprecated added in v1.19.0

func (*GetPoolRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetPoolRequest.ProtoReflect.Descriptor instead.

func (*GetPoolRequest) GetName added in v1.19.0

func (x *GetPoolRequest) GetName() string

func (*GetPoolRequest) ProtoMessage added in v1.19.0

func (*GetPoolRequest) ProtoMessage()

func (*GetPoolRequest) ProtoReflect added in v1.19.0

func (x *GetPoolRequest) ProtoReflect() protoreflect.Message

func (*GetPoolRequest) Reset added in v1.19.0

func (x *GetPoolRequest) Reset()

func (*GetPoolRequest) String added in v1.19.0

func (x *GetPoolRequest) String() string

type Input

type Input struct {

	// The resource name of the input, in the form of:
	// `projects/{project}/locations/{location}/inputs/{inputId}`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Output only. The creation time.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. The update time.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// User-defined key/value metadata.
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// Source type.
	Type Input_Type `protobuf:"varint,5,opt,name=type,proto3,enum=google.cloud.video.livestream.v1.Input_Type" json:"type,omitempty"`
	// Tier defines the maximum input specification that is accepted by the
	// video pipeline. The billing is charged based on the tier specified here.
	// See [Pricing](https://cloud.google.com/livestream/pricing) for more detail.
	// The default is `HD`.
	Tier Input_Tier `protobuf:"varint,14,opt,name=tier,proto3,enum=google.cloud.video.livestream.v1.Input_Tier" json:"tier,omitempty"`
	// Output only. URI to push the input stream to.
	// Its format depends on the input
	// [type][google.cloud.video.livestream.v1.Input.type], for example:
	//
	// *  `RTMP_PUSH`: `rtmp://1.2.3.4/live/{STREAM-ID}`
	// *  `SRT_PUSH`: `srt://1.2.3.4:4201?streamid={STREAM-ID}`
	Uri string `protobuf:"bytes,6,opt,name=uri,proto3" json:"uri,omitempty"`
	// Preprocessing configurations.
	PreprocessingConfig *PreprocessingConfig `protobuf:"bytes,9,opt,name=preprocessing_config,json=preprocessingConfig,proto3" json:"preprocessing_config,omitempty"`
	// Security rule for access control.
	SecurityRules *Input_SecurityRule `protobuf:"bytes,12,opt,name=security_rules,json=securityRules,proto3" json:"security_rules,omitempty"`
	// Output only. The information for the input stream. This field will be
	// present only when this input receives the input stream.
	InputStreamProperty *InputStreamProperty `protobuf:"bytes,15,opt,name=input_stream_property,json=inputStreamProperty,proto3" json:"input_stream_property,omitempty"`
	// contains filtered or unexported fields
}

Input resource represents the endpoint from which the channel ingests the input stream.

func (*Input) Descriptor deprecated

func (*Input) Descriptor() ([]byte, []int)

Deprecated: Use Input.ProtoReflect.Descriptor instead.

func (*Input) GetCreateTime

func (x *Input) GetCreateTime() *timestamppb.Timestamp

func (*Input) GetInputStreamProperty

func (x *Input) GetInputStreamProperty() *InputStreamProperty

func (*Input) GetLabels

func (x *Input) GetLabels() map[string]string

func (*Input) GetName

func (x *Input) GetName() string

func (*Input) GetPreprocessingConfig

func (x *Input) GetPreprocessingConfig() *PreprocessingConfig

func (*Input) GetSecurityRules

func (x *Input) GetSecurityRules() *Input_SecurityRule

func (*Input) GetTier

func (x *Input) GetTier() Input_Tier

func (*Input) GetType

func (x *Input) GetType() Input_Type

func (*Input) GetUpdateTime

func (x *Input) GetUpdateTime() *timestamppb.Timestamp

func (*Input) GetUri

func (x *Input) GetUri() string

func (*Input) ProtoMessage

func (*Input) ProtoMessage()

func (*Input) ProtoReflect

func (x *Input) ProtoReflect() protoreflect.Message

func (*Input) Reset

func (x *Input) Reset()

func (*Input) String

func (x *Input) String() string

type InputAttachment

type InputAttachment struct {

	// A unique key for this input attachment.
	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// The resource name of an existing input, in the form of:
	// `projects/{project}/locations/{location}/inputs/{inputId}`.
	Input string `protobuf:"bytes,2,opt,name=input,proto3" json:"input,omitempty"`
	// Automatic failover configurations.
	AutomaticFailover *InputAttachment_AutomaticFailover `protobuf:"bytes,3,opt,name=automatic_failover,json=automaticFailover,proto3" json:"automatic_failover,omitempty"`
	// contains filtered or unexported fields
}

A group of information for attaching an input resource to this channel.

func (*InputAttachment) Descriptor deprecated

func (*InputAttachment) Descriptor() ([]byte, []int)

Deprecated: Use InputAttachment.ProtoReflect.Descriptor instead.

func (*InputAttachment) GetAutomaticFailover

func (x *InputAttachment) GetAutomaticFailover() *InputAttachment_AutomaticFailover

func (*InputAttachment) GetInput

func (x *InputAttachment) GetInput() string

func (*InputAttachment) GetKey

func (x *InputAttachment) GetKey() string

func (*InputAttachment) ProtoMessage

func (*InputAttachment) ProtoMessage()

func (*InputAttachment) ProtoReflect

func (x *InputAttachment) ProtoReflect() protoreflect.Message

func (*InputAttachment) Reset

func (x *InputAttachment) Reset()

func (*InputAttachment) String

func (x *InputAttachment) String() string

type InputAttachment_AutomaticFailover

type InputAttachment_AutomaticFailover struct {

	// The
	// [InputAttachment.key][google.cloud.video.livestream.v1.InputAttachment.key]s
	// of inputs to failover to when this input is disconnected. Currently, only
	// up to one backup input is supported.
	InputKeys []string `protobuf:"bytes,1,rep,name=input_keys,json=inputKeys,proto3" json:"input_keys,omitempty"`
	// contains filtered or unexported fields
}

Configurations to follow when automatic failover happens.

func (*InputAttachment_AutomaticFailover) Descriptor deprecated

func (*InputAttachment_AutomaticFailover) Descriptor() ([]byte, []int)

Deprecated: Use InputAttachment_AutomaticFailover.ProtoReflect.Descriptor instead.

func (*InputAttachment_AutomaticFailover) GetInputKeys

func (x *InputAttachment_AutomaticFailover) GetInputKeys() []string

func (*InputAttachment_AutomaticFailover) ProtoMessage

func (*InputAttachment_AutomaticFailover) ProtoMessage()

func (*InputAttachment_AutomaticFailover) ProtoReflect

func (*InputAttachment_AutomaticFailover) Reset

func (*InputAttachment_AutomaticFailover) String

type InputConfig added in v1.14.0

type InputConfig struct {

	// Input switch mode. Default mode is `FAILOVER_PREFER_PRIMARY`.
	InputSwitchMode InputConfig_InputSwitchMode `` /* 175-byte string literal not displayed */
	// contains filtered or unexported fields
}

Configuration for the input sources of a channel.

func (*InputConfig) Descriptor deprecated added in v1.14.0

func (*InputConfig) Descriptor() ([]byte, []int)

Deprecated: Use InputConfig.ProtoReflect.Descriptor instead.

func (*InputConfig) GetInputSwitchMode added in v1.14.0

func (x *InputConfig) GetInputSwitchMode() InputConfig_InputSwitchMode

func (*InputConfig) ProtoMessage added in v1.14.0

func (*InputConfig) ProtoMessage()

func (*InputConfig) ProtoReflect added in v1.14.0

func (x *InputConfig) ProtoReflect() protoreflect.Message

func (*InputConfig) Reset added in v1.14.0

func (x *InputConfig) Reset()

func (*InputConfig) String added in v1.14.0

func (x *InputConfig) String() string

type InputConfig_InputSwitchMode added in v1.14.0

type InputConfig_InputSwitchMode int32

Input switch mode.

const (
	// The input switch mode is not specified.
	InputConfig_INPUT_SWITCH_MODE_UNSPECIFIED InputConfig_InputSwitchMode = 0
	// Automatic failover is enabled. The primary input stream is always
	// preferred over its backup input streams configured using the
	// [AutomaticFailover][google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover]
	// field.
	InputConfig_FAILOVER_PREFER_PRIMARY InputConfig_InputSwitchMode = 1
	// Automatic failover is disabled. You must use the
	// [inputSwitch][google.cloud.video.livestream.v1.Event.input_switch] event
	// to switch the active input source for the channel to stream from. When
	// this mode is chosen, the
	// [AutomaticFailover][google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover]
	// field is ignored.
	InputConfig_MANUAL InputConfig_InputSwitchMode = 3
)

func (InputConfig_InputSwitchMode) Descriptor added in v1.14.0

func (InputConfig_InputSwitchMode) Enum added in v1.14.0

func (InputConfig_InputSwitchMode) EnumDescriptor deprecated added in v1.14.0

func (InputConfig_InputSwitchMode) EnumDescriptor() ([]byte, []int)

Deprecated: Use InputConfig_InputSwitchMode.Descriptor instead.

func (InputConfig_InputSwitchMode) Number added in v1.14.0

func (InputConfig_InputSwitchMode) String added in v1.14.0

func (InputConfig_InputSwitchMode) Type added in v1.14.0

type InputStreamProperty

type InputStreamProperty struct {

	// The time that the current input stream is accepted and the connection is
	// established.
	LastEstablishTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=last_establish_time,json=lastEstablishTime,proto3" json:"last_establish_time,omitempty"`
	// Properties of the video streams.
	VideoStreams []*VideoStreamProperty `protobuf:"bytes,2,rep,name=video_streams,json=videoStreams,proto3" json:"video_streams,omitempty"`
	// Properties of the audio streams.
	AudioStreams []*AudioStreamProperty `protobuf:"bytes,3,rep,name=audio_streams,json=audioStreams,proto3" json:"audio_streams,omitempty"`
	// contains filtered or unexported fields
}

Properties of the input stream.

func (*InputStreamProperty) Descriptor deprecated

func (*InputStreamProperty) Descriptor() ([]byte, []int)

Deprecated: Use InputStreamProperty.ProtoReflect.Descriptor instead.

func (*InputStreamProperty) GetAudioStreams

func (x *InputStreamProperty) GetAudioStreams() []*AudioStreamProperty

func (*InputStreamProperty) GetLastEstablishTime

func (x *InputStreamProperty) GetLastEstablishTime() *timestamppb.Timestamp

func (*InputStreamProperty) GetVideoStreams

func (x *InputStreamProperty) GetVideoStreams() []*VideoStreamProperty

func (*InputStreamProperty) ProtoMessage

func (*InputStreamProperty) ProtoMessage()

func (*InputStreamProperty) ProtoReflect

func (x *InputStreamProperty) ProtoReflect() protoreflect.Message

func (*InputStreamProperty) Reset

func (x *InputStreamProperty) Reset()

func (*InputStreamProperty) String

func (x *InputStreamProperty) String() string

type Input_SecurityRule

type Input_SecurityRule struct {

	// At least one ip range must match unless none specified. The IP range is
	// defined by CIDR block: for example, `192.0.1.0/24` for a range and
	// `192.0.1.0/32` for a single IP address.
	IpRanges []string `protobuf:"bytes,1,rep,name=ip_ranges,json=ipRanges,proto3" json:"ip_ranges,omitempty"`
	// contains filtered or unexported fields
}

Security rules for access control. Each field represents one security rule. Only when the source of the input stream satisfies all the fields, this input stream can be accepted.

func (*Input_SecurityRule) Descriptor deprecated

func (*Input_SecurityRule) Descriptor() ([]byte, []int)

Deprecated: Use Input_SecurityRule.ProtoReflect.Descriptor instead.

func (*Input_SecurityRule) GetIpRanges

func (x *Input_SecurityRule) GetIpRanges() []string

func (*Input_SecurityRule) ProtoMessage

func (*Input_SecurityRule) ProtoMessage()

func (*Input_SecurityRule) ProtoReflect

func (x *Input_SecurityRule) ProtoReflect() protoreflect.Message

func (*Input_SecurityRule) Reset

func (x *Input_SecurityRule) Reset()

func (*Input_SecurityRule) String

func (x *Input_SecurityRule) String() string

type Input_Tier

type Input_Tier int32

Tier of the input specification.

const (
	// Tier is not specified.
	Input_TIER_UNSPECIFIED Input_Tier = 0
	// Resolution < 1280x720. Bitrate <= 6 Mbps. FPS <= 60.
	Input_SD Input_Tier = 1
	// Resolution <= 1920x1080. Bitrate <= 25 Mbps. FPS <= 60.
	Input_HD Input_Tier = 2
	// Resolution <= 4096x2160. Not supported yet.
	Input_UHD Input_Tier = 3
)

func (Input_Tier) Descriptor

func (Input_Tier) Descriptor() protoreflect.EnumDescriptor

func (Input_Tier) Enum

func (x Input_Tier) Enum() *Input_Tier

func (Input_Tier) EnumDescriptor deprecated

func (Input_Tier) EnumDescriptor() ([]byte, []int)

Deprecated: Use Input_Tier.Descriptor instead.

func (Input_Tier) Number

func (x Input_Tier) Number() protoreflect.EnumNumber

func (Input_Tier) String

func (x Input_Tier) String() string

func (Input_Tier) Type

type Input_Type

type Input_Type int32

The type of the input.

const (
	// Input type is not specified.
	Input_TYPE_UNSPECIFIED Input_Type = 0
	// Input will take an rtmp input stream.
	Input_RTMP_PUSH Input_Type = 1
	// Input will take an srt (Secure Reliable Transport) input stream.
	Input_SRT_PUSH Input_Type = 2
)

func (Input_Type) Descriptor

func (Input_Type) Descriptor() protoreflect.EnumDescriptor

func (Input_Type) Enum

func (x Input_Type) Enum() *Input_Type

func (Input_Type) EnumDescriptor deprecated

func (Input_Type) EnumDescriptor() ([]byte, []int)

Deprecated: Use Input_Type.Descriptor instead.

func (Input_Type) Number

func (x Input_Type) Number() protoreflect.EnumNumber

func (Input_Type) String

func (x Input_Type) String() string

func (Input_Type) Type

type ListAssetsRequest added in v1.19.0

type ListAssetsRequest struct {

	// Required. The parent location for the resource, in the form of:
	// `projects/{project}/locations/{location}`.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Requested page size. Server may return fewer items than requested.
	// If unspecified, server will pick an appropriate default.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// A token identifying a page of results the server should return.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// Filtering results
	Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
	// Hint for how to order the results
	OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
	// contains filtered or unexported fields
}

Request message for "LivestreamService.ListAssets".

func (*ListAssetsRequest) Descriptor deprecated added in v1.19.0

func (*ListAssetsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListAssetsRequest.ProtoReflect.Descriptor instead.

func (*ListAssetsRequest) GetFilter added in v1.19.0

func (x *ListAssetsRequest) GetFilter() string

func (*ListAssetsRequest) GetOrderBy added in v1.19.0

func (x *ListAssetsRequest) GetOrderBy() string

func (*ListAssetsRequest) GetPageSize added in v1.19.0

func (x *ListAssetsRequest) GetPageSize() int32

func (*ListAssetsRequest) GetPageToken added in v1.19.0

func (x *ListAssetsRequest) GetPageToken() string

func (*ListAssetsRequest) GetParent added in v1.19.0

func (x *ListAssetsRequest) GetParent() string

func (*ListAssetsRequest) ProtoMessage added in v1.19.0

func (*ListAssetsRequest) ProtoMessage()

func (*ListAssetsRequest) ProtoReflect added in v1.19.0

func (x *ListAssetsRequest) ProtoReflect() protoreflect.Message

func (*ListAssetsRequest) Reset added in v1.19.0

func (x *ListAssetsRequest) Reset()

func (*ListAssetsRequest) String added in v1.19.0

func (x *ListAssetsRequest) String() string

type ListAssetsResponse added in v1.19.0

type ListAssetsResponse struct {

	// The list of Assets
	Assets []*Asset `protobuf:"bytes,1,rep,name=assets,proto3" json:"assets,omitempty"`
	// The next_page_token value returned from a previous List request, if any.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// Locations that could not be reached.
	Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
	// contains filtered or unexported fields
}

Response message for "LivestreamService.ListAssets".

func (*ListAssetsResponse) Descriptor deprecated added in v1.19.0

func (*ListAssetsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListAssetsResponse.ProtoReflect.Descriptor instead.

func (*ListAssetsResponse) GetAssets added in v1.19.0

func (x *ListAssetsResponse) GetAssets() []*Asset

func (*ListAssetsResponse) GetNextPageToken added in v1.19.0

func (x *ListAssetsResponse) GetNextPageToken() string

func (*ListAssetsResponse) GetUnreachable added in v1.19.0

func (x *ListAssetsResponse) GetUnreachable() []string

func (*ListAssetsResponse) ProtoMessage added in v1.19.0

func (*ListAssetsResponse) ProtoMessage()

func (*ListAssetsResponse) ProtoReflect added in v1.19.0

func (x *ListAssetsResponse) ProtoReflect() protoreflect.Message

func (*ListAssetsResponse) Reset added in v1.19.0

func (x *ListAssetsResponse) Reset()

func (*ListAssetsResponse) String added in v1.19.0

func (x *ListAssetsResponse) String() string

type ListChannelsRequest

type ListChannelsRequest struct {

	// Required. The parent location for the resource, in the form of:
	// `projects/{project}/locations/{location}`.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// The maximum number of items to return. If unspecified, server
	// will pick an appropriate default. Server may return fewer items than
	// requested. A caller should only rely on response's
	// [next_page_token][google.cloud.video.livestream.v1.ListChannelsResponse.next_page_token]
	// to determine if there are more items left to be queried.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// The next_page_token value returned from a previous List request, if any.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// The filter to apply to list results.
	Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
	// Specifies the ordering of results following syntax at
	// https://cloud.google.com/apis/design/design_patterns#sorting_order.
	OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
	// contains filtered or unexported fields
}

Request message for "LivestreamService.ListChannels".

func (*ListChannelsRequest) Descriptor deprecated

func (*ListChannelsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListChannelsRequest.ProtoReflect.Descriptor instead.

func (*ListChannelsRequest) GetFilter

func (x *ListChannelsRequest) GetFilter() string

func (*ListChannelsRequest) GetOrderBy

func (x *ListChannelsRequest) GetOrderBy() string

func (*ListChannelsRequest) GetPageSize

func (x *ListChannelsRequest) GetPageSize() int32

func (*ListChannelsRequest) GetPageToken

func (x *ListChannelsRequest) GetPageToken() string

func (*ListChannelsRequest) GetParent

func (x *ListChannelsRequest) GetParent() string

func (*ListChannelsRequest) ProtoMessage

func (*ListChannelsRequest) ProtoMessage()

func (*ListChannelsRequest) ProtoReflect

func (x *ListChannelsRequest) ProtoReflect() protoreflect.Message

func (*ListChannelsRequest) Reset

func (x *ListChannelsRequest) Reset()

func (*ListChannelsRequest) String

func (x *ListChannelsRequest) String() string

type ListChannelsResponse

type ListChannelsResponse struct {

	// A list of channels.
	Channels []*Channel `protobuf:"bytes,1,rep,name=channels,proto3" json:"channels,omitempty"`
	// Token to retrieve the next page of results, or empty if there are no more
	// results in the list.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// Locations that could not be reached.
	Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
	// contains filtered or unexported fields
}

Response message for "LivestreamService.ListChannels".

func (*ListChannelsResponse) Descriptor deprecated

func (*ListChannelsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListChannelsResponse.ProtoReflect.Descriptor instead.

func (*ListChannelsResponse) GetChannels

func (x *ListChannelsResponse) GetChannels() []*Channel

func (*ListChannelsResponse) GetNextPageToken

func (x *ListChannelsResponse) GetNextPageToken() string

func (*ListChannelsResponse) GetUnreachable

func (x *ListChannelsResponse) GetUnreachable() []string

func (*ListChannelsResponse) ProtoMessage

func (*ListChannelsResponse) ProtoMessage()

func (*ListChannelsResponse) ProtoReflect

func (x *ListChannelsResponse) ProtoReflect() protoreflect.Message

func (*ListChannelsResponse) Reset

func (x *ListChannelsResponse) Reset()

func (*ListChannelsResponse) String

func (x *ListChannelsResponse) String() string

type ListEventsRequest

type ListEventsRequest struct {

	// Required. The parent channel for the resource, in the form of:
	// `projects/{project}/locations/{location}/channels/{channelId}`.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// The maximum number of items to return. If unspecified, server
	// will pick an appropriate default. Server may return fewer items than
	// requested. A caller should only rely on response's
	// [next_page_token][google.cloud.video.livestream.v1.ListEventsResponse.next_page_token]
	// to determine if there are more items left to be queried.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// The next_page_token value returned from a previous List request, if any.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// The filter to apply to list results.
	Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
	// Specifies the ordering of results following syntax at
	// https://cloud.google.com/apis/design/design_patterns#sorting_order.
	OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
	// contains filtered or unexported fields
}

Request message for "LivestreamService.ListEvents".

func (*ListEventsRequest) Descriptor deprecated

func (*ListEventsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListEventsRequest.ProtoReflect.Descriptor instead.

func (*ListEventsRequest) GetFilter

func (x *ListEventsRequest) GetFilter() string

func (*ListEventsRequest) GetOrderBy

func (x *ListEventsRequest) GetOrderBy() string

func (*ListEventsRequest) GetPageSize

func (x *ListEventsRequest) GetPageSize() int32

func (*ListEventsRequest) GetPageToken

func (x *ListEventsRequest) GetPageToken() string

func (*ListEventsRequest) GetParent

func (x *ListEventsRequest) GetParent() string

func (*ListEventsRequest) ProtoMessage

func (*ListEventsRequest) ProtoMessage()

func (*ListEventsRequest) ProtoReflect

func (x *ListEventsRequest) ProtoReflect() protoreflect.Message

func (*ListEventsRequest) Reset

func (x *ListEventsRequest) Reset()

func (*ListEventsRequest) String

func (x *ListEventsRequest) String() string

type ListEventsResponse

type ListEventsResponse struct {

	// A list of events.
	Events []*Event `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"`
	// Token to retrieve the next page of results, or empty if there are no more
	// results in the list.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// Locations that could not be reached.
	Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
	// contains filtered or unexported fields
}

Response message for "LivestreamService.ListEvents".

func (*ListEventsResponse) Descriptor deprecated

func (*ListEventsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListEventsResponse.ProtoReflect.Descriptor instead.

func (*ListEventsResponse) GetEvents

func (x *ListEventsResponse) GetEvents() []*Event

func (*ListEventsResponse) GetNextPageToken

func (x *ListEventsResponse) GetNextPageToken() string

func (*ListEventsResponse) GetUnreachable

func (x *ListEventsResponse) GetUnreachable() []string

func (*ListEventsResponse) ProtoMessage

func (*ListEventsResponse) ProtoMessage()

func (*ListEventsResponse) ProtoReflect

func (x *ListEventsResponse) ProtoReflect() protoreflect.Message

func (*ListEventsResponse) Reset

func (x *ListEventsResponse) Reset()

func (*ListEventsResponse) String

func (x *ListEventsResponse) String() string

type ListInputsRequest

type ListInputsRequest struct {

	// Required. The parent location for the resource, in the form of:
	// `projects/{project}/locations/{location}`.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// The maximum number of items to return. If unspecified, server
	// will pick an appropriate default. Server may return fewer items than
	// requested. A caller should only rely on response's
	// [next_page_token][google.cloud.video.livestream.v1.ListInputsResponse.next_page_token]
	// to determine if there are more items left to be queried.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// The next_page_token value returned from a previous List request, if any.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// The filter to apply to list results.
	Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
	// Specifies the ordering of results following syntax at [Sorting
	// Order](https://cloud.google.com/apis/design/design_patterns#sorting_order).
	OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
	// contains filtered or unexported fields
}

Request message for "LivestreamService.ListInputs".

func (*ListInputsRequest) Descriptor deprecated

func (*ListInputsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListInputsRequest.ProtoReflect.Descriptor instead.

func (*ListInputsRequest) GetFilter

func (x *ListInputsRequest) GetFilter() string

func (*ListInputsRequest) GetOrderBy

func (x *ListInputsRequest) GetOrderBy() string

func (*ListInputsRequest) GetPageSize

func (x *ListInputsRequest) GetPageSize() int32

func (*ListInputsRequest) GetPageToken

func (x *ListInputsRequest) GetPageToken() string

func (*ListInputsRequest) GetParent

func (x *ListInputsRequest) GetParent() string

func (*ListInputsRequest) ProtoMessage

func (*ListInputsRequest) ProtoMessage()

func (*ListInputsRequest) ProtoReflect

func (x *ListInputsRequest) ProtoReflect() protoreflect.Message

func (*ListInputsRequest) Reset

func (x *ListInputsRequest) Reset()

func (*ListInputsRequest) String

func (x *ListInputsRequest) String() string

type ListInputsResponse

type ListInputsResponse struct {

	// A list of inputs.
	Inputs []*Input `protobuf:"bytes,1,rep,name=inputs,proto3" json:"inputs,omitempty"`
	// Token to retrieve the next page of results, or empty if there are no more
	// results in the list.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// Locations that could not be reached.
	Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
	// contains filtered or unexported fields
}

Response message for "LivestreamService.ListInputs".

func (*ListInputsResponse) Descriptor deprecated

func (*ListInputsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListInputsResponse.ProtoReflect.Descriptor instead.

func (*ListInputsResponse) GetInputs

func (x *ListInputsResponse) GetInputs() []*Input

func (*ListInputsResponse) GetNextPageToken

func (x *ListInputsResponse) GetNextPageToken() string

func (*ListInputsResponse) GetUnreachable

func (x *ListInputsResponse) GetUnreachable() []string

func (*ListInputsResponse) ProtoMessage

func (*ListInputsResponse) ProtoMessage()

func (*ListInputsResponse) ProtoReflect

func (x *ListInputsResponse) ProtoReflect() protoreflect.Message

func (*ListInputsResponse) Reset

func (x *ListInputsResponse) Reset()

func (*ListInputsResponse) String

func (x *ListInputsResponse) String() string

type LivestreamServiceClient

type LivestreamServiceClient interface {
	// Creates a channel with the provided unique ID in the specified
	// region.
	CreateChannel(ctx context.Context, in *CreateChannelRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Returns a list of all channels in the specified region.
	ListChannels(ctx context.Context, in *ListChannelsRequest, opts ...grpc.CallOption) (*ListChannelsResponse, error)
	// Returns the specified channel.
	GetChannel(ctx context.Context, in *GetChannelRequest, opts ...grpc.CallOption) (*Channel, error)
	// Deletes the specified channel.
	DeleteChannel(ctx context.Context, in *DeleteChannelRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Updates the specified channel.
	UpdateChannel(ctx context.Context, in *UpdateChannelRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Starts the specified channel. Part of the video pipeline will be created
	// only when the StartChannel request is received by the server.
	StartChannel(ctx context.Context, in *StartChannelRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Stops the specified channel. Part of the video pipeline will be released
	// when the StopChannel request is received by the server.
	StopChannel(ctx context.Context, in *StopChannelRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Creates an input with the provided unique ID in the specified region.
	CreateInput(ctx context.Context, in *CreateInputRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Returns a list of all inputs in the specified region.
	ListInputs(ctx context.Context, in *ListInputsRequest, opts ...grpc.CallOption) (*ListInputsResponse, error)
	// Returns the specified input.
	GetInput(ctx context.Context, in *GetInputRequest, opts ...grpc.CallOption) (*Input, error)
	// Deletes the specified input.
	DeleteInput(ctx context.Context, in *DeleteInputRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Updates the specified input.
	UpdateInput(ctx context.Context, in *UpdateInputRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Creates an event with the provided unique ID in the specified channel.
	CreateEvent(ctx context.Context, in *CreateEventRequest, opts ...grpc.CallOption) (*Event, error)
	// Returns a list of all events in the specified channel.
	ListEvents(ctx context.Context, in *ListEventsRequest, opts ...grpc.CallOption) (*ListEventsResponse, error)
	// Returns the specified event.
	GetEvent(ctx context.Context, in *GetEventRequest, opts ...grpc.CallOption) (*Event, error)
	// Deletes the specified event.
	DeleteEvent(ctx context.Context, in *DeleteEventRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Creates a Asset with the provided unique ID in the specified
	// region.
	CreateAsset(ctx context.Context, in *CreateAssetRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Deletes the specified asset if it is not used.
	DeleteAsset(ctx context.Context, in *DeleteAssetRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Returns the specified asset.
	GetAsset(ctx context.Context, in *GetAssetRequest, opts ...grpc.CallOption) (*Asset, error)
	// Returns a list of all assets in the specified region.
	ListAssets(ctx context.Context, in *ListAssetsRequest, opts ...grpc.CallOption) (*ListAssetsResponse, error)
	// Returns the specified pool.
	GetPool(ctx context.Context, in *GetPoolRequest, opts ...grpc.CallOption) (*Pool, error)
	// Updates the specified pool.
	UpdatePool(ctx context.Context, in *UpdatePoolRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
}

LivestreamServiceClient is the client API for LivestreamService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

type LivestreamServiceServer

type LivestreamServiceServer interface {
	// Creates a channel with the provided unique ID in the specified
	// region.
	CreateChannel(context.Context, *CreateChannelRequest) (*longrunningpb.Operation, error)
	// Returns a list of all channels in the specified region.
	ListChannels(context.Context, *ListChannelsRequest) (*ListChannelsResponse, error)
	// Returns the specified channel.
	GetChannel(context.Context, *GetChannelRequest) (*Channel, error)
	// Deletes the specified channel.
	DeleteChannel(context.Context, *DeleteChannelRequest) (*longrunningpb.Operation, error)
	// Updates the specified channel.
	UpdateChannel(context.Context, *UpdateChannelRequest) (*longrunningpb.Operation, error)
	// Starts the specified channel. Part of the video pipeline will be created
	// only when the StartChannel request is received by the server.
	StartChannel(context.Context, *StartChannelRequest) (*longrunningpb.Operation, error)
	// Stops the specified channel. Part of the video pipeline will be released
	// when the StopChannel request is received by the server.
	StopChannel(context.Context, *StopChannelRequest) (*longrunningpb.Operation, error)
	// Creates an input with the provided unique ID in the specified region.
	CreateInput(context.Context, *CreateInputRequest) (*longrunningpb.Operation, error)
	// Returns a list of all inputs in the specified region.
	ListInputs(context.Context, *ListInputsRequest) (*ListInputsResponse, error)
	// Returns the specified input.
	GetInput(context.Context, *GetInputRequest) (*Input, error)
	// Deletes the specified input.
	DeleteInput(context.Context, *DeleteInputRequest) (*longrunningpb.Operation, error)
	// Updates the specified input.
	UpdateInput(context.Context, *UpdateInputRequest) (*longrunningpb.Operation, error)
	// Creates an event with the provided unique ID in the specified channel.
	CreateEvent(context.Context, *CreateEventRequest) (*Event, error)
	// Returns a list of all events in the specified channel.
	ListEvents(context.Context, *ListEventsRequest) (*ListEventsResponse, error)
	// Returns the specified event.
	GetEvent(context.Context, *GetEventRequest) (*Event, error)
	// Deletes the specified event.
	DeleteEvent(context.Context, *DeleteEventRequest) (*emptypb.Empty, error)
	// Creates a Asset with the provided unique ID in the specified
	// region.
	CreateAsset(context.Context, *CreateAssetRequest) (*longrunningpb.Operation, error)
	// Deletes the specified asset if it is not used.
	DeleteAsset(context.Context, *DeleteAssetRequest) (*longrunningpb.Operation, error)
	// Returns the specified asset.
	GetAsset(context.Context, *GetAssetRequest) (*Asset, error)
	// Returns a list of all assets in the specified region.
	ListAssets(context.Context, *ListAssetsRequest) (*ListAssetsResponse, error)
	// Returns the specified pool.
	GetPool(context.Context, *GetPoolRequest) (*Pool, error)
	// Updates the specified pool.
	UpdatePool(context.Context, *UpdatePoolRequest) (*longrunningpb.Operation, error)
}

LivestreamServiceServer is the server API for LivestreamService service.

type LogConfig

type LogConfig struct {

	// The severity level of platform logging for this resource.
	LogSeverity LogConfig_LogSeverity `` /* 155-byte string literal not displayed */
	// contains filtered or unexported fields
}

Configuration of platform logs. See [Using and managing platform logs](https://cloud.google.com/logging/docs/api/platform-logs#managing-logs) for more information about how to view platform logs through Cloud Logging.

func (*LogConfig) Descriptor deprecated

func (*LogConfig) Descriptor() ([]byte, []int)

Deprecated: Use LogConfig.ProtoReflect.Descriptor instead.

func (*LogConfig) GetLogSeverity

func (x *LogConfig) GetLogSeverity() LogConfig_LogSeverity

func (*LogConfig) ProtoMessage

func (*LogConfig) ProtoMessage()

func (*LogConfig) ProtoReflect

func (x *LogConfig) ProtoReflect() protoreflect.Message

func (*LogConfig) Reset

func (x *LogConfig) Reset()

func (*LogConfig) String

func (x *LogConfig) String() string

type LogConfig_LogSeverity

type LogConfig_LogSeverity int32

The severity level of platform logging for this channel. Logs with a severity level higher than or equal to the chosen severity level will be logged and can be viewed through Cloud Logging. The severity level of a log is ranked as followed from low to high: DEBUG < INFO < NOTICE < WARNING < ERROR < CRITICAL < ALERT < EMERGENCY. See [LogSeverity](https://cloud.google.com/logging/docs/reference/v2/rest/v2/LogEntry#logseverity) for more information.

const (
	// Log severity is not specified. This is the same as log severity is OFF.
	LogConfig_LOG_SEVERITY_UNSPECIFIED LogConfig_LogSeverity = 0
	// Log is turned off.
	LogConfig_OFF LogConfig_LogSeverity = 1
	// Log with severity higher than or equal to DEBUG are logged.
	LogConfig_DEBUG LogConfig_LogSeverity = 100
	// Logs with severity higher than or equal to INFO are logged.
	LogConfig_INFO LogConfig_LogSeverity = 200
	// Logs with severity higher than or equal to WARNING are logged.
	LogConfig_WARNING LogConfig_LogSeverity = 400
	// Logs with severity higher than or equal to ERROR are logged.
	LogConfig_ERROR LogConfig_LogSeverity = 500
)

func (LogConfig_LogSeverity) Descriptor

func (LogConfig_LogSeverity) Enum

func (LogConfig_LogSeverity) EnumDescriptor deprecated

func (LogConfig_LogSeverity) EnumDescriptor() ([]byte, []int)

Deprecated: Use LogConfig_LogSeverity.Descriptor instead.

func (LogConfig_LogSeverity) Number

func (LogConfig_LogSeverity) String

func (x LogConfig_LogSeverity) String() string

func (LogConfig_LogSeverity) Type

type Manifest

type Manifest struct {

	// The name of the generated file. The default is `manifest` with the
	// extension suffix corresponding to the `Manifest`
	// [type][google.cloud.video.livestream.v1.Manifest.type]. If multiple
	// manifests are added to the channel, each must have a unique file name.
	FileName string `protobuf:"bytes,1,opt,name=file_name,json=fileName,proto3" json:"file_name,omitempty"`
	// Required. Type of the manifest, can be `HLS` or `DASH`.
	Type Manifest_ManifestType `protobuf:"varint,2,opt,name=type,proto3,enum=google.cloud.video.livestream.v1.Manifest_ManifestType" json:"type,omitempty"`
	// Required. List of `MuxStream`
	// [key][google.cloud.video.livestream.v1.MuxStream.key]s that should appear
	// in this manifest.
	//
	// - For HLS, either `fmp4` or `ts` mux streams can be specified but not
	// mixed.
	// - For DASH, only `fmp4` mux streams can be specified.
	MuxStreams []string `protobuf:"bytes,3,rep,name=mux_streams,json=muxStreams,proto3" json:"mux_streams,omitempty"`
	// Maximum number of segments that this manifest holds. Once the manifest
	// reaches this maximum number of segments, whenever a new segment is added to
	// the manifest, the oldest segment will be removed from the manifest.
	// The minimum value is 3 and the default value is 5.
	MaxSegmentCount int32 `protobuf:"varint,4,opt,name=max_segment_count,json=maxSegmentCount,proto3" json:"max_segment_count,omitempty"`
	// How long to keep a segment on the output Google Cloud Storage bucket after
	// it is removed from the manifest. This field should be large enough to cover
	// the manifest propagation delay. Otherwise, a player could receive 404
	// errors while accessing segments which are listed in the manifest that the
	// player has, but were already deleted from the output Google Cloud Storage
	// bucket. Default value is `60s`.
	SegmentKeepDuration *durationpb.Duration `protobuf:"bytes,5,opt,name=segment_keep_duration,json=segmentKeepDuration,proto3" json:"segment_keep_duration,omitempty"`
	// Whether to use the timecode, as specified in timecode config, when setting:
	//
	// - `availabilityStartTime` attribute in DASH manifests.
	// - `#EXT-X-PROGRAM-DATE-TIME` tag in HLS manifests.
	//
	// If false, ignore the input timecode and use the time from system clock
	// when the manifest is first generated. This is the default behavior.
	UseTimecodeAsTimeline bool `` /* 129-byte string literal not displayed */
	// contains filtered or unexported fields
}

Manifest configuration.

func (*Manifest) Descriptor deprecated

func (*Manifest) Descriptor() ([]byte, []int)

Deprecated: Use Manifest.ProtoReflect.Descriptor instead.

func (*Manifest) GetFileName

func (x *Manifest) GetFileName() string

func (*Manifest) GetMaxSegmentCount

func (x *Manifest) GetMaxSegmentCount() int32

func (*Manifest) GetMuxStreams

func (x *Manifest) GetMuxStreams() []string

func (*Manifest) GetSegmentKeepDuration

func (x *Manifest) GetSegmentKeepDuration() *durationpb.Duration

func (*Manifest) GetType

func (x *Manifest) GetType() Manifest_ManifestType

func (*Manifest) GetUseTimecodeAsTimeline added in v1.14.0

func (x *Manifest) GetUseTimecodeAsTimeline() bool

func (*Manifest) ProtoMessage

func (*Manifest) ProtoMessage()

func (*Manifest) ProtoReflect

func (x *Manifest) ProtoReflect() protoreflect.Message

func (*Manifest) Reset

func (x *Manifest) Reset()

func (*Manifest) String

func (x *Manifest) String() string

type Manifest_ManifestType

type Manifest_ManifestType int32

The manifest type can be either `HLS` or `DASH`.

const (
	// The manifest type is not specified.
	Manifest_MANIFEST_TYPE_UNSPECIFIED Manifest_ManifestType = 0
	// Create an `HLS` manifest. The corresponding file extension is `.m3u8`.
	Manifest_HLS Manifest_ManifestType = 1
	// Create a `DASH` manifest. The corresponding file extension is `.mpd`.
	Manifest_DASH Manifest_ManifestType = 2
)

func (Manifest_ManifestType) Descriptor

func (Manifest_ManifestType) Enum

func (Manifest_ManifestType) EnumDescriptor deprecated

func (Manifest_ManifestType) EnumDescriptor() ([]byte, []int)

Deprecated: Use Manifest_ManifestType.Descriptor instead.

func (Manifest_ManifestType) Number

func (Manifest_ManifestType) String

func (x Manifest_ManifestType) String() string

func (Manifest_ManifestType) Type

type MuxStream

type MuxStream struct {

	// A unique key for this multiplexed stream.
	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// The container format. The default is `fmp4`.
	//
	// Supported container formats:
	//
	// - `fmp4` - the corresponding file extension is `.m4s`
	// - `ts` - the corresponding file extension is `.ts`
	Container string `protobuf:"bytes,3,opt,name=container,proto3" json:"container,omitempty"`
	// List of `ElementaryStream`
	// [key][google.cloud.video.livestream.v1.ElementaryStream.key]s multiplexed
	// in this stream.
	//
	// - For `fmp4` container, must contain either one video or one audio stream.
	// - For `ts` container, must contain exactly one audio stream and up to one
	// video stream.
	ElementaryStreams []string `protobuf:"bytes,4,rep,name=elementary_streams,json=elementaryStreams,proto3" json:"elementary_streams,omitempty"`
	// Segment settings for `fmp4` and `ts`.
	SegmentSettings *SegmentSettings `protobuf:"bytes,5,opt,name=segment_settings,json=segmentSettings,proto3" json:"segment_settings,omitempty"`
	// Identifier of the encryption configuration to use. If omitted, output
	// will be unencrypted.
	EncryptionId string `protobuf:"bytes,6,opt,name=encryption_id,json=encryptionId,proto3" json:"encryption_id,omitempty"`
	// contains filtered or unexported fields
}

Multiplexing settings for output stream.

func (*MuxStream) Descriptor deprecated

func (*MuxStream) Descriptor() ([]byte, []int)

Deprecated: Use MuxStream.ProtoReflect.Descriptor instead.

func (*MuxStream) GetContainer

func (x *MuxStream) GetContainer() string

func (*MuxStream) GetElementaryStreams

func (x *MuxStream) GetElementaryStreams() []string

func (*MuxStream) GetEncryptionId added in v1.14.0

func (x *MuxStream) GetEncryptionId() string

func (*MuxStream) GetKey

func (x *MuxStream) GetKey() string

func (*MuxStream) GetSegmentSettings

func (x *MuxStream) GetSegmentSettings() *SegmentSettings

func (*MuxStream) ProtoMessage

func (*MuxStream) ProtoMessage()

func (*MuxStream) ProtoReflect

func (x *MuxStream) ProtoReflect() protoreflect.Message

func (*MuxStream) Reset

func (x *MuxStream) Reset()

func (*MuxStream) String

func (x *MuxStream) String() string

type OperationMetadata

type OperationMetadata struct {

	// Output only. The time the operation was created.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. The time the operation finished running.
	EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	// Output only. Server-defined resource path for the target of the operation.
	Target string `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"`
	// Output only. Name of the verb executed by the operation.
	Verb string `protobuf:"bytes,4,opt,name=verb,proto3" json:"verb,omitempty"`
	// Output only. Identifies whether the user has requested cancellation
	// of the operation. Operations that have successfully been cancelled
	// have [Operation.error][] value with a
	// [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to
	// `Code.CANCELLED`.
	RequestedCancellation bool `protobuf:"varint,5,opt,name=requested_cancellation,json=requestedCancellation,proto3" json:"requested_cancellation,omitempty"`
	// Output only. API version used to start the operation.
	ApiVersion string `protobuf:"bytes,6,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"`
	// contains filtered or unexported fields
}

Represents the metadata of the long-running operation.

func (*OperationMetadata) Descriptor deprecated

func (*OperationMetadata) Descriptor() ([]byte, []int)

Deprecated: Use OperationMetadata.ProtoReflect.Descriptor instead.

func (*OperationMetadata) GetApiVersion

func (x *OperationMetadata) GetApiVersion() string

func (*OperationMetadata) GetCreateTime

func (x *OperationMetadata) GetCreateTime() *timestamppb.Timestamp

func (*OperationMetadata) GetEndTime

func (x *OperationMetadata) GetEndTime() *timestamppb.Timestamp

func (*OperationMetadata) GetRequestedCancellation

func (x *OperationMetadata) GetRequestedCancellation() bool

func (*OperationMetadata) GetTarget

func (x *OperationMetadata) GetTarget() string

func (*OperationMetadata) GetVerb

func (x *OperationMetadata) GetVerb() string

func (*OperationMetadata) ProtoMessage

func (*OperationMetadata) ProtoMessage()

func (*OperationMetadata) ProtoReflect

func (x *OperationMetadata) ProtoReflect() protoreflect.Message

func (*OperationMetadata) Reset

func (x *OperationMetadata) Reset()

func (*OperationMetadata) String

func (x *OperationMetadata) String() string

type Pool added in v1.19.0

type Pool struct {

	// The resource name of the pool, in the form of:
	// `projects/{project}/locations/{location}/pools/{poolId}`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Output only. The creation time.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. The update time.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// User-defined key/value metadata.
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// Network configuration for the pool.
	NetworkConfig *Pool_NetworkConfig `protobuf:"bytes,5,opt,name=network_config,json=networkConfig,proto3" json:"network_config,omitempty"`
	// contains filtered or unexported fields
}

Pool resource defines the configuration of Live Stream pools for a specific location. Currently we support only one pool resource per project per location. After the creation of the first input, a default pool is created automatically at "projects/{project}/locations/{location}/pools/default".

func (*Pool) Descriptor deprecated added in v1.19.0

func (*Pool) Descriptor() ([]byte, []int)

Deprecated: Use Pool.ProtoReflect.Descriptor instead.

func (*Pool) GetCreateTime added in v1.19.0

func (x *Pool) GetCreateTime() *timestamppb.Timestamp

func (*Pool) GetLabels added in v1.19.0

func (x *Pool) GetLabels() map[string]string

func (*Pool) GetName added in v1.19.0

func (x *Pool) GetName() string

func (*Pool) GetNetworkConfig added in v1.19.0

func (x *Pool) GetNetworkConfig() *Pool_NetworkConfig

func (*Pool) GetUpdateTime added in v1.19.0

func (x *Pool) GetUpdateTime() *timestamppb.Timestamp

func (*Pool) ProtoMessage added in v1.19.0

func (*Pool) ProtoMessage()

func (*Pool) ProtoReflect added in v1.19.0

func (x *Pool) ProtoReflect() protoreflect.Message

func (*Pool) Reset added in v1.19.0

func (x *Pool) Reset()

func (*Pool) String added in v1.19.0

func (x *Pool) String() string

type Pool_NetworkConfig added in v1.19.0

type Pool_NetworkConfig struct {

	// peered_network is the network resource URL of the network that is peered
	// to the service provider network. Must be of the format
	// projects/NETWORK_PROJECT_NUMBER/global/networks/NETWORK_NAME, where
	// NETWORK_PROJECT_NUMBER is the project number of the Cloud project that
	// holds your VPC network and NETWORK_NAME is the name of your VPC network.
	// If peered_network is omitted or empty, the pool will use endpoints that
	// are publicly available.
	PeeredNetwork string `protobuf:"bytes,1,opt,name=peered_network,json=peeredNetwork,proto3" json:"peered_network,omitempty"`
	// contains filtered or unexported fields
}

Defines the network configuration for the pool.

func (*Pool_NetworkConfig) Descriptor deprecated added in v1.19.0

func (*Pool_NetworkConfig) Descriptor() ([]byte, []int)

Deprecated: Use Pool_NetworkConfig.ProtoReflect.Descriptor instead.

func (*Pool_NetworkConfig) GetPeeredNetwork added in v1.19.0

func (x *Pool_NetworkConfig) GetPeeredNetwork() string

func (*Pool_NetworkConfig) ProtoMessage added in v1.19.0

func (*Pool_NetworkConfig) ProtoMessage()

func (*Pool_NetworkConfig) ProtoReflect added in v1.19.0

func (x *Pool_NetworkConfig) ProtoReflect() protoreflect.Message

func (*Pool_NetworkConfig) Reset added in v1.19.0

func (x *Pool_NetworkConfig) Reset()

func (*Pool_NetworkConfig) String added in v1.19.0

func (x *Pool_NetworkConfig) String() string

type PreprocessingConfig

type PreprocessingConfig struct {

	// Audio preprocessing configuration.
	Audio *PreprocessingConfig_Audio `protobuf:"bytes,1,opt,name=audio,proto3" json:"audio,omitempty"`
	// Specify the video cropping configuration.
	Crop *PreprocessingConfig_Crop `protobuf:"bytes,2,opt,name=crop,proto3" json:"crop,omitempty"`
	// Specify the video pad filter configuration.
	Pad *PreprocessingConfig_Pad `protobuf:"bytes,3,opt,name=pad,proto3" json:"pad,omitempty"`
	// contains filtered or unexported fields
}

Preprocessing configurations.

func (*PreprocessingConfig) Descriptor deprecated

func (*PreprocessingConfig) Descriptor() ([]byte, []int)

Deprecated: Use PreprocessingConfig.ProtoReflect.Descriptor instead.

func (*PreprocessingConfig) GetAudio added in v1.14.0

func (*PreprocessingConfig) GetCrop

func (*PreprocessingConfig) GetPad

func (*PreprocessingConfig) ProtoMessage

func (*PreprocessingConfig) ProtoMessage()

func (*PreprocessingConfig) ProtoReflect

func (x *PreprocessingConfig) ProtoReflect() protoreflect.Message

func (*PreprocessingConfig) Reset

func (x *PreprocessingConfig) Reset()

func (*PreprocessingConfig) String

func (x *PreprocessingConfig) String() string

type PreprocessingConfig_Audio added in v1.14.0

type PreprocessingConfig_Audio struct {

	// Specify audio loudness normalization in loudness units relative to full
	// scale (LUFS). Enter a value between -24 and 0 according to the following:
	//
	// - -24 is the Advanced Television Systems Committee (ATSC A/85)
	// - -23 is the EU R128 broadcast standard
	// - -19 is the prior standard for online mono audio
	// - -18 is the ReplayGain standard
	// - -16 is the prior standard for stereo audio
	// - -14 is the new online audio standard recommended by Spotify, as well as
	// Amazon Echo
	// - 0 disables normalization. The default is 0.
	Lufs float64 `protobuf:"fixed64,1,opt,name=lufs,proto3" json:"lufs,omitempty"`
	// contains filtered or unexported fields
}

Audio preprocessing configuration.

func (*PreprocessingConfig_Audio) Descriptor deprecated added in v1.14.0

func (*PreprocessingConfig_Audio) Descriptor() ([]byte, []int)

Deprecated: Use PreprocessingConfig_Audio.ProtoReflect.Descriptor instead.

func (*PreprocessingConfig_Audio) GetLufs added in v1.14.0

func (x *PreprocessingConfig_Audio) GetLufs() float64

func (*PreprocessingConfig_Audio) ProtoMessage added in v1.14.0

func (*PreprocessingConfig_Audio) ProtoMessage()

func (*PreprocessingConfig_Audio) ProtoReflect added in v1.14.0

func (*PreprocessingConfig_Audio) Reset added in v1.14.0

func (x *PreprocessingConfig_Audio) Reset()

func (*PreprocessingConfig_Audio) String added in v1.14.0

func (x *PreprocessingConfig_Audio) String() string

type PreprocessingConfig_Crop

type PreprocessingConfig_Crop struct {

	// The number of pixels to crop from the top. The default is 0.
	TopPixels int32 `protobuf:"varint,1,opt,name=top_pixels,json=topPixels,proto3" json:"top_pixels,omitempty"`
	// The number of pixels to crop from the bottom. The default is 0.
	BottomPixels int32 `protobuf:"varint,2,opt,name=bottom_pixels,json=bottomPixels,proto3" json:"bottom_pixels,omitempty"`
	// The number of pixels to crop from the left. The default is 0.
	LeftPixels int32 `protobuf:"varint,3,opt,name=left_pixels,json=leftPixels,proto3" json:"left_pixels,omitempty"`
	// The number of pixels to crop from the right. The default is 0.
	RightPixels int32 `protobuf:"varint,4,opt,name=right_pixels,json=rightPixels,proto3" json:"right_pixels,omitempty"`
	// contains filtered or unexported fields
}

Video cropping configuration for the input video. The cropped input video is scaled to match the output resolution.

func (*PreprocessingConfig_Crop) Descriptor deprecated

func (*PreprocessingConfig_Crop) Descriptor() ([]byte, []int)

Deprecated: Use PreprocessingConfig_Crop.ProtoReflect.Descriptor instead.

func (*PreprocessingConfig_Crop) GetBottomPixels

func (x *PreprocessingConfig_Crop) GetBottomPixels() int32

func (*PreprocessingConfig_Crop) GetLeftPixels

func (x *PreprocessingConfig_Crop) GetLeftPixels() int32

func (*PreprocessingConfig_Crop) GetRightPixels

func (x *PreprocessingConfig_Crop) GetRightPixels() int32

func (*PreprocessingConfig_Crop) GetTopPixels

func (x *PreprocessingConfig_Crop) GetTopPixels() int32

func (*PreprocessingConfig_Crop) ProtoMessage

func (*PreprocessingConfig_Crop) ProtoMessage()

func (*PreprocessingConfig_Crop) ProtoReflect

func (x *PreprocessingConfig_Crop) ProtoReflect() protoreflect.Message

func (*PreprocessingConfig_Crop) Reset

func (x *PreprocessingConfig_Crop) Reset()

func (*PreprocessingConfig_Crop) String

func (x *PreprocessingConfig_Crop) String() string

type PreprocessingConfig_Pad

type PreprocessingConfig_Pad struct {

	// The number of pixels to add to the top. The default is 0.
	TopPixels int32 `protobuf:"varint,1,opt,name=top_pixels,json=topPixels,proto3" json:"top_pixels,omitempty"`
	// The number of pixels to add to the bottom. The default is 0.
	BottomPixels int32 `protobuf:"varint,2,opt,name=bottom_pixels,json=bottomPixels,proto3" json:"bottom_pixels,omitempty"`
	// The number of pixels to add to the left. The default is 0.
	LeftPixels int32 `protobuf:"varint,3,opt,name=left_pixels,json=leftPixels,proto3" json:"left_pixels,omitempty"`
	// The number of pixels to add to the right. The default is 0.
	RightPixels int32 `protobuf:"varint,4,opt,name=right_pixels,json=rightPixels,proto3" json:"right_pixels,omitempty"`
	// contains filtered or unexported fields
}

Pad filter configuration for the input video. The padded input video is scaled after padding with black to match the output resolution.

func (*PreprocessingConfig_Pad) Descriptor deprecated

func (*PreprocessingConfig_Pad) Descriptor() ([]byte, []int)

Deprecated: Use PreprocessingConfig_Pad.ProtoReflect.Descriptor instead.

func (*PreprocessingConfig_Pad) GetBottomPixels

func (x *PreprocessingConfig_Pad) GetBottomPixels() int32

func (*PreprocessingConfig_Pad) GetLeftPixels

func (x *PreprocessingConfig_Pad) GetLeftPixels() int32

func (*PreprocessingConfig_Pad) GetRightPixels

func (x *PreprocessingConfig_Pad) GetRightPixels() int32

func (*PreprocessingConfig_Pad) GetTopPixels

func (x *PreprocessingConfig_Pad) GetTopPixels() int32

func (*PreprocessingConfig_Pad) ProtoMessage

func (*PreprocessingConfig_Pad) ProtoMessage()

func (*PreprocessingConfig_Pad) ProtoReflect

func (x *PreprocessingConfig_Pad) ProtoReflect() protoreflect.Message

func (*PreprocessingConfig_Pad) Reset

func (x *PreprocessingConfig_Pad) Reset()

func (*PreprocessingConfig_Pad) String

func (x *PreprocessingConfig_Pad) String() string

type SegmentSettings

type SegmentSettings struct {

	// Duration of the segments in seconds. The default is `6s`. Note that
	// `segmentDuration` must be greater than or equal to
	// [gop_duration][google.cloud.video.livestream.v1.VideoStream.H264CodecSettings.gop_duration],
	// and `segmentDuration` must be divisible by
	// [gop_duration][google.cloud.video.livestream.v1.VideoStream.H264CodecSettings.gop_duration].
	// Valid range is [2s, 20s].
	//
	// All [mux_streams][google.cloud.video.livestream.v1.Manifest.mux_streams] in
	// the same manifest must have the same segment duration.
	SegmentDuration *durationpb.Duration `protobuf:"bytes,1,opt,name=segment_duration,json=segmentDuration,proto3" json:"segment_duration,omitempty"`
	// contains filtered or unexported fields
}

Segment settings for `fmp4` and `ts`.

func (*SegmentSettings) Descriptor deprecated

func (*SegmentSettings) Descriptor() ([]byte, []int)

Deprecated: Use SegmentSettings.ProtoReflect.Descriptor instead.

func (*SegmentSettings) GetSegmentDuration

func (x *SegmentSettings) GetSegmentDuration() *durationpb.Duration

func (*SegmentSettings) ProtoMessage

func (*SegmentSettings) ProtoMessage()

func (*SegmentSettings) ProtoReflect

func (x *SegmentSettings) ProtoReflect() protoreflect.Message

func (*SegmentSettings) Reset

func (x *SegmentSettings) Reset()

func (*SegmentSettings) String

func (x *SegmentSettings) String() string

type SpriteSheet

type SpriteSheet struct {

	// Format type. The default is `jpeg`.
	//
	// Supported formats:
	//
	// - `jpeg`
	Format string `protobuf:"bytes,1,opt,name=format,proto3" json:"format,omitempty"`
	// Required. File name prefix for the generated sprite sheets. If multiple
	// sprite sheets are added to the channel, each must have a unique file
	// prefix.
	// Each sprite sheet has an incremental 10-digit zero-padded suffix starting
	// from 0 before the extension, such as `sprite_sheet0000000123.jpeg`.
	FilePrefix string `protobuf:"bytes,2,opt,name=file_prefix,json=filePrefix,proto3" json:"file_prefix,omitempty"`
	// Required. The width of the sprite in pixels. Must be an even integer.
	SpriteWidthPixels int32 `protobuf:"varint,3,opt,name=sprite_width_pixels,json=spriteWidthPixels,proto3" json:"sprite_width_pixels,omitempty"`
	// Required. The height of the sprite in pixels. Must be an even integer.
	SpriteHeightPixels int32 `protobuf:"varint,4,opt,name=sprite_height_pixels,json=spriteHeightPixels,proto3" json:"sprite_height_pixels,omitempty"`
	// The maximum number of sprites per row in a sprite sheet. Valid range is
	// [1, 10] and the default value is 1.
	ColumnCount int32 `protobuf:"varint,5,opt,name=column_count,json=columnCount,proto3" json:"column_count,omitempty"`
	// The maximum number of rows per sprite sheet. When the sprite sheet is full,
	// a new sprite sheet is created. Valid range is [1, 10] and the default value
	// is 1.
	RowCount int32 `protobuf:"varint,6,opt,name=row_count,json=rowCount,proto3" json:"row_count,omitempty"`
	// Create sprites at regular intervals. Valid range is [1 second, 1 hour] and
	// the default value is `10s`.
	Interval *durationpb.Duration `protobuf:"bytes,7,opt,name=interval,proto3" json:"interval,omitempty"`
	// The quality of the generated sprite sheet. Enter a value between 1
	// and 100, where 1 is the lowest quality and 100 is the highest quality.
	// The default is 100. A high quality value corresponds to a low image data
	// compression ratio.
	Quality int32 `protobuf:"varint,8,opt,name=quality,proto3" json:"quality,omitempty"`
	// contains filtered or unexported fields
}

Sprite sheet configuration.

func (*SpriteSheet) Descriptor deprecated

func (*SpriteSheet) Descriptor() ([]byte, []int)

Deprecated: Use SpriteSheet.ProtoReflect.Descriptor instead.

func (*SpriteSheet) GetColumnCount

func (x *SpriteSheet) GetColumnCount() int32

func (*SpriteSheet) GetFilePrefix

func (x *SpriteSheet) GetFilePrefix() string

func (*SpriteSheet) GetFormat

func (x *SpriteSheet) GetFormat() string

func (*SpriteSheet) GetInterval

func (x *SpriteSheet) GetInterval() *durationpb.Duration

func (*SpriteSheet) GetQuality

func (x *SpriteSheet) GetQuality() int32

func (*SpriteSheet) GetRowCount

func (x *SpriteSheet) GetRowCount() int32

func (*SpriteSheet) GetSpriteHeightPixels

func (x *SpriteSheet) GetSpriteHeightPixels() int32

func (*SpriteSheet) GetSpriteWidthPixels

func (x *SpriteSheet) GetSpriteWidthPixels() int32

func (*SpriteSheet) ProtoMessage

func (*SpriteSheet) ProtoMessage()

func (*SpriteSheet) ProtoReflect

func (x *SpriteSheet) ProtoReflect() protoreflect.Message

func (*SpriteSheet) Reset

func (x *SpriteSheet) Reset()

func (*SpriteSheet) String

func (x *SpriteSheet) String() string

type StartChannelRequest

type StartChannelRequest struct {

	// Required. The name of the channel resource, in the form of:
	// `projects/{project}/locations/{location}/channels/{channelId}`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// A request ID to identify requests. Specify a unique request ID
	// so that if you must retry your request, the server will know to ignore
	// the request if it has already been completed. The server will guarantee
	// that for at least 60 minutes since the first request.
	//
	// For example, consider a situation where you make an initial request and the
	// request times out. If you make the request again with the same request ID,
	// the server can check if original operation with the same request ID was
	// received, and if so, will ignore the second request. This prevents clients
	// from accidentally creating duplicate commitments.
	//
	// The request ID must be a valid UUID with the exception that zero UUID is
	// not supported `(00000000-0000-0000-0000-000000000000)`.
	RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// contains filtered or unexported fields
}

Request message for "LivestreamService.StartChannel".

func (*StartChannelRequest) Descriptor deprecated

func (*StartChannelRequest) Descriptor() ([]byte, []int)

Deprecated: Use StartChannelRequest.ProtoReflect.Descriptor instead.

func (*StartChannelRequest) GetName

func (x *StartChannelRequest) GetName() string

func (*StartChannelRequest) GetRequestId

func (x *StartChannelRequest) GetRequestId() string

func (*StartChannelRequest) ProtoMessage

func (*StartChannelRequest) ProtoMessage()

func (*StartChannelRequest) ProtoReflect

func (x *StartChannelRequest) ProtoReflect() protoreflect.Message

func (*StartChannelRequest) Reset

func (x *StartChannelRequest) Reset()

func (*StartChannelRequest) String

func (x *StartChannelRequest) String() string

type StopChannelRequest

type StopChannelRequest struct {

	// Required. The name of the channel resource, in the form of:
	// `projects/{project}/locations/{location}/channels/{channelId}`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// A request ID to identify requests. Specify a unique request ID
	// so that if you must retry your request, the server will know to ignore
	// the request if it has already been completed. The server will guarantee
	// that for at least 60 minutes since the first request.
	//
	// For example, consider a situation where you make an initial request and the
	// request times out. If you make the request again with the same request ID,
	// the server can check if original operation with the same request ID was
	// received, and if so, will ignore the second request. This prevents clients
	// from accidentally creating duplicate commitments.
	//
	// The request ID must be a valid UUID with the exception that zero UUID is
	// not supported `(00000000-0000-0000-0000-000000000000)`.
	RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// contains filtered or unexported fields
}

Request message for "LivestreamService.StopChannel".

func (*StopChannelRequest) Descriptor deprecated

func (*StopChannelRequest) Descriptor() ([]byte, []int)

Deprecated: Use StopChannelRequest.ProtoReflect.Descriptor instead.

func (*StopChannelRequest) GetName

func (x *StopChannelRequest) GetName() string

func (*StopChannelRequest) GetRequestId

func (x *StopChannelRequest) GetRequestId() string

func (*StopChannelRequest) ProtoMessage

func (*StopChannelRequest) ProtoMessage()

func (*StopChannelRequest) ProtoReflect

func (x *StopChannelRequest) ProtoReflect() protoreflect.Message

func (*StopChannelRequest) Reset

func (x *StopChannelRequest) Reset()

func (*StopChannelRequest) String

func (x *StopChannelRequest) String() string

type TextStream

type TextStream struct {

	// Required. The codec for this text stream.
	//
	// Supported text codecs:
	//
	// - `cea608`
	// - `cea708`
	Codec string `protobuf:"bytes,1,opt,name=codec,proto3" json:"codec,omitempty"`
	// contains filtered or unexported fields
}

Encoding of a text stream. For example, closed captions or subtitles.

func (*TextStream) Descriptor deprecated

func (*TextStream) Descriptor() ([]byte, []int)

Deprecated: Use TextStream.ProtoReflect.Descriptor instead.

func (*TextStream) GetCodec

func (x *TextStream) GetCodec() string

func (*TextStream) ProtoMessage

func (*TextStream) ProtoMessage()

func (*TextStream) ProtoReflect

func (x *TextStream) ProtoReflect() protoreflect.Message

func (*TextStream) Reset

func (x *TextStream) Reset()

func (*TextStream) String

func (x *TextStream) String() string

type TimecodeConfig added in v1.14.0

type TimecodeConfig struct {

	// The source of the timecode that will later be used in outputs/manifests.
	// It determines the initial timecode/timestamp (first frame) of output
	// streams.
	Source TimecodeConfig_TimecodeSource `` /* 134-byte string literal not displayed */
	// For EMBEDDED_TIMECODE source only.
	// Used to interpret the embedded timecode (which contains only the time part
	// and no date). We assume all inputs are live.
	//
	// Types that are assignable to TimeOffset:
	//
	//	*TimecodeConfig_UtcOffset
	//	*TimecodeConfig_TimeZone
	TimeOffset isTimecodeConfig_TimeOffset `protobuf_oneof:"time_offset"`
	// contains filtered or unexported fields
}

Timecode configuration.

func (*TimecodeConfig) Descriptor deprecated added in v1.14.0

func (*TimecodeConfig) Descriptor() ([]byte, []int)

Deprecated: Use TimecodeConfig.ProtoReflect.Descriptor instead.

func (*TimecodeConfig) GetSource added in v1.14.0

func (*TimecodeConfig) GetTimeOffset added in v1.14.0

func (m *TimecodeConfig) GetTimeOffset() isTimecodeConfig_TimeOffset

func (*TimecodeConfig) GetTimeZone added in v1.14.0

func (x *TimecodeConfig) GetTimeZone() *datetime.TimeZone

func (*TimecodeConfig) GetUtcOffset added in v1.14.0

func (x *TimecodeConfig) GetUtcOffset() *durationpb.Duration

func (*TimecodeConfig) ProtoMessage added in v1.14.0

func (*TimecodeConfig) ProtoMessage()

func (*TimecodeConfig) ProtoReflect added in v1.14.0

func (x *TimecodeConfig) ProtoReflect() protoreflect.Message

func (*TimecodeConfig) Reset added in v1.14.0

func (x *TimecodeConfig) Reset()

func (*TimecodeConfig) String added in v1.14.0

func (x *TimecodeConfig) String() string

type TimecodeConfig_TimeZone added in v1.14.0

type TimecodeConfig_TimeZone struct {
	// Time zone e.g. "America/Los_Angeles".
	TimeZone *datetime.TimeZone `protobuf:"bytes,3,opt,name=time_zone,json=timeZone,proto3,oneof"`
}

type TimecodeConfig_TimecodeSource added in v1.14.0

type TimecodeConfig_TimecodeSource int32

The source of timecode.

const (
	// The timecode source is not specified.
	TimecodeConfig_TIMECODE_SOURCE_UNSPECIFIED TimecodeConfig_TimecodeSource = 0
	// Use input media timestamp.
	TimecodeConfig_MEDIA_TIMESTAMP TimecodeConfig_TimecodeSource = 1
	// Use input embedded timecode e.g. picture timing SEI message.
	TimecodeConfig_EMBEDDED_TIMECODE TimecodeConfig_TimecodeSource = 2
)

func (TimecodeConfig_TimecodeSource) Descriptor added in v1.14.0

func (TimecodeConfig_TimecodeSource) Enum added in v1.14.0

func (TimecodeConfig_TimecodeSource) EnumDescriptor deprecated added in v1.14.0

func (TimecodeConfig_TimecodeSource) EnumDescriptor() ([]byte, []int)

Deprecated: Use TimecodeConfig_TimecodeSource.Descriptor instead.

func (TimecodeConfig_TimecodeSource) Number added in v1.14.0

func (TimecodeConfig_TimecodeSource) String added in v1.14.0

func (TimecodeConfig_TimecodeSource) Type added in v1.14.0

type TimecodeConfig_UtcOffset added in v1.14.0

type TimecodeConfig_UtcOffset struct {
	// UTC offset. Must be whole seconds, between -18 hours and +18 hours.
	UtcOffset *durationpb.Duration `protobuf:"bytes,2,opt,name=utc_offset,json=utcOffset,proto3,oneof"`
}

type UnimplementedLivestreamServiceServer

type UnimplementedLivestreamServiceServer struct {
}

UnimplementedLivestreamServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedLivestreamServiceServer) CreateAsset added in v1.19.0

func (*UnimplementedLivestreamServiceServer) CreateChannel

func (*UnimplementedLivestreamServiceServer) CreateEvent

func (*UnimplementedLivestreamServiceServer) CreateInput

func (*UnimplementedLivestreamServiceServer) DeleteAsset added in v1.19.0

func (*UnimplementedLivestreamServiceServer) DeleteChannel

func (*UnimplementedLivestreamServiceServer) DeleteEvent

func (*UnimplementedLivestreamServiceServer) DeleteInput

func (*UnimplementedLivestreamServiceServer) GetAsset added in v1.19.0

func (*UnimplementedLivestreamServiceServer) GetChannel

func (*UnimplementedLivestreamServiceServer) GetEvent

func (*UnimplementedLivestreamServiceServer) GetInput

func (*UnimplementedLivestreamServiceServer) GetPool added in v1.19.0

func (*UnimplementedLivestreamServiceServer) ListAssets added in v1.19.0

func (*UnimplementedLivestreamServiceServer) ListChannels

func (*UnimplementedLivestreamServiceServer) ListEvents

func (*UnimplementedLivestreamServiceServer) ListInputs

func (*UnimplementedLivestreamServiceServer) StartChannel

func (*UnimplementedLivestreamServiceServer) StopChannel

func (*UnimplementedLivestreamServiceServer) UpdateChannel

func (*UnimplementedLivestreamServiceServer) UpdateInput

func (*UnimplementedLivestreamServiceServer) UpdatePool added in v1.19.0

type UpdateChannelRequest

type UpdateChannelRequest struct {

	// Field mask is used to specify the fields to be overwritten in the Channel
	// resource by the update. You can only update the following fields:
	//
	// * [`inputAttachments`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#inputattachment)
	// * [`inputConfig`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#inputconfig)
	// * [`output`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#output)
	// * [`elementaryStreams`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#elementarystream)
	// * [`muxStreams`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#muxstream)
	// * [`manifests`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#manifest)
	// * [`spriteSheets`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#spritesheet)
	// * [`logConfig`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#logconfig)
	// * [`timecodeConfig`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#timecodeconfig)
	// * [`encryptions`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#encryption)
	//
	// The fields specified in the update_mask are relative to the resource, not
	// the full request. A field will be overwritten if it is in the mask.
	//
	// If the mask is not present, then each field from the list above is updated
	// if the field appears in the request payload. To unset a field, add the
	// field to the update mask and remove it from the request payload.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// Required. The channel resource to be updated.
	Channel *Channel `protobuf:"bytes,2,opt,name=channel,proto3" json:"channel,omitempty"`
	// A request ID to identify requests. Specify a unique request ID
	// so that if you must retry your request, the server will know to ignore
	// the request if it has already been completed. The server will guarantee
	// that for at least 60 minutes since the first request.
	//
	// For example, consider a situation where you make an initial request and the
	// request times out. If you make the request again with the same request ID,
	// the server can check if original operation with the same request ID was
	// received, and if so, will ignore the second request. This prevents clients
	// from accidentally creating duplicate commitments.
	//
	// The request ID must be a valid UUID with the exception that zero UUID is
	// not supported `(00000000-0000-0000-0000-000000000000)`.
	RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// contains filtered or unexported fields
}

Request message for "LivestreamService.UpdateChannel".

func (*UpdateChannelRequest) Descriptor deprecated

func (*UpdateChannelRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateChannelRequest.ProtoReflect.Descriptor instead.

func (*UpdateChannelRequest) GetChannel

func (x *UpdateChannelRequest) GetChannel() *Channel

func (*UpdateChannelRequest) GetRequestId

func (x *UpdateChannelRequest) GetRequestId() string

func (*UpdateChannelRequest) GetUpdateMask

func (x *UpdateChannelRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*UpdateChannelRequest) ProtoMessage

func (*UpdateChannelRequest) ProtoMessage()

func (*UpdateChannelRequest) ProtoReflect

func (x *UpdateChannelRequest) ProtoReflect() protoreflect.Message

func (*UpdateChannelRequest) Reset

func (x *UpdateChannelRequest) Reset()

func (*UpdateChannelRequest) String

func (x *UpdateChannelRequest) String() string

type UpdateInputRequest

type UpdateInputRequest struct {

	// Field mask is used to specify the fields to be overwritten in the Input
	// resource by the update. You can only update the following fields:
	//
	// * [`preprocessingConfig`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.inputs#PreprocessingConfig)
	// * [`securityRules`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.inputs#SecurityRule)
	//
	// The fields specified in the update_mask are relative to the resource, not
	// the full request. A field will be overwritten if it is in the mask.
	//
	// If the mask is not present, then each field from the list above is updated
	// if the field appears in the request payload. To unset a field, add the
	// field to the update mask and remove it from the request payload.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// Required. The input resource to be updated.
	Input *Input `protobuf:"bytes,2,opt,name=input,proto3" json:"input,omitempty"`
	// A request ID to identify requests. Specify a unique request ID
	// so that if you must retry your request, the server will know to ignore
	// the request if it has already been completed. The server will guarantee
	// that for at least 60 minutes since the first request.
	//
	// For example, consider a situation where you make an initial request and the
	// request times out. If you make the request again with the same request ID,
	// the server can check if original operation with the same request ID was
	// received, and if so, will ignore the second request. This prevents clients
	// from accidentally creating duplicate commitments.
	//
	// The request ID must be a valid UUID with the exception that zero UUID is
	// not supported `(00000000-0000-0000-0000-000000000000)`.
	RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// contains filtered or unexported fields
}

Request message for "LivestreamService.UpdateInput".

func (*UpdateInputRequest) Descriptor deprecated

func (*UpdateInputRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateInputRequest.ProtoReflect.Descriptor instead.

func (*UpdateInputRequest) GetInput

func (x *UpdateInputRequest) GetInput() *Input

func (*UpdateInputRequest) GetRequestId

func (x *UpdateInputRequest) GetRequestId() string

func (*UpdateInputRequest) GetUpdateMask

func (x *UpdateInputRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*UpdateInputRequest) ProtoMessage

func (*UpdateInputRequest) ProtoMessage()

func (*UpdateInputRequest) ProtoReflect

func (x *UpdateInputRequest) ProtoReflect() protoreflect.Message

func (*UpdateInputRequest) Reset

func (x *UpdateInputRequest) Reset()

func (*UpdateInputRequest) String

func (x *UpdateInputRequest) String() string

type UpdatePoolRequest added in v1.19.0

type UpdatePoolRequest struct {

	// Field mask is used to specify the fields to be overwritten in the Pool
	// resource by the update. You can only update the following fields:
	//
	// * `networkConfig`
	//
	// The fields specified in the update_mask are relative to the resource, not
	// the full request. A field will be overwritten if it is in the mask.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// Required. The pool resource to be updated.
	Pool *Pool `protobuf:"bytes,2,opt,name=pool,proto3" json:"pool,omitempty"`
	// A request ID to identify requests. Specify a unique request ID
	// so that if you must retry your request, the server will know to ignore
	// the request if it has already been completed. The server will guarantee
	// that for at least 60 minutes since the first request.
	//
	// For example, consider a situation where you make an initial request and the
	// request times out. If you make the request again with the same request ID,
	// the server can check if original operation with the same request ID was
	// received, and if so, will ignore the second request. This prevents clients
	// from accidentally creating duplicate commitments.
	//
	// The request ID must be a valid UUID with the exception that zero UUID is
	// not supported `(00000000-0000-0000-0000-000000000000)`.
	RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// contains filtered or unexported fields
}

Request message for "LivestreamService.UpdatePool".

func (*UpdatePoolRequest) Descriptor deprecated added in v1.19.0

func (*UpdatePoolRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdatePoolRequest.ProtoReflect.Descriptor instead.

func (*UpdatePoolRequest) GetPool added in v1.19.0

func (x *UpdatePoolRequest) GetPool() *Pool

func (*UpdatePoolRequest) GetRequestId added in v1.19.0

func (x *UpdatePoolRequest) GetRequestId() string

func (*UpdatePoolRequest) GetUpdateMask added in v1.19.0

func (x *UpdatePoolRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*UpdatePoolRequest) ProtoMessage added in v1.19.0

func (*UpdatePoolRequest) ProtoMessage()

func (*UpdatePoolRequest) ProtoReflect added in v1.19.0

func (x *UpdatePoolRequest) ProtoReflect() protoreflect.Message

func (*UpdatePoolRequest) Reset added in v1.19.0

func (x *UpdatePoolRequest) Reset()

func (*UpdatePoolRequest) String added in v1.19.0

func (x *UpdatePoolRequest) String() string

type VideoFormat

type VideoFormat struct {

	// Video codec used in this video stream.
	Codec string `protobuf:"bytes,1,opt,name=codec,proto3" json:"codec,omitempty"`
	// The width of the video stream in pixels.
	WidthPixels int32 `protobuf:"varint,2,opt,name=width_pixels,json=widthPixels,proto3" json:"width_pixels,omitempty"`
	// The height of the video stream in pixels.
	HeightPixels int32 `protobuf:"varint,3,opt,name=height_pixels,json=heightPixels,proto3" json:"height_pixels,omitempty"`
	// The frame rate of the input video stream.
	FrameRate float64 `protobuf:"fixed64,4,opt,name=frame_rate,json=frameRate,proto3" json:"frame_rate,omitempty"`
	// contains filtered or unexported fields
}

Properties of the video format.

func (*VideoFormat) Descriptor deprecated

func (*VideoFormat) Descriptor() ([]byte, []int)

Deprecated: Use VideoFormat.ProtoReflect.Descriptor instead.

func (*VideoFormat) GetCodec

func (x *VideoFormat) GetCodec() string

func (*VideoFormat) GetFrameRate

func (x *VideoFormat) GetFrameRate() float64

func (*VideoFormat) GetHeightPixels

func (x *VideoFormat) GetHeightPixels() int32

func (*VideoFormat) GetWidthPixels

func (x *VideoFormat) GetWidthPixels() int32

func (*VideoFormat) ProtoMessage

func (*VideoFormat) ProtoMessage()

func (*VideoFormat) ProtoReflect

func (x *VideoFormat) ProtoReflect() protoreflect.Message

func (*VideoFormat) Reset

func (x *VideoFormat) Reset()

func (*VideoFormat) String

func (x *VideoFormat) String() string

type VideoStream

type VideoStream struct {

	// Codec settings.
	//
	// Types that are assignable to CodecSettings:
	//
	//	*VideoStream_H264
	CodecSettings isVideoStream_CodecSettings `protobuf_oneof:"codec_settings"`
	// contains filtered or unexported fields
}

Video stream resource.

func (*VideoStream) Descriptor deprecated

func (*VideoStream) Descriptor() ([]byte, []int)

Deprecated: Use VideoStream.ProtoReflect.Descriptor instead.

func (*VideoStream) GetCodecSettings

func (m *VideoStream) GetCodecSettings() isVideoStream_CodecSettings

func (*VideoStream) GetH264

func (*VideoStream) ProtoMessage

func (*VideoStream) ProtoMessage()

func (*VideoStream) ProtoReflect

func (x *VideoStream) ProtoReflect() protoreflect.Message

func (*VideoStream) Reset

func (x *VideoStream) Reset()

func (*VideoStream) String

func (x *VideoStream) String() string

type VideoStreamProperty

type VideoStreamProperty struct {

	// Index of this video stream.
	Index int32 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"`
	// Properties of the video format.
	VideoFormat *VideoFormat `protobuf:"bytes,2,opt,name=video_format,json=videoFormat,proto3" json:"video_format,omitempty"`
	// contains filtered or unexported fields
}

Properties of the video stream.

func (*VideoStreamProperty) Descriptor deprecated

func (*VideoStreamProperty) Descriptor() ([]byte, []int)

Deprecated: Use VideoStreamProperty.ProtoReflect.Descriptor instead.

func (*VideoStreamProperty) GetIndex

func (x *VideoStreamProperty) GetIndex() int32

func (*VideoStreamProperty) GetVideoFormat

func (x *VideoStreamProperty) GetVideoFormat() *VideoFormat

func (*VideoStreamProperty) ProtoMessage

func (*VideoStreamProperty) ProtoMessage()

func (*VideoStreamProperty) ProtoReflect

func (x *VideoStreamProperty) ProtoReflect() protoreflect.Message

func (*VideoStreamProperty) Reset

func (x *VideoStreamProperty) Reset()

func (*VideoStreamProperty) String

func (x *VideoStreamProperty) String() string

type VideoStream_H264

type VideoStream_H264 struct {
	// H264 codec settings.
	H264 *VideoStream_H264CodecSettings `protobuf:"bytes,20,opt,name=h264,proto3,oneof"`
}

type VideoStream_H264CodecSettings

type VideoStream_H264CodecSettings struct {

	// Required. The width of the video in pixels. Must be an even integer.
	// Valid range is [320, 1920].
	WidthPixels int32 `protobuf:"varint,1,opt,name=width_pixels,json=widthPixels,proto3" json:"width_pixels,omitempty"`
	// Required. The height of the video in pixels. Must be an even integer.
	// Valid range is [180, 1080].
	HeightPixels int32 `protobuf:"varint,2,opt,name=height_pixels,json=heightPixels,proto3" json:"height_pixels,omitempty"`
	// Required. The target video frame rate in frames per second (FPS). Must be
	// less than or equal to 60. Will default to the input frame rate if larger
	// than the input frame rate. The API will generate an output FPS that is
	// divisible by the input FPS, and smaller or equal to the target FPS. See
	// [Calculating frame
	// rate](https://cloud.google.com/transcoder/docs/concepts/frame-rate) for
	// more information.
	FrameRate float64 `protobuf:"fixed64,3,opt,name=frame_rate,json=frameRate,proto3" json:"frame_rate,omitempty"`
	// Required. The video bitrate in bits per second. Minimum value is 10,000.
	//
	// - For SD resolution (< 720p), must be <= 3,000,000 (3 Mbps).
	// - For HD resolution (<= 1080p), must be <= 15,000,000 (15 Mbps).
	BitrateBps int32 `protobuf:"varint,4,opt,name=bitrate_bps,json=bitrateBps,proto3" json:"bitrate_bps,omitempty"`
	// Specifies whether an open Group of Pictures (GOP) structure should be
	// allowed or not. The default is `false`.
	AllowOpenGop bool `protobuf:"varint,6,opt,name=allow_open_gop,json=allowOpenGop,proto3" json:"allow_open_gop,omitempty"`
	// GOP mode can be either by frame count or duration.
	//
	// Types that are assignable to GopMode:
	//
	//	*VideoStream_H264CodecSettings_GopFrameCount
	//	*VideoStream_H264CodecSettings_GopDuration
	GopMode isVideoStream_H264CodecSettings_GopMode `protobuf_oneof:"gop_mode"`
	// Size of the Video Buffering Verifier (VBV) buffer in bits. Must be
	// greater than zero. The default is equal to
	// [bitrate_bps][google.cloud.video.livestream.v1.VideoStream.H264CodecSettings.bitrate_bps].
	VbvSizeBits int32 `protobuf:"varint,9,opt,name=vbv_size_bits,json=vbvSizeBits,proto3" json:"vbv_size_bits,omitempty"`
	// Initial fullness of the Video Buffering Verifier (VBV) buffer in bits.
	// Must be greater than zero. The default is equal to 90% of
	// [vbv_size_bits][google.cloud.video.livestream.v1.VideoStream.H264CodecSettings.vbv_size_bits].
	VbvFullnessBits int32 `protobuf:"varint,10,opt,name=vbv_fullness_bits,json=vbvFullnessBits,proto3" json:"vbv_fullness_bits,omitempty"`
	// The entropy coder to use. The default is `cabac`.
	//
	// Supported entropy coders:
	//
	// - `cavlc`
	// - `cabac`
	EntropyCoder string `protobuf:"bytes,11,opt,name=entropy_coder,json=entropyCoder,proto3" json:"entropy_coder,omitempty"`
	// Allow B-pyramid for reference frame selection. This may not be supported
	// on all decoders. The default is `false`.
	BPyramid bool `protobuf:"varint,12,opt,name=b_pyramid,json=bPyramid,proto3" json:"b_pyramid,omitempty"`
	// The number of consecutive B-frames. Must be greater than or equal to
	// zero. Must be less than
	// [gop_frame_count][google.cloud.video.livestream.v1.VideoStream.H264CodecSettings.gop_frame_count]
	// if set. The default is 0.
	BFrameCount int32 `protobuf:"varint,13,opt,name=b_frame_count,json=bFrameCount,proto3" json:"b_frame_count,omitempty"`
	// Specify the intensity of the adaptive quantizer (AQ). Must be between 0
	// and 1, where 0 disables the quantizer and 1 maximizes the quantizer. A
	// higher value equals a lower bitrate but smoother image. The default is 0.
	AqStrength float64 `protobuf:"fixed64,14,opt,name=aq_strength,json=aqStrength,proto3" json:"aq_strength,omitempty"`
	// Enforces the specified codec profile. The following profiles are
	// supported:
	//
	// *   `baseline`
	// *   `main` (default)
	// *   `high`
	//
	// The available options are [FFmpeg-compatible Profile
	// Options](https://trac.ffmpeg.org/wiki/Encode/H.264#Profile).
	// Note that certain values for this field may cause the
	// transcoder to override other fields you set in the
	// [H264CodecSettings][google.cloud.video.livestream.v1.VideoStream.H264CodecSettings]
	// message.
	Profile string `protobuf:"bytes,15,opt,name=profile,proto3" json:"profile,omitempty"`
	// Enforces the specified codec tune. The available options are
	// [FFmpeg-compatible Encode
	// Options](https://trac.ffmpeg.org/wiki/Encode/H.264#Tune)
	// Note that certain values for this field may cause the transcoder to
	// override other fields you set in the
	// [H264CodecSettings][google.cloud.video.livestream.v1.VideoStream.H264CodecSettings]
	// message.
	Tune string `protobuf:"bytes,16,opt,name=tune,proto3" json:"tune,omitempty"`
	// contains filtered or unexported fields
}

H264 codec settings.

func (*VideoStream_H264CodecSettings) Descriptor deprecated

func (*VideoStream_H264CodecSettings) Descriptor() ([]byte, []int)

Deprecated: Use VideoStream_H264CodecSettings.ProtoReflect.Descriptor instead.

func (*VideoStream_H264CodecSettings) GetAllowOpenGop

func (x *VideoStream_H264CodecSettings) GetAllowOpenGop() bool

func (*VideoStream_H264CodecSettings) GetAqStrength

func (x *VideoStream_H264CodecSettings) GetAqStrength() float64

func (*VideoStream_H264CodecSettings) GetBFrameCount

func (x *VideoStream_H264CodecSettings) GetBFrameCount() int32

func (*VideoStream_H264CodecSettings) GetBPyramid

func (x *VideoStream_H264CodecSettings) GetBPyramid() bool

func (*VideoStream_H264CodecSettings) GetBitrateBps

func (x *VideoStream_H264CodecSettings) GetBitrateBps() int32

func (*VideoStream_H264CodecSettings) GetEntropyCoder

func (x *VideoStream_H264CodecSettings) GetEntropyCoder() string

func (*VideoStream_H264CodecSettings) GetFrameRate

func (x *VideoStream_H264CodecSettings) GetFrameRate() float64

func (*VideoStream_H264CodecSettings) GetGopDuration

func (x *VideoStream_H264CodecSettings) GetGopDuration() *durationpb.Duration

func (*VideoStream_H264CodecSettings) GetGopFrameCount

func (x *VideoStream_H264CodecSettings) GetGopFrameCount() int32

func (*VideoStream_H264CodecSettings) GetGopMode

func (m *VideoStream_H264CodecSettings) GetGopMode() isVideoStream_H264CodecSettings_GopMode

func (*VideoStream_H264CodecSettings) GetHeightPixels

func (x *VideoStream_H264CodecSettings) GetHeightPixels() int32

func (*VideoStream_H264CodecSettings) GetProfile

func (x *VideoStream_H264CodecSettings) GetProfile() string

func (*VideoStream_H264CodecSettings) GetTune

func (*VideoStream_H264CodecSettings) GetVbvFullnessBits

func (x *VideoStream_H264CodecSettings) GetVbvFullnessBits() int32

func (*VideoStream_H264CodecSettings) GetVbvSizeBits

func (x *VideoStream_H264CodecSettings) GetVbvSizeBits() int32

func (*VideoStream_H264CodecSettings) GetWidthPixels

func (x *VideoStream_H264CodecSettings) GetWidthPixels() int32

func (*VideoStream_H264CodecSettings) ProtoMessage

func (*VideoStream_H264CodecSettings) ProtoMessage()

func (*VideoStream_H264CodecSettings) ProtoReflect

func (*VideoStream_H264CodecSettings) Reset

func (x *VideoStream_H264CodecSettings) Reset()

func (*VideoStream_H264CodecSettings) String

type VideoStream_H264CodecSettings_GopDuration

type VideoStream_H264CodecSettings_GopDuration struct {
	// Select the GOP size based on the specified duration. The default is
	// `2s`. Note that `gopDuration` must be less than or equal to
	// [segment_duration][google.cloud.video.livestream.v1.SegmentSettings.segment_duration],
	// and
	// [segment_duration][google.cloud.video.livestream.v1.SegmentSettings.segment_duration]
	// must be divisible by `gopDuration`. Valid range is [2s, 20s].
	//
	// All video streams in the same channel must have the same GOP size.
	GopDuration *durationpb.Duration `protobuf:"bytes,8,opt,name=gop_duration,json=gopDuration,proto3,oneof"`
}

type VideoStream_H264CodecSettings_GopFrameCount

type VideoStream_H264CodecSettings_GopFrameCount struct {
	// Select the GOP size based on the specified frame count.
	// If GOP frame count is set instead of GOP duration, GOP duration will be
	// calculated by `gopFrameCount`/`frameRate`. The calculated GOP duration
	// must satisfy the limitations on `gopDuration` as well.
	// Valid range is [60, 600].
	GopFrameCount int32 `protobuf:"varint,7,opt,name=gop_frame_count,json=gopFrameCount,proto3,oneof"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL