proto

package
v0.3.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 4, 2022 License: Apache-2.0 Imports: 5 Imported by: 3

Documentation

Index

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) Descriptor() ([]byte, []int)

Deprecated: Use Config.ProtoReflect.Descriptor instead.

func (*Config) GetFileName

func (x *Config) GetFileName() string

func (*Config) GetName

func (x *Config) GetName() string

func (*Config) GetTemplateName

func (x *Config) GetTemplateName() string

func (*Config) GetType

func (x *Config) GetType() Config_Type

func (*Config) ProtoMessage

func (*Config) ProtoMessage()

func (*Config) ProtoReflect

func (x *Config) ProtoReflect() protoreflect.Message

func (*Config) Reset

func (x *Config) Reset()

func (*Config) String

func (x *Config) String() string

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) 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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL