Patrice Arruda | adfc112 | 2020-04-03 08:40:19 -0700 | [diff] [blame^] | 1 | // Code generated by protoc-gen-go. DO NOT EDIT. |
| 2 | // source: upload.proto |
| 3 | |
| 4 | package soong_metrics_upload_proto |
| 5 | |
| 6 | import ( |
| 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. |
| 13 | var _ = proto.Marshal |
| 14 | var _ = fmt.Errorf |
| 15 | var _ = 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. |
| 21 | const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package |
| 22 | |
| 23 | type 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 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 35 | XXX_unrecognized []byte `json:"-"` |
| 36 | XXX_sizecache int32 `json:"-"` |
| 37 | } |
| 38 | |
| 39 | func (m *Upload) Reset() { *m = Upload{} } |
| 40 | func (m *Upload) String() string { return proto.CompactTextString(m) } |
| 41 | func (*Upload) ProtoMessage() {} |
| 42 | func (*Upload) Descriptor() ([]byte, []int) { |
| 43 | return fileDescriptor_91b94b655bd2a7e5, []int{0} |
| 44 | } |
| 45 | |
| 46 | func (m *Upload) XXX_Unmarshal(b []byte) error { |
| 47 | return xxx_messageInfo_Upload.Unmarshal(m, b) |
| 48 | } |
| 49 | func (m *Upload) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 50 | return xxx_messageInfo_Upload.Marshal(b, m, deterministic) |
| 51 | } |
| 52 | func (m *Upload) XXX_Merge(src proto.Message) { |
| 53 | xxx_messageInfo_Upload.Merge(m, src) |
| 54 | } |
| 55 | func (m *Upload) XXX_Size() int { |
| 56 | return xxx_messageInfo_Upload.Size(m) |
| 57 | } |
| 58 | func (m *Upload) XXX_DiscardUnknown() { |
| 59 | xxx_messageInfo_Upload.DiscardUnknown(m) |
| 60 | } |
| 61 | |
| 62 | var xxx_messageInfo_Upload proto.InternalMessageInfo |
| 63 | |
| 64 | func (m *Upload) GetCreationTimestampMs() uint64 { |
| 65 | if m != nil && m.CreationTimestampMs != nil { |
| 66 | return *m.CreationTimestampMs |
| 67 | } |
| 68 | return 0 |
| 69 | } |
| 70 | |
| 71 | func (m *Upload) GetCompletionTimestampMs() uint64 { |
| 72 | if m != nil && m.CompletionTimestampMs != nil { |
| 73 | return *m.CompletionTimestampMs |
| 74 | } |
| 75 | return 0 |
| 76 | } |
| 77 | |
| 78 | func (m *Upload) GetBranchName() string { |
| 79 | if m != nil && m.BranchName != nil { |
| 80 | return *m.BranchName |
| 81 | } |
| 82 | return "" |
| 83 | } |
| 84 | |
| 85 | func (m *Upload) GetTargetName() string { |
| 86 | if m != nil && m.TargetName != nil { |
| 87 | return *m.TargetName |
| 88 | } |
| 89 | return "" |
| 90 | } |
| 91 | |
| 92 | func (m *Upload) GetMetricsFiles() []string { |
| 93 | if m != nil { |
| 94 | return m.MetricsFiles |
| 95 | } |
| 96 | return nil |
| 97 | } |
| 98 | |
| 99 | func init() { |
| 100 | proto.RegisterType((*Upload)(nil), "soong_metrics_upload.Upload") |
| 101 | } |
| 102 | |
| 103 | func init() { |
| 104 | proto.RegisterFile("upload.proto", fileDescriptor_91b94b655bd2a7e5) |
| 105 | } |
| 106 | |
| 107 | var fileDescriptor_91b94b655bd2a7e5 = []byte{ |
| 108 | // 201 bytes of a gzipped FileDescriptorProto |
| 109 | 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xe2, 0x29, 0x2d, 0xc8, 0xc9, |
| 110 | 0x4f, 0x4c, 0xd1, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x12, 0x29, 0xce, 0xcf, 0xcf, 0x4b, 0x8f, |
| 111 | 0xcf, 0x4d, 0x2d, 0x29, 0xca, 0x4c, 0x2e, 0x8e, 0x87, 0xc8, 0x29, 0xdd, 0x66, 0xe4, 0x62, 0x0b, |
| 112 | 0x05, 0x33, 0x85, 0x8c, 0xb8, 0x44, 0x93, 0x8b, 0x52, 0x13, 0x4b, 0x32, 0xf3, 0xf3, 0xe2, 0x4b, |
| 113 | 0x32, 0x73, 0x53, 0x8b, 0x4b, 0x12, 0x73, 0x0b, 0xe2, 0x73, 0x8b, 0x25, 0x18, 0x15, 0x18, 0x35, |
| 114 | 0x58, 0x82, 0x84, 0x61, 0x92, 0x21, 0x30, 0x39, 0xdf, 0x62, 0x21, 0x33, 0x2e, 0xf1, 0xe4, 0xfc, |
| 115 | 0xdc, 0x82, 0x9c, 0x54, 0x4c, 0x5d, 0x4c, 0x60, 0x5d, 0xa2, 0x08, 0x69, 0x64, 0x7d, 0xf2, 0x5c, |
| 116 | 0xdc, 0x49, 0x45, 0x89, 0x79, 0xc9, 0x19, 0xf1, 0x79, 0x89, 0xb9, 0xa9, 0x12, 0xcc, 0x0a, 0x8c, |
| 117 | 0x1a, 0x9c, 0x41, 0x5c, 0x10, 0x21, 0xbf, 0xc4, 0xdc, 0x54, 0x90, 0x82, 0x92, 0xc4, 0xa2, 0xf4, |
| 118 | 0xd4, 0x12, 0x88, 0x02, 0x16, 0x88, 0x02, 0x88, 0x10, 0x58, 0x81, 0x32, 0x17, 0x2f, 0xcc, 0x2b, |
| 119 | 0x69, 0x99, 0x39, 0xa9, 0xc5, 0x12, 0xac, 0x0a, 0xcc, 0x1a, 0x9c, 0x41, 0x3c, 0x50, 0x41, 0x37, |
| 120 | 0x90, 0x98, 0x93, 0x4c, 0x94, 0x14, 0x36, 0x5f, 0xc7, 0x83, 0x43, 0x04, 0x10, 0x00, 0x00, 0xff, |
| 121 | 0xff, 0xe2, 0x01, 0x74, 0x65, 0x20, 0x01, 0x00, 0x00, |
| 122 | } |