// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.8
// 	protoc        v6.32.0
// source: protos/theme.proto

package proto

import (
	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
	emptypb "google.golang.org/protobuf/types/known/emptypb"
	reflect "reflect"
	sync "sync"
	unsafe "unsafe"
)

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 Theme int32

const (
	Theme_LIGHT Theme = 0
	Theme_DARK  Theme = 1
)

// Enum value maps for Theme.
var (
	Theme_name = map[int32]string{
		0: "LIGHT",
		1: "DARK",
	}
	Theme_value = map[string]int32{
		"LIGHT": 0,
		"DARK":  1,
	}
)

func (x Theme) Enum() *Theme {
	p := new(Theme)
	*p = x
	return p
}

func (x Theme) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (Theme) Descriptor() protoreflect.EnumDescriptor {
	return file_protos_theme_proto_enumTypes[0].Descriptor()
}

func (Theme) Type() protoreflect.EnumType {
	return &file_protos_theme_proto_enumTypes[0]
}

func (x Theme) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use Theme.Descriptor instead.
func (Theme) EnumDescriptor() ([]byte, []int) {
	return file_protos_theme_proto_rawDescGZIP(), []int{0}
}

type AccentColor int32

const (
	AccentColor_ORANGE         AccentColor = 0
	AccentColor_BARK           AccentColor = 1
	AccentColor_SAGE           AccentColor = 2
	AccentColor_OLIVE          AccentColor = 3
	AccentColor_VIRIDIAN       AccentColor = 4
	AccentColor_PRUSSIAN_GREEN AccentColor = 5
	AccentColor_BLUE           AccentColor = 6
	AccentColor_PURPLE         AccentColor = 7
	AccentColor_MAGENTA        AccentColor = 8
	AccentColor_RED            AccentColor = 9
)

// Enum value maps for AccentColor.
var (
	AccentColor_name = map[int32]string{
		0: "ORANGE",
		1: "BARK",
		2: "SAGE",
		3: "OLIVE",
		4: "VIRIDIAN",
		5: "PRUSSIAN_GREEN",
		6: "BLUE",
		7: "PURPLE",
		8: "MAGENTA",
		9: "RED",
	}
	AccentColor_value = map[string]int32{
		"ORANGE":         0,
		"BARK":           1,
		"SAGE":           2,
		"OLIVE":          3,
		"VIRIDIAN":       4,
		"PRUSSIAN_GREEN": 5,
		"BLUE":           6,
		"PURPLE":         7,
		"MAGENTA":        8,
		"RED":            9,
	}
)

func (x AccentColor) Enum() *AccentColor {
	p := new(AccentColor)
	*p = x
	return p
}

func (x AccentColor) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (AccentColor) Descriptor() protoreflect.EnumDescriptor {
	return file_protos_theme_proto_enumTypes[1].Descriptor()
}

func (AccentColor) Type() protoreflect.EnumType {
	return &file_protos_theme_proto_enumTypes[1]
}

func (x AccentColor) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use AccentColor.Descriptor instead.
func (AccentColor) EnumDescriptor() ([]byte, []int) {
	return file_protos_theme_proto_rawDescGZIP(), []int{1}
}

type SetThemeRequest struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Theme         Theme                  `protobuf:"varint,1,opt,name=theme,proto3,enum=theme.Theme" json:"theme,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *SetThemeRequest) Reset() {
	*x = SetThemeRequest{}
	mi := &file_protos_theme_proto_msgTypes[0]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *SetThemeRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*SetThemeRequest) ProtoMessage() {}

func (x *SetThemeRequest) ProtoReflect() protoreflect.Message {
	mi := &file_protos_theme_proto_msgTypes[0]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use SetThemeRequest.ProtoReflect.Descriptor instead.
func (*SetThemeRequest) Descriptor() ([]byte, []int) {
	return file_protos_theme_proto_rawDescGZIP(), []int{0}
}

func (x *SetThemeRequest) GetTheme() Theme {
	if x != nil {
		return x.Theme
	}
	return Theme_LIGHT
}

type GetThemeResponse struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Brightness    Theme                  `protobuf:"varint,1,opt,name=brightness,proto3,enum=theme.Theme" json:"brightness,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *GetThemeResponse) Reset() {
	*x = GetThemeResponse{}
	mi := &file_protos_theme_proto_msgTypes[1]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *GetThemeResponse) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*GetThemeResponse) ProtoMessage() {}

func (x *GetThemeResponse) ProtoReflect() protoreflect.Message {
	mi := &file_protos_theme_proto_msgTypes[1]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use GetThemeResponse.ProtoReflect.Descriptor instead.
func (*GetThemeResponse) Descriptor() ([]byte, []int) {
	return file_protos_theme_proto_rawDescGZIP(), []int{1}
}

func (x *GetThemeResponse) GetBrightness() Theme {
	if x != nil {
		return x.Brightness
	}
	return Theme_LIGHT
}

type SetAccentRequest struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	AccentColor   AccentColor            `protobuf:"varint,1,opt,name=accent_color,json=accentColor,proto3,enum=theme.AccentColor" json:"accent_color,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *SetAccentRequest) Reset() {
	*x = SetAccentRequest{}
	mi := &file_protos_theme_proto_msgTypes[2]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *SetAccentRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*SetAccentRequest) ProtoMessage() {}

func (x *SetAccentRequest) ProtoReflect() protoreflect.Message {
	mi := &file_protos_theme_proto_msgTypes[2]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use SetAccentRequest.ProtoReflect.Descriptor instead.
func (*SetAccentRequest) Descriptor() ([]byte, []int) {
	return file_protos_theme_proto_rawDescGZIP(), []int{2}
}

func (x *SetAccentRequest) GetAccentColor() AccentColor {
	if x != nil {
		return x.AccentColor
	}
	return AccentColor_ORANGE
}

type GetAccentResponse struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	AccentColor   AccentColor            `protobuf:"varint,1,opt,name=accent_color,json=accentColor,proto3,enum=theme.AccentColor" json:"accent_color,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *GetAccentResponse) Reset() {
	*x = GetAccentResponse{}
	mi := &file_protos_theme_proto_msgTypes[3]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *GetAccentResponse) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*GetAccentResponse) ProtoMessage() {}

func (x *GetAccentResponse) ProtoReflect() protoreflect.Message {
	mi := &file_protos_theme_proto_msgTypes[3]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use GetAccentResponse.ProtoReflect.Descriptor instead.
func (*GetAccentResponse) Descriptor() ([]byte, []int) {
	return file_protos_theme_proto_rawDescGZIP(), []int{3}
}

func (x *GetAccentResponse) GetAccentColor() AccentColor {
	if x != nil {
		return x.AccentColor
	}
	return AccentColor_ORANGE
}

var File_protos_theme_proto protoreflect.FileDescriptor

const file_protos_theme_proto_rawDesc = "" +
	"\n" +
	"\x12protos/theme.proto\x12\x05theme\x1a\x1bgoogle/protobuf/empty.proto\"5\n" +
	"\x0fSetThemeRequest\x12\"\n" +
	"\x05theme\x18\x01 \x01(\x0e2\f.theme.ThemeR\x05theme\"@\n" +
	"\x10GetThemeResponse\x12,\n" +
	"\n" +
	"brightness\x18\x01 \x01(\x0e2\f.theme.ThemeR\n" +
	"brightness\"I\n" +
	"\x10SetAccentRequest\x125\n" +
	"\faccent_color\x18\x01 \x01(\x0e2\x12.theme.AccentColorR\vaccentColor\"J\n" +
	"\x11GetAccentResponse\x125\n" +
	"\faccent_color\x18\x01 \x01(\x0e2\x12.theme.AccentColorR\vaccentColor*\x1c\n" +
	"\x05Theme\x12\t\n" +
	"\x05LIGHT\x10\x00\x12\b\n" +
	"\x04DARK\x10\x01*\x86\x01\n" +
	"\vAccentColor\x12\n" +
	"\n" +
	"\x06ORANGE\x10\x00\x12\b\n" +
	"\x04BARK\x10\x01\x12\b\n" +
	"\x04SAGE\x10\x02\x12\t\n" +
	"\x05OLIVE\x10\x03\x12\f\n" +
	"\bVIRIDIAN\x10\x04\x12\x12\n" +
	"\x0ePRUSSIAN_GREEN\x10\x05\x12\b\n" +
	"\x04BLUE\x10\x06\x12\n" +
	"\n" +
	"\x06PURPLE\x10\a\x12\v\n" +
	"\aMAGENTA\x10\b\x12\a\n" +
	"\x03RED\x10\t2\x84\x02\n" +
	"\fThemeService\x12:\n" +
	"\bSetTheme\x12\x16.theme.SetThemeRequest\x1a\x16.google.protobuf.Empty\x12;\n" +
	"\bGetTheme\x12\x16.google.protobuf.Empty\x1a\x17.theme.GetThemeResponse\x12<\n" +
	"\tSetAccent\x12\x17.theme.SetAccentRequest\x1a\x16.google.protobuf.Empty\x12=\n" +
	"\tGetAccent\x12\x16.google.protobuf.Empty\x1a\x18.theme.GetAccentResponseB;Z9github.com/canonical/ubuntu-desktop-provision/provd/protob\x06proto3"

var (
	file_protos_theme_proto_rawDescOnce sync.Once
	file_protos_theme_proto_rawDescData []byte
)

func file_protos_theme_proto_rawDescGZIP() []byte {
	file_protos_theme_proto_rawDescOnce.Do(func() {
		file_protos_theme_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_protos_theme_proto_rawDesc), len(file_protos_theme_proto_rawDesc)))
	})
	return file_protos_theme_proto_rawDescData
}

var file_protos_theme_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
var file_protos_theme_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
var file_protos_theme_proto_goTypes = []any{
	(Theme)(0),                // 0: theme.Theme
	(AccentColor)(0),          // 1: theme.AccentColor
	(*SetThemeRequest)(nil),   // 2: theme.SetThemeRequest
	(*GetThemeResponse)(nil),  // 3: theme.GetThemeResponse
	(*SetAccentRequest)(nil),  // 4: theme.SetAccentRequest
	(*GetAccentResponse)(nil), // 5: theme.GetAccentResponse
	(*emptypb.Empty)(nil),     // 6: google.protobuf.Empty
}
var file_protos_theme_proto_depIdxs = []int32{
	0, // 0: theme.SetThemeRequest.theme:type_name -> theme.Theme
	0, // 1: theme.GetThemeResponse.brightness:type_name -> theme.Theme
	1, // 2: theme.SetAccentRequest.accent_color:type_name -> theme.AccentColor
	1, // 3: theme.GetAccentResponse.accent_color:type_name -> theme.AccentColor
	2, // 4: theme.ThemeService.SetTheme:input_type -> theme.SetThemeRequest
	6, // 5: theme.ThemeService.GetTheme:input_type -> google.protobuf.Empty
	4, // 6: theme.ThemeService.SetAccent:input_type -> theme.SetAccentRequest
	6, // 7: theme.ThemeService.GetAccent:input_type -> google.protobuf.Empty
	6, // 8: theme.ThemeService.SetTheme:output_type -> google.protobuf.Empty
	3, // 9: theme.ThemeService.GetTheme:output_type -> theme.GetThemeResponse
	6, // 10: theme.ThemeService.SetAccent:output_type -> google.protobuf.Empty
	5, // 11: theme.ThemeService.GetAccent:output_type -> theme.GetAccentResponse
	8, // [8:12] is the sub-list for method output_type
	4, // [4:8] is the sub-list for method input_type
	4, // [4:4] is the sub-list for extension type_name
	4, // [4:4] is the sub-list for extension extendee
	0, // [0:4] is the sub-list for field type_name
}

func init() { file_protos_theme_proto_init() }
func file_protos_theme_proto_init() {
	if File_protos_theme_proto != nil {
		return
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_protos_theme_proto_rawDesc), len(file_protos_theme_proto_rawDesc)),
			NumEnums:      2,
			NumMessages:   4,
			NumExtensions: 0,
			NumServices:   1,
		},
		GoTypes:           file_protos_theme_proto_goTypes,
		DependencyIndexes: file_protos_theme_proto_depIdxs,
		EnumInfos:         file_protos_theme_proto_enumTypes,
		MessageInfos:      file_protos_theme_proto_msgTypes,
	}.Build()
	File_protos_theme_proto = out.File
	file_protos_theme_proto_goTypes = nil
	file_protos_theme_proto_depIdxs = nil
}
