gaepb

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2020 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

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

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Path

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

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

func (*Path) GetElement

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

func (*Path) ProtoMessage

func (*Path) ProtoMessage()

func (*Path) Reset

func (m *Path) Reset()

func (*Path) String

func (m *Path) String() string

func (*Path) XXX_DiscardUnknown

func (m *Path) XXX_DiscardUnknown()

func (*Path) XXX_Marshal

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

func (*Path) XXX_Merge

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

func (*Path) XXX_Size

func (m *Path) XXX_Size() int

func (*Path) XXX_Unmarshal

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

type Path_Element

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

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

func (*Path_Element) GetId

func (m *Path_Element) GetId() int64

func (*Path_Element) GetName

func (m *Path_Element) GetName() string

func (*Path_Element) GetType

func (m *Path_Element) GetType() string

func (*Path_Element) ProtoMessage

func (*Path_Element) ProtoMessage()

func (*Path_Element) Reset

func (m *Path_Element) Reset()

func (*Path_Element) String

func (m *Path_Element) String() string

func (*Path_Element) XXX_DiscardUnknown

func (m *Path_Element) XXX_DiscardUnknown()

func (*Path_Element) XXX_Marshal

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

func (*Path_Element) XXX_Merge

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

func (*Path_Element) XXX_Size

func (m *Path_Element) XXX_Size() int

func (*Path_Element) XXX_Unmarshal

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

type Reference

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

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

func (*Reference) GetApp

func (m *Reference) GetApp() string

func (*Reference) GetNameSpace

func (m *Reference) GetNameSpace() string

func (*Reference) GetPath

func (m *Reference) GetPath() *Path

func (*Reference) ProtoMessage

func (*Reference) ProtoMessage()

func (*Reference) Reset

func (m *Reference) Reset()

func (*Reference) String

func (m *Reference) String() string

func (*Reference) XXX_DiscardUnknown

func (m *Reference) XXX_DiscardUnknown()

func (*Reference) XXX_Marshal

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

func (*Reference) XXX_Merge

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

func (*Reference) XXX_Size

func (m *Reference) XXX_Size() int

func (*Reference) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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