Skip to content

Commit

Permalink
Regen thing (#150)
Browse files Browse the repository at this point in the history
  • Loading branch information
UnstoppableMango authored Jun 10, 2024
1 parent ace8e62 commit 9d13a71
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions gen/proto/ts/google/protobuf/any.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,12 @@ export const protobufPackage = "google.protobuf";
* 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.
* Example 3: Pack and unpack a message in Python.
*
* foo = Foo(...)
* any = Any()
Expand All @@ -39,7 +43,7 @@ export const protobufPackage = "google.protobuf";
* any.Unpack(foo)
* ...
*
* Example 4: Pack and unpack a message in Go
* Example 4: Pack and unpack a message in Go
*
* foo := &pb.Foo{...}
* any, err := anypb.New(foo)
Expand All @@ -59,7 +63,7 @@ export const protobufPackage = "google.protobuf";
* name "y.z".
*
* JSON
*
* ====
* The JSON representation of an `Any` value uses the regular
* representation of the deserialized, embedded message, with an
* additional field `@type` which contains the type URL. Example:
Expand Down Expand Up @@ -111,7 +115,8 @@ export interface Any {
*
* 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.
* type.googleapis.com. As of May 2023, there are no widely used type server
* implementations and no plans to implement one.
*
* Schemes other than `http`, `https` (or the empty scheme) might be
* used with implementation specific semantics.
Expand Down

0 comments on commit 9d13a71

Please sign in to comment.