Debian Codegraph @

test/core/gprpp/chunked_vector_fuzzer.proto

raw
1 // Copyright 2021 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 syntax = "proto3";
15
16 package chunked_vector_fuzzer;
17
18 message EmplaceBack {
19 int32 vector = 1;
20 int32 value = 2;
21 }
22
23 message PopBack {
24 int32 vector = 1;
25 }
26
27 message Copy {
28 int32 from = 1;
29 int32 to = 2;
30 }
31
32 message ClearVector {
33 int32 vector = 1;
34 }
35
36 message RemoveIf {
37 int32 vector = 1;
38 int32 value = 2;
39 }
40
41 message Action {
42 oneof action_type {
43 EmplaceBack emplace_back = 1;
44 PopBack pop_back = 2;
45 Copy copy = 3;
46 Copy move = 4;
47 ClearVector clear = 5;
48 Copy swap = 6;
49 RemoveIf remove_if = 7;
50 }
51 }
52
53 message Msg {
54 repeated Action actions = 1;
55 }