chunked_vector_fuzzer.proto 1.2 KB

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