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

     1  // Code generated by protoc-gen-validate. DO NOT EDIT.
     2  // source: go.chromium.org/luci/cv/internal/run/eventpb/longop.proto
     3  
     4  package eventpb
     5  
     6  import (
     7  	"bytes"
     8  	"errors"
     9  	"fmt"
    10  	"net"
    11  	"net/mail"
    12  	"net/url"
    13  	"regexp"
    14  	"sort"
    15  	"strings"
    16  	"time"
    17  	"unicode/utf8"
    18  
    19  	"google.golang.org/protobuf/types/known/anypb"
    20  )
    21  
    22  // ensure the imports are used
    23  var (
    24  	_ = bytes.MinRead
    25  	_ = errors.New("")
    26  	_ = fmt.Print
    27  	_ = utf8.UTFMax
    28  	_ = (*regexp.Regexp)(nil)
    29  	_ = (*strings.Reader)(nil)
    30  	_ = net.IPv4len
    31  	_ = time.Duration(0)
    32  	_ = (*url.URL)(nil)
    33  	_ = (*mail.Address)(nil)
    34  	_ = anypb.Any{}
    35  	_ = sort.Sort
    36  )
    37  
    38  // Validate checks the field values on LongOpCompleted with the rules defined
    39  // in the proto definition for this message. If any rules are violated, the
    40  // first error encountered is returned, or nil if there are no violations.
    41  func (m *LongOpCompleted) Validate() error {
    42  	return m.validate(false)
    43  }
    44  
    45  // ValidateAll checks the field values on LongOpCompleted with the rules
    46  // defined in the proto definition for this message. If any rules are
    47  // violated, the result is a list of violation errors wrapped in
    48  // LongOpCompletedMultiError, or nil if none found.
    49  func (m *LongOpCompleted) ValidateAll() error {
    50  	return m.validate(true)
    51  }
    52  
    53  func (m *LongOpCompleted) validate(all bool) error {
    54  	if m == nil {
    55  		return nil
    56  	}
    57  
    58  	var errors []error
    59  
    60  	// no validation rules for OperationId
    61  
    62  	// no validation rules for Status
    63  
    64  	switch v := m.Result.(type) {
    65  	case *LongOpCompleted_PostStartMessage_:
    66  		if v == nil {
    67  			err := LongOpCompletedValidationError{
    68  				field:  "Result",
    69  				reason: "oneof value cannot be a typed-nil",
    70  			}
    71  			if !all {
    72  				return err
    73  			}
    74  			errors = append(errors, err)
    75  		}
    76  
    77  		if all {
    78  			switch v := interface{}(m.GetPostStartMessage()).(type) {
    79  			case interface{ ValidateAll() error }:
    80  				if err := v.ValidateAll(); err != nil {
    81  					errors = append(errors, LongOpCompletedValidationError{
    82  						field:  "PostStartMessage",
    83  						reason: "embedded message failed validation",
    84  						cause:  err,
    85  					})
    86  				}
    87  			case interface{ Validate() error }:
    88  				if err := v.Validate(); err != nil {
    89  					errors = append(errors, LongOpCompletedValidationError{
    90  						field:  "PostStartMessage",
    91  						reason: "embedded message failed validation",
    92  						cause:  err,
    93  					})
    94  				}
    95  			}
    96  		} else if v, ok := interface{}(m.GetPostStartMessage()).(interface{ Validate() error }); ok {
    97  			if err := v.Validate(); err != nil {
    98  				return LongOpCompletedValidationError{
    99  					field:  "PostStartMessage",
   100  					reason: "embedded message failed validation",
   101  					cause:  err,
   102  				}
   103  			}
   104  		}
   105  
   106  	case *LongOpCompleted_ResetTriggers_:
   107  		if v == nil {
   108  			err := LongOpCompletedValidationError{
   109  				field:  "Result",
   110  				reason: "oneof value cannot be a typed-nil",
   111  			}
   112  			if !all {
   113  				return err
   114  			}
   115  			errors = append(errors, err)
   116  		}
   117  
   118  		if all {
   119  			switch v := interface{}(m.GetResetTriggers()).(type) {
   120  			case interface{ ValidateAll() error }:
   121  				if err := v.ValidateAll(); err != nil {
   122  					errors = append(errors, LongOpCompletedValidationError{
   123  						field:  "ResetTriggers",
   124  						reason: "embedded message failed validation",
   125  						cause:  err,
   126  					})
   127  				}
   128  			case interface{ Validate() error }:
   129  				if err := v.Validate(); err != nil {
   130  					errors = append(errors, LongOpCompletedValidationError{
   131  						field:  "ResetTriggers",
   132  						reason: "embedded message failed validation",
   133  						cause:  err,
   134  					})
   135  				}
   136  			}
   137  		} else if v, ok := interface{}(m.GetResetTriggers()).(interface{ Validate() error }); ok {
   138  			if err := v.Validate(); err != nil {
   139  				return LongOpCompletedValidationError{
   140  					field:  "ResetTriggers",
   141  					reason: "embedded message failed validation",
   142  					cause:  err,
   143  				}
   144  			}
   145  		}
   146  
   147  	case *LongOpCompleted_ExecuteTryjobs:
   148  		if v == nil {
   149  			err := LongOpCompletedValidationError{
   150  				field:  "Result",
   151  				reason: "oneof value cannot be a typed-nil",
   152  			}
   153  			if !all {
   154  				return err
   155  			}
   156  			errors = append(errors, err)
   157  		}
   158  
   159  		if all {
   160  			switch v := interface{}(m.GetExecuteTryjobs()).(type) {
   161  			case interface{ ValidateAll() error }:
   162  				if err := v.ValidateAll(); err != nil {
   163  					errors = append(errors, LongOpCompletedValidationError{
   164  						field:  "ExecuteTryjobs",
   165  						reason: "embedded message failed validation",
   166  						cause:  err,
   167  					})
   168  				}
   169  			case interface{ Validate() error }:
   170  				if err := v.Validate(); err != nil {
   171  					errors = append(errors, LongOpCompletedValidationError{
   172  						field:  "ExecuteTryjobs",
   173  						reason: "embedded message failed validation",
   174  						cause:  err,
   175  					})
   176  				}
   177  			}
   178  		} else if v, ok := interface{}(m.GetExecuteTryjobs()).(interface{ Validate() error }); ok {
   179  			if err := v.Validate(); err != nil {
   180  				return LongOpCompletedValidationError{
   181  					field:  "ExecuteTryjobs",
   182  					reason: "embedded message failed validation",
   183  					cause:  err,
   184  				}
   185  			}
   186  		}
   187  
   188  	case *LongOpCompleted_ExecutePostAction:
   189  		if v == nil {
   190  			err := LongOpCompletedValidationError{
   191  				field:  "Result",
   192  				reason: "oneof value cannot be a typed-nil",
   193  			}
   194  			if !all {
   195  				return err
   196  			}
   197  			errors = append(errors, err)
   198  		}
   199  
   200  		if all {
   201  			switch v := interface{}(m.GetExecutePostAction()).(type) {
   202  			case interface{ ValidateAll() error }:
   203  				if err := v.ValidateAll(); err != nil {
   204  					errors = append(errors, LongOpCompletedValidationError{
   205  						field:  "ExecutePostAction",
   206  						reason: "embedded message failed validation",
   207  						cause:  err,
   208  					})
   209  				}
   210  			case interface{ Validate() error }:
   211  				if err := v.Validate(); err != nil {
   212  					errors = append(errors, LongOpCompletedValidationError{
   213  						field:  "ExecutePostAction",
   214  						reason: "embedded message failed validation",
   215  						cause:  err,
   216  					})
   217  				}
   218  			}
   219  		} else if v, ok := interface{}(m.GetExecutePostAction()).(interface{ Validate() error }); ok {
   220  			if err := v.Validate(); err != nil {
   221  				return LongOpCompletedValidationError{
   222  					field:  "ExecutePostAction",
   223  					reason: "embedded message failed validation",
   224  					cause:  err,
   225  				}
   226  			}
   227  		}
   228  
   229  	case *LongOpCompleted_PostGerritMessage_:
   230  		if v == nil {
   231  			err := LongOpCompletedValidationError{
   232  				field:  "Result",
   233  				reason: "oneof value cannot be a typed-nil",
   234  			}
   235  			if !all {
   236  				return err
   237  			}
   238  			errors = append(errors, err)
   239  		}
   240  
   241  		if all {
   242  			switch v := interface{}(m.GetPostGerritMessage()).(type) {
   243  			case interface{ ValidateAll() error }:
   244  				if err := v.ValidateAll(); err != nil {
   245  					errors = append(errors, LongOpCompletedValidationError{
   246  						field:  "PostGerritMessage",
   247  						reason: "embedded message failed validation",
   248  						cause:  err,
   249  					})
   250  				}
   251  			case interface{ Validate() error }:
   252  				if err := v.Validate(); err != nil {
   253  					errors = append(errors, LongOpCompletedValidationError{
   254  						field:  "PostGerritMessage",
   255  						reason: "embedded message failed validation",
   256  						cause:  err,
   257  					})
   258  				}
   259  			}
   260  		} else if v, ok := interface{}(m.GetPostGerritMessage()).(interface{ Validate() error }); ok {
   261  			if err := v.Validate(); err != nil {
   262  				return LongOpCompletedValidationError{
   263  					field:  "PostGerritMessage",
   264  					reason: "embedded message failed validation",
   265  					cause:  err,
   266  				}
   267  			}
   268  		}
   269  
   270  	default:
   271  		_ = v // ensures v is used
   272  	}
   273  
   274  	if len(errors) > 0 {
   275  		return LongOpCompletedMultiError(errors)
   276  	}
   277  
   278  	return nil
   279  }
   280  
   281  // LongOpCompletedMultiError is an error wrapping multiple validation errors
   282  // returned by LongOpCompleted.ValidateAll() if the designated constraints
   283  // aren't met.
   284  type LongOpCompletedMultiError []error
   285  
   286  // Error returns a concatenation of all the error messages it wraps.
   287  func (m LongOpCompletedMultiError) Error() string {
   288  	var msgs []string
   289  	for _, err := range m {
   290  		msgs = append(msgs, err.Error())
   291  	}
   292  	return strings.Join(msgs, "; ")
   293  }
   294  
   295  // AllErrors returns a list of validation violation errors.
   296  func (m LongOpCompletedMultiError) AllErrors() []error { return m }
   297  
   298  // LongOpCompletedValidationError is the validation error returned by
   299  // LongOpCompleted.Validate if the designated constraints aren't met.
   300  type LongOpCompletedValidationError struct {
   301  	field  string
   302  	reason string
   303  	cause  error
   304  	key    bool
   305  }
   306  
   307  // Field function returns field value.
   308  func (e LongOpCompletedValidationError) Field() string { return e.field }
   309  
   310  // Reason function returns reason value.
   311  func (e LongOpCompletedValidationError) Reason() string { return e.reason }
   312  
   313  // Cause function returns cause value.
   314  func (e LongOpCompletedValidationError) Cause() error { return e.cause }
   315  
   316  // Key function returns key value.
   317  func (e LongOpCompletedValidationError) Key() bool { return e.key }
   318  
   319  // ErrorName returns error name.
   320  func (e LongOpCompletedValidationError) ErrorName() string { return "LongOpCompletedValidationError" }
   321  
   322  // Error satisfies the builtin error interface
   323  func (e LongOpCompletedValidationError) Error() string {
   324  	cause := ""
   325  	if e.cause != nil {
   326  		cause = fmt.Sprintf(" | caused by: %v", e.cause)
   327  	}
   328  
   329  	key := ""
   330  	if e.key {
   331  		key = "key for "
   332  	}
   333  
   334  	return fmt.Sprintf(
   335  		"invalid %sLongOpCompleted.%s: %s%s",
   336  		key,
   337  		e.field,
   338  		e.reason,
   339  		cause)
   340  }
   341  
   342  var _ error = LongOpCompletedValidationError{}
   343  
   344  var _ interface {
   345  	Field() string
   346  	Reason() string
   347  	Key() bool
   348  	Cause() error
   349  	ErrorName() string
   350  } = LongOpCompletedValidationError{}
   351  
   352  // Validate checks the field values on LongOpCompleted_PostStartMessage with
   353  // the rules defined in the proto definition for this message. If any rules
   354  // are violated, the first error encountered is returned, or nil if there are
   355  // no violations.
   356  func (m *LongOpCompleted_PostStartMessage) Validate() error {
   357  	return m.validate(false)
   358  }
   359  
   360  // ValidateAll checks the field values on LongOpCompleted_PostStartMessage with
   361  // the rules defined in the proto definition for this message. If any rules
   362  // are violated, the result is a list of violation errors wrapped in
   363  // LongOpCompleted_PostStartMessageMultiError, or nil if none found.
   364  func (m *LongOpCompleted_PostStartMessage) ValidateAll() error {
   365  	return m.validate(true)
   366  }
   367  
   368  func (m *LongOpCompleted_PostStartMessage) validate(all bool) error {
   369  	if m == nil {
   370  		return nil
   371  	}
   372  
   373  	var errors []error
   374  
   375  	if all {
   376  		switch v := interface{}(m.GetTime()).(type) {
   377  		case interface{ ValidateAll() error }:
   378  			if err := v.ValidateAll(); err != nil {
   379  				errors = append(errors, LongOpCompleted_PostStartMessageValidationError{
   380  					field:  "Time",
   381  					reason: "embedded message failed validation",
   382  					cause:  err,
   383  				})
   384  			}
   385  		case interface{ Validate() error }:
   386  			if err := v.Validate(); err != nil {
   387  				errors = append(errors, LongOpCompleted_PostStartMessageValidationError{
   388  					field:  "Time",
   389  					reason: "embedded message failed validation",
   390  					cause:  err,
   391  				})
   392  			}
   393  		}
   394  	} else if v, ok := interface{}(m.GetTime()).(interface{ Validate() error }); ok {
   395  		if err := v.Validate(); err != nil {
   396  			return LongOpCompleted_PostStartMessageValidationError{
   397  				field:  "Time",
   398  				reason: "embedded message failed validation",
   399  				cause:  err,
   400  			}
   401  		}
   402  	}
   403  
   404  	if len(errors) > 0 {
   405  		return LongOpCompleted_PostStartMessageMultiError(errors)
   406  	}
   407  
   408  	return nil
   409  }
   410  
   411  // LongOpCompleted_PostStartMessageMultiError is an error wrapping multiple
   412  // validation errors returned by
   413  // LongOpCompleted_PostStartMessage.ValidateAll() if the designated
   414  // constraints aren't met.
   415  type LongOpCompleted_PostStartMessageMultiError []error
   416  
   417  // Error returns a concatenation of all the error messages it wraps.
   418  func (m LongOpCompleted_PostStartMessageMultiError) Error() string {
   419  	var msgs []string
   420  	for _, err := range m {
   421  		msgs = append(msgs, err.Error())
   422  	}
   423  	return strings.Join(msgs, "; ")
   424  }
   425  
   426  // AllErrors returns a list of validation violation errors.
   427  func (m LongOpCompleted_PostStartMessageMultiError) AllErrors() []error { return m }
   428  
   429  // LongOpCompleted_PostStartMessageValidationError is the validation error
   430  // returned by LongOpCompleted_PostStartMessage.Validate if the designated
   431  // constraints aren't met.
   432  type LongOpCompleted_PostStartMessageValidationError struct {
   433  	field  string
   434  	reason string
   435  	cause  error
   436  	key    bool
   437  }
   438  
   439  // Field function returns field value.
   440  func (e LongOpCompleted_PostStartMessageValidationError) Field() string { return e.field }
   441  
   442  // Reason function returns reason value.
   443  func (e LongOpCompleted_PostStartMessageValidationError) Reason() string { return e.reason }
   444  
   445  // Cause function returns cause value.
   446  func (e LongOpCompleted_PostStartMessageValidationError) Cause() error { return e.cause }
   447  
   448  // Key function returns key value.
   449  func (e LongOpCompleted_PostStartMessageValidationError) Key() bool { return e.key }
   450  
   451  // ErrorName returns error name.
   452  func (e LongOpCompleted_PostStartMessageValidationError) ErrorName() string {
   453  	return "LongOpCompleted_PostStartMessageValidationError"
   454  }
   455  
   456  // Error satisfies the builtin error interface
   457  func (e LongOpCompleted_PostStartMessageValidationError) Error() string {
   458  	cause := ""
   459  	if e.cause != nil {
   460  		cause = fmt.Sprintf(" | caused by: %v", e.cause)
   461  	}
   462  
   463  	key := ""
   464  	if e.key {
   465  		key = "key for "
   466  	}
   467  
   468  	return fmt.Sprintf(
   469  		"invalid %sLongOpCompleted_PostStartMessage.%s: %s%s",
   470  		key,
   471  		e.field,
   472  		e.reason,
   473  		cause)
   474  }
   475  
   476  var _ error = LongOpCompleted_PostStartMessageValidationError{}
   477  
   478  var _ interface {
   479  	Field() string
   480  	Reason() string
   481  	Key() bool
   482  	Cause() error
   483  	ErrorName() string
   484  } = LongOpCompleted_PostStartMessageValidationError{}
   485  
   486  // Validate checks the field values on LongOpCompleted_PostGerritMessage with
   487  // the rules defined in the proto definition for this message. If any rules
   488  // are violated, the first error encountered is returned, or nil if there are
   489  // no violations.
   490  func (m *LongOpCompleted_PostGerritMessage) Validate() error {
   491  	return m.validate(false)
   492  }
   493  
   494  // ValidateAll checks the field values on LongOpCompleted_PostGerritMessage
   495  // with the rules defined in the proto definition for this message. If any
   496  // rules are violated, the result is a list of violation errors wrapped in
   497  // LongOpCompleted_PostGerritMessageMultiError, or nil if none found.
   498  func (m *LongOpCompleted_PostGerritMessage) ValidateAll() error {
   499  	return m.validate(true)
   500  }
   501  
   502  func (m *LongOpCompleted_PostGerritMessage) validate(all bool) error {
   503  	if m == nil {
   504  		return nil
   505  	}
   506  
   507  	var errors []error
   508  
   509  	if all {
   510  		switch v := interface{}(m.GetTime()).(type) {
   511  		case interface{ ValidateAll() error }:
   512  			if err := v.ValidateAll(); err != nil {
   513  				errors = append(errors, LongOpCompleted_PostGerritMessageValidationError{
   514  					field:  "Time",
   515  					reason: "embedded message failed validation",
   516  					cause:  err,
   517  				})
   518  			}
   519  		case interface{ Validate() error }:
   520  			if err := v.Validate(); err != nil {
   521  				errors = append(errors, LongOpCompleted_PostGerritMessageValidationError{
   522  					field:  "Time",
   523  					reason: "embedded message failed validation",
   524  					cause:  err,
   525  				})
   526  			}
   527  		}
   528  	} else if v, ok := interface{}(m.GetTime()).(interface{ Validate() error }); ok {
   529  		if err := v.Validate(); err != nil {
   530  			return LongOpCompleted_PostGerritMessageValidationError{
   531  				field:  "Time",
   532  				reason: "embedded message failed validation",
   533  				cause:  err,
   534  			}
   535  		}
   536  	}
   537  
   538  	if len(errors) > 0 {
   539  		return LongOpCompleted_PostGerritMessageMultiError(errors)
   540  	}
   541  
   542  	return nil
   543  }
   544  
   545  // LongOpCompleted_PostGerritMessageMultiError is an error wrapping multiple
   546  // validation errors returned by
   547  // LongOpCompleted_PostGerritMessage.ValidateAll() if the designated
   548  // constraints aren't met.
   549  type LongOpCompleted_PostGerritMessageMultiError []error
   550  
   551  // Error returns a concatenation of all the error messages it wraps.
   552  func (m LongOpCompleted_PostGerritMessageMultiError) Error() string {
   553  	var msgs []string
   554  	for _, err := range m {
   555  		msgs = append(msgs, err.Error())
   556  	}
   557  	return strings.Join(msgs, "; ")
   558  }
   559  
   560  // AllErrors returns a list of validation violation errors.
   561  func (m LongOpCompleted_PostGerritMessageMultiError) AllErrors() []error { return m }
   562  
   563  // LongOpCompleted_PostGerritMessageValidationError is the validation error
   564  // returned by LongOpCompleted_PostGerritMessage.Validate if the designated
   565  // constraints aren't met.
   566  type LongOpCompleted_PostGerritMessageValidationError struct {
   567  	field  string
   568  	reason string
   569  	cause  error
   570  	key    bool
   571  }
   572  
   573  // Field function returns field value.
   574  func (e LongOpCompleted_PostGerritMessageValidationError) Field() string { return e.field }
   575  
   576  // Reason function returns reason value.
   577  func (e LongOpCompleted_PostGerritMessageValidationError) Reason() string { return e.reason }
   578  
   579  // Cause function returns cause value.
   580  func (e LongOpCompleted_PostGerritMessageValidationError) Cause() error { return e.cause }
   581  
   582  // Key function returns key value.
   583  func (e LongOpCompleted_PostGerritMessageValidationError) Key() bool { return e.key }
   584  
   585  // ErrorName returns error name.
   586  func (e LongOpCompleted_PostGerritMessageValidationError) ErrorName() string {
   587  	return "LongOpCompleted_PostGerritMessageValidationError"
   588  }
   589  
   590  // Error satisfies the builtin error interface
   591  func (e LongOpCompleted_PostGerritMessageValidationError) Error() string {
   592  	cause := ""
   593  	if e.cause != nil {
   594  		cause = fmt.Sprintf(" | caused by: %v", e.cause)
   595  	}
   596  
   597  	key := ""
   598  	if e.key {
   599  		key = "key for "
   600  	}
   601  
   602  	return fmt.Sprintf(
   603  		"invalid %sLongOpCompleted_PostGerritMessage.%s: %s%s",
   604  		key,
   605  		e.field,
   606  		e.reason,
   607  		cause)
   608  }
   609  
   610  var _ error = LongOpCompleted_PostGerritMessageValidationError{}
   611  
   612  var _ interface {
   613  	Field() string
   614  	Reason() string
   615  	Key() bool
   616  	Cause() error
   617  	ErrorName() string
   618  } = LongOpCompleted_PostGerritMessageValidationError{}
   619  
   620  // Validate checks the field values on LongOpCompleted_ResetTriggers with the
   621  // rules defined in the proto definition for this message. If any rules are
   622  // violated, the first error encountered is returned, or nil if there are no violations.
   623  func (m *LongOpCompleted_ResetTriggers) Validate() error {
   624  	return m.validate(false)
   625  }
   626  
   627  // ValidateAll checks the field values on LongOpCompleted_ResetTriggers with
   628  // the rules defined in the proto definition for this message. If any rules
   629  // are violated, the result is a list of violation errors wrapped in
   630  // LongOpCompleted_ResetTriggersMultiError, or nil if none found.
   631  func (m *LongOpCompleted_ResetTriggers) ValidateAll() error {
   632  	return m.validate(true)
   633  }
   634  
   635  func (m *LongOpCompleted_ResetTriggers) validate(all bool) error {
   636  	if m == nil {
   637  		return nil
   638  	}
   639  
   640  	var errors []error
   641  
   642  	for idx, item := range m.GetResults() {
   643  		_, _ = idx, item
   644  
   645  		if all {
   646  			switch v := interface{}(item).(type) {
   647  			case interface{ ValidateAll() error }:
   648  				if err := v.ValidateAll(); err != nil {
   649  					errors = append(errors, LongOpCompleted_ResetTriggersValidationError{
   650  						field:  fmt.Sprintf("Results[%v]", idx),
   651  						reason: "embedded message failed validation",
   652  						cause:  err,
   653  					})
   654  				}
   655  			case interface{ Validate() error }:
   656  				if err := v.Validate(); err != nil {
   657  					errors = append(errors, LongOpCompleted_ResetTriggersValidationError{
   658  						field:  fmt.Sprintf("Results[%v]", idx),
   659  						reason: "embedded message failed validation",
   660  						cause:  err,
   661  					})
   662  				}
   663  			}
   664  		} else if v, ok := interface{}(item).(interface{ Validate() error }); ok {
   665  			if err := v.Validate(); err != nil {
   666  				return LongOpCompleted_ResetTriggersValidationError{
   667  					field:  fmt.Sprintf("Results[%v]", idx),
   668  					reason: "embedded message failed validation",
   669  					cause:  err,
   670  				}
   671  			}
   672  		}
   673  
   674  	}
   675  
   676  	if len(errors) > 0 {
   677  		return LongOpCompleted_ResetTriggersMultiError(errors)
   678  	}
   679  
   680  	return nil
   681  }
   682  
   683  // LongOpCompleted_ResetTriggersMultiError is an error wrapping multiple
   684  // validation errors returned by LongOpCompleted_ResetTriggers.ValidateAll()
   685  // if the designated constraints aren't met.
   686  type LongOpCompleted_ResetTriggersMultiError []error
   687  
   688  // Error returns a concatenation of all the error messages it wraps.
   689  func (m LongOpCompleted_ResetTriggersMultiError) Error() string {
   690  	var msgs []string
   691  	for _, err := range m {
   692  		msgs = append(msgs, err.Error())
   693  	}
   694  	return strings.Join(msgs, "; ")
   695  }
   696  
   697  // AllErrors returns a list of validation violation errors.
   698  func (m LongOpCompleted_ResetTriggersMultiError) AllErrors() []error { return m }
   699  
   700  // LongOpCompleted_ResetTriggersValidationError is the validation error
   701  // returned by LongOpCompleted_ResetTriggers.Validate if the designated
   702  // constraints aren't met.
   703  type LongOpCompleted_ResetTriggersValidationError struct {
   704  	field  string
   705  	reason string
   706  	cause  error
   707  	key    bool
   708  }
   709  
   710  // Field function returns field value.
   711  func (e LongOpCompleted_ResetTriggersValidationError) Field() string { return e.field }
   712  
   713  // Reason function returns reason value.
   714  func (e LongOpCompleted_ResetTriggersValidationError) Reason() string { return e.reason }
   715  
   716  // Cause function returns cause value.
   717  func (e LongOpCompleted_ResetTriggersValidationError) Cause() error { return e.cause }
   718  
   719  // Key function returns key value.
   720  func (e LongOpCompleted_ResetTriggersValidationError) Key() bool { return e.key }
   721  
   722  // ErrorName returns error name.
   723  func (e LongOpCompleted_ResetTriggersValidationError) ErrorName() string {
   724  	return "LongOpCompleted_ResetTriggersValidationError"
   725  }
   726  
   727  // Error satisfies the builtin error interface
   728  func (e LongOpCompleted_ResetTriggersValidationError) Error() string {
   729  	cause := ""
   730  	if e.cause != nil {
   731  		cause = fmt.Sprintf(" | caused by: %v", e.cause)
   732  	}
   733  
   734  	key := ""
   735  	if e.key {
   736  		key = "key for "
   737  	}
   738  
   739  	return fmt.Sprintf(
   740  		"invalid %sLongOpCompleted_ResetTriggers.%s: %s%s",
   741  		key,
   742  		e.field,
   743  		e.reason,
   744  		cause)
   745  }
   746  
   747  var _ error = LongOpCompleted_ResetTriggersValidationError{}
   748  
   749  var _ interface {
   750  	Field() string
   751  	Reason() string
   752  	Key() bool
   753  	Cause() error
   754  	ErrorName() string
   755  } = LongOpCompleted_ResetTriggersValidationError{}
   756  
   757  // Validate checks the field values on LongOpCompleted_ExecutePostActionResult
   758  // with the rules defined in the proto definition for this message. If any
   759  // rules are violated, the first error encountered is returned, or nil if
   760  // there are no violations.
   761  func (m *LongOpCompleted_ExecutePostActionResult) Validate() error {
   762  	return m.validate(false)
   763  }
   764  
   765  // ValidateAll checks the field values on
   766  // LongOpCompleted_ExecutePostActionResult with the rules defined in the proto
   767  // definition for this message. If any rules are violated, the result is a
   768  // list of violation errors wrapped in
   769  // LongOpCompleted_ExecutePostActionResultMultiError, or nil if none found.
   770  func (m *LongOpCompleted_ExecutePostActionResult) ValidateAll() error {
   771  	return m.validate(true)
   772  }
   773  
   774  func (m *LongOpCompleted_ExecutePostActionResult) validate(all bool) error {
   775  	if m == nil {
   776  		return nil
   777  	}
   778  
   779  	var errors []error
   780  
   781  	// no validation rules for Summary
   782  
   783  	if len(errors) > 0 {
   784  		return LongOpCompleted_ExecutePostActionResultMultiError(errors)
   785  	}
   786  
   787  	return nil
   788  }
   789  
   790  // LongOpCompleted_ExecutePostActionResultMultiError is an error wrapping
   791  // multiple validation errors returned by
   792  // LongOpCompleted_ExecutePostActionResult.ValidateAll() if the designated
   793  // constraints aren't met.
   794  type LongOpCompleted_ExecutePostActionResultMultiError []error
   795  
   796  // Error returns a concatenation of all the error messages it wraps.
   797  func (m LongOpCompleted_ExecutePostActionResultMultiError) Error() string {
   798  	var msgs []string
   799  	for _, err := range m {
   800  		msgs = append(msgs, err.Error())
   801  	}
   802  	return strings.Join(msgs, "; ")
   803  }
   804  
   805  // AllErrors returns a list of validation violation errors.
   806  func (m LongOpCompleted_ExecutePostActionResultMultiError) AllErrors() []error { return m }
   807  
   808  // LongOpCompleted_ExecutePostActionResultValidationError is the validation
   809  // error returned by LongOpCompleted_ExecutePostActionResult.Validate if the
   810  // designated constraints aren't met.
   811  type LongOpCompleted_ExecutePostActionResultValidationError struct {
   812  	field  string
   813  	reason string
   814  	cause  error
   815  	key    bool
   816  }
   817  
   818  // Field function returns field value.
   819  func (e LongOpCompleted_ExecutePostActionResultValidationError) Field() string { return e.field }
   820  
   821  // Reason function returns reason value.
   822  func (e LongOpCompleted_ExecutePostActionResultValidationError) Reason() string { return e.reason }
   823  
   824  // Cause function returns cause value.
   825  func (e LongOpCompleted_ExecutePostActionResultValidationError) Cause() error { return e.cause }
   826  
   827  // Key function returns key value.
   828  func (e LongOpCompleted_ExecutePostActionResultValidationError) Key() bool { return e.key }
   829  
   830  // ErrorName returns error name.
   831  func (e LongOpCompleted_ExecutePostActionResultValidationError) ErrorName() string {
   832  	return "LongOpCompleted_ExecutePostActionResultValidationError"
   833  }
   834  
   835  // Error satisfies the builtin error interface
   836  func (e LongOpCompleted_ExecutePostActionResultValidationError) Error() string {
   837  	cause := ""
   838  	if e.cause != nil {
   839  		cause = fmt.Sprintf(" | caused by: %v", e.cause)
   840  	}
   841  
   842  	key := ""
   843  	if e.key {
   844  		key = "key for "
   845  	}
   846  
   847  	return fmt.Sprintf(
   848  		"invalid %sLongOpCompleted_ExecutePostActionResult.%s: %s%s",
   849  		key,
   850  		e.field,
   851  		e.reason,
   852  		cause)
   853  }
   854  
   855  var _ error = LongOpCompleted_ExecutePostActionResultValidationError{}
   856  
   857  var _ interface {
   858  	Field() string
   859  	Reason() string
   860  	Key() bool
   861  	Cause() error
   862  	ErrorName() string
   863  } = LongOpCompleted_ExecutePostActionResultValidationError{}
   864  
   865  // Validate checks the field values on LongOpCompleted_ResetTriggers_Result
   866  // with the rules defined in the proto definition for this message. If any
   867  // rules are violated, the first error encountered is returned, or nil if
   868  // there are no violations.
   869  func (m *LongOpCompleted_ResetTriggers_Result) Validate() error {
   870  	return m.validate(false)
   871  }
   872  
   873  // ValidateAll checks the field values on LongOpCompleted_ResetTriggers_Result
   874  // with the rules defined in the proto definition for this message. If any
   875  // rules are violated, the result is a list of violation errors wrapped in
   876  // LongOpCompleted_ResetTriggers_ResultMultiError, or nil if none found.
   877  func (m *LongOpCompleted_ResetTriggers_Result) ValidateAll() error {
   878  	return m.validate(true)
   879  }
   880  
   881  func (m *LongOpCompleted_ResetTriggers_Result) validate(all bool) error {
   882  	if m == nil {
   883  		return nil
   884  	}
   885  
   886  	var errors []error
   887  
   888  	// no validation rules for Id
   889  
   890  	// no validation rules for ExternalId
   891  
   892  	switch v := m.Detail.(type) {
   893  	case *LongOpCompleted_ResetTriggers_Result_SuccessInfo:
   894  		if v == nil {
   895  			err := LongOpCompleted_ResetTriggers_ResultValidationError{
   896  				field:  "Detail",
   897  				reason: "oneof value cannot be a typed-nil",
   898  			}
   899  			if !all {
   900  				return err
   901  			}
   902  			errors = append(errors, err)
   903  		}
   904  
   905  		if all {
   906  			switch v := interface{}(m.GetSuccessInfo()).(type) {
   907  			case interface{ ValidateAll() error }:
   908  				if err := v.ValidateAll(); err != nil {
   909  					errors = append(errors, LongOpCompleted_ResetTriggers_ResultValidationError{
   910  						field:  "SuccessInfo",
   911  						reason: "embedded message failed validation",
   912  						cause:  err,
   913  					})
   914  				}
   915  			case interface{ Validate() error }:
   916  				if err := v.Validate(); err != nil {
   917  					errors = append(errors, LongOpCompleted_ResetTriggers_ResultValidationError{
   918  						field:  "SuccessInfo",
   919  						reason: "embedded message failed validation",
   920  						cause:  err,
   921  					})
   922  				}
   923  			}
   924  		} else if v, ok := interface{}(m.GetSuccessInfo()).(interface{ Validate() error }); ok {
   925  			if err := v.Validate(); err != nil {
   926  				return LongOpCompleted_ResetTriggers_ResultValidationError{
   927  					field:  "SuccessInfo",
   928  					reason: "embedded message failed validation",
   929  					cause:  err,
   930  				}
   931  			}
   932  		}
   933  
   934  	case *LongOpCompleted_ResetTriggers_Result_FailureInfo:
   935  		if v == nil {
   936  			err := LongOpCompleted_ResetTriggers_ResultValidationError{
   937  				field:  "Detail",
   938  				reason: "oneof value cannot be a typed-nil",
   939  			}
   940  			if !all {
   941  				return err
   942  			}
   943  			errors = append(errors, err)
   944  		}
   945  
   946  		if all {
   947  			switch v := interface{}(m.GetFailureInfo()).(type) {
   948  			case interface{ ValidateAll() error }:
   949  				if err := v.ValidateAll(); err != nil {
   950  					errors = append(errors, LongOpCompleted_ResetTriggers_ResultValidationError{
   951  						field:  "FailureInfo",
   952  						reason: "embedded message failed validation",
   953  						cause:  err,
   954  					})
   955  				}
   956  			case interface{ Validate() error }:
   957  				if err := v.Validate(); err != nil {
   958  					errors = append(errors, LongOpCompleted_ResetTriggers_ResultValidationError{
   959  						field:  "FailureInfo",
   960  						reason: "embedded message failed validation",
   961  						cause:  err,
   962  					})
   963  				}
   964  			}
   965  		} else if v, ok := interface{}(m.GetFailureInfo()).(interface{ Validate() error }); ok {
   966  			if err := v.Validate(); err != nil {
   967  				return LongOpCompleted_ResetTriggers_ResultValidationError{
   968  					field:  "FailureInfo",
   969  					reason: "embedded message failed validation",
   970  					cause:  err,
   971  				}
   972  			}
   973  		}
   974  
   975  	default:
   976  		_ = v // ensures v is used
   977  	}
   978  
   979  	if len(errors) > 0 {
   980  		return LongOpCompleted_ResetTriggers_ResultMultiError(errors)
   981  	}
   982  
   983  	return nil
   984  }
   985  
   986  // LongOpCompleted_ResetTriggers_ResultMultiError is an error wrapping multiple
   987  // validation errors returned by
   988  // LongOpCompleted_ResetTriggers_Result.ValidateAll() if the designated
   989  // constraints aren't met.
   990  type LongOpCompleted_ResetTriggers_ResultMultiError []error
   991  
   992  // Error returns a concatenation of all the error messages it wraps.
   993  func (m LongOpCompleted_ResetTriggers_ResultMultiError) Error() string {
   994  	var msgs []string
   995  	for _, err := range m {
   996  		msgs = append(msgs, err.Error())
   997  	}
   998  	return strings.Join(msgs, "; ")
   999  }
  1000  
  1001  // AllErrors returns a list of validation violation errors.
  1002  func (m LongOpCompleted_ResetTriggers_ResultMultiError) AllErrors() []error { return m }
  1003  
  1004  // LongOpCompleted_ResetTriggers_ResultValidationError is the validation error
  1005  // returned by LongOpCompleted_ResetTriggers_Result.Validate if the designated
  1006  // constraints aren't met.
  1007  type LongOpCompleted_ResetTriggers_ResultValidationError struct {
  1008  	field  string
  1009  	reason string
  1010  	cause  error
  1011  	key    bool
  1012  }
  1013  
  1014  // Field function returns field value.
  1015  func (e LongOpCompleted_ResetTriggers_ResultValidationError) Field() string { return e.field }
  1016  
  1017  // Reason function returns reason value.
  1018  func (e LongOpCompleted_ResetTriggers_ResultValidationError) Reason() string { return e.reason }
  1019  
  1020  // Cause function returns cause value.
  1021  func (e LongOpCompleted_ResetTriggers_ResultValidationError) Cause() error { return e.cause }
  1022  
  1023  // Key function returns key value.
  1024  func (e LongOpCompleted_ResetTriggers_ResultValidationError) Key() bool { return e.key }
  1025  
  1026  // ErrorName returns error name.
  1027  func (e LongOpCompleted_ResetTriggers_ResultValidationError) ErrorName() string {
  1028  	return "LongOpCompleted_ResetTriggers_ResultValidationError"
  1029  }
  1030  
  1031  // Error satisfies the builtin error interface
  1032  func (e LongOpCompleted_ResetTriggers_ResultValidationError) Error() string {
  1033  	cause := ""
  1034  	if e.cause != nil {
  1035  		cause = fmt.Sprintf(" | caused by: %v", e.cause)
  1036  	}
  1037  
  1038  	key := ""
  1039  	if e.key {
  1040  		key = "key for "
  1041  	}
  1042  
  1043  	return fmt.Sprintf(
  1044  		"invalid %sLongOpCompleted_ResetTriggers_Result.%s: %s%s",
  1045  		key,
  1046  		e.field,
  1047  		e.reason,
  1048  		cause)
  1049  }
  1050  
  1051  var _ error = LongOpCompleted_ResetTriggers_ResultValidationError{}
  1052  
  1053  var _ interface {
  1054  	Field() string
  1055  	Reason() string
  1056  	Key() bool
  1057  	Cause() error
  1058  	ErrorName() string
  1059  } = LongOpCompleted_ResetTriggers_ResultValidationError{}
  1060  
  1061  // Validate checks the field values on
  1062  // LongOpCompleted_ResetTriggers_Result_Success with the rules defined in the
  1063  // proto definition for this message. If any rules are violated, the first
  1064  // error encountered is returned, or nil if there are no violations.
  1065  func (m *LongOpCompleted_ResetTriggers_Result_Success) Validate() error {
  1066  	return m.validate(false)
  1067  }
  1068  
  1069  // ValidateAll checks the field values on
  1070  // LongOpCompleted_ResetTriggers_Result_Success with the rules defined in the
  1071  // proto definition for this message. If any rules are violated, the result is
  1072  // a list of violation errors wrapped in
  1073  // LongOpCompleted_ResetTriggers_Result_SuccessMultiError, or nil if none found.
  1074  func (m *LongOpCompleted_ResetTriggers_Result_Success) ValidateAll() error {
  1075  	return m.validate(true)
  1076  }
  1077  
  1078  func (m *LongOpCompleted_ResetTriggers_Result_Success) validate(all bool) error {
  1079  	if m == nil {
  1080  		return nil
  1081  	}
  1082  
  1083  	var errors []error
  1084  
  1085  	if all {
  1086  		switch v := interface{}(m.GetResetAt()).(type) {
  1087  		case interface{ ValidateAll() error }:
  1088  			if err := v.ValidateAll(); err != nil {
  1089  				errors = append(errors, LongOpCompleted_ResetTriggers_Result_SuccessValidationError{
  1090  					field:  "ResetAt",
  1091  					reason: "embedded message failed validation",
  1092  					cause:  err,
  1093  				})
  1094  			}
  1095  		case interface{ Validate() error }:
  1096  			if err := v.Validate(); err != nil {
  1097  				errors = append(errors, LongOpCompleted_ResetTriggers_Result_SuccessValidationError{
  1098  					field:  "ResetAt",
  1099  					reason: "embedded message failed validation",
  1100  					cause:  err,
  1101  				})
  1102  			}
  1103  		}
  1104  	} else if v, ok := interface{}(m.GetResetAt()).(interface{ Validate() error }); ok {
  1105  		if err := v.Validate(); err != nil {
  1106  			return LongOpCompleted_ResetTriggers_Result_SuccessValidationError{
  1107  				field:  "ResetAt",
  1108  				reason: "embedded message failed validation",
  1109  				cause:  err,
  1110  			}
  1111  		}
  1112  	}
  1113  
  1114  	if len(errors) > 0 {
  1115  		return LongOpCompleted_ResetTriggers_Result_SuccessMultiError(errors)
  1116  	}
  1117  
  1118  	return nil
  1119  }
  1120  
  1121  // LongOpCompleted_ResetTriggers_Result_SuccessMultiError is an error wrapping
  1122  // multiple validation errors returned by
  1123  // LongOpCompleted_ResetTriggers_Result_Success.ValidateAll() if the
  1124  // designated constraints aren't met.
  1125  type LongOpCompleted_ResetTriggers_Result_SuccessMultiError []error
  1126  
  1127  // Error returns a concatenation of all the error messages it wraps.
  1128  func (m LongOpCompleted_ResetTriggers_Result_SuccessMultiError) Error() string {
  1129  	var msgs []string
  1130  	for _, err := range m {
  1131  		msgs = append(msgs, err.Error())
  1132  	}
  1133  	return strings.Join(msgs, "; ")
  1134  }
  1135  
  1136  // AllErrors returns a list of validation violation errors.
  1137  func (m LongOpCompleted_ResetTriggers_Result_SuccessMultiError) AllErrors() []error { return m }
  1138  
  1139  // LongOpCompleted_ResetTriggers_Result_SuccessValidationError is the
  1140  // validation error returned by
  1141  // LongOpCompleted_ResetTriggers_Result_Success.Validate if the designated
  1142  // constraints aren't met.
  1143  type LongOpCompleted_ResetTriggers_Result_SuccessValidationError struct {
  1144  	field  string
  1145  	reason string
  1146  	cause  error
  1147  	key    bool
  1148  }
  1149  
  1150  // Field function returns field value.
  1151  func (e LongOpCompleted_ResetTriggers_Result_SuccessValidationError) Field() string { return e.field }
  1152  
  1153  // Reason function returns reason value.
  1154  func (e LongOpCompleted_ResetTriggers_Result_SuccessValidationError) Reason() string { return e.reason }
  1155  
  1156  // Cause function returns cause value.
  1157  func (e LongOpCompleted_ResetTriggers_Result_SuccessValidationError) Cause() error { return e.cause }
  1158  
  1159  // Key function returns key value.
  1160  func (e LongOpCompleted_ResetTriggers_Result_SuccessValidationError) Key() bool { return e.key }
  1161  
  1162  // ErrorName returns error name.
  1163  func (e LongOpCompleted_ResetTriggers_Result_SuccessValidationError) ErrorName() string {
  1164  	return "LongOpCompleted_ResetTriggers_Result_SuccessValidationError"
  1165  }
  1166  
  1167  // Error satisfies the builtin error interface
  1168  func (e LongOpCompleted_ResetTriggers_Result_SuccessValidationError) Error() string {
  1169  	cause := ""
  1170  	if e.cause != nil {
  1171  		cause = fmt.Sprintf(" | caused by: %v", e.cause)
  1172  	}
  1173  
  1174  	key := ""
  1175  	if e.key {
  1176  		key = "key for "
  1177  	}
  1178  
  1179  	return fmt.Sprintf(
  1180  		"invalid %sLongOpCompleted_ResetTriggers_Result_Success.%s: %s%s",
  1181  		key,
  1182  		e.field,
  1183  		e.reason,
  1184  		cause)
  1185  }
  1186  
  1187  var _ error = LongOpCompleted_ResetTriggers_Result_SuccessValidationError{}
  1188  
  1189  var _ interface {
  1190  	Field() string
  1191  	Reason() string
  1192  	Key() bool
  1193  	Cause() error
  1194  	ErrorName() string
  1195  } = LongOpCompleted_ResetTriggers_Result_SuccessValidationError{}
  1196  
  1197  // Validate checks the field values on
  1198  // LongOpCompleted_ResetTriggers_Result_Failure with the rules defined in the
  1199  // proto definition for this message. If any rules are violated, the first
  1200  // error encountered is returned, or nil if there are no violations.
  1201  func (m *LongOpCompleted_ResetTriggers_Result_Failure) Validate() error {
  1202  	return m.validate(false)
  1203  }
  1204  
  1205  // ValidateAll checks the field values on
  1206  // LongOpCompleted_ResetTriggers_Result_Failure with the rules defined in the
  1207  // proto definition for this message. If any rules are violated, the result is
  1208  // a list of violation errors wrapped in
  1209  // LongOpCompleted_ResetTriggers_Result_FailureMultiError, or nil if none found.
  1210  func (m *LongOpCompleted_ResetTriggers_Result_Failure) ValidateAll() error {
  1211  	return m.validate(true)
  1212  }
  1213  
  1214  func (m *LongOpCompleted_ResetTriggers_Result_Failure) validate(all bool) error {
  1215  	if m == nil {
  1216  		return nil
  1217  	}
  1218  
  1219  	var errors []error
  1220  
  1221  	// no validation rules for FailureMessage
  1222  
  1223  	if len(errors) > 0 {
  1224  		return LongOpCompleted_ResetTriggers_Result_FailureMultiError(errors)
  1225  	}
  1226  
  1227  	return nil
  1228  }
  1229  
  1230  // LongOpCompleted_ResetTriggers_Result_FailureMultiError is an error wrapping
  1231  // multiple validation errors returned by
  1232  // LongOpCompleted_ResetTriggers_Result_Failure.ValidateAll() if the
  1233  // designated constraints aren't met.
  1234  type LongOpCompleted_ResetTriggers_Result_FailureMultiError []error
  1235  
  1236  // Error returns a concatenation of all the error messages it wraps.
  1237  func (m LongOpCompleted_ResetTriggers_Result_FailureMultiError) Error() string {
  1238  	var msgs []string
  1239  	for _, err := range m {
  1240  		msgs = append(msgs, err.Error())
  1241  	}
  1242  	return strings.Join(msgs, "; ")
  1243  }
  1244  
  1245  // AllErrors returns a list of validation violation errors.
  1246  func (m LongOpCompleted_ResetTriggers_Result_FailureMultiError) AllErrors() []error { return m }
  1247  
  1248  // LongOpCompleted_ResetTriggers_Result_FailureValidationError is the
  1249  // validation error returned by
  1250  // LongOpCompleted_ResetTriggers_Result_Failure.Validate if the designated
  1251  // constraints aren't met.
  1252  type LongOpCompleted_ResetTriggers_Result_FailureValidationError struct {
  1253  	field  string
  1254  	reason string
  1255  	cause  error
  1256  	key    bool
  1257  }
  1258  
  1259  // Field function returns field value.
  1260  func (e LongOpCompleted_ResetTriggers_Result_FailureValidationError) Field() string { return e.field }
  1261  
  1262  // Reason function returns reason value.
  1263  func (e LongOpCompleted_ResetTriggers_Result_FailureValidationError) Reason() string { return e.reason }
  1264  
  1265  // Cause function returns cause value.
  1266  func (e LongOpCompleted_ResetTriggers_Result_FailureValidationError) Cause() error { return e.cause }
  1267  
  1268  // Key function returns key value.
  1269  func (e LongOpCompleted_ResetTriggers_Result_FailureValidationError) Key() bool { return e.key }
  1270  
  1271  // ErrorName returns error name.
  1272  func (e LongOpCompleted_ResetTriggers_Result_FailureValidationError) ErrorName() string {
  1273  	return "LongOpCompleted_ResetTriggers_Result_FailureValidationError"
  1274  }
  1275  
  1276  // Error satisfies the builtin error interface
  1277  func (e LongOpCompleted_ResetTriggers_Result_FailureValidationError) Error() string {
  1278  	cause := ""
  1279  	if e.cause != nil {
  1280  		cause = fmt.Sprintf(" | caused by: %v", e.cause)
  1281  	}
  1282  
  1283  	key := ""
  1284  	if e.key {
  1285  		key = "key for "
  1286  	}
  1287  
  1288  	return fmt.Sprintf(
  1289  		"invalid %sLongOpCompleted_ResetTriggers_Result_Failure.%s: %s%s",
  1290  		key,
  1291  		e.field,
  1292  		e.reason,
  1293  		cause)
  1294  }
  1295  
  1296  var _ error = LongOpCompleted_ResetTriggers_Result_FailureValidationError{}
  1297  
  1298  var _ interface {
  1299  	Field() string
  1300  	Reason() string
  1301  	Key() bool
  1302  	Cause() error
  1303  	ErrorName() string
  1304  } = LongOpCompleted_ResetTriggers_Result_FailureValidationError{}