blob: ea05bb065608c5ae05c4623f24cf0cbe56a2185c [file] [log] [blame]
Julien Desprez093c3f62018-05-21 16:23:37 -07001/*
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 */
16syntax = "proto3";
17
Julien Desprezed8bd9b2018-07-13 08:50:20 -070018option java_package = "com.android.tradefed.result.proto";
Julien Desprez093c3f62018-05-21 16:23:37 -070019option java_outer_classname = "LogFileProto";
20
21// Represents a single log file
22message 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 Desprez769681a2019-11-19 14:49:20 -080027 // The type of the log file (For example: Logcat, screenshot)
Julien Desprez093c3f62018-05-21 16:23:37 -070028 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 Desprez769681a2019-11-19 14:49:20 -080035 // The actual mime content type of the file
36 string content_type = 7;
37}