OLD | NEW |
(Empty) | |
| 1 // Copyright 2016 The LUCI Authors. All rights reserved. |
| 2 // Use of this source code is governed under the Apache License, Version 2.0 |
| 3 // that can be found in the LICENSE file. |
| 4 |
| 5 syntax = "proto3"; |
| 6 |
| 7 package recipe_engine; |
| 8 |
| 9 // Arguments is a protobuf that can be supplied to the recipe engine through its |
| 10 // "--operational-args-path" command-line parameter in JSONPB format. |
| 11 message Arguments { |
| 12 // A single recipe engine Property value. |
| 13 message Property { |
| 14 // The property value. |
| 15 oneof value { |
| 16 // A string value. |
| 17 string s = 1; |
| 18 |
| 19 // An int64 value. |
| 20 int64 int = 2; |
| 21 |
| 22 // A uint64 value. |
| 23 uint64 uint = 3; |
| 24 |
| 25 // A double value. |
| 26 double d = 4; |
| 27 |
| 28 // A boolean value. |
| 29 bool b = 5; |
| 30 |
| 31 // Byte value. |
| 32 bytes data = 6; |
| 33 |
| 34 // Nested property map. |
| 35 PropertyMap map = 7; |
| 36 |
| 37 // An ordered list of Properties. |
| 38 PropertyList list = 8; |
| 39 } |
| 40 } |
| 41 |
| 42 // An ordered list of Properties. |
| 43 message PropertyList { |
| 44 repeated Property property = 1; |
| 45 } |
| 46 |
| 47 // A map of properties bound to string name keys. |
| 48 message PropertyMap { |
| 49 // A map of property key to value. |
| 50 map<string, Property> property = 1; |
| 51 } |
| 52 |
| 53 // Input Properties. |
| 54 PropertyMap properties = 1; |
| 55 |
| 56 // Message containing the set of supported annotation control flags. |
| 57 message AnnotationFlags { |
| 58 // If true, emit CURRENT_TIMESTAMP annotations. |
| 59 bool emit_timestamp = 1; |
| 60 } |
| 61 // Annotation control flags. |
| 62 AnnotationFlags annotation_flags = 2; |
| 63 } |
OLD | NEW |