Constants
LivestreamService_CreateChannel_FullMethodName, LivestreamService_ListChannels_FullMethodName, LivestreamService_GetChannel_FullMethodName, LivestreamService_DeleteChannel_FullMethodName, LivestreamService_UpdateChannel_FullMethodName, LivestreamService_StartChannel_FullMethodName, LivestreamService_StopChannel_FullMethodName, LivestreamService_StartDistribution_FullMethodName, LivestreamService_StopDistribution_FullMethodName, LivestreamService_CreateInput_FullMethodName, LivestreamService_ListInputs_FullMethodName, LivestreamService_GetInput_FullMethodName, LivestreamService_DeleteInput_FullMethodName, LivestreamService_UpdateInput_FullMethodName, LivestreamService_PreviewInput_FullMethodName, LivestreamService_CreateEvent_FullMethodName, LivestreamService_ListEvents_FullMethodName, LivestreamService_GetEvent_FullMethodName, LivestreamService_DeleteEvent_FullMethodName, LivestreamService_ListClips_FullMethodName, LivestreamService_GetClip_FullMethodName, LivestreamService_CreateClip_FullMethodName, LivestreamService_DeleteClip_FullMethodName, LivestreamService_CreateDvrSession_FullMethodName, LivestreamService_ListDvrSessions_FullMethodName, LivestreamService_GetDvrSession_FullMethodName, LivestreamService_DeleteDvrSession_FullMethodName, LivestreamService_UpdateDvrSession_FullMethodName, LivestreamService_CreateAsset_FullMethodName, LivestreamService_DeleteAsset_FullMethodName, LivestreamService_GetAsset_FullMethodName, LivestreamService_ListAssets_FullMethodName, LivestreamService_GetPool_FullMethodName, LivestreamService_UpdatePool_FullMethodName
const (
LivestreamService_CreateChannel_FullMethodName = "/google.cloud.video.livestream.v1.LivestreamService/CreateChannel"
LivestreamService_ListChannels_FullMethodName = "/google.cloud.video.livestream.v1.LivestreamService/ListChannels"
LivestreamService_GetChannel_FullMethodName = "/google.cloud.video.livestream.v1.LivestreamService/GetChannel"
LivestreamService_DeleteChannel_FullMethodName = "/google.cloud.video.livestream.v1.LivestreamService/DeleteChannel"
LivestreamService_UpdateChannel_FullMethodName = "/google.cloud.video.livestream.v1.LivestreamService/UpdateChannel"
LivestreamService_StartChannel_FullMethodName = "/google.cloud.video.livestream.v1.LivestreamService/StartChannel"
LivestreamService_StopChannel_FullMethodName = "/google.cloud.video.livestream.v1.LivestreamService/StopChannel"
LivestreamService_StartDistribution_FullMethodName = "/google.cloud.video.livestream.v1.LivestreamService/StartDistribution"
LivestreamService_StopDistribution_FullMethodName = "/google.cloud.video.livestream.v1.LivestreamService/StopDistribution"
LivestreamService_CreateInput_FullMethodName = "/google.cloud.video.livestream.v1.LivestreamService/CreateInput"
LivestreamService_ListInputs_FullMethodName = "/google.cloud.video.livestream.v1.LivestreamService/ListInputs"
LivestreamService_GetInput_FullMethodName = "/google.cloud.video.livestream.v1.LivestreamService/GetInput"
LivestreamService_DeleteInput_FullMethodName = "/google.cloud.video.livestream.v1.LivestreamService/DeleteInput"
LivestreamService_UpdateInput_FullMethodName = "/google.cloud.video.livestream.v1.LivestreamService/UpdateInput"
LivestreamService_PreviewInput_FullMethodName = "/google.cloud.video.livestream.v1.LivestreamService/PreviewInput"
LivestreamService_CreateEvent_FullMethodName = "/google.cloud.video.livestream.v1.LivestreamService/CreateEvent"
LivestreamService_ListEvents_FullMethodName = "/google.cloud.video.livestream.v1.LivestreamService/ListEvents"
LivestreamService_GetEvent_FullMethodName = "/google.cloud.video.livestream.v1.LivestreamService/GetEvent"
LivestreamService_DeleteEvent_FullMethodName = "/google.cloud.video.livestream.v1.LivestreamService/DeleteEvent"
LivestreamService_ListClips_FullMethodName = "/google.cloud.video.livestream.v1.LivestreamService/ListClips"
LivestreamService_GetClip_FullMethodName = "/google.cloud.video.livestream.v1.LivestreamService/GetClip"
LivestreamService_CreateClip_FullMethodName = "/google.cloud.video.livestream.v1.LivestreamService/CreateClip"
LivestreamService_DeleteClip_FullMethodName = "/google.cloud.video.livestream.v1.LivestreamService/DeleteClip"
LivestreamService_CreateDvrSession_FullMethodName = "/google.cloud.video.livestream.v1.LivestreamService/CreateDvrSession"
LivestreamService_ListDvrSessions_FullMethodName = "/google.cloud.video.livestream.v1.LivestreamService/ListDvrSessions"
LivestreamService_GetDvrSession_FullMethodName = "/google.cloud.video.livestream.v1.LivestreamService/GetDvrSession"
LivestreamService_DeleteDvrSession_FullMethodName = "/google.cloud.video.livestream.v1.LivestreamService/DeleteDvrSession"
LivestreamService_UpdateDvrSession_FullMethodName = "/google.cloud.video.livestream.v1.LivestreamService/UpdateDvrSession"
LivestreamService_CreateAsset_FullMethodName = "/google.cloud.video.livestream.v1.LivestreamService/CreateAsset"
LivestreamService_DeleteAsset_FullMethodName = "/google.cloud.video.livestream.v1.LivestreamService/DeleteAsset"
LivestreamService_GetAsset_FullMethodName = "/google.cloud.video.livestream.v1.LivestreamService/GetAsset"
LivestreamService_ListAssets_FullMethodName = "/google.cloud.video.livestream.v1.LivestreamService/ListAssets"
LivestreamService_GetPool_FullMethodName = "/google.cloud.video.livestream.v1.LivestreamService/GetPool"
LivestreamService_UpdatePool_FullMethodName = "/google.cloud.video.livestream.v1.LivestreamService/UpdatePool"
)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.
Distribution_State_name, Distribution_State_value
var (
Distribution_State_name = map[int32]string{
0: "STATE_UNSPECIFIED",
5: "ERROR",
6: "NOT_READY",
7: "READY",
8: "AWAITING_INPUT",
9: "DISTRIBUTING",
}
Distribution_State_value = map[string]int32{
"STATE_UNSPECIFIED": 0,
"ERROR": 5,
"NOT_READY": 6,
"READY": 7,
"AWAITING_INPUT": 8,
"DISTRIBUTING": 9,
}
)Enum value maps for Distribution_State.
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",
4: "SD_H265",
5: "HD_H265",
6: "UHD_H265",
}
Input_Tier_value = map[string]int32{
"TIER_UNSPECIFIED": 0,
"SD": 1,
"HD": 2,
"UHD": 3,
"SD_H265": 4,
"HD_H265": 5,
"UHD_H265": 6,
}
)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.
AutoTranscriptionConfig_DisplayTiming_name, AutoTranscriptionConfig_DisplayTiming_value
var (
AutoTranscriptionConfig_DisplayTiming_name = map[int32]string{
0: "DISPLAY_TIMING_UNSPECIFIED",
1: "ASYNC",
2: "SYNC",
}
AutoTranscriptionConfig_DisplayTiming_value = map[string]int32{
"DISPLAY_TIMING_UNSPECIFIED": 0,
"ASYNC": 1,
"SYNC": 2,
}
)Enum value maps for AutoTranscriptionConfig_DisplayTiming.
AutoTranscriptionConfig_QualityPreset_name, AutoTranscriptionConfig_QualityPreset_value
var (
AutoTranscriptionConfig_QualityPreset_name = map[int32]string{
0: "QUALITY_PRESET_UNSPECIFIED",
1: "LOW_LATENCY",
2: "BALANCED_QUALITY",
3: "IMPROVED_QUALITY",
}
AutoTranscriptionConfig_QualityPreset_value = map[string]int32{
"QUALITY_PRESET_UNSPECIFIED": 0,
"LOW_LATENCY": 1,
"BALANCED_QUALITY": 2,
"IMPROVED_QUALITY": 3,
}
)Enum value maps for AutoTranscriptionConfig_QualityPreset.
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.
Clip_OutputType_name, Clip_OutputType_value
var (
Clip_OutputType_name = map[int32]string{
0: "OUTPUT_TYPE_UNSPECIFIED",
1: "MANIFEST",
2: "MP4",
}
Clip_OutputType_value = map[string]int32{
"OUTPUT_TYPE_UNSPECIFIED": 0,
"MANIFEST": 1,
"MP4": 2,
}
)Enum value maps for Clip_OutputType.
DvrSession_State_name, DvrSession_State_value
var (
DvrSession_State_name = map[int32]string{
0: "STATE_UNSPECIFIED",
1: "PENDING",
2: "UPDATING",
3: "SCHEDULED",
4: "LIVE",
5: "FINISHED",
6: "FAILED",
7: "DELETING",
8: "POST_PROCESSING",
9: "COOLDOWN",
10: "STOPPING",
}
DvrSession_State_value = map[string]int32{
"STATE_UNSPECIFIED": 0,
"PENDING": 1,
"UPDATING": 2,
"SCHEDULED": 3,
"LIVE": 4,
"FINISHED": 5,
"FAILED": 6,
"DELETING": 7,
"POST_PROCESSING": 8,
"COOLDOWN": 9,
"STOPPING": 10,
}
)Enum value maps for DvrSession_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.FileDescriptorFile_google_cloud_video_livestream_v1_resources_proto
var File_google_cloud_video_livestream_v1_resources_proto protoreflect.FileDescriptorFile_google_cloud_video_livestream_v1_service_proto
var File_google_cloud_video_livestream_v1_service_proto protoreflect.FileDescriptorLivestreamService_ServiceDesc
var LivestreamService_ServiceDesc = grpc.ServiceDesc{
ServiceName: "google.cloud.video.livestream.v1.LivestreamService",
HandlerType: (*LivestreamServiceServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "CreateChannel",
Handler: _LivestreamService_CreateChannel_Handler,
},
{
MethodName: "ListChannels",
Handler: _LivestreamService_ListChannels_Handler,
},
{
MethodName: "GetChannel",
Handler: _LivestreamService_GetChannel_Handler,
},
{
MethodName: "DeleteChannel",
Handler: _LivestreamService_DeleteChannel_Handler,
},
{
MethodName: "UpdateChannel",
Handler: _LivestreamService_UpdateChannel_Handler,
},
{
MethodName: "StartChannel",
Handler: _LivestreamService_StartChannel_Handler,
},
{
MethodName: "StopChannel",
Handler: _LivestreamService_StopChannel_Handler,
},
{
MethodName: "StartDistribution",
Handler: _LivestreamService_StartDistribution_Handler,
},
{
MethodName: "StopDistribution",
Handler: _LivestreamService_StopDistribution_Handler,
},
{
MethodName: "CreateInput",
Handler: _LivestreamService_CreateInput_Handler,
},
{
MethodName: "ListInputs",
Handler: _LivestreamService_ListInputs_Handler,
},
{
MethodName: "GetInput",
Handler: _LivestreamService_GetInput_Handler,
},
{
MethodName: "DeleteInput",
Handler: _LivestreamService_DeleteInput_Handler,
},
{
MethodName: "UpdateInput",
Handler: _LivestreamService_UpdateInput_Handler,
},
{
MethodName: "PreviewInput",
Handler: _LivestreamService_PreviewInput_Handler,
},
{
MethodName: "CreateEvent",
Handler: _LivestreamService_CreateEvent_Handler,
},
{
MethodName: "ListEvents",
Handler: _LivestreamService_ListEvents_Handler,
},
{
MethodName: "GetEvent",
Handler: _LivestreamService_GetEvent_Handler,
},
{
MethodName: "DeleteEvent",
Handler: _LivestreamService_DeleteEvent_Handler,
},
{
MethodName: "ListClips",
Handler: _LivestreamService_ListClips_Handler,
},
{
MethodName: "GetClip",
Handler: _LivestreamService_GetClip_Handler,
},
{
MethodName: "CreateClip",
Handler: _LivestreamService_CreateClip_Handler,
},
{
MethodName: "DeleteClip",
Handler: _LivestreamService_DeleteClip_Handler,
},
{
MethodName: "CreateDvrSession",
Handler: _LivestreamService_CreateDvrSession_Handler,
},
{
MethodName: "ListDvrSessions",
Handler: _LivestreamService_ListDvrSessions_Handler,
},
{
MethodName: "GetDvrSession",
Handler: _LivestreamService_GetDvrSession_Handler,
},
{
MethodName: "DeleteDvrSession",
Handler: _LivestreamService_DeleteDvrSession_Handler,
},
{
MethodName: "UpdateDvrSession",
Handler: _LivestreamService_UpdateDvrSession_Handler,
},
{
MethodName: "CreateAsset",
Handler: _LivestreamService_CreateAsset_Handler,
},
{
MethodName: "DeleteAsset",
Handler: _LivestreamService_DeleteAsset_Handler,
},
{
MethodName: "GetAsset",
Handler: _LivestreamService_GetAsset_Handler,
},
{
MethodName: "ListAssets",
Handler: _LivestreamService_ListAssets_Handler,
},
{
MethodName: "GetPool",
Handler: _LivestreamService_GetPool_Handler,
},
{
MethodName: "UpdatePool",
Handler: _LivestreamService_UpdatePool_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "google/cloud/video/livestream/v1/service.proto",
}LivestreamService_ServiceDesc is the grpc.ServiceDesc for LivestreamService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions
func RegisterLivestreamServiceServer
func RegisterLivestreamServiceServer(s grpc.ServiceRegistrar, srv LivestreamServiceServer)Asset
type Asset struct {
// The resource name of the asset, in the form of:
// `projects/{project}/locations/{location}/assets/{assetId}`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. The creation time.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. The update time.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// User-defined key/value metadata.
Labels map[string]string `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// The reference to the asset.
// The maximum size of the resource is 250 MB.
//
// Types that are assignable to Resource:
//
// *Asset_Video
// *Asset_Image
Resource isAsset_Resource `protobuf_oneof:"resource"`
// Based64-encoded CRC32c checksum of the asset file. For more information,
// see the crc32c checksum of the [Cloud Storage Objects
// resource](https://cloud.google.com/storage/docs/json_api/v1/objects).
// If crc32c is omitted or left empty when the asset is created, this field is
// filled by the crc32c checksum of the Cloud Storage object indicated by
// [VideoAsset.uri][google.cloud.video.livestream.v1.Asset.VideoAsset.uri] or
// [ImageAsset.uri][google.cloud.video.livestream.v1.Asset.ImageAsset.uri]. If
// crc32c is set, the asset can't be created if the crc32c value does not
// match with the crc32c checksum of the Cloud Storage object indicated by
// [VideoAsset.uri][google.cloud.video.livestream.v1.Asset.VideoAsset.uri] or
// [ImageAsset.uri][google.cloud.video.livestream.v1.Asset.ImageAsset.uri].
Crc32C string `protobuf:"bytes,7,opt,name=crc32c,proto3" json:"crc32c,omitempty"`
// Output only. The state of the asset resource.
State Asset_State `protobuf:"varint,8,opt,name=state,proto3,enum=google.cloud.video.livestream.v1.Asset_State" json:"state,omitempty"`
// Output only. Only present when `state` is `ERROR`. The reason for the error
// state of the asset.
Error *status.Status `protobuf:"bytes,9,opt,name=error,proto3" json:"error,omitempty"`
// contains filtered or unexported fields
}An asset represents a video or an image.
func (*Asset) Descriptor
Deprecated: Use Asset.ProtoReflect.Descriptor instead.
func (*Asset) GetCrc32C
func (*Asset) GetCreateTime
func (x *Asset) GetCreateTime() *timestamppb.Timestampfunc (*Asset) GetError
func (*Asset) GetImage
func (x *Asset) GetImage() *Asset_ImageAssetfunc (*Asset) GetLabels
func (*Asset) GetName
func (*Asset) GetResource
func (m *Asset) GetResource() isAsset_Resourcefunc (*Asset) GetState
func (x *Asset) GetState() Asset_Statefunc (*Asset) GetUpdateTime
func (x *Asset) GetUpdateTime() *timestamppb.Timestampfunc (*Asset) GetVideo
func (x *Asset) GetVideo() *Asset_VideoAssetfunc (*Asset) ProtoMessage
func (*Asset) ProtoMessage()func (*Asset) ProtoReflect
func (x *Asset) ProtoReflect() protoreflect.Messagefunc (*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() stringfunc (*Asset_ImageAsset) ProtoMessage
func (*Asset_ImageAsset) ProtoMessage()func (*Asset_ImageAsset) ProtoReflect
func (x *Asset_ImageAsset) ProtoReflect() protoreflect.Messagefunc (*Asset_ImageAsset) Reset
func (x *Asset_ImageAsset) Reset()func (*Asset_ImageAsset) String
func (x *Asset_ImageAsset) String() stringAsset_State
type Asset_State int32State 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.EnumDescriptorfunc (Asset_State) Enum
func (x Asset_State) Enum() *Asset_Statefunc (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.EnumNumberfunc (Asset_State) String
func (x Asset_State) String() stringfunc (Asset_State) Type
func (Asset_State) Type() protoreflect.EnumTypeAsset_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() stringfunc (*Asset_VideoAsset) ProtoMessage
func (*Asset_VideoAsset) ProtoMessage()func (*Asset_VideoAsset) ProtoReflect
func (x *Asset_VideoAsset) ProtoReflect() protoreflect.Messagefunc (*Asset_VideoAsset) Reset
func (x *Asset_VideoAsset) Reset()func (*Asset_VideoAsset) String
func (x *Asset_VideoAsset) String() stringAudioFormat
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() int32func (*AudioFormat) GetChannelLayout
func (x *AudioFormat) GetChannelLayout() []stringfunc (*AudioFormat) GetCodec
func (x *AudioFormat) GetCodec() stringfunc (*AudioFormat) ProtoMessage
func (*AudioFormat) ProtoMessage()func (*AudioFormat) ProtoReflect
func (x *AudioFormat) ProtoReflect() protoreflect.Messagefunc (*AudioFormat) Reset
func (x *AudioFormat) Reset()func (*AudioFormat) String
func (x *AudioFormat) String() stringAudioStream
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() int32func (*AudioStream) GetChannelCount
func (x *AudioStream) GetChannelCount() int32func (*AudioStream) GetChannelLayout
func (x *AudioStream) GetChannelLayout() []stringfunc (*AudioStream) GetCodec
func (x *AudioStream) GetCodec() stringfunc (*AudioStream) GetMapping
func (x *AudioStream) GetMapping() []*AudioStream_AudioMappingfunc (*AudioStream) GetSampleRateHertz
func (x *AudioStream) GetSampleRateHertz() int32func (*AudioStream) GetTransmux
func (x *AudioStream) GetTransmux() boolfunc (*AudioStream) ProtoMessage
func (*AudioStream) ProtoMessage()func (*AudioStream) ProtoReflect
func (x *AudioStream) ProtoReflect() protoreflect.Messagefunc (*AudioStream) Reset
func (x *AudioStream) Reset()func (*AudioStream) String
func (x *AudioStream) String() stringAudioStreamProperty
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() *AudioFormatfunc (*AudioStreamProperty) GetIndex
func (x *AudioStreamProperty) GetIndex() int32func (*AudioStreamProperty) ProtoMessage
func (*AudioStreamProperty) ProtoMessage()func (*AudioStreamProperty) ProtoReflect
func (x *AudioStreamProperty) ProtoReflect() protoreflect.Messagefunc (*AudioStreamProperty) Reset
func (x *AudioStreamProperty) Reset()func (*AudioStreamProperty) String
func (x *AudioStreamProperty) String() stringAudioStream_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() float64func (*AudioStream_AudioMapping) GetInputChannel
func (x *AudioStream_AudioMapping) GetInputChannel() int32func (*AudioStream_AudioMapping) GetInputKey
func (x *AudioStream_AudioMapping) GetInputKey() stringfunc (*AudioStream_AudioMapping) GetInputTrack
func (x *AudioStream_AudioMapping) GetInputTrack() int32func (*AudioStream_AudioMapping) GetOutputChannel
func (x *AudioStream_AudioMapping) GetOutputChannel() int32func (*AudioStream_AudioMapping) ProtoMessage
func (*AudioStream_AudioMapping) ProtoMessage()func (*AudioStream_AudioMapping) ProtoReflect
func (x *AudioStream_AudioMapping) ProtoReflect() protoreflect.Messagefunc (*AudioStream_AudioMapping) Reset
func (x *AudioStream_AudioMapping) Reset()func (*AudioStream_AudioMapping) String
func (x *AudioStream_AudioMapping) String() stringAutoTranscriptionConfig
type AutoTranscriptionConfig struct {
// Optional. Whether auto-generated text streams are displayed synchronously
// or asynchronously with the original audio.
DisplayTiming AutoTranscriptionConfig_DisplayTiming `protobuf:"varint,1,opt,name=display_timing,json=displayTiming,proto3,enum=google.cloud.video.livestream.v1.AutoTranscriptionConfig_DisplayTiming" json:"display_timing,omitempty"`
// Optional. Tunes the latency and quality of auto-generated captions.
QualityPreset AutoTranscriptionConfig_QualityPreset `protobuf:"varint,2,opt,name=quality_preset,json=qualityPreset,proto3,enum=google.cloud.video.livestream.v1.AutoTranscriptionConfig_QualityPreset" json:"quality_preset,omitempty"`
// contains filtered or unexported fields
}Advanced configurations for auto-generated text streams.
func (*AutoTranscriptionConfig) Descriptor
func (*AutoTranscriptionConfig) Descriptor() ([]byte, []int)Deprecated: Use AutoTranscriptionConfig.ProtoReflect.Descriptor instead.
func (*AutoTranscriptionConfig) GetDisplayTiming
func (x *AutoTranscriptionConfig) GetDisplayTiming() AutoTranscriptionConfig_DisplayTimingfunc (*AutoTranscriptionConfig) GetQualityPreset
func (x *AutoTranscriptionConfig) GetQualityPreset() AutoTranscriptionConfig_QualityPresetfunc (*AutoTranscriptionConfig) ProtoMessage
func (*AutoTranscriptionConfig) ProtoMessage()func (*AutoTranscriptionConfig) ProtoReflect
func (x *AutoTranscriptionConfig) ProtoReflect() protoreflect.Messagefunc (*AutoTranscriptionConfig) Reset
func (x *AutoTranscriptionConfig) Reset()func (*AutoTranscriptionConfig) String
func (x *AutoTranscriptionConfig) String() stringAutoTranscriptionConfig_DisplayTiming
type AutoTranscriptionConfig_DisplayTiming int32Whether auto-generated text streams are displayed synchronously or asynchronously with the original audio.
AutoTranscriptionConfig_DISPLAY_TIMING_UNSPECIFIED, AutoTranscriptionConfig_ASYNC, AutoTranscriptionConfig_SYNC
const (
// Display timing is not specified. Caption display will be asynchronous by
// default.
AutoTranscriptionConfig_DISPLAY_TIMING_UNSPECIFIED AutoTranscriptionConfig_DisplayTiming = 0
// Caption will be displayed asynchronous with audio.
AutoTranscriptionConfig_ASYNC AutoTranscriptionConfig_DisplayTiming = 1
// Caption will be displayed synchronous with audio. This option increases
// overall media output latency, and reduces viewing latency between audio
// and auto-generated captions.
AutoTranscriptionConfig_SYNC AutoTranscriptionConfig_DisplayTiming = 2
)func (AutoTranscriptionConfig_DisplayTiming) Descriptor
func (AutoTranscriptionConfig_DisplayTiming) Descriptor() protoreflect.EnumDescriptorfunc (AutoTranscriptionConfig_DisplayTiming) Enum
func (AutoTranscriptionConfig_DisplayTiming) EnumDescriptor
func (AutoTranscriptionConfig_DisplayTiming) EnumDescriptor() ([]byte, []int)Deprecated: Use AutoTranscriptionConfig_DisplayTiming.Descriptor instead.
func (AutoTranscriptionConfig_DisplayTiming) Number
func (x AutoTranscriptionConfig_DisplayTiming) Number() protoreflect.EnumNumberfunc (AutoTranscriptionConfig_DisplayTiming) String
func (x AutoTranscriptionConfig_DisplayTiming) String() stringfunc (AutoTranscriptionConfig_DisplayTiming) Type
func (AutoTranscriptionConfig_DisplayTiming) Type() protoreflect.EnumTypeAutoTranscriptionConfig_QualityPreset
type AutoTranscriptionConfig_QualityPreset int32Presets to tune the latency and quality of auto-generated captions.
AutoTranscriptionConfig_QUALITY_PRESET_UNSPECIFIED, AutoTranscriptionConfig_LOW_LATENCY, AutoTranscriptionConfig_BALANCED_QUALITY, AutoTranscriptionConfig_IMPROVED_QUALITY
const (
// Quality Preset is not specified. By default, BALANCED_QUALITY will be
// used.
AutoTranscriptionConfig_QUALITY_PRESET_UNSPECIFIED AutoTranscriptionConfig_QualityPreset = 0
// Reduce the latency of auto-generated captions. This may reduce the
// quality of the captions.
AutoTranscriptionConfig_LOW_LATENCY AutoTranscriptionConfig_QualityPreset = 1
// Default behavior when QualityPreset is not specified.
AutoTranscriptionConfig_BALANCED_QUALITY AutoTranscriptionConfig_QualityPreset = 2
// Increases the quality of the auto-generated captions at the cost of
// higher latency.
AutoTranscriptionConfig_IMPROVED_QUALITY AutoTranscriptionConfig_QualityPreset = 3
)func (AutoTranscriptionConfig_QualityPreset) Descriptor
func (AutoTranscriptionConfig_QualityPreset) Descriptor() protoreflect.EnumDescriptorfunc (AutoTranscriptionConfig_QualityPreset) Enum
func (AutoTranscriptionConfig_QualityPreset) EnumDescriptor
func (AutoTranscriptionConfig_QualityPreset) EnumDescriptor() ([]byte, []int)Deprecated: Use AutoTranscriptionConfig_QualityPreset.Descriptor instead.
func (AutoTranscriptionConfig_QualityPreset) Number
func (x AutoTranscriptionConfig_QualityPreset) Number() protoreflect.EnumNumberfunc (AutoTranscriptionConfig_QualityPreset) String
func (x AutoTranscriptionConfig_QualityPreset) String() stringfunc (AutoTranscriptionConfig_QualityPreset) Type
func (AutoTranscriptionConfig_QualityPreset) Type() protoreflect.EnumTypeChannel
type Channel struct {
// The resource name of the channel, in the form of:
// `projects/{project}/locations/{location}/channels/{channelId}`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. The creation time.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. The update time.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// User-defined key/value metadata.
Labels map[string]string `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// A list of input attachments that this channel uses.
// One channel can have multiple inputs as the input sources. Only one
// input can be selected as the input source at one time.
InputAttachments []*InputAttachment `protobuf:"bytes,16,rep,name=input_attachments,json=inputAttachments,proto3" json:"input_attachments,omitempty"`
// Output only. The
// [InputAttachment.key][google.cloud.video.livestream.v1.InputAttachment.key]
// that serves as the current input source. The first input in the
// [input_attachments][google.cloud.video.livestream.v1.Channel.input_attachments]
// is the initial input source.
ActiveInput string `protobuf:"bytes,6,opt,name=active_input,json=activeInput,proto3" json:"active_input,omitempty"`
// Required. Information about the output (that is, the Cloud Storage bucket
// to store the generated live stream).
Output *Channel_Output `protobuf:"bytes,9,opt,name=output,proto3" json:"output,omitempty"`
// List of elementary streams.
ElementaryStreams []*ElementaryStream `protobuf:"bytes,10,rep,name=elementary_streams,json=elementaryStreams,proto3" json:"elementary_streams,omitempty"`
// List of multiplexing settings for output streams.
MuxStreams []*MuxStream `protobuf:"bytes,11,rep,name=mux_streams,json=muxStreams,proto3" json:"mux_streams,omitempty"`
// List of output manifests.
Manifests []*Manifest `protobuf:"bytes,12,rep,name=manifests,proto3" json:"manifests,omitempty"`
// Optional. List of multiplexing settings of streams for distributions.
DistributionStreams []*DistributionStream `protobuf:"bytes,28,rep,name=distribution_streams,json=distributionStreams,proto3" json:"distribution_streams,omitempty"`
// Optional. List of distributions.
Distributions []*Distribution `protobuf:"bytes,29,rep,name=distributions,proto3" json:"distributions,omitempty"`
// List of output sprite sheets.
SpriteSheets []*SpriteSheet `protobuf:"bytes,13,rep,name=sprite_sheets,json=spriteSheets,proto3" json:"sprite_sheets,omitempty"`
// Output only. State of the streaming operation.
StreamingState Channel_StreamingState `protobuf:"varint,14,opt,name=streaming_state,json=streamingState,proto3,enum=google.cloud.video.livestream.v1.Channel_StreamingState" json:"streaming_state,omitempty"`
// Output only. A description of the reason for the streaming error. This
// property is always present when
// [streaming_state][google.cloud.video.livestream.v1.Channel.streaming_state]
// is
// [STREAMING_ERROR][google.cloud.video.livestream.v1.Channel.StreamingState.STREAMING_ERROR].
StreamingError *status.Status `protobuf:"bytes,18,opt,name=streaming_error,json=streamingError,proto3" json:"streaming_error,omitempty"`
// Configuration of platform logs for this channel.
LogConfig *LogConfig `protobuf:"bytes,19,opt,name=log_config,json=logConfig,proto3" json:"log_config,omitempty"`
// Configuration of timecode for this channel.
TimecodeConfig *TimecodeConfig `protobuf:"bytes,21,opt,name=timecode_config,json=timecodeConfig,proto3" json:"timecode_config,omitempty"`
// Optional. Encryption configurations for this channel. Each configuration
// has an ID which is referred to by each MuxStream to indicate which
// configuration is used for that output.
Encryptions []*Encryption `protobuf:"bytes,24,rep,name=encryptions,proto3" json:"encryptions,omitempty"`
// The configuration for input sources defined in
// [input_attachments][google.cloud.video.livestream.v1.Channel.input_attachments].
InputConfig *InputConfig `protobuf:"bytes,25,opt,name=input_config,json=inputConfig,proto3" json:"input_config,omitempty"`
// Optional. Configuration for retention of output files for this channel.
RetentionConfig *RetentionConfig `protobuf:"bytes,26,opt,name=retention_config,json=retentionConfig,proto3" json:"retention_config,omitempty"`
// Optional. List of static overlay images. Those images display over the
// output content for the whole duration of the live stream.
StaticOverlays []*StaticOverlay `protobuf:"bytes,27,rep,name=static_overlays,json=staticOverlays,proto3" json:"static_overlays,omitempty"`
// Optional. Advanced configurations for auto-generated text streams.
AutoTranscriptionConfig *AutoTranscriptionConfig `protobuf:"bytes,30,opt,name=auto_transcription_config,json=autoTranscriptionConfig,proto3" json:"auto_transcription_config,omitempty"`
// contains filtered or unexported fields
}Channel resource represents the processor that does a user-defined "streaming" operation, which includes getting an input stream through an input, transcoding it to multiple renditions, and publishing output live streams in certain formats (for example, HLS or DASH) to the specified location.
func (*Channel) Descriptor
Deprecated: Use Channel.ProtoReflect.Descriptor instead.
func (*Channel) GetActiveInput
func (*Channel) GetAutoTranscriptionConfig
func (x *Channel) GetAutoTranscriptionConfig() *AutoTranscriptionConfigfunc (*Channel) GetCreateTime
func (x *Channel) GetCreateTime() *timestamppb.Timestampfunc (*Channel) GetDistributionStreams
func (x *Channel) GetDistributionStreams() []*DistributionStreamfunc (*Channel) GetDistributions
func (x *Channel) GetDistributions() []*Distributionfunc (*Channel) GetElementaryStreams
func (x *Channel) GetElementaryStreams() []*ElementaryStreamfunc (*Channel) GetEncryptions
func (x *Channel) GetEncryptions() []*Encryptionfunc (*Channel) GetInputAttachments
func (x *Channel) GetInputAttachments() []*InputAttachmentfunc (*Channel) GetInputConfig
func (x *Channel) GetInputConfig() *InputConfigfunc (*Channel) GetLabels
func (*Channel) GetLogConfig
func (*Channel) GetManifests
func (*Channel) GetMuxStreams
func (*Channel) GetName
func (*Channel) GetOutput
func (x *Channel) GetOutput() *Channel_Outputfunc (*Channel) GetRetentionConfig
func (x *Channel) GetRetentionConfig() *RetentionConfigfunc (*Channel) GetSpriteSheets
func (x *Channel) GetSpriteSheets() []*SpriteSheetfunc (*Channel) GetStaticOverlays
func (x *Channel) GetStaticOverlays() []*StaticOverlayfunc (*Channel) GetStreamingError
func (*Channel) GetStreamingState
func (x *Channel) GetStreamingState() Channel_StreamingStatefunc (*Channel) GetTimecodeConfig
func (x *Channel) GetTimecodeConfig() *TimecodeConfigfunc (*Channel) GetUpdateTime
func (x *Channel) GetUpdateTime() *timestamppb.Timestampfunc (*Channel) ProtoMessage
func (*Channel) ProtoMessage()func (*Channel) ProtoReflect
func (x *Channel) ProtoReflect() protoreflect.Messagefunc (*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.Messagefunc (*ChannelOperationResponse) Reset
func (x *ChannelOperationResponse) Reset()func (*ChannelOperationResponse) String
func (x *ChannelOperationResponse) String() stringChannel_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() stringfunc (*Channel_Output) ProtoMessage
func (*Channel_Output) ProtoMessage()func (*Channel_Output) ProtoReflect
func (x *Channel_Output) ProtoReflect() protoreflect.Messagefunc (*Channel_Output) Reset
func (x *Channel_Output) Reset()func (*Channel_Output) String
func (x *Channel_Output) String() stringChannel_StreamingState
type Channel_StreamingState int32State 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.EnumDescriptorfunc (Channel_StreamingState) Enum
func (x Channel_StreamingState) Enum() *Channel_StreamingStatefunc (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.EnumNumberfunc (Channel_StreamingState) String
func (x Channel_StreamingState) String() stringfunc (Channel_StreamingState) Type
func (Channel_StreamingState) Type() protoreflect.EnumTypeClip
type Clip struct {
// The resource name of the clip, in the following format:
// `projects/{project}/locations/{location}/channels/{channelId}/clips/{clipId}`.
// `{clipId}` is a user-specified resource id that conforms to the following
// criteria:
//
// 1. 1 character minimum, 63 characters maximum
// 2. Only contains letters, digits, underscores, and hyphens
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. The creation timestamp of the clip resource.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. The timestamp when the clip request starts to be processed.
StartTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
// Output only. The update timestamp of the clip resource.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// The labels associated with this resource. Each label is a key-value pair.
Labels map[string]string `protobuf:"bytes,5,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// Output only. The state of the clip.
State Clip_State `protobuf:"varint,6,opt,name=state,proto3,enum=google.cloud.video.livestream.v1.Clip_State" json:"state,omitempty"`
// Specify the `output_uri` to determine where to place the clip segments and
// clip manifest files in Cloud Storage. The manifests specified in
// `clip_manifests` fields will be placed under this URI. The exact URI of the
// generated manifests will be provided in `clip_manifests.output_uri` for
// each manifest.
// Example:
// "output_uri": "gs://my-bucket/clip-outputs"
// "clip_manifests.output_uri": "gs://my-bucket/clip-outputs/main.m3u8"
OutputUri string `protobuf:"bytes,7,opt,name=output_uri,json=outputUri,proto3" json:"output_uri,omitempty"`
// Output only. An error object that describes the reason for the failure.
// This property only presents when `state` is `FAILED`.
Error *status.Status `protobuf:"bytes,9,opt,name=error,proto3" json:"error,omitempty"`
// The specified ranges of segments to generate a clip.
Slices []*Clip_Slice `protobuf:"bytes,10,rep,name=slices,proto3" json:"slices,omitempty"`
// Required. A list of clip manifests. Currently only one clip manifest is
// allowed.
ClipManifests []*Clip_ClipManifest `protobuf:"bytes,12,rep,name=clip_manifests,json=clipManifests,proto3" json:"clip_manifests,omitempty"`
// Optional. OutputType of the clip. If not specified, the default value is
// MANIFEST.
OutputType Clip_OutputType `protobuf:"varint,13,opt,name=output_type,json=outputType,proto3,enum=google.cloud.video.livestream.v1.Clip_OutputType" json:"output_type,omitempty"`
// contains filtered or unexported fields
}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_ClipManifestfunc (*Clip) GetCreateTime
func (x *Clip) GetCreateTime() *timestamppb.Timestampfunc (*Clip) GetError
func (*Clip) GetLabels
func (*Clip) GetName
func (*Clip) GetOutputType
func (x *Clip) GetOutputType() Clip_OutputTypefunc (*Clip) GetOutputUri
func (*Clip) GetSlices
func (x *Clip) GetSlices() []*Clip_Slicefunc (*Clip) GetStartTime
func (x *Clip) GetStartTime() *timestamppb.Timestampfunc (*Clip) GetState
func (x *Clip) GetState() Clip_Statefunc (*Clip) GetUpdateTime
func (x *Clip) GetUpdateTime() *timestamppb.Timestampfunc (*Clip) ProtoMessage
func (*Clip) ProtoMessage()func (*Clip) ProtoReflect
func (x *Clip) ProtoReflect() protoreflect.Messagefunc (*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() stringfunc (*Clip_ClipManifest) GetOutputUri
func (x *Clip_ClipManifest) GetOutputUri() stringfunc (*Clip_ClipManifest) ProtoMessage
func (*Clip_ClipManifest) ProtoMessage()func (*Clip_ClipManifest) ProtoReflect
func (x *Clip_ClipManifest) ProtoReflect() protoreflect.Messagefunc (*Clip_ClipManifest) Reset
func (x *Clip_ClipManifest) Reset()func (*Clip_ClipManifest) String
func (x *Clip_ClipManifest) String() stringClip_OutputType
type Clip_OutputType int32OutputType represents the output type of the clip.
Clip_OUTPUT_TYPE_UNSPECIFIED, Clip_MANIFEST, Clip_MP4
const (
// OutputType is not specified.
Clip_OUTPUT_TYPE_UNSPECIFIED Clip_OutputType = 0
// OutputType is a VOD manifest. This is the default value.
Clip_MANIFEST Clip_OutputType = 1
// OutputType is an MP4 file.
Clip_MP4 Clip_OutputType = 2
)func (Clip_OutputType) Descriptor
func (Clip_OutputType) Descriptor() protoreflect.EnumDescriptorfunc (Clip_OutputType) Enum
func (x Clip_OutputType) Enum() *Clip_OutputTypefunc (Clip_OutputType) EnumDescriptor
func (Clip_OutputType) EnumDescriptor() ([]byte, []int)Deprecated: Use Clip_OutputType.Descriptor instead.
func (Clip_OutputType) Number
func (x Clip_OutputType) Number() protoreflect.EnumNumberfunc (Clip_OutputType) String
func (x Clip_OutputType) String() stringfunc (Clip_OutputType) Type
func (Clip_OutputType) Type() protoreflect.EnumTypeClip_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_Kindfunc (*Clip_Slice) GetTimeSlice
func (x *Clip_Slice) GetTimeSlice() *Clip_TimeSlicefunc (*Clip_Slice) ProtoMessage
func (*Clip_Slice) ProtoMessage()func (*Clip_Slice) ProtoReflect
func (x *Clip_Slice) ProtoReflect() protoreflect.Messagefunc (*Clip_Slice) Reset
func (x *Clip_Slice) Reset()func (*Clip_Slice) String
func (x *Clip_Slice) String() stringClip_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 int32State 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.EnumDescriptorfunc (Clip_State) Enum
func (x Clip_State) Enum() *Clip_Statefunc (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.EnumNumberfunc (Clip_State) String
func (x Clip_State) String() stringfunc (Clip_State) Type
func (Clip_State) Type() protoreflect.EnumTypeClip_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.Timestampfunc (*Clip_TimeSlice) GetMarkoutTime
func (x *Clip_TimeSlice) GetMarkoutTime() *timestamppb.Timestampfunc (*Clip_TimeSlice) ProtoMessage
func (*Clip_TimeSlice) ProtoMessage()func (*Clip_TimeSlice) ProtoReflect
func (x *Clip_TimeSlice) ProtoReflect() protoreflect.Messagefunc (*Clip_TimeSlice) Reset
func (x *Clip_TimeSlice) Reset()func (*Clip_TimeSlice) String
func (x *Clip_TimeSlice) String() stringCreateAssetRequest
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 lower-case letter
// or a number, and consist of only lower-case letters, numbers, and hyphens.
// In other words, it must match the following regex:
// `^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$`.
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() *Assetfunc (*CreateAssetRequest) GetAssetId
func (x *CreateAssetRequest) GetAssetId() stringfunc (*CreateAssetRequest) GetParent
func (x *CreateAssetRequest) GetParent() stringfunc (*CreateAssetRequest) GetRequestId
func (x *CreateAssetRequest) GetRequestId() stringfunc (*CreateAssetRequest) ProtoMessage
func (*CreateAssetRequest) ProtoMessage()func (*CreateAssetRequest) ProtoReflect
func (x *CreateAssetRequest) ProtoReflect() protoreflect.Messagefunc (*CreateAssetRequest) Reset
func (x *CreateAssetRequest) Reset()func (*CreateAssetRequest) String
func (x *CreateAssetRequest) String() stringCreateChannelRequest
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 lower-case letter
// or a number, and consist of only lower-case letters, numbers, and hyphens.
// In other words, it must match the following regex:
// `^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$`.
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() *Channelfunc (*CreateChannelRequest) GetChannelId
func (x *CreateChannelRequest) GetChannelId() stringfunc (*CreateChannelRequest) GetParent
func (x *CreateChannelRequest) GetParent() stringfunc (*CreateChannelRequest) GetRequestId
func (x *CreateChannelRequest) GetRequestId() stringfunc (*CreateChannelRequest) ProtoMessage
func (*CreateChannelRequest) ProtoMessage()func (*CreateChannelRequest) ProtoReflect
func (x *CreateChannelRequest) ProtoReflect() protoreflect.Messagefunc (*CreateChannelRequest) Reset
func (x *CreateChannelRequest) Reset()func (*CreateChannelRequest) String
func (x *CreateChannelRequest) String() stringCreateClipRequest
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. The ID of the clip resource to be created.
//
// This value must be 1-63 characters, begin and end with a lower-case letter
// or a number, and consist of only lower-case letters, numbers, and hyphens.
// In other words, it must match the following regex:
// `^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$`.
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() *Clipfunc (*CreateClipRequest) GetClipId
func (x *CreateClipRequest) GetClipId() stringfunc (*CreateClipRequest) GetParent
func (x *CreateClipRequest) GetParent() stringfunc (*CreateClipRequest) GetRequestId
func (x *CreateClipRequest) GetRequestId() stringfunc (*CreateClipRequest) ProtoMessage
func (*CreateClipRequest) ProtoMessage()func (*CreateClipRequest) ProtoReflect
func (x *CreateClipRequest) ProtoReflect() protoreflect.Messagefunc (*CreateClipRequest) Reset
func (x *CreateClipRequest) Reset()func (*CreateClipRequest) String
func (x *CreateClipRequest) String() stringCreateDvrSessionRequest
type CreateDvrSessionRequest struct {
// Required. The parent resource name, in the following form:
// `projects/{project}/locations/{location}/channels/{channelId}`.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The ID of the DVR session resource to be created.
//
// This value must be 1-63 characters, begin and end with a lower-case letter
// or a number, and consist of only lower-case letters, numbers, and hyphens.
// In other words, it must match the following regex:
// `^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$`.
DvrSessionId string `protobuf:"bytes,2,opt,name=dvr_session_id,json=dvrSessionId,proto3" json:"dvr_session_id,omitempty"`
// Required. The resource being created
DvrSession *DvrSession `protobuf:"bytes,3,opt,name=dvr_session,json=dvrSession,proto3" json:"dvr_session,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.CreateDvrSession".
func (*CreateDvrSessionRequest) Descriptor
func (*CreateDvrSessionRequest) Descriptor() ([]byte, []int)Deprecated: Use CreateDvrSessionRequest.ProtoReflect.Descriptor instead.
func (*CreateDvrSessionRequest) GetDvrSession
func (x *CreateDvrSessionRequest) GetDvrSession() *DvrSessionfunc (*CreateDvrSessionRequest) GetDvrSessionId
func (x *CreateDvrSessionRequest) GetDvrSessionId() stringfunc (*CreateDvrSessionRequest) GetParent
func (x *CreateDvrSessionRequest) GetParent() stringfunc (*CreateDvrSessionRequest) GetRequestId
func (x *CreateDvrSessionRequest) GetRequestId() stringfunc (*CreateDvrSessionRequest) ProtoMessage
func (*CreateDvrSessionRequest) ProtoMessage()func (*CreateDvrSessionRequest) ProtoReflect
func (x *CreateDvrSessionRequest) ProtoReflect() protoreflect.Messagefunc (*CreateDvrSessionRequest) Reset
func (x *CreateDvrSessionRequest) Reset()func (*CreateDvrSessionRequest) String
func (x *CreateDvrSessionRequest) String() stringCreateEventRequest
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 lower-case letter
// or a number, and consist of only lower-case letters, numbers, and hyphens.
// In other words, it must match the following regex:
// `^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$`.
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() *Eventfunc (*CreateEventRequest) GetEventId
func (x *CreateEventRequest) GetEventId() stringfunc (*CreateEventRequest) GetParent
func (x *CreateEventRequest) GetParent() stringfunc (*CreateEventRequest) GetRequestId
func (x *CreateEventRequest) GetRequestId() stringfunc (*CreateEventRequest) ProtoMessage
func (*CreateEventRequest) ProtoMessage()func (*CreateEventRequest) ProtoReflect
func (x *CreateEventRequest) ProtoReflect() protoreflect.Messagefunc (*CreateEventRequest) Reset
func (x *CreateEventRequest) Reset()func (*CreateEventRequest) String
func (x *CreateEventRequest) String() stringCreateInputRequest
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 lower-case letter
// or a number, and consist of only lower-case letters, numbers, and hyphens.
// In other words, it must match the following regex:
// `^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$`.
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() *Inputfunc (*CreateInputRequest) GetInputId
func (x *CreateInputRequest) GetInputId() stringfunc (*CreateInputRequest) GetParent
func (x *CreateInputRequest) GetParent() stringfunc (*CreateInputRequest) GetRequestId
func (x *CreateInputRequest) GetRequestId() stringfunc (*CreateInputRequest) ProtoMessage
func (*CreateInputRequest) ProtoMessage()func (*CreateInputRequest) ProtoReflect
func (x *CreateInputRequest) ProtoReflect() protoreflect.Messagefunc (*CreateInputRequest) Reset
func (x *CreateInputRequest) Reset()func (*CreateInputRequest) String
func (x *CreateInputRequest) String() stringDeleteAssetRequest
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() stringfunc (*DeleteAssetRequest) GetRequestId
func (x *DeleteAssetRequest) GetRequestId() stringfunc (*DeleteAssetRequest) ProtoMessage
func (*DeleteAssetRequest) ProtoMessage()func (*DeleteAssetRequest) ProtoReflect
func (x *DeleteAssetRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteAssetRequest) Reset
func (x *DeleteAssetRequest) Reset()func (*DeleteAssetRequest) String
func (x *DeleteAssetRequest) String() stringDeleteChannelRequest
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() boolfunc (*DeleteChannelRequest) GetName
func (x *DeleteChannelRequest) GetName() stringfunc (*DeleteChannelRequest) GetRequestId
func (x *DeleteChannelRequest) GetRequestId() stringfunc (*DeleteChannelRequest) ProtoMessage
func (*DeleteChannelRequest) ProtoMessage()func (*DeleteChannelRequest) ProtoReflect
func (x *DeleteChannelRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteChannelRequest) Reset
func (x *DeleteChannelRequest) Reset()func (*DeleteChannelRequest) String
func (x *DeleteChannelRequest) String() stringDeleteClipRequest
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() stringfunc (*DeleteClipRequest) GetRequestId
func (x *DeleteClipRequest) GetRequestId() stringfunc (*DeleteClipRequest) ProtoMessage
func (*DeleteClipRequest) ProtoMessage()func (*DeleteClipRequest) ProtoReflect
func (x *DeleteClipRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteClipRequest) Reset
func (x *DeleteClipRequest) Reset()func (*DeleteClipRequest) String
func (x *DeleteClipRequest) String() stringDeleteDvrSessionRequest
type DeleteDvrSessionRequest struct {
// Required. The name of the event resource, in the form of:
// `projects/{project}/locations/{location}/channels/{channelId}/dvrSessions/{dvrSessionId}`.
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.DeleteDvrSession".
func (*DeleteDvrSessionRequest) Descriptor
func (*DeleteDvrSessionRequest) Descriptor() ([]byte, []int)Deprecated: Use DeleteDvrSessionRequest.ProtoReflect.Descriptor instead.
func (*DeleteDvrSessionRequest) GetName
func (x *DeleteDvrSessionRequest) GetName() stringfunc (*DeleteDvrSessionRequest) GetRequestId
func (x *DeleteDvrSessionRequest) GetRequestId() stringfunc (*DeleteDvrSessionRequest) ProtoMessage
func (*DeleteDvrSessionRequest) ProtoMessage()func (*DeleteDvrSessionRequest) ProtoReflect
func (x *DeleteDvrSessionRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteDvrSessionRequest) Reset
func (x *DeleteDvrSessionRequest) Reset()func (*DeleteDvrSessionRequest) String
func (x *DeleteDvrSessionRequest) String() stringDeleteEventRequest
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() stringfunc (*DeleteEventRequest) GetRequestId
func (x *DeleteEventRequest) GetRequestId() stringfunc (*DeleteEventRequest) ProtoMessage
func (*DeleteEventRequest) ProtoMessage()func (*DeleteEventRequest) ProtoReflect
func (x *DeleteEventRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteEventRequest) Reset
func (x *DeleteEventRequest) Reset()func (*DeleteEventRequest) String
func (x *DeleteEventRequest) String() stringDeleteInputRequest
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() stringfunc (*DeleteInputRequest) GetRequestId
func (x *DeleteInputRequest) GetRequestId() stringfunc (*DeleteInputRequest) ProtoMessage
func (*DeleteInputRequest) ProtoMessage()func (*DeleteInputRequest) ProtoReflect
func (x *DeleteInputRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteInputRequest) Reset
func (x *DeleteInputRequest) Reset()func (*DeleteInputRequest) String
func (x *DeleteInputRequest) String() stringDistribution
type Distribution struct {
// Required. A unique key for this distribution. 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"`
// Required. `DistributionStream`
// [key][google.cloud.video.livestream.v1.DistributionStream.key]s that should
// appear in this distribution output.
//
// - For SRT protocol, only `ts` distribution streams can be specified.
// - For RTMP protocol, only `flv` distribution streams can be specified.
DistributionStream string `protobuf:"bytes,2,opt,name=distribution_stream,json=distributionStream,proto3" json:"distribution_stream,omitempty"`
// Output only. State of the distribution.
State Distribution_State `protobuf:"varint,3,opt,name=state,proto3,enum=google.cloud.video.livestream.v1.Distribution_State" json:"state,omitempty"`
// Output only. Only present when the `state` is `ERROR`. The reason for the
// error state of the distribution.
Error *status.Status `protobuf:"bytes,4,opt,name=error,proto3" json:"error,omitempty"`
// Configurations for the output endpoint by streaming protocols.
//
// Types that are assignable to Endpoint:
//
// *Distribution_SrtPush
// *Distribution_RtmpPush
Endpoint isDistribution_Endpoint `protobuf_oneof:"endpoint"`
// contains filtered or unexported fields
}Distribution configuration.
func (*Distribution) Descriptor
func (*Distribution) Descriptor() ([]byte, []int)Deprecated: Use Distribution.ProtoReflect.Descriptor instead.
func (*Distribution) GetDistributionStream
func (x *Distribution) GetDistributionStream() stringfunc (*Distribution) GetEndpoint
func (m *Distribution) GetEndpoint() isDistribution_Endpointfunc (*Distribution) GetError
func (x *Distribution) GetError() *status.Statusfunc (*Distribution) GetKey
func (x *Distribution) GetKey() stringfunc (*Distribution) GetRtmpPush
func (x *Distribution) GetRtmpPush() *RtmpPushOutputEndpointfunc (*Distribution) GetSrtPush
func (x *Distribution) GetSrtPush() *SrtPushOutputEndpointfunc (*Distribution) GetState
func (x *Distribution) GetState() Distribution_Statefunc (*Distribution) ProtoMessage
func (*Distribution) ProtoMessage()func (*Distribution) ProtoReflect
func (x *Distribution) ProtoReflect() protoreflect.Messagefunc (*Distribution) Reset
func (x *Distribution) Reset()func (*Distribution) String
func (x *Distribution) String() stringDistributionStream
type DistributionStream struct {
// Required. A unique key for this distribution 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"`
// Required. The container format.
//
// Supported container formats:
//
// - `ts`, must contain exactly one audio stream and up to one video stream.
// - `flv`, must contain at most one audio stream and at most one video
// stream.
Container string `protobuf:"bytes,2,opt,name=container,proto3" json:"container,omitempty"`
// Required. List of `ElementaryStream`
// [key][google.cloud.video.livestream.v1.ElementaryStream.key]s multiplexed
// in this stream. Must contain at least one audio stream and up to one video
// stream.
ElementaryStreams []string `protobuf:"bytes,3,rep,name=elementary_streams,json=elementaryStreams,proto3" json:"elementary_streams,omitempty"`
// contains filtered or unexported fields
}Multiplexing settings for output streams used in [Distribution][google.cloud.video.livestream.v1.Distribution].
func (*DistributionStream) Descriptor
func (*DistributionStream) Descriptor() ([]byte, []int)Deprecated: Use DistributionStream.ProtoReflect.Descriptor instead.
func (*DistributionStream) GetContainer
func (x *DistributionStream) GetContainer() stringfunc (*DistributionStream) GetElementaryStreams
func (x *DistributionStream) GetElementaryStreams() []stringfunc (*DistributionStream) GetKey
func (x *DistributionStream) GetKey() stringfunc (*DistributionStream) ProtoMessage
func (*DistributionStream) ProtoMessage()func (*DistributionStream) ProtoReflect
func (x *DistributionStream) ProtoReflect() protoreflect.Messagefunc (*DistributionStream) Reset
func (x *DistributionStream) Reset()func (*DistributionStream) String
func (x *DistributionStream) String() stringDistribution_RtmpPush
type Distribution_RtmpPush struct {
// Output endpoint using RTMP_PUSH.
RtmpPush *RtmpPushOutputEndpoint `protobuf:"bytes,6,opt,name=rtmp_push,json=rtmpPush,proto3,oneof"`
}Distribution_SrtPush
type Distribution_SrtPush struct {
// Output endpoint using SRT_PUSH.
SrtPush *SrtPushOutputEndpoint `protobuf:"bytes,5,opt,name=srt_push,json=srtPush,proto3,oneof"`
}Distribution_State
type Distribution_State int32State of this distribution.
Distribution_STATE_UNSPECIFIED, Distribution_ERROR, Distribution_NOT_READY, Distribution_READY, Distribution_AWAITING_INPUT, Distribution_DISTRIBUTING
const (
// State is not specified.
Distribution_STATE_UNSPECIFIED Distribution_State = 0
// Distribution has trouble to produce or deliver the output.
Distribution_ERROR Distribution_State = 5
// Distribution is not ready to be started.
Distribution_NOT_READY Distribution_State = 6
// Distribution is ready to be started.
Distribution_READY Distribution_State = 7
// Distribution is already started and is waiting for input.
Distribution_AWAITING_INPUT Distribution_State = 8
// Distribution is already started and is generating output.
Distribution_DISTRIBUTING Distribution_State = 9
)func (Distribution_State) Descriptor
func (Distribution_State) Descriptor() protoreflect.EnumDescriptorfunc (Distribution_State) Enum
func (x Distribution_State) Enum() *Distribution_Statefunc (Distribution_State) EnumDescriptor
func (Distribution_State) EnumDescriptor() ([]byte, []int)Deprecated: Use Distribution_State.Descriptor instead.
func (Distribution_State) Number
func (x Distribution_State) Number() protoreflect.EnumNumberfunc (Distribution_State) String
func (x Distribution_State) String() stringfunc (Distribution_State) Type
func (Distribution_State) Type() protoreflect.EnumTypeDvrSession
type DvrSession struct {
// Identifier. The resource name of the DVR session, in the following format:
// `projects/{project}/locations/{location}/channels/{channelId}/dvrSessions/{dvrSessionId}`.
// `{dvrSessionId}` is a user-specified resource id that conforms to the
// following criteria:
//
// 1. 1 character minimum, 63 characters maximum
// 2. Only contains letters, digits, underscores, and hyphens
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. The creation time.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. The update time.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// Optional. User-defined key/value metadata.
Labels map[string]string `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// Output only. The state of the clip.
State DvrSession_State `protobuf:"varint,5,opt,name=state,proto3,enum=google.cloud.video.livestream.v1.DvrSession_State" json:"state,omitempty"`
// Output only. An error object that describes the reason for the failure.
// This property only presents when `state` is `FAILED`.
Error *status.Status `protobuf:"bytes,6,opt,name=error,proto3" json:"error,omitempty"`
// Required. A list of DVR manifests. Currently only one DVR manifest is
// allowed.
DvrManifests []*DvrSession_DvrManifest `protobuf:"bytes,7,rep,name=dvr_manifests,json=dvrManifests,proto3" json:"dvr_manifests,omitempty"`
// Required. The specified ranges of segments to generate a DVR recording.
DvrWindows []*DvrSession_DvrWindow `protobuf:"bytes,8,rep,name=dvr_windows,json=dvrWindows,proto3" json:"dvr_windows,omitempty"`
// contains filtered or unexported fields
}DvrSession is a sub-resource under channel. Each DvrSession represents a DVR recording of the live stream for a specific time range.
func (*DvrSession) Descriptor
func (*DvrSession) Descriptor() ([]byte, []int)Deprecated: Use DvrSession.ProtoReflect.Descriptor instead.
func (*DvrSession) GetCreateTime
func (x *DvrSession) GetCreateTime() *timestamppb.Timestampfunc (*DvrSession) GetDvrManifests
func (x *DvrSession) GetDvrManifests() []*DvrSession_DvrManifestfunc (*DvrSession) GetDvrWindows
func (x *DvrSession) GetDvrWindows() []*DvrSession_DvrWindowfunc (*DvrSession) GetError
func (x *DvrSession) GetError() *status.Statusfunc (*DvrSession) GetLabels
func (x *DvrSession) GetLabels() map[string]stringfunc (*DvrSession) GetName
func (x *DvrSession) GetName() stringfunc (*DvrSession) GetState
func (x *DvrSession) GetState() DvrSession_Statefunc (*DvrSession) GetUpdateTime
func (x *DvrSession) GetUpdateTime() *timestamppb.Timestampfunc (*DvrSession) ProtoMessage
func (*DvrSession) ProtoMessage()func (*DvrSession) ProtoReflect
func (x *DvrSession) ProtoReflect() protoreflect.Messagefunc (*DvrSession) Reset
func (x *DvrSession) Reset()func (*DvrSession) String
func (x *DvrSession) String() stringDvrSession_DvrManifest
type DvrSession_DvrManifest 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 DVR manifest. The DVR output will be
// placed in a directory named `dvr/dvrSessionId/` under the parent
// channel's output uri. Format:
// {channel.output.uri}/dvr/{dvrSessionId}/{channel.manifests.fileName}
// Example: gs://my-bucket/outputs/dvr/my-dvr-session/main.m3u8
OutputUri string `protobuf:"bytes,2,opt,name=output_uri,json=outputUri,proto3" json:"output_uri,omitempty"`
// contains filtered or unexported fields
}DvrManifest identifies a source manifest and specifies a file name for the generated DVR manifest.
func (*DvrSession_DvrManifest) Descriptor
func (*DvrSession_DvrManifest) Descriptor() ([]byte, []int)Deprecated: Use DvrSession_DvrManifest.ProtoReflect.Descriptor instead.
func (*DvrSession_DvrManifest) GetManifestKey
func (x *DvrSession_DvrManifest) GetManifestKey() stringfunc (*DvrSession_DvrManifest) GetOutputUri
func (x *DvrSession_DvrManifest) GetOutputUri() stringfunc (*DvrSession_DvrManifest) ProtoMessage
func (*DvrSession_DvrManifest) ProtoMessage()func (*DvrSession_DvrManifest) ProtoReflect
func (x *DvrSession_DvrManifest) ProtoReflect() protoreflect.Messagefunc (*DvrSession_DvrManifest) Reset
func (x *DvrSession_DvrManifest) Reset()func (*DvrSession_DvrManifest) String
func (x *DvrSession_DvrManifest) String() stringDvrSession_DvrWindow
type DvrSession_DvrWindow struct {
// The allowlist forms of a DVR window.
//
// Types that are assignable to Kind:
//
// *DvrSession_DvrWindow_TimeInterval
Kind isDvrSession_DvrWindow_Kind `protobuf_oneof:"kind"`
// contains filtered or unexported fields
}DvrWindow represents a DVR window.
func (*DvrSession_DvrWindow) Descriptor
func (*DvrSession_DvrWindow) Descriptor() ([]byte, []int)Deprecated: Use DvrSession_DvrWindow.ProtoReflect.Descriptor instead.
func (*DvrSession_DvrWindow) GetKind
func (m *DvrSession_DvrWindow) GetKind() isDvrSession_DvrWindow_Kindfunc (*DvrSession_DvrWindow) GetTimeInterval
func (x *DvrSession_DvrWindow) GetTimeInterval() *TimeIntervalfunc (*DvrSession_DvrWindow) ProtoMessage
func (*DvrSession_DvrWindow) ProtoMessage()func (*DvrSession_DvrWindow) ProtoReflect
func (x *DvrSession_DvrWindow) ProtoReflect() protoreflect.Messagefunc (*DvrSession_DvrWindow) Reset
func (x *DvrSession_DvrWindow) Reset()func (*DvrSession_DvrWindow) String
func (x *DvrSession_DvrWindow) String() stringDvrSession_DvrWindow_TimeInterval
type DvrSession_DvrWindow_TimeInterval struct {
// A time interval in the form of a tuple of Unix epoch time.
TimeInterval *TimeInterval `protobuf:"bytes,1,opt,name=time_interval,json=timeInterval,proto3,oneof"`
}DvrSession_State
type DvrSession_State int32State of the DVR session.
DvrSession_STATE_UNSPECIFIED, DvrSession_PENDING, DvrSession_UPDATING, DvrSession_SCHEDULED, DvrSession_LIVE, DvrSession_FINISHED, DvrSession_FAILED, DvrSession_DELETING, DvrSession_POST_PROCESSING, DvrSession_COOLDOWN, DvrSession_STOPPING
const (
// State is not specified.
DvrSession_STATE_UNSPECIFIED DvrSession_State = 0
// The operation is pending to be picked up by the server.
DvrSession_PENDING DvrSession_State = 1
// The session is being updated.
DvrSession_UPDATING DvrSession_State = 2
// The session is scheduled and waiting for the start time.
DvrSession_SCHEDULED DvrSession_State = 3
// The session is currently in progress and the outputs are available in the
// specified Cloud Storage bucket. For additional information, see the
// `dvr_manifests.output_uri` field.
DvrSession_LIVE DvrSession_State = 4
// Outputs are available in the specified Cloud Storage bucket. For
// additional information, see the `dvr_manifests.output_uri` field.
DvrSession_FINISHED DvrSession_State = 5
// The operation has failed. For additional information, see the `error`
// field.
DvrSession_FAILED DvrSession_State = 6
// The session is being deleted.
DvrSession_DELETING DvrSession_State = 7
// The session is being post processed.
DvrSession_POST_PROCESSING DvrSession_State = 8
// The session is in cooldown. The cooldown period lasts for 60 seconds.
// When the DVR session is updated by the user to have a new end time that
// is likely already in the past, the DVR manifest will end as soon as
// possible and the DVR session will move to this state. This is done to
// prevent the players to receive a manifest update that removes a segment
// that has already been played. After the cooldown period ends, a new
// manifest is generated that honors the new end time.
DvrSession_COOLDOWN DvrSession_State = 9
// The session is being stopped. The session will move to STOPPING state, if
// the parent channel is updated.
DvrSession_STOPPING DvrSession_State = 10
)func (DvrSession_State) Descriptor
func (DvrSession_State) Descriptor() protoreflect.EnumDescriptorfunc (DvrSession_State) Enum
func (x DvrSession_State) Enum() *DvrSession_Statefunc (DvrSession_State) EnumDescriptor
func (DvrSession_State) EnumDescriptor() ([]byte, []int)Deprecated: Use DvrSession_State.Descriptor instead.
func (DvrSession_State) Number
func (x DvrSession_State) Number() protoreflect.EnumNumberfunc (DvrSession_State) String
func (x DvrSession_State) String() stringfunc (DvrSession_State) Type
func (DvrSession_State) Type() protoreflect.EnumTypeElementaryStream
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() *AudioStreamfunc (*ElementaryStream) GetElementaryStream
func (m *ElementaryStream) GetElementaryStream() isElementaryStream_ElementaryStreamfunc (*ElementaryStream) GetKey
func (x *ElementaryStream) GetKey() stringfunc (*ElementaryStream) GetTextStream
func (x *ElementaryStream) GetTextStream() *TextStreamfunc (*ElementaryStream) GetVideoStream
func (x *ElementaryStream) GetVideoStream() *VideoStreamfunc (*ElementaryStream) ProtoMessage
func (*ElementaryStream) ProtoMessage()func (*ElementaryStream) ProtoReflect
func (x *ElementaryStream) ProtoReflect() protoreflect.Messagefunc (*ElementaryStream) Reset
func (x *ElementaryStream) Reset()func (*ElementaryStream) String
func (x *ElementaryStream) String() stringElementaryStream_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_Aes128Encryptionfunc (*Encryption) GetDrmSystems
func (x *Encryption) GetDrmSystems() *Encryption_DrmSystemsfunc (*Encryption) GetEncryptionMode
func (m *Encryption) GetEncryptionMode() isEncryption_EncryptionModefunc (*Encryption) GetId
func (x *Encryption) GetId() stringfunc (*Encryption) GetMpegCenc
func (x *Encryption) GetMpegCenc() *Encryption_MpegCommonEncryptionfunc (*Encryption) GetSampleAes
func (x *Encryption) GetSampleAes() *Encryption_SampleAesEncryptionfunc (*Encryption) GetSecretManagerKeySource
func (x *Encryption) GetSecretManagerKeySource() *Encryption_SecretManagerSourcefunc (*Encryption) GetSecretSource
func (m *Encryption) GetSecretSource() isEncryption_SecretSourcefunc (*Encryption) ProtoMessage
func (*Encryption) ProtoMessage()func (*Encryption) ProtoReflect
func (x *Encryption) ProtoReflect() protoreflect.Messagefunc (*Encryption) Reset
func (x *Encryption) Reset()func (*Encryption) String
func (x *Encryption) String() stringEncryptionUpdate
type EncryptionUpdate struct {
// Required. Identifier for the encryption option to be updated.
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// Defines where new content keys are stored.
//
// Types that are assignable to SecretSource:
//
// *EncryptionUpdate_SecretManagerKeySource
SecretSource isEncryptionUpdate_SecretSource `protobuf_oneof:"secret_source"`
// contains filtered or unexported fields
}Encryption setting when updating encryption.
func (*EncryptionUpdate) Descriptor
func (*EncryptionUpdate) Descriptor() ([]byte, []int)Deprecated: Use EncryptionUpdate.ProtoReflect.Descriptor instead.
func (*EncryptionUpdate) GetId
func (x *EncryptionUpdate) GetId() stringfunc (*EncryptionUpdate) GetSecretManagerKeySource
func (x *EncryptionUpdate) GetSecretManagerKeySource() *Encryption_SecretManagerSourcefunc (*EncryptionUpdate) GetSecretSource
func (m *EncryptionUpdate) GetSecretSource() isEncryptionUpdate_SecretSourcefunc (*EncryptionUpdate) ProtoMessage
func (*EncryptionUpdate) ProtoMessage()func (*EncryptionUpdate) ProtoReflect
func (x *EncryptionUpdate) ProtoReflect() protoreflect.Messagefunc (*EncryptionUpdate) Reset
func (x *EncryptionUpdate) Reset()func (*EncryptionUpdate) String
func (x *EncryptionUpdate) String() stringEncryptionUpdate_SecretManagerKeySource
type EncryptionUpdate_SecretManagerKeySource struct {
// For keys stored in Google Secret Manager.
SecretManagerKeySource *Encryption_SecretManagerSource `protobuf:"bytes,2,opt,name=secret_manager_key_source,json=secretManagerKeySource,proto3,oneof"`
}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.Messagefunc (*Encryption_Aes128Encryption) Reset
func (x *Encryption_Aes128Encryption) Reset()func (*Encryption_Aes128Encryption) String
func (x *Encryption_Aes128Encryption) String() stringEncryption_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.Messagefunc (*Encryption_Clearkey) Reset
func (x *Encryption_Clearkey) Reset()func (*Encryption_Clearkey) String
func (x *Encryption_Clearkey) String() stringEncryption_DrmSystems
type Encryption_DrmSystems struct {
// Optional. Widevine configuration.
Widevine *Encryption_Widevine `protobuf:"bytes,1,opt,name=widevine,proto3" json:"widevine,omitempty"`
// Optional. Fairplay configuration.
Fairplay *Encryption_Fairplay `protobuf:"bytes,2,opt,name=fairplay,proto3" json:"fairplay,omitempty"`
// Optional. Playready configuration.
Playready *Encryption_Playready `protobuf:"bytes,3,opt,name=playready,proto3" json:"playready,omitempty"`
// Optional. 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_Clearkeyfunc (*Encryption_DrmSystems) GetFairplay
func (x *Encryption_DrmSystems) GetFairplay() *Encryption_Fairplayfunc (*Encryption_DrmSystems) GetPlayready
func (x *Encryption_DrmSystems) GetPlayready() *Encryption_Playreadyfunc (*Encryption_DrmSystems) GetWidevine
func (x *Encryption_DrmSystems) GetWidevine() *Encryption_Widevinefunc (*Encryption_DrmSystems) ProtoMessage
func (*Encryption_DrmSystems) ProtoMessage()func (*Encryption_DrmSystems) ProtoReflect
func (x *Encryption_DrmSystems) ProtoReflect() protoreflect.Messagefunc (*Encryption_DrmSystems) Reset
func (x *Encryption_DrmSystems) Reset()func (*Encryption_DrmSystems) String
func (x *Encryption_DrmSystems) String() stringEncryption_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.Messagefunc (*Encryption_Fairplay) Reset
func (x *Encryption_Fairplay) Reset()func (*Encryption_Fairplay) String
func (x *Encryption_Fairplay) String() stringEncryption_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() stringfunc (*Encryption_MpegCommonEncryption) ProtoMessage
func (*Encryption_MpegCommonEncryption) ProtoMessage()func (*Encryption_MpegCommonEncryption) ProtoReflect
func (x *Encryption_MpegCommonEncryption) ProtoReflect() protoreflect.Messagefunc (*Encryption_MpegCommonEncryption) Reset
func (x *Encryption_MpegCommonEncryption) Reset()func (*Encryption_MpegCommonEncryption) String
func (x *Encryption_MpegCommonEncryption) String() stringEncryption_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.Messagefunc (*Encryption_Playready) Reset
func (x *Encryption_Playready) Reset()func (*Encryption_Playready) String
func (x *Encryption_Playready) String() stringEncryption_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.Messagefunc (*Encryption_SampleAesEncryption) Reset
func (x *Encryption_SampleAesEncryption) Reset()func (*Encryption_SampleAesEncryption) String
func (x *Encryption_SampleAesEncryption) String() stringEncryption_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() stringfunc (*Encryption_SecretManagerSource) ProtoMessage
func (*Encryption_SecretManagerSource) ProtoMessage()func (*Encryption_SecretManagerSource) ProtoReflect
func (x *Encryption_SecretManagerSource) ProtoReflect() protoreflect.Messagefunc (*Encryption_SecretManagerSource) Reset
func (x *Encryption_SecretManagerSource) Reset()func (*Encryption_SecretManagerSource) String
func (x *Encryption_SecretManagerSource) String() stringEncryption_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.Messagefunc (*Encryption_Widevine) Reset
func (x *Encryption_Widevine) Reset()func (*Encryption_Widevine) String
func (x *Encryption_Widevine) String() stringEvent
type Event struct {
// The resource name of the event, in the form of:
// `projects/{project}/locations/{location}/channels/{channelId}/events/{eventId}`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. The creation time.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. The update time.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// User-defined key/value metadata.
Labels map[string]string `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// Required. Operation to be executed by this event.
//
// Types that are assignable to Task:
//
// *Event_InputSwitch
// *Event_AdBreak
// *Event_ReturnToProgram
// *Event_Slate
// *Event_Mute
// *Event_Unmute
// *Event_UpdateEncryptions
Task isEvent_Task `protobuf_oneof:"task"`
// When this field is set to true, the event will be executed at the earliest
// time that the server can schedule the event and
// [execution_time][google.cloud.video.livestream.v1.Event.execution_time]
// will be populated with the time that the server actually schedules the
// event.
ExecuteNow bool `protobuf:"varint,9,opt,name=execute_now,json=executeNow,proto3" json:"execute_now,omitempty"`
// The time to execute the event. If you set
// [execute_now][google.cloud.video.livestream.v1.Event.execute_now] to
// `true`, then do not set this field in the `CreateEvent` request. In
// this case, the server schedules the event and populates this field. If you
// set [execute_now][google.cloud.video.livestream.v1.Event.execute_now] to
// `false`, then you must set this field to at least 10 seconds in the future
// or else the event can't be created.
ExecutionTime *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=execution_time,json=executionTime,proto3" json:"execution_time,omitempty"`
// Output only. The state of the event.
State Event_State `protobuf:"varint,11,opt,name=state,proto3,enum=google.cloud.video.livestream.v1.Event_State" json:"state,omitempty"`
// Output only. An error object that describes the reason for the failure.
// This property is always present when `state` is `FAILED`.
Error *status.Status `protobuf:"bytes,12,opt,name=error,proto3" json:"error,omitempty"`
// contains filtered or unexported fields
}Event is a sub-resource of a channel, which can be scheduled by the user to execute operations on a channel resource without having to stop the channel.
func (*Event) Descriptor
Deprecated: Use Event.ProtoReflect.Descriptor instead.
func (*Event) GetAdBreak
func (x *Event) GetAdBreak() *Event_AdBreakTaskfunc (*Event) GetCreateTime
func (x *Event) GetCreateTime() *timestamppb.Timestampfunc (*Event) GetError
func (*Event) GetExecuteNow
func (*Event) GetExecutionTime
func (x *Event) GetExecutionTime() *timestamppb.Timestampfunc (*Event) GetInputSwitch
func (x *Event) GetInputSwitch() *Event_InputSwitchTaskfunc (*Event) GetLabels
func (*Event) GetMute
func (x *Event) GetMute() *Event_MuteTaskfunc (*Event) GetName
func (*Event) GetReturnToProgram
func (x *Event) GetReturnToProgram() *Event_ReturnToProgramTaskfunc (*Event) GetSlate
func (x *Event) GetSlate() *Event_SlateTaskfunc (*Event) GetState
func (x *Event) GetState() Event_Statefunc (*Event) GetTask
func (m *Event) GetTask() isEvent_Taskfunc (*Event) GetUnmute
func (x *Event) GetUnmute() *Event_UnmuteTaskfunc (*Event) GetUpdateEncryptions
func (x *Event) GetUpdateEncryptions() *Event_UpdateEncryptionsTaskfunc (*Event) GetUpdateTime
func (x *Event) GetUpdateTime() *timestamppb.Timestampfunc (*Event) ProtoMessage
func (*Event) ProtoMessage()func (*Event) ProtoReflect
func (x *Event) ProtoReflect() protoreflect.Messagefunc (*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.Durationfunc (*Event_AdBreakTask) ProtoMessage
func (*Event_AdBreakTask) ProtoMessage()func (*Event_AdBreakTask) ProtoReflect
func (x *Event_AdBreakTask) ProtoReflect() protoreflect.Messagefunc (*Event_AdBreakTask) Reset
func (x *Event_AdBreakTask) Reset()func (*Event_AdBreakTask) String
func (x *Event_AdBreakTask) String() stringEvent_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() stringfunc (*Event_InputSwitchTask) ProtoMessage
func (*Event_InputSwitchTask) ProtoMessage()func (*Event_InputSwitchTask) ProtoReflect
func (x *Event_InputSwitchTask) ProtoReflect() protoreflect.Messagefunc (*Event_InputSwitchTask) Reset
func (x *Event_InputSwitchTask) Reset()func (*Event_InputSwitchTask) String
func (x *Event_InputSwitchTask) String() stringEvent_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.Durationfunc (*Event_MuteTask) ProtoMessage
func (*Event_MuteTask) ProtoMessage()func (*Event_MuteTask) ProtoReflect
func (x *Event_MuteTask) ProtoReflect() protoreflect.Messagefunc (*Event_MuteTask) Reset
func (x *Event_MuteTask) Reset()func (*Event_MuteTask) String
func (x *Event_MuteTask) String() stringEvent_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.Messagefunc (*Event_ReturnToProgramTask) Reset
func (x *Event_ReturnToProgramTask) Reset()func (*Event_ReturnToProgramTask) String
func (x *Event_ReturnToProgramTask) String() stringEvent_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() stringfunc (*Event_SlateTask) GetDuration
func (x *Event_SlateTask) GetDuration() *durationpb.Durationfunc (*Event_SlateTask) ProtoMessage
func (*Event_SlateTask) ProtoMessage()func (*Event_SlateTask) ProtoReflect
func (x *Event_SlateTask) ProtoReflect() protoreflect.Messagefunc (*Event_SlateTask) Reset
func (x *Event_SlateTask) Reset()func (*Event_SlateTask) String
func (x *Event_SlateTask) String() stringEvent_State
type Event_State int32State 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.EnumDescriptorfunc (Event_State) Enum
func (x Event_State) Enum() *Event_Statefunc (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.EnumNumberfunc (Event_State) String
func (x Event_State) String() stringfunc (Event_State) Type
func (Event_State) Type() protoreflect.EnumTypeEvent_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.Messagefunc (*Event_UnmuteTask) Reset
func (x *Event_UnmuteTask) Reset()func (*Event_UnmuteTask) String
func (x *Event_UnmuteTask) String() stringEvent_UpdateEncryptions
type Event_UpdateEncryptions struct {
// Updates encryption settings.
UpdateEncryptions *Event_UpdateEncryptionsTask `protobuf:"bytes,17,opt,name=update_encryptions,json=updateEncryptions,proto3,oneof"`
}Event_UpdateEncryptionsTask
type Event_UpdateEncryptionsTask struct {
// Required. A list of
// [EncryptionUpdate][google.cloud.video.livestream.v1.EncryptionUpdate]s
// that updates the existing encryption settings.
Encryptions []*EncryptionUpdate `protobuf:"bytes,1,rep,name=encryptions,proto3" json:"encryptions,omitempty"`
// contains filtered or unexported fields
}Update encryption settings.
func (*Event_UpdateEncryptionsTask) Descriptor
func (*Event_UpdateEncryptionsTask) Descriptor() ([]byte, []int)Deprecated: Use Event_UpdateEncryptionsTask.ProtoReflect.Descriptor instead.
func (*Event_UpdateEncryptionsTask) GetEncryptions
func (x *Event_UpdateEncryptionsTask) GetEncryptions() []*EncryptionUpdatefunc (*Event_UpdateEncryptionsTask) ProtoMessage
func (*Event_UpdateEncryptionsTask) ProtoMessage()func (*Event_UpdateEncryptionsTask) ProtoReflect
func (x *Event_UpdateEncryptionsTask) ProtoReflect() protoreflect.Messagefunc (*Event_UpdateEncryptionsTask) Reset
func (x *Event_UpdateEncryptionsTask) Reset()func (*Event_UpdateEncryptionsTask) String
func (x *Event_UpdateEncryptionsTask) String() stringGetAssetRequest
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() stringfunc (*GetAssetRequest) ProtoMessage
func (*GetAssetRequest) ProtoMessage()func (*GetAssetRequest) ProtoReflect
func (x *GetAssetRequest) ProtoReflect() protoreflect.Messagefunc (*GetAssetRequest) Reset
func (x *GetAssetRequest) Reset()func (*GetAssetRequest) String
func (x *GetAssetRequest) String() stringGetChannelRequest
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() stringfunc (*GetChannelRequest) ProtoMessage
func (*GetChannelRequest) ProtoMessage()func (*GetChannelRequest) ProtoReflect
func (x *GetChannelRequest) ProtoReflect() protoreflect.Messagefunc (*GetChannelRequest) Reset
func (x *GetChannelRequest) Reset()func (*GetChannelRequest) String
func (x *GetChannelRequest) String() stringGetClipRequest
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() stringfunc (*GetClipRequest) ProtoMessage
func (*GetClipRequest) ProtoMessage()func (*GetClipRequest) ProtoReflect
func (x *GetClipRequest) ProtoReflect() protoreflect.Messagefunc (*GetClipRequest) Reset
func (x *GetClipRequest) Reset()func (*GetClipRequest) String
func (x *GetClipRequest) String() stringGetDvrSessionRequest
type GetDvrSessionRequest struct {
// Required. Name of the resource, in the following form:
// `projects/{project}/locations/{location}/channels/{channelId}/dvrSessions/{dvrSessionId}`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}Request message for "LivestreamService.GetDvrSession".
func (*GetDvrSessionRequest) Descriptor
func (*GetDvrSessionRequest) Descriptor() ([]byte, []int)Deprecated: Use GetDvrSessionRequest.ProtoReflect.Descriptor instead.
func (*GetDvrSessionRequest) GetName
func (x *GetDvrSessionRequest) GetName() stringfunc (*GetDvrSessionRequest) ProtoMessage
func (*GetDvrSessionRequest) ProtoMessage()func (*GetDvrSessionRequest) ProtoReflect
func (x *GetDvrSessionRequest) ProtoReflect() protoreflect.Messagefunc (*GetDvrSessionRequest) Reset
func (x *GetDvrSessionRequest) Reset()func (*GetDvrSessionRequest) String
func (x *GetDvrSessionRequest) String() stringGetEventRequest
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() stringfunc (*GetEventRequest) ProtoMessage
func (*GetEventRequest) ProtoMessage()func (*GetEventRequest) ProtoReflect
func (x *GetEventRequest) ProtoReflect() protoreflect.Messagefunc (*GetEventRequest) Reset
func (x *GetEventRequest) Reset()func (*GetEventRequest) String
func (x *GetEventRequest) String() stringGetInputRequest
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() stringfunc (*GetInputRequest) ProtoMessage
func (*GetInputRequest) ProtoMessage()func (*GetInputRequest) ProtoReflect
func (x *GetInputRequest) ProtoReflect() protoreflect.Messagefunc (*GetInputRequest) Reset
func (x *GetInputRequest) Reset()func (*GetInputRequest) String
func (x *GetInputRequest) String() stringGetPoolRequest
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() stringfunc (*GetPoolRequest) ProtoMessage
func (*GetPoolRequest) ProtoMessage()func (*GetPoolRequest) ProtoReflect
func (x *GetPoolRequest) ProtoReflect() protoreflect.Messagefunc (*GetPoolRequest) Reset
func (x *GetPoolRequest) Reset()func (*GetPoolRequest) String
func (x *GetPoolRequest) String() stringInput
type Input struct {
// The resource name of the input, in the form of:
// `projects/{project}/locations/{location}/inputs/{inputId}`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. The creation time.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. The update time.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// User-defined key/value metadata.
Labels map[string]string `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// Source type.
Type Input_Type `protobuf:"varint,5,opt,name=type,proto3,enum=google.cloud.video.livestream.v1.Input_Type" json:"type,omitempty"`
// Tier defines the maximum input specification that is accepted by the
// video pipeline. The billing is charged based on the tier specified here.
// See [Pricing](https://cloud.google.com/livestream/pricing) for more detail.
// The default is `HD`.
Tier Input_Tier `protobuf:"varint,14,opt,name=tier,proto3,enum=google.cloud.video.livestream.v1.Input_Tier" json:"tier,omitempty"`
// Output only. URI to push the input stream to.
// Its format depends on the input
// [type][google.cloud.video.livestream.v1.Input.type], for example:
//
// * `RTMP_PUSH`: `rtmp://1.2.3.4/live/{STREAM-ID}`
// * `SRT_PUSH`: `srt://1.2.3.4:4201?streamid={STREAM-ID}`
Uri string `protobuf:"bytes,6,opt,name=uri,proto3" json:"uri,omitempty"`
// Preprocessing configurations.
PreprocessingConfig *PreprocessingConfig `protobuf:"bytes,9,opt,name=preprocessing_config,json=preprocessingConfig,proto3" json:"preprocessing_config,omitempty"`
// Security rule for access control.
SecurityRules *Input_SecurityRule `protobuf:"bytes,12,opt,name=security_rules,json=securityRules,proto3" json:"security_rules,omitempty"`
// Output only. The information for the input stream. This field will be
// present only when this input receives the input stream.
InputStreamProperty *InputStreamProperty `protobuf:"bytes,15,opt,name=input_stream_property,json=inputStreamProperty,proto3" json:"input_stream_property,omitempty"`
// contains filtered or unexported fields
}Input resource represents the endpoint from which the channel ingests the input stream.
func (*Input) Descriptor
Deprecated: Use Input.ProtoReflect.Descriptor instead.
func (*Input) GetCreateTime
func (x *Input) GetCreateTime() *timestamppb.Timestampfunc (*Input) GetInputStreamProperty
func (x *Input) GetInputStreamProperty() *InputStreamPropertyfunc (*Input) GetLabels
func (*Input) GetName
func (*Input) GetPreprocessingConfig
func (x *Input) GetPreprocessingConfig() *PreprocessingConfigfunc (*Input) GetSecurityRules
func (x *Input) GetSecurityRules() *Input_SecurityRulefunc (*Input) GetTier
func (x *Input) GetTier() Input_Tierfunc (*Input) GetType
func (x *Input) GetType() Input_Typefunc (*Input) GetUpdateTime
func (x *Input) GetUpdateTime() *timestamppb.Timestampfunc (*Input) GetUri
func (*Input) ProtoMessage
func (*Input) ProtoMessage()func (*Input) ProtoReflect
func (x *Input) ProtoReflect() protoreflect.Messagefunc (*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_AutomaticFailoverfunc (*InputAttachment) GetInput
func (x *InputAttachment) GetInput() stringfunc (*InputAttachment) GetKey
func (x *InputAttachment) GetKey() stringfunc (*InputAttachment) ProtoMessage
func (*InputAttachment) ProtoMessage()func (*InputAttachment) ProtoReflect
func (x *InputAttachment) ProtoReflect() protoreflect.Messagefunc (*InputAttachment) Reset
func (x *InputAttachment) Reset()func (*InputAttachment) String
func (x *InputAttachment) String() stringInputAttachment_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() []stringfunc (*InputAttachment_AutomaticFailover) ProtoMessage
func (*InputAttachment_AutomaticFailover) ProtoMessage()func (*InputAttachment_AutomaticFailover) ProtoReflect
func (x *InputAttachment_AutomaticFailover) ProtoReflect() protoreflect.Messagefunc (*InputAttachment_AutomaticFailover) Reset
func (x *InputAttachment_AutomaticFailover) Reset()func (*InputAttachment_AutomaticFailover) String
func (x *InputAttachment_AutomaticFailover) String() stringInputConfig
type InputConfig struct {
// Input switch mode. Default mode is `FAILOVER_PREFER_PRIMARY`.
InputSwitchMode InputConfig_InputSwitchMode `protobuf:"varint,1,opt,name=input_switch_mode,json=inputSwitchMode,proto3,enum=google.cloud.video.livestream.v1.InputConfig_InputSwitchMode" json:"input_switch_mode,omitempty"`
// contains filtered or unexported fields
}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_InputSwitchModefunc (*InputConfig) ProtoMessage
func (*InputConfig) ProtoMessage()func (*InputConfig) ProtoReflect
func (x *InputConfig) ProtoReflect() protoreflect.Messagefunc (*InputConfig) Reset
func (x *InputConfig) Reset()func (*InputConfig) String
func (x *InputConfig) String() stringInputConfig_InputSwitchMode
type InputConfig_InputSwitchMode int32Input 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.EnumDescriptorfunc (InputConfig_InputSwitchMode) Enum
func (x InputConfig_InputSwitchMode) Enum() *InputConfig_InputSwitchModefunc (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.EnumNumberfunc (InputConfig_InputSwitchMode) String
func (x InputConfig_InputSwitchMode) String() stringfunc (InputConfig_InputSwitchMode) Type
func (InputConfig_InputSwitchMode) Type() protoreflect.EnumTypeInputStreamProperty
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() []*AudioStreamPropertyfunc (*InputStreamProperty) GetLastEstablishTime
func (x *InputStreamProperty) GetLastEstablishTime() *timestamppb.Timestampfunc (*InputStreamProperty) GetVideoStreams
func (x *InputStreamProperty) GetVideoStreams() []*VideoStreamPropertyfunc (*InputStreamProperty) ProtoMessage
func (*InputStreamProperty) ProtoMessage()func (*InputStreamProperty) ProtoReflect
func (x *InputStreamProperty) ProtoReflect() protoreflect.Messagefunc (*InputStreamProperty) Reset
func (x *InputStreamProperty) Reset()func (*InputStreamProperty) String
func (x *InputStreamProperty) String() stringInput_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() []stringfunc (*Input_SecurityRule) ProtoMessage
func (*Input_SecurityRule) ProtoMessage()func (*Input_SecurityRule) ProtoReflect
func (x *Input_SecurityRule) ProtoReflect() protoreflect.Messagefunc (*Input_SecurityRule) Reset
func (x *Input_SecurityRule) Reset()func (*Input_SecurityRule) String
func (x *Input_SecurityRule) String() stringInput_Tier
type Input_Tier int32Tier of the input specification.
Input_TIER_UNSPECIFIED, Input_SD, Input_HD, Input_UHD, Input_SD_H265, Input_HD_H265, Input_UHD_H265
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.="" bitrate=""><= 50="" mbps.="" fps=""><= 60.="" input_uhd="">Input_Tier = 3
// Resolution <= 1280x720.="" bitrate=""><= 6="" mbps.="" fps=""><= 60.="" h265="" codec.="" input_sd_h265="">Input_Tier = 4
// Resolution <= 1920x1080.="" bitrate=""><= 25="" mbps.="" fps=""><= 60.="" h265="" codec.="" input_hd_h265="">Input_Tier = 5
// Resolution <= 4096x2160.="" bitrate=""><= 50="" mbps.="" fps=""><= 60.="" h265="" codec.="" input_uhd_h265="">Input_Tier = 6
)func (Input_Tier) Descriptor
func (Input_Tier) Descriptor() protoreflect.EnumDescriptorfunc (Input_Tier) Enum
func (x Input_Tier) Enum() *Input_Tierfunc (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.EnumNumberfunc (Input_Tier) String
func (x Input_Tier) String() stringfunc (Input_Tier) Type
func (Input_Tier) Type() protoreflect.EnumTypeInput_Type
type Input_Type int32The 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.EnumDescriptorfunc (Input_Type) Enum
func (x Input_Type) Enum() *Input_Typefunc (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.EnumNumberfunc (Input_Type) String
func (x Input_Type) String() stringfunc (Input_Type) Type
func (Input_Type) Type() protoreflect.EnumTypeListAssetsRequest
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() stringfunc (*ListAssetsRequest) GetOrderBy
func (x *ListAssetsRequest) GetOrderBy() stringfunc (*ListAssetsRequest) GetPageSize
func (x *ListAssetsRequest) GetPageSize() int32func (*ListAssetsRequest) GetPageToken
func (x *ListAssetsRequest) GetPageToken() stringfunc (*ListAssetsRequest) GetParent
func (x *ListAssetsRequest) GetParent() stringfunc (*ListAssetsRequest) ProtoMessage
func (*ListAssetsRequest) ProtoMessage()func (*ListAssetsRequest) ProtoReflect
func (x *ListAssetsRequest) ProtoReflect() protoreflect.Messagefunc (*ListAssetsRequest) Reset
func (x *ListAssetsRequest) Reset()func (*ListAssetsRequest) String
func (x *ListAssetsRequest) String() stringListAssetsResponse
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() []*Assetfunc (*ListAssetsResponse) GetNextPageToken
func (x *ListAssetsResponse) GetNextPageToken() stringfunc (*ListAssetsResponse) GetUnreachable
func (x *ListAssetsResponse) GetUnreachable() []stringfunc (*ListAssetsResponse) ProtoMessage
func (*ListAssetsResponse) ProtoMessage()func (*ListAssetsResponse) ProtoReflect
func (x *ListAssetsResponse) ProtoReflect() protoreflect.Messagefunc (*ListAssetsResponse) Reset
func (x *ListAssetsResponse) Reset()func (*ListAssetsResponse) String
func (x *ListAssetsResponse) String() stringListChannelsRequest
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() stringfunc (*ListChannelsRequest) GetOrderBy
func (x *ListChannelsRequest) GetOrderBy() stringfunc (*ListChannelsRequest) GetPageSize
func (x *ListChannelsRequest) GetPageSize() int32func (*ListChannelsRequest) GetPageToken
func (x *ListChannelsRequest) GetPageToken() stringfunc (*ListChannelsRequest) GetParent
func (x *ListChannelsRequest) GetParent() stringfunc (*ListChannelsRequest) ProtoMessage
func (*ListChannelsRequest) ProtoMessage()func (*ListChannelsRequest) ProtoReflect
func (x *ListChannelsRequest) ProtoReflect() protoreflect.Messagefunc (*ListChannelsRequest) Reset
func (x *ListChannelsRequest) Reset()func (*ListChannelsRequest) String
func (x *ListChannelsRequest) String() stringListChannelsResponse
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() []*Channelfunc (*ListChannelsResponse) GetNextPageToken
func (x *ListChannelsResponse) GetNextPageToken() stringfunc (*ListChannelsResponse) GetUnreachable
func (x *ListChannelsResponse) GetUnreachable() []stringfunc (*ListChannelsResponse) ProtoMessage
func (*ListChannelsResponse) ProtoMessage()func (*ListChannelsResponse) ProtoReflect
func (x *ListChannelsResponse) ProtoReflect() protoreflect.Messagefunc (*ListChannelsResponse) Reset
func (x *ListChannelsResponse) Reset()func (*ListChannelsResponse) String
func (x *ListChannelsResponse) String() stringListClipsRequest
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() stringfunc (*ListClipsRequest) GetOrderBy
func (x *ListClipsRequest) GetOrderBy() stringfunc (*ListClipsRequest) GetPageSize
func (x *ListClipsRequest) GetPageSize() int32func (*ListClipsRequest) GetPageToken
func (x *ListClipsRequest) GetPageToken() stringfunc (*ListClipsRequest) GetParent
func (x *ListClipsRequest) GetParent() stringfunc (*ListClipsRequest) ProtoMessage
func (*ListClipsRequest) ProtoMessage()func (*ListClipsRequest) ProtoReflect
func (x *ListClipsRequest) ProtoReflect() protoreflect.Messagefunc (*ListClipsRequest) Reset
func (x *ListClipsRequest) Reset()func (*ListClipsRequest) String
func (x *ListClipsRequest) String() stringListClipsResponse
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() []*Clipfunc (*ListClipsResponse) GetNextPageToken
func (x *ListClipsResponse) GetNextPageToken() stringfunc (*ListClipsResponse) GetUnreachable
func (x *ListClipsResponse) GetUnreachable() []stringfunc (*ListClipsResponse) ProtoMessage
func (*ListClipsResponse) ProtoMessage()func (*ListClipsResponse) ProtoReflect
func (x *ListClipsResponse) ProtoReflect() protoreflect.Messagefunc (*ListClipsResponse) Reset
func (x *ListClipsResponse) Reset()func (*ListClipsResponse) String
func (x *ListClipsResponse) String() stringListDvrSessionsRequest
type ListDvrSessionsRequest struct {
// Required. Parent value for ListDvrSessionsRequest
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. 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"`
// Optional. 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"`
// Optional. Filtering results
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// Optional. 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.ListDvrSessions".
func (*ListDvrSessionsRequest) Descriptor
func (*ListDvrSessionsRequest) Descriptor() ([]byte, []int)Deprecated: Use ListDvrSessionsRequest.ProtoReflect.Descriptor instead.
func (*ListDvrSessionsRequest) GetFilter
func (x *ListDvrSessionsRequest) GetFilter() stringfunc (*ListDvrSessionsRequest) GetOrderBy
func (x *ListDvrSessionsRequest) GetOrderBy() stringfunc (*ListDvrSessionsRequest) GetPageSize
func (x *ListDvrSessionsRequest) GetPageSize() int32func (*ListDvrSessionsRequest) GetPageToken
func (x *ListDvrSessionsRequest) GetPageToken() stringfunc (*ListDvrSessionsRequest) GetParent
func (x *ListDvrSessionsRequest) GetParent() stringfunc (*ListDvrSessionsRequest) ProtoMessage
func (*ListDvrSessionsRequest) ProtoMessage()func (*ListDvrSessionsRequest) ProtoReflect
func (x *ListDvrSessionsRequest) ProtoReflect() protoreflect.Messagefunc (*ListDvrSessionsRequest) Reset
func (x *ListDvrSessionsRequest) Reset()func (*ListDvrSessionsRequest) String
func (x *ListDvrSessionsRequest) String() stringListDvrSessionsResponse
type ListDvrSessionsResponse struct {
// The list of DVR sessions
DvrSessions []*DvrSession `protobuf:"bytes,1,rep,name=dvr_sessions,json=dvrSessions,proto3" json:"dvr_sessions,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.ListDvrSessions".
func (*ListDvrSessionsResponse) Descriptor
func (*ListDvrSessionsResponse) Descriptor() ([]byte, []int)Deprecated: Use ListDvrSessionsResponse.ProtoReflect.Descriptor instead.
func (*ListDvrSessionsResponse) GetDvrSessions
func (x *ListDvrSessionsResponse) GetDvrSessions() []*DvrSessionfunc (*ListDvrSessionsResponse) GetNextPageToken
func (x *ListDvrSessionsResponse) GetNextPageToken() stringfunc (*ListDvrSessionsResponse) GetUnreachable
func (x *ListDvrSessionsResponse) GetUnreachable() []stringfunc (*ListDvrSessionsResponse) ProtoMessage
func (*ListDvrSessionsResponse) ProtoMessage()func (*ListDvrSessionsResponse) ProtoReflect
func (x *ListDvrSessionsResponse) ProtoReflect() protoreflect.Messagefunc (*ListDvrSessionsResponse) Reset
func (x *ListDvrSessionsResponse) Reset()func (*ListDvrSessionsResponse) String
func (x *ListDvrSessionsResponse) String() stringListEventsRequest
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() stringfunc (*ListEventsRequest) GetOrderBy
func (x *ListEventsRequest) GetOrderBy() stringfunc (*ListEventsRequest) GetPageSize
func (x *ListEventsRequest) GetPageSize() int32func (*ListEventsRequest) GetPageToken
func (x *ListEventsRequest) GetPageToken() stringfunc (*ListEventsRequest) GetParent
func (x *ListEventsRequest) GetParent() stringfunc (*ListEventsRequest) ProtoMessage
func (*ListEventsRequest) ProtoMessage()func (*ListEventsRequest) ProtoReflect
func (x *ListEventsRequest) ProtoReflect() protoreflect.Messagefunc (*ListEventsRequest) Reset
func (x *ListEventsRequest) Reset()func (*ListEventsRequest) String
func (x *ListEventsRequest) String() stringListEventsResponse
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() []*Eventfunc (*ListEventsResponse) GetNextPageToken
func (x *ListEventsResponse) GetNextPageToken() stringfunc (*ListEventsResponse) GetUnreachable
func (x *ListEventsResponse) GetUnreachable() []stringfunc (*ListEventsResponse) ProtoMessage
func (*ListEventsResponse) ProtoMessage()func (*ListEventsResponse) ProtoReflect
func (x *ListEventsResponse) ProtoReflect() protoreflect.Messagefunc (*ListEventsResponse) Reset
func (x *ListEventsResponse) Reset()func (*ListEventsResponse) String
func (x *ListEventsResponse) String() stringListInputsRequest
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() stringfunc (*ListInputsRequest) GetOrderBy
func (x *ListInputsRequest) GetOrderBy() stringfunc (*ListInputsRequest) GetPageSize
func (x *ListInputsRequest) GetPageSize() int32func (*ListInputsRequest) GetPageToken
func (x *ListInputsRequest) GetPageToken() stringfunc (*ListInputsRequest) GetParent
func (x *ListInputsRequest) GetParent() stringfunc (*ListInputsRequest) ProtoMessage
func (*ListInputsRequest) ProtoMessage()func (*ListInputsRequest) ProtoReflect
func (x *ListInputsRequest) ProtoReflect() protoreflect.Messagefunc (*ListInputsRequest) Reset
func (x *ListInputsRequest) Reset()func (*ListInputsRequest) String
func (x *ListInputsRequest) String() stringListInputsResponse
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() []*Inputfunc (*ListInputsResponse) GetNextPageToken
func (x *ListInputsResponse) GetNextPageToken() stringfunc (*ListInputsResponse) GetUnreachable
func (x *ListInputsResponse) GetUnreachable() []stringfunc (*ListInputsResponse) ProtoMessage
func (*ListInputsResponse) ProtoMessage()func (*ListInputsResponse) ProtoReflect
func (x *ListInputsResponse) ProtoReflect() protoreflect.Messagefunc (*ListInputsResponse) Reset
func (x *ListInputsResponse) Reset()func (*ListInputsResponse) String
func (x *ListInputsResponse) String() stringLivestreamServiceClient
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)
// Starts distribution which delivers outputs to the destination indicated by
// the Distribution configuration.
StartDistribution(ctx context.Context, in *StartDistributionRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Stops the specified distribution.
StopDistribution(ctx context.Context, in *StopDistributionRequest, 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)
// Preview the streaming content of the specified input.
PreviewInput(ctx context.Context, in *PreviewInputRequest, opts ...grpc.CallOption) (*PreviewInputResponse, 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 Cloud Storage.
DeleteClip(ctx context.Context, in *DeleteClipRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Creates a DVR session with the provided unique ID in the specified channel.
CreateDvrSession(ctx context.Context, in *CreateDvrSessionRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Returns a list of all DVR sessions in the specified channel.
ListDvrSessions(ctx context.Context, in *ListDvrSessionsRequest, opts ...grpc.CallOption) (*ListDvrSessionsResponse, error)
// Returns the specified DVR session.
GetDvrSession(ctx context.Context, in *GetDvrSessionRequest, opts ...grpc.CallOption) (*DvrSession, error)
// Deletes the specified DVR session.
DeleteDvrSession(ctx context.Context, in *DeleteDvrSessionRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Updates the specified DVR session.
UpdateDvrSession(ctx context.Context, in *UpdateDvrSessionRequest, 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://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewLivestreamServiceClient
func NewLivestreamServiceClient(cc grpc.ClientConnInterface) LivestreamServiceClientLivestreamServiceServer
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)
// Starts distribution which delivers outputs to the destination indicated by
// the Distribution configuration.
StartDistribution(context.Context, *StartDistributionRequest) (*longrunningpb.Operation, error)
// Stops the specified distribution.
StopDistribution(context.Context, *StopDistributionRequest) (*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)
// Preview the streaming content of the specified input.
PreviewInput(context.Context, *PreviewInputRequest) (*PreviewInputResponse, 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 Cloud Storage.
DeleteClip(context.Context, *DeleteClipRequest) (*longrunningpb.Operation, error)
// Creates a DVR session with the provided unique ID in the specified channel.
CreateDvrSession(context.Context, *CreateDvrSessionRequest) (*longrunningpb.Operation, error)
// Returns a list of all DVR sessions in the specified channel.
ListDvrSessions(context.Context, *ListDvrSessionsRequest) (*ListDvrSessionsResponse, error)
// Returns the specified DVR session.
GetDvrSession(context.Context, *GetDvrSessionRequest) (*DvrSession, error)
// Deletes the specified DVR session.
DeleteDvrSession(context.Context, *DeleteDvrSessionRequest) (*longrunningpb.Operation, error)
// Updates the specified DVR session.
UpdateDvrSession(context.Context, *UpdateDvrSessionRequest) (*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. All implementations should embed UnimplementedLivestreamServiceServer for forward compatibility
LogConfig
type LogConfig struct {
// The severity level of platform logging for this resource.
LogSeverity LogConfig_LogSeverity `protobuf:"varint,1,opt,name=log_severity,json=logSeverity,proto3,enum=google.cloud.video.livestream.v1.LogConfig_LogSeverity" json:"log_severity,omitempty"`
// contains filtered or unexported fields
}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_LogSeverityfunc (*LogConfig) ProtoMessage
func (*LogConfig) ProtoMessage()func (*LogConfig) ProtoReflect
func (x *LogConfig) ProtoReflect() protoreflect.Messagefunc (*LogConfig) Reset
func (x *LogConfig) Reset()func (*LogConfig) String
LogConfig_LogSeverity
type LogConfig_LogSeverity int32The 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.EnumDescriptorfunc (LogConfig_LogSeverity) Enum
func (x LogConfig_LogSeverity) Enum() *LogConfig_LogSeverityfunc (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.EnumNumberfunc (LogConfig_LogSeverity) String
func (x LogConfig_LogSeverity) String() stringfunc (LogConfig_LogSeverity) Type
func (LogConfig_LogSeverity) Type() protoreflect.EnumTypeManifest
type Manifest struct {
// The name of the generated file. The default is `manifest` with the
// extension suffix corresponding to the `Manifest`
// [type][google.cloud.video.livestream.v1.Manifest.type]. If multiple
// manifests are added to the channel, each must have a unique file name.
FileName string `protobuf:"bytes,1,opt,name=file_name,json=fileName,proto3" json:"file_name,omitempty"`
// Required. Type of the manifest, can be `HLS` or `DASH`.
Type Manifest_ManifestType `protobuf:"varint,2,opt,name=type,proto3,enum=google.cloud.video.livestream.v1.Manifest_ManifestType" json:"type,omitempty"`
// Required. List of `MuxStream`
// [key][google.cloud.video.livestream.v1.MuxStream.key]s that should appear
// in this manifest.
//
// - For HLS, either `fmp4` or `ts` mux streams can be specified but not
// mixed.
// - For DASH, only `fmp4` mux streams can be specified.
MuxStreams []string `protobuf:"bytes,3,rep,name=mux_streams,json=muxStreams,proto3" json:"mux_streams,omitempty"`
// Maximum number of segments that this manifest holds. Once the manifest
// reaches this maximum number of segments, whenever a new segment is added to
// the manifest, the oldest segment will be removed from the manifest.
// The minimum value is 3 and the default value is 5.
MaxSegmentCount int32 `protobuf:"varint,4,opt,name=max_segment_count,json=maxSegmentCount,proto3" json:"max_segment_count,omitempty"`
// How long to keep a segment on the output Google Cloud Storage bucket after
// it is removed from the manifest. This field should be large enough to cover
// the manifest propagation delay. Otherwise, a player could receive 404
// errors while accessing segments which are listed in the manifest that the
// player has, but were already deleted from the output Google Cloud Storage
// bucket. Default value is `60s`.
//
// If both segment_keep_duration and
// [RetentionConfig.retention_window_duration][google.cloud.video.livestream.v1.RetentionConfig.retention_window_duration]
// are set,
// [RetentionConfig.retention_window_duration][google.cloud.video.livestream.v1.RetentionConfig.retention_window_duration]
// is used and segment_keep_duration is ignored.
SegmentKeepDuration *durationpb.Duration `protobuf:"bytes,5,opt,name=segment_keep_duration,json=segmentKeepDuration,proto3" json:"segment_keep_duration,omitempty"`
// Whether to use the timecode, as specified in timecode config, when setting:
//
// - `availabilityStartTime` attribute in DASH manifests.
// - `#EXT-X-PROGRAM-DATE-TIME` tag in HLS manifests.
//
// If false, ignore the input timecode and use the time from system clock
// when the manifest is first generated. This is the default behavior.
UseTimecodeAsTimeline bool `protobuf:"varint,6,opt,name=use_timecode_as_timeline,json=useTimecodeAsTimeline,proto3" json:"use_timecode_as_timeline,omitempty"`
// Optional. A unique key for this manifest.
Key string `protobuf:"bytes,7,opt,name=key,proto3" json:"key,omitempty"`
// contains filtered or unexported fields
}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.Durationfunc (*Manifest) GetType
func (x *Manifest) GetType() Manifest_ManifestTypefunc (*Manifest) GetUseTimecodeAsTimeline
func (*Manifest) ProtoMessage
func (*Manifest) ProtoMessage()func (*Manifest) ProtoReflect
func (x *Manifest) ProtoReflect() protoreflect.Messagefunc (*Manifest) Reset
func (x *Manifest) Reset()func (*Manifest) String
Manifest_ManifestType
type Manifest_ManifestType int32The 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.EnumDescriptorfunc (Manifest_ManifestType) Enum
func (x Manifest_ManifestType) Enum() *Manifest_ManifestTypefunc (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.EnumNumberfunc (Manifest_ManifestType) String
func (x Manifest_ManifestType) String() stringfunc (Manifest_ManifestType) Type
func (Manifest_ManifestType) Type() protoreflect.EnumTypeMuxStream
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() *SegmentSettingsfunc (*MuxStream) ProtoMessage
func (*MuxStream) ProtoMessage()func (*MuxStream) ProtoReflect
func (x *MuxStream) ProtoReflect() protoreflect.Messagefunc (*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() float64func (*NormalizedCoordinate) GetY
func (x *NormalizedCoordinate) GetY() float64func (*NormalizedCoordinate) ProtoMessage
func (*NormalizedCoordinate) ProtoMessage()func (*NormalizedCoordinate) ProtoReflect
func (x *NormalizedCoordinate) ProtoReflect() protoreflect.Messagefunc (*NormalizedCoordinate) Reset
func (x *NormalizedCoordinate) Reset()func (*NormalizedCoordinate) String
func (x *NormalizedCoordinate) String() stringNormalizedResolution
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() float64func (*NormalizedResolution) GetW
func (x *NormalizedResolution) GetW() float64func (*NormalizedResolution) ProtoMessage
func (*NormalizedResolution) ProtoMessage()func (*NormalizedResolution) ProtoReflect
func (x *NormalizedResolution) ProtoReflect() protoreflect.Messagefunc (*NormalizedResolution) Reset
func (x *NormalizedResolution) Reset()func (*NormalizedResolution) String
func (x *NormalizedResolution) String() stringOperationMetadata
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
// [google.longrunning.Operation.error][google.longrunning.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() stringfunc (*OperationMetadata) GetCreateTime
func (x *OperationMetadata) GetCreateTime() *timestamppb.Timestampfunc (*OperationMetadata) GetEndTime
func (x *OperationMetadata) GetEndTime() *timestamppb.Timestampfunc (*OperationMetadata) GetRequestedCancellation
func (x *OperationMetadata) GetRequestedCancellation() boolfunc (*OperationMetadata) GetTarget
func (x *OperationMetadata) GetTarget() stringfunc (*OperationMetadata) GetVerb
func (x *OperationMetadata) GetVerb() stringfunc (*OperationMetadata) ProtoMessage
func (*OperationMetadata) ProtoMessage()func (*OperationMetadata) ProtoReflect
func (x *OperationMetadata) ProtoReflect() protoreflect.Messagefunc (*OperationMetadata) Reset
func (x *OperationMetadata) Reset()func (*OperationMetadata) String
func (x *OperationMetadata) String() stringPool
type Pool struct {
// The resource name of the pool, in the form of:
// `projects/{project}/locations/{location}/pools/{poolId}`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. The creation time.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. The update time.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// User-defined key/value metadata.
Labels map[string]string `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// Network configuration for the pool.
NetworkConfig *Pool_NetworkConfig `protobuf:"bytes,5,opt,name=network_config,json=networkConfig,proto3" json:"network_config,omitempty"`
// contains filtered or unexported fields
}Pool resource defines the configuration of Live Stream pools for a specific location. Currently we support only one pool resource per project per location. After the creation of the first input, a default pool is created automatically at "projects/{project}/locations/{location}/pools/default".
func (*Pool) Descriptor
Deprecated: Use Pool.ProtoReflect.Descriptor instead.
func (*Pool) GetCreateTime
func (x *Pool) GetCreateTime() *timestamppb.Timestampfunc (*Pool) GetLabels
func (*Pool) GetName
func (*Pool) GetNetworkConfig
func (x *Pool) GetNetworkConfig() *Pool_NetworkConfigfunc (*Pool) GetUpdateTime
func (x *Pool) GetUpdateTime() *timestamppb.Timestampfunc (*Pool) ProtoMessage
func (*Pool) ProtoMessage()func (*Pool) ProtoReflect
func (x *Pool) ProtoReflect() protoreflect.Messagefunc (*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() stringfunc (*Pool_NetworkConfig) ProtoMessage
func (*Pool_NetworkConfig) ProtoMessage()func (*Pool_NetworkConfig) ProtoReflect
func (x *Pool_NetworkConfig) ProtoReflect() protoreflect.Messagefunc (*Pool_NetworkConfig) Reset
func (x *Pool_NetworkConfig) Reset()func (*Pool_NetworkConfig) String
func (x *Pool_NetworkConfig) String() stringPreprocessingConfig
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_Audiofunc (*PreprocessingConfig) GetCrop
func (x *PreprocessingConfig) GetCrop() *PreprocessingConfig_Cropfunc (*PreprocessingConfig) GetPad
func (x *PreprocessingConfig) GetPad() *PreprocessingConfig_Padfunc (*PreprocessingConfig) ProtoMessage
func (*PreprocessingConfig) ProtoMessage()func (*PreprocessingConfig) ProtoReflect
func (x *PreprocessingConfig) ProtoReflect() protoreflect.Messagefunc (*PreprocessingConfig) Reset
func (x *PreprocessingConfig) Reset()func (*PreprocessingConfig) String
func (x *PreprocessingConfig) String() stringPreprocessingConfig_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() float64func (*PreprocessingConfig_Audio) ProtoMessage
func (*PreprocessingConfig_Audio) ProtoMessage()func (*PreprocessingConfig_Audio) ProtoReflect
func (x *PreprocessingConfig_Audio) ProtoReflect() protoreflect.Messagefunc (*PreprocessingConfig_Audio) Reset
func (x *PreprocessingConfig_Audio) Reset()func (*PreprocessingConfig_Audio) String
func (x *PreprocessingConfig_Audio) String() stringPreprocessingConfig_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() int32func (*PreprocessingConfig_Crop) GetLeftPixels
func (x *PreprocessingConfig_Crop) GetLeftPixels() int32func (*PreprocessingConfig_Crop) GetRightPixels
func (x *PreprocessingConfig_Crop) GetRightPixels() int32func (*PreprocessingConfig_Crop) GetTopPixels
func (x *PreprocessingConfig_Crop) GetTopPixels() int32func (*PreprocessingConfig_Crop) ProtoMessage
func (*PreprocessingConfig_Crop) ProtoMessage()func (*PreprocessingConfig_Crop) ProtoReflect
func (x *PreprocessingConfig_Crop) ProtoReflect() protoreflect.Messagefunc (*PreprocessingConfig_Crop) Reset
func (x *PreprocessingConfig_Crop) Reset()func (*PreprocessingConfig_Crop) String
func (x *PreprocessingConfig_Crop) String() stringPreprocessingConfig_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() int32func (*PreprocessingConfig_Pad) GetLeftPixels
func (x *PreprocessingConfig_Pad) GetLeftPixels() int32func (*PreprocessingConfig_Pad) GetRightPixels
func (x *PreprocessingConfig_Pad) GetRightPixels() int32func (*PreprocessingConfig_Pad) GetTopPixels
func (x *PreprocessingConfig_Pad) GetTopPixels() int32func (*PreprocessingConfig_Pad) ProtoMessage
func (*PreprocessingConfig_Pad) ProtoMessage()func (*PreprocessingConfig_Pad) ProtoReflect
func (x *PreprocessingConfig_Pad) ProtoReflect() protoreflect.Messagefunc (*PreprocessingConfig_Pad) Reset
func (x *PreprocessingConfig_Pad) Reset()func (*PreprocessingConfig_Pad) String
func (x *PreprocessingConfig_Pad) String() stringPreviewInputRequest
type PreviewInputRequest 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.PreviewInput"
func (*PreviewInputRequest) Descriptor
func (*PreviewInputRequest) Descriptor() ([]byte, []int)Deprecated: Use PreviewInputRequest.ProtoReflect.Descriptor instead.
func (*PreviewInputRequest) GetName
func (x *PreviewInputRequest) GetName() stringfunc (*PreviewInputRequest) ProtoMessage
func (*PreviewInputRequest) ProtoMessage()func (*PreviewInputRequest) ProtoReflect
func (x *PreviewInputRequest) ProtoReflect() protoreflect.Messagefunc (*PreviewInputRequest) Reset
func (x *PreviewInputRequest) Reset()func (*PreviewInputRequest) String
func (x *PreviewInputRequest) String() stringPreviewInputResponse
type PreviewInputResponse struct {
// URI to display the preview content.
Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"`
// A bearer token used to authenticate connections that display the preview
// content. The token expires after one hour. For HTTP connections, this token
// should be included as a bearer token inside the Authorization header.
BearerToken string `protobuf:"bytes,2,opt,name=bearer_token,json=bearerToken,proto3" json:"bearer_token,omitempty"`
// contains filtered or unexported fields
}Response message for "LivestreamService.PreviewInput"
func (*PreviewInputResponse) Descriptor
func (*PreviewInputResponse) Descriptor() ([]byte, []int)Deprecated: Use PreviewInputResponse.ProtoReflect.Descriptor instead.
func (*PreviewInputResponse) GetBearerToken
func (x *PreviewInputResponse) GetBearerToken() stringfunc (*PreviewInputResponse) GetUri
func (x *PreviewInputResponse) GetUri() stringfunc (*PreviewInputResponse) ProtoMessage
func (*PreviewInputResponse) ProtoMessage()func (*PreviewInputResponse) ProtoReflect
func (x *PreviewInputResponse) ProtoReflect() protoreflect.Messagefunc (*PreviewInputResponse) Reset
func (x *PreviewInputResponse) Reset()func (*PreviewInputResponse) String
func (x *PreviewInputResponse) String() stringRetentionConfig
type RetentionConfig struct {
// The minimum duration for which the output files from the channel will
// remain in the output bucket. After this duration, output files are
// deleted asynchronously.
//
// When the channel is deleted, all output files are deleted from the output
// bucket asynchronously.
//
// If omitted or set to zero, output files will remain in the output bucket
// based on
// [Manifest.segment_keep_duration][google.cloud.video.livestream.v1.Manifest.segment_keep_duration],
// which defaults to 60s.
//
// If both retention_window_duration and
// [Manifest.segment_keep_duration][google.cloud.video.livestream.v1.Manifest.segment_keep_duration]
// are set, retention_window_duration is used and
// [Manifest.segment_keep_duration][google.cloud.video.livestream.v1.Manifest.segment_keep_duration]
// is ignored.
RetentionWindowDuration *durationpb.Duration `protobuf:"bytes,1,opt,name=retention_window_duration,json=retentionWindowDuration,proto3" json:"retention_window_duration,omitempty"`
// contains filtered or unexported fields
}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.Durationfunc (*RetentionConfig) ProtoMessage
func (*RetentionConfig) ProtoMessage()func (*RetentionConfig) ProtoReflect
func (x *RetentionConfig) ProtoReflect() protoreflect.Messagefunc (*RetentionConfig) Reset
func (x *RetentionConfig) Reset()func (*RetentionConfig) String
func (x *RetentionConfig) String() stringRtmpPushOutputEndpoint
type RtmpPushOutputEndpoint struct {
// Required. The full URI of the remote RTMP server. For example:
// `rtmp://192.168.123.321/live/my-stream` or `rtmp://somedomain.com/someapp`.
Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"`
// Required. Stream key for RTMP protocol.
StreamKey string `protobuf:"bytes,2,opt,name=stream_key,json=streamKey,proto3" json:"stream_key,omitempty"`
// contains filtered or unexported fields
}Configurations for an output endpoint using RTMP_PUSH as the streaming protocol.
func (*RtmpPushOutputEndpoint) Descriptor
func (*RtmpPushOutputEndpoint) Descriptor() ([]byte, []int)Deprecated: Use RtmpPushOutputEndpoint.ProtoReflect.Descriptor instead.
func (*RtmpPushOutputEndpoint) GetStreamKey
func (x *RtmpPushOutputEndpoint) GetStreamKey() stringfunc (*RtmpPushOutputEndpoint) GetUri
func (x *RtmpPushOutputEndpoint) GetUri() stringfunc (*RtmpPushOutputEndpoint) ProtoMessage
func (*RtmpPushOutputEndpoint) ProtoMessage()func (*RtmpPushOutputEndpoint) ProtoReflect
func (x *RtmpPushOutputEndpoint) ProtoReflect() protoreflect.Messagefunc (*RtmpPushOutputEndpoint) Reset
func (x *RtmpPushOutputEndpoint) Reset()func (*RtmpPushOutputEndpoint) String
func (x *RtmpPushOutputEndpoint) String() stringSegmentSettings
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.Durationfunc (*SegmentSettings) ProtoMessage
func (*SegmentSettings) ProtoMessage()func (*SegmentSettings) ProtoReflect
func (x *SegmentSettings) ProtoReflect() protoreflect.Messagefunc (*SegmentSettings) Reset
func (x *SegmentSettings) Reset()func (*SegmentSettings) String
func (x *SegmentSettings) String() stringSpriteSheet
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() int32func (*SpriteSheet) GetFilePrefix
func (x *SpriteSheet) GetFilePrefix() stringfunc (*SpriteSheet) GetFormat
func (x *SpriteSheet) GetFormat() stringfunc (*SpriteSheet) GetInterval
func (x *SpriteSheet) GetInterval() *durationpb.Durationfunc (*SpriteSheet) GetQuality
func (x *SpriteSheet) GetQuality() int32func (*SpriteSheet) GetRowCount
func (x *SpriteSheet) GetRowCount() int32func (*SpriteSheet) GetSpriteHeightPixels
func (x *SpriteSheet) GetSpriteHeightPixels() int32func (*SpriteSheet) GetSpriteWidthPixels
func (x *SpriteSheet) GetSpriteWidthPixels() int32func (*SpriteSheet) ProtoMessage
func (*SpriteSheet) ProtoMessage()func (*SpriteSheet) ProtoReflect
func (x *SpriteSheet) ProtoReflect() protoreflect.Messagefunc (*SpriteSheet) Reset
func (x *SpriteSheet) Reset()func (*SpriteSheet) String
func (x *SpriteSheet) String() stringSrtPushOutputEndpoint
type SrtPushOutputEndpoint struct {
// Required. The full URI of the remote SRT server.
Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"`
// Defines where SRT encryption passphrase are stored.
//
// Types that are assignable to PassphraseSource:
//
// *SrtPushOutputEndpoint_PassphraseSecretVersion
PassphraseSource isSrtPushOutputEndpoint_PassphraseSource `protobuf_oneof:"passphrase_source"`
// contains filtered or unexported fields
}Configurations for an output endpoint using SRT_PUSH as the streaming protocol.
func (*SrtPushOutputEndpoint) Descriptor
func (*SrtPushOutputEndpoint) Descriptor() ([]byte, []int)Deprecated: Use SrtPushOutputEndpoint.ProtoReflect.Descriptor instead.
func (*SrtPushOutputEndpoint) GetPassphraseSecretVersion
func (x *SrtPushOutputEndpoint) GetPassphraseSecretVersion() stringfunc (*SrtPushOutputEndpoint) GetPassphraseSource
func (m *SrtPushOutputEndpoint) GetPassphraseSource() isSrtPushOutputEndpoint_PassphraseSourcefunc (*SrtPushOutputEndpoint) GetUri
func (x *SrtPushOutputEndpoint) GetUri() stringfunc (*SrtPushOutputEndpoint) ProtoMessage
func (*SrtPushOutputEndpoint) ProtoMessage()func (*SrtPushOutputEndpoint) ProtoReflect
func (x *SrtPushOutputEndpoint) ProtoReflect() protoreflect.Messagefunc (*SrtPushOutputEndpoint) Reset
func (x *SrtPushOutputEndpoint) Reset()func (*SrtPushOutputEndpoint) String
func (x *SrtPushOutputEndpoint) String() stringSrtPushOutputEndpoint_PassphraseSecretVersion
type SrtPushOutputEndpoint_PassphraseSecretVersion struct {
// The name of the Secret Version containing the SRT encryption passphrase,
// which is stored in Google Secret Manager. It should be in the format of
// `projects/{project}/secrets/{secret_id}/versions/{version_number}`.
PassphraseSecretVersion string `protobuf:"bytes,2,opt,name=passphrase_secret_version,json=passphraseSecretVersion,proto3,oneof"`
}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() stringfunc (*StartChannelRequest) GetRequestId
func (x *StartChannelRequest) GetRequestId() stringfunc (*StartChannelRequest) ProtoMessage
func (*StartChannelRequest) ProtoMessage()func (*StartChannelRequest) ProtoReflect
func (x *StartChannelRequest) ProtoReflect() protoreflect.Messagefunc (*StartChannelRequest) Reset
func (x *StartChannelRequest) Reset()func (*StartChannelRequest) String
func (x *StartChannelRequest) String() stringStartDistributionRequest
type StartDistributionRequest 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"`
// Optional. A list of keys to identify the distribution configuration in the
// channel resource. If left empty, all the distributions in the channel
// specification will be started.
DistributionKeys []string `protobuf:"bytes,2,rep,name=distribution_keys,json=distributionKeys,proto3" json:"distribution_keys,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,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}Request message for "LivestreamService.StartDistribution".
func (*StartDistributionRequest) Descriptor
func (*StartDistributionRequest) Descriptor() ([]byte, []int)Deprecated: Use StartDistributionRequest.ProtoReflect.Descriptor instead.
func (*StartDistributionRequest) GetDistributionKeys
func (x *StartDistributionRequest) GetDistributionKeys() []stringfunc (*StartDistributionRequest) GetName
func (x *StartDistributionRequest) GetName() stringfunc (*StartDistributionRequest) GetRequestId
func (x *StartDistributionRequest) GetRequestId() stringfunc (*StartDistributionRequest) ProtoMessage
func (*StartDistributionRequest) ProtoMessage()func (*StartDistributionRequest) ProtoReflect
func (x *StartDistributionRequest) ProtoReflect() protoreflect.Messagefunc (*StartDistributionRequest) Reset
func (x *StartDistributionRequest) Reset()func (*StartDistributionRequest) String
func (x *StartDistributionRequest) String() stringStaticOverlay
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() stringfunc (*StaticOverlay) GetOpacity
func (x *StaticOverlay) GetOpacity() float64func (*StaticOverlay) GetPosition
func (x *StaticOverlay) GetPosition() *NormalizedCoordinatefunc (*StaticOverlay) GetResolution
func (x *StaticOverlay) GetResolution() *NormalizedResolutionfunc (*StaticOverlay) ProtoMessage
func (*StaticOverlay) ProtoMessage()func (*StaticOverlay) ProtoReflect
func (x *StaticOverlay) ProtoReflect() protoreflect.Messagefunc (*StaticOverlay) Reset
func (x *StaticOverlay) Reset()func (*StaticOverlay) String
func (x *StaticOverlay) String() stringStopChannelRequest
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() stringfunc (*StopChannelRequest) GetRequestId
func (x *StopChannelRequest) GetRequestId() stringfunc (*StopChannelRequest) ProtoMessage
func (*StopChannelRequest) ProtoMessage()func (*StopChannelRequest) ProtoReflect
func (x *StopChannelRequest) ProtoReflect() protoreflect.Messagefunc (*StopChannelRequest) Reset
func (x *StopChannelRequest) Reset()func (*StopChannelRequest) String
func (x *StopChannelRequest) String() stringStopDistributionRequest
type StopDistributionRequest 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"`
// Optional. A list of key to identify the distribution configuration in the
// channel resource. If left empty, all the distributions in the channel
// specification will be stopped.
DistributionKeys []string `protobuf:"bytes,2,rep,name=distribution_keys,json=distributionKeys,proto3" json:"distribution_keys,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,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}Request message for "LivestreamService.StopDistribution".
func (*StopDistributionRequest) Descriptor
func (*StopDistributionRequest) Descriptor() ([]byte, []int)Deprecated: Use StopDistributionRequest.ProtoReflect.Descriptor instead.
func (*StopDistributionRequest) GetDistributionKeys
func (x *StopDistributionRequest) GetDistributionKeys() []stringfunc (*StopDistributionRequest) GetName
func (x *StopDistributionRequest) GetName() stringfunc (*StopDistributionRequest) GetRequestId
func (x *StopDistributionRequest) GetRequestId() stringfunc (*StopDistributionRequest) ProtoMessage
func (*StopDistributionRequest) ProtoMessage()func (*StopDistributionRequest) ProtoReflect
func (x *StopDistributionRequest) ProtoReflect() protoreflect.Messagefunc (*StopDistributionRequest) Reset
func (x *StopDistributionRequest) Reset()func (*StopDistributionRequest) String
func (x *StopDistributionRequest) String() stringTextStream
type TextStream struct {
// Required. The codec for this text stream.
//
// Supported text codecs:
//
// - `cea608`
// - `cea708`
// - `webvtt`
Codec string `protobuf:"bytes,1,opt,name=codec,proto3" json:"codec,omitempty"`
// Optional. The BCP-47 language code, such as `en-US` or `sr-Latn`. For more
// information, see
// https://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
LanguageCode string `protobuf:"bytes,2,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
// Optional. The name for this particular text stream that will be added to
// the HLS/DASH manifest.
DisplayName string `protobuf:"bytes,4,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// Optional. The channel of the closed caption in the output stream.
// This field should only be set when textstream is used for partner
// distribution.
// Must be one of `CC1`, `CC2`, `CC3`, and `CC4`, if the
// [codec][google.cloud.video.livestream.v1.TextStream.codec] is `cea608`;
// Must be one between `SERVICE1` and `SERVICE63`, if the
// [codec][google.cloud.video.livestream.v1.TextStream.codec] is `cea708`.
OutputCeaChannel string `protobuf:"bytes,5,opt,name=output_cea_channel,json=outputCeaChannel,proto3" json:"output_cea_channel,omitempty"`
// Optional. The mapping for the input streams and text tracks.
Mapping []*TextStream_TextMapping `protobuf:"bytes,3,rep,name=mapping,proto3" json:"mapping,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() stringfunc (*TextStream) GetDisplayName
func (x *TextStream) GetDisplayName() stringfunc (*TextStream) GetLanguageCode
func (x *TextStream) GetLanguageCode() stringfunc (*TextStream) GetMapping
func (x *TextStream) GetMapping() []*TextStream_TextMappingfunc (*TextStream) GetOutputCeaChannel
func (x *TextStream) GetOutputCeaChannel() stringfunc (*TextStream) ProtoMessage
func (*TextStream) ProtoMessage()func (*TextStream) ProtoReflect
func (x *TextStream) ProtoReflect() protoreflect.Messagefunc (*TextStream) Reset
func (x *TextStream) Reset()func (*TextStream) String
func (x *TextStream) String() stringTextStream_TextMapping
type TextStream_TextMapping struct {
// Optional. The `Channel`
// [InputAttachment.key][google.cloud.video.livestream.v1.InputAttachment.key]
// that identifies the input that this text mapping applies to.
InputKey string `protobuf:"bytes,4,opt,name=input_key,json=inputKey,proto3" json:"input_key,omitempty"`
// Optional. The zero-based index of the track in the input stream.
InputTrack int32 `protobuf:"varint,2,opt,name=input_track,json=inputTrack,proto3" json:"input_track,omitempty"`
// Optional. The channel of the closed caption in the input stream.
// If this field is set, the output
// [codec][google.cloud.video.livestream.v1.TextStream.codec] must be
// `webvtt`. Must be one of `CC1`, `CC2`, `CC3`, and `CC4`, if the codec of
// the input closed caption is `cea608`; Must be one between `SERVICE1` and
// `SERVICE64`, if the codec of the input closed caption is `cea708`.
InputCeaChannel string `protobuf:"bytes,5,opt,name=input_cea_channel,json=inputCeaChannel,proto3" json:"input_cea_channel,omitempty"`
// Optional. The BCP-47 source language code, such as `en-US` or `sr-Latn`.
// If differ from the textStream's language code, enable translation. For
// more information on BCP-47 language codes, see
// https://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
FromLanguageCode string `protobuf:"bytes,6,opt,name=from_language_code,json=fromLanguageCode,proto3" json:"from_language_code,omitempty"`
// contains filtered or unexported fields
}The mapping for the input streams and text tracks.
func (*TextStream_TextMapping) Descriptor
func (*TextStream_TextMapping) Descriptor() ([]byte, []int)Deprecated: Use TextStream_TextMapping.ProtoReflect.Descriptor instead.
func (*TextStream_TextMapping) GetFromLanguageCode
func (x *TextStream_TextMapping) GetFromLanguageCode() stringfunc (*TextStream_TextMapping) GetInputCeaChannel
func (x *TextStream_TextMapping) GetInputCeaChannel() stringfunc (*TextStream_TextMapping) GetInputKey
func (x *TextStream_TextMapping) GetInputKey() stringfunc (*TextStream_TextMapping) GetInputTrack
func (x *TextStream_TextMapping) GetInputTrack() int32func (*TextStream_TextMapping) ProtoMessage
func (*TextStream_TextMapping) ProtoMessage()func (*TextStream_TextMapping) ProtoReflect
func (x *TextStream_TextMapping) ProtoReflect() protoreflect.Messagefunc (*TextStream_TextMapping) Reset
func (x *TextStream_TextMapping) Reset()func (*TextStream_TextMapping) String
func (x *TextStream_TextMapping) String() stringTimeInterval
type TimeInterval struct {
// Optional. The start time of the interval.
StartTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
// Optional. The end time of the interval.
EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
// contains filtered or unexported fields
}TimeInterval represents a time interval.
func (*TimeInterval) Descriptor
func (*TimeInterval) Descriptor() ([]byte, []int)Deprecated: Use TimeInterval.ProtoReflect.Descriptor instead.
func (*TimeInterval) GetEndTime
func (x *TimeInterval) GetEndTime() *timestamppb.Timestampfunc (*TimeInterval) GetStartTime
func (x *TimeInterval) GetStartTime() *timestamppb.Timestampfunc (*TimeInterval) ProtoMessage
func (*TimeInterval) ProtoMessage()func (*TimeInterval) ProtoReflect
func (x *TimeInterval) ProtoReflect() protoreflect.Messagefunc (*TimeInterval) Reset
func (x *TimeInterval) Reset()func (*TimeInterval) String
func (x *TimeInterval) String() stringTimecodeConfig
type TimecodeConfig struct {
// The source of the timecode that will later be used in outputs/manifests.
// It determines the initial timecode/timestamp (first frame) of output
// streams.
Source TimecodeConfig_TimecodeSource `protobuf:"varint,1,opt,name=source,proto3,enum=google.cloud.video.livestream.v1.TimecodeConfig_TimecodeSource" json:"source,omitempty"`
// For EMBEDDED_TIMECODE source only.
// Used to interpret the embedded timecode (which contains only the time part
// and no date). We assume all inputs are live.
//
// Types that are assignable to TimeOffset:
//
// *TimecodeConfig_UtcOffset
// *TimecodeConfig_TimeZone
TimeOffset isTimecodeConfig_TimeOffset `protobuf_oneof:"time_offset"`
// contains filtered or unexported fields
}Timecode configuration.
func (*TimecodeConfig) Descriptor
func (*TimecodeConfig) Descriptor() ([]byte, []int)Deprecated: Use TimecodeConfig.ProtoReflect.Descriptor instead.
func (*TimecodeConfig) GetSource
func (x *TimecodeConfig) GetSource() TimecodeConfig_TimecodeSourcefunc (*TimecodeConfig) GetTimeOffset
func (m *TimecodeConfig) GetTimeOffset() isTimecodeConfig_TimeOffsetfunc (*TimecodeConfig) GetTimeZone
func (x *TimecodeConfig) GetTimeZone() *datetime.TimeZonefunc (*TimecodeConfig) GetUtcOffset
func (x *TimecodeConfig) GetUtcOffset() *durationpb.Durationfunc (*TimecodeConfig) ProtoMessage
func (*TimecodeConfig) ProtoMessage()func (*TimecodeConfig) ProtoReflect
func (x *TimecodeConfig) ProtoReflect() protoreflect.Messagefunc (*TimecodeConfig) Reset
func (x *TimecodeConfig) Reset()func (*TimecodeConfig) String
func (x *TimecodeConfig) String() stringTimecodeConfig_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 int32The 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.EnumDescriptorfunc (TimecodeConfig_TimecodeSource) Enum
func (x TimecodeConfig_TimecodeSource) Enum() *TimecodeConfig_TimecodeSourcefunc (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.EnumNumberfunc (TimecodeConfig_TimecodeSource) String
func (x TimecodeConfig_TimecodeSource) String() stringfunc (TimecodeConfig_TimecodeSource) Type
func (TimecodeConfig_TimecodeSource) Type() protoreflect.EnumTypeTimecodeConfig_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 should 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) CreateDvrSession
func (UnimplementedLivestreamServiceServer) CreateDvrSession(context.Context, *CreateDvrSessionRequest) (*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) DeleteDvrSession
func (UnimplementedLivestreamServiceServer) DeleteDvrSession(context.Context, *DeleteDvrSessionRequest) (*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) GetDvrSession
func (UnimplementedLivestreamServiceServer) GetDvrSession(context.Context, *GetDvrSessionRequest) (*DvrSession, 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) ListDvrSessions
func (UnimplementedLivestreamServiceServer) ListDvrSessions(context.Context, *ListDvrSessionsRequest) (*ListDvrSessionsResponse, 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) PreviewInput
func (UnimplementedLivestreamServiceServer) PreviewInput(context.Context, *PreviewInputRequest) (*PreviewInputResponse, error)func (UnimplementedLivestreamServiceServer) StartChannel
func (UnimplementedLivestreamServiceServer) StartChannel(context.Context, *StartChannelRequest) (*longrunningpb.Operation, error)func (UnimplementedLivestreamServiceServer) StartDistribution
func (UnimplementedLivestreamServiceServer) StartDistribution(context.Context, *StartDistributionRequest) (*longrunningpb.Operation, error)func (UnimplementedLivestreamServiceServer) StopChannel
func (UnimplementedLivestreamServiceServer) StopChannel(context.Context, *StopChannelRequest) (*longrunningpb.Operation, error)func (UnimplementedLivestreamServiceServer) StopDistribution
func (UnimplementedLivestreamServiceServer) StopDistribution(context.Context, *StopDistributionRequest) (*longrunningpb.Operation, error)func (UnimplementedLivestreamServiceServer) UpdateChannel
func (UnimplementedLivestreamServiceServer) UpdateChannel(context.Context, *UpdateChannelRequest) (*longrunningpb.Operation, error)func (UnimplementedLivestreamServiceServer) UpdateDvrSession
func (UnimplementedLivestreamServiceServer) UpdateDvrSession(context.Context, *UpdateDvrSessionRequest) (*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)UnsafeLivestreamServiceServer
type UnsafeLivestreamServiceServer interface {
// contains filtered or unexported methods
}UnsafeLivestreamServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to LivestreamServiceServer will result in compilation errors.
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() *Channelfunc (*UpdateChannelRequest) GetRequestId
func (x *UpdateChannelRequest) GetRequestId() stringfunc (*UpdateChannelRequest) GetUpdateMask
func (x *UpdateChannelRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateChannelRequest) ProtoMessage
func (*UpdateChannelRequest) ProtoMessage()func (*UpdateChannelRequest) ProtoReflect
func (x *UpdateChannelRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateChannelRequest) Reset
func (x *UpdateChannelRequest) Reset()func (*UpdateChannelRequest) String
func (x *UpdateChannelRequest) String() stringUpdateDvrSessionRequest
type UpdateDvrSessionRequest struct {
// Required. Field mask is used to specify the fields to be overwritten in the
// DvrSession resource by the update. You can only update the following
// fields:
//
// * `dvrWindows`
//
// 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 DVR session resource to be updated.
DvrSession *DvrSession `protobuf:"bytes,2,opt,name=dvr_session,json=dvrSession,proto3" json:"dvr_session,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,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}Request message for "LivestreamService.UpdateDvrSession".
func (*UpdateDvrSessionRequest) Descriptor
func (*UpdateDvrSessionRequest) Descriptor() ([]byte, []int)Deprecated: Use UpdateDvrSessionRequest.ProtoReflect.Descriptor instead.
func (*UpdateDvrSessionRequest) GetDvrSession
func (x *UpdateDvrSessionRequest) GetDvrSession() *DvrSessionfunc (*UpdateDvrSessionRequest) GetRequestId
func (x *UpdateDvrSessionRequest) GetRequestId() stringfunc (*UpdateDvrSessionRequest) GetUpdateMask
func (x *UpdateDvrSessionRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateDvrSessionRequest) ProtoMessage
func (*UpdateDvrSessionRequest) ProtoMessage()func (*UpdateDvrSessionRequest) ProtoReflect
func (x *UpdateDvrSessionRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateDvrSessionRequest) Reset
func (x *UpdateDvrSessionRequest) Reset()func (*UpdateDvrSessionRequest) String
func (x *UpdateDvrSessionRequest) String() stringUpdateInputRequest
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:
//
// * [`tier`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.inputs#Tier)
// * [`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() *Inputfunc (*UpdateInputRequest) GetRequestId
func (x *UpdateInputRequest) GetRequestId() stringfunc (*UpdateInputRequest) GetUpdateMask
func (x *UpdateInputRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateInputRequest) ProtoMessage
func (*UpdateInputRequest) ProtoMessage()func (*UpdateInputRequest) ProtoReflect
func (x *UpdateInputRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateInputRequest) Reset
func (x *UpdateInputRequest) Reset()func (*UpdateInputRequest) String
func (x *UpdateInputRequest) String() stringUpdatePoolRequest
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() *Poolfunc (*UpdatePoolRequest) GetRequestId
func (x *UpdatePoolRequest) GetRequestId() stringfunc (*UpdatePoolRequest) GetUpdateMask
func (x *UpdatePoolRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdatePoolRequest) ProtoMessage
func (*UpdatePoolRequest) ProtoMessage()func (*UpdatePoolRequest) ProtoReflect
func (x *UpdatePoolRequest) ProtoReflect() protoreflect.Messagefunc (*UpdatePoolRequest) Reset
func (x *UpdatePoolRequest) Reset()func (*UpdatePoolRequest) String
func (x *UpdatePoolRequest) String() stringVideoFormat
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() stringfunc (*VideoFormat) GetFrameRate
func (x *VideoFormat) GetFrameRate() float64func (*VideoFormat) GetHeightPixels
func (x *VideoFormat) GetHeightPixels() int32func (*VideoFormat) GetWidthPixels
func (x *VideoFormat) GetWidthPixels() int32func (*VideoFormat) ProtoMessage
func (*VideoFormat) ProtoMessage()func (*VideoFormat) ProtoReflect
func (x *VideoFormat) ProtoReflect() protoreflect.Messagefunc (*VideoFormat) Reset
func (x *VideoFormat) Reset()func (*VideoFormat) String
func (x *VideoFormat) String() stringVideoStream
type VideoStream struct {
// Codec settings.
//
// Types that are assignable to CodecSettings:
//
// *VideoStream_H264
// *VideoStream_H265
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_CodecSettingsfunc (*VideoStream) GetH264
func (x *VideoStream) GetH264() *VideoStream_H264CodecSettingsfunc (*VideoStream) GetH265
func (x *VideoStream) GetH265() *VideoStream_H265CodecSettingsfunc (*VideoStream) ProtoMessage
func (*VideoStream) ProtoMessage()func (*VideoStream) ProtoReflect
func (x *VideoStream) ProtoReflect() protoreflect.Messagefunc (*VideoStream) Reset
func (x *VideoStream) Reset()func (*VideoStream) String
func (x *VideoStream) String() stringVideoStreamProperty
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() int32func (*VideoStreamProperty) GetVideoFormat
func (x *VideoStreamProperty) GetVideoFormat() *VideoFormatfunc (*VideoStreamProperty) ProtoMessage
func (*VideoStreamProperty) ProtoMessage()func (*VideoStreamProperty) ProtoReflect
func (x *VideoStreamProperty) ProtoReflect() protoreflect.Messagefunc (*VideoStreamProperty) Reset
func (x *VideoStreamProperty) Reset()func (*VideoStreamProperty) String
func (x *VideoStreamProperty) String() stringVideoStream_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, 4096].
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, 2160].
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).="" -="" for="" uhd="" resolution=""><= 2160p),="" must="" be=""><= 25,000,000="" (25="" 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() boolfunc (*VideoStream_H264CodecSettings) GetAqStrength
func (x *VideoStream_H264CodecSettings) GetAqStrength() float64func (*VideoStream_H264CodecSettings) GetBFrameCount
func (x *VideoStream_H264CodecSettings) GetBFrameCount() int32func (*VideoStream_H264CodecSettings) GetBPyramid
func (x *VideoStream_H264CodecSettings) GetBPyramid() boolfunc (*VideoStream_H264CodecSettings) GetBitrateBps
func (x *VideoStream_H264CodecSettings) GetBitrateBps() int32func (*VideoStream_H264CodecSettings) GetEntropyCoder
func (x *VideoStream_H264CodecSettings) GetEntropyCoder() stringfunc (*VideoStream_H264CodecSettings) GetFrameRate
func (x *VideoStream_H264CodecSettings) GetFrameRate() float64func (*VideoStream_H264CodecSettings) GetGopDuration
func (x *VideoStream_H264CodecSettings) GetGopDuration() *durationpb.Durationfunc (*VideoStream_H264CodecSettings) GetGopFrameCount
func (x *VideoStream_H264CodecSettings) GetGopFrameCount() int32func (*VideoStream_H264CodecSettings) GetGopMode
func (m *VideoStream_H264CodecSettings) GetGopMode() isVideoStream_H264CodecSettings_GopModefunc (*VideoStream_H264CodecSettings) GetHeightPixels
func (x *VideoStream_H264CodecSettings) GetHeightPixels() int32func (*VideoStream_H264CodecSettings) GetProfile
func (x *VideoStream_H264CodecSettings) GetProfile() stringfunc (*VideoStream_H264CodecSettings) GetTune
func (x *VideoStream_H264CodecSettings) GetTune() stringfunc (*VideoStream_H264CodecSettings) GetVbvFullnessBits
func (x *VideoStream_H264CodecSettings) GetVbvFullnessBits() int32func (*VideoStream_H264CodecSettings) GetVbvSizeBits
func (x *VideoStream_H264CodecSettings) GetVbvSizeBits() int32func (*VideoStream_H264CodecSettings) GetWidthPixels
func (x *VideoStream_H264CodecSettings) GetWidthPixels() int32func (*VideoStream_H264CodecSettings) ProtoMessage
func (*VideoStream_H264CodecSettings) ProtoMessage()func (*VideoStream_H264CodecSettings) ProtoReflect
func (x *VideoStream_H264CodecSettings) ProtoReflect() protoreflect.Messagefunc (*VideoStream_H264CodecSettings) Reset
func (x *VideoStream_H264CodecSettings) Reset()func (*VideoStream_H264CodecSettings) String
func (x *VideoStream_H264CodecSettings) String() stringVideoStream_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"`
}VideoStream_H265
type VideoStream_H265 struct {
// H265 codec settings.
H265 *VideoStream_H265CodecSettings `protobuf:"bytes,21,opt,name=h265,proto3,oneof"`
}VideoStream_H265CodecSettings
type VideoStream_H265CodecSettings struct {
// Optional. The width of the video in pixels. Must be an even integer.
// When not specified, the width is adjusted to match the specified height
// and input aspect ratio. If both are omitted, the input width is used.
// Valid range is [320, 4096].
WidthPixels int32 `protobuf:"varint,1,opt,name=width_pixels,json=widthPixels,proto3" json:"width_pixels,omitempty"`
// Optional. The height of the video in pixels. Must be an even integer.
// When not specified, the height is adjusted to match the specified width
// and input aspect ratio. If both are omitted, the input height is used.
// Valid range is [180, 2160].
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 120. 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).="" -="" for="" uhd="" resolution=""><= 2160p),="" must="" be=""><= 25,000,000="" (25="" mbps).="" bitratebps="">int32 `protobuf:"varint,4,opt,name=bitrate_bps,json=bitrateBps,proto3" json:"bitrate_bps,omitempty"`
// GOP mode can be either by frame count or duration.
//
// Types that are assignable to GopMode:
//
// *VideoStream_H265CodecSettings_GopFrameCount
// *VideoStream_H265CodecSettings_GopDuration
GopMode isVideoStream_H265CodecSettings_GopMode `protobuf_oneof:"gop_mode"`
// Optional. 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.H265CodecSettings.bitrate_bps].
VbvSizeBits int32 `protobuf:"varint,9,opt,name=vbv_size_bits,json=vbvSizeBits,proto3" json:"vbv_size_bits,omitempty"`
// Optional. 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.H265CodecSettings.vbv_size_bits].
VbvFullnessBits int32 `protobuf:"varint,10,opt,name=vbv_fullness_bits,json=vbvFullnessBits,proto3" json:"vbv_fullness_bits,omitempty"`
// Optional. Allow B-pyramid for reference frame selection. This may not be
// supported on all decoders. The default is `false`.
BPyramid bool `protobuf:"varint,11,opt,name=b_pyramid,json=bPyramid,proto3" json:"b_pyramid,omitempty"`
// Optional. 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.H265CodecSettings.gop_frame_count]
// if set. The default is 0.
BFrameCount int32 `protobuf:"varint,12,opt,name=b_frame_count,json=bFrameCount,proto3" json:"b_frame_count,omitempty"`
// Optional. 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,13,opt,name=aq_strength,json=aqStrength,proto3" json:"aq_strength,omitempty"`
// contains filtered or unexported fields
}H265 codec settings.
func (*VideoStream_H265CodecSettings) Descriptor
func (*VideoStream_H265CodecSettings) Descriptor() ([]byte, []int)Deprecated: Use VideoStream_H265CodecSettings.ProtoReflect.Descriptor instead.
func (*VideoStream_H265CodecSettings) GetAqStrength
func (x *VideoStream_H265CodecSettings) GetAqStrength() float64func (*VideoStream_H265CodecSettings) GetBFrameCount
func (x *VideoStream_H265CodecSettings) GetBFrameCount() int32func (*VideoStream_H265CodecSettings) GetBPyramid
func (x *VideoStream_H265CodecSettings) GetBPyramid() boolfunc (*VideoStream_H265CodecSettings) GetBitrateBps
func (x *VideoStream_H265CodecSettings) GetBitrateBps() int32func (*VideoStream_H265CodecSettings) GetFrameRate
func (x *VideoStream_H265CodecSettings) GetFrameRate() float64func (*VideoStream_H265CodecSettings) GetGopDuration
func (x *VideoStream_H265CodecSettings) GetGopDuration() *durationpb.Durationfunc (*VideoStream_H265CodecSettings) GetGopFrameCount
func (x *VideoStream_H265CodecSettings) GetGopFrameCount() int32func (*VideoStream_H265CodecSettings) GetGopMode
func (m *VideoStream_H265CodecSettings) GetGopMode() isVideoStream_H265CodecSettings_GopModefunc (*VideoStream_H265CodecSettings) GetHeightPixels
func (x *VideoStream_H265CodecSettings) GetHeightPixels() int32func (*VideoStream_H265CodecSettings) GetVbvFullnessBits
func (x *VideoStream_H265CodecSettings) GetVbvFullnessBits() int32func (*VideoStream_H265CodecSettings) GetVbvSizeBits
func (x *VideoStream_H265CodecSettings) GetVbvSizeBits() int32func (*VideoStream_H265CodecSettings) GetWidthPixels
func (x *VideoStream_H265CodecSettings) GetWidthPixels() int32func (*VideoStream_H265CodecSettings) ProtoMessage
func (*VideoStream_H265CodecSettings) ProtoMessage()func (*VideoStream_H265CodecSettings) ProtoReflect
func (x *VideoStream_H265CodecSettings) ProtoReflect() protoreflect.Messagefunc (*VideoStream_H265CodecSettings) Reset
func (x *VideoStream_H265CodecSettings) Reset()func (*VideoStream_H265CodecSettings) String
func (x *VideoStream_H265CodecSettings) String() stringVideoStream_H265CodecSettings_GopDuration
type VideoStream_H265CodecSettings_GopDuration struct {
// Optional. 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_H265CodecSettings_GopFrameCount
type VideoStream_H265CodecSettings_GopFrameCount struct {
// Optional. 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"`
}