Documentation ¶
Overview ¶
Package eventpb stores protos for event processing of RunManager.
Index ¶
- Constants
- Variables
- func InstallMockDispatcher(ctx context.Context, f func(runID string, eta time.Time)) context.Context
- type CLsSubmitted
- func (*CLsSubmitted) Descriptor() ([]byte, []int)deprecated
- func (x *CLsSubmitted) GetClids() []int64
- func (*CLsSubmitted) ProtoMessage()
- func (x *CLsSubmitted) ProtoReflect() protoreflect.Message
- func (x *CLsSubmitted) Reset()
- func (x *CLsSubmitted) String() string
- func (m *CLsSubmitted) Validate() error
- func (m *CLsSubmitted) ValidateAll() error
- type CLsSubmittedMultiError
- type CLsSubmittedValidationError
- func (e CLsSubmittedValidationError) Cause() error
- func (e CLsSubmittedValidationError) Error() string
- func (e CLsSubmittedValidationError) ErrorName() string
- func (e CLsSubmittedValidationError) Field() string
- func (e CLsSubmittedValidationError) Key() bool
- func (e CLsSubmittedValidationError) Reason() string
- type Cancel
- func (*Cancel) Descriptor() ([]byte, []int)deprecated
- func (x *Cancel) GetReason() string
- func (*Cancel) ProtoMessage()
- func (x *Cancel) ProtoReflect() protoreflect.Message
- func (x *Cancel) Reset()
- func (x *Cancel) String() string
- func (m *Cancel) Validate() error
- func (m *Cancel) ValidateAll() error
- type CancelMultiError
- type CancelValidationError
- type Event
- func (*Event) Descriptor() ([]byte, []int)deprecated
- func (x *Event) GetCancel() *Cancel
- func (x *Event) GetClsSubmitted() *CLsSubmitted
- func (x *Event) GetClsUpdated() *changelist.CLUpdatedEvents
- func (m *Event) GetEvent() isEvent_Event
- func (x *Event) GetLongOpCompleted() *LongOpCompleted
- func (x *Event) GetNewConfig() *NewConfig
- func (x *Event) GetParentRunCompleted() *ParentRunCompleted
- func (x *Event) GetPoke() *Poke
- func (x *Event) GetProcessAfter() *timestamppb.Timestamp
- func (x *Event) GetReadyForSubmission() *ReadyForSubmission
- func (x *Event) GetStart() *Start
- func (x *Event) GetSubmissionCompleted() *SubmissionCompleted
- func (x *Event) GetTryjobsUpdated() *tryjob.TryjobUpdatedEvents
- func (*Event) ProtoMessage()
- func (x *Event) ProtoReflect() protoreflect.Message
- func (x *Event) Reset()
- func (x *Event) String() string
- func (m *Event) Validate() error
- func (m *Event) ValidateAll() error
- type EventMultiError
- type EventValidationError
- type Event_Cancel
- type Event_ClsSubmitted
- type Event_ClsUpdated
- type Event_LongOpCompleted
- type Event_NewConfig
- type Event_ParentRunCompleted
- type Event_Poke
- type Event_ReadyForSubmission
- type Event_Start
- type Event_SubmissionCompleted
- type Event_TryjobsUpdated
- type KickManageRunTask
- func (*KickManageRunTask) Descriptor() ([]byte, []int)deprecated
- func (x *KickManageRunTask) GetEta() *timestamppb.Timestamp
- func (x *KickManageRunTask) GetRunId() string
- func (*KickManageRunTask) ProtoMessage()
- func (x *KickManageRunTask) ProtoReflect() protoreflect.Message
- func (x *KickManageRunTask) Reset()
- func (x *KickManageRunTask) String() string
- func (m *KickManageRunTask) Validate() error
- func (m *KickManageRunTask) ValidateAll() error
- type KickManageRunTaskMultiError
- type KickManageRunTaskValidationError
- func (e KickManageRunTaskValidationError) Cause() error
- func (e KickManageRunTaskValidationError) Error() string
- func (e KickManageRunTaskValidationError) ErrorName() string
- func (e KickManageRunTaskValidationError) Field() string
- func (e KickManageRunTaskValidationError) Key() bool
- func (e KickManageRunTaskValidationError) Reason() string
- type LongOpCompleted
- func (*LongOpCompleted) Descriptor() ([]byte, []int)deprecated
- func (x *LongOpCompleted) GetExecutePostAction() *LongOpCompleted_ExecutePostActionResult
- func (x *LongOpCompleted) GetExecuteTryjobs() *tryjob.ExecuteTryjobsResult
- func (x *LongOpCompleted) GetOperationId() string
- func (x *LongOpCompleted) GetPostGerritMessage() *LongOpCompleted_PostGerritMessage
- func (x *LongOpCompleted) GetPostStartMessage() *LongOpCompleted_PostStartMessage
- func (x *LongOpCompleted) GetResetTriggers() *LongOpCompleted_ResetTriggers
- func (m *LongOpCompleted) GetResult() isLongOpCompleted_Result
- func (x *LongOpCompleted) GetStatus() LongOpCompleted_Status
- func (*LongOpCompleted) ProtoMessage()
- func (x *LongOpCompleted) ProtoReflect() protoreflect.Message
- func (x *LongOpCompleted) Reset()
- func (x *LongOpCompleted) String() string
- func (m *LongOpCompleted) Validate() error
- func (m *LongOpCompleted) ValidateAll() error
- type LongOpCompletedMultiError
- type LongOpCompletedValidationError
- func (e LongOpCompletedValidationError) Cause() error
- func (e LongOpCompletedValidationError) Error() string
- func (e LongOpCompletedValidationError) ErrorName() string
- func (e LongOpCompletedValidationError) Field() string
- func (e LongOpCompletedValidationError) Key() bool
- func (e LongOpCompletedValidationError) Reason() string
- type LongOpCompleted_ExecutePostAction
- type LongOpCompleted_ExecutePostActionResult
- func (*LongOpCompleted_ExecutePostActionResult) Descriptor() ([]byte, []int)deprecated
- func (x *LongOpCompleted_ExecutePostActionResult) GetSummary() string
- func (*LongOpCompleted_ExecutePostActionResult) ProtoMessage()
- func (x *LongOpCompleted_ExecutePostActionResult) ProtoReflect() protoreflect.Message
- func (x *LongOpCompleted_ExecutePostActionResult) Reset()
- func (x *LongOpCompleted_ExecutePostActionResult) String() string
- func (m *LongOpCompleted_ExecutePostActionResult) Validate() error
- func (m *LongOpCompleted_ExecutePostActionResult) ValidateAll() error
- type LongOpCompleted_ExecutePostActionResultMultiError
- type LongOpCompleted_ExecutePostActionResultValidationError
- func (e LongOpCompleted_ExecutePostActionResultValidationError) Cause() error
- func (e LongOpCompleted_ExecutePostActionResultValidationError) Error() string
- func (e LongOpCompleted_ExecutePostActionResultValidationError) ErrorName() string
- func (e LongOpCompleted_ExecutePostActionResultValidationError) Field() string
- func (e LongOpCompleted_ExecutePostActionResultValidationError) Key() bool
- func (e LongOpCompleted_ExecutePostActionResultValidationError) Reason() string
- type LongOpCompleted_ExecuteTryjobs
- type LongOpCompleted_PostGerritMessage
- func (*LongOpCompleted_PostGerritMessage) Descriptor() ([]byte, []int)deprecated
- func (x *LongOpCompleted_PostGerritMessage) GetTime() *timestamppb.Timestamp
- func (*LongOpCompleted_PostGerritMessage) ProtoMessage()
- func (x *LongOpCompleted_PostGerritMessage) ProtoReflect() protoreflect.Message
- func (x *LongOpCompleted_PostGerritMessage) Reset()
- func (x *LongOpCompleted_PostGerritMessage) String() string
- func (m *LongOpCompleted_PostGerritMessage) Validate() error
- func (m *LongOpCompleted_PostGerritMessage) ValidateAll() error
- type LongOpCompleted_PostGerritMessageMultiError
- type LongOpCompleted_PostGerritMessageValidationError
- func (e LongOpCompleted_PostGerritMessageValidationError) Cause() error
- func (e LongOpCompleted_PostGerritMessageValidationError) Error() string
- func (e LongOpCompleted_PostGerritMessageValidationError) ErrorName() string
- func (e LongOpCompleted_PostGerritMessageValidationError) Field() string
- func (e LongOpCompleted_PostGerritMessageValidationError) Key() bool
- func (e LongOpCompleted_PostGerritMessageValidationError) Reason() string
- type LongOpCompleted_PostGerritMessage_
- type LongOpCompleted_PostStartMessage
- func (*LongOpCompleted_PostStartMessage) Descriptor() ([]byte, []int)deprecated
- func (x *LongOpCompleted_PostStartMessage) GetTime() *timestamppb.Timestamp
- func (*LongOpCompleted_PostStartMessage) ProtoMessage()
- func (x *LongOpCompleted_PostStartMessage) ProtoReflect() protoreflect.Message
- func (x *LongOpCompleted_PostStartMessage) Reset()
- func (x *LongOpCompleted_PostStartMessage) String() string
- func (m *LongOpCompleted_PostStartMessage) Validate() error
- func (m *LongOpCompleted_PostStartMessage) ValidateAll() error
- type LongOpCompleted_PostStartMessageMultiError
- type LongOpCompleted_PostStartMessageValidationError
- func (e LongOpCompleted_PostStartMessageValidationError) Cause() error
- func (e LongOpCompleted_PostStartMessageValidationError) Error() string
- func (e LongOpCompleted_PostStartMessageValidationError) ErrorName() string
- func (e LongOpCompleted_PostStartMessageValidationError) Field() string
- func (e LongOpCompleted_PostStartMessageValidationError) Key() bool
- func (e LongOpCompleted_PostStartMessageValidationError) Reason() string
- type LongOpCompleted_PostStartMessage_
- type LongOpCompleted_ResetTriggers
- func (*LongOpCompleted_ResetTriggers) Descriptor() ([]byte, []int)deprecated
- func (x *LongOpCompleted_ResetTriggers) GetResults() []*LongOpCompleted_ResetTriggers_Result
- func (*LongOpCompleted_ResetTriggers) ProtoMessage()
- func (x *LongOpCompleted_ResetTriggers) ProtoReflect() protoreflect.Message
- func (x *LongOpCompleted_ResetTriggers) Reset()
- func (x *LongOpCompleted_ResetTriggers) String() string
- func (m *LongOpCompleted_ResetTriggers) Validate() error
- func (m *LongOpCompleted_ResetTriggers) ValidateAll() error
- type LongOpCompleted_ResetTriggersMultiError
- type LongOpCompleted_ResetTriggersValidationError
- func (e LongOpCompleted_ResetTriggersValidationError) Cause() error
- func (e LongOpCompleted_ResetTriggersValidationError) Error() string
- func (e LongOpCompleted_ResetTriggersValidationError) ErrorName() string
- func (e LongOpCompleted_ResetTriggersValidationError) Field() string
- func (e LongOpCompleted_ResetTriggersValidationError) Key() bool
- func (e LongOpCompleted_ResetTriggersValidationError) Reason() string
- type LongOpCompleted_ResetTriggers_
- type LongOpCompleted_ResetTriggers_Result
- func (*LongOpCompleted_ResetTriggers_Result) Descriptor() ([]byte, []int)deprecated
- func (m *LongOpCompleted_ResetTriggers_Result) GetDetail() isLongOpCompleted_ResetTriggers_Result_Detail
- func (x *LongOpCompleted_ResetTriggers_Result) GetExternalId() string
- func (x *LongOpCompleted_ResetTriggers_Result) GetFailureInfo() *LongOpCompleted_ResetTriggers_Result_Failure
- func (x *LongOpCompleted_ResetTriggers_Result) GetId() int64
- func (x *LongOpCompleted_ResetTriggers_Result) GetSuccessInfo() *LongOpCompleted_ResetTriggers_Result_Success
- func (*LongOpCompleted_ResetTriggers_Result) ProtoMessage()
- func (x *LongOpCompleted_ResetTriggers_Result) ProtoReflect() protoreflect.Message
- func (x *LongOpCompleted_ResetTriggers_Result) Reset()
- func (x *LongOpCompleted_ResetTriggers_Result) String() string
- func (m *LongOpCompleted_ResetTriggers_Result) Validate() error
- func (m *LongOpCompleted_ResetTriggers_Result) ValidateAll() error
- type LongOpCompleted_ResetTriggers_ResultMultiError
- type LongOpCompleted_ResetTriggers_ResultValidationError
- func (e LongOpCompleted_ResetTriggers_ResultValidationError) Cause() error
- func (e LongOpCompleted_ResetTriggers_ResultValidationError) Error() string
- func (e LongOpCompleted_ResetTriggers_ResultValidationError) ErrorName() string
- func (e LongOpCompleted_ResetTriggers_ResultValidationError) Field() string
- func (e LongOpCompleted_ResetTriggers_ResultValidationError) Key() bool
- func (e LongOpCompleted_ResetTriggers_ResultValidationError) Reason() string
- type LongOpCompleted_ResetTriggers_Result_Failure
- func (*LongOpCompleted_ResetTriggers_Result_Failure) Descriptor() ([]byte, []int)deprecated
- func (x *LongOpCompleted_ResetTriggers_Result_Failure) GetFailureMessage() string
- func (*LongOpCompleted_ResetTriggers_Result_Failure) ProtoMessage()
- func (x *LongOpCompleted_ResetTriggers_Result_Failure) ProtoReflect() protoreflect.Message
- func (x *LongOpCompleted_ResetTriggers_Result_Failure) Reset()
- func (x *LongOpCompleted_ResetTriggers_Result_Failure) String() string
- func (m *LongOpCompleted_ResetTriggers_Result_Failure) Validate() error
- func (m *LongOpCompleted_ResetTriggers_Result_Failure) ValidateAll() error
- type LongOpCompleted_ResetTriggers_Result_FailureInfo
- type LongOpCompleted_ResetTriggers_Result_FailureMultiError
- type LongOpCompleted_ResetTriggers_Result_FailureValidationError
- func (e LongOpCompleted_ResetTriggers_Result_FailureValidationError) Cause() error
- func (e LongOpCompleted_ResetTriggers_Result_FailureValidationError) Error() string
- func (e LongOpCompleted_ResetTriggers_Result_FailureValidationError) ErrorName() string
- func (e LongOpCompleted_ResetTriggers_Result_FailureValidationError) Field() string
- func (e LongOpCompleted_ResetTriggers_Result_FailureValidationError) Key() bool
- func (e LongOpCompleted_ResetTriggers_Result_FailureValidationError) Reason() string
- type LongOpCompleted_ResetTriggers_Result_Success
- func (*LongOpCompleted_ResetTriggers_Result_Success) Descriptor() ([]byte, []int)deprecated
- func (x *LongOpCompleted_ResetTriggers_Result_Success) GetResetAt() *timestamppb.Timestamp
- func (*LongOpCompleted_ResetTriggers_Result_Success) ProtoMessage()
- func (x *LongOpCompleted_ResetTriggers_Result_Success) ProtoReflect() protoreflect.Message
- func (x *LongOpCompleted_ResetTriggers_Result_Success) Reset()
- func (x *LongOpCompleted_ResetTriggers_Result_Success) String() string
- func (m *LongOpCompleted_ResetTriggers_Result_Success) Validate() error
- func (m *LongOpCompleted_ResetTriggers_Result_Success) ValidateAll() error
- type LongOpCompleted_ResetTriggers_Result_SuccessInfo
- type LongOpCompleted_ResetTriggers_Result_SuccessMultiError
- type LongOpCompleted_ResetTriggers_Result_SuccessValidationError
- func (e LongOpCompleted_ResetTriggers_Result_SuccessValidationError) Cause() error
- func (e LongOpCompleted_ResetTriggers_Result_SuccessValidationError) Error() string
- func (e LongOpCompleted_ResetTriggers_Result_SuccessValidationError) ErrorName() string
- func (e LongOpCompleted_ResetTriggers_Result_SuccessValidationError) Field() string
- func (e LongOpCompleted_ResetTriggers_Result_SuccessValidationError) Key() bool
- func (e LongOpCompleted_ResetTriggers_Result_SuccessValidationError) Reason() string
- type LongOpCompleted_Status
- func (LongOpCompleted_Status) Descriptor() protoreflect.EnumDescriptor
- func (x LongOpCompleted_Status) Enum() *LongOpCompleted_Status
- func (LongOpCompleted_Status) EnumDescriptor() ([]byte, []int)deprecated
- func (x LongOpCompleted_Status) Number() protoreflect.EnumNumber
- func (x LongOpCompleted_Status) String() string
- func (LongOpCompleted_Status) Type() protoreflect.EnumType
- type ManageRunLongOpTask
- func (*ManageRunLongOpTask) Descriptor() ([]byte, []int)deprecated
- func (x *ManageRunLongOpTask) GetOperationId() string
- func (x *ManageRunLongOpTask) GetRunId() string
- func (*ManageRunLongOpTask) ProtoMessage()
- func (x *ManageRunLongOpTask) ProtoReflect() protoreflect.Message
- func (x *ManageRunLongOpTask) Reset()
- func (x *ManageRunLongOpTask) String() string
- func (m *ManageRunLongOpTask) Validate() error
- func (m *ManageRunLongOpTask) ValidateAll() error
- type ManageRunLongOpTaskMultiError
- type ManageRunLongOpTaskValidationError
- func (e ManageRunLongOpTaskValidationError) Cause() error
- func (e ManageRunLongOpTaskValidationError) Error() string
- func (e ManageRunLongOpTaskValidationError) ErrorName() string
- func (e ManageRunLongOpTaskValidationError) Field() string
- func (e ManageRunLongOpTaskValidationError) Key() bool
- func (e ManageRunLongOpTaskValidationError) Reason() string
- type ManageRunTask
- func (*ManageRunTask) Descriptor() ([]byte, []int)deprecated
- func (x *ManageRunTask) GetRunId() string
- func (*ManageRunTask) ProtoMessage()
- func (x *ManageRunTask) ProtoReflect() protoreflect.Message
- func (x *ManageRunTask) Reset()
- func (x *ManageRunTask) String() string
- func (m *ManageRunTask) Validate() error
- func (m *ManageRunTask) ValidateAll() error
- type ManageRunTaskMultiError
- type ManageRunTaskValidationError
- func (e ManageRunTaskValidationError) Cause() error
- func (e ManageRunTaskValidationError) Error() string
- func (e ManageRunTaskValidationError) ErrorName() string
- func (e ManageRunTaskValidationError) Field() string
- func (e ManageRunTaskValidationError) Key() bool
- func (e ManageRunTaskValidationError) Reason() string
- type NewConfig
- func (*NewConfig) Descriptor() ([]byte, []int)deprecated
- func (x *NewConfig) GetEversion() int64
- func (x *NewConfig) GetHash() string
- func (*NewConfig) ProtoMessage()
- func (x *NewConfig) ProtoReflect() protoreflect.Message
- func (x *NewConfig) Reset()
- func (x *NewConfig) String() string
- func (m *NewConfig) Validate() error
- func (m *NewConfig) ValidateAll() error
- type NewConfigMultiError
- type NewConfigValidationError
- type ParentRunCompleted
- func (*ParentRunCompleted) Descriptor() ([]byte, []int)deprecated
- func (*ParentRunCompleted) ProtoMessage()
- func (x *ParentRunCompleted) ProtoReflect() protoreflect.Message
- func (x *ParentRunCompleted) Reset()
- func (x *ParentRunCompleted) String() string
- func (m *ParentRunCompleted) Validate() error
- func (m *ParentRunCompleted) ValidateAll() error
- type ParentRunCompletedMultiError
- type ParentRunCompletedValidationError
- func (e ParentRunCompletedValidationError) Cause() error
- func (e ParentRunCompletedValidationError) Error() string
- func (e ParentRunCompletedValidationError) ErrorName() string
- func (e ParentRunCompletedValidationError) Field() string
- func (e ParentRunCompletedValidationError) Key() bool
- func (e ParentRunCompletedValidationError) Reason() string
- type Poke
- type PokeMultiError
- type PokeValidationError
- type ReadyForSubmission
- func (*ReadyForSubmission) Descriptor() ([]byte, []int)deprecated
- func (*ReadyForSubmission) ProtoMessage()
- func (x *ReadyForSubmission) ProtoReflect() protoreflect.Message
- func (x *ReadyForSubmission) Reset()
- func (x *ReadyForSubmission) String() string
- func (m *ReadyForSubmission) Validate() error
- func (m *ReadyForSubmission) ValidateAll() error
- type ReadyForSubmissionMultiError
- type ReadyForSubmissionValidationError
- func (e ReadyForSubmissionValidationError) Cause() error
- func (e ReadyForSubmissionValidationError) Error() string
- func (e ReadyForSubmissionValidationError) ErrorName() string
- func (e ReadyForSubmissionValidationError) Field() string
- func (e ReadyForSubmissionValidationError) Key() bool
- func (e ReadyForSubmissionValidationError) Reason() string
- type Start
- type StartMultiError
- type StartValidationError
- type SubmissionCompleted
- func (*SubmissionCompleted) Descriptor() ([]byte, []int)deprecated
- func (x *SubmissionCompleted) GetClFailures() *SubmissionCompleted_CLSubmissionFailures
- func (m *SubmissionCompleted) GetFailureReason() isSubmissionCompleted_FailureReason
- func (x *SubmissionCompleted) GetQueueReleaseTimestamp() *timestamppb.Timestamp
- func (x *SubmissionCompleted) GetResult() SubmissionResult
- func (x *SubmissionCompleted) GetTimeout() bool
- func (*SubmissionCompleted) ProtoMessage()
- func (x *SubmissionCompleted) ProtoReflect() protoreflect.Message
- func (x *SubmissionCompleted) Reset()
- func (x *SubmissionCompleted) String() string
- func (m *SubmissionCompleted) Validate() error
- func (m *SubmissionCompleted) ValidateAll() error
- type SubmissionCompletedMultiError
- type SubmissionCompletedValidationError
- func (e SubmissionCompletedValidationError) Cause() error
- func (e SubmissionCompletedValidationError) Error() string
- func (e SubmissionCompletedValidationError) ErrorName() string
- func (e SubmissionCompletedValidationError) Field() string
- func (e SubmissionCompletedValidationError) Key() bool
- func (e SubmissionCompletedValidationError) Reason() string
- type SubmissionCompleted_CLSubmissionFailure
- func (*SubmissionCompleted_CLSubmissionFailure) Descriptor() ([]byte, []int)deprecated
- func (x *SubmissionCompleted_CLSubmissionFailure) GetClid() int64
- func (x *SubmissionCompleted_CLSubmissionFailure) GetMessage() string
- func (*SubmissionCompleted_CLSubmissionFailure) ProtoMessage()
- func (x *SubmissionCompleted_CLSubmissionFailure) ProtoReflect() protoreflect.Message
- func (x *SubmissionCompleted_CLSubmissionFailure) Reset()
- func (x *SubmissionCompleted_CLSubmissionFailure) String() string
- func (m *SubmissionCompleted_CLSubmissionFailure) Validate() error
- func (m *SubmissionCompleted_CLSubmissionFailure) ValidateAll() error
- type SubmissionCompleted_CLSubmissionFailureMultiError
- type SubmissionCompleted_CLSubmissionFailureValidationError
- func (e SubmissionCompleted_CLSubmissionFailureValidationError) Cause() error
- func (e SubmissionCompleted_CLSubmissionFailureValidationError) Error() string
- func (e SubmissionCompleted_CLSubmissionFailureValidationError) ErrorName() string
- func (e SubmissionCompleted_CLSubmissionFailureValidationError) Field() string
- func (e SubmissionCompleted_CLSubmissionFailureValidationError) Key() bool
- func (e SubmissionCompleted_CLSubmissionFailureValidationError) Reason() string
- type SubmissionCompleted_CLSubmissionFailures
- func (*SubmissionCompleted_CLSubmissionFailures) Descriptor() ([]byte, []int)deprecated
- func (x *SubmissionCompleted_CLSubmissionFailures) GetFailures() []*SubmissionCompleted_CLSubmissionFailure
- func (*SubmissionCompleted_CLSubmissionFailures) ProtoMessage()
- func (x *SubmissionCompleted_CLSubmissionFailures) ProtoReflect() protoreflect.Message
- func (x *SubmissionCompleted_CLSubmissionFailures) Reset()
- func (x *SubmissionCompleted_CLSubmissionFailures) String() string
- func (m *SubmissionCompleted_CLSubmissionFailures) Validate() error
- func (m *SubmissionCompleted_CLSubmissionFailures) ValidateAll() error
- type SubmissionCompleted_CLSubmissionFailuresMultiError
- type SubmissionCompleted_CLSubmissionFailuresValidationError
- func (e SubmissionCompleted_CLSubmissionFailuresValidationError) Cause() error
- func (e SubmissionCompleted_CLSubmissionFailuresValidationError) Error() string
- func (e SubmissionCompleted_CLSubmissionFailuresValidationError) ErrorName() string
- func (e SubmissionCompleted_CLSubmissionFailuresValidationError) Field() string
- func (e SubmissionCompleted_CLSubmissionFailuresValidationError) Key() bool
- func (e SubmissionCompleted_CLSubmissionFailuresValidationError) Reason() string
- type SubmissionCompleted_ClFailures
- type SubmissionCompleted_Timeout
- type SubmissionResult
- func (SubmissionResult) Descriptor() protoreflect.EnumDescriptor
- func (x SubmissionResult) Enum() *SubmissionResult
- func (SubmissionResult) EnumDescriptor() ([]byte, []int)deprecated
- func (x SubmissionResult) Number() protoreflect.EnumNumber
- func (x SubmissionResult) String() string
- func (SubmissionResult) Type() protoreflect.EnumType
- type TasksBinding
Constants ¶
const ( // ManageRunTaskClass is the ID of ManageRunTask Class. ManageRunTaskClass = "manage-run" // ManageRunLongOpTaskClass is the ID of the ManageRunLongOp Class. ManageRunLongOpTaskClass = "manage-run-long-op" )
Variables ¶
var ( LongOpCompleted_Status_name = map[int32]string{ 0: "LONG_OP_STATUS_UNSPECIFIED", 1: "SUCCEEDED", 2: "FAILED", 3: "CANCELLED", 4: "EXPIRED", } LongOpCompleted_Status_value = map[string]int32{ "LONG_OP_STATUS_UNSPECIFIED": 0, "SUCCEEDED": 1, "FAILED": 2, "CANCELLED": 3, "EXPIRED": 4, } )
Enum value maps for LongOpCompleted_Status.
var ( SubmissionResult_name = map[int32]string{ 0: "SUBMISSION_RESULT_UNSPECIFIED", 1: "SUCCEEDED", 2: "FAILED_TRANSIENT", 3: "FAILED_PERMANENT", } SubmissionResult_value = map[string]int32{ "SUBMISSION_RESULT_UNSPECIFIED": 0, "SUCCEEDED": 1, "FAILED_TRANSIENT": 2, "FAILED_PERMANENT": 3, } )
Enum value maps for SubmissionResult.
var File_go_chromium_org_luci_cv_internal_run_eventpb_events_proto protoreflect.FileDescriptor
var File_go_chromium_org_luci_cv_internal_run_eventpb_longop_proto protoreflect.FileDescriptor
var File_go_chromium_org_luci_cv_internal_run_eventpb_submission_proto protoreflect.FileDescriptor
var File_go_chromium_org_luci_cv_internal_run_eventpb_tasks_proto protoreflect.FileDescriptor
Functions ¶
Types ¶
type CLsSubmitted ¶
type CLsSubmitted struct { // Internal ID of CLs that were submitted successfully. Clids []int64 `protobuf:"varint,1,rep,packed,name=clids,proto3" json:"clids,omitempty"` // contains filtered or unexported fields }
func (*CLsSubmitted) Descriptor
deprecated
func (*CLsSubmitted) Descriptor() ([]byte, []int)
Deprecated: Use CLsSubmitted.ProtoReflect.Descriptor instead.
func (*CLsSubmitted) GetClids ¶
func (x *CLsSubmitted) GetClids() []int64
func (*CLsSubmitted) ProtoMessage ¶
func (*CLsSubmitted) ProtoMessage()
func (*CLsSubmitted) ProtoReflect ¶
func (x *CLsSubmitted) ProtoReflect() protoreflect.Message
func (*CLsSubmitted) Reset ¶
func (x *CLsSubmitted) Reset()
func (*CLsSubmitted) String ¶
func (x *CLsSubmitted) String() string
func (*CLsSubmitted) Validate ¶
func (m *CLsSubmitted) Validate() error
Validate checks the field values on CLsSubmitted with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CLsSubmitted) ValidateAll ¶
func (m *CLsSubmitted) ValidateAll() error
ValidateAll checks the field values on CLsSubmitted with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CLsSubmittedMultiError, or nil if none found.
type CLsSubmittedMultiError ¶
type CLsSubmittedMultiError []error
CLsSubmittedMultiError is an error wrapping multiple validation errors returned by CLsSubmitted.ValidateAll() if the designated constraints aren't met.
func (CLsSubmittedMultiError) AllErrors ¶
func (m CLsSubmittedMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CLsSubmittedMultiError) Error ¶
func (m CLsSubmittedMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CLsSubmittedValidationError ¶
type CLsSubmittedValidationError struct {
// contains filtered or unexported fields
}
CLsSubmittedValidationError is the validation error returned by CLsSubmitted.Validate if the designated constraints aren't met.
func (CLsSubmittedValidationError) Cause ¶
func (e CLsSubmittedValidationError) Cause() error
Cause function returns cause value.
func (CLsSubmittedValidationError) Error ¶
func (e CLsSubmittedValidationError) Error() string
Error satisfies the builtin error interface
func (CLsSubmittedValidationError) ErrorName ¶
func (e CLsSubmittedValidationError) ErrorName() string
ErrorName returns error name.
func (CLsSubmittedValidationError) Field ¶
func (e CLsSubmittedValidationError) Field() string
Field function returns field value.
func (CLsSubmittedValidationError) Key ¶
func (e CLsSubmittedValidationError) Key() bool
Key function returns key value.
func (CLsSubmittedValidationError) Reason ¶
func (e CLsSubmittedValidationError) Reason() string
Reason function returns reason value.
type Cancel ¶
type Cancel struct { // reason for cancelling the run. Reason string `protobuf:"bytes,1,opt,name=reason,proto3" json:"reason,omitempty"` // contains filtered or unexported fields }
func (*Cancel) Descriptor
deprecated
func (*Cancel) ProtoMessage ¶
func (*Cancel) ProtoMessage()
func (*Cancel) ProtoReflect ¶
func (x *Cancel) ProtoReflect() protoreflect.Message
func (*Cancel) Validate ¶
Validate checks the field values on Cancel with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Cancel) ValidateAll ¶
ValidateAll checks the field values on Cancel with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CancelMultiError, or nil if none found.
type CancelMultiError ¶
type CancelMultiError []error
CancelMultiError is an error wrapping multiple validation errors returned by Cancel.ValidateAll() if the designated constraints aren't met.
func (CancelMultiError) AllErrors ¶
func (m CancelMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CancelMultiError) Error ¶
func (m CancelMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CancelValidationError ¶
type CancelValidationError struct {
// contains filtered or unexported fields
}
CancelValidationError is the validation error returned by Cancel.Validate if the designated constraints aren't met.
func (CancelValidationError) Cause ¶
func (e CancelValidationError) Cause() error
Cause function returns cause value.
func (CancelValidationError) Error ¶
func (e CancelValidationError) Error() string
Error satisfies the builtin error interface
func (CancelValidationError) ErrorName ¶
func (e CancelValidationError) ErrorName() string
ErrorName returns error name.
func (CancelValidationError) Field ¶
func (e CancelValidationError) Field() string
Field function returns field value.
func (CancelValidationError) Key ¶
func (e CancelValidationError) Key() bool
Key function returns key value.
func (CancelValidationError) Reason ¶
func (e CancelValidationError) Reason() string
Reason function returns reason value.
type Event ¶
type Event struct { // Types that are assignable to Event: // // *Event_Start // *Event_Cancel // *Event_Poke // *Event_NewConfig // *Event_ClsUpdated // *Event_ReadyForSubmission // *Event_ClsSubmitted // *Event_SubmissionCompleted // *Event_LongOpCompleted // *Event_TryjobsUpdated // *Event_ParentRunCompleted Event isEvent_Event `protobuf_oneof:"event"` // Instructs Run Manager that this event can only be processed after // this timestamp. ProcessAfter *timestamppb.Timestamp `protobuf:"bytes,20,opt,name=process_after,json=processAfter,proto3" json:"process_after,omitempty"` // contains filtered or unexported fields }
Event is a container for all kinds of events a Run Manager can receive.
func (*Event) Descriptor
deprecated
func (*Event) GetClsSubmitted ¶
func (x *Event) GetClsSubmitted() *CLsSubmitted
func (*Event) GetClsUpdated ¶
func (x *Event) GetClsUpdated() *changelist.CLUpdatedEvents
func (*Event) GetLongOpCompleted ¶
func (x *Event) GetLongOpCompleted() *LongOpCompleted
func (*Event) GetNewConfig ¶
func (*Event) GetParentRunCompleted ¶
func (x *Event) GetParentRunCompleted() *ParentRunCompleted
func (*Event) GetProcessAfter ¶
func (x *Event) GetProcessAfter() *timestamppb.Timestamp
func (*Event) GetReadyForSubmission ¶
func (x *Event) GetReadyForSubmission() *ReadyForSubmission
func (*Event) GetSubmissionCompleted ¶
func (x *Event) GetSubmissionCompleted() *SubmissionCompleted
func (*Event) GetTryjobsUpdated ¶
func (x *Event) GetTryjobsUpdated() *tryjob.TryjobUpdatedEvents
func (*Event) ProtoMessage ¶
func (*Event) ProtoMessage()
func (*Event) ProtoReflect ¶
func (x *Event) ProtoReflect() protoreflect.Message
func (*Event) Validate ¶
Validate checks the field values on Event with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Event) ValidateAll ¶
ValidateAll checks the field values on Event with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in EventMultiError, or nil if none found.
type EventMultiError ¶
type EventMultiError []error
EventMultiError is an error wrapping multiple validation errors returned by Event.ValidateAll() if the designated constraints aren't met.
func (EventMultiError) AllErrors ¶
func (m EventMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (EventMultiError) Error ¶
func (m EventMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type EventValidationError ¶
type EventValidationError struct {
// contains filtered or unexported fields
}
EventValidationError is the validation error returned by Event.Validate if the designated constraints aren't met.
func (EventValidationError) Cause ¶
func (e EventValidationError) Cause() error
Cause function returns cause value.
func (EventValidationError) Error ¶
func (e EventValidationError) Error() string
Error satisfies the builtin error interface
func (EventValidationError) ErrorName ¶
func (e EventValidationError) ErrorName() string
ErrorName returns error name.
func (EventValidationError) Field ¶
func (e EventValidationError) Field() string
Field function returns field value.
func (EventValidationError) Key ¶
func (e EventValidationError) Key() bool
Key function returns key value.
func (EventValidationError) Reason ¶
func (e EventValidationError) Reason() string
Reason function returns reason value.
type Event_Cancel ¶
type Event_Cancel struct { // On Cancel event, Run Manager will cancel the Run. Cancel *Cancel `protobuf:"bytes,2,opt,name=cancel,proto3,oneof"` }
type Event_ClsSubmitted ¶
type Event_ClsSubmitted struct { // On CLSubmitted event, Run Manager will mark this CL as submitted. ClsSubmitted *CLsSubmitted `protobuf:"bytes,12,opt,name=cls_submitted,json=clsSubmitted,proto3,oneof"` }
type Event_ClsUpdated ¶
type Event_ClsUpdated struct { // On cls_updated event, Run Manager will decide whether to cancel the Run // based on the current CL state. ClsUpdated *changelist.CLUpdatedEvents `protobuf:"bytes,9,opt,name=cls_updated,json=clsUpdated,proto3,oneof"` }
type Event_LongOpCompleted ¶
type Event_LongOpCompleted struct { // On LongOpCompleted event is sent by Run Manager to itself to mark // completion of a long operation. LongOpCompleted *LongOpCompleted `protobuf:"bytes,10,opt,name=long_op_completed,json=longOpCompleted,proto3,oneof"` }
type Event_NewConfig ¶
type Event_NewConfig struct { // On NewConfig event, Run Manager will update config the Run for the // given RunID. // // Sent by Project Manager, which guarantees these events are sent in order // of config updates. See also its `eversion` field. NewConfig *NewConfig `protobuf:"bytes,4,opt,name=new_config,json=newConfig,proto3,oneof"` }
type Event_ParentRunCompleted ¶
type Event_ParentRunCompleted struct { // On parent_run_completed event, Run Manager decides the next step for // the child run. ParentRunCompleted *ParentRunCompleted `protobuf:"bytes,13,opt,name=parent_run_completed,json=parentRunCompleted,proto3,oneof"` }
type Event_Poke ¶
type Event_Poke struct { // On Poke event, Run Manager will check the state of the Run and perform // any action if necessary. // // Sent periodically by Project Manager. Poke *Poke `protobuf:"bytes,3,opt,name=poke,proto3,oneof"` }
type Event_ReadyForSubmission ¶
type Event_ReadyForSubmission struct { // On ReadyForSubmission event, Run Manager will try to submit CLs in // this Run. ReadyForSubmission *ReadyForSubmission `protobuf:"bytes,6,opt,name=ready_for_submission,json=readyForSubmission,proto3,oneof"` }
type Event_Start ¶
type Event_Start struct { // On Start event, Run Manager will start the Run. // // The Run entity must already exist. Start *Start `protobuf:"bytes,1,opt,name=start,proto3,oneof"` }
type Event_SubmissionCompleted ¶
type Event_SubmissionCompleted struct { // On SubmissionCompleted event, Run Manager will look at the submission // result and decide whether to retry this submission or succeed or fail // the Run. SubmissionCompleted *SubmissionCompleted `protobuf:"bytes,8,opt,name=submission_completed,json=submissionCompleted,proto3,oneof"` }
type Event_TryjobsUpdated ¶
type Event_TryjobsUpdated struct { // On tryjobs_updated event, Run Manager decides the next step for those // tryjobs (e.g. retry) and this Run (e.g. fail the Run for critical // tryjob failure). TryjobsUpdated *tryjob.TryjobUpdatedEvents `protobuf:"bytes,11,opt,name=tryjobs_updated,json=tryjobsUpdated,proto3,oneof"` }
type KickManageRunTask ¶
type KickManageRunTask struct { RunId string `protobuf:"bytes,1,opt,name=run_id,json=runId,proto3" json:"run_id,omitempty"` Eta *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=eta,proto3" json:"eta,omitempty"` // contains filtered or unexported fields }
KickManageRunTask starts a task to actually enqueue ManageRunTask. It exists in order to send a deduplicatable ManageRunTask from a transaction.
Queue: "kick-manage-run".
func (*KickManageRunTask) Descriptor
deprecated
func (*KickManageRunTask) Descriptor() ([]byte, []int)
Deprecated: Use KickManageRunTask.ProtoReflect.Descriptor instead.
func (*KickManageRunTask) GetEta ¶
func (x *KickManageRunTask) GetEta() *timestamppb.Timestamp
func (*KickManageRunTask) GetRunId ¶
func (x *KickManageRunTask) GetRunId() string
func (*KickManageRunTask) ProtoMessage ¶
func (*KickManageRunTask) ProtoMessage()
func (*KickManageRunTask) ProtoReflect ¶
func (x *KickManageRunTask) ProtoReflect() protoreflect.Message
func (*KickManageRunTask) Reset ¶
func (x *KickManageRunTask) Reset()
func (*KickManageRunTask) String ¶
func (x *KickManageRunTask) String() string
func (*KickManageRunTask) Validate ¶
func (m *KickManageRunTask) Validate() error
Validate checks the field values on KickManageRunTask with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*KickManageRunTask) ValidateAll ¶
func (m *KickManageRunTask) ValidateAll() error
ValidateAll checks the field values on KickManageRunTask with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in KickManageRunTaskMultiError, or nil if none found.
type KickManageRunTaskMultiError ¶
type KickManageRunTaskMultiError []error
KickManageRunTaskMultiError is an error wrapping multiple validation errors returned by KickManageRunTask.ValidateAll() if the designated constraints aren't met.
func (KickManageRunTaskMultiError) AllErrors ¶
func (m KickManageRunTaskMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (KickManageRunTaskMultiError) Error ¶
func (m KickManageRunTaskMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type KickManageRunTaskValidationError ¶
type KickManageRunTaskValidationError struct {
// contains filtered or unexported fields
}
KickManageRunTaskValidationError is the validation error returned by KickManageRunTask.Validate if the designated constraints aren't met.
func (KickManageRunTaskValidationError) Cause ¶
func (e KickManageRunTaskValidationError) Cause() error
Cause function returns cause value.
func (KickManageRunTaskValidationError) Error ¶
func (e KickManageRunTaskValidationError) Error() string
Error satisfies the builtin error interface
func (KickManageRunTaskValidationError) ErrorName ¶
func (e KickManageRunTaskValidationError) ErrorName() string
ErrorName returns error name.
func (KickManageRunTaskValidationError) Field ¶
func (e KickManageRunTaskValidationError) Field() string
Field function returns field value.
func (KickManageRunTaskValidationError) Key ¶
func (e KickManageRunTaskValidationError) Key() bool
Key function returns key value.
func (KickManageRunTaskValidationError) Reason ¶
func (e KickManageRunTaskValidationError) Reason() string
Reason function returns reason value.
type LongOpCompleted ¶
type LongOpCompleted struct { // Long Operation ID. OperationId string `protobuf:"bytes,1,opt,name=operation_id,json=operationId,proto3" json:"operation_id,omitempty"` // Status of the long operation. Status LongOpCompleted_Status `protobuf:"varint,2,opt,name=status,proto3,enum=cv.internal.run.eventpb.LongOpCompleted_Status" json:"status,omitempty"` // Types that are assignable to Result: // // *LongOpCompleted_PostStartMessage_ // *LongOpCompleted_ResetTriggers_ // *LongOpCompleted_ExecuteTryjobs // *LongOpCompleted_ExecutePostAction // *LongOpCompleted_PostGerritMessage_ Result isLongOpCompleted_Result `protobuf_oneof:"result"` // contains filtered or unexported fields }
func (*LongOpCompleted) Descriptor
deprecated
func (*LongOpCompleted) Descriptor() ([]byte, []int)
Deprecated: Use LongOpCompleted.ProtoReflect.Descriptor instead.
func (*LongOpCompleted) GetExecutePostAction ¶
func (x *LongOpCompleted) GetExecutePostAction() *LongOpCompleted_ExecutePostActionResult
func (*LongOpCompleted) GetExecuteTryjobs ¶
func (x *LongOpCompleted) GetExecuteTryjobs() *tryjob.ExecuteTryjobsResult
func (*LongOpCompleted) GetOperationId ¶
func (x *LongOpCompleted) GetOperationId() string
func (*LongOpCompleted) GetPostGerritMessage ¶
func (x *LongOpCompleted) GetPostGerritMessage() *LongOpCompleted_PostGerritMessage
func (*LongOpCompleted) GetPostStartMessage ¶
func (x *LongOpCompleted) GetPostStartMessage() *LongOpCompleted_PostStartMessage
func (*LongOpCompleted) GetResetTriggers ¶
func (x *LongOpCompleted) GetResetTriggers() *LongOpCompleted_ResetTriggers
func (*LongOpCompleted) GetResult ¶
func (m *LongOpCompleted) GetResult() isLongOpCompleted_Result
func (*LongOpCompleted) GetStatus ¶
func (x *LongOpCompleted) GetStatus() LongOpCompleted_Status
func (*LongOpCompleted) ProtoMessage ¶
func (*LongOpCompleted) ProtoMessage()
func (*LongOpCompleted) ProtoReflect ¶
func (x *LongOpCompleted) ProtoReflect() protoreflect.Message
func (*LongOpCompleted) Reset ¶
func (x *LongOpCompleted) Reset()
func (*LongOpCompleted) String ¶
func (x *LongOpCompleted) String() string
func (*LongOpCompleted) Validate ¶
func (m *LongOpCompleted) Validate() error
Validate checks the field values on LongOpCompleted with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*LongOpCompleted) ValidateAll ¶
func (m *LongOpCompleted) ValidateAll() error
ValidateAll checks the field values on LongOpCompleted with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in LongOpCompletedMultiError, or nil if none found.
type LongOpCompletedMultiError ¶
type LongOpCompletedMultiError []error
LongOpCompletedMultiError is an error wrapping multiple validation errors returned by LongOpCompleted.ValidateAll() if the designated constraints aren't met.
func (LongOpCompletedMultiError) AllErrors ¶
func (m LongOpCompletedMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (LongOpCompletedMultiError) Error ¶
func (m LongOpCompletedMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type LongOpCompletedValidationError ¶
type LongOpCompletedValidationError struct {
// contains filtered or unexported fields
}
LongOpCompletedValidationError is the validation error returned by LongOpCompleted.Validate if the designated constraints aren't met.
func (LongOpCompletedValidationError) Cause ¶
func (e LongOpCompletedValidationError) Cause() error
Cause function returns cause value.
func (LongOpCompletedValidationError) Error ¶
func (e LongOpCompletedValidationError) Error() string
Error satisfies the builtin error interface
func (LongOpCompletedValidationError) ErrorName ¶
func (e LongOpCompletedValidationError) ErrorName() string
ErrorName returns error name.
func (LongOpCompletedValidationError) Field ¶
func (e LongOpCompletedValidationError) Field() string
Field function returns field value.
func (LongOpCompletedValidationError) Key ¶
func (e LongOpCompletedValidationError) Key() bool
Key function returns key value.
func (LongOpCompletedValidationError) Reason ¶
func (e LongOpCompletedValidationError) Reason() string
Reason function returns reason value.
type LongOpCompleted_ExecutePostAction ¶
type LongOpCompleted_ExecutePostAction struct {
ExecutePostAction *LongOpCompleted_ExecutePostActionResult `protobuf:"bytes,7,opt,name=execute_post_action,json=executePostAction,proto3,oneof"`
}
type LongOpCompleted_ExecutePostActionResult ¶
type LongOpCompleted_ExecutePostActionResult struct { Summary string `protobuf:"bytes,1,opt,name=summary,proto3" json:"summary,omitempty"` // contains filtered or unexported fields }
func (*LongOpCompleted_ExecutePostActionResult) Descriptor
deprecated
func (*LongOpCompleted_ExecutePostActionResult) Descriptor() ([]byte, []int)
Deprecated: Use LongOpCompleted_ExecutePostActionResult.ProtoReflect.Descriptor instead.
func (*LongOpCompleted_ExecutePostActionResult) GetSummary ¶
func (x *LongOpCompleted_ExecutePostActionResult) GetSummary() string
func (*LongOpCompleted_ExecutePostActionResult) ProtoMessage ¶
func (*LongOpCompleted_ExecutePostActionResult) ProtoMessage()
func (*LongOpCompleted_ExecutePostActionResult) ProtoReflect ¶
func (x *LongOpCompleted_ExecutePostActionResult) ProtoReflect() protoreflect.Message
func (*LongOpCompleted_ExecutePostActionResult) Reset ¶
func (x *LongOpCompleted_ExecutePostActionResult) Reset()
func (*LongOpCompleted_ExecutePostActionResult) String ¶
func (x *LongOpCompleted_ExecutePostActionResult) String() string
func (*LongOpCompleted_ExecutePostActionResult) Validate ¶
func (m *LongOpCompleted_ExecutePostActionResult) Validate() error
Validate checks the field values on LongOpCompleted_ExecutePostActionResult with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*LongOpCompleted_ExecutePostActionResult) ValidateAll ¶
func (m *LongOpCompleted_ExecutePostActionResult) ValidateAll() error
ValidateAll checks the field values on LongOpCompleted_ExecutePostActionResult with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in LongOpCompleted_ExecutePostActionResultMultiError, or nil if none found.
type LongOpCompleted_ExecutePostActionResultMultiError ¶
type LongOpCompleted_ExecutePostActionResultMultiError []error
LongOpCompleted_ExecutePostActionResultMultiError is an error wrapping multiple validation errors returned by LongOpCompleted_ExecutePostActionResult.ValidateAll() if the designated constraints aren't met.
func (LongOpCompleted_ExecutePostActionResultMultiError) AllErrors ¶
func (m LongOpCompleted_ExecutePostActionResultMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (LongOpCompleted_ExecutePostActionResultMultiError) Error ¶
func (m LongOpCompleted_ExecutePostActionResultMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type LongOpCompleted_ExecutePostActionResultValidationError ¶
type LongOpCompleted_ExecutePostActionResultValidationError struct {
// contains filtered or unexported fields
}
LongOpCompleted_ExecutePostActionResultValidationError is the validation error returned by LongOpCompleted_ExecutePostActionResult.Validate if the designated constraints aren't met.
func (LongOpCompleted_ExecutePostActionResultValidationError) Cause ¶
func (e LongOpCompleted_ExecutePostActionResultValidationError) Cause() error
Cause function returns cause value.
func (LongOpCompleted_ExecutePostActionResultValidationError) Error ¶
func (e LongOpCompleted_ExecutePostActionResultValidationError) Error() string
Error satisfies the builtin error interface
func (LongOpCompleted_ExecutePostActionResultValidationError) ErrorName ¶
func (e LongOpCompleted_ExecutePostActionResultValidationError) ErrorName() string
ErrorName returns error name.
func (LongOpCompleted_ExecutePostActionResultValidationError) Field ¶
func (e LongOpCompleted_ExecutePostActionResultValidationError) Field() string
Field function returns field value.
func (LongOpCompleted_ExecutePostActionResultValidationError) Key ¶
func (e LongOpCompleted_ExecutePostActionResultValidationError) Key() bool
Key function returns key value.
func (LongOpCompleted_ExecutePostActionResultValidationError) Reason ¶
func (e LongOpCompleted_ExecutePostActionResultValidationError) Reason() string
Reason function returns reason value.
type LongOpCompleted_ExecuteTryjobs ¶
type LongOpCompleted_ExecuteTryjobs struct {
ExecuteTryjobs *tryjob.ExecuteTryjobsResult `protobuf:"bytes,5,opt,name=execute_tryjobs,json=executeTryjobs,proto3,oneof"`
}
type LongOpCompleted_PostGerritMessage ¶
type LongOpCompleted_PostGerritMessage struct { // Approximate time when CV became certain that the message was posted on // the last CL. Time *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=time,proto3" json:"time,omitempty"` // contains filtered or unexported fields }
func (*LongOpCompleted_PostGerritMessage) Descriptor
deprecated
func (*LongOpCompleted_PostGerritMessage) Descriptor() ([]byte, []int)
Deprecated: Use LongOpCompleted_PostGerritMessage.ProtoReflect.Descriptor instead.
func (*LongOpCompleted_PostGerritMessage) GetTime ¶
func (x *LongOpCompleted_PostGerritMessage) GetTime() *timestamppb.Timestamp
func (*LongOpCompleted_PostGerritMessage) ProtoMessage ¶
func (*LongOpCompleted_PostGerritMessage) ProtoMessage()
func (*LongOpCompleted_PostGerritMessage) ProtoReflect ¶
func (x *LongOpCompleted_PostGerritMessage) ProtoReflect() protoreflect.Message
func (*LongOpCompleted_PostGerritMessage) Reset ¶
func (x *LongOpCompleted_PostGerritMessage) Reset()
func (*LongOpCompleted_PostGerritMessage) String ¶
func (x *LongOpCompleted_PostGerritMessage) String() string
func (*LongOpCompleted_PostGerritMessage) Validate ¶
func (m *LongOpCompleted_PostGerritMessage) Validate() error
Validate checks the field values on LongOpCompleted_PostGerritMessage with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*LongOpCompleted_PostGerritMessage) ValidateAll ¶
func (m *LongOpCompleted_PostGerritMessage) ValidateAll() error
ValidateAll checks the field values on LongOpCompleted_PostGerritMessage with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in LongOpCompleted_PostGerritMessageMultiError, or nil if none found.
type LongOpCompleted_PostGerritMessageMultiError ¶
type LongOpCompleted_PostGerritMessageMultiError []error
LongOpCompleted_PostGerritMessageMultiError is an error wrapping multiple validation errors returned by LongOpCompleted_PostGerritMessage.ValidateAll() if the designated constraints aren't met.
func (LongOpCompleted_PostGerritMessageMultiError) AllErrors ¶
func (m LongOpCompleted_PostGerritMessageMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (LongOpCompleted_PostGerritMessageMultiError) Error ¶
func (m LongOpCompleted_PostGerritMessageMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type LongOpCompleted_PostGerritMessageValidationError ¶
type LongOpCompleted_PostGerritMessageValidationError struct {
// contains filtered or unexported fields
}
LongOpCompleted_PostGerritMessageValidationError is the validation error returned by LongOpCompleted_PostGerritMessage.Validate if the designated constraints aren't met.
func (LongOpCompleted_PostGerritMessageValidationError) Cause ¶
func (e LongOpCompleted_PostGerritMessageValidationError) Cause() error
Cause function returns cause value.
func (LongOpCompleted_PostGerritMessageValidationError) Error ¶
func (e LongOpCompleted_PostGerritMessageValidationError) Error() string
Error satisfies the builtin error interface
func (LongOpCompleted_PostGerritMessageValidationError) ErrorName ¶
func (e LongOpCompleted_PostGerritMessageValidationError) ErrorName() string
ErrorName returns error name.
func (LongOpCompleted_PostGerritMessageValidationError) Field ¶
func (e LongOpCompleted_PostGerritMessageValidationError) Field() string
Field function returns field value.
func (LongOpCompleted_PostGerritMessageValidationError) Key ¶
func (e LongOpCompleted_PostGerritMessageValidationError) Key() bool
Key function returns key value.
func (LongOpCompleted_PostGerritMessageValidationError) Reason ¶
func (e LongOpCompleted_PostGerritMessageValidationError) Reason() string
Reason function returns reason value.
type LongOpCompleted_PostGerritMessage_ ¶
type LongOpCompleted_PostGerritMessage_ struct {
PostGerritMessage *LongOpCompleted_PostGerritMessage `protobuf:"bytes,8,opt,name=post_gerrit_message,json=postGerritMessage,proto3,oneof"`
}
type LongOpCompleted_PostStartMessage ¶
type LongOpCompleted_PostStartMessage struct { // Approximate time when CV became certain that the message was posted on // the last CL. Time *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=time,proto3" json:"time,omitempty"` // contains filtered or unexported fields }
func (*LongOpCompleted_PostStartMessage) Descriptor
deprecated
func (*LongOpCompleted_PostStartMessage) Descriptor() ([]byte, []int)
Deprecated: Use LongOpCompleted_PostStartMessage.ProtoReflect.Descriptor instead.
func (*LongOpCompleted_PostStartMessage) GetTime ¶
func (x *LongOpCompleted_PostStartMessage) GetTime() *timestamppb.Timestamp
func (*LongOpCompleted_PostStartMessage) ProtoMessage ¶
func (*LongOpCompleted_PostStartMessage) ProtoMessage()
func (*LongOpCompleted_PostStartMessage) ProtoReflect ¶
func (x *LongOpCompleted_PostStartMessage) ProtoReflect() protoreflect.Message
func (*LongOpCompleted_PostStartMessage) Reset ¶
func (x *LongOpCompleted_PostStartMessage) Reset()
func (*LongOpCompleted_PostStartMessage) String ¶
func (x *LongOpCompleted_PostStartMessage) String() string
func (*LongOpCompleted_PostStartMessage) Validate ¶
func (m *LongOpCompleted_PostStartMessage) Validate() error
Validate checks the field values on LongOpCompleted_PostStartMessage with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*LongOpCompleted_PostStartMessage) ValidateAll ¶
func (m *LongOpCompleted_PostStartMessage) ValidateAll() error
ValidateAll checks the field values on LongOpCompleted_PostStartMessage with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in LongOpCompleted_PostStartMessageMultiError, or nil if none found.
type LongOpCompleted_PostStartMessageMultiError ¶
type LongOpCompleted_PostStartMessageMultiError []error
LongOpCompleted_PostStartMessageMultiError is an error wrapping multiple validation errors returned by LongOpCompleted_PostStartMessage.ValidateAll() if the designated constraints aren't met.
func (LongOpCompleted_PostStartMessageMultiError) AllErrors ¶
func (m LongOpCompleted_PostStartMessageMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (LongOpCompleted_PostStartMessageMultiError) Error ¶
func (m LongOpCompleted_PostStartMessageMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type LongOpCompleted_PostStartMessageValidationError ¶
type LongOpCompleted_PostStartMessageValidationError struct {
// contains filtered or unexported fields
}
LongOpCompleted_PostStartMessageValidationError is the validation error returned by LongOpCompleted_PostStartMessage.Validate if the designated constraints aren't met.
func (LongOpCompleted_PostStartMessageValidationError) Cause ¶
func (e LongOpCompleted_PostStartMessageValidationError) Cause() error
Cause function returns cause value.
func (LongOpCompleted_PostStartMessageValidationError) Error ¶
func (e LongOpCompleted_PostStartMessageValidationError) Error() string
Error satisfies the builtin error interface
func (LongOpCompleted_PostStartMessageValidationError) ErrorName ¶
func (e LongOpCompleted_PostStartMessageValidationError) ErrorName() string
ErrorName returns error name.
func (LongOpCompleted_PostStartMessageValidationError) Field ¶
func (e LongOpCompleted_PostStartMessageValidationError) Field() string
Field function returns field value.
func (LongOpCompleted_PostStartMessageValidationError) Key ¶
func (e LongOpCompleted_PostStartMessageValidationError) Key() bool
Key function returns key value.
func (LongOpCompleted_PostStartMessageValidationError) Reason ¶
func (e LongOpCompleted_PostStartMessageValidationError) Reason() string
Reason function returns reason value.
type LongOpCompleted_PostStartMessage_ ¶
type LongOpCompleted_PostStartMessage_ struct {
PostStartMessage *LongOpCompleted_PostStartMessage `protobuf:"bytes,3,opt,name=post_start_message,json=postStartMessage,proto3,oneof"`
}
type LongOpCompleted_ResetTriggers ¶
type LongOpCompleted_ResetTriggers struct { // The top-level long ops status will be SUCCEEDED iff all triggers are // reset successfully, in other word, all results have `reset_at` set. Results []*LongOpCompleted_ResetTriggers_Result `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"` // contains filtered or unexported fields }
func (*LongOpCompleted_ResetTriggers) Descriptor
deprecated
func (*LongOpCompleted_ResetTriggers) Descriptor() ([]byte, []int)
Deprecated: Use LongOpCompleted_ResetTriggers.ProtoReflect.Descriptor instead.
func (*LongOpCompleted_ResetTriggers) GetResults ¶
func (x *LongOpCompleted_ResetTriggers) GetResults() []*LongOpCompleted_ResetTriggers_Result
func (*LongOpCompleted_ResetTriggers) ProtoMessage ¶
func (*LongOpCompleted_ResetTriggers) ProtoMessage()
func (*LongOpCompleted_ResetTriggers) ProtoReflect ¶
func (x *LongOpCompleted_ResetTriggers) ProtoReflect() protoreflect.Message
func (*LongOpCompleted_ResetTriggers) Reset ¶
func (x *LongOpCompleted_ResetTriggers) Reset()
func (*LongOpCompleted_ResetTriggers) String ¶
func (x *LongOpCompleted_ResetTriggers) String() string
func (*LongOpCompleted_ResetTriggers) Validate ¶
func (m *LongOpCompleted_ResetTriggers) Validate() error
Validate checks the field values on LongOpCompleted_ResetTriggers with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*LongOpCompleted_ResetTriggers) ValidateAll ¶
func (m *LongOpCompleted_ResetTriggers) ValidateAll() error
ValidateAll checks the field values on LongOpCompleted_ResetTriggers with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in LongOpCompleted_ResetTriggersMultiError, or nil if none found.
type LongOpCompleted_ResetTriggersMultiError ¶
type LongOpCompleted_ResetTriggersMultiError []error
LongOpCompleted_ResetTriggersMultiError is an error wrapping multiple validation errors returned by LongOpCompleted_ResetTriggers.ValidateAll() if the designated constraints aren't met.
func (LongOpCompleted_ResetTriggersMultiError) AllErrors ¶
func (m LongOpCompleted_ResetTriggersMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (LongOpCompleted_ResetTriggersMultiError) Error ¶
func (m LongOpCompleted_ResetTriggersMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type LongOpCompleted_ResetTriggersValidationError ¶
type LongOpCompleted_ResetTriggersValidationError struct {
// contains filtered or unexported fields
}
LongOpCompleted_ResetTriggersValidationError is the validation error returned by LongOpCompleted_ResetTriggers.Validate if the designated constraints aren't met.
func (LongOpCompleted_ResetTriggersValidationError) Cause ¶
func (e LongOpCompleted_ResetTriggersValidationError) Cause() error
Cause function returns cause value.
func (LongOpCompleted_ResetTriggersValidationError) Error ¶
func (e LongOpCompleted_ResetTriggersValidationError) Error() string
Error satisfies the builtin error interface
func (LongOpCompleted_ResetTriggersValidationError) ErrorName ¶
func (e LongOpCompleted_ResetTriggersValidationError) ErrorName() string
ErrorName returns error name.
func (LongOpCompleted_ResetTriggersValidationError) Field ¶
func (e LongOpCompleted_ResetTriggersValidationError) Field() string
Field function returns field value.
func (LongOpCompleted_ResetTriggersValidationError) Key ¶
func (e LongOpCompleted_ResetTriggersValidationError) Key() bool
Key function returns key value.
func (LongOpCompleted_ResetTriggersValidationError) Reason ¶
func (e LongOpCompleted_ResetTriggersValidationError) Reason() string
Reason function returns reason value.
type LongOpCompleted_ResetTriggers_ ¶
type LongOpCompleted_ResetTriggers_ struct {
ResetTriggers *LongOpCompleted_ResetTriggers `protobuf:"bytes,6,opt,name=reset_triggers,json=resetTriggers,proto3,oneof"`
}
type LongOpCompleted_ResetTriggers_Result ¶
type LongOpCompleted_ResetTriggers_Result struct { // ID of the CL that this long op is trying to reset its trigger. Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // The external id of the CL. ExternalId string `protobuf:"bytes,2,opt,name=external_id,json=externalId,proto3" json:"external_id,omitempty"` // Types that are assignable to Detail: // // *LongOpCompleted_ResetTriggers_Result_SuccessInfo // *LongOpCompleted_ResetTriggers_Result_FailureInfo Detail isLongOpCompleted_ResetTriggers_Result_Detail `protobuf_oneof:"detail"` // contains filtered or unexported fields }
func (*LongOpCompleted_ResetTriggers_Result) Descriptor
deprecated
func (*LongOpCompleted_ResetTriggers_Result) Descriptor() ([]byte, []int)
Deprecated: Use LongOpCompleted_ResetTriggers_Result.ProtoReflect.Descriptor instead.
func (*LongOpCompleted_ResetTriggers_Result) GetDetail ¶
func (m *LongOpCompleted_ResetTriggers_Result) GetDetail() isLongOpCompleted_ResetTriggers_Result_Detail
func (*LongOpCompleted_ResetTriggers_Result) GetExternalId ¶
func (x *LongOpCompleted_ResetTriggers_Result) GetExternalId() string
func (*LongOpCompleted_ResetTriggers_Result) GetFailureInfo ¶
func (x *LongOpCompleted_ResetTriggers_Result) GetFailureInfo() *LongOpCompleted_ResetTriggers_Result_Failure
func (*LongOpCompleted_ResetTriggers_Result) GetId ¶
func (x *LongOpCompleted_ResetTriggers_Result) GetId() int64
func (*LongOpCompleted_ResetTriggers_Result) GetSuccessInfo ¶
func (x *LongOpCompleted_ResetTriggers_Result) GetSuccessInfo() *LongOpCompleted_ResetTriggers_Result_Success
func (*LongOpCompleted_ResetTriggers_Result) ProtoMessage ¶
func (*LongOpCompleted_ResetTriggers_Result) ProtoMessage()
func (*LongOpCompleted_ResetTriggers_Result) ProtoReflect ¶
func (x *LongOpCompleted_ResetTriggers_Result) ProtoReflect() protoreflect.Message
func (*LongOpCompleted_ResetTriggers_Result) Reset ¶
func (x *LongOpCompleted_ResetTriggers_Result) Reset()
func (*LongOpCompleted_ResetTriggers_Result) String ¶
func (x *LongOpCompleted_ResetTriggers_Result) String() string
func (*LongOpCompleted_ResetTriggers_Result) Validate ¶
func (m *LongOpCompleted_ResetTriggers_Result) Validate() error
Validate checks the field values on LongOpCompleted_ResetTriggers_Result with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*LongOpCompleted_ResetTriggers_Result) ValidateAll ¶
func (m *LongOpCompleted_ResetTriggers_Result) ValidateAll() error
ValidateAll checks the field values on LongOpCompleted_ResetTriggers_Result with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in LongOpCompleted_ResetTriggers_ResultMultiError, or nil if none found.
type LongOpCompleted_ResetTriggers_ResultMultiError ¶
type LongOpCompleted_ResetTriggers_ResultMultiError []error
LongOpCompleted_ResetTriggers_ResultMultiError is an error wrapping multiple validation errors returned by LongOpCompleted_ResetTriggers_Result.ValidateAll() if the designated constraints aren't met.
func (LongOpCompleted_ResetTriggers_ResultMultiError) AllErrors ¶
func (m LongOpCompleted_ResetTriggers_ResultMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (LongOpCompleted_ResetTriggers_ResultMultiError) Error ¶
func (m LongOpCompleted_ResetTriggers_ResultMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type LongOpCompleted_ResetTriggers_ResultValidationError ¶
type LongOpCompleted_ResetTriggers_ResultValidationError struct {
// contains filtered or unexported fields
}
LongOpCompleted_ResetTriggers_ResultValidationError is the validation error returned by LongOpCompleted_ResetTriggers_Result.Validate if the designated constraints aren't met.
func (LongOpCompleted_ResetTriggers_ResultValidationError) Cause ¶
func (e LongOpCompleted_ResetTriggers_ResultValidationError) Cause() error
Cause function returns cause value.
func (LongOpCompleted_ResetTriggers_ResultValidationError) Error ¶
func (e LongOpCompleted_ResetTriggers_ResultValidationError) Error() string
Error satisfies the builtin error interface
func (LongOpCompleted_ResetTriggers_ResultValidationError) ErrorName ¶
func (e LongOpCompleted_ResetTriggers_ResultValidationError) ErrorName() string
ErrorName returns error name.
func (LongOpCompleted_ResetTriggers_ResultValidationError) Field ¶
func (e LongOpCompleted_ResetTriggers_ResultValidationError) Field() string
Field function returns field value.
func (LongOpCompleted_ResetTriggers_ResultValidationError) Key ¶
func (e LongOpCompleted_ResetTriggers_ResultValidationError) Key() bool
Key function returns key value.
func (LongOpCompleted_ResetTriggers_ResultValidationError) Reason ¶
func (e LongOpCompleted_ResetTriggers_ResultValidationError) Reason() string
Reason function returns reason value.
type LongOpCompleted_ResetTriggers_Result_Failure ¶
type LongOpCompleted_ResetTriggers_Result_Failure struct { // The message when CV failed to reset the trigger. FailureMessage string `protobuf:"bytes,1,opt,name=failure_message,json=failureMessage,proto3" json:"failure_message,omitempty"` // contains filtered or unexported fields }
func (*LongOpCompleted_ResetTriggers_Result_Failure) Descriptor
deprecated
func (*LongOpCompleted_ResetTriggers_Result_Failure) Descriptor() ([]byte, []int)
Deprecated: Use LongOpCompleted_ResetTriggers_Result_Failure.ProtoReflect.Descriptor instead.
func (*LongOpCompleted_ResetTriggers_Result_Failure) GetFailureMessage ¶
func (x *LongOpCompleted_ResetTriggers_Result_Failure) GetFailureMessage() string
func (*LongOpCompleted_ResetTriggers_Result_Failure) ProtoMessage ¶
func (*LongOpCompleted_ResetTriggers_Result_Failure) ProtoMessage()
func (*LongOpCompleted_ResetTriggers_Result_Failure) ProtoReflect ¶
func (x *LongOpCompleted_ResetTriggers_Result_Failure) ProtoReflect() protoreflect.Message
func (*LongOpCompleted_ResetTriggers_Result_Failure) Reset ¶
func (x *LongOpCompleted_ResetTriggers_Result_Failure) Reset()
func (*LongOpCompleted_ResetTriggers_Result_Failure) String ¶
func (x *LongOpCompleted_ResetTriggers_Result_Failure) String() string
func (*LongOpCompleted_ResetTriggers_Result_Failure) Validate ¶
func (m *LongOpCompleted_ResetTriggers_Result_Failure) Validate() error
Validate checks the field values on LongOpCompleted_ResetTriggers_Result_Failure with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*LongOpCompleted_ResetTriggers_Result_Failure) ValidateAll ¶
func (m *LongOpCompleted_ResetTriggers_Result_Failure) ValidateAll() error
ValidateAll checks the field values on LongOpCompleted_ResetTriggers_Result_Failure with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in LongOpCompleted_ResetTriggers_Result_FailureMultiError, or nil if none found.
type LongOpCompleted_ResetTriggers_Result_FailureInfo ¶
type LongOpCompleted_ResetTriggers_Result_FailureInfo struct {
FailureInfo *LongOpCompleted_ResetTriggers_Result_Failure `protobuf:"bytes,4,opt,name=failure_info,json=failureInfo,proto3,oneof"`
}
type LongOpCompleted_ResetTriggers_Result_FailureMultiError ¶
type LongOpCompleted_ResetTriggers_Result_FailureMultiError []error
LongOpCompleted_ResetTriggers_Result_FailureMultiError is an error wrapping multiple validation errors returned by LongOpCompleted_ResetTriggers_Result_Failure.ValidateAll() if the designated constraints aren't met.
func (LongOpCompleted_ResetTriggers_Result_FailureMultiError) AllErrors ¶
func (m LongOpCompleted_ResetTriggers_Result_FailureMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (LongOpCompleted_ResetTriggers_Result_FailureMultiError) Error ¶
func (m LongOpCompleted_ResetTriggers_Result_FailureMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type LongOpCompleted_ResetTriggers_Result_FailureValidationError ¶
type LongOpCompleted_ResetTriggers_Result_FailureValidationError struct {
// contains filtered or unexported fields
}
LongOpCompleted_ResetTriggers_Result_FailureValidationError is the validation error returned by LongOpCompleted_ResetTriggers_Result_Failure.Validate if the designated constraints aren't met.
func (LongOpCompleted_ResetTriggers_Result_FailureValidationError) Cause ¶
func (e LongOpCompleted_ResetTriggers_Result_FailureValidationError) Cause() error
Cause function returns cause value.
func (LongOpCompleted_ResetTriggers_Result_FailureValidationError) Error ¶
func (e LongOpCompleted_ResetTriggers_Result_FailureValidationError) Error() string
Error satisfies the builtin error interface
func (LongOpCompleted_ResetTriggers_Result_FailureValidationError) ErrorName ¶
func (e LongOpCompleted_ResetTriggers_Result_FailureValidationError) ErrorName() string
ErrorName returns error name.
func (LongOpCompleted_ResetTriggers_Result_FailureValidationError) Field ¶
func (e LongOpCompleted_ResetTriggers_Result_FailureValidationError) Field() string
Field function returns field value.
func (LongOpCompleted_ResetTriggers_Result_FailureValidationError) Key ¶
func (e LongOpCompleted_ResetTriggers_Result_FailureValidationError) Key() bool
Key function returns key value.
func (LongOpCompleted_ResetTriggers_Result_FailureValidationError) Reason ¶
func (e LongOpCompleted_ResetTriggers_Result_FailureValidationError) Reason() string
Reason function returns reason value.
type LongOpCompleted_ResetTriggers_Result_Success ¶
type LongOpCompleted_ResetTriggers_Result_Success struct { // The timestamp when trigger is successfully reset from LUCI CV // PoV. // // It is possible by the time LUCI CV is trying to reset the trigger, // it has already been removed by the user. Therefore, this timestamp // is the time when LUCI CV observes that trigger is removed. ResetAt *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=reset_at,json=resetAt,proto3" json:"reset_at,omitempty"` // contains filtered or unexported fields }
func (*LongOpCompleted_ResetTriggers_Result_Success) Descriptor
deprecated
func (*LongOpCompleted_ResetTriggers_Result_Success) Descriptor() ([]byte, []int)
Deprecated: Use LongOpCompleted_ResetTriggers_Result_Success.ProtoReflect.Descriptor instead.
func (*LongOpCompleted_ResetTriggers_Result_Success) GetResetAt ¶
func (x *LongOpCompleted_ResetTriggers_Result_Success) GetResetAt() *timestamppb.Timestamp
func (*LongOpCompleted_ResetTriggers_Result_Success) ProtoMessage ¶
func (*LongOpCompleted_ResetTriggers_Result_Success) ProtoMessage()
func (*LongOpCompleted_ResetTriggers_Result_Success) ProtoReflect ¶
func (x *LongOpCompleted_ResetTriggers_Result_Success) ProtoReflect() protoreflect.Message
func (*LongOpCompleted_ResetTriggers_Result_Success) Reset ¶
func (x *LongOpCompleted_ResetTriggers_Result_Success) Reset()
func (*LongOpCompleted_ResetTriggers_Result_Success) String ¶
func (x *LongOpCompleted_ResetTriggers_Result_Success) String() string
func (*LongOpCompleted_ResetTriggers_Result_Success) Validate ¶
func (m *LongOpCompleted_ResetTriggers_Result_Success) Validate() error
Validate checks the field values on LongOpCompleted_ResetTriggers_Result_Success with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*LongOpCompleted_ResetTriggers_Result_Success) ValidateAll ¶
func (m *LongOpCompleted_ResetTriggers_Result_Success) ValidateAll() error
ValidateAll checks the field values on LongOpCompleted_ResetTriggers_Result_Success with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in LongOpCompleted_ResetTriggers_Result_SuccessMultiError, or nil if none found.
type LongOpCompleted_ResetTriggers_Result_SuccessInfo ¶
type LongOpCompleted_ResetTriggers_Result_SuccessInfo struct {
SuccessInfo *LongOpCompleted_ResetTriggers_Result_Success `protobuf:"bytes,3,opt,name=success_info,json=successInfo,proto3,oneof"`
}
type LongOpCompleted_ResetTriggers_Result_SuccessMultiError ¶
type LongOpCompleted_ResetTriggers_Result_SuccessMultiError []error
LongOpCompleted_ResetTriggers_Result_SuccessMultiError is an error wrapping multiple validation errors returned by LongOpCompleted_ResetTriggers_Result_Success.ValidateAll() if the designated constraints aren't met.
func (LongOpCompleted_ResetTriggers_Result_SuccessMultiError) AllErrors ¶
func (m LongOpCompleted_ResetTriggers_Result_SuccessMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (LongOpCompleted_ResetTriggers_Result_SuccessMultiError) Error ¶
func (m LongOpCompleted_ResetTriggers_Result_SuccessMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type LongOpCompleted_ResetTriggers_Result_SuccessValidationError ¶
type LongOpCompleted_ResetTriggers_Result_SuccessValidationError struct {
// contains filtered or unexported fields
}
LongOpCompleted_ResetTriggers_Result_SuccessValidationError is the validation error returned by LongOpCompleted_ResetTriggers_Result_Success.Validate if the designated constraints aren't met.
func (LongOpCompleted_ResetTriggers_Result_SuccessValidationError) Cause ¶
func (e LongOpCompleted_ResetTriggers_Result_SuccessValidationError) Cause() error
Cause function returns cause value.
func (LongOpCompleted_ResetTriggers_Result_SuccessValidationError) Error ¶
func (e LongOpCompleted_ResetTriggers_Result_SuccessValidationError) Error() string
Error satisfies the builtin error interface
func (LongOpCompleted_ResetTriggers_Result_SuccessValidationError) ErrorName ¶
func (e LongOpCompleted_ResetTriggers_Result_SuccessValidationError) ErrorName() string
ErrorName returns error name.
func (LongOpCompleted_ResetTriggers_Result_SuccessValidationError) Field ¶
func (e LongOpCompleted_ResetTriggers_Result_SuccessValidationError) Field() string
Field function returns field value.
func (LongOpCompleted_ResetTriggers_Result_SuccessValidationError) Key ¶
func (e LongOpCompleted_ResetTriggers_Result_SuccessValidationError) Key() bool
Key function returns key value.
func (LongOpCompleted_ResetTriggers_Result_SuccessValidationError) Reason ¶
func (e LongOpCompleted_ResetTriggers_Result_SuccessValidationError) Reason() string
Reason function returns reason value.
type LongOpCompleted_Status ¶
type LongOpCompleted_Status int32
const ( LongOpCompleted_LONG_OP_STATUS_UNSPECIFIED LongOpCompleted_Status = 0 // SUCCEEDED means the long operation succeeded. LongOpCompleted_SUCCEEDED LongOpCompleted_Status = 1 // FAILED means the long operation experienced a failure. LongOpCompleted_FAILED LongOpCompleted_Status = 2 // Cancelled is true if the LongOp detected that it was cancelled by the Run // Manager and thus stopped its working before completion. LongOpCompleted_CANCELLED LongOpCompleted_Status = 3 // Expired means the long operation expired. // // If this is the case, the `result` field may be unset: this should be rare // but may happen if Run Manager detects expiry before a LongOpCompleted // event is sent by the long operation handling task. LongOpCompleted_EXPIRED LongOpCompleted_Status = 4 )
func (LongOpCompleted_Status) Descriptor ¶
func (LongOpCompleted_Status) Descriptor() protoreflect.EnumDescriptor
func (LongOpCompleted_Status) Enum ¶
func (x LongOpCompleted_Status) Enum() *LongOpCompleted_Status
func (LongOpCompleted_Status) EnumDescriptor
deprecated
func (LongOpCompleted_Status) EnumDescriptor() ([]byte, []int)
Deprecated: Use LongOpCompleted_Status.Descriptor instead.
func (LongOpCompleted_Status) Number ¶
func (x LongOpCompleted_Status) Number() protoreflect.EnumNumber
func (LongOpCompleted_Status) String ¶
func (x LongOpCompleted_Status) String() string
func (LongOpCompleted_Status) Type ¶
func (LongOpCompleted_Status) Type() protoreflect.EnumType
type ManageRunLongOpTask ¶
type ManageRunLongOpTask struct { RunId string `protobuf:"bytes,1,opt,name=run_id,json=runId,proto3" json:"run_id,omitempty"` OperationId string `protobuf:"bytes,2,opt,name=operation_id,json=operationId,proto3" json:"operation_id,omitempty"` // contains filtered or unexported fields }
ManageRunLongOpTask performs potentially slow work on behalf a Run.
A task of this kind is always created transactionally with the Run entity modification recording the operation in OngoingLongOps.
A task of this kind does not modify the Run entity directly, but communicates back with Run Manager by sending at least the completion event, and possibly other events.
Queue: "manage-run-long-op".
func (*ManageRunLongOpTask) Descriptor
deprecated
func (*ManageRunLongOpTask) Descriptor() ([]byte, []int)
Deprecated: Use ManageRunLongOpTask.ProtoReflect.Descriptor instead.
func (*ManageRunLongOpTask) GetOperationId ¶
func (x *ManageRunLongOpTask) GetOperationId() string
func (*ManageRunLongOpTask) GetRunId ¶
func (x *ManageRunLongOpTask) GetRunId() string
func (*ManageRunLongOpTask) ProtoMessage ¶
func (*ManageRunLongOpTask) ProtoMessage()
func (*ManageRunLongOpTask) ProtoReflect ¶
func (x *ManageRunLongOpTask) ProtoReflect() protoreflect.Message
func (*ManageRunLongOpTask) Reset ¶
func (x *ManageRunLongOpTask) Reset()
func (*ManageRunLongOpTask) String ¶
func (x *ManageRunLongOpTask) String() string
func (*ManageRunLongOpTask) Validate ¶
func (m *ManageRunLongOpTask) Validate() error
Validate checks the field values on ManageRunLongOpTask with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ManageRunLongOpTask) ValidateAll ¶
func (m *ManageRunLongOpTask) ValidateAll() error
ValidateAll checks the field values on ManageRunLongOpTask with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ManageRunLongOpTaskMultiError, or nil if none found.
type ManageRunLongOpTaskMultiError ¶
type ManageRunLongOpTaskMultiError []error
ManageRunLongOpTaskMultiError is an error wrapping multiple validation errors returned by ManageRunLongOpTask.ValidateAll() if the designated constraints aren't met.
func (ManageRunLongOpTaskMultiError) AllErrors ¶
func (m ManageRunLongOpTaskMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ManageRunLongOpTaskMultiError) Error ¶
func (m ManageRunLongOpTaskMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ManageRunLongOpTaskValidationError ¶
type ManageRunLongOpTaskValidationError struct {
// contains filtered or unexported fields
}
ManageRunLongOpTaskValidationError is the validation error returned by ManageRunLongOpTask.Validate if the designated constraints aren't met.
func (ManageRunLongOpTaskValidationError) Cause ¶
func (e ManageRunLongOpTaskValidationError) Cause() error
Cause function returns cause value.
func (ManageRunLongOpTaskValidationError) Error ¶
func (e ManageRunLongOpTaskValidationError) Error() string
Error satisfies the builtin error interface
func (ManageRunLongOpTaskValidationError) ErrorName ¶
func (e ManageRunLongOpTaskValidationError) ErrorName() string
ErrorName returns error name.
func (ManageRunLongOpTaskValidationError) Field ¶
func (e ManageRunLongOpTaskValidationError) Field() string
Field function returns field value.
func (ManageRunLongOpTaskValidationError) Key ¶
func (e ManageRunLongOpTaskValidationError) Key() bool
Key function returns key value.
func (ManageRunLongOpTaskValidationError) Reason ¶
func (e ManageRunLongOpTaskValidationError) Reason() string
Reason function returns reason value.
type ManageRunTask ¶
type ManageRunTask struct { RunId string `protobuf:"bytes,1,opt,name=run_id,json=runId,proto3" json:"run_id,omitempty"` // contains filtered or unexported fields }
ManageRunTask sends a signal to RunManager to process events.
Always used with de-duplication and thus can't be created from a transaction.
Queue: "manage-run".
func (*ManageRunTask) Descriptor
deprecated
func (*ManageRunTask) Descriptor() ([]byte, []int)
Deprecated: Use ManageRunTask.ProtoReflect.Descriptor instead.
func (*ManageRunTask) GetRunId ¶
func (x *ManageRunTask) GetRunId() string
func (*ManageRunTask) ProtoMessage ¶
func (*ManageRunTask) ProtoMessage()
func (*ManageRunTask) ProtoReflect ¶
func (x *ManageRunTask) ProtoReflect() protoreflect.Message
func (*ManageRunTask) Reset ¶
func (x *ManageRunTask) Reset()
func (*ManageRunTask) String ¶
func (x *ManageRunTask) String() string
func (*ManageRunTask) Validate ¶
func (m *ManageRunTask) Validate() error
Validate checks the field values on ManageRunTask with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ManageRunTask) ValidateAll ¶
func (m *ManageRunTask) ValidateAll() error
ValidateAll checks the field values on ManageRunTask with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ManageRunTaskMultiError, or nil if none found.
type ManageRunTaskMultiError ¶
type ManageRunTaskMultiError []error
ManageRunTaskMultiError is an error wrapping multiple validation errors returned by ManageRunTask.ValidateAll() if the designated constraints aren't met.
func (ManageRunTaskMultiError) AllErrors ¶
func (m ManageRunTaskMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ManageRunTaskMultiError) Error ¶
func (m ManageRunTaskMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ManageRunTaskValidationError ¶
type ManageRunTaskValidationError struct {
// contains filtered or unexported fields
}
ManageRunTaskValidationError is the validation error returned by ManageRunTask.Validate if the designated constraints aren't met.
func (ManageRunTaskValidationError) Cause ¶
func (e ManageRunTaskValidationError) Cause() error
Cause function returns cause value.
func (ManageRunTaskValidationError) Error ¶
func (e ManageRunTaskValidationError) Error() string
Error satisfies the builtin error interface
func (ManageRunTaskValidationError) ErrorName ¶
func (e ManageRunTaskValidationError) ErrorName() string
ErrorName returns error name.
func (ManageRunTaskValidationError) Field ¶
func (e ManageRunTaskValidationError) Field() string
Field function returns field value.
func (ManageRunTaskValidationError) Key ¶
func (e ManageRunTaskValidationError) Key() bool
Key function returns key value.
func (ManageRunTaskValidationError) Reason ¶
func (e ManageRunTaskValidationError) Reason() string
Reason function returns reason value.
type NewConfig ¶
type NewConfig struct { // Hash identifying project config version to update to. Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` // Eversion of the project config version identify by hash. // // Provided for identifying the latest NewConfig message // if there are more than one outstanding NewConfig event. Eversion int64 `protobuf:"varint,2,opt,name=eversion,proto3" json:"eversion,omitempty"` // contains filtered or unexported fields }
func (*NewConfig) Descriptor
deprecated
func (*NewConfig) GetEversion ¶
func (*NewConfig) ProtoMessage ¶
func (*NewConfig) ProtoMessage()
func (*NewConfig) ProtoReflect ¶
func (x *NewConfig) ProtoReflect() protoreflect.Message
func (*NewConfig) Validate ¶
Validate checks the field values on NewConfig with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*NewConfig) ValidateAll ¶
ValidateAll checks the field values on NewConfig with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in NewConfigMultiError, or nil if none found.
type NewConfigMultiError ¶
type NewConfigMultiError []error
NewConfigMultiError is an error wrapping multiple validation errors returned by NewConfig.ValidateAll() if the designated constraints aren't met.
func (NewConfigMultiError) AllErrors ¶
func (m NewConfigMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (NewConfigMultiError) Error ¶
func (m NewConfigMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type NewConfigValidationError ¶
type NewConfigValidationError struct {
// contains filtered or unexported fields
}
NewConfigValidationError is the validation error returned by NewConfig.Validate if the designated constraints aren't met.
func (NewConfigValidationError) Cause ¶
func (e NewConfigValidationError) Cause() error
Cause function returns cause value.
func (NewConfigValidationError) Error ¶
func (e NewConfigValidationError) Error() string
Error satisfies the builtin error interface
func (NewConfigValidationError) ErrorName ¶
func (e NewConfigValidationError) ErrorName() string
ErrorName returns error name.
func (NewConfigValidationError) Field ¶
func (e NewConfigValidationError) Field() string
Field function returns field value.
func (NewConfigValidationError) Key ¶
func (e NewConfigValidationError) Key() bool
Key function returns key value.
func (NewConfigValidationError) Reason ¶
func (e NewConfigValidationError) Reason() string
Reason function returns reason value.
type ParentRunCompleted ¶
type ParentRunCompleted struct {
// contains filtered or unexported fields
}
func (*ParentRunCompleted) Descriptor
deprecated
func (*ParentRunCompleted) Descriptor() ([]byte, []int)
Deprecated: Use ParentRunCompleted.ProtoReflect.Descriptor instead.
func (*ParentRunCompleted) ProtoMessage ¶
func (*ParentRunCompleted) ProtoMessage()
func (*ParentRunCompleted) ProtoReflect ¶
func (x *ParentRunCompleted) ProtoReflect() protoreflect.Message
func (*ParentRunCompleted) Reset ¶
func (x *ParentRunCompleted) Reset()
func (*ParentRunCompleted) String ¶
func (x *ParentRunCompleted) String() string
func (*ParentRunCompleted) Validate ¶
func (m *ParentRunCompleted) Validate() error
Validate checks the field values on ParentRunCompleted with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ParentRunCompleted) ValidateAll ¶
func (m *ParentRunCompleted) ValidateAll() error
ValidateAll checks the field values on ParentRunCompleted with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ParentRunCompletedMultiError, or nil if none found.
type ParentRunCompletedMultiError ¶
type ParentRunCompletedMultiError []error
ParentRunCompletedMultiError is an error wrapping multiple validation errors returned by ParentRunCompleted.ValidateAll() if the designated constraints aren't met.
func (ParentRunCompletedMultiError) AllErrors ¶
func (m ParentRunCompletedMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ParentRunCompletedMultiError) Error ¶
func (m ParentRunCompletedMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ParentRunCompletedValidationError ¶
type ParentRunCompletedValidationError struct {
// contains filtered or unexported fields
}
ParentRunCompletedValidationError is the validation error returned by ParentRunCompleted.Validate if the designated constraints aren't met.
func (ParentRunCompletedValidationError) Cause ¶
func (e ParentRunCompletedValidationError) Cause() error
Cause function returns cause value.
func (ParentRunCompletedValidationError) Error ¶
func (e ParentRunCompletedValidationError) Error() string
Error satisfies the builtin error interface
func (ParentRunCompletedValidationError) ErrorName ¶
func (e ParentRunCompletedValidationError) ErrorName() string
ErrorName returns error name.
func (ParentRunCompletedValidationError) Field ¶
func (e ParentRunCompletedValidationError) Field() string
Field function returns field value.
func (ParentRunCompletedValidationError) Key ¶
func (e ParentRunCompletedValidationError) Key() bool
Key function returns key value.
func (ParentRunCompletedValidationError) Reason ¶
func (e ParentRunCompletedValidationError) Reason() string
Reason function returns reason value.
type Poke ¶
type Poke struct {
// contains filtered or unexported fields
}
func (*Poke) Descriptor
deprecated
func (*Poke) ProtoMessage ¶
func (*Poke) ProtoMessage()
func (*Poke) ProtoReflect ¶
func (x *Poke) ProtoReflect() protoreflect.Message
func (*Poke) Validate ¶
Validate checks the field values on Poke with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Poke) ValidateAll ¶
ValidateAll checks the field values on Poke with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PokeMultiError, or nil if none found.
type PokeMultiError ¶
type PokeMultiError []error
PokeMultiError is an error wrapping multiple validation errors returned by Poke.ValidateAll() if the designated constraints aren't met.
func (PokeMultiError) AllErrors ¶
func (m PokeMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PokeMultiError) Error ¶
func (m PokeMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PokeValidationError ¶
type PokeValidationError struct {
// contains filtered or unexported fields
}
PokeValidationError is the validation error returned by Poke.Validate if the designated constraints aren't met.
func (PokeValidationError) Cause ¶
func (e PokeValidationError) Cause() error
Cause function returns cause value.
func (PokeValidationError) Error ¶
func (e PokeValidationError) Error() string
Error satisfies the builtin error interface
func (PokeValidationError) ErrorName ¶
func (e PokeValidationError) ErrorName() string
ErrorName returns error name.
func (PokeValidationError) Field ¶
func (e PokeValidationError) Field() string
Field function returns field value.
func (PokeValidationError) Key ¶
func (e PokeValidationError) Key() bool
Key function returns key value.
func (PokeValidationError) Reason ¶
func (e PokeValidationError) Reason() string
Reason function returns reason value.
type ReadyForSubmission ¶
type ReadyForSubmission struct {
// contains filtered or unexported fields
}
func (*ReadyForSubmission) Descriptor
deprecated
func (*ReadyForSubmission) Descriptor() ([]byte, []int)
Deprecated: Use ReadyForSubmission.ProtoReflect.Descriptor instead.
func (*ReadyForSubmission) ProtoMessage ¶
func (*ReadyForSubmission) ProtoMessage()
func (*ReadyForSubmission) ProtoReflect ¶
func (x *ReadyForSubmission) ProtoReflect() protoreflect.Message
func (*ReadyForSubmission) Reset ¶
func (x *ReadyForSubmission) Reset()
func (*ReadyForSubmission) String ¶
func (x *ReadyForSubmission) String() string
func (*ReadyForSubmission) Validate ¶
func (m *ReadyForSubmission) Validate() error
Validate checks the field values on ReadyForSubmission with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ReadyForSubmission) ValidateAll ¶
func (m *ReadyForSubmission) ValidateAll() error
ValidateAll checks the field values on ReadyForSubmission with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ReadyForSubmissionMultiError, or nil if none found.
type ReadyForSubmissionMultiError ¶
type ReadyForSubmissionMultiError []error
ReadyForSubmissionMultiError is an error wrapping multiple validation errors returned by ReadyForSubmission.ValidateAll() if the designated constraints aren't met.
func (ReadyForSubmissionMultiError) AllErrors ¶
func (m ReadyForSubmissionMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ReadyForSubmissionMultiError) Error ¶
func (m ReadyForSubmissionMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ReadyForSubmissionValidationError ¶
type ReadyForSubmissionValidationError struct {
// contains filtered or unexported fields
}
ReadyForSubmissionValidationError is the validation error returned by ReadyForSubmission.Validate if the designated constraints aren't met.
func (ReadyForSubmissionValidationError) Cause ¶
func (e ReadyForSubmissionValidationError) Cause() error
Cause function returns cause value.
func (ReadyForSubmissionValidationError) Error ¶
func (e ReadyForSubmissionValidationError) Error() string
Error satisfies the builtin error interface
func (ReadyForSubmissionValidationError) ErrorName ¶
func (e ReadyForSubmissionValidationError) ErrorName() string
ErrorName returns error name.
func (ReadyForSubmissionValidationError) Field ¶
func (e ReadyForSubmissionValidationError) Field() string
Field function returns field value.
func (ReadyForSubmissionValidationError) Key ¶
func (e ReadyForSubmissionValidationError) Key() bool
Key function returns key value.
func (ReadyForSubmissionValidationError) Reason ¶
func (e ReadyForSubmissionValidationError) Reason() string
Reason function returns reason value.
type Start ¶
type Start struct {
// contains filtered or unexported fields
}
func (*Start) Descriptor
deprecated
func (*Start) ProtoMessage ¶
func (*Start) ProtoMessage()
func (*Start) ProtoReflect ¶
func (x *Start) ProtoReflect() protoreflect.Message
func (*Start) Validate ¶
Validate checks the field values on Start with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Start) ValidateAll ¶
ValidateAll checks the field values on Start with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in StartMultiError, or nil if none found.
type StartMultiError ¶
type StartMultiError []error
StartMultiError is an error wrapping multiple validation errors returned by Start.ValidateAll() if the designated constraints aren't met.
func (StartMultiError) AllErrors ¶
func (m StartMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (StartMultiError) Error ¶
func (m StartMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type StartValidationError ¶
type StartValidationError struct {
// contains filtered or unexported fields
}
StartValidationError is the validation error returned by Start.Validate if the designated constraints aren't met.
func (StartValidationError) Cause ¶
func (e StartValidationError) Cause() error
Cause function returns cause value.
func (StartValidationError) Error ¶
func (e StartValidationError) Error() string
Error satisfies the builtin error interface
func (StartValidationError) ErrorName ¶
func (e StartValidationError) ErrorName() string
ErrorName returns error name.
func (StartValidationError) Field ¶
func (e StartValidationError) Field() string
Field function returns field value.
func (StartValidationError) Key ¶
func (e StartValidationError) Key() bool
Key function returns key value.
func (StartValidationError) Reason ¶
func (e StartValidationError) Reason() string
Reason function returns reason value.
type SubmissionCompleted ¶
type SubmissionCompleted struct { // Result of this submission. Result SubmissionResult `protobuf:"varint,1,opt,name=result,proto3,enum=cv.internal.run.eventpb.SubmissionResult" json:"result,omitempty"` QueueReleaseTimestamp *timestamppb.Timestamp `` /* 126-byte string literal not displayed */ // Types that are assignable to FailureReason: // // *SubmissionCompleted_Timeout // *SubmissionCompleted_ClFailures FailureReason isSubmissionCompleted_FailureReason `protobuf_oneof:"failure_reason"` // contains filtered or unexported fields }
func (*SubmissionCompleted) Descriptor
deprecated
func (*SubmissionCompleted) Descriptor() ([]byte, []int)
Deprecated: Use SubmissionCompleted.ProtoReflect.Descriptor instead.
func (*SubmissionCompleted) GetClFailures ¶
func (x *SubmissionCompleted) GetClFailures() *SubmissionCompleted_CLSubmissionFailures
func (*SubmissionCompleted) GetFailureReason ¶
func (m *SubmissionCompleted) GetFailureReason() isSubmissionCompleted_FailureReason
func (*SubmissionCompleted) GetQueueReleaseTimestamp ¶
func (x *SubmissionCompleted) GetQueueReleaseTimestamp() *timestamppb.Timestamp
func (*SubmissionCompleted) GetResult ¶
func (x *SubmissionCompleted) GetResult() SubmissionResult
func (*SubmissionCompleted) GetTimeout ¶
func (x *SubmissionCompleted) GetTimeout() bool
func (*SubmissionCompleted) ProtoMessage ¶
func (*SubmissionCompleted) ProtoMessage()
func (*SubmissionCompleted) ProtoReflect ¶
func (x *SubmissionCompleted) ProtoReflect() protoreflect.Message
func (*SubmissionCompleted) Reset ¶
func (x *SubmissionCompleted) Reset()
func (*SubmissionCompleted) String ¶
func (x *SubmissionCompleted) String() string
func (*SubmissionCompleted) Validate ¶
func (m *SubmissionCompleted) Validate() error
Validate checks the field values on SubmissionCompleted with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*SubmissionCompleted) ValidateAll ¶
func (m *SubmissionCompleted) ValidateAll() error
ValidateAll checks the field values on SubmissionCompleted with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SubmissionCompletedMultiError, or nil if none found.
type SubmissionCompletedMultiError ¶
type SubmissionCompletedMultiError []error
SubmissionCompletedMultiError is an error wrapping multiple validation errors returned by SubmissionCompleted.ValidateAll() if the designated constraints aren't met.
func (SubmissionCompletedMultiError) AllErrors ¶
func (m SubmissionCompletedMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SubmissionCompletedMultiError) Error ¶
func (m SubmissionCompletedMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SubmissionCompletedValidationError ¶
type SubmissionCompletedValidationError struct {
// contains filtered or unexported fields
}
SubmissionCompletedValidationError is the validation error returned by SubmissionCompleted.Validate if the designated constraints aren't met.
func (SubmissionCompletedValidationError) Cause ¶
func (e SubmissionCompletedValidationError) Cause() error
Cause function returns cause value.
func (SubmissionCompletedValidationError) Error ¶
func (e SubmissionCompletedValidationError) Error() string
Error satisfies the builtin error interface
func (SubmissionCompletedValidationError) ErrorName ¶
func (e SubmissionCompletedValidationError) ErrorName() string
ErrorName returns error name.
func (SubmissionCompletedValidationError) Field ¶
func (e SubmissionCompletedValidationError) Field() string
Field function returns field value.
func (SubmissionCompletedValidationError) Key ¶
func (e SubmissionCompletedValidationError) Key() bool
Key function returns key value.
func (SubmissionCompletedValidationError) Reason ¶
func (e SubmissionCompletedValidationError) Reason() string
Reason function returns reason value.
type SubmissionCompleted_CLSubmissionFailure ¶
type SubmissionCompleted_CLSubmissionFailure struct { Clid int64 `protobuf:"varint,1,opt,name=clid,proto3" json:"clid,omitempty"` // Required Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // Required // contains filtered or unexported fields }
func (*SubmissionCompleted_CLSubmissionFailure) Descriptor
deprecated
func (*SubmissionCompleted_CLSubmissionFailure) Descriptor() ([]byte, []int)
Deprecated: Use SubmissionCompleted_CLSubmissionFailure.ProtoReflect.Descriptor instead.
func (*SubmissionCompleted_CLSubmissionFailure) GetClid ¶
func (x *SubmissionCompleted_CLSubmissionFailure) GetClid() int64
func (*SubmissionCompleted_CLSubmissionFailure) GetMessage ¶
func (x *SubmissionCompleted_CLSubmissionFailure) GetMessage() string
func (*SubmissionCompleted_CLSubmissionFailure) ProtoMessage ¶
func (*SubmissionCompleted_CLSubmissionFailure) ProtoMessage()
func (*SubmissionCompleted_CLSubmissionFailure) ProtoReflect ¶
func (x *SubmissionCompleted_CLSubmissionFailure) ProtoReflect() protoreflect.Message
func (*SubmissionCompleted_CLSubmissionFailure) Reset ¶
func (x *SubmissionCompleted_CLSubmissionFailure) Reset()
func (*SubmissionCompleted_CLSubmissionFailure) String ¶
func (x *SubmissionCompleted_CLSubmissionFailure) String() string
func (*SubmissionCompleted_CLSubmissionFailure) Validate ¶
func (m *SubmissionCompleted_CLSubmissionFailure) Validate() error
Validate checks the field values on SubmissionCompleted_CLSubmissionFailure with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*SubmissionCompleted_CLSubmissionFailure) ValidateAll ¶
func (m *SubmissionCompleted_CLSubmissionFailure) ValidateAll() error
ValidateAll checks the field values on SubmissionCompleted_CLSubmissionFailure with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SubmissionCompleted_CLSubmissionFailureMultiError, or nil if none found.
type SubmissionCompleted_CLSubmissionFailureMultiError ¶
type SubmissionCompleted_CLSubmissionFailureMultiError []error
SubmissionCompleted_CLSubmissionFailureMultiError is an error wrapping multiple validation errors returned by SubmissionCompleted_CLSubmissionFailure.ValidateAll() if the designated constraints aren't met.
func (SubmissionCompleted_CLSubmissionFailureMultiError) AllErrors ¶
func (m SubmissionCompleted_CLSubmissionFailureMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SubmissionCompleted_CLSubmissionFailureMultiError) Error ¶
func (m SubmissionCompleted_CLSubmissionFailureMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SubmissionCompleted_CLSubmissionFailureValidationError ¶
type SubmissionCompleted_CLSubmissionFailureValidationError struct {
// contains filtered or unexported fields
}
SubmissionCompleted_CLSubmissionFailureValidationError is the validation error returned by SubmissionCompleted_CLSubmissionFailure.Validate if the designated constraints aren't met.
func (SubmissionCompleted_CLSubmissionFailureValidationError) Cause ¶
func (e SubmissionCompleted_CLSubmissionFailureValidationError) Cause() error
Cause function returns cause value.
func (SubmissionCompleted_CLSubmissionFailureValidationError) Error ¶
func (e SubmissionCompleted_CLSubmissionFailureValidationError) Error() string
Error satisfies the builtin error interface
func (SubmissionCompleted_CLSubmissionFailureValidationError) ErrorName ¶
func (e SubmissionCompleted_CLSubmissionFailureValidationError) ErrorName() string
ErrorName returns error name.
func (SubmissionCompleted_CLSubmissionFailureValidationError) Field ¶
func (e SubmissionCompleted_CLSubmissionFailureValidationError) Field() string
Field function returns field value.
func (SubmissionCompleted_CLSubmissionFailureValidationError) Key ¶
func (e SubmissionCompleted_CLSubmissionFailureValidationError) Key() bool
Key function returns key value.
func (SubmissionCompleted_CLSubmissionFailureValidationError) Reason ¶
func (e SubmissionCompleted_CLSubmissionFailureValidationError) Reason() string
Reason function returns reason value.
type SubmissionCompleted_CLSubmissionFailures ¶
type SubmissionCompleted_CLSubmissionFailures struct { Failures []*SubmissionCompleted_CLSubmissionFailure `protobuf:"bytes,1,rep,name=failures,proto3" json:"failures,omitempty"` // contains filtered or unexported fields }
func (*SubmissionCompleted_CLSubmissionFailures) Descriptor
deprecated
func (*SubmissionCompleted_CLSubmissionFailures) Descriptor() ([]byte, []int)
Deprecated: Use SubmissionCompleted_CLSubmissionFailures.ProtoReflect.Descriptor instead.
func (*SubmissionCompleted_CLSubmissionFailures) GetFailures ¶
func (x *SubmissionCompleted_CLSubmissionFailures) GetFailures() []*SubmissionCompleted_CLSubmissionFailure
func (*SubmissionCompleted_CLSubmissionFailures) ProtoMessage ¶
func (*SubmissionCompleted_CLSubmissionFailures) ProtoMessage()
func (*SubmissionCompleted_CLSubmissionFailures) ProtoReflect ¶
func (x *SubmissionCompleted_CLSubmissionFailures) ProtoReflect() protoreflect.Message
func (*SubmissionCompleted_CLSubmissionFailures) Reset ¶
func (x *SubmissionCompleted_CLSubmissionFailures) Reset()
func (*SubmissionCompleted_CLSubmissionFailures) String ¶
func (x *SubmissionCompleted_CLSubmissionFailures) String() string
func (*SubmissionCompleted_CLSubmissionFailures) Validate ¶
func (m *SubmissionCompleted_CLSubmissionFailures) Validate() error
Validate checks the field values on SubmissionCompleted_CLSubmissionFailures with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*SubmissionCompleted_CLSubmissionFailures) ValidateAll ¶
func (m *SubmissionCompleted_CLSubmissionFailures) ValidateAll() error
ValidateAll checks the field values on SubmissionCompleted_CLSubmissionFailures with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SubmissionCompleted_CLSubmissionFailuresMultiError, or nil if none found.
type SubmissionCompleted_CLSubmissionFailuresMultiError ¶
type SubmissionCompleted_CLSubmissionFailuresMultiError []error
SubmissionCompleted_CLSubmissionFailuresMultiError is an error wrapping multiple validation errors returned by SubmissionCompleted_CLSubmissionFailures.ValidateAll() if the designated constraints aren't met.
func (SubmissionCompleted_CLSubmissionFailuresMultiError) AllErrors ¶
func (m SubmissionCompleted_CLSubmissionFailuresMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SubmissionCompleted_CLSubmissionFailuresMultiError) Error ¶
func (m SubmissionCompleted_CLSubmissionFailuresMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SubmissionCompleted_CLSubmissionFailuresValidationError ¶
type SubmissionCompleted_CLSubmissionFailuresValidationError struct {
// contains filtered or unexported fields
}
SubmissionCompleted_CLSubmissionFailuresValidationError is the validation error returned by SubmissionCompleted_CLSubmissionFailures.Validate if the designated constraints aren't met.
func (SubmissionCompleted_CLSubmissionFailuresValidationError) Cause ¶
func (e SubmissionCompleted_CLSubmissionFailuresValidationError) Cause() error
Cause function returns cause value.
func (SubmissionCompleted_CLSubmissionFailuresValidationError) Error ¶
func (e SubmissionCompleted_CLSubmissionFailuresValidationError) Error() string
Error satisfies the builtin error interface
func (SubmissionCompleted_CLSubmissionFailuresValidationError) ErrorName ¶
func (e SubmissionCompleted_CLSubmissionFailuresValidationError) ErrorName() string
ErrorName returns error name.
func (SubmissionCompleted_CLSubmissionFailuresValidationError) Field ¶
func (e SubmissionCompleted_CLSubmissionFailuresValidationError) Field() string
Field function returns field value.
func (SubmissionCompleted_CLSubmissionFailuresValidationError) Key ¶
func (e SubmissionCompleted_CLSubmissionFailuresValidationError) Key() bool
Key function returns key value.
func (SubmissionCompleted_CLSubmissionFailuresValidationError) Reason ¶
func (e SubmissionCompleted_CLSubmissionFailuresValidationError) Reason() string
Reason function returns reason value.
type SubmissionCompleted_ClFailures ¶
type SubmissionCompleted_ClFailures struct { // CLs that fail to submit. Could be transient or permanent. // // As of June 2021, CLs are submitted serially and submitter returns // immediately upon failure so `cl_failures` will have only one entry. // However, submitter may report multiple CL submission failures in the // future (e.g. CV supports parallel CL submission or CV submits a CL // stack in one RPC). ClFailures *SubmissionCompleted_CLSubmissionFailures `protobuf:"bytes,4,opt,name=cl_failures,json=clFailures,proto3,oneof"` }
type SubmissionCompleted_Timeout ¶
type SubmissionCompleted_Timeout struct { // Submission deadline is exceeded. Must be permanent failure. Timeout bool `protobuf:"varint,3,opt,name=timeout,proto3,oneof"` }
type SubmissionResult ¶
type SubmissionResult int32
const ( SubmissionResult_SUBMISSION_RESULT_UNSPECIFIED SubmissionResult = 0 // All CLs have been submitted successfully. SubmissionResult_SUCCEEDED SubmissionResult = 1 // Encountered transient failure. // // RM should retry if the deadline hasn't been exceeded. SubmissionResult_FAILED_TRANSIENT SubmissionResult = 2 // Encountered permanent failure. // // For example, lack of submit permission or experienced merge conflict. SubmissionResult_FAILED_PERMANENT SubmissionResult = 3 )
func (SubmissionResult) Descriptor ¶
func (SubmissionResult) Descriptor() protoreflect.EnumDescriptor
func (SubmissionResult) Enum ¶
func (x SubmissionResult) Enum() *SubmissionResult
func (SubmissionResult) EnumDescriptor
deprecated
func (SubmissionResult) EnumDescriptor() ([]byte, []int)
Deprecated: Use SubmissionResult.Descriptor instead.
func (SubmissionResult) Number ¶
func (x SubmissionResult) Number() protoreflect.EnumNumber
func (SubmissionResult) String ¶
func (x SubmissionResult) String() string
func (SubmissionResult) Type ¶
func (SubmissionResult) Type() protoreflect.EnumType
type TasksBinding ¶
type TasksBinding struct { ManageRun tq.TaskClassRef KickManage tq.TaskClassRef ManageRunLongOp tq.TaskClassRef TQDispatcher *tq.Dispatcher }
TasksBinding binds Run Manager tasks to a TQ Dispatcher.
This struct exists to separate task creation and handling, which in turns avoids circular dependency.
func Register ¶
func Register(tqd *tq.Dispatcher) TasksBinding
Register registers tasks with the given TQ Dispatcher.