Package cloud.google.com/go/video/transcoder/apiv1/transcoderpb (v1.16.1)

Variables

Job_ProcessingState_name, Job_ProcessingState_value

var (
	Job_ProcessingState_name = map[int32]string{
		0: "PROCESSING_STATE_UNSPECIFIED",
		1: "PENDING",
		2: "RUNNING",
		3: "SUCCEEDED",
		4: "FAILED",
	}
	Job_ProcessingState_value = map[string]int32{
		"PROCESSING_STATE_UNSPECIFIED": 0,
		"PENDING":                      1,
		"RUNNING":                      2,
		"SUCCEEDED":                    3,
		"FAILED":                       4,
	}
)

Enum value maps for Job_ProcessingState.

Job_ProcessingMode_name, Job_ProcessingMode_value

var (
	Job_ProcessingMode_name = map[int32]string{
		0: "PROCESSING_MODE_UNSPECIFIED",
		1: "PROCESSING_MODE_INTERACTIVE",
		2: "PROCESSING_MODE_BATCH",
	}
	Job_ProcessingMode_value = map[string]int32{
		"PROCESSING_MODE_UNSPECIFIED": 0,
		"PROCESSING_MODE_INTERACTIVE": 1,
		"PROCESSING_MODE_BATCH":       2,
	}
)

Enum value maps for Job_ProcessingMode.

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.

Overlay_FadeType_name, Overlay_FadeType_value

var (
	Overlay_FadeType_name = map[int32]string{
		0: "FADE_TYPE_UNSPECIFIED",
		1: "FADE_IN",
		2: "FADE_OUT",
	}
	Overlay_FadeType_value = map[string]int32{
		"FADE_TYPE_UNSPECIFIED": 0,
		"FADE_IN":               1,
		"FADE_OUT":              2,
	}
)

Enum value maps for Overlay_FadeType.

File_google_cloud_video_transcoder_v1_resources_proto

var File_google_cloud_video_transcoder_v1_resources_proto protoreflect.FileDescriptor

File_google_cloud_video_transcoder_v1_services_proto

var File_google_cloud_video_transcoder_v1_services_proto protoreflect.FileDescriptor

Functions

func RegisterTranscoderServiceServer

func RegisterTranscoderServiceServer(s *grpc.Server, srv TranscoderServiceServer)

AdBreak

type AdBreak struct {

	// Start time in seconds for the ad break, relative to the output file
	// timeline. The default is `0s`.
	StartTimeOffset *durationpb.Duration `protobuf:"bytes,1,opt,name=start_time_offset,json=startTimeOffset,proto3" json:"start_time_offset,omitempty"`
	// contains filtered or unexported fields
}

Ad break.

func (*AdBreak) Descriptor

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

Deprecated: Use AdBreak.ProtoReflect.Descriptor instead.

func (*AdBreak) GetStartTimeOffset

func (x *AdBreak) GetStartTimeOffset() *durationpb.Duration

func (*AdBreak) ProtoMessage

func (*AdBreak) ProtoMessage()

func (*AdBreak) ProtoReflect

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

func (*AdBreak) Reset

func (x *AdBreak) Reset()

func (*AdBreak) String

func (x *AdBreak) String() string

AudioStream

type AudioStream struct {

	// The codec for this audio stream. The default is `aac`.
	//
	// Supported audio codecs:
	//
	// - `aac`
	// - `aac-he`
	// - `aac-he-v2`
	// - `mp3`
	// - `ac3`
	// - `eac3`
	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 `Job.edit_list` atoms with audio `EditAtom.inputs`.
	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"`
	// 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. Not
	// supported in MP4 files.
	LanguageCode string `protobuf:"bytes,7,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
	// The name for this particular audio stream that
	// will be added to the HLS/DASH manifest. Not supported in MP4 files.
	DisplayName string `protobuf:"bytes,8,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// contains filtered or unexported fields
}

Audio stream resource.

func (*AudioStream) Descriptor

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

Deprecated: Use AudioStream.ProtoReflect.Descriptor instead.

func (*AudioStream) GetBitrateBps

func (x *AudioStream) GetBitrateBps() int32

func (*AudioStream) GetChannelCount

func (x *AudioStream) GetChannelCount() int32

func (*AudioStream) GetChannelLayout

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

func (*AudioStream) GetCodec

func (x *AudioStream) GetCodec() string

func (*AudioStream) GetDisplayName

func (x *AudioStream) GetDisplayName() string

func (*AudioStream) GetLanguageCode

func (x *AudioStream) GetLanguageCode() string

func (*AudioStream) GetMapping

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

func (*AudioStream) GetSampleRateHertz

func (x *AudioStream) GetSampleRateHertz() int32

func (*AudioStream) ProtoMessage

func (*AudioStream) ProtoMessage()

func (*AudioStream) ProtoReflect

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

func (*AudioStream) Reset

func (x *AudioStream) Reset()

func (*AudioStream) String

func (x *AudioStream) String() string

AudioStream_AudioMapping

type AudioStream_AudioMapping struct {

	// Required. The `EditAtom.key` that references the atom with audio inputs
	// in the `Job.edit_list`.
	AtomKey string `protobuf:"bytes,1,opt,name=atom_key,json=atomKey,proto3" json:"atom_key,omitempty"`
	// Required. The `Input.key` that identifies the input file.
	InputKey string `protobuf:"bytes,2,opt,name=input_key,json=inputKey,proto3" json:"input_key,omitempty"`
	// Required. The zero-based index of the track in the input file.
	InputTrack int32 `protobuf:"varint,3,opt,name=input_track,json=inputTrack,proto3" json:"input_track,omitempty"`
	// Required. The zero-based index of the channel in the input audio stream.
	InputChannel int32 `protobuf:"varint,4,opt,name=input_channel,json=inputChannel,proto3" json:"input_channel,omitempty"`
	// Required. The zero-based index of the channel in the output audio stream.
	OutputChannel int32 `protobuf:"varint,5,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,6,opt,name=gain_db,json=gainDb,proto3" json:"gain_db,omitempty"`
	// contains filtered or unexported fields
}

The mapping for the Job.edit_list atoms with audio EditAtom.inputs.

func (*AudioStream_AudioMapping) Descriptor

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

Deprecated: Use AudioStream_AudioMapping.ProtoReflect.Descriptor instead.

func (*AudioStream_AudioMapping) GetAtomKey

func (x *AudioStream_AudioMapping) GetAtomKey() string

func (*AudioStream_AudioMapping) GetGainDb

func (x *AudioStream_AudioMapping) GetGainDb() float64

func (*AudioStream_AudioMapping) GetInputChannel

func (x *AudioStream_AudioMapping) GetInputChannel() int32

func (*AudioStream_AudioMapping) GetInputKey

func (x *AudioStream_AudioMapping) GetInputKey() string

func (*AudioStream_AudioMapping) GetInputTrack

func (x *AudioStream_AudioMapping) GetInputTrack() int32

func (*AudioStream_AudioMapping) GetOutputChannel

func (x *AudioStream_AudioMapping) GetOutputChannel() int32

func (*AudioStream_AudioMapping) ProtoMessage

func (*AudioStream_AudioMapping) ProtoMessage()

func (*AudioStream_AudioMapping) ProtoReflect

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

func (*AudioStream_AudioMapping) Reset

func (x *AudioStream_AudioMapping) Reset()

func (*AudioStream_AudioMapping) String

func (x *AudioStream_AudioMapping) String() string

CreateJobRequest

type CreateJobRequest struct {

	// Required. The parent location to create and process this job.
	// Format: `projects/{project}/locations/{location}`
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. Parameters for creating transcoding job.
	Job *Job `protobuf:"bytes,2,opt,name=job,proto3" json:"job,omitempty"`
	// contains filtered or unexported fields
}

Request message for TranscoderService.CreateJob.

func (*CreateJobRequest) Descriptor

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

Deprecated: Use CreateJobRequest.ProtoReflect.Descriptor instead.

func (*CreateJobRequest) GetJob

func (x *CreateJobRequest) GetJob() *Job

func (*CreateJobRequest) GetParent

func (x *CreateJobRequest) GetParent() string

func (*CreateJobRequest) ProtoMessage

func (*CreateJobRequest) ProtoMessage()

func (*CreateJobRequest) ProtoReflect

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

func (*CreateJobRequest) Reset

func (x *CreateJobRequest) Reset()

func (*CreateJobRequest) String

func (x *CreateJobRequest) String() string

CreateJobTemplateRequest

type CreateJobTemplateRequest struct {

	// Required. The parent location to create this job template.
	// Format: `projects/{project}/locations/{location}`
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. Parameters for creating job template.
	JobTemplate *JobTemplate `protobuf:"bytes,2,opt,name=job_template,json=jobTemplate,proto3" json:"job_template,omitempty"`
	// Required. The ID to use for the job template, which will become the final
	// component of the job template's resource name.
	//
	// This value should be 4-63 characters, and valid characters must match the
	// regular expression `[a-zA-Z][a-zA-Z0-9_-]*`.
	JobTemplateId string `protobuf:"bytes,3,opt,name=job_template_id,json=jobTemplateId,proto3" json:"job_template_id,omitempty"`
	// contains filtered or unexported fields
}

Request message for TranscoderService.CreateJobTemplate.

func (*CreateJobTemplateRequest) Descriptor

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

Deprecated: Use CreateJobTemplateRequest.ProtoReflect.Descriptor instead.

func (*CreateJobTemplateRequest) GetJobTemplate

func (x *CreateJobTemplateRequest) GetJobTemplate() *JobTemplate

func (*CreateJobTemplateRequest) GetJobTemplateId

func (x *CreateJobTemplateRequest) GetJobTemplateId() string

func (*CreateJobTemplateRequest) GetParent

func (x *CreateJobTemplateRequest) GetParent() string

func (*CreateJobTemplateRequest) ProtoMessage

func (*CreateJobTemplateRequest) ProtoMessage()

func (*CreateJobTemplateRequest) ProtoReflect

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

func (*CreateJobTemplateRequest) Reset

func (x *CreateJobTemplateRequest) Reset()

func (*CreateJobTemplateRequest) String

func (x *CreateJobTemplateRequest) String() string

DeleteJobRequest

type DeleteJobRequest struct {

	// Required. The name of the job to delete.
	// Format: `projects/{project}/locations/{location}/jobs/{job}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// If set to true, and the job is not found, the request will succeed but no
	// action will be taken on the server.
	AllowMissing bool `protobuf:"varint,2,opt,name=allow_missing,json=allowMissing,proto3" json:"allow_missing,omitempty"`
	// contains filtered or unexported fields
}

Request message for TranscoderService.DeleteJob.

func (*DeleteJobRequest) Descriptor

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

Deprecated: Use DeleteJobRequest.ProtoReflect.Descriptor instead.

func (*DeleteJobRequest) GetAllowMissing

func (x *DeleteJobRequest) GetAllowMissing() bool

func (*DeleteJobRequest) GetName

func (x *DeleteJobRequest) GetName() string

func (*DeleteJobRequest) ProtoMessage

func (*DeleteJobRequest) ProtoMessage()

func (*DeleteJobRequest) ProtoReflect

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

func (*DeleteJobRequest) Reset

func (x *DeleteJobRequest) Reset()

func (*DeleteJobRequest) String

func (x *DeleteJobRequest) String() string

DeleteJobTemplateRequest

type DeleteJobTemplateRequest struct {

	// Required. The name of the job template to delete.
	// `projects/{project}/locations/{location}/jobTemplates/{job_template}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// If set to true, and the job template is not found, the request will succeed
	// but no action will be taken on the server.
	AllowMissing bool `protobuf:"varint,2,opt,name=allow_missing,json=allowMissing,proto3" json:"allow_missing,omitempty"`
	// contains filtered or unexported fields
}

Request message for TranscoderService.DeleteJobTemplate.

func (*DeleteJobTemplateRequest) Descriptor

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

Deprecated: Use DeleteJobTemplateRequest.ProtoReflect.Descriptor instead.

func (*DeleteJobTemplateRequest) GetAllowMissing

func (x *DeleteJobTemplateRequest) GetAllowMissing() bool

func (*DeleteJobTemplateRequest) GetName

func (x *DeleteJobTemplateRequest) GetName() string

func (*DeleteJobTemplateRequest) ProtoMessage

func (*DeleteJobTemplateRequest) ProtoMessage()

func (*DeleteJobTemplateRequest) ProtoReflect

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

func (*DeleteJobTemplateRequest) Reset

func (x *DeleteJobTemplateRequest) Reset()

func (*DeleteJobTemplateRequest) String

func (x *DeleteJobTemplateRequest) String() string

EditAtom

type EditAtom struct {

	// A unique key for this atom. Must be specified when using advanced
	// mapping.
	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// List of `Input.key`s identifying files that should be used in this atom.
	// The listed `inputs` must have the same timeline.
	Inputs []string `protobuf:"bytes,2,rep,name=inputs,proto3" json:"inputs,omitempty"`
	// End time in seconds for the atom, relative to the input file timeline.
	// When `end_time_offset` is not specified, the `inputs` are used until
	// the end of the atom.
	EndTimeOffset *durationpb.Duration `protobuf:"bytes,3,opt,name=end_time_offset,json=endTimeOffset,proto3" json:"end_time_offset,omitempty"`
	// Start time in seconds for the atom, relative to the input file timeline.
	// The default is `0s`.
	StartTimeOffset *durationpb.Duration `protobuf:"bytes,4,opt,name=start_time_offset,json=startTimeOffset,proto3" json:"start_time_offset,omitempty"`
	// contains filtered or unexported fields
}

Edit atom.

func (*EditAtom) Descriptor

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

Deprecated: Use EditAtom.ProtoReflect.Descriptor instead.

func (*EditAtom) GetEndTimeOffset

func (x *EditAtom) GetEndTimeOffset() *durationpb.Duration

func (*EditAtom) GetInputs

func (x *EditAtom) GetInputs() []string

func (*EditAtom) GetKey

func (x *EditAtom) GetKey() string

func (*EditAtom) GetStartTimeOffset

func (x *EditAtom) GetStartTimeOffset() *durationpb.Duration

func (*EditAtom) ProtoMessage

func (*EditAtom) ProtoMessage()

func (*EditAtom) ProtoReflect

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

func (*EditAtom) Reset

func (x *EditAtom) Reset()

func (*EditAtom) String

func (x *EditAtom) String() string

ElementaryStream

type ElementaryStream struct {

	// A unique key for this elementary stream.
	Key string `protobuf:"bytes,4,opt,name=key,proto3" json:"key,omitempty"`
	// 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 file such as an audio, video, or text track. Elementary streams must be packaged before mapping and sharing between different output formats.

func (*ElementaryStream) Descriptor

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

Deprecated: Use ElementaryStream.ProtoReflect.Descriptor instead.

func (*ElementaryStream) GetAudioStream

func (x *ElementaryStream) GetAudioStream() *AudioStream

func (*ElementaryStream) GetElementaryStream

func (m *ElementaryStream) GetElementaryStream() isElementaryStream_ElementaryStream

func (*ElementaryStream) GetKey

func (x *ElementaryStream) GetKey() string

func (*ElementaryStream) GetTextStream

func (x *ElementaryStream) GetTextStream() *TextStream

func (*ElementaryStream) GetVideoStream

func (x *ElementaryStream) GetVideoStream() *VideoStream

func (*ElementaryStream) ProtoMessage

func (*ElementaryStream) ProtoMessage()

func (*ElementaryStream) ProtoReflect

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

func (*ElementaryStream) Reset

func (x *ElementaryStream) Reset()

func (*ElementaryStream) String

func (x *ElementaryStream) String() string

ElementaryStream_AudioStream

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

ElementaryStream_TextStream

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

ElementaryStream_VideoStream

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

GetJobRequest

type GetJobRequest struct {

	// Required. The name of the job to retrieve.
	// Format: `projects/{project}/locations/{location}/jobs/{job}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request message for TranscoderService.GetJob.

func (*GetJobRequest) Descriptor

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

Deprecated: Use GetJobRequest.ProtoReflect.Descriptor instead.

func (*GetJobRequest) GetName

func (x *GetJobRequest) GetName() string

func (*GetJobRequest) ProtoMessage

func (*GetJobRequest) ProtoMessage()

func (*GetJobRequest) ProtoReflect

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

func (*GetJobRequest) Reset

func (x *GetJobRequest) Reset()

func (*GetJobRequest) String

func (x *GetJobRequest) String() string

GetJobTemplateRequest

type GetJobTemplateRequest struct {

	// Required. The name of the job template to retrieve.
	// Format:
	// `projects/{project}/locations/{location}/jobTemplates/{job_template}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request message for TranscoderService.GetJobTemplate.

func (*GetJobTemplateRequest) Descriptor

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

Deprecated: Use GetJobTemplateRequest.ProtoReflect.Descriptor instead.

func (*GetJobTemplateRequest) GetName

func (x *GetJobTemplateRequest) GetName() string

func (*GetJobTemplateRequest) ProtoMessage

func (*GetJobTemplateRequest) ProtoMessage()

func (*GetJobTemplateRequest) ProtoReflect

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

func (*GetJobTemplateRequest) Reset

func (x *GetJobTemplateRequest) Reset()

func (*GetJobTemplateRequest) String

func (x *GetJobTemplateRequest) String() string

Input

type Input struct {

	// A unique key for this input. Must be specified when using advanced
	// mapping and edit lists.
	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// URI of the media. Input files must be at least 5 seconds in duration and
	// stored in Cloud Storage (for example, `gs://bucket/inputs/file.mp4`).
	// If empty, the value is populated from `Job.input_uri`. See
	// [Supported input and output
	// formats](https://cloud.google.com/transcoder/docs/concepts/supported-input-and-output-formats).
	Uri string `protobuf:"bytes,2,opt,name=uri,proto3" json:"uri,omitempty"`
	// Preprocessing configurations.
	PreprocessingConfig *PreprocessingConfig `protobuf:"bytes,3,opt,name=preprocessing_config,json=preprocessingConfig,proto3" json:"preprocessing_config,omitempty"`
	// contains filtered or unexported fields
}

Input asset.

func (*Input) Descriptor

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

Deprecated: Use Input.ProtoReflect.Descriptor instead.

func (*Input) GetKey

func (x *Input) GetKey() string

func (*Input) GetPreprocessingConfig

func (x *Input) GetPreprocessingConfig() *PreprocessingConfig

func (*Input) GetUri

func (x *Input) GetUri() string

func (*Input) ProtoMessage

func (*Input) ProtoMessage()

func (*Input) ProtoReflect

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

func (*Input) Reset

func (x *Input) Reset()

func (*Input) String

func (x *Input) String() string

Job

type Job struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`

	InputUri string `protobuf:"bytes,2,opt,name=input_uri,json=inputUri,proto3" json:"input_uri,omitempty"`

	OutputUri string `protobuf:"bytes,3,opt,name=output_uri,json=outputUri,proto3" json:"output_uri,omitempty"`

	JobConfig isJob_JobConfig `protobuf_oneof:"job_config"`

	State Job_ProcessingState `protobuf:"varint,8,opt,name=state,proto3,enum=google.cloud.video.transcoder.v1.Job_ProcessingState" json:"state,omitempty"`

	CreateTime *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`

	StartTime *timestamppb.Timestamp `protobuf:"bytes,13,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`

	EndTime *timestamppb.Timestamp `protobuf:"bytes,14,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`

	TtlAfterCompletionDays int32 "" /* 133 byte string literal not displayed */

	Labels map[string]string "" /* 154 byte string literal not displayed */

	Error *status.Status `protobuf:"bytes,17,opt,name=error,proto3" json:"error,omitempty"`

	Mode Job_ProcessingMode `protobuf:"varint,20,opt,name=mode,proto3,enum=google.cloud.video.transcoder.v1.Job_ProcessingMode" json:"mode,omitempty"`

}

Transcoding job resource.

func (*Job) Descriptor

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

Deprecated: Use Job.ProtoReflect.Descriptor instead.

func (*Job) GetConfig

func (x *Job) GetConfig() *JobConfig

func (*Job) GetCreateTime

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

func (*Job) GetEndTime

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

func (*Job) GetError

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

func (*Job) GetInputUri

func (x *Job) GetInputUri() string

func (*Job) GetJobConfig

func (m *Job) GetJobConfig() isJob_JobConfig

func (*Job) GetLabels

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

func (*Job) GetMode

func (x *Job) GetMode() Job_ProcessingMode

func (*Job) GetName

func (x *Job) GetName() string

func (*Job) GetOutputUri

func (x *Job) GetOutputUri() string

func (*Job) GetStartTime

func (x *Job) GetStartTime() *timestamppb.Timestamp

func (*Job) GetState

func (x *Job) GetState() Job_ProcessingState

func (*Job) GetTemplateId

func (x *Job) GetTemplateId() string

func (*Job) GetTtlAfterCompletionDays

func (x *Job) GetTtlAfterCompletionDays() int32

func (*Job) ProtoMessage

func (*Job) ProtoMessage()

func (*Job) ProtoReflect

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

func (*Job) Reset

func (x *Job) Reset()

func (*Job) String

func (x *Job) String() string

JobConfig

type JobConfig struct {

	// List of input assets stored in Cloud Storage.
	Inputs []*Input `protobuf:"bytes,1,rep,name=inputs,proto3" json:"inputs,omitempty"`
	// List of `Edit atom`s. Defines the ultimate timeline of the resulting
	// file or manifest.
	EditList []*EditAtom `protobuf:"bytes,2,rep,name=edit_list,json=editList,proto3" json:"edit_list,omitempty"`
	// List of elementary streams.
	ElementaryStreams []*ElementaryStream `protobuf:"bytes,3,rep,name=elementary_streams,json=elementaryStreams,proto3" json:"elementary_streams,omitempty"`
	// List of multiplexing settings for output streams.
	MuxStreams []*MuxStream `protobuf:"bytes,4,rep,name=mux_streams,json=muxStreams,proto3" json:"mux_streams,omitempty"`
	// List of output manifests.
	Manifests []*Manifest `protobuf:"bytes,5,rep,name=manifests,proto3" json:"manifests,omitempty"`
	// Output configuration.
	Output *Output `protobuf:"bytes,6,opt,name=output,proto3" json:"output,omitempty"`
	// List of ad breaks. Specifies where to insert ad break tags in the output
	// manifests.
	AdBreaks []*AdBreak `protobuf:"bytes,7,rep,name=ad_breaks,json=adBreaks,proto3" json:"ad_breaks,omitempty"`
	// Destination on Pub/Sub.
	PubsubDestination *PubsubDestination `protobuf:"bytes,8,opt,name=pubsub_destination,json=pubsubDestination,proto3" json:"pubsub_destination,omitempty"`
	// List of output sprite sheets.
	// Spritesheets require at least one VideoStream in the Jobconfig.
	SpriteSheets []*SpriteSheet `protobuf:"bytes,9,rep,name=sprite_sheets,json=spriteSheets,proto3" json:"sprite_sheets,omitempty"`
	// List of overlays on the output video, in descending Z-order.
	Overlays []*Overlay `protobuf:"bytes,10,rep,name=overlays,proto3" json:"overlays,omitempty"`
	// contains filtered or unexported fields
}

Job configuration

func (*JobConfig) Descriptor

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

Deprecated: Use JobConfig.ProtoReflect.Descriptor instead.

func (*JobConfig) GetAdBreaks

func (x *JobConfig) GetAdBreaks() []*AdBreak

func (*JobConfig) GetEditList

func (x *JobConfig) GetEditList() []*EditAtom

func (*JobConfig) GetElementaryStreams

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

func (*JobConfig) GetInputs

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

func (*JobConfig) GetManifests

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

func (*JobConfig) GetMuxStreams

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

func (*JobConfig) GetOutput

func (x *JobConfig) GetOutput() *Output

func (*JobConfig) GetOverlays

func (x *JobConfig) GetOverlays() []*Overlay

func (*JobConfig) GetPubsubDestination

func (x *JobConfig) GetPubsubDestination() *PubsubDestination

func (*JobConfig) GetSpriteSheets

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

func (*JobConfig) ProtoMessage

func (*JobConfig) ProtoMessage()

func (*JobConfig) ProtoReflect

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

func (*JobConfig) Reset

func (x *JobConfig) Reset()

func (*JobConfig) String

func (x *JobConfig) String() string

JobTemplate

type JobTemplate struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`

	Config *JobConfig `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"`

	Labels map[string]string "" /* 153 byte string literal not displayed */

}

Transcoding job template resource.

func (*JobTemplate) Descriptor

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

Deprecated: Use JobTemplate.ProtoReflect.Descriptor instead.

func (*JobTemplate) GetConfig

func (x *JobTemplate) GetConfig() *JobConfig

func (*JobTemplate) GetLabels

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

func (*JobTemplate) GetName

func (x *JobTemplate) GetName() string

func (*JobTemplate) ProtoMessage

func (*JobTemplate) ProtoMessage()

func (*JobTemplate) ProtoReflect

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

func (*JobTemplate) Reset

func (x *JobTemplate) Reset()

func (*JobTemplate) String

func (x *JobTemplate) String() string

Job_Config

type Job_Config struct {
	// The configuration for this job.
	Config *JobConfig `protobuf:"bytes,5,opt,name=config,proto3,oneof"`
}

Job_ProcessingMode

type Job_ProcessingMode int32

The processing mode of the job.

Job_PROCESSING_MODE_UNSPECIFIED, Job_PROCESSING_MODE_INTERACTIVE, Job_PROCESSING_MODE_BATCH

const (
	// The job processing mode is not specified.
	Job_PROCESSING_MODE_UNSPECIFIED Job_ProcessingMode = 0
	// The job processing mode is interactive mode.
	// Interactive job will either be ran or rejected if quota does not allow
	// for it.
	Job_PROCESSING_MODE_INTERACTIVE Job_ProcessingMode = 1
	// The job processing mode is batch mode.
	// Batch mode allows queuing of jobs.
	Job_PROCESSING_MODE_BATCH Job_ProcessingMode = 2
)

func (Job_ProcessingMode) Descriptor

func (Job_ProcessingMode) Enum

func (Job_ProcessingMode) EnumDescriptor

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

Deprecated: Use Job_ProcessingMode.Descriptor instead.

func (Job_ProcessingMode) Number

func (Job_ProcessingMode) String

func (x Job_ProcessingMode) String() string

func (Job_ProcessingMode) Type

Job_ProcessingState

type Job_ProcessingState int32

The current state of the job.

Job_PROCESSING_STATE_UNSPECIFIED, Job_PENDING, Job_RUNNING, Job_SUCCEEDED, Job_FAILED

const (
	// The processing state is not specified.
	Job_PROCESSING_STATE_UNSPECIFIED Job_ProcessingState = 0
	// The job is enqueued and will be picked up for processing soon.
	Job_PENDING Job_ProcessingState = 1
	// The job is being processed.
	Job_RUNNING Job_ProcessingState = 2
	// The job has been completed successfully.
	Job_SUCCEEDED Job_ProcessingState = 3
	// The job has failed. For additional information, see `failure_reason` and
	// `failure_details`
	Job_FAILED Job_ProcessingState = 4
)

func (Job_ProcessingState) Descriptor

func (Job_ProcessingState) Enum

func (Job_ProcessingState) EnumDescriptor

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

Deprecated: Use Job_ProcessingState.Descriptor instead.

func (Job_ProcessingState) Number

func (Job_ProcessingState) String

func (x Job_ProcessingState) String() string

func (Job_ProcessingState) Type

Job_TemplateId

type Job_TemplateId struct {
	// Input only. Specify the `template_id` to use for populating `Job.config`.
	// The default is `preset/web-hd`, which is the only supported preset.
	//
	// User defined JobTemplate: `{job_template_id}`
	TemplateId string `protobuf:"bytes,4,opt,name=template_id,json=templateId,proto3,oneof"`
}

ListJobTemplatesRequest

type ListJobTemplatesRequest struct {

	// Required. The parent location from which to retrieve the collection of job
	// templates. Format: `projects/{project}/locations/{location}`
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// The maximum number of items to return.
	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 expression, following the syntax outlined in
	// https://google.aip.dev/160.
	Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
	// One or more fields to compare and use to sort the output.
	// See https://google.aip.dev/132#ordering.
	OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
	// contains filtered or unexported fields
}

Request message for TranscoderService.ListJobTemplates.

func (*ListJobTemplatesRequest) Descriptor

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

Deprecated: Use ListJobTemplatesRequest.ProtoReflect.Descriptor instead.

func (*ListJobTemplatesRequest) GetFilter

func (x *ListJobTemplatesRequest) GetFilter() string

func (*ListJobTemplatesRequest) GetOrderBy

func (x *ListJobTemplatesRequest) GetOrderBy() string

func (*ListJobTemplatesRequest) GetPageSize

func (x *ListJobTemplatesRequest) GetPageSize() int32

func (*ListJobTemplatesRequest) GetPageToken

func (x *ListJobTemplatesRequest) GetPageToken() string

func (*ListJobTemplatesRequest) GetParent

func (x *ListJobTemplatesRequest) GetParent() string

func (*ListJobTemplatesRequest) ProtoMessage

func (*ListJobTemplatesRequest) ProtoMessage()

func (*ListJobTemplatesRequest) ProtoReflect

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

func (*ListJobTemplatesRequest) Reset

func (x *ListJobTemplatesRequest) Reset()

func (*ListJobTemplatesRequest) String

func (x *ListJobTemplatesRequest) String() string

ListJobTemplatesResponse

type ListJobTemplatesResponse struct {

	// List of job templates in the specified region.
	JobTemplates []*JobTemplate `protobuf:"bytes,1,rep,name=job_templates,json=jobTemplates,proto3" json:"job_templates,omitempty"`
	// The pagination token.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// List of regions 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 TranscoderService.ListJobTemplates.

func (*ListJobTemplatesResponse) Descriptor

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

Deprecated: Use ListJobTemplatesResponse.ProtoReflect.Descriptor instead.

func (*ListJobTemplatesResponse) GetJobTemplates

func (x *ListJobTemplatesResponse) GetJobTemplates() []*JobTemplate

func (*ListJobTemplatesResponse) GetNextPageToken

func (x *ListJobTemplatesResponse) GetNextPageToken() string

func (*ListJobTemplatesResponse) GetUnreachable

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

func (*ListJobTemplatesResponse) ProtoMessage

func (*ListJobTemplatesResponse) ProtoMessage()

func (*ListJobTemplatesResponse) ProtoReflect

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

func (*ListJobTemplatesResponse) Reset

func (x *ListJobTemplatesResponse) Reset()

func (*ListJobTemplatesResponse) String

func (x *ListJobTemplatesResponse) String() string

ListJobsRequest

type ListJobsRequest struct {

	// Required. Format: `projects/{project}/locations/{location}`
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// The maximum number of items to return.
	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 expression, following the syntax outlined in
	// https://google.aip.dev/160.
	Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
	// One or more fields to compare and use to sort the output.
	// See https://google.aip.dev/132#ordering.
	OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
	// contains filtered or unexported fields
}

Request message for TranscoderService.ListJobs. The parent location from which to retrieve the collection of jobs.

func (*ListJobsRequest) Descriptor

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

Deprecated: Use ListJobsRequest.ProtoReflect.Descriptor instead.

func (*ListJobsRequest) GetFilter

func (x *ListJobsRequest) GetFilter() string

func (*ListJobsRequest) GetOrderBy

func (x *ListJobsRequest) GetOrderBy() string

func (*ListJobsRequest) GetPageSize

func (x *ListJobsRequest) GetPageSize() int32

func (*ListJobsRequest) GetPageToken

func (x *ListJobsRequest) GetPageToken() string

func (*ListJobsRequest) GetParent

func (x *ListJobsRequest) GetParent() string

func (*ListJobsRequest) ProtoMessage

func (*ListJobsRequest) ProtoMessage()

func (*ListJobsRequest) ProtoReflect

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

func (*ListJobsRequest) Reset

func (x *ListJobsRequest) Reset()

func (*ListJobsRequest) String

func (x *ListJobsRequest) String() string

ListJobsResponse

type ListJobsResponse struct {

	// List of jobs in the specified region.
	Jobs []*Job `protobuf:"bytes,1,rep,name=jobs,proto3" json:"jobs,omitempty"`
	// The pagination token.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// List of regions 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 TranscoderService.ListJobs.

func (*ListJobsResponse) Descriptor

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

Deprecated: Use ListJobsResponse.ProtoReflect.Descriptor instead.

func (*ListJobsResponse) GetJobs

func (x *ListJobsResponse) GetJobs() []*Job

func (*ListJobsResponse) GetNextPageToken

func (x *ListJobsResponse) GetNextPageToken() string

func (*ListJobsResponse) GetUnreachable

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

func (*ListJobsResponse) ProtoMessage

func (*ListJobsResponse) ProtoMessage()

func (*ListJobsResponse) ProtoReflect

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

func (*ListJobsResponse) Reset

func (x *ListJobsResponse) Reset()

func (*ListJobsResponse) String

func (x *ListJobsResponse) String() string

Manifest

type Manifest struct {

	// The name of the generated file. The default is `manifest` with the
	// extension suffix corresponding to the `Manifest.type`.
	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.transcoder.v1.Manifest_ManifestType" json:"type,omitempty"`
	// Required. List of user given `MuxStream.key`s that should appear in this
	// manifest.
	//
	// When `Manifest.type` is `HLS`, a media manifest with name `MuxStream.key`
	// and `.m3u8` extension is generated for each element of the
	// `Manifest.mux_streams`.
	MuxStreams []string `protobuf:"bytes,3,rep,name=mux_streams,json=muxStreams,proto3" json:"mux_streams,omitempty"`
	// contains filtered or unexported fields
}

Manifest configuration.

func (*Manifest) Descriptor

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

Deprecated: Use Manifest.ProtoReflect.Descriptor instead.

func (*Manifest) GetFileName

func (x *Manifest) GetFileName() string

func (*Manifest) GetMuxStreams

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

func (*Manifest) GetType

func (x *Manifest) GetType() Manifest_ManifestType

func (*Manifest) ProtoMessage

func (*Manifest) ProtoMessage()

func (*Manifest) ProtoReflect

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

func (*Manifest) Reset

func (x *Manifest) Reset()

func (*Manifest) String

func (x *Manifest) String() string

Manifest_ManifestType

type Manifest_ManifestType int32

The manifest type can be either HLS or DASH.

Manifest_MANIFEST_TYPE_UNSPECIFIED, Manifest_HLS, Manifest_DASH

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

func (Manifest_ManifestType) Descriptor

func (Manifest_ManifestType) Enum

func (Manifest_ManifestType) EnumDescriptor

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

Deprecated: Use Manifest_ManifestType.Descriptor instead.

func (Manifest_ManifestType) Number

func (Manifest_ManifestType) String

func (x Manifest_ManifestType) String() string

func (Manifest_ManifestType) Type

MuxStream

type MuxStream struct {

	// A unique key for this multiplexed stream. HLS media manifests will be
	// named `MuxStream.key` with the `.m3u8` extension suffix.
	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// The name of the generated file. The default is `MuxStream.key` with the
	// extension suffix corresponding to the `MuxStream.container`.
	//
	// Individual segments also have an incremental 10-digit zero-padded suffix
	// starting from 0 before the extension, such as `mux_stream0000000123.ts`.
	FileName string `protobuf:"bytes,2,opt,name=file_name,json=fileName,proto3" json:"file_name,omitempty"`
	// The container format. The default is `mp4`
	//
	// Supported container formats:
	//
	// - `ts`
	// - `fmp4`- the corresponding file extension is `.m4s`
	// - `mp4`
	// - `vtt`
	//
	// See also:
	// [Supported input and output
	// formats](https://cloud.google.com/transcoder/docs/concepts/supported-input-and-output-formats)
	Container string `protobuf:"bytes,3,opt,name=container,proto3" json:"container,omitempty"`
	// List of `ElementaryStream.key`s multiplexed in this stream.
	ElementaryStreams []string `protobuf:"bytes,4,rep,name=elementary_streams,json=elementaryStreams,proto3" json:"elementary_streams,omitempty"`
	// Segment settings for `ts`, `fmp4` and `vtt`.
	SegmentSettings *SegmentSettings `protobuf:"bytes,5,opt,name=segment_settings,json=segmentSettings,proto3" json:"segment_settings,omitempty"`
	// contains filtered or unexported fields
}

Multiplexing settings for output stream.

func (*MuxStream) Descriptor

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

Deprecated: Use MuxStream.ProtoReflect.Descriptor instead.

func (*MuxStream) GetContainer

func (x *MuxStream) GetContainer() string

func (*MuxStream) GetElementaryStreams

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

func (*MuxStream) GetFileName

func (x *MuxStream) GetFileName() string

func (*MuxStream) GetKey

func (x *MuxStream) GetKey() string

func (*MuxStream) GetSegmentSettings

func (x *MuxStream) GetSegmentSettings() *SegmentSettings

func (*MuxStream) ProtoMessage

func (*MuxStream) ProtoMessage()

func (*MuxStream) ProtoReflect

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

func (*MuxStream) Reset

func (x *MuxStream) Reset()

func (*MuxStream) String

func (x *MuxStream) String() string

Output

type Output struct {

	// URI for the output file(s). For example, `gs://my-bucket/outputs/`.
	// If empty, the value is populated from `Job.output_uri`. See
	// [Supported input and output
	// formats](https://cloud.google.com/transcoder/docs/concepts/supported-input-and-output-formats).
	Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"`
	// contains filtered or unexported fields
}

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

func (*Output) Descriptor

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

Deprecated: Use Output.ProtoReflect.Descriptor instead.

func (*Output) GetUri

func (x *Output) GetUri() string

func (*Output) ProtoMessage

func (*Output) ProtoMessage()

func (*Output) ProtoReflect

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

func (*Output) Reset

func (x *Output) Reset()

func (*Output) String

func (x *Output) String() string

Overlay

type Overlay struct {

	// Image overlay.
	Image *Overlay_Image `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"`
	// List of Animations. The list should be chronological, without any time
	// overlap.
	Animations []*Overlay_Animation `protobuf:"bytes,2,rep,name=animations,proto3" json:"animations,omitempty"`
	// contains filtered or unexported fields
}

Overlay configuration.

func (*Overlay) Descriptor

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

Deprecated: Use Overlay.ProtoReflect.Descriptor instead.

func (*Overlay) GetAnimations

func (x *Overlay) GetAnimations() []*Overlay_Animation

func (*Overlay) GetImage

func (x *Overlay) GetImage() *Overlay_Image

func (*Overlay) ProtoMessage

func (*Overlay) ProtoMessage()

func (*Overlay) ProtoReflect

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

func (*Overlay) Reset

func (x *Overlay) Reset()

func (*Overlay) String

func (x *Overlay) String() string

Overlay_Animation

type Overlay_Animation struct {

	// Animations can be static or fade, or they can end the previous animation.
	//
	// Types that are assignable to AnimationType:
	//	*Overlay_Animation_AnimationStatic
	//	*Overlay_Animation_AnimationFade
	//	*Overlay_Animation_AnimationEnd
	AnimationType isOverlay_Animation_AnimationType `protobuf_oneof:"animation_type"`
	// contains filtered or unexported fields
}

Animation types.

func (*Overlay_Animation) Descriptor

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

Deprecated: Use Overlay_Animation.ProtoReflect.Descriptor instead.

func (*Overlay_Animation) GetAnimationEnd

func (x *Overlay_Animation) GetAnimationEnd() *Overlay_AnimationEnd

func (*Overlay_Animation) GetAnimationFade

func (x *Overlay_Animation) GetAnimationFade() *Overlay_AnimationFade

func (*Overlay_Animation) GetAnimationStatic

func (x *Overlay_Animation) GetAnimationStatic() *Overlay_AnimationStatic

func (*Overlay_Animation) GetAnimationType

func (m *Overlay_Animation) GetAnimationType() isOverlay_Animation_AnimationType

func (*Overlay_Animation) ProtoMessage

func (*Overlay_Animation) ProtoMessage()

func (*Overlay_Animation) ProtoReflect

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

func (*Overlay_Animation) Reset

func (x *Overlay_Animation) Reset()

func (*Overlay_Animation) String

func (x *Overlay_Animation) String() string

Overlay_AnimationEnd

type Overlay_AnimationEnd struct {

	// The time to end overlay object, in seconds. Default: 0
	StartTimeOffset *durationpb.Duration `protobuf:"bytes,1,opt,name=start_time_offset,json=startTimeOffset,proto3" json:"start_time_offset,omitempty"`
	// contains filtered or unexported fields
}

End previous overlay animation from the video. Without AnimationEnd, the overlay object will keep the state of previous animation until the end of the video.

func (*Overlay_AnimationEnd) Descriptor

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

Deprecated: Use Overlay_AnimationEnd.ProtoReflect.Descriptor instead.

func (*Overlay_AnimationEnd) GetStartTimeOffset

func (x *Overlay_AnimationEnd) GetStartTimeOffset() *durationpb.Duration

func (*Overlay_AnimationEnd) ProtoMessage

func (*Overlay_AnimationEnd) ProtoMessage()

func (*Overlay_AnimationEnd) ProtoReflect

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

func (*Overlay_AnimationEnd) Reset

func (x *Overlay_AnimationEnd) Reset()

func (*Overlay_AnimationEnd) String

func (x *Overlay_AnimationEnd) String() string

Overlay_AnimationFade

type Overlay_AnimationFade struct {
	FadeType Overlay_FadeType "" /* 141 byte string literal not displayed */

	Xy *Overlay_NormalizedCoordinate `protobuf:"bytes,2,opt,name=xy,proto3" json:"xy,omitempty"`

	StartTimeOffset *durationpb.Duration `protobuf:"bytes,3,opt,name=start_time_offset,json=startTimeOffset,proto3" json:"start_time_offset,omitempty"`

	EndTimeOffset *durationpb.Duration `protobuf:"bytes,4,opt,name=end_time_offset,json=endTimeOffset,proto3" json:"end_time_offset,omitempty"`

}

Display overlay object with fade animation.

func (*Overlay_AnimationFade) Descriptor

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

Deprecated: Use Overlay_AnimationFade.ProtoReflect.Descriptor instead.

func (*Overlay_AnimationFade) GetEndTimeOffset

func (x *Overlay_AnimationFade) GetEndTimeOffset() *durationpb.Duration

func (*Overlay_AnimationFade) GetFadeType

func (x *Overlay_AnimationFade) GetFadeType() Overlay_FadeType

func (*Overlay_AnimationFade) GetStartTimeOffset

func (x *Overlay_AnimationFade) GetStartTimeOffset() *durationpb.Duration

func (*Overlay_AnimationFade) GetXy

func (*Overlay_AnimationFade) ProtoMessage

func (*Overlay_AnimationFade) ProtoMessage()

func (*Overlay_AnimationFade) ProtoReflect

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

func (*Overlay_AnimationFade) Reset

func (x *Overlay_AnimationFade) Reset()

func (*Overlay_AnimationFade) String

func (x *Overlay_AnimationFade) String() string

Overlay_AnimationStatic

type Overlay_AnimationStatic struct {

	// Normalized coordinates based on output video resolution. Valid
	// values: `0.0`–`1.0`. `xy` is the upper-left coordinate of the overlay
	// object. 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.
	Xy *Overlay_NormalizedCoordinate `protobuf:"bytes,1,opt,name=xy,proto3" json:"xy,omitempty"`
	// The time to start displaying the overlay object, in seconds. Default: 0
	StartTimeOffset *durationpb.Duration `protobuf:"bytes,2,opt,name=start_time_offset,json=startTimeOffset,proto3" json:"start_time_offset,omitempty"`
	// contains filtered or unexported fields
}

Display static overlay object.

func (*Overlay_AnimationStatic) Descriptor

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

Deprecated: Use Overlay_AnimationStatic.ProtoReflect.Descriptor instead.

func (*Overlay_AnimationStatic) GetStartTimeOffset

func (x *Overlay_AnimationStatic) GetStartTimeOffset() *durationpb.Duration

func (*Overlay_AnimationStatic) GetXy

func (*Overlay_AnimationStatic) ProtoMessage

func (*Overlay_AnimationStatic) ProtoMessage()

func (*Overlay_AnimationStatic) ProtoReflect

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

func (*Overlay_AnimationStatic) Reset

func (x *Overlay_AnimationStatic) Reset()

func (*Overlay_AnimationStatic) String

func (x *Overlay_AnimationStatic) String() string

Overlay_Animation_AnimationEnd

type Overlay_Animation_AnimationEnd struct {
	// End previous animation.
	AnimationEnd *Overlay_AnimationEnd `protobuf:"bytes,3,opt,name=animation_end,json=animationEnd,proto3,oneof"`
}

Overlay_Animation_AnimationFade

type Overlay_Animation_AnimationFade struct {
	// Display overlay object with fade animation.
	AnimationFade *Overlay_AnimationFade `protobuf:"bytes,2,opt,name=animation_fade,json=animationFade,proto3,oneof"`
}

Overlay_Animation_AnimationStatic

type Overlay_Animation_AnimationStatic struct {
	// Display static overlay object.
	AnimationStatic *Overlay_AnimationStatic `protobuf:"bytes,1,opt,name=animation_static,json=animationStatic,proto3,oneof"`
}

Overlay_FadeType

type Overlay_FadeType int32

Fade type for the overlay: FADE_IN or FADE_OUT.

Overlay_FADE_TYPE_UNSPECIFIED, Overlay_FADE_IN, Overlay_FADE_OUT

const (
	// The fade type is not specified.
	Overlay_FADE_TYPE_UNSPECIFIED Overlay_FadeType = 0
	// Fade the overlay object into view.
	Overlay_FADE_IN Overlay_FadeType = 1
	// Fade the overlay object out of view.
	Overlay_FADE_OUT Overlay_FadeType = 2
)

func (Overlay_FadeType) Descriptor

func (Overlay_FadeType) Enum

func (Overlay_FadeType) EnumDescriptor

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

Deprecated: Use Overlay_FadeType.Descriptor instead.

func (Overlay_FadeType) Number

func (Overlay_FadeType) String

func (x Overlay_FadeType) String() string

func (Overlay_FadeType) Type

Overlay_Image

type Overlay_Image struct {

	// Required. URI of the image in Cloud Storage. For example,
	// `gs://bucket/inputs/image.png`. Only PNG and JPEG images are supported.
	Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"`
	// Normalized image resolution, based on output video resolution. Valid
	// values: `0.0`–`1.0`. To respect the original image aspect ratio, set
	// either `x` or `y` to `0.0`. To use the original image resolution, set
	// both `x` and `y` to `0.0`.
	Resolution *Overlay_NormalizedCoordinate `protobuf:"bytes,2,opt,name=resolution,proto3" json:"resolution,omitempty"`
	// 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`.
	Alpha float64 `protobuf:"fixed64,3,opt,name=alpha,proto3" json:"alpha,omitempty"`
	// contains filtered or unexported fields
}

Overlaid image.

func (*Overlay_Image) Descriptor

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

Deprecated: Use Overlay_Image.ProtoReflect.Descriptor instead.

func (*Overlay_Image) GetAlpha

func (x *Overlay_Image) GetAlpha() float64

func (*Overlay_Image) GetResolution

func (x *Overlay_Image) GetResolution() *Overlay_NormalizedCoordinate

func (*Overlay_Image) GetUri

func (x *Overlay_Image) GetUri() string

func (*Overlay_Image) ProtoMessage

func (*Overlay_Image) ProtoMessage()

func (*Overlay_Image) ProtoReflect

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

func (*Overlay_Image) Reset

func (x *Overlay_Image) Reset()

func (*Overlay_Image) String

func (x *Overlay_Image) String() string

Overlay_NormalizedCoordinate

type Overlay_NormalizedCoordinate struct {

	// Normalized x coordinate.
	X float64 `protobuf:"fixed64,1,opt,name=x,proto3" json:"x,omitempty"`
	// Normalized y coordinate.
	Y float64 `protobuf:"fixed64,2,opt,name=y,proto3" json:"y,omitempty"`
	// contains filtered or unexported fields
}

2D normalized coordinates. Default: {0.0, 0.0}

func (*Overlay_NormalizedCoordinate) Descriptor

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

Deprecated: Use Overlay_NormalizedCoordinate.ProtoReflect.Descriptor instead.

func (*Overlay_NormalizedCoordinate) GetX

func (*Overlay_NormalizedCoordinate) GetY

func (*Overlay_NormalizedCoordinate) ProtoMessage

func (*Overlay_NormalizedCoordinate) ProtoMessage()

func (*Overlay_NormalizedCoordinate) ProtoReflect

func (*Overlay_NormalizedCoordinate) Reset

func (x *Overlay_NormalizedCoordinate) Reset()

func (*Overlay_NormalizedCoordinate) String

PreprocessingConfig

type PreprocessingConfig struct {

	// Color preprocessing configuration.
	Color *PreprocessingConfig_Color `protobuf:"bytes,1,opt,name=color,proto3" json:"color,omitempty"`
	// Denoise preprocessing configuration.
	Denoise *PreprocessingConfig_Denoise `protobuf:"bytes,2,opt,name=denoise,proto3" json:"denoise,omitempty"`
	// Deblock preprocessing configuration.
	Deblock *PreprocessingConfig_Deblock `protobuf:"bytes,3,opt,name=deblock,proto3" json:"deblock,omitempty"`
	// Audio preprocessing configuration.
	Audio *PreprocessingConfig_Audio `protobuf:"bytes,4,opt,name=audio,proto3" json:"audio,omitempty"`
	// Specify the video cropping configuration.
	Crop *PreprocessingConfig_Crop `protobuf:"bytes,5,opt,name=crop,proto3" json:"crop,omitempty"`
	// Specify the video pad filter configuration.
	Pad *PreprocessingConfig_Pad `protobuf:"bytes,6,opt,name=pad,proto3" json:"pad,omitempty"`
	// Specify the video deinterlace configuration.
	Deinterlace *PreprocessingConfig_Deinterlace `protobuf:"bytes,7,opt,name=deinterlace,proto3" json:"deinterlace,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 (*PreprocessingConfig) GetColor

func (*PreprocessingConfig) GetCrop

func (*PreprocessingConfig) GetDeblock

func (*PreprocessingConfig) GetDeinterlace

func (*PreprocessingConfig) GetDenoise

func (*PreprocessingConfig) GetPad

func (*PreprocessingConfig) ProtoMessage

func (*PreprocessingConfig) ProtoMessage()

func (*PreprocessingConfig) ProtoReflect

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

func (*PreprocessingConfig) Reset

func (x *PreprocessingConfig) Reset()

func (*PreprocessingConfig) String

func (x *PreprocessingConfig) String() string

PreprocessingConfig_Audio

type PreprocessingConfig_Audio struct {

	// Specify audio loudness normalization in loudness units relative to full
	// scale (LUFS). Enter a value between -24 and 0 (the default), where:
	//
	// *   -24 is the Advanced Television Systems Committee (ATSC A/85) standard
	// *   -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
	Lufs float64 `protobuf:"fixed64,1,opt,name=lufs,proto3" json:"lufs,omitempty"`
	// Enable boosting high frequency components. The default is `false`.
	//
	// **Note:** This field is not supported.
	HighBoost bool `protobuf:"varint,2,opt,name=high_boost,json=highBoost,proto3" json:"high_boost,omitempty"`
	// Enable boosting low frequency components. The default is `false`.
	//
	// **Note:** This field is not supported.
	LowBoost bool `protobuf:"varint,3,opt,name=low_boost,json=lowBoost,proto3" json:"low_boost,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) GetHighBoost

func (x *PreprocessingConfig_Audio) GetHighBoost() bool

func (*PreprocessingConfig_Audio) GetLowBoost

func (x *PreprocessingConfig_Audio) GetLowBoost() bool

func (*PreprocessingConfig_Audio) GetLufs

func (x *PreprocessingConfig_Audio) GetLufs() float64

func (*PreprocessingConfig_Audio) ProtoMessage

func (*PreprocessingConfig_Audio) ProtoMessage()

func (*PreprocessingConfig_Audio) ProtoReflect

func (*PreprocessingConfig_Audio) Reset

func (x *PreprocessingConfig_Audio) Reset()

func (*PreprocessingConfig_Audio) String

func (x *PreprocessingConfig_Audio) String() string

PreprocessingConfig_Color

type PreprocessingConfig_Color struct {

	// Control color saturation of the video. Enter a value between -1 and 1,
	// where -1 is fully desaturated and 1 is maximum saturation. 0 is no
	// change. The default is 0.
	Saturation float64 `protobuf:"fixed64,1,opt,name=saturation,proto3" json:"saturation,omitempty"`
	// Control black and white contrast of the video. Enter a value between -1
	// and 1, where -1 is minimum contrast and 1 is maximum contrast. 0 is no
	// change. The default is 0.
	Contrast float64 `protobuf:"fixed64,2,opt,name=contrast,proto3" json:"contrast,omitempty"`
	// Control brightness of the video. Enter a value between -1 and 1, where -1
	// is minimum brightness and 1 is maximum brightness. 0 is no change. The
	// default is 0.
	Brightness float64 `protobuf:"fixed64,3,opt,name=brightness,proto3" json:"brightness,omitempty"`
	// contains filtered or unexported fields
}

Color preprocessing configuration.

Note: This configuration is not supported.

func (*PreprocessingConfig_Color) Descriptor

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

Deprecated: Use PreprocessingConfig_Color.ProtoReflect.Descriptor instead.

func (*PreprocessingConfig_Color) GetBrightness

func (x *PreprocessingConfig_Color) GetBrightness() float64

func (*PreprocessingConfig_Color) GetContrast

func (x *PreprocessingConfig_Color) GetContrast() float64

func (*PreprocessingConfig_Color) GetSaturation