master

package
v0.0.0-...-ab4fb46 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	MessageOption_AccessorType_name = map[int32]string{
		0: "Unknown",
		1: "All",
		2: "OnlyAdmin",
		3: "OnlyServer",
		4: "AdminAndServer",
		5: "AdminAndClient",
	}
	MessageOption_AccessorType_value = map[string]int32{
		"Unknown":        0,
		"All":            1,
		"OnlyAdmin":      2,
		"OnlyServer":     3,
		"AdminAndServer": 4,
		"AdminAndClient": 5,
	}
)

Enum value maps for MessageOption_AccessorType.

View Source
var (
	FieldOption_AccessorType_name = map[int32]string{
		0: "All",
		1: "OnlyAdmin",
		2: "OnlyServer",
		3: "OnlyClient",
		4: "AdminAndServer",
		5: "AdminAndClient",
		6: "ServerAndClient",
	}
	FieldOption_AccessorType_value = map[string]int32{
		"All":             0,
		"OnlyAdmin":       1,
		"OnlyServer":      2,
		"OnlyClient":      3,
		"AdminAndServer":  4,
		"AdminAndClient":  5,
		"ServerAndClient": 6,
	}
)

Enum value maps for FieldOption_AccessorType.

View Source
var (
	// optional server.options.master.FieldOption field = 52002;
	E_Field = &file_server_options_master_options_proto_extTypes[1]
)

Extension fields to descriptorpb.FieldOptions.

View Source
var (
	// optional server.options.master.MessageOption message = 52001;
	E_Message = &file_server_options_master_options_proto_extTypes[0]
)

Extension fields to descriptorpb.MessageOptions.

View Source
var File_server_options_master_options_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type FieldOption

type FieldOption struct {
	AccessorType FieldOption_AccessorType  `` /* 150-byte string literal not displayed */
	Ddl          *FieldOption_DDL          `protobuf:"bytes,2,opt,name=ddl,proto3" json:"ddl,omitempty"`
	Validations  []*FieldOption_Validation `protobuf:"bytes,3,rep,name=validations,proto3" json:"validations,omitempty"`
	// contains filtered or unexported fields
}

func (*FieldOption) Descriptor deprecated

func (*FieldOption) Descriptor() ([]byte, []int)

Deprecated: Use FieldOption.ProtoReflect.Descriptor instead.

func (*FieldOption) GetAccessorType

func (x *FieldOption) GetAccessorType() FieldOption_AccessorType

func (*FieldOption) GetDdl

func (x *FieldOption) GetDdl() *FieldOption_DDL

func (*FieldOption) GetValidations

func (x *FieldOption) GetValidations() []*FieldOption_Validation

func (*FieldOption) ProtoMessage

func (*FieldOption) ProtoMessage()

func (*FieldOption) ProtoReflect

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

func (*FieldOption) Reset

func (x *FieldOption) Reset()

func (*FieldOption) String

func (x *FieldOption) String() string

type FieldOption_AccessorType

type FieldOption_AccessorType int32
const (
	FieldOption_All             FieldOption_AccessorType = 0
	FieldOption_OnlyAdmin       FieldOption_AccessorType = 1
	FieldOption_OnlyServer      FieldOption_AccessorType = 2
	FieldOption_OnlyClient      FieldOption_AccessorType = 3
	FieldOption_AdminAndServer  FieldOption_AccessorType = 4
	FieldOption_AdminAndClient  FieldOption_AccessorType = 5
	FieldOption_ServerAndClient FieldOption_AccessorType = 6
)

func (FieldOption_AccessorType) Descriptor

func (FieldOption_AccessorType) Enum

func (FieldOption_AccessorType) EnumDescriptor deprecated

func (FieldOption_AccessorType) EnumDescriptor() ([]byte, []int)

Deprecated: Use FieldOption_AccessorType.Descriptor instead.

func (FieldOption_AccessorType) Number

func (FieldOption_AccessorType) String

func (x FieldOption_AccessorType) String() string

func (FieldOption_AccessorType) Type

type FieldOption_DDL

type FieldOption_DDL struct {
	Pk       bool                `protobuf:"varint,1,opt,name=pk,proto3" json:"pk,omitempty"`
	Fk       *FieldOption_DDL_FK `protobuf:"bytes,2,opt,name=fk,proto3" json:"fk,omitempty"`
	Size     uint32              `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"`
	Nullable bool                `protobuf:"varint,4,opt,name=nullable,proto3" json:"nullable,omitempty"`
	// contains filtered or unexported fields
}

func (*FieldOption_DDL) Descriptor deprecated

func (*FieldOption_DDL) Descriptor() ([]byte, []int)

Deprecated: Use FieldOption_DDL.ProtoReflect.Descriptor instead.

func (*FieldOption_DDL) GetFk

func (x *FieldOption_DDL) GetFk() *FieldOption_DDL_FK

func (*FieldOption_DDL) GetNullable

func (x *FieldOption_DDL) GetNullable() bool

func (*FieldOption_DDL) GetPk

func (x *FieldOption_DDL) GetPk() bool

func (*FieldOption_DDL) GetSize

func (x *FieldOption_DDL) GetSize() uint32

func (*FieldOption_DDL) ProtoMessage

func (*FieldOption_DDL) ProtoMessage()

func (*FieldOption_DDL) ProtoReflect

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

func (*FieldOption_DDL) Reset

func (x *FieldOption_DDL) Reset()

func (*FieldOption_DDL) String

func (x *FieldOption_DDL) String() string

type FieldOption_DDL_FK

type FieldOption_DDL_FK struct {
	Table         string   `protobuf:"bytes,1,opt,name=table,proto3" json:"table,omitempty"`
	Column        string   `protobuf:"bytes,2,opt,name=column,proto3" json:"column,omitempty"`
	ParentColumns []string `protobuf:"bytes,3,rep,name=parentColumns,proto3" json:"parentColumns,omitempty"`
	// contains filtered or unexported fields
}

func (*FieldOption_DDL_FK) Descriptor deprecated

func (*FieldOption_DDL_FK) Descriptor() ([]byte, []int)

Deprecated: Use FieldOption_DDL_FK.ProtoReflect.Descriptor instead.

func (*FieldOption_DDL_FK) GetColumn

func (x *FieldOption_DDL_FK) GetColumn() string

func (*FieldOption_DDL_FK) GetParentColumns

func (x *FieldOption_DDL_FK) GetParentColumns() []string

func (*FieldOption_DDL_FK) GetTable

func (x *FieldOption_DDL_FK) GetTable() string

func (*FieldOption_DDL_FK) ProtoMessage

func (*FieldOption_DDL_FK) ProtoMessage()

func (*FieldOption_DDL_FK) ProtoReflect

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

func (*FieldOption_DDL_FK) Reset

func (x *FieldOption_DDL_FK) Reset()

func (*FieldOption_DDL_FK) String

func (x *FieldOption_DDL_FK) String() string

type FieldOption_Validation

type FieldOption_Validation struct {
	Key   string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*FieldOption_Validation) Descriptor deprecated

func (*FieldOption_Validation) Descriptor() ([]byte, []int)

Deprecated: Use FieldOption_Validation.ProtoReflect.Descriptor instead.

func (*FieldOption_Validation) GetKey

func (x *FieldOption_Validation) GetKey() string

func (*FieldOption_Validation) GetValue

func (x *FieldOption_Validation) GetValue() string

func (*FieldOption_Validation) ProtoMessage

func (*FieldOption_Validation) ProtoMessage()

func (*FieldOption_Validation) ProtoReflect

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

func (*FieldOption_Validation) Reset

func (x *FieldOption_Validation) Reset()

func (*FieldOption_Validation) String

func (x *FieldOption_Validation) String() string

type MessageOption

type MessageOption struct {
	AccessorType MessageOption_AccessorType `` /* 152-byte string literal not displayed */
	Ddl          *MessageOption_DDL         `protobuf:"bytes,2,opt,name=ddl,proto3" json:"ddl,omitempty"`
	// contains filtered or unexported fields
}

func (*MessageOption) Descriptor deprecated

func (*MessageOption) Descriptor() ([]byte, []int)

Deprecated: Use MessageOption.ProtoReflect.Descriptor instead.

func (*MessageOption) GetAccessorType

func (x *MessageOption) GetAccessorType() MessageOption_AccessorType

func (*MessageOption) GetDdl

func (x *MessageOption) GetDdl() *MessageOption_DDL

func (*MessageOption) ProtoMessage

func (*MessageOption) ProtoMessage()

func (*MessageOption) ProtoReflect

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

func (*MessageOption) Reset

func (x *MessageOption) Reset()

func (*MessageOption) String

func (x *MessageOption) String() string

type MessageOption_AccessorType

type MessageOption_AccessorType int32
const (
	MessageOption_Unknown        MessageOption_AccessorType = 0
	MessageOption_All            MessageOption_AccessorType = 1
	MessageOption_OnlyAdmin      MessageOption_AccessorType = 2
	MessageOption_OnlyServer     MessageOption_AccessorType = 3
	MessageOption_AdminAndServer MessageOption_AccessorType = 4
	MessageOption_AdminAndClient MessageOption_AccessorType = 5
)

func (MessageOption_AccessorType) Descriptor

func (MessageOption_AccessorType) Enum

func (MessageOption_AccessorType) EnumDescriptor deprecated

func (MessageOption_AccessorType) EnumDescriptor() ([]byte, []int)

Deprecated: Use MessageOption_AccessorType.Descriptor instead.

func (MessageOption_AccessorType) Number

func (MessageOption_AccessorType) String

func (MessageOption_AccessorType) Type

type MessageOption_DDL

type MessageOption_DDL struct {
	Indexes []*MessageOption_DDL_Index `protobuf:"bytes,1,rep,name=indexes,proto3" json:"indexes,omitempty"`
	// contains filtered or unexported fields
}

func (*MessageOption_DDL) Descriptor deprecated

func (*MessageOption_DDL) Descriptor() ([]byte, []int)

Deprecated: Use MessageOption_DDL.ProtoReflect.Descriptor instead.

func (*MessageOption_DDL) GetIndexes

func (x *MessageOption_DDL) GetIndexes() []*MessageOption_DDL_Index

func (*MessageOption_DDL) ProtoMessage

func (*MessageOption_DDL) ProtoMessage()

func (*MessageOption_DDL) ProtoReflect

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

func (*MessageOption_DDL) Reset

func (x *MessageOption_DDL) Reset()

func (*MessageOption_DDL) String

func (x *MessageOption_DDL) String() string

type MessageOption_DDL_Index

type MessageOption_DDL_Index struct {
	Keys []string `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"`
	// contains filtered or unexported fields
}

func (*MessageOption_DDL_Index) Descriptor deprecated

func (*MessageOption_DDL_Index) Descriptor() ([]byte, []int)

Deprecated: Use MessageOption_DDL_Index.ProtoReflect.Descriptor instead.

func (*MessageOption_DDL_Index) GetKeys

func (x *MessageOption_DDL_Index) GetKeys() []string

func (*MessageOption_DDL_Index) ProtoMessage

func (*MessageOption_DDL_Index) ProtoMessage()

func (*MessageOption_DDL_Index) ProtoReflect

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

func (*MessageOption_DDL_Index) Reset

func (x *MessageOption_DDL_Index) Reset()

func (*MessageOption_DDL_Index) String

func (x *MessageOption_DDL_Index) String() string

Jump to

Keyboard shortcuts

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