Latest generation

This commit is contained in:
ci core model
2026-01-13 16:14:18 +00:00
parent 29475849ea
commit b55a474e0c
29 changed files with 246 additions and 2976 deletions

View File

@@ -42,10 +42,6 @@ export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions;
/// if (any.is(Foo.class)) {
/// foo = any.unpack(Foo.class);
/// }
/// // or ...
/// if (any.isSameTypeAs(Foo.getDefaultInstance())) {
/// foo = any.unpack(Foo.getDefaultInstance());
/// }
///
/// Example 3: Pack and unpack a message in Python.
///
@@ -60,13 +56,10 @@ export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions;
/// Example 4: Pack and unpack a message in Go
///
/// foo := &pb.Foo{...}
/// any, err := anypb.New(foo)
/// if err != nil {
/// ...
/// }
/// any, err := ptypes.MarshalAny(foo)
/// ...
/// foo := &pb.Foo{}
/// if err := any.UnmarshalTo(foo); err != nil {
/// if err := ptypes.UnmarshalAny(any, foo); err != nil {
/// ...
/// }
///
@@ -76,6 +69,7 @@ export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions;
/// in the type URL, for example "foo.bar.com/x/y.z" will yield type
/// name "y.z".
///
///
/// JSON
/// ====
/// The JSON representation of an `Any` value uses the regular
@@ -165,8 +159,7 @@ class Any extends $pb.GeneratedMessage with $mixin.AnyMixin {
///
/// Note: this functionality is not currently available in the official
/// protobuf release, and it is not used for type URLs beginning with
/// type.googleapis.com. As of May 2023, there are no widely used type server
/// implementations and no plans to implement one.
/// type.googleapis.com.
///
/// Schemes other than `http`, `https` (or the empty scheme) might be
/// used with implementation specific semantics.