schema

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_schema_schema_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type KeyRef

type KeyRef struct {

	// entity type
	Schema string `protobuf:"bytes,1,opt,name=schema,proto3" json:"schema,omitempty"`
	// idx name from entity type
	Idx string `protobuf:"bytes,2,opt,name=idx,proto3" json:"idx,omitempty"`
	// referred key
	RefKey []string `protobuf:"bytes,3,rep,name=ref_key,json=refKey,proto3" json:"ref_key,omitempty"`
	// primary key instance linked to
	PKey []string `protobuf:"bytes,4,rep,name=p_key,json=pKey,proto3" json:"p_key,omitempty"`
	// contains filtered or unexported fields
}

func (*KeyRef) Descriptor deprecated

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

Deprecated: Use KeyRef.ProtoReflect.Descriptor instead.

func (*KeyRef) GetIdx

func (x *KeyRef) GetIdx() string

func (*KeyRef) GetPKey

func (x *KeyRef) GetPKey() []string

func (*KeyRef) GetRefKey

func (x *KeyRef) GetRefKey() []string

func (*KeyRef) GetSchema

func (x *KeyRef) GetSchema() string

func (*KeyRef) ProtoMessage

func (*KeyRef) ProtoMessage()

func (*KeyRef) ProtoReflect

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

func (*KeyRef) Reset

func (x *KeyRef) Reset()

func (*KeyRef) String

func (x *KeyRef) String() string

func (*KeyRef) Validate

func (this *KeyRef) Validate() error

type KeyRefId

type KeyRefId struct {

	// entity type
	Schema string `protobuf:"bytes,1,opt,name=schema,proto3" json:"schema,omitempty"`
	// idx name from entity type
	Idx string `protobuf:"bytes,2,opt,name=idx,proto3" json:"idx,omitempty"`
	// referred key
	RefKey []string `protobuf:"bytes,3,rep,name=ref_key,json=refKey,proto3" json:"ref_key,omitempty"`
	// contains filtered or unexported fields
}

KeyRefId id part of key reference

func (*KeyRefId) Descriptor deprecated

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

Deprecated: Use KeyRefId.ProtoReflect.Descriptor instead.

func (*KeyRefId) GetIdx

func (x *KeyRefId) GetIdx() string

func (*KeyRefId) GetRefKey

func (x *KeyRefId) GetRefKey() []string

func (*KeyRefId) GetSchema

func (x *KeyRefId) GetSchema() string

func (*KeyRefId) ProtoMessage

func (*KeyRefId) ProtoMessage()

func (*KeyRefId) ProtoReflect

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

func (*KeyRefId) Reset

func (x *KeyRefId) Reset()

func (*KeyRefId) String

func (x *KeyRefId) String() string

func (*KeyRefId) Validate

func (this *KeyRefId) Validate() error

type List

type List struct {
	Items []*anypb.Any `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*List) Descriptor deprecated

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

Deprecated: Use List.ProtoReflect.Descriptor instead.

func (*List) GetItems

func (x *List) GetItems() []*anypb.Any

func (*List) ProtoMessage

func (*List) ProtoMessage()

func (*List) ProtoReflect

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

func (*List) Reset

func (x *List) Reset()

func (*List) String

func (x *List) String() string

func (*List) Validate

func (this *List) Validate() error

Jump to

Keyboard shortcuts

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