1// Copyright 2023 gRPC authors. 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 hpack_sync_fuzzer; 18 19import "test/core/util/fuzz_config_vars.proto"; 20 21message Empty {} 22 23message StringKeyValue { 24 string key = 1; 25 string value = 2; 26} 27 28message IndexedKeyValue { 29 uint32 index = 1; 30 string value = 2; 31} 32 33message Header { 34 oneof ty { 35 uint32 indexed = 1; 36 StringKeyValue literal_inc_idx = 2; 37 StringKeyValue literal_not_idx = 3; 38 IndexedKeyValue literal_not_idx_from_idx = 4; 39 } 40} 41 42message Msg { 43 bool use_true_binary_metadata = 1; 44 repeated Header headers = 2; 45 grpc.testing.FuzzConfigVars config_vars = 3; 46 repeated uint64 random_numbers = 4; 47} 48