filetree_proto

package
v0.0.22 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2016 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package filetree_proto is a generated protocol buffer package.

It is generated from these files:

kythe/proto/filetree.proto

It has these top-level messages:

CorpusRootsRequest
CorpusRootsReply
DirectoryRequest
DirectoryReply

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthFiletree = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowFiletree   = fmt.Errorf("proto: integer overflow")
)

Functions

func RegisterFileTreeServiceServer

func RegisterFileTreeServiceServer(s *grpc.Server, srv FileTreeServiceServer)

Types

type CorpusRootsReply

type CorpusRootsReply struct {
	Corpus []*CorpusRootsReply_Corpus `protobuf:"bytes,1,rep,name=corpus" json:"corpus,omitempty"`
}

func (*CorpusRootsReply) Descriptor added in v0.0.21

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

func (*CorpusRootsReply) GetCorpus

func (m *CorpusRootsReply) GetCorpus() []*CorpusRootsReply_Corpus

func (*CorpusRootsReply) Marshal added in v0.0.17

func (m *CorpusRootsReply) Marshal() (data []byte, err error)

func (*CorpusRootsReply) MarshalTo added in v0.0.17

func (m *CorpusRootsReply) MarshalTo(data []byte) (int, error)

func (*CorpusRootsReply) ProtoMessage

func (*CorpusRootsReply) ProtoMessage()

func (*CorpusRootsReply) Reset

func (m *CorpusRootsReply) Reset()

func (*CorpusRootsReply) Size added in v0.0.17

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

func (*CorpusRootsReply) String

func (m *CorpusRootsReply) String() string

func (*CorpusRootsReply) Unmarshal added in v0.0.17

func (m *CorpusRootsReply) Unmarshal(data []byte) error

type CorpusRootsReply_Corpus

type CorpusRootsReply_Corpus struct {
	Name string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Root []string `protobuf:"bytes,2,rep,name=root" json:"root,omitempty"`
}

func (*CorpusRootsReply_Corpus) Descriptor added in v0.0.21

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

func (*CorpusRootsReply_Corpus) Marshal added in v0.0.17

func (m *CorpusRootsReply_Corpus) Marshal() (data []byte, err error)

func (*CorpusRootsReply_Corpus) MarshalTo added in v0.0.17

func (m *CorpusRootsReply_Corpus) MarshalTo(data []byte) (int, error)

func (*CorpusRootsReply_Corpus) ProtoMessage

func (*CorpusRootsReply_Corpus) ProtoMessage()

func (*CorpusRootsReply_Corpus) Reset

func (m *CorpusRootsReply_Corpus) Reset()

func (*CorpusRootsReply_Corpus) Size added in v0.0.17

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

func (*CorpusRootsReply_Corpus) String

func (m *CorpusRootsReply_Corpus) String() string

func (*CorpusRootsReply_Corpus) Unmarshal added in v0.0.17

func (m *CorpusRootsReply_Corpus) Unmarshal(data []byte) error

type CorpusRootsRequest

type CorpusRootsRequest struct {
}

func (*CorpusRootsRequest) Descriptor added in v0.0.21

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

func (*CorpusRootsRequest) Marshal added in v0.0.17

func (m *CorpusRootsRequest) Marshal() (data []byte, err error)

func (*CorpusRootsRequest) MarshalTo added in v0.0.17

func (m *CorpusRootsRequest) MarshalTo(data []byte) (int, error)

func (*CorpusRootsRequest) ProtoMessage

func (*CorpusRootsRequest) ProtoMessage()

func (*CorpusRootsRequest) Reset

func (m *CorpusRootsRequest) Reset()

func (*CorpusRootsRequest) Size added in v0.0.17

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

func (*CorpusRootsRequest) String

func (m *CorpusRootsRequest) String() string

func (*CorpusRootsRequest) Unmarshal added in v0.0.17

func (m *CorpusRootsRequest) Unmarshal(data []byte) error

type DirectoryReply

type DirectoryReply struct {
	// Set of tickets for each contained sub-directory's corpus, root, and path.
	Subdirectory []string `protobuf:"bytes,1,rep,name=subdirectory" json:"subdirectory,omitempty"`
	// Set of file tickets contained within this directory.
	File []string `protobuf:"bytes,2,rep,name=file" json:"file,omitempty"`
}

func (*DirectoryReply) Descriptor added in v0.0.21

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

func (*DirectoryReply) Marshal added in v0.0.17

func (m *DirectoryReply) Marshal() (data []byte, err error)

func (*DirectoryReply) MarshalTo added in v0.0.17

func (m *DirectoryReply) MarshalTo(data []byte) (int, error)

func (*DirectoryReply) ProtoMessage

func (*DirectoryReply) ProtoMessage()

func (*DirectoryReply) Reset

func (m *DirectoryReply) Reset()

func (*DirectoryReply) Size added in v0.0.17

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

func (*DirectoryReply) String

func (m *DirectoryReply) String() string

func (*DirectoryReply) Unmarshal added in v0.0.17

func (m *DirectoryReply) Unmarshal(data []byte) error

type DirectoryRequest

type DirectoryRequest struct {
	Corpus string `protobuf:"bytes,1,opt,name=corpus,proto3" json:"corpus,omitempty"`
	Root   string `protobuf:"bytes,2,opt,name=root,proto3" json:"root,omitempty"`
	Path   string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"`
}

func (*DirectoryRequest) Descriptor added in v0.0.21

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

func (*DirectoryRequest) Marshal added in v0.0.17

func (m *DirectoryRequest) Marshal() (data []byte, err error)

func (*DirectoryRequest) MarshalTo added in v0.0.17

func (m *DirectoryRequest) MarshalTo(data []byte) (int, error)

func (*DirectoryRequest) ProtoMessage

func (*DirectoryRequest) ProtoMessage()

func (*DirectoryRequest) Reset

func (m *DirectoryRequest) Reset()

func (*DirectoryRequest) Size added in v0.0.17

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

func (*DirectoryRequest) String

func (m *DirectoryRequest) String() string

func (*DirectoryRequest) Unmarshal added in v0.0.17

func (m *DirectoryRequest) Unmarshal(data []byte) error

type FileTreeServiceClient

type FileTreeServiceClient interface {
	// CorpusRoots returns all known corpus/root pairs for stored files.
	CorpusRoots(ctx context.Context, in *CorpusRootsRequest, opts ...grpc.CallOption) (*CorpusRootsReply, error)
	// Directory returns the file/sub-directory contents of the given directory.
	Directory(ctx context.Context, in *DirectoryRequest, opts ...grpc.CallOption) (*DirectoryReply, error)
}

func NewFileTreeServiceClient

func NewFileTreeServiceClient(cc *grpc.ClientConn) FileTreeServiceClient

type FileTreeServiceServer

type FileTreeServiceServer interface {
	// CorpusRoots returns all known corpus/root pairs for stored files.
	CorpusRoots(context.Context, *CorpusRootsRequest) (*CorpusRootsReply, error)
	// Directory returns the file/sub-directory contents of the given directory.
	Directory(context.Context, *DirectoryRequest) (*DirectoryReply, error)
}

Jump to

Keyboard shortcuts

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