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

Unified Diff: recipe_engine/third_party/google/protobuf/any_test_pb2.py

Issue 2236673002: Bump vendoring, move to proto3 release. (Closed) Base URL: https://github.com/luci/recipes-py@master
Patch Set: 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 side-by-side diff with in-line comments
Download patch
Index: recipe_engine/third_party/google/protobuf/any_test_pb2.py
diff --git a/recipe_engine/third_party/google/protobuf/internal/any_test_pb2.py b/recipe_engine/third_party/google/protobuf/any_test_pb2.py
similarity index 53%
copy from recipe_engine/third_party/google/protobuf/internal/any_test_pb2.py
copy to recipe_engine/third_party/google/protobuf/any_test_pb2.py
index ded08b616631646f8778bd34f977dddeb1e9ea8f..64f90e8ef47de6fd053fc3187e21957038d07368 100644
--- a/recipe_engine/third_party/google/protobuf/internal/any_test_pb2.py
+++ b/recipe_engine/third_party/google/protobuf/any_test_pb2.py
@@ -1,5 +1,5 @@
# Generated by the protocol buffer compiler. DO NOT EDIT!
-# source: google/protobuf/internal/any_test.proto
+# source: google/protobuf/any_test.proto
import sys
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
@@ -17,10 +17,10 @@ from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2
DESCRIPTOR = _descriptor.FileDescriptor(
- name='google/protobuf/internal/any_test.proto',
- package='google.protobuf.internal',
+ name='google/protobuf/any_test.proto',
+ package='protobuf_unittest',
syntax='proto3',
- serialized_pb=_b('\n\'google/protobuf/internal/any_test.proto\x12\x18google.protobuf.internal\x1a\x19google/protobuf/any.proto\"A\n\x07TestAny\x12#\n\x05value\x18\x01 \x01(\x0b\x32\x14.google.protobuf.Any\x12\x11\n\tint_value\x18\x02 \x01(\x05\x62\x06proto3')
+ serialized_pb=_b('\n\x1egoogle/protobuf/any_test.proto\x12\x11protobuf_unittest\x1a\x19google/protobuf/any.proto\"y\n\x07TestAny\x12\x13\n\x0bint32_value\x18\x01 \x01(\x05\x12\'\n\tany_value\x18\x02 \x01(\x0b\x32\x14.google.protobuf.Any\x12\x30\n\x12repeated_any_value\x18\x03 \x03(\x0b\x32\x14.google.protobuf.Anyb\x06proto3')
,
dependencies=[google_dot_protobuf_dot_any__pb2.DESCRIPTOR,])
_sym_db.RegisterFileDescriptor(DESCRIPTOR)
@@ -30,22 +30,29 @@ _sym_db.RegisterFileDescriptor(DESCRIPTOR)
_TESTANY = _descriptor.Descriptor(
name='TestAny',
- full_name='google.protobuf.internal.TestAny',
+ full_name='protobuf_unittest.TestAny',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
- name='value', full_name='google.protobuf.internal.TestAny.value', index=0,
- number=1, type=11, cpp_type=10, label=1,
+ name='int32_value', full_name='protobuf_unittest.TestAny.int32_value', index=0,
+ number=1, type=5, cpp_type=1, label=1,
+ has_default_value=False, default_value=0,
+ message_type=None, enum_type=None, containing_type=None,
+ is_extension=False, extension_scope=None,
+ options=None),
+ _descriptor.FieldDescriptor(
+ name='any_value', full_name='protobuf_unittest.TestAny.any_value', index=1,
+ number=2, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
_descriptor.FieldDescriptor(
- name='int_value', full_name='google.protobuf.internal.TestAny.int_value', index=1,
- number=2, type=5, cpp_type=1, label=1,
- has_default_value=False, default_value=0,
+ name='repeated_any_value', full_name='protobuf_unittest.TestAny.repeated_any_value', index=2,
+ number=3, type=11, cpp_type=10, label=3,
+ has_default_value=False, default_value=[],
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
@@ -61,17 +68,18 @@ _TESTANY = _descriptor.Descriptor(
extension_ranges=[],
oneofs=[
],
- serialized_start=96,
- serialized_end=161,
+ serialized_start=80,
+ serialized_end=201,
)
-_TESTANY.fields_by_name['value'].message_type = google_dot_protobuf_dot_any__pb2._ANY
+_TESTANY.fields_by_name['any_value'].message_type = google_dot_protobuf_dot_any__pb2._ANY
+_TESTANY.fields_by_name['repeated_any_value'].message_type = google_dot_protobuf_dot_any__pb2._ANY
DESCRIPTOR.message_types_by_name['TestAny'] = _TESTANY
TestAny = _reflection.GeneratedProtocolMessageType('TestAny', (_message.Message,), dict(
DESCRIPTOR = _TESTANY,
- __module__ = 'google.protobuf.internal.any_test_pb2'
- # @@protoc_insertion_point(class_scope:google.protobuf.internal.TestAny)
+ __module__ = 'google.protobuf.any_test_pb2'
+ # @@protoc_insertion_point(class_scope:protobuf_unittest.TestAny)
))
_sym_db.RegisterMessage(TestAny)
« no previous file with comments | « recipe_engine/third_party/google/protobuf/__init__.py ('k') | recipe_engine/third_party/google/protobuf/descriptor.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698