forked from googleapis/go-genproto
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build_status.pb.go
130 lines (116 loc) · 5.93 KB
/
build_status.pb.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: google/devtools/build/v1/build_status.proto
package build
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
import _ "google.golang.org/genproto/googleapis/api/annotations"
import google_protobuf1 "github.com/golang/protobuf/ptypes/any"
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// The end result of the Build.
type BuildStatus_Result int32
const (
// Unspecified or unknown.
BuildStatus_UNKNOWN_STATUS BuildStatus_Result = 0
// Build was successful and tests (if requested) all pass.
BuildStatus_COMMAND_SUCCEEDED BuildStatus_Result = 1
// Build error and/or test failure.
BuildStatus_COMMAND_FAILED BuildStatus_Result = 2
// Unable to obtain a result due to input provided by the user.
BuildStatus_USER_ERROR BuildStatus_Result = 3
// Unable to obtain a result due to a failure within the build system.
BuildStatus_SYSTEM_ERROR BuildStatus_Result = 4
// Build required too many resources, such as build tool RAM.
BuildStatus_RESOURCE_EXHAUSTED BuildStatus_Result = 5
// An invocation attempt time exceeded its deadline.
BuildStatus_INVOCATION_DEADLINE_EXCEEDED BuildStatus_Result = 6
// Build request time exceeded the request_deadline
BuildStatus_REQUEST_DEADLINE_EXCEEDED BuildStatus_Result = 8
// The build was cancelled by a call to CancelBuild.
BuildStatus_CANCELLED BuildStatus_Result = 7
)
var BuildStatus_Result_name = map[int32]string{
0: "UNKNOWN_STATUS",
1: "COMMAND_SUCCEEDED",
2: "COMMAND_FAILED",
3: "USER_ERROR",
4: "SYSTEM_ERROR",
5: "RESOURCE_EXHAUSTED",
6: "INVOCATION_DEADLINE_EXCEEDED",
8: "REQUEST_DEADLINE_EXCEEDED",
7: "CANCELLED",
}
var BuildStatus_Result_value = map[string]int32{
"UNKNOWN_STATUS": 0,
"COMMAND_SUCCEEDED": 1,
"COMMAND_FAILED": 2,
"USER_ERROR": 3,
"SYSTEM_ERROR": 4,
"RESOURCE_EXHAUSTED": 5,
"INVOCATION_DEADLINE_EXCEEDED": 6,
"REQUEST_DEADLINE_EXCEEDED": 8,
"CANCELLED": 7,
}
func (x BuildStatus_Result) String() string {
return proto.EnumName(BuildStatus_Result_name, int32(x))
}
func (BuildStatus_Result) EnumDescriptor() ([]byte, []int) { return fileDescriptor1, []int{0, 0} }
// Status used for both invocation attempt and overall build completion.
type BuildStatus struct {
// The end result.
Result BuildStatus_Result `protobuf:"varint,1,opt,name=result,enum=google.devtools.build.v1.BuildStatus_Result" json:"result,omitempty"`
// Fine-grained diagnostic information to complement the status.
Details *google_protobuf1.Any `protobuf:"bytes,2,opt,name=details" json:"details,omitempty"`
}
func (m *BuildStatus) Reset() { *m = BuildStatus{} }
func (m *BuildStatus) String() string { return proto.CompactTextString(m) }
func (*BuildStatus) ProtoMessage() {}
func (*BuildStatus) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{0} }
func (m *BuildStatus) GetResult() BuildStatus_Result {
if m != nil {
return m.Result
}
return BuildStatus_UNKNOWN_STATUS
}
func (m *BuildStatus) GetDetails() *google_protobuf1.Any {
if m != nil {
return m.Details
}
return nil
}
func init() {
proto.RegisterType((*BuildStatus)(nil), "google.devtools.build.v1.BuildStatus")
proto.RegisterEnum("google.devtools.build.v1.BuildStatus_Result", BuildStatus_Result_name, BuildStatus_Result_value)
}
func init() { proto.RegisterFile("google/devtools/build/v1/build_status.proto", fileDescriptor1) }
var fileDescriptor1 = []byte{
// 390 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x92, 0x4f, 0x0b, 0xd3, 0x30,
0x18, 0xc6, 0xcd, 0xd4, 0x4e, 0x33, 0x1d, 0x35, 0xa8, 0x6c, 0x63, 0xc2, 0xd8, 0x69, 0xa0, 0xa4,
0x6c, 0x1e, 0xc5, 0x43, 0xd6, 0x44, 0x2c, 0x6e, 0xe9, 0x4c, 0x5a, 0xff, 0x5d, 0x4a, 0xe6, 0x6a,
0x29, 0xd4, 0x66, 0xac, 0xe9, 0x60, 0x1f, 0xd3, 0x93, 0x5f, 0xc5, 0xa3, 0xf4, 0x1f, 0x0c, 0x74,
0xb7, 0xf4, 0x7d, 0x7e, 0xcf, 0xf3, 0xbe, 0x3c, 0x14, 0xbe, 0x4c, 0xb4, 0x4e, 0xb2, 0xd8, 0x39,
0xc4, 0x67, 0xa3, 0x75, 0x56, 0x38, 0xfb, 0x32, 0xcd, 0x0e, 0xce, 0x79, 0xd9, 0x3c, 0xa2, 0xc2,
0x28, 0x53, 0x16, 0xf8, 0x78, 0xd2, 0x46, 0xa3, 0x51, 0x03, 0xe3, 0x0e, 0xc6, 0x35, 0x83, 0xcf,
0xcb, 0xc9, 0xb4, 0x8d, 0x51, 0xc7, 0xd4, 0x51, 0x79, 0xae, 0x8d, 0x32, 0xa9, 0xce, 0x5b, 0xdf,
0x64, 0xdc, 0xaa, 0xf5, 0xd7, 0xbe, 0xfc, 0xe1, 0xa8, 0xfc, 0xd2, 0x48, 0xf3, 0xdf, 0x3d, 0x38,
0x58, 0x57, 0x29, 0xb2, 0x5e, 0x84, 0x28, 0xb4, 0x4e, 0x71, 0x51, 0x66, 0x66, 0x04, 0x66, 0x60,
0x31, 0x5c, 0xbd, 0xc2, 0xb7, 0x76, 0xe2, 0x2b, 0x1b, 0x16, 0xb5, 0x47, 0xb4, 0x5e, 0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