github.com/emcfarlane/larking@v0.0.0-20220605172417-1704b45ee6c3/apipb/workerpb/worker.pb.go (about)

     1  // Copyright 2022 Edward McFarlane. All rights reserved.
     2  // Use of this source code is governed by a BSD-style
     3  // license that can be found in the LICENSE file.
     4  
     5  // Code generated by protoc-gen-go. DO NOT EDIT.
     6  // versions:
     7  // 	protoc-gen-go v1.27.1
     8  // 	protoc        v3.19.4
     9  // source: apipb/workerpb/worker.proto
    10  
    11  package workerpb
    12  
    13  import (
    14  	_ "google.golang.org/genproto/googleapis/api/annotations"
    15  	status "google.golang.org/genproto/googleapis/rpc/status"
    16  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    17  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    18  	reflect "reflect"
    19  	sync "sync"
    20  )
    21  
    22  const (
    23  	// Verify that this generated code is sufficiently up-to-date.
    24  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    25  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    26  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    27  )
    28  
    29  type Command struct {
    30  	state         protoimpl.MessageState
    31  	sizeCache     protoimpl.SizeCache
    32  	unknownFields protoimpl.UnknownFields
    33  
    34  	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    35  	// Types that are assignable to Exec:
    36  	//	*Command_Input
    37  	//	*Command_Complete
    38  	//	*Command_Format
    39  	Exec isCommand_Exec `protobuf_oneof:"exec"`
    40  }
    41  
    42  func (x *Command) Reset() {
    43  	*x = Command{}
    44  	if protoimpl.UnsafeEnabled {
    45  		mi := &file_apipb_workerpb_worker_proto_msgTypes[0]
    46  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    47  		ms.StoreMessageInfo(mi)
    48  	}
    49  }
    50  
    51  func (x *Command) String() string {
    52  	return protoimpl.X.MessageStringOf(x)
    53  }
    54  
    55  func (*Command) ProtoMessage() {}
    56  
    57  func (x *Command) ProtoReflect() protoreflect.Message {
    58  	mi := &file_apipb_workerpb_worker_proto_msgTypes[0]
    59  	if protoimpl.UnsafeEnabled && x != nil {
    60  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    61  		if ms.LoadMessageInfo() == nil {
    62  			ms.StoreMessageInfo(mi)
    63  		}
    64  		return ms
    65  	}
    66  	return mi.MessageOf(x)
    67  }
    68  
    69  // Deprecated: Use Command.ProtoReflect.Descriptor instead.
    70  func (*Command) Descriptor() ([]byte, []int) {
    71  	return file_apipb_workerpb_worker_proto_rawDescGZIP(), []int{0}
    72  }
    73  
    74  func (x *Command) GetName() string {
    75  	if x != nil {
    76  		return x.Name
    77  	}
    78  	return ""
    79  }
    80  
    81  func (m *Command) GetExec() isCommand_Exec {
    82  	if m != nil {
    83  		return m.Exec
    84  	}
    85  	return nil
    86  }
    87  
    88  func (x *Command) GetInput() string {
    89  	if x, ok := x.GetExec().(*Command_Input); ok {
    90  		return x.Input
    91  	}
    92  	return ""
    93  }
    94  
    95  func (x *Command) GetComplete() string {
    96  	if x, ok := x.GetExec().(*Command_Complete); ok {
    97  		return x.Complete
    98  	}
    99  	return ""
   100  }
   101  
   102  func (x *Command) GetFormat() string {
   103  	if x, ok := x.GetExec().(*Command_Format); ok {
   104  		return x.Format
   105  	}
   106  	return ""
   107  }
   108  
   109  type isCommand_Exec interface {
   110  	isCommand_Exec()
   111  }
   112  
   113  type Command_Input struct {
   114  	Input string `protobuf:"bytes,2,opt,name=input,proto3,oneof"`
   115  }
   116  
   117  type Command_Complete struct {
   118  	Complete string `protobuf:"bytes,3,opt,name=complete,proto3,oneof"`
   119  }
   120  
   121  type Command_Format struct {
   122  	Format string `protobuf:"bytes,4,opt,name=format,proto3,oneof"`
   123  }
   124  
   125  func (*Command_Input) isCommand_Exec() {}
   126  
   127  func (*Command_Complete) isCommand_Exec() {}
   128  
   129  func (*Command_Format) isCommand_Exec() {}
   130  
   131  type Output struct {
   132  	state         protoimpl.MessageState
   133  	sizeCache     protoimpl.SizeCache
   134  	unknownFields protoimpl.UnknownFields
   135  
   136  	Output string         `protobuf:"bytes,1,opt,name=output,proto3" json:"output,omitempty"` // printed output
   137  	Status *status.Status `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
   138  }
   139  
   140  func (x *Output) Reset() {
   141  	*x = Output{}
   142  	if protoimpl.UnsafeEnabled {
   143  		mi := &file_apipb_workerpb_worker_proto_msgTypes[1]
   144  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   145  		ms.StoreMessageInfo(mi)
   146  	}
   147  }
   148  
   149  func (x *Output) String() string {
   150  	return protoimpl.X.MessageStringOf(x)
   151  }
   152  
   153  func (*Output) ProtoMessage() {}
   154  
   155  func (x *Output) ProtoReflect() protoreflect.Message {
   156  	mi := &file_apipb_workerpb_worker_proto_msgTypes[1]
   157  	if protoimpl.UnsafeEnabled && x != nil {
   158  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   159  		if ms.LoadMessageInfo() == nil {
   160  			ms.StoreMessageInfo(mi)
   161  		}
   162  		return ms
   163  	}
   164  	return mi.MessageOf(x)
   165  }
   166  
   167  // Deprecated: Use Output.ProtoReflect.Descriptor instead.
   168  func (*Output) Descriptor() ([]byte, []int) {
   169  	return file_apipb_workerpb_worker_proto_rawDescGZIP(), []int{1}
   170  }
   171  
   172  func (x *Output) GetOutput() string {
   173  	if x != nil {
   174  		return x.Output
   175  	}
   176  	return ""
   177  }
   178  
   179  func (x *Output) GetStatus() *status.Status {
   180  	if x != nil {
   181  		return x.Status
   182  	}
   183  	return nil
   184  }
   185  
   186  type Completion struct {
   187  	state         protoimpl.MessageState
   188  	sizeCache     protoimpl.SizeCache
   189  	unknownFields protoimpl.UnknownFields
   190  
   191  	Completions []string `protobuf:"bytes,3,rep,name=completions,proto3" json:"completions,omitempty"` // completions
   192  }
   193  
   194  func (x *Completion) Reset() {
   195  	*x = Completion{}
   196  	if protoimpl.UnsafeEnabled {
   197  		mi := &file_apipb_workerpb_worker_proto_msgTypes[2]
   198  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   199  		ms.StoreMessageInfo(mi)
   200  	}
   201  }
   202  
   203  func (x *Completion) String() string {
   204  	return protoimpl.X.MessageStringOf(x)
   205  }
   206  
   207  func (*Completion) ProtoMessage() {}
   208  
   209  func (x *Completion) ProtoReflect() protoreflect.Message {
   210  	mi := &file_apipb_workerpb_worker_proto_msgTypes[2]
   211  	if protoimpl.UnsafeEnabled && x != nil {
   212  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   213  		if ms.LoadMessageInfo() == nil {
   214  			ms.StoreMessageInfo(mi)
   215  		}
   216  		return ms
   217  	}
   218  	return mi.MessageOf(x)
   219  }
   220  
   221  // Deprecated: Use Completion.ProtoReflect.Descriptor instead.
   222  func (*Completion) Descriptor() ([]byte, []int) {
   223  	return file_apipb_workerpb_worker_proto_rawDescGZIP(), []int{2}
   224  }
   225  
   226  func (x *Completion) GetCompletions() []string {
   227  	if x != nil {
   228  		return x.Completions
   229  	}
   230  	return nil
   231  }
   232  
   233  type Result struct {
   234  	state         protoimpl.MessageState
   235  	sizeCache     protoimpl.SizeCache
   236  	unknownFields protoimpl.UnknownFields
   237  
   238  	// Types that are assignable to Result:
   239  	//	*Result_Output
   240  	//	*Result_Completion
   241  	Result isResult_Result `protobuf_oneof:"result"`
   242  }
   243  
   244  func (x *Result) Reset() {
   245  	*x = Result{}
   246  	if protoimpl.UnsafeEnabled {
   247  		mi := &file_apipb_workerpb_worker_proto_msgTypes[3]
   248  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   249  		ms.StoreMessageInfo(mi)
   250  	}
   251  }
   252  
   253  func (x *Result) String() string {
   254  	return protoimpl.X.MessageStringOf(x)
   255  }
   256  
   257  func (*Result) ProtoMessage() {}
   258  
   259  func (x *Result) ProtoReflect() protoreflect.Message {
   260  	mi := &file_apipb_workerpb_worker_proto_msgTypes[3]
   261  	if protoimpl.UnsafeEnabled && x != nil {
   262  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   263  		if ms.LoadMessageInfo() == nil {
   264  			ms.StoreMessageInfo(mi)
   265  		}
   266  		return ms
   267  	}
   268  	return mi.MessageOf(x)
   269  }
   270  
   271  // Deprecated: Use Result.ProtoReflect.Descriptor instead.
   272  func (*Result) Descriptor() ([]byte, []int) {
   273  	return file_apipb_workerpb_worker_proto_rawDescGZIP(), []int{3}
   274  }
   275  
   276  func (m *Result) GetResult() isResult_Result {
   277  	if m != nil {
   278  		return m.Result
   279  	}
   280  	return nil
   281  }
   282  
   283  func (x *Result) GetOutput() *Output {
   284  	if x, ok := x.GetResult().(*Result_Output); ok {
   285  		return x.Output
   286  	}
   287  	return nil
   288  }
   289  
   290  func (x *Result) GetCompletion() *Completion {
   291  	if x, ok := x.GetResult().(*Result_Completion); ok {
   292  		return x.Completion
   293  	}
   294  	return nil
   295  }
   296  
   297  type isResult_Result interface {
   298  	isResult_Result()
   299  }
   300  
   301  type Result_Output struct {
   302  	Output *Output `protobuf:"bytes,1,opt,name=output,proto3,oneof"`
   303  }
   304  
   305  type Result_Completion struct {
   306  	Completion *Completion `protobuf:"bytes,2,opt,name=completion,proto3,oneof"`
   307  }
   308  
   309  func (*Result_Output) isResult_Result() {}
   310  
   311  func (*Result_Completion) isResult_Result() {}
   312  
   313  type RunThreadRequest struct {
   314  	state         protoimpl.MessageState
   315  	sizeCache     protoimpl.SizeCache
   316  	unknownFields protoimpl.UnknownFields
   317  
   318  	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
   319  }
   320  
   321  func (x *RunThreadRequest) Reset() {
   322  	*x = RunThreadRequest{}
   323  	if protoimpl.UnsafeEnabled {
   324  		mi := &file_apipb_workerpb_worker_proto_msgTypes[4]
   325  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   326  		ms.StoreMessageInfo(mi)
   327  	}
   328  }
   329  
   330  func (x *RunThreadRequest) String() string {
   331  	return protoimpl.X.MessageStringOf(x)
   332  }
   333  
   334  func (*RunThreadRequest) ProtoMessage() {}
   335  
   336  func (x *RunThreadRequest) ProtoReflect() protoreflect.Message {
   337  	mi := &file_apipb_workerpb_worker_proto_msgTypes[4]
   338  	if protoimpl.UnsafeEnabled && x != nil {
   339  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   340  		if ms.LoadMessageInfo() == nil {
   341  			ms.StoreMessageInfo(mi)
   342  		}
   343  		return ms
   344  	}
   345  	return mi.MessageOf(x)
   346  }
   347  
   348  // Deprecated: Use RunThreadRequest.ProtoReflect.Descriptor instead.
   349  func (*RunThreadRequest) Descriptor() ([]byte, []int) {
   350  	return file_apipb_workerpb_worker_proto_rawDescGZIP(), []int{4}
   351  }
   352  
   353  func (x *RunThreadRequest) GetName() string {
   354  	if x != nil {
   355  		return x.Name
   356  	}
   357  	return ""
   358  }
   359  
   360  type TestThreadRequest struct {
   361  	state         protoimpl.MessageState
   362  	sizeCache     protoimpl.SizeCache
   363  	unknownFields protoimpl.UnknownFields
   364  
   365  	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
   366  }
   367  
   368  func (x *TestThreadRequest) Reset() {
   369  	*x = TestThreadRequest{}
   370  	if protoimpl.UnsafeEnabled {
   371  		mi := &file_apipb_workerpb_worker_proto_msgTypes[5]
   372  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   373  		ms.StoreMessageInfo(mi)
   374  	}
   375  }
   376  
   377  func (x *TestThreadRequest) String() string {
   378  	return protoimpl.X.MessageStringOf(x)
   379  }
   380  
   381  func (*TestThreadRequest) ProtoMessage() {}
   382  
   383  func (x *TestThreadRequest) ProtoReflect() protoreflect.Message {
   384  	mi := &file_apipb_workerpb_worker_proto_msgTypes[5]
   385  	if protoimpl.UnsafeEnabled && x != nil {
   386  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   387  		if ms.LoadMessageInfo() == nil {
   388  			ms.StoreMessageInfo(mi)
   389  		}
   390  		return ms
   391  	}
   392  	return mi.MessageOf(x)
   393  }
   394  
   395  // Deprecated: Use TestThreadRequest.ProtoReflect.Descriptor instead.
   396  func (*TestThreadRequest) Descriptor() ([]byte, []int) {
   397  	return file_apipb_workerpb_worker_proto_rawDescGZIP(), []int{5}
   398  }
   399  
   400  func (x *TestThreadRequest) GetName() string {
   401  	if x != nil {
   402  		return x.Name
   403  	}
   404  	return ""
   405  }
   406  
   407  var File_apipb_workerpb_worker_proto protoreflect.FileDescriptor
   408  
   409  var file_apipb_workerpb_worker_proto_rawDesc = []byte{
   410  	0x0a, 0x1b, 0x61, 0x70, 0x69, 0x70, 0x62, 0x2f, 0x77, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x70, 0x62,
   411  	0x2f, 0x77, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x12, 0x6c,
   412  	0x61, 0x72, 0x6b, 0x69, 0x6e, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x77, 0x6f, 0x72, 0x6b, 0x65,
   413  	0x72, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e,
   414  	0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
   415  	0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x72, 0x70, 0x63, 0x2f, 0x73, 0x74, 0x61, 0x74,
   416  	0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x75, 0x0a, 0x07, 0x43, 0x6f, 0x6d, 0x6d,
   417  	0x61, 0x6e, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
   418  	0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x05, 0x69, 0x6e, 0x70, 0x75, 0x74,
   419  	0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x05, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x12,
   420  	0x1c, 0x0a, 0x08, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28,
   421  	0x09, 0x48, 0x00, 0x52, 0x08, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x12, 0x18, 0x0a,
   422  	0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52,
   423  	0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x42, 0x06, 0x0a, 0x04, 0x65, 0x78, 0x65, 0x63, 0x22,
   424  	0x4c, 0x0a, 0x06, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x75, 0x74,
   425  	0x70, 0x75, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6f, 0x75, 0x74, 0x70, 0x75,
   426  	0x74, 0x12, 0x2a, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28,
   427  	0x0b, 0x32, 0x12, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x53,
   428  	0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x2e, 0x0a,
   429  	0x0a, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x20, 0x0a, 0x0b, 0x63,
   430  	0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09,
   431  	0x52, 0x0b, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x8a, 0x01,
   432  	0x0a, 0x06, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x34, 0x0a, 0x06, 0x6f, 0x75, 0x74, 0x70,
   433  	0x75, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x6c, 0x61, 0x72, 0x6b, 0x69,
   434  	0x6e, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x77, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x2e, 0x4f, 0x75,
   435  	0x74, 0x70, 0x75, 0x74, 0x48, 0x00, 0x52, 0x06, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x12, 0x40,
   436  	0x0a, 0x0a, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01,
   437  	0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x6c, 0x61, 0x72, 0x6b, 0x69, 0x6e, 0x67, 0x2e, 0x61, 0x70, 0x69,
   438  	0x2e, 0x77, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x69,
   439  	0x6f, 0x6e, 0x48, 0x00, 0x52, 0x0a, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e,
   440  	0x42, 0x08, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0x26, 0x0a, 0x10, 0x52, 0x75,
   441  	0x6e, 0x54, 0x68, 0x72, 0x65, 0x61, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12,
   442  	0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61,
   443  	0x6d, 0x65, 0x22, 0x27, 0x0a, 0x11, 0x54, 0x65, 0x73, 0x74, 0x54, 0x68, 0x72, 0x65, 0x61, 0x64,
   444  	0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18,
   445  	0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x32, 0xeb, 0x02, 0x0a, 0x06,
   446  	0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x12, 0x7c, 0x0a, 0x0b, 0x52, 0x75, 0x6e, 0x4f, 0x6e, 0x54,
   447  	0x68, 0x72, 0x65, 0x61, 0x64, 0x12, 0x1b, 0x2e, 0x6c, 0x61, 0x72, 0x6b, 0x69, 0x6e, 0x67, 0x2e,
   448  	0x61, 0x70, 0x69, 0x2e, 0x77, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x61,
   449  	0x6e, 0x64, 0x1a, 0x1a, 0x2e, 0x6c, 0x61, 0x72, 0x6b, 0x69, 0x6e, 0x67, 0x2e, 0x61, 0x70, 0x69,
   450  	0x2e, 0x77, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x2e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0x30,
   451  	0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2a, 0x3a, 0x01, 0x2a, 0x42, 0x25, 0x0a, 0x09, 0x77, 0x65, 0x62,
   452  	0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x12, 0x18, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d,
   453  	0x65, 0x3d, 0x74, 0x68, 0x72, 0x65, 0x61, 0x64, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x72, 0x75, 0x6e,
   454  	0x28, 0x01, 0x30, 0x01, 0x12, 0x6f, 0x0a, 0x09, 0x52, 0x75, 0x6e, 0x54, 0x68, 0x72, 0x65, 0x61,
   455  	0x64, 0x12, 0x24, 0x2e, 0x6c, 0x61, 0x72, 0x6b, 0x69, 0x6e, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e,
   456  	0x77, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x2e, 0x52, 0x75, 0x6e, 0x54, 0x68, 0x72, 0x65, 0x61, 0x64,
   457  	0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x6c, 0x61, 0x72, 0x6b, 0x69, 0x6e,
   458  	0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x77, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x2e, 0x4f, 0x75, 0x74,
   459  	0x70, 0x75, 0x74, 0x22, 0x20, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1a, 0x22, 0x18, 0x2f, 0x76, 0x31,
   460  	0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x74, 0x68, 0x72, 0x65, 0x61, 0x64, 0x73, 0x2f, 0x2a,
   461  	0x7d, 0x3a, 0x72, 0x75, 0x6e, 0x12, 0x72, 0x0a, 0x0a, 0x54, 0x65, 0x73, 0x74, 0x54, 0x68, 0x72,
   462  	0x65, 0x61, 0x64, 0x12, 0x25, 0x2e, 0x6c, 0x61, 0x72, 0x6b, 0x69, 0x6e, 0x67, 0x2e, 0x61, 0x70,
   463  	0x69, 0x2e, 0x77, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x54, 0x68, 0x72,
   464  	0x65, 0x61, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x6c, 0x61, 0x72,
   465  	0x6b, 0x69, 0x6e, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x77, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x2e,
   466  	0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x22, 0x21, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1b, 0x22, 0x19,
   467  	0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x74, 0x68, 0x72, 0x65, 0x61, 0x64,
   468  	0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x74, 0x65, 0x73, 0x74, 0x42, 0x37, 0x5a, 0x35, 0x67, 0x69, 0x74,
   469  	0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x65, 0x6d, 0x63, 0x66, 0x61, 0x72, 0x6c, 0x61,
   470  	0x6e, 0x65, 0x2f, 0x6c, 0x61, 0x72, 0x6b, 0x69, 0x6e, 0x67, 0x2f, 0x61, 0x70, 0x69, 0x70, 0x62,
   471  	0x2f, 0x77, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x70, 0x62, 0x3b, 0x77, 0x6f, 0x72, 0x6b, 0x65, 0x72,
   472  	0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   473  }
   474  
   475  var (
   476  	file_apipb_workerpb_worker_proto_rawDescOnce sync.Once
   477  	file_apipb_workerpb_worker_proto_rawDescData = file_apipb_workerpb_worker_proto_rawDesc
   478  )
   479  
   480  func file_apipb_workerpb_worker_proto_rawDescGZIP() []byte {
   481  	file_apipb_workerpb_worker_proto_rawDescOnce.Do(func() {
   482  		file_apipb_workerpb_worker_proto_rawDescData = protoimpl.X.CompressGZIP(file_apipb_workerpb_worker_proto_rawDescData)
   483  	})
   484  	return file_apipb_workerpb_worker_proto_rawDescData
   485  }
   486  
   487  var file_apipb_workerpb_worker_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
   488  var file_apipb_workerpb_worker_proto_goTypes = []interface{}{
   489  	(*Command)(nil),           // 0: larking.api.worker.Command
   490  	(*Output)(nil),            // 1: larking.api.worker.Output
   491  	(*Completion)(nil),        // 2: larking.api.worker.Completion
   492  	(*Result)(nil),            // 3: larking.api.worker.Result
   493  	(*RunThreadRequest)(nil),  // 4: larking.api.worker.RunThreadRequest
   494  	(*TestThreadRequest)(nil), // 5: larking.api.worker.TestThreadRequest
   495  	(*status.Status)(nil),     // 6: google.rpc.Status
   496  }
   497  var file_apipb_workerpb_worker_proto_depIdxs = []int32{
   498  	6, // 0: larking.api.worker.Output.status:type_name -> google.rpc.Status
   499  	1, // 1: larking.api.worker.Result.output:type_name -> larking.api.worker.Output
   500  	2, // 2: larking.api.worker.Result.completion:type_name -> larking.api.worker.Completion
   501  	0, // 3: larking.api.worker.Worker.RunOnThread:input_type -> larking.api.worker.Command
   502  	4, // 4: larking.api.worker.Worker.RunThread:input_type -> larking.api.worker.RunThreadRequest
   503  	5, // 5: larking.api.worker.Worker.TestThread:input_type -> larking.api.worker.TestThreadRequest
   504  	3, // 6: larking.api.worker.Worker.RunOnThread:output_type -> larking.api.worker.Result
   505  	1, // 7: larking.api.worker.Worker.RunThread:output_type -> larking.api.worker.Output
   506  	1, // 8: larking.api.worker.Worker.TestThread:output_type -> larking.api.worker.Output
   507  	6, // [6:9] is the sub-list for method output_type
   508  	3, // [3:6] is the sub-list for method input_type
   509  	3, // [3:3] is the sub-list for extension type_name
   510  	3, // [3:3] is the sub-list for extension extendee
   511  	0, // [0:3] is the sub-list for field type_name
   512  }
   513  
   514  func init() { file_apipb_workerpb_worker_proto_init() }
   515  func file_apipb_workerpb_worker_proto_init() {
   516  	if File_apipb_workerpb_worker_proto != nil {
   517  		return
   518  	}
   519  	if !protoimpl.UnsafeEnabled {
   520  		file_apipb_workerpb_worker_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   521  			switch v := v.(*Command); i {
   522  			case 0:
   523  				return &v.state
   524  			case 1:
   525  				return &v.sizeCache
   526  			case 2:
   527  				return &v.unknownFields
   528  			default:
   529  				return nil
   530  			}
   531  		}
   532  		file_apipb_workerpb_worker_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   533  			switch v := v.(*Output); i {
   534  			case 0:
   535  				return &v.state
   536  			case 1:
   537  				return &v.sizeCache
   538  			case 2:
   539  				return &v.unknownFields
   540  			default:
   541  				return nil
   542  			}
   543  		}
   544  		file_apipb_workerpb_worker_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
   545  			switch v := v.(*Completion); i {
   546  			case 0:
   547  				return &v.state
   548  			case 1:
   549  				return &v.sizeCache
   550  			case 2:
   551  				return &v.unknownFields
   552  			default:
   553  				return nil
   554  			}
   555  		}
   556  		file_apipb_workerpb_worker_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
   557  			switch v := v.(*Result); i {
   558  			case 0:
   559  				return &v.state
   560  			case 1:
   561  				return &v.sizeCache
   562  			case 2:
   563  				return &v.unknownFields
   564  			default:
   565  				return nil
   566  			}
   567  		}
   568  		file_apipb_workerpb_worker_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
   569  			switch v := v.(*RunThreadRequest); i {
   570  			case 0:
   571  				return &v.state
   572  			case 1:
   573  				return &v.sizeCache
   574  			case 2:
   575  				return &v.unknownFields
   576  			default:
   577  				return nil
   578  			}
   579  		}
   580  		file_apipb_workerpb_worker_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
   581  			switch v := v.(*TestThreadRequest); i {
   582  			case 0:
   583  				return &v.state
   584  			case 1:
   585  				return &v.sizeCache
   586  			case 2:
   587  				return &v.unknownFields
   588  			default:
   589  				return nil
   590  			}
   591  		}
   592  	}
   593  	file_apipb_workerpb_worker_proto_msgTypes[0].OneofWrappers = []interface{}{
   594  		(*Command_Input)(nil),
   595  		(*Command_Complete)(nil),
   596  		(*Command_Format)(nil),
   597  	}
   598  	file_apipb_workerpb_worker_proto_msgTypes[3].OneofWrappers = []interface{}{
   599  		(*Result_Output)(nil),
   600  		(*Result_Completion)(nil),
   601  	}
   602  	type x struct{}
   603  	out := protoimpl.TypeBuilder{
   604  		File: protoimpl.DescBuilder{
   605  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   606  			RawDescriptor: file_apipb_workerpb_worker_proto_rawDesc,
   607  			NumEnums:      0,
   608  			NumMessages:   6,
   609  			NumExtensions: 0,
   610  			NumServices:   1,
   611  		},
   612  		GoTypes:           file_apipb_workerpb_worker_proto_goTypes,
   613  		DependencyIndexes: file_apipb_workerpb_worker_proto_depIdxs,
   614  		MessageInfos:      file_apipb_workerpb_worker_proto_msgTypes,
   615  	}.Build()
   616  	File_apipb_workerpb_worker_proto = out.File
   617  	file_apipb_workerpb_worker_proto_rawDesc = nil
   618  	file_apipb_workerpb_worker_proto_goTypes = nil
   619  	file_apipb_workerpb_worker_proto_depIdxs = nil
   620  }