go.chromium.org/luci@v0.0.0-20240309015107-7cdc2e660f33/cv/internal/run/eventpb/longop.pb.go (about)

     1  // Copyright 2021 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/cv/internal/run/eventpb/longop.proto
    20  
    21  package eventpb
    22  
    23  import (
    24  	tryjob "go.chromium.org/luci/cv/internal/tryjob"
    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  type LongOpCompleted_Status int32
    40  
    41  const (
    42  	LongOpCompleted_LONG_OP_STATUS_UNSPECIFIED LongOpCompleted_Status = 0
    43  	// SUCCEEDED means the long operation succeeded.
    44  	LongOpCompleted_SUCCEEDED LongOpCompleted_Status = 1
    45  	// FAILED means the long operation experienced a failure.
    46  	LongOpCompleted_FAILED LongOpCompleted_Status = 2
    47  	// Cancelled is true if the LongOp detected that it was cancelled by the Run
    48  	// Manager and thus stopped its working before completion.
    49  	LongOpCompleted_CANCELLED LongOpCompleted_Status = 3
    50  	// Expired means the long operation expired.
    51  	//
    52  	// If this is the case, the `result` field may be unset: this should be rare
    53  	// but may happen if Run Manager detects expiry before a LongOpCompleted
    54  	// event is sent by the long operation handling task.
    55  	LongOpCompleted_EXPIRED LongOpCompleted_Status = 4
    56  )
    57  
    58  // Enum value maps for LongOpCompleted_Status.
    59  var (
    60  	LongOpCompleted_Status_name = map[int32]string{
    61  		0: "LONG_OP_STATUS_UNSPECIFIED",
    62  		1: "SUCCEEDED",
    63  		2: "FAILED",
    64  		3: "CANCELLED",
    65  		4: "EXPIRED",
    66  	}
    67  	LongOpCompleted_Status_value = map[string]int32{
    68  		"LONG_OP_STATUS_UNSPECIFIED": 0,
    69  		"SUCCEEDED":                  1,
    70  		"FAILED":                     2,
    71  		"CANCELLED":                  3,
    72  		"EXPIRED":                    4,
    73  	}
    74  )
    75  
    76  func (x LongOpCompleted_Status) Enum() *LongOpCompleted_Status {
    77  	p := new(LongOpCompleted_Status)
    78  	*p = x
    79  	return p
    80  }
    81  
    82  func (x LongOpCompleted_Status) String() string {
    83  	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
    84  }
    85  
    86  func (LongOpCompleted_Status) Descriptor() protoreflect.EnumDescriptor {
    87  	return file_go_chromium_org_luci_cv_internal_run_eventpb_longop_proto_enumTypes[0].Descriptor()
    88  }
    89  
    90  func (LongOpCompleted_Status) Type() protoreflect.EnumType {
    91  	return &file_go_chromium_org_luci_cv_internal_run_eventpb_longop_proto_enumTypes[0]
    92  }
    93  
    94  func (x LongOpCompleted_Status) Number() protoreflect.EnumNumber {
    95  	return protoreflect.EnumNumber(x)
    96  }
    97  
    98  // Deprecated: Use LongOpCompleted_Status.Descriptor instead.
    99  func (LongOpCompleted_Status) EnumDescriptor() ([]byte, []int) {
   100  	return file_go_chromium_org_luci_cv_internal_run_eventpb_longop_proto_rawDescGZIP(), []int{0, 0}
   101  }
   102  
   103  type LongOpCompleted struct {
   104  	state         protoimpl.MessageState
   105  	sizeCache     protoimpl.SizeCache
   106  	unknownFields protoimpl.UnknownFields
   107  
   108  	// Long Operation ID.
   109  	OperationId string `protobuf:"bytes,1,opt,name=operation_id,json=operationId,proto3" json:"operation_id,omitempty"`
   110  	// Status of the long operation.
   111  	Status LongOpCompleted_Status `protobuf:"varint,2,opt,name=status,proto3,enum=cv.internal.run.eventpb.LongOpCompleted_Status" json:"status,omitempty"`
   112  	// Types that are assignable to Result:
   113  	//
   114  	//	*LongOpCompleted_PostStartMessage_
   115  	//	*LongOpCompleted_ResetTriggers_
   116  	//	*LongOpCompleted_ExecuteTryjobs
   117  	//	*LongOpCompleted_ExecutePostAction
   118  	//	*LongOpCompleted_PostGerritMessage_
   119  	Result isLongOpCompleted_Result `protobuf_oneof:"result"`
   120  }
   121  
   122  func (x *LongOpCompleted) Reset() {
   123  	*x = LongOpCompleted{}
   124  	if protoimpl.UnsafeEnabled {
   125  		mi := &file_go_chromium_org_luci_cv_internal_run_eventpb_longop_proto_msgTypes[0]
   126  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   127  		ms.StoreMessageInfo(mi)
   128  	}
   129  }
   130  
   131  func (x *LongOpCompleted) String() string {
   132  	return protoimpl.X.MessageStringOf(x)
   133  }
   134  
   135  func (*LongOpCompleted) ProtoMessage() {}
   136  
   137  func (x *LongOpCompleted) ProtoReflect() protoreflect.Message {
   138  	mi := &file_go_chromium_org_luci_cv_internal_run_eventpb_longop_proto_msgTypes[0]
   139  	if protoimpl.UnsafeEnabled && x != nil {
   140  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   141  		if ms.LoadMessageInfo() == nil {
   142  			ms.StoreMessageInfo(mi)
   143  		}
   144  		return ms
   145  	}
   146  	return mi.MessageOf(x)
   147  }
   148  
   149  // Deprecated: Use LongOpCompleted.ProtoReflect.Descriptor instead.
   150  func (*LongOpCompleted) Descriptor() ([]byte, []int) {
   151  	return file_go_chromium_org_luci_cv_internal_run_eventpb_longop_proto_rawDescGZIP(), []int{0}
   152  }
   153  
   154  func (x *LongOpCompleted) GetOperationId() string {
   155  	if x != nil {
   156  		return x.OperationId
   157  	}
   158  	return ""
   159  }
   160  
   161  func (x *LongOpCompleted) GetStatus() LongOpCompleted_Status {
   162  	if x != nil {
   163  		return x.Status
   164  	}
   165  	return LongOpCompleted_LONG_OP_STATUS_UNSPECIFIED
   166  }
   167  
   168  func (m *LongOpCompleted) GetResult() isLongOpCompleted_Result {
   169  	if m != nil {
   170  		return m.Result
   171  	}
   172  	return nil
   173  }
   174  
   175  func (x *LongOpCompleted) GetPostStartMessage() *LongOpCompleted_PostStartMessage {
   176  	if x, ok := x.GetResult().(*LongOpCompleted_PostStartMessage_); ok {
   177  		return x.PostStartMessage
   178  	}
   179  	return nil
   180  }
   181  
   182  func (x *LongOpCompleted) GetResetTriggers() *LongOpCompleted_ResetTriggers {
   183  	if x, ok := x.GetResult().(*LongOpCompleted_ResetTriggers_); ok {
   184  		return x.ResetTriggers
   185  	}
   186  	return nil
   187  }
   188  
   189  func (x *LongOpCompleted) GetExecuteTryjobs() *tryjob.ExecuteTryjobsResult {
   190  	if x, ok := x.GetResult().(*LongOpCompleted_ExecuteTryjobs); ok {
   191  		return x.ExecuteTryjobs
   192  	}
   193  	return nil
   194  }
   195  
   196  func (x *LongOpCompleted) GetExecutePostAction() *LongOpCompleted_ExecutePostActionResult {
   197  	if x, ok := x.GetResult().(*LongOpCompleted_ExecutePostAction); ok {
   198  		return x.ExecutePostAction
   199  	}
   200  	return nil
   201  }
   202  
   203  func (x *LongOpCompleted) GetPostGerritMessage() *LongOpCompleted_PostGerritMessage {
   204  	if x, ok := x.GetResult().(*LongOpCompleted_PostGerritMessage_); ok {
   205  		return x.PostGerritMessage
   206  	}
   207  	return nil
   208  }
   209  
   210  type isLongOpCompleted_Result interface {
   211  	isLongOpCompleted_Result()
   212  }
   213  
   214  type LongOpCompleted_PostStartMessage_ struct {
   215  	PostStartMessage *LongOpCompleted_PostStartMessage `protobuf:"bytes,3,opt,name=post_start_message,json=postStartMessage,proto3,oneof"`
   216  }
   217  
   218  type LongOpCompleted_ResetTriggers_ struct {
   219  	ResetTriggers *LongOpCompleted_ResetTriggers `protobuf:"bytes,6,opt,name=reset_triggers,json=resetTriggers,proto3,oneof"`
   220  }
   221  
   222  type LongOpCompleted_ExecuteTryjobs struct {
   223  	ExecuteTryjobs *tryjob.ExecuteTryjobsResult `protobuf:"bytes,5,opt,name=execute_tryjobs,json=executeTryjobs,proto3,oneof"`
   224  }
   225  
   226  type LongOpCompleted_ExecutePostAction struct {
   227  	ExecutePostAction *LongOpCompleted_ExecutePostActionResult `protobuf:"bytes,7,opt,name=execute_post_action,json=executePostAction,proto3,oneof"`
   228  }
   229  
   230  type LongOpCompleted_PostGerritMessage_ struct {
   231  	PostGerritMessage *LongOpCompleted_PostGerritMessage `protobuf:"bytes,8,opt,name=post_gerrit_message,json=postGerritMessage,proto3,oneof"`
   232  }
   233  
   234  func (*LongOpCompleted_PostStartMessage_) isLongOpCompleted_Result() {}
   235  
   236  func (*LongOpCompleted_ResetTriggers_) isLongOpCompleted_Result() {}
   237  
   238  func (*LongOpCompleted_ExecuteTryjobs) isLongOpCompleted_Result() {}
   239  
   240  func (*LongOpCompleted_ExecutePostAction) isLongOpCompleted_Result() {}
   241  
   242  func (*LongOpCompleted_PostGerritMessage_) isLongOpCompleted_Result() {}
   243  
   244  type LongOpCompleted_PostStartMessage struct {
   245  	state         protoimpl.MessageState
   246  	sizeCache     protoimpl.SizeCache
   247  	unknownFields protoimpl.UnknownFields
   248  
   249  	// Approximate time when CV became certain that the message was posted on
   250  	// the last CL.
   251  	Time *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=time,proto3" json:"time,omitempty"`
   252  }
   253  
   254  func (x *LongOpCompleted_PostStartMessage) Reset() {
   255  	*x = LongOpCompleted_PostStartMessage{}
   256  	if protoimpl.UnsafeEnabled {
   257  		mi := &file_go_chromium_org_luci_cv_internal_run_eventpb_longop_proto_msgTypes[1]
   258  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   259  		ms.StoreMessageInfo(mi)
   260  	}
   261  }
   262  
   263  func (x *LongOpCompleted_PostStartMessage) String() string {
   264  	return protoimpl.X.MessageStringOf(x)
   265  }
   266  
   267  func (*LongOpCompleted_PostStartMessage) ProtoMessage() {}
   268  
   269  func (x *LongOpCompleted_PostStartMessage) ProtoReflect() protoreflect.Message {
   270  	mi := &file_go_chromium_org_luci_cv_internal_run_eventpb_longop_proto_msgTypes[1]
   271  	if protoimpl.UnsafeEnabled && x != nil {
   272  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   273  		if ms.LoadMessageInfo() == nil {
   274  			ms.StoreMessageInfo(mi)
   275  		}
   276  		return ms
   277  	}
   278  	return mi.MessageOf(x)
   279  }
   280  
   281  // Deprecated: Use LongOpCompleted_PostStartMessage.ProtoReflect.Descriptor instead.
   282  func (*LongOpCompleted_PostStartMessage) Descriptor() ([]byte, []int) {
   283  	return file_go_chromium_org_luci_cv_internal_run_eventpb_longop_proto_rawDescGZIP(), []int{0, 0}
   284  }
   285  
   286  func (x *LongOpCompleted_PostStartMessage) GetTime() *timestamppb.Timestamp {
   287  	if x != nil {
   288  		return x.Time
   289  	}
   290  	return nil
   291  }
   292  
   293  type LongOpCompleted_PostGerritMessage struct {
   294  	state         protoimpl.MessageState
   295  	sizeCache     protoimpl.SizeCache
   296  	unknownFields protoimpl.UnknownFields
   297  
   298  	// Approximate time when CV became certain that the message was posted on
   299  	// the last CL.
   300  	Time *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=time,proto3" json:"time,omitempty"`
   301  }
   302  
   303  func (x *LongOpCompleted_PostGerritMessage) Reset() {
   304  	*x = LongOpCompleted_PostGerritMessage{}
   305  	if protoimpl.UnsafeEnabled {
   306  		mi := &file_go_chromium_org_luci_cv_internal_run_eventpb_longop_proto_msgTypes[2]
   307  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   308  		ms.StoreMessageInfo(mi)
   309  	}
   310  }
   311  
   312  func (x *LongOpCompleted_PostGerritMessage) String() string {
   313  	return protoimpl.X.MessageStringOf(x)
   314  }
   315  
   316  func (*LongOpCompleted_PostGerritMessage) ProtoMessage() {}
   317  
   318  func (x *LongOpCompleted_PostGerritMessage) ProtoReflect() protoreflect.Message {
   319  	mi := &file_go_chromium_org_luci_cv_internal_run_eventpb_longop_proto_msgTypes[2]
   320  	if protoimpl.UnsafeEnabled && x != nil {
   321  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   322  		if ms.LoadMessageInfo() == nil {
   323  			ms.StoreMessageInfo(mi)
   324  		}
   325  		return ms
   326  	}
   327  	return mi.MessageOf(x)
   328  }
   329  
   330  // Deprecated: Use LongOpCompleted_PostGerritMessage.ProtoReflect.Descriptor instead.
   331  func (*LongOpCompleted_PostGerritMessage) Descriptor() ([]byte, []int) {
   332  	return file_go_chromium_org_luci_cv_internal_run_eventpb_longop_proto_rawDescGZIP(), []int{0, 1}
   333  }
   334  
   335  func (x *LongOpCompleted_PostGerritMessage) GetTime() *timestamppb.Timestamp {
   336  	if x != nil {
   337  		return x.Time
   338  	}
   339  	return nil
   340  }
   341  
   342  type LongOpCompleted_ResetTriggers struct {
   343  	state         protoimpl.MessageState
   344  	sizeCache     protoimpl.SizeCache
   345  	unknownFields protoimpl.UnknownFields
   346  
   347  	// The top-level long ops status will be SUCCEEDED iff all triggers are
   348  	// reset successfully, in other word, all results have `reset_at` set.
   349  	Results []*LongOpCompleted_ResetTriggers_Result `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"`
   350  }
   351  
   352  func (x *LongOpCompleted_ResetTriggers) Reset() {
   353  	*x = LongOpCompleted_ResetTriggers{}
   354  	if protoimpl.UnsafeEnabled {
   355  		mi := &file_go_chromium_org_luci_cv_internal_run_eventpb_longop_proto_msgTypes[3]
   356  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   357  		ms.StoreMessageInfo(mi)
   358  	}
   359  }
   360  
   361  func (x *LongOpCompleted_ResetTriggers) String() string {
   362  	return protoimpl.X.MessageStringOf(x)
   363  }
   364  
   365  func (*LongOpCompleted_ResetTriggers) ProtoMessage() {}
   366  
   367  func (x *LongOpCompleted_ResetTriggers) ProtoReflect() protoreflect.Message {
   368  	mi := &file_go_chromium_org_luci_cv_internal_run_eventpb_longop_proto_msgTypes[3]
   369  	if protoimpl.UnsafeEnabled && x != nil {
   370  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   371  		if ms.LoadMessageInfo() == nil {
   372  			ms.StoreMessageInfo(mi)
   373  		}
   374  		return ms
   375  	}
   376  	return mi.MessageOf(x)
   377  }
   378  
   379  // Deprecated: Use LongOpCompleted_ResetTriggers.ProtoReflect.Descriptor instead.
   380  func (*LongOpCompleted_ResetTriggers) Descriptor() ([]byte, []int) {
   381  	return file_go_chromium_org_luci_cv_internal_run_eventpb_longop_proto_rawDescGZIP(), []int{0, 2}
   382  }
   383  
   384  func (x *LongOpCompleted_ResetTriggers) GetResults() []*LongOpCompleted_ResetTriggers_Result {
   385  	if x != nil {
   386  		return x.Results
   387  	}
   388  	return nil
   389  }
   390  
   391  type LongOpCompleted_ExecutePostActionResult struct {
   392  	state         protoimpl.MessageState
   393  	sizeCache     protoimpl.SizeCache
   394  	unknownFields protoimpl.UnknownFields
   395  
   396  	Summary string `protobuf:"bytes,1,opt,name=summary,proto3" json:"summary,omitempty"`
   397  }
   398  
   399  func (x *LongOpCompleted_ExecutePostActionResult) Reset() {
   400  	*x = LongOpCompleted_ExecutePostActionResult{}
   401  	if protoimpl.UnsafeEnabled {
   402  		mi := &file_go_chromium_org_luci_cv_internal_run_eventpb_longop_proto_msgTypes[4]
   403  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   404  		ms.StoreMessageInfo(mi)
   405  	}
   406  }
   407  
   408  func (x *LongOpCompleted_ExecutePostActionResult) String() string {
   409  	return protoimpl.X.MessageStringOf(x)
   410  }
   411  
   412  func (*LongOpCompleted_ExecutePostActionResult) ProtoMessage() {}
   413  
   414  func (x *LongOpCompleted_ExecutePostActionResult) ProtoReflect() protoreflect.Message {
   415  	mi := &file_go_chromium_org_luci_cv_internal_run_eventpb_longop_proto_msgTypes[4]
   416  	if protoimpl.UnsafeEnabled && x != nil {
   417  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   418  		if ms.LoadMessageInfo() == nil {
   419  			ms.StoreMessageInfo(mi)
   420  		}
   421  		return ms
   422  	}
   423  	return mi.MessageOf(x)
   424  }
   425  
   426  // Deprecated: Use LongOpCompleted_ExecutePostActionResult.ProtoReflect.Descriptor instead.
   427  func (*LongOpCompleted_ExecutePostActionResult) Descriptor() ([]byte, []int) {
   428  	return file_go_chromium_org_luci_cv_internal_run_eventpb_longop_proto_rawDescGZIP(), []int{0, 3}
   429  }
   430  
   431  func (x *LongOpCompleted_ExecutePostActionResult) GetSummary() string {
   432  	if x != nil {
   433  		return x.Summary
   434  	}
   435  	return ""
   436  }
   437  
   438  type LongOpCompleted_ResetTriggers_Result struct {
   439  	state         protoimpl.MessageState
   440  	sizeCache     protoimpl.SizeCache
   441  	unknownFields protoimpl.UnknownFields
   442  
   443  	// ID of the CL that this long op is trying to reset its trigger.
   444  	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
   445  	// The external id of the CL.
   446  	ExternalId string `protobuf:"bytes,2,opt,name=external_id,json=externalId,proto3" json:"external_id,omitempty"`
   447  	// Types that are assignable to Detail:
   448  	//
   449  	//	*LongOpCompleted_ResetTriggers_Result_SuccessInfo
   450  	//	*LongOpCompleted_ResetTriggers_Result_FailureInfo
   451  	Detail isLongOpCompleted_ResetTriggers_Result_Detail `protobuf_oneof:"detail"`
   452  }
   453  
   454  func (x *LongOpCompleted_ResetTriggers_Result) Reset() {
   455  	*x = LongOpCompleted_ResetTriggers_Result{}
   456  	if protoimpl.UnsafeEnabled {
   457  		mi := &file_go_chromium_org_luci_cv_internal_run_eventpb_longop_proto_msgTypes[5]
   458  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   459  		ms.StoreMessageInfo(mi)
   460  	}
   461  }
   462  
   463  func (x *LongOpCompleted_ResetTriggers_Result) String() string {
   464  	return protoimpl.X.MessageStringOf(x)
   465  }
   466  
   467  func (*LongOpCompleted_ResetTriggers_Result) ProtoMessage() {}
   468  
   469  func (x *LongOpCompleted_ResetTriggers_Result) ProtoReflect() protoreflect.Message {
   470  	mi := &file_go_chromium_org_luci_cv_internal_run_eventpb_longop_proto_msgTypes[5]
   471  	if protoimpl.UnsafeEnabled && x != nil {
   472  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   473  		if ms.LoadMessageInfo() == nil {
   474  			ms.StoreMessageInfo(mi)
   475  		}
   476  		return ms
   477  	}
   478  	return mi.MessageOf(x)
   479  }
   480  
   481  // Deprecated: Use LongOpCompleted_ResetTriggers_Result.ProtoReflect.Descriptor instead.
   482  func (*LongOpCompleted_ResetTriggers_Result) Descriptor() ([]byte, []int) {
   483  	return file_go_chromium_org_luci_cv_internal_run_eventpb_longop_proto_rawDescGZIP(), []int{0, 2, 0}
   484  }
   485  
   486  func (x *LongOpCompleted_ResetTriggers_Result) GetId() int64 {
   487  	if x != nil {
   488  		return x.Id
   489  	}
   490  	return 0
   491  }
   492  
   493  func (x *LongOpCompleted_ResetTriggers_Result) GetExternalId() string {
   494  	if x != nil {
   495  		return x.ExternalId
   496  	}
   497  	return ""
   498  }
   499  
   500  func (m *LongOpCompleted_ResetTriggers_Result) GetDetail() isLongOpCompleted_ResetTriggers_Result_Detail {
   501  	if m != nil {
   502  		return m.Detail
   503  	}
   504  	return nil
   505  }
   506  
   507  func (x *LongOpCompleted_ResetTriggers_Result) GetSuccessInfo() *LongOpCompleted_ResetTriggers_Result_Success {
   508  	if x, ok := x.GetDetail().(*LongOpCompleted_ResetTriggers_Result_SuccessInfo); ok {
   509  		return x.SuccessInfo
   510  	}
   511  	return nil
   512  }
   513  
   514  func (x *LongOpCompleted_ResetTriggers_Result) GetFailureInfo() *LongOpCompleted_ResetTriggers_Result_Failure {
   515  	if x, ok := x.GetDetail().(*LongOpCompleted_ResetTriggers_Result_FailureInfo); ok {
   516  		return x.FailureInfo
   517  	}
   518  	return nil
   519  }
   520  
   521  type isLongOpCompleted_ResetTriggers_Result_Detail interface {
   522  	isLongOpCompleted_ResetTriggers_Result_Detail()
   523  }
   524  
   525  type LongOpCompleted_ResetTriggers_Result_SuccessInfo struct {
   526  	SuccessInfo *LongOpCompleted_ResetTriggers_Result_Success `protobuf:"bytes,3,opt,name=success_info,json=successInfo,proto3,oneof"`
   527  }
   528  
   529  type LongOpCompleted_ResetTriggers_Result_FailureInfo struct {
   530  	FailureInfo *LongOpCompleted_ResetTriggers_Result_Failure `protobuf:"bytes,4,opt,name=failure_info,json=failureInfo,proto3,oneof"`
   531  }
   532  
   533  func (*LongOpCompleted_ResetTriggers_Result_SuccessInfo) isLongOpCompleted_ResetTriggers_Result_Detail() {
   534  }
   535  
   536  func (*LongOpCompleted_ResetTriggers_Result_FailureInfo) isLongOpCompleted_ResetTriggers_Result_Detail() {
   537  }
   538  
   539  type LongOpCompleted_ResetTriggers_Result_Success struct {
   540  	state         protoimpl.MessageState
   541  	sizeCache     protoimpl.SizeCache
   542  	unknownFields protoimpl.UnknownFields
   543  
   544  	// The timestamp when trigger is successfully reset from LUCI CV
   545  	// PoV.
   546  	//
   547  	// It is possible by the time LUCI CV is trying to reset the trigger,
   548  	// it has already been removed by the user. Therefore, this timestamp
   549  	// is the time when LUCI CV observes that trigger is removed.
   550  	ResetAt *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=reset_at,json=resetAt,proto3" json:"reset_at,omitempty"`
   551  }
   552  
   553  func (x *LongOpCompleted_ResetTriggers_Result_Success) Reset() {
   554  	*x = LongOpCompleted_ResetTriggers_Result_Success{}
   555  	if protoimpl.UnsafeEnabled {
   556  		mi := &file_go_chromium_org_luci_cv_internal_run_eventpb_longop_proto_msgTypes[6]
   557  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   558  		ms.StoreMessageInfo(mi)
   559  	}
   560  }
   561  
   562  func (x *LongOpCompleted_ResetTriggers_Result_Success) String() string {
   563  	return protoimpl.X.MessageStringOf(x)
   564  }
   565  
   566  func (*LongOpCompleted_ResetTriggers_Result_Success) ProtoMessage() {}
   567  
   568  func (x *LongOpCompleted_ResetTriggers_Result_Success) ProtoReflect() protoreflect.Message {
   569  	mi := &file_go_chromium_org_luci_cv_internal_run_eventpb_longop_proto_msgTypes[6]
   570  	if protoimpl.UnsafeEnabled && x != nil {
   571  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   572  		if ms.LoadMessageInfo() == nil {
   573  			ms.StoreMessageInfo(mi)
   574  		}
   575  		return ms
   576  	}
   577  	return mi.MessageOf(x)
   578  }
   579  
   580  // Deprecated: Use LongOpCompleted_ResetTriggers_Result_Success.ProtoReflect.Descriptor instead.
   581  func (*LongOpCompleted_ResetTriggers_Result_Success) Descriptor() ([]byte, []int) {
   582  	return file_go_chromium_org_luci_cv_internal_run_eventpb_longop_proto_rawDescGZIP(), []int{0, 2, 0, 0}
   583  }
   584  
   585  func (x *LongOpCompleted_ResetTriggers_Result_Success) GetResetAt() *timestamppb.Timestamp {
   586  	if x != nil {
   587  		return x.ResetAt
   588  	}
   589  	return nil
   590  }
   591  
   592  type LongOpCompleted_ResetTriggers_Result_Failure struct {
   593  	state         protoimpl.MessageState
   594  	sizeCache     protoimpl.SizeCache
   595  	unknownFields protoimpl.UnknownFields
   596  
   597  	// The message when CV failed to reset the trigger.
   598  	FailureMessage string `protobuf:"bytes,1,opt,name=failure_message,json=failureMessage,proto3" json:"failure_message,omitempty"`
   599  }
   600  
   601  func (x *LongOpCompleted_ResetTriggers_Result_Failure) Reset() {
   602  	*x = LongOpCompleted_ResetTriggers_Result_Failure{}
   603  	if protoimpl.UnsafeEnabled {
   604  		mi := &file_go_chromium_org_luci_cv_internal_run_eventpb_longop_proto_msgTypes[7]
   605  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   606  		ms.StoreMessageInfo(mi)
   607  	}
   608  }
   609  
   610  func (x *LongOpCompleted_ResetTriggers_Result_Failure) String() string {
   611  	return protoimpl.X.MessageStringOf(x)
   612  }
   613  
   614  func (*LongOpCompleted_ResetTriggers_Result_Failure) ProtoMessage() {}
   615  
   616  func (x *LongOpCompleted_ResetTriggers_Result_Failure) ProtoReflect() protoreflect.Message {
   617  	mi := &file_go_chromium_org_luci_cv_internal_run_eventpb_longop_proto_msgTypes[7]
   618  	if protoimpl.UnsafeEnabled && x != nil {
   619  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   620  		if ms.LoadMessageInfo() == nil {
   621  			ms.StoreMessageInfo(mi)
   622  		}
   623  		return ms
   624  	}
   625  	return mi.MessageOf(x)
   626  }
   627  
   628  // Deprecated: Use LongOpCompleted_ResetTriggers_Result_Failure.ProtoReflect.Descriptor instead.
   629  func (*LongOpCompleted_ResetTriggers_Result_Failure) Descriptor() ([]byte, []int) {
   630  	return file_go_chromium_org_luci_cv_internal_run_eventpb_longop_proto_rawDescGZIP(), []int{0, 2, 0, 1}
   631  }
   632  
   633  func (x *LongOpCompleted_ResetTriggers_Result_Failure) GetFailureMessage() string {
   634  	if x != nil {
   635  		return x.FailureMessage
   636  	}
   637  	return ""
   638  }
   639  
   640  var File_go_chromium_org_luci_cv_internal_run_eventpb_longop_proto protoreflect.FileDescriptor
   641  
   642  var file_go_chromium_org_luci_cv_internal_run_eventpb_longop_proto_rawDesc = []byte{
   643  	0x0a, 0x39, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72,
   644  	0x67, 0x2f, 0x6c, 0x75, 0x63, 0x69, 0x2f, 0x63, 0x76, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e,
   645  	0x61, 0x6c, 0x2f, 0x72, 0x75, 0x6e, 0x2f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x70, 0x62, 0x2f, 0x6c,
   646  	0x6f, 0x6e, 0x67, 0x6f, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x17, 0x63, 0x76, 0x2e,
   647  	0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x72, 0x75, 0x6e, 0x2e, 0x65, 0x76, 0x65,
   648  	0x6e, 0x74, 0x70, 0x62, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f,
   649  	0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e,
   650  	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x32, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69,
   651  	0x75, 0x6d, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x6c, 0x75, 0x63, 0x69, 0x2f, 0x63, 0x76, 0x2f, 0x69,
   652  	0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x72, 0x79, 0x6a, 0x6f, 0x62, 0x2f, 0x74,
   653  	0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xd4, 0x0b, 0x0a, 0x0f, 0x4c, 0x6f,
   654  	0x6e, 0x67, 0x4f, 0x70, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x12, 0x21, 0x0a,
   655  	0x0c, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20,
   656  	0x01, 0x28, 0x09, 0x52, 0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64,
   657  	0x12, 0x47, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e,
   658  	0x32, 0x2f, 0x2e, 0x63, 0x76, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x72,
   659  	0x75, 0x6e, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x70, 0x62, 0x2e, 0x4c, 0x6f, 0x6e, 0x67, 0x4f,
   660  	0x70, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75,
   661  	0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x69, 0x0a, 0x12, 0x70, 0x6f, 0x73,
   662  	0x74, 0x5f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18,
   663  	0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x63, 0x76, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72,
   664  	0x6e, 0x61, 0x6c, 0x2e, 0x72, 0x75, 0x6e, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x70, 0x62, 0x2e,
   665  	0x4c, 0x6f, 0x6e, 0x67, 0x4f, 0x70, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x2e,
   666  	0x50, 0x6f, 0x73, 0x74, 0x53, 0x74, 0x61, 0x72, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
   667  	0x48, 0x00, 0x52, 0x10, 0x70, 0x6f, 0x73, 0x74, 0x53, 0x74, 0x61, 0x72, 0x74, 0x4d, 0x65, 0x73,
   668  	0x73, 0x61, 0x67, 0x65, 0x12, 0x5f, 0x0a, 0x0e, 0x72, 0x65, 0x73, 0x65, 0x74, 0x5f, 0x74, 0x72,
   669  	0x69, 0x67, 0x67, 0x65, 0x72, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x63,
   670  	0x76, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x72, 0x75, 0x6e, 0x2e, 0x65,
   671  	0x76, 0x65, 0x6e, 0x74, 0x70, 0x62, 0x2e, 0x4c, 0x6f, 0x6e, 0x67, 0x4f, 0x70, 0x43, 0x6f, 0x6d,
   672  	0x70, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x2e, 0x52, 0x65, 0x73, 0x65, 0x74, 0x54, 0x72, 0x69, 0x67,
   673  	0x67, 0x65, 0x72, 0x73, 0x48, 0x00, 0x52, 0x0d, 0x72, 0x65, 0x73, 0x65, 0x74, 0x54, 0x72, 0x69,
   674  	0x67, 0x67, 0x65, 0x72, 0x73, 0x12, 0x53, 0x0a, 0x0f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65,
   675  	0x5f, 0x74, 0x72, 0x79, 0x6a, 0x6f, 0x62, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28,
   676  	0x2e, 0x63, 0x76, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x74, 0x72, 0x79,
   677  	0x6a, 0x6f, 0x62, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x54, 0x72, 0x79, 0x6a, 0x6f,
   678  	0x62, 0x73, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x48, 0x00, 0x52, 0x0e, 0x65, 0x78, 0x65, 0x63,
   679  	0x75, 0x74, 0x65, 0x54, 0x72, 0x79, 0x6a, 0x6f, 0x62, 0x73, 0x12, 0x72, 0x0a, 0x13, 0x65, 0x78,
   680  	0x65, 0x63, 0x75, 0x74, 0x65, 0x5f, 0x70, 0x6f, 0x73, 0x74, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x6f,
   681  	0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x40, 0x2e, 0x63, 0x76, 0x2e, 0x69, 0x6e, 0x74,
   682  	0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x72, 0x75, 0x6e, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x70,
   683  	0x62, 0x2e, 0x4c, 0x6f, 0x6e, 0x67, 0x4f, 0x70, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65,
   684  	0x64, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x50, 0x6f, 0x73, 0x74, 0x41, 0x63, 0x74,
   685  	0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x48, 0x00, 0x52, 0x11, 0x65, 0x78, 0x65,
   686  	0x63, 0x75, 0x74, 0x65, 0x50, 0x6f, 0x73, 0x74, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x6c,
   687  	0x0a, 0x13, 0x70, 0x6f, 0x73, 0x74, 0x5f, 0x67, 0x65, 0x72, 0x72, 0x69, 0x74, 0x5f, 0x6d, 0x65,
   688  	0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x63, 0x76,
   689  	0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x72, 0x75, 0x6e, 0x2e, 0x65, 0x76,
   690  	0x65, 0x6e, 0x74, 0x70, 0x62, 0x2e, 0x4c, 0x6f, 0x6e, 0x67, 0x4f, 0x70, 0x43, 0x6f, 0x6d, 0x70,
   691  	0x6c, 0x65, 0x74, 0x65, 0x64, 0x2e, 0x50, 0x6f, 0x73, 0x74, 0x47, 0x65, 0x72, 0x72, 0x69, 0x74,
   692  	0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x48, 0x00, 0x52, 0x11, 0x70, 0x6f, 0x73, 0x74, 0x47,
   693  	0x65, 0x72, 0x72, 0x69, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x68, 0x0a, 0x10,
   694  	0x50, 0x6f, 0x73, 0x74, 0x53, 0x74, 0x61, 0x72, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
   695  	0x12, 0x2e, 0x0a, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a,
   696  	0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
   697  	0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65,
   698  	0x4a, 0x04, 0x08, 0x01, 0x10, 0x02, 0x4a, 0x04, 0x08, 0x02, 0x10, 0x03, 0x52, 0x06, 0x70, 0x6f,
   699  	0x73, 0x74, 0x65, 0x64, 0x52, 0x10, 0x70, 0x65, 0x72, 0x6d, 0x61, 0x6e, 0x65, 0x6e, 0x74, 0x5f,
   700  	0x65, 0x72, 0x72, 0x6f, 0x72, 0x73, 0x1a, 0x43, 0x0a, 0x11, 0x50, 0x6f, 0x73, 0x74, 0x47, 0x65,
   701  	0x72, 0x72, 0x69, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x2e, 0x0a, 0x04, 0x74,
   702  	0x69, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
   703  	0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65,
   704  	0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x1a, 0xfc, 0x03, 0x0a, 0x0d,
   705  	0x52, 0x65, 0x73, 0x65, 0x74, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x73, 0x12, 0x57, 0x0a,
   706  	0x07, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3d,
   707  	0x2e, 0x63, 0x76, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x72, 0x75, 0x6e,
   708  	0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x70, 0x62, 0x2e, 0x4c, 0x6f, 0x6e, 0x67, 0x4f, 0x70, 0x43,
   709  	0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x2e, 0x52, 0x65, 0x73, 0x65, 0x74, 0x54, 0x72,
   710  	0x69, 0x67, 0x67, 0x65, 0x72, 0x73, 0x2e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x07, 0x72,
   711  	0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x1a, 0x91, 0x03, 0x0a, 0x06, 0x52, 0x65, 0x73, 0x75, 0x6c,
   712  	0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69,
   713  	0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x69, 0x64,
   714  	0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c,
   715  	0x49, 0x64, 0x12, 0x6a, 0x0a, 0x0c, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x69, 0x6e,
   716  	0x66, 0x6f, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x45, 0x2e, 0x63, 0x76, 0x2e, 0x69, 0x6e,
   717  	0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x72, 0x75, 0x6e, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74,
   718  	0x70, 0x62, 0x2e, 0x4c, 0x6f, 0x6e, 0x67, 0x4f, 0x70, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74,
   719  	0x65, 0x64, 0x2e, 0x52, 0x65, 0x73, 0x65, 0x74, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x73,
   720  	0x2e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x2e, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x48,
   721  	0x00, 0x52, 0x0b, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x6a,
   722  	0x0a, 0x0c, 0x66, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x04,
   723  	0x20, 0x01, 0x28, 0x0b, 0x32, 0x45, 0x2e, 0x63, 0x76, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e,
   724  	0x61, 0x6c, 0x2e, 0x72, 0x75, 0x6e, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x70, 0x62, 0x2e, 0x4c,
   725  	0x6f, 0x6e, 0x67, 0x4f, 0x70, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x2e, 0x52,
   726  	0x65, 0x73, 0x65, 0x74, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x73, 0x2e, 0x52, 0x65, 0x73,
   727  	0x75, 0x6c, 0x74, 0x2e, 0x46, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x48, 0x00, 0x52, 0x0b, 0x66,
   728  	0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x1a, 0x40, 0x0a, 0x07, 0x53, 0x75,
   729  	0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x35, 0x0a, 0x08, 0x72, 0x65, 0x73, 0x65, 0x74, 0x5f, 0x61,
   730  	0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
   731  	0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74,
   732  	0x61, 0x6d, 0x70, 0x52, 0x07, 0x72, 0x65, 0x73, 0x65, 0x74, 0x41, 0x74, 0x1a, 0x32, 0x0a, 0x07,
   733  	0x46, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x66, 0x61, 0x69, 0x6c, 0x75,
   734  	0x72, 0x65, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
   735  	0x52, 0x0e, 0x66, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
   736  	0x42, 0x08, 0x0a, 0x06, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x1a, 0x33, 0x0a, 0x17, 0x45, 0x78,
   737  	0x65, 0x63, 0x75, 0x74, 0x65, 0x50, 0x6f, 0x73, 0x74, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52,
   738  	0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79,
   739  	0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x22,
   740  	0x5f, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1e, 0x0a, 0x1a, 0x4c, 0x4f, 0x4e,
   741  	0x47, 0x5f, 0x4f, 0x50, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x55, 0x4e, 0x53, 0x50,
   742  	0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x53, 0x55, 0x43,
   743  	0x43, 0x45, 0x45, 0x44, 0x45, 0x44, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x46, 0x41, 0x49, 0x4c,
   744  	0x45, 0x44, 0x10, 0x02, 0x12, 0x0d, 0x0a, 0x09, 0x43, 0x41, 0x4e, 0x43, 0x45, 0x4c, 0x4c, 0x45,
   745  	0x44, 0x10, 0x03, 0x12, 0x0b, 0x0a, 0x07, 0x45, 0x58, 0x50, 0x49, 0x52, 0x45, 0x44, 0x10, 0x04,
   746  	0x42, 0x08, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x4a, 0x04, 0x08, 0x04, 0x10, 0x05,
   747  	0x42, 0x36, 0x5a, 0x34, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e,
   748  	0x6f, 0x72, 0x67, 0x2f, 0x6c, 0x75, 0x63, 0x69, 0x2f, 0x63, 0x76, 0x2f, 0x69, 0x6e, 0x74, 0x65,
   749  	0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x72, 0x75, 0x6e, 0x2f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x70, 0x62,
   750  	0x3b, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   751  }
   752  
   753  var (
   754  	file_go_chromium_org_luci_cv_internal_run_eventpb_longop_proto_rawDescOnce sync.Once
   755  	file_go_chromium_org_luci_cv_internal_run_eventpb_longop_proto_rawDescData = file_go_chromium_org_luci_cv_internal_run_eventpb_longop_proto_rawDesc
   756  )
   757  
   758  func file_go_chromium_org_luci_cv_internal_run_eventpb_longop_proto_rawDescGZIP() []byte {
   759  	file_go_chromium_org_luci_cv_internal_run_eventpb_longop_proto_rawDescOnce.Do(func() {
   760  		file_go_chromium_org_luci_cv_internal_run_eventpb_longop_proto_rawDescData = protoimpl.X.CompressGZIP(file_go_chromium_org_luci_cv_internal_run_eventpb_longop_proto_rawDescData)
   761  	})
   762  	return file_go_chromium_org_luci_cv_internal_run_eventpb_longop_proto_rawDescData
   763  }
   764  
   765  var file_go_chromium_org_luci_cv_internal_run_eventpb_longop_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
   766  var file_go_chromium_org_luci_cv_internal_run_eventpb_longop_proto_msgTypes = make([]protoimpl.MessageInfo, 8)
   767  var file_go_chromium_org_luci_cv_internal_run_eventpb_longop_proto_goTypes = []interface{}{
   768  	(LongOpCompleted_Status)(0),                          // 0: cv.internal.run.eventpb.LongOpCompleted.Status
   769  	(*LongOpCompleted)(nil),                              // 1: cv.internal.run.eventpb.LongOpCompleted
   770  	(*LongOpCompleted_PostStartMessage)(nil),             // 2: cv.internal.run.eventpb.LongOpCompleted.PostStartMessage
   771  	(*LongOpCompleted_PostGerritMessage)(nil),            // 3: cv.internal.run.eventpb.LongOpCompleted.PostGerritMessage
   772  	(*LongOpCompleted_ResetTriggers)(nil),                // 4: cv.internal.run.eventpb.LongOpCompleted.ResetTriggers
   773  	(*LongOpCompleted_ExecutePostActionResult)(nil),      // 5: cv.internal.run.eventpb.LongOpCompleted.ExecutePostActionResult
   774  	(*LongOpCompleted_ResetTriggers_Result)(nil),         // 6: cv.internal.run.eventpb.LongOpCompleted.ResetTriggers.Result
   775  	(*LongOpCompleted_ResetTriggers_Result_Success)(nil), // 7: cv.internal.run.eventpb.LongOpCompleted.ResetTriggers.Result.Success
   776  	(*LongOpCompleted_ResetTriggers_Result_Failure)(nil), // 8: cv.internal.run.eventpb.LongOpCompleted.ResetTriggers.Result.Failure
   777  	(*tryjob.ExecuteTryjobsResult)(nil),                  // 9: cv.internal.tryjob.ExecuteTryjobsResult
   778  	(*timestamppb.Timestamp)(nil),                        // 10: google.protobuf.Timestamp
   779  }
   780  var file_go_chromium_org_luci_cv_internal_run_eventpb_longop_proto_depIdxs = []int32{
   781  	0,  // 0: cv.internal.run.eventpb.LongOpCompleted.status:type_name -> cv.internal.run.eventpb.LongOpCompleted.Status
   782  	2,  // 1: cv.internal.run.eventpb.LongOpCompleted.post_start_message:type_name -> cv.internal.run.eventpb.LongOpCompleted.PostStartMessage
   783  	4,  // 2: cv.internal.run.eventpb.LongOpCompleted.reset_triggers:type_name -> cv.internal.run.eventpb.LongOpCompleted.ResetTriggers
   784  	9,  // 3: cv.internal.run.eventpb.LongOpCompleted.execute_tryjobs:type_name -> cv.internal.tryjob.ExecuteTryjobsResult
   785  	5,  // 4: cv.internal.run.eventpb.LongOpCompleted.execute_post_action:type_name -> cv.internal.run.eventpb.LongOpCompleted.ExecutePostActionResult
   786  	3,  // 5: cv.internal.run.eventpb.LongOpCompleted.post_gerrit_message:type_name -> cv.internal.run.eventpb.LongOpCompleted.PostGerritMessage
   787  	10, // 6: cv.internal.run.eventpb.LongOpCompleted.PostStartMessage.time:type_name -> google.protobuf.Timestamp
   788  	10, // 7: cv.internal.run.eventpb.LongOpCompleted.PostGerritMessage.time:type_name -> google.protobuf.Timestamp
   789  	6,  // 8: cv.internal.run.eventpb.LongOpCompleted.ResetTriggers.results:type_name -> cv.internal.run.eventpb.LongOpCompleted.ResetTriggers.Result
   790  	7,  // 9: cv.internal.run.eventpb.LongOpCompleted.ResetTriggers.Result.success_info:type_name -> cv.internal.run.eventpb.LongOpCompleted.ResetTriggers.Result.Success
   791  	8,  // 10: cv.internal.run.eventpb.LongOpCompleted.ResetTriggers.Result.failure_info:type_name -> cv.internal.run.eventpb.LongOpCompleted.ResetTriggers.Result.Failure
   792  	10, // 11: cv.internal.run.eventpb.LongOpCompleted.ResetTriggers.Result.Success.reset_at:type_name -> google.protobuf.Timestamp
   793  	12, // [12:12] is the sub-list for method output_type
   794  	12, // [12:12] is the sub-list for method input_type
   795  	12, // [12:12] is the sub-list for extension type_name
   796  	12, // [12:12] is the sub-list for extension extendee
   797  	0,  // [0:12] is the sub-list for field type_name
   798  }
   799  
   800  func init() { file_go_chromium_org_luci_cv_internal_run_eventpb_longop_proto_init() }
   801  func file_go_chromium_org_luci_cv_internal_run_eventpb_longop_proto_init() {
   802  	if File_go_chromium_org_luci_cv_internal_run_eventpb_longop_proto != nil {
   803  		return
   804  	}
   805  	if !protoimpl.UnsafeEnabled {
   806  		file_go_chromium_org_luci_cv_internal_run_eventpb_longop_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   807  			switch v := v.(*LongOpCompleted); i {
   808  			case 0:
   809  				return &v.state
   810  			case 1:
   811  				return &v.sizeCache
   812  			case 2:
   813  				return &v.unknownFields
   814  			default:
   815  				return nil
   816  			}
   817  		}
   818  		file_go_chromium_org_luci_cv_internal_run_eventpb_longop_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   819  			switch v := v.(*LongOpCompleted_PostStartMessage); i {
   820  			case 0:
   821  				return &v.state
   822  			case 1:
   823  				return &v.sizeCache
   824  			case 2:
   825  				return &v.unknownFields
   826  			default:
   827  				return nil
   828  			}
   829  		}
   830  		file_go_chromium_org_luci_cv_internal_run_eventpb_longop_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
   831  			switch v := v.(*LongOpCompleted_PostGerritMessage); i {
   832  			case 0:
   833  				return &v.state
   834  			case 1:
   835  				return &v.sizeCache
   836  			case 2:
   837  				return &v.unknownFields
   838  			default:
   839  				return nil
   840  			}
   841  		}
   842  		file_go_chromium_org_luci_cv_internal_run_eventpb_longop_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
   843  			switch v := v.(*LongOpCompleted_ResetTriggers); i {
   844  			case 0:
   845  				return &v.state
   846  			case 1:
   847  				return &v.sizeCache
   848  			case 2:
   849  				return &v.unknownFields
   850  			default:
   851  				return nil
   852  			}
   853  		}
   854  		file_go_chromium_org_luci_cv_internal_run_eventpb_longop_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
   855  			switch v := v.(*LongOpCompleted_ExecutePostActionResult); i {
   856  			case 0:
   857  				return &v.state
   858  			case 1:
   859  				return &v.sizeCache
   860  			case 2:
   861  				return &v.unknownFields
   862  			default:
   863  				return nil
   864  			}
   865  		}
   866  		file_go_chromium_org_luci_cv_internal_run_eventpb_longop_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
   867  			switch v := v.(*LongOpCompleted_ResetTriggers_Result); i {
   868  			case 0:
   869  				return &v.state
   870  			case 1:
   871  				return &v.sizeCache
   872  			case 2:
   873  				return &v.unknownFields
   874  			default:
   875  				return nil
   876  			}
   877  		}
   878  		file_go_chromium_org_luci_cv_internal_run_eventpb_longop_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
   879  			switch v := v.(*LongOpCompleted_ResetTriggers_Result_Success); i {
   880  			case 0:
   881  				return &v.state
   882  			case 1:
   883  				return &v.sizeCache
   884  			case 2:
   885  				return &v.unknownFields
   886  			default:
   887  				return nil
   888  			}
   889  		}
   890  		file_go_chromium_org_luci_cv_internal_run_eventpb_longop_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
   891  			switch v := v.(*LongOpCompleted_ResetTriggers_Result_Failure); i {
   892  			case 0:
   893  				return &v.state
   894  			case 1:
   895  				return &v.sizeCache
   896  			case 2:
   897  				return &v.unknownFields
   898  			default:
   899  				return nil
   900  			}
   901  		}
   902  	}
   903  	file_go_chromium_org_luci_cv_internal_run_eventpb_longop_proto_msgTypes[0].OneofWrappers = []interface{}{
   904  		(*LongOpCompleted_PostStartMessage_)(nil),
   905  		(*LongOpCompleted_ResetTriggers_)(nil),
   906  		(*LongOpCompleted_ExecuteTryjobs)(nil),
   907  		(*LongOpCompleted_ExecutePostAction)(nil),
   908  		(*LongOpCompleted_PostGerritMessage_)(nil),
   909  	}
   910  	file_go_chromium_org_luci_cv_internal_run_eventpb_longop_proto_msgTypes[5].OneofWrappers = []interface{}{
   911  		(*LongOpCompleted_ResetTriggers_Result_SuccessInfo)(nil),
   912  		(*LongOpCompleted_ResetTriggers_Result_FailureInfo)(nil),
   913  	}
   914  	type x struct{}
   915  	out := protoimpl.TypeBuilder{
   916  		File: protoimpl.DescBuilder{
   917  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   918  			RawDescriptor: file_go_chromium_org_luci_cv_internal_run_eventpb_longop_proto_rawDesc,
   919  			NumEnums:      1,
   920  			NumMessages:   8,
   921  			NumExtensions: 0,
   922  			NumServices:   0,
   923  		},
   924  		GoTypes:           file_go_chromium_org_luci_cv_internal_run_eventpb_longop_proto_goTypes,
   925  		DependencyIndexes: file_go_chromium_org_luci_cv_internal_run_eventpb_longop_proto_depIdxs,
   926  		EnumInfos:         file_go_chromium_org_luci_cv_internal_run_eventpb_longop_proto_enumTypes,
   927  		MessageInfos:      file_go_chromium_org_luci_cv_internal_run_eventpb_longop_proto_msgTypes,
   928  	}.Build()
   929  	File_go_chromium_org_luci_cv_internal_run_eventpb_longop_proto = out.File
   930  	file_go_chromium_org_luci_cv_internal_run_eventpb_longop_proto_rawDesc = nil
   931  	file_go_chromium_org_luci_cv_internal_run_eventpb_longop_proto_goTypes = nil
   932  	file_go_chromium_org_luci_cv_internal_run_eventpb_longop_proto_depIdxs = nil
   933  }