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