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