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

Unified Diff: appengine/swarming/proto/bots_pb2.py

Issue 2404883002: Add links to MP and resolve minor fixes (Closed)
Patch Set: Address easy comments Created 4 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: appengine/swarming/proto/bots_pb2.py
diff --git a/appengine/swarming/proto/bots_pb2.py b/appengine/swarming/proto/bots_pb2.py
index cdcab6d8e8abba954131a43d7472f110673db0fc..a0bbf057674b1c320756a5456c0a538ead7783ad 100644
--- a/appengine/swarming/proto/bots_pb2.py
+++ b/appengine/swarming/proto/bots_pb2.py
@@ -1,19 +1,27 @@
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: bots.proto
+import sys
+_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
+from google.protobuf import symbol_database as _symbol_database
from google.protobuf import descriptor_pb2
# @@protoc_insertion_point(imports)
+_sym_db = _symbol_database.Default()
+
DESCRIPTOR = _descriptor.FileDescriptor(
name='bots.proto',
package='',
- serialized_pb='\n\nbots.proto\"C\n\x07\x42otsCfg\x12\x1a\n\x12trusted_dimensions\x18\x01 \x03(\t\x12\x1c\n\tbot_group\x18\x02 \x03(\x0b\x32\t.BotGroup\"m\n\x08\x42otGroup\x12\x0e\n\x06\x62ot_id\x18\x01 \x03(\t\x12\x15\n\rbot_id_prefix\x18\x02 \x03(\t\x12\x16\n\x04\x61uth\x18\x14 \x01(\x0b\x32\x08.BotAuth\x12\x0e\n\x06owners\x18\x15 \x03(\t\x12\x12\n\ndimensions\x18\x16 \x03(\t\"d\n\x07\x42otAuth\x12\"\n\x1arequire_luci_machine_token\x18\x01 \x01(\x08\x12\x1f\n\x17require_service_account\x18\x02 \x01(\t\x12\x14\n\x0cip_whitelist\x18\x03 \x01(\t')
+ syntax='proto2',
+ serialized_pb=_b('\n\nbots.proto\"C\n\x07\x42otsCfg\x12\x1a\n\x12trusted_dimensions\x18\x01 \x03(\t\x12\x1c\n\tbot_group\x18\x02 \x03(\x0b\x32\t.BotGroup\"m\n\x08\x42otGroup\x12\x0e\n\x06\x62ot_id\x18\x01 \x03(\t\x12\x15\n\rbot_id_prefix\x18\x02 \x03(\t\x12\x16\n\x04\x61uth\x18\x14 \x01(\x0b\x32\x08.BotAuth\x12\x0e\n\x06owners\x18\x15 \x03(\t\x12\x12\n\ndimensions\x18\x16 \x03(\t\"d\n\x07\x42otAuth\x12\"\n\x1arequire_luci_machine_token\x18\x01 \x01(\x08\x12\x1f\n\x17require_service_account\x18\x02 \x01(\t\x12\x14\n\x0cip_whitelist\x18\x03 \x01(\t')
+)
+_sym_db.RegisterFileDescriptor(DESCRIPTOR)
@@ -47,7 +55,10 @@ _BOTSCFG = _descriptor.Descriptor(
],
options=None,
is_extendable=False,
+ syntax='proto2',
extension_ranges=[],
+ oneofs=[
+ ],
serialized_start=14,
serialized_end=81,
)
@@ -103,7 +114,10 @@ _BOTGROUP = _descriptor.Descriptor(
],
options=None,
is_extendable=False,
+ syntax='proto2',
extension_ranges=[],
+ oneofs=[
+ ],
serialized_start=83,
serialized_end=192,
)
@@ -126,14 +140,14 @@ _BOTAUTH = _descriptor.Descriptor(
_descriptor.FieldDescriptor(
name='require_service_account', full_name='BotAuth.require_service_account', index=1,
number=2, type=9, cpp_type=9, label=1,
- has_default_value=False, default_value=unicode("", "utf-8"),
+ has_default_value=False, default_value=_b("").decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
name='ip_whitelist', full_name='BotAuth.ip_whitelist', index=2,
number=3, type=9, cpp_type=9, label=1,
- has_default_value=False, default_value=unicode("", "utf-8"),
+ has_default_value=False, default_value=_b("").decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
@@ -145,7 +159,10 @@ _BOTAUTH = _descriptor.Descriptor(
],
options=None,
is_extendable=False,
+ syntax='proto2',
extension_ranges=[],
+ oneofs=[
+ ],
serialized_start=194,
serialized_end=294,
)
@@ -156,23 +173,26 @@ DESCRIPTOR.message_types_by_name['BotsCfg'] = _BOTSCFG
DESCRIPTOR.message_types_by_name['BotGroup'] = _BOTGROUP
DESCRIPTOR.message_types_by_name['BotAuth'] = _BOTAUTH
-class BotsCfg(_message.Message):
- __metaclass__ = _reflection.GeneratedProtocolMessageType
- DESCRIPTOR = _BOTSCFG
-
+BotsCfg = _reflection.GeneratedProtocolMessageType('BotsCfg', (_message.Message,), dict(
+ DESCRIPTOR = _BOTSCFG,
+ __module__ = 'bots_pb2'
# @@protoc_insertion_point(class_scope:BotsCfg)
+ ))
+_sym_db.RegisterMessage(BotsCfg)
-class BotGroup(_message.Message):
- __metaclass__ = _reflection.GeneratedProtocolMessageType
- DESCRIPTOR = _BOTGROUP
-
+BotGroup = _reflection.GeneratedProtocolMessageType('BotGroup', (_message.Message,), dict(
+ DESCRIPTOR = _BOTGROUP,
+ __module__ = 'bots_pb2'
# @@protoc_insertion_point(class_scope:BotGroup)
+ ))
+_sym_db.RegisterMessage(BotGroup)
-class BotAuth(_message.Message):
- __metaclass__ = _reflection.GeneratedProtocolMessageType
- DESCRIPTOR = _BOTAUTH
-
+BotAuth = _reflection.GeneratedProtocolMessageType('BotAuth', (_message.Message,), dict(
+ DESCRIPTOR = _BOTAUTH,
+ __module__ = 'bots_pb2'
# @@protoc_insertion_point(class_scope:BotAuth)
+ ))
+_sym_db.RegisterMessage(BotAuth)
# @@protoc_insertion_point(module_scope)

Powered by Google App Engine
This is Rietveld 408576698