Variables
Manifest_ManifestType_name, Manifest_ManifestType_value
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.
TimecodeConfig_TimecodeSource_name, TimecodeConfig_TimecodeSource_value
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.
Input_Type_name, Input_Type_value
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.
Input_Tier_name, Input_Tier_value
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.
Channel_StreamingState_name, Channel_StreamingState_value
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.
InputConfig_InputSwitchMode_name, InputConfig_InputSwitchMode_value
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.
LogConfig_LogSeverity_name, LogConfig_LogSeverity_value
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.
Event_State_name, Event_State_value
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.
Clip_State_name, Clip_State_value
var (
Clip_State_name = map[int32]string{
0: "STATE_UNSPECIFIED",
1: "PENDING",
2: "CREATING",
3: "SUCCEEDED",
4: "FAILED",
}
Clip_State_value = map[string]int32{
"STATE_UNSPECIFIED": 0,
"PENDING": 1,
"CREATING": 2,
"SUCCEEDED": 3,
"FAILED": 4,
}
)
Enum value maps for Clip_State.
Asset_State_name, Asset_State_value
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.
File_google_cloud_video_livestream_v1_outputs_proto
var File_google_cloud_video_livestream_v1_outputs_proto protoreflect.FileDescriptor
File_google_cloud_video_livestream_v1_resources_proto
var File_google_cloud_video_livestream_v1_resources_proto protoreflect.FileDescriptor
File_google_cloud_video_livestream_v1_service_proto
var File_google_cloud_video_livestream_v1_service_proto protoreflect.FileDescriptor
Functions
func RegisterLivestreamServiceServer
func RegisterLivestreamServiceServer(s *grpc.Server, srv LivestreamServiceServer)
Asset
type Asset struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
Labels map[string]string "" /* 153 byte string literal not displayed */
Resource isAsset_Resource `protobuf_oneof:"resource"`
Crc32C string `protobuf:"bytes,7,opt,name=crc32c,proto3" json:"crc32c,omitempty"`
State Asset_State `protobuf:"varint,8,opt,name=state,proto3,enum=google.cloud.video.livestream.v1.Asset_State" json:"state,omitempty"`
Error *status.Status `protobuf:"bytes,9,opt,name=error,proto3" json:"error,omitempty"`
}
An asset represents a video or an image.
func (*Asset) Descriptor
Deprecated: Use Asset.ProtoReflect.Descriptor instead.
func (*Asset) GetCrc32C
func (*Asset) GetCreateTime
func (x *Asset) GetCreateTime() *timestamppb.Timestamp
func (*Asset) GetError
func (*Asset) GetImage
func (x *Asset) GetImage() *Asset_ImageAsset
func (*Asset) GetLabels
func (*Asset) GetName
func (*Asset) GetResource
func (m *Asset) GetResource() isAsset_Resource
func (*Asset) GetState
func (x *Asset) GetState() Asset_State
func (*Asset) GetUpdateTime
func (x *Asset) GetUpdateTime() *timestamppb.Timestamp
func (*Asset) GetVideo
func (x *Asset) GetVideo() *Asset_VideoAsset
func (*Asset) ProtoMessage
func (*Asset) ProtoMessage()
func (*Asset) ProtoReflect
func (x *Asset) ProtoReflect() protoreflect.Message
func (*Asset) Reset
func (x *Asset) Reset()
func (*Asset) String
Asset_Image
type Asset_Image struct {
// ImageAsset represents an image.
Image *Asset_ImageAsset `protobuf:"bytes,6,opt,name=image,proto3,oneof"`
}
Asset_ImageAsset
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 formats are JPEG, PNG.
func (*Asset_ImageAsset) Descriptor
func (*Asset_ImageAsset) Descriptor() ([]byte, []int)
Deprecated: Use Asset_ImageAsset.ProtoReflect.Descriptor instead.
func (*Asset_ImageAsset) GetUri
func (x *Asset_ImageAsset) GetUri() string
func (*Asset_ImageAsset) ProtoMessage
func (*Asset_ImageAsset) ProtoMessage()
func (*Asset_ImageAsset) ProtoReflect
func (x *Asset_ImageAsset) ProtoReflect() protoreflect.Message
func (*Asset_ImageAsset) Reset
func (x *Asset_ImageAsset) Reset()
func (*Asset_ImageAsset) String
func (x *Asset_ImageAsset) String() string
Asset_State
type Asset_State int32
State of the asset resource.
Asset_STATE_UNSPECIFIED, Asset_CREATING, Asset_ACTIVE, Asset_DELETING, Asset_ERROR
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
func (Asset_State) Descriptor() protoreflect.EnumDescriptor
func (Asset_State) Enum
func (x Asset_State) Enum() *Asset_State
func (Asset_State) EnumDescriptor
func (Asset_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use Asset_State.Descriptor instead.
func (Asset_State) Number
func (x Asset_State) Number() protoreflect.EnumNumber
func (Asset_State) String
func (x Asset_State) String() string
func (Asset_State) Type
func (Asset_State) Type() protoreflect.EnumType
Asset_Video
type Asset_Video struct {
// VideoAsset represents a video.
Video *Asset_VideoAsset `protobuf:"bytes,5,opt,name=video,proto3,oneof"`
}
Asset_VideoAsset
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
func (*Asset_VideoAsset) Descriptor() ([]byte, []int)
Deprecated: Use Asset_VideoAsset.ProtoReflect.Descriptor instead.
func (*Asset_VideoAsset) GetUri
func (x *Asset_VideoAsset) GetUri() string
func (*Asset_VideoAsset) ProtoMessage
func (*Asset_VideoAsset) ProtoMessage()
func (*Asset_VideoAsset) ProtoReflect
func (x *Asset_VideoAsset) ProtoReflect() protoreflect.Message
func (*Asset_VideoAsset) Reset
func (x *Asset_VideoAsset) Reset()
func (*Asset_VideoAsset) String
func (x *Asset_VideoAsset) String() string
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
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
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
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
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
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
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
func (*AudioStream_AudioMapping) Descriptor() ([]byte, []int)
Deprecated: Use AudioStream_AudioMapping.ProtoReflect.Descriptor instead.
func (*AudioStream_AudioMapping) GetGainDb
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
Channel
type Channel struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
Labels map[string]string "" /* 153 byte string literal not displayed */
InputAttachments []*InputAttachment `protobuf:"bytes,16,rep,name=input_attachments,json=inputAttachments,proto3" json:"input_attachments,omitempty"`
ActiveInput string `protobuf:"bytes,6,opt,name=active_input,json=activeInput,proto3" json:"active_input,omitempty"`
Output *Channel_Output `protobuf:"bytes,9,opt,name=output,proto3" json:"output,omitempty"`
ElementaryStreams []*ElementaryStream `protobuf:"bytes,10,rep,name=elementary_streams,json=elementaryStreams,proto3" json:"elementary_streams,omitempty"`
MuxStreams []*MuxStream `protobuf:"bytes,11,rep,name=mux_streams,json=muxStreams,proto3" json:"mux_streams,omitempty"`
Manifests []*Manifest `protobuf:"bytes,12,rep,name=manifests,proto3" json:"manifests,omitempty"`
SpriteSheets []*SpriteSheet `protobuf:"bytes,13,rep,name=sprite_sheets,json=spriteSheets,proto3" json:"sprite_sheets,omitempty"`
StreamingState Channel_StreamingState "" /* 166 byte string literal not displayed */
StreamingError *status.Status `protobuf:"bytes,18,opt,name=streaming_error,json=streamingError,proto3" json:"streaming_error,omitempty"`
LogConfig *LogConfig `protobuf:"bytes,19,opt,name=log_config,json=logConfig,proto3" json:"log_config,omitempty"`
TimecodeConfig *TimecodeConfig `protobuf:"bytes,21,opt,name=timecode_config,json=timecodeConfig,proto3" json:"timecode_config,omitempty"`
Encryptions []*Encryption `protobuf:"bytes,24,rep,name=encryptions,proto3" json:"encryptions,omitempty"`
InputConfig *InputConfig `protobuf:"bytes,25,opt,name=input_config,json=inputConfig,proto3" json:"input_config,omitempty"`
RetentionConfig *RetentionConfig `protobuf:"bytes,26,opt,name=retention_config,json=retentionConfig,proto3" json:"retention_config,omitempty"`
StaticOverlays []*StaticOverlay `protobuf:"bytes,27,rep,name=static_overlays,json=staticOverlays,proto3" json:"static_overlays,omitempty"`
}
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: Use Channel.ProtoReflect.Descriptor instead.
func (*Channel) GetActiveInput
func (*Channel) GetCreateTime
func (x *Channel) GetCreateTime() *timestamppb.Timestamp
func (*Channel) GetElementaryStreams
func (x *Channel) GetElementaryStreams() []*ElementaryStream
func (*Channel) GetEncryptions
func (x *Channel) GetEncryptions() []*Encryption
func (*Channel) GetInputAttachments
func (x *Channel) GetInputAttachments() []*InputAttachment
func (*Channel) GetInputConfig
func (x *Channel) GetInputConfig() *InputConfig
func (*Channel) GetLabels
func (*Channel) GetLogConfig
func (*Channel) GetManifests
func (*Channel) GetMuxStreams
func (*Channel) GetName
func (*Channel) GetOutput
func (x *Channel) GetOutput() *Channel_Output
func (*Channel) GetRetentionConfig
func (x *Channel) GetRetentionConfig() *RetentionConfig
func (*Channel) GetSpriteSheets
func (x *Channel) GetSpriteSheets() []*SpriteSheet
func (*Channel) GetStaticOverlays
func (x *Channel) GetStaticOverlays() []*StaticOverlay
func (*Channel) GetStreamingError
func (*Channel) GetStreamingState
func (x *Channel) GetStreamingState() Channel_StreamingState
func (*Channel) GetTimecodeConfig
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
ChannelOperationResponse
type ChannelOperationResponse struct {
// contains filtered or unexported fields
}
Response message for Start/Stop Channel long-running operations.
func (*ChannelOperationResponse) Descriptor
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
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
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
Channel_StreamingState
type Channel_StreamingState int32
State of streaming operation that the channel is running.
Channel_STREAMING_STATE_UNSPECIFIED, Channel_STREAMING, Channel_AWAITING_INPUT, Channel_STREAMING_ERROR, Channel_STREAMING_NO_INPUT, Channel_STOPPED, Channel_STARTING, Channel_STOPPING
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) Descriptor() protoreflect.EnumDescriptor
func (Channel_StreamingState) Enum
func (x Channel_StreamingState) Enum() *Channel_StreamingState
func (Channel_StreamingState) EnumDescriptor
func (Channel_StreamingState) EnumDescriptor() ([]byte, []int)
Deprecated: Use Channel_StreamingState.Descriptor instead.
func (Channel_StreamingState) Number
func (x Channel_StreamingState) Number() protoreflect.EnumNumber
func (Channel_StreamingState) String
func (x Channel_StreamingState) String() string
func (Channel_StreamingState) Type
func (Channel_StreamingState) Type() protoreflect.EnumType
Clip
type Clip struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
StartTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
Labels map[string]string "" /* 153 byte string literal not displayed */
State Clip_State `protobuf:"varint,6,opt,name=state,proto3,enum=google.cloud.video.livestream.v1.Clip_State" json:"state,omitempty"`
OutputUri string `protobuf:"bytes,7,opt,name=output_uri,json=outputUri,proto3" json:"output_uri,omitempty"`
Error *status.Status `protobuf:"bytes,9,opt,name=error,proto3" json:"error,omitempty"`
Slices []*Clip_Slice `protobuf:"bytes,10,rep,name=slices,proto3" json:"slices,omitempty"`
ClipManifests []*Clip_ClipManifest `protobuf:"bytes,12,rep,name=clip_manifests,json=clipManifests,proto3" json:"clip_manifests,omitempty"`
}
Clip is a sub-resource under channel. Each clip represents a clipping operation that generates a VOD playlist from its channel given a set of timestamp ranges.
func (*Clip) Descriptor
Deprecated: Use Clip.ProtoReflect.Descriptor instead.
func (*Clip) GetClipManifests
func (x *Clip) GetClipManifests() []*Clip_ClipManifest
func (*Clip) GetCreateTime
func (x *Clip) GetCreateTime() *timestamppb.Timestamp
func (*Clip) GetError
func (*Clip) GetLabels
func (*Clip) GetName
func (*Clip) GetOutputUri
func (*Clip) GetSlices
func (x *Clip) GetSlices() []*Clip_Slice
func (*Clip) GetStartTime
func (x *Clip) GetStartTime() *timestamppb.Timestamp
func (*Clip) GetState
func (x *Clip) GetState() Clip_State
func (*Clip) GetUpdateTime
func (x *Clip) GetUpdateTime() *timestamppb.Timestamp
func (*Clip) ProtoMessage
func (*Clip) ProtoMessage()
func (*Clip) ProtoReflect
func (x *Clip) ProtoReflect() protoreflect.Message
func (*Clip) Reset
func (x *Clip) Reset()
func (*Clip) String
Clip_ClipManifest
type Clip_ClipManifest struct {
// Required. A unique key that identifies a manifest config in the parent
// channel. This key is the same as `channel.manifests.key` for the selected
// manifest.
ManifestKey string `protobuf:"bytes,1,opt,name=manifest_key,json=manifestKey,proto3" json:"manifest_key,omitempty"`
// Output only. The output URI of the generated clip manifest. This field
// will be populated when the CreateClip request is accepted. Current output
// format is provided below but may change in the future. Please read this
// field to get the uri to the generated clip manifest. Format:
// {clip.output_uri}/{channel.manifest.fileName} Example:
// gs://my-bucket/clip-outputs/main.m3u8
OutputUri string `protobuf:"bytes,2,opt,name=output_uri,json=outputUri,proto3" json:"output_uri,omitempty"`
// contains filtered or unexported fields
}
ClipManifest identifies a source manifest for the generated clip manifest.
func (*Clip_ClipManifest) Descriptor
func (*Clip_ClipManifest) Descriptor() ([]byte, []int)
Deprecated: Use Clip_ClipManifest.ProtoReflect.Descriptor instead.
func (*Clip_ClipManifest) GetManifestKey
func (x *Clip_ClipManifest) GetManifestKey() string
func (*Clip_ClipManifest) GetOutputUri
func (x *Clip_ClipManifest) GetOutputUri() string
func (*Clip_ClipManifest) ProtoMessage
func (*Clip_ClipManifest) ProtoMessage()
func (*Clip_ClipManifest) ProtoReflect
func (x *Clip_ClipManifest) ProtoReflect() protoreflect.Message
func (*Clip_ClipManifest) Reset
func (x *Clip_ClipManifest) Reset()
func (*Clip_ClipManifest) String
func (x *Clip_ClipManifest) String() string
Clip_Slice
type Clip_Slice struct {
// The allowlist forms of a slice.
//
// Types that are assignable to Kind:
//
// *Clip_Slice_TimeSlice
Kind isClip_Slice_Kind `protobuf_oneof:"kind"`
// contains filtered or unexported fields
}
Slice represents a slice of the requested clip.
func (*Clip_Slice) Descriptor
func (*Clip_Slice) Descriptor() ([]byte, []int)
Deprecated: Use Clip_Slice.ProtoReflect.Descriptor instead.
func (*Clip_Slice) GetKind
func (m *Clip_Slice) GetKind() isClip_Slice_Kind
func (*Clip_Slice) GetTimeSlice
func (x *Clip_Slice) GetTimeSlice() *Clip_TimeSlice
func (*Clip_Slice) ProtoMessage
func (*Clip_Slice) ProtoMessage()
func (*Clip_Slice) ProtoReflect
func (x *Clip_Slice) ProtoReflect() protoreflect.Message
func (*Clip_Slice) Reset
func (x *Clip_Slice) Reset()
func (*Clip_Slice) String
func (x *Clip_Slice) String() string
Clip_Slice_TimeSlice
type Clip_Slice_TimeSlice struct {
// A slice in form of a tuple of Unix epoch time.
TimeSlice *Clip_TimeSlice `protobuf:"bytes,1,opt,name=time_slice,json=timeSlice,proto3,oneof"`
}
Clip_State
type Clip_State int32
State of clipping operation.
Clip_STATE_UNSPECIFIED, Clip_PENDING, Clip_CREATING, Clip_SUCCEEDED, Clip_FAILED
const (
// State is not specified.
Clip_STATE_UNSPECIFIED Clip_State = 0
// The operation is pending to be picked up by the server.
Clip_PENDING Clip_State = 1
// The server admitted this create clip request, and
// outputs are under processing.
Clip_CREATING Clip_State = 2
// Outputs are available in the specified Cloud Storage bucket. For
// additional information, see the `outputs` field.
Clip_SUCCEEDED Clip_State = 3
// The operation has failed. For additional information, see the `error`
// field.
Clip_FAILED Clip_State = 4
)
func (Clip_State) Descriptor
func (Clip_State) Descriptor() protoreflect.EnumDescriptor
func (Clip_State) Enum
func (x Clip_State) Enum() *Clip_State
func (Clip_State) EnumDescriptor
func (Clip_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use Clip_State.Descriptor instead.
func (Clip_State) Number
func (x Clip_State) Number() protoreflect.EnumNumber
func (Clip_State) String
func (x Clip_State) String() string
func (Clip_State) Type
func (Clip_State) Type() protoreflect.EnumType
Clip_TimeSlice
type Clip_TimeSlice struct {
// The mark-in Unix epoch time in the original live stream manifest.
MarkinTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=markin_time,json=markinTime,proto3" json:"markin_time,omitempty"`
// The mark-out Unix epoch time in the original live stream manifest.
MarkoutTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=markout_time,json=markoutTime,proto3" json:"markout_time,omitempty"`
// contains filtered or unexported fields
}
TimeSlice represents a tuple of Unix epoch timestamps that specifies a time range.
func (*Clip_TimeSlice) Descriptor
func (*Clip_TimeSlice) Descriptor() ([]byte, []int)
Deprecated: Use Clip_TimeSlice.ProtoReflect.Descriptor instead.
func (*Clip_TimeSlice) GetMarkinTime
func (x *Clip_TimeSlice) GetMarkinTime() *timestamppb.Timestamp
func (*Clip_TimeSlice) GetMarkoutTime
func (x *Clip_TimeSlice) GetMarkoutTime() *timestamppb.Timestamp
func (*Clip_TimeSlice) ProtoMessage
func (*Clip_TimeSlice) ProtoMessage()
func (*Clip_TimeSlice) ProtoReflect
func (x *Clip_TimeSlice) ProtoReflect() protoreflect.Message
func (*Clip_TimeSlice) Reset
func (x *Clip_TimeSlice) Reset()
func (*Clip_TimeSlice) String
func (x *Clip_TimeSlice) String() string
CreateAssetRequest
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
func (*CreateAssetRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateAssetRequest.ProtoReflect.Descriptor instead.
func (*CreateAssetRequest) GetAsset
func (x *CreateAssetRequest) GetAsset() *Asset
func (*CreateAssetRequest) GetAssetId
func (x *CreateAssetRequest) GetAssetId() string
func (*CreateAssetRequest) GetParent
func (x *CreateAssetRequest) GetParent() string
func (*CreateAssetRequest) GetRequestId
func (x *CreateAssetRequest) GetRequestId() string
func (*CreateAssetRequest) ProtoMessage
func (*CreateAssetRequest) ProtoMessage()
func (*CreateAssetRequest) ProtoReflect
func (x *CreateAssetRequest) ProtoReflect() protoreflect.Message
func (*CreateAssetRequest) Reset
func (x *CreateAssetRequest) Reset()
func (*CreateAssetRequest) String
func (x *CreateAssetRequest) String() string
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
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
CreateClipRequest
type CreateClipRequest struct {
// Required. The parent resource name, in the following form:
// `projects/{project}/locations/{location}/channels/{channel}`.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. Id of the requesting object in the following form:
//
// 1. 1 character minimum, 63 characters maximum
// 2. Only contains letters, digits, underscores, and hyphens
ClipId string `protobuf:"bytes,2,opt,name=clip_id,json=clipId,proto3" json:"clip_id,omitempty"`
// Required. The resource being created
Clip *Clip `protobuf:"bytes,3,opt,name=clip,proto3" json:"clip,omitempty"`
// Optional. An optional 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.CreateClip".
func (*CreateClipRequest) Descriptor
func (*CreateClipRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateClipRequest.ProtoReflect.Descriptor instead.
func (*CreateClipRequest) GetClip
func (x *CreateClipRequest) GetClip() *Clip
func (*CreateClipRequest) GetClipId
func (x *CreateClipRequest) GetClipId() string
func (*CreateClipRequest) GetParent
func (x *CreateClipRequest) GetParent() string
func (*CreateClipRequest) GetRequestId
func (x *CreateClipRequest) GetRequestId() string
func (*CreateClipRequest) ProtoMessage
func (*CreateClipRequest) ProtoMessage()
func (*CreateClipRequest) ProtoReflect
func (x *CreateClipRequest) ProtoReflect() protoreflect.Message
func (*CreateClipRequest) Reset
func (x *CreateClipRequest) Reset()
func (*CreateClipRequest) String
func (x *CreateClipRequest) String() string
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
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
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
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
DeleteAssetRequest
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
func (*DeleteAssetRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteAssetRequest.ProtoReflect.Descriptor instead.
func (*DeleteAssetRequest) GetName
func (x *DeleteAssetRequest) GetName() string
func (*DeleteAssetRequest) GetRequestId
func (x *DeleteAssetRequest) GetRequestId() string
func (*DeleteAssetRequest) ProtoMessage
func (*DeleteAssetRequest) ProtoMessage()
func (*DeleteAssetRequest) ProtoReflect
func (x *DeleteAssetRequest) ProtoReflect() protoreflect.Message
func (*DeleteAssetRequest) Reset
func (x *DeleteAssetRequest) Reset()
func (*DeleteAssetRequest) String
func (x *DeleteAssetRequest) String() string
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
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
DeleteClipRequest
type DeleteClipRequest struct {
// Required. The name of the clip resource, in the form of:
// `projects/{project}/locations/{location}/channels/{channelId}/clips/{clipId}`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. 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.DeleteClip".
func (*DeleteClipRequest) Descriptor
func (*DeleteClipRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteClipRequest.ProtoReflect.Descriptor instead.
func (*DeleteClipRequest) GetName
func (x *DeleteClipRequest) GetName() string
func (*DeleteClipRequest) GetRequestId
func (x *DeleteClipRequest) GetRequestId() string
func (*DeleteClipRequest) ProtoMessage
func (*DeleteClipRequest) ProtoMessage()
func (*DeleteClipRequest) ProtoReflect
func (x *DeleteClipRequest) ProtoReflect() protoreflect.Message
func (*DeleteClipRequest) Reset
func (x *DeleteClipRequest) Reset()
func (*DeleteClipRequest) String
func (x *DeleteClipRequest) String() string
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
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
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
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
ElementaryStream
type ElementaryStream struct {
// A unique key for this elementary stream. The key must be 1-63
// characters in length. The key must begin and end with a letter (regardless
// of case) or a number, but can contain dashes or underscores in between.
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
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
ElementaryStream_AudioStream
type ElementaryStream_AudioStream struct {
// Encoding of an audio stream.
AudioStream *AudioStream `protobuf:"bytes,2,opt,name=audio_stream,json=audioStream,proto3,oneof"`
}
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"`
}
ElementaryStream_VideoStream
type ElementaryStream_VideoStream struct {
// Encoding of a video stream.
VideoStream *VideoStream `protobuf:"bytes,1,opt,name=video_stream,json=videoStream,proto3,oneof"`
}
Encryption
type Encryption struct {
// Required. Identifier for this set of encryption options. The ID must be
// 1-63 characters in length. The ID must begin and end with a letter
// (regardless of case) or a number, but can contain dashes or underscores in
// between.
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
func (*Encryption) Descriptor() ([]byte, []int)
Deprecated: Use Encryption.ProtoReflect.Descriptor instead.
func (*Encryption) GetAes128
func (x *Encryption) GetAes128() *Encryption_Aes128Encryption
func (*Encryption) GetDrmSystems
func (x *Encryption) GetDrmSystems() *Encryption_DrmSystems
func (*Encryption) GetEncryptionMode
func (m *Encryption) GetEncryptionMode() isEncryption_EncryptionMode
func (*Encryption) GetId
func (x *Encryption) GetId() string
func (*Encryption) GetMpegCenc
func (x *Encryption) GetMpegCenc() *Encryption_MpegCommonEncryption
func (*Encryption) GetSampleAes
func (x *Encryption) GetSampleAes() *Encryption_SampleAesEncryption
func (*Encryption) GetSecretManagerKeySource
func (x *Encryption) GetSecretManagerKeySource() *Encryption_SecretManagerSource
func (*Encryption) GetSecretSource
func (m *Encryption) GetSecretSource() isEncryption_SecretSource
func (*Encryption) ProtoMessage
func (*Encryption) ProtoMessage()
func (*Encryption) ProtoReflect
func (x *Encryption) ProtoReflect() protoreflect.Message
func (*Encryption) Reset
func (x *Encryption) Reset()
func (*Encryption) String
func (x *Encryption) String() string
Encryption_Aes128
type Encryption_Aes128 struct {
// Configuration for HLS AES-128 encryption.
Aes128 *Encryption_Aes128Encryption `protobuf:"bytes,4,opt,name=aes128,proto3,oneof"`
}
Encryption_Aes128Encryption
type Encryption_Aes128Encryption struct {
// contains filtered or unexported fields
}
Configuration for HLS AES-128 encryption.
func (*Encryption_Aes128Encryption) Descriptor
func (*Encryption_Aes128Encryption) Descriptor() ([]byte, []int)
Deprecated: Use Encryption_Aes128Encryption.ProtoReflect.Descriptor instead.
func (*Encryption_Aes128Encryption) ProtoMessage
func (*Encryption_Aes128Encryption) ProtoMessage()
func (*Encryption_Aes128Encryption) ProtoReflect
func (x *Encryption_Aes128Encryption) ProtoReflect() protoreflect.Message
func (*Encryption_Aes128Encryption) Reset
func (x *Encryption_Aes128Encryption) Reset()
func (*Encryption_Aes128Encryption) String
func (x *Encryption_Aes128Encryption) String() string
Encryption_Clearkey
type Encryption_Clearkey struct {
// contains filtered or unexported fields
}
Clearkey configuration.
func (*Encryption_Clearkey) Descriptor
func (*Encryption_Clearkey) Descriptor() ([]byte, []int)
Deprecated: Use Encryption_Clearkey.ProtoReflect.Descriptor instead.
func (*Encryption_Clearkey) ProtoMessage
func (*Encryption_Clearkey) ProtoMessage()
func (*Encryption_Clearkey) ProtoReflect
func (x *Encryption_Clearkey) ProtoReflect() protoreflect.Message
func (*Encryption_Clearkey) Reset
func (x *Encryption_Clearkey) Reset()
func (*Encryption_Clearkey) String
func (x *Encryption_Clearkey) String() string
Encryption_DrmSystems
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
func (*Encryption_DrmSystems) Descriptor() ([]byte, []int)
Deprecated: Use Encryption_DrmSystems.ProtoReflect.Descriptor instead.
func (*Encryption_DrmSystems) GetClearkey
func (x *Encryption_DrmSystems) GetClearkey() *Encryption_Clearkey
func (*Encryption_DrmSystems) GetFairplay
func (x *Encryption_DrmSystems) GetFairplay() *Encryption_Fairplay
func (*Encryption_DrmSystems) GetPlayready
func (x *Encryption_DrmSystems) GetPlayready() *Encryption_Playready
func (*Encryption_DrmSystems) GetWidevine
func (x *Encryption_DrmSystems) GetWidevine() *Encryption_Widevine
func (*Encryption_DrmSystems) ProtoMessage
func (*Encryption_DrmSystems) ProtoMessage()
func (*Encryption_DrmSystems) ProtoReflect
func (x *Encryption_DrmSystems) ProtoReflect() protoreflect.Message
func (*Encryption_DrmSystems) Reset
func (x *Encryption_DrmSystems) Reset()
func (*Encryption_DrmSystems) String
func (x *Encryption_DrmSystems) String() string
Encryption_Fairplay
type Encryption_Fairplay struct {
// contains filtered or unexported fields
}
Fairplay configuration.
func (*Encryption_Fairplay) Descriptor
func (*Encryption_Fairplay) Descriptor() ([]byte, []int)
Deprecated: Use Encryption_Fairplay.ProtoReflect.Descriptor instead.
func (*Encryption_Fairplay) ProtoMessage
func (*Encryption_Fairplay) ProtoMessage()
func (*Encryption_Fairplay) ProtoReflect
func (x *Encryption_Fairplay) ProtoReflect() protoreflect.Message
func (*Encryption_Fairplay) Reset
func (x *Encryption_Fairplay) Reset()
func (*Encryption_Fairplay) String
func (x *Encryption_Fairplay) String() string
Encryption_MpegCenc
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"`
}
Encryption_MpegCommonEncryption
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
func (*Encryption_MpegCommonEncryption) Descriptor() ([]byte, []int)
Deprecated: Use Encryption_MpegCommonEncryption.ProtoReflect.Descriptor instead.
func (*Encryption_MpegCommonEncryption) GetScheme
func (x *Encryption_MpegCommonEncryption) GetScheme() string
func (*Encryption_MpegCommonEncryption) ProtoMessage
func (*Encryption_MpegCommonEncryption) ProtoMessage()
func (*Encryption_MpegCommonEncryption) ProtoReflect
func (x *Encryption_MpegCommonEncryption) ProtoReflect() protoreflect.Message
func (*Encryption_MpegCommonEncryption) Reset
func (x *Encryption_MpegCommonEncryption) Reset()
func (*Encryption_MpegCommonEncryption) String
func (x *Encryption_MpegCommonEncryption) String() string
Encryption_Playready
type Encryption_Playready struct {
// contains filtered or unexported fields
}
Playready configuration.
func (*Encryption_Playready) Descriptor
func (*Encryption_Playready) Descriptor() ([]byte, []int)
Deprecated: Use Encryption_Playready.ProtoReflect.Descriptor instead.
func (*Encryption_Playready) ProtoMessage
func (*Encryption_Playready) ProtoMessage()
func (*Encryption_Playready) ProtoReflect
func (x *Encryption_Playready) ProtoReflect() protoreflect.Message
func (*Encryption_Playready) Reset
func (x *Encryption_Playready) Reset()
func (*Encryption_Playready) String
func (x *Encryption_Playready) String() string
Encryption_SampleAes
type Encryption_SampleAes struct {
// Configuration for HLS SAMPLE-AES encryption.
SampleAes *Encryption_SampleAesEncryption `protobuf:"bytes,5,opt,name=sample_aes,json=sampleAes,proto3,oneof"`
}
Encryption_SampleAesEncryption
type Encryption_SampleAesEncryption struct {
// contains filtered or unexported fields
}
Configuration for HLS SAMPLE-AES encryption.
func (*Encryption_SampleAesEncryption) Descriptor
func (*Encryption_SampleAesEncryption) Descriptor() ([]byte, []int)
Deprecated: Use Encryption_SampleAesEncryption.ProtoReflect.Descriptor instead.
func (*Encryption_SampleAesEncryption) ProtoMessage
func (*Encryption_SampleAesEncryption) ProtoMessage()
func (*Encryption_SampleAesEncryption) ProtoReflect
func (x *Encryption_SampleAesEncryption) ProtoReflect() protoreflect.Message
func (*Encryption_SampleAesEncryption) Reset
func (x *Encryption_SampleAesEncryption) Reset()
func (*Encryption_SampleAesEncryption) String
func (x *Encryption_SampleAesEncryption) String() string
Encryption_SecretManagerKeySource
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"`
}
Encryption_SecretManagerSource
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
func (*Encryption_SecretManagerSource) Descriptor() ([]byte, []int)
Deprecated: Use Encryption_SecretManagerSource.ProtoReflect.Descriptor instead.
func (*Encryption_SecretManagerSource) GetSecretVersion
func (x *Encryption_SecretManagerSource) GetSecretVersion() string
func (*Encryption_SecretManagerSource) ProtoMessage
func (*Encryption_SecretManagerSource) ProtoMessage()
func (*Encryption_SecretManagerSource) ProtoReflect
func (x *Encryption_SecretManagerSource) ProtoReflect() protoreflect.Message
func (*Encryption_SecretManagerSource) Reset
func (x *Encryption_SecretManagerSource) Reset()
func (*Encryption_SecretManagerSource) String
func (x *Encryption_SecretManagerSource) String() string
Encryption_Widevine
type Encryption_Widevine struct {
// contains filtered or unexported fields
}
Widevine configuration.
func (*Encryption_Widevine) Descriptor
func (*Encryption_Widevine) Descriptor() ([]byte, []int)
Deprecated: Use Encryption_Widevine.ProtoReflect.Descriptor instead.
func (*Encryption_Widevine) ProtoMessage
func (*Encryption_Widevine) ProtoMessage()
func (*Encryption_Widevine) ProtoReflect
func (x *Encryption_Widevine) ProtoReflect() protoreflect.Message
func (*Encryption_Widevine) Reset
func (x *Encryption_Widevine) Reset()
func (*Encryption_Widevine) String
func (x *Encryption_Widevine) String() string
Event
type Event struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
Labels map[string]string "" /* 153 byte string literal not displayed */
Task isEvent_Task `protobuf_oneof:"task"`
ExecuteNow bool `protobuf:"varint,9,opt,name=execute_now,json=executeNow,proto3" json:"execute_now,omitempty"`
ExecutionTime *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=execution_time,json=executionTime,proto3" json:"execution_time,omitempty"`
State Event_State `protobuf:"varint,11,opt,name=state,proto3,enum=google.cloud.video.livestream.v1.Event_State" json:"state,omitempty"`
Error *status.Status `protobuf:"bytes,12,opt,name=error,proto3" json:"error,omitempty"`
}
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: 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 (*Event) GetExecuteNow
func (*Event) GetExecutionTime
func (x *Event) GetExecutionTime() *timestamppb.Timestamp
func (*Event) GetInputSwitch
func (x *Event) GetInputSwitch() *Event_InputSwitchTask
func (*Event) GetLabels
func (*Event) GetMute
func (x *Event) GetMute() *Event_MuteTask
func (*Event) GetName
func (*Event) GetReturnToProgram
func (x *Event) GetReturnToProgram() *Event_ReturnToProgramTask
func (*Event) GetSlate
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
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
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"`
}
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
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
Event_InputSwitch
type Event_InputSwitch struct {
// Switches to another input stream.
InputSwitch *Event_InputSwitchTask `protobuf:"bytes,5,opt,name=input_switch,json=inputSwitch,proto3,oneof"`
}
Event_InputSwitchTask
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
func (*Event_InputSwitchTask) Descriptor() ([]byte, []int)
Deprecated: Use Event_InputSwitchTask.ProtoReflect.Descriptor instead.
func (*Event_InputSwitchTask) GetInputKey
func (x *Event_InputSwitchTask) GetInputKey() string
func (*Event_InputSwitchTask) ProtoMessage
func (*Event_InputSwitchTask) ProtoMessage()
func (*Event_InputSwitchTask) ProtoReflect
func (x *Event_InputSwitchTask) ProtoReflect() protoreflect.Message
func (*Event_InputSwitchTask) Reset
func (x *Event_InputSwitchTask) Reset()
func (*Event_InputSwitchTask) String
func (x *Event_InputSwitchTask) String() string
Event_Mute
type Event_Mute struct {
// Mutes the stream.
Mute *Event_MuteTask `protobuf:"bytes,15,opt,name=mute,proto3,oneof"`
}
Event_MuteTask
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
func (*Event_MuteTask) Descriptor() ([]byte, []int)
Deprecated: Use Event_MuteTask.ProtoReflect.Descriptor instead.
func (*Event_MuteTask) GetDuration
func (x *Event_MuteTask) GetDuration() *durationpb.Duration
func (*Event_MuteTask) ProtoMessage
func (*Event_MuteTask) ProtoMessage()
func (*Event_MuteTask) ProtoReflect
func (x *Event_MuteTask) ProtoReflect() protoreflect.Message
func (*Event_MuteTask) Reset
func (x *Event_MuteTask) Reset()
func (*Event_MuteTask) String
func (x *Event_MuteTask) String() string
Event_ReturnToProgram
type Event_ReturnToProgram struct {
// Stops any running ad break.
ReturnToProgram *Event_ReturnToProgramTask `protobuf:"bytes,13,opt,name=return_to_program,json=returnToProgram,proto3,oneof"`
}
Event_ReturnToProgramTask
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
func (*Event_ReturnToProgramTask) Descriptor() ([]byte, []int)
Deprecated: Use Event_ReturnToProgramTask.ProtoReflect.Descriptor instead.
func (*Event_ReturnToProgramTask) ProtoMessage
func (*Event_ReturnToProgramTask) ProtoMessage()
func (*Event_ReturnToProgramTask) ProtoReflect
func (x *Event_ReturnToProgramTask) ProtoReflect() protoreflect.Message
func (*Event_ReturnToProgramTask) Reset
func (x *Event_ReturnToProgramTask) Reset()
func (*Event_ReturnToProgramTask) String
func (x *Event_ReturnToProgramTask) String() string
Event_Slate
type Event_Slate struct {
// Inserts a slate.
Slate *Event_SlateTask `protobuf:"bytes,14,opt,name=slate,proto3,oneof"`
}
Event_SlateTask
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 the slate loops. 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
func (*Event_SlateTask) Descriptor() ([]byte, []int)
Deprecated: Use Event_SlateTask.ProtoReflect.Descriptor instead.
func (*Event_SlateTask) GetAsset
func (x *Event_SlateTask) GetAsset() string
func (*Event_SlateTask) GetDuration
func (x *Event_SlateTask) GetDuration() *durationpb.Duration
func (*Event_SlateTask) ProtoMessage
func (*Event_SlateTask) ProtoMessage()
func (*Event_SlateTask) ProtoReflect
func (x *Event_SlateTask) ProtoReflect() protoreflect.Message
func (*Event_SlateTask) Reset
func (x *Event_SlateTask) Reset()
func (*Event_SlateTask) String
func (x *Event_SlateTask) String() string
Event_State
type Event_State int32
State of the event
Event_STATE_UNSPECIFIED, Event_SCHEDULED, Event_RUNNING, Event_SUCCEEDED, Event_FAILED, Event_PENDING, Event_STOPPED
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) Descriptor() protoreflect.EnumDescriptor
func (Event_State) Enum
func (x Event_State) Enum() *Event_State
func (Event_State) EnumDescriptor
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
func (Event_State) Type() protoreflect.EnumType
Event_Unmute
type Event_Unmute struct {
// Unmutes the stream.
Unmute *Event_UnmuteTask `protobuf:"bytes,16,opt,name=unmute,proto3,oneof"`
}
Event_UnmuteTask
type Event_UnmuteTask struct {
// contains filtered or unexported fields
}
Unmutes the stream. The task fails if the stream is not currently muted.
func (*Event_UnmuteTask) Descriptor
func (*Event_UnmuteTask) Descriptor() ([]byte, []int)
Deprecated: Use Event_UnmuteTask.ProtoReflect.Descriptor instead.
func (*Event_UnmuteTask) ProtoMessage
func (*Event_UnmuteTask) ProtoMessage()
func (*Event_UnmuteTask) ProtoReflect
func (x *Event_UnmuteTask) ProtoReflect() protoreflect.Message
func (*Event_UnmuteTask) Reset
func (x *Event_UnmuteTask) Reset()
func (*Event_UnmuteTask) String
func (x *Event_UnmuteTask) String() string
GetAssetRequest
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
func (*GetAssetRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAssetRequest.ProtoReflect.Descriptor instead.
func (*GetAssetRequest) GetName
func (x *GetAssetRequest) GetName() string
func (*GetAssetRequest) ProtoMessage
func (*GetAssetRequest) ProtoMessage()
func (*GetAssetRequest) ProtoReflect
func (x *GetAssetRequest) ProtoReflect() protoreflect.Message
func (*GetAssetRequest) Reset
func (x *GetAssetRequest) Reset()
func (*GetAssetRequest) String
func (x *GetAssetRequest) String() string
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
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
GetClipRequest
type GetClipRequest struct {
// Required. Name of the resource, in the following form:
// `projects/{project}/locations/{location}/channels/{channel}/clips/{clip}`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Request message for "LivestreamService.GetClip".
func (*GetClipRequest) Descriptor
func (*GetClipRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetClipRequest.ProtoReflect.Descriptor instead.
func (*GetClipRequest) GetName
func (x *GetClipRequest) GetName() string
func (*GetClipRequest) ProtoMessage
func (*GetClipRequest) ProtoMessage()
func (*GetClipRequest) ProtoReflect
func (x *GetClipRequest) ProtoReflect() protoreflect.Message
func (*GetClipRequest) Reset
func (x *GetClipRequest) Reset()
func (*GetClipRequest) String
func (x *GetClipRequest) String() string
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
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
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
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
GetPoolRequest
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
func (*GetPoolRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetPoolRequest.ProtoReflect.Descriptor instead.
func (*GetPoolRequest) GetName
func (x *GetPoolRequest) GetName() string
func (*GetPoolRequest) ProtoMessage
func (*GetPoolRequest) ProtoMessage()
func (*GetPoolRequest) ProtoReflect
func (x *GetPoolRequest) ProtoReflect() protoreflect.Message
func (*GetPoolRequest) Reset
func (x *GetPoolRequest) Reset()
func (*GetPoolRequest) String
func (x *GetPoolRequest) String() string
Input
type Input struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
Labels map[string]string "" /* 153 byte string literal not displayed */
Type Input_Type `protobuf:"varint,5,opt,name=type,proto3,enum=google.cloud.video.livestream.v1.Input_Type" json:"type,omitempty"`
Tier Input_Tier `protobuf:"varint,14,opt,name=tier,proto3,enum=google.cloud.video.livestream.v1.Input_Tier" json:"tier,omitempty"`
Uri string `protobuf:"bytes,6,opt,name=uri,proto3" json:"uri,omitempty"`
PreprocessingConfig *PreprocessingConfig `protobuf:"bytes,9,opt,name=preprocessing_config,json=preprocessingConfig,proto3" json:"preprocessing_config,omitempty"`
SecurityRules *Input_SecurityRule `protobuf:"bytes,12,opt,name=security_rules,json=securityRules,proto3" json:"security_rules,omitempty"`
InputStreamProperty *InputStreamProperty `protobuf:"bytes,15,opt,name=input_stream_property,json=inputStreamProperty,proto3" json:"input_stream_property,omitempty"`
}
Input resource represents the endpoint from which the channel ingests the input stream.
func (*Input) Descriptor
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 (*Input) GetName
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 (*Input) ProtoMessage
func (*Input) ProtoMessage()
func (*Input) ProtoReflect
func (x *Input) ProtoReflect() protoreflect.Message
func (*Input) Reset
func (x *Input) Reset()
func (*Input) String
InputAttachment
type InputAttachment struct {
// A unique key for this input attachment. The key must be 1-63
// characters in length. The key must begin and end with a letter (regardless
// of case) or a number, but can contain dashes or underscores in between.
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
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
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
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 (x *InputAttachment_AutomaticFailover) ProtoReflect() protoreflect.Message
func (*InputAttachment_AutomaticFailover) Reset
func (x *InputAttachment_AutomaticFailover) Reset()
func (*InputAttachment_AutomaticFailover) String
func (x *InputAttachment_AutomaticFailover) String() string
InputConfig
type InputConfig struct {
InputSwitchMode InputConfig_InputSwitchMode "" /* 175 byte string literal not displayed */
}
Configuration for the input sources of a channel.
func (*InputConfig) Descriptor
func (*InputConfig) Descriptor() ([]byte, []int)
Deprecated: Use InputConfig.ProtoReflect.Descriptor instead.
func (*InputConfig) GetInputSwitchMode
func (x *InputConfig) GetInputSwitchMode() InputConfig_InputSwitchMode
func (*InputConfig) ProtoMessage
func (*InputConfig) ProtoMessage()
func (*InputConfig) ProtoReflect
func (x *InputConfig) ProtoReflect() protoreflect.Message
func (*InputConfig) Reset
func (x *InputConfig) Reset()
func (*InputConfig) String
func (x *InputConfig) String() string
InputConfig_InputSwitchMode
type InputConfig_InputSwitchMode int32
Input switch mode.
InputConfig_INPUT_SWITCH_MODE_UNSPECIFIED, InputConfig_FAILOVER_PREFER_PRIMARY, InputConfig_MANUAL
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
func (InputConfig_InputSwitchMode) Descriptor() protoreflect.EnumDescriptor
func (InputConfig_InputSwitchMode) Enum
func (x InputConfig_InputSwitchMode) Enum() *InputConfig_InputSwitchMode
func (InputConfig_InputSwitchMode) EnumDescriptor
func (InputConfig_InputSwitchMode) EnumDescriptor() ([]byte, []int)
Deprecated: Use InputConfig_InputSwitchMode.Descriptor instead.
func (InputConfig_InputSwitchMode) Number
func (x InputConfig_InputSwitchMode) Number() protoreflect.EnumNumber
func (InputConfig_InputSwitchMode) String
func (x InputConfig_InputSwitchMode) String() string
func (InputConfig_InputSwitchMode) Type
func (InputConfig_InputSwitchMode) Type() protoreflect.EnumType
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
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
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
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
Input_Tier
type Input_Tier int32
Tier of the input specification.
Input_TIER_UNSPECIFIED, Input_SD, Input_HD, Input_UHD
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
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
func (Input_Tier) Type() protoreflect.EnumType
Input_Type
type Input_Type int32
The type of the input.
Input_TYPE_UNSPECIFIED, Input_RTMP_PUSH, Input_SRT_PUSH
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
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
func (Input_Type) Type() protoreflect.EnumType
ListAssetsRequest
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
func (*ListAssetsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListAssetsRequest.ProtoReflect.Descriptor instead.
func (*ListAssetsRequest) GetFilter
func (x *ListAssetsRequest) GetFilter() string
func (*ListAssetsRequest) GetOrderBy
func (x *ListAssetsRequest) GetOrderBy() string
func (*ListAssetsRequest) GetPageSize
func (x *ListAssetsRequest) GetPageSize() int32
func (*ListAssetsRequest) GetPageToken
func (x *ListAssetsRequest) GetPageToken() string
func (*ListAssetsRequest) GetParent
func (x *ListAssetsRequest) GetParent() string
func (*ListAssetsRequest) ProtoMessage
func (*ListAssetsRequest) ProtoMessage()
func (*ListAssetsRequest) ProtoReflect
func (x *ListAssetsRequest) ProtoReflect() protoreflect.Message
func (*ListAssetsRequest) Reset
func (x *ListAssetsRequest) Reset()
func (*ListAssetsRequest) String
func (x *ListAssetsRequest) String() string
ListAssetsResponse
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
func (*ListAssetsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListAssetsResponse.ProtoReflect.Descriptor instead.
func (*ListAssetsResponse) GetAssets
func (x *ListAssetsResponse) GetAssets() []*Asset
func (*ListAssetsResponse) GetNextPageToken
func (x *ListAssetsResponse) GetNextPageToken() string
func (*ListAssetsResponse) GetUnreachable
func (x *ListAssetsResponse) GetUnreachable() []string
func (*ListAssetsResponse) ProtoMessage
func (*ListAssetsResponse) ProtoMessage()
func (*ListAssetsResponse) ProtoReflect
func (x *ListAssetsResponse) ProtoReflect() protoreflect.Message
func (*ListAssetsResponse) Reset
func (x *ListAssetsResponse) Reset()
func (*ListAssetsResponse) String
func (x *ListAssetsResponse) String() string
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
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
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
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
ListClipsRequest
type ListClipsRequest struct {
// Required. Parent value for ListClipsRequest
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.ListClips".
func (*ListClipsRequest) Descriptor
func (*ListClipsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListClipsRequest.ProtoReflect.Descriptor instead.
func (*ListClipsRequest) GetFilter
func (x *ListClipsRequest) GetFilter() string
func (*ListClipsRequest) GetOrderBy
func (x *ListClipsRequest) GetOrderBy() string
func (*ListClipsRequest) GetPageSize
func (x *ListClipsRequest) GetPageSize() int32
func (*ListClipsRequest) GetPageToken
func (x *ListClipsRequest) GetPageToken() string
func (*ListClipsRequest) GetParent
func (x *ListClipsRequest) GetParent() string
func (*ListClipsRequest) ProtoMessage
func (*ListClipsRequest) ProtoMessage()
func (*ListClipsRequest) ProtoReflect
func (x *ListClipsRequest) ProtoReflect() protoreflect.Message
func (*ListClipsRequest) Reset
func (x *ListClipsRequest) Reset()
func (*ListClipsRequest) String
func (x *ListClipsRequest) String() string
ListClipsResponse
type ListClipsResponse struct {
// The list of Clip
Clips []*Clip `protobuf:"bytes,1,rep,name=clips,proto3" json:"clips,omitempty"`
// A token identifying a page of results the server should return.
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.ListClips".
func (*ListClipsResponse) Descriptor
func (*ListClipsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListClipsResponse.ProtoReflect.Descriptor instead.
func (*ListClipsResponse) GetClips
func (x *ListClipsResponse) GetClips() []*Clip
func (*ListClipsResponse) GetNextPageToken
func (x *ListClipsResponse) GetNextPageToken() string
func (*ListClipsResponse) GetUnreachable
func (x *ListClipsResponse) GetUnreachable() []string
func (*ListClipsResponse) ProtoMessage
func (*ListClipsResponse) ProtoMessage()
func (*ListClipsResponse) ProtoReflect
func (x *ListClipsResponse) ProtoReflect() protoreflect.Message
func (*ListClipsResponse) Reset
func (x *ListClipsResponse) Reset()
func (*ListClipsResponse) String
func (x *ListClipsResponse) String() string
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
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
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
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
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
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
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
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
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)
// Returns a list of all clips in the specified channel.
ListClips(ctx context.Context, in *ListClipsRequest, opts ...grpc.CallOption) (*ListClipsResponse, error)
// Returns the specified clip.
GetClip(ctx context.Context, in *GetClipRequest, opts ...grpc.CallOption) (*Clip, error)
// Creates a clip with the provided clip ID in the specified channel.
CreateClip(ctx context.Context, in *CreateClipRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Deletes the specified clip job resource. This method only deletes the clip
// job and does not delete the VOD clip stored in the GCS.
DeleteClip(ctx context.Context, in *DeleteClipRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, 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.
func NewLivestreamServiceClient
func NewLivestreamServiceClient(cc grpc.ClientConnInterface) LivestreamServiceClient
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)
// Returns a list of all clips in the specified channel.
ListClips(context.Context, *ListClipsRequest) (*ListClipsResponse, error)
// Returns the specified clip.
GetClip(context.Context, *GetClipRequest) (*Clip, error)
// Creates a clip with the provided clip ID in the specified channel.
CreateClip(context.Context, *CreateClipRequest) (*longrunningpb.Operation, error)
// Deletes the specified clip job resource. This method only deletes the clip
// job and does not delete the VOD clip stored in the GCS.
DeleteClip(context.Context, *DeleteClipRequest) (*longrunningpb.Operation, 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.
LogConfig
type LogConfig struct {
LogSeverity LogConfig_LogSeverity "" /* 155 byte string literal not displayed */
}
Configuration of platform logs. See Using and managing platform logs for more information about how to view platform logs through Cloud Logging.
func (*LogConfig) Descriptor
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
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 for more information.
LogConfig_LOG_SEVERITY_UNSPECIFIED, LogConfig_OFF, LogConfig_DEBUG, LogConfig_INFO, LogConfig_WARNING, LogConfig_ERROR
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) Descriptor() protoreflect.EnumDescriptor
func (LogConfig_LogSeverity) Enum
func (x LogConfig_LogSeverity) Enum() *LogConfig_LogSeverity
func (LogConfig_LogSeverity) EnumDescriptor
func (LogConfig_LogSeverity) EnumDescriptor() ([]byte, []int)
Deprecated: Use LogConfig_LogSeverity.Descriptor instead.
func (LogConfig_LogSeverity) Number
func (x LogConfig_LogSeverity) Number() protoreflect.EnumNumber
func (LogConfig_LogSeverity) String
func (x LogConfig_LogSeverity) String() string
func (LogConfig_LogSeverity) Type
func (LogConfig_LogSeverity) Type() protoreflect.EnumType
Manifest
type Manifest struct {
FileName string `protobuf:"bytes,1,opt,name=file_name,json=fileName,proto3" json:"file_name,omitempty"`
Type Manifest_ManifestType `protobuf:"varint,2,opt,name=type,proto3,enum=google.cloud.video.livestream.v1.Manifest_ManifestType" json:"type,omitempty"`
MuxStreams []string `protobuf:"bytes,3,rep,name=mux_streams,json=muxStreams,proto3" json:"mux_streams,omitempty"`
MaxSegmentCount int32 `protobuf:"varint,4,opt,name=max_segment_count,json=maxSegmentCount,proto3" json:"max_segment_count,omitempty"`
SegmentKeepDuration *durationpb.Duration `protobuf:"bytes,5,opt,name=segment_keep_duration,json=segmentKeepDuration,proto3" json:"segment_keep_duration,omitempty"`
UseTimecodeAsTimeline bool "" /* 129 byte string literal not displayed */
Key string `protobuf:"bytes,7,opt,name=key,proto3" json:"key,omitempty"`
}
Manifest configuration.
func (*Manifest) Descriptor
Deprecated: Use Manifest.ProtoReflect.Descriptor instead.
func (*Manifest) GetFileName
func (*Manifest) GetKey
func (*Manifest) GetMaxSegmentCount
func (*Manifest) GetMuxStreams
func (*Manifest) GetSegmentKeepDuration
func (x *Manifest) GetSegmentKeepDuration() *durationpb.Duration
func (*Manifest) GetType
func (x *Manifest) GetType() Manifest_ManifestType
func (*Manifest) GetUseTimecodeAsTimeline
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
Manifest_ManifestType
type Manifest_ManifestType int32
The manifest type can be either HLS
or DASH
.
Manifest_MANIFEST_TYPE_UNSPECIFIED, Manifest_HLS, Manifest_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) Descriptor() protoreflect.EnumDescriptor
func (Manifest_ManifestType) Enum
func (x Manifest_ManifestType) Enum() *Manifest_ManifestType
func (Manifest_ManifestType) EnumDescriptor
func (Manifest_ManifestType) EnumDescriptor() ([]byte, []int)
Deprecated: Use Manifest_ManifestType.Descriptor instead.
func (Manifest_ManifestType) Number
func (x Manifest_ManifestType) Number() protoreflect.EnumNumber
func (Manifest_ManifestType) String
func (x Manifest_ManifestType) String() string
func (Manifest_ManifestType) Type
func (Manifest_ManifestType) Type() protoreflect.EnumType
MuxStream
type MuxStream struct {
// A unique key for this multiplexed stream. The key must be 1-63
// characters in length. The key must begin and end with a letter (regardless
// of case) or a number, but can contain dashes or underscores in between.
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: Use MuxStream.ProtoReflect.Descriptor instead.
func (*MuxStream) GetContainer
func (*MuxStream) GetElementaryStreams
func (*MuxStream) GetEncryptionId
func (*MuxStream) GetKey
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
NormalizedCoordinate
type NormalizedCoordinate struct {
// Optional. Normalized x coordinate. Valid range is [0.0, 1.0]. Default is 0.
X float64 `protobuf:"fixed64,1,opt,name=x,proto3" json:"x,omitempty"`
// Optional. Normalized y coordinate. Valid range is [0.0, 1.0]. Default is 0.
Y float64 `protobuf:"fixed64,2,opt,name=y,proto3" json:"y,omitempty"`
// contains filtered or unexported fields
}
2D normalized coordinates.
func (*NormalizedCoordinate) Descriptor
func (*NormalizedCoordinate) Descriptor() ([]byte, []int)
Deprecated: Use NormalizedCoordinate.ProtoReflect.Descriptor instead.
func (*NormalizedCoordinate) GetX
func (x *NormalizedCoordinate) GetX() float64
func (*NormalizedCoordinate) GetY
func (x *NormalizedCoordinate) GetY() float64
func (*NormalizedCoordinate) ProtoMessage
func (*NormalizedCoordinate) ProtoMessage()
func (*NormalizedCoordinate) ProtoReflect
func (x *NormalizedCoordinate) ProtoReflect() protoreflect.Message
func (*NormalizedCoordinate) Reset
func (x *NormalizedCoordinate) Reset()
func (*NormalizedCoordinate) String
func (x *NormalizedCoordinate) String() string
NormalizedResolution
type NormalizedResolution struct {
// Optional. Normalized width. Valid range is [0.0, 1.0]. Default is 0.
W float64 `protobuf:"fixed64,1,opt,name=w,proto3" json:"w,omitempty"`
// Optional. Normalized height. Valid range is [0.0, 1.0]. Default is 0.
H float64 `protobuf:"fixed64,2,opt,name=h,proto3" json:"h,omitempty"`
// contains filtered or unexported fields
}
Normalized resolution.
func (*NormalizedResolution) Descriptor
func (*NormalizedResolution) Descriptor() ([]byte, []int)
Deprecated: Use NormalizedResolution.ProtoReflect.Descriptor instead.
func (*NormalizedResolution) GetH
func (x *NormalizedResolution) GetH() float64
func (*NormalizedResolution) GetW
func (x *NormalizedResolution) GetW() float64
func (*NormalizedResolution) ProtoMessage
func (*NormalizedResolution) ProtoMessage()
func (*NormalizedResolution) ProtoReflect
func (x *NormalizedResolution) ProtoReflect() protoreflect.Message
func (*NormalizedResolution) Reset
func (x *NormalizedResolution) Reset()
func (*NormalizedResolution) String
func (x *NormalizedResolution) String() string
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
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
Pool
type Pool struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
Labels map[string]string "" /* 153 byte string literal not displayed */
NetworkConfig *Pool_NetworkConfig `protobuf:"bytes,5,opt,name=network_config,json=networkConfig,proto3" json:"network_config,omitempty"`
}
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: Use Pool.ProtoReflect.Descriptor instead.
func (*Pool) GetCreateTime
func (x *Pool) GetCreateTime() *timestamppb.Timestamp
func (*Pool) GetLabels
func (*Pool) GetName
func (*Pool) GetNetworkConfig
func (x *Pool) GetNetworkConfig() *Pool_NetworkConfig
func (*Pool) GetUpdateTime
func (x *Pool) GetUpdateTime() *timestamppb.Timestamp
func (*Pool) ProtoMessage
func (*Pool) ProtoMessage()
func (*Pool) ProtoReflect
func (x *Pool) ProtoReflect() protoreflect.Message
func (*Pool) Reset
func (x *Pool) Reset()
func (*Pool) String
Pool_NetworkConfig
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
func (*Pool_NetworkConfig) Descriptor() ([]byte, []int)
Deprecated: Use Pool_NetworkConfig.ProtoReflect.Descriptor instead.
func (*Pool_NetworkConfig) GetPeeredNetwork
func (x *Pool_NetworkConfig) GetPeeredNetwork() string
func (*Pool_NetworkConfig) ProtoMessage
func (*Pool_NetworkConfig) ProtoMessage()
func (*Pool_NetworkConfig) ProtoReflect
func (x *Pool_NetworkConfig) ProtoReflect() protoreflect.Message
func (*Pool_NetworkConfig) Reset
func (x *Pool_NetworkConfig) Reset()
func (*Pool_NetworkConfig) String
func (x *Pool_NetworkConfig) String() string
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
func (*PreprocessingConfig) Descriptor() ([]byte, []int)
Deprecated: Use PreprocessingConfig.ProtoReflect.Descriptor instead.
func (*PreprocessingConfig) GetAudio
func (x *PreprocessingConfig) GetAudio() *PreprocessingConfig_Audio
func (*PreprocessingConfig) GetCrop
func (x *PreprocessingConfig) GetCrop() *PreprocessingConfig_Crop
func (*PreprocessingConfig) GetPad
func (x *PreprocessingConfig) GetPad() *PreprocessingConfig_Pad
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
PreprocessingConfig_Audio
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
func (*PreprocessingConfig_Audio) Descriptor() ([]byte, []int)
Deprecated: Use PreprocessingConfig_Audio.ProtoReflect.Descriptor instead.
func (*PreprocessingConfig_Audio) GetLufs
func (x *PreprocessingConfig_Audio) GetLufs() float64
func (*PreprocessingConfig_Audio) ProtoMessage
func (*PreprocessingConfig_Audio) ProtoMessage()
func (*PreprocessingConfig_Audio) ProtoReflect
func (x *PreprocessingConfig_Audio) ProtoReflect() protoreflect.Message
func (*PreprocessingConfig_Audio) Reset
func (x *PreprocessingConfig_Audio) Reset()
func (*PreprocessingConfig_Audio) String
func (x *PreprocessingConfig_Audio) String() string
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
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
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
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
RetentionConfig
type RetentionConfig struct {
RetentionWindowDuration *durationpb.Duration "" /* 132 byte string literal not displayed */
}
Configuration for retention of output files.
func (*RetentionConfig) Descriptor
func (*RetentionConfig) Descriptor() ([]byte, []int)
Deprecated: Use RetentionConfig.ProtoReflect.Descriptor instead.
func (*RetentionConfig) GetRetentionWindowDuration
func (x *RetentionConfig) GetRetentionWindowDuration() *durationpb.Duration
func (*RetentionConfig) ProtoMessage
func (*RetentionConfig) ProtoMessage()
func (*RetentionConfig) ProtoReflect
func (x *RetentionConfig) ProtoReflect() protoreflect.Message
func (*RetentionConfig) Reset
func (x *RetentionConfig) Reset()
func (*RetentionConfig) String
func (x *RetentionConfig) String() string
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
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
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
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
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
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
StaticOverlay
type StaticOverlay struct {
// Required. Asset to use for the overlaid image.
// The asset must be represented in the form of:
// `projects/{project}/locations/{location}/assets/{assetId}`.
// The asset's resource type must be image.
Asset string `protobuf:"bytes,1,opt,name=asset,proto3" json:"asset,omitempty"`
// Optional. Normalized image resolution, based on output video resolution.
// Valid values are [0.0, 1.0]. To respect the original image aspect ratio,
// set either `w` or `h` to 0. To use the original image resolution, set both
// `w` and `h` to 0. The default is {0, 0}.
Resolution *NormalizedResolution `protobuf:"bytes,2,opt,name=resolution,proto3" json:"resolution,omitempty"`
// Optional. Position of the image in terms of normalized coordinates of the
// upper-left corner of the image, based on output video resolution. For
// example, use the x and y coordinates {0, 0} to position the top-left corner
// of the overlay animation in the top-left corner of the output video.
Position *NormalizedCoordinate `protobuf:"bytes,3,opt,name=position,proto3" json:"position,omitempty"`
// Optional. Target image opacity. Valid values are from `1.0` (solid,
// default) to `0.0` (transparent), exclusive. Set this to a value greater
// than `0.0`.
Opacity float64 `protobuf:"fixed64,4,opt,name=opacity,proto3" json:"opacity,omitempty"`
// contains filtered or unexported fields
}
Configuration for the static overlay.
func (*StaticOverlay) Descriptor
func (*StaticOverlay) Descriptor() ([]byte, []int)
Deprecated: Use StaticOverlay.ProtoReflect.Descriptor instead.
func (*StaticOverlay) GetAsset
func (x *StaticOverlay) GetAsset() string
func (*StaticOverlay) GetOpacity
func (x *StaticOverlay) GetOpacity() float64
func (*StaticOverlay) GetPosition
func (x *StaticOverlay) GetPosition() *NormalizedCoordinate
func (*StaticOverlay) GetResolution
func (x *StaticOverlay) GetResolution() *NormalizedResolution
func (*StaticOverlay) ProtoMessage
func (*StaticOverlay) ProtoMessage()
func (*StaticOverlay) ProtoReflect
func (x *StaticOverlay) ProtoReflect() protoreflect.Message
func (*StaticOverlay) Reset
func (x *StaticOverlay) Reset()
func (*StaticOverlay) String
func (x *StaticOverlay) String() string
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
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
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
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
TimecodeConfig
type TimecodeConfig struct {
Source TimecodeConfig_TimecodeSource "" /* 134 byte string literal not displayed */
TimeOffset isTimecodeConfig_TimeOffset `protobuf_oneof:"time_offset"`
}
Timecode configuration.
func (*TimecodeConfig) Descriptor
func (*TimecodeConfig) Descriptor() ([]byte, []int)
Deprecated: Use TimecodeConfig.ProtoReflect.Descriptor instead.
func (*TimecodeConfig) GetSource
func (x *TimecodeConfig) GetSource() TimecodeConfig_TimecodeSource
func (*TimecodeConfig) GetTimeOffset
func (m *TimecodeConfig) GetTimeOffset() isTimecodeConfig_TimeOffset
func (*TimecodeConfig) GetTimeZone
func (x *TimecodeConfig) GetTimeZone() *datetime.TimeZone
func (*TimecodeConfig) GetUtcOffset
func (x *TimecodeConfig) GetUtcOffset() *durationpb.Duration
func (*TimecodeConfig) ProtoMessage
func (*TimecodeConfig) ProtoMessage()
func (*TimecodeConfig) ProtoReflect
func (x *TimecodeConfig) ProtoReflect() protoreflect.Message
func (*TimecodeConfig) Reset
func (x *TimecodeConfig) Reset()
func (*TimecodeConfig) String
func (x *TimecodeConfig) String() string
TimecodeConfig_TimeZone
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"`
}
TimecodeConfig_TimecodeSource
type TimecodeConfig_TimecodeSource int32
The source of timecode.
TimecodeConfig_TIMECODE_SOURCE_UNSPECIFIED, TimecodeConfig_MEDIA_TIMESTAMP, TimecodeConfig_EMBEDDED_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
func (TimecodeConfig_TimecodeSource) Descriptor() protoreflect.EnumDescriptor
func (TimecodeConfig_TimecodeSource) Enum
func (x TimecodeConfig_TimecodeSource) Enum() *TimecodeConfig_TimecodeSource
func (TimecodeConfig_TimecodeSource) EnumDescriptor
func (TimecodeConfig_TimecodeSource) EnumDescriptor() ([]byte, []int)
Deprecated: Use TimecodeConfig_TimecodeSource.Descriptor instead.
func (TimecodeConfig_TimecodeSource) Number
func (x TimecodeConfig_TimecodeSource) Number() protoreflect.EnumNumber
func (TimecodeConfig_TimecodeSource) String
func (x TimecodeConfig_TimecodeSource) String() string
func (TimecodeConfig_TimecodeSource) Type
func (TimecodeConfig_TimecodeSource) Type() protoreflect.EnumType
TimecodeConfig_UtcOffset
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"`
}
UnimplementedLivestreamServiceServer
type UnimplementedLivestreamServiceServer struct {
}
UnimplementedLivestreamServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedLivestreamServiceServer) CreateAsset
func (*UnimplementedLivestreamServiceServer) CreateAsset(context.Context, *CreateAssetRequest) (*longrunningpb.Operation, error)
func (*UnimplementedLivestreamServiceServer) CreateChannel
func (*UnimplementedLivestreamServiceServer) CreateChannel(context.Context, *CreateChannelRequest) (*longrunningpb.Operation, error)
func (*UnimplementedLivestreamServiceServer) CreateClip
func (*UnimplementedLivestreamServiceServer) CreateClip(context.Context, *CreateClipRequest) (*longrunningpb.Operation, error)
func (*UnimplementedLivestreamServiceServer) CreateEvent
func (*UnimplementedLivestreamServiceServer) CreateEvent(context.Context, *CreateEventRequest) (*Event, error)
func (*UnimplementedLivestreamServiceServer) CreateInput
func (*UnimplementedLivestreamServiceServer) CreateInput(context.Context, *CreateInputRequest) (*longrunningpb.Operation, error)
func (*UnimplementedLivestreamServiceServer) DeleteAsset
func (*UnimplementedLivestreamServiceServer) DeleteAsset(context.Context, *DeleteAssetRequest) (*longrunningpb.Operation, error)
func (*UnimplementedLivestreamServiceServer) DeleteChannel
func (*UnimplementedLivestreamServiceServer) DeleteChannel(context.Context, *DeleteChannelRequest) (*longrunningpb.Operation, error)
func (*UnimplementedLivestreamServiceServer) DeleteClip
func (*UnimplementedLivestreamServiceServer) DeleteClip(context.Context, *DeleteClipRequest) (*longrunningpb.Operation, error)
func (*UnimplementedLivestreamServiceServer) DeleteEvent
func (*UnimplementedLivestreamServiceServer) DeleteEvent(context.Context, *DeleteEventRequest) (*emptypb.Empty, error)
func (*UnimplementedLivestreamServiceServer) DeleteInput
func (*UnimplementedLivestreamServiceServer) DeleteInput(context.Context, *DeleteInputRequest) (*longrunningpb.Operation, error)
func (*UnimplementedLivestreamServiceServer) GetAsset
func (*UnimplementedLivestreamServiceServer) GetAsset(context.Context, *GetAssetRequest) (*Asset, error)
func (*UnimplementedLivestreamServiceServer) GetChannel
func (*UnimplementedLivestreamServiceServer) GetChannel(context.Context, *GetChannelRequest) (*Channel, error)
func (*UnimplementedLivestreamServiceServer) GetClip
func (*UnimplementedLivestreamServiceServer) GetClip(context.Context, *GetClipRequest) (*Clip, error)
func (*UnimplementedLivestreamServiceServer) GetEvent
func (*UnimplementedLivestreamServiceServer) GetEvent(context.Context, *GetEventRequest) (*Event, error)
func (*UnimplementedLivestreamServiceServer) GetInput
func (*UnimplementedLivestreamServiceServer) GetInput(context.Context, *GetInputRequest) (*Input, error)
func (*UnimplementedLivestreamServiceServer) GetPool
func (*UnimplementedLivestreamServiceServer) GetPool(context.Context, *GetPoolRequest) (*Pool, error)
func (*UnimplementedLivestreamServiceServer) ListAssets
func (*UnimplementedLivestreamServiceServer) ListAssets(context.Context, *ListAssetsRequest) (*ListAssetsResponse, error)
func (*UnimplementedLivestreamServiceServer) ListChannels
func (*UnimplementedLivestreamServiceServer) ListChannels(context.Context, *ListChannelsRequest) (*ListChannelsResponse, error)
func (*UnimplementedLivestreamServiceServer) ListClips
func (*UnimplementedLivestreamServiceServer) ListClips(context.Context, *ListClipsRequest) (*ListClipsResponse, error)
func (*UnimplementedLivestreamServiceServer) ListEvents
func (*UnimplementedLivestreamServiceServer) ListEvents(context.Context, *ListEventsRequest) (*ListEventsResponse, error)
func (*UnimplementedLivestreamServiceServer) ListInputs
func (*UnimplementedLivestreamServiceServer) ListInputs(context.Context, *ListInputsRequest) (*ListInputsResponse, error)
func (*UnimplementedLivestreamServiceServer) StartChannel
func (*UnimplementedLivestreamServiceServer) StartChannel(context.Context, *StartChannelRequest) (*longrunningpb.Operation, error)
func (*UnimplementedLivestreamServiceServer) StopChannel
func (*UnimplementedLivestreamServiceServer) StopChannel(context.Context, *StopChannelRequest) (*longrunningpb.Operation, error)
func (*UnimplementedLivestreamServiceServer) UpdateChannel
func (*UnimplementedLivestreamServiceServer) UpdateChannel(context.Context, *UpdateChannelRequest) (*longrunningpb.Operation, error)
func (*UnimplementedLivestreamServiceServer) UpdateInput
func (*UnimplementedLivestreamServiceServer) UpdateInput(context.Context, *UpdateInputRequest) (*longrunningpb.Operation, error)
func (*UnimplementedLivestreamServiceServer) UpdatePool
func (*UnimplementedLivestreamServiceServer) UpdatePool(context.Context, *UpdatePoolRequest) (*longrunningpb.Operation, error)
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
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
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
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
UpdatePoolRequest
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
func (*UpdatePoolRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdatePoolRequest.ProtoReflect.Descriptor instead.
func (*UpdatePoolRequest) GetPool
func (x *UpdatePoolRequest) GetPool() *Pool
func (*UpdatePoolRequest) GetRequestId
func (x *UpdatePoolRequest) GetRequestId() string
func (*UpdatePoolRequest) GetUpdateMask
func (x *UpdatePoolRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdatePoolRequest) ProtoMessage
func (*UpdatePoolRequest) ProtoMessage()
func (*UpdatePoolRequest) ProtoReflect
func (x *UpdatePoolRequest) ProtoReflect() protoreflect.Message
func (*UpdatePoolRequest) Reset
func (x *UpdatePoolRequest) Reset()
func (*UpdatePoolRequest) String
func (x *UpdatePoolRequest) String() string
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
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
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
func (*VideoStream) Descriptor() ([]byte, []int)
Deprecated: Use VideoStream.ProtoReflect.Descriptor instead.
func (*VideoStream) GetCodecSettings
func (m *VideoStream) GetCodecSettings() isVideoStream_CodecSettings
func (*VideoStream) GetH264
func (x *VideoStream) GetH264() *VideoStream_H264CodecSettings
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
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
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
VideoStream_H264
type VideoStream_H264 struct {
// H264 codec settings.
H264 *VideoStream_H264CodecSettings `protobuf:"bytes,20,opt,name=h264,proto3,oneof"`
}
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
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 (x *VideoStream_H264CodecSettings) GetTune() string
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 (x *VideoStream_H264CodecSettings) ProtoReflect() protoreflect.Message
func (*VideoStream_H264CodecSettings) Reset
func (x *VideoStream_H264CodecSettings) Reset()
func (*VideoStream_H264CodecSettings) String
func (x *VideoStream_H264CodecSettings) String() string
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"`
}
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"`
}