Files
opencloud/pkg/proto/v0/settings.pb.go
T
2020-04-22 15:51:55 +02:00

922 lines
34 KiB
Go

// Code generated by protoc-gen-go. DO NOT EDIT.
// source: settings.proto
package proto
import (
fmt "fmt"
proto "github.com/golang/protobuf/proto"
_ "github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger/options"
_ "google.golang.org/genproto/googleapis/api/annotations"
math "math"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
// requests and responses
type CreateSettingsBundleRequest struct {
SettingsBundle *SettingsBundle `protobuf:"bytes,1,opt,name=settings_bundle,json=settingsBundle,proto3" json:"settings_bundle,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *CreateSettingsBundleRequest) Reset() { *m = CreateSettingsBundleRequest{} }
func (m *CreateSettingsBundleRequest) String() string { return proto.CompactTextString(m) }
func (*CreateSettingsBundleRequest) ProtoMessage() {}
func (*CreateSettingsBundleRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_6c7cab62fa432213, []int{0}
}
func (m *CreateSettingsBundleRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CreateSettingsBundleRequest.Unmarshal(m, b)
}
func (m *CreateSettingsBundleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CreateSettingsBundleRequest.Marshal(b, m, deterministic)
}
func (m *CreateSettingsBundleRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_CreateSettingsBundleRequest.Merge(m, src)
}
func (m *CreateSettingsBundleRequest) XXX_Size() int {
return xxx_messageInfo_CreateSettingsBundleRequest.Size(m)
}
func (m *CreateSettingsBundleRequest) XXX_DiscardUnknown() {
xxx_messageInfo_CreateSettingsBundleRequest.DiscardUnknown(m)
}
var xxx_messageInfo_CreateSettingsBundleRequest proto.InternalMessageInfo
func (m *CreateSettingsBundleRequest) GetSettingsBundle() *SettingsBundle {
if m != nil {
return m.SettingsBundle
}
return nil
}
type CreateSettingsBundleResponse struct {
SettingsBundle *SettingsBundle `protobuf:"bytes,1,opt,name=settings_bundle,json=settingsBundle,proto3" json:"settings_bundle,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *CreateSettingsBundleResponse) Reset() { *m = CreateSettingsBundleResponse{} }
func (m *CreateSettingsBundleResponse) String() string { return proto.CompactTextString(m) }
func (*CreateSettingsBundleResponse) ProtoMessage() {}
func (*CreateSettingsBundleResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_6c7cab62fa432213, []int{1}
}
func (m *CreateSettingsBundleResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CreateSettingsBundleResponse.Unmarshal(m, b)
}
func (m *CreateSettingsBundleResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CreateSettingsBundleResponse.Marshal(b, m, deterministic)
}
func (m *CreateSettingsBundleResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_CreateSettingsBundleResponse.Merge(m, src)
}
func (m *CreateSettingsBundleResponse) XXX_Size() int {
return xxx_messageInfo_CreateSettingsBundleResponse.Size(m)
}
func (m *CreateSettingsBundleResponse) XXX_DiscardUnknown() {
xxx_messageInfo_CreateSettingsBundleResponse.DiscardUnknown(m)
}
var xxx_messageInfo_CreateSettingsBundleResponse proto.InternalMessageInfo
func (m *CreateSettingsBundleResponse) GetSettingsBundle() *SettingsBundle {
if m != nil {
return m.SettingsBundle
}
return nil
}
type GetSettingsBundleRequest struct {
Extension string `protobuf:"bytes,1,opt,name=extension,proto3" json:"extension,omitempty"`
Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GetSettingsBundleRequest) Reset() { *m = GetSettingsBundleRequest{} }
func (m *GetSettingsBundleRequest) String() string { return proto.CompactTextString(m) }
func (*GetSettingsBundleRequest) ProtoMessage() {}
func (*GetSettingsBundleRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_6c7cab62fa432213, []int{2}
}
func (m *GetSettingsBundleRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetSettingsBundleRequest.Unmarshal(m, b)
}
func (m *GetSettingsBundleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetSettingsBundleRequest.Marshal(b, m, deterministic)
}
func (m *GetSettingsBundleRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetSettingsBundleRequest.Merge(m, src)
}
func (m *GetSettingsBundleRequest) XXX_Size() int {
return xxx_messageInfo_GetSettingsBundleRequest.Size(m)
}
func (m *GetSettingsBundleRequest) XXX_DiscardUnknown() {
xxx_messageInfo_GetSettingsBundleRequest.DiscardUnknown(m)
}
var xxx_messageInfo_GetSettingsBundleRequest proto.InternalMessageInfo
func (m *GetSettingsBundleRequest) GetExtension() string {
if m != nil {
return m.Extension
}
return ""
}
func (m *GetSettingsBundleRequest) GetKey() string {
if m != nil {
return m.Key
}
return ""
}
type GetSettingsBundleResponse struct {
SettingsBundle *SettingsBundle `protobuf:"bytes,1,opt,name=settings_bundle,json=settingsBundle,proto3" json:"settings_bundle,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GetSettingsBundleResponse) Reset() { *m = GetSettingsBundleResponse{} }
func (m *GetSettingsBundleResponse) String() string { return proto.CompactTextString(m) }
func (*GetSettingsBundleResponse) ProtoMessage() {}
func (*GetSettingsBundleResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_6c7cab62fa432213, []int{3}
}
func (m *GetSettingsBundleResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetSettingsBundleResponse.Unmarshal(m, b)
}
func (m *GetSettingsBundleResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetSettingsBundleResponse.Marshal(b, m, deterministic)
}
func (m *GetSettingsBundleResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetSettingsBundleResponse.Merge(m, src)
}
func (m *GetSettingsBundleResponse) XXX_Size() int {
return xxx_messageInfo_GetSettingsBundleResponse.Size(m)
}
func (m *GetSettingsBundleResponse) XXX_DiscardUnknown() {
xxx_messageInfo_GetSettingsBundleResponse.DiscardUnknown(m)
}
var xxx_messageInfo_GetSettingsBundleResponse proto.InternalMessageInfo
func (m *GetSettingsBundleResponse) GetSettingsBundle() *SettingsBundle {
if m != nil {
return m.SettingsBundle
}
return nil
}
type ListSettingsBundlesRequest struct {
Extension string `protobuf:"bytes,1,opt,name=extension,proto3" json:"extension,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ListSettingsBundlesRequest) Reset() { *m = ListSettingsBundlesRequest{} }
func (m *ListSettingsBundlesRequest) String() string { return proto.CompactTextString(m) }
func (*ListSettingsBundlesRequest) ProtoMessage() {}
func (*ListSettingsBundlesRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_6c7cab62fa432213, []int{4}
}
func (m *ListSettingsBundlesRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ListSettingsBundlesRequest.Unmarshal(m, b)
}
func (m *ListSettingsBundlesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ListSettingsBundlesRequest.Marshal(b, m, deterministic)
}
func (m *ListSettingsBundlesRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_ListSettingsBundlesRequest.Merge(m, src)
}
func (m *ListSettingsBundlesRequest) XXX_Size() int {
return xxx_messageInfo_ListSettingsBundlesRequest.Size(m)
}
func (m *ListSettingsBundlesRequest) XXX_DiscardUnknown() {
xxx_messageInfo_ListSettingsBundlesRequest.DiscardUnknown(m)
}
var xxx_messageInfo_ListSettingsBundlesRequest proto.InternalMessageInfo
func (m *ListSettingsBundlesRequest) GetExtension() string {
if m != nil {
return m.Extension
}
return ""
}
type ListSettingsBundlesResponse struct {
SettingsBundles []*SettingsBundle `protobuf:"bytes,1,rep,name=settings_bundles,json=settingsBundles,proto3" json:"settings_bundles,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ListSettingsBundlesResponse) Reset() { *m = ListSettingsBundlesResponse{} }
func (m *ListSettingsBundlesResponse) String() string { return proto.CompactTextString(m) }
func (*ListSettingsBundlesResponse) ProtoMessage() {}
func (*ListSettingsBundlesResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_6c7cab62fa432213, []int{5}
}
func (m *ListSettingsBundlesResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ListSettingsBundlesResponse.Unmarshal(m, b)
}
func (m *ListSettingsBundlesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ListSettingsBundlesResponse.Marshal(b, m, deterministic)
}
func (m *ListSettingsBundlesResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_ListSettingsBundlesResponse.Merge(m, src)
}
func (m *ListSettingsBundlesResponse) XXX_Size() int {
return xxx_messageInfo_ListSettingsBundlesResponse.Size(m)
}
func (m *ListSettingsBundlesResponse) XXX_DiscardUnknown() {
xxx_messageInfo_ListSettingsBundlesResponse.DiscardUnknown(m)
}
var xxx_messageInfo_ListSettingsBundlesResponse proto.InternalMessageInfo
func (m *ListSettingsBundlesResponse) GetSettingsBundles() []*SettingsBundle {
if m != nil {
return m.SettingsBundles
}
return nil
}
// payloads
type SettingsBundle struct {
Extension string `protobuf:"bytes,1,opt,name=extension,proto3" json:"extension,omitempty"`
Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
Settings []*Setting `protobuf:"bytes,4,rep,name=settings,proto3" json:"settings,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *SettingsBundle) Reset() { *m = SettingsBundle{} }
func (m *SettingsBundle) String() string { return proto.CompactTextString(m) }
func (*SettingsBundle) ProtoMessage() {}
func (*SettingsBundle) Descriptor() ([]byte, []int) {
return fileDescriptor_6c7cab62fa432213, []int{6}
}
func (m *SettingsBundle) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SettingsBundle.Unmarshal(m, b)
}
func (m *SettingsBundle) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_SettingsBundle.Marshal(b, m, deterministic)
}
func (m *SettingsBundle) XXX_Merge(src proto.Message) {
xxx_messageInfo_SettingsBundle.Merge(m, src)
}
func (m *SettingsBundle) XXX_Size() int {
return xxx_messageInfo_SettingsBundle.Size(m)
}
func (m *SettingsBundle) XXX_DiscardUnknown() {
xxx_messageInfo_SettingsBundle.DiscardUnknown(m)
}
var xxx_messageInfo_SettingsBundle proto.InternalMessageInfo
func (m *SettingsBundle) GetExtension() string {
if m != nil {
return m.Extension
}
return ""
}
func (m *SettingsBundle) GetKey() string {
if m != nil {
return m.Key
}
return ""
}
func (m *SettingsBundle) GetDisplayName() string {
if m != nil {
return m.DisplayName
}
return ""
}
func (m *SettingsBundle) GetSettings() []*Setting {
if m != nil {
return m.Settings
}
return nil
}
type Setting struct {
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
// Types that are valid to be assigned to Value:
// *Setting_IntValue
// *Setting_StringValue
// *Setting_BoolValue
// *Setting_SingleChoiceValue
// *Setting_MultiChoiceValue
Value isSetting_Value `protobuf_oneof:"value"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Setting) Reset() { *m = Setting{} }
func (m *Setting) String() string { return proto.CompactTextString(m) }
func (*Setting) ProtoMessage() {}
func (*Setting) Descriptor() ([]byte, []int) {
return fileDescriptor_6c7cab62fa432213, []int{7}
}
func (m *Setting) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Setting.Unmarshal(m, b)
}
func (m *Setting) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Setting.Marshal(b, m, deterministic)
}
func (m *Setting) XXX_Merge(src proto.Message) {
xxx_messageInfo_Setting.Merge(m, src)
}
func (m *Setting) XXX_Size() int {
return xxx_messageInfo_Setting.Size(m)
}
func (m *Setting) XXX_DiscardUnknown() {
xxx_messageInfo_Setting.DiscardUnknown(m)
}
var xxx_messageInfo_Setting proto.InternalMessageInfo
func (m *Setting) GetKey() string {
if m != nil {
return m.Key
}
return ""
}
func (m *Setting) GetDisplayName() string {
if m != nil {
return m.DisplayName
}
return ""
}
func (m *Setting) GetDescription() string {
if m != nil {
return m.Description
}
return ""
}
type isSetting_Value interface {
isSetting_Value()
}
type Setting_IntValue struct {
IntValue *IntSetting `protobuf:"bytes,4,opt,name=int_value,json=intValue,proto3,oneof"`
}
type Setting_StringValue struct {
StringValue *StringSetting `protobuf:"bytes,5,opt,name=string_value,json=stringValue,proto3,oneof"`
}
type Setting_BoolValue struct {
BoolValue *BoolSetting `protobuf:"bytes,6,opt,name=bool_value,json=boolValue,proto3,oneof"`
}
type Setting_SingleChoiceValue struct {
SingleChoiceValue *SingleChoiceListSetting `protobuf:"bytes,7,opt,name=single_choice_value,json=singleChoiceValue,proto3,oneof"`
}
type Setting_MultiChoiceValue struct {
MultiChoiceValue *MultiChoiceListSetting `protobuf:"bytes,8,opt,name=multi_choice_value,json=multiChoiceValue,proto3,oneof"`
}
func (*Setting_IntValue) isSetting_Value() {}
func (*Setting_StringValue) isSetting_Value() {}
func (*Setting_BoolValue) isSetting_Value() {}
func (*Setting_SingleChoiceValue) isSetting_Value() {}
func (*Setting_MultiChoiceValue) isSetting_Value() {}
func (m *Setting) GetValue() isSetting_Value {
if m != nil {
return m.Value
}
return nil
}
func (m *Setting) GetIntValue() *IntSetting {
if x, ok := m.GetValue().(*Setting_IntValue); ok {
return x.IntValue
}
return nil
}
func (m *Setting) GetStringValue() *StringSetting {
if x, ok := m.GetValue().(*Setting_StringValue); ok {
return x.StringValue
}
return nil
}
func (m *Setting) GetBoolValue() *BoolSetting {
if x, ok := m.GetValue().(*Setting_BoolValue); ok {
return x.BoolValue
}
return nil
}
func (m *Setting) GetSingleChoiceValue() *SingleChoiceListSetting {
if x, ok := m.GetValue().(*Setting_SingleChoiceValue); ok {
return x.SingleChoiceValue
}
return nil
}
func (m *Setting) GetMultiChoiceValue() *MultiChoiceListSetting {
if x, ok := m.GetValue().(*Setting_MultiChoiceValue); ok {
return x.MultiChoiceValue
}
return nil
}
// XXX_OneofWrappers is for the internal use of the proto package.
func (*Setting) XXX_OneofWrappers() []interface{} {
return []interface{}{
(*Setting_IntValue)(nil),
(*Setting_StringValue)(nil),
(*Setting_BoolValue)(nil),
(*Setting_SingleChoiceValue)(nil),
(*Setting_MultiChoiceValue)(nil),
}
}
type IntSetting struct {
Default int64 `protobuf:"varint,1,opt,name=default,proto3" json:"default,omitempty"`
Min int64 `protobuf:"varint,2,opt,name=min,proto3" json:"min,omitempty"`
Max int64 `protobuf:"varint,3,opt,name=max,proto3" json:"max,omitempty"`
Step int64 `protobuf:"varint,4,opt,name=step,proto3" json:"step,omitempty"`
Placeholder string `protobuf:"bytes,5,opt,name=placeholder,proto3" json:"placeholder,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *IntSetting) Reset() { *m = IntSetting{} }
func (m *IntSetting) String() string { return proto.CompactTextString(m) }
func (*IntSetting) ProtoMessage() {}
func (*IntSetting) Descriptor() ([]byte, []int) {
return fileDescriptor_6c7cab62fa432213, []int{8}
}
func (m *IntSetting) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_IntSetting.Unmarshal(m, b)
}
func (m *IntSetting) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_IntSetting.Marshal(b, m, deterministic)
}
func (m *IntSetting) XXX_Merge(src proto.Message) {
xxx_messageInfo_IntSetting.Merge(m, src)
}
func (m *IntSetting) XXX_Size() int {
return xxx_messageInfo_IntSetting.Size(m)
}
func (m *IntSetting) XXX_DiscardUnknown() {
xxx_messageInfo_IntSetting.DiscardUnknown(m)
}
var xxx_messageInfo_IntSetting proto.InternalMessageInfo
func (m *IntSetting) GetDefault() int64 {
if m != nil {
return m.Default
}
return 0
}
func (m *IntSetting) GetMin() int64 {
if m != nil {
return m.Min
}
return 0
}
func (m *IntSetting) GetMax() int64 {
if m != nil {
return m.Max
}
return 0
}
func (m *IntSetting) GetStep() int64 {
if m != nil {
return m.Step
}
return 0
}
func (m *IntSetting) GetPlaceholder() string {
if m != nil {
return m.Placeholder
}
return ""
}
type StringSetting struct {
Default string `protobuf:"bytes,1,opt,name=default,proto3" json:"default,omitempty"`
Required bool `protobuf:"varint,2,opt,name=required,proto3" json:"required,omitempty"`
MinLength int32 `protobuf:"varint,3,opt,name=min_length,json=minLength,proto3" json:"min_length,omitempty"`
MaxLength int32 `protobuf:"varint,4,opt,name=max_length,json=maxLength,proto3" json:"max_length,omitempty"`
Placeholder string `protobuf:"bytes,5,opt,name=placeholder,proto3" json:"placeholder,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *StringSetting) Reset() { *m = StringSetting{} }
func (m *StringSetting) String() string { return proto.CompactTextString(m) }
func (*StringSetting) ProtoMessage() {}
func (*StringSetting) Descriptor() ([]byte, []int) {
return fileDescriptor_6c7cab62fa432213, []int{9}
}
func (m *StringSetting) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_StringSetting.Unmarshal(m, b)
}
func (m *StringSetting) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_StringSetting.Marshal(b, m, deterministic)
}
func (m *StringSetting) XXX_Merge(src proto.Message) {
xxx_messageInfo_StringSetting.Merge(m, src)
}
func (m *StringSetting) XXX_Size() int {
return xxx_messageInfo_StringSetting.Size(m)
}
func (m *StringSetting) XXX_DiscardUnknown() {
xxx_messageInfo_StringSetting.DiscardUnknown(m)
}
var xxx_messageInfo_StringSetting proto.InternalMessageInfo
func (m *StringSetting) GetDefault() string {
if m != nil {
return m.Default
}
return ""
}
func (m *StringSetting) GetRequired() bool {
if m != nil {
return m.Required
}
return false
}
func (m *StringSetting) GetMinLength() int32 {
if m != nil {
return m.MinLength
}
return 0
}
func (m *StringSetting) GetMaxLength() int32 {
if m != nil {
return m.MaxLength
}
return 0
}
func (m *StringSetting) GetPlaceholder() string {
if m != nil {
return m.Placeholder
}
return ""
}
type BoolSetting struct {
Default bool `protobuf:"varint,1,opt,name=default,proto3" json:"default,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *BoolSetting) Reset() { *m = BoolSetting{} }
func (m *BoolSetting) String() string { return proto.CompactTextString(m) }
func (*BoolSetting) ProtoMessage() {}
func (*BoolSetting) Descriptor() ([]byte, []int) {
return fileDescriptor_6c7cab62fa432213, []int{10}
}
func (m *BoolSetting) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_BoolSetting.Unmarshal(m, b)
}
func (m *BoolSetting) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_BoolSetting.Marshal(b, m, deterministic)
}
func (m *BoolSetting) XXX_Merge(src proto.Message) {
xxx_messageInfo_BoolSetting.Merge(m, src)
}
func (m *BoolSetting) XXX_Size() int {
return xxx_messageInfo_BoolSetting.Size(m)
}
func (m *BoolSetting) XXX_DiscardUnknown() {
xxx_messageInfo_BoolSetting.DiscardUnknown(m)
}
var xxx_messageInfo_BoolSetting proto.InternalMessageInfo
func (m *BoolSetting) GetDefault() bool {
if m != nil {
return m.Default
}
return false
}
type SingleChoiceListSetting struct {
Options []*ListOption `protobuf:"bytes,1,rep,name=options,proto3" json:"options,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *SingleChoiceListSetting) Reset() { *m = SingleChoiceListSetting{} }
func (m *SingleChoiceListSetting) String() string { return proto.CompactTextString(m) }
func (*SingleChoiceListSetting) ProtoMessage() {}
func (*SingleChoiceListSetting) Descriptor() ([]byte, []int) {
return fileDescriptor_6c7cab62fa432213, []int{11}
}
func (m *SingleChoiceListSetting) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SingleChoiceListSetting.Unmarshal(m, b)
}
func (m *SingleChoiceListSetting) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_SingleChoiceListSetting.Marshal(b, m, deterministic)
}
func (m *SingleChoiceListSetting) XXX_Merge(src proto.Message) {
xxx_messageInfo_SingleChoiceListSetting.Merge(m, src)
}
func (m *SingleChoiceListSetting) XXX_Size() int {
return xxx_messageInfo_SingleChoiceListSetting.Size(m)
}
func (m *SingleChoiceListSetting) XXX_DiscardUnknown() {
xxx_messageInfo_SingleChoiceListSetting.DiscardUnknown(m)
}
var xxx_messageInfo_SingleChoiceListSetting proto.InternalMessageInfo
func (m *SingleChoiceListSetting) GetOptions() []*ListOption {
if m != nil {
return m.Options
}
return nil
}
type MultiChoiceListSetting struct {
Options []*ListOption `protobuf:"bytes,1,rep,name=options,proto3" json:"options,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *MultiChoiceListSetting) Reset() { *m = MultiChoiceListSetting{} }
func (m *MultiChoiceListSetting) String() string { return proto.CompactTextString(m) }
func (*MultiChoiceListSetting) ProtoMessage() {}
func (*MultiChoiceListSetting) Descriptor() ([]byte, []int) {
return fileDescriptor_6c7cab62fa432213, []int{12}
}
func (m *MultiChoiceListSetting) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_MultiChoiceListSetting.Unmarshal(m, b)
}
func (m *MultiChoiceListSetting) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_MultiChoiceListSetting.Marshal(b, m, deterministic)
}
func (m *MultiChoiceListSetting) XXX_Merge(src proto.Message) {
xxx_messageInfo_MultiChoiceListSetting.Merge(m, src)
}
func (m *MultiChoiceListSetting) XXX_Size() int {
return xxx_messageInfo_MultiChoiceListSetting.Size(m)
}
func (m *MultiChoiceListSetting) XXX_DiscardUnknown() {
xxx_messageInfo_MultiChoiceListSetting.DiscardUnknown(m)
}
var xxx_messageInfo_MultiChoiceListSetting proto.InternalMessageInfo
func (m *MultiChoiceListSetting) GetOptions() []*ListOption {
if m != nil {
return m.Options
}
return nil
}
type ListOption struct {
// Types that are valid to be assigned to Option:
// *ListOption_StringValue
// *ListOption_IntValue
Option isListOption_Option `protobuf_oneof:"option"`
Selected bool `protobuf:"varint,3,opt,name=selected,proto3" json:"selected,omitempty"`
DisplayValue string `protobuf:"bytes,4,opt,name=display_value,json=displayValue,proto3" json:"display_value,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ListOption) Reset() { *m = ListOption{} }
func (m *ListOption) String() string { return proto.CompactTextString(m) }
func (*ListOption) ProtoMessage() {}
func (*ListOption) Descriptor() ([]byte, []int) {
return fileDescriptor_6c7cab62fa432213, []int{13}
}
func (m *ListOption) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ListOption.Unmarshal(m, b)
}
func (m *ListOption) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ListOption.Marshal(b, m, deterministic)
}
func (m *ListOption) XXX_Merge(src proto.Message) {
xxx_messageInfo_ListOption.Merge(m, src)
}
func (m *ListOption) XXX_Size() int {
return xxx_messageInfo_ListOption.Size(m)
}
func (m *ListOption) XXX_DiscardUnknown() {
xxx_messageInfo_ListOption.DiscardUnknown(m)
}
var xxx_messageInfo_ListOption proto.InternalMessageInfo
type isListOption_Option interface {
isListOption_Option()
}
type ListOption_StringValue struct {
StringValue string `protobuf:"bytes,1,opt,name=string_value,json=stringValue,proto3,oneof"`
}
type ListOption_IntValue struct {
IntValue int64 `protobuf:"varint,2,opt,name=int_value,json=intValue,proto3,oneof"`
}
func (*ListOption_StringValue) isListOption_Option() {}
func (*ListOption_IntValue) isListOption_Option() {}
func (m *ListOption) GetOption() isListOption_Option {
if m != nil {
return m.Option
}
return nil
}
func (m *ListOption) GetStringValue() string {
if x, ok := m.GetOption().(*ListOption_StringValue); ok {
return x.StringValue
}
return ""
}
func (m *ListOption) GetIntValue() int64 {
if x, ok := m.GetOption().(*ListOption_IntValue); ok {
return x.IntValue
}
return 0
}
func (m *ListOption) GetSelected() bool {
if m != nil {
return m.Selected
}
return false
}
func (m *ListOption) GetDisplayValue() string {
if m != nil {
return m.DisplayValue
}
return ""
}
// XXX_OneofWrappers is for the internal use of the proto package.
func (*ListOption) XXX_OneofWrappers() []interface{} {
return []interface{}{
(*ListOption_StringValue)(nil),
(*ListOption_IntValue)(nil),
}
}
func init() {
proto.RegisterType((*CreateSettingsBundleRequest)(nil), "proto.CreateSettingsBundleRequest")
proto.RegisterType((*CreateSettingsBundleResponse)(nil), "proto.CreateSettingsBundleResponse")
proto.RegisterType((*GetSettingsBundleRequest)(nil), "proto.GetSettingsBundleRequest")
proto.RegisterType((*GetSettingsBundleResponse)(nil), "proto.GetSettingsBundleResponse")
proto.RegisterType((*ListSettingsBundlesRequest)(nil), "proto.ListSettingsBundlesRequest")
proto.RegisterType((*ListSettingsBundlesResponse)(nil), "proto.ListSettingsBundlesResponse")
proto.RegisterType((*SettingsBundle)(nil), "proto.SettingsBundle")
proto.RegisterType((*Setting)(nil), "proto.Setting")
proto.RegisterType((*IntSetting)(nil), "proto.IntSetting")
proto.RegisterType((*StringSetting)(nil), "proto.StringSetting")
proto.RegisterType((*BoolSetting)(nil), "proto.BoolSetting")
proto.RegisterType((*SingleChoiceListSetting)(nil), "proto.SingleChoiceListSetting")
proto.RegisterType((*MultiChoiceListSetting)(nil), "proto.MultiChoiceListSetting")
proto.RegisterType((*ListOption)(nil), "proto.ListOption")
}
func init() {
proto.RegisterFile("settings.proto", fileDescriptor_6c7cab62fa432213)
}
var fileDescriptor_6c7cab62fa432213 = []byte{
// 983 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x56, 0x5b, 0x6f, 0xdc, 0x44,
0x14, 0xae, 0x77, 0x73, 0xd9, 0x3d, 0x69, 0x6e, 0xd3, 0x40, 0x17, 0x37, 0x81, 0x8d, 0xf3, 0x00,
0x0d, 0x64, 0x1d, 0x92, 0x27, 0x22, 0x81, 0xda, 0x84, 0x90, 0x14, 0x92, 0x52, 0x39, 0x12, 0x0f,
0x20, 0x58, 0xcd, 0x7a, 0x07, 0xef, 0x50, 0x7b, 0xc6, 0xf5, 0x8c, 0x73, 0x51, 0x54, 0x09, 0x78,
0xe1, 0x11, 0x09, 0x1e, 0x79, 0x43, 0xe2, 0x0d, 0xf8, 0x33, 0xfc, 0x05, 0x7e, 0x08, 0xf2, 0xf1,
0xd8, 0x7b, 0xc9, 0x26, 0xb4, 0x82, 0x27, 0x7b, 0xce, 0xf9, 0xb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