api

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2018 License: AGPL-3.0, Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package api is a generated protocol buffer package.

It is generated from these files:

api.proto

It has these top-level messages:

Request
Response
Assigned
Mutation
AssignedIds
Operation
Payload
TxnContext
Check
Version
LinRead
Latency
NQuad
Value
Facet
SchemaNode

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthApi = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowApi   = fmt.Errorf("proto: integer overflow")
)
View Source
var Facet_ValType_name = map[int32]string{
	0: "STRING",
	1: "INT",
	2: "FLOAT",
	3: "BOOL",
	4: "DATETIME",
}
View Source
var Facet_ValType_value = map[string]int32{
	"STRING":   0,
	"INT":      1,
	"FLOAT":    2,
	"BOOL":     3,
	"DATETIME": 4,
}

Functions

func RegisterDgraphServer

func RegisterDgraphServer(s *grpc.Server, srv DgraphServer)

Types

type Assigned

type Assigned struct {
	Uids    map[string]string `` /* 142-byte string literal not displayed */
	Context *TxnContext       `protobuf:"bytes,2,opt,name=context" json:"context,omitempty"`
}

func (*Assigned) Descriptor

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

func (*Assigned) GetContext

func (m *Assigned) GetContext() *TxnContext

func (*Assigned) GetUids

func (m *Assigned) GetUids() map[string]string

func (*Assigned) Marshal

func (m *Assigned) Marshal() (dAtA []byte, err error)

func (*Assigned) MarshalTo

func (m *Assigned) MarshalTo(dAtA []byte) (int, error)

func (*Assigned) ProtoMessage

func (*Assigned) ProtoMessage()

func (*Assigned) Reset

func (m *Assigned) Reset()

func (*Assigned) Size

func (m *Assigned) Size() (n int)

func (*Assigned) String

func (m *Assigned) String() string

func (*Assigned) Unmarshal

func (m *Assigned) Unmarshal(dAtA []byte) error

type AssignedIds

type AssignedIds struct {
	StartId uint64 `protobuf:"varint,1,opt,name=startId,proto3" json:"startId,omitempty"`
	EndId   uint64 `protobuf:"varint,2,opt,name=endId,proto3" json:"endId,omitempty"`
}

func (*AssignedIds) Descriptor

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

func (*AssignedIds) GetEndId

func (m *AssignedIds) GetEndId() uint64

func (*AssignedIds) GetStartId

func (m *AssignedIds) GetStartId() uint64

func (*AssignedIds) Marshal

func (m *AssignedIds) Marshal() (dAtA []byte, err error)

func (*AssignedIds) MarshalTo

func (m *AssignedIds) MarshalTo(dAtA []byte) (int, error)

func (*AssignedIds) ProtoMessage

func (*AssignedIds) ProtoMessage()

func (*AssignedIds) Reset

func (m *AssignedIds) Reset()

func (*AssignedIds) Size

func (m *AssignedIds) Size() (n int)

func (*AssignedIds) String

func (m *AssignedIds) String() string

func (*AssignedIds) Unmarshal

func (m *AssignedIds) Unmarshal(dAtA []byte) error

type Check

type Check struct {
}

func (*Check) Descriptor

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

func (*Check) Marshal

func (m *Check) Marshal() (dAtA []byte, err error)

func (*Check) MarshalTo

func (m *Check) MarshalTo(dAtA []byte) (int, error)

func (*Check) ProtoMessage

func (*Check) ProtoMessage()

func (*Check) Reset

func (m *Check) Reset()

func (*Check) Size

func (m *Check) Size() (n int)

func (*Check) String

func (m *Check) String() string

func (*Check) Unmarshal

func (m *Check) Unmarshal(dAtA []byte) error

type DgraphClient

type DgraphClient interface {
	Query(ctx context.Context, in *Request, opts ...grpc.CallOption) (*Response, error)
	Mutate(ctx context.Context, in *Mutation, opts ...grpc.CallOption) (*Assigned, error)
	Alter(ctx context.Context, in *Operation, opts ...grpc.CallOption) (*Payload, error)
	CommitOrAbort(ctx context.Context, in *TxnContext, opts ...grpc.CallOption) (*TxnContext, error)
	CheckVersion(ctx context.Context, in *Check, opts ...grpc.CallOption) (*Version, error)
}

func NewDgraphClient

func NewDgraphClient(cc *grpc.ClientConn) DgraphClient

type DgraphServer

type DgraphServer interface {
	Query(context.Context, *Request) (*Response, error)
	Mutate(context.Context, *Mutation) (*Assigned, error)
	Alter(context.Context, *Operation) (*Payload, error)
	CommitOrAbort(context.Context, *TxnContext) (*TxnContext, error)
	CheckVersion(context.Context, *Check) (*Version, error)
}

type Facet

type Facet struct {
	Key     string        `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Value   []byte        `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	ValType Facet_ValType `protobuf:"varint,3,opt,name=val_type,json=valType,proto3,enum=api.Facet_ValType" json:"val_type,omitempty"`
	Tokens  []string      `protobuf:"bytes,4,rep,name=tokens" json:"tokens,omitempty"`
	Alias   string        `protobuf:"bytes,5,opt,name=alias,proto3" json:"alias,omitempty"`
}

func (*Facet) Descriptor

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

func (*Facet) GetAlias

func (m *Facet) GetAlias() string

func (*Facet) GetKey

func (m *Facet) GetKey() string

func (*Facet) GetTokens

func (m *Facet) GetTokens() []string

func (*Facet) GetValType

func (m *Facet) GetValType() Facet_ValType

func (*Facet) GetValue

func (m *Facet) GetValue() []byte

func (*Facet) Marshal

func (m *Facet) Marshal() (dAtA []byte, err error)

func (*Facet) MarshalTo

func (m *Facet) MarshalTo(dAtA []byte) (int, error)

func (*Facet) ProtoMessage

func (*Facet) ProtoMessage()

func (*Facet) Reset

func (m *Facet) Reset()

func (*Facet) Size

func (m *Facet) Size() (n int)

func (*Facet) String

func (m *Facet) String() string

func (*Facet) Unmarshal

func (m *Facet) Unmarshal(dAtA []byte) error

type Facet_ValType

type Facet_ValType int32
const (
	Facet_STRING   Facet_ValType = 0
	Facet_INT      Facet_ValType = 1
	Facet_FLOAT    Facet_ValType = 2
	Facet_BOOL     Facet_ValType = 3
	Facet_DATETIME Facet_ValType = 4
)

func (Facet_ValType) EnumDescriptor

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

func (Facet_ValType) String

func (x Facet_ValType) String() string

type Latency

type Latency struct {
	ParsingNs    uint64 `protobuf:"varint,1,opt,name=parsing_ns,json=parsingNs,proto3" json:"parsing_ns,omitempty"`
	ProcessingNs uint64 `protobuf:"varint,2,opt,name=processing_ns,json=processingNs,proto3" json:"processing_ns,omitempty"`
	EncodingNs   uint64 `protobuf:"varint,3,opt,name=encoding_ns,json=encodingNs,proto3" json:"encoding_ns,omitempty"`
}

func (*Latency) Descriptor

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

func (*Latency) GetEncodingNs

func (m *Latency) GetEncodingNs() uint64

func (*Latency) GetParsingNs

func (m *Latency) GetParsingNs() uint64

func (*Latency) GetProcessingNs

func (m *Latency) GetProcessingNs() uint64

func (*Latency) Marshal

func (m *Latency) Marshal() (dAtA []byte, err error)

func (*Latency) MarshalTo

func (m *Latency) MarshalTo(dAtA []byte) (int, error)

func (*Latency) ProtoMessage

func (*Latency) ProtoMessage()

func (*Latency) Reset

func (m *Latency) Reset()

func (*Latency) Size

func (m *Latency) Size() (n int)

func (*Latency) String

func (m *Latency) String() string

func (*Latency) Unmarshal

func (m *Latency) Unmarshal(dAtA []byte) error

type LinRead

type LinRead struct {
	Ids map[uint32]uint64 `` /* 142-byte string literal not displayed */
}

func (*LinRead) Descriptor

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

func (*LinRead) GetIds

func (m *LinRead) GetIds() map[uint32]uint64

func (*LinRead) Marshal

func (m *LinRead) Marshal() (dAtA []byte, err error)

func (*LinRead) MarshalTo

func (m *LinRead) MarshalTo(dAtA []byte) (int, error)

func (*LinRead) ProtoMessage

func (*LinRead) ProtoMessage()

func (*LinRead) Reset

func (m *LinRead) Reset()

func (*LinRead) Size

func (m *LinRead) Size() (n int)

func (*LinRead) String

func (m *LinRead) String() string

func (*LinRead) Unmarshal

func (m *LinRead) Unmarshal(dAtA []byte) error

type Mutation

type Mutation struct {
	SetJson             []byte   `protobuf:"bytes,1,opt,name=set_json,json=setJson,proto3" json:"set_json,omitempty"`
	DeleteJson          []byte   `protobuf:"bytes,2,opt,name=delete_json,json=deleteJson,proto3" json:"delete_json,omitempty"`
	SetNquads           []byte   `protobuf:"bytes,3,opt,name=set_nquads,json=setNquads,proto3" json:"set_nquads,omitempty"`
	DelNquads           []byte   `protobuf:"bytes,4,opt,name=del_nquads,json=delNquads,proto3" json:"del_nquads,omitempty"`
	Set                 []*NQuad `protobuf:"bytes,10,rep,name=set" json:"set,omitempty"`
	Del                 []*NQuad `protobuf:"bytes,11,rep,name=del" json:"del,omitempty"`
	StartTs             uint64   `protobuf:"varint,13,opt,name=start_ts,json=startTs,proto3" json:"start_ts,omitempty"`
	CommitNow           bool     `protobuf:"varint,14,opt,name=commit_now,json=commitNow,proto3" json:"commit_now,omitempty"`
	IgnoreIndexConflict bool     `protobuf:"varint,15,opt,name=ignore_index_conflict,json=ignoreIndexConflict,proto3" json:"ignore_index_conflict,omitempty"`
}

func (*Mutation) Descriptor

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

func (*Mutation) GetCommitNow

func (m *Mutation) GetCommitNow() bool

func (*Mutation) GetDel

func (m *Mutation) GetDel() []*NQuad

func (*Mutation) GetDelNquads

func (m *Mutation) GetDelNquads() []byte

func (*Mutation) GetDeleteJson

func (m *Mutation) GetDeleteJson() []byte

func (*Mutation) GetIgnoreIndexConflict

func (m *Mutation) GetIgnoreIndexConflict() bool

func (*Mutation) GetSet

func (m *Mutation) GetSet() []*NQuad

func (*Mutation) GetSetJson

func (m *Mutation) GetSetJson() []byte

func (*Mutation) GetSetNquads

func (m *Mutation) GetSetNquads() []byte

func (*Mutation) GetStartTs

func (m *Mutation) GetStartTs() uint64

func (*Mutation) Marshal

func (m *Mutation) Marshal() (dAtA []byte, err error)

func (*Mutation) MarshalTo

func (m *Mutation) MarshalTo(dAtA []byte) (int, error)

func (*Mutation) ProtoMessage

func (*Mutation) ProtoMessage()

func (*Mutation) Reset

func (m *Mutation) Reset()

func (*Mutation) Size

func (m *Mutation) Size() (n int)

func (*Mutation) String

func (m *Mutation) String() string

func (*Mutation) Unmarshal

func (m *Mutation) Unmarshal(dAtA []byte) error

type NQuad

type NQuad struct {
	Subject     string   `protobuf:"bytes,1,opt,name=subject,proto3" json:"subject,omitempty"`
	Predicate   string   `protobuf:"bytes,2,opt,name=predicate,proto3" json:"predicate,omitempty"`
	ObjectId    string   `protobuf:"bytes,3,opt,name=object_id,json=objectId,proto3" json:"object_id,omitempty"`
	ObjectValue *Value   `protobuf:"bytes,4,opt,name=object_value,json=objectValue" json:"object_value,omitempty"`
	Label       string   `protobuf:"bytes,5,opt,name=label,proto3" json:"label,omitempty"`
	Lang        string   `protobuf:"bytes,6,opt,name=lang,proto3" json:"lang,omitempty"`
	Facets      []*Facet `protobuf:"bytes,7,rep,name=facets" json:"facets,omitempty"`
}

func (*NQuad) Descriptor

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

func (*NQuad) GetFacets

func (m *NQuad) GetFacets() []*Facet

func (*NQuad) GetLabel

func (m *NQuad) GetLabel() string

func (*NQuad) GetLang

func (m *NQuad) GetLang() string

func (*NQuad) GetObjectId

func (m *NQuad) GetObjectId() string

func (*NQuad) GetObjectValue

func (m *NQuad) GetObjectValue() *Value

func (*NQuad) GetPredicate

func (m *NQuad) GetPredicate() string

func (*NQuad) GetSubject

func (m *NQuad) GetSubject() string

func (*NQuad) Marshal

func (m *NQuad) Marshal() (dAtA []byte, err error)

func (*NQuad) MarshalTo

func (m *NQuad) MarshalTo(dAtA []byte) (int, error)

func (*NQuad) ProtoMessage

func (*NQuad) ProtoMessage()

func (*NQuad) Reset

func (m *NQuad) Reset()

func (*NQuad) Size

func (m *NQuad) Size() (n int)

func (*NQuad) String

func (m *NQuad) String() string

func (*NQuad) Unmarshal

func (m *NQuad) Unmarshal(dAtA []byte) error

type Operation

type Operation struct {
	Schema   string `protobuf:"bytes,1,opt,name=schema,proto3" json:"schema,omitempty"`
	DropAttr string `protobuf:"bytes,2,opt,name=drop_attr,json=dropAttr,proto3" json:"drop_attr,omitempty"`
	DropAll  bool   `protobuf:"varint,3,opt,name=drop_all,json=dropAll,proto3" json:"drop_all,omitempty"`
}

func (*Operation) Descriptor

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

func (*Operation) GetDropAll

func (m *Operation) GetDropAll() bool

func (*Operation) GetDropAttr

func (m *Operation) GetDropAttr() string

func (*Operation) GetSchema

func (m *Operation) GetSchema() string

func (*Operation) Marshal

func (m *Operation) Marshal() (dAtA []byte, err error)

func (*Operation) MarshalTo

func (m *Operation) MarshalTo(dAtA []byte) (int, error)

func (*Operation) ProtoMessage

func (*Operation) ProtoMessage()

func (*Operation) Reset

func (m *Operation) Reset()

func (*Operation) Size

func (m *Operation) Size() (n int)

func (*Operation) String

func (m *Operation) String() string

func (*Operation) Unmarshal

func (m *Operation) Unmarshal(dAtA []byte) error

type Payload

type Payload struct {
	Data []byte `protobuf:"bytes,1,opt,name=Data,proto3" json:"Data,omitempty"`
}

Worker services.

func (*Payload) Descriptor

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

func (*Payload) GetData

func (m *Payload) GetData() []byte

func (*Payload) Marshal

func (m *Payload) Marshal() (dAtA []byte, err error)

func (*Payload) MarshalTo

func (m *Payload) MarshalTo(dAtA []byte) (int, error)

func (*Payload) ProtoMessage

func (*Payload) ProtoMessage()

func (*Payload) Reset

func (m *Payload) Reset()

func (*Payload) Size

func (m *Payload) Size() (n int)

func (*Payload) String

func (m *Payload) String() string

func (*Payload) Unmarshal

func (m *Payload) Unmarshal(dAtA []byte) error

type Request

type Request struct {
	Query   string            `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"`
	Vars    map[string]string `` /* 142-byte string literal not displayed */
	StartTs uint64            `protobuf:"varint,13,opt,name=start_ts,json=startTs,proto3" json:"start_ts,omitempty"`
	LinRead *LinRead          `protobuf:"bytes,14,opt,name=lin_read,json=linRead" json:"lin_read,omitempty"`
}

func (*Request) Descriptor

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

func (*Request) GetLinRead

func (m *Request) GetLinRead() *LinRead

func (*Request) GetQuery

func (m *Request) GetQuery() string

func (*Request) GetStartTs

func (m *Request) GetStartTs() uint64

func (*Request) GetVars

func (m *Request) GetVars() map[string]string

func (*Request) Marshal

func (m *Request) Marshal() (dAtA []byte, err error)

func (*Request) MarshalTo

func (m *Request) MarshalTo(dAtA []byte) (int, error)

func (*Request) ProtoMessage

func (*Request) ProtoMessage()

func (*Request) Reset

func (m *Request) Reset()

func (*Request) Size

func (m *Request) Size() (n int)

func (*Request) String

func (m *Request) String() string

func (*Request) Unmarshal

func (m *Request) Unmarshal(dAtA []byte) error

type Response

type Response struct {
	Json    []byte        `protobuf:"bytes,1,opt,name=json,proto3" json:"json,omitempty"`
	Schema  []*SchemaNode `protobuf:"bytes,2,rep,name=schema" json:"schema,omitempty"`
	Txn     *TxnContext   `protobuf:"bytes,3,opt,name=txn" json:"txn,omitempty"`
	Latency *Latency      `protobuf:"bytes,12,opt,name=latency" json:"latency,omitempty"`
}

func (*Response) Descriptor

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

func (*Response) GetJson

func (m *Response) GetJson() []byte

func (*Response) GetLatency

func (m *Response) GetLatency() *Latency

func (*Response) GetSchema

func (m *Response) GetSchema() []*SchemaNode

func (*Response) GetTxn

func (m *Response) GetTxn() *TxnContext

func (*Response) Marshal

func (m *Response) Marshal() (dAtA []byte, err error)

func (*Response) MarshalTo

func (m *Response) MarshalTo(dAtA []byte) (int, error)

func (*Response) ProtoMessage

func (*Response) ProtoMessage()

func (*Response) Reset

func (m *Response) Reset()

func (*Response) Size

func (m *Response) Size() (n int)

func (*Response) String

func (m *Response) String() string

func (*Response) Unmarshal

func (m *Response) Unmarshal(dAtA []byte) error

type SchemaNode

type SchemaNode struct {
	Predicate string   `protobuf:"bytes,1,opt,name=predicate,proto3" json:"predicate,omitempty"`
	Type      string   `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	Index     bool     `protobuf:"varint,3,opt,name=index,proto3" json:"index,omitempty"`
	Tokenizer []string `protobuf:"bytes,4,rep,name=tokenizer" json:"tokenizer,omitempty"`
	Reverse   bool     `protobuf:"varint,5,opt,name=reverse,proto3" json:"reverse,omitempty"`
	Count     bool     `protobuf:"varint,6,opt,name=count,proto3" json:"count,omitempty"`
	List      bool     `protobuf:"varint,7,opt,name=list,proto3" json:"list,omitempty"`
}

func (*SchemaNode) Descriptor

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

func (*SchemaNode) GetCount

func (m *SchemaNode) GetCount() bool

func (*SchemaNode) GetIndex

func (m *SchemaNode) GetIndex() bool

func (*SchemaNode) GetList

func (m *SchemaNode) GetList() bool

func (*SchemaNode) GetPredicate

func (m *SchemaNode) GetPredicate() string

func (*SchemaNode) GetReverse

func (m *SchemaNode) GetReverse() bool

func (*SchemaNode) GetTokenizer

func (m *SchemaNode) GetTokenizer() []string

func (*SchemaNode) GetType

func (m *SchemaNode) GetType() string

func (*SchemaNode) Marshal

func (m *SchemaNode) Marshal() (dAtA []byte, err error)

func (*SchemaNode) MarshalTo

func (m *SchemaNode) MarshalTo(dAtA []byte) (int, error)

func (*SchemaNode) ProtoMessage

func (*SchemaNode) ProtoMessage()

func (*SchemaNode) Reset

func (m *SchemaNode) Reset()

func (*SchemaNode) Size

func (m *SchemaNode) Size() (n int)

func (*SchemaNode) String

func (m *SchemaNode) String() string

func (*SchemaNode) Unmarshal

func (m *SchemaNode) Unmarshal(dAtA []byte) error

type TxnContext

type TxnContext struct {
	StartTs  uint64   `protobuf:"varint,1,opt,name=start_ts,json=startTs,proto3" json:"start_ts,omitempty"`
	CommitTs uint64   `protobuf:"varint,2,opt,name=commit_ts,json=commitTs,proto3" json:"commit_ts,omitempty"`
	Aborted  bool     `protobuf:"varint,3,opt,name=aborted,proto3" json:"aborted,omitempty"`
	Keys     []string `protobuf:"bytes,4,rep,name=keys" json:"keys,omitempty"`
	LinRead  *LinRead `protobuf:"bytes,13,opt,name=lin_read,json=linRead" json:"lin_read,omitempty"`
}

func (*TxnContext) Descriptor

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

func (*TxnContext) GetAborted

func (m *TxnContext) GetAborted() bool

func (*TxnContext) GetCommitTs

func (m *TxnContext) GetCommitTs() uint64

func (*TxnContext) GetKeys

func (m *TxnContext) GetKeys() []string

func (*TxnContext) GetLinRead

func (m *TxnContext) GetLinRead() *LinRead

func (*TxnContext) GetStartTs

func (m *TxnContext) GetStartTs() uint64

func (*TxnContext) Marshal

func (m *TxnContext) Marshal() (dAtA []byte, err error)

func (*TxnContext) MarshalTo

func (m *TxnContext) MarshalTo(dAtA []byte) (int, error)

func (*TxnContext) ProtoMessage

func (*TxnContext) ProtoMessage()

func (*TxnContext) Reset

func (m *TxnContext) Reset()

func (*TxnContext) Size

func (m *TxnContext) Size() (n int)

func (*TxnContext) String

func (m *TxnContext) String() string

func (*TxnContext) Unmarshal

func (m *TxnContext) Unmarshal(dAtA []byte) error

type Value

type Value struct {
	// Types that are valid to be assigned to Val:
	//	*Value_DefaultVal
	//	*Value_BytesVal
	//	*Value_IntVal
	//	*Value_BoolVal
	//	*Value_StrVal
	//	*Value_DoubleVal
	//	*Value_GeoVal
	//	*Value_DateVal
	//	*Value_DatetimeVal
	//	*Value_PasswordVal
	//	*Value_UidVal
	Val isValue_Val `protobuf_oneof:"val"`
}

func (*Value) Descriptor

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

func (*Value) GetBoolVal

func (m *Value) GetBoolVal() bool

func (*Value) GetBytesVal

func (m *Value) GetBytesVal() []byte

func (*Value) GetDateVal

func (m *Value) GetDateVal() []byte

func (*Value) GetDatetimeVal

func (m *Value) GetDatetimeVal() []byte

func (*Value) GetDefaultVal

func (m *Value) GetDefaultVal() string

func (*Value) GetDoubleVal

func (m *Value) GetDoubleVal() float64

func (*Value) GetGeoVal

func (m *Value) GetGeoVal() []byte

func (*Value) GetIntVal

func (m *Value) GetIntVal() int64

func (*Value) GetPasswordVal

func (m *Value) GetPasswordVal() string

func (*Value) GetStrVal

func (m *Value) GetStrVal() string

func (*Value) GetUidVal

func (m *Value) GetUidVal() uint64

func (*Value) GetVal

func (m *Value) GetVal() isValue_Val

func (*Value) Marshal

func (m *Value) Marshal() (dAtA []byte, err error)

func (*Value) MarshalTo

func (m *Value) MarshalTo(dAtA []byte) (int, error)

func (*Value) ProtoMessage

func (*Value) ProtoMessage()

func (*Value) Reset

func (m *Value) Reset()

func (*Value) Size

func (m *Value) Size() (n int)

func (*Value) String

func (m *Value) String() string

func (*Value) Unmarshal

func (m *Value) Unmarshal(dAtA []byte) error

func (*Value) XXX_OneofFuncs

func (*Value) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

type Value_BoolVal

type Value_BoolVal struct {
	BoolVal bool `protobuf:"varint,4,opt,name=bool_val,json=boolVal,proto3,oneof"`
}

func (*Value_BoolVal) MarshalTo

func (m *Value_BoolVal) MarshalTo(dAtA []byte) (int, error)

func (*Value_BoolVal) Size

func (m *Value_BoolVal) Size() (n int)

type Value_BytesVal

type Value_BytesVal struct {
	BytesVal []byte `protobuf:"bytes,2,opt,name=bytes_val,json=bytesVal,proto3,oneof"`
}

func (*Value_BytesVal) MarshalTo

func (m *Value_BytesVal) MarshalTo(dAtA []byte) (int, error)

func (*Value_BytesVal) Size

func (m *Value_BytesVal) Size() (n int)

type Value_DateVal

type Value_DateVal struct {
	DateVal []byte `protobuf:"bytes,8,opt,name=date_val,json=dateVal,proto3,oneof"`
}

func (*Value_DateVal) MarshalTo

func (m *Value_DateVal) MarshalTo(dAtA []byte) (int, error)

func (*Value_DateVal) Size

func (m *Value_DateVal) Size() (n int)

type Value_DatetimeVal

type Value_DatetimeVal struct {
	DatetimeVal []byte `protobuf:"bytes,9,opt,name=datetime_val,json=datetimeVal,proto3,oneof"`
}

func (*Value_DatetimeVal) MarshalTo

func (m *Value_DatetimeVal) MarshalTo(dAtA []byte) (int, error)

func (*Value_DatetimeVal) Size

func (m *Value_DatetimeVal) Size() (n int)

type Value_DefaultVal

type Value_DefaultVal struct {
	DefaultVal string `protobuf:"bytes,1,opt,name=default_val,json=defaultVal,proto3,oneof"`
}

func (*Value_DefaultVal) MarshalTo

func (m *Value_DefaultVal) MarshalTo(dAtA []byte) (int, error)

func (*Value_DefaultVal) Size

func (m *Value_DefaultVal) Size() (n int)

type Value_DoubleVal

type Value_DoubleVal struct {
	DoubleVal float64 `protobuf:"fixed64,6,opt,name=double_val,json=doubleVal,proto3,oneof"`
}

func (*Value_DoubleVal) MarshalTo

func (m *Value_DoubleVal) MarshalTo(dAtA []byte) (int, error)

func (*Value_DoubleVal) Size

func (m *Value_DoubleVal) Size() (n int)

type Value_GeoVal

type Value_GeoVal struct {
	GeoVal []byte `protobuf:"bytes,7,opt,name=geo_val,json=geoVal,proto3,oneof"`
}

func (*Value_GeoVal) MarshalTo

func (m *Value_GeoVal) MarshalTo(dAtA []byte) (int, error)

func (*Value_GeoVal) Size

func (m *Value_GeoVal) Size() (n int)

type Value_IntVal

type Value_IntVal struct {
	IntVal int64 `protobuf:"varint,3,opt,name=int_val,json=intVal,proto3,oneof"`
}

func (*Value_IntVal) MarshalTo

func (m *Value_IntVal) MarshalTo(dAtA []byte) (int, error)

func (*Value_IntVal) Size

func (m *Value_IntVal) Size() (n int)

type Value_PasswordVal

type Value_PasswordVal struct {
	PasswordVal string `protobuf:"bytes,10,opt,name=password_val,json=passwordVal,proto3,oneof"`
}

func (*Value_PasswordVal) MarshalTo

func (m *Value_PasswordVal) MarshalTo(dAtA []byte) (int, error)

func (*Value_PasswordVal) Size

func (m *Value_PasswordVal) Size() (n int)

type Value_StrVal

type Value_StrVal struct {
	StrVal string `protobuf:"bytes,5,opt,name=str_val,json=strVal,proto3,oneof"`
}

func (*Value_StrVal) MarshalTo

func (m *Value_StrVal) MarshalTo(dAtA []byte) (int, error)

func (*Value_StrVal) Size

func (m *Value_StrVal) Size() (n int)

type Value_UidVal

type Value_UidVal struct {
	UidVal uint64 `protobuf:"varint,11,opt,name=uid_val,json=uidVal,proto3,oneof"`
}

func (*Value_UidVal) MarshalTo

func (m *Value_UidVal) MarshalTo(dAtA []byte) (int, error)

func (*Value_UidVal) Size

func (m *Value_UidVal) Size() (n int)

type Version

type Version struct {
	Tag string `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"`
}

func (*Version) Descriptor

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

func (*Version) GetTag

func (m *Version) GetTag() string

func (*Version) Marshal

func (m *Version) Marshal() (dAtA []byte, err error)

func (*Version) MarshalTo

func (m *Version) MarshalTo(dAtA []byte) (int, error)

func (*Version) ProtoMessage

func (*Version) ProtoMessage()

func (*Version) Reset

func (m *Version) Reset()

func (*Version) Size

func (m *Version) Size() (n int)

func (*Version) String

func (m *Version) String() string

func (*Version) Unmarshal

func (m *Version) Unmarshal(dAtA []byte) error

Jump to

Keyboard shortcuts

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