go.chromium.org/luci@v0.0.0-20240309015107-7cdc2e660f33/scheduler/appengine/internal/triggers.pb.go (about)

     1  // Copyright 2017 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/scheduler/appengine/internal/triggers.proto
    20  
    21  package internal
    22  
    23  import (
    24  	v1 "go.chromium.org/luci/scheduler/api/scheduler/v1"
    25  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    26  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    27  	timestamppb "google.golang.org/protobuf/types/known/timestamppb"
    28  	reflect "reflect"
    29  	sync "sync"
    30  )
    31  
    32  const (
    33  	// Verify that this generated code is sufficiently up-to-date.
    34  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    35  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    36  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    37  )
    38  
    39  // Trigger can be emitted by the engine itself (e.g. on a schedule) or by
    40  // triggering tasks (such as Gitiles tasks).
    41  //
    42  // One or multiple triggers are consumed to initiate a new invocation which has
    43  // access to the properties of consumed triggers. For example, Buildbucket task
    44  // knows about triggers produced by Gitiles tasks.
    45  //
    46  // This message is an internal representation of the trigger, as stored in
    47  // the datastore. See also triggers.Trigger for public representation used in
    48  // API calls.
    49  type Trigger struct {
    50  	state         protoimpl.MessageState
    51  	sizeCache     protoimpl.SizeCache
    52  	unknownFields protoimpl.UnknownFields
    53  
    54  	// Unique in time identifier of the trigger.
    55  	//
    56  	// It is used to deduplicate and hence provide idempotency for adding
    57  	// a trigger. Must be provided by whoever emits the trigger.
    58  	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
    59  	// ID of a job that emitted this trigger or "" if emitted by the engine.
    60  	//
    61  	// Set by the engine, can't be overridden.
    62  	JobId string `protobuf:"bytes,2,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"`
    63  	// ID of an invocation that emitted this trigger or 0 if emitted by the
    64  	// engine.
    65  	//
    66  	// Set by the engine, can't be overridden.
    67  	InvocationId int64 `protobuf:"varint,3,opt,name=invocation_id,json=invocationId,proto3" json:"invocation_id,omitempty"`
    68  	// Timestamp when the trigger was created.
    69  	//
    70  	// Can be set by whoever emits the trigger if the trigger is based on some
    71  	// external event. If not provided, the engine will set it to the current
    72  	// time.
    73  	//
    74  	// Together with 'order_in_batch' used for weak ordering of triggers that
    75  	// aren't directly comparable (e.g. git commits from different repositories).
    76  	// This ordering shouldn't be considered reliable.
    77  	Created *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=created,proto3" json:"created,omitempty"`
    78  	// If a bunch of triggers were emitted at the same moment in time (for example
    79  	// through a single RPC or by a single invocation in a tight loop), a trigger
    80  	// with smaller 'order_in_batch' is considered to be older. Value of
    81  	// 'order_in_batch' for triggers with different 'created' timestamps are not
    82  	// comparable.
    83  	//
    84  	// Should be set by whoever emits the trigger if 'created' timestamp was
    85  	// supplied explicitly. Otherwise will be set by the engine based on the order
    86  	// of EmitTrigger calls done by the invocation.
    87  	//
    88  	// Together with 'order_in_batch' used for weak ordering of triggers that
    89  	// aren't directly comparable (e.g. git commits from different repositories).
    90  	// This ordering shouldn't be considered reliable.
    91  	OrderInBatch int64 `protobuf:"varint,7,opt,name=order_in_batch,json=orderInBatch,proto3" json:"order_in_batch,omitempty"`
    92  	// User friendly name for this trigger that shows up in UI.
    93  	//
    94  	// Can be provided by whoever emits the trigger. Doesn't have to be unique.
    95  	Title string `protobuf:"bytes,5,opt,name=title,proto3" json:"title,omitempty"`
    96  	// Optional HTTP link to display in UI.
    97  	//
    98  	// Can be provided by whoever emits the trigger. Doesn't have to be unique.
    99  	Url string `protobuf:"bytes,6,opt,name=url,proto3" json:"url,omitempty"`
   100  	// For triggers emitted through public API or "Trigger" button, contains
   101  	// identity of a user who submitted this trigger.
   102  	//
   103  	// Empty for triggers emitted by the service itself.
   104  	EmittedByUser string `protobuf:"bytes,8,opt,name=emitted_by_user,json=emittedByUser,proto3" json:"emitted_by_user,omitempty"`
   105  	// Actual trigger data that depends on type of the trigger.
   106  	//
   107  	// Types that are assignable to Payload:
   108  	//
   109  	//	*Trigger_Cron
   110  	//	*Trigger_Webui
   111  	//	*Trigger_Noop
   112  	//	*Trigger_Gitiles
   113  	//	*Trigger_Buildbucket
   114  	Payload isTrigger_Payload `protobuf_oneof:"payload"`
   115  }
   116  
   117  func (x *Trigger) Reset() {
   118  	*x = Trigger{}
   119  	if protoimpl.UnsafeEnabled {
   120  		mi := &file_go_chromium_org_luci_scheduler_appengine_internal_triggers_proto_msgTypes[0]
   121  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   122  		ms.StoreMessageInfo(mi)
   123  	}
   124  }
   125  
   126  func (x *Trigger) String() string {
   127  	return protoimpl.X.MessageStringOf(x)
   128  }
   129  
   130  func (*Trigger) ProtoMessage() {}
   131  
   132  func (x *Trigger) ProtoReflect() protoreflect.Message {
   133  	mi := &file_go_chromium_org_luci_scheduler_appengine_internal_triggers_proto_msgTypes[0]
   134  	if protoimpl.UnsafeEnabled && x != nil {
   135  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   136  		if ms.LoadMessageInfo() == nil {
   137  			ms.StoreMessageInfo(mi)
   138  		}
   139  		return ms
   140  	}
   141  	return mi.MessageOf(x)
   142  }
   143  
   144  // Deprecated: Use Trigger.ProtoReflect.Descriptor instead.
   145  func (*Trigger) Descriptor() ([]byte, []int) {
   146  	return file_go_chromium_org_luci_scheduler_appengine_internal_triggers_proto_rawDescGZIP(), []int{0}
   147  }
   148  
   149  func (x *Trigger) GetId() string {
   150  	if x != nil {
   151  		return x.Id
   152  	}
   153  	return ""
   154  }
   155  
   156  func (x *Trigger) GetJobId() string {
   157  	if x != nil {
   158  		return x.JobId
   159  	}
   160  	return ""
   161  }
   162  
   163  func (x *Trigger) GetInvocationId() int64 {
   164  	if x != nil {
   165  		return x.InvocationId
   166  	}
   167  	return 0
   168  }
   169  
   170  func (x *Trigger) GetCreated() *timestamppb.Timestamp {
   171  	if x != nil {
   172  		return x.Created
   173  	}
   174  	return nil
   175  }
   176  
   177  func (x *Trigger) GetOrderInBatch() int64 {
   178  	if x != nil {
   179  		return x.OrderInBatch
   180  	}
   181  	return 0
   182  }
   183  
   184  func (x *Trigger) GetTitle() string {
   185  	if x != nil {
   186  		return x.Title
   187  	}
   188  	return ""
   189  }
   190  
   191  func (x *Trigger) GetUrl() string {
   192  	if x != nil {
   193  		return x.Url
   194  	}
   195  	return ""
   196  }
   197  
   198  func (x *Trigger) GetEmittedByUser() string {
   199  	if x != nil {
   200  		return x.EmittedByUser
   201  	}
   202  	return ""
   203  }
   204  
   205  func (m *Trigger) GetPayload() isTrigger_Payload {
   206  	if m != nil {
   207  		return m.Payload
   208  	}
   209  	return nil
   210  }
   211  
   212  func (x *Trigger) GetCron() *v1.CronTrigger {
   213  	if x, ok := x.GetPayload().(*Trigger_Cron); ok {
   214  		return x.Cron
   215  	}
   216  	return nil
   217  }
   218  
   219  func (x *Trigger) GetWebui() *v1.WebUITrigger {
   220  	if x, ok := x.GetPayload().(*Trigger_Webui); ok {
   221  		return x.Webui
   222  	}
   223  	return nil
   224  }
   225  
   226  func (x *Trigger) GetNoop() *v1.NoopTrigger {
   227  	if x, ok := x.GetPayload().(*Trigger_Noop); ok {
   228  		return x.Noop
   229  	}
   230  	return nil
   231  }
   232  
   233  func (x *Trigger) GetGitiles() *v1.GitilesTrigger {
   234  	if x, ok := x.GetPayload().(*Trigger_Gitiles); ok {
   235  		return x.Gitiles
   236  	}
   237  	return nil
   238  }
   239  
   240  func (x *Trigger) GetBuildbucket() *v1.BuildbucketTrigger {
   241  	if x, ok := x.GetPayload().(*Trigger_Buildbucket); ok {
   242  		return x.Buildbucket
   243  	}
   244  	return nil
   245  }
   246  
   247  type isTrigger_Payload interface {
   248  	isTrigger_Payload()
   249  }
   250  
   251  type Trigger_Cron struct {
   252  	Cron *v1.CronTrigger `protobuf:"bytes,40,opt,name=cron,proto3,oneof"`
   253  }
   254  
   255  type Trigger_Webui struct {
   256  	Webui *v1.WebUITrigger `protobuf:"bytes,41,opt,name=webui,proto3,oneof"`
   257  }
   258  
   259  type Trigger_Noop struct {
   260  	Noop *v1.NoopTrigger `protobuf:"bytes,50,opt,name=noop,proto3,oneof"`
   261  }
   262  
   263  type Trigger_Gitiles struct {
   264  	Gitiles *v1.GitilesTrigger `protobuf:"bytes,51,opt,name=gitiles,proto3,oneof"`
   265  }
   266  
   267  type Trigger_Buildbucket struct {
   268  	Buildbucket *v1.BuildbucketTrigger `protobuf:"bytes,52,opt,name=buildbucket,proto3,oneof"`
   269  }
   270  
   271  func (*Trigger_Cron) isTrigger_Payload() {}
   272  
   273  func (*Trigger_Webui) isTrigger_Payload() {}
   274  
   275  func (*Trigger_Noop) isTrigger_Payload() {}
   276  
   277  func (*Trigger_Gitiles) isTrigger_Payload() {}
   278  
   279  func (*Trigger_Buildbucket) isTrigger_Payload() {}
   280  
   281  // TriggerList is what we store in datastore entities.
   282  type TriggerList struct {
   283  	state         protoimpl.MessageState
   284  	sizeCache     protoimpl.SizeCache
   285  	unknownFields protoimpl.UnknownFields
   286  
   287  	Triggers []*Trigger `protobuf:"bytes,1,rep,name=triggers,proto3" json:"triggers,omitempty"`
   288  }
   289  
   290  func (x *TriggerList) Reset() {
   291  	*x = TriggerList{}
   292  	if protoimpl.UnsafeEnabled {
   293  		mi := &file_go_chromium_org_luci_scheduler_appengine_internal_triggers_proto_msgTypes[1]
   294  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   295  		ms.StoreMessageInfo(mi)
   296  	}
   297  }
   298  
   299  func (x *TriggerList) String() string {
   300  	return protoimpl.X.MessageStringOf(x)
   301  }
   302  
   303  func (*TriggerList) ProtoMessage() {}
   304  
   305  func (x *TriggerList) ProtoReflect() protoreflect.Message {
   306  	mi := &file_go_chromium_org_luci_scheduler_appengine_internal_triggers_proto_msgTypes[1]
   307  	if protoimpl.UnsafeEnabled && x != nil {
   308  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   309  		if ms.LoadMessageInfo() == nil {
   310  			ms.StoreMessageInfo(mi)
   311  		}
   312  		return ms
   313  	}
   314  	return mi.MessageOf(x)
   315  }
   316  
   317  // Deprecated: Use TriggerList.ProtoReflect.Descriptor instead.
   318  func (*TriggerList) Descriptor() ([]byte, []int) {
   319  	return file_go_chromium_org_luci_scheduler_appengine_internal_triggers_proto_rawDescGZIP(), []int{1}
   320  }
   321  
   322  func (x *TriggerList) GetTriggers() []*Trigger {
   323  	if x != nil {
   324  		return x.Triggers
   325  	}
   326  	return nil
   327  }
   328  
   329  var File_go_chromium_org_luci_scheduler_appengine_internal_triggers_proto protoreflect.FileDescriptor
   330  
   331  var file_go_chromium_org_luci_scheduler_appengine_internal_triggers_proto_rawDesc = []byte{
   332  	0x0a, 0x40, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72,
   333  	0x67, 0x2f, 0x6c, 0x75, 0x63, 0x69, 0x2f, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72,
   334  	0x2f, 0x61, 0x70, 0x70, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72,
   335  	0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f,
   336  	0x74, 0x6f, 0x12, 0x11, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x74, 0x72, 0x69,
   337  	0x67, 0x67, 0x65, 0x72, 0x73, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72,
   338  	0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70,
   339  	0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x3e, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d,
   340  	0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x6c, 0x75, 0x63, 0x69, 0x2f, 0x73, 0x63, 0x68,
   341  	0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x73, 0x63, 0x68, 0x65, 0x64,
   342  	0x75, 0x6c, 0x65, 0x72, 0x2f, 0x76, 0x31, 0x2f, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x73,
   343  	0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x93, 0x04, 0x0a, 0x07, 0x54, 0x72, 0x69, 0x67, 0x67,
   344  	0x65, 0x72, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02,
   345  	0x69, 0x64, 0x12, 0x15, 0x0a, 0x06, 0x6a, 0x6f, 0x62, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01,
   346  	0x28, 0x09, 0x52, 0x05, 0x6a, 0x6f, 0x62, 0x49, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x69, 0x6e, 0x76,
   347  	0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03,
   348  	0x52, 0x0c, 0x69, 0x6e, 0x76, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x34,
   349  	0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32,
   350  	0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
   351  	0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x07, 0x63, 0x72, 0x65,
   352  	0x61, 0x74, 0x65, 0x64, 0x12, 0x24, 0x0a, 0x0e, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x69, 0x6e,
   353  	0x5f, 0x62, 0x61, 0x74, 0x63, 0x68, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x6f, 0x72,
   354  	0x64, 0x65, 0x72, 0x49, 0x6e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69,
   355  	0x74, 0x6c, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65,
   356  	0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75,
   357  	0x72, 0x6c, 0x12, 0x26, 0x0a, 0x0f, 0x65, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x64, 0x5f, 0x62, 0x79,
   358  	0x5f, 0x75, 0x73, 0x65, 0x72, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x65, 0x6d, 0x69,
   359  	0x74, 0x74, 0x65, 0x64, 0x42, 0x79, 0x55, 0x73, 0x65, 0x72, 0x12, 0x2c, 0x0a, 0x04, 0x63, 0x72,
   360  	0x6f, 0x6e, 0x18, 0x28, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x64,
   361  	0x75, 0x6c, 0x65, 0x72, 0x2e, 0x43, 0x72, 0x6f, 0x6e, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72,
   362  	0x48, 0x00, 0x52, 0x04, 0x63, 0x72, 0x6f, 0x6e, 0x12, 0x2f, 0x0a, 0x05, 0x77, 0x65, 0x62, 0x75,
   363  	0x69, 0x18, 0x29, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75,
   364  	0x6c, 0x65, 0x72, 0x2e, 0x57, 0x65, 0x62, 0x55, 0x49, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72,
   365  	0x48, 0x00, 0x52, 0x05, 0x77, 0x65, 0x62, 0x75, 0x69, 0x12, 0x2c, 0x0a, 0x04, 0x6e, 0x6f, 0x6f,
   366  	0x70, 0x18, 0x32, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75,
   367  	0x6c, 0x65, 0x72, 0x2e, 0x4e, 0x6f, 0x6f, 0x70, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x48,
   368  	0x00, 0x52, 0x04, 0x6e, 0x6f, 0x6f, 0x70, 0x12, 0x35, 0x0a, 0x07, 0x67, 0x69, 0x74, 0x69, 0x6c,
   369  	0x65, 0x73, 0x18, 0x33, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x64,
   370  	0x75, 0x6c, 0x65, 0x72, 0x2e, 0x47, 0x69, 0x74, 0x69, 0x6c, 0x65, 0x73, 0x54, 0x72, 0x69, 0x67,
   371  	0x67, 0x65, 0x72, 0x48, 0x00, 0x52, 0x07, 0x67, 0x69, 0x74, 0x69, 0x6c, 0x65, 0x73, 0x12, 0x41,
   372  	0x0a, 0x0b, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x18, 0x34, 0x20,
   373  	0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x2e,
   374  	0x42, 0x75, 0x69, 0x6c, 0x64, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x54, 0x72, 0x69, 0x67, 0x67,
   375  	0x65, 0x72, 0x48, 0x00, 0x52, 0x0b, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x62, 0x75, 0x63, 0x6b, 0x65,
   376  	0x74, 0x42, 0x09, 0x0a, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x22, 0x45, 0x0a, 0x0b,
   377  	0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x36, 0x0a, 0x08, 0x74,
   378  	0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e,
   379  	0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72,
   380  	0x73, 0x2e, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x52, 0x08, 0x74, 0x72, 0x69, 0x67, 0x67,
   381  	0x65, 0x72, 0x73, 0x42, 0x33, 0x5a, 0x31, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69,
   382  	0x75, 0x6d, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x6c, 0x75, 0x63, 0x69, 0x2f, 0x73, 0x63, 0x68, 0x65,
   383  	0x64, 0x75, 0x6c, 0x65, 0x72, 0x2f, 0x61, 0x70, 0x70, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x2f,
   384  	0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   385  }
   386  
   387  var (
   388  	file_go_chromium_org_luci_scheduler_appengine_internal_triggers_proto_rawDescOnce sync.Once
   389  	file_go_chromium_org_luci_scheduler_appengine_internal_triggers_proto_rawDescData = file_go_chromium_org_luci_scheduler_appengine_internal_triggers_proto_rawDesc
   390  )
   391  
   392  func file_go_chromium_org_luci_scheduler_appengine_internal_triggers_proto_rawDescGZIP() []byte {
   393  	file_go_chromium_org_luci_scheduler_appengine_internal_triggers_proto_rawDescOnce.Do(func() {
   394  		file_go_chromium_org_luci_scheduler_appengine_internal_triggers_proto_rawDescData = protoimpl.X.CompressGZIP(file_go_chromium_org_luci_scheduler_appengine_internal_triggers_proto_rawDescData)
   395  	})
   396  	return file_go_chromium_org_luci_scheduler_appengine_internal_triggers_proto_rawDescData
   397  }
   398  
   399  var file_go_chromium_org_luci_scheduler_appengine_internal_triggers_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
   400  var file_go_chromium_org_luci_scheduler_appengine_internal_triggers_proto_goTypes = []interface{}{
   401  	(*Trigger)(nil),               // 0: internal.triggers.Trigger
   402  	(*TriggerList)(nil),           // 1: internal.triggers.TriggerList
   403  	(*timestamppb.Timestamp)(nil), // 2: google.protobuf.Timestamp
   404  	(*v1.CronTrigger)(nil),        // 3: scheduler.CronTrigger
   405  	(*v1.WebUITrigger)(nil),       // 4: scheduler.WebUITrigger
   406  	(*v1.NoopTrigger)(nil),        // 5: scheduler.NoopTrigger
   407  	(*v1.GitilesTrigger)(nil),     // 6: scheduler.GitilesTrigger
   408  	(*v1.BuildbucketTrigger)(nil), // 7: scheduler.BuildbucketTrigger
   409  }
   410  var file_go_chromium_org_luci_scheduler_appengine_internal_triggers_proto_depIdxs = []int32{
   411  	2, // 0: internal.triggers.Trigger.created:type_name -> google.protobuf.Timestamp
   412  	3, // 1: internal.triggers.Trigger.cron:type_name -> scheduler.CronTrigger
   413  	4, // 2: internal.triggers.Trigger.webui:type_name -> scheduler.WebUITrigger
   414  	5, // 3: internal.triggers.Trigger.noop:type_name -> scheduler.NoopTrigger
   415  	6, // 4: internal.triggers.Trigger.gitiles:type_name -> scheduler.GitilesTrigger
   416  	7, // 5: internal.triggers.Trigger.buildbucket:type_name -> scheduler.BuildbucketTrigger
   417  	0, // 6: internal.triggers.TriggerList.triggers:type_name -> internal.triggers.Trigger
   418  	7, // [7:7] is the sub-list for method output_type
   419  	7, // [7:7] is the sub-list for method input_type
   420  	7, // [7:7] is the sub-list for extension type_name
   421  	7, // [7:7] is the sub-list for extension extendee
   422  	0, // [0:7] is the sub-list for field type_name
   423  }
   424  
   425  func init() { file_go_chromium_org_luci_scheduler_appengine_internal_triggers_proto_init() }
   426  func file_go_chromium_org_luci_scheduler_appengine_internal_triggers_proto_init() {
   427  	if File_go_chromium_org_luci_scheduler_appengine_internal_triggers_proto != nil {
   428  		return
   429  	}
   430  	if !protoimpl.UnsafeEnabled {
   431  		file_go_chromium_org_luci_scheduler_appengine_internal_triggers_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   432  			switch v := v.(*Trigger); i {
   433  			case 0:
   434  				return &v.state
   435  			case 1:
   436  				return &v.sizeCache
   437  			case 2:
   438  				return &v.unknownFields
   439  			default:
   440  				return nil
   441  			}
   442  		}
   443  		file_go_chromium_org_luci_scheduler_appengine_internal_triggers_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   444  			switch v := v.(*TriggerList); i {
   445  			case 0:
   446  				return &v.state
   447  			case 1:
   448  				return &v.sizeCache
   449  			case 2:
   450  				return &v.unknownFields
   451  			default:
   452  				return nil
   453  			}
   454  		}
   455  	}
   456  	file_go_chromium_org_luci_scheduler_appengine_internal_triggers_proto_msgTypes[0].OneofWrappers = []interface{}{
   457  		(*Trigger_Cron)(nil),
   458  		(*Trigger_Webui)(nil),
   459  		(*Trigger_Noop)(nil),
   460  		(*Trigger_Gitiles)(nil),
   461  		(*Trigger_Buildbucket)(nil),
   462  	}
   463  	type x struct{}
   464  	out := protoimpl.TypeBuilder{
   465  		File: protoimpl.DescBuilder{
   466  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   467  			RawDescriptor: file_go_chromium_org_luci_scheduler_appengine_internal_triggers_proto_rawDesc,
   468  			NumEnums:      0,
   469  			NumMessages:   2,
   470  			NumExtensions: 0,
   471  			NumServices:   0,
   472  		},
   473  		GoTypes:           file_go_chromium_org_luci_scheduler_appengine_internal_triggers_proto_goTypes,
   474  		DependencyIndexes: file_go_chromium_org_luci_scheduler_appengine_internal_triggers_proto_depIdxs,
   475  		MessageInfos:      file_go_chromium_org_luci_scheduler_appengine_internal_triggers_proto_msgTypes,
   476  	}.Build()
   477  	File_go_chromium_org_luci_scheduler_appengine_internal_triggers_proto = out.File
   478  	file_go_chromium_org_luci_scheduler_appengine_internal_triggers_proto_rawDesc = nil
   479  	file_go_chromium_org_luci_scheduler_appengine_internal_triggers_proto_goTypes = nil
   480  	file_go_chromium_org_luci_scheduler_appengine_internal_triggers_proto_depIdxs = nil
   481  }