diff --git a/third_party/2and3/google/protobuf/any_pb2.pyi b/third_party/2and3/google/protobuf/any_pb2.pyi index 4dac6e8a2ed0..b46b76a45bf9 100644 --- a/third_party/2and3/google/protobuf/any_pb2.pyi +++ b/third_party/2and3/google/protobuf/any_pb2.pyi @@ -9,6 +9,8 @@ from google.protobuf.message import ( Message as google___protobuf___message___Message, ) +from google.protobuf.internal import well_known_types + from typing import ( Optional as typing___Optional, Text as typing___Text, @@ -27,7 +29,7 @@ builtin___int = int DESCRIPTOR: google___protobuf___descriptor___FileDescriptor = ... -class Any(google___protobuf___message___Message): +class Any(google___protobuf___message___Message, well_known_types.Any_): DESCRIPTOR: google___protobuf___descriptor___Descriptor = ... type_url: typing___Text = ... value: builtin___bytes = ... diff --git a/third_party/2and3/google/protobuf/duration_pb2.pyi b/third_party/2and3/google/protobuf/duration_pb2.pyi index 0d5a2058a462..6c9334a13fd3 100644 --- a/third_party/2and3/google/protobuf/duration_pb2.pyi +++ b/third_party/2and3/google/protobuf/duration_pb2.pyi @@ -9,6 +9,8 @@ from google.protobuf.message import ( Message as google___protobuf___message___Message, ) +from google.protobuf.internal import well_known_types + from typing import ( Optional as typing___Optional, ) @@ -26,7 +28,7 @@ builtin___int = int DESCRIPTOR: google___protobuf___descriptor___FileDescriptor = ... -class Duration(google___protobuf___message___Message): +class Duration(google___protobuf___message___Message, well_known_types.Duration): DESCRIPTOR: google___protobuf___descriptor___Descriptor = ... seconds: builtin___int = ... nanos: builtin___int = ... diff --git a/third_party/2and3/google/protobuf/field_mask_pb2.pyi b/third_party/2and3/google/protobuf/field_mask_pb2.pyi index acc07d913e4f..f8dc893d034a 100644 --- a/third_party/2and3/google/protobuf/field_mask_pb2.pyi +++ b/third_party/2and3/google/protobuf/field_mask_pb2.pyi @@ -13,6 +13,8 @@ from google.protobuf.message import ( Message as google___protobuf___message___Message, ) +from google.protobuf.internal import well_known_types + from typing import ( Iterable as typing___Iterable, Optional as typing___Optional, @@ -32,7 +34,7 @@ builtin___int = int DESCRIPTOR: google___protobuf___descriptor___FileDescriptor = ... -class FieldMask(google___protobuf___message___Message): +class FieldMask(google___protobuf___message___Message, well_known_types.FieldMask): DESCRIPTOR: google___protobuf___descriptor___Descriptor = ... paths: google___protobuf___internal___containers___RepeatedScalarFieldContainer[typing___Text] = ... diff --git a/third_party/2and3/google/protobuf/struct_pb2.pyi b/third_party/2and3/google/protobuf/struct_pb2.pyi index 55ea551f5414..bd28102331a7 100644 --- a/third_party/2and3/google/protobuf/struct_pb2.pyi +++ b/third_party/2and3/google/protobuf/struct_pb2.pyi @@ -18,6 +18,8 @@ from google.protobuf.message import ( Message as google___protobuf___message___Message, ) +from google.protobuf.internal import well_known_types + from typing import ( Iterable as typing___Iterable, Mapping as typing___Mapping, @@ -50,7 +52,7 @@ class _NullValue(google___protobuf___internal___enum_type_wrapper____EnumTypeWra NULL_VALUE = typing___cast(NullValueValue, 0) type___NullValue = NullValue -class Struct(google___protobuf___message___Message): +class Struct(google___protobuf___message___Message, well_known_types.Struct): DESCRIPTOR: google___protobuf___descriptor___Descriptor = ... class FieldsEntry(google___protobuf___message___Message): DESCRIPTOR: google___protobuf___descriptor___Descriptor = ... @@ -106,7 +108,7 @@ class Value(google___protobuf___message___Message): def WhichOneof(self, oneof_group: typing_extensions___Literal[u"kind",b"kind"]) -> typing_extensions___Literal["null_value","number_value","string_value","bool_value","struct_value","list_value"]: ... type___Value = Value -class ListValue(google___protobuf___message___Message): +class ListValue(google___protobuf___message___Message, well_known_types.ListValue): DESCRIPTOR: google___protobuf___descriptor___Descriptor = ... @property diff --git a/third_party/2and3/google/protobuf/timestamp_pb2.pyi b/third_party/2and3/google/protobuf/timestamp_pb2.pyi index 9b0334a16550..132244a8139f 100644 --- a/third_party/2and3/google/protobuf/timestamp_pb2.pyi +++ b/third_party/2and3/google/protobuf/timestamp_pb2.pyi @@ -9,6 +9,8 @@ from google.protobuf.message import ( Message as google___protobuf___message___Message, ) +from google.protobuf.internal import well_known_types + from typing import ( Optional as typing___Optional, ) @@ -26,7 +28,7 @@ builtin___int = int DESCRIPTOR: google___protobuf___descriptor___FileDescriptor = ... -class Timestamp(google___protobuf___message___Message): +class Timestamp(google___protobuf___message___Message, well_known_types.Timestamp): DESCRIPTOR: google___protobuf___descriptor___Descriptor = ... seconds: builtin___int = ... nanos: builtin___int = ...