mirror of
https://github.com/onepanelio/onepanel.git
synced 2025-10-30 08:16:23 +08:00
180 lines
5.9 KiB
Go
180 lines
5.9 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// source: common.proto
|
|
|
|
package api
|
|
|
|
import (
|
|
fmt "fmt"
|
|
proto "github.com/golang/protobuf/proto"
|
|
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
|
|
|
|
type Parameter struct {
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
|
Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
|
|
Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
|
|
DisplayName string `protobuf:"bytes,4,opt,name=displayName,proto3" json:"displayName,omitempty"`
|
|
Hint string `protobuf:"bytes,5,opt,name=hint,proto3" json:"hint,omitempty"`
|
|
Required bool `protobuf:"varint,6,opt,name=required,proto3" json:"required,omitempty"`
|
|
Options []*ParameterOption `protobuf:"bytes,7,rep,name=options,proto3" json:"options,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *Parameter) Reset() { *m = Parameter{} }
|
|
func (m *Parameter) String() string { return proto.CompactTextString(m) }
|
|
func (*Parameter) ProtoMessage() {}
|
|
func (*Parameter) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_555bd8c177793206, []int{0}
|
|
}
|
|
|
|
func (m *Parameter) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_Parameter.Unmarshal(m, b)
|
|
}
|
|
func (m *Parameter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_Parameter.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *Parameter) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_Parameter.Merge(m, src)
|
|
}
|
|
func (m *Parameter) XXX_Size() int {
|
|
return xxx_messageInfo_Parameter.Size(m)
|
|
}
|
|
func (m *Parameter) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_Parameter.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_Parameter proto.InternalMessageInfo
|
|
|
|
func (m *Parameter) GetName() string {
|
|
if m != nil {
|
|
return m.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *Parameter) GetValue() string {
|
|
if m != nil {
|
|
return m.Value
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *Parameter) GetType() string {
|
|
if m != nil {
|
|
return m.Type
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *Parameter) GetDisplayName() string {
|
|
if m != nil {
|
|
return m.DisplayName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *Parameter) GetHint() string {
|
|
if m != nil {
|
|
return m.Hint
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *Parameter) GetRequired() bool {
|
|
if m != nil {
|
|
return m.Required
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (m *Parameter) GetOptions() []*ParameterOption {
|
|
if m != nil {
|
|
return m.Options
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ParameterOption struct {
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
|
Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *ParameterOption) Reset() { *m = ParameterOption{} }
|
|
func (m *ParameterOption) String() string { return proto.CompactTextString(m) }
|
|
func (*ParameterOption) ProtoMessage() {}
|
|
func (*ParameterOption) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_555bd8c177793206, []int{1}
|
|
}
|
|
|
|
func (m *ParameterOption) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_ParameterOption.Unmarshal(m, b)
|
|
}
|
|
func (m *ParameterOption) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_ParameterOption.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *ParameterOption) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ParameterOption.Merge(m, src)
|
|
}
|
|
func (m *ParameterOption) XXX_Size() int {
|
|
return xxx_messageInfo_ParameterOption.Size(m)
|
|
}
|
|
func (m *ParameterOption) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ParameterOption.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ParameterOption proto.InternalMessageInfo
|
|
|
|
func (m *ParameterOption) GetName() string {
|
|
if m != nil {
|
|
return m.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *ParameterOption) GetValue() string {
|
|
if m != nil {
|
|
return m.Value
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func init() {
|
|
proto.RegisterType((*Parameter)(nil), "api.Parameter")
|
|
proto.RegisterType((*ParameterOption)(nil), "api.ParameterOption")
|
|
}
|
|
|
|
func init() { proto.RegisterFile("common.proto", fileDescriptor_555bd8c177793206) }
|
|
|
|
var fileDescriptor_555bd8c177793206 = []byte{
|
|
// 195 bytes of a gzipped FileDescriptorProto
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x50, 0x3b, 0x8a, 0xc3, 0x30,
|
|
0x10, 0x45, 0xeb, 0xff, 0x78, 0x61, 0x41, 0xb8, 0x10, 0x5b, 0x09, 0x57, 0xae, 0x54, 0xec, 0x96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