Julien Desprez | 093c3f6 | 2018-05-21 16:23:37 -0700 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2018 The Android Open Source Project |
| 3 | * |
| 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | * you may not use this file except in compliance with the License. |
| 6 | * You may obtain a copy of the License at |
| 7 | * |
| 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | * |
| 10 | * Unless required by applicable law or agreed to in writing, software |
| 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | * See the License for the specific language governing permissions and |
| 14 | * limitations under the License. |
| 15 | */ |
| 16 | syntax = "proto3"; |
| 17 | |
Julien Desprez | ed8bd9b | 2018-07-13 08:50:20 -0700 | [diff] [blame] | 18 | option java_package = "com.android.tradefed.result.proto"; |
Julien Desprez | 093c3f6 | 2018-05-21 16:23:37 -0700 | [diff] [blame] | 19 | option java_outer_classname = "LogFileProto"; |
| 20 | |
| 21 | // Represents a single log file |
| 22 | message LogFileInfo { |
| 23 | // The local path of the log file |
| 24 | string path = 1; |
| 25 | // The remote path of the log file once logged |
| 26 | string url = 2; |
Julien Desprez | 769681a | 2019-11-19 14:49:20 -0800 | [diff] [blame] | 27 | // The type of the log file (For example: Logcat, screenshot) |
Julien Desprez | 093c3f6 | 2018-05-21 16:23:37 -0700 | [diff] [blame] | 28 | string log_type = 3; |
| 29 | // Whether the file is a text file |
| 30 | bool is_text = 4; |
| 31 | // whether the file is compressed or not |
| 32 | bool is_compressed = 5; |
| 33 | // Size of the file in bytes |
| 34 | int64 size = 6; |
Julien Desprez | 769681a | 2019-11-19 14:49:20 -0800 | [diff] [blame] | 35 | // The actual mime content type of the file |
| 36 | string content_type = 7; |
| 37 | } |