@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,15 +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 Proto3Utf8Strict {
|
|
13
|
-
string string_field = 1;
|
|
14
|
-
map<string, string> map_field = 10;
|
|
15
|
-
}
|
|
@@ -1,129 +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
|
-
edition = "2023";
|
|
9
|
-
|
|
10
|
-
// This file contains various edge cases we've collected from migrating real
|
|
11
|
-
// protos in order to lock down the transformations.
|
|
12
|
-
|
|
13
|
-
// LINT: ALLOW_GROUPS
|
|
14
|
-
|
|
15
|
-
package protobuf_editions_test;
|
|
16
|
-
|
|
17
|
-
import "net/proto/proto1_features.proto";
|
|
18
|
-
import "third_party/java_src/protobuf/current/java/com/google/protobuf/java_features.proto";
|
|
19
|
-
import "google/protobuf/cpp_features.proto";
|
|
20
|
-
import "google/protobuf/editions/proto/editions_transform_proto3.proto";
|
|
21
|
-
|
|
22
|
-
option features.repeated_field_encoding = EXPANDED;
|
|
23
|
-
option features.utf8_validation = NONE;
|
|
24
|
-
option java_multiple_files = true;
|
|
25
|
-
|
|
26
|
-
message EmptyMessage {
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
message EmptyMessage2 {
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
service EmptyService {
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
service BasicService {
|
|
36
|
-
rpc BasicMethod(EmptyMessage) returns (EmptyMessage) {}
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
// clang-format off
|
|
40
|
-
message UnformattedMessage {
|
|
41
|
-
int32 a = 1;
|
|
42
|
-
|
|
43
|
-
message Foo {
|
|
44
|
-
int32 a = 1;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
Foo foo = 2 [
|
|
48
|
-
features.message_encoding = DELIMITED
|
|
49
|
-
];
|
|
50
|
-
|
|
51
|
-
string string_piece_with_zero = 3 [
|
|
52
|
-
ctype = STRING_PIECE,
|
|
53
|
-
default = "ab\000c"
|
|
54
|
-
];
|
|
55
|
-
|
|
56
|
-
float long_float_name_wrapped = 4;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
// clang-format on
|
|
60
|
-
|
|
61
|
-
message ParentMessage {
|
|
62
|
-
message ExtendedMessage {
|
|
63
|
-
extensions 536860000 to 536869999 [
|
|
64
|
-
declaration = {
|
|
65
|
-
number: 536860000
|
|
66
|
-
full_name: ".protobuf_editions_test.extension"
|
|
67
|
-
type: ".protobuf_editions_test.EmptyMessage"
|
|
68
|
-
}
|
|
69
|
-
];
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
extend ParentMessage.ExtendedMessage {
|
|
74
|
-
EmptyMessage extension = 536860000;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
message TestMessage {
|
|
78
|
-
string string_field = 1;
|
|
79
|
-
map<string, string> string_map_field = 7;
|
|
80
|
-
repeated int32 int_field = 8;
|
|
81
|
-
repeated int32 int_field_packed = 9 [
|
|
82
|
-
features.repeated_field_encoding = PACKED,
|
|
83
|
-
features.(pb.proto1).legacy_packed = true
|
|
84
|
-
];
|
|
85
|
-
|
|
86
|
-
repeated int32 int_field_unpacked = 10;
|
|
87
|
-
repeated int32 options_strip_beginning = 4 [
|
|
88
|
-
/* inline comment */
|
|
89
|
-
debug_redact = true,
|
|
90
|
-
deprecated = false
|
|
91
|
-
];
|
|
92
|
-
|
|
93
|
-
repeated int32 options_strip_middle = 5 [
|
|
94
|
-
debug_redact = true,
|
|
95
|
-
deprecated = false
|
|
96
|
-
];
|
|
97
|
-
|
|
98
|
-
repeated int32 options_strip_end = 6 [
|
|
99
|
-
debug_redact = true,
|
|
100
|
-
deprecated = false
|
|
101
|
-
];
|
|
102
|
-
|
|
103
|
-
message OptionalGroup {
|
|
104
|
-
int32 a = 17;
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
OptionalGroup optionalgroup = 16 [
|
|
108
|
-
features.message_encoding = DELIMITED
|
|
109
|
-
];
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
enum TestEnum {
|
|
113
|
-
option features.enum_type = CLOSED;
|
|
114
|
-
|
|
115
|
-
FOO = 1; // Non-zero default
|
|
116
|
-
|
|
117
|
-
BAR = 2;
|
|
118
|
-
BAZ = 3;
|
|
119
|
-
NEG = -1; // Intentionally negative.
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
message TestOpenEnumMessage {
|
|
123
|
-
TestEnumProto3 open_enum_field = 1 [
|
|
124
|
-
features.(pb.cpp).legacy_closed_enum = true,
|
|
125
|
-
features.(pb.java).legacy_closed_enum = true
|
|
126
|
-
];
|
|
127
|
-
|
|
128
|
-
TestEnum closed_enum_field = 2;
|
|
129
|
-
}
|
package/cli-bundle/protos/google/protobuf/editions/golden/editions_transform_proto2_lite.proto
DELETED
|
@@ -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
|
-
edition = "2023";
|
|
9
|
-
|
|
10
|
-
package protobuf_editions_test;
|
|
11
|
-
|
|
12
|
-
option features.utf8_validation = NONE;
|
|
13
|
-
option optimize_for = LITE_RUNTIME;
|
|
14
|
-
|
|
15
|
-
message TestMessageLite {
|
|
16
|
-
string string_field = 1;
|
|
17
|
-
map<string, string> string_map_field = 4;
|
|
18
|
-
int32 int_field = 5;
|
|
19
|
-
}
|
|
@@ -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
|
-
edition = "2023";
|
|
9
|
-
|
|
10
|
-
package protobuf_editions_test;
|
|
11
|
-
|
|
12
|
-
option features.utf8_validation = NONE;
|
|
13
|
-
|
|
14
|
-
message TestMessageUtf8Disabled {
|
|
15
|
-
string string_field = 1;
|
|
16
|
-
map<string, string> string_map_field = 4;
|
|
17
|
-
int32 int_field = 5;
|
|
18
|
-
}
|
|
@@ -1,32 +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
|
-
edition = "2023";
|
|
9
|
-
|
|
10
|
-
package protobuf_editions_test;
|
|
11
|
-
|
|
12
|
-
import "net/proto/proto1_features.proto";
|
|
13
|
-
|
|
14
|
-
option features.field_presence = IMPLICIT;
|
|
15
|
-
|
|
16
|
-
enum TestEnumProto3 {
|
|
17
|
-
TEST_ENUM_PROTO3_UNKNOWN = 0;
|
|
18
|
-
TEST_ENUM_PROTO3_VALUE = 1;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
message TestMessageProto3 {
|
|
22
|
-
string string_field = 1;
|
|
23
|
-
map<string, string> string_map_field = 4;
|
|
24
|
-
repeated int32 int_field = 7;
|
|
25
|
-
repeated int32 int_field_packed = 8 [
|
|
26
|
-
features.(pb.proto1).legacy_packed = true
|
|
27
|
-
];
|
|
28
|
-
|
|
29
|
-
repeated int32 int_field_unpacked = 9 [
|
|
30
|
-
features.repeated_field_encoding = EXPANDED
|
|
31
|
-
];
|
|
32
|
-
}
|
|
@@ -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
|
-
edition = "2023";
|
|
9
|
-
|
|
10
|
-
package protobuf_editions_test;
|
|
11
|
-
|
|
12
|
-
option features.field_presence = IMPLICIT;
|
|
13
|
-
|
|
14
|
-
message TestMessageProto3 {
|
|
15
|
-
string string_field = 1;
|
|
16
|
-
map<string, string> string_map_field = 4;
|
|
17
|
-
repeated int32 int_field = 7;
|
|
18
|
-
}
|
|
@@ -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.golden;
|
|
11
|
-
|
|
12
|
-
message SimpleProto2 {
|
|
13
|
-
optional int32 int32_field = 1;
|
|
14
|
-
}
|
|
@@ -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.golden;
|
|
11
|
-
|
|
12
|
-
import "google/protobuf/editions/golden/simple_proto2.proto";
|
|
13
|
-
|
|
14
|
-
message AnotherMessage {
|
|
15
|
-
optional SimpleProto2 field = 1;
|
|
16
|
-
}
|
|
@@ -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 = "proto3";
|
|
9
|
-
|
|
10
|
-
package protobuf_editions_test.golden;
|
|
11
|
-
|
|
12
|
-
message SimpleProto3 {
|
|
13
|
-
optional int32 int32_field = 1;
|
|
14
|
-
}
|
|
@@ -1,91 +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
|
-
import "google/protobuf/editions/proto/editions_transform_proto3.proto";
|
|
11
|
-
|
|
12
|
-
// This file contains various edge cases we've collected from migrating real
|
|
13
|
-
// protos in order to lock down the transformations.
|
|
14
|
-
|
|
15
|
-
// LINT: ALLOW_GROUPS
|
|
16
|
-
|
|
17
|
-
package protobuf_editions_test;
|
|
18
|
-
|
|
19
|
-
option java_multiple_files = true;
|
|
20
|
-
option cc_enable_arenas = true;
|
|
21
|
-
|
|
22
|
-
message EmptyMessage {}
|
|
23
|
-
message EmptyMessage2 {}
|
|
24
|
-
|
|
25
|
-
service EmptyService {}
|
|
26
|
-
|
|
27
|
-
service BasicService {
|
|
28
|
-
rpc BasicMethod(EmptyMessage) returns (EmptyMessage) {}
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
// clang-format off
|
|
32
|
-
message UnformattedMessage{
|
|
33
|
-
optional int32 a=1 ;
|
|
34
|
-
optional group Foo = 2 { optional int32 a = 1; }
|
|
35
|
-
optional string string_piece_with_zero = 3 [ctype=STRING_PIECE,
|
|
36
|
-
default="ab\000c"];
|
|
37
|
-
optional float
|
|
38
|
-
long_float_name_wrapped = 4;
|
|
39
|
-
|
|
40
|
-
}
|
|
41
|
-
// clang-format on
|
|
42
|
-
|
|
43
|
-
message ParentMessage {
|
|
44
|
-
message ExtendedMessage {
|
|
45
|
-
extensions 536860000 to 536869999 [declaration = {
|
|
46
|
-
number: 536860000
|
|
47
|
-
full_name: ".protobuf_editions_test.extension"
|
|
48
|
-
type: ".protobuf_editions_test.EmptyMessage"
|
|
49
|
-
}];
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
extend ParentMessage.ExtendedMessage {
|
|
54
|
-
optional EmptyMessage extension = 536860000;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
message TestMessage {
|
|
58
|
-
optional string string_field = 1;
|
|
59
|
-
|
|
60
|
-
map<string, string> string_map_field = 7;
|
|
61
|
-
|
|
62
|
-
repeated int32 int_field = 8;
|
|
63
|
-
repeated int32 int_field_packed = 9 [packed = true];
|
|
64
|
-
repeated int32 int_field_unpacked = 10 [packed = false];
|
|
65
|
-
|
|
66
|
-
repeated int32 options_strip_beginning = 4 [
|
|
67
|
-
packed = false,
|
|
68
|
-
/* inline comment*/ debug_redact = true,
|
|
69
|
-
deprecated = false
|
|
70
|
-
];
|
|
71
|
-
repeated int32 options_strip_middle = 5
|
|
72
|
-
[debug_redact = true, packed = false, deprecated = false];
|
|
73
|
-
repeated int32 options_strip_end = 6
|
|
74
|
-
[debug_redact = true, deprecated = false, packed = false];
|
|
75
|
-
|
|
76
|
-
optional group OptionalGroup = 16 {
|
|
77
|
-
optional int32 a = 17;
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
enum TestEnum {
|
|
82
|
-
FOO = 1; // Non-zero default
|
|
83
|
-
BAR = 2;
|
|
84
|
-
BAZ = 3;
|
|
85
|
-
NEG = -1; // Intentionally negative.
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
message TestOpenEnumMessage {
|
|
89
|
-
optional TestEnumProto3 open_enum_field = 1;
|
|
90
|
-
optional TestEnum closed_enum_field = 2;
|
|
91
|
-
}
|
package/cli-bundle/protos/google/protobuf/editions/proto/editions_transform_proto2_lite.proto
DELETED
|
@@ -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 = "proto2";
|
|
9
|
-
|
|
10
|
-
package protobuf_editions_test;
|
|
11
|
-
|
|
12
|
-
option optimize_for = LITE_RUNTIME;
|
|
13
|
-
|
|
14
|
-
message TestMessageLite {
|
|
15
|
-
optional string string_field = 1;
|
|
16
|
-
|
|
17
|
-
map<string, string> string_map_field = 4;
|
|
18
|
-
|
|
19
|
-
optional int32 int_field = 5;
|
|
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 = "proto2";
|
|
9
|
-
|
|
10
|
-
package protobuf_editions_test;
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
message TestMessageUtf8Disabled {
|
|
14
|
-
optional string string_field = 1;
|
|
15
|
-
|
|
16
|
-
map<string, string> string_map_field = 4;
|
|
17
|
-
|
|
18
|
-
optional int32 int_field = 5;
|
|
19
|
-
}
|
|
@@ -1,25 +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;
|
|
11
|
-
|
|
12
|
-
enum TestEnumProto3 {
|
|
13
|
-
TEST_ENUM_PROTO3_UNKNOWN = 0;
|
|
14
|
-
TEST_ENUM_PROTO3_VALUE = 1;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
message TestMessageProto3 {
|
|
18
|
-
string string_field = 1;
|
|
19
|
-
|
|
20
|
-
map<string, string> string_map_field = 4;
|
|
21
|
-
|
|
22
|
-
repeated int32 int_field = 7;
|
|
23
|
-
repeated int32 int_field_packed = 8 [packed = true];
|
|
24
|
-
repeated int32 int_field_unpacked = 9 [packed = false];
|
|
25
|
-
}
|
|
@@ -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;
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
message TestMessageProto3 {
|
|
14
|
-
string string_field = 1;
|
|
15
|
-
|
|
16
|
-
map<string, string> string_map_field = 4;
|
|
17
|
-
|
|
18
|
-
repeated int32 int_field = 7;
|
|
19
|
-
}
|
|
@@ -1,51 +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 go_package = "google.golang.org/protobuf/types/known/emptypb";
|
|
36
|
-
option java_package = "com.google.protobuf";
|
|
37
|
-
option java_outer_classname = "EmptyProto";
|
|
38
|
-
option java_multiple_files = true;
|
|
39
|
-
option objc_class_prefix = "GPB";
|
|
40
|
-
option csharp_namespace = "Google.Protobuf.WellKnownTypes";
|
|
41
|
-
option cc_enable_arenas = true;
|
|
42
|
-
|
|
43
|
-
// A generic empty message that you can re-use to avoid defining duplicated
|
|
44
|
-
// empty messages in your APIs. A typical example is to use it as the request
|
|
45
|
-
// or the response type of an API method. For instance:
|
|
46
|
-
//
|
|
47
|
-
// service Foo {
|
|
48
|
-
// rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
|
|
49
|
-
// }
|
|
50
|
-
//
|
|
51
|
-
message Empty {}
|