1// Code generated by protoc-gen-go. DO NOT EDIT.
2// source: upload.proto
3
4package soong_metrics_upload_proto
5
6import (
7	fmt "fmt"
8	proto "github.com/golang/protobuf/proto"
9	math "math"
10)
11
12// Reference imports to suppress errors if they are not otherwise used.
13var _ = proto.Marshal
14var _ = fmt.Errorf
15var _ = math.Inf
16
17// This is a compile-time assertion to ensure that this generated file
18// is compatible with the proto package it is being compiled against.
19// A compilation error at this line likely means your copy of the
20// proto package needs to be updated.
21const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
22
23type Upload struct {
24	// The timestamp in milliseconds that the build was created.
25	CreationTimestampMs *uint64 `protobuf:"varint,1,opt,name=creation_timestamp_ms,json=creationTimestampMs" json:"creation_timestamp_ms,omitempty"`
26	// The timestamp in milliseconds when the build was completed.
27	CompletionTimestampMs *uint64 `protobuf:"varint,2,opt,name=completion_timestamp_ms,json=completionTimestampMs" json:"completion_timestamp_ms,omitempty"`
28	// The branch name.
29	BranchName *string `protobuf:"bytes,3,opt,name=branch_name,json=branchName" json:"branch_name,omitempty"`
30	// The target name.
31	TargetName *string `protobuf:"bytes,4,opt,name=target_name,json=targetName" json:"target_name,omitempty"`
32	// A list of metrics filepaths to upload.
33	MetricsFiles []string `protobuf:"bytes,5,rep,name=metrics_files,json=metricsFiles" json:"metrics_files,omitempty"`
34	// A list of directories to delete after the copy of metrics files
35	// is completed for uploading.
36	DirectoriesToDelete  []string `protobuf:"bytes,6,rep,name=directories_to_delete,json=directoriesToDelete" json:"directories_to_delete,omitempty"`
37	XXX_NoUnkeyedLiteral struct{} `json:"-"`
38	XXX_unrecognized     []byte   `json:"-"`
39	XXX_sizecache        int32    `json:"-"`
40}
41
42func (m *Upload) Reset()         { *m = Upload{} }
43func (m *Upload) String() string { return proto.CompactTextString(m) }
44func (*Upload) ProtoMessage()    {}
45func (*Upload) Descriptor() ([]byte, []int) {
46	return fileDescriptor_91b94b655bd2a7e5, []int{0}
47}
48
49func (m *Upload) XXX_Unmarshal(b []byte) error {
50	return xxx_messageInfo_Upload.Unmarshal(m, b)
51}
52func (m *Upload) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
53	return xxx_messageInfo_Upload.Marshal(b, m, deterministic)
54}
55func (m *Upload) XXX_Merge(src proto.Message) {
56	xxx_messageInfo_Upload.Merge(m, src)
57}
58func (m *Upload) XXX_Size() int {
59	return xxx_messageInfo_Upload.Size(m)
60}
61func (m *Upload) XXX_DiscardUnknown() {
62	xxx_messageInfo_Upload.DiscardUnknown(m)
63}
64
65var xxx_messageInfo_Upload proto.InternalMessageInfo
66
67func (m *Upload) GetCreationTimestampMs() uint64 {
68	if m != nil && m.CreationTimestampMs != nil {
69		return *m.CreationTimestampMs
70	}
71	return 0
72}
73
74func (m *Upload) GetCompletionTimestampMs() uint64 {
75	if m != nil && m.CompletionTimestampMs != nil {
76		return *m.CompletionTimestampMs
77	}
78	return 0
79}
80
81func (m *Upload) GetBranchName() string {
82	if m != nil && m.BranchName != nil {
83		return *m.BranchName
84	}
85	return ""
86}
87
88func (m *Upload) GetTargetName() string {
89	if m != nil && m.TargetName != nil {
90		return *m.TargetName
91	}
92	return ""
93}
94
95func (m *Upload) GetMetricsFiles() []string {
96	if m != nil {
97		return m.MetricsFiles
98	}
99	return nil
100}
101
102func (m *Upload) GetDirectoriesToDelete() []string {
103	if m != nil {
104		return m.DirectoriesToDelete
105	}
106	return nil
107}
108
109func init() {
110	proto.RegisterType((*Upload)(nil), "soong_metrics_upload.Upload")
111}
112
113func init() {
114	proto.RegisterFile("upload.proto", fileDescriptor_91b94b655bd2a7e5)
115}
116
117var fileDescriptor_91b94b655bd2a7e5 = []byte{
118	// 230 bytes of a gzipped FileDescriptorProto
119	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x90, 0xb1, 0x4a, 0x04, 0x31,
120	0x10, 0x86, 0xd9, 0xbb, 0xf3, 0xe0, 0xe2, 0xd9, 0xec, 0x79, 0x18, 0x44, 0x70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	0x5f, 0xbc, 0x9e, 0xff, 0xb7, 0x14, 0xe4, 0x15, 0xbf, 0x03, 0x00, 0x00, 0xff, 0xff, 0x64, 0x04,
133	0xa8, 0xf4, 0x54, 0x01, 0x00, 0x00,
134}
135