genproto: google.golang.org/genproto/googleapis/cloud/video/transcoder/v1beta1 Index | Files

package transcoder

import "google.golang.org/genproto/googleapis/cloud/video/transcoder/v1beta1"

Index

Package Files

resources.pb.go services.pb.go

Variables

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.

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.

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.

var File_google_cloud_video_transcoder_v1beta1_resources_proto protoreflect.FileDescriptor
var File_google_cloud_video_transcoder_v1beta1_services_proto protoreflect.FileDescriptor

func RegisterTranscoderServiceServer Uses

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

type AdBreak Uses

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 Uses

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

Deprecated: Use AdBreak.ProtoReflect.Descriptor instead.

func (*AdBreak) GetStartTimeOffset Uses

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

func (*AdBreak) ProtoMessage Uses

func (*AdBreak) ProtoMessage()

func (*AdBreak) ProtoReflect Uses

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

func (*AdBreak) Reset Uses

func (x *AdBreak) Reset()

func (*AdBreak) String Uses

func (x *AdBreak) String() string

type AudioStream Uses

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_AudioAtom `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 Uses

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

Deprecated: Use AudioStream.ProtoReflect.Descriptor instead.

func (*AudioStream) GetBitrateBps Uses

func (x *AudioStream) GetBitrateBps() int32

func (*AudioStream) GetChannelCount Uses

func (x *AudioStream) GetChannelCount() int32

func (*AudioStream) GetChannelLayout Uses

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

func (*AudioStream) GetCodec Uses

func (x *AudioStream) GetCodec() string

func (*AudioStream) GetMapping Uses

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

func (*AudioStream) GetSampleRateHertz Uses

func (x *AudioStream) GetSampleRateHertz() int32

func (*AudioStream) ProtoMessage Uses

func (*AudioStream) ProtoMessage()

func (*AudioStream) ProtoReflect Uses

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

func (*AudioStream) Reset Uses

func (x *AudioStream) Reset()

func (*AudioStream) String Uses

func (x *AudioStream) String() string

type AudioStream_AudioAtom Uses

type AudioStream_AudioAtom struct {

    // Required. The `EditAtom.key` that references the atom with audio inputs in the
    // `Job.edit_list`.
    Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
    // List of `Channel`s for this audio stream.
    // for in-depth explanation.
    Channels []*AudioStream_AudioAtom_AudioChannel `protobuf:"bytes,2,rep,name=channels,proto3" json:"channels,omitempty"`
    // contains filtered or unexported fields
}

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

func (*AudioStream_AudioAtom) Descriptor Uses

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

Deprecated: Use AudioStream_AudioAtom.ProtoReflect.Descriptor instead.

func (*AudioStream_AudioAtom) GetChannels Uses

func (x *AudioStream_AudioAtom) GetChannels() []*AudioStream_AudioAtom_AudioChannel

func (*AudioStream_AudioAtom) GetKey Uses

func (x *AudioStream_AudioAtom) GetKey() string

func (*AudioStream_AudioAtom) ProtoMessage Uses

func (*AudioStream_AudioAtom) ProtoMessage()

func (*AudioStream_AudioAtom) ProtoReflect Uses

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

func (*AudioStream_AudioAtom) Reset Uses

func (x *AudioStream_AudioAtom) Reset()

func (*AudioStream_AudioAtom) String Uses

func (x *AudioStream_AudioAtom) String() string

type AudioStream_AudioAtom_AudioChannel Uses

type AudioStream_AudioAtom_AudioChannel struct {

    // List of `Job.inputs` for this audio channel.
    Inputs []*AudioStream_AudioAtom_AudioChannel_AudioChannelInput `protobuf:"bytes,2,rep,name=inputs,proto3" json:"inputs,omitempty"`
    // contains filtered or unexported fields
}

The audio channel.

func (*AudioStream_AudioAtom_AudioChannel) Descriptor Uses

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

Deprecated: Use AudioStream_AudioAtom_AudioChannel.ProtoReflect.Descriptor instead.

func (*AudioStream_AudioAtom_AudioChannel) GetInputs Uses

func (x *AudioStream_AudioAtom_AudioChannel) GetInputs() []*AudioStream_AudioAtom_AudioChannel_AudioChannelInput

func (*AudioStream_AudioAtom_AudioChannel) ProtoMessage Uses

func (*AudioStream_AudioAtom_AudioChannel) ProtoMessage()

func (*AudioStream_AudioAtom_AudioChannel) ProtoReflect Uses

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

func (*AudioStream_AudioAtom_AudioChannel) Reset Uses

func (x *AudioStream_AudioAtom_AudioChannel) Reset()

func (*AudioStream_AudioAtom_AudioChannel) String Uses

func (x *AudioStream_AudioAtom_AudioChannel) String() string

type AudioStream_AudioAtom_AudioChannel_AudioChannelInput Uses

type AudioStream_AudioAtom_AudioChannel_AudioChannelInput struct {

    // Required. The `Input.key` that identifies the input file.
    Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
    // Required. The zero-based index of the track in the input file.
    Track int32 `protobuf:"varint,2,opt,name=track,proto3" json:"track,omitempty"`
    // Required. The zero-based index of the channel in the input file.
    Channel int32 `protobuf:"varint,3,opt,name=channel,proto3" json:"channel,omitempty"`
    // Audio volume control in dB. Negative values decrease volume,
    // positive values increase. The default is 0.
    GainDb float64 `protobuf:"fixed64,4,opt,name=gain_db,json=gainDb,proto3" json:"gain_db,omitempty"`
    // contains filtered or unexported fields
}

Identifies which input file, track, and channel should be used.

func (*AudioStream_AudioAtom_AudioChannel_AudioChannelInput) Descriptor Uses

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

Deprecated: Use AudioStream_AudioAtom_AudioChannel_AudioChannelInput.ProtoReflect.Descriptor instead.

func (*AudioStream_AudioAtom_AudioChannel_AudioChannelInput) GetChannel Uses

func (x *AudioStream_AudioAtom_AudioChannel_AudioChannelInput) GetChannel() int32

func (*AudioStream_AudioAtom_AudioChannel_AudioChannelInput) GetGainDb Uses

func (x *AudioStream_AudioAtom_AudioChannel_AudioChannelInput) GetGainDb() float64

func (*AudioStream_AudioAtom_AudioChannel_AudioChannelInput) GetKey Uses

func (x *AudioStream_AudioAtom_AudioChannel_AudioChannelInput) GetKey() string

func (*AudioStream_AudioAtom_AudioChannel_AudioChannelInput) GetTrack Uses

func (x *AudioStream_AudioAtom_AudioChannel_AudioChannelInput) GetTrack() int32

func (*AudioStream_AudioAtom_AudioChannel_AudioChannelInput) ProtoMessage Uses

func (*AudioStream_AudioAtom_AudioChannel_AudioChannelInput) ProtoMessage()

func (*AudioStream_AudioAtom_AudioChannel_AudioChannelInput) ProtoReflect Uses

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

func (*AudioStream_AudioAtom_AudioChannel_AudioChannelInput) Reset Uses

func (x *AudioStream_AudioAtom_AudioChannel_AudioChannelInput) Reset()

func (*AudioStream_AudioAtom_AudioChannel_AudioChannelInput) String Uses

func (x *AudioStream_AudioAtom_AudioChannel_AudioChannelInput) String() string

type CreateJobRequest Uses

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 Uses

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

Deprecated: Use CreateJobRequest.ProtoReflect.Descriptor instead.

func (*CreateJobRequest) GetJob Uses

func (x *CreateJobRequest) GetJob() *Job

func (*CreateJobRequest) GetParent Uses

func (x *CreateJobRequest) GetParent() string

func (*CreateJobRequest) ProtoMessage Uses

func (*CreateJobRequest) ProtoMessage()

func (*CreateJobRequest) ProtoReflect Uses

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

func (*CreateJobRequest) Reset Uses

func (x *CreateJobRequest) Reset()

func (*CreateJobRequest) String Uses

func (x *CreateJobRequest) String() string

type CreateJobTemplateRequest Uses

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 Uses

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

Deprecated: Use CreateJobTemplateRequest.ProtoReflect.Descriptor instead.

func (*CreateJobTemplateRequest) GetJobTemplate Uses

func (x *CreateJobTemplateRequest) GetJobTemplate() *JobTemplate

func (*CreateJobTemplateRequest) GetJobTemplateId Uses

func (x *CreateJobTemplateRequest) GetJobTemplateId() string

func (*CreateJobTemplateRequest) GetParent Uses

func (x *CreateJobTemplateRequest) GetParent() string

func (*CreateJobTemplateRequest) ProtoMessage Uses

func (*CreateJobTemplateRequest) ProtoMessage()

func (*CreateJobTemplateRequest) ProtoReflect Uses

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

func (*CreateJobTemplateRequest) Reset Uses

func (x *CreateJobTemplateRequest) Reset()

func (*CreateJobTemplateRequest) String Uses

func (x *CreateJobTemplateRequest) String() string

type DeleteJobRequest Uses

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"`
    // contains filtered or unexported fields
}

Request message for `TranscoderService.DeleteJob`.

func (*DeleteJobRequest) Descriptor Uses

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

Deprecated: Use DeleteJobRequest.ProtoReflect.Descriptor instead.

func (*DeleteJobRequest) GetName Uses

func (x *DeleteJobRequest) GetName() string

func (*DeleteJobRequest) ProtoMessage Uses

func (*DeleteJobRequest) ProtoMessage()

func (*DeleteJobRequest) ProtoReflect Uses

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

func (*DeleteJobRequest) Reset Uses

func (x *DeleteJobRequest) Reset()

func (*DeleteJobRequest) String Uses

func (x *DeleteJobRequest) String() string

type DeleteJobTemplateRequest Uses

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"`
    // contains filtered or unexported fields
}

Request message for `TranscoderService.DeleteJobTemplate`.

func (*DeleteJobTemplateRequest) Descriptor Uses

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

Deprecated: Use DeleteJobTemplateRequest.ProtoReflect.Descriptor instead.

func (*DeleteJobTemplateRequest) GetName Uses

func (x *DeleteJobTemplateRequest) GetName() string

func (*DeleteJobTemplateRequest) ProtoMessage Uses

func (*DeleteJobTemplateRequest) ProtoMessage()

func (*DeleteJobTemplateRequest) ProtoReflect Uses

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

func (*DeleteJobTemplateRequest) Reset Uses

func (x *DeleteJobTemplateRequest) Reset()

func (*DeleteJobTemplateRequest) String Uses

func (x *DeleteJobTemplateRequest) String() string

type EditAtom Uses

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 Uses

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

Deprecated: Use EditAtom.ProtoReflect.Descriptor instead.

func (*EditAtom) GetEndTimeOffset Uses

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

func (*EditAtom) GetInputs Uses

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

func (*EditAtom) GetKey Uses

func (x *EditAtom) GetKey() string

func (*EditAtom) GetStartTimeOffset Uses

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

func (*EditAtom) ProtoMessage Uses

func (*EditAtom) ProtoMessage()

func (*EditAtom) ProtoReflect Uses

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

func (*EditAtom) Reset Uses

func (x *EditAtom) Reset()

func (*EditAtom) String Uses

func (x *EditAtom) String() string

type ElementaryStream Uses

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 Uses

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

Deprecated: Use ElementaryStream.ProtoReflect.Descriptor instead.

func (*ElementaryStream) GetAudioStream Uses

func (x *ElementaryStream) GetAudioStream() *AudioStream

func (*ElementaryStream) GetElementaryStream Uses

func (m *ElementaryStream) GetElementaryStream() isElementaryStream_ElementaryStream

func (*ElementaryStream) GetKey Uses

func (x *ElementaryStream) GetKey() string

func (*ElementaryStream) GetTextStream Uses

func (x *ElementaryStream) GetTextStream() *TextStream

func (*ElementaryStream) GetVideoStream Uses

func (x *ElementaryStream) GetVideoStream() *VideoStream

func (*ElementaryStream) ProtoMessage Uses

func (*ElementaryStream) ProtoMessage()

func (*ElementaryStream) ProtoReflect Uses

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

func (*ElementaryStream) Reset Uses

func (x *ElementaryStream) Reset()

func (*ElementaryStream) String Uses

func (x *ElementaryStream) String() string

type ElementaryStream_AudioStream Uses

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

type ElementaryStream_TextStream Uses

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

type ElementaryStream_VideoStream Uses

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

type Encryption Uses

type Encryption struct {

    // Required. 128 bit encryption key represented as lowercase hexadecimal digits.
    Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
    // Required. 128 bit Initialization Vector (IV) represented as lowercase hexadecimal
    // digits.
    Iv  string `protobuf:"bytes,2,opt,name=iv,proto3" json:"iv,omitempty"`
    // Encryption mode can be either `aes` or `cenc`.
    //
    // Types that are assignable to EncryptionMode:
    //	*Encryption_Aes_128
    //	*Encryption_SampleAes
    //	*Encryption_MpegCenc
    EncryptionMode isEncryption_EncryptionMode `protobuf_oneof:"encryption_mode"`
    // contains filtered or unexported fields
}

Encryption settings.

func (*Encryption) Descriptor Uses

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

Deprecated: Use Encryption.ProtoReflect.Descriptor instead.

func (*Encryption) GetAes_128 Uses

func (x *Encryption) GetAes_128() *Encryption_Aes128Encryption

func (*Encryption) GetEncryptionMode Uses

func (m *Encryption) GetEncryptionMode() isEncryption_EncryptionMode

func (*Encryption) GetIv Uses

func (x *Encryption) GetIv() string

func (*Encryption) GetKey Uses

func (x *Encryption) GetKey() string

func (*Encryption) GetMpegCenc Uses

func (x *Encryption) GetMpegCenc() *Encryption_MpegCommonEncryption

func (*Encryption) GetSampleAes Uses

func (x *Encryption) GetSampleAes() *Encryption_SampleAesEncryption

func (*Encryption) ProtoMessage Uses

func (*Encryption) ProtoMessage()

func (*Encryption) ProtoReflect Uses

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

func (*Encryption) Reset Uses

func (x *Encryption) Reset()

func (*Encryption) String Uses

func (x *Encryption) String() string

type Encryption_Aes128Encryption Uses

type Encryption_Aes128Encryption struct {

    // Required. URI of the key delivery service. This URI is inserted into the M3U8
    // header.
    KeyUri string `protobuf:"bytes,1,opt,name=key_uri,json=keyUri,proto3" json:"key_uri,omitempty"`
    // contains filtered or unexported fields
}

Configuration for AES-128 encryption.

func (*Encryption_Aes128Encryption) Descriptor Uses

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

Deprecated: Use Encryption_Aes128Encryption.ProtoReflect.Descriptor instead.

func (*Encryption_Aes128Encryption) GetKeyUri Uses

func (x *Encryption_Aes128Encryption) GetKeyUri() string

func (*Encryption_Aes128Encryption) ProtoMessage Uses

func (*Encryption_Aes128Encryption) ProtoMessage()

func (*Encryption_Aes128Encryption) ProtoReflect Uses

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

func (*Encryption_Aes128Encryption) Reset Uses

func (x *Encryption_Aes128Encryption) Reset()

func (*Encryption_Aes128Encryption) String Uses

func (x *Encryption_Aes128Encryption) String() string

type Encryption_Aes_128 Uses

type Encryption_Aes_128 struct {
    // Configuration for AES-128 encryption.
    Aes_128 *Encryption_Aes128Encryption `protobuf:"bytes,3,opt,name=aes_128,json=aes128,proto3,oneof"`
}

type Encryption_MpegCenc Uses

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

type Encryption_MpegCommonEncryption Uses

type Encryption_MpegCommonEncryption struct {

    // Required. 128 bit Key ID represented as lowercase hexadecimal digits for use with
    // common encryption.
    KeyId string `protobuf:"bytes,1,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"`
    // Required. Specify the encryption scheme.
    //
    // Supported encryption schemes:
    // - 'cenc'
    // - 'cbcs'
    Scheme string `protobuf:"bytes,2,opt,name=scheme,proto3" json:"scheme,omitempty"`
    // contains filtered or unexported fields
}

Configuration for MPEG Common Encryption (MPEG-CENC).

func (*Encryption_MpegCommonEncryption) Descriptor Uses

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

Deprecated: Use Encryption_MpegCommonEncryption.ProtoReflect.Descriptor instead.

func (*Encryption_MpegCommonEncryption) GetKeyId Uses

func (x *Encryption_MpegCommonEncryption) GetKeyId() string

func (*Encryption_MpegCommonEncryption) GetScheme Uses

func (x *Encryption_MpegCommonEncryption) GetScheme() string

func (*Encryption_MpegCommonEncryption) ProtoMessage Uses

func (*Encryption_MpegCommonEncryption) ProtoMessage()

func (*Encryption_MpegCommonEncryption) ProtoReflect Uses

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

func (*Encryption_MpegCommonEncryption) Reset Uses

func (x *Encryption_MpegCommonEncryption) Reset()

func (*Encryption_MpegCommonEncryption) String Uses

func (x *Encryption_MpegCommonEncryption) String() string

type Encryption_SampleAes Uses

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

type Encryption_SampleAesEncryption Uses

type Encryption_SampleAesEncryption struct {

    // Required. URI of the key delivery service. This URI is inserted into the M3U8
    // header.
    KeyUri string `protobuf:"bytes,1,opt,name=key_uri,json=keyUri,proto3" json:"key_uri,omitempty"`
    // contains filtered or unexported fields
}

Configuration for SAMPLE-AES encryption.

func (*Encryption_SampleAesEncryption) Descriptor Uses

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

Deprecated: Use Encryption_SampleAesEncryption.ProtoReflect.Descriptor instead.

func (*Encryption_SampleAesEncryption) GetKeyUri Uses

func (x *Encryption_SampleAesEncryption) GetKeyUri() string

func (*Encryption_SampleAesEncryption) ProtoMessage Uses

func (*Encryption_SampleAesEncryption) ProtoMessage()

func (*Encryption_SampleAesEncryption) ProtoReflect Uses

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

func (*Encryption_SampleAesEncryption) Reset Uses

func (x *Encryption_SampleAesEncryption) Reset()

func (*Encryption_SampleAesEncryption) String Uses

func (x *Encryption_SampleAesEncryption) String() string

type FailureDetail Uses

type FailureDetail struct {

    // A description of the failure.
    Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"`
    // contains filtered or unexported fields
}

Additional information about the reasons for the failure.

func (*FailureDetail) Descriptor Uses

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

Deprecated: Use FailureDetail.ProtoReflect.Descriptor instead.

func (*FailureDetail) GetDescription Uses

func (x *FailureDetail) GetDescription() string

func (*FailureDetail) ProtoMessage Uses

func (*FailureDetail) ProtoMessage()

func (*FailureDetail) ProtoReflect Uses

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

func (*FailureDetail) Reset Uses

func (x *FailureDetail) Reset()

func (*FailureDetail) String Uses

func (x *FailureDetail) String() string

type GetJobRequest Uses

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 Uses

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

Deprecated: Use GetJobRequest.ProtoReflect.Descriptor instead.

func (*GetJobRequest) GetName Uses

func (x *GetJobRequest) GetName() string

func (*GetJobRequest) ProtoMessage Uses

func (*GetJobRequest) ProtoMessage()

func (*GetJobRequest) ProtoReflect Uses

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

func (*GetJobRequest) Reset Uses

func (x *GetJobRequest) Reset()

func (*GetJobRequest) String Uses

func (x *GetJobRequest) String() string

type GetJobTemplateRequest Uses

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 Uses

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

Deprecated: Use GetJobTemplateRequest.ProtoReflect.Descriptor instead.

func (*GetJobTemplateRequest) GetName Uses

func (x *GetJobTemplateRequest) GetName() string

func (*GetJobTemplateRequest) ProtoMessage Uses

func (*GetJobTemplateRequest) ProtoMessage()

func (*GetJobTemplateRequest) ProtoReflect Uses

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

func (*GetJobTemplateRequest) Reset Uses

func (x *GetJobTemplateRequest) Reset()

func (*GetJobTemplateRequest) String Uses

func (x *GetJobTemplateRequest) String() string

type Input Uses

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. It must be stored in Cloud Storage. Example
    // `gs://bucket/inputs/file.mp4`.
    // If empty the value will be populated from `Job.input_uri`.
    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 Uses

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

Deprecated: Use Input.ProtoReflect.Descriptor instead.

func (*Input) GetKey Uses

func (x *Input) GetKey() string

func (*Input) GetPreprocessingConfig Uses

func (x *Input) GetPreprocessingConfig() *PreprocessingConfig

func (*Input) GetUri Uses

func (x *Input) GetUri() string

func (*Input) ProtoMessage Uses

func (*Input) ProtoMessage()

func (*Input) ProtoReflect Uses

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

func (*Input) Reset Uses

func (x *Input) Reset()

func (*Input) String Uses

func (x *Input) String() string

type Job Uses

type Job struct {

    // The resource name of the job.
    // Format: `projects/{project}/locations/{location}/jobs/{job}`
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // Input only. Specify the `input_uri` to populate empty `uri` fields in each element of
    // `Job.config.inputs` or `JobTemplate.config.inputs` when using template.
    // URI of the media. It must be stored in Cloud Storage. For example,
    // `gs://bucket/inputs/file.mp4`.
    InputUri string `protobuf:"bytes,2,opt,name=input_uri,json=inputUri,proto3" json:"input_uri,omitempty"`
    // Input only. Specify the `output_uri` to populate an empty `Job.config.output.uri` or
    // `JobTemplate.config.output.uri` when using template.
    // URI for the output file(s). For example, `gs://my-bucket/outputs/`.
    OutputUri string `protobuf:"bytes,3,opt,name=output_uri,json=outputUri,proto3" json:"output_uri,omitempty"`
    // Specify the `job_config` for transcoding job. When you use a `template_id`
    // to create a job, the `Job.config` is populated by the `JobTemplate.config`.
    //
    // Types that are assignable to JobConfig:
    //	*Job_TemplateId
    //	*Job_Config
    JobConfig isJob_JobConfig `protobuf_oneof:"job_config"`
    // Specify the priority of the job. Enter a value between 0 and 100, where 0
    // is the lowest priority and 100 is the highest priority. The default is 0.
    Priority int32 `protobuf:"varint,6,opt,name=priority,proto3" json:"priority,omitempty"`
    // Output only. The origin URI.
    OriginUri *Job_OriginUri `protobuf:"bytes,7,opt,name=origin_uri,json=originUri,proto3" json:"origin_uri,omitempty"`
    // Output only. The current state of the job.
    State Job_ProcessingState `protobuf:"varint,8,opt,name=state,proto3,enum=google.cloud.video.transcoder.v1beta1.Job_ProcessingState" json:"state,omitempty"`
    // Output only. Estimated fractional progress, from `0` to `1` for each
    // step.
    Progress *Progress `protobuf:"bytes,9,opt,name=progress,proto3" json:"progress,omitempty"`
    // Output only. A description of the reason for the failure. This property is
    // always present when `state` is `FAILED`.
    FailureReason string `protobuf:"bytes,10,opt,name=failure_reason,json=failureReason,proto3" json:"failure_reason,omitempty"`
    // Output only. List of failure details. This property may contain additional
    // information about the failure when `failure_reason` is present.
    FailureDetails []*FailureDetail `protobuf:"bytes,11,rep,name=failure_details,json=failureDetails,proto3" json:"failure_details,omitempty"`
    // Output only. The time the job was created.
    CreateTime *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
    // Output only. The time the transcoding started.
    StartTime *timestamppb.Timestamp `protobuf:"bytes,13,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
    // Output only. The time the transcoding finished.
    EndTime *timestamppb.Timestamp `protobuf:"bytes,14,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
    // contains filtered or unexported fields
}

Transcoding job resource.

func (*Job) Descriptor Uses

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

Deprecated: Use Job.ProtoReflect.Descriptor instead.

func (*Job) GetConfig Uses

func (x *Job) GetConfig() *JobConfig

func (*Job) GetCreateTime Uses

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

func (*Job) GetEndTime Uses

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

func (*Job) GetFailureDetails Uses

func (x *Job) GetFailureDetails() []*FailureDetail

func (*Job) GetFailureReason Uses

func (x *Job) GetFailureReason() string

func (*Job) GetInputUri Uses

func (x *Job) GetInputUri() string

func (*Job) GetJobConfig Uses

func (m *Job) GetJobConfig() isJob_JobConfig

func (*Job) GetName Uses

func (x *Job) GetName() string

func (*Job) GetOriginUri Uses

func (x *Job) GetOriginUri() *Job_OriginUri

func (*Job) GetOutputUri Uses

func (x *Job) GetOutputUri() string

func (*Job) GetPriority Uses

func (x *Job) GetPriority() int32

func (*Job) GetProgress Uses

func (x *Job) GetProgress() *Progress

func (*Job) GetStartTime Uses

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

func (*Job) GetState Uses

func (x *Job) GetState() Job_ProcessingState

func (*Job) GetTemplateId Uses

func (x *Job) GetTemplateId() string

func (*Job) ProtoMessage Uses

func (*Job) ProtoMessage()

func (*Job) ProtoReflect Uses

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

func (*Job) Reset Uses

func (x *Job) Reset()

func (*Job) String Uses

func (x *Job) String() string

type JobConfig Uses

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 []*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 Uses

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

Deprecated: Use JobConfig.ProtoReflect.Descriptor instead.

func (*JobConfig) GetAdBreaks Uses

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

func (*JobConfig) GetEditList Uses

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

func (*JobConfig) GetElementaryStreams Uses

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

func (*JobConfig) GetInputs Uses

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

func (*JobConfig) GetManifests Uses

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

func (*JobConfig) GetMuxStreams Uses

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

func (*JobConfig) GetOutput Uses

func (x *JobConfig) GetOutput() *Output

func (*JobConfig) GetOverlays Uses

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

func (*JobConfig) GetPubsubDestination Uses

func (x *JobConfig) GetPubsubDestination() *PubsubDestination

func (*JobConfig) GetSpriteSheets Uses

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

func (*JobConfig) ProtoMessage Uses

func (*JobConfig) ProtoMessage()

func (*JobConfig) ProtoReflect Uses

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

func (*JobConfig) Reset Uses

func (x *JobConfig) Reset()

func (*JobConfig) String Uses

func (x *JobConfig) String() string

type JobTemplate Uses

type JobTemplate struct {

    // The resource name of the job template.
    // Format:
    // `projects/{project}/locations/{location}/jobTemplates/{job_template}`
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // The configuration for this template.
    Config *JobConfig `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"`
    // contains filtered or unexported fields
}

Transcoding job template resource.

func (*JobTemplate) Descriptor Uses

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

Deprecated: Use JobTemplate.ProtoReflect.Descriptor instead.

func (*JobTemplate) GetConfig Uses

func (x *JobTemplate) GetConfig() *JobConfig

func (*JobTemplate) GetName Uses

func (x *JobTemplate) GetName() string

func (*JobTemplate) ProtoMessage Uses

func (*JobTemplate) ProtoMessage()

func (*JobTemplate) ProtoReflect Uses

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

func (*JobTemplate) Reset Uses

func (x *JobTemplate) Reset()

func (*JobTemplate) String Uses

func (x *JobTemplate) String() string

type Job_Config Uses

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

type Job_OriginUri Uses

type Job_OriginUri struct {

    // HLS master manifest URI. If multiple HLS master manifests are created
    // only first one is listed.
    Hls string `protobuf:"bytes,1,opt,name=hls,proto3" json:"hls,omitempty"`
    // Dash manifest URI. If multiple Dash manifests are created, only the first
    // one is listed.
    Dash string `protobuf:"bytes,2,opt,name=dash,proto3" json:"dash,omitempty"`
    // contains filtered or unexported fields
}

The origin URI.

func (*Job_OriginUri) Descriptor Uses

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

Deprecated: Use Job_OriginUri.ProtoReflect.Descriptor instead.

func (*Job_OriginUri) GetDash Uses

func (x *Job_OriginUri) GetDash() string

func (*Job_OriginUri) GetHls Uses

func (x *Job_OriginUri) GetHls() string

func (*Job_OriginUri) ProtoMessage Uses

func (*Job_OriginUri) ProtoMessage()

func (*Job_OriginUri) ProtoReflect Uses

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

func (*Job_OriginUri) Reset Uses

func (x *Job_OriginUri) Reset()

func (*Job_OriginUri) String Uses

func (x *Job_OriginUri) String() string

type Job_ProcessingState Uses

type Job_ProcessingState int32

The current state of the job.

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 Uses

func (Job_ProcessingState) Descriptor() protoreflect.EnumDescriptor

func (Job_ProcessingState) Enum Uses

func (x Job_ProcessingState) Enum() *Job_ProcessingState

func (Job_ProcessingState) EnumDescriptor Uses

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

Deprecated: Use Job_ProcessingState.Descriptor instead.

func (Job_ProcessingState) Number Uses

func (x Job_ProcessingState) Number() protoreflect.EnumNumber

func (Job_ProcessingState) String Uses

func (x Job_ProcessingState) String() string

func (Job_ProcessingState) Type Uses

func (Job_ProcessingState) Type() protoreflect.EnumType

type Job_TemplateId Uses

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

type ListJobTemplatesRequest Uses

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"`
    // contains filtered or unexported fields
}

Request message for `TranscoderService.ListJobTemplates`.

func (*ListJobTemplatesRequest) Descriptor Uses

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

Deprecated: Use ListJobTemplatesRequest.ProtoReflect.Descriptor instead.

func (*ListJobTemplatesRequest) GetPageSize Uses

func (x *ListJobTemplatesRequest) GetPageSize() int32

func (*ListJobTemplatesRequest) GetPageToken Uses

func (x *ListJobTemplatesRequest) GetPageToken() string

func (*ListJobTemplatesRequest) GetParent Uses

func (x *ListJobTemplatesRequest) GetParent() string

func (*ListJobTemplatesRequest) ProtoMessage Uses

func (*ListJobTemplatesRequest) ProtoMessage()

func (*ListJobTemplatesRequest) ProtoReflect Uses

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

func (*ListJobTemplatesRequest) Reset Uses

func (x *ListJobTemplatesRequest) Reset()

func (*ListJobTemplatesRequest) String Uses

func (x *ListJobTemplatesRequest) String() string

type ListJobTemplatesResponse Uses

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"`
    // contains filtered or unexported fields
}

Response message for `TranscoderService.ListJobTemplates`.

func (*ListJobTemplatesResponse) Descriptor Uses

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

Deprecated: Use ListJobTemplatesResponse.ProtoReflect.Descriptor instead.

func (*ListJobTemplatesResponse) GetJobTemplates Uses

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

func (*ListJobTemplatesResponse) GetNextPageToken Uses

func (x *ListJobTemplatesResponse) GetNextPageToken() string

func (*ListJobTemplatesResponse) ProtoMessage Uses

func (*ListJobTemplatesResponse) ProtoMessage()

func (*ListJobTemplatesResponse) ProtoReflect Uses

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

func (*ListJobTemplatesResponse) Reset Uses

func (x *ListJobTemplatesResponse) Reset()

func (*ListJobTemplatesResponse) String Uses

func (x *ListJobTemplatesResponse) String() string

type ListJobsRequest Uses

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"`
    // contains filtered or unexported fields
}

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

func (*ListJobsRequest) Descriptor Uses

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

Deprecated: Use ListJobsRequest.ProtoReflect.Descriptor instead.

func (*ListJobsRequest) GetPageSize Uses

func (x *ListJobsRequest) GetPageSize() int32

func (*ListJobsRequest) GetPageToken Uses

func (x *ListJobsRequest) GetPageToken() string

func (*ListJobsRequest) GetParent Uses

func (x *ListJobsRequest) GetParent() string

func (*ListJobsRequest) ProtoMessage Uses

func (*ListJobsRequest) ProtoMessage()

func (*ListJobsRequest) ProtoReflect Uses

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

func (*ListJobsRequest) Reset Uses

func (x *ListJobsRequest) Reset()

func (*ListJobsRequest) String Uses

func (x *ListJobsRequest) String() string

type ListJobsResponse Uses

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"`
    // contains filtered or unexported fields
}

Response message for `TranscoderService.ListJobs`.

func (*ListJobsResponse) Descriptor Uses

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

Deprecated: Use ListJobsResponse.ProtoReflect.Descriptor instead.

func (*ListJobsResponse) GetJobs Uses

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

func (*ListJobsResponse) GetNextPageToken Uses

func (x *ListJobsResponse) GetNextPageToken() string

func (*ListJobsResponse) ProtoMessage Uses

func (*ListJobsResponse) ProtoMessage()

func (*ListJobsResponse) ProtoReflect Uses

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

func (*ListJobsResponse) Reset Uses

func (x *ListJobsResponse) Reset()

func (*ListJobsResponse) String Uses

func (x *ListJobsResponse) String() string

type Manifest Uses

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.v1beta1.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 Uses

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

Deprecated: Use Manifest.ProtoReflect.Descriptor instead.

func (*Manifest) GetFileName Uses

func (x *Manifest) GetFileName() string

func (*Manifest) GetMuxStreams Uses

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

func (*Manifest) GetType Uses

func (x *Manifest) GetType() Manifest_ManifestType

func (*Manifest) ProtoMessage Uses

func (*Manifest) ProtoMessage()

func (*Manifest) ProtoReflect Uses

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

func (*Manifest) Reset Uses

func (x *Manifest) Reset()

func (*Manifest) String Uses

func (x *Manifest) String() string

type Manifest_ManifestType Uses

type Manifest_ManifestType int32

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

const (
    // The manifest type is not specified.
    Manifest_MANIFEST_TYPE_UNSPECIFIED Manifest_ManifestType = 0
    // Create `"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 Uses

func (Manifest_ManifestType) Descriptor() protoreflect.EnumDescriptor

func (Manifest_ManifestType) Enum Uses

func (x Manifest_ManifestType) Enum() *Manifest_ManifestType

func (Manifest_ManifestType) EnumDescriptor Uses

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

Deprecated: Use Manifest_ManifestType.Descriptor instead.

func (Manifest_ManifestType) Number Uses

func (x Manifest_ManifestType) Number() protoreflect.EnumNumber

func (Manifest_ManifestType) String Uses

func (x Manifest_ManifestType) String() string

func (Manifest_ManifestType) Type Uses

func (Manifest_ManifestType) Type() protoreflect.EnumType

type MuxStream Uses

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'
    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"`
    // Encryption settings.
    Encryption *Encryption `protobuf:"bytes,6,opt,name=encryption,proto3" json:"encryption,omitempty"`
    // contains filtered or unexported fields
}

Multiplexing settings for output stream.

func (*MuxStream) Descriptor Uses

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

Deprecated: Use MuxStream.ProtoReflect.Descriptor instead.

func (*MuxStream) GetContainer Uses

func (x *MuxStream) GetContainer() string

func (*MuxStream) GetElementaryStreams Uses

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

func (*MuxStream) GetEncryption Uses

func (x *MuxStream) GetEncryption() *Encryption

func (*MuxStream) GetFileName Uses

func (x *MuxStream) GetFileName() string

func (*MuxStream) GetKey Uses

func (x *MuxStream) GetKey() string

func (*MuxStream) GetSegmentSettings Uses

func (x *MuxStream) GetSegmentSettings() *SegmentSettings

func (*MuxStream) ProtoMessage Uses

func (*MuxStream) ProtoMessage()

func (*MuxStream) ProtoReflect Uses

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

func (*MuxStream) Reset Uses

func (x *MuxStream) Reset()

func (*MuxStream) String Uses

func (x *MuxStream) String() string

type Output Uses

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`.
    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 Uses

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

Deprecated: Use Output.ProtoReflect.Descriptor instead.

func (*Output) GetUri Uses

func (x *Output) GetUri() string

func (*Output) ProtoMessage Uses

func (*Output) ProtoMessage()

func (*Output) ProtoReflect Uses

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

func (*Output) Reset Uses

func (x *Output) Reset()

func (*Output) String Uses

func (x *Output) String() string

type Overlay Uses

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 Uses

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

Deprecated: Use Overlay.ProtoReflect.Descriptor instead.

func (*Overlay) GetAnimations Uses

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

func (*Overlay) GetImage Uses

func (x *Overlay) GetImage() *Overlay_Image

func (*Overlay) ProtoMessage Uses

func (*Overlay) ProtoMessage()

func (*Overlay) ProtoReflect Uses

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

func (*Overlay) Reset Uses

func (x *Overlay) Reset()

func (*Overlay) String Uses

func (x *Overlay) String() string

type Overlay_Animation Uses

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 Uses

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

Deprecated: Use Overlay_Animation.ProtoReflect.Descriptor instead.

func (*Overlay_Animation) GetAnimationEnd Uses

func (x *Overlay_Animation) GetAnimationEnd() *Overlay_AnimationEnd

func (*Overlay_Animation) GetAnimationFade Uses

func (x *Overlay_Animation) GetAnimationFade() *Overlay_AnimationFade

func (*Overlay_Animation) GetAnimationStatic Uses

func (x *Overlay_Animation) GetAnimationStatic() *Overlay_AnimationStatic

func (*Overlay_Animation) GetAnimationType Uses

func (m *Overlay_Animation) GetAnimationType() isOverlay_Animation_AnimationType

func (*Overlay_Animation) ProtoMessage Uses

func (*Overlay_Animation) ProtoMessage()

func (*Overlay_Animation) ProtoReflect Uses

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

func (*Overlay_Animation) Reset Uses

func (x *Overlay_Animation) Reset()

func (*Overlay_Animation) String Uses

func (x *Overlay_Animation) String() string

type Overlay_AnimationEnd Uses

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 Uses

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

Deprecated: Use Overlay_AnimationEnd.ProtoReflect.Descriptor instead.

func (*Overlay_AnimationEnd) GetStartTimeOffset Uses

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

func (*Overlay_AnimationEnd) ProtoMessage Uses

func (*Overlay_AnimationEnd) ProtoMessage()

func (*Overlay_AnimationEnd) ProtoReflect Uses

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

func (*Overlay_AnimationEnd) Reset Uses

func (x *Overlay_AnimationEnd) Reset()

func (*Overlay_AnimationEnd) String Uses

func (x *Overlay_AnimationEnd) String() string

type Overlay_AnimationFade Uses

type Overlay_AnimationFade struct {

    // Required. Type of fade animation: `FADE_IN` or `FADE_OUT`.
    FadeType Overlay_FadeType `protobuf:"varint,1,opt,name=fade_type,json=fadeType,proto3,enum=google.cloud.video.transcoder.v1beta1.Overlay_FadeType" json:"fade_type,omitempty"`
    // Normalized coordinates based on output video resolution. Valid
    // values: `0.0`–`1.0`. `xy` is the upper-left coordinate of the overlay
    // object.
    Xy  *Overlay_NormalizedCoordinate `protobuf:"bytes,2,opt,name=xy,proto3" json:"xy,omitempty"`
    // The time to start the fade animation, in seconds. Default: 0
    StartTimeOffset *durationpb.Duration `protobuf:"bytes,3,opt,name=start_time_offset,json=startTimeOffset,proto3" json:"start_time_offset,omitempty"`
    // The time to end the fade animation, in seconds. Default:
    // `start_time_offset` + 1s
    EndTimeOffset *durationpb.Duration `protobuf:"bytes,4,opt,name=end_time_offset,json=endTimeOffset,proto3" json:"end_time_offset,omitempty"`
    // contains filtered or unexported fields
}

Display overlay object with fade animation.

func (*Overlay_AnimationFade) Descriptor Uses

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

Deprecated: Use Overlay_AnimationFade.ProtoReflect.Descriptor instead.

func (*Overlay_AnimationFade) GetEndTimeOffset Uses

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

func (*Overlay_AnimationFade) GetFadeType Uses

func (x *Overlay_AnimationFade) GetFadeType() Overlay_FadeType

func (*Overlay_AnimationFade) GetStartTimeOffset Uses

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

func (*Overlay_AnimationFade) GetXy Uses

func (x *Overlay_AnimationFade) GetXy() *Overlay_NormalizedCoordinate

func (*Overlay_AnimationFade) ProtoMessage Uses

func (*Overlay_AnimationFade) ProtoMessage()

func (*Overlay_AnimationFade) ProtoReflect Uses

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

func (*Overlay_AnimationFade) Reset Uses

func (x *Overlay_AnimationFade) Reset()

func (*Overlay_AnimationFade) String Uses

func (x *Overlay_AnimationFade) String() string

type Overlay_AnimationStatic Uses

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.
    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 Uses

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

Deprecated: Use Overlay_AnimationStatic.ProtoReflect.Descriptor instead.

func (*Overlay_AnimationStatic) GetStartTimeOffset Uses

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

func (*Overlay_AnimationStatic) GetXy Uses

func (x *Overlay_AnimationStatic) GetXy() *Overlay_NormalizedCoordinate

func (*Overlay_AnimationStatic) ProtoMessage Uses

func (*Overlay_AnimationStatic) ProtoMessage()

func (*Overlay_AnimationStatic) ProtoReflect Uses

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

func (*Overlay_AnimationStatic) Reset Uses

func (x *Overlay_AnimationStatic) Reset()

func (*Overlay_AnimationStatic) String Uses

func (x *Overlay_AnimationStatic) String() string

type Overlay_Animation_AnimationEnd Uses

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

type Overlay_Animation_AnimationFade Uses

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"`
}

type Overlay_Animation_AnimationStatic Uses

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

type Overlay_FadeType Uses

type Overlay_FadeType int32

Fade type for the overlay: `FADE_IN` or `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 Uses

func (Overlay_FadeType) Descriptor() protoreflect.EnumDescriptor

func (Overlay_FadeType) Enum Uses

func (x Overlay_FadeType) Enum() *Overlay_FadeType

func (Overlay_FadeType) EnumDescriptor Uses

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

Deprecated: Use Overlay_FadeType.Descriptor instead.

func (Overlay_FadeType) Number Uses

func (x Overlay_FadeType) Number() protoreflect.EnumNumber

func (Overlay_FadeType) String Uses

func (x Overlay_FadeType) String() string

func (Overlay_FadeType) Type Uses

func (Overlay_FadeType) Type() protoreflect.EnumType

type Overlay_Image Uses

type Overlay_Image struct {

    // Required. URI of the image in Cloud Storage. For example,
    // `gs://bucket/inputs/image.jpeg`.
    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: `1` (solid, default),
    // `0` (transparent).
    Alpha float64 `protobuf:"fixed64,3,opt,name=alpha,proto3" json:"alpha,omitempty"`
    // contains filtered or unexported fields
}

Overlaid jpeg image.

func (*Overlay_Image) Descriptor Uses

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

Deprecated: Use Overlay_Image.ProtoReflect.Descriptor instead.

func (*Overlay_Image) GetAlpha Uses

func (x *Overlay_Image) GetAlpha() float64

func (*Overlay_Image) GetResolution Uses

func (x *Overlay_Image) GetResolution() *Overlay_NormalizedCoordinate

func (*Overlay_Image) GetUri Uses

func (x *Overlay_Image) GetUri() string

func (*Overlay_Image) ProtoMessage Uses

func (*Overlay_Image) ProtoMessage()

func (*Overlay_Image) ProtoReflect Uses

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

func (*Overlay_Image) Reset Uses

func (x *Overlay_Image) Reset()

func (*Overlay_Image) String Uses

func (x *Overlay_Image) String() string

type Overlay_NormalizedCoordinate Uses

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 Uses

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

Deprecated: Use Overlay_NormalizedCoordinate.ProtoReflect.Descriptor instead.

func (*Overlay_NormalizedCoordinate) GetX Uses

func (x *Overlay_NormalizedCoordinate) GetX() float64

func (*Overlay_NormalizedCoordinate) GetY Uses

func (x *Overlay_NormalizedCoordinate) GetY() float64

func (*Overlay_NormalizedCoordinate) ProtoMessage Uses

func (*Overlay_NormalizedCoordinate) ProtoMessage()

func (*Overlay_NormalizedCoordinate) ProtoReflect Uses

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

func (*Overlay_NormalizedCoordinate) Reset Uses

func (x *Overlay_NormalizedCoordinate) Reset()

func (*Overlay_NormalizedCoordinate) String Uses

func (x *Overlay_NormalizedCoordinate) String() string

type PreprocessingConfig Uses

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"`
    // contains filtered or unexported fields
}

Preprocessing configurations.

func (*PreprocessingConfig) Descriptor Uses

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

Deprecated: Use PreprocessingConfig.ProtoReflect.Descriptor instead.

func (*PreprocessingConfig) GetAudio Uses

func (x *PreprocessingConfig) GetAudio() *PreprocessingConfig_Audio

func (*PreprocessingConfig) GetColor Uses

func (x *PreprocessingConfig) GetColor() *PreprocessingConfig_Color

func (*PreprocessingConfig) GetDeblock Uses

func (x *PreprocessingConfig) GetDeblock() *PreprocessingConfig_Deblock

func (*PreprocessingConfig) GetDenoise Uses

func (x *PreprocessingConfig) GetDenoise() *PreprocessingConfig_Denoise

func (*PreprocessingConfig) ProtoMessage Uses

func (*PreprocessingConfig) ProtoMessage()

func (*PreprocessingConfig) ProtoReflect Uses

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

func (*PreprocessingConfig) Reset Uses

func (x *PreprocessingConfig) Reset()

func (*PreprocessingConfig) String Uses

func (x *PreprocessingConfig) String() string

type PreprocessingConfig_Audio Uses

type PreprocessingConfig_Audio struct {

    // Specify audio loudness normalization in loudness units relative to full
    // scale (LUFS). Enter a value between -24 and 0, where -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, and 0 disables normalization. The default is 0.
    Lufs float64 `protobuf:"fixed64,1,opt,name=lufs,proto3" json:"lufs,omitempty"`
    // Enable boosting high frequency components. The default is `false`.
    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`.
    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 Uses

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

Deprecated: Use PreprocessingConfig_Audio.ProtoReflect.Descriptor instead.

func (*PreprocessingConfig_Audio) GetHighBoost Uses

func (x *PreprocessingConfig_Audio) GetHighBoost() bool

func (*PreprocessingConfig_Audio) GetLowBoost Uses

func (x *PreprocessingConfig_Audio) GetLowBoost() bool

func (*PreprocessingConfig_Audio) GetLufs Uses

func (x *PreprocessingConfig_Audio) GetLufs() float64

func (*PreprocessingConfig_Audio) ProtoMessage Uses

func (*PreprocessingConfig_Audio) ProtoMessage()

func (*PreprocessingConfig_Audio) ProtoReflect Uses

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

func (*PreprocessingConfig_Audio) Reset Uses

func (x *PreprocessingConfig_Audio) Reset()

func (*PreprocessingConfig_Audio) String Uses

func (x *PreprocessingConfig_Audio) String() string

type PreprocessingConfig_Color Uses

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.

func (*PreprocessingConfig_Color) Descriptor Uses

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

Deprecated: Use PreprocessingConfig_Color.ProtoReflect.Descriptor instead.

func (*PreprocessingConfig_Color) GetBrightness Uses

func (x *PreprocessingConfig_Color) GetBrightness() float64

func (*PreprocessingConfig_Color) GetContrast Uses

func (x *PreprocessingConfig_Color) GetContrast() float64

func (*PreprocessingConfig_Color) GetSaturation Uses

func (x *PreprocessingConfig_Color) GetSaturation() float64

func (*PreprocessingConfig_Color) ProtoMessage Uses

func (*PreprocessingConfig_Color) ProtoMessage()

func (*PreprocessingConfig_Color) ProtoReflect Uses

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

func (*PreprocessingConfig_Color) Reset Uses

func (x *PreprocessingConfig_Color) Reset()

func (*PreprocessingConfig_Color) String Uses

func (x *PreprocessingConfig_Color) String() string

type PreprocessingConfig_Deblock Uses

type PreprocessingConfig_Deblock struct {

    // Set strength of the deblocker. Enter a value between 0 and 1. The higher
    // the value, the stronger the block removal. 0 is no deblocking. The
    // default is 0.
    Strength float64 `protobuf:"fixed64,1,opt,name=strength,proto3" json:"strength,omitempty"`
    // Enable deblocker. The default is `false`.
    Enabled bool `protobuf:"varint,2,opt,name=enabled,proto3" json:"enabled,omitempty"`
    // contains filtered or unexported fields
}

Deblock preprocessing configuration.

func (*PreprocessingConfig_Deblock) Descriptor Uses

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

Deprecated: Use PreprocessingConfig_Deblock.ProtoReflect.Descriptor instead.

func (*PreprocessingConfig_Deblock) GetEnabled Uses

func (x *PreprocessingConfig_Deblock) GetEnabled() bool

func (*PreprocessingConfig_Deblock) GetStrength Uses

func (x *PreprocessingConfig_Deblock) GetStrength() float64

func (*PreprocessingConfig_Deblock) ProtoMessage Uses

func (*PreprocessingConfig_Deblock) ProtoMessage()

func (*PreprocessingConfig_Deblock) ProtoReflect Uses

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

func (*PreprocessingConfig_Deblock) Reset Uses

func (x *PreprocessingConfig_Deblock) Reset()

func (*PreprocessingConfig_Deblock) String Uses

func (x *PreprocessingConfig_Deblock) String() string

type PreprocessingConfig_Denoise Uses

type PreprocessingConfig_Denoise struct {

    // Set strength of the denoise. Enter a value between 0 and 1. The higher
    // the value, the smoother the image. 0 is no denoising. The default is 0.
    Strength float64 `protobuf:"fixed64,1,opt,name=strength,proto3" json:"strength,omitempty"`
    // Set the denoiser mode. The default is `"standard"`.
    //
    // Supported denoiser modes:
    // - 'standard'
    // - 'grain'
    Tune string `protobuf:"bytes,2,opt,name=tune,proto3" json:"tune,omitempty"`
    // contains filtered or unexported fields
}

Denoise preprocessing configuration.

func (*PreprocessingConfig_Denoise) Descriptor Uses

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

Deprecated: Use PreprocessingConfig_Denoise.ProtoReflect.Descriptor instead.

func (*PreprocessingConfig_Denoise) GetStrength Uses

func (x *PreprocessingConfig_Denoise) GetStrength() float64

func (*PreprocessingConfig_Denoise) GetTune Uses

func (x *PreprocessingConfig_Denoise) GetTune() string

func (*PreprocessingConfig_Denoise) ProtoMessage Uses

func (*PreprocessingConfig_Denoise) ProtoMessage()

func (*PreprocessingConfig_Denoise) ProtoReflect Uses

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

func (*PreprocessingConfig_Denoise) Reset Uses

func (x *PreprocessingConfig_Denoise) Reset()

func (*PreprocessingConfig_Denoise) String Uses

func (x *PreprocessingConfig_Denoise) String() string

type Progress Uses

type Progress struct {

    // Estimated fractional progress for `analyzing` step.
    Analyzed float64 `protobuf:"fixed64,1,opt,name=analyzed,proto3" json:"analyzed,omitempty"`
    // Estimated fractional progress for `encoding` step.
    Encoded float64 `protobuf:"fixed64,2,opt,name=encoded,proto3" json:"encoded,omitempty"`
    // Estimated fractional progress for `uploading` step.
    Uploaded float64 `protobuf:"fixed64,3,opt,name=uploaded,proto3" json:"uploaded,omitempty"`
    // Estimated fractional progress for `notifying` step.
    Notified float64 `protobuf:"fixed64,4,opt,name=notified,proto3" json:"notified,omitempty"`
    // contains filtered or unexported fields
}

Estimated fractional progress for each step, from `0` to `1`.

func (*Progress) Descriptor Uses

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

Deprecated: Use Progress.ProtoReflect.Descriptor instead.

func (*Progress) GetAnalyzed Uses

func (x *Progress) GetAnalyzed() float64

func (*Progress) GetEncoded Uses

func (x *Progress) GetEncoded() float64

func (*Progress) GetNotified Uses

func (x *Progress) GetNotified() float64

func (*Progress) GetUploaded Uses

func (x *Progress) GetUploaded() float64

func (*Progress) ProtoMessage Uses

func (*Progress) ProtoMessage()

func (*Progress) ProtoReflect Uses

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

func (*Progress) Reset Uses

func (x *Progress) Reset()

func (*Progress) String Uses

func (x *Progress) String() string

type PubsubDestination Uses

type PubsubDestination struct {

    // The name of the Pub/Sub topic to publish job completion notification
    // to. For example: `projects/{project}/topics/{topic}`.
    Topic string `protobuf:"bytes,1,opt,name=topic,proto3" json:"topic,omitempty"`
    // contains filtered or unexported fields
}

A Pub/Sub destination.

func (*PubsubDestination) Descriptor Uses

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

Deprecated: Use PubsubDestination.ProtoReflect.Descriptor instead.

func (*PubsubDestination) GetTopic Uses

func (x *PubsubDestination) GetTopic() string

func (*PubsubDestination) ProtoMessage Uses

func (*PubsubDestination) ProtoMessage()

func (*PubsubDestination) ProtoReflect Uses

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

func (*PubsubDestination) Reset Uses

func (x *PubsubDestination) Reset()

func (*PubsubDestination) String Uses

func (x *PubsubDestination) String() string

type SegmentSettings Uses

type SegmentSettings struct {

    // Duration of the segments in seconds. The default is `"6.0s"`.
    SegmentDuration *durationpb.Duration `protobuf:"bytes,1,opt,name=segment_duration,json=segmentDuration,proto3" json:"segment_duration,omitempty"`
    // Required. Create an individual segment file. The default is `false`.
    IndividualSegments bool `protobuf:"varint,3,opt,name=individual_segments,json=individualSegments,proto3" json:"individual_segments,omitempty"`
    // contains filtered or unexported fields
}

Segment settings for `"ts"`, `"fmp4"` and `"vtt"`.

func (*SegmentSettings) Descriptor Uses

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

Deprecated: Use SegmentSettings.ProtoReflect.Descriptor instead.

func (*SegmentSettings) GetIndividualSegments Uses

func (x *SegmentSettings) GetIndividualSegments() bool

func (*SegmentSettings) GetSegmentDuration Uses

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

func (*SegmentSettings) ProtoMessage Uses

func (*SegmentSettings) ProtoMessage()

func (*SegmentSettings) ProtoReflect Uses

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

func (*SegmentSettings) Reset Uses

func (x *SegmentSettings) Reset()

func (*SegmentSettings) String Uses

func (x *SegmentSettings) String() string

type SpriteSheet Uses

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.
    //
    // 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 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 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. The default is 0,
    // which indicates no maximum limit.
    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. The default is 0, which indicates no maximum
    // limit.
    RowCount int32 `protobuf:"varint,6,opt,name=row_count,json=rowCount,proto3" json:"row_count,omitempty"`
    // Start time in seconds, relative to the output file timeline. Determines the
    // first sprite to pick. The default is `0s`.
    StartTimeOffset *durationpb.Duration `protobuf:"bytes,7,opt,name=start_time_offset,json=startTimeOffset,proto3" json:"start_time_offset,omitempty"`
    // End time in seconds, relative to the output file timeline. When
    // `end_time_offset` is not specified, the sprites are generated until the end
    // of the output file.
    EndTimeOffset *durationpb.Duration `protobuf:"bytes,8,opt,name=end_time_offset,json=endTimeOffset,proto3" json:"end_time_offset,omitempty"`
    // Specify either total number of sprites or interval to create sprites.
    //
    // Types that are assignable to ExtractionStrategy:
    //	*SpriteSheet_TotalCount
    //	*SpriteSheet_Interval
    ExtractionStrategy isSpriteSheet_ExtractionStrategy `protobuf_oneof:"extraction_strategy"`
    // contains filtered or unexported fields
}

Sprite sheet configuration.

func (*SpriteSheet) Descriptor Uses

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

Deprecated: Use SpriteSheet.ProtoReflect.Descriptor instead.

func (*SpriteSheet) GetColumnCount Uses

func (x *SpriteSheet) GetColumnCount() int32

func (*SpriteSheet) GetEndTimeOffset Uses

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

func (*SpriteSheet) GetExtractionStrategy Uses

func (m *SpriteSheet) GetExtractionStrategy() isSpriteSheet_ExtractionStrategy

func (*SpriteSheet) GetFilePrefix Uses

func (x *SpriteSheet) GetFilePrefix() string

func (*SpriteSheet) GetFormat Uses

func (x *SpriteSheet) GetFormat() string

func (*SpriteSheet) GetInterval Uses

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

func (*SpriteSheet) GetRowCount Uses

func (x *SpriteSheet) GetRowCount() int32

func (*SpriteSheet) GetSpriteHeightPixels Uses

func (x *SpriteSheet) GetSpriteHeightPixels() int32

func (*SpriteSheet) GetSpriteWidthPixels Uses

func (x *SpriteSheet) GetSpriteWidthPixels() int32

func (*SpriteSheet) GetStartTimeOffset Uses

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

func (*SpriteSheet) GetTotalCount Uses

func (x *SpriteSheet) GetTotalCount() int32

func (*SpriteSheet) ProtoMessage Uses

func (*SpriteSheet) ProtoMessage()

func (*SpriteSheet) ProtoReflect Uses

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

func (*SpriteSheet) Reset Uses

func (x *SpriteSheet) Reset()

func (*SpriteSheet) String Uses

func (x *SpriteSheet) String() string

type SpriteSheet_Interval Uses

type SpriteSheet_Interval struct {
    // Starting from `0s`, create sprites at regular intervals. Specify the
    // interval value in seconds.
    Interval *durationpb.Duration `protobuf:"bytes,10,opt,name=interval,proto3,oneof"`
}

type SpriteSheet_TotalCount Uses

type SpriteSheet_TotalCount struct {
    // Total number of sprites. Create the specified number of sprites
    // distributed evenly across the timeline of the output media. The default
    // is 100.
    TotalCount int32 `protobuf:"varint,9,opt,name=total_count,json=totalCount,proto3,oneof"`
}

type TextStream Uses

type TextStream struct {

    // The codec for this text stream. The default is `"webvtt"`.
    //
    // Supported text codecs:
    // - 'srt'
    // - 'ttml'
    // - 'cea608'
    // - 'cea708'
    // - 'webvtt'
    Codec string `protobuf:"bytes,1,opt,name=codec,proto3" json:"codec,omitempty"`
    // Required. 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"`
    // The mapping for the `Job.edit_list` atoms with text `EditAtom.inputs`.
    Mapping []*TextStream_TextAtom `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 Uses

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

Deprecated: Use TextStream.ProtoReflect.Descriptor instead.

func (*TextStream) GetCodec Uses

func (x *TextStream) GetCodec() string

func (*TextStream) GetLanguageCode Uses

func (x *TextStream) GetLanguageCode() string

func (*TextStream) GetMapping Uses

func (x *TextStream) GetMapping() []*TextStream_TextAtom

func (*TextStream) ProtoMessage Uses

func (*TextStream) ProtoMessage()

func (*TextStream) ProtoReflect Uses

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

func (*TextStream) Reset Uses

func (x *TextStream) Reset()

func (*TextStream) String Uses

func (x *TextStream) String() string

type TextStream_TextAtom Uses

type TextStream_TextAtom struct {

    // Required. The `EditAtom.key` that references atom with text inputs in the
    // `Job.edit_list`.
    Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
    // List of `Job.inputs` that should be embedded in this atom. Only one
    // input is supported.
    Inputs []*TextStream_TextAtom_TextInput `protobuf:"bytes,2,rep,name=inputs,proto3" json:"inputs,omitempty"`
    // contains filtered or unexported fields
}

The mapping for the `Job.edit_list` atoms with text `EditAtom.inputs`.

func (*TextStream_TextAtom) Descriptor Uses

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

Deprecated: Use TextStream_TextAtom.ProtoReflect.Descriptor instead.

func (*TextStream_TextAtom) GetInputs Uses

func (x *TextStream_TextAtom) GetInputs() []*TextStream_TextAtom_TextInput

func (*TextStream_TextAtom) GetKey Uses

func (x *TextStream_TextAtom) GetKey() string

func (*TextStream_TextAtom) ProtoMessage Uses

func (*TextStream_TextAtom) ProtoMessage()

func (*TextStream_TextAtom) ProtoReflect Uses

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

func (*TextStream_TextAtom) Reset Uses

func (x *TextStream_TextAtom) Reset()

func (*TextStream_TextAtom) String Uses

func (x *TextStream_TextAtom) String() string

type TextStream_TextAtom_TextInput Uses

type TextStream_TextAtom_TextInput struct {

    // Required. The `Input.key` that identifies the input file.
    Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
    // Required. The zero-based index of the track in the input file.
    Track int32 `protobuf:"varint,2,opt,name=track,proto3" json:"track,omitempty"`
    // contains filtered or unexported fields
}

Identifies which input file and track should be used.

func (*TextStream_TextAtom_TextInput) Descriptor Uses

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

Deprecated: Use TextStream_TextAtom_TextInput.ProtoReflect.Descriptor instead.

func (*TextStream_TextAtom_TextInput) GetKey Uses

func (x *TextStream_TextAtom_TextInput) GetKey() string

func (*TextStream_TextAtom_TextInput) GetTrack Uses

func (x *TextStream_TextAtom_TextInput) GetTrack() int32

func (*TextStream_TextAtom_TextInput) ProtoMessage Uses

func (*TextStream_TextAtom_TextInput) ProtoMessage()

func (*TextStream_TextAtom_TextInput) ProtoReflect Uses

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

func (*TextStream_TextAtom_TextInput) Reset Uses

func (x *TextStream_TextAtom_TextInput) Reset()

func (*TextStream_TextAtom_TextInput) String Uses

func (x *TextStream_TextAtom_TextInput) String() string

type TranscoderServiceClient Uses

type TranscoderServiceClient interface {
    // Creates a job in the specified region.
    CreateJob(ctx context.Context, in *CreateJobRequest, opts ...grpc.CallOption) (*Job, error)
    // Lists jobs in the specified region.
    ListJobs(ctx context.Context, in *ListJobsRequest, opts ...grpc.CallOption) (*ListJobsResponse, error)
    // Returns the job data.
    GetJob(ctx context.Context, in *GetJobRequest, opts ...grpc.CallOption) (*Job, error)
    // Deletes a job.
    DeleteJob(ctx context.Context, in *DeleteJobRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
    // Creates a job template in the specified region.
    CreateJobTemplate(ctx context.Context, in *CreateJobTemplateRequest, opts ...grpc.CallOption) (*JobTemplate, error)
    // Lists job templates in the specified region.
    ListJobTemplates(ctx context.Context, in *ListJobTemplatesRequest, opts ...grpc.CallOption) (*ListJobTemplatesResponse, error)
    // Returns the job template data.
    GetJobTemplate(ctx context.Context, in *GetJobTemplateRequest, opts ...grpc.CallOption) (*JobTemplate, error)
    // Deletes a job template.
    DeleteJobTemplate(ctx context.Context, in *DeleteJobTemplateRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
}

TranscoderServiceClient is the client API for TranscoderService service.

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

func NewTranscoderServiceClient Uses

func NewTranscoderServiceClient(cc grpc.ClientConnInterface) TranscoderServiceClient

type TranscoderServiceServer Uses

type TranscoderServiceServer interface {
    // Creates a job in the specified region.
    CreateJob(context.Context, *CreateJobRequest) (*Job, error)
    // Lists jobs in the specified region.
    ListJobs(context.Context, *ListJobsRequest) (*ListJobsResponse, error)
    // Returns the job data.
    GetJob(context.Context, *GetJobRequest) (*Job, error)
    // Deletes a job.
    DeleteJob(context.Context, *DeleteJobRequest) (*emptypb.Empty, error)
    // Creates a job template in the specified region.
    CreateJobTemplate(context.Context, *CreateJobTemplateRequest) (*JobTemplate, error)
    // Lists job templates in the specified region.
    ListJobTemplates(context.Context, *ListJobTemplatesRequest) (*ListJobTemplatesResponse, error)
    // Returns the job template data.
    GetJobTemplate(context.Context, *GetJobTemplateRequest) (*JobTemplate, error)
    // Deletes a job template.
    DeleteJobTemplate(context.Context, *DeleteJobTemplateRequest) (*emptypb.Empty, error)
}

TranscoderServiceServer is the server API for TranscoderService service.

type UnimplementedTranscoderServiceServer Uses

type UnimplementedTranscoderServiceServer struct {
}

UnimplementedTranscoderServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedTranscoderServiceServer) CreateJob Uses

func (*UnimplementedTranscoderServiceServer) CreateJob(context.Context, *CreateJobRequest) (*Job, error)

func (*UnimplementedTranscoderServiceServer) CreateJobTemplate Uses

func (*UnimplementedTranscoderServiceServer) CreateJobTemplate(context.Context, *CreateJobTemplateRequest) (*JobTemplate, error)

func (*UnimplementedTranscoderServiceServer) DeleteJob Uses

func (*UnimplementedTranscoderServiceServer) DeleteJob(context.Context, *DeleteJobRequest) (*emptypb.Empty, error)

func (*UnimplementedTranscoderServiceServer) DeleteJobTemplate Uses

func (*UnimplementedTranscoderServiceServer) DeleteJobTemplate(context.Context, *DeleteJobTemplateRequest) (*emptypb.Empty, error)

func (*UnimplementedTranscoderServiceServer) GetJob Uses

func (*UnimplementedTranscoderServiceServer) GetJob(context.Context, *GetJobRequest) (*Job, error)

func (*UnimplementedTranscoderServiceServer) GetJobTemplate Uses

func (*UnimplementedTranscoderServiceServer) GetJobTemplate(context.Context, *GetJobTemplateRequest) (*JobTemplate, error)

func (*UnimplementedTranscoderServiceServer) ListJobTemplates Uses

func (*UnimplementedTranscoderServiceServer) ListJobTemplates(context.Context, *ListJobTemplatesRequest) (*ListJobTemplatesResponse, error)

func (*UnimplementedTranscoderServiceServer) ListJobs Uses

func (*UnimplementedTranscoderServiceServer) ListJobs(context.Context, *ListJobsRequest) (*ListJobsResponse, error)

type VideoStream Uses

type VideoStream struct {

    // Codec type. The default is `"h264"`.
    //
    // Supported codecs:
    // - 'h264'
    // - 'h265'
    // - 'vp9'
    Codec string `protobuf:"bytes,1,opt,name=codec,proto3" json:"codec,omitempty"`
    // Enforce specified codec profile. The default is `"high"`.
    //
    // Supported codec profiles:
    // - 'baseline'
    // - 'main'
    // - 'high'
    Profile string `protobuf:"bytes,2,opt,name=profile,proto3" json:"profile,omitempty"`
    // Enforce specified codec tune.
    Tune string `protobuf:"bytes,3,opt,name=tune,proto3" json:"tune,omitempty"`
    // Enforce specified codec preset. The default is `"veryfast"`.
    Preset string `protobuf:"bytes,4,opt,name=preset,proto3" json:"preset,omitempty"`
    // 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.
    HeightPixels int32 `protobuf:"varint,5,opt,name=height_pixels,json=heightPixels,proto3" json:"height_pixels,omitempty"`
    // 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.
    WidthPixels int32 `protobuf:"varint,6,opt,name=width_pixels,json=widthPixels,proto3" json:"width_pixels,omitempty"`
    // Pixel format to use. The default is `"yuv420p"`.
    //
    // Supported pixel formats:
    // - 'yuv420p' pixel format.
    // - 'yuv422p' pixel format.
    // - 'yuv444p' pixel format.
    // - 'yuv420p10' 10-bit HDR pixel format.
    // - 'yuv422p10' 10-bit HDR pixel format.
    // - 'yuv444p10' 10-bit HDR pixel format.
    // - 'yuv420p12' 12-bit HDR pixel format.
    // - 'yuv422p12' 12-bit HDR pixel format.
    // - 'yuv444p12' 12-bit HDR pixel format.
    PixelFormat string `protobuf:"bytes,7,opt,name=pixel_format,json=pixelFormat,proto3" json:"pixel_format,omitempty"`
    // Required. The video bitrate in bits per second. Must be between 1 and 1,000,000,000.
    BitrateBps int32 `protobuf:"varint,8,opt,name=bitrate_bps,json=bitrateBps,proto3" json:"bitrate_bps,omitempty"`
    // Specify the `rate_control_mode`. The default is `"vbr"`.
    //
    // Supported rate control modes:
    // - 'vbr' - variable bitrate
    // - 'crf' - constant rate factor
    RateControlMode string `protobuf:"bytes,9,opt,name=rate_control_mode,json=rateControlMode,proto3" json:"rate_control_mode,omitempty"`
    // Use two-pass encoding strategy to achieve better video quality.
    // `VideoStream.rate_control_mode` must be `"vbr"`. The default is `false`.
    EnableTwoPass bool `protobuf:"varint,10,opt,name=enable_two_pass,json=enableTwoPass,proto3" json:"enable_two_pass,omitempty"`
    // Target CRF level. Must be between 10 and 36, where 10 is the highest
    // quality and 36 is the most efficient compression. The default is 21.
    CrfLevel int32 `protobuf:"varint,11,opt,name=crf_level,json=crfLevel,proto3" json:"crf_level,omitempty"`
    // Size of the Video Buffering Verifier (VBV) buffer in bits. Must be greater
    // than zero. The default is equal to `VideoStream.bitrate_bps`.
    VbvSizeBits int32 `protobuf:"varint,12,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
    // `VideoStream.vbv_size_bits`.
    VbvFullnessBits int32 `protobuf:"varint,13,opt,name=vbv_fullness_bits,json=vbvFullnessBits,proto3" json:"vbv_fullness_bits,omitempty"`
    // Specifies whether an open Group of Pictures (GOP) structure should be
    // allowed or not. The default is `false`.
    AllowOpenGop bool `protobuf:"varint,14,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_GopFrameCount
    //	*VideoStream_GopDuration
    GopMode isVideoStream_GopMode `protobuf_oneof:"gop_mode"`
    // The entropy coder to use. The default is `"cabac"`.
    //
    // Supported entropy coders:
    // - 'cavlc'
    // - 'cabac'
    EntropyCoder string `protobuf:"bytes,17,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,18,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 `VideoStream.gop_frame_count` if set. The default is 0.
    BFrameCount int32 `protobuf:"varint,19,opt,name=b_frame_count,json=bFrameCount,proto3" json:"b_frame_count,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.
    //
    // The following table shows the computed video FPS given the target FPS (in
    // parenthesis) and input FPS (in the first column):
    // ```
    // |        | (30)   | (60)   | (25) | (50) |
    // |--------|--------|--------|------|------|
    // | 240    | Fail   | Fail   | Fail | Fail |
    // | 120    | 30     | 60     | 20   | 30   |
    // | 100    | 25     | 50     | 20   | 30   |
    // | 50     | 25     | 50     | 20   | 30   |
    // | 60     | 30     | 60     | 20   | 30   |
    // | 59.94  | 29.97  | 59.94  | 20   | 30   |
    // | 48     | 24     | 48     | 20   | 30   |
    // | 30     | 30     | 30     | 20   | 30   |
    // | 25     | 25     | 25     | 20   | 30   |
    // | 24     | 24     | 24     | 20   | 30   |
    // | 23.976 | 23.976 | 23.976 | 20   | 30   |
    // | 15     | 15     | 15     | 20   | 30   |
    // | 12     | 12     | 12     | 20   | 30   |
    // | 10     | 10     | 10     | 20   | 30   |
    // ```
    FrameRate float64 `protobuf:"fixed64,20,opt,name=frame_rate,json=frameRate,proto3" json:"frame_rate,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,21,opt,name=aq_strength,json=aqStrength,proto3" json:"aq_strength,omitempty"`
    // contains filtered or unexported fields
}

Video stream resource.

func (*VideoStream) Descriptor Uses

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

Deprecated: Use VideoStream.ProtoReflect.Descriptor instead.

func (*VideoStream) GetAllowOpenGop Uses

func (x *VideoStream) GetAllowOpenGop() bool

func (*VideoStream) GetAqStrength Uses

func (x *VideoStream) GetAqStrength() float64

func (*VideoStream) GetBFrameCount Uses

func (x *VideoStream) GetBFrameCount() int32

func (*VideoStream) GetBPyramid Uses

func (x *VideoStream) GetBPyramid() bool

func (*VideoStream) GetBitrateBps Uses

func (x *VideoStream) GetBitrateBps() int32

func (*VideoStream) GetCodec Uses

func (x *VideoStream) GetCodec() string

func (*VideoStream) GetCrfLevel Uses

func (x *VideoStream) GetCrfLevel() int32

func (*VideoStream) GetEnableTwoPass Uses

func (x *VideoStream) GetEnableTwoPass() bool

func (*VideoStream) GetEntropyCoder Uses

func (x *VideoStream) GetEntropyCoder() string

func (*VideoStream) GetFrameRate Uses

func (x *VideoStream) GetFrameRate() float64

func (*VideoStream) GetGopDuration Uses

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

func (*VideoStream) GetGopFrameCount Uses

func (x *VideoStream) GetGopFrameCount() int32

func (*VideoStream) GetGopMode Uses

func (m *VideoStream) GetGopMode() isVideoStream_GopMode

func (*VideoStream) GetHeightPixels Uses

func (x *VideoStream) GetHeightPixels() int32

func (*VideoStream) GetPixelFormat Uses

func (x *VideoStream) GetPixelFormat() string

func (*VideoStream) GetPreset Uses

func (x *VideoStream) GetPreset() string

func (*VideoStream) GetProfile Uses

func (x *VideoStream) GetProfile() string

func (*VideoStream) GetRateControlMode Uses

func (x *VideoStream) GetRateControlMode() string

func (*VideoStream) GetTune Uses

func (x *VideoStream) GetTune() string

func (*VideoStream) GetVbvFullnessBits Uses

func (x *VideoStream) GetVbvFullnessBits() int32

func (*VideoStream) GetVbvSizeBits Uses

func (x *VideoStream) GetVbvSizeBits() int32

func (*VideoStream) GetWidthPixels Uses

func (x *VideoStream) GetWidthPixels() int32

func (*VideoStream) ProtoMessage Uses

func (*VideoStream) ProtoMessage()

func (*VideoStream) ProtoReflect Uses

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

func (*VideoStream) Reset Uses

func (x *VideoStream) Reset()

func (*VideoStream) String Uses

func (x *VideoStream) String() string

type VideoStream_GopDuration Uses

type VideoStream_GopDuration struct {
    // Select the GOP size based on the specified duration. The default is
    // `"3s"`.
    GopDuration *durationpb.Duration `protobuf:"bytes,16,opt,name=gop_duration,json=gopDuration,proto3,oneof"`
}

type VideoStream_GopFrameCount Uses

type VideoStream_GopFrameCount struct {
    // Select the GOP size based on the specified frame count. Must be greater
    // than zero.
    GopFrameCount int32 `protobuf:"varint,15,opt,name=gop_frame_count,json=gopFrameCount,proto3,oneof"`
}

Package transcoder imports 13 packages (graph). Updated 2021-01-13. Refresh now. Tools for package owners.