Documentation ¶
Index ¶
- Variables
- func RegisterDgraphServer(s *grpc.Server, srv DgraphServer)
- type Check
- func (*Check) Descriptor() ([]byte, []int)
- func (m *Check) Marshal() (dAtA []byte, err error)
- func (m *Check) MarshalTo(dAtA []byte) (int, error)
- func (m *Check) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Check) ProtoMessage()
- func (m *Check) Reset()
- func (m *Check) Size() (n int)
- func (m *Check) String() string
- func (m *Check) Unmarshal(dAtA []byte) error
- func (m *Check) XXX_DiscardUnknown()
- func (m *Check) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Check) XXX_Merge(src proto.Message)
- func (m *Check) XXX_Size() int
- func (m *Check) XXX_Unmarshal(b []byte) error
- type DgraphClient
- type DgraphServer
- type Facet
- func (*Facet) Descriptor() ([]byte, []int)
- func (m *Facet) GetAlias() string
- func (m *Facet) GetKey() string
- func (m *Facet) GetTokens() []string
- func (m *Facet) GetValType() Facet_ValType
- func (m *Facet) GetValue() []byte
- func (m *Facet) Marshal() (dAtA []byte, err error)
- func (m *Facet) MarshalTo(dAtA []byte) (int, error)
- func (m *Facet) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Facet) ProtoMessage()
- func (m *Facet) Reset()
- func (m *Facet) Size() (n int)
- func (m *Facet) String() string
- func (m *Facet) Unmarshal(dAtA []byte) error
- func (m *Facet) XXX_DiscardUnknown()
- func (m *Facet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Facet) XXX_Merge(src proto.Message)
- func (m *Facet) XXX_Size() int
- func (m *Facet) XXX_Unmarshal(b []byte) error
- type Facet_ValType
- type Jwt
- func (*Jwt) Descriptor() ([]byte, []int)
- func (m *Jwt) GetAccessJwt() string
- func (m *Jwt) GetRefreshJwt() string
- func (m *Jwt) Marshal() (dAtA []byte, err error)
- func (m *Jwt) MarshalTo(dAtA []byte) (int, error)
- func (m *Jwt) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Jwt) ProtoMessage()
- func (m *Jwt) Reset()
- func (m *Jwt) Size() (n int)
- func (m *Jwt) String() string
- func (m *Jwt) Unmarshal(dAtA []byte) error
- func (m *Jwt) XXX_DiscardUnknown()
- func (m *Jwt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Jwt) XXX_Merge(src proto.Message)
- func (m *Jwt) XXX_Size() int
- func (m *Jwt) XXX_Unmarshal(b []byte) error
- type Latency
- func (*Latency) Descriptor() ([]byte, []int)
- func (m *Latency) GetAssignTimestampNs() uint64
- func (m *Latency) GetEncodingNs() uint64
- func (m *Latency) GetParsingNs() uint64
- func (m *Latency) GetProcessingNs() uint64
- func (m *Latency) GetTotalNs() uint64
- func (m *Latency) Marshal() (dAtA []byte, err error)
- func (m *Latency) MarshalTo(dAtA []byte) (int, error)
- func (m *Latency) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Latency) ProtoMessage()
- func (m *Latency) Reset()
- func (m *Latency) Size() (n int)
- func (m *Latency) String() string
- func (m *Latency) Unmarshal(dAtA []byte) error
- func (m *Latency) XXX_DiscardUnknown()
- func (m *Latency) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Latency) XXX_Merge(src proto.Message)
- func (m *Latency) XXX_Size() int
- func (m *Latency) XXX_Unmarshal(b []byte) error
- type ListOfString
- func (*ListOfString) Descriptor() ([]byte, []int)
- func (m *ListOfString) GetValue() []string
- func (m *ListOfString) Marshal() (dAtA []byte, err error)
- func (m *ListOfString) MarshalTo(dAtA []byte) (int, error)
- func (m *ListOfString) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ListOfString) ProtoMessage()
- func (m *ListOfString) Reset()
- func (m *ListOfString) Size() (n int)
- func (m *ListOfString) String() string
- func (m *ListOfString) Unmarshal(dAtA []byte) error
- func (m *ListOfString) XXX_DiscardUnknown()
- func (m *ListOfString) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListOfString) XXX_Merge(src proto.Message)
- func (m *ListOfString) XXX_Size() int
- func (m *ListOfString) XXX_Unmarshal(b []byte) error
- type LoginRequest
- func (*LoginRequest) Descriptor() ([]byte, []int)
- func (m *LoginRequest) GetNamespace() uint64
- func (m *LoginRequest) GetPassword() string
- func (m *LoginRequest) GetRefreshToken() string
- func (m *LoginRequest) GetUserid() string
- func (m *LoginRequest) Marshal() (dAtA []byte, err error)
- func (m *LoginRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *LoginRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*LoginRequest) ProtoMessage()
- func (m *LoginRequest) Reset()
- func (m *LoginRequest) Size() (n int)
- func (m *LoginRequest) String() string
- func (m *LoginRequest) Unmarshal(dAtA []byte) error
- func (m *LoginRequest) XXX_DiscardUnknown()
- func (m *LoginRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LoginRequest) XXX_Merge(src proto.Message)
- func (m *LoginRequest) XXX_Size() int
- func (m *LoginRequest) XXX_Unmarshal(b []byte) error
- type Metrics
- func (*Metrics) Descriptor() ([]byte, []int)
- func (m *Metrics) GetNumUids() map[string]uint64
- func (m *Metrics) Marshal() (dAtA []byte, err error)
- func (m *Metrics) MarshalTo(dAtA []byte) (int, error)
- func (m *Metrics) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Metrics) ProtoMessage()
- func (m *Metrics) Reset()
- func (m *Metrics) Size() (n int)
- func (m *Metrics) String() string
- func (m *Metrics) Unmarshal(dAtA []byte) error
- func (m *Metrics) XXX_DiscardUnknown()
- func (m *Metrics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Metrics) XXX_Merge(src proto.Message)
- func (m *Metrics) XXX_Size() int
- func (m *Metrics) XXX_Unmarshal(b []byte) error
- type Mutation
- func (*Mutation) Descriptor() ([]byte, []int)
- func (m *Mutation) GetCommitNow() bool
- func (m *Mutation) GetCond() string
- func (m *Mutation) GetDel() []*NQuad
- func (m *Mutation) GetDelNquads() []byte
- func (m *Mutation) GetDeleteJson() []byte
- func (m *Mutation) GetSet() []*NQuad
- func (m *Mutation) GetSetJson() []byte
- func (m *Mutation) GetSetNquads() []byte
- func (m *Mutation) Marshal() (dAtA []byte, err error)
- func (m *Mutation) MarshalTo(dAtA []byte) (int, error)
- func (m *Mutation) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Mutation) ProtoMessage()
- func (m *Mutation) Reset()
- func (m *Mutation) Size() (n int)
- func (m *Mutation) String() string
- func (m *Mutation) Unmarshal(dAtA []byte) error
- func (m *Mutation) XXX_DiscardUnknown()
- func (m *Mutation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Mutation) XXX_Merge(src proto.Message)
- func (m *Mutation) XXX_Size() int
- func (m *Mutation) XXX_Unmarshal(b []byte) error
- type NQuad
- func (*NQuad) Descriptor() ([]byte, []int)
- func (m *NQuad) GetFacets() []*Facet
- func (m *NQuad) GetLang() string
- func (m *NQuad) GetNamespace() uint64
- func (m *NQuad) GetObjectId() string
- func (m *NQuad) GetObjectValue() *Value
- func (m *NQuad) GetPredicate() string
- func (m *NQuad) GetSubject() string
- func (m *NQuad) Marshal() (dAtA []byte, err error)
- func (m *NQuad) MarshalTo(dAtA []byte) (int, error)
- func (m *NQuad) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*NQuad) ProtoMessage()
- func (m *NQuad) Reset()
- func (m *NQuad) Size() (n int)
- func (m *NQuad) String() string
- func (m *NQuad) Unmarshal(dAtA []byte) error
- func (m *NQuad) XXX_DiscardUnknown()
- func (m *NQuad) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NQuad) XXX_Merge(src proto.Message)
- func (m *NQuad) XXX_Size() int
- func (m *NQuad) XXX_Unmarshal(b []byte) error
- type Operation
- func (*Operation) Descriptor() ([]byte, []int)
- func (m *Operation) GetDropAll() bool
- func (m *Operation) GetDropAttr() string
- func (m *Operation) GetDropOp() Operation_DropOp
- func (m *Operation) GetDropValue() string
- func (m *Operation) GetRunInBackground() bool
- func (m *Operation) GetSchema() string
- func (m *Operation) Marshal() (dAtA []byte, err error)
- func (m *Operation) MarshalTo(dAtA []byte) (int, error)
- func (m *Operation) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Operation) ProtoMessage()
- func (m *Operation) Reset()
- func (m *Operation) Size() (n int)
- func (m *Operation) String() string
- func (m *Operation) Unmarshal(dAtA []byte) error
- func (m *Operation) XXX_DiscardUnknown()
- func (m *Operation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Operation) XXX_Merge(src proto.Message)
- func (m *Operation) XXX_Size() int
- func (m *Operation) XXX_Unmarshal(b []byte) error
- type Operation_DropOp
- type Payload
- func (*Payload) Descriptor() ([]byte, []int)
- func (m *Payload) GetData() []byte
- func (m *Payload) Marshal() (dAtA []byte, err error)
- func (m *Payload) MarshalTo(dAtA []byte) (int, error)
- func (m *Payload) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Payload) ProtoMessage()
- func (m *Payload) Reset()
- func (m *Payload) Size() (n int)
- func (m *Payload) String() string
- func (m *Payload) Unmarshal(dAtA []byte) error
- func (m *Payload) XXX_DiscardUnknown()
- func (m *Payload) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Payload) XXX_Merge(src proto.Message)
- func (m *Payload) XXX_Size() int
- func (m *Payload) XXX_Unmarshal(b []byte) error
- type Request
- func (*Request) Descriptor() ([]byte, []int)
- func (m *Request) GetBestEffort() bool
- func (m *Request) GetCommitNow() bool
- func (m *Request) GetHash() string
- func (m *Request) GetMutations() []*Mutation
- func (m *Request) GetQuery() string
- func (m *Request) GetReadOnly() bool
- func (m *Request) GetRespFormat() Request_RespFormat
- func (m *Request) GetStartTs() uint64
- func (m *Request) GetVars() map[string]string
- func (m *Request) Marshal() (dAtA []byte, err error)
- func (m *Request) MarshalTo(dAtA []byte) (int, error)
- func (m *Request) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Request) ProtoMessage()
- func (m *Request) Reset()
- func (m *Request) Size() (n int)
- func (m *Request) String() string
- func (m *Request) Unmarshal(dAtA []byte) error
- func (m *Request) XXX_DiscardUnknown()
- func (m *Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Request) XXX_Merge(src proto.Message)
- func (m *Request) XXX_Size() int
- func (m *Request) XXX_Unmarshal(b []byte) error
- type Request_RespFormat
- type Response
- func (*Response) Descriptor() ([]byte, []int)
- func (m *Response) GetHdrs() map[string]*ListOfString
- func (m *Response) GetJson() []byte
- func (m *Response) GetLatency() *Latency
- func (m *Response) GetMetrics() *Metrics
- func (m *Response) GetRdf() []byte
- func (m *Response) GetTxn() *TxnContext
- func (m *Response) GetUids() map[string]string
- func (m *Response) Marshal() (dAtA []byte, err error)
- func (m *Response) MarshalTo(dAtA []byte) (int, error)
- func (m *Response) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Response) ProtoMessage()
- func (m *Response) Reset()
- func (m *Response) Size() (n int)
- func (m *Response) String() string
- func (m *Response) Unmarshal(dAtA []byte) error
- func (m *Response) XXX_DiscardUnknown()
- func (m *Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Response) XXX_Merge(src proto.Message)
- func (m *Response) XXX_Size() int
- func (m *Response) XXX_Unmarshal(b []byte) error
- type TxnContext
- func (*TxnContext) Descriptor() ([]byte, []int)
- func (m *TxnContext) GetAborted() bool
- func (m *TxnContext) GetCommitTs() uint64
- func (m *TxnContext) GetHash() string
- func (m *TxnContext) GetKeys() []string
- func (m *TxnContext) GetPreds() []string
- func (m *TxnContext) GetStartTs() uint64
- func (m *TxnContext) Marshal() (dAtA []byte, err error)
- func (m *TxnContext) MarshalTo(dAtA []byte) (int, error)
- func (m *TxnContext) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TxnContext) ProtoMessage()
- func (m *TxnContext) Reset()
- func (m *TxnContext) Size() (n int)
- func (m *TxnContext) String() string
- func (m *TxnContext) Unmarshal(dAtA []byte) error
- func (m *TxnContext) XXX_DiscardUnknown()
- func (m *TxnContext) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TxnContext) XXX_Merge(src proto.Message)
- func (m *TxnContext) XXX_Size() int
- func (m *TxnContext) XXX_Unmarshal(b []byte) error
- type Uids
- func (*Uids) Descriptor() ([]byte, []int)
- func (m *Uids) GetUids() []string
- func (m *Uids) Marshal() (dAtA []byte, err error)
- func (m *Uids) MarshalTo(dAtA []byte) (int, error)
- func (m *Uids) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Uids) ProtoMessage()
- func (m *Uids) Reset()
- func (m *Uids) Size() (n int)
- func (m *Uids) String() string
- func (m *Uids) Unmarshal(dAtA []byte) error
- func (m *Uids) XXX_DiscardUnknown()
- func (m *Uids) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Uids) XXX_Merge(src proto.Message)
- func (m *Uids) XXX_Size() int
- func (m *Uids) XXX_Unmarshal(b []byte) error
- type UnimplementedDgraphServer
- func (*UnimplementedDgraphServer) Alter(ctx context.Context, req *Operation) (*Payload, error)
- func (*UnimplementedDgraphServer) CheckVersion(ctx context.Context, req *Check) (*Version, error)
- func (*UnimplementedDgraphServer) CommitOrAbort(ctx context.Context, req *TxnContext) (*TxnContext, error)
- func (*UnimplementedDgraphServer) Login(ctx context.Context, req *LoginRequest) (*Response, error)
- func (*UnimplementedDgraphServer) Query(ctx context.Context, req *Request) (*Response, error)
- type Value
- func (*Value) Descriptor() ([]byte, []int)
- func (m *Value) GetBoolVal() bool
- func (m *Value) GetBytesVal() []byte
- func (m *Value) GetDateVal() []byte
- func (m *Value) GetDatetimeVal() []byte
- func (m *Value) GetDefaultVal() string
- func (m *Value) GetDoubleVal() float64
- func (m *Value) GetGeoVal() []byte
- func (m *Value) GetIntVal() int64
- func (m *Value) GetPasswordVal() string
- func (m *Value) GetStrVal() string
- func (m *Value) GetUidVal() uint64
- func (m *Value) GetVal() isValue_Val
- func (m *Value) Marshal() (dAtA []byte, err error)
- func (m *Value) MarshalTo(dAtA []byte) (int, error)
- func (m *Value) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Value) ProtoMessage()
- func (m *Value) Reset()
- func (m *Value) Size() (n int)
- func (m *Value) String() string
- func (m *Value) Unmarshal(dAtA []byte) error
- func (m *Value) XXX_DiscardUnknown()
- func (m *Value) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Value) XXX_Merge(src proto.Message)
- func (*Value) XXX_OneofWrappers() []interface{}
- func (m *Value) XXX_Size() int
- func (m *Value) XXX_Unmarshal(b []byte) error
- type Value_BoolVal
- type Value_BytesVal
- type Value_DateVal
- type Value_DatetimeVal
- type Value_DefaultVal
- type Value_DoubleVal
- type Value_GeoVal
- type Value_IntVal
- type Value_PasswordVal
- type Value_StrVal
- type Value_UidVal
- type Version
- func (*Version) Descriptor() ([]byte, []int)
- func (m *Version) GetTag() string
- func (m *Version) Marshal() (dAtA []byte, err error)
- func (m *Version) MarshalTo(dAtA []byte) (int, error)
- func (m *Version) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Version) ProtoMessage()
- func (m *Version) Reset()
- func (m *Version) Size() (n int)
- func (m *Version) String() string
- func (m *Version) Unmarshal(dAtA []byte) error
- func (m *Version) XXX_DiscardUnknown()
- func (m *Version) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Version) XXX_Merge(src proto.Message)
- func (m *Version) XXX_Size() int
- func (m *Version) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthApi = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowApi = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupApi = fmt.Errorf("proto: unexpected end of group") )
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,
}
View Source
var Operation_DropOp_name = map[int32]string{
0: "NONE",
1: "ALL",
2: "DATA",
3: "ATTR",
4: "TYPE",
}
View Source
var Operation_DropOp_value = map[string]int32{
"NONE": 0,
"ALL": 1,
"DATA": 2,
"ATTR": 3,
"TYPE": 4,
}
View Source
var Request_RespFormat_name = map[int32]string{
0: "JSON",
1: "RDF",
}
View Source
var Request_RespFormat_value = map[string]int32{
"JSON": 0,
"RDF": 1,
}
Functions ¶
func RegisterDgraphServer ¶
func RegisterDgraphServer(s *grpc.Server, srv DgraphServer)
Types ¶
type Check ¶
type Check struct { }
func (*Check) Descriptor ¶
func (*Check) ProtoMessage ¶
func (*Check) ProtoMessage()
func (*Check) XXX_DiscardUnknown ¶
func (m *Check) XXX_DiscardUnknown()
func (*Check) XXX_Marshal ¶
func (*Check) XXX_Unmarshal ¶
type DgraphClient ¶
type DgraphClient interface { Login(ctx context.Context, in *LoginRequest, opts ...grpc.CallOption) (*Response, error) Query(ctx context.Context, in *Request, opts ...grpc.CallOption) (*Response, 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) }
DgraphClient is the client API for Dgraph service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewDgraphClient ¶
func NewDgraphClient(cc *grpc.ClientConn) DgraphClient
type DgraphServer ¶
type DgraphServer interface { Login(context.Context, *LoginRequest) (*Response, error) Query(context.Context, *Request) (*Response, error) Alter(context.Context, *Operation) (*Payload, error) CommitOrAbort(context.Context, *TxnContext) (*TxnContext, error) CheckVersion(context.Context, *Check) (*Version, error) }
DgraphServer is the server API for Dgraph service.
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,proto3" json:"tokens,omitempty"` Alias string `protobuf:"bytes,5,opt,name=alias,proto3" json:"alias,omitempty"` }
func (*Facet) Descriptor ¶
func (*Facet) GetValType ¶
func (m *Facet) GetValType() Facet_ValType
func (*Facet) ProtoMessage ¶
func (*Facet) ProtoMessage()
func (*Facet) XXX_DiscardUnknown ¶
func (m *Facet) XXX_DiscardUnknown()
func (*Facet) XXX_Marshal ¶
func (*Facet) XXX_Unmarshal ¶
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 Jwt ¶
type Jwt struct { AccessJwt string `protobuf:"bytes,1,opt,name=access_jwt,json=accessJwt,proto3" json:"access_jwt,omitempty"` RefreshJwt string `protobuf:"bytes,2,opt,name=refresh_jwt,json=refreshJwt,proto3" json:"refresh_jwt,omitempty"` }
func (*Jwt) Descriptor ¶
func (*Jwt) GetAccessJwt ¶
func (*Jwt) GetRefreshJwt ¶
func (*Jwt) ProtoMessage ¶
func (*Jwt) ProtoMessage()
func (*Jwt) XXX_DiscardUnknown ¶
func (m *Jwt) XXX_DiscardUnknown()
func (*Jwt) XXX_Unmarshal ¶
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"` AssignTimestampNs uint64 `protobuf:"varint,4,opt,name=assign_timestamp_ns,json=assignTimestampNs,proto3" json:"assign_timestamp_ns,omitempty"` TotalNs uint64 `protobuf:"varint,5,opt,name=total_ns,json=totalNs,proto3" json:"total_ns,omitempty"` }
func (*Latency) Descriptor ¶
func (*Latency) GetAssignTimestampNs ¶
func (*Latency) GetEncodingNs ¶
func (*Latency) GetParsingNs ¶
func (*Latency) GetProcessingNs ¶
func (*Latency) GetTotalNs ¶
func (*Latency) MarshalToSizedBuffer ¶
func (*Latency) ProtoMessage ¶
func (*Latency) ProtoMessage()
func (*Latency) XXX_DiscardUnknown ¶
func (m *Latency) XXX_DiscardUnknown()
func (*Latency) XXX_Marshal ¶
func (*Latency) XXX_Unmarshal ¶
type ListOfString ¶
type ListOfString struct {
Value []string `protobuf:"bytes,1,rep,name=value,proto3" json:"value,omitempty"`
}
func (*ListOfString) Descriptor ¶
func (*ListOfString) Descriptor() ([]byte, []int)
func (*ListOfString) GetValue ¶
func (m *ListOfString) GetValue() []string
func (*ListOfString) Marshal ¶
func (m *ListOfString) Marshal() (dAtA []byte, err error)
func (*ListOfString) MarshalToSizedBuffer ¶
func (m *ListOfString) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ListOfString) ProtoMessage ¶
func (*ListOfString) ProtoMessage()
func (*ListOfString) Reset ¶
func (m *ListOfString) Reset()
func (*ListOfString) Size ¶
func (m *ListOfString) Size() (n int)
func (*ListOfString) String ¶
func (m *ListOfString) String() string
func (*ListOfString) Unmarshal ¶
func (m *ListOfString) Unmarshal(dAtA []byte) error
func (*ListOfString) XXX_DiscardUnknown ¶
func (m *ListOfString) XXX_DiscardUnknown()
func (*ListOfString) XXX_Marshal ¶
func (m *ListOfString) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListOfString) XXX_Merge ¶
func (m *ListOfString) XXX_Merge(src proto.Message)
func (*ListOfString) XXX_Size ¶
func (m *ListOfString) XXX_Size() int
func (*ListOfString) XXX_Unmarshal ¶
func (m *ListOfString) XXX_Unmarshal(b []byte) error
type LoginRequest ¶
type LoginRequest struct { Userid string `protobuf:"bytes,1,opt,name=userid,proto3" json:"userid,omitempty"` Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` RefreshToken string `protobuf:"bytes,3,opt,name=refresh_token,json=refreshToken,proto3" json:"refresh_token,omitempty"` Namespace uint64 `protobuf:"varint,4,opt,name=namespace,proto3" json:"namespace,omitempty"` }
func (*LoginRequest) Descriptor ¶
func (*LoginRequest) Descriptor() ([]byte, []int)
func (*LoginRequest) GetNamespace ¶
func (m *LoginRequest) GetNamespace() uint64
func (*LoginRequest) GetPassword ¶
func (m *LoginRequest) GetPassword() string
func (*LoginRequest) GetRefreshToken ¶
func (m *LoginRequest) GetRefreshToken() string
func (*LoginRequest) GetUserid ¶
func (m *LoginRequest) GetUserid() string
func (*LoginRequest) Marshal ¶
func (m *LoginRequest) Marshal() (dAtA []byte, err error)
func (*LoginRequest) MarshalToSizedBuffer ¶
func (m *LoginRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*LoginRequest) ProtoMessage ¶
func (*LoginRequest) ProtoMessage()
func (*LoginRequest) Reset ¶
func (m *LoginRequest) Reset()
func (*LoginRequest) Size ¶
func (m *LoginRequest) Size() (n int)
func (*LoginRequest) String ¶
func (m *LoginRequest) String() string
func (*LoginRequest) Unmarshal ¶
func (m *LoginRequest) Unmarshal(dAtA []byte) error
func (*LoginRequest) XXX_DiscardUnknown ¶
func (m *LoginRequest) XXX_DiscardUnknown()
func (*LoginRequest) XXX_Marshal ¶
func (m *LoginRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LoginRequest) XXX_Merge ¶
func (m *LoginRequest) XXX_Merge(src proto.Message)
func (*LoginRequest) XXX_Size ¶
func (m *LoginRequest) XXX_Size() int
func (*LoginRequest) XXX_Unmarshal ¶
func (m *LoginRequest) XXX_Unmarshal(b []byte) error
type Metrics ¶
type Metrics struct { // num_uids is the map of number of uids processed by each attribute. NumUids map[string]uint64 `` /* 171-byte string literal not displayed */ }
func (*Metrics) Descriptor ¶
func (*Metrics) GetNumUids ¶
func (*Metrics) MarshalToSizedBuffer ¶
func (*Metrics) ProtoMessage ¶
func (*Metrics) ProtoMessage()
func (*Metrics) XXX_DiscardUnknown ¶
func (m *Metrics) XXX_DiscardUnknown()
func (*Metrics) XXX_Marshal ¶
func (*Metrics) XXX_Unmarshal ¶
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,5,rep,name=set,proto3" json:"set,omitempty"` Del []*NQuad `protobuf:"bytes,6,rep,name=del,proto3" json:"del,omitempty"` // This is being used for upserts. Cond string `protobuf:"bytes,9,opt,name=cond,proto3" json:"cond,omitempty"` // This field is a duplicate of the one in Request and placed here for convenience. CommitNow bool `protobuf:"varint,14,opt,name=commit_now,json=commitNow,proto3" json:"commit_now,omitempty"` }
func (*Mutation) Descriptor ¶
func (*Mutation) GetCommitNow ¶
func (*Mutation) GetDelNquads ¶
func (*Mutation) GetDeleteJson ¶
func (*Mutation) GetSetJson ¶
func (*Mutation) GetSetNquads ¶
func (*Mutation) MarshalToSizedBuffer ¶
func (*Mutation) ProtoMessage ¶
func (*Mutation) ProtoMessage()
func (*Mutation) XXX_DiscardUnknown ¶
func (m *Mutation) XXX_DiscardUnknown()
func (*Mutation) XXX_Marshal ¶
func (*Mutation) XXX_Unmarshal ¶
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,proto3" json:"object_value,omitempty"` Lang string `protobuf:"bytes,6,opt,name=lang,proto3" json:"lang,omitempty"` Facets []*Facet `protobuf:"bytes,7,rep,name=facets,proto3" json:"facets,omitempty"` Namespace uint64 `protobuf:"varint,8,opt,name=namespace,proto3" json:"namespace,omitempty"` }
func (*NQuad) Descriptor ¶
func (*NQuad) GetNamespace ¶
func (*NQuad) GetObjectId ¶
func (*NQuad) GetObjectValue ¶
func (*NQuad) GetPredicate ¶
func (*NQuad) GetSubject ¶
func (*NQuad) ProtoMessage ¶
func (*NQuad) ProtoMessage()
func (*NQuad) XXX_DiscardUnknown ¶
func (m *NQuad) XXX_DiscardUnknown()
func (*NQuad) XXX_Marshal ¶
func (*NQuad) XXX_Unmarshal ¶
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"` DropOp Operation_DropOp `protobuf:"varint,4,opt,name=drop_op,json=dropOp,proto3,enum=api.Operation_DropOp" json:"drop_op,omitempty"` // If drop_op is ATTR or TYPE, drop_value holds the name of the predicate or // type to delete. DropValue string `protobuf:"bytes,5,opt,name=drop_value,json=dropValue,proto3" json:"drop_value,omitempty"` // run indexes in background. RunInBackground bool `protobuf:"varint,6,opt,name=run_in_background,json=runInBackground,proto3" json:"run_in_background,omitempty"` }
func (*Operation) Descriptor ¶
func (*Operation) GetDropAll ¶
func (*Operation) GetDropAttr ¶
func (*Operation) GetDropOp ¶
func (m *Operation) GetDropOp() Operation_DropOp
func (*Operation) GetDropValue ¶
func (*Operation) GetRunInBackground ¶
func (*Operation) MarshalToSizedBuffer ¶
func (*Operation) ProtoMessage ¶
func (*Operation) ProtoMessage()
func (*Operation) XXX_DiscardUnknown ¶
func (m *Operation) XXX_DiscardUnknown()
func (*Operation) XXX_Marshal ¶
func (*Operation) XXX_Unmarshal ¶
type Operation_DropOp ¶
type Operation_DropOp int32
const ( Operation_NONE Operation_DropOp = 0 Operation_ALL Operation_DropOp = 1 Operation_DATA Operation_DropOp = 2 Operation_ATTR Operation_DropOp = 3 Operation_TYPE Operation_DropOp = 4 )
func (Operation_DropOp) EnumDescriptor ¶
func (Operation_DropOp) EnumDescriptor() ([]byte, []int)
func (Operation_DropOp) String ¶
func (x Operation_DropOp) String() string
type Payload ¶
type Payload struct {
Data []byte `protobuf:"bytes,1,opt,name=Data,proto3" json:"Data,omitempty"`
}
Worker services.
func (*Payload) Descriptor ¶
func (*Payload) MarshalToSizedBuffer ¶
func (*Payload) ProtoMessage ¶
func (*Payload) ProtoMessage()
func (*Payload) XXX_DiscardUnknown ¶
func (m *Payload) XXX_DiscardUnknown()
func (*Payload) XXX_Marshal ¶
func (*Payload) XXX_Unmarshal ¶
type Request ¶
type Request struct { StartTs uint64 `protobuf:"varint,1,opt,name=start_ts,json=startTs,proto3" json:"start_ts,omitempty"` Query string `protobuf:"bytes,4,opt,name=query,proto3" json:"query,omitempty"` Vars map[string]string `` /* 149-byte string literal not displayed */ ReadOnly bool `protobuf:"varint,6,opt,name=read_only,json=readOnly,proto3" json:"read_only,omitempty"` BestEffort bool `protobuf:"varint,7,opt,name=best_effort,json=bestEffort,proto3" json:"best_effort,omitempty"` Mutations []*Mutation `protobuf:"bytes,12,rep,name=mutations,proto3" json:"mutations,omitempty"` CommitNow bool `protobuf:"varint,13,opt,name=commit_now,json=commitNow,proto3" json:"commit_now,omitempty"` RespFormat Request_RespFormat `protobuf:"varint,14,opt,name=resp_format,json=respFormat,proto3,enum=api.Request_RespFormat" json:"resp_format,omitempty"` Hash string `protobuf:"bytes,15,opt,name=hash,proto3" json:"hash,omitempty"` }
func (*Request) Descriptor ¶
func (*Request) GetBestEffort ¶
func (*Request) GetCommitNow ¶
func (*Request) GetMutations ¶
func (*Request) GetReadOnly ¶
func (*Request) GetRespFormat ¶
func (m *Request) GetRespFormat() Request_RespFormat
func (*Request) GetStartTs ¶
func (*Request) MarshalToSizedBuffer ¶
func (*Request) ProtoMessage ¶
func (*Request) ProtoMessage()
func (*Request) XXX_DiscardUnknown ¶
func (m *Request) XXX_DiscardUnknown()
func (*Request) XXX_Marshal ¶
func (*Request) XXX_Unmarshal ¶
type Request_RespFormat ¶
type Request_RespFormat int32
const ( Request_JSON Request_RespFormat = 0 Request_RDF Request_RespFormat = 1 )
func (Request_RespFormat) EnumDescriptor ¶
func (Request_RespFormat) EnumDescriptor() ([]byte, []int)
func (Request_RespFormat) String ¶
func (x Request_RespFormat) String() string
type Response ¶
type Response struct { Json []byte `protobuf:"bytes,1,opt,name=json,proto3" json:"json,omitempty"` Txn *TxnContext `protobuf:"bytes,2,opt,name=txn,proto3" json:"txn,omitempty"` Latency *Latency `protobuf:"bytes,3,opt,name=latency,proto3" json:"latency,omitempty"` // Metrics contains all metrics related to the query. Metrics *Metrics `protobuf:"bytes,4,opt,name=metrics,proto3" json:"metrics,omitempty"` // uids contains a mapping of blank_node => uid for the node. It only returns uids // that were created as part of a mutation. Uids map[string]string `` /* 150-byte string literal not displayed */ Rdf []byte `protobuf:"bytes,13,opt,name=rdf,proto3" json:"rdf,omitempty"` Hdrs map[string]*ListOfString `` /* 150-byte string literal not displayed */ }
func (*Response) Descriptor ¶
func (*Response) GetHdrs ¶
func (m *Response) GetHdrs() map[string]*ListOfString
func (*Response) GetLatency ¶
func (*Response) GetMetrics ¶
func (*Response) GetTxn ¶
func (m *Response) GetTxn() *TxnContext
func (*Response) MarshalToSizedBuffer ¶
func (*Response) ProtoMessage ¶
func (*Response) ProtoMessage()
func (*Response) XXX_DiscardUnknown ¶
func (m *Response) XXX_DiscardUnknown()
func (*Response) XXX_Marshal ¶
func (*Response) XXX_Unmarshal ¶
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,proto3" json:"keys,omitempty"` Preds []string `protobuf:"bytes,5,rep,name=preds,proto3" json:"preds,omitempty"` Hash string `protobuf:"bytes,6,opt,name=hash,proto3" json:"hash,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) GetHash ¶
func (m *TxnContext) GetHash() string
func (*TxnContext) GetKeys ¶
func (m *TxnContext) GetKeys() []string
func (*TxnContext) GetPreds ¶
func (m *TxnContext) GetPreds() []string
func (*TxnContext) GetStartTs ¶
func (m *TxnContext) GetStartTs() uint64
func (*TxnContext) Marshal ¶
func (m *TxnContext) Marshal() (dAtA []byte, err error)
func (*TxnContext) MarshalToSizedBuffer ¶
func (m *TxnContext) MarshalToSizedBuffer(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
func (*TxnContext) XXX_DiscardUnknown ¶
func (m *TxnContext) XXX_DiscardUnknown()
func (*TxnContext) XXX_Marshal ¶
func (m *TxnContext) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TxnContext) XXX_Merge ¶
func (m *TxnContext) XXX_Merge(src proto.Message)
func (*TxnContext) XXX_Size ¶
func (m *TxnContext) XXX_Size() int
func (*TxnContext) XXX_Unmarshal ¶
func (m *TxnContext) XXX_Unmarshal(b []byte) error
type Uids ¶
type Uids struct {
Uids []string `protobuf:"bytes,1,rep,name=uids,proto3" json:"uids,omitempty"`
}
func (*Uids) Descriptor ¶
func (*Uids) ProtoMessage ¶
func (*Uids) ProtoMessage()
func (*Uids) XXX_DiscardUnknown ¶
func (m *Uids) XXX_DiscardUnknown()
func (*Uids) XXX_Unmarshal ¶
type UnimplementedDgraphServer ¶
type UnimplementedDgraphServer struct { }
UnimplementedDgraphServer can be embedded to have forward compatible implementations.
func (*UnimplementedDgraphServer) CheckVersion ¶
func (*UnimplementedDgraphServer) CommitOrAbort ¶
func (*UnimplementedDgraphServer) CommitOrAbort(ctx context.Context, req *TxnContext) (*TxnContext, error)
func (*UnimplementedDgraphServer) Login ¶
func (*UnimplementedDgraphServer) Login(ctx context.Context, req *LoginRequest) (*Response, 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) GetBoolVal ¶
func (*Value) GetBytesVal ¶
func (*Value) GetDateVal ¶
func (*Value) GetDatetimeVal ¶
func (*Value) GetDefaultVal ¶
func (*Value) GetDoubleVal ¶
func (*Value) GetPasswordVal ¶
func (*Value) ProtoMessage ¶
func (*Value) ProtoMessage()
func (*Value) XXX_DiscardUnknown ¶
func (m *Value) XXX_DiscardUnknown()
func (*Value) XXX_Marshal ¶
func (*Value) XXX_OneofWrappers ¶
func (*Value) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*Value) XXX_Unmarshal ¶
type Value_BoolVal ¶
type Value_BoolVal struct {
BoolVal bool `protobuf:"varint,4,opt,name=bool_val,json=boolVal,proto3,oneof" json:"bool_val,omitempty"`
}
func (*Value_BoolVal) MarshalToSizedBuffer ¶
func (m *Value_BoolVal) MarshalToSizedBuffer(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" json:"bytes_val,omitempty"`
}
func (*Value_BytesVal) MarshalToSizedBuffer ¶
func (m *Value_BytesVal) MarshalToSizedBuffer(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" json:"date_val,omitempty"`
}
func (*Value_DateVal) MarshalToSizedBuffer ¶
func (m *Value_DateVal) MarshalToSizedBuffer(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" json:"datetime_val,omitempty"`
}
func (*Value_DatetimeVal) MarshalTo ¶
func (m *Value_DatetimeVal) MarshalTo(dAtA []byte) (int, error)
func (*Value_DatetimeVal) MarshalToSizedBuffer ¶
func (m *Value_DatetimeVal) MarshalToSizedBuffer(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" json:"default_val,omitempty"`
}
func (*Value_DefaultVal) MarshalToSizedBuffer ¶
func (m *Value_DefaultVal) MarshalToSizedBuffer(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" json:"double_val,omitempty"`
}
func (*Value_DoubleVal) MarshalToSizedBuffer ¶
func (m *Value_DoubleVal) MarshalToSizedBuffer(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" json:"geo_val,omitempty"`
}
func (*Value_GeoVal) MarshalToSizedBuffer ¶
func (m *Value_GeoVal) MarshalToSizedBuffer(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" json:"int_val,omitempty"`
}
func (*Value_IntVal) MarshalToSizedBuffer ¶
func (m *Value_IntVal) MarshalToSizedBuffer(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" json:"password_val,omitempty"`
}
func (*Value_PasswordVal) MarshalTo ¶
func (m *Value_PasswordVal) MarshalTo(dAtA []byte) (int, error)
func (*Value_PasswordVal) MarshalToSizedBuffer ¶
func (m *Value_PasswordVal) MarshalToSizedBuffer(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" json:"str_val,omitempty"`
}
func (*Value_StrVal) MarshalToSizedBuffer ¶
func (m *Value_StrVal) MarshalToSizedBuffer(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" json:"uid_val,omitempty"`
}
func (*Value_UidVal) MarshalToSizedBuffer ¶
func (m *Value_UidVal) MarshalToSizedBuffer(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) MarshalToSizedBuffer ¶
func (*Version) ProtoMessage ¶
func (*Version) ProtoMessage()
func (*Version) XXX_DiscardUnknown ¶
func (m *Version) XXX_DiscardUnknown()
func (*Version) XXX_Marshal ¶
func (*Version) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.