protobuf-protoc-bin 29.6__py2.py3-none-win_arm64.whl → 33.5__py2.py3-none-win_arm64.whl

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.
Files changed (22) hide show
  1. protobuf_protoc_bin/_version.py +2 -2
  2. {protobuf_protoc_bin-29.6.data → protobuf_protoc_bin-33.5.data}/data/include/google/protobuf/api.proto +23 -1
  3. {protobuf_protoc_bin-29.6.data → protobuf_protoc_bin-33.5.data}/data/include/google/protobuf/cpp_features.proto +1 -1
  4. {protobuf_protoc_bin-29.6.data → protobuf_protoc_bin-33.5.data}/data/include/google/protobuf/descriptor.proto +128 -1
  5. {protobuf_protoc_bin-29.6.data → protobuf_protoc_bin-33.5.data}/data/include/google/protobuf/go_features.proto +28 -2
  6. {protobuf_protoc_bin-29.6.data → protobuf_protoc_bin-33.5.data}/data/include/google/protobuf/java_features.proto +65 -2
  7. {protobuf_protoc_bin-29.6.data → protobuf_protoc_bin-33.5.data}/data/include/google/protobuf/timestamp.proto +7 -6
  8. {protobuf_protoc_bin-29.6.data → protobuf_protoc_bin-33.5.data}/data/include/google/protobuf/type.proto +24 -0
  9. {protobuf_protoc_bin-29.6.data → protobuf_protoc_bin-33.5.data}/data/include/google/protobuf/wrappers.proto +38 -4
  10. {protobuf_protoc_bin-29.6.data → protobuf_protoc_bin-33.5.data}/scripts/protoc.exe +0 -0
  11. {protobuf_protoc_bin-29.6.dist-info → protobuf_protoc_bin-33.5.dist-info}/METADATA +1 -1
  12. protobuf_protoc_bin-33.5.dist-info/RECORD +22 -0
  13. protobuf_protoc_bin-29.6.dist-info/RECORD +0 -22
  14. {protobuf_protoc_bin-29.6.data → protobuf_protoc_bin-33.5.data}/data/include/google/protobuf/any.proto +0 -0
  15. {protobuf_protoc_bin-29.6.data → protobuf_protoc_bin-33.5.data}/data/include/google/protobuf/compiler/plugin.proto +2 -2
  16. {protobuf_protoc_bin-29.6.data → protobuf_protoc_bin-33.5.data}/data/include/google/protobuf/duration.proto +0 -0
  17. {protobuf_protoc_bin-29.6.data → protobuf_protoc_bin-33.5.data}/data/include/google/protobuf/empty.proto +0 -0
  18. {protobuf_protoc_bin-29.6.data → protobuf_protoc_bin-33.5.data}/data/include/google/protobuf/field_mask.proto +0 -0
  19. {protobuf_protoc_bin-29.6.data → protobuf_protoc_bin-33.5.data}/data/include/google/protobuf/source_context.proto +0 -0
  20. {protobuf_protoc_bin-29.6.data → protobuf_protoc_bin-33.5.data}/data/include/google/protobuf/struct.proto +0 -0
  21. {protobuf_protoc_bin-29.6.dist-info → protobuf_protoc_bin-33.5.dist-info}/WHEEL +0 -0
  22. {protobuf_protoc_bin-29.6.dist-info → protobuf_protoc_bin-33.5.dist-info}/top_level.txt +0 -0
@@ -28,7 +28,7 @@ version_tuple: VERSION_TUPLE
28
28
  commit_id: COMMIT_ID
29
29
  __commit_id__: COMMIT_ID
30
30
 
31
- __version__ = version = '29.6'
32
- __version_tuple__ = version_tuple = (29, 6)
31
+ __version__ = version = '33.5'
32
+ __version_tuple__ = version_tuple = (33, 5)
33
33
 
34
34
  __commit_id__ = commit_id = 'ge6799ffdb'
@@ -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
- Syntax syntax = 7;
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
@@ -55,7 +55,7 @@ message CppFeatures {
55
55
  ];
56
56
 
57
57
  optional bool enum_name_uses_string_view = 3 [
58
- retention = RETENTION_SOURCE,
58
+ retention = RETENTION_RUNTIME,
59
59
  targets = TARGET_TYPE_ENUM,
60
60
  targets = TARGET_TYPE_FILE,
61
61
  feature_support = {
@@ -86,6 +86,9 @@ enum Edition {
86
86
  EDITION_2023 = 1000;
87
87
  EDITION_2024 = 1001;
88
88
 
89
+ // A placeholder edition for developing and testing unscheduled features.
90
+ EDITION_UNSTABLE = 9999;
91
+
89
92
  // Placeholder editions for testing feature resolution. These should not be
90
93
  // used or relied on outside of tests.
91
94
  EDITION_1_TEST_ONLY = 1;
@@ -113,6 +116,10 @@ message FileDescriptorProto {
113
116
  // For Google-internal migration only. Do not use.
114
117
  repeated int32 weak_dependency = 11;
115
118
 
119
+ // Names of files imported by this file purely for the purpose of providing
120
+ // option extensions. These are excluded from the dependency list above.
121
+ repeated string option_dependency = 15;
122
+
116
123
  // All top-level definitions in this file.
117
124
  repeated DescriptorProto message_type = 4;
118
125
  repeated EnumDescriptorProto enum_type = 5;
@@ -131,9 +138,15 @@ message FileDescriptorProto {
131
138
  // The supported values are "proto2", "proto3", and "editions".
132
139
  //
133
140
  // If `edition` is present, this value must be "editions".
141
+ // WARNING: This field should only be used by protobuf plugins or special
142
+ // cases like the proto compiler. Other uses are discouraged and
143
+ // developers should rely on the protoreflect APIs for their client language.
134
144
  optional string syntax = 12;
135
145
 
136
146
  // The edition of the proto file.
147
+ // WARNING: This field should only be used by protobuf plugins or special
148
+ // cases like the proto compiler. Other uses are discouraged and
149
+ // developers should rely on the protoreflect APIs for their client language.
137
150
  optional Edition edition = 14;
138
151
  }
139
152
 
@@ -170,6 +183,9 @@ message DescriptorProto {
170
183
  // Reserved field names, which may not be used by fields in the same message.
171
184
  // A given name may only be reserved once.
172
185
  repeated string reserved_name = 10;
186
+
187
+ // Support for `export` and `local` keywords on enums.
188
+ optional SymbolVisibility visibility = 11;
173
189
  }
174
190
 
175
191
  message ExtensionRangeOptions {
@@ -366,6 +382,9 @@ message EnumDescriptorProto {
366
382
  // Reserved enum value names, which may not be reused. A given name may only
367
383
  // be reserved once.
368
384
  repeated string reserved_name = 5;
385
+
386
+ // Support for `export` and `local` keywords on enums.
387
+ optional SymbolVisibility visibility = 6;
369
388
  }
370
389
 
371
390
  // Describes a value within an enum.
@@ -382,6 +401,9 @@ message ServiceDescriptorProto {
382
401
  repeated MethodDescriptorProto method = 2;
383
402
 
384
403
  optional ServiceOptions options = 3;
404
+
405
+ reserved 4;
406
+ reserved "stream";
385
407
  }
386
408
 
387
409
  // Describes a method of a service.
@@ -546,6 +568,9 @@ message FileOptions {
546
568
  optional string ruby_package = 45;
547
569
 
548
570
  // Any features defined in the specific edition.
571
+ // WARNING: This field should only be used by protobuf plugins or special
572
+ // cases like the proto compiler. Other uses are discouraged and
573
+ // developers should rely on the protoreflect APIs for their client language.
549
574
  optional FeatureSet features = 50;
550
575
 
551
576
  // The parser stores options it doesn't recognize here.
@@ -632,6 +657,9 @@ message MessageOptions {
632
657
  optional bool deprecated_legacy_json_field_conflicts = 11 [deprecated = true];
633
658
 
634
659
  // Any features defined in the specific edition.
660
+ // WARNING: This field should only be used by protobuf plugins or special
661
+ // cases like the proto compiler. Other uses are discouraged and
662
+ // developers should rely on the protoreflect APIs for their client language.
635
663
  optional FeatureSet features = 12;
636
664
 
637
665
  // The parser stores options it doesn't recognize here. See above.
@@ -731,8 +759,9 @@ message FieldOptions {
731
759
  // is a formalization for deprecating fields.
732
760
  optional bool deprecated = 3 [default = false];
733
761
 
762
+ // DEPRECATED. DO NOT USE!
734
763
  // For Google-internal migration only. Do not use.
735
- optional bool weak = 10 [default = false];
764
+ optional bool weak = 10 [default = false, deprecated = true];
736
765
 
737
766
  // Indicate that the field value should not be printed out when using debug
738
767
  // formats, e.g. when the field contains sensitive credentials.
@@ -772,6 +801,9 @@ message FieldOptions {
772
801
  repeated EditionDefault edition_defaults = 20;
773
802
 
774
803
  // Any features defined in the specific edition.
804
+ // WARNING: This field should only be used by protobuf plugins or special
805
+ // cases like the proto compiler. Other uses are discouraged and
806
+ // developers should rely on the protoreflect APIs for their client language.
775
807
  optional FeatureSet features = 21;
776
808
 
777
809
  // Information about the support window of a feature.
@@ -808,6 +840,9 @@ message FieldOptions {
808
840
 
809
841
  message OneofOptions {
810
842
  // Any features defined in the specific edition.
843
+ // WARNING: This field should only be used by protobuf plugins or special
844
+ // cases like the proto compiler. Other uses are discouraged and
845
+ // developers should rely on the protoreflect APIs for their client language.
811
846
  optional FeatureSet features = 1;
812
847
 
813
848
  // The parser stores options it doesn't recognize here. See above.
@@ -840,6 +875,9 @@ message EnumOptions {
840
875
  optional bool deprecated_legacy_json_field_conflicts = 6 [deprecated = true];
841
876
 
842
877
  // Any features defined in the specific edition.
878
+ // WARNING: This field should only be used by protobuf plugins or special
879
+ // cases like the proto compiler. Other uses are discouraged and
880
+ // developers should rely on the protoreflect APIs for their client language.
843
881
  optional FeatureSet features = 7;
844
882
 
845
883
  // The parser stores options it doesn't recognize here. See above.
@@ -857,6 +895,9 @@ message EnumValueOptions {
857
895
  optional bool deprecated = 1 [default = false];
858
896
 
859
897
  // Any features defined in the specific edition.
898
+ // WARNING: This field should only be used by protobuf plugins or special
899
+ // cases like the proto compiler. Other uses are discouraged and
900
+ // developers should rely on the protoreflect APIs for their client language.
860
901
  optional FeatureSet features = 2;
861
902
 
862
903
  // Indicate that fields annotated with this enum value should not be printed
@@ -877,6 +918,9 @@ message EnumValueOptions {
877
918
  message ServiceOptions {
878
919
 
879
920
  // Any features defined in the specific edition.
921
+ // WARNING: This field should only be used by protobuf plugins or special
922
+ // cases like the proto compiler. Other uses are discouraged and
923
+ // developers should rely on the protoreflect APIs for their client language.
880
924
  optional FeatureSet features = 34;
881
925
 
882
926
  // Note: Field numbers 1 through 32 are reserved for Google's internal RPC
@@ -922,6 +966,9 @@ message MethodOptions {
922
966
  [default = IDEMPOTENCY_UNKNOWN];
923
967
 
924
968
  // Any features defined in the specific edition.
969
+ // WARNING: This field should only be used by protobuf plugins or special
970
+ // cases like the proto compiler. Other uses are discouraged and
971
+ // developers should rely on the protoreflect APIs for their client language.
925
972
  optional FeatureSet features = 35;
926
973
 
927
974
  // The parser stores options it doesn't recognize here. See above.
@@ -1068,6 +1115,60 @@ message FeatureSet {
1068
1115
  edition_defaults = { edition: EDITION_PROTO3, value: "ALLOW" }
1069
1116
  ];
1070
1117
 
1118
+ enum EnforceNamingStyle {
1119
+ ENFORCE_NAMING_STYLE_UNKNOWN = 0;
1120
+ STYLE2024 = 1;
1121
+ STYLE_LEGACY = 2;
1122
+ }
1123
+ optional EnforceNamingStyle enforce_naming_style = 7 [
1124
+ retention = RETENTION_SOURCE,
1125
+ targets = TARGET_TYPE_FILE,
1126
+ targets = TARGET_TYPE_EXTENSION_RANGE,
1127
+ targets = TARGET_TYPE_MESSAGE,
1128
+ targets = TARGET_TYPE_FIELD,
1129
+ targets = TARGET_TYPE_ONEOF,
1130
+ targets = TARGET_TYPE_ENUM,
1131
+ targets = TARGET_TYPE_ENUM_ENTRY,
1132
+ targets = TARGET_TYPE_SERVICE,
1133
+ targets = TARGET_TYPE_METHOD,
1134
+ feature_support = {
1135
+ edition_introduced: EDITION_2024,
1136
+ },
1137
+ edition_defaults = { edition: EDITION_LEGACY, value: "STYLE_LEGACY" },
1138
+ edition_defaults = { edition: EDITION_2024, value: "STYLE2024" }
1139
+ ];
1140
+
1141
+ message VisibilityFeature {
1142
+ enum DefaultSymbolVisibility {
1143
+ DEFAULT_SYMBOL_VISIBILITY_UNKNOWN = 0;
1144
+
1145
+ // Default pre-EDITION_2024, all UNSET visibility are export.
1146
+ EXPORT_ALL = 1;
1147
+
1148
+ // All top-level symbols default to export, nested default to local.
1149
+ EXPORT_TOP_LEVEL = 2;
1150
+
1151
+ // All symbols default to local.
1152
+ LOCAL_ALL = 3;
1153
+
1154
+ // All symbols local by default. Nested types cannot be exported.
1155
+ // With special case caveat for message { enum {} reserved 1 to max; }
1156
+ // This is the recommended setting for new protos.
1157
+ STRICT = 4;
1158
+ }
1159
+ reserved 1 to max;
1160
+ }
1161
+ optional VisibilityFeature.DefaultSymbolVisibility default_symbol_visibility =
1162
+ 8 [
1163
+ retention = RETENTION_SOURCE,
1164
+ targets = TARGET_TYPE_FILE,
1165
+ feature_support = {
1166
+ edition_introduced: EDITION_2024,
1167
+ },
1168
+ edition_defaults = { edition: EDITION_LEGACY, value: "EXPORT_ALL" },
1169
+ edition_defaults = { edition: EDITION_2024, value: "EXPORT_TOP_LEVEL" }
1170
+ ];
1171
+
1071
1172
  reserved 999;
1072
1173
 
1073
1174
  extensions 1000 to 9994 [
@@ -1082,6 +1183,21 @@ message FeatureSet {
1082
1183
  type: ".pb.JavaFeatures"
1083
1184
  },
1084
1185
  declaration = { number: 1002, full_name: ".pb.go", type: ".pb.GoFeatures" },
1186
+ declaration = {
1187
+ number: 1003,
1188
+ full_name: ".pb.python",
1189
+ type: ".pb.PythonFeatures"
1190
+ },
1191
+ declaration = {
1192
+ number: 1100,
1193
+ full_name: ".imp.impress_feature_set",
1194
+ type: ".imp.ImpressFeatureSet"
1195
+ },
1196
+ declaration = {
1197
+ number: 9989,
1198
+ full_name: ".pb.java_mutable",
1199
+ type: ".pb.JavaMutableFeatures"
1200
+ },
1085
1201
  declaration = {
1086
1202
  number: 9990,
1087
1203
  full_name: ".pb.proto1",
@@ -1305,3 +1421,14 @@ message GeneratedCodeInfo {
1305
1421
  optional Semantic semantic = 5;
1306
1422
  }
1307
1423
  }
1424
+
1425
+ // Describes the 'visibility' of a symbol with respect to the proto import
1426
+ // system. Symbols can only be imported when the visibility rules do not prevent
1427
+ // it (ex: local symbols cannot be imported). Visibility modifiers can only set
1428
+ // on `message` and `enum` as they are the only types available to be referenced
1429
+ // from other files.
1430
+ enum SymbolVisibility {
1431
+ VISIBILITY_UNSET = 0;
1432
+ VISIBILITY_LOCAL = 1;
1433
+ VISIBILITY_EXPORT = 2;
1434
+ }
@@ -19,6 +19,7 @@ extend google.protobuf.FeatureSet {
19
19
 
20
20
  message GoFeatures {
21
21
  // Whether or not to generate the deprecated UnmarshalJSON method for enums.
22
+ // Can only be true for proto using the Open Struct api.
22
23
  optional bool legacy_unmarshal_json_enum = 1 [
23
24
  retention = RETENTION_RUNTIME,
24
25
  targets = TARGET_TYPE_ENUM,
@@ -51,7 +52,32 @@ message GoFeatures {
51
52
  feature_support = {
52
53
  edition_introduced: EDITION_2023,
53
54
  },
54
- edition_defaults = { edition: EDITION_LEGACY, value: "API_LEVEL_UNSPECIFIED" },
55
+ edition_defaults = {
56
+ edition: EDITION_LEGACY,
57
+ value: "API_LEVEL_UNSPECIFIED"
58
+ },
55
59
  edition_defaults = { edition: EDITION_2024, value: "API_OPAQUE" }
56
- ];
60
+ ];
61
+
62
+ enum StripEnumPrefix {
63
+ STRIP_ENUM_PREFIX_UNSPECIFIED = 0;
64
+ STRIP_ENUM_PREFIX_KEEP = 1;
65
+ STRIP_ENUM_PREFIX_GENERATE_BOTH = 2;
66
+ STRIP_ENUM_PREFIX_STRIP = 3;
67
+ }
68
+
69
+ optional StripEnumPrefix strip_enum_prefix = 3 [
70
+ retention = RETENTION_RUNTIME,
71
+ targets = TARGET_TYPE_ENUM,
72
+ targets = TARGET_TYPE_ENUM_ENTRY,
73
+ targets = TARGET_TYPE_FILE,
74
+ feature_support = {
75
+ edition_introduced: EDITION_2024,
76
+ },
77
+ // TODO: change the default to STRIP_ENUM_PREFIX_STRIP for edition 2025.
78
+ edition_defaults = {
79
+ edition: EDITION_LEGACY,
80
+ value: "STRIP_ENUM_PREFIX_KEEP"
81
+ }
82
+ ];
57
83
  }
@@ -1,3 +1,4 @@
1
+
1
2
  // Protocol Buffers - Google's data interchange format
2
3
  // Copyright 2023 Google Inc. All rights reserved.
3
4
  //
@@ -39,8 +40,7 @@ message JavaFeatures {
39
40
  edition_defaults = { edition: EDITION_PROTO3, value: "false" }
40
41
  ];
41
42
 
42
- // The UTF8 validation strategy to use. See go/editions-utf8-validation for
43
- // more information on this feature.
43
+ // The UTF8 validation strategy to use.
44
44
  enum Utf8Validation {
45
45
  // Invalid default, which should never be used.
46
46
  UTF8_VALIDATION_UNKNOWN = 0;
@@ -66,4 +66,67 @@ message JavaFeatures {
66
66
  },
67
67
  edition_defaults = { edition: EDITION_LEGACY, value: "DEFAULT" }
68
68
  ];
69
+
70
+ // Allows creation of large Java enums, extending beyond the standard
71
+ // constant limits imposed by the Java language.
72
+ optional bool large_enum = 3 [
73
+ retention = RETENTION_RUNTIME,
74
+ targets = TARGET_TYPE_ENUM,
75
+ targets = TARGET_TYPE_FILE,
76
+ feature_support = {
77
+ edition_introduced: EDITION_2024,
78
+ },
79
+ edition_defaults = { edition: EDITION_LEGACY, value: "false" }
80
+ ];
81
+
82
+ // Whether to use the old default outer class name scheme, or the new feature
83
+ // which adds a "Proto" suffix to the outer class name.
84
+ //
85
+ // Users will not be able to set this option, because we removed it in the
86
+ // same edition that it was introduced. But we use it to determine which
87
+ // naming scheme to use for outer class name defaults.
88
+ optional bool use_old_outer_classname_default = 4 [
89
+ retention = RETENTION_RUNTIME,
90
+ targets = TARGET_TYPE_FILE,
91
+ feature_support = {
92
+ edition_introduced: EDITION_2024,
93
+ edition_removed: EDITION_2024,
94
+ },
95
+ edition_defaults = { edition: EDITION_LEGACY, value: "true" },
96
+ edition_defaults = { edition: EDITION_2024, value: "false" }
97
+ ];
98
+
99
+ message NestInFileClassFeature {
100
+ enum NestInFileClass {
101
+ // Invalid default, which should never be used.
102
+ NEST_IN_FILE_CLASS_UNKNOWN = 0;
103
+ // Do not nest the generated class in the file class.
104
+ NO = 1;
105
+ // Nest the generated class in the file class.
106
+ YES = 2;
107
+ // Fall back to the `java_multiple_files` option. Users won't be able to
108
+ // set this option.
109
+ LEGACY = 3 [feature_support = {
110
+ edition_introduced: EDITION_2024
111
+ edition_removed: EDITION_2024
112
+ }];
113
+ }
114
+ reserved 1 to max;
115
+ }
116
+
117
+ // Whether to nest the generated class in the generated file class. This is
118
+ // only applicable to *top-level* messages, enums, and services.
119
+ optional NestInFileClassFeature.NestInFileClass nest_in_file_class = 5 [
120
+ retention = RETENTION_RUNTIME,
121
+ targets = TARGET_TYPE_MESSAGE,
122
+ targets = TARGET_TYPE_ENUM,
123
+ targets = TARGET_TYPE_SERVICE,
124
+ feature_support = {
125
+ edition_introduced: EDITION_2024,
126
+ },
127
+ edition_defaults = { edition: EDITION_LEGACY, value: "LEGACY" },
128
+ edition_defaults = { edition: EDITION_2024, value: "NO" }
129
+ ];
130
+
131
+ reserved 6; // field `mutable_nest_in_file_class` removed.
69
132
  }
@@ -131,14 +131,15 @@ option csharp_namespace = "Google.Protobuf.WellKnownTypes";
131
131
  // ) to obtain a formatter capable of generating timestamps in this format.
132
132
  //
133
133
  message Timestamp {
134
- // Represents seconds of UTC time since Unix epoch
135
- // 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to
136
- // 9999-12-31T23:59:59Z inclusive.
134
+ // Represents seconds of UTC time since Unix epoch 1970-01-01T00:00:00Z. Must
135
+ // be between -315576000000 and 315576000000 inclusive (which corresponds to
136
+ // 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z).
137
137
  int64 seconds = 1;
138
138
 
139
- // Non-negative fractions of a second at nanosecond resolution. Negative
140
- // second values with fractions must still have non-negative nanos values
141
- // that count forward in time. Must be from 0 to 999,999,999
139
+ // Non-negative fractions of a second at nanosecond resolution. This field is
140
+ // the nanosecond portion of the duration, not an alternative to seconds.
141
+ // Negative second values with fractions must still have non-negative nanos
142
+ // values that count forward in time. Must be between 0 and 999,999,999
142
143
  // inclusive.
143
144
  int32 nanos = 2;
144
145
  }
@@ -44,6 +44,11 @@ option csharp_namespace = "Google.Protobuf.WellKnownTypes";
44
44
  option go_package = "google.golang.org/protobuf/types/known/typepb";
45
45
 
46
46
  // A protocol buffer message type.
47
+ //
48
+ // New usages of this message as an alternative to DescriptorProto are strongly
49
+ // discouraged. This message does not reliability preserve all information
50
+ // necessary to model the schema and preserve semantics. Instead make use of
51
+ // FileDescriptorSet which preserves the necessary information.
47
52
  message Type {
48
53
  // The fully qualified message name.
49
54
  string name = 1;
@@ -62,6 +67,11 @@ message Type {
62
67
  }
63
68
 
64
69
  // A single field of a message type.
70
+ //
71
+ // New usages of this message as an alternative to FieldDescriptorProto are
72
+ // strongly discouraged. This message does not reliability preserve all
73
+ // information necessary to model the schema and preserve semantics. Instead
74
+ // make use of FileDescriptorSet which preserves the necessary information.
65
75
  message Field {
66
76
  // Basic field types.
67
77
  enum Kind {
@@ -142,6 +152,11 @@ message Field {
142
152
  }
143
153
 
144
154
  // Enum type definition.
155
+ //
156
+ // New usages of this message as an alternative to EnumDescriptorProto are
157
+ // strongly discouraged. This message does not reliability preserve all
158
+ // information necessary to model the schema and preserve semantics. Instead
159
+ // make use of FileDescriptorSet which preserves the necessary information.
145
160
  message Enum {
146
161
  // Enum type name.
147
162
  string name = 1;
@@ -158,6 +173,11 @@ message Enum {
158
173
  }
159
174
 
160
175
  // Enum value definition.
176
+ //
177
+ // New usages of this message as an alternative to EnumValueDescriptorProto are
178
+ // strongly discouraged. This message does not reliability preserve all
179
+ // information necessary to model the schema and preserve semantics. Instead
180
+ // make use of FileDescriptorSet which preserves the necessary information.
161
181
  message EnumValue {
162
182
  // Enum value name.
163
183
  string name = 1;
@@ -169,6 +189,10 @@ message EnumValue {
169
189
 
170
190
  // A protocol buffer option, which can be attached to a message, field,
171
191
  // enumeration, etc.
192
+ //
193
+ // New usages of this message as an alternative to FileOptions, MessageOptions,
194
+ // FieldOptions, EnumOptions, EnumValueOptions, ServiceOptions, or MethodOptions
195
+ // are strongly discouraged.
172
196
  message Option {
173
197
  // The option's name. For protobuf built-in options (options defined in
174
198
  // descriptor.proto), this is the short name. For example, `"map_entry"`.
@@ -28,10 +28,17 @@
28
28
  // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
29
29
  // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30
30
  //
31
- // Wrappers for primitive (non-message) types. These types are useful
32
- // for embedding primitives in the `google.protobuf.Any` type and for places
33
- // where we need to distinguish between the absence of a primitive
34
- // typed field and its default value.
31
+ // Wrappers for primitive (non-message) types. These types were needed
32
+ // for legacy reasons and are not recommended for use in new APIs.
33
+ //
34
+ // Historically these wrappers were useful to have presence on proto3 primitive
35
+ // fields, but proto3 syntax has been updated to support the `optional` keyword.
36
+ // Using that keyword is now the strongly preferred way to add presence to
37
+ // proto3 primitive fields.
38
+ //
39
+ // A secondary usecase was to embed primitives in the `google.protobuf.Any`
40
+ // type: it is now recommended that you embed your value in your own wrapper
41
+ // message which can be specifically documented.
35
42
  //
36
43
  // These wrappers have no meaningful use within repeated fields as they lack
37
44
  // the ability to detect presence on individual elements.
@@ -53,6 +60,9 @@ option csharp_namespace = "Google.Protobuf.WellKnownTypes";
53
60
  // Wrapper message for `double`.
54
61
  //
55
62
  // The JSON representation for `DoubleValue` is JSON number.
63
+ //
64
+ // Not recommended for use in new APIs, but still useful for legacy APIs and
65
+ // has no plan to be removed.
56
66
  message DoubleValue {
57
67
  // The double value.
58
68
  double value = 1;
@@ -61,6 +71,9 @@ message DoubleValue {
61
71
  // Wrapper message for `float`.
62
72
  //
63
73
  // The JSON representation for `FloatValue` is JSON number.
74
+ //
75
+ // Not recommended for use in new APIs, but still useful for legacy APIs and
76
+ // has no plan to be removed.
64
77
  message FloatValue {
65
78
  // The float value.
66
79
  float value = 1;
@@ -69,6 +82,9 @@ message FloatValue {
69
82
  // Wrapper message for `int64`.
70
83
  //
71
84
  // The JSON representation for `Int64Value` is JSON string.
85
+ //
86
+ // Not recommended for use in new APIs, but still useful for legacy APIs and
87
+ // has no plan to be removed.
72
88
  message Int64Value {
73
89
  // The int64 value.
74
90
  int64 value = 1;
@@ -77,6 +93,9 @@ message Int64Value {
77
93
  // Wrapper message for `uint64`.
78
94
  //
79
95
  // The JSON representation for `UInt64Value` is JSON string.
96
+ //
97
+ // Not recommended for use in new APIs, but still useful for legacy APIs and
98
+ // has no plan to be removed.
80
99
  message UInt64Value {
81
100
  // The uint64 value.
82
101
  uint64 value = 1;
@@ -85,6 +104,9 @@ message UInt64Value {
85
104
  // Wrapper message for `int32`.
86
105
  //
87
106
  // The JSON representation for `Int32Value` is JSON number.
107
+ //
108
+ // Not recommended for use in new APIs, but still useful for legacy APIs and
109
+ // has no plan to be removed.
88
110
  message Int32Value {
89
111
  // The int32 value.
90
112
  int32 value = 1;
@@ -93,6 +115,9 @@ message Int32Value {
93
115
  // Wrapper message for `uint32`.
94
116
  //
95
117
  // The JSON representation for `UInt32Value` is JSON number.
118
+ //
119
+ // Not recommended for use in new APIs, but still useful for legacy APIs and
120
+ // has no plan to be removed.
96
121
  message UInt32Value {
97
122
  // The uint32 value.
98
123
  uint32 value = 1;
@@ -101,6 +126,9 @@ message UInt32Value {
101
126
  // Wrapper message for `bool`.
102
127
  //
103
128
  // The JSON representation for `BoolValue` is JSON `true` and `false`.
129
+ //
130
+ // Not recommended for use in new APIs, but still useful for legacy APIs and
131
+ // has no plan to be removed.
104
132
  message BoolValue {
105
133
  // The bool value.
106
134
  bool value = 1;
@@ -109,6 +137,9 @@ message BoolValue {
109
137
  // Wrapper message for `string`.
110
138
  //
111
139
  // The JSON representation for `StringValue` is JSON string.
140
+ //
141
+ // Not recommended for use in new APIs, but still useful for legacy APIs and
142
+ // has no plan to be removed.
112
143
  message StringValue {
113
144
  // The string value.
114
145
  string value = 1;
@@ -117,6 +148,9 @@ message StringValue {
117
148
  // Wrapper message for `bytes`.
118
149
  //
119
150
  // The JSON representation for `BytesValue` is JSON string.
151
+ //
152
+ // Not recommended for use in new APIs, but still useful for legacy APIs and
153
+ // has no plan to be removed.
120
154
  message BytesValue {
121
155
  // The bytes value.
122
156
  bytes value = 1;
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: protobuf-protoc-bin
3
- Version: 29.6
3
+ Version: 33.5
4
4
  Summary: Pip package to host the protobuf protoc binary
5
5
  Author-email: Robert Roos <robert.roos@demcon.com>
6
6
  Project-URL: Repository, https://github.com/RobertoRoos/protobuf-protoc-bin
@@ -0,0 +1,22 @@
1
+ protobuf_protoc_bin/__init__.py,sha256=G_RoeZn3_WVSAMUsluFtdO7mfCiZnRz44zXfU9IyPKQ,221
2
+ protobuf_protoc_bin/_version.py,sha256=ZA2SoLIeC7YFCG-ny9O7P7SMp5_qZN74hxRhEjut5Eo,743
3
+ protobuf_protoc_bin-33.5.data/data/include/google/protobuf/any.proto,sha256=vPXebORjsaOP92t3lVqn5YC07BKvNKknsdRcnvsPr2Y,6154
4
+ protobuf_protoc_bin-33.5.data/data/include/google/protobuf/api.proto,sha256=bUfWJy62h8gGtv6wjvOSUkPGTqB2zZRAt4PienrsVQI,8845
5
+ protobuf_protoc_bin-33.5.data/data/include/google/protobuf/cpp_features.proto,sha256=Cwsd_msm8JKllNN--EAX8RxqL4hfZMER0gmyLnLKYtU,2186
6
+ protobuf_protoc_bin-33.5.data/data/include/google/protobuf/descriptor.proto,sha256=gm3VVemNFqg2Dtyq6Dd4BX8KWD6nBZ5Z0tg4CW-RKRg,57928
7
+ protobuf_protoc_bin-33.5.data/data/include/google/protobuf/duration.proto,sha256=o_cwH_KVbsLjDCJB7OBxl-SobHUjSNVgciSBnUkhyf4,4892
8
+ protobuf_protoc_bin-33.5.data/data/include/google/protobuf/empty.proto,sha256=7O89VMyeB5ZzuYFsZ7rHcPfzv22totRZa6adcdqpceY,2363
9
+ protobuf_protoc_bin-33.5.data/data/include/google/protobuf/field_mask.proto,sha256=F7DzQsw6Ji4xfVaITz9XWvv6xRKtBXk0nMdFDkHyaJE,8185
10
+ protobuf_protoc_bin-33.5.data/data/include/google/protobuf/go_features.proto,sha256=xiON7PHf9sLIX47dtOQ9MPY-XmPovuQRq8HpkC7iMKQ,2536
11
+ protobuf_protoc_bin-33.5.data/data/include/google/protobuf/java_features.proto,sha256=rAJT8jb5OSqcccGyEpe8fKiSSW7VULEsk9Ckro5BIN8,4899
12
+ protobuf_protoc_bin-33.5.data/data/include/google/protobuf/source_context.proto,sha256=N9NAHeia8dFJb8lJkkpfIBG9L6376w2hyqJ3FZqWd20,2341
13
+ protobuf_protoc_bin-33.5.data/data/include/google/protobuf/struct.proto,sha256=G_B7qLmiTjoDkN3aw60NtBxjKH0lJ4iwI5giC5q8kA8,3778
14
+ protobuf_protoc_bin-33.5.data/data/include/google/protobuf/timestamp.proto,sha256=ecm7VB_dUiFMo9OiyZHg3-xbsqmgW6LgYeP8aLRgQH0,6600
15
+ protobuf_protoc_bin-33.5.data/data/include/google/protobuf/type.proto,sha256=UKO2e02JToKBczGar81qxEDBU0AEhFK9E6E-i0fMZjc,7774
16
+ protobuf_protoc_bin-33.5.data/data/include/google/protobuf/wrappers.proto,sha256=aHjcdTTPmAXu5WNFzcOLXpyjneziRnEMZjxwB6Z_70k,5392
17
+ protobuf_protoc_bin-33.5.data/data/include/google/protobuf/compiler/plugin.proto,sha256=j172w2-tjmbjNHwPjYkQ37FCObjM_SqNFtuo53W1e38,8556
18
+ protobuf_protoc_bin-33.5.data/scripts/protoc.exe,sha256=LyhLxzXxrkdd7hqdIF2JbSPedhzvS3DvjT7Z6pm6D28,12692987
19
+ protobuf_protoc_bin-33.5.dist-info/METADATA,sha256=7ri47kgsH2hPsL3bfA_A9LglisD08xYi4zEXhMjOA6E,5313
20
+ protobuf_protoc_bin-33.5.dist-info/WHEEL,sha256=E9pds6JWHvnCj-xB8Pbzagqe9EESZE0hm2wDbPzykdI,122
21
+ protobuf_protoc_bin-33.5.dist-info/top_level.txt,sha256=afBaZDfluZv1nGzi4GoHBIk52GjoHfFL1zEMio0q_YA,20
22
+ protobuf_protoc_bin-33.5.dist-info/RECORD,,
@@ -1,22 +0,0 @@
1
- protobuf_protoc_bin/__init__.py,sha256=G_RoeZn3_WVSAMUsluFtdO7mfCiZnRz44zXfU9IyPKQ,221
2
- protobuf_protoc_bin/_version.py,sha256=FH-kVb56RmmqDFg7GxZprER0MllBspiaLne0Tvpr6es,743
3
- protobuf_protoc_bin-29.6.data/data/include/google/protobuf/any.proto,sha256=vPXebORjsaOP92t3lVqn5YC07BKvNKknsdRcnvsPr2Y,6154
4
- protobuf_protoc_bin-29.6.data/data/include/google/protobuf/api.proto,sha256=naqFihxSn0f51O0bwt8Nq2FUrUL5nPA1Gz2p1Nr_jrA,7729
5
- protobuf_protoc_bin-29.6.data/data/include/google/protobuf/cpp_features.proto,sha256=wM9-hphZYrcNfiAeZGrRCXBxfyLI3TOK-0F95Dd0_5U,2185
6
- protobuf_protoc_bin-29.6.data/data/include/google/protobuf/descriptor.proto,sha256=y_JnSzkRIsonbDhlgJvEelpRkINTxfjRtwLl84qw-Cw,52531
7
- protobuf_protoc_bin-29.6.data/data/include/google/protobuf/duration.proto,sha256=o_cwH_KVbsLjDCJB7OBxl-SobHUjSNVgciSBnUkhyf4,4892
8
- protobuf_protoc_bin-29.6.data/data/include/google/protobuf/empty.proto,sha256=7O89VMyeB5ZzuYFsZ7rHcPfzv22totRZa6adcdqpceY,2363
9
- protobuf_protoc_bin-29.6.data/data/include/google/protobuf/field_mask.proto,sha256=F7DzQsw6Ji4xfVaITz9XWvv6xRKtBXk0nMdFDkHyaJE,8185
10
- protobuf_protoc_bin-29.6.data/data/include/google/protobuf/go_features.proto,sha256=sAt7qONITtjz7WUOXfFto0OC1SM6aN2QCOPQi6p_khs,1845
11
- protobuf_protoc_bin-29.6.data/data/include/google/protobuf/java_features.proto,sha256=6PxNZ2XoOIXmENViUGwf3y7lquSVt5hoVGG7JfklSyk,2666
12
- protobuf_protoc_bin-29.6.data/data/include/google/protobuf/source_context.proto,sha256=N9NAHeia8dFJb8lJkkpfIBG9L6376w2hyqJ3FZqWd20,2341
13
- protobuf_protoc_bin-29.6.data/data/include/google/protobuf/struct.proto,sha256=G_B7qLmiTjoDkN3aw60NtBxjKH0lJ4iwI5giC5q8kA8,3778
14
- protobuf_protoc_bin-29.6.data/data/include/google/protobuf/timestamp.proto,sha256=FAUsYELB3S0LUCRfKBLqq26vgtsLbozkg-rlJ_c7bug,6449
15
- protobuf_protoc_bin-29.6.data/data/include/google/protobuf/type.proto,sha256=4jDg5K64fJXp8casv8DHE9s_iAlPFJsVRxelHQIPdQs,6367
16
- protobuf_protoc_bin-29.6.data/data/include/google/protobuf/wrappers.proto,sha256=omwdbsc6WSrDF5YommHO_-LbJFP_Qn3912l6rFCEQoA,4044
17
- protobuf_protoc_bin-29.6.data/data/include/google/protobuf/compiler/plugin.proto,sha256=fjnlljCh8BGNcVv9D-NIHBYN4hRP9ZUsXj7SCizk-oI,8556
18
- protobuf_protoc_bin-29.6.data/scripts/protoc.exe,sha256=c9cJDBKYBEl0e-x2YqVDapxdPEE-7oX6Qs19oBnx0Mk,12008695
19
- protobuf_protoc_bin-29.6.dist-info/METADATA,sha256=xaf1K4KfMrQXuM_49h6EVhEc7lCpxQjW2cL25Meo3so,5313
20
- protobuf_protoc_bin-29.6.dist-info/WHEEL,sha256=E9pds6JWHvnCj-xB8Pbzagqe9EESZE0hm2wDbPzykdI,122
21
- protobuf_protoc_bin-29.6.dist-info/top_level.txt,sha256=afBaZDfluZv1nGzi4GoHBIk52GjoHfFL1zEMio0q_YA,20
22
- protobuf_protoc_bin-29.6.dist-info/RECORD,,
@@ -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;