github.com/iqoqo/nomad@v0.11.3-0.20200911112621-d7021c74d101/drivers/shared/executor/proto/executor.pb.go (about)

     1  // Code generated by protoc-gen-go. DO NOT EDIT.
     2  // source: drivers/shared/executor/proto/executor.proto
     3  
     4  package proto
     5  
     6  import (
     7  	context "context"
     8  	fmt "fmt"
     9  	proto "github.com/golang/protobuf/proto"
    10  	timestamp "github.com/golang/protobuf/ptypes/timestamp"
    11  	proto1 "github.com/hashicorp/nomad/plugins/drivers/proto"
    12  	grpc "google.golang.org/grpc"
    13  	codes "google.golang.org/grpc/codes"
    14  	status "google.golang.org/grpc/status"
    15  	math "math"
    16  )
    17  
    18  // Reference imports to suppress errors if they are not otherwise used.
    19  var _ = proto.Marshal
    20  var _ = fmt.Errorf
    21  var _ = math.Inf
    22  
    23  // This is a compile-time assertion to ensure that this generated file
    24  // is compatible with the proto package it is being compiled against.
    25  // A compilation error at this line likely means your copy of the
    26  // proto package needs to be updated.
    27  const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
    28  
    29  type LaunchRequest struct {
    30  	Cmd                  string                       `protobuf:"bytes,1,opt,name=cmd,proto3" json:"cmd,omitempty"`
    31  	Args                 []string                     `protobuf:"bytes,2,rep,name=args,proto3" json:"args,omitempty"`
    32  	Resources            *proto1.Resources            `protobuf:"bytes,3,opt,name=resources,proto3" json:"resources,omitempty"`
    33  	StdoutPath           string                       `protobuf:"bytes,4,opt,name=stdout_path,json=stdoutPath,proto3" json:"stdout_path,omitempty"`
    34  	StderrPath           string                       `protobuf:"bytes,5,opt,name=stderr_path,json=stderrPath,proto3" json:"stderr_path,omitempty"`
    35  	Env                  []string                     `protobuf:"bytes,6,rep,name=env,proto3" json:"env,omitempty"`
    36  	User                 string                       `protobuf:"bytes,7,opt,name=user,proto3" json:"user,omitempty"`
    37  	TaskDir              string                       `protobuf:"bytes,8,opt,name=task_dir,json=taskDir,proto3" json:"task_dir,omitempty"`
    38  	ResourceLimits       bool                         `protobuf:"varint,9,opt,name=resource_limits,json=resourceLimits,proto3" json:"resource_limits,omitempty"`
    39  	BasicProcessCgroup   bool                         `protobuf:"varint,10,opt,name=basic_process_cgroup,json=basicProcessCgroup,proto3" json:"basic_process_cgroup,omitempty"`
    40  	Mounts               []*proto1.Mount              `protobuf:"bytes,11,rep,name=mounts,proto3" json:"mounts,omitempty"`
    41  	Devices              []*proto1.Device             `protobuf:"bytes,12,rep,name=devices,proto3" json:"devices,omitempty"`
    42  	NetworkIsolation     *proto1.NetworkIsolationSpec `protobuf:"bytes,13,opt,name=network_isolation,json=networkIsolation,proto3" json:"network_isolation,omitempty"`
    43  	NoPivotRoot          bool                         `protobuf:"varint,14,opt,name=no_pivot_root,json=noPivotRoot,proto3" json:"no_pivot_root,omitempty"`
    44  	XXX_NoUnkeyedLiteral struct{}                     `json:"-"`
    45  	XXX_unrecognized     []byte                       `json:"-"`
    46  	XXX_sizecache        int32                        `json:"-"`
    47  }
    48  
    49  func (m *LaunchRequest) Reset()         { *m = LaunchRequest{} }
    50  func (m *LaunchRequest) String() string { return proto.CompactTextString(m) }
    51  func (*LaunchRequest) ProtoMessage()    {}
    52  func (*LaunchRequest) Descriptor() ([]byte, []int) {
    53  	return fileDescriptor_66b85426380683f3, []int{0}
    54  }
    55  
    56  func (m *LaunchRequest) XXX_Unmarshal(b []byte) error {
    57  	return xxx_messageInfo_LaunchRequest.Unmarshal(m, b)
    58  }
    59  func (m *LaunchRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
    60  	return xxx_messageInfo_LaunchRequest.Marshal(b, m, deterministic)
    61  }
    62  func (m *LaunchRequest) XXX_Merge(src proto.Message) {
    63  	xxx_messageInfo_LaunchRequest.Merge(m, src)
    64  }
    65  func (m *LaunchRequest) XXX_Size() int {
    66  	return xxx_messageInfo_LaunchRequest.Size(m)
    67  }
    68  func (m *LaunchRequest) XXX_DiscardUnknown() {
    69  	xxx_messageInfo_LaunchRequest.DiscardUnknown(m)
    70  }
    71  
    72  var xxx_messageInfo_LaunchRequest proto.InternalMessageInfo
    73  
    74  func (m *LaunchRequest) GetCmd() string {
    75  	if m != nil {
    76  		return m.Cmd
    77  	}
    78  	return ""
    79  }
    80  
    81  func (m *LaunchRequest) GetArgs() []string {
    82  	if m != nil {
    83  		return m.Args
    84  	}
    85  	return nil
    86  }
    87  
    88  func (m *LaunchRequest) GetResources() *proto1.Resources {
    89  	if m != nil {
    90  		return m.Resources
    91  	}
    92  	return nil
    93  }
    94  
    95  func (m *LaunchRequest) GetStdoutPath() string {
    96  	if m != nil {
    97  		return m.StdoutPath
    98  	}
    99  	return ""
   100  }
   101  
   102  func (m *LaunchRequest) GetStderrPath() string {
   103  	if m != nil {
   104  		return m.StderrPath
   105  	}
   106  	return ""
   107  }
   108  
   109  func (m *LaunchRequest) GetEnv() []string {
   110  	if m != nil {
   111  		return m.Env
   112  	}
   113  	return nil
   114  }
   115  
   116  func (m *LaunchRequest) GetUser() string {
   117  	if m != nil {
   118  		return m.User
   119  	}
   120  	return ""
   121  }
   122  
   123  func (m *LaunchRequest) GetTaskDir() string {
   124  	if m != nil {
   125  		return m.TaskDir
   126  	}
   127  	return ""
   128  }
   129  
   130  func (m *LaunchRequest) GetResourceLimits() bool {
   131  	if m != nil {
   132  		return m.ResourceLimits
   133  	}
   134  	return false
   135  }
   136  
   137  func (m *LaunchRequest) GetBasicProcessCgroup() bool {
   138  	if m != nil {
   139  		return m.BasicProcessCgroup
   140  	}
   141  	return false
   142  }
   143  
   144  func (m *LaunchRequest) GetMounts() []*proto1.Mount {
   145  	if m != nil {
   146  		return m.Mounts
   147  	}
   148  	return nil
   149  }
   150  
   151  func (m *LaunchRequest) GetDevices() []*proto1.Device {
   152  	if m != nil {
   153  		return m.Devices
   154  	}
   155  	return nil
   156  }
   157  
   158  func (m *LaunchRequest) GetNetworkIsolation() *proto1.NetworkIsolationSpec {
   159  	if m != nil {
   160  		return m.NetworkIsolation
   161  	}
   162  	return nil
   163  }
   164  
   165  func (m *LaunchRequest) GetNoPivotRoot() bool {
   166  	if m != nil {
   167  		return m.NoPivotRoot
   168  	}
   169  	return false
   170  }
   171  
   172  type LaunchResponse struct {
   173  	Process              *ProcessState `protobuf:"bytes,1,opt,name=process,proto3" json:"process,omitempty"`
   174  	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
   175  	XXX_unrecognized     []byte        `json:"-"`
   176  	XXX_sizecache        int32         `json:"-"`
   177  }
   178  
   179  func (m *LaunchResponse) Reset()         { *m = LaunchResponse{} }
   180  func (m *LaunchResponse) String() string { return proto.CompactTextString(m) }
   181  func (*LaunchResponse) ProtoMessage()    {}
   182  func (*LaunchResponse) Descriptor() ([]byte, []int) {
   183  	return fileDescriptor_66b85426380683f3, []int{1}
   184  }
   185  
   186  func (m *LaunchResponse) XXX_Unmarshal(b []byte) error {
   187  	return xxx_messageInfo_LaunchResponse.Unmarshal(m, b)
   188  }
   189  func (m *LaunchResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   190  	return xxx_messageInfo_LaunchResponse.Marshal(b, m, deterministic)
   191  }
   192  func (m *LaunchResponse) XXX_Merge(src proto.Message) {
   193  	xxx_messageInfo_LaunchResponse.Merge(m, src)
   194  }
   195  func (m *LaunchResponse) XXX_Size() int {
   196  	return xxx_messageInfo_LaunchResponse.Size(m)
   197  }
   198  func (m *LaunchResponse) XXX_DiscardUnknown() {
   199  	xxx_messageInfo_LaunchResponse.DiscardUnknown(m)
   200  }
   201  
   202  var xxx_messageInfo_LaunchResponse proto.InternalMessageInfo
   203  
   204  func (m *LaunchResponse) GetProcess() *ProcessState {
   205  	if m != nil {
   206  		return m.Process
   207  	}
   208  	return nil
   209  }
   210  
   211  type WaitRequest struct {
   212  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
   213  	XXX_unrecognized     []byte   `json:"-"`
   214  	XXX_sizecache        int32    `json:"-"`
   215  }
   216  
   217  func (m *WaitRequest) Reset()         { *m = WaitRequest{} }
   218  func (m *WaitRequest) String() string { return proto.CompactTextString(m) }
   219  func (*WaitRequest) ProtoMessage()    {}
   220  func (*WaitRequest) Descriptor() ([]byte, []int) {
   221  	return fileDescriptor_66b85426380683f3, []int{2}
   222  }
   223  
   224  func (m *WaitRequest) XXX_Unmarshal(b []byte) error {
   225  	return xxx_messageInfo_WaitRequest.Unmarshal(m, b)
   226  }
   227  func (m *WaitRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   228  	return xxx_messageInfo_WaitRequest.Marshal(b, m, deterministic)
   229  }
   230  func (m *WaitRequest) XXX_Merge(src proto.Message) {
   231  	xxx_messageInfo_WaitRequest.Merge(m, src)
   232  }
   233  func (m *WaitRequest) XXX_Size() int {
   234  	return xxx_messageInfo_WaitRequest.Size(m)
   235  }
   236  func (m *WaitRequest) XXX_DiscardUnknown() {
   237  	xxx_messageInfo_WaitRequest.DiscardUnknown(m)
   238  }
   239  
   240  var xxx_messageInfo_WaitRequest proto.InternalMessageInfo
   241  
   242  type WaitResponse struct {
   243  	Process              *ProcessState `protobuf:"bytes,1,opt,name=process,proto3" json:"process,omitempty"`
   244  	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
   245  	XXX_unrecognized     []byte        `json:"-"`
   246  	XXX_sizecache        int32         `json:"-"`
   247  }
   248  
   249  func (m *WaitResponse) Reset()         { *m = WaitResponse{} }
   250  func (m *WaitResponse) String() string { return proto.CompactTextString(m) }
   251  func (*WaitResponse) ProtoMessage()    {}
   252  func (*WaitResponse) Descriptor() ([]byte, []int) {
   253  	return fileDescriptor_66b85426380683f3, []int{3}
   254  }
   255  
   256  func (m *WaitResponse) XXX_Unmarshal(b []byte) error {
   257  	return xxx_messageInfo_WaitResponse.Unmarshal(m, b)
   258  }
   259  func (m *WaitResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   260  	return xxx_messageInfo_WaitResponse.Marshal(b, m, deterministic)
   261  }
   262  func (m *WaitResponse) XXX_Merge(src proto.Message) {
   263  	xxx_messageInfo_WaitResponse.Merge(m, src)
   264  }
   265  func (m *WaitResponse) XXX_Size() int {
   266  	return xxx_messageInfo_WaitResponse.Size(m)
   267  }
   268  func (m *WaitResponse) XXX_DiscardUnknown() {
   269  	xxx_messageInfo_WaitResponse.DiscardUnknown(m)
   270  }
   271  
   272  var xxx_messageInfo_WaitResponse proto.InternalMessageInfo
   273  
   274  func (m *WaitResponse) GetProcess() *ProcessState {
   275  	if m != nil {
   276  		return m.Process
   277  	}
   278  	return nil
   279  }
   280  
   281  type ShutdownRequest struct {
   282  	Signal               string   `protobuf:"bytes,1,opt,name=signal,proto3" json:"signal,omitempty"`
   283  	GracePeriod          int64    `protobuf:"varint,2,opt,name=grace_period,json=gracePeriod,proto3" json:"grace_period,omitempty"`
   284  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
   285  	XXX_unrecognized     []byte   `json:"-"`
   286  	XXX_sizecache        int32    `json:"-"`
   287  }
   288  
   289  func (m *ShutdownRequest) Reset()         { *m = ShutdownRequest{} }
   290  func (m *ShutdownRequest) String() string { return proto.CompactTextString(m) }
   291  func (*ShutdownRequest) ProtoMessage()    {}
   292  func (*ShutdownRequest) Descriptor() ([]byte, []int) {
   293  	return fileDescriptor_66b85426380683f3, []int{4}
   294  }
   295  
   296  func (m *ShutdownRequest) XXX_Unmarshal(b []byte) error {
   297  	return xxx_messageInfo_ShutdownRequest.Unmarshal(m, b)
   298  }
   299  func (m *ShutdownRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   300  	return xxx_messageInfo_ShutdownRequest.Marshal(b, m, deterministic)
   301  }
   302  func (m *ShutdownRequest) XXX_Merge(src proto.Message) {
   303  	xxx_messageInfo_ShutdownRequest.Merge(m, src)
   304  }
   305  func (m *ShutdownRequest) XXX_Size() int {
   306  	return xxx_messageInfo_ShutdownRequest.Size(m)
   307  }
   308  func (m *ShutdownRequest) XXX_DiscardUnknown() {
   309  	xxx_messageInfo_ShutdownRequest.DiscardUnknown(m)
   310  }
   311  
   312  var xxx_messageInfo_ShutdownRequest proto.InternalMessageInfo
   313  
   314  func (m *ShutdownRequest) GetSignal() string {
   315  	if m != nil {
   316  		return m.Signal
   317  	}
   318  	return ""
   319  }
   320  
   321  func (m *ShutdownRequest) GetGracePeriod() int64 {
   322  	if m != nil {
   323  		return m.GracePeriod
   324  	}
   325  	return 0
   326  }
   327  
   328  type ShutdownResponse struct {
   329  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
   330  	XXX_unrecognized     []byte   `json:"-"`
   331  	XXX_sizecache        int32    `json:"-"`
   332  }
   333  
   334  func (m *ShutdownResponse) Reset()         { *m = ShutdownResponse{} }
   335  func (m *ShutdownResponse) String() string { return proto.CompactTextString(m) }
   336  func (*ShutdownResponse) ProtoMessage()    {}
   337  func (*ShutdownResponse) Descriptor() ([]byte, []int) {
   338  	return fileDescriptor_66b85426380683f3, []int{5}
   339  }
   340  
   341  func (m *ShutdownResponse) XXX_Unmarshal(b []byte) error {
   342  	return xxx_messageInfo_ShutdownResponse.Unmarshal(m, b)
   343  }
   344  func (m *ShutdownResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   345  	return xxx_messageInfo_ShutdownResponse.Marshal(b, m, deterministic)
   346  }
   347  func (m *ShutdownResponse) XXX_Merge(src proto.Message) {
   348  	xxx_messageInfo_ShutdownResponse.Merge(m, src)
   349  }
   350  func (m *ShutdownResponse) XXX_Size() int {
   351  	return xxx_messageInfo_ShutdownResponse.Size(m)
   352  }
   353  func (m *ShutdownResponse) XXX_DiscardUnknown() {
   354  	xxx_messageInfo_ShutdownResponse.DiscardUnknown(m)
   355  }
   356  
   357  var xxx_messageInfo_ShutdownResponse proto.InternalMessageInfo
   358  
   359  type UpdateResourcesRequest struct {
   360  	Resources            *proto1.Resources `protobuf:"bytes,1,opt,name=resources,proto3" json:"resources,omitempty"`
   361  	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
   362  	XXX_unrecognized     []byte            `json:"-"`
   363  	XXX_sizecache        int32             `json:"-"`
   364  }
   365  
   366  func (m *UpdateResourcesRequest) Reset()         { *m = UpdateResourcesRequest{} }
   367  func (m *UpdateResourcesRequest) String() string { return proto.CompactTextString(m) }
   368  func (*UpdateResourcesRequest) ProtoMessage()    {}
   369  func (*UpdateResourcesRequest) Descriptor() ([]byte, []int) {
   370  	return fileDescriptor_66b85426380683f3, []int{6}
   371  }
   372  
   373  func (m *UpdateResourcesRequest) XXX_Unmarshal(b []byte) error {
   374  	return xxx_messageInfo_UpdateResourcesRequest.Unmarshal(m, b)
   375  }
   376  func (m *UpdateResourcesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   377  	return xxx_messageInfo_UpdateResourcesRequest.Marshal(b, m, deterministic)
   378  }
   379  func (m *UpdateResourcesRequest) XXX_Merge(src proto.Message) {
   380  	xxx_messageInfo_UpdateResourcesRequest.Merge(m, src)
   381  }
   382  func (m *UpdateResourcesRequest) XXX_Size() int {
   383  	return xxx_messageInfo_UpdateResourcesRequest.Size(m)
   384  }
   385  func (m *UpdateResourcesRequest) XXX_DiscardUnknown() {
   386  	xxx_messageInfo_UpdateResourcesRequest.DiscardUnknown(m)
   387  }
   388  
   389  var xxx_messageInfo_UpdateResourcesRequest proto.InternalMessageInfo
   390  
   391  func (m *UpdateResourcesRequest) GetResources() *proto1.Resources {
   392  	if m != nil {
   393  		return m.Resources
   394  	}
   395  	return nil
   396  }
   397  
   398  type UpdateResourcesResponse struct {
   399  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
   400  	XXX_unrecognized     []byte   `json:"-"`
   401  	XXX_sizecache        int32    `json:"-"`
   402  }
   403  
   404  func (m *UpdateResourcesResponse) Reset()         { *m = UpdateResourcesResponse{} }
   405  func (m *UpdateResourcesResponse) String() string { return proto.CompactTextString(m) }
   406  func (*UpdateResourcesResponse) ProtoMessage()    {}
   407  func (*UpdateResourcesResponse) Descriptor() ([]byte, []int) {
   408  	return fileDescriptor_66b85426380683f3, []int{7}
   409  }
   410  
   411  func (m *UpdateResourcesResponse) XXX_Unmarshal(b []byte) error {
   412  	return xxx_messageInfo_UpdateResourcesResponse.Unmarshal(m, b)
   413  }
   414  func (m *UpdateResourcesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   415  	return xxx_messageInfo_UpdateResourcesResponse.Marshal(b, m, deterministic)
   416  }
   417  func (m *UpdateResourcesResponse) XXX_Merge(src proto.Message) {
   418  	xxx_messageInfo_UpdateResourcesResponse.Merge(m, src)
   419  }
   420  func (m *UpdateResourcesResponse) XXX_Size() int {
   421  	return xxx_messageInfo_UpdateResourcesResponse.Size(m)
   422  }
   423  func (m *UpdateResourcesResponse) XXX_DiscardUnknown() {
   424  	xxx_messageInfo_UpdateResourcesResponse.DiscardUnknown(m)
   425  }
   426  
   427  var xxx_messageInfo_UpdateResourcesResponse proto.InternalMessageInfo
   428  
   429  type VersionRequest struct {
   430  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
   431  	XXX_unrecognized     []byte   `json:"-"`
   432  	XXX_sizecache        int32    `json:"-"`
   433  }
   434  
   435  func (m *VersionRequest) Reset()         { *m = VersionRequest{} }
   436  func (m *VersionRequest) String() string { return proto.CompactTextString(m) }
   437  func (*VersionRequest) ProtoMessage()    {}
   438  func (*VersionRequest) Descriptor() ([]byte, []int) {
   439  	return fileDescriptor_66b85426380683f3, []int{8}
   440  }
   441  
   442  func (m *VersionRequest) XXX_Unmarshal(b []byte) error {
   443  	return xxx_messageInfo_VersionRequest.Unmarshal(m, b)
   444  }
   445  func (m *VersionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   446  	return xxx_messageInfo_VersionRequest.Marshal(b, m, deterministic)
   447  }
   448  func (m *VersionRequest) XXX_Merge(src proto.Message) {
   449  	xxx_messageInfo_VersionRequest.Merge(m, src)
   450  }
   451  func (m *VersionRequest) XXX_Size() int {
   452  	return xxx_messageInfo_VersionRequest.Size(m)
   453  }
   454  func (m *VersionRequest) XXX_DiscardUnknown() {
   455  	xxx_messageInfo_VersionRequest.DiscardUnknown(m)
   456  }
   457  
   458  var xxx_messageInfo_VersionRequest proto.InternalMessageInfo
   459  
   460  type VersionResponse struct {
   461  	Version              string   `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
   462  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
   463  	XXX_unrecognized     []byte   `json:"-"`
   464  	XXX_sizecache        int32    `json:"-"`
   465  }
   466  
   467  func (m *VersionResponse) Reset()         { *m = VersionResponse{} }
   468  func (m *VersionResponse) String() string { return proto.CompactTextString(m) }
   469  func (*VersionResponse) ProtoMessage()    {}
   470  func (*VersionResponse) Descriptor() ([]byte, []int) {
   471  	return fileDescriptor_66b85426380683f3, []int{9}
   472  }
   473  
   474  func (m *VersionResponse) XXX_Unmarshal(b []byte) error {
   475  	return xxx_messageInfo_VersionResponse.Unmarshal(m, b)
   476  }
   477  func (m *VersionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   478  	return xxx_messageInfo_VersionResponse.Marshal(b, m, deterministic)
   479  }
   480  func (m *VersionResponse) XXX_Merge(src proto.Message) {
   481  	xxx_messageInfo_VersionResponse.Merge(m, src)
   482  }
   483  func (m *VersionResponse) XXX_Size() int {
   484  	return xxx_messageInfo_VersionResponse.Size(m)
   485  }
   486  func (m *VersionResponse) XXX_DiscardUnknown() {
   487  	xxx_messageInfo_VersionResponse.DiscardUnknown(m)
   488  }
   489  
   490  var xxx_messageInfo_VersionResponse proto.InternalMessageInfo
   491  
   492  func (m *VersionResponse) GetVersion() string {
   493  	if m != nil {
   494  		return m.Version
   495  	}
   496  	return ""
   497  }
   498  
   499  type StatsRequest struct {
   500  	Interval             int64    `protobuf:"varint,1,opt,name=interval,proto3" json:"interval,omitempty"`
   501  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
   502  	XXX_unrecognized     []byte   `json:"-"`
   503  	XXX_sizecache        int32    `json:"-"`
   504  }
   505  
   506  func (m *StatsRequest) Reset()         { *m = StatsRequest{} }
   507  func (m *StatsRequest) String() string { return proto.CompactTextString(m) }
   508  func (*StatsRequest) ProtoMessage()    {}
   509  func (*StatsRequest) Descriptor() ([]byte, []int) {
   510  	return fileDescriptor_66b85426380683f3, []int{10}
   511  }
   512  
   513  func (m *StatsRequest) XXX_Unmarshal(b []byte) error {
   514  	return xxx_messageInfo_StatsRequest.Unmarshal(m, b)
   515  }
   516  func (m *StatsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   517  	return xxx_messageInfo_StatsRequest.Marshal(b, m, deterministic)
   518  }
   519  func (m *StatsRequest) XXX_Merge(src proto.Message) {
   520  	xxx_messageInfo_StatsRequest.Merge(m, src)
   521  }
   522  func (m *StatsRequest) XXX_Size() int {
   523  	return xxx_messageInfo_StatsRequest.Size(m)
   524  }
   525  func (m *StatsRequest) XXX_DiscardUnknown() {
   526  	xxx_messageInfo_StatsRequest.DiscardUnknown(m)
   527  }
   528  
   529  var xxx_messageInfo_StatsRequest proto.InternalMessageInfo
   530  
   531  func (m *StatsRequest) GetInterval() int64 {
   532  	if m != nil {
   533  		return m.Interval
   534  	}
   535  	return 0
   536  }
   537  
   538  type StatsResponse struct {
   539  	Stats                *proto1.TaskStats `protobuf:"bytes,1,opt,name=stats,proto3" json:"stats,omitempty"`
   540  	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
   541  	XXX_unrecognized     []byte            `json:"-"`
   542  	XXX_sizecache        int32             `json:"-"`
   543  }
   544  
   545  func (m *StatsResponse) Reset()         { *m = StatsResponse{} }
   546  func (m *StatsResponse) String() string { return proto.CompactTextString(m) }
   547  func (*StatsResponse) ProtoMessage()    {}
   548  func (*StatsResponse) Descriptor() ([]byte, []int) {
   549  	return fileDescriptor_66b85426380683f3, []int{11}
   550  }
   551  
   552  func (m *StatsResponse) XXX_Unmarshal(b []byte) error {
   553  	return xxx_messageInfo_StatsResponse.Unmarshal(m, b)
   554  }
   555  func (m *StatsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   556  	return xxx_messageInfo_StatsResponse.Marshal(b, m, deterministic)
   557  }
   558  func (m *StatsResponse) XXX_Merge(src proto.Message) {
   559  	xxx_messageInfo_StatsResponse.Merge(m, src)
   560  }
   561  func (m *StatsResponse) XXX_Size() int {
   562  	return xxx_messageInfo_StatsResponse.Size(m)
   563  }
   564  func (m *StatsResponse) XXX_DiscardUnknown() {
   565  	xxx_messageInfo_StatsResponse.DiscardUnknown(m)
   566  }
   567  
   568  var xxx_messageInfo_StatsResponse proto.InternalMessageInfo
   569  
   570  func (m *StatsResponse) GetStats() *proto1.TaskStats {
   571  	if m != nil {
   572  		return m.Stats
   573  	}
   574  	return nil
   575  }
   576  
   577  type SignalRequest struct {
   578  	Signal               int32    `protobuf:"varint,1,opt,name=signal,proto3" json:"signal,omitempty"`
   579  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
   580  	XXX_unrecognized     []byte   `json:"-"`
   581  	XXX_sizecache        int32    `json:"-"`
   582  }
   583  
   584  func (m *SignalRequest) Reset()         { *m = SignalRequest{} }
   585  func (m *SignalRequest) String() string { return proto.CompactTextString(m) }
   586  func (*SignalRequest) ProtoMessage()    {}
   587  func (*SignalRequest) Descriptor() ([]byte, []int) {
   588  	return fileDescriptor_66b85426380683f3, []int{12}
   589  }
   590  
   591  func (m *SignalRequest) XXX_Unmarshal(b []byte) error {
   592  	return xxx_messageInfo_SignalRequest.Unmarshal(m, b)
   593  }
   594  func (m *SignalRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   595  	return xxx_messageInfo_SignalRequest.Marshal(b, m, deterministic)
   596  }
   597  func (m *SignalRequest) XXX_Merge(src proto.Message) {
   598  	xxx_messageInfo_SignalRequest.Merge(m, src)
   599  }
   600  func (m *SignalRequest) XXX_Size() int {
   601  	return xxx_messageInfo_SignalRequest.Size(m)
   602  }
   603  func (m *SignalRequest) XXX_DiscardUnknown() {
   604  	xxx_messageInfo_SignalRequest.DiscardUnknown(m)
   605  }
   606  
   607  var xxx_messageInfo_SignalRequest proto.InternalMessageInfo
   608  
   609  func (m *SignalRequest) GetSignal() int32 {
   610  	if m != nil {
   611  		return m.Signal
   612  	}
   613  	return 0
   614  }
   615  
   616  type SignalResponse struct {
   617  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
   618  	XXX_unrecognized     []byte   `json:"-"`
   619  	XXX_sizecache        int32    `json:"-"`
   620  }
   621  
   622  func (m *SignalResponse) Reset()         { *m = SignalResponse{} }
   623  func (m *SignalResponse) String() string { return proto.CompactTextString(m) }
   624  func (*SignalResponse) ProtoMessage()    {}
   625  func (*SignalResponse) Descriptor() ([]byte, []int) {
   626  	return fileDescriptor_66b85426380683f3, []int{13}
   627  }
   628  
   629  func (m *SignalResponse) XXX_Unmarshal(b []byte) error {
   630  	return xxx_messageInfo_SignalResponse.Unmarshal(m, b)
   631  }
   632  func (m *SignalResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   633  	return xxx_messageInfo_SignalResponse.Marshal(b, m, deterministic)
   634  }
   635  func (m *SignalResponse) XXX_Merge(src proto.Message) {
   636  	xxx_messageInfo_SignalResponse.Merge(m, src)
   637  }
   638  func (m *SignalResponse) XXX_Size() int {
   639  	return xxx_messageInfo_SignalResponse.Size(m)
   640  }
   641  func (m *SignalResponse) XXX_DiscardUnknown() {
   642  	xxx_messageInfo_SignalResponse.DiscardUnknown(m)
   643  }
   644  
   645  var xxx_messageInfo_SignalResponse proto.InternalMessageInfo
   646  
   647  type ExecRequest struct {
   648  	Deadline             *timestamp.Timestamp `protobuf:"bytes,1,opt,name=deadline,proto3" json:"deadline,omitempty"`
   649  	Cmd                  string               `protobuf:"bytes,2,opt,name=cmd,proto3" json:"cmd,omitempty"`
   650  	Args                 []string             `protobuf:"bytes,3,rep,name=args,proto3" json:"args,omitempty"`
   651  	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
   652  	XXX_unrecognized     []byte               `json:"-"`
   653  	XXX_sizecache        int32                `json:"-"`
   654  }
   655  
   656  func (m *ExecRequest) Reset()         { *m = ExecRequest{} }
   657  func (m *ExecRequest) String() string { return proto.CompactTextString(m) }
   658  func (*ExecRequest) ProtoMessage()    {}
   659  func (*ExecRequest) Descriptor() ([]byte, []int) {
   660  	return fileDescriptor_66b85426380683f3, []int{14}
   661  }
   662  
   663  func (m *ExecRequest) XXX_Unmarshal(b []byte) error {
   664  	return xxx_messageInfo_ExecRequest.Unmarshal(m, b)
   665  }
   666  func (m *ExecRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   667  	return xxx_messageInfo_ExecRequest.Marshal(b, m, deterministic)
   668  }
   669  func (m *ExecRequest) XXX_Merge(src proto.Message) {
   670  	xxx_messageInfo_ExecRequest.Merge(m, src)
   671  }
   672  func (m *ExecRequest) XXX_Size() int {
   673  	return xxx_messageInfo_ExecRequest.Size(m)
   674  }
   675  func (m *ExecRequest) XXX_DiscardUnknown() {
   676  	xxx_messageInfo_ExecRequest.DiscardUnknown(m)
   677  }
   678  
   679  var xxx_messageInfo_ExecRequest proto.InternalMessageInfo
   680  
   681  func (m *ExecRequest) GetDeadline() *timestamp.Timestamp {
   682  	if m != nil {
   683  		return m.Deadline
   684  	}
   685  	return nil
   686  }
   687  
   688  func (m *ExecRequest) GetCmd() string {
   689  	if m != nil {
   690  		return m.Cmd
   691  	}
   692  	return ""
   693  }
   694  
   695  func (m *ExecRequest) GetArgs() []string {
   696  	if m != nil {
   697  		return m.Args
   698  	}
   699  	return nil
   700  }
   701  
   702  type ExecResponse struct {
   703  	Output               []byte   `protobuf:"bytes,1,opt,name=output,proto3" json:"output,omitempty"`
   704  	ExitCode             int32    `protobuf:"varint,2,opt,name=exit_code,json=exitCode,proto3" json:"exit_code,omitempty"`
   705  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
   706  	XXX_unrecognized     []byte   `json:"-"`
   707  	XXX_sizecache        int32    `json:"-"`
   708  }
   709  
   710  func (m *ExecResponse) Reset()         { *m = ExecResponse{} }
   711  func (m *ExecResponse) String() string { return proto.CompactTextString(m) }
   712  func (*ExecResponse) ProtoMessage()    {}
   713  func (*ExecResponse) Descriptor() ([]byte, []int) {
   714  	return fileDescriptor_66b85426380683f3, []int{15}
   715  }
   716  
   717  func (m *ExecResponse) XXX_Unmarshal(b []byte) error {
   718  	return xxx_messageInfo_ExecResponse.Unmarshal(m, b)
   719  }
   720  func (m *ExecResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   721  	return xxx_messageInfo_ExecResponse.Marshal(b, m, deterministic)
   722  }
   723  func (m *ExecResponse) XXX_Merge(src proto.Message) {
   724  	xxx_messageInfo_ExecResponse.Merge(m, src)
   725  }
   726  func (m *ExecResponse) XXX_Size() int {
   727  	return xxx_messageInfo_ExecResponse.Size(m)
   728  }
   729  func (m *ExecResponse) XXX_DiscardUnknown() {
   730  	xxx_messageInfo_ExecResponse.DiscardUnknown(m)
   731  }
   732  
   733  var xxx_messageInfo_ExecResponse proto.InternalMessageInfo
   734  
   735  func (m *ExecResponse) GetOutput() []byte {
   736  	if m != nil {
   737  		return m.Output
   738  	}
   739  	return nil
   740  }
   741  
   742  func (m *ExecResponse) GetExitCode() int32 {
   743  	if m != nil {
   744  		return m.ExitCode
   745  	}
   746  	return 0
   747  }
   748  
   749  type ProcessState struct {
   750  	Pid                  int32                `protobuf:"varint,1,opt,name=pid,proto3" json:"pid,omitempty"`
   751  	ExitCode             int32                `protobuf:"varint,2,opt,name=exit_code,json=exitCode,proto3" json:"exit_code,omitempty"`
   752  	Signal               int32                `protobuf:"varint,3,opt,name=signal,proto3" json:"signal,omitempty"`
   753  	Time                 *timestamp.Timestamp `protobuf:"bytes,4,opt,name=time,proto3" json:"time,omitempty"`
   754  	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
   755  	XXX_unrecognized     []byte               `json:"-"`
   756  	XXX_sizecache        int32                `json:"-"`
   757  }
   758  
   759  func (m *ProcessState) Reset()         { *m = ProcessState{} }
   760  func (m *ProcessState) String() string { return proto.CompactTextString(m) }
   761  func (*ProcessState) ProtoMessage()    {}
   762  func (*ProcessState) Descriptor() ([]byte, []int) {
   763  	return fileDescriptor_66b85426380683f3, []int{16}
   764  }
   765  
   766  func (m *ProcessState) XXX_Unmarshal(b []byte) error {
   767  	return xxx_messageInfo_ProcessState.Unmarshal(m, b)
   768  }
   769  func (m *ProcessState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   770  	return xxx_messageInfo_ProcessState.Marshal(b, m, deterministic)
   771  }
   772  func (m *ProcessState) XXX_Merge(src proto.Message) {
   773  	xxx_messageInfo_ProcessState.Merge(m, src)
   774  }
   775  func (m *ProcessState) XXX_Size() int {
   776  	return xxx_messageInfo_ProcessState.Size(m)
   777  }
   778  func (m *ProcessState) XXX_DiscardUnknown() {
   779  	xxx_messageInfo_ProcessState.DiscardUnknown(m)
   780  }
   781  
   782  var xxx_messageInfo_ProcessState proto.InternalMessageInfo
   783  
   784  func (m *ProcessState) GetPid() int32 {
   785  	if m != nil {
   786  		return m.Pid
   787  	}
   788  	return 0
   789  }
   790  
   791  func (m *ProcessState) GetExitCode() int32 {
   792  	if m != nil {
   793  		return m.ExitCode
   794  	}
   795  	return 0
   796  }
   797  
   798  func (m *ProcessState) GetSignal() int32 {
   799  	if m != nil {
   800  		return m.Signal
   801  	}
   802  	return 0
   803  }
   804  
   805  func (m *ProcessState) GetTime() *timestamp.Timestamp {
   806  	if m != nil {
   807  		return m.Time
   808  	}
   809  	return nil
   810  }
   811  
   812  func init() {
   813  	proto.RegisterType((*LaunchRequest)(nil), "hashicorp.nomad.plugins.executor.proto.LaunchRequest")
   814  	proto.RegisterType((*LaunchResponse)(nil), "hashicorp.nomad.plugins.executor.proto.LaunchResponse")
   815  	proto.RegisterType((*WaitRequest)(nil), "hashicorp.nomad.plugins.executor.proto.WaitRequest")
   816  	proto.RegisterType((*WaitResponse)(nil), "hashicorp.nomad.plugins.executor.proto.WaitResponse")
   817  	proto.RegisterType((*ShutdownRequest)(nil), "hashicorp.nomad.plugins.executor.proto.ShutdownRequest")
   818  	proto.RegisterType((*ShutdownResponse)(nil), "hashicorp.nomad.plugins.executor.proto.ShutdownResponse")
   819  	proto.RegisterType((*UpdateResourcesRequest)(nil), "hashicorp.nomad.plugins.executor.proto.UpdateResourcesRequest")
   820  	proto.RegisterType((*UpdateResourcesResponse)(nil), "hashicorp.nomad.plugins.executor.proto.UpdateResourcesResponse")
   821  	proto.RegisterType((*VersionRequest)(nil), "hashicorp.nomad.plugins.executor.proto.VersionRequest")
   822  	proto.RegisterType((*VersionResponse)(nil), "hashicorp.nomad.plugins.executor.proto.VersionResponse")
   823  	proto.RegisterType((*StatsRequest)(nil), "hashicorp.nomad.plugins.executor.proto.StatsRequest")
   824  	proto.RegisterType((*StatsResponse)(nil), "hashicorp.nomad.plugins.executor.proto.StatsResponse")
   825  	proto.RegisterType((*SignalRequest)(nil), "hashicorp.nomad.plugins.executor.proto.SignalRequest")
   826  	proto.RegisterType((*SignalResponse)(nil), "hashicorp.nomad.plugins.executor.proto.SignalResponse")
   827  	proto.RegisterType((*ExecRequest)(nil), "hashicorp.nomad.plugins.executor.proto.ExecRequest")
   828  	proto.RegisterType((*ExecResponse)(nil), "hashicorp.nomad.plugins.executor.proto.ExecResponse")
   829  	proto.RegisterType((*ProcessState)(nil), "hashicorp.nomad.plugins.executor.proto.ProcessState")
   830  }
   831  
   832  func init() {
   833  	proto.RegisterFile("drivers/shared/executor/proto/executor.proto", fileDescriptor_66b85426380683f3)
   834  }
   835  
   836  var fileDescriptor_66b85426380683f3 = []byte{
   837  	// 977 bytes of a gzipped FileDescriptorProto
   838  	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x55, 0x5b, 0x6f, 0x1b, 0x45,
   839  	0x14, 0xee, 0xc6, 0xf1, 0xed, 0xd8, 0x4e, 0xcc, 0x08, 0x85, 0xad, 0x79, 0xa8, 0xd9, 0x07, 0x6a,
   840  	0x41, 0x59, 0x47, 0xe9, 0x0d, 0x09, 0x41, 0x11, 0x49, 0x41, 0x48, 0x21, 0x8a, 0xd6, 0x85, 0x4a,
   841  	0x3c, 0xb0, 0x4c, 0x76, 0x07, 0xef, 0x28, 0xf6, 0xce, 0x32, 0x33, 0xeb, 0x06, 0x09, 0x09, 0x5e,
   842  	0xf8, 0x07, 0x20, 0xf1, 0x73, 0xd1, 0xdc, 0x36, 0x76, 0x5a, 0xaa, 0x75, 0x11, 0x4f, 0x9e, 0x39,
   843  	0x7b, 0xbe, 0xef, 0x5c, 0xe6, 0x9c, 0xcf, 0x70, 0x2f, 0xe5, 0x74, 0x45, 0xb8, 0x98, 0x8a, 0x0c,
   844  	0x73, 0x92, 0x4e, 0xc9, 0x15, 0x49, 0x4a, 0xc9, 0xf8, 0xb4, 0xe0, 0x4c, 0xb2, 0xea, 0x1a, 0xea,
   845  	0x2b, 0x7a, 0x3f, 0xc3, 0x22, 0xa3, 0x09, 0xe3, 0x45, 0x98, 0xb3, 0x25, 0x4e, 0xc3, 0x62, 0x51,
   846  	0xce, 0x69, 0x2e, 0xc2, 0x4d, 0xbf, 0xd1, 0x9d, 0x39, 0x63, 0xf3, 0x05, 0x31, 0x24, 0x17, 0xe5,
   847  	0x4f, 0x53, 0x49, 0x97, 0x44, 0x48, 0xbc, 0x2c, 0xac, 0xc3, 0xa7, 0x73, 0x2a, 0xb3, 0xf2, 0x22,
   848  	0x4c, 0xd8, 0x72, 0x5a, 0x71, 0x4e, 0x35, 0xe7, 0xd4, 0x72, 0x4e, 0x5d, 0x66, 0x26, 0x13, 0x73,
   849  	0x33, 0xf0, 0xe0, 0xf7, 0x26, 0x0c, 0x4e, 0x71, 0x99, 0x27, 0x59, 0x44, 0x7e, 0x2e, 0x89, 0x90,
   850  	0x68, 0x08, 0x8d, 0x64, 0x99, 0xfa, 0xde, 0xd8, 0x9b, 0x74, 0x23, 0x75, 0x44, 0x08, 0x76, 0x31,
   851  	0x9f, 0x0b, 0x7f, 0x67, 0xdc, 0x98, 0x74, 0x23, 0x7d, 0x46, 0x67, 0xd0, 0xe5, 0x44, 0xb0, 0x92,
   852  	0x27, 0x44, 0xf8, 0x8d, 0xb1, 0x37, 0xe9, 0x1d, 0x1d, 0x86, 0xff, 0x56, 0x93, 0x8d, 0x6f, 0x42,
   853  	0x86, 0x91, 0xc3, 0x45, 0xd7, 0x14, 0xe8, 0x0e, 0xf4, 0x84, 0x4c, 0x59, 0x29, 0xe3, 0x02, 0xcb,
   854  	0xcc, 0xdf, 0xd5, 0xd1, 0xc1, 0x98, 0xce, 0xb1, 0xcc, 0xac, 0x03, 0xe1, 0xdc, 0x38, 0x34, 0x2b,
   855  	0x07, 0xc2, 0xb9, 0x76, 0x18, 0x42, 0x83, 0xe4, 0x2b, 0xbf, 0xa5, 0x93, 0x54, 0x47, 0x95, 0x77,
   856  	0x29, 0x08, 0xf7, 0xdb, 0xda, 0x57, 0x9f, 0xd1, 0x6d, 0xe8, 0x48, 0x2c, 0x2e, 0xe3, 0x94, 0x72,
   857  	0xbf, 0xa3, 0xed, 0x6d, 0x75, 0x3f, 0xa1, 0x1c, 0xdd, 0x85, 0x7d, 0x97, 0x4f, 0xbc, 0xa0, 0x4b,
   858  	0x2a, 0x85, 0xdf, 0x1d, 0x7b, 0x93, 0x4e, 0xb4, 0xe7, 0xcc, 0xa7, 0xda, 0x8a, 0x0e, 0xe1, 0xed,
   859  	0x0b, 0x2c, 0x68, 0x12, 0x17, 0x9c, 0x25, 0x44, 0x88, 0x38, 0x99, 0x73, 0x56, 0x16, 0x3e, 0x68,
   860  	0x6f, 0xa4, 0xbf, 0x9d, 0x9b, 0x4f, 0xc7, 0xfa, 0x0b, 0x3a, 0x81, 0xd6, 0x92, 0x95, 0xb9, 0x14,
   861  	0x7e, 0x6f, 0xdc, 0x98, 0xf4, 0x8e, 0xee, 0xd5, 0x6c, 0xd5, 0x37, 0x0a, 0x14, 0x59, 0x2c, 0xfa,
   862  	0x0a, 0xda, 0x29, 0x59, 0x51, 0xd5, 0xf1, 0xbe, 0xa6, 0xf9, 0xa8, 0x26, 0xcd, 0x89, 0x46, 0x45,
   863  	0x0e, 0x8d, 0x32, 0x78, 0x2b, 0x27, 0xf2, 0x05, 0xe3, 0x97, 0x31, 0x15, 0x6c, 0x81, 0x25, 0x65,
   864  	0xb9, 0x3f, 0xd0, 0x8f, 0xf8, 0x49, 0x4d, 0xca, 0x33, 0x83, 0xff, 0xda, 0xc1, 0x67, 0x05, 0x49,
   865  	0xa2, 0x61, 0x7e, 0xc3, 0x8a, 0x02, 0x18, 0xe4, 0x2c, 0x2e, 0xe8, 0x8a, 0xc9, 0x98, 0x33, 0x26,
   866  	0xfd, 0x3d, 0xdd, 0xa3, 0x5e, 0xce, 0xce, 0x95, 0x2d, 0x62, 0x4c, 0x06, 0x3f, 0xc2, 0x9e, 0x9b,
   867  	0x40, 0x51, 0xb0, 0x5c, 0x10, 0x74, 0x06, 0x6d, 0xdb, 0x5a, 0x3d, 0x86, 0xbd, 0xa3, 0x07, 0x61,
   868  	0xbd, 0x75, 0x09, 0x6d, 0xdb, 0x67, 0x12, 0x4b, 0x12, 0x39, 0x92, 0x60, 0x00, 0xbd, 0xe7, 0x98,
   869  	0x4a, 0x3b, 0xe1, 0xc1, 0x0f, 0xd0, 0x37, 0xd7, 0xff, 0x29, 0xdc, 0x29, 0xec, 0xcf, 0xb2, 0x52,
   870  	0xa6, 0xec, 0x45, 0xee, 0x96, 0xea, 0x00, 0x5a, 0x82, 0xce, 0x73, 0xbc, 0xb0, 0x7b, 0x65, 0x6f,
   871  	0xe8, 0x3d, 0xe8, 0xcf, 0x39, 0x4e, 0x48, 0x5c, 0x10, 0x4e, 0x59, 0xea, 0xef, 0x8c, 0xbd, 0x49,
   872  	0x23, 0xea, 0x69, 0xdb, 0xb9, 0x36, 0x05, 0x08, 0x86, 0xd7, 0x6c, 0x26, 0xe3, 0x20, 0x83, 0x83,
   873  	0x6f, 0x8b, 0x54, 0x05, 0xad, 0x76, 0xc9, 0x06, 0xda, 0xd8, 0x4b, 0xef, 0x3f, 0xef, 0x65, 0x70,
   874  	0x1b, 0xde, 0x79, 0x29, 0x92, 0x4d, 0x62, 0x08, 0x7b, 0xdf, 0x11, 0x2e, 0x28, 0x73, 0x55, 0x06,
   875  	0x1f, 0xc2, 0x7e, 0x65, 0xb1, 0xbd, 0xf5, 0xa1, 0xbd, 0x32, 0x26, 0x5b, 0xb9, 0xbb, 0x06, 0x1f,
   876  	0x40, 0x5f, 0xf5, 0xad, 0xca, 0x7c, 0x04, 0x1d, 0x9a, 0x4b, 0xc2, 0x57, 0xb6, 0x49, 0x8d, 0xa8,
   877  	0xba, 0x07, 0xcf, 0x61, 0x60, 0x7d, 0x2d, 0xed, 0x97, 0xd0, 0x14, 0xca, 0xb0, 0x65, 0x89, 0xcf,
   878  	0xb0, 0xb8, 0x34, 0x44, 0x06, 0x1e, 0xdc, 0x85, 0xc1, 0x4c, 0xbf, 0xc4, 0xab, 0x1f, 0xaa, 0xe9,
   879  	0x1e, 0x4a, 0x15, 0xeb, 0x1c, 0x6d, 0xf9, 0x97, 0xd0, 0x7b, 0x7a, 0x45, 0x12, 0x07, 0x7c, 0x04,
   880  	0x9d, 0x94, 0xe0, 0x74, 0x41, 0x73, 0x62, 0x93, 0x1a, 0x85, 0x46, 0xbb, 0x43, 0xa7, 0xdd, 0xe1,
   881  	0x33, 0xa7, 0xdd, 0x51, 0xe5, 0xeb, 0xe4, 0x76, 0xe7, 0x65, 0xb9, 0x6d, 0x5c, 0xcb, 0x6d, 0x70,
   882  	0x0c, 0x7d, 0x13, 0xcc, 0xd6, 0x7f, 0x00, 0x2d, 0x56, 0xca, 0xa2, 0x94, 0x3a, 0x56, 0x3f, 0xb2,
   883  	0x37, 0xf4, 0x2e, 0x74, 0xc9, 0x15, 0x95, 0x71, 0xc2, 0x52, 0xa2, 0x39, 0x9b, 0x51, 0x47, 0x19,
   884  	0x8e, 0x59, 0x4a, 0x82, 0x3f, 0x3c, 0xe8, 0xaf, 0x4f, 0xac, 0x8a, 0x5d, 0xd0, 0xd4, 0x56, 0xaa,
   885  	0x8e, 0xaf, 0xc5, 0xaf, 0xf5, 0xa6, 0xb1, 0xde, 0x1b, 0x14, 0xc2, 0xae, 0xfa, 0x57, 0xd2, 0xa2,
   886  	0xfd, 0xfa, 0xb2, 0xb5, 0xdf, 0xd1, 0x5f, 0x5d, 0xe8, 0x3c, 0xb5, 0x8b, 0x84, 0x7e, 0x81, 0x96,
   887  	0xd9, 0x7e, 0xf4, 0xb0, 0xee, 0xd6, 0x6d, 0xfc, 0x5f, 0x8d, 0x1e, 0x6d, 0x0b, 0xb3, 0xef, 0x77,
   888  	0x0b, 0x09, 0xd8, 0x55, 0x3a, 0x80, 0xee, 0xd7, 0x65, 0x58, 0x13, 0x91, 0xd1, 0x83, 0xed, 0x40,
   889  	0x55, 0xd0, 0xdf, 0xa0, 0xe3, 0xd6, 0x19, 0x3d, 0xae, 0xcb, 0x71, 0x43, 0x4e, 0x46, 0x1f, 0x6f,
   890  	0x0f, 0xac, 0x12, 0xf8, 0xd3, 0x83, 0xfd, 0x1b, 0x2b, 0x8d, 0x3e, 0xab, 0xcb, 0xf7, 0x6a, 0xd5,
   891  	0x19, 0x3d, 0x79, 0x63, 0x7c, 0x95, 0xd6, 0xaf, 0xd0, 0xb6, 0xda, 0x81, 0x6a, 0xbf, 0xe8, 0xa6,
   892  	0xfc, 0x8c, 0x1e, 0x6f, 0x8d, 0xab, 0xa2, 0x5f, 0x41, 0x53, 0xeb, 0x02, 0xaa, 0xfd, 0xac, 0xeb,
   893  	0xda, 0x35, 0x7a, 0xb8, 0x25, 0xca, 0xc5, 0x3d, 0xf4, 0xd4, 0xfc, 0x1b, 0x61, 0xa9, 0x3f, 0xff,
   894  	0x1b, 0x8a, 0x55, 0x7f, 0xfe, 0x6f, 0xe8, 0x97, 0x9e, 0x7f, 0xb5, 0x86, 0xf5, 0xe7, 0x7f, 0x4d,
   895  	0xef, 0xea, 0xcf, 0xff, 0xba, 0x6e, 0x05, 0xb7, 0xd0, 0xdf, 0x1e, 0x0c, 0x94, 0x69, 0x26, 0x39,
   896  	0xc1, 0x4b, 0x9a, 0xcf, 0xd1, 0x93, 0x9a, 0xe2, 0xad, 0x50, 0x46, 0xc0, 0x2d, 0xd2, 0xa5, 0xf2,
   897  	0xf9, 0x9b, 0x13, 0xb8, 0xb4, 0x26, 0xde, 0xa1, 0xf7, 0x45, 0xfb, 0xfb, 0xa6, 0xd1, 0xac, 0x96,
   898  	0xfe, 0xb9, 0xff, 0x4f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xe4, 0xda, 0xad, 0xd5, 0xd3, 0x0b, 0x00,
   899  	0x00,
   900  }
   901  
   902  // Reference imports to suppress errors if they are not otherwise used.
   903  var _ context.Context
   904  var _ grpc.ClientConnInterface
   905  
   906  // This is a compile-time assertion to ensure that this generated file
   907  // is compatible with the grpc package it is being compiled against.
   908  const _ = grpc.SupportPackageIsVersion6
   909  
   910  // ExecutorClient is the client API for Executor service.
   911  //
   912  // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
   913  type ExecutorClient interface {
   914  	Launch(ctx context.Context, in *LaunchRequest, opts ...grpc.CallOption) (*LaunchResponse, error)
   915  	Wait(ctx context.Context, in *WaitRequest, opts ...grpc.CallOption) (*WaitResponse, error)
   916  	Shutdown(ctx context.Context, in *ShutdownRequest, opts ...grpc.CallOption) (*ShutdownResponse, error)
   917  	UpdateResources(ctx context.Context, in *UpdateResourcesRequest, opts ...grpc.CallOption) (*UpdateResourcesResponse, error)
   918  	Version(ctx context.Context, in *VersionRequest, opts ...grpc.CallOption) (*VersionResponse, error)
   919  	Stats(ctx context.Context, in *StatsRequest, opts ...grpc.CallOption) (Executor_StatsClient, error)
   920  	Signal(ctx context.Context, in *SignalRequest, opts ...grpc.CallOption) (*SignalResponse, error)
   921  	Exec(ctx context.Context, in *ExecRequest, opts ...grpc.CallOption) (*ExecResponse, error)
   922  	ExecStreaming(ctx context.Context, opts ...grpc.CallOption) (Executor_ExecStreamingClient, error)
   923  }
   924  
   925  type executorClient struct {
   926  	cc grpc.ClientConnInterface
   927  }
   928  
   929  func NewExecutorClient(cc grpc.ClientConnInterface) ExecutorClient {
   930  	return &executorClient{cc}
   931  }
   932  
   933  func (c *executorClient) Launch(ctx context.Context, in *LaunchRequest, opts ...grpc.CallOption) (*LaunchResponse, error) {
   934  	out := new(LaunchResponse)
   935  	err := c.cc.Invoke(ctx, "/hashicorp.nomad.plugins.executor.proto.Executor/Launch", in, out, opts...)
   936  	if err != nil {
   937  		return nil, err
   938  	}
   939  	return out, nil
   940  }
   941  
   942  func (c *executorClient) Wait(ctx context.Context, in *WaitRequest, opts ...grpc.CallOption) (*WaitResponse, error) {
   943  	out := new(WaitResponse)
   944  	err := c.cc.Invoke(ctx, "/hashicorp.nomad.plugins.executor.proto.Executor/Wait", in, out, opts...)
   945  	if err != nil {
   946  		return nil, err
   947  	}
   948  	return out, nil
   949  }
   950  
   951  func (c *executorClient) Shutdown(ctx context.Context, in *ShutdownRequest, opts ...grpc.CallOption) (*ShutdownResponse, error) {
   952  	out := new(ShutdownResponse)
   953  	err := c.cc.Invoke(ctx, "/hashicorp.nomad.plugins.executor.proto.Executor/Shutdown", in, out, opts...)
   954  	if err != nil {
   955  		return nil, err
   956  	}
   957  	return out, nil
   958  }
   959  
   960  func (c *executorClient) UpdateResources(ctx context.Context, in *UpdateResourcesRequest, opts ...grpc.CallOption) (*UpdateResourcesResponse, error) {
   961  	out := new(UpdateResourcesResponse)
   962  	err := c.cc.Invoke(ctx, "/hashicorp.nomad.plugins.executor.proto.Executor/UpdateResources", in, out, opts...)
   963  	if err != nil {
   964  		return nil, err
   965  	}
   966  	return out, nil
   967  }
   968  
   969  func (c *executorClient) Version(ctx context.Context, in *VersionRequest, opts ...grpc.CallOption) (*VersionResponse, error) {
   970  	out := new(VersionResponse)
   971  	err := c.cc.Invoke(ctx, "/hashicorp.nomad.plugins.executor.proto.Executor/Version", in, out, opts...)
   972  	if err != nil {
   973  		return nil, err
   974  	}
   975  	return out, nil
   976  }
   977  
   978  func (c *executorClient) Stats(ctx context.Context, in *StatsRequest, opts ...grpc.CallOption) (Executor_StatsClient, error) {
   979  	stream, err := c.cc.NewStream(ctx, &_Executor_serviceDesc.Streams[0], "/hashicorp.nomad.plugins.executor.proto.Executor/Stats", opts...)
   980  	if err != nil {
   981  		return nil, err
   982  	}
   983  	x := &executorStatsClient{stream}
   984  	if err := x.ClientStream.SendMsg(in); err != nil {
   985  		return nil, err
   986  	}
   987  	if err := x.ClientStream.CloseSend(); err != nil {
   988  		return nil, err
   989  	}
   990  	return x, nil
   991  }
   992  
   993  type Executor_StatsClient interface {
   994  	Recv() (*StatsResponse, error)
   995  	grpc.ClientStream
   996  }
   997  
   998  type executorStatsClient struct {
   999  	grpc.ClientStream
  1000  }
  1001  
  1002  func (x *executorStatsClient) Recv() (*StatsResponse, error) {
  1003  	m := new(StatsResponse)
  1004  	if err := x.ClientStream.RecvMsg(m); err != nil {
  1005  		return nil, err
  1006  	}
  1007  	return m, nil
  1008  }
  1009  
  1010  func (c *executorClient) Signal(ctx context.Context, in *SignalRequest, opts ...grpc.CallOption) (*SignalResponse, error) {
  1011  	out := new(SignalResponse)
  1012  	err := c.cc.Invoke(ctx, "/hashicorp.nomad.plugins.executor.proto.Executor/Signal", in, out, opts...)
  1013  	if err != nil {
  1014  		return nil, err
  1015  	}
  1016  	return out, nil
  1017  }
  1018  
  1019  func (c *executorClient) Exec(ctx context.Context, in *ExecRequest, opts ...grpc.CallOption) (*ExecResponse, error) {
  1020  	out := new(ExecResponse)
  1021  	err := c.cc.Invoke(ctx, "/hashicorp.nomad.plugins.executor.proto.Executor/Exec", in, out, opts...)
  1022  	if err != nil {
  1023  		return nil, err
  1024  	}
  1025  	return out, nil
  1026  }
  1027  
  1028  func (c *executorClient) ExecStreaming(ctx context.Context, opts ...grpc.CallOption) (Executor_ExecStreamingClient, error) {
  1029  	stream, err := c.cc.NewStream(ctx, &_Executor_serviceDesc.Streams[1], "/hashicorp.nomad.plugins.executor.proto.Executor/ExecStreaming", opts...)
  1030  	if err != nil {
  1031  		return nil, err
  1032  	}
  1033  	x := &executorExecStreamingClient{stream}
  1034  	return x, nil
  1035  }
  1036  
  1037  type Executor_ExecStreamingClient interface {
  1038  	Send(*proto1.ExecTaskStreamingRequest) error
  1039  	Recv() (*proto1.ExecTaskStreamingResponse, error)
  1040  	grpc.ClientStream
  1041  }
  1042  
  1043  type executorExecStreamingClient struct {
  1044  	grpc.ClientStream
  1045  }
  1046  
  1047  func (x *executorExecStreamingClient) Send(m *proto1.ExecTaskStreamingRequest) error {
  1048  	return x.ClientStream.SendMsg(m)
  1049  }
  1050  
  1051  func (x *executorExecStreamingClient) Recv() (*proto1.ExecTaskStreamingResponse, error) {
  1052  	m := new(proto1.ExecTaskStreamingResponse)
  1053  	if err := x.ClientStream.RecvMsg(m); err != nil {
  1054  		return nil, err
  1055  	}
  1056  	return m, nil
  1057  }
  1058  
  1059  // ExecutorServer is the server API for Executor service.
  1060  type ExecutorServer interface {
  1061  	Launch(context.Context, *LaunchRequest) (*LaunchResponse, error)
  1062  	Wait(context.Context, *WaitRequest) (*WaitResponse, error)
  1063  	Shutdown(context.Context, *ShutdownRequest) (*ShutdownResponse, error)
  1064  	UpdateResources(context.Context, *UpdateResourcesRequest) (*UpdateResourcesResponse, error)
  1065  	Version(context.Context, *VersionRequest) (*VersionResponse, error)
  1066  	Stats(*StatsRequest, Executor_StatsServer) error
  1067  	Signal(context.Context, *SignalRequest) (*SignalResponse, error)
  1068  	Exec(context.Context, *ExecRequest) (*ExecResponse, error)
  1069  	ExecStreaming(Executor_ExecStreamingServer) error
  1070  }
  1071  
  1072  // UnimplementedExecutorServer can be embedded to have forward compatible implementations.
  1073  type UnimplementedExecutorServer struct {
  1074  }
  1075  
  1076  func (*UnimplementedExecutorServer) Launch(ctx context.Context, req *LaunchRequest) (*LaunchResponse, error) {
  1077  	return nil, status.Errorf(codes.Unimplemented, "method Launch not implemented")
  1078  }
  1079  func (*UnimplementedExecutorServer) Wait(ctx context.Context, req *WaitRequest) (*WaitResponse, error) {
  1080  	return nil, status.Errorf(codes.Unimplemented, "method Wait not implemented")
  1081  }
  1082  func (*UnimplementedExecutorServer) Shutdown(ctx context.Context, req *ShutdownRequest) (*ShutdownResponse, error) {
  1083  	return nil, status.Errorf(codes.Unimplemented, "method Shutdown not implemented")
  1084  }
  1085  func (*UnimplementedExecutorServer) UpdateResources(ctx context.Context, req *UpdateResourcesRequest) (*UpdateResourcesResponse, error) {
  1086  	return nil, status.Errorf(codes.Unimplemented, "method UpdateResources not implemented")
  1087  }
  1088  func (*UnimplementedExecutorServer) Version(ctx context.Context, req *VersionRequest) (*VersionResponse, error) {
  1089  	return nil, status.Errorf(codes.Unimplemented, "method Version not implemented")
  1090  }
  1091  func (*UnimplementedExecutorServer) Stats(req *StatsRequest, srv Executor_StatsServer) error {
  1092  	return status.Errorf(codes.Unimplemented, "method Stats not implemented")
  1093  }
  1094  func (*UnimplementedExecutorServer) Signal(ctx context.Context, req *SignalRequest) (*SignalResponse, error) {
  1095  	return nil, status.Errorf(codes.Unimplemented, "method Signal not implemented")
  1096  }
  1097  func (*UnimplementedExecutorServer) Exec(ctx context.Context, req *ExecRequest) (*ExecResponse, error) {
  1098  	return nil, status.Errorf(codes.Unimplemented, "method Exec not implemented")
  1099  }
  1100  func (*UnimplementedExecutorServer) ExecStreaming(srv Executor_ExecStreamingServer) error {
  1101  	return status.Errorf(codes.Unimplemented, "method ExecStreaming not implemented")
  1102  }
  1103  
  1104  func RegisterExecutorServer(s *grpc.Server, srv ExecutorServer) {
  1105  	s.RegisterService(&_Executor_serviceDesc, srv)
  1106  }
  1107  
  1108  func _Executor_Launch_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1109  	in := new(LaunchRequest)
  1110  	if err := dec(in); err != nil {
  1111  		return nil, err
  1112  	}
  1113  	if interceptor == nil {
  1114  		return srv.(ExecutorServer).Launch(ctx, in)
  1115  	}
  1116  	info := &grpc.UnaryServerInfo{
  1117  		Server:     srv,
  1118  		FullMethod: "/hashicorp.nomad.plugins.executor.proto.Executor/Launch",
  1119  	}
  1120  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1121  		return srv.(ExecutorServer).Launch(ctx, req.(*LaunchRequest))
  1122  	}
  1123  	return interceptor(ctx, in, info, handler)
  1124  }
  1125  
  1126  func _Executor_Wait_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1127  	in := new(WaitRequest)
  1128  	if err := dec(in); err != nil {
  1129  		return nil, err
  1130  	}
  1131  	if interceptor == nil {
  1132  		return srv.(ExecutorServer).Wait(ctx, in)
  1133  	}
  1134  	info := &grpc.UnaryServerInfo{
  1135  		Server:     srv,
  1136  		FullMethod: "/hashicorp.nomad.plugins.executor.proto.Executor/Wait",
  1137  	}
  1138  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1139  		return srv.(ExecutorServer).Wait(ctx, req.(*WaitRequest))
  1140  	}
  1141  	return interceptor(ctx, in, info, handler)
  1142  }
  1143  
  1144  func _Executor_Shutdown_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1145  	in := new(ShutdownRequest)
  1146  	if err := dec(in); err != nil {
  1147  		return nil, err
  1148  	}
  1149  	if interceptor == nil {
  1150  		return srv.(ExecutorServer).Shutdown(ctx, in)
  1151  	}
  1152  	info := &grpc.UnaryServerInfo{
  1153  		Server:     srv,
  1154  		FullMethod: "/hashicorp.nomad.plugins.executor.proto.Executor/Shutdown",
  1155  	}
  1156  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1157  		return srv.(ExecutorServer).Shutdown(ctx, req.(*ShutdownRequest))
  1158  	}
  1159  	return interceptor(ctx, in, info, handler)
  1160  }
  1161  
  1162  func _Executor_UpdateResources_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1163  	in := new(UpdateResourcesRequest)
  1164  	if err := dec(in); err != nil {
  1165  		return nil, err
  1166  	}
  1167  	if interceptor == nil {
  1168  		return srv.(ExecutorServer).UpdateResources(ctx, in)
  1169  	}
  1170  	info := &grpc.UnaryServerInfo{
  1171  		Server:     srv,
  1172  		FullMethod: "/hashicorp.nomad.plugins.executor.proto.Executor/UpdateResources",
  1173  	}
  1174  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1175  		return srv.(ExecutorServer).UpdateResources(ctx, req.(*UpdateResourcesRequest))
  1176  	}
  1177  	return interceptor(ctx, in, info, handler)
  1178  }
  1179  
  1180  func _Executor_Version_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1181  	in := new(VersionRequest)
  1182  	if err := dec(in); err != nil {
  1183  		return nil, err
  1184  	}
  1185  	if interceptor == nil {
  1186  		return srv.(ExecutorServer).Version(ctx, in)
  1187  	}
  1188  	info := &grpc.UnaryServerInfo{
  1189  		Server:     srv,
  1190  		FullMethod: "/hashicorp.nomad.plugins.executor.proto.Executor/Version",
  1191  	}
  1192  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1193  		return srv.(ExecutorServer).Version(ctx, req.(*VersionRequest))
  1194  	}
  1195  	return interceptor(ctx, in, info, handler)
  1196  }
  1197  
  1198  func _Executor_Stats_Handler(srv interface{}, stream grpc.ServerStream) error {
  1199  	m := new(StatsRequest)
  1200  	if err := stream.RecvMsg(m); err != nil {
  1201  		return err
  1202  	}
  1203  	return srv.(ExecutorServer).Stats(m, &executorStatsServer{stream})
  1204  }
  1205  
  1206  type Executor_StatsServer interface {
  1207  	Send(*StatsResponse) error
  1208  	grpc.ServerStream
  1209  }
  1210  
  1211  type executorStatsServer struct {
  1212  	grpc.ServerStream
  1213  }
  1214  
  1215  func (x *executorStatsServer) Send(m *StatsResponse) error {
  1216  	return x.ServerStream.SendMsg(m)
  1217  }
  1218  
  1219  func _Executor_Signal_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1220  	in := new(SignalRequest)
  1221  	if err := dec(in); err != nil {
  1222  		return nil, err
  1223  	}
  1224  	if interceptor == nil {
  1225  		return srv.(ExecutorServer).Signal(ctx, in)
  1226  	}
  1227  	info := &grpc.UnaryServerInfo{
  1228  		Server:     srv,
  1229  		FullMethod: "/hashicorp.nomad.plugins.executor.proto.Executor/Signal",
  1230  	}
  1231  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1232  		return srv.(ExecutorServer).Signal(ctx, req.(*SignalRequest))
  1233  	}
  1234  	return interceptor(ctx, in, info, handler)
  1235  }
  1236  
  1237  func _Executor_Exec_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1238  	in := new(ExecRequest)
  1239  	if err := dec(in); err != nil {
  1240  		return nil, err
  1241  	}
  1242  	if interceptor == nil {
  1243  		return srv.(ExecutorServer).Exec(ctx, in)
  1244  	}
  1245  	info := &grpc.UnaryServerInfo{
  1246  		Server:     srv,
  1247  		FullMethod: "/hashicorp.nomad.plugins.executor.proto.Executor/Exec",
  1248  	}
  1249  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1250  		return srv.(ExecutorServer).Exec(ctx, req.(*ExecRequest))
  1251  	}
  1252  	return interceptor(ctx, in, info, handler)
  1253  }
  1254  
  1255  func _Executor_ExecStreaming_Handler(srv interface{}, stream grpc.ServerStream) error {
  1256  	return srv.(ExecutorServer).ExecStreaming(&executorExecStreamingServer{stream})
  1257  }
  1258  
  1259  type Executor_ExecStreamingServer interface {
  1260  	Send(*proto1.ExecTaskStreamingResponse) error
  1261  	Recv() (*proto1.ExecTaskStreamingRequest, error)
  1262  	grpc.ServerStream
  1263  }
  1264  
  1265  type executorExecStreamingServer struct {
  1266  	grpc.ServerStream
  1267  }
  1268  
  1269  func (x *executorExecStreamingServer) Send(m *proto1.ExecTaskStreamingResponse) error {
  1270  	return x.ServerStream.SendMsg(m)
  1271  }
  1272  
  1273  func (x *executorExecStreamingServer) Recv() (*proto1.ExecTaskStreamingRequest, error) {
  1274  	m := new(proto1.ExecTaskStreamingRequest)
  1275  	if err := x.ServerStream.RecvMsg(m); err != nil {
  1276  		return nil, err
  1277  	}
  1278  	return m, nil
  1279  }
  1280  
  1281  var _Executor_serviceDesc = grpc.ServiceDesc{
  1282  	ServiceName: "hashicorp.nomad.plugins.executor.proto.Executor",
  1283  	HandlerType: (*ExecutorServer)(nil),
  1284  	Methods: []grpc.MethodDesc{
  1285  		{
  1286  			MethodName: "Launch",
  1287  			Handler:    _Executor_Launch_Handler,
  1288  		},
  1289  		{
  1290  			MethodName: "Wait",
  1291  			Handler:    _Executor_Wait_Handler,
  1292  		},
  1293  		{
  1294  			MethodName: "Shutdown",
  1295  			Handler:    _Executor_Shutdown_Handler,
  1296  		},
  1297  		{
  1298  			MethodName: "UpdateResources",
  1299  			Handler:    _Executor_UpdateResources_Handler,
  1300  		},
  1301  		{
  1302  			MethodName: "Version",
  1303  			Handler:    _Executor_Version_Handler,
  1304  		},
  1305  		{
  1306  			MethodName: "Signal",
  1307  			Handler:    _Executor_Signal_Handler,
  1308  		},
  1309  		{
  1310  			MethodName: "Exec",
  1311  			Handler:    _Executor_Exec_Handler,
  1312  		},
  1313  	},
  1314  	Streams: []grpc.StreamDesc{
  1315  		{
  1316  			StreamName:    "Stats",
  1317  			Handler:       _Executor_Stats_Handler,
  1318  			ServerStreams: true,
  1319  		},
  1320  		{
  1321  			StreamName:    "ExecStreaming",
  1322  			Handler:       _Executor_ExecStreaming_Handler,
  1323  			ServerStreams: true,
  1324  			ClientStreams: true,
  1325  		},
  1326  	},
  1327  	Metadata: "drivers/shared/executor/proto/executor.proto",
  1328  }