grpc-tools 1.65.2 → 1.82.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/bin/x86-linux/google/protobuf/any.proto +52 -108
- data/bin/x86-linux/google/protobuf/api.proto +24 -2
- data/bin/x86-linux/google/protobuf/compiler/plugin.proto +2 -2
- data/bin/x86-linux/google/protobuf/descriptor.proto +306 -53
- data/bin/x86-linux/google/protobuf/field_mask.proto +16 -18
- data/bin/x86-linux/google/protobuf/struct.proto +38 -22
- data/bin/x86-linux/google/protobuf/timestamp.proto +9 -8
- data/bin/x86-linux/google/protobuf/type.proto +24 -0
- data/bin/x86-linux/google/protobuf/wrappers.proto +38 -4
- data/bin/x86-linux/grpc_ruby_plugin +0 -0
- data/bin/x86-linux/protoc +0 -0
- data/bin/x86-windows/google/protobuf/any.proto +52 -108
- data/bin/x86-windows/google/protobuf/api.proto +24 -2
- data/bin/x86-windows/google/protobuf/compiler/plugin.proto +2 -2
- data/bin/x86-windows/google/protobuf/descriptor.proto +306 -53
- data/bin/x86-windows/google/protobuf/field_mask.proto +16 -18
- data/bin/x86-windows/google/protobuf/struct.proto +38 -22
- data/bin/x86-windows/google/protobuf/timestamp.proto +9 -8
- data/bin/x86-windows/google/protobuf/type.proto +24 -0
- data/bin/x86-windows/google/protobuf/wrappers.proto +38 -4
- data/bin/x86-windows/grpc_ruby_plugin.exe +0 -0
- data/bin/x86-windows/protoc.exe +0 -0
- data/bin/x86_64-linux/google/protobuf/any.proto +52 -108
- data/bin/x86_64-linux/google/protobuf/api.proto +24 -2
- data/bin/x86_64-linux/google/protobuf/compiler/plugin.proto +2 -2
- data/bin/x86_64-linux/google/protobuf/descriptor.proto +306 -53
- data/bin/x86_64-linux/google/protobuf/field_mask.proto +16 -18
- data/bin/x86_64-linux/google/protobuf/struct.proto +38 -22
- data/bin/x86_64-linux/google/protobuf/timestamp.proto +9 -8
- data/bin/x86_64-linux/google/protobuf/type.proto +24 -0
- data/bin/x86_64-linux/google/protobuf/wrappers.proto +38 -4
- data/bin/x86_64-linux/grpc_ruby_plugin +0 -0
- data/bin/x86_64-linux/protoc +0 -0
- data/bin/x86_64-macos/google/protobuf/any.proto +52 -108
- data/bin/x86_64-macos/google/protobuf/api.proto +24 -2
- data/bin/x86_64-macos/google/protobuf/compiler/plugin.proto +2 -2
- data/bin/x86_64-macos/google/protobuf/descriptor.proto +306 -53
- data/bin/x86_64-macos/google/protobuf/field_mask.proto +16 -18
- data/bin/x86_64-macos/google/protobuf/struct.proto +38 -22
- data/bin/x86_64-macos/google/protobuf/timestamp.proto +9 -8
- data/bin/x86_64-macos/google/protobuf/type.proto +24 -0
- data/bin/x86_64-macos/google/protobuf/wrappers.proto +38 -4
- data/bin/x86_64-macos/grpc_ruby_plugin +0 -0
- data/bin/x86_64-macos/protoc +0 -0
- data/bin/x86_64-windows/google/protobuf/any.proto +52 -108
- data/bin/x86_64-windows/google/protobuf/api.proto +24 -2
- data/bin/x86_64-windows/google/protobuf/compiler/plugin.proto +2 -2
- data/bin/x86_64-windows/google/protobuf/descriptor.proto +306 -53
- data/bin/x86_64-windows/google/protobuf/field_mask.proto +16 -18
- data/bin/x86_64-windows/google/protobuf/struct.proto +38 -22
- data/bin/x86_64-windows/google/protobuf/timestamp.proto +9 -8
- data/bin/x86_64-windows/google/protobuf/type.proto +24 -0
- data/bin/x86_64-windows/google/protobuf/wrappers.proto +38 -4
- data/bin/x86_64-windows/grpc_ruby_plugin.exe +0 -0
- data/bin/x86_64-windows/protoc.exe +0 -0
- data/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 49a97368c98863528e6cd0b86f4c0a67570195937906afaba979c5a4f9e18dcb
|
|
4
|
+
data.tar.gz: 7785eaa2f476551d219556644aeeab438289d89caf0913b4cec75f430b019e68
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 75db4672cae6850ba2e4715d7bcd69c816f6d60a0bb0ac0ebf8673219e5b4922b92e825627f74a7ff0ba72f1a4f05ffa439ac0f317ce6d571faed26a0926d88f
|
|
7
|
+
data.tar.gz: 85d470c3541f8c23e8bab26b01827128ed80805b6434fa67a8a64dd34d1f95caee29861f54f6ed8bbc549a4fae1534cbf4351867b9ddd582bcb69e6994fb90ac
|
|
@@ -42,121 +42,65 @@ option csharp_namespace = "Google.Protobuf.WellKnownTypes";
|
|
|
42
42
|
// `Any` contains an arbitrary serialized protocol buffer message along with a
|
|
43
43
|
// URL that describes the type of the serialized message.
|
|
44
44
|
//
|
|
45
|
-
//
|
|
46
|
-
//
|
|
47
|
-
//
|
|
48
|
-
//
|
|
49
|
-
//
|
|
50
|
-
//
|
|
51
|
-
//
|
|
52
|
-
//
|
|
53
|
-
//
|
|
54
|
-
//
|
|
55
|
-
//
|
|
56
|
-
//
|
|
57
|
-
//
|
|
58
|
-
//
|
|
59
|
-
//
|
|
60
|
-
//
|
|
61
|
-
//
|
|
62
|
-
//
|
|
63
|
-
//
|
|
64
|
-
//
|
|
65
|
-
//
|
|
66
|
-
//
|
|
67
|
-
//
|
|
68
|
-
//
|
|
69
|
-
//
|
|
70
|
-
//
|
|
71
|
-
//
|
|
72
|
-
//
|
|
73
|
-
// foo = Foo(...)
|
|
74
|
-
// any = Any()
|
|
75
|
-
// any.Pack(foo)
|
|
76
|
-
// ...
|
|
77
|
-
// if any.Is(Foo.DESCRIPTOR):
|
|
78
|
-
// any.Unpack(foo)
|
|
79
|
-
// ...
|
|
80
|
-
//
|
|
81
|
-
// Example 4: Pack and unpack a message in Go
|
|
82
|
-
//
|
|
83
|
-
// foo := &pb.Foo{...}
|
|
84
|
-
// any, err := anypb.New(foo)
|
|
85
|
-
// if err != nil {
|
|
86
|
-
// ...
|
|
87
|
-
// }
|
|
88
|
-
// ...
|
|
89
|
-
// foo := &pb.Foo{}
|
|
90
|
-
// if err := any.UnmarshalTo(foo); err != nil {
|
|
91
|
-
// ...
|
|
92
|
-
// }
|
|
93
|
-
//
|
|
94
|
-
// The pack methods provided by protobuf library will by default use
|
|
95
|
-
// 'type.googleapis.com/full.type.name' as the type URL and the unpack
|
|
96
|
-
// methods only use the fully qualified type name after the last '/'
|
|
97
|
-
// in the type URL, for example "foo.bar.com/x/y.z" will yield type
|
|
98
|
-
// name "y.z".
|
|
99
|
-
//
|
|
100
|
-
// JSON
|
|
101
|
-
// ====
|
|
102
|
-
// The JSON representation of an `Any` value uses the regular
|
|
103
|
-
// representation of the deserialized, embedded message, with an
|
|
104
|
-
// additional field `@type` which contains the type URL. Example:
|
|
105
|
-
//
|
|
106
|
-
// package google.profile;
|
|
107
|
-
// message Person {
|
|
108
|
-
// string first_name = 1;
|
|
109
|
-
// string last_name = 2;
|
|
110
|
-
// }
|
|
111
|
-
//
|
|
112
|
-
// {
|
|
113
|
-
// "@type": "type.googleapis.com/google.profile.Person",
|
|
114
|
-
// "firstName": <string>,
|
|
115
|
-
// "lastName": <string>
|
|
116
|
-
// }
|
|
117
|
-
//
|
|
118
|
-
// If the embedded message type is well-known and has a custom JSON
|
|
119
|
-
// representation, that representation will be embedded adding a field
|
|
120
|
-
// `value` which holds the custom JSON in addition to the `@type`
|
|
121
|
-
// field. Example (for message [google.protobuf.Duration][]):
|
|
122
|
-
//
|
|
123
|
-
// {
|
|
124
|
-
// "@type": "type.googleapis.com/google.protobuf.Duration",
|
|
125
|
-
// "value": "1.212s"
|
|
126
|
-
// }
|
|
127
|
-
//
|
|
45
|
+
// In its binary encoding, an `Any` is an ordinary message; but in other wire
|
|
46
|
+
// forms like JSON, it has a special encoding. The format of the type URL is
|
|
47
|
+
// described on the `type_url` field.
|
|
48
|
+
//
|
|
49
|
+
// Protobuf APIs provide utilities to interact with `Any` values:
|
|
50
|
+
//
|
|
51
|
+
// - A 'pack' operation accepts a message and constructs a generic `Any` wrapper
|
|
52
|
+
// around it.
|
|
53
|
+
// - An 'unpack' operation reads the content of an `Any` message, either into an
|
|
54
|
+
// existing message or a new one. Unpack operations must check the type of the
|
|
55
|
+
// value they unpack against the declared `type_url`.
|
|
56
|
+
// - An 'is' operation decides whether an `Any` contains a message of the given
|
|
57
|
+
// type, i.e. whether it can 'unpack' that type.
|
|
58
|
+
//
|
|
59
|
+
// The JSON format representation of an `Any` follows one of these cases:
|
|
60
|
+
//
|
|
61
|
+
// - For types without special-cased JSON encodings, the JSON format
|
|
62
|
+
// representation of the `Any` is the same as that of the message, with an
|
|
63
|
+
// additional `@type` field which contains the type URL.
|
|
64
|
+
// - For types with special-cased JSON encodings (typically called 'well-known'
|
|
65
|
+
// types, listed in https://protobuf.dev/programming-guides/json/#any), the
|
|
66
|
+
// JSON format representation has a key `@type` which contains the type URL
|
|
67
|
+
// and a key `value` which contains the JSON-serialized value.
|
|
68
|
+
//
|
|
69
|
+
// The text format representation of an `Any` is like a message with one field
|
|
70
|
+
// whose name is the type URL in brackets. For example, an `Any` containing a
|
|
71
|
+
// `foo.Bar` message may be written `[type.googleapis.com/foo.Bar] { a: 2 }`.
|
|
128
72
|
message Any {
|
|
129
|
-
//
|
|
130
|
-
//
|
|
131
|
-
// one "/" character. The last segment of the URL's path must represent
|
|
132
|
-
// the fully qualified name of the type (as in
|
|
133
|
-
// `path/google.protobuf.Duration`). The name should be in a canonical form
|
|
134
|
-
// (e.g., leading "." is not accepted).
|
|
73
|
+
// Identifies the type of the serialized Protobuf message with a URI reference
|
|
74
|
+
// consisting of a prefix ending in a slash and the fully-qualified type name.
|
|
135
75
|
//
|
|
136
|
-
//
|
|
137
|
-
// expect it to use in the context of Any. However, for URLs which use the
|
|
138
|
-
// scheme `http`, `https`, or no scheme, one can optionally set up a type
|
|
139
|
-
// server that maps type URLs to message definitions as follows:
|
|
76
|
+
// Example: type.googleapis.com/google.protobuf.StringValue
|
|
140
77
|
//
|
|
141
|
-
//
|
|
142
|
-
//
|
|
143
|
-
//
|
|
144
|
-
//
|
|
145
|
-
// URL, or have them precompiled into a binary to avoid any
|
|
146
|
-
// lookup. Therefore, binary compatibility needs to be preserved
|
|
147
|
-
// on changes to types. (Use versioned type names to manage
|
|
148
|
-
// breaking changes.)
|
|
78
|
+
// This string must contain at least one `/` character, and the content after
|
|
79
|
+
// the last `/` must be the fully-qualified name of the type in canonical
|
|
80
|
+
// form, without a leading dot. Do not write a scheme on these URI references
|
|
81
|
+
// so that clients do not attempt to contact them.
|
|
149
82
|
//
|
|
150
|
-
//
|
|
151
|
-
//
|
|
152
|
-
// type.googleapis.com
|
|
153
|
-
// implementations
|
|
83
|
+
// The prefix is arbitrary and Protobuf implementations are expected to
|
|
84
|
+
// simply strip off everything up to and including the last `/` to identify
|
|
85
|
+
// the type. `type.googleapis.com/` is a common default prefix that some
|
|
86
|
+
// legacy implementations require. This prefix does not indicate the origin of
|
|
87
|
+
// the type, and URIs containing it are not expected to respond to any
|
|
88
|
+
// requests.
|
|
154
89
|
//
|
|
155
|
-
//
|
|
156
|
-
//
|
|
90
|
+
// All type URL strings must be legal URI references with the additional
|
|
91
|
+
// restriction (for the text format) that the content of the reference
|
|
92
|
+
// must consist only of alphanumeric characters, percent-encoded escapes, and
|
|
93
|
+
// characters in the following set (not including the outer backticks):
|
|
94
|
+
// `/-.~_!$&()*+,;=`. Despite our allowing percent encodings, implementations
|
|
95
|
+
// should not unescape them to prevent confusion with existing parsers. For
|
|
96
|
+
// example, `type.googleapis.com%2FFoo` should be rejected.
|
|
157
97
|
//
|
|
98
|
+
// In the original design of `Any`, the possibility of launching a type
|
|
99
|
+
// resolution service at these type URLs was considered but Protobuf never
|
|
100
|
+
// implemented one and considers contacting these URLs to be problematic and
|
|
101
|
+
// a potential security issue. Do not attempt to contact type URLs.
|
|
158
102
|
string type_url = 1;
|
|
159
103
|
|
|
160
|
-
//
|
|
104
|
+
// Holds a Protobuf serialization of the type described by type_url.
|
|
161
105
|
bytes value = 2;
|
|
162
106
|
}
|
|
@@ -51,6 +51,11 @@ option go_package = "google.golang.org/protobuf/types/known/apipb";
|
|
|
51
51
|
// sometimes simply referred to as "APIs" in other contexts, such as the name of
|
|
52
52
|
// this message itself. See https://cloud.google.com/apis/design/glossary for
|
|
53
53
|
// detailed terminology.
|
|
54
|
+
//
|
|
55
|
+
// New usages of this message as an alternative to ServiceDescriptorProto are
|
|
56
|
+
// strongly discouraged. This message does not reliability preserve all
|
|
57
|
+
// information necessary to model the schema and preserve semantics. Instead
|
|
58
|
+
// make use of FileDescriptorSet which preserves the necessary information.
|
|
54
59
|
message Api {
|
|
55
60
|
// The fully qualified name of this interface, including package name
|
|
56
61
|
// followed by the interface's simple name.
|
|
@@ -93,9 +98,17 @@ message Api {
|
|
|
93
98
|
|
|
94
99
|
// The source syntax of the service.
|
|
95
100
|
Syntax syntax = 7;
|
|
101
|
+
|
|
102
|
+
// The source edition string, only valid when syntax is SYNTAX_EDITIONS.
|
|
103
|
+
string edition = 8;
|
|
96
104
|
}
|
|
97
105
|
|
|
98
106
|
// Method represents a method of an API interface.
|
|
107
|
+
//
|
|
108
|
+
// New usages of this message as an alternative to MethodDescriptorProto are
|
|
109
|
+
// strongly discouraged. This message does not reliability preserve all
|
|
110
|
+
// information necessary to model the schema and preserve semantics. Instead
|
|
111
|
+
// make use of FileDescriptorSet which preserves the necessary information.
|
|
99
112
|
message Method {
|
|
100
113
|
// The simple name of this method.
|
|
101
114
|
string name = 1;
|
|
@@ -116,7 +129,16 @@ message Method {
|
|
|
116
129
|
repeated Option options = 6;
|
|
117
130
|
|
|
118
131
|
// The source syntax of this method.
|
|
119
|
-
|
|
132
|
+
//
|
|
133
|
+
// This field should be ignored, instead the syntax should be inherited from
|
|
134
|
+
// Api. This is similar to Field and EnumValue.
|
|
135
|
+
Syntax syntax = 7 [deprecated = true];
|
|
136
|
+
|
|
137
|
+
// The source edition string, only valid when syntax is SYNTAX_EDITIONS.
|
|
138
|
+
//
|
|
139
|
+
// This field should be ignored, instead the edition should be inherited from
|
|
140
|
+
// Api. This is similar to Field and EnumValue.
|
|
141
|
+
string edition = 8 [deprecated = true];
|
|
120
142
|
}
|
|
121
143
|
|
|
122
144
|
// Declares an API Interface to be included in this interface. The including
|
|
@@ -166,7 +188,7 @@ message Method {
|
|
|
166
188
|
// The mixin construct implies that all methods in `AccessControl` are
|
|
167
189
|
// also declared with same name and request/response types in
|
|
168
190
|
// `Storage`. A documentation generator or annotation processor will
|
|
169
|
-
// see the effective `Storage.GetAcl` method after
|
|
191
|
+
// see the effective `Storage.GetAcl` method after inheriting
|
|
170
192
|
// documentation and annotations as follows:
|
|
171
193
|
//
|
|
172
194
|
// service Storage {
|
|
@@ -24,11 +24,11 @@ package google.protobuf.compiler;
|
|
|
24
24
|
option java_package = "com.google.protobuf.compiler";
|
|
25
25
|
option java_outer_classname = "PluginProtos";
|
|
26
26
|
|
|
27
|
+
import "google/protobuf/descriptor.proto";
|
|
28
|
+
|
|
27
29
|
option csharp_namespace = "Google.Protobuf.Compiler";
|
|
28
30
|
option go_package = "google.golang.org/protobuf/types/pluginpb";
|
|
29
31
|
|
|
30
|
-
import "google/protobuf/descriptor.proto";
|
|
31
|
-
|
|
32
32
|
// The version number of protocol compiler.
|
|
33
33
|
message Version {
|
|
34
34
|
optional int32 major = 1;
|