Skip to content

Commit 0de570a

Browse files
fix(deps): require protobuf>=3.20.2 (#137)
Bumps [protobuf](https://github.com/protocolbuffers/protobuf) from 3.20.1 to 3.20.2. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/protocolbuffers/protobuf/releases">protobuf's releases</a>.</em></p> <blockquote> <h2>Protocol Buffers v3.20.2</h2> <h1>C++</h1> <ul> <li>Reduce memory consumption of MessageSet parsing</li> <li>This release addresses a <a href="https://github.com/protocolbuffers/protobuf/security/advisories/GHSA-8gq9-2x98-w8hf">Security Advisory for C++ and Python users</a></li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/protocolbuffers/protobuf/commit/a20c65f2cd549445fda907f7b83894c8eb7427d6"><code>a20c65f</code></a> Updating changelog</li> <li><a href="https://github.com/protocolbuffers/protobuf/commit/c49fe79af9c295960477b7568f1765b202093143"><code>c49fe79</code></a> Updating version.json and repo version numbers to: 20.2</li> <li><a href="https://github.com/protocolbuffers/protobuf/commit/806d7e4ce6f1fd0545cae226b94cb0249ea495c7"><code>806d7e4</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/10544">#10544</a> from deannagarcia/3.20.x</li> <li><a href="https://github.com/protocolbuffers/protobuf/commit/ae718b39020ae6e6f8f5568e357d6893fd0fd29c"><code>ae718b3</code></a> Add missing includes</li> <li><a href="https://github.com/protocolbuffers/protobuf/commit/b4c395aaedfacb32e2414d361fa85968c0991b34"><code>b4c395a</code></a> Apply patch</li> <li><a href="https://github.com/protocolbuffers/protobuf/commit/6439c5c01349e74d4deb57c844a7ad4b7b13a302"><code>6439c5c</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/10531">#10531</a> from protocolbuffers/deannagarcia-patch-7</li> <li><a href="https://github.com/protocolbuffers/protobuf/commit/22c79e6e4ca8be2bc2f700b2cdddca84d84659ce"><code>22c79e6</code></a> Update version.json</li> <li><a href="https://github.com/protocolbuffers/protobuf/commit/c1a2d2ec29314975e725021ffe4334926dbaa56c"><code>c1a2d2e</code></a> Fix python release on macos (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/10512">#10512</a>)</li> <li><a href="https://github.com/protocolbuffers/protobuf/commit/a826282e15efe3ae3a2aebb040fb1691b2233a1e"><code>a826282</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/10505">#10505</a> from deannagarcia/3.20.x</li> <li><a href="https://github.com/protocolbuffers/protobuf/commit/7639a710e10beb47bfc62f363680f7b04e8b3d26"><code>7639a71</code></a> Add version file</li> <li>Additional commits viewable in <a href="https://github.com/protocolbuffers/protobuf/compare/v3.20.1...v3.20.2">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=protobuf&package-manager=pip&previous-version=3.20.1&new-version=3.20.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/googleapis/python-api-common-protos/network/alerts). </details> fix(deps): require grpcio>=1.44.0 fix: regenerate pb2 files with the latest version of grpcio-tools
1 parent fc11ce4 commit 0de570a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

62 files changed

+223
-1909
lines changed

packages/googleapis-common-protos/google/api/annotations_pb2.py

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,9 @@
1717
# Generated by the protocol buffer compiler. DO NOT EDIT!
1818
# source: google/api/annotations.proto
1919
"""Generated protocol buffer code."""
20+
from google.protobuf.internal import builder as _builder
2021
from google.protobuf import descriptor as _descriptor
2122
from google.protobuf import descriptor_pool as _descriptor_pool
22-
from google.protobuf import message as _message
23-
from google.protobuf import reflection as _reflection
2423
from google.protobuf import symbol_database as _symbol_database
2524

2625
# @@protoc_insertion_point(imports)
@@ -36,10 +35,10 @@
3635
b'\n\x1cgoogle/api/annotations.proto\x12\ngoogle.api\x1a\x15google/api/http.proto\x1a google/protobuf/descriptor.proto:E\n\x04http\x12\x1e.google.protobuf.MethodOptions\x18\xb0\xca\xbc" \x01(\x0b\x32\x14.google.api.HttpRuleBn\n\x0e\x63om.google.apiB\x10\x41nnotationsProtoP\x01ZAgoogle.golang.org/genproto/googleapis/api/annotations;annotations\xa2\x02\x04GAPIb\x06proto3'
3736
)
3837

39-
40-
HTTP_FIELD_NUMBER = 72295728
41-
http = DESCRIPTOR.extensions_by_name["http"]
42-
38+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
39+
_builder.BuildTopDescriptorsAndMessages(
40+
DESCRIPTOR, "google.api.annotations_pb2", globals()
41+
)
4342
if _descriptor._USE_C_DESCRIPTORS == False:
4443
google_dot_protobuf_dot_descriptor__pb2.MethodOptions.RegisterExtension(http)
4544

packages/googleapis-common-protos/google/api/auth_pb2.py

Lines changed: 3 additions & 75 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,9 @@
1717
# Generated by the protocol buffer compiler. DO NOT EDIT!
1818
# source: google/api/auth.proto
1919
"""Generated protocol buffer code."""
20+
from google.protobuf.internal import builder as _builder
2021
from google.protobuf import descriptor as _descriptor
2122
from google.protobuf import descriptor_pool as _descriptor_pool
22-
from google.protobuf import message as _message
23-
from google.protobuf import reflection as _reflection
2423
from google.protobuf import symbol_database as _symbol_database
2524

2625
# @@protoc_insertion_point(imports)
@@ -32,79 +31,8 @@
3231
b'\n\x15google/api/auth.proto\x12\ngoogle.api"l\n\x0e\x41uthentication\x12-\n\x05rules\x18\x03 \x03(\x0b\x32\x1e.google.api.AuthenticationRule\x12+\n\tproviders\x18\x04 \x03(\x0b\x32\x18.google.api.AuthProvider"\xa9\x01\n\x12\x41uthenticationRule\x12\x10\n\x08selector\x18\x01 \x01(\t\x12,\n\x05oauth\x18\x02 \x01(\x0b\x32\x1d.google.api.OAuthRequirements\x12 \n\x18\x61llow_without_credential\x18\x05 \x01(\x08\x12\x31\n\x0crequirements\x18\x07 \x03(\x0b\x32\x1b.google.api.AuthRequirement"L\n\x0bJwtLocation\x12\x10\n\x06header\x18\x01 \x01(\tH\x00\x12\x0f\n\x05query\x18\x02 \x01(\tH\x00\x12\x14\n\x0cvalue_prefix\x18\x03 \x01(\tB\x04\n\x02in"\x9a\x01\n\x0c\x41uthProvider\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0e\n\x06issuer\x18\x02 \x01(\t\x12\x10\n\x08jwks_uri\x18\x03 \x01(\t\x12\x11\n\taudiences\x18\x04 \x01(\t\x12\x19\n\x11\x61uthorization_url\x18\x05 \x01(\t\x12.\n\rjwt_locations\x18\x06 \x03(\x0b\x32\x17.google.api.JwtLocation"-\n\x11OAuthRequirements\x12\x18\n\x10\x63\x61nonical_scopes\x18\x01 \x01(\t"9\n\x0f\x41uthRequirement\x12\x13\n\x0bprovider_id\x18\x01 \x01(\t\x12\x11\n\taudiences\x18\x02 \x01(\tBk\n\x0e\x63om.google.apiB\tAuthProtoP\x01ZEgoogle.golang.org/genproto/googleapis/api/serviceconfig;serviceconfig\xa2\x02\x04GAPIb\x06proto3'
3332
)
3433

35-
36-
_AUTHENTICATION = DESCRIPTOR.message_types_by_name["Authentication"]
37-
_AUTHENTICATIONRULE = DESCRIPTOR.message_types_by_name["AuthenticationRule"]
38-
_JWTLOCATION = DESCRIPTOR.message_types_by_name["JwtLocation"]
39-
_AUTHPROVIDER = DESCRIPTOR.message_types_by_name["AuthProvider"]
40-
_OAUTHREQUIREMENTS = DESCRIPTOR.message_types_by_name["OAuthRequirements"]
41-
_AUTHREQUIREMENT = DESCRIPTOR.message_types_by_name["AuthRequirement"]
42-
Authentication = _reflection.GeneratedProtocolMessageType(
43-
"Authentication",
44-
(_message.Message,),
45-
{
46-
"DESCRIPTOR": _AUTHENTICATION,
47-
"__module__": "google.api.auth_pb2"
48-
# @@protoc_insertion_point(class_scope:google.api.Authentication)
49-
},
50-
)
51-
_sym_db.RegisterMessage(Authentication)
52-
53-
AuthenticationRule = _reflection.GeneratedProtocolMessageType(
54-
"AuthenticationRule",
55-
(_message.Message,),
56-
{
57-
"DESCRIPTOR": _AUTHENTICATIONRULE,
58-
"__module__": "google.api.auth_pb2"
59-
# @@protoc_insertion_point(class_scope:google.api.AuthenticationRule)
60-
},
61-
)
62-
_sym_db.RegisterMessage(AuthenticationRule)
63-
64-
JwtLocation = _reflection.GeneratedProtocolMessageType(
65-
"JwtLocation",
66-
(_message.Message,),
67-
{
68-
"DESCRIPTOR": _JWTLOCATION,
69-
"__module__": "google.api.auth_pb2"
70-
# @@protoc_insertion_point(class_scope:google.api.JwtLocation)
71-
},
72-
)
73-
_sym_db.RegisterMessage(JwtLocation)
74-
75-
AuthProvider = _reflection.GeneratedProtocolMessageType(
76-
"AuthProvider",
77-
(_message.Message,),
78-
{
79-
"DESCRIPTOR": _AUTHPROVIDER,
80-
"__module__": "google.api.auth_pb2"
81-
# @@protoc_insertion_point(class_scope:google.api.AuthProvider)
82-
},
83-
)
84-
_sym_db.RegisterMessage(AuthProvider)
85-
86-
OAuthRequirements = _reflection.GeneratedProtocolMessageType(
87-
"OAuthRequirements",
88-
(_message.Message,),
89-
{
90-
"DESCRIPTOR": _OAUTHREQUIREMENTS,
91-
"__module__": "google.api.auth_pb2"
92-
# @@protoc_insertion_point(class_scope:google.api.OAuthRequirements)
93-
},
94-
)
95-
_sym_db.RegisterMessage(OAuthRequirements)
96-
97-
AuthRequirement = _reflection.GeneratedProtocolMessageType(
98-
"AuthRequirement",
99-
(_message.Message,),
100-
{
101-
"DESCRIPTOR": _AUTHREQUIREMENT,
102-
"__module__": "google.api.auth_pb2"
103-
# @@protoc_insertion_point(class_scope:google.api.AuthRequirement)
104-
},
105-
)
106-
_sym_db.RegisterMessage(AuthRequirement)
107-
34+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
35+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "google.api.auth_pb2", globals())
10836
if _descriptor._USE_C_DESCRIPTORS == False:
10937

11038
DESCRIPTOR._options = None

packages/googleapis-common-protos/google/api/backend_pb2.py

Lines changed: 3 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,9 @@
1717
# Generated by the protocol buffer compiler. DO NOT EDIT!
1818
# source: google/api/backend.proto
1919
"""Generated protocol buffer code."""
20+
from google.protobuf.internal import builder as _builder
2021
from google.protobuf import descriptor as _descriptor
2122
from google.protobuf import descriptor_pool as _descriptor_pool
22-
from google.protobuf import message as _message
23-
from google.protobuf import reflection as _reflection
2423
from google.protobuf import symbol_database as _symbol_database
2524

2625
# @@protoc_insertion_point(imports)
@@ -32,32 +31,8 @@
3231
b'\n\x18google/api/backend.proto\x12\ngoogle.api"1\n\x07\x42\x61\x63kend\x12&\n\x05rules\x18\x01 \x03(\x0b\x32\x17.google.api.BackendRule"\xf2\x02\n\x0b\x42\x61\x63kendRule\x12\x10\n\x08selector\x18\x01 \x01(\t\x12\x0f\n\x07\x61\x64\x64ress\x18\x02 \x01(\t\x12\x10\n\x08\x64\x65\x61\x64line\x18\x03 \x01(\x01\x12\x14\n\x0cmin_deadline\x18\x04 \x01(\x01\x12\x1a\n\x12operation_deadline\x18\x05 \x01(\x01\x12\x41\n\x10path_translation\x18\x06 \x01(\x0e\x32\'.google.api.BackendRule.PathTranslation\x12\x16\n\x0cjwt_audience\x18\x07 \x01(\tH\x00\x12\x16\n\x0c\x64isable_auth\x18\x08 \x01(\x08H\x00\x12\x10\n\x08protocol\x18\t \x01(\t"e\n\x0fPathTranslation\x12 \n\x1cPATH_TRANSLATION_UNSPECIFIED\x10\x00\x12\x14\n\x10\x43ONSTANT_ADDRESS\x10\x01\x12\x1a\n\x16\x41PPEND_PATH_TO_ADDRESS\x10\x02\x42\x10\n\x0e\x61uthenticationBn\n\x0e\x63om.google.apiB\x0c\x42\x61\x63kendProtoP\x01ZEgoogle.golang.org/genproto/googleapis/api/serviceconfig;serviceconfig\xa2\x02\x04GAPIb\x06proto3'
3332
)
3433

35-
36-
_BACKEND = DESCRIPTOR.message_types_by_name["Backend"]
37-
_BACKENDRULE = DESCRIPTOR.message_types_by_name["BackendRule"]
38-
_BACKENDRULE_PATHTRANSLATION = _BACKENDRULE.enum_types_by_name["PathTranslation"]
39-
Backend = _reflection.GeneratedProtocolMessageType(
40-
"Backend",
41-
(_message.Message,),
42-
{
43-
"DESCRIPTOR": _BACKEND,
44-
"__module__": "google.api.backend_pb2"
45-
# @@protoc_insertion_point(class_scope:google.api.Backend)
46-
},
47-
)
48-
_sym_db.RegisterMessage(Backend)
49-
50-
BackendRule = _reflection.GeneratedProtocolMessageType(
51-
"BackendRule",
52-
(_message.Message,),
53-
{
54-
"DESCRIPTOR": _BACKENDRULE,
55-
"__module__": "google.api.backend_pb2"
56-
# @@protoc_insertion_point(class_scope:google.api.BackendRule)
57-
},
58-
)
59-
_sym_db.RegisterMessage(BackendRule)
60-
34+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
35+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "google.api.backend_pb2", globals())
6136
if _descriptor._USE_C_DESCRIPTORS == False:
6237

6338
DESCRIPTOR._options = None

packages/googleapis-common-protos/google/api/billing_pb2.py

Lines changed: 3 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,9 @@
1717
# Generated by the protocol buffer compiler. DO NOT EDIT!
1818
# source: google/api/billing.proto
1919
"""Generated protocol buffer code."""
20+
from google.protobuf.internal import builder as _builder
2021
from google.protobuf import descriptor as _descriptor
2122
from google.protobuf import descriptor_pool as _descriptor_pool
22-
from google.protobuf import message as _message
23-
from google.protobuf import reflection as _reflection
2423
from google.protobuf import symbol_database as _symbol_database
2524

2625
# @@protoc_insertion_point(imports)
@@ -32,30 +31,8 @@
3231
b'\n\x18google/api/billing.proto\x12\ngoogle.api"\x93\x01\n\x07\x42illing\x12\x45\n\x15\x63onsumer_destinations\x18\x08 \x03(\x0b\x32&.google.api.Billing.BillingDestination\x1a\x41\n\x12\x42illingDestination\x12\x1a\n\x12monitored_resource\x18\x01 \x01(\t\x12\x0f\n\x07metrics\x18\x02 \x03(\tBn\n\x0e\x63om.google.apiB\x0c\x42illingProtoP\x01ZEgoogle.golang.org/genproto/googleapis/api/serviceconfig;serviceconfig\xa2\x02\x04GAPIb\x06proto3'
3332
)
3433

35-
36-
_BILLING = DESCRIPTOR.message_types_by_name["Billing"]
37-
_BILLING_BILLINGDESTINATION = _BILLING.nested_types_by_name["BillingDestination"]
38-
Billing = _reflection.GeneratedProtocolMessageType(
39-
"Billing",
40-
(_message.Message,),
41-
{
42-
"BillingDestination": _reflection.GeneratedProtocolMessageType(
43-
"BillingDestination",
44-
(_message.Message,),
45-
{
46-
"DESCRIPTOR": _BILLING_BILLINGDESTINATION,
47-
"__module__": "google.api.billing_pb2"
48-
# @@protoc_insertion_point(class_scope:google.api.Billing.BillingDestination)
49-
},
50-
),
51-
"DESCRIPTOR": _BILLING,
52-
"__module__": "google.api.billing_pb2"
53-
# @@protoc_insertion_point(class_scope:google.api.Billing)
54-
},
55-
)
56-
_sym_db.RegisterMessage(Billing)
57-
_sym_db.RegisterMessage(Billing.BillingDestination)
58-
34+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
35+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "google.api.billing_pb2", globals())
5936
if _descriptor._USE_C_DESCRIPTORS == False:
6037

6138
DESCRIPTOR._options = None

packages/googleapis-common-protos/google/api/client_pb2.py

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,9 @@
1717
# Generated by the protocol buffer compiler. DO NOT EDIT!
1818
# source: google/api/client.proto
1919
"""Generated protocol buffer code."""
20+
from google.protobuf.internal import builder as _builder
2021
from google.protobuf import descriptor as _descriptor
2122
from google.protobuf import descriptor_pool as _descriptor_pool
22-
from google.protobuf import message as _message
23-
from google.protobuf import reflection as _reflection
2423
from google.protobuf import symbol_database as _symbol_database
2524

2625
# @@protoc_insertion_point(imports)
@@ -35,14 +34,8 @@
3534
b"\n\x17google/api/client.proto\x12\ngoogle.api\x1a google/protobuf/descriptor.proto:9\n\x10method_signature\x12\x1e.google.protobuf.MethodOptions\x18\x9b\x08 \x03(\t:6\n\x0c\x64\x65\x66\x61ult_host\x12\x1f.google.protobuf.ServiceOptions\x18\x99\x08 \x01(\t:6\n\x0coauth_scopes\x12\x1f.google.protobuf.ServiceOptions\x18\x9a\x08 \x01(\tBi\n\x0e\x63om.google.apiB\x0b\x43lientProtoP\x01ZAgoogle.golang.org/genproto/googleapis/api/annotations;annotations\xa2\x02\x04GAPIb\x06proto3"
3635
)
3736

38-
39-
METHOD_SIGNATURE_FIELD_NUMBER = 1051
40-
method_signature = DESCRIPTOR.extensions_by_name["method_signature"]
41-
DEFAULT_HOST_FIELD_NUMBER = 1049
42-
default_host = DESCRIPTOR.extensions_by_name["default_host"]
43-
OAUTH_SCOPES_FIELD_NUMBER = 1050
44-
oauth_scopes = DESCRIPTOR.extensions_by_name["oauth_scopes"]
45-
37+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
38+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "google.api.client_pb2", globals())
4639
if _descriptor._USE_C_DESCRIPTORS == False:
4740
google_dot_protobuf_dot_descriptor__pb2.MethodOptions.RegisterExtension(
4841
method_signature

packages/googleapis-common-protos/google/api/config_change_pb2.py

Lines changed: 4 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,9 @@
1717
# Generated by the protocol buffer compiler. DO NOT EDIT!
1818
# source: google/api/config_change.proto
1919
"""Generated protocol buffer code."""
20-
from google.protobuf.internal import enum_type_wrapper
20+
from google.protobuf.internal import builder as _builder
2121
from google.protobuf import descriptor as _descriptor
2222
from google.protobuf import descriptor_pool as _descriptor_pool
23-
from google.protobuf import message as _message
24-
from google.protobuf import reflection as _reflection
2523
from google.protobuf import symbol_database as _symbol_database
2624

2725
# @@protoc_insertion_point(imports)
@@ -33,38 +31,10 @@
3331
b'\n\x1egoogle/api/config_change.proto\x12\ngoogle.api"\x97\x01\n\x0c\x43onfigChange\x12\x0f\n\x07\x65lement\x18\x01 \x01(\t\x12\x11\n\told_value\x18\x02 \x01(\t\x12\x11\n\tnew_value\x18\x03 \x01(\t\x12+\n\x0b\x63hange_type\x18\x04 \x01(\x0e\x32\x16.google.api.ChangeType\x12#\n\x07\x61\x64vices\x18\x05 \x03(\x0b\x32\x12.google.api.Advice"\x1d\n\x06\x41\x64vice\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t*O\n\nChangeType\x12\x1b\n\x17\x43HANGE_TYPE_UNSPECIFIED\x10\x00\x12\t\n\x05\x41\x44\x44\x45\x44\x10\x01\x12\x0b\n\x07REMOVED\x10\x02\x12\x0c\n\x08MODIFIED\x10\x03\x42q\n\x0e\x63om.google.apiB\x11\x43onfigChangeProtoP\x01ZCgoogle.golang.org/genproto/googleapis/api/configchange;configchange\xa2\x02\x04GAPIb\x06proto3'
3432
)
3533

36-
_CHANGETYPE = DESCRIPTOR.enum_types_by_name["ChangeType"]
37-
ChangeType = enum_type_wrapper.EnumTypeWrapper(_CHANGETYPE)
38-
CHANGE_TYPE_UNSPECIFIED = 0
39-
ADDED = 1
40-
REMOVED = 2
41-
MODIFIED = 3
42-
43-
44-
_CONFIGCHANGE = DESCRIPTOR.message_types_by_name["ConfigChange"]
45-
_ADVICE = DESCRIPTOR.message_types_by_name["Advice"]
46-
ConfigChange = _reflection.GeneratedProtocolMessageType(
47-
"ConfigChange",
48-
(_message.Message,),
49-
{
50-
"DESCRIPTOR": _CONFIGCHANGE,
51-
"__module__": "google.api.config_change_pb2"
52-
# @@protoc_insertion_point(class_scope:google.api.ConfigChange)
53-
},
34+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
35+
_builder.BuildTopDescriptorsAndMessages(
36+
DESCRIPTOR, "google.api.config_change_pb2", globals()
5437
)
55-
_sym_db.RegisterMessage(ConfigChange)
56-
57-
Advice = _reflection.GeneratedProtocolMessageType(
58-
"Advice",
59-
(_message.Message,),
60-
{
61-
"DESCRIPTOR": _ADVICE,
62-
"__module__": "google.api.config_change_pb2"
63-
# @@protoc_insertion_point(class_scope:google.api.Advice)
64-
},
65-
)
66-
_sym_db.RegisterMessage(Advice)
67-
6838
if _descriptor._USE_C_DESCRIPTORS == False:
6939

7040
DESCRIPTOR._options = None

packages/googleapis-common-protos/google/api/consumer_pb2.py

Lines changed: 4 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,9 @@
1717
# Generated by the protocol buffer compiler. DO NOT EDIT!
1818
# source: google/api/consumer.proto
1919
"""Generated protocol buffer code."""
20+
from google.protobuf.internal import builder as _builder
2021
from google.protobuf import descriptor as _descriptor
2122
from google.protobuf import descriptor_pool as _descriptor_pool
22-
from google.protobuf import message as _message
23-
from google.protobuf import reflection as _reflection
2423
from google.protobuf import symbol_database as _symbol_database
2524

2625
# @@protoc_insertion_point(imports)
@@ -32,32 +31,10 @@
3231
b'\n\x19google/api/consumer.proto\x12\ngoogle.api"=\n\x11ProjectProperties\x12(\n\nproperties\x18\x01 \x03(\x0b\x32\x14.google.api.Property"\xac\x01\n\x08Property\x12\x0c\n\x04name\x18\x01 \x01(\t\x12/\n\x04type\x18\x02 \x01(\x0e\x32!.google.api.Property.PropertyType\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t"L\n\x0cPropertyType\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\t\n\x05INT64\x10\x01\x12\x08\n\x04\x42OOL\x10\x02\x12\n\n\x06STRING\x10\x03\x12\n\n\x06\x44OUBLE\x10\x04\x42h\n\x0e\x63om.google.apiB\rConsumerProtoP\x01ZEgoogle.golang.org/genproto/googleapis/api/serviceconfig;serviceconfigb\x06proto3'
3332
)
3433

35-
36-
_PROJECTPROPERTIES = DESCRIPTOR.message_types_by_name["ProjectProperties"]
37-
_PROPERTY = DESCRIPTOR.message_types_by_name["Property"]
38-
_PROPERTY_PROPERTYTYPE = _PROPERTY.enum_types_by_name["PropertyType"]
39-
ProjectProperties = _reflection.GeneratedProtocolMessageType(
40-
"ProjectProperties",
41-
(_message.Message,),
42-
{
43-
"DESCRIPTOR": _PROJECTPROPERTIES,
44-
"__module__": "google.api.consumer_pb2"
45-
# @@protoc_insertion_point(class_scope:google.api.ProjectProperties)
46-
},
47-
)
48-
_sym_db.RegisterMessage(ProjectProperties)
49-
50-
Property = _reflection.GeneratedProtocolMessageType(
51-
"Property",
52-
(_message.Message,),
53-
{
54-
"DESCRIPTOR": _PROPERTY,
55-
"__module__": "google.api.consumer_pb2"
56-
# @@protoc_insertion_point(class_scope:google.api.Property)
57-
},
34+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
35+
_builder.BuildTopDescriptorsAndMessages(
36+
DESCRIPTOR, "google.api.consumer_pb2", globals()
5837
)
59-
_sym_db.RegisterMessage(Property)
60-
6138
if _descriptor._USE_C_DESCRIPTORS == False:
6239

6340
DESCRIPTOR._options = None

packages/googleapis-common-protos/google/api/context_pb2.py

Lines changed: 3 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,9 @@
1717
# Generated by the protocol buffer compiler. DO NOT EDIT!
1818
# source: google/api/context.proto
1919
"""Generated protocol buffer code."""
20+
from google.protobuf.internal import builder as _builder
2021
from google.protobuf import descriptor as _descriptor
2122
from google.protobuf import descriptor_pool as _descriptor_pool
22-
from google.protobuf import message as _message
23-
from google.protobuf import reflection as _reflection
2423
from google.protobuf import symbol_database as _symbol_database
2524

2625
# @@protoc_insertion_point(imports)
@@ -32,31 +31,8 @@
3231
b'\n\x18google/api/context.proto\x12\ngoogle.api"1\n\x07\x43ontext\x12&\n\x05rules\x18\x01 \x03(\x0b\x32\x17.google.api.ContextRule"\x8d\x01\n\x0b\x43ontextRule\x12\x10\n\x08selector\x18\x01 \x01(\t\x12\x11\n\trequested\x18\x02 \x03(\t\x12\x10\n\x08provided\x18\x03 \x03(\t\x12"\n\x1a\x61llowed_request_extensions\x18\x04 \x03(\t\x12#\n\x1b\x61llowed_response_extensions\x18\x05 \x03(\tBn\n\x0e\x63om.google.apiB\x0c\x43ontextProtoP\x01ZEgoogle.golang.org/genproto/googleapis/api/serviceconfig;serviceconfig\xa2\x02\x04GAPIb\x06proto3'
3332
)
3433

35-
36-
_CONTEXT = DESCRIPTOR.message_types_by_name["Context"]
37-
_CONTEXTRULE = DESCRIPTOR.message_types_by_name["ContextRule"]
38-
Context = _reflection.GeneratedProtocolMessageType(
39-
"Context",
40-
(_message.Message,),
41-
{
42-
"DESCRIPTOR": _CONTEXT,
43-
"__module__": "google.api.context_pb2"
44-
# @@protoc_insertion_point(class_scope:google.api.Context)
45-
},
46-
)
47-
_sym_db.RegisterMessage(Context)
48-
49-
ContextRule = _reflection.GeneratedProtocolMessageType(
50-
"ContextRule",
51-
(_message.Message,),
52-
{
53-
"DESCRIPTOR": _CONTEXTRULE,
54-
"__module__": "google.api.context_pb2"
55-
# @@protoc_insertion_point(class_scope:google.api.ContextRule)
56-
},
57-
)
58-
_sym_db.RegisterMessage(ContextRule)
59-
34+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
35+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "google.api.context_pb2", globals())
6036
if _descriptor._USE_C_DESCRIPTORS == False:
6137

6238
DESCRIPTOR._options = None

0 commit comments

Comments
 (0)