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

Unified Diff: client/third_party/infra_libs/ts_mon/protos/current/acquisition_network_device_pb2.py

Issue 2465423002: Roll infra_libs to 564aaf7480f24c90687df79d9cef910cc342a54d (Closed)
Patch Set: update readmes Created 4 years, 1 month 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: client/third_party/infra_libs/ts_mon/protos/current/acquisition_network_device_pb2.py
diff --git a/client/third_party/infra_libs/ts_mon/protos/acquisition_network_device_pb2.py b/client/third_party/infra_libs/ts_mon/protos/current/acquisition_network_device_pb2.py
similarity index 71%
rename from client/third_party/infra_libs/ts_mon/protos/acquisition_network_device_pb2.py
rename to client/third_party/infra_libs/ts_mon/protos/current/acquisition_network_device_pb2.py
index eb8938fbfd268a2f37ab2b6596abaf4a3b8bfb8c..1a4bf9d1d591fffcffd3254fe76507683263488d 100644
--- a/client/third_party/infra_libs/ts_mon/protos/acquisition_network_device_pb2.py
+++ b/client/third_party/infra_libs/ts_mon/protos/current/acquisition_network_device_pb2.py
@@ -1,19 +1,26 @@
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: acquisition_network_device.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='acquisition_network_device.proto',
package='ts_mon.proto',
- serialized_pb='\n acquisition_network_device.proto\x12\x0cts_mon.proto\"\x95\x01\n\rNetworkDevice\x12\x11\n\talertable\x18\x65 \x01(\x08\x12\r\n\x05realm\x18\x66 \x01(\t\x12\r\n\x05metro\x18h \x01(\t\x12\x0c\n\x04role\x18i \x01(\t\x12\x10\n\x08hostname\x18j \x01(\t\x12\x11\n\thostgroup\x18l \x01(\t\" \n\x06TypeId\x12\x16\n\x0fMESSAGE_TYPE_ID\x10\xd5\x9d\x9e\x10')
+ serialized_pb=_b('\n acquisition_network_device.proto\x12\x0cts_mon.proto\"\x95\x01\n\rNetworkDevice\x12\x11\n\talertable\x18\x65 \x01(\x08\x12\r\n\x05realm\x18\x66 \x01(\t\x12\r\n\x05metro\x18h \x01(\t\x12\x0c\n\x04role\x18i \x01(\t\x12\x10\n\x08hostname\x18j \x01(\t\x12\x11\n\thostgroup\x18l \x01(\t\" \n\x06TypeId\x12\x16\n\x0fMESSAGE_TYPE_ID\x10\xd5\x9d\x9e\x10')
+)
+_sym_db.RegisterFileDescriptor(DESCRIPTOR)
@@ -33,6 +40,7 @@ _NETWORKDEVICE_TYPEID = _descriptor.EnumDescriptor(
serialized_start=168,
serialized_end=200,
)
+_sym_db.RegisterEnumDescriptor(_NETWORKDEVICE_TYPEID)
_NETWORKDEVICE = _descriptor.Descriptor(
@@ -52,35 +60,35 @@ _NETWORKDEVICE = _descriptor.Descriptor(
_descriptor.FieldDescriptor(
name='realm', full_name='ts_mon.proto.NetworkDevice.realm', index=1,
number=102, 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='metro', full_name='ts_mon.proto.NetworkDevice.metro', index=2,
number=104, 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='role', full_name='ts_mon.proto.NetworkDevice.role', index=3,
number=105, 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='hostname', full_name='ts_mon.proto.NetworkDevice.hostname', index=4,
number=106, 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='hostgroup', full_name='ts_mon.proto.NetworkDevice.hostgroup', index=5,
number=108, 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),
@@ -94,18 +102,21 @@ _NETWORKDEVICE = _descriptor.Descriptor(
options=None,
is_extendable=False,
extension_ranges=[],
+ oneofs=[
+ ],
serialized_start=51,
serialized_end=200,
)
-_NETWORKDEVICE_TYPEID.containing_type = _NETWORKDEVICE;
+_NETWORKDEVICE_TYPEID.containing_type = _NETWORKDEVICE
DESCRIPTOR.message_types_by_name['NetworkDevice'] = _NETWORKDEVICE
-class NetworkDevice(_message.Message):
- __metaclass__ = _reflection.GeneratedProtocolMessageType
- DESCRIPTOR = _NETWORKDEVICE
-
+NetworkDevice = _reflection.GeneratedProtocolMessageType('NetworkDevice', (_message.Message,), dict(
+ DESCRIPTOR = _NETWORKDEVICE,
+ __module__ = 'acquisition_network_device_pb2'
# @@protoc_insertion_point(class_scope:ts_mon.proto.NetworkDevice)
+ ))
+_sym_db.RegisterMessage(NetworkDevice)
# @@protoc_insertion_point(module_scope)

Powered by Google App Engine
This is Rietveld 408576698