// Code generated by protoc-gen-go.
// source: code.justin.tv/dta/rockpaperscissors/proto/events/jenkins_build.proto
// DO NOT EDIT!

package events

import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
import rockpaperscissors "code.justin.tv/dta/rockpaperscissors/proto"

// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf

type JenkinsBuildStats_Result int32

const (
	JenkinsBuildStats_SUCCESS   JenkinsBuildStats_Result = 0
	JenkinsBuildStats_UNSTABLE  JenkinsBuildStats_Result = 1
	JenkinsBuildStats_FAILURE   JenkinsBuildStats_Result = 2
	JenkinsBuildStats_NOT_BUILT JenkinsBuildStats_Result = 3
	JenkinsBuildStats_ABORTED   JenkinsBuildStats_Result = 4
)

var JenkinsBuildStats_Result_name = map[int32]string{
	0: "SUCCESS",
	1: "UNSTABLE",
	2: "FAILURE",
	3: "NOT_BUILT",
	4: "ABORTED",
}
var JenkinsBuildStats_Result_value = map[string]int32{
	"SUCCESS":   0,
	"UNSTABLE":  1,
	"FAILURE":   2,
	"NOT_BUILT": 3,
	"ABORTED":   4,
}

func (x JenkinsBuildStats_Result) String() string {
	return proto.EnumName(JenkinsBuildStats_Result_name, int32(x))
}
func (JenkinsBuildStats_Result) EnumDescriptor() ([]byte, []int) { return fileDescriptor1, []int{0, 0} }

type JenkinsBuildStats struct {
	// "dta-rockpaperscissors"
	JobName string `protobuf:"bytes,1,opt,name=job_name,json=jobName" json:"job_name,omitempty"`
	// "537"
	BuildId string `protobuf:"bytes,2,opt,name=build_id,json=buildId" json:"build_id,omitempty"`
	// "https://jenkins.internal.justin.tv/job/dta-rockpaperscissors/537/"
	Url               string `protobuf:"bytes,3,opt,name=url" json:"url,omitempty"`
	StartTimeInMillis int64  `protobuf:"varint,4,opt,name=start_time_in_millis,json=startTimeInMillis" json:"start_time_in_millis,omitempty"`
	DurationInMillis  int64  `protobuf:"varint,5,opt,name=duration_in_millis,json=durationInMillis" json:"duration_in_millis,omitempty"`
	// "jenkins-prod-slave-3"
	BuiltOn string                   `protobuf:"bytes,6,opt,name=built_on,json=builtOn" json:"built_on,omitempty"`
	Result  JenkinsBuildStats_Result `protobuf:"varint,7,opt,name=result,enum=rockpaperscissors.events.JenkinsBuildStats_Result" json:"result,omitempty"`
	// "Started by GitHub push by gribilly"
	Cause            string                              `protobuf:"bytes,8,opt,name=cause" json:"cause,omitempty"`
	GithubRepository *rockpaperscissors.GitHubRepository `protobuf:"bytes,9,opt,name=github_repository,json=githubRepository" json:"github_repository,omitempty"`
	// "master"
	Branch string `protobuf:"bytes,10,opt,name=branch" json:"branch,omitempty"`
	// 69cb0b8f6d6a4de67eb08f8b0dc9223daed152"
	CommitId  string                         `protobuf:"bytes,11,opt,name=commit_id,json=commitId" json:"commit_id,omitempty"`
	ChangeSet []*JenkinsBuildStats_ChangeSet `protobuf:"bytes,12,rep,name=change_set,json=changeSet" json:"change_set,omitempty"`
}

func (m *JenkinsBuildStats) Reset()                    { *m = JenkinsBuildStats{} }
func (m *JenkinsBuildStats) String() string            { return proto.CompactTextString(m) }
func (*JenkinsBuildStats) ProtoMessage()               {}
func (*JenkinsBuildStats) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{0} }

func (m *JenkinsBuildStats) GetJobName() string {
	if m != nil {
		return m.JobName
	}
	return ""
}

func (m *JenkinsBuildStats) GetBuildId() string {
	if m != nil {
		return m.BuildId
	}
	return ""
}

func (m *JenkinsBuildStats) GetUrl() string {
	if m != nil {
		return m.Url
	}
	return ""
}

func (m *JenkinsBuildStats) GetStartTimeInMillis() int64 {
	if m != nil {
		return m.StartTimeInMillis
	}
	return 0
}

func (m *JenkinsBuildStats) GetDurationInMillis() int64 {
	if m != nil {
		return m.DurationInMillis
	}
	return 0
}

func (m *JenkinsBuildStats) GetBuiltOn() string {
	if m != nil {
		return m.BuiltOn
	}
	return ""
}

func (m *JenkinsBuildStats) GetResult() JenkinsBuildStats_Result {
	if m != nil {
		return m.Result
	}
	return JenkinsBuildStats_SUCCESS
}

func (m *JenkinsBuildStats) GetCause() string {
	if m != nil {
		return m.Cause
	}
	return ""
}

func (m *JenkinsBuildStats) GetGithubRepository() *rockpaperscissors.GitHubRepository {
	if m != nil {
		return m.GithubRepository
	}
	return nil
}

func (m *JenkinsBuildStats) GetBranch() string {
	if m != nil {
		return m.Branch
	}
	return ""
}

func (m *JenkinsBuildStats) GetCommitId() string {
	if m != nil {
		return m.CommitId
	}
	return ""
}

func (m *JenkinsBuildStats) GetChangeSet() []*JenkinsBuildStats_ChangeSet {
	if m != nil {
		return m.ChangeSet
	}
	return nil
}

type JenkinsBuildStats_ChangeSet struct {
	CommitId  string `protobuf:"bytes,1,opt,name=commit_id,json=commitId" json:"commit_id,omitempty"`
	Timestamp int64  `protobuf:"varint,2,opt,name=timestamp" json:"timestamp,omitempty"`
}

func (m *JenkinsBuildStats_ChangeSet) Reset()                    { *m = JenkinsBuildStats_ChangeSet{} }
func (m *JenkinsBuildStats_ChangeSet) String() string            { return proto.CompactTextString(m) }
func (*JenkinsBuildStats_ChangeSet) ProtoMessage()               {}
func (*JenkinsBuildStats_ChangeSet) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{0, 0} }

func (m *JenkinsBuildStats_ChangeSet) GetCommitId() string {
	if m != nil {
		return m.CommitId
	}
	return ""
}

func (m *JenkinsBuildStats_ChangeSet) GetTimestamp() int64 {
	if m != nil {
		return m.Timestamp
	}
	return 0
}

func init() {
	proto.RegisterType((*JenkinsBuildStats)(nil), "rockpaperscissors.events.JenkinsBuildStats")
	proto.RegisterType((*JenkinsBuildStats_ChangeSet)(nil), "rockpaperscissors.events.JenkinsBuildStats.ChangeSet")
	proto.RegisterEnum("rockpaperscissors.events.JenkinsBuildStats_Result", JenkinsBuildStats_Result_name, JenkinsBuildStats_Result_value)
}

func init() {
	proto.RegisterFile("code.justin.tv/dta/rockpaperscissors/proto/events/jenkins_build.proto", fileDescriptor1)
}

var fileDescriptor1 = []byte{
	// 503 bytes of a gzipped FileD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