grpc-tools 1.72.0 → 1.73.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 13cbe39dd5a81221375a64c1f7dcc4d4f245e76466043a9045326a50bd9dd2f8
4
- data.tar.gz: 1141cf738badf02e5e091bd20ceb710890250586e52033481e6f28db6b6dd73e
3
+ metadata.gz: a58110c57574a6e6d4efa0508d771dae2a5c126a1b01c858519e8eb55f1480a3
4
+ data.tar.gz: a42e21a40bdf0daa17e5eda36bdbfe1a27632918bbd03a832be4eba5d571841f
5
5
  SHA512:
6
- metadata.gz: b5ff6dc1bfa7bdea7620fb1415aea359e0f3df6a8e2554fd41ffbf20ee869b8d19ceb55ad00ef1ea719358386257a95f1de34a2b1bf982f2f5687231c5a2ab01
7
- data.tar.gz: 83b242ebc90b4fea232a9ef93ff296026e33c8dca0781b54bafb607d154833a8f7f24cece3cbae8249e40668c2a88427c0df31507f4efbb58b10515fa443b811
6
+ metadata.gz: dd68bf3f238939e02d04211c404cab934cd4d09359df4ac3aa6b67374d12f53f8679dd65a8a3a3e6d2d36c192f97147866789e99c59b703393a083ae20cc5e0c
7
+ data.tar.gz: 88b60e132331215db6cdc954e10cccd82cae4fe146b0fa553cce03575dd13758f3afda77229d01fd02d4ca505026f280f35103f84481d8506c501947ddb34601
@@ -113,6 +113,10 @@ message FileDescriptorProto {
113
113
  // For Google-internal migration only. Do not use.
114
114
  repeated int32 weak_dependency = 11;
115
115
 
116
+ // Names of files imported by this file purely for the purpose of providing
117
+ // option extensions. These are excluded from the dependency list above.
118
+ repeated string option_dependency = 15;
119
+
116
120
  // All top-level definitions in this file.
117
121
  repeated DescriptorProto message_type = 4;
118
122
  repeated EnumDescriptorProto enum_type = 5;
@@ -176,6 +180,9 @@ message DescriptorProto {
176
180
  // Reserved field names, which may not be used by fields in the same message.
177
181
  // A given name may only be reserved once.
178
182
  repeated string reserved_name = 10;
183
+
184
+ // Support for `export` and `local` keywords on enums.
185
+ optional SymbolVisibility visibility = 11;
179
186
  }
180
187
 
181
188
  message ExtensionRangeOptions {
@@ -372,6 +379,9 @@ message EnumDescriptorProto {
372
379
  // Reserved enum value names, which may not be reused. A given name may only
373
380
  // be reserved once.
374
381
  repeated string reserved_name = 5;
382
+
383
+ // Support for `export` and `local` keywords on enums.
384
+ optional SymbolVisibility visibility = 6;
375
385
  }
376
386
 
377
387
  // Describes a value within an enum.
@@ -1121,6 +1131,37 @@ message FeatureSet {
1121
1131
  edition_defaults = { edition: EDITION_2024, value: "STYLE2024" }
1122
1132
  ];
1123
1133
 
1134
+ message VisibilityFeature {
1135
+ enum DefaultSymbolVisibility {
1136
+ DEFAULT_SYMBOL_VISIBILITY_UNKNOWN = 0;
1137
+
1138
+ // Default pre-EDITION_2024, all UNSET visibility are export.
1139
+ EXPORT_ALL = 1;
1140
+
1141
+ // All top-level symbols default to export, nested default to local.
1142
+ EXPORT_TOP_LEVEL = 2;
1143
+
1144
+ // All symbols default to local.
1145
+ LOCAL_ALL = 3;
1146
+
1147
+ // All symbols local by default. Nested types cannot be exported.
1148
+ // With special case caveat for message { enum {} reserved 1 to max; }
1149
+ // This is the recommended setting for new protos.
1150
+ STRICT = 4;
1151
+ }
1152
+ reserved 1 to max;
1153
+ }
1154
+ optional VisibilityFeature.DefaultSymbolVisibility default_symbol_visibility =
1155
+ 8 [
1156
+ retention = RETENTION_SOURCE,
1157
+ targets = TARGET_TYPE_FILE,
1158
+ feature_support = {
1159
+ edition_introduced: EDITION_2024,
1160
+ },
1161
+ edition_defaults = { edition: EDITION_LEGACY, value: "EXPORT_ALL" },
1162
+ edition_defaults = { edition: EDITION_2024, value: "EXPORT_TOP_LEVEL" }
1163
+ ];
1164
+
1124
1165
  reserved 999;
1125
1166
 
1126
1167
  extensions 1000 to 9994 [
@@ -1135,6 +1176,11 @@ message FeatureSet {
1135
1176
  type: ".pb.JavaFeatures"
1136
1177
  },
1137
1178
  declaration = { number: 1002, full_name: ".pb.go", type: ".pb.GoFeatures" },
1179
+ declaration = {
1180
+ number: 1003,
1181
+ full_name: ".pb.python",
1182
+ type: ".pb.PythonFeatures"
1183
+ },
1138
1184
  declaration = {
1139
1185
  number: 9990,
1140
1186
  full_name: ".pb.proto1",
@@ -1358,3 +1404,14 @@ message GeneratedCodeInfo {
1358
1404
  optional Semantic semantic = 5;
1359
1405
  }
1360
1406
  }
1407
+
1408
+ // Describes the 'visibility' of a symbol with respect to the proto import
1409
+ // system. Symbols can only be imported when the visibility rules do not prevent
1410
+ // it (ex: local symbols cannot be imported). Visibility modifiers can only set
1411
+ // on `message` and `enum` as they are the only types available to be referenced
1412
+ // from other files.
1413
+ enum SymbolVisibility {
1414
+ VISIBILITY_UNSET = 0;
1415
+ VISIBILITY_LOCAL = 1;
1416
+ VISIBILITY_EXPORT = 2;
1417
+ }
Binary file
data/bin/x86-linux/protoc CHANGED
Binary file
@@ -113,6 +113,10 @@ message FileDescriptorProto {
113
113
  // For Google-internal migration only. Do not use.
114
114
  repeated int32 weak_dependency = 11;
115
115
 
116
+ // Names of files imported by this file purely for the purpose of providing
117
+ // option extensions. These are excluded from the dependency list above.
118
+ repeated string option_dependency = 15;
119
+
116
120
  // All top-level definitions in this file.
117
121
  repeated DescriptorProto message_type = 4;
118
122
  repeated EnumDescriptorProto enum_type = 5;
@@ -176,6 +180,9 @@ message DescriptorProto {
176
180
  // Reserved field names, which may not be used by fields in the same message.
177
181
  // A given name may only be reserved once.
178
182
  repeated string reserved_name = 10;
183
+
184
+ // Support for `export` and `local` keywords on enums.
185
+ optional SymbolVisibility visibility = 11;
179
186
  }
180
187
 
181
188
  message ExtensionRangeOptions {
@@ -372,6 +379,9 @@ message EnumDescriptorProto {
372
379
  // Reserved enum value names, which may not be reused. A given name may only
373
380
  // be reserved once.
374
381
  repeated string reserved_name = 5;
382
+
383
+ // Support for `export` and `local` keywords on enums.
384
+ optional SymbolVisibility visibility = 6;
375
385
  }
376
386
 
377
387
  // Describes a value within an enum.
@@ -1121,6 +1131,37 @@ message FeatureSet {
1121
1131
  edition_defaults = { edition: EDITION_2024, value: "STYLE2024" }
1122
1132
  ];
1123
1133
 
1134
+ message VisibilityFeature {
1135
+ enum DefaultSymbolVisibility {
1136
+ DEFAULT_SYMBOL_VISIBILITY_UNKNOWN = 0;
1137
+
1138
+ // Default pre-EDITION_2024, all UNSET visibility are export.
1139
+ EXPORT_ALL = 1;
1140
+
1141
+ // All top-level symbols default to export, nested default to local.
1142
+ EXPORT_TOP_LEVEL = 2;
1143
+
1144
+ // All symbols default to local.
1145
+ LOCAL_ALL = 3;
1146
+
1147
+ // All symbols local by default. Nested types cannot be exported.
1148
+ // With special case caveat for message { enum {} reserved 1 to max; }
1149
+ // This is the recommended setting for new protos.
1150
+ STRICT = 4;
1151
+ }
1152
+ reserved 1 to max;
1153
+ }
1154
+ optional VisibilityFeature.DefaultSymbolVisibility default_symbol_visibility =
1155
+ 8 [
1156
+ retention = RETENTION_SOURCE,
1157
+ targets = TARGET_TYPE_FILE,
1158
+ feature_support = {
1159
+ edition_introduced: EDITION_2024,
1160
+ },
1161
+ edition_defaults = { edition: EDITION_LEGACY, value: "EXPORT_ALL" },
1162
+ edition_defaults = { edition: EDITION_2024, value: "EXPORT_TOP_LEVEL" }
1163
+ ];
1164
+
1124
1165
  reserved 999;
1125
1166
 
1126
1167
  extensions 1000 to 9994 [
@@ -1135,6 +1176,11 @@ message FeatureSet {
1135
1176
  type: ".pb.JavaFeatures"
1136
1177
  },
1137
1178
  declaration = { number: 1002, full_name: ".pb.go", type: ".pb.GoFeatures" },
1179
+ declaration = {
1180
+ number: 1003,
1181
+ full_name: ".pb.python",
1182
+ type: ".pb.PythonFeatures"
1183
+ },
1138
1184
  declaration = {
1139
1185
  number: 9990,
1140
1186
  full_name: ".pb.proto1",
@@ -1358,3 +1404,14 @@ message GeneratedCodeInfo {
1358
1404
  optional Semantic semantic = 5;
1359
1405
  }
1360
1406
  }
1407
+
1408
+ // Describes the 'visibility' of a symbol with respect to the proto import
1409
+ // system. Symbols can only be imported when the visibility rules do not prevent
1410
+ // it (ex: local symbols cannot be imported). Visibility modifiers can only set
1411
+ // on `message` and `enum` as they are the only types available to be referenced
1412
+ // from other files.
1413
+ enum SymbolVisibility {
1414
+ VISIBILITY_UNSET = 0;
1415
+ VISIBILITY_LOCAL = 1;
1416
+ VISIBILITY_EXPORT = 2;
1417
+ }
Binary file
Binary file
@@ -113,6 +113,10 @@ message FileDescriptorProto {
113
113
  // For Google-internal migration only. Do not use.
114
114
  repeated int32 weak_dependency = 11;
115
115
 
116
+ // Names of files imported by this file purely for the purpose of providing
117
+ // option extensions. These are excluded from the dependency list above.
118
+ repeated string option_dependency = 15;
119
+
116
120
  // All top-level definitions in this file.
117
121
  repeated DescriptorProto message_type = 4;
118
122
  repeated EnumDescriptorProto enum_type = 5;
@@ -176,6 +180,9 @@ message DescriptorProto {
176
180
  // Reserved field names, which may not be used by fields in the same message.
177
181
  // A given name may only be reserved once.
178
182
  repeated string reserved_name = 10;
183
+
184
+ // Support for `export` and `local` keywords on enums.
185
+ optional SymbolVisibility visibility = 11;
179
186
  }
180
187
 
181
188
  message ExtensionRangeOptions {
@@ -372,6 +379,9 @@ message EnumDescriptorProto {
372
379
  // Reserved enum value names, which may not be reused. A given name may only
373
380
  // be reserved once.
374
381
  repeated string reserved_name = 5;
382
+
383
+ // Support for `export` and `local` keywords on enums.
384
+ optional SymbolVisibility visibility = 6;
375
385
  }
376
386
 
377
387
  // Describes a value within an enum.
@@ -1121,6 +1131,37 @@ message FeatureSet {
1121
1131
  edition_defaults = { edition: EDITION_2024, value: "STYLE2024" }
1122
1132
  ];
1123
1133
 
1134
+ message VisibilityFeature {
1135
+ enum DefaultSymbolVisibility {
1136
+ DEFAULT_SYMBOL_VISIBILITY_UNKNOWN = 0;
1137
+
1138
+ // Default pre-EDITION_2024, all UNSET visibility are export.
1139
+ EXPORT_ALL = 1;
1140
+
1141
+ // All top-level symbols default to export, nested default to local.
1142
+ EXPORT_TOP_LEVEL = 2;
1143
+
1144
+ // All symbols default to local.
1145
+ LOCAL_ALL = 3;
1146
+
1147
+ // All symbols local by default. Nested types cannot be exported.
1148
+ // With special case caveat for message { enum {} reserved 1 to max; }
1149
+ // This is the recommended setting for new protos.
1150
+ STRICT = 4;
1151
+ }
1152
+ reserved 1 to max;
1153
+ }
1154
+ optional VisibilityFeature.DefaultSymbolVisibility default_symbol_visibility =
1155
+ 8 [
1156
+ retention = RETENTION_SOURCE,
1157
+ targets = TARGET_TYPE_FILE,
1158
+ feature_support = {
1159
+ edition_introduced: EDITION_2024,
1160
+ },
1161
+ edition_defaults = { edition: EDITION_LEGACY, value: "EXPORT_ALL" },
1162
+ edition_defaults = { edition: EDITION_2024, value: "EXPORT_TOP_LEVEL" }
1163
+ ];
1164
+
1124
1165
  reserved 999;
1125
1166
 
1126
1167
  extensions 1000 to 9994 [
@@ -1135,6 +1176,11 @@ message FeatureSet {
1135
1176
  type: ".pb.JavaFeatures"
1136
1177
  },
1137
1178
  declaration = { number: 1002, full_name: ".pb.go", type: ".pb.GoFeatures" },
1179
+ declaration = {
1180
+ number: 1003,
1181
+ full_name: ".pb.python",
1182
+ type: ".pb.PythonFeatures"
1183
+ },
1138
1184
  declaration = {
1139
1185
  number: 9990,
1140
1186
  full_name: ".pb.proto1",
@@ -1358,3 +1404,14 @@ message GeneratedCodeInfo {
1358
1404
  optional Semantic semantic = 5;
1359
1405
  }
1360
1406
  }
1407
+
1408
+ // Describes the 'visibility' of a symbol with respect to the proto import
1409
+ // system. Symbols can only be imported when the visibility rules do not prevent
1410
+ // it (ex: local symbols cannot be imported). Visibility modifiers can only set
1411
+ // on `message` and `enum` as they are the only types available to be referenced
1412
+ // from other files.
1413
+ enum SymbolVisibility {
1414
+ VISIBILITY_UNSET = 0;
1415
+ VISIBILITY_LOCAL = 1;
1416
+ VISIBILITY_EXPORT = 2;
1417
+ }
Binary file
Binary file
@@ -113,6 +113,10 @@ message FileDescriptorProto {
113
113
  // For Google-internal migration only. Do not use.
114
114
  repeated int32 weak_dependency = 11;
115
115
 
116
+ // Names of files imported by this file purely for the purpose of providing
117
+ // option extensions. These are excluded from the dependency list above.
118
+ repeated string option_dependency = 15;
119
+
116
120
  // All top-level definitions in this file.
117
121
  repeated DescriptorProto message_type = 4;
118
122
  repeated EnumDescriptorProto enum_type = 5;
@@ -176,6 +180,9 @@ message DescriptorProto {
176
180
  // Reserved field names, which may not be used by fields in the same message.
177
181
  // A given name may only be reserved once.
178
182
  repeated string reserved_name = 10;
183
+
184
+ // Support for `export` and `local` keywords on enums.
185
+ optional SymbolVisibility visibility = 11;
179
186
  }
180
187
 
181
188
  message ExtensionRangeOptions {
@@ -372,6 +379,9 @@ message EnumDescriptorProto {
372
379
  // Reserved enum value names, which may not be reused. A given name may only
373
380
  // be reserved once.
374
381
  repeated string reserved_name = 5;
382
+
383
+ // Support for `export` and `local` keywords on enums.
384
+ optional SymbolVisibility visibility = 6;
375
385
  }
376
386
 
377
387
  // Describes a value within an enum.
@@ -1121,6 +1131,37 @@ message FeatureSet {
1121
1131
  edition_defaults = { edition: EDITION_2024, value: "STYLE2024" }
1122
1132
  ];
1123
1133
 
1134
+ message VisibilityFeature {
1135
+ enum DefaultSymbolVisibility {
1136
+ DEFAULT_SYMBOL_VISIBILITY_UNKNOWN = 0;
1137
+
1138
+ // Default pre-EDITION_2024, all UNSET visibility are export.
1139
+ EXPORT_ALL = 1;
1140
+
1141
+ // All top-level symbols default to export, nested default to local.
1142
+ EXPORT_TOP_LEVEL = 2;
1143
+
1144
+ // All symbols default to local.
1145
+ LOCAL_ALL = 3;
1146
+
1147
+ // All symbols local by default. Nested types cannot be exported.
1148
+ // With special case caveat for message { enum {} reserved 1 to max; }
1149
+ // This is the recommended setting for new protos.
1150
+ STRICT = 4;
1151
+ }
1152
+ reserved 1 to max;
1153
+ }
1154
+ optional VisibilityFeature.DefaultSymbolVisibility default_symbol_visibility =
1155
+ 8 [
1156
+ retention = RETENTION_SOURCE,
1157
+ targets = TARGET_TYPE_FILE,
1158
+ feature_support = {
1159
+ edition_introduced: EDITION_2024,
1160
+ },
1161
+ edition_defaults = { edition: EDITION_LEGACY, value: "EXPORT_ALL" },
1162
+ edition_defaults = { edition: EDITION_2024, value: "EXPORT_TOP_LEVEL" }
1163
+ ];
1164
+
1124
1165
  reserved 999;
1125
1166
 
1126
1167
  extensions 1000 to 9994 [
@@ -1135,6 +1176,11 @@ message FeatureSet {
1135
1176
  type: ".pb.JavaFeatures"
1136
1177
  },
1137
1178
  declaration = { number: 1002, full_name: ".pb.go", type: ".pb.GoFeatures" },
1179
+ declaration = {
1180
+ number: 1003,
1181
+ full_name: ".pb.python",
1182
+ type: ".pb.PythonFeatures"
1183
+ },
1138
1184
  declaration = {
1139
1185
  number: 9990,
1140
1186
  full_name: ".pb.proto1",
@@ -1358,3 +1404,14 @@ message GeneratedCodeInfo {
1358
1404
  optional Semantic semantic = 5;
1359
1405
  }
1360
1406
  }
1407
+
1408
+ // Describes the 'visibility' of a symbol with respect to the proto import
1409
+ // system. Symbols can only be imported when the visibility rules do not prevent
1410
+ // it (ex: local symbols cannot be imported). Visibility modifiers can only set
1411
+ // on `message` and `enum` as they are the only types available to be referenced
1412
+ // from other files.
1413
+ enum SymbolVisibility {
1414
+ VISIBILITY_UNSET = 0;
1415
+ VISIBILITY_LOCAL = 1;
1416
+ VISIBILITY_EXPORT = 2;
1417
+ }
Binary file
Binary file
@@ -113,6 +113,10 @@ message FileDescriptorProto {
113
113
  // For Google-internal migration only. Do not use.
114
114
  repeated int32 weak_dependency = 11;
115
115
 
116
+ // Names of files imported by this file purely for the purpose of providing
117
+ // option extensions. These are excluded from the dependency list above.
118
+ repeated string option_dependency = 15;
119
+
116
120
  // All top-level definitions in this file.
117
121
  repeated DescriptorProto message_type = 4;
118
122
  repeated EnumDescriptorProto enum_type = 5;
@@ -176,6 +180,9 @@ message DescriptorProto {
176
180
  // Reserved field names, which may not be used by fields in the same message.
177
181
  // A given name may only be reserved once.
178
182
  repeated string reserved_name = 10;
183
+
184
+ // Support for `export` and `local` keywords on enums.
185
+ optional SymbolVisibility visibility = 11;
179
186
  }
180
187
 
181
188
  message ExtensionRangeOptions {
@@ -372,6 +379,9 @@ message EnumDescriptorProto {
372
379
  // Reserved enum value names, which may not be reused. A given name may only
373
380
  // be reserved once.
374
381
  repeated string reserved_name = 5;
382
+
383
+ // Support for `export` and `local` keywords on enums.
384
+ optional SymbolVisibility visibility = 6;
375
385
  }
376
386
 
377
387
  // Describes a value within an enum.
@@ -1121,6 +1131,37 @@ message FeatureSet {
1121
1131
  edition_defaults = { edition: EDITION_2024, value: "STYLE2024" }
1122
1132
  ];
1123
1133
 
1134
+ message VisibilityFeature {
1135
+ enum DefaultSymbolVisibility {
1136
+ DEFAULT_SYMBOL_VISIBILITY_UNKNOWN = 0;
1137
+
1138
+ // Default pre-EDITION_2024, all UNSET visibility are export.
1139
+ EXPORT_ALL = 1;
1140
+
1141
+ // All top-level symbols default to export, nested default to local.
1142
+ EXPORT_TOP_LEVEL = 2;
1143
+
1144
+ // All symbols default to local.
1145
+ LOCAL_ALL = 3;
1146
+
1147
+ // All symbols local by default. Nested types cannot be exported.
1148
+ // With special case caveat for message { enum {} reserved 1 to max; }
1149
+ // This is the recommended setting for new protos.
1150
+ STRICT = 4;
1151
+ }
1152
+ reserved 1 to max;
1153
+ }
1154
+ optional VisibilityFeature.DefaultSymbolVisibility default_symbol_visibility =
1155
+ 8 [
1156
+ retention = RETENTION_SOURCE,
1157
+ targets = TARGET_TYPE_FILE,
1158
+ feature_support = {
1159
+ edition_introduced: EDITION_2024,
1160
+ },
1161
+ edition_defaults = { edition: EDITION_LEGACY, value: "EXPORT_ALL" },
1162
+ edition_defaults = { edition: EDITION_2024, value: "EXPORT_TOP_LEVEL" }
1163
+ ];
1164
+
1124
1165
  reserved 999;
1125
1166
 
1126
1167
  extensions 1000 to 9994 [
@@ -1135,6 +1176,11 @@ message FeatureSet {
1135
1176
  type: ".pb.JavaFeatures"
1136
1177
  },
1137
1178
  declaration = { number: 1002, full_name: ".pb.go", type: ".pb.GoFeatures" },
1179
+ declaration = {
1180
+ number: 1003,
1181
+ full_name: ".pb.python",
1182
+ type: ".pb.PythonFeatures"
1183
+ },
1138
1184
  declaration = {
1139
1185
  number: 9990,
1140
1186
  full_name: ".pb.proto1",
@@ -1358,3 +1404,14 @@ message GeneratedCodeInfo {
1358
1404
  optional Semantic semantic = 5;
1359
1405
  }
1360
1406
  }
1407
+
1408
+ // Describes the 'visibility' of a symbol with respect to the proto import
1409
+ // system. Symbols can only be imported when the visibility rules do not prevent
1410
+ // it (ex: local symbols cannot be imported). Visibility modifiers can only set
1411
+ // on `message` and `enum` as they are the only types available to be referenced
1412
+ // from other files.
1413
+ enum SymbolVisibility {
1414
+ VISIBILITY_UNSET = 0;
1415
+ VISIBILITY_LOCAL = 1;
1416
+ VISIBILITY_EXPORT = 2;
1417
+ }
Binary file
data/version.rb CHANGED
@@ -14,6 +14,6 @@
14
14
 
15
15
  module GRPC
16
16
  module Tools
17
- VERSION = '1.72.0'
17
+ VERSION = '1.73.0'
18
18
  end
19
19
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: grpc-tools
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.72.0
4
+ version: 1.73.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - grpc Authors
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-04-23 00:00:00.000000000 Z
11
+ date: 2025-06-07 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: protoc and the Ruby gRPC protoc plugin
14
14
  email: grpc-io@googlegroups.com