Files
yatm/entity/settings.pb.go
T
Samuel Cui 4fef653b71 Prepare YATM v1.0.0-alpha.2
Unify file queries and Scan execution, retain indexed Identical results,
improve Job and Preview workflows, and verify release packaging.
2026-10-05 19:08:49 +08:00

1421 lines
49 KiB
Go

// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.33.0
// protoc v5.26.0
// source: settings.proto
package entity
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
sync "sync"
)
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
type SettingsGroup int32
const (
SettingsGroup_SETTINGS_GROUP_UNSPECIFIED SettingsGroup = 0
SettingsGroup_SETTINGS_GROUP_LIBRARY SettingsGroup = 1
SettingsGroup_SETTINGS_GROUP_PREVIEW SettingsGroup = 2
SettingsGroup_SETTINGS_GROUP_JOB SettingsGroup = 3
)
// Enum value maps for SettingsGroup.
var (
SettingsGroup_name = map[int32]string{
0: "SETTINGS_GROUP_UNSPECIFIED",
1: "SETTINGS_GROUP_LIBRARY",
2: "SETTINGS_GROUP_PREVIEW",
3: "SETTINGS_GROUP_JOB",
}
SettingsGroup_value = map[string]int32{
"SETTINGS_GROUP_UNSPECIFIED": 0,
"SETTINGS_GROUP_LIBRARY": 1,
"SETTINGS_GROUP_PREVIEW": 2,
"SETTINGS_GROUP_JOB": 3,
}
)
func (x SettingsGroup) Enum() *SettingsGroup {
p := new(SettingsGroup)
*p = x
return p
}
func (x SettingsGroup) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (SettingsGroup) Descriptor() protoreflect.EnumDescriptor {
return file_settings_proto_enumTypes[0].Descriptor()
}
func (SettingsGroup) Type() protoreflect.EnumType {
return &file_settings_proto_enumTypes[0]
}
func (x SettingsGroup) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use SettingsGroup.Descriptor instead.
func (SettingsGroup) EnumDescriptor() ([]byte, []int) {
return file_settings_proto_rawDescGZIP(), []int{0}
}
// Library preferences: what the Library shows and how it confirms removal.
type LibrarySettings struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
IncludeUnbackedFiles bool `protobuf:"varint,1,opt,name=include_unbacked_files,json=includeUnbackedFiles,proto3" json:"include_unbacked_files,omitempty"`
ConfirmRemove bool `protobuf:"varint,2,opt,name=confirm_remove,json=confirmRemove,proto3" json:"confirm_remove,omitempty"`
}
func (x *LibrarySettings) Reset() {
*x = LibrarySettings{}
if protoimpl.UnsafeEnabled {
mi := &file_settings_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *LibrarySettings) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*LibrarySettings) ProtoMessage() {}
func (x *LibrarySettings) ProtoReflect() protoreflect.Message {
mi := &file_settings_proto_msgTypes[0]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use LibrarySettings.ProtoReflect.Descriptor instead.
func (*LibrarySettings) Descriptor() ([]byte, []int) {
return file_settings_proto_rawDescGZIP(), []int{0}
}
func (x *LibrarySettings) GetIncludeUnbackedFiles() bool {
if x != nil {
return x.IncludeUnbackedFiles
}
return false
}
func (x *LibrarySettings) GetConfirmRemove() bool {
if x != nil {
return x.ConfirmRemove
}
return false
}
// Executor preferences: how an attempt drives the pipeline its runner owns.
type JobSettings struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Execution *JobExecutionSettings `protobuf:"bytes,1,opt,name=execution,proto3" json:"execution,omitempty"`
}
func (x *JobSettings) Reset() {
*x = JobSettings{}
if protoimpl.UnsafeEnabled {
mi := &file_settings_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *JobSettings) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*JobSettings) ProtoMessage() {}
func (x *JobSettings) ProtoReflect() protoreflect.Message {
mi := &file_settings_proto_msgTypes[1]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use JobSettings.ProtoReflect.Descriptor instead.
func (*JobSettings) Descriptor() ([]byte, []int) {
return file_settings_proto_rawDescGZIP(), []int{1}
}
func (x *JobSettings) GetExecution() *JobExecutionSettings {
if x != nil {
return x.Execution
}
return nil
}
// Job pipeline batching, buffering and delivery cadence. Every limit is an ACP option: the read
// batch is the manifest page, and the read buffer, the result queue, the result batch and the
// flush interval are the engine's, so the result writer of an attempt only persists the batches
// ACP hands over.
type JobExecutionSettings struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
ReadBatch int32 `protobuf:"varint,1,opt,name=read_batch,json=readBatch,proto3" json:"read_batch,omitempty"`
ReadBufferMax int32 `protobuf:"varint,2,opt,name=read_buffer_max,json=readBufferMax,proto3" json:"read_buffer_max,omitempty"`
WriteBufferMax int32 `protobuf:"varint,3,opt,name=write_buffer_max,json=writeBufferMax,proto3" json:"write_buffer_max,omitempty"`
WriteBatchSize int32 `protobuf:"varint,4,opt,name=write_batch_size,json=writeBatchSize,proto3" json:"write_batch_size,omitempty"`
FlushIntervalMs int32 `protobuf:"varint,5,opt,name=flush_interval_ms,json=flushIntervalMs,proto3" json:"flush_interval_ms,omitempty"`
}
func (x *JobExecutionSettings) Reset() {
*x = JobExecutionSettings{}
if protoimpl.UnsafeEnabled {
mi := &file_settings_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *JobExecutionSettings) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*JobExecutionSettings) ProtoMessage() {}
func (x *JobExecutionSettings) ProtoReflect() protoreflect.Message {
mi := &file_settings_proto_msgTypes[2]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use JobExecutionSettings.ProtoReflect.Descriptor instead.
func (*JobExecutionSettings) Descriptor() ([]byte, []int) {
return file_settings_proto_rawDescGZIP(), []int{2}
}
func (x *JobExecutionSettings) GetReadBatch() int32 {
if x != nil {
return x.ReadBatch
}
return 0
}
func (x *JobExecutionSettings) GetReadBufferMax() int32 {
if x != nil {
return x.ReadBufferMax
}
return 0
}
func (x *JobExecutionSettings) GetWriteBufferMax() int32 {
if x != nil {
return x.WriteBufferMax
}
return 0
}
func (x *JobExecutionSettings) GetWriteBatchSize() int32 {
if x != nil {
return x.WriteBatchSize
}
return 0
}
func (x *JobExecutionSettings) GetFlushIntervalMs() int32 {
if x != nil {
return x.FlushIntervalMs
}
return 0
}
// Generation preferences; storage paths remain deployment resources.
type PreviewSettings struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Generators []*PreviewGeneratorSettings `protobuf:"bytes,1,rep,name=generators,proto3" json:"generators,omitempty"`
Enabled bool `protobuf:"varint,2,opt,name=enabled,proto3" json:"enabled,omitempty"`
Command string `protobuf:"bytes,3,opt,name=command,proto3" json:"command,omitempty"`
Concurrency int32 `protobuf:"varint,4,opt,name=concurrency,proto3" json:"concurrency,omitempty"`
TimeoutSeconds int32 `protobuf:"varint,5,opt,name=timeout_seconds,json=timeoutSeconds,proto3" json:"timeout_seconds,omitempty"`
MaxInputPixels int64 `protobuf:"varint,6,opt,name=max_input_pixels,json=maxInputPixels,proto3" json:"max_input_pixels,omitempty"`
}
func (x *PreviewSettings) Reset() {
*x = PreviewSettings{}
if protoimpl.UnsafeEnabled {
mi := &file_settings_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *PreviewSettings) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*PreviewSettings) ProtoMessage() {}
func (x *PreviewSettings) ProtoReflect() protoreflect.Message {
mi := &file_settings_proto_msgTypes[3]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use PreviewSettings.ProtoReflect.Descriptor instead.
func (*PreviewSettings) Descriptor() ([]byte, []int) {
return file_settings_proto_rawDescGZIP(), []int{3}
}
func (x *PreviewSettings) GetGenerators() []*PreviewGeneratorSettings {
if x != nil {
return x.Generators
}
return nil
}
func (x *PreviewSettings) GetEnabled() bool {
if x != nil {
return x.Enabled
}
return false
}
func (x *PreviewSettings) GetCommand() string {
if x != nil {
return x.Command
}
return ""
}
func (x *PreviewSettings) GetConcurrency() int32 {
if x != nil {
return x.Concurrency
}
return 0
}
func (x *PreviewSettings) GetTimeoutSeconds() int32 {
if x != nil {
return x.TimeoutSeconds
}
return 0
}
func (x *PreviewSettings) GetMaxInputPixels() int64 {
if x != nil {
return x.MaxInputPixels
}
return 0
}
// The generator routes and output choices frozen when a Job is created. Runtime limits and
// enablement remain live Settings and are intentionally absent.
type PreviewJobSettings struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Generators []*PreviewGeneratorSettings `protobuf:"bytes,1,rep,name=generators,proto3" json:"generators,omitempty"`
}
func (x *PreviewJobSettings) Reset() {
*x = PreviewJobSettings{}
if protoimpl.UnsafeEnabled {
mi := &file_settings_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *PreviewJobSettings) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*PreviewJobSettings) ProtoMessage() {}
func (x *PreviewJobSettings) ProtoReflect() protoreflect.Message {
mi := &file_settings_proto_msgTypes[4]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use PreviewJobSettings.ProtoReflect.Descriptor instead.
func (*PreviewJobSettings) Descriptor() ([]byte, []int) {
return file_settings_proto_rawDescGZIP(), []int{4}
}
func (x *PreviewJobSettings) GetGenerators() []*PreviewGeneratorSettings {
if x != nil {
return x.Generators
}
return nil
}
type PreviewExtension struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Enabled bool `protobuf:"varint,2,opt,name=enabled,proto3" json:"enabled,omitempty"`
}
func (x *PreviewExtension) Reset() {
*x = PreviewExtension{}
if protoimpl.UnsafeEnabled {
mi := &file_settings_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *PreviewExtension) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*PreviewExtension) ProtoMessage() {}
func (x *PreviewExtension) ProtoReflect() protoreflect.Message {
mi := &file_settings_proto_msgTypes[5]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use PreviewExtension.ProtoReflect.Descriptor instead.
func (*PreviewExtension) Descriptor() ([]byte, []int) {
return file_settings_proto_rawDescGZIP(), []int{5}
}
func (x *PreviewExtension) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *PreviewExtension) GetEnabled() bool {
if x != nil {
return x.Enabled
}
return false
}
type PreviewGeneratorSettings struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
Extensions []*PreviewExtension `protobuf:"bytes,2,rep,name=extensions,proto3" json:"extensions,omitempty"`
// Types that are assignable to Options:
//
// *PreviewGeneratorSettings_Image
// *PreviewGeneratorSettings_Video
Options isPreviewGeneratorSettings_Options `protobuf_oneof:"options"`
}
func (x *PreviewGeneratorSettings) Reset() {
*x = PreviewGeneratorSettings{}
if protoimpl.UnsafeEnabled {
mi := &file_settings_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *PreviewGeneratorSettings) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*PreviewGeneratorSettings) ProtoMessage() {}
func (x *PreviewGeneratorSettings) ProtoReflect() protoreflect.Message {
mi := &file_settings_proto_msgTypes[6]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use PreviewGeneratorSettings.ProtoReflect.Descriptor instead.
func (*PreviewGeneratorSettings) Descriptor() ([]byte, []int) {
return file_settings_proto_rawDescGZIP(), []int{6}
}
func (x *PreviewGeneratorSettings) GetEnabled() bool {
if x != nil {
return x.Enabled
}
return false
}
func (x *PreviewGeneratorSettings) GetExtensions() []*PreviewExtension {
if x != nil {
return x.Extensions
}
return nil
}
func (m *PreviewGeneratorSettings) GetOptions() isPreviewGeneratorSettings_Options {
if m != nil {
return m.Options
}
return nil
}
func (x *PreviewGeneratorSettings) GetImage() *ImagePreviewSettings {
if x, ok := x.GetOptions().(*PreviewGeneratorSettings_Image); ok {
return x.Image
}
return nil
}
func (x *PreviewGeneratorSettings) GetVideo() *VideoPreviewSettings {
if x, ok := x.GetOptions().(*PreviewGeneratorSettings_Video); ok {
return x.Video
}
return nil
}
type isPreviewGeneratorSettings_Options interface {
isPreviewGeneratorSettings_Options()
}
type PreviewGeneratorSettings_Image struct {
Image *ImagePreviewSettings `protobuf:"bytes,3,opt,name=image,proto3,oneof"`
}
type PreviewGeneratorSettings_Video struct {
Video *VideoPreviewSettings `protobuf:"bytes,4,opt,name=video,proto3,oneof"`
}
func (*PreviewGeneratorSettings_Image) isPreviewGeneratorSettings_Options() {}
func (*PreviewGeneratorSettings_Video) isPreviewGeneratorSettings_Options() {}
type ImagePreviewSettings struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
MaxWidth int32 `protobuf:"varint,1,opt,name=max_width,json=maxWidth,proto3" json:"max_width,omitempty"`
MaxHeight int32 `protobuf:"varint,2,opt,name=max_height,json=maxHeight,proto3" json:"max_height,omitempty"`
Format string `protobuf:"bytes,3,opt,name=format,proto3" json:"format,omitempty"`
Quality int32 `protobuf:"varint,4,opt,name=quality,proto3" json:"quality,omitempty"`
}
func (x *ImagePreviewSettings) Reset() {
*x = ImagePreviewSettings{}
if protoimpl.UnsafeEnabled {
mi := &file_settings_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ImagePreviewSettings) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ImagePreviewSettings) ProtoMessage() {}
func (x *ImagePreviewSettings) ProtoReflect() protoreflect.Message {
mi := &file_settings_proto_msgTypes[7]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ImagePreviewSettings.ProtoReflect.Descriptor instead.
func (*ImagePreviewSettings) Descriptor() ([]byte, []int) {
return file_settings_proto_rawDescGZIP(), []int{7}
}
func (x *ImagePreviewSettings) GetMaxWidth() int32 {
if x != nil {
return x.MaxWidth
}
return 0
}
func (x *ImagePreviewSettings) GetMaxHeight() int32 {
if x != nil {
return x.MaxHeight
}
return 0
}
func (x *ImagePreviewSettings) GetFormat() string {
if x != nil {
return x.Format
}
return ""
}
func (x *ImagePreviewSettings) GetQuality() int32 {
if x != nil {
return x.Quality
}
return 0
}
type VideoPreviewSettings struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
PosterWidth int32 `protobuf:"varint,1,opt,name=poster_width,json=posterWidth,proto3" json:"poster_width,omitempty"`
PosterHeight int32 `protobuf:"varint,2,opt,name=poster_height,json=posterHeight,proto3" json:"poster_height,omitempty"`
TimelineWidth int32 `protobuf:"varint,3,opt,name=timeline_width,json=timelineWidth,proto3" json:"timeline_width,omitempty"`
TimelineHeight int32 `protobuf:"varint,4,opt,name=timeline_height,json=timelineHeight,proto3" json:"timeline_height,omitempty"`
TimelineIntervalSeconds int32 `protobuf:"varint,5,opt,name=timeline_interval_seconds,json=timelineIntervalSeconds,proto3" json:"timeline_interval_seconds,omitempty"`
TimelineMaxFrames int32 `protobuf:"varint,6,opt,name=timeline_max_frames,json=timelineMaxFrames,proto3" json:"timeline_max_frames,omitempty"`
Format string `protobuf:"bytes,7,opt,name=format,proto3" json:"format,omitempty"`
Quality int32 `protobuf:"varint,8,opt,name=quality,proto3" json:"quality,omitempty"`
}
func (x *VideoPreviewSettings) Reset() {
*x = VideoPreviewSettings{}
if protoimpl.UnsafeEnabled {
mi := &file_settings_proto_msgTypes[8]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *VideoPreviewSettings) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*VideoPreviewSettings) ProtoMessage() {}
func (x *VideoPreviewSettings) ProtoReflect() protoreflect.Message {
mi := &file_settings_proto_msgTypes[8]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use VideoPreviewSettings.ProtoReflect.Descriptor instead.
func (*VideoPreviewSettings) Descriptor() ([]byte, []int) {
return file_settings_proto_rawDescGZIP(), []int{8}
}
func (x *VideoPreviewSettings) GetPosterWidth() int32 {
if x != nil {
return x.PosterWidth
}
return 0
}
func (x *VideoPreviewSettings) GetPosterHeight() int32 {
if x != nil {
return x.PosterHeight
}
return 0
}
func (x *VideoPreviewSettings) GetTimelineWidth() int32 {
if x != nil {
return x.TimelineWidth
}
return 0
}
func (x *VideoPreviewSettings) GetTimelineHeight() int32 {
if x != nil {
return x.TimelineHeight
}
return 0
}
func (x *VideoPreviewSettings) GetTimelineIntervalSeconds() int32 {
if x != nil {
return x.TimelineIntervalSeconds
}
return 0
}
func (x *VideoPreviewSettings) GetTimelineMaxFrames() int32 {
if x != nil {
return x.TimelineMaxFrames
}
return 0
}
func (x *VideoPreviewSettings) GetFormat() string {
if x != nil {
return x.Format
}
return ""
}
func (x *VideoPreviewSettings) GetQuality() int32 {
if x != nil {
return x.Quality
}
return 0
}
type SettingsValue struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// Types that are assignable to Value:
//
// *SettingsValue_Library
// *SettingsValue_Preview
// *SettingsValue_Job
Value isSettingsValue_Value `protobuf_oneof:"value"`
}
func (x *SettingsValue) Reset() {
*x = SettingsValue{}
if protoimpl.UnsafeEnabled {
mi := &file_settings_proto_msgTypes[9]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *SettingsValue) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SettingsValue) ProtoMessage() {}
func (x *SettingsValue) ProtoReflect() protoreflect.Message {
mi := &file_settings_proto_msgTypes[9]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use SettingsValue.ProtoReflect.Descriptor instead.
func (*SettingsValue) Descriptor() ([]byte, []int) {
return file_settings_proto_rawDescGZIP(), []int{9}
}
func (m *SettingsValue) GetValue() isSettingsValue_Value {
if m != nil {
return m.Value
}
return nil
}
func (x *SettingsValue) GetLibrary() *LibrarySettings {
if x, ok := x.GetValue().(*SettingsValue_Library); ok {
return x.Library
}
return nil
}
func (x *SettingsValue) GetPreview() *PreviewSettings {
if x, ok := x.GetValue().(*SettingsValue_Preview); ok {
return x.Preview
}
return nil
}
func (x *SettingsValue) GetJob() *JobSettings {
if x, ok := x.GetValue().(*SettingsValue_Job); ok {
return x.Job
}
return nil
}
type isSettingsValue_Value interface {
isSettingsValue_Value()
}
type SettingsValue_Library struct {
Library *LibrarySettings `protobuf:"bytes,1,opt,name=library,proto3,oneof"`
}
type SettingsValue_Preview struct {
Preview *PreviewSettings `protobuf:"bytes,2,opt,name=preview,proto3,oneof"`
}
type SettingsValue_Job struct {
Job *JobSettings `protobuf:"bytes,3,opt,name=job,proto3,oneof"`
}
func (*SettingsValue_Library) isSettingsValue_Value() {}
func (*SettingsValue_Preview) isSettingsValue_Value() {}
func (*SettingsValue_Job) isSettingsValue_Value() {}
type GetSettingsRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Group SettingsGroup `protobuf:"varint,1,opt,name=group,proto3,enum=yatm.v1.SettingsGroup" json:"group,omitempty"`
}
func (x *GetSettingsRequest) Reset() {
*x = GetSettingsRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_settings_proto_msgTypes[10]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *GetSettingsRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetSettingsRequest) ProtoMessage() {}
func (x *GetSettingsRequest) ProtoReflect() protoreflect.Message {
mi := &file_settings_proto_msgTypes[10]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GetSettingsRequest.ProtoReflect.Descriptor instead.
func (*GetSettingsRequest) Descriptor() ([]byte, []int) {
return file_settings_proto_rawDescGZIP(), []int{10}
}
func (x *GetSettingsRequest) GetGroup() SettingsGroup {
if x != nil {
return x.Group
}
return SettingsGroup_SETTINGS_GROUP_UNSPECIFIED
}
type GetSettingsResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Value *SettingsValue `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
}
func (x *GetSettingsResponse) Reset() {
*x = GetSettingsResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_settings_proto_msgTypes[11]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *GetSettingsResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetSettingsResponse) ProtoMessage() {}
func (x *GetSettingsResponse) ProtoReflect() protoreflect.Message {
mi := &file_settings_proto_msgTypes[11]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GetSettingsResponse.ProtoReflect.Descriptor instead.
func (*GetSettingsResponse) Descriptor() ([]byte, []int) {
return file_settings_proto_rawDescGZIP(), []int{11}
}
func (x *GetSettingsResponse) GetValue() *SettingsValue {
if x != nil {
return x.Value
}
return nil
}
type UpdateSettingsRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Value *SettingsValue `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
}
func (x *UpdateSettingsRequest) Reset() {
*x = UpdateSettingsRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_settings_proto_msgTypes[12]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *UpdateSettingsRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UpdateSettingsRequest) ProtoMessage() {}
func (x *UpdateSettingsRequest) ProtoReflect() protoreflect.Message {
mi := &file_settings_proto_msgTypes[12]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use UpdateSettingsRequest.ProtoReflect.Descriptor instead.
func (*UpdateSettingsRequest) Descriptor() ([]byte, []int) {
return file_settings_proto_rawDescGZIP(), []int{12}
}
func (x *UpdateSettingsRequest) GetValue() *SettingsValue {
if x != nil {
return x.Value
}
return nil
}
type UpdateSettingsResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Value *SettingsValue `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
}
func (x *UpdateSettingsResponse) Reset() {
*x = UpdateSettingsResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_settings_proto_msgTypes[13]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *UpdateSettingsResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UpdateSettingsResponse) ProtoMessage() {}
func (x *UpdateSettingsResponse) ProtoReflect() protoreflect.Message {
mi := &file_settings_proto_msgTypes[13]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use UpdateSettingsResponse.ProtoReflect.Descriptor instead.
func (*UpdateSettingsResponse) Descriptor() ([]byte, []int) {
return file_settings_proto_rawDescGZIP(), []int{13}
}
func (x *UpdateSettingsResponse) GetValue() *SettingsValue {
if x != nil {
return x.Value
}
return nil
}
var File_settings_proto protoreflect.FileDescriptor
var file_settings_proto_rawDesc = []byte{
0x0a, 0x0e, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
0x12, 0x07, 0x79, 0x61, 0x74, 0x6d, 0x2e, 0x76, 0x31, 0x22, 0x6e, 0x0a, 0x0f, 0x4c, 0x69, 0x62,
0x72, 0x61, 0x72, 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x34, 0x0a, 0x16,
0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, 0x75, 0x6e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x64,
0x5f, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x14, 0x69, 0x6e,
0x63, 0x6c, 0x75, 0x64, 0x65, 0x55, 0x6e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x46, 0x69, 0x6c,
0x65, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x5f, 0x72, 0x65,
0x6d, 0x6f, 0x76, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x63, 0x6f, 0x6e, 0x66,
0x69, 0x72, 0x6d, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x22, 0x4a, 0x0a, 0x0b, 0x4a, 0x6f, 0x62,
0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x3b, 0x0a, 0x09, 0x65, 0x78, 0x65, 0x63,
0x75, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x79, 0x61,
0x74, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x4a, 0x6f, 0x62, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69,
0x6f, 0x6e, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x09, 0x65, 0x78, 0x65, 0x63,
0x75, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xdd, 0x01, 0x0a, 0x14, 0x4a, 0x6f, 0x62, 0x45, 0x78, 0x65,
0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x1d,
0x0a, 0x0a, 0x72, 0x65, 0x61, 0x64, 0x5f, 0x62, 0x61, 0x74, 0x63, 0x68, 0x18, 0x01, 0x20, 0x01,
0x28, 0x05, 0x52, 0x09, 0x72, 0x65, 0x61, 0x64, 0x42, 0x61, 0x74, 0x63, 0x68, 0x12, 0x26, 0x0a,
0x0f, 0x72, 0x65, 0x61, 0x64, 0x5f, 0x62, 0x75, 0x66, 0x66, 0x65, 0x72, 0x5f, 0x6d, 0x61, 0x78,
0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0d, 0x72, 0x65, 0x61, 0x64, 0x42, 0x75, 0x66, 0x66,
0x65, 0x72, 0x4d, 0x61, 0x78, 0x12, 0x28, 0x0a, 0x10, 0x77, 0x72, 0x69, 0x74, 0x65, 0x5f, 0x62,
0x75, 0x66, 0x66, 0x65, 0x72, 0x5f, 0x6d, 0x61, 0x78, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52,
0x0e, 0x77, 0x72, 0x69, 0x74, 0x65, 0x42, 0x75, 0x66, 0x66, 0x65, 0x72, 0x4d, 0x61, 0x78, 0x12,
0x28, 0x0a, 0x10, 0x77, 0x72, 0x69, 0x74, 0x65, 0x5f, 0x62, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x73,
0x69, 0x7a, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0e, 0x77, 0x72, 0x69, 0x74, 0x65,
0x42, 0x61, 0x74, 0x63, 0x68, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x2a, 0x0a, 0x11, 0x66, 0x6c, 0x75,
0x73, 0x68, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x5f, 0x6d, 0x73, 0x18, 0x05,
0x20, 0x01, 0x28, 0x05, 0x52, 0x0f, 0x66, 0x6c, 0x75, 0x73, 0x68, 0x49, 0x6e, 0x74, 0x65, 0x72,
0x76, 0x61, 0x6c, 0x4d, 0x73, 0x22, 0xfd, 0x01, 0x0a, 0x0f, 0x50, 0x72, 0x65, 0x76, 0x69, 0x65,
0x77, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x41, 0x0a, 0x0a, 0x67, 0x65, 0x6e,
0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e,
0x79, 0x61, 0x74, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x47,
0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73,
0x52, 0x0a, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x73, 0x12, 0x18, 0x0a, 0x07,
0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x65,
0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e,
0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64,
0x12, 0x20, 0x0a, 0x0b, 0x63, 0x6f, 0x6e, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x79, 0x18,
0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e,
0x63, 0x79, 0x12, 0x27, 0x0a, 0x0f, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x5f, 0x73, 0x65,
0x63, 0x6f, 0x6e, 0x64, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0e, 0x74, 0x69, 0x6d,
0x65, 0x6f, 0x75, 0x74, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x12, 0x28, 0x0a, 0x10, 0x6d,
0x61, 0x78, 0x5f, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x5f, 0x70, 0x69, 0x78, 0x65, 0x6c, 0x73, 0x18,
0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x6d, 0x61, 0x78, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x50,
0x69, 0x78, 0x65, 0x6c, 0x73, 0x22, 0x57, 0x0a, 0x12, 0x50, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77,
0x4a, 0x6f, 0x62, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x41, 0x0a, 0x0a, 0x67,
0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32,
0x21, 0x2e, 0x79, 0x61, 0x74, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x65, 0x76, 0x69, 0x65,
0x77, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e,
0x67, 0x73, 0x52, 0x0a, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x73, 0x22, 0x40,
0x0a, 0x10, 0x50, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69,
0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65,
0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64,
0x22, 0xe8, 0x01, 0x0a, 0x18, 0x50, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x47, 0x65, 0x6e, 0x65,
0x72, 0x61, 0x74, 0x6f, 0x72, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x18, 0x0a,
0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07,
0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x39, 0x0a, 0x0a, 0x65, 0x78, 0x74, 0x65, 0x6e,
0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x79, 0x61,
0x74, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x45, 0x78, 0x74,
0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f,
0x6e, 0x73, 0x12, 0x35, 0x0a, 0x05, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28,
0x0b, 0x32, 0x1d, 0x2e, 0x79, 0x61, 0x74, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6d, 0x61, 0x67,
0x65, 0x50, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73,
0x48, 0x00, 0x52, 0x05, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x35, 0x0a, 0x05, 0x76, 0x69, 0x64,
0x65, 0x6f, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x79, 0x61, 0x74, 0x6d, 0x2e,
0x76, 0x31, 0x2e, 0x56, 0x69, 0x64, 0x65, 0x6f, 0x50, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x53,
0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x48, 0x00, 0x52, 0x05, 0x76, 0x69, 0x64, 0x65, 0x6f,
0x42, 0x09, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x84, 0x01, 0x0a, 0x14,
0x49, 0x6d, 0x61, 0x67, 0x65, 0x50, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x53, 0x65, 0x74, 0x74,
0x69, 0x6e, 0x67, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x78, 0x5f, 0x77, 0x69, 0x64, 0x74,
0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x6d, 0x61, 0x78, 0x57, 0x69, 0x64, 0x74,
0x68, 0x12, 0x1d, 0x0a, 0x0a, 0x6d, 0x61, 0x78, 0x5f, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18,
0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x6d, 0x61, 0x78, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74,
0x12, 0x16, 0x0a, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
0x52, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x71, 0x75, 0x61, 0x6c,
0x69, 0x74, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x71, 0x75, 0x61, 0x6c, 0x69,
0x74, 0x79, 0x22, 0xcc, 0x02, 0x0a, 0x14, 0x56, 0x69, 0x64, 0x65, 0x6f, 0x50, 0x72, 0x65, 0x76,
0x69, 0x65, 0x77, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x70,
0x6f, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x77, 0x69, 0x64, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28,
0x05, 0x52, 0x0b, 0x70, 0x6f, 0x73, 0x74, 0x65, 0x72, 0x57, 0x69, 0x64, 0x74, 0x68, 0x12, 0x23,
0x0a, 0x0d, 0x70, 0x6f, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18,
0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x70, 0x6f, 0x73, 0x74, 0x65, 0x72, 0x48, 0x65, 0x69,
0x67, 0x68, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x74, 0x69, 0x6d, 0x65, 0x6c, 0x69, 0x6e, 0x65, 0x5f,
0x77, 0x69, 0x64, 0x74, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0d, 0x74, 0x69, 0x6d,
0x65, 0x6c, 0x69, 0x6e, 0x65, 0x57, 0x69, 0x64, 0x74, 0x68, 0x12, 0x27, 0x0a, 0x0f, 0x74, 0x69,
0x6d, 0x65, 0x6c, 0x69, 0x6e, 0x65, 0x5f, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x04, 0x20,
0x01, 0x28, 0x05, 0x52, 0x0e, 0x74, 0x69, 0x6d, 0x65, 0x6c, 0x69, 0x6e, 0x65, 0x48, 0x65, 0x69,
0x67, 0x68, 0x74, 0x12, 0x3a, 0x0a, 0x19, 0x74, 0x69, 0x6d, 0x65, 0x6c, 0x69, 0x6e, 0x65, 0x5f,
0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x5f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73,
0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x17, 0x74, 0x69, 0x6d, 0x65, 0x6c, 0x69, 0x6e, 0x65,
0x49, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x12,
0x2e, 0x0a, 0x13, 0x74, 0x69, 0x6d, 0x65, 0x6c, 0x69, 0x6e, 0x65, 0x5f, 0x6d, 0x61, 0x78, 0x5f,
0x66, 0x72, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x11, 0x74, 0x69,
0x6d, 0x65, 0x6c, 0x69, 0x6e, 0x65, 0x4d, 0x61, 0x78, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x73, 0x12,
0x16, 0x0a, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52,
0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x71, 0x75, 0x61, 0x6c, 0x69,
0x74, 0x79, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x71, 0x75, 0x61, 0x6c, 0x69, 0x74,
0x79, 0x22, 0xae, 0x01, 0x0a, 0x0d, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x56, 0x61,
0x6c, 0x75, 0x65, 0x12, 0x34, 0x0a, 0x07, 0x6c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x18, 0x01,
0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x79, 0x61, 0x74, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x4c,
0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x48, 0x00,
0x52, 0x07, 0x6c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x12, 0x34, 0x0a, 0x07, 0x70, 0x72, 0x65,
0x76, 0x69, 0x65, 0x77, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x79, 0x61, 0x74,
0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x53, 0x65, 0x74, 0x74,
0x69, 0x6e, 0x67, 0x73, 0x48, 0x00, 0x52, 0x07, 0x70, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x12,
0x28, 0x0a, 0x03, 0x6a, 0x6f, 0x62, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x79,
0x61, 0x74, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x4a, 0x6f, 0x62, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e,
0x67, 0x73, 0x48, 0x00, 0x52, 0x03, 0x6a, 0x6f, 0x62, 0x42, 0x07, 0x0a, 0x05, 0x76, 0x61, 0x6c,
0x75, 0x65, 0x22, 0x42, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67,
0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2c, 0x0a, 0x05, 0x67, 0x72, 0x6f, 0x75,
0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x16, 0x2e, 0x79, 0x61, 0x74, 0x6d, 0x2e, 0x76,
0x31, 0x2e, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52,
0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x22, 0x43, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x53, 0x65, 0x74,
0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2c, 0x0a,
0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x79,
0x61, 0x74, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x56,
0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x45, 0x0a, 0x15, 0x55,
0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65, 0x71,
0x75, 0x65, 0x73, 0x74, 0x12, 0x2c, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20,
0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x79, 0x61, 0x74, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65,
0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c,
0x75, 0x65, 0x22, 0x46, 0x0a, 0x16, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x74, 0x74,
0x69, 0x6e, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2c, 0x0a, 0x05,
0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x79, 0x61,
0x74, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x56, 0x61,
0x6c, 0x75, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x2a, 0x7f, 0x0a, 0x0d, 0x53, 0x65,
0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x1e, 0x0a, 0x1a, 0x53,
0x45, 0x54, 0x54, 0x49, 0x4e, 0x47, 0x53, 0x5f, 0x47, 0x52, 0x4f, 0x55, 0x50, 0x5f, 0x55, 0x4e,
0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x1a, 0x0a, 0x16, 0x53,
0x45, 0x54, 0x54, 0x49, 0x4e, 0x47, 0x53, 0x5f, 0x47, 0x52, 0x4f, 0x55, 0x50, 0x5f, 0x4c, 0x49,
0x42, 0x52, 0x41, 0x52, 0x59, 0x10, 0x01, 0x12, 0x1a, 0x0a, 0x16, 0x53, 0x45, 0x54, 0x54, 0x49,
0x4e, 0x47, 0x53, 0x5f, 0x47, 0x52, 0x4f, 0x55, 0x50, 0x5f, 0x50, 0x52, 0x45, 0x56, 0x49, 0x45,
0x57, 0x10, 0x02, 0x12, 0x16, 0x0a, 0x12, 0x53, 0x45, 0x54, 0x54, 0x49, 0x4e, 0x47, 0x53, 0x5f,
0x47, 0x52, 0x4f, 0x55, 0x50, 0x5f, 0x4a, 0x4f, 0x42, 0x10, 0x03, 0x32, 0xa2, 0x01, 0x0a, 0x0f,
0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12,
0x42, 0x0a, 0x03, 0x47, 0x65, 0x74, 0x12, 0x1b, 0x2e, 0x79, 0x61, 0x74, 0x6d, 0x2e, 0x76, 0x31,
0x2e, 0x47, 0x65, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75,
0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x79, 0x61, 0x74, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65,
0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
0x65, 0x22, 0x00, 0x12, 0x4b, 0x0a, 0x06, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x1e, 0x2e,
0x79, 0x61, 0x74, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65,
0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e,
0x79, 0x61, 0x74, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65,
0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00,
0x42, 0x2a, 0x5a, 0x28, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73,
0x61, 0x6d, 0x75, 0x65, 0x6c, 0x6e, 0x63, 0x75, 0x69, 0x2f, 0x79, 0x61, 0x74, 0x6d, 0x2f, 0x65,
0x6e, 0x74, 0x69, 0x74, 0x79, 0x3b, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x62, 0x06, 0x70, 0x72,
0x6f, 0x74, 0x6f, 0x33,
}
var (
file_settings_proto_rawDescOnce sync.Once
file_settings_proto_rawDescData = file_settings_proto_rawDesc
)
func file_settings_proto_rawDescGZIP() []byte {
file_settings_proto_rawDescOnce.Do(func() {
file_settings_proto_rawDescData = protoimpl.X.CompressGZIP(file_settings_proto_rawDescData)
})
return file_settings_proto_rawDescData
}
var file_settings_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
var file_settings_proto_msgTypes = make([]protoimpl.MessageInfo, 14)
var file_settings_proto_goTypes = []interface{}{
(SettingsGroup)(0), // 0: yatm.v1.SettingsGroup
(*LibrarySettings)(nil), // 1: yatm.v1.LibrarySettings
(*JobSettings)(nil), // 2: yatm.v1.JobSettings
(*JobExecutionSettings)(nil), // 3: yatm.v1.JobExecutionSettings
(*PreviewSettings)(nil), // 4: yatm.v1.PreviewSettings
(*PreviewJobSettings)(nil), // 5: yatm.v1.PreviewJobSettings
(*PreviewExtension)(nil), // 6: yatm.v1.PreviewExtension
(*PreviewGeneratorSettings)(nil), // 7: yatm.v1.PreviewGeneratorSettings
(*ImagePreviewSettings)(nil), // 8: yatm.v1.ImagePreviewSettings
(*VideoPreviewSettings)(nil), // 9: yatm.v1.VideoPreviewSettings
(*SettingsValue)(nil), // 10: yatm.v1.SettingsValue
(*GetSettingsRequest)(nil), // 11: yatm.v1.GetSettingsRequest
(*GetSettingsResponse)(nil), // 12: yatm.v1.GetSettingsResponse
(*UpdateSettingsRequest)(nil), // 13: yatm.v1.UpdateSettingsRequest
(*UpdateSettingsResponse)(nil), // 14: yatm.v1.UpdateSettingsResponse
}
var file_settings_proto_depIdxs = []int32{
3, // 0: yatm.v1.JobSettings.execution:type_name -> yatm.v1.JobExecutionSettings
7, // 1: yatm.v1.PreviewSettings.generators:type_name -> yatm.v1.PreviewGeneratorSettings
7, // 2: yatm.v1.PreviewJobSettings.generators:type_name -> yatm.v1.PreviewGeneratorSettings
6, // 3: yatm.v1.PreviewGeneratorSettings.extensions:type_name -> yatm.v1.PreviewExtension
8, // 4: yatm.v1.PreviewGeneratorSettings.image:type_name -> yatm.v1.ImagePreviewSettings
9, // 5: yatm.v1.PreviewGeneratorSettings.video:type_name -> yatm.v1.VideoPreviewSettings
1, // 6: yatm.v1.SettingsValue.library:type_name -> yatm.v1.LibrarySettings
4, // 7: yatm.v1.SettingsValue.preview:type_name -> yatm.v1.PreviewSettings
2, // 8: yatm.v1.SettingsValue.job:type_name -> yatm.v1.JobSettings
0, // 9: yatm.v1.GetSettingsRequest.group:type_name -> yatm.v1.SettingsGroup
10, // 10: yatm.v1.GetSettingsResponse.value:type_name -> yatm.v1.SettingsValue
10, // 11: yatm.v1.UpdateSettingsRequest.value:type_name -> yatm.v1.SettingsValue
10, // 12: yatm.v1.UpdateSettingsResponse.value:type_name -> yatm.v1.SettingsValue
11, // 13: yatm.v1.SettingsService.Get:input_type -> yatm.v1.GetSettingsRequest
13, // 14: yatm.v1.SettingsService.Update:input_type -> yatm.v1.UpdateSettingsRequest
12, // 15: yatm.v1.SettingsService.Get:output_type -> yatm.v1.GetSettingsResponse
14, // 16: yatm.v1.SettingsService.Update:output_type -> yatm.v1.UpdateSettingsResponse
15, // [15:17] is the sub-list for method output_type
13, // [13:15] is the sub-list for method input_type
13, // [13:13] is the sub-list for extension type_name
13, // [13:13] is the sub-list for extension extendee
0, // [0:13] is the sub-list for field type_name
}
func init() { file_settings_proto_init() }
func file_settings_proto_init() {
if File_settings_proto != nil {
return
}
if !protoimpl.UnsafeEnabled {
file_settings_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*LibrarySettings); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_settings_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*JobSettings); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_settings_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*JobExecutionSettings); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_settings_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*PreviewSettings); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_settings_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*PreviewJobSettings); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_settings_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*PreviewExtension); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_settings_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*PreviewGeneratorSettings); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_settings_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ImagePreviewSettings); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_settings_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*VideoPreviewSettings); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_settings_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*SettingsValue); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_settings_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*GetSettingsRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_settings_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*GetSettingsResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_settings_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*UpdateSettingsRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_settings_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*UpdateSettingsResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
}
file_settings_proto_msgTypes[6].OneofWrappers = []interface{}{
(*PreviewGeneratorSettings_Image)(nil),
(*PreviewGeneratorSettings_Video)(nil),
}
file_settings_proto_msgTypes[9].OneofWrappers = []interface{}{
(*SettingsValue_Library)(nil),
(*SettingsValue_Preview)(nil),
(*SettingsValue_Job)(nil),
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_settings_proto_rawDesc,
NumEnums: 1,
NumMessages: 14,
NumExtensions: 0,
NumServices: 1,
},
GoTypes: file_settings_proto_goTypes,
DependencyIndexes: file_settings_proto_depIdxs,
EnumInfos: file_settings_proto_enumTypes,
MessageInfos: file_settings_proto_msgTypes,
}.Build()
File_settings_proto = out.File
file_settings_proto_rawDesc = nil
file_settings_proto_goTypes = nil
file_settings_proto_depIdxs = nil
}