schema

package
v0.6.5 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2019 License: MIT Imports: 4 Imported by: 2

Documentation

Overview

Package schema is a generated protocol buffer package.

It is generated from these files:

keyref.proto
list.proto

It has these top-level messages:

KeyRefId
KeyRef
List

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KeyRef added in v0.4.3

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

func (*KeyRef) Descriptor added in v0.4.3

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

func (*KeyRef) GetIdx added in v0.4.3

func (m *KeyRef) GetIdx() string

func (*KeyRef) GetPKey added in v0.4.3

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

func (*KeyRef) GetRefKey added in v0.4.3

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

func (*KeyRef) GetSchema added in v0.4.3

func (m *KeyRef) GetSchema() string

func (*KeyRef) ProtoMessage added in v0.4.3

func (*KeyRef) ProtoMessage()

func (*KeyRef) Reset added in v0.4.3

func (m *KeyRef) Reset()

func (*KeyRef) String added in v0.4.3

func (m *KeyRef) String() string

type KeyRefId added in v0.4.3

type KeyRefId struct {
	// entity type
	Schema string `protobuf:"bytes,1,opt,name=schema" json:"schema,omitempty"`
	// idx name from entity type
	Idx string `protobuf:"bytes,2,opt,name=idx" json:"idx,omitempty"`
	// referred key
	RefKey []string `protobuf:"bytes,3,rep,name=ref_key,json=refKey" json:"ref_key,omitempty"`
}

KeyRefId id part of key reference

func (*KeyRefId) Descriptor added in v0.4.3

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

func (*KeyRefId) GetIdx added in v0.4.3

func (m *KeyRefId) GetIdx() string

func (*KeyRefId) GetRefKey added in v0.4.3

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

func (*KeyRefId) GetSchema added in v0.4.3

func (m *KeyRefId) GetSchema() string

func (*KeyRefId) ProtoMessage added in v0.4.3

func (*KeyRefId) ProtoMessage()

func (*KeyRefId) Reset added in v0.4.3

func (m *KeyRefId) Reset()

func (*KeyRefId) String added in v0.4.3

func (m *KeyRefId) String() string

type List

type List struct {
	Items []*google_protobuf.Any `protobuf:"bytes,1,rep,name=items" json:"items,omitempty"`
}

func (*List) Descriptor

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

func (*List) GetItems

func (m *List) GetItems() []*google_protobuf.Any

func (*List) ProtoMessage

func (*List) ProtoMessage()

func (*List) Reset

func (m *List) Reset()

func (*List) String

func (m *List) String() string

Jump to

Keyboard shortcuts

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