v1

package
v0.0.0-...-36d8597 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Type_name = map[int32]string{
		0: "TYPE_UNSPECIFIED",
		1: "TYPE_BTREE",
		2: "TYPE_HASH",
		3: "TYPE_BINARY_SEARCH",
	}
	Type_value = map[string]int32{
		"TYPE_UNSPECIFIED":   0,
		"TYPE_BTREE":         1,
		"TYPE_HASH":          2,
		"TYPE_BINARY_SEARCH": 3,
	}
)

Enum value maps for Type.

View Source
var File_shortdb_domain_index_v1_index_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Index

type Index struct {
	Name   string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Type   Type     `protobuf:"varint,2,opt,name=type,proto3,enum=shortdb.domain.index.v1.Type" json:"type,omitempty"`
	Fields []string `protobuf:"bytes,3,rep,name=fields,proto3" json:"fields,omitempty"`
	// contains filtered or unexported fields
}

func (*Index) Descriptor deprecated

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

Deprecated: Use Index.ProtoReflect.Descriptor instead.

func (*Index) GetFields

func (x *Index) GetFields() []string

func (*Index) GetName

func (x *Index) GetName() string

func (*Index) GetType

func (x *Index) GetType() Type

func (*Index) ProtoMessage

func (*Index) ProtoMessage()

func (*Index) ProtoReflect

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

func (*Index) Reset

func (x *Index) Reset()

func (*Index) String

func (x *Index) String() string

type Type

type Type int32
const (
	Type_TYPE_UNSPECIFIED   Type = 0
	Type_TYPE_BTREE         Type = 1
	Type_TYPE_HASH          Type = 2
	Type_TYPE_BINARY_SEARCH Type = 3
)

func (Type) Descriptor

func (Type) Descriptor() protoreflect.EnumDescriptor

func (Type) Enum

func (x Type) Enum() *Type

func (Type) EnumDescriptor deprecated

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

Deprecated: Use Type.Descriptor instead.

func (Type) Number

func (x Type) Number() protoreflect.EnumNumber

func (Type) String

func (x Type) String() string

func (Type) Type

func (Type) Type() protoreflect.EnumType

Jump to

Keyboard shortcuts

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