proto

package
v1.0.7 Latest Latest
Warning

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

Go to latest
Published: May 28, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// optional gometa.proto.Meta enumMeta = 92023;
	E_EnumMeta = &file_meta_proto_extTypes[1]
)

Extension fields to descriptorpb.EnumOptions.

View Source
var (
	// optional gometa.proto.EnumValueMeta enumValueMeta = 92023;
	E_EnumValueMeta = &file_meta_proto_extTypes[0]
)

Extension fields to descriptorpb.EnumValueOptions.

View Source
var (
	// optional gometa.proto.Meta fieldMeta = 92023;
	E_FieldMeta = &file_meta_proto_extTypes[3]
)

Extension fields to descriptorpb.FieldOptions.

View Source
var (
	// optional gometa.proto.Meta messageMeta = 92023;
	E_MessageMeta = &file_meta_proto_extTypes[2]
)

Extension fields to descriptorpb.MessageOptions.

Functions

This section is empty.

Types

type EnumValueMeta

type EnumValueMeta struct {
	Data   []*Item `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"`
	Name   *string `protobuf:"bytes,2,opt,name=name,proto3,oneof" json:"name,omitempty"`
	Ignore *bool   `protobuf:"varint,3,opt,name=ignore,proto3,oneof" json:"ignore,omitempty"`
	// contains filtered or unexported fields
}

func (*EnumValueMeta) Descriptor deprecated

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

Deprecated: Use EnumValueMeta.ProtoReflect.Descriptor instead.

func (*EnumValueMeta) GetData

func (x *EnumValueMeta) GetData() []*Item

func (*EnumValueMeta) GetIgnore

func (x *EnumValueMeta) GetIgnore() bool

func (*EnumValueMeta) GetName

func (x *EnumValueMeta) GetName() string

func (*EnumValueMeta) ProtoMessage

func (*EnumValueMeta) ProtoMessage()

func (*EnumValueMeta) ProtoReflect

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

func (*EnumValueMeta) Reset

func (x *EnumValueMeta) Reset()

func (*EnumValueMeta) String

func (x *EnumValueMeta) String() string

type Item

type Item 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 (*Item) Descriptor deprecated

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

Deprecated: Use Item.ProtoReflect.Descriptor instead.

func (*Item) GetKey

func (x *Item) GetKey() string

func (*Item) GetValue

func (x *Item) GetValue() string

func (*Item) ProtoMessage

func (*Item) ProtoMessage()

func (*Item) ProtoReflect

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

func (*Item) Reset

func (x *Item) Reset()

func (*Item) String

func (x *Item) String() string

type Meta

type Meta struct {
	Data []*Item `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*Meta) Descriptor deprecated

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

Deprecated: Use Meta.ProtoReflect.Descriptor instead.

func (*Meta) GetData

func (x *Meta) GetData() []*Item

func (*Meta) ProtoMessage

func (*Meta) ProtoMessage()

func (*Meta) ProtoReflect

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

func (*Meta) Reset

func (x *Meta) Reset()

func (*Meta) String

func (x *Meta) String() string

type SelectOption

type SelectOption struct {
	Label string `protobuf:"bytes,1,opt,name=label,proto3" json:"label,omitempty"`
	Value int32  `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*SelectOption) Descriptor deprecated

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

Deprecated: Use SelectOption.ProtoReflect.Descriptor instead.

func (*SelectOption) GetLabel

func (x *SelectOption) GetLabel() string

func (*SelectOption) GetValue

func (x *SelectOption) GetValue() int32

func (*SelectOption) ProtoMessage

func (*SelectOption) ProtoMessage()

func (*SelectOption) ProtoReflect

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

func (*SelectOption) Reset

func (x *SelectOption) Reset()

func (*SelectOption) String

func (x *SelectOption) String() string

Jump to

Keyboard shortcuts

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