660 lines
22 KiB
Go
660 lines
22 KiB
Go
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||
|
// versions:
|
||
|
// protoc-gen-go v1.31.0
|
||
|
// protoc (unknown)
|
||
|
// source: rpc/v1/wasi.proto
|
||
|
|
||
|
package rpcv1
|
||
|
|
||
|
import (
|
||
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||
|
reflect "reflect"
|
||
|
sync "sync"
|
||
|
)
|
||
|
|
||
|
const (
|
||
|
// Verify that this generated code is sufficiently up-to-date.
|
||
|
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
||
|
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
||
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
||
|
)
|
||
|
|
||
|
type ProcessStartRequest struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
Command string `protobuf:"bytes,1,opt,name=command,proto3" json:"command,omitempty"`
|
||
|
Args []string `protobuf:"bytes,2,rep,name=args,proto3" json:"args,omitempty"`
|
||
|
WorkingDirectory string `protobuf:"bytes,3,opt,name=working_directory,json=workingDirectory,proto3" json:"working_directory,omitempty"`
|
||
|
Environment map[string]string `protobuf:"bytes,4,rep,name=environment,proto3" json:"environment,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
||
|
Stdin []byte `protobuf:"bytes,5,opt,name=stdin,proto3" json:"stdin,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (x *ProcessStartRequest) Reset() {
|
||
|
*x = ProcessStartRequest{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_rpc_v1_wasi_proto_msgTypes[0]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *ProcessStartRequest) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*ProcessStartRequest) ProtoMessage() {}
|
||
|
|
||
|
func (x *ProcessStartRequest) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_rpc_v1_wasi_proto_msgTypes[0]
|
||
|
if protoimpl.UnsafeEnabled && x != nil {
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
if ms.LoadMessageInfo() == nil {
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
return ms
|
||
|
}
|
||
|
return mi.MessageOf(x)
|
||
|
}
|
||
|
|
||
|
// Deprecated: Use ProcessStartRequest.ProtoReflect.Descriptor instead.
|
||
|
func (*ProcessStartRequest) Descriptor() ([]byte, []int) {
|
||
|
return file_rpc_v1_wasi_proto_rawDescGZIP(), []int{0}
|
||
|
}
|
||
|
|
||
|
func (x *ProcessStartRequest) GetCommand() string {
|
||
|
if x != nil {
|
||
|
return x.Command
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (x *ProcessStartRequest) GetArgs() []string {
|
||
|
if x != nil {
|
||
|
return x.Args
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (x *ProcessStartRequest) GetWorkingDirectory() string {
|
||
|
if x != nil {
|
||
|
return x.WorkingDirectory
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (x *ProcessStartRequest) GetEnvironment() map[string]string {
|
||
|
if x != nil {
|
||
|
return x.Environment
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (x *ProcessStartRequest) GetStdin() []byte {
|
||
|
if x != nil {
|
||
|
return x.Stdin
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
type ProcessStartResponse struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
ExitCode int32 `protobuf:"varint,1,opt,name=exit_code,json=exitCode,proto3" json:"exit_code,omitempty"`
|
||
|
Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
|
||
|
Stderr []byte `protobuf:"bytes,3,opt,name=stderr,proto3" json:"stderr,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (x *ProcessStartResponse) Reset() {
|
||
|
*x = ProcessStartResponse{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_rpc_v1_wasi_proto_msgTypes[1]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *ProcessStartResponse) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*ProcessStartResponse) ProtoMessage() {}
|
||
|
|
||
|
func (x *ProcessStartResponse) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_rpc_v1_wasi_proto_msgTypes[1]
|
||
|
if protoimpl.UnsafeEnabled && x != nil {
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
if ms.LoadMessageInfo() == nil {
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
return ms
|
||
|
}
|
||
|
return mi.MessageOf(x)
|
||
|
}
|
||
|
|
||
|
// Deprecated: Use ProcessStartResponse.ProtoReflect.Descriptor instead.
|
||
|
func (*ProcessStartResponse) Descriptor() ([]byte, []int) {
|
||
|
return file_rpc_v1_wasi_proto_rawDescGZIP(), []int{1}
|
||
|
}
|
||
|
|
||
|
func (x *ProcessStartResponse) GetExitCode() int32 {
|
||
|
if x != nil {
|
||
|
return x.ExitCode
|
||
|
}
|
||
|
return 0
|
||
|
}
|
||
|
|
||
|
func (x *ProcessStartResponse) GetError() string {
|
||
|
if x != nil {
|
||
|
return x.Error
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (x *ProcessStartResponse) GetStderr() []byte {
|
||
|
if x != nil {
|
||
|
return x.Stderr
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
type LookupPathRequest struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
Command string `protobuf:"bytes,1,opt,name=command,proto3" json:"command,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (x *LookupPathRequest) Reset() {
|
||
|
*x = LookupPathRequest{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_rpc_v1_wasi_proto_msgTypes[2]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *LookupPathRequest) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*LookupPathRequest) ProtoMessage() {}
|
||
|
|
||
|
func (x *LookupPathRequest) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_rpc_v1_wasi_proto_msgTypes[2]
|
||
|
if protoimpl.UnsafeEnabled && x != nil {
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
if ms.LoadMessageInfo() == nil {
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
return ms
|
||
|
}
|
||
|
return mi.MessageOf(x)
|
||
|
}
|
||
|
|
||
|
// Deprecated: Use LookupPathRequest.ProtoReflect.Descriptor instead.
|
||
|
func (*LookupPathRequest) Descriptor() ([]byte, []int) {
|
||
|
return file_rpc_v1_wasi_proto_rawDescGZIP(), []int{2}
|
||
|
}
|
||
|
|
||
|
func (x *LookupPathRequest) GetCommand() string {
|
||
|
if x != nil {
|
||
|
return x.Command
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
type LookupPathResponse struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
|
||
|
Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (x *LookupPathResponse) Reset() {
|
||
|
*x = LookupPathResponse{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_rpc_v1_wasi_proto_msgTypes[3]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *LookupPathResponse) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*LookupPathResponse) ProtoMessage() {}
|
||
|
|
||
|
func (x *LookupPathResponse) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_rpc_v1_wasi_proto_msgTypes[3]
|
||
|
if protoimpl.UnsafeEnabled && x != nil {
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
if ms.LoadMessageInfo() == nil {
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
return ms
|
||
|
}
|
||
|
return mi.MessageOf(x)
|
||
|
}
|
||
|
|
||
|
// Deprecated: Use LookupPathResponse.ProtoReflect.Descriptor instead.
|
||
|
func (*LookupPathResponse) Descriptor() ([]byte, []int) {
|
||
|
return file_rpc_v1_wasi_proto_rawDescGZIP(), []int{3}
|
||
|
}
|
||
|
|
||
|
func (x *LookupPathResponse) GetPath() string {
|
||
|
if x != nil {
|
||
|
return x.Path
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (x *LookupPathResponse) GetError() string {
|
||
|
if x != nil {
|
||
|
return x.Error
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
type HelpRequest struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
ModuleReference *ModuleReference `protobuf:"bytes,1,opt,name=module_reference,json=moduleReference,proto3" json:"module_reference,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (x *HelpRequest) Reset() {
|
||
|
*x = HelpRequest{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_rpc_v1_wasi_proto_msgTypes[4]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *HelpRequest) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*HelpRequest) ProtoMessage() {}
|
||
|
|
||
|
func (x *HelpRequest) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_rpc_v1_wasi_proto_msgTypes[4]
|
||
|
if protoimpl.UnsafeEnabled && x != nil {
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
if ms.LoadMessageInfo() == nil {
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
return ms
|
||
|
}
|
||
|
return mi.MessageOf(x)
|
||
|
}
|
||
|
|
||
|
// Deprecated: Use HelpRequest.ProtoReflect.Descriptor instead.
|
||
|
func (*HelpRequest) Descriptor() ([]byte, []int) {
|
||
|
return file_rpc_v1_wasi_proto_rawDescGZIP(), []int{4}
|
||
|
}
|
||
|
|
||
|
func (x *HelpRequest) GetModuleReference() *ModuleReference {
|
||
|
if x != nil {
|
||
|
return x.ModuleReference
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
type TaskExample struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
||
|
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
|
||
|
TaskSpec *TaskSpec `protobuf:"bytes,3,opt,name=task_spec,json=taskSpec,proto3" json:"task_spec,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (x *TaskExample) Reset() {
|
||
|
*x = TaskExample{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_rpc_v1_wasi_proto_msgTypes[5]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *TaskExample) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*TaskExample) ProtoMessage() {}
|
||
|
|
||
|
func (x *TaskExample) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_rpc_v1_wasi_proto_msgTypes[5]
|
||
|
if protoimpl.UnsafeEnabled && x != nil {
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
if ms.LoadMessageInfo() == nil {
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
return ms
|
||
|
}
|
||
|
return mi.MessageOf(x)
|
||
|
}
|
||
|
|
||
|
// Deprecated: Use TaskExample.ProtoReflect.Descriptor instead.
|
||
|
func (*TaskExample) Descriptor() ([]byte, []int) {
|
||
|
return file_rpc_v1_wasi_proto_rawDescGZIP(), []int{5}
|
||
|
}
|
||
|
|
||
|
func (x *TaskExample) GetName() string {
|
||
|
if x != nil {
|
||
|
return x.Name
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (x *TaskExample) GetDescription() string {
|
||
|
if x != nil {
|
||
|
return x.Description
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (x *TaskExample) GetTaskSpec() *TaskSpec {
|
||
|
if x != nil {
|
||
|
return x.TaskSpec
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
type HelpResponse struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
||
|
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
|
||
|
Examples []*TaskExample `protobuf:"bytes,3,rep,name=examples,proto3" json:"examples,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (x *HelpResponse) Reset() {
|
||
|
*x = HelpResponse{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_rpc_v1_wasi_proto_msgTypes[6]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *HelpResponse) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*HelpResponse) ProtoMessage() {}
|
||
|
|
||
|
func (x *HelpResponse) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_rpc_v1_wasi_proto_msgTypes[6]
|
||
|
if protoimpl.UnsafeEnabled && x != nil {
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
if ms.LoadMessageInfo() == nil {
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
return ms
|
||
|
}
|
||
|
return mi.MessageOf(x)
|
||
|
}
|
||
|
|
||
|
// Deprecated: Use HelpResponse.ProtoReflect.Descriptor instead.
|
||
|
func (*HelpResponse) Descriptor() ([]byte, []int) {
|
||
|
return file_rpc_v1_wasi_proto_rawDescGZIP(), []int{6}
|
||
|
}
|
||
|
|
||
|
func (x *HelpResponse) GetName() string {
|
||
|
if x != nil {
|
||
|
return x.Name
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (x *HelpResponse) GetDescription() string {
|
||
|
if x != nil {
|
||
|
return x.Description
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (x *HelpResponse) GetExamples() []*TaskExample {
|
||
|
if x != nil {
|
||
|
return x.Examples
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
var File_rpc_v1_wasi_proto protoreflect.FileDescriptor
|
||
|
|
||
|
var file_rpc_v1_wasi_proto_rawDesc = []byte{
|
||
|
0x0a, 0x11, 0x72, 0x70, 0x63, 0x2f, 0x76, 0x31, 0x2f, 0x77, 0x61, 0x73, 0x69, 0x2e, 0x70, 0x72,
|
||
|
0x6f, 0x74, 0x6f, 0x12, 0x0d, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x72, 0x2e, 0x72, 0x70, 0x63, 0x2e,
|
||
|
0x76, 0x31, 0x1a, 0x11, 0x72, 0x70, 0x63, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x70, 0x65, 0x63, 0x2e,
|
||
|
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x9d, 0x02, 0x0a, 0x13, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73,
|
||
|
0x73, 0x53, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a,
|
||
|
0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07,
|
||
|
0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x61, 0x72, 0x67, 0x73, 0x18,
|
||
|
0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x61, 0x72, 0x67, 0x73, 0x12, 0x2b, 0x0a, 0x11, 0x77,
|
||
|
0x6f, 0x72, 0x6b, 0x69, 0x6e, 0x67, 0x5f, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79,
|
||
|
0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x77, 0x6f, 0x72, 0x6b, 0x69, 0x6e, 0x67, 0x44,
|
||
|
0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x55, 0x0a, 0x0b, 0x65, 0x6e, 0x76, 0x69,
|
||
|
0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x33, 0x2e,
|
||
|
0x62, 0x75, 0x69, 0x6c, 0x64, 0x72, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72,
|
||
|
0x6f, 0x63, 0x65, 0x73, 0x73, 0x53, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
||
|
0x74, 0x2e, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x45, 0x6e, 0x74,
|
||
|
0x72, 0x79, 0x52, 0x0b, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x12,
|
||
|
0x14, 0x0a, 0x05, 0x73, 0x74, 0x64, 0x69, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05,
|
||
|
0x73, 0x74, 0x64, 0x69, 0x6e, 0x1a, 0x3e, 0x0a, 0x10, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e,
|
||
|
0x6d, 0x65, 0x6e, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79,
|
||
|
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76,
|
||
|
0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75,
|
||
|
0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x61, 0x0a, 0x14, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73,
|
||
|
0x53, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1b, 0x0a,
|
||
|
0x09, 0x65, 0x78, 0x69, 0x74, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05,
|
||
|
0x52, 0x08, 0x65, 0x78, 0x69, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72,
|
||
|
0x72, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72,
|
||
|
0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x64, 0x65, 0x72, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c,
|
||
|
0x52, 0x06, 0x73, 0x74, 0x64, 0x65, 0x72, 0x72, 0x22, 0x2d, 0x0a, 0x11, 0x4c, 0x6f, 0x6f, 0x6b,
|
||
|
0x75, 0x70, 0x50, 0x61, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a,
|
||
|
0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07,
|
||
|
0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x22, 0x3e, 0x0a, 0x12, 0x4c, 0x6f, 0x6f, 0x6b, 0x75,
|
||
|
0x70, 0x50, 0x61, 0x74, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a,
|
||
|
0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74,
|
||
|
0x68, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
|
||
|
0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x58, 0x0a, 0x0b, 0x48, 0x65, 0x6c, 0x70, 0x52,
|
||
|
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x49, 0x0a, 0x10, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65,
|
||
|
0x5f, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
|
||
|
0x32, 0x1e, 0x2e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x72, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31,
|
||
|
0x2e, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65,
|
||
|
0x52, 0x0f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63,
|
||
|
0x65, 0x22, 0x79, 0x0a, 0x0b, 0x54, 0x61, 0x73, 0x6b, 0x45, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65,
|
||
|
0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,
|
||
|
0x6e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74,
|
||
|
0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72,
|
||
|
0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x34, 0x0a, 0x09, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73,
|
||
|
0x70, 0x65, 0x63, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x62, 0x75, 0x69, 0x6c,
|
||
|
0x64, 0x72, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x53, 0x70,
|
||
|
0x65, 0x63, 0x52, 0x08, 0x74, 0x61, 0x73, 0x6b, 0x53, 0x70, 0x65, 0x63, 0x22, 0x7c, 0x0a, 0x0c,
|
||
|
0x48, 0x65, 0x6c, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04,
|
||
|
0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65,
|
||
|
0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18,
|
||
|
0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69,
|
||
|
0x6f, 0x6e, 0x12, 0x36, 0x0a, 0x08, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73, 0x18, 0x03,
|
||
|
0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x72, 0x2e, 0x72, 0x70,
|
||
|
0x63, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x45, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65,
|
||
|
0x52, 0x08, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73, 0x42, 0xa6, 0x01, 0x0a, 0x11, 0x63,
|
||
|
0x6f, 0x6d, 0x2e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x72, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31,
|
||
|
0x42, 0x09, 0x57, 0x61, 0x73, 0x69, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x48, 0x02, 0x50, 0x01, 0x5a,
|
||
|
0x2e, 0x63, 0x6f, 0x64, 0x65, 0x2e, 0x69, 0x63, 0x62, 0x34, 0x64, 0x63, 0x30, 0x2e, 0x64, 0x65,
|
||
|
0x2f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x72, 0x2f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x72, 0x2f, 0x61,
|
||
|
0x70, 0x69, 0x2f, 0x72, 0x70, 0x63, 0x2f, 0x76, 0x31, 0x3b, 0x72, 0x70, 0x63, 0x76, 0x31, 0xa2,
|
||
|
0x02, 0x03, 0x42, 0x52, 0x58, 0xaa, 0x02, 0x0d, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x72, 0x2e, 0x52,
|
||
|
0x70, 0x63, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x0d, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x72, 0x5c, 0x52,
|
||
|
0x70, 0x63, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x19, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x72, 0x5c, 0x52,
|
||
|
0x70, 0x63, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74,
|
||
|
0x61, 0xea, 0x02, 0x0f, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x72, 0x3a, 0x3a, 0x52, 0x70, 0x63, 0x3a,
|
||
|
0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||
|
}
|
||
|
|
||
|
var (
|
||
|
file_rpc_v1_wasi_proto_rawDescOnce sync.Once
|
||
|
file_rpc_v1_wasi_proto_rawDescData = file_rpc_v1_wasi_proto_rawDesc
|
||
|
)
|
||
|
|
||
|
func file_rpc_v1_wasi_proto_rawDescGZIP() []byte {
|
||
|
file_rpc_v1_wasi_proto_rawDescOnce.Do(func() {
|
||
|
file_rpc_v1_wasi_proto_rawDescData = protoimpl.X.CompressGZIP(file_rpc_v1_wasi_proto_rawDescData)
|
||
|
})
|
||
|
return file_rpc_v1_wasi_proto_rawDescData
|
||
|
}
|
||
|
|
||
|
var file_rpc_v1_wasi_proto_msgTypes = make([]protoimpl.MessageInfo, 8)
|
||
|
var file_rpc_v1_wasi_proto_goTypes = []interface{}{
|
||
|
(*ProcessStartRequest)(nil), // 0: buildr.rpc.v1.ProcessStartRequest
|
||
|
(*ProcessStartResponse)(nil), // 1: buildr.rpc.v1.ProcessStartResponse
|
||
|
(*LookupPathRequest)(nil), // 2: buildr.rpc.v1.LookupPathRequest
|
||
|
(*LookupPathResponse)(nil), // 3: buildr.rpc.v1.LookupPathResponse
|
||
|
(*HelpRequest)(nil), // 4: buildr.rpc.v1.HelpRequest
|
||
|
(*TaskExample)(nil), // 5: buildr.rpc.v1.TaskExample
|
||
|
(*HelpResponse)(nil), // 6: buildr.rpc.v1.HelpResponse
|
||
|
nil, // 7: buildr.rpc.v1.ProcessStartRequest.EnvironmentEntry
|
||
|
(*ModuleReference)(nil), // 8: buildr.rpc.v1.ModuleReference
|
||
|
(*TaskSpec)(nil), // 9: buildr.rpc.v1.TaskSpec
|
||
|
}
|
||
|
var file_rpc_v1_wasi_proto_depIdxs = []int32{
|
||
|
7, // 0: buildr.rpc.v1.ProcessStartRequest.environment:type_name -> buildr.rpc.v1.ProcessStartRequest.EnvironmentEntry
|
||
|
8, // 1: buildr.rpc.v1.HelpRequest.module_reference:type_name -> buildr.rpc.v1.ModuleReference
|
||
|
9, // 2: buildr.rpc.v1.TaskExample.task_spec:type_name -> buildr.rpc.v1.TaskSpec
|
||
|
5, // 3: buildr.rpc.v1.HelpResponse.examples:type_name -> buildr.rpc.v1.TaskExample
|
||
|
4, // [4:4] is the sub-list for method output_type
|
||
|
4, // [4:4] is the sub-list for method input_type
|
||
|
4, // [4:4] is the sub-list for extension type_name
|
||
|
4, // [4:4] is the sub-list for extension extendee
|
||
|
0, // [0:4] is the sub-list for field type_name
|
||
|
}
|
||
|
|
||
|
func init() { file_rpc_v1_wasi_proto_init() }
|
||
|
func file_rpc_v1_wasi_proto_init() {
|
||
|
if File_rpc_v1_wasi_proto != nil {
|
||
|
return
|
||
|
}
|
||
|
file_rpc_v1_spec_proto_init()
|
||
|
if !protoimpl.UnsafeEnabled {
|
||
|
file_rpc_v1_wasi_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
||
|
switch v := v.(*ProcessStartRequest); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
file_rpc_v1_wasi_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
||
|
switch v := v.(*ProcessStartResponse); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
file_rpc_v1_wasi_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
||
|
switch v := v.(*LookupPathRequest); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
file_rpc_v1_wasi_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
||
|
switch v := v.(*LookupPathResponse); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
file_rpc_v1_wasi_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
||
|
switch v := v.(*HelpRequest); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
file_rpc_v1_wasi_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
||
|
switch v := v.(*TaskExample); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
file_rpc_v1_wasi_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
||
|
switch v := v.(*HelpResponse); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
type x struct{}
|
||
|
out := protoimpl.TypeBuilder{
|
||
|
File: protoimpl.DescBuilder{
|
||
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||
|
RawDescriptor: file_rpc_v1_wasi_proto_rawDesc,
|
||
|
NumEnums: 0,
|
||
|
NumMessages: 8,
|
||
|
NumExtensions: 0,
|
||
|
NumServices: 0,
|
||
|
},
|
||
|
GoTypes: file_rpc_v1_wasi_proto_goTypes,
|
||
|
DependencyIndexes: file_rpc_v1_wasi_proto_depIdxs,
|
||
|
MessageInfos: file_rpc_v1_wasi_proto_msgTypes,
|
||
|
}.Build()
|
||
|
File_rpc_v1_wasi_proto = out.File
|
||
|
file_rpc_v1_wasi_proto_rawDesc = nil
|
||
|
file_rpc_v1_wasi_proto_goTypes = nil
|
||
|
file_rpc_v1_wasi_proto_depIdxs = nil
|
||
|
}
|