proto

package
v0.0.0-...-bbf7051 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2018 License: GPL-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package proto is a generated protocol buffer package.

It is generated from these files:

builder.proto

It has these top-level messages:

BuildParams
VerboseParams
Response

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterBuilderServer

func RegisterBuilderServer(s *grpc.Server, srv BuilderServer)

Types

type BuildParams

type BuildParams struct {
	HardwareFolders         string `protobuf:"bytes,1,opt,name=hardwareFolders" json:"hardwareFolders,omitempty"`
	ToolsFolders            string `protobuf:"bytes,2,opt,name=toolsFolders" json:"toolsFolders,omitempty"`
	BuiltInLibrariesFolders string `protobuf:"bytes,3,opt,name=builtInLibrariesFolders" json:"builtInLibrariesFolders,omitempty"`
	OtherLibrariesFolders   string `protobuf:"bytes,4,opt,name=otherLibrariesFolders" json:"otherLibrariesFolders,omitempty"`
	SketchLocation          string `protobuf:"bytes,5,opt,name=sketchLocation" json:"sketchLocation,omitempty"`
	FQBN                    string `protobuf:"bytes,6,opt,name=fQBN" json:"fQBN,omitempty"`
	ArduinoAPIVersion       string `protobuf:"bytes,7,opt,name=arduinoAPIVersion" json:"arduinoAPIVersion,omitempty"`
	CustomBuildProperties   string `protobuf:"bytes,8,opt,name=customBuildProperties" json:"customBuildProperties,omitempty"`
	BuildCachePath          string `protobuf:"bytes,9,opt,name=buildCachePath" json:"buildCachePath,omitempty"`
	BuildPath               string `protobuf:"bytes,10,opt,name=buildPath" json:"buildPath,omitempty"`
	WarningsLevel           string `protobuf:"bytes,11,opt,name=warningsLevel" json:"warningsLevel,omitempty"`
	CodeCompleteAt          string `protobuf:"bytes,12,opt,name=codeCompleteAt" json:"codeCompleteAt,omitempty"`
	Verbose                 bool   `protobuf:"varint,13,opt,name=verbose" json:"verbose,omitempty"`
}

func (*BuildParams) Descriptor

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

func (*BuildParams) GetArduinoAPIVersion

func (m *BuildParams) GetArduinoAPIVersion() string

func (*BuildParams) GetBuildCachePath

func (m *BuildParams) GetBuildCachePath() string

func (*BuildParams) GetBuildPath

func (m *BuildParams) GetBuildPath() string

func (*BuildParams) GetBuiltInLibrariesFolders

func (m *BuildParams) GetBuiltInLibrariesFolders() string

func (*BuildParams) GetCodeCompleteAt

func (m *BuildParams) GetCodeCompleteAt() string

func (*BuildParams) GetCustomBuildProperties

func (m *BuildParams) GetCustomBuildProperties() string

func (*BuildParams) GetFQBN

func (m *BuildParams) GetFQBN() string

func (*BuildParams) GetHardwareFolders

func (m *BuildParams) GetHardwareFolders() string

func (*BuildParams) GetOtherLibrariesFolders

func (m *BuildParams) GetOtherLibrariesFolders() string

func (*BuildParams) GetSketchLocation

func (m *BuildParams) GetSketchLocation() string

func (*BuildParams) GetToolsFolders

func (m *BuildParams) GetToolsFolders() string

func (*BuildParams) GetVerbose

func (m *BuildParams) GetVerbose() bool

func (*BuildParams) GetWarningsLevel

func (m *BuildParams) GetWarningsLevel() string

func (*BuildParams) ProtoMessage

func (*BuildParams) ProtoMessage()

func (*BuildParams) Reset

func (m *BuildParams) Reset()

func (*BuildParams) String

func (m *BuildParams) String() string

type BuilderClient

type BuilderClient interface {
	// A server-to-client streaming RPC.
	//
	// Obtains the Features available within the given Rectangle.  Results are
	// streamed rather than returned at once (e.g. in a response message with a
	// repeated field), as the rectangle may cover a large area and contain a
	// huge number of features.
	Build(ctx context.Context, in *BuildParams, opts ...grpc.CallOption) (Builder_BuildClient, error)
	Autocomplete(ctx context.Context, in *BuildParams, opts ...grpc.CallOption) (*Response, error)
	DropCache(ctx context.Context, in *VerboseParams, opts ...grpc.CallOption) (*Response, error)
}

func NewBuilderClient

func NewBuilderClient(cc *grpc.ClientConn) BuilderClient

type BuilderServer

type BuilderServer interface {
	// A server-to-client streaming RPC.
	//
	// Obtains the Features available within the given Rectangle.  Results are
	// streamed rather than returned at once (e.g. in a response message with a
	// repeated field), as the rectangle may cover a large area and contain a
	// huge number of features.
	Build(*BuildParams, Builder_BuildServer) error
	Autocomplete(context.Context, *BuildParams) (*Response, error)
	DropCache(context.Context, *VerboseParams) (*Response, error)
}

type Builder_BuildClient

type Builder_BuildClient interface {
	Recv() (*Response, error)
	grpc.ClientStream
}

type Builder_BuildServer

type Builder_BuildServer interface {
	Send(*Response) error
	grpc.ServerStream
}

type Response

type Response struct {
	Line string `protobuf:"bytes,1,opt,name=line" json:"line,omitempty"`
}

func (*Response) Descriptor

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

func (*Response) GetLine

func (m *Response) GetLine() string

func (*Response) ProtoMessage

func (*Response) ProtoMessage()

func (*Response) Reset

func (m *Response) Reset()

func (*Response) String

func (m *Response) String() string

type VerboseParams

type VerboseParams struct {
	Verbose bool `protobuf:"varint,1,opt,name=verbose" json:"verbose,omitempty"`
}

func (*VerboseParams) Descriptor

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

func (*VerboseParams) GetVerbose

func (m *VerboseParams) GetVerbose() bool

func (*VerboseParams) ProtoMessage

func (*VerboseParams) ProtoMessage()

func (*VerboseParams) Reset

func (m *VerboseParams) Reset()

func (*VerboseParams) String

func (m *VerboseParams) String() string

Jump to

Keyboard shortcuts

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