@hyperlane-xyz/cli 16.2.0 → 18.0.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.
- package/cli-bundle/index.js +39174 -1835
- package/examples/submit/transactions/{alfajores-transactions.json → sepolia-transactions.json} +1 -1
- package/package.json +5 -5
- package/cli-bundle/798.index.js +0 -169715
- package/cli-bundle/proto/channelz.proto +0 -564
- package/cli-bundle/protos/compute_operations.d.ts +0 -7304
- package/cli-bundle/protos/compute_operations.js +0 -1
- package/cli-bundle/protos/compute_operations.json +0 -1
- package/cli-bundle/protos/google/api/annotations.proto +0 -31
- package/cli-bundle/protos/google/api/apikeys/v2/apikeys.proto +0 -288
- package/cli-bundle/protos/google/api/apikeys/v2/resources.proto +0 -175
- package/cli-bundle/protos/google/api/auth.proto +0 -237
- package/cli-bundle/protos/google/api/backend.proto +0 -185
- package/cli-bundle/protos/google/api/billing.proto +0 -77
- package/cli-bundle/protos/google/api/client.proto +0 -427
- package/cli-bundle/protos/google/api/cloudquotas/v1/cloudquotas.proto +0 -322
- package/cli-bundle/protos/google/api/cloudquotas/v1/resources.proto +0 -311
- package/cli-bundle/protos/google/api/config_change.proto +0 -84
- package/cli-bundle/protos/google/api/consumer.proto +0 -82
- package/cli-bundle/protos/google/api/context.proto +0 -90
- package/cli-bundle/protos/google/api/control.proto +0 -41
- package/cli-bundle/protos/google/api/distribution.proto +0 -213
- package/cli-bundle/protos/google/api/documentation.proto +0 -168
- package/cli-bundle/protos/google/api/endpoint.proto +0 -73
- package/cli-bundle/protos/google/api/error_reason.proto +0 -589
- package/cli-bundle/protos/google/api/expr/conformance/v1alpha1/conformance_service.proto +0 -183
- package/cli-bundle/protos/google/api/expr/v1alpha1/checked.proto +0 -343
- package/cli-bundle/protos/google/api/expr/v1alpha1/eval.proto +0 -118
- package/cli-bundle/protos/google/api/expr/v1alpha1/explain.proto +0 -53
- package/cli-bundle/protos/google/api/expr/v1alpha1/syntax.proto +0 -400
- package/cli-bundle/protos/google/api/expr/v1alpha1/value.proto +0 -115
- package/cli-bundle/protos/google/api/expr/v1beta1/decl.proto +0 -84
- package/cli-bundle/protos/google/api/expr/v1beta1/eval.proto +0 -125
- package/cli-bundle/protos/google/api/expr/v1beta1/expr.proto +0 -265
- package/cli-bundle/protos/google/api/expr/v1beta1/source.proto +0 -62
- package/cli-bundle/protos/google/api/expr/v1beta1/value.proto +0 -114
- package/cli-bundle/protos/google/api/field_behavior.proto +0 -104
- package/cli-bundle/protos/google/api/field_info.proto +0 -79
- package/cli-bundle/protos/google/api/http.proto +0 -379
- package/cli-bundle/protos/google/api/httpbody.proto +0 -81
- package/cli-bundle/protos/google/api/label.proto +0 -48
- package/cli-bundle/protos/google/api/launch_stage.proto +0 -72
- package/cli-bundle/protos/google/api/log.proto +0 -54
- package/cli-bundle/protos/google/api/logging.proto +0 -81
- package/cli-bundle/protos/google/api/metric.proto +0 -268
- package/cli-bundle/protos/google/api/monitored_resource.proto +0 -130
- package/cli-bundle/protos/google/api/monitoring.proto +0 -107
- package/cli-bundle/protos/google/api/policy.proto +0 -85
- package/cli-bundle/protos/google/api/quota.proto +0 -184
- package/cli-bundle/protos/google/api/resource.proto +0 -238
- package/cli-bundle/protos/google/api/routing.proto +0 -461
- package/cli-bundle/protos/google/api/service.proto +0 -191
- package/cli-bundle/protos/google/api/servicecontrol/v1/check_error.proto +0 -124
- package/cli-bundle/protos/google/api/servicecontrol/v1/distribution.proto +0 -166
- package/cli-bundle/protos/google/api/servicecontrol/v1/http_request.proto +0 -93
- package/cli-bundle/protos/google/api/servicecontrol/v1/log_entry.proto +0 -126
- package/cli-bundle/protos/google/api/servicecontrol/v1/metric_value.proto +0 -81
- package/cli-bundle/protos/google/api/servicecontrol/v1/operation.proto +0 -123
- package/cli-bundle/protos/google/api/servicecontrol/v1/quota_controller.proto +0 -245
- package/cli-bundle/protos/google/api/servicecontrol/v1/service_controller.proto +0 -260
- package/cli-bundle/protos/google/api/servicecontrol/v2/service_controller.proto +0 -196
- package/cli-bundle/protos/google/api/servicemanagement/v1/resources.proto +0 -295
- package/cli-bundle/protos/google/api/servicemanagement/v1/servicemanager.proto +0 -508
- package/cli-bundle/protos/google/api/serviceusage/v1/resources.proto +0 -130
- package/cli-bundle/protos/google/api/serviceusage/v1/serviceusage.proto +0 -305
- package/cli-bundle/protos/google/api/serviceusage/v1beta1/resources.proto +0 -458
- package/cli-bundle/protos/google/api/serviceusage/v1beta1/serviceusage.proto +0 -793
- package/cli-bundle/protos/google/api/source_info.proto +0 -31
- package/cli-bundle/protos/google/api/system_parameter.proto +0 -96
- package/cli-bundle/protos/google/api/usage.proto +0 -96
- package/cli-bundle/protos/google/api/visibility.proto +0 -113
- package/cli-bundle/protos/google/cloud/location/locations.proto +0 -108
- package/cli-bundle/protos/google/iam/v1/iam_policy.proto +0 -155
- package/cli-bundle/protos/google/iam/v1/logging/audit_data.proto +0 -33
- package/cli-bundle/protos/google/iam/v1/options.proto +0 -48
- package/cli-bundle/protos/google/iam/v1/policy.proto +0 -410
- package/cli-bundle/protos/google/logging/type/http_request.proto +0 -95
- package/cli-bundle/protos/google/logging/type/log_severity.proto +0 -71
- package/cli-bundle/protos/google/longrunning/operations.proto +0 -247
- package/cli-bundle/protos/google/monitoring/v3/alert.proto +0 -669
- package/cli-bundle/protos/google/monitoring/v3/alert_service.proto +0 -256
- package/cli-bundle/protos/google/monitoring/v3/common.proto +0 -488
- package/cli-bundle/protos/google/monitoring/v3/dropped_labels.proto +0 -46
- package/cli-bundle/protos/google/monitoring/v3/group.proto +0 -90
- package/cli-bundle/protos/google/monitoring/v3/group_service.proto +0 -290
- package/cli-bundle/protos/google/monitoring/v3/metric.proto +0 -239
- package/cli-bundle/protos/google/monitoring/v3/metric_service.proto +0 -522
- package/cli-bundle/protos/google/monitoring/v3/mutation_record.proto +0 -36
- package/cli-bundle/protos/google/monitoring/v3/notification.proto +0 -195
- package/cli-bundle/protos/google/monitoring/v3/notification_service.proto +0 -448
- package/cli-bundle/protos/google/monitoring/v3/query_service.proto +0 -48
- package/cli-bundle/protos/google/monitoring/v3/service.proto +0 -457
- package/cli-bundle/protos/google/monitoring/v3/service_service.proto +0 -352
- package/cli-bundle/protos/google/monitoring/v3/snooze.proto +0 -78
- package/cli-bundle/protos/google/monitoring/v3/snooze_service.proto +0 -210
- package/cli-bundle/protos/google/monitoring/v3/span_context.proto +0 -45
- package/cli-bundle/protos/google/monitoring/v3/uptime.proto +0 -564
- package/cli-bundle/protos/google/monitoring/v3/uptime_service.proto +0 -259
- package/cli-bundle/protos/google/protobuf/any.proto +0 -162
- package/cli-bundle/protos/google/protobuf/api.proto +0 -207
- package/cli-bundle/protos/google/protobuf/bridge/message_set.proto +0 -76
- package/cli-bundle/protos/google/protobuf/compiler/plugin.proto +0 -180
- package/cli-bundle/protos/google/protobuf/compiler/ruby/ruby_generated_code.proto +0 -77
- package/cli-bundle/protos/google/protobuf/compiler/ruby/ruby_generated_code_proto2.proto +0 -78
- package/cli-bundle/protos/google/protobuf/compiler/ruby/ruby_generated_code_proto2_import.proto +0 -12
- package/cli-bundle/protos/google/protobuf/compiler/ruby/ruby_generated_pkg_explicit.proto +0 -16
- package/cli-bundle/protos/google/protobuf/compiler/ruby/ruby_generated_pkg_explicit_legacy.proto +0 -16
- package/cli-bundle/protos/google/protobuf/compiler/ruby/ruby_generated_pkg_implicit.proto +0 -14
- package/cli-bundle/protos/google/protobuf/cpp_features.proto +0 -45
- package/cli-bundle/protos/google/protobuf/descriptor.proto +0 -1225
- package/cli-bundle/protos/google/protobuf/duration.proto +0 -115
- package/cli-bundle/protos/google/protobuf/editions/codegen_tests/proto2_enum.proto +0 -26
- package/cli-bundle/protos/google/protobuf/editions/codegen_tests/proto2_group.proto +0 -18
- package/cli-bundle/protos/google/protobuf/editions/codegen_tests/proto2_import.proto +0 -16
- package/cli-bundle/protos/google/protobuf/editions/codegen_tests/proto2_inline_comments.proto +0 -33
- package/cli-bundle/protos/google/protobuf/editions/codegen_tests/proto2_multiline_comments.proto +0 -33
- package/cli-bundle/protos/google/protobuf/editions/codegen_tests/proto2_optional.proto +0 -65
- package/cli-bundle/protos/google/protobuf/editions/codegen_tests/proto2_packed.proto +0 -14
- package/cli-bundle/protos/google/protobuf/editions/codegen_tests/proto2_proto3_enum.proto +0 -18
- package/cli-bundle/protos/google/protobuf/editions/codegen_tests/proto2_required.proto +0 -47
- package/cli-bundle/protos/google/protobuf/editions/codegen_tests/proto2_unpacked.proto +0 -19
- package/cli-bundle/protos/google/protobuf/editions/codegen_tests/proto2_utf8_disabled.proto +0 -16
- package/cli-bundle/protos/google/protobuf/editions/codegen_tests/proto2_utf8_lite.proto +0 -17
- package/cli-bundle/protos/google/protobuf/editions/codegen_tests/proto2_utf8_verify.proto +0 -14
- package/cli-bundle/protos/google/protobuf/editions/codegen_tests/proto3_enum.proto +0 -26
- package/cli-bundle/protos/google/protobuf/editions/codegen_tests/proto3_implicit.proto +0 -65
- package/cli-bundle/protos/google/protobuf/editions/codegen_tests/proto3_import.proto +0 -16
- package/cli-bundle/protos/google/protobuf/editions/codegen_tests/proto3_optional.proto +0 -47
- package/cli-bundle/protos/google/protobuf/editions/codegen_tests/proto3_packed.proto +0 -20
- package/cli-bundle/protos/google/protobuf/editions/codegen_tests/proto3_unpacked.proto +0 -19
- package/cli-bundle/protos/google/protobuf/editions/codegen_tests/proto3_utf8_strict.proto +0 -15
- package/cli-bundle/protos/google/protobuf/editions/golden/editions_transform_proto2.proto +0 -129
- package/cli-bundle/protos/google/protobuf/editions/golden/editions_transform_proto2_lite.proto +0 -19
- package/cli-bundle/protos/google/protobuf/editions/golden/editions_transform_proto2_utf8_disabled.proto +0 -18
- package/cli-bundle/protos/google/protobuf/editions/golden/editions_transform_proto3.proto +0 -32
- package/cli-bundle/protos/google/protobuf/editions/golden/editions_transform_proto3_utf8_disabled.proto +0 -18
- package/cli-bundle/protos/google/protobuf/editions/golden/simple_proto2.proto +0 -14
- package/cli-bundle/protos/google/protobuf/editions/golden/simple_proto2_import.proto +0 -16
- package/cli-bundle/protos/google/protobuf/editions/golden/simple_proto3.proto +0 -14
- package/cli-bundle/protos/google/protobuf/editions/proto/editions_transform_proto2.proto +0 -91
- package/cli-bundle/protos/google/protobuf/editions/proto/editions_transform_proto2_lite.proto +0 -20
- package/cli-bundle/protos/google/protobuf/editions/proto/editions_transform_proto2_utf8_disabled.proto +0 -19
- package/cli-bundle/protos/google/protobuf/editions/proto/editions_transform_proto3.proto +0 -25
- package/cli-bundle/protos/google/protobuf/editions/proto/editions_transform_proto3_utf8_disabled.proto +0 -19
- package/cli-bundle/protos/google/protobuf/empty.proto +0 -51
- package/cli-bundle/protos/google/protobuf/field_mask.proto +0 -245
- package/cli-bundle/protos/google/protobuf/sample_messages_edition.proto +0 -427
- package/cli-bundle/protos/google/protobuf/source_context.proto +0 -48
- package/cli-bundle/protos/google/protobuf/struct.proto +0 -95
- package/cli-bundle/protos/google/protobuf/timestamp.proto +0 -144
- package/cli-bundle/protos/google/protobuf/type.proto +0 -193
- package/cli-bundle/protos/google/protobuf/util/json_format.proto +0 -116
- package/cli-bundle/protos/google/protobuf/util/json_format_proto3.proto +0 -301
- package/cli-bundle/protos/google/protobuf/wrappers.proto +0 -123
- package/cli-bundle/protos/google/rpc/code.proto +0 -186
- package/cli-bundle/protos/google/rpc/context/attribute_context.proto +0 -344
- package/cli-bundle/protos/google/rpc/context/audit_context.proto +0 -49
- package/cli-bundle/protos/google/rpc/error_details.proto +0 -285
- package/cli-bundle/protos/google/rpc/http.proto +0 -64
- package/cli-bundle/protos/google/rpc/status.proto +0 -49
- package/cli-bundle/protos/google/type/calendar_period.proto +0 -56
- package/cli-bundle/protos/google/type/color.proto +0 -174
- package/cli-bundle/protos/google/type/date.proto +0 -52
- package/cli-bundle/protos/google/type/datetime.proto +0 -104
- package/cli-bundle/protos/google/type/dayofweek.proto +0 -50
- package/cli-bundle/protos/google/type/decimal.proto +0 -95
- package/cli-bundle/protos/google/type/expr.proto +0 -73
- package/cli-bundle/protos/google/type/fraction.proto +0 -33
- package/cli-bundle/protos/google/type/interval.proto +0 -46
- package/cli-bundle/protos/google/type/latlng.proto +0 -37
- package/cli-bundle/protos/google/type/localized_text.proto +0 -36
- package/cli-bundle/protos/google/type/money.proto +0 -42
- package/cli-bundle/protos/google/type/month.proto +0 -65
- package/cli-bundle/protos/google/type/phone_number.proto +0 -113
- package/cli-bundle/protos/google/type/postal_address.proto +0 -134
- package/cli-bundle/protos/google/type/quaternion.proto +0 -94
- package/cli-bundle/protos/google/type/timeofday.proto +0 -44
- package/cli-bundle/protos/http.d.ts +0 -347
- package/cli-bundle/protos/http.js +0 -1
- package/cli-bundle/protos/iam_service.d.ts +0 -5035
- package/cli-bundle/protos/iam_service.js +0 -1
- package/cli-bundle/protos/iam_service.json +0 -1
- package/cli-bundle/protos/locations.d.ts +0 -4060
- package/cli-bundle/protos/locations.js +0 -1
- package/cli-bundle/protos/locations.json +0 -1
- package/cli-bundle/protos/operations.d.ts +0 -4783
- package/cli-bundle/protos/operations.js +0 -1
- package/cli-bundle/protos/operations.json +0 -1
- package/cli-bundle/protos/status.json +0 -1
- package/cli-bundle/worker2.js +0 -174
|
@@ -1,115 +0,0 @@
|
|
|
1
|
-
// Protocol Buffers - Google's data interchange format
|
|
2
|
-
// Copyright 2008 Google Inc. All rights reserved.
|
|
3
|
-
// https://developers.google.com/protocol-buffers/
|
|
4
|
-
//
|
|
5
|
-
// Redistribution and use in source and binary forms, with or without
|
|
6
|
-
// modification, are permitted provided that the following conditions are
|
|
7
|
-
// met:
|
|
8
|
-
//
|
|
9
|
-
// * Redistributions of source code must retain the above copyright
|
|
10
|
-
// notice, this list of conditions and the following disclaimer.
|
|
11
|
-
// * Redistributions in binary form must reproduce the above
|
|
12
|
-
// copyright notice, this list of conditions and the following disclaimer
|
|
13
|
-
// in the documentation and/or other materials provided with the
|
|
14
|
-
// distribution.
|
|
15
|
-
// * Neither the name of Google Inc. nor the names of its
|
|
16
|
-
// contributors may be used to endorse or promote products derived from
|
|
17
|
-
// this software without specific prior written permission.
|
|
18
|
-
//
|
|
19
|
-
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
|
20
|
-
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
|
21
|
-
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
|
22
|
-
// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
|
23
|
-
// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
|
24
|
-
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
|
25
|
-
// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
|
26
|
-
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
|
27
|
-
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
28
|
-
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
29
|
-
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
30
|
-
|
|
31
|
-
syntax = "proto3";
|
|
32
|
-
|
|
33
|
-
package google.protobuf;
|
|
34
|
-
|
|
35
|
-
option cc_enable_arenas = true;
|
|
36
|
-
option go_package = "google.golang.org/protobuf/types/known/durationpb";
|
|
37
|
-
option java_package = "com.google.protobuf";
|
|
38
|
-
option java_outer_classname = "DurationProto";
|
|
39
|
-
option java_multiple_files = true;
|
|
40
|
-
option objc_class_prefix = "GPB";
|
|
41
|
-
option csharp_namespace = "Google.Protobuf.WellKnownTypes";
|
|
42
|
-
|
|
43
|
-
// A Duration represents a signed, fixed-length span of time represented
|
|
44
|
-
// as a count of seconds and fractions of seconds at nanosecond
|
|
45
|
-
// resolution. It is independent of any calendar and concepts like "day"
|
|
46
|
-
// or "month". It is related to Timestamp in that the difference between
|
|
47
|
-
// two Timestamp values is a Duration and it can be added or subtracted
|
|
48
|
-
// from a Timestamp. Range is approximately +-10,000 years.
|
|
49
|
-
//
|
|
50
|
-
// # Examples
|
|
51
|
-
//
|
|
52
|
-
// Example 1: Compute Duration from two Timestamps in pseudo code.
|
|
53
|
-
//
|
|
54
|
-
// Timestamp start = ...;
|
|
55
|
-
// Timestamp end = ...;
|
|
56
|
-
// Duration duration = ...;
|
|
57
|
-
//
|
|
58
|
-
// duration.seconds = end.seconds - start.seconds;
|
|
59
|
-
// duration.nanos = end.nanos - start.nanos;
|
|
60
|
-
//
|
|
61
|
-
// if (duration.seconds < 0 && duration.nanos > 0) {
|
|
62
|
-
// duration.seconds += 1;
|
|
63
|
-
// duration.nanos -= 1000000000;
|
|
64
|
-
// } else if (duration.seconds > 0 && duration.nanos < 0) {
|
|
65
|
-
// duration.seconds -= 1;
|
|
66
|
-
// duration.nanos += 1000000000;
|
|
67
|
-
// }
|
|
68
|
-
//
|
|
69
|
-
// Example 2: Compute Timestamp from Timestamp + Duration in pseudo code.
|
|
70
|
-
//
|
|
71
|
-
// Timestamp start = ...;
|
|
72
|
-
// Duration duration = ...;
|
|
73
|
-
// Timestamp end = ...;
|
|
74
|
-
//
|
|
75
|
-
// end.seconds = start.seconds + duration.seconds;
|
|
76
|
-
// end.nanos = start.nanos + duration.nanos;
|
|
77
|
-
//
|
|
78
|
-
// if (end.nanos < 0) {
|
|
79
|
-
// end.seconds -= 1;
|
|
80
|
-
// end.nanos += 1000000000;
|
|
81
|
-
// } else if (end.nanos >= 1000000000) {
|
|
82
|
-
// end.seconds += 1;
|
|
83
|
-
// end.nanos -= 1000000000;
|
|
84
|
-
// }
|
|
85
|
-
//
|
|
86
|
-
// Example 3: Compute Duration from datetime.timedelta in Python.
|
|
87
|
-
//
|
|
88
|
-
// td = datetime.timedelta(days=3, minutes=10)
|
|
89
|
-
// duration = Duration()
|
|
90
|
-
// duration.FromTimedelta(td)
|
|
91
|
-
//
|
|
92
|
-
// # JSON Mapping
|
|
93
|
-
//
|
|
94
|
-
// In JSON format, the Duration type is encoded as a string rather than an
|
|
95
|
-
// object, where the string ends in the suffix "s" (indicating seconds) and
|
|
96
|
-
// is preceded by the number of seconds, with nanoseconds expressed as
|
|
97
|
-
// fractional seconds. For example, 3 seconds with 0 nanoseconds should be
|
|
98
|
-
// encoded in JSON format as "3s", while 3 seconds and 1 nanosecond should
|
|
99
|
-
// be expressed in JSON format as "3.000000001s", and 3 seconds and 1
|
|
100
|
-
// microsecond should be expressed in JSON format as "3.000001s".
|
|
101
|
-
//
|
|
102
|
-
message Duration {
|
|
103
|
-
// Signed seconds of the span of time. Must be from -315,576,000,000
|
|
104
|
-
// to +315,576,000,000 inclusive. Note: these bounds are computed from:
|
|
105
|
-
// 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years
|
|
106
|
-
int64 seconds = 1;
|
|
107
|
-
|
|
108
|
-
// Signed fractions of a second at nanosecond resolution of the span
|
|
109
|
-
// of time. Durations less than one second are represented with a 0
|
|
110
|
-
// `seconds` field and a positive or negative `nanos` field. For durations
|
|
111
|
-
// of one second or more, a non-zero value for the `nanos` field must be
|
|
112
|
-
// of the same sign as the `seconds` field. Must be from -999,999,999
|
|
113
|
-
// to +999,999,999 inclusive.
|
|
114
|
-
int32 nanos = 2;
|
|
115
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
// Protocol Buffers - Google's data interchange format
|
|
2
|
-
// Copyright 2023 Google Inc. All rights reserved.
|
|
3
|
-
//
|
|
4
|
-
// Use of this source code is governed by a BSD-style
|
|
5
|
-
// license that can be found in the LICENSE file or at
|
|
6
|
-
// https://developers.google.com/open-source/licenses/bsd
|
|
7
|
-
|
|
8
|
-
syntax = "proto2";
|
|
9
|
-
|
|
10
|
-
package protobuf_editions_test.proto2;
|
|
11
|
-
|
|
12
|
-
enum Proto2Enum {
|
|
13
|
-
BAR = 1;
|
|
14
|
-
BAZ = 2;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
message Proto2EnumMessage {
|
|
18
|
-
optional Proto2Enum enum_field = 1;
|
|
19
|
-
optional Proto2Enum enum_field_default = 2 [default = BAZ];
|
|
20
|
-
enum Proto2NestedEnum {
|
|
21
|
-
FOO = 1;
|
|
22
|
-
BAT = 2;
|
|
23
|
-
}
|
|
24
|
-
optional Proto2NestedEnum nested_enum_field = 3;
|
|
25
|
-
optional Proto2NestedEnum nested_enum_field_default = 4 [default = BAT];
|
|
26
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
// Protocol Buffers - Google's data interchange format
|
|
2
|
-
// Copyright 2023 Google Inc. All rights reserved.
|
|
3
|
-
//
|
|
4
|
-
// Use of this source code is governed by a BSD-style
|
|
5
|
-
// license that can be found in the LICENSE file or at
|
|
6
|
-
// https://developers.google.com/open-source/licenses/bsd
|
|
7
|
-
|
|
8
|
-
syntax = "proto2";
|
|
9
|
-
|
|
10
|
-
package protobuf_editions_test.proto2;
|
|
11
|
-
|
|
12
|
-
// LINT: ALLOW_GROUPS
|
|
13
|
-
|
|
14
|
-
message Proto2Group {
|
|
15
|
-
optional group Groupfield = 2 {
|
|
16
|
-
optional int32 int32_field = 1;
|
|
17
|
-
}
|
|
18
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
// Protocol Buffers - Google's data interchange format
|
|
2
|
-
// Copyright 2023 Google Inc. All rights reserved.
|
|
3
|
-
//
|
|
4
|
-
// Use of this source code is governed by a BSD-style
|
|
5
|
-
// license that can be found in the LICENSE file or at
|
|
6
|
-
// https://developers.google.com/open-source/licenses/bsd
|
|
7
|
-
|
|
8
|
-
syntax = "proto2";
|
|
9
|
-
|
|
10
|
-
package protobuf_editions_test.proto2;
|
|
11
|
-
|
|
12
|
-
import "google/protobuf/editions/codegen_tests/proto2_optional.proto";
|
|
13
|
-
|
|
14
|
-
message Proto2ImportMessage {
|
|
15
|
-
optional Proto2Optional sub_message_field = 1;
|
|
16
|
-
}
|
package/cli-bundle/protos/google/protobuf/editions/codegen_tests/proto2_inline_comments.proto
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
// This is a detached leading comment
|
|
2
|
-
//
|
|
3
|
-
// With a forced unwrapped line.
|
|
4
|
-
|
|
5
|
-
// File detached leading comment
|
|
6
|
-
|
|
7
|
-
// Syntax leading comment
|
|
8
|
-
syntax = "proto2"; // Syntax trailing comment
|
|
9
|
-
|
|
10
|
-
// Package leading comment
|
|
11
|
-
package protobuf_editions_test.proto2; // Package trailing comment
|
|
12
|
-
|
|
13
|
-
// Leading message comment
|
|
14
|
-
message Foo { // Message trailing comment
|
|
15
|
-
// Message inner comment
|
|
16
|
-
|
|
17
|
-
// Field leading comment
|
|
18
|
-
optional int32 field1 = 1; // Field trailing comment
|
|
19
|
-
|
|
20
|
-
optional /* card */ int32 /* type */ field2 /* name */ = 2 /* tag */;
|
|
21
|
-
|
|
22
|
-
// Message inner trailing comment
|
|
23
|
-
} // Message trailing comment
|
|
24
|
-
|
|
25
|
-
// Leading message comment
|
|
26
|
-
enum Bar { // Enum trailing comment
|
|
27
|
-
// Enum inner comment
|
|
28
|
-
|
|
29
|
-
// Enum value leading comment
|
|
30
|
-
BAR_UNKNOWN = 0; // Enum value trailing comment
|
|
31
|
-
|
|
32
|
-
// Enum inner trailing comment
|
|
33
|
-
} // Enum trailing comment
|
package/cli-bundle/protos/google/protobuf/editions/codegen_tests/proto2_multiline_comments.proto
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
syntax = "proto2";
|
|
2
|
-
|
|
3
|
-
package protobuf_editions_test.proto2;
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
Multiline message comment - no asterisk
|
|
7
|
-
*/
|
|
8
|
-
message Message1 {
|
|
9
|
-
/**
|
|
10
|
-
Multiline field comment - no asterisk
|
|
11
|
-
*/
|
|
12
|
-
optional string field = 1;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
/*
|
|
16
|
-
* Multiline message comment - single asterisk
|
|
17
|
-
*/
|
|
18
|
-
message Message2 {
|
|
19
|
-
/*
|
|
20
|
-
* Multiline message comment - single asterisk
|
|
21
|
-
*/
|
|
22
|
-
optional string field = 1;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
/**
|
|
26
|
-
* Exactly one trait must be set. Extension # is vendor_id + 1.
|
|
27
|
-
*/
|
|
28
|
-
message Message3 {
|
|
29
|
-
/**
|
|
30
|
-
* Exactly one trait must be set. Extension # is vendor_id + 1.
|
|
31
|
-
*/
|
|
32
|
-
optional string field = 1;
|
|
33
|
-
}
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
// Protocol Buffers - Google's data interchange format
|
|
2
|
-
// Copyright 2023 Google Inc. All rights reserved.
|
|
3
|
-
//
|
|
4
|
-
// Use of this source code is governed by a BSD-style
|
|
5
|
-
// license that can be found in the LICENSE file or at
|
|
6
|
-
// https://developers.google.com/open-source/licenses/bsd
|
|
7
|
-
|
|
8
|
-
syntax = "proto2";
|
|
9
|
-
|
|
10
|
-
package protobuf_editions_test.proto2;
|
|
11
|
-
|
|
12
|
-
message Proto2Optional {
|
|
13
|
-
optional int32 int32_field = 17;
|
|
14
|
-
optional float float_field = 18;
|
|
15
|
-
optional double double_field = 19;
|
|
16
|
-
optional int64 int64_field = 20;
|
|
17
|
-
optional uint32 uint32_field = 21;
|
|
18
|
-
optional uint64 uint64_field = 22;
|
|
19
|
-
optional sint32 sint32_field = 23;
|
|
20
|
-
optional sint64 sint64_field = 24;
|
|
21
|
-
optional fixed32 fixed32_field = 25;
|
|
22
|
-
optional fixed64 fixed64_field = 26;
|
|
23
|
-
optional sfixed32 sfixed32_field = 27;
|
|
24
|
-
optional sfixed64 sfixed64_field = 28;
|
|
25
|
-
optional bool bool_field = 29;
|
|
26
|
-
optional string string_field = 30;
|
|
27
|
-
optional bytes bytes_field = 31;
|
|
28
|
-
|
|
29
|
-
message SubMessage {
|
|
30
|
-
optional int32 int32_field = 17;
|
|
31
|
-
optional float float_field = 18;
|
|
32
|
-
optional double double_field = 19;
|
|
33
|
-
optional int64 int64_field = 20;
|
|
34
|
-
optional uint32 uint32_field = 21;
|
|
35
|
-
optional uint64 uint64_field = 22;
|
|
36
|
-
optional sint32 sint32_field = 23;
|
|
37
|
-
optional sint64 sint64_field = 24;
|
|
38
|
-
optional fixed32 fixed32_field = 25;
|
|
39
|
-
optional fixed64 fixed64_field = 26;
|
|
40
|
-
optional sfixed32 sfixed32_field = 27;
|
|
41
|
-
optional sfixed64 sfixed64_field = 28;
|
|
42
|
-
optional bool bool_field = 29;
|
|
43
|
-
optional string string_field = 30;
|
|
44
|
-
optional bytes bytes_field = 31;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
oneof oneof_field {
|
|
48
|
-
int32 int32_oneof_field = 152;
|
|
49
|
-
float float_oneof_field = 153;
|
|
50
|
-
double double_oneof_field = 154;
|
|
51
|
-
int64 int64_oneof_field = 155;
|
|
52
|
-
uint32 uint32_oneof_field = 156;
|
|
53
|
-
uint64 uint64_oneof_field = 157;
|
|
54
|
-
sint32 sint32_oneof_field = 158;
|
|
55
|
-
sint64 sint64_oneof_field = 159;
|
|
56
|
-
fixed32 fixed32_oneof_field = 160;
|
|
57
|
-
fixed64 fixed64_oneof_field = 161;
|
|
58
|
-
sfixed32 sfixed32_oneof_field = 162;
|
|
59
|
-
sfixed64 sfixed64_oneof_field = 163;
|
|
60
|
-
bool bool_oneof_field = 164;
|
|
61
|
-
string string_oneof_field = 165;
|
|
62
|
-
bytes bytes_oneof_field = 166;
|
|
63
|
-
}
|
|
64
|
-
optional SubMessage sub_message = 2;
|
|
65
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
// Protocol Buffers - Google's data interchange format
|
|
2
|
-
// Copyright 2023 Google Inc. All rights reserved.
|
|
3
|
-
//
|
|
4
|
-
// Use of this source code is governed by a BSD-style
|
|
5
|
-
// license that can be found in the LICENSE file or at
|
|
6
|
-
// https://developers.google.com/open-source/licenses/bsd
|
|
7
|
-
|
|
8
|
-
syntax = "proto2";
|
|
9
|
-
|
|
10
|
-
package protobuf_editions_test.proto2;
|
|
11
|
-
|
|
12
|
-
message Proto2Packed {
|
|
13
|
-
repeated int32 int32_field = 1 [packed = true];
|
|
14
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
// Protocol Buffers - Google's data interchange format
|
|
2
|
-
// Copyright 2023 Google Inc. All rights reserved.
|
|
3
|
-
//
|
|
4
|
-
// Use of this source code is governed by a BSD-style
|
|
5
|
-
// license that can be found in the LICENSE file or at
|
|
6
|
-
// https://developers.google.com/open-source/licenses/bsd
|
|
7
|
-
|
|
8
|
-
syntax = "proto2";
|
|
9
|
-
|
|
10
|
-
package protobuf_editions_test.proto2;
|
|
11
|
-
|
|
12
|
-
import "google/protobuf/editions/codegen_tests/proto3_enum.proto";
|
|
13
|
-
|
|
14
|
-
message Proto2ImportedEnumMessage {
|
|
15
|
-
optional protobuf_editions_test.proto3.Proto3Enum enum_field = 1;
|
|
16
|
-
optional protobuf_editions_test.proto3.Proto3Enum enum_field_default = 2
|
|
17
|
-
[default = BAZ];
|
|
18
|
-
}
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
// Protocol Buffers - Google's data interchange format
|
|
2
|
-
// Copyright 2023 Google Inc. All rights reserved.
|
|
3
|
-
//
|
|
4
|
-
// Use of this source code is governed by a BSD-style
|
|
5
|
-
// license that can be found in the LICENSE file or at
|
|
6
|
-
// https://developers.google.com/open-source/licenses/bsd
|
|
7
|
-
|
|
8
|
-
syntax = "proto2";
|
|
9
|
-
|
|
10
|
-
package protobuf_editions_test.proto2;
|
|
11
|
-
|
|
12
|
-
message Proto2Required {
|
|
13
|
-
required int32 int32_field = 17;
|
|
14
|
-
required float float_field = 18;
|
|
15
|
-
required double double_field = 19;
|
|
16
|
-
required int64 int64_field = 20;
|
|
17
|
-
required uint32 uint32_field = 21;
|
|
18
|
-
required uint64 uint64_field = 22;
|
|
19
|
-
required sint32 sint32_field = 23;
|
|
20
|
-
required sint64 sint64_field = 24;
|
|
21
|
-
required fixed32 fixed32_field = 25;
|
|
22
|
-
required fixed64 fixed64_field = 26;
|
|
23
|
-
required sfixed32 sfixed32_field = 27;
|
|
24
|
-
required sfixed64 sfixed64_field = 28;
|
|
25
|
-
required bool bool_field = 29;
|
|
26
|
-
required string string_field = 30;
|
|
27
|
-
required bytes bytes_field = 31;
|
|
28
|
-
|
|
29
|
-
message SubMessage {
|
|
30
|
-
required int32 int32_field = 17;
|
|
31
|
-
required float float_field = 18;
|
|
32
|
-
required double double_field = 19;
|
|
33
|
-
required int64 int64_field = 20;
|
|
34
|
-
required uint32 uint32_field = 21;
|
|
35
|
-
required uint64 uint64_field = 22;
|
|
36
|
-
required sint32 sint32_field = 23;
|
|
37
|
-
required sint64 sint64_field = 24;
|
|
38
|
-
required fixed32 fixed32_field = 25;
|
|
39
|
-
required fixed64 fixed64_field = 26;
|
|
40
|
-
required sfixed32 sfixed32_field = 27;
|
|
41
|
-
required sfixed64 sfixed64_field = 28;
|
|
42
|
-
required bool bool_field = 29;
|
|
43
|
-
required string string_field = 30;
|
|
44
|
-
required bytes bytes_field = 31;
|
|
45
|
-
}
|
|
46
|
-
required SubMessage sub_message = 2;
|
|
47
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
// Protocol Buffers - Google's data interchange format
|
|
2
|
-
// Copyright 2023 Google Inc. All rights reserved.
|
|
3
|
-
//
|
|
4
|
-
// Use of this source code is governed by a BSD-style
|
|
5
|
-
// license that can be found in the LICENSE file or at
|
|
6
|
-
// https://developers.google.com/open-source/licenses/bsd
|
|
7
|
-
|
|
8
|
-
syntax = "proto2";
|
|
9
|
-
|
|
10
|
-
package protobuf_editions_test.proto2;
|
|
11
|
-
|
|
12
|
-
message Proto2Unpacked {
|
|
13
|
-
repeated int32 int32_field = 1;
|
|
14
|
-
repeated string string_field = 2;
|
|
15
|
-
message SubMessage {
|
|
16
|
-
optional int32 int32_field = 1;
|
|
17
|
-
}
|
|
18
|
-
repeated SubMessage sub_message_field = 3;
|
|
19
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
// Protocol Buffers - Google's data interchange format
|
|
2
|
-
// Copyright 2023 Google Inc. All rights reserved.
|
|
3
|
-
//
|
|
4
|
-
// Use of this source code is governed by a BSD-style
|
|
5
|
-
// license that can be found in the LICENSE file or at
|
|
6
|
-
// https://developers.google.com/open-source/licenses/bsd
|
|
7
|
-
|
|
8
|
-
syntax = "proto2";
|
|
9
|
-
|
|
10
|
-
package protobuf_editions_test.proto2;
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
message Proto2Utf8Disabled {
|
|
14
|
-
optional string string_field = 1;
|
|
15
|
-
map<string, string> map_field = 2;
|
|
16
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
// Protocol Buffers - Google's data interchange format
|
|
2
|
-
// Copyright 2023 Google Inc. All rights reserved.
|
|
3
|
-
//
|
|
4
|
-
// Use of this source code is governed by a BSD-style
|
|
5
|
-
// license that can be found in the LICENSE file or at
|
|
6
|
-
// https://developers.google.com/open-source/licenses/bsd
|
|
7
|
-
|
|
8
|
-
syntax = "proto2";
|
|
9
|
-
|
|
10
|
-
package protobuf_editions_test.proto2;
|
|
11
|
-
|
|
12
|
-
option optimize_for = LITE_RUNTIME;
|
|
13
|
-
|
|
14
|
-
message Proto2Utf8Lite {
|
|
15
|
-
optional string string_field = 1;
|
|
16
|
-
map<string, string> map_field = 2;
|
|
17
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
// Protocol Buffers - Google's data interchange format
|
|
2
|
-
// Copyright 2023 Google Inc. All rights reserved.
|
|
3
|
-
//
|
|
4
|
-
// Use of this source code is governed by a BSD-style
|
|
5
|
-
// license that can be found in the LICENSE file or at
|
|
6
|
-
// https://developers.google.com/open-source/licenses/bsd
|
|
7
|
-
|
|
8
|
-
syntax = "proto2";
|
|
9
|
-
|
|
10
|
-
package protobuf_editions_test.proto2;
|
|
11
|
-
|
|
12
|
-
message Proto2Utf8Verify {
|
|
13
|
-
optional string string_field = 1;
|
|
14
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
// Protocol Buffers - Google's data interchange format
|
|
2
|
-
// Copyright 2023 Google Inc. All rights reserved.
|
|
3
|
-
//
|
|
4
|
-
// Use of this source code is governed by a BSD-style
|
|
5
|
-
// license that can be found in the LICENSE file or at
|
|
6
|
-
// https://developers.google.com/open-source/licenses/bsd
|
|
7
|
-
|
|
8
|
-
syntax = "proto3";
|
|
9
|
-
|
|
10
|
-
package protobuf_editions_test.proto3;
|
|
11
|
-
|
|
12
|
-
enum Proto3Enum {
|
|
13
|
-
UNKNOWN = 0;
|
|
14
|
-
BAR = 1;
|
|
15
|
-
BAZ = 2;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
message Proto3EnumMessage {
|
|
19
|
-
Proto3Enum enum_field = 1;
|
|
20
|
-
enum Proto3NestedEnum {
|
|
21
|
-
UNKNOWN = 0;
|
|
22
|
-
FOO = 1;
|
|
23
|
-
BAT = 2;
|
|
24
|
-
}
|
|
25
|
-
optional Proto3NestedEnum nested_enum_field = 3;
|
|
26
|
-
}
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
// Protocol Buffers - Google's data interchange format
|
|
2
|
-
// Copyright 2023 Google Inc. All rights reserved.
|
|
3
|
-
//
|
|
4
|
-
// Use of this source code is governed by a BSD-style
|
|
5
|
-
// license that can be found in the LICENSE file or at
|
|
6
|
-
// https://developers.google.com/open-source/licenses/bsd
|
|
7
|
-
|
|
8
|
-
syntax = "proto3";
|
|
9
|
-
|
|
10
|
-
package protobuf_editions_test.proto3;
|
|
11
|
-
|
|
12
|
-
message Proto3Implicit {
|
|
13
|
-
int32 int32_field = 17;
|
|
14
|
-
float float_field = 18;
|
|
15
|
-
double double_field = 19;
|
|
16
|
-
int64 int64_field = 20;
|
|
17
|
-
uint32 uint32_field = 21;
|
|
18
|
-
uint64 uint64_field = 22;
|
|
19
|
-
sint32 sint32_field = 23;
|
|
20
|
-
sint64 sint64_field = 24;
|
|
21
|
-
fixed32 fixed32_field = 25;
|
|
22
|
-
fixed64 fixed64_field = 26;
|
|
23
|
-
sfixed32 sfixed32_field = 27;
|
|
24
|
-
sfixed64 sfixed64_field = 28;
|
|
25
|
-
bool bool_field = 29;
|
|
26
|
-
string string_field = 30;
|
|
27
|
-
bytes bytes_field = 31;
|
|
28
|
-
|
|
29
|
-
message SubMessage {
|
|
30
|
-
int32 int32_field = 17;
|
|
31
|
-
float float_field = 18;
|
|
32
|
-
double double_field = 19;
|
|
33
|
-
int64 int64_field = 20;
|
|
34
|
-
uint32 uint32_field = 21;
|
|
35
|
-
uint64 uint64_field = 22;
|
|
36
|
-
sint32 sint32_field = 23;
|
|
37
|
-
sint64 sint64_field = 24;
|
|
38
|
-
fixed32 fixed32_field = 25;
|
|
39
|
-
fixed64 fixed64_field = 26;
|
|
40
|
-
sfixed32 sfixed32_field = 27;
|
|
41
|
-
sfixed64 sfixed64_field = 28;
|
|
42
|
-
bool bool_field = 29;
|
|
43
|
-
string string_field = 30;
|
|
44
|
-
bytes bytes = 31;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
oneof oneof_field {
|
|
48
|
-
int32 int32_oneof_field = 152;
|
|
49
|
-
float float_oneof_field = 153;
|
|
50
|
-
double double_oneof_field = 154;
|
|
51
|
-
int64 int64_oneof_field = 155;
|
|
52
|
-
uint32 uint32_oneof_field = 156;
|
|
53
|
-
uint64 uint64_oneof_field = 157;
|
|
54
|
-
sint32 sint32_oneof_field = 158;
|
|
55
|
-
sint64 sint64_oneof_field = 159;
|
|
56
|
-
fixed32 fixed32_oneof_field = 160;
|
|
57
|
-
fixed64 fixed64_oneof_field = 161;
|
|
58
|
-
sfixed32 sfixed32_oneof_field = 162;
|
|
59
|
-
sfixed64 sfixed64_oneof_field = 163;
|
|
60
|
-
bool bool_oneof_field = 164;
|
|
61
|
-
string string_oneof_field = 165;
|
|
62
|
-
bytes bytes_oneof_field = 166;
|
|
63
|
-
}
|
|
64
|
-
SubMessage sub_message = 2;
|
|
65
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
// Protocol Buffers - Google's data interchange format
|
|
2
|
-
// Copyright 2023 Google Inc. All rights reserved.
|
|
3
|
-
//
|
|
4
|
-
// Use of this source code is governed by a BSD-style
|
|
5
|
-
// license that can be found in the LICENSE file or at
|
|
6
|
-
// https://developers.google.com/open-source/licenses/bsd
|
|
7
|
-
|
|
8
|
-
syntax = "proto3";
|
|
9
|
-
|
|
10
|
-
package protobuf_editions_test.proto3;
|
|
11
|
-
|
|
12
|
-
import "google/protobuf/editions/codegen_tests/proto3_implicit.proto";
|
|
13
|
-
|
|
14
|
-
message Proto3ImportMessage {
|
|
15
|
-
Proto3Implicit sub_message_field = 1;
|
|
16
|
-
}
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
// Protocol Buffers - Google's data interchange format
|
|
2
|
-
// Copyright 2023 Google Inc. All rights reserved.
|
|
3
|
-
//
|
|
4
|
-
// Use of this source code is governed by a BSD-style
|
|
5
|
-
// license that can be found in the LICENSE file or at
|
|
6
|
-
// https://developers.google.com/open-source/licenses/bsd
|
|
7
|
-
|
|
8
|
-
syntax = "proto3";
|
|
9
|
-
|
|
10
|
-
package protobuf_editions_test.proto3;
|
|
11
|
-
|
|
12
|
-
message Proto3Optional {
|
|
13
|
-
optional int32 int32_field = 17;
|
|
14
|
-
optional float float_field = 18;
|
|
15
|
-
optional double double_field = 19;
|
|
16
|
-
optional int64 int64_field = 20;
|
|
17
|
-
optional uint32 uint32_field = 21;
|
|
18
|
-
optional uint64 uint64_field = 22;
|
|
19
|
-
optional sint32 sint32_field = 23;
|
|
20
|
-
optional sint64 sint64_field = 24;
|
|
21
|
-
optional fixed32 fixed32_field = 25;
|
|
22
|
-
optional fixed64 fixed64_field = 26;
|
|
23
|
-
optional sfixed32 sfixed32_field = 27;
|
|
24
|
-
optional sfixed64 sfixed64_field = 28;
|
|
25
|
-
optional bool bool_field = 29;
|
|
26
|
-
optional string string_field = 30;
|
|
27
|
-
optional bytes bytes_field = 31;
|
|
28
|
-
|
|
29
|
-
message SubMessage {
|
|
30
|
-
optional int32 int32_field = 17;
|
|
31
|
-
optional float float_field = 18;
|
|
32
|
-
optional double double_field = 19;
|
|
33
|
-
optional int64 int64_field = 20;
|
|
34
|
-
optional uint32 uint32_field = 21;
|
|
35
|
-
optional uint64 uint64_field = 22;
|
|
36
|
-
optional sint32 sint32_field = 23;
|
|
37
|
-
optional sint64 sint64_field = 24;
|
|
38
|
-
optional fixed32 fixed32_field = 25;
|
|
39
|
-
optional fixed64 fixed64_field = 26;
|
|
40
|
-
optional sfixed32 sfixed32_field = 27;
|
|
41
|
-
optional sfixed64 sfixed64_field = 28;
|
|
42
|
-
optional bool bool_field = 29;
|
|
43
|
-
optional string string_field = 30;
|
|
44
|
-
optional bytes bytes_field = 31;
|
|
45
|
-
}
|
|
46
|
-
optional SubMessage optional_message = 2;
|
|
47
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
// Protocol Buffers - Google's data interchange format
|
|
2
|
-
// Copyright 2023 Google Inc. All rights reserved.
|
|
3
|
-
//
|
|
4
|
-
// Use of this source code is governed by a BSD-style
|
|
5
|
-
// license that can be found in the LICENSE file or at
|
|
6
|
-
// https://developers.google.com/open-source/licenses/bsd
|
|
7
|
-
|
|
8
|
-
syntax = "proto3";
|
|
9
|
-
|
|
10
|
-
package protobuf_editions_test.proto3;
|
|
11
|
-
|
|
12
|
-
message Proto3Packed {
|
|
13
|
-
repeated int32 int32_field = 1;
|
|
14
|
-
repeated string string_field = 2;
|
|
15
|
-
message SubMessage {
|
|
16
|
-
int32 int32_field = 1;
|
|
17
|
-
}
|
|
18
|
-
repeated SubMessage sub_message_field = 3;
|
|
19
|
-
repeated int32 explicitly_packed = 4 [packed = true];
|
|
20
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
// Protocol Buffers - Google's data interchange format
|
|
2
|
-
// Copyright 2023 Google Inc. All rights reserved.
|
|
3
|
-
//
|
|
4
|
-
// Use of this source code is governed by a BSD-style
|
|
5
|
-
// license that can be found in the LICENSE file or at
|
|
6
|
-
// https://developers.google.com/open-source/licenses/bsd
|
|
7
|
-
|
|
8
|
-
syntax = "proto3";
|
|
9
|
-
|
|
10
|
-
package protobuf_editions_test.proto3;
|
|
11
|
-
|
|
12
|
-
message Proto3Unpacked {
|
|
13
|
-
repeated int32 int32_field = 1 [packed = false];
|
|
14
|
-
repeated string string_field = 2 [packed = false];
|
|
15
|
-
message SubMessage {
|
|
16
|
-
int32 int32_field = 1;
|
|
17
|
-
}
|
|
18
|
-
repeated SubMessage sub_message_field = 3 [packed = false];
|
|
19
|
-
}
|