30 Commits

Author SHA1 Message Date
ci viz model
83f446fbcf Latest publish 2026-07-15 14:05:41 +00:00
ci viz model
84613d68f2 Latest generation 2026-07-15 14:04:51 +00:00
ci viz model
004377bacd Latest generation 2026-06-30 07:30:58 +00:00
ci viz model
d5915053c5 Latest generation 2026-05-25 13:08:12 +00:00
ci viz model
748d1ae38a Latest generation 2026-05-11 08:33:30 +00:00
ci viz model
bce826caff Latest generation 2026-04-20 07:20:44 +00:00
ci viz model
5892c1290a Latest generation 2026-04-13 12:27:33 +00:00
ci viz model
a588a4d07c Latest generation 2026-04-07 12:19:15 +00:00
ci viz model
546c1fb356 Latest generation 2026-04-02 08:30:35 +00:00
ci viz model
c32e13a2b9 Latest generation 2026-04-01 09:25:21 +00:00
ci viz model
21d4fdae03 Latest generation 2026-04-01 09:24:21 +00:00
ci viz model
f94a54a111 Latest generation 2026-03-31 14:59:45 +00:00
ci viz model
5cfc5300a9 Latest generation 2026-02-27 14:46:08 +00:00
ci viz model
8e1303b230 Latest generation 2026-02-23 15:47:08 +00:00
ci viz model
f71189ee89 Latest generation 2026-01-16 14:54:00 +00:00
ci viz model
a6d90806ef Latest generation 2025-12-17 18:49:26 +00:00
ci viz model
fcc8eb938a Latest generation 2025-12-12 09:31:01 +00:00
ci viz model
a61eda07cb Latest generation 2025-12-09 11:13:04 +00:00
ci viz model
26aacfb4e9 Latest generation 2025-10-30 15:19:30 +00:00
ci viz model
ae01a62b32 Latest generation 2025-10-06 07:44:50 +00:00
ci viz model
4a232a1a94 Latest generation 2025-08-26 15:11:45 +00:00
ci viz model
374a693647 Latest generation 2025-08-25 13:12:41 +00:00
ci viz model
6face5a35b Latest generation 2025-08-21 14:45:32 +00:00
ci viz model
32b1712e53 Latest generation 2025-08-07 10:12:43 +00:00
ci viz model
5d2daef3d1 Latest generation 2025-07-28 14:34:22 +00:00
ci viz model
ef26488baa Latest generation 2025-06-13 13:42:01 +00:00
ci viz model
780e5af156 Latest generation 2025-05-06 11:17:05 +00:00
ci viz model
6262198709 Latest generation 2025-05-02 13:52:05 +00:00
ci viz model
a234c0245f Latest generation 2025-04-28 13:49:07 +00:00
ci viz model
22def648ed Latest generation 2025-04-08 08:12:34 +00:00
132 changed files with 20121 additions and 12130 deletions

View File

@@ -1,3 +1,3 @@
# CHANGELOG # CHANGELOG
Lib version: 1.11.0-SNAPSHOT-250407063311 Lib version: 1.15.0-SNAPSHOT-260715140418

View File

@@ -1,2 +1,70 @@
# Reflex Platform Dart SDK
This is the official **Dart SDK** for **Reflex Platform**. It provides client stubs for interacting with Reflex Platform APIs through **gRPC**.
## Usage
Import the SDK and set up the gRPC client:
```dart
import 'package:dart_core_sdk/proj.pbgrpc.dart';
import 'package:grpc/grpc.dart';
class AuthInterceptor extends ClientInterceptor {
final String token;
AuthInterceptor(this.token);
@override
ResponseFuture<R> interceptUnary<Q, R>(
ClientMethod<Q, R> method, Q request, CallOptions options, invoker) {
final newOptions = options.mergedWith(CallOptions(metadata: {
'Authorization': 'Bearer ',
}));
return invoker(method, request, newOptions);
}
}
void main() async {
final channel = ClientChannel(
'grpc.viz.dev.reflex-platform.com',
port: 443,
options: const ChannelOptions(credentials: ChannelCredentials.secure()),
);
final client = ProjectServiceClient(
channel,
interceptors: [AuthInterceptor('YOUR_TOKEN')],
);
final request = GetMyUIContextRequest();
final response = await client.getMyUIContext(request);
print("Response: \");
await channel.shutdown();
}
```
## gRPC Endpoint
The SDK connects to the following gRPC endpoint:
```
grpc.viz.dev.reflex-platform.com
```
## Example Flutter Application
A more complete **Flutter** application that demonstrates how to integrate the **Reflex Platform Dart SDK** is available. This serves as a reference implementation for using the SDK in a mobile application.
Repository: [Flutter RP Example](https://git.dev.reflex-platform.com/reflex-platform/flutter-rp-example)
## Additional Resources
For more information on using the Reflex Platform SDK, please refer to the [documentation](https://docs.viz.dev.reflex-platform.com).
## License
This SDK is licensed under **MIT License**.
# dart libs from visibility model proto files

View File

@@ -1,37 +1,40 @@
// This is a generated file - do not edit.
// //
// Generated code. Do not modify. // Generated from annotations.proto.
// source: annotations.proto
//
// @dart = 3.3 // @dart = 3.3
// ignore_for_file: annotate_overrides, camel_case_types, comment_references // ignore_for_file: annotate_overrides, camel_case_types, comment_references
// ignore_for_file: constant_identifier_names, library_prefixes // ignore_for_file: constant_identifier_names
// ignore_for_file: non_constant_identifier_names, prefer_final_fields // ignore_for_file: curly_braces_in_flow_control_structures
// ignore_for_file: unnecessary_import, unnecessary_this, unused_import // ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
// ignore_for_file: non_constant_identifier_names
import 'dart:core' as $core; import 'dart:core' as $core;
import 'package:protobuf/protobuf.dart' as $pb; import 'package:protobuf/protobuf.dart' as $pb;
import 'openapiv2.pb.dart' as $12; import 'openapiv2.pb.dart' as $0;
export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions; export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions;
class Annotations { class Annotations {
static final openapiv2Swagger = $pb.Extension<$12.Swagger>(_omitMessageNames ? '' : 'google.protobuf.FileOptions', _omitFieldNames ? '' : 'openapiv2Swagger', 1042, $pb.PbFieldType.OM, defaultOrMaker: $12.Swagger.getDefault, subBuilder: $12.Swagger.create); static final openapiv2Swagger = $pb.Extension<$0.Swagger>(_omitMessageNames ? '' : 'google.protobuf.FileOptions', _omitFieldNames ? '' : 'openapiv2Swagger', 1042, $pb.PbFieldType.OM, defaultOrMaker: $0.Swagger.getDefault, subBuilder: $0.Swagger.create);
static final openapiv2Operation = $pb.Extension<$12.Operation>(_omitMessageNames ? '' : 'google.protobuf.MethodOptions', _omitFieldNames ? '' : 'openapiv2Operation', 1042, $pb.PbFieldType.OM, defaultOrMaker: $12.Operation.getDefault, subBuilder: $12.Operation.create); static final openapiv2Operation = $pb.Extension<$0.Operation>(_omitMessageNames ? '' : 'google.protobuf.MethodOptions', _omitFieldNames ? '' : 'openapiv2Operation', 1042, $pb.PbFieldType.OM, defaultOrMaker: $0.Operation.getDefault, subBuilder: $0.Operation.create);
static final openapiv2Schema = $pb.Extension<$12.Schema>(_omitMessageNames ? '' : 'google.protobuf.MessageOptions', _omitFieldNames ? '' : 'openapiv2Schema', 1042, $pb.PbFieldType.OM, defaultOrMaker: $12.Schema.getDefault, subBuilder: $12.Schema.create); static final openapiv2Schema = $pb.Extension<$0.Schema>(_omitMessageNames ? '' : 'google.protobuf.MessageOptions', _omitFieldNames ? '' : 'openapiv2Schema', 1042, $pb.PbFieldType.OM, defaultOrMaker: $0.Schema.getDefault, subBuilder: $0.Schema.create);
static final openapiv2Tag = $pb.Extension<$12.Tag>(_omitMessageNames ? '' : 'google.protobuf.ServiceOptions', _omitFieldNames ? '' : 'openapiv2Tag', 1042, $pb.PbFieldType.OM, defaultOrMaker: $12.Tag.getDefault, subBuilder: $12.Tag.create); static final openapiv2Enum = $pb.Extension<$0.EnumSchema>(_omitMessageNames ? '' : 'google.protobuf.EnumOptions', _omitFieldNames ? '' : 'openapiv2Enum', 1042, $pb.PbFieldType.OM, defaultOrMaker: $0.EnumSchema.getDefault, subBuilder: $0.EnumSchema.create);
static final openapiv2Field = $pb.Extension<$12.JSONSchema>(_omitMessageNames ? '' : 'google.protobuf.FieldOptions', _omitFieldNames ? '' : 'openapiv2Field', 1042, $pb.PbFieldType.OM, defaultOrMaker: $12.JSONSchema.getDefault, subBuilder: $12.JSONSchema.create); static final openapiv2Tag = $pb.Extension<$0.Tag>(_omitMessageNames ? '' : 'google.protobuf.ServiceOptions', _omitFieldNames ? '' : 'openapiv2Tag', 1042, $pb.PbFieldType.OM, defaultOrMaker: $0.Tag.getDefault, subBuilder: $0.Tag.create);
static final openapiv2Field = $pb.Extension<$0.JSONSchema>(_omitMessageNames ? '' : 'google.protobuf.FieldOptions', _omitFieldNames ? '' : 'openapiv2Field', 1042, $pb.PbFieldType.OM, defaultOrMaker: $0.JSONSchema.getDefault, subBuilder: $0.JSONSchema.create);
static void registerAllExtensions($pb.ExtensionRegistry registry) { static void registerAllExtensions($pb.ExtensionRegistry registry) {
registry.add(openapiv2Swagger); registry.add(openapiv2Swagger);
registry.add(openapiv2Operation); registry.add(openapiv2Operation);
registry.add(openapiv2Schema); registry.add(openapiv2Schema);
registry.add(openapiv2Enum);
registry.add(openapiv2Tag); registry.add(openapiv2Tag);
registry.add(openapiv2Field); registry.add(openapiv2Field);
} }
} }
const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); const $core.bool _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names');
const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); const $core.bool _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names');

View File

@@ -1,11 +1,12 @@
// This is a generated file - do not edit.
// //
// Generated code. Do not modify. // Generated from annotations.proto.
// source: annotations.proto
//
// @dart = 3.3 // @dart = 3.3
// ignore_for_file: annotate_overrides, camel_case_types, comment_references // ignore_for_file: annotate_overrides, camel_case_types, comment_references
// ignore_for_file: constant_identifier_names, library_prefixes // ignore_for_file: constant_identifier_names
// ignore_for_file: non_constant_identifier_names, prefer_final_fields // ignore_for_file: curly_braces_in_flow_control_structures
// ignore_for_file: unnecessary_import, unnecessary_this, unused_import // ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
// ignore_for_file: non_constant_identifier_names

View File

@@ -1,13 +1,14 @@
// This is a generated file - do not edit.
// //
// Generated code. Do not modify. // Generated from annotations.proto.
// source: annotations.proto
//
// @dart = 3.3 // @dart = 3.3
// ignore_for_file: annotate_overrides, camel_case_types, comment_references // ignore_for_file: annotate_overrides, camel_case_types, comment_references
// ignore_for_file: constant_identifier_names, library_prefixes // ignore_for_file: constant_identifier_names
// ignore_for_file: non_constant_identifier_names, prefer_final_fields // ignore_for_file: curly_braces_in_flow_control_structures
// ignore_for_file: unnecessary_import, unnecessary_this, unused_import // ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
// ignore_for_file: non_constant_identifier_names, unused_import
import 'dart:convert' as $convert; import 'dart:convert' as $convert;
import 'dart:core' as $core; import 'dart:core' as $core;

View File

@@ -0,0 +1,18 @@
// This is a generated file - do not edit.
//
// Generated from core/currencyCodes.proto.
// @dart = 3.3
// ignore_for_file: annotate_overrides, camel_case_types, comment_references
// ignore_for_file: constant_identifier_names
// ignore_for_file: curly_braces_in_flow_control_structures
// ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
// ignore_for_file: non_constant_identifier_names
import 'dart:core' as $core;
export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions;
export 'currencyCodes.pbenum.dart';

View File

@@ -0,0 +1,388 @@
// This is a generated file - do not edit.
//
// Generated from core/currencyCodes.proto.
// @dart = 3.3
// ignore_for_file: annotate_overrides, camel_case_types, comment_references
// ignore_for_file: constant_identifier_names
// ignore_for_file: curly_braces_in_flow_control_structures
// ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
// ignore_for_file: non_constant_identifier_names
import 'dart:core' as $core;
import 'package:protobuf/protobuf.dart' as $pb;
/// Currency codes as specified in ISO 4217
class Currency extends $pb.ProtobufEnum {
static const Currency XXX = Currency._(0, _omitEnumNames ? '' : 'XXX');
static const Currency XTS = Currency._(963, _omitEnumNames ? '' : 'XTS');
static const Currency ALL = Currency._(8, _omitEnumNames ? '' : 'ALL');
static const Currency DZD = Currency._(12, _omitEnumNames ? '' : 'DZD');
static const Currency ARS = Currency._(32, _omitEnumNames ? '' : 'ARS');
static const Currency AUD = Currency._(36, _omitEnumNames ? '' : 'AUD');
static const Currency BSD = Currency._(44, _omitEnumNames ? '' : 'BSD');
static const Currency BHD = Currency._(48, _omitEnumNames ? '' : 'BHD');
static const Currency BDT = Currency._(50, _omitEnumNames ? '' : 'BDT');
static const Currency AMD = Currency._(51, _omitEnumNames ? '' : 'AMD');
static const Currency BBD = Currency._(52, _omitEnumNames ? '' : 'BBD');
static const Currency BMD = Currency._(60, _omitEnumNames ? '' : 'BMD');
static const Currency BTN = Currency._(64, _omitEnumNames ? '' : 'BTN');
static const Currency BOB = Currency._(68, _omitEnumNames ? '' : 'BOB');
static const Currency BWP = Currency._(72, _omitEnumNames ? '' : 'BWP');
static const Currency BZD = Currency._(84, _omitEnumNames ? '' : 'BZD');
static const Currency SBD = Currency._(90, _omitEnumNames ? '' : 'SBD');
static const Currency BND = Currency._(96, _omitEnumNames ? '' : 'BND');
static const Currency MMK = Currency._(104, _omitEnumNames ? '' : 'MMK');
static const Currency BIF = Currency._(108, _omitEnumNames ? '' : 'BIF');
static const Currency KHR = Currency._(116, _omitEnumNames ? '' : 'KHR');
static const Currency CAD = Currency._(124, _omitEnumNames ? '' : 'CAD');
static const Currency CVE = Currency._(132, _omitEnumNames ? '' : 'CVE');
static const Currency KYD = Currency._(136, _omitEnumNames ? '' : 'KYD');
static const Currency LKR = Currency._(144, _omitEnumNames ? '' : 'LKR');
static const Currency CLP = Currency._(152, _omitEnumNames ? '' : 'CLP');
static const Currency CNY = Currency._(156, _omitEnumNames ? '' : 'CNY');
static const Currency COP = Currency._(170, _omitEnumNames ? '' : 'COP');
static const Currency KMF = Currency._(174, _omitEnumNames ? '' : 'KMF');
static const Currency CRC = Currency._(188, _omitEnumNames ? '' : 'CRC');
static const Currency HRK = Currency._(191, _omitEnumNames ? '' : 'HRK');
static const Currency CUP = Currency._(192, _omitEnumNames ? '' : 'CUP');
static const Currency CZK = Currency._(203, _omitEnumNames ? '' : 'CZK');
static const Currency DKK = Currency._(208, _omitEnumNames ? '' : 'DKK');
static const Currency DOP = Currency._(214, _omitEnumNames ? '' : 'DOP');
static const Currency SVC = Currency._(222, _omitEnumNames ? '' : 'SVC');
static const Currency ETB = Currency._(230, _omitEnumNames ? '' : 'ETB');
static const Currency ERN = Currency._(232, _omitEnumNames ? '' : 'ERN');
static const Currency FKP = Currency._(238, _omitEnumNames ? '' : 'FKP');
static const Currency FJD = Currency._(242, _omitEnumNames ? '' : 'FJD');
static const Currency DJF = Currency._(262, _omitEnumNames ? '' : 'DJF');
static const Currency GMD = Currency._(270, _omitEnumNames ? '' : 'GMD');
static const Currency GIP = Currency._(292, _omitEnumNames ? '' : 'GIP');
static const Currency GTQ = Currency._(320, _omitEnumNames ? '' : 'GTQ');
static const Currency GNF = Currency._(324, _omitEnumNames ? '' : 'GNF');
static const Currency GYD = Currency._(328, _omitEnumNames ? '' : 'GYD');
static const Currency HTG = Currency._(332, _omitEnumNames ? '' : 'HTG');
static const Currency HNL = Currency._(340, _omitEnumNames ? '' : 'HNL');
static const Currency HKD = Currency._(344, _omitEnumNames ? '' : 'HKD');
static const Currency HUF = Currency._(348, _omitEnumNames ? '' : 'HUF');
static const Currency ISK = Currency._(352, _omitEnumNames ? '' : 'ISK');
static const Currency INR = Currency._(356, _omitEnumNames ? '' : 'INR');
static const Currency IDR = Currency._(360, _omitEnumNames ? '' : 'IDR');
static const Currency IRR = Currency._(364, _omitEnumNames ? '' : 'IRR');
static const Currency IQD = Currency._(368, _omitEnumNames ? '' : 'IQD');
static const Currency ILS = Currency._(376, _omitEnumNames ? '' : 'ILS');
static const Currency JMD = Currency._(388, _omitEnumNames ? '' : 'JMD');
static const Currency JPY = Currency._(392, _omitEnumNames ? '' : 'JPY');
static const Currency KZT = Currency._(398, _omitEnumNames ? '' : 'KZT');
static const Currency JOD = Currency._(400, _omitEnumNames ? '' : 'JOD');
static const Currency KES = Currency._(404, _omitEnumNames ? '' : 'KES');
static const Currency KPW = Currency._(408, _omitEnumNames ? '' : 'KPW');
static const Currency KRW = Currency._(410, _omitEnumNames ? '' : 'KRW');
static const Currency KWD = Currency._(414, _omitEnumNames ? '' : 'KWD');
static const Currency KGS = Currency._(417, _omitEnumNames ? '' : 'KGS');
static const Currency LAK = Currency._(418, _omitEnumNames ? '' : 'LAK');
static const Currency LBP = Currency._(422, _omitEnumNames ? '' : 'LBP');
static const Currency LSL = Currency._(426, _omitEnumNames ? '' : 'LSL');
static const Currency LRD = Currency._(430, _omitEnumNames ? '' : 'LRD');
static const Currency LYD = Currency._(434, _omitEnumNames ? '' : 'LYD');
static const Currency LTL = Currency._(440, _omitEnumNames ? '' : 'LTL');
static const Currency MOP = Currency._(446, _omitEnumNames ? '' : 'MOP');
static const Currency MWK = Currency._(454, _omitEnumNames ? '' : 'MWK');
static const Currency MYR = Currency._(458, _omitEnumNames ? '' : 'MYR');
static const Currency MVR = Currency._(462, _omitEnumNames ? '' : 'MVR');
static const Currency MRO = Currency._(478, _omitEnumNames ? '' : 'MRO');
static const Currency MUR = Currency._(480, _omitEnumNames ? '' : 'MUR');
static const Currency MXN = Currency._(484, _omitEnumNames ? '' : 'MXN');
static const Currency MNT = Currency._(496, _omitEnumNames ? '' : 'MNT');
static const Currency MDL = Currency._(498, _omitEnumNames ? '' : 'MDL');
static const Currency MAD = Currency._(504, _omitEnumNames ? '' : 'MAD');
static const Currency OMR = Currency._(512, _omitEnumNames ? '' : 'OMR');
static const Currency NAD = Currency._(516, _omitEnumNames ? '' : 'NAD');
static const Currency NPR = Currency._(524, _omitEnumNames ? '' : 'NPR');
static const Currency ANG = Currency._(532, _omitEnumNames ? '' : 'ANG');
static const Currency AWG = Currency._(533, _omitEnumNames ? '' : 'AWG');
static const Currency VUV = Currency._(548, _omitEnumNames ? '' : 'VUV');
static const Currency NZD = Currency._(554, _omitEnumNames ? '' : 'NZD');
static const Currency NIO = Currency._(558, _omitEnumNames ? '' : 'NIO');
static const Currency NGN = Currency._(566, _omitEnumNames ? '' : 'NGN');
static const Currency NOK = Currency._(578, _omitEnumNames ? '' : 'NOK');
static const Currency PKR = Currency._(586, _omitEnumNames ? '' : 'PKR');
static const Currency PAB = Currency._(590, _omitEnumNames ? '' : 'PAB');
static const Currency PGK = Currency._(598, _omitEnumNames ? '' : 'PGK');
static const Currency PYG = Currency._(600, _omitEnumNames ? '' : 'PYG');
static const Currency PEN = Currency._(604, _omitEnumNames ? '' : 'PEN');
static const Currency PHP = Currency._(608, _omitEnumNames ? '' : 'PHP');
static const Currency QAR = Currency._(634, _omitEnumNames ? '' : 'QAR');
static const Currency RUB = Currency._(643, _omitEnumNames ? '' : 'RUB');
static const Currency RWF = Currency._(646, _omitEnumNames ? '' : 'RWF');
static const Currency SHP = Currency._(654, _omitEnumNames ? '' : 'SHP');
static const Currency STD = Currency._(678, _omitEnumNames ? '' : 'STD');
static const Currency SAR = Currency._(682, _omitEnumNames ? '' : 'SAR');
static const Currency SCR = Currency._(690, _omitEnumNames ? '' : 'SCR');
static const Currency SLL = Currency._(694, _omitEnumNames ? '' : 'SLL');
static const Currency SGD = Currency._(702, _omitEnumNames ? '' : 'SGD');
static const Currency VND = Currency._(704, _omitEnumNames ? '' : 'VND');
static const Currency SOS = Currency._(706, _omitEnumNames ? '' : 'SOS');
static const Currency ZAR = Currency._(710, _omitEnumNames ? '' : 'ZAR');
static const Currency SSP = Currency._(728, _omitEnumNames ? '' : 'SSP');
static const Currency SZL = Currency._(748, _omitEnumNames ? '' : 'SZL');
static const Currency SEK = Currency._(752, _omitEnumNames ? '' : 'SEK');
static const Currency CHF = Currency._(756, _omitEnumNames ? '' : 'CHF');
static const Currency SYP = Currency._(760, _omitEnumNames ? '' : 'SYP');
static const Currency THB = Currency._(764, _omitEnumNames ? '' : 'THB');
static const Currency TOP = Currency._(776, _omitEnumNames ? '' : 'TOP');
static const Currency TTD = Currency._(780, _omitEnumNames ? '' : 'TTD');
static const Currency AED = Currency._(784, _omitEnumNames ? '' : 'AED');
static const Currency TND = Currency._(788, _omitEnumNames ? '' : 'TND');
static const Currency UGX = Currency._(800, _omitEnumNames ? '' : 'UGX');
static const Currency MKD = Currency._(807, _omitEnumNames ? '' : 'MKD');
static const Currency EGP = Currency._(818, _omitEnumNames ? '' : 'EGP');
static const Currency GBP = Currency._(826, _omitEnumNames ? '' : 'GBP');
static const Currency TZS = Currency._(834, _omitEnumNames ? '' : 'TZS');
static const Currency USD = Currency._(840, _omitEnumNames ? '' : 'USD');
static const Currency UYU = Currency._(858, _omitEnumNames ? '' : 'UYU');
static const Currency UZS = Currency._(860, _omitEnumNames ? '' : 'UZS');
static const Currency WST = Currency._(882, _omitEnumNames ? '' : 'WST');
static const Currency YER = Currency._(886, _omitEnumNames ? '' : 'YER');
static const Currency TWD = Currency._(901, _omitEnumNames ? '' : 'TWD');
static const Currency CUC = Currency._(931, _omitEnumNames ? '' : 'CUC');
static const Currency ZWL = Currency._(932, _omitEnumNames ? '' : 'ZWL');
static const Currency TMT = Currency._(934, _omitEnumNames ? '' : 'TMT');
static const Currency GHS = Currency._(936, _omitEnumNames ? '' : 'GHS');
static const Currency VEF = Currency._(937, _omitEnumNames ? '' : 'VEF');
static const Currency SDG = Currency._(938, _omitEnumNames ? '' : 'SDG');
static const Currency UYI = Currency._(940, _omitEnumNames ? '' : 'UYI');
static const Currency RSD = Currency._(941, _omitEnumNames ? '' : 'RSD');
static const Currency MZN = Currency._(943, _omitEnumNames ? '' : 'MZN');
static const Currency AZN = Currency._(944, _omitEnumNames ? '' : 'AZN');
static const Currency RON = Currency._(946, _omitEnumNames ? '' : 'RON');
static const Currency CHE = Currency._(947, _omitEnumNames ? '' : 'CHE');
static const Currency CHW = Currency._(948, _omitEnumNames ? '' : 'CHW');
static const Currency TRY = Currency._(949, _omitEnumNames ? '' : 'TRY');
static const Currency XAF = Currency._(950, _omitEnumNames ? '' : 'XAF');
static const Currency XCD = Currency._(951, _omitEnumNames ? '' : 'XCD');
static const Currency XOF = Currency._(952, _omitEnumNames ? '' : 'XOF');
static const Currency XPF = Currency._(953, _omitEnumNames ? '' : 'XPF');
static const Currency XBA = Currency._(955, _omitEnumNames ? '' : 'XBA');
static const Currency XBB = Currency._(956, _omitEnumNames ? '' : 'XBB');
static const Currency XBC = Currency._(957, _omitEnumNames ? '' : 'XBC');
static const Currency XBD = Currency._(958, _omitEnumNames ? '' : 'XBD');
static const Currency XAU = Currency._(959, _omitEnumNames ? '' : 'XAU');
static const Currency XDR = Currency._(960, _omitEnumNames ? '' : 'XDR');
static const Currency XAG = Currency._(961, _omitEnumNames ? '' : 'XAG');
static const Currency XPT = Currency._(962, _omitEnumNames ? '' : 'XPT');
static const Currency XPD = Currency._(964, _omitEnumNames ? '' : 'XPD');
static const Currency XUA = Currency._(965, _omitEnumNames ? '' : 'XUA');
static const Currency ZMW = Currency._(967, _omitEnumNames ? '' : 'ZMW');
static const Currency SRD = Currency._(968, _omitEnumNames ? '' : 'SRD');
static const Currency MGA = Currency._(969, _omitEnumNames ? '' : 'MGA');
static const Currency COU = Currency._(970, _omitEnumNames ? '' : 'COU');
static const Currency AFN = Currency._(971, _omitEnumNames ? '' : 'AFN');
static const Currency TJS = Currency._(972, _omitEnumNames ? '' : 'TJS');
static const Currency AOA = Currency._(973, _omitEnumNames ? '' : 'AOA');
static const Currency BYR = Currency._(974, _omitEnumNames ? '' : 'BYR');
static const Currency BGN = Currency._(975, _omitEnumNames ? '' : 'BGN');
static const Currency CDF = Currency._(976, _omitEnumNames ? '' : 'CDF');
static const Currency BAM = Currency._(977, _omitEnumNames ? '' : 'BAM');
static const Currency EUR = Currency._(978, _omitEnumNames ? '' : 'EUR');
static const Currency MXV = Currency._(979, _omitEnumNames ? '' : 'MXV');
static const Currency UAH = Currency._(980, _omitEnumNames ? '' : 'UAH');
static const Currency GEL = Currency._(981, _omitEnumNames ? '' : 'GEL');
static const Currency BOV = Currency._(984, _omitEnumNames ? '' : 'BOV');
static const Currency PLN = Currency._(985, _omitEnumNames ? '' : 'PLN');
static const Currency BRL = Currency._(986, _omitEnumNames ? '' : 'BRL');
static const Currency CLF = Currency._(990, _omitEnumNames ? '' : 'CLF');
static const Currency XSU = Currency._(994, _omitEnumNames ? '' : 'XSU');
static const Currency USN = Currency._(997, _omitEnumNames ? '' : 'USN');
static const $core.List<Currency> values = <Currency> [
XXX,
XTS,
ALL,
DZD,
ARS,
AUD,
BSD,
BHD,
BDT,
AMD,
BBD,
BMD,
BTN,
BOB,
BWP,
BZD,
SBD,
BND,
MMK,
BIF,
KHR,
CAD,
CVE,
KYD,
LKR,
CLP,
CNY,
COP,
KMF,
CRC,
HRK,
CUP,
CZK,
DKK,
DOP,
SVC,
ETB,
ERN,
FKP,
FJD,
DJF,
GMD,
GIP,
GTQ,
GNF,
GYD,
HTG,
HNL,
HKD,
HUF,
ISK,
INR,
IDR,
IRR,
IQD,
ILS,
JMD,
JPY,
KZT,
JOD,
KES,
KPW,
KRW,
KWD,
KGS,
LAK,
LBP,
LSL,
LRD,
LYD,
LTL,
MOP,
MWK,
MYR,
MVR,
MRO,
MUR,
MXN,
MNT,
MDL,
MAD,
OMR,
NAD,
NPR,
ANG,
AWG,
VUV,
NZD,
NIO,
NGN,
NOK,
PKR,
PAB,
PGK,
PYG,
PEN,
PHP,
QAR,
RUB,
RWF,
SHP,
STD,
SAR,
SCR,
SLL,
SGD,
VND,
SOS,
ZAR,
SSP,
SZL,
SEK,
CHF,
SYP,
THB,
TOP,
TTD,
AED,
TND,
UGX,
MKD,
EGP,
GBP,
TZS,
USD,
UYU,
UZS,
WST,
YER,
TWD,
CUC,
ZWL,
TMT,
GHS,
VEF,
SDG,
UYI,
RSD,
MZN,
AZN,
RON,
CHE,
CHW,
TRY,
XAF,
XCD,
XOF,
XPF,
XBA,
XBB,
XBC,
XBD,
XAU,
XDR,
XAG,
XPT,
XPD,
XUA,
ZMW,
SRD,
MGA,
COU,
AFN,
TJS,
AOA,
BYR,
BGN,
CDF,
BAM,
EUR,
MXV,
UAH,
GEL,
BOV,
PLN,
BRL,
CLF,
XSU,
USN,
];
static final $core.Map<$core.int, Currency> _byValue = $pb.ProtobufEnum.initByValue(values);
static Currency? valueOf($core.int value) => _byValue[value];
const Currency._(super.value, super.name);
}
const $core.bool _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names');

View File

@@ -0,0 +1,306 @@
// This is a generated file - do not edit.
//
// Generated from core/currencyCodes.proto.
// @dart = 3.3
// ignore_for_file: annotate_overrides, camel_case_types, comment_references
// ignore_for_file: constant_identifier_names
// ignore_for_file: curly_braces_in_flow_control_structures
// ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
// ignore_for_file: non_constant_identifier_names, unused_import
import 'dart:convert' as $convert;
import 'dart:core' as $core;
import 'dart:typed_data' as $typed_data;
@$core.Deprecated('Use currencyDescriptor instead')
const Currency$json = {
'1': 'Currency',
'2': [
{'1': 'XXX', '2': 0, '3': {}},
{'1': 'XTS', '2': 963, '3': {}},
{'1': 'ALL', '2': 8, '3': {}},
{'1': 'DZD', '2': 12, '3': {}},
{'1': 'ARS', '2': 32, '3': {}},
{'1': 'AUD', '2': 36, '3': {}},
{'1': 'BSD', '2': 44, '3': {}},
{'1': 'BHD', '2': 48, '3': {}},
{'1': 'BDT', '2': 50, '3': {}},
{'1': 'AMD', '2': 51, '3': {}},
{'1': 'BBD', '2': 52, '3': {}},
{'1': 'BMD', '2': 60, '3': {}},
{'1': 'BTN', '2': 64, '3': {}},
{'1': 'BOB', '2': 68, '3': {}},
{'1': 'BWP', '2': 72, '3': {}},
{'1': 'BZD', '2': 84, '3': {}},
{'1': 'SBD', '2': 90, '3': {}},
{'1': 'BND', '2': 96, '3': {}},
{'1': 'MMK', '2': 104, '3': {}},
{'1': 'BIF', '2': 108, '3': {}},
{'1': 'KHR', '2': 116, '3': {}},
{'1': 'CAD', '2': 124, '3': {}},
{'1': 'CVE', '2': 132, '3': {}},
{'1': 'KYD', '2': 136, '3': {}},
{'1': 'LKR', '2': 144, '3': {}},
{'1': 'CLP', '2': 152, '3': {}},
{'1': 'CNY', '2': 156, '3': {}},
{'1': 'COP', '2': 170, '3': {}},
{'1': 'KMF', '2': 174, '3': {}},
{'1': 'CRC', '2': 188, '3': {}},
{'1': 'HRK', '2': 191, '3': {}},
{'1': 'CUP', '2': 192, '3': {}},
{'1': 'CZK', '2': 203, '3': {}},
{'1': 'DKK', '2': 208, '3': {}},
{'1': 'DOP', '2': 214, '3': {}},
{'1': 'SVC', '2': 222, '3': {}},
{'1': 'ETB', '2': 230, '3': {}},
{'1': 'ERN', '2': 232, '3': {}},
{'1': 'FKP', '2': 238, '3': {}},
{'1': 'FJD', '2': 242, '3': {}},
{'1': 'DJF', '2': 262, '3': {}},
{'1': 'GMD', '2': 270, '3': {}},
{'1': 'GIP', '2': 292, '3': {}},
{'1': 'GTQ', '2': 320, '3': {}},
{'1': 'GNF', '2': 324, '3': {}},
{'1': 'GYD', '2': 328, '3': {}},
{'1': 'HTG', '2': 332, '3': {}},
{'1': 'HNL', '2': 340, '3': {}},
{'1': 'HKD', '2': 344, '3': {}},
{'1': 'HUF', '2': 348, '3': {}},
{'1': 'ISK', '2': 352, '3': {}},
{'1': 'INR', '2': 356, '3': {}},
{'1': 'IDR', '2': 360, '3': {}},
{'1': 'IRR', '2': 364, '3': {}},
{'1': 'IQD', '2': 368, '3': {}},
{'1': 'ILS', '2': 376, '3': {}},
{'1': 'JMD', '2': 388, '3': {}},
{'1': 'JPY', '2': 392, '3': {}},
{'1': 'KZT', '2': 398, '3': {}},
{'1': 'JOD', '2': 400, '3': {}},
{'1': 'KES', '2': 404, '3': {}},
{'1': 'KPW', '2': 408, '3': {}},
{'1': 'KRW', '2': 410, '3': {}},
{'1': 'KWD', '2': 414, '3': {}},
{'1': 'KGS', '2': 417, '3': {}},
{'1': 'LAK', '2': 418, '3': {}},
{'1': 'LBP', '2': 422, '3': {}},
{'1': 'LSL', '2': 426, '3': {}},
{'1': 'LRD', '2': 430, '3': {}},
{'1': 'LYD', '2': 434, '3': {}},
{'1': 'LTL', '2': 440, '3': {}},
{'1': 'MOP', '2': 446, '3': {}},
{'1': 'MWK', '2': 454, '3': {}},
{'1': 'MYR', '2': 458, '3': {}},
{'1': 'MVR', '2': 462, '3': {}},
{'1': 'MRO', '2': 478, '3': {}},
{'1': 'MUR', '2': 480, '3': {}},
{'1': 'MXN', '2': 484, '3': {}},
{'1': 'MNT', '2': 496, '3': {}},
{'1': 'MDL', '2': 498, '3': {}},
{'1': 'MAD', '2': 504, '3': {}},
{'1': 'OMR', '2': 512, '3': {}},
{'1': 'NAD', '2': 516, '3': {}},
{'1': 'NPR', '2': 524, '3': {}},
{'1': 'ANG', '2': 532, '3': {}},
{'1': 'AWG', '2': 533, '3': {}},
{'1': 'VUV', '2': 548, '3': {}},
{'1': 'NZD', '2': 554, '3': {}},
{'1': 'NIO', '2': 558, '3': {}},
{'1': 'NGN', '2': 566, '3': {}},
{'1': 'NOK', '2': 578, '3': {}},
{'1': 'PKR', '2': 586, '3': {}},
{'1': 'PAB', '2': 590, '3': {}},
{'1': 'PGK', '2': 598, '3': {}},
{'1': 'PYG', '2': 600, '3': {}},
{'1': 'PEN', '2': 604, '3': {}},
{'1': 'PHP', '2': 608, '3': {}},
{'1': 'QAR', '2': 634, '3': {}},
{'1': 'RUB', '2': 643, '3': {}},
{'1': 'RWF', '2': 646, '3': {}},
{'1': 'SHP', '2': 654, '3': {}},
{'1': 'STD', '2': 678, '3': {}},
{'1': 'SAR', '2': 682, '3': {}},
{'1': 'SCR', '2': 690, '3': {}},
{'1': 'SLL', '2': 694, '3': {}},
{'1': 'SGD', '2': 702, '3': {}},
{'1': 'VND', '2': 704, '3': {}},
{'1': 'SOS', '2': 706, '3': {}},
{'1': 'ZAR', '2': 710, '3': {}},
{'1': 'SSP', '2': 728, '3': {}},
{'1': 'SZL', '2': 748, '3': {}},
{'1': 'SEK', '2': 752, '3': {}},
{'1': 'CHF', '2': 756, '3': {}},
{'1': 'SYP', '2': 760, '3': {}},
{'1': 'THB', '2': 764, '3': {}},
{'1': 'TOP', '2': 776, '3': {}},
{'1': 'TTD', '2': 780, '3': {}},
{'1': 'AED', '2': 784, '3': {}},
{'1': 'TND', '2': 788, '3': {}},
{'1': 'UGX', '2': 800, '3': {}},
{'1': 'MKD', '2': 807, '3': {}},
{'1': 'EGP', '2': 818, '3': {}},
{'1': 'GBP', '2': 826, '3': {}},
{'1': 'TZS', '2': 834, '3': {}},
{'1': 'USD', '2': 840, '3': {}},
{'1': 'UYU', '2': 858, '3': {}},
{'1': 'UZS', '2': 860, '3': {}},
{'1': 'WST', '2': 882, '3': {}},
{'1': 'YER', '2': 886, '3': {}},
{'1': 'TWD', '2': 901, '3': {}},
{'1': 'CUC', '2': 931, '3': {}},
{'1': 'ZWL', '2': 932, '3': {}},
{'1': 'TMT', '2': 934, '3': {}},
{'1': 'GHS', '2': 936, '3': {}},
{'1': 'VEF', '2': 937, '3': {}},
{'1': 'SDG', '2': 938, '3': {}},
{'1': 'UYI', '2': 940, '3': {}},
{'1': 'RSD', '2': 941, '3': {}},
{'1': 'MZN', '2': 943, '3': {}},
{'1': 'AZN', '2': 944, '3': {}},
{'1': 'RON', '2': 946, '3': {}},
{'1': 'CHE', '2': 947, '3': {}},
{'1': 'CHW', '2': 948, '3': {}},
{'1': 'TRY', '2': 949, '3': {}},
{'1': 'XAF', '2': 950, '3': {}},
{'1': 'XCD', '2': 951, '3': {}},
{'1': 'XOF', '2': 952, '3': {}},
{'1': 'XPF', '2': 953, '3': {}},
{'1': 'XBA', '2': 955, '3': {}},
{'1': 'XBB', '2': 956, '3': {}},
{'1': 'XBC', '2': 957, '3': {}},
{'1': 'XBD', '2': 958, '3': {}},
{'1': 'XAU', '2': 959, '3': {}},
{'1': 'XDR', '2': 960, '3': {}},
{'1': 'XAG', '2': 961, '3': {}},
{'1': 'XPT', '2': 962, '3': {}},
{'1': 'XPD', '2': 964, '3': {}},
{'1': 'XUA', '2': 965, '3': {}},
{'1': 'ZMW', '2': 967, '3': {}},
{'1': 'SRD', '2': 968, '3': {}},
{'1': 'MGA', '2': 969, '3': {}},
{'1': 'COU', '2': 970, '3': {}},
{'1': 'AFN', '2': 971, '3': {}},
{'1': 'TJS', '2': 972, '3': {}},
{'1': 'AOA', '2': 973, '3': {}},
{'1': 'BYR', '2': 974, '3': {}},
{'1': 'BGN', '2': 975, '3': {}},
{'1': 'CDF', '2': 976, '3': {}},
{'1': 'BAM', '2': 977, '3': {}},
{'1': 'EUR', '2': 978, '3': {}},
{'1': 'MXV', '2': 979, '3': {}},
{'1': 'UAH', '2': 980, '3': {}},
{'1': 'GEL', '2': 981, '3': {}},
{'1': 'BOV', '2': 984, '3': {}},
{'1': 'PLN', '2': 985, '3': {}},
{'1': 'BRL', '2': 986, '3': {}},
{'1': 'CLF', '2': 990, '3': {}},
{'1': 'XSU', '2': 994, '3': {}},
{'1': 'USN', '2': 997, '3': {}},
],
};
/// Descriptor for `Currency`. Decode as a `google.protobuf.EnumDescriptorProto`.
final $typed_data.Uint8List currencyDescriptor = $convert.base64Decode(
'CghDdXJyZW5jeRINCgNYWFgQABoEotQYABIOCgNYVFMQwwcaBKLUGAASGQoDQUxMEAgaEKLUGA'
'xBbGJhbmlhbiBsZWsSGwoDRFpEEAwaEqLUGA5BbGdlcmlhbiBkaW5hchIbCgNBUlMQIBoSotQY'
'DkFyZ2VudGluZSBwZXNvEh4KA0FVRBAkGhWi1BgRQXVzdHJhbGlhbiBkb2xsYXISHAoDQlNEEC'
'waE6LUGA9CYWhhbWlhbiBkb2xsYXISGwoDQkhEEDAaEqLUGA5CYWhyYWluaSBkaW5hchIdCgNC'
'RFQQMhoUotQYEEJhbmdsYWRlc2hpIHRha2ESGgoDQU1EEDMaEaLUGA1Bcm1lbmlhbiBkcmFtEh'
'wKA0JCRBA0GhOi1BgPQmFyYmFkb3MgZG9sbGFyEh0KA0JNRBA8GhSi1BgQQmVybXVkaWFuIGRv'
'bGxhchIfCgNCVE4QQBoWotQYEkJodXRhbmVzZSBuZ3VsdHJ1bRIWCgNCT0IQRBoNotQYCUJvbG'
'l2aWFubxIaCgNCV1AQSBoRotQYDUJvdHN3YW5hIHB1bGESGgoDQlpEEFQaEaLUGA1CZWxpemUg'
'ZG9sbGFyEiMKA1NCRBBaGhqi1BgWU29sb21vbiBJc2xhbmRzIGRvbGxhchIaCgNCTkQQYBoRot'
'QYDUJydW5laSBkb2xsYXISGQoDTU1LEGgaEKLUGAxNeWFubWFyIGt5YXQSHAoDQklGEGwaE6LU'
'GA9CdXJ1bmRpYW4gZnJhbmMSGwoDS0hSEHQaEqLUGA5DYW1ib2RpYW4gcmllbBIcCgNDQUQQfB'
'oTotQYD0NhbmFkaWFuIGRvbGxhchIhCgNDVkUQhAEaF6LUGBNDYXBlIFZlcmRlYW4gZXNjdWRv'
'EiMKA0tZRBCIARoZotQYFUNheW1hbiBJc2xhbmRzIGRvbGxhchIeCgNMS1IQkAEaFKLUGBBTcm'
'kgTGFua2FuIHJ1cGVlEhoKA0NMUBCYARoQotQYDENoaWxlYW4gcGVzbxIWCgNDTlkQnAEaDKLU'
'GAhSZW5taW5iaRIcCgNDT1AQqgEaEqLUGA5Db2xvbWJpYW4gcGVzbxIaCgNLTUYQrgEaEKLUGA'
'xDb21vcm8gZnJhbmMSHwoDQ1JDELwBGhWi1BgRQ29zdGEgUmljYW4gY29sb24SGwoDSFJLEL8B'
'GhGi1BgNQ3JvYXRpYW4ga3VuYRIYCgNDVVAQwAEaDqLUGApDdWJhbiBwZXNvEhoKA0NaSxDLAR'
'oQotQYDEN6ZWNoIGtvcnVuYRIaCgNES0sQ0AEaEKLUGAxEYW5pc2gga3JvbmUSHAoDRE9QENYB'
'GhKi1BgORG9taW5pY2FuIHBlc28SHwoDU1ZDEN4BGhWi1BgRU2FsdmFkb3JhbiBjb2zDs24SHA'
'oDRVRCEOYBGhKi1BgORXRoaW9waWFuIGJpcnISHAoDRVJOEOgBGhKi1BgORXJpdHJlYW4gbmFr'
'ZmESJAoDRktQEO4BGhqi1BgWRmFsa2xhbmQgSXNsYW5kcyBwb3VuZBIZCgNGSkQQ8gEaD6LUGA'
'tGaWppIGRvbGxhchIeCgNESkYQhgIaFKLUGBBEamlib3V0aWFuIGZyYW5jEhwKA0dNRBCOAhoS'
'otQYDkdhbWJpYW4gZGFsYXNpEh0KA0dJUBCkAhoTotQYD0dpYnJhbHRhciBwb3VuZBIgCgNHVF'
'EQwAIaFqLUGBJHdWF0ZW1hbGFuIHF1ZXR6YWwSGwoDR05GEMQCGhGi1BgNR3VpbmVhbiBmcmFu'
'YxIdCgNHWUQQyAIaE6LUGA9HdXlhbmVzZSBkb2xsYXISHAoDSFRHEMwCGhKi1BgOSGFpdGlhbi'
'Bnb3VyZGUSHgoDSE5MENQCGhSi1BgQSG9uZHVyYW4gbGVtcGlyYRIeCgNIS0QQ2AIaFKLUGBBI'
'b25nIEtvbmcgZG9sbGFyEh4KA0hVRhDcAhoUotQYEEh1bmdhcmlhbiBmb3JpbnQSHgoDSVNLEO'
'ACGhSi1BgQSWNlbGFuZGljIGtyw7NuYRIaCgNJTlIQ5AIaEKLUGAxJbmRpYW4gcnVwZWUSHwoD'
'SURSEOgCGhWi1BgRSW5kb25lc2lhbiBydXBpYWgSGgoDSVJSEOwCGhCi1BgMSXJhbmlhbiByaW'
'FsEhkKA0lRRBDwAhoPotQYC0lyYXFpIGRpbmFyEiAKA0lMUxD4AhoWotQYEklzcmFlbGkgbmV3'
'IHNoZWtlbBIdCgNKTUQQhAMaE6LUGA9KYW1haWNhbiBkb2xsYXISGgoDSlBZEIgDGhCi1BgMSm'
'FwYW5lc2UgeWVuEh8KA0taVBCOAxoVotQYEUthemFraHN0YW5pIHRlbmdlEh0KA0pPRBCQAxoT'
'otQYD0pvcmRhbmlhbiBkaW5hchIdCgNLRVMQlAMaE6LUGA9LZW55YW4gc2hpbGxpbmcSHgoDS1'
'BXEJgDGhSi1BgQTm9ydGggS29yZWFuIHdvbhIeCgNLUlcQmgMaFKLUGBBTb3V0aCBLb3JlYW4g'
'd29uEhsKA0tXRBCeAxoRotQYDUt1d2FpdGkgZGluYXISHQoDS0dTEKEDGhOi1BgPS3lyZ3l6c3'
'Rhbmkgc29tEhUKA0xBSxCiAxoLotQYB0xhbyBraXASHAoDTEJQEKYDGhKi1BgOTGViYW5lc2Ug'
'cG91bmQSGgoDTFNMEKoDGhCi1BgMTGVzb3RobyBsb3RpEh0KA0xSRBCuAxoTotQYD0xpYmVyaW'
'FuIGRvbGxhchIaCgNMWUQQsgMaEKLUGAxMaWJ5YW4gZGluYXISHgoDTFRMELgDGhSi1BgQTGl0'
'aHVhbmlhbiBsaXRhcxIdCgNNT1AQvgMaE6LUGA9NYWNhbmVzZSBwYXRhY2ESHQoDTVdLEMYDGh'
'Oi1BgPTWFsYXdpYW4ga3dhY2hhEh8KA01ZUhDKAxoVotQYEU1hbGF5c2lhbiByaW5nZ2l0Eh8K'
'A01WUhDOAxoVotQYEU1hbGRpdmlhbiBydWZpeWFhEiEKA01STxDeAxoXotQYE01hdXJpdGFuaW'
'FuIG91Z3VpeWESHQoDTVVSEOADGhOi1BgPTWF1cml0aWFuIHJ1cGVlEhoKA01YThDkAxoQotQY'
'DE1leGljYW4gcGVzbxIgCgNNTlQQ8AMaFqLUGBJNb25nb2xpYW4gdMO2Z3LDtmcSGgoDTURMEP'
'IDGhCi1BgMTW9sZG92YW4gbGV1Eh0KA01BRBD4AxoTotQYD01vcm9jY2FuIGRpcmhhbRIYCgNP'
'TVIQgAQaDqLUGApPbWFuaSByaWFsEh0KA05BRBCEBBoTotQYD05hbWliaWFuIGRvbGxhchIcCg'
'NOUFIQjAQaEqLUGA5OZXBhbGVzZSBydXBlZRIrCgNBTkcQlAQaIaLUGB1OZXRoZXJsYW5kcyBB'
'bnRpbGxlYW4gZ3VpbGRlchIbCgNBV0cQlQQaEaLUGA1BcnViYW4gZmxvcmluEhoKA1ZVVhCkBB'
'oQotQYDFZhbnVhdHUgdmF0dRIgCgNOWkQQqgQaFqLUGBJOZXcgWmVhbGFuZCBkb2xsYXISIQoD'
'TklPEK4EGhei1BgTTmljYXJhZ3VhbiBjw7NyZG9iYRIcCgNOR04QtgQaEqLUGA5OaWdlcmlhbi'
'BuYWlyYRIdCgNOT0sQwgQaE6LUGA9Ob3J3ZWdpYW4ga3JvbmUSHQoDUEtSEMoEGhOi1BgPUGFr'
'aXN0YW5pIHJ1cGVlEh8KA1BBQhDOBBoVotQYEVBhbmFtYW5pYW4gYmFsYm9hEiQKA1BHSxDWBB'
'oaotQYFlBhcHVhIE5ldyBHdWluZWFuIGtpbmESIQoDUFlHENgEGhei1BgTUGFyYWd1YXlhbiBn'
'dWFyYW7DrRIaCgNQRU4Q3AQaEKLUGAxQZXJ1dmlhbiBzb2wSHQoDUEhQEOAEGhOi1BgPUGhpbG'
'lwcGluZSBwZXNvEhoKA1FBUhD6BBoQotQYDFFhdGFyaSByaXlhbBIbCgNSVUIQgwUaEaLUGA1S'
'dXNzaWFuIHJ1YmxlEhsKA1JXRhCGBRoRotQYDVJ3YW5kYW4gZnJhbmMSIAoDU0hQEI4FGhai1B'
'gSU2FpbnQgSGVsZW5hIHBvdW5kEiwKA1NURBCmBRoiotQYHlPDo28gVG9tw6kgYW5kIFByw61u'
'Y2lwZSBkb2JyYRIZCgNTQVIQqgUaD6LUGAtTYXVkaSByaXlhbBIeCgNTQ1IQsgUaFKLUGBBTZX'
'ljaGVsbGVzIHJ1cGVlEiIKA1NMTBC2BRoYotQYFFNpZXJyYSBMZW9uZWFuIGxlb25lEh4KA1NH'
'RBC+BRoUotQYEFNpbmdhcG9yZSBkb2xsYXISIAoDVk5EEMAFGhai1BgSVmlldG5hbWVzZSDEke'
'G7k25nEh8KA1NPUxDCBRoVotQYEVNvbWFsaWFuIHNoaWxsaW5nEiAKA1pBUhDGBRoWotQYElNv'
'dXRoIEFmcmljYW4gcmFuZBIiCgNTU1AQ2AUaGKLUGBRTb3V0aCBTdWRhbmVzZSBwb3VuZBIdCg'
'NTWkwQ7AUaE6LUGA9Td2F6aSBsaWxhbmdlbmkSGwoDU0VLEPAFGhGi1BgNU3dlZGlzaCBrcm9u'
'YRIZCgNDSEYQ9AUaD6LUGAtTd2lzcyBmcmFuYxIaCgNTWVAQ+AUaEKLUGAxTeXJpYW4gcG91bm'
'QSFwoDVEhCEPwFGg2i1BgJVGhhaSBiYWh0EhwKA1RPUBCIBhoSotQYDlRvbmdhbiBwYSdhbmdh'
'EigKA1RURBCMBhoeotQYGlRyaW5pZGFkIGFuZCBUb2JhZ28gZG9sbGFyEikKA0FFRBCQBhofot'
'QYG1VuaXRlZCBBcmFiIEVtaXJhdGVzIGRpcmhhbRIcCgNUTkQQlAYaEqLUGA5UdW5pc2lhbiBk'
'aW5hchIeCgNVR1gQoAYaFKLUGBBVZ2FuZGFuIHNoaWxsaW5nEh4KA01LRBCnBhoUotQYEE1hY2'
'Vkb25pYW4gZGVuYXISHAoDRUdQELIGGhKi1BgORWd5cHRpYW4gcG91bmQSHAoDR0JQELoGGhKi'
'1BgOUG91bmQgc3RlcmxpbmcSIAoDVFpTEMIGGhai1BgSVGFuemFuaWFuIHNoaWxsaW5nEiIKA1'
'VTRBDIBhoYotQYFFVuaXRlZCBTdGF0ZXMgZG9sbGFyEhwKA1VZVRDaBhoSotQYDlVydWd1YXlh'
'biBwZXNvEh0KA1VaUxDcBhoTotQYD1V6YmVraXN0YW5pIHN1bRIZCgNXU1QQ8gYaD6LUGAtTYW'
'1vYW4gdGFsYRIZCgNZRVIQ9gYaD6LUGAtZZW1lbmkgcmlhbBIfCgNUV0QQhQcaFaLUGBFOZXcg'
'VGFpd2FuIGRvbGxhchIkCgNDVUMQowcaGqLUGBZDdWJhbiBjb252ZXJ0aWJsZSBwZXNvEh8KA1'
'pXTBCkBxoVotQYEVppbWJhYndlYW4gZG9sbGFyEiAKA1RNVBCmBxoWotQYElR1cmttZW5pc3Rh'
'biBtYW5hdBIbCgNHSFMQqAcaEaLUGA1HaGFuYWlhbiBjZWRpEigKA1ZFRhCpBxoeotQYGlZlbm'
'V6dWVsYW4gYm9sw612YXIgZnVlcnRlEhwKA1NERxCqBxoSotQYDlN1ZGFuZXNlIHBvdW5kEjAK'
'A1VZSRCsBxomotQYIlVydWd1YXkgUGVzbyBlbiBVbmlkYWRlcyBJbmRleGFkYXMSGwoDUlNEEK'
'0HGhGi1BgNU2VyYmlhbiBkaW5hchIgCgNNWk4QrwcaFqLUGBJNb3phbWJpY2FuIG1ldGljYWwS'
'HwoDQVpOELAHGhWi1BgRQXplcmJhaWphbmkgbWFuYXQSGgoDUk9OELIHGhCi1BgMUm9tYW5pYW'
'4gbGV1EhYKA0NIRRCzBxoMotQYCFdJUiBldXJvEhcKA0NIVxC0BxoNotQYCVdJUiBmcmFuYxIa'
'CgNUUlkQtQcaEKLUGAxUdXJraXNoIGxpcmESHAoDWEFGELYHGhKi1BgOQ0ZBIGZyYW5jIEJFQU'
'MSIwoDWENEELcHGhmi1BgVRWFzdCBDYXJpYmJlYW4gZG9sbGFyEh0KA1hPRhC4BxoTotQYD0NG'
'QSBmcmFuYyBCQ0VBTxIXCgNYUEYQuQcaDaLUGAlDRlAgZnJhbmMSJQoDWEJBELsHGhui1BgXRX'
'Vyb3BlYW4gQ29tcG9zaXRlIFVuaXQSJAoDWEJCELwHGhqi1BgWRXVyb3BlYW4gTW9uZXRhcnkg'
'VW5pdBIoCgNYQkMQvQcaHqLUGBpFdXJvcGVhbiBVbml0IG9mIEFjY291bnQgORIpCgNYQkQQvg'
'caH6LUGBtFdXJvcGVhbiBVbml0IG9mIEFjY291bnQgMTcSEgoDWEFVEL8HGgii1BgER29sZBIk'
'CgNYRFIQwAcaGqLUGBZTcGVjaWFsIGRyYXdpbmcgcmlnaHRzEhQKA1hBRxDBBxoKotQYBlNpbH'
'ZlchIWCgNYUFQQwgcaDKLUGAhQbGF0aW51bRIXCgNYUEQQxAcaDaLUGAlQYWxsYWRpdW0SIQoD'
'WFVBEMUHGhei1BgTQURCIFVuaXQgb2YgQWNjb3VudBIcCgNaTVcQxwcaEqLUGA5aYW1iaWFuIG'
't3YWNoYRIfCgNTUkQQyAcaFaLUGBFTdXJpbmFtZXNlIGRvbGxhchIdCgNNR0EQyQcaE6LUGA9N'
'YWxhZ2FzeSBhcmlhcnkSIgoDQ09VEMoHGhii1BgUVW5pZGFkIGRlIFZhbG9yIFJlYWwSHAoDQU'
'ZOEMsHGhKi1BgOQWZnaGFuIGFmZ2hhbmkSIAoDVEpTEMwHGhai1BgSVGFqaWtpc3Rhbmkgc29t'
'b25pEhwKA0FPQRDNBxoSotQYDkFuZ29sYW4ga3dhbnphEh4KA0JZUhDOBxoUotQYEEJlbGFydX'
'NpYW4gcnVibGUSGwoDQkdOEM8HGhGi1BgNQnVsZ2FyaWFuIGxldhIdCgNDREYQ0AcaE6LUGA9D'
'b25nb2xlc2UgZnJhbmMSNQoDQkFNENEHGiui1BgnQm9zbmlhIGFuZCBIZXJ6ZWdvdmluYSBjb2'
'52ZXJ0aWJsZSBtYXJrEhIKA0VVUhDSBxoIotQYBEV1cm8SKQoDTVhWENMHGh+i1BgbTWV4aWNh'
'biBVbmlkYWQgZGUgSW52ZXJzaW9uEh8KA1VBSBDUBxoVotQYEVVrcmFpbmlhbiBocnl2bmlhEh'
'sKA0dFTBDVBxoRotQYDUdlb3JnaWFuIGxhcmkSHAoDQk9WENgHGhKi1BgOQm9saXZpYW4gTXZk'
'b2wSGwoDUExOENkHGhGi1BgNUG9saXNoIHrFgm90eRIcCgNCUkwQ2gcaEqLUGA5CcmF6aWxpYW'
'4gcmVhbBIfCgNDTEYQ3gcaFaLUGBFVbmlkYWQgZGUgRm9tZW50bxIUCgNYU1UQ4gcaCqLUGAYJ'
'U1VDUkUSLQoDVVNOEOUHGiOi1BgfVW5pdGVkIFN0YXRlcyBkb2xsYXIgKG5leHQgZGF5KQ==');

View File

@@ -1,25 +1,440 @@
// This is a generated file - do not edit.
// //
// Generated code. Do not modify. // Generated from core/options.proto.
// source: core/options.proto
//
// @dart = 3.3 // @dart = 3.3
// ignore_for_file: annotate_overrides, camel_case_types, comment_references // ignore_for_file: annotate_overrides, camel_case_types, comment_references
// ignore_for_file: constant_identifier_names, library_prefixes // ignore_for_file: constant_identifier_names
// ignore_for_file: non_constant_identifier_names, prefer_final_fields // ignore_for_file: curly_braces_in_flow_control_structures
// ignore_for_file: unnecessary_import, unnecessary_this, unused_import // ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
// ignore_for_file: non_constant_identifier_names
import 'dart:core' as $core; import 'dart:core' as $core;
import 'package:protobuf/protobuf.dart' as $pb; import 'package:protobuf/protobuf.dart' as $pb;
import 'options.pbenum.dart';
export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions; export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions;
export 'options.pbenum.dart';
/// Note: Struct to define in protoc-m0 in managers/struct_model
class KPIGroups extends $pb.GeneratedMessage {
factory KPIGroups({
$core.Iterable<KPIGroup>? groups,
}) {
final result = create();
if (groups != null) result.groups.addAll(groups);
return result;
}
KPIGroups._();
factory KPIGroups.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory KPIGroups.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'KPIGroups', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
..pc<KPIGroup>(1, _omitFieldNames ? '' : 'Groups', $pb.PbFieldType.PM, protoName: 'Groups', subBuilder: KPIGroup.create)
..hasRequiredFields = false
;
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
KPIGroups clone() => KPIGroups()..mergeFromMessage(this);
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
KPIGroups copyWith(void Function(KPIGroups) updates) => super.copyWith((message) => updates(message as KPIGroups)) as KPIGroups;
@$core.override
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static KPIGroups create() => KPIGroups._();
@$core.override
KPIGroups createEmptyInstance() => create();
static $pb.PbList<KPIGroups> createRepeated() => $pb.PbList<KPIGroups>();
@$core.pragma('dart2js:noInline')
static KPIGroups getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<KPIGroups>(create);
static KPIGroups? _defaultInstance;
@$pb.TagNumber(1)
$pb.PbList<KPIGroup> get groups => $_getList(0);
}
class KPIGroup extends $pb.GeneratedMessage {
factory KPIGroup({
$core.String? name,
KPIGroupType? type,
$core.bool? queryable,
$core.String? groupToQuery,
$core.String? orderBy,
$core.String? engine,
$core.String? headerColumns,
$core.String? partitionBy,
}) {
final result = create();
if (name != null) result.name = name;
if (type != null) result.type = type;
if (queryable != null) result.queryable = queryable;
if (groupToQuery != null) result.groupToQuery = groupToQuery;
if (orderBy != null) result.orderBy = orderBy;
if (engine != null) result.engine = engine;
if (headerColumns != null) result.headerColumns = headerColumns;
if (partitionBy != null) result.partitionBy = partitionBy;
return result;
}
KPIGroup._();
factory KPIGroup.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory KPIGroup.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'KPIGroup', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
..aOS(1, _omitFieldNames ? '' : 'Name', protoName: 'Name')
..e<KPIGroupType>(2, _omitFieldNames ? '' : 'Type', $pb.PbFieldType.OE, protoName: 'Type', defaultOrMaker: KPIGroupType.KPIGROUP_TYPE_UNKNOWN, valueOf: KPIGroupType.valueOf, enumValues: KPIGroupType.values)
..aOB(3, _omitFieldNames ? '' : 'Queryable', protoName: 'Queryable')
..aOS(4, _omitFieldNames ? '' : 'GroupToQuery', protoName: 'GroupToQuery')
..aOS(5, _omitFieldNames ? '' : 'OrderBy', protoName: 'OrderBy')
..aOS(6, _omitFieldNames ? '' : 'Engine', protoName: 'Engine')
..aOS(7, _omitFieldNames ? '' : 'HeaderColumns', protoName: 'HeaderColumns')
..aOS(8, _omitFieldNames ? '' : 'PartitionBy', protoName: 'PartitionBy')
..hasRequiredFields = false
;
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
KPIGroup clone() => KPIGroup()..mergeFromMessage(this);
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
KPIGroup copyWith(void Function(KPIGroup) updates) => super.copyWith((message) => updates(message as KPIGroup)) as KPIGroup;
@$core.override
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static KPIGroup create() => KPIGroup._();
@$core.override
KPIGroup createEmptyInstance() => create();
static $pb.PbList<KPIGroup> createRepeated() => $pb.PbList<KPIGroup>();
@$core.pragma('dart2js:noInline')
static KPIGroup getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<KPIGroup>(create);
static KPIGroup? _defaultInstance;
@$pb.TagNumber(1)
$core.String get name => $_getSZ(0);
@$pb.TagNumber(1)
set name($core.String value) => $_setString(0, value);
@$pb.TagNumber(1)
$core.bool hasName() => $_has(0);
@$pb.TagNumber(1)
void clearName() => $_clearField(1);
@$pb.TagNumber(2)
KPIGroupType get type => $_getN(1);
@$pb.TagNumber(2)
set type(KPIGroupType value) => $_setField(2, value);
@$pb.TagNumber(2)
$core.bool hasType() => $_has(1);
@$pb.TagNumber(2)
void clearType() => $_clearField(2);
@$pb.TagNumber(3)
$core.bool get queryable => $_getBF(2);
@$pb.TagNumber(3)
set queryable($core.bool value) => $_setBool(2, value);
@$pb.TagNumber(3)
$core.bool hasQueryable() => $_has(2);
@$pb.TagNumber(3)
void clearQueryable() => $_clearField(3);
@$pb.TagNumber(4)
$core.String get groupToQuery => $_getSZ(3);
@$pb.TagNumber(4)
set groupToQuery($core.String value) => $_setString(3, value);
@$pb.TagNumber(4)
$core.bool hasGroupToQuery() => $_has(3);
@$pb.TagNumber(4)
void clearGroupToQuery() => $_clearField(4);
@$pb.TagNumber(5)
$core.String get orderBy => $_getSZ(4);
@$pb.TagNumber(5)
set orderBy($core.String value) => $_setString(4, value);
@$pb.TagNumber(5)
$core.bool hasOrderBy() => $_has(4);
@$pb.TagNumber(5)
void clearOrderBy() => $_clearField(5);
@$pb.TagNumber(6)
$core.String get engine => $_getSZ(5);
@$pb.TagNumber(6)
set engine($core.String value) => $_setString(5, value);
@$pb.TagNumber(6)
$core.bool hasEngine() => $_has(5);
@$pb.TagNumber(6)
void clearEngine() => $_clearField(6);
@$pb.TagNumber(7)
$core.String get headerColumns => $_getSZ(6);
@$pb.TagNumber(7)
set headerColumns($core.String value) => $_setString(6, value);
@$pb.TagNumber(7)
$core.bool hasHeaderColumns() => $_has(6);
@$pb.TagNumber(7)
void clearHeaderColumns() => $_clearField(7);
@$pb.TagNumber(8)
$core.String get partitionBy => $_getSZ(7);
@$pb.TagNumber(8)
set partitionBy($core.String value) => $_setString(7, value);
@$pb.TagNumber(8)
$core.bool hasPartitionBy() => $_has(7);
@$pb.TagNumber(8)
void clearPartitionBy() => $_clearField(8);
}
class KPIItems extends $pb.GeneratedMessage {
factory KPIItems({
$core.Iterable<KPIItem>? items,
}) {
final result = create();
if (items != null) result.items.addAll(items);
return result;
}
KPIItems._();
factory KPIItems.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory KPIItems.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'KPIItems', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
..pc<KPIItem>(1, _omitFieldNames ? '' : 'Items', $pb.PbFieldType.PM, protoName: 'Items', subBuilder: KPIItem.create)
..hasRequiredFields = false
;
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
KPIItems clone() => KPIItems()..mergeFromMessage(this);
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
KPIItems copyWith(void Function(KPIItems) updates) => super.copyWith((message) => updates(message as KPIItems)) as KPIItems;
@$core.override
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static KPIItems create() => KPIItems._();
@$core.override
KPIItems createEmptyInstance() => create();
static $pb.PbList<KPIItems> createRepeated() => $pb.PbList<KPIItems>();
@$core.pragma('dart2js:noInline')
static KPIItems getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<KPIItems>(create);
static KPIItems? _defaultInstance;
@$pb.TagNumber(1)
$pb.PbList<KPIItem> get items => $_getList(0);
}
class KPIItem extends $pb.GeneratedMessage {
factory KPIItem({
$core.String? context,
$core.String? group,
$core.bool? queryable,
$core.String? groupToJoin,
$core.String? customType,
}) {
final result = create();
if (context != null) result.context = context;
if (group != null) result.group = group;
if (queryable != null) result.queryable = queryable;
if (groupToJoin != null) result.groupToJoin = groupToJoin;
if (customType != null) result.customType = customType;
return result;
}
KPIItem._();
factory KPIItem.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory KPIItem.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'KPIItem', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
..aOS(1, _omitFieldNames ? '' : 'Context', protoName: 'Context')
..aOS(2, _omitFieldNames ? '' : 'Group', protoName: 'Group')
..aOB(3, _omitFieldNames ? '' : 'Queryable', protoName: 'Queryable')
..aOS(4, _omitFieldNames ? '' : 'GroupToJoin', protoName: 'GroupToJoin')
..aOS(5, _omitFieldNames ? '' : 'CustomType', protoName: 'CustomType')
..hasRequiredFields = false
;
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
KPIItem clone() => KPIItem()..mergeFromMessage(this);
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
KPIItem copyWith(void Function(KPIItem) updates) => super.copyWith((message) => updates(message as KPIItem)) as KPIItem;
@$core.override
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static KPIItem create() => KPIItem._();
@$core.override
KPIItem createEmptyInstance() => create();
static $pb.PbList<KPIItem> createRepeated() => $pb.PbList<KPIItem>();
@$core.pragma('dart2js:noInline')
static KPIItem getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<KPIItem>(create);
static KPIItem? _defaultInstance;
@$pb.TagNumber(1)
$core.String get context => $_getSZ(0);
@$pb.TagNumber(1)
set context($core.String value) => $_setString(0, value);
@$pb.TagNumber(1)
$core.bool hasContext() => $_has(0);
@$pb.TagNumber(1)
void clearContext() => $_clearField(1);
@$pb.TagNumber(2)
$core.String get group => $_getSZ(1);
@$pb.TagNumber(2)
set group($core.String value) => $_setString(1, value);
@$pb.TagNumber(2)
$core.bool hasGroup() => $_has(1);
@$pb.TagNumber(2)
void clearGroup() => $_clearField(2);
@$pb.TagNumber(3)
$core.bool get queryable => $_getBF(2);
@$pb.TagNumber(3)
set queryable($core.bool value) => $_setBool(2, value);
@$pb.TagNumber(3)
$core.bool hasQueryable() => $_has(2);
@$pb.TagNumber(3)
void clearQueryable() => $_clearField(3);
@$pb.TagNumber(4)
$core.String get groupToJoin => $_getSZ(3);
@$pb.TagNumber(4)
set groupToJoin($core.String value) => $_setString(3, value);
@$pb.TagNumber(4)
$core.bool hasGroupToJoin() => $_has(3);
@$pb.TagNumber(4)
void clearGroupToJoin() => $_clearField(4);
@$pb.TagNumber(5)
$core.String get customType => $_getSZ(4);
@$pb.TagNumber(5)
set customType($core.String value) => $_setString(4, value);
@$pb.TagNumber(5)
$core.bool hasCustomType() => $_has(4);
@$pb.TagNumber(5)
void clearCustomType() => $_clearField(5);
}
class FieldTypes extends $pb.GeneratedMessage {
factory FieldTypes({
$core.Iterable<FieldType>? types,
}) {
final result = create();
if (types != null) result.types.addAll(types);
return result;
}
FieldTypes._();
factory FieldTypes.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory FieldTypes.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'FieldTypes', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
..pc<FieldType>(1, _omitFieldNames ? '' : 'Types', $pb.PbFieldType.PM, protoName: 'Types', subBuilder: FieldType.create)
..hasRequiredFields = false
;
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
FieldTypes clone() => FieldTypes()..mergeFromMessage(this);
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
FieldTypes copyWith(void Function(FieldTypes) updates) => super.copyWith((message) => updates(message as FieldTypes)) as FieldTypes;
@$core.override
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static FieldTypes create() => FieldTypes._();
@$core.override
FieldTypes createEmptyInstance() => create();
static $pb.PbList<FieldTypes> createRepeated() => $pb.PbList<FieldTypes>();
@$core.pragma('dart2js:noInline')
static FieldTypes getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<FieldTypes>(create);
static FieldTypes? _defaultInstance;
@$pb.TagNumber(1)
$pb.PbList<FieldType> get types => $_getList(0);
}
class FieldType extends $pb.GeneratedMessage {
factory FieldType({
$core.String? context,
$core.String? type,
}) {
final result = create();
if (context != null) result.context = context;
if (type != null) result.type = type;
return result;
}
FieldType._();
factory FieldType.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory FieldType.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'FieldType', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
..aOS(1, _omitFieldNames ? '' : 'Context', protoName: 'Context')
..aOS(2, _omitFieldNames ? '' : 'Type', protoName: 'Type')
..hasRequiredFields = false
;
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
FieldType clone() => FieldType()..mergeFromMessage(this);
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
FieldType copyWith(void Function(FieldType) updates) => super.copyWith((message) => updates(message as FieldType)) as FieldType;
@$core.override
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static FieldType create() => FieldType._();
@$core.override
FieldType createEmptyInstance() => create();
static $pb.PbList<FieldType> createRepeated() => $pb.PbList<FieldType>();
@$core.pragma('dart2js:noInline')
static FieldType getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<FieldType>(create);
static FieldType? _defaultInstance;
@$pb.TagNumber(1)
$core.String get context => $_getSZ(0);
@$pb.TagNumber(1)
set context($core.String value) => $_setString(0, value);
@$pb.TagNumber(1)
$core.bool hasContext() => $_has(0);
@$pb.TagNumber(1)
void clearContext() => $_clearField(1);
@$pb.TagNumber(2)
$core.String get type => $_getSZ(1);
@$pb.TagNumber(2)
set type($core.String value) => $_setString(1, value);
@$pb.TagNumber(2)
$core.bool hasType() => $_has(1);
@$pb.TagNumber(2)
void clearType() => $_clearField(2);
}
class Options { class Options {
static final entityName = $pb.Extension<$core.String>(_omitMessageNames ? '' : 'google.protobuf.FileOptions', _omitFieldNames ? '' : 'entityName', 50000, $pb.PbFieldType.OS, protoName: 'entityName'); static final entityName = $pb.Extension<$core.String>(_omitMessageNames ? '' : 'google.protobuf.FileOptions', _omitFieldNames ? '' : 'entityName', 50000, $pb.PbFieldType.OS, protoName: 'entityName');
static final entityShortName = $pb.Extension<$core.String>(_omitMessageNames ? '' : 'google.protobuf.FileOptions', _omitFieldNames ? '' : 'entityShortName', 50001, $pb.PbFieldType.OS, protoName: 'entityShortName'); static final entityShortName = $pb.Extension<$core.String>(_omitMessageNames ? '' : 'google.protobuf.FileOptions', _omitFieldNames ? '' : 'entityShortName', 50001, $pb.PbFieldType.OS, protoName: 'entityShortName');
static final m0FileIgnore = $pb.Extension<$core.bool>(_omitMessageNames ? '' : 'google.protobuf.FileOptions', _omitFieldNames ? '' : 'm0FileIgnore', 50002, $pb.PbFieldType.OB, protoName: 'm0_FileIgnore'); static final m0FileIgnore = $pb.Extension<$core.bool>(_omitMessageNames ? '' : 'google.protobuf.FileOptions', _omitFieldNames ? '' : 'm0FileIgnore', 50002, $pb.PbFieldType.OB, protoName: 'm0_FileIgnore');
static final moduleName = $pb.Extension<$core.String>(_omitMessageNames ? '' : 'google.protobuf.FileOptions', _omitFieldNames ? '' : 'moduleName', 50003, $pb.PbFieldType.OS, protoName: 'moduleName'); static final moduleName = $pb.Extension<$core.String>(_omitMessageNames ? '' : 'google.protobuf.FileOptions', _omitFieldNames ? '' : 'moduleName', 50003, $pb.PbFieldType.OS, protoName: 'moduleName');
static final isDataRestricted = $pb.Extension<$core.bool>(_omitMessageNames ? '' : 'google.protobuf.FileOptions', _omitFieldNames ? '' : 'isDataRestricted', 50005, $pb.PbFieldType.OB, protoName: 'isDataRestricted');
static final noAgg = $pb.Extension<$core.bool>(_omitMessageNames ? '' : 'google.protobuf.FileOptions', _omitFieldNames ? '' : 'noAgg', 50006, $pb.PbFieldType.OB, protoName: 'noAgg');
static final enrichments = $pb.Extension<$core.String>(_omitMessageNames ? '' : 'google.protobuf.FileOptions', _omitFieldNames ? '' : 'enrichments', 50007, $pb.PbFieldType.OS);
static final kpiGroups = $pb.Extension<KPIGroups>(_omitMessageNames ? '' : 'google.protobuf.FileOptions', _omitFieldNames ? '' : 'kpiGroups', 50008, $pb.PbFieldType.OM, protoName: 'kpiGroups', defaultOrMaker: KPIGroups.getDefault, subBuilder: KPIGroups.create);
static final version = $pb.Extension<$core.int>(_omitMessageNames ? '' : 'google.protobuf.FileOptions', _omitFieldNames ? '' : 'version', 50009, $pb.PbFieldType.OU3);
static final entityRscType = $pb.Extension<$core.String>(_omitMessageNames ? '' : 'google.protobuf.FileOptions', _omitFieldNames ? '' : 'entityRscType', 50010, $pb.PbFieldType.OS, protoName: 'entityRscType');
static final entityProjectTypes = $pb.Extension<$core.String>(_omitMessageNames ? '' : 'google.protobuf.FileOptions', _omitFieldNames ? '' : 'entityProjectTypes', 50011, $pb.PbFieldType.OS, protoName: 'entityProjectTypes');
static final messageType = $pb.Extension<$core.String>(_omitMessageNames ? '' : 'google.protobuf.MessageOptions', _omitFieldNames ? '' : 'messageType', 50100, $pb.PbFieldType.OS, protoName: 'messageType'); static final messageType = $pb.Extension<$core.String>(_omitMessageNames ? '' : 'google.protobuf.MessageOptions', _omitFieldNames ? '' : 'messageType', 50100, $pb.PbFieldType.OS, protoName: 'messageType');
static final payload = $pb.Extension<$core.bool>(_omitMessageNames ? '' : 'google.protobuf.MessageOptions', _omitFieldNames ? '' : 'payload', 50101, $pb.PbFieldType.OB); static final payload = $pb.Extension<$core.bool>(_omitMessageNames ? '' : 'google.protobuf.MessageOptions', _omitFieldNames ? '' : 'payload', 50101, $pb.PbFieldType.OB);
static final action = $pb.Extension<$core.String>(_omitMessageNames ? '' : 'google.protobuf.MessageOptions', _omitFieldNames ? '' : 'action', 50102, $pb.PbFieldType.OS); static final action = $pb.Extension<$core.String>(_omitMessageNames ? '' : 'google.protobuf.MessageOptions', _omitFieldNames ? '' : 'action', 50102, $pb.PbFieldType.OS);
@@ -28,6 +443,13 @@ class Options {
static final postAggMethods = $pb.Extension<$core.String>(_omitMessageNames ? '' : 'google.protobuf.MessageOptions', _omitFieldNames ? '' : 'postAggMethods', 50105, $pb.PbFieldType.OS, protoName: 'postAggMethods'); static final postAggMethods = $pb.Extension<$core.String>(_omitMessageNames ? '' : 'google.protobuf.MessageOptions', _omitFieldNames ? '' : 'postAggMethods', 50105, $pb.PbFieldType.OS, protoName: 'postAggMethods');
static final additionalSource = $pb.Extension<$core.String>(_omitMessageNames ? '' : 'google.protobuf.MessageOptions', _omitFieldNames ? '' : 'additionalSource', 50106, $pb.PbFieldType.OS, protoName: 'additionalSource'); static final additionalSource = $pb.Extension<$core.String>(_omitMessageNames ? '' : 'google.protobuf.MessageOptions', _omitFieldNames ? '' : 'additionalSource', 50106, $pb.PbFieldType.OS, protoName: 'additionalSource');
static final preAggMethods = $pb.Extension<$core.String>(_omitMessageNames ? '' : 'google.protobuf.MessageOptions', _omitFieldNames ? '' : 'preAggMethods', 50107, $pb.PbFieldType.OS, protoName: 'preAggMethods'); static final preAggMethods = $pb.Extension<$core.String>(_omitMessageNames ? '' : 'google.protobuf.MessageOptions', _omitFieldNames ? '' : 'preAggMethods', 50107, $pb.PbFieldType.OS, protoName: 'preAggMethods');
static final idGenMethod = $pb.Extension<$core.String>(_omitMessageNames ? '' : 'google.protobuf.MessageOptions', _omitFieldNames ? '' : 'idGenMethod', 50108, $pb.PbFieldType.OS, protoName: 'idGenMethod');
static final triggerEventFilters = $pb.Extension<$core.String>(_omitMessageNames ? '' : 'google.protobuf.MessageOptions', _omitFieldNames ? '' : 'triggerEventFilters', 50109, $pb.PbFieldType.OS, protoName: 'triggerEventFilters');
static final triggerNotEventFilters = $pb.Extension<$core.String>(_omitMessageNames ? '' : 'google.protobuf.MessageOptions', _omitFieldNames ? '' : 'triggerNotEventFilters', 50111, $pb.PbFieldType.OS, protoName: 'triggerNotEventFilters');
static final windowMethod = $pb.Extension<$core.String>(_omitMessageNames ? '' : 'google.protobuf.MessageOptions', _omitFieldNames ? '' : 'windowMethod', 50112, $pb.PbFieldType.OS, protoName: 'windowMethod');
static final keyByExpression = $pb.Extension<$core.String>(_omitMessageNames ? '' : 'google.protobuf.MessageOptions', _omitFieldNames ? '' : 'keyByExpression', 50113, $pb.PbFieldType.OS, protoName: 'keyByExpression');
static final triggerMinStatusFilter = $pb.Extension<$core.String>(_omitMessageNames ? '' : 'google.protobuf.MessageOptions', _omitFieldNames ? '' : 'triggerMinStatusFilter', 50114, $pb.PbFieldType.OS, protoName: 'triggerMinStatusFilter');
static final triggerMaxStatusFilter = $pb.Extension<$core.String>(_omitMessageNames ? '' : 'google.protobuf.MessageOptions', _omitFieldNames ? '' : 'triggerMaxStatusFilter', 50115, $pb.PbFieldType.OS, protoName: 'triggerMaxStatusFilter');
static final metadata = $pb.Extension<$core.bool>(_omitMessageNames ? '' : 'google.protobuf.FieldOptions', _omitFieldNames ? '' : 'metadata', 50200, $pb.PbFieldType.OB); static final metadata = $pb.Extension<$core.bool>(_omitMessageNames ? '' : 'google.protobuf.FieldOptions', _omitFieldNames ? '' : 'metadata', 50200, $pb.PbFieldType.OB);
static final mapPath = $pb.Extension<$core.String>(_omitMessageNames ? '' : 'google.protobuf.FieldOptions', _omitFieldNames ? '' : 'mapPath', 50201, $pb.PbFieldType.OS, protoName: 'mapPath'); static final mapPath = $pb.Extension<$core.String>(_omitMessageNames ? '' : 'google.protobuf.FieldOptions', _omitFieldNames ? '' : 'mapPath', 50201, $pb.PbFieldType.OS, protoName: 'mapPath');
static final language = $pb.Extension<$core.bool>(_omitMessageNames ? '' : 'google.protobuf.FieldOptions', _omitFieldNames ? '' : 'language', 50202, $pb.PbFieldType.OB); static final language = $pb.Extension<$core.bool>(_omitMessageNames ? '' : 'google.protobuf.FieldOptions', _omitFieldNames ? '' : 'language', 50202, $pb.PbFieldType.OB);
@@ -38,6 +460,19 @@ class Options {
static final segmentationKeys = $pb.Extension<$core.bool>(_omitMessageNames ? '' : 'google.protobuf.FieldOptions', _omitFieldNames ? '' : 'segmentationKeys', 50207, $pb.PbFieldType.OB, protoName: 'segmentationKeys'); static final segmentationKeys = $pb.Extension<$core.bool>(_omitMessageNames ? '' : 'google.protobuf.FieldOptions', _omitFieldNames ? '' : 'segmentationKeys', 50207, $pb.PbFieldType.OB, protoName: 'segmentationKeys');
static final transientRef = $pb.Extension<$core.String>(_omitMessageNames ? '' : 'google.protobuf.FieldOptions', _omitFieldNames ? '' : 'transientRef', 50208, $pb.PbFieldType.OS, protoName: 'transientRef'); static final transientRef = $pb.Extension<$core.String>(_omitMessageNames ? '' : 'google.protobuf.FieldOptions', _omitFieldNames ? '' : 'transientRef', 50208, $pb.PbFieldType.OS, protoName: 'transientRef');
static final kpi = $pb.Extension<$core.bool>(_omitMessageNames ? '' : 'google.protobuf.FieldOptions', _omitFieldNames ? '' : 'kpi', 50209, $pb.PbFieldType.OB); static final kpi = $pb.Extension<$core.bool>(_omitMessageNames ? '' : 'google.protobuf.FieldOptions', _omitFieldNames ? '' : 'kpi', 50209, $pb.PbFieldType.OB);
static final kpiExclude = $pb.Extension<KPIItems>(_omitMessageNames ? '' : 'google.protobuf.FieldOptions', _omitFieldNames ? '' : 'kpiExclude', 50211, $pb.PbFieldType.OM, protoName: 'kpiExclude', defaultOrMaker: KPIItems.getDefault, subBuilder: KPIItems.create);
static final dataRestrictionKey = $pb.Extension<$core.String>(_omitMessageNames ? '' : 'google.protobuf.FieldOptions', _omitFieldNames ? '' : 'dataRestrictionKey', 50212, $pb.PbFieldType.OS, protoName: 'dataRestrictionKey');
static final parentEntity = $pb.Extension<$core.String>(_omitMessageNames ? '' : 'google.protobuf.FieldOptions', _omitFieldNames ? '' : 'parentEntity', 50213, $pb.PbFieldType.OS, protoName: 'parentEntity');
static final aggAppend = $pb.Extension<$core.String>(_omitMessageNames ? '' : 'google.protobuf.FieldOptions', _omitFieldNames ? '' : 'aggAppend', 50214, $pb.PbFieldType.OS, protoName: 'aggAppend');
static final enrichmentClear = $pb.Extension<$core.String>(_omitMessageNames ? '' : 'google.protobuf.FieldOptions', _omitFieldNames ? '' : 'enrichmentClear', 50215, $pb.PbFieldType.OS, protoName: 'enrichmentClear');
static final extractRefExclude = $pb.Extension<$core.String>(_omitMessageNames ? '' : 'google.protobuf.FieldOptions', _omitFieldNames ? '' : 'extractRefExclude', 50216, $pb.PbFieldType.OS, protoName: 'extractRefExclude');
static final indexationType = $pb.Extension<FieldTypes>(_omitMessageNames ? '' : 'google.protobuf.FieldOptions', _omitFieldNames ? '' : 'indexationType', 50217, $pb.PbFieldType.OM, protoName: 'indexationType', defaultOrMaker: FieldTypes.getDefault, subBuilder: FieldTypes.create);
static final kpiItems = $pb.Extension<KPIItems>(_omitMessageNames ? '' : 'google.protobuf.FieldOptions', _omitFieldNames ? '' : 'kpiItems', 50218, $pb.PbFieldType.OM, protoName: 'kpiItems', defaultOrMaker: KPIItems.getDefault, subBuilder: KPIItems.create);
static final viewType = $pb.Extension<FieldTypes>(_omitMessageNames ? '' : 'google.protobuf.FieldOptions', _omitFieldNames ? '' : 'viewType', 50219, $pb.PbFieldType.OM, protoName: 'viewType', defaultOrMaker: FieldTypes.getDefault, subBuilder: FieldTypes.create);
static final mapTypePath = $pb.Extension<$core.String>(_omitMessageNames ? '' : 'google.protobuf.FieldOptions', _omitFieldNames ? '' : 'mapTypePath', 50220, $pb.PbFieldType.OS, protoName: 'mapTypePath');
static final indexationSkip = $pb.Extension<$core.bool>(_omitMessageNames ? '' : 'google.protobuf.FieldOptions', _omitFieldNames ? '' : 'indexationSkip', 50221, $pb.PbFieldType.OB, protoName: 'indexationSkip');
static final indexationLimit = $pb.Extension<$core.int>(_omitMessageNames ? '' : 'google.protobuf.FieldOptions', _omitFieldNames ? '' : 'indexationLimit', 50222, $pb.PbFieldType.OU3, protoName: 'indexationLimit');
static final enrichmentSkippedPath = $pb.Extension<$core.String>(_omitMessageNames ? '' : 'google.protobuf.FieldOptions', _omitFieldNames ? '' : 'enrichmentSkippedPath', 50223, $pb.PbFieldType.OS, protoName: 'enrichmentSkippedPath');
static final serviceType = $pb.Extension<$core.String>(_omitMessageNames ? '' : 'google.protobuf.ServiceOptions', _omitFieldNames ? '' : 'serviceType', 50300, $pb.PbFieldType.OS, protoName: 'serviceType'); static final serviceType = $pb.Extension<$core.String>(_omitMessageNames ? '' : 'google.protobuf.ServiceOptions', _omitFieldNames ? '' : 'serviceType', 50300, $pb.PbFieldType.OS, protoName: 'serviceType');
static final k8sService = $pb.Extension<$core.String>(_omitMessageNames ? '' : 'google.protobuf.ServiceOptions', _omitFieldNames ? '' : 'k8sService', 50301, $pb.PbFieldType.OS, protoName: 'k8sService'); static final k8sService = $pb.Extension<$core.String>(_omitMessageNames ? '' : 'google.protobuf.ServiceOptions', _omitFieldNames ? '' : 'k8sService', 50301, $pb.PbFieldType.OS, protoName: 'k8sService');
static final roleManager = $pb.Extension<$core.bool>(_omitMessageNames ? '' : 'google.protobuf.ServiceOptions', _omitFieldNames ? '' : 'roleManager', 50304, $pb.PbFieldType.OB, protoName: 'roleManager'); static final roleManager = $pb.Extension<$core.bool>(_omitMessageNames ? '' : 'google.protobuf.ServiceOptions', _omitFieldNames ? '' : 'roleManager', 50304, $pb.PbFieldType.OB, protoName: 'roleManager');
@@ -47,11 +482,23 @@ class Options {
static final roles = $pb.Extension<$core.String>(_omitMessageNames ? '' : 'google.protobuf.MethodOptions', _omitFieldNames ? '' : 'roles', 50402, $pb.PbFieldType.OS); static final roles = $pb.Extension<$core.String>(_omitMessageNames ? '' : 'google.protobuf.MethodOptions', _omitFieldNames ? '' : 'roles', 50402, $pb.PbFieldType.OS);
static final platformReserved = $pb.Extension<$core.bool>(_omitMessageNames ? '' : 'google.protobuf.MethodOptions', _omitFieldNames ? '' : 'platformReserved', 50403, $pb.PbFieldType.OB, protoName: 'platformReserved'); static final platformReserved = $pb.Extension<$core.bool>(_omitMessageNames ? '' : 'google.protobuf.MethodOptions', _omitFieldNames ? '' : 'platformReserved', 50403, $pb.PbFieldType.OB, protoName: 'platformReserved');
static final moduleID = $pb.Extension<$core.String>(_omitMessageNames ? '' : 'google.protobuf.MethodOptions', _omitFieldNames ? '' : 'moduleID', 50404, $pb.PbFieldType.OS, protoName: 'moduleID'); static final moduleID = $pb.Extension<$core.String>(_omitMessageNames ? '' : 'google.protobuf.MethodOptions', _omitFieldNames ? '' : 'moduleID', 50404, $pb.PbFieldType.OS, protoName: 'moduleID');
static final tableName = $pb.Extension<$core.String>(_omitMessageNames ? '' : 'google.protobuf.MethodOptions', _omitFieldNames ? '' : 'tableName', 50405, $pb.PbFieldType.OS, protoName: 'tableName');
static final customInput = $pb.Extension<$core.bool>(_omitMessageNames ? '' : 'google.protobuf.MethodOptions', _omitFieldNames ? '' : 'customInput', 50406, $pb.PbFieldType.OB, protoName: 'customInput');
static final tags = $pb.Extension<$core.String>(_omitMessageNames ? '' : 'google.protobuf.MethodOptions', _omitFieldNames ? '' : 'tags', 50407, $pb.PbFieldType.OS);
static final aliasType = $pb.Extension<$core.String>(_omitMessageNames ? '' : 'google.protobuf.MethodOptions', _omitFieldNames ? '' : 'aliasType', 50408, $pb.PbFieldType.OS, protoName: 'aliasType');
static final value = $pb.Extension<$core.String>(_omitMessageNames ? '' : 'google.protobuf.EnumValueOptions', _omitFieldNames ? '' : 'value', 50500, $pb.PbFieldType.OS);
static void registerAllExtensions($pb.ExtensionRegistry registry) { static void registerAllExtensions($pb.ExtensionRegistry registry) {
registry.add(entityName); registry.add(entityName);
registry.add(entityShortName); registry.add(entityShortName);
registry.add(m0FileIgnore); registry.add(m0FileIgnore);
registry.add(moduleName); registry.add(moduleName);
registry.add(isDataRestricted);
registry.add(noAgg);
registry.add(enrichments);
registry.add(kpiGroups);
registry.add(version);
registry.add(entityRscType);
registry.add(entityProjectTypes);
registry.add(messageType); registry.add(messageType);
registry.add(payload); registry.add(payload);
registry.add(action); registry.add(action);
@@ -60,6 +507,13 @@ class Options {
registry.add(postAggMethods); registry.add(postAggMethods);
registry.add(additionalSource); registry.add(additionalSource);
registry.add(preAggMethods); registry.add(preAggMethods);
registry.add(idGenMethod);
registry.add(triggerEventFilters);
registry.add(triggerNotEventFilters);
registry.add(windowMethod);
registry.add(keyByExpression);
registry.add(triggerMinStatusFilter);
registry.add(triggerMaxStatusFilter);
registry.add(metadata); registry.add(metadata);
registry.add(mapPath); registry.add(mapPath);
registry.add(language); registry.add(language);
@@ -70,6 +524,19 @@ class Options {
registry.add(segmentationKeys); registry.add(segmentationKeys);
registry.add(transientRef); registry.add(transientRef);
registry.add(kpi); registry.add(kpi);
registry.add(kpiExclude);
registry.add(dataRestrictionKey);
registry.add(parentEntity);
registry.add(aggAppend);
registry.add(enrichmentClear);
registry.add(extractRefExclude);
registry.add(indexationType);
registry.add(kpiItems);
registry.add(viewType);
registry.add(mapTypePath);
registry.add(indexationSkip);
registry.add(indexationLimit);
registry.add(enrichmentSkippedPath);
registry.add(serviceType); registry.add(serviceType);
registry.add(k8sService); registry.add(k8sService);
registry.add(roleManager); registry.add(roleManager);
@@ -79,9 +546,14 @@ class Options {
registry.add(roles); registry.add(roles);
registry.add(platformReserved); registry.add(platformReserved);
registry.add(moduleID); registry.add(moduleID);
registry.add(tableName);
registry.add(customInput);
registry.add(tags);
registry.add(aliasType);
registry.add(value);
} }
} }
const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); const $core.bool _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names');
const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); const $core.bool _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names');

View File

@@ -1,11 +1,37 @@
// This is a generated file - do not edit.
// //
// Generated code. Do not modify. // Generated from core/options.proto.
// source: core/options.proto
//
// @dart = 3.3 // @dart = 3.3
// ignore_for_file: annotate_overrides, camel_case_types, comment_references // ignore_for_file: annotate_overrides, camel_case_types, comment_references
// ignore_for_file: constant_identifier_names, library_prefixes // ignore_for_file: constant_identifier_names
// ignore_for_file: non_constant_identifier_names, prefer_final_fields // ignore_for_file: curly_braces_in_flow_control_structures
// ignore_for_file: unnecessary_import, unnecessary_this, unused_import // ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
// ignore_for_file: non_constant_identifier_names
import 'dart:core' as $core;
import 'package:protobuf/protobuf.dart' as $pb;
class KPIGroupType extends $pb.ProtobufEnum {
static const KPIGroupType KPIGROUP_TYPE_UNKNOWN = KPIGroupType._(0, _omitEnumNames ? '' : 'KPIGROUP_TYPE_UNKNOWN');
static const KPIGroupType KPIGROUP_TYPE_SINK = KPIGroupType._(1, _omitEnumNames ? '' : 'KPIGROUP_TYPE_SINK');
static const KPIGroupType KPIGROUP_TYPE_MATERIALIZED = KPIGroupType._(2, _omitEnumNames ? '' : 'KPIGROUP_TYPE_MATERIALIZED');
static const KPIGroupType KPIGROUP_TYPE_VIEW = KPIGroupType._(3, _omitEnumNames ? '' : 'KPIGROUP_TYPE_VIEW');
static const $core.List<KPIGroupType> values = <KPIGroupType> [
KPIGROUP_TYPE_UNKNOWN,
KPIGROUP_TYPE_SINK,
KPIGROUP_TYPE_MATERIALIZED,
KPIGROUP_TYPE_VIEW,
];
static final $core.List<KPIGroupType?> _byValue = $pb.ProtobufEnum.$_initByValueList(values, 3);
static KPIGroupType? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value];
const KPIGroupType._(super.value, super.name);
}
const $core.bool _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names');

View File

@@ -1,15 +1,124 @@
// This is a generated file - do not edit.
// //
// Generated code. Do not modify. // Generated from core/options.proto.
// source: core/options.proto
//
// @dart = 3.3 // @dart = 3.3
// ignore_for_file: annotate_overrides, camel_case_types, comment_references // ignore_for_file: annotate_overrides, camel_case_types, comment_references
// ignore_for_file: constant_identifier_names, library_prefixes // ignore_for_file: constant_identifier_names
// ignore_for_file: non_constant_identifier_names, prefer_final_fields // ignore_for_file: curly_braces_in_flow_control_structures
// ignore_for_file: unnecessary_import, unnecessary_this, unused_import // ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
// ignore_for_file: non_constant_identifier_names, unused_import
import 'dart:convert' as $convert; import 'dart:convert' as $convert;
import 'dart:core' as $core; import 'dart:core' as $core;
import 'dart:typed_data' as $typed_data; import 'dart:typed_data' as $typed_data;
@$core.Deprecated('Use kPIGroupTypeDescriptor instead')
const KPIGroupType$json = {
'1': 'KPIGroupType',
'2': [
{'1': 'KPIGROUP_TYPE_UNKNOWN', '2': 0},
{'1': 'KPIGROUP_TYPE_SINK', '2': 1},
{'1': 'KPIGROUP_TYPE_MATERIALIZED', '2': 2},
{'1': 'KPIGROUP_TYPE_VIEW', '2': 3},
],
};
/// Descriptor for `KPIGroupType`. Decode as a `google.protobuf.EnumDescriptorProto`.
final $typed_data.Uint8List kPIGroupTypeDescriptor = $convert.base64Decode(
'CgxLUElHcm91cFR5cGUSGQoVS1BJR1JPVVBfVFlQRV9VTktOT1dOEAASFgoSS1BJR1JPVVBfVF'
'lQRV9TSU5LEAESHgoaS1BJR1JPVVBfVFlQRV9NQVRFUklBTElaRUQQAhIWChJLUElHUk9VUF9U'
'WVBFX1ZJRVcQAw==');
@$core.Deprecated('Use kPIGroupsDescriptor instead')
const KPIGroups$json = {
'1': 'KPIGroups',
'2': [
{'1': 'Groups', '3': 1, '4': 3, '5': 11, '6': '.api.KPIGroup', '10': 'Groups'},
],
};
/// Descriptor for `KPIGroups`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List kPIGroupsDescriptor = $convert.base64Decode(
'CglLUElHcm91cHMSJQoGR3JvdXBzGAEgAygLMg0uYXBpLktQSUdyb3VwUgZHcm91cHM=');
@$core.Deprecated('Use kPIGroupDescriptor instead')
const KPIGroup$json = {
'1': 'KPIGroup',
'2': [
{'1': 'Name', '3': 1, '4': 1, '5': 9, '10': 'Name'},
{'1': 'Type', '3': 2, '4': 1, '5': 14, '6': '.api.KPIGroupType', '10': 'Type'},
{'1': 'Queryable', '3': 3, '4': 1, '5': 8, '10': 'Queryable'},
{'1': 'GroupToQuery', '3': 4, '4': 1, '5': 9, '10': 'GroupToQuery'},
{'1': 'OrderBy', '3': 5, '4': 1, '5': 9, '10': 'OrderBy'},
{'1': 'Engine', '3': 6, '4': 1, '5': 9, '10': 'Engine'},
{'1': 'HeaderColumns', '3': 7, '4': 1, '5': 9, '10': 'HeaderColumns'},
{'1': 'PartitionBy', '3': 8, '4': 1, '5': 9, '10': 'PartitionBy'},
],
};
/// Descriptor for `KPIGroup`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List kPIGroupDescriptor = $convert.base64Decode(
'CghLUElHcm91cBISCgROYW1lGAEgASgJUgROYW1lEiUKBFR5cGUYAiABKA4yES5hcGkuS1BJR3'
'JvdXBUeXBlUgRUeXBlEhwKCVF1ZXJ5YWJsZRgDIAEoCFIJUXVlcnlhYmxlEiIKDEdyb3VwVG9R'
'dWVyeRgEIAEoCVIMR3JvdXBUb1F1ZXJ5EhgKB09yZGVyQnkYBSABKAlSB09yZGVyQnkSFgoGRW'
'5naW5lGAYgASgJUgZFbmdpbmUSJAoNSGVhZGVyQ29sdW1ucxgHIAEoCVINSGVhZGVyQ29sdW1u'
'cxIgCgtQYXJ0aXRpb25CeRgIIAEoCVILUGFydGl0aW9uQnk=');
@$core.Deprecated('Use kPIItemsDescriptor instead')
const KPIItems$json = {
'1': 'KPIItems',
'2': [
{'1': 'Items', '3': 1, '4': 3, '5': 11, '6': '.api.KPIItem', '10': 'Items'},
],
};
/// Descriptor for `KPIItems`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List kPIItemsDescriptor = $convert.base64Decode(
'CghLUElJdGVtcxIiCgVJdGVtcxgBIAMoCzIMLmFwaS5LUElJdGVtUgVJdGVtcw==');
@$core.Deprecated('Use kPIItemDescriptor instead')
const KPIItem$json = {
'1': 'KPIItem',
'2': [
{'1': 'Context', '3': 1, '4': 1, '5': 9, '10': 'Context'},
{'1': 'Group', '3': 2, '4': 1, '5': 9, '10': 'Group'},
{'1': 'Queryable', '3': 3, '4': 1, '5': 8, '10': 'Queryable'},
{'1': 'GroupToJoin', '3': 4, '4': 1, '5': 9, '10': 'GroupToJoin'},
{'1': 'CustomType', '3': 5, '4': 1, '5': 9, '10': 'CustomType'},
],
};
/// Descriptor for `KPIItem`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List kPIItemDescriptor = $convert.base64Decode(
'CgdLUElJdGVtEhgKB0NvbnRleHQYASABKAlSB0NvbnRleHQSFAoFR3JvdXAYAiABKAlSBUdyb3'
'VwEhwKCVF1ZXJ5YWJsZRgDIAEoCFIJUXVlcnlhYmxlEiAKC0dyb3VwVG9Kb2luGAQgASgJUgtH'
'cm91cFRvSm9pbhIeCgpDdXN0b21UeXBlGAUgASgJUgpDdXN0b21UeXBl');
@$core.Deprecated('Use fieldTypesDescriptor instead')
const FieldTypes$json = {
'1': 'FieldTypes',
'2': [
{'1': 'Types', '3': 1, '4': 3, '5': 11, '6': '.api.FieldType', '10': 'Types'},
],
};
/// Descriptor for `FieldTypes`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List fieldTypesDescriptor = $convert.base64Decode(
'CgpGaWVsZFR5cGVzEiQKBVR5cGVzGAEgAygLMg4uYXBpLkZpZWxkVHlwZVIFVHlwZXM=');
@$core.Deprecated('Use fieldTypeDescriptor instead')
const FieldType$json = {
'1': 'FieldType',
'2': [
{'1': 'Context', '3': 1, '4': 1, '5': 9, '10': 'Context'},
{'1': 'Type', '3': 2, '4': 1, '5': 9, '10': 'Type'},
],
};
/// Descriptor for `FieldType`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List fieldTypeDescriptor = $convert.base64Decode(
'CglGaWVsZFR5cGUSGAoHQ29udGV4dBgBIAEoCVIHQ29udGV4dBISCgRUeXBlGAIgASgJUgRUeX'
'Bl');

File diff suppressed because it is too large Load Diff

View File

@@ -1,18 +1,101 @@
// This is a generated file - do not edit.
// //
// Generated code. Do not modify. // Generated from core/shared.proto.
// source: core/shared.proto
//
// @dart = 3.3 // @dart = 3.3
// ignore_for_file: annotate_overrides, camel_case_types, comment_references // ignore_for_file: annotate_overrides, camel_case_types, comment_references
// ignore_for_file: constant_identifier_names, library_prefixes // ignore_for_file: constant_identifier_names
// ignore_for_file: non_constant_identifier_names, prefer_final_fields // ignore_for_file: curly_braces_in_flow_control_structures
// ignore_for_file: unnecessary_import, unnecessary_this, unused_import // ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
// ignore_for_file: non_constant_identifier_names
import 'dart:core' as $core; import 'dart:core' as $core;
import 'package:protobuf/protobuf.dart' as $pb; import 'package:protobuf/protobuf.dart' as $pb;
/// List all data set in the model
class ModelDataSetEnum extends $pb.ProtobufEnum {
static const ModelDataSetEnum ACTOR = ModelDataSetEnum._(0, _omitEnumNames ? '' : 'ACTOR');
static const ModelDataSetEnum EXECUTIONFLOW = ModelDataSetEnum._(1, _omitEnumNames ? '' : 'EXECUTIONFLOW');
static const ModelDataSetEnum HANDLINGUNIT = ModelDataSetEnum._(2, _omitEnumNames ? '' : 'HANDLINGUNIT');
static const ModelDataSetEnum ITEM = ModelDataSetEnum._(3, _omitEnumNames ? '' : 'ITEM');
static const ModelDataSetEnum METADATA = ModelDataSetEnum._(4, _omitEnumNames ? '' : 'METADATA');
static const ModelDataSetEnum MOVEMENT = ModelDataSetEnum._(5, _omitEnumNames ? '' : 'MOVEMENT');
static const ModelDataSetEnum ORDER = ModelDataSetEnum._(6, _omitEnumNames ? '' : 'ORDER');
static const ModelDataSetEnum PARTNER = ModelDataSetEnum._(7, _omitEnumNames ? '' : 'PARTNER');
static const ModelDataSetEnum STOCK = ModelDataSetEnum._(8, _omitEnumNames ? '' : 'STOCK');
static const ModelDataSetEnum TRACKING = ModelDataSetEnum._(9, _omitEnumNames ? '' : 'TRACKING');
static const ModelDataSetEnum CLAIM = ModelDataSetEnum._(10, _omitEnumNames ? '' : 'CLAIM');
static const $core.List<ModelDataSetEnum> values = <ModelDataSetEnum> [
ACTOR,
EXECUTIONFLOW,
HANDLINGUNIT,
ITEM,
METADATA,
MOVEMENT,
ORDER,
PARTNER,
STOCK,
TRACKING,
CLAIM,
];
static final $core.List<ModelDataSetEnum?> _byValue = $pb.ProtobufEnum.$_initByValueList(values, 10);
static ModelDataSetEnum? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value];
const ModelDataSetEnum._(super.value, super.name);
}
class WeekDay extends $pb.ProtobufEnum {
static const WeekDay WEEKDAY_UNDEFINED = WeekDay._(0, _omitEnumNames ? '' : 'WEEKDAY_UNDEFINED');
static const WeekDay WEEKDAY_MONDAY = WeekDay._(1, _omitEnumNames ? '' : 'WEEKDAY_MONDAY');
static const WeekDay WEEKDAY_TUESDAY = WeekDay._(2, _omitEnumNames ? '' : 'WEEKDAY_TUESDAY');
static const WeekDay WEEKDAY_WEDNESDAY = WeekDay._(3, _omitEnumNames ? '' : 'WEEKDAY_WEDNESDAY');
static const WeekDay WEEKDAY_THURSDAY = WeekDay._(4, _omitEnumNames ? '' : 'WEEKDAY_THURSDAY');
static const WeekDay WEEKDAY_FRIDAY = WeekDay._(5, _omitEnumNames ? '' : 'WEEKDAY_FRIDAY');
static const WeekDay WEEKDAY_SATURDAY = WeekDay._(6, _omitEnumNames ? '' : 'WEEKDAY_SATURDAY');
static const WeekDay WEEKDAY_SUNDAY = WeekDay._(7, _omitEnumNames ? '' : 'WEEKDAY_SUNDAY');
static const $core.List<WeekDay> values = <WeekDay> [
WEEKDAY_UNDEFINED,
WEEKDAY_MONDAY,
WEEKDAY_TUESDAY,
WEEKDAY_WEDNESDAY,
WEEKDAY_THURSDAY,
WEEKDAY_FRIDAY,
WEEKDAY_SATURDAY,
WEEKDAY_SUNDAY,
];
static final $core.List<WeekDay?> _byValue = $pb.ProtobufEnum.$_initByValueList(values, 7);
static WeekDay? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value];
const WeekDay._(super.value, super.name);
}
class SeverityLevel extends $pb.ProtobufEnum {
static const SeverityLevel SEVERITYLEVEL_UNKNOWN = SeverityLevel._(0, _omitEnumNames ? '' : 'SEVERITYLEVEL_UNKNOWN');
static const SeverityLevel INFO = SeverityLevel._(1, _omitEnumNames ? '' : 'INFO');
static const SeverityLevel WARNING = SeverityLevel._(2, _omitEnumNames ? '' : 'WARNING');
static const SeverityLevel ERROR = SeverityLevel._(3, _omitEnumNames ? '' : 'ERROR');
static const SeverityLevel SECURITY = SeverityLevel._(4, _omitEnumNames ? '' : 'SECURITY');
static const $core.List<SeverityLevel> values = <SeverityLevel> [
SEVERITYLEVEL_UNKNOWN,
INFO,
WARNING,
ERROR,
SECURITY,
];
static final $core.List<SeverityLevel?> _byValue = $pb.ProtobufEnum.$_initByValueList(values, 4);
static SeverityLevel? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value];
const SeverityLevel._(super.value, super.name);
}
class ResponseStatus extends $pb.ProtobufEnum { class ResponseStatus extends $pb.ProtobufEnum {
static const ResponseStatus RESPONSESTATUS_UNKNOWN = ResponseStatus._(0, _omitEnumNames ? '' : 'RESPONSESTATUS_UNKNOWN'); static const ResponseStatus RESPONSESTATUS_UNKNOWN = ResponseStatus._(0, _omitEnumNames ? '' : 'RESPONSESTATUS_UNKNOWN');
static const ResponseStatus OK = ResponseStatus._(1, _omitEnumNames ? '' : 'OK'); static const ResponseStatus OK = ResponseStatus._(1, _omitEnumNames ? '' : 'OK');
@@ -34,11 +117,413 @@ class ResponseStatus extends $pb.ProtobufEnum {
TIMEOUT, TIMEOUT,
]; ];
static final $core.Map<$core.int, ResponseStatus> _byValue = $pb.ProtobufEnum.initByValue(values); static final $core.List<ResponseStatus?> _byValue = $pb.ProtobufEnum.$_initByValueList(values, 7);
static ResponseStatus? valueOf($core.int value) => _byValue[value]; static ResponseStatus? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value];
const ResponseStatus._(super.v, super.n); const ResponseStatus._(super.value, super.name);
}
class WorkflowTypeEnum extends $pb.ProtobufEnum {
static const WorkflowTypeEnum CREATE_PROJECT = WorkflowTypeEnum._(0, _omitEnumNames ? '' : 'CREATE_PROJECT');
static const WorkflowTypeEnum DELETE_PROJECT = WorkflowTypeEnum._(1, _omitEnumNames ? '' : 'DELETE_PROJECT');
static const WorkflowTypeEnum DELETE_CORE = WorkflowTypeEnum._(2, _omitEnumNames ? '' : 'DELETE_CORE');
static const WorkflowTypeEnum DELETE_PARTNER_APP = WorkflowTypeEnum._(3, _omitEnumNames ? '' : 'DELETE_PARTNER_APP');
static const WorkflowTypeEnum DELETE_CONNECTION = WorkflowTypeEnum._(4, _omitEnumNames ? '' : 'DELETE_CONNECTION');
static const WorkflowTypeEnum BILLING = WorkflowTypeEnum._(5, _omitEnumNames ? '' : 'BILLING');
static const WorkflowTypeEnum EXTRACT_DATA = WorkflowTypeEnum._(6, _omitEnumNames ? '' : 'EXTRACT_DATA');
static const WorkflowTypeEnum STOP_FLINK = WorkflowTypeEnum._(7, _omitEnumNames ? '' : 'STOP_FLINK');
static const WorkflowTypeEnum START_FLINK = WorkflowTypeEnum._(8, _omitEnumNames ? '' : 'START_FLINK');
static const WorkflowTypeEnum STOP_IDLE_FLINK = WorkflowTypeEnum._(9, _omitEnumNames ? '' : 'STOP_IDLE_FLINK');
static const WorkflowTypeEnum OPTIMIZE_CLICKHOUSE = WorkflowTypeEnum._(10, _omitEnumNames ? '' : 'OPTIMIZE_CLICKHOUSE');
static const WorkflowTypeEnum WAKEUP_FLINK = WorkflowTypeEnum._(11, _omitEnumNames ? '' : 'WAKEUP_FLINK');
static const WorkflowTypeEnum CREATE_ORGANISATION = WorkflowTypeEnum._(12, _omitEnumNames ? '' : 'CREATE_ORGANISATION');
static const WorkflowTypeEnum DELETE_ORGANISATION = WorkflowTypeEnum._(13, _omitEnumNames ? '' : 'DELETE_ORGANISATION');
static const WorkflowTypeEnum PROVISION_PULSAR_DOMAIN = WorkflowTypeEnum._(14, _omitEnumNames ? '' : 'PROVISION_PULSAR_DOMAIN');
static const WorkflowTypeEnum DEPROVISION_PULSAR_DOMAIN = WorkflowTypeEnum._(15, _omitEnumNames ? '' : 'DEPROVISION_PULSAR_DOMAIN');
static const WorkflowTypeEnum PROVISION_PULSAR_ORGANISATION = WorkflowTypeEnum._(16, _omitEnumNames ? '' : 'PROVISION_PULSAR_ORGANISATION');
static const WorkflowTypeEnum DEPROVISION_PULSAR_ORGANISATION = WorkflowTypeEnum._(17, _omitEnumNames ? '' : 'DEPROVISION_PULSAR_ORGANISATION');
static const WorkflowTypeEnum RECOVER_DATA = WorkflowTypeEnum._(18, _omitEnumNames ? '' : 'RECOVER_DATA');
static const WorkflowTypeEnum DAILY_PROJECTS_OPERATIONS = WorkflowTypeEnum._(19, _omitEnumNames ? '' : 'DAILY_PROJECTS_OPERATIONS');
static const WorkflowTypeEnum HEALTH_CHECK_WORKFLOWS = WorkflowTypeEnum._(20, _omitEnumNames ? '' : 'HEALTH_CHECK_WORKFLOWS');
static const WorkflowTypeEnum EXTRACT_KPI_DATA = WorkflowTypeEnum._(21, _omitEnumNames ? '' : 'EXTRACT_KPI_DATA');
static const WorkflowTypeEnum UPDATE_MATERIALIZED_VIEW = WorkflowTypeEnum._(22, _omitEnumNames ? '' : 'UPDATE_MATERIALIZED_VIEW');
static const WorkflowTypeEnum PRUNE_DATA = WorkflowTypeEnum._(23, _omitEnumNames ? '' : 'PRUNE_DATA');
static const WorkflowTypeEnum CHECK_AND_LAUNCH_RECOVER_DATA = WorkflowTypeEnum._(24, _omitEnumNames ? '' : 'CHECK_AND_LAUNCH_RECOVER_DATA');
static const WorkflowTypeEnum SYNCHRONIZE_RULES_ON_GIT = WorkflowTypeEnum._(25, _omitEnumNames ? '' : 'SYNCHRONIZE_RULES_ON_GIT');
static const WorkflowTypeEnum ANONYMIZE_DATA = WorkflowTypeEnum._(26, _omitEnumNames ? '' : 'ANONYMIZE_DATA');
static const WorkflowTypeEnum UPGRADE_MODEL = WorkflowTypeEnum._(27, _omitEnumNames ? '' : 'UPGRADE_MODEL');
static const WorkflowTypeEnum SWEEP = WorkflowTypeEnum._(28, _omitEnumNames ? '' : 'SWEEP');
static const $core.List<WorkflowTypeEnum> values = <WorkflowTypeEnum> [
CREATE_PROJECT,
DELETE_PROJECT,
DELETE_CORE,
DELETE_PARTNER_APP,
DELETE_CONNECTION,
BILLING,
EXTRACT_DATA,
STOP_FLINK,
START_FLINK,
STOP_IDLE_FLINK,
OPTIMIZE_CLICKHOUSE,
WAKEUP_FLINK,
CREATE_ORGANISATION,
DELETE_ORGANISATION,
PROVISION_PULSAR_DOMAIN,
DEPROVISION_PULSAR_DOMAIN,
PROVISION_PULSAR_ORGANISATION,
DEPROVISION_PULSAR_ORGANISATION,
RECOVER_DATA,
DAILY_PROJECTS_OPERATIONS,
HEALTH_CHECK_WORKFLOWS,
EXTRACT_KPI_DATA,
UPDATE_MATERIALIZED_VIEW,
PRUNE_DATA,
CHECK_AND_LAUNCH_RECOVER_DATA,
SYNCHRONIZE_RULES_ON_GIT,
ANONYMIZE_DATA,
UPGRADE_MODEL,
SWEEP,
];
static final $core.List<WorkflowTypeEnum?> _byValue = $pb.ProtobufEnum.$_initByValueList(values, 28);
static WorkflowTypeEnum? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value];
const WorkflowTypeEnum._(super.value, super.name);
}
class ModuleWorkflowTypeEnum extends $pb.ProtobufEnum {
static const ModuleWorkflowTypeEnum PRE_WORKFLOW = ModuleWorkflowTypeEnum._(0, _omitEnumNames ? '' : 'PRE_WORKFLOW');
static const ModuleWorkflowTypeEnum POST_WORKFLOW = ModuleWorkflowTypeEnum._(1, _omitEnumNames ? '' : 'POST_WORKFLOW');
static const $core.List<ModuleWorkflowTypeEnum> values = <ModuleWorkflowTypeEnum> [
PRE_WORKFLOW,
POST_WORKFLOW,
];
static final $core.List<ModuleWorkflowTypeEnum?> _byValue = $pb.ProtobufEnum.$_initByValueList(values, 1);
static ModuleWorkflowTypeEnum? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value];
const ModuleWorkflowTypeEnum._(super.value, super.name);
}
class WorkflowSemaphore extends $pb.ProtobufEnum {
static const WorkflowSemaphore WS_DB_OPERATION = WorkflowSemaphore._(0, _omitEnumNames ? '' : 'WS_DB_OPERATION');
static const WorkflowSemaphore WS_PROVISIONING = WorkflowSemaphore._(1, _omitEnumNames ? '' : 'WS_PROVISIONING');
static const WorkflowSemaphore WS_RECOVER_DATA = WorkflowSemaphore._(2, _omitEnumNames ? '' : 'WS_RECOVER_DATA');
static const WorkflowSemaphore WS_SYNCHRONIZE_RULES = WorkflowSemaphore._(3, _omitEnumNames ? '' : 'WS_SYNCHRONIZE_RULES');
static const WorkflowSemaphore WS_CHECK_AND_LAUNCH_RECOVER_DATA = WorkflowSemaphore._(4, _omitEnumNames ? '' : 'WS_CHECK_AND_LAUNCH_RECOVER_DATA');
static const $core.List<WorkflowSemaphore> values = <WorkflowSemaphore> [
WS_DB_OPERATION,
WS_PROVISIONING,
WS_RECOVER_DATA,
WS_SYNCHRONIZE_RULES,
WS_CHECK_AND_LAUNCH_RECOVER_DATA,
];
static final $core.List<WorkflowSemaphore?> _byValue = $pb.ProtobufEnum.$_initByValueList(values, 4);
static WorkflowSemaphore? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value];
const WorkflowSemaphore._(super.value, super.name);
}
class SharePolicy extends $pb.ProtobufEnum {
static const SharePolicy SHARE_POLICY_UNKNOWN = SharePolicy._(0, _omitEnumNames ? '' : 'SHARE_POLICY_UNKNOWN');
static const SharePolicy SHARE_POLICY_PRIVATE = SharePolicy._(10, _omitEnumNames ? '' : 'SHARE_POLICY_PRIVATE');
static const SharePolicy SHARE_POLICY_PUBLIC = SharePolicy._(11, _omitEnumNames ? '' : 'SHARE_POLICY_PUBLIC');
static const SharePolicy SHARE_POLICY_1DAY = SharePolicy._(20, _omitEnumNames ? '' : 'SHARE_POLICY_1DAY');
static const SharePolicy SHARE_POLICY_2DAYS = SharePolicy._(21, _omitEnumNames ? '' : 'SHARE_POLICY_2DAYS');
static const SharePolicy SHARE_POLICY_4DAYS = SharePolicy._(22, _omitEnumNames ? '' : 'SHARE_POLICY_4DAYS');
static const SharePolicy SHARE_POLICY_1WEEK = SharePolicy._(23, _omitEnumNames ? '' : 'SHARE_POLICY_1WEEK');
static const SharePolicy SHARE_POLICY_2WEEKS = SharePolicy._(24, _omitEnumNames ? '' : 'SHARE_POLICY_2WEEKS');
static const SharePolicy SHARE_POLICY_1MONTH = SharePolicy._(25, _omitEnumNames ? '' : 'SHARE_POLICY_1MONTH');
static const SharePolicy SHARE_POLICY_3MONTHS = SharePolicy._(26, _omitEnumNames ? '' : 'SHARE_POLICY_3MONTHS');
static const SharePolicy SHARE_POLICY_6MONTHS = SharePolicy._(27, _omitEnumNames ? '' : 'SHARE_POLICY_6MONTHS');
static const SharePolicy SHARE_POLICY_1YEAR = SharePolicy._(28, _omitEnumNames ? '' : 'SHARE_POLICY_1YEAR');
static const $core.List<SharePolicy> values = <SharePolicy> [
SHARE_POLICY_UNKNOWN,
SHARE_POLICY_PRIVATE,
SHARE_POLICY_PUBLIC,
SHARE_POLICY_1DAY,
SHARE_POLICY_2DAYS,
SHARE_POLICY_4DAYS,
SHARE_POLICY_1WEEK,
SHARE_POLICY_2WEEKS,
SHARE_POLICY_1MONTH,
SHARE_POLICY_3MONTHS,
SHARE_POLICY_6MONTHS,
SHARE_POLICY_1YEAR,
];
static final $core.Map<$core.int, SharePolicy> _byValue = $pb.ProtobufEnum.initByValue(values);
static SharePolicy? valueOf($core.int value) => _byValue[value];
const SharePolicy._(super.value, super.name);
}
class EntityType extends $pb.ProtobufEnum {
static const EntityType ENTITY_TYPE_UNKNOWN = EntityType._(0, _omitEnumNames ? '' : 'ENTITY_TYPE_UNKNOWN');
/// Trade
static const EntityType ENTITY_TYPE_ACTOR = EntityType._(1, _omitEnumNames ? '' : 'ENTITY_TYPE_ACTOR');
static const EntityType ENTITY_TYPE_EXECUTIONFLOW = EntityType._(2, _omitEnumNames ? '' : 'ENTITY_TYPE_EXECUTIONFLOW');
static const EntityType ENTITY_TYPE_FAMILY = EntityType._(3, _omitEnumNames ? '' : 'ENTITY_TYPE_FAMILY');
static const EntityType ENTITY_TYPE_HANDLINGUNIT = EntityType._(4, _omitEnumNames ? '' : 'ENTITY_TYPE_HANDLINGUNIT');
static const EntityType ENTITY_TYPE_ITEM = EntityType._(5, _omitEnumNames ? '' : 'ENTITY_TYPE_ITEM');
static const EntityType ENTITY_TYPE_ORDER = EntityType._(6, _omitEnumNames ? '' : 'ENTITY_TYPE_ORDER');
static const EntityType ENTITY_TYPE_PARTNER = EntityType._(7, _omitEnumNames ? '' : 'ENTITY_TYPE_PARTNER');
static const EntityType ENTITY_TYPE_STOCK = EntityType._(8, _omitEnumNames ? '' : 'ENTITY_TYPE_STOCK');
static const EntityType ENTITY_TYPE_TRACKING = EntityType._(9, _omitEnumNames ? '' : 'ENTITY_TYPE_TRACKING');
static const EntityType ENTITY_TYPE_MOVEMENT = EntityType._(11, _omitEnumNames ? '' : 'ENTITY_TYPE_MOVEMENT');
/// Collab
static const EntityType ENTITY_TYPE_CLAIM = EntityType._(10, _omitEnumNames ? '' : 'ENTITY_TYPE_CLAIM');
static const $core.List<EntityType> values = <EntityType> [
ENTITY_TYPE_UNKNOWN,
ENTITY_TYPE_ACTOR,
ENTITY_TYPE_EXECUTIONFLOW,
ENTITY_TYPE_FAMILY,
ENTITY_TYPE_HANDLINGUNIT,
ENTITY_TYPE_ITEM,
ENTITY_TYPE_ORDER,
ENTITY_TYPE_PARTNER,
ENTITY_TYPE_STOCK,
ENTITY_TYPE_TRACKING,
ENTITY_TYPE_MOVEMENT,
ENTITY_TYPE_CLAIM,
];
static final $core.List<EntityType?> _byValue = $pb.ProtobufEnum.$_initByValueList(values, 11);
static EntityType? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value];
const EntityType._(super.value, super.name);
}
class ClaimEntityType extends $pb.ProtobufEnum {
static const ClaimEntityType CLAIM_ENTITY_TYPE_UNKNOWN = ClaimEntityType._(0, _omitEnumNames ? '' : 'CLAIM_ENTITY_TYPE_UNKNOWN');
/// Trade
static const ClaimEntityType CLAIM_ENTITY_TYPE_ACTOR = ClaimEntityType._(1, _omitEnumNames ? '' : 'CLAIM_ENTITY_TYPE_ACTOR');
static const ClaimEntityType CLAIM_ENTITY_TYPE_EXECUTIONFLOW = ClaimEntityType._(2, _omitEnumNames ? '' : 'CLAIM_ENTITY_TYPE_EXECUTIONFLOW');
static const ClaimEntityType CLAIM_ENTITY_TYPE_HANDLINGUNIT = ClaimEntityType._(3, _omitEnumNames ? '' : 'CLAIM_ENTITY_TYPE_HANDLINGUNIT');
static const ClaimEntityType CLAIM_ENTITY_TYPE_ORDER = ClaimEntityType._(4, _omitEnumNames ? '' : 'CLAIM_ENTITY_TYPE_ORDER');
/// CLAIM_ENTITY_TYPE_TRACKING = 5;
static const ClaimEntityType CLAIM_ENTITY_TYPE_MOVEMENT = ClaimEntityType._(6, _omitEnumNames ? '' : 'CLAIM_ENTITY_TYPE_MOVEMENT');
static const $core.List<ClaimEntityType> values = <ClaimEntityType> [
CLAIM_ENTITY_TYPE_UNKNOWN,
CLAIM_ENTITY_TYPE_ACTOR,
CLAIM_ENTITY_TYPE_EXECUTIONFLOW,
CLAIM_ENTITY_TYPE_HANDLINGUNIT,
CLAIM_ENTITY_TYPE_ORDER,
CLAIM_ENTITY_TYPE_MOVEMENT,
];
static final $core.List<ClaimEntityType?> _byValue = $pb.ProtobufEnum.$_initByValueList(values, 6);
static ClaimEntityType? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value];
const ClaimEntityType._(super.value, super.name);
}
class ClaimSector extends $pb.ProtobufEnum {
static const ClaimSector CLAIM_SECTOR_UNKNOWN = ClaimSector._(0, _omitEnumNames ? '' : 'CLAIM_SECTOR_UNKNOWN');
static const ClaimSector CLAIM_SECTOR_TRANSPORT = ClaimSector._(1, _omitEnumNames ? '' : 'CLAIM_SECTOR_TRANSPORT');
static const ClaimSector CLAIM_SECTOR_WAREHOUSING = ClaimSector._(2, _omitEnumNames ? '' : 'CLAIM_SECTOR_WAREHOUSING');
static const ClaimSector CLAIM_SECTOR_DELIVERY = ClaimSector._(3, _omitEnumNames ? '' : 'CLAIM_SECTOR_DELIVERY');
static const ClaimSector CLAIM_SECTOR_FINANCIAL = ClaimSector._(4, _omitEnumNames ? '' : 'CLAIM_SECTOR_FINANCIAL');
static const ClaimSector CLAIM_SECTOR_MISCELLANEOUS = ClaimSector._(5, _omitEnumNames ? '' : 'CLAIM_SECTOR_MISCELLANEOUS');
static const $core.List<ClaimSector> values = <ClaimSector> [
CLAIM_SECTOR_UNKNOWN,
CLAIM_SECTOR_TRANSPORT,
CLAIM_SECTOR_WAREHOUSING,
CLAIM_SECTOR_DELIVERY,
CLAIM_SECTOR_FINANCIAL,
CLAIM_SECTOR_MISCELLANEOUS,
];
static final $core.List<ClaimSector?> _byValue = $pb.ProtobufEnum.$_initByValueList(values, 5);
static ClaimSector? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value];
const ClaimSector._(super.value, super.name);
}
/// Enum representing different statuses of a claim.
/// Includes a "category" for each status which is used to determine the color of the status in the UI.
/// For example : CLAIM_STATUS_START_NEW is in the "START" category and the status is "NEW".
/// A status should be "CLAIM_STATUS_<category>_<status>" with category and status being alphanumeric.
class ClaimStatus extends $pb.ProtobufEnum {
static const ClaimStatus CLAIM_STATUS_UNKNOWN = ClaimStatus._(0, _omitEnumNames ? '' : 'CLAIM_STATUS_UNKNOWN');
static const ClaimStatus CLAIM_STATUS_START_NEW = ClaimStatus._(100, _omitEnumNames ? '' : 'CLAIM_STATUS_START_NEW');
static const ClaimStatus CLAIM_STATUS_START_TODO = ClaimStatus._(101, _omitEnumNames ? '' : 'CLAIM_STATUS_START_TODO');
static const ClaimStatus CLAIM_STATUS_INPROGRESS_TREATMENT = ClaimStatus._(200, _omitEnumNames ? '' : 'CLAIM_STATUS_INPROGRESS_TREATMENT');
static const ClaimStatus CLAIM_STATUS_INPROGRESS_RESOLUTION = ClaimStatus._(201, _omitEnumNames ? '' : 'CLAIM_STATUS_INPROGRESS_RESOLUTION');
static const ClaimStatus CLAIM_STATUS_STANDBY_WAITINGFORINFO = ClaimStatus._(300, _omitEnumNames ? '' : 'CLAIM_STATUS_STANDBY_WAITINGFORINFO');
static const ClaimStatus CLAIM_STATUS_STANDBY_PAUSE = ClaimStatus._(301, _omitEnumNames ? '' : 'CLAIM_STATUS_STANDBY_PAUSE');
static const ClaimStatus CLAIM_STATUS_END_CANCELLED = ClaimStatus._(400, _omitEnumNames ? '' : 'CLAIM_STATUS_END_CANCELLED');
static const ClaimStatus CLAIM_STATUS_END_SOLVED = ClaimStatus._(401, _omitEnumNames ? '' : 'CLAIM_STATUS_END_SOLVED');
static const ClaimStatus CLAIM_STATUS_END_CLOSED = ClaimStatus._(402, _omitEnumNames ? '' : 'CLAIM_STATUS_END_CLOSED');
static const ClaimStatus CLAIM_STATUS_END_REJECTED = ClaimStatus._(403, _omitEnumNames ? '' : 'CLAIM_STATUS_END_REJECTED');
static const $core.List<ClaimStatus> values = <ClaimStatus> [
CLAIM_STATUS_UNKNOWN,
CLAIM_STATUS_START_NEW,
CLAIM_STATUS_START_TODO,
CLAIM_STATUS_INPROGRESS_TREATMENT,
CLAIM_STATUS_INPROGRESS_RESOLUTION,
CLAIM_STATUS_STANDBY_WAITINGFORINFO,
CLAIM_STATUS_STANDBY_PAUSE,
CLAIM_STATUS_END_CANCELLED,
CLAIM_STATUS_END_SOLVED,
CLAIM_STATUS_END_CLOSED,
CLAIM_STATUS_END_REJECTED,
];
static final $core.Map<$core.int, ClaimStatus> _byValue = $pb.ProtobufEnum.initByValue(values);
static ClaimStatus? valueOf($core.int value) => _byValue[value];
const ClaimStatus._(super.value, super.name);
}
/// Enum representing the criticality levels of a claim.
/// The higher the criticality, the more important the claim is.
class ClaimCriticality extends $pb.ProtobufEnum {
static const ClaimCriticality CLAIM_CRITICALITY_UNKNOWN = ClaimCriticality._(0, _omitEnumNames ? '' : 'CLAIM_CRITICALITY_UNKNOWN');
static const ClaimCriticality CLAIM_CRITICALITY_LOW = ClaimCriticality._(10, _omitEnumNames ? '' : 'CLAIM_CRITICALITY_LOW');
static const ClaimCriticality CLAIM_CRITICALITY_MEDIUM = ClaimCriticality._(20, _omitEnumNames ? '' : 'CLAIM_CRITICALITY_MEDIUM');
static const ClaimCriticality CLAIM_CRITICALITY_HIGH = ClaimCriticality._(30, _omitEnumNames ? '' : 'CLAIM_CRITICALITY_HIGH');
static const ClaimCriticality CLAIM_CRITICALITY_BLOCKING = ClaimCriticality._(40, _omitEnumNames ? '' : 'CLAIM_CRITICALITY_BLOCKING');
static const $core.List<ClaimCriticality> values = <ClaimCriticality> [
CLAIM_CRITICALITY_UNKNOWN,
CLAIM_CRITICALITY_LOW,
CLAIM_CRITICALITY_MEDIUM,
CLAIM_CRITICALITY_HIGH,
CLAIM_CRITICALITY_BLOCKING,
];
static final $core.Map<$core.int, ClaimCriticality> _byValue = $pb.ProtobufEnum.initByValue(values);
static ClaimCriticality? valueOf($core.int value) => _byValue[value];
const ClaimCriticality._(super.value, super.name);
}
class TimeFormat extends $pb.ProtobufEnum {
static const TimeFormat H12 = TimeFormat._(0, _omitEnumNames ? '' : 'H12');
static const TimeFormat H23 = TimeFormat._(1, _omitEnumNames ? '' : 'H23');
static const TimeFormat H24 = TimeFormat._(2, _omitEnumNames ? '' : 'H24');
static const $core.List<TimeFormat> values = <TimeFormat> [
H12,
H23,
H24,
];
static final $core.List<TimeFormat?> _byValue = $pb.ProtobufEnum.$_initByValueList(values, 2);
static TimeFormat? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value];
const TimeFormat._(super.value, super.name);
}
class DisplayDate extends $pb.ProtobufEnum {
static const DisplayDate DATE = DisplayDate._(0, _omitEnumNames ? '' : 'DATE');
static const DisplayDate DATE_TIME = DisplayDate._(1, _omitEnumNames ? '' : 'DATE_TIME');
static const DisplayDate TIME = DisplayDate._(2, _omitEnumNames ? '' : 'TIME');
static const $core.List<DisplayDate> values = <DisplayDate> [
DATE,
DATE_TIME,
TIME,
];
static final $core.List<DisplayDate?> _byValue = $pb.ProtobufEnum.$_initByValueList(values, 2);
static DisplayDate? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value];
const DisplayDate._(super.value, super.name);
}
class EntityAdminPlatform extends $pb.ProtobufEnum {
static const EntityAdminPlatform PROJECT_PLATFORM = EntityAdminPlatform._(0, _omitEnumNames ? '' : 'PROJECT_PLATFORM');
static const EntityAdminPlatform METRICS = EntityAdminPlatform._(1, _omitEnumNames ? '' : 'METRICS');
static const EntityAdminPlatform WAKEUP_ENTITY = EntityAdminPlatform._(2, _omitEnumNames ? '' : 'WAKEUP_ENTITY');
static const EntityAdminPlatform NOTIFICATION = EntityAdminPlatform._(3, _omitEnumNames ? '' : 'NOTIFICATION');
static const $core.List<EntityAdminPlatform> values = <EntityAdminPlatform> [
PROJECT_PLATFORM,
METRICS,
WAKEUP_ENTITY,
NOTIFICATION,
];
static final $core.List<EntityAdminPlatform?> _byValue = $pb.ProtobufEnum.$_initByValueList(values, 3);
static EntityAdminPlatform? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value];
const EntityAdminPlatform._(super.value, super.name);
}
class RecoverType extends $pb.ProtobufEnum {
static const RecoverType RECOVER_OPENSEARCH = RecoverType._(0, _omitEnumNames ? '' : 'RECOVER_OPENSEARCH');
static const RecoverType RECOVER_CLICKHOUSE = RecoverType._(1, _omitEnumNames ? '' : 'RECOVER_CLICKHOUSE');
static const RecoverType RECOVER_ALL = RecoverType._(2, _omitEnumNames ? '' : 'RECOVER_ALL');
static const $core.List<RecoverType> values = <RecoverType> [
RECOVER_OPENSEARCH,
RECOVER_CLICKHOUSE,
RECOVER_ALL,
];
static final $core.List<RecoverType?> _byValue = $pb.ProtobufEnum.$_initByValueList(values, 2);
static RecoverType? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value];
const RecoverType._(super.value, super.name);
}
/// Enum representing the different types of resources which can be created in the platform.
class ResourceType extends $pb.ProtobufEnum {
static const ResourceType RESOURCE_TYPE_UNKNOWN = ResourceType._(0, _omitEnumNames ? '' : 'RESOURCE_TYPE_UNKNOWN');
static const ResourceType RESOURCE_TYPE_PLATFORM = ResourceType._(10, _omitEnumNames ? '' : 'RESOURCE_TYPE_PLATFORM');
static const ResourceType RESOURCE_TYPE_ORGANISATION = ResourceType._(20, _omitEnumNames ? '' : 'RESOURCE_TYPE_ORGANISATION');
static const ResourceType RESOURCE_TYPE_PROJECT = ResourceType._(30, _omitEnumNames ? '' : 'RESOURCE_TYPE_PROJECT');
static const ResourceType RESOURCE_TYPE_PARTNERAPP = ResourceType._(40, _omitEnumNames ? '' : 'RESOURCE_TYPE_PARTNERAPP');
static const ResourceType RESOURCE_TYPE_CONNECTION = ResourceType._(50, _omitEnumNames ? '' : 'RESOURCE_TYPE_CONNECTION');
static const ResourceType RESOURCE_TYPE_ATTACHMENTTYPE = ResourceType._(60, _omitEnumNames ? '' : 'RESOURCE_TYPE_ATTACHMENTTYPE');
static const ResourceType RESOURCE_TYPE_CLAIMTYPE = ResourceType._(70, _omitEnumNames ? '' : 'RESOURCE_TYPE_CLAIMTYPE');
static const $core.List<ResourceType> values = <ResourceType> [
RESOURCE_TYPE_UNKNOWN,
RESOURCE_TYPE_PLATFORM,
RESOURCE_TYPE_ORGANISATION,
RESOURCE_TYPE_PROJECT,
RESOURCE_TYPE_PARTNERAPP,
RESOURCE_TYPE_CONNECTION,
RESOURCE_TYPE_ATTACHMENTTYPE,
RESOURCE_TYPE_CLAIMTYPE,
];
static final $core.Map<$core.int, ResourceType> _byValue = $pb.ProtobufEnum.initByValue(values);
static ResourceType? valueOf($core.int value) => _byValue[value];
const ResourceType._(super.value, super.name);
}
class ExtractColumnFormat_type extends $pb.ProtobufEnum {
static const ExtractColumnFormat_type UNKNOWN = ExtractColumnFormat_type._(0, _omitEnumNames ? '' : 'UNKNOWN');
static const ExtractColumnFormat_type DATE = ExtractColumnFormat_type._(1, _omitEnumNames ? '' : 'DATE');
static const ExtractColumnFormat_type SUFFIX = ExtractColumnFormat_type._(2, _omitEnumNames ? '' : 'SUFFIX');
static const ExtractColumnFormat_type NUMBER = ExtractColumnFormat_type._(3, _omitEnumNames ? '' : 'NUMBER');
static const $core.List<ExtractColumnFormat_type> values = <ExtractColumnFormat_type> [
UNKNOWN,
DATE,
SUFFIX,
NUMBER,
];
static final $core.List<ExtractColumnFormat_type?> _byValue = $pb.ProtobufEnum.$_initByValueList(values, 3);
static ExtractColumnFormat_type? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value];
const ExtractColumnFormat_type._(super.value, super.name);
} }
const _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names'); const $core.bool _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names');

File diff suppressed because it is too large Load Diff

View File

@@ -1,29 +1,18 @@
// This is a generated file - do not edit.
// //
// Generated code. Do not modify. // Generated from core/unitOfMeasures.proto.
// source: core/unitOfMeasures.proto
//
// @dart = 3.3 // @dart = 3.3
// ignore_for_file: annotate_overrides, camel_case_types, comment_references // ignore_for_file: annotate_overrides, camel_case_types, comment_references
// ignore_for_file: constant_identifier_names, library_prefixes // ignore_for_file: constant_identifier_names
// ignore_for_file: non_constant_identifier_names, prefer_final_fields // ignore_for_file: curly_braces_in_flow_control_structures
// ignore_for_file: unnecessary_import, unnecessary_this, unused_import // ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
// ignore_for_file: non_constant_identifier_names
import 'dart:core' as $core; import 'dart:core' as $core;
import 'package:protobuf/protobuf.dart' as $pb;
export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions; export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions;
export 'unitOfMeasures.pbenum.dart'; export 'unitOfMeasures.pbenum.dart';
class UnitOfMeasures {
static final value = $pb.Extension<$core.String>(_omitMessageNames ? '' : 'google.protobuf.EnumValueOptions', _omitFieldNames ? '' : 'value', 50500, $pb.PbFieldType.OS);
static void registerAllExtensions($pb.ExtensionRegistry registry) {
registry.add(value);
}
}
const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names');
const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names');

View File

@@ -1,13 +1,14 @@
// This is a generated file - do not edit.
// //
// Generated code. Do not modify. // Generated from core/unitOfMeasures.proto.
// source: core/unitOfMeasures.proto
//
// @dart = 3.3 // @dart = 3.3
// ignore_for_file: annotate_overrides, camel_case_types, comment_references // ignore_for_file: annotate_overrides, camel_case_types, comment_references
// ignore_for_file: constant_identifier_names, library_prefixes // ignore_for_file: constant_identifier_names
// ignore_for_file: non_constant_identifier_names, prefer_final_fields // ignore_for_file: curly_braces_in_flow_control_structures
// ignore_for_file: unnecessary_import, unnecessary_this, unused_import // ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
// ignore_for_file: non_constant_identifier_names
import 'dart:core' as $core; import 'dart:core' as $core;
@@ -45,7 +46,7 @@ class Length extends $pb.ProtobufEnum {
static final $core.Map<$core.int, Length> _byValue = $pb.ProtobufEnum.initByValue(values); static final $core.Map<$core.int, Length> _byValue = $pb.ProtobufEnum.initByValue(values);
static Length? valueOf($core.int value) => _byValue[value]; static Length? valueOf($core.int value) => _byValue[value];
const Length._(super.v, super.n); const Length._(super.value, super.name);
} }
class Weight extends $pb.ProtobufEnum { class Weight extends $pb.ProtobufEnum {
@@ -86,7 +87,7 @@ class Weight extends $pb.ProtobufEnum {
static final $core.Map<$core.int, Weight> _byValue = $pb.ProtobufEnum.initByValue(values); static final $core.Map<$core.int, Weight> _byValue = $pb.ProtobufEnum.initByValue(values);
static Weight? valueOf($core.int value) => _byValue[value]; static Weight? valueOf($core.int value) => _byValue[value];
const Weight._(super.v, super.n); const Weight._(super.value, super.name);
} }
class Temperature extends $pb.ProtobufEnum { class Temperature extends $pb.ProtobufEnum {
@@ -100,10 +101,10 @@ class Temperature extends $pb.ProtobufEnum {
FAHRENHEIT, FAHRENHEIT,
]; ];
static final $core.Map<$core.int, Temperature> _byValue = $pb.ProtobufEnum.initByValue(values); static final $core.List<Temperature?> _byValue = $pb.ProtobufEnum.$_initByValueList(values, 2);
static Temperature? valueOf($core.int value) => _byValue[value]; static Temperature? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value];
const Temperature._(super.v, super.n); const Temperature._(super.value, super.name);
} }
class Speed extends $pb.ProtobufEnum { class Speed extends $pb.ProtobufEnum {
@@ -124,7 +125,7 @@ class Speed extends $pb.ProtobufEnum {
static final $core.Map<$core.int, Speed> _byValue = $pb.ProtobufEnum.initByValue(values); static final $core.Map<$core.int, Speed> _byValue = $pb.ProtobufEnum.initByValue(values);
static Speed? valueOf($core.int value) => _byValue[value]; static Speed? valueOf($core.int value) => _byValue[value];
const Speed._(super.v, super.n); const Speed._(super.value, super.name);
} }
class Area extends $pb.ProtobufEnum { class Area extends $pb.ProtobufEnum {
@@ -157,7 +158,7 @@ class Area extends $pb.ProtobufEnum {
static final $core.Map<$core.int, Area> _byValue = $pb.ProtobufEnum.initByValue(values); static final $core.Map<$core.int, Area> _byValue = $pb.ProtobufEnum.initByValue(values);
static Area? valueOf($core.int value) => _byValue[value]; static Area? valueOf($core.int value) => _byValue[value];
const Area._(super.v, super.n); const Area._(super.value, super.name);
} }
class Volume extends $pb.ProtobufEnum { class Volume extends $pb.ProtobufEnum {
@@ -214,7 +215,7 @@ class Volume extends $pb.ProtobufEnum {
static final $core.Map<$core.int, Volume> _byValue = $pb.ProtobufEnum.initByValue(values); static final $core.Map<$core.int, Volume> _byValue = $pb.ProtobufEnum.initByValue(values);
static Volume? valueOf($core.int value) => _byValue[value]; static Volume? valueOf($core.int value) => _byValue[value];
const Volume._(super.v, super.n); const Volume._(super.value, super.name);
} }
class DimensionLess extends $pb.ProtobufEnum { class DimensionLess extends $pb.ProtobufEnum {
@@ -226,11 +227,11 @@ class DimensionLess extends $pb.ProtobufEnum {
UNIT, UNIT,
]; ];
static final $core.Map<$core.int, DimensionLess> _byValue = $pb.ProtobufEnum.initByValue(values); static final $core.List<DimensionLess?> _byValue = $pb.ProtobufEnum.$_initByValueList(values, 1);
static DimensionLess? valueOf($core.int value) => _byValue[value]; static DimensionLess? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value];
const DimensionLess._(super.v, super.n); const DimensionLess._(super.value, super.name);
} }
const _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names'); const $core.bool _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names');

View File

@@ -1,13 +1,14 @@
// This is a generated file - do not edit.
// //
// Generated code. Do not modify. // Generated from core/unitOfMeasures.proto.
// source: core/unitOfMeasures.proto
//
// @dart = 3.3 // @dart = 3.3
// ignore_for_file: annotate_overrides, camel_case_types, comment_references // ignore_for_file: annotate_overrides, camel_case_types, comment_references
// ignore_for_file: constant_identifier_names, library_prefixes // ignore_for_file: constant_identifier_names
// ignore_for_file: non_constant_identifier_names, prefer_final_fields // ignore_for_file: curly_braces_in_flow_control_structures
// ignore_for_file: unnecessary_import, unnecessary_this, unused_import // ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
// ignore_for_file: non_constant_identifier_names, unused_import
import 'dart:convert' as $convert; import 'dart:convert' as $convert;
import 'dart:core' as $core; import 'dart:core' as $core;

View File

@@ -1,62 +1,57 @@
// This is a generated file - do not edit.
// //
// Generated code. Do not modify. // Generated from counter.proto.
// source: counter.proto
//
// @dart = 3.3 // @dart = 3.3
// ignore_for_file: annotate_overrides, camel_case_types, comment_references // ignore_for_file: annotate_overrides, camel_case_types, comment_references
// ignore_for_file: constant_identifier_names, library_prefixes // ignore_for_file: constant_identifier_names
// ignore_for_file: non_constant_identifier_names, prefer_final_fields // ignore_for_file: curly_braces_in_flow_control_structures
// ignore_for_file: unnecessary_import, unnecessary_this, unused_import // ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
// ignore_for_file: non_constant_identifier_names
import 'dart:core' as $core; import 'dart:core' as $core;
import 'package:fixnum/fixnum.dart' as $fixnum; import 'package:fixnum/fixnum.dart' as $fixnum;
import 'package:protobuf/protobuf.dart' as $pb; import 'package:protobuf/protobuf.dart' as $pb;
import 'core/shared.pb.dart' as $16; import 'core/shared.pb.dart' as $1;
export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions; export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions;
class NextProjectCounterRequest extends $pb.GeneratedMessage { class NextProjectCounterRequest extends $pb.GeneratedMessage {
factory NextProjectCounterRequest({ factory NextProjectCounterRequest({
$16.RequestProjectHeader? header, $1.RequestProjectHeader? header,
$core.String? key, $core.String? key,
}) { }) {
final $result = create(); final result = create();
if (header != null) { if (header != null) result.header = header;
$result.header = header; if (key != null) result.key = key;
} return result;
if (key != null) {
$result.key = key;
}
return $result;
} }
NextProjectCounterRequest._() : super();
factory NextProjectCounterRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); NextProjectCounterRequest._();
factory NextProjectCounterRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
factory NextProjectCounterRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory NextProjectCounterRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'NextProjectCounterRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'vizapi'), createEmptyInstance: create) static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'NextProjectCounterRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'vizapi'), createEmptyInstance: create)
..aOM<$16.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $16.RequestProjectHeader.create) ..aOM<$1.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.RequestProjectHeader.create)
..aOS(2, _omitFieldNames ? '' : 'Key', protoName: 'Key') ..aOS(2, _omitFieldNames ? '' : 'Key', protoName: 'Key')
..hasRequiredFields = false ..hasRequiredFields = false
; ;
@$core.Deprecated( @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
'Will be removed in next major version')
NextProjectCounterRequest clone() => NextProjectCounterRequest()..mergeFromMessage(this); NextProjectCounterRequest clone() => NextProjectCounterRequest()..mergeFromMessage(this);
@$core.Deprecated( @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
'Will be removed in next major version')
NextProjectCounterRequest copyWith(void Function(NextProjectCounterRequest) updates) => super.copyWith((message) => updates(message as NextProjectCounterRequest)) as NextProjectCounterRequest; NextProjectCounterRequest copyWith(void Function(NextProjectCounterRequest) updates) => super.copyWith((message) => updates(message as NextProjectCounterRequest)) as NextProjectCounterRequest;
@$core.override
$pb.BuilderInfo get info_ => _i; $pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline') @$core.pragma('dart2js:noInline')
static NextProjectCounterRequest create() => NextProjectCounterRequest._(); static NextProjectCounterRequest create() => NextProjectCounterRequest._();
@$core.override
NextProjectCounterRequest createEmptyInstance() => create(); NextProjectCounterRequest createEmptyInstance() => create();
static $pb.PbList<NextProjectCounterRequest> createRepeated() => $pb.PbList<NextProjectCounterRequest>(); static $pb.PbList<NextProjectCounterRequest> createRepeated() => $pb.PbList<NextProjectCounterRequest>();
@$core.pragma('dart2js:noInline') @$core.pragma('dart2js:noInline')
@@ -64,20 +59,20 @@ class NextProjectCounterRequest extends $pb.GeneratedMessage {
static NextProjectCounterRequest? _defaultInstance; static NextProjectCounterRequest? _defaultInstance;
@$pb.TagNumber(1) @$pb.TagNumber(1)
$16.RequestProjectHeader get header => $_getN(0); $1.RequestProjectHeader get header => $_getN(0);
@$pb.TagNumber(1) @$pb.TagNumber(1)
set header($16.RequestProjectHeader v) { $_setField(1, v); } set header($1.RequestProjectHeader value) => $_setField(1, value);
@$pb.TagNumber(1) @$pb.TagNumber(1)
$core.bool hasHeader() => $_has(0); $core.bool hasHeader() => $_has(0);
@$pb.TagNumber(1) @$pb.TagNumber(1)
void clearHeader() => $_clearField(1); void clearHeader() => $_clearField(1);
@$pb.TagNumber(1) @$pb.TagNumber(1)
$16.RequestProjectHeader ensureHeader() => $_ensure(0); $1.RequestProjectHeader ensureHeader() => $_ensure(0);
@$pb.TagNumber(2) @$pb.TagNumber(2)
$core.String get key => $_getSZ(1); $core.String get key => $_getSZ(1);
@$pb.TagNumber(2) @$pb.TagNumber(2)
set key($core.String v) { $_setString(1, v); } set key($core.String value) => $_setString(1, value);
@$pb.TagNumber(2) @$pb.TagNumber(2)
$core.bool hasKey() => $_has(1); $core.bool hasKey() => $_has(1);
@$pb.TagNumber(2) @$pb.TagNumber(2)
@@ -88,36 +83,32 @@ class NextCounterResult extends $pb.GeneratedMessage {
factory NextCounterResult({ factory NextCounterResult({
$fixnum.Int64? value, $fixnum.Int64? value,
}) { }) {
final $result = create(); final result = create();
if (value != null) { if (value != null) result.value = value;
$result.value = value; return result;
}
return $result;
} }
NextCounterResult._() : super();
factory NextCounterResult.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); NextCounterResult._();
factory NextCounterResult.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
factory NextCounterResult.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory NextCounterResult.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'NextCounterResult', package: const $pb.PackageName(_omitMessageNames ? '' : 'vizapi'), createEmptyInstance: create) static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'NextCounterResult', package: const $pb.PackageName(_omitMessageNames ? '' : 'vizapi'), createEmptyInstance: create)
..aInt64(1, _omitFieldNames ? '' : 'Value', protoName: 'Value') ..aInt64(1, _omitFieldNames ? '' : 'Value', protoName: 'Value')
..hasRequiredFields = false ..hasRequiredFields = false
; ;
@$core.Deprecated( @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
'Will be removed in next major version')
NextCounterResult clone() => NextCounterResult()..mergeFromMessage(this); NextCounterResult clone() => NextCounterResult()..mergeFromMessage(this);
@$core.Deprecated( @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
'Will be removed in next major version')
NextCounterResult copyWith(void Function(NextCounterResult) updates) => super.copyWith((message) => updates(message as NextCounterResult)) as NextCounterResult; NextCounterResult copyWith(void Function(NextCounterResult) updates) => super.copyWith((message) => updates(message as NextCounterResult)) as NextCounterResult;
@$core.override
$pb.BuilderInfo get info_ => _i; $pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline') @$core.pragma('dart2js:noInline')
static NextCounterResult create() => NextCounterResult._(); static NextCounterResult create() => NextCounterResult._();
@$core.override
NextCounterResult createEmptyInstance() => create(); NextCounterResult createEmptyInstance() => create();
static $pb.PbList<NextCounterResult> createRepeated() => $pb.PbList<NextCounterResult>(); static $pb.PbList<NextCounterResult> createRepeated() => $pb.PbList<NextCounterResult>();
@$core.pragma('dart2js:noInline') @$core.pragma('dart2js:noInline')
@@ -127,7 +118,7 @@ class NextCounterResult extends $pb.GeneratedMessage {
@$pb.TagNumber(1) @$pb.TagNumber(1)
$fixnum.Int64 get value => $_getI64(0); $fixnum.Int64 get value => $_getI64(0);
@$pb.TagNumber(1) @$pb.TagNumber(1)
set value($fixnum.Int64 v) { $_setInt64(0, v); } set value($fixnum.Int64 value) => $_setInt64(0, value);
@$pb.TagNumber(1) @$pb.TagNumber(1)
$core.bool hasValue() => $_has(0); $core.bool hasValue() => $_has(0);
@$pb.TagNumber(1) @$pb.TagNumber(1)
@@ -135,5 +126,5 @@ class NextCounterResult extends $pb.GeneratedMessage {
} }
const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); const $core.bool _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names');
const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); const $core.bool _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names');

View File

@@ -1,11 +1,12 @@
// This is a generated file - do not edit.
// //
// Generated code. Do not modify. // Generated from counter.proto.
// source: counter.proto
//
// @dart = 3.3 // @dart = 3.3
// ignore_for_file: annotate_overrides, camel_case_types, comment_references // ignore_for_file: annotate_overrides, camel_case_types, comment_references
// ignore_for_file: constant_identifier_names, library_prefixes // ignore_for_file: constant_identifier_names
// ignore_for_file: non_constant_identifier_names, prefer_final_fields // ignore_for_file: curly_braces_in_flow_control_structures
// ignore_for_file: unnecessary_import, unnecessary_this, unused_import // ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
// ignore_for_file: non_constant_identifier_names

View File

@@ -1,13 +1,14 @@
// This is a generated file - do not edit.
// //
// Generated code. Do not modify. // Generated from counter.proto.
// source: counter.proto
//
// @dart = 3.3 // @dart = 3.3
// ignore_for_file: annotate_overrides, camel_case_types, comment_references // ignore_for_file: annotate_overrides, camel_case_types, comment_references
// ignore_for_file: constant_identifier_names, library_prefixes // ignore_for_file: constant_identifier_names
// ignore_for_file: non_constant_identifier_names, prefer_final_fields // ignore_for_file: curly_braces_in_flow_control_structures
// ignore_for_file: unnecessary_import, unnecessary_this, unused_import // ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
// ignore_for_file: non_constant_identifier_names
import 'dart:async' as $async; import 'dart:async' as $async;
import 'dart:core' as $core; import 'dart:core' as $core;
@@ -15,26 +16,32 @@ import 'dart:core' as $core;
import 'package:grpc/service_api.dart' as $grpc; import 'package:grpc/service_api.dart' as $grpc;
import 'package:protobuf/protobuf.dart' as $pb; import 'package:protobuf/protobuf.dart' as $pb;
import 'counter.pb.dart' as $9; import 'counter.pb.dart' as $0;
export 'counter.pb.dart'; export 'counter.pb.dart';
@$pb.GrpcServiceName('vizapi.ProjectCountersService') @$pb.GrpcServiceName('vizapi.ProjectCountersService')
class ProjectCountersServiceClient extends $grpc.Client { class ProjectCountersServiceClient extends $grpc.Client {
static final _$next = $grpc.ClientMethod<$9.NextProjectCounterRequest, $9.NextCounterResult>( /// The hostname for this service.
'/vizapi.ProjectCountersService/Next', static const $core.String defaultHost = '';
($9.NextProjectCounterRequest value) => value.writeToBuffer(),
($core.List<$core.int> value) => $9.NextCounterResult.fromBuffer(value));
ProjectCountersServiceClient($grpc.ClientChannel channel, /// OAuth scopes needed for the client.
{$grpc.CallOptions? options, static const $core.List<$core.String> oauthScopes = [
$core.Iterable<$grpc.ClientInterceptor>? interceptors}) '',
: super(channel, options: options, ];
interceptors: interceptors);
$grpc.ResponseFuture<$9.NextCounterResult> next($9.NextProjectCounterRequest request, {$grpc.CallOptions? options}) { ProjectCountersServiceClient(super.channel, {super.options, super.interceptors});
$grpc.ResponseFuture<$0.NextCounterResult> next($0.NextProjectCounterRequest request, {$grpc.CallOptions? options,}) {
return $createUnaryCall(_$next, request, options: options); return $createUnaryCall(_$next, request, options: options);
} }
// method descriptors
static final _$next = $grpc.ClientMethod<$0.NextProjectCounterRequest, $0.NextCounterResult>(
'/vizapi.ProjectCountersService/Next',
($0.NextProjectCounterRequest value) => value.writeToBuffer(),
$0.NextCounterResult.fromBuffer);
} }
@$pb.GrpcServiceName('vizapi.ProjectCountersService') @$pb.GrpcServiceName('vizapi.ProjectCountersService')
@@ -42,18 +49,19 @@ abstract class ProjectCountersServiceBase extends $grpc.Service {
$core.String get $name => 'vizapi.ProjectCountersService'; $core.String get $name => 'vizapi.ProjectCountersService';
ProjectCountersServiceBase() { ProjectCountersServiceBase() {
$addMethod($grpc.ServiceMethod<$9.NextProjectCounterRequest, $9.NextCounterResult>( $addMethod($grpc.ServiceMethod<$0.NextProjectCounterRequest, $0.NextCounterResult>(
'Next', 'Next',
next_Pre, next_Pre,
false, false,
false, false,
($core.List<$core.int> value) => $9.NextProjectCounterRequest.fromBuffer(value), ($core.List<$core.int> value) => $0.NextProjectCounterRequest.fromBuffer(value),
($9.NextCounterResult value) => value.writeToBuffer())); ($0.NextCounterResult value) => value.writeToBuffer()));
} }
$async.Future<$9.NextCounterResult> next_Pre($grpc.ServiceCall $call, $async.Future<$9.NextProjectCounterRequest> $request) async { $async.Future<$0.NextCounterResult> next_Pre($grpc.ServiceCall $call, $async.Future<$0.NextProjectCounterRequest> $request) async {
return next($call, await $request); return next($call, await $request);
} }
$async.Future<$9.NextCounterResult> next($grpc.ServiceCall call, $9.NextProjectCounterRequest request); $async.Future<$0.NextCounterResult> next($grpc.ServiceCall call, $0.NextProjectCounterRequest request);
} }

View File

@@ -1,13 +1,14 @@
// This is a generated file - do not edit.
// //
// Generated code. Do not modify. // Generated from counter.proto.
// source: counter.proto
//
// @dart = 3.3 // @dart = 3.3
// ignore_for_file: annotate_overrides, camel_case_types, comment_references // ignore_for_file: annotate_overrides, camel_case_types, comment_references
// ignore_for_file: constant_identifier_names, library_prefixes // ignore_for_file: constant_identifier_names
// ignore_for_file: non_constant_identifier_names, prefer_final_fields // ignore_for_file: curly_braces_in_flow_control_structures
// ignore_for_file: unnecessary_import, unnecessary_this, unused_import // ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
// ignore_for_file: non_constant_identifier_names, unused_import
import 'dart:convert' as $convert; import 'dart:convert' as $convert;
import 'dart:core' as $core; import 'dart:core' as $core;
@@ -25,9 +26,9 @@ const NextProjectCounterRequest$json = {
/// Descriptor for `NextProjectCounterRequest`. Decode as a `google.protobuf.DescriptorProto`. /// Descriptor for `NextProjectCounterRequest`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List nextProjectCounterRequestDescriptor = $convert.base64Decode( final $typed_data.Uint8List nextProjectCounterRequestDescriptor = $convert.base64Decode(
'ChlOZXh0UHJvamVjdENvdW50ZXJSZXF1ZXN0EjsKBkhlYWRlchgBIAEoCzIZLmFwaS5SZXF1ZX' 'ChlOZXh0UHJvamVjdENvdW50ZXJSZXF1ZXN0EjwKBkhlYWRlchgBIAEoCzIZLmFwaS5SZXF1ZX'
'N0UHJvamVjdEhlYWRlckII+kIFigECEAFSBkhlYWRlchImCgNLZXkYAiABKAlCFJJBCkoIImNs' 'N0UHJvamVjdEhlYWRlckIJuoEBBYoBAhABUgZIZWFkZXISJwoDS2V5GAIgASgJQhWSQQpKCCJj'
'YWltcyL6QgRyAhABUgNLZXk6FJJBEQoP0gEGSGVhZGVy0gEDS2V5'); 'bGFpbXMiuoEBBHICEAFSA0tleToUkkERCg/SAQZIZWFkZXLSAQNLZXk=');
@$core.Deprecated('Use nextCounterResultDescriptor instead') @$core.Deprecated('Use nextCounterResultDescriptor instead')
const NextCounterResult$json = { const NextCounterResult$json = {

View File

@@ -1,29 +1,30 @@
// This is a generated file - do not edit.
// //
// Generated code. Do not modify. // Generated from google/api/annotations.proto.
// source: google/api/annotations.proto
//
// @dart = 3.3 // @dart = 3.3
// ignore_for_file: annotate_overrides, camel_case_types, comment_references // ignore_for_file: annotate_overrides, camel_case_types, comment_references
// ignore_for_file: constant_identifier_names, library_prefixes // ignore_for_file: constant_identifier_names
// ignore_for_file: non_constant_identifier_names, prefer_final_fields // ignore_for_file: curly_braces_in_flow_control_structures
// ignore_for_file: unnecessary_import, unnecessary_this, unused_import // ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
// ignore_for_file: non_constant_identifier_names
import 'dart:core' as $core; import 'dart:core' as $core;
import 'package:protobuf/protobuf.dart' as $pb; import 'package:protobuf/protobuf.dart' as $pb;
import 'http.pb.dart' as $21; import 'http.pb.dart' as $0;
export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions; export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions;
class Annotations { class Annotations {
static final http = $pb.Extension<$21.HttpRule>(_omitMessageNames ? '' : 'google.protobuf.MethodOptions', _omitFieldNames ? '' : 'http', 72295728, $pb.PbFieldType.OM, defaultOrMaker: $21.HttpRule.getDefault, subBuilder: $21.HttpRule.create); static final http = $pb.Extension<$0.HttpRule>(_omitMessageNames ? '' : 'google.protobuf.MethodOptions', _omitFieldNames ? '' : 'http', 72295728, $pb.PbFieldType.OM, defaultOrMaker: $0.HttpRule.getDefault, subBuilder: $0.HttpRule.create);
static void registerAllExtensions($pb.ExtensionRegistry registry) { static void registerAllExtensions($pb.ExtensionRegistry registry) {
registry.add(http); registry.add(http);
} }
} }
const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); const $core.bool _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names');
const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); const $core.bool _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names');

View File

@@ -1,11 +1,12 @@
// This is a generated file - do not edit.
// //
// Generated code. Do not modify. // Generated from google/api/annotations.proto.
// source: google/api/annotations.proto
//
// @dart = 3.3 // @dart = 3.3
// ignore_for_file: annotate_overrides, camel_case_types, comment_references // ignore_for_file: annotate_overrides, camel_case_types, comment_references
// ignore_for_file: constant_identifier_names, library_prefixes // ignore_for_file: constant_identifier_names
// ignore_for_file: non_constant_identifier_names, prefer_final_fields // ignore_for_file: curly_braces_in_flow_control_structures
// ignore_for_file: unnecessary_import, unnecessary_this, unused_import // ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
// ignore_for_file: non_constant_identifier_names

View File

@@ -1,13 +1,14 @@
// This is a generated file - do not edit.
// //
// Generated code. Do not modify. // Generated from google/api/annotations.proto.
// source: google/api/annotations.proto
//
// @dart = 3.3 // @dart = 3.3
// ignore_for_file: annotate_overrides, camel_case_types, comment_references // ignore_for_file: annotate_overrides, camel_case_types, comment_references
// ignore_for_file: constant_identifier_names, library_prefixes // ignore_for_file: constant_identifier_names
// ignore_for_file: non_constant_identifier_names, prefer_final_fields // ignore_for_file: curly_braces_in_flow_control_structures
// ignore_for_file: unnecessary_import, unnecessary_this, unused_import // ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
// ignore_for_file: non_constant_identifier_names, unused_import
import 'dart:convert' as $convert; import 'dart:convert' as $convert;
import 'dart:core' as $core; import 'dart:core' as $core;

View File

@@ -1,13 +1,14 @@
// This is a generated file - do not edit.
// //
// Generated code. Do not modify. // Generated from google/api/field_behavior.proto.
// source: google/api/field_behavior.proto
//
// @dart = 3.3 // @dart = 3.3
// ignore_for_file: annotate_overrides, camel_case_types, comment_references // ignore_for_file: annotate_overrides, camel_case_types, comment_references
// ignore_for_file: constant_identifier_names, library_prefixes // ignore_for_file: constant_identifier_names
// ignore_for_file: non_constant_identifier_names, prefer_final_fields // ignore_for_file: curly_braces_in_flow_control_structures
// ignore_for_file: unnecessary_import, unnecessary_this, unused_import // ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
// ignore_for_file: non_constant_identifier_names
import 'dart:core' as $core; import 'dart:core' as $core;
@@ -20,12 +21,12 @@ export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions;
export 'field_behavior.pbenum.dart'; export 'field_behavior.pbenum.dart';
class Field_behavior { class Field_behavior {
static final fieldBehavior = $pb.Extension<FieldBehavior>.repeated(_omitMessageNames ? '' : 'google.protobuf.FieldOptions', _omitFieldNames ? '' : 'fieldBehavior', 1052, $pb.PbFieldType.KE, check: $pb.getCheckFunction($pb.PbFieldType.KE), valueOf: FieldBehavior.valueOf, enumValues: FieldBehavior.values); static final fieldBehavior = $pb.Extension<FieldBehavior>.repeated(_omitMessageNames ? '' : 'google.protobuf.FieldOptions', _omitFieldNames ? '' : 'fieldBehavior', 1052, $pb.PbFieldType.PE, check: $pb.getCheckFunction($pb.PbFieldType.PE), valueOf: FieldBehavior.valueOf, enumValues: FieldBehavior.values);
static void registerAllExtensions($pb.ExtensionRegistry registry) { static void registerAllExtensions($pb.ExtensionRegistry registry) {
registry.add(fieldBehavior); registry.add(fieldBehavior);
} }
} }
const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); const $core.bool _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names');
const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); const $core.bool _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names');

View File

@@ -1,24 +1,25 @@
// This is a generated file - do not edit.
// //
// Generated code. Do not modify. // Generated from google/api/field_behavior.proto.
// source: google/api/field_behavior.proto
//
// @dart = 3.3 // @dart = 3.3
// ignore_for_file: annotate_overrides, camel_case_types, comment_references // ignore_for_file: annotate_overrides, camel_case_types, comment_references
// ignore_for_file: constant_identifier_names, library_prefixes // ignore_for_file: constant_identifier_names
// ignore_for_file: non_constant_identifier_names, prefer_final_fields // ignore_for_file: curly_braces_in_flow_control_structures
// ignore_for_file: unnecessary_import, unnecessary_this, unused_import // ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
// ignore_for_file: non_constant_identifier_names
import 'dart:core' as $core; import 'dart:core' as $core;
import 'package:protobuf/protobuf.dart' as $pb; import 'package:protobuf/protobuf.dart' as $pb;
/// An indicator of the behavior of a given field (for example, that a field /// An indicator of the behavior of a given field (for example, that a field
/// is required in requests, or given as output but ignored as input). /// is required in requests, or given as output but ignored as input).
/// This **does not** change the behavior in protocol buffers itself; it only /// This **does not** change the behavior in protocol buffers itself; it only
/// denotes the behavior and may affect how API tooling handles the field. /// denotes the behavior and may affect how API tooling handles the field.
/// ///
/// Note: This enum **may** receive new values in the future. /// Note: This enum **may** receive new values in the future.
class FieldBehavior extends $pb.ProtobufEnum { class FieldBehavior extends $pb.ProtobufEnum {
/// Conventional default for enums. Do not use this. /// Conventional default for enums. Do not use this.
static const FieldBehavior FIELD_BEHAVIOR_UNSPECIFIED = FieldBehavior._(0, _omitEnumNames ? '' : 'FIELD_BEHAVIOR_UNSPECIFIED'); static const FieldBehavior FIELD_BEHAVIOR_UNSPECIFIED = FieldBehavior._(0, _omitEnumNames ? '' : 'FIELD_BEHAVIOR_UNSPECIFIED');
@@ -43,6 +44,29 @@ class FieldBehavior extends $pb.ProtobufEnum {
/// This indicates that the field may be set once in a request to create a /// This indicates that the field may be set once in a request to create a
/// resource, but may not be changed thereafter. /// resource, but may not be changed thereafter.
static const FieldBehavior IMMUTABLE = FieldBehavior._(5, _omitEnumNames ? '' : 'IMMUTABLE'); static const FieldBehavior IMMUTABLE = FieldBehavior._(5, _omitEnumNames ? '' : 'IMMUTABLE');
/// Denotes that a (repeated) field is an unordered list.
/// This indicates that the service may provide the elements of the list
/// in any arbitrary order, rather than the order the user originally
/// provided. Additionally, the list's order may or may not be stable.
static const FieldBehavior UNORDERED_LIST = FieldBehavior._(6, _omitEnumNames ? '' : 'UNORDERED_LIST');
/// Denotes that this field returns a non-empty default value if not set.
/// This indicates that if the user provides the empty value in a request,
/// a non-empty value will be returned. The user will not be aware of what
/// non-empty value to expect.
static const FieldBehavior NON_EMPTY_DEFAULT = FieldBehavior._(7, _omitEnumNames ? '' : 'NON_EMPTY_DEFAULT');
/// Denotes that the field in a resource (a message annotated with
/// google.api.resource) is used in the resource name to uniquely identify the
/// resource. For AIP-compliant APIs, this should only be applied to the
/// `name` field on the resource.
///
/// This behavior should not be applied to references to other resources within
/// the message.
///
/// The identifier field of resources often have different field behavior
/// depending on the request it is embedded in (e.g. for Create methods name
/// is optional and unused, while for Update methods it is required). Instead
/// of method-specific annotations, only `IDENTIFIER` is required.
static const FieldBehavior IDENTIFIER = FieldBehavior._(8, _omitEnumNames ? '' : 'IDENTIFIER');
static const $core.List<FieldBehavior> values = <FieldBehavior> [ static const $core.List<FieldBehavior> values = <FieldBehavior> [
FIELD_BEHAVIOR_UNSPECIFIED, FIELD_BEHAVIOR_UNSPECIFIED,
@@ -51,13 +75,16 @@ class FieldBehavior extends $pb.ProtobufEnum {
OUTPUT_ONLY, OUTPUT_ONLY,
INPUT_ONLY, INPUT_ONLY,
IMMUTABLE, IMMUTABLE,
UNORDERED_LIST,
NON_EMPTY_DEFAULT,
IDENTIFIER,
]; ];
static final $core.Map<$core.int, FieldBehavior> _byValue = $pb.ProtobufEnum.initByValue(values); static final $core.List<FieldBehavior?> _byValue = $pb.ProtobufEnum.$_initByValueList(values, 8);
static FieldBehavior? valueOf($core.int value) => _byValue[value]; static FieldBehavior? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value];
const FieldBehavior._(super.v, super.n); const FieldBehavior._(super.value, super.name);
} }
const _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names'); const $core.bool _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names');

View File

@@ -1,13 +1,14 @@
// This is a generated file - do not edit.
// //
// Generated code. Do not modify. // Generated from google/api/field_behavior.proto.
// source: google/api/field_behavior.proto
//
// @dart = 3.3 // @dart = 3.3
// ignore_for_file: annotate_overrides, camel_case_types, comment_references // ignore_for_file: annotate_overrides, camel_case_types, comment_references
// ignore_for_file: constant_identifier_names, library_prefixes // ignore_for_file: constant_identifier_names
// ignore_for_file: non_constant_identifier_names, prefer_final_fields // ignore_for_file: curly_braces_in_flow_control_structures
// ignore_for_file: unnecessary_import, unnecessary_this, unused_import // ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
// ignore_for_file: non_constant_identifier_names, unused_import
import 'dart:convert' as $convert; import 'dart:convert' as $convert;
import 'dart:core' as $core; import 'dart:core' as $core;
@@ -23,6 +24,9 @@ const FieldBehavior$json = {
{'1': 'OUTPUT_ONLY', '2': 3}, {'1': 'OUTPUT_ONLY', '2': 3},
{'1': 'INPUT_ONLY', '2': 4}, {'1': 'INPUT_ONLY', '2': 4},
{'1': 'IMMUTABLE', '2': 5}, {'1': 'IMMUTABLE', '2': 5},
{'1': 'UNORDERED_LIST', '2': 6},
{'1': 'NON_EMPTY_DEFAULT', '2': 7},
{'1': 'IDENTIFIER', '2': 8},
], ],
}; };
@@ -30,5 +34,6 @@ const FieldBehavior$json = {
final $typed_data.Uint8List fieldBehaviorDescriptor = $convert.base64Decode( final $typed_data.Uint8List fieldBehaviorDescriptor = $convert.base64Decode(
'Cg1GaWVsZEJlaGF2aW9yEh4KGkZJRUxEX0JFSEFWSU9SX1VOU1BFQ0lGSUVEEAASDAoIT1BUSU' 'Cg1GaWVsZEJlaGF2aW9yEh4KGkZJRUxEX0JFSEFWSU9SX1VOU1BFQ0lGSUVEEAASDAoIT1BUSU'
'9OQUwQARIMCghSRVFVSVJFRBACEg8KC09VVFBVVF9PTkxZEAMSDgoKSU5QVVRfT05MWRAEEg0K' '9OQUwQARIMCghSRVFVSVJFRBACEg8KC09VVFBVVF9PTkxZEAMSDgoKSU5QVVRfT05MWRAEEg0K'
'CUlNTVVUQUJMRRAF'); 'CUlNTVVUQUJMRRAFEhIKDlVOT1JERVJFRF9MSVNUEAYSFQoRTk9OX0VNUFRZX0RFRkFVTFQQBx'
'IOCgpJREVOVElGSUVSEAg=');

View File

@@ -1,13 +1,14 @@
// This is a generated file - do not edit.
// //
// Generated code. Do not modify. // Generated from google/api/http.proto.
// source: google/api/http.proto
//
// @dart = 3.3 // @dart = 3.3
// ignore_for_file: annotate_overrides, camel_case_types, comment_references // ignore_for_file: annotate_overrides, camel_case_types, comment_references
// ignore_for_file: constant_identifier_names, library_prefixes // ignore_for_file: constant_identifier_names
// ignore_for_file: non_constant_identifier_names, prefer_final_fields // ignore_for_file: curly_braces_in_flow_control_structures
// ignore_for_file: unnecessary_import, unnecessary_this, unused_import // ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
// ignore_for_file: non_constant_identifier_names
import 'dart:core' as $core; import 'dart:core' as $core;
@@ -23,18 +24,16 @@ class Http extends $pb.GeneratedMessage {
$core.Iterable<HttpRule>? rules, $core.Iterable<HttpRule>? rules,
$core.bool? fullyDecodeReservedExpansion, $core.bool? fullyDecodeReservedExpansion,
}) { }) {
final $result = create(); final result = create();
if (rules != null) { if (rules != null) result.rules.addAll(rules);
$result.rules.addAll(rules); if (fullyDecodeReservedExpansion != null) result.fullyDecodeReservedExpansion = fullyDecodeReservedExpansion;
} return result;
if (fullyDecodeReservedExpansion != null) {
$result.fullyDecodeReservedExpansion = fullyDecodeReservedExpansion;
}
return $result;
} }
Http._() : super();
factory Http.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); Http._();
factory Http.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
factory Http.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory Http.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Http', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.api'), createEmptyInstance: create) static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Http', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.api'), createEmptyInstance: create)
..pc<HttpRule>(1, _omitFieldNames ? '' : 'rules', $pb.PbFieldType.PM, subBuilder: HttpRule.create) ..pc<HttpRule>(1, _omitFieldNames ? '' : 'rules', $pb.PbFieldType.PM, subBuilder: HttpRule.create)
@@ -42,43 +41,39 @@ class Http extends $pb.GeneratedMessage {
..hasRequiredFields = false ..hasRequiredFields = false
; ;
@$core.Deprecated( @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
'Will be removed in next major version')
Http clone() => Http()..mergeFromMessage(this); Http clone() => Http()..mergeFromMessage(this);
@$core.Deprecated( @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
'Will be removed in next major version')
Http copyWith(void Function(Http) updates) => super.copyWith((message) => updates(message as Http)) as Http; Http copyWith(void Function(Http) updates) => super.copyWith((message) => updates(message as Http)) as Http;
@$core.override
$pb.BuilderInfo get info_ => _i; $pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline') @$core.pragma('dart2js:noInline')
static Http create() => Http._(); static Http create() => Http._();
@$core.override
Http createEmptyInstance() => create(); Http createEmptyInstance() => create();
static $pb.PbList<Http> createRepeated() => $pb.PbList<Http>(); static $pb.PbList<Http> createRepeated() => $pb.PbList<Http>();
@$core.pragma('dart2js:noInline') @$core.pragma('dart2js:noInline')
static Http getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<Http>(create); static Http getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<Http>(create);
static Http? _defaultInstance; static Http? _defaultInstance;
/// A list of HTTP configuration rules that apply to individual API methods. /// A list of HTTP configuration rules that apply to individual API methods.
/// ///
/// **NOTE:** All service configuration rules follow "last one wins" order. /// **NOTE:** All service configuration rules follow "last one wins" order.
@$pb.TagNumber(1) @$pb.TagNumber(1)
$pb.PbList<HttpRule> get rules => $_getList(0); $pb.PbList<HttpRule> get rules => $_getList(0);
/// When set to true, URL path parameters will be fully URI-decoded except in /// When set to true, URL path parameters will be fully URI-decoded except in
/// cases of single segment matches in reserved expansion, where "%2F" will be /// cases of single segment matches in reserved expansion, where "%2F" will be
/// left encoded. /// left encoded.
/// ///
/// The default behavior is to not decode RFC 6570 reserved characters in multi /// The default behavior is to not decode RFC 6570 reserved characters in multi
/// segment matches. /// segment matches.
@$pb.TagNumber(2) @$pb.TagNumber(2)
$core.bool get fullyDecodeReservedExpansion => $_getBF(1); $core.bool get fullyDecodeReservedExpansion => $_getBF(1);
@$pb.TagNumber(2) @$pb.TagNumber(2)
set fullyDecodeReservedExpansion($core.bool v) { $_setBool(1, v); } set fullyDecodeReservedExpansion($core.bool value) => $_setBool(1, value);
@$pb.TagNumber(2) @$pb.TagNumber(2)
$core.bool hasFullyDecodeReservedExpansion() => $_has(1); $core.bool hasFullyDecodeReservedExpansion() => $_has(1);
@$pb.TagNumber(2) @$pb.TagNumber(2)
@@ -95,275 +90,270 @@ enum HttpRule_Pattern {
notSet notSet
} }
/// # gRPC Transcoding /// gRPC Transcoding
/// ///
/// gRPC Transcoding is a feature for mapping between a gRPC method and one or /// gRPC Transcoding is a feature for mapping between a gRPC method and one or
/// more HTTP REST endpoints. It allows developers to build a single API service /// more HTTP REST endpoints. It allows developers to build a single API service
/// that supports both gRPC APIs and REST APIs. Many systems, including [Google /// that supports both gRPC APIs and REST APIs. Many systems, including [Google
/// APIs](https://github.com/googleapis/googleapis), /// APIs](https://github.com/googleapis/googleapis),
/// [Cloud Endpoints](https://cloud.google.com/endpoints), [gRPC /// [Cloud Endpoints](https://cloud.google.com/endpoints), [gRPC
/// Gateway](https://github.com/grpc-ecosystem/grpc-gateway), /// Gateway](https://github.com/grpc-ecosystem/grpc-gateway),
/// and [Envoy](https://github.com/envoyproxy/envoy) proxy support this feature /// and [Envoy](https://github.com/envoyproxy/envoy) proxy support this feature
/// and use it for large scale production services. /// and use it for large scale production services.
/// ///
/// `HttpRule` defines the schema of the gRPC/REST mapping. The mapping specifies /// `HttpRule` defines the schema of the gRPC/REST mapping. The mapping specifies
/// how different portions of the gRPC request message are mapped to the URL /// how different portions of the gRPC request message are mapped to the URL
/// path, URL query parameters, and HTTP request body. It also controls how the /// path, URL query parameters, and HTTP request body. It also controls how the
/// gRPC response message is mapped to the HTTP response body. `HttpRule` is /// gRPC response message is mapped to the HTTP response body. `HttpRule` is
/// typically specified as an `google.api.http` annotation on the gRPC method. /// typically specified as an `google.api.http` annotation on the gRPC method.
/// ///
/// Each mapping specifies a URL path template and an HTTP method. The path /// Each mapping specifies a URL path template and an HTTP method. The path
/// template may refer to one or more fields in the gRPC request message, as long /// template may refer to one or more fields in the gRPC request message, as long
/// as each field is a non-repeated field with a primitive (non-message) type. /// as each field is a non-repeated field with a primitive (non-message) type.
/// The path template controls how fields of the request message are mapped to /// The path template controls how fields of the request message are mapped to
/// the URL path. /// the URL path.
/// ///
/// Example: /// Example:
/// ///
/// service Messaging { /// service Messaging {
/// rpc GetMessage(GetMessageRequest) returns (Message) { /// rpc GetMessage(GetMessageRequest) returns (Message) {
/// option (google.api.http) = { /// option (google.api.http) = {
/// get: "/v1/{name=messages/*}" /// get: "/v1/{name=messages/*}"
/// }; /// };
/// } /// }
/// } /// }
/// message GetMessageRequest { /// message GetMessageRequest {
/// string name = 1; // Mapped to URL path. /// string name = 1; // Mapped to URL path.
/// } /// }
/// message Message { /// message Message {
/// string text = 1; // The resource content. /// string text = 1; // The resource content.
/// } /// }
/// ///
/// This enables an HTTP REST to gRPC mapping as below: /// This enables an HTTP REST to gRPC mapping as below:
/// ///
/// HTTP | gRPC /// - HTTP: `GET /v1/messages/123456`
/// -----|----- /// - gRPC: `GetMessage(name: "messages/123456")`
/// `GET /v1/messages/123456` | `GetMessage(name: "messages/123456")`
/// ///
/// Any fields in the request message which are not bound by the path template /// Any fields in the request message which are not bound by the path template
/// automatically become HTTP query parameters if there is no HTTP request body. /// automatically become HTTP query parameters if there is no HTTP request body.
/// For example: /// For example:
/// ///
/// service Messaging { /// service Messaging {
/// rpc GetMessage(GetMessageRequest) returns (Message) { /// rpc GetMessage(GetMessageRequest) returns (Message) {
/// option (google.api.http) = { /// option (google.api.http) = {
/// get:"/v1/messages/{message_id}" /// get:"/v1/messages/{message_id}"
/// }; /// };
/// } /// }
/// } /// }
/// message GetMessageRequest { /// message GetMessageRequest {
/// message SubMessage { /// message SubMessage {
/// string subfield = 1; /// string subfield = 1;
/// } /// }
/// string message_id = 1; // Mapped to URL path. /// string message_id = 1; // Mapped to URL path.
/// int64 revision = 2; // Mapped to URL query parameter `revision`. /// int64 revision = 2; // Mapped to URL query parameter `revision`.
/// SubMessage sub = 3; // Mapped to URL query parameter `sub.subfield`. /// SubMessage sub = 3; // Mapped to URL query parameter `sub.subfield`.
/// } /// }
/// ///
/// This enables a HTTP JSON to RPC mapping as below: /// This enables a HTTP JSON to RPC mapping as below:
/// ///
/// HTTP | gRPC /// - HTTP: `GET /v1/messages/123456?revision=2&sub.subfield=foo`
/// -----|----- /// - gRPC: `GetMessage(message_id: "123456" revision: 2 sub:
/// `GET /v1/messages/123456?revision=2&sub.subfield=foo` | /// SubMessage(subfield: "foo"))`
/// `GetMessage(message_id: "123456" revision: 2 sub: SubMessage(subfield:
/// "foo"))`
/// ///
/// Note that fields which are mapped to URL query parameters must have a /// Note that fields which are mapped to URL query parameters must have a
/// primitive type or a repeated primitive type or a non-repeated message type. /// primitive type or a repeated primitive type or a non-repeated message type.
/// In the case of a repeated type, the parameter can be repeated in the URL /// In the case of a repeated type, the parameter can be repeated in the URL
/// as `...?param=A&param=B`. In the case of a message type, each field of the /// as `...?param=A&param=B`. In the case of a message type, each field of the
/// message is mapped to a separate parameter, such as /// message is mapped to a separate parameter, such as
/// `...?foo.a=A&foo.b=B&foo.c=C`. /// `...?foo.a=A&foo.b=B&foo.c=C`.
/// ///
/// For HTTP methods that allow a request body, the `body` field /// For HTTP methods that allow a request body, the `body` field
/// specifies the mapping. Consider a REST update method on the /// specifies the mapping. Consider a REST update method on the
/// message resource collection: /// message resource collection:
/// ///
/// service Messaging { /// service Messaging {
/// rpc UpdateMessage(UpdateMessageRequest) returns (Message) { /// rpc UpdateMessage(UpdateMessageRequest) returns (Message) {
/// option (google.api.http) = { /// option (google.api.http) = {
/// patch: "/v1/messages/{message_id}" /// patch: "/v1/messages/{message_id}"
/// body: "message" /// body: "message"
/// }; /// };
/// } /// }
/// } /// }
/// message UpdateMessageRequest { /// message UpdateMessageRequest {
/// string message_id = 1; // mapped to the URL /// string message_id = 1; // mapped to the URL
/// Message message = 2; // mapped to the body /// Message message = 2; // mapped to the body
/// } /// }
/// ///
/// The following HTTP JSON to RPC mapping is enabled, where the /// The following HTTP JSON to RPC mapping is enabled, where the
/// representation of the JSON in the request body is determined by /// representation of the JSON in the request body is determined by
/// protos JSON encoding: /// protos JSON encoding:
/// ///
/// HTTP | gRPC /// - HTTP: `PATCH /v1/messages/123456 { "text": "Hi!" }`
/// -----|----- /// - gRPC: `UpdateMessage(message_id: "123456" message { text: "Hi!" })`
/// `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id:
/// "123456" message { text: "Hi!" })`
/// ///
/// The special name `*` can be used in the body mapping to define that /// The special name `*` can be used in the body mapping to define that
/// every field not bound by the path template should be mapped to the /// every field not bound by the path template should be mapped to the
/// request body. This enables the following alternative definition of /// request body. This enables the following alternative definition of
/// the update method: /// the update method:
/// ///
/// service Messaging { /// service Messaging {
/// rpc UpdateMessage(Message) returns (Message) { /// rpc UpdateMessage(Message) returns (Message) {
/// option (google.api.http) = { /// option (google.api.http) = {
/// patch: "/v1/messages/{message_id}" /// patch: "/v1/messages/{message_id}"
/// body: "*" /// body: "*"
/// }; /// };
/// } /// }
/// } /// }
/// message Message { /// message Message {
/// string message_id = 1; /// string message_id = 1;
/// string text = 2; /// string text = 2;
/// } /// }
/// ///
/// ///
/// The following HTTP JSON to RPC mapping is enabled: /// The following HTTP JSON to RPC mapping is enabled:
/// ///
/// HTTP | gRPC /// - HTTP: `PATCH /v1/messages/123456 { "text": "Hi!" }`
/// -----|----- /// - gRPC: `UpdateMessage(message_id: "123456" text: "Hi!")`
/// `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id:
/// "123456" text: "Hi!")`
/// ///
/// Note that when using `*` in the body mapping, it is not possible to /// Note that when using `*` in the body mapping, it is not possible to
/// have HTTP parameters, as all fields not bound by the path end in /// have HTTP parameters, as all fields not bound by the path end in
/// the body. This makes this option more rarely used in practice when /// the body. This makes this option more rarely used in practice when
/// defining REST APIs. The common usage of `*` is in custom methods /// defining REST APIs. The common usage of `*` is in custom methods
/// which don't use the URL at all for transferring data. /// which don't use the URL at all for transferring data.
/// ///
/// It is possible to define multiple HTTP methods for one RPC by using /// It is possible to define multiple HTTP methods for one RPC by using
/// the `additional_bindings` option. Example: /// the `additional_bindings` option. Example:
/// ///
/// service Messaging { /// service Messaging {
/// rpc GetMessage(GetMessageRequest) returns (Message) { /// rpc GetMessage(GetMessageRequest) returns (Message) {
/// option (google.api.http) = { /// option (google.api.http) = {
/// get: "/v1/messages/{message_id}" /// get: "/v1/messages/{message_id}"
/// additional_bindings { /// additional_bindings {
/// get: "/v1/users/{user_id}/messages/{message_id}" /// get: "/v1/users/{user_id}/messages/{message_id}"
/// } /// }
/// }; /// };
/// } /// }
/// } /// }
/// message GetMessageRequest { /// message GetMessageRequest {
/// string message_id = 1; /// string message_id = 1;
/// string user_id = 2; /// string user_id = 2;
/// } /// }
/// ///
/// This enables the following two alternative HTTP JSON to RPC mappings: /// This enables the following two alternative HTTP JSON to RPC mappings:
/// ///
/// HTTP | gRPC /// - HTTP: `GET /v1/messages/123456`
/// -----|----- /// - gRPC: `GetMessage(message_id: "123456")`
/// `GET /v1/messages/123456` | `GetMessage(message_id: "123456")`
/// `GET /v1/users/me/messages/123456` | `GetMessage(user_id: "me" message_id:
/// "123456")`
/// ///
/// ## Rules for HTTP mapping /// - HTTP: `GET /v1/users/me/messages/123456`
/// - gRPC: `GetMessage(user_id: "me" message_id: "123456")`
/// ///
/// 1. Leaf request fields (recursive expansion nested messages in the request /// Rules for HTTP mapping
/// message) are classified into three categories:
/// - Fields referred by the path template. They are passed via the URL path.
/// - Fields referred by the [HttpRule.body][google.api.HttpRule.body]. They are passed via the HTTP
/// request body.
/// - All other fields are passed via the URL query parameters, and the
/// parameter name is the field path in the request message. A repeated
/// field can be represented as multiple query parameters under the same
/// name.
/// 2. If [HttpRule.body][google.api.HttpRule.body] is "*", there is no URL query parameter, all fields
/// are passed via URL path and HTTP request body.
/// 3. If [HttpRule.body][google.api.HttpRule.body] is omitted, there is no HTTP request body, all
/// fields are passed via URL path and URL query parameters.
/// ///
/// ### Path template syntax /// 1. Leaf request fields (recursive expansion nested messages in the request
/// message) are classified into three categories:
/// - Fields referred by the path template. They are passed via the URL path.
/// - Fields referred by the [HttpRule.body][google.api.HttpRule.body]. They
/// are passed via the HTTP
/// request body.
/// - All other fields are passed via the URL query parameters, and the
/// parameter name is the field path in the request message. A repeated
/// field can be represented as multiple query parameters under the same
/// name.
/// 2. If [HttpRule.body][google.api.HttpRule.body] is "*", there is no URL
/// query parameter, all fields
/// are passed via URL path and HTTP request body.
/// 3. If [HttpRule.body][google.api.HttpRule.body] is omitted, there is no HTTP
/// request body, all
/// fields are passed via URL path and URL query parameters.
/// ///
/// Template = "/" Segments [ Verb ] ; /// Path template syntax
/// Segments = Segment { "/" Segment } ;
/// Segment = "*" | "**" | LITERAL | Variable ;
/// Variable = "{" FieldPath [ "=" Segments ] "}" ;
/// FieldPath = IDENT { "." IDENT } ;
/// Verb = ":" LITERAL ;
/// ///
/// The syntax `*` matches a single URL path segment. The syntax `**` matches /// Template = "/" Segments [ Verb ] ;
/// zero or more URL path segments, which must be the last part of the URL path /// Segments = Segment { "/" Segment } ;
/// except the `Verb`. /// Segment = "*" | "**" | LITERAL | Variable ;
/// Variable = "{" FieldPath [ "=" Segments ] "}" ;
/// FieldPath = IDENT { "." IDENT } ;
/// Verb = ":" LITERAL ;
/// ///
/// The syntax `Variable` matches part of the URL path as specified by its /// The syntax `*` matches a single URL path segment. The syntax `**` matches
/// template. A variable template must not contain other variables. If a variable /// zero or more URL path segments, which must be the last part of the URL path
/// matches a single path segment, its template may be omitted, e.g. `{var}` /// except the `Verb`.
/// is equivalent to `{var=*}`.
/// ///
/// The syntax `LITERAL` matches literal text in the URL path. If the `LITERAL` /// The syntax `Variable` matches part of the URL path as specified by its
/// contains any reserved character, such characters should be percent-encoded /// template. A variable template must not contain other variables. If a variable
/// before the matching. /// matches a single path segment, its template may be omitted, e.g. `{var}`
/// is equivalent to `{var=*}`.
/// ///
/// If a variable contains exactly one path segment, such as `"{var}"` or /// The syntax `LITERAL` matches literal text in the URL path. If the `LITERAL`
/// `"{var=*}"`, when such a variable is expanded into a URL path on the client /// contains any reserved character, such characters should be percent-encoded
/// side, all characters except `[-_.~0-9a-zA-Z]` are percent-encoded. The /// before the matching.
/// server side does the reverse decoding. Such variables show up in the
/// [Discovery
/// Document](https://developers.google.com/discovery/v1/reference/apis) as
/// `{var}`.
/// ///
/// If a variable contains multiple path segments, such as `"{var=foo/*}"` /// If a variable contains exactly one path segment, such as `"{var}"` or
/// or `"{var=**}"`, when such a variable is expanded into a URL path on the /// `"{var=*}"`, when such a variable is expanded into a URL path on the client
/// client side, all characters except `[-_.~/0-9a-zA-Z]` are percent-encoded. /// side, all characters except `[-_.~0-9a-zA-Z]` are percent-encoded. The
/// The server side does the reverse decoding, except "%2F" and "%2f" are left /// server side does the reverse decoding. Such variables show up in the
/// unchanged. Such variables show up in the /// [Discovery
/// [Discovery /// Document](https://developers.google.com/discovery/v1/reference/apis) as
/// Document](https://developers.google.com/discovery/v1/reference/apis) as /// `{var}`.
/// `{+var}`.
/// ///
/// ## Using gRPC API Service Configuration /// If a variable contains multiple path segments, such as `"{var=foo/*}"`
/// or `"{var=**}"`, when such a variable is expanded into a URL path on the
/// client side, all characters except `[-_.~/0-9a-zA-Z]` are percent-encoded.
/// The server side does the reverse decoding, except "%2F" and "%2f" are left
/// unchanged. Such variables show up in the
/// [Discovery
/// Document](https://developers.google.com/discovery/v1/reference/apis) as
/// `{+var}`.
/// ///
/// gRPC API Service Configuration (service config) is a configuration language /// Using gRPC API Service Configuration
/// for configuring a gRPC service to become a user-facing product. The
/// service config is simply the YAML representation of the `google.api.Service`
/// proto message.
/// ///
/// As an alternative to annotating your proto file, you can configure gRPC /// gRPC API Service Configuration (service config) is a configuration language
/// transcoding in your service config YAML files. You do this by specifying a /// for configuring a gRPC service to become a user-facing product. The
/// `HttpRule` that maps the gRPC method to a REST endpoint, achieving the same /// service config is simply the YAML representation of the `google.api.Service`
/// effect as the proto annotation. This can be particularly useful if you /// proto message.
/// have a proto that is reused in multiple services. Note that any transcoding
/// specified in the service config will override any matching transcoding
/// configuration in the proto.
/// ///
/// Example: /// As an alternative to annotating your proto file, you can configure gRPC
/// transcoding in your service config YAML files. You do this by specifying a
/// `HttpRule` that maps the gRPC method to a REST endpoint, achieving the same
/// effect as the proto annotation. This can be particularly useful if you
/// have a proto that is reused in multiple services. Note that any transcoding
/// specified in the service config will override any matching transcoding
/// configuration in the proto.
/// ///
/// http: /// The following example selects a gRPC method and applies an `HttpRule` to it:
/// rules:
/// # Selects a gRPC method and applies HttpRule to it.
/// - selector: example.v1.Messaging.GetMessage
/// get: /v1/messages/{message_id}/{sub.subfield}
/// ///
/// ## Special notes /// http:
/// rules:
/// - selector: example.v1.Messaging.GetMessage
/// get: /v1/messages/{message_id}/{sub.subfield}
/// ///
/// When gRPC Transcoding is used to map a gRPC to JSON REST endpoints, the /// Special notes
/// proto to JSON conversion must follow the [proto3
/// specification](https://developers.google.com/protocol-buffers/docs/proto3#json).
/// ///
/// While the single segment variable follows the semantics of /// When gRPC Transcoding is used to map a gRPC to JSON REST endpoints, the
/// [RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2 Simple String /// proto to JSON conversion must follow the [proto3
/// Expansion, the multi segment variable **does not** follow RFC 6570 Section /// specification](https://developers.google.com/protocol-buffers/docs/proto3#json).
/// 3.2.3 Reserved Expansion. The reason is that the Reserved Expansion
/// does not expand special characters like `?` and `#`, which would lead
/// to invalid URLs. As the result, gRPC Transcoding uses a custom encoding
/// for multi segment variables.
/// ///
/// The path variables **must not** refer to any repeated or mapped field, /// While the single segment variable follows the semantics of
/// because client libraries are not capable of handling such variable expansion. /// [RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2 Simple String
/// Expansion, the multi segment variable **does not** follow RFC 6570 Section
/// 3.2.3 Reserved Expansion. The reason is that the Reserved Expansion
/// does not expand special characters like `?` and `#`, which would lead
/// to invalid URLs. As the result, gRPC Transcoding uses a custom encoding
/// for multi segment variables.
/// ///
/// The path variables **must not** capture the leading "/" character. The reason /// The path variables **must not** refer to any repeated or mapped field,
/// is that the most common use case "{var}" does not capture the leading "/" /// because client libraries are not capable of handling such variable expansion.
/// character. For consistency, all path variables must share the same behavior.
/// ///
/// Repeated message fields must not be mapped to URL query parameters, because /// The path variables **must not** capture the leading "/" character. The reason
/// no client library can support such complicated mapping. /// is that the most common use case "{var}" does not capture the leading "/"
/// character. For consistency, all path variables must share the same behavior.
/// ///
/// If an API needs to use a JSON array for request or response body, it can map /// Repeated message fields must not be mapped to URL query parameters, because
/// the request or response body to a repeated field. However, some gRPC /// no client library can support such complicated mapping.
/// Transcoding implementations may not support this feature. ///
/// If an API needs to use a JSON array for request or response body, it can map
/// the request or response body to a repeated field. However, some gRPC
/// Transcoding implementations may not support this feature.
class HttpRule extends $pb.GeneratedMessage { class HttpRule extends $pb.GeneratedMessage {
factory HttpRule({ factory HttpRule({
$core.String? selector, $core.String? selector,
@@ -377,42 +367,24 @@ class HttpRule extends $pb.GeneratedMessage {
$core.Iterable<HttpRule>? additionalBindings, $core.Iterable<HttpRule>? additionalBindings,
$core.String? responseBody, $core.String? responseBody,
}) { }) {
final $result = create(); final result = create();
if (selector != null) { if (selector != null) result.selector = selector;
$result.selector = selector; if (get != null) result.get = get;
} if (put != null) result.put = put;
if (get != null) { if (post != null) result.post = post;
$result.get = get; if (delete != null) result.delete = delete;
} if (patch != null) result.patch = patch;
if (put != null) { if (body != null) result.body = body;
$result.put = put; if (custom != null) result.custom = custom;
} if (additionalBindings != null) result.additionalBindings.addAll(additionalBindings);
if (post != null) { if (responseBody != null) result.responseBody = responseBody;
$result.post = post; return result;
}
if (delete != null) {
$result.delete = delete;
}
if (patch != null) {
$result.patch = patch;
}
if (body != null) {
$result.body = body;
}
if (custom != null) {
$result.custom = custom;
}
if (additionalBindings != null) {
$result.additionalBindings.addAll(additionalBindings);
}
if (responseBody != null) {
$result.responseBody = responseBody;
}
return $result;
} }
HttpRule._() : super();
factory HttpRule.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); HttpRule._();
factory HttpRule.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
factory HttpRule.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory HttpRule.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static const $core.Map<$core.int, HttpRule_Pattern> _HttpRule_PatternByTag = { static const $core.Map<$core.int, HttpRule_Pattern> _HttpRule_PatternByTag = {
2 : HttpRule_Pattern.get, 2 : HttpRule_Pattern.get,
@@ -438,21 +410,17 @@ class HttpRule extends $pb.GeneratedMessage {
..hasRequiredFields = false ..hasRequiredFields = false
; ;
@$core.Deprecated( @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
'Will be removed in next major version')
HttpRule clone() => HttpRule()..mergeFromMessage(this); HttpRule clone() => HttpRule()..mergeFromMessage(this);
@$core.Deprecated( @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
'Will be removed in next major version')
HttpRule copyWith(void Function(HttpRule) updates) => super.copyWith((message) => updates(message as HttpRule)) as HttpRule; HttpRule copyWith(void Function(HttpRule) updates) => super.copyWith((message) => updates(message as HttpRule)) as HttpRule;
@$core.override
$pb.BuilderInfo get info_ => _i; $pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline') @$core.pragma('dart2js:noInline')
static HttpRule create() => HttpRule._(); static HttpRule create() => HttpRule._();
@$core.override
HttpRule createEmptyInstance() => create(); HttpRule createEmptyInstance() => create();
static $pb.PbList<HttpRule> createRepeated() => $pb.PbList<HttpRule>(); static $pb.PbList<HttpRule> createRepeated() => $pb.PbList<HttpRule>();
@$core.pragma('dart2js:noInline') @$core.pragma('dart2js:noInline')
@@ -462,13 +430,14 @@ class HttpRule extends $pb.GeneratedMessage {
HttpRule_Pattern whichPattern() => _HttpRule_PatternByTag[$_whichOneof(0)]!; HttpRule_Pattern whichPattern() => _HttpRule_PatternByTag[$_whichOneof(0)]!;
void clearPattern() => $_clearField($_whichOneof(0)); void clearPattern() => $_clearField($_whichOneof(0));
/// Selects a method to which this rule applies. /// Selects a method to which this rule applies.
/// ///
/// Refer to [selector][google.api.DocumentationRule.selector] for syntax details. /// Refer to [selector][google.api.DocumentationRule.selector] for syntax
/// details.
@$pb.TagNumber(1) @$pb.TagNumber(1)
$core.String get selector => $_getSZ(0); $core.String get selector => $_getSZ(0);
@$pb.TagNumber(1) @$pb.TagNumber(1)
set selector($core.String v) { $_setString(0, v); } set selector($core.String value) => $_setString(0, value);
@$pb.TagNumber(1) @$pb.TagNumber(1)
$core.bool hasSelector() => $_has(0); $core.bool hasSelector() => $_has(0);
@$pb.TagNumber(1) @$pb.TagNumber(1)
@@ -479,7 +448,7 @@ class HttpRule extends $pb.GeneratedMessage {
@$pb.TagNumber(2) @$pb.TagNumber(2)
$core.String get get => $_getSZ(1); $core.String get get => $_getSZ(1);
@$pb.TagNumber(2) @$pb.TagNumber(2)
set get($core.String v) { $_setString(1, v); } set get($core.String value) => $_setString(1, value);
@$pb.TagNumber(2) @$pb.TagNumber(2)
$core.bool hasGet() => $_has(1); $core.bool hasGet() => $_has(1);
@$pb.TagNumber(2) @$pb.TagNumber(2)
@@ -489,7 +458,7 @@ class HttpRule extends $pb.GeneratedMessage {
@$pb.TagNumber(3) @$pb.TagNumber(3)
$core.String get put => $_getSZ(2); $core.String get put => $_getSZ(2);
@$pb.TagNumber(3) @$pb.TagNumber(3)
set put($core.String v) { $_setString(2, v); } set put($core.String value) => $_setString(2, value);
@$pb.TagNumber(3) @$pb.TagNumber(3)
$core.bool hasPut() => $_has(2); $core.bool hasPut() => $_has(2);
@$pb.TagNumber(3) @$pb.TagNumber(3)
@@ -499,7 +468,7 @@ class HttpRule extends $pb.GeneratedMessage {
@$pb.TagNumber(4) @$pb.TagNumber(4)
$core.String get post => $_getSZ(3); $core.String get post => $_getSZ(3);
@$pb.TagNumber(4) @$pb.TagNumber(4)
set post($core.String v) { $_setString(3, v); } set post($core.String value) => $_setString(3, value);
@$pb.TagNumber(4) @$pb.TagNumber(4)
$core.bool hasPost() => $_has(3); $core.bool hasPost() => $_has(3);
@$pb.TagNumber(4) @$pb.TagNumber(4)
@@ -509,7 +478,7 @@ class HttpRule extends $pb.GeneratedMessage {
@$pb.TagNumber(5) @$pb.TagNumber(5)
$core.String get delete => $_getSZ(4); $core.String get delete => $_getSZ(4);
@$pb.TagNumber(5) @$pb.TagNumber(5)
set delete($core.String v) { $_setString(4, v); } set delete($core.String value) => $_setString(4, value);
@$pb.TagNumber(5) @$pb.TagNumber(5)
$core.bool hasDelete() => $_has(4); $core.bool hasDelete() => $_has(4);
@$pb.TagNumber(5) @$pb.TagNumber(5)
@@ -519,22 +488,22 @@ class HttpRule extends $pb.GeneratedMessage {
@$pb.TagNumber(6) @$pb.TagNumber(6)
$core.String get patch => $_getSZ(5); $core.String get patch => $_getSZ(5);
@$pb.TagNumber(6) @$pb.TagNumber(6)
set patch($core.String v) { $_setString(5, v); } set patch($core.String value) => $_setString(5, value);
@$pb.TagNumber(6) @$pb.TagNumber(6)
$core.bool hasPatch() => $_has(5); $core.bool hasPatch() => $_has(5);
@$pb.TagNumber(6) @$pb.TagNumber(6)
void clearPatch() => $_clearField(6); void clearPatch() => $_clearField(6);
/// The name of the request field whose value is mapped to the HTTP request /// The name of the request field whose value is mapped to the HTTP request
/// body, or `*` for mapping all request fields not captured by the path /// body, or `*` for mapping all request fields not captured by the path
/// pattern to the HTTP body, or omitted for not having any HTTP request body. /// pattern to the HTTP body, or omitted for not having any HTTP request body.
/// ///
/// NOTE: the referred field must be present at the top-level of the request /// NOTE: the referred field must be present at the top-level of the request
/// message type. /// message type.
@$pb.TagNumber(7) @$pb.TagNumber(7)
$core.String get body => $_getSZ(6); $core.String get body => $_getSZ(6);
@$pb.TagNumber(7) @$pb.TagNumber(7)
set body($core.String v) { $_setString(6, v); } set body($core.String value) => $_setString(6, value);
@$pb.TagNumber(7) @$pb.TagNumber(7)
$core.bool hasBody() => $_has(6); $core.bool hasBody() => $_has(6);
@$pb.TagNumber(7) @$pb.TagNumber(7)
@@ -547,7 +516,7 @@ class HttpRule extends $pb.GeneratedMessage {
@$pb.TagNumber(8) @$pb.TagNumber(8)
CustomHttpPattern get custom => $_getN(7); CustomHttpPattern get custom => $_getN(7);
@$pb.TagNumber(8) @$pb.TagNumber(8)
set custom(CustomHttpPattern v) { $_setField(8, v); } set custom(CustomHttpPattern value) => $_setField(8, value);
@$pb.TagNumber(8) @$pb.TagNumber(8)
$core.bool hasCustom() => $_has(7); $core.bool hasCustom() => $_has(7);
@$pb.TagNumber(8) @$pb.TagNumber(8)
@@ -561,16 +530,16 @@ class HttpRule extends $pb.GeneratedMessage {
@$pb.TagNumber(11) @$pb.TagNumber(11)
$pb.PbList<HttpRule> get additionalBindings => $_getList(8); $pb.PbList<HttpRule> get additionalBindings => $_getList(8);
/// Optional. The name of the response field whose value is mapped to the HTTP /// Optional. The name of the response field whose value is mapped to the HTTP
/// response body. When omitted, the entire response message will be used /// response body. When omitted, the entire response message will be used
/// as the HTTP response body. /// as the HTTP response body.
/// ///
/// NOTE: The referred field must be present at the top-level of the response /// NOTE: The referred field must be present at the top-level of the response
/// message type. /// message type.
@$pb.TagNumber(12) @$pb.TagNumber(12)
$core.String get responseBody => $_getSZ(9); $core.String get responseBody => $_getSZ(9);
@$pb.TagNumber(12) @$pb.TagNumber(12)
set responseBody($core.String v) { $_setString(9, v); } set responseBody($core.String value) => $_setString(9, value);
@$pb.TagNumber(12) @$pb.TagNumber(12)
$core.bool hasResponseBody() => $_has(9); $core.bool hasResponseBody() => $_has(9);
@$pb.TagNumber(12) @$pb.TagNumber(12)
@@ -583,18 +552,16 @@ class CustomHttpPattern extends $pb.GeneratedMessage {
$core.String? kind, $core.String? kind,
$core.String? path, $core.String? path,
}) { }) {
final $result = create(); final result = create();
if (kind != null) { if (kind != null) result.kind = kind;
$result.kind = kind; if (path != null) result.path = path;
} return result;
if (path != null) {
$result.path = path;
}
return $result;
} }
CustomHttpPattern._() : super();
factory CustomHttpPattern.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); CustomHttpPattern._();
factory CustomHttpPattern.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
factory CustomHttpPattern.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory CustomHttpPattern.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CustomHttpPattern', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.api'), createEmptyInstance: create) static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CustomHttpPattern', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.api'), createEmptyInstance: create)
..aOS(1, _omitFieldNames ? '' : 'kind') ..aOS(1, _omitFieldNames ? '' : 'kind')
@@ -602,21 +569,17 @@ class CustomHttpPattern extends $pb.GeneratedMessage {
..hasRequiredFields = false ..hasRequiredFields = false
; ;
@$core.Deprecated( @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
'Will be removed in next major version')
CustomHttpPattern clone() => CustomHttpPattern()..mergeFromMessage(this); CustomHttpPattern clone() => CustomHttpPattern()..mergeFromMessage(this);
@$core.Deprecated( @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
'Will be removed in next major version')
CustomHttpPattern copyWith(void Function(CustomHttpPattern) updates) => super.copyWith((message) => updates(message as CustomHttpPattern)) as CustomHttpPattern; CustomHttpPattern copyWith(void Function(CustomHttpPattern) updates) => super.copyWith((message) => updates(message as CustomHttpPattern)) as CustomHttpPattern;
@$core.override
$pb.BuilderInfo get info_ => _i; $pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline') @$core.pragma('dart2js:noInline')
static CustomHttpPattern create() => CustomHttpPattern._(); static CustomHttpPattern create() => CustomHttpPattern._();
@$core.override
CustomHttpPattern createEmptyInstance() => create(); CustomHttpPattern createEmptyInstance() => create();
static $pb.PbList<CustomHttpPattern> createRepeated() => $pb.PbList<CustomHttpPattern>(); static $pb.PbList<CustomHttpPattern> createRepeated() => $pb.PbList<CustomHttpPattern>();
@$core.pragma('dart2js:noInline') @$core.pragma('dart2js:noInline')
@@ -627,7 +590,7 @@ class CustomHttpPattern extends $pb.GeneratedMessage {
@$pb.TagNumber(1) @$pb.TagNumber(1)
$core.String get kind => $_getSZ(0); $core.String get kind => $_getSZ(0);
@$pb.TagNumber(1) @$pb.TagNumber(1)
set kind($core.String v) { $_setString(0, v); } set kind($core.String value) => $_setString(0, value);
@$pb.TagNumber(1) @$pb.TagNumber(1)
$core.bool hasKind() => $_has(0); $core.bool hasKind() => $_has(0);
@$pb.TagNumber(1) @$pb.TagNumber(1)
@@ -637,7 +600,7 @@ class CustomHttpPattern extends $pb.GeneratedMessage {
@$pb.TagNumber(2) @$pb.TagNumber(2)
$core.String get path => $_getSZ(1); $core.String get path => $_getSZ(1);
@$pb.TagNumber(2) @$pb.TagNumber(2)
set path($core.String v) { $_setString(1, v); } set path($core.String value) => $_setString(1, value);
@$pb.TagNumber(2) @$pb.TagNumber(2)
$core.bool hasPath() => $_has(1); $core.bool hasPath() => $_has(1);
@$pb.TagNumber(2) @$pb.TagNumber(2)
@@ -645,5 +608,5 @@ class CustomHttpPattern extends $pb.GeneratedMessage {
} }
const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); const $core.bool _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names');
const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); const $core.bool _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names');

View File

@@ -1,11 +1,12 @@
// This is a generated file - do not edit.
// //
// Generated code. Do not modify. // Generated from google/api/http.proto.
// source: google/api/http.proto
//
// @dart = 3.3 // @dart = 3.3
// ignore_for_file: annotate_overrides, camel_case_types, comment_references // ignore_for_file: annotate_overrides, camel_case_types, comment_references
// ignore_for_file: constant_identifier_names, library_prefixes // ignore_for_file: constant_identifier_names
// ignore_for_file: non_constant_identifier_names, prefer_final_fields // ignore_for_file: curly_braces_in_flow_control_structures
// ignore_for_file: unnecessary_import, unnecessary_this, unused_import // ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
// ignore_for_file: non_constant_identifier_names

View File

@@ -1,13 +1,14 @@
// This is a generated file - do not edit.
// //
// Generated code. Do not modify. // Generated from google/api/http.proto.
// source: google/api/http.proto
//
// @dart = 3.3 // @dart = 3.3
// ignore_for_file: annotate_overrides, camel_case_types, comment_references // ignore_for_file: annotate_overrides, camel_case_types, comment_references
// ignore_for_file: constant_identifier_names, library_prefixes // ignore_for_file: constant_identifier_names
// ignore_for_file: non_constant_identifier_names, prefer_final_fields // ignore_for_file: curly_braces_in_flow_control_structures
// ignore_for_file: unnecessary_import, unnecessary_this, unused_import // ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
// ignore_for_file: non_constant_identifier_names, unused_import
import 'dart:convert' as $convert; import 'dart:convert' as $convert;
import 'dart:core' as $core; import 'dart:core' as $core;

View File

@@ -1,105 +1,102 @@
// This is a generated file - do not edit.
// //
// Generated code. Do not modify. // Generated from google/api/httpbody.proto.
// source: google/api/httpbody.proto
//
// @dart = 3.3 // @dart = 3.3
// ignore_for_file: annotate_overrides, camel_case_types, comment_references // ignore_for_file: annotate_overrides, camel_case_types, comment_references
// ignore_for_file: constant_identifier_names, library_prefixes // ignore_for_file: constant_identifier_names
// ignore_for_file: non_constant_identifier_names, prefer_final_fields // ignore_for_file: curly_braces_in_flow_control_structures
// ignore_for_file: unnecessary_import, unnecessary_this, unused_import // ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
// ignore_for_file: non_constant_identifier_names
import 'dart:core' as $core; import 'dart:core' as $core;
import 'package:protobuf/protobuf.dart' as $pb; import 'package:protobuf/protobuf.dart' as $pb;
import '../protobuf/any.pb.dart' as $17; import '../protobuf/any.pb.dart' as $0;
export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions; export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions;
/// Message that represents an arbitrary HTTP body. It should only be used for /// Message that represents an arbitrary HTTP body. It should only be used for
/// payload formats that can't be represented as JSON, such as raw binary or /// payload formats that can't be represented as JSON, such as raw binary or
/// an HTML page. /// an HTML page.
/// ///
/// ///
/// This message can be used both in streaming and non-streaming API methods in /// This message can be used both in streaming and non-streaming API methods in
/// the request as well as the response. /// the request as well as the response.
/// ///
/// It can be used as a top-level request field, which is convenient if one /// It can be used as a top-level request field, which is convenient if one
/// wants to extract parameters from either the URL or HTTP template into the /// wants to extract parameters from either the URL or HTTP template into the
/// request fields and also want access to the raw HTTP body. /// request fields and also want access to the raw HTTP body.
/// ///
/// Example: /// Example:
/// ///
/// message GetResourceRequest { /// message GetResourceRequest {
/// // A unique request id. /// // A unique request id.
/// string request_id = 1; /// string request_id = 1;
/// ///
/// // The raw HTTP body is bound to this field. /// // The raw HTTP body is bound to this field.
/// google.api.HttpBody http_body = 2; /// google.api.HttpBody http_body = 2;
/// }
/// ///
/// service ResourceService { /// }
/// rpc GetResource(GetResourceRequest) returns (google.api.HttpBody);
/// rpc UpdateResource(google.api.HttpBody) returns
/// (google.protobuf.Empty);
/// }
/// ///
/// Example with streaming methods: /// service ResourceService {
/// rpc GetResource(GetResourceRequest)
/// returns (google.api.HttpBody);
/// rpc UpdateResource(google.api.HttpBody)
/// returns (google.protobuf.Empty);
/// ///
/// service CaldavService { /// }
/// rpc GetCalendar(stream google.api.HttpBody)
/// returns (stream google.api.HttpBody);
/// rpc UpdateCalendar(stream google.api.HttpBody)
/// returns (stream google.api.HttpBody);
/// }
/// ///
/// Use of this type only changes how the request and response bodies are /// Example with streaming methods:
/// handled, all other features will continue to work unchanged. ///
/// service CaldavService {
/// rpc GetCalendar(stream google.api.HttpBody)
/// returns (stream google.api.HttpBody);
/// rpc UpdateCalendar(stream google.api.HttpBody)
/// returns (stream google.api.HttpBody);
///
/// }
///
/// Use of this type only changes how the request and response bodies are
/// handled, all other features will continue to work unchanged.
class HttpBody extends $pb.GeneratedMessage { class HttpBody extends $pb.GeneratedMessage {
factory HttpBody({ factory HttpBody({
$core.String? contentType, $core.String? contentType,
$core.List<$core.int>? data, $core.List<$core.int>? data,
$core.Iterable<$17.Any>? extensions, $core.Iterable<$0.Any>? extensions,
}) { }) {
final $result = create(); final result = create();
if (contentType != null) { if (contentType != null) result.contentType = contentType;
$result.contentType = contentType; if (data != null) result.data = data;
} if (extensions != null) result.extensions.addAll(extensions);
if (data != null) { return result;
$result.data = data;
}
if (extensions != null) {
$result.extensions.addAll(extensions);
}
return $result;
} }
HttpBody._() : super();
factory HttpBody.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); HttpBody._();
factory HttpBody.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
factory HttpBody.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory HttpBody.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'HttpBody', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.api'), createEmptyInstance: create) static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'HttpBody', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.api'), createEmptyInstance: create)
..aOS(1, _omitFieldNames ? '' : 'contentType') ..aOS(1, _omitFieldNames ? '' : 'contentType')
..a<$core.List<$core.int>>(2, _omitFieldNames ? '' : 'data', $pb.PbFieldType.OY) ..a<$core.List<$core.int>>(2, _omitFieldNames ? '' : 'data', $pb.PbFieldType.OY)
..pc<$17.Any>(3, _omitFieldNames ? '' : 'extensions', $pb.PbFieldType.PM, subBuilder: $17.Any.create) ..pc<$0.Any>(3, _omitFieldNames ? '' : 'extensions', $pb.PbFieldType.PM, subBuilder: $0.Any.create)
..hasRequiredFields = false ..hasRequiredFields = false
; ;
@$core.Deprecated( @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
'Will be removed in next major version')
HttpBody clone() => HttpBody()..mergeFromMessage(this); HttpBody clone() => HttpBody()..mergeFromMessage(this);
@$core.Deprecated( @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
'Will be removed in next major version')
HttpBody copyWith(void Function(HttpBody) updates) => super.copyWith((message) => updates(message as HttpBody)) as HttpBody; HttpBody copyWith(void Function(HttpBody) updates) => super.copyWith((message) => updates(message as HttpBody)) as HttpBody;
@$core.override
$pb.BuilderInfo get info_ => _i; $pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline') @$core.pragma('dart2js:noInline')
static HttpBody create() => HttpBody._(); static HttpBody create() => HttpBody._();
@$core.override
HttpBody createEmptyInstance() => create(); HttpBody createEmptyInstance() => create();
static $pb.PbList<HttpBody> createRepeated() => $pb.PbList<HttpBody>(); static $pb.PbList<HttpBody> createRepeated() => $pb.PbList<HttpBody>();
@$core.pragma('dart2js:noInline') @$core.pragma('dart2js:noInline')
@@ -110,7 +107,7 @@ class HttpBody extends $pb.GeneratedMessage {
@$pb.TagNumber(1) @$pb.TagNumber(1)
$core.String get contentType => $_getSZ(0); $core.String get contentType => $_getSZ(0);
@$pb.TagNumber(1) @$pb.TagNumber(1)
set contentType($core.String v) { $_setString(0, v); } set contentType($core.String value) => $_setString(0, value);
@$pb.TagNumber(1) @$pb.TagNumber(1)
$core.bool hasContentType() => $_has(0); $core.bool hasContentType() => $_has(0);
@$pb.TagNumber(1) @$pb.TagNumber(1)
@@ -120,7 +117,7 @@ class HttpBody extends $pb.GeneratedMessage {
@$pb.TagNumber(2) @$pb.TagNumber(2)
$core.List<$core.int> get data => $_getN(1); $core.List<$core.int> get data => $_getN(1);
@$pb.TagNumber(2) @$pb.TagNumber(2)
set data($core.List<$core.int> v) { $_setBytes(1, v); } set data($core.List<$core.int> value) => $_setBytes(1, value);
@$pb.TagNumber(2) @$pb.TagNumber(2)
$core.bool hasData() => $_has(1); $core.bool hasData() => $_has(1);
@$pb.TagNumber(2) @$pb.TagNumber(2)
@@ -129,9 +126,9 @@ class HttpBody extends $pb.GeneratedMessage {
/// Application specific response metadata. Must be set in the first response /// Application specific response metadata. Must be set in the first response
/// for streaming APIs. /// for streaming APIs.
@$pb.TagNumber(3) @$pb.TagNumber(3)
$pb.PbList<$17.Any> get extensions => $_getList(2); $pb.PbList<$0.Any> get extensions => $_getList(2);
} }
const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); const $core.bool _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names');
const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); const $core.bool _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names');

View File

@@ -1,11 +1,12 @@
// This is a generated file - do not edit.
// //
// Generated code. Do not modify. // Generated from google/api/httpbody.proto.
// source: google/api/httpbody.proto
//
// @dart = 3.3 // @dart = 3.3
// ignore_for_file: annotate_overrides, camel_case_types, comment_references // ignore_for_file: annotate_overrides, camel_case_types, comment_references
// ignore_for_file: constant_identifier_names, library_prefixes // ignore_for_file: constant_identifier_names
// ignore_for_file: non_constant_identifier_names, prefer_final_fields // ignore_for_file: curly_braces_in_flow_control_structures
// ignore_for_file: unnecessary_import, unnecessary_this, unused_import // ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
// ignore_for_file: non_constant_identifier_names

View File

@@ -1,13 +1,14 @@
// This is a generated file - do not edit.
// //
// Generated code. Do not modify. // Generated from google/api/httpbody.proto.
// source: google/api/httpbody.proto
//
// @dart = 3.3 // @dart = 3.3
// ignore_for_file: annotate_overrides, camel_case_types, comment_references // ignore_for_file: annotate_overrides, camel_case_types, comment_references
// ignore_for_file: constant_identifier_names, library_prefixes // ignore_for_file: constant_identifier_names
// ignore_for_file: non_constant_identifier_names, prefer_final_fields // ignore_for_file: curly_braces_in_flow_control_structures
// ignore_for_file: unnecessary_import, unnecessary_this, unused_import // ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
// ignore_for_file: non_constant_identifier_names, unused_import
import 'dart:convert' as $convert; import 'dart:convert' as $convert;
import 'dart:core' as $core; import 'dart:core' as $core;

View File

@@ -1,13 +1,15 @@
// This is a generated file - do not edit.
// //
// Generated code. Do not modify. // Generated from google/protobuf/any.proto.
// source: google/protobuf/any.proto
//
// @dart = 3.3 // @dart = 3.3
// ignore_for_file: annotate_overrides, camel_case_types, comment_references // ignore_for_file: annotate_overrides, camel_case_types, comment_references
// ignore_for_file: constant_identifier_names, library_prefixes // ignore_for_file: constant_identifier_names
// ignore_for_file: non_constant_identifier_names, prefer_final_fields // ignore_for_file: curly_braces_in_flow_control_structures
// ignore_for_file: unnecessary_import, unnecessary_this, unused_import // ignore_for_file: deprecated_member_use_from_same_package
// ignore_for_file: implementation_imports, library_prefixes
// ignore_for_file: non_constant_identifier_names
import 'dart:core' as $core; import 'dart:core' as $core;
@@ -16,102 +18,106 @@ import 'package:protobuf/src/protobuf/mixins/well_known.dart' as $mixin;
export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions; export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions;
/// `Any` contains an arbitrary serialized protocol buffer message along with a /// `Any` contains an arbitrary serialized protocol buffer message along with a
/// URL that describes the type of the serialized message. /// URL that describes the type of the serialized message.
/// ///
/// Protobuf library provides support to pack/unpack Any values in the form /// Protobuf library provides support to pack/unpack Any values in the form
/// of utility functions or additional generated methods of the Any type. /// of utility functions or additional generated methods of the Any type.
/// ///
/// Example 1: Pack and unpack a message in C++. /// Example 1: Pack and unpack a message in C++.
/// ///
/// Foo foo = ...; /// Foo foo = ...;
/// Any any; /// Any any;
/// any.PackFrom(foo); /// any.PackFrom(foo);
/// ... /// ...
/// if (any.UnpackTo(&foo)) { /// if (any.UnpackTo(&foo)) {
/// ...
/// }
///
/// Example 2: Pack and unpack a message in Java.
///
/// Foo foo = ...;
/// Any any = Any.pack(foo);
/// ...
/// if (any.is(Foo.class)) {
/// foo = any.unpack(Foo.class);
/// }
///
/// Example 3: Pack and unpack a message in Python.
///
/// foo = Foo(...)
/// any = Any()
/// any.Pack(foo)
/// ...
/// if any.Is(Foo.DESCRIPTOR):
/// any.Unpack(foo)
/// ...
///
/// Example 4: Pack and unpack a message in Go
///
/// foo := &pb.Foo{...}
/// any, err := ptypes.MarshalAny(foo)
/// ... /// ...
/// foo := &pb.Foo{} /// }
/// if err := ptypes.UnmarshalAny(any, foo); err != nil {
/// ...
/// }
/// ///
/// The pack methods provided by protobuf library will by default use /// Example 2: Pack and unpack a message in Java.
/// 'type.googleapis.com/full.type.name' as the type URL and the unpack
/// methods only use the fully qualified type name after the last '/'
/// in the type URL, for example "foo.bar.com/x/y.z" will yield type
/// name "y.z".
/// ///
/// Foo foo = ...;
/// Any any = Any.pack(foo);
/// ...
/// if (any.is(Foo.class)) {
/// foo = any.unpack(Foo.class);
/// }
/// // or ...
/// if (any.isSameTypeAs(Foo.getDefaultInstance())) {
/// foo = any.unpack(Foo.getDefaultInstance());
/// }
/// ///
/// JSON /// Example 3: Pack and unpack a message in Python.
/// ====
/// The JSON representation of an `Any` value uses the regular
/// representation of the deserialized, embedded message, with an
/// additional field `@type` which contains the type URL. Example:
/// ///
/// package google.profile; /// foo = Foo(...)
/// message Person { /// any = Any()
/// string first_name = 1; /// any.Pack(foo)
/// string last_name = 2; /// ...
/// if any.Is(Foo.DESCRIPTOR):
/// any.Unpack(foo)
/// ...
///
/// Example 4: Pack and unpack a message in Go
///
/// foo := &pb.Foo{...}
/// any, err := anypb.New(foo)
/// if err != nil {
/// ...
/// }
/// ...
/// foo := &pb.Foo{}
/// if err := any.UnmarshalTo(foo); err != nil {
/// ...
/// } /// }
/// ///
/// { /// The pack methods provided by protobuf library will by default use
/// "@type": "type.googleapis.com/google.profile.Person", /// 'type.googleapis.com/full.type.name' as the type URL and the unpack
/// "firstName": <string>, /// methods only use the fully qualified type name after the last '/'
/// "lastName": <string> /// in the type URL, for example "foo.bar.com/x/y.z" will yield type
/// } /// name "y.z".
/// ///
/// If the embedded message type is well-known and has a custom JSON /// JSON
/// representation, that representation will be embedded adding a field /// ====
/// `value` which holds the custom JSON in addition to the `@type` /// The JSON representation of an `Any` value uses the regular
/// field. Example (for message [google.protobuf.Duration][]): /// representation of the deserialized, embedded message, with an
/// additional field `@type` which contains the type URL. Example:
/// ///
/// { /// package google.profile;
/// "@type": "type.googleapis.com/google.protobuf.Duration", /// message Person {
/// "value": "1.212s" /// string first_name = 1;
/// } /// string last_name = 2;
/// }
///
/// {
/// "@type": "type.googleapis.com/google.profile.Person",
/// "firstName": <string>,
/// "lastName": <string>
/// }
///
/// If the embedded message type is well-known and has a custom JSON
/// representation, that representation will be embedded adding a field
/// `value` which holds the custom JSON in addition to the `@type`
/// field. Example (for message [google.protobuf.Duration][]):
///
/// {
/// "@type": "type.googleapis.com/google.protobuf.Duration",
/// "value": "1.212s"
/// }
class Any extends $pb.GeneratedMessage with $mixin.AnyMixin { class Any extends $pb.GeneratedMessage with $mixin.AnyMixin {
factory Any({ factory Any({
$core.String? typeUrl, $core.String? typeUrl,
$core.List<$core.int>? value, $core.List<$core.int>? value,
}) { }) {
final $result = create(); final result = create();
if (typeUrl != null) { if (typeUrl != null) result.typeUrl = typeUrl;
$result.typeUrl = typeUrl; if (value != null) result.value = value;
} return result;
if (value != null) {
$result.value = value;
}
return $result;
} }
Any._() : super();
factory Any.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); Any._();
factory Any.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
factory Any.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory Any.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Any', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create, toProto3Json: $mixin.AnyMixin.toProto3JsonHelper, fromProto3Json: $mixin.AnyMixin.fromProto3JsonHelper) static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Any', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create, toProto3Json: $mixin.AnyMixin.toProto3JsonHelper, fromProto3Json: $mixin.AnyMixin.fromProto3JsonHelper)
..aOS(1, _omitFieldNames ? '' : 'typeUrl') ..aOS(1, _omitFieldNames ? '' : 'typeUrl')
@@ -119,58 +125,55 @@ class Any extends $pb.GeneratedMessage with $mixin.AnyMixin {
..hasRequiredFields = false ..hasRequiredFields = false
; ;
@$core.Deprecated( @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
'Will be removed in next major version')
Any clone() => Any()..mergeFromMessage(this); Any clone() => Any()..mergeFromMessage(this);
@$core.Deprecated( @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
'Will be removed in next major version')
Any copyWith(void Function(Any) updates) => super.copyWith((message) => updates(message as Any)) as Any; Any copyWith(void Function(Any) updates) => super.copyWith((message) => updates(message as Any)) as Any;
@$core.override
$pb.BuilderInfo get info_ => _i; $pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline') @$core.pragma('dart2js:noInline')
static Any create() => Any._(); static Any create() => Any._();
@$core.override
Any createEmptyInstance() => create(); Any createEmptyInstance() => create();
static $pb.PbList<Any> createRepeated() => $pb.PbList<Any>(); static $pb.PbList<Any> createRepeated() => $pb.PbList<Any>();
@$core.pragma('dart2js:noInline') @$core.pragma('dart2js:noInline')
static Any getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<Any>(create); static Any getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<Any>(create);
static Any? _defaultInstance; static Any? _defaultInstance;
/// A URL/resource name that uniquely identifies the type of the serialized /// A URL/resource name that uniquely identifies the type of the serialized
/// protocol buffer message. This string must contain at least /// protocol buffer message. This string must contain at least
/// one "/" character. The last segment of the URL's path must represent /// one "/" character. The last segment of the URL's path must represent
/// the fully qualified name of the type (as in /// the fully qualified name of the type (as in
/// `path/google.protobuf.Duration`). The name should be in a canonical form /// `path/google.protobuf.Duration`). The name should be in a canonical form
/// (e.g., leading "." is not accepted). /// (e.g., leading "." is not accepted).
/// ///
/// In practice, teams usually precompile into the binary all types that they /// In practice, teams usually precompile into the binary all types that they
/// expect it to use in the context of Any. However, for URLs which use the /// expect it to use in the context of Any. However, for URLs which use the
/// scheme `http`, `https`, or no scheme, one can optionally set up a type /// scheme `http`, `https`, or no scheme, one can optionally set up a type
/// server that maps type URLs to message definitions as follows: /// server that maps type URLs to message definitions as follows:
/// ///
/// * If no scheme is provided, `https` is assumed. /// * If no scheme is provided, `https` is assumed.
/// * An HTTP GET on the URL must yield a [google.protobuf.Type][] /// * An HTTP GET on the URL must yield a [google.protobuf.Type][]
/// value in binary format, or produce an error. /// value in binary format, or produce an error.
/// * Applications are allowed to cache lookup results based on the /// * Applications are allowed to cache lookup results based on the
/// URL, or have them precompiled into a binary to avoid any /// URL, or have them precompiled into a binary to avoid any
/// lookup. Therefore, binary compatibility needs to be preserved /// lookup. Therefore, binary compatibility needs to be preserved
/// on changes to types. (Use versioned type names to manage /// on changes to types. (Use versioned type names to manage
/// breaking changes.) /// breaking changes.)
/// ///
/// Note: this functionality is not currently available in the official /// Note: this functionality is not currently available in the official
/// protobuf release, and it is not used for type URLs beginning with /// protobuf release, and it is not used for type URLs beginning with
/// type.googleapis.com. /// type.googleapis.com. As of May 2023, there are no widely used type server
/// implementations and no plans to implement one.
/// ///
/// Schemes other than `http`, `https` (or the empty scheme) might be /// Schemes other than `http`, `https` (or the empty scheme) might be
/// used with implementation specific semantics. /// used with implementation specific semantics.
@$pb.TagNumber(1) @$pb.TagNumber(1)
$core.String get typeUrl => $_getSZ(0); $core.String get typeUrl => $_getSZ(0);
@$pb.TagNumber(1) @$pb.TagNumber(1)
set typeUrl($core.String v) { $_setString(0, v); } set typeUrl($core.String value) => $_setString(0, value);
@$pb.TagNumber(1) @$pb.TagNumber(1)
$core.bool hasTypeUrl() => $_has(0); $core.bool hasTypeUrl() => $_has(0);
@$pb.TagNumber(1) @$pb.TagNumber(1)
@@ -180,7 +183,7 @@ class Any extends $pb.GeneratedMessage with $mixin.AnyMixin {
@$pb.TagNumber(2) @$pb.TagNumber(2)
$core.List<$core.int> get value => $_getN(1); $core.List<$core.int> get value => $_getN(1);
@$pb.TagNumber(2) @$pb.TagNumber(2)
set value($core.List<$core.int> v) { $_setBytes(1, v); } set value($core.List<$core.int> value) => $_setBytes(1, value);
@$pb.TagNumber(2) @$pb.TagNumber(2)
$core.bool hasValue() => $_has(1); $core.bool hasValue() => $_has(1);
@$pb.TagNumber(2) @$pb.TagNumber(2)
@@ -199,5 +202,5 @@ class Any extends $pb.GeneratedMessage with $mixin.AnyMixin {
} }
const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); const $core.bool _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names');
const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); const $core.bool _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names');

View File

@@ -1,11 +1,12 @@
// This is a generated file - do not edit.
// //
// Generated code. Do not modify. // Generated from google/protobuf/any.proto.
// source: google/protobuf/any.proto
//
// @dart = 3.3 // @dart = 3.3
// ignore_for_file: annotate_overrides, camel_case_types, comment_references // ignore_for_file: annotate_overrides, camel_case_types, comment_references
// ignore_for_file: constant_identifier_names, library_prefixes // ignore_for_file: constant_identifier_names
// ignore_for_file: non_constant_identifier_names, prefer_final_fields // ignore_for_file: curly_braces_in_flow_control_structures
// ignore_for_file: unnecessary_import, unnecessary_this, unused_import // ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
// ignore_for_file: non_constant_identifier_names

View File

@@ -1,13 +1,14 @@
// This is a generated file - do not edit.
// //
// Generated code. Do not modify. // Generated from google/protobuf/any.proto.
// source: google/protobuf/any.proto
//
// @dart = 3.3 // @dart = 3.3
// ignore_for_file: annotate_overrides, camel_case_types, comment_references // ignore_for_file: annotate_overrides, camel_case_types, comment_references
// ignore_for_file: constant_identifier_names, library_prefixes // ignore_for_file: constant_identifier_names
// ignore_for_file: non_constant_identifier_names, prefer_final_fields // ignore_for_file: curly_braces_in_flow_control_structures
// ignore_for_file: unnecessary_import, unnecessary_this, unused_import // ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
// ignore_for_file: non_constant_identifier_names, unused_import
import 'dart:convert' as $convert; import 'dart:convert' as $convert;
import 'dart:core' as $core; import 'dart:core' as $core;

View File

@@ -1,97 +1,89 @@
// This is a generated file - do not edit.
// //
// Generated code. Do not modify. // Generated from google/protobuf/api.proto.
// source: google/protobuf/api.proto
//
// @dart = 3.3 // @dart = 3.3
// ignore_for_file: annotate_overrides, camel_case_types, comment_references // ignore_for_file: annotate_overrides, camel_case_types, comment_references
// ignore_for_file: constant_identifier_names, library_prefixes // ignore_for_file: constant_identifier_names
// ignore_for_file: non_constant_identifier_names, prefer_final_fields // ignore_for_file: curly_braces_in_flow_control_structures
// ignore_for_file: unnecessary_import, unnecessary_this, unused_import // ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
// ignore_for_file: non_constant_identifier_names
import 'dart:core' as $core; import 'dart:core' as $core;
import 'package:protobuf/protobuf.dart' as $pb; import 'package:protobuf/protobuf.dart' as $pb;
import 'source_context.pb.dart' as $18; import 'source_context.pb.dart' as $1;
import 'type.pb.dart' as $20; import 'type.pb.dart' as $0;
import 'type.pbenum.dart' as $20;
export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions; export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions;
/// Api is a light-weight descriptor for an API Interface. /// Api is a light-weight descriptor for an API Interface.
/// ///
/// Interfaces are also described as "protocol buffer services" in some contexts, /// Interfaces are also described as "protocol buffer services" in some contexts,
/// such as by the "service" keyword in a .proto file, but they are different /// such as by the "service" keyword in a .proto file, but they are different
/// from API Services, which represent a concrete implementation of an interface /// from API Services, which represent a concrete implementation of an interface
/// as opposed to simply a description of methods and bindings. They are also /// as opposed to simply a description of methods and bindings. They are also
/// sometimes simply referred to as "APIs" in other contexts, such as the name of /// sometimes simply referred to as "APIs" in other contexts, such as the name of
/// this message itself. See https://cloud.google.com/apis/design/glossary for /// this message itself. See https://cloud.google.com/apis/design/glossary for
/// detailed terminology. /// detailed terminology.
///
/// New usages of this message as an alternative to ServiceDescriptorProto are
/// strongly discouraged. This message does not reliability preserve all
/// information necessary to model the schema and preserve semantics. Instead
/// make use of FileDescriptorSet which preserves the necessary information.
class Api extends $pb.GeneratedMessage { class Api extends $pb.GeneratedMessage {
factory Api({ factory Api({
$core.String? name, $core.String? name,
$core.Iterable<Method>? methods, $core.Iterable<Method>? methods,
$core.Iterable<$20.Option>? options, $core.Iterable<$0.Option>? options,
$core.String? version, $core.String? version,
$18.SourceContext? sourceContext, $1.SourceContext? sourceContext,
$core.Iterable<Mixin>? mixins, $core.Iterable<Mixin>? mixins,
$20.Syntax? syntax, $0.Syntax? syntax,
$core.String? edition,
}) { }) {
final $result = create(); final result = create();
if (name != null) { if (name != null) result.name = name;
$result.name = name; if (methods != null) result.methods.addAll(methods);
} if (options != null) result.options.addAll(options);
if (methods != null) { if (version != null) result.version = version;
$result.methods.addAll(methods); if (sourceContext != null) result.sourceContext = sourceContext;
} if (mixins != null) result.mixins.addAll(mixins);
if (options != null) { if (syntax != null) result.syntax = syntax;
$result.options.addAll(options); if (edition != null) result.edition = edition;
} return result;
if (version != null) {
$result.version = version;
}
if (sourceContext != null) {
$result.sourceContext = sourceContext;
}
if (mixins != null) {
$result.mixins.addAll(mixins);
}
if (syntax != null) {
$result.syntax = syntax;
}
return $result;
} }
Api._() : super();
factory Api.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); Api._();
factory Api.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
factory Api.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory Api.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Api', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create) static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Api', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create)
..aOS(1, _omitFieldNames ? '' : 'name') ..aOS(1, _omitFieldNames ? '' : 'name')
..pc<Method>(2, _omitFieldNames ? '' : 'methods', $pb.PbFieldType.PM, subBuilder: Method.create) ..pc<Method>(2, _omitFieldNames ? '' : 'methods', $pb.PbFieldType.PM, subBuilder: Method.create)
..pc<$20.Option>(3, _omitFieldNames ? '' : 'options', $pb.PbFieldType.PM, subBuilder: $20.Option.create) ..pc<$0.Option>(3, _omitFieldNames ? '' : 'options', $pb.PbFieldType.PM, subBuilder: $0.Option.create)
..aOS(4, _omitFieldNames ? '' : 'version') ..aOS(4, _omitFieldNames ? '' : 'version')
..aOM<$18.SourceContext>(5, _omitFieldNames ? '' : 'sourceContext', subBuilder: $18.SourceContext.create) ..aOM<$1.SourceContext>(5, _omitFieldNames ? '' : 'sourceContext', subBuilder: $1.SourceContext.create)
..pc<Mixin>(6, _omitFieldNames ? '' : 'mixins', $pb.PbFieldType.PM, subBuilder: Mixin.create) ..pc<Mixin>(6, _omitFieldNames ? '' : 'mixins', $pb.PbFieldType.PM, subBuilder: Mixin.create)
..e<$20.Syntax>(7, _omitFieldNames ? '' : 'syntax', $pb.PbFieldType.OE, defaultOrMaker: $20.Syntax.SYNTAX_PROTO2, valueOf: $20.Syntax.valueOf, enumValues: $20.Syntax.values) ..e<$0.Syntax>(7, _omitFieldNames ? '' : 'syntax', $pb.PbFieldType.OE, defaultOrMaker: $0.Syntax.SYNTAX_PROTO2, valueOf: $0.Syntax.valueOf, enumValues: $0.Syntax.values)
..aOS(8, _omitFieldNames ? '' : 'edition')
..hasRequiredFields = false ..hasRequiredFields = false
; ;
@$core.Deprecated( @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
'Will be removed in next major version')
Api clone() => Api()..mergeFromMessage(this); Api clone() => Api()..mergeFromMessage(this);
@$core.Deprecated( @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
'Will be removed in next major version')
Api copyWith(void Function(Api) updates) => super.copyWith((message) => updates(message as Api)) as Api; Api copyWith(void Function(Api) updates) => super.copyWith((message) => updates(message as Api)) as Api;
@$core.override
$pb.BuilderInfo get info_ => _i; $pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline') @$core.pragma('dart2js:noInline')
static Api create() => Api._(); static Api create() => Api._();
@$core.override
Api createEmptyInstance() => create(); Api createEmptyInstance() => create();
static $pb.PbList<Api> createRepeated() => $pb.PbList<Api>(); static $pb.PbList<Api> createRepeated() => $pb.PbList<Api>();
@$core.pragma('dart2js:noInline') @$core.pragma('dart2js:noInline')
@@ -103,7 +95,7 @@ class Api extends $pb.GeneratedMessage {
@$pb.TagNumber(1) @$pb.TagNumber(1)
$core.String get name => $_getSZ(0); $core.String get name => $_getSZ(0);
@$pb.TagNumber(1) @$pb.TagNumber(1)
set name($core.String v) { $_setString(0, v); } set name($core.String value) => $_setString(0, value);
@$pb.TagNumber(1) @$pb.TagNumber(1)
$core.bool hasName() => $_has(0); $core.bool hasName() => $_has(0);
@$pb.TagNumber(1) @$pb.TagNumber(1)
@@ -115,31 +107,31 @@ class Api extends $pb.GeneratedMessage {
/// Any metadata attached to the interface. /// Any metadata attached to the interface.
@$pb.TagNumber(3) @$pb.TagNumber(3)
$pb.PbList<$20.Option> get options => $_getList(2); $pb.PbList<$0.Option> get options => $_getList(2);
/// A version string for this interface. If specified, must have the form /// A version string for this interface. If specified, must have the form
/// `major-version.minor-version`, as in `1.10`. If the minor version is /// `major-version.minor-version`, as in `1.10`. If the minor version is
/// omitted, it defaults to zero. If the entire version field is empty, the /// omitted, it defaults to zero. If the entire version field is empty, the
/// major version is derived from the package name, as outlined below. If the /// major version is derived from the package name, as outlined below. If the
/// field is not empty, the version in the package name will be verified to be /// field is not empty, the version in the package name will be verified to be
/// consistent with what is provided here. /// consistent with what is provided here.
/// ///
/// The versioning schema uses [semantic /// The versioning schema uses [semantic
/// versioning](http://semver.org) where the major version number /// versioning](http://semver.org) where the major version number
/// indicates a breaking change and the minor version an additive, /// indicates a breaking change and the minor version an additive,
/// non-breaking change. Both version numbers are signals to users /// non-breaking change. Both version numbers are signals to users
/// what to expect from different versions, and should be carefully /// what to expect from different versions, and should be carefully
/// chosen based on the product plan. /// chosen based on the product plan.
/// ///
/// The major version is also reflected in the package name of the /// The major version is also reflected in the package name of the
/// interface, which must end in `v<major-version>`, as in /// interface, which must end in `v<major-version>`, as in
/// `google.feature.v1`. For major versions 0 and 1, the suffix can /// `google.feature.v1`. For major versions 0 and 1, the suffix can
/// be omitted. Zero major versions must only be used for /// be omitted. Zero major versions must only be used for
/// experimental, non-GA interfaces. /// experimental, non-GA interfaces.
@$pb.TagNumber(4) @$pb.TagNumber(4)
$core.String get version => $_getSZ(3); $core.String get version => $_getSZ(3);
@$pb.TagNumber(4) @$pb.TagNumber(4)
set version($core.String v) { $_setString(3, v); } set version($core.String value) => $_setString(3, value);
@$pb.TagNumber(4) @$pb.TagNumber(4)
$core.bool hasVersion() => $_has(3); $core.bool hasVersion() => $_has(3);
@$pb.TagNumber(4) @$pb.TagNumber(4)
@@ -148,15 +140,15 @@ class Api extends $pb.GeneratedMessage {
/// Source context for the protocol buffer service represented by this /// Source context for the protocol buffer service represented by this
/// message. /// message.
@$pb.TagNumber(5) @$pb.TagNumber(5)
$18.SourceContext get sourceContext => $_getN(4); $1.SourceContext get sourceContext => $_getN(4);
@$pb.TagNumber(5) @$pb.TagNumber(5)
set sourceContext($18.SourceContext v) { $_setField(5, v); } set sourceContext($1.SourceContext value) => $_setField(5, value);
@$pb.TagNumber(5) @$pb.TagNumber(5)
$core.bool hasSourceContext() => $_has(4); $core.bool hasSourceContext() => $_has(4);
@$pb.TagNumber(5) @$pb.TagNumber(5)
void clearSourceContext() => $_clearField(5); void clearSourceContext() => $_clearField(5);
@$pb.TagNumber(5) @$pb.TagNumber(5)
$18.SourceContext ensureSourceContext() => $_ensure(4); $1.SourceContext ensureSourceContext() => $_ensure(4);
/// Included interfaces. See [Mixin][]. /// Included interfaces. See [Mixin][].
@$pb.TagNumber(6) @$pb.TagNumber(6)
@@ -164,16 +156,31 @@ class Api extends $pb.GeneratedMessage {
/// The source syntax of the service. /// The source syntax of the service.
@$pb.TagNumber(7) @$pb.TagNumber(7)
$20.Syntax get syntax => $_getN(6); $0.Syntax get syntax => $_getN(6);
@$pb.TagNumber(7) @$pb.TagNumber(7)
set syntax($20.Syntax v) { $_setField(7, v); } set syntax($0.Syntax value) => $_setField(7, value);
@$pb.TagNumber(7) @$pb.TagNumber(7)
$core.bool hasSyntax() => $_has(6); $core.bool hasSyntax() => $_has(6);
@$pb.TagNumber(7) @$pb.TagNumber(7)
void clearSyntax() => $_clearField(7); void clearSyntax() => $_clearField(7);
/// The source edition string, only valid when syntax is SYNTAX_EDITIONS.
@$pb.TagNumber(8)
$core.String get edition => $_getSZ(7);
@$pb.TagNumber(8)
set edition($core.String value) => $_setString(7, value);
@$pb.TagNumber(8)
$core.bool hasEdition() => $_has(7);
@$pb.TagNumber(8)
void clearEdition() => $_clearField(8);
} }
/// Method represents a method of an API interface. /// Method represents a method of an API interface.
///
/// New usages of this message as an alternative to MethodDescriptorProto are
/// strongly discouraged. This message does not reliability preserve all
/// information necessary to model the schema and preserve semantics. Instead
/// make use of FileDescriptorSet which preserves the necessary information.
class Method extends $pb.GeneratedMessage { class Method extends $pb.GeneratedMessage {
factory Method({ factory Method({
$core.String? name, $core.String? name,
@@ -181,36 +188,28 @@ class Method extends $pb.GeneratedMessage {
$core.bool? requestStreaming, $core.bool? requestStreaming,
$core.String? responseTypeUrl, $core.String? responseTypeUrl,
$core.bool? responseStreaming, $core.bool? responseStreaming,
$core.Iterable<$20.Option>? options, $core.Iterable<$0.Option>? options,
$20.Syntax? syntax, @$core.Deprecated('This field is deprecated.')
$0.Syntax? syntax,
@$core.Deprecated('This field is deprecated.')
$core.String? edition,
}) { }) {
final $result = create(); final result = create();
if (name != null) { if (name != null) result.name = name;
$result.name = name; if (requestTypeUrl != null) result.requestTypeUrl = requestTypeUrl;
} if (requestStreaming != null) result.requestStreaming = requestStreaming;
if (requestTypeUrl != null) { if (responseTypeUrl != null) result.responseTypeUrl = responseTypeUrl;
$result.requestTypeUrl = requestTypeUrl; if (responseStreaming != null) result.responseStreaming = responseStreaming;
} if (options != null) result.options.addAll(options);
if (requestStreaming != null) { if (syntax != null) result.syntax = syntax;
$result.requestStreaming = requestStreaming; if (edition != null) result.edition = edition;
} return result;
if (responseTypeUrl != null) {
$result.responseTypeUrl = responseTypeUrl;
}
if (responseStreaming != null) {
$result.responseStreaming = responseStreaming;
}
if (options != null) {
$result.options.addAll(options);
}
if (syntax != null) {
$result.syntax = syntax;
}
return $result;
} }
Method._() : super();
factory Method.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); Method._();
factory Method.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
factory Method.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory Method.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Method', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create) static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Method', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create)
..aOS(1, _omitFieldNames ? '' : 'name') ..aOS(1, _omitFieldNames ? '' : 'name')
@@ -218,26 +217,23 @@ class Method extends $pb.GeneratedMessage {
..aOB(3, _omitFieldNames ? '' : 'requestStreaming') ..aOB(3, _omitFieldNames ? '' : 'requestStreaming')
..aOS(4, _omitFieldNames ? '' : 'responseTypeUrl') ..aOS(4, _omitFieldNames ? '' : 'responseTypeUrl')
..aOB(5, _omitFieldNames ? '' : 'responseStreaming') ..aOB(5, _omitFieldNames ? '' : 'responseStreaming')
..pc<$20.Option>(6, _omitFieldNames ? '' : 'options', $pb.PbFieldType.PM, subBuilder: $20.Option.create) ..pc<$0.Option>(6, _omitFieldNames ? '' : 'options', $pb.PbFieldType.PM, subBuilder: $0.Option.create)
..e<$20.Syntax>(7, _omitFieldNames ? '' : 'syntax', $pb.PbFieldType.OE, defaultOrMaker: $20.Syntax.SYNTAX_PROTO2, valueOf: $20.Syntax.valueOf, enumValues: $20.Syntax.values) ..e<$0.Syntax>(7, _omitFieldNames ? '' : 'syntax', $pb.PbFieldType.OE, defaultOrMaker: $0.Syntax.SYNTAX_PROTO2, valueOf: $0.Syntax.valueOf, enumValues: $0.Syntax.values)
..aOS(8, _omitFieldNames ? '' : 'edition')
..hasRequiredFields = false ..hasRequiredFields = false
; ;
@$core.Deprecated( @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
'Will be removed in next major version')
Method clone() => Method()..mergeFromMessage(this); Method clone() => Method()..mergeFromMessage(this);
@$core.Deprecated( @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
'Will be removed in next major version')
Method copyWith(void Function(Method) updates) => super.copyWith((message) => updates(message as Method)) as Method; Method copyWith(void Function(Method) updates) => super.copyWith((message) => updates(message as Method)) as Method;
@$core.override
$pb.BuilderInfo get info_ => _i; $pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline') @$core.pragma('dart2js:noInline')
static Method create() => Method._(); static Method create() => Method._();
@$core.override
Method createEmptyInstance() => create(); Method createEmptyInstance() => create();
static $pb.PbList<Method> createRepeated() => $pb.PbList<Method>(); static $pb.PbList<Method> createRepeated() => $pb.PbList<Method>();
@$core.pragma('dart2js:noInline') @$core.pragma('dart2js:noInline')
@@ -248,7 +244,7 @@ class Method extends $pb.GeneratedMessage {
@$pb.TagNumber(1) @$pb.TagNumber(1)
$core.String get name => $_getSZ(0); $core.String get name => $_getSZ(0);
@$pb.TagNumber(1) @$pb.TagNumber(1)
set name($core.String v) { $_setString(0, v); } set name($core.String value) => $_setString(0, value);
@$pb.TagNumber(1) @$pb.TagNumber(1)
$core.bool hasName() => $_has(0); $core.bool hasName() => $_has(0);
@$pb.TagNumber(1) @$pb.TagNumber(1)
@@ -258,7 +254,7 @@ class Method extends $pb.GeneratedMessage {
@$pb.TagNumber(2) @$pb.TagNumber(2)
$core.String get requestTypeUrl => $_getSZ(1); $core.String get requestTypeUrl => $_getSZ(1);
@$pb.TagNumber(2) @$pb.TagNumber(2)
set requestTypeUrl($core.String v) { $_setString(1, v); } set requestTypeUrl($core.String value) => $_setString(1, value);
@$pb.TagNumber(2) @$pb.TagNumber(2)
$core.bool hasRequestTypeUrl() => $_has(1); $core.bool hasRequestTypeUrl() => $_has(1);
@$pb.TagNumber(2) @$pb.TagNumber(2)
@@ -268,7 +264,7 @@ class Method extends $pb.GeneratedMessage {
@$pb.TagNumber(3) @$pb.TagNumber(3)
$core.bool get requestStreaming => $_getBF(2); $core.bool get requestStreaming => $_getBF(2);
@$pb.TagNumber(3) @$pb.TagNumber(3)
set requestStreaming($core.bool v) { $_setBool(2, v); } set requestStreaming($core.bool value) => $_setBool(2, value);
@$pb.TagNumber(3) @$pb.TagNumber(3)
$core.bool hasRequestStreaming() => $_has(2); $core.bool hasRequestStreaming() => $_has(2);
@$pb.TagNumber(3) @$pb.TagNumber(3)
@@ -278,7 +274,7 @@ class Method extends $pb.GeneratedMessage {
@$pb.TagNumber(4) @$pb.TagNumber(4)
$core.String get responseTypeUrl => $_getSZ(3); $core.String get responseTypeUrl => $_getSZ(3);
@$pb.TagNumber(4) @$pb.TagNumber(4)
set responseTypeUrl($core.String v) { $_setString(3, v); } set responseTypeUrl($core.String value) => $_setString(3, value);
@$pb.TagNumber(4) @$pb.TagNumber(4)
$core.bool hasResponseTypeUrl() => $_has(3); $core.bool hasResponseTypeUrl() => $_has(3);
@$pb.TagNumber(4) @$pb.TagNumber(4)
@@ -288,7 +284,7 @@ class Method extends $pb.GeneratedMessage {
@$pb.TagNumber(5) @$pb.TagNumber(5)
$core.bool get responseStreaming => $_getBF(4); $core.bool get responseStreaming => $_getBF(4);
@$pb.TagNumber(5) @$pb.TagNumber(5)
set responseStreaming($core.bool v) { $_setBool(4, v); } set responseStreaming($core.bool value) => $_setBool(4, value);
@$pb.TagNumber(5) @$pb.TagNumber(5)
$core.bool hasResponseStreaming() => $_has(4); $core.bool hasResponseStreaming() => $_has(4);
@$pb.TagNumber(5) @$pb.TagNumber(5)
@@ -296,114 +292,136 @@ class Method extends $pb.GeneratedMessage {
/// Any metadata attached to the method. /// Any metadata attached to the method.
@$pb.TagNumber(6) @$pb.TagNumber(6)
$pb.PbList<$20.Option> get options => $_getList(5); $pb.PbList<$0.Option> get options => $_getList(5);
/// The source syntax of this method. /// The source syntax of this method.
///
/// This field should be ignored, instead the syntax should be inherited from
/// Api. This is similar to Field and EnumValue.
@$core.Deprecated('This field is deprecated.')
@$pb.TagNumber(7) @$pb.TagNumber(7)
$20.Syntax get syntax => $_getN(6); $0.Syntax get syntax => $_getN(6);
@$core.Deprecated('This field is deprecated.')
@$pb.TagNumber(7) @$pb.TagNumber(7)
set syntax($20.Syntax v) { $_setField(7, v); } set syntax($0.Syntax value) => $_setField(7, value);
@$core.Deprecated('This field is deprecated.')
@$pb.TagNumber(7) @$pb.TagNumber(7)
$core.bool hasSyntax() => $_has(6); $core.bool hasSyntax() => $_has(6);
@$core.Deprecated('This field is deprecated.')
@$pb.TagNumber(7) @$pb.TagNumber(7)
void clearSyntax() => $_clearField(7); void clearSyntax() => $_clearField(7);
/// The source edition string, only valid when syntax is SYNTAX_EDITIONS.
///
/// This field should be ignored, instead the edition should be inherited from
/// Api. This is similar to Field and EnumValue.
@$core.Deprecated('This field is deprecated.')
@$pb.TagNumber(8)
$core.String get edition => $_getSZ(7);
@$core.Deprecated('This field is deprecated.')
@$pb.TagNumber(8)
set edition($core.String value) => $_setString(7, value);
@$core.Deprecated('This field is deprecated.')
@$pb.TagNumber(8)
$core.bool hasEdition() => $_has(7);
@$core.Deprecated('This field is deprecated.')
@$pb.TagNumber(8)
void clearEdition() => $_clearField(8);
} }
/// Declares an API Interface to be included in this interface. The including /// Declares an API Interface to be included in this interface. The including
/// interface must redeclare all the methods from the included interface, but /// interface must redeclare all the methods from the included interface, but
/// documentation and options are inherited as follows: /// documentation and options are inherited as follows:
/// ///
/// - If after comment and whitespace stripping, the documentation /// - If after comment and whitespace stripping, the documentation
/// string of the redeclared method is empty, it will be inherited /// string of the redeclared method is empty, it will be inherited
/// from the original method. /// from the original method.
/// ///
/// - Each annotation belonging to the service config (http, /// - Each annotation belonging to the service config (http,
/// visibility) which is not set in the redeclared method will be /// visibility) which is not set in the redeclared method will be
/// inherited. /// inherited.
/// ///
/// - If an http annotation is inherited, the path pattern will be /// - If an http annotation is inherited, the path pattern will be
/// modified as follows. Any version prefix will be replaced by the /// modified as follows. Any version prefix will be replaced by the
/// version of the including interface plus the [root][] path if /// version of the including interface plus the [root][] path if
/// specified. /// specified.
/// ///
/// Example of a simple mixin: /// Example of a simple mixin:
/// ///
/// package google.acl.v1; /// package google.acl.v1;
/// service AccessControl { /// service AccessControl {
/// // Get the underlying ACL object. /// // Get the underlying ACL object.
/// rpc GetAcl(GetAclRequest) returns (Acl) { /// rpc GetAcl(GetAclRequest) returns (Acl) {
/// option (google.api.http).get = "/v1/{resource=**}:getAcl"; /// option (google.api.http).get = "/v1/{resource=**}:getAcl";
/// } /// }
/// } /// }
/// ///
/// package google.storage.v2; /// package google.storage.v2;
/// service Storage { /// service Storage {
/// rpc GetAcl(GetAclRequest) returns (Acl); /// rpc GetAcl(GetAclRequest) returns (Acl);
/// ///
/// // Get a data record. /// // Get a data record.
/// rpc GetData(GetDataRequest) returns (Data) { /// rpc GetData(GetDataRequest) returns (Data) {
/// option (google.api.http).get = "/v2/{resource=**}"; /// option (google.api.http).get = "/v2/{resource=**}";
/// } /// }
/// } /// }
/// ///
/// Example of a mixin configuration: /// Example of a mixin configuration:
/// ///
/// apis: /// apis:
/// - name: google.storage.v2.Storage /// - name: google.storage.v2.Storage
/// mixins: /// mixins:
/// - name: google.acl.v1.AccessControl /// - name: google.acl.v1.AccessControl
/// ///
/// The mixin construct implies that all methods in `AccessControl` are /// The mixin construct implies that all methods in `AccessControl` are
/// also declared with same name and request/response types in /// also declared with same name and request/response types in
/// `Storage`. A documentation generator or annotation processor will /// `Storage`. A documentation generator or annotation processor will
/// see the effective `Storage.GetAcl` method after inherting /// see the effective `Storage.GetAcl` method after inheriting
/// documentation and annotations as follows: /// documentation and annotations as follows:
/// ///
/// service Storage { /// service Storage {
/// // Get the underlying ACL object. /// // Get the underlying ACL object.
/// rpc GetAcl(GetAclRequest) returns (Acl) { /// rpc GetAcl(GetAclRequest) returns (Acl) {
/// option (google.api.http).get = "/v2/{resource=**}:getAcl"; /// option (google.api.http).get = "/v2/{resource=**}:getAcl";
/// } /// }
/// ... /// ...
/// } /// }
/// ///
/// Note how the version in the path pattern changed from `v1` to `v2`. /// Note how the version in the path pattern changed from `v1` to `v2`.
/// ///
/// If the `root` field in the mixin is specified, it should be a /// If the `root` field in the mixin is specified, it should be a
/// relative path under which inherited HTTP paths are placed. Example: /// relative path under which inherited HTTP paths are placed. Example:
/// ///
/// apis: /// apis:
/// - name: google.storage.v2.Storage /// - name: google.storage.v2.Storage
/// mixins: /// mixins:
/// - name: google.acl.v1.AccessControl /// - name: google.acl.v1.AccessControl
/// root: acls /// root: acls
/// ///
/// This implies the following inherited HTTP annotation: /// This implies the following inherited HTTP annotation:
/// ///
/// service Storage { /// service Storage {
/// // Get the underlying ACL object. /// // Get the underlying ACL object.
/// rpc GetAcl(GetAclRequest) returns (Acl) { /// rpc GetAcl(GetAclRequest) returns (Acl) {
/// option (google.api.http).get = "/v2/acls/{resource=**}:getAcl"; /// option (google.api.http).get = "/v2/acls/{resource=**}:getAcl";
/// } /// }
/// ... /// ...
/// } /// }
class Mixin extends $pb.GeneratedMessage { class Mixin extends $pb.GeneratedMessage {
factory Mixin({ factory Mixin({
$core.String? name, $core.String? name,
$core.String? root, $core.String? root,
}) { }) {
final $result = create(); final result = create();
if (name != null) { if (name != null) result.name = name;
$result.name = name; if (root != null) result.root = root;
} return result;
if (root != null) {
$result.root = root;
}
return $result;
} }
Mixin._() : super();
factory Mixin.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); Mixin._();
factory Mixin.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
factory Mixin.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory Mixin.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Mixin', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create) static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Mixin', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create)
..aOS(1, _omitFieldNames ? '' : 'name') ..aOS(1, _omitFieldNames ? '' : 'name')
@@ -411,21 +429,17 @@ class Mixin extends $pb.GeneratedMessage {
..hasRequiredFields = false ..hasRequiredFields = false
; ;
@$core.Deprecated( @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
'Will be removed in next major version')
Mixin clone() => Mixin()..mergeFromMessage(this); Mixin clone() => Mixin()..mergeFromMessage(this);
@$core.Deprecated( @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
'Will be removed in next major version')
Mixin copyWith(void Function(Mixin) updates) => super.copyWith((message) => updates(message as Mixin)) as Mixin; Mixin copyWith(void Function(Mixin) updates) => super.copyWith((message) => updates(message as Mixin)) as Mixin;
@$core.override
$pb.BuilderInfo get info_ => _i; $pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline') @$core.pragma('dart2js:noInline')
static Mixin create() => Mixin._(); static Mixin create() => Mixin._();
@$core.override
Mixin createEmptyInstance() => create(); Mixin createEmptyInstance() => create();
static $pb.PbList<Mixin> createRepeated() => $pb.PbList<Mixin>(); static $pb.PbList<Mixin> createRepeated() => $pb.PbList<Mixin>();
@$core.pragma('dart2js:noInline') @$core.pragma('dart2js:noInline')
@@ -436,7 +450,7 @@ class Mixin extends $pb.GeneratedMessage {
@$pb.TagNumber(1) @$pb.TagNumber(1)
$core.String get name => $_getSZ(0); $core.String get name => $_getSZ(0);
@$pb.TagNumber(1) @$pb.TagNumber(1)
set name($core.String v) { $_setString(0, v); } set name($core.String value) => $_setString(0, value);
@$pb.TagNumber(1) @$pb.TagNumber(1)
$core.bool hasName() => $_has(0); $core.bool hasName() => $_has(0);
@$pb.TagNumber(1) @$pb.TagNumber(1)
@@ -447,7 +461,7 @@ class Mixin extends $pb.GeneratedMessage {
@$pb.TagNumber(2) @$pb.TagNumber(2)
$core.String get root => $_getSZ(1); $core.String get root => $_getSZ(1);
@$pb.TagNumber(2) @$pb.TagNumber(2)
set root($core.String v) { $_setString(1, v); } set root($core.String value) => $_setString(1, value);
@$pb.TagNumber(2) @$pb.TagNumber(2)
$core.bool hasRoot() => $_has(1); $core.bool hasRoot() => $_has(1);
@$pb.TagNumber(2) @$pb.TagNumber(2)
@@ -455,5 +469,5 @@ class Mixin extends $pb.GeneratedMessage {
} }
const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); const $core.bool _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names');
const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); const $core.bool _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names');

View File

@@ -1,11 +1,12 @@
// This is a generated file - do not edit.
// //
// Generated code. Do not modify. // Generated from google/protobuf/api.proto.
// source: google/protobuf/api.proto
//
// @dart = 3.3 // @dart = 3.3
// ignore_for_file: annotate_overrides, camel_case_types, comment_references // ignore_for_file: annotate_overrides, camel_case_types, comment_references
// ignore_for_file: constant_identifier_names, library_prefixes // ignore_for_file: constant_identifier_names
// ignore_for_file: non_constant_identifier_names, prefer_final_fields // ignore_for_file: curly_braces_in_flow_control_structures
// ignore_for_file: unnecessary_import, unnecessary_this, unused_import // ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
// ignore_for_file: non_constant_identifier_names

View File

@@ -1,13 +1,14 @@
// This is a generated file - do not edit.
// //
// Generated code. Do not modify. // Generated from google/protobuf/api.proto.
// source: google/protobuf/api.proto
//
// @dart = 3.3 // @dart = 3.3
// ignore_for_file: annotate_overrides, camel_case_types, comment_references // ignore_for_file: annotate_overrides, camel_case_types, comment_references
// ignore_for_file: constant_identifier_names, library_prefixes // ignore_for_file: constant_identifier_names
// ignore_for_file: non_constant_identifier_names, prefer_final_fields // ignore_for_file: curly_braces_in_flow_control_structures
// ignore_for_file: unnecessary_import, unnecessary_this, unused_import // ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
// ignore_for_file: non_constant_identifier_names, unused_import
import 'dart:convert' as $convert; import 'dart:convert' as $convert;
import 'dart:core' as $core; import 'dart:core' as $core;
@@ -24,6 +25,7 @@ const Api$json = {
{'1': 'source_context', '3': 5, '4': 1, '5': 11, '6': '.google.protobuf.SourceContext', '10': 'sourceContext'}, {'1': 'source_context', '3': 5, '4': 1, '5': 11, '6': '.google.protobuf.SourceContext', '10': 'sourceContext'},
{'1': 'mixins', '3': 6, '4': 3, '5': 11, '6': '.google.protobuf.Mixin', '10': 'mixins'}, {'1': 'mixins', '3': 6, '4': 3, '5': 11, '6': '.google.protobuf.Mixin', '10': 'mixins'},
{'1': 'syntax', '3': 7, '4': 1, '5': 14, '6': '.google.protobuf.Syntax', '10': 'syntax'}, {'1': 'syntax', '3': 7, '4': 1, '5': 14, '6': '.google.protobuf.Syntax', '10': 'syntax'},
{'1': 'edition', '3': 8, '4': 1, '5': 9, '10': 'edition'},
], ],
}; };
@@ -34,7 +36,8 @@ final $typed_data.Uint8List apiDescriptor = $convert.base64Decode(
'Lk9wdGlvblIHb3B0aW9ucxIYCgd2ZXJzaW9uGAQgASgJUgd2ZXJzaW9uEkUKDnNvdXJjZV9jb2' 'Lk9wdGlvblIHb3B0aW9ucxIYCgd2ZXJzaW9uGAQgASgJUgd2ZXJzaW9uEkUKDnNvdXJjZV9jb2'
'50ZXh0GAUgASgLMh4uZ29vZ2xlLnByb3RvYnVmLlNvdXJjZUNvbnRleHRSDXNvdXJjZUNvbnRl' '50ZXh0GAUgASgLMh4uZ29vZ2xlLnByb3RvYnVmLlNvdXJjZUNvbnRleHRSDXNvdXJjZUNvbnRl'
'eHQSLgoGbWl4aW5zGAYgAygLMhYuZ29vZ2xlLnByb3RvYnVmLk1peGluUgZtaXhpbnMSLwoGc3' 'eHQSLgoGbWl4aW5zGAYgAygLMhYuZ29vZ2xlLnByb3RvYnVmLk1peGluUgZtaXhpbnMSLwoGc3'
'ludGF4GAcgASgOMhcuZ29vZ2xlLnByb3RvYnVmLlN5bnRheFIGc3ludGF4'); 'ludGF4GAcgASgOMhcuZ29vZ2xlLnByb3RvYnVmLlN5bnRheFIGc3ludGF4EhgKB2VkaXRpb24Y'
'CCABKAlSB2VkaXRpb24=');
@$core.Deprecated('Use methodDescriptor instead') @$core.Deprecated('Use methodDescriptor instead')
const Method$json = { const Method$json = {
@@ -46,7 +49,23 @@ const Method$json = {
{'1': 'response_type_url', '3': 4, '4': 1, '5': 9, '10': 'responseTypeUrl'}, {'1': 'response_type_url', '3': 4, '4': 1, '5': 9, '10': 'responseTypeUrl'},
{'1': 'response_streaming', '3': 5, '4': 1, '5': 8, '10': 'responseStreaming'}, {'1': 'response_streaming', '3': 5, '4': 1, '5': 8, '10': 'responseStreaming'},
{'1': 'options', '3': 6, '4': 3, '5': 11, '6': '.google.protobuf.Option', '10': 'options'}, {'1': 'options', '3': 6, '4': 3, '5': 11, '6': '.google.protobuf.Option', '10': 'options'},
{'1': 'syntax', '3': 7, '4': 1, '5': 14, '6': '.google.protobuf.Syntax', '10': 'syntax'}, {
'1': 'syntax',
'3': 7,
'4': 1,
'5': 14,
'6': '.google.protobuf.Syntax',
'8': {'3': true},
'10': 'syntax',
},
{
'1': 'edition',
'3': 8,
'4': 1,
'5': 9,
'8': {'3': true},
'10': 'edition',
},
], ],
}; };
@@ -56,8 +75,9 @@ final $typed_data.Uint8List methodDescriptor = $convert.base64Decode(
'5yZXF1ZXN0VHlwZVVybBIrChFyZXF1ZXN0X3N0cmVhbWluZxgDIAEoCFIQcmVxdWVzdFN0cmVh' '5yZXF1ZXN0VHlwZVVybBIrChFyZXF1ZXN0X3N0cmVhbWluZxgDIAEoCFIQcmVxdWVzdFN0cmVh'
'bWluZxIqChFyZXNwb25zZV90eXBlX3VybBgEIAEoCVIPcmVzcG9uc2VUeXBlVXJsEi0KEnJlc3' 'bWluZxIqChFyZXNwb25zZV90eXBlX3VybBgEIAEoCVIPcmVzcG9uc2VUeXBlVXJsEi0KEnJlc3'
'BvbnNlX3N0cmVhbWluZxgFIAEoCFIRcmVzcG9uc2VTdHJlYW1pbmcSMQoHb3B0aW9ucxgGIAMo' 'BvbnNlX3N0cmVhbWluZxgFIAEoCFIRcmVzcG9uc2VTdHJlYW1pbmcSMQoHb3B0aW9ucxgGIAMo'
'CzIXLmdvb2dsZS5wcm90b2J1Zi5PcHRpb25SB29wdGlvbnMSLwoGc3ludGF4GAcgASgOMhcuZ2' 'CzIXLmdvb2dsZS5wcm90b2J1Zi5PcHRpb25SB29wdGlvbnMSMwoGc3ludGF4GAcgASgOMhcuZ2'
'9vZ2xlLnByb3RvYnVmLlN5bnRheFIGc3ludGF4'); '9vZ2xlLnByb3RvYnVmLlN5bnRheEICGAFSBnN5bnRheBIcCgdlZGl0aW9uGAggASgJQgIYAVIH'
'ZWRpdGlvbg==');
@$core.Deprecated('Use mixinDescriptor instead') @$core.Deprecated('Use mixinDescriptor instead')
const Mixin$json = { const Mixin$json = {

View File

@@ -1,22 +1,26 @@
// This is a generated file - do not edit.
// //
// Generated code. Do not modify. // Generated from google/protobuf/compiler/plugin.proto.
// source: google/protobuf/compiler/plugin.proto
//
// @dart = 3.3 // @dart = 3.3
// ignore_for_file: annotate_overrides, camel_case_types, comment_references // ignore_for_file: annotate_overrides, camel_case_types, comment_references
// ignore_for_file: constant_identifier_names, library_prefixes // ignore_for_file: constant_identifier_names
// ignore_for_file: non_constant_identifier_names, prefer_final_fields // ignore_for_file: curly_braces_in_flow_control_structures
// ignore_for_file: unnecessary_import, unnecessary_this, unused_import // ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
// ignore_for_file: non_constant_identifier_names
import 'dart:core' as $core; import 'dart:core' as $core;
import 'package:fixnum/fixnum.dart' as $fixnum;
import 'package:protobuf/protobuf.dart' as $pb; import 'package:protobuf/protobuf.dart' as $pb;
import '../descriptor.pb.dart' as $19; import '../descriptor.pb.dart' as $0;
export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions; export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions;
export 'plugin.pbenum.dart';
/// The version number of protocol compiler. /// The version number of protocol compiler.
class Version extends $pb.GeneratedMessage { class Version extends $pb.GeneratedMessage {
factory Version({ factory Version({
@@ -25,24 +29,18 @@ class Version extends $pb.GeneratedMessage {
$core.int? patch, $core.int? patch,
$core.String? suffix, $core.String? suffix,
}) { }) {
final $result = create(); final result = create();
if (major != null) { if (major != null) result.major = major;
$result.major = major; if (minor != null) result.minor = minor;
} if (patch != null) result.patch = patch;
if (minor != null) { if (suffix != null) result.suffix = suffix;
$result.minor = minor; return result;
}
if (patch != null) {
$result.patch = patch;
}
if (suffix != null) {
$result.suffix = suffix;
}
return $result;
} }
Version._() : super();
factory Version.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); Version._();
factory Version.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
factory Version.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory Version.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Version', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf.compiler'), createEmptyInstance: create) static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Version', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf.compiler'), createEmptyInstance: create)
..a<$core.int>(1, _omitFieldNames ? '' : 'major', $pb.PbFieldType.O3) ..a<$core.int>(1, _omitFieldNames ? '' : 'major', $pb.PbFieldType.O3)
@@ -52,21 +50,17 @@ class Version extends $pb.GeneratedMessage {
..hasRequiredFields = false ..hasRequiredFields = false
; ;
@$core.Deprecated( @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
'Will be removed in next major version')
Version clone() => Version()..mergeFromMessage(this); Version clone() => Version()..mergeFromMessage(this);
@$core.Deprecated( @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
'Will be removed in next major version')
Version copyWith(void Function(Version) updates) => super.copyWith((message) => updates(message as Version)) as Version; Version copyWith(void Function(Version) updates) => super.copyWith((message) => updates(message as Version)) as Version;
@$core.override
$pb.BuilderInfo get info_ => _i; $pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline') @$core.pragma('dart2js:noInline')
static Version create() => Version._(); static Version create() => Version._();
@$core.override
Version createEmptyInstance() => create(); Version createEmptyInstance() => create();
static $pb.PbList<Version> createRepeated() => $pb.PbList<Version>(); static $pb.PbList<Version> createRepeated() => $pb.PbList<Version>();
@$core.pragma('dart2js:noInline') @$core.pragma('dart2js:noInline')
@@ -76,7 +70,7 @@ class Version extends $pb.GeneratedMessage {
@$pb.TagNumber(1) @$pb.TagNumber(1)
$core.int get major => $_getIZ(0); $core.int get major => $_getIZ(0);
@$pb.TagNumber(1) @$pb.TagNumber(1)
set major($core.int v) { $_setSignedInt32(0, v); } set major($core.int value) => $_setSignedInt32(0, value);
@$pb.TagNumber(1) @$pb.TagNumber(1)
$core.bool hasMajor() => $_has(0); $core.bool hasMajor() => $_has(0);
@$pb.TagNumber(1) @$pb.TagNumber(1)
@@ -85,7 +79,7 @@ class Version extends $pb.GeneratedMessage {
@$pb.TagNumber(2) @$pb.TagNumber(2)
$core.int get minor => $_getIZ(1); $core.int get minor => $_getIZ(1);
@$pb.TagNumber(2) @$pb.TagNumber(2)
set minor($core.int v) { $_setSignedInt32(1, v); } set minor($core.int value) => $_setSignedInt32(1, value);
@$pb.TagNumber(2) @$pb.TagNumber(2)
$core.bool hasMinor() => $_has(1); $core.bool hasMinor() => $_has(1);
@$pb.TagNumber(2) @$pb.TagNumber(2)
@@ -94,7 +88,7 @@ class Version extends $pb.GeneratedMessage {
@$pb.TagNumber(3) @$pb.TagNumber(3)
$core.int get patch => $_getIZ(2); $core.int get patch => $_getIZ(2);
@$pb.TagNumber(3) @$pb.TagNumber(3)
set patch($core.int v) { $_setSignedInt32(2, v); } set patch($core.int value) => $_setSignedInt32(2, value);
@$pb.TagNumber(3) @$pb.TagNumber(3)
$core.bool hasPatch() => $_has(2); $core.bool hasPatch() => $_has(2);
@$pb.TagNumber(3) @$pb.TagNumber(3)
@@ -105,7 +99,7 @@ class Version extends $pb.GeneratedMessage {
@$pb.TagNumber(4) @$pb.TagNumber(4)
$core.String get suffix => $_getSZ(3); $core.String get suffix => $_getSZ(3);
@$pb.TagNumber(4) @$pb.TagNumber(4)
set suffix($core.String v) { $_setString(3, v); } set suffix($core.String value) => $_setString(3, value);
@$pb.TagNumber(4) @$pb.TagNumber(4)
$core.bool hasSuffix() => $_has(3); $core.bool hasSuffix() => $_has(3);
@$pb.TagNumber(4) @$pb.TagNumber(4)
@@ -118,49 +112,42 @@ class CodeGeneratorRequest extends $pb.GeneratedMessage {
$core.Iterable<$core.String>? fileToGenerate, $core.Iterable<$core.String>? fileToGenerate,
$core.String? parameter, $core.String? parameter,
Version? compilerVersion, Version? compilerVersion,
$core.Iterable<$19.FileDescriptorProto>? protoFile, $core.Iterable<$0.FileDescriptorProto>? protoFile,
$core.Iterable<$0.FileDescriptorProto>? sourceFileDescriptors,
}) { }) {
final $result = create(); final result = create();
if (fileToGenerate != null) { if (fileToGenerate != null) result.fileToGenerate.addAll(fileToGenerate);
$result.fileToGenerate.addAll(fileToGenerate); if (parameter != null) result.parameter = parameter;
} if (compilerVersion != null) result.compilerVersion = compilerVersion;
if (parameter != null) { if (protoFile != null) result.protoFile.addAll(protoFile);
$result.parameter = parameter; if (sourceFileDescriptors != null) result.sourceFileDescriptors.addAll(sourceFileDescriptors);
} return result;
if (compilerVersion != null) {
$result.compilerVersion = compilerVersion;
}
if (protoFile != null) {
$result.protoFile.addAll(protoFile);
}
return $result;
} }
CodeGeneratorRequest._() : super();
factory CodeGeneratorRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); CodeGeneratorRequest._();
factory CodeGeneratorRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
factory CodeGeneratorRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory CodeGeneratorRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CodeGeneratorRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf.compiler'), createEmptyInstance: create) static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CodeGeneratorRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf.compiler'), createEmptyInstance: create)
..pPS(1, _omitFieldNames ? '' : 'fileToGenerate') ..pPS(1, _omitFieldNames ? '' : 'fileToGenerate')
..aOS(2, _omitFieldNames ? '' : 'parameter') ..aOS(2, _omitFieldNames ? '' : 'parameter')
..aOM<Version>(3, _omitFieldNames ? '' : 'compilerVersion', subBuilder: Version.create) ..aOM<Version>(3, _omitFieldNames ? '' : 'compilerVersion', subBuilder: Version.create)
..pc<$19.FileDescriptorProto>(15, _omitFieldNames ? '' : 'protoFile', $pb.PbFieldType.PM, subBuilder: $19.FileDescriptorProto.create) ..pc<$0.FileDescriptorProto>(15, _omitFieldNames ? '' : 'protoFile', $pb.PbFieldType.PM, subBuilder: $0.FileDescriptorProto.create)
..pc<$0.FileDescriptorProto>(17, _omitFieldNames ? '' : 'sourceFileDescriptors', $pb.PbFieldType.PM, subBuilder: $0.FileDescriptorProto.create)
; ;
@$core.Deprecated( @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
'Will be removed in next major version')
CodeGeneratorRequest clone() => CodeGeneratorRequest()..mergeFromMessage(this); CodeGeneratorRequest clone() => CodeGeneratorRequest()..mergeFromMessage(this);
@$core.Deprecated( @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
'Will be removed in next major version')
CodeGeneratorRequest copyWith(void Function(CodeGeneratorRequest) updates) => super.copyWith((message) => updates(message as CodeGeneratorRequest)) as CodeGeneratorRequest; CodeGeneratorRequest copyWith(void Function(CodeGeneratorRequest) updates) => super.copyWith((message) => updates(message as CodeGeneratorRequest)) as CodeGeneratorRequest;
@$core.override
$pb.BuilderInfo get info_ => _i; $pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline') @$core.pragma('dart2js:noInline')
static CodeGeneratorRequest create() => CodeGeneratorRequest._(); static CodeGeneratorRequest create() => CodeGeneratorRequest._();
@$core.override
CodeGeneratorRequest createEmptyInstance() => create(); CodeGeneratorRequest createEmptyInstance() => create();
static $pb.PbList<CodeGeneratorRequest> createRepeated() => $pb.PbList<CodeGeneratorRequest>(); static $pb.PbList<CodeGeneratorRequest> createRepeated() => $pb.PbList<CodeGeneratorRequest>();
@$core.pragma('dart2js:noInline') @$core.pragma('dart2js:noInline')
@@ -177,7 +164,7 @@ class CodeGeneratorRequest extends $pb.GeneratedMessage {
@$pb.TagNumber(2) @$pb.TagNumber(2)
$core.String get parameter => $_getSZ(1); $core.String get parameter => $_getSZ(1);
@$pb.TagNumber(2) @$pb.TagNumber(2)
set parameter($core.String v) { $_setString(1, v); } set parameter($core.String value) => $_setString(1, value);
@$pb.TagNumber(2) @$pb.TagNumber(2)
$core.bool hasParameter() => $_has(1); $core.bool hasParameter() => $_has(1);
@$pb.TagNumber(2) @$pb.TagNumber(2)
@@ -187,7 +174,7 @@ class CodeGeneratorRequest extends $pb.GeneratedMessage {
@$pb.TagNumber(3) @$pb.TagNumber(3)
Version get compilerVersion => $_getN(2); Version get compilerVersion => $_getN(2);
@$pb.TagNumber(3) @$pb.TagNumber(3)
set compilerVersion(Version v) { $_setField(3, v); } set compilerVersion(Version value) => $_setField(3, value);
@$pb.TagNumber(3) @$pb.TagNumber(3)
$core.bool hasCompilerVersion() => $_has(2); $core.bool hasCompilerVersion() => $_has(2);
@$pb.TagNumber(3) @$pb.TagNumber(3)
@@ -195,22 +182,33 @@ class CodeGeneratorRequest extends $pb.GeneratedMessage {
@$pb.TagNumber(3) @$pb.TagNumber(3)
Version ensureCompilerVersion() => $_ensure(2); Version ensureCompilerVersion() => $_ensure(2);
/// FileDescriptorProtos for all files in files_to_generate and everything /// FileDescriptorProtos for all files in files_to_generate and everything
/// they import. The files will appear in topological order, so each file /// they import. The files will appear in topological order, so each file
/// appears before any file that imports it. /// appears before any file that imports it.
/// ///
/// protoc guarantees that all proto_files will be written after /// Note: the files listed in files_to_generate will include runtime-retention
/// the fields above, even though this is not technically guaranteed by the /// options only, but all other files will include source-retention options.
/// protobuf wire format. This theoretically could allow a plugin to stream /// The source_file_descriptors field below is available in case you need
/// in the FileDescriptorProtos and handle them one by one rather than read /// source-retention options for files_to_generate.
/// the entire set into memory at once. However, as of this writing, this
/// is not similarly optimized on protoc's end -- it will store all fields in
/// memory at once before sending them to the plugin.
/// ///
/// Type names of fields and extensions in the FileDescriptorProto are always /// protoc guarantees that all proto_files will be written after
/// fully qualified. /// the fields above, even though this is not technically guaranteed by the
/// protobuf wire format. This theoretically could allow a plugin to stream
/// in the FileDescriptorProtos and handle them one by one rather than read
/// the entire set into memory at once. However, as of this writing, this
/// is not similarly optimized on protoc's end -- it will store all fields in
/// memory at once before sending them to the plugin.
///
/// Type names of fields and extensions in the FileDescriptorProto are always
/// fully qualified.
@$pb.TagNumber(15) @$pb.TagNumber(15)
$pb.PbList<$19.FileDescriptorProto> get protoFile => $_getList(3); $pb.PbList<$0.FileDescriptorProto> get protoFile => $_getList(3);
/// File descriptors with all options, including source-retention options.
/// These descriptors are only provided for the files listed in
/// files_to_generate.
@$pb.TagNumber(17)
$pb.PbList<$0.FileDescriptorProto> get sourceFileDescriptors => $_getList(4);
} }
/// Represents a single generated file. /// Represents a single generated file.
@@ -219,112 +217,107 @@ class CodeGeneratorResponse_File extends $pb.GeneratedMessage {
$core.String? name, $core.String? name,
$core.String? insertionPoint, $core.String? insertionPoint,
$core.String? content, $core.String? content,
$0.GeneratedCodeInfo? generatedCodeInfo,
}) { }) {
final $result = create(); final result = create();
if (name != null) { if (name != null) result.name = name;
$result.name = name; if (insertionPoint != null) result.insertionPoint = insertionPoint;
} if (content != null) result.content = content;
if (insertionPoint != null) { if (generatedCodeInfo != null) result.generatedCodeInfo = generatedCodeInfo;
$result.insertionPoint = insertionPoint; return result;
}
if (content != null) {
$result.content = content;
}
return $result;
} }
CodeGeneratorResponse_File._() : super();
factory CodeGeneratorResponse_File.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); CodeGeneratorResponse_File._();
factory CodeGeneratorResponse_File.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
factory CodeGeneratorResponse_File.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory CodeGeneratorResponse_File.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CodeGeneratorResponse.File', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf.compiler'), createEmptyInstance: create) static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CodeGeneratorResponse.File', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf.compiler'), createEmptyInstance: create)
..aOS(1, _omitFieldNames ? '' : 'name') ..aOS(1, _omitFieldNames ? '' : 'name')
..aOS(2, _omitFieldNames ? '' : 'insertionPoint') ..aOS(2, _omitFieldNames ? '' : 'insertionPoint')
..aOS(15, _omitFieldNames ? '' : 'content') ..aOS(15, _omitFieldNames ? '' : 'content')
..aOM<$0.GeneratedCodeInfo>(16, _omitFieldNames ? '' : 'generatedCodeInfo', subBuilder: $0.GeneratedCodeInfo.create)
..hasRequiredFields = false ..hasRequiredFields = false
; ;
@$core.Deprecated( @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
'Will be removed in next major version')
CodeGeneratorResponse_File clone() => CodeGeneratorResponse_File()..mergeFromMessage(this); CodeGeneratorResponse_File clone() => CodeGeneratorResponse_File()..mergeFromMessage(this);
@$core.Deprecated( @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
'Will be removed in next major version')
CodeGeneratorResponse_File copyWith(void Function(CodeGeneratorResponse_File) updates) => super.copyWith((message) => updates(message as CodeGeneratorResponse_File)) as CodeGeneratorResponse_File; CodeGeneratorResponse_File copyWith(void Function(CodeGeneratorResponse_File) updates) => super.copyWith((message) => updates(message as CodeGeneratorResponse_File)) as CodeGeneratorResponse_File;
@$core.override
$pb.BuilderInfo get info_ => _i; $pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline') @$core.pragma('dart2js:noInline')
static CodeGeneratorResponse_File create() => CodeGeneratorResponse_File._(); static CodeGeneratorResponse_File create() => CodeGeneratorResponse_File._();
@$core.override
CodeGeneratorResponse_File createEmptyInstance() => create(); CodeGeneratorResponse_File createEmptyInstance() => create();
static $pb.PbList<CodeGeneratorResponse_File> createRepeated() => $pb.PbList<CodeGeneratorResponse_File>(); static $pb.PbList<CodeGeneratorResponse_File> createRepeated() => $pb.PbList<CodeGeneratorResponse_File>();
@$core.pragma('dart2js:noInline') @$core.pragma('dart2js:noInline')
static CodeGeneratorResponse_File getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<CodeGeneratorResponse_File>(create); static CodeGeneratorResponse_File getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<CodeGeneratorResponse_File>(create);
static CodeGeneratorResponse_File? _defaultInstance; static CodeGeneratorResponse_File? _defaultInstance;
/// The file name, relative to the output directory. The name must not /// The file name, relative to the output directory. The name must not
/// contain "." or ".." components and must be relative, not be absolute (so, /// contain "." or ".." components and must be relative, not be absolute (so,
/// the file cannot lie outside the output directory). "/" must be used as /// the file cannot lie outside the output directory). "/" must be used as
/// the path separator, not "\". /// the path separator, not "\".
/// ///
/// If the name is omitted, the content will be appended to the previous /// If the name is omitted, the content will be appended to the previous
/// file. This allows the generator to break large files into small chunks, /// file. This allows the generator to break large files into small chunks,
/// and allows the generated text to be streamed back to protoc so that large /// and allows the generated text to be streamed back to protoc so that large
/// files need not reside completely in memory at one time. Note that as of /// files need not reside completely in memory at one time. Note that as of
/// this writing protoc does not optimize for this -- it will read the entire /// this writing protoc does not optimize for this -- it will read the entire
/// CodeGeneratorResponse before writing files to disk. /// CodeGeneratorResponse before writing files to disk.
@$pb.TagNumber(1) @$pb.TagNumber(1)
$core.String get name => $_getSZ(0); $core.String get name => $_getSZ(0);
@$pb.TagNumber(1) @$pb.TagNumber(1)
set name($core.String v) { $_setString(0, v); } set name($core.String value) => $_setString(0, value);
@$pb.TagNumber(1) @$pb.TagNumber(1)
$core.bool hasName() => $_has(0); $core.bool hasName() => $_has(0);
@$pb.TagNumber(1) @$pb.TagNumber(1)
void clearName() => $_clearField(1); void clearName() => $_clearField(1);
/// If non-empty, indicates that the named file should already exist, and the /// If non-empty, indicates that the named file should already exist, and the
/// content here is to be inserted into that file at a defined insertion /// content here is to be inserted into that file at a defined insertion
/// point. This feature allows a code generator to extend the output /// point. This feature allows a code generator to extend the output
/// produced by another code generator. The original generator may provide /// produced by another code generator. The original generator may provide
/// insertion points by placing special annotations in the file that look /// insertion points by placing special annotations in the file that look
/// like: /// like:
/// @@protoc_insertion_point(NAME) /// @@protoc_insertion_point(NAME)
/// The annotation can have arbitrary text before and after it on the line, /// The annotation can have arbitrary text before and after it on the line,
/// which allows it to be placed in a comment. NAME should be replaced with /// which allows it to be placed in a comment. NAME should be replaced with
/// an identifier naming the point -- this is what other generators will use /// an identifier naming the point -- this is what other generators will use
/// as the insertion_point. Code inserted at this point will be placed /// as the insertion_point. Code inserted at this point will be placed
/// immediately above the line containing the insertion point (thus multiple /// immediately above the line containing the insertion point (thus multiple
/// insertions to the same point will come out in the order they were added). /// insertions to the same point will come out in the order they were added).
/// The double-@ is intended to make it unlikely that the generated code /// The double-@ is intended to make it unlikely that the generated code
/// could contain things that look like insertion points by accident. /// could contain things that look like insertion points by accident.
/// ///
/// For example, the C++ code generator places the following line in the /// For example, the C++ code generator places the following line in the
/// .pb.h files that it generates: /// .pb.h files that it generates:
/// // @@protoc_insertion_point(namespace_scope) /// // @@protoc_insertion_point(namespace_scope)
/// This line appears within the scope of the file's package namespace, but /// This line appears within the scope of the file's package namespace, but
/// outside of any particular class. Another plugin can then specify the /// outside of any particular class. Another plugin can then specify the
/// insertion_point "namespace_scope" to generate additional classes or /// insertion_point "namespace_scope" to generate additional classes or
/// other declarations that should be placed in this scope. /// other declarations that should be placed in this scope.
/// ///
/// Note that if the line containing the insertion point begins with /// Note that if the line containing the insertion point begins with
/// whitespace, the same whitespace will be added to every line of the /// whitespace, the same whitespace will be added to every line of the
/// inserted text. This is useful for languages like Python, where /// inserted text. This is useful for languages like Python, where
/// indentation matters. In these languages, the insertion point comment /// indentation matters. In these languages, the insertion point comment
/// should be indented the same amount as any inserted code will need to be /// should be indented the same amount as any inserted code will need to be
/// in order to work correctly in that context. /// in order to work correctly in that context.
/// ///
/// The code generator that generates the initial file and the one which /// The code generator that generates the initial file and the one which
/// inserts into it must both run as part of a single invocation of protoc. /// inserts into it must both run as part of a single invocation of protoc.
/// Code generators are executed in the order in which they appear on the /// Code generators are executed in the order in which they appear on the
/// command line. /// command line.
/// ///
/// If |insertion_point| is present, |name| must also be present. /// If |insertion_point| is present, |name| must also be present.
@$pb.TagNumber(2) @$pb.TagNumber(2)
$core.String get insertionPoint => $_getSZ(1); $core.String get insertionPoint => $_getSZ(1);
@$pb.TagNumber(2) @$pb.TagNumber(2)
set insertionPoint($core.String v) { $_setString(1, v); } set insertionPoint($core.String value) => $_setString(1, value);
@$pb.TagNumber(2) @$pb.TagNumber(2)
$core.bool hasInsertionPoint() => $_has(1); $core.bool hasInsertionPoint() => $_has(1);
@$pb.TagNumber(2) @$pb.TagNumber(2)
@@ -334,80 +327,134 @@ class CodeGeneratorResponse_File extends $pb.GeneratedMessage {
@$pb.TagNumber(15) @$pb.TagNumber(15)
$core.String get content => $_getSZ(2); $core.String get content => $_getSZ(2);
@$pb.TagNumber(15) @$pb.TagNumber(15)
set content($core.String v) { $_setString(2, v); } set content($core.String value) => $_setString(2, value);
@$pb.TagNumber(15) @$pb.TagNumber(15)
$core.bool hasContent() => $_has(2); $core.bool hasContent() => $_has(2);
@$pb.TagNumber(15) @$pb.TagNumber(15)
void clearContent() => $_clearField(15); void clearContent() => $_clearField(15);
/// Information describing the file content being inserted. If an insertion
/// point is used, this information will be appropriately offset and inserted
/// into the code generation metadata for the generated files.
@$pb.TagNumber(16)
$0.GeneratedCodeInfo get generatedCodeInfo => $_getN(3);
@$pb.TagNumber(16)
set generatedCodeInfo($0.GeneratedCodeInfo value) => $_setField(16, value);
@$pb.TagNumber(16)
$core.bool hasGeneratedCodeInfo() => $_has(3);
@$pb.TagNumber(16)
void clearGeneratedCodeInfo() => $_clearField(16);
@$pb.TagNumber(16)
$0.GeneratedCodeInfo ensureGeneratedCodeInfo() => $_ensure(3);
} }
/// The plugin writes an encoded CodeGeneratorResponse to stdout. /// The plugin writes an encoded CodeGeneratorResponse to stdout.
class CodeGeneratorResponse extends $pb.GeneratedMessage { class CodeGeneratorResponse extends $pb.GeneratedMessage {
factory CodeGeneratorResponse({ factory CodeGeneratorResponse({
$core.String? error, $core.String? error,
$fixnum.Int64? supportedFeatures,
$core.int? minimumEdition,
$core.int? maximumEdition,
$core.Iterable<CodeGeneratorResponse_File>? file, $core.Iterable<CodeGeneratorResponse_File>? file,
}) { }) {
final $result = create(); final result = create();
if (error != null) { if (error != null) result.error = error;
$result.error = error; if (supportedFeatures != null) result.supportedFeatures = supportedFeatures;
} if (minimumEdition != null) result.minimumEdition = minimumEdition;
if (file != null) { if (maximumEdition != null) result.maximumEdition = maximumEdition;
$result.file.addAll(file); if (file != null) result.file.addAll(file);
} return result;
return $result;
} }
CodeGeneratorResponse._() : super();
factory CodeGeneratorResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); CodeGeneratorResponse._();
factory CodeGeneratorResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
factory CodeGeneratorResponse.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory CodeGeneratorResponse.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CodeGeneratorResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf.compiler'), createEmptyInstance: create) static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CodeGeneratorResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf.compiler'), createEmptyInstance: create)
..aOS(1, _omitFieldNames ? '' : 'error') ..aOS(1, _omitFieldNames ? '' : 'error')
..a<$fixnum.Int64>(2, _omitFieldNames ? '' : 'supportedFeatures', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO)
..a<$core.int>(3, _omitFieldNames ? '' : 'minimumEdition', $pb.PbFieldType.O3)
..a<$core.int>(4, _omitFieldNames ? '' : 'maximumEdition', $pb.PbFieldType.O3)
..pc<CodeGeneratorResponse_File>(15, _omitFieldNames ? '' : 'file', $pb.PbFieldType.PM, subBuilder: CodeGeneratorResponse_File.create) ..pc<CodeGeneratorResponse_File>(15, _omitFieldNames ? '' : 'file', $pb.PbFieldType.PM, subBuilder: CodeGeneratorResponse_File.create)
..hasRequiredFields = false ..hasRequiredFields = false
; ;
@$core.Deprecated( @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
'Will be removed in next major version')
CodeGeneratorResponse clone() => CodeGeneratorResponse()..mergeFromMessage(this); CodeGeneratorResponse clone() => CodeGeneratorResponse()..mergeFromMessage(this);
@$core.Deprecated( @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
'Will be removed in next major version')
CodeGeneratorResponse copyWith(void Function(CodeGeneratorResponse) updates) => super.copyWith((message) => updates(message as CodeGeneratorResponse)) as CodeGeneratorResponse; CodeGeneratorResponse copyWith(void Function(CodeGeneratorResponse) updates) => super.copyWith((message) => updates(message as CodeGeneratorResponse)) as CodeGeneratorResponse;
@$core.override
$pb.BuilderInfo get info_ => _i; $pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline') @$core.pragma('dart2js:noInline')
static CodeGeneratorResponse create() => CodeGeneratorResponse._(); static CodeGeneratorResponse create() => CodeGeneratorResponse._();
@$core.override
CodeGeneratorResponse createEmptyInstance() => create(); CodeGeneratorResponse createEmptyInstance() => create();
static $pb.PbList<CodeGeneratorResponse> createRepeated() => $pb.PbList<CodeGeneratorResponse>(); static $pb.PbList<CodeGeneratorResponse> createRepeated() => $pb.PbList<CodeGeneratorResponse>();
@$core.pragma('dart2js:noInline') @$core.pragma('dart2js:noInline')
static CodeGeneratorResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<CodeGeneratorResponse>(create); static CodeGeneratorResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<CodeGeneratorResponse>(create);
static CodeGeneratorResponse? _defaultInstance; static CodeGeneratorResponse? _defaultInstance;
/// Error message. If non-empty, code generation failed. The plugin process /// Error message. If non-empty, code generation failed. The plugin process
/// should exit with status code zero even if it reports an error in this way. /// should exit with status code zero even if it reports an error in this way.
/// ///
/// This should be used to indicate errors in .proto files which prevent the /// This should be used to indicate errors in .proto files which prevent the
/// code generator from generating correct code. Errors which indicate a /// code generator from generating correct code. Errors which indicate a
/// problem in protoc itself -- such as the input CodeGeneratorRequest being /// problem in protoc itself -- such as the input CodeGeneratorRequest being
/// unparseable -- should be reported by writing a message to stderr and /// unparseable -- should be reported by writing a message to stderr and
/// exiting with a non-zero status code. /// exiting with a non-zero status code.
@$pb.TagNumber(1) @$pb.TagNumber(1)
$core.String get error => $_getSZ(0); $core.String get error => $_getSZ(0);
@$pb.TagNumber(1) @$pb.TagNumber(1)
set error($core.String v) { $_setString(0, v); } set error($core.String value) => $_setString(0, value);
@$pb.TagNumber(1) @$pb.TagNumber(1)
$core.bool hasError() => $_has(0); $core.bool hasError() => $_has(0);
@$pb.TagNumber(1) @$pb.TagNumber(1)
void clearError() => $_clearField(1); void clearError() => $_clearField(1);
/// A bitmask of supported features that the code generator supports.
/// This is a bitwise "or" of values from the Feature enum.
@$pb.TagNumber(2)
$fixnum.Int64 get supportedFeatures => $_getI64(1);
@$pb.TagNumber(2)
set supportedFeatures($fixnum.Int64 value) => $_setInt64(1, value);
@$pb.TagNumber(2)
$core.bool hasSupportedFeatures() => $_has(1);
@$pb.TagNumber(2)
void clearSupportedFeatures() => $_clearField(2);
/// The minimum edition this plugin supports. This will be treated as an
/// Edition enum, but we want to allow unknown values. It should be specified
/// according the edition enum value, *not* the edition number. Only takes
/// effect for plugins that have FEATURE_SUPPORTS_EDITIONS set.
@$pb.TagNumber(3)
$core.int get minimumEdition => $_getIZ(2);
@$pb.TagNumber(3)
set minimumEdition($core.int value) => $_setSignedInt32(2, value);
@$pb.TagNumber(3)
$core.bool hasMinimumEdition() => $_has(2);
@$pb.TagNumber(3)
void clearMinimumEdition() => $_clearField(3);
/// The maximum edition this plugin supports. This will be treated as an
/// Edition enum, but we want to allow unknown values. It should be specified
/// according the edition enum value, *not* the edition number. Only takes
/// effect for plugins that have FEATURE_SUPPORTS_EDITIONS set.
@$pb.TagNumber(4)
$core.int get maximumEdition => $_getIZ(3);
@$pb.TagNumber(4)
set maximumEdition($core.int value) => $_setSignedInt32(3, value);
@$pb.TagNumber(4)
$core.bool hasMaximumEdition() => $_has(3);
@$pb.TagNumber(4)
void clearMaximumEdition() => $_clearField(4);
@$pb.TagNumber(15) @$pb.TagNumber(15)
$pb.PbList<CodeGeneratorResponse_File> get file => $_getList(1); $pb.PbList<CodeGeneratorResponse_File> get file => $_getList(4);
} }
const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); const $core.bool _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names');
const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); const $core.bool _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names');

View File

@@ -1,11 +1,36 @@
// This is a generated file - do not edit.
// //
// Generated code. Do not modify. // Generated from google/protobuf/compiler/plugin.proto.
// source: google/protobuf/compiler/plugin.proto
//
// @dart = 3.3 // @dart = 3.3
// ignore_for_file: annotate_overrides, camel_case_types, comment_references // ignore_for_file: annotate_overrides, camel_case_types, comment_references
// ignore_for_file: constant_identifier_names, library_prefixes // ignore_for_file: constant_identifier_names
// ignore_for_file: non_constant_identifier_names, prefer_final_fields // ignore_for_file: curly_braces_in_flow_control_structures
// ignore_for_file: unnecessary_import, unnecessary_this, unused_import // ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
// ignore_for_file: non_constant_identifier_names
import 'dart:core' as $core;
import 'package:protobuf/protobuf.dart' as $pb;
/// Sync with code_generator.h.
class CodeGeneratorResponse_Feature extends $pb.ProtobufEnum {
static const CodeGeneratorResponse_Feature FEATURE_NONE = CodeGeneratorResponse_Feature._(0, _omitEnumNames ? '' : 'FEATURE_NONE');
static const CodeGeneratorResponse_Feature FEATURE_PROTO3_OPTIONAL = CodeGeneratorResponse_Feature._(1, _omitEnumNames ? '' : 'FEATURE_PROTO3_OPTIONAL');
static const CodeGeneratorResponse_Feature FEATURE_SUPPORTS_EDITIONS = CodeGeneratorResponse_Feature._(2, _omitEnumNames ? '' : 'FEATURE_SUPPORTS_EDITIONS');
static const $core.List<CodeGeneratorResponse_Feature> values = <CodeGeneratorResponse_Feature> [
FEATURE_NONE,
FEATURE_PROTO3_OPTIONAL,
FEATURE_SUPPORTS_EDITIONS,
];
static final $core.List<CodeGeneratorResponse_Feature?> _byValue = $pb.ProtobufEnum.$_initByValueList(values, 2);
static CodeGeneratorResponse_Feature? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value];
const CodeGeneratorResponse_Feature._(super.value, super.name);
}
const $core.bool _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names');

View File

@@ -1,13 +1,14 @@
// This is a generated file - do not edit.
// //
// Generated code. Do not modify. // Generated from google/protobuf/compiler/plugin.proto.
// source: google/protobuf/compiler/plugin.proto
//
// @dart = 3.3 // @dart = 3.3
// ignore_for_file: annotate_overrides, camel_case_types, comment_references // ignore_for_file: annotate_overrides, camel_case_types, comment_references
// ignore_for_file: constant_identifier_names, library_prefixes // ignore_for_file: constant_identifier_names
// ignore_for_file: non_constant_identifier_names, prefer_final_fields // ignore_for_file: curly_braces_in_flow_control_structures
// ignore_for_file: unnecessary_import, unnecessary_this, unused_import // ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
// ignore_for_file: non_constant_identifier_names, unused_import
import 'dart:convert' as $convert; import 'dart:convert' as $convert;
import 'dart:core' as $core; import 'dart:core' as $core;
@@ -36,6 +37,7 @@ const CodeGeneratorRequest$json = {
{'1': 'file_to_generate', '3': 1, '4': 3, '5': 9, '10': 'fileToGenerate'}, {'1': 'file_to_generate', '3': 1, '4': 3, '5': 9, '10': 'fileToGenerate'},
{'1': 'parameter', '3': 2, '4': 1, '5': 9, '10': 'parameter'}, {'1': 'parameter', '3': 2, '4': 1, '5': 9, '10': 'parameter'},
{'1': 'proto_file', '3': 15, '4': 3, '5': 11, '6': '.google.protobuf.FileDescriptorProto', '10': 'protoFile'}, {'1': 'proto_file', '3': 15, '4': 3, '5': 11, '6': '.google.protobuf.FileDescriptorProto', '10': 'protoFile'},
{'1': 'source_file_descriptors', '3': 17, '4': 3, '5': 11, '6': '.google.protobuf.FileDescriptorProto', '10': 'sourceFileDescriptors'},
{'1': 'compiler_version', '3': 3, '4': 1, '5': 11, '6': '.google.protobuf.compiler.Version', '10': 'compilerVersion'}, {'1': 'compiler_version', '3': 3, '4': 1, '5': 11, '6': '.google.protobuf.compiler.Version', '10': 'compilerVersion'},
], ],
}; };
@@ -44,18 +46,24 @@ const CodeGeneratorRequest$json = {
final $typed_data.Uint8List codeGeneratorRequestDescriptor = $convert.base64Decode( final $typed_data.Uint8List codeGeneratorRequestDescriptor = $convert.base64Decode(
'ChRDb2RlR2VuZXJhdG9yUmVxdWVzdBIoChBmaWxlX3RvX2dlbmVyYXRlGAEgAygJUg5maWxlVG' 'ChRDb2RlR2VuZXJhdG9yUmVxdWVzdBIoChBmaWxlX3RvX2dlbmVyYXRlGAEgAygJUg5maWxlVG'
'9HZW5lcmF0ZRIcCglwYXJhbWV0ZXIYAiABKAlSCXBhcmFtZXRlchJDCgpwcm90b19maWxlGA8g' '9HZW5lcmF0ZRIcCglwYXJhbWV0ZXIYAiABKAlSCXBhcmFtZXRlchJDCgpwcm90b19maWxlGA8g'
'AygLMiQuZ29vZ2xlLnByb3RvYnVmLkZpbGVEZXNjcmlwdG9yUHJvdG9SCXByb3RvRmlsZRJMCh' 'AygLMiQuZ29vZ2xlLnByb3RvYnVmLkZpbGVEZXNjcmlwdG9yUHJvdG9SCXByb3RvRmlsZRJcCh'
'Bjb21waWxlcl92ZXJzaW9uGAMgASgLMiEuZ29vZ2xlLnByb3RvYnVmLmNvbXBpbGVyLlZlcnNp' 'dzb3VyY2VfZmlsZV9kZXNjcmlwdG9ycxgRIAMoCzIkLmdvb2dsZS5wcm90b2J1Zi5GaWxlRGVz'
'b25SD2NvbXBpbGVyVmVyc2lvbg=='); 'Y3JpcHRvclByb3RvUhVzb3VyY2VGaWxlRGVzY3JpcHRvcnMSTAoQY29tcGlsZXJfdmVyc2lvbh'
'gDIAEoCzIhLmdvb2dsZS5wcm90b2J1Zi5jb21waWxlci5WZXJzaW9uUg9jb21waWxlclZlcnNp'
'b24=');
@$core.Deprecated('Use codeGeneratorResponseDescriptor instead') @$core.Deprecated('Use codeGeneratorResponseDescriptor instead')
const CodeGeneratorResponse$json = { const CodeGeneratorResponse$json = {
'1': 'CodeGeneratorResponse', '1': 'CodeGeneratorResponse',
'2': [ '2': [
{'1': 'error', '3': 1, '4': 1, '5': 9, '10': 'error'}, {'1': 'error', '3': 1, '4': 1, '5': 9, '10': 'error'},
{'1': 'supported_features', '3': 2, '4': 1, '5': 4, '10': 'supportedFeatures'},
{'1': 'minimum_edition', '3': 3, '4': 1, '5': 5, '10': 'minimumEdition'},
{'1': 'maximum_edition', '3': 4, '4': 1, '5': 5, '10': 'maximumEdition'},
{'1': 'file', '3': 15, '4': 3, '5': 11, '6': '.google.protobuf.compiler.CodeGeneratorResponse.File', '10': 'file'}, {'1': 'file', '3': 15, '4': 3, '5': 11, '6': '.google.protobuf.compiler.CodeGeneratorResponse.File', '10': 'file'},
], ],
'3': [CodeGeneratorResponse_File$json], '3': [CodeGeneratorResponse_File$json],
'4': [CodeGeneratorResponse_Feature$json],
}; };
@$core.Deprecated('Use codeGeneratorResponseDescriptor instead') @$core.Deprecated('Use codeGeneratorResponseDescriptor instead')
@@ -65,13 +73,30 @@ const CodeGeneratorResponse_File$json = {
{'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'},
{'1': 'insertion_point', '3': 2, '4': 1, '5': 9, '10': 'insertionPoint'}, {'1': 'insertion_point', '3': 2, '4': 1, '5': 9, '10': 'insertionPoint'},
{'1': 'content', '3': 15, '4': 1, '5': 9, '10': 'content'}, {'1': 'content', '3': 15, '4': 1, '5': 9, '10': 'content'},
{'1': 'generated_code_info', '3': 16, '4': 1, '5': 11, '6': '.google.protobuf.GeneratedCodeInfo', '10': 'generatedCodeInfo'},
],
};
@$core.Deprecated('Use codeGeneratorResponseDescriptor instead')
const CodeGeneratorResponse_Feature$json = {
'1': 'Feature',
'2': [
{'1': 'FEATURE_NONE', '2': 0},
{'1': 'FEATURE_PROTO3_OPTIONAL', '2': 1},
{'1': 'FEATURE_SUPPORTS_EDITIONS', '2': 2},
], ],
}; };
/// Descriptor for `CodeGeneratorResponse`. Decode as a `google.protobuf.DescriptorProto`. /// Descriptor for `CodeGeneratorResponse`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List codeGeneratorResponseDescriptor = $convert.base64Decode( final $typed_data.Uint8List codeGeneratorResponseDescriptor = $convert.base64Decode(
'ChVDb2RlR2VuZXJhdG9yUmVzcG9uc2USFAoFZXJyb3IYASABKAlSBWVycm9yEkgKBGZpbGUYDy' 'ChVDb2RlR2VuZXJhdG9yUmVzcG9uc2USFAoFZXJyb3IYASABKAlSBWVycm9yEi0KEnN1cHBvcn'
'ADKAsyNC5nb29nbGUucHJvdG9idWYuY29tcGlsZXIuQ29kZUdlbmVyYXRvclJlc3BvbnNlLkZp' 'RlZF9mZWF0dXJlcxgCIAEoBFIRc3VwcG9ydGVkRmVhdHVyZXMSJwoPbWluaW11bV9lZGl0aW9u'
'bGVSBGZpbGUaXQoERmlsZRISCgRuYW1lGAEgASgJUgRuYW1lEicKD2luc2VydGlvbl9wb2ludB' 'GAMgASgFUg5taW5pbXVtRWRpdGlvbhInCg9tYXhpbXVtX2VkaXRpb24YBCABKAVSDm1heGltdW'
'gCIAEoCVIOaW5zZXJ0aW9uUG9pbnQSGAoHY29udGVudBgPIAEoCVIHY29udGVudA=='); '1FZGl0aW9uEkgKBGZpbGUYDyADKAsyNC5nb29nbGUucHJvdG9idWYuY29tcGlsZXIuQ29kZUdl'
'bmVyYXRvclJlc3BvbnNlLkZpbGVSBGZpbGUasQEKBEZpbGUSEgoEbmFtZRgBIAEoCVIEbmFtZR'
'InCg9pbnNlcnRpb25fcG9pbnQYAiABKAlSDmluc2VydGlvblBvaW50EhgKB2NvbnRlbnQYDyAB'
'KAlSB2NvbnRlbnQSUgoTZ2VuZXJhdGVkX2NvZGVfaW5mbxgQIAEoCzIiLmdvb2dsZS5wcm90b2'
'J1Zi5HZW5lcmF0ZWRDb2RlSW5mb1IRZ2VuZXJhdGVkQ29kZUluZm8iVwoHRmVhdHVyZRIQCgxG'
'RUFUVVJFX05PTkUQABIbChdGRUFUVVJFX1BST1RPM19PUFRJT05BTBABEh0KGUZFQVRVUkVfU1'
'VQUE9SVFNfRURJVElPTlMQAg==');

File diff suppressed because it is too large Load Diff

View File

@@ -1,18 +1,112 @@
// This is a generated file - do not edit.
// //
// Generated code. Do not modify. // Generated from google/protobuf/descriptor.proto.
// source: google/protobuf/descriptor.proto
//
// @dart = 3.3 // @dart = 3.3
// ignore_for_file: annotate_overrides, camel_case_types, comment_references // ignore_for_file: annotate_overrides, camel_case_types, comment_references
// ignore_for_file: constant_identifier_names, library_prefixes // ignore_for_file: constant_identifier_names
// ignore_for_file: non_constant_identifier_names, prefer_final_fields // ignore_for_file: curly_braces_in_flow_control_structures
// ignore_for_file: unnecessary_import, unnecessary_this, unused_import // ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
// ignore_for_file: non_constant_identifier_names
import 'dart:core' as $core; import 'dart:core' as $core;
import 'package:protobuf/protobuf.dart' as $pb; import 'package:protobuf/protobuf.dart' as $pb;
/// The full set of known editions.
class Edition extends $pb.ProtobufEnum {
/// A placeholder for an unknown edition value.
static const Edition EDITION_UNKNOWN = Edition._(0, _omitEnumNames ? '' : 'EDITION_UNKNOWN');
/// A placeholder edition for specifying default behaviors *before* a feature
/// was first introduced. This is effectively an "infinite past".
static const Edition EDITION_LEGACY = Edition._(900, _omitEnumNames ? '' : 'EDITION_LEGACY');
/// Legacy syntax "editions". These pre-date editions, but behave much like
/// distinct editions. These can't be used to specify the edition of proto
/// files, but feature definitions must supply proto2/proto3 defaults for
/// backwards compatibility.
static const Edition EDITION_PROTO2 = Edition._(998, _omitEnumNames ? '' : 'EDITION_PROTO2');
static const Edition EDITION_PROTO3 = Edition._(999, _omitEnumNames ? '' : 'EDITION_PROTO3');
/// Editions that have been released. The specific values are arbitrary and
/// should not be depended on, but they will always be time-ordered for easy
/// comparison.
static const Edition EDITION_2023 = Edition._(1000, _omitEnumNames ? '' : 'EDITION_2023');
static const Edition EDITION_2024 = Edition._(1001, _omitEnumNames ? '' : 'EDITION_2024');
/// A placeholder edition for developing and testing unscheduled features.
static const Edition EDITION_UNSTABLE = Edition._(9999, _omitEnumNames ? '' : 'EDITION_UNSTABLE');
/// Placeholder editions for testing feature resolution. These should not be
/// used or relied on outside of tests.
static const Edition EDITION_1_TEST_ONLY = Edition._(1, _omitEnumNames ? '' : 'EDITION_1_TEST_ONLY');
static const Edition EDITION_2_TEST_ONLY = Edition._(2, _omitEnumNames ? '' : 'EDITION_2_TEST_ONLY');
static const Edition EDITION_99997_TEST_ONLY = Edition._(99997, _omitEnumNames ? '' : 'EDITION_99997_TEST_ONLY');
static const Edition EDITION_99998_TEST_ONLY = Edition._(99998, _omitEnumNames ? '' : 'EDITION_99998_TEST_ONLY');
static const Edition EDITION_99999_TEST_ONLY = Edition._(99999, _omitEnumNames ? '' : 'EDITION_99999_TEST_ONLY');
/// Placeholder for specifying unbounded edition support. This should only
/// ever be used by plugins that can expect to never require any changes to
/// support a new edition.
static const Edition EDITION_MAX = Edition._(2147483647, _omitEnumNames ? '' : 'EDITION_MAX');
static const $core.List<Edition> values = <Edition> [
EDITION_UNKNOWN,
EDITION_LEGACY,
EDITION_PROTO2,
EDITION_PROTO3,
EDITION_2023,
EDITION_2024,
EDITION_UNSTABLE,
EDITION_1_TEST_ONLY,
EDITION_2_TEST_ONLY,
EDITION_99997_TEST_ONLY,
EDITION_99998_TEST_ONLY,
EDITION_99999_TEST_ONLY,
EDITION_MAX,
];
static final $core.Map<$core.int, Edition> _byValue = $pb.ProtobufEnum.initByValue(values);
static Edition? valueOf($core.int value) => _byValue[value];
const Edition._(super.value, super.name);
}
/// Describes the 'visibility' of a symbol with respect to the proto import
/// system. Symbols can only be imported when the visibility rules do not prevent
/// it (ex: local symbols cannot be imported). Visibility modifiers can only set
/// on `message` and `enum` as they are the only types available to be referenced
/// from other files.
class SymbolVisibility extends $pb.ProtobufEnum {
static const SymbolVisibility VISIBILITY_UNSET = SymbolVisibility._(0, _omitEnumNames ? '' : 'VISIBILITY_UNSET');
static const SymbolVisibility VISIBILITY_LOCAL = SymbolVisibility._(1, _omitEnumNames ? '' : 'VISIBILITY_LOCAL');
static const SymbolVisibility VISIBILITY_EXPORT = SymbolVisibility._(2, _omitEnumNames ? '' : 'VISIBILITY_EXPORT');
static const $core.List<SymbolVisibility> values = <SymbolVisibility> [
VISIBILITY_UNSET,
VISIBILITY_LOCAL,
VISIBILITY_EXPORT,
];
static final $core.List<SymbolVisibility?> _byValue = $pb.ProtobufEnum.$_initByValueList(values, 2);
static SymbolVisibility? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value];
const SymbolVisibility._(super.value, super.name);
}
/// The verification state of the extension range.
class ExtensionRangeOptions_VerificationState extends $pb.ProtobufEnum {
/// All the extensions of the range must be declared.
static const ExtensionRangeOptions_VerificationState DECLARATION = ExtensionRangeOptions_VerificationState._(0, _omitEnumNames ? '' : 'DECLARATION');
static const ExtensionRangeOptions_VerificationState UNVERIFIED = ExtensionRangeOptions_VerificationState._(1, _omitEnumNames ? '' : 'UNVERIFIED');
static const $core.List<ExtensionRangeOptions_VerificationState> values = <ExtensionRangeOptions_VerificationState> [
DECLARATION,
UNVERIFIED,
];
static final $core.List<ExtensionRangeOptions_VerificationState?> _byValue = $pb.ProtobufEnum.$_initByValueList(values, 1);
static ExtensionRangeOptions_VerificationState? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value];
const ExtensionRangeOptions_VerificationState._(super.value, super.name);
}
class FieldDescriptorProto_Type extends $pb.ProtobufEnum { class FieldDescriptorProto_Type extends $pb.ProtobufEnum {
/// 0 is reserved for errors. /// 0 is reserved for errors.
/// Order is weird for historical reasons. /// Order is weird for historical reasons.
@@ -30,9 +124,10 @@ class FieldDescriptorProto_Type extends $pb.ProtobufEnum {
static const FieldDescriptorProto_Type TYPE_BOOL = FieldDescriptorProto_Type._(8, _omitEnumNames ? '' : 'TYPE_BOOL'); static const FieldDescriptorProto_Type TYPE_BOOL = FieldDescriptorProto_Type._(8, _omitEnumNames ? '' : 'TYPE_BOOL');
static const FieldDescriptorProto_Type TYPE_STRING = FieldDescriptorProto_Type._(9, _omitEnumNames ? '' : 'TYPE_STRING'); static const FieldDescriptorProto_Type TYPE_STRING = FieldDescriptorProto_Type._(9, _omitEnumNames ? '' : 'TYPE_STRING');
/// Tag-delimited aggregate. /// Tag-delimited aggregate.
/// Group type is deprecated and not supported in proto3. However, Proto3 /// Group type is deprecated and not supported after google.protobuf. However, Proto3
/// implementations should still be able to parse the group wire format and /// implementations should still be able to parse the group wire format and
/// treat group fields as unknown fields. /// treat group fields as unknown fields. In Editions, the group wire format
/// can be enabled via the `message_encoding` feature.
static const FieldDescriptorProto_Type TYPE_GROUP = FieldDescriptorProto_Type._(10, _omitEnumNames ? '' : 'TYPE_GROUP'); static const FieldDescriptorProto_Type TYPE_GROUP = FieldDescriptorProto_Type._(10, _omitEnumNames ? '' : 'TYPE_GROUP');
static const FieldDescriptorProto_Type TYPE_MESSAGE = FieldDescriptorProto_Type._(11, _omitEnumNames ? '' : 'TYPE_MESSAGE'); static const FieldDescriptorProto_Type TYPE_MESSAGE = FieldDescriptorProto_Type._(11, _omitEnumNames ? '' : 'TYPE_MESSAGE');
/// New in version 2. /// New in version 2.
@@ -65,28 +160,31 @@ class FieldDescriptorProto_Type extends $pb.ProtobufEnum {
TYPE_SINT64, TYPE_SINT64,
]; ];
static final $core.Map<$core.int, FieldDescriptorProto_Type> _byValue = $pb.ProtobufEnum.initByValue(values); static final $core.List<FieldDescriptorProto_Type?> _byValue = $pb.ProtobufEnum.$_initByValueList(values, 18);
static FieldDescriptorProto_Type? valueOf($core.int value) => _byValue[value]; static FieldDescriptorProto_Type? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value];
const FieldDescriptorProto_Type._(super.v, super.n); const FieldDescriptorProto_Type._(super.value, super.name);
} }
class FieldDescriptorProto_Label extends $pb.ProtobufEnum { class FieldDescriptorProto_Label extends $pb.ProtobufEnum {
/// 0 is reserved for errors /// 0 is reserved for errors
static const FieldDescriptorProto_Label LABEL_OPTIONAL = FieldDescriptorProto_Label._(1, _omitEnumNames ? '' : 'LABEL_OPTIONAL'); static const FieldDescriptorProto_Label LABEL_OPTIONAL = FieldDescriptorProto_Label._(1, _omitEnumNames ? '' : 'LABEL_OPTIONAL');
static const FieldDescriptorProto_Label LABEL_REQUIRED = FieldDescriptorProto_Label._(2, _omitEnumNames ? '' : 'LABEL_REQUIRED');
static const FieldDescriptorProto_Label LABEL_REPEATED = FieldDescriptorProto_Label._(3, _omitEnumNames ? '' : 'LABEL_REPEATED'); static const FieldDescriptorProto_Label LABEL_REPEATED = FieldDescriptorProto_Label._(3, _omitEnumNames ? '' : 'LABEL_REPEATED');
/// The required label is only allowed in google.protobuf. In proto3 and Editions
/// it's explicitly prohibited. In Editions, the `field_presence` feature
/// can be used to get this behavior.
static const FieldDescriptorProto_Label LABEL_REQUIRED = FieldDescriptorProto_Label._(2, _omitEnumNames ? '' : 'LABEL_REQUIRED');
static const $core.List<FieldDescriptorProto_Label> values = <FieldDescriptorProto_Label> [ static const $core.List<FieldDescriptorProto_Label> values = <FieldDescriptorProto_Label> [
LABEL_OPTIONAL, LABEL_OPTIONAL,
LABEL_REQUIRED,
LABEL_REPEATED, LABEL_REPEATED,
LABEL_REQUIRED,
]; ];
static final $core.Map<$core.int, FieldDescriptorProto_Label> _byValue = $pb.ProtobufEnum.initByValue(values); static final $core.List<FieldDescriptorProto_Label?> _byValue = $pb.ProtobufEnum.$_initByValueList(values, 3);
static FieldDescriptorProto_Label? valueOf($core.int value) => _byValue[value]; static FieldDescriptorProto_Label? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value];
const FieldDescriptorProto_Label._(super.v, super.n); const FieldDescriptorProto_Label._(super.value, super.name);
} }
/// Generated classes can be optimized for speed or code size. /// Generated classes can be optimized for speed or code size.
@@ -102,15 +200,21 @@ class FileOptions_OptimizeMode extends $pb.ProtobufEnum {
LITE_RUNTIME, LITE_RUNTIME,
]; ];
static final $core.Map<$core.int, FileOptions_OptimizeMode> _byValue = $pb.ProtobufEnum.initByValue(values); static final $core.List<FileOptions_OptimizeMode?> _byValue = $pb.ProtobufEnum.$_initByValueList(values, 3);
static FileOptions_OptimizeMode? valueOf($core.int value) => _byValue[value]; static FileOptions_OptimizeMode? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value];
const FileOptions_OptimizeMode._(super.v, super.n); const FileOptions_OptimizeMode._(super.value, super.name);
} }
class FieldOptions_CType extends $pb.ProtobufEnum { class FieldOptions_CType extends $pb.ProtobufEnum {
/// Default mode. /// Default mode.
static const FieldOptions_CType STRING = FieldOptions_CType._(0, _omitEnumNames ? '' : 'STRING'); static const FieldOptions_CType STRING = FieldOptions_CType._(0, _omitEnumNames ? '' : 'STRING');
/// The option [ctype=CORD] may be applied to a non-repeated field of type
/// "bytes". It indicates that in C++, the data should be stored in a Cord
/// instead of a string. For very large strings, this may reduce memory
/// fragmentation. It may also allow better performance when parsing from a
/// Cord, or when parsing with aliasing enabled, as the parsed Cord may then
/// alias the original buffer.
static const FieldOptions_CType CORD = FieldOptions_CType._(1, _omitEnumNames ? '' : 'CORD'); static const FieldOptions_CType CORD = FieldOptions_CType._(1, _omitEnumNames ? '' : 'CORD');
static const FieldOptions_CType STRING_PIECE = FieldOptions_CType._(2, _omitEnumNames ? '' : 'STRING_PIECE'); static const FieldOptions_CType STRING_PIECE = FieldOptions_CType._(2, _omitEnumNames ? '' : 'STRING_PIECE');
@@ -120,10 +224,10 @@ class FieldOptions_CType extends $pb.ProtobufEnum {
STRING_PIECE, STRING_PIECE,
]; ];
static final $core.Map<$core.int, FieldOptions_CType> _byValue = $pb.ProtobufEnum.initByValue(values); static final $core.List<FieldOptions_CType?> _byValue = $pb.ProtobufEnum.$_initByValueList(values, 2);
static FieldOptions_CType? valueOf($core.int value) => _byValue[value]; static FieldOptions_CType? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value];
const FieldOptions_CType._(super.v, super.n); const FieldOptions_CType._(super.value, super.name);
} }
class FieldOptions_JSType extends $pb.ProtobufEnum { class FieldOptions_JSType extends $pb.ProtobufEnum {
@@ -140,10 +244,62 @@ class FieldOptions_JSType extends $pb.ProtobufEnum {
JS_NUMBER, JS_NUMBER,
]; ];
static final $core.Map<$core.int, FieldOptions_JSType> _byValue = $pb.ProtobufEnum.initByValue(values); static final $core.List<FieldOptions_JSType?> _byValue = $pb.ProtobufEnum.$_initByValueList(values, 2);
static FieldOptions_JSType? valueOf($core.int value) => _byValue[value]; static FieldOptions_JSType? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value];
const FieldOptions_JSType._(super.v, super.n); const FieldOptions_JSType._(super.value, super.name);
}
/// If set to RETENTION_SOURCE, the option will be omitted from the binary.
class FieldOptions_OptionRetention extends $pb.ProtobufEnum {
static const FieldOptions_OptionRetention RETENTION_UNKNOWN = FieldOptions_OptionRetention._(0, _omitEnumNames ? '' : 'RETENTION_UNKNOWN');
static const FieldOptions_OptionRetention RETENTION_RUNTIME = FieldOptions_OptionRetention._(1, _omitEnumNames ? '' : 'RETENTION_RUNTIME');
static const FieldOptions_OptionRetention RETENTION_SOURCE = FieldOptions_OptionRetention._(2, _omitEnumNames ? '' : 'RETENTION_SOURCE');
static const $core.List<FieldOptions_OptionRetention> values = <FieldOptions_OptionRetention> [
RETENTION_UNKNOWN,
RETENTION_RUNTIME,
RETENTION_SOURCE,
];
static final $core.List<FieldOptions_OptionRetention?> _byValue = $pb.ProtobufEnum.$_initByValueList(values, 2);
static FieldOptions_OptionRetention? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value];
const FieldOptions_OptionRetention._(super.value, super.name);
}
/// This indicates the types of entities that the field may apply to when used
/// as an option. If it is unset, then the field may be freely used as an
/// option on any kind of entity.
class FieldOptions_OptionTargetType extends $pb.ProtobufEnum {
static const FieldOptions_OptionTargetType TARGET_TYPE_UNKNOWN = FieldOptions_OptionTargetType._(0, _omitEnumNames ? '' : 'TARGET_TYPE_UNKNOWN');
static const FieldOptions_OptionTargetType TARGET_TYPE_FILE = FieldOptions_OptionTargetType._(1, _omitEnumNames ? '' : 'TARGET_TYPE_FILE');
static const FieldOptions_OptionTargetType TARGET_TYPE_EXTENSION_RANGE = FieldOptions_OptionTargetType._(2, _omitEnumNames ? '' : 'TARGET_TYPE_EXTENSION_RANGE');
static const FieldOptions_OptionTargetType TARGET_TYPE_MESSAGE = FieldOptions_OptionTargetType._(3, _omitEnumNames ? '' : 'TARGET_TYPE_MESSAGE');
static const FieldOptions_OptionTargetType TARGET_TYPE_FIELD = FieldOptions_OptionTargetType._(4, _omitEnumNames ? '' : 'TARGET_TYPE_FIELD');
static const FieldOptions_OptionTargetType TARGET_TYPE_ONEOF = FieldOptions_OptionTargetType._(5, _omitEnumNames ? '' : 'TARGET_TYPE_ONEOF');
static const FieldOptions_OptionTargetType TARGET_TYPE_ENUM = FieldOptions_OptionTargetType._(6, _omitEnumNames ? '' : 'TARGET_TYPE_ENUM');
static const FieldOptions_OptionTargetType TARGET_TYPE_ENUM_ENTRY = FieldOptions_OptionTargetType._(7, _omitEnumNames ? '' : 'TARGET_TYPE_ENUM_ENTRY');
static const FieldOptions_OptionTargetType TARGET_TYPE_SERVICE = FieldOptions_OptionTargetType._(8, _omitEnumNames ? '' : 'TARGET_TYPE_SERVICE');
static const FieldOptions_OptionTargetType TARGET_TYPE_METHOD = FieldOptions_OptionTargetType._(9, _omitEnumNames ? '' : 'TARGET_TYPE_METHOD');
static const $core.List<FieldOptions_OptionTargetType> values = <FieldOptions_OptionTargetType> [
TARGET_TYPE_UNKNOWN,
TARGET_TYPE_FILE,
TARGET_TYPE_EXTENSION_RANGE,
TARGET_TYPE_MESSAGE,
TARGET_TYPE_FIELD,
TARGET_TYPE_ONEOF,
TARGET_TYPE_ENUM,
TARGET_TYPE_ENUM_ENTRY,
TARGET_TYPE_SERVICE,
TARGET_TYPE_METHOD,
];
static final $core.List<FieldOptions_OptionTargetType?> _byValue = $pb.ProtobufEnum.$_initByValueList(values, 9);
static FieldOptions_OptionTargetType? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value];
const FieldOptions_OptionTargetType._(super.value, super.name);
} }
/// Is this method side-effect-free (or safe in HTTP parlance), or idempotent, /// Is this method side-effect-free (or safe in HTTP parlance), or idempotent,
@@ -160,11 +316,181 @@ class MethodOptions_IdempotencyLevel extends $pb.ProtobufEnum {
IDEMPOTENT, IDEMPOTENT,
]; ];
static final $core.Map<$core.int, MethodOptions_IdempotencyLevel> _byValue = $pb.ProtobufEnum.initByValue(values); static final $core.List<MethodOptions_IdempotencyLevel?> _byValue = $pb.ProtobufEnum.$_initByValueList(values, 2);
static MethodOptions_IdempotencyLevel? valueOf($core.int value) => _byValue[value]; static MethodOptions_IdempotencyLevel? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value];
const MethodOptions_IdempotencyLevel._(super.v, super.n); const MethodOptions_IdempotencyLevel._(super.value, super.name);
}
class FeatureSet_FieldPresence extends $pb.ProtobufEnum {
static const FeatureSet_FieldPresence FIELD_PRESENCE_UNKNOWN = FeatureSet_FieldPresence._(0, _omitEnumNames ? '' : 'FIELD_PRESENCE_UNKNOWN');
static const FeatureSet_FieldPresence EXPLICIT = FeatureSet_FieldPresence._(1, _omitEnumNames ? '' : 'EXPLICIT');
static const FeatureSet_FieldPresence IMPLICIT = FeatureSet_FieldPresence._(2, _omitEnumNames ? '' : 'IMPLICIT');
static const FeatureSet_FieldPresence LEGACY_REQUIRED = FeatureSet_FieldPresence._(3, _omitEnumNames ? '' : 'LEGACY_REQUIRED');
static const $core.List<FeatureSet_FieldPresence> values = <FeatureSet_FieldPresence> [
FIELD_PRESENCE_UNKNOWN,
EXPLICIT,
IMPLICIT,
LEGACY_REQUIRED,
];
static final $core.List<FeatureSet_FieldPresence?> _byValue = $pb.ProtobufEnum.$_initByValueList(values, 3);
static FeatureSet_FieldPresence? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value];
const FeatureSet_FieldPresence._(super.value, super.name);
}
class FeatureSet_EnumType extends $pb.ProtobufEnum {
static const FeatureSet_EnumType ENUM_TYPE_UNKNOWN = FeatureSet_EnumType._(0, _omitEnumNames ? '' : 'ENUM_TYPE_UNKNOWN');
static const FeatureSet_EnumType OPEN = FeatureSet_EnumType._(1, _omitEnumNames ? '' : 'OPEN');
static const FeatureSet_EnumType CLOSED = FeatureSet_EnumType._(2, _omitEnumNames ? '' : 'CLOSED');
static const $core.List<FeatureSet_EnumType> values = <FeatureSet_EnumType> [
ENUM_TYPE_UNKNOWN,
OPEN,
CLOSED,
];
static final $core.List<FeatureSet_EnumType?> _byValue = $pb.ProtobufEnum.$_initByValueList(values, 2);
static FeatureSet_EnumType? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value];
const FeatureSet_EnumType._(super.value, super.name);
}
class FeatureSet_RepeatedFieldEncoding extends $pb.ProtobufEnum {
static const FeatureSet_RepeatedFieldEncoding REPEATED_FIELD_ENCODING_UNKNOWN = FeatureSet_RepeatedFieldEncoding._(0, _omitEnumNames ? '' : 'REPEATED_FIELD_ENCODING_UNKNOWN');
static const FeatureSet_RepeatedFieldEncoding PACKED = FeatureSet_RepeatedFieldEncoding._(1, _omitEnumNames ? '' : 'PACKED');
static const FeatureSet_RepeatedFieldEncoding EXPANDED = FeatureSet_RepeatedFieldEncoding._(2, _omitEnumNames ? '' : 'EXPANDED');
static const $core.List<FeatureSet_RepeatedFieldEncoding> values = <FeatureSet_RepeatedFieldEncoding> [
REPEATED_FIELD_ENCODING_UNKNOWN,
PACKED,
EXPANDED,
];
static final $core.List<FeatureSet_RepeatedFieldEncoding?> _byValue = $pb.ProtobufEnum.$_initByValueList(values, 2);
static FeatureSet_RepeatedFieldEncoding? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value];
const FeatureSet_RepeatedFieldEncoding._(super.value, super.name);
}
class FeatureSet_Utf8Validation extends $pb.ProtobufEnum {
static const FeatureSet_Utf8Validation UTF8_VALIDATION_UNKNOWN = FeatureSet_Utf8Validation._(0, _omitEnumNames ? '' : 'UTF8_VALIDATION_UNKNOWN');
static const FeatureSet_Utf8Validation VERIFY = FeatureSet_Utf8Validation._(2, _omitEnumNames ? '' : 'VERIFY');
static const FeatureSet_Utf8Validation NONE = FeatureSet_Utf8Validation._(3, _omitEnumNames ? '' : 'NONE');
static const $core.List<FeatureSet_Utf8Validation> values = <FeatureSet_Utf8Validation> [
UTF8_VALIDATION_UNKNOWN,
VERIFY,
NONE,
];
static final $core.List<FeatureSet_Utf8Validation?> _byValue = $pb.ProtobufEnum.$_initByValueList(values, 3);
static FeatureSet_Utf8Validation? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value];
const FeatureSet_Utf8Validation._(super.value, super.name);
}
class FeatureSet_MessageEncoding extends $pb.ProtobufEnum {
static const FeatureSet_MessageEncoding MESSAGE_ENCODING_UNKNOWN = FeatureSet_MessageEncoding._(0, _omitEnumNames ? '' : 'MESSAGE_ENCODING_UNKNOWN');
static const FeatureSet_MessageEncoding LENGTH_PREFIXED = FeatureSet_MessageEncoding._(1, _omitEnumNames ? '' : 'LENGTH_PREFIXED');
static const FeatureSet_MessageEncoding DELIMITED = FeatureSet_MessageEncoding._(2, _omitEnumNames ? '' : 'DELIMITED');
static const $core.List<FeatureSet_MessageEncoding> values = <FeatureSet_MessageEncoding> [
MESSAGE_ENCODING_UNKNOWN,
LENGTH_PREFIXED,
DELIMITED,
];
static final $core.List<FeatureSet_MessageEncoding?> _byValue = $pb.ProtobufEnum.$_initByValueList(values, 2);
static FeatureSet_MessageEncoding? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value];
const FeatureSet_MessageEncoding._(super.value, super.name);
}
class FeatureSet_JsonFormat extends $pb.ProtobufEnum {
static const FeatureSet_JsonFormat JSON_FORMAT_UNKNOWN = FeatureSet_JsonFormat._(0, _omitEnumNames ? '' : 'JSON_FORMAT_UNKNOWN');
static const FeatureSet_JsonFormat ALLOW = FeatureSet_JsonFormat._(1, _omitEnumNames ? '' : 'ALLOW');
static const FeatureSet_JsonFormat LEGACY_BEST_EFFORT = FeatureSet_JsonFormat._(2, _omitEnumNames ? '' : 'LEGACY_BEST_EFFORT');
static const $core.List<FeatureSet_JsonFormat> values = <FeatureSet_JsonFormat> [
JSON_FORMAT_UNKNOWN,
ALLOW,
LEGACY_BEST_EFFORT,
];
static final $core.List<FeatureSet_JsonFormat?> _byValue = $pb.ProtobufEnum.$_initByValueList(values, 2);
static FeatureSet_JsonFormat? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value];
const FeatureSet_JsonFormat._(super.value, super.name);
}
class FeatureSet_EnforceNamingStyle extends $pb.ProtobufEnum {
static const FeatureSet_EnforceNamingStyle ENFORCE_NAMING_STYLE_UNKNOWN = FeatureSet_EnforceNamingStyle._(0, _omitEnumNames ? '' : 'ENFORCE_NAMING_STYLE_UNKNOWN');
static const FeatureSet_EnforceNamingStyle STYLE2024 = FeatureSet_EnforceNamingStyle._(1, _omitEnumNames ? '' : 'STYLE2024');
static const FeatureSet_EnforceNamingStyle STYLE_LEGACY = FeatureSet_EnforceNamingStyle._(2, _omitEnumNames ? '' : 'STYLE_LEGACY');
static const $core.List<FeatureSet_EnforceNamingStyle> values = <FeatureSet_EnforceNamingStyle> [
ENFORCE_NAMING_STYLE_UNKNOWN,
STYLE2024,
STYLE_LEGACY,
];
static final $core.List<FeatureSet_EnforceNamingStyle?> _byValue = $pb.ProtobufEnum.$_initByValueList(values, 2);
static FeatureSet_EnforceNamingStyle? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value];
const FeatureSet_EnforceNamingStyle._(super.value, super.name);
}
class FeatureSet_VisibilityFeature_DefaultSymbolVisibility extends $pb.ProtobufEnum {
static const FeatureSet_VisibilityFeature_DefaultSymbolVisibility DEFAULT_SYMBOL_VISIBILITY_UNKNOWN = FeatureSet_VisibilityFeature_DefaultSymbolVisibility._(0, _omitEnumNames ? '' : 'DEFAULT_SYMBOL_VISIBILITY_UNKNOWN');
/// Default pre-EDITION_2024, all UNSET visibility are export.
static const FeatureSet_VisibilityFeature_DefaultSymbolVisibility EXPORT_ALL = FeatureSet_VisibilityFeature_DefaultSymbolVisibility._(1, _omitEnumNames ? '' : 'EXPORT_ALL');
/// All top-level symbols default to export, nested default to local.
static const FeatureSet_VisibilityFeature_DefaultSymbolVisibility EXPORT_TOP_LEVEL = FeatureSet_VisibilityFeature_DefaultSymbolVisibility._(2, _omitEnumNames ? '' : 'EXPORT_TOP_LEVEL');
/// All symbols default to local.
static const FeatureSet_VisibilityFeature_DefaultSymbolVisibility LOCAL_ALL = FeatureSet_VisibilityFeature_DefaultSymbolVisibility._(3, _omitEnumNames ? '' : 'LOCAL_ALL');
/// All symbols local by default. Nested types cannot be exported.
/// With special case caveat for message { enum {} reserved 1 to max; }
/// This is the recommended setting for new protos.
static const FeatureSet_VisibilityFeature_DefaultSymbolVisibility STRICT = FeatureSet_VisibilityFeature_DefaultSymbolVisibility._(4, _omitEnumNames ? '' : 'STRICT');
static const $core.List<FeatureSet_VisibilityFeature_DefaultSymbolVisibility> values = <FeatureSet_VisibilityFeature_DefaultSymbolVisibility> [
DEFAULT_SYMBOL_VISIBILITY_UNKNOWN,
EXPORT_ALL,
EXPORT_TOP_LEVEL,
LOCAL_ALL,
STRICT,
];
static final $core.List<FeatureSet_VisibilityFeature_DefaultSymbolVisibility?> _byValue = $pb.ProtobufEnum.$_initByValueList(values, 4);
static FeatureSet_VisibilityFeature_DefaultSymbolVisibility? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value];
const FeatureSet_VisibilityFeature_DefaultSymbolVisibility._(super.value, super.name);
}
/// Represents the identified object's effect on the element in the original
/// .proto file.
class GeneratedCodeInfo_Annotation_Semantic extends $pb.ProtobufEnum {
/// There is no effect or the effect is indescribable.
static const GeneratedCodeInfo_Annotation_Semantic NONE = GeneratedCodeInfo_Annotation_Semantic._(0, _omitEnumNames ? '' : 'NONE');
/// The element is set or otherwise mutated.
static const GeneratedCodeInfo_Annotation_Semantic SET = GeneratedCodeInfo_Annotation_Semantic._(1, _omitEnumNames ? '' : 'SET');
/// An alias to the element is returned.
static const GeneratedCodeInfo_Annotation_Semantic ALIAS = GeneratedCodeInfo_Annotation_Semantic._(2, _omitEnumNames ? '' : 'ALIAS');
static const $core.List<GeneratedCodeInfo_Annotation_Semantic> values = <GeneratedCodeInfo_Annotation_Semantic> [
NONE,
SET,
ALIAS,
];
static final $core.List<GeneratedCodeInfo_Annotation_Semantic?> _byValue = $pb.ProtobufEnum.$_initByValueList(values, 2);
static GeneratedCodeInfo_Annotation_Semantic? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value];
const GeneratedCodeInfo_Annotation_Semantic._(super.value, super.name);
} }
const _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names'); const $core.bool _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names');

File diff suppressed because it is too large Load Diff

View File

@@ -1,13 +1,15 @@
// This is a generated file - do not edit.
// //
// Generated code. Do not modify. // Generated from google/protobuf/duration.proto.
// source: google/protobuf/duration.proto
//
// @dart = 3.3 // @dart = 3.3
// ignore_for_file: annotate_overrides, camel_case_types, comment_references // ignore_for_file: annotate_overrides, camel_case_types, comment_references
// ignore_for_file: constant_identifier_names, library_prefixes // ignore_for_file: constant_identifier_names
// ignore_for_file: non_constant_identifier_names, prefer_final_fields // ignore_for_file: curly_braces_in_flow_control_structures
// ignore_for_file: unnecessary_import, unnecessary_this, unused_import // ignore_for_file: deprecated_member_use_from_same_package
// ignore_for_file: implementation_imports, library_prefixes
// ignore_for_file: non_constant_identifier_names
import 'dart:core' as $core; import 'dart:core' as $core;
@@ -17,81 +19,79 @@ import 'package:protobuf/src/protobuf/mixins/well_known.dart' as $mixin;
export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions; export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions;
/// A Duration represents a signed, fixed-length span of time represented /// A Duration represents a signed, fixed-length span of time represented
/// as a count of seconds and fractions of seconds at nanosecond /// as a count of seconds and fractions of seconds at nanosecond
/// resolution. It is independent of any calendar and concepts like "day" /// resolution. It is independent of any calendar and concepts like "day"
/// or "month". It is related to Timestamp in that the difference between /// or "month". It is related to Timestamp in that the difference between
/// two Timestamp values is a Duration and it can be added or subtracted /// two Timestamp values is a Duration and it can be added or subtracted
/// from a Timestamp. Range is approximately +-10,000 years. /// from a Timestamp. Range is approximately +-10,000 years.
/// ///
/// # Examples /// # Examples
/// ///
/// Example 1: Compute Duration from two Timestamps in pseudo code. /// Example 1: Compute Duration from two Timestamps in pseudo code.
/// ///
/// Timestamp start = ...; /// Timestamp start = ...;
/// Timestamp end = ...; /// Timestamp end = ...;
/// Duration duration = ...; /// Duration duration = ...;
/// ///
/// duration.seconds = end.seconds - start.seconds; /// duration.seconds = end.seconds - start.seconds;
/// duration.nanos = end.nanos - start.nanos; /// duration.nanos = end.nanos - start.nanos;
/// ///
/// if (duration.seconds < 0 && duration.nanos > 0) { /// if (duration.seconds < 0 && duration.nanos > 0) {
/// duration.seconds += 1; /// duration.seconds += 1;
/// duration.nanos -= 1000000000; /// duration.nanos -= 1000000000;
/// } else if (duration.seconds > 0 && duration.nanos < 0) { /// } else if (duration.seconds > 0 && duration.nanos < 0) {
/// duration.seconds -= 1; /// duration.seconds -= 1;
/// duration.nanos += 1000000000; /// duration.nanos += 1000000000;
/// } /// }
/// ///
/// Example 2: Compute Timestamp from Timestamp + Duration in pseudo code. /// Example 2: Compute Timestamp from Timestamp + Duration in pseudo code.
/// ///
/// Timestamp start = ...; /// Timestamp start = ...;
/// Duration duration = ...; /// Duration duration = ...;
/// Timestamp end = ...; /// Timestamp end = ...;
/// ///
/// end.seconds = start.seconds + duration.seconds; /// end.seconds = start.seconds + duration.seconds;
/// end.nanos = start.nanos + duration.nanos; /// end.nanos = start.nanos + duration.nanos;
/// ///
/// if (end.nanos < 0) { /// if (end.nanos < 0) {
/// end.seconds -= 1; /// end.seconds -= 1;
/// end.nanos += 1000000000; /// end.nanos += 1000000000;
/// } else if (end.nanos >= 1000000000) { /// } else if (end.nanos >= 1000000000) {
/// end.seconds += 1; /// end.seconds += 1;
/// end.nanos -= 1000000000; /// end.nanos -= 1000000000;
/// } /// }
/// ///
/// Example 3: Compute Duration from datetime.timedelta in Python. /// Example 3: Compute Duration from datetime.timedelta in Python.
/// ///
/// td = datetime.timedelta(days=3, minutes=10) /// td = datetime.timedelta(days=3, minutes=10)
/// duration = Duration() /// duration = Duration()
/// duration.FromTimedelta(td) /// duration.FromTimedelta(td)
/// ///
/// # JSON Mapping /// # JSON Mapping
/// ///
/// In JSON format, the Duration type is encoded as a string rather than an /// In JSON format, the Duration type is encoded as a string rather than an
/// object, where the string ends in the suffix "s" (indicating seconds) and /// object, where the string ends in the suffix "s" (indicating seconds) and
/// is preceded by the number of seconds, with nanoseconds expressed as /// is preceded by the number of seconds, with nanoseconds expressed as
/// fractional seconds. For example, 3 seconds with 0 nanoseconds should be /// fractional seconds. For example, 3 seconds with 0 nanoseconds should be
/// encoded in JSON format as "3s", while 3 seconds and 1 nanosecond should /// encoded in JSON format as "3s", while 3 seconds and 1 nanosecond should
/// be expressed in JSON format as "3.000000001s", and 3 seconds and 1 /// be expressed in JSON format as "3.000000001s", and 3 seconds and 1
/// microsecond should be expressed in JSON format as "3.000001s". /// microsecond should be expressed in JSON format as "3.000001s".
class Duration extends $pb.GeneratedMessage with $mixin.DurationMixin { class Duration extends $pb.GeneratedMessage with $mixin.DurationMixin {
factory Duration({ factory Duration({
$fixnum.Int64? seconds, $fixnum.Int64? seconds,
$core.int? nanos, $core.int? nanos,
}) { }) {
final $result = create(); final result = create();
if (seconds != null) { if (seconds != null) result.seconds = seconds;
$result.seconds = seconds; if (nanos != null) result.nanos = nanos;
} return result;
if (nanos != null) {
$result.nanos = nanos;
}
return $result;
} }
Duration._() : super();
factory Duration.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); Duration._();
factory Duration.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
factory Duration.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory Duration.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Duration', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create, toProto3Json: $mixin.DurationMixin.toProto3JsonHelper, fromProto3Json: $mixin.DurationMixin.fromProto3JsonHelper) static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Duration', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create, toProto3Json: $mixin.DurationMixin.toProto3JsonHelper, fromProto3Json: $mixin.DurationMixin.fromProto3JsonHelper)
..aInt64(1, _omitFieldNames ? '' : 'seconds') ..aInt64(1, _omitFieldNames ? '' : 'seconds')
@@ -99,21 +99,17 @@ class Duration extends $pb.GeneratedMessage with $mixin.DurationMixin {
..hasRequiredFields = false ..hasRequiredFields = false
; ;
@$core.Deprecated( @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
'Will be removed in next major version')
Duration clone() => Duration()..mergeFromMessage(this); Duration clone() => Duration()..mergeFromMessage(this);
@$core.Deprecated( @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
'Will be removed in next major version')
Duration copyWith(void Function(Duration) updates) => super.copyWith((message) => updates(message as Duration)) as Duration; Duration copyWith(void Function(Duration) updates) => super.copyWith((message) => updates(message as Duration)) as Duration;
@$core.override
$pb.BuilderInfo get info_ => _i; $pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline') @$core.pragma('dart2js:noInline')
static Duration create() => Duration._(); static Duration create() => Duration._();
@$core.override
Duration createEmptyInstance() => create(); Duration createEmptyInstance() => create();
static $pb.PbList<Duration> createRepeated() => $pb.PbList<Duration>(); static $pb.PbList<Duration> createRepeated() => $pb.PbList<Duration>();
@$core.pragma('dart2js:noInline') @$core.pragma('dart2js:noInline')
@@ -126,7 +122,7 @@ class Duration extends $pb.GeneratedMessage with $mixin.DurationMixin {
@$pb.TagNumber(1) @$pb.TagNumber(1)
$fixnum.Int64 get seconds => $_getI64(0); $fixnum.Int64 get seconds => $_getI64(0);
@$pb.TagNumber(1) @$pb.TagNumber(1)
set seconds($fixnum.Int64 v) { $_setInt64(0, v); } set seconds($fixnum.Int64 value) => $_setInt64(0, value);
@$pb.TagNumber(1) @$pb.TagNumber(1)
$core.bool hasSeconds() => $_has(0); $core.bool hasSeconds() => $_has(0);
@$pb.TagNumber(1) @$pb.TagNumber(1)
@@ -141,13 +137,28 @@ class Duration extends $pb.GeneratedMessage with $mixin.DurationMixin {
@$pb.TagNumber(2) @$pb.TagNumber(2)
$core.int get nanos => $_getIZ(1); $core.int get nanos => $_getIZ(1);
@$pb.TagNumber(2) @$pb.TagNumber(2)
set nanos($core.int v) { $_setSignedInt32(1, v); } set nanos($core.int value) => $_setSignedInt32(1, value);
@$pb.TagNumber(2) @$pb.TagNumber(2)
$core.bool hasNanos() => $_has(1); $core.bool hasNanos() => $_has(1);
@$pb.TagNumber(2) @$pb.TagNumber(2)
void clearNanos() => $_clearField(2); void clearNanos() => $_clearField(2);
/// Converts the [Duration] to [$core.Duration].
///
/// This is a lossy conversion, as [$core.Duration] is limited to [int]
/// microseconds and also does not support nanosecond precision.
$core.Duration toDart() =>
$core.Duration(
seconds: seconds.toInt(),
microseconds: nanos ~/ 1000,
);
/// Creates a new instance from [$core.Duration].
static Duration fromDart($core.Duration duration) => Duration()
..seconds = $fixnum.Int64(duration.inSeconds)
..nanos = (duration.inMicroseconds % $core.Duration.microsecondsPerSecond) * 1000;
} }
const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); const $core.bool _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names');
const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); const $core.bool _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names');

View File

@@ -1,11 +1,12 @@
// This is a generated file - do not edit.
// //
// Generated code. Do not modify. // Generated from google/protobuf/duration.proto.
// source: google/protobuf/duration.proto
//
// @dart = 3.3 // @dart = 3.3
// ignore_for_file: annotate_overrides, camel_case_types, comment_references // ignore_for_file: annotate_overrides, camel_case_types, comment_references
// ignore_for_file: constant_identifier_names, library_prefixes // ignore_for_file: constant_identifier_names
// ignore_for_file: non_constant_identifier_names, prefer_final_fields // ignore_for_file: curly_braces_in_flow_control_structures
// ignore_for_file: unnecessary_import, unnecessary_this, unused_import // ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
// ignore_for_file: non_constant_identifier_names

View File

@@ -1,13 +1,14 @@
// This is a generated file - do not edit.
// //
// Generated code. Do not modify. // Generated from google/protobuf/duration.proto.
// source: google/protobuf/duration.proto
//
// @dart = 3.3 // @dart = 3.3
// ignore_for_file: annotate_overrides, camel_case_types, comment_references // ignore_for_file: annotate_overrides, camel_case_types, comment_references
// ignore_for_file: constant_identifier_names, library_prefixes // ignore_for_file: constant_identifier_names
// ignore_for_file: non_constant_identifier_names, prefer_final_fields // ignore_for_file: curly_braces_in_flow_control_structures
// ignore_for_file: unnecessary_import, unnecessary_this, unused_import // ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
// ignore_for_file: non_constant_identifier_names, unused_import
import 'dart:convert' as $convert; import 'dart:convert' as $convert;
import 'dart:core' as $core; import 'dart:core' as $core;

View File

@@ -1,13 +1,14 @@
// This is a generated file - do not edit.
// //
// Generated code. Do not modify. // Generated from google/protobuf/empty.proto.
// source: google/protobuf/empty.proto
//
// @dart = 3.3 // @dart = 3.3
// ignore_for_file: annotate_overrides, camel_case_types, comment_references // ignore_for_file: annotate_overrides, camel_case_types, comment_references
// ignore_for_file: constant_identifier_names, library_prefixes // ignore_for_file: constant_identifier_names
// ignore_for_file: non_constant_identifier_names, prefer_final_fields // ignore_for_file: curly_braces_in_flow_control_structures
// ignore_for_file: unnecessary_import, unnecessary_this, unused_import // ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
// ignore_for_file: non_constant_identifier_names
import 'dart:core' as $core; import 'dart:core' as $core;
@@ -15,40 +16,36 @@ import 'package:protobuf/protobuf.dart' as $pb;
export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions; export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions;
/// A generic empty message that you can re-use to avoid defining duplicated /// A generic empty message that you can re-use to avoid defining duplicated
/// empty messages in your APIs. A typical example is to use it as the request /// empty messages in your APIs. A typical example is to use it as the request
/// or the response type of an API method. For instance: /// or the response type of an API method. For instance:
/// ///
/// service Foo { /// service Foo {
/// rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); /// rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
/// } /// }
///
/// The JSON representation for `Empty` is empty JSON object `{}`.
class Empty extends $pb.GeneratedMessage { class Empty extends $pb.GeneratedMessage {
factory Empty() => create(); factory Empty() => create();
Empty._() : super();
factory Empty.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); Empty._();
factory Empty.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
factory Empty.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory Empty.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Empty', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create) static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Empty', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create)
..hasRequiredFields = false ..hasRequiredFields = false
; ;
@$core.Deprecated( @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
'Will be removed in next major version')
Empty clone() => Empty()..mergeFromMessage(this); Empty clone() => Empty()..mergeFromMessage(this);
@$core.Deprecated( @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
'Will be removed in next major version')
Empty copyWith(void Function(Empty) updates) => super.copyWith((message) => updates(message as Empty)) as Empty; Empty copyWith(void Function(Empty) updates) => super.copyWith((message) => updates(message as Empty)) as Empty;
@$core.override
$pb.BuilderInfo get info_ => _i; $pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline') @$core.pragma('dart2js:noInline')
static Empty create() => Empty._(); static Empty create() => Empty._();
@$core.override
Empty createEmptyInstance() => create(); Empty createEmptyInstance() => create();
static $pb.PbList<Empty> createRepeated() => $pb.PbList<Empty>(); static $pb.PbList<Empty> createRepeated() => $pb.PbList<Empty>();
@$core.pragma('dart2js:noInline') @$core.pragma('dart2js:noInline')
@@ -57,4 +54,4 @@ class Empty extends $pb.GeneratedMessage {
} }
const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); const $core.bool _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names');

View File

@@ -1,11 +1,12 @@
// This is a generated file - do not edit.
// //
// Generated code. Do not modify. // Generated from google/protobuf/empty.proto.
// source: google/protobuf/empty.proto
//
// @dart = 3.3 // @dart = 3.3
// ignore_for_file: annotate_overrides, camel_case_types, comment_references // ignore_for_file: annotate_overrides, camel_case_types, comment_references
// ignore_for_file: constant_identifier_names, library_prefixes // ignore_for_file: constant_identifier_names
// ignore_for_file: non_constant_identifier_names, prefer_final_fields // ignore_for_file: curly_braces_in_flow_control_structures
// ignore_for_file: unnecessary_import, unnecessary_this, unused_import // ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
// ignore_for_file: non_constant_identifier_names

View File

@@ -1,13 +1,14 @@
// This is a generated file - do not edit.
// //
// Generated code. Do not modify. // Generated from google/protobuf/empty.proto.
// source: google/protobuf/empty.proto
//
// @dart = 3.3 // @dart = 3.3
// ignore_for_file: annotate_overrides, camel_case_types, comment_references // ignore_for_file: annotate_overrides, camel_case_types, comment_references
// ignore_for_file: constant_identifier_names, library_prefixes // ignore_for_file: constant_identifier_names
// ignore_for_file: non_constant_identifier_names, prefer_final_fields // ignore_for_file: curly_braces_in_flow_control_structures
// ignore_for_file: unnecessary_import, unnecessary_this, unused_import // ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
// ignore_for_file: non_constant_identifier_names, unused_import
import 'dart:convert' as $convert; import 'dart:convert' as $convert;
import 'dart:core' as $core; import 'dart:core' as $core;

View File

@@ -1,13 +1,15 @@
// This is a generated file - do not edit.
// //
// Generated code. Do not modify. // Generated from google/protobuf/field_mask.proto.
// source: google/protobuf/field_mask.proto
//
// @dart = 3.3 // @dart = 3.3
// ignore_for_file: annotate_overrides, camel_case_types, comment_references // ignore_for_file: annotate_overrides, camel_case_types, comment_references
// ignore_for_file: constant_identifier_names, library_prefixes // ignore_for_file: constant_identifier_names
// ignore_for_file: non_constant_identifier_names, prefer_final_fields // ignore_for_file: curly_braces_in_flow_control_structures
// ignore_for_file: unnecessary_import, unnecessary_this, unused_import // ignore_for_file: deprecated_member_use_from_same_package
// ignore_for_file: implementation_imports, library_prefixes
// ignore_for_file: non_constant_identifier_names
import 'dart:core' as $core; import 'dart:core' as $core;
@@ -16,239 +18,235 @@ import 'package:protobuf/src/protobuf/mixins/well_known.dart' as $mixin;
export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions; export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions;
/// `FieldMask` represents a set of symbolic field paths, for example: /// `FieldMask` represents a set of symbolic field paths, for example:
/// ///
/// paths: "f.a" /// paths: "f.a"
/// paths: "f.b.d" /// paths: "f.b.d"
/// ///
/// Here `f` represents a field in some root message, `a` and `b` /// Here `f` represents a field in some root message, `a` and `b`
/// fields in the message found in `f`, and `d` a field found in the /// fields in the message found in `f`, and `d` a field found in the
/// message in `f.b`. /// message in `f.b`.
/// ///
/// Field masks are used to specify a subset of fields that should be /// Field masks are used to specify a subset of fields that should be
/// returned by a get operation or modified by an update operation. /// returned by a get operation or modified by an update operation.
/// Field masks also have a custom JSON encoding (see below). /// Field masks also have a custom JSON encoding (see below).
/// ///
/// # Field Masks in Projections /// # Field Masks in Projections
/// ///
/// When used in the context of a projection, a response message or /// When used in the context of a projection, a response message or
/// sub-message is filtered by the API to only contain those fields as /// sub-message is filtered by the API to only contain those fields as
/// specified in the mask. For example, if the mask in the previous /// specified in the mask. For example, if the mask in the previous
/// example is applied to a response message as follows: /// example is applied to a response message as follows:
/// ///
/// f { /// f {
/// a : 22 /// a : 22
/// b { /// b {
/// d : 1 /// d : 1
/// x : 2 /// x : 2
/// } /// }
/// y : 13 /// y : 13
/// } /// }
/// z: 8 /// z: 8
/// ///
/// The result will not contain specific values for fields x,y and z /// The result will not contain specific values for fields x,y and z
/// (their value will be set to the default, and omitted in proto text /// (their value will be set to the default, and omitted in proto text
/// output): /// output):
/// ///
/// ///
/// f { /// f {
/// a : 22 /// a : 22
/// b { /// b {
/// d : 1 /// d : 1
/// } /// }
/// } /// }
/// ///
/// A repeated field is not allowed except at the last position of a /// A repeated field is not allowed except at the last position of a
/// paths string. /// paths string.
/// ///
/// If a FieldMask object is not present in a get operation, the /// If a FieldMask object is not present in a get operation, the
/// operation applies to all fields (as if a FieldMask of all fields /// operation applies to all fields (as if a FieldMask of all fields
/// had been specified). /// had been specified).
/// ///
/// Note that a field mask does not necessarily apply to the /// Note that a field mask does not necessarily apply to the
/// top-level response message. In case of a REST get operation, the /// top-level response message. In case of a REST get operation, the
/// field mask applies directly to the response, but in case of a REST /// field mask applies directly to the response, but in case of a REST
/// list operation, the mask instead applies to each individual message /// list operation, the mask instead applies to each individual message
/// in the returned resource list. In case of a REST custom method, /// in the returned resource list. In case of a REST custom method,
/// other definitions may be used. Where the mask applies will be /// other definitions may be used. Where the mask applies will be
/// clearly documented together with its declaration in the API. In /// clearly documented together with its declaration in the API. In
/// any case, the effect on the returned resource/resources is required /// any case, the effect on the returned resource/resources is required
/// behavior for APIs. /// behavior for APIs.
/// ///
/// # Field Masks in Update Operations /// # Field Masks in Update Operations
/// ///
/// A field mask in update operations specifies which fields of the /// A field mask in update operations specifies which fields of the
/// targeted resource are going to be updated. The API is required /// targeted resource are going to be updated. The API is required
/// to only change the values of the fields as specified in the mask /// to only change the values of the fields as specified in the mask
/// and leave the others untouched. If a resource is passed in to /// and leave the others untouched. If a resource is passed in to
/// describe the updated values, the API ignores the values of all /// describe the updated values, the API ignores the values of all
/// fields not covered by the mask. /// fields not covered by the mask.
/// ///
/// If a repeated field is specified for an update operation, new values will /// If a repeated field is specified for an update operation, new values will
/// be appended to the existing repeated field in the target resource. Note that /// be appended to the existing repeated field in the target resource. Note that
/// a repeated field is only allowed in the last position of a `paths` string. /// a repeated field is only allowed in the last position of a `paths` string.
/// ///
/// If a sub-message is specified in the last position of the field mask for an /// If a sub-message is specified in the last position of the field mask for an
/// update operation, then new value will be merged into the existing sub-message /// update operation, then new value will be merged into the existing sub-message
/// in the target resource. /// in the target resource.
/// ///
/// For example, given the target message: /// For example, given the target message:
/// ///
/// f { /// f {
/// b { /// b {
/// d: 1 /// d: 1
/// x: 2 /// x: 2
/// } /// }
/// c: [1] /// c: [1]
/// } /// }
/// ///
/// And an update message: /// And an update message:
/// ///
/// f { /// f {
/// b { /// b {
/// d: 10 /// d: 10
/// } /// }
/// c: [2] /// c: [2]
/// } /// }
/// ///
/// then if the field mask is: /// then if the field mask is:
/// ///
/// paths: ["f.b", "f.c"] /// paths: ["f.b", "f.c"]
/// ///
/// then the result will be: /// then the result will be:
/// ///
/// f { /// f {
/// b { /// b {
/// d: 10 /// d: 10
/// x: 2 /// x: 2
/// } /// }
/// c: [1, 2] /// c: [1, 2]
/// } /// }
/// ///
/// An implementation may provide options to override this default behavior for /// An implementation may provide options to override this default behavior for
/// repeated and message fields. /// repeated and message fields.
/// ///
/// In order to reset a field's value to the default, the field must /// In order to reset a field's value to the default, the field must
/// be in the mask and set to the default value in the provided resource. /// be in the mask and set to the default value in the provided resource.
/// Hence, in order to reset all fields of a resource, provide a default /// Hence, in order to reset all fields of a resource, provide a default
/// instance of the resource and set all fields in the mask, or do /// instance of the resource and set all fields in the mask, or do
/// not provide a mask as described below. /// not provide a mask as described below.
/// ///
/// If a field mask is not present on update, the operation applies to /// If a field mask is not present on update, the operation applies to
/// all fields (as if a field mask of all fields has been specified). /// all fields (as if a field mask of all fields has been specified).
/// Note that in the presence of schema evolution, this may mean that /// Note that in the presence of schema evolution, this may mean that
/// fields the client does not know and has therefore not filled into /// fields the client does not know and has therefore not filled into
/// the request will be reset to their default. If this is unwanted /// the request will be reset to their default. If this is unwanted
/// behavior, a specific service may require a client to always specify /// behavior, a specific service may require a client to always specify
/// a field mask, producing an error if not. /// a field mask, producing an error if not.
/// ///
/// As with get operations, the location of the resource which /// As with get operations, the location of the resource which
/// describes the updated values in the request message depends on the /// describes the updated values in the request message depends on the
/// operation kind. In any case, the effect of the field mask is /// operation kind. In any case, the effect of the field mask is
/// required to be honored by the API. /// required to be honored by the API.
/// ///
/// ## Considerations for HTTP REST /// ## Considerations for HTTP REST
/// ///
/// The HTTP kind of an update operation which uses a field mask must /// The HTTP kind of an update operation which uses a field mask must
/// be set to PATCH instead of PUT in order to satisfy HTTP semantics /// be set to PATCH instead of PUT in order to satisfy HTTP semantics
/// (PUT must only be used for full updates). /// (PUT must only be used for full updates).
/// ///
/// # JSON Encoding of Field Masks /// # JSON Encoding of Field Masks
/// ///
/// In JSON, a field mask is encoded as a single string where paths are /// In JSON, a field mask is encoded as a single string where paths are
/// separated by a comma. Fields name in each path are converted /// separated by a comma. Fields name in each path are converted
/// to/from lower-camel naming conventions. /// to/from lower-camel naming conventions.
/// ///
/// As an example, consider the following message declarations: /// As an example, consider the following message declarations:
/// ///
/// message Profile { /// message Profile {
/// User user = 1; /// User user = 1;
/// Photo photo = 2; /// Photo photo = 2;
/// } /// }
/// message User { /// message User {
/// string display_name = 1; /// string display_name = 1;
/// string address = 2; /// string address = 2;
/// } /// }
/// ///
/// In proto a field mask for `Profile` may look as such: /// In proto a field mask for `Profile` may look as such:
/// ///
/// mask { /// mask {
/// paths: "user.display_name" /// paths: "user.display_name"
/// paths: "photo" /// paths: "photo"
/// } /// }
/// ///
/// In JSON, the same mask is represented as below: /// In JSON, the same mask is represented as below:
/// ///
/// { /// {
/// mask: "user.displayName,photo" /// mask: "user.displayName,photo"
/// } /// }
/// ///
/// # Field Masks and Oneof Fields /// # Field Masks and Oneof Fields
/// ///
/// Field masks treat fields in oneofs just as regular fields. Consider the /// Field masks treat fields in oneofs just as regular fields. Consider the
/// following message: /// following message:
/// ///
/// message SampleMessage { /// message SampleMessage {
/// oneof test_oneof { /// oneof test_oneof {
/// string name = 4; /// string name = 4;
/// SubMessage sub_message = 9; /// SubMessage sub_message = 9;
/// } /// }
/// } /// }
/// ///
/// The field mask can be: /// The field mask can be:
/// ///
/// mask { /// mask {
/// paths: "name" /// paths: "name"
/// } /// }
/// ///
/// Or: /// Or:
/// ///
/// mask { /// mask {
/// paths: "sub_message" /// paths: "sub_message"
/// } /// }
/// ///
/// Note that oneof type names ("test_oneof" in this case) cannot be used in /// Note that oneof type names ("test_oneof" in this case) cannot be used in
/// paths. /// paths.
/// ///
/// ## Field Mask Verification /// ## Field Mask Verification
/// ///
/// The implementation of any API method which has a FieldMask type field in the /// The implementation of any API method which has a FieldMask type field in the
/// request should verify the included field paths, and return an /// request should verify the included field paths, and return an
/// `INVALID_ARGUMENT` error if any path is unmappable. /// `INVALID_ARGUMENT` error if any path is unmappable.
class FieldMask extends $pb.GeneratedMessage with $mixin.FieldMaskMixin { class FieldMask extends $pb.GeneratedMessage with $mixin.FieldMaskMixin {
factory FieldMask({ factory FieldMask({
$core.Iterable<$core.String>? paths, $core.Iterable<$core.String>? paths,
}) { }) {
final $result = create(); final result = create();
if (paths != null) { if (paths != null) result.paths.addAll(paths);
$result.paths.addAll(paths); return result;
}
return $result;
} }
FieldMask._() : super();
factory FieldMask.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); FieldMask._();
factory FieldMask.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
factory FieldMask.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory FieldMask.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'FieldMask', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create, toProto3Json: $mixin.FieldMaskMixin.toProto3JsonHelper, fromProto3Json: $mixin.FieldMaskMixin.fromProto3JsonHelper) static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'FieldMask', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create, toProto3Json: $mixin.FieldMaskMixin.toProto3JsonHelper, fromProto3Json: $mixin.FieldMaskMixin.fromProto3JsonHelper)
..pPS(1, _omitFieldNames ? '' : 'paths') ..pPS(1, _omitFieldNames ? '' : 'paths')
..hasRequiredFields = false ..hasRequiredFields = false
; ;
@$core.Deprecated( @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
'Will be removed in next major version')
FieldMask clone() => FieldMask()..mergeFromMessage(this); FieldMask clone() => FieldMask()..mergeFromMessage(this);
@$core.Deprecated( @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
'Will be removed in next major version')
FieldMask copyWith(void Function(FieldMask) updates) => super.copyWith((message) => updates(message as FieldMask)) as FieldMask; FieldMask copyWith(void Function(FieldMask) updates) => super.copyWith((message) => updates(message as FieldMask)) as FieldMask;
@$core.override
$pb.BuilderInfo get info_ => _i; $pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline') @$core.pragma('dart2js:noInline')
static FieldMask create() => FieldMask._(); static FieldMask create() => FieldMask._();
@$core.override
FieldMask createEmptyInstance() => create(); FieldMask createEmptyInstance() => create();
static $pb.PbList<FieldMask> createRepeated() => $pb.PbList<FieldMask>(); static $pb.PbList<FieldMask> createRepeated() => $pb.PbList<FieldMask>();
@$core.pragma('dart2js:noInline') @$core.pragma('dart2js:noInline')
@@ -261,5 +259,5 @@ class FieldMask extends $pb.GeneratedMessage with $mixin.FieldMaskMixin {
} }
const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); const $core.bool _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names');
const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); const $core.bool _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names');

View File

@@ -1,11 +1,12 @@
// This is a generated file - do not edit.
// //
// Generated code. Do not modify. // Generated from google/protobuf/field_mask.proto.
// source: google/protobuf/field_mask.proto
//
// @dart = 3.3 // @dart = 3.3
// ignore_for_file: annotate_overrides, camel_case_types, comment_references // ignore_for_file: annotate_overrides, camel_case_types, comment_references
// ignore_for_file: constant_identifier_names, library_prefixes // ignore_for_file: constant_identifier_names
// ignore_for_file: non_constant_identifier_names, prefer_final_fields // ignore_for_file: curly_braces_in_flow_control_structures
// ignore_for_file: unnecessary_import, unnecessary_this, unused_import // ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
// ignore_for_file: non_constant_identifier_names

View File

@@ -1,13 +1,14 @@
// This is a generated file - do not edit.
// //
// Generated code. Do not modify. // Generated from google/protobuf/field_mask.proto.
// source: google/protobuf/field_mask.proto
//
// @dart = 3.3 // @dart = 3.3
// ignore_for_file: annotate_overrides, camel_case_types, comment_references // ignore_for_file: annotate_overrides, camel_case_types, comment_references
// ignore_for_file: constant_identifier_names, library_prefixes // ignore_for_file: constant_identifier_names
// ignore_for_file: non_constant_identifier_names, prefer_final_fields // ignore_for_file: curly_braces_in_flow_control_structures
// ignore_for_file: unnecessary_import, unnecessary_this, unused_import // ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
// ignore_for_file: non_constant_identifier_names, unused_import
import 'dart:convert' as $convert; import 'dart:convert' as $convert;
import 'dart:core' as $core; import 'dart:core' as $core;

View File

@@ -1,13 +1,14 @@
// This is a generated file - do not edit.
// //
// Generated code. Do not modify. // Generated from google/protobuf/source_context.proto.
// source: google/protobuf/source_context.proto
//
// @dart = 3.3 // @dart = 3.3
// ignore_for_file: annotate_overrides, camel_case_types, comment_references // ignore_for_file: annotate_overrides, camel_case_types, comment_references
// ignore_for_file: constant_identifier_names, library_prefixes // ignore_for_file: constant_identifier_names
// ignore_for_file: non_constant_identifier_names, prefer_final_fields // ignore_for_file: curly_braces_in_flow_control_structures
// ignore_for_file: unnecessary_import, unnecessary_this, unused_import // ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
// ignore_for_file: non_constant_identifier_names
import 'dart:core' as $core; import 'dart:core' as $core;
@@ -21,36 +22,32 @@ class SourceContext extends $pb.GeneratedMessage {
factory SourceContext({ factory SourceContext({
$core.String? fileName, $core.String? fileName,
}) { }) {
final $result = create(); final result = create();
if (fileName != null) { if (fileName != null) result.fileName = fileName;
$result.fileName = fileName; return result;
}
return $result;
} }
SourceContext._() : super();
factory SourceContext.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); SourceContext._();
factory SourceContext.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
factory SourceContext.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory SourceContext.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SourceContext', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create) static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SourceContext', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create)
..aOS(1, _omitFieldNames ? '' : 'fileName') ..aOS(1, _omitFieldNames ? '' : 'fileName')
..hasRequiredFields = false ..hasRequiredFields = false
; ;
@$core.Deprecated( @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
'Will be removed in next major version')
SourceContext clone() => SourceContext()..mergeFromMessage(this); SourceContext clone() => SourceContext()..mergeFromMessage(this);
@$core.Deprecated( @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
'Will be removed in next major version')
SourceContext copyWith(void Function(SourceContext) updates) => super.copyWith((message) => updates(message as SourceContext)) as SourceContext; SourceContext copyWith(void Function(SourceContext) updates) => super.copyWith((message) => updates(message as SourceContext)) as SourceContext;
@$core.override
$pb.BuilderInfo get info_ => _i; $pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline') @$core.pragma('dart2js:noInline')
static SourceContext create() => SourceContext._(); static SourceContext create() => SourceContext._();
@$core.override
SourceContext createEmptyInstance() => create(); SourceContext createEmptyInstance() => create();
static $pb.PbList<SourceContext> createRepeated() => $pb.PbList<SourceContext>(); static $pb.PbList<SourceContext> createRepeated() => $pb.PbList<SourceContext>();
@$core.pragma('dart2js:noInline') @$core.pragma('dart2js:noInline')
@@ -62,7 +59,7 @@ class SourceContext extends $pb.GeneratedMessage {
@$pb.TagNumber(1) @$pb.TagNumber(1)
$core.String get fileName => $_getSZ(0); $core.String get fileName => $_getSZ(0);
@$pb.TagNumber(1) @$pb.TagNumber(1)
set fileName($core.String v) { $_setString(0, v); } set fileName($core.String value) => $_setString(0, value);
@$pb.TagNumber(1) @$pb.TagNumber(1)
$core.bool hasFileName() => $_has(0); $core.bool hasFileName() => $_has(0);
@$pb.TagNumber(1) @$pb.TagNumber(1)
@@ -70,5 +67,5 @@ class SourceContext extends $pb.GeneratedMessage {
} }
const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); const $core.bool _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names');
const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); const $core.bool _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names');

View File

@@ -1,11 +1,12 @@
// This is a generated file - do not edit.
// //
// Generated code. Do not modify. // Generated from google/protobuf/source_context.proto.
// source: google/protobuf/source_context.proto
//
// @dart = 3.3 // @dart = 3.3
// ignore_for_file: annotate_overrides, camel_case_types, comment_references // ignore_for_file: annotate_overrides, camel_case_types, comment_references
// ignore_for_file: constant_identifier_names, library_prefixes // ignore_for_file: constant_identifier_names
// ignore_for_file: non_constant_identifier_names, prefer_final_fields // ignore_for_file: curly_braces_in_flow_control_structures
// ignore_for_file: unnecessary_import, unnecessary_this, unused_import // ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
// ignore_for_file: non_constant_identifier_names

View File

@@ -1,13 +1,14 @@
// This is a generated file - do not edit.
// //
// Generated code. Do not modify. // Generated from google/protobuf/source_context.proto.
// source: google/protobuf/source_context.proto
//
// @dart = 3.3 // @dart = 3.3
// ignore_for_file: annotate_overrides, camel_case_types, comment_references // ignore_for_file: annotate_overrides, camel_case_types, comment_references
// ignore_for_file: constant_identifier_names, library_prefixes // ignore_for_file: constant_identifier_names
// ignore_for_file: non_constant_identifier_names, prefer_final_fields // ignore_for_file: curly_braces_in_flow_control_structures
// ignore_for_file: unnecessary_import, unnecessary_this, unused_import // ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
// ignore_for_file: non_constant_identifier_names, unused_import
import 'dart:convert' as $convert; import 'dart:convert' as $convert;
import 'dart:core' as $core; import 'dart:core' as $core;

View File

@@ -1,13 +1,15 @@
// This is a generated file - do not edit.
// //
// Generated code. Do not modify. // Generated from google/protobuf/struct.proto.
// source: google/protobuf/struct.proto
//
// @dart = 3.3 // @dart = 3.3
// ignore_for_file: annotate_overrides, camel_case_types, comment_references // ignore_for_file: annotate_overrides, camel_case_types, comment_references
// ignore_for_file: constant_identifier_names, library_prefixes // ignore_for_file: constant_identifier_names
// ignore_for_file: non_constant_identifier_names, prefer_final_fields // ignore_for_file: curly_braces_in_flow_control_structures
// ignore_for_file: unnecessary_import, unnecessary_this, unused_import // ignore_for_file: deprecated_member_use_from_same_package
// ignore_for_file: implementation_imports, library_prefixes
// ignore_for_file: non_constant_identifier_names
import 'dart:core' as $core; import 'dart:core' as $core;
@@ -20,48 +22,44 @@ export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions;
export 'struct.pbenum.dart'; export 'struct.pbenum.dart';
/// `Struct` represents a structured data value, consisting of fields /// `Struct` represents a structured data value, consisting of fields
/// which map to dynamically typed values. In some languages, `Struct` /// which map to dynamically typed values. In some languages, `Struct`
/// might be supported by a native representation. For example, in /// might be supported by a native representation. For example, in
/// scripting languages like JS a struct is represented as an /// scripting languages like JS a struct is represented as an
/// object. The details of that representation are described together /// object. The details of that representation are described together
/// with the proto support for the language. /// with the proto support for the language.
/// ///
/// The JSON representation for `Struct` is JSON object. /// The JSON representation for `Struct` is JSON object.
class Struct extends $pb.GeneratedMessage with $mixin.StructMixin { class Struct extends $pb.GeneratedMessage with $mixin.StructMixin {
factory Struct({ factory Struct({
$pb.PbMap<$core.String, Value>? fields, $core.Iterable<$core.MapEntry<$core.String, Value>>? fields,
}) { }) {
final $result = create(); final result = create();
if (fields != null) { if (fields != null) result.fields.addEntries(fields);
$result.fields.addAll(fields); return result;
}
return $result;
} }
Struct._() : super();
factory Struct.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); Struct._();
factory Struct.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
factory Struct.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory Struct.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Struct', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create, toProto3Json: $mixin.StructMixin.toProto3JsonHelper, fromProto3Json: $mixin.StructMixin.fromProto3JsonHelper) static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Struct', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create, toProto3Json: $mixin.StructMixin.toProto3JsonHelper, fromProto3Json: $mixin.StructMixin.fromProto3JsonHelper)
..m<$core.String, Value>(1, _omitFieldNames ? '' : 'fields', entryClassName: 'Struct.FieldsEntry', keyFieldType: $pb.PbFieldType.OS, valueFieldType: $pb.PbFieldType.OM, valueCreator: Value.create, valueDefaultOrMaker: Value.getDefault, packageName: const $pb.PackageName('google.protobuf')) ..m<$core.String, Value>(1, _omitFieldNames ? '' : 'fields', entryClassName: 'Struct.FieldsEntry', keyFieldType: $pb.PbFieldType.OS, valueFieldType: $pb.PbFieldType.OM, valueCreator: Value.create, valueDefaultOrMaker: Value.getDefault, packageName: const $pb.PackageName('google.protobuf'))
..hasRequiredFields = false ..hasRequiredFields = false
; ;
@$core.Deprecated( @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
'Will be removed in next major version')
Struct clone() => Struct()..mergeFromMessage(this); Struct clone() => Struct()..mergeFromMessage(this);
@$core.Deprecated( @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
'Will be removed in next major version')
Struct copyWith(void Function(Struct) updates) => super.copyWith((message) => updates(message as Struct)) as Struct; Struct copyWith(void Function(Struct) updates) => super.copyWith((message) => updates(message as Struct)) as Struct;
@$core.override
$pb.BuilderInfo get info_ => _i; $pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline') @$core.pragma('dart2js:noInline')
static Struct create() => Struct._(); static Struct create() => Struct._();
@$core.override
Struct createEmptyInstance() => create(); Struct createEmptyInstance() => create();
static $pb.PbList<Struct> createRepeated() => $pb.PbList<Struct>(); static $pb.PbList<Struct> createRepeated() => $pb.PbList<Struct>();
@$core.pragma('dart2js:noInline') @$core.pragma('dart2js:noInline')
@@ -83,12 +81,12 @@ enum Value_Kind {
notSet notSet
} }
/// `Value` represents a dynamically typed value which can be either /// `Value` represents a dynamically typed value which can be either
/// null, a number, a string, a boolean, a recursive struct value, or a /// null, a number, a string, a boolean, a recursive struct value, or a
/// list of values. A producer of value is expected to set one of that /// list of values. A producer of value is expected to set one of these
/// variants, absence of any variant indicates an error. /// variants. Absence of any variant indicates an error.
/// ///
/// The JSON representation for `Value` is JSON value. /// The JSON representation for `Value` is JSON value.
class Value extends $pb.GeneratedMessage with $mixin.ValueMixin { class Value extends $pb.GeneratedMessage with $mixin.ValueMixin {
factory Value({ factory Value({
NullValue? nullValue, NullValue? nullValue,
@@ -98,30 +96,20 @@ class Value extends $pb.GeneratedMessage with $mixin.ValueMixin {
Struct? structValue, Struct? structValue,
ListValue? listValue, ListValue? listValue,
}) { }) {
final $result = create(); final result = create();
if (nullValue != null) { if (nullValue != null) result.nullValue = nullValue;
$result.nullValue = nullValue; if (numberValue != null) result.numberValue = numberValue;
} if (stringValue != null) result.stringValue = stringValue;
if (numberValue != null) { if (boolValue != null) result.boolValue = boolValue;
$result.numberValue = numberValue; if (structValue != null) result.structValue = structValue;
} if (listValue != null) result.listValue = listValue;
if (stringValue != null) { return result;
$result.stringValue = stringValue;
}
if (boolValue != null) {
$result.boolValue = boolValue;
}
if (structValue != null) {
$result.structValue = structValue;
}
if (listValue != null) {
$result.listValue = listValue;
}
return $result;
} }
Value._() : super();
factory Value.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); Value._();
factory Value.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
factory Value.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory Value.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static const $core.Map<$core.int, Value_Kind> _Value_KindByTag = { static const $core.Map<$core.int, Value_Kind> _Value_KindByTag = {
1 : Value_Kind.nullValue, 1 : Value_Kind.nullValue,
@@ -143,21 +131,17 @@ class Value extends $pb.GeneratedMessage with $mixin.ValueMixin {
..hasRequiredFields = false ..hasRequiredFields = false
; ;
@$core.Deprecated( @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
'Will be removed in next major version')
Value clone() => Value()..mergeFromMessage(this); Value clone() => Value()..mergeFromMessage(this);
@$core.Deprecated( @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
'Will be removed in next major version')
Value copyWith(void Function(Value) updates) => super.copyWith((message) => updates(message as Value)) as Value; Value copyWith(void Function(Value) updates) => super.copyWith((message) => updates(message as Value)) as Value;
@$core.override
$pb.BuilderInfo get info_ => _i; $pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline') @$core.pragma('dart2js:noInline')
static Value create() => Value._(); static Value create() => Value._();
@$core.override
Value createEmptyInstance() => create(); Value createEmptyInstance() => create();
static $pb.PbList<Value> createRepeated() => $pb.PbList<Value>(); static $pb.PbList<Value> createRepeated() => $pb.PbList<Value>();
@$core.pragma('dart2js:noInline') @$core.pragma('dart2js:noInline')
@@ -171,7 +155,7 @@ class Value extends $pb.GeneratedMessage with $mixin.ValueMixin {
@$pb.TagNumber(1) @$pb.TagNumber(1)
NullValue get nullValue => $_getN(0); NullValue get nullValue => $_getN(0);
@$pb.TagNumber(1) @$pb.TagNumber(1)
set nullValue(NullValue v) { $_setField(1, v); } set nullValue(NullValue value) => $_setField(1, value);
@$pb.TagNumber(1) @$pb.TagNumber(1)
$core.bool hasNullValue() => $_has(0); $core.bool hasNullValue() => $_has(0);
@$pb.TagNumber(1) @$pb.TagNumber(1)
@@ -181,7 +165,7 @@ class Value extends $pb.GeneratedMessage with $mixin.ValueMixin {
@$pb.TagNumber(2) @$pb.TagNumber(2)
$core.double get numberValue => $_getN(1); $core.double get numberValue => $_getN(1);
@$pb.TagNumber(2) @$pb.TagNumber(2)
set numberValue($core.double v) { $_setDouble(1, v); } set numberValue($core.double value) => $_setDouble(1, value);
@$pb.TagNumber(2) @$pb.TagNumber(2)
$core.bool hasNumberValue() => $_has(1); $core.bool hasNumberValue() => $_has(1);
@$pb.TagNumber(2) @$pb.TagNumber(2)
@@ -191,7 +175,7 @@ class Value extends $pb.GeneratedMessage with $mixin.ValueMixin {
@$pb.TagNumber(3) @$pb.TagNumber(3)
$core.String get stringValue => $_getSZ(2); $core.String get stringValue => $_getSZ(2);
@$pb.TagNumber(3) @$pb.TagNumber(3)
set stringValue($core.String v) { $_setString(2, v); } set stringValue($core.String value) => $_setString(2, value);
@$pb.TagNumber(3) @$pb.TagNumber(3)
$core.bool hasStringValue() => $_has(2); $core.bool hasStringValue() => $_has(2);
@$pb.TagNumber(3) @$pb.TagNumber(3)
@@ -201,7 +185,7 @@ class Value extends $pb.GeneratedMessage with $mixin.ValueMixin {
@$pb.TagNumber(4) @$pb.TagNumber(4)
$core.bool get boolValue => $_getBF(3); $core.bool get boolValue => $_getBF(3);
@$pb.TagNumber(4) @$pb.TagNumber(4)
set boolValue($core.bool v) { $_setBool(3, v); } set boolValue($core.bool value) => $_setBool(3, value);
@$pb.TagNumber(4) @$pb.TagNumber(4)
$core.bool hasBoolValue() => $_has(3); $core.bool hasBoolValue() => $_has(3);
@$pb.TagNumber(4) @$pb.TagNumber(4)
@@ -211,7 +195,7 @@ class Value extends $pb.GeneratedMessage with $mixin.ValueMixin {
@$pb.TagNumber(5) @$pb.TagNumber(5)
Struct get structValue => $_getN(4); Struct get structValue => $_getN(4);
@$pb.TagNumber(5) @$pb.TagNumber(5)
set structValue(Struct v) { $_setField(5, v); } set structValue(Struct value) => $_setField(5, value);
@$pb.TagNumber(5) @$pb.TagNumber(5)
$core.bool hasStructValue() => $_has(4); $core.bool hasStructValue() => $_has(4);
@$pb.TagNumber(5) @$pb.TagNumber(5)
@@ -223,7 +207,7 @@ class Value extends $pb.GeneratedMessage with $mixin.ValueMixin {
@$pb.TagNumber(6) @$pb.TagNumber(6)
ListValue get listValue => $_getN(5); ListValue get listValue => $_getN(5);
@$pb.TagNumber(6) @$pb.TagNumber(6)
set listValue(ListValue v) { $_setField(6, v); } set listValue(ListValue value) => $_setField(6, value);
@$pb.TagNumber(6) @$pb.TagNumber(6)
$core.bool hasListValue() => $_has(5); $core.bool hasListValue() => $_has(5);
@$pb.TagNumber(6) @$pb.TagNumber(6)
@@ -232,43 +216,39 @@ class Value extends $pb.GeneratedMessage with $mixin.ValueMixin {
ListValue ensureListValue() => $_ensure(5); ListValue ensureListValue() => $_ensure(5);
} }
/// `ListValue` is a wrapper around a repeated field of values. /// `ListValue` is a wrapper around a repeated field of values.
/// ///
/// The JSON representation for `ListValue` is JSON array. /// The JSON representation for `ListValue` is JSON array.
class ListValue extends $pb.GeneratedMessage with $mixin.ListValueMixin { class ListValue extends $pb.GeneratedMessage with $mixin.ListValueMixin {
factory ListValue({ factory ListValue({
$core.Iterable<Value>? values, $core.Iterable<Value>? values,
}) { }) {
final $result = create(); final result = create();
if (values != null) { if (values != null) result.values.addAll(values);
$result.values.addAll(values); return result;
}
return $result;
} }
ListValue._() : super();
factory ListValue.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); ListValue._();
factory ListValue.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
factory ListValue.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory ListValue.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ListValue', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create, toProto3Json: $mixin.ListValueMixin.toProto3JsonHelper, fromProto3Json: $mixin.ListValueMixin.fromProto3JsonHelper) static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ListValue', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create, toProto3Json: $mixin.ListValueMixin.toProto3JsonHelper, fromProto3Json: $mixin.ListValueMixin.fromProto3JsonHelper)
..pc<Value>(1, _omitFieldNames ? '' : 'values', $pb.PbFieldType.PM, subBuilder: Value.create) ..pc<Value>(1, _omitFieldNames ? '' : 'values', $pb.PbFieldType.PM, subBuilder: Value.create)
..hasRequiredFields = false ..hasRequiredFields = false
; ;
@$core.Deprecated( @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
'Will be removed in next major version')
ListValue clone() => ListValue()..mergeFromMessage(this); ListValue clone() => ListValue()..mergeFromMessage(this);
@$core.Deprecated( @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
'Will be removed in next major version')
ListValue copyWith(void Function(ListValue) updates) => super.copyWith((message) => updates(message as ListValue)) as ListValue; ListValue copyWith(void Function(ListValue) updates) => super.copyWith((message) => updates(message as ListValue)) as ListValue;
@$core.override
$pb.BuilderInfo get info_ => _i; $pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline') @$core.pragma('dart2js:noInline')
static ListValue create() => ListValue._(); static ListValue create() => ListValue._();
@$core.override
ListValue createEmptyInstance() => create(); ListValue createEmptyInstance() => create();
static $pb.PbList<ListValue> createRepeated() => $pb.PbList<ListValue>(); static $pb.PbList<ListValue> createRepeated() => $pb.PbList<ListValue>();
@$core.pragma('dart2js:noInline') @$core.pragma('dart2js:noInline')
@@ -281,5 +261,5 @@ class ListValue extends $pb.GeneratedMessage with $mixin.ListValueMixin {
} }
const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); const $core.bool _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names');
const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); const $core.bool _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names');

View File

@@ -1,22 +1,23 @@
// This is a generated file - do not edit.
// //
// Generated code. Do not modify. // Generated from google/protobuf/struct.proto.
// source: google/protobuf/struct.proto
//
// @dart = 3.3 // @dart = 3.3
// ignore_for_file: annotate_overrides, camel_case_types, comment_references // ignore_for_file: annotate_overrides, camel_case_types, comment_references
// ignore_for_file: constant_identifier_names, library_prefixes // ignore_for_file: constant_identifier_names
// ignore_for_file: non_constant_identifier_names, prefer_final_fields // ignore_for_file: curly_braces_in_flow_control_structures
// ignore_for_file: unnecessary_import, unnecessary_this, unused_import // ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
// ignore_for_file: non_constant_identifier_names
import 'dart:core' as $core; import 'dart:core' as $core;
import 'package:protobuf/protobuf.dart' as $pb; import 'package:protobuf/protobuf.dart' as $pb;
/// `NullValue` is a singleton enumeration to represent the null value for the /// `NullValue` is a singleton enumeration to represent the null value for the
/// `Value` type union. /// `Value` type union.
/// ///
/// The JSON representation for `NullValue` is JSON `null`. /// The JSON representation for `NullValue` is JSON `null`.
class NullValue extends $pb.ProtobufEnum { class NullValue extends $pb.ProtobufEnum {
/// Null value. /// Null value.
static const NullValue NULL_VALUE = NullValue._(0, _omitEnumNames ? '' : 'NULL_VALUE'); static const NullValue NULL_VALUE = NullValue._(0, _omitEnumNames ? '' : 'NULL_VALUE');
@@ -25,11 +26,11 @@ class NullValue extends $pb.ProtobufEnum {
NULL_VALUE, NULL_VALUE,
]; ];
static final $core.Map<$core.int, NullValue> _byValue = $pb.ProtobufEnum.initByValue(values); static final $core.List<NullValue?> _byValue = $pb.ProtobufEnum.$_initByValueList(values, 0);
static NullValue? valueOf($core.int value) => _byValue[value]; static NullValue? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value];
const NullValue._(super.v, super.n); const NullValue._(super.value, super.name);
} }
const _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names'); const $core.bool _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names');

View File

@@ -1,13 +1,14 @@
// This is a generated file - do not edit.
// //
// Generated code. Do not modify. // Generated from google/protobuf/struct.proto.
// source: google/protobuf/struct.proto
//
// @dart = 3.3 // @dart = 3.3
// ignore_for_file: annotate_overrides, camel_case_types, comment_references // ignore_for_file: annotate_overrides, camel_case_types, comment_references
// ignore_for_file: constant_identifier_names, library_prefixes // ignore_for_file: constant_identifier_names
// ignore_for_file: non_constant_identifier_names, prefer_final_fields // ignore_for_file: curly_braces_in_flow_control_structures
// ignore_for_file: unnecessary_import, unnecessary_this, unused_import // ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
// ignore_for_file: non_constant_identifier_names, unused_import
import 'dart:convert' as $convert; import 'dart:convert' as $convert;
import 'dart:core' as $core; import 'dart:core' as $core;

View File

@@ -1,13 +1,15 @@
// This is a generated file - do not edit.
// //
// Generated code. Do not modify. // Generated from google/protobuf/timestamp.proto.
// source: google/protobuf/timestamp.proto
//
// @dart = 3.3 // @dart = 3.3
// ignore_for_file: annotate_overrides, camel_case_types, comment_references // ignore_for_file: annotate_overrides, camel_case_types, comment_references
// ignore_for_file: constant_identifier_names, library_prefixes // ignore_for_file: constant_identifier_names
// ignore_for_file: non_constant_identifier_names, prefer_final_fields // ignore_for_file: curly_braces_in_flow_control_structures
// ignore_for_file: unnecessary_import, unnecessary_this, unused_import // ignore_for_file: deprecated_member_use_from_same_package
// ignore_for_file: implementation_imports, library_prefixes
// ignore_for_file: non_constant_identifier_names
import 'dart:core' as $core; import 'dart:core' as $core;
@@ -17,105 +19,110 @@ import 'package:protobuf/src/protobuf/mixins/well_known.dart' as $mixin;
export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions; export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions;
/// A Timestamp represents a point in time independent of any time zone or local /// A Timestamp represents a point in time independent of any time zone or local
/// calendar, encoded as a count of seconds and fractions of seconds at /// calendar, encoded as a count of seconds and fractions of seconds at
/// nanosecond resolution. The count is relative to an epoch at UTC midnight on /// nanosecond resolution. The count is relative to an epoch at UTC midnight on
/// January 1, 1970, in the proleptic Gregorian calendar which extends the /// January 1, 1970, in the proleptic Gregorian calendar which extends the
/// Gregorian calendar backwards to year one. /// Gregorian calendar backwards to year one.
/// ///
/// All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap /// All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap
/// second table is needed for interpretation, using a [24-hour linear /// second table is needed for interpretation, using a [24-hour linear
/// smear](https://developers.google.com/time/smear). /// smear](https://developers.google.com/time/smear).
/// ///
/// The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By /// The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By
/// restricting to that range, we ensure that we can convert to and from [RFC /// restricting to that range, we ensure that we can convert to and from [RFC
/// 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings. /// 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings.
/// ///
/// # Examples /// # Examples
/// ///
/// Example 1: Compute Timestamp from POSIX `time()`. /// Example 1: Compute Timestamp from POSIX `time()`.
/// ///
/// Timestamp timestamp; /// Timestamp timestamp;
/// timestamp.set_seconds(time(NULL)); /// timestamp.set_seconds(time(NULL));
/// timestamp.set_nanos(0); /// timestamp.set_nanos(0);
/// ///
/// Example 2: Compute Timestamp from POSIX `gettimeofday()`. /// Example 2: Compute Timestamp from POSIX `gettimeofday()`.
/// ///
/// struct timeval tv; /// struct timeval tv;
/// gettimeofday(&tv, NULL); /// gettimeofday(&tv, NULL);
/// ///
/// Timestamp timestamp; /// Timestamp timestamp;
/// timestamp.set_seconds(tv.tv_sec); /// timestamp.set_seconds(tv.tv_sec);
/// timestamp.set_nanos(tv.tv_usec * 1000); /// timestamp.set_nanos(tv.tv_usec * 1000);
/// ///
/// Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`. /// Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`.
/// ///
/// FILETIME ft; /// FILETIME ft;
/// GetSystemTimeAsFileTime(&ft); /// GetSystemTimeAsFileTime(&ft);
/// UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime; /// UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime;
/// ///
/// // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z /// // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z
/// // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z. /// // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z.
/// Timestamp timestamp; /// Timestamp timestamp;
/// timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL)); /// timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL));
/// timestamp.set_nanos((INT32) ((ticks % 10000000) * 100)); /// timestamp.set_nanos((INT32) ((ticks % 10000000) * 100));
/// ///
/// Example 4: Compute Timestamp from Java `System.currentTimeMillis()`. /// Example 4: Compute Timestamp from Java `System.currentTimeMillis()`.
/// ///
/// long millis = System.currentTimeMillis(); /// long millis = System.currentTimeMillis();
/// ///
/// Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000) /// Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
/// .setNanos((int) ((millis % 1000) * 1000000)).build(); /// .setNanos((int) ((millis % 1000) * 1000000)).build();
/// ///
/// Example 5: Compute Timestamp from Java `Instant.now()`.
/// ///
/// Example 5: Compute Timestamp from current time in Python. /// Instant now = Instant.now();
/// ///
/// timestamp = Timestamp() /// Timestamp timestamp =
/// timestamp.GetCurrentTime() /// Timestamp.newBuilder().setSeconds(now.getEpochSecond())
/// .setNanos(now.getNano()).build();
/// ///
/// # JSON Mapping /// Example 6: Compute Timestamp from current time in Python.
/// ///
/// In JSON format, the Timestamp type is encoded as a string in the /// timestamp = Timestamp()
/// [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the /// timestamp.GetCurrentTime()
/// format is "{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z"
/// where {year} is always expressed using four digits while {month}, {day},
/// {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional
/// seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution),
/// are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone
/// is required. A proto3 JSON serializer should always use UTC (as indicated by
/// "Z") when printing the Timestamp type and a proto3 JSON parser should be
/// able to accept both UTC and other timezones (as indicated by an offset).
/// ///
/// For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past /// # JSON Mapping
/// 01:30 UTC on January 15, 2017.
/// ///
/// In JavaScript, one can convert a Date object to this format using the /// In JSON format, the Timestamp type is encoded as a string in the
/// standard /// [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the
/// [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString) /// format is "{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z"
/// method. In Python, a standard `datetime.datetime` object can be converted /// where {year} is always expressed using four digits while {month}, {day},
/// to this format using /// {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional
/// [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with /// seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution),
/// the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use /// are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone
/// the Joda Time's [`ISODateTimeFormat.dateTime()`]( /// is required. A ProtoJSON serializer should always use UTC (as indicated by
/// http://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime%2D%2D /// "Z") when printing the Timestamp type and a ProtoJSON parser should be
/// ) to obtain a formatter capable of generating timestamps in this format. /// able to accept both UTC and other timezones (as indicated by an offset).
///
/// For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past
/// 01:30 UTC on January 15, 2017.
///
/// In JavaScript, one can convert a Date object to this format using the
/// standard
/// [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString)
/// method. In Python, a standard `datetime.datetime` object can be converted
/// to this format using
/// [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
/// the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
/// the Joda Time's [`ISODateTimeFormat.dateTime()`](
/// http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()
/// ) to obtain a formatter capable of generating timestamps in this format.
class Timestamp extends $pb.GeneratedMessage with $mixin.TimestampMixin { class Timestamp extends $pb.GeneratedMessage with $mixin.TimestampMixin {
factory Timestamp({ factory Timestamp({
$fixnum.Int64? seconds, $fixnum.Int64? seconds,
$core.int? nanos, $core.int? nanos,
}) { }) {
final $result = create(); final result = create();
if (seconds != null) { if (seconds != null) result.seconds = seconds;
$result.seconds = seconds; if (nanos != null) result.nanos = nanos;
} return result;
if (nanos != null) {
$result.nanos = nanos;
}
return $result;
} }
Timestamp._() : super();
factory Timestamp.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); Timestamp._();
factory Timestamp.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
factory Timestamp.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory Timestamp.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Timestamp', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create, toProto3Json: $mixin.TimestampMixin.toProto3JsonHelper, fromProto3Json: $mixin.TimestampMixin.fromProto3JsonHelper) static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Timestamp', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create, toProto3Json: $mixin.TimestampMixin.toProto3JsonHelper, fromProto3Json: $mixin.TimestampMixin.fromProto3JsonHelper)
..aInt64(1, _omitFieldNames ? '' : 'seconds') ..aInt64(1, _omitFieldNames ? '' : 'seconds')
@@ -123,47 +130,44 @@ class Timestamp extends $pb.GeneratedMessage with $mixin.TimestampMixin {
..hasRequiredFields = false ..hasRequiredFields = false
; ;
@$core.Deprecated( @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
'Will be removed in next major version')
Timestamp clone() => Timestamp()..mergeFromMessage(this); Timestamp clone() => Timestamp()..mergeFromMessage(this);
@$core.Deprecated( @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
'Will be removed in next major version')
Timestamp copyWith(void Function(Timestamp) updates) => super.copyWith((message) => updates(message as Timestamp)) as Timestamp; Timestamp copyWith(void Function(Timestamp) updates) => super.copyWith((message) => updates(message as Timestamp)) as Timestamp;
@$core.override
$pb.BuilderInfo get info_ => _i; $pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline') @$core.pragma('dart2js:noInline')
static Timestamp create() => Timestamp._(); static Timestamp create() => Timestamp._();
@$core.override
Timestamp createEmptyInstance() => create(); Timestamp createEmptyInstance() => create();
static $pb.PbList<Timestamp> createRepeated() => $pb.PbList<Timestamp>(); static $pb.PbList<Timestamp> createRepeated() => $pb.PbList<Timestamp>();
@$core.pragma('dart2js:noInline') @$core.pragma('dart2js:noInline')
static Timestamp getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<Timestamp>(create); static Timestamp getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<Timestamp>(create);
static Timestamp? _defaultInstance; static Timestamp? _defaultInstance;
/// Represents seconds of UTC time since Unix epoch /// Represents seconds of UTC time since Unix epoch 1970-01-01T00:00:00Z. Must
/// 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to /// be between -62135596800 and 253402300799 inclusive (which corresponds to
/// 9999-12-31T23:59:59Z inclusive. /// 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z).
@$pb.TagNumber(1) @$pb.TagNumber(1)
$fixnum.Int64 get seconds => $_getI64(0); $fixnum.Int64 get seconds => $_getI64(0);
@$pb.TagNumber(1) @$pb.TagNumber(1)
set seconds($fixnum.Int64 v) { $_setInt64(0, v); } set seconds($fixnum.Int64 value) => $_setInt64(0, value);
@$pb.TagNumber(1) @$pb.TagNumber(1)
$core.bool hasSeconds() => $_has(0); $core.bool hasSeconds() => $_has(0);
@$pb.TagNumber(1) @$pb.TagNumber(1)
void clearSeconds() => $_clearField(1); void clearSeconds() => $_clearField(1);
/// Non-negative fractions of a second at nanosecond resolution. Negative /// Non-negative fractions of a second at nanosecond resolution. This field is
/// second values with fractions must still have non-negative nanos values /// the nanosecond portion of the duration, not an alternative to seconds.
/// that count forward in time. Must be from 0 to 999,999,999 /// Negative second values with fractions must still have non-negative nanos
/// values that count forward in time. Must be between 0 and 999,999,999
/// inclusive. /// inclusive.
@$pb.TagNumber(2) @$pb.TagNumber(2)
$core.int get nanos => $_getIZ(1); $core.int get nanos => $_getIZ(1);
@$pb.TagNumber(2) @$pb.TagNumber(2)
set nanos($core.int v) { $_setSignedInt32(1, v); } set nanos($core.int value) => $_setSignedInt32(1, value);
@$pb.TagNumber(2) @$pb.TagNumber(2)
$core.bool hasNanos() => $_has(1); $core.bool hasNanos() => $_has(1);
@$pb.TagNumber(2) @$pb.TagNumber(2)
@@ -179,5 +183,5 @@ class Timestamp extends $pb.GeneratedMessage with $mixin.TimestampMixin {
} }
const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); const $core.bool _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names');
const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); const $core.bool _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names');

View File

@@ -1,11 +1,12 @@
// This is a generated file - do not edit.
// //
// Generated code. Do not modify. // Generated from google/protobuf/timestamp.proto.
// source: google/protobuf/timestamp.proto
//
// @dart = 3.3 // @dart = 3.3
// ignore_for_file: annotate_overrides, camel_case_types, comment_references // ignore_for_file: annotate_overrides, camel_case_types, comment_references
// ignore_for_file: constant_identifier_names, library_prefixes // ignore_for_file: constant_identifier_names
// ignore_for_file: non_constant_identifier_names, prefer_final_fields // ignore_for_file: curly_braces_in_flow_control_structures
// ignore_for_file: unnecessary_import, unnecessary_this, unused_import // ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
// ignore_for_file: non_constant_identifier_names

View File

@@ -1,13 +1,14 @@
// This is a generated file - do not edit.
// //
// Generated code. Do not modify. // Generated from google/protobuf/timestamp.proto.
// source: google/protobuf/timestamp.proto
//
// @dart = 3.3 // @dart = 3.3
// ignore_for_file: annotate_overrides, camel_case_types, comment_references // ignore_for_file: annotate_overrides, camel_case_types, comment_references
// ignore_for_file: constant_identifier_names, library_prefixes // ignore_for_file: constant_identifier_names
// ignore_for_file: non_constant_identifier_names, prefer_final_fields // ignore_for_file: curly_braces_in_flow_control_structures
// ignore_for_file: unnecessary_import, unnecessary_this, unused_import // ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
// ignore_for_file: non_constant_identifier_names, unused_import
import 'dart:convert' as $convert; import 'dart:convert' as $convert;
import 'dart:core' as $core; import 'dart:core' as $core;

View File

@@ -1,20 +1,21 @@
// This is a generated file - do not edit.
// //
// Generated code. Do not modify. // Generated from google/protobuf/type.proto.
// source: google/protobuf/type.proto
//
// @dart = 3.3 // @dart = 3.3
// ignore_for_file: annotate_overrides, camel_case_types, comment_references // ignore_for_file: annotate_overrides, camel_case_types, comment_references
// ignore_for_file: constant_identifier_names, library_prefixes // ignore_for_file: constant_identifier_names
// ignore_for_file: non_constant_identifier_names, prefer_final_fields // ignore_for_file: curly_braces_in_flow_control_structures
// ignore_for_file: unnecessary_import, unnecessary_this, unused_import // ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
// ignore_for_file: non_constant_identifier_names
import 'dart:core' as $core; import 'dart:core' as $core;
import 'package:protobuf/protobuf.dart' as $pb; import 'package:protobuf/protobuf.dart' as $pb;
import 'any.pb.dart' as $17; import 'any.pb.dart' as $1;
import 'source_context.pb.dart' as $18; import 'source_context.pb.dart' as $0;
import 'type.pbenum.dart'; import 'type.pbenum.dart';
export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions; export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions;
@@ -22,65 +23,59 @@ export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions;
export 'type.pbenum.dart'; export 'type.pbenum.dart';
/// A protocol buffer message type. /// A protocol buffer message type.
///
/// New usages of this message as an alternative to DescriptorProto are strongly
/// discouraged. This message does not reliability preserve all information
/// necessary to model the schema and preserve semantics. Instead make use of
/// FileDescriptorSet which preserves the necessary information.
class Type extends $pb.GeneratedMessage { class Type extends $pb.GeneratedMessage {
factory Type({ factory Type({
$core.String? name, $core.String? name,
$core.Iterable<Field>? fields, $core.Iterable<Field>? fields,
$core.Iterable<$core.String>? oneofs, $core.Iterable<$core.String>? oneofs,
$core.Iterable<Option>? options, $core.Iterable<Option>? options,
$18.SourceContext? sourceContext, $0.SourceContext? sourceContext,
Syntax? syntax, Syntax? syntax,
$core.String? edition,
}) { }) {
final $result = create(); final result = create();
if (name != null) { if (name != null) result.name = name;
$result.name = name; if (fields != null) result.fields.addAll(fields);
} if (oneofs != null) result.oneofs.addAll(oneofs);
if (fields != null) { if (options != null) result.options.addAll(options);
$result.fields.addAll(fields); if (sourceContext != null) result.sourceContext = sourceContext;
} if (syntax != null) result.syntax = syntax;
if (oneofs != null) { if (edition != null) result.edition = edition;
$result.oneofs.addAll(oneofs); return result;
}
if (options != null) {
$result.options.addAll(options);
}
if (sourceContext != null) {
$result.sourceContext = sourceContext;
}
if (syntax != null) {
$result.syntax = syntax;
}
return $result;
} }
Type._() : super();
factory Type.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); Type._();
factory Type.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
factory Type.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory Type.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Type', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create) static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Type', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create)
..aOS(1, _omitFieldNames ? '' : 'name') ..aOS(1, _omitFieldNames ? '' : 'name')
..pc<Field>(2, _omitFieldNames ? '' : 'fields', $pb.PbFieldType.PM, subBuilder: Field.create) ..pc<Field>(2, _omitFieldNames ? '' : 'fields', $pb.PbFieldType.PM, subBuilder: Field.create)
..pPS(3, _omitFieldNames ? '' : 'oneofs') ..pPS(3, _omitFieldNames ? '' : 'oneofs')
..pc<Option>(4, _omitFieldNames ? '' : 'options', $pb.PbFieldType.PM, subBuilder: Option.create) ..pc<Option>(4, _omitFieldNames ? '' : 'options', $pb.PbFieldType.PM, subBuilder: Option.create)
..aOM<$18.SourceContext>(5, _omitFieldNames ? '' : 'sourceContext', subBuilder: $18.SourceContext.create) ..aOM<$0.SourceContext>(5, _omitFieldNames ? '' : 'sourceContext', subBuilder: $0.SourceContext.create)
..e<Syntax>(6, _omitFieldNames ? '' : 'syntax', $pb.PbFieldType.OE, defaultOrMaker: Syntax.SYNTAX_PROTO2, valueOf: Syntax.valueOf, enumValues: Syntax.values) ..e<Syntax>(6, _omitFieldNames ? '' : 'syntax', $pb.PbFieldType.OE, defaultOrMaker: Syntax.SYNTAX_PROTO2, valueOf: Syntax.valueOf, enumValues: Syntax.values)
..aOS(7, _omitFieldNames ? '' : 'edition')
..hasRequiredFields = false ..hasRequiredFields = false
; ;
@$core.Deprecated( @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
'Will be removed in next major version')
Type clone() => Type()..mergeFromMessage(this); Type clone() => Type()..mergeFromMessage(this);
@$core.Deprecated( @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
'Will be removed in next major version')
Type copyWith(void Function(Type) updates) => super.copyWith((message) => updates(message as Type)) as Type; Type copyWith(void Function(Type) updates) => super.copyWith((message) => updates(message as Type)) as Type;
@$core.override
$pb.BuilderInfo get info_ => _i; $pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline') @$core.pragma('dart2js:noInline')
static Type create() => Type._(); static Type create() => Type._();
@$core.override
Type createEmptyInstance() => create(); Type createEmptyInstance() => create();
static $pb.PbList<Type> createRepeated() => $pb.PbList<Type>(); static $pb.PbList<Type> createRepeated() => $pb.PbList<Type>();
@$core.pragma('dart2js:noInline') @$core.pragma('dart2js:noInline')
@@ -91,7 +86,7 @@ class Type extends $pb.GeneratedMessage {
@$pb.TagNumber(1) @$pb.TagNumber(1)
$core.String get name => $_getSZ(0); $core.String get name => $_getSZ(0);
@$pb.TagNumber(1) @$pb.TagNumber(1)
set name($core.String v) { $_setString(0, v); } set name($core.String value) => $_setString(0, value);
@$pb.TagNumber(1) @$pb.TagNumber(1)
$core.bool hasName() => $_has(0); $core.bool hasName() => $_has(0);
@$pb.TagNumber(1) @$pb.TagNumber(1)
@@ -111,28 +106,43 @@ class Type extends $pb.GeneratedMessage {
/// The source context. /// The source context.
@$pb.TagNumber(5) @$pb.TagNumber(5)
$18.SourceContext get sourceContext => $_getN(4); $0.SourceContext get sourceContext => $_getN(4);
@$pb.TagNumber(5) @$pb.TagNumber(5)
set sourceContext($18.SourceContext v) { $_setField(5, v); } set sourceContext($0.SourceContext value) => $_setField(5, value);
@$pb.TagNumber(5) @$pb.TagNumber(5)
$core.bool hasSourceContext() => $_has(4); $core.bool hasSourceContext() => $_has(4);
@$pb.TagNumber(5) @$pb.TagNumber(5)
void clearSourceContext() => $_clearField(5); void clearSourceContext() => $_clearField(5);
@$pb.TagNumber(5) @$pb.TagNumber(5)
$18.SourceContext ensureSourceContext() => $_ensure(4); $0.SourceContext ensureSourceContext() => $_ensure(4);
/// The source syntax. /// The source syntax.
@$pb.TagNumber(6) @$pb.TagNumber(6)
Syntax get syntax => $_getN(5); Syntax get syntax => $_getN(5);
@$pb.TagNumber(6) @$pb.TagNumber(6)
set syntax(Syntax v) { $_setField(6, v); } set syntax(Syntax value) => $_setField(6, value);
@$pb.TagNumber(6) @$pb.TagNumber(6)
$core.bool hasSyntax() => $_has(5); $core.bool hasSyntax() => $_has(5);
@$pb.TagNumber(6) @$pb.TagNumber(6)
void clearSyntax() => $_clearField(6); void clearSyntax() => $_clearField(6);
/// The source edition string, only valid when syntax is SYNTAX_EDITIONS.
@$pb.TagNumber(7)
$core.String get edition => $_getSZ(6);
@$pb.TagNumber(7)
set edition($core.String value) => $_setString(6, value);
@$pb.TagNumber(7)
$core.bool hasEdition() => $_has(6);
@$pb.TagNumber(7)
void clearEdition() => $_clearField(7);
} }
/// A single field of a message type. /// A single field of a message type.
///
/// New usages of this message as an alternative to FieldDescriptorProto are
/// strongly discouraged. This message does not reliability preserve all
/// information necessary to model the schema and preserve semantics. Instead
/// make use of FileDescriptorSet which preserves the necessary information.
class Field extends $pb.GeneratedMessage { class Field extends $pb.GeneratedMessage {
factory Field({ factory Field({
Field_Kind? kind, Field_Kind? kind,
@@ -146,42 +156,24 @@ class Field extends $pb.GeneratedMessage {
$core.String? jsonName, $core.String? jsonName,
$core.String? defaultValue, $core.String? defaultValue,
}) { }) {
final $result = create(); final result = create();
if (kind != null) { if (kind != null) result.kind = kind;
$result.kind = kind; if (cardinality != null) result.cardinality = cardinality;
} if (number != null) result.number = number;
if (cardinality != null) { if (name != null) result.name = name;
$result.cardinality = cardinality; if (typeUrl != null) result.typeUrl = typeUrl;
} if (oneofIndex != null) result.oneofIndex = oneofIndex;
if (number != null) { if (packed != null) result.packed = packed;
$result.number = number; if (options != null) result.options.addAll(options);
} if (jsonName != null) result.jsonName = jsonName;
if (name != null) { if (defaultValue != null) result.defaultValue = defaultValue;
$result.name = name; return result;
}
if (typeUrl != null) {
$result.typeUrl = typeUrl;
}
if (oneofIndex != null) {
$result.oneofIndex = oneofIndex;
}
if (packed != null) {
$result.packed = packed;
}
if (options != null) {
$result.options.addAll(options);
}
if (jsonName != null) {
$result.jsonName = jsonName;
}
if (defaultValue != null) {
$result.defaultValue = defaultValue;
}
return $result;
} }
Field._() : super();
factory Field.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); Field._();
factory Field.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
factory Field.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory Field.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Field', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create) static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Field', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create)
..e<Field_Kind>(1, _omitFieldNames ? '' : 'kind', $pb.PbFieldType.OE, defaultOrMaker: Field_Kind.TYPE_UNKNOWN, valueOf: Field_Kind.valueOf, enumValues: Field_Kind.values) ..e<Field_Kind>(1, _omitFieldNames ? '' : 'kind', $pb.PbFieldType.OE, defaultOrMaker: Field_Kind.TYPE_UNKNOWN, valueOf: Field_Kind.valueOf, enumValues: Field_Kind.values)
@@ -197,21 +189,17 @@ class Field extends $pb.GeneratedMessage {
..hasRequiredFields = false ..hasRequiredFields = false
; ;
@$core.Deprecated( @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
'Will be removed in next major version')
Field clone() => Field()..mergeFromMessage(this); Field clone() => Field()..mergeFromMessage(this);
@$core.Deprecated( @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
'Will be removed in next major version')
Field copyWith(void Function(Field) updates) => super.copyWith((message) => updates(message as Field)) as Field; Field copyWith(void Function(Field) updates) => super.copyWith((message) => updates(message as Field)) as Field;
@$core.override
$pb.BuilderInfo get info_ => _i; $pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline') @$core.pragma('dart2js:noInline')
static Field create() => Field._(); static Field create() => Field._();
@$core.override
Field createEmptyInstance() => create(); Field createEmptyInstance() => create();
static $pb.PbList<Field> createRepeated() => $pb.PbList<Field>(); static $pb.PbList<Field> createRepeated() => $pb.PbList<Field>();
@$core.pragma('dart2js:noInline') @$core.pragma('dart2js:noInline')
@@ -222,7 +210,7 @@ class Field extends $pb.GeneratedMessage {
@$pb.TagNumber(1) @$pb.TagNumber(1)
Field_Kind get kind => $_getN(0); Field_Kind get kind => $_getN(0);
@$pb.TagNumber(1) @$pb.TagNumber(1)
set kind(Field_Kind v) { $_setField(1, v); } set kind(Field_Kind value) => $_setField(1, value);
@$pb.TagNumber(1) @$pb.TagNumber(1)
$core.bool hasKind() => $_has(0); $core.bool hasKind() => $_has(0);
@$pb.TagNumber(1) @$pb.TagNumber(1)
@@ -232,7 +220,7 @@ class Field extends $pb.GeneratedMessage {
@$pb.TagNumber(2) @$pb.TagNumber(2)
Field_Cardinality get cardinality => $_getN(1); Field_Cardinality get cardinality => $_getN(1);
@$pb.TagNumber(2) @$pb.TagNumber(2)
set cardinality(Field_Cardinality v) { $_setField(2, v); } set cardinality(Field_Cardinality value) => $_setField(2, value);
@$pb.TagNumber(2) @$pb.TagNumber(2)
$core.bool hasCardinality() => $_has(1); $core.bool hasCardinality() => $_has(1);
@$pb.TagNumber(2) @$pb.TagNumber(2)
@@ -242,7 +230,7 @@ class Field extends $pb.GeneratedMessage {
@$pb.TagNumber(3) @$pb.TagNumber(3)
$core.int get number => $_getIZ(2); $core.int get number => $_getIZ(2);
@$pb.TagNumber(3) @$pb.TagNumber(3)
set number($core.int v) { $_setSignedInt32(2, v); } set number($core.int value) => $_setSignedInt32(2, value);
@$pb.TagNumber(3) @$pb.TagNumber(3)
$core.bool hasNumber() => $_has(2); $core.bool hasNumber() => $_has(2);
@$pb.TagNumber(3) @$pb.TagNumber(3)
@@ -252,7 +240,7 @@ class Field extends $pb.GeneratedMessage {
@$pb.TagNumber(4) @$pb.TagNumber(4)
$core.String get name => $_getSZ(3); $core.String get name => $_getSZ(3);
@$pb.TagNumber(4) @$pb.TagNumber(4)
set name($core.String v) { $_setString(3, v); } set name($core.String value) => $_setString(3, value);
@$pb.TagNumber(4) @$pb.TagNumber(4)
$core.bool hasName() => $_has(3); $core.bool hasName() => $_has(3);
@$pb.TagNumber(4) @$pb.TagNumber(4)
@@ -263,7 +251,7 @@ class Field extends $pb.GeneratedMessage {
@$pb.TagNumber(6) @$pb.TagNumber(6)
$core.String get typeUrl => $_getSZ(4); $core.String get typeUrl => $_getSZ(4);
@$pb.TagNumber(6) @$pb.TagNumber(6)
set typeUrl($core.String v) { $_setString(4, v); } set typeUrl($core.String value) => $_setString(4, value);
@$pb.TagNumber(6) @$pb.TagNumber(6)
$core.bool hasTypeUrl() => $_has(4); $core.bool hasTypeUrl() => $_has(4);
@$pb.TagNumber(6) @$pb.TagNumber(6)
@@ -274,7 +262,7 @@ class Field extends $pb.GeneratedMessage {
@$pb.TagNumber(7) @$pb.TagNumber(7)
$core.int get oneofIndex => $_getIZ(5); $core.int get oneofIndex => $_getIZ(5);
@$pb.TagNumber(7) @$pb.TagNumber(7)
set oneofIndex($core.int v) { $_setSignedInt32(5, v); } set oneofIndex($core.int value) => $_setSignedInt32(5, value);
@$pb.TagNumber(7) @$pb.TagNumber(7)
$core.bool hasOneofIndex() => $_has(5); $core.bool hasOneofIndex() => $_has(5);
@$pb.TagNumber(7) @$pb.TagNumber(7)
@@ -284,7 +272,7 @@ class Field extends $pb.GeneratedMessage {
@$pb.TagNumber(8) @$pb.TagNumber(8)
$core.bool get packed => $_getBF(6); $core.bool get packed => $_getBF(6);
@$pb.TagNumber(8) @$pb.TagNumber(8)
set packed($core.bool v) { $_setBool(6, v); } set packed($core.bool value) => $_setBool(6, value);
@$pb.TagNumber(8) @$pb.TagNumber(8)
$core.bool hasPacked() => $_has(6); $core.bool hasPacked() => $_has(6);
@$pb.TagNumber(8) @$pb.TagNumber(8)
@@ -298,7 +286,7 @@ class Field extends $pb.GeneratedMessage {
@$pb.TagNumber(10) @$pb.TagNumber(10)
$core.String get jsonName => $_getSZ(8); $core.String get jsonName => $_getSZ(8);
@$pb.TagNumber(10) @$pb.TagNumber(10)
set jsonName($core.String v) { $_setString(8, v); } set jsonName($core.String value) => $_setString(8, value);
@$pb.TagNumber(10) @$pb.TagNumber(10)
$core.bool hasJsonName() => $_has(8); $core.bool hasJsonName() => $_has(8);
@$pb.TagNumber(10) @$pb.TagNumber(10)
@@ -308,7 +296,7 @@ class Field extends $pb.GeneratedMessage {
@$pb.TagNumber(11) @$pb.TagNumber(11)
$core.String get defaultValue => $_getSZ(9); $core.String get defaultValue => $_getSZ(9);
@$pb.TagNumber(11) @$pb.TagNumber(11)
set defaultValue($core.String v) { $_setString(9, v); } set defaultValue($core.String value) => $_setString(9, value);
@$pb.TagNumber(11) @$pb.TagNumber(11)
$core.bool hasDefaultValue() => $_has(9); $core.bool hasDefaultValue() => $_has(9);
@$pb.TagNumber(11) @$pb.TagNumber(11)
@@ -316,60 +304,56 @@ class Field extends $pb.GeneratedMessage {
} }
/// Enum type definition. /// Enum type definition.
///
/// New usages of this message as an alternative to EnumDescriptorProto are
/// strongly discouraged. This message does not reliability preserve all
/// information necessary to model the schema and preserve semantics. Instead
/// make use of FileDescriptorSet which preserves the necessary information.
class Enum extends $pb.GeneratedMessage { class Enum extends $pb.GeneratedMessage {
factory Enum({ factory Enum({
$core.String? name, $core.String? name,
$core.Iterable<EnumValue>? enumvalue, $core.Iterable<EnumValue>? enumvalue,
$core.Iterable<Option>? options, $core.Iterable<Option>? options,
$18.SourceContext? sourceContext, $0.SourceContext? sourceContext,
Syntax? syntax, Syntax? syntax,
$core.String? edition,
}) { }) {
final $result = create(); final result = create();
if (name != null) { if (name != null) result.name = name;
$result.name = name; if (enumvalue != null) result.enumvalue.addAll(enumvalue);
} if (options != null) result.options.addAll(options);
if (enumvalue != null) { if (sourceContext != null) result.sourceContext = sourceContext;
$result.enumvalue.addAll(enumvalue); if (syntax != null) result.syntax = syntax;
} if (edition != null) result.edition = edition;
if (options != null) { return result;
$result.options.addAll(options);
}
if (sourceContext != null) {
$result.sourceContext = sourceContext;
}
if (syntax != null) {
$result.syntax = syntax;
}
return $result;
} }
Enum._() : super();
factory Enum.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); Enum._();
factory Enum.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
factory Enum.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory Enum.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Enum', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create) static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Enum', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create)
..aOS(1, _omitFieldNames ? '' : 'name') ..aOS(1, _omitFieldNames ? '' : 'name')
..pc<EnumValue>(2, _omitFieldNames ? '' : 'enumvalue', $pb.PbFieldType.PM, subBuilder: EnumValue.create) ..pc<EnumValue>(2, _omitFieldNames ? '' : 'enumvalue', $pb.PbFieldType.PM, subBuilder: EnumValue.create)
..pc<Option>(3, _omitFieldNames ? '' : 'options', $pb.PbFieldType.PM, subBuilder: Option.create) ..pc<Option>(3, _omitFieldNames ? '' : 'options', $pb.PbFieldType.PM, subBuilder: Option.create)
..aOM<$18.SourceContext>(4, _omitFieldNames ? '' : 'sourceContext', subBuilder: $18.SourceContext.create) ..aOM<$0.SourceContext>(4, _omitFieldNames ? '' : 'sourceContext', subBuilder: $0.SourceContext.create)
..e<Syntax>(5, _omitFieldNames ? '' : 'syntax', $pb.PbFieldType.OE, defaultOrMaker: Syntax.SYNTAX_PROTO2, valueOf: Syntax.valueOf, enumValues: Syntax.values) ..e<Syntax>(5, _omitFieldNames ? '' : 'syntax', $pb.PbFieldType.OE, defaultOrMaker: Syntax.SYNTAX_PROTO2, valueOf: Syntax.valueOf, enumValues: Syntax.values)
..aOS(6, _omitFieldNames ? '' : 'edition')
..hasRequiredFields = false ..hasRequiredFields = false
; ;
@$core.Deprecated( @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
'Will be removed in next major version')
Enum clone() => Enum()..mergeFromMessage(this); Enum clone() => Enum()..mergeFromMessage(this);
@$core.Deprecated( @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
'Will be removed in next major version')
Enum copyWith(void Function(Enum) updates) => super.copyWith((message) => updates(message as Enum)) as Enum; Enum copyWith(void Function(Enum) updates) => super.copyWith((message) => updates(message as Enum)) as Enum;
@$core.override
$pb.BuilderInfo get info_ => _i; $pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline') @$core.pragma('dart2js:noInline')
static Enum create() => Enum._(); static Enum create() => Enum._();
@$core.override
Enum createEmptyInstance() => create(); Enum createEmptyInstance() => create();
static $pb.PbList<Enum> createRepeated() => $pb.PbList<Enum>(); static $pb.PbList<Enum> createRepeated() => $pb.PbList<Enum>();
@$core.pragma('dart2js:noInline') @$core.pragma('dart2js:noInline')
@@ -380,7 +364,7 @@ class Enum extends $pb.GeneratedMessage {
@$pb.TagNumber(1) @$pb.TagNumber(1)
$core.String get name => $_getSZ(0); $core.String get name => $_getSZ(0);
@$pb.TagNumber(1) @$pb.TagNumber(1)
set name($core.String v) { $_setString(0, v); } set name($core.String value) => $_setString(0, value);
@$pb.TagNumber(1) @$pb.TagNumber(1)
$core.bool hasName() => $_has(0); $core.bool hasName() => $_has(0);
@$pb.TagNumber(1) @$pb.TagNumber(1)
@@ -396,49 +380,60 @@ class Enum extends $pb.GeneratedMessage {
/// The source context. /// The source context.
@$pb.TagNumber(4) @$pb.TagNumber(4)
$18.SourceContext get sourceContext => $_getN(3); $0.SourceContext get sourceContext => $_getN(3);
@$pb.TagNumber(4) @$pb.TagNumber(4)
set sourceContext($18.SourceContext v) { $_setField(4, v); } set sourceContext($0.SourceContext value) => $_setField(4, value);
@$pb.TagNumber(4) @$pb.TagNumber(4)
$core.bool hasSourceContext() => $_has(3); $core.bool hasSourceContext() => $_has(3);
@$pb.TagNumber(4) @$pb.TagNumber(4)
void clearSourceContext() => $_clearField(4); void clearSourceContext() => $_clearField(4);
@$pb.TagNumber(4) @$pb.TagNumber(4)
$18.SourceContext ensureSourceContext() => $_ensure(3); $0.SourceContext ensureSourceContext() => $_ensure(3);
/// The source syntax. /// The source syntax.
@$pb.TagNumber(5) @$pb.TagNumber(5)
Syntax get syntax => $_getN(4); Syntax get syntax => $_getN(4);
@$pb.TagNumber(5) @$pb.TagNumber(5)
set syntax(Syntax v) { $_setField(5, v); } set syntax(Syntax value) => $_setField(5, value);
@$pb.TagNumber(5) @$pb.TagNumber(5)
$core.bool hasSyntax() => $_has(4); $core.bool hasSyntax() => $_has(4);
@$pb.TagNumber(5) @$pb.TagNumber(5)
void clearSyntax() => $_clearField(5); void clearSyntax() => $_clearField(5);
/// The source edition string, only valid when syntax is SYNTAX_EDITIONS.
@$pb.TagNumber(6)
$core.String get edition => $_getSZ(5);
@$pb.TagNumber(6)
set edition($core.String value) => $_setString(5, value);
@$pb.TagNumber(6)
$core.bool hasEdition() => $_has(5);
@$pb.TagNumber(6)
void clearEdition() => $_clearField(6);
} }
/// Enum value definition. /// Enum value definition.
///
/// New usages of this message as an alternative to EnumValueDescriptorProto are
/// strongly discouraged. This message does not reliability preserve all
/// information necessary to model the schema and preserve semantics. Instead
/// make use of FileDescriptorSet which preserves the necessary information.
class EnumValue extends $pb.GeneratedMessage { class EnumValue extends $pb.GeneratedMessage {
factory EnumValue({ factory EnumValue({
$core.String? name, $core.String? name,
$core.int? number, $core.int? number,
$core.Iterable<Option>? options, $core.Iterable<Option>? options,
}) { }) {
final $result = create(); final result = create();
if (name != null) { if (name != null) result.name = name;
$result.name = name; if (number != null) result.number = number;
} if (options != null) result.options.addAll(options);
if (number != null) { return result;
$result.number = number;
}
if (options != null) {
$result.options.addAll(options);
}
return $result;
} }
EnumValue._() : super();
factory EnumValue.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); EnumValue._();
factory EnumValue.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
factory EnumValue.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory EnumValue.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'EnumValue', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create) static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'EnumValue', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create)
..aOS(1, _omitFieldNames ? '' : 'name') ..aOS(1, _omitFieldNames ? '' : 'name')
@@ -447,21 +442,17 @@ class EnumValue extends $pb.GeneratedMessage {
..hasRequiredFields = false ..hasRequiredFields = false
; ;
@$core.Deprecated( @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
'Will be removed in next major version')
EnumValue clone() => EnumValue()..mergeFromMessage(this); EnumValue clone() => EnumValue()..mergeFromMessage(this);
@$core.Deprecated( @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
'Will be removed in next major version')
EnumValue copyWith(void Function(EnumValue) updates) => super.copyWith((message) => updates(message as EnumValue)) as EnumValue; EnumValue copyWith(void Function(EnumValue) updates) => super.copyWith((message) => updates(message as EnumValue)) as EnumValue;
@$core.override
$pb.BuilderInfo get info_ => _i; $pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline') @$core.pragma('dart2js:noInline')
static EnumValue create() => EnumValue._(); static EnumValue create() => EnumValue._();
@$core.override
EnumValue createEmptyInstance() => create(); EnumValue createEmptyInstance() => create();
static $pb.PbList<EnumValue> createRepeated() => $pb.PbList<EnumValue>(); static $pb.PbList<EnumValue> createRepeated() => $pb.PbList<EnumValue>();
@$core.pragma('dart2js:noInline') @$core.pragma('dart2js:noInline')
@@ -472,7 +463,7 @@ class EnumValue extends $pb.GeneratedMessage {
@$pb.TagNumber(1) @$pb.TagNumber(1)
$core.String get name => $_getSZ(0); $core.String get name => $_getSZ(0);
@$pb.TagNumber(1) @$pb.TagNumber(1)
set name($core.String v) { $_setString(0, v); } set name($core.String value) => $_setString(0, value);
@$pb.TagNumber(1) @$pb.TagNumber(1)
$core.bool hasName() => $_has(0); $core.bool hasName() => $_has(0);
@$pb.TagNumber(1) @$pb.TagNumber(1)
@@ -482,7 +473,7 @@ class EnumValue extends $pb.GeneratedMessage {
@$pb.TagNumber(2) @$pb.TagNumber(2)
$core.int get number => $_getIZ(1); $core.int get number => $_getIZ(1);
@$pb.TagNumber(2) @$pb.TagNumber(2)
set number($core.int v) { $_setSignedInt32(1, v); } set number($core.int value) => $_setSignedInt32(1, value);
@$pb.TagNumber(2) @$pb.TagNumber(2)
$core.bool hasNumber() => $_has(1); $core.bool hasNumber() => $_has(1);
@$pb.TagNumber(2) @$pb.TagNumber(2)
@@ -495,45 +486,43 @@ class EnumValue extends $pb.GeneratedMessage {
/// A protocol buffer option, which can be attached to a message, field, /// A protocol buffer option, which can be attached to a message, field,
/// enumeration, etc. /// enumeration, etc.
///
/// New usages of this message as an alternative to FileOptions, MessageOptions,
/// FieldOptions, EnumOptions, EnumValueOptions, ServiceOptions, or MethodOptions
/// are strongly discouraged.
class Option extends $pb.GeneratedMessage { class Option extends $pb.GeneratedMessage {
factory Option({ factory Option({
$core.String? name, $core.String? name,
$17.Any? value, $1.Any? value,
}) { }) {
final $result = create(); final result = create();
if (name != null) { if (name != null) result.name = name;
$result.name = name; if (value != null) result.value = value;
} return result;
if (value != null) {
$result.value = value;
}
return $result;
} }
Option._() : super();
factory Option.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); Option._();
factory Option.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
factory Option.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory Option.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Option', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create) static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Option', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create)
..aOS(1, _omitFieldNames ? '' : 'name') ..aOS(1, _omitFieldNames ? '' : 'name')
..aOM<$17.Any>(2, _omitFieldNames ? '' : 'value', subBuilder: $17.Any.create) ..aOM<$1.Any>(2, _omitFieldNames ? '' : 'value', subBuilder: $1.Any.create)
..hasRequiredFields = false ..hasRequiredFields = false
; ;
@$core.Deprecated( @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
'Will be removed in next major version')
Option clone() => Option()..mergeFromMessage(this); Option clone() => Option()..mergeFromMessage(this);
@$core.Deprecated( @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
'Will be removed in next major version')
Option copyWith(void Function(Option) updates) => super.copyWith((message) => updates(message as Option)) as Option; Option copyWith(void Function(Option) updates) => super.copyWith((message) => updates(message as Option)) as Option;
@$core.override
$pb.BuilderInfo get info_ => _i; $pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline') @$core.pragma('dart2js:noInline')
static Option create() => Option._(); static Option create() => Option._();
@$core.override
Option createEmptyInstance() => create(); Option createEmptyInstance() => create();
static $pb.PbList<Option> createRepeated() => $pb.PbList<Option>(); static $pb.PbList<Option> createRepeated() => $pb.PbList<Option>();
@$core.pragma('dart2js:noInline') @$core.pragma('dart2js:noInline')
@@ -547,7 +536,7 @@ class Option extends $pb.GeneratedMessage {
@$pb.TagNumber(1) @$pb.TagNumber(1)
$core.String get name => $_getSZ(0); $core.String get name => $_getSZ(0);
@$pb.TagNumber(1) @$pb.TagNumber(1)
set name($core.String v) { $_setString(0, v); } set name($core.String value) => $_setString(0, value);
@$pb.TagNumber(1) @$pb.TagNumber(1)
$core.bool hasName() => $_has(0); $core.bool hasName() => $_has(0);
@$pb.TagNumber(1) @$pb.TagNumber(1)
@@ -558,17 +547,17 @@ class Option extends $pb.GeneratedMessage {
/// should be used. If the value is an enum, it should be stored as an int32 /// should be used. If the value is an enum, it should be stored as an int32
/// value using the google.protobuf.Int32Value type. /// value using the google.protobuf.Int32Value type.
@$pb.TagNumber(2) @$pb.TagNumber(2)
$17.Any get value => $_getN(1); $1.Any get value => $_getN(1);
@$pb.TagNumber(2) @$pb.TagNumber(2)
set value($17.Any v) { $_setField(2, v); } set value($1.Any value) => $_setField(2, value);
@$pb.TagNumber(2) @$pb.TagNumber(2)
$core.bool hasValue() => $_has(1); $core.bool hasValue() => $_has(1);
@$pb.TagNumber(2) @$pb.TagNumber(2)
void clearValue() => $_clearField(2); void clearValue() => $_clearField(2);
@$pb.TagNumber(2) @$pb.TagNumber(2)
$17.Any ensureValue() => $_ensure(1); $1.Any ensureValue() => $_ensure(1);
} }
const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); const $core.bool _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names');
const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); const $core.bool _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names');

View File

@@ -1,13 +1,14 @@
// This is a generated file - do not edit.
// //
// Generated code. Do not modify. // Generated from google/protobuf/type.proto.
// source: google/protobuf/type.proto
//
// @dart = 3.3 // @dart = 3.3
// ignore_for_file: annotate_overrides, camel_case_types, comment_references // ignore_for_file: annotate_overrides, camel_case_types, comment_references
// ignore_for_file: constant_identifier_names, library_prefixes // ignore_for_file: constant_identifier_names
// ignore_for_file: non_constant_identifier_names, prefer_final_fields // ignore_for_file: curly_braces_in_flow_control_structures
// ignore_for_file: unnecessary_import, unnecessary_this, unused_import // ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
// ignore_for_file: non_constant_identifier_names
import 'dart:core' as $core; import 'dart:core' as $core;
@@ -19,16 +20,19 @@ class Syntax extends $pb.ProtobufEnum {
static const Syntax SYNTAX_PROTO2 = Syntax._(0, _omitEnumNames ? '' : 'SYNTAX_PROTO2'); static const Syntax SYNTAX_PROTO2 = Syntax._(0, _omitEnumNames ? '' : 'SYNTAX_PROTO2');
/// Syntax `proto3`. /// Syntax `proto3`.
static const Syntax SYNTAX_PROTO3 = Syntax._(1, _omitEnumNames ? '' : 'SYNTAX_PROTO3'); static const Syntax SYNTAX_PROTO3 = Syntax._(1, _omitEnumNames ? '' : 'SYNTAX_PROTO3');
/// Syntax `editions`.
static const Syntax SYNTAX_EDITIONS = Syntax._(2, _omitEnumNames ? '' : 'SYNTAX_EDITIONS');
static const $core.List<Syntax> values = <Syntax> [ static const $core.List<Syntax> values = <Syntax> [
SYNTAX_PROTO2, SYNTAX_PROTO2,
SYNTAX_PROTO3, SYNTAX_PROTO3,
SYNTAX_EDITIONS,
]; ];
static final $core.Map<$core.int, Syntax> _byValue = $pb.ProtobufEnum.initByValue(values); static final $core.List<Syntax?> _byValue = $pb.ProtobufEnum.$_initByValueList(values, 2);
static Syntax? valueOf($core.int value) => _byValue[value]; static Syntax? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value];
const Syntax._(super.v, super.n); const Syntax._(super.value, super.name);
} }
/// Basic field types. /// Basic field types.
@@ -94,10 +98,10 @@ class Field_Kind extends $pb.ProtobufEnum {
TYPE_SINT64, TYPE_SINT64,
]; ];
static final $core.Map<$core.int, Field_Kind> _byValue = $pb.ProtobufEnum.initByValue(values); static final $core.List<Field_Kind?> _byValue = $pb.ProtobufEnum.$_initByValueList(values, 18);
static Field_Kind? valueOf($core.int value) => _byValue[value]; static Field_Kind? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value];
const Field_Kind._(super.v, super.n); const Field_Kind._(super.value, super.name);
} }
/// Whether a field is optional, required, or repeated. /// Whether a field is optional, required, or repeated.
@@ -118,11 +122,11 @@ class Field_Cardinality extends $pb.ProtobufEnum {
CARDINALITY_REPEATED, CARDINALITY_REPEATED,
]; ];
static final $core.Map<$core.int, Field_Cardinality> _byValue = $pb.ProtobufEnum.initByValue(values); static final $core.List<Field_Cardinality?> _byValue = $pb.ProtobufEnum.$_initByValueList(values, 3);
static Field_Cardinality? valueOf($core.int value) => _byValue[value]; static Field_Cardinality? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value];
const Field_Cardinality._(super.v, super.n); const Field_Cardinality._(super.value, super.name);
} }
const _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names'); const $core.bool _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names');

View File

@@ -1,13 +1,14 @@
// This is a generated file - do not edit.
// //
// Generated code. Do not modify. // Generated from google/protobuf/type.proto.
// source: google/protobuf/type.proto
//
// @dart = 3.3 // @dart = 3.3
// ignore_for_file: annotate_overrides, camel_case_types, comment_references // ignore_for_file: annotate_overrides, camel_case_types, comment_references
// ignore_for_file: constant_identifier_names, library_prefixes // ignore_for_file: constant_identifier_names
// ignore_for_file: non_constant_identifier_names, prefer_final_fields // ignore_for_file: curly_braces_in_flow_control_structures
// ignore_for_file: unnecessary_import, unnecessary_this, unused_import // ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
// ignore_for_file: non_constant_identifier_names, unused_import
import 'dart:convert' as $convert; import 'dart:convert' as $convert;
import 'dart:core' as $core; import 'dart:core' as $core;
@@ -19,12 +20,14 @@ const Syntax$json = {
'2': [ '2': [
{'1': 'SYNTAX_PROTO2', '2': 0}, {'1': 'SYNTAX_PROTO2', '2': 0},
{'1': 'SYNTAX_PROTO3', '2': 1}, {'1': 'SYNTAX_PROTO3', '2': 1},
{'1': 'SYNTAX_EDITIONS', '2': 2},
], ],
}; };
/// Descriptor for `Syntax`. Decode as a `google.protobuf.EnumDescriptorProto`. /// Descriptor for `Syntax`. Decode as a `google.protobuf.EnumDescriptorProto`.
final $typed_data.Uint8List syntaxDescriptor = $convert.base64Decode( final $typed_data.Uint8List syntaxDescriptor = $convert.base64Decode(
'CgZTeW50YXgSEQoNU1lOVEFYX1BST1RPMhAAEhEKDVNZTlRBWF9QUk9UTzMQAQ=='); 'CgZTeW50YXgSEQoNU1lOVEFYX1BST1RPMhAAEhEKDVNZTlRBWF9QUk9UTzMQARITCg9TWU5UQV'
'hfRURJVElPTlMQAg==');
@$core.Deprecated('Use typeDescriptor instead') @$core.Deprecated('Use typeDescriptor instead')
const Type$json = { const Type$json = {
@@ -36,6 +39,7 @@ const Type$json = {
{'1': 'options', '3': 4, '4': 3, '5': 11, '6': '.google.protobuf.Option', '10': 'options'}, {'1': 'options', '3': 4, '4': 3, '5': 11, '6': '.google.protobuf.Option', '10': 'options'},
{'1': 'source_context', '3': 5, '4': 1, '5': 11, '6': '.google.protobuf.SourceContext', '10': 'sourceContext'}, {'1': 'source_context', '3': 5, '4': 1, '5': 11, '6': '.google.protobuf.SourceContext', '10': 'sourceContext'},
{'1': 'syntax', '3': 6, '4': 1, '5': 14, '6': '.google.protobuf.Syntax', '10': 'syntax'}, {'1': 'syntax', '3': 6, '4': 1, '5': 14, '6': '.google.protobuf.Syntax', '10': 'syntax'},
{'1': 'edition', '3': 7, '4': 1, '5': 9, '10': 'edition'},
], ],
}; };
@@ -45,7 +49,8 @@ final $typed_data.Uint8List typeDescriptor = $convert.base64Decode(
'RvYnVmLkZpZWxkUgZmaWVsZHMSFgoGb25lb2ZzGAMgAygJUgZvbmVvZnMSMQoHb3B0aW9ucxgE' 'RvYnVmLkZpZWxkUgZmaWVsZHMSFgoGb25lb2ZzGAMgAygJUgZvbmVvZnMSMQoHb3B0aW9ucxgE'
'IAMoCzIXLmdvb2dsZS5wcm90b2J1Zi5PcHRpb25SB29wdGlvbnMSRQoOc291cmNlX2NvbnRleH' 'IAMoCzIXLmdvb2dsZS5wcm90b2J1Zi5PcHRpb25SB29wdGlvbnMSRQoOc291cmNlX2NvbnRleH'
'QYBSABKAsyHi5nb29nbGUucHJvdG9idWYuU291cmNlQ29udGV4dFINc291cmNlQ29udGV4dBIv' 'QYBSABKAsyHi5nb29nbGUucHJvdG9idWYuU291cmNlQ29udGV4dFINc291cmNlQ29udGV4dBIv'
'CgZzeW50YXgYBiABKA4yFy5nb29nbGUucHJvdG9idWYuU3ludGF4UgZzeW50YXg='); 'CgZzeW50YXgYBiABKA4yFy5nb29nbGUucHJvdG9idWYuU3ludGF4UgZzeW50YXgSGAoHZWRpdG'
'lvbhgHIAEoCVIHZWRpdGlvbg==');
@$core.Deprecated('Use fieldDescriptor instead') @$core.Deprecated('Use fieldDescriptor instead')
const Field$json = { const Field$json = {
@@ -129,6 +134,7 @@ const Enum$json = {
{'1': 'options', '3': 3, '4': 3, '5': 11, '6': '.google.protobuf.Option', '10': 'options'}, {'1': 'options', '3': 3, '4': 3, '5': 11, '6': '.google.protobuf.Option', '10': 'options'},
{'1': 'source_context', '3': 4, '4': 1, '5': 11, '6': '.google.protobuf.SourceContext', '10': 'sourceContext'}, {'1': 'source_context', '3': 4, '4': 1, '5': 11, '6': '.google.protobuf.SourceContext', '10': 'sourceContext'},
{'1': 'syntax', '3': 5, '4': 1, '5': 14, '6': '.google.protobuf.Syntax', '10': 'syntax'}, {'1': 'syntax', '3': 5, '4': 1, '5': 14, '6': '.google.protobuf.Syntax', '10': 'syntax'},
{'1': 'edition', '3': 6, '4': 1, '5': 9, '10': 'edition'},
], ],
}; };
@@ -138,7 +144,8 @@ final $typed_data.Uint8List enumDescriptor = $convert.base64Decode(
'Byb3RvYnVmLkVudW1WYWx1ZVIJZW51bXZhbHVlEjEKB29wdGlvbnMYAyADKAsyFy5nb29nbGUu' 'Byb3RvYnVmLkVudW1WYWx1ZVIJZW51bXZhbHVlEjEKB29wdGlvbnMYAyADKAsyFy5nb29nbGUu'
'cHJvdG9idWYuT3B0aW9uUgdvcHRpb25zEkUKDnNvdXJjZV9jb250ZXh0GAQgASgLMh4uZ29vZ2' 'cHJvdG9idWYuT3B0aW9uUgdvcHRpb25zEkUKDnNvdXJjZV9jb250ZXh0GAQgASgLMh4uZ29vZ2'
'xlLnByb3RvYnVmLlNvdXJjZUNvbnRleHRSDXNvdXJjZUNvbnRleHQSLwoGc3ludGF4GAUgASgO' 'xlLnByb3RvYnVmLlNvdXJjZUNvbnRleHRSDXNvdXJjZUNvbnRleHQSLwoGc3ludGF4GAUgASgO'
'MhcuZ29vZ2xlLnByb3RvYnVmLlN5bnRheFIGc3ludGF4'); 'MhcuZ29vZ2xlLnByb3RvYnVmLlN5bnRheFIGc3ludGF4EhgKB2VkaXRpb24YBiABKAlSB2VkaX'
'Rpb24=');
@$core.Deprecated('Use enumValueDescriptor instead') @$core.Deprecated('Use enumValueDescriptor instead')
const EnumValue$json = { const EnumValue$json = {

View File

@@ -1,13 +1,15 @@
// This is a generated file - do not edit.
// //
// Generated code. Do not modify. // Generated from google/protobuf/wrappers.proto.
// source: google/protobuf/wrappers.proto
//
// @dart = 3.3 // @dart = 3.3
// ignore_for_file: annotate_overrides, camel_case_types, comment_references // ignore_for_file: annotate_overrides, camel_case_types, comment_references
// ignore_for_file: constant_identifier_names, library_prefixes // ignore_for_file: constant_identifier_names
// ignore_for_file: non_constant_identifier_names, prefer_final_fields // ignore_for_file: curly_braces_in_flow_control_structures
// ignore_for_file: unnecessary_import, unnecessary_this, unused_import // ignore_for_file: deprecated_member_use_from_same_package
// ignore_for_file: implementation_imports, library_prefixes
// ignore_for_file: non_constant_identifier_names
import 'dart:core' as $core; import 'dart:core' as $core;
@@ -17,43 +19,42 @@ import 'package:protobuf/src/protobuf/mixins/well_known.dart' as $mixin;
export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions; export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions;
/// Wrapper message for `double`. /// Wrapper message for `double`.
/// ///
/// The JSON representation for `DoubleValue` is JSON number. /// The JSON representation for `DoubleValue` is JSON number.
///
/// Not recommended for use in new APIs, but still useful for legacy APIs and
/// has no plan to be removed.
class DoubleValue extends $pb.GeneratedMessage with $mixin.DoubleValueMixin { class DoubleValue extends $pb.GeneratedMessage with $mixin.DoubleValueMixin {
factory DoubleValue({ factory DoubleValue({
$core.double? value, $core.double? value,
}) { }) {
final $result = create(); final result = create();
if (value != null) { if (value != null) result.value = value;
$result.value = value; return result;
}
return $result;
} }
DoubleValue._() : super();
factory DoubleValue.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); DoubleValue._();
factory DoubleValue.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
factory DoubleValue.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory DoubleValue.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DoubleValue', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create, toProto3Json: $mixin.DoubleValueMixin.toProto3JsonHelper, fromProto3Json: $mixin.DoubleValueMixin.fromProto3JsonHelper) static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DoubleValue', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create, toProto3Json: $mixin.DoubleValueMixin.toProto3JsonHelper, fromProto3Json: $mixin.DoubleValueMixin.fromProto3JsonHelper)
..a<$core.double>(1, _omitFieldNames ? '' : 'value', $pb.PbFieldType.OD) ..a<$core.double>(1, _omitFieldNames ? '' : 'value', $pb.PbFieldType.OD)
..hasRequiredFields = false ..hasRequiredFields = false
; ;
@$core.Deprecated( @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
'Will be removed in next major version')
DoubleValue clone() => DoubleValue()..mergeFromMessage(this); DoubleValue clone() => DoubleValue()..mergeFromMessage(this);
@$core.Deprecated( @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
'Will be removed in next major version')
DoubleValue copyWith(void Function(DoubleValue) updates) => super.copyWith((message) => updates(message as DoubleValue)) as DoubleValue; DoubleValue copyWith(void Function(DoubleValue) updates) => super.copyWith((message) => updates(message as DoubleValue)) as DoubleValue;
@$core.override
$pb.BuilderInfo get info_ => _i; $pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline') @$core.pragma('dart2js:noInline')
static DoubleValue create() => DoubleValue._(); static DoubleValue create() => DoubleValue._();
@$core.override
DoubleValue createEmptyInstance() => create(); DoubleValue createEmptyInstance() => create();
static $pb.PbList<DoubleValue> createRepeated() => $pb.PbList<DoubleValue>(); static $pb.PbList<DoubleValue> createRepeated() => $pb.PbList<DoubleValue>();
@$core.pragma('dart2js:noInline') @$core.pragma('dart2js:noInline')
@@ -64,50 +65,49 @@ class DoubleValue extends $pb.GeneratedMessage with $mixin.DoubleValueMixin {
@$pb.TagNumber(1) @$pb.TagNumber(1)
$core.double get value => $_getN(0); $core.double get value => $_getN(0);
@$pb.TagNumber(1) @$pb.TagNumber(1)
set value($core.double v) { $_setDouble(0, v); } set value($core.double value) => $_setDouble(0, value);
@$pb.TagNumber(1) @$pb.TagNumber(1)
$core.bool hasValue() => $_has(0); $core.bool hasValue() => $_has(0);
@$pb.TagNumber(1) @$pb.TagNumber(1)
void clearValue() => $_clearField(1); void clearValue() => $_clearField(1);
} }
/// Wrapper message for `float`. /// Wrapper message for `float`.
/// ///
/// The JSON representation for `FloatValue` is JSON number. /// The JSON representation for `FloatValue` is JSON number.
///
/// Not recommended for use in new APIs, but still useful for legacy APIs and
/// has no plan to be removed.
class FloatValue extends $pb.GeneratedMessage with $mixin.FloatValueMixin { class FloatValue extends $pb.GeneratedMessage with $mixin.FloatValueMixin {
factory FloatValue({ factory FloatValue({
$core.double? value, $core.double? value,
}) { }) {
final $result = create(); final result = create();
if (value != null) { if (value != null) result.value = value;
$result.value = value; return result;
}
return $result;
} }
FloatValue._() : super();
factory FloatValue.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); FloatValue._();
factory FloatValue.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
factory FloatValue.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory FloatValue.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'FloatValue', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create, toProto3Json: $mixin.FloatValueMixin.toProto3JsonHelper, fromProto3Json: $mixin.FloatValueMixin.fromProto3JsonHelper) static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'FloatValue', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create, toProto3Json: $mixin.FloatValueMixin.toProto3JsonHelper, fromProto3Json: $mixin.FloatValueMixin.fromProto3JsonHelper)
..a<$core.double>(1, _omitFieldNames ? '' : 'value', $pb.PbFieldType.OF) ..a<$core.double>(1, _omitFieldNames ? '' : 'value', $pb.PbFieldType.OF)
..hasRequiredFields = false ..hasRequiredFields = false
; ;
@$core.Deprecated( @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
'Will be removed in next major version')
FloatValue clone() => FloatValue()..mergeFromMessage(this); FloatValue clone() => FloatValue()..mergeFromMessage(this);
@$core.Deprecated( @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
'Will be removed in next major version')
FloatValue copyWith(void Function(FloatValue) updates) => super.copyWith((message) => updates(message as FloatValue)) as FloatValue; FloatValue copyWith(void Function(FloatValue) updates) => super.copyWith((message) => updates(message as FloatValue)) as FloatValue;
@$core.override
$pb.BuilderInfo get info_ => _i; $pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline') @$core.pragma('dart2js:noInline')
static FloatValue create() => FloatValue._(); static FloatValue create() => FloatValue._();
@$core.override
FloatValue createEmptyInstance() => create(); FloatValue createEmptyInstance() => create();
static $pb.PbList<FloatValue> createRepeated() => $pb.PbList<FloatValue>(); static $pb.PbList<FloatValue> createRepeated() => $pb.PbList<FloatValue>();
@$core.pragma('dart2js:noInline') @$core.pragma('dart2js:noInline')
@@ -118,50 +118,49 @@ class FloatValue extends $pb.GeneratedMessage with $mixin.FloatValueMixin {
@$pb.TagNumber(1) @$pb.TagNumber(1)
$core.double get value => $_getN(0); $core.double get value => $_getN(0);
@$pb.TagNumber(1) @$pb.TagNumber(1)
set value($core.double v) { $_setFloat(0, v); } set value($core.double value) => $_setFloat(0, value);
@$pb.TagNumber(1) @$pb.TagNumber(1)
$core.bool hasValue() => $_has(0); $core.bool hasValue() => $_has(0);
@$pb.TagNumber(1) @$pb.TagNumber(1)
void clearValue() => $_clearField(1); void clearValue() => $_clearField(1);
} }
/// Wrapper message for `int64`. /// Wrapper message for `int64`.
/// ///
/// The JSON representation for `Int64Value` is JSON string. /// The JSON representation for `Int64Value` is JSON string.
///
/// Not recommended for use in new APIs, but still useful for legacy APIs and
/// has no plan to be removed.
class Int64Value extends $pb.GeneratedMessage with $mixin.Int64ValueMixin { class Int64Value extends $pb.GeneratedMessage with $mixin.Int64ValueMixin {
factory Int64Value({ factory Int64Value({
$fixnum.Int64? value, $fixnum.Int64? value,
}) { }) {
final $result = create(); final result = create();
if (value != null) { if (value != null) result.value = value;
$result.value = value; return result;
}
return $result;
} }
Int64Value._() : super();
factory Int64Value.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); Int64Value._();
factory Int64Value.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
factory Int64Value.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory Int64Value.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Int64Value', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create, toProto3Json: $mixin.Int64ValueMixin.toProto3JsonHelper, fromProto3Json: $mixin.Int64ValueMixin.fromProto3JsonHelper) static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Int64Value', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create, toProto3Json: $mixin.Int64ValueMixin.toProto3JsonHelper, fromProto3Json: $mixin.Int64ValueMixin.fromProto3JsonHelper)
..aInt64(1, _omitFieldNames ? '' : 'value') ..aInt64(1, _omitFieldNames ? '' : 'value')
..hasRequiredFields = false ..hasRequiredFields = false
; ;
@$core.Deprecated( @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
'Will be removed in next major version')
Int64Value clone() => Int64Value()..mergeFromMessage(this); Int64Value clone() => Int64Value()..mergeFromMessage(this);
@$core.Deprecated( @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
'Will be removed in next major version')
Int64Value copyWith(void Function(Int64Value) updates) => super.copyWith((message) => updates(message as Int64Value)) as Int64Value; Int64Value copyWith(void Function(Int64Value) updates) => super.copyWith((message) => updates(message as Int64Value)) as Int64Value;
@$core.override
$pb.BuilderInfo get info_ => _i; $pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline') @$core.pragma('dart2js:noInline')
static Int64Value create() => Int64Value._(); static Int64Value create() => Int64Value._();
@$core.override
Int64Value createEmptyInstance() => create(); Int64Value createEmptyInstance() => create();
static $pb.PbList<Int64Value> createRepeated() => $pb.PbList<Int64Value>(); static $pb.PbList<Int64Value> createRepeated() => $pb.PbList<Int64Value>();
@$core.pragma('dart2js:noInline') @$core.pragma('dart2js:noInline')
@@ -172,50 +171,49 @@ class Int64Value extends $pb.GeneratedMessage with $mixin.Int64ValueMixin {
@$pb.TagNumber(1) @$pb.TagNumber(1)
$fixnum.Int64 get value => $_getI64(0); $fixnum.Int64 get value => $_getI64(0);
@$pb.TagNumber(1) @$pb.TagNumber(1)
set value($fixnum.Int64 v) { $_setInt64(0, v); } set value($fixnum.Int64 value) => $_setInt64(0, value);
@$pb.TagNumber(1) @$pb.TagNumber(1)
$core.bool hasValue() => $_has(0); $core.bool hasValue() => $_has(0);
@$pb.TagNumber(1) @$pb.TagNumber(1)
void clearValue() => $_clearField(1); void clearValue() => $_clearField(1);
} }
/// Wrapper message for `uint64`. /// Wrapper message for `uint64`.
/// ///
/// The JSON representation for `UInt64Value` is JSON string. /// The JSON representation for `UInt64Value` is JSON string.
///
/// Not recommended for use in new APIs, but still useful for legacy APIs and
/// has no plan to be removed.
class UInt64Value extends $pb.GeneratedMessage with $mixin.UInt64ValueMixin { class UInt64Value extends $pb.GeneratedMessage with $mixin.UInt64ValueMixin {
factory UInt64Value({ factory UInt64Value({
$fixnum.Int64? value, $fixnum.Int64? value,
}) { }) {
final $result = create(); final result = create();
if (value != null) { if (value != null) result.value = value;
$result.value = value; return result;
}
return $result;
} }
UInt64Value._() : super();
factory UInt64Value.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); UInt64Value._();
factory UInt64Value.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
factory UInt64Value.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory UInt64Value.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UInt64Value', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create, toProto3Json: $mixin.UInt64ValueMixin.toProto3JsonHelper, fromProto3Json: $mixin.UInt64ValueMixin.fromProto3JsonHelper) static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UInt64Value', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create, toProto3Json: $mixin.UInt64ValueMixin.toProto3JsonHelper, fromProto3Json: $mixin.UInt64ValueMixin.fromProto3JsonHelper)
..a<$fixnum.Int64>(1, _omitFieldNames ? '' : 'value', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) ..a<$fixnum.Int64>(1, _omitFieldNames ? '' : 'value', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO)
..hasRequiredFields = false ..hasRequiredFields = false
; ;
@$core.Deprecated( @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
'Will be removed in next major version')
UInt64Value clone() => UInt64Value()..mergeFromMessage(this); UInt64Value clone() => UInt64Value()..mergeFromMessage(this);
@$core.Deprecated( @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
'Will be removed in next major version')
UInt64Value copyWith(void Function(UInt64Value) updates) => super.copyWith((message) => updates(message as UInt64Value)) as UInt64Value; UInt64Value copyWith(void Function(UInt64Value) updates) => super.copyWith((message) => updates(message as UInt64Value)) as UInt64Value;
@$core.override
$pb.BuilderInfo get info_ => _i; $pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline') @$core.pragma('dart2js:noInline')
static UInt64Value create() => UInt64Value._(); static UInt64Value create() => UInt64Value._();
@$core.override
UInt64Value createEmptyInstance() => create(); UInt64Value createEmptyInstance() => create();
static $pb.PbList<UInt64Value> createRepeated() => $pb.PbList<UInt64Value>(); static $pb.PbList<UInt64Value> createRepeated() => $pb.PbList<UInt64Value>();
@$core.pragma('dart2js:noInline') @$core.pragma('dart2js:noInline')
@@ -226,50 +224,49 @@ class UInt64Value extends $pb.GeneratedMessage with $mixin.UInt64ValueMixin {
@$pb.TagNumber(1) @$pb.TagNumber(1)
$fixnum.Int64 get value => $_getI64(0); $fixnum.Int64 get value => $_getI64(0);
@$pb.TagNumber(1) @$pb.TagNumber(1)
set value($fixnum.Int64 v) { $_setInt64(0, v); } set value($fixnum.Int64 value) => $_setInt64(0, value);
@$pb.TagNumber(1) @$pb.TagNumber(1)
$core.bool hasValue() => $_has(0); $core.bool hasValue() => $_has(0);
@$pb.TagNumber(1) @$pb.TagNumber(1)
void clearValue() => $_clearField(1); void clearValue() => $_clearField(1);
} }
/// Wrapper message for `int32`. /// Wrapper message for `int32`.
/// ///
/// The JSON representation for `Int32Value` is JSON number. /// The JSON representation for `Int32Value` is JSON number.
///
/// Not recommended for use in new APIs, but still useful for legacy APIs and
/// has no plan to be removed.
class Int32Value extends $pb.GeneratedMessage with $mixin.Int32ValueMixin { class Int32Value extends $pb.GeneratedMessage with $mixin.Int32ValueMixin {
factory Int32Value({ factory Int32Value({
$core.int? value, $core.int? value,
}) { }) {
final $result = create(); final result = create();
if (value != null) { if (value != null) result.value = value;
$result.value = value; return result;
}
return $result;
} }
Int32Value._() : super();
factory Int32Value.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); Int32Value._();
factory Int32Value.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
factory Int32Value.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory Int32Value.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Int32Value', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create, toProto3Json: $mixin.Int32ValueMixin.toProto3JsonHelper, fromProto3Json: $mixin.Int32ValueMixin.fromProto3JsonHelper) static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Int32Value', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create, toProto3Json: $mixin.Int32ValueMixin.toProto3JsonHelper, fromProto3Json: $mixin.Int32ValueMixin.fromProto3JsonHelper)
..a<$core.int>(1, _omitFieldNames ? '' : 'value', $pb.PbFieldType.O3) ..a<$core.int>(1, _omitFieldNames ? '' : 'value', $pb.PbFieldType.O3)
..hasRequiredFields = false ..hasRequiredFields = false
; ;
@$core.Deprecated( @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
'Will be removed in next major version')
Int32Value clone() => Int32Value()..mergeFromMessage(this); Int32Value clone() => Int32Value()..mergeFromMessage(this);
@$core.Deprecated( @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
'Will be removed in next major version')
Int32Value copyWith(void Function(Int32Value) updates) => super.copyWith((message) => updates(message as Int32Value)) as Int32Value; Int32Value copyWith(void Function(Int32Value) updates) => super.copyWith((message) => updates(message as Int32Value)) as Int32Value;
@$core.override
$pb.BuilderInfo get info_ => _i; $pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline') @$core.pragma('dart2js:noInline')
static Int32Value create() => Int32Value._(); static Int32Value create() => Int32Value._();
@$core.override
Int32Value createEmptyInstance() => create(); Int32Value createEmptyInstance() => create();
static $pb.PbList<Int32Value> createRepeated() => $pb.PbList<Int32Value>(); static $pb.PbList<Int32Value> createRepeated() => $pb.PbList<Int32Value>();
@$core.pragma('dart2js:noInline') @$core.pragma('dart2js:noInline')
@@ -280,50 +277,49 @@ class Int32Value extends $pb.GeneratedMessage with $mixin.Int32ValueMixin {
@$pb.TagNumber(1) @$pb.TagNumber(1)
$core.int get value => $_getIZ(0); $core.int get value => $_getIZ(0);
@$pb.TagNumber(1) @$pb.TagNumber(1)
set value($core.int v) { $_setSignedInt32(0, v); } set value($core.int value) => $_setSignedInt32(0, value);
@$pb.TagNumber(1) @$pb.TagNumber(1)
$core.bool hasValue() => $_has(0); $core.bool hasValue() => $_has(0);
@$pb.TagNumber(1) @$pb.TagNumber(1)
void clearValue() => $_clearField(1); void clearValue() => $_clearField(1);
} }
/// Wrapper message for `uint32`. /// Wrapper message for `uint32`.
/// ///
/// The JSON representation for `UInt32Value` is JSON number. /// The JSON representation for `UInt32Value` is JSON number.
///
/// Not recommended for use in new APIs, but still useful for legacy APIs and
/// has no plan to be removed.
class UInt32Value extends $pb.GeneratedMessage with $mixin.UInt32ValueMixin { class UInt32Value extends $pb.GeneratedMessage with $mixin.UInt32ValueMixin {
factory UInt32Value({ factory UInt32Value({
$core.int? value, $core.int? value,
}) { }) {
final $result = create(); final result = create();
if (value != null) { if (value != null) result.value = value;
$result.value = value; return result;
}
return $result;
} }
UInt32Value._() : super();
factory UInt32Value.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); UInt32Value._();
factory UInt32Value.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
factory UInt32Value.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory UInt32Value.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UInt32Value', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create, toProto3Json: $mixin.UInt32ValueMixin.toProto3JsonHelper, fromProto3Json: $mixin.UInt32ValueMixin.fromProto3JsonHelper) static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UInt32Value', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create, toProto3Json: $mixin.UInt32ValueMixin.toProto3JsonHelper, fromProto3Json: $mixin.UInt32ValueMixin.fromProto3JsonHelper)
..a<$core.int>(1, _omitFieldNames ? '' : 'value', $pb.PbFieldType.OU3) ..a<$core.int>(1, _omitFieldNames ? '' : 'value', $pb.PbFieldType.OU3)
..hasRequiredFields = false ..hasRequiredFields = false
; ;
@$core.Deprecated( @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
'Will be removed in next major version')
UInt32Value clone() => UInt32Value()..mergeFromMessage(this); UInt32Value clone() => UInt32Value()..mergeFromMessage(this);
@$core.Deprecated( @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
'Will be removed in next major version')
UInt32Value copyWith(void Function(UInt32Value) updates) => super.copyWith((message) => updates(message as UInt32Value)) as UInt32Value; UInt32Value copyWith(void Function(UInt32Value) updates) => super.copyWith((message) => updates(message as UInt32Value)) as UInt32Value;
@$core.override
$pb.BuilderInfo get info_ => _i; $pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline') @$core.pragma('dart2js:noInline')
static UInt32Value create() => UInt32Value._(); static UInt32Value create() => UInt32Value._();
@$core.override
UInt32Value createEmptyInstance() => create(); UInt32Value createEmptyInstance() => create();
static $pb.PbList<UInt32Value> createRepeated() => $pb.PbList<UInt32Value>(); static $pb.PbList<UInt32Value> createRepeated() => $pb.PbList<UInt32Value>();
@$core.pragma('dart2js:noInline') @$core.pragma('dart2js:noInline')
@@ -334,50 +330,49 @@ class UInt32Value extends $pb.GeneratedMessage with $mixin.UInt32ValueMixin {
@$pb.TagNumber(1) @$pb.TagNumber(1)
$core.int get value => $_getIZ(0); $core.int get value => $_getIZ(0);
@$pb.TagNumber(1) @$pb.TagNumber(1)
set value($core.int v) { $_setUnsignedInt32(0, v); } set value($core.int value) => $_setUnsignedInt32(0, value);
@$pb.TagNumber(1) @$pb.TagNumber(1)
$core.bool hasValue() => $_has(0); $core.bool hasValue() => $_has(0);
@$pb.TagNumber(1) @$pb.TagNumber(1)
void clearValue() => $_clearField(1); void clearValue() => $_clearField(1);
} }
/// Wrapper message for `bool`. /// Wrapper message for `bool`.
/// ///
/// The JSON representation for `BoolValue` is JSON `true` and `false`. /// The JSON representation for `BoolValue` is JSON `true` and `false`.
///
/// Not recommended for use in new APIs, but still useful for legacy APIs and
/// has no plan to be removed.
class BoolValue extends $pb.GeneratedMessage with $mixin.BoolValueMixin { class BoolValue extends $pb.GeneratedMessage with $mixin.BoolValueMixin {
factory BoolValue({ factory BoolValue({
$core.bool? value, $core.bool? value,
}) { }) {
final $result = create(); final result = create();
if (value != null) { if (value != null) result.value = value;
$result.value = value; return result;
}
return $result;
} }
BoolValue._() : super();
factory BoolValue.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); BoolValue._();
factory BoolValue.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
factory BoolValue.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory BoolValue.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'BoolValue', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create, toProto3Json: $mixin.BoolValueMixin.toProto3JsonHelper, fromProto3Json: $mixin.BoolValueMixin.fromProto3JsonHelper) static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'BoolValue', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create, toProto3Json: $mixin.BoolValueMixin.toProto3JsonHelper, fromProto3Json: $mixin.BoolValueMixin.fromProto3JsonHelper)
..aOB(1, _omitFieldNames ? '' : 'value') ..aOB(1, _omitFieldNames ? '' : 'value')
..hasRequiredFields = false ..hasRequiredFields = false
; ;
@$core.Deprecated( @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
'Will be removed in next major version')
BoolValue clone() => BoolValue()..mergeFromMessage(this); BoolValue clone() => BoolValue()..mergeFromMessage(this);
@$core.Deprecated( @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
'Will be removed in next major version')
BoolValue copyWith(void Function(BoolValue) updates) => super.copyWith((message) => updates(message as BoolValue)) as BoolValue; BoolValue copyWith(void Function(BoolValue) updates) => super.copyWith((message) => updates(message as BoolValue)) as BoolValue;
@$core.override
$pb.BuilderInfo get info_ => _i; $pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline') @$core.pragma('dart2js:noInline')
static BoolValue create() => BoolValue._(); static BoolValue create() => BoolValue._();
@$core.override
BoolValue createEmptyInstance() => create(); BoolValue createEmptyInstance() => create();
static $pb.PbList<BoolValue> createRepeated() => $pb.PbList<BoolValue>(); static $pb.PbList<BoolValue> createRepeated() => $pb.PbList<BoolValue>();
@$core.pragma('dart2js:noInline') @$core.pragma('dart2js:noInline')
@@ -388,50 +383,49 @@ class BoolValue extends $pb.GeneratedMessage with $mixin.BoolValueMixin {
@$pb.TagNumber(1) @$pb.TagNumber(1)
$core.bool get value => $_getBF(0); $core.bool get value => $_getBF(0);
@$pb.TagNumber(1) @$pb.TagNumber(1)
set value($core.bool v) { $_setBool(0, v); } set value($core.bool value) => $_setBool(0, value);
@$pb.TagNumber(1) @$pb.TagNumber(1)
$core.bool hasValue() => $_has(0); $core.bool hasValue() => $_has(0);
@$pb.TagNumber(1) @$pb.TagNumber(1)
void clearValue() => $_clearField(1); void clearValue() => $_clearField(1);
} }
/// Wrapper message for `string`. /// Wrapper message for `string`.
/// ///
/// The JSON representation for `StringValue` is JSON string. /// The JSON representation for `StringValue` is JSON string.
///
/// Not recommended for use in new APIs, but still useful for legacy APIs and
/// has no plan to be removed.
class StringValue extends $pb.GeneratedMessage with $mixin.StringValueMixin { class StringValue extends $pb.GeneratedMessage with $mixin.StringValueMixin {
factory StringValue({ factory StringValue({
$core.String? value, $core.String? value,
}) { }) {
final $result = create(); final result = create();
if (value != null) { if (value != null) result.value = value;
$result.value = value; return result;
}
return $result;
} }
StringValue._() : super();
factory StringValue.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); StringValue._();
factory StringValue.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
factory StringValue.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory StringValue.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'StringValue', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create, toProto3Json: $mixin.StringValueMixin.toProto3JsonHelper, fromProto3Json: $mixin.StringValueMixin.fromProto3JsonHelper) static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'StringValue', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create, toProto3Json: $mixin.StringValueMixin.toProto3JsonHelper, fromProto3Json: $mixin.StringValueMixin.fromProto3JsonHelper)
..aOS(1, _omitFieldNames ? '' : 'value') ..aOS(1, _omitFieldNames ? '' : 'value')
..hasRequiredFields = false ..hasRequiredFields = false
; ;
@$core.Deprecated( @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
'Will be removed in next major version')
StringValue clone() => StringValue()..mergeFromMessage(this); StringValue clone() => StringValue()..mergeFromMessage(this);
@$core.Deprecated( @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
'Will be removed in next major version')
StringValue copyWith(void Function(StringValue) updates) => super.copyWith((message) => updates(message as StringValue)) as StringValue; StringValue copyWith(void Function(StringValue) updates) => super.copyWith((message) => updates(message as StringValue)) as StringValue;
@$core.override
$pb.BuilderInfo get info_ => _i; $pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline') @$core.pragma('dart2js:noInline')
static StringValue create() => StringValue._(); static StringValue create() => StringValue._();
@$core.override
StringValue createEmptyInstance() => create(); StringValue createEmptyInstance() => create();
static $pb.PbList<StringValue> createRepeated() => $pb.PbList<StringValue>(); static $pb.PbList<StringValue> createRepeated() => $pb.PbList<StringValue>();
@$core.pragma('dart2js:noInline') @$core.pragma('dart2js:noInline')
@@ -442,50 +436,49 @@ class StringValue extends $pb.GeneratedMessage with $mixin.StringValueMixin {
@$pb.TagNumber(1) @$pb.TagNumber(1)
$core.String get value => $_getSZ(0); $core.String get value => $_getSZ(0);
@$pb.TagNumber(1) @$pb.TagNumber(1)
set value($core.String v) { $_setString(0, v); } set value($core.String value) => $_setString(0, value);
@$pb.TagNumber(1) @$pb.TagNumber(1)
$core.bool hasValue() => $_has(0); $core.bool hasValue() => $_has(0);
@$pb.TagNumber(1) @$pb.TagNumber(1)
void clearValue() => $_clearField(1); void clearValue() => $_clearField(1);
} }
/// Wrapper message for `bytes`. /// Wrapper message for `bytes`.
/// ///
/// The JSON representation for `BytesValue` is JSON string. /// The JSON representation for `BytesValue` is JSON string.
///
/// Not recommended for use in new APIs, but still useful for legacy APIs and
/// has no plan to be removed.
class BytesValue extends $pb.GeneratedMessage with $mixin.BytesValueMixin { class BytesValue extends $pb.GeneratedMessage with $mixin.BytesValueMixin {
factory BytesValue({ factory BytesValue({
$core.List<$core.int>? value, $core.List<$core.int>? value,
}) { }) {
final $result = create(); final result = create();
if (value != null) { if (value != null) result.value = value;
$result.value = value; return result;
}
return $result;
} }
BytesValue._() : super();
factory BytesValue.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); BytesValue._();
factory BytesValue.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
factory BytesValue.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory BytesValue.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'BytesValue', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create, toProto3Json: $mixin.BytesValueMixin.toProto3JsonHelper, fromProto3Json: $mixin.BytesValueMixin.fromProto3JsonHelper) static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'BytesValue', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create, toProto3Json: $mixin.BytesValueMixin.toProto3JsonHelper, fromProto3Json: $mixin.BytesValueMixin.fromProto3JsonHelper)
..a<$core.List<$core.int>>(1, _omitFieldNames ? '' : 'value', $pb.PbFieldType.OY) ..a<$core.List<$core.int>>(1, _omitFieldNames ? '' : 'value', $pb.PbFieldType.OY)
..hasRequiredFields = false ..hasRequiredFields = false
; ;
@$core.Deprecated( @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
'Will be removed in next major version')
BytesValue clone() => BytesValue()..mergeFromMessage(this); BytesValue clone() => BytesValue()..mergeFromMessage(this);
@$core.Deprecated( @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
'Will be removed in next major version')
BytesValue copyWith(void Function(BytesValue) updates) => super.copyWith((message) => updates(message as BytesValue)) as BytesValue; BytesValue copyWith(void Function(BytesValue) updates) => super.copyWith((message) => updates(message as BytesValue)) as BytesValue;
@$core.override
$pb.BuilderInfo get info_ => _i; $pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline') @$core.pragma('dart2js:noInline')
static BytesValue create() => BytesValue._(); static BytesValue create() => BytesValue._();
@$core.override
BytesValue createEmptyInstance() => create(); BytesValue createEmptyInstance() => create();
static $pb.PbList<BytesValue> createRepeated() => $pb.PbList<BytesValue>(); static $pb.PbList<BytesValue> createRepeated() => $pb.PbList<BytesValue>();
@$core.pragma('dart2js:noInline') @$core.pragma('dart2js:noInline')
@@ -496,7 +489,7 @@ class BytesValue extends $pb.GeneratedMessage with $mixin.BytesValueMixin {
@$pb.TagNumber(1) @$pb.TagNumber(1)
$core.List<$core.int> get value => $_getN(0); $core.List<$core.int> get value => $_getN(0);
@$pb.TagNumber(1) @$pb.TagNumber(1)
set value($core.List<$core.int> v) { $_setBytes(0, v); } set value($core.List<$core.int> value) => $_setBytes(0, value);
@$pb.TagNumber(1) @$pb.TagNumber(1)
$core.bool hasValue() => $_has(0); $core.bool hasValue() => $_has(0);
@$pb.TagNumber(1) @$pb.TagNumber(1)
@@ -504,5 +497,5 @@ class BytesValue extends $pb.GeneratedMessage with $mixin.BytesValueMixin {
} }
const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); const $core.bool _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names');
const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); const $core.bool _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names');

View File

@@ -1,11 +1,12 @@
// This is a generated file - do not edit.
// //
// Generated code. Do not modify. // Generated from google/protobuf/wrappers.proto.
// source: google/protobuf/wrappers.proto
//
// @dart = 3.3 // @dart = 3.3
// ignore_for_file: annotate_overrides, camel_case_types, comment_references // ignore_for_file: annotate_overrides, camel_case_types, comment_references
// ignore_for_file: constant_identifier_names, library_prefixes // ignore_for_file: constant_identifier_names
// ignore_for_file: non_constant_identifier_names, prefer_final_fields // ignore_for_file: curly_braces_in_flow_control_structures
// ignore_for_file: unnecessary_import, unnecessary_this, unused_import // ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
// ignore_for_file: non_constant_identifier_names

View File

@@ -1,13 +1,14 @@
// This is a generated file - do not edit.
// //
// Generated code. Do not modify. // Generated from google/protobuf/wrappers.proto.
// source: google/protobuf/wrappers.proto
//
// @dart = 3.3 // @dart = 3.3
// ignore_for_file: annotate_overrides, camel_case_types, comment_references // ignore_for_file: annotate_overrides, camel_case_types, comment_references
// ignore_for_file: constant_identifier_names, library_prefixes // ignore_for_file: constant_identifier_names
// ignore_for_file: non_constant_identifier_names, prefer_final_fields // ignore_for_file: curly_braces_in_flow_control_structures
// ignore_for_file: unnecessary_import, unnecessary_this, unused_import // ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
// ignore_for_file: non_constant_identifier_names, unused_import
import 'dart:convert' as $convert; import 'dart:convert' as $convert;
import 'dart:core' as $core; import 'dart:core' as $core;

View File

@@ -1,13 +1,14 @@
// This is a generated file - do not edit.
// //
// Generated code. Do not modify. // Generated from google/rpc/code.proto.
// source: google/rpc/code.proto
//
// @dart = 3.3 // @dart = 3.3
// ignore_for_file: annotate_overrides, camel_case_types, comment_references // ignore_for_file: annotate_overrides, camel_case_types, comment_references
// ignore_for_file: constant_identifier_names, library_prefixes // ignore_for_file: constant_identifier_names
// ignore_for_file: non_constant_identifier_names, prefer_final_fields // ignore_for_file: curly_braces_in_flow_control_structures
// ignore_for_file: unnecessary_import, unnecessary_this, unused_import // ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
// ignore_for_file: non_constant_identifier_names
import 'dart:core' as $core; import 'dart:core' as $core;

View File

@@ -1,161 +1,162 @@
// This is a generated file - do not edit.
// //
// Generated code. Do not modify. // Generated from google/rpc/code.proto.
// source: google/rpc/code.proto
//
// @dart = 3.3 // @dart = 3.3
// ignore_for_file: annotate_overrides, camel_case_types, comment_references // ignore_for_file: annotate_overrides, camel_case_types, comment_references
// ignore_for_file: constant_identifier_names, library_prefixes // ignore_for_file: constant_identifier_names
// ignore_for_file: non_constant_identifier_names, prefer_final_fields // ignore_for_file: curly_braces_in_flow_control_structures
// ignore_for_file: unnecessary_import, unnecessary_this, unused_import // ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
// ignore_for_file: non_constant_identifier_names
import 'dart:core' as $core; import 'dart:core' as $core;
import 'package:protobuf/protobuf.dart' as $pb; import 'package:protobuf/protobuf.dart' as $pb;
/// The canonical error codes for Google APIs. /// The canonical error codes for Google APIs.
/// ///
/// ///
/// Sometimes multiple error codes may apply. Services should return /// Sometimes multiple error codes may apply. Services should return
/// the most specific error code that applies. For example, prefer /// the most specific error code that applies. For example, prefer
/// `OUT_OF_RANGE` over `FAILED_PRECONDITION` if both codes apply. /// `OUT_OF_RANGE` over `FAILED_PRECONDITION` if both codes apply.
/// Similarly prefer `NOT_FOUND` or `ALREADY_EXISTS` over `FAILED_PRECONDITION`. /// Similarly prefer `NOT_FOUND` or `ALREADY_EXISTS` over `FAILED_PRECONDITION`.
class Code extends $pb.ProtobufEnum { class Code extends $pb.ProtobufEnum {
/// Not an error; returned on success /// Not an error; returned on success
/// ///
/// HTTP Mapping: 200 OK /// HTTP Mapping: 200 OK
static const Code OK = Code._(0, _omitEnumNames ? '' : 'OK'); static const Code OK = Code._(0, _omitEnumNames ? '' : 'OK');
/// The operation was cancelled, typically by the caller. /// The operation was cancelled, typically by the caller.
/// ///
/// HTTP Mapping: 499 Client Closed Request /// HTTP Mapping: 499 Client Closed Request
static const Code CANCELLED = Code._(1, _omitEnumNames ? '' : 'CANCELLED'); static const Code CANCELLED = Code._(1, _omitEnumNames ? '' : 'CANCELLED');
/// Unknown error. For example, this error may be returned when /// Unknown error. For example, this error may be returned when
/// a `Status` value received from another address space belongs to /// a `Status` value received from another address space belongs to
/// an error space that is not known in this address space. Also /// an error space that is not known in this address space. Also
/// errors raised by APIs that do not return enough error information /// errors raised by APIs that do not return enough error information
/// may be converted to this error. /// may be converted to this error.
/// ///
/// HTTP Mapping: 500 Internal Server Error /// HTTP Mapping: 500 Internal Server Error
static const Code UNKNOWN = Code._(2, _omitEnumNames ? '' : 'UNKNOWN'); static const Code UNKNOWN = Code._(2, _omitEnumNames ? '' : 'UNKNOWN');
/// The client specified an invalid argument. Note that this differs /// The client specified an invalid argument. Note that this differs
/// from `FAILED_PRECONDITION`. `INVALID_ARGUMENT` indicates arguments /// from `FAILED_PRECONDITION`. `INVALID_ARGUMENT` indicates arguments
/// that are problematic regardless of the state of the system /// that are problematic regardless of the state of the system
/// (e.g., a malformed file name). /// (e.g., a malformed file name).
/// ///
/// HTTP Mapping: 400 Bad Request /// HTTP Mapping: 400 Bad Request
static const Code INVALID_ARGUMENT = Code._(3, _omitEnumNames ? '' : 'INVALID_ARGUMENT'); static const Code INVALID_ARGUMENT = Code._(3, _omitEnumNames ? '' : 'INVALID_ARGUMENT');
/// The deadline expired before the operation could complete. For operations /// The deadline expired before the operation could complete. For operations
/// that change the state of the system, this error may be returned /// that change the state of the system, this error may be returned
/// even if the operation has completed successfully. For example, a /// even if the operation has completed successfully. For example, a
/// successful response from a server could have been delayed long /// successful response from a server could have been delayed long
/// enough for the deadline to expire. /// enough for the deadline to expire.
/// ///
/// HTTP Mapping: 504 Gateway Timeout /// HTTP Mapping: 504 Gateway Timeout
static const Code DEADLINE_EXCEEDED = Code._(4, _omitEnumNames ? '' : 'DEADLINE_EXCEEDED'); static const Code DEADLINE_EXCEEDED = Code._(4, _omitEnumNames ? '' : 'DEADLINE_EXCEEDED');
/// Some requested entity (e.g., file or directory) was not found. /// Some requested entity (e.g., file or directory) was not found.
/// ///
/// Note to server developers: if a request is denied for an entire class /// Note to server developers: if a request is denied for an entire class
/// of users, such as gradual feature rollout or undocumented whitelist, /// of users, such as gradual feature rollout or undocumented whitelist,
/// `NOT_FOUND` may be used. If a request is denied for some users within /// `NOT_FOUND` may be used. If a request is denied for some users within
/// a class of users, such as user-based access control, `PERMISSION_DENIED` /// a class of users, such as user-based access control, `PERMISSION_DENIED`
/// must be used. /// must be used.
/// ///
/// HTTP Mapping: 404 Not Found /// HTTP Mapping: 404 Not Found
static const Code NOT_FOUND = Code._(5, _omitEnumNames ? '' : 'NOT_FOUND'); static const Code NOT_FOUND = Code._(5, _omitEnumNames ? '' : 'NOT_FOUND');
/// The entity that a client attempted to create (e.g., file or directory) /// The entity that a client attempted to create (e.g., file or directory)
/// already exists. /// already exists.
/// ///
/// HTTP Mapping: 409 Conflict /// HTTP Mapping: 409 Conflict
static const Code ALREADY_EXISTS = Code._(6, _omitEnumNames ? '' : 'ALREADY_EXISTS'); static const Code ALREADY_EXISTS = Code._(6, _omitEnumNames ? '' : 'ALREADY_EXISTS');
/// The caller does not have permission to execute the specified /// The caller does not have permission to execute the specified
/// operation. `PERMISSION_DENIED` must not be used for rejections /// operation. `PERMISSION_DENIED` must not be used for rejections
/// caused by exhausting some resource (use `RESOURCE_EXHAUSTED` /// caused by exhausting some resource (use `RESOURCE_EXHAUSTED`
/// instead for those errors). `PERMISSION_DENIED` must not be /// instead for those errors). `PERMISSION_DENIED` must not be
/// used if the caller can not be identified (use `UNAUTHENTICATED` /// used if the caller can not be identified (use `UNAUTHENTICATED`
/// instead for those errors). This error code does not imply the /// instead for those errors). This error code does not imply the
/// request is valid or the requested entity exists or satisfies /// request is valid or the requested entity exists or satisfies
/// other pre-conditions. /// other pre-conditions.
/// ///
/// HTTP Mapping: 403 Forbidden /// HTTP Mapping: 403 Forbidden
static const Code PERMISSION_DENIED = Code._(7, _omitEnumNames ? '' : 'PERMISSION_DENIED'); static const Code PERMISSION_DENIED = Code._(7, _omitEnumNames ? '' : 'PERMISSION_DENIED');
/// The request does not have valid authentication credentials for the /// The request does not have valid authentication credentials for the
/// operation. /// operation.
/// ///
/// HTTP Mapping: 401 Unauthorized /// HTTP Mapping: 401 Unauthorized
static const Code UNAUTHENTICATED = Code._(16, _omitEnumNames ? '' : 'UNAUTHENTICATED'); static const Code UNAUTHENTICATED = Code._(16, _omitEnumNames ? '' : 'UNAUTHENTICATED');
/// Some resource has been exhausted, perhaps a per-user quota, or /// Some resource has been exhausted, perhaps a per-user quota, or
/// perhaps the entire file system is out of space. /// perhaps the entire file system is out of space.
/// ///
/// HTTP Mapping: 429 Too Many Requests /// HTTP Mapping: 429 Too Many Requests
static const Code RESOURCE_EXHAUSTED = Code._(8, _omitEnumNames ? '' : 'RESOURCE_EXHAUSTED'); static const Code RESOURCE_EXHAUSTED = Code._(8, _omitEnumNames ? '' : 'RESOURCE_EXHAUSTED');
/// The operation was rejected because the system is not in a state /// The operation was rejected because the system is not in a state
/// required for the operation's execution. For example, the directory /// required for the operation's execution. For example, the directory
/// to be deleted is non-empty, an rmdir operation is applied to /// to be deleted is non-empty, an rmdir operation is applied to
/// a non-directory, etc. /// a non-directory, etc.
/// ///
/// Service implementors can use the following guidelines to decide /// Service implementors can use the following guidelines to decide
/// between `FAILED_PRECONDITION`, `ABORTED`, and `UNAVAILABLE`: /// between `FAILED_PRECONDITION`, `ABORTED`, and `UNAVAILABLE`:
/// (a) Use `UNAVAILABLE` if the client can retry just the failing call. /// (a) Use `UNAVAILABLE` if the client can retry just the failing call.
/// (b) Use `ABORTED` if the client should retry at a higher level /// (b) Use `ABORTED` if the client should retry at a higher level
/// (e.g., when a client-specified test-and-set fails, indicating the /// (e.g., when a client-specified test-and-set fails, indicating the
/// client should restart a read-modify-write sequence). /// client should restart a read-modify-write sequence).
/// (c) Use `FAILED_PRECONDITION` if the client should not retry until /// (c) Use `FAILED_PRECONDITION` if the client should not retry until
/// the system state has been explicitly fixed. E.g., if an "rmdir" /// the system state has been explicitly fixed. E.g., if an "rmdir"
/// fails because the directory is non-empty, `FAILED_PRECONDITION` /// fails because the directory is non-empty, `FAILED_PRECONDITION`
/// should be returned since the client should not retry unless /// should be returned since the client should not retry unless
/// the files are deleted from the directory. /// the files are deleted from the directory.
/// ///
/// HTTP Mapping: 400 Bad Request /// HTTP Mapping: 400 Bad Request
static const Code FAILED_PRECONDITION = Code._(9, _omitEnumNames ? '' : 'FAILED_PRECONDITION'); static const Code FAILED_PRECONDITION = Code._(9, _omitEnumNames ? '' : 'FAILED_PRECONDITION');
/// The operation was aborted, typically due to a concurrency issue such as /// The operation was aborted, typically due to a concurrency issue such as
/// a sequencer check failure or transaction abort. /// a sequencer check failure or transaction abort.
/// ///
/// See the guidelines above for deciding between `FAILED_PRECONDITION`, /// See the guidelines above for deciding between `FAILED_PRECONDITION`,
/// `ABORTED`, and `UNAVAILABLE`. /// `ABORTED`, and `UNAVAILABLE`.
/// ///
/// HTTP Mapping: 409 Conflict /// HTTP Mapping: 409 Conflict
static const Code ABORTED = Code._(10, _omitEnumNames ? '' : 'ABORTED'); static const Code ABORTED = Code._(10, _omitEnumNames ? '' : 'ABORTED');
/// The operation was attempted past the valid range. E.g., seeking or /// The operation was attempted past the valid range. E.g., seeking or
/// reading past end-of-file. /// reading past end-of-file.
/// ///
/// Unlike `INVALID_ARGUMENT`, this error indicates a problem that may /// Unlike `INVALID_ARGUMENT`, this error indicates a problem that may
/// be fixed if the system state changes. For example, a 32-bit file /// be fixed if the system state changes. For example, a 32-bit file
/// system will generate `INVALID_ARGUMENT` if asked to read at an /// system will generate `INVALID_ARGUMENT` if asked to read at an
/// offset that is not in the range [0,2^32-1], but it will generate /// offset that is not in the range [0,2^32-1], but it will generate
/// `OUT_OF_RANGE` if asked to read from an offset past the current /// `OUT_OF_RANGE` if asked to read from an offset past the current
/// file size. /// file size.
/// ///
/// There is a fair bit of overlap between `FAILED_PRECONDITION` and /// There is a fair bit of overlap between `FAILED_PRECONDITION` and
/// `OUT_OF_RANGE`. We recommend using `OUT_OF_RANGE` (the more specific /// `OUT_OF_RANGE`. We recommend using `OUT_OF_RANGE` (the more specific
/// error) when it applies so that callers who are iterating through /// error) when it applies so that callers who are iterating through
/// a space can easily look for an `OUT_OF_RANGE` error to detect when /// a space can easily look for an `OUT_OF_RANGE` error to detect when
/// they are done. /// they are done.
/// ///
/// HTTP Mapping: 400 Bad Request /// HTTP Mapping: 400 Bad Request
static const Code OUT_OF_RANGE = Code._(11, _omitEnumNames ? '' : 'OUT_OF_RANGE'); static const Code OUT_OF_RANGE = Code._(11, _omitEnumNames ? '' : 'OUT_OF_RANGE');
/// The operation is not implemented or is not supported/enabled in this /// The operation is not implemented or is not supported/enabled in this
/// service. /// service.
/// ///
/// HTTP Mapping: 501 Not Implemented /// HTTP Mapping: 501 Not Implemented
static const Code UNIMPLEMENTED = Code._(12, _omitEnumNames ? '' : 'UNIMPLEMENTED'); static const Code UNIMPLEMENTED = Code._(12, _omitEnumNames ? '' : 'UNIMPLEMENTED');
/// Internal errors. This means that some invariants expected by the /// Internal errors. This means that some invariants expected by the
/// underlying system have been broken. This error code is reserved /// underlying system have been broken. This error code is reserved
/// for serious errors. /// for serious errors.
/// ///
/// HTTP Mapping: 500 Internal Server Error /// HTTP Mapping: 500 Internal Server Error
static const Code INTERNAL = Code._(13, _omitEnumNames ? '' : 'INTERNAL'); static const Code INTERNAL = Code._(13, _omitEnumNames ? '' : 'INTERNAL');
/// The service is currently unavailable. This is most likely a /// The service is currently unavailable. This is most likely a
/// transient condition, which can be corrected by retrying with /// transient condition, which can be corrected by retrying with
/// a backoff. /// a backoff.
/// ///
/// See the guidelines above for deciding between `FAILED_PRECONDITION`, /// See the guidelines above for deciding between `FAILED_PRECONDITION`,
/// `ABORTED`, and `UNAVAILABLE`. /// `ABORTED`, and `UNAVAILABLE`.
/// ///
/// HTTP Mapping: 503 Service Unavailable /// HTTP Mapping: 503 Service Unavailable
static const Code UNAVAILABLE = Code._(14, _omitEnumNames ? '' : 'UNAVAILABLE'); static const Code UNAVAILABLE = Code._(14, _omitEnumNames ? '' : 'UNAVAILABLE');
/// Unrecoverable data loss or corruption. /// Unrecoverable data loss or corruption.
/// ///
/// HTTP Mapping: 500 Internal Server Error /// HTTP Mapping: 500 Internal Server Error
static const Code DATA_LOSS = Code._(15, _omitEnumNames ? '' : 'DATA_LOSS'); static const Code DATA_LOSS = Code._(15, _omitEnumNames ? '' : 'DATA_LOSS');
static const $core.List<Code> values = <Code> [ static const $core.List<Code> values = <Code> [
@@ -178,11 +179,11 @@ class Code extends $pb.ProtobufEnum {
DATA_LOSS, DATA_LOSS,
]; ];
static final $core.Map<$core.int, Code> _byValue = $pb.ProtobufEnum.initByValue(values); static final $core.List<Code?> _byValue = $pb.ProtobufEnum.$_initByValueList(values, 16);
static Code? valueOf($core.int value) => _byValue[value]; static Code? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value];
const Code._(super.v, super.n); const Code._(super.value, super.name);
} }
const _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names'); const $core.bool _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names');

View File

@@ -1,13 +1,14 @@
// This is a generated file - do not edit.
// //
// Generated code. Do not modify. // Generated from google/rpc/code.proto.
// source: google/rpc/code.proto
//
// @dart = 3.3 // @dart = 3.3
// ignore_for_file: annotate_overrides, camel_case_types, comment_references // ignore_for_file: annotate_overrides, camel_case_types, comment_references
// ignore_for_file: constant_identifier_names, library_prefixes // ignore_for_file: constant_identifier_names
// ignore_for_file: non_constant_identifier_names, prefer_final_fields // ignore_for_file: curly_braces_in_flow_control_structures
// ignore_for_file: unnecessary_import, unnecessary_this, unused_import // ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
// ignore_for_file: non_constant_identifier_names, unused_import
import 'dart:convert' as $convert; import 'dart:convert' as $convert;
import 'dart:core' as $core; import 'dart:core' as $core;

View File

@@ -1,69 +1,66 @@
// This is a generated file - do not edit.
// //
// Generated code. Do not modify. // Generated from google/rpc/error_details.proto.
// source: google/rpc/error_details.proto
//
// @dart = 3.3 // @dart = 3.3
// ignore_for_file: annotate_overrides, camel_case_types, comment_references // ignore_for_file: annotate_overrides, camel_case_types, comment_references
// ignore_for_file: constant_identifier_names, library_prefixes // ignore_for_file: constant_identifier_names
// ignore_for_file: non_constant_identifier_names, prefer_final_fields // ignore_for_file: curly_braces_in_flow_control_structures
// ignore_for_file: unnecessary_import, unnecessary_this, unused_import // ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
// ignore_for_file: non_constant_identifier_names
import 'dart:core' as $core; import 'dart:core' as $core;
import 'package:protobuf/protobuf.dart' as $pb; import 'package:protobuf/protobuf.dart' as $pb;
import '../protobuf/duration.pb.dart' as $13; import '../protobuf/duration.pb.dart' as $0;
export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions; export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions;
/// Describes when the clients can retry a failed request. Clients could ignore /// Describes when the clients can retry a failed request. Clients could ignore
/// the recommendation here or retry when this information is missing from error /// the recommendation here or retry when this information is missing from error
/// responses. /// responses.
/// ///
/// It's always recommended that clients should use exponential backoff when /// It's always recommended that clients should use exponential backoff when
/// retrying. /// retrying.
/// ///
/// Clients should wait until `retry_delay` amount of time has passed since /// Clients should wait until `retry_delay` amount of time has passed since
/// receiving the error response before retrying. If retrying requests also /// receiving the error response before retrying. If retrying requests also
/// fail, clients should use an exponential backoff scheme to gradually increase /// fail, clients should use an exponential backoff scheme to gradually increase
/// the delay between retries based on `retry_delay`, until either a maximum /// the delay between retries based on `retry_delay`, until either a maximum
/// number of retires have been reached or a maximum retry delay cap has been /// number of retires have been reached or a maximum retry delay cap has been
/// reached. /// reached.
class RetryInfo extends $pb.GeneratedMessage { class RetryInfo extends $pb.GeneratedMessage {
factory RetryInfo({ factory RetryInfo({
$13.Duration? retryDelay, $0.Duration? retryDelay,
}) { }) {
final $result = create(); final result = create();
if (retryDelay != null) { if (retryDelay != null) result.retryDelay = retryDelay;
$result.retryDelay = retryDelay; return result;
}
return $result;
} }
RetryInfo._() : super();
factory RetryInfo.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); RetryInfo._();
factory RetryInfo.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
factory RetryInfo.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory RetryInfo.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RetryInfo', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.rpc'), createEmptyInstance: create) static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RetryInfo', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.rpc'), createEmptyInstance: create)
..aOM<$13.Duration>(1, _omitFieldNames ? '' : 'retryDelay', subBuilder: $13.Duration.create) ..aOM<$0.Duration>(1, _omitFieldNames ? '' : 'retryDelay', subBuilder: $0.Duration.create)
..hasRequiredFields = false ..hasRequiredFields = false
; ;
@$core.Deprecated( @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
'Will be removed in next major version')
RetryInfo clone() => RetryInfo()..mergeFromMessage(this); RetryInfo clone() => RetryInfo()..mergeFromMessage(this);
@$core.Deprecated( @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
'Will be removed in next major version')
RetryInfo copyWith(void Function(RetryInfo) updates) => super.copyWith((message) => updates(message as RetryInfo)) as RetryInfo; RetryInfo copyWith(void Function(RetryInfo) updates) => super.copyWith((message) => updates(message as RetryInfo)) as RetryInfo;
@$core.override
$pb.BuilderInfo get info_ => _i; $pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline') @$core.pragma('dart2js:noInline')
static RetryInfo create() => RetryInfo._(); static RetryInfo create() => RetryInfo._();
@$core.override
RetryInfo createEmptyInstance() => create(); RetryInfo createEmptyInstance() => create();
static $pb.PbList<RetryInfo> createRepeated() => $pb.PbList<RetryInfo>(); static $pb.PbList<RetryInfo> createRepeated() => $pb.PbList<RetryInfo>();
@$core.pragma('dart2js:noInline') @$core.pragma('dart2js:noInline')
@@ -72,15 +69,15 @@ class RetryInfo extends $pb.GeneratedMessage {
/// Clients should wait at least this long between retrying the same request. /// Clients should wait at least this long between retrying the same request.
@$pb.TagNumber(1) @$pb.TagNumber(1)
$13.Duration get retryDelay => $_getN(0); $0.Duration get retryDelay => $_getN(0);
@$pb.TagNumber(1) @$pb.TagNumber(1)
set retryDelay($13.Duration v) { $_setField(1, v); } set retryDelay($0.Duration value) => $_setField(1, value);
@$pb.TagNumber(1) @$pb.TagNumber(1)
$core.bool hasRetryDelay() => $_has(0); $core.bool hasRetryDelay() => $_has(0);
@$pb.TagNumber(1) @$pb.TagNumber(1)
void clearRetryDelay() => $_clearField(1); void clearRetryDelay() => $_clearField(1);
@$pb.TagNumber(1) @$pb.TagNumber(1)
$13.Duration ensureRetryDelay() => $_ensure(0); $0.Duration ensureRetryDelay() => $_ensure(0);
} }
/// Describes additional debugging info. /// Describes additional debugging info.
@@ -89,18 +86,16 @@ class DebugInfo extends $pb.GeneratedMessage {
$core.Iterable<$core.String>? stackEntries, $core.Iterable<$core.String>? stackEntries,
$core.String? detail, $core.String? detail,
}) { }) {
final $result = create(); final result = create();
if (stackEntries != null) { if (stackEntries != null) result.stackEntries.addAll(stackEntries);
$result.stackEntries.addAll(stackEntries); if (detail != null) result.detail = detail;
} return result;
if (detail != null) {
$result.detail = detail;
}
return $result;
} }
DebugInfo._() : super();
factory DebugInfo.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); DebugInfo._();
factory DebugInfo.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
factory DebugInfo.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory DebugInfo.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DebugInfo', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.rpc'), createEmptyInstance: create) static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DebugInfo', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.rpc'), createEmptyInstance: create)
..pPS(1, _omitFieldNames ? '' : 'stackEntries') ..pPS(1, _omitFieldNames ? '' : 'stackEntries')
@@ -108,21 +103,17 @@ class DebugInfo extends $pb.GeneratedMessage {
..hasRequiredFields = false ..hasRequiredFields = false
; ;
@$core.Deprecated( @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
'Will be removed in next major version')
DebugInfo clone() => DebugInfo()..mergeFromMessage(this); DebugInfo clone() => DebugInfo()..mergeFromMessage(this);
@$core.Deprecated( @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
'Will be removed in next major version')
DebugInfo copyWith(void Function(DebugInfo) updates) => super.copyWith((message) => updates(message as DebugInfo)) as DebugInfo; DebugInfo copyWith(void Function(DebugInfo) updates) => super.copyWith((message) => updates(message as DebugInfo)) as DebugInfo;
@$core.override
$pb.BuilderInfo get info_ => _i; $pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline') @$core.pragma('dart2js:noInline')
static DebugInfo create() => DebugInfo._(); static DebugInfo create() => DebugInfo._();
@$core.override
DebugInfo createEmptyInstance() => create(); DebugInfo createEmptyInstance() => create();
static $pb.PbList<DebugInfo> createRepeated() => $pb.PbList<DebugInfo>(); static $pb.PbList<DebugInfo> createRepeated() => $pb.PbList<DebugInfo>();
@$core.pragma('dart2js:noInline') @$core.pragma('dart2js:noInline')
@@ -137,7 +128,7 @@ class DebugInfo extends $pb.GeneratedMessage {
@$pb.TagNumber(2) @$pb.TagNumber(2)
$core.String get detail => $_getSZ(1); $core.String get detail => $_getSZ(1);
@$pb.TagNumber(2) @$pb.TagNumber(2)
set detail($core.String v) { $_setString(1, v); } set detail($core.String value) => $_setString(1, value);
@$pb.TagNumber(2) @$pb.TagNumber(2)
$core.bool hasDetail() => $_has(1); $core.bool hasDetail() => $_has(1);
@$pb.TagNumber(2) @$pb.TagNumber(2)
@@ -151,18 +142,16 @@ class QuotaFailure_Violation extends $pb.GeneratedMessage {
$core.String? subject, $core.String? subject,
$core.String? description, $core.String? description,
}) { }) {
final $result = create(); final result = create();
if (subject != null) { if (subject != null) result.subject = subject;
$result.subject = subject; if (description != null) result.description = description;
} return result;
if (description != null) {
$result.description = description;
}
return $result;
} }
QuotaFailure_Violation._() : super();
factory QuotaFailure_Violation.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); QuotaFailure_Violation._();
factory QuotaFailure_Violation.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
factory QuotaFailure_Violation.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory QuotaFailure_Violation.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'QuotaFailure.Violation', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.rpc'), createEmptyInstance: create) static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'QuotaFailure.Violation', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.rpc'), createEmptyInstance: create)
..aOS(1, _omitFieldNames ? '' : 'subject') ..aOS(1, _omitFieldNames ? '' : 'subject')
@@ -170,21 +159,17 @@ class QuotaFailure_Violation extends $pb.GeneratedMessage {
..hasRequiredFields = false ..hasRequiredFields = false
; ;
@$core.Deprecated( @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
'Will be removed in next major version')
QuotaFailure_Violation clone() => QuotaFailure_Violation()..mergeFromMessage(this); QuotaFailure_Violation clone() => QuotaFailure_Violation()..mergeFromMessage(this);
@$core.Deprecated( @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
'Will be removed in next major version')
QuotaFailure_Violation copyWith(void Function(QuotaFailure_Violation) updates) => super.copyWith((message) => updates(message as QuotaFailure_Violation)) as QuotaFailure_Violation; QuotaFailure_Violation copyWith(void Function(QuotaFailure_Violation) updates) => super.copyWith((message) => updates(message as QuotaFailure_Violation)) as QuotaFailure_Violation;
@$core.override
$pb.BuilderInfo get info_ => _i; $pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline') @$core.pragma('dart2js:noInline')
static QuotaFailure_Violation create() => QuotaFailure_Violation._(); static QuotaFailure_Violation create() => QuotaFailure_Violation._();
@$core.override
QuotaFailure_Violation createEmptyInstance() => create(); QuotaFailure_Violation createEmptyInstance() => create();
static $pb.PbList<QuotaFailure_Violation> createRepeated() => $pb.PbList<QuotaFailure_Violation>(); static $pb.PbList<QuotaFailure_Violation> createRepeated() => $pb.PbList<QuotaFailure_Violation>();
@$core.pragma('dart2js:noInline') @$core.pragma('dart2js:noInline')
@@ -197,74 +182,70 @@ class QuotaFailure_Violation extends $pb.GeneratedMessage {
@$pb.TagNumber(1) @$pb.TagNumber(1)
$core.String get subject => $_getSZ(0); $core.String get subject => $_getSZ(0);
@$pb.TagNumber(1) @$pb.TagNumber(1)
set subject($core.String v) { $_setString(0, v); } set subject($core.String value) => $_setString(0, value);
@$pb.TagNumber(1) @$pb.TagNumber(1)
$core.bool hasSubject() => $_has(0); $core.bool hasSubject() => $_has(0);
@$pb.TagNumber(1) @$pb.TagNumber(1)
void clearSubject() => $_clearField(1); void clearSubject() => $_clearField(1);
/// A description of how the quota check failed. Clients can use this /// A description of how the quota check failed. Clients can use this
/// description to find more about the quota configuration in the service's /// description to find more about the quota configuration in the service's
/// public documentation, or find the relevant quota limit to adjust through /// public documentation, or find the relevant quota limit to adjust through
/// developer console. /// developer console.
/// ///
/// For example: "Service disabled" or "Daily Limit for read operations /// For example: "Service disabled" or "Daily Limit for read operations
/// exceeded". /// exceeded".
@$pb.TagNumber(2) @$pb.TagNumber(2)
$core.String get description => $_getSZ(1); $core.String get description => $_getSZ(1);
@$pb.TagNumber(2) @$pb.TagNumber(2)
set description($core.String v) { $_setString(1, v); } set description($core.String value) => $_setString(1, value);
@$pb.TagNumber(2) @$pb.TagNumber(2)
$core.bool hasDescription() => $_has(1); $core.bool hasDescription() => $_has(1);
@$pb.TagNumber(2) @$pb.TagNumber(2)
void clearDescription() => $_clearField(2); void clearDescription() => $_clearField(2);
} }
/// Describes how a quota check failed. /// Describes how a quota check failed.
/// ///
/// For example if a daily limit was exceeded for the calling project, /// For example if a daily limit was exceeded for the calling project,
/// a service could respond with a QuotaFailure detail containing the project /// a service could respond with a QuotaFailure detail containing the project
/// id and the description of the quota limit that was exceeded. If the /// id and the description of the quota limit that was exceeded. If the
/// calling project hasn't enabled the service in the developer console, then /// calling project hasn't enabled the service in the developer console, then
/// a service could respond with the project id and set `service_disabled` /// a service could respond with the project id and set `service_disabled`
/// to true. /// to true.
/// ///
/// Also see RetryDetail and Help types for other details about handling a /// Also see RetryDetail and Help types for other details about handling a
/// quota failure. /// quota failure.
class QuotaFailure extends $pb.GeneratedMessage { class QuotaFailure extends $pb.GeneratedMessage {
factory QuotaFailure({ factory QuotaFailure({
$core.Iterable<QuotaFailure_Violation>? violations, $core.Iterable<QuotaFailure_Violation>? violations,
}) { }) {
final $result = create(); final result = create();
if (violations != null) { if (violations != null) result.violations.addAll(violations);
$result.violations.addAll(violations); return result;
}
return $result;
} }
QuotaFailure._() : super();
factory QuotaFailure.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); QuotaFailure._();
factory QuotaFailure.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
factory QuotaFailure.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory QuotaFailure.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'QuotaFailure', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.rpc'), createEmptyInstance: create) static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'QuotaFailure', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.rpc'), createEmptyInstance: create)
..pc<QuotaFailure_Violation>(1, _omitFieldNames ? '' : 'violations', $pb.PbFieldType.PM, subBuilder: QuotaFailure_Violation.create) ..pc<QuotaFailure_Violation>(1, _omitFieldNames ? '' : 'violations', $pb.PbFieldType.PM, subBuilder: QuotaFailure_Violation.create)
..hasRequiredFields = false ..hasRequiredFields = false
; ;
@$core.Deprecated( @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
'Will be removed in next major version')
QuotaFailure clone() => QuotaFailure()..mergeFromMessage(this); QuotaFailure clone() => QuotaFailure()..mergeFromMessage(this);
@$core.Deprecated( @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
'Will be removed in next major version')
QuotaFailure copyWith(void Function(QuotaFailure) updates) => super.copyWith((message) => updates(message as QuotaFailure)) as QuotaFailure; QuotaFailure copyWith(void Function(QuotaFailure) updates) => super.copyWith((message) => updates(message as QuotaFailure)) as QuotaFailure;
@$core.override
$pb.BuilderInfo get info_ => _i; $pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline') @$core.pragma('dart2js:noInline')
static QuotaFailure create() => QuotaFailure._(); static QuotaFailure create() => QuotaFailure._();
@$core.override
QuotaFailure createEmptyInstance() => create(); QuotaFailure createEmptyInstance() => create();
static $pb.PbList<QuotaFailure> createRepeated() => $pb.PbList<QuotaFailure>(); static $pb.PbList<QuotaFailure> createRepeated() => $pb.PbList<QuotaFailure>();
@$core.pragma('dart2js:noInline') @$core.pragma('dart2js:noInline')
@@ -283,21 +264,17 @@ class PreconditionFailure_Violation extends $pb.GeneratedMessage {
$core.String? subject, $core.String? subject,
$core.String? description, $core.String? description,
}) { }) {
final $result = create(); final result = create();
if (type != null) { if (type != null) result.type = type;
$result.type = type; if (subject != null) result.subject = subject;
} if (description != null) result.description = description;
if (subject != null) { return result;
$result.subject = subject;
}
if (description != null) {
$result.description = description;
}
return $result;
} }
PreconditionFailure_Violation._() : super();
factory PreconditionFailure_Violation.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); PreconditionFailure_Violation._();
factory PreconditionFailure_Violation.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
factory PreconditionFailure_Violation.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory PreconditionFailure_Violation.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PreconditionFailure.Violation', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.rpc'), createEmptyInstance: create) static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PreconditionFailure.Violation', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.rpc'), createEmptyInstance: create)
..aOS(1, _omitFieldNames ? '' : 'type') ..aOS(1, _omitFieldNames ? '' : 'type')
@@ -306,21 +283,17 @@ class PreconditionFailure_Violation extends $pb.GeneratedMessage {
..hasRequiredFields = false ..hasRequiredFields = false
; ;
@$core.Deprecated( @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
'Will be removed in next major version')
PreconditionFailure_Violation clone() => PreconditionFailure_Violation()..mergeFromMessage(this); PreconditionFailure_Violation clone() => PreconditionFailure_Violation()..mergeFromMessage(this);
@$core.Deprecated( @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
'Will be removed in next major version')
PreconditionFailure_Violation copyWith(void Function(PreconditionFailure_Violation) updates) => super.copyWith((message) => updates(message as PreconditionFailure_Violation)) as PreconditionFailure_Violation; PreconditionFailure_Violation copyWith(void Function(PreconditionFailure_Violation) updates) => super.copyWith((message) => updates(message as PreconditionFailure_Violation)) as PreconditionFailure_Violation;
@$core.override
$pb.BuilderInfo get info_ => _i; $pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline') @$core.pragma('dart2js:noInline')
static PreconditionFailure_Violation create() => PreconditionFailure_Violation._(); static PreconditionFailure_Violation create() => PreconditionFailure_Violation._();
@$core.override
PreconditionFailure_Violation createEmptyInstance() => create(); PreconditionFailure_Violation createEmptyInstance() => create();
static $pb.PbList<PreconditionFailure_Violation> createRepeated() => $pb.PbList<PreconditionFailure_Violation>(); static $pb.PbList<PreconditionFailure_Violation> createRepeated() => $pb.PbList<PreconditionFailure_Violation>();
@$core.pragma('dart2js:noInline') @$core.pragma('dart2js:noInline')
@@ -333,7 +306,7 @@ class PreconditionFailure_Violation extends $pb.GeneratedMessage {
@$pb.TagNumber(1) @$pb.TagNumber(1)
$core.String get type => $_getSZ(0); $core.String get type => $_getSZ(0);
@$pb.TagNumber(1) @$pb.TagNumber(1)
set type($core.String v) { $_setString(0, v); } set type($core.String value) => $_setString(0, value);
@$pb.TagNumber(1) @$pb.TagNumber(1)
$core.bool hasType() => $_has(0); $core.bool hasType() => $_has(0);
@$pb.TagNumber(1) @$pb.TagNumber(1)
@@ -345,65 +318,61 @@ class PreconditionFailure_Violation extends $pb.GeneratedMessage {
@$pb.TagNumber(2) @$pb.TagNumber(2)
$core.String get subject => $_getSZ(1); $core.String get subject => $_getSZ(1);
@$pb.TagNumber(2) @$pb.TagNumber(2)
set subject($core.String v) { $_setString(1, v); } set subject($core.String value) => $_setString(1, value);
@$pb.TagNumber(2) @$pb.TagNumber(2)
$core.bool hasSubject() => $_has(1); $core.bool hasSubject() => $_has(1);
@$pb.TagNumber(2) @$pb.TagNumber(2)
void clearSubject() => $_clearField(2); void clearSubject() => $_clearField(2);
/// A description of how the precondition failed. Developers can use this /// A description of how the precondition failed. Developers can use this
/// description to understand how to fix the failure. /// description to understand how to fix the failure.
/// ///
/// For example: "Terms of service not accepted". /// For example: "Terms of service not accepted".
@$pb.TagNumber(3) @$pb.TagNumber(3)
$core.String get description => $_getSZ(2); $core.String get description => $_getSZ(2);
@$pb.TagNumber(3) @$pb.TagNumber(3)
set description($core.String v) { $_setString(2, v); } set description($core.String value) => $_setString(2, value);
@$pb.TagNumber(3) @$pb.TagNumber(3)
$core.bool hasDescription() => $_has(2); $core.bool hasDescription() => $_has(2);
@$pb.TagNumber(3) @$pb.TagNumber(3)
void clearDescription() => $_clearField(3); void clearDescription() => $_clearField(3);
} }
/// Describes what preconditions have failed. /// Describes what preconditions have failed.
/// ///
/// For example, if an RPC failed because it required the Terms of Service to be /// For example, if an RPC failed because it required the Terms of Service to be
/// acknowledged, it could list the terms of service violation in the /// acknowledged, it could list the terms of service violation in the
/// PreconditionFailure message. /// PreconditionFailure message.
class PreconditionFailure extends $pb.GeneratedMessage { class PreconditionFailure extends $pb.GeneratedMessage {
factory PreconditionFailure({ factory PreconditionFailure({
$core.Iterable<PreconditionFailure_Violation>? violations, $core.Iterable<PreconditionFailure_Violation>? violations,
}) { }) {
final $result = create(); final result = create();
if (violations != null) { if (violations != null) result.violations.addAll(violations);
$result.violations.addAll(violations); return result;
}
return $result;
} }
PreconditionFailure._() : super();
factory PreconditionFailure.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); PreconditionFailure._();
factory PreconditionFailure.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
factory PreconditionFailure.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory PreconditionFailure.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PreconditionFailure', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.rpc'), createEmptyInstance: create) static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PreconditionFailure', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.rpc'), createEmptyInstance: create)
..pc<PreconditionFailure_Violation>(1, _omitFieldNames ? '' : 'violations', $pb.PbFieldType.PM, subBuilder: PreconditionFailure_Violation.create) ..pc<PreconditionFailure_Violation>(1, _omitFieldNames ? '' : 'violations', $pb.PbFieldType.PM, subBuilder: PreconditionFailure_Violation.create)
..hasRequiredFields = false ..hasRequiredFields = false
; ;
@$core.Deprecated( @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
'Will be removed in next major version')
PreconditionFailure clone() => PreconditionFailure()..mergeFromMessage(this); PreconditionFailure clone() => PreconditionFailure()..mergeFromMessage(this);
@$core.Deprecated( @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
'Will be removed in next major version')
PreconditionFailure copyWith(void Function(PreconditionFailure) updates) => super.copyWith((message) => updates(message as PreconditionFailure)) as PreconditionFailure; PreconditionFailure copyWith(void Function(PreconditionFailure) updates) => super.copyWith((message) => updates(message as PreconditionFailure)) as PreconditionFailure;
@$core.override
$pb.BuilderInfo get info_ => _i; $pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline') @$core.pragma('dart2js:noInline')
static PreconditionFailure create() => PreconditionFailure._(); static PreconditionFailure create() => PreconditionFailure._();
@$core.override
PreconditionFailure createEmptyInstance() => create(); PreconditionFailure createEmptyInstance() => create();
static $pb.PbList<PreconditionFailure> createRepeated() => $pb.PbList<PreconditionFailure>(); static $pb.PbList<PreconditionFailure> createRepeated() => $pb.PbList<PreconditionFailure>();
@$core.pragma('dart2js:noInline') @$core.pragma('dart2js:noInline')
@@ -421,18 +390,16 @@ class BadRequest_FieldViolation extends $pb.GeneratedMessage {
$core.String? field_1, $core.String? field_1,
$core.String? description, $core.String? description,
}) { }) {
final $result = create(); final result = create();
if (field_1 != null) { if (field_1 != null) result.field_1 = field_1;
$result.field_1 = field_1; if (description != null) result.description = description;
} return result;
if (description != null) {
$result.description = description;
}
return $result;
} }
BadRequest_FieldViolation._() : super();
factory BadRequest_FieldViolation.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); BadRequest_FieldViolation._();
factory BadRequest_FieldViolation.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
factory BadRequest_FieldViolation.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory BadRequest_FieldViolation.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'BadRequest.FieldViolation', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.rpc'), createEmptyInstance: create) static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'BadRequest.FieldViolation', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.rpc'), createEmptyInstance: create)
..aOS(1, _omitFieldNames ? '' : 'field') ..aOS(1, _omitFieldNames ? '' : 'field')
@@ -440,21 +407,17 @@ class BadRequest_FieldViolation extends $pb.GeneratedMessage {
..hasRequiredFields = false ..hasRequiredFields = false
; ;
@$core.Deprecated( @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
'Will be removed in next major version')
BadRequest_FieldViolation clone() => BadRequest_FieldViolation()..mergeFromMessage(this); BadRequest_FieldViolation clone() => BadRequest_FieldViolation()..mergeFromMessage(this);
@$core.Deprecated( @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
'Will be removed in next major version')
BadRequest_FieldViolation copyWith(void Function(BadRequest_FieldViolation) updates) => super.copyWith((message) => updates(message as BadRequest_FieldViolation)) as BadRequest_FieldViolation; BadRequest_FieldViolation copyWith(void Function(BadRequest_FieldViolation) updates) => super.copyWith((message) => updates(message as BadRequest_FieldViolation)) as BadRequest_FieldViolation;
@$core.override
$pb.BuilderInfo get info_ => _i; $pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline') @$core.pragma('dart2js:noInline')
static BadRequest_FieldViolation create() => BadRequest_FieldViolation._(); static BadRequest_FieldViolation create() => BadRequest_FieldViolation._();
@$core.override
BadRequest_FieldViolation createEmptyInstance() => create(); BadRequest_FieldViolation createEmptyInstance() => create();
static $pb.PbList<BadRequest_FieldViolation> createRepeated() => $pb.PbList<BadRequest_FieldViolation>(); static $pb.PbList<BadRequest_FieldViolation> createRepeated() => $pb.PbList<BadRequest_FieldViolation>();
@$core.pragma('dart2js:noInline') @$core.pragma('dart2js:noInline')
@@ -467,7 +430,7 @@ class BadRequest_FieldViolation extends $pb.GeneratedMessage {
@$pb.TagNumber(1) @$pb.TagNumber(1)
$core.String get field_1 => $_getSZ(0); $core.String get field_1 => $_getSZ(0);
@$pb.TagNumber(1) @$pb.TagNumber(1)
set field_1($core.String v) { $_setString(0, v); } set field_1($core.String value) => $_setString(0, value);
@$pb.TagNumber(1) @$pb.TagNumber(1)
$core.bool hasField_1() => $_has(0); $core.bool hasField_1() => $_has(0);
@$pb.TagNumber(1) @$pb.TagNumber(1)
@@ -477,7 +440,7 @@ class BadRequest_FieldViolation extends $pb.GeneratedMessage {
@$pb.TagNumber(2) @$pb.TagNumber(2)
$core.String get description => $_getSZ(1); $core.String get description => $_getSZ(1);
@$pb.TagNumber(2) @$pb.TagNumber(2)
set description($core.String v) { $_setString(1, v); } set description($core.String value) => $_setString(1, value);
@$pb.TagNumber(2) @$pb.TagNumber(2)
$core.bool hasDescription() => $_has(1); $core.bool hasDescription() => $_has(1);
@$pb.TagNumber(2) @$pb.TagNumber(2)
@@ -490,36 +453,32 @@ class BadRequest extends $pb.GeneratedMessage {
factory BadRequest({ factory BadRequest({
$core.Iterable<BadRequest_FieldViolation>? fieldViolations, $core.Iterable<BadRequest_FieldViolation>? fieldViolations,
}) { }) {
final $result = create(); final result = create();
if (fieldViolations != null) { if (fieldViolations != null) result.fieldViolations.addAll(fieldViolations);
$result.fieldViolations.addAll(fieldViolations); return result;
}
return $result;
} }
BadRequest._() : super();
factory BadRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); BadRequest._();
factory BadRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
factory BadRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory BadRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'BadRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.rpc'), createEmptyInstance: create) static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'BadRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.rpc'), createEmptyInstance: create)
..pc<BadRequest_FieldViolation>(1, _omitFieldNames ? '' : 'fieldViolations', $pb.PbFieldType.PM, subBuilder: BadRequest_FieldViolation.create) ..pc<BadRequest_FieldViolation>(1, _omitFieldNames ? '' : 'fieldViolations', $pb.PbFieldType.PM, subBuilder: BadRequest_FieldViolation.create)
..hasRequiredFields = false ..hasRequiredFields = false
; ;
@$core.Deprecated( @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
'Will be removed in next major version')
BadRequest clone() => BadRequest()..mergeFromMessage(this); BadRequest clone() => BadRequest()..mergeFromMessage(this);
@$core.Deprecated( @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
'Will be removed in next major version')
BadRequest copyWith(void Function(BadRequest) updates) => super.copyWith((message) => updates(message as BadRequest)) as BadRequest; BadRequest copyWith(void Function(BadRequest) updates) => super.copyWith((message) => updates(message as BadRequest)) as BadRequest;
@$core.override
$pb.BuilderInfo get info_ => _i; $pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline') @$core.pragma('dart2js:noInline')
static BadRequest create() => BadRequest._(); static BadRequest create() => BadRequest._();
@$core.override
BadRequest createEmptyInstance() => create(); BadRequest createEmptyInstance() => create();
static $pb.PbList<BadRequest> createRepeated() => $pb.PbList<BadRequest>(); static $pb.PbList<BadRequest> createRepeated() => $pb.PbList<BadRequest>();
@$core.pragma('dart2js:noInline') @$core.pragma('dart2js:noInline')
@@ -538,18 +497,16 @@ class RequestInfo extends $pb.GeneratedMessage {
$core.String? requestId, $core.String? requestId,
$core.String? servingData, $core.String? servingData,
}) { }) {
final $result = create(); final result = create();
if (requestId != null) { if (requestId != null) result.requestId = requestId;
$result.requestId = requestId; if (servingData != null) result.servingData = servingData;
} return result;
if (servingData != null) {
$result.servingData = servingData;
}
return $result;
} }
RequestInfo._() : super();
factory RequestInfo.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); RequestInfo._();
factory RequestInfo.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
factory RequestInfo.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory RequestInfo.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RequestInfo', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.rpc'), createEmptyInstance: create) static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RequestInfo', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.rpc'), createEmptyInstance: create)
..aOS(1, _omitFieldNames ? '' : 'requestId') ..aOS(1, _omitFieldNames ? '' : 'requestId')
@@ -557,21 +514,17 @@ class RequestInfo extends $pb.GeneratedMessage {
..hasRequiredFields = false ..hasRequiredFields = false
; ;
@$core.Deprecated( @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
'Will be removed in next major version')
RequestInfo clone() => RequestInfo()..mergeFromMessage(this); RequestInfo clone() => RequestInfo()..mergeFromMessage(this);
@$core.Deprecated( @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
'Will be removed in next major version')
RequestInfo copyWith(void Function(RequestInfo) updates) => super.copyWith((message) => updates(message as RequestInfo)) as RequestInfo; RequestInfo copyWith(void Function(RequestInfo) updates) => super.copyWith((message) => updates(message as RequestInfo)) as RequestInfo;
@$core.override
$pb.BuilderInfo get info_ => _i; $pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline') @$core.pragma('dart2js:noInline')
static RequestInfo create() => RequestInfo._(); static RequestInfo create() => RequestInfo._();
@$core.override
RequestInfo createEmptyInstance() => create(); RequestInfo createEmptyInstance() => create();
static $pb.PbList<RequestInfo> createRepeated() => $pb.PbList<RequestInfo>(); static $pb.PbList<RequestInfo> createRepeated() => $pb.PbList<RequestInfo>();
@$core.pragma('dart2js:noInline') @$core.pragma('dart2js:noInline')
@@ -583,7 +536,7 @@ class RequestInfo extends $pb.GeneratedMessage {
@$pb.TagNumber(1) @$pb.TagNumber(1)
$core.String get requestId => $_getSZ(0); $core.String get requestId => $_getSZ(0);
@$pb.TagNumber(1) @$pb.TagNumber(1)
set requestId($core.String v) { $_setString(0, v); } set requestId($core.String value) => $_setString(0, value);
@$pb.TagNumber(1) @$pb.TagNumber(1)
$core.bool hasRequestId() => $_has(0); $core.bool hasRequestId() => $_has(0);
@$pb.TagNumber(1) @$pb.TagNumber(1)
@@ -594,7 +547,7 @@ class RequestInfo extends $pb.GeneratedMessage {
@$pb.TagNumber(2) @$pb.TagNumber(2)
$core.String get servingData => $_getSZ(1); $core.String get servingData => $_getSZ(1);
@$pb.TagNumber(2) @$pb.TagNumber(2)
set servingData($core.String v) { $_setString(1, v); } set servingData($core.String value) => $_setString(1, value);
@$pb.TagNumber(2) @$pb.TagNumber(2)
$core.bool hasServingData() => $_has(1); $core.bool hasServingData() => $_has(1);
@$pb.TagNumber(2) @$pb.TagNumber(2)
@@ -609,24 +562,18 @@ class ResourceInfo extends $pb.GeneratedMessage {
$core.String? owner, $core.String? owner,
$core.String? description, $core.String? description,
}) { }) {
final $result = create(); final result = create();
if (resourceType != null) { if (resourceType != null) result.resourceType = resourceType;
$result.resourceType = resourceType; if (resourceName != null) result.resourceName = resourceName;
} if (owner != null) result.owner = owner;
if (resourceName != null) { if (description != null) result.description = description;
$result.resourceName = resourceName; return result;
}
if (owner != null) {
$result.owner = owner;
}
if (description != null) {
$result.description = description;
}
return $result;
} }
ResourceInfo._() : super();
factory ResourceInfo.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); ResourceInfo._();
factory ResourceInfo.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
factory ResourceInfo.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory ResourceInfo.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ResourceInfo', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.rpc'), createEmptyInstance: create) static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ResourceInfo', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.rpc'), createEmptyInstance: create)
..aOS(1, _omitFieldNames ? '' : 'resourceType') ..aOS(1, _omitFieldNames ? '' : 'resourceType')
@@ -636,21 +583,17 @@ class ResourceInfo extends $pb.GeneratedMessage {
..hasRequiredFields = false ..hasRequiredFields = false
; ;
@$core.Deprecated( @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
'Will be removed in next major version')
ResourceInfo clone() => ResourceInfo()..mergeFromMessage(this); ResourceInfo clone() => ResourceInfo()..mergeFromMessage(this);
@$core.Deprecated( @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
'Will be removed in next major version')
ResourceInfo copyWith(void Function(ResourceInfo) updates) => super.copyWith((message) => updates(message as ResourceInfo)) as ResourceInfo; ResourceInfo copyWith(void Function(ResourceInfo) updates) => super.copyWith((message) => updates(message as ResourceInfo)) as ResourceInfo;
@$core.override
$pb.BuilderInfo get info_ => _i; $pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline') @$core.pragma('dart2js:noInline')
static ResourceInfo create() => ResourceInfo._(); static ResourceInfo create() => ResourceInfo._();
@$core.override
ResourceInfo createEmptyInstance() => create(); ResourceInfo createEmptyInstance() => create();
static $pb.PbList<ResourceInfo> createRepeated() => $pb.PbList<ResourceInfo>(); static $pb.PbList<ResourceInfo> createRepeated() => $pb.PbList<ResourceInfo>();
@$core.pragma('dart2js:noInline') @$core.pragma('dart2js:noInline')
@@ -663,7 +606,7 @@ class ResourceInfo extends $pb.GeneratedMessage {
@$pb.TagNumber(1) @$pb.TagNumber(1)
$core.String get resourceType => $_getSZ(0); $core.String get resourceType => $_getSZ(0);
@$pb.TagNumber(1) @$pb.TagNumber(1)
set resourceType($core.String v) { $_setString(0, v); } set resourceType($core.String value) => $_setString(0, value);
@$pb.TagNumber(1) @$pb.TagNumber(1)
$core.bool hasResourceType() => $_has(0); $core.bool hasResourceType() => $_has(0);
@$pb.TagNumber(1) @$pb.TagNumber(1)
@@ -675,7 +618,7 @@ class ResourceInfo extends $pb.GeneratedMessage {
@$pb.TagNumber(2) @$pb.TagNumber(2)
$core.String get resourceName => $_getSZ(1); $core.String get resourceName => $_getSZ(1);
@$pb.TagNumber(2) @$pb.TagNumber(2)
set resourceName($core.String v) { $_setString(1, v); } set resourceName($core.String value) => $_setString(1, value);
@$pb.TagNumber(2) @$pb.TagNumber(2)
$core.bool hasResourceName() => $_has(1); $core.bool hasResourceName() => $_has(1);
@$pb.TagNumber(2) @$pb.TagNumber(2)
@@ -687,7 +630,7 @@ class ResourceInfo extends $pb.GeneratedMessage {
@$pb.TagNumber(3) @$pb.TagNumber(3)
$core.String get owner => $_getSZ(2); $core.String get owner => $_getSZ(2);
@$pb.TagNumber(3) @$pb.TagNumber(3)
set owner($core.String v) { $_setString(2, v); } set owner($core.String value) => $_setString(2, value);
@$pb.TagNumber(3) @$pb.TagNumber(3)
$core.bool hasOwner() => $_has(2); $core.bool hasOwner() => $_has(2);
@$pb.TagNumber(3) @$pb.TagNumber(3)
@@ -699,7 +642,7 @@ class ResourceInfo extends $pb.GeneratedMessage {
@$pb.TagNumber(4) @$pb.TagNumber(4)
$core.String get description => $_getSZ(3); $core.String get description => $_getSZ(3);
@$pb.TagNumber(4) @$pb.TagNumber(4)
set description($core.String v) { $_setString(3, v); } set description($core.String value) => $_setString(3, value);
@$pb.TagNumber(4) @$pb.TagNumber(4)
$core.bool hasDescription() => $_has(3); $core.bool hasDescription() => $_has(3);
@$pb.TagNumber(4) @$pb.TagNumber(4)
@@ -712,18 +655,16 @@ class Help_Link extends $pb.GeneratedMessage {
$core.String? description, $core.String? description,
$core.String? url, $core.String? url,
}) { }) {
final $result = create(); final result = create();
if (description != null) { if (description != null) result.description = description;
$result.description = description; if (url != null) result.url = url;
} return result;
if (url != null) {
$result.url = url;
}
return $result;
} }
Help_Link._() : super();
factory Help_Link.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); Help_Link._();
factory Help_Link.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
factory Help_Link.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory Help_Link.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Help.Link', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.rpc'), createEmptyInstance: create) static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Help.Link', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.rpc'), createEmptyInstance: create)
..aOS(1, _omitFieldNames ? '' : 'description') ..aOS(1, _omitFieldNames ? '' : 'description')
@@ -731,21 +672,17 @@ class Help_Link extends $pb.GeneratedMessage {
..hasRequiredFields = false ..hasRequiredFields = false
; ;
@$core.Deprecated( @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
'Will be removed in next major version')
Help_Link clone() => Help_Link()..mergeFromMessage(this); Help_Link clone() => Help_Link()..mergeFromMessage(this);
@$core.Deprecated( @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
'Will be removed in next major version')
Help_Link copyWith(void Function(Help_Link) updates) => super.copyWith((message) => updates(message as Help_Link)) as Help_Link; Help_Link copyWith(void Function(Help_Link) updates) => super.copyWith((message) => updates(message as Help_Link)) as Help_Link;
@$core.override
$pb.BuilderInfo get info_ => _i; $pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline') @$core.pragma('dart2js:noInline')
static Help_Link create() => Help_Link._(); static Help_Link create() => Help_Link._();
@$core.override
Help_Link createEmptyInstance() => create(); Help_Link createEmptyInstance() => create();
static $pb.PbList<Help_Link> createRepeated() => $pb.PbList<Help_Link>(); static $pb.PbList<Help_Link> createRepeated() => $pb.PbList<Help_Link>();
@$core.pragma('dart2js:noInline') @$core.pragma('dart2js:noInline')
@@ -756,7 +693,7 @@ class Help_Link extends $pb.GeneratedMessage {
@$pb.TagNumber(1) @$pb.TagNumber(1)
$core.String get description => $_getSZ(0); $core.String get description => $_getSZ(0);
@$pb.TagNumber(1) @$pb.TagNumber(1)
set description($core.String v) { $_setString(0, v); } set description($core.String value) => $_setString(0, value);
@$pb.TagNumber(1) @$pb.TagNumber(1)
$core.bool hasDescription() => $_has(0); $core.bool hasDescription() => $_has(0);
@$pb.TagNumber(1) @$pb.TagNumber(1)
@@ -766,52 +703,48 @@ class Help_Link extends $pb.GeneratedMessage {
@$pb.TagNumber(2) @$pb.TagNumber(2)
$core.String get url => $_getSZ(1); $core.String get url => $_getSZ(1);
@$pb.TagNumber(2) @$pb.TagNumber(2)
set url($core.String v) { $_setString(1, v); } set url($core.String value) => $_setString(1, value);
@$pb.TagNumber(2) @$pb.TagNumber(2)
$core.bool hasUrl() => $_has(1); $core.bool hasUrl() => $_has(1);
@$pb.TagNumber(2) @$pb.TagNumber(2)
void clearUrl() => $_clearField(2); void clearUrl() => $_clearField(2);
} }
/// Provides links to documentation or for performing an out of band action. /// Provides links to documentation or for performing an out of band action.
/// ///
/// For example, if a quota check failed with an error indicating the calling /// For example, if a quota check failed with an error indicating the calling
/// project hasn't enabled the accessed service, this can contain a URL pointing /// project hasn't enabled the accessed service, this can contain a URL pointing
/// directly to the right place in the developer console to flip the bit. /// directly to the right place in the developer console to flip the bit.
class Help extends $pb.GeneratedMessage { class Help extends $pb.GeneratedMessage {
factory Help({ factory Help({
$core.Iterable<Help_Link>? links, $core.Iterable<Help_Link>? links,
}) { }) {
final $result = create(); final result = create();
if (links != null) { if (links != null) result.links.addAll(links);
$result.links.addAll(links); return result;
}
return $result;
} }
Help._() : super();
factory Help.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); Help._();
factory Help.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
factory Help.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory Help.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Help', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.rpc'), createEmptyInstance: create) static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Help', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.rpc'), createEmptyInstance: create)
..pc<Help_Link>(1, _omitFieldNames ? '' : 'links', $pb.PbFieldType.PM, subBuilder: Help_Link.create) ..pc<Help_Link>(1, _omitFieldNames ? '' : 'links', $pb.PbFieldType.PM, subBuilder: Help_Link.create)
..hasRequiredFields = false ..hasRequiredFields = false
; ;
@$core.Deprecated( @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
'Will be removed in next major version')
Help clone() => Help()..mergeFromMessage(this); Help clone() => Help()..mergeFromMessage(this);
@$core.Deprecated( @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
'Will be removed in next major version')
Help copyWith(void Function(Help) updates) => super.copyWith((message) => updates(message as Help)) as Help; Help copyWith(void Function(Help) updates) => super.copyWith((message) => updates(message as Help)) as Help;
@$core.override
$pb.BuilderInfo get info_ => _i; $pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline') @$core.pragma('dart2js:noInline')
static Help create() => Help._(); static Help create() => Help._();
@$core.override
Help createEmptyInstance() => create(); Help createEmptyInstance() => create();
static $pb.PbList<Help> createRepeated() => $pb.PbList<Help>(); static $pb.PbList<Help> createRepeated() => $pb.PbList<Help>();
@$core.pragma('dart2js:noInline') @$core.pragma('dart2js:noInline')
@@ -830,18 +763,16 @@ class LocalizedMessage extends $pb.GeneratedMessage {
$core.String? locale, $core.String? locale,
$core.String? message, $core.String? message,
}) { }) {
final $result = create(); final result = create();
if (locale != null) { if (locale != null) result.locale = locale;
$result.locale = locale; if (message != null) result.message = message;
} return result;
if (message != null) {
$result.message = message;
}
return $result;
} }
LocalizedMessage._() : super();
factory LocalizedMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); LocalizedMessage._();
factory LocalizedMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
factory LocalizedMessage.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory LocalizedMessage.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'LocalizedMessage', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.rpc'), createEmptyInstance: create) static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'LocalizedMessage', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.rpc'), createEmptyInstance: create)
..aOS(1, _omitFieldNames ? '' : 'locale') ..aOS(1, _omitFieldNames ? '' : 'locale')
@@ -849,21 +780,17 @@ class LocalizedMessage extends $pb.GeneratedMessage {
..hasRequiredFields = false ..hasRequiredFields = false
; ;
@$core.Deprecated( @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
'Will be removed in next major version')
LocalizedMessage clone() => LocalizedMessage()..mergeFromMessage(this); LocalizedMessage clone() => LocalizedMessage()..mergeFromMessage(this);
@$core.Deprecated( @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
'Will be removed in next major version')
LocalizedMessage copyWith(void Function(LocalizedMessage) updates) => super.copyWith((message) => updates(message as LocalizedMessage)) as LocalizedMessage; LocalizedMessage copyWith(void Function(LocalizedMessage) updates) => super.copyWith((message) => updates(message as LocalizedMessage)) as LocalizedMessage;
@$core.override
$pb.BuilderInfo get info_ => _i; $pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline') @$core.pragma('dart2js:noInline')
static LocalizedMessage create() => LocalizedMessage._(); static LocalizedMessage create() => LocalizedMessage._();
@$core.override
LocalizedMessage createEmptyInstance() => create(); LocalizedMessage createEmptyInstance() => create();
static $pb.PbList<LocalizedMessage> createRepeated() => $pb.PbList<LocalizedMessage>(); static $pb.PbList<LocalizedMessage> createRepeated() => $pb.PbList<LocalizedMessage>();
@$core.pragma('dart2js:noInline') @$core.pragma('dart2js:noInline')
@@ -876,7 +803,7 @@ class LocalizedMessage extends $pb.GeneratedMessage {
@$pb.TagNumber(1) @$pb.TagNumber(1)
$core.String get locale => $_getSZ(0); $core.String get locale => $_getSZ(0);
@$pb.TagNumber(1) @$pb.TagNumber(1)
set locale($core.String v) { $_setString(0, v); } set locale($core.String value) => $_setString(0, value);
@$pb.TagNumber(1) @$pb.TagNumber(1)
$core.bool hasLocale() => $_has(0); $core.bool hasLocale() => $_has(0);
@$pb.TagNumber(1) @$pb.TagNumber(1)
@@ -886,7 +813,7 @@ class LocalizedMessage extends $pb.GeneratedMessage {
@$pb.TagNumber(2) @$pb.TagNumber(2)
$core.String get message => $_getSZ(1); $core.String get message => $_getSZ(1);
@$pb.TagNumber(2) @$pb.TagNumber(2)
set message($core.String v) { $_setString(1, v); } set message($core.String value) => $_setString(1, value);
@$pb.TagNumber(2) @$pb.TagNumber(2)
$core.bool hasMessage() => $_has(1); $core.bool hasMessage() => $_has(1);
@$pb.TagNumber(2) @$pb.TagNumber(2)
@@ -894,5 +821,5 @@ class LocalizedMessage extends $pb.GeneratedMessage {
} }
const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); const $core.bool _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names');
const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); const $core.bool _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names');

View File

@@ -1,11 +1,12 @@
// This is a generated file - do not edit.
// //
// Generated code. Do not modify. // Generated from google/rpc/error_details.proto.
// source: google/rpc/error_details.proto
//
// @dart = 3.3 // @dart = 3.3
// ignore_for_file: annotate_overrides, camel_case_types, comment_references // ignore_for_file: annotate_overrides, camel_case_types, comment_references
// ignore_for_file: constant_identifier_names, library_prefixes // ignore_for_file: constant_identifier_names
// ignore_for_file: non_constant_identifier_names, prefer_final_fields // ignore_for_file: curly_braces_in_flow_control_structures
// ignore_for_file: unnecessary_import, unnecessary_this, unused_import // ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
// ignore_for_file: non_constant_identifier_names

View File

@@ -1,13 +1,14 @@
// This is a generated file - do not edit.
// //
// Generated code. Do not modify. // Generated from google/rpc/error_details.proto.
// source: google/rpc/error_details.proto
//
// @dart = 3.3 // @dart = 3.3
// ignore_for_file: annotate_overrides, camel_case_types, comment_references // ignore_for_file: annotate_overrides, camel_case_types, comment_references
// ignore_for_file: constant_identifier_names, library_prefixes // ignore_for_file: constant_identifier_names
// ignore_for_file: non_constant_identifier_names, prefer_final_fields // ignore_for_file: curly_braces_in_flow_control_structures
// ignore_for_file: unnecessary_import, unnecessary_this, unused_import // ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
// ignore_for_file: non_constant_identifier_names, unused_import
import 'dart:convert' as $convert; import 'dart:convert' as $convert;
import 'dart:core' as $core; import 'dart:core' as $core;

View File

@@ -1,118 +1,111 @@
// This is a generated file - do not edit.
// //
// Generated code. Do not modify. // Generated from google/rpc/status.proto.
// source: google/rpc/status.proto
//
// @dart = 3.3 // @dart = 3.3
// ignore_for_file: annotate_overrides, camel_case_types, comment_references // ignore_for_file: annotate_overrides, camel_case_types, comment_references
// ignore_for_file: constant_identifier_names, library_prefixes // ignore_for_file: constant_identifier_names
// ignore_for_file: non_constant_identifier_names, prefer_final_fields // ignore_for_file: curly_braces_in_flow_control_structures
// ignore_for_file: unnecessary_import, unnecessary_this, unused_import // ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
// ignore_for_file: non_constant_identifier_names
import 'dart:core' as $core; import 'dart:core' as $core;
import 'package:protobuf/protobuf.dart' as $pb; import 'package:protobuf/protobuf.dart' as $pb;
import '../protobuf/any.pb.dart' as $17; import '../protobuf/any.pb.dart' as $0;
export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions; export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions;
/// The `Status` type defines a logical error model that is suitable for different /// The `Status` type defines a logical error model that is suitable for different
/// programming environments, including REST APIs and RPC APIs. It is used by /// programming environments, including REST APIs and RPC APIs. It is used by
/// [gRPC](https://github.com/grpc). The error model is designed to be: /// [gRPC](https://github.com/grpc). The error model is designed to be:
/// ///
/// - Simple to use and understand for most users /// - Simple to use and understand for most users
/// - Flexible enough to meet unexpected needs /// - Flexible enough to meet unexpected needs
/// ///
/// # Overview /// # Overview
/// ///
/// The `Status` message contains three pieces of data: error code, error message, /// The `Status` message contains three pieces of data: error code, error message,
/// and error details. The error code should be an enum value of /// and error details. The error code should be an enum value of
/// [google.rpc.Code][google.rpc.Code], but it may accept additional error codes if needed. The /// [google.rpc.Code][google.rpc.Code], but it may accept additional error codes if needed. The
/// error message should be a developer-facing English message that helps /// error message should be a developer-facing English message that helps
/// developers *understand* and *resolve* the error. If a localized user-facing /// developers *understand* and *resolve* the error. If a localized user-facing
/// error message is needed, put the localized message in the error details or /// error message is needed, put the localized message in the error details or
/// localize it in the client. The optional error details may contain arbitrary /// localize it in the client. The optional error details may contain arbitrary
/// information about the error. There is a predefined set of error detail types /// information about the error. There is a predefined set of error detail types
/// in the package `google.rpc` that can be used for common error conditions. /// in the package `google.rpc` that can be used for common error conditions.
/// ///
/// # Language mapping /// # Language mapping
/// ///
/// The `Status` message is the logical representation of the error model, but it /// The `Status` message is the logical representation of the error model, but it
/// is not necessarily the actual wire format. When the `Status` message is /// is not necessarily the actual wire format. When the `Status` message is
/// exposed in different client libraries and different wire protocols, it can be /// exposed in different client libraries and different wire protocols, it can be
/// mapped differently. For example, it will likely be mapped to some exceptions /// mapped differently. For example, it will likely be mapped to some exceptions
/// in Java, but more likely mapped to some error codes in C. /// in Java, but more likely mapped to some error codes in C.
/// ///
/// # Other uses /// # Other uses
/// ///
/// The error model and the `Status` message can be used in a variety of /// The error model and the `Status` message can be used in a variety of
/// environments, either with or without APIs, to provide a /// environments, either with or without APIs, to provide a
/// consistent developer experience across different environments. /// consistent developer experience across different environments.
/// ///
/// Example uses of this error model include: /// Example uses of this error model include:
/// ///
/// - Partial errors. If a service needs to return partial errors to the client, /// - Partial errors. If a service needs to return partial errors to the client,
/// it may embed the `Status` in the normal response to indicate the partial /// it may embed the `Status` in the normal response to indicate the partial
/// errors. /// errors.
/// ///
/// - Workflow errors. A typical workflow has multiple steps. Each step may /// - Workflow errors. A typical workflow has multiple steps. Each step may
/// have a `Status` message for error reporting. /// have a `Status` message for error reporting.
/// ///
/// - Batch operations. If a client uses batch request and batch response, the /// - Batch operations. If a client uses batch request and batch response, the
/// `Status` message should be used directly inside batch response, one for /// `Status` message should be used directly inside batch response, one for
/// each error sub-response. /// each error sub-response.
/// ///
/// - Asynchronous operations. If an API call embeds asynchronous operation /// - Asynchronous operations. If an API call embeds asynchronous operation
/// results in its response, the status of those operations should be /// results in its response, the status of those operations should be
/// represented directly using the `Status` message. /// represented directly using the `Status` message.
/// ///
/// - Logging. If some API errors are stored in logs, the message `Status` could /// - Logging. If some API errors are stored in logs, the message `Status` could
/// be used directly after any stripping needed for security/privacy reasons. /// be used directly after any stripping needed for security/privacy reasons.
class Status extends $pb.GeneratedMessage { class Status extends $pb.GeneratedMessage {
factory Status({ factory Status({
$core.int? code, $core.int? code,
$core.String? message, $core.String? message,
$core.Iterable<$17.Any>? details, $core.Iterable<$0.Any>? details,
}) { }) {
final $result = create(); final result = create();
if (code != null) { if (code != null) result.code = code;
$result.code = code; if (message != null) result.message = message;
} if (details != null) result.details.addAll(details);
if (message != null) { return result;
$result.message = message;
}
if (details != null) {
$result.details.addAll(details);
}
return $result;
} }
Status._() : super();
factory Status.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); Status._();
factory Status.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
factory Status.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory Status.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Status', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.rpc'), createEmptyInstance: create) static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Status', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.rpc'), createEmptyInstance: create)
..a<$core.int>(1, _omitFieldNames ? '' : 'code', $pb.PbFieldType.O3) ..a<$core.int>(1, _omitFieldNames ? '' : 'code', $pb.PbFieldType.O3)
..aOS(2, _omitFieldNames ? '' : 'message') ..aOS(2, _omitFieldNames ? '' : 'message')
..pc<$17.Any>(3, _omitFieldNames ? '' : 'details', $pb.PbFieldType.PM, subBuilder: $17.Any.create) ..pc<$0.Any>(3, _omitFieldNames ? '' : 'details', $pb.PbFieldType.PM, subBuilder: $0.Any.create)
..hasRequiredFields = false ..hasRequiredFields = false
; ;
@$core.Deprecated( @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
'Will be removed in next major version')
Status clone() => Status()..mergeFromMessage(this); Status clone() => Status()..mergeFromMessage(this);
@$core.Deprecated( @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
'Will be removed in next major version')
Status copyWith(void Function(Status) updates) => super.copyWith((message) => updates(message as Status)) as Status; Status copyWith(void Function(Status) updates) => super.copyWith((message) => updates(message as Status)) as Status;
@$core.override
$pb.BuilderInfo get info_ => _i; $pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline') @$core.pragma('dart2js:noInline')
static Status create() => Status._(); static Status create() => Status._();
@$core.override
Status createEmptyInstance() => create(); Status createEmptyInstance() => create();
static $pb.PbList<Status> createRepeated() => $pb.PbList<Status>(); static $pb.PbList<Status> createRepeated() => $pb.PbList<Status>();
@$core.pragma('dart2js:noInline') @$core.pragma('dart2js:noInline')
@@ -123,7 +116,7 @@ class Status extends $pb.GeneratedMessage {
@$pb.TagNumber(1) @$pb.TagNumber(1)
$core.int get code => $_getIZ(0); $core.int get code => $_getIZ(0);
@$pb.TagNumber(1) @$pb.TagNumber(1)
set code($core.int v) { $_setSignedInt32(0, v); } set code($core.int value) => $_setSignedInt32(0, value);
@$pb.TagNumber(1) @$pb.TagNumber(1)
$core.bool hasCode() => $_has(0); $core.bool hasCode() => $_has(0);
@$pb.TagNumber(1) @$pb.TagNumber(1)
@@ -135,7 +128,7 @@ class Status extends $pb.GeneratedMessage {
@$pb.TagNumber(2) @$pb.TagNumber(2)
$core.String get message => $_getSZ(1); $core.String get message => $_getSZ(1);
@$pb.TagNumber(2) @$pb.TagNumber(2)
set message($core.String v) { $_setString(1, v); } set message($core.String value) => $_setString(1, value);
@$pb.TagNumber(2) @$pb.TagNumber(2)
$core.bool hasMessage() => $_has(1); $core.bool hasMessage() => $_has(1);
@$pb.TagNumber(2) @$pb.TagNumber(2)
@@ -144,9 +137,9 @@ class Status extends $pb.GeneratedMessage {
/// A list of messages that carry the error details. There is a common set of /// A list of messages that carry the error details. There is a common set of
/// message types for APIs to use. /// message types for APIs to use.
@$pb.TagNumber(3) @$pb.TagNumber(3)
$pb.PbList<$17.Any> get details => $_getList(2); $pb.PbList<$0.Any> get details => $_getList(2);
} }
const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); const $core.bool _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names');
const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); const $core.bool _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names');

View File

@@ -1,11 +1,12 @@
// This is a generated file - do not edit.
// //
// Generated code. Do not modify. // Generated from google/rpc/status.proto.
// source: google/rpc/status.proto
//
// @dart = 3.3 // @dart = 3.3
// ignore_for_file: annotate_overrides, camel_case_types, comment_references // ignore_for_file: annotate_overrides, camel_case_types, comment_references
// ignore_for_file: constant_identifier_names, library_prefixes // ignore_for_file: constant_identifier_names
// ignore_for_file: non_constant_identifier_names, prefer_final_fields // ignore_for_file: curly_braces_in_flow_control_structures
// ignore_for_file: unnecessary_import, unnecessary_this, unused_import // ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
// ignore_for_file: non_constant_identifier_names

View File

@@ -1,13 +1,14 @@
// This is a generated file - do not edit.
// //
// Generated code. Do not modify. // Generated from google/rpc/status.proto.
// source: google/rpc/status.proto
//
// @dart = 3.3 // @dart = 3.3
// ignore_for_file: annotate_overrides, camel_case_types, comment_references // ignore_for_file: annotate_overrides, camel_case_types, comment_references
// ignore_for_file: constant_identifier_names, library_prefixes // ignore_for_file: constant_identifier_names
// ignore_for_file: non_constant_identifier_names, prefer_final_fields // ignore_for_file: curly_braces_in_flow_control_structures
// ignore_for_file: unnecessary_import, unnecessary_this, unused_import // ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
// ignore_for_file: non_constant_identifier_names, unused_import
import 'dart:convert' as $convert; import 'dart:convert' as $convert;
import 'dart:core' as $core; import 'dart:core' as $core;

File diff suppressed because it is too large Load Diff

View File

@@ -1,13 +1,14 @@
// This is a generated file - do not edit.
// //
// Generated code. Do not modify. // Generated from n1validate.proto.
// source: validate.proto
//
// @dart = 3.3 // @dart = 3.3
// ignore_for_file: annotate_overrides, camel_case_types, comment_references // ignore_for_file: annotate_overrides, camel_case_types, comment_references
// ignore_for_file: constant_identifier_names, library_prefixes // ignore_for_file: constant_identifier_names
// ignore_for_file: non_constant_identifier_names, prefer_final_fields // ignore_for_file: curly_braces_in_flow_control_structures
// ignore_for_file: unnecessary_import, unnecessary_this, unused_import // ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
// ignore_for_file: non_constant_identifier_names
import 'dart:core' as $core; import 'dart:core' as $core;
@@ -27,11 +28,11 @@ class KnownRegex extends $pb.ProtobufEnum {
HTTP_HEADER_VALUE, HTTP_HEADER_VALUE,
]; ];
static final $core.Map<$core.int, KnownRegex> _byValue = $pb.ProtobufEnum.initByValue(values); static final $core.List<KnownRegex?> _byValue = $pb.ProtobufEnum.$_initByValueList(values, 2);
static KnownRegex? valueOf($core.int value) => _byValue[value]; static KnownRegex? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value];
const KnownRegex._(super.v, super.n); const KnownRegex._(super.value, super.name);
} }
const _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names'); const $core.bool _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names');

View File

@@ -1,13 +1,14 @@
// This is a generated file - do not edit.
// //
// Generated code. Do not modify. // Generated from n1validate.proto.
// source: validate.proto
//
// @dart = 3.3 // @dart = 3.3
// ignore_for_file: annotate_overrides, camel_case_types, comment_references // ignore_for_file: annotate_overrides, camel_case_types, comment_references
// ignore_for_file: constant_identifier_names, library_prefixes // ignore_for_file: constant_identifier_names
// ignore_for_file: non_constant_identifier_names, prefer_final_fields // ignore_for_file: curly_braces_in_flow_control_structures
// ignore_for_file: unnecessary_import, unnecessary_this, unused_import // ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
// ignore_for_file: non_constant_identifier_names, unused_import
import 'dart:convert' as $convert; import 'dart:convert' as $convert;
import 'dart:core' as $core; import 'dart:core' as $core;
@@ -32,28 +33,28 @@ final $typed_data.Uint8List knownRegexDescriptor = $convert.base64Decode(
const FieldRules$json = { const FieldRules$json = {
'1': 'FieldRules', '1': 'FieldRules',
'2': [ '2': [
{'1': 'message', '3': 17, '4': 1, '5': 11, '6': '.validate.MessageRules', '10': 'message'}, {'1': 'message', '3': 17, '4': 1, '5': 11, '6': '.n1validate.MessageRules', '10': 'message'},
{'1': 'float', '3': 1, '4': 1, '5': 11, '6': '.validate.FloatRules', '9': 0, '10': 'float'}, {'1': 'float', '3': 1, '4': 1, '5': 11, '6': '.n1validate.FloatRules', '9': 0, '10': 'float'},
{'1': 'double', '3': 2, '4': 1, '5': 11, '6': '.validate.DoubleRules', '9': 0, '10': 'double'}, {'1': 'double', '3': 2, '4': 1, '5': 11, '6': '.n1validate.DoubleRules', '9': 0, '10': 'double'},
{'1': 'int32', '3': 3, '4': 1, '5': 11, '6': '.validate.Int32Rules', '9': 0, '10': 'int32'}, {'1': 'int32', '3': 3, '4': 1, '5': 11, '6': '.n1validate.Int32Rules', '9': 0, '10': 'int32'},
{'1': 'int64', '3': 4, '4': 1, '5': 11, '6': '.validate.Int64Rules', '9': 0, '10': 'int64'}, {'1': 'int64', '3': 4, '4': 1, '5': 11, '6': '.n1validate.Int64Rules', '9': 0, '10': 'int64'},
{'1': 'uint32', '3': 5, '4': 1, '5': 11, '6': '.validate.UInt32Rules', '9': 0, '10': 'uint32'}, {'1': 'uint32', '3': 5, '4': 1, '5': 11, '6': '.n1validate.UInt32Rules', '9': 0, '10': 'uint32'},
{'1': 'uint64', '3': 6, '4': 1, '5': 11, '6': '.validate.UInt64Rules', '9': 0, '10': 'uint64'}, {'1': 'uint64', '3': 6, '4': 1, '5': 11, '6': '.n1validate.UInt64Rules', '9': 0, '10': 'uint64'},
{'1': 'sint32', '3': 7, '4': 1, '5': 11, '6': '.validate.SInt32Rules', '9': 0, '10': 'sint32'}, {'1': 'sint32', '3': 7, '4': 1, '5': 11, '6': '.n1validate.SInt32Rules', '9': 0, '10': 'sint32'},
{'1': 'sint64', '3': 8, '4': 1, '5': 11, '6': '.validate.SInt64Rules', '9': 0, '10': 'sint64'}, {'1': 'sint64', '3': 8, '4': 1, '5': 11, '6': '.n1validate.SInt64Rules', '9': 0, '10': 'sint64'},
{'1': 'fixed32', '3': 9, '4': 1, '5': 11, '6': '.validate.Fixed32Rules', '9': 0, '10': 'fixed32'}, {'1': 'fixed32', '3': 9, '4': 1, '5': 11, '6': '.n1validate.Fixed32Rules', '9': 0, '10': 'fixed32'},
{'1': 'fixed64', '3': 10, '4': 1, '5': 11, '6': '.validate.Fixed64Rules', '9': 0, '10': 'fixed64'}, {'1': 'fixed64', '3': 10, '4': 1, '5': 11, '6': '.n1validate.Fixed64Rules', '9': 0, '10': 'fixed64'},
{'1': 'sfixed32', '3': 11, '4': 1, '5': 11, '6': '.validate.SFixed32Rules', '9': 0, '10': 'sfixed32'}, {'1': 'sfixed32', '3': 11, '4': 1, '5': 11, '6': '.n1validate.SFixed32Rules', '9': 0, '10': 'sfixed32'},
{'1': 'sfixed64', '3': 12, '4': 1, '5': 11, '6': '.validate.SFixed64Rules', '9': 0, '10': 'sfixed64'}, {'1': 'sfixed64', '3': 12, '4': 1, '5': 11, '6': '.n1validate.SFixed64Rules', '9': 0, '10': 'sfixed64'},
{'1': 'bool', '3': 13, '4': 1, '5': 11, '6': '.validate.BoolRules', '9': 0, '10': 'bool'}, {'1': 'bool', '3': 13, '4': 1, '5': 11, '6': '.n1validate.BoolRules', '9': 0, '10': 'bool'},
{'1': 'string', '3': 14, '4': 1, '5': 11, '6': '.validate.StringRules', '9': 0, '10': 'string'}, {'1': 'string', '3': 14, '4': 1, '5': 11, '6': '.n1validate.StringRules', '9': 0, '10': 'string'},
{'1': 'bytes', '3': 15, '4': 1, '5': 11, '6': '.validate.BytesRules', '9': 0, '10': 'bytes'}, {'1': 'bytes', '3': 15, '4': 1, '5': 11, '6': '.n1validate.BytesRules', '9': 0, '10': 'bytes'},
{'1': 'enum', '3': 16, '4': 1, '5': 11, '6': '.validate.EnumRules', '9': 0, '10': 'enum'}, {'1': 'enum', '3': 16, '4': 1, '5': 11, '6': '.n1validate.EnumRules', '9': 0, '10': 'enum'},
{'1': 'repeated', '3': 18, '4': 1, '5': 11, '6': '.validate.RepeatedRules', '9': 0, '10': 'repeated'}, {'1': 'repeated', '3': 18, '4': 1, '5': 11, '6': '.n1validate.RepeatedRules', '9': 0, '10': 'repeated'},
{'1': 'map', '3': 19, '4': 1, '5': 11, '6': '.validate.MapRules', '9': 0, '10': 'map'}, {'1': 'map', '3': 19, '4': 1, '5': 11, '6': '.n1validate.MapRules', '9': 0, '10': 'map'},
{'1': 'any', '3': 20, '4': 1, '5': 11, '6': '.validate.AnyRules', '9': 0, '10': 'any'}, {'1': 'any', '3': 20, '4': 1, '5': 11, '6': '.n1validate.AnyRules', '9': 0, '10': 'any'},
{'1': 'duration', '3': 21, '4': 1, '5': 11, '6': '.validate.DurationRules', '9': 0, '10': 'duration'}, {'1': 'duration', '3': 21, '4': 1, '5': 11, '6': '.n1validate.DurationRules', '9': 0, '10': 'duration'},
{'1': 'timestamp', '3': 22, '4': 1, '5': 11, '6': '.validate.TimestampRules', '9': 0, '10': 'timestamp'}, {'1': 'timestamp', '3': 22, '4': 1, '5': 11, '6': '.n1validate.TimestampRules', '9': 0, '10': 'timestamp'},
], ],
'8': [ '8': [
{'1': 'type'}, {'1': 'type'},
@@ -62,26 +63,27 @@ const FieldRules$json = {
/// Descriptor for `FieldRules`. Decode as a `google.protobuf.DescriptorProto`. /// Descriptor for `FieldRules`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List fieldRulesDescriptor = $convert.base64Decode( final $typed_data.Uint8List fieldRulesDescriptor = $convert.base64Decode(
'CgpGaWVsZFJ1bGVzEjAKB21lc3NhZ2UYESABKAsyFi52YWxpZGF0ZS5NZXNzYWdlUnVsZXNSB2' 'CgpGaWVsZFJ1bGVzEjIKB21lc3NhZ2UYESABKAsyGC5uMXZhbGlkYXRlLk1lc3NhZ2VSdWxlc1'
'1lc3NhZ2USLAoFZmxvYXQYASABKAsyFC52YWxpZGF0ZS5GbG9hdFJ1bGVzSABSBWZsb2F0Ei8K' 'IHbWVzc2FnZRIuCgVmbG9hdBgBIAEoCzIWLm4xdmFsaWRhdGUuRmxvYXRSdWxlc0gAUgVmbG9h'
'BmRvdWJsZRgCIAEoCzIVLnZhbGlkYXRlLkRvdWJsZVJ1bGVzSABSBmRvdWJsZRIsCgVpbnQzMh' 'dBIxCgZkb3VibGUYAiABKAsyFy5uMXZhbGlkYXRlLkRvdWJsZVJ1bGVzSABSBmRvdWJsZRIuCg'
'gDIAEoCzIULnZhbGlkYXRlLkludDMyUnVsZXNIAFIFaW50MzISLAoFaW50NjQYBCABKAsyFC52' 'VpbnQzMhgDIAEoCzIWLm4xdmFsaWRhdGUuSW50MzJSdWxlc0gAUgVpbnQzMhIuCgVpbnQ2NBgE'
'YWxpZGF0ZS5JbnQ2NFJ1bGVzSABSBWludDY0Ei8KBnVpbnQzMhgFIAEoCzIVLnZhbGlkYXRlLl' 'IAEoCzIWLm4xdmFsaWRhdGUuSW50NjRSdWxlc0gAUgVpbnQ2NBIxCgZ1aW50MzIYBSABKAsyFy'
'VJbnQzMlJ1bGVzSABSBnVpbnQzMhIvCgZ1aW50NjQYBiABKAsyFS52YWxpZGF0ZS5VSW50NjRS' '5uMXZhbGlkYXRlLlVJbnQzMlJ1bGVzSABSBnVpbnQzMhIxCgZ1aW50NjQYBiABKAsyFy5uMXZh'
'dWxlc0gAUgZ1aW50NjQSLwoGc2ludDMyGAcgASgLMhUudmFsaWRhdGUuU0ludDMyUnVsZXNIAF' 'bGlkYXRlLlVJbnQ2NFJ1bGVzSABSBnVpbnQ2NBIxCgZzaW50MzIYByABKAsyFy5uMXZhbGlkYX'
'IGc2ludDMyEi8KBnNpbnQ2NBgIIAEoCzIVLnZhbGlkYXRlLlNJbnQ2NFJ1bGVzSABSBnNpbnQ2' 'RlLlNJbnQzMlJ1bGVzSABSBnNpbnQzMhIxCgZzaW50NjQYCCABKAsyFy5uMXZhbGlkYXRlLlNJ'
'NBIyCgdmaXhlZDMyGAkgASgLMhYudmFsaWRhdGUuRml4ZWQzMlJ1bGVzSABSB2ZpeGVkMzISMg' 'bnQ2NFJ1bGVzSABSBnNpbnQ2NBI0CgdmaXhlZDMyGAkgASgLMhgubjF2YWxpZGF0ZS5GaXhlZD'
'oHZml4ZWQ2NBgKIAEoCzIWLnZhbGlkYXRlLkZpeGVkNjRSdWxlc0gAUgdmaXhlZDY0EjUKCHNm' 'MyUnVsZXNIAFIHZml4ZWQzMhI0CgdmaXhlZDY0GAogASgLMhgubjF2YWxpZGF0ZS5GaXhlZDY0'
'aXhlZDMyGAsgASgLMhcudmFsaWRhdGUuU0ZpeGVkMzJSdWxlc0gAUghzZml4ZWQzMhI1CghzZm' 'UnVsZXNIAFIHZml4ZWQ2NBI3CghzZml4ZWQzMhgLIAEoCzIZLm4xdmFsaWRhdGUuU0ZpeGVkMz'
'l4ZWQ2NBgMIAEoCzIXLnZhbGlkYXRlLlNGaXhlZDY0UnVsZXNIAFIIc2ZpeGVkNjQSKQoEYm9v' 'JSdWxlc0gAUghzZml4ZWQzMhI3CghzZml4ZWQ2NBgMIAEoCzIZLm4xdmFsaWRhdGUuU0ZpeGVk'
'bBgNIAEoCzITLnZhbGlkYXRlLkJvb2xSdWxlc0gAUgRib29sEi8KBnN0cmluZxgOIAEoCzIVLn' 'NjRSdWxlc0gAUghzZml4ZWQ2NBIrCgRib29sGA0gASgLMhUubjF2YWxpZGF0ZS5Cb29sUnVsZX'
'ZhbGlkYXRlLlN0cmluZ1J1bGVzSABSBnN0cmluZxIsCgVieXRlcxgPIAEoCzIULnZhbGlkYXRl' 'NIAFIEYm9vbBIxCgZzdHJpbmcYDiABKAsyFy5uMXZhbGlkYXRlLlN0cmluZ1J1bGVzSABSBnN0'
'LkJ5dGVzUnVsZXNIAFIFYnl0ZXMSKQoEZW51bRgQIAEoCzITLnZhbGlkYXRlLkVudW1SdWxlc0' 'cmluZxIuCgVieXRlcxgPIAEoCzIWLm4xdmFsaWRhdGUuQnl0ZXNSdWxlc0gAUgVieXRlcxIrCg'
'gAUgRlbnVtEjUKCHJlcGVhdGVkGBIgASgLMhcudmFsaWRhdGUuUmVwZWF0ZWRSdWxlc0gAUghy' 'RlbnVtGBAgASgLMhUubjF2YWxpZGF0ZS5FbnVtUnVsZXNIAFIEZW51bRI3CghyZXBlYXRlZBgS'
'ZXBlYXRlZBImCgNtYXAYEyABKAsyEi52YWxpZGF0ZS5NYXBSdWxlc0gAUgNtYXASJgoDYW55GB' 'IAEoCzIZLm4xdmFsaWRhdGUuUmVwZWF0ZWRSdWxlc0gAUghyZXBlYXRlZBIoCgNtYXAYEyABKA'
'QgASgLMhIudmFsaWRhdGUuQW55UnVsZXNIAFIDYW55EjUKCGR1cmF0aW9uGBUgASgLMhcudmFs' 'syFC5uMXZhbGlkYXRlLk1hcFJ1bGVzSABSA21hcBIoCgNhbnkYFCABKAsyFC5uMXZhbGlkYXRl'
'aWRhdGUuRHVyYXRpb25SdWxlc0gAUghkdXJhdGlvbhI4Cgl0aW1lc3RhbXAYFiABKAsyGC52YW' 'LkFueVJ1bGVzSABSA2FueRI3CghkdXJhdGlvbhgVIAEoCzIZLm4xdmFsaWRhdGUuRHVyYXRpb2'
'xpZGF0ZS5UaW1lc3RhbXBSdWxlc0gAUgl0aW1lc3RhbXBCBgoEdHlwZQ=='); '5SdWxlc0gAUghkdXJhdGlvbhI6Cgl0aW1lc3RhbXAYFiABKAsyGi5uMXZhbGlkYXRlLlRpbWVz'
'dGFtcFJ1bGVzSABSCXRpbWVzdGFtcEIGCgR0eXBl');
@$core.Deprecated('Use floatRulesDescriptor instead') @$core.Deprecated('Use floatRulesDescriptor instead')
const FloatRules$json = { const FloatRules$json = {
@@ -401,10 +403,13 @@ const StringRules$json = {
{'1': 'uri_ref', '3': 18, '4': 1, '5': 8, '9': 0, '10': 'uriRef'}, {'1': 'uri_ref', '3': 18, '4': 1, '5': 8, '9': 0, '10': 'uriRef'},
{'1': 'address', '3': 21, '4': 1, '5': 8, '9': 0, '10': 'address'}, {'1': 'address', '3': 21, '4': 1, '5': 8, '9': 0, '10': 'address'},
{'1': 'uuid', '3': 22, '4': 1, '5': 8, '9': 0, '10': 'uuid'}, {'1': 'uuid', '3': 22, '4': 1, '5': 8, '9': 0, '10': 'uuid'},
{'1': 'well_known_regex', '3': 24, '4': 1, '5': 14, '6': '.validate.KnownRegex', '9': 0, '10': 'wellKnownRegex'}, {'1': 'well_known_regex', '3': 24, '4': 1, '5': 14, '6': '.n1validate.KnownRegex', '9': 0, '10': 'wellKnownRegex'},
{'1': 'dateIso8601', '3': 26, '4': 1, '5': 8, '9': 0, '10': 'dateIso8601'}, {'1': 'dateIso8601', '3': 26, '4': 1, '5': 8, '9': 0, '10': 'dateIso8601'},
{'1': 'languageIso6391', '3': 27, '4': 1, '5': 8, '9': 0, '10': 'languageIso6391'}, {'1': 'languageIso6391', '3': 27, '4': 1, '5': 8, '9': 0, '10': 'languageIso6391'},
{'1': 'tzData', '3': 28, '4': 1, '5': 8, '9': 0, '10': 'tzData'}, {'1': 'tzData', '3': 28, '4': 1, '5': 8, '9': 0, '10': 'tzData'},
{'1': 'countryCodeIso3166', '3': 31, '4': 1, '5': 8, '9': 0, '10': 'countryCodeIso3166'},
{'1': 'languageIso639', '3': 32, '4': 1, '5': 8, '9': 0, '10': 'languageIso639'},
{'1': 'countryCodeIso3166Alpha2', '3': 33, '4': 1, '5': 8, '9': 0, '10': 'countryCodeIso3166Alpha2'},
{'1': 'strict', '3': 25, '4': 1, '5': 8, '7': 'true', '10': 'strict'}, {'1': 'strict', '3': 25, '4': 1, '5': 8, '7': 'true', '10': 'strict'},
{'1': 'ignore_empty', '3': 30, '4': 1, '5': 8, '10': 'ignoreEmpty'}, {'1': 'ignore_empty', '3': 30, '4': 1, '5': 8, '10': 'ignoreEmpty'},
], ],
@@ -426,11 +431,14 @@ final $typed_data.Uint8List stringRulesDescriptor = $convert.base64Decode(
'SABSCGhvc3RuYW1lEhAKAmlwGA4gASgISABSAmlwEhQKBGlwdjQYDyABKAhIAFIEaXB2NBIUCg' 'SABSCGhvc3RuYW1lEhAKAmlwGA4gASgISABSAmlwEhQKBGlwdjQYDyABKAhIAFIEaXB2NBIUCg'
'RpcHY2GBAgASgISABSBGlwdjYSEgoDdXJpGBEgASgISABSA3VyaRIZCgd1cmlfcmVmGBIgASgI' 'RpcHY2GBAgASgISABSBGlwdjYSEgoDdXJpGBEgASgISABSA3VyaRIZCgd1cmlfcmVmGBIgASgI'
'SABSBnVyaVJlZhIaCgdhZGRyZXNzGBUgASgISABSB2FkZHJlc3MSFAoEdXVpZBgWIAEoCEgAUg' 'SABSBnVyaVJlZhIaCgdhZGRyZXNzGBUgASgISABSB2FkZHJlc3MSFAoEdXVpZBgWIAEoCEgAUg'
'R1dWlkEkAKEHdlbGxfa25vd25fcmVnZXgYGCABKA4yFC52YWxpZGF0ZS5Lbm93blJlZ2V4SABS' 'R1dWlkEkIKEHdlbGxfa25vd25fcmVnZXgYGCABKA4yFi5uMXZhbGlkYXRlLktub3duUmVnZXhI'
'DndlbGxLbm93blJlZ2V4EiIKC2RhdGVJc284NjAxGBogASgISABSC2RhdGVJc284NjAxEioKD2' 'AFIOd2VsbEtub3duUmVnZXgSIgoLZGF0ZUlzbzg2MDEYGiABKAhIAFILZGF0ZUlzbzg2MDESKg'
'xhbmd1YWdlSXNvNjM5MRgbIAEoCEgAUg9sYW5ndWFnZUlzbzYzOTESGAoGdHpEYXRhGBwgASgI' 'oPbGFuZ3VhZ2VJc282MzkxGBsgASgISABSD2xhbmd1YWdlSXNvNjM5MRIYCgZ0ekRhdGEYHCAB'
'SABSBnR6RGF0YRIcCgZzdHJpY3QYGSABKAg6BHRydWVSBnN0cmljdBIhCgxpZ25vcmVfZW1wdH' 'KAhIAFIGdHpEYXRhEjAKEmNvdW50cnlDb2RlSXNvMzE2NhgfIAEoCEgAUhJjb3VudHJ5Q29kZU'
'kYHiABKAhSC2lnbm9yZUVtcHR5QgwKCndlbGxfa25vd24='); 'lzbzMxNjYSKAoObGFuZ3VhZ2VJc282MzkYICABKAhIAFIObGFuZ3VhZ2VJc282MzkSPAoYY291'
'bnRyeUNvZGVJc28zMTY2QWxwaGEyGCEgASgISABSGGNvdW50cnlDb2RlSXNvMzE2NkFscGhhMh'
'IcCgZzdHJpY3QYGSABKAg6BHRydWVSBnN0cmljdBIhCgxpZ25vcmVfZW1wdHkYHiABKAhSC2ln'
'bm9yZUVtcHR5QgwKCndlbGxfa25vd24=');
@$core.Deprecated('Use bytesRulesDescriptor instead') @$core.Deprecated('Use bytesRulesDescriptor instead')
const BytesRules$json = { const BytesRules$json = {
@@ -508,7 +516,7 @@ const RepeatedRules$json = {
{'1': 'min_items', '3': 1, '4': 1, '5': 4, '10': 'minItems'}, {'1': 'min_items', '3': 1, '4': 1, '5': 4, '10': 'minItems'},
{'1': 'max_items', '3': 2, '4': 1, '5': 4, '10': 'maxItems'}, {'1': 'max_items', '3': 2, '4': 1, '5': 4, '10': 'maxItems'},
{'1': 'unique', '3': 3, '4': 1, '5': 8, '10': 'unique'}, {'1': 'unique', '3': 3, '4': 1, '5': 8, '10': 'unique'},
{'1': 'items', '3': 4, '4': 1, '5': 11, '6': '.validate.FieldRules', '10': 'items'}, {'1': 'items', '3': 4, '4': 1, '5': 11, '6': '.n1validate.FieldRules', '10': 'items'},
{'1': 'uniqueBaseLV', '3': 5, '4': 1, '5': 8, '10': 'uniqueBaseLV'}, {'1': 'uniqueBaseLV', '3': 5, '4': 1, '5': 8, '10': 'uniqueBaseLV'},
{'1': 'knownRefLV', '3': 6, '4': 1, '5': 8, '10': 'knownRefLV'}, {'1': 'knownRefLV', '3': 6, '4': 1, '5': 8, '10': 'knownRefLV'},
{'1': 'ignore_empty', '3': 7, '4': 1, '5': 8, '10': 'ignoreEmpty'}, {'1': 'ignore_empty', '3': 7, '4': 1, '5': 8, '10': 'ignoreEmpty'},
@@ -518,10 +526,10 @@ const RepeatedRules$json = {
/// Descriptor for `RepeatedRules`. Decode as a `google.protobuf.DescriptorProto`. /// Descriptor for `RepeatedRules`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List repeatedRulesDescriptor = $convert.base64Decode( final $typed_data.Uint8List repeatedRulesDescriptor = $convert.base64Decode(
'Cg1SZXBlYXRlZFJ1bGVzEhsKCW1pbl9pdGVtcxgBIAEoBFIIbWluSXRlbXMSGwoJbWF4X2l0ZW' 'Cg1SZXBlYXRlZFJ1bGVzEhsKCW1pbl9pdGVtcxgBIAEoBFIIbWluSXRlbXMSGwoJbWF4X2l0ZW'
'1zGAIgASgEUghtYXhJdGVtcxIWCgZ1bmlxdWUYAyABKAhSBnVuaXF1ZRIqCgVpdGVtcxgEIAEo' '1zGAIgASgEUghtYXhJdGVtcxIWCgZ1bmlxdWUYAyABKAhSBnVuaXF1ZRIsCgVpdGVtcxgEIAEo'
'CzIULnZhbGlkYXRlLkZpZWxkUnVsZXNSBWl0ZW1zEiIKDHVuaXF1ZUJhc2VMVhgFIAEoCFIMdW' 'CzIWLm4xdmFsaWRhdGUuRmllbGRSdWxlc1IFaXRlbXMSIgoMdW5pcXVlQmFzZUxWGAUgASgIUg'
'5pcXVlQmFzZUxWEh4KCmtub3duUmVmTFYYBiABKAhSCmtub3duUmVmTFYSIQoMaWdub3JlX2Vt' 'x1bmlxdWVCYXNlTFYSHgoKa25vd25SZWZMVhgGIAEoCFIKa25vd25SZWZMVhIhCgxpZ25vcmVf'
'cHR5GAcgASgIUgtpZ25vcmVFbXB0eQ=='); 'ZW1wdHkYByABKAhSC2lnbm9yZUVtcHR5');
@$core.Deprecated('Use mapRulesDescriptor instead') @$core.Deprecated('Use mapRulesDescriptor instead')
const MapRules$json = { const MapRules$json = {
@@ -530,8 +538,8 @@ const MapRules$json = {
{'1': 'min_pairs', '3': 1, '4': 1, '5': 4, '10': 'minPairs'}, {'1': 'min_pairs', '3': 1, '4': 1, '5': 4, '10': 'minPairs'},
{'1': 'max_pairs', '3': 2, '4': 1, '5': 4, '10': 'maxPairs'}, {'1': 'max_pairs', '3': 2, '4': 1, '5': 4, '10': 'maxPairs'},
{'1': 'no_sparse', '3': 3, '4': 1, '5': 8, '10': 'noSparse'}, {'1': 'no_sparse', '3': 3, '4': 1, '5': 8, '10': 'noSparse'},
{'1': 'keys', '3': 4, '4': 1, '5': 11, '6': '.validate.FieldRules', '10': 'keys'}, {'1': 'keys', '3': 4, '4': 1, '5': 11, '6': '.n1validate.FieldRules', '10': 'keys'},
{'1': 'values', '3': 5, '4': 1, '5': 11, '6': '.validate.FieldRules', '10': 'values'}, {'1': 'values', '3': 5, '4': 1, '5': 11, '6': '.n1validate.FieldRules', '10': 'values'},
{'1': 'ignore_empty', '3': 6, '4': 1, '5': 8, '10': 'ignoreEmpty'}, {'1': 'ignore_empty', '3': 6, '4': 1, '5': 8, '10': 'ignoreEmpty'},
], ],
}; };
@@ -539,9 +547,10 @@ const MapRules$json = {
/// Descriptor for `MapRules`. Decode as a `google.protobuf.DescriptorProto`. /// Descriptor for `MapRules`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List mapRulesDescriptor = $convert.base64Decode( final $typed_data.Uint8List mapRulesDescriptor = $convert.base64Decode(
'CghNYXBSdWxlcxIbCgltaW5fcGFpcnMYASABKARSCG1pblBhaXJzEhsKCW1heF9wYWlycxgCIA' 'CghNYXBSdWxlcxIbCgltaW5fcGFpcnMYASABKARSCG1pblBhaXJzEhsKCW1heF9wYWlycxgCIA'
'EoBFIIbWF4UGFpcnMSGwoJbm9fc3BhcnNlGAMgASgIUghub1NwYXJzZRIoCgRrZXlzGAQgASgL' 'EoBFIIbWF4UGFpcnMSGwoJbm9fc3BhcnNlGAMgASgIUghub1NwYXJzZRIqCgRrZXlzGAQgASgL'
'MhQudmFsaWRhdGUuRmllbGRSdWxlc1IEa2V5cxIsCgZ2YWx1ZXMYBSABKAsyFC52YWxpZGF0ZS' 'MhYubjF2YWxpZGF0ZS5GaWVsZFJ1bGVzUgRrZXlzEi4KBnZhbHVlcxgFIAEoCzIWLm4xdmFsaW'
'5GaWVsZFJ1bGVzUgZ2YWx1ZXMSIQoMaWdub3JlX2VtcHR5GAYgASgIUgtpZ25vcmVFbXB0eQ=='); 'RhdGUuRmllbGRSdWxlc1IGdmFsdWVzEiEKDGlnbm9yZV9lbXB0eRgGIAEoCFILaWdub3JlRW1w'
'dHk=');
@$core.Deprecated('Use anyRulesDescriptor instead') @$core.Deprecated('Use anyRulesDescriptor instead')
const AnyRules$json = { const AnyRules$json = {

File diff suppressed because it is too large Load Diff

View File

@@ -1,13 +1,14 @@
// This is a generated file - do not edit.
// //
// Generated code. Do not modify. // Generated from openapiv2.proto.
// source: openapiv2.proto
//
// @dart = 3.3 // @dart = 3.3
// ignore_for_file: annotate_overrides, camel_case_types, comment_references // ignore_for_file: annotate_overrides, camel_case_types, comment_references
// ignore_for_file: constant_identifier_names, library_prefixes // ignore_for_file: constant_identifier_names
// ignore_for_file: non_constant_identifier_names, prefer_final_fields // ignore_for_file: curly_braces_in_flow_control_structures
// ignore_for_file: unnecessary_import, unnecessary_this, unused_import // ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
// ignore_for_file: non_constant_identifier_names
import 'dart:core' as $core; import 'dart:core' as $core;
@@ -30,10 +31,33 @@ class Scheme extends $pb.ProtobufEnum {
WSS, WSS,
]; ];
static final $core.Map<$core.int, Scheme> _byValue = $pb.ProtobufEnum.initByValue(values); static final $core.List<Scheme?> _byValue = $pb.ProtobufEnum.$_initByValueList(values, 4);
static Scheme? valueOf($core.int value) => _byValue[value]; static Scheme? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value];
const Scheme._(super.v, super.n); const Scheme._(super.value, super.name);
}
/// `Type` is a supported HTTP header type.
/// See https://swagger.io/specification/v2/#parameterType.
class HeaderParameter_Type extends $pb.ProtobufEnum {
static const HeaderParameter_Type UNKNOWN = HeaderParameter_Type._(0, _omitEnumNames ? '' : 'UNKNOWN');
static const HeaderParameter_Type STRING = HeaderParameter_Type._(1, _omitEnumNames ? '' : 'STRING');
static const HeaderParameter_Type NUMBER = HeaderParameter_Type._(2, _omitEnumNames ? '' : 'NUMBER');
static const HeaderParameter_Type INTEGER = HeaderParameter_Type._(3, _omitEnumNames ? '' : 'INTEGER');
static const HeaderParameter_Type BOOLEAN = HeaderParameter_Type._(4, _omitEnumNames ? '' : 'BOOLEAN');
static const $core.List<HeaderParameter_Type> values = <HeaderParameter_Type> [
UNKNOWN,
STRING,
NUMBER,
INTEGER,
BOOLEAN,
];
static final $core.List<HeaderParameter_Type?> _byValue = $pb.ProtobufEnum.$_initByValueList(values, 4);
static HeaderParameter_Type? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value];
const HeaderParameter_Type._(super.value, super.name);
} }
class JSONSchema_JSONSchemaSimpleTypes extends $pb.ProtobufEnum { class JSONSchema_JSONSchemaSimpleTypes extends $pb.ProtobufEnum {
@@ -57,10 +81,10 @@ class JSONSchema_JSONSchemaSimpleTypes extends $pb.ProtobufEnum {
STRING, STRING,
]; ];
static final $core.Map<$core.int, JSONSchema_JSONSchemaSimpleTypes> _byValue = $pb.ProtobufEnum.initByValue(values); static final $core.List<JSONSchema_JSONSchemaSimpleTypes?> _byValue = $pb.ProtobufEnum.$_initByValueList(values, 7);
static JSONSchema_JSONSchemaSimpleTypes? valueOf($core.int value) => _byValue[value]; static JSONSchema_JSONSchemaSimpleTypes? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value];
const JSONSchema_JSONSchemaSimpleTypes._(super.v, super.n); const JSONSchema_JSONSchemaSimpleTypes._(super.value, super.name);
} }
/// The type of the security scheme. Valid values are "basic", /// The type of the security scheme. Valid values are "basic",
@@ -78,10 +102,10 @@ class SecurityScheme_Type extends $pb.ProtobufEnum {
TYPE_OAUTH2, TYPE_OAUTH2,
]; ];
static final $core.Map<$core.int, SecurityScheme_Type> _byValue = $pb.ProtobufEnum.initByValue(values); static final $core.List<SecurityScheme_Type?> _byValue = $pb.ProtobufEnum.$_initByValueList(values, 3);
static SecurityScheme_Type? valueOf($core.int value) => _byValue[value]; static SecurityScheme_Type? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value];
const SecurityScheme_Type._(super.v, super.n); const SecurityScheme_Type._(super.value, super.name);
} }
/// The location of the API key. Valid values are "query" or "header". /// The location of the API key. Valid values are "query" or "header".
@@ -96,10 +120,10 @@ class SecurityScheme_In extends $pb.ProtobufEnum {
IN_HEADER, IN_HEADER,
]; ];
static final $core.Map<$core.int, SecurityScheme_In> _byValue = $pb.ProtobufEnum.initByValue(values); static final $core.List<SecurityScheme_In?> _byValue = $pb.ProtobufEnum.$_initByValueList(values, 2);
static SecurityScheme_In? valueOf($core.int value) => _byValue[value]; static SecurityScheme_In? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value];
const SecurityScheme_In._(super.v, super.n); const SecurityScheme_In._(super.value, super.name);
} }
/// The flow used by the OAuth2 security scheme. Valid values are /// The flow used by the OAuth2 security scheme. Valid values are
@@ -119,11 +143,11 @@ class SecurityScheme_Flow extends $pb.ProtobufEnum {
FLOW_ACCESS_CODE, FLOW_ACCESS_CODE,
]; ];
static final $core.Map<$core.int, SecurityScheme_Flow> _byValue = $pb.ProtobufEnum.initByValue(values); static final $core.List<SecurityScheme_Flow?> _byValue = $pb.ProtobufEnum.$_initByValueList(values, 4);
static SecurityScheme_Flow? valueOf($core.int value) => _byValue[value]; static SecurityScheme_Flow? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value];
const SecurityScheme_Flow._(super.v, super.n); const SecurityScheme_Flow._(super.value, super.name);
} }
const _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names'); const $core.bool _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names');

View File

@@ -1,13 +1,14 @@
// This is a generated file - do not edit.
// //
// Generated code. Do not modify. // Generated from openapiv2.proto.
// source: openapiv2.proto
//
// @dart = 3.3 // @dart = 3.3
// ignore_for_file: annotate_overrides, camel_case_types, comment_references // ignore_for_file: annotate_overrides, camel_case_types, comment_references
// ignore_for_file: constant_identifier_names, library_prefixes // ignore_for_file: constant_identifier_names
// ignore_for_file: non_constant_identifier_names, prefer_final_fields // ignore_for_file: curly_braces_in_flow_control_structures
// ignore_for_file: unnecessary_import, unnecessary_this, unused_import // ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
// ignore_for_file: non_constant_identifier_names, unused_import
import 'dart:convert' as $convert; import 'dart:convert' as $convert;
import 'dart:core' as $core; import 'dart:core' as $core;
@@ -44,6 +45,7 @@ const Swagger$json = {
{'1': 'responses', '3': 10, '4': 3, '5': 11, '6': '.grpc.gateway.protoc_gen_openapiv2.options.Swagger.ResponsesEntry', '10': 'responses'}, {'1': 'responses', '3': 10, '4': 3, '5': 11, '6': '.grpc.gateway.protoc_gen_openapiv2.options.Swagger.ResponsesEntry', '10': 'responses'},
{'1': 'security_definitions', '3': 11, '4': 1, '5': 11, '6': '.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions', '10': 'securityDefinitions'}, {'1': 'security_definitions', '3': 11, '4': 1, '5': 11, '6': '.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions', '10': 'securityDefinitions'},
{'1': 'security', '3': 12, '4': 3, '5': 11, '6': '.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement', '10': 'security'}, {'1': 'security', '3': 12, '4': 3, '5': 11, '6': '.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement', '10': 'security'},
{'1': 'tags', '3': 13, '4': 3, '5': 11, '6': '.grpc.gateway.protoc_gen_openapiv2.options.Tag', '10': 'tags'},
{'1': 'external_docs', '3': 14, '4': 1, '5': 11, '6': '.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation', '10': 'externalDocs'}, {'1': 'external_docs', '3': 14, '4': 1, '5': 11, '6': '.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation', '10': 'externalDocs'},
{'1': 'extensions', '3': 15, '4': 3, '5': 11, '6': '.grpc.gateway.protoc_gen_openapiv2.options.Swagger.ExtensionsEntry', '10': 'extensions'}, {'1': 'extensions', '3': 15, '4': 3, '5': 11, '6': '.grpc.gateway.protoc_gen_openapiv2.options.Swagger.ExtensionsEntry', '10': 'extensions'},
], ],
@@ -51,7 +53,6 @@ const Swagger$json = {
'9': [ '9': [
{'1': 8, '2': 9}, {'1': 8, '2': 9},
{'1': 9, '2': 10}, {'1': 9, '2': 10},
{'1': 13, '2': 14},
], ],
}; };
@@ -87,15 +88,16 @@ final $typed_data.Uint8List swaggerDescriptor = $convert.base64Decode(
'VjdXJpdHlfZGVmaW5pdGlvbnMYCyABKAsyPi5ncnBjLmdhdGV3YXkucHJvdG9jX2dlbl9vcGVu' 'VjdXJpdHlfZGVmaW5pdGlvbnMYCyABKAsyPi5ncnBjLmdhdGV3YXkucHJvdG9jX2dlbl9vcGVu'
'YXBpdjIub3B0aW9ucy5TZWN1cml0eURlZmluaXRpb25zUhNzZWN1cml0eURlZmluaXRpb25zEl' 'YXBpdjIub3B0aW9ucy5TZWN1cml0eURlZmluaXRpb25zUhNzZWN1cml0eURlZmluaXRpb25zEl'
'oKCHNlY3VyaXR5GAwgAygLMj4uZ3JwYy5nYXRld2F5LnByb3RvY19nZW5fb3BlbmFwaXYyLm9w' 'oKCHNlY3VyaXR5GAwgAygLMj4uZ3JwYy5nYXRld2F5LnByb3RvY19nZW5fb3BlbmFwaXYyLm9w'
'dGlvbnMuU2VjdXJpdHlSZXF1aXJlbWVudFIIc2VjdXJpdHkSZQoNZXh0ZXJuYWxfZG9jcxgOIA' 'dGlvbnMuU2VjdXJpdHlSZXF1aXJlbWVudFIIc2VjdXJpdHkSQgoEdGFncxgNIAMoCzIuLmdycG'
'EoCzJALmdycGMuZ2F0ZXdheS5wcm90b2NfZ2VuX29wZW5hcGl2Mi5vcHRpb25zLkV4dGVybmFs' 'MuZ2F0ZXdheS5wcm90b2NfZ2VuX29wZW5hcGl2Mi5vcHRpb25zLlRhZ1IEdGFncxJlCg1leHRl'
'RG9jdW1lbnRhdGlvblIMZXh0ZXJuYWxEb2NzEmIKCmV4dGVuc2lvbnMYDyADKAsyQi5ncnBjLm' 'cm5hbF9kb2NzGA4gASgLMkAuZ3JwYy5nYXRld2F5LnByb3RvY19nZW5fb3BlbmFwaXYyLm9wdG'
'dhdGV3YXkucHJvdG9jX2dlbl9vcGVuYXBpdjIub3B0aW9ucy5Td2FnZ2VyLkV4dGVuc2lvbnNF' 'lvbnMuRXh0ZXJuYWxEb2N1bWVudGF0aW9uUgxleHRlcm5hbERvY3MSYgoKZXh0ZW5zaW9ucxgP'
'bnRyeVIKZXh0ZW5zaW9ucxpxCg5SZXNwb25zZXNFbnRyeRIQCgNrZXkYASABKAlSA2tleRJJCg' 'IAMoCzJCLmdycGMuZ2F0ZXdheS5wcm90b2NfZ2VuX29wZW5hcGl2Mi5vcHRpb25zLlN3YWdnZX'
'V2YWx1ZRgCIAEoCzIzLmdycGMuZ2F0ZXdheS5wcm90b2NfZ2VuX29wZW5hcGl2Mi5vcHRpb25z' 'IuRXh0ZW5zaW9uc0VudHJ5UgpleHRlbnNpb25zGnEKDlJlc3BvbnNlc0VudHJ5EhAKA2tleRgB'
'LlJlc3BvbnNlUgV2YWx1ZToCOAEaVQoPRXh0ZW5zaW9uc0VudHJ5EhAKA2tleRgBIAEoCVIDa2' 'IAEoCVIDa2V5EkkKBXZhbHVlGAIgASgLMjMuZ3JwYy5nYXRld2F5LnByb3RvY19nZW5fb3Blbm'
'V5EiwKBXZhbHVlGAIgASgLMhYuZ29vZ2xlLnByb3RvYnVmLlZhbHVlUgV2YWx1ZToCOAFKBAgI' 'FwaXYyLm9wdGlvbnMuUmVzcG9uc2VSBXZhbHVlOgI4ARpVCg9FeHRlbnNpb25zRW50cnkSEAoD'
'EAlKBAgJEApKBAgNEA4='); 'a2V5GAEgASgJUgNrZXkSLAoFdmFsdWUYAiABKAsyFi5nb29nbGUucHJvdG9idWYuVmFsdWVSBX'
'ZhbHVlOgI4AUoECAgQCUoECAkQCg==');
@$core.Deprecated('Use operationDescriptor instead') @$core.Deprecated('Use operationDescriptor instead')
const Operation$json = { const Operation$json = {
@@ -113,6 +115,7 @@ const Operation$json = {
{'1': 'deprecated', '3': 11, '4': 1, '5': 8, '10': 'deprecated'}, {'1': 'deprecated', '3': 11, '4': 1, '5': 8, '10': 'deprecated'},
{'1': 'security', '3': 12, '4': 3, '5': 11, '6': '.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement', '10': 'security'}, {'1': 'security', '3': 12, '4': 3, '5': 11, '6': '.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement', '10': 'security'},
{'1': 'extensions', '3': 13, '4': 3, '5': 11, '6': '.grpc.gateway.protoc_gen_openapiv2.options.Operation.ExtensionsEntry', '10': 'extensions'}, {'1': 'extensions', '3': 13, '4': 3, '5': 11, '6': '.grpc.gateway.protoc_gen_openapiv2.options.Operation.ExtensionsEntry', '10': 'extensions'},
{'1': 'parameters', '3': 14, '4': 1, '5': 11, '6': '.grpc.gateway.protoc_gen_openapiv2.options.Parameters', '10': 'parameters'},
], ],
'3': [Operation_ResponsesEntry$json, Operation_ExtensionsEntry$json], '3': [Operation_ResponsesEntry$json, Operation_ExtensionsEntry$json],
'9': [ '9': [
@@ -154,11 +157,63 @@ final $typed_data.Uint8List operationDescriptor = $convert.base64Decode(
'N1cml0eRgMIAMoCzI+LmdycGMuZ2F0ZXdheS5wcm90b2NfZ2VuX29wZW5hcGl2Mi5vcHRpb25z' 'N1cml0eRgMIAMoCzI+LmdycGMuZ2F0ZXdheS5wcm90b2NfZ2VuX29wZW5hcGl2Mi5vcHRpb25z'
'LlNlY3VyaXR5UmVxdWlyZW1lbnRSCHNlY3VyaXR5EmQKCmV4dGVuc2lvbnMYDSADKAsyRC5ncn' 'LlNlY3VyaXR5UmVxdWlyZW1lbnRSCHNlY3VyaXR5EmQKCmV4dGVuc2lvbnMYDSADKAsyRC5ncn'
'BjLmdhdGV3YXkucHJvdG9jX2dlbl9vcGVuYXBpdjIub3B0aW9ucy5PcGVyYXRpb24uRXh0ZW5z' 'BjLmdhdGV3YXkucHJvdG9jX2dlbl9vcGVuYXBpdjIub3B0aW9ucy5PcGVyYXRpb24uRXh0ZW5z'
'aW9uc0VudHJ5UgpleHRlbnNpb25zGnEKDlJlc3BvbnNlc0VudHJ5EhAKA2tleRgBIAEoCVIDa2' 'aW9uc0VudHJ5UgpleHRlbnNpb25zElUKCnBhcmFtZXRlcnMYDiABKAsyNS5ncnBjLmdhdGV3YX'
'V5EkkKBXZhbHVlGAIgASgLMjMuZ3JwYy5nYXRld2F5LnByb3RvY19nZW5fb3BlbmFwaXYyLm9w' 'kucHJvdG9jX2dlbl9vcGVuYXBpdjIub3B0aW9ucy5QYXJhbWV0ZXJzUgpwYXJhbWV0ZXJzGnEK'
'dGlvbnMuUmVzcG9uc2VSBXZhbHVlOgI4ARpVCg9FeHRlbnNpb25zRW50cnkSEAoDa2V5GAEgAS' 'DlJlc3BvbnNlc0VudHJ5EhAKA2tleRgBIAEoCVIDa2V5EkkKBXZhbHVlGAIgASgLMjMuZ3JwYy'
'gJUgNrZXkSLAoFdmFsdWUYAiABKAsyFi5nb29nbGUucHJvdG9idWYuVmFsdWVSBXZhbHVlOgI4' '5nYXRld2F5LnByb3RvY19nZW5fb3BlbmFwaXYyLm9wdGlvbnMuUmVzcG9uc2VSBXZhbHVlOgI4'
'AUoECAgQCQ=='); 'ARpVCg9FeHRlbnNpb25zRW50cnkSEAoDa2V5GAEgASgJUgNrZXkSLAoFdmFsdWUYAiABKAsyFi'
'5nb29nbGUucHJvdG9idWYuVmFsdWVSBXZhbHVlOgI4AUoECAgQCQ==');
@$core.Deprecated('Use parametersDescriptor instead')
const Parameters$json = {
'1': 'Parameters',
'2': [
{'1': 'headers', '3': 1, '4': 3, '5': 11, '6': '.grpc.gateway.protoc_gen_openapiv2.options.HeaderParameter', '10': 'headers'},
],
};
/// Descriptor for `Parameters`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List parametersDescriptor = $convert.base64Decode(
'CgpQYXJhbWV0ZXJzElQKB2hlYWRlcnMYASADKAsyOi5ncnBjLmdhdGV3YXkucHJvdG9jX2dlbl'
'9vcGVuYXBpdjIub3B0aW9ucy5IZWFkZXJQYXJhbWV0ZXJSB2hlYWRlcnM=');
@$core.Deprecated('Use headerParameterDescriptor instead')
const HeaderParameter$json = {
'1': 'HeaderParameter',
'2': [
{'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'},
{'1': 'description', '3': 2, '4': 1, '5': 9, '10': 'description'},
{'1': 'type', '3': 3, '4': 1, '5': 14, '6': '.grpc.gateway.protoc_gen_openapiv2.options.HeaderParameter.Type', '10': 'type'},
{'1': 'format', '3': 4, '4': 1, '5': 9, '10': 'format'},
{'1': 'required', '3': 5, '4': 1, '5': 8, '10': 'required'},
],
'4': [HeaderParameter_Type$json],
'9': [
{'1': 6, '2': 7},
{'1': 7, '2': 8},
],
};
@$core.Deprecated('Use headerParameterDescriptor instead')
const HeaderParameter_Type$json = {
'1': 'Type',
'2': [
{'1': 'UNKNOWN', '2': 0},
{'1': 'STRING', '2': 1},
{'1': 'NUMBER', '2': 2},
{'1': 'INTEGER', '2': 3},
{'1': 'BOOLEAN', '2': 4},
],
};
/// Descriptor for `HeaderParameter`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List headerParameterDescriptor = $convert.base64Decode(
'Cg9IZWFkZXJQYXJhbWV0ZXISEgoEbmFtZRgBIAEoCVIEbmFtZRIgCgtkZXNjcmlwdGlvbhgCIA'
'EoCVILZGVzY3JpcHRpb24SUwoEdHlwZRgDIAEoDjI/LmdycGMuZ2F0ZXdheS5wcm90b2NfZ2Vu'
'X29wZW5hcGl2Mi5vcHRpb25zLkhlYWRlclBhcmFtZXRlci5UeXBlUgR0eXBlEhYKBmZvcm1hdB'
'gEIAEoCVIGZm9ybWF0EhoKCHJlcXVpcmVkGAUgASgIUghyZXF1aXJlZCJFCgRUeXBlEgsKB1VO'
'S05PV04QABIKCgZTVFJJTkcQARIKCgZOVU1CRVIQAhILCgdJTlRFR0VSEAMSCwoHQk9PTEVBTh'
'AESgQIBhAHSgQIBxAI');
@$core.Deprecated('Use headerDescriptor instead') @$core.Deprecated('Use headerDescriptor instead')
const Header$json = { const Header$json = {
@@ -355,6 +410,45 @@ final $typed_data.Uint8List schemaDescriptor = $convert.base64Decode(
'Lm9wdGlvbnMuRXh0ZXJuYWxEb2N1bWVudGF0aW9uUgxleHRlcm5hbERvY3MSGAoHZXhhbXBsZR' 'Lm9wdGlvbnMuRXh0ZXJuYWxEb2N1bWVudGF0aW9uUgxleHRlcm5hbERvY3MSGAoHZXhhbXBsZR'
'gGIAEoCVIHZXhhbXBsZUoECAQQBQ=='); 'gGIAEoCVIHZXhhbXBsZUoECAQQBQ==');
@$core.Deprecated('Use enumSchemaDescriptor instead')
const EnumSchema$json = {
'1': 'EnumSchema',
'2': [
{'1': 'description', '3': 1, '4': 1, '5': 9, '10': 'description'},
{'1': 'default', '3': 2, '4': 1, '5': 9, '10': 'default'},
{'1': 'title', '3': 3, '4': 1, '5': 9, '10': 'title'},
{'1': 'required', '3': 4, '4': 1, '5': 8, '10': 'required'},
{'1': 'read_only', '3': 5, '4': 1, '5': 8, '10': 'readOnly'},
{'1': 'external_docs', '3': 6, '4': 1, '5': 11, '6': '.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation', '10': 'externalDocs'},
{'1': 'example', '3': 7, '4': 1, '5': 9, '10': 'example'},
{'1': 'ref', '3': 8, '4': 1, '5': 9, '10': 'ref'},
{'1': 'extensions', '3': 9, '4': 3, '5': 11, '6': '.grpc.gateway.protoc_gen_openapiv2.options.EnumSchema.ExtensionsEntry', '10': 'extensions'},
],
'3': [EnumSchema_ExtensionsEntry$json],
};
@$core.Deprecated('Use enumSchemaDescriptor instead')
const EnumSchema_ExtensionsEntry$json = {
'1': 'ExtensionsEntry',
'2': [
{'1': 'key', '3': 1, '4': 1, '5': 9, '10': 'key'},
{'1': 'value', '3': 2, '4': 1, '5': 11, '6': '.google.protobuf.Value', '10': 'value'},
],
'7': {'7': true},
};
/// Descriptor for `EnumSchema`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List enumSchemaDescriptor = $convert.base64Decode(
'CgpFbnVtU2NoZW1hEiAKC2Rlc2NyaXB0aW9uGAEgASgJUgtkZXNjcmlwdGlvbhIYCgdkZWZhdW'
'x0GAIgASgJUgdkZWZhdWx0EhQKBXRpdGxlGAMgASgJUgV0aXRsZRIaCghyZXF1aXJlZBgEIAEo'
'CFIIcmVxdWlyZWQSGwoJcmVhZF9vbmx5GAUgASgIUghyZWFkT25seRJlCg1leHRlcm5hbF9kb2'
'NzGAYgASgLMkAuZ3JwYy5nYXRld2F5LnByb3RvY19nZW5fb3BlbmFwaXYyLm9wdGlvbnMuRXh0'
'ZXJuYWxEb2N1bWVudGF0aW9uUgxleHRlcm5hbERvY3MSGAoHZXhhbXBsZRgHIAEoCVIHZXhhbX'
'BsZRIQCgNyZWYYCCABKAlSA3JlZhJlCgpleHRlbnNpb25zGAkgAygLMkUuZ3JwYy5nYXRld2F5'
'LnByb3RvY19nZW5fb3BlbmFwaXYyLm9wdGlvbnMuRW51bVNjaGVtYS5FeHRlbnNpb25zRW50cn'
'lSCmV4dGVuc2lvbnMaVQoPRXh0ZW5zaW9uc0VudHJ5EhAKA2tleRgBIAEoCVIDa2V5EiwKBXZh'
'bHVlGAIgASgLMhYuZ29vZ2xlLnByb3RvYnVmLlZhbHVlUgV2YWx1ZToCOAE=');
@$core.Deprecated('Use jSONSchemaDescriptor instead') @$core.Deprecated('Use jSONSchemaDescriptor instead')
const JSONSchema$json = { const JSONSchema$json = {
'1': 'JSONSchema', '1': 'JSONSchema',
@@ -383,7 +477,10 @@ const JSONSchema$json = {
{'1': 'type', '3': 35, '4': 3, '5': 14, '6': '.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.JSONSchemaSimpleTypes', '10': 'type'}, {'1': 'type', '3': 35, '4': 3, '5': 14, '6': '.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.JSONSchemaSimpleTypes', '10': 'type'},
{'1': 'format', '3': 36, '4': 1, '5': 9, '10': 'format'}, {'1': 'format', '3': 36, '4': 1, '5': 9, '10': 'format'},
{'1': 'enum', '3': 46, '4': 3, '5': 9, '10': 'enum'}, {'1': 'enum', '3': 46, '4': 3, '5': 9, '10': 'enum'},
{'1': 'field_configuration', '3': 1001, '4': 1, '5': 11, '6': '.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.FieldConfiguration', '10': 'fieldConfiguration'},
{'1': 'extensions', '3': 48, '4': 3, '5': 11, '6': '.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.ExtensionsEntry', '10': 'extensions'},
], ],
'3': [JSONSchema_FieldConfiguration$json, JSONSchema_ExtensionsEntry$json],
'4': [JSONSchema_JSONSchemaSimpleTypes$json], '4': [JSONSchema_JSONSchemaSimpleTypes$json],
'9': [ '9': [
{'1': 1, '2': 2}, {'1': 1, '2': 2},
@@ -402,6 +499,25 @@ const JSONSchema$json = {
], ],
}; };
@$core.Deprecated('Use jSONSchemaDescriptor instead')
const JSONSchema_FieldConfiguration$json = {
'1': 'FieldConfiguration',
'2': [
{'1': 'path_param_name', '3': 47, '4': 1, '5': 9, '10': 'pathParamName'},
{'1': 'deprecated', '3': 49, '4': 1, '5': 8, '10': 'deprecated'},
],
};
@$core.Deprecated('Use jSONSchemaDescriptor instead')
const JSONSchema_ExtensionsEntry$json = {
'1': 'ExtensionsEntry',
'2': [
{'1': 'key', '3': 1, '4': 1, '5': 9, '10': 'key'},
{'1': 'value', '3': 2, '4': 1, '5': 11, '6': '.google.protobuf.Value', '10': 'value'},
],
'7': {'7': true},
};
@$core.Deprecated('Use jSONSchemaDescriptor instead') @$core.Deprecated('Use jSONSchemaDescriptor instead')
const JSONSchema_JSONSchemaSimpleTypes$json = { const JSONSchema_JSONSchemaSimpleTypes$json = {
'1': 'JSONSchemaSimpleTypes', '1': 'JSONSchemaSimpleTypes',
@@ -433,28 +549,50 @@ final $typed_data.Uint8List jSONSchemaDescriptor = $convert.base64Decode(
'JlZBgaIAMoCVIIcmVxdWlyZWQSFAoFYXJyYXkYIiADKAlSBWFycmF5El8KBHR5cGUYIyADKA4y' 'JlZBgaIAMoCVIIcmVxdWlyZWQSFAoFYXJyYXkYIiADKAlSBWFycmF5El8KBHR5cGUYIyADKA4y'
'Sy5ncnBjLmdhdGV3YXkucHJvdG9jX2dlbl9vcGVuYXBpdjIub3B0aW9ucy5KU09OU2NoZW1hLk' 'Sy5ncnBjLmdhdGV3YXkucHJvdG9jX2dlbl9vcGVuYXBpdjIub3B0aW9ucy5KU09OU2NoZW1hLk'
'pTT05TY2hlbWFTaW1wbGVUeXBlc1IEdHlwZRIWCgZmb3JtYXQYJCABKAlSBmZvcm1hdBISCgRl' 'pTT05TY2hlbWFTaW1wbGVUeXBlc1IEdHlwZRIWCgZmb3JtYXQYJCABKAlSBmZvcm1hdBISCgRl'
'bnVtGC4gAygJUgRlbnVtIncKFUpTT05TY2hlbWFTaW1wbGVUeXBlcxILCgdVTktOT1dOEAASCQ' 'bnVtGC4gAygJUgRlbnVtEnoKE2ZpZWxkX2NvbmZpZ3VyYXRpb24Y6QcgASgLMkguZ3JwYy5nYX'
'oFQVJSQVkQARILCgdCT09MRUFOEAISCwoHSU5URUdFUhADEggKBE5VTEwQBBIKCgZOVU1CRVIQ' 'Rld2F5LnByb3RvY19nZW5fb3BlbmFwaXYyLm9wdGlvbnMuSlNPTlNjaGVtYS5GaWVsZENvbmZp'
'BRIKCgZPQkpFQ1QQBhIKCgZTVFJJTkcQB0oECAEQAkoECAIQA0oECAQQBUoECBIQE0oECBMQFE' 'Z3VyYXRpb25SEmZpZWxkQ29uZmlndXJhdGlvbhJlCgpleHRlbnNpb25zGDAgAygLMkUuZ3JwYy'
'oECBcQGEoECBsQHEoECBwQHUoECB0QHkoECB4QIkoECCUQKkoECCoQK0oECCsQLg=='); '5nYXRld2F5LnByb3RvY19nZW5fb3BlbmFwaXYyLm9wdGlvbnMuSlNPTlNjaGVtYS5FeHRlbnNp'
'b25zRW50cnlSCmV4dGVuc2lvbnMaXAoSRmllbGRDb25maWd1cmF0aW9uEiYKD3BhdGhfcGFyYW'
'1fbmFtZRgvIAEoCVINcGF0aFBhcmFtTmFtZRIeCgpkZXByZWNhdGVkGDEgASgIUgpkZXByZWNh'
'dGVkGlUKD0V4dGVuc2lvbnNFbnRyeRIQCgNrZXkYASABKAlSA2tleRIsCgV2YWx1ZRgCIAEoCz'
'IWLmdvb2dsZS5wcm90b2J1Zi5WYWx1ZVIFdmFsdWU6AjgBIncKFUpTT05TY2hlbWFTaW1wbGVU'
'eXBlcxILCgdVTktOT1dOEAASCQoFQVJSQVkQARILCgdCT09MRUFOEAISCwoHSU5URUdFUhADEg'
'gKBE5VTEwQBBIKCgZOVU1CRVIQBRIKCgZPQkpFQ1QQBhIKCgZTVFJJTkcQB0oECAEQAkoECAIQ'
'A0oECAQQBUoECBIQE0oECBMQFEoECBcQGEoECBsQHEoECBwQHUoECB0QHkoECB4QIkoECCUQKk'
'oECCoQK0oECCsQLg==');
@$core.Deprecated('Use tagDescriptor instead') @$core.Deprecated('Use tagDescriptor instead')
const Tag$json = { const Tag$json = {
'1': 'Tag', '1': 'Tag',
'2': [ '2': [
{'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'},
{'1': 'description', '3': 2, '4': 1, '5': 9, '10': 'description'}, {'1': 'description', '3': 2, '4': 1, '5': 9, '10': 'description'},
{'1': 'external_docs', '3': 3, '4': 1, '5': 11, '6': '.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation', '10': 'externalDocs'}, {'1': 'external_docs', '3': 3, '4': 1, '5': 11, '6': '.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation', '10': 'externalDocs'},
{'1': 'extensions', '3': 4, '4': 3, '5': 11, '6': '.grpc.gateway.protoc_gen_openapiv2.options.Tag.ExtensionsEntry', '10': 'extensions'},
], ],
'9': [ '3': [Tag_ExtensionsEntry$json],
{'1': 1, '2': 2}, };
@$core.Deprecated('Use tagDescriptor instead')
const Tag_ExtensionsEntry$json = {
'1': 'ExtensionsEntry',
'2': [
{'1': 'key', '3': 1, '4': 1, '5': 9, '10': 'key'},
{'1': 'value', '3': 2, '4': 1, '5': 11, '6': '.google.protobuf.Value', '10': 'value'},
], ],
'7': {'7': true},
}; };
/// Descriptor for `Tag`. Decode as a `google.protobuf.DescriptorProto`. /// Descriptor for `Tag`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List tagDescriptor = $convert.base64Decode( final $typed_data.Uint8List tagDescriptor = $convert.base64Decode(
'CgNUYWcSIAoLZGVzY3JpcHRpb24YAiABKAlSC2Rlc2NyaXB0aW9uEmUKDWV4dGVybmFsX2RvY3' 'CgNUYWcSEgoEbmFtZRgBIAEoCVIEbmFtZRIgCgtkZXNjcmlwdGlvbhgCIAEoCVILZGVzY3JpcH'
'MYAyABKAsyQC5ncnBjLmdhdGV3YXkucHJvdG9jX2dlbl9vcGVuYXBpdjIub3B0aW9ucy5FeHRl' 'Rpb24SZQoNZXh0ZXJuYWxfZG9jcxgDIAEoCzJALmdycGMuZ2F0ZXdheS5wcm90b2NfZ2VuX29w'
'cm5hbERvY3VtZW50YXRpb25SDGV4dGVybmFsRG9jc0oECAEQAg=='); 'ZW5hcGl2Mi5vcHRpb25zLkV4dGVybmFsRG9jdW1lbnRhdGlvblIMZXh0ZXJuYWxEb2NzEl4KCm'
'V4dGVuc2lvbnMYBCADKAsyPi5ncnBjLmdhdGV3YXkucHJvdG9jX2dlbl9vcGVuYXBpdjIub3B0'
'aW9ucy5UYWcuRXh0ZW5zaW9uc0VudHJ5UgpleHRlbnNpb25zGlUKD0V4dGVuc2lvbnNFbnRyeR'
'IQCgNrZXkYASABKAlSA2tleRIsCgV2YWx1ZRgCIAEoCzIWLmdvb2dsZS5wcm90b2J1Zi5WYWx1'
'ZVIFdmFsdWU6AjgB');
@$core.Deprecated('Use securityDefinitionsDescriptor instead') @$core.Deprecated('Use securityDefinitionsDescriptor instead')
const SecurityDefinitions$json = { const SecurityDefinitions$json = {

View File

@@ -1,13 +1,14 @@
// This is a generated file - do not edit.
// //
// Generated code. Do not modify. // Generated from visibility.proto.
// source: visibility.proto
//
// @dart = 3.3 // @dart = 3.3
// ignore_for_file: annotate_overrides, camel_case_types, comment_references // ignore_for_file: annotate_overrides, camel_case_types, comment_references
// ignore_for_file: constant_identifier_names, library_prefixes // ignore_for_file: constant_identifier_names
// ignore_for_file: non_constant_identifier_names, prefer_final_fields // ignore_for_file: curly_braces_in_flow_control_structures
// ignore_for_file: unnecessary_import, unnecessary_this, unused_import // ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
// ignore_for_file: non_constant_identifier_names
import 'dart:core' as $core; import 'dart:core' as $core;
@@ -15,71 +16,67 @@ import 'package:protobuf/protobuf.dart' as $pb;
export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions; export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions;
/// `Visibility` defines restrictions for the visibility of service /// `Visibility` defines restrictions for the visibility of service
/// elements. Restrictions are specified using visibility labels /// elements. Restrictions are specified using visibility labels
/// (e.g., PREVIEW) that are elsewhere linked to users and projects. /// (e.g., PREVIEW) that are elsewhere linked to users and projects.
/// ///
/// Users and projects can have access to more than one visibility label. The /// Users and projects can have access to more than one visibility label. The
/// effective visibility for multiple labels is the union of each label's /// effective visibility for multiple labels is the union of each label's
/// elements, plus any unrestricted elements. /// elements, plus any unrestricted elements.
/// ///
/// If an element and its parents have no restrictions, visibility is /// If an element and its parents have no restrictions, visibility is
/// unconditionally granted. /// unconditionally granted.
/// ///
/// Example: /// Example:
/// ///
/// visibility: /// visibility:
/// rules: /// rules:
/// - selector: google.calendar.Calendar.EnhancedSearch /// - selector: google.calendar.Calendar.EnhancedSearch
/// restriction: PREVIEW /// restriction: PREVIEW
/// - selector: google.calendar.Calendar.Delegate /// - selector: google.calendar.Calendar.Delegate
/// restriction: INTERNAL /// restriction: INTERNAL
/// ///
/// Here, all methods are publicly visible except for the restricted methods /// Here, all methods are publicly visible except for the restricted methods
/// EnhancedSearch and Delegate. /// EnhancedSearch and Delegate.
class Visibility extends $pb.GeneratedMessage { class Visibility extends $pb.GeneratedMessage {
factory Visibility({ factory Visibility({
$core.Iterable<VisibilityRule>? rules, $core.Iterable<VisibilityRule>? rules,
}) { }) {
final $result = create(); final result = create();
if (rules != null) { if (rules != null) result.rules.addAll(rules);
$result.rules.addAll(rules); return result;
}
return $result;
} }
Visibility._() : super();
factory Visibility.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); Visibility._();
factory Visibility.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
factory Visibility.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory Visibility.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Visibility', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.api'), createEmptyInstance: create) static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Visibility', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.api'), createEmptyInstance: create)
..pc<VisibilityRule>(1, _omitFieldNames ? '' : 'rules', $pb.PbFieldType.PM, subBuilder: VisibilityRule.create) ..pc<VisibilityRule>(1, _omitFieldNames ? '' : 'rules', $pb.PbFieldType.PM, subBuilder: VisibilityRule.create)
..hasRequiredFields = false ..hasRequiredFields = false
; ;
@$core.Deprecated( @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
'Will be removed in next major version')
Visibility clone() => Visibility()..mergeFromMessage(this); Visibility clone() => Visibility()..mergeFromMessage(this);
@$core.Deprecated( @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
'Will be removed in next major version')
Visibility copyWith(void Function(Visibility) updates) => super.copyWith((message) => updates(message as Visibility)) as Visibility; Visibility copyWith(void Function(Visibility) updates) => super.copyWith((message) => updates(message as Visibility)) as Visibility;
@$core.override
$pb.BuilderInfo get info_ => _i; $pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline') @$core.pragma('dart2js:noInline')
static Visibility create() => Visibility._(); static Visibility create() => Visibility._();
@$core.override
Visibility createEmptyInstance() => create(); Visibility createEmptyInstance() => create();
static $pb.PbList<Visibility> createRepeated() => $pb.PbList<Visibility>(); static $pb.PbList<Visibility> createRepeated() => $pb.PbList<Visibility>();
@$core.pragma('dart2js:noInline') @$core.pragma('dart2js:noInline')
static Visibility getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<Visibility>(create); static Visibility getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<Visibility>(create);
static Visibility? _defaultInstance; static Visibility? _defaultInstance;
/// A list of visibility rules that apply to individual API elements. /// A list of visibility rules that apply to individual API elements.
/// ///
/// **NOTE:** All service configuration rules follow "last one wins" order. /// **NOTE:** All service configuration rules follow "last one wins" order.
@$pb.TagNumber(1) @$pb.TagNumber(1)
$pb.PbList<VisibilityRule> get rules => $_getList(0); $pb.PbList<VisibilityRule> get rules => $_getList(0);
} }
@@ -91,18 +88,16 @@ class VisibilityRule extends $pb.GeneratedMessage {
$core.String? selector, $core.String? selector,
$core.String? restriction, $core.String? restriction,
}) { }) {
final $result = create(); final result = create();
if (selector != null) { if (selector != null) result.selector = selector;
$result.selector = selector; if (restriction != null) result.restriction = restriction;
} return result;
if (restriction != null) {
$result.restriction = restriction;
}
return $result;
} }
VisibilityRule._() : super();
factory VisibilityRule.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); VisibilityRule._();
factory VisibilityRule.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
factory VisibilityRule.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory VisibilityRule.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'VisibilityRule', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.api'), createEmptyInstance: create) static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'VisibilityRule', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.api'), createEmptyInstance: create)
..aOS(1, _omitFieldNames ? '' : 'selector') ..aOS(1, _omitFieldNames ? '' : 'selector')
@@ -110,58 +105,54 @@ class VisibilityRule extends $pb.GeneratedMessage {
..hasRequiredFields = false ..hasRequiredFields = false
; ;
@$core.Deprecated( @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
'Will be removed in next major version')
VisibilityRule clone() => VisibilityRule()..mergeFromMessage(this); VisibilityRule clone() => VisibilityRule()..mergeFromMessage(this);
@$core.Deprecated( @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
'Will be removed in next major version')
VisibilityRule copyWith(void Function(VisibilityRule) updates) => super.copyWith((message) => updates(message as VisibilityRule)) as VisibilityRule; VisibilityRule copyWith(void Function(VisibilityRule) updates) => super.copyWith((message) => updates(message as VisibilityRule)) as VisibilityRule;
@$core.override
$pb.BuilderInfo get info_ => _i; $pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline') @$core.pragma('dart2js:noInline')
static VisibilityRule create() => VisibilityRule._(); static VisibilityRule create() => VisibilityRule._();
@$core.override
VisibilityRule createEmptyInstance() => create(); VisibilityRule createEmptyInstance() => create();
static $pb.PbList<VisibilityRule> createRepeated() => $pb.PbList<VisibilityRule>(); static $pb.PbList<VisibilityRule> createRepeated() => $pb.PbList<VisibilityRule>();
@$core.pragma('dart2js:noInline') @$core.pragma('dart2js:noInline')
static VisibilityRule getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<VisibilityRule>(create); static VisibilityRule getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<VisibilityRule>(create);
static VisibilityRule? _defaultInstance; static VisibilityRule? _defaultInstance;
/// Selects methods, messages, fields, enums, etc. to which this rule applies. /// Selects methods, messages, fields, enums, etc. to which this rule applies.
/// ///
/// Refer to [selector][google.api.DocumentationRule.selector] for syntax details. /// Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
@$pb.TagNumber(1) @$pb.TagNumber(1)
$core.String get selector => $_getSZ(0); $core.String get selector => $_getSZ(0);
@$pb.TagNumber(1) @$pb.TagNumber(1)
set selector($core.String v) { $_setString(0, v); } set selector($core.String value) => $_setString(0, value);
@$pb.TagNumber(1) @$pb.TagNumber(1)
$core.bool hasSelector() => $_has(0); $core.bool hasSelector() => $_has(0);
@$pb.TagNumber(1) @$pb.TagNumber(1)
void clearSelector() => $_clearField(1); void clearSelector() => $_clearField(1);
/// A comma-separated list of visibility labels that apply to the `selector`. /// A comma-separated list of visibility labels that apply to the `selector`.
/// Any of the listed labels can be used to grant the visibility. /// Any of the listed labels can be used to grant the visibility.
/// ///
/// If a rule has multiple labels, removing one of the labels but not all of /// If a rule has multiple labels, removing one of the labels but not all of
/// them can break clients. /// them can break clients.
/// ///
/// Example: /// Example:
/// ///
/// visibility: /// visibility:
/// rules: /// rules:
/// - selector: google.calendar.Calendar.EnhancedSearch /// - selector: google.calendar.Calendar.EnhancedSearch
/// restriction: INTERNAL, PREVIEW /// restriction: INTERNAL, PREVIEW
/// ///
/// Removing INTERNAL from this restriction will break clients that rely on /// Removing INTERNAL from this restriction will break clients that rely on
/// this method and only had access to it through INTERNAL. /// this method and only had access to it through INTERNAL.
@$pb.TagNumber(2) @$pb.TagNumber(2)
$core.String get restriction => $_getSZ(1); $core.String get restriction => $_getSZ(1);
@$pb.TagNumber(2) @$pb.TagNumber(2)
set restriction($core.String v) { $_setString(1, v); } set restriction($core.String value) => $_setString(1, value);
@$pb.TagNumber(2) @$pb.TagNumber(2)
$core.bool hasRestriction() => $_has(1); $core.bool hasRestriction() => $_has(1);
@$pb.TagNumber(2) @$pb.TagNumber(2)
@@ -186,5 +177,5 @@ class VisibilityExt {
} }
const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); const $core.bool _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names');
const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); const $core.bool _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names');

View File

@@ -1,11 +1,12 @@
// This is a generated file - do not edit.
// //
// Generated code. Do not modify. // Generated from visibility.proto.
// source: visibility.proto
//
// @dart = 3.3 // @dart = 3.3
// ignore_for_file: annotate_overrides, camel_case_types, comment_references // ignore_for_file: annotate_overrides, camel_case_types, comment_references
// ignore_for_file: constant_identifier_names, library_prefixes // ignore_for_file: constant_identifier_names
// ignore_for_file: non_constant_identifier_names, prefer_final_fields // ignore_for_file: curly_braces_in_flow_control_structures
// ignore_for_file: unnecessary_import, unnecessary_this, unused_import // ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
// ignore_for_file: non_constant_identifier_names

View File

@@ -1,13 +1,14 @@
// This is a generated file - do not edit.
// //
// Generated code. Do not modify. // Generated from visibility.proto.
// source: visibility.proto
//
// @dart = 3.3 // @dart = 3.3
// ignore_for_file: annotate_overrides, camel_case_types, comment_references // ignore_for_file: annotate_overrides, camel_case_types, comment_references
// ignore_for_file: constant_identifier_names, library_prefixes // ignore_for_file: constant_identifier_names
// ignore_for_file: non_constant_identifier_names, prefer_final_fields // ignore_for_file: curly_braces_in_flow_control_structures
// ignore_for_file: unnecessary_import, unnecessary_this, unused_import // ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
// ignore_for_file: non_constant_identifier_names, unused_import
import 'dart:convert' as $convert; import 'dart:convert' as $convert;
import 'dart:core' as $core; import 'dart:core' as $core;

View File

@@ -1,13 +1,14 @@
// This is a generated file - do not edit.
// //
// Generated code. Do not modify. // Generated from viz-common.proto.
// source: viz-common.proto
//
// @dart = 3.3 // @dart = 3.3
// ignore_for_file: annotate_overrides, camel_case_types, comment_references // ignore_for_file: annotate_overrides, camel_case_types, comment_references
// ignore_for_file: constant_identifier_names, library_prefixes // ignore_for_file: constant_identifier_names
// ignore_for_file: non_constant_identifier_names, prefer_final_fields // ignore_for_file: curly_braces_in_flow_control_structures
// ignore_for_file: unnecessary_import, unnecessary_this, unused_import // ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
// ignore_for_file: non_constant_identifier_names
import 'dart:core' as $core; import 'dart:core' as $core;

View File

@@ -1,11 +1,12 @@
// This is a generated file - do not edit.
// //
// Generated code. Do not modify. // Generated from viz-common.proto.
// source: viz-common.proto
//
// @dart = 3.3 // @dart = 3.3
// ignore_for_file: annotate_overrides, camel_case_types, comment_references // ignore_for_file: annotate_overrides, camel_case_types, comment_references
// ignore_for_file: constant_identifier_names, library_prefixes // ignore_for_file: constant_identifier_names
// ignore_for_file: non_constant_identifier_names, prefer_final_fields // ignore_for_file: curly_braces_in_flow_control_structures
// ignore_for_file: unnecessary_import, unnecessary_this, unused_import // ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
// ignore_for_file: non_constant_identifier_names

View File

@@ -1,13 +1,14 @@
// This is a generated file - do not edit.
// //
// Generated code. Do not modify. // Generated from viz-common.proto.
// source: viz-common.proto
//
// @dart = 3.3 // @dart = 3.3
// ignore_for_file: annotate_overrides, camel_case_types, comment_references // ignore_for_file: annotate_overrides, camel_case_types, comment_references
// ignore_for_file: constant_identifier_names, library_prefixes // ignore_for_file: constant_identifier_names
// ignore_for_file: non_constant_identifier_names, prefer_final_fields // ignore_for_file: curly_braces_in_flow_control_structures
// ignore_for_file: unnecessary_import, unnecessary_this, unused_import // ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
// ignore_for_file: non_constant_identifier_names, unused_import
import 'dart:convert' as $convert; import 'dart:convert' as $convert;
import 'dart:core' as $core; import 'dart:core' as $core;

File diff suppressed because it is too large Load Diff

View File

@@ -1,11 +1,12 @@
// This is a generated file - do not edit.
// //
// Generated code. Do not modify. // Generated from viz-composed-field.proto.
// source: viz-composed-field.proto
//
// @dart = 3.3 // @dart = 3.3
// ignore_for_file: annotate_overrides, camel_case_types, comment_references // ignore_for_file: annotate_overrides, camel_case_types, comment_references
// ignore_for_file: constant_identifier_names, library_prefixes // ignore_for_file: constant_identifier_names
// ignore_for_file: non_constant_identifier_names, prefer_final_fields // ignore_for_file: curly_braces_in_flow_control_structures
// ignore_for_file: unnecessary_import, unnecessary_this, unused_import // ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
// ignore_for_file: non_constant_identifier_names

View File

@@ -1,13 +1,14 @@
// This is a generated file - do not edit.
// //
// Generated code. Do not modify. // Generated from viz-composed-field.proto.
// source: viz-composed-field.proto
//
// @dart = 3.3 // @dart = 3.3
// ignore_for_file: annotate_overrides, camel_case_types, comment_references // ignore_for_file: annotate_overrides, camel_case_types, comment_references
// ignore_for_file: constant_identifier_names, library_prefixes // ignore_for_file: constant_identifier_names
// ignore_for_file: non_constant_identifier_names, prefer_final_fields // ignore_for_file: curly_braces_in_flow_control_structures
// ignore_for_file: unnecessary_import, unnecessary_this, unused_import // ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
// ignore_for_file: non_constant_identifier_names
import 'dart:async' as $async; import 'dart:async' as $async;
import 'dart:core' as $core; import 'dart:core' as $core;
@@ -15,58 +16,104 @@ import 'dart:core' as $core;
import 'package:grpc/service_api.dart' as $grpc; import 'package:grpc/service_api.dart' as $grpc;
import 'package:protobuf/protobuf.dart' as $pb; import 'package:protobuf/protobuf.dart' as $pb;
import 'viz-composed-field.pb.dart' as $2; import 'viz-composed-field.pb.dart' as $0;
export 'viz-composed-field.pb.dart'; export 'viz-composed-field.pb.dart';
@$pb.GrpcServiceName('vizapi.ComposedFieldService') @$pb.GrpcServiceName('vizapi.ComposedFieldService')
class ComposedFieldServiceClient extends $grpc.Client { class ComposedFieldServiceClient extends $grpc.Client {
static final _$get = $grpc.ClientMethod<$2.GetComposedFieldRequest, $2.GetComposedFieldResult>( /// The hostname for this service.
'/vizapi.ComposedFieldService/Get', static const $core.String defaultHost = '';
($2.GetComposedFieldRequest value) => value.writeToBuffer(),
($core.List<$core.int> value) => $2.GetComposedFieldResult.fromBuffer(value));
static final _$create = $grpc.ClientMethod<$2.CreateComposedFieldRequest, $2.CreateComposedFieldResult>(
'/vizapi.ComposedFieldService/Create',
($2.CreateComposedFieldRequest value) => value.writeToBuffer(),
($core.List<$core.int> value) => $2.CreateComposedFieldResult.fromBuffer(value));
static final _$update = $grpc.ClientMethod<$2.UpdateComposedFieldRequest, $2.UpdateComposedFieldResult>(
'/vizapi.ComposedFieldService/Update',
($2.UpdateComposedFieldRequest value) => value.writeToBuffer(),
($core.List<$core.int> value) => $2.UpdateComposedFieldResult.fromBuffer(value));
static final _$delete = $grpc.ClientMethod<$2.DeleteComposedFieldRequest, $2.DeleteComposedFieldResult>(
'/vizapi.ComposedFieldService/Delete',
($2.DeleteComposedFieldRequest value) => value.writeToBuffer(),
($core.List<$core.int> value) => $2.DeleteComposedFieldResult.fromBuffer(value));
static final _$list = $grpc.ClientMethod<$2.ListComposedFieldRequest, $2.ListComposedFieldResult>(
'/vizapi.ComposedFieldService/List',
($2.ListComposedFieldRequest value) => value.writeToBuffer(),
($core.List<$core.int> value) => $2.ListComposedFieldResult.fromBuffer(value));
ComposedFieldServiceClient($grpc.ClientChannel channel, /// OAuth scopes needed for the client.
{$grpc.CallOptions? options, static const $core.List<$core.String> oauthScopes = [
$core.Iterable<$grpc.ClientInterceptor>? interceptors}) '',
: super(channel, options: options, ];
interceptors: interceptors);
$grpc.ResponseFuture<$2.GetComposedFieldResult> get($2.GetComposedFieldRequest request, {$grpc.CallOptions? options}) { ComposedFieldServiceClient(super.channel, {super.options, super.interceptors});
$grpc.ResponseFuture<$0.GetComposedFieldResult> get($0.GetComposedFieldRequest request, {$grpc.CallOptions? options,}) {
return $createUnaryCall(_$get, request, options: options); return $createUnaryCall(_$get, request, options: options);
} }
$grpc.ResponseFuture<$2.CreateComposedFieldResult> create($2.CreateComposedFieldRequest request, {$grpc.CallOptions? options}) { $grpc.ResponseFuture<$0.CreateComposedFieldResult> create($0.CreateComposedFieldRequest request, {$grpc.CallOptions? options,}) {
return $createUnaryCall(_$create, request, options: options); return $createUnaryCall(_$create, request, options: options);
} }
$grpc.ResponseFuture<$2.UpdateComposedFieldResult> update($2.UpdateComposedFieldRequest request, {$grpc.CallOptions? options}) { $grpc.ResponseFuture<$0.UpdateComposedFieldResult> update($0.UpdateComposedFieldRequest request, {$grpc.CallOptions? options,}) {
return $createUnaryCall(_$update, request, options: options); return $createUnaryCall(_$update, request, options: options);
} }
$grpc.ResponseFuture<$2.DeleteComposedFieldResult> delete($2.DeleteComposedFieldRequest request, {$grpc.CallOptions? options}) { $grpc.ResponseFuture<$0.DeleteComposedFieldResult> delete($0.DeleteComposedFieldRequest request, {$grpc.CallOptions? options,}) {
return $createUnaryCall(_$delete, request, options: options); return $createUnaryCall(_$delete, request, options: options);
} }
$grpc.ResponseFuture<$2.ListComposedFieldResult> list($2.ListComposedFieldRequest request, {$grpc.CallOptions? options}) { $grpc.ResponseFuture<$0.ListComposedFieldResult> list($0.ListComposedFieldRequest request, {$grpc.CallOptions? options,}) {
return $createUnaryCall(_$list, request, options: options); return $createUnaryCall(_$list, request, options: options);
} }
$grpc.ResponseFuture<$0.GetProjectComposedFieldResult> getProject($0.GetProjectComposedFieldRequest request, {$grpc.CallOptions? options,}) {
return $createUnaryCall(_$getProject, request, options: options);
}
$grpc.ResponseFuture<$0.CreateProjectComposedFieldResult> createProject($0.CreateProjectComposedFieldRequest request, {$grpc.CallOptions? options,}) {
return $createUnaryCall(_$createProject, request, options: options);
}
$grpc.ResponseFuture<$0.UpdateProjectComposedFieldResult> updateProject($0.UpdateProjectComposedFieldRequest request, {$grpc.CallOptions? options,}) {
return $createUnaryCall(_$updateProject, request, options: options);
}
$grpc.ResponseFuture<$0.DeleteProjectComposedFieldResult> deleteProject($0.DeleteProjectComposedFieldRequest request, {$grpc.CallOptions? options,}) {
return $createUnaryCall(_$deleteProject, request, options: options);
}
$grpc.ResponseFuture<$0.ListProjectComposedFieldResult> listProject($0.ListProjectComposedFieldRequest request, {$grpc.CallOptions? options,}) {
return $createUnaryCall(_$listProject, request, options: options);
}
// method descriptors
static final _$get = $grpc.ClientMethod<$0.GetComposedFieldRequest, $0.GetComposedFieldResult>(
'/vizapi.ComposedFieldService/Get',
($0.GetComposedFieldRequest value) => value.writeToBuffer(),
$0.GetComposedFieldResult.fromBuffer);
static final _$create = $grpc.ClientMethod<$0.CreateComposedFieldRequest, $0.CreateComposedFieldResult>(
'/vizapi.ComposedFieldService/Create',
($0.CreateComposedFieldRequest value) => value.writeToBuffer(),
$0.CreateComposedFieldResult.fromBuffer);
static final _$update = $grpc.ClientMethod<$0.UpdateComposedFieldRequest, $0.UpdateComposedFieldResult>(
'/vizapi.ComposedFieldService/Update',
($0.UpdateComposedFieldRequest value) => value.writeToBuffer(),
$0.UpdateComposedFieldResult.fromBuffer);
static final _$delete = $grpc.ClientMethod<$0.DeleteComposedFieldRequest, $0.DeleteComposedFieldResult>(
'/vizapi.ComposedFieldService/Delete',
($0.DeleteComposedFieldRequest value) => value.writeToBuffer(),
$0.DeleteComposedFieldResult.fromBuffer);
static final _$list = $grpc.ClientMethod<$0.ListComposedFieldRequest, $0.ListComposedFieldResult>(
'/vizapi.ComposedFieldService/List',
($0.ListComposedFieldRequest value) => value.writeToBuffer(),
$0.ListComposedFieldResult.fromBuffer);
static final _$getProject = $grpc.ClientMethod<$0.GetProjectComposedFieldRequest, $0.GetProjectComposedFieldResult>(
'/vizapi.ComposedFieldService/GetProject',
($0.GetProjectComposedFieldRequest value) => value.writeToBuffer(),
$0.GetProjectComposedFieldResult.fromBuffer);
static final _$createProject = $grpc.ClientMethod<$0.CreateProjectComposedFieldRequest, $0.CreateProjectComposedFieldResult>(
'/vizapi.ComposedFieldService/CreateProject',
($0.CreateProjectComposedFieldRequest value) => value.writeToBuffer(),
$0.CreateProjectComposedFieldResult.fromBuffer);
static final _$updateProject = $grpc.ClientMethod<$0.UpdateProjectComposedFieldRequest, $0.UpdateProjectComposedFieldResult>(
'/vizapi.ComposedFieldService/UpdateProject',
($0.UpdateProjectComposedFieldRequest value) => value.writeToBuffer(),
$0.UpdateProjectComposedFieldResult.fromBuffer);
static final _$deleteProject = $grpc.ClientMethod<$0.DeleteProjectComposedFieldRequest, $0.DeleteProjectComposedFieldResult>(
'/vizapi.ComposedFieldService/DeleteProject',
($0.DeleteProjectComposedFieldRequest value) => value.writeToBuffer(),
$0.DeleteProjectComposedFieldResult.fromBuffer);
static final _$listProject = $grpc.ClientMethod<$0.ListProjectComposedFieldRequest, $0.ListProjectComposedFieldResult>(
'/vizapi.ComposedFieldService/ListProject',
($0.ListProjectComposedFieldRequest value) => value.writeToBuffer(),
$0.ListProjectComposedFieldResult.fromBuffer);
} }
@$pb.GrpcServiceName('vizapi.ComposedFieldService') @$pb.GrpcServiceName('vizapi.ComposedFieldService')
@@ -74,66 +121,136 @@ abstract class ComposedFieldServiceBase extends $grpc.Service {
$core.String get $name => 'vizapi.ComposedFieldService'; $core.String get $name => 'vizapi.ComposedFieldService';
ComposedFieldServiceBase() { ComposedFieldServiceBase() {
$addMethod($grpc.ServiceMethod<$2.GetComposedFieldRequest, $2.GetComposedFieldResult>( $addMethod($grpc.ServiceMethod<$0.GetComposedFieldRequest, $0.GetComposedFieldResult>(
'Get', 'Get',
get_Pre, get_Pre,
false, false,
false, false,
($core.List<$core.int> value) => $2.GetComposedFieldRequest.fromBuffer(value), ($core.List<$core.int> value) => $0.GetComposedFieldRequest.fromBuffer(value),
($2.GetComposedFieldResult value) => value.writeToBuffer())); ($0.GetComposedFieldResult value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$2.CreateComposedFieldRequest, $2.CreateComposedFieldResult>( $addMethod($grpc.ServiceMethod<$0.CreateComposedFieldRequest, $0.CreateComposedFieldResult>(
'Create', 'Create',
create_Pre, create_Pre,
false, false,
false, false,
($core.List<$core.int> value) => $2.CreateComposedFieldRequest.fromBuffer(value), ($core.List<$core.int> value) => $0.CreateComposedFieldRequest.fromBuffer(value),
($2.CreateComposedFieldResult value) => value.writeToBuffer())); ($0.CreateComposedFieldResult value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$2.UpdateComposedFieldRequest, $2.UpdateComposedFieldResult>( $addMethod($grpc.ServiceMethod<$0.UpdateComposedFieldRequest, $0.UpdateComposedFieldResult>(
'Update', 'Update',
update_Pre, update_Pre,
false, false,
false, false,
($core.List<$core.int> value) => $2.UpdateComposedFieldRequest.fromBuffer(value), ($core.List<$core.int> value) => $0.UpdateComposedFieldRequest.fromBuffer(value),
($2.UpdateComposedFieldResult value) => value.writeToBuffer())); ($0.UpdateComposedFieldResult value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$2.DeleteComposedFieldRequest, $2.DeleteComposedFieldResult>( $addMethod($grpc.ServiceMethod<$0.DeleteComposedFieldRequest, $0.DeleteComposedFieldResult>(
'Delete', 'Delete',
delete_Pre, delete_Pre,
false, false,
false, false,
($core.List<$core.int> value) => $2.DeleteComposedFieldRequest.fromBuffer(value), ($core.List<$core.int> value) => $0.DeleteComposedFieldRequest.fromBuffer(value),
($2.DeleteComposedFieldResult value) => value.writeToBuffer())); ($0.DeleteComposedFieldResult value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$2.ListComposedFieldRequest, $2.ListComposedFieldResult>( $addMethod($grpc.ServiceMethod<$0.ListComposedFieldRequest, $0.ListComposedFieldResult>(
'List', 'List',
list_Pre, list_Pre,
false, false,
false, false,
($core.List<$core.int> value) => $2.ListComposedFieldRequest.fromBuffer(value), ($core.List<$core.int> value) => $0.ListComposedFieldRequest.fromBuffer(value),
($2.ListComposedFieldResult value) => value.writeToBuffer())); ($0.ListComposedFieldResult value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.GetProjectComposedFieldRequest, $0.GetProjectComposedFieldResult>(
'GetProject',
getProject_Pre,
false,
false,
($core.List<$core.int> value) => $0.GetProjectComposedFieldRequest.fromBuffer(value),
($0.GetProjectComposedFieldResult value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.CreateProjectComposedFieldRequest, $0.CreateProjectComposedFieldResult>(
'CreateProject',
createProject_Pre,
false,
false,
($core.List<$core.int> value) => $0.CreateProjectComposedFieldRequest.fromBuffer(value),
($0.CreateProjectComposedFieldResult value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.UpdateProjectComposedFieldRequest, $0.UpdateProjectComposedFieldResult>(
'UpdateProject',
updateProject_Pre,
false,
false,
($core.List<$core.int> value) => $0.UpdateProjectComposedFieldRequest.fromBuffer(value),
($0.UpdateProjectComposedFieldResult value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.DeleteProjectComposedFieldRequest, $0.DeleteProjectComposedFieldResult>(
'DeleteProject',
deleteProject_Pre,
false,
false,
($core.List<$core.int> value) => $0.DeleteProjectComposedFieldRequest.fromBuffer(value),
($0.DeleteProjectComposedFieldResult value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.ListProjectComposedFieldRequest, $0.ListProjectComposedFieldResult>(
'ListProject',
listProject_Pre,
false,
false,
($core.List<$core.int> value) => $0.ListProjectComposedFieldRequest.fromBuffer(value),
($0.ListProjectComposedFieldResult value) => value.writeToBuffer()));
} }
$async.Future<$2.GetComposedFieldResult> get_Pre($grpc.ServiceCall $call, $async.Future<$2.GetComposedFieldRequest> $request) async { $async.Future<$0.GetComposedFieldResult> get_Pre($grpc.ServiceCall $call, $async.Future<$0.GetComposedFieldRequest> $request) async {
return get($call, await $request); return get($call, await $request);
} }
$async.Future<$2.CreateComposedFieldResult> create_Pre($grpc.ServiceCall $call, $async.Future<$2.CreateComposedFieldRequest> $request) async { $async.Future<$0.GetComposedFieldResult> get($grpc.ServiceCall call, $0.GetComposedFieldRequest request);
$async.Future<$0.CreateComposedFieldResult> create_Pre($grpc.ServiceCall $call, $async.Future<$0.CreateComposedFieldRequest> $request) async {
return create($call, await $request); return create($call, await $request);
} }
$async.Future<$2.UpdateComposedFieldResult> update_Pre($grpc.ServiceCall $call, $async.Future<$2.UpdateComposedFieldRequest> $request) async { $async.Future<$0.CreateComposedFieldResult> create($grpc.ServiceCall call, $0.CreateComposedFieldRequest request);
$async.Future<$0.UpdateComposedFieldResult> update_Pre($grpc.ServiceCall $call, $async.Future<$0.UpdateComposedFieldRequest> $request) async {
return update($call, await $request); return update($call, await $request);
} }
$async.Future<$2.DeleteComposedFieldResult> delete_Pre($grpc.ServiceCall $call, $async.Future<$2.DeleteComposedFieldRequest> $request) async { $async.Future<$0.UpdateComposedFieldResult> update($grpc.ServiceCall call, $0.UpdateComposedFieldRequest request);
$async.Future<$0.DeleteComposedFieldResult> delete_Pre($grpc.ServiceCall $call, $async.Future<$0.DeleteComposedFieldRequest> $request) async {
return delete($call, await $request); return delete($call, await $request);
} }
$async.Future<$2.ListComposedFieldResult> list_Pre($grpc.ServiceCall $call, $async.Future<$2.ListComposedFieldRequest> $request) async { $async.Future<$0.DeleteComposedFieldResult> delete($grpc.ServiceCall call, $0.DeleteComposedFieldRequest request);
$async.Future<$0.ListComposedFieldResult> list_Pre($grpc.ServiceCall $call, $async.Future<$0.ListComposedFieldRequest> $request) async {
return list($call, await $request); return list($call, await $request);
} }
$async.Future<$2.GetComposedFieldResult> get($grpc.ServiceCall call, $2.GetComposedFieldRequest request); $async.Future<$0.ListComposedFieldResult> list($grpc.ServiceCall call, $0.ListComposedFieldRequest request);
$async.Future<$2.CreateComposedFieldResult> create($grpc.ServiceCall call, $2.CreateComposedFieldRequest request);
$async.Future<$2.UpdateComposedFieldResult> update($grpc.ServiceCall call, $2.UpdateComposedFieldRequest request); $async.Future<$0.GetProjectComposedFieldResult> getProject_Pre($grpc.ServiceCall $call, $async.Future<$0.GetProjectComposedFieldRequest> $request) async {
$async.Future<$2.DeleteComposedFieldResult> delete($grpc.ServiceCall call, $2.DeleteComposedFieldRequest request); return getProject($call, await $request);
$async.Future<$2.ListComposedFieldResult> list($grpc.ServiceCall call, $2.ListComposedFieldRequest request); }
$async.Future<$0.GetProjectComposedFieldResult> getProject($grpc.ServiceCall call, $0.GetProjectComposedFieldRequest request);
$async.Future<$0.CreateProjectComposedFieldResult> createProject_Pre($grpc.ServiceCall $call, $async.Future<$0.CreateProjectComposedFieldRequest> $request) async {
return createProject($call, await $request);
}
$async.Future<$0.CreateProjectComposedFieldResult> createProject($grpc.ServiceCall call, $0.CreateProjectComposedFieldRequest request);
$async.Future<$0.UpdateProjectComposedFieldResult> updateProject_Pre($grpc.ServiceCall $call, $async.Future<$0.UpdateProjectComposedFieldRequest> $request) async {
return updateProject($call, await $request);
}
$async.Future<$0.UpdateProjectComposedFieldResult> updateProject($grpc.ServiceCall call, $0.UpdateProjectComposedFieldRequest request);
$async.Future<$0.DeleteProjectComposedFieldResult> deleteProject_Pre($grpc.ServiceCall $call, $async.Future<$0.DeleteProjectComposedFieldRequest> $request) async {
return deleteProject($call, await $request);
}
$async.Future<$0.DeleteProjectComposedFieldResult> deleteProject($grpc.ServiceCall call, $0.DeleteProjectComposedFieldRequest request);
$async.Future<$0.ListProjectComposedFieldResult> listProject_Pre($grpc.ServiceCall $call, $async.Future<$0.ListProjectComposedFieldRequest> $request) async {
return listProject($call, await $request);
}
$async.Future<$0.ListProjectComposedFieldResult> listProject($grpc.ServiceCall call, $0.ListProjectComposedFieldRequest request);
} }

View File

@@ -1,13 +1,14 @@
// This is a generated file - do not edit.
// //
// Generated code. Do not modify. // Generated from viz-composed-field.proto.
// source: viz-composed-field.proto
//
// @dart = 3.3 // @dart = 3.3
// ignore_for_file: annotate_overrides, camel_case_types, comment_references // ignore_for_file: annotate_overrides, camel_case_types, comment_references
// ignore_for_file: constant_identifier_names, library_prefixes // ignore_for_file: constant_identifier_names
// ignore_for_file: non_constant_identifier_names, prefer_final_fields // ignore_for_file: curly_braces_in_flow_control_structures
// ignore_for_file: unnecessary_import, unnecessary_this, unused_import // ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
// ignore_for_file: non_constant_identifier_names, unused_import
import 'dart:convert' as $convert; import 'dart:convert' as $convert;
import 'dart:core' as $core; import 'dart:core' as $core;
@@ -34,22 +35,22 @@ const ComposedField$json = {
final $typed_data.Uint8List composedFieldDescriptor = $convert.base64Decode( final $typed_data.Uint8List composedFieldDescriptor = $convert.base64Decode(
'Cg1Db21wb3NlZEZpZWxkEk8KD0NvbXBvc2VkRmllbGRJRBgBIAEoCUIlkkEiMiBJZGVudGlmaW' 'Cg1Db21wb3NlZEZpZWxkEk8KD0NvbXBvc2VkRmllbGRJRBgBIAEoCUIlkkEiMiBJZGVudGlmaW'
'VyIG9mIHRoZSBDb21wb3NlZCBGaWVsZFIPQ29tcG9zZWRGaWVsZElEEjMKBE5hbWUYAiABKAlC' 'VyIG9mIHRoZSBDb21wb3NlZCBGaWVsZFIPQ29tcG9zZWRGaWVsZElEEjMKBE5hbWUYAiABKAlC'
'H5JBHDIaTmFtZSBvZiB0aGUgQ29tcG9zZWQgRmllbGRSBE5hbWUSQwoJUHJvamVjdElEGAMgAS' 'H5JBHDIaTmFtZSBvZiB0aGUgQ29tcG9zZWQgRmllbGRSBE5hbWUSRAoJUHJvamVjdElEGAMgAS'
'gJQiWSQRsyGUlkZW50aWZpZXIgb2YgdGhlIHByb2plY3T6QgRyAhABUglQcm9qZWN0SUQSOQoI' 'gJQiaSQRsyGUlkZW50aWZpZXIgb2YgdGhlIHByb2plY3S6gQEEcgIQAVIJUHJvamVjdElEEjkK'
'U2NyZWVuSUQYBCABKAlCHZJBGjIYSWRlbnRpZmllciBvZiB0aGUgU2NyZWVuUghTY3JlZW5JRB' 'CFNjcmVlbklEGAQgASgJQh2SQRoyGElkZW50aWZpZXIgb2YgdGhlIFNjcmVlblIIU2NyZWVuSU'
'JLCgxDcmVhdGVVc2VySUQYBSABKAlCJ5JBJDIiSWRlbnRpZmllciBvZiB0aGUgdXNlciB3aG8g' 'QSSwoMQ3JlYXRlVXNlcklEGAUgASgJQieSQSQyIklkZW50aWZpZXIgb2YgdGhlIHVzZXIgd2hv'
'Y3JlYXRlZFIMQ3JlYXRlVXNlcklEElcKDFVwZGF0ZVVzZXJJRBgGIAEoCUIzkkEwMi5JZGVudG' 'IGNyZWF0ZWRSDENyZWF0ZVVzZXJJRBJXCgxVcGRhdGVVc2VySUQYBiABKAlCM5JBMDIuSWRlbn'
'lmaWVyIG9mIHRoZSB1c2VyIHdobyBkaWQgdGhlIGxhc3QgdXBkYXRlUgxVcGRhdGVVc2VySUQS' 'RpZmllciBvZiB0aGUgdXNlciB3aG8gZGlkIHRoZSBsYXN0IHVwZGF0ZVIMVXBkYXRlVXNlcklE'
'wgEKDkNyZWF0ZURhdGVUaW1lGAcgASgJQpkBkkGVATKSAURhdGUgb2YgY3JlYXRpb24gaW4gPG' 'EsIBCg5DcmVhdGVEYXRlVGltZRgHIAEoCUKZAZJBlQEykgFEYXRlIG9mIGNyZWF0aW9uIGluID'
'EgaHJlZj0iaHR0cHM6Ly9lbi53aWtpcGVkaWEub3JnL3dpa2kvSVNPXzg2MDEiPklTTyA4NjAx' 'xhIGhyZWY9Imh0dHBzOi8vZW4ud2lraXBlZGlhLm9yZy93aWtpL0lTT184NjAxIj5JU08gODYw'
'PC9hPiBmb3JtYXQgd2l0aCB0aW1lIHpvbmUgKGFjY2VwdGVkIHR6ZCBmb3JtYXRzOiBbKzAxOj' 'MTwvYT4gZm9ybWF0IHdpdGggdGltZSB6b25lIChhY2NlcHRlZCB0emQgZm9ybWF0czogWyswMT'
'AwLCAtMDE6MDAsIFpdUg5DcmVhdGVEYXRlVGltZRLFAQoOVXBkYXRlRGF0ZVRpbWUYCCABKAlC' 'owMCwgLTAxOjAwLCBaXVIOQ3JlYXRlRGF0ZVRpbWUSxQEKDlVwZGF0ZURhdGVUaW1lGAggASgJ'
'nAGSQZgBMpUBRGF0ZSBvZiBsYXN0IHVwZGF0ZSBpbiA8YSBocmVmPSJodHRwczovL2VuLndpa2' 'QpwBkkGYATKVAURhdGUgb2YgbGFzdCB1cGRhdGUgaW4gPGEgaHJlZj0iaHR0cHM6Ly9lbi53aW'
'lwZWRpYS5vcmcvd2lraS9JU09fODYwMSI+SVNPIDg2MDE8L2E+IGZvcm1hdCB3aXRoIHRpbWUg' 'tpcGVkaWEub3JnL3dpa2kvSVNPXzg2MDEiPklTTyA4NjAxPC9hPiBmb3JtYXQgd2l0aCB0aW1l'
'em9uZSAoYWNjZXB0ZWQgdHpkIGZvcm1hdHM6IFsrMDE6MDAsIC0wMTowMCwgWl1SDlVwZGF0ZU' 'IHpvbmUgKGFjY2VwdGVkIHR6ZCBmb3JtYXRzOiBbKzAxOjAwLCAtMDE6MDAsIFpdUg5VcGRhdG'
'RhdGVUaW1lEjAKBVRhYklEGAkgASgJQhqSQRcyFUlkZW50aWZpZXIgb2YgdGhlIFRhYlIFVGFi' 'VEYXRlVGltZRIwCgVUYWJJRBgJIAEoCUIakkEXMhVJZGVudGlmaWVyIG9mIHRoZSBUYWJSBVRh'
'SUQSPAoHUGF5bG9hZBgKIAEoCUIikkEfMh1Db250ZW50IGluIHRoZSBDb21wb3NlZCBGaWVsZF' 'YklEEjwKB1BheWxvYWQYCiABKAlCIpJBHzIdQ29udGVudCBpbiB0aGUgQ29tcG9zZWQgRmllbG'
'IHUGF5bG9hZA=='); 'RSB1BheWxvYWQ=');
@$core.Deprecated('Use getComposedFieldRequestDescriptor instead') @$core.Deprecated('Use getComposedFieldRequestDescriptor instead')
const GetComposedFieldRequest$json = { const GetComposedFieldRequest$json = {
@@ -63,11 +64,11 @@ const GetComposedFieldRequest$json = {
/// Descriptor for `GetComposedFieldRequest`. Decode as a `google.protobuf.DescriptorProto`. /// Descriptor for `GetComposedFieldRequest`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List getComposedFieldRequestDescriptor = $convert.base64Decode( final $typed_data.Uint8List getComposedFieldRequestDescriptor = $convert.base64Decode(
'ChdHZXRDb21wb3NlZEZpZWxkUmVxdWVzdBI7CgZIZWFkZXIYASABKAsyGS5hcGkuUmVxdWVzdF' 'ChdHZXRDb21wb3NlZEZpZWxkUmVxdWVzdBI8CgZIZWFkZXIYASABKAsyGS5hcGkuUmVxdWVzdF'
'Byb2plY3RIZWFkZXJCCPpCBYoBAhABUgZIZWFkZXISVgoPQ29tcG9zZWRGaWVsZElEGAIgASgJ' 'Byb2plY3RIZWFkZXJCCbqBAQWKAQIQAVIGSGVhZGVyElcKD0NvbXBvc2VkRmllbGRJRBgCIAEo'
'QiySQSIyIElkZW50aWZpZXIgb2YgdGhlIENvbXBvc2VkIEZpZWxk+kIEcgIQAVIPQ29tcG9zZW' 'CUItkkEiMiBJZGVudGlmaWVyIG9mIHRoZSBDb21wb3NlZCBGaWVsZLqBAQRyAhABUg9Db21wb3'
'RGaWVsZElEOjuSQTgKNjIZSURzIG9mIHRoZSBDb21wb3NlZCBGaWVsZNIBBkhlYWRlctIBD0Nv' 'NlZEZpZWxkSUQ6O5JBOAo2MhlJRHMgb2YgdGhlIENvbXBvc2VkIEZpZWxk0gEGSGVhZGVy0gEP'
'bXBvc2VkRmllbGRJRA=='); 'Q29tcG9zZWRGaWVsZElE');
@$core.Deprecated('Use getComposedFieldResultDescriptor instead') @$core.Deprecated('Use getComposedFieldResultDescriptor instead')
const GetComposedFieldResult$json = { const GetComposedFieldResult$json = {
@@ -99,14 +100,14 @@ const CreateComposedFieldRequest$json = {
/// Descriptor for `CreateComposedFieldRequest`. Decode as a `google.protobuf.DescriptorProto`. /// Descriptor for `CreateComposedFieldRequest`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List createComposedFieldRequestDescriptor = $convert.base64Decode( final $typed_data.Uint8List createComposedFieldRequestDescriptor = $convert.base64Decode(
'ChpDcmVhdGVDb21wb3NlZEZpZWxkUmVxdWVzdBI7CgZIZWFkZXIYASABKAsyGS5hcGkuUmVxdW' 'ChpDcmVhdGVDb21wb3NlZEZpZWxkUmVxdWVzdBI8CgZIZWFkZXIYASABKAsyGS5hcGkuUmVxdW'
'VzdFByb2plY3RIZWFkZXJCCPpCBYoBAhABUgZIZWFkZXISOgoETmFtZRgCIAEoCUImkkEcMhpO' 'VzdFByb2plY3RIZWFkZXJCCbqBAQWKAQIQAVIGSGVhZGVyEjsKBE5hbWUYAiABKAlCJ5JBHDIa'
'YW1lIG9mIHRoZSBDb21wb3NlZCBGaWVsZPpCBHICEAFSBE5hbWUSQAoIU2NyZWVuSUQYAyABKA' 'TmFtZSBvZiB0aGUgQ29tcG9zZWQgRmllbGS6gQEEcgIQAVIETmFtZRJBCghTY3JlZW5JRBgDIA'
'lCJJJBGjIYSWRlbnRpZmllciBvZiB0aGUgU2NyZWVu+kIEcgIQAVIIU2NyZWVuSUQSNwoFVGFi' 'EoCUIlkkEaMhhJZGVudGlmaWVyIG9mIHRoZSBTY3JlZW66gQEEcgIQAVIIU2NyZWVuSUQSOAoF'
'SUQYBCABKAlCIZJBFzIVSWRlbnRpZmllciBvZiB0aGUgVGFi+kIEcgIQAVIFVGFiSUQSQwoHUG' 'VGFiSUQYBCABKAlCIpJBFzIVSWRlbnRpZmllciBvZiB0aGUgVGFiuoEBBHICEAFSBVRhYklEEk'
'F5bG9hZBgFIAEoCUIpkkEfMh1Db250ZW50IGluIHRoZSBDb21wb3NlZCBGaWVsZPpCBHICEAFS' 'QKB1BheWxvYWQYBSABKAlCKpJBHzIdQ29udGVudCBpbiB0aGUgQ29tcG9zZWQgRmllbGS6gQEE'
'B1BheWxvYWQ6VJJBUQpPMiBDb250ZW50IHRoYXQgbmVlZHMgdG8gYmUgc3RvcmVkINIBBkhlYW' 'cgIQAVIHUGF5bG9hZDpUkkFRCk8yIENvbnRlbnQgdGhhdCBuZWVkcyB0byBiZSBzdG9yZWQg0g'
'RlctIBBE5hbWXSAQhTY3JlZW5JRNIBBVRhYklE0gEHUGF5bG9hZA=='); 'EGSGVhZGVy0gEETmFtZdIBCFNjcmVlbklE0gEFVGFiSUTSAQdQYXlsb2Fk');
@$core.Deprecated('Use createComposedFieldResultDescriptor instead') @$core.Deprecated('Use createComposedFieldResultDescriptor instead')
const CreateComposedFieldResult$json = { const CreateComposedFieldResult$json = {
@@ -139,16 +140,16 @@ const UpdateComposedFieldRequest$json = {
/// Descriptor for `UpdateComposedFieldRequest`. Decode as a `google.protobuf.DescriptorProto`. /// Descriptor for `UpdateComposedFieldRequest`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List updateComposedFieldRequestDescriptor = $convert.base64Decode( final $typed_data.Uint8List updateComposedFieldRequestDescriptor = $convert.base64Decode(
'ChpVcGRhdGVDb21wb3NlZEZpZWxkUmVxdWVzdBI7CgZIZWFkZXIYASABKAsyGS5hcGkuUmVxdW' 'ChpVcGRhdGVDb21wb3NlZEZpZWxkUmVxdWVzdBI8CgZIZWFkZXIYASABKAsyGS5hcGkuUmVxdW'
'VzdFByb2plY3RIZWFkZXJCCPpCBYoBAhABUgZIZWFkZXISVgoPQ29tcG9zZWRGaWVsZElEGAIg' 'VzdFByb2plY3RIZWFkZXJCCbqBAQWKAQIQAVIGSGVhZGVyElcKD0NvbXBvc2VkRmllbGRJRBgC'
'ASgJQiySQSIyIElkZW50aWZpZXIgb2YgdGhlIENvbXBvc2VkIEZpZWxk+kIEcgIQAVIPQ29tcG' 'IAEoCUItkkEiMiBJZGVudGlmaWVyIG9mIHRoZSBDb21wb3NlZCBGaWVsZLqBAQRyAhABUg9Db2'
'9zZWRGaWVsZElEEjoKBE5hbWUYAyABKAlCJpJBHDIaTmFtZSBvZiB0aGUgQ29tcG9zZWQgRmll' '1wb3NlZEZpZWxkSUQSOwoETmFtZRgDIAEoCUInkkEcMhpOYW1lIG9mIHRoZSBDb21wb3NlZCBG'
'bGT6QgRyAhABUgROYW1lEkAKCFNjcmVlbklEGAQgASgJQiSSQRoyGElkZW50aWZpZXIgb2YgdG' 'aWVsZLqBAQRyAhABUgROYW1lEkEKCFNjcmVlbklEGAQgASgJQiWSQRoyGElkZW50aWZpZXIgb2'
'hlIFNjcmVlbvpCBHICEAFSCFNjcmVlbklEEjcKBVRhYklEGAUgASgJQiGSQRcyFUlkZW50aWZp' 'YgdGhlIFNjcmVlbrqBAQRyAhABUghTY3JlZW5JRBI4CgVUYWJJRBgFIAEoCUIikkEXMhVJZGVu'
'ZXIgb2YgdGhlIFRhYvpCBHICEAFSBVRhYklEEkMKB1BheWxvYWQYBiABKAlCKZJBHzIdQ29udG' 'dGlmaWVyIG9mIHRoZSBUYWK6gQEEcgIQAVIFVGFiSUQSRAoHUGF5bG9hZBgGIAEoCUIqkkEfMh'
'VudCBpbiB0aGUgQ29tcG9zZWQgRmllbGT6QgRyAhABUgdQYXlsb2FkOmaSQWMKYTIgQ29udGVu' '1Db250ZW50IGluIHRoZSBDb21wb3NlZCBGaWVsZLqBAQRyAhABUgdQYXlsb2FkOmaSQWMKYTIg'
'dCB0aGF0IG5lZWRzIHRvIGJlIHVwZGF0ZWTSAQZIZWFkZXLSAQ9Db21wb3NlZEZpZWxkSUTSAQ' 'Q29udGVudCB0aGF0IG5lZWRzIHRvIGJlIHVwZGF0ZWTSAQZIZWFkZXLSAQ9Db21wb3NlZEZpZW'
'ROYW1l0gEIU2NyZWVuSUTSAQVUYWJJRNIBB1BheWxvYWQ='); 'xkSUTSAQROYW1l0gEIU2NyZWVuSUTSAQVUYWJJRNIBB1BheWxvYWQ=');
@$core.Deprecated('Use updateComposedFieldResultDescriptor instead') @$core.Deprecated('Use updateComposedFieldResultDescriptor instead')
const UpdateComposedFieldResult$json = { const UpdateComposedFieldResult$json = {
@@ -177,11 +178,11 @@ const DeleteComposedFieldRequest$json = {
/// Descriptor for `DeleteComposedFieldRequest`. Decode as a `google.protobuf.DescriptorProto`. /// Descriptor for `DeleteComposedFieldRequest`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List deleteComposedFieldRequestDescriptor = $convert.base64Decode( final $typed_data.Uint8List deleteComposedFieldRequestDescriptor = $convert.base64Decode(
'ChpEZWxldGVDb21wb3NlZEZpZWxkUmVxdWVzdBI7CgZIZWFkZXIYASABKAsyGS5hcGkuUmVxdW' 'ChpEZWxldGVDb21wb3NlZEZpZWxkUmVxdWVzdBI8CgZIZWFkZXIYASABKAsyGS5hcGkuUmVxdW'
'VzdFByb2plY3RIZWFkZXJCCPpCBYoBAhABUgZIZWFkZXISVgoPQ29tcG9zZWRGaWVsZElEGAIg' 'VzdFByb2plY3RIZWFkZXJCCbqBAQWKAQIQAVIGSGVhZGVyElcKD0NvbXBvc2VkRmllbGRJRBgC'
'ASgJQiySQSIyIElkZW50aWZpZXIgb2YgdGhlIENvbXBvc2VkIEZpZWxk+kIEcgIQAVIPQ29tcG' 'IAEoCUItkkEiMiBJZGVudGlmaWVyIG9mIHRoZSBDb21wb3NlZCBGaWVsZLqBAQRyAhABUg9Db2'
'9zZWRGaWVsZElEOkmSQUYKRDInSURzIG9mIHRoZSBDb21wb3NlZCBGaWVsZCB0byBiZSBkZWxl' '1wb3NlZEZpZWxkSUQ6SZJBRgpEMidJRHMgb2YgdGhlIENvbXBvc2VkIEZpZWxkIHRvIGJlIGRl'
'dGVk0gEGSGVhZGVy0gEPQ29tcG9zZWRGaWVsZElE'); 'bGV0ZWTSAQZIZWFkZXLSAQ9Db21wb3NlZEZpZWxkSUQ=');
@$core.Deprecated('Use deleteComposedFieldResultDescriptor instead') @$core.Deprecated('Use deleteComposedFieldResultDescriptor instead')
const DeleteComposedFieldResult$json = { const DeleteComposedFieldResult$json = {
@@ -205,10 +206,10 @@ const ListComposedFieldRequest$json = {
/// Descriptor for `ListComposedFieldRequest`. Decode as a `google.protobuf.DescriptorProto`. /// Descriptor for `ListComposedFieldRequest`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List listComposedFieldRequestDescriptor = $convert.base64Decode( final $typed_data.Uint8List listComposedFieldRequestDescriptor = $convert.base64Decode(
'ChhMaXN0Q29tcG9zZWRGaWVsZFJlcXVlc3QSOwoGSGVhZGVyGAEgASgLMhkuYXBpLlJlcXVlc3' 'ChhMaXN0Q29tcG9zZWRGaWVsZFJlcXVlc3QSPAoGSGVhZGVyGAEgASgLMhkuYXBpLlJlcXVlc3'
'RQcm9qZWN0SGVhZGVyQgj6QgWKAQIQAVIGSGVhZGVyEjkKCFNjcmVlbklEGAIgASgJQh2SQRoy' 'RQcm9qZWN0SGVhZGVyQgm6gQEFigECEAFSBkhlYWRlchI5CghTY3JlZW5JRBgCIAEoCUIdkkEa'
'GElkZW50aWZpZXIgb2YgdGhlIFNjcmVlblIIU2NyZWVuSUQSMAoFVGFiSUQYAyABKAlCGpJBFz' 'MhhJZGVudGlmaWVyIG9mIHRoZSBTY3JlZW5SCFNjcmVlbklEEjAKBVRhYklEGAMgASgJQhqSQR'
'IVSWRlbnRpZmllciBvZiB0aGUgVGFiUgVUYWJJRDoOkkELCgnSAQZIZWFkZXI='); 'cyFUlkZW50aWZpZXIgb2YgdGhlIFRhYlIFVGFiSUQ6DpJBCwoJ0gEGSGVhZGVy');
@$core.Deprecated('Use listComposedFieldResultDescriptor instead') @$core.Deprecated('Use listComposedFieldResultDescriptor instead')
const ListComposedFieldResult$json = { const ListComposedFieldResult$json = {
@@ -225,3 +226,177 @@ final $typed_data.Uint8List listComposedFieldResultDescriptor = $convert.base64D
'Bvc2VkRmllbGRCJJJBITIfQWxsIENvbnRlbnQgaW4gYSBDb21wb3NlZCBGaWVsZFIHUmVzdWx0' 'Bvc2VkRmllbGRCJJJBITIfQWxsIENvbnRlbnQgaW4gYSBDb21wb3NlZCBGaWVsZFIHUmVzdWx0'
'czoekkEbChkyF0xpc3Qgb2YgQ29tcG9zZWQgRmllbGRz'); 'czoekkEbChkyF0xpc3Qgb2YgQ29tcG9zZWQgRmllbGRz');
@$core.Deprecated('Use getProjectComposedFieldRequestDescriptor instead')
const GetProjectComposedFieldRequest$json = {
'1': 'GetProjectComposedFieldRequest',
'2': [
{'1': 'Header', '3': 1, '4': 1, '5': 11, '6': '.api.RequestProjectHeader', '8': {}, '10': 'Header'},
{'1': 'ComposedFieldID', '3': 2, '4': 1, '5': 9, '8': {}, '10': 'ComposedFieldID'},
],
'7': {},
};
/// Descriptor for `GetProjectComposedFieldRequest`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List getProjectComposedFieldRequestDescriptor = $convert.base64Decode(
'Ch5HZXRQcm9qZWN0Q29tcG9zZWRGaWVsZFJlcXVlc3QSPAoGSGVhZGVyGAEgASgLMhkuYXBpLl'
'JlcXVlc3RQcm9qZWN0SGVhZGVyQgm6gQEFigECEAFSBkhlYWRlchJXCg9Db21wb3NlZEZpZWxk'
'SUQYAiABKAlCLZJBIjIgSWRlbnRpZmllciBvZiB0aGUgQ29tcG9zZWQgRmllbGS6gQEEcgIQAV'
'IPQ29tcG9zZWRGaWVsZElEOjuSQTgKNjIZSURzIG9mIHRoZSBDb21wb3NlZCBGaWVsZNIBBkhl'
'YWRlctIBD0NvbXBvc2VkRmllbGRJRA==');
@$core.Deprecated('Use getProjectComposedFieldResultDescriptor instead')
const GetProjectComposedFieldResult$json = {
'1': 'GetProjectComposedFieldResult',
'2': [
{'1': 'Result', '3': 1, '4': 1, '5': 11, '6': '.vizapi.ComposedField', '10': 'Result'},
],
'7': {},
};
/// Descriptor for `GetProjectComposedFieldResult`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List getProjectComposedFieldResultDescriptor = $convert.base64Decode(
'Ch1HZXRQcm9qZWN0Q29tcG9zZWRGaWVsZFJlc3VsdBItCgZSZXN1bHQYASABKAsyFS52aXphcG'
'kuQ29tcG9zZWRGaWVsZFIGUmVzdWx0Oi+SQSwKKjIoQWxsIHRoZSBDb250ZW50IGFib3V0IHRo'
'ZSBjb21wb3NlZCBmaWVsZA==');
@$core.Deprecated('Use createProjectComposedFieldRequestDescriptor instead')
const CreateProjectComposedFieldRequest$json = {
'1': 'CreateProjectComposedFieldRequest',
'2': [
{'1': 'Header', '3': 1, '4': 1, '5': 11, '6': '.api.RequestProjectHeader', '8': {}, '10': 'Header'},
{'1': 'Name', '3': 2, '4': 1, '5': 9, '8': {}, '10': 'Name'},
{'1': 'ScreenID', '3': 3, '4': 1, '5': 9, '8': {}, '10': 'ScreenID'},
{'1': 'TabID', '3': 4, '4': 1, '5': 9, '8': {}, '10': 'TabID'},
{'1': 'Payload', '3': 5, '4': 1, '5': 9, '8': {}, '10': 'Payload'},
],
'7': {},
};
/// Descriptor for `CreateProjectComposedFieldRequest`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List createProjectComposedFieldRequestDescriptor = $convert.base64Decode(
'CiFDcmVhdGVQcm9qZWN0Q29tcG9zZWRGaWVsZFJlcXVlc3QSPAoGSGVhZGVyGAEgASgLMhkuYX'
'BpLlJlcXVlc3RQcm9qZWN0SGVhZGVyQgm6gQEFigECEAFSBkhlYWRlchI7CgROYW1lGAIgASgJ'
'QieSQRwyGk5hbWUgb2YgdGhlIENvbXBvc2VkIEZpZWxkuoEBBHICEAFSBE5hbWUSQQoIU2NyZW'
'VuSUQYAyABKAlCJZJBGjIYSWRlbnRpZmllciBvZiB0aGUgU2NyZWVuuoEBBHICEAFSCFNjcmVl'
'bklEEjgKBVRhYklEGAQgASgJQiKSQRcyFUlkZW50aWZpZXIgb2YgdGhlIFRhYrqBAQRyAhABUg'
'VUYWJJRBJECgdQYXlsb2FkGAUgASgJQiqSQR8yHUNvbnRlbnQgaW4gdGhlIENvbXBvc2VkIEZp'
'ZWxkuoEBBHICEAFSB1BheWxvYWQ6VJJBUQpPMiBDb250ZW50IHRoYXQgbmVlZHMgdG8gYmUgc3'
'RvcmVkINIBBkhlYWRlctIBBE5hbWXSAQhTY3JlZW5JRNIBBVRhYklE0gEHUGF5bG9hZA==');
@$core.Deprecated('Use createProjectComposedFieldResultDescriptor instead')
const CreateProjectComposedFieldResult$json = {
'1': 'CreateProjectComposedFieldResult',
'2': [
{'1': 'ComposedFieldID', '3': 1, '4': 1, '5': 9, '8': {}, '10': 'ComposedFieldID'},
],
'7': {},
};
/// Descriptor for `CreateProjectComposedFieldResult`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List createProjectComposedFieldResultDescriptor = $convert.base64Decode(
'CiBDcmVhdGVQcm9qZWN0Q29tcG9zZWRGaWVsZFJlc3VsdBJPCg9Db21wb3NlZEZpZWxkSUQYAS'
'ABKAlCJZJBIjIgSWRlbnRpZmllciBvZiB0aGUgQ29tcG9zZWQgRmllbGRSD0NvbXBvc2VkRmll'
'bGRJRDonkkEkCiIyIElEIG9mIHRoZSBjcmVhdGVkIENvbXBvc2VkIEZpZWxk');
@$core.Deprecated('Use updateProjectComposedFieldRequestDescriptor instead')
const UpdateProjectComposedFieldRequest$json = {
'1': 'UpdateProjectComposedFieldRequest',
'2': [
{'1': 'Header', '3': 1, '4': 1, '5': 11, '6': '.api.RequestProjectHeader', '8': {}, '10': 'Header'},
{'1': 'ComposedFieldID', '3': 2, '4': 1, '5': 9, '8': {}, '10': 'ComposedFieldID'},
{'1': 'Name', '3': 3, '4': 1, '5': 9, '8': {}, '10': 'Name'},
{'1': 'ScreenID', '3': 4, '4': 1, '5': 9, '8': {}, '10': 'ScreenID'},
{'1': 'TabID', '3': 5, '4': 1, '5': 9, '8': {}, '10': 'TabID'},
{'1': 'Payload', '3': 6, '4': 1, '5': 9, '8': {}, '10': 'Payload'},
],
'7': {},
};
/// Descriptor for `UpdateProjectComposedFieldRequest`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List updateProjectComposedFieldRequestDescriptor = $convert.base64Decode(
'CiFVcGRhdGVQcm9qZWN0Q29tcG9zZWRGaWVsZFJlcXVlc3QSPAoGSGVhZGVyGAEgASgLMhkuYX'
'BpLlJlcXVlc3RQcm9qZWN0SGVhZGVyQgm6gQEFigECEAFSBkhlYWRlchJXCg9Db21wb3NlZEZp'
'ZWxkSUQYAiABKAlCLZJBIjIgSWRlbnRpZmllciBvZiB0aGUgQ29tcG9zZWQgRmllbGS6gQEEcg'
'IQAVIPQ29tcG9zZWRGaWVsZElEEjsKBE5hbWUYAyABKAlCJ5JBHDIaTmFtZSBvZiB0aGUgQ29t'
'cG9zZWQgRmllbGS6gQEEcgIQAVIETmFtZRJBCghTY3JlZW5JRBgEIAEoCUIlkkEaMhhJZGVudG'
'lmaWVyIG9mIHRoZSBTY3JlZW66gQEEcgIQAVIIU2NyZWVuSUQSOAoFVGFiSUQYBSABKAlCIpJB'
'FzIVSWRlbnRpZmllciBvZiB0aGUgVGFiuoEBBHICEAFSBVRhYklEEkQKB1BheWxvYWQYBiABKA'
'lCKpJBHzIdQ29udGVudCBpbiB0aGUgQ29tcG9zZWQgRmllbGS6gQEEcgIQAVIHUGF5bG9hZDpm'
'kkFjCmEyIENvbnRlbnQgdGhhdCBuZWVkcyB0byBiZSB1cGRhdGVk0gEGSGVhZGVy0gEPQ29tcG'
'9zZWRGaWVsZElE0gEETmFtZdIBCFNjcmVlbklE0gEFVGFiSUTSAQdQYXlsb2Fk');
@$core.Deprecated('Use updateProjectComposedFieldResultDescriptor instead')
const UpdateProjectComposedFieldResult$json = {
'1': 'UpdateProjectComposedFieldResult',
'2': [
{'1': 'ComposedFieldID', '3': 1, '4': 1, '5': 9, '8': {}, '10': 'ComposedFieldID'},
],
'7': {},
};
/// Descriptor for `UpdateProjectComposedFieldResult`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List updateProjectComposedFieldResultDescriptor = $convert.base64Decode(
'CiBVcGRhdGVQcm9qZWN0Q29tcG9zZWRGaWVsZFJlc3VsdBJPCg9Db21wb3NlZEZpZWxkSUQYAS'
'ABKAlCJZJBIjIgSWRlbnRpZmllciBvZiB0aGUgQ29tcG9zZWQgRmllbGRSD0NvbXBvc2VkRmll'
'bGRJRDobkkEYChYyFFVwZGF0ZWQgZGFzaGJvYXJkIElE');
@$core.Deprecated('Use deleteProjectComposedFieldRequestDescriptor instead')
const DeleteProjectComposedFieldRequest$json = {
'1': 'DeleteProjectComposedFieldRequest',
'2': [
{'1': 'Header', '3': 1, '4': 1, '5': 11, '6': '.api.RequestProjectHeader', '8': {}, '10': 'Header'},
{'1': 'ComposedFieldID', '3': 2, '4': 1, '5': 9, '8': {}, '10': 'ComposedFieldID'},
],
'7': {},
};
/// Descriptor for `DeleteProjectComposedFieldRequest`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List deleteProjectComposedFieldRequestDescriptor = $convert.base64Decode(
'CiFEZWxldGVQcm9qZWN0Q29tcG9zZWRGaWVsZFJlcXVlc3QSPAoGSGVhZGVyGAEgASgLMhkuYX'
'BpLlJlcXVlc3RQcm9qZWN0SGVhZGVyQgm6gQEFigECEAFSBkhlYWRlchJXCg9Db21wb3NlZEZp'
'ZWxkSUQYAiABKAlCLZJBIjIgSWRlbnRpZmllciBvZiB0aGUgQ29tcG9zZWQgRmllbGS6gQEEcg'
'IQAVIPQ29tcG9zZWRGaWVsZElEOkmSQUYKRDInSURzIG9mIHRoZSBDb21wb3NlZCBGaWVsZCB0'
'byBiZSBkZWxldGVk0gEGSGVhZGVy0gEPQ29tcG9zZWRGaWVsZElE');
@$core.Deprecated('Use deleteProjectComposedFieldResultDescriptor instead')
const DeleteProjectComposedFieldResult$json = {
'1': 'DeleteProjectComposedFieldResult',
};
/// Descriptor for `DeleteProjectComposedFieldResult`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List deleteProjectComposedFieldResultDescriptor = $convert.base64Decode(
'CiBEZWxldGVQcm9qZWN0Q29tcG9zZWRGaWVsZFJlc3VsdA==');
@$core.Deprecated('Use listProjectComposedFieldRequestDescriptor instead')
const ListProjectComposedFieldRequest$json = {
'1': 'ListProjectComposedFieldRequest',
'2': [
{'1': 'Header', '3': 1, '4': 1, '5': 11, '6': '.api.RequestProjectHeader', '8': {}, '10': 'Header'},
{'1': 'ScreenID', '3': 2, '4': 1, '5': 9, '8': {}, '10': 'ScreenID'},
{'1': 'TabID', '3': 3, '4': 1, '5': 9, '8': {}, '10': 'TabID'},
],
'7': {},
};
/// Descriptor for `ListProjectComposedFieldRequest`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List listProjectComposedFieldRequestDescriptor = $convert.base64Decode(
'Ch9MaXN0UHJvamVjdENvbXBvc2VkRmllbGRSZXF1ZXN0EjwKBkhlYWRlchgBIAEoCzIZLmFwaS'
'5SZXF1ZXN0UHJvamVjdEhlYWRlckIJuoEBBYoBAhABUgZIZWFkZXISOQoIU2NyZWVuSUQYAiAB'
'KAlCHZJBGjIYSWRlbnRpZmllciBvZiB0aGUgU2NyZWVuUghTY3JlZW5JRBIwCgVUYWJJRBgDIA'
'EoCUIakkEXMhVJZGVudGlmaWVyIG9mIHRoZSBUYWJSBVRhYklEOg6SQQsKCdIBBkhlYWRlcg==');
@$core.Deprecated('Use listProjectComposedFieldResultDescriptor instead')
const ListProjectComposedFieldResult$json = {
'1': 'ListProjectComposedFieldResult',
'2': [
{'1': 'Results', '3': 1, '4': 3, '5': 11, '6': '.vizapi.ComposedField', '8': {}, '10': 'Results'},
],
'7': {},
};
/// Descriptor for `ListProjectComposedFieldResult`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List listProjectComposedFieldResultDescriptor = $convert.base64Decode(
'Ch5MaXN0UHJvamVjdENvbXBvc2VkRmllbGRSZXN1bHQSVQoHUmVzdWx0cxgBIAMoCzIVLnZpem'
'FwaS5Db21wb3NlZEZpZWxkQiSSQSEyH0FsbCBDb250ZW50IGluIGEgQ29tcG9zZWQgRmllbGRS'
'B1Jlc3VsdHM6HpJBGwoZMhdMaXN0IG9mIENvbXBvc2VkIEZpZWxkcw==');

File diff suppressed because it is too large Load Diff

View File

@@ -1,11 +1,12 @@
// This is a generated file - do not edit.
// //
// Generated code. Do not modify. // Generated from viz-dashboard.proto.
// source: viz-dashboard.proto
//
// @dart = 3.3 // @dart = 3.3
// ignore_for_file: annotate_overrides, camel_case_types, comment_references // ignore_for_file: annotate_overrides, camel_case_types, comment_references
// ignore_for_file: constant_identifier_names, library_prefixes // ignore_for_file: constant_identifier_names
// ignore_for_file: non_constant_identifier_names, prefer_final_fields // ignore_for_file: curly_braces_in_flow_control_structures
// ignore_for_file: unnecessary_import, unnecessary_this, unused_import // ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
// ignore_for_file: non_constant_identifier_names

View File

@@ -1,13 +1,14 @@
// This is a generated file - do not edit.
// //
// Generated code. Do not modify. // Generated from viz-dashboard.proto.
// source: viz-dashboard.proto
//
// @dart = 3.3 // @dart = 3.3
// ignore_for_file: annotate_overrides, camel_case_types, comment_references // ignore_for_file: annotate_overrides, camel_case_types, comment_references
// ignore_for_file: constant_identifier_names, library_prefixes // ignore_for_file: constant_identifier_names
// ignore_for_file: non_constant_identifier_names, prefer_final_fields // ignore_for_file: curly_braces_in_flow_control_structures
// ignore_for_file: unnecessary_import, unnecessary_this, unused_import // ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
// ignore_for_file: non_constant_identifier_names
import 'dart:async' as $async; import 'dart:async' as $async;
import 'dart:core' as $core; import 'dart:core' as $core;
@@ -15,82 +16,144 @@ import 'dart:core' as $core;
import 'package:grpc/service_api.dart' as $grpc; import 'package:grpc/service_api.dart' as $grpc;
import 'package:protobuf/protobuf.dart' as $pb; import 'package:protobuf/protobuf.dart' as $pb;
import 'viz-dashboard.pb.dart' as $6; import 'viz-dashboard.pb.dart' as $0;
export 'viz-dashboard.pb.dart'; export 'viz-dashboard.pb.dart';
@$pb.GrpcServiceName('vizapi.DashboardService') @$pb.GrpcServiceName('vizapi.DashboardService')
class DashboardServiceClient extends $grpc.Client { class DashboardServiceClient extends $grpc.Client {
static final _$create = $grpc.ClientMethod<$6.CreateDashboardRequest, $6.CreateDashboardResult>( /// The hostname for this service.
'/vizapi.DashboardService/Create', static const $core.String defaultHost = '';
($6.CreateDashboardRequest value) => value.writeToBuffer(),
($core.List<$core.int> value) => $6.CreateDashboardResult.fromBuffer(value));
static final _$list = $grpc.ClientMethod<$6.ListDashboardRequest, $6.ListDashboardResult>(
'/vizapi.DashboardService/List',
($6.ListDashboardRequest value) => value.writeToBuffer(),
($core.List<$core.int> value) => $6.ListDashboardResult.fromBuffer(value));
static final _$delete = $grpc.ClientMethod<$6.DeleteDashboardRequest, $6.DeleteDashboardResult>(
'/vizapi.DashboardService/Delete',
($6.DeleteDashboardRequest value) => value.writeToBuffer(),
($core.List<$core.int> value) => $6.DeleteDashboardResult.fromBuffer(value));
static final _$deleteDashboardsForOrganisation = $grpc.ClientMethod<$6.DeleteDashboardsForOrganisationRequest, $6.DeleteDashboardsForOrganisationResult>(
'/vizapi.DashboardService/DeleteDashboardsForOrganisation',
($6.DeleteDashboardsForOrganisationRequest value) => value.writeToBuffer(),
($core.List<$core.int> value) => $6.DeleteDashboardsForOrganisationResult.fromBuffer(value));
static final _$deleteDashboardsForProject = $grpc.ClientMethod<$6.DeleteDashboardsForProjectRequest, $6.DeleteDashboardsForProjectResult>(
'/vizapi.DashboardService/DeleteDashboardsForProject',
($6.DeleteDashboardsForProjectRequest value) => value.writeToBuffer(),
($core.List<$core.int> value) => $6.DeleteDashboardsForProjectResult.fromBuffer(value));
static final _$update = $grpc.ClientMethod<$6.UpdateDashboardRequest, $6.UpdateDashboardResult>(
'/vizapi.DashboardService/Update',
($6.UpdateDashboardRequest value) => value.writeToBuffer(),
($core.List<$core.int> value) => $6.UpdateDashboardResult.fromBuffer(value));
static final _$get = $grpc.ClientMethod<$6.GetDashboardRequest, $6.GetDashboardResult>(
'/vizapi.DashboardService/Get',
($6.GetDashboardRequest value) => value.writeToBuffer(),
($core.List<$core.int> value) => $6.GetDashboardResult.fromBuffer(value));
static final _$copy = $grpc.ClientMethod<$6.CopyDashboardRequest, $6.CopyDashboardResult>(
'/vizapi.DashboardService/Copy',
($6.CopyDashboardRequest value) => value.writeToBuffer(),
($core.List<$core.int> value) => $6.CopyDashboardResult.fromBuffer(value));
DashboardServiceClient($grpc.ClientChannel channel, /// OAuth scopes needed for the client.
{$grpc.CallOptions? options, static const $core.List<$core.String> oauthScopes = [
$core.Iterable<$grpc.ClientInterceptor>? interceptors}) '',
: super(channel, options: options, ];
interceptors: interceptors);
$grpc.ResponseFuture<$6.CreateDashboardResult> create($6.CreateDashboardRequest request, {$grpc.CallOptions? options}) { DashboardServiceClient(super.channel, {super.options, super.interceptors});
$grpc.ResponseFuture<$0.CreateDashboardResult> create($0.CreateDashboardRequest request, {$grpc.CallOptions? options,}) {
return $createUnaryCall(_$create, request, options: options); return $createUnaryCall(_$create, request, options: options);
} }
$grpc.ResponseFuture<$6.ListDashboardResult> list($6.ListDashboardRequest request, {$grpc.CallOptions? options}) { $grpc.ResponseFuture<$0.ListDashboardResult> list($0.ListDashboardRequest request, {$grpc.CallOptions? options,}) {
return $createUnaryCall(_$list, request, options: options); return $createUnaryCall(_$list, request, options: options);
} }
$grpc.ResponseFuture<$6.DeleteDashboardResult> delete($6.DeleteDashboardRequest request, {$grpc.CallOptions? options}) { $grpc.ResponseFuture<$0.DeleteDashboardResult> delete($0.DeleteDashboardRequest request, {$grpc.CallOptions? options,}) {
return $createUnaryCall(_$delete, request, options: options); return $createUnaryCall(_$delete, request, options: options);
} }
$grpc.ResponseFuture<$6.DeleteDashboardsForOrganisationResult> deleteDashboardsForOrganisation($6.DeleteDashboardsForOrganisationRequest request, {$grpc.CallOptions? options}) { $grpc.ResponseFuture<$0.DeleteDashboardsForOrganisationResult> deleteDashboardsForOrganisation($0.DeleteDashboardsForOrganisationRequest request, {$grpc.CallOptions? options,}) {
return $createUnaryCall(_$deleteDashboardsForOrganisation, request, options: options); return $createUnaryCall(_$deleteDashboardsForOrganisation, request, options: options);
} }
$grpc.ResponseFuture<$6.DeleteDashboardsForProjectResult> deleteDashboardsForProject($6.DeleteDashboardsForProjectRequest request, {$grpc.CallOptions? options}) { $grpc.ResponseFuture<$0.DeleteDashboardsForProjectResult> deleteDashboardsForProject($0.DeleteDashboardsForProjectRequest request, {$grpc.CallOptions? options,}) {
return $createUnaryCall(_$deleteDashboardsForProject, request, options: options); return $createUnaryCall(_$deleteDashboardsForProject, request, options: options);
} }
$grpc.ResponseFuture<$6.UpdateDashboardResult> update($6.UpdateDashboardRequest request, {$grpc.CallOptions? options}) { $grpc.ResponseFuture<$0.UpdateDashboardResult> update($0.UpdateDashboardRequest request, {$grpc.CallOptions? options,}) {
return $createUnaryCall(_$update, request, options: options); return $createUnaryCall(_$update, request, options: options);
} }
$grpc.ResponseFuture<$6.GetDashboardResult> get($6.GetDashboardRequest request, {$grpc.CallOptions? options}) { $grpc.ResponseFuture<$0.GetDashboardResult> get($0.GetDashboardRequest request, {$grpc.CallOptions? options,}) {
return $createUnaryCall(_$get, request, options: options); return $createUnaryCall(_$get, request, options: options);
} }
$grpc.ResponseFuture<$6.CopyDashboardResult> copy($6.CopyDashboardRequest request, {$grpc.CallOptions? options}) { $grpc.ResponseFuture<$0.CopyDashboardResult> copy($0.CopyDashboardRequest request, {$grpc.CallOptions? options,}) {
return $createUnaryCall(_$copy, request, options: options); return $createUnaryCall(_$copy, request, options: options);
} }
$grpc.ResponseFuture<$0.SetOwnerDashboardResult> setOwner($0.SetOwnerDashboardRequest request, {$grpc.CallOptions? options,}) {
return $createUnaryCall(_$setOwner, request, options: options);
}
$grpc.ResponseFuture<$0.CreateProjectDashboardResult> createProject($0.CreateProjectDashboardRequest request, {$grpc.CallOptions? options,}) {
return $createUnaryCall(_$createProject, request, options: options);
}
$grpc.ResponseFuture<$0.ListProjectDashboardResult> listProject($0.ListProjectDashboardRequest request, {$grpc.CallOptions? options,}) {
return $createUnaryCall(_$listProject, request, options: options);
}
$grpc.ResponseFuture<$0.DeleteProjectDashboardResult> deleteProject($0.DeleteProjectDashboardRequest request, {$grpc.CallOptions? options,}) {
return $createUnaryCall(_$deleteProject, request, options: options);
}
$grpc.ResponseFuture<$0.UpdateProjectDashboardResult> updateProject($0.UpdateProjectDashboardRequest request, {$grpc.CallOptions? options,}) {
return $createUnaryCall(_$updateProject, request, options: options);
}
$grpc.ResponseFuture<$0.GetProjectDashboardResult> getProject($0.GetProjectDashboardRequest request, {$grpc.CallOptions? options,}) {
return $createUnaryCall(_$getProject, request, options: options);
}
$grpc.ResponseFuture<$0.CopyProjectDashboardResult> copyProject($0.CopyProjectDashboardRequest request, {$grpc.CallOptions? options,}) {
return $createUnaryCall(_$copyProject, request, options: options);
}
// method descriptors
static final _$create = $grpc.ClientMethod<$0.CreateDashboardRequest, $0.CreateDashboardResult>(
'/vizapi.DashboardService/Create',
($0.CreateDashboardRequest value) => value.writeToBuffer(),
$0.CreateDashboardResult.fromBuffer);
static final _$list = $grpc.ClientMethod<$0.ListDashboardRequest, $0.ListDashboardResult>(
'/vizapi.DashboardService/List',
($0.ListDashboardRequest value) => value.writeToBuffer(),
$0.ListDashboardResult.fromBuffer);
static final _$delete = $grpc.ClientMethod<$0.DeleteDashboardRequest, $0.DeleteDashboardResult>(
'/vizapi.DashboardService/Delete',
($0.DeleteDashboardRequest value) => value.writeToBuffer(),
$0.DeleteDashboardResult.fromBuffer);
static final _$deleteDashboardsForOrganisation = $grpc.ClientMethod<$0.DeleteDashboardsForOrganisationRequest, $0.DeleteDashboardsForOrganisationResult>(
'/vizapi.DashboardService/DeleteDashboardsForOrganisation',
($0.DeleteDashboardsForOrganisationRequest value) => value.writeToBuffer(),
$0.DeleteDashboardsForOrganisationResult.fromBuffer);
static final _$deleteDashboardsForProject = $grpc.ClientMethod<$0.DeleteDashboardsForProjectRequest, $0.DeleteDashboardsForProjectResult>(
'/vizapi.DashboardService/DeleteDashboardsForProject',
($0.DeleteDashboardsForProjectRequest value) => value.writeToBuffer(),
$0.DeleteDashboardsForProjectResult.fromBuffer);
static final _$update = $grpc.ClientMethod<$0.UpdateDashboardRequest, $0.UpdateDashboardResult>(
'/vizapi.DashboardService/Update',
($0.UpdateDashboardRequest value) => value.writeToBuffer(),
$0.UpdateDashboardResult.fromBuffer);
static final _$get = $grpc.ClientMethod<$0.GetDashboardRequest, $0.GetDashboardResult>(
'/vizapi.DashboardService/Get',
($0.GetDashboardRequest value) => value.writeToBuffer(),
$0.GetDashboardResult.fromBuffer);
static final _$copy = $grpc.ClientMethod<$0.CopyDashboardRequest, $0.CopyDashboardResult>(
'/vizapi.DashboardService/Copy',
($0.CopyDashboardRequest value) => value.writeToBuffer(),
$0.CopyDashboardResult.fromBuffer);
static final _$setOwner = $grpc.ClientMethod<$0.SetOwnerDashboardRequest, $0.SetOwnerDashboardResult>(
'/vizapi.DashboardService/SetOwner',
($0.SetOwnerDashboardRequest value) => value.writeToBuffer(),
$0.SetOwnerDashboardResult.fromBuffer);
static final _$createProject = $grpc.ClientMethod<$0.CreateProjectDashboardRequest, $0.CreateProjectDashboardResult>(
'/vizapi.DashboardService/CreateProject',
($0.CreateProjectDashboardRequest value) => value.writeToBuffer(),
$0.CreateProjectDashboardResult.fromBuffer);
static final _$listProject = $grpc.ClientMethod<$0.ListProjectDashboardRequest, $0.ListProjectDashboardResult>(
'/vizapi.DashboardService/ListProject',
($0.ListProjectDashboardRequest value) => value.writeToBuffer(),
$0.ListProjectDashboardResult.fromBuffer);
static final _$deleteProject = $grpc.ClientMethod<$0.DeleteProjectDashboardRequest, $0.DeleteProjectDashboardResult>(
'/vizapi.DashboardService/DeleteProject',
($0.DeleteProjectDashboardRequest value) => value.writeToBuffer(),
$0.DeleteProjectDashboardResult.fromBuffer);
static final _$updateProject = $grpc.ClientMethod<$0.UpdateProjectDashboardRequest, $0.UpdateProjectDashboardResult>(
'/vizapi.DashboardService/UpdateProject',
($0.UpdateProjectDashboardRequest value) => value.writeToBuffer(),
$0.UpdateProjectDashboardResult.fromBuffer);
static final _$getProject = $grpc.ClientMethod<$0.GetProjectDashboardRequest, $0.GetProjectDashboardResult>(
'/vizapi.DashboardService/GetProject',
($0.GetProjectDashboardRequest value) => value.writeToBuffer(),
$0.GetProjectDashboardResult.fromBuffer);
static final _$copyProject = $grpc.ClientMethod<$0.CopyProjectDashboardRequest, $0.CopyProjectDashboardResult>(
'/vizapi.DashboardService/CopyProject',
($0.CopyProjectDashboardRequest value) => value.writeToBuffer(),
$0.CopyProjectDashboardResult.fromBuffer);
} }
@$pb.GrpcServiceName('vizapi.DashboardService') @$pb.GrpcServiceName('vizapi.DashboardService')
@@ -98,102 +161,201 @@ abstract class DashboardServiceBase extends $grpc.Service {
$core.String get $name => 'vizapi.DashboardService'; $core.String get $name => 'vizapi.DashboardService';
DashboardServiceBase() { DashboardServiceBase() {
$addMethod($grpc.ServiceMethod<$6.CreateDashboardRequest, $6.CreateDashboardResult>( $addMethod($grpc.ServiceMethod<$0.CreateDashboardRequest, $0.CreateDashboardResult>(
'Create', 'Create',
create_Pre, create_Pre,
false, false,
false, false,
($core.List<$core.int> value) => $6.CreateDashboardRequest.fromBuffer(value), ($core.List<$core.int> value) => $0.CreateDashboardRequest.fromBuffer(value),
($6.CreateDashboardResult value) => value.writeToBuffer())); ($0.CreateDashboardResult value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$6.ListDashboardRequest, $6.ListDashboardResult>( $addMethod($grpc.ServiceMethod<$0.ListDashboardRequest, $0.ListDashboardResult>(
'List', 'List',
list_Pre, list_Pre,
false, false,
false, false,
($core.List<$core.int> value) => $6.ListDashboardRequest.fromBuffer(value), ($core.List<$core.int> value) => $0.ListDashboardRequest.fromBuffer(value),
($6.ListDashboardResult value) => value.writeToBuffer())); ($0.ListDashboardResult value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$6.DeleteDashboardRequest, $6.DeleteDashboardResult>( $addMethod($grpc.ServiceMethod<$0.DeleteDashboardRequest, $0.DeleteDashboardResult>(
'Delete', 'Delete',
delete_Pre, delete_Pre,
false, false,
false, false,
($core.List<$core.int> value) => $6.DeleteDashboardRequest.fromBuffer(value), ($core.List<$core.int> value) => $0.DeleteDashboardRequest.fromBuffer(value),
($6.DeleteDashboardResult value) => value.writeToBuffer())); ($0.DeleteDashboardResult value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$6.DeleteDashboardsForOrganisationRequest, $6.DeleteDashboardsForOrganisationResult>( $addMethod($grpc.ServiceMethod<$0.DeleteDashboardsForOrganisationRequest, $0.DeleteDashboardsForOrganisationResult>(
'DeleteDashboardsForOrganisation', 'DeleteDashboardsForOrganisation',
deleteDashboardsForOrganisation_Pre, deleteDashboardsForOrganisation_Pre,
false, false,
false, false,
($core.List<$core.int> value) => $6.DeleteDashboardsForOrganisationRequest.fromBuffer(value), ($core.List<$core.int> value) => $0.DeleteDashboardsForOrganisationRequest.fromBuffer(value),
($6.DeleteDashboardsForOrganisationResult value) => value.writeToBuffer())); ($0.DeleteDashboardsForOrganisationResult value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$6.DeleteDashboardsForProjectRequest, $6.DeleteDashboardsForProjectResult>( $addMethod($grpc.ServiceMethod<$0.DeleteDashboardsForProjectRequest, $0.DeleteDashboardsForProjectResult>(
'DeleteDashboardsForProject', 'DeleteDashboardsForProject',
deleteDashboardsForProject_Pre, deleteDashboardsForProject_Pre,
false, false,
false, false,
($core.List<$core.int> value) => $6.DeleteDashboardsForProjectRequest.fromBuffer(value), ($core.List<$core.int> value) => $0.DeleteDashboardsForProjectRequest.fromBuffer(value),
($6.DeleteDashboardsForProjectResult value) => value.writeToBuffer())); ($0.DeleteDashboardsForProjectResult value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$6.UpdateDashboardRequest, $6.UpdateDashboardResult>( $addMethod($grpc.ServiceMethod<$0.UpdateDashboardRequest, $0.UpdateDashboardResult>(
'Update', 'Update',
update_Pre, update_Pre,
false, false,
false, false,
($core.List<$core.int> value) => $6.UpdateDashboardRequest.fromBuffer(value), ($core.List<$core.int> value) => $0.UpdateDashboardRequest.fromBuffer(value),
($6.UpdateDashboardResult value) => value.writeToBuffer())); ($0.UpdateDashboardResult value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$6.GetDashboardRequest, $6.GetDashboardResult>( $addMethod($grpc.ServiceMethod<$0.GetDashboardRequest, $0.GetDashboardResult>(
'Get', 'Get',
get_Pre, get_Pre,
false, false,
false, false,
($core.List<$core.int> value) => $6.GetDashboardRequest.fromBuffer(value), ($core.List<$core.int> value) => $0.GetDashboardRequest.fromBuffer(value),
($6.GetDashboardResult value) => value.writeToBuffer())); ($0.GetDashboardResult value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$6.CopyDashboardRequest, $6.CopyDashboardResult>( $addMethod($grpc.ServiceMethod<$0.CopyDashboardRequest, $0.CopyDashboardResult>(
'Copy', 'Copy',
copy_Pre, copy_Pre,
false, false,
false, false,
($core.List<$core.int> value) => $6.CopyDashboardRequest.fromBuffer(value), ($core.List<$core.int> value) => $0.CopyDashboardRequest.fromBuffer(value),
($6.CopyDashboardResult value) => value.writeToBuffer())); ($0.CopyDashboardResult value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.SetOwnerDashboardRequest, $0.SetOwnerDashboardResult>(
'SetOwner',
setOwner_Pre,
false,
false,
($core.List<$core.int> value) => $0.SetOwnerDashboardRequest.fromBuffer(value),
($0.SetOwnerDashboardResult value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.CreateProjectDashboardRequest, $0.CreateProjectDashboardResult>(
'CreateProject',
createProject_Pre,
false,
false,
($core.List<$core.int> value) => $0.CreateProjectDashboardRequest.fromBuffer(value),
($0.CreateProjectDashboardResult value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.ListProjectDashboardRequest, $0.ListProjectDashboardResult>(
'ListProject',
listProject_Pre,
false,
false,
($core.List<$core.int> value) => $0.ListProjectDashboardRequest.fromBuffer(value),
($0.ListProjectDashboardResult value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.DeleteProjectDashboardRequest, $0.DeleteProjectDashboardResult>(
'DeleteProject',
deleteProject_Pre,
false,
false,
($core.List<$core.int> value) => $0.DeleteProjectDashboardRequest.fromBuffer(value),
($0.DeleteProjectDashboardResult value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.UpdateProjectDashboardRequest, $0.UpdateProjectDashboardResult>(
'UpdateProject',
updateProject_Pre,
false,
false,
($core.List<$core.int> value) => $0.UpdateProjectDashboardRequest.fromBuffer(value),
($0.UpdateProjectDashboardResult value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.GetProjectDashboardRequest, $0.GetProjectDashboardResult>(
'GetProject',
getProject_Pre,
false,
false,
($core.List<$core.int> value) => $0.GetProjectDashboardRequest.fromBuffer(value),
($0.GetProjectDashboardResult value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.CopyProjectDashboardRequest, $0.CopyProjectDashboardResult>(
'CopyProject',
copyProject_Pre,
false,
false,
($core.List<$core.int> value) => $0.CopyProjectDashboardRequest.fromBuffer(value),
($0.CopyProjectDashboardResult value) => value.writeToBuffer()));
} }
$async.Future<$6.CreateDashboardResult> create_Pre($grpc.ServiceCall $call, $async.Future<$6.CreateDashboardRequest> $request) async { $async.Future<$0.CreateDashboardResult> create_Pre($grpc.ServiceCall $call, $async.Future<$0.CreateDashboardRequest> $request) async {
return create($call, await $request); return create($call, await $request);
} }
$async.Future<$6.ListDashboardResult> list_Pre($grpc.ServiceCall $call, $async.Future<$6.ListDashboardRequest> $request) async { $async.Future<$0.CreateDashboardResult> create($grpc.ServiceCall call, $0.CreateDashboardRequest request);
$async.Future<$0.ListDashboardResult> list_Pre($grpc.ServiceCall $call, $async.Future<$0.ListDashboardRequest> $request) async {
return list($call, await $request); return list($call, await $request);
} }
$async.Future<$6.DeleteDashboardResult> delete_Pre($grpc.ServiceCall $call, $async.Future<$6.DeleteDashboardRequest> $request) async { $async.Future<$0.ListDashboardResult> list($grpc.ServiceCall call, $0.ListDashboardRequest request);
$async.Future<$0.DeleteDashboardResult> delete_Pre($grpc.ServiceCall $call, $async.Future<$0.DeleteDashboardRequest> $request) async {
return delete($call, await $request); return delete($call, await $request);
} }
$async.Future<$6.DeleteDashboardsForOrganisationResult> deleteDashboardsForOrganisation_Pre($grpc.ServiceCall $call, $async.Future<$6.DeleteDashboardsForOrganisationRequest> $request) async { $async.Future<$0.DeleteDashboardResult> delete($grpc.ServiceCall call, $0.DeleteDashboardRequest request);
$async.Future<$0.DeleteDashboardsForOrganisationResult> deleteDashboardsForOrganisation_Pre($grpc.ServiceCall $call, $async.Future<$0.DeleteDashboardsForOrganisationRequest> $request) async {
return deleteDashboardsForOrganisation($call, await $request); return deleteDashboardsForOrganisation($call, await $request);
} }
$async.Future<$6.DeleteDashboardsForProjectResult> deleteDashboardsForProject_Pre($grpc.ServiceCall $call, $async.Future<$6.DeleteDashboardsForProjectRequest> $request) async { $async.Future<$0.DeleteDashboardsForOrganisationResult> deleteDashboardsForOrganisation($grpc.ServiceCall call, $0.DeleteDashboardsForOrganisationRequest request);
$async.Future<$0.DeleteDashboardsForProjectResult> deleteDashboardsForProject_Pre($grpc.ServiceCall $call, $async.Future<$0.DeleteDashboardsForProjectRequest> $request) async {
return deleteDashboardsForProject($call, await $request); return deleteDashboardsForProject($call, await $request);
} }
$async.Future<$6.UpdateDashboardResult> update_Pre($grpc.ServiceCall $call, $async.Future<$6.UpdateDashboardRequest> $request) async { $async.Future<$0.DeleteDashboardsForProjectResult> deleteDashboardsForProject($grpc.ServiceCall call, $0.DeleteDashboardsForProjectRequest request);
$async.Future<$0.UpdateDashboardResult> update_Pre($grpc.ServiceCall $call, $async.Future<$0.UpdateDashboardRequest> $request) async {
return update($call, await $request); return update($call, await $request);
} }
$async.Future<$6.GetDashboardResult> get_Pre($grpc.ServiceCall $call, $async.Future<$6.GetDashboardRequest> $request) async { $async.Future<$0.UpdateDashboardResult> update($grpc.ServiceCall call, $0.UpdateDashboardRequest request);
$async.Future<$0.GetDashboardResult> get_Pre($grpc.ServiceCall $call, $async.Future<$0.GetDashboardRequest> $request) async {
return get($call, await $request); return get($call, await $request);
} }
$async.Future<$6.CopyDashboardResult> copy_Pre($grpc.ServiceCall $call, $async.Future<$6.CopyDashboardRequest> $request) async { $async.Future<$0.GetDashboardResult> get($grpc.ServiceCall call, $0.GetDashboardRequest request);
$async.Future<$0.CopyDashboardResult> copy_Pre($grpc.ServiceCall $call, $async.Future<$0.CopyDashboardRequest> $request) async {
return copy($call, await $request); return copy($call, await $request);
} }
$async.Future<$6.CreateDashboardResult> create($grpc.ServiceCall call, $6.CreateDashboardRequest request); $async.Future<$0.CopyDashboardResult> copy($grpc.ServiceCall call, $0.CopyDashboardRequest request);
$async.Future<$6.ListDashboardResult> list($grpc.ServiceCall call, $6.ListDashboardRequest request);
$async.Future<$6.DeleteDashboardResult> delete($grpc.ServiceCall call, $6.DeleteDashboardRequest request); $async.Future<$0.SetOwnerDashboardResult> setOwner_Pre($grpc.ServiceCall $call, $async.Future<$0.SetOwnerDashboardRequest> $request) async {
$async.Future<$6.DeleteDashboardsForOrganisationResult> deleteDashboardsForOrganisation($grpc.ServiceCall call, $6.DeleteDashboardsForOrganisationRequest request); return setOwner($call, await $request);
$async.Future<$6.DeleteDashboardsForProjectResult> deleteDashboardsForProject($grpc.ServiceCall call, $6.DeleteDashboardsForProjectRequest request); }
$async.Future<$6.UpdateDashboardResult> update($grpc.ServiceCall call, $6.UpdateDashboardRequest request);
$async.Future<$6.GetDashboardResult> get($grpc.ServiceCall call, $6.GetDashboardRequest request); $async.Future<$0.SetOwnerDashboardResult> setOwner($grpc.ServiceCall call, $0.SetOwnerDashboardRequest request);
$async.Future<$6.CopyDashboardResult> copy($grpc.ServiceCall call, $6.CopyDashboardRequest request);
$async.Future<$0.CreateProjectDashboardResult> createProject_Pre($grpc.ServiceCall $call, $async.Future<$0.CreateProjectDashboardRequest> $request) async {
return createProject($call, await $request);
}
$async.Future<$0.CreateProjectDashboardResult> createProject($grpc.ServiceCall call, $0.CreateProjectDashboardRequest request);
$async.Future<$0.ListProjectDashboardResult> listProject_Pre($grpc.ServiceCall $call, $async.Future<$0.ListProjectDashboardRequest> $request) async {
return listProject($call, await $request);
}
$async.Future<$0.ListProjectDashboardResult> listProject($grpc.ServiceCall call, $0.ListProjectDashboardRequest request);
$async.Future<$0.DeleteProjectDashboardResult> deleteProject_Pre($grpc.ServiceCall $call, $async.Future<$0.DeleteProjectDashboardRequest> $request) async {
return deleteProject($call, await $request);
}
$async.Future<$0.DeleteProjectDashboardResult> deleteProject($grpc.ServiceCall call, $0.DeleteProjectDashboardRequest request);
$async.Future<$0.UpdateProjectDashboardResult> updateProject_Pre($grpc.ServiceCall $call, $async.Future<$0.UpdateProjectDashboardRequest> $request) async {
return updateProject($call, await $request);
}
$async.Future<$0.UpdateProjectDashboardResult> updateProject($grpc.ServiceCall call, $0.UpdateProjectDashboardRequest request);
$async.Future<$0.GetProjectDashboardResult> getProject_Pre($grpc.ServiceCall $call, $async.Future<$0.GetProjectDashboardRequest> $request) async {
return getProject($call, await $request);
}
$async.Future<$0.GetProjectDashboardResult> getProject($grpc.ServiceCall call, $0.GetProjectDashboardRequest request);
$async.Future<$0.CopyProjectDashboardResult> copyProject_Pre($grpc.ServiceCall $call, $async.Future<$0.CopyProjectDashboardRequest> $request) async {
return copyProject($call, await $request);
}
$async.Future<$0.CopyProjectDashboardResult> copyProject($grpc.ServiceCall call, $0.CopyProjectDashboardRequest request);
} }

View File

@@ -1,13 +1,14 @@
// This is a generated file - do not edit.
// //
// Generated code. Do not modify. // Generated from viz-dashboard.proto.
// source: viz-dashboard.proto
//
// @dart = 3.3 // @dart = 3.3
// ignore_for_file: annotate_overrides, camel_case_types, comment_references // ignore_for_file: annotate_overrides, camel_case_types, comment_references
// ignore_for_file: constant_identifier_names, library_prefixes // ignore_for_file: constant_identifier_names
// ignore_for_file: non_constant_identifier_names, prefer_final_fields // ignore_for_file: curly_braces_in_flow_control_structures
// ignore_for_file: unnecessary_import, unnecessary_this, unused_import // ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
// ignore_for_file: non_constant_identifier_names, unused_import
import 'dart:convert' as $convert; import 'dart:convert' as $convert;
import 'dart:core' as $core; import 'dart:core' as $core;
@@ -59,8 +60,8 @@ const ListDashboardRequest$json = {
/// Descriptor for `ListDashboardRequest`. Decode as a `google.protobuf.DescriptorProto`. /// Descriptor for `ListDashboardRequest`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List listDashboardRequestDescriptor = $convert.base64Decode( final $typed_data.Uint8List listDashboardRequestDescriptor = $convert.base64Decode(
'ChRMaXN0RGFzaGJvYXJkUmVxdWVzdBI7CgZIZWFkZXIYASABKAsyGS5hcGkuUmVxdWVzdFByb2' 'ChRMaXN0RGFzaGJvYXJkUmVxdWVzdBI8CgZIZWFkZXIYASABKAsyGS5hcGkuUmVxdWVzdFByb2'
'plY3RIZWFkZXJCCPpCBYoBAhABUgZIZWFkZXI6DpJBCwoJ0gEGSGVhZGVy'); 'plY3RIZWFkZXJCCbqBAQWKAQIQAVIGSGVhZGVyOg6SQQsKCdIBBkhlYWRlcg==');
@$core.Deprecated('Use listDashboardResultDescriptor instead') @$core.Deprecated('Use listDashboardResultDescriptor instead')
const ListDashboardResult$json = { const ListDashboardResult$json = {
@@ -92,13 +93,13 @@ const CreateDashboardRequest$json = {
/// Descriptor for `CreateDashboardRequest`. Decode as a `google.protobuf.DescriptorProto`. /// Descriptor for `CreateDashboardRequest`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List createDashboardRequestDescriptor = $convert.base64Decode( final $typed_data.Uint8List createDashboardRequestDescriptor = $convert.base64Decode(
'ChZDcmVhdGVEYXNoYm9hcmRSZXF1ZXN0EjsKBkhlYWRlchgBIAEoCzIZLmFwaS5SZXF1ZXN0UH' 'ChZDcmVhdGVEYXNoYm9hcmRSZXF1ZXN0EjwKBkhlYWRlchgBIAEoCzIZLmFwaS5SZXF1ZXN0UH'
'JvamVjdEhlYWRlckII+kIFigECEAFSBkhlYWRlchI1CgROYW1lGAIgASgJQiGSQRcyFU5hbWUg' 'JvamVjdEhlYWRlckIJuoEBBYoBAhABUgZIZWFkZXISNgoETmFtZRgCIAEoCUIikkEXMhVOYW1l'
'b2YgdGhlIERhc2hib2FyZPpCBHICEAFSBE5hbWUSNwoHY29udGVudBgDIAEoCUIdkkEaMhhBbG' 'IG9mIHRoZSBEYXNoYm9hcmS6gQEEcgIQAVIETmFtZRI3Cgdjb250ZW50GAMgASgJQh2SQRoyGE'
'wgd2lkZ2V0cyBpbiBEYXNoYm9hcmRSB2NvbnRlbnQSPgoJSXNQcml2YXRlGAQgASgIQiCSQR0y' 'FsbCB3aWRnZXRzIGluIERhc2hib2FyZFIHY29udGVudBI+CglJc1ByaXZhdGUYBCABKAhCIJJB'
'G1Zpc2liaWxpdHkgb2YgdGhlIERhc2hib2FyZFIJSXNQcml2YXRlEiAKC0F1dG9SZWZyZXNoGA' 'HTIbVmlzaWJpbGl0eSBvZiB0aGUgRGFzaGJvYXJkUglJc1ByaXZhdGUSIAoLQXV0b1JlZnJlc2'
'ggASgFUgtBdXRvUmVmcmVzaDo6kkE3CjUyI0luZm9ybWF0aW9uIHRoYXQgbmVlZHMgdG8gYmUg' 'gYCCABKAVSC0F1dG9SZWZyZXNoOjqSQTcKNTIjSW5mb3JtYXRpb24gdGhhdCBuZWVkcyB0byBi'
'c3RvcmVk0gEGSGVhZGVy0gEETmFtZQ=='); 'ZSBzdG9yZWTSAQZIZWFkZXLSAQROYW1l');
@$core.Deprecated('Use createDashboardResultDescriptor instead') @$core.Deprecated('Use createDashboardResultDescriptor instead')
const CreateDashboardResult$json = { const CreateDashboardResult$json = {
@@ -126,11 +127,11 @@ const DeleteDashboardRequest$json = {
/// Descriptor for `DeleteDashboardRequest`. Decode as a `google.protobuf.DescriptorProto`. /// Descriptor for `DeleteDashboardRequest`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List deleteDashboardRequestDescriptor = $convert.base64Decode( final $typed_data.Uint8List deleteDashboardRequestDescriptor = $convert.base64Decode(
'ChZEZWxldGVEYXNoYm9hcmRSZXF1ZXN0EjsKBkhlYWRlchgBIAEoCzIZLmFwaS5SZXF1ZXN0UH' 'ChZEZWxldGVEYXNoYm9hcmRSZXF1ZXN0EjwKBkhlYWRlchgBIAEoCzIZLmFwaS5SZXF1ZXN0UH'
'JvamVjdEhlYWRlckII+kIFigECEAFSBkhlYWRlchJJCgtEYXNoYm9hcmRJRBgCIAEoCUInkkEd' 'JvamVjdEhlYWRlckIJuoEBBYoBAhABUgZIZWFkZXISSgoLRGFzaGJvYXJkSUQYAiABKAlCKJJB'
'MhtJZGVudGlmaWVyIG9mIHRoZSBEYXNoYm9hcmT6QgRyAhABUgtEYXNoYm9hcmRJRDpAkkE9Cj' 'HTIbSWRlbnRpZmllciBvZiB0aGUgRGFzaGJvYXJkuoEBBHICEAFSC0Rhc2hib2FyZElEOkCSQT'
'syIklEcyBvZiB0aGUgRGFzaGJvYXJkIHRvIGJlIGRlbGV0ZWTSAQZIZWFkZXLSAQtEYXNoYm9h' '0KOzIiSURzIG9mIHRoZSBEYXNoYm9hcmQgdG8gYmUgZGVsZXRlZNIBBkhlYWRlctIBC0Rhc2hi'
'cmRJRA=='); 'b2FyZElE');
@$core.Deprecated('Use deleteDashboardResultDescriptor instead') @$core.Deprecated('Use deleteDashboardResultDescriptor instead')
const DeleteDashboardResult$json = { const DeleteDashboardResult$json = {
@@ -152,10 +153,10 @@ const DeleteDashboardsForOrganisationRequest$json = {
/// Descriptor for `DeleteDashboardsForOrganisationRequest`. Decode as a `google.protobuf.DescriptorProto`. /// Descriptor for `DeleteDashboardsForOrganisationRequest`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List deleteDashboardsForOrganisationRequestDescriptor = $convert.base64Decode( final $typed_data.Uint8List deleteDashboardsForOrganisationRequestDescriptor = $convert.base64Decode(
'CiZEZWxldGVEYXNoYm9hcmRzRm9yT3JnYW5pc2F0aW9uUmVxdWVzdBJSCg5PcmdhbmlzYXRpb2' 'CiZEZWxldGVEYXNoYm9hcmRzRm9yT3JnYW5pc2F0aW9uUmVxdWVzdBJTCg5PcmdhbmlzYXRpb2'
'5JRBgCIAEoCUIqkkEgMh5JZGVudGlmaWVyIG9mIHRoZSBPcmdhbml6YXRpb276QgRyAhABUg5P' '5JRBgCIAEoCUIrkkEgMh5JZGVudGlmaWVyIG9mIHRoZSBPcmdhbml6YXRpb266gQEEcgIQAVIO'
'cmdhbmlzYXRpb25JRDpNkkFKCkgyNU9yZ2FuaXphdGlvbiBpZGVudGlmaWVyIHRvIGRlbGV0ZS' 'T3JnYW5pc2F0aW9uSUQ6TZJBSgpIMjVPcmdhbml6YXRpb24gaWRlbnRpZmllciB0byBkZWxldG'
'B0aGUgZGFzaGJvYXJkcyBmcm9t0gEOT3JnYW5pc2F0aW9uSUQ='); 'UgdGhlIGRhc2hib2FyZHMgZnJvbdIBDk9yZ2FuaXNhdGlvbklE');
@$core.Deprecated('Use deleteDashboardsForOrganisationResultDescriptor instead') @$core.Deprecated('Use deleteDashboardsForOrganisationResultDescriptor instead')
const DeleteDashboardsForOrganisationResult$json = { const DeleteDashboardsForOrganisationResult$json = {
@@ -177,10 +178,10 @@ const DeleteDashboardsForProjectRequest$json = {
/// Descriptor for `DeleteDashboardsForProjectRequest`. Decode as a `google.protobuf.DescriptorProto`. /// Descriptor for `DeleteDashboardsForProjectRequest`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List deleteDashboardsForProjectRequestDescriptor = $convert.base64Decode( final $typed_data.Uint8List deleteDashboardsForProjectRequestDescriptor = $convert.base64Decode(
'CiFEZWxldGVEYXNoYm9hcmRzRm9yUHJvamVjdFJlcXVlc3QSQwoJUHJvamVjdElEGAEgASgJQi' 'CiFEZWxldGVEYXNoYm9hcmRzRm9yUHJvamVjdFJlcXVlc3QSRAoJUHJvamVjdElEGAEgASgJQi'
'WSQRsyGUlkZW50aWZpZXIgb2YgdGhlIFByb2plY3T6QgRyAhABUglQcm9qZWN0SUQ6SJJBRQpD' 'aSQRsyGUlkZW50aWZpZXIgb2YgdGhlIFByb2plY3S6gQEEcgIQAVIJUHJvamVjdElEOkOSQUAK'
'MjVPcmdhbml6YXRpb24gaWRlbnRpZmllciB0byBkZWxldGUgdGhlIGRhc2hib2FyZHMgZnJvbd' 'PjIwUHJvamVjdCBpZGVudGlmaWVyIHRvIGRlbGV0ZSB0aGUgZGFzaGJvYXJkcyBmcm9t0gEJUH'
'IBCVByb2plY3RJRA=='); 'JvamVjdElE');
@$core.Deprecated('Use deleteDashboardsForProjectResultDescriptor instead') @$core.Deprecated('Use deleteDashboardsForProjectResultDescriptor instead')
const DeleteDashboardsForProjectResult$json = { const DeleteDashboardsForProjectResult$json = {
@@ -207,16 +208,16 @@ const UpdateDashboardRequest$json = {
/// Descriptor for `UpdateDashboardRequest`. Decode as a `google.protobuf.DescriptorProto`. /// Descriptor for `UpdateDashboardRequest`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List updateDashboardRequestDescriptor = $convert.base64Decode( final $typed_data.Uint8List updateDashboardRequestDescriptor = $convert.base64Decode(
'ChZVcGRhdGVEYXNoYm9hcmRSZXF1ZXN0EjsKBkhlYWRlchgBIAEoCzIZLmFwaS5SZXF1ZXN0UH' 'ChZVcGRhdGVEYXNoYm9hcmRSZXF1ZXN0EjwKBkhlYWRlchgBIAEoCzIZLmFwaS5SZXF1ZXN0UH'
'JvamVjdEhlYWRlckII+kIFigECEAFSBkhlYWRlchJJCgtEYXNoYm9hcmRJRBgCIAEoCUInkkEd' 'JvamVjdEhlYWRlckIJuoEBBYoBAhABUgZIZWFkZXISSgoLRGFzaGJvYXJkSUQYAiABKAlCKJJB'
'MhtJZGVudGlmaWVyIG9mIHRoZSBEYXNoYm9hcmT6QgRyAhABUgtEYXNoYm9hcmRJRBJBCgROYW' 'HTIbSWRlbnRpZmllciBvZiB0aGUgRGFzaGJvYXJkuoEBBHICEAFSC0Rhc2hib2FyZElEEkEKBE'
'1lGAMgASgLMhEuYXBpLlN0cmluZ09iamVjdEIakkEXMhVOYW1lIG9mIHRoZSBEYXNoYm9hcmRS' '5hbWUYAyABKAsyES5hcGkuU3RyaW5nT2JqZWN0QhqSQRcyFU5hbWUgb2YgdGhlIERhc2hib2Fy'
'BE5hbWUSTgoHQ29udGVudBgEIAEoCzIRLmFwaS5TdHJpbmdPYmplY3RCIZJBHjIcQWxsIHRoZS' 'ZFIETmFtZRJOCgdDb250ZW50GAQgASgLMhEuYXBpLlN0cmluZ09iamVjdEIhkkEeMhxBbGwgdG'
'B3aWRnZXRzIGluIERhc2hib2FyZFIHQ29udGVudBJPCglJc1ByaXZhdGUYBSABKAsyDy5hcGku' 'hlIHdpZGdldHMgaW4gRGFzaGJvYXJkUgdDb250ZW50Ek8KCUlzUHJpdmF0ZRgFIAEoCzIPLmFw'
'Qm9vbE9iamVjdEIgkkEdMhtWaXNpYmlsaXR5IG9mIHRoZSBEYXNoYm9hcmRSCUlzUHJpdmF0ZR' 'aS5Cb29sT2JqZWN0QiCSQR0yG1Zpc2liaWxpdHkgb2YgdGhlIERhc2hib2FyZFIJSXNQcml2YX'
'IyCgtBdXRvUmVmcmVzaBgJIAEoCzIQLmFwaS5JbnQzMk9iamVjdFILQXV0b1JlZnJlc2g6QpJB' 'RlEjIKC0F1dG9SZWZyZXNoGAkgASgLMhAuYXBpLkludDMyT2JqZWN0UgtBdXRvUmVmcmVzaDpC'
'Pwo9MiRJbmZvcm1hdGlvbiB0aGF0IG5lZWRzIHRvIGJlIHVwZGF0ZWTSAQZIZWFkZXLSAQtEYX' 'kkE/Cj0yJEluZm9ybWF0aW9uIHRoYXQgbmVlZHMgdG8gYmUgdXBkYXRlZNIBBkhlYWRlctIBC0'
'NoYm9hcmRJRA=='); 'Rhc2hib2FyZElE');
@$core.Deprecated('Use updateDashboardResultDescriptor instead') @$core.Deprecated('Use updateDashboardResultDescriptor instead')
const UpdateDashboardResult$json = { const UpdateDashboardResult$json = {
@@ -244,10 +245,10 @@ const GetDashboardRequest$json = {
/// Descriptor for `GetDashboardRequest`. Decode as a `google.protobuf.DescriptorProto`. /// Descriptor for `GetDashboardRequest`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List getDashboardRequestDescriptor = $convert.base64Decode( final $typed_data.Uint8List getDashboardRequestDescriptor = $convert.base64Decode(
'ChNHZXREYXNoYm9hcmRSZXF1ZXN0EjsKBkhlYWRlchgBIAEoCzIZLmFwaS5SZXF1ZXN0UHJvam' 'ChNHZXREYXNoYm9hcmRSZXF1ZXN0EjwKBkhlYWRlchgBIAEoCzIZLmFwaS5SZXF1ZXN0UHJvam'
'VjdEhlYWRlckII+kIFigECEAFSBkhlYWRlchJJCgtEYXNoYm9hcmRJRBgCIAEoCUInkkEdMhtJ' 'VjdEhlYWRlckIJuoEBBYoBAhABUgZIZWFkZXISSgoLRGFzaGJvYXJkSUQYAiABKAlCKJJBHTIb'
'ZGVudGlmaWVyIG9mIHRoZSBEYXNoYm9hcmT6QgRyAhABUgtEYXNoYm9hcmRJRDoykkEvCi0yFE' 'SWRlbnRpZmllciBvZiB0aGUgRGFzaGJvYXJkuoEBBHICEAFSC0Rhc2hib2FyZElEOjKSQS8KLT'
'lEcyBvZiB0aGUgRGFzaGJvYXJk0gEGSGVhZGVy0gELRGFzaGJvYXJkSUQ='); 'IUSURzIG9mIHRoZSBEYXNoYm9hcmTSAQZIZWFkZXLSAQtEYXNoYm9hcmRJRA==');
@$core.Deprecated('Use getDashboardResultDescriptor instead') @$core.Deprecated('Use getDashboardResultDescriptor instead')
const GetDashboardResult$json = { const GetDashboardResult$json = {
@@ -276,11 +277,11 @@ const CopyDashboardRequest$json = {
/// Descriptor for `CopyDashboardRequest`. Decode as a `google.protobuf.DescriptorProto`. /// Descriptor for `CopyDashboardRequest`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List copyDashboardRequestDescriptor = $convert.base64Decode( final $typed_data.Uint8List copyDashboardRequestDescriptor = $convert.base64Decode(
'ChRDb3B5RGFzaGJvYXJkUmVxdWVzdBI7CgZIZWFkZXIYASABKAsyGS5hcGkuUmVxdWVzdFByb2' 'ChRDb3B5RGFzaGJvYXJkUmVxdWVzdBI8CgZIZWFkZXIYASABKAsyGS5hcGkuUmVxdWVzdFByb2'
'plY3RIZWFkZXJCCPpCBYoBAhABUgZIZWFkZXISSQoLRGFzaGJvYXJkSUQYAiABKAlCJ5JBHTIb' 'plY3RIZWFkZXJCCbqBAQWKAQIQAVIGSGVhZGVyEkoKC0Rhc2hib2FyZElEGAIgASgJQiiSQR0y'
'SWRlbnRpZmllciBvZiB0aGUgRGFzaGJvYXJk+kIEcgIQAVILRGFzaGJvYXJkSUQSOQoETmFtZR' 'G0lkZW50aWZpZXIgb2YgdGhlIERhc2hib2FyZLqBAQRyAhABUgtEYXNoYm9hcmRJRBI6CgROYW'
'gDIAEoCUIlkkEbMhlOYW1lIG9mIHRoZSBuZXcgRGFzaGJvYXJk+kIEcgIQAVIETmFtZTojkkEg' '1lGAMgASgJQiaSQRsyGU5hbWUgb2YgdGhlIG5ldyBEYXNoYm9hcmS6gQEEcgIQAVIETmFtZToj'
'Ch7SAQZIZWFkZXLSAQtEYXNoYm9hcmRJRNIBBE5hbWU='); 'kkEgCh7SAQZIZWFkZXLSAQtEYXNoYm9hcmRJRNIBBE5hbWU=');
@$core.Deprecated('Use copyDashboardResultDescriptor instead') @$core.Deprecated('Use copyDashboardResultDescriptor instead')
const CopyDashboardResult$json = { const CopyDashboardResult$json = {
@@ -296,3 +297,237 @@ final $typed_data.Uint8List copyDashboardResultDescriptor = $convert.base64Decod
'ChNDb3B5RGFzaGJvYXJkUmVzdWx0EikKBlJlc3VsdBgBIAEoCzIRLnZpemFwaS5EYXNoYm9hcm' 'ChNDb3B5RGFzaGJvYXJkUmVzdWx0EikKBlJlc3VsdBgBIAEoCzIRLnZpemFwaS5EYXNoYm9hcm'
'RSBlJlc3VsdDobkkEYChYyFE5ldyBjb3BpZWQgZGFzaGJvYXJk'); 'RSBlJlc3VsdDobkkEYChYyFE5ldyBjb3BpZWQgZGFzaGJvYXJk');
@$core.Deprecated('Use listProjectDashboardRequestDescriptor instead')
const ListProjectDashboardRequest$json = {
'1': 'ListProjectDashboardRequest',
'2': [
{'1': 'Header', '3': 1, '4': 1, '5': 11, '6': '.api.RequestProjectHeader', '8': {}, '10': 'Header'},
],
'7': {},
};
/// Descriptor for `ListProjectDashboardRequest`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List listProjectDashboardRequestDescriptor = $convert.base64Decode(
'ChtMaXN0UHJvamVjdERhc2hib2FyZFJlcXVlc3QSPAoGSGVhZGVyGAEgASgLMhkuYXBpLlJlcX'
'Vlc3RQcm9qZWN0SGVhZGVyQgm6gQEFigECEAFSBkhlYWRlcjoOkkELCgnSAQZIZWFkZXI=');
@$core.Deprecated('Use listProjectDashboardResultDescriptor instead')
const ListProjectDashboardResult$json = {
'1': 'ListProjectDashboardResult',
'2': [
{'1': 'Results', '3': 1, '4': 3, '5': 11, '6': '.vizapi.Dashboard', '8': {}, '10': 'Results'},
],
'7': {},
};
/// Descriptor for `ListProjectDashboardResult`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List listProjectDashboardResultDescriptor = $convert.base64Decode(
'ChpMaXN0UHJvamVjdERhc2hib2FyZFJlc3VsdBJQCgdSZXN1bHRzGAEgAygLMhEudml6YXBpLk'
'Rhc2hib2FyZEIjkkEgMh5BbGwgaW5mb3JtYXRpb24gaW4gYSBEYXNoYm9hcmRSB1Jlc3VsdHM6'
'GZJBFgoUMhJMaXN0IG9mIERhc2hib2FyZHM=');
@$core.Deprecated('Use createProjectDashboardRequestDescriptor instead')
const CreateProjectDashboardRequest$json = {
'1': 'CreateProjectDashboardRequest',
'2': [
{'1': 'Header', '3': 1, '4': 1, '5': 11, '6': '.api.RequestProjectHeader', '8': {}, '10': 'Header'},
{'1': 'Name', '3': 2, '4': 1, '5': 9, '8': {}, '10': 'Name'},
{'1': 'content', '3': 3, '4': 1, '5': 9, '8': {}, '10': 'content'},
{'1': 'IsPrivate', '3': 4, '4': 1, '5': 8, '8': {}, '10': 'IsPrivate'},
{'1': 'AutoRefresh', '3': 8, '4': 1, '5': 5, '10': 'AutoRefresh'},
],
'7': {},
};
/// Descriptor for `CreateProjectDashboardRequest`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List createProjectDashboardRequestDescriptor = $convert.base64Decode(
'Ch1DcmVhdGVQcm9qZWN0RGFzaGJvYXJkUmVxdWVzdBI8CgZIZWFkZXIYASABKAsyGS5hcGkuUm'
'VxdWVzdFByb2plY3RIZWFkZXJCCbqBAQWKAQIQAVIGSGVhZGVyEjYKBE5hbWUYAiABKAlCIpJB'
'FzIVTmFtZSBvZiB0aGUgRGFzaGJvYXJkuoEBBHICEAFSBE5hbWUSNwoHY29udGVudBgDIAEoCU'
'IdkkEaMhhBbGwgd2lkZ2V0cyBpbiBEYXNoYm9hcmRSB2NvbnRlbnQSPgoJSXNQcml2YXRlGAQg'
'ASgIQiCSQR0yG1Zpc2liaWxpdHkgb2YgdGhlIERhc2hib2FyZFIJSXNQcml2YXRlEiAKC0F1dG'
'9SZWZyZXNoGAggASgFUgtBdXRvUmVmcmVzaDo6kkE3CjUyI0luZm9ybWF0aW9uIHRoYXQgbmVl'
'ZHMgdG8gYmUgc3RvcmVk0gEGSGVhZGVy0gEETmFtZQ==');
@$core.Deprecated('Use createProjectDashboardResultDescriptor instead')
const CreateProjectDashboardResult$json = {
'1': 'CreateProjectDashboardResult',
'2': [
{'1': 'Result', '3': 1, '4': 1, '5': 11, '6': '.vizapi.Dashboard', '10': 'Result'},
],
'7': {},
};
/// Descriptor for `CreateProjectDashboardResult`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List createProjectDashboardResultDescriptor = $convert.base64Decode(
'ChxDcmVhdGVQcm9qZWN0RGFzaGJvYXJkUmVzdWx0EikKBlJlc3VsdBgBIAEoCzIRLnZpemFwaS'
'5EYXNoYm9hcmRSBlJlc3VsdDoYkkEVChMyEUNyZWF0ZWQgRGFzaGJvYXJk');
@$core.Deprecated('Use deleteProjectDashboardRequestDescriptor instead')
const DeleteProjectDashboardRequest$json = {
'1': 'DeleteProjectDashboardRequest',
'2': [
{'1': 'Header', '3': 1, '4': 1, '5': 11, '6': '.api.RequestProjectHeader', '8': {}, '10': 'Header'},
{'1': 'DashboardID', '3': 2, '4': 1, '5': 9, '8': {}, '10': 'DashboardID'},
],
'7': {},
};
/// Descriptor for `DeleteProjectDashboardRequest`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List deleteProjectDashboardRequestDescriptor = $convert.base64Decode(
'Ch1EZWxldGVQcm9qZWN0RGFzaGJvYXJkUmVxdWVzdBI8CgZIZWFkZXIYASABKAsyGS5hcGkuUm'
'VxdWVzdFByb2plY3RIZWFkZXJCCbqBAQWKAQIQAVIGSGVhZGVyEkoKC0Rhc2hib2FyZElEGAIg'
'ASgJQiiSQR0yG0lkZW50aWZpZXIgb2YgdGhlIERhc2hib2FyZLqBAQRyAhABUgtEYXNoYm9hcm'
'RJRDpAkkE9CjsyIklEcyBvZiB0aGUgRGFzaGJvYXJkIHRvIGJlIGRlbGV0ZWTSAQZIZWFkZXLS'
'AQtEYXNoYm9hcmRJRA==');
@$core.Deprecated('Use deleteProjectDashboardResultDescriptor instead')
const DeleteProjectDashboardResult$json = {
'1': 'DeleteProjectDashboardResult',
};
/// Descriptor for `DeleteProjectDashboardResult`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List deleteProjectDashboardResultDescriptor = $convert.base64Decode(
'ChxEZWxldGVQcm9qZWN0RGFzaGJvYXJkUmVzdWx0');
@$core.Deprecated('Use updateProjectDashboardRequestDescriptor instead')
const UpdateProjectDashboardRequest$json = {
'1': 'UpdateProjectDashboardRequest',
'2': [
{'1': 'Header', '3': 1, '4': 1, '5': 11, '6': '.api.RequestProjectHeader', '8': {}, '10': 'Header'},
{'1': 'DashboardID', '3': 2, '4': 1, '5': 9, '8': {}, '10': 'DashboardID'},
{'1': 'Name', '3': 3, '4': 1, '5': 11, '6': '.api.StringObject', '8': {}, '10': 'Name'},
{'1': 'Content', '3': 4, '4': 1, '5': 11, '6': '.api.StringObject', '8': {}, '10': 'Content'},
{'1': 'IsPrivate', '3': 5, '4': 1, '5': 11, '6': '.api.BoolObject', '8': {}, '10': 'IsPrivate'},
{'1': 'AutoRefresh', '3': 9, '4': 1, '5': 11, '6': '.api.Int32Object', '10': 'AutoRefresh'},
],
'7': {},
};
/// Descriptor for `UpdateProjectDashboardRequest`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List updateProjectDashboardRequestDescriptor = $convert.base64Decode(
'Ch1VcGRhdGVQcm9qZWN0RGFzaGJvYXJkUmVxdWVzdBI8CgZIZWFkZXIYASABKAsyGS5hcGkuUm'
'VxdWVzdFByb2plY3RIZWFkZXJCCbqBAQWKAQIQAVIGSGVhZGVyEkoKC0Rhc2hib2FyZElEGAIg'
'ASgJQiiSQR0yG0lkZW50aWZpZXIgb2YgdGhlIERhc2hib2FyZLqBAQRyAhABUgtEYXNoYm9hcm'
'RJRBJBCgROYW1lGAMgASgLMhEuYXBpLlN0cmluZ09iamVjdEIakkEXMhVOYW1lIG9mIHRoZSBE'
'YXNoYm9hcmRSBE5hbWUSTgoHQ29udGVudBgEIAEoCzIRLmFwaS5TdHJpbmdPYmplY3RCIZJBHj'
'IcQWxsIHRoZSB3aWRnZXRzIGluIERhc2hib2FyZFIHQ29udGVudBJPCglJc1ByaXZhdGUYBSAB'
'KAsyDy5hcGkuQm9vbE9iamVjdEIgkkEdMhtWaXNpYmlsaXR5IG9mIHRoZSBEYXNoYm9hcmRSCU'
'lzUHJpdmF0ZRIyCgtBdXRvUmVmcmVzaBgJIAEoCzIQLmFwaS5JbnQzMk9iamVjdFILQXV0b1Jl'
'ZnJlc2g6QpJBPwo9MiRJbmZvcm1hdGlvbiB0aGF0IG5lZWRzIHRvIGJlIHVwZGF0ZWTSAQZIZW'
'FkZXLSAQtEYXNoYm9hcmRJRA==');
@$core.Deprecated('Use updateProjectDashboardResultDescriptor instead')
const UpdateProjectDashboardResult$json = {
'1': 'UpdateProjectDashboardResult',
'2': [
{'1': 'Result', '3': 1, '4': 1, '5': 11, '6': '.vizapi.Dashboard', '10': 'Result'},
],
'7': {},
};
/// Descriptor for `UpdateProjectDashboardResult`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List updateProjectDashboardResultDescriptor = $convert.base64Decode(
'ChxVcGRhdGVQcm9qZWN0RGFzaGJvYXJkUmVzdWx0EikKBlJlc3VsdBgBIAEoCzIRLnZpemFwaS'
'5EYXNoYm9hcmRSBlJlc3VsdDokkkEhCh8yHVVwZGF0ZWQgRGFzaGJvYXJkIGluZm9ybWF0aW9u');
@$core.Deprecated('Use getProjectDashboardRequestDescriptor instead')
const GetProjectDashboardRequest$json = {
'1': 'GetProjectDashboardRequest',
'2': [
{'1': 'Header', '3': 1, '4': 1, '5': 11, '6': '.api.RequestProjectHeader', '8': {}, '10': 'Header'},
{'1': 'DashboardID', '3': 2, '4': 1, '5': 9, '8': {}, '10': 'DashboardID'},
],
'7': {},
};
/// Descriptor for `GetProjectDashboardRequest`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List getProjectDashboardRequestDescriptor = $convert.base64Decode(
'ChpHZXRQcm9qZWN0RGFzaGJvYXJkUmVxdWVzdBI8CgZIZWFkZXIYASABKAsyGS5hcGkuUmVxdW'
'VzdFByb2plY3RIZWFkZXJCCbqBAQWKAQIQAVIGSGVhZGVyEkoKC0Rhc2hib2FyZElEGAIgASgJ'
'QiiSQR0yG0lkZW50aWZpZXIgb2YgdGhlIERhc2hib2FyZLqBAQRyAhABUgtEYXNoYm9hcmRJRD'
'oykkEvCi0yFElEcyBvZiB0aGUgRGFzaGJvYXJk0gEGSGVhZGVy0gELRGFzaGJvYXJkSUQ=');
@$core.Deprecated('Use getProjectDashboardResultDescriptor instead')
const GetProjectDashboardResult$json = {
'1': 'GetProjectDashboardResult',
'2': [
{'1': 'result', '3': 1, '4': 1, '5': 11, '6': '.vizapi.Dashboard', '10': 'result'},
],
'7': {},
};
/// Descriptor for `GetProjectDashboardResult`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List getProjectDashboardResultDescriptor = $convert.base64Decode(
'ChlHZXRQcm9qZWN0RGFzaGJvYXJkUmVzdWx0EikKBnJlc3VsdBgBIAEoCzIRLnZpemFwaS5EYX'
'NoYm9hcmRSBnJlc3VsdDoqkkEnCiUyI0FsbCBpbmZvcm1hdGlvbiBhYm91dCB0aGUgRGFzaGJv'
'YXJk');
@$core.Deprecated('Use copyProjectDashboardRequestDescriptor instead')
const CopyProjectDashboardRequest$json = {
'1': 'CopyProjectDashboardRequest',
'2': [
{'1': 'Header', '3': 1, '4': 1, '5': 11, '6': '.api.RequestProjectHeader', '8': {}, '10': 'Header'},
{'1': 'DashboardID', '3': 2, '4': 1, '5': 9, '8': {}, '10': 'DashboardID'},
{'1': 'Name', '3': 3, '4': 1, '5': 9, '8': {}, '10': 'Name'},
],
'7': {},
};
/// Descriptor for `CopyProjectDashboardRequest`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List copyProjectDashboardRequestDescriptor = $convert.base64Decode(
'ChtDb3B5UHJvamVjdERhc2hib2FyZFJlcXVlc3QSPAoGSGVhZGVyGAEgASgLMhkuYXBpLlJlcX'
'Vlc3RQcm9qZWN0SGVhZGVyQgm6gQEFigECEAFSBkhlYWRlchJKCgtEYXNoYm9hcmRJRBgCIAEo'
'CUIokkEdMhtJZGVudGlmaWVyIG9mIHRoZSBEYXNoYm9hcmS6gQEEcgIQAVILRGFzaGJvYXJkSU'
'QSOgoETmFtZRgDIAEoCUImkkEbMhlOYW1lIG9mIHRoZSBuZXcgRGFzaGJvYXJkuoEBBHICEAFS'
'BE5hbWU6I5JBIAoe0gEGSGVhZGVy0gELRGFzaGJvYXJkSUTSAQROYW1l');
@$core.Deprecated('Use copyProjectDashboardResultDescriptor instead')
const CopyProjectDashboardResult$json = {
'1': 'CopyProjectDashboardResult',
'2': [
{'1': 'Result', '3': 1, '4': 1, '5': 11, '6': '.vizapi.Dashboard', '10': 'Result'},
],
'7': {},
};
/// Descriptor for `CopyProjectDashboardResult`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List copyProjectDashboardResultDescriptor = $convert.base64Decode(
'ChpDb3B5UHJvamVjdERhc2hib2FyZFJlc3VsdBIpCgZSZXN1bHQYASABKAsyES52aXphcGkuRG'
'FzaGJvYXJkUgZSZXN1bHQ6G5JBGAoWMhROZXcgY29waWVkIGRhc2hib2FyZA==');
@$core.Deprecated('Use setOwnerDashboardRequestDescriptor instead')
const SetOwnerDashboardRequest$json = {
'1': 'SetOwnerDashboardRequest',
'2': [
{'1': 'Header', '3': 1, '4': 1, '5': 11, '6': '.api.RequestProjectHeader', '8': {}, '10': 'Header'},
{'1': 'DashboardID', '3': 2, '4': 1, '5': 9, '8': {}, '10': 'DashboardID'},
{'1': 'UserID', '3': 3, '4': 1, '5': 9, '8': {}, '10': 'UserID'},
],
'7': {},
};
/// Descriptor for `SetOwnerDashboardRequest`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List setOwnerDashboardRequestDescriptor = $convert.base64Decode(
'ChhTZXRPd25lckRhc2hib2FyZFJlcXVlc3QSPAoGSGVhZGVyGAEgASgLMhkuYXBpLlJlcXVlc3'
'RQcm9qZWN0SGVhZGVyQgm6gQEFigECEAFSBkhlYWRlchJKCgtEYXNoYm9hcmRJRBgCIAEoCUIo'
'kkEdMhtJZGVudGlmaWVyIG9mIHRoZSBEYXNoYm9hcmS6gQEEcgIQAVILRGFzaGJvYXJkSUQSUQ'
'oGVXNlcklEGAMgASgJQjmSQS4yLElkZW50aWZpZXIgb2YgdGhlIG5ldyBvd25lciBvZiB0aGUg'
'RGFzaGJvYXJkuoEBBHICEAFSBlVzZXJJRDpTkkFQCk4yK0luZm9ybWF0aW9uIHRvIHNldCB0aG'
'Ugb3duZXIgb2YgYSBkYXNoYm9hcmTSAQZIZWFkZXLSAQtEYXNoYm9hcmRJRNIBB093bmVySUQ=');
@$core.Deprecated('Use setOwnerDashboardResultDescriptor instead')
const SetOwnerDashboardResult$json = {
'1': 'SetOwnerDashboardResult',
'2': [
{'1': 'Result', '3': 1, '4': 1, '5': 11, '6': '.vizapi.Dashboard', '10': 'Result'},
],
'7': {},
};
/// Descriptor for `SetOwnerDashboardResult`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List setOwnerDashboardResultDescriptor = $convert.base64Decode(
'ChdTZXRPd25lckRhc2hib2FyZFJlc3VsdBIpCgZSZXN1bHQYASABKAsyES52aXphcGkuRGFzaG'
'JvYXJkUgZSZXN1bHQ6MZJBLgosMipSZXN1bHQgb2Ygc2V0dGluZyB0aGUgb3duZXIgb2YgYSBk'
'YXNoYm9hcmQ=');

View File

@@ -1,13 +1,14 @@
// This is a generated file - do not edit.
// //
// Generated code. Do not modify. // Generated from viz-default-view.proto.
// source: viz-default-view.proto
//
// @dart = 3.3 // @dart = 3.3
// ignore_for_file: annotate_overrides, camel_case_types, comment_references // ignore_for_file: annotate_overrides, camel_case_types, comment_references
// ignore_for_file: constant_identifier_names, library_prefixes // ignore_for_file: constant_identifier_names
// ignore_for_file: non_constant_identifier_names, prefer_final_fields // ignore_for_file: curly_braces_in_flow_control_structures
// ignore_for_file: unnecessary_import, unnecessary_this, unused_import // ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
// ignore_for_file: non_constant_identifier_names
import 'dart:core' as $core; import 'dart:core' as $core;
@@ -21,21 +22,17 @@ class UpdatePlatformDefaultViewRequest extends $pb.GeneratedMessage {
$core.String? payload, $core.String? payload,
$core.bool? isPrivate, $core.bool? isPrivate,
}) { }) {
final $result = create(); final result = create();
if (viewID != null) { if (viewID != null) result.viewID = viewID;
$result.viewID = viewID; if (payload != null) result.payload = payload;
} if (isPrivate != null) result.isPrivate = isPrivate;
if (payload != null) { return result;
$result.payload = payload;
}
if (isPrivate != null) {
$result.isPrivate = isPrivate;
}
return $result;
} }
UpdatePlatformDefaultViewRequest._() : super();
factory UpdatePlatformDefaultViewRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); UpdatePlatformDefaultViewRequest._();
factory UpdatePlatformDefaultViewRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
factory UpdatePlatformDefaultViewRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory UpdatePlatformDefaultViewRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdatePlatformDefaultViewRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'vizapi'), createEmptyInstance: create) static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdatePlatformDefaultViewRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'vizapi'), createEmptyInstance: create)
..aOS(1, _omitFieldNames ? '' : 'ViewID', protoName: 'ViewID') ..aOS(1, _omitFieldNames ? '' : 'ViewID', protoName: 'ViewID')
@@ -44,21 +41,17 @@ class UpdatePlatformDefaultViewRequest extends $pb.GeneratedMessage {
..hasRequiredFields = false ..hasRequiredFields = false
; ;
@$core.Deprecated( @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
'Will be removed in next major version')
UpdatePlatformDefaultViewRequest clone() => UpdatePlatformDefaultViewRequest()..mergeFromMessage(this); UpdatePlatformDefaultViewRequest clone() => UpdatePlatformDefaultViewRequest()..mergeFromMessage(this);
@$core.Deprecated( @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
'Will be removed in next major version')
UpdatePlatformDefaultViewRequest copyWith(void Function(UpdatePlatformDefaultViewRequest) updates) => super.copyWith((message) => updates(message as UpdatePlatformDefaultViewRequest)) as UpdatePlatformDefaultViewRequest; UpdatePlatformDefaultViewRequest copyWith(void Function(UpdatePlatformDefaultViewRequest) updates) => super.copyWith((message) => updates(message as UpdatePlatformDefaultViewRequest)) as UpdatePlatformDefaultViewRequest;
@$core.override
$pb.BuilderInfo get info_ => _i; $pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline') @$core.pragma('dart2js:noInline')
static UpdatePlatformDefaultViewRequest create() => UpdatePlatformDefaultViewRequest._(); static UpdatePlatformDefaultViewRequest create() => UpdatePlatformDefaultViewRequest._();
@$core.override
UpdatePlatformDefaultViewRequest createEmptyInstance() => create(); UpdatePlatformDefaultViewRequest createEmptyInstance() => create();
static $pb.PbList<UpdatePlatformDefaultViewRequest> createRepeated() => $pb.PbList<UpdatePlatformDefaultViewRequest>(); static $pb.PbList<UpdatePlatformDefaultViewRequest> createRepeated() => $pb.PbList<UpdatePlatformDefaultViewRequest>();
@$core.pragma('dart2js:noInline') @$core.pragma('dart2js:noInline')
@@ -69,7 +62,7 @@ class UpdatePlatformDefaultViewRequest extends $pb.GeneratedMessage {
@$pb.TagNumber(1) @$pb.TagNumber(1)
$core.String get viewID => $_getSZ(0); $core.String get viewID => $_getSZ(0);
@$pb.TagNumber(1) @$pb.TagNumber(1)
set viewID($core.String v) { $_setString(0, v); } set viewID($core.String value) => $_setString(0, value);
@$pb.TagNumber(1) @$pb.TagNumber(1)
$core.bool hasViewID() => $_has(0); $core.bool hasViewID() => $_has(0);
@$pb.TagNumber(1) @$pb.TagNumber(1)
@@ -79,7 +72,7 @@ class UpdatePlatformDefaultViewRequest extends $pb.GeneratedMessage {
@$pb.TagNumber(4) @$pb.TagNumber(4)
$core.String get payload => $_getSZ(1); $core.String get payload => $_getSZ(1);
@$pb.TagNumber(4) @$pb.TagNumber(4)
set payload($core.String v) { $_setString(1, v); } set payload($core.String value) => $_setString(1, value);
@$pb.TagNumber(4) @$pb.TagNumber(4)
$core.bool hasPayload() => $_has(1); $core.bool hasPayload() => $_has(1);
@$pb.TagNumber(4) @$pb.TagNumber(4)
@@ -89,7 +82,7 @@ class UpdatePlatformDefaultViewRequest extends $pb.GeneratedMessage {
@$pb.TagNumber(5) @$pb.TagNumber(5)
$core.bool get isPrivate => $_getBF(2); $core.bool get isPrivate => $_getBF(2);
@$pb.TagNumber(5) @$pb.TagNumber(5)
set isPrivate($core.bool v) { $_setBool(2, v); } set isPrivate($core.bool value) => $_setBool(2, value);
@$pb.TagNumber(5) @$pb.TagNumber(5)
$core.bool hasIsPrivate() => $_has(2); $core.bool hasIsPrivate() => $_has(2);
@$pb.TagNumber(5) @$pb.TagNumber(5)
@@ -102,21 +95,17 @@ class CreatePlatformDefaultViewRequest extends $pb.GeneratedMessage {
$core.String? payload, $core.String? payload,
$core.bool? isPrivate, $core.bool? isPrivate,
}) { }) {
final $result = create(); final result = create();
if (screenID != null) { if (screenID != null) result.screenID = screenID;
$result.screenID = screenID; if (payload != null) result.payload = payload;
} if (isPrivate != null) result.isPrivate = isPrivate;
if (payload != null) { return result;
$result.payload = payload;
}
if (isPrivate != null) {
$result.isPrivate = isPrivate;
}
return $result;
} }
CreatePlatformDefaultViewRequest._() : super();
factory CreatePlatformDefaultViewRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); CreatePlatformDefaultViewRequest._();
factory CreatePlatformDefaultViewRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
factory CreatePlatformDefaultViewRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory CreatePlatformDefaultViewRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CreatePlatformDefaultViewRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'vizapi'), createEmptyInstance: create) static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CreatePlatformDefaultViewRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'vizapi'), createEmptyInstance: create)
..aOS(1, _omitFieldNames ? '' : 'ScreenID', protoName: 'ScreenID') ..aOS(1, _omitFieldNames ? '' : 'ScreenID', protoName: 'ScreenID')
@@ -125,21 +114,17 @@ class CreatePlatformDefaultViewRequest extends $pb.GeneratedMessage {
..hasRequiredFields = false ..hasRequiredFields = false
; ;
@$core.Deprecated( @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
'Will be removed in next major version')
CreatePlatformDefaultViewRequest clone() => CreatePlatformDefaultViewRequest()..mergeFromMessage(this); CreatePlatformDefaultViewRequest clone() => CreatePlatformDefaultViewRequest()..mergeFromMessage(this);
@$core.Deprecated( @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
'Will be removed in next major version')
CreatePlatformDefaultViewRequest copyWith(void Function(CreatePlatformDefaultViewRequest) updates) => super.copyWith((message) => updates(message as CreatePlatformDefaultViewRequest)) as CreatePlatformDefaultViewRequest; CreatePlatformDefaultViewRequest copyWith(void Function(CreatePlatformDefaultViewRequest) updates) => super.copyWith((message) => updates(message as CreatePlatformDefaultViewRequest)) as CreatePlatformDefaultViewRequest;
@$core.override
$pb.BuilderInfo get info_ => _i; $pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline') @$core.pragma('dart2js:noInline')
static CreatePlatformDefaultViewRequest create() => CreatePlatformDefaultViewRequest._(); static CreatePlatformDefaultViewRequest create() => CreatePlatformDefaultViewRequest._();
@$core.override
CreatePlatformDefaultViewRequest createEmptyInstance() => create(); CreatePlatformDefaultViewRequest createEmptyInstance() => create();
static $pb.PbList<CreatePlatformDefaultViewRequest> createRepeated() => $pb.PbList<CreatePlatformDefaultViewRequest>(); static $pb.PbList<CreatePlatformDefaultViewRequest> createRepeated() => $pb.PbList<CreatePlatformDefaultViewRequest>();
@$core.pragma('dart2js:noInline') @$core.pragma('dart2js:noInline')
@@ -150,7 +135,7 @@ class CreatePlatformDefaultViewRequest extends $pb.GeneratedMessage {
@$pb.TagNumber(1) @$pb.TagNumber(1)
$core.String get screenID => $_getSZ(0); $core.String get screenID => $_getSZ(0);
@$pb.TagNumber(1) @$pb.TagNumber(1)
set screenID($core.String v) { $_setString(0, v); } set screenID($core.String value) => $_setString(0, value);
@$pb.TagNumber(1) @$pb.TagNumber(1)
$core.bool hasScreenID() => $_has(0); $core.bool hasScreenID() => $_has(0);
@$pb.TagNumber(1) @$pb.TagNumber(1)
@@ -160,7 +145,7 @@ class CreatePlatformDefaultViewRequest extends $pb.GeneratedMessage {
@$pb.TagNumber(4) @$pb.TagNumber(4)
$core.String get payload => $_getSZ(1); $core.String get payload => $_getSZ(1);
@$pb.TagNumber(4) @$pb.TagNumber(4)
set payload($core.String v) { $_setString(1, v); } set payload($core.String value) => $_setString(1, value);
@$pb.TagNumber(4) @$pb.TagNumber(4)
$core.bool hasPayload() => $_has(1); $core.bool hasPayload() => $_has(1);
@$pb.TagNumber(4) @$pb.TagNumber(4)
@@ -170,7 +155,7 @@ class CreatePlatformDefaultViewRequest extends $pb.GeneratedMessage {
@$pb.TagNumber(5) @$pb.TagNumber(5)
$core.bool get isPrivate => $_getBF(2); $core.bool get isPrivate => $_getBF(2);
@$pb.TagNumber(5) @$pb.TagNumber(5)
set isPrivate($core.bool v) { $_setBool(2, v); } set isPrivate($core.bool value) => $_setBool(2, value);
@$pb.TagNumber(5) @$pb.TagNumber(5)
$core.bool hasIsPrivate() => $_has(2); $core.bool hasIsPrivate() => $_has(2);
@$pb.TagNumber(5) @$pb.TagNumber(5)
@@ -182,36 +167,32 @@ class CreatePlatformDefaultViewResult extends $pb.GeneratedMessage {
factory CreatePlatformDefaultViewResult({ factory CreatePlatformDefaultViewResult({
$core.String? viewID, $core.String? viewID,
}) { }) {
final $result = create(); final result = create();
if (viewID != null) { if (viewID != null) result.viewID = viewID;
$result.viewID = viewID; return result;
}
return $result;
} }
CreatePlatformDefaultViewResult._() : super();
factory CreatePlatformDefaultViewResult.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); CreatePlatformDefaultViewResult._();
factory CreatePlatformDefaultViewResult.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
factory CreatePlatformDefaultViewResult.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory CreatePlatformDefaultViewResult.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CreatePlatformDefaultViewResult', package: const $pb.PackageName(_omitMessageNames ? '' : 'vizapi'), createEmptyInstance: create) static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CreatePlatformDefaultViewResult', package: const $pb.PackageName(_omitMessageNames ? '' : 'vizapi'), createEmptyInstance: create)
..aOS(1, _omitFieldNames ? '' : 'ViewID', protoName: 'ViewID') ..aOS(1, _omitFieldNames ? '' : 'ViewID', protoName: 'ViewID')
..hasRequiredFields = false ..hasRequiredFields = false
; ;
@$core.Deprecated( @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
'Will be removed in next major version')
CreatePlatformDefaultViewResult clone() => CreatePlatformDefaultViewResult()..mergeFromMessage(this); CreatePlatformDefaultViewResult clone() => CreatePlatformDefaultViewResult()..mergeFromMessage(this);
@$core.Deprecated( @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
'Will be removed in next major version')
CreatePlatformDefaultViewResult copyWith(void Function(CreatePlatformDefaultViewResult) updates) => super.copyWith((message) => updates(message as CreatePlatformDefaultViewResult)) as CreatePlatformDefaultViewResult; CreatePlatformDefaultViewResult copyWith(void Function(CreatePlatformDefaultViewResult) updates) => super.copyWith((message) => updates(message as CreatePlatformDefaultViewResult)) as CreatePlatformDefaultViewResult;
@$core.override
$pb.BuilderInfo get info_ => _i; $pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline') @$core.pragma('dart2js:noInline')
static CreatePlatformDefaultViewResult create() => CreatePlatformDefaultViewResult._(); static CreatePlatformDefaultViewResult create() => CreatePlatformDefaultViewResult._();
@$core.override
CreatePlatformDefaultViewResult createEmptyInstance() => create(); CreatePlatformDefaultViewResult createEmptyInstance() => create();
static $pb.PbList<CreatePlatformDefaultViewResult> createRepeated() => $pb.PbList<CreatePlatformDefaultViewResult>(); static $pb.PbList<CreatePlatformDefaultViewResult> createRepeated() => $pb.PbList<CreatePlatformDefaultViewResult>();
@$core.pragma('dart2js:noInline') @$core.pragma('dart2js:noInline')
@@ -222,7 +203,7 @@ class CreatePlatformDefaultViewResult extends $pb.GeneratedMessage {
@$pb.TagNumber(1) @$pb.TagNumber(1)
$core.String get viewID => $_getSZ(0); $core.String get viewID => $_getSZ(0);
@$pb.TagNumber(1) @$pb.TagNumber(1)
set viewID($core.String v) { $_setString(0, v); } set viewID($core.String value) => $_setString(0, value);
@$pb.TagNumber(1) @$pb.TagNumber(1)
$core.bool hasViewID() => $_has(0); $core.bool hasViewID() => $_has(0);
@$pb.TagNumber(1) @$pb.TagNumber(1)
@@ -233,36 +214,32 @@ class UpdatePlatformDefaultViewResult extends $pb.GeneratedMessage {
factory UpdatePlatformDefaultViewResult({ factory UpdatePlatformDefaultViewResult({
$core.String? viewID, $core.String? viewID,
}) { }) {
final $result = create(); final result = create();
if (viewID != null) { if (viewID != null) result.viewID = viewID;
$result.viewID = viewID; return result;
}
return $result;
} }
UpdatePlatformDefaultViewResult._() : super();
factory UpdatePlatformDefaultViewResult.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); UpdatePlatformDefaultViewResult._();
factory UpdatePlatformDefaultViewResult.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
factory UpdatePlatformDefaultViewResult.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory UpdatePlatformDefaultViewResult.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdatePlatformDefaultViewResult', package: const $pb.PackageName(_omitMessageNames ? '' : 'vizapi'), createEmptyInstance: create) static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdatePlatformDefaultViewResult', package: const $pb.PackageName(_omitMessageNames ? '' : 'vizapi'), createEmptyInstance: create)
..aOS(1, _omitFieldNames ? '' : 'ViewID', protoName: 'ViewID') ..aOS(1, _omitFieldNames ? '' : 'ViewID', protoName: 'ViewID')
..hasRequiredFields = false ..hasRequiredFields = false
; ;
@$core.Deprecated( @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
'Will be removed in next major version')
UpdatePlatformDefaultViewResult clone() => UpdatePlatformDefaultViewResult()..mergeFromMessage(this); UpdatePlatformDefaultViewResult clone() => UpdatePlatformDefaultViewResult()..mergeFromMessage(this);
@$core.Deprecated( @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
'Will be removed in next major version')
UpdatePlatformDefaultViewResult copyWith(void Function(UpdatePlatformDefaultViewResult) updates) => super.copyWith((message) => updates(message as UpdatePlatformDefaultViewResult)) as UpdatePlatformDefaultViewResult; UpdatePlatformDefaultViewResult copyWith(void Function(UpdatePlatformDefaultViewResult) updates) => super.copyWith((message) => updates(message as UpdatePlatformDefaultViewResult)) as UpdatePlatformDefaultViewResult;
@$core.override
$pb.BuilderInfo get info_ => _i; $pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline') @$core.pragma('dart2js:noInline')
static UpdatePlatformDefaultViewResult create() => UpdatePlatformDefaultViewResult._(); static UpdatePlatformDefaultViewResult create() => UpdatePlatformDefaultViewResult._();
@$core.override
UpdatePlatformDefaultViewResult createEmptyInstance() => create(); UpdatePlatformDefaultViewResult createEmptyInstance() => create();
static $pb.PbList<UpdatePlatformDefaultViewResult> createRepeated() => $pb.PbList<UpdatePlatformDefaultViewResult>(); static $pb.PbList<UpdatePlatformDefaultViewResult> createRepeated() => $pb.PbList<UpdatePlatformDefaultViewResult>();
@$core.pragma('dart2js:noInline') @$core.pragma('dart2js:noInline')
@@ -273,7 +250,7 @@ class UpdatePlatformDefaultViewResult extends $pb.GeneratedMessage {
@$pb.TagNumber(1) @$pb.TagNumber(1)
$core.String get viewID => $_getSZ(0); $core.String get viewID => $_getSZ(0);
@$pb.TagNumber(1) @$pb.TagNumber(1)
set viewID($core.String v) { $_setString(0, v); } set viewID($core.String value) => $_setString(0, value);
@$pb.TagNumber(1) @$pb.TagNumber(1)
$core.bool hasViewID() => $_has(0); $core.bool hasViewID() => $_has(0);
@$pb.TagNumber(1) @$pb.TagNumber(1)
@@ -281,5 +258,5 @@ class UpdatePlatformDefaultViewResult extends $pb.GeneratedMessage {
} }
const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); const $core.bool _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names');
const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); const $core.bool _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names');

View File

@@ -1,11 +1,12 @@
// This is a generated file - do not edit.
// //
// Generated code. Do not modify. // Generated from viz-default-view.proto.
// source: viz-default-view.proto
//
// @dart = 3.3 // @dart = 3.3
// ignore_for_file: annotate_overrides, camel_case_types, comment_references // ignore_for_file: annotate_overrides, camel_case_types, comment_references
// ignore_for_file: constant_identifier_names, library_prefixes // ignore_for_file: constant_identifier_names
// ignore_for_file: non_constant_identifier_names, prefer_final_fields // ignore_for_file: curly_braces_in_flow_control_structures
// ignore_for_file: unnecessary_import, unnecessary_this, unused_import // ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
// ignore_for_file: non_constant_identifier_names

Some files were not shown because too many files have changed in this diff Show More