go: cloud.google.com/go/datastore/internal/gaepb Index | Files

package gaepb

import "cloud.google.com/go/datastore/internal/gaepb"

Package gaepb is a subset of protobufs, copied from google.golang.org/appengine/internal/datastore. It includes the Reference, Path, and Path_Element protos.

They are copied here to provide compatibility to decode keys generated by the google.golang.org/appengine/datastore package. Copying the minimal amount of protos to support key decoding means we don't need to add a dependency on the appengine/datastore package.

Index

Package Files

datastore_v3.pb.go

type Path Uses

type Path struct {
    Element              []*Path_Element `protobuf:"group,1,rep,name=Element,json=element" json:"element,omitempty"`
    XXX_NoUnkeyedLiteral struct{}        `json:"-"`
    XXX_unrecognized     []byte          `json:"-"`
    XXX_sizecache        int32           `json:"-"`
}

func (*Path) Descriptor Uses

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

func (*Path) GetElement Uses

func (m *Path) GetElement() []*Path_Element

func (*Path) ProtoMessage Uses

func (*Path) ProtoMessage()

func (*Path) Reset Uses

func (m *Path) Reset()

func (*Path) String Uses

func (m *Path) String() string

func (*Path) XXX_DiscardUnknown Uses

func (m *Path) XXX_DiscardUnknown()

func (*Path) XXX_Marshal Uses

func (m *Path) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Path) XXX_Merge Uses

func (dst *Path) XXX_Merge(src proto.Message)

func (*Path) XXX_Size Uses

func (m *Path) XXX_Size() int

func (*Path) XXX_Unmarshal Uses

func (m *Path) XXX_Unmarshal(b []byte) error

type Path_Element Uses

type Path_Element struct {
    Type                 *string  `protobuf:"bytes,2,req,name=type" json:"type,omitempty"`
    Id                   *int64   `protobuf:"varint,3,opt,name=id" json:"id,omitempty"`
    Name                 *string  `protobuf:"bytes,4,opt,name=name" json:"name,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

func (*Path_Element) Descriptor Uses

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

func (*Path_Element) GetId Uses

func (m *Path_Element) GetId() int64

func (*Path_Element) GetName Uses

func (m *Path_Element) GetName() string

func (*Path_Element) GetType Uses

func (m *Path_Element) GetType() string

func (*Path_Element) ProtoMessage Uses

func (*Path_Element) ProtoMessage()

func (*Path_Element) Reset Uses

func (m *Path_Element) Reset()

func (*Path_Element) String Uses

func (m *Path_Element) String() string

func (*Path_Element) XXX_DiscardUnknown Uses

func (m *Path_Element) XXX_DiscardUnknown()

func (*Path_Element) XXX_Marshal Uses

func (m *Path_Element) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Path_Element) XXX_Merge Uses

func (dst *Path_Element) XXX_Merge(src proto.Message)

func (*Path_Element) XXX_Size Uses

func (m *Path_Element) XXX_Size() int

func (*Path_Element) XXX_Unmarshal Uses

func (m *Path_Element) XXX_Unmarshal(b []byte) error

type Reference Uses

type Reference struct {
    App                  *string  `protobuf:"bytes,13,req,name=app" json:"app,omitempty"`
    NameSpace            *string  `protobuf:"bytes,20,opt,name=name_space,json=nameSpace" json:"name_space,omitempty"`
    Path                 *Path    `protobuf:"bytes,14,req,name=path" json:"path,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

func (*Reference) Descriptor Uses

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

func (*Reference) GetApp Uses

func (m *Reference) GetApp() string

func (*Reference) GetNameSpace Uses

func (m *Reference) GetNameSpace() string

func (*Reference) GetPath Uses

func (m *Reference) GetPath() *Path

func (*Reference) ProtoMessage Uses

func (*Reference) ProtoMessage()

func (*Reference) Reset Uses

func (m *Reference) Reset()

func (*Reference) String Uses

func (m *Reference) String() string

func (*Reference) XXX_DiscardUnknown Uses

func (m *Reference) XXX_DiscardUnknown()

func (*Reference) XXX_Marshal Uses

func (m *Reference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Reference) XXX_Merge Uses

func (dst *Reference) XXX_Merge(src proto.Message)

func (*Reference) XXX_Size Uses

func (m *Reference) XXX_Size() int

func (*Reference) XXX_Unmarshal Uses

func (m *Reference) XXX_Unmarshal(b []byte) error

Package gaepb imports 1 packages (graph) and is imported by 1 packages. Updated 2019-09-18. Refresh now. Tools for package owners.