runner-api/go/api/v2/api.pb.go

587 lines
19 KiB
Go

// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.28.1
// protoc (unknown)
// source: api/v2/api.proto
package apiv2
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 Register struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Secret string `protobuf:"bytes,1,opt,name=secret,proto3" json:"secret,omitempty"`
Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
Tags []string `protobuf:"bytes,3,rep,name=tags,proto3" json:"tags,omitempty"`
}
func (x *Register) Reset() {
*x = Register{}
if protoimpl.UnsafeEnabled {
mi := &file_api_v2_api_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Register) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Register) ProtoMessage() {}
func (x *Register) ProtoReflect() protoreflect.Message {
mi := &file_api_v2_api_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 Register.ProtoReflect.Descriptor instead.
func (*Register) Descriptor() ([]byte, []int) {
return file_api_v2_api_proto_rawDescGZIP(), []int{0}
}
func (x *Register) GetSecret() string {
if x != nil {
return x.Secret
}
return ""
}
func (x *Register) GetId() string {
if x != nil {
return x.Id
}
return ""
}
func (x *Register) GetTags() []string {
if x != nil {
return x.Tags
}
return nil
}
type RunCommand 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"`
}
func (x *RunCommand) Reset() {
*x = RunCommand{}
if protoimpl.UnsafeEnabled {
mi := &file_api_v2_api_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *RunCommand) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*RunCommand) ProtoMessage() {}
func (x *RunCommand) ProtoReflect() protoreflect.Message {
mi := &file_api_v2_api_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 RunCommand.ProtoReflect.Descriptor instead.
func (*RunCommand) Descriptor() ([]byte, []int) {
return file_api_v2_api_proto_rawDescGZIP(), []int{1}
}
func (x *RunCommand) GetCommand() string {
if x != nil {
return x.Command
}
return ""
}
func (x *RunCommand) GetArgs() []string {
if x != nil {
return x.Args
}
return nil
}
type RunCommandPartialResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Stdout string `protobuf:"bytes,1,opt,name=stdout,proto3" json:"stdout,omitempty"`
Stderr string `protobuf:"bytes,2,opt,name=stderr,proto3" json:"stderr,omitempty"`
}
func (x *RunCommandPartialResponse) Reset() {
*x = RunCommandPartialResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_api_v2_api_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *RunCommandPartialResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*RunCommandPartialResponse) ProtoMessage() {}
func (x *RunCommandPartialResponse) ProtoReflect() protoreflect.Message {
mi := &file_api_v2_api_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 RunCommandPartialResponse.ProtoReflect.Descriptor instead.
func (*RunCommandPartialResponse) Descriptor() ([]byte, []int) {
return file_api_v2_api_proto_rawDescGZIP(), []int{2}
}
func (x *RunCommandPartialResponse) GetStdout() string {
if x != nil {
return x.Stdout
}
return ""
}
func (x *RunCommandPartialResponse) GetStderr() string {
if x != nil {
return x.Stderr
}
return ""
}
type RunCommandFinalResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
ReturnCode int64 `protobuf:"varint,1,opt,name=return_code,json=returnCode,proto3" json:"return_code,omitempty"`
PartialResponse *RunCommandPartialResponse `protobuf:"bytes,2,opt,name=partial_response,json=partialResponse,proto3" json:"partial_response,omitempty"`
}
func (x *RunCommandFinalResponse) Reset() {
*x = RunCommandFinalResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_api_v2_api_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *RunCommandFinalResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*RunCommandFinalResponse) ProtoMessage() {}
func (x *RunCommandFinalResponse) ProtoReflect() protoreflect.Message {
mi := &file_api_v2_api_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 RunCommandFinalResponse.ProtoReflect.Descriptor instead.
func (*RunCommandFinalResponse) Descriptor() ([]byte, []int) {
return file_api_v2_api_proto_rawDescGZIP(), []int{3}
}
func (x *RunCommandFinalResponse) GetReturnCode() int64 {
if x != nil {
return x.ReturnCode
}
return 0
}
func (x *RunCommandFinalResponse) GetPartialResponse() *RunCommandPartialResponse {
if x != nil {
return x.PartialResponse
}
return nil
}
type ServerToRunnerMsg struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// Types that are assignable to Msg:
//
// *ServerToRunnerMsg_RunCommandMsg
Msg isServerToRunnerMsg_Msg `protobuf_oneof:"msg"`
}
func (x *ServerToRunnerMsg) Reset() {
*x = ServerToRunnerMsg{}
if protoimpl.UnsafeEnabled {
mi := &file_api_v2_api_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ServerToRunnerMsg) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ServerToRunnerMsg) ProtoMessage() {}
func (x *ServerToRunnerMsg) ProtoReflect() protoreflect.Message {
mi := &file_api_v2_api_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 ServerToRunnerMsg.ProtoReflect.Descriptor instead.
func (*ServerToRunnerMsg) Descriptor() ([]byte, []int) {
return file_api_v2_api_proto_rawDescGZIP(), []int{4}
}
func (m *ServerToRunnerMsg) GetMsg() isServerToRunnerMsg_Msg {
if m != nil {
return m.Msg
}
return nil
}
func (x *ServerToRunnerMsg) GetRunCommandMsg() *RunCommand {
if x, ok := x.GetMsg().(*ServerToRunnerMsg_RunCommandMsg); ok {
return x.RunCommandMsg
}
return nil
}
type isServerToRunnerMsg_Msg interface {
isServerToRunnerMsg_Msg()
}
type ServerToRunnerMsg_RunCommandMsg struct {
RunCommandMsg *RunCommand `protobuf:"bytes,1,opt,name=RunCommandMsg,proto3,oneof"`
}
func (*ServerToRunnerMsg_RunCommandMsg) isServerToRunnerMsg_Msg() {}
type RunnerToServerMsg struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// Types that are assignable to Msg:
//
// *RunnerToServerMsg_RunCommandPartialResponseMsg
// *RunnerToServerMsg_RunCommandFinalResponseMsg
Msg isRunnerToServerMsg_Msg `protobuf_oneof:"msg"`
}
func (x *RunnerToServerMsg) Reset() {
*x = RunnerToServerMsg{}
if protoimpl.UnsafeEnabled {
mi := &file_api_v2_api_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *RunnerToServerMsg) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*RunnerToServerMsg) ProtoMessage() {}
func (x *RunnerToServerMsg) ProtoReflect() protoreflect.Message {
mi := &file_api_v2_api_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 RunnerToServerMsg.ProtoReflect.Descriptor instead.
func (*RunnerToServerMsg) Descriptor() ([]byte, []int) {
return file_api_v2_api_proto_rawDescGZIP(), []int{5}
}
func (m *RunnerToServerMsg) GetMsg() isRunnerToServerMsg_Msg {
if m != nil {
return m.Msg
}
return nil
}
func (x *RunnerToServerMsg) GetRunCommandPartialResponseMsg() *RunCommandPartialResponse {
if x, ok := x.GetMsg().(*RunnerToServerMsg_RunCommandPartialResponseMsg); ok {
return x.RunCommandPartialResponseMsg
}
return nil
}
func (x *RunnerToServerMsg) GetRunCommandFinalResponseMsg() *RunCommandFinalResponse {
if x, ok := x.GetMsg().(*RunnerToServerMsg_RunCommandFinalResponseMsg); ok {
return x.RunCommandFinalResponseMsg
}
return nil
}
type isRunnerToServerMsg_Msg interface {
isRunnerToServerMsg_Msg()
}
type RunnerToServerMsg_RunCommandPartialResponseMsg struct {
RunCommandPartialResponseMsg *RunCommandPartialResponse `protobuf:"bytes,1,opt,name=RunCommandPartialResponseMsg,proto3,oneof"`
}
type RunnerToServerMsg_RunCommandFinalResponseMsg struct {
RunCommandFinalResponseMsg *RunCommandFinalResponse `protobuf:"bytes,2,opt,name=RunCommandFinalResponseMsg,proto3,oneof"`
}
func (*RunnerToServerMsg_RunCommandPartialResponseMsg) isRunnerToServerMsg_Msg() {}
func (*RunnerToServerMsg_RunCommandFinalResponseMsg) isRunnerToServerMsg_Msg() {}
var File_api_v2_api_proto protoreflect.FileDescriptor
var file_api_v2_api_proto_rawDesc = []byte{
0x0a, 0x10, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x32, 0x2f, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f,
0x74, 0x6f, 0x22, 0x46, 0x0a, 0x08, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x12, 0x16,
0x0a, 0x06, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06,
0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01,
0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x61, 0x67, 0x73, 0x18, 0x03,
0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x74, 0x61, 0x67, 0x73, 0x22, 0x3a, 0x0a, 0x0a, 0x52, 0x75,
0x6e, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 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, 0x22, 0x4b, 0x0a, 0x19, 0x52, 0x75, 0x6e, 0x43, 0x6f, 0x6d,
0x6d, 0x61, 0x6e, 0x64, 0x50, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f,
0x6e, 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x64, 0x6f, 0x75, 0x74, 0x18, 0x01, 0x20,
0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x74, 0x64, 0x6f, 0x75, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x73,
0x74, 0x64, 0x65, 0x72, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x74, 0x64,
0x65, 0x72, 0x72, 0x22, 0x81, 0x01, 0x0a, 0x17, 0x52, 0x75, 0x6e, 0x43, 0x6f, 0x6d, 0x6d, 0x61,
0x6e, 0x64, 0x46, 0x69, 0x6e, 0x61, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01,
0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x72, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x43, 0x6f, 0x64, 0x65,
0x12, 0x45, 0x0a, 0x10, 0x70, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c, 0x5f, 0x72, 0x65, 0x73, 0x70,
0x6f, 0x6e, 0x73, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x52, 0x75, 0x6e,
0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x50, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c, 0x52, 0x65,
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x0f, 0x70, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c, 0x52,
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x4f, 0x0a, 0x11, 0x53, 0x65, 0x72, 0x76, 0x65,
0x72, 0x54, 0x6f, 0x52, 0x75, 0x6e, 0x6e, 0x65, 0x72, 0x4d, 0x73, 0x67, 0x12, 0x33, 0x0a, 0x0d,
0x52, 0x75, 0x6e, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x4d, 0x73, 0x67, 0x18, 0x01, 0x20,
0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x52, 0x75, 0x6e, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64,
0x48, 0x00, 0x52, 0x0d, 0x52, 0x75, 0x6e, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x4d, 0x73,
0x67, 0x42, 0x05, 0x0a, 0x03, 0x6d, 0x73, 0x67, 0x22, 0xd8, 0x01, 0x0a, 0x11, 0x52, 0x75, 0x6e,
0x6e, 0x65, 0x72, 0x54, 0x6f, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4d, 0x73, 0x67, 0x12, 0x60,
0x0a, 0x1c, 0x52, 0x75, 0x6e, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x50, 0x61, 0x72, 0x74,
0x69, 0x61, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x4d, 0x73, 0x67, 0x18, 0x01,
0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x52, 0x75, 0x6e, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e,
0x64, 0x50, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
0x48, 0x00, 0x52, 0x1c, 0x52, 0x75, 0x6e, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x50, 0x61,
0x72, 0x74, 0x69, 0x61, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x4d, 0x73, 0x67,
0x12, 0x5a, 0x0a, 0x1a, 0x52, 0x75, 0x6e, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x46, 0x69,
0x6e, 0x61, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x4d, 0x73, 0x67, 0x18, 0x02,
0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x52, 0x75, 0x6e, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e,
0x64, 0x46, 0x69, 0x6e, 0x61, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x48, 0x00,
0x52, 0x1a, 0x52, 0x75, 0x6e, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x46, 0x69, 0x6e, 0x61,
0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x4d, 0x73, 0x67, 0x42, 0x05, 0x0a, 0x03,
0x6d, 0x73, 0x67, 0x42, 0x33, 0x5a, 0x31, 0x67, 0x69, 0x74, 0x2e, 0x6f, 0x68, 0x65, 0x61, 0x2e,
0x78, 0x79, 0x7a, 0x2f, 0x63, 0x75, 0x72, 0x73, 0x6f, 0x72, 0x69, 0x75, 0x73, 0x2f, 0x72, 0x75,
0x6e, 0x6e, 0x65, 0x72, 0x2d, 0x61, 0x70, 0x69, 0x2f, 0x67, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f,
0x76, 0x32, 0x3b, 0x61, 0x70, 0x69, 0x76, 0x32, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
file_api_v2_api_proto_rawDescOnce sync.Once
file_api_v2_api_proto_rawDescData = file_api_v2_api_proto_rawDesc
)
func file_api_v2_api_proto_rawDescGZIP() []byte {
file_api_v2_api_proto_rawDescOnce.Do(func() {
file_api_v2_api_proto_rawDescData = protoimpl.X.CompressGZIP(file_api_v2_api_proto_rawDescData)
})
return file_api_v2_api_proto_rawDescData
}
var file_api_v2_api_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
var file_api_v2_api_proto_goTypes = []interface{}{
(*Register)(nil), // 0: Register
(*RunCommand)(nil), // 1: RunCommand
(*RunCommandPartialResponse)(nil), // 2: RunCommandPartialResponse
(*RunCommandFinalResponse)(nil), // 3: RunCommandFinalResponse
(*ServerToRunnerMsg)(nil), // 4: ServerToRunnerMsg
(*RunnerToServerMsg)(nil), // 5: RunnerToServerMsg
}
var file_api_v2_api_proto_depIdxs = []int32{
2, // 0: RunCommandFinalResponse.partial_response:type_name -> RunCommandPartialResponse
1, // 1: ServerToRunnerMsg.RunCommandMsg:type_name -> RunCommand
2, // 2: RunnerToServerMsg.RunCommandPartialResponseMsg:type_name -> RunCommandPartialResponse
3, // 3: RunnerToServerMsg.RunCommandFinalResponseMsg:type_name -> RunCommandFinalResponse
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_api_v2_api_proto_init() }
func file_api_v2_api_proto_init() {
if File_api_v2_api_proto != nil {
return
}
if !protoimpl.UnsafeEnabled {
file_api_v2_api_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Register); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_api_v2_api_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*RunCommand); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_api_v2_api_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*RunCommandPartialResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_api_v2_api_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*RunCommandFinalResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_api_v2_api_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ServerToRunnerMsg); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_api_v2_api_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*RunnerToServerMsg); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
}
file_api_v2_api_proto_msgTypes[4].OneofWrappers = []interface{}{
(*ServerToRunnerMsg_RunCommandMsg)(nil),
}
file_api_v2_api_proto_msgTypes[5].OneofWrappers = []interface{}{
(*RunnerToServerMsg_RunCommandPartialResponseMsg)(nil),
(*RunnerToServerMsg_RunCommandFinalResponseMsg)(nil),
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_api_v2_api_proto_rawDesc,
NumEnums: 0,
NumMessages: 6,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_api_v2_api_proto_goTypes,
DependencyIndexes: file_api_v2_api_proto_depIdxs,
MessageInfos: file_api_v2_api_proto_msgTypes,
}.Build()
File_api_v2_api_proto = out.File
file_api_v2_api_proto_rawDesc = nil
file_api_v2_api_proto_goTypes = nil
file_api_v2_api_proto_depIdxs = nil
}