Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(261)

Side by Side Diff: recipe_engine/arguments.proto

Issue 2237593002: Add support for operational arguments protobuf. (Closed) Base URL: https://github.com/luci/recipes-py@proto3-release
Patch Set: Comment for oneof map. Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | recipe_engine/arguments_pb2.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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 }
OLDNEW
« no previous file with comments | « no previous file | recipe_engine/arguments_pb2.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698