rpc

package
v0.0.0-...-3196316 Latest Latest
Warning

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

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

Documentation

Overview

Package rpc is a generated protocol buffer package.

It is generated from these files:

github.com/codelingo/actions/actions/codelingo/rewrite/rpc/rewrite.proto

It has these top-level messages:

Request
Hunk

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Hunk

type Hunk struct {
	Filename    string `protobuf:"bytes,1,opt,name=filename" json:"filename,omitempty"`
	StartOffset int32  `protobuf:"varint,2,opt,name=startOffset" json:"startOffset,omitempty"`
	EndOffset   int32  `protobuf:"varint,3,opt,name=endOffset" json:"endOffset,omitempty"`
	SRC         string `protobuf:"bytes,4,opt,name=SRC" json:"SRC,omitempty"`
	Comment     string `protobuf:"bytes,5,opt,name=comment" json:"comment,omitempty"`
	// Hack to pass flag from CLIApp to writer
	CommentOutputFile string `protobuf:"bytes,6,opt,name=commentOutputFile" json:"commentOutputFile,omitempty"`
	DecoratorOptions  string `protobuf:"bytes,7,opt,name=decoratorOptions" json:"decoratorOptions,omitempty"`
}

func (*Hunk) Descriptor

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

func (*Hunk) GetComment

func (m *Hunk) GetComment() string

func (*Hunk) GetCommentOutputFile

func (m *Hunk) GetCommentOutputFile() string

func (*Hunk) GetDecoratorOptions

func (m *Hunk) GetDecoratorOptions() string

func (*Hunk) GetEndOffset

func (m *Hunk) GetEndOffset() int32

func (*Hunk) GetFilename

func (m *Hunk) GetFilename() string

func (*Hunk) GetSRC

func (m *Hunk) GetSRC() string

func (*Hunk) GetStartOffset

func (m *Hunk) GetStartOffset() int32

func (*Hunk) ProtoMessage

func (*Hunk) ProtoMessage()

func (*Hunk) Reset

func (m *Hunk) Reset()

func (*Hunk) String

func (m *Hunk) String() string

type Request

type Request struct {
	Host             string   `protobuf:"bytes,1,opt,name=host" json:"host,omitempty"`
	Hostname         string   `protobuf:"bytes,2,opt,name=hostname" json:"hostname,omitempty"`
	GenerateComments bool     `protobuf:"varint,3,opt,name=generateComments" json:"generateComments,omitempty"`
	Repo             string   `protobuf:"bytes,4,opt,name=repo" json:"repo,omitempty"`
	Sha              string   `protobuf:"bytes,5,opt,name=sha" json:"sha,omitempty"`
	Patches          []string `protobuf:"bytes,6,rep,name=Patches" json:"Patches,omitempty"`
	IsPullRequest    bool     `protobuf:"varint,7,opt,name=isPullRequest" json:"isPullRequest,omitempty"`
	PullRequestID    int64    `protobuf:"varint,8,opt,name=pullRequestID" json:"pullRequestID,omitempty"`
	Vcs              string   `protobuf:"bytes,9,opt,name=vcs" json:"vcs,omitempty"`
	Dotlingo         string   `protobuf:"bytes,10,opt,name=dotlingo" json:"dotlingo,omitempty"`
	Dir              string   `protobuf:"bytes,11,opt,name=dir" json:"dir,omitempty"`
	// Types that are valid to be assigned to OwnerOrDepot:
	//	*Request_Owner
	//	*Request_Depot
	OwnerOrDepot isRequest_OwnerOrDepot `protobuf_oneof:"ownerOrDepot"`
}

The request message containing the files or directories to review.

func (*Request) Descriptor

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

func (*Request) GetDepot

func (m *Request) GetDepot() string

func (*Request) GetDir

func (m *Request) GetDir() string

func (*Request) GetDotlingo

func (m *Request) GetDotlingo() string

func (*Request) GetGenerateComments

func (m *Request) GetGenerateComments() bool

func (*Request) GetHost

func (m *Request) GetHost() string

func (*Request) GetHostname

func (m *Request) GetHostname() string

func (*Request) GetIsPullRequest

func (m *Request) GetIsPullRequest() bool

func (*Request) GetOwner

func (m *Request) GetOwner() string

func (*Request) GetOwnerOrDepot

func (m *Request) GetOwnerOrDepot() isRequest_OwnerOrDepot

func (*Request) GetPatches

func (m *Request) GetPatches() []string

func (*Request) GetPullRequestID

func (m *Request) GetPullRequestID() int64

func (*Request) GetRepo

func (m *Request) GetRepo() string

func (*Request) GetSha

func (m *Request) GetSha() string

func (*Request) GetVcs

func (m *Request) GetVcs() string

func (*Request) ProtoMessage

func (*Request) ProtoMessage()

func (*Request) Reset

func (m *Request) Reset()

func (*Request) String

func (m *Request) String() string

func (*Request) XXX_OneofFuncs

func (*Request) 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 Request_Depot

type Request_Depot struct {
	Depot string `protobuf:"bytes,13,opt,name=depot,oneof"`
}

type Request_Owner

type Request_Owner struct {
	Owner string `protobuf:"bytes,12,opt,name=owner,oneof"`
}

Jump to

Keyboard shortcuts

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