blob: cd3fb85c231a0042d96bc1e124d6c21eb958172e [file] [log] [blame]
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: go.chromium.org/luci/buildbucket/proto/step.proto
package buildbucketpb
import (
fmt "fmt"
proto "github.com/golang/protobuf/proto"
timestamp "github.com/golang/protobuf/ptypes/timestamp"
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
// A build step.
//
// A step may have children, see name field.
type Step struct {
// Name of the step, unique within the build.
// Identifies the step.
//
// Pipe character ("|") is reserved to separate parent and child step names.
// For example, value "a|b" indicates step "b" under step "a".
// If this is a child step, a parent MUST exist and MUST precede this step in
// the list of steps.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// The timestamp when the step started.
// Required iff status is STARTED, SUCCESS or FAILURE, or if the step has
// children.
// MUST NOT be after start_time/end_time of any of the children.
StartTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
// The timestamp when the step ended.
// Present iff status is terminal.
// MUST NOT be before start_time.
// MUST NOT be before start/end_time of any of the children.
EndTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
// Status of the step.
// Must be specified, i.e. not STATUS_UNSPECIFIED.
//
// If the step has children
// status MUST NOT be SCHEDULED.
// status MUST be STARTED if status of any child is not terminal.
//
// status MUST NOT be "better" than statuses of its children,
// where "better" relation is defined by the following order,
// from good to bad:
// SUCCESS
// FAILURE
// INFRA_FAILURE
// CANCELED
// Note that this defines "better" relation only for some statuses.
// For those statuses where "better" is not defined, this rule does not
// apply.
Status Status `protobuf:"varint,4,opt,name=status,proto3,enum=buildbucket.v2.Status" json:"status,omitempty"`
// Logs produced by the step.
// Log order is up to the step.
Logs []*Step_Log `protobuf:"bytes,5,rep,name=logs,proto3" json:"logs,omitempty"`
// Human-readable summary of the step provided by the step itself,
// in Markdown format (https://spec.commonmark.org/0.28/).
//
// V1 equivalent: combines and supersedes Buildbot's step_text and step links and also supports
// other formatted text.
SummaryMarkdown string `protobuf:"bytes,7,opt,name=summary_markdown,json=summaryMarkdown,proto3" json:"summary_markdown,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Step) Reset() { *m = Step{} }
func (m *Step) String() string { return proto.CompactTextString(m) }
func (*Step) ProtoMessage() {}
func (*Step) Descriptor() ([]byte, []int) {
return fileDescriptor_7b6755933d248870, []int{0}
}
func (m *Step) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Step.Unmarshal(m, b)
}
func (m *Step) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Step.Marshal(b, m, deterministic)
}
func (m *Step) XXX_Merge(src proto.Message) {
xxx_messageInfo_Step.Merge(m, src)
}
func (m *Step) XXX_Size() int {
return xxx_messageInfo_Step.Size(m)
}
func (m *Step) XXX_DiscardUnknown() {
xxx_messageInfo_Step.DiscardUnknown(m)
}
var xxx_messageInfo_Step proto.InternalMessageInfo
func (m *Step) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *Step) GetStartTime() *timestamp.Timestamp {
if m != nil {
return m.StartTime
}
return nil
}
func (m *Step) GetEndTime() *timestamp.Timestamp {
if m != nil {
return m.EndTime
}
return nil
}
func (m *Step) GetStatus() Status {
if m != nil {
return m.Status
}
return Status_STATUS_UNSPECIFIED
}
func (m *Step) GetLogs() []*Step_Log {
if m != nil {
return m.Logs
}
return nil
}
func (m *Step) GetSummaryMarkdown() string {
if m != nil {
return m.SummaryMarkdown
}
return ""
}
// A named log of a step.
type Step_Log struct {
// Log name, standard ("stdout", "stderr") or custom ("json.output").
// Unique within the step.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// URL of a Human-readable page that displays log contents.
ViewUrl string `protobuf:"bytes,2,opt,name=view_url,json=viewUrl,proto3" json:"view_url,omitempty"`
// URL of the log content.
// As of 2018-09-06, the only supported scheme is "logdog".
// Typically it has form
// "logdog://<host>/<project>/<prefix>/+/<stream_name>".
// See also
// https://godoc.org/go.chromium.org/luci/logdog/common/types#ParseURL
Url string `protobuf:"bytes,3,opt,name=url,proto3" json:"url,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Step_Log) Reset() { *m = Step_Log{} }
func (m *Step_Log) String() string { return proto.CompactTextString(m) }
func (*Step_Log) ProtoMessage() {}
func (*Step_Log) Descriptor() ([]byte, []int) {
return fileDescriptor_7b6755933d248870, []int{0, 0}
}
func (m *Step_Log) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Step_Log.Unmarshal(m, b)
}
func (m *Step_Log) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Step_Log.Marshal(b, m, deterministic)
}
func (m *Step_Log) XXX_Merge(src proto.Message) {
xxx_messageInfo_Step_Log.Merge(m, src)
}
func (m *Step_Log) XXX_Size() int {
return xxx_messageInfo_Step_Log.Size(m)
}
func (m *Step_Log) XXX_DiscardUnknown() {
xxx_messageInfo_Step_Log.DiscardUnknown(m)
}
var xxx_messageInfo_Step_Log proto.InternalMessageInfo
func (m *Step_Log) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *Step_Log) GetViewUrl() string {
if m != nil {
return m.ViewUrl
}
return ""
}
func (m *Step_Log) GetUrl() string {
if m != nil {
return m.Url
}
return ""
}
func init() {
proto.RegisterType((*Step)(nil), "buildbucket.v2.Step")
proto.RegisterType((*Step_Log)(nil), "buildbucket.v2.Step.Log")
}
func init() {
proto.RegisterFile("go.chromium.org/luci/buildbucket/proto/step.proto", fileDescriptor_7b6755933d248870)
}
var fileDescriptor_7b6755933d248870 = []byte{
// 322 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x91, 0x4d, 0x4b, 0xfb, 0x40,
0x10, 0xc6, 0x49, 0x93, 0x7f, 0x5f, 0xb6, 0xd0, 0x7f, 0xd9, 0x83, 0xc4, 0x5c, 0x0c, 0x9e, 0x22,
0xc8, 0x06, 0x53, 0x15, 0xc4, 0x9b, 0x07, 0x4f, 0xf5, 0x92, 0xea, 0xc5, 0x4b, 0xc9, 0xcb, 0xba,
0x86, 0xee, 0x66, 0xc2, 0xbe, 0xb4, 0xf8, 0x61, 0xfd, 0x2e, 0x92, 0x4d, 0x0a, 0x15, 0x05, 0x7b,
0x9b, 0xf9, 0xcd, 0xf3, 0x30, 0xb3, 0xcf, 0xa2, 0x2b, 0x06, 0xa4, 0x78, 0x97, 0x20, 0x2a, 0x23,
0x08, 0x48, 0x16, 0x73, 0x53, 0x54, 0x71, 0x6e, 0x2a, 0x5e, 0xe6, 0xa6, 0xd8, 0x50, 0x1d, 0x37,
0x12, 0x34, 0xc4, 0x4a, 0xd3, 0x86, 0xd8, 0x12, 0xcf, 0x0e, 0xa6, 0x64, 0x9b, 0x04, 0x67, 0x0c,
0x80, 0x71, 0xda, 0x09, 0x73, 0xf3, 0x16, 0xeb, 0x4a, 0x50, 0xa5, 0x33, 0xd1, 0x1b, 0x82, 0xc5,
0x91, 0x3b, 0x0a, 0x10, 0x02, 0xea, 0xce, 0x74, 0xfe, 0x39, 0x40, 0xde, 0x4a, 0xd3, 0x06, 0x63,
0xe4, 0xd5, 0x99, 0xa0, 0xbe, 0x13, 0x3a, 0xd1, 0x24, 0xb5, 0x35, 0xbe, 0x43, 0x48, 0xe9, 0x4c,
0xea, 0x75, 0xbb, 0xca, 0x1f, 0x84, 0x4e, 0x34, 0x4d, 0x02, 0xd2, 0xdd, 0x41, 0xf6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