@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.
Files changed (190) hide show
  1. package/cli-bundle/index.js +39174 -1835
  2. package/examples/submit/transactions/{alfajores-transactions.json → sepolia-transactions.json} +1 -1
  3. package/package.json +5 -5
  4. package/cli-bundle/798.index.js +0 -169715
  5. package/cli-bundle/proto/channelz.proto +0 -564
  6. package/cli-bundle/protos/compute_operations.d.ts +0 -7304
  7. package/cli-bundle/protos/compute_operations.js +0 -1
  8. package/cli-bundle/protos/compute_operations.json +0 -1
  9. package/cli-bundle/protos/google/api/annotations.proto +0 -31
  10. package/cli-bundle/protos/google/api/apikeys/v2/apikeys.proto +0 -288
  11. package/cli-bundle/protos/google/api/apikeys/v2/resources.proto +0 -175
  12. package/cli-bundle/protos/google/api/auth.proto +0 -237
  13. package/cli-bundle/protos/google/api/backend.proto +0 -185
  14. package/cli-bundle/protos/google/api/billing.proto +0 -77
  15. package/cli-bundle/protos/google/api/client.proto +0 -427
  16. package/cli-bundle/protos/google/api/cloudquotas/v1/cloudquotas.proto +0 -322
  17. package/cli-bundle/protos/google/api/cloudquotas/v1/resources.proto +0 -311
  18. package/cli-bundle/protos/google/api/config_change.proto +0 -84
  19. package/cli-bundle/protos/google/api/consumer.proto +0 -82
  20. package/cli-bundle/protos/google/api/context.proto +0 -90
  21. package/cli-bundle/protos/google/api/control.proto +0 -41
  22. package/cli-bundle/protos/google/api/distribution.proto +0 -213
  23. package/cli-bundle/protos/google/api/documentation.proto +0 -168
  24. package/cli-bundle/protos/google/api/endpoint.proto +0 -73
  25. package/cli-bundle/protos/google/api/error_reason.proto +0 -589
  26. package/cli-bundle/protos/google/api/expr/conformance/v1alpha1/conformance_service.proto +0 -183
  27. package/cli-bundle/protos/google/api/expr/v1alpha1/checked.proto +0 -343
  28. package/cli-bundle/protos/google/api/expr/v1alpha1/eval.proto +0 -118
  29. package/cli-bundle/protos/google/api/expr/v1alpha1/explain.proto +0 -53
  30. package/cli-bundle/protos/google/api/expr/v1alpha1/syntax.proto +0 -400
  31. package/cli-bundle/protos/google/api/expr/v1alpha1/value.proto +0 -115
  32. package/cli-bundle/protos/google/api/expr/v1beta1/decl.proto +0 -84
  33. package/cli-bundle/protos/google/api/expr/v1beta1/eval.proto +0 -125
  34. package/cli-bundle/protos/google/api/expr/v1beta1/expr.proto +0 -265
  35. package/cli-bundle/protos/google/api/expr/v1beta1/source.proto +0 -62
  36. package/cli-bundle/protos/google/api/expr/v1beta1/value.proto +0 -114
  37. package/cli-bundle/protos/google/api/field_behavior.proto +0 -104
  38. package/cli-bundle/protos/google/api/field_info.proto +0 -79
  39. package/cli-bundle/protos/google/api/http.proto +0 -379
  40. package/cli-bundle/protos/google/api/httpbody.proto +0 -81
  41. package/cli-bundle/protos/google/api/label.proto +0 -48
  42. package/cli-bundle/protos/google/api/launch_stage.proto +0 -72
  43. package/cli-bundle/protos/google/api/log.proto +0 -54
  44. package/cli-bundle/protos/google/api/logging.proto +0 -81
  45. package/cli-bundle/protos/google/api/metric.proto +0 -268
  46. package/cli-bundle/protos/google/api/monitored_resource.proto +0 -130
  47. package/cli-bundle/protos/google/api/monitoring.proto +0 -107
  48. package/cli-bundle/protos/google/api/policy.proto +0 -85
  49. package/cli-bundle/protos/google/api/quota.proto +0 -184
  50. package/cli-bundle/protos/google/api/resource.proto +0 -238
  51. package/cli-bundle/protos/google/api/routing.proto +0 -461
  52. package/cli-bundle/protos/google/api/service.proto +0 -191
  53. package/cli-bundle/protos/google/api/servicecontrol/v1/check_error.proto +0 -124
  54. package/cli-bundle/protos/google/api/servicecontrol/v1/distribution.proto +0 -166
  55. package/cli-bundle/protos/google/api/servicecontrol/v1/http_request.proto +0 -93
  56. package/cli-bundle/protos/google/api/servicecontrol/v1/log_entry.proto +0 -126
  57. package/cli-bundle/protos/google/api/servicecontrol/v1/metric_value.proto +0 -81
  58. package/cli-bundle/protos/google/api/servicecontrol/v1/operation.proto +0 -123
  59. package/cli-bundle/protos/google/api/servicecontrol/v1/quota_controller.proto +0 -245
  60. package/cli-bundle/protos/google/api/servicecontrol/v1/service_controller.proto +0 -260
  61. package/cli-bundle/protos/google/api/servicecontrol/v2/service_controller.proto +0 -196
  62. package/cli-bundle/protos/google/api/servicemanagement/v1/resources.proto +0 -295
  63. package/cli-bundle/protos/google/api/servicemanagement/v1/servicemanager.proto +0 -508
  64. package/cli-bundle/protos/google/api/serviceusage/v1/resources.proto +0 -130
  65. package/cli-bundle/protos/google/api/serviceusage/v1/serviceusage.proto +0 -305
  66. package/cli-bundle/protos/google/api/serviceusage/v1beta1/resources.proto +0 -458
  67. package/cli-bundle/protos/google/api/serviceusage/v1beta1/serviceusage.proto +0 -793
  68. package/cli-bundle/protos/google/api/source_info.proto +0 -31
  69. package/cli-bundle/protos/google/api/system_parameter.proto +0 -96
  70. package/cli-bundle/protos/google/api/usage.proto +0 -96
  71. package/cli-bundle/protos/google/api/visibility.proto +0 -113
  72. package/cli-bundle/protos/google/cloud/location/locations.proto +0 -108
  73. package/cli-bundle/protos/google/iam/v1/iam_policy.proto +0 -155
  74. package/cli-bundle/protos/google/iam/v1/logging/audit_data.proto +0 -33
  75. package/cli-bundle/protos/google/iam/v1/options.proto +0 -48
  76. package/cli-bundle/protos/google/iam/v1/policy.proto +0 -410
  77. package/cli-bundle/protos/google/logging/type/http_request.proto +0 -95
  78. package/cli-bundle/protos/google/logging/type/log_severity.proto +0 -71
  79. package/cli-bundle/protos/google/longrunning/operations.proto +0 -247
  80. package/cli-bundle/protos/google/monitoring/v3/alert.proto +0 -669
  81. package/cli-bundle/protos/google/monitoring/v3/alert_service.proto +0 -256
  82. package/cli-bundle/protos/google/monitoring/v3/common.proto +0 -488
  83. package/cli-bundle/protos/google/monitoring/v3/dropped_labels.proto +0 -46
  84. package/cli-bundle/protos/google/monitoring/v3/group.proto +0 -90
  85. package/cli-bundle/protos/google/monitoring/v3/group_service.proto +0 -290
  86. package/cli-bundle/protos/google/monitoring/v3/metric.proto +0 -239
  87. package/cli-bundle/protos/google/monitoring/v3/metric_service.proto +0 -522
  88. package/cli-bundle/protos/google/monitoring/v3/mutation_record.proto +0 -36
  89. package/cli-bundle/protos/google/monitoring/v3/notification.proto +0 -195
  90. package/cli-bundle/protos/google/monitoring/v3/notification_service.proto +0 -448
  91. package/cli-bundle/protos/google/monitoring/v3/query_service.proto +0 -48
  92. package/cli-bundle/protos/google/monitoring/v3/service.proto +0 -457
  93. package/cli-bundle/protos/google/monitoring/v3/service_service.proto +0 -352
  94. package/cli-bundle/protos/google/monitoring/v3/snooze.proto +0 -78
  95. package/cli-bundle/protos/google/monitoring/v3/snooze_service.proto +0 -210
  96. package/cli-bundle/protos/google/monitoring/v3/span_context.proto +0 -45
  97. package/cli-bundle/protos/google/monitoring/v3/uptime.proto +0 -564
  98. package/cli-bundle/protos/google/monitoring/v3/uptime_service.proto +0 -259
  99. package/cli-bundle/protos/google/protobuf/any.proto +0 -162
  100. package/cli-bundle/protos/google/protobuf/api.proto +0 -207
  101. package/cli-bundle/protos/google/protobuf/bridge/message_set.proto +0 -76
  102. package/cli-bundle/protos/google/protobuf/compiler/plugin.proto +0 -180
  103. package/cli-bundle/protos/google/protobuf/compiler/ruby/ruby_generated_code.proto +0 -77
  104. package/cli-bundle/protos/google/protobuf/compiler/ruby/ruby_generated_code_proto2.proto +0 -78
  105. package/cli-bundle/protos/google/protobuf/compiler/ruby/ruby_generated_code_proto2_import.proto +0 -12
  106. package/cli-bundle/protos/google/protobuf/compiler/ruby/ruby_generated_pkg_explicit.proto +0 -16
  107. package/cli-bundle/protos/google/protobuf/compiler/ruby/ruby_generated_pkg_explicit_legacy.proto +0 -16
  108. package/cli-bundle/protos/google/protobuf/compiler/ruby/ruby_generated_pkg_implicit.proto +0 -14
  109. package/cli-bundle/protos/google/protobuf/cpp_features.proto +0 -45
  110. package/cli-bundle/protos/google/protobuf/descriptor.proto +0 -1225
  111. package/cli-bundle/protos/google/protobuf/duration.proto +0 -115
  112. package/cli-bundle/protos/google/protobuf/editions/codegen_tests/proto2_enum.proto +0 -26
  113. package/cli-bundle/protos/google/protobuf/editions/codegen_tests/proto2_group.proto +0 -18
  114. package/cli-bundle/protos/google/protobuf/editions/codegen_tests/proto2_import.proto +0 -16
  115. package/cli-bundle/protos/google/protobuf/editions/codegen_tests/proto2_inline_comments.proto +0 -33
  116. package/cli-bundle/protos/google/protobuf/editions/codegen_tests/proto2_multiline_comments.proto +0 -33
  117. package/cli-bundle/protos/google/protobuf/editions/codegen_tests/proto2_optional.proto +0 -65
  118. package/cli-bundle/protos/google/protobuf/editions/codegen_tests/proto2_packed.proto +0 -14
  119. package/cli-bundle/protos/google/protobuf/editions/codegen_tests/proto2_proto3_enum.proto +0 -18
  120. package/cli-bundle/protos/google/protobuf/editions/codegen_tests/proto2_required.proto +0 -47
  121. package/cli-bundle/protos/google/protobuf/editions/codegen_tests/proto2_unpacked.proto +0 -19
  122. package/cli-bundle/protos/google/protobuf/editions/codegen_tests/proto2_utf8_disabled.proto +0 -16
  123. package/cli-bundle/protos/google/protobuf/editions/codegen_tests/proto2_utf8_lite.proto +0 -17
  124. package/cli-bundle/protos/google/protobuf/editions/codegen_tests/proto2_utf8_verify.proto +0 -14
  125. package/cli-bundle/protos/google/protobuf/editions/codegen_tests/proto3_enum.proto +0 -26
  126. package/cli-bundle/protos/google/protobuf/editions/codegen_tests/proto3_implicit.proto +0 -65
  127. package/cli-bundle/protos/google/protobuf/editions/codegen_tests/proto3_import.proto +0 -16
  128. package/cli-bundle/protos/google/protobuf/editions/codegen_tests/proto3_optional.proto +0 -47
  129. package/cli-bundle/protos/google/protobuf/editions/codegen_tests/proto3_packed.proto +0 -20
  130. package/cli-bundle/protos/google/protobuf/editions/codegen_tests/proto3_unpacked.proto +0 -19
  131. package/cli-bundle/protos/google/protobuf/editions/codegen_tests/proto3_utf8_strict.proto +0 -15
  132. package/cli-bundle/protos/google/protobuf/editions/golden/editions_transform_proto2.proto +0 -129
  133. package/cli-bundle/protos/google/protobuf/editions/golden/editions_transform_proto2_lite.proto +0 -19
  134. package/cli-bundle/protos/google/protobuf/editions/golden/editions_transform_proto2_utf8_disabled.proto +0 -18
  135. package/cli-bundle/protos/google/protobuf/editions/golden/editions_transform_proto3.proto +0 -32
  136. package/cli-bundle/protos/google/protobuf/editions/golden/editions_transform_proto3_utf8_disabled.proto +0 -18
  137. package/cli-bundle/protos/google/protobuf/editions/golden/simple_proto2.proto +0 -14
  138. package/cli-bundle/protos/google/protobuf/editions/golden/simple_proto2_import.proto +0 -16
  139. package/cli-bundle/protos/google/protobuf/editions/golden/simple_proto3.proto +0 -14
  140. package/cli-bundle/protos/google/protobuf/editions/proto/editions_transform_proto2.proto +0 -91
  141. package/cli-bundle/protos/google/protobuf/editions/proto/editions_transform_proto2_lite.proto +0 -20
  142. package/cli-bundle/protos/google/protobuf/editions/proto/editions_transform_proto2_utf8_disabled.proto +0 -19
  143. package/cli-bundle/protos/google/protobuf/editions/proto/editions_transform_proto3.proto +0 -25
  144. package/cli-bundle/protos/google/protobuf/editions/proto/editions_transform_proto3_utf8_disabled.proto +0 -19
  145. package/cli-bundle/protos/google/protobuf/empty.proto +0 -51
  146. package/cli-bundle/protos/google/protobuf/field_mask.proto +0 -245
  147. package/cli-bundle/protos/google/protobuf/sample_messages_edition.proto +0 -427
  148. package/cli-bundle/protos/google/protobuf/source_context.proto +0 -48
  149. package/cli-bundle/protos/google/protobuf/struct.proto +0 -95
  150. package/cli-bundle/protos/google/protobuf/timestamp.proto +0 -144
  151. package/cli-bundle/protos/google/protobuf/type.proto +0 -193
  152. package/cli-bundle/protos/google/protobuf/util/json_format.proto +0 -116
  153. package/cli-bundle/protos/google/protobuf/util/json_format_proto3.proto +0 -301
  154. package/cli-bundle/protos/google/protobuf/wrappers.proto +0 -123
  155. package/cli-bundle/protos/google/rpc/code.proto +0 -186
  156. package/cli-bundle/protos/google/rpc/context/attribute_context.proto +0 -344
  157. package/cli-bundle/protos/google/rpc/context/audit_context.proto +0 -49
  158. package/cli-bundle/protos/google/rpc/error_details.proto +0 -285
  159. package/cli-bundle/protos/google/rpc/http.proto +0 -64
  160. package/cli-bundle/protos/google/rpc/status.proto +0 -49
  161. package/cli-bundle/protos/google/type/calendar_period.proto +0 -56
  162. package/cli-bundle/protos/google/type/color.proto +0 -174
  163. package/cli-bundle/protos/google/type/date.proto +0 -52
  164. package/cli-bundle/protos/google/type/datetime.proto +0 -104
  165. package/cli-bundle/protos/google/type/dayofweek.proto +0 -50
  166. package/cli-bundle/protos/google/type/decimal.proto +0 -95
  167. package/cli-bundle/protos/google/type/expr.proto +0 -73
  168. package/cli-bundle/protos/google/type/fraction.proto +0 -33
  169. package/cli-bundle/protos/google/type/interval.proto +0 -46
  170. package/cli-bundle/protos/google/type/latlng.proto +0 -37
  171. package/cli-bundle/protos/google/type/localized_text.proto +0 -36
  172. package/cli-bundle/protos/google/type/money.proto +0 -42
  173. package/cli-bundle/protos/google/type/month.proto +0 -65
  174. package/cli-bundle/protos/google/type/phone_number.proto +0 -113
  175. package/cli-bundle/protos/google/type/postal_address.proto +0 -134
  176. package/cli-bundle/protos/google/type/quaternion.proto +0 -94
  177. package/cli-bundle/protos/google/type/timeofday.proto +0 -44
  178. package/cli-bundle/protos/http.d.ts +0 -347
  179. package/cli-bundle/protos/http.js +0 -1
  180. package/cli-bundle/protos/iam_service.d.ts +0 -5035
  181. package/cli-bundle/protos/iam_service.js +0 -1
  182. package/cli-bundle/protos/iam_service.json +0 -1
  183. package/cli-bundle/protos/locations.d.ts +0 -4060
  184. package/cli-bundle/protos/locations.js +0 -1
  185. package/cli-bundle/protos/locations.json +0 -1
  186. package/cli-bundle/protos/operations.d.ts +0 -4783
  187. package/cli-bundle/protos/operations.js +0 -1
  188. package/cli-bundle/protos/operations.json +0 -1
  189. package/cli-bundle/protos/status.json +0 -1
  190. package/cli-bundle/worker2.js +0 -174
@@ -1,73 +0,0 @@
1
- // Copyright 2021 Google LLC
2
- //
3
- // Licensed under the Apache License, Version 2.0 (the "License");
4
- // you may not use this file except in compliance with the License.
5
- // You may obtain a copy of the License at
6
- //
7
- // http://www.apache.org/licenses/LICENSE-2.0
8
- //
9
- // Unless required by applicable law or agreed to in writing, software
10
- // distributed under the License is distributed on an "AS IS" BASIS,
11
- // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- // See the License for the specific language governing permissions and
13
- // limitations under the License.
14
-
15
- syntax = "proto3";
16
-
17
- package google.type;
18
-
19
- option go_package = "google.golang.org/genproto/googleapis/type/expr;expr";
20
- option java_multiple_files = true;
21
- option java_outer_classname = "ExprProto";
22
- option java_package = "com.google.type";
23
- option objc_class_prefix = "GTP";
24
-
25
- // Represents a textual expression in the Common Expression Language (CEL)
26
- // syntax. CEL is a C-like expression language. The syntax and semantics of CEL
27
- // are documented at https://github.com/google/cel-spec.
28
- //
29
- // Example (Comparison):
30
- //
31
- // title: "Summary size limit"
32
- // description: "Determines if a summary is less than 100 chars"
33
- // expression: "document.summary.size() < 100"
34
- //
35
- // Example (Equality):
36
- //
37
- // title: "Requestor is owner"
38
- // description: "Determines if requestor is the document owner"
39
- // expression: "document.owner == request.auth.claims.email"
40
- //
41
- // Example (Logic):
42
- //
43
- // title: "Public documents"
44
- // description: "Determine whether the document should be publicly visible"
45
- // expression: "document.type != 'private' && document.type != 'internal'"
46
- //
47
- // Example (Data Manipulation):
48
- //
49
- // title: "Notification string"
50
- // description: "Create a notification string with a timestamp."
51
- // expression: "'New message received at ' + string(document.create_time)"
52
- //
53
- // The exact variables and functions that may be referenced within an expression
54
- // are determined by the service that evaluates it. See the service
55
- // documentation for additional information.
56
- message Expr {
57
- // Textual representation of an expression in Common Expression Language
58
- // syntax.
59
- string expression = 1;
60
-
61
- // Optional. Title for the expression, i.e. a short string describing
62
- // its purpose. This can be used e.g. in UIs which allow to enter the
63
- // expression.
64
- string title = 2;
65
-
66
- // Optional. Description of the expression. This is a longer text which
67
- // describes the expression, e.g. when hovered over it in a UI.
68
- string description = 3;
69
-
70
- // Optional. String indicating the location of the expression for error
71
- // reporting, e.g. a file name and a position in the file.
72
- string location = 4;
73
- }
@@ -1,33 +0,0 @@
1
- // Copyright 2021 Google LLC
2
- //
3
- // Licensed under the Apache License, Version 2.0 (the "License");
4
- // you may not use this file except in compliance with the License.
5
- // You may obtain a copy of the License at
6
- //
7
- // http://www.apache.org/licenses/LICENSE-2.0
8
- //
9
- // Unless required by applicable law or agreed to in writing, software
10
- // distributed under the License is distributed on an "AS IS" BASIS,
11
- // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- // See the License for the specific language governing permissions and
13
- // limitations under the License.
14
-
15
- syntax = "proto3";
16
-
17
- package google.type;
18
-
19
- option go_package = "google.golang.org/genproto/googleapis/type/fraction;fraction";
20
- option java_multiple_files = true;
21
- option java_outer_classname = "FractionProto";
22
- option java_package = "com.google.type";
23
- option objc_class_prefix = "GTP";
24
-
25
- // Represents a fraction in terms of a numerator divided by a denominator.
26
- message Fraction {
27
- // The numerator in the fraction, e.g. 2 in 2/3.
28
- int64 numerator = 1;
29
-
30
- // The value by which the numerator is divided, e.g. 3 in 2/3. Must be
31
- // positive.
32
- int64 denominator = 2;
33
- }
@@ -1,46 +0,0 @@
1
- // Copyright 2021 Google LLC
2
- //
3
- // Licensed under the Apache License, Version 2.0 (the "License");
4
- // you may not use this file except in compliance with the License.
5
- // You may obtain a copy of the License at
6
- //
7
- // http://www.apache.org/licenses/LICENSE-2.0
8
- //
9
- // Unless required by applicable law or agreed to in writing, software
10
- // distributed under the License is distributed on an "AS IS" BASIS,
11
- // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- // See the License for the specific language governing permissions and
13
- // limitations under the License.
14
-
15
- syntax = "proto3";
16
-
17
- package google.type;
18
-
19
- import "google/protobuf/timestamp.proto";
20
-
21
- option cc_enable_arenas = true;
22
- option go_package = "google.golang.org/genproto/googleapis/type/interval;interval";
23
- option java_multiple_files = true;
24
- option java_outer_classname = "IntervalProto";
25
- option java_package = "com.google.type";
26
- option objc_class_prefix = "GTP";
27
-
28
- // Represents a time interval, encoded as a Timestamp start (inclusive) and a
29
- // Timestamp end (exclusive).
30
- //
31
- // The start must be less than or equal to the end.
32
- // When the start equals the end, the interval is empty (matches no time).
33
- // When both start and end are unspecified, the interval matches any time.
34
- message Interval {
35
- // Optional. Inclusive start of the interval.
36
- //
37
- // If specified, a Timestamp matching this interval will have to be the same
38
- // or after the start.
39
- google.protobuf.Timestamp start_time = 1;
40
-
41
- // Optional. Exclusive end of the interval.
42
- //
43
- // If specified, a Timestamp matching this interval will have to be before the
44
- // end.
45
- google.protobuf.Timestamp end_time = 2;
46
- }
@@ -1,37 +0,0 @@
1
- // Copyright 2021 Google LLC
2
- //
3
- // Licensed under the Apache License, Version 2.0 (the "License");
4
- // you may not use this file except in compliance with the License.
5
- // You may obtain a copy of the License at
6
- //
7
- // http://www.apache.org/licenses/LICENSE-2.0
8
- //
9
- // Unless required by applicable law or agreed to in writing, software
10
- // distributed under the License is distributed on an "AS IS" BASIS,
11
- // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- // See the License for the specific language governing permissions and
13
- // limitations under the License.
14
-
15
- syntax = "proto3";
16
-
17
- package google.type;
18
-
19
- option cc_enable_arenas = true;
20
- option go_package = "google.golang.org/genproto/googleapis/type/latlng;latlng";
21
- option java_multiple_files = true;
22
- option java_outer_classname = "LatLngProto";
23
- option java_package = "com.google.type";
24
- option objc_class_prefix = "GTP";
25
-
26
- // An object that represents a latitude/longitude pair. This is expressed as a
27
- // pair of doubles to represent degrees latitude and degrees longitude. Unless
28
- // specified otherwise, this must conform to the
29
- // <a href="http://www.unoosa.org/pdf/icg/2012/template/WGS_84.pdf">WGS84
30
- // standard</a>. Values must be within normalized ranges.
31
- message LatLng {
32
- // The latitude in degrees. It must be in the range [-90.0, +90.0].
33
- double latitude = 1;
34
-
35
- // The longitude in degrees. It must be in the range [-180.0, +180.0].
36
- double longitude = 2;
37
- }
@@ -1,36 +0,0 @@
1
- // Copyright 2021 Google LLC
2
- //
3
- // Licensed under the Apache License, Version 2.0 (the "License");
4
- // you may not use this file except in compliance with the License.
5
- // You may obtain a copy of the License at
6
- //
7
- // http://www.apache.org/licenses/LICENSE-2.0
8
- //
9
- // Unless required by applicable law or agreed to in writing, software
10
- // distributed under the License is distributed on an "AS IS" BASIS,
11
- // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- // See the License for the specific language governing permissions and
13
- // limitations under the License.
14
-
15
- syntax = "proto3";
16
-
17
- package google.type;
18
-
19
- option cc_enable_arenas = true;
20
- option go_package = "google.golang.org/genproto/googleapis/type/localized_text;localized_text";
21
- option java_multiple_files = true;
22
- option java_outer_classname = "LocalizedTextProto";
23
- option java_package = "com.google.type";
24
- option objc_class_prefix = "GTP";
25
-
26
- // Localized variant of a text in a particular language.
27
- message LocalizedText {
28
- // Localized string in the language corresponding to `language_code' below.
29
- string text = 1;
30
-
31
- // The text's BCP-47 language code, such as "en-US" or "sr-Latn".
32
- //
33
- // For more information, see
34
- // http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
35
- string language_code = 2;
36
- }
@@ -1,42 +0,0 @@
1
- // Copyright 2021 Google LLC
2
- //
3
- // Licensed under the Apache License, Version 2.0 (the "License");
4
- // you may not use this file except in compliance with the License.
5
- // You may obtain a copy of the License at
6
- //
7
- // http://www.apache.org/licenses/LICENSE-2.0
8
- //
9
- // Unless required by applicable law or agreed to in writing, software
10
- // distributed under the License is distributed on an "AS IS" BASIS,
11
- // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- // See the License for the specific language governing permissions and
13
- // limitations under the License.
14
-
15
- syntax = "proto3";
16
-
17
- package google.type;
18
-
19
- option cc_enable_arenas = true;
20
- option go_package = "google.golang.org/genproto/googleapis/type/money;money";
21
- option java_multiple_files = true;
22
- option java_outer_classname = "MoneyProto";
23
- option java_package = "com.google.type";
24
- option objc_class_prefix = "GTP";
25
-
26
- // Represents an amount of money with its currency type.
27
- message Money {
28
- // The three-letter currency code defined in ISO 4217.
29
- string currency_code = 1;
30
-
31
- // The whole units of the amount.
32
- // For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
33
- int64 units = 2;
34
-
35
- // Number of nano (10^-9) units of the amount.
36
- // The value must be between -999,999,999 and +999,999,999 inclusive.
37
- // If `units` is positive, `nanos` must be positive or zero.
38
- // If `units` is zero, `nanos` can be positive, zero, or negative.
39
- // If `units` is negative, `nanos` must be negative or zero.
40
- // For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
41
- int32 nanos = 3;
42
- }
@@ -1,65 +0,0 @@
1
- // Copyright 2021 Google LLC
2
- //
3
- // Licensed under the Apache License, Version 2.0 (the "License");
4
- // you may not use this file except in compliance with the License.
5
- // You may obtain a copy of the License at
6
- //
7
- // http://www.apache.org/licenses/LICENSE-2.0
8
- //
9
- // Unless required by applicable law or agreed to in writing, software
10
- // distributed under the License is distributed on an "AS IS" BASIS,
11
- // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- // See the License for the specific language governing permissions and
13
- // limitations under the License.
14
-
15
- syntax = "proto3";
16
-
17
- package google.type;
18
-
19
- option go_package = "google.golang.org/genproto/googleapis/type/month;month";
20
- option java_multiple_files = true;
21
- option java_outer_classname = "MonthProto";
22
- option java_package = "com.google.type";
23
- option objc_class_prefix = "GTP";
24
-
25
- // Represents a month in the Gregorian calendar.
26
- enum Month {
27
- // The unspecified month.
28
- MONTH_UNSPECIFIED = 0;
29
-
30
- // The month of January.
31
- JANUARY = 1;
32
-
33
- // The month of February.
34
- FEBRUARY = 2;
35
-
36
- // The month of March.
37
- MARCH = 3;
38
-
39
- // The month of April.
40
- APRIL = 4;
41
-
42
- // The month of May.
43
- MAY = 5;
44
-
45
- // The month of June.
46
- JUNE = 6;
47
-
48
- // The month of July.
49
- JULY = 7;
50
-
51
- // The month of August.
52
- AUGUST = 8;
53
-
54
- // The month of September.
55
- SEPTEMBER = 9;
56
-
57
- // The month of October.
58
- OCTOBER = 10;
59
-
60
- // The month of November.
61
- NOVEMBER = 11;
62
-
63
- // The month of December.
64
- DECEMBER = 12;
65
- }
@@ -1,113 +0,0 @@
1
- // Copyright 2021 Google LLC
2
- //
3
- // Licensed under the Apache License, Version 2.0 (the "License");
4
- // you may not use this file except in compliance with the License.
5
- // You may obtain a copy of the License at
6
- //
7
- // http://www.apache.org/licenses/LICENSE-2.0
8
- //
9
- // Unless required by applicable law or agreed to in writing, software
10
- // distributed under the License is distributed on an "AS IS" BASIS,
11
- // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- // See the License for the specific language governing permissions and
13
- // limitations under the License.
14
-
15
- syntax = "proto3";
16
-
17
- package google.type;
18
-
19
- option cc_enable_arenas = true;
20
- option go_package = "google.golang.org/genproto/googleapis/type/phone_number;phone_number";
21
- option java_multiple_files = true;
22
- option java_outer_classname = "PhoneNumberProto";
23
- option java_package = "com.google.type";
24
- option objc_class_prefix = "GTP";
25
-
26
- // An object representing a phone number, suitable as an API wire format.
27
- //
28
- // This representation:
29
- //
30
- // - should not be used for locale-specific formatting of a phone number, such
31
- // as "+1 (650) 253-0000 ext. 123"
32
- //
33
- // - is not designed for efficient storage
34
- // - may not be suitable for dialing - specialized libraries (see references)
35
- // should be used to parse the number for that purpose
36
- //
37
- // To do something meaningful with this number, such as format it for various
38
- // use-cases, convert it to an `i18n.phonenumbers.PhoneNumber` object first.
39
- //
40
- // For instance, in Java this would be:
41
- //
42
- // com.google.type.PhoneNumber wireProto =
43
- // com.google.type.PhoneNumber.newBuilder().build();
44
- // com.google.i18n.phonenumbers.Phonenumber.PhoneNumber phoneNumber =
45
- // PhoneNumberUtil.getInstance().parse(wireProto.getE164Number(), "ZZ");
46
- // if (!wireProto.getExtension().isEmpty()) {
47
- // phoneNumber.setExtension(wireProto.getExtension());
48
- // }
49
- //
50
- // Reference(s):
51
- // - https://github.com/google/libphonenumber
52
- message PhoneNumber {
53
- // An object representing a short code, which is a phone number that is
54
- // typically much shorter than regular phone numbers and can be used to
55
- // address messages in MMS and SMS systems, as well as for abbreviated dialing
56
- // (e.g. "Text 611 to see how many minutes you have remaining on your plan.").
57
- //
58
- // Short codes are restricted to a region and are not internationally
59
- // dialable, which means the same short code can exist in different regions,
60
- // with different usage and pricing, even if those regions share the same
61
- // country calling code (e.g. US and CA).
62
- message ShortCode {
63
- // Required. The BCP-47 region code of the location where calls to this
64
- // short code can be made, such as "US" and "BB".
65
- //
66
- // Reference(s):
67
- // - http://www.unicode.org/reports/tr35/#unicode_region_subtag
68
- string region_code = 1;
69
-
70
- // Required. The short code digits, without a leading plus ('+') or country
71
- // calling code, e.g. "611".
72
- string number = 2;
73
- }
74
-
75
- // Required. Either a regular number, or a short code. New fields may be
76
- // added to the oneof below in the future, so clients should ignore phone
77
- // numbers for which none of the fields they coded against are set.
78
- oneof kind {
79
- // The phone number, represented as a leading plus sign ('+'), followed by a
80
- // phone number that uses a relaxed ITU E.164 format consisting of the
81
- // country calling code (1 to 3 digits) and the subscriber number, with no
82
- // additional spaces or formatting, e.g.:
83
- // - correct: "+15552220123"
84
- // - incorrect: "+1 (555) 222-01234 x123".
85
- //
86
- // The ITU E.164 format limits the latter to 12 digits, but in practice not
87
- // all countries respect that, so we relax that restriction here.
88
- // National-only numbers are not allowed.
89
- //
90
- // References:
91
- // - https://www.itu.int/rec/T-REC-E.164-201011-I
92
- // - https://en.wikipedia.org/wiki/E.164.
93
- // - https://en.wikipedia.org/wiki/List_of_country_calling_codes
94
- string e164_number = 1;
95
-
96
- // A short code.
97
- //
98
- // Reference(s):
99
- // - https://en.wikipedia.org/wiki/Short_code
100
- ShortCode short_code = 2;
101
- }
102
-
103
- // The phone number's extension. The extension is not standardized in ITU
104
- // recommendations, except for being defined as a series of numbers with a
105
- // maximum length of 40 digits. Other than digits, some other dialing
106
- // characters such as ',' (indicating a wait) or '#' may be stored here.
107
- //
108
- // Note that no regions currently use extensions with short codes, so this
109
- // field is normally only set in conjunction with an E.164 number. It is held
110
- // separately from the E.164 number to allow for short code extensions in the
111
- // future.
112
- string extension = 3;
113
- }
@@ -1,134 +0,0 @@
1
- // Copyright 2021 Google LLC
2
- //
3
- // Licensed under the Apache License, Version 2.0 (the "License");
4
- // you may not use this file except in compliance with the License.
5
- // You may obtain a copy of the License at
6
- //
7
- // http://www.apache.org/licenses/LICENSE-2.0
8
- //
9
- // Unless required by applicable law or agreed to in writing, software
10
- // distributed under the License is distributed on an "AS IS" BASIS,
11
- // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- // See the License for the specific language governing permissions and
13
- // limitations under the License.
14
-
15
- syntax = "proto3";
16
-
17
- package google.type;
18
-
19
- option cc_enable_arenas = true;
20
- option go_package = "google.golang.org/genproto/googleapis/type/postaladdress;postaladdress";
21
- option java_multiple_files = true;
22
- option java_outer_classname = "PostalAddressProto";
23
- option java_package = "com.google.type";
24
- option objc_class_prefix = "GTP";
25
-
26
- // Represents a postal address, e.g. for postal delivery or payments addresses.
27
- // Given a postal address, a postal service can deliver items to a premise, P.O.
28
- // Box or similar.
29
- // It is not intended to model geographical locations (roads, towns,
30
- // mountains).
31
- //
32
- // In typical usage an address would be created via user input or from importing
33
- // existing data, depending on the type of process.
34
- //
35
- // Advice on address input / editing:
36
- // - Use an i18n-ready address widget such as
37
- // https://github.com/google/libaddressinput)
38
- // - Users should not be presented with UI elements for input or editing of
39
- // fields outside countries where that field is used.
40
- //
41
- // For more guidance on how to use this schema, please see:
42
- // https://support.google.com/business/answer/6397478
43
- message PostalAddress {
44
- // The schema revision of the `PostalAddress`. This must be set to 0, which is
45
- // the latest revision.
46
- //
47
- // All new revisions **must** be backward compatible with old revisions.
48
- int32 revision = 1;
49
-
50
- // Required. CLDR region code of the country/region of the address. This
51
- // is never inferred and it is up to the user to ensure the value is
52
- // correct. See http://cldr.unicode.org/ and
53
- // http://www.unicode.org/cldr/charts/30/supplemental/territory_information.html
54
- // for details. Example: "CH" for Switzerland.
55
- string region_code = 2;
56
-
57
- // Optional. BCP-47 language code of the contents of this address (if
58
- // known). This is often the UI language of the input form or is expected
59
- // to match one of the languages used in the address' country/region, or their
60
- // transliterated equivalents.
61
- // This can affect formatting in certain countries, but is not critical
62
- // to the correctness of the data and will never affect any validation or
63
- // other non-formatting related operations.
64
- //
65
- // If this value is not known, it should be omitted (rather than specifying a
66
- // possibly incorrect default).
67
- //
68
- // Examples: "zh-Hant", "ja", "ja-Latn", "en".
69
- string language_code = 3;
70
-
71
- // Optional. Postal code of the address. Not all countries use or require
72
- // postal codes to be present, but where they are used, they may trigger
73
- // additional validation with other parts of the address (e.g. state/zip
74
- // validation in the U.S.A.).
75
- string postal_code = 4;
76
-
77
- // Optional. Additional, country-specific, sorting code. This is not used
78
- // in most regions. Where it is used, the value is either a string like
79
- // "CEDEX", optionally followed by a number (e.g. "CEDEX 7"), or just a number
80
- // alone, representing the "sector code" (Jamaica), "delivery area indicator"
81
- // (Malawi) or "post office indicator" (e.g. Côte d'Ivoire).
82
- string sorting_code = 5;
83
-
84
- // Optional. Highest administrative subdivision which is used for postal
85
- // addresses of a country or region.
86
- // For example, this can be a state, a province, an oblast, or a prefecture.
87
- // Specifically, for Spain this is the province and not the autonomous
88
- // community (e.g. "Barcelona" and not "Catalonia").
89
- // Many countries don't use an administrative area in postal addresses. E.g.
90
- // in Switzerland this should be left unpopulated.
91
- string administrative_area = 6;
92
-
93
- // Optional. Generally refers to the city/town portion of the address.
94
- // Examples: US city, IT comune, UK post town.
95
- // In regions of the world where localities are not well defined or do not fit
96
- // into this structure well, leave locality empty and use address_lines.
97
- string locality = 7;
98
-
99
- // Optional. Sublocality of the address.
100
- // For example, this can be neighborhoods, boroughs, districts.
101
- string sublocality = 8;
102
-
103
- // Unstructured address lines describing the lower levels of an address.
104
- //
105
- // Because values in address_lines do not have type information and may
106
- // sometimes contain multiple values in a single field (e.g.
107
- // "Austin, TX"), it is important that the line order is clear. The order of
108
- // address lines should be "envelope order" for the country/region of the
109
- // address. In places where this can vary (e.g. Japan), address_language is
110
- // used to make it explicit (e.g. "ja" for large-to-small ordering and
111
- // "ja-Latn" or "en" for small-to-large). This way, the most specific line of
112
- // an address can be selected based on the language.
113
- //
114
- // The minimum permitted structural representation of an address consists
115
- // of a region_code with all remaining information placed in the
116
- // address_lines. It would be possible to format such an address very
117
- // approximately without geocoding, but no semantic reasoning could be
118
- // made about any of the address components until it was at least
119
- // partially resolved.
120
- //
121
- // Creating an address only containing a region_code and address_lines, and
122
- // then geocoding is the recommended way to handle completely unstructured
123
- // addresses (as opposed to guessing which parts of the address should be
124
- // localities or administrative areas).
125
- repeated string address_lines = 9;
126
-
127
- // Optional. The recipient at the address.
128
- // This field may, under certain circumstances, contain multiline information.
129
- // For example, it might contain "care of" information.
130
- repeated string recipients = 10;
131
-
132
- // Optional. The name of the organization at the address.
133
- string organization = 11;
134
- }