Skip to content

Commit

Permalink
fix: regenerate pb2 files using the latest version of grpcio-tools (#95)
Browse files Browse the repository at this point in the history
* fix: regenerate pb2 files using the latest version of grpcio-tools

* add basic test

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* add constraints for py37 py38 py39

* remove constraint for grpcio

* fix(deps): require protobuf >= 3.15.0

* revert change

* revert change

* add tests_local session

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
  • Loading branch information
parthea and gcf-owl-bot[bot] authored Mar 22, 2022
1 parent ba9ede6 commit 482515d
Show file tree
Hide file tree
Showing 63 changed files with 1,058 additions and 14,190 deletions.
44 changes: 8 additions & 36 deletions packages/googleapis-common-protos/google/api/annotations_pb2.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
# source: google/api/annotations.proto
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_pool
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.protobuf import symbol_database as _symbol_database
Expand All @@ -31,46 +32,17 @@
from google.protobuf import descriptor_pb2 as google_dot_protobuf_dot_descriptor__pb2


DESCRIPTOR = _descriptor.FileDescriptor(
name="google/api/annotations.proto",
package="google.api",
syntax="proto3",
serialized_options=b"\n\016com.google.apiB\020AnnotationsProtoP\001ZAgoogle.golang.org/genproto/googleapis/api/annotations;annotations\242\002\004GAPI",
create_key=_descriptor._internal_create_key,
serialized_pb=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',
dependencies=[
google_dot_api_dot_http__pb2.DESCRIPTOR,
google_dot_protobuf_dot_descriptor__pb2.DESCRIPTOR,
],
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(
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'
)


HTTP_FIELD_NUMBER = 72295728
http = _descriptor.FieldDescriptor(
name="http",
full_name="google.api.http",
index=0,
number=72295728,
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=True,
extension_scope=None,
serialized_options=None,
file=DESCRIPTOR,
create_key=_descriptor._internal_create_key,
)

DESCRIPTOR.extensions_by_name["http"] = http
_sym_db.RegisterFileDescriptor(DESCRIPTOR)
http = DESCRIPTOR.extensions_by_name["http"]

http.message_type = google_dot_api_dot_http__pb2._HTTPRULE
google_dot_protobuf_dot_descriptor__pb2.MethodOptions.RegisterExtension(http)
if _descriptor._USE_C_DESCRIPTORS == False:
google_dot_protobuf_dot_descriptor__pb2.MethodOptions.RegisterExtension(http)

DESCRIPTOR._options = None
DESCRIPTOR._options = None
DESCRIPTOR._serialized_options = b"\n\016com.google.apiB\020AnnotationsProtoP\001ZAgoogle.golang.org/genproto/googleapis/api/annotations;annotations\242\002\004GAPI"
# @@protoc_insertion_point(module_scope)
Loading

0 comments on commit 482515d

Please sign in to comment.