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.
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)
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"`
}
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) GetSpriteSheets
func (x *Channel) GetSpriteSheets() []*SpriteSheet
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
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
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
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
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.
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.
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) 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 {
// Required. 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 {
// Required. 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 {
// Required. 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 {
// Required. 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_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 {
// Required. 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 will fail 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
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
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
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.
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.