Documentation ¶
Index ¶
- Variables
- type Config
- func (*Config) Descriptor() ([]byte, []int)deprecated
- func (x *Config) GetFileName() string
- func (x *Config) GetName() string
- func (x *Config) GetTemplateName() string
- func (x *Config) GetType() Config_Type
- func (*Config) ProtoMessage()
- func (x *Config) ProtoReflect() protoreflect.Message
- func (x *Config) Reset()
- func (x *Config) String() string
- type Config_Type
- func (Config_Type) Descriptor() protoreflect.EnumDescriptor
- func (x Config_Type) Enum() *Config_Type
- func (Config_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x Config_Type) Number() protoreflect.EnumNumber
- func (x Config_Type) String() string
- func (Config_Type) Type() protoreflect.EnumType
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Config_Type_name = map[int32]string{ 0: "Undefined", 1: "Policy", 2: "Proxy", 99: "Other", } Config_Type_value = map[string]int32{ "Undefined": 0, "Policy": 1, "Proxy": 2, "Other": 99, } )
Enum value maps for Config_Type.
View Source
var (
// optional doc.Config config = 50001;
E_Config = &file_config_proto_extTypes[0]
)
Extension fields to descriptorpb.FileOptions.
View Source
var (
// optional bool hide = 50001;
E_Hide = &file_config_proto_extTypes[2]
)
Extension fields to descriptorpb.MessageOptions.
View Source
var (
// optional bool required = 50001;
E_Required = &file_config_proto_extTypes[1]
)
Extension fields to descriptorpb.FieldOptions.
View Source
var File_config_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Type Config_Type `protobuf:"varint,10,opt,name=type,proto3,enum=doc.Config_Type" json:"type,omitempty"` Name string `protobuf:"bytes,20,opt,name=name,proto3" json:"name,omitempty"` FileName string `protobuf:"bytes,30,opt,name=file_name,json=fileName,proto3" json:"file_name,omitempty"` TemplateName string `protobuf:"bytes,40,opt,name=template_name,json=templateName,proto3" json:"template_name,omitempty"` // contains filtered or unexported fields }
func (*Config) Descriptor
deprecated
func (*Config) GetFileName ¶
func (*Config) GetTemplateName ¶
func (*Config) GetType ¶
func (x *Config) GetType() Config_Type
func (*Config) ProtoMessage ¶
func (*Config) ProtoMessage()
func (*Config) ProtoReflect ¶
func (x *Config) ProtoReflect() protoreflect.Message
type Config_Type ¶
type Config_Type int32
const ( Config_Undefined Config_Type = 0 Config_Policy Config_Type = 1 Config_Proxy Config_Type = 2 Config_Other Config_Type = 99 )
func (Config_Type) Descriptor ¶
func (Config_Type) Descriptor() protoreflect.EnumDescriptor
func (Config_Type) Enum ¶
func (x Config_Type) Enum() *Config_Type
func (Config_Type) EnumDescriptor
deprecated
func (Config_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use Config_Type.Descriptor instead.
func (Config_Type) Number ¶
func (x Config_Type) Number() protoreflect.EnumNumber
func (Config_Type) String ¶
func (x Config_Type) String() string
func (Config_Type) Type ¶
func (Config_Type) Type() protoreflect.EnumType
Click to show internal directories.
Click to hide internal directories.