go.chromium.org/luci@v0.0.0-20240309015107-7cdc2e660f33/led/job/job.pb.go (about)

     1  // Copyright 2020 The LUCI Authors.
     2  //
     3  // Licensed under the Apache License, Version 2.0 (the "License");
     4  // you may not use this file except in compliance with the License.
     5  // You may obtain a copy of the License at
     6  //
     7  //      http://www.apache.org/licenses/LICENSE-2.0
     8  //
     9  // Unless required by applicable law or agreed to in writing, software
    10  // distributed under the License is distributed on an "AS IS" BASIS,
    11  // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    12  // See the License for the specific language governing permissions and
    13  // limitations under the License.
    14  
    15  // Code generated by protoc-gen-go. DO NOT EDIT.
    16  // versions:
    17  // 	protoc-gen-go v1.31.0
    18  // 	protoc        v3.21.7
    19  // source: go.chromium.org/luci/led/job/job.proto
    20  
    21  package job
    22  
    23  import (
    24  	proto "go.chromium.org/luci/buildbucket/proto"
    25  	api_v2 "go.chromium.org/luci/swarming/proto/api_v2"
    26  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    27  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    28  	durationpb "google.golang.org/protobuf/types/known/durationpb"
    29  	reflect "reflect"
    30  	sync "sync"
    31  )
    32  
    33  const (
    34  	// Verify that this generated code is sufficiently up-to-date.
    35  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    36  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    37  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    38  )
    39  
    40  // Buildbucket is, ideally, just a BBAgentArgs, but there are bits of data that
    41  // led needs to track which aren't currently contained in BBAgentArgs.
    42  //
    43  // Where it makes sense, this additional data should be moved from this
    44  // Buildbucket message into BBAgentArgs, but for now we store it separately to
    45  // get led v2 up and running.
    46  type Buildbucket struct {
    47  	state         protoimpl.MessageState
    48  	sizeCache     protoimpl.SizeCache
    49  	unknownFields protoimpl.UnknownFields
    50  
    51  	BbagentArgs *proto.BBAgentArgs `protobuf:"bytes,1,opt,name=bbagent_args,json=bbagentArgs,proto3" json:"bbagent_args,omitempty"`
    52  	// Deprecated for Buildbucket v2 builds.
    53  	CipdPackages []*api_v2.CipdPackage    `protobuf:"bytes,2,rep,name=cipd_packages,json=cipdPackages,proto3" json:"cipd_packages,omitempty"`
    54  	EnvVars      []*api_v2.StringPair     `protobuf:"bytes,3,rep,name=env_vars,json=envVars,proto3" json:"env_vars,omitempty"`
    55  	EnvPrefixes  []*api_v2.StringListPair `protobuf:"bytes,4,rep,name=env_prefixes,json=envPrefixes,proto3" json:"env_prefixes,omitempty"`
    56  	// Deprecated.
    57  	// TODO(crbug.com/1345722): remove this.
    58  	ExtraTags        []string             `protobuf:"bytes,5,rep,name=extra_tags,json=extraTags,proto3" json:"extra_tags,omitempty"`
    59  	BotPingTolerance *durationpb.Duration `protobuf:"bytes,7,opt,name=bot_ping_tolerance,json=botPingTolerance,proto3" json:"bot_ping_tolerance,omitempty"`
    60  	Containment      *api_v2.Containment  `protobuf:"bytes,8,opt,name=containment,proto3" json:"containment,omitempty"`
    61  	// Indicates that this build should be generated as a legacy kitchen task when
    62  	// launched.
    63  	LegacyKitchen bool `protobuf:"varint,9,opt,name=legacy_kitchen,json=legacyKitchen,proto3" json:"legacy_kitchen,omitempty"`
    64  	// Eventually becomes the name of the launched swarming task.
    65  	Name string `protobuf:"bytes,10,opt,name=name,proto3" json:"name,omitempty"`
    66  	// This field contains the path relative to ${ISOLATED_OUTDIR} for the final
    67  	// build.proto result. If blank, will cause the job not to emit any build
    68  	// proto to the output directory.
    69  	//
    70  	// For bbagent-based jobs this must have the file extension ".pb", ".textpb"
    71  	// or ".json", to get the respective encoding.
    72  	//
    73  	// For legacy kitchen jobs this must have the file extension ".json".
    74  	//
    75  	// By default, led will populate this with "build.proto.json".
    76  	FinalBuildProtoPath string `protobuf:"bytes,11,opt,name=final_build_proto_path,json=finalBuildProtoPath,proto3" json:"final_build_proto_path,omitempty"`
    77  	// Indicates that this build should be generated as a real buildbucket build
    78  	// instead of a raw swarming task.
    79  	RealBuild bool `protobuf:"varint,12,opt,name=real_build,json=realBuild,proto3" json:"real_build,omitempty"`
    80  }
    81  
    82  func (x *Buildbucket) Reset() {
    83  	*x = Buildbucket{}
    84  	if protoimpl.UnsafeEnabled {
    85  		mi := &file_go_chromium_org_luci_led_job_job_proto_msgTypes[0]
    86  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    87  		ms.StoreMessageInfo(mi)
    88  	}
    89  }
    90  
    91  func (x *Buildbucket) String() string {
    92  	return protoimpl.X.MessageStringOf(x)
    93  }
    94  
    95  func (*Buildbucket) ProtoMessage() {}
    96  
    97  func (x *Buildbucket) ProtoReflect() protoreflect.Message {
    98  	mi := &file_go_chromium_org_luci_led_job_job_proto_msgTypes[0]
    99  	if protoimpl.UnsafeEnabled && x != nil {
   100  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   101  		if ms.LoadMessageInfo() == nil {
   102  			ms.StoreMessageInfo(mi)
   103  		}
   104  		return ms
   105  	}
   106  	return mi.MessageOf(x)
   107  }
   108  
   109  // Deprecated: Use Buildbucket.ProtoReflect.Descriptor instead.
   110  func (*Buildbucket) Descriptor() ([]byte, []int) {
   111  	return file_go_chromium_org_luci_led_job_job_proto_rawDescGZIP(), []int{0}
   112  }
   113  
   114  func (x *Buildbucket) GetBbagentArgs() *proto.BBAgentArgs {
   115  	if x != nil {
   116  		return x.BbagentArgs
   117  	}
   118  	return nil
   119  }
   120  
   121  func (x *Buildbucket) GetCipdPackages() []*api_v2.CipdPackage {
   122  	if x != nil {
   123  		return x.CipdPackages
   124  	}
   125  	return nil
   126  }
   127  
   128  func (x *Buildbucket) GetEnvVars() []*api_v2.StringPair {
   129  	if x != nil {
   130  		return x.EnvVars
   131  	}
   132  	return nil
   133  }
   134  
   135  func (x *Buildbucket) GetEnvPrefixes() []*api_v2.StringListPair {
   136  	if x != nil {
   137  		return x.EnvPrefixes
   138  	}
   139  	return nil
   140  }
   141  
   142  func (x *Buildbucket) GetExtraTags() []string {
   143  	if x != nil {
   144  		return x.ExtraTags
   145  	}
   146  	return nil
   147  }
   148  
   149  func (x *Buildbucket) GetBotPingTolerance() *durationpb.Duration {
   150  	if x != nil {
   151  		return x.BotPingTolerance
   152  	}
   153  	return nil
   154  }
   155  
   156  func (x *Buildbucket) GetContainment() *api_v2.Containment {
   157  	if x != nil {
   158  		return x.Containment
   159  	}
   160  	return nil
   161  }
   162  
   163  func (x *Buildbucket) GetLegacyKitchen() bool {
   164  	if x != nil {
   165  		return x.LegacyKitchen
   166  	}
   167  	return false
   168  }
   169  
   170  func (x *Buildbucket) GetName() string {
   171  	if x != nil {
   172  		return x.Name
   173  	}
   174  	return ""
   175  }
   176  
   177  func (x *Buildbucket) GetFinalBuildProtoPath() string {
   178  	if x != nil {
   179  		return x.FinalBuildProtoPath
   180  	}
   181  	return ""
   182  }
   183  
   184  func (x *Buildbucket) GetRealBuild() bool {
   185  	if x != nil {
   186  		return x.RealBuild
   187  	}
   188  	return false
   189  }
   190  
   191  // Swarming is the raw TaskRequest. When a Definition is in this form, the
   192  // user's ability to manipulate it via `led` subcommands is extremely limited.
   193  type Swarming struct {
   194  	state         protoimpl.MessageState
   195  	sizeCache     protoimpl.SizeCache
   196  	unknownFields protoimpl.UnknownFields
   197  
   198  	Task     *api_v2.NewTaskRequest `protobuf:"bytes,1,opt,name=task,proto3" json:"task,omitempty"`
   199  	Hostname string                 `protobuf:"bytes,2,opt,name=hostname,proto3" json:"hostname,omitempty"`
   200  	// If set, this holds the CASReference to use with the job, when launched.
   201  	//
   202  	// At the time of launch, this will be merged with
   203  	// swarming.task_slice[*].properties.cas_input_root, if any.
   204  	CasUserPayload *api_v2.CASReference `protobuf:"bytes,3,opt,name=cas_user_payload,json=casUserPayload,proto3" json:"cas_user_payload,omitempty"`
   205  }
   206  
   207  func (x *Swarming) Reset() {
   208  	*x = Swarming{}
   209  	if protoimpl.UnsafeEnabled {
   210  		mi := &file_go_chromium_org_luci_led_job_job_proto_msgTypes[1]
   211  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   212  		ms.StoreMessageInfo(mi)
   213  	}
   214  }
   215  
   216  func (x *Swarming) String() string {
   217  	return protoimpl.X.MessageStringOf(x)
   218  }
   219  
   220  func (*Swarming) ProtoMessage() {}
   221  
   222  func (x *Swarming) ProtoReflect() protoreflect.Message {
   223  	mi := &file_go_chromium_org_luci_led_job_job_proto_msgTypes[1]
   224  	if protoimpl.UnsafeEnabled && x != nil {
   225  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   226  		if ms.LoadMessageInfo() == nil {
   227  			ms.StoreMessageInfo(mi)
   228  		}
   229  		return ms
   230  	}
   231  	return mi.MessageOf(x)
   232  }
   233  
   234  // Deprecated: Use Swarming.ProtoReflect.Descriptor instead.
   235  func (*Swarming) Descriptor() ([]byte, []int) {
   236  	return file_go_chromium_org_luci_led_job_job_proto_rawDescGZIP(), []int{1}
   237  }
   238  
   239  func (x *Swarming) GetTask() *api_v2.NewTaskRequest {
   240  	if x != nil {
   241  		return x.Task
   242  	}
   243  	return nil
   244  }
   245  
   246  func (x *Swarming) GetHostname() string {
   247  	if x != nil {
   248  		return x.Hostname
   249  	}
   250  	return ""
   251  }
   252  
   253  func (x *Swarming) GetCasUserPayload() *api_v2.CASReference {
   254  	if x != nil {
   255  		return x.CasUserPayload
   256  	}
   257  	return nil
   258  }
   259  
   260  type Definition struct {
   261  	state         protoimpl.MessageState
   262  	sizeCache     protoimpl.SizeCache
   263  	unknownFields protoimpl.UnknownFields
   264  
   265  	// Types that are assignable to JobType:
   266  	//
   267  	//	*Definition_Buildbucket
   268  	//	*Definition_Swarming
   269  	JobType isDefinition_JobType `protobuf_oneof:"job_type"`
   270  }
   271  
   272  func (x *Definition) Reset() {
   273  	*x = Definition{}
   274  	if protoimpl.UnsafeEnabled {
   275  		mi := &file_go_chromium_org_luci_led_job_job_proto_msgTypes[2]
   276  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   277  		ms.StoreMessageInfo(mi)
   278  	}
   279  }
   280  
   281  func (x *Definition) String() string {
   282  	return protoimpl.X.MessageStringOf(x)
   283  }
   284  
   285  func (*Definition) ProtoMessage() {}
   286  
   287  func (x *Definition) ProtoReflect() protoreflect.Message {
   288  	mi := &file_go_chromium_org_luci_led_job_job_proto_msgTypes[2]
   289  	if protoimpl.UnsafeEnabled && x != nil {
   290  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   291  		if ms.LoadMessageInfo() == nil {
   292  			ms.StoreMessageInfo(mi)
   293  		}
   294  		return ms
   295  	}
   296  	return mi.MessageOf(x)
   297  }
   298  
   299  // Deprecated: Use Definition.ProtoReflect.Descriptor instead.
   300  func (*Definition) Descriptor() ([]byte, []int) {
   301  	return file_go_chromium_org_luci_led_job_job_proto_rawDescGZIP(), []int{2}
   302  }
   303  
   304  func (m *Definition) GetJobType() isDefinition_JobType {
   305  	if m != nil {
   306  		return m.JobType
   307  	}
   308  	return nil
   309  }
   310  
   311  func (x *Definition) GetBuildbucket() *Buildbucket {
   312  	if x, ok := x.GetJobType().(*Definition_Buildbucket); ok {
   313  		return x.Buildbucket
   314  	}
   315  	return nil
   316  }
   317  
   318  func (x *Definition) GetSwarming() *Swarming {
   319  	if x, ok := x.GetJobType().(*Definition_Swarming); ok {
   320  		return x.Swarming
   321  	}
   322  	return nil
   323  }
   324  
   325  type isDefinition_JobType interface {
   326  	isDefinition_JobType()
   327  }
   328  
   329  type Definition_Buildbucket struct {
   330  	// Represents a buildbucket-native task; May be recovered from a swarming
   331  	// task, or provided directly via buildbucket.
   332  	Buildbucket *Buildbucket `protobuf:"bytes,1,opt,name=buildbucket,proto3,oneof"`
   333  }
   334  
   335  type Definition_Swarming struct {
   336  	// Represents a swarming task. This will be filled for jobs sourced directly
   337  	// from swarming which weren't recognized as a buildbucket task.
   338  	//
   339  	// A limited subset of the edit and info functionality is available for
   340  	// raw swarming jobs.
   341  	Swarming *Swarming `protobuf:"bytes,2,opt,name=swarming,proto3,oneof"`
   342  }
   343  
   344  func (*Definition_Buildbucket) isDefinition_JobType() {}
   345  
   346  func (*Definition_Swarming) isDefinition_JobType() {}
   347  
   348  var File_go_chromium_org_luci_led_job_job_proto protoreflect.FileDescriptor
   349  
   350  var file_go_chromium_org_luci_led_job_job_proto_rawDesc = []byte{
   351  	0x0a, 0x26, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72,
   352  	0x67, 0x2f, 0x6c, 0x75, 0x63, 0x69, 0x2f, 0x6c, 0x65, 0x64, 0x2f, 0x6a, 0x6f, 0x62, 0x2f, 0x6a,
   353  	0x6f, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x03, 0x6a, 0x6f, 0x62, 0x1a, 0x1e, 0x67,
   354  	0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64,
   355  	0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x35, 0x67,
   356  	0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x6c,
   357  	0x75, 0x63, 0x69, 0x2f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x2f,
   358  	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x6c, 0x61, 0x75, 0x6e, 0x63, 0x68, 0x65, 0x72, 0x2e, 0x70,
   359  	0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x39, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75,
   360  	0x6d, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x6c, 0x75, 0x63, 0x69, 0x2f, 0x73, 0x77, 0x61, 0x72, 0x6d,
   361  	0x69, 0x6e, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x5f, 0x76, 0x32,
   362  	0x2f, 0x73, 0x77, 0x61, 0x72, 0x6d, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22,
   363  	0xb3, 0x04, 0x0a, 0x0b, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x12,
   364  	0x3e, 0x0a, 0x0c, 0x62, 0x62, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x5f, 0x61, 0x72, 0x67, 0x73, 0x18,
   365  	0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x62, 0x75, 0x63,
   366  	0x6b, 0x65, 0x74, 0x2e, 0x76, 0x32, 0x2e, 0x42, 0x42, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x41, 0x72,
   367  	0x67, 0x73, 0x52, 0x0b, 0x62, 0x62, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x41, 0x72, 0x67, 0x73, 0x12,
   368  	0x3d, 0x0a, 0x0d, 0x63, 0x69, 0x70, 0x64, 0x5f, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x73,
   369  	0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x73, 0x77, 0x61, 0x72, 0x6d, 0x69, 0x6e,
   370  	0x67, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x69, 0x70, 0x64, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65,
   371  	0x52, 0x0c, 0x63, 0x69, 0x70, 0x64, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x73, 0x12, 0x32,
   372  	0x0a, 0x08, 0x65, 0x6e, 0x76, 0x5f, 0x76, 0x61, 0x72, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b,
   373  	0x32, 0x17, 0x2e, 0x73, 0x77, 0x61, 0x72, 0x6d, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x32, 0x2e, 0x53,
   374  	0x74, 0x72, 0x69, 0x6e, 0x67, 0x50, 0x61, 0x69, 0x72, 0x52, 0x07, 0x65, 0x6e, 0x76, 0x56, 0x61,
   375  	0x72, 0x73, 0x12, 0x3e, 0x0a, 0x0c, 0x65, 0x6e, 0x76, 0x5f, 0x70, 0x72, 0x65, 0x66, 0x69, 0x78,
   376  	0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x73, 0x77, 0x61, 0x72, 0x6d,
   377  	0x69, 0x6e, 0x67, 0x2e, 0x76, 0x32, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x4c, 0x69, 0x73,
   378  	0x74, 0x50, 0x61, 0x69, 0x72, 0x52, 0x0b, 0x65, 0x6e, 0x76, 0x50, 0x72, 0x65, 0x66, 0x69, 0x78,
   379  	0x65, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x65, 0x78, 0x74, 0x72, 0x61, 0x5f, 0x74, 0x61, 0x67, 0x73,
   380  	0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x65, 0x78, 0x74, 0x72, 0x61, 0x54, 0x61, 0x67,
   381  	0x73, 0x12, 0x47, 0x0a, 0x12, 0x62, 0x6f, 0x74, 0x5f, 0x70, 0x69, 0x6e, 0x67, 0x5f, 0x74, 0x6f,
   382  	0x6c, 0x65, 0x72, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e,
   383  	0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
   384  	0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x10, 0x62, 0x6f, 0x74, 0x50, 0x69, 0x6e,
   385  	0x67, 0x54, 0x6f, 0x6c, 0x65, 0x72, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x3a, 0x0a, 0x0b, 0x63, 0x6f,
   386  	0x6e, 0x74, 0x61, 0x69, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32,
   387  	0x18, 0x2e, 0x73, 0x77, 0x61, 0x72, 0x6d, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6f,
   388  	0x6e, 0x74, 0x61, 0x69, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x74, 0x61,
   389  	0x69, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x6c, 0x65, 0x67, 0x61, 0x63, 0x79,
   390  	0x5f, 0x6b, 0x69, 0x74, 0x63, 0x68, 0x65, 0x6e, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d,
   391  	0x6c, 0x65, 0x67, 0x61, 0x63, 0x79, 0x4b, 0x69, 0x74, 0x63, 0x68, 0x65, 0x6e, 0x12, 0x12, 0x0a,
   392  	0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d,
   393  	0x65, 0x12, 0x33, 0x0a, 0x16, 0x66, 0x69, 0x6e, 0x61, 0x6c, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64,
   394  	0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x0b, 0x20, 0x01, 0x28,
   395  	0x09, 0x52, 0x13, 0x66, 0x69, 0x6e, 0x61, 0x6c, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x50, 0x72, 0x6f,
   396  	0x74, 0x6f, 0x50, 0x61, 0x74, 0x68, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x61, 0x6c, 0x5f, 0x62,
   397  	0x75, 0x69, 0x6c, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x72, 0x65, 0x61, 0x6c,
   398  	0x42, 0x75, 0x69, 0x6c, 0x64, 0x22, 0x9c, 0x01, 0x0a, 0x08, 0x53, 0x77, 0x61, 0x72, 0x6d, 0x69,
   399  	0x6e, 0x67, 0x12, 0x2f, 0x0a, 0x04, 0x74, 0x61, 0x73, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
   400  	0x32, 0x1b, 0x2e, 0x73, 0x77, 0x61, 0x72, 0x6d, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x32, 0x2e, 0x4e,
   401  	0x65, 0x77, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x04, 0x74,
   402  	0x61, 0x73, 0x6b, 0x12, 0x1a, 0x0a, 0x08, 0x68, 0x6f, 0x73, 0x74, 0x6e, 0x61, 0x6d, 0x65, 0x18,
   403  	0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x68, 0x6f, 0x73, 0x74, 0x6e, 0x61, 0x6d, 0x65, 0x12,
   404  	0x43, 0x0a, 0x10, 0x63, 0x61, 0x73, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x70, 0x61, 0x79, 0x6c,
   405  	0x6f, 0x61, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x73, 0x77, 0x61, 0x72,
   406  	0x6d, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x41, 0x53, 0x52, 0x65, 0x66, 0x65, 0x72,
   407  	0x65, 0x6e, 0x63, 0x65, 0x52, 0x0e, 0x63, 0x61, 0x73, 0x55, 0x73, 0x65, 0x72, 0x50, 0x61, 0x79,
   408  	0x6c, 0x6f, 0x61, 0x64, 0x22, 0x7b, 0x0a, 0x0a, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69,
   409  	0x6f, 0x6e, 0x12, 0x34, 0x0a, 0x0b, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x62, 0x75, 0x63, 0x6b, 0x65,
   410  	0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x6a, 0x6f, 0x62, 0x2e, 0x42, 0x75,
   411  	0x69, 0x6c, 0x64, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x48, 0x00, 0x52, 0x0b, 0x62, 0x75, 0x69,
   412  	0x6c, 0x64, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x12, 0x2b, 0x0a, 0x08, 0x73, 0x77, 0x61, 0x72,
   413  	0x6d, 0x69, 0x6e, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x6a, 0x6f, 0x62,
   414  	0x2e, 0x53, 0x77, 0x61, 0x72, 0x6d, 0x69, 0x6e, 0x67, 0x48, 0x00, 0x52, 0x08, 0x73, 0x77, 0x61,
   415  	0x72, 0x6d, 0x69, 0x6e, 0x67, 0x42, 0x0a, 0x0a, 0x08, 0x6a, 0x6f, 0x62, 0x5f, 0x74, 0x79, 0x70,
   416  	0x65, 0x42, 0x22, 0x5a, 0x20, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d,
   417  	0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x6c, 0x75, 0x63, 0x69, 0x2f, 0x6c, 0x65, 0x64, 0x2f, 0x6a, 0x6f,
   418  	0x62, 0x3b, 0x6a, 0x6f, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   419  }
   420  
   421  var (
   422  	file_go_chromium_org_luci_led_job_job_proto_rawDescOnce sync.Once
   423  	file_go_chromium_org_luci_led_job_job_proto_rawDescData = file_go_chromium_org_luci_led_job_job_proto_rawDesc
   424  )
   425  
   426  func file_go_chromium_org_luci_led_job_job_proto_rawDescGZIP() []byte {
   427  	file_go_chromium_org_luci_led_job_job_proto_rawDescOnce.Do(func() {
   428  		file_go_chromium_org_luci_led_job_job_proto_rawDescData = protoimpl.X.CompressGZIP(file_go_chromium_org_luci_led_job_job_proto_rawDescData)
   429  	})
   430  	return file_go_chromium_org_luci_led_job_job_proto_rawDescData
   431  }
   432  
   433  var file_go_chromium_org_luci_led_job_job_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
   434  var file_go_chromium_org_luci_led_job_job_proto_goTypes = []interface{}{
   435  	(*Buildbucket)(nil),           // 0: job.Buildbucket
   436  	(*Swarming)(nil),              // 1: job.Swarming
   437  	(*Definition)(nil),            // 2: job.Definition
   438  	(*proto.BBAgentArgs)(nil),     // 3: buildbucket.v2.BBAgentArgs
   439  	(*api_v2.CipdPackage)(nil),    // 4: swarming.v2.CipdPackage
   440  	(*api_v2.StringPair)(nil),     // 5: swarming.v2.StringPair
   441  	(*api_v2.StringListPair)(nil), // 6: swarming.v2.StringListPair
   442  	(*durationpb.Duration)(nil),   // 7: google.protobuf.Duration
   443  	(*api_v2.Containment)(nil),    // 8: swarming.v2.Containment
   444  	(*api_v2.NewTaskRequest)(nil), // 9: swarming.v2.NewTaskRequest
   445  	(*api_v2.CASReference)(nil),   // 10: swarming.v2.CASReference
   446  }
   447  var file_go_chromium_org_luci_led_job_job_proto_depIdxs = []int32{
   448  	3,  // 0: job.Buildbucket.bbagent_args:type_name -> buildbucket.v2.BBAgentArgs
   449  	4,  // 1: job.Buildbucket.cipd_packages:type_name -> swarming.v2.CipdPackage
   450  	5,  // 2: job.Buildbucket.env_vars:type_name -> swarming.v2.StringPair
   451  	6,  // 3: job.Buildbucket.env_prefixes:type_name -> swarming.v2.StringListPair
   452  	7,  // 4: job.Buildbucket.bot_ping_tolerance:type_name -> google.protobuf.Duration
   453  	8,  // 5: job.Buildbucket.containment:type_name -> swarming.v2.Containment
   454  	9,  // 6: job.Swarming.task:type_name -> swarming.v2.NewTaskRequest
   455  	10, // 7: job.Swarming.cas_user_payload:type_name -> swarming.v2.CASReference
   456  	0,  // 8: job.Definition.buildbucket:type_name -> job.Buildbucket
   457  	1,  // 9: job.Definition.swarming:type_name -> job.Swarming
   458  	10, // [10:10] is the sub-list for method output_type
   459  	10, // [10:10] is the sub-list for method input_type
   460  	10, // [10:10] is the sub-list for extension type_name
   461  	10, // [10:10] is the sub-list for extension extendee
   462  	0,  // [0:10] is the sub-list for field type_name
   463  }
   464  
   465  func init() { file_go_chromium_org_luci_led_job_job_proto_init() }
   466  func file_go_chromium_org_luci_led_job_job_proto_init() {
   467  	if File_go_chromium_org_luci_led_job_job_proto != nil {
   468  		return
   469  	}
   470  	if !protoimpl.UnsafeEnabled {
   471  		file_go_chromium_org_luci_led_job_job_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   472  			switch v := v.(*Buildbucket); i {
   473  			case 0:
   474  				return &v.state
   475  			case 1:
   476  				return &v.sizeCache
   477  			case 2:
   478  				return &v.unknownFields
   479  			default:
   480  				return nil
   481  			}
   482  		}
   483  		file_go_chromium_org_luci_led_job_job_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   484  			switch v := v.(*Swarming); i {
   485  			case 0:
   486  				return &v.state
   487  			case 1:
   488  				return &v.sizeCache
   489  			case 2:
   490  				return &v.unknownFields
   491  			default:
   492  				return nil
   493  			}
   494  		}
   495  		file_go_chromium_org_luci_led_job_job_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
   496  			switch v := v.(*Definition); i {
   497  			case 0:
   498  				return &v.state
   499  			case 1:
   500  				return &v.sizeCache
   501  			case 2:
   502  				return &v.unknownFields
   503  			default:
   504  				return nil
   505  			}
   506  		}
   507  	}
   508  	file_go_chromium_org_luci_led_job_job_proto_msgTypes[2].OneofWrappers = []interface{}{
   509  		(*Definition_Buildbucket)(nil),
   510  		(*Definition_Swarming)(nil),
   511  	}
   512  	type x struct{}
   513  	out := protoimpl.TypeBuilder{
   514  		File: protoimpl.DescBuilder{
   515  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   516  			RawDescriptor: file_go_chromium_org_luci_led_job_job_proto_rawDesc,
   517  			NumEnums:      0,
   518  			NumMessages:   3,
   519  			NumExtensions: 0,
   520  			NumServices:   0,
   521  		},
   522  		GoTypes:           file_go_chromium_org_luci_led_job_job_proto_goTypes,
   523  		DependencyIndexes: file_go_chromium_org_luci_led_job_job_proto_depIdxs,
   524  		MessageInfos:      file_go_chromium_org_luci_led_job_job_proto_msgTypes,
   525  	}.Build()
   526  	File_go_chromium_org_luci_led_job_job_proto = out.File
   527  	file_go_chromium_org_luci_led_job_job_proto_rawDesc = nil
   528  	file_go_chromium_org_luci_led_job_job_proto_goTypes = nil
   529  	file_go_chromium_org_luci_led_job_job_proto_depIdxs = nil
   530  }