1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21 package resultstore
22
23 import (
24 reflect "reflect"
25 sync "sync"
26
27 _ "google.golang.org/genproto/googleapis/api/annotations"
28 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
29 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
30 )
31
32 const (
33
34 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
35
36 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
37 )
38
39
40 type DownloadMetadata struct {
41 state protoimpl.MessageState
42 sizeCache protoimpl.SizeCache
43 unknownFields protoimpl.UnknownFields
44
45
46
47 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
48
49
50 UploadStatus UploadStatus `protobuf:"varint,2,opt,name=upload_status,json=uploadStatus,proto3,enum=google.devtools.resultstore.v2.UploadStatus" json:"upload_status,omitempty"`
51 }
52
53 func (x *DownloadMetadata) Reset() {
54 *x = DownloadMetadata{}
55 if protoimpl.UnsafeEnabled {
56 mi := &file_google_devtools_resultstore_v2_download_metadata_proto_msgTypes[0]
57 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
58 ms.StoreMessageInfo(mi)
59 }
60 }
61
62 func (x *DownloadMetadata) String() string {
63 return protoimpl.X.MessageStringOf(x)
64 }
65
66 func (*DownloadMetadata) ProtoMessage() {}
67
68 func (x *DownloadMetadata) ProtoReflect() protoreflect.Message {
69 mi := &file_google_devtools_resultstore_v2_download_metadata_proto_msgTypes[0]
70 if protoimpl.UnsafeEnabled && x != nil {
71 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
72 if ms.LoadMessageInfo() == nil {
73 ms.StoreMessageInfo(mi)
74 }
75 return ms
76 }
77 return mi.MessageOf(x)
78 }
79
80
81 func (*DownloadMetadata) Descriptor() ([]byte, []int) {
82 return file_google_devtools_resultstore_v2_download_metadata_proto_rawDescGZIP(), []int{0}
83 }
84
85 func (x *DownloadMetadata) GetName() string {
86 if x != nil {
87 return x.Name
88 }
89 return ""
90 }
91
92 func (x *DownloadMetadata) GetUploadStatus() UploadStatus {
93 if x != nil {
94 return x.UploadStatus
95 }
96 return UploadStatus_UPLOAD_STATUS_UNSPECIFIED
97 }
98
99 var File_google_devtools_resultstore_v2_download_metadata_proto protoreflect.FileDescriptor
100
101 var file_google_devtools_resultstore_v2_download_metadata_proto_rawDesc = []byte{
102 0x0a, 0x36, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c,
103 0x73, 0x2f, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x32,
104 0x2f, 0x64, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61,
105 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
106 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74,
107 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x32, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
108 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72,
109 0x6f, 0x74, 0x6f, 0x1a, 0x2b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x64, 0x65, 0x76, 0x74,
110 0x6f, 0x6f, 0x6c, 0x73, 0x2f, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x74, 0x6f, 0x72, 0x65,
111 0x2f, 0x76, 0x32, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
112 0x22, 0xd6, 0x01, 0x0a, 0x10, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x4d, 0x65, 0x74,
113 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20,
114 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x51, 0x0a, 0x0d, 0x75, 0x70, 0x6c,
115 0x6f, 0x61, 0x64, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e,
116 0x32, 0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f,
117 0x6c, 0x73, 0x2e, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76,
118 0x32, 0x2e, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x0c,
119 0x75, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x3a, 0x5b, 0xea, 0x41,
120 0x58, 0x0a, 0x2b, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x67,
121 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x44, 0x6f,
122 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x29,
123 0x69, 0x6e, 0x76, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x69, 0x6e, 0x76,
124 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x64, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61,
125 0x64, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x42, 0x88, 0x01, 0x0a, 0x22, 0x63, 0x6f,
126 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c,
127 0x73, 0x2e, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x32,
128 0x42, 0x15, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61,
129 0x74, 0x61, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x49, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
130 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e,
131 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73,
132 0x2f, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2f, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74,
133 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x32, 0x3b, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73,
134 0x74, 0x6f, 0x72, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
135 }
136
137 var (
138 file_google_devtools_resultstore_v2_download_metadata_proto_rawDescOnce sync.Once
139 file_google_devtools_resultstore_v2_download_metadata_proto_rawDescData = file_google_devtools_resultstore_v2_download_metadata_proto_rawDesc
140 )
141
142 func file_google_devtools_resultstore_v2_download_metadata_proto_rawDescGZIP() []byte {
143 file_google_devtools_resultstore_v2_download_metadata_proto_rawDescOnce.Do(func() {
144 file_google_devtools_resultstore_v2_download_metadata_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_devtools_resultstore_v2_download_metadata_proto_rawDescData)
145 })
146 return file_google_devtools_resultstore_v2_download_metadata_proto_rawDescData
147 }
148
149 var file_google_devtools_resultstore_v2_download_metadata_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
150 var file_google_devtools_resultstore_v2_download_metadata_proto_goTypes = []interface{}{
151 (*DownloadMetadata)(nil),
152 (UploadStatus)(0),
153 }
154 var file_google_devtools_resultstore_v2_download_metadata_proto_depIdxs = []int32{
155 1,
156 1,
157 1,
158 1,
159 1,
160 0,
161 }
162
163 func init() { file_google_devtools_resultstore_v2_download_metadata_proto_init() }
164 func file_google_devtools_resultstore_v2_download_metadata_proto_init() {
165 if File_google_devtools_resultstore_v2_download_metadata_proto != nil {
166 return
167 }
168 file_google_devtools_resultstore_v2_common_proto_init()
169 if !protoimpl.UnsafeEnabled {
170 file_google_devtools_resultstore_v2_download_metadata_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
171 switch v := v.(*DownloadMetadata); i {
172 case 0:
173 return &v.state
174 case 1:
175 return &v.sizeCache
176 case 2:
177 return &v.unknownFields
178 default:
179 return nil
180 }
181 }
182 }
183 type x struct{}
184 out := protoimpl.TypeBuilder{
185 File: protoimpl.DescBuilder{
186 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
187 RawDescriptor: file_google_devtools_resultstore_v2_download_metadata_proto_rawDesc,
188 NumEnums: 0,
189 NumMessages: 1,
190 NumExtensions: 0,
191 NumServices: 0,
192 },
193 GoTypes: file_google_devtools_resultstore_v2_download_metadata_proto_goTypes,
194 DependencyIndexes: file_google_devtools_resultstore_v2_download_metadata_proto_depIdxs,
195 MessageInfos: file_google_devtools_resultstore_v2_download_metadata_proto_msgTypes,
196 }.Build()
197 File_google_devtools_resultstore_v2_download_metadata_proto = out.File
198 file_google_devtools_resultstore_v2_download_metadata_proto_rawDesc = nil
199 file_google_devtools_resultstore_v2_download_metadata_proto_goTypes = nil
200 file_google_devtools_resultstore_v2_download_metadata_proto_depIdxs = nil
201 }
202
View as plain text