blob: bdcd1f905ddf9f5c232dbd859e8f1485b2791781 [file] [log] [blame]
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: test_platform/taskstate.proto
package test_platform
import (
fmt "fmt"
proto "github.com/golang/protobuf/proto"
math "math"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
type TaskState_LifeCycleMask int32
const (
TaskState_LIFE_CYCLE_MASK_UNSPECIFIED TaskState_LifeCycleMask = 0
// Mask for LifeCycle values in which a task started running.
TaskState_LIFE_CYCLE_MASK_STARTED TaskState_LifeCycleMask = 16
// Mask for LifeCycle values in which a task completed running.
TaskState_LIFE_CYCLE_MASK_COMPLETED TaskState_LifeCycleMask = 32
// Mask for LifeCycle values in which a task is in its final state.
TaskState_LIFE_CYCLE_MASK_FINAL TaskState_LifeCycleMask = 64
)
var TaskState_LifeCycleMask_name = map[int32]string{
0: "LIFE_CYCLE_MASK_UNSPECIFIED",
16: "LIFE_CYCLE_MASK_STARTED",
32: "LIFE_CYCLE_MASK_COMPLETED",
64: "LIFE_CYCLE_MASK_FINAL",
}
var TaskState_LifeCycleMask_value = map[string]int32{
"LIFE_CYCLE_MASK_UNSPECIFIED": 0,
"LIFE_CYCLE_MASK_STARTED": 16,
"LIFE_CYCLE_MASK_COMPLETED": 32,
"LIFE_CYCLE_MASK_FINAL": 64,
}
func (x TaskState_LifeCycleMask) String() string {
return proto.EnumName(TaskState_LifeCycleMask_name, int32(x))
}
func (TaskState_LifeCycleMask) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_374da6ddfbaa865b, []int{0, 0}
}
type TaskState_LifeCycle int32
const (
TaskState_LIFE_CYCLE_UNSPECIFIED TaskState_LifeCycle = 0
// Waiting to start.
TaskState_LIFE_CYCLE_PENDING TaskState_LifeCycle = 1
// Running.
TaskState_LIFE_CYCLE_RUNNING TaskState_LifeCycle = 16
// Ran to completion without being cancelled externally, regardless
// of whether it succeeded or failed.
TaskState_LIFE_CYCLE_COMPLETED TaskState_LifeCycle = 112
// Never got a chance to run, cancelled externally.
TaskState_LIFE_CYCLE_CANCELLED TaskState_LifeCycle = 65
// Never got a chance to run, rejected due to no capacity.
TaskState_LIFE_CYCLE_REJECTED TaskState_LifeCycle = 66
// Started running but was cancelled externally while running.
TaskState_LIFE_CYCLE_ABORTED TaskState_LifeCycle = 80
)
var TaskState_LifeCycle_name = map[int32]string{
0: "LIFE_CYCLE_UNSPECIFIED",
1: "LIFE_CYCLE_PENDING",
16: "LIFE_CYCLE_RUNNING",
112: "LIFE_CYCLE_COMPLETED",
65: "LIFE_CYCLE_CANCELLED",
66: "LIFE_CYCLE_REJECTED",
80: "LIFE_CYCLE_ABORTED",
}
var TaskState_LifeCycle_value = map[string]int32{
"LIFE_CYCLE_UNSPECIFIED": 0,
"LIFE_CYCLE_PENDING": 1,
"LIFE_CYCLE_RUNNING": 16,
"LIFE_CYCLE_COMPLETED": 112,
"LIFE_CYCLE_CANCELLED": 65,
"LIFE_CYCLE_REJECTED": 66,
"LIFE_CYCLE_ABORTED": 80,
}
func (x TaskState_LifeCycle) String() string {
return proto.EnumName(TaskState_LifeCycle_name, int32(x))
}
func (TaskState_LifeCycle) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_374da6ddfbaa865b, []int{0, 1}
}
type TaskState_Verdict int32
const (
// The task produced no usable verdict (possibly because it never
// ran, or never finished, or the results were unparseable).
//
// Under most circumstances, this should be treated as a failure or
// an infrastructure failure.
TaskState_VERDICT_UNSPECIFIED TaskState_Verdict = 0
// The task produced a definitive verdict: it passed.
TaskState_VERDICT_PASSED TaskState_Verdict = 1
// The task produced a definitive verdict: it failed.
TaskState_VERDICT_FAILED TaskState_Verdict = 2
// The task definitively produced no verdict (for instance, because
// the test is irrelevant in the given environment).
//
// Under most circumstances, this should be treated as a passing
// (but uninteresting).
TaskState_VERDICT_NO_VERDICT TaskState_Verdict = 3
// The task failed, but passed after one or more retries.
TaskState_VERDICT_PASSED_ON_RETRY TaskState_Verdict = 4
)
var TaskState_Verdict_name = map[int32]string{
0: "VERDICT_UNSPECIFIED",
1: "VERDICT_PASSED",
2: "VERDICT_FAILED",
3: "VERDICT_NO_VERDICT",
4: "VERDICT_PASSED_ON_RETRY",
}
var TaskState_Verdict_value = map[string]int32{
"VERDICT_UNSPECIFIED": 0,
"VERDICT_PASSED": 1,
"VERDICT_FAILED": 2,
"VERDICT_NO_VERDICT": 3,
"VERDICT_PASSED_ON_RETRY": 4,
}
func (x TaskState_Verdict) String() string {
return proto.EnumName(TaskState_Verdict_name, int32(x))
}
func (TaskState_Verdict) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_374da6ddfbaa865b, []int{0, 2}
}
type TaskState struct {
LifeCycle TaskState_LifeCycle `protobuf:"varint,1,opt,name=life_cycle,json=lifeCycle,proto3,enum=test_platform.TaskState_LifeCycle" json:"life_cycle,omitempty"`
// Verdict describes whether the task passed, failed, or had some other
// indefinite verdict.
Verdict TaskState_Verdict `protobuf:"varint,2,opt,name=verdict,proto3,enum=test_platform.TaskState_Verdict" json:"verdict,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *TaskState) Reset() { *m = TaskState{} }
func (m *TaskState) String() string { return proto.CompactTextString(m) }
func (*TaskState) ProtoMessage() {}
func (*TaskState) Descriptor() ([]byte, []int) {
return fileDescriptor_374da6ddfbaa865b, []int{0}
}
func (m *TaskState) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_TaskState.Unmarshal(m, b)
}
func (m *TaskState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_TaskState.Marshal(b, m, deterministic)
}
func (m *TaskState) XXX_Merge(src proto.Message) {
xxx_messageInfo_TaskState.Merge(m, src)
}
func (m *TaskState) XXX_Size() int {
return xxx_messageInfo_TaskState.Size(m)
}
func (m *TaskState) XXX_DiscardUnknown() {
xxx_messageInfo_TaskState.DiscardUnknown(m)
}
var xxx_messageInfo_TaskState proto.InternalMessageInfo
func (m *TaskState) GetLifeCycle() TaskState_LifeCycle {
if m != nil {
return m.LifeCycle
}
return TaskState_LIFE_CYCLE_UNSPECIFIED
}
func (m *TaskState) GetVerdict() TaskState_Verdict {
if m != nil {
return m.Verdict
}
return TaskState_VERDICT_UNSPECIFIED
}
func init() {
proto.RegisterEnum("test_platform.TaskState_LifeCycleMask", TaskState_LifeCycleMask_name, TaskState_LifeCycleMask_value)
proto.RegisterEnum("test_platform.TaskState_LifeCycle", TaskState_LifeCycle_name, TaskState_LifeCycle_value)
proto.RegisterEnum("test_platform.TaskState_Verdict", TaskState_Verdict_name, TaskState_Verdict_value)
proto.RegisterType((*TaskState)(nil), "test_platform.TaskState")
}
func init() { proto.RegisterFile("test_platform/taskstate.proto", fileDescriptor_374da6ddfbaa865b) }
var fileDescriptor_374da6ddfbaa865b = []byte{
// 397 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x52, 0x4f, 0x8f, 0x93, 0x40,
0x14, 0x97, 0x75, 0xe3, 0xa6, 0x2f, 0xd9, 0xcd, 0x64, 0xd4, 0xdd, 0xae, 0x9b, 0xc6, 0x86, 0x93,
0x27, 0x48, 0xf4, 0x60, 0xf4, 0xe4, 0x74, 0x18, 0x0c, 0x4a, 0x07, 0x02, 0xb4, 0x49, 0xbd, 0x4c,
0x10, 0xa1, 0x92, 0x52, 0xa7, 0x81, 0xd1, 0xc4, 0x93, 0x47, 0xbf, 0x94, 0x1f, 0xc3, 0x0f, 0x64,
0x06, 0x4b, 0x05, 0x12, 0x6f, 0x6f, 0x7e, 0x7f, 0xde, 0xfb, 0xcd, 0xcb, 0x83, 0x99, 0xca, 0x1b,
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