xref: /aosp_15_r20/external/federated-compute/fcp/tracing/test/test_api_message.proto (revision 14675a029014e728ec732f129a32e299b2da0601)
1// Copyright 2021 Google LLC
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7//      http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15syntax = "proto3";
16
17package fcp.tracing.test;
18
19message ApiMessageWithoutContext {
20  string contents = 1;
21}
22
23message ApiMessageWithContext {
24  string contents = 1;
25  string tracing_context = 2;
26}
27
28message ApiMessageWithContextBytes {
29  string contents = 1;
30  bytes tracing_context = 2;
31}
32
33message ApiMessageWithContextInt {
34  string contents = 1;
35  int32 tracing_context = 2;
36}
37
38message TestTracingContext {
39  int32 first = 1;
40  int32 second = 2;
41}
42