1/** 2 * Copyright 2024 Google LLC 3 * 4 * <p>Licensed under the Apache License, Version 2.0 (the "License"); you may 5 * not use this file except in compliance with the License. You may obtain a 6 * copy of the License at 7 * 8 * <p>http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * <p>Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 * License for the specific language governing permissions and limitations under 14 * the License. 15 */ 16syntax = "proto3"; 17 18package google.ondevicepersonalization.federatedcompute.proto; 19 20import "fcp/protos/federatedcompute/common.proto"; 21 22option java_package = "com.google.ondevicepersonalization.federatedcompute.proto"; 23option java_multiple_files = true; 24 25// The upload instruction shared for use by the aggregate exception counts 26// from the client and FL results. 27// Next id: 4 28message UploadInstruction { 29 // upload file path. 30 string upload_location = 1; 31 32 // extra head for uploading. 33 map<string, string> extra_request_headers = 2; 34 35 // The compression used for resource, or unset if the data is 36 // uncompressed. 37 google.internal.federatedcompute.v1.ResourceCompressionFormat compression_format = 3; 38} 39