diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..ebee215 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,3 @@ +# CHANGELOG + +Lib version: 1.10.0-SNAPSHOT-250317130317 diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..62ac520 --- /dev/null +++ b/LICENSE @@ -0,0 +1,9 @@ +MIT License + +Copyright (c) 2025 + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM diff --git a/README.md b/README.md index 105fd0b..7344b5d 100644 --- a/README.md +++ b/README.md @@ -1,93 +1,2 @@ -# dart-visibility-model-sdk - - -## Getting started - -To make it easy for you to get started with GitLab, here's a list of recommended next steps. - -Already a pro? Just edit this README.md and make it your own. Want to make it easy? [Use the template at the bottom](#editing-this-readme)! - -## Add your files - -- [ ] [Create](https://docs.gitlab.com/ee/user/project/repository/web_editor.html#create-a-file) or [upload](https://docs.gitlab.com/ee/user/project/repository/web_editor.html#upload-a-file) files -- [ ] [Add files using the command line](https://docs.gitlab.com/ee/gitlab-basics/add-file.html#add-a-file-using-the-command-line) or push an existing Git repository with the following command: - -``` -cd existing_repo -git remote add origin https://gitlab.hardis-group.com/r-d-technique/reflex-platform/client/dart-visibility-model-sdk.git -git branch -M main -git push -uf origin main -``` - -## Integrate with your tools - -- [ ] [Set up project integrations](https://gitlab.hardis-group.com/r-d-technique/reflex-platform/client/dart-visibility-model-sdk/-/settings/integrations) - -## Collaborate with your team - -- [ ] [Invite team members and collaborators](https://docs.gitlab.com/ee/user/project/members/) -- [ ] [Create a new merge request](https://docs.gitlab.com/ee/user/project/merge_requests/creating_merge_requests.html) -- [ ] [Automatically close issues from merge requests](https://docs.gitlab.com/ee/user/project/issues/managing_issues.html#closing-issues-automatically) -- [ ] [Enable merge request approvals](https://docs.gitlab.com/ee/user/project/merge_requests/approvals/) -- [ ] [Set auto-merge](https://docs.gitlab.com/ee/user/project/merge_requests/merge_when_pipeline_succeeds.html) - -## Test and Deploy - -Use the built-in continuous integration in GitLab. - -- [ ] [Get started with GitLab CI/CD](https://docs.gitlab.com/ee/ci/quick_start/index.html) -- [ ] [Analyze your code for known vulnerabilities with Static Application Security Testing (SAST)](https://docs.gitlab.com/ee/user/application_security/sast/) -- [ ] [Deploy to Kubernetes, Amazon EC2, or Amazon ECS using Auto Deploy](https://docs.gitlab.com/ee/topics/autodevops/requirements.html) -- [ ] [Use pull-based deployments for improved Kubernetes management](https://docs.gitlab.com/ee/user/clusters/agent/) -- [ ] [Set up protected environments](https://docs.gitlab.com/ee/ci/environments/protected_environments.html) - -*** - -# Editing this README - -When you're ready to make this README your own, just edit this file and use the handy template below (or feel free to structure it however you want - this is just a starting point!). Thanks to [makeareadme.com](https://www.makeareadme.com/) for this template. - -## Suggestions for a good README - -Every project is different, so consider which of these sections apply to yours. The sections used in the template are suggestions for most open source projects. Also keep in mind that while a README can be too long and detailed, too long is better than too short. If you think your README is too long, consider utilizing another form of documentation rather than cutting out information. - -## Name -Choose a self-explaining name for your project. - -## Description -Let people know what your project can do specifically. Provide context and add a link to any reference visitors might be unfamiliar with. A list of Features or a Background subsection can also be added here. If there are alternatives to your project, this is a good place to list differentiating factors. - -## Badges -On some READMEs, you may see small images that convey metadata, such as whether or not all the tests are passing for the project. You can use Shields to add some to your README. Many services also have instructions for adding a badge. - -## Visuals -Depending on what you are making, it can be a good idea to include screenshots or even a video (you'll frequently see GIFs rather than actual videos). Tools like ttygif can help, but check out Asciinema for a more sophisticated method. - -## Installation -Within a particular ecosystem, there may be a common way of installing things, such as using Yarn, NuGet, or Homebrew. However, consider the possibility that whoever is reading your README is a novice and would like more guidance. Listing specific steps helps remove ambiguity and gets people to using your project as quickly as possible. If it only runs in a specific context like a particular programming language version or operating system or has dependencies that have to be installed manually, also add a Requirements subsection. - -## Usage -Use examples liberally, and show the expected output if you can. It's helpful to have inline the smallest example of usage that you can demonstrate, while providing links to more sophisticated examples if they are too long to reasonably include in the README. - -## Support -Tell people where they can go to for help. It can be any combination of an issue tracker, a chat room, an email address, etc. - -## Roadmap -If you have ideas for releases in the future, it is a good idea to list them in the README. - -## Contributing -State if you are open to contributions and what your requirements are for accepting them. - -For people who want to make changes to your project, it's helpful to have some documentation on how to get started. Perhaps there is a script that they should run or some environment variables that they need to set. Make these steps explicit. These instructions could also be useful to your future self. - -You can also document commands to lint the code or run tests. These steps help to ensure high code quality and reduce the likelihood that the changes inadvertently break something. Having instructions for running tests is especially helpful if it requires external setup, such as starting a Selenium server for testing in a browser. - -## Authors and acknowledgment -Show your appreciation to those who have contributed to the project. - -## License -For open source projects, say how it is licensed. - -## Project status -If you have run out of energy or time for your project, put a note at the top of the README saying that development has slowed down or stopped completely. Someone may choose to fork your project or volunteer to step in as a maintainer or owner, allowing your project to keep going. You can also make an explicit request for maintainers. +# dart libs from visibility model proto files diff --git a/lib/annotations.pb.dart b/lib/annotations.pb.dart new file mode 100644 index 0000000..3b8e5ce --- /dev/null +++ b/lib/annotations.pb.dart @@ -0,0 +1,35 @@ +// +// Generated code. Do not modify. +// source: annotations.proto +// +// @dart = 2.12 + +// ignore_for_file: annotate_overrides, camel_case_types, comment_references +// ignore_for_file: constant_identifier_names, library_prefixes +// ignore_for_file: non_constant_identifier_names, prefer_final_fields +// ignore_for_file: unnecessary_import, unnecessary_this, unused_import + +import 'dart:core' as $core; + +import 'package:protobuf/protobuf.dart' as $pb; + +import 'openapiv2.pb.dart' as $12; + +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 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 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 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 openapiv2Field = $pb.Extension<$12.JSONSchema>(_omitMessageNames ? '' : 'google.protobuf.FieldOptions', _omitFieldNames ? '' : 'openapiv2Field', 1042, $pb.PbFieldType.OM, defaultOrMaker: $12.JSONSchema.getDefault, subBuilder: $12.JSONSchema.create); + static void registerAllExtensions($pb.ExtensionRegistry registry) { + registry.add(openapiv2Swagger); + registry.add(openapiv2Operation); + registry.add(openapiv2Schema); + registry.add(openapiv2Tag); + registry.add(openapiv2Field); + } +} + + +const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); +const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/annotations.pbenum.dart b/lib/annotations.pbenum.dart new file mode 100644 index 0000000..7fd2425 --- /dev/null +++ b/lib/annotations.pbenum.dart @@ -0,0 +1,11 @@ +// +// Generated code. Do not modify. +// source: annotations.proto +// +// @dart = 2.12 + +// ignore_for_file: annotate_overrides, camel_case_types, comment_references +// ignore_for_file: constant_identifier_names, library_prefixes +// ignore_for_file: non_constant_identifier_names, prefer_final_fields +// ignore_for_file: unnecessary_import, unnecessary_this, unused_import + diff --git a/lib/annotations.pbjson.dart b/lib/annotations.pbjson.dart new file mode 100644 index 0000000..a948f97 --- /dev/null +++ b/lib/annotations.pbjson.dart @@ -0,0 +1,15 @@ +// +// Generated code. Do not modify. +// source: annotations.proto +// +// @dart = 2.12 + +// ignore_for_file: annotate_overrides, camel_case_types, comment_references +// ignore_for_file: constant_identifier_names, library_prefixes +// ignore_for_file: non_constant_identifier_names, prefer_final_fields +// ignore_for_file: unnecessary_import, unnecessary_this, unused_import + +import 'dart:convert' as $convert; +import 'dart:core' as $core; +import 'dart:typed_data' as $typed_data; + diff --git a/lib/core/options.pb.dart b/lib/core/options.pb.dart new file mode 100644 index 0000000..5acbed6 --- /dev/null +++ b/lib/core/options.pb.dart @@ -0,0 +1,85 @@ +// +// Generated code. Do not modify. +// source: core/options.proto +// +// @dart = 2.12 + +// ignore_for_file: annotate_overrides, camel_case_types, comment_references +// ignore_for_file: constant_identifier_names, library_prefixes +// ignore_for_file: non_constant_identifier_names, prefer_final_fields +// ignore_for_file: unnecessary_import, unnecessary_this, unused_import + +import 'dart:core' as $core; + +import 'package:protobuf/protobuf.dart' as $pb; + +class Options { + 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 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 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 action = $pb.Extension<$core.String>(_omitMessageNames ? '' : 'google.protobuf.MessageOptions', _omitFieldNames ? '' : 'action', 50102, $pb.PbFieldType.OS); + static final inputEvent = $pb.Extension<$core.String>(_omitMessageNames ? '' : 'google.protobuf.MessageOptions', _omitFieldNames ? '' : 'inputEvent', 50103, $pb.PbFieldType.OS, protoName: 'inputEvent'); + static final resultingEvent = $pb.Extension<$core.String>(_omitMessageNames ? '' : 'google.protobuf.MessageOptions', _omitFieldNames ? '' : 'resultingEvent', 50104, $pb.PbFieldType.OS, protoName: 'resultingEvent'); + 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 preAggMethods = $pb.Extension<$core.String>(_omitMessageNames ? '' : 'google.protobuf.MessageOptions', _omitFieldNames ? '' : 'preAggMethods', 50107, $pb.PbFieldType.OS, protoName: 'preAggMethods'); + 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 language = $pb.Extension<$core.bool>(_omitMessageNames ? '' : 'google.protobuf.FieldOptions', _omitFieldNames ? '' : 'language', 50202, $pb.PbFieldType.OB); + static final entityRef = $pb.Extension<$core.String>(_omitMessageNames ? '' : 'google.protobuf.FieldOptions', _omitFieldNames ? '' : 'entityRef', 50203, $pb.PbFieldType.OS, protoName: 'entityRef'); + static final entityRefFilter = $pb.Extension<$core.String>(_omitMessageNames ? '' : 'google.protobuf.FieldOptions', _omitFieldNames ? '' : 'entityRefFilter', 50204, $pb.PbFieldType.OS, protoName: 'entityRefFilter'); + static final aggKey = $pb.Extension<$core.String>(_omitMessageNames ? '' : 'google.protobuf.FieldOptions', _omitFieldNames ? '' : 'aggKey', 50205, $pb.PbFieldType.OS, protoName: 'aggKey'); + static final aggSkip = $pb.Extension<$core.String>(_omitMessageNames ? '' : 'google.protobuf.FieldOptions', _omitFieldNames ? '' : 'aggSkip', 50206, $pb.PbFieldType.OS, protoName: 'aggSkip'); + 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 kpi = $pb.Extension<$core.bool>(_omitMessageNames ? '' : 'google.protobuf.FieldOptions', _omitFieldNames ? '' : 'kpi', 50209, $pb.PbFieldType.OB); + 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 roleManager = $pb.Extension<$core.bool>(_omitMessageNames ? '' : 'google.protobuf.ServiceOptions', _omitFieldNames ? '' : 'roleManager', 50304, $pb.PbFieldType.OB, protoName: 'roleManager'); + static final resourceManager = $pb.Extension<$core.bool>(_omitMessageNames ? '' : 'google.protobuf.ServiceOptions', _omitFieldNames ? '' : 'resourceManager', 50305, $pb.PbFieldType.OB, protoName: 'resourceManager'); + static final customQuery = $pb.Extension<$core.bool>(_omitMessageNames ? '' : 'google.protobuf.MethodOptions', _omitFieldNames ? '' : 'customQuery', 50400, $pb.PbFieldType.OB, protoName: 'customQuery'); + static final rscType = $pb.Extension<$core.String>(_omitMessageNames ? '' : 'google.protobuf.MethodOptions', _omitFieldNames ? '' : 'rscType', 50401, $pb.PbFieldType.OS, protoName: 'rscType'); + 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 moduleID = $pb.Extension<$core.String>(_omitMessageNames ? '' : 'google.protobuf.MethodOptions', _omitFieldNames ? '' : 'moduleID', 50404, $pb.PbFieldType.OS, protoName: 'moduleID'); + static void registerAllExtensions($pb.ExtensionRegistry registry) { + registry.add(entityName); + registry.add(entityShortName); + registry.add(m0FileIgnore); + registry.add(moduleName); + registry.add(messageType); + registry.add(payload); + registry.add(action); + registry.add(inputEvent); + registry.add(resultingEvent); + registry.add(postAggMethods); + registry.add(additionalSource); + registry.add(preAggMethods); + registry.add(metadata); + registry.add(mapPath); + registry.add(language); + registry.add(entityRef); + registry.add(entityRefFilter); + registry.add(aggKey); + registry.add(aggSkip); + registry.add(segmentationKeys); + registry.add(transientRef); + registry.add(kpi); + registry.add(serviceType); + registry.add(k8sService); + registry.add(roleManager); + registry.add(resourceManager); + registry.add(customQuery); + registry.add(rscType); + registry.add(roles); + registry.add(platformReserved); + registry.add(moduleID); + } +} + + +const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); +const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/core/options.pbenum.dart b/lib/core/options.pbenum.dart new file mode 100644 index 0000000..d5fb304 --- /dev/null +++ b/lib/core/options.pbenum.dart @@ -0,0 +1,11 @@ +// +// Generated code. Do not modify. +// source: core/options.proto +// +// @dart = 2.12 + +// ignore_for_file: annotate_overrides, camel_case_types, comment_references +// ignore_for_file: constant_identifier_names, library_prefixes +// ignore_for_file: non_constant_identifier_names, prefer_final_fields +// ignore_for_file: unnecessary_import, unnecessary_this, unused_import + diff --git a/lib/core/options.pbjson.dart b/lib/core/options.pbjson.dart new file mode 100644 index 0000000..b53e35f --- /dev/null +++ b/lib/core/options.pbjson.dart @@ -0,0 +1,15 @@ +// +// Generated code. Do not modify. +// source: core/options.proto +// +// @dart = 2.12 + +// ignore_for_file: annotate_overrides, camel_case_types, comment_references +// ignore_for_file: constant_identifier_names, library_prefixes +// ignore_for_file: non_constant_identifier_names, prefer_final_fields +// ignore_for_file: unnecessary_import, unnecessary_this, unused_import + +import 'dart:convert' as $convert; +import 'dart:core' as $core; +import 'dart:typed_data' as $typed_data; + diff --git a/lib/core/shared.pb.dart b/lib/core/shared.pb.dart new file mode 100644 index 0000000..1eb31a6 --- /dev/null +++ b/lib/core/shared.pb.dart @@ -0,0 +1,2866 @@ +// +// Generated code. Do not modify. +// source: core/shared.proto +// +// @dart = 2.12 + +// ignore_for_file: annotate_overrides, camel_case_types, comment_references +// ignore_for_file: constant_identifier_names, library_prefixes +// ignore_for_file: non_constant_identifier_names, prefer_final_fields +// ignore_for_file: unnecessary_import, unnecessary_this, unused_import + +import 'dart:core' as $core; + +import 'package:fixnum/fixnum.dart' as $fixnum; +import 'package:protobuf/protobuf.dart' as $pb; + +import 'unitOfMeasures.pbenum.dart' as $15; + +export 'shared.pbenum.dart'; + +class RequestHeader extends $pb.GeneratedMessage { + factory RequestHeader({ + $core.String? project, + }) { + final $result = create(); + if (project != null) { + $result.project = project; + } + return $result; + } + RequestHeader._() : super(); + factory RequestHeader.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory RequestHeader.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RequestHeader', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'Project', protoName: 'Project') + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + RequestHeader clone() => RequestHeader()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + RequestHeader copyWith(void Function(RequestHeader) updates) => super.copyWith((message) => updates(message as RequestHeader)) as RequestHeader; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static RequestHeader create() => RequestHeader._(); + RequestHeader createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static RequestHeader getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static RequestHeader? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get project => $_getSZ(0); + @$pb.TagNumber(1) + set project($core.String v) { $_setString(0, v); } + @$pb.TagNumber(1) + $core.bool hasProject() => $_has(0); + @$pb.TagNumber(1) + void clearProject() => clearField(1); +} + +/// Header for all requests on project resource +class RequestProjectHeader extends $pb.GeneratedMessage { + factory RequestProjectHeader({ + $core.String? projectID, + }) { + final $result = create(); + if (projectID != null) { + $result.projectID = projectID; + } + return $result; + } + RequestProjectHeader._() : super(); + factory RequestProjectHeader.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory RequestProjectHeader.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RequestProjectHeader', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'ProjectID', protoName: 'ProjectID') + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + RequestProjectHeader clone() => RequestProjectHeader()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + RequestProjectHeader copyWith(void Function(RequestProjectHeader) updates) => super.copyWith((message) => updates(message as RequestProjectHeader)) as RequestProjectHeader; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static RequestProjectHeader create() => RequestProjectHeader._(); + RequestProjectHeader createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static RequestProjectHeader getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static RequestProjectHeader? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get projectID => $_getSZ(0); + @$pb.TagNumber(1) + set projectID($core.String v) { $_setString(0, v); } + @$pb.TagNumber(1) + $core.bool hasProjectID() => $_has(0); + @$pb.TagNumber(1) + void clearProjectID() => clearField(1); +} + +/// Header for all requests on project resource +class RequestOrganisationHeader extends $pb.GeneratedMessage { + factory RequestOrganisationHeader({ + $core.String? organisationID, + }) { + final $result = create(); + if (organisationID != null) { + $result.organisationID = organisationID; + } + return $result; + } + RequestOrganisationHeader._() : super(); + factory RequestOrganisationHeader.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory RequestOrganisationHeader.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RequestOrganisationHeader', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'OrganisationID', protoName: 'OrganisationID') + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + RequestOrganisationHeader clone() => RequestOrganisationHeader()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + RequestOrganisationHeader copyWith(void Function(RequestOrganisationHeader) updates) => super.copyWith((message) => updates(message as RequestOrganisationHeader)) as RequestOrganisationHeader; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static RequestOrganisationHeader create() => RequestOrganisationHeader._(); + RequestOrganisationHeader createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static RequestOrganisationHeader getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static RequestOrganisationHeader? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get organisationID => $_getSZ(0); + @$pb.TagNumber(1) + set organisationID($core.String v) { $_setString(0, v); } + @$pb.TagNumber(1) + $core.bool hasOrganisationID() => $_has(0); + @$pb.TagNumber(1) + void clearOrganisationID() => clearField(1); +} + +/// Header for all requests on bucket resources +class RequestBucketHeader extends $pb.GeneratedMessage { + factory RequestBucketHeader({ + $core.String? bucketID, + }) { + final $result = create(); + if (bucketID != null) { + $result.bucketID = bucketID; + } + return $result; + } + RequestBucketHeader._() : super(); + factory RequestBucketHeader.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory RequestBucketHeader.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RequestBucketHeader', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'BucketID', protoName: 'BucketID') + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + RequestBucketHeader clone() => RequestBucketHeader()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + RequestBucketHeader copyWith(void Function(RequestBucketHeader) updates) => super.copyWith((message) => updates(message as RequestBucketHeader)) as RequestBucketHeader; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static RequestBucketHeader create() => RequestBucketHeader._(); + RequestBucketHeader createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static RequestBucketHeader getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static RequestBucketHeader? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get bucketID => $_getSZ(0); + @$pb.TagNumber(1) + set bucketID($core.String v) { $_setString(0, v); } + @$pb.TagNumber(1) + $core.bool hasBucketID() => $_has(0); + @$pb.TagNumber(1) + void clearBucketID() => clearField(1); +} + +/// Header for all requests on partnerApp resources +class RequestPartnerAppHeader extends $pb.GeneratedMessage { + factory RequestPartnerAppHeader({ + $core.String? partnerAppID, + }) { + final $result = create(); + if (partnerAppID != null) { + $result.partnerAppID = partnerAppID; + } + return $result; + } + RequestPartnerAppHeader._() : super(); + factory RequestPartnerAppHeader.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory RequestPartnerAppHeader.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RequestPartnerAppHeader', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'PartnerAppID', protoName: 'PartnerAppID') + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + RequestPartnerAppHeader clone() => RequestPartnerAppHeader()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + RequestPartnerAppHeader copyWith(void Function(RequestPartnerAppHeader) updates) => super.copyWith((message) => updates(message as RequestPartnerAppHeader)) as RequestPartnerAppHeader; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static RequestPartnerAppHeader create() => RequestPartnerAppHeader._(); + RequestPartnerAppHeader createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static RequestPartnerAppHeader getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static RequestPartnerAppHeader? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get partnerAppID => $_getSZ(0); + @$pb.TagNumber(1) + set partnerAppID($core.String v) { $_setString(0, v); } + @$pb.TagNumber(1) + $core.bool hasPartnerAppID() => $_has(0); + @$pb.TagNumber(1) + void clearPartnerAppID() => clearField(1); +} + +/// Header for all response messages +class ResponseHeader extends $pb.GeneratedMessage { + factory ResponseHeader() => create(); + ResponseHeader._() : super(); + factory ResponseHeader.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory ResponseHeader.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ResponseHeader', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + ResponseHeader clone() => ResponseHeader()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + ResponseHeader copyWith(void Function(ResponseHeader) updates) => super.copyWith((message) => updates(message as ResponseHeader)) as ResponseHeader; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static ResponseHeader create() => ResponseHeader._(); + ResponseHeader createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static ResponseHeader getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static ResponseHeader? _defaultInstance; +} + +/// Header for all query messages +class QueryHeader extends $pb.GeneratedMessage { + factory QueryHeader({ + $core.String? project, + $core.String? pagingState, + $core.String? limit, + $core.bool? localizedLabel, + }) { + final $result = create(); + if (project != null) { + $result.project = project; + } + if (pagingState != null) { + $result.pagingState = pagingState; + } + if (limit != null) { + $result.limit = limit; + } + if (localizedLabel != null) { + $result.localizedLabel = localizedLabel; + } + return $result; + } + QueryHeader._() : super(); + factory QueryHeader.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory QueryHeader.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'QueryHeader', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'Project', protoName: 'Project') + ..aOS(3, _omitFieldNames ? '' : 'PagingState', protoName: 'PagingState') + ..aOS(4, _omitFieldNames ? '' : 'Limit', protoName: 'Limit') + ..aOB(5, _omitFieldNames ? '' : 'LocalizedLabel', protoName: 'LocalizedLabel') + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + QueryHeader clone() => QueryHeader()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + QueryHeader copyWith(void Function(QueryHeader) updates) => super.copyWith((message) => updates(message as QueryHeader)) as QueryHeader; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static QueryHeader create() => QueryHeader._(); + QueryHeader createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static QueryHeader getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static QueryHeader? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get project => $_getSZ(0); + @$pb.TagNumber(1) + set project($core.String v) { $_setString(0, v); } + @$pb.TagNumber(1) + $core.bool hasProject() => $_has(0); + @$pb.TagNumber(1) + void clearProject() => clearField(1); + + /// string Author = 2; + @$pb.TagNumber(3) + $core.String get pagingState => $_getSZ(1); + @$pb.TagNumber(3) + set pagingState($core.String v) { $_setString(1, v); } + @$pb.TagNumber(3) + $core.bool hasPagingState() => $_has(1); + @$pb.TagNumber(3) + void clearPagingState() => clearField(3); + + @$pb.TagNumber(4) + $core.String get limit => $_getSZ(2); + @$pb.TagNumber(4) + set limit($core.String v) { $_setString(2, v); } + @$pb.TagNumber(4) + $core.bool hasLimit() => $_has(2); + @$pb.TagNumber(4) + void clearLimit() => clearField(4); + + @$pb.TagNumber(5) + $core.bool get localizedLabel => $_getBF(3); + @$pb.TagNumber(5) + set localizedLabel($core.bool v) { $_setBool(3, v); } + @$pb.TagNumber(5) + $core.bool hasLocalizedLabel() => $_has(3); + @$pb.TagNumber(5) + void clearLocalizedLabel() => clearField(5); +} + +/// Header for all query project messages +class QueryProjectHeader extends $pb.GeneratedMessage { + factory QueryProjectHeader({ + $core.String? projectID, + $core.String? pagingState, + $core.String? limit, + $core.bool? localizedLabel, + }) { + final $result = create(); + if (projectID != null) { + $result.projectID = projectID; + } + if (pagingState != null) { + $result.pagingState = pagingState; + } + if (limit != null) { + $result.limit = limit; + } + if (localizedLabel != null) { + $result.localizedLabel = localizedLabel; + } + return $result; + } + QueryProjectHeader._() : super(); + factory QueryProjectHeader.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory QueryProjectHeader.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'QueryProjectHeader', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'ProjectID', protoName: 'ProjectID') + ..aOS(3, _omitFieldNames ? '' : 'PagingState', protoName: 'PagingState') + ..aOS(4, _omitFieldNames ? '' : 'Limit', protoName: 'Limit') + ..aOB(5, _omitFieldNames ? '' : 'LocalizedLabel', protoName: 'LocalizedLabel') + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + QueryProjectHeader clone() => QueryProjectHeader()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + QueryProjectHeader copyWith(void Function(QueryProjectHeader) updates) => super.copyWith((message) => updates(message as QueryProjectHeader)) as QueryProjectHeader; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static QueryProjectHeader create() => QueryProjectHeader._(); + QueryProjectHeader createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static QueryProjectHeader getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static QueryProjectHeader? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get projectID => $_getSZ(0); + @$pb.TagNumber(1) + set projectID($core.String v) { $_setString(0, v); } + @$pb.TagNumber(1) + $core.bool hasProjectID() => $_has(0); + @$pb.TagNumber(1) + void clearProjectID() => clearField(1); + + @$pb.TagNumber(3) + $core.String get pagingState => $_getSZ(1); + @$pb.TagNumber(3) + set pagingState($core.String v) { $_setString(1, v); } + @$pb.TagNumber(3) + $core.bool hasPagingState() => $_has(1); + @$pb.TagNumber(3) + void clearPagingState() => clearField(3); + + @$pb.TagNumber(4) + $core.String get limit => $_getSZ(2); + @$pb.TagNumber(4) + set limit($core.String v) { $_setString(2, v); } + @$pb.TagNumber(4) + $core.bool hasLimit() => $_has(2); + @$pb.TagNumber(4) + void clearLimit() => clearField(4); + + @$pb.TagNumber(5) + $core.bool get localizedLabel => $_getBF(3); + @$pb.TagNumber(5) + set localizedLabel($core.bool v) { $_setBool(3, v); } + @$pb.TagNumber(5) + $core.bool hasLocalizedLabel() => $_has(3); + @$pb.TagNumber(5) + void clearLocalizedLabel() => clearField(5); +} + +class ResultHeader extends $pb.GeneratedMessage { + factory ResultHeader({ + $core.String? pagingState, + }) { + final $result = create(); + if (pagingState != null) { + $result.pagingState = pagingState; + } + return $result; + } + ResultHeader._() : super(); + factory ResultHeader.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory ResultHeader.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ResultHeader', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'PagingState', protoName: 'PagingState') + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + ResultHeader clone() => ResultHeader()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + ResultHeader copyWith(void Function(ResultHeader) updates) => super.copyWith((message) => updates(message as ResultHeader)) as ResultHeader; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static ResultHeader create() => ResultHeader._(); + ResultHeader createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static ResultHeader getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static ResultHeader? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get pagingState => $_getSZ(0); + @$pb.TagNumber(1) + set pagingState($core.String v) { $_setString(0, v); } + @$pb.TagNumber(1) + $core.bool hasPagingState() => $_has(0); + @$pb.TagNumber(1) + void clearPagingState() => clearField(1); +} + +/// Header for all command messages +class CommandHeader extends $pb.GeneratedMessage { + factory CommandHeader({ + $core.String? actionCommand, + DateTime? commandTS, + $core.String? project, + $core.String? fromDomain, + $core.String? fromObject, + $core.String? fromRule, + }) { + final $result = create(); + if (actionCommand != null) { + $result.actionCommand = actionCommand; + } + if (commandTS != null) { + $result.commandTS = commandTS; + } + if (project != null) { + $result.project = project; + } + if (fromDomain != null) { + $result.fromDomain = fromDomain; + } + if (fromObject != null) { + $result.fromObject = fromObject; + } + if (fromRule != null) { + $result.fromRule = fromRule; + } + return $result; + } + CommandHeader._() : super(); + factory CommandHeader.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory CommandHeader.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CommandHeader', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'ActionCommand', protoName: 'ActionCommand') + ..aOM(2, _omitFieldNames ? '' : 'CommandTS', protoName: 'CommandTS', subBuilder: DateTime.create) + ..aOS(3, _omitFieldNames ? '' : 'Project', protoName: 'Project') + ..aOS(4, _omitFieldNames ? '' : 'FromDomain', protoName: 'FromDomain') + ..aOS(5, _omitFieldNames ? '' : 'FromObject', protoName: 'FromObject') + ..aOS(6, _omitFieldNames ? '' : 'FromRule', protoName: 'FromRule') + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + CommandHeader clone() => CommandHeader()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + CommandHeader copyWith(void Function(CommandHeader) updates) => super.copyWith((message) => updates(message as CommandHeader)) as CommandHeader; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static CommandHeader create() => CommandHeader._(); + CommandHeader createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static CommandHeader getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static CommandHeader? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get actionCommand => $_getSZ(0); + @$pb.TagNumber(1) + set actionCommand($core.String v) { $_setString(0, v); } + @$pb.TagNumber(1) + $core.bool hasActionCommand() => $_has(0); + @$pb.TagNumber(1) + void clearActionCommand() => clearField(1); + + @$pb.TagNumber(2) + DateTime get commandTS => $_getN(1); + @$pb.TagNumber(2) + set commandTS(DateTime v) { setField(2, v); } + @$pb.TagNumber(2) + $core.bool hasCommandTS() => $_has(1); + @$pb.TagNumber(2) + void clearCommandTS() => clearField(2); + @$pb.TagNumber(2) + DateTime ensureCommandTS() => $_ensure(1); + + @$pb.TagNumber(3) + $core.String get project => $_getSZ(2); + @$pb.TagNumber(3) + set project($core.String v) { $_setString(2, v); } + @$pb.TagNumber(3) + $core.bool hasProject() => $_has(2); + @$pb.TagNumber(3) + void clearProject() => clearField(3); + + @$pb.TagNumber(4) + $core.String get fromDomain => $_getSZ(3); + @$pb.TagNumber(4) + set fromDomain($core.String v) { $_setString(3, v); } + @$pb.TagNumber(4) + $core.bool hasFromDomain() => $_has(3); + @$pb.TagNumber(4) + void clearFromDomain() => clearField(4); + + @$pb.TagNumber(5) + $core.String get fromObject => $_getSZ(4); + @$pb.TagNumber(5) + set fromObject($core.String v) { $_setString(4, v); } + @$pb.TagNumber(5) + $core.bool hasFromObject() => $_has(4); + @$pb.TagNumber(5) + void clearFromObject() => clearField(5); + + @$pb.TagNumber(6) + $core.String get fromRule => $_getSZ(5); + @$pb.TagNumber(6) + set fromRule($core.String v) { $_setString(5, v); } + @$pb.TagNumber(6) + $core.bool hasFromRule() => $_has(5); + @$pb.TagNumber(6) + void clearFromRule() => clearField(6); +} + +/// Header for all event messages +class EventHeader extends $pb.GeneratedMessage { + factory EventHeader({ + $core.String? inputEvent, + DateTime? eventTS, + $core.String? project, + $core.String? author, + $core.String? eventID, + }) { + final $result = create(); + if (inputEvent != null) { + $result.inputEvent = inputEvent; + } + if (eventTS != null) { + $result.eventTS = eventTS; + } + if (project != null) { + $result.project = project; + } + if (author != null) { + $result.author = author; + } + if (eventID != null) { + $result.eventID = eventID; + } + return $result; + } + EventHeader._() : super(); + factory EventHeader.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory EventHeader.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'EventHeader', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'InputEvent', protoName: 'InputEvent') + ..aOM(2, _omitFieldNames ? '' : 'EventTS', protoName: 'EventTS', subBuilder: DateTime.create) + ..aOS(3, _omitFieldNames ? '' : 'Project', protoName: 'Project') + ..aOS(4, _omitFieldNames ? '' : 'Author', protoName: 'Author') + ..aOS(5, _omitFieldNames ? '' : 'EventID', protoName: 'EventID') + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + EventHeader clone() => EventHeader()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + EventHeader copyWith(void Function(EventHeader) updates) => super.copyWith((message) => updates(message as EventHeader)) as EventHeader; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static EventHeader create() => EventHeader._(); + EventHeader createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static EventHeader getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static EventHeader? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get inputEvent => $_getSZ(0); + @$pb.TagNumber(1) + set inputEvent($core.String v) { $_setString(0, v); } + @$pb.TagNumber(1) + $core.bool hasInputEvent() => $_has(0); + @$pb.TagNumber(1) + void clearInputEvent() => clearField(1); + + @$pb.TagNumber(2) + DateTime get eventTS => $_getN(1); + @$pb.TagNumber(2) + set eventTS(DateTime v) { setField(2, v); } + @$pb.TagNumber(2) + $core.bool hasEventTS() => $_has(1); + @$pb.TagNumber(2) + void clearEventTS() => clearField(2); + @$pb.TagNumber(2) + DateTime ensureEventTS() => $_ensure(1); + + @$pb.TagNumber(3) + $core.String get project => $_getSZ(2); + @$pb.TagNumber(3) + set project($core.String v) { $_setString(2, v); } + @$pb.TagNumber(3) + $core.bool hasProject() => $_has(2); + @$pb.TagNumber(3) + void clearProject() => clearField(3); + + @$pb.TagNumber(4) + $core.String get author => $_getSZ(3); + @$pb.TagNumber(4) + set author($core.String v) { $_setString(3, v); } + @$pb.TagNumber(4) + $core.bool hasAuthor() => $_has(3); + @$pb.TagNumber(4) + void clearAuthor() => clearField(4); + + @$pb.TagNumber(5) + $core.String get eventID => $_getSZ(4); + @$pb.TagNumber(5) + set eventID($core.String v) { $_setString(4, v); } + @$pb.TagNumber(5) + $core.bool hasEventID() => $_has(4); + @$pb.TagNumber(5) + void clearEventID() => clearField(5); +} + +/// Generic Object structures +class EntityID extends $pb.GeneratedMessage { + factory EntityID({ + $core.String? refID, + }) { + final $result = create(); + if (refID != null) { + $result.refID = refID; + } + return $result; + } + EntityID._() : super(); + factory EntityID.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory EntityID.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'EntityID', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..aOS(2, _omitFieldNames ? '' : 'RefID', protoName: 'RefID') + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + EntityID clone() => EntityID()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + EntityID copyWith(void Function(EntityID) updates) => super.copyWith((message) => updates(message as EntityID)) as EntityID; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static EntityID create() => EntityID._(); + EntityID createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static EntityID getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static EntityID? _defaultInstance; + + /// string UuID = 1 [(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {read_only: true, description: "Internal identifier"}, (validate.rules).string.unauthorized = true]; + @$pb.TagNumber(2) + $core.String get refID => $_getSZ(0); + @$pb.TagNumber(2) + set refID($core.String v) { $_setString(0, v); } + @$pb.TagNumber(2) + $core.bool hasRefID() => $_has(0); + @$pb.TagNumber(2) + void clearRefID() => clearField(2); +} + +class GenericObject extends $pb.GeneratedMessage { + factory GenericObject({ + EventHeader? lastEventHeader, + GenericObjectPayload? payload, + }) { + final $result = create(); + if (lastEventHeader != null) { + $result.lastEventHeader = lastEventHeader; + } + if (payload != null) { + $result.payload = payload; + } + return $result; + } + GenericObject._() : super(); + factory GenericObject.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory GenericObject.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GenericObject', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..aOM(1, _omitFieldNames ? '' : 'LastEventHeader', protoName: 'LastEventHeader', subBuilder: EventHeader.create) + ..aOM(2, _omitFieldNames ? '' : 'Payload', protoName: 'Payload', subBuilder: GenericObjectPayload.create) + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + GenericObject clone() => GenericObject()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + GenericObject copyWith(void Function(GenericObject) updates) => super.copyWith((message) => updates(message as GenericObject)) as GenericObject; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static GenericObject create() => GenericObject._(); + GenericObject createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static GenericObject getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static GenericObject? _defaultInstance; + + @$pb.TagNumber(1) + EventHeader get lastEventHeader => $_getN(0); + @$pb.TagNumber(1) + set lastEventHeader(EventHeader v) { setField(1, v); } + @$pb.TagNumber(1) + $core.bool hasLastEventHeader() => $_has(0); + @$pb.TagNumber(1) + void clearLastEventHeader() => clearField(1); + @$pb.TagNumber(1) + EventHeader ensureLastEventHeader() => $_ensure(0); + + @$pb.TagNumber(2) + GenericObjectPayload get payload => $_getN(1); + @$pb.TagNumber(2) + set payload(GenericObjectPayload v) { setField(2, v); } + @$pb.TagNumber(2) + $core.bool hasPayload() => $_has(1); + @$pb.TagNumber(2) + void clearPayload() => clearField(2); + @$pb.TagNumber(2) + GenericObjectPayload ensurePayload() => $_ensure(1); +} + +class GenericObjectPayload extends $pb.GeneratedMessage { + factory GenericObjectPayload({ + EntityID? iD, + }) { + final $result = create(); + if (iD != null) { + $result.iD = iD; + } + return $result; + } + GenericObjectPayload._() : super(); + factory GenericObjectPayload.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory GenericObjectPayload.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GenericObjectPayload', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..aOM(1, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: EntityID.create) + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + GenericObjectPayload clone() => GenericObjectPayload()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + GenericObjectPayload copyWith(void Function(GenericObjectPayload) updates) => super.copyWith((message) => updates(message as GenericObjectPayload)) as GenericObjectPayload; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static GenericObjectPayload create() => GenericObjectPayload._(); + GenericObjectPayload createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static GenericObjectPayload getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static GenericObjectPayload? _defaultInstance; + + @$pb.TagNumber(1) + EntityID get iD => $_getN(0); + @$pb.TagNumber(1) + set iD(EntityID v) { setField(1, v); } + @$pb.TagNumber(1) + $core.bool hasID() => $_has(0); + @$pb.TagNumber(1) + void clearID() => clearField(1); + @$pb.TagNumber(1) + EntityID ensureID() => $_ensure(0); +} + +/// Common structures +class DateTime extends $pb.GeneratedMessage { + factory DateTime({ + $core.String? dateTime, + $core.String? authorTimeZone, + }) { + final $result = create(); + if (dateTime != null) { + $result.dateTime = dateTime; + } + if (authorTimeZone != null) { + $result.authorTimeZone = authorTimeZone; + } + return $result; + } + DateTime._() : super(); + factory DateTime.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory DateTime.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DateTime', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'DateTime', protoName: 'DateTime') + ..aOS(2, _omitFieldNames ? '' : 'AuthorTimeZone', protoName: 'AuthorTimeZone') + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + DateTime clone() => DateTime()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + DateTime copyWith(void Function(DateTime) updates) => super.copyWith((message) => updates(message as DateTime)) as DateTime; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static DateTime create() => DateTime._(); + DateTime createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static DateTime getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static DateTime? _defaultInstance; + + /// UTC date/time in ISO 8601 format with time zone (accepted tzd formats: [+01:00, -01:00, Z]) + @$pb.TagNumber(1) + $core.String get dateTime => $_getSZ(0); + @$pb.TagNumber(1) + set dateTime($core.String v) { $_setString(0, v); } + @$pb.TagNumber(1) + $core.bool hasDateTime() => $_has(0); + @$pb.TagNumber(1) + void clearDateTime() => clearField(1); + + /// Time zone from where the author emits the event + @$pb.TagNumber(2) + $core.String get authorTimeZone => $_getSZ(1); + @$pb.TagNumber(2) + set authorTimeZone($core.String v) { $_setString(1, v); } + @$pb.TagNumber(2) + $core.bool hasAuthorTimeZone() => $_has(1); + @$pb.TagNumber(2) + void clearAuthorTimeZone() => clearField(2); +} + +enum ValueType_ValueType { + string, + int_2, + float, + bool_4, + timestamp, + notSet +} + +class ValueType extends $pb.GeneratedMessage { + factory ValueType({ + $core.String? string, + $fixnum.Int64? int_2, + $core.double? float, + $core.bool? bool_4, + DateTime? timestamp, + }) { + final $result = create(); + if (string != null) { + $result.string = string; + } + if (int_2 != null) { + $result.int_2 = int_2; + } + if (float != null) { + $result.float = float; + } + if (bool_4 != null) { + $result.bool_4 = bool_4; + } + if (timestamp != null) { + $result.timestamp = timestamp; + } + return $result; + } + ValueType._() : super(); + factory ValueType.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory ValueType.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static const $core.Map<$core.int, ValueType_ValueType> _ValueType_ValueTypeByTag = { + 1 : ValueType_ValueType.string, + 2 : ValueType_ValueType.int_2, + 3 : ValueType_ValueType.float, + 4 : ValueType_ValueType.bool_4, + 5 : ValueType_ValueType.timestamp, + 0 : ValueType_ValueType.notSet + }; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ValueType', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..oo(0, [1, 2, 3, 4, 5]) + ..aOS(1, _omitFieldNames ? '' : 'String', protoName: 'String') + ..aInt64(2, _omitFieldNames ? '' : 'Int', protoName: 'Int') + ..a<$core.double>(3, _omitFieldNames ? '' : 'Float', $pb.PbFieldType.OF, protoName: 'Float') + ..aOB(4, _omitFieldNames ? '' : 'Bool', protoName: 'Bool') + ..aOM(5, _omitFieldNames ? '' : 'Timestamp', protoName: 'Timestamp', subBuilder: DateTime.create) + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + ValueType clone() => ValueType()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + ValueType copyWith(void Function(ValueType) updates) => super.copyWith((message) => updates(message as ValueType)) as ValueType; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static ValueType create() => ValueType._(); + ValueType createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static ValueType getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static ValueType? _defaultInstance; + + ValueType_ValueType whichValueType() => _ValueType_ValueTypeByTag[$_whichOneof(0)]!; + void clearValueType() => clearField($_whichOneof(0)); + + @$pb.TagNumber(1) + $core.String get string => $_getSZ(0); + @$pb.TagNumber(1) + set string($core.String v) { $_setString(0, v); } + @$pb.TagNumber(1) + $core.bool hasString() => $_has(0); + @$pb.TagNumber(1) + void clearString() => clearField(1); + + @$pb.TagNumber(2) + $fixnum.Int64 get int_2 => $_getI64(1); + @$pb.TagNumber(2) + set int_2($fixnum.Int64 v) { $_setInt64(1, v); } + @$pb.TagNumber(2) + $core.bool hasInt_2() => $_has(1); + @$pb.TagNumber(2) + void clearInt_2() => clearField(2); + + @$pb.TagNumber(3) + $core.double get float => $_getN(2); + @$pb.TagNumber(3) + set float($core.double v) { $_setFloat(2, v); } + @$pb.TagNumber(3) + $core.bool hasFloat() => $_has(2); + @$pb.TagNumber(3) + void clearFloat() => clearField(3); + + @$pb.TagNumber(4) + $core.bool get bool_4 => $_getBF(3); + @$pb.TagNumber(4) + set bool_4($core.bool v) { $_setBool(3, v); } + @$pb.TagNumber(4) + $core.bool hasBool_4() => $_has(3); + @$pb.TagNumber(4) + void clearBool_4() => clearField(4); + + @$pb.TagNumber(5) + DateTime get timestamp => $_getN(4); + @$pb.TagNumber(5) + set timestamp(DateTime v) { setField(5, v); } + @$pb.TagNumber(5) + $core.bool hasTimestamp() => $_has(4); + @$pb.TagNumber(5) + void clearTimestamp() => clearField(5); + @$pb.TagNumber(5) + DateTime ensureTimestamp() => $_ensure(4); +} + +class QuantityLength extends $pb.GeneratedMessage { + factory QuantityLength({ + $core.double? value, + $15.Length? unit, + }) { + final $result = create(); + if (value != null) { + $result.value = value; + } + if (unit != null) { + $result.unit = unit; + } + return $result; + } + QuantityLength._() : super(); + factory QuantityLength.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory QuantityLength.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'QuantityLength', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..a<$core.double>(1, _omitFieldNames ? '' : 'Value', $pb.PbFieldType.OF, protoName: 'Value') + ..e<$15.Length>(2, _omitFieldNames ? '' : 'Unit', $pb.PbFieldType.OE, protoName: 'Unit', defaultOrMaker: $15.Length.LENGTH_UNKNOWN, valueOf: $15.Length.valueOf, enumValues: $15.Length.values) + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + QuantityLength clone() => QuantityLength()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + QuantityLength copyWith(void Function(QuantityLength) updates) => super.copyWith((message) => updates(message as QuantityLength)) as QuantityLength; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static QuantityLength create() => QuantityLength._(); + QuantityLength createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static QuantityLength getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static QuantityLength? _defaultInstance; + + @$pb.TagNumber(1) + $core.double get value => $_getN(0); + @$pb.TagNumber(1) + set value($core.double v) { $_setFloat(0, v); } + @$pb.TagNumber(1) + $core.bool hasValue() => $_has(0); + @$pb.TagNumber(1) + void clearValue() => clearField(1); + + @$pb.TagNumber(2) + $15.Length get unit => $_getN(1); + @$pb.TagNumber(2) + set unit($15.Length v) { setField(2, v); } + @$pb.TagNumber(2) + $core.bool hasUnit() => $_has(1); + @$pb.TagNumber(2) + void clearUnit() => clearField(2); +} + +class QuantityVolume extends $pb.GeneratedMessage { + factory QuantityVolume({ + $core.double? value, + $15.Volume? unit, + }) { + final $result = create(); + if (value != null) { + $result.value = value; + } + if (unit != null) { + $result.unit = unit; + } + return $result; + } + QuantityVolume._() : super(); + factory QuantityVolume.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory QuantityVolume.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'QuantityVolume', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..a<$core.double>(1, _omitFieldNames ? '' : 'Value', $pb.PbFieldType.OF, protoName: 'Value') + ..e<$15.Volume>(2, _omitFieldNames ? '' : 'Unit', $pb.PbFieldType.OE, protoName: 'Unit', defaultOrMaker: $15.Volume.VOLUME_UNKNOWN, valueOf: $15.Volume.valueOf, enumValues: $15.Volume.values) + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + QuantityVolume clone() => QuantityVolume()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + QuantityVolume copyWith(void Function(QuantityVolume) updates) => super.copyWith((message) => updates(message as QuantityVolume)) as QuantityVolume; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static QuantityVolume create() => QuantityVolume._(); + QuantityVolume createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static QuantityVolume getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static QuantityVolume? _defaultInstance; + + @$pb.TagNumber(1) + $core.double get value => $_getN(0); + @$pb.TagNumber(1) + set value($core.double v) { $_setFloat(0, v); } + @$pb.TagNumber(1) + $core.bool hasValue() => $_has(0); + @$pb.TagNumber(1) + void clearValue() => clearField(1); + + @$pb.TagNumber(2) + $15.Volume get unit => $_getN(1); + @$pb.TagNumber(2) + set unit($15.Volume v) { setField(2, v); } + @$pb.TagNumber(2) + $core.bool hasUnit() => $_has(1); + @$pb.TagNumber(2) + void clearUnit() => clearField(2); +} + +class QuantityWeight extends $pb.GeneratedMessage { + factory QuantityWeight({ + $core.double? value, + $15.Weight? unit, + }) { + final $result = create(); + if (value != null) { + $result.value = value; + } + if (unit != null) { + $result.unit = unit; + } + return $result; + } + QuantityWeight._() : super(); + factory QuantityWeight.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory QuantityWeight.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'QuantityWeight', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..a<$core.double>(1, _omitFieldNames ? '' : 'Value', $pb.PbFieldType.OF, protoName: 'Value') + ..e<$15.Weight>(2, _omitFieldNames ? '' : 'Unit', $pb.PbFieldType.OE, protoName: 'Unit', defaultOrMaker: $15.Weight.WEIGHT_UNKNOWN, valueOf: $15.Weight.valueOf, enumValues: $15.Weight.values) + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + QuantityWeight clone() => QuantityWeight()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + QuantityWeight copyWith(void Function(QuantityWeight) updates) => super.copyWith((message) => updates(message as QuantityWeight)) as QuantityWeight; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static QuantityWeight create() => QuantityWeight._(); + QuantityWeight createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static QuantityWeight getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static QuantityWeight? _defaultInstance; + + @$pb.TagNumber(1) + $core.double get value => $_getN(0); + @$pb.TagNumber(1) + set value($core.double v) { $_setFloat(0, v); } + @$pb.TagNumber(1) + $core.bool hasValue() => $_has(0); + @$pb.TagNumber(1) + void clearValue() => clearField(1); + + @$pb.TagNumber(2) + $15.Weight get unit => $_getN(1); + @$pb.TagNumber(2) + set unit($15.Weight v) { setField(2, v); } + @$pb.TagNumber(2) + $core.bool hasUnit() => $_has(1); + @$pb.TagNumber(2) + void clearUnit() => clearField(2); +} + +class QuantityArea extends $pb.GeneratedMessage { + factory QuantityArea({ + $core.double? value, + $15.Area? unit, + }) { + final $result = create(); + if (value != null) { + $result.value = value; + } + if (unit != null) { + $result.unit = unit; + } + return $result; + } + QuantityArea._() : super(); + factory QuantityArea.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory QuantityArea.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'QuantityArea', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..a<$core.double>(1, _omitFieldNames ? '' : 'Value', $pb.PbFieldType.OF, protoName: 'Value') + ..e<$15.Area>(2, _omitFieldNames ? '' : 'Unit', $pb.PbFieldType.OE, protoName: 'Unit', defaultOrMaker: $15.Area.AREA_UNKNOWN, valueOf: $15.Area.valueOf, enumValues: $15.Area.values) + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + QuantityArea clone() => QuantityArea()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + QuantityArea copyWith(void Function(QuantityArea) updates) => super.copyWith((message) => updates(message as QuantityArea)) as QuantityArea; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static QuantityArea create() => QuantityArea._(); + QuantityArea createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static QuantityArea getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static QuantityArea? _defaultInstance; + + @$pb.TagNumber(1) + $core.double get value => $_getN(0); + @$pb.TagNumber(1) + set value($core.double v) { $_setFloat(0, v); } + @$pb.TagNumber(1) + $core.bool hasValue() => $_has(0); + @$pb.TagNumber(1) + void clearValue() => clearField(1); + + @$pb.TagNumber(2) + $15.Area get unit => $_getN(1); + @$pb.TagNumber(2) + set unit($15.Area v) { setField(2, v); } + @$pb.TagNumber(2) + $core.bool hasUnit() => $_has(1); + @$pb.TagNumber(2) + void clearUnit() => clearField(2); +} + +class QuantityUnit extends $pb.GeneratedMessage { + factory QuantityUnit({ + $core.double? value, + $15.DimensionLess? unit, + }) { + final $result = create(); + if (value != null) { + $result.value = value; + } + if (unit != null) { + $result.unit = unit; + } + return $result; + } + QuantityUnit._() : super(); + factory QuantityUnit.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory QuantityUnit.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'QuantityUnit', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..a<$core.double>(1, _omitFieldNames ? '' : 'Value', $pb.PbFieldType.OF, protoName: 'Value') + ..e<$15.DimensionLess>(2, _omitFieldNames ? '' : 'Unit', $pb.PbFieldType.OE, protoName: 'Unit', defaultOrMaker: $15.DimensionLess.DIMENSIONLESS_UNKNOWN, valueOf: $15.DimensionLess.valueOf, enumValues: $15.DimensionLess.values) + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + QuantityUnit clone() => QuantityUnit()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + QuantityUnit copyWith(void Function(QuantityUnit) updates) => super.copyWith((message) => updates(message as QuantityUnit)) as QuantityUnit; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static QuantityUnit create() => QuantityUnit._(); + QuantityUnit createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static QuantityUnit getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static QuantityUnit? _defaultInstance; + + @$pb.TagNumber(1) + $core.double get value => $_getN(0); + @$pb.TagNumber(1) + set value($core.double v) { $_setFloat(0, v); } + @$pb.TagNumber(1) + $core.bool hasValue() => $_has(0); + @$pb.TagNumber(1) + void clearValue() => clearField(1); + + @$pb.TagNumber(2) + $15.DimensionLess get unit => $_getN(1); + @$pb.TagNumber(2) + set unit($15.DimensionLess v) { setField(2, v); } + @$pb.TagNumber(2) + $core.bool hasUnit() => $_has(1); + @$pb.TagNumber(2) + void clearUnit() => clearField(2); +} + +/// Domain description +class DomainDescriptionRequest extends $pb.GeneratedMessage { + factory DomainDescriptionRequest() => create(); + DomainDescriptionRequest._() : super(); + factory DomainDescriptionRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory DomainDescriptionRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DomainDescriptionRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + DomainDescriptionRequest clone() => DomainDescriptionRequest()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + DomainDescriptionRequest copyWith(void Function(DomainDescriptionRequest) updates) => super.copyWith((message) => updates(message as DomainDescriptionRequest)) as DomainDescriptionRequest; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static DomainDescriptionRequest create() => DomainDescriptionRequest._(); + DomainDescriptionRequest createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static DomainDescriptionRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static DomainDescriptionRequest? _defaultInstance; +} + +class DomainDescriptionResponse extends $pb.GeneratedMessage { + factory DomainDescriptionResponse({ + ResponseHeader? header, + DomainDescription? payload, + }) { + final $result = create(); + if (header != null) { + $result.header = header; + } + if (payload != null) { + $result.payload = payload; + } + return $result; + } + DomainDescriptionResponse._() : super(); + factory DomainDescriptionResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory DomainDescriptionResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DomainDescriptionResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..aOM(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: ResponseHeader.create) + ..aOM(2, _omitFieldNames ? '' : 'Payload', protoName: 'Payload', subBuilder: DomainDescription.create) + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + DomainDescriptionResponse clone() => DomainDescriptionResponse()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + DomainDescriptionResponse copyWith(void Function(DomainDescriptionResponse) updates) => super.copyWith((message) => updates(message as DomainDescriptionResponse)) as DomainDescriptionResponse; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static DomainDescriptionResponse create() => DomainDescriptionResponse._(); + DomainDescriptionResponse createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static DomainDescriptionResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static DomainDescriptionResponse? _defaultInstance; + + @$pb.TagNumber(1) + ResponseHeader get header => $_getN(0); + @$pb.TagNumber(1) + set header(ResponseHeader v) { setField(1, v); } + @$pb.TagNumber(1) + $core.bool hasHeader() => $_has(0); + @$pb.TagNumber(1) + void clearHeader() => clearField(1); + @$pb.TagNumber(1) + ResponseHeader ensureHeader() => $_ensure(0); + + @$pb.TagNumber(2) + DomainDescription get payload => $_getN(1); + @$pb.TagNumber(2) + set payload(DomainDescription v) { setField(2, v); } + @$pb.TagNumber(2) + $core.bool hasPayload() => $_has(1); + @$pb.TagNumber(2) + void clearPayload() => clearField(2); + @$pb.TagNumber(2) + DomainDescription ensurePayload() => $_ensure(1); +} + +class DomainDescription extends $pb.GeneratedMessage { + factory DomainDescription({ + $core.String? name, + $core.Iterable? objectDescription, + }) { + final $result = create(); + if (name != null) { + $result.name = name; + } + if (objectDescription != null) { + $result.objectDescription.addAll(objectDescription); + } + return $result; + } + DomainDescription._() : super(); + factory DomainDescription.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory DomainDescription.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DomainDescription', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'Name', protoName: 'Name') + ..pc(2, _omitFieldNames ? '' : 'ObjectDescription', $pb.PbFieldType.PM, protoName: 'ObjectDescription', subBuilder: ObjectDescription.create) + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + DomainDescription clone() => DomainDescription()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + DomainDescription copyWith(void Function(DomainDescription) updates) => super.copyWith((message) => updates(message as DomainDescription)) as DomainDescription; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static DomainDescription create() => DomainDescription._(); + DomainDescription createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static DomainDescription getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static DomainDescription? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get name => $_getSZ(0); + @$pb.TagNumber(1) + set name($core.String v) { $_setString(0, v); } + @$pb.TagNumber(1) + $core.bool hasName() => $_has(0); + @$pb.TagNumber(1) + void clearName() => clearField(1); + + @$pb.TagNumber(2) + $core.List get objectDescription => $_getList(1); +} + +class ObjectDescription extends $pb.GeneratedMessage { + factory ObjectDescription({ + $core.String? name, + $core.Iterable? apiAction, + $core.String? payloadJSON, + $core.Iterable? apiInput, + $core.Iterable? apiQuery, + }) { + final $result = create(); + if (name != null) { + $result.name = name; + } + if (apiAction != null) { + $result.apiAction.addAll(apiAction); + } + if (payloadJSON != null) { + $result.payloadJSON = payloadJSON; + } + if (apiInput != null) { + $result.apiInput.addAll(apiInput); + } + if (apiQuery != null) { + $result.apiQuery.addAll(apiQuery); + } + return $result; + } + ObjectDescription._() : super(); + factory ObjectDescription.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory ObjectDescription.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ObjectDescription', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'Name', protoName: 'Name') + ..pc(2, _omitFieldNames ? '' : 'ApiAction', $pb.PbFieldType.PM, protoName: 'ApiAction', subBuilder: ObjectAction.create) + ..aOS(3, _omitFieldNames ? '' : 'PayloadJSON', protoName: 'PayloadJSON') + ..pc(4, _omitFieldNames ? '' : 'ApiInput', $pb.PbFieldType.PM, protoName: 'ApiInput', subBuilder: ObjectAction.create) + ..pc(5, _omitFieldNames ? '' : 'ApiQuery', $pb.PbFieldType.PM, protoName: 'ApiQuery', subBuilder: ObjectAction.create) + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + ObjectDescription clone() => ObjectDescription()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + ObjectDescription copyWith(void Function(ObjectDescription) updates) => super.copyWith((message) => updates(message as ObjectDescription)) as ObjectDescription; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static ObjectDescription create() => ObjectDescription._(); + ObjectDescription createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static ObjectDescription getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static ObjectDescription? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get name => $_getSZ(0); + @$pb.TagNumber(1) + set name($core.String v) { $_setString(0, v); } + @$pb.TagNumber(1) + $core.bool hasName() => $_has(0); + @$pb.TagNumber(1) + void clearName() => clearField(1); + + @$pb.TagNumber(2) + $core.List get apiAction => $_getList(1); + + @$pb.TagNumber(3) + $core.String get payloadJSON => $_getSZ(2); + @$pb.TagNumber(3) + set payloadJSON($core.String v) { $_setString(2, v); } + @$pb.TagNumber(3) + $core.bool hasPayloadJSON() => $_has(2); + @$pb.TagNumber(3) + void clearPayloadJSON() => clearField(3); + + @$pb.TagNumber(4) + $core.List get apiInput => $_getList(3); + + @$pb.TagNumber(5) + $core.List get apiQuery => $_getList(4); +} + +class ObjectAction extends $pb.GeneratedMessage { + factory ObjectAction({ + $core.String? name, + $core.String? jsonTemplate, + }) { + final $result = create(); + if (name != null) { + $result.name = name; + } + if (jsonTemplate != null) { + $result.jsonTemplate = jsonTemplate; + } + return $result; + } + ObjectAction._() : super(); + factory ObjectAction.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory ObjectAction.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ObjectAction', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'Name', protoName: 'Name') + ..aOS(2, _omitFieldNames ? '' : 'JsonTemplate', protoName: 'JsonTemplate') + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + ObjectAction clone() => ObjectAction()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + ObjectAction copyWith(void Function(ObjectAction) updates) => super.copyWith((message) => updates(message as ObjectAction)) as ObjectAction; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static ObjectAction create() => ObjectAction._(); + ObjectAction createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static ObjectAction getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static ObjectAction? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get name => $_getSZ(0); + @$pb.TagNumber(1) + set name($core.String v) { $_setString(0, v); } + @$pb.TagNumber(1) + $core.bool hasName() => $_has(0); + @$pb.TagNumber(1) + void clearName() => clearField(1); + + @$pb.TagNumber(2) + $core.String get jsonTemplate => $_getSZ(1); + @$pb.TagNumber(2) + set jsonTemplate($core.String v) { $_setString(1, v); } + @$pb.TagNumber(2) + $core.bool hasJsonTemplate() => $_has(1); + @$pb.TagNumber(2) + void clearJsonTemplate() => clearField(2); +} + +/// * +/// Message to store metadata definition +class MetadataElement extends $pb.GeneratedMessage { + factory MetadataElement({ + $core.String? key, + ValueType? value, + }) { + final $result = create(); + if (key != null) { + $result.key = key; + } + if (value != null) { + $result.value = value; + } + return $result; + } + MetadataElement._() : super(); + factory MetadataElement.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory MetadataElement.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'MetadataElement', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'Key', protoName: 'Key') + ..aOM(2, _omitFieldNames ? '' : 'Value', protoName: 'Value', subBuilder: ValueType.create) + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + MetadataElement clone() => MetadataElement()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + MetadataElement copyWith(void Function(MetadataElement) updates) => super.copyWith((message) => updates(message as MetadataElement)) as MetadataElement; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static MetadataElement create() => MetadataElement._(); + MetadataElement createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static MetadataElement getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static MetadataElement? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get key => $_getSZ(0); + @$pb.TagNumber(1) + set key($core.String v) { $_setString(0, v); } + @$pb.TagNumber(1) + $core.bool hasKey() => $_has(0); + @$pb.TagNumber(1) + void clearKey() => clearField(1); + + @$pb.TagNumber(2) + ValueType get value => $_getN(1); + @$pb.TagNumber(2) + set value(ValueType v) { setField(2, v); } + @$pb.TagNumber(2) + $core.bool hasValue() => $_has(1); + @$pb.TagNumber(2) + void clearValue() => clearField(2); + @$pb.TagNumber(2) + ValueType ensureValue() => $_ensure(1); +} + +/// Filter on a simple value +class SimpleFilter extends $pb.GeneratedMessage { + factory SimpleFilter({ + $core.String? attribute, + $core.String? value, + $core.Iterable<$core.String>? values, + $core.String? operator, + $core.String? combinedID, + }) { + final $result = create(); + if (attribute != null) { + $result.attribute = attribute; + } + if (value != null) { + $result.value = value; + } + if (values != null) { + $result.values.addAll(values); + } + if (operator != null) { + $result.operator = operator; + } + if (combinedID != null) { + $result.combinedID = combinedID; + } + return $result; + } + SimpleFilter._() : super(); + factory SimpleFilter.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory SimpleFilter.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SimpleFilter', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'Attribute', protoName: 'Attribute') + ..aOS(2, _omitFieldNames ? '' : 'Value', protoName: 'Value') + ..pPS(3, _omitFieldNames ? '' : 'Values', protoName: 'Values') + ..aOS(4, _omitFieldNames ? '' : 'Operator', protoName: 'Operator') + ..aOS(5, _omitFieldNames ? '' : 'CombinedID', protoName: 'CombinedID') + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + SimpleFilter clone() => SimpleFilter()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + SimpleFilter copyWith(void Function(SimpleFilter) updates) => super.copyWith((message) => updates(message as SimpleFilter)) as SimpleFilter; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static SimpleFilter create() => SimpleFilter._(); + SimpleFilter createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static SimpleFilter getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static SimpleFilter? _defaultInstance; + + /// Filter path + @$pb.TagNumber(1) + $core.String get attribute => $_getSZ(0); + @$pb.TagNumber(1) + set attribute($core.String v) { $_setString(0, v); } + @$pb.TagNumber(1) + $core.bool hasAttribute() => $_has(0); + @$pb.TagNumber(1) + void clearAttribute() => clearField(1); + + /// Use this parameter if only one value + @$pb.TagNumber(2) + $core.String get value => $_getSZ(1); + @$pb.TagNumber(2) + set value($core.String v) { $_setString(1, v); } + @$pb.TagNumber(2) + $core.bool hasValue() => $_has(1); + @$pb.TagNumber(2) + void clearValue() => clearField(2); + + /// Use this parameter if more than one value + @$pb.TagNumber(3) + $core.List<$core.String> get values => $_getList(2); + + /// \" EQUAL: 'EQUAL',  DIFF: 'DIFF',  START_BY: 'START_BY',  NOT_START_BY: 'NOT_START_BY',  FINISH_BY: 'FINISH_BY',  NOT_FINISH_BY: 'NOT_FINISH_BY',  CONTAINS: 'CONTAINS',  NOT_CONTAINS: 'NOT_CONTAINS'\" + @$pb.TagNumber(4) + $core.String get operator => $_getSZ(3); + @$pb.TagNumber(4) + set operator($core.String v) { $_setString(3, v); } + @$pb.TagNumber(4) + $core.bool hasOperator() => $_has(3); + @$pb.TagNumber(4) + void clearOperator() => clearField(4); + + /// metadata's key + @$pb.TagNumber(5) + $core.String get combinedID => $_getSZ(4); + @$pb.TagNumber(5) + set combinedID($core.String v) { $_setString(4, v); } + @$pb.TagNumber(5) + $core.bool hasCombinedID() => $_has(4); + @$pb.TagNumber(5) + void clearCombinedID() => clearField(5); +} + +/// +/// Combined filter structure for Find query +class CombinedFilter extends $pb.GeneratedMessage { + factory CombinedFilter({ + $core.String? path, + $core.Iterable? simpleFilters, + $core.Iterable? rangeFilters, + $core.String? combinedID, + }) { + final $result = create(); + if (path != null) { + $result.path = path; + } + if (simpleFilters != null) { + $result.simpleFilters.addAll(simpleFilters); + } + if (rangeFilters != null) { + $result.rangeFilters.addAll(rangeFilters); + } + if (combinedID != null) { + $result.combinedID = combinedID; + } + return $result; + } + CombinedFilter._() : super(); + factory CombinedFilter.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory CombinedFilter.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CombinedFilter', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'Path', protoName: 'Path') + ..pc(2, _omitFieldNames ? '' : 'simpleFilters', $pb.PbFieldType.PM, protoName: 'simpleFilters', subBuilder: SimpleFilter.create) + ..pc(3, _omitFieldNames ? '' : 'rangeFilters', $pb.PbFieldType.PM, protoName: 'rangeFilters', subBuilder: RangeFilter.create) + ..aOS(4, _omitFieldNames ? '' : 'CombinedID', protoName: 'CombinedID') + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + CombinedFilter clone() => CombinedFilter()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + CombinedFilter copyWith(void Function(CombinedFilter) updates) => super.copyWith((message) => updates(message as CombinedFilter)) as CombinedFilter; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static CombinedFilter create() => CombinedFilter._(); + CombinedFilter createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static CombinedFilter getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static CombinedFilter? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get path => $_getSZ(0); + @$pb.TagNumber(1) + set path($core.String v) { $_setString(0, v); } + @$pb.TagNumber(1) + $core.bool hasPath() => $_has(0); + @$pb.TagNumber(1) + void clearPath() => clearField(1); + + /// Simple filter structure for Find query + @$pb.TagNumber(2) + $core.List get simpleFilters => $_getList(1); + + /// Range filter structure for Find query + @$pb.TagNumber(3) + $core.List get rangeFilters => $_getList(2); + + @$pb.TagNumber(4) + $core.String get combinedID => $_getSZ(3); + @$pb.TagNumber(4) + set combinedID($core.String v) { $_setString(3, v); } + @$pb.TagNumber(4) + $core.bool hasCombinedID() => $_has(3); + @$pb.TagNumber(4) + void clearCombinedID() => clearField(4); +} + +/// Filter between two values +class RangeFilter extends $pb.GeneratedMessage { + factory RangeFilter({ + $core.String? attribute, + $core.String? valueLt, + $core.String? valueGt, + $core.String? combinedID, + }) { + final $result = create(); + if (attribute != null) { + $result.attribute = attribute; + } + if (valueLt != null) { + $result.valueLt = valueLt; + } + if (valueGt != null) { + $result.valueGt = valueGt; + } + if (combinedID != null) { + $result.combinedID = combinedID; + } + return $result; + } + RangeFilter._() : super(); + factory RangeFilter.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory RangeFilter.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RangeFilter', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'Attribute', protoName: 'Attribute') + ..aOS(2, _omitFieldNames ? '' : 'valueLt', protoName: 'valueLt') + ..aOS(3, _omitFieldNames ? '' : 'valueGt', protoName: 'valueGt') + ..aOS(4, _omitFieldNames ? '' : 'CombinedID', protoName: 'CombinedID') + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + RangeFilter clone() => RangeFilter()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + RangeFilter copyWith(void Function(RangeFilter) updates) => super.copyWith((message) => updates(message as RangeFilter)) as RangeFilter; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static RangeFilter create() => RangeFilter._(); + RangeFilter createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static RangeFilter getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static RangeFilter? _defaultInstance; + + /// Filter path + @$pb.TagNumber(1) + $core.String get attribute => $_getSZ(0); + @$pb.TagNumber(1) + set attribute($core.String v) { $_setString(0, v); } + @$pb.TagNumber(1) + $core.bool hasAttribute() => $_has(0); + @$pb.TagNumber(1) + void clearAttribute() => clearField(1); + + /// Maximum value + @$pb.TagNumber(2) + $core.String get valueLt => $_getSZ(1); + @$pb.TagNumber(2) + set valueLt($core.String v) { $_setString(1, v); } + @$pb.TagNumber(2) + $core.bool hasValueLt() => $_has(1); + @$pb.TagNumber(2) + void clearValueLt() => clearField(2); + + /// Minimum value + @$pb.TagNumber(3) + $core.String get valueGt => $_getSZ(2); + @$pb.TagNumber(3) + set valueGt($core.String v) { $_setString(2, v); } + @$pb.TagNumber(3) + $core.bool hasValueGt() => $_has(2); + @$pb.TagNumber(3) + void clearValueGt() => clearField(3); + + /// Metadata's key + @$pb.TagNumber(4) + $core.String get combinedID => $_getSZ(3); + @$pb.TagNumber(4) + set combinedID($core.String v) { $_setString(3, v); } + @$pb.TagNumber(4) + $core.bool hasCombinedID() => $_has(3); + @$pb.TagNumber(4) + void clearCombinedID() => clearField(4); +} + +/// +/// Block filter structure for Find query, each element (SimpleFilter, RangeFilter & BlockFilter) is an "AND" part of the query +class BlockFilter extends $pb.GeneratedMessage { + factory BlockFilter({ + $core.Iterable? simpleFilters, + $core.Iterable? rangeFilters, + $core.Iterable? blockFilters, + }) { + final $result = create(); + if (simpleFilters != null) { + $result.simpleFilters.addAll(simpleFilters); + } + if (rangeFilters != null) { + $result.rangeFilters.addAll(rangeFilters); + } + if (blockFilters != null) { + $result.blockFilters.addAll(blockFilters); + } + return $result; + } + BlockFilter._() : super(); + factory BlockFilter.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory BlockFilter.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'BlockFilter', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..pc(1, _omitFieldNames ? '' : 'simpleFilters', $pb.PbFieldType.PM, protoName: 'simpleFilters', subBuilder: SimpleFilter.create) + ..pc(2, _omitFieldNames ? '' : 'rangeFilters', $pb.PbFieldType.PM, protoName: 'rangeFilters', subBuilder: RangeFilter.create) + ..pc(3, _omitFieldNames ? '' : 'BlockFilters', $pb.PbFieldType.PM, protoName: 'BlockFilters', subBuilder: BlockFilter.create) + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + BlockFilter clone() => BlockFilter()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + BlockFilter copyWith(void Function(BlockFilter) updates) => super.copyWith((message) => updates(message as BlockFilter)) as BlockFilter; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static BlockFilter create() => BlockFilter._(); + BlockFilter createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static BlockFilter getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static BlockFilter? _defaultInstance; + + /// Simple filter structure for Find query + @$pb.TagNumber(1) + $core.List get simpleFilters => $_getList(0); + + /// Range filter structure for Find query + @$pb.TagNumber(2) + $core.List get rangeFilters => $_getList(1); + + /// block filter structure for Find query + @$pb.TagNumber(3) + $core.List get blockFilters => $_getList(2); +} + +/// +/// MatchField structure, for FindMatching query +class MatchField extends $pb.GeneratedMessage { + factory MatchField({ + $core.String? attribute, + $core.String? attributeCombined, + $core.String? combinedID, + }) { + final $result = create(); + if (attribute != null) { + $result.attribute = attribute; + } + if (attributeCombined != null) { + $result.attributeCombined = attributeCombined; + } + if (combinedID != null) { + $result.combinedID = combinedID; + } + return $result; + } + MatchField._() : super(); + factory MatchField.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory MatchField.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'MatchField', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'Attribute', protoName: 'Attribute') + ..aOS(2, _omitFieldNames ? '' : 'AttributeCombined', protoName: 'AttributeCombined') + ..aOS(3, _omitFieldNames ? '' : 'CombinedID', protoName: 'CombinedID') + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + MatchField clone() => MatchField()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + MatchField copyWith(void Function(MatchField) updates) => super.copyWith((message) => updates(message as MatchField)) as MatchField; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static MatchField create() => MatchField._(); + MatchField createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static MatchField getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static MatchField? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get attribute => $_getSZ(0); + @$pb.TagNumber(1) + set attribute($core.String v) { $_setString(0, v); } + @$pb.TagNumber(1) + $core.bool hasAttribute() => $_has(0); + @$pb.TagNumber(1) + void clearAttribute() => clearField(1); + + @$pb.TagNumber(2) + $core.String get attributeCombined => $_getSZ(1); + @$pb.TagNumber(2) + set attributeCombined($core.String v) { $_setString(1, v); } + @$pb.TagNumber(2) + $core.bool hasAttributeCombined() => $_has(1); + @$pb.TagNumber(2) + void clearAttributeCombined() => clearField(2); + + @$pb.TagNumber(3) + $core.String get combinedID => $_getSZ(2); + @$pb.TagNumber(3) + set combinedID($core.String v) { $_setString(2, v); } + @$pb.TagNumber(3) + $core.bool hasCombinedID() => $_has(2); + @$pb.TagNumber(3) + void clearCombinedID() => clearField(3); +} + +/// +/// structure containing error key & value +class ErrorDetail extends $pb.GeneratedMessage { + factory ErrorDetail({ + $core.String? key, + $core.String? value, + }) { + final $result = create(); + if (key != null) { + $result.key = key; + } + if (value != null) { + $result.value = value; + } + return $result; + } + ErrorDetail._() : super(); + factory ErrorDetail.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory ErrorDetail.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ErrorDetail', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'Key', protoName: 'Key') + ..aOS(2, _omitFieldNames ? '' : 'Value', protoName: 'Value') + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + ErrorDetail clone() => ErrorDetail()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + ErrorDetail copyWith(void Function(ErrorDetail) updates) => super.copyWith((message) => updates(message as ErrorDetail)) as ErrorDetail; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static ErrorDetail create() => ErrorDetail._(); + ErrorDetail createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static ErrorDetail getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static ErrorDetail? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get key => $_getSZ(0); + @$pb.TagNumber(1) + set key($core.String v) { $_setString(0, v); } + @$pb.TagNumber(1) + $core.bool hasKey() => $_has(0); + @$pb.TagNumber(1) + void clearKey() => clearField(1); + + @$pb.TagNumber(2) + $core.String get value => $_getSZ(1); + @$pb.TagNumber(2) + set value($core.String v) { $_setString(1, v); } + @$pb.TagNumber(2) + $core.bool hasValue() => $_has(1); + @$pb.TagNumber(2) + void clearValue() => clearField(2); +} + +/// +/// Error message to be found in all rpc responses +class Errors extends $pb.GeneratedMessage { + factory Errors({ + $core.String? errorCode, + $core.String? errorTrace, + $core.Iterable? errorDetails, + $core.String? contextType, + $core.String? contextProcess, + $core.String? contextPayload, + }) { + final $result = create(); + if (errorCode != null) { + $result.errorCode = errorCode; + } + if (errorTrace != null) { + $result.errorTrace = errorTrace; + } + if (errorDetails != null) { + $result.errorDetails.addAll(errorDetails); + } + if (contextType != null) { + $result.contextType = contextType; + } + if (contextProcess != null) { + $result.contextProcess = contextProcess; + } + if (contextPayload != null) { + $result.contextPayload = contextPayload; + } + return $result; + } + Errors._() : super(); + factory Errors.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory Errors.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Errors', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'ErrorCode', protoName: 'ErrorCode') + ..aOS(2, _omitFieldNames ? '' : 'ErrorTrace', protoName: 'ErrorTrace') + ..pc(3, _omitFieldNames ? '' : 'ErrorDetails', $pb.PbFieldType.PM, protoName: 'ErrorDetails', subBuilder: ErrorDetail.create) + ..aOS(4, _omitFieldNames ? '' : 'ContextType', protoName: 'ContextType') + ..aOS(5, _omitFieldNames ? '' : 'ContextProcess', protoName: 'ContextProcess') + ..aOS(6, _omitFieldNames ? '' : 'ContextPayload', protoName: 'ContextPayload') + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + Errors clone() => Errors()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + Errors copyWith(void Function(Errors) updates) => super.copyWith((message) => updates(message as Errors)) as Errors; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static Errors create() => Errors._(); + Errors createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static Errors getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static Errors? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get errorCode => $_getSZ(0); + @$pb.TagNumber(1) + set errorCode($core.String v) { $_setString(0, v); } + @$pb.TagNumber(1) + $core.bool hasErrorCode() => $_has(0); + @$pb.TagNumber(1) + void clearErrorCode() => clearField(1); + + @$pb.TagNumber(2) + $core.String get errorTrace => $_getSZ(1); + @$pb.TagNumber(2) + set errorTrace($core.String v) { $_setString(1, v); } + @$pb.TagNumber(2) + $core.bool hasErrorTrace() => $_has(1); + @$pb.TagNumber(2) + void clearErrorTrace() => clearField(2); + + @$pb.TagNumber(3) + $core.List get errorDetails => $_getList(2); + + @$pb.TagNumber(4) + $core.String get contextType => $_getSZ(3); + @$pb.TagNumber(4) + set contextType($core.String v) { $_setString(3, v); } + @$pb.TagNumber(4) + $core.bool hasContextType() => $_has(3); + @$pb.TagNumber(4) + void clearContextType() => clearField(4); + + @$pb.TagNumber(5) + $core.String get contextProcess => $_getSZ(4); + @$pb.TagNumber(5) + set contextProcess($core.String v) { $_setString(4, v); } + @$pb.TagNumber(5) + $core.bool hasContextProcess() => $_has(4); + @$pb.TagNumber(5) + void clearContextProcess() => clearField(5); + + @$pb.TagNumber(6) + $core.String get contextPayload => $_getSZ(5); + @$pb.TagNumber(6) + set contextPayload($core.String v) { $_setString(5, v); } + @$pb.TagNumber(6) + $core.bool hasContextPayload() => $_has(5); + @$pb.TagNumber(6) + void clearContextPayload() => clearField(6); +} + +/// +/// structure containing error key & value +class ParamElement extends $pb.GeneratedMessage { + factory ParamElement({ + $core.String? key, + ValueType? value, + }) { + final $result = create(); + if (key != null) { + $result.key = key; + } + if (value != null) { + $result.value = value; + } + return $result; + } + ParamElement._() : super(); + factory ParamElement.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory ParamElement.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ParamElement', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'Key', protoName: 'Key') + ..aOM(3, _omitFieldNames ? '' : 'Value', protoName: 'Value', subBuilder: ValueType.create) + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + ParamElement clone() => ParamElement()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + ParamElement copyWith(void Function(ParamElement) updates) => super.copyWith((message) => updates(message as ParamElement)) as ParamElement; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static ParamElement create() => ParamElement._(); + ParamElement createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static ParamElement getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static ParamElement? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get key => $_getSZ(0); + @$pb.TagNumber(1) + set key($core.String v) { $_setString(0, v); } + @$pb.TagNumber(1) + $core.bool hasKey() => $_has(0); + @$pb.TagNumber(1) + void clearKey() => clearField(1); + + /// string Value = 2; + @$pb.TagNumber(3) + ValueType get value => $_getN(1); + @$pb.TagNumber(3) + set value(ValueType v) { setField(3, v); } + @$pb.TagNumber(3) + $core.bool hasValue() => $_has(1); + @$pb.TagNumber(3) + void clearValue() => clearField(3); + @$pb.TagNumber(3) + ValueType ensureValue() => $_ensure(1); +} + +class LabelStructure extends $pb.GeneratedMessage { + factory LabelStructure({ + $core.String? code, + $core.String? label, + $core.Iterable? params, + }) { + final $result = create(); + if (code != null) { + $result.code = code; + } + if (label != null) { + $result.label = label; + } + if (params != null) { + $result.params.addAll(params); + } + return $result; + } + LabelStructure._() : super(); + factory LabelStructure.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory LabelStructure.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'LabelStructure', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'Code', protoName: 'Code') + ..aOS(2, _omitFieldNames ? '' : 'Label', protoName: 'Label') + ..pc(3, _omitFieldNames ? '' : 'Params', $pb.PbFieldType.PM, protoName: 'Params', subBuilder: ParamElement.create) + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + LabelStructure clone() => LabelStructure()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + LabelStructure copyWith(void Function(LabelStructure) updates) => super.copyWith((message) => updates(message as LabelStructure)) as LabelStructure; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static LabelStructure create() => LabelStructure._(); + LabelStructure createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static LabelStructure getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static LabelStructure? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get code => $_getSZ(0); + @$pb.TagNumber(1) + set code($core.String v) { $_setString(0, v); } + @$pb.TagNumber(1) + $core.bool hasCode() => $_has(0); + @$pb.TagNumber(1) + void clearCode() => clearField(1); + + @$pb.TagNumber(2) + $core.String get label => $_getSZ(1); + @$pb.TagNumber(2) + set label($core.String v) { $_setString(1, v); } + @$pb.TagNumber(2) + $core.bool hasLabel() => $_has(1); + @$pb.TagNumber(2) + void clearLabel() => clearField(2); + + @$pb.TagNumber(3) + $core.List get params => $_getList(2); +} + +class Credentials extends $pb.GeneratedMessage { + factory Credentials({ + $core.String? jwt, + $core.String? seed, + }) { + final $result = create(); + if (jwt != null) { + $result.jwt = jwt; + } + if (seed != null) { + $result.seed = seed; + } + return $result; + } + Credentials._() : super(); + factory Credentials.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory Credentials.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Credentials', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'Jwt', protoName: 'Jwt') + ..aOS(2, _omitFieldNames ? '' : 'Seed', protoName: 'Seed') + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + Credentials clone() => Credentials()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + Credentials copyWith(void Function(Credentials) updates) => super.copyWith((message) => updates(message as Credentials)) as Credentials; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static Credentials create() => Credentials._(); + Credentials createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static Credentials getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static Credentials? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get jwt => $_getSZ(0); + @$pb.TagNumber(1) + set jwt($core.String v) { $_setString(0, v); } + @$pb.TagNumber(1) + $core.bool hasJwt() => $_has(0); + @$pb.TagNumber(1) + void clearJwt() => clearField(1); + + @$pb.TagNumber(2) + $core.String get seed => $_getSZ(1); + @$pb.TagNumber(2) + set seed($core.String v) { $_setString(1, v); } + @$pb.TagNumber(2) + $core.bool hasSeed() => $_has(1); + @$pb.TagNumber(2) + void clearSeed() => clearField(2); +} + +class Int32Object extends $pb.GeneratedMessage { + factory Int32Object({ + $core.int? int32, + }) { + final $result = create(); + if (int32 != null) { + $result.int32 = int32; + } + return $result; + } + Int32Object._() : super(); + factory Int32Object.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory Int32Object.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Int32Object', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..a<$core.int>(1, _omitFieldNames ? '' : 'Int32', $pb.PbFieldType.O3, protoName: 'Int32') + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + Int32Object clone() => Int32Object()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + Int32Object copyWith(void Function(Int32Object) updates) => super.copyWith((message) => updates(message as Int32Object)) as Int32Object; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static Int32Object create() => Int32Object._(); + Int32Object createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static Int32Object getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static Int32Object? _defaultInstance; + + @$pb.TagNumber(1) + $core.int get int32 => $_getIZ(0); + @$pb.TagNumber(1) + set int32($core.int v) { $_setSignedInt32(0, v); } + @$pb.TagNumber(1) + $core.bool hasInt32() => $_has(0); + @$pb.TagNumber(1) + void clearInt32() => clearField(1); +} + +class BoolObject extends $pb.GeneratedMessage { + factory BoolObject({ + $core.bool? bool_1, + }) { + final $result = create(); + if (bool_1 != null) { + $result.bool_1 = bool_1; + } + return $result; + } + BoolObject._() : super(); + factory BoolObject.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory BoolObject.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'BoolObject', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..aOB(1, _omitFieldNames ? '' : 'Bool', protoName: 'Bool') + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + BoolObject clone() => BoolObject()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + BoolObject copyWith(void Function(BoolObject) updates) => super.copyWith((message) => updates(message as BoolObject)) as BoolObject; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static BoolObject create() => BoolObject._(); + BoolObject createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static BoolObject getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static BoolObject? _defaultInstance; + + @$pb.TagNumber(1) + $core.bool get bool_1 => $_getBF(0); + @$pb.TagNumber(1) + set bool_1($core.bool v) { $_setBool(0, v); } + @$pb.TagNumber(1) + $core.bool hasBool_1() => $_has(0); + @$pb.TagNumber(1) + void clearBool_1() => clearField(1); +} + +class StringObject extends $pb.GeneratedMessage { + factory StringObject({ + $core.String? string, + }) { + final $result = create(); + if (string != null) { + $result.string = string; + } + return $result; + } + StringObject._() : super(); + factory StringObject.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory StringObject.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'StringObject', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'String', protoName: 'String') + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + StringObject clone() => StringObject()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + StringObject copyWith(void Function(StringObject) updates) => super.copyWith((message) => updates(message as StringObject)) as StringObject; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static StringObject create() => StringObject._(); + StringObject createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static StringObject getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static StringObject? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get string => $_getSZ(0); + @$pb.TagNumber(1) + set string($core.String v) { $_setString(0, v); } + @$pb.TagNumber(1) + $core.bool hasString() => $_has(0); + @$pb.TagNumber(1) + void clearString() => clearField(1); +} + +class StringDateObject extends $pb.GeneratedMessage { + factory StringDateObject({ + $core.String? dateTime, + }) { + final $result = create(); + if (dateTime != null) { + $result.dateTime = dateTime; + } + return $result; + } + StringDateObject._() : super(); + factory StringDateObject.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory StringDateObject.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'StringDateObject', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..aOS(10, _omitFieldNames ? '' : 'DateTime', protoName: 'DateTime') + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + StringDateObject clone() => StringDateObject()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + StringDateObject copyWith(void Function(StringDateObject) updates) => super.copyWith((message) => updates(message as StringDateObject)) as StringDateObject; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static StringDateObject create() => StringDateObject._(); + StringDateObject createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static StringDateObject getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static StringDateObject? _defaultInstance; + + /// UTC date/time in ISO 8601 format with time zone (accepted tzd formats: [+01:00, -01:00, Z]) + @$pb.TagNumber(10) + $core.String get dateTime => $_getSZ(0); + @$pb.TagNumber(10) + set dateTime($core.String v) { $_setString(0, v); } + @$pb.TagNumber(10) + $core.bool hasDateTime() => $_has(0); + @$pb.TagNumber(10) + void clearDateTime() => clearField(10); +} + + +const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); +const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/core/shared.pbenum.dart b/lib/core/shared.pbenum.dart new file mode 100644 index 0000000..bbd757e --- /dev/null +++ b/lib/core/shared.pbenum.dart @@ -0,0 +1,44 @@ +// +// Generated code. Do not modify. +// source: core/shared.proto +// +// @dart = 2.12 + +// ignore_for_file: annotate_overrides, camel_case_types, comment_references +// ignore_for_file: constant_identifier_names, library_prefixes +// ignore_for_file: non_constant_identifier_names, prefer_final_fields +// ignore_for_file: unnecessary_import, unnecessary_this, unused_import + +import 'dart:core' as $core; + +import 'package:protobuf/protobuf.dart' as $pb; + +class ResponseStatus extends $pb.ProtobufEnum { + static const ResponseStatus RESPONSESTATUS_UNKNOWN = ResponseStatus._(0, _omitEnumNames ? '' : 'RESPONSESTATUS_UNKNOWN'); + static const ResponseStatus OK = ResponseStatus._(1, _omitEnumNames ? '' : 'OK'); + static const ResponseStatus INTERNAL_ERROR = ResponseStatus._(2, _omitEnumNames ? '' : 'INTERNAL_ERROR'); + static const ResponseStatus PAYLOAD_INCORRECT = ResponseStatus._(3, _omitEnumNames ? '' : 'PAYLOAD_INCORRECT'); + static const ResponseStatus OBJECT_ID_NOT_FOUND = ResponseStatus._(4, _omitEnumNames ? '' : 'OBJECT_ID_NOT_FOUND'); + static const ResponseStatus PROJECT_NOT_FOUND = ResponseStatus._(5, _omitEnumNames ? '' : 'PROJECT_NOT_FOUND'); + static const ResponseStatus UNAUTHORIZED = ResponseStatus._(6, _omitEnumNames ? '' : 'UNAUTHORIZED'); + static const ResponseStatus TIMEOUT = ResponseStatus._(7, _omitEnumNames ? '' : 'TIMEOUT'); + + static const $core.List values = [ + RESPONSESTATUS_UNKNOWN, + OK, + INTERNAL_ERROR, + PAYLOAD_INCORRECT, + OBJECT_ID_NOT_FOUND, + PROJECT_NOT_FOUND, + UNAUTHORIZED, + TIMEOUT, + ]; + + static final $core.Map<$core.int, ResponseStatus> _byValue = $pb.ProtobufEnum.initByValue(values); + static ResponseStatus? valueOf($core.int value) => _byValue[value]; + + const ResponseStatus._($core.int v, $core.String n) : super(v, n); +} + + +const _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names'); diff --git a/lib/core/shared.pbjson.dart b/lib/core/shared.pbjson.dart new file mode 100644 index 0000000..e405c2c --- /dev/null +++ b/lib/core/shared.pbjson.dart @@ -0,0 +1,667 @@ +// +// Generated code. Do not modify. +// source: core/shared.proto +// +// @dart = 2.12 + +// ignore_for_file: annotate_overrides, camel_case_types, comment_references +// ignore_for_file: constant_identifier_names, library_prefixes +// ignore_for_file: non_constant_identifier_names, prefer_final_fields +// ignore_for_file: unnecessary_import, unnecessary_this, unused_import + +import 'dart:convert' as $convert; +import 'dart:core' as $core; +import 'dart:typed_data' as $typed_data; + +@$core.Deprecated('Use responseStatusDescriptor instead') +const ResponseStatus$json = { + '1': 'ResponseStatus', + '2': [ + {'1': 'RESPONSESTATUS_UNKNOWN', '2': 0}, + {'1': 'OK', '2': 1}, + {'1': 'INTERNAL_ERROR', '2': 2}, + {'1': 'PAYLOAD_INCORRECT', '2': 3}, + {'1': 'OBJECT_ID_NOT_FOUND', '2': 4}, + {'1': 'PROJECT_NOT_FOUND', '2': 5}, + {'1': 'UNAUTHORIZED', '2': 6}, + {'1': 'TIMEOUT', '2': 7}, + ], +}; + +/// Descriptor for `ResponseStatus`. Decode as a `google.protobuf.EnumDescriptorProto`. +final $typed_data.Uint8List responseStatusDescriptor = $convert.base64Decode( + 'Cg5SZXNwb25zZVN0YXR1cxIaChZSRVNQT05TRVNUQVRVU19VTktOT1dOEAASBgoCT0sQARISCg' + '5JTlRFUk5BTF9FUlJPUhACEhUKEVBBWUxPQURfSU5DT1JSRUNUEAMSFwoTT0JKRUNUX0lEX05P' + 'VF9GT1VORBAEEhUKEVBST0pFQ1RfTk9UX0ZPVU5EEAUSEAoMVU5BVVRIT1JJWkVEEAYSCwoHVE' + 'lNRU9VVBAH'); + +@$core.Deprecated('Use requestHeaderDescriptor instead') +const RequestHeader$json = { + '1': 'RequestHeader', + '2': [ + {'1': 'Project', '3': 1, '4': 1, '5': 9, '8': {}, '10': 'Project'}, + ], +}; + +/// Descriptor for `RequestHeader`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List requestHeaderDescriptor = $convert.base64Decode( + 'Cg1SZXF1ZXN0SGVhZGVyEkMKB1Byb2plY3QYASABKAlCKZJBGzIZSWRlbnRpZmllciBvZiB0aG' + 'UgcHJvamVjdPpCCHIGEAG6AQEgUgdQcm9qZWN0'); + +@$core.Deprecated('Use requestProjectHeaderDescriptor instead') +const RequestProjectHeader$json = { + '1': 'RequestProjectHeader', + '2': [ + {'1': 'ProjectID', '3': 1, '4': 1, '5': 9, '8': {}, '10': 'ProjectID'}, + ], + '7': {}, +}; + +/// Descriptor for `RequestProjectHeader`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List requestProjectHeaderDescriptor = $convert.base64Decode( + 'ChRSZXF1ZXN0UHJvamVjdEhlYWRlchJHCglQcm9qZWN0SUQYASABKAlCKZJBGzIZSWRlbnRpZm' + 'llciBvZiB0aGUgcHJvamVjdPpCCHIGEAG6AQEgUglQcm9qZWN0SUQ6PpJBOwo5MitIZWFkZXIg' + 'Zm9yIGFsbCByZXF1ZXN0cyBvbiBwcm9qZWN0IHJlc291cmNl0gEJUHJvamVjdElE'); + +@$core.Deprecated('Use requestOrganisationHeaderDescriptor instead') +const RequestOrganisationHeader$json = { + '1': 'RequestOrganisationHeader', + '2': [ + {'1': 'OrganisationID', '3': 1, '4': 1, '5': 9, '8': {}, '10': 'OrganisationID'}, + ], + '7': {}, +}; + +/// Descriptor for `RequestOrganisationHeader`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List requestOrganisationHeaderDescriptor = $convert.base64Decode( + 'ChlSZXF1ZXN0T3JnYW5pc2F0aW9uSGVhZGVyElYKDk9yZ2FuaXNhdGlvbklEGAEgASgJQi6SQS' + 'AyHklkZW50aWZpZXIgb2YgdGhlIG9yZ2FuaXNhdGlvbvpCCHIGEAG6AQEgUg5PcmdhbmlzYXRp' + 'b25JRDpDkkFACj4yK0hlYWRlciBmb3IgYWxsIHJlcXVlc3RzIG9uIHByb2plY3QgcmVzb3VyY2' + 'XSAQ5PcmdhbmlzYXRpb25JRA=='); + +@$core.Deprecated('Use requestBucketHeaderDescriptor instead') +const RequestBucketHeader$json = { + '1': 'RequestBucketHeader', + '2': [ + {'1': 'BucketID', '3': 1, '4': 1, '5': 9, '8': {}, '10': 'BucketID'}, + ], +}; + +/// Descriptor for `RequestBucketHeader`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List requestBucketHeaderDescriptor = $convert.base64Decode( + 'ChNSZXF1ZXN0QnVja2V0SGVhZGVyEkQKCEJ1Y2tldElEGAEgASgJQiiSQRoyGElkZW50aWZpZX' + 'Igb2YgdGhlIGJ1Y2tldPpCCHIGEAG6AQEgUghCdWNrZXRJRA=='); + +@$core.Deprecated('Use requestPartnerAppHeaderDescriptor instead') +const RequestPartnerAppHeader$json = { + '1': 'RequestPartnerAppHeader', + '2': [ + {'1': 'PartnerAppID', '3': 1, '4': 1, '5': 9, '8': {}, '10': 'PartnerAppID'}, + ], +}; + +/// Descriptor for `RequestPartnerAppHeader`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List requestPartnerAppHeaderDescriptor = $convert.base64Decode( + 'ChdSZXF1ZXN0UGFydG5lckFwcEhlYWRlchJQCgxQYXJ0bmVyQXBwSUQYASABKAlCLJJBHjIcSW' + 'RlbnRpZmllciBvZiB0aGUgcGFydG5lckFwcPpCCHIGEAG6AQEgUgxQYXJ0bmVyQXBwSUQ='); + +@$core.Deprecated('Use responseHeaderDescriptor instead') +const ResponseHeader$json = { + '1': 'ResponseHeader', +}; + +/// Descriptor for `ResponseHeader`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List responseHeaderDescriptor = $convert.base64Decode( + 'Cg5SZXNwb25zZUhlYWRlcg=='); + +@$core.Deprecated('Use queryHeaderDescriptor instead') +const QueryHeader$json = { + '1': 'QueryHeader', + '2': [ + {'1': 'Project', '3': 1, '4': 1, '5': 9, '8': {}, '10': 'Project'}, + {'1': 'PagingState', '3': 3, '4': 1, '5': 9, '10': 'PagingState'}, + {'1': 'Limit', '3': 4, '4': 1, '5': 9, '10': 'Limit'}, + {'1': 'LocalizedLabel', '3': 5, '4': 1, '5': 8, '10': 'LocalizedLabel'}, + ], +}; + +/// Descriptor for `QueryHeader`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List queryHeaderDescriptor = $convert.base64Decode( + 'CgtRdWVyeUhlYWRlchIlCgdQcm9qZWN0GAEgASgJQgv6QghyBhABugEBIFIHUHJvamVjdBIgCg' + 'tQYWdpbmdTdGF0ZRgDIAEoCVILUGFnaW5nU3RhdGUSFAoFTGltaXQYBCABKAlSBUxpbWl0EiYK' + 'DkxvY2FsaXplZExhYmVsGAUgASgIUg5Mb2NhbGl6ZWRMYWJlbA=='); + +@$core.Deprecated('Use queryProjectHeaderDescriptor instead') +const QueryProjectHeader$json = { + '1': 'QueryProjectHeader', + '2': [ + {'1': 'ProjectID', '3': 1, '4': 1, '5': 9, '8': {}, '10': 'ProjectID'}, + {'1': 'PagingState', '3': 3, '4': 1, '5': 9, '10': 'PagingState'}, + {'1': 'Limit', '3': 4, '4': 1, '5': 9, '10': 'Limit'}, + {'1': 'LocalizedLabel', '3': 5, '4': 1, '5': 8, '10': 'LocalizedLabel'}, + ], +}; + +/// Descriptor for `QueryProjectHeader`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List queryProjectHeaderDescriptor = $convert.base64Decode( + 'ChJRdWVyeVByb2plY3RIZWFkZXISRwoJUHJvamVjdElEGAEgASgJQimSQRsyGUlkZW50aWZpZX' + 'Igb2YgdGhlIHByb2plY3T6QghyBhABugEBIFIJUHJvamVjdElEEiAKC1BhZ2luZ1N0YXRlGAMg' + 'ASgJUgtQYWdpbmdTdGF0ZRIUCgVMaW1pdBgEIAEoCVIFTGltaXQSJgoOTG9jYWxpemVkTGFiZW' + 'wYBSABKAhSDkxvY2FsaXplZExhYmVs'); + +@$core.Deprecated('Use resultHeaderDescriptor instead') +const ResultHeader$json = { + '1': 'ResultHeader', + '2': [ + {'1': 'PagingState', '3': 1, '4': 1, '5': 9, '10': 'PagingState'}, + ], +}; + +/// Descriptor for `ResultHeader`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List resultHeaderDescriptor = $convert.base64Decode( + 'CgxSZXN1bHRIZWFkZXISIAoLUGFnaW5nU3RhdGUYASABKAlSC1BhZ2luZ1N0YXRl'); + +@$core.Deprecated('Use commandHeaderDescriptor instead') +const CommandHeader$json = { + '1': 'CommandHeader', + '2': [ + {'1': 'ActionCommand', '3': 1, '4': 1, '5': 9, '10': 'ActionCommand'}, + {'1': 'CommandTS', '3': 2, '4': 1, '5': 11, '6': '.api.DateTime', '10': 'CommandTS'}, + {'1': 'Project', '3': 3, '4': 1, '5': 9, '10': 'Project'}, + {'1': 'FromDomain', '3': 4, '4': 1, '5': 9, '10': 'FromDomain'}, + {'1': 'FromObject', '3': 5, '4': 1, '5': 9, '10': 'FromObject'}, + {'1': 'FromRule', '3': 6, '4': 1, '5': 9, '10': 'FromRule'}, + ], +}; + +/// Descriptor for `CommandHeader`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List commandHeaderDescriptor = $convert.base64Decode( + 'Cg1Db21tYW5kSGVhZGVyEiQKDUFjdGlvbkNvbW1hbmQYASABKAlSDUFjdGlvbkNvbW1hbmQSKw' + 'oJQ29tbWFuZFRTGAIgASgLMg0uYXBpLkRhdGVUaW1lUglDb21tYW5kVFMSGAoHUHJvamVjdBgD' + 'IAEoCVIHUHJvamVjdBIeCgpGcm9tRG9tYWluGAQgASgJUgpGcm9tRG9tYWluEh4KCkZyb21PYm' + 'plY3QYBSABKAlSCkZyb21PYmplY3QSGgoIRnJvbVJ1bGUYBiABKAlSCEZyb21SdWxl'); + +@$core.Deprecated('Use eventHeaderDescriptor instead') +const EventHeader$json = { + '1': 'EventHeader', + '2': [ + {'1': 'InputEvent', '3': 1, '4': 1, '5': 9, '8': {}, '10': 'InputEvent'}, + {'1': 'EventTS', '3': 2, '4': 1, '5': 11, '6': '.api.DateTime', '8': {}, '10': 'EventTS'}, + {'1': 'Project', '3': 3, '4': 1, '5': 9, '8': {}, '10': 'Project'}, + {'1': 'Author', '3': 4, '4': 1, '5': 9, '8': {}, '10': 'Author'}, + {'1': 'EventID', '3': 5, '4': 1, '5': 9, '8': {}, '10': 'EventID'}, + ], +}; + +/// Descriptor for `EventHeader`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List eventHeaderDescriptor = $convert.base64Decode( + 'CgtFdmVudEhlYWRlchInCgpJbnB1dEV2ZW50GAEgASgJQgf6QgRyAhABUgpJbnB1dEV2ZW50Ej' + 'EKB0V2ZW50VFMYAiABKAsyDS5hcGkuRGF0ZVRpbWVCCPpCBYoBAhABUgdFdmVudFRTEiUKB1By' + 'b2plY3QYAyABKAlCC/pCCHIGEAG6AQEgUgdQcm9qZWN0Eh8KBkF1dGhvchgEIAEoCUIH+kIEcg' + 'IQAVIGQXV0aG9yEiEKB0V2ZW50SUQYBSABKAlCB/pCBHICEAFSB0V2ZW50SUQ='); + +@$core.Deprecated('Use entityIDDescriptor instead') +const EntityID$json = { + '1': 'EntityID', + '2': [ + {'1': 'RefID', '3': 2, '4': 1, '5': 9, '8': {}, '10': 'RefID'}, + ], +}; + +/// Descriptor for `EntityID`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List entityIDDescriptor = $convert.base64Decode( + 'CghFbnRpdHlJRBIxCgVSZWZJRBgCIAEoCUIbkkERMg9Zb3VyIGlkZW50aWZpZXL6QgRyAhABUg' + 'VSZWZJRA=='); + +@$core.Deprecated('Use genericObjectDescriptor instead') +const GenericObject$json = { + '1': 'GenericObject', + '2': [ + {'1': 'LastEventHeader', '3': 1, '4': 1, '5': 11, '6': '.api.EventHeader', '10': 'LastEventHeader'}, + {'1': 'Payload', '3': 2, '4': 1, '5': 11, '6': '.api.GenericObjectPayload', '10': 'Payload'}, + ], +}; + +/// Descriptor for `GenericObject`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List genericObjectDescriptor = $convert.base64Decode( + 'Cg1HZW5lcmljT2JqZWN0EjoKD0xhc3RFdmVudEhlYWRlchgBIAEoCzIQLmFwaS5FdmVudEhlYW' + 'RlclIPTGFzdEV2ZW50SGVhZGVyEjMKB1BheWxvYWQYAiABKAsyGS5hcGkuR2VuZXJpY09iamVj' + 'dFBheWxvYWRSB1BheWxvYWQ='); + +@$core.Deprecated('Use genericObjectPayloadDescriptor instead') +const GenericObjectPayload$json = { + '1': 'GenericObjectPayload', + '2': [ + {'1': 'ID', '3': 1, '4': 1, '5': 11, '6': '.api.EntityID', '10': 'ID'}, + ], +}; + +/// Descriptor for `GenericObjectPayload`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List genericObjectPayloadDescriptor = $convert.base64Decode( + 'ChRHZW5lcmljT2JqZWN0UGF5bG9hZBIdCgJJRBgBIAEoCzINLmFwaS5FbnRpdHlJRFICSUQ='); + +@$core.Deprecated('Use dateTimeDescriptor instead') +const DateTime$json = { + '1': 'DateTime', + '2': [ + {'1': 'DateTime', '3': 1, '4': 1, '5': 9, '8': {}, '10': 'DateTime'}, + {'1': 'AuthorTimeZone', '3': 2, '4': 1, '5': 9, '8': {}, '10': 'AuthorTimeZone'}, + ], +}; + +/// Descriptor for `DateTime`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List dateTimeDescriptor = $convert.base64Decode( + 'CghEYXRlVGltZRLbAQoIRGF0ZVRpbWUYASABKAlCvgGSQa4BMpABVVRDIGRhdGUvdGltZSBpbi' + 'A8YSBocmVmPSJodHRwczovL2VuLndpa2lwZWRpYS5vcmcvd2lraS9JU09fODYwMSI+SVNPIDg2' + 'MDE8L2E+IGZvcm1hdCB3aXRoIHRpbWUgem9uZSAoYWNjZXB0ZWQgdHpkIGZvcm1hdHM6IFsrMD' + 'E6MDAsIC0wMTowMCwgWl0pShkyMDIwLTExLTI2VDIxOjMyOjUyKzAyOjAw+kIFcgPQAQGIwhgB' + 'UghEYXRlVGltZRJyCg5BdXRob3JUaW1lWm9uZRgCIAEoCUJKkkE/Mi9UaW1lIHpvbmUgZnJvbS' + 'B3aGVyZSB0aGUgYXV0aG9yIGVtaXRzIHRoZSBldmVudEoMRXVyb3BlL1Bhcmlz+kIFcgPgAQFS' + 'DkF1dGhvclRpbWVab25l'); + +@$core.Deprecated('Use valueTypeDescriptor instead') +const ValueType$json = { + '1': 'ValueType', + '2': [ + {'1': 'String', '3': 1, '4': 1, '5': 9, '9': 0, '10': 'String'}, + {'1': 'Int', '3': 2, '4': 1, '5': 3, '9': 0, '10': 'Int'}, + {'1': 'Float', '3': 3, '4': 1, '5': 2, '9': 0, '10': 'Float'}, + {'1': 'Bool', '3': 4, '4': 1, '5': 8, '9': 0, '10': 'Bool'}, + {'1': 'Timestamp', '3': 5, '4': 1, '5': 11, '6': '.api.DateTime', '9': 0, '10': 'Timestamp'}, + ], + '8': [ + {'1': 'ValueType'}, + ], +}; + +/// Descriptor for `ValueType`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List valueTypeDescriptor = $convert.base64Decode( + 'CglWYWx1ZVR5cGUSGAoGU3RyaW5nGAEgASgJSABSBlN0cmluZxISCgNJbnQYAiABKANIAFIDSW' + '50EhYKBUZsb2F0GAMgASgCSABSBUZsb2F0EhQKBEJvb2wYBCABKAhIAFIEQm9vbBItCglUaW1l' + 'c3RhbXAYBSABKAsyDS5hcGkuRGF0ZVRpbWVIAFIJVGltZXN0YW1wQgsKCVZhbHVlVHlwZQ=='); + +@$core.Deprecated('Use quantityLengthDescriptor instead') +const QuantityLength$json = { + '1': 'QuantityLength', + '2': [ + {'1': 'Value', '3': 1, '4': 1, '5': 2, '10': 'Value'}, + {'1': 'Unit', '3': 2, '4': 1, '5': 14, '6': '.api.Length', '10': 'Unit'}, + ], +}; + +/// Descriptor for `QuantityLength`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List quantityLengthDescriptor = $convert.base64Decode( + 'Cg5RdWFudGl0eUxlbmd0aBIUCgVWYWx1ZRgBIAEoAlIFVmFsdWUSHwoEVW5pdBgCIAEoDjILLm' + 'FwaS5MZW5ndGhSBFVuaXQ='); + +@$core.Deprecated('Use quantityVolumeDescriptor instead') +const QuantityVolume$json = { + '1': 'QuantityVolume', + '2': [ + {'1': 'Value', '3': 1, '4': 1, '5': 2, '8': {}, '10': 'Value'}, + {'1': 'Unit', '3': 2, '4': 1, '5': 14, '6': '.api.Volume', '8': {}, '10': 'Unit'}, + ], +}; + +/// Descriptor for `QuantityVolume`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List quantityVolumeDescriptor = $convert.base64Decode( + 'Cg5RdWFudGl0eVZvbHVtZRIaCgVWYWx1ZRgBIAEoAkIEiMIYAVIFVmFsdWUSJQoEVW5pdBgCIA' + 'EoDjILLmFwaS5Wb2x1bWVCBIjCGAFSBFVuaXQ='); + +@$core.Deprecated('Use quantityWeightDescriptor instead') +const QuantityWeight$json = { + '1': 'QuantityWeight', + '2': [ + {'1': 'Value', '3': 1, '4': 1, '5': 2, '8': {}, '10': 'Value'}, + {'1': 'Unit', '3': 2, '4': 1, '5': 14, '6': '.api.Weight', '8': {}, '10': 'Unit'}, + ], +}; + +/// Descriptor for `QuantityWeight`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List quantityWeightDescriptor = $convert.base64Decode( + 'Cg5RdWFudGl0eVdlaWdodBIaCgVWYWx1ZRgBIAEoAkIEiMIYAVIFVmFsdWUSJQoEVW5pdBgCIA' + 'EoDjILLmFwaS5XZWlnaHRCBIjCGAFSBFVuaXQ='); + +@$core.Deprecated('Use quantityAreaDescriptor instead') +const QuantityArea$json = { + '1': 'QuantityArea', + '2': [ + {'1': 'Value', '3': 1, '4': 1, '5': 2, '10': 'Value'}, + {'1': 'Unit', '3': 2, '4': 1, '5': 14, '6': '.api.Area', '10': 'Unit'}, + ], +}; + +/// Descriptor for `QuantityArea`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List quantityAreaDescriptor = $convert.base64Decode( + 'CgxRdWFudGl0eUFyZWESFAoFVmFsdWUYASABKAJSBVZhbHVlEh0KBFVuaXQYAiABKA4yCS5hcG' + 'kuQXJlYVIEVW5pdA=='); + +@$core.Deprecated('Use quantityUnitDescriptor instead') +const QuantityUnit$json = { + '1': 'QuantityUnit', + '2': [ + {'1': 'Value', '3': 1, '4': 1, '5': 2, '10': 'Value'}, + {'1': 'Unit', '3': 2, '4': 1, '5': 14, '6': '.api.DimensionLess', '10': 'Unit'}, + ], +}; + +/// Descriptor for `QuantityUnit`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List quantityUnitDescriptor = $convert.base64Decode( + 'CgxRdWFudGl0eVVuaXQSFAoFVmFsdWUYASABKAJSBVZhbHVlEiYKBFVuaXQYAiABKA4yEi5hcG' + 'kuRGltZW5zaW9uTGVzc1IEVW5pdA=='); + +@$core.Deprecated('Use domainDescriptionRequestDescriptor instead') +const DomainDescriptionRequest$json = { + '1': 'DomainDescriptionRequest', +}; + +/// Descriptor for `DomainDescriptionRequest`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List domainDescriptionRequestDescriptor = $convert.base64Decode( + 'ChhEb21haW5EZXNjcmlwdGlvblJlcXVlc3Q='); + +@$core.Deprecated('Use domainDescriptionResponseDescriptor instead') +const DomainDescriptionResponse$json = { + '1': 'DomainDescriptionResponse', + '2': [ + {'1': 'Header', '3': 1, '4': 1, '5': 11, '6': '.api.ResponseHeader', '10': 'Header'}, + {'1': 'Payload', '3': 2, '4': 1, '5': 11, '6': '.api.DomainDescription', '10': 'Payload'}, + ], +}; + +/// Descriptor for `DomainDescriptionResponse`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List domainDescriptionResponseDescriptor = $convert.base64Decode( + 'ChlEb21haW5EZXNjcmlwdGlvblJlc3BvbnNlEisKBkhlYWRlchgBIAEoCzITLmFwaS5SZXNwb2' + '5zZUhlYWRlclIGSGVhZGVyEjAKB1BheWxvYWQYAiABKAsyFi5hcGkuRG9tYWluRGVzY3JpcHRp' + 'b25SB1BheWxvYWQ='); + +@$core.Deprecated('Use domainDescriptionDescriptor instead') +const DomainDescription$json = { + '1': 'DomainDescription', + '2': [ + {'1': 'Name', '3': 1, '4': 1, '5': 9, '10': 'Name'}, + {'1': 'ObjectDescription', '3': 2, '4': 3, '5': 11, '6': '.api.ObjectDescription', '10': 'ObjectDescription'}, + ], +}; + +/// Descriptor for `DomainDescription`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List domainDescriptionDescriptor = $convert.base64Decode( + 'ChFEb21haW5EZXNjcmlwdGlvbhISCgROYW1lGAEgASgJUgROYW1lEkQKEU9iamVjdERlc2NyaX' + 'B0aW9uGAIgAygLMhYuYXBpLk9iamVjdERlc2NyaXB0aW9uUhFPYmplY3REZXNjcmlwdGlvbg=='); + +@$core.Deprecated('Use objectDescriptionDescriptor instead') +const ObjectDescription$json = { + '1': 'ObjectDescription', + '2': [ + {'1': 'Name', '3': 1, '4': 1, '5': 9, '10': 'Name'}, + {'1': 'ApiAction', '3': 2, '4': 3, '5': 11, '6': '.api.ObjectAction', '10': 'ApiAction'}, + {'1': 'PayloadJSON', '3': 3, '4': 1, '5': 9, '10': 'PayloadJSON'}, + {'1': 'ApiInput', '3': 4, '4': 3, '5': 11, '6': '.api.ObjectAction', '10': 'ApiInput'}, + {'1': 'ApiQuery', '3': 5, '4': 3, '5': 11, '6': '.api.ObjectAction', '10': 'ApiQuery'}, + ], +}; + +/// Descriptor for `ObjectDescription`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List objectDescriptionDescriptor = $convert.base64Decode( + 'ChFPYmplY3REZXNjcmlwdGlvbhISCgROYW1lGAEgASgJUgROYW1lEi8KCUFwaUFjdGlvbhgCIA' + 'MoCzIRLmFwaS5PYmplY3RBY3Rpb25SCUFwaUFjdGlvbhIgCgtQYXlsb2FkSlNPThgDIAEoCVIL' + 'UGF5bG9hZEpTT04SLQoIQXBpSW5wdXQYBCADKAsyES5hcGkuT2JqZWN0QWN0aW9uUghBcGlJbn' + 'B1dBItCghBcGlRdWVyeRgFIAMoCzIRLmFwaS5PYmplY3RBY3Rpb25SCEFwaVF1ZXJ5'); + +@$core.Deprecated('Use objectActionDescriptor instead') +const ObjectAction$json = { + '1': 'ObjectAction', + '2': [ + {'1': 'Name', '3': 1, '4': 1, '5': 9, '10': 'Name'}, + {'1': 'JsonTemplate', '3': 2, '4': 1, '5': 9, '10': 'JsonTemplate'}, + ], +}; + +/// Descriptor for `ObjectAction`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List objectActionDescriptor = $convert.base64Decode( + 'CgxPYmplY3RBY3Rpb24SEgoETmFtZRgBIAEoCVIETmFtZRIiCgxKc29uVGVtcGxhdGUYAiABKA' + 'lSDEpzb25UZW1wbGF0ZQ=='); + +@$core.Deprecated('Use metadataElementDescriptor instead') +const MetadataElement$json = { + '1': 'MetadataElement', + '2': [ + {'1': 'Key', '3': 1, '4': 1, '5': 9, '10': 'Key'}, + {'1': 'Value', '3': 2, '4': 1, '5': 11, '6': '.api.ValueType', '10': 'Value'}, + ], +}; + +/// Descriptor for `MetadataElement`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List metadataElementDescriptor = $convert.base64Decode( + 'Cg9NZXRhZGF0YUVsZW1lbnQSEAoDS2V5GAEgASgJUgNLZXkSJAoFVmFsdWUYAiABKAsyDi5hcG' + 'kuVmFsdWVUeXBlUgVWYWx1ZQ=='); + +@$core.Deprecated('Use simpleFilterDescriptor instead') +const SimpleFilter$json = { + '1': 'SimpleFilter', + '2': [ + {'1': 'Attribute', '3': 1, '4': 1, '5': 9, '8': {}, '10': 'Attribute'}, + {'1': 'Value', '3': 2, '4': 1, '5': 9, '8': {}, '10': 'Value'}, + {'1': 'Values', '3': 3, '4': 3, '5': 9, '8': {}, '10': 'Values'}, + {'1': 'Operator', '3': 4, '4': 1, '5': 9, '8': {}, '10': 'Operator'}, + {'1': 'CombinedID', '3': 5, '4': 1, '5': 9, '8': {}, '10': 'CombinedID'}, + ], + '7': {}, +}; + +/// Descriptor for `SimpleFilter`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List simpleFilterDescriptor = $convert.base64Decode( + 'CgxTaW1wbGVGaWx0ZXISOgoJQXR0cmlidXRlGAEgASgJQhySQRkyC0ZpbHRlciBwYXRoSgoiSU' + 'QucmVmSUQiUglBdHRyaWJ1dGUSPwoFVmFsdWUYAiABKAlCKZJBJjIkVXNlIHRoaXMgcGFyYW1l' + 'dGVyIGlmIG9ubHkgb25lIHZhbHVlUgVWYWx1ZRJGCgZWYWx1ZXMYAyADKAlCLpJBKzIpVXNlIH' + 'RoaXMgcGFyYW1ldGVyIGlmIG1vcmUgdGhhbiBvbmUgdmFsdWVSBlZhbHVlcxLxAQoIT3BlcmF0' + 'b3IYBCABKAlC1AGSQdABMs0BIiBFUVVBTDogJ0VRVUFMJyzCoCBESUZGOiAnRElGRicswqAgU1' + 'RBUlRfQlk6ICdTVEFSVF9CWScswqAgTk9UX1NUQVJUX0JZOiAnTk9UX1NUQVJUX0JZJyzCoCBG' + 'SU5JU0hfQlk6ICdGSU5JU0hfQlknLMKgIE5PVF9GSU5JU0hfQlk6ICdOT1RfRklOSVNIX0JZJy' + 'zCoCBDT05UQUlOUzogJ0NPTlRBSU5TJyzCoCBOT1RfQ09OVEFJTlM6ICdOT1RfQ09OVEFJTlMn' + 'IlIIT3BlcmF0b3ISMwoKQ29tYmluZWRJRBgFIAEoCUITkkEQMg5tZXRhZGF0YSdzIGtleVIKQ2' + '9tYmluZWRJRDofkkEcChoyGEZpbHRlciBvbiBhIHNpbXBsZSB2YWx1ZQ=='); + +@$core.Deprecated('Use combinedFilterDescriptor instead') +const CombinedFilter$json = { + '1': 'CombinedFilter', + '2': [ + {'1': 'Path', '3': 1, '4': 1, '5': 9, '10': 'Path'}, + {'1': 'simpleFilters', '3': 2, '4': 3, '5': 11, '6': '.api.SimpleFilter', '8': {}, '10': 'simpleFilters'}, + {'1': 'rangeFilters', '3': 3, '4': 3, '5': 11, '6': '.api.RangeFilter', '8': {}, '10': 'rangeFilters'}, + {'1': 'CombinedID', '3': 4, '4': 1, '5': 9, '10': 'CombinedID'}, + ], +}; + +/// Descriptor for `CombinedFilter`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List combinedFilterDescriptor = $convert.base64Decode( + 'Cg5Db21iaW5lZEZpbHRlchISCgRQYXRoGAEgASgJUgRQYXRoEmQKDXNpbXBsZUZpbHRlcnMYAi' + 'ADKAsyES5hcGkuU2ltcGxlRmlsdGVyQiuSQSgyJlNpbXBsZSBmaWx0ZXIgc3RydWN0dXJlIGZv' + 'ciBGaW5kIHF1ZXJ5Ug1zaW1wbGVGaWx0ZXJzEmAKDHJhbmdlRmlsdGVycxgDIAMoCzIQLmFwaS' + '5SYW5nZUZpbHRlckIqkkEnMiVSYW5nZSBmaWx0ZXIgc3RydWN0dXJlIGZvciBGaW5kIHF1ZXJ5' + 'UgxyYW5nZUZpbHRlcnMSHgoKQ29tYmluZWRJRBgEIAEoCVIKQ29tYmluZWRJRA=='); + +@$core.Deprecated('Use rangeFilterDescriptor instead') +const RangeFilter$json = { + '1': 'RangeFilter', + '2': [ + {'1': 'Attribute', '3': 1, '4': 1, '5': 9, '8': {}, '10': 'Attribute'}, + {'1': 'valueLt', '3': 2, '4': 1, '5': 9, '8': {}, '10': 'valueLt'}, + {'1': 'valueGt', '3': 3, '4': 1, '5': 9, '8': {}, '10': 'valueGt'}, + {'1': 'CombinedID', '3': 4, '4': 1, '5': 9, '8': {}, '10': 'CombinedID'}, + ], + '7': {}, +}; + +/// Descriptor for `RangeFilter`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List rangeFilterDescriptor = $convert.base64Decode( + 'CgtSYW5nZUZpbHRlchI6CglBdHRyaWJ1dGUYASABKAlCHJJBGTILRmlsdGVyIHBhdGhKCiJJRC' + '5yZWZJRCJSCUF0dHJpYnV0ZRI0Cgd2YWx1ZUx0GAIgASgJQhqSQQ8yDU1heGltdW0gdmFsdWX6' + 'QgVyAxisAlIHdmFsdWVMdBI0Cgd2YWx1ZUd0GAMgASgJQhqSQQ8yDU1pbmltdW0gdmFsdWX6Qg' + 'VyAxisAlIHdmFsdWVHdBI7CgpDb21iaW5lZElEGAQgASgJQhuSQRAyDk1ldGFkYXRhJ3Mga2V5' + '+kIFcgMYrAJSCkNvbWJpbmVkSUQ6IJJBHQobMhlGaWx0ZXIgYmV0d2VlbiB0d28gdmFsdWVz'); + +@$core.Deprecated('Use blockFilterDescriptor instead') +const BlockFilter$json = { + '1': 'BlockFilter', + '2': [ + {'1': 'simpleFilters', '3': 1, '4': 3, '5': 11, '6': '.api.SimpleFilter', '8': {}, '10': 'simpleFilters'}, + {'1': 'rangeFilters', '3': 2, '4': 3, '5': 11, '6': '.api.RangeFilter', '8': {}, '10': 'rangeFilters'}, + {'1': 'BlockFilters', '3': 3, '4': 3, '5': 11, '6': '.api.BlockFilter', '8': {}, '10': 'BlockFilters'}, + ], +}; + +/// Descriptor for `BlockFilter`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List blockFilterDescriptor = $convert.base64Decode( + 'CgtCbG9ja0ZpbHRlchJkCg1zaW1wbGVGaWx0ZXJzGAEgAygLMhEuYXBpLlNpbXBsZUZpbHRlck' + 'IrkkEoMiZTaW1wbGUgZmlsdGVyIHN0cnVjdHVyZSBmb3IgRmluZCBxdWVyeVINc2ltcGxlRmls' + 'dGVycxJgCgxyYW5nZUZpbHRlcnMYAiADKAsyEC5hcGkuUmFuZ2VGaWx0ZXJCKpJBJzIlUmFuZ2' + 'UgZmlsdGVyIHN0cnVjdHVyZSBmb3IgRmluZCBxdWVyeVIMcmFuZ2VGaWx0ZXJzEmAKDEJsb2Nr' + 'RmlsdGVycxgDIAMoCzIQLmFwaS5CbG9ja0ZpbHRlckIqkkEnMiVCbG9jayBmaWx0ZXIgc3RydW' + 'N0dXJlIGZvciBGaW5kIHF1ZXJ5UgxCbG9ja0ZpbHRlcnM='); + +@$core.Deprecated('Use matchFieldDescriptor instead') +const MatchField$json = { + '1': 'MatchField', + '2': [ + {'1': 'Attribute', '3': 1, '4': 1, '5': 9, '8': {}, '10': 'Attribute'}, + {'1': 'AttributeCombined', '3': 2, '4': 1, '5': 9, '10': 'AttributeCombined'}, + {'1': 'CombinedID', '3': 3, '4': 1, '5': 9, '10': 'CombinedID'}, + ], +}; + +/// Descriptor for `MatchField`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List matchFieldDescriptor = $convert.base64Decode( + 'CgpNYXRjaEZpZWxkEiUKCUF0dHJpYnV0ZRgBIAEoCUIH+kIEcgIQAVIJQXR0cmlidXRlEiwKEU' + 'F0dHJpYnV0ZUNvbWJpbmVkGAIgASgJUhFBdHRyaWJ1dGVDb21iaW5lZBIeCgpDb21iaW5lZElE' + 'GAMgASgJUgpDb21iaW5lZElE'); + +@$core.Deprecated('Use errorDetailDescriptor instead') +const ErrorDetail$json = { + '1': 'ErrorDetail', + '2': [ + {'1': 'Key', '3': 1, '4': 1, '5': 9, '10': 'Key'}, + {'1': 'Value', '3': 2, '4': 1, '5': 9, '10': 'Value'}, + ], +}; + +/// Descriptor for `ErrorDetail`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List errorDetailDescriptor = $convert.base64Decode( + 'CgtFcnJvckRldGFpbBIQCgNLZXkYASABKAlSA0tleRIUCgVWYWx1ZRgCIAEoCVIFVmFsdWU='); + +@$core.Deprecated('Use errorsDescriptor instead') +const Errors$json = { + '1': 'Errors', + '2': [ + {'1': 'ErrorCode', '3': 1, '4': 1, '5': 9, '10': 'ErrorCode'}, + {'1': 'ErrorTrace', '3': 2, '4': 1, '5': 9, '10': 'ErrorTrace'}, + {'1': 'ErrorDetails', '3': 3, '4': 3, '5': 11, '6': '.api.ErrorDetail', '10': 'ErrorDetails'}, + {'1': 'ContextType', '3': 4, '4': 1, '5': 9, '10': 'ContextType'}, + {'1': 'ContextProcess', '3': 5, '4': 1, '5': 9, '10': 'ContextProcess'}, + {'1': 'ContextPayload', '3': 6, '4': 1, '5': 9, '10': 'ContextPayload'}, + ], +}; + +/// Descriptor for `Errors`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List errorsDescriptor = $convert.base64Decode( + 'CgZFcnJvcnMSHAoJRXJyb3JDb2RlGAEgASgJUglFcnJvckNvZGUSHgoKRXJyb3JUcmFjZRgCIA' + 'EoCVIKRXJyb3JUcmFjZRI0CgxFcnJvckRldGFpbHMYAyADKAsyEC5hcGkuRXJyb3JEZXRhaWxS' + 'DEVycm9yRGV0YWlscxIgCgtDb250ZXh0VHlwZRgEIAEoCVILQ29udGV4dFR5cGUSJgoOQ29udG' + 'V4dFByb2Nlc3MYBSABKAlSDkNvbnRleHRQcm9jZXNzEiYKDkNvbnRleHRQYXlsb2FkGAYgASgJ' + 'Ug5Db250ZXh0UGF5bG9hZA=='); + +@$core.Deprecated('Use paramElementDescriptor instead') +const ParamElement$json = { + '1': 'ParamElement', + '2': [ + {'1': 'Key', '3': 1, '4': 1, '5': 9, '10': 'Key'}, + {'1': 'Value', '3': 3, '4': 1, '5': 11, '6': '.api.ValueType', '10': 'Value'}, + ], +}; + +/// Descriptor for `ParamElement`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List paramElementDescriptor = $convert.base64Decode( + 'CgxQYXJhbUVsZW1lbnQSEAoDS2V5GAEgASgJUgNLZXkSJAoFVmFsdWUYAyABKAsyDi5hcGkuVm' + 'FsdWVUeXBlUgVWYWx1ZQ=='); + +@$core.Deprecated('Use labelStructureDescriptor instead') +const LabelStructure$json = { + '1': 'LabelStructure', + '2': [ + {'1': 'Code', '3': 1, '4': 1, '5': 9, '8': {}, '10': 'Code'}, + {'1': 'Label', '3': 2, '4': 1, '5': 9, '8': {}, '10': 'Label'}, + {'1': 'Params', '3': 3, '4': 3, '5': 11, '6': '.api.ParamElement', '8': {}, '10': 'Params'}, + ], +}; + +/// Descriptor for `LabelStructure`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List labelStructureDescriptor = $convert.base64Decode( + 'Cg5MYWJlbFN0cnVjdHVyZRIzCgRDb2RlGAEgASgJQh+SQRUyE0NvZGUgb2YgdGhlIG1lc3NhZ2' + 'X6QgRyAhABUgRDb2RlEjYKBUxhYmVsGAIgASgJQiCSQRYyFExhYmVsIG9mIHRoZSBtZXNzYWdl' + '+kIEcgIQAVIFTGFiZWwSSwoGUGFyYW1zGAMgAygLMhEuYXBpLlBhcmFtRWxlbWVudEIgkkEWMh' + 'RQYXJhbWV0ZXJzIGZvciBsYWJlbOrBGANLZXlSBlBhcmFtcw=='); + +@$core.Deprecated('Use credentialsDescriptor instead') +const Credentials$json = { + '1': 'Credentials', + '2': [ + {'1': 'Jwt', '3': 1, '4': 1, '5': 9, '10': 'Jwt'}, + {'1': 'Seed', '3': 2, '4': 1, '5': 9, '10': 'Seed'}, + ], +}; + +/// Descriptor for `Credentials`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List credentialsDescriptor = $convert.base64Decode( + 'CgtDcmVkZW50aWFscxIQCgNKd3QYASABKAlSA0p3dBISCgRTZWVkGAIgASgJUgRTZWVk'); + +@$core.Deprecated('Use int32ObjectDescriptor instead') +const Int32Object$json = { + '1': 'Int32Object', + '2': [ + {'1': 'Int32', '3': 1, '4': 1, '5': 5, '10': 'Int32'}, + ], +}; + +/// Descriptor for `Int32Object`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List int32ObjectDescriptor = $convert.base64Decode( + 'CgtJbnQzMk9iamVjdBIUCgVJbnQzMhgBIAEoBVIFSW50MzI='); + +@$core.Deprecated('Use boolObjectDescriptor instead') +const BoolObject$json = { + '1': 'BoolObject', + '2': [ + {'1': 'Bool', '3': 1, '4': 1, '5': 8, '10': 'Bool'}, + ], +}; + +/// Descriptor for `BoolObject`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List boolObjectDescriptor = $convert.base64Decode( + 'CgpCb29sT2JqZWN0EhIKBEJvb2wYASABKAhSBEJvb2w='); + +@$core.Deprecated('Use stringObjectDescriptor instead') +const StringObject$json = { + '1': 'StringObject', + '2': [ + {'1': 'String', '3': 1, '4': 1, '5': 9, '10': 'String'}, + ], +}; + +/// Descriptor for `StringObject`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List stringObjectDescriptor = $convert.base64Decode( + 'CgxTdHJpbmdPYmplY3QSFgoGU3RyaW5nGAEgASgJUgZTdHJpbmc='); + +@$core.Deprecated('Use stringDateObjectDescriptor instead') +const StringDateObject$json = { + '1': 'StringDateObject', + '2': [ + {'1': 'DateTime', '3': 10, '4': 1, '5': 9, '8': {}, '10': 'DateTime'}, + ], +}; + +/// Descriptor for `StringDateObject`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List stringDateObjectDescriptor = $convert.base64Decode( + 'ChBTdHJpbmdEYXRlT2JqZWN0EtcBCghEYXRlVGltZRgKIAEoCUK6AZJBrgEykAFVVEMgZGF0ZS' + '90aW1lIGluIDxhIGhyZWY9Imh0dHBzOi8vZW4ud2lraXBlZGlhLm9yZy93aWtpL0lTT184NjAx' + 'Ij5JU08gODYwMTwvYT4gZm9ybWF0IHdpdGggdGltZSB6b25lIChhY2NlcHRlZCB0emQgZm9ybW' + 'F0czogWyswMTowMCwgLTAxOjAwLCBaXSlKGTIwMjAtMTEtMjZUMjE6MzI6NTIrMDI6MDD6QgVy' + 'A9ABAVIIRGF0ZVRpbWU='); + diff --git a/lib/core/unitOfMeasures.pb.dart b/lib/core/unitOfMeasures.pb.dart new file mode 100644 index 0000000..d6640c3 --- /dev/null +++ b/lib/core/unitOfMeasures.pb.dart @@ -0,0 +1,27 @@ +// +// Generated code. Do not modify. +// source: core/unitOfMeasures.proto +// +// @dart = 2.12 + +// ignore_for_file: annotate_overrides, camel_case_types, comment_references +// ignore_for_file: constant_identifier_names, library_prefixes +// ignore_for_file: non_constant_identifier_names, prefer_final_fields +// ignore_for_file: unnecessary_import, unnecessary_this, unused_import + +import 'dart:core' as $core; + +import 'package:protobuf/protobuf.dart' as $pb; + +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'); diff --git a/lib/core/unitOfMeasures.pbenum.dart b/lib/core/unitOfMeasures.pbenum.dart new file mode 100644 index 0000000..38346db --- /dev/null +++ b/lib/core/unitOfMeasures.pbenum.dart @@ -0,0 +1,236 @@ +// +// Generated code. Do not modify. +// source: core/unitOfMeasures.proto +// +// @dart = 2.12 + +// ignore_for_file: annotate_overrides, camel_case_types, comment_references +// ignore_for_file: constant_identifier_names, library_prefixes +// ignore_for_file: non_constant_identifier_names, prefer_final_fields +// ignore_for_file: unnecessary_import, unnecessary_this, unused_import + +import 'dart:core' as $core; + +import 'package:protobuf/protobuf.dart' as $pb; + +class Length extends $pb.ProtobufEnum { + static const Length LENGTH_UNKNOWN = Length._(0, _omitEnumNames ? '' : 'LENGTH_UNKNOWN'); + static const Length METER = Length._(10, _omitEnumNames ? '' : 'METER'); + static const Length MILLIMETER = Length._(20, _omitEnumNames ? '' : 'MILLIMETER'); + static const Length CENTIMETER = Length._(30, _omitEnumNames ? '' : 'CENTIMETER'); + static const Length DECIMETER = Length._(40, _omitEnumNames ? '' : 'DECIMETER'); + static const Length DECAMETER = Length._(50, _omitEnumNames ? '' : 'DECAMETER'); + static const Length HECTOMETER = Length._(60, _omitEnumNames ? '' : 'HECTOMETER'); + static const Length KILOMETER = Length._(70, _omitEnumNames ? '' : 'KILOMETER'); + static const Length INCH = Length._(80, _omitEnumNames ? '' : 'INCH'); + static const Length FOOT = Length._(90, _omitEnumNames ? '' : 'FOOT'); + static const Length YARD = Length._(100, _omitEnumNames ? '' : 'YARD'); + static const Length MILE = Length._(110, _omitEnumNames ? '' : 'MILE'); + + static const $core.List values = [ + LENGTH_UNKNOWN, + METER, + MILLIMETER, + CENTIMETER, + DECIMETER, + DECAMETER, + HECTOMETER, + KILOMETER, + INCH, + FOOT, + YARD, + MILE, + ]; + + static final $core.Map<$core.int, Length> _byValue = $pb.ProtobufEnum.initByValue(values); + static Length? valueOf($core.int value) => _byValue[value]; + + const Length._($core.int v, $core.String n) : super(v, n); +} + +class Weight extends $pb.ProtobufEnum { + static const Weight WEIGHT_UNKNOWN = Weight._(0, _omitEnumNames ? '' : 'WEIGHT_UNKNOWN'); + static const Weight GRAMME = Weight._(10, _omitEnumNames ? '' : 'GRAMME'); + static const Weight MILLIGRAM = Weight._(20, _omitEnumNames ? '' : 'MILLIGRAM'); + static const Weight CENTIGRAM = Weight._(30, _omitEnumNames ? '' : 'CENTIGRAM'); + static const Weight DECIGRAM = Weight._(40, _omitEnumNames ? '' : 'DECIGRAM'); + static const Weight DECAGRAM = Weight._(50, _omitEnumNames ? '' : 'DECAGRAM'); + static const Weight HECTOGRAM = Weight._(60, _omitEnumNames ? '' : 'HECTOGRAM'); + static const Weight KILOGRAM = Weight._(70, _omitEnumNames ? '' : 'KILOGRAM'); + static const Weight TONNE = Weight._(80, _omitEnumNames ? '' : 'TONNE'); + static const Weight GRAIN = Weight._(90, _omitEnumNames ? '' : 'GRAIN'); + static const Weight ONCE = Weight._(100, _omitEnumNames ? '' : 'ONCE'); + static const Weight POUND = Weight._(110, _omitEnumNames ? '' : 'POUND'); + static const Weight SHORT_TON = Weight._(120, _omitEnumNames ? '' : 'SHORT_TON'); + static const Weight LONG_TON = Weight._(130, _omitEnumNames ? '' : 'LONG_TON'); + static const Weight STONE = Weight._(140, _omitEnumNames ? '' : 'STONE'); + + static const $core.List values = [ + WEIGHT_UNKNOWN, + GRAMME, + MILLIGRAM, + CENTIGRAM, + DECIGRAM, + DECAGRAM, + HECTOGRAM, + KILOGRAM, + TONNE, + GRAIN, + ONCE, + POUND, + SHORT_TON, + LONG_TON, + STONE, + ]; + + static final $core.Map<$core.int, Weight> _byValue = $pb.ProtobufEnum.initByValue(values); + static Weight? valueOf($core.int value) => _byValue[value]; + + const Weight._($core.int v, $core.String n) : super(v, n); +} + +class Temperature extends $pb.ProtobufEnum { + static const Temperature TEMPERATURE_UNKNOWN = Temperature._(0, _omitEnumNames ? '' : 'TEMPERATURE_UNKNOWN'); + static const Temperature CELSIUS = Temperature._(1, _omitEnumNames ? '' : 'CELSIUS'); + static const Temperature FAHRENHEIT = Temperature._(2, _omitEnumNames ? '' : 'FAHRENHEIT'); + + static const $core.List values = [ + TEMPERATURE_UNKNOWN, + CELSIUS, + FAHRENHEIT, + ]; + + static final $core.Map<$core.int, Temperature> _byValue = $pb.ProtobufEnum.initByValue(values); + static Temperature? valueOf($core.int value) => _byValue[value]; + + const Temperature._($core.int v, $core.String n) : super(v, n); +} + +class Speed extends $pb.ProtobufEnum { + static const Speed SPEED_UNKNOWN = Speed._(0, _omitEnumNames ? '' : 'SPEED_UNKNOWN'); + static const Speed KM_PER_HOUR = Speed._(10, _omitEnumNames ? '' : 'KM_PER_HOUR'); + static const Speed METER_PER_SECOND = Speed._(20, _omitEnumNames ? '' : 'METER_PER_SECOND'); + static const Speed YARD_PER_SECOND = Speed._(30, _omitEnumNames ? '' : 'YARD_PER_SECOND'); + static const Speed MILE_PER_HOUR = Speed._(40, _omitEnumNames ? '' : 'MILE_PER_HOUR'); + + static const $core.List values = [ + SPEED_UNKNOWN, + KM_PER_HOUR, + METER_PER_SECOND, + YARD_PER_SECOND, + MILE_PER_HOUR, + ]; + + static final $core.Map<$core.int, Speed> _byValue = $pb.ProtobufEnum.initByValue(values); + static Speed? valueOf($core.int value) => _byValue[value]; + + const Speed._($core.int v, $core.String n) : super(v, n); +} + +class Area extends $pb.ProtobufEnum { + static const Area AREA_UNKNOWN = Area._(0, _omitEnumNames ? '' : 'AREA_UNKNOWN'); + static const Area SQUARE_METER = Area._(10, _omitEnumNames ? '' : 'SQUARE_METER'); + static const Area SQUARE_MILLIMETER = Area._(20, _omitEnumNames ? '' : 'SQUARE_MILLIMETER'); + static const Area SQUARE_CENTIMETER = Area._(30, _omitEnumNames ? '' : 'SQUARE_CENTIMETER'); + static const Area SQUARE_DECIMETER = Area._(40, _omitEnumNames ? '' : 'SQUARE_DECIMETER'); + static const Area SQUARE_DECAMETER = Area._(50, _omitEnumNames ? '' : 'SQUARE_DECAMETER'); + static const Area SQUARE_HECTOMETER = Area._(60, _omitEnumNames ? '' : 'SQUARE_HECTOMETER'); + static const Area SQUARE_INCH = Area._(70, _omitEnumNames ? '' : 'SQUARE_INCH'); + static const Area SQUARE_FEET = Area._(80, _omitEnumNames ? '' : 'SQUARE_FEET'); + static const Area SQUARE_YARD = Area._(90, _omitEnumNames ? '' : 'SQUARE_YARD'); + static const Area ACRE = Area._(100, _omitEnumNames ? '' : 'ACRE'); + + static const $core.List values = [ + AREA_UNKNOWN, + SQUARE_METER, + SQUARE_MILLIMETER, + SQUARE_CENTIMETER, + SQUARE_DECIMETER, + SQUARE_DECAMETER, + SQUARE_HECTOMETER, + SQUARE_INCH, + SQUARE_FEET, + SQUARE_YARD, + ACRE, + ]; + + static final $core.Map<$core.int, Area> _byValue = $pb.ProtobufEnum.initByValue(values); + static Area? valueOf($core.int value) => _byValue[value]; + + const Area._($core.int v, $core.String n) : super(v, n); +} + +class Volume extends $pb.ProtobufEnum { + static const Volume VOLUME_UNKNOWN = Volume._(0, _omitEnumNames ? '' : 'VOLUME_UNKNOWN'); + static const Volume CUBIC_METER = Volume._(10, _omitEnumNames ? '' : 'CUBIC_METER'); + static const Volume CUBIC_MILLIMETER = Volume._(20, _omitEnumNames ? '' : 'CUBIC_MILLIMETER'); + static const Volume CUBIC_CENTIMETER = Volume._(30, _omitEnumNames ? '' : 'CUBIC_CENTIMETER'); + static const Volume CUBIC_DECIMETER = Volume._(40, _omitEnumNames ? '' : 'CUBIC_DECIMETER'); + static const Volume LITER = Volume._(50, _omitEnumNames ? '' : 'LITER'); + static const Volume MILLI_LITER = Volume._(60, _omitEnumNames ? '' : 'MILLI_LITER'); + static const Volume CENTI_LITER = Volume._(70, _omitEnumNames ? '' : 'CENTI_LITER'); + static const Volume DECI_LITER = Volume._(80, _omitEnumNames ? '' : 'DECI_LITER'); + static const Volume DECA_LITER = Volume._(90, _omitEnumNames ? '' : 'DECA_LITER'); + static const Volume HECTO_LITER = Volume._(100, _omitEnumNames ? '' : 'HECTO_LITER'); + static const Volume CUBIC_INCH = Volume._(110, _omitEnumNames ? '' : 'CUBIC_INCH'); + static const Volume CUBIC_FEET = Volume._(120, _omitEnumNames ? '' : 'CUBIC_FEET'); + static const Volume CUBIC_YARD = Volume._(130, _omitEnumNames ? '' : 'CUBIC_YARD'); + static const Volume US_FLUID_OUNCE = Volume._(140, _omitEnumNames ? '' : 'US_FLUID_OUNCE'); + static const Volume US_PINT = Volume._(150, _omitEnumNames ? '' : 'US_PINT'); + static const Volume US_DRY_PINT = Volume._(160, _omitEnumNames ? '' : 'US_DRY_PINT'); + static const Volume US_DRY_QUART = Volume._(170, _omitEnumNames ? '' : 'US_DRY_QUART'); + static const Volume US_GAL = Volume._(180, _omitEnumNames ? '' : 'US_GAL'); + static const Volume IMPERIAL_OUNCE = Volume._(190, _omitEnumNames ? '' : 'IMPERIAL_OUNCE'); + static const Volume IMPERIAL_PINT = Volume._(200, _omitEnumNames ? '' : 'IMPERIAL_PINT'); + static const Volume IMPERIAL_QUART = Volume._(210, _omitEnumNames ? '' : 'IMPERIAL_QUART'); + static const Volume IMPERIAL_GAL = Volume._(220, _omitEnumNames ? '' : 'IMPERIAL_GAL'); + + static const $core.List values = [ + VOLUME_UNKNOWN, + CUBIC_METER, + CUBIC_MILLIMETER, + CUBIC_CENTIMETER, + CUBIC_DECIMETER, + LITER, + MILLI_LITER, + CENTI_LITER, + DECI_LITER, + DECA_LITER, + HECTO_LITER, + CUBIC_INCH, + CUBIC_FEET, + CUBIC_YARD, + US_FLUID_OUNCE, + US_PINT, + US_DRY_PINT, + US_DRY_QUART, + US_GAL, + IMPERIAL_OUNCE, + IMPERIAL_PINT, + IMPERIAL_QUART, + IMPERIAL_GAL, + ]; + + static final $core.Map<$core.int, Volume> _byValue = $pb.ProtobufEnum.initByValue(values); + static Volume? valueOf($core.int value) => _byValue[value]; + + const Volume._($core.int v, $core.String n) : super(v, n); +} + +class DimensionLess extends $pb.ProtobufEnum { + static const DimensionLess DIMENSIONLESS_UNKNOWN = DimensionLess._(0, _omitEnumNames ? '' : 'DIMENSIONLESS_UNKNOWN'); + static const DimensionLess UNIT = DimensionLess._(1, _omitEnumNames ? '' : 'UNIT'); + + static const $core.List values = [ + DIMENSIONLESS_UNKNOWN, + UNIT, + ]; + + static final $core.Map<$core.int, DimensionLess> _byValue = $pb.ProtobufEnum.initByValue(values); + static DimensionLess? valueOf($core.int value) => _byValue[value]; + + const DimensionLess._($core.int v, $core.String n) : super(v, n); +} + + +const _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names'); diff --git a/lib/core/unitOfMeasures.pbjson.dart b/lib/core/unitOfMeasures.pbjson.dart new file mode 100644 index 0000000..979c4c7 --- /dev/null +++ b/lib/core/unitOfMeasures.pbjson.dart @@ -0,0 +1,193 @@ +// +// Generated code. Do not modify. +// source: core/unitOfMeasures.proto +// +// @dart = 2.12 + +// ignore_for_file: annotate_overrides, camel_case_types, comment_references +// ignore_for_file: constant_identifier_names, library_prefixes +// ignore_for_file: non_constant_identifier_names, prefer_final_fields +// ignore_for_file: unnecessary_import, unnecessary_this, unused_import + +import 'dart:convert' as $convert; +import 'dart:core' as $core; +import 'dart:typed_data' as $typed_data; + +@$core.Deprecated('Use lengthDescriptor instead') +const Length$json = { + '1': 'Length', + '2': [ + {'1': 'LENGTH_UNKNOWN', '2': 0, '3': {}}, + {'1': 'METER', '2': 10, '3': {}}, + {'1': 'MILLIMETER', '2': 20, '3': {}}, + {'1': 'CENTIMETER', '2': 30, '3': {}}, + {'1': 'DECIMETER', '2': 40, '3': {}}, + {'1': 'DECAMETER', '2': 50, '3': {}}, + {'1': 'HECTOMETER', '2': 60, '3': {}}, + {'1': 'KILOMETER', '2': 70, '3': {}}, + {'1': 'INCH', '2': 80, '3': {}}, + {'1': 'FOOT', '2': 90, '3': {}}, + {'1': 'YARD', '2': 100, '3': {}}, + {'1': 'MILE', '2': 110, '3': {}}, + ], +}; + +/// Descriptor for `Length`. Decode as a `google.protobuf.EnumDescriptorProto`. +final $typed_data.Uint8List lengthDescriptor = $convert.base64Decode( + 'CgZMZW5ndGgSGAoOTEVOR1RIX1VOS05PV04QABoEotQYABIQCgVNRVRFUhAKGgWi1BgBbRIWCg' + 'pNSUxMSU1FVEVSEBQaBqLUGAJtbRIWCgpDRU5USU1FVEVSEB4aBqLUGAJjbRIVCglERUNJTUVU' + 'RVIQKBoGotQYAmRtEhYKCURFQ0FNRVRFUhAyGgei1BgDZGFtEhYKCkhFQ1RPTUVURVIQPBoGot' + 'QYAmhtEhUKCUtJTE9NRVRFUhBGGgai1BgCa20SEAoESU5DSBBQGgai1BgCaW4SEAoERk9PVBBa' + 'Ggai1BgCZnQSEAoEWUFSRBBkGgai1BgCeWQSEAoETUlMRRBuGgai1BgCbWk='); + +@$core.Deprecated('Use weightDescriptor instead') +const Weight$json = { + '1': 'Weight', + '2': [ + {'1': 'WEIGHT_UNKNOWN', '2': 0, '3': {}}, + {'1': 'GRAMME', '2': 10, '3': {}}, + {'1': 'MILLIGRAM', '2': 20, '3': {}}, + {'1': 'CENTIGRAM', '2': 30, '3': {}}, + {'1': 'DECIGRAM', '2': 40, '3': {}}, + {'1': 'DECAGRAM', '2': 50, '3': {}}, + {'1': 'HECTOGRAM', '2': 60, '3': {}}, + {'1': 'KILOGRAM', '2': 70, '3': {}}, + {'1': 'TONNE', '2': 80, '3': {}}, + {'1': 'GRAIN', '2': 90, '3': {}}, + {'1': 'ONCE', '2': 100, '3': {}}, + {'1': 'POUND', '2': 110, '3': {}}, + {'1': 'SHORT_TON', '2': 120, '3': {}}, + {'1': 'LONG_TON', '2': 130, '3': {}}, + {'1': 'STONE', '2': 140, '3': {}}, + ], +}; + +/// Descriptor for `Weight`. Decode as a `google.protobuf.EnumDescriptorProto`. +final $typed_data.Uint8List weightDescriptor = $convert.base64Decode( + 'CgZXZWlnaHQSGAoOV0VJR0hUX1VOS05PV04QABoEotQYABIRCgZHUkFNTUUQChoFotQYAWcSFQ' + 'oJTUlMTElHUkFNEBQaBqLUGAJtZxIVCglDRU5USUdSQU0QHhoGotQYAmNnEhQKCERFQ0lHUkFN' + 'ECgaBqLUGAJkZxIVCghERUNBR1JBTRAyGgei1BgDZGFnEhUKCUhFQ1RPR1JBTRA8Ggai1BgCaG' + 'cSFAoIS0lMT0dSQU0QRhoGotQYAmtnEhAKBVRPTk5FEFAaBaLUGAF0EhEKBUdSQUlOEFoaBqLU' + 'GAJnchIQCgRPTkNFEGQaBqLUGAJvehIRCgVQT1VORBBuGgai1BgCbGISFwoJU0hPUlRfVE9OEH' + 'gaCKLUGARzdG9uEhcKCExPTkdfVE9OEIIBGgii1BgEbHRvbhIVCgVTVE9ORRCMARoJotQYBXN0' + 'b25l'); + +@$core.Deprecated('Use temperatureDescriptor instead') +const Temperature$json = { + '1': 'Temperature', + '2': [ + {'1': 'TEMPERATURE_UNKNOWN', '2': 0, '3': {}}, + {'1': 'CELSIUS', '2': 1, '3': {}}, + {'1': 'FAHRENHEIT', '2': 2, '3': {}}, + ], +}; + +/// Descriptor for `Temperature`. Decode as a `google.protobuf.EnumDescriptorProto`. +final $typed_data.Uint8List temperatureDescriptor = $convert.base64Decode( + 'CgtUZW1wZXJhdHVyZRIdChNURU1QRVJBVFVSRV9VTktOT1dOEAAaBKLUGAASFAoHQ0VMU0lVUx' + 'ABGgei1BgDwrBDEhcKCkZBSFJFTkhFSVQQAhoHotQYA8KwRg=='); + +@$core.Deprecated('Use speedDescriptor instead') +const Speed$json = { + '1': 'Speed', + '2': [ + {'1': 'SPEED_UNKNOWN', '2': 0, '3': {}}, + {'1': 'KM_PER_HOUR', '2': 10, '3': {}}, + {'1': 'METER_PER_SECOND', '2': 20, '3': {}}, + {'1': 'YARD_PER_SECOND', '2': 30, '3': {}}, + {'1': 'MILE_PER_HOUR', '2': 40, '3': {}}, + ], +}; + +/// Descriptor for `Speed`. Decode as a `google.protobuf.EnumDescriptorProto`. +final $typed_data.Uint8List speedDescriptor = $convert.base64Decode( + 'CgVTcGVlZBIXCg1TUEVFRF9VTktOT1dOEAAaBKLUGAASGQoLS01fUEVSX0hPVVIQChoIotQYBG' + 'ttL2gSHQoQTUVURVJfUEVSX1NFQ09ORBAUGgei1BgDbS9zEh0KD1lBUkRfUEVSX1NFQ09ORBAe' + 'Ggii1BgEeWQvcxIbCg1NSUxFX1BFUl9IT1VSECgaCKLUGARtaS9o'); + +@$core.Deprecated('Use areaDescriptor instead') +const Area$json = { + '1': 'Area', + '2': [ + {'1': 'AREA_UNKNOWN', '2': 0, '3': {}}, + {'1': 'SQUARE_METER', '2': 10, '3': {}}, + {'1': 'SQUARE_MILLIMETER', '2': 20, '3': {}}, + {'1': 'SQUARE_CENTIMETER', '2': 30, '3': {}}, + {'1': 'SQUARE_DECIMETER', '2': 40, '3': {}}, + {'1': 'SQUARE_DECAMETER', '2': 50, '3': {}}, + {'1': 'SQUARE_HECTOMETER', '2': 60, '3': {}}, + {'1': 'SQUARE_INCH', '2': 70, '3': {}}, + {'1': 'SQUARE_FEET', '2': 80, '3': {}}, + {'1': 'SQUARE_YARD', '2': 90, '3': {}}, + {'1': 'ACRE', '2': 100, '3': {}}, + ], +}; + +/// Descriptor for `Area`. Decode as a `google.protobuf.EnumDescriptorProto`. +final $typed_data.Uint8List areaDescriptor = $convert.base64Decode( + 'CgRBcmVhEhYKDEFSRUFfVU5LTk9XThAAGgSi1BgAEhgKDFNRVUFSRV9NRVRFUhAKGgai1BgCbT' + 'ISHgoRU1FVQVJFX01JTExJTUVURVIQFBoHotQYA21tMhIeChFTUVVBUkVfQ0VOVElNRVRFUhAe' + 'Ggei1BgDY20yEh0KEFNRVUFSRV9ERUNJTUVURVIQKBoHotQYA2RtMhIeChBTUVVBUkVfREVDQU' + '1FVEVSEDIaCKLUGARkYW0yEh4KEVNRVUFSRV9IRUNUT01FVEVSEDwaB6LUGANobTISGAoLU1FV' + 'QVJFX0lOQ0gQRhoHotQYA2luMhIYCgtTUVVBUkVfRkVFVBBQGgei1BgDZnQyEhgKC1NRVUFSRV' + '9ZQVJEEFoaB6LUGAN5ZDISEgoEQUNSRRBkGgii1BgEYWNyZQ=='); + +@$core.Deprecated('Use volumeDescriptor instead') +const Volume$json = { + '1': 'Volume', + '2': [ + {'1': 'VOLUME_UNKNOWN', '2': 0, '3': {}}, + {'1': 'CUBIC_METER', '2': 10, '3': {}}, + {'1': 'CUBIC_MILLIMETER', '2': 20, '3': {}}, + {'1': 'CUBIC_CENTIMETER', '2': 30, '3': {}}, + {'1': 'CUBIC_DECIMETER', '2': 40, '3': {}}, + {'1': 'LITER', '2': 50, '3': {}}, + {'1': 'MILLI_LITER', '2': 60, '3': {}}, + {'1': 'CENTI_LITER', '2': 70, '3': {}}, + {'1': 'DECI_LITER', '2': 80, '3': {}}, + {'1': 'DECA_LITER', '2': 90, '3': {}}, + {'1': 'HECTO_LITER', '2': 100, '3': {}}, + {'1': 'CUBIC_INCH', '2': 110, '3': {}}, + {'1': 'CUBIC_FEET', '2': 120, '3': {}}, + {'1': 'CUBIC_YARD', '2': 130, '3': {}}, + {'1': 'US_FLUID_OUNCE', '2': 140, '3': {}}, + {'1': 'US_PINT', '2': 150, '3': {}}, + {'1': 'US_DRY_PINT', '2': 160, '3': {}}, + {'1': 'US_DRY_QUART', '2': 170, '3': {}}, + {'1': 'US_GAL', '2': 180, '3': {}}, + {'1': 'IMPERIAL_OUNCE', '2': 190, '3': {}}, + {'1': 'IMPERIAL_PINT', '2': 200, '3': {}}, + {'1': 'IMPERIAL_QUART', '2': 210, '3': {}}, + {'1': 'IMPERIAL_GAL', '2': 220, '3': {}}, + ], +}; + +/// Descriptor for `Volume`. Decode as a `google.protobuf.EnumDescriptorProto`. +final $typed_data.Uint8List volumeDescriptor = $convert.base64Decode( + 'CgZWb2x1bWUSGAoOVk9MVU1FX1VOS05PV04QABoEotQYABIXCgtDVUJJQ19NRVRFUhAKGgai1B' + 'gCbTMSHQoQQ1VCSUNfTUlMTElNRVRFUhAUGgei1BgDbW0zEh0KEENVQklDX0NFTlRJTUVURVIQ' + 'HhoHotQYA2NtMxIcCg9DVUJJQ19ERUNJTUVURVIQKBoHotQYA2RtMxIQCgVMSVRFUhAyGgWi1B' + 'gBbBIXCgtNSUxMSV9MSVRFUhA8Ggai1BgCbWwSFwoLQ0VOVElfTElURVIQRhoGotQYAmNsEhYK' + 'CkRFQ0lfTElURVIQUBoGotQYAmRsEhcKCkRFQ0FfTElURVIQWhoHotQYA2RhbBIXCgtIRUNUT1' + '9MSVRFUhBkGgai1BgCaGwSFwoKQ1VCSUNfSU5DSBBuGgei1BgDaW4zEhcKCkNVQklDX0ZFRVQQ' + 'eBoHotQYA2Z0MxIYCgpDVUJJQ19ZQVJEEIIBGgei1BgDeWQzEh8KDlVTX0ZMVUlEX09VTkNFEI' + 'wBGgqi1BgGZm96X3VzEhQKB1VTX1BJTlQQlgEaBqLUGAJwdBIcCgtVU19EUllfUElOVBCgARoK' + 'otQYBmRwdF91cxIdCgxVU19EUllfUVVBUlQQqgEaCqLUGAZkcXRfdXMSFwoGVVNfR0FMELQBGg' + 'qi1BgGZ2FsX3VzEiAKDklNUEVSSUFMX09VTkNFEL4BGgui1BgHZmxvel9ichIdCg1JTVBFUklB' + 'TF9QSU5UEMgBGgmi1BgFcHRfYnISHgoOSU1QRVJJQUxfUVVBUlQQ0gEaCaLUGAVxdF91cxIdCg' + 'xJTVBFUklBTF9HQUwQ3AEaCqLUGAZnYWxfYnI='); + +@$core.Deprecated('Use dimensionLessDescriptor instead') +const DimensionLess$json = { + '1': 'DimensionLess', + '2': [ + {'1': 'DIMENSIONLESS_UNKNOWN', '2': 0, '3': {}}, + {'1': 'UNIT', '2': 1, '3': {}}, + ], +}; + +/// Descriptor for `DimensionLess`. Decode as a `google.protobuf.EnumDescriptorProto`. +final $typed_data.Uint8List dimensionLessDescriptor = $convert.base64Decode( + 'Cg1EaW1lbnNpb25MZXNzEh8KFURJTUVOU0lPTkxFU1NfVU5LTk9XThAAGgSi1BgAEhIKBFVOSV' + 'QQARoIotQYBHVuaXQ='); + diff --git a/lib/counter.pb.dart b/lib/counter.pb.dart new file mode 100644 index 0000000..d84697d --- /dev/null +++ b/lib/counter.pb.dart @@ -0,0 +1,137 @@ +// +// Generated code. Do not modify. +// source: counter.proto +// +// @dart = 2.12 + +// ignore_for_file: annotate_overrides, camel_case_types, comment_references +// ignore_for_file: constant_identifier_names, library_prefixes +// ignore_for_file: non_constant_identifier_names, prefer_final_fields +// ignore_for_file: unnecessary_import, unnecessary_this, unused_import + +import 'dart:core' as $core; + +import 'package:fixnum/fixnum.dart' as $fixnum; +import 'package:protobuf/protobuf.dart' as $pb; + +import 'core/shared.pb.dart' as $16; + +class NextProjectCounterRequest extends $pb.GeneratedMessage { + factory NextProjectCounterRequest({ + $16.RequestProjectHeader? header, + $core.String? key, + }) { + final $result = create(); + if (header != null) { + $result.header = header; + } + 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); + factory NextProjectCounterRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + 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) + ..aOS(2, _omitFieldNames ? '' : 'Key', protoName: 'Key') + ..hasRequiredFields = false + ; + + @$core.Deprecated( + '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); + @$core.Deprecated( + '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; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static NextProjectCounterRequest create() => NextProjectCounterRequest._(); + NextProjectCounterRequest createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static NextProjectCounterRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static NextProjectCounterRequest? _defaultInstance; + + @$pb.TagNumber(1) + $16.RequestProjectHeader get header => $_getN(0); + @$pb.TagNumber(1) + set header($16.RequestProjectHeader v) { setField(1, v); } + @$pb.TagNumber(1) + $core.bool hasHeader() => $_has(0); + @$pb.TagNumber(1) + void clearHeader() => clearField(1); + @$pb.TagNumber(1) + $16.RequestProjectHeader ensureHeader() => $_ensure(0); + + @$pb.TagNumber(2) + $core.String get key => $_getSZ(1); + @$pb.TagNumber(2) + set key($core.String v) { $_setString(1, v); } + @$pb.TagNumber(2) + $core.bool hasKey() => $_has(1); + @$pb.TagNumber(2) + void clearKey() => clearField(2); +} + +class NextCounterResult extends $pb.GeneratedMessage { + factory NextCounterResult({ + $fixnum.Int64? value, + }) { + final $result = create(); + if (value != null) { + $result.value = value; + } + return $result; + } + NextCounterResult._() : super(); + factory NextCounterResult.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory NextCounterResult.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'NextCounterResult', package: const $pb.PackageName(_omitMessageNames ? '' : 'vizapi'), createEmptyInstance: create) + ..aInt64(1, _omitFieldNames ? '' : 'Value', protoName: 'Value') + ..hasRequiredFields = false + ; + + @$core.Deprecated( + '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); + @$core.Deprecated( + '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; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static NextCounterResult create() => NextCounterResult._(); + NextCounterResult createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static NextCounterResult getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static NextCounterResult? _defaultInstance; + + @$pb.TagNumber(1) + $fixnum.Int64 get value => $_getI64(0); + @$pb.TagNumber(1) + set value($fixnum.Int64 v) { $_setInt64(0, v); } + @$pb.TagNumber(1) + $core.bool hasValue() => $_has(0); + @$pb.TagNumber(1) + void clearValue() => clearField(1); +} + + +const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); +const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/counter.pbenum.dart b/lib/counter.pbenum.dart new file mode 100644 index 0000000..766e7b7 --- /dev/null +++ b/lib/counter.pbenum.dart @@ -0,0 +1,11 @@ +// +// Generated code. Do not modify. +// source: counter.proto +// +// @dart = 2.12 + +// ignore_for_file: annotate_overrides, camel_case_types, comment_references +// ignore_for_file: constant_identifier_names, library_prefixes +// ignore_for_file: non_constant_identifier_names, prefer_final_fields +// ignore_for_file: unnecessary_import, unnecessary_this, unused_import + diff --git a/lib/counter.pbgrpc.dart b/lib/counter.pbgrpc.dart new file mode 100644 index 0000000..5a20259 --- /dev/null +++ b/lib/counter.pbgrpc.dart @@ -0,0 +1,59 @@ +// +// Generated code. Do not modify. +// source: counter.proto +// +// @dart = 2.12 + +// ignore_for_file: annotate_overrides, camel_case_types, comment_references +// ignore_for_file: constant_identifier_names, library_prefixes +// ignore_for_file: non_constant_identifier_names, prefer_final_fields +// ignore_for_file: unnecessary_import, unnecessary_this, unused_import + +import 'dart:async' as $async; +import 'dart:core' as $core; + +import 'package:grpc/service_api.dart' as $grpc; +import 'package:protobuf/protobuf.dart' as $pb; + +import 'counter.pb.dart' as $9; + +export 'counter.pb.dart'; + +@$pb.GrpcServiceName('vizapi.ProjectCountersService') +class ProjectCountersServiceClient extends $grpc.Client { + static final _$next = $grpc.ClientMethod<$9.NextProjectCounterRequest, $9.NextCounterResult>( + '/vizapi.ProjectCountersService/Next', + ($9.NextProjectCounterRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $9.NextCounterResult.fromBuffer(value)); + + ProjectCountersServiceClient($grpc.ClientChannel channel, + {$grpc.CallOptions? options, + $core.Iterable<$grpc.ClientInterceptor>? interceptors}) + : super(channel, options: options, + interceptors: interceptors); + + $grpc.ResponseFuture<$9.NextCounterResult> next($9.NextProjectCounterRequest request, {$grpc.CallOptions? options}) { + return $createUnaryCall(_$next, request, options: options); + } +} + +@$pb.GrpcServiceName('vizapi.ProjectCountersService') +abstract class ProjectCountersServiceBase extends $grpc.Service { + $core.String get $name => 'vizapi.ProjectCountersService'; + + ProjectCountersServiceBase() { + $addMethod($grpc.ServiceMethod<$9.NextProjectCounterRequest, $9.NextCounterResult>( + 'Next', + next_Pre, + false, + false, + ($core.List<$core.int> value) => $9.NextProjectCounterRequest.fromBuffer(value), + ($9.NextCounterResult value) => value.writeToBuffer())); + } + + $async.Future<$9.NextCounterResult> next_Pre($grpc.ServiceCall call, $async.Future<$9.NextProjectCounterRequest> request) async { + return next(call, await request); + } + + $async.Future<$9.NextCounterResult> next($grpc.ServiceCall call, $9.NextProjectCounterRequest request); +} diff --git a/lib/counter.pbjson.dart b/lib/counter.pbjson.dart new file mode 100644 index 0000000..d808028 --- /dev/null +++ b/lib/counter.pbjson.dart @@ -0,0 +1,43 @@ +// +// Generated code. Do not modify. +// source: counter.proto +// +// @dart = 2.12 + +// ignore_for_file: annotate_overrides, camel_case_types, comment_references +// ignore_for_file: constant_identifier_names, library_prefixes +// ignore_for_file: non_constant_identifier_names, prefer_final_fields +// ignore_for_file: unnecessary_import, unnecessary_this, unused_import + +import 'dart:convert' as $convert; +import 'dart:core' as $core; +import 'dart:typed_data' as $typed_data; + +@$core.Deprecated('Use nextProjectCounterRequestDescriptor instead') +const NextProjectCounterRequest$json = { + '1': 'NextProjectCounterRequest', + '2': [ + {'1': 'Header', '3': 1, '4': 1, '5': 11, '6': '.api.RequestProjectHeader', '8': {}, '10': 'Header'}, + {'1': 'Key', '3': 2, '4': 1, '5': 9, '8': {}, '10': 'Key'}, + ], + '7': {}, +}; + +/// Descriptor for `NextProjectCounterRequest`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List nextProjectCounterRequestDescriptor = $convert.base64Decode( + 'ChlOZXh0UHJvamVjdENvdW50ZXJSZXF1ZXN0EjsKBkhlYWRlchgBIAEoCzIZLmFwaS5SZXF1ZX' + 'N0UHJvamVjdEhlYWRlckII+kIFigECEAFSBkhlYWRlchImCgNLZXkYAiABKAlCFJJBCkoIImNs' + 'YWltcyL6QgRyAhABUgNLZXk6FJJBEQoP0gEGSGVhZGVy0gEDS2V5'); + +@$core.Deprecated('Use nextCounterResultDescriptor instead') +const NextCounterResult$json = { + '1': 'NextCounterResult', + '2': [ + {'1': 'Value', '3': 1, '4': 1, '5': 3, '10': 'Value'}, + ], +}; + +/// Descriptor for `NextCounterResult`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List nextCounterResultDescriptor = $convert.base64Decode( + 'ChFOZXh0Q291bnRlclJlc3VsdBIUCgVWYWx1ZRgBIAEoA1IFVmFsdWU='); + diff --git a/lib/google/api/annotations.pb.dart b/lib/google/api/annotations.pb.dart new file mode 100644 index 0000000..9c0434b --- /dev/null +++ b/lib/google/api/annotations.pb.dart @@ -0,0 +1,27 @@ +// +// Generated code. Do not modify. +// source: google/api/annotations.proto +// +// @dart = 2.12 + +// ignore_for_file: annotate_overrides, camel_case_types, comment_references +// ignore_for_file: constant_identifier_names, library_prefixes +// ignore_for_file: non_constant_identifier_names, prefer_final_fields +// ignore_for_file: unnecessary_import, unnecessary_this, unused_import + +import 'dart:core' as $core; + +import 'package:protobuf/protobuf.dart' as $pb; + +import 'http.pb.dart' as $21; + +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 void registerAllExtensions($pb.ExtensionRegistry registry) { + registry.add(http); + } +} + + +const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); +const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/google/api/annotations.pbenum.dart b/lib/google/api/annotations.pbenum.dart new file mode 100644 index 0000000..7721604 --- /dev/null +++ b/lib/google/api/annotations.pbenum.dart @@ -0,0 +1,11 @@ +// +// Generated code. Do not modify. +// source: google/api/annotations.proto +// +// @dart = 2.12 + +// ignore_for_file: annotate_overrides, camel_case_types, comment_references +// ignore_for_file: constant_identifier_names, library_prefixes +// ignore_for_file: non_constant_identifier_names, prefer_final_fields +// ignore_for_file: unnecessary_import, unnecessary_this, unused_import + diff --git a/lib/google/api/annotations.pbjson.dart b/lib/google/api/annotations.pbjson.dart new file mode 100644 index 0000000..552ee2b --- /dev/null +++ b/lib/google/api/annotations.pbjson.dart @@ -0,0 +1,15 @@ +// +// Generated code. Do not modify. +// source: google/api/annotations.proto +// +// @dart = 2.12 + +// ignore_for_file: annotate_overrides, camel_case_types, comment_references +// ignore_for_file: constant_identifier_names, library_prefixes +// ignore_for_file: non_constant_identifier_names, prefer_final_fields +// ignore_for_file: unnecessary_import, unnecessary_this, unused_import + +import 'dart:convert' as $convert; +import 'dart:core' as $core; +import 'dart:typed_data' as $typed_data; + diff --git a/lib/google/api/field_behavior.pb.dart b/lib/google/api/field_behavior.pb.dart new file mode 100644 index 0000000..81c3c0c --- /dev/null +++ b/lib/google/api/field_behavior.pb.dart @@ -0,0 +1,29 @@ +// +// Generated code. Do not modify. +// source: google/api/field_behavior.proto +// +// @dart = 2.12 + +// ignore_for_file: annotate_overrides, camel_case_types, comment_references +// ignore_for_file: constant_identifier_names, library_prefixes +// ignore_for_file: non_constant_identifier_names, prefer_final_fields +// ignore_for_file: unnecessary_import, unnecessary_this, unused_import + +import 'dart:core' as $core; + +import 'package:protobuf/protobuf.dart' as $pb; + +import 'field_behavior.pbenum.dart'; + +export 'field_behavior.pbenum.dart'; + +class Field_behavior { + static final fieldBehavior = $pb.Extension.repeated(_omitMessageNames ? '' : 'google.protobuf.FieldOptions', _omitFieldNames ? '' : 'fieldBehavior', 1052, $pb.PbFieldType.KE, check: $pb.getCheckFunction($pb.PbFieldType.KE), valueOf: FieldBehavior.valueOf, enumValues: FieldBehavior.values); + static void registerAllExtensions($pb.ExtensionRegistry registry) { + registry.add(fieldBehavior); + } +} + + +const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); +const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/google/api/field_behavior.pbenum.dart b/lib/google/api/field_behavior.pbenum.dart new file mode 100644 index 0000000..9014436 --- /dev/null +++ b/lib/google/api/field_behavior.pbenum.dart @@ -0,0 +1,46 @@ +// +// Generated code. Do not modify. +// source: google/api/field_behavior.proto +// +// @dart = 2.12 + +// ignore_for_file: annotate_overrides, camel_case_types, comment_references +// ignore_for_file: constant_identifier_names, library_prefixes +// ignore_for_file: non_constant_identifier_names, prefer_final_fields +// ignore_for_file: unnecessary_import, unnecessary_this, unused_import + +import 'dart:core' as $core; + +import 'package:protobuf/protobuf.dart' as $pb; + +/// 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). +/// This **does not** change the behavior in protocol buffers itself; it only +/// denotes the behavior and may affect how API tooling handles the field. +/// +/// Note: This enum **may** receive new values in the future. +class FieldBehavior extends $pb.ProtobufEnum { + static const FieldBehavior FIELD_BEHAVIOR_UNSPECIFIED = FieldBehavior._(0, _omitEnumNames ? '' : 'FIELD_BEHAVIOR_UNSPECIFIED'); + static const FieldBehavior OPTIONAL = FieldBehavior._(1, _omitEnumNames ? '' : 'OPTIONAL'); + static const FieldBehavior REQUIRED = FieldBehavior._(2, _omitEnumNames ? '' : 'REQUIRED'); + static const FieldBehavior OUTPUT_ONLY = FieldBehavior._(3, _omitEnumNames ? '' : 'OUTPUT_ONLY'); + static const FieldBehavior INPUT_ONLY = FieldBehavior._(4, _omitEnumNames ? '' : 'INPUT_ONLY'); + static const FieldBehavior IMMUTABLE = FieldBehavior._(5, _omitEnumNames ? '' : 'IMMUTABLE'); + + static const $core.List values = [ + FIELD_BEHAVIOR_UNSPECIFIED, + OPTIONAL, + REQUIRED, + OUTPUT_ONLY, + INPUT_ONLY, + IMMUTABLE, + ]; + + static final $core.Map<$core.int, FieldBehavior> _byValue = $pb.ProtobufEnum.initByValue(values); + static FieldBehavior? valueOf($core.int value) => _byValue[value]; + + const FieldBehavior._($core.int v, $core.String n) : super(v, n); +} + + +const _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names'); diff --git a/lib/google/api/field_behavior.pbjson.dart b/lib/google/api/field_behavior.pbjson.dart new file mode 100644 index 0000000..b2a9386 --- /dev/null +++ b/lib/google/api/field_behavior.pbjson.dart @@ -0,0 +1,34 @@ +// +// Generated code. Do not modify. +// source: google/api/field_behavior.proto +// +// @dart = 2.12 + +// ignore_for_file: annotate_overrides, camel_case_types, comment_references +// ignore_for_file: constant_identifier_names, library_prefixes +// ignore_for_file: non_constant_identifier_names, prefer_final_fields +// ignore_for_file: unnecessary_import, unnecessary_this, unused_import + +import 'dart:convert' as $convert; +import 'dart:core' as $core; +import 'dart:typed_data' as $typed_data; + +@$core.Deprecated('Use fieldBehaviorDescriptor instead') +const FieldBehavior$json = { + '1': 'FieldBehavior', + '2': [ + {'1': 'FIELD_BEHAVIOR_UNSPECIFIED', '2': 0}, + {'1': 'OPTIONAL', '2': 1}, + {'1': 'REQUIRED', '2': 2}, + {'1': 'OUTPUT_ONLY', '2': 3}, + {'1': 'INPUT_ONLY', '2': 4}, + {'1': 'IMMUTABLE', '2': 5}, + ], +}; + +/// Descriptor for `FieldBehavior`. Decode as a `google.protobuf.EnumDescriptorProto`. +final $typed_data.Uint8List fieldBehaviorDescriptor = $convert.base64Decode( + 'Cg1GaWVsZEJlaGF2aW9yEh4KGkZJRUxEX0JFSEFWSU9SX1VOU1BFQ0lGSUVEEAASDAoIT1BUSU' + '9OQUwQARIMCghSRVFVSVJFRBACEg8KC09VVFBVVF9PTkxZEAMSDgoKSU5QVVRfT05MWRAEEg0K' + 'CUlNTVVUQUJMRRAF'); + diff --git a/lib/google/api/http.pb.dart b/lib/google/api/http.pb.dart new file mode 100644 index 0000000..feb4245 --- /dev/null +++ b/lib/google/api/http.pb.dart @@ -0,0 +1,647 @@ +// +// Generated code. Do not modify. +// source: google/api/http.proto +// +// @dart = 2.12 + +// ignore_for_file: annotate_overrides, camel_case_types, comment_references +// ignore_for_file: constant_identifier_names, library_prefixes +// ignore_for_file: non_constant_identifier_names, prefer_final_fields +// ignore_for_file: unnecessary_import, unnecessary_this, unused_import + +import 'dart:core' as $core; + +import 'package:protobuf/protobuf.dart' as $pb; + +/// Defines the HTTP configuration for an API service. It contains a list of +/// [HttpRule][google.api.HttpRule], each specifying the mapping of an RPC method +/// to one or more HTTP REST API methods. +class Http extends $pb.GeneratedMessage { + factory Http({ + $core.Iterable? rules, + $core.bool? fullyDecodeReservedExpansion, + }) { + final $result = create(); + if (rules != null) { + $result.rules.addAll(rules); + } + 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); + factory Http.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Http', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.api'), createEmptyInstance: create) + ..pc(1, _omitFieldNames ? '' : 'rules', $pb.PbFieldType.PM, subBuilder: HttpRule.create) + ..aOB(2, _omitFieldNames ? '' : 'fullyDecodeReservedExpansion') + ..hasRequiredFields = false + ; + + @$core.Deprecated( + '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); + @$core.Deprecated( + '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; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static Http create() => Http._(); + Http createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static Http getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static Http? _defaultInstance; + + /// A list of HTTP configuration rules that apply to individual API methods. + /// + /// **NOTE:** All service configuration rules follow "last one wins" order. + @$pb.TagNumber(1) + $core.List get rules => $_getList(0); + + /// 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 + /// left encoded. + /// + /// The default behavior is to not decode RFC 6570 reserved characters in multi + /// segment matches. + @$pb.TagNumber(2) + $core.bool get fullyDecodeReservedExpansion => $_getBF(1); + @$pb.TagNumber(2) + set fullyDecodeReservedExpansion($core.bool v) { $_setBool(1, v); } + @$pb.TagNumber(2) + $core.bool hasFullyDecodeReservedExpansion() => $_has(1); + @$pb.TagNumber(2) + void clearFullyDecodeReservedExpansion() => clearField(2); +} + +enum HttpRule_Pattern { + get, + put, + post, + delete, + patch, + custom, + notSet +} + +/// # gRPC Transcoding +/// +/// 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 +/// that supports both gRPC APIs and REST APIs. Many systems, including [Google +/// APIs](https://github.com/googleapis/googleapis), +/// [Cloud Endpoints](https://cloud.google.com/endpoints), [gRPC +/// Gateway](https://github.com/grpc-ecosystem/grpc-gateway), +/// and [Envoy](https://github.com/envoyproxy/envoy) proxy support this feature +/// and use it for large scale production services. +/// +/// `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 +/// 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 +/// 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 +/// 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. +/// The path template controls how fields of the request message are mapped to +/// the URL path. +/// +/// Example: +/// +/// service Messaging { +/// rpc GetMessage(GetMessageRequest) returns (Message) { +/// option (google.api.http) = { +/// get: "/v1/{name=messages/*}" +/// }; +/// } +/// } +/// message GetMessageRequest { +/// string name = 1; // Mapped to URL path. +/// } +/// message Message { +/// string text = 1; // The resource content. +/// } +/// +/// This enables an HTTP REST to gRPC mapping as below: +/// +/// HTTP | gRPC +/// -----|----- +/// `GET /v1/messages/123456` | `GetMessage(name: "messages/123456")` +/// +/// 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. +/// For example: +/// +/// service Messaging { +/// rpc GetMessage(GetMessageRequest) returns (Message) { +/// option (google.api.http) = { +/// get:"/v1/messages/{message_id}" +/// }; +/// } +/// } +/// message GetMessageRequest { +/// message SubMessage { +/// string subfield = 1; +/// } +/// string message_id = 1; // Mapped to URL path. +/// int64 revision = 2; // Mapped to URL query parameter `revision`. +/// SubMessage sub = 3; // Mapped to URL query parameter `sub.subfield`. +/// } +/// +/// This enables a HTTP JSON to RPC mapping as below: +/// +/// HTTP | gRPC +/// -----|----- +/// `GET /v1/messages/123456?revision=2&sub.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 +/// 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 +/// as `...?param=A¶m=B`. In the case of a message type, each field of the +/// message is mapped to a separate parameter, such as +/// `...?foo.a=A&foo.b=B&foo.c=C`. +/// +/// For HTTP methods that allow a request body, the `body` field +/// specifies the mapping. Consider a REST update method on the +/// message resource collection: +/// +/// service Messaging { +/// rpc UpdateMessage(UpdateMessageRequest) returns (Message) { +/// option (google.api.http) = { +/// patch: "/v1/messages/{message_id}" +/// body: "message" +/// }; +/// } +/// } +/// message UpdateMessageRequest { +/// string message_id = 1; // mapped to the URL +/// Message message = 2; // mapped to the body +/// } +/// +/// The following HTTP JSON to RPC mapping is enabled, where the +/// representation of the JSON in the request body is determined by +/// protos JSON encoding: +/// +/// HTTP | gRPC +/// -----|----- +/// `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 +/// every field not bound by the path template should be mapped to the +/// request body. This enables the following alternative definition of +/// the update method: +/// +/// service Messaging { +/// rpc UpdateMessage(Message) returns (Message) { +/// option (google.api.http) = { +/// patch: "/v1/messages/{message_id}" +/// body: "*" +/// }; +/// } +/// } +/// message Message { +/// string message_id = 1; +/// string text = 2; +/// } +/// +/// +/// The following HTTP JSON to RPC mapping is enabled: +/// +/// HTTP | gRPC +/// -----|----- +/// `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 +/// 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 +/// defining REST APIs. The common usage of `*` is in custom methods +/// which don't use the URL at all for transferring data. +/// +/// It is possible to define multiple HTTP methods for one RPC by using +/// the `additional_bindings` option. Example: +/// +/// service Messaging { +/// rpc GetMessage(GetMessageRequest) returns (Message) { +/// option (google.api.http) = { +/// get: "/v1/messages/{message_id}" +/// additional_bindings { +/// get: "/v1/users/{user_id}/messages/{message_id}" +/// } +/// }; +/// } +/// } +/// message GetMessageRequest { +/// string message_id = 1; +/// string user_id = 2; +/// } +/// +/// This enables the following two alternative HTTP JSON to RPC mappings: +/// +/// HTTP | gRPC +/// -----|----- +/// `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 +/// +/// 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. +/// +/// ### Path template syntax +/// +/// Template = "/" Segments [ Verb ] ; +/// 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 +/// zero or more URL path segments, which must be the last part of the URL path +/// except the `Verb`. +/// +/// The syntax `Variable` matches part of the URL path as specified by its +/// template. A variable template must not contain other variables. If a variable +/// matches a single path segment, its template may be omitted, e.g. `{var}` +/// is equivalent to `{var=*}`. +/// +/// The syntax `LITERAL` matches literal text in the URL path. If the `LITERAL` +/// contains any reserved character, such characters should be percent-encoded +/// before the matching. +/// +/// If a variable contains exactly one path segment, such as `"{var}"` 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. 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/*}"` +/// 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}`. +/// +/// ## Using gRPC API Service Configuration +/// +/// gRPC API Service Configuration (service config) is a configuration language +/// 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 +/// 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. +/// +/// Example: +/// +/// http: +/// rules: +/// # Selects a gRPC method and applies HttpRule to it. +/// - selector: example.v1.Messaging.GetMessage +/// get: /v1/messages/{message_id}/{sub.subfield} +/// +/// ## Special notes +/// +/// When gRPC Transcoding is used to map a gRPC to JSON REST endpoints, the +/// 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 +/// [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** refer to any repeated or mapped field, +/// because client libraries are not capable of handling such variable expansion. +/// +/// The path variables **must not** capture the leading "/" character. The reason +/// is that the most common use case "{var}" does not capture the leading "/" +/// character. For consistency, all path variables must share the same behavior. +/// +/// Repeated message fields must not be mapped to URL query parameters, because +/// no client library can support such complicated mapping. +/// +/// 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 { + factory HttpRule({ + $core.String? selector, + $core.String? get, + $core.String? put, + $core.String? post, + $core.String? delete, + $core.String? patch, + $core.String? body, + CustomHttpPattern? custom, + $core.Iterable? additionalBindings, + $core.String? responseBody, + }) { + final $result = create(); + if (selector != null) { + $result.selector = selector; + } + if (get != null) { + $result.get = get; + } + if (put != null) { + $result.put = put; + } + if (post != null) { + $result.post = post; + } + 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); + factory HttpRule.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static const $core.Map<$core.int, HttpRule_Pattern> _HttpRule_PatternByTag = { + 2 : HttpRule_Pattern.get, + 3 : HttpRule_Pattern.put, + 4 : HttpRule_Pattern.post, + 5 : HttpRule_Pattern.delete, + 6 : HttpRule_Pattern.patch, + 8 : HttpRule_Pattern.custom, + 0 : HttpRule_Pattern.notSet + }; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'HttpRule', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.api'), createEmptyInstance: create) + ..oo(0, [2, 3, 4, 5, 6, 8]) + ..aOS(1, _omitFieldNames ? '' : 'selector') + ..aOS(2, _omitFieldNames ? '' : 'get') + ..aOS(3, _omitFieldNames ? '' : 'put') + ..aOS(4, _omitFieldNames ? '' : 'post') + ..aOS(5, _omitFieldNames ? '' : 'delete') + ..aOS(6, _omitFieldNames ? '' : 'patch') + ..aOS(7, _omitFieldNames ? '' : 'body') + ..aOM(8, _omitFieldNames ? '' : 'custom', subBuilder: CustomHttpPattern.create) + ..pc(11, _omitFieldNames ? '' : 'additionalBindings', $pb.PbFieldType.PM, subBuilder: HttpRule.create) + ..aOS(12, _omitFieldNames ? '' : 'responseBody') + ..hasRequiredFields = false + ; + + @$core.Deprecated( + '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); + @$core.Deprecated( + '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; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static HttpRule create() => HttpRule._(); + HttpRule createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static HttpRule getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static HttpRule? _defaultInstance; + + HttpRule_Pattern whichPattern() => _HttpRule_PatternByTag[$_whichOneof(0)]!; + void clearPattern() => clearField($_whichOneof(0)); + + /// Selects a method to which this rule applies. + /// + /// Refer to [selector][google.api.DocumentationRule.selector] for syntax details. + @$pb.TagNumber(1) + $core.String get selector => $_getSZ(0); + @$pb.TagNumber(1) + set selector($core.String v) { $_setString(0, v); } + @$pb.TagNumber(1) + $core.bool hasSelector() => $_has(0); + @$pb.TagNumber(1) + void clearSelector() => clearField(1); + + /// Maps to HTTP GET. Used for listing and getting information about + /// resources. + @$pb.TagNumber(2) + $core.String get get => $_getSZ(1); + @$pb.TagNumber(2) + set get($core.String v) { $_setString(1, v); } + @$pb.TagNumber(2) + $core.bool hasGet() => $_has(1); + @$pb.TagNumber(2) + void clearGet() => clearField(2); + + /// Maps to HTTP PUT. Used for replacing a resource. + @$pb.TagNumber(3) + $core.String get put => $_getSZ(2); + @$pb.TagNumber(3) + set put($core.String v) { $_setString(2, v); } + @$pb.TagNumber(3) + $core.bool hasPut() => $_has(2); + @$pb.TagNumber(3) + void clearPut() => clearField(3); + + /// Maps to HTTP POST. Used for creating a resource or performing an action. + @$pb.TagNumber(4) + $core.String get post => $_getSZ(3); + @$pb.TagNumber(4) + set post($core.String v) { $_setString(3, v); } + @$pb.TagNumber(4) + $core.bool hasPost() => $_has(3); + @$pb.TagNumber(4) + void clearPost() => clearField(4); + + /// Maps to HTTP DELETE. Used for deleting a resource. + @$pb.TagNumber(5) + $core.String get delete => $_getSZ(4); + @$pb.TagNumber(5) + set delete($core.String v) { $_setString(4, v); } + @$pb.TagNumber(5) + $core.bool hasDelete() => $_has(4); + @$pb.TagNumber(5) + void clearDelete() => clearField(5); + + /// Maps to HTTP PATCH. Used for updating a resource. + @$pb.TagNumber(6) + $core.String get patch => $_getSZ(5); + @$pb.TagNumber(6) + set patch($core.String v) { $_setString(5, v); } + @$pb.TagNumber(6) + $core.bool hasPatch() => $_has(5); + @$pb.TagNumber(6) + void clearPatch() => clearField(6); + + /// 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 + /// 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 + /// message type. + @$pb.TagNumber(7) + $core.String get body => $_getSZ(6); + @$pb.TagNumber(7) + set body($core.String v) { $_setString(6, v); } + @$pb.TagNumber(7) + $core.bool hasBody() => $_has(6); + @$pb.TagNumber(7) + void clearBody() => clearField(7); + + /// The custom pattern is used for specifying an HTTP method that is not + /// included in the `pattern` field, such as HEAD, or "*" to leave the + /// HTTP method unspecified for this rule. The wild-card rule is useful + /// for services that provide content to Web (HTML) clients. + @$pb.TagNumber(8) + CustomHttpPattern get custom => $_getN(7); + @$pb.TagNumber(8) + set custom(CustomHttpPattern v) { setField(8, v); } + @$pb.TagNumber(8) + $core.bool hasCustom() => $_has(7); + @$pb.TagNumber(8) + void clearCustom() => clearField(8); + @$pb.TagNumber(8) + CustomHttpPattern ensureCustom() => $_ensure(7); + + /// Additional HTTP bindings for the selector. Nested bindings must + /// not contain an `additional_bindings` field themselves (that is, + /// the nesting may only be one level deep). + @$pb.TagNumber(11) + $core.List get additionalBindings => $_getList(8); + + /// 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 + /// as the HTTP response body. + /// + /// NOTE: The referred field must be present at the top-level of the response + /// message type. + @$pb.TagNumber(12) + $core.String get responseBody => $_getSZ(9); + @$pb.TagNumber(12) + set responseBody($core.String v) { $_setString(9, v); } + @$pb.TagNumber(12) + $core.bool hasResponseBody() => $_has(9); + @$pb.TagNumber(12) + void clearResponseBody() => clearField(12); +} + +/// A custom pattern is used for defining custom HTTP verb. +class CustomHttpPattern extends $pb.GeneratedMessage { + factory CustomHttpPattern({ + $core.String? kind, + $core.String? path, + }) { + final $result = create(); + if (kind != null) { + $result.kind = kind; + } + 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); + factory CustomHttpPattern.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CustomHttpPattern', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.api'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'kind') + ..aOS(2, _omitFieldNames ? '' : 'path') + ..hasRequiredFields = false + ; + + @$core.Deprecated( + '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); + @$core.Deprecated( + '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; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static CustomHttpPattern create() => CustomHttpPattern._(); + CustomHttpPattern createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static CustomHttpPattern getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static CustomHttpPattern? _defaultInstance; + + /// The name of this custom HTTP verb. + @$pb.TagNumber(1) + $core.String get kind => $_getSZ(0); + @$pb.TagNumber(1) + set kind($core.String v) { $_setString(0, v); } + @$pb.TagNumber(1) + $core.bool hasKind() => $_has(0); + @$pb.TagNumber(1) + void clearKind() => clearField(1); + + /// The path matched by this custom verb. + @$pb.TagNumber(2) + $core.String get path => $_getSZ(1); + @$pb.TagNumber(2) + set path($core.String v) { $_setString(1, v); } + @$pb.TagNumber(2) + $core.bool hasPath() => $_has(1); + @$pb.TagNumber(2) + void clearPath() => clearField(2); +} + + +const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); +const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/google/api/http.pbenum.dart b/lib/google/api/http.pbenum.dart new file mode 100644 index 0000000..85231f7 --- /dev/null +++ b/lib/google/api/http.pbenum.dart @@ -0,0 +1,11 @@ +// +// Generated code. Do not modify. +// source: google/api/http.proto +// +// @dart = 2.12 + +// ignore_for_file: annotate_overrides, camel_case_types, comment_references +// ignore_for_file: constant_identifier_names, library_prefixes +// ignore_for_file: non_constant_identifier_names, prefer_final_fields +// ignore_for_file: unnecessary_import, unnecessary_this, unused_import + diff --git a/lib/google/api/http.pbjson.dart b/lib/google/api/http.pbjson.dart new file mode 100644 index 0000000..e802c05 --- /dev/null +++ b/lib/google/api/http.pbjson.dart @@ -0,0 +1,74 @@ +// +// Generated code. Do not modify. +// source: google/api/http.proto +// +// @dart = 2.12 + +// ignore_for_file: annotate_overrides, camel_case_types, comment_references +// ignore_for_file: constant_identifier_names, library_prefixes +// ignore_for_file: non_constant_identifier_names, prefer_final_fields +// ignore_for_file: unnecessary_import, unnecessary_this, unused_import + +import 'dart:convert' as $convert; +import 'dart:core' as $core; +import 'dart:typed_data' as $typed_data; + +@$core.Deprecated('Use httpDescriptor instead') +const Http$json = { + '1': 'Http', + '2': [ + {'1': 'rules', '3': 1, '4': 3, '5': 11, '6': '.google.api.HttpRule', '10': 'rules'}, + {'1': 'fully_decode_reserved_expansion', '3': 2, '4': 1, '5': 8, '10': 'fullyDecodeReservedExpansion'}, + ], +}; + +/// Descriptor for `Http`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List httpDescriptor = $convert.base64Decode( + 'CgRIdHRwEioKBXJ1bGVzGAEgAygLMhQuZ29vZ2xlLmFwaS5IdHRwUnVsZVIFcnVsZXMSRQofZn' + 'VsbHlfZGVjb2RlX3Jlc2VydmVkX2V4cGFuc2lvbhgCIAEoCFIcZnVsbHlEZWNvZGVSZXNlcnZl' + 'ZEV4cGFuc2lvbg=='); + +@$core.Deprecated('Use httpRuleDescriptor instead') +const HttpRule$json = { + '1': 'HttpRule', + '2': [ + {'1': 'selector', '3': 1, '4': 1, '5': 9, '10': 'selector'}, + {'1': 'get', '3': 2, '4': 1, '5': 9, '9': 0, '10': 'get'}, + {'1': 'put', '3': 3, '4': 1, '5': 9, '9': 0, '10': 'put'}, + {'1': 'post', '3': 4, '4': 1, '5': 9, '9': 0, '10': 'post'}, + {'1': 'delete', '3': 5, '4': 1, '5': 9, '9': 0, '10': 'delete'}, + {'1': 'patch', '3': 6, '4': 1, '5': 9, '9': 0, '10': 'patch'}, + {'1': 'custom', '3': 8, '4': 1, '5': 11, '6': '.google.api.CustomHttpPattern', '9': 0, '10': 'custom'}, + {'1': 'body', '3': 7, '4': 1, '5': 9, '10': 'body'}, + {'1': 'response_body', '3': 12, '4': 1, '5': 9, '10': 'responseBody'}, + {'1': 'additional_bindings', '3': 11, '4': 3, '5': 11, '6': '.google.api.HttpRule', '10': 'additionalBindings'}, + ], + '8': [ + {'1': 'pattern'}, + ], +}; + +/// Descriptor for `HttpRule`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List httpRuleDescriptor = $convert.base64Decode( + 'CghIdHRwUnVsZRIaCghzZWxlY3RvchgBIAEoCVIIc2VsZWN0b3ISEgoDZ2V0GAIgASgJSABSA2' + 'dldBISCgNwdXQYAyABKAlIAFIDcHV0EhQKBHBvc3QYBCABKAlIAFIEcG9zdBIYCgZkZWxldGUY' + 'BSABKAlIAFIGZGVsZXRlEhYKBXBhdGNoGAYgASgJSABSBXBhdGNoEjcKBmN1c3RvbRgIIAEoCz' + 'IdLmdvb2dsZS5hcGkuQ3VzdG9tSHR0cFBhdHRlcm5IAFIGY3VzdG9tEhIKBGJvZHkYByABKAlS' + 'BGJvZHkSIwoNcmVzcG9uc2VfYm9keRgMIAEoCVIMcmVzcG9uc2VCb2R5EkUKE2FkZGl0aW9uYW' + 'xfYmluZGluZ3MYCyADKAsyFC5nb29nbGUuYXBpLkh0dHBSdWxlUhJhZGRpdGlvbmFsQmluZGlu' + 'Z3NCCQoHcGF0dGVybg=='); + +@$core.Deprecated('Use customHttpPatternDescriptor instead') +const CustomHttpPattern$json = { + '1': 'CustomHttpPattern', + '2': [ + {'1': 'kind', '3': 1, '4': 1, '5': 9, '10': 'kind'}, + {'1': 'path', '3': 2, '4': 1, '5': 9, '10': 'path'}, + ], +}; + +/// Descriptor for `CustomHttpPattern`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List customHttpPatternDescriptor = $convert.base64Decode( + 'ChFDdXN0b21IdHRwUGF0dGVybhISCgRraW5kGAEgASgJUgRraW5kEhIKBHBhdGgYAiABKAlSBH' + 'BhdGg='); + diff --git a/lib/google/api/httpbody.pb.dart b/lib/google/api/httpbody.pb.dart new file mode 100644 index 0000000..5881587 --- /dev/null +++ b/lib/google/api/httpbody.pb.dart @@ -0,0 +1,135 @@ +// +// Generated code. Do not modify. +// source: google/api/httpbody.proto +// +// @dart = 2.12 + +// ignore_for_file: annotate_overrides, camel_case_types, comment_references +// ignore_for_file: constant_identifier_names, library_prefixes +// ignore_for_file: non_constant_identifier_names, prefer_final_fields +// ignore_for_file: unnecessary_import, unnecessary_this, unused_import + +import 'dart:core' as $core; + +import 'package:protobuf/protobuf.dart' as $pb; + +import '../protobuf/any.pb.dart' as $17; + +/// 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 +/// an HTML page. +/// +/// +/// This message can be used both in streaming and non-streaming API methods in +/// the request as well as the response. +/// +/// 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 +/// request fields and also want access to the raw HTTP body. +/// +/// Example: +/// +/// message GetResourceRequest { +/// // A unique request id. +/// string request_id = 1; +/// +/// // The raw HTTP body is bound to this field. +/// 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 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 { + factory HttpBody({ + $core.String? contentType, + $core.List<$core.int>? data, + $core.Iterable<$17.Any>? extensions, + }) { + final $result = create(); + if (contentType != null) { + $result.contentType = contentType; + } + if (data != null) { + $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); + factory HttpBody.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'HttpBody', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.api'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'contentType') + ..a<$core.List<$core.int>>(2, _omitFieldNames ? '' : 'data', $pb.PbFieldType.OY) + ..pc<$17.Any>(3, _omitFieldNames ? '' : 'extensions', $pb.PbFieldType.PM, subBuilder: $17.Any.create) + ..hasRequiredFields = false + ; + + @$core.Deprecated( + '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); + @$core.Deprecated( + '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; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static HttpBody create() => HttpBody._(); + HttpBody createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static HttpBody getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static HttpBody? _defaultInstance; + + /// The HTTP Content-Type header value specifying the content type of the body. + @$pb.TagNumber(1) + $core.String get contentType => $_getSZ(0); + @$pb.TagNumber(1) + set contentType($core.String v) { $_setString(0, v); } + @$pb.TagNumber(1) + $core.bool hasContentType() => $_has(0); + @$pb.TagNumber(1) + void clearContentType() => clearField(1); + + /// The HTTP request/response body as raw binary. + @$pb.TagNumber(2) + $core.List<$core.int> get data => $_getN(1); + @$pb.TagNumber(2) + set data($core.List<$core.int> v) { $_setBytes(1, v); } + @$pb.TagNumber(2) + $core.bool hasData() => $_has(1); + @$pb.TagNumber(2) + void clearData() => clearField(2); + + /// Application specific response metadata. Must be set in the first response + /// for streaming APIs. + @$pb.TagNumber(3) + $core.List<$17.Any> get extensions => $_getList(2); +} + + +const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); +const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/google/api/httpbody.pbenum.dart b/lib/google/api/httpbody.pbenum.dart new file mode 100644 index 0000000..addee6f --- /dev/null +++ b/lib/google/api/httpbody.pbenum.dart @@ -0,0 +1,11 @@ +// +// Generated code. Do not modify. +// source: google/api/httpbody.proto +// +// @dart = 2.12 + +// ignore_for_file: annotate_overrides, camel_case_types, comment_references +// ignore_for_file: constant_identifier_names, library_prefixes +// ignore_for_file: non_constant_identifier_names, prefer_final_fields +// ignore_for_file: unnecessary_import, unnecessary_this, unused_import + diff --git a/lib/google/api/httpbody.pbjson.dart b/lib/google/api/httpbody.pbjson.dart new file mode 100644 index 0000000..1ab1198 --- /dev/null +++ b/lib/google/api/httpbody.pbjson.dart @@ -0,0 +1,31 @@ +// +// Generated code. Do not modify. +// source: google/api/httpbody.proto +// +// @dart = 2.12 + +// ignore_for_file: annotate_overrides, camel_case_types, comment_references +// ignore_for_file: constant_identifier_names, library_prefixes +// ignore_for_file: non_constant_identifier_names, prefer_final_fields +// ignore_for_file: unnecessary_import, unnecessary_this, unused_import + +import 'dart:convert' as $convert; +import 'dart:core' as $core; +import 'dart:typed_data' as $typed_data; + +@$core.Deprecated('Use httpBodyDescriptor instead') +const HttpBody$json = { + '1': 'HttpBody', + '2': [ + {'1': 'content_type', '3': 1, '4': 1, '5': 9, '10': 'contentType'}, + {'1': 'data', '3': 2, '4': 1, '5': 12, '10': 'data'}, + {'1': 'extensions', '3': 3, '4': 3, '5': 11, '6': '.google.protobuf.Any', '10': 'extensions'}, + ], +}; + +/// Descriptor for `HttpBody`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List httpBodyDescriptor = $convert.base64Decode( + 'CghIdHRwQm9keRIhCgxjb250ZW50X3R5cGUYASABKAlSC2NvbnRlbnRUeXBlEhIKBGRhdGEYAi' + 'ABKAxSBGRhdGESNAoKZXh0ZW5zaW9ucxgDIAMoCzIULmdvb2dsZS5wcm90b2J1Zi5BbnlSCmV4' + 'dGVuc2lvbnM='); + diff --git a/lib/google/protobuf/any.pb.dart b/lib/google/protobuf/any.pb.dart new file mode 100644 index 0000000..ab31d10 --- /dev/null +++ b/lib/google/protobuf/any.pb.dart @@ -0,0 +1,201 @@ +// +// Generated code. Do not modify. +// source: google/protobuf/any.proto +// +// @dart = 2.12 + +// ignore_for_file: annotate_overrides, camel_case_types, comment_references +// ignore_for_file: constant_identifier_names, library_prefixes +// ignore_for_file: non_constant_identifier_names, prefer_final_fields +// ignore_for_file: unnecessary_import, unnecessary_this, unused_import + +import 'dart:core' as $core; + +import 'package:protobuf/protobuf.dart' as $pb; +import 'package:protobuf/src/protobuf/mixins/well_known.dart' as $mixin; + +/// `Any` contains an arbitrary serialized protocol buffer message along with a +/// URL that describes the type of the serialized message. +/// +/// Protobuf library provides support to pack/unpack Any values in the form +/// of utility functions or additional generated methods of the Any type. +/// +/// Example 1: Pack and unpack a message in C++. +/// +/// Foo foo = ...; +/// Any any; +/// any.PackFrom(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 +/// '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". +/// +/// +/// JSON +/// ==== +/// 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; +/// message Person { +/// string first_name = 1; +/// string last_name = 2; +/// } +/// +/// { +/// "@type": "type.googleapis.com/google.profile.Person", +/// "firstName": , +/// "lastName": +/// } +/// +/// 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 { + factory Any({ + $core.String? typeUrl, + $core.List<$core.int>? value, + }) { + final $result = create(); + if (typeUrl != null) { + $result.typeUrl = typeUrl; + } + 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); + factory Any.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + 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') + ..a<$core.List<$core.int>>(2, _omitFieldNames ? '' : 'value', $pb.PbFieldType.OY) + ..hasRequiredFields = false + ; + + @$core.Deprecated( + '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); + @$core.Deprecated( + '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; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static Any create() => Any._(); + Any createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static Any getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static Any? _defaultInstance; + + /// A URL/resource name that uniquely identifies the type of the serialized + /// protocol buffer message. This string must contain at least + /// one "/" character. The last segment of the URL's path must represent + /// the fully qualified name of the type (as in + /// `path/google.protobuf.Duration`). The name should be in a canonical form + /// (e.g., leading "." is not accepted). + /// + /// 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 + /// scheme `http`, `https`, or no scheme, one can optionally set up a type + /// server that maps type URLs to message definitions as follows: + /// + /// * If no scheme is provided, `https` is assumed. + /// * An HTTP GET on the URL must yield a [google.protobuf.Type][] + /// value in binary format, or produce an error. + /// * Applications are allowed to cache lookup results based on the + /// URL, or have them precompiled into a binary to avoid any + /// lookup. Therefore, binary compatibility needs to be preserved + /// on changes to types. (Use versioned type names to manage + /// breaking changes.) + /// + /// Note: this functionality is not currently available in the official + /// protobuf release, and it is not used for type URLs beginning with + /// type.googleapis.com. + /// + /// Schemes other than `http`, `https` (or the empty scheme) might be + /// used with implementation specific semantics. + @$pb.TagNumber(1) + $core.String get typeUrl => $_getSZ(0); + @$pb.TagNumber(1) + set typeUrl($core.String v) { $_setString(0, v); } + @$pb.TagNumber(1) + $core.bool hasTypeUrl() => $_has(0); + @$pb.TagNumber(1) + void clearTypeUrl() => clearField(1); + + /// Must be a valid serialized protocol buffer of the above specified type. + @$pb.TagNumber(2) + $core.List<$core.int> get value => $_getN(1); + @$pb.TagNumber(2) + set value($core.List<$core.int> v) { $_setBytes(1, v); } + @$pb.TagNumber(2) + $core.bool hasValue() => $_has(1); + @$pb.TagNumber(2) + void clearValue() => clearField(2); + /// Creates a new [Any] encoding [message]. + /// + /// The [typeUrl] will be [typeUrlPrefix]/`fullName` where `fullName` is + /// the fully qualified name of the type of [message]. + static Any pack($pb.GeneratedMessage message, + {$core.String typeUrlPrefix = 'type.googleapis.com'}) { + final result = create(); + $mixin.AnyMixin.packIntoAny(result, message, + typeUrlPrefix: typeUrlPrefix); + return result; + } +} + + +const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); +const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/google/protobuf/any.pbenum.dart b/lib/google/protobuf/any.pbenum.dart new file mode 100644 index 0000000..effdb47 --- /dev/null +++ b/lib/google/protobuf/any.pbenum.dart @@ -0,0 +1,11 @@ +// +// Generated code. Do not modify. +// source: google/protobuf/any.proto +// +// @dart = 2.12 + +// ignore_for_file: annotate_overrides, camel_case_types, comment_references +// ignore_for_file: constant_identifier_names, library_prefixes +// ignore_for_file: non_constant_identifier_names, prefer_final_fields +// ignore_for_file: unnecessary_import, unnecessary_this, unused_import + diff --git a/lib/google/protobuf/any.pbjson.dart b/lib/google/protobuf/any.pbjson.dart new file mode 100644 index 0000000..beaeb5f --- /dev/null +++ b/lib/google/protobuf/any.pbjson.dart @@ -0,0 +1,28 @@ +// +// Generated code. Do not modify. +// source: google/protobuf/any.proto +// +// @dart = 2.12 + +// ignore_for_file: annotate_overrides, camel_case_types, comment_references +// ignore_for_file: constant_identifier_names, library_prefixes +// ignore_for_file: non_constant_identifier_names, prefer_final_fields +// ignore_for_file: unnecessary_import, unnecessary_this, unused_import + +import 'dart:convert' as $convert; +import 'dart:core' as $core; +import 'dart:typed_data' as $typed_data; + +@$core.Deprecated('Use anyDescriptor instead') +const Any$json = { + '1': 'Any', + '2': [ + {'1': 'type_url', '3': 1, '4': 1, '5': 9, '10': 'typeUrl'}, + {'1': 'value', '3': 2, '4': 1, '5': 12, '10': 'value'}, + ], +}; + +/// Descriptor for `Any`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List anyDescriptor = $convert.base64Decode( + 'CgNBbnkSGQoIdHlwZV91cmwYASABKAlSB3R5cGVVcmwSFAoFdmFsdWUYAiABKAxSBXZhbHVl'); + diff --git a/lib/google/protobuf/api.pb.dart b/lib/google/protobuf/api.pb.dart new file mode 100644 index 0000000..0e0a155 --- /dev/null +++ b/lib/google/protobuf/api.pb.dart @@ -0,0 +1,457 @@ +// +// Generated code. Do not modify. +// source: google/protobuf/api.proto +// +// @dart = 2.12 + +// ignore_for_file: annotate_overrides, camel_case_types, comment_references +// ignore_for_file: constant_identifier_names, library_prefixes +// ignore_for_file: non_constant_identifier_names, prefer_final_fields +// ignore_for_file: unnecessary_import, unnecessary_this, unused_import + +import 'dart:core' as $core; + +import 'package:protobuf/protobuf.dart' as $pb; + +import 'source_context.pb.dart' as $18; +import 'type.pb.dart' as $20; +import 'type.pbenum.dart' as $20; + +/// Api is a light-weight descriptor for an API Interface. +/// +/// 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 +/// from API Services, which represent a concrete implementation of an interface +/// 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 +/// this message itself. See https://cloud.google.com/apis/design/glossary for +/// detailed terminology. +class Api extends $pb.GeneratedMessage { + factory Api({ + $core.String? name, + $core.Iterable? methods, + $core.Iterable<$20.Option>? options, + $core.String? version, + $18.SourceContext? sourceContext, + $core.Iterable? mixins, + $20.Syntax? syntax, + }) { + final $result = create(); + if (name != null) { + $result.name = name; + } + if (methods != null) { + $result.methods.addAll(methods); + } + if (options != null) { + $result.options.addAll(options); + } + 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); + factory Api.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Api', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'name') + ..pc(2, _omitFieldNames ? '' : 'methods', $pb.PbFieldType.PM, subBuilder: Method.create) + ..pc<$20.Option>(3, _omitFieldNames ? '' : 'options', $pb.PbFieldType.PM, subBuilder: $20.Option.create) + ..aOS(4, _omitFieldNames ? '' : 'version') + ..aOM<$18.SourceContext>(5, _omitFieldNames ? '' : 'sourceContext', subBuilder: $18.SourceContext.create) + ..pc(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) + ..hasRequiredFields = false + ; + + @$core.Deprecated( + '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); + @$core.Deprecated( + '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; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static Api create() => Api._(); + Api createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static Api getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static Api? _defaultInstance; + + /// The fully qualified name of this interface, including package name + /// followed by the interface's simple name. + @$pb.TagNumber(1) + $core.String get name => $_getSZ(0); + @$pb.TagNumber(1) + set name($core.String v) { $_setString(0, v); } + @$pb.TagNumber(1) + $core.bool hasName() => $_has(0); + @$pb.TagNumber(1) + void clearName() => clearField(1); + + /// The methods of this interface, in unspecified order. + @$pb.TagNumber(2) + $core.List get methods => $_getList(1); + + /// Any metadata attached to the interface. + @$pb.TagNumber(3) + $core.List<$20.Option> get options => $_getList(2); + + /// 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 + /// 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 + /// field is not empty, the version in the package name will be verified to be + /// consistent with what is provided here. + /// + /// The versioning schema uses [semantic + /// versioning](http://semver.org) where the major version number + /// indicates a breaking change and the minor version an additive, + /// non-breaking change. Both version numbers are signals to users + /// what to expect from different versions, and should be carefully + /// chosen based on the product plan. + /// + /// The major version is also reflected in the package name of the + /// interface, which must end in `v`, as in + /// `google.feature.v1`. For major versions 0 and 1, the suffix can + /// be omitted. Zero major versions must only be used for + /// experimental, non-GA interfaces. + @$pb.TagNumber(4) + $core.String get version => $_getSZ(3); + @$pb.TagNumber(4) + set version($core.String v) { $_setString(3, v); } + @$pb.TagNumber(4) + $core.bool hasVersion() => $_has(3); + @$pb.TagNumber(4) + void clearVersion() => clearField(4); + + /// Source context for the protocol buffer service represented by this + /// message. + @$pb.TagNumber(5) + $18.SourceContext get sourceContext => $_getN(4); + @$pb.TagNumber(5) + set sourceContext($18.SourceContext v) { setField(5, v); } + @$pb.TagNumber(5) + $core.bool hasSourceContext() => $_has(4); + @$pb.TagNumber(5) + void clearSourceContext() => clearField(5); + @$pb.TagNumber(5) + $18.SourceContext ensureSourceContext() => $_ensure(4); + + /// Included interfaces. See [Mixin][]. + @$pb.TagNumber(6) + $core.List get mixins => $_getList(5); + + /// The source syntax of the service. + @$pb.TagNumber(7) + $20.Syntax get syntax => $_getN(6); + @$pb.TagNumber(7) + set syntax($20.Syntax v) { setField(7, v); } + @$pb.TagNumber(7) + $core.bool hasSyntax() => $_has(6); + @$pb.TagNumber(7) + void clearSyntax() => clearField(7); +} + +/// Method represents a method of an API interface. +class Method extends $pb.GeneratedMessage { + factory Method({ + $core.String? name, + $core.String? requestTypeUrl, + $core.bool? requestStreaming, + $core.String? responseTypeUrl, + $core.bool? responseStreaming, + $core.Iterable<$20.Option>? options, + $20.Syntax? syntax, + }) { + final $result = create(); + if (name != null) { + $result.name = name; + } + if (requestTypeUrl != null) { + $result.requestTypeUrl = requestTypeUrl; + } + if (requestStreaming != null) { + $result.requestStreaming = requestStreaming; + } + 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); + factory Method.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Method', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'name') + ..aOS(2, _omitFieldNames ? '' : 'requestTypeUrl') + ..aOB(3, _omitFieldNames ? '' : 'requestStreaming') + ..aOS(4, _omitFieldNames ? '' : 'responseTypeUrl') + ..aOB(5, _omitFieldNames ? '' : 'responseStreaming') + ..pc<$20.Option>(6, _omitFieldNames ? '' : 'options', $pb.PbFieldType.PM, subBuilder: $20.Option.create) + ..e<$20.Syntax>(7, _omitFieldNames ? '' : 'syntax', $pb.PbFieldType.OE, defaultOrMaker: $20.Syntax.SYNTAX_PROTO2, valueOf: $20.Syntax.valueOf, enumValues: $20.Syntax.values) + ..hasRequiredFields = false + ; + + @$core.Deprecated( + '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); + @$core.Deprecated( + '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; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static Method create() => Method._(); + Method createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static Method getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static Method? _defaultInstance; + + /// The simple name of this method. + @$pb.TagNumber(1) + $core.String get name => $_getSZ(0); + @$pb.TagNumber(1) + set name($core.String v) { $_setString(0, v); } + @$pb.TagNumber(1) + $core.bool hasName() => $_has(0); + @$pb.TagNumber(1) + void clearName() => clearField(1); + + /// A URL of the input message type. + @$pb.TagNumber(2) + $core.String get requestTypeUrl => $_getSZ(1); + @$pb.TagNumber(2) + set requestTypeUrl($core.String v) { $_setString(1, v); } + @$pb.TagNumber(2) + $core.bool hasRequestTypeUrl() => $_has(1); + @$pb.TagNumber(2) + void clearRequestTypeUrl() => clearField(2); + + /// If true, the request is streamed. + @$pb.TagNumber(3) + $core.bool get requestStreaming => $_getBF(2); + @$pb.TagNumber(3) + set requestStreaming($core.bool v) { $_setBool(2, v); } + @$pb.TagNumber(3) + $core.bool hasRequestStreaming() => $_has(2); + @$pb.TagNumber(3) + void clearRequestStreaming() => clearField(3); + + /// The URL of the output message type. + @$pb.TagNumber(4) + $core.String get responseTypeUrl => $_getSZ(3); + @$pb.TagNumber(4) + set responseTypeUrl($core.String v) { $_setString(3, v); } + @$pb.TagNumber(4) + $core.bool hasResponseTypeUrl() => $_has(3); + @$pb.TagNumber(4) + void clearResponseTypeUrl() => clearField(4); + + /// If true, the response is streamed. + @$pb.TagNumber(5) + $core.bool get responseStreaming => $_getBF(4); + @$pb.TagNumber(5) + set responseStreaming($core.bool v) { $_setBool(4, v); } + @$pb.TagNumber(5) + $core.bool hasResponseStreaming() => $_has(4); + @$pb.TagNumber(5) + void clearResponseStreaming() => clearField(5); + + /// Any metadata attached to the method. + @$pb.TagNumber(6) + $core.List<$20.Option> get options => $_getList(5); + + /// The source syntax of this method. + @$pb.TagNumber(7) + $20.Syntax get syntax => $_getN(6); + @$pb.TagNumber(7) + set syntax($20.Syntax v) { setField(7, v); } + @$pb.TagNumber(7) + $core.bool hasSyntax() => $_has(6); + @$pb.TagNumber(7) + void clearSyntax() => clearField(7); +} + +/// Declares an API Interface to be included in this interface. The including +/// interface must redeclare all the methods from the included interface, but +/// documentation and options are inherited as follows: +/// +/// - If after comment and whitespace stripping, the documentation +/// string of the redeclared method is empty, it will be inherited +/// from the original method. +/// +/// - Each annotation belonging to the service config (http, +/// visibility) which is not set in the redeclared method will be +/// inherited. +/// +/// - If an http annotation is inherited, the path pattern will be +/// modified as follows. Any version prefix will be replaced by the +/// version of the including interface plus the [root][] path if +/// specified. +/// +/// Example of a simple mixin: +/// +/// package google.acl.v1; +/// service AccessControl { +/// // Get the underlying ACL object. +/// rpc GetAcl(GetAclRequest) returns (Acl) { +/// option (google.api.http).get = "/v1/{resource=**}:getAcl"; +/// } +/// } +/// +/// package google.storage.v2; +/// service Storage { +/// rpc GetAcl(GetAclRequest) returns (Acl); +/// +/// // Get a data record. +/// rpc GetData(GetDataRequest) returns (Data) { +/// option (google.api.http).get = "/v2/{resource=**}"; +/// } +/// } +/// +/// Example of a mixin configuration: +/// +/// apis: +/// - name: google.storage.v2.Storage +/// mixins: +/// - name: google.acl.v1.AccessControl +/// +/// The mixin construct implies that all methods in `AccessControl` are +/// also declared with same name and request/response types in +/// `Storage`. A documentation generator or annotation processor will +/// see the effective `Storage.GetAcl` method after inherting +/// documentation and annotations as follows: +/// +/// service Storage { +/// // Get the underlying ACL object. +/// rpc GetAcl(GetAclRequest) returns (Acl) { +/// option (google.api.http).get = "/v2/{resource=**}:getAcl"; +/// } +/// ... +/// } +/// +/// 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 +/// relative path under which inherited HTTP paths are placed. Example: +/// +/// apis: +/// - name: google.storage.v2.Storage +/// mixins: +/// - name: google.acl.v1.AccessControl +/// root: acls +/// +/// This implies the following inherited HTTP annotation: +/// +/// service Storage { +/// // Get the underlying ACL object. +/// rpc GetAcl(GetAclRequest) returns (Acl) { +/// option (google.api.http).get = "/v2/acls/{resource=**}:getAcl"; +/// } +/// ... +/// } +class Mixin extends $pb.GeneratedMessage { + factory Mixin({ + $core.String? name, + $core.String? root, + }) { + final $result = create(); + if (name != null) { + $result.name = name; + } + 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); + factory Mixin.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Mixin', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'name') + ..aOS(2, _omitFieldNames ? '' : 'root') + ..hasRequiredFields = false + ; + + @$core.Deprecated( + '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); + @$core.Deprecated( + '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; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static Mixin create() => Mixin._(); + Mixin createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static Mixin getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static Mixin? _defaultInstance; + + /// The fully qualified name of the interface which is included. + @$pb.TagNumber(1) + $core.String get name => $_getSZ(0); + @$pb.TagNumber(1) + set name($core.String v) { $_setString(0, v); } + @$pb.TagNumber(1) + $core.bool hasName() => $_has(0); + @$pb.TagNumber(1) + void clearName() => clearField(1); + + /// If non-empty specifies a path under which inherited HTTP paths + /// are rooted. + @$pb.TagNumber(2) + $core.String get root => $_getSZ(1); + @$pb.TagNumber(2) + set root($core.String v) { $_setString(1, v); } + @$pb.TagNumber(2) + $core.bool hasRoot() => $_has(1); + @$pb.TagNumber(2) + void clearRoot() => clearField(2); +} + + +const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); +const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/google/protobuf/api.pbenum.dart b/lib/google/protobuf/api.pbenum.dart new file mode 100644 index 0000000..9b4a6b5 --- /dev/null +++ b/lib/google/protobuf/api.pbenum.dart @@ -0,0 +1,11 @@ +// +// Generated code. Do not modify. +// source: google/protobuf/api.proto +// +// @dart = 2.12 + +// ignore_for_file: annotate_overrides, camel_case_types, comment_references +// ignore_for_file: constant_identifier_names, library_prefixes +// ignore_for_file: non_constant_identifier_names, prefer_final_fields +// ignore_for_file: unnecessary_import, unnecessary_this, unused_import + diff --git a/lib/google/protobuf/api.pbjson.dart b/lib/google/protobuf/api.pbjson.dart new file mode 100644 index 0000000..d6b30eb --- /dev/null +++ b/lib/google/protobuf/api.pbjson.dart @@ -0,0 +1,74 @@ +// +// Generated code. Do not modify. +// source: google/protobuf/api.proto +// +// @dart = 2.12 + +// ignore_for_file: annotate_overrides, camel_case_types, comment_references +// ignore_for_file: constant_identifier_names, library_prefixes +// ignore_for_file: non_constant_identifier_names, prefer_final_fields +// ignore_for_file: unnecessary_import, unnecessary_this, unused_import + +import 'dart:convert' as $convert; +import 'dart:core' as $core; +import 'dart:typed_data' as $typed_data; + +@$core.Deprecated('Use apiDescriptor instead') +const Api$json = { + '1': 'Api', + '2': [ + {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, + {'1': 'methods', '3': 2, '4': 3, '5': 11, '6': '.google.protobuf.Method', '10': 'methods'}, + {'1': 'options', '3': 3, '4': 3, '5': 11, '6': '.google.protobuf.Option', '10': 'options'}, + {'1': 'version', '3': 4, '4': 1, '5': 9, '10': 'version'}, + {'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': 'syntax', '3': 7, '4': 1, '5': 14, '6': '.google.protobuf.Syntax', '10': 'syntax'}, + ], +}; + +/// Descriptor for `Api`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List apiDescriptor = $convert.base64Decode( + 'CgNBcGkSEgoEbmFtZRgBIAEoCVIEbmFtZRIxCgdtZXRob2RzGAIgAygLMhcuZ29vZ2xlLnByb3' + 'RvYnVmLk1ldGhvZFIHbWV0aG9kcxIxCgdvcHRpb25zGAMgAygLMhcuZ29vZ2xlLnByb3RvYnVm' + 'Lk9wdGlvblIHb3B0aW9ucxIYCgd2ZXJzaW9uGAQgASgJUgd2ZXJzaW9uEkUKDnNvdXJjZV9jb2' + '50ZXh0GAUgASgLMh4uZ29vZ2xlLnByb3RvYnVmLlNvdXJjZUNvbnRleHRSDXNvdXJjZUNvbnRl' + 'eHQSLgoGbWl4aW5zGAYgAygLMhYuZ29vZ2xlLnByb3RvYnVmLk1peGluUgZtaXhpbnMSLwoGc3' + 'ludGF4GAcgASgOMhcuZ29vZ2xlLnByb3RvYnVmLlN5bnRheFIGc3ludGF4'); + +@$core.Deprecated('Use methodDescriptor instead') +const Method$json = { + '1': 'Method', + '2': [ + {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, + {'1': 'request_type_url', '3': 2, '4': 1, '5': 9, '10': 'requestTypeUrl'}, + {'1': 'request_streaming', '3': 3, '4': 1, '5': 8, '10': 'requestStreaming'}, + {'1': 'response_type_url', '3': 4, '4': 1, '5': 9, '10': 'responseTypeUrl'}, + {'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': 'syntax', '3': 7, '4': 1, '5': 14, '6': '.google.protobuf.Syntax', '10': 'syntax'}, + ], +}; + +/// Descriptor for `Method`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List methodDescriptor = $convert.base64Decode( + 'CgZNZXRob2QSEgoEbmFtZRgBIAEoCVIEbmFtZRIoChByZXF1ZXN0X3R5cGVfdXJsGAIgASgJUg' + '5yZXF1ZXN0VHlwZVVybBIrChFyZXF1ZXN0X3N0cmVhbWluZxgDIAEoCFIQcmVxdWVzdFN0cmVh' + 'bWluZxIqChFyZXNwb25zZV90eXBlX3VybBgEIAEoCVIPcmVzcG9uc2VUeXBlVXJsEi0KEnJlc3' + 'BvbnNlX3N0cmVhbWluZxgFIAEoCFIRcmVzcG9uc2VTdHJlYW1pbmcSMQoHb3B0aW9ucxgGIAMo' + 'CzIXLmdvb2dsZS5wcm90b2J1Zi5PcHRpb25SB29wdGlvbnMSLwoGc3ludGF4GAcgASgOMhcuZ2' + '9vZ2xlLnByb3RvYnVmLlN5bnRheFIGc3ludGF4'); + +@$core.Deprecated('Use mixinDescriptor instead') +const Mixin$json = { + '1': 'Mixin', + '2': [ + {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, + {'1': 'root', '3': 2, '4': 1, '5': 9, '10': 'root'}, + ], +}; + +/// Descriptor for `Mixin`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List mixinDescriptor = $convert.base64Decode( + 'CgVNaXhpbhISCgRuYW1lGAEgASgJUgRuYW1lEhIKBHJvb3QYAiABKAlSBHJvb3Q='); + diff --git a/lib/google/protobuf/compiler/plugin.pb.dart b/lib/google/protobuf/compiler/plugin.pb.dart new file mode 100644 index 0000000..711bc37 --- /dev/null +++ b/lib/google/protobuf/compiler/plugin.pb.dart @@ -0,0 +1,411 @@ +// +// Generated code. Do not modify. +// source: google/protobuf/compiler/plugin.proto +// +// @dart = 2.12 + +// ignore_for_file: annotate_overrides, camel_case_types, comment_references +// ignore_for_file: constant_identifier_names, library_prefixes +// ignore_for_file: non_constant_identifier_names, prefer_final_fields +// ignore_for_file: unnecessary_import, unnecessary_this, unused_import + +import 'dart:core' as $core; + +import 'package:protobuf/protobuf.dart' as $pb; + +import '../descriptor.pb.dart' as $19; + +/// The version number of protocol compiler. +class Version extends $pb.GeneratedMessage { + factory Version({ + $core.int? major, + $core.int? minor, + $core.int? patch, + $core.String? suffix, + }) { + final $result = create(); + if (major != null) { + $result.major = major; + } + if (minor != null) { + $result.minor = minor; + } + 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); + factory Version.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + 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>(2, _omitFieldNames ? '' : 'minor', $pb.PbFieldType.O3) + ..a<$core.int>(3, _omitFieldNames ? '' : 'patch', $pb.PbFieldType.O3) + ..aOS(4, _omitFieldNames ? '' : 'suffix') + ..hasRequiredFields = false + ; + + @$core.Deprecated( + '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); + @$core.Deprecated( + '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; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static Version create() => Version._(); + Version createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static Version getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static Version? _defaultInstance; + + @$pb.TagNumber(1) + $core.int get major => $_getIZ(0); + @$pb.TagNumber(1) + set major($core.int v) { $_setSignedInt32(0, v); } + @$pb.TagNumber(1) + $core.bool hasMajor() => $_has(0); + @$pb.TagNumber(1) + void clearMajor() => clearField(1); + + @$pb.TagNumber(2) + $core.int get minor => $_getIZ(1); + @$pb.TagNumber(2) + set minor($core.int v) { $_setSignedInt32(1, v); } + @$pb.TagNumber(2) + $core.bool hasMinor() => $_has(1); + @$pb.TagNumber(2) + void clearMinor() => clearField(2); + + @$pb.TagNumber(3) + $core.int get patch => $_getIZ(2); + @$pb.TagNumber(3) + set patch($core.int v) { $_setSignedInt32(2, v); } + @$pb.TagNumber(3) + $core.bool hasPatch() => $_has(2); + @$pb.TagNumber(3) + void clearPatch() => clearField(3); + + /// A suffix for alpha, beta or rc release, e.g., "alpha-1", "rc2". It should + /// be empty for mainline stable releases. + @$pb.TagNumber(4) + $core.String get suffix => $_getSZ(3); + @$pb.TagNumber(4) + set suffix($core.String v) { $_setString(3, v); } + @$pb.TagNumber(4) + $core.bool hasSuffix() => $_has(3); + @$pb.TagNumber(4) + void clearSuffix() => clearField(4); +} + +/// An encoded CodeGeneratorRequest is written to the plugin's stdin. +class CodeGeneratorRequest extends $pb.GeneratedMessage { + factory CodeGeneratorRequest({ + $core.Iterable<$core.String>? fileToGenerate, + $core.String? parameter, + Version? compilerVersion, + $core.Iterable<$19.FileDescriptorProto>? protoFile, + }) { + final $result = create(); + if (fileToGenerate != null) { + $result.fileToGenerate.addAll(fileToGenerate); + } + if (parameter != null) { + $result.parameter = parameter; + } + 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); + factory CodeGeneratorRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CodeGeneratorRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf.compiler'), createEmptyInstance: create) + ..pPS(1, _omitFieldNames ? '' : 'fileToGenerate') + ..aOS(2, _omitFieldNames ? '' : 'parameter') + ..aOM(3, _omitFieldNames ? '' : 'compilerVersion', subBuilder: Version.create) + ..pc<$19.FileDescriptorProto>(15, _omitFieldNames ? '' : 'protoFile', $pb.PbFieldType.PM, subBuilder: $19.FileDescriptorProto.create) + ; + + @$core.Deprecated( + '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); + @$core.Deprecated( + '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; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static CodeGeneratorRequest create() => CodeGeneratorRequest._(); + CodeGeneratorRequest createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static CodeGeneratorRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static CodeGeneratorRequest? _defaultInstance; + + /// The .proto files that were explicitly listed on the command-line. The + /// code generator should generate code only for these files. Each file's + /// descriptor will be included in proto_file, below. + @$pb.TagNumber(1) + $core.List<$core.String> get fileToGenerate => $_getList(0); + + /// The generator parameter passed on the command-line. + @$pb.TagNumber(2) + $core.String get parameter => $_getSZ(1); + @$pb.TagNumber(2) + set parameter($core.String v) { $_setString(1, v); } + @$pb.TagNumber(2) + $core.bool hasParameter() => $_has(1); + @$pb.TagNumber(2) + void clearParameter() => clearField(2); + + /// The version number of protocol compiler. + @$pb.TagNumber(3) + Version get compilerVersion => $_getN(2); + @$pb.TagNumber(3) + set compilerVersion(Version v) { setField(3, v); } + @$pb.TagNumber(3) + $core.bool hasCompilerVersion() => $_has(2); + @$pb.TagNumber(3) + void clearCompilerVersion() => clearField(3); + @$pb.TagNumber(3) + Version ensureCompilerVersion() => $_ensure(2); + + /// FileDescriptorProtos for all files in files_to_generate and everything + /// they import. The files will appear in topological order, so each file + /// appears before any file that imports it. + /// + /// protoc guarantees that all proto_files will be written after + /// 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) + $core.List<$19.FileDescriptorProto> get protoFile => $_getList(3); +} + +/// Represents a single generated file. +class CodeGeneratorResponse_File extends $pb.GeneratedMessage { + factory CodeGeneratorResponse_File({ + $core.String? name, + $core.String? insertionPoint, + $core.String? content, + }) { + final $result = create(); + if (name != null) { + $result.name = name; + } + if (insertionPoint != null) { + $result.insertionPoint = insertionPoint; + } + 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); + factory CodeGeneratorResponse_File.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + 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(2, _omitFieldNames ? '' : 'insertionPoint') + ..aOS(15, _omitFieldNames ? '' : 'content') + ..hasRequiredFields = false + ; + + @$core.Deprecated( + '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); + @$core.Deprecated( + '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; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static CodeGeneratorResponse_File create() => CodeGeneratorResponse_File._(); + CodeGeneratorResponse_File createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static CodeGeneratorResponse_File getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static CodeGeneratorResponse_File? _defaultInstance; + + /// The file name, relative to the output directory. The name must not + /// contain "." or ".." components and must be relative, not be absolute (so, + /// the file cannot lie outside the output directory). "/" must be used as + /// the path separator, not "\". + /// + /// 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, + /// 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 + /// this writing protoc does not optimize for this -- it will read the entire + /// CodeGeneratorResponse before writing files to disk. + @$pb.TagNumber(1) + $core.String get name => $_getSZ(0); + @$pb.TagNumber(1) + set name($core.String v) { $_setString(0, v); } + @$pb.TagNumber(1) + $core.bool hasName() => $_has(0); + @$pb.TagNumber(1) + void clearName() => clearField(1); + + /// 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 + /// point. This feature allows a code generator to extend the output + /// produced by another code generator. The original generator may provide + /// insertion points by placing special annotations in the file that look + /// like: + /// @@protoc_insertion_point(NAME) + /// 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 + /// an identifier naming the point -- this is what other generators will use + /// as the insertion_point. Code inserted at this point will be placed + /// immediately above the line containing the insertion point (thus multiple + /// 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 + /// could contain things that look like insertion points by accident. + /// + /// For example, the C++ code generator places the following line in the + /// .pb.h files that it generates: + /// // @@protoc_insertion_point(namespace_scope) + /// This line appears within the scope of the file's package namespace, but + /// outside of any particular class. Another plugin can then specify the + /// insertion_point "namespace_scope" to generate additional classes or + /// other declarations that should be placed in this scope. + /// + /// Note that if the line containing the insertion point begins with + /// whitespace, the same whitespace will be added to every line of the + /// inserted text. This is useful for languages like Python, where + /// indentation matters. In these languages, the insertion point comment + /// should be indented the same amount as any inserted code will need to be + /// in order to work correctly in that context. + /// + /// 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. + /// Code generators are executed in the order in which they appear on the + /// command line. + /// + /// If |insertion_point| is present, |name| must also be present. + @$pb.TagNumber(2) + $core.String get insertionPoint => $_getSZ(1); + @$pb.TagNumber(2) + set insertionPoint($core.String v) { $_setString(1, v); } + @$pb.TagNumber(2) + $core.bool hasInsertionPoint() => $_has(1); + @$pb.TagNumber(2) + void clearInsertionPoint() => clearField(2); + + /// The file contents. + @$pb.TagNumber(15) + $core.String get content => $_getSZ(2); + @$pb.TagNumber(15) + set content($core.String v) { $_setString(2, v); } + @$pb.TagNumber(15) + $core.bool hasContent() => $_has(2); + @$pb.TagNumber(15) + void clearContent() => clearField(15); +} + +/// The plugin writes an encoded CodeGeneratorResponse to stdout. +class CodeGeneratorResponse extends $pb.GeneratedMessage { + factory CodeGeneratorResponse({ + $core.String? error, + $core.Iterable? file, + }) { + final $result = create(); + if (error != null) { + $result.error = error; + } + if (file != null) { + $result.file.addAll(file); + } + return $result; + } + CodeGeneratorResponse._() : super(); + factory CodeGeneratorResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory CodeGeneratorResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CodeGeneratorResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf.compiler'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'error') + ..pc(15, _omitFieldNames ? '' : 'file', $pb.PbFieldType.PM, subBuilder: CodeGeneratorResponse_File.create) + ..hasRequiredFields = false + ; + + @$core.Deprecated( + '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); + @$core.Deprecated( + '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; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static CodeGeneratorResponse create() => CodeGeneratorResponse._(); + CodeGeneratorResponse createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static CodeGeneratorResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static CodeGeneratorResponse? _defaultInstance; + + /// 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. + /// + /// This should be used to indicate errors in .proto files which prevent the + /// code generator from generating correct code. Errors which indicate a + /// problem in protoc itself -- such as the input CodeGeneratorRequest being + /// unparseable -- should be reported by writing a message to stderr and + /// exiting with a non-zero status code. + @$pb.TagNumber(1) + $core.String get error => $_getSZ(0); + @$pb.TagNumber(1) + set error($core.String v) { $_setString(0, v); } + @$pb.TagNumber(1) + $core.bool hasError() => $_has(0); + @$pb.TagNumber(1) + void clearError() => clearField(1); + + @$pb.TagNumber(15) + $core.List get file => $_getList(1); +} + + +const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); +const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/google/protobuf/compiler/plugin.pbenum.dart b/lib/google/protobuf/compiler/plugin.pbenum.dart new file mode 100644 index 0000000..d39f38e --- /dev/null +++ b/lib/google/protobuf/compiler/plugin.pbenum.dart @@ -0,0 +1,11 @@ +// +// Generated code. Do not modify. +// source: google/protobuf/compiler/plugin.proto +// +// @dart = 2.12 + +// ignore_for_file: annotate_overrides, camel_case_types, comment_references +// ignore_for_file: constant_identifier_names, library_prefixes +// ignore_for_file: non_constant_identifier_names, prefer_final_fields +// ignore_for_file: unnecessary_import, unnecessary_this, unused_import + diff --git a/lib/google/protobuf/compiler/plugin.pbjson.dart b/lib/google/protobuf/compiler/plugin.pbjson.dart new file mode 100644 index 0000000..7c33e24 --- /dev/null +++ b/lib/google/protobuf/compiler/plugin.pbjson.dart @@ -0,0 +1,77 @@ +// +// Generated code. Do not modify. +// source: google/protobuf/compiler/plugin.proto +// +// @dart = 2.12 + +// ignore_for_file: annotate_overrides, camel_case_types, comment_references +// ignore_for_file: constant_identifier_names, library_prefixes +// ignore_for_file: non_constant_identifier_names, prefer_final_fields +// ignore_for_file: unnecessary_import, unnecessary_this, unused_import + +import 'dart:convert' as $convert; +import 'dart:core' as $core; +import 'dart:typed_data' as $typed_data; + +@$core.Deprecated('Use versionDescriptor instead') +const Version$json = { + '1': 'Version', + '2': [ + {'1': 'major', '3': 1, '4': 1, '5': 5, '10': 'major'}, + {'1': 'minor', '3': 2, '4': 1, '5': 5, '10': 'minor'}, + {'1': 'patch', '3': 3, '4': 1, '5': 5, '10': 'patch'}, + {'1': 'suffix', '3': 4, '4': 1, '5': 9, '10': 'suffix'}, + ], +}; + +/// Descriptor for `Version`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List versionDescriptor = $convert.base64Decode( + 'CgdWZXJzaW9uEhQKBW1ham9yGAEgASgFUgVtYWpvchIUCgVtaW5vchgCIAEoBVIFbWlub3ISFA' + 'oFcGF0Y2gYAyABKAVSBXBhdGNoEhYKBnN1ZmZpeBgEIAEoCVIGc3VmZml4'); + +@$core.Deprecated('Use codeGeneratorRequestDescriptor instead') +const CodeGeneratorRequest$json = { + '1': 'CodeGeneratorRequest', + '2': [ + {'1': 'file_to_generate', '3': 1, '4': 3, '5': 9, '10': 'fileToGenerate'}, + {'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': 'compiler_version', '3': 3, '4': 1, '5': 11, '6': '.google.protobuf.compiler.Version', '10': 'compilerVersion'}, + ], +}; + +/// Descriptor for `CodeGeneratorRequest`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List codeGeneratorRequestDescriptor = $convert.base64Decode( + 'ChRDb2RlR2VuZXJhdG9yUmVxdWVzdBIoChBmaWxlX3RvX2dlbmVyYXRlGAEgAygJUg5maWxlVG' + '9HZW5lcmF0ZRIcCglwYXJhbWV0ZXIYAiABKAlSCXBhcmFtZXRlchJDCgpwcm90b19maWxlGA8g' + 'AygLMiQuZ29vZ2xlLnByb3RvYnVmLkZpbGVEZXNjcmlwdG9yUHJvdG9SCXByb3RvRmlsZRJMCh' + 'Bjb21waWxlcl92ZXJzaW9uGAMgASgLMiEuZ29vZ2xlLnByb3RvYnVmLmNvbXBpbGVyLlZlcnNp' + 'b25SD2NvbXBpbGVyVmVyc2lvbg=='); + +@$core.Deprecated('Use codeGeneratorResponseDescriptor instead') +const CodeGeneratorResponse$json = { + '1': 'CodeGeneratorResponse', + '2': [ + {'1': 'error', '3': 1, '4': 1, '5': 9, '10': 'error'}, + {'1': 'file', '3': 15, '4': 3, '5': 11, '6': '.google.protobuf.compiler.CodeGeneratorResponse.File', '10': 'file'}, + ], + '3': [CodeGeneratorResponse_File$json], +}; + +@$core.Deprecated('Use codeGeneratorResponseDescriptor instead') +const CodeGeneratorResponse_File$json = { + '1': 'File', + '2': [ + {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, + {'1': 'insertion_point', '3': 2, '4': 1, '5': 9, '10': 'insertionPoint'}, + {'1': 'content', '3': 15, '4': 1, '5': 9, '10': 'content'}, + ], +}; + +/// Descriptor for `CodeGeneratorResponse`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List codeGeneratorResponseDescriptor = $convert.base64Decode( + 'ChVDb2RlR2VuZXJhdG9yUmVzcG9uc2USFAoFZXJyb3IYASABKAlSBWVycm9yEkgKBGZpbGUYDy' + 'ADKAsyNC5nb29nbGUucHJvdG9idWYuY29tcGlsZXIuQ29kZUdlbmVyYXRvclJlc3BvbnNlLkZp' + 'bGVSBGZpbGUaXQoERmlsZRISCgRuYW1lGAEgASgJUgRuYW1lEicKD2luc2VydGlvbl9wb2ludB' + 'gCIAEoCVIOaW5zZXJ0aW9uUG9pbnQSGAoHY29udGVudBgPIAEoCVIHY29udGVudA=='); + diff --git a/lib/google/protobuf/descriptor.pb.dart b/lib/google/protobuf/descriptor.pb.dart new file mode 100644 index 0000000..4f4684e --- /dev/null +++ b/lib/google/protobuf/descriptor.pb.dart @@ -0,0 +1,2924 @@ +// +// Generated code. Do not modify. +// source: google/protobuf/descriptor.proto +// +// @dart = 2.12 + +// ignore_for_file: annotate_overrides, camel_case_types, comment_references +// ignore_for_file: constant_identifier_names, library_prefixes +// ignore_for_file: non_constant_identifier_names, prefer_final_fields +// ignore_for_file: unnecessary_import, unnecessary_this, unused_import + +import 'dart:core' as $core; + +import 'package:fixnum/fixnum.dart' as $fixnum; +import 'package:protobuf/protobuf.dart' as $pb; + +import 'descriptor.pbenum.dart'; + +export 'descriptor.pbenum.dart'; + +/// The protocol compiler can output a FileDescriptorSet containing the .proto +/// files it parses. +class FileDescriptorSet extends $pb.GeneratedMessage { + factory FileDescriptorSet({ + $core.Iterable? file, + }) { + final $result = create(); + if (file != null) { + $result.file.addAll(file); + } + return $result; + } + FileDescriptorSet._() : super(); + factory FileDescriptorSet.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory FileDescriptorSet.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'FileDescriptorSet', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create) + ..pc(1, _omitFieldNames ? '' : 'file', $pb.PbFieldType.PM, subBuilder: FileDescriptorProto.create) + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + FileDescriptorSet clone() => FileDescriptorSet()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + FileDescriptorSet copyWith(void Function(FileDescriptorSet) updates) => super.copyWith((message) => updates(message as FileDescriptorSet)) as FileDescriptorSet; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static FileDescriptorSet create() => FileDescriptorSet._(); + FileDescriptorSet createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static FileDescriptorSet getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static FileDescriptorSet? _defaultInstance; + + @$pb.TagNumber(1) + $core.List get file => $_getList(0); +} + +/// Describes a complete .proto file. +class FileDescriptorProto extends $pb.GeneratedMessage { + factory FileDescriptorProto({ + $core.String? name, + $core.String? package, + $core.Iterable<$core.String>? dependency, + $core.Iterable? messageType, + $core.Iterable? enumType, + $core.Iterable? service, + $core.Iterable? extension, + FileOptions? options, + SourceCodeInfo? sourceCodeInfo, + $core.Iterable<$core.int>? publicDependency, + $core.Iterable<$core.int>? weakDependency, + $core.String? syntax, + }) { + final $result = create(); + if (name != null) { + $result.name = name; + } + if (package != null) { + $result.package = package; + } + if (dependency != null) { + $result.dependency.addAll(dependency); + } + if (messageType != null) { + $result.messageType.addAll(messageType); + } + if (enumType != null) { + $result.enumType.addAll(enumType); + } + if (service != null) { + $result.service.addAll(service); + } + if (extension != null) { + $result.extension.addAll(extension); + } + if (options != null) { + $result.options = options; + } + if (sourceCodeInfo != null) { + $result.sourceCodeInfo = sourceCodeInfo; + } + if (publicDependency != null) { + $result.publicDependency.addAll(publicDependency); + } + if (weakDependency != null) { + $result.weakDependency.addAll(weakDependency); + } + if (syntax != null) { + $result.syntax = syntax; + } + return $result; + } + FileDescriptorProto._() : super(); + factory FileDescriptorProto.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory FileDescriptorProto.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'FileDescriptorProto', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'name') + ..aOS(2, _omitFieldNames ? '' : 'package') + ..pPS(3, _omitFieldNames ? '' : 'dependency') + ..pc(4, _omitFieldNames ? '' : 'messageType', $pb.PbFieldType.PM, subBuilder: DescriptorProto.create) + ..pc(5, _omitFieldNames ? '' : 'enumType', $pb.PbFieldType.PM, subBuilder: EnumDescriptorProto.create) + ..pc(6, _omitFieldNames ? '' : 'service', $pb.PbFieldType.PM, subBuilder: ServiceDescriptorProto.create) + ..pc(7, _omitFieldNames ? '' : 'extension', $pb.PbFieldType.PM, subBuilder: FieldDescriptorProto.create) + ..aOM(8, _omitFieldNames ? '' : 'options', subBuilder: FileOptions.create) + ..aOM(9, _omitFieldNames ? '' : 'sourceCodeInfo', subBuilder: SourceCodeInfo.create) + ..p<$core.int>(10, _omitFieldNames ? '' : 'publicDependency', $pb.PbFieldType.P3) + ..p<$core.int>(11, _omitFieldNames ? '' : 'weakDependency', $pb.PbFieldType.P3) + ..aOS(12, _omitFieldNames ? '' : 'syntax') + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + FileDescriptorProto clone() => FileDescriptorProto()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + FileDescriptorProto copyWith(void Function(FileDescriptorProto) updates) => super.copyWith((message) => updates(message as FileDescriptorProto)) as FileDescriptorProto; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static FileDescriptorProto create() => FileDescriptorProto._(); + FileDescriptorProto createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static FileDescriptorProto getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static FileDescriptorProto? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get name => $_getSZ(0); + @$pb.TagNumber(1) + set name($core.String v) { $_setString(0, v); } + @$pb.TagNumber(1) + $core.bool hasName() => $_has(0); + @$pb.TagNumber(1) + void clearName() => clearField(1); + + @$pb.TagNumber(2) + $core.String get package => $_getSZ(1); + @$pb.TagNumber(2) + set package($core.String v) { $_setString(1, v); } + @$pb.TagNumber(2) + $core.bool hasPackage() => $_has(1); + @$pb.TagNumber(2) + void clearPackage() => clearField(2); + + /// Names of files imported by this file. + @$pb.TagNumber(3) + $core.List<$core.String> get dependency => $_getList(2); + + /// All top-level definitions in this file. + @$pb.TagNumber(4) + $core.List get messageType => $_getList(3); + + @$pb.TagNumber(5) + $core.List get enumType => $_getList(4); + + @$pb.TagNumber(6) + $core.List get service => $_getList(5); + + @$pb.TagNumber(7) + $core.List get extension => $_getList(6); + + @$pb.TagNumber(8) + FileOptions get options => $_getN(7); + @$pb.TagNumber(8) + set options(FileOptions v) { setField(8, v); } + @$pb.TagNumber(8) + $core.bool hasOptions() => $_has(7); + @$pb.TagNumber(8) + void clearOptions() => clearField(8); + @$pb.TagNumber(8) + FileOptions ensureOptions() => $_ensure(7); + + /// This field contains optional information about the original source code. + /// You may safely remove this entire field without harming runtime + /// functionality of the descriptors -- the information is needed only by + /// development tools. + @$pb.TagNumber(9) + SourceCodeInfo get sourceCodeInfo => $_getN(8); + @$pb.TagNumber(9) + set sourceCodeInfo(SourceCodeInfo v) { setField(9, v); } + @$pb.TagNumber(9) + $core.bool hasSourceCodeInfo() => $_has(8); + @$pb.TagNumber(9) + void clearSourceCodeInfo() => clearField(9); + @$pb.TagNumber(9) + SourceCodeInfo ensureSourceCodeInfo() => $_ensure(8); + + /// Indexes of the public imported files in the dependency list above. + @$pb.TagNumber(10) + $core.List<$core.int> get publicDependency => $_getList(9); + + /// Indexes of the weak imported files in the dependency list. + /// For Google-internal migration only. Do not use. + @$pb.TagNumber(11) + $core.List<$core.int> get weakDependency => $_getList(10); + + /// The syntax of the proto file. + /// The supported values are "proto2" and "proto3". + @$pb.TagNumber(12) + $core.String get syntax => $_getSZ(11); + @$pb.TagNumber(12) + set syntax($core.String v) { $_setString(11, v); } + @$pb.TagNumber(12) + $core.bool hasSyntax() => $_has(11); + @$pb.TagNumber(12) + void clearSyntax() => clearField(12); +} + +class DescriptorProto_ExtensionRange extends $pb.GeneratedMessage { + factory DescriptorProto_ExtensionRange({ + $core.int? start, + $core.int? end, + ExtensionRangeOptions? options, + }) { + final $result = create(); + if (start != null) { + $result.start = start; + } + if (end != null) { + $result.end = end; + } + if (options != null) { + $result.options = options; + } + return $result; + } + DescriptorProto_ExtensionRange._() : super(); + factory DescriptorProto_ExtensionRange.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory DescriptorProto_ExtensionRange.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DescriptorProto.ExtensionRange', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create) + ..a<$core.int>(1, _omitFieldNames ? '' : 'start', $pb.PbFieldType.O3) + ..a<$core.int>(2, _omitFieldNames ? '' : 'end', $pb.PbFieldType.O3) + ..aOM(3, _omitFieldNames ? '' : 'options', subBuilder: ExtensionRangeOptions.create) + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + DescriptorProto_ExtensionRange clone() => DescriptorProto_ExtensionRange()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + DescriptorProto_ExtensionRange copyWith(void Function(DescriptorProto_ExtensionRange) updates) => super.copyWith((message) => updates(message as DescriptorProto_ExtensionRange)) as DescriptorProto_ExtensionRange; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static DescriptorProto_ExtensionRange create() => DescriptorProto_ExtensionRange._(); + DescriptorProto_ExtensionRange createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static DescriptorProto_ExtensionRange getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static DescriptorProto_ExtensionRange? _defaultInstance; + + @$pb.TagNumber(1) + $core.int get start => $_getIZ(0); + @$pb.TagNumber(1) + set start($core.int v) { $_setSignedInt32(0, v); } + @$pb.TagNumber(1) + $core.bool hasStart() => $_has(0); + @$pb.TagNumber(1) + void clearStart() => clearField(1); + + @$pb.TagNumber(2) + $core.int get end => $_getIZ(1); + @$pb.TagNumber(2) + set end($core.int v) { $_setSignedInt32(1, v); } + @$pb.TagNumber(2) + $core.bool hasEnd() => $_has(1); + @$pb.TagNumber(2) + void clearEnd() => clearField(2); + + @$pb.TagNumber(3) + ExtensionRangeOptions get options => $_getN(2); + @$pb.TagNumber(3) + set options(ExtensionRangeOptions v) { setField(3, v); } + @$pb.TagNumber(3) + $core.bool hasOptions() => $_has(2); + @$pb.TagNumber(3) + void clearOptions() => clearField(3); + @$pb.TagNumber(3) + ExtensionRangeOptions ensureOptions() => $_ensure(2); +} + +/// Range of reserved tag numbers. Reserved tag numbers may not be used by +/// fields or extension ranges in the same message. Reserved ranges may +/// not overlap. +class DescriptorProto_ReservedRange extends $pb.GeneratedMessage { + factory DescriptorProto_ReservedRange({ + $core.int? start, + $core.int? end, + }) { + final $result = create(); + if (start != null) { + $result.start = start; + } + if (end != null) { + $result.end = end; + } + return $result; + } + DescriptorProto_ReservedRange._() : super(); + factory DescriptorProto_ReservedRange.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory DescriptorProto_ReservedRange.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DescriptorProto.ReservedRange', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create) + ..a<$core.int>(1, _omitFieldNames ? '' : 'start', $pb.PbFieldType.O3) + ..a<$core.int>(2, _omitFieldNames ? '' : 'end', $pb.PbFieldType.O3) + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + DescriptorProto_ReservedRange clone() => DescriptorProto_ReservedRange()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + DescriptorProto_ReservedRange copyWith(void Function(DescriptorProto_ReservedRange) updates) => super.copyWith((message) => updates(message as DescriptorProto_ReservedRange)) as DescriptorProto_ReservedRange; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static DescriptorProto_ReservedRange create() => DescriptorProto_ReservedRange._(); + DescriptorProto_ReservedRange createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static DescriptorProto_ReservedRange getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static DescriptorProto_ReservedRange? _defaultInstance; + + @$pb.TagNumber(1) + $core.int get start => $_getIZ(0); + @$pb.TagNumber(1) + set start($core.int v) { $_setSignedInt32(0, v); } + @$pb.TagNumber(1) + $core.bool hasStart() => $_has(0); + @$pb.TagNumber(1) + void clearStart() => clearField(1); + + @$pb.TagNumber(2) + $core.int get end => $_getIZ(1); + @$pb.TagNumber(2) + set end($core.int v) { $_setSignedInt32(1, v); } + @$pb.TagNumber(2) + $core.bool hasEnd() => $_has(1); + @$pb.TagNumber(2) + void clearEnd() => clearField(2); +} + +/// Describes a message type. +class DescriptorProto extends $pb.GeneratedMessage { + factory DescriptorProto({ + $core.String? name, + $core.Iterable? field, + $core.Iterable? nestedType, + $core.Iterable? enumType, + $core.Iterable? extensionRange, + $core.Iterable? extension, + MessageOptions? options, + $core.Iterable? oneofDecl, + $core.Iterable? reservedRange, + $core.Iterable<$core.String>? reservedName, + }) { + final $result = create(); + if (name != null) { + $result.name = name; + } + if (field != null) { + $result.field.addAll(field); + } + if (nestedType != null) { + $result.nestedType.addAll(nestedType); + } + if (enumType != null) { + $result.enumType.addAll(enumType); + } + if (extensionRange != null) { + $result.extensionRange.addAll(extensionRange); + } + if (extension != null) { + $result.extension.addAll(extension); + } + if (options != null) { + $result.options = options; + } + if (oneofDecl != null) { + $result.oneofDecl.addAll(oneofDecl); + } + if (reservedRange != null) { + $result.reservedRange.addAll(reservedRange); + } + if (reservedName != null) { + $result.reservedName.addAll(reservedName); + } + return $result; + } + DescriptorProto._() : super(); + factory DescriptorProto.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory DescriptorProto.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DescriptorProto', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'name') + ..pc(2, _omitFieldNames ? '' : 'field', $pb.PbFieldType.PM, subBuilder: FieldDescriptorProto.create) + ..pc(3, _omitFieldNames ? '' : 'nestedType', $pb.PbFieldType.PM, subBuilder: DescriptorProto.create) + ..pc(4, _omitFieldNames ? '' : 'enumType', $pb.PbFieldType.PM, subBuilder: EnumDescriptorProto.create) + ..pc(5, _omitFieldNames ? '' : 'extensionRange', $pb.PbFieldType.PM, subBuilder: DescriptorProto_ExtensionRange.create) + ..pc(6, _omitFieldNames ? '' : 'extension', $pb.PbFieldType.PM, subBuilder: FieldDescriptorProto.create) + ..aOM(7, _omitFieldNames ? '' : 'options', subBuilder: MessageOptions.create) + ..pc(8, _omitFieldNames ? '' : 'oneofDecl', $pb.PbFieldType.PM, subBuilder: OneofDescriptorProto.create) + ..pc(9, _omitFieldNames ? '' : 'reservedRange', $pb.PbFieldType.PM, subBuilder: DescriptorProto_ReservedRange.create) + ..pPS(10, _omitFieldNames ? '' : 'reservedName') + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + DescriptorProto clone() => DescriptorProto()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + DescriptorProto copyWith(void Function(DescriptorProto) updates) => super.copyWith((message) => updates(message as DescriptorProto)) as DescriptorProto; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static DescriptorProto create() => DescriptorProto._(); + DescriptorProto createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static DescriptorProto getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static DescriptorProto? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get name => $_getSZ(0); + @$pb.TagNumber(1) + set name($core.String v) { $_setString(0, v); } + @$pb.TagNumber(1) + $core.bool hasName() => $_has(0); + @$pb.TagNumber(1) + void clearName() => clearField(1); + + @$pb.TagNumber(2) + $core.List get field => $_getList(1); + + @$pb.TagNumber(3) + $core.List get nestedType => $_getList(2); + + @$pb.TagNumber(4) + $core.List get enumType => $_getList(3); + + @$pb.TagNumber(5) + $core.List get extensionRange => $_getList(4); + + @$pb.TagNumber(6) + $core.List get extension => $_getList(5); + + @$pb.TagNumber(7) + MessageOptions get options => $_getN(6); + @$pb.TagNumber(7) + set options(MessageOptions v) { setField(7, v); } + @$pb.TagNumber(7) + $core.bool hasOptions() => $_has(6); + @$pb.TagNumber(7) + void clearOptions() => clearField(7); + @$pb.TagNumber(7) + MessageOptions ensureOptions() => $_ensure(6); + + @$pb.TagNumber(8) + $core.List get oneofDecl => $_getList(7); + + @$pb.TagNumber(9) + $core.List get reservedRange => $_getList(8); + + /// Reserved field names, which may not be used by fields in the same message. + /// A given name may only be reserved once. + @$pb.TagNumber(10) + $core.List<$core.String> get reservedName => $_getList(9); +} + +class ExtensionRangeOptions extends $pb.GeneratedMessage { + factory ExtensionRangeOptions({ + $core.Iterable? uninterpretedOption, + }) { + final $result = create(); + if (uninterpretedOption != null) { + $result.uninterpretedOption.addAll(uninterpretedOption); + } + return $result; + } + ExtensionRangeOptions._() : super(); + factory ExtensionRangeOptions.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory ExtensionRangeOptions.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ExtensionRangeOptions', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create) + ..pc(999, _omitFieldNames ? '' : 'uninterpretedOption', $pb.PbFieldType.PM, subBuilder: UninterpretedOption.create) + ..hasExtensions = true + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + ExtensionRangeOptions clone() => ExtensionRangeOptions()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + ExtensionRangeOptions copyWith(void Function(ExtensionRangeOptions) updates) => super.copyWith((message) => updates(message as ExtensionRangeOptions)) as ExtensionRangeOptions; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static ExtensionRangeOptions create() => ExtensionRangeOptions._(); + ExtensionRangeOptions createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static ExtensionRangeOptions getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static ExtensionRangeOptions? _defaultInstance; + + /// The parser stores options it doesn't recognize here. See above. + @$pb.TagNumber(999) + $core.List get uninterpretedOption => $_getList(0); +} + +/// Describes a field within a message. +class FieldDescriptorProto extends $pb.GeneratedMessage { + factory FieldDescriptorProto({ + $core.String? name, + $core.String? extendee, + $core.int? number, + FieldDescriptorProto_Label? label, + FieldDescriptorProto_Type? type, + $core.String? typeName, + $core.String? defaultValue, + FieldOptions? options, + $core.int? oneofIndex, + $core.String? jsonName, + }) { + final $result = create(); + if (name != null) { + $result.name = name; + } + if (extendee != null) { + $result.extendee = extendee; + } + if (number != null) { + $result.number = number; + } + if (label != null) { + $result.label = label; + } + if (type != null) { + $result.type = type; + } + if (typeName != null) { + $result.typeName = typeName; + } + if (defaultValue != null) { + $result.defaultValue = defaultValue; + } + if (options != null) { + $result.options = options; + } + if (oneofIndex != null) { + $result.oneofIndex = oneofIndex; + } + if (jsonName != null) { + $result.jsonName = jsonName; + } + return $result; + } + FieldDescriptorProto._() : super(); + factory FieldDescriptorProto.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory FieldDescriptorProto.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'FieldDescriptorProto', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'name') + ..aOS(2, _omitFieldNames ? '' : 'extendee') + ..a<$core.int>(3, _omitFieldNames ? '' : 'number', $pb.PbFieldType.O3) + ..e(4, _omitFieldNames ? '' : 'label', $pb.PbFieldType.OE, defaultOrMaker: FieldDescriptorProto_Label.LABEL_OPTIONAL, valueOf: FieldDescriptorProto_Label.valueOf, enumValues: FieldDescriptorProto_Label.values) + ..e(5, _omitFieldNames ? '' : 'type', $pb.PbFieldType.OE, defaultOrMaker: FieldDescriptorProto_Type.TYPE_DOUBLE, valueOf: FieldDescriptorProto_Type.valueOf, enumValues: FieldDescriptorProto_Type.values) + ..aOS(6, _omitFieldNames ? '' : 'typeName') + ..aOS(7, _omitFieldNames ? '' : 'defaultValue') + ..aOM(8, _omitFieldNames ? '' : 'options', subBuilder: FieldOptions.create) + ..a<$core.int>(9, _omitFieldNames ? '' : 'oneofIndex', $pb.PbFieldType.O3) + ..aOS(10, _omitFieldNames ? '' : 'jsonName') + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + FieldDescriptorProto clone() => FieldDescriptorProto()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + FieldDescriptorProto copyWith(void Function(FieldDescriptorProto) updates) => super.copyWith((message) => updates(message as FieldDescriptorProto)) as FieldDescriptorProto; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static FieldDescriptorProto create() => FieldDescriptorProto._(); + FieldDescriptorProto createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static FieldDescriptorProto getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static FieldDescriptorProto? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get name => $_getSZ(0); + @$pb.TagNumber(1) + set name($core.String v) { $_setString(0, v); } + @$pb.TagNumber(1) + $core.bool hasName() => $_has(0); + @$pb.TagNumber(1) + void clearName() => clearField(1); + + /// For extensions, this is the name of the type being extended. It is + /// resolved in the same manner as type_name. + @$pb.TagNumber(2) + $core.String get extendee => $_getSZ(1); + @$pb.TagNumber(2) + set extendee($core.String v) { $_setString(1, v); } + @$pb.TagNumber(2) + $core.bool hasExtendee() => $_has(1); + @$pb.TagNumber(2) + void clearExtendee() => clearField(2); + + @$pb.TagNumber(3) + $core.int get number => $_getIZ(2); + @$pb.TagNumber(3) + set number($core.int v) { $_setSignedInt32(2, v); } + @$pb.TagNumber(3) + $core.bool hasNumber() => $_has(2); + @$pb.TagNumber(3) + void clearNumber() => clearField(3); + + @$pb.TagNumber(4) + FieldDescriptorProto_Label get label => $_getN(3); + @$pb.TagNumber(4) + set label(FieldDescriptorProto_Label v) { setField(4, v); } + @$pb.TagNumber(4) + $core.bool hasLabel() => $_has(3); + @$pb.TagNumber(4) + void clearLabel() => clearField(4); + + /// If type_name is set, this need not be set. If both this and type_name + /// are set, this must be one of TYPE_ENUM, TYPE_MESSAGE or TYPE_GROUP. + @$pb.TagNumber(5) + FieldDescriptorProto_Type get type => $_getN(4); + @$pb.TagNumber(5) + set type(FieldDescriptorProto_Type v) { setField(5, v); } + @$pb.TagNumber(5) + $core.bool hasType() => $_has(4); + @$pb.TagNumber(5) + void clearType() => clearField(5); + + /// For message and enum types, this is the name of the type. If the name + /// starts with a '.', it is fully-qualified. Otherwise, C++-like scoping + /// rules are used to find the type (i.e. first the nested types within this + /// message are searched, then within the parent, on up to the root + /// namespace). + @$pb.TagNumber(6) + $core.String get typeName => $_getSZ(5); + @$pb.TagNumber(6) + set typeName($core.String v) { $_setString(5, v); } + @$pb.TagNumber(6) + $core.bool hasTypeName() => $_has(5); + @$pb.TagNumber(6) + void clearTypeName() => clearField(6); + + /// For numeric types, contains the original text representation of the value. + /// For booleans, "true" or "false". + /// For strings, contains the default text contents (not escaped in any way). + /// For bytes, contains the C escaped value. All bytes >= 128 are escaped. + /// TODO(kenton): Base-64 encode? + @$pb.TagNumber(7) + $core.String get defaultValue => $_getSZ(6); + @$pb.TagNumber(7) + set defaultValue($core.String v) { $_setString(6, v); } + @$pb.TagNumber(7) + $core.bool hasDefaultValue() => $_has(6); + @$pb.TagNumber(7) + void clearDefaultValue() => clearField(7); + + @$pb.TagNumber(8) + FieldOptions get options => $_getN(7); + @$pb.TagNumber(8) + set options(FieldOptions v) { setField(8, v); } + @$pb.TagNumber(8) + $core.bool hasOptions() => $_has(7); + @$pb.TagNumber(8) + void clearOptions() => clearField(8); + @$pb.TagNumber(8) + FieldOptions ensureOptions() => $_ensure(7); + + /// If set, gives the index of a oneof in the containing type's oneof_decl + /// list. This field is a member of that oneof. + @$pb.TagNumber(9) + $core.int get oneofIndex => $_getIZ(8); + @$pb.TagNumber(9) + set oneofIndex($core.int v) { $_setSignedInt32(8, v); } + @$pb.TagNumber(9) + $core.bool hasOneofIndex() => $_has(8); + @$pb.TagNumber(9) + void clearOneofIndex() => clearField(9); + + /// JSON name of this field. The value is set by protocol compiler. If the + /// user has set a "json_name" option on this field, that option's value + /// will be used. Otherwise, it's deduced from the field's name by converting + /// it to camelCase. + @$pb.TagNumber(10) + $core.String get jsonName => $_getSZ(9); + @$pb.TagNumber(10) + set jsonName($core.String v) { $_setString(9, v); } + @$pb.TagNumber(10) + $core.bool hasJsonName() => $_has(9); + @$pb.TagNumber(10) + void clearJsonName() => clearField(10); +} + +/// Describes a oneof. +class OneofDescriptorProto extends $pb.GeneratedMessage { + factory OneofDescriptorProto({ + $core.String? name, + OneofOptions? options, + }) { + final $result = create(); + if (name != null) { + $result.name = name; + } + if (options != null) { + $result.options = options; + } + return $result; + } + OneofDescriptorProto._() : super(); + factory OneofDescriptorProto.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory OneofDescriptorProto.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OneofDescriptorProto', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'name') + ..aOM(2, _omitFieldNames ? '' : 'options', subBuilder: OneofOptions.create) + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + OneofDescriptorProto clone() => OneofDescriptorProto()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + OneofDescriptorProto copyWith(void Function(OneofDescriptorProto) updates) => super.copyWith((message) => updates(message as OneofDescriptorProto)) as OneofDescriptorProto; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static OneofDescriptorProto create() => OneofDescriptorProto._(); + OneofDescriptorProto createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static OneofDescriptorProto getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static OneofDescriptorProto? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get name => $_getSZ(0); + @$pb.TagNumber(1) + set name($core.String v) { $_setString(0, v); } + @$pb.TagNumber(1) + $core.bool hasName() => $_has(0); + @$pb.TagNumber(1) + void clearName() => clearField(1); + + @$pb.TagNumber(2) + OneofOptions get options => $_getN(1); + @$pb.TagNumber(2) + set options(OneofOptions v) { setField(2, v); } + @$pb.TagNumber(2) + $core.bool hasOptions() => $_has(1); + @$pb.TagNumber(2) + void clearOptions() => clearField(2); + @$pb.TagNumber(2) + OneofOptions ensureOptions() => $_ensure(1); +} + +/// Range of reserved numeric values. Reserved values may not be used by +/// entries in the same enum. Reserved ranges may not overlap. +/// +/// Note that this is distinct from DescriptorProto.ReservedRange in that it +/// is inclusive such that it can appropriately represent the entire int32 +/// domain. +class EnumDescriptorProto_EnumReservedRange extends $pb.GeneratedMessage { + factory EnumDescriptorProto_EnumReservedRange({ + $core.int? start, + $core.int? end, + }) { + final $result = create(); + if (start != null) { + $result.start = start; + } + if (end != null) { + $result.end = end; + } + return $result; + } + EnumDescriptorProto_EnumReservedRange._() : super(); + factory EnumDescriptorProto_EnumReservedRange.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory EnumDescriptorProto_EnumReservedRange.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'EnumDescriptorProto.EnumReservedRange', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create) + ..a<$core.int>(1, _omitFieldNames ? '' : 'start', $pb.PbFieldType.O3) + ..a<$core.int>(2, _omitFieldNames ? '' : 'end', $pb.PbFieldType.O3) + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + EnumDescriptorProto_EnumReservedRange clone() => EnumDescriptorProto_EnumReservedRange()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + EnumDescriptorProto_EnumReservedRange copyWith(void Function(EnumDescriptorProto_EnumReservedRange) updates) => super.copyWith((message) => updates(message as EnumDescriptorProto_EnumReservedRange)) as EnumDescriptorProto_EnumReservedRange; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static EnumDescriptorProto_EnumReservedRange create() => EnumDescriptorProto_EnumReservedRange._(); + EnumDescriptorProto_EnumReservedRange createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static EnumDescriptorProto_EnumReservedRange getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static EnumDescriptorProto_EnumReservedRange? _defaultInstance; + + @$pb.TagNumber(1) + $core.int get start => $_getIZ(0); + @$pb.TagNumber(1) + set start($core.int v) { $_setSignedInt32(0, v); } + @$pb.TagNumber(1) + $core.bool hasStart() => $_has(0); + @$pb.TagNumber(1) + void clearStart() => clearField(1); + + @$pb.TagNumber(2) + $core.int get end => $_getIZ(1); + @$pb.TagNumber(2) + set end($core.int v) { $_setSignedInt32(1, v); } + @$pb.TagNumber(2) + $core.bool hasEnd() => $_has(1); + @$pb.TagNumber(2) + void clearEnd() => clearField(2); +} + +/// Describes an enum type. +class EnumDescriptorProto extends $pb.GeneratedMessage { + factory EnumDescriptorProto({ + $core.String? name, + $core.Iterable? value, + EnumOptions? options, + $core.Iterable? reservedRange, + $core.Iterable<$core.String>? reservedName, + }) { + final $result = create(); + if (name != null) { + $result.name = name; + } + if (value != null) { + $result.value.addAll(value); + } + if (options != null) { + $result.options = options; + } + if (reservedRange != null) { + $result.reservedRange.addAll(reservedRange); + } + if (reservedName != null) { + $result.reservedName.addAll(reservedName); + } + return $result; + } + EnumDescriptorProto._() : super(); + factory EnumDescriptorProto.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory EnumDescriptorProto.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'EnumDescriptorProto', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'name') + ..pc(2, _omitFieldNames ? '' : 'value', $pb.PbFieldType.PM, subBuilder: EnumValueDescriptorProto.create) + ..aOM(3, _omitFieldNames ? '' : 'options', subBuilder: EnumOptions.create) + ..pc(4, _omitFieldNames ? '' : 'reservedRange', $pb.PbFieldType.PM, subBuilder: EnumDescriptorProto_EnumReservedRange.create) + ..pPS(5, _omitFieldNames ? '' : 'reservedName') + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + EnumDescriptorProto clone() => EnumDescriptorProto()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + EnumDescriptorProto copyWith(void Function(EnumDescriptorProto) updates) => super.copyWith((message) => updates(message as EnumDescriptorProto)) as EnumDescriptorProto; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static EnumDescriptorProto create() => EnumDescriptorProto._(); + EnumDescriptorProto createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static EnumDescriptorProto getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static EnumDescriptorProto? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get name => $_getSZ(0); + @$pb.TagNumber(1) + set name($core.String v) { $_setString(0, v); } + @$pb.TagNumber(1) + $core.bool hasName() => $_has(0); + @$pb.TagNumber(1) + void clearName() => clearField(1); + + @$pb.TagNumber(2) + $core.List get value => $_getList(1); + + @$pb.TagNumber(3) + EnumOptions get options => $_getN(2); + @$pb.TagNumber(3) + set options(EnumOptions v) { setField(3, v); } + @$pb.TagNumber(3) + $core.bool hasOptions() => $_has(2); + @$pb.TagNumber(3) + void clearOptions() => clearField(3); + @$pb.TagNumber(3) + EnumOptions ensureOptions() => $_ensure(2); + + /// Range of reserved numeric values. Reserved numeric values may not be used + /// by enum values in the same enum declaration. Reserved ranges may not + /// overlap. + @$pb.TagNumber(4) + $core.List get reservedRange => $_getList(3); + + /// Reserved enum value names, which may not be reused. A given name may only + /// be reserved once. + @$pb.TagNumber(5) + $core.List<$core.String> get reservedName => $_getList(4); +} + +/// Describes a value within an enum. +class EnumValueDescriptorProto extends $pb.GeneratedMessage { + factory EnumValueDescriptorProto({ + $core.String? name, + $core.int? number, + EnumValueOptions? options, + }) { + final $result = create(); + if (name != null) { + $result.name = name; + } + if (number != null) { + $result.number = number; + } + if (options != null) { + $result.options = options; + } + return $result; + } + EnumValueDescriptorProto._() : super(); + factory EnumValueDescriptorProto.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory EnumValueDescriptorProto.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'EnumValueDescriptorProto', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'name') + ..a<$core.int>(2, _omitFieldNames ? '' : 'number', $pb.PbFieldType.O3) + ..aOM(3, _omitFieldNames ? '' : 'options', subBuilder: EnumValueOptions.create) + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + EnumValueDescriptorProto clone() => EnumValueDescriptorProto()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + EnumValueDescriptorProto copyWith(void Function(EnumValueDescriptorProto) updates) => super.copyWith((message) => updates(message as EnumValueDescriptorProto)) as EnumValueDescriptorProto; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static EnumValueDescriptorProto create() => EnumValueDescriptorProto._(); + EnumValueDescriptorProto createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static EnumValueDescriptorProto getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static EnumValueDescriptorProto? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get name => $_getSZ(0); + @$pb.TagNumber(1) + set name($core.String v) { $_setString(0, v); } + @$pb.TagNumber(1) + $core.bool hasName() => $_has(0); + @$pb.TagNumber(1) + void clearName() => clearField(1); + + @$pb.TagNumber(2) + $core.int get number => $_getIZ(1); + @$pb.TagNumber(2) + set number($core.int v) { $_setSignedInt32(1, v); } + @$pb.TagNumber(2) + $core.bool hasNumber() => $_has(1); + @$pb.TagNumber(2) + void clearNumber() => clearField(2); + + @$pb.TagNumber(3) + EnumValueOptions get options => $_getN(2); + @$pb.TagNumber(3) + set options(EnumValueOptions v) { setField(3, v); } + @$pb.TagNumber(3) + $core.bool hasOptions() => $_has(2); + @$pb.TagNumber(3) + void clearOptions() => clearField(3); + @$pb.TagNumber(3) + EnumValueOptions ensureOptions() => $_ensure(2); +} + +/// Describes a service. +class ServiceDescriptorProto extends $pb.GeneratedMessage { + factory ServiceDescriptorProto({ + $core.String? name, + $core.Iterable? method, + ServiceOptions? options, + }) { + final $result = create(); + if (name != null) { + $result.name = name; + } + if (method != null) { + $result.method.addAll(method); + } + if (options != null) { + $result.options = options; + } + return $result; + } + ServiceDescriptorProto._() : super(); + factory ServiceDescriptorProto.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory ServiceDescriptorProto.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ServiceDescriptorProto', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'name') + ..pc(2, _omitFieldNames ? '' : 'method', $pb.PbFieldType.PM, subBuilder: MethodDescriptorProto.create) + ..aOM(3, _omitFieldNames ? '' : 'options', subBuilder: ServiceOptions.create) + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + ServiceDescriptorProto clone() => ServiceDescriptorProto()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + ServiceDescriptorProto copyWith(void Function(ServiceDescriptorProto) updates) => super.copyWith((message) => updates(message as ServiceDescriptorProto)) as ServiceDescriptorProto; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static ServiceDescriptorProto create() => ServiceDescriptorProto._(); + ServiceDescriptorProto createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static ServiceDescriptorProto getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static ServiceDescriptorProto? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get name => $_getSZ(0); + @$pb.TagNumber(1) + set name($core.String v) { $_setString(0, v); } + @$pb.TagNumber(1) + $core.bool hasName() => $_has(0); + @$pb.TagNumber(1) + void clearName() => clearField(1); + + @$pb.TagNumber(2) + $core.List get method => $_getList(1); + + @$pb.TagNumber(3) + ServiceOptions get options => $_getN(2); + @$pb.TagNumber(3) + set options(ServiceOptions v) { setField(3, v); } + @$pb.TagNumber(3) + $core.bool hasOptions() => $_has(2); + @$pb.TagNumber(3) + void clearOptions() => clearField(3); + @$pb.TagNumber(3) + ServiceOptions ensureOptions() => $_ensure(2); +} + +/// Describes a method of a service. +class MethodDescriptorProto extends $pb.GeneratedMessage { + factory MethodDescriptorProto({ + $core.String? name, + $core.String? inputType, + $core.String? outputType, + MethodOptions? options, + $core.bool? clientStreaming, + $core.bool? serverStreaming, + }) { + final $result = create(); + if (name != null) { + $result.name = name; + } + if (inputType != null) { + $result.inputType = inputType; + } + if (outputType != null) { + $result.outputType = outputType; + } + if (options != null) { + $result.options = options; + } + if (clientStreaming != null) { + $result.clientStreaming = clientStreaming; + } + if (serverStreaming != null) { + $result.serverStreaming = serverStreaming; + } + return $result; + } + MethodDescriptorProto._() : super(); + factory MethodDescriptorProto.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory MethodDescriptorProto.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'MethodDescriptorProto', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'name') + ..aOS(2, _omitFieldNames ? '' : 'inputType') + ..aOS(3, _omitFieldNames ? '' : 'outputType') + ..aOM(4, _omitFieldNames ? '' : 'options', subBuilder: MethodOptions.create) + ..aOB(5, _omitFieldNames ? '' : 'clientStreaming') + ..aOB(6, _omitFieldNames ? '' : 'serverStreaming') + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + MethodDescriptorProto clone() => MethodDescriptorProto()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + MethodDescriptorProto copyWith(void Function(MethodDescriptorProto) updates) => super.copyWith((message) => updates(message as MethodDescriptorProto)) as MethodDescriptorProto; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static MethodDescriptorProto create() => MethodDescriptorProto._(); + MethodDescriptorProto createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static MethodDescriptorProto getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static MethodDescriptorProto? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get name => $_getSZ(0); + @$pb.TagNumber(1) + set name($core.String v) { $_setString(0, v); } + @$pb.TagNumber(1) + $core.bool hasName() => $_has(0); + @$pb.TagNumber(1) + void clearName() => clearField(1); + + /// Input and output type names. These are resolved in the same way as + /// FieldDescriptorProto.type_name, but must refer to a message type. + @$pb.TagNumber(2) + $core.String get inputType => $_getSZ(1); + @$pb.TagNumber(2) + set inputType($core.String v) { $_setString(1, v); } + @$pb.TagNumber(2) + $core.bool hasInputType() => $_has(1); + @$pb.TagNumber(2) + void clearInputType() => clearField(2); + + @$pb.TagNumber(3) + $core.String get outputType => $_getSZ(2); + @$pb.TagNumber(3) + set outputType($core.String v) { $_setString(2, v); } + @$pb.TagNumber(3) + $core.bool hasOutputType() => $_has(2); + @$pb.TagNumber(3) + void clearOutputType() => clearField(3); + + @$pb.TagNumber(4) + MethodOptions get options => $_getN(3); + @$pb.TagNumber(4) + set options(MethodOptions v) { setField(4, v); } + @$pb.TagNumber(4) + $core.bool hasOptions() => $_has(3); + @$pb.TagNumber(4) + void clearOptions() => clearField(4); + @$pb.TagNumber(4) + MethodOptions ensureOptions() => $_ensure(3); + + /// Identifies if client streams multiple client messages + @$pb.TagNumber(5) + $core.bool get clientStreaming => $_getBF(4); + @$pb.TagNumber(5) + set clientStreaming($core.bool v) { $_setBool(4, v); } + @$pb.TagNumber(5) + $core.bool hasClientStreaming() => $_has(4); + @$pb.TagNumber(5) + void clearClientStreaming() => clearField(5); + + /// Identifies if server streams multiple server messages + @$pb.TagNumber(6) + $core.bool get serverStreaming => $_getBF(5); + @$pb.TagNumber(6) + set serverStreaming($core.bool v) { $_setBool(5, v); } + @$pb.TagNumber(6) + $core.bool hasServerStreaming() => $_has(5); + @$pb.TagNumber(6) + void clearServerStreaming() => clearField(6); +} + +class FileOptions extends $pb.GeneratedMessage { + factory FileOptions({ + $core.String? javaPackage, + $core.String? javaOuterClassname, + FileOptions_OptimizeMode? optimizeFor, + $core.bool? javaMultipleFiles, + $core.String? goPackage, + $core.bool? ccGenericServices, + $core.bool? javaGenericServices, + $core.bool? pyGenericServices, + @$core.Deprecated('This field is deprecated.') + $core.bool? javaGenerateEqualsAndHash, + $core.bool? deprecated, + $core.bool? javaStringCheckUtf8, + $core.bool? ccEnableArenas, + $core.String? objcClassPrefix, + $core.String? csharpNamespace, + $core.String? swiftPrefix, + $core.String? phpClassPrefix, + $core.String? phpNamespace, + $core.bool? phpGenericServices, + $core.String? phpMetadataNamespace, + $core.String? rubyPackage, + $core.Iterable? uninterpretedOption, + }) { + final $result = create(); + if (javaPackage != null) { + $result.javaPackage = javaPackage; + } + if (javaOuterClassname != null) { + $result.javaOuterClassname = javaOuterClassname; + } + if (optimizeFor != null) { + $result.optimizeFor = optimizeFor; + } + if (javaMultipleFiles != null) { + $result.javaMultipleFiles = javaMultipleFiles; + } + if (goPackage != null) { + $result.goPackage = goPackage; + } + if (ccGenericServices != null) { + $result.ccGenericServices = ccGenericServices; + } + if (javaGenericServices != null) { + $result.javaGenericServices = javaGenericServices; + } + if (pyGenericServices != null) { + $result.pyGenericServices = pyGenericServices; + } + if (javaGenerateEqualsAndHash != null) { + // ignore: deprecated_member_use_from_same_package + $result.javaGenerateEqualsAndHash = javaGenerateEqualsAndHash; + } + if (deprecated != null) { + $result.deprecated = deprecated; + } + if (javaStringCheckUtf8 != null) { + $result.javaStringCheckUtf8 = javaStringCheckUtf8; + } + if (ccEnableArenas != null) { + $result.ccEnableArenas = ccEnableArenas; + } + if (objcClassPrefix != null) { + $result.objcClassPrefix = objcClassPrefix; + } + if (csharpNamespace != null) { + $result.csharpNamespace = csharpNamespace; + } + if (swiftPrefix != null) { + $result.swiftPrefix = swiftPrefix; + } + if (phpClassPrefix != null) { + $result.phpClassPrefix = phpClassPrefix; + } + if (phpNamespace != null) { + $result.phpNamespace = phpNamespace; + } + if (phpGenericServices != null) { + $result.phpGenericServices = phpGenericServices; + } + if (phpMetadataNamespace != null) { + $result.phpMetadataNamespace = phpMetadataNamespace; + } + if (rubyPackage != null) { + $result.rubyPackage = rubyPackage; + } + if (uninterpretedOption != null) { + $result.uninterpretedOption.addAll(uninterpretedOption); + } + return $result; + } + FileOptions._() : super(); + factory FileOptions.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory FileOptions.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'FileOptions', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'javaPackage') + ..aOS(8, _omitFieldNames ? '' : 'javaOuterClassname') + ..e(9, _omitFieldNames ? '' : 'optimizeFor', $pb.PbFieldType.OE, defaultOrMaker: FileOptions_OptimizeMode.SPEED, valueOf: FileOptions_OptimizeMode.valueOf, enumValues: FileOptions_OptimizeMode.values) + ..aOB(10, _omitFieldNames ? '' : 'javaMultipleFiles') + ..aOS(11, _omitFieldNames ? '' : 'goPackage') + ..aOB(16, _omitFieldNames ? '' : 'ccGenericServices') + ..aOB(17, _omitFieldNames ? '' : 'javaGenericServices') + ..aOB(18, _omitFieldNames ? '' : 'pyGenericServices') + ..aOB(20, _omitFieldNames ? '' : 'javaGenerateEqualsAndHash') + ..aOB(23, _omitFieldNames ? '' : 'deprecated') + ..aOB(27, _omitFieldNames ? '' : 'javaStringCheckUtf8') + ..aOB(31, _omitFieldNames ? '' : 'ccEnableArenas') + ..aOS(36, _omitFieldNames ? '' : 'objcClassPrefix') + ..aOS(37, _omitFieldNames ? '' : 'csharpNamespace') + ..aOS(39, _omitFieldNames ? '' : 'swiftPrefix') + ..aOS(40, _omitFieldNames ? '' : 'phpClassPrefix') + ..aOS(41, _omitFieldNames ? '' : 'phpNamespace') + ..aOB(42, _omitFieldNames ? '' : 'phpGenericServices') + ..aOS(44, _omitFieldNames ? '' : 'phpMetadataNamespace') + ..aOS(45, _omitFieldNames ? '' : 'rubyPackage') + ..pc(999, _omitFieldNames ? '' : 'uninterpretedOption', $pb.PbFieldType.PM, subBuilder: UninterpretedOption.create) + ..hasExtensions = true + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + FileOptions clone() => FileOptions()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + FileOptions copyWith(void Function(FileOptions) updates) => super.copyWith((message) => updates(message as FileOptions)) as FileOptions; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static FileOptions create() => FileOptions._(); + FileOptions createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static FileOptions getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static FileOptions? _defaultInstance; + + /// Sets the Java package where classes generated from this .proto will be + /// placed. By default, the proto package is used, but this is often + /// inappropriate because proto packages do not normally start with backwards + /// domain names. + @$pb.TagNumber(1) + $core.String get javaPackage => $_getSZ(0); + @$pb.TagNumber(1) + set javaPackage($core.String v) { $_setString(0, v); } + @$pb.TagNumber(1) + $core.bool hasJavaPackage() => $_has(0); + @$pb.TagNumber(1) + void clearJavaPackage() => clearField(1); + + /// If set, all the classes from the .proto file are wrapped in a single + /// outer class with the given name. This applies to both Proto1 + /// (equivalent to the old "--one_java_file" option) and Proto2 (where + /// a .proto always translates to a single class, but you may want to + /// explicitly choose the class name). + @$pb.TagNumber(8) + $core.String get javaOuterClassname => $_getSZ(1); + @$pb.TagNumber(8) + set javaOuterClassname($core.String v) { $_setString(1, v); } + @$pb.TagNumber(8) + $core.bool hasJavaOuterClassname() => $_has(1); + @$pb.TagNumber(8) + void clearJavaOuterClassname() => clearField(8); + + @$pb.TagNumber(9) + FileOptions_OptimizeMode get optimizeFor => $_getN(2); + @$pb.TagNumber(9) + set optimizeFor(FileOptions_OptimizeMode v) { setField(9, v); } + @$pb.TagNumber(9) + $core.bool hasOptimizeFor() => $_has(2); + @$pb.TagNumber(9) + void clearOptimizeFor() => clearField(9); + + /// If set true, then the Java code generator will generate a separate .java + /// file for each top-level message, enum, and service defined in the .proto + /// file. Thus, these types will *not* be nested inside the outer class + /// named by java_outer_classname. However, the outer class will still be + /// generated to contain the file's getDescriptor() method as well as any + /// top-level extensions defined in the file. + @$pb.TagNumber(10) + $core.bool get javaMultipleFiles => $_getBF(3); + @$pb.TagNumber(10) + set javaMultipleFiles($core.bool v) { $_setBool(3, v); } + @$pb.TagNumber(10) + $core.bool hasJavaMultipleFiles() => $_has(3); + @$pb.TagNumber(10) + void clearJavaMultipleFiles() => clearField(10); + + /// Sets the Go package where structs generated from this .proto will be + /// placed. If omitted, the Go package will be derived from the following: + /// - The basename of the package import path, if provided. + /// - Otherwise, the package statement in the .proto file, if present. + /// - Otherwise, the basename of the .proto file, without extension. + @$pb.TagNumber(11) + $core.String get goPackage => $_getSZ(4); + @$pb.TagNumber(11) + set goPackage($core.String v) { $_setString(4, v); } + @$pb.TagNumber(11) + $core.bool hasGoPackage() => $_has(4); + @$pb.TagNumber(11) + void clearGoPackage() => clearField(11); + + /// Should generic services be generated in each language? "Generic" services + /// are not specific to any particular RPC system. They are generated by the + /// main code generators in each language (without additional plugins). + /// Generic services were the only kind of service generation supported by + /// early versions of google.protobuf. + /// + /// Generic services are now considered deprecated in favor of using plugins + /// that generate code specific to your particular RPC system. Therefore, + /// these default to false. Old code which depends on generic services should + /// explicitly set them to true. + @$pb.TagNumber(16) + $core.bool get ccGenericServices => $_getBF(5); + @$pb.TagNumber(16) + set ccGenericServices($core.bool v) { $_setBool(5, v); } + @$pb.TagNumber(16) + $core.bool hasCcGenericServices() => $_has(5); + @$pb.TagNumber(16) + void clearCcGenericServices() => clearField(16); + + @$pb.TagNumber(17) + $core.bool get javaGenericServices => $_getBF(6); + @$pb.TagNumber(17) + set javaGenericServices($core.bool v) { $_setBool(6, v); } + @$pb.TagNumber(17) + $core.bool hasJavaGenericServices() => $_has(6); + @$pb.TagNumber(17) + void clearJavaGenericServices() => clearField(17); + + @$pb.TagNumber(18) + $core.bool get pyGenericServices => $_getBF(7); + @$pb.TagNumber(18) + set pyGenericServices($core.bool v) { $_setBool(7, v); } + @$pb.TagNumber(18) + $core.bool hasPyGenericServices() => $_has(7); + @$pb.TagNumber(18) + void clearPyGenericServices() => clearField(18); + + /// This option does nothing. + @$core.Deprecated('This field is deprecated.') + @$pb.TagNumber(20) + $core.bool get javaGenerateEqualsAndHash => $_getBF(8); + @$core.Deprecated('This field is deprecated.') + @$pb.TagNumber(20) + set javaGenerateEqualsAndHash($core.bool v) { $_setBool(8, v); } + @$core.Deprecated('This field is deprecated.') + @$pb.TagNumber(20) + $core.bool hasJavaGenerateEqualsAndHash() => $_has(8); + @$core.Deprecated('This field is deprecated.') + @$pb.TagNumber(20) + void clearJavaGenerateEqualsAndHash() => clearField(20); + + /// Is this file deprecated? + /// Depending on the target platform, this can emit Deprecated annotations + /// for everything in the file, or it will be completely ignored; in the very + /// least, this is a formalization for deprecating files. + @$pb.TagNumber(23) + $core.bool get deprecated => $_getBF(9); + @$pb.TagNumber(23) + set deprecated($core.bool v) { $_setBool(9, v); } + @$pb.TagNumber(23) + $core.bool hasDeprecated() => $_has(9); + @$pb.TagNumber(23) + void clearDeprecated() => clearField(23); + + /// If set true, then the Java2 code generator will generate code that + /// throws an exception whenever an attempt is made to assign a non-UTF-8 + /// byte sequence to a string field. + /// Message reflection will do the same. + /// However, an extension field still accepts non-UTF-8 byte sequences. + /// This option has no effect on when used with the lite runtime. + @$pb.TagNumber(27) + $core.bool get javaStringCheckUtf8 => $_getBF(10); + @$pb.TagNumber(27) + set javaStringCheckUtf8($core.bool v) { $_setBool(10, v); } + @$pb.TagNumber(27) + $core.bool hasJavaStringCheckUtf8() => $_has(10); + @$pb.TagNumber(27) + void clearJavaStringCheckUtf8() => clearField(27); + + /// Enables the use of arenas for the proto messages in this file. This applies + /// only to generated classes for C++. + @$pb.TagNumber(31) + $core.bool get ccEnableArenas => $_getBF(11); + @$pb.TagNumber(31) + set ccEnableArenas($core.bool v) { $_setBool(11, v); } + @$pb.TagNumber(31) + $core.bool hasCcEnableArenas() => $_has(11); + @$pb.TagNumber(31) + void clearCcEnableArenas() => clearField(31); + + /// Sets the objective c class prefix which is prepended to all objective c + /// generated classes from this .proto. There is no default. + @$pb.TagNumber(36) + $core.String get objcClassPrefix => $_getSZ(12); + @$pb.TagNumber(36) + set objcClassPrefix($core.String v) { $_setString(12, v); } + @$pb.TagNumber(36) + $core.bool hasObjcClassPrefix() => $_has(12); + @$pb.TagNumber(36) + void clearObjcClassPrefix() => clearField(36); + + /// Namespace for generated classes; defaults to the package. + @$pb.TagNumber(37) + $core.String get csharpNamespace => $_getSZ(13); + @$pb.TagNumber(37) + set csharpNamespace($core.String v) { $_setString(13, v); } + @$pb.TagNumber(37) + $core.bool hasCsharpNamespace() => $_has(13); + @$pb.TagNumber(37) + void clearCsharpNamespace() => clearField(37); + + /// By default Swift generators will take the proto package and CamelCase it + /// replacing '.' with underscore and use that to prefix the types/symbols + /// defined. When this options is provided, they will use this value instead + /// to prefix the types/symbols defined. + @$pb.TagNumber(39) + $core.String get swiftPrefix => $_getSZ(14); + @$pb.TagNumber(39) + set swiftPrefix($core.String v) { $_setString(14, v); } + @$pb.TagNumber(39) + $core.bool hasSwiftPrefix() => $_has(14); + @$pb.TagNumber(39) + void clearSwiftPrefix() => clearField(39); + + /// Sets the php class prefix which is prepended to all php generated classes + /// from this .proto. Default is empty. + @$pb.TagNumber(40) + $core.String get phpClassPrefix => $_getSZ(15); + @$pb.TagNumber(40) + set phpClassPrefix($core.String v) { $_setString(15, v); } + @$pb.TagNumber(40) + $core.bool hasPhpClassPrefix() => $_has(15); + @$pb.TagNumber(40) + void clearPhpClassPrefix() => clearField(40); + + /// Use this option to change the namespace of php generated classes. Default + /// is empty. When this option is empty, the package name will be used for + /// determining the namespace. + @$pb.TagNumber(41) + $core.String get phpNamespace => $_getSZ(16); + @$pb.TagNumber(41) + set phpNamespace($core.String v) { $_setString(16, v); } + @$pb.TagNumber(41) + $core.bool hasPhpNamespace() => $_has(16); + @$pb.TagNumber(41) + void clearPhpNamespace() => clearField(41); + + @$pb.TagNumber(42) + $core.bool get phpGenericServices => $_getBF(17); + @$pb.TagNumber(42) + set phpGenericServices($core.bool v) { $_setBool(17, v); } + @$pb.TagNumber(42) + $core.bool hasPhpGenericServices() => $_has(17); + @$pb.TagNumber(42) + void clearPhpGenericServices() => clearField(42); + + /// Use this option to change the namespace of php generated metadata classes. + /// Default is empty. When this option is empty, the proto file name will be + /// used for determining the namespace. + @$pb.TagNumber(44) + $core.String get phpMetadataNamespace => $_getSZ(18); + @$pb.TagNumber(44) + set phpMetadataNamespace($core.String v) { $_setString(18, v); } + @$pb.TagNumber(44) + $core.bool hasPhpMetadataNamespace() => $_has(18); + @$pb.TagNumber(44) + void clearPhpMetadataNamespace() => clearField(44); + + /// Use this option to change the package of ruby generated classes. Default + /// is empty. When this option is not set, the package name will be used for + /// determining the ruby package. + @$pb.TagNumber(45) + $core.String get rubyPackage => $_getSZ(19); + @$pb.TagNumber(45) + set rubyPackage($core.String v) { $_setString(19, v); } + @$pb.TagNumber(45) + $core.bool hasRubyPackage() => $_has(19); + @$pb.TagNumber(45) + void clearRubyPackage() => clearField(45); + + /// The parser stores options it doesn't recognize here. + /// See the documentation for the "Options" section above. + @$pb.TagNumber(999) + $core.List get uninterpretedOption => $_getList(20); +} + +class MessageOptions extends $pb.GeneratedMessage { + factory MessageOptions({ + $core.bool? messageSetWireFormat, + $core.bool? noStandardDescriptorAccessor, + $core.bool? deprecated, + $core.bool? mapEntry, + $core.Iterable? uninterpretedOption, + }) { + final $result = create(); + if (messageSetWireFormat != null) { + $result.messageSetWireFormat = messageSetWireFormat; + } + if (noStandardDescriptorAccessor != null) { + $result.noStandardDescriptorAccessor = noStandardDescriptorAccessor; + } + if (deprecated != null) { + $result.deprecated = deprecated; + } + if (mapEntry != null) { + $result.mapEntry = mapEntry; + } + if (uninterpretedOption != null) { + $result.uninterpretedOption.addAll(uninterpretedOption); + } + return $result; + } + MessageOptions._() : super(); + factory MessageOptions.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory MessageOptions.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'MessageOptions', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create) + ..aOB(1, _omitFieldNames ? '' : 'messageSetWireFormat') + ..aOB(2, _omitFieldNames ? '' : 'noStandardDescriptorAccessor') + ..aOB(3, _omitFieldNames ? '' : 'deprecated') + ..aOB(7, _omitFieldNames ? '' : 'mapEntry') + ..pc(999, _omitFieldNames ? '' : 'uninterpretedOption', $pb.PbFieldType.PM, subBuilder: UninterpretedOption.create) + ..hasExtensions = true + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + MessageOptions clone() => MessageOptions()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + MessageOptions copyWith(void Function(MessageOptions) updates) => super.copyWith((message) => updates(message as MessageOptions)) as MessageOptions; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static MessageOptions create() => MessageOptions._(); + MessageOptions createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static MessageOptions getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static MessageOptions? _defaultInstance; + + /// Set true to use the old proto1 MessageSet wire format for extensions. + /// This is provided for backwards-compatibility with the MessageSet wire + /// format. You should not use this for any other reason: It's less + /// efficient, has fewer features, and is more complicated. + /// + /// The message must be defined exactly as follows: + /// message Foo { + /// option message_set_wire_format = true; + /// extensions 4 to max; + /// } + /// Note that the message cannot have any defined fields; MessageSets only + /// have extensions. + /// + /// All extensions of your type must be singular messages; e.g. they cannot + /// be int32s, enums, or repeated messages. + /// + /// Because this is an option, the above two restrictions are not enforced by + /// the protocol compiler. + @$pb.TagNumber(1) + $core.bool get messageSetWireFormat => $_getBF(0); + @$pb.TagNumber(1) + set messageSetWireFormat($core.bool v) { $_setBool(0, v); } + @$pb.TagNumber(1) + $core.bool hasMessageSetWireFormat() => $_has(0); + @$pb.TagNumber(1) + void clearMessageSetWireFormat() => clearField(1); + + /// Disables the generation of the standard "descriptor()" accessor, which can + /// conflict with a field of the same name. This is meant to make migration + /// from proto1 easier; new code should avoid fields named "descriptor". + @$pb.TagNumber(2) + $core.bool get noStandardDescriptorAccessor => $_getBF(1); + @$pb.TagNumber(2) + set noStandardDescriptorAccessor($core.bool v) { $_setBool(1, v); } + @$pb.TagNumber(2) + $core.bool hasNoStandardDescriptorAccessor() => $_has(1); + @$pb.TagNumber(2) + void clearNoStandardDescriptorAccessor() => clearField(2); + + /// Is this message deprecated? + /// Depending on the target platform, this can emit Deprecated annotations + /// for the message, or it will be completely ignored; in the very least, + /// this is a formalization for deprecating messages. + @$pb.TagNumber(3) + $core.bool get deprecated => $_getBF(2); + @$pb.TagNumber(3) + set deprecated($core.bool v) { $_setBool(2, v); } + @$pb.TagNumber(3) + $core.bool hasDeprecated() => $_has(2); + @$pb.TagNumber(3) + void clearDeprecated() => clearField(3); + + /// Whether the message is an automatically generated map entry type for the + /// maps field. + /// + /// For maps fields: + /// map map_field = 1; + /// The parsed descriptor looks like: + /// message MapFieldEntry { + /// option map_entry = true; + /// optional KeyType key = 1; + /// optional ValueType value = 2; + /// } + /// repeated MapFieldEntry map_field = 1; + /// + /// Implementations may choose not to generate the map_entry=true message, but + /// use a native map in the target language to hold the keys and values. + /// The reflection APIs in such implementations still need to work as + /// if the field is a repeated message field. + /// + /// NOTE: Do not set the option in .proto files. Always use the maps syntax + /// instead. The option should only be implicitly set by the proto compiler + /// parser. + @$pb.TagNumber(7) + $core.bool get mapEntry => $_getBF(3); + @$pb.TagNumber(7) + set mapEntry($core.bool v) { $_setBool(3, v); } + @$pb.TagNumber(7) + $core.bool hasMapEntry() => $_has(3); + @$pb.TagNumber(7) + void clearMapEntry() => clearField(7); + + /// The parser stores options it doesn't recognize here. See above. + @$pb.TagNumber(999) + $core.List get uninterpretedOption => $_getList(4); +} + +class FieldOptions extends $pb.GeneratedMessage { + factory FieldOptions({ + FieldOptions_CType? ctype, + $core.bool? packed, + $core.bool? deprecated, + $core.bool? lazy, + FieldOptions_JSType? jstype, + $core.bool? weak, + $core.Iterable? uninterpretedOption, + }) { + final $result = create(); + if (ctype != null) { + $result.ctype = ctype; + } + if (packed != null) { + $result.packed = packed; + } + if (deprecated != null) { + $result.deprecated = deprecated; + } + if (lazy != null) { + $result.lazy = lazy; + } + if (jstype != null) { + $result.jstype = jstype; + } + if (weak != null) { + $result.weak = weak; + } + if (uninterpretedOption != null) { + $result.uninterpretedOption.addAll(uninterpretedOption); + } + return $result; + } + FieldOptions._() : super(); + factory FieldOptions.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory FieldOptions.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'FieldOptions', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create) + ..e(1, _omitFieldNames ? '' : 'ctype', $pb.PbFieldType.OE, defaultOrMaker: FieldOptions_CType.STRING, valueOf: FieldOptions_CType.valueOf, enumValues: FieldOptions_CType.values) + ..aOB(2, _omitFieldNames ? '' : 'packed') + ..aOB(3, _omitFieldNames ? '' : 'deprecated') + ..aOB(5, _omitFieldNames ? '' : 'lazy') + ..e(6, _omitFieldNames ? '' : 'jstype', $pb.PbFieldType.OE, defaultOrMaker: FieldOptions_JSType.JS_NORMAL, valueOf: FieldOptions_JSType.valueOf, enumValues: FieldOptions_JSType.values) + ..aOB(10, _omitFieldNames ? '' : 'weak') + ..pc(999, _omitFieldNames ? '' : 'uninterpretedOption', $pb.PbFieldType.PM, subBuilder: UninterpretedOption.create) + ..hasExtensions = true + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + FieldOptions clone() => FieldOptions()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + FieldOptions copyWith(void Function(FieldOptions) updates) => super.copyWith((message) => updates(message as FieldOptions)) as FieldOptions; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static FieldOptions create() => FieldOptions._(); + FieldOptions createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static FieldOptions getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static FieldOptions? _defaultInstance; + + /// The ctype option instructs the C++ code generator to use a different + /// representation of the field than it normally would. See the specific + /// options below. This option is not yet implemented in the open source + /// release -- sorry, we'll try to include it in a future version! + @$pb.TagNumber(1) + FieldOptions_CType get ctype => $_getN(0); + @$pb.TagNumber(1) + set ctype(FieldOptions_CType v) { setField(1, v); } + @$pb.TagNumber(1) + $core.bool hasCtype() => $_has(0); + @$pb.TagNumber(1) + void clearCtype() => clearField(1); + + /// The packed option can be enabled for repeated primitive fields to enable + /// a more efficient representation on the wire. Rather than repeatedly + /// writing the tag and type for each element, the entire array is encoded as + /// a single length-delimited blob. In proto3, only explicit setting it to + /// false will avoid using packed encoding. + @$pb.TagNumber(2) + $core.bool get packed => $_getBF(1); + @$pb.TagNumber(2) + set packed($core.bool v) { $_setBool(1, v); } + @$pb.TagNumber(2) + $core.bool hasPacked() => $_has(1); + @$pb.TagNumber(2) + void clearPacked() => clearField(2); + + /// Is this field deprecated? + /// Depending on the target platform, this can emit Deprecated annotations + /// for accessors, or it will be completely ignored; in the very least, this + /// is a formalization for deprecating fields. + @$pb.TagNumber(3) + $core.bool get deprecated => $_getBF(2); + @$pb.TagNumber(3) + set deprecated($core.bool v) { $_setBool(2, v); } + @$pb.TagNumber(3) + $core.bool hasDeprecated() => $_has(2); + @$pb.TagNumber(3) + void clearDeprecated() => clearField(3); + + /// Should this field be parsed lazily? Lazy applies only to message-type + /// fields. It means that when the outer message is initially parsed, the + /// inner message's contents will not be parsed but instead stored in encoded + /// form. The inner message will actually be parsed when it is first accessed. + /// + /// This is only a hint. Implementations are free to choose whether to use + /// eager or lazy parsing regardless of the value of this option. However, + /// setting this option true suggests that the protocol author believes that + /// using lazy parsing on this field is worth the additional bookkeeping + /// overhead typically needed to implement it. + /// + /// This option does not affect the public interface of any generated code; + /// all method signatures remain the same. Furthermore, thread-safety of the + /// interface is not affected by this option; const methods remain safe to + /// call from multiple threads concurrently, while non-const methods continue + /// to require exclusive access. + /// + /// + /// Note that implementations may choose not to check required fields within + /// a lazy sub-message. That is, calling IsInitialized() on the outer message + /// may return true even if the inner message has missing required fields. + /// This is necessary because otherwise the inner message would have to be + /// parsed in order to perform the check, defeating the purpose of lazy + /// parsing. An implementation which chooses not to check required fields + /// must be consistent about it. That is, for any particular sub-message, the + /// implementation must either *always* check its required fields, or *never* + /// check its required fields, regardless of whether or not the message has + /// been parsed. + @$pb.TagNumber(5) + $core.bool get lazy => $_getBF(3); + @$pb.TagNumber(5) + set lazy($core.bool v) { $_setBool(3, v); } + @$pb.TagNumber(5) + $core.bool hasLazy() => $_has(3); + @$pb.TagNumber(5) + void clearLazy() => clearField(5); + + /// The jstype option determines the JavaScript type used for values of the + /// field. The option is permitted only for 64 bit integral and fixed types + /// (int64, uint64, sint64, fixed64, sfixed64). A field with jstype JS_STRING + /// is represented as JavaScript string, which avoids loss of precision that + /// can happen when a large value is converted to a floating point JavaScript. + /// Specifying JS_NUMBER for the jstype causes the generated JavaScript code to + /// use the JavaScript "number" type. The behavior of the default option + /// JS_NORMAL is implementation dependent. + /// + /// This option is an enum to permit additional types to be added, e.g. + /// goog.math.Integer. + @$pb.TagNumber(6) + FieldOptions_JSType get jstype => $_getN(4); + @$pb.TagNumber(6) + set jstype(FieldOptions_JSType v) { setField(6, v); } + @$pb.TagNumber(6) + $core.bool hasJstype() => $_has(4); + @$pb.TagNumber(6) + void clearJstype() => clearField(6); + + /// For Google-internal migration only. Do not use. + @$pb.TagNumber(10) + $core.bool get weak => $_getBF(5); + @$pb.TagNumber(10) + set weak($core.bool v) { $_setBool(5, v); } + @$pb.TagNumber(10) + $core.bool hasWeak() => $_has(5); + @$pb.TagNumber(10) + void clearWeak() => clearField(10); + + /// The parser stores options it doesn't recognize here. See above. + @$pb.TagNumber(999) + $core.List get uninterpretedOption => $_getList(6); +} + +class OneofOptions extends $pb.GeneratedMessage { + factory OneofOptions({ + $core.Iterable? uninterpretedOption, + }) { + final $result = create(); + if (uninterpretedOption != null) { + $result.uninterpretedOption.addAll(uninterpretedOption); + } + return $result; + } + OneofOptions._() : super(); + factory OneofOptions.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory OneofOptions.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OneofOptions', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create) + ..pc(999, _omitFieldNames ? '' : 'uninterpretedOption', $pb.PbFieldType.PM, subBuilder: UninterpretedOption.create) + ..hasExtensions = true + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + OneofOptions clone() => OneofOptions()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + OneofOptions copyWith(void Function(OneofOptions) updates) => super.copyWith((message) => updates(message as OneofOptions)) as OneofOptions; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static OneofOptions create() => OneofOptions._(); + OneofOptions createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static OneofOptions getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static OneofOptions? _defaultInstance; + + /// The parser stores options it doesn't recognize here. See above. + @$pb.TagNumber(999) + $core.List get uninterpretedOption => $_getList(0); +} + +class EnumOptions extends $pb.GeneratedMessage { + factory EnumOptions({ + $core.bool? allowAlias, + $core.bool? deprecated, + $core.Iterable? uninterpretedOption, + }) { + final $result = create(); + if (allowAlias != null) { + $result.allowAlias = allowAlias; + } + if (deprecated != null) { + $result.deprecated = deprecated; + } + if (uninterpretedOption != null) { + $result.uninterpretedOption.addAll(uninterpretedOption); + } + return $result; + } + EnumOptions._() : super(); + factory EnumOptions.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory EnumOptions.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'EnumOptions', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create) + ..aOB(2, _omitFieldNames ? '' : 'allowAlias') + ..aOB(3, _omitFieldNames ? '' : 'deprecated') + ..pc(999, _omitFieldNames ? '' : 'uninterpretedOption', $pb.PbFieldType.PM, subBuilder: UninterpretedOption.create) + ..hasExtensions = true + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + EnumOptions clone() => EnumOptions()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + EnumOptions copyWith(void Function(EnumOptions) updates) => super.copyWith((message) => updates(message as EnumOptions)) as EnumOptions; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static EnumOptions create() => EnumOptions._(); + EnumOptions createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static EnumOptions getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static EnumOptions? _defaultInstance; + + /// Set this option to true to allow mapping different tag names to the same + /// value. + @$pb.TagNumber(2) + $core.bool get allowAlias => $_getBF(0); + @$pb.TagNumber(2) + set allowAlias($core.bool v) { $_setBool(0, v); } + @$pb.TagNumber(2) + $core.bool hasAllowAlias() => $_has(0); + @$pb.TagNumber(2) + void clearAllowAlias() => clearField(2); + + /// Is this enum deprecated? + /// Depending on the target platform, this can emit Deprecated annotations + /// for the enum, or it will be completely ignored; in the very least, this + /// is a formalization for deprecating enums. + @$pb.TagNumber(3) + $core.bool get deprecated => $_getBF(1); + @$pb.TagNumber(3) + set deprecated($core.bool v) { $_setBool(1, v); } + @$pb.TagNumber(3) + $core.bool hasDeprecated() => $_has(1); + @$pb.TagNumber(3) + void clearDeprecated() => clearField(3); + + /// The parser stores options it doesn't recognize here. See above. + @$pb.TagNumber(999) + $core.List get uninterpretedOption => $_getList(2); +} + +class EnumValueOptions extends $pb.GeneratedMessage { + factory EnumValueOptions({ + $core.bool? deprecated, + $core.Iterable? uninterpretedOption, + }) { + final $result = create(); + if (deprecated != null) { + $result.deprecated = deprecated; + } + if (uninterpretedOption != null) { + $result.uninterpretedOption.addAll(uninterpretedOption); + } + return $result; + } + EnumValueOptions._() : super(); + factory EnumValueOptions.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory EnumValueOptions.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'EnumValueOptions', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create) + ..aOB(1, _omitFieldNames ? '' : 'deprecated') + ..pc(999, _omitFieldNames ? '' : 'uninterpretedOption', $pb.PbFieldType.PM, subBuilder: UninterpretedOption.create) + ..hasExtensions = true + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + EnumValueOptions clone() => EnumValueOptions()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + EnumValueOptions copyWith(void Function(EnumValueOptions) updates) => super.copyWith((message) => updates(message as EnumValueOptions)) as EnumValueOptions; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static EnumValueOptions create() => EnumValueOptions._(); + EnumValueOptions createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static EnumValueOptions getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static EnumValueOptions? _defaultInstance; + + /// Is this enum value deprecated? + /// Depending on the target platform, this can emit Deprecated annotations + /// for the enum value, or it will be completely ignored; in the very least, + /// this is a formalization for deprecating enum values. + @$pb.TagNumber(1) + $core.bool get deprecated => $_getBF(0); + @$pb.TagNumber(1) + set deprecated($core.bool v) { $_setBool(0, v); } + @$pb.TagNumber(1) + $core.bool hasDeprecated() => $_has(0); + @$pb.TagNumber(1) + void clearDeprecated() => clearField(1); + + /// The parser stores options it doesn't recognize here. See above. + @$pb.TagNumber(999) + $core.List get uninterpretedOption => $_getList(1); +} + +class ServiceOptions extends $pb.GeneratedMessage { + factory ServiceOptions({ + $core.bool? deprecated, + $core.Iterable? uninterpretedOption, + }) { + final $result = create(); + if (deprecated != null) { + $result.deprecated = deprecated; + } + if (uninterpretedOption != null) { + $result.uninterpretedOption.addAll(uninterpretedOption); + } + return $result; + } + ServiceOptions._() : super(); + factory ServiceOptions.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory ServiceOptions.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ServiceOptions', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create) + ..aOB(33, _omitFieldNames ? '' : 'deprecated') + ..pc(999, _omitFieldNames ? '' : 'uninterpretedOption', $pb.PbFieldType.PM, subBuilder: UninterpretedOption.create) + ..hasExtensions = true + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + ServiceOptions clone() => ServiceOptions()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + ServiceOptions copyWith(void Function(ServiceOptions) updates) => super.copyWith((message) => updates(message as ServiceOptions)) as ServiceOptions; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static ServiceOptions create() => ServiceOptions._(); + ServiceOptions createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static ServiceOptions getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static ServiceOptions? _defaultInstance; + + /// Is this service deprecated? + /// Depending on the target platform, this can emit Deprecated annotations + /// for the service, or it will be completely ignored; in the very least, + /// this is a formalization for deprecating services. + @$pb.TagNumber(33) + $core.bool get deprecated => $_getBF(0); + @$pb.TagNumber(33) + set deprecated($core.bool v) { $_setBool(0, v); } + @$pb.TagNumber(33) + $core.bool hasDeprecated() => $_has(0); + @$pb.TagNumber(33) + void clearDeprecated() => clearField(33); + + /// The parser stores options it doesn't recognize here. See above. + @$pb.TagNumber(999) + $core.List get uninterpretedOption => $_getList(1); +} + +class MethodOptions extends $pb.GeneratedMessage { + factory MethodOptions({ + $core.bool? deprecated, + MethodOptions_IdempotencyLevel? idempotencyLevel, + $core.Iterable? uninterpretedOption, + }) { + final $result = create(); + if (deprecated != null) { + $result.deprecated = deprecated; + } + if (idempotencyLevel != null) { + $result.idempotencyLevel = idempotencyLevel; + } + if (uninterpretedOption != null) { + $result.uninterpretedOption.addAll(uninterpretedOption); + } + return $result; + } + MethodOptions._() : super(); + factory MethodOptions.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory MethodOptions.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'MethodOptions', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create) + ..aOB(33, _omitFieldNames ? '' : 'deprecated') + ..e(34, _omitFieldNames ? '' : 'idempotencyLevel', $pb.PbFieldType.OE, defaultOrMaker: MethodOptions_IdempotencyLevel.IDEMPOTENCY_UNKNOWN, valueOf: MethodOptions_IdempotencyLevel.valueOf, enumValues: MethodOptions_IdempotencyLevel.values) + ..pc(999, _omitFieldNames ? '' : 'uninterpretedOption', $pb.PbFieldType.PM, subBuilder: UninterpretedOption.create) + ..hasExtensions = true + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + MethodOptions clone() => MethodOptions()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + MethodOptions copyWith(void Function(MethodOptions) updates) => super.copyWith((message) => updates(message as MethodOptions)) as MethodOptions; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static MethodOptions create() => MethodOptions._(); + MethodOptions createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static MethodOptions getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static MethodOptions? _defaultInstance; + + /// Is this method deprecated? + /// Depending on the target platform, this can emit Deprecated annotations + /// for the method, or it will be completely ignored; in the very least, + /// this is a formalization for deprecating methods. + @$pb.TagNumber(33) + $core.bool get deprecated => $_getBF(0); + @$pb.TagNumber(33) + set deprecated($core.bool v) { $_setBool(0, v); } + @$pb.TagNumber(33) + $core.bool hasDeprecated() => $_has(0); + @$pb.TagNumber(33) + void clearDeprecated() => clearField(33); + + @$pb.TagNumber(34) + MethodOptions_IdempotencyLevel get idempotencyLevel => $_getN(1); + @$pb.TagNumber(34) + set idempotencyLevel(MethodOptions_IdempotencyLevel v) { setField(34, v); } + @$pb.TagNumber(34) + $core.bool hasIdempotencyLevel() => $_has(1); + @$pb.TagNumber(34) + void clearIdempotencyLevel() => clearField(34); + + /// The parser stores options it doesn't recognize here. See above. + @$pb.TagNumber(999) + $core.List get uninterpretedOption => $_getList(2); +} + +/// The name of the uninterpreted option. Each string represents a segment in +/// a dot-separated name. is_extension is true iff a segment represents an +/// extension (denoted with parentheses in options specs in .proto files). +/// E.g.,{ ["foo", false], ["bar.baz", true], ["qux", false] } represents +/// "foo.(bar.baz).qux". +class UninterpretedOption_NamePart extends $pb.GeneratedMessage { + factory UninterpretedOption_NamePart({ + $core.String? namePart, + $core.bool? isExtension, + }) { + final $result = create(); + if (namePart != null) { + $result.namePart = namePart; + } + if (isExtension != null) { + $result.isExtension = isExtension; + } + return $result; + } + UninterpretedOption_NamePart._() : super(); + factory UninterpretedOption_NamePart.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory UninterpretedOption_NamePart.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UninterpretedOption.NamePart', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create) + ..aQS(1, _omitFieldNames ? '' : 'namePart') + ..a<$core.bool>(2, _omitFieldNames ? '' : 'isExtension', $pb.PbFieldType.QB) + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + UninterpretedOption_NamePart clone() => UninterpretedOption_NamePart()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + UninterpretedOption_NamePart copyWith(void Function(UninterpretedOption_NamePart) updates) => super.copyWith((message) => updates(message as UninterpretedOption_NamePart)) as UninterpretedOption_NamePart; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static UninterpretedOption_NamePart create() => UninterpretedOption_NamePart._(); + UninterpretedOption_NamePart createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static UninterpretedOption_NamePart getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static UninterpretedOption_NamePart? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get namePart => $_getSZ(0); + @$pb.TagNumber(1) + set namePart($core.String v) { $_setString(0, v); } + @$pb.TagNumber(1) + $core.bool hasNamePart() => $_has(0); + @$pb.TagNumber(1) + void clearNamePart() => clearField(1); + + @$pb.TagNumber(2) + $core.bool get isExtension => $_getBF(1); + @$pb.TagNumber(2) + set isExtension($core.bool v) { $_setBool(1, v); } + @$pb.TagNumber(2) + $core.bool hasIsExtension() => $_has(1); + @$pb.TagNumber(2) + void clearIsExtension() => clearField(2); +} + +/// A message representing a option the parser does not recognize. This only +/// appears in options protos created by the compiler::Parser class. +/// DescriptorPool resolves these when building Descriptor objects. Therefore, +/// options protos in descriptor objects (e.g. returned by Descriptor::options(), +/// or produced by Descriptor::CopyTo()) will never have UninterpretedOptions +/// in them. +class UninterpretedOption extends $pb.GeneratedMessage { + factory UninterpretedOption({ + $core.Iterable? name, + $core.String? identifierValue, + $fixnum.Int64? positiveIntValue, + $fixnum.Int64? negativeIntValue, + $core.double? doubleValue, + $core.List<$core.int>? stringValue, + $core.String? aggregateValue, + }) { + final $result = create(); + if (name != null) { + $result.name.addAll(name); + } + if (identifierValue != null) { + $result.identifierValue = identifierValue; + } + if (positiveIntValue != null) { + $result.positiveIntValue = positiveIntValue; + } + if (negativeIntValue != null) { + $result.negativeIntValue = negativeIntValue; + } + if (doubleValue != null) { + $result.doubleValue = doubleValue; + } + if (stringValue != null) { + $result.stringValue = stringValue; + } + if (aggregateValue != null) { + $result.aggregateValue = aggregateValue; + } + return $result; + } + UninterpretedOption._() : super(); + factory UninterpretedOption.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory UninterpretedOption.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UninterpretedOption', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create) + ..pc(2, _omitFieldNames ? '' : 'name', $pb.PbFieldType.PM, subBuilder: UninterpretedOption_NamePart.create) + ..aOS(3, _omitFieldNames ? '' : 'identifierValue') + ..a<$fixnum.Int64>(4, _omitFieldNames ? '' : 'positiveIntValue', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) + ..aInt64(5, _omitFieldNames ? '' : 'negativeIntValue') + ..a<$core.double>(6, _omitFieldNames ? '' : 'doubleValue', $pb.PbFieldType.OD) + ..a<$core.List<$core.int>>(7, _omitFieldNames ? '' : 'stringValue', $pb.PbFieldType.OY) + ..aOS(8, _omitFieldNames ? '' : 'aggregateValue') + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + UninterpretedOption clone() => UninterpretedOption()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + UninterpretedOption copyWith(void Function(UninterpretedOption) updates) => super.copyWith((message) => updates(message as UninterpretedOption)) as UninterpretedOption; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static UninterpretedOption create() => UninterpretedOption._(); + UninterpretedOption createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static UninterpretedOption getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static UninterpretedOption? _defaultInstance; + + @$pb.TagNumber(2) + $core.List get name => $_getList(0); + + /// The value of the uninterpreted option, in whatever type the tokenizer + /// identified it as during parsing. Exactly one of these should be set. + @$pb.TagNumber(3) + $core.String get identifierValue => $_getSZ(1); + @$pb.TagNumber(3) + set identifierValue($core.String v) { $_setString(1, v); } + @$pb.TagNumber(3) + $core.bool hasIdentifierValue() => $_has(1); + @$pb.TagNumber(3) + void clearIdentifierValue() => clearField(3); + + @$pb.TagNumber(4) + $fixnum.Int64 get positiveIntValue => $_getI64(2); + @$pb.TagNumber(4) + set positiveIntValue($fixnum.Int64 v) { $_setInt64(2, v); } + @$pb.TagNumber(4) + $core.bool hasPositiveIntValue() => $_has(2); + @$pb.TagNumber(4) + void clearPositiveIntValue() => clearField(4); + + @$pb.TagNumber(5) + $fixnum.Int64 get negativeIntValue => $_getI64(3); + @$pb.TagNumber(5) + set negativeIntValue($fixnum.Int64 v) { $_setInt64(3, v); } + @$pb.TagNumber(5) + $core.bool hasNegativeIntValue() => $_has(3); + @$pb.TagNumber(5) + void clearNegativeIntValue() => clearField(5); + + @$pb.TagNumber(6) + $core.double get doubleValue => $_getN(4); + @$pb.TagNumber(6) + set doubleValue($core.double v) { $_setDouble(4, v); } + @$pb.TagNumber(6) + $core.bool hasDoubleValue() => $_has(4); + @$pb.TagNumber(6) + void clearDoubleValue() => clearField(6); + + @$pb.TagNumber(7) + $core.List<$core.int> get stringValue => $_getN(5); + @$pb.TagNumber(7) + set stringValue($core.List<$core.int> v) { $_setBytes(5, v); } + @$pb.TagNumber(7) + $core.bool hasStringValue() => $_has(5); + @$pb.TagNumber(7) + void clearStringValue() => clearField(7); + + @$pb.TagNumber(8) + $core.String get aggregateValue => $_getSZ(6); + @$pb.TagNumber(8) + set aggregateValue($core.String v) { $_setString(6, v); } + @$pb.TagNumber(8) + $core.bool hasAggregateValue() => $_has(6); + @$pb.TagNumber(8) + void clearAggregateValue() => clearField(8); +} + +class SourceCodeInfo_Location extends $pb.GeneratedMessage { + factory SourceCodeInfo_Location({ + $core.Iterable<$core.int>? path, + $core.Iterable<$core.int>? span, + $core.String? leadingComments, + $core.String? trailingComments, + $core.Iterable<$core.String>? leadingDetachedComments, + }) { + final $result = create(); + if (path != null) { + $result.path.addAll(path); + } + if (span != null) { + $result.span.addAll(span); + } + if (leadingComments != null) { + $result.leadingComments = leadingComments; + } + if (trailingComments != null) { + $result.trailingComments = trailingComments; + } + if (leadingDetachedComments != null) { + $result.leadingDetachedComments.addAll(leadingDetachedComments); + } + return $result; + } + SourceCodeInfo_Location._() : super(); + factory SourceCodeInfo_Location.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory SourceCodeInfo_Location.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SourceCodeInfo.Location', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create) + ..p<$core.int>(1, _omitFieldNames ? '' : 'path', $pb.PbFieldType.K3) + ..p<$core.int>(2, _omitFieldNames ? '' : 'span', $pb.PbFieldType.K3) + ..aOS(3, _omitFieldNames ? '' : 'leadingComments') + ..aOS(4, _omitFieldNames ? '' : 'trailingComments') + ..pPS(6, _omitFieldNames ? '' : 'leadingDetachedComments') + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + SourceCodeInfo_Location clone() => SourceCodeInfo_Location()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + SourceCodeInfo_Location copyWith(void Function(SourceCodeInfo_Location) updates) => super.copyWith((message) => updates(message as SourceCodeInfo_Location)) as SourceCodeInfo_Location; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static SourceCodeInfo_Location create() => SourceCodeInfo_Location._(); + SourceCodeInfo_Location createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static SourceCodeInfo_Location getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static SourceCodeInfo_Location? _defaultInstance; + + /// Identifies which part of the FileDescriptorProto was defined at this + /// location. + /// + /// Each element is a field number or an index. They form a path from + /// the root FileDescriptorProto to the place where the definition. For + /// example, this path: + /// [ 4, 3, 2, 7, 1 ] + /// refers to: + /// file.message_type(3) // 4, 3 + /// .field(7) // 2, 7 + /// .name() // 1 + /// This is because FileDescriptorProto.message_type has field number 4: + /// repeated DescriptorProto message_type = 4; + /// and DescriptorProto.field has field number 2: + /// repeated FieldDescriptorProto field = 2; + /// and FieldDescriptorProto.name has field number 1: + /// optional string name = 1; + /// + /// Thus, the above path gives the location of a field name. If we removed + /// the last element: + /// [ 4, 3, 2, 7 ] + /// this path refers to the whole field declaration (from the beginning + /// of the label to the terminating semicolon). + @$pb.TagNumber(1) + $core.List<$core.int> get path => $_getList(0); + + /// Always has exactly three or four elements: start line, start column, + /// end line (optional, otherwise assumed same as start line), end column. + /// These are packed into a single field for efficiency. Note that line + /// and column numbers are zero-based -- typically you will want to add + /// 1 to each before displaying to a user. + @$pb.TagNumber(2) + $core.List<$core.int> get span => $_getList(1); + + /// If this SourceCodeInfo represents a complete declaration, these are any + /// comments appearing before and after the declaration which appear to be + /// attached to the declaration. + /// + /// A series of line comments appearing on consecutive lines, with no other + /// tokens appearing on those lines, will be treated as a single comment. + /// + /// leading_detached_comments will keep paragraphs of comments that appear + /// before (but not connected to) the current element. Each paragraph, + /// separated by empty lines, will be one comment element in the repeated + /// field. + /// + /// Only the comment content is provided; comment markers (e.g. //) are + /// stripped out. For block comments, leading whitespace and an asterisk + /// will be stripped from the beginning of each line other than the first. + /// Newlines are included in the output. + /// + /// Examples: + /// + /// optional int32 foo = 1; // Comment attached to foo. + /// // Comment attached to bar. + /// optional int32 bar = 2; + /// + /// optional string baz = 3; + /// // Comment attached to baz. + /// // Another line attached to baz. + /// + /// // Comment attached to qux. + /// // + /// // Another line attached to qux. + /// optional double qux = 4; + /// + /// // Detached comment for corge. This is not leading or trailing comments + /// // to qux or corge because there are blank lines separating it from + /// // both. + /// + /// // Detached comment for corge paragraph 2. + /// + /// optional string corge = 5; + /// /* Block comment attached + /// * to corge. Leading asterisks + /// * will be removed. */ + /// /* Block comment attached to + /// * grault. */ + /// optional int32 grault = 6; + /// + /// // ignored detached comments. + @$pb.TagNumber(3) + $core.String get leadingComments => $_getSZ(2); + @$pb.TagNumber(3) + set leadingComments($core.String v) { $_setString(2, v); } + @$pb.TagNumber(3) + $core.bool hasLeadingComments() => $_has(2); + @$pb.TagNumber(3) + void clearLeadingComments() => clearField(3); + + @$pb.TagNumber(4) + $core.String get trailingComments => $_getSZ(3); + @$pb.TagNumber(4) + set trailingComments($core.String v) { $_setString(3, v); } + @$pb.TagNumber(4) + $core.bool hasTrailingComments() => $_has(3); + @$pb.TagNumber(4) + void clearTrailingComments() => clearField(4); + + @$pb.TagNumber(6) + $core.List<$core.String> get leadingDetachedComments => $_getList(4); +} + +/// Encapsulates information about the original source file from which a +/// FileDescriptorProto was generated. +class SourceCodeInfo extends $pb.GeneratedMessage { + factory SourceCodeInfo({ + $core.Iterable? location, + }) { + final $result = create(); + if (location != null) { + $result.location.addAll(location); + } + return $result; + } + SourceCodeInfo._() : super(); + factory SourceCodeInfo.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory SourceCodeInfo.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SourceCodeInfo', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create) + ..pc(1, _omitFieldNames ? '' : 'location', $pb.PbFieldType.PM, subBuilder: SourceCodeInfo_Location.create) + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + SourceCodeInfo clone() => SourceCodeInfo()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + SourceCodeInfo copyWith(void Function(SourceCodeInfo) updates) => super.copyWith((message) => updates(message as SourceCodeInfo)) as SourceCodeInfo; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static SourceCodeInfo create() => SourceCodeInfo._(); + SourceCodeInfo createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static SourceCodeInfo getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static SourceCodeInfo? _defaultInstance; + + /// A Location identifies a piece of source code in a .proto file which + /// corresponds to a particular definition. This information is intended + /// to be useful to IDEs, code indexers, documentation generators, and similar + /// tools. + /// + /// For example, say we have a file like: + /// message Foo { + /// optional string foo = 1; + /// } + /// Let's look at just the field definition: + /// optional string foo = 1; + /// ^ ^^ ^^ ^ ^^^ + /// a bc de f ghi + /// We have the following locations: + /// span path represents + /// [a,i) [ 4, 0, 2, 0 ] The whole field definition. + /// [a,b) [ 4, 0, 2, 0, 4 ] The label (optional). + /// [c,d) [ 4, 0, 2, 0, 5 ] The type (string). + /// [e,f) [ 4, 0, 2, 0, 1 ] The name (foo). + /// [g,h) [ 4, 0, 2, 0, 3 ] The number (1). + /// + /// Notes: + /// - A location may refer to a repeated field itself (i.e. not to any + /// particular index within it). This is used whenever a set of elements are + /// logically enclosed in a single code segment. For example, an entire + /// extend block (possibly containing multiple extension definitions) will + /// have an outer location whose path refers to the "extensions" repeated + /// field without an index. + /// - Multiple locations may have the same path. This happens when a single + /// logical declaration is spread out across multiple places. The most + /// obvious example is the "extend" block again -- there may be multiple + /// extend blocks in the same scope, each of which will have the same path. + /// - A location's span is not always a subset of its parent's span. For + /// example, the "extendee" of an extension declaration appears at the + /// beginning of the "extend" block and is shared by all extensions within + /// the block. + /// - Just because a location's span is a subset of some other location's span + /// does not mean that it is a descendant. For example, a "group" defines + /// both a type and a field in a single declaration. Thus, the locations + /// corresponding to the type and field and their components will overlap. + /// - Code which tries to interpret locations should probably be designed to + /// ignore those that it doesn't understand, as more types of locations could + /// be recorded in the future. + @$pb.TagNumber(1) + $core.List get location => $_getList(0); +} + +class GeneratedCodeInfo_Annotation extends $pb.GeneratedMessage { + factory GeneratedCodeInfo_Annotation({ + $core.Iterable<$core.int>? path, + $core.String? sourceFile, + $core.int? begin, + $core.int? end, + }) { + final $result = create(); + if (path != null) { + $result.path.addAll(path); + } + if (sourceFile != null) { + $result.sourceFile = sourceFile; + } + if (begin != null) { + $result.begin = begin; + } + if (end != null) { + $result.end = end; + } + return $result; + } + GeneratedCodeInfo_Annotation._() : super(); + factory GeneratedCodeInfo_Annotation.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory GeneratedCodeInfo_Annotation.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GeneratedCodeInfo.Annotation', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create) + ..p<$core.int>(1, _omitFieldNames ? '' : 'path', $pb.PbFieldType.K3) + ..aOS(2, _omitFieldNames ? '' : 'sourceFile') + ..a<$core.int>(3, _omitFieldNames ? '' : 'begin', $pb.PbFieldType.O3) + ..a<$core.int>(4, _omitFieldNames ? '' : 'end', $pb.PbFieldType.O3) + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + GeneratedCodeInfo_Annotation clone() => GeneratedCodeInfo_Annotation()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + GeneratedCodeInfo_Annotation copyWith(void Function(GeneratedCodeInfo_Annotation) updates) => super.copyWith((message) => updates(message as GeneratedCodeInfo_Annotation)) as GeneratedCodeInfo_Annotation; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static GeneratedCodeInfo_Annotation create() => GeneratedCodeInfo_Annotation._(); + GeneratedCodeInfo_Annotation createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static GeneratedCodeInfo_Annotation getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static GeneratedCodeInfo_Annotation? _defaultInstance; + + /// Identifies the element in the original source .proto file. This field + /// is formatted the same as SourceCodeInfo.Location.path. + @$pb.TagNumber(1) + $core.List<$core.int> get path => $_getList(0); + + /// Identifies the filesystem path to the original source .proto. + @$pb.TagNumber(2) + $core.String get sourceFile => $_getSZ(1); + @$pb.TagNumber(2) + set sourceFile($core.String v) { $_setString(1, v); } + @$pb.TagNumber(2) + $core.bool hasSourceFile() => $_has(1); + @$pb.TagNumber(2) + void clearSourceFile() => clearField(2); + + /// Identifies the starting offset in bytes in the generated code + /// that relates to the identified object. + @$pb.TagNumber(3) + $core.int get begin => $_getIZ(2); + @$pb.TagNumber(3) + set begin($core.int v) { $_setSignedInt32(2, v); } + @$pb.TagNumber(3) + $core.bool hasBegin() => $_has(2); + @$pb.TagNumber(3) + void clearBegin() => clearField(3); + + /// Identifies the ending offset in bytes in the generated code that + /// relates to the identified offset. The end offset should be one past + /// the last relevant byte (so the length of the text = end - begin). + @$pb.TagNumber(4) + $core.int get end => $_getIZ(3); + @$pb.TagNumber(4) + set end($core.int v) { $_setSignedInt32(3, v); } + @$pb.TagNumber(4) + $core.bool hasEnd() => $_has(3); + @$pb.TagNumber(4) + void clearEnd() => clearField(4); +} + +/// Describes the relationship between generated code and its original source +/// file. A GeneratedCodeInfo message is associated with only one generated +/// source file, but may contain references to different source .proto files. +class GeneratedCodeInfo extends $pb.GeneratedMessage { + factory GeneratedCodeInfo({ + $core.Iterable? annotation, + }) { + final $result = create(); + if (annotation != null) { + $result.annotation.addAll(annotation); + } + return $result; + } + GeneratedCodeInfo._() : super(); + factory GeneratedCodeInfo.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory GeneratedCodeInfo.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GeneratedCodeInfo', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create) + ..pc(1, _omitFieldNames ? '' : 'annotation', $pb.PbFieldType.PM, subBuilder: GeneratedCodeInfo_Annotation.create) + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + GeneratedCodeInfo clone() => GeneratedCodeInfo()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + GeneratedCodeInfo copyWith(void Function(GeneratedCodeInfo) updates) => super.copyWith((message) => updates(message as GeneratedCodeInfo)) as GeneratedCodeInfo; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static GeneratedCodeInfo create() => GeneratedCodeInfo._(); + GeneratedCodeInfo createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static GeneratedCodeInfo getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static GeneratedCodeInfo? _defaultInstance; + + /// An Annotation connects some span of text in generated code to an element + /// of its generating .proto file. + @$pb.TagNumber(1) + $core.List get annotation => $_getList(0); +} + + +const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); +const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/google/protobuf/descriptor.pbenum.dart b/lib/google/protobuf/descriptor.pbenum.dart new file mode 100644 index 0000000..bfbf1bd --- /dev/null +++ b/lib/google/protobuf/descriptor.pbenum.dart @@ -0,0 +1,153 @@ +// +// Generated code. Do not modify. +// source: google/protobuf/descriptor.proto +// +// @dart = 2.12 + +// ignore_for_file: annotate_overrides, camel_case_types, comment_references +// ignore_for_file: constant_identifier_names, library_prefixes +// ignore_for_file: non_constant_identifier_names, prefer_final_fields +// ignore_for_file: unnecessary_import, unnecessary_this, unused_import + +import 'dart:core' as $core; + +import 'package:protobuf/protobuf.dart' as $pb; + +class FieldDescriptorProto_Type extends $pb.ProtobufEnum { + static const FieldDescriptorProto_Type TYPE_DOUBLE = FieldDescriptorProto_Type._(1, _omitEnumNames ? '' : 'TYPE_DOUBLE'); + static const FieldDescriptorProto_Type TYPE_FLOAT = FieldDescriptorProto_Type._(2, _omitEnumNames ? '' : 'TYPE_FLOAT'); + static const FieldDescriptorProto_Type TYPE_INT64 = FieldDescriptorProto_Type._(3, _omitEnumNames ? '' : 'TYPE_INT64'); + static const FieldDescriptorProto_Type TYPE_UINT64 = FieldDescriptorProto_Type._(4, _omitEnumNames ? '' : 'TYPE_UINT64'); + static const FieldDescriptorProto_Type TYPE_INT32 = FieldDescriptorProto_Type._(5, _omitEnumNames ? '' : 'TYPE_INT32'); + static const FieldDescriptorProto_Type TYPE_FIXED64 = FieldDescriptorProto_Type._(6, _omitEnumNames ? '' : 'TYPE_FIXED64'); + static const FieldDescriptorProto_Type TYPE_FIXED32 = FieldDescriptorProto_Type._(7, _omitEnumNames ? '' : 'TYPE_FIXED32'); + 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_GROUP = FieldDescriptorProto_Type._(10, _omitEnumNames ? '' : 'TYPE_GROUP'); + static const FieldDescriptorProto_Type TYPE_MESSAGE = FieldDescriptorProto_Type._(11, _omitEnumNames ? '' : 'TYPE_MESSAGE'); + static const FieldDescriptorProto_Type TYPE_BYTES = FieldDescriptorProto_Type._(12, _omitEnumNames ? '' : 'TYPE_BYTES'); + static const FieldDescriptorProto_Type TYPE_UINT32 = FieldDescriptorProto_Type._(13, _omitEnumNames ? '' : 'TYPE_UINT32'); + static const FieldDescriptorProto_Type TYPE_ENUM = FieldDescriptorProto_Type._(14, _omitEnumNames ? '' : 'TYPE_ENUM'); + static const FieldDescriptorProto_Type TYPE_SFIXED32 = FieldDescriptorProto_Type._(15, _omitEnumNames ? '' : 'TYPE_SFIXED32'); + static const FieldDescriptorProto_Type TYPE_SFIXED64 = FieldDescriptorProto_Type._(16, _omitEnumNames ? '' : 'TYPE_SFIXED64'); + static const FieldDescriptorProto_Type TYPE_SINT32 = FieldDescriptorProto_Type._(17, _omitEnumNames ? '' : 'TYPE_SINT32'); + static const FieldDescriptorProto_Type TYPE_SINT64 = FieldDescriptorProto_Type._(18, _omitEnumNames ? '' : 'TYPE_SINT64'); + + static const $core.List values = [ + TYPE_DOUBLE, + TYPE_FLOAT, + TYPE_INT64, + TYPE_UINT64, + TYPE_INT32, + TYPE_FIXED64, + TYPE_FIXED32, + TYPE_BOOL, + TYPE_STRING, + TYPE_GROUP, + TYPE_MESSAGE, + TYPE_BYTES, + TYPE_UINT32, + TYPE_ENUM, + TYPE_SFIXED32, + TYPE_SFIXED64, + TYPE_SINT32, + TYPE_SINT64, + ]; + + static final $core.Map<$core.int, FieldDescriptorProto_Type> _byValue = $pb.ProtobufEnum.initByValue(values); + static FieldDescriptorProto_Type? valueOf($core.int value) => _byValue[value]; + + const FieldDescriptorProto_Type._($core.int v, $core.String n) : super(v, n); +} + +class FieldDescriptorProto_Label extends $pb.ProtobufEnum { + 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 $core.List values = [ + LABEL_OPTIONAL, + LABEL_REQUIRED, + LABEL_REPEATED, + ]; + + static final $core.Map<$core.int, FieldDescriptorProto_Label> _byValue = $pb.ProtobufEnum.initByValue(values); + static FieldDescriptorProto_Label? valueOf($core.int value) => _byValue[value]; + + const FieldDescriptorProto_Label._($core.int v, $core.String n) : super(v, n); +} + +/// Generated classes can be optimized for speed or code size. +class FileOptions_OptimizeMode extends $pb.ProtobufEnum { + static const FileOptions_OptimizeMode SPEED = FileOptions_OptimizeMode._(1, _omitEnumNames ? '' : 'SPEED'); + static const FileOptions_OptimizeMode CODE_SIZE = FileOptions_OptimizeMode._(2, _omitEnumNames ? '' : 'CODE_SIZE'); + static const FileOptions_OptimizeMode LITE_RUNTIME = FileOptions_OptimizeMode._(3, _omitEnumNames ? '' : 'LITE_RUNTIME'); + + static const $core.List values = [ + SPEED, + CODE_SIZE, + LITE_RUNTIME, + ]; + + static final $core.Map<$core.int, FileOptions_OptimizeMode> _byValue = $pb.ProtobufEnum.initByValue(values); + static FileOptions_OptimizeMode? valueOf($core.int value) => _byValue[value]; + + const FileOptions_OptimizeMode._($core.int v, $core.String n) : super(v, n); +} + +class FieldOptions_CType extends $pb.ProtobufEnum { + static const FieldOptions_CType STRING = FieldOptions_CType._(0, _omitEnumNames ? '' : 'STRING'); + static const FieldOptions_CType CORD = FieldOptions_CType._(1, _omitEnumNames ? '' : 'CORD'); + static const FieldOptions_CType STRING_PIECE = FieldOptions_CType._(2, _omitEnumNames ? '' : 'STRING_PIECE'); + + static const $core.List values = [ + STRING, + CORD, + STRING_PIECE, + ]; + + static final $core.Map<$core.int, FieldOptions_CType> _byValue = $pb.ProtobufEnum.initByValue(values); + static FieldOptions_CType? valueOf($core.int value) => _byValue[value]; + + const FieldOptions_CType._($core.int v, $core.String n) : super(v, n); +} + +class FieldOptions_JSType extends $pb.ProtobufEnum { + static const FieldOptions_JSType JS_NORMAL = FieldOptions_JSType._(0, _omitEnumNames ? '' : 'JS_NORMAL'); + static const FieldOptions_JSType JS_STRING = FieldOptions_JSType._(1, _omitEnumNames ? '' : 'JS_STRING'); + static const FieldOptions_JSType JS_NUMBER = FieldOptions_JSType._(2, _omitEnumNames ? '' : 'JS_NUMBER'); + + static const $core.List values = [ + JS_NORMAL, + JS_STRING, + JS_NUMBER, + ]; + + static final $core.Map<$core.int, FieldOptions_JSType> _byValue = $pb.ProtobufEnum.initByValue(values); + static FieldOptions_JSType? valueOf($core.int value) => _byValue[value]; + + const FieldOptions_JSType._($core.int v, $core.String n) : super(v, n); +} + +/// Is this method side-effect-free (or safe in HTTP parlance), or idempotent, +/// or neither? HTTP based RPC implementation may choose GET verb for safe +/// methods, and PUT verb for idempotent methods instead of the default POST. +class MethodOptions_IdempotencyLevel extends $pb.ProtobufEnum { + static const MethodOptions_IdempotencyLevel IDEMPOTENCY_UNKNOWN = MethodOptions_IdempotencyLevel._(0, _omitEnumNames ? '' : 'IDEMPOTENCY_UNKNOWN'); + static const MethodOptions_IdempotencyLevel NO_SIDE_EFFECTS = MethodOptions_IdempotencyLevel._(1, _omitEnumNames ? '' : 'NO_SIDE_EFFECTS'); + static const MethodOptions_IdempotencyLevel IDEMPOTENT = MethodOptions_IdempotencyLevel._(2, _omitEnumNames ? '' : 'IDEMPOTENT'); + + static const $core.List values = [ + IDEMPOTENCY_UNKNOWN, + NO_SIDE_EFFECTS, + IDEMPOTENT, + ]; + + static final $core.Map<$core.int, MethodOptions_IdempotencyLevel> _byValue = $pb.ProtobufEnum.initByValue(values); + static MethodOptions_IdempotencyLevel? valueOf($core.int value) => _byValue[value]; + + const MethodOptions_IdempotencyLevel._($core.int v, $core.String n) : super(v, n); +} + + +const _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names'); diff --git a/lib/google/protobuf/descriptor.pbjson.dart b/lib/google/protobuf/descriptor.pbjson.dart new file mode 100644 index 0000000..eaa9c28 --- /dev/null +++ b/lib/google/protobuf/descriptor.pbjson.dart @@ -0,0 +1,687 @@ +// +// Generated code. Do not modify. +// source: google/protobuf/descriptor.proto +// +// @dart = 2.12 + +// ignore_for_file: annotate_overrides, camel_case_types, comment_references +// ignore_for_file: constant_identifier_names, library_prefixes +// ignore_for_file: non_constant_identifier_names, prefer_final_fields +// ignore_for_file: unnecessary_import, unnecessary_this, unused_import + +import 'dart:convert' as $convert; +import 'dart:core' as $core; +import 'dart:typed_data' as $typed_data; + +@$core.Deprecated('Use fileDescriptorSetDescriptor instead') +const FileDescriptorSet$json = { + '1': 'FileDescriptorSet', + '2': [ + {'1': 'file', '3': 1, '4': 3, '5': 11, '6': '.google.protobuf.FileDescriptorProto', '10': 'file'}, + ], +}; + +/// Descriptor for `FileDescriptorSet`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List fileDescriptorSetDescriptor = $convert.base64Decode( + 'ChFGaWxlRGVzY3JpcHRvclNldBI4CgRmaWxlGAEgAygLMiQuZ29vZ2xlLnByb3RvYnVmLkZpbG' + 'VEZXNjcmlwdG9yUHJvdG9SBGZpbGU='); + +@$core.Deprecated('Use fileDescriptorProtoDescriptor instead') +const FileDescriptorProto$json = { + '1': 'FileDescriptorProto', + '2': [ + {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, + {'1': 'package', '3': 2, '4': 1, '5': 9, '10': 'package'}, + {'1': 'dependency', '3': 3, '4': 3, '5': 9, '10': 'dependency'}, + {'1': 'public_dependency', '3': 10, '4': 3, '5': 5, '10': 'publicDependency'}, + {'1': 'weak_dependency', '3': 11, '4': 3, '5': 5, '10': 'weakDependency'}, + {'1': 'message_type', '3': 4, '4': 3, '5': 11, '6': '.google.protobuf.DescriptorProto', '10': 'messageType'}, + {'1': 'enum_type', '3': 5, '4': 3, '5': 11, '6': '.google.protobuf.EnumDescriptorProto', '10': 'enumType'}, + {'1': 'service', '3': 6, '4': 3, '5': 11, '6': '.google.protobuf.ServiceDescriptorProto', '10': 'service'}, + {'1': 'extension', '3': 7, '4': 3, '5': 11, '6': '.google.protobuf.FieldDescriptorProto', '10': 'extension'}, + {'1': 'options', '3': 8, '4': 1, '5': 11, '6': '.google.protobuf.FileOptions', '10': 'options'}, + {'1': 'source_code_info', '3': 9, '4': 1, '5': 11, '6': '.google.protobuf.SourceCodeInfo', '10': 'sourceCodeInfo'}, + {'1': 'syntax', '3': 12, '4': 1, '5': 9, '10': 'syntax'}, + ], +}; + +/// Descriptor for `FileDescriptorProto`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List fileDescriptorProtoDescriptor = $convert.base64Decode( + 'ChNGaWxlRGVzY3JpcHRvclByb3RvEhIKBG5hbWUYASABKAlSBG5hbWUSGAoHcGFja2FnZRgCIA' + 'EoCVIHcGFja2FnZRIeCgpkZXBlbmRlbmN5GAMgAygJUgpkZXBlbmRlbmN5EisKEXB1YmxpY19k' + 'ZXBlbmRlbmN5GAogAygFUhBwdWJsaWNEZXBlbmRlbmN5EicKD3dlYWtfZGVwZW5kZW5jeRgLIA' + 'MoBVIOd2Vha0RlcGVuZGVuY3kSQwoMbWVzc2FnZV90eXBlGAQgAygLMiAuZ29vZ2xlLnByb3Rv' + 'YnVmLkRlc2NyaXB0b3JQcm90b1ILbWVzc2FnZVR5cGUSQQoJZW51bV90eXBlGAUgAygLMiQuZ2' + '9vZ2xlLnByb3RvYnVmLkVudW1EZXNjcmlwdG9yUHJvdG9SCGVudW1UeXBlEkEKB3NlcnZpY2UY' + 'BiADKAsyJy5nb29nbGUucHJvdG9idWYuU2VydmljZURlc2NyaXB0b3JQcm90b1IHc2VydmljZR' + 'JDCglleHRlbnNpb24YByADKAsyJS5nb29nbGUucHJvdG9idWYuRmllbGREZXNjcmlwdG9yUHJv' + 'dG9SCWV4dGVuc2lvbhI2CgdvcHRpb25zGAggASgLMhwuZ29vZ2xlLnByb3RvYnVmLkZpbGVPcH' + 'Rpb25zUgdvcHRpb25zEkkKEHNvdXJjZV9jb2RlX2luZm8YCSABKAsyHy5nb29nbGUucHJvdG9i' + 'dWYuU291cmNlQ29kZUluZm9SDnNvdXJjZUNvZGVJbmZvEhYKBnN5bnRheBgMIAEoCVIGc3ludG' + 'F4'); + +@$core.Deprecated('Use descriptorProtoDescriptor instead') +const DescriptorProto$json = { + '1': 'DescriptorProto', + '2': [ + {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, + {'1': 'field', '3': 2, '4': 3, '5': 11, '6': '.google.protobuf.FieldDescriptorProto', '10': 'field'}, + {'1': 'extension', '3': 6, '4': 3, '5': 11, '6': '.google.protobuf.FieldDescriptorProto', '10': 'extension'}, + {'1': 'nested_type', '3': 3, '4': 3, '5': 11, '6': '.google.protobuf.DescriptorProto', '10': 'nestedType'}, + {'1': 'enum_type', '3': 4, '4': 3, '5': 11, '6': '.google.protobuf.EnumDescriptorProto', '10': 'enumType'}, + {'1': 'extension_range', '3': 5, '4': 3, '5': 11, '6': '.google.protobuf.DescriptorProto.ExtensionRange', '10': 'extensionRange'}, + {'1': 'oneof_decl', '3': 8, '4': 3, '5': 11, '6': '.google.protobuf.OneofDescriptorProto', '10': 'oneofDecl'}, + {'1': 'options', '3': 7, '4': 1, '5': 11, '6': '.google.protobuf.MessageOptions', '10': 'options'}, + {'1': 'reserved_range', '3': 9, '4': 3, '5': 11, '6': '.google.protobuf.DescriptorProto.ReservedRange', '10': 'reservedRange'}, + {'1': 'reserved_name', '3': 10, '4': 3, '5': 9, '10': 'reservedName'}, + ], + '3': [DescriptorProto_ExtensionRange$json, DescriptorProto_ReservedRange$json], +}; + +@$core.Deprecated('Use descriptorProtoDescriptor instead') +const DescriptorProto_ExtensionRange$json = { + '1': 'ExtensionRange', + '2': [ + {'1': 'start', '3': 1, '4': 1, '5': 5, '10': 'start'}, + {'1': 'end', '3': 2, '4': 1, '5': 5, '10': 'end'}, + {'1': 'options', '3': 3, '4': 1, '5': 11, '6': '.google.protobuf.ExtensionRangeOptions', '10': 'options'}, + ], +}; + +@$core.Deprecated('Use descriptorProtoDescriptor instead') +const DescriptorProto_ReservedRange$json = { + '1': 'ReservedRange', + '2': [ + {'1': 'start', '3': 1, '4': 1, '5': 5, '10': 'start'}, + {'1': 'end', '3': 2, '4': 1, '5': 5, '10': 'end'}, + ], +}; + +/// Descriptor for `DescriptorProto`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List descriptorProtoDescriptor = $convert.base64Decode( + 'Cg9EZXNjcmlwdG9yUHJvdG8SEgoEbmFtZRgBIAEoCVIEbmFtZRI7CgVmaWVsZBgCIAMoCzIlLm' + 'dvb2dsZS5wcm90b2J1Zi5GaWVsZERlc2NyaXB0b3JQcm90b1IFZmllbGQSQwoJZXh0ZW5zaW9u' + 'GAYgAygLMiUuZ29vZ2xlLnByb3RvYnVmLkZpZWxkRGVzY3JpcHRvclByb3RvUglleHRlbnNpb2' + '4SQQoLbmVzdGVkX3R5cGUYAyADKAsyIC5nb29nbGUucHJvdG9idWYuRGVzY3JpcHRvclByb3Rv' + 'UgpuZXN0ZWRUeXBlEkEKCWVudW1fdHlwZRgEIAMoCzIkLmdvb2dsZS5wcm90b2J1Zi5FbnVtRG' + 'VzY3JpcHRvclByb3RvUghlbnVtVHlwZRJYCg9leHRlbnNpb25fcmFuZ2UYBSADKAsyLy5nb29n' + 'bGUucHJvdG9idWYuRGVzY3JpcHRvclByb3RvLkV4dGVuc2lvblJhbmdlUg5leHRlbnNpb25SYW' + '5nZRJECgpvbmVvZl9kZWNsGAggAygLMiUuZ29vZ2xlLnByb3RvYnVmLk9uZW9mRGVzY3JpcHRv' + 'clByb3RvUglvbmVvZkRlY2wSOQoHb3B0aW9ucxgHIAEoCzIfLmdvb2dsZS5wcm90b2J1Zi5NZX' + 'NzYWdlT3B0aW9uc1IHb3B0aW9ucxJVCg5yZXNlcnZlZF9yYW5nZRgJIAMoCzIuLmdvb2dsZS5w' + 'cm90b2J1Zi5EZXNjcmlwdG9yUHJvdG8uUmVzZXJ2ZWRSYW5nZVINcmVzZXJ2ZWRSYW5nZRIjCg' + '1yZXNlcnZlZF9uYW1lGAogAygJUgxyZXNlcnZlZE5hbWUaegoORXh0ZW5zaW9uUmFuZ2USFAoF' + 'c3RhcnQYASABKAVSBXN0YXJ0EhAKA2VuZBgCIAEoBVIDZW5kEkAKB29wdGlvbnMYAyABKAsyJi' + '5nb29nbGUucHJvdG9idWYuRXh0ZW5zaW9uUmFuZ2VPcHRpb25zUgdvcHRpb25zGjcKDVJlc2Vy' + 'dmVkUmFuZ2USFAoFc3RhcnQYASABKAVSBXN0YXJ0EhAKA2VuZBgCIAEoBVIDZW5k'); + +@$core.Deprecated('Use extensionRangeOptionsDescriptor instead') +const ExtensionRangeOptions$json = { + '1': 'ExtensionRangeOptions', + '2': [ + {'1': 'uninterpreted_option', '3': 999, '4': 3, '5': 11, '6': '.google.protobuf.UninterpretedOption', '10': 'uninterpretedOption'}, + ], + '5': [ + {'1': 1000, '2': 536870912}, + ], +}; + +/// Descriptor for `ExtensionRangeOptions`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List extensionRangeOptionsDescriptor = $convert.base64Decode( + 'ChVFeHRlbnNpb25SYW5nZU9wdGlvbnMSWAoUdW5pbnRlcnByZXRlZF9vcHRpb24Y5wcgAygLMi' + 'QuZ29vZ2xlLnByb3RvYnVmLlVuaW50ZXJwcmV0ZWRPcHRpb25SE3VuaW50ZXJwcmV0ZWRPcHRp' + 'b24qCQjoBxCAgICAAg=='); + +@$core.Deprecated('Use fieldDescriptorProtoDescriptor instead') +const FieldDescriptorProto$json = { + '1': 'FieldDescriptorProto', + '2': [ + {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, + {'1': 'number', '3': 3, '4': 1, '5': 5, '10': 'number'}, + {'1': 'label', '3': 4, '4': 1, '5': 14, '6': '.google.protobuf.FieldDescriptorProto.Label', '10': 'label'}, + {'1': 'type', '3': 5, '4': 1, '5': 14, '6': '.google.protobuf.FieldDescriptorProto.Type', '10': 'type'}, + {'1': 'type_name', '3': 6, '4': 1, '5': 9, '10': 'typeName'}, + {'1': 'extendee', '3': 2, '4': 1, '5': 9, '10': 'extendee'}, + {'1': 'default_value', '3': 7, '4': 1, '5': 9, '10': 'defaultValue'}, + {'1': 'oneof_index', '3': 9, '4': 1, '5': 5, '10': 'oneofIndex'}, + {'1': 'json_name', '3': 10, '4': 1, '5': 9, '10': 'jsonName'}, + {'1': 'options', '3': 8, '4': 1, '5': 11, '6': '.google.protobuf.FieldOptions', '10': 'options'}, + ], + '4': [FieldDescriptorProto_Type$json, FieldDescriptorProto_Label$json], +}; + +@$core.Deprecated('Use fieldDescriptorProtoDescriptor instead') +const FieldDescriptorProto_Type$json = { + '1': 'Type', + '2': [ + {'1': 'TYPE_DOUBLE', '2': 1}, + {'1': 'TYPE_FLOAT', '2': 2}, + {'1': 'TYPE_INT64', '2': 3}, + {'1': 'TYPE_UINT64', '2': 4}, + {'1': 'TYPE_INT32', '2': 5}, + {'1': 'TYPE_FIXED64', '2': 6}, + {'1': 'TYPE_FIXED32', '2': 7}, + {'1': 'TYPE_BOOL', '2': 8}, + {'1': 'TYPE_STRING', '2': 9}, + {'1': 'TYPE_GROUP', '2': 10}, + {'1': 'TYPE_MESSAGE', '2': 11}, + {'1': 'TYPE_BYTES', '2': 12}, + {'1': 'TYPE_UINT32', '2': 13}, + {'1': 'TYPE_ENUM', '2': 14}, + {'1': 'TYPE_SFIXED32', '2': 15}, + {'1': 'TYPE_SFIXED64', '2': 16}, + {'1': 'TYPE_SINT32', '2': 17}, + {'1': 'TYPE_SINT64', '2': 18}, + ], +}; + +@$core.Deprecated('Use fieldDescriptorProtoDescriptor instead') +const FieldDescriptorProto_Label$json = { + '1': 'Label', + '2': [ + {'1': 'LABEL_OPTIONAL', '2': 1}, + {'1': 'LABEL_REQUIRED', '2': 2}, + {'1': 'LABEL_REPEATED', '2': 3}, + ], +}; + +/// Descriptor for `FieldDescriptorProto`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List fieldDescriptorProtoDescriptor = $convert.base64Decode( + 'ChRGaWVsZERlc2NyaXB0b3JQcm90bxISCgRuYW1lGAEgASgJUgRuYW1lEhYKBm51bWJlchgDIA' + 'EoBVIGbnVtYmVyEkEKBWxhYmVsGAQgASgOMisuZ29vZ2xlLnByb3RvYnVmLkZpZWxkRGVzY3Jp' + 'cHRvclByb3RvLkxhYmVsUgVsYWJlbBI+CgR0eXBlGAUgASgOMiouZ29vZ2xlLnByb3RvYnVmLk' + 'ZpZWxkRGVzY3JpcHRvclByb3RvLlR5cGVSBHR5cGUSGwoJdHlwZV9uYW1lGAYgASgJUgh0eXBl' + 'TmFtZRIaCghleHRlbmRlZRgCIAEoCVIIZXh0ZW5kZWUSIwoNZGVmYXVsdF92YWx1ZRgHIAEoCV' + 'IMZGVmYXVsdFZhbHVlEh8KC29uZW9mX2luZGV4GAkgASgFUgpvbmVvZkluZGV4EhsKCWpzb25f' + 'bmFtZRgKIAEoCVIIanNvbk5hbWUSNwoHb3B0aW9ucxgIIAEoCzIdLmdvb2dsZS5wcm90b2J1Zi' + '5GaWVsZE9wdGlvbnNSB29wdGlvbnMitgIKBFR5cGUSDwoLVFlQRV9ET1VCTEUQARIOCgpUWVBF' + 'X0ZMT0FUEAISDgoKVFlQRV9JTlQ2NBADEg8KC1RZUEVfVUlOVDY0EAQSDgoKVFlQRV9JTlQzMh' + 'AFEhAKDFRZUEVfRklYRUQ2NBAGEhAKDFRZUEVfRklYRUQzMhAHEg0KCVRZUEVfQk9PTBAIEg8K' + 'C1RZUEVfU1RSSU5HEAkSDgoKVFlQRV9HUk9VUBAKEhAKDFRZUEVfTUVTU0FHRRALEg4KClRZUE' + 'VfQllURVMQDBIPCgtUWVBFX1VJTlQzMhANEg0KCVRZUEVfRU5VTRAOEhEKDVRZUEVfU0ZJWEVE' + 'MzIQDxIRCg1UWVBFX1NGSVhFRDY0EBASDwoLVFlQRV9TSU5UMzIQERIPCgtUWVBFX1NJTlQ2NB' + 'ASIkMKBUxhYmVsEhIKDkxBQkVMX09QVElPTkFMEAESEgoOTEFCRUxfUkVRVUlSRUQQAhISCg5M' + 'QUJFTF9SRVBFQVRFRBAD'); + +@$core.Deprecated('Use oneofDescriptorProtoDescriptor instead') +const OneofDescriptorProto$json = { + '1': 'OneofDescriptorProto', + '2': [ + {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, + {'1': 'options', '3': 2, '4': 1, '5': 11, '6': '.google.protobuf.OneofOptions', '10': 'options'}, + ], +}; + +/// Descriptor for `OneofDescriptorProto`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List oneofDescriptorProtoDescriptor = $convert.base64Decode( + 'ChRPbmVvZkRlc2NyaXB0b3JQcm90bxISCgRuYW1lGAEgASgJUgRuYW1lEjcKB29wdGlvbnMYAi' + 'ABKAsyHS5nb29nbGUucHJvdG9idWYuT25lb2ZPcHRpb25zUgdvcHRpb25z'); + +@$core.Deprecated('Use enumDescriptorProtoDescriptor instead') +const EnumDescriptorProto$json = { + '1': 'EnumDescriptorProto', + '2': [ + {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, + {'1': 'value', '3': 2, '4': 3, '5': 11, '6': '.google.protobuf.EnumValueDescriptorProto', '10': 'value'}, + {'1': 'options', '3': 3, '4': 1, '5': 11, '6': '.google.protobuf.EnumOptions', '10': 'options'}, + {'1': 'reserved_range', '3': 4, '4': 3, '5': 11, '6': '.google.protobuf.EnumDescriptorProto.EnumReservedRange', '10': 'reservedRange'}, + {'1': 'reserved_name', '3': 5, '4': 3, '5': 9, '10': 'reservedName'}, + ], + '3': [EnumDescriptorProto_EnumReservedRange$json], +}; + +@$core.Deprecated('Use enumDescriptorProtoDescriptor instead') +const EnumDescriptorProto_EnumReservedRange$json = { + '1': 'EnumReservedRange', + '2': [ + {'1': 'start', '3': 1, '4': 1, '5': 5, '10': 'start'}, + {'1': 'end', '3': 2, '4': 1, '5': 5, '10': 'end'}, + ], +}; + +/// Descriptor for `EnumDescriptorProto`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List enumDescriptorProtoDescriptor = $convert.base64Decode( + 'ChNFbnVtRGVzY3JpcHRvclByb3RvEhIKBG5hbWUYASABKAlSBG5hbWUSPwoFdmFsdWUYAiADKA' + 'syKS5nb29nbGUucHJvdG9idWYuRW51bVZhbHVlRGVzY3JpcHRvclByb3RvUgV2YWx1ZRI2Cgdv' + 'cHRpb25zGAMgASgLMhwuZ29vZ2xlLnByb3RvYnVmLkVudW1PcHRpb25zUgdvcHRpb25zEl0KDn' + 'Jlc2VydmVkX3JhbmdlGAQgAygLMjYuZ29vZ2xlLnByb3RvYnVmLkVudW1EZXNjcmlwdG9yUHJv' + 'dG8uRW51bVJlc2VydmVkUmFuZ2VSDXJlc2VydmVkUmFuZ2USIwoNcmVzZXJ2ZWRfbmFtZRgFIA' + 'MoCVIMcmVzZXJ2ZWROYW1lGjsKEUVudW1SZXNlcnZlZFJhbmdlEhQKBXN0YXJ0GAEgASgFUgVz' + 'dGFydBIQCgNlbmQYAiABKAVSA2VuZA=='); + +@$core.Deprecated('Use enumValueDescriptorProtoDescriptor instead') +const EnumValueDescriptorProto$json = { + '1': 'EnumValueDescriptorProto', + '2': [ + {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, + {'1': 'number', '3': 2, '4': 1, '5': 5, '10': 'number'}, + {'1': 'options', '3': 3, '4': 1, '5': 11, '6': '.google.protobuf.EnumValueOptions', '10': 'options'}, + ], +}; + +/// Descriptor for `EnumValueDescriptorProto`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List enumValueDescriptorProtoDescriptor = $convert.base64Decode( + 'ChhFbnVtVmFsdWVEZXNjcmlwdG9yUHJvdG8SEgoEbmFtZRgBIAEoCVIEbmFtZRIWCgZudW1iZX' + 'IYAiABKAVSBm51bWJlchI7CgdvcHRpb25zGAMgASgLMiEuZ29vZ2xlLnByb3RvYnVmLkVudW1W' + 'YWx1ZU9wdGlvbnNSB29wdGlvbnM='); + +@$core.Deprecated('Use serviceDescriptorProtoDescriptor instead') +const ServiceDescriptorProto$json = { + '1': 'ServiceDescriptorProto', + '2': [ + {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, + {'1': 'method', '3': 2, '4': 3, '5': 11, '6': '.google.protobuf.MethodDescriptorProto', '10': 'method'}, + {'1': 'options', '3': 3, '4': 1, '5': 11, '6': '.google.protobuf.ServiceOptions', '10': 'options'}, + ], +}; + +/// Descriptor for `ServiceDescriptorProto`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List serviceDescriptorProtoDescriptor = $convert.base64Decode( + 'ChZTZXJ2aWNlRGVzY3JpcHRvclByb3RvEhIKBG5hbWUYASABKAlSBG5hbWUSPgoGbWV0aG9kGA' + 'IgAygLMiYuZ29vZ2xlLnByb3RvYnVmLk1ldGhvZERlc2NyaXB0b3JQcm90b1IGbWV0aG9kEjkK' + 'B29wdGlvbnMYAyABKAsyHy5nb29nbGUucHJvdG9idWYuU2VydmljZU9wdGlvbnNSB29wdGlvbn' + 'M='); + +@$core.Deprecated('Use methodDescriptorProtoDescriptor instead') +const MethodDescriptorProto$json = { + '1': 'MethodDescriptorProto', + '2': [ + {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, + {'1': 'input_type', '3': 2, '4': 1, '5': 9, '10': 'inputType'}, + {'1': 'output_type', '3': 3, '4': 1, '5': 9, '10': 'outputType'}, + {'1': 'options', '3': 4, '4': 1, '5': 11, '6': '.google.protobuf.MethodOptions', '10': 'options'}, + {'1': 'client_streaming', '3': 5, '4': 1, '5': 8, '7': 'false', '10': 'clientStreaming'}, + {'1': 'server_streaming', '3': 6, '4': 1, '5': 8, '7': 'false', '10': 'serverStreaming'}, + ], +}; + +/// Descriptor for `MethodDescriptorProto`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List methodDescriptorProtoDescriptor = $convert.base64Decode( + 'ChVNZXRob2REZXNjcmlwdG9yUHJvdG8SEgoEbmFtZRgBIAEoCVIEbmFtZRIdCgppbnB1dF90eX' + 'BlGAIgASgJUglpbnB1dFR5cGUSHwoLb3V0cHV0X3R5cGUYAyABKAlSCm91dHB1dFR5cGUSOAoH' + 'b3B0aW9ucxgEIAEoCzIeLmdvb2dsZS5wcm90b2J1Zi5NZXRob2RPcHRpb25zUgdvcHRpb25zEj' + 'AKEGNsaWVudF9zdHJlYW1pbmcYBSABKAg6BWZhbHNlUg9jbGllbnRTdHJlYW1pbmcSMAoQc2Vy' + 'dmVyX3N0cmVhbWluZxgGIAEoCDoFZmFsc2VSD3NlcnZlclN0cmVhbWluZw=='); + +@$core.Deprecated('Use fileOptionsDescriptor instead') +const FileOptions$json = { + '1': 'FileOptions', + '2': [ + {'1': 'java_package', '3': 1, '4': 1, '5': 9, '10': 'javaPackage'}, + {'1': 'java_outer_classname', '3': 8, '4': 1, '5': 9, '10': 'javaOuterClassname'}, + {'1': 'java_multiple_files', '3': 10, '4': 1, '5': 8, '7': 'false', '10': 'javaMultipleFiles'}, + { + '1': 'java_generate_equals_and_hash', + '3': 20, + '4': 1, + '5': 8, + '8': {'3': true}, + '10': 'javaGenerateEqualsAndHash', + }, + {'1': 'java_string_check_utf8', '3': 27, '4': 1, '5': 8, '7': 'false', '10': 'javaStringCheckUtf8'}, + {'1': 'optimize_for', '3': 9, '4': 1, '5': 14, '6': '.google.protobuf.FileOptions.OptimizeMode', '7': 'SPEED', '10': 'optimizeFor'}, + {'1': 'go_package', '3': 11, '4': 1, '5': 9, '10': 'goPackage'}, + {'1': 'cc_generic_services', '3': 16, '4': 1, '5': 8, '7': 'false', '10': 'ccGenericServices'}, + {'1': 'java_generic_services', '3': 17, '4': 1, '5': 8, '7': 'false', '10': 'javaGenericServices'}, + {'1': 'py_generic_services', '3': 18, '4': 1, '5': 8, '7': 'false', '10': 'pyGenericServices'}, + {'1': 'php_generic_services', '3': 42, '4': 1, '5': 8, '7': 'false', '10': 'phpGenericServices'}, + {'1': 'deprecated', '3': 23, '4': 1, '5': 8, '7': 'false', '10': 'deprecated'}, + {'1': 'cc_enable_arenas', '3': 31, '4': 1, '5': 8, '7': 'false', '10': 'ccEnableArenas'}, + {'1': 'objc_class_prefix', '3': 36, '4': 1, '5': 9, '10': 'objcClassPrefix'}, + {'1': 'csharp_namespace', '3': 37, '4': 1, '5': 9, '10': 'csharpNamespace'}, + {'1': 'swift_prefix', '3': 39, '4': 1, '5': 9, '10': 'swiftPrefix'}, + {'1': 'php_class_prefix', '3': 40, '4': 1, '5': 9, '10': 'phpClassPrefix'}, + {'1': 'php_namespace', '3': 41, '4': 1, '5': 9, '10': 'phpNamespace'}, + {'1': 'php_metadata_namespace', '3': 44, '4': 1, '5': 9, '10': 'phpMetadataNamespace'}, + {'1': 'ruby_package', '3': 45, '4': 1, '5': 9, '10': 'rubyPackage'}, + {'1': 'uninterpreted_option', '3': 999, '4': 3, '5': 11, '6': '.google.protobuf.UninterpretedOption', '10': 'uninterpretedOption'}, + ], + '4': [FileOptions_OptimizeMode$json], + '5': [ + {'1': 1000, '2': 536870912}, + ], + '9': [ + {'1': 38, '2': 39}, + ], +}; + +@$core.Deprecated('Use fileOptionsDescriptor instead') +const FileOptions_OptimizeMode$json = { + '1': 'OptimizeMode', + '2': [ + {'1': 'SPEED', '2': 1}, + {'1': 'CODE_SIZE', '2': 2}, + {'1': 'LITE_RUNTIME', '2': 3}, + ], +}; + +/// Descriptor for `FileOptions`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List fileOptionsDescriptor = $convert.base64Decode( + 'CgtGaWxlT3B0aW9ucxIhCgxqYXZhX3BhY2thZ2UYASABKAlSC2phdmFQYWNrYWdlEjAKFGphdm' + 'Ffb3V0ZXJfY2xhc3NuYW1lGAggASgJUhJqYXZhT3V0ZXJDbGFzc25hbWUSNQoTamF2YV9tdWx0' + 'aXBsZV9maWxlcxgKIAEoCDoFZmFsc2VSEWphdmFNdWx0aXBsZUZpbGVzEkQKHWphdmFfZ2VuZX' + 'JhdGVfZXF1YWxzX2FuZF9oYXNoGBQgASgIQgIYAVIZamF2YUdlbmVyYXRlRXF1YWxzQW5kSGFz' + 'aBI6ChZqYXZhX3N0cmluZ19jaGVja191dGY4GBsgASgIOgVmYWxzZVITamF2YVN0cmluZ0NoZW' + 'NrVXRmOBJTCgxvcHRpbWl6ZV9mb3IYCSABKA4yKS5nb29nbGUucHJvdG9idWYuRmlsZU9wdGlv' + 'bnMuT3B0aW1pemVNb2RlOgVTUEVFRFILb3B0aW1pemVGb3ISHQoKZ29fcGFja2FnZRgLIAEoCV' + 'IJZ29QYWNrYWdlEjUKE2NjX2dlbmVyaWNfc2VydmljZXMYECABKAg6BWZhbHNlUhFjY0dlbmVy' + 'aWNTZXJ2aWNlcxI5ChVqYXZhX2dlbmVyaWNfc2VydmljZXMYESABKAg6BWZhbHNlUhNqYXZhR2' + 'VuZXJpY1NlcnZpY2VzEjUKE3B5X2dlbmVyaWNfc2VydmljZXMYEiABKAg6BWZhbHNlUhFweUdl' + 'bmVyaWNTZXJ2aWNlcxI3ChRwaHBfZ2VuZXJpY19zZXJ2aWNlcxgqIAEoCDoFZmFsc2VSEnBocE' + 'dlbmVyaWNTZXJ2aWNlcxIlCgpkZXByZWNhdGVkGBcgASgIOgVmYWxzZVIKZGVwcmVjYXRlZBIv' + 'ChBjY19lbmFibGVfYXJlbmFzGB8gASgIOgVmYWxzZVIOY2NFbmFibGVBcmVuYXMSKgoRb2JqY1' + '9jbGFzc19wcmVmaXgYJCABKAlSD29iamNDbGFzc1ByZWZpeBIpChBjc2hhcnBfbmFtZXNwYWNl' + 'GCUgASgJUg9jc2hhcnBOYW1lc3BhY2USIQoMc3dpZnRfcHJlZml4GCcgASgJUgtzd2lmdFByZW' + 'ZpeBIoChBwaHBfY2xhc3NfcHJlZml4GCggASgJUg5waHBDbGFzc1ByZWZpeBIjCg1waHBfbmFt' + 'ZXNwYWNlGCkgASgJUgxwaHBOYW1lc3BhY2USNAoWcGhwX21ldGFkYXRhX25hbWVzcGFjZRgsIA' + 'EoCVIUcGhwTWV0YWRhdGFOYW1lc3BhY2USIQoMcnVieV9wYWNrYWdlGC0gASgJUgtydWJ5UGFj' + 'a2FnZRJYChR1bmludGVycHJldGVkX29wdGlvbhjnByADKAsyJC5nb29nbGUucHJvdG9idWYuVW' + '5pbnRlcnByZXRlZE9wdGlvblITdW5pbnRlcnByZXRlZE9wdGlvbiI6CgxPcHRpbWl6ZU1vZGUS' + 'CQoFU1BFRUQQARINCglDT0RFX1NJWkUQAhIQCgxMSVRFX1JVTlRJTUUQAyoJCOgHEICAgIACSg' + 'QIJhAn'); + +@$core.Deprecated('Use messageOptionsDescriptor instead') +const MessageOptions$json = { + '1': 'MessageOptions', + '2': [ + {'1': 'message_set_wire_format', '3': 1, '4': 1, '5': 8, '7': 'false', '10': 'messageSetWireFormat'}, + {'1': 'no_standard_descriptor_accessor', '3': 2, '4': 1, '5': 8, '7': 'false', '10': 'noStandardDescriptorAccessor'}, + {'1': 'deprecated', '3': 3, '4': 1, '5': 8, '7': 'false', '10': 'deprecated'}, + {'1': 'map_entry', '3': 7, '4': 1, '5': 8, '10': 'mapEntry'}, + {'1': 'uninterpreted_option', '3': 999, '4': 3, '5': 11, '6': '.google.protobuf.UninterpretedOption', '10': 'uninterpretedOption'}, + ], + '5': [ + {'1': 1000, '2': 536870912}, + ], + '9': [ + {'1': 8, '2': 9}, + {'1': 9, '2': 10}, + ], +}; + +/// Descriptor for `MessageOptions`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List messageOptionsDescriptor = $convert.base64Decode( + 'Cg5NZXNzYWdlT3B0aW9ucxI8ChdtZXNzYWdlX3NldF93aXJlX2Zvcm1hdBgBIAEoCDoFZmFsc2' + 'VSFG1lc3NhZ2VTZXRXaXJlRm9ybWF0EkwKH25vX3N0YW5kYXJkX2Rlc2NyaXB0b3JfYWNjZXNz' + 'b3IYAiABKAg6BWZhbHNlUhxub1N0YW5kYXJkRGVzY3JpcHRvckFjY2Vzc29yEiUKCmRlcHJlY2' + 'F0ZWQYAyABKAg6BWZhbHNlUgpkZXByZWNhdGVkEhsKCW1hcF9lbnRyeRgHIAEoCFIIbWFwRW50' + 'cnkSWAoUdW5pbnRlcnByZXRlZF9vcHRpb24Y5wcgAygLMiQuZ29vZ2xlLnByb3RvYnVmLlVuaW' + '50ZXJwcmV0ZWRPcHRpb25SE3VuaW50ZXJwcmV0ZWRPcHRpb24qCQjoBxCAgICAAkoECAgQCUoE' + 'CAkQCg=='); + +@$core.Deprecated('Use fieldOptionsDescriptor instead') +const FieldOptions$json = { + '1': 'FieldOptions', + '2': [ + {'1': 'ctype', '3': 1, '4': 1, '5': 14, '6': '.google.protobuf.FieldOptions.CType', '7': 'STRING', '10': 'ctype'}, + {'1': 'packed', '3': 2, '4': 1, '5': 8, '10': 'packed'}, + {'1': 'jstype', '3': 6, '4': 1, '5': 14, '6': '.google.protobuf.FieldOptions.JSType', '7': 'JS_NORMAL', '10': 'jstype'}, + {'1': 'lazy', '3': 5, '4': 1, '5': 8, '7': 'false', '10': 'lazy'}, + {'1': 'deprecated', '3': 3, '4': 1, '5': 8, '7': 'false', '10': 'deprecated'}, + {'1': 'weak', '3': 10, '4': 1, '5': 8, '7': 'false', '10': 'weak'}, + {'1': 'uninterpreted_option', '3': 999, '4': 3, '5': 11, '6': '.google.protobuf.UninterpretedOption', '10': 'uninterpretedOption'}, + ], + '4': [FieldOptions_CType$json, FieldOptions_JSType$json], + '5': [ + {'1': 1000, '2': 536870912}, + ], + '9': [ + {'1': 4, '2': 5}, + ], +}; + +@$core.Deprecated('Use fieldOptionsDescriptor instead') +const FieldOptions_CType$json = { + '1': 'CType', + '2': [ + {'1': 'STRING', '2': 0}, + {'1': 'CORD', '2': 1}, + {'1': 'STRING_PIECE', '2': 2}, + ], +}; + +@$core.Deprecated('Use fieldOptionsDescriptor instead') +const FieldOptions_JSType$json = { + '1': 'JSType', + '2': [ + {'1': 'JS_NORMAL', '2': 0}, + {'1': 'JS_STRING', '2': 1}, + {'1': 'JS_NUMBER', '2': 2}, + ], +}; + +/// Descriptor for `FieldOptions`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List fieldOptionsDescriptor = $convert.base64Decode( + 'CgxGaWVsZE9wdGlvbnMSQQoFY3R5cGUYASABKA4yIy5nb29nbGUucHJvdG9idWYuRmllbGRPcH' + 'Rpb25zLkNUeXBlOgZTVFJJTkdSBWN0eXBlEhYKBnBhY2tlZBgCIAEoCFIGcGFja2VkEkcKBmpz' + 'dHlwZRgGIAEoDjIkLmdvb2dsZS5wcm90b2J1Zi5GaWVsZE9wdGlvbnMuSlNUeXBlOglKU19OT1' + 'JNQUxSBmpzdHlwZRIZCgRsYXp5GAUgASgIOgVmYWxzZVIEbGF6eRIlCgpkZXByZWNhdGVkGAMg' + 'ASgIOgVmYWxzZVIKZGVwcmVjYXRlZBIZCgR3ZWFrGAogASgIOgVmYWxzZVIEd2VhaxJYChR1bm' + 'ludGVycHJldGVkX29wdGlvbhjnByADKAsyJC5nb29nbGUucHJvdG9idWYuVW5pbnRlcnByZXRl' + 'ZE9wdGlvblITdW5pbnRlcnByZXRlZE9wdGlvbiIvCgVDVHlwZRIKCgZTVFJJTkcQABIICgRDT1' + 'JEEAESEAoMU1RSSU5HX1BJRUNFEAIiNQoGSlNUeXBlEg0KCUpTX05PUk1BTBAAEg0KCUpTX1NU' + 'UklORxABEg0KCUpTX05VTUJFUhACKgkI6AcQgICAgAJKBAgEEAU='); + +@$core.Deprecated('Use oneofOptionsDescriptor instead') +const OneofOptions$json = { + '1': 'OneofOptions', + '2': [ + {'1': 'uninterpreted_option', '3': 999, '4': 3, '5': 11, '6': '.google.protobuf.UninterpretedOption', '10': 'uninterpretedOption'}, + ], + '5': [ + {'1': 1000, '2': 536870912}, + ], +}; + +/// Descriptor for `OneofOptions`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List oneofOptionsDescriptor = $convert.base64Decode( + 'CgxPbmVvZk9wdGlvbnMSWAoUdW5pbnRlcnByZXRlZF9vcHRpb24Y5wcgAygLMiQuZ29vZ2xlLn' + 'Byb3RvYnVmLlVuaW50ZXJwcmV0ZWRPcHRpb25SE3VuaW50ZXJwcmV0ZWRPcHRpb24qCQjoBxCA' + 'gICAAg=='); + +@$core.Deprecated('Use enumOptionsDescriptor instead') +const EnumOptions$json = { + '1': 'EnumOptions', + '2': [ + {'1': 'allow_alias', '3': 2, '4': 1, '5': 8, '10': 'allowAlias'}, + {'1': 'deprecated', '3': 3, '4': 1, '5': 8, '7': 'false', '10': 'deprecated'}, + {'1': 'uninterpreted_option', '3': 999, '4': 3, '5': 11, '6': '.google.protobuf.UninterpretedOption', '10': 'uninterpretedOption'}, + ], + '5': [ + {'1': 1000, '2': 536870912}, + ], + '9': [ + {'1': 5, '2': 6}, + ], +}; + +/// Descriptor for `EnumOptions`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List enumOptionsDescriptor = $convert.base64Decode( + 'CgtFbnVtT3B0aW9ucxIfCgthbGxvd19hbGlhcxgCIAEoCFIKYWxsb3dBbGlhcxIlCgpkZXByZW' + 'NhdGVkGAMgASgIOgVmYWxzZVIKZGVwcmVjYXRlZBJYChR1bmludGVycHJldGVkX29wdGlvbhjn' + 'ByADKAsyJC5nb29nbGUucHJvdG9idWYuVW5pbnRlcnByZXRlZE9wdGlvblITdW5pbnRlcnByZX' + 'RlZE9wdGlvbioJCOgHEICAgIACSgQIBRAG'); + +@$core.Deprecated('Use enumValueOptionsDescriptor instead') +const EnumValueOptions$json = { + '1': 'EnumValueOptions', + '2': [ + {'1': 'deprecated', '3': 1, '4': 1, '5': 8, '7': 'false', '10': 'deprecated'}, + {'1': 'uninterpreted_option', '3': 999, '4': 3, '5': 11, '6': '.google.protobuf.UninterpretedOption', '10': 'uninterpretedOption'}, + ], + '5': [ + {'1': 1000, '2': 536870912}, + ], +}; + +/// Descriptor for `EnumValueOptions`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List enumValueOptionsDescriptor = $convert.base64Decode( + 'ChBFbnVtVmFsdWVPcHRpb25zEiUKCmRlcHJlY2F0ZWQYASABKAg6BWZhbHNlUgpkZXByZWNhdG' + 'VkElgKFHVuaW50ZXJwcmV0ZWRfb3B0aW9uGOcHIAMoCzIkLmdvb2dsZS5wcm90b2J1Zi5Vbmlu' + 'dGVycHJldGVkT3B0aW9uUhN1bmludGVycHJldGVkT3B0aW9uKgkI6AcQgICAgAI='); + +@$core.Deprecated('Use serviceOptionsDescriptor instead') +const ServiceOptions$json = { + '1': 'ServiceOptions', + '2': [ + {'1': 'deprecated', '3': 33, '4': 1, '5': 8, '7': 'false', '10': 'deprecated'}, + {'1': 'uninterpreted_option', '3': 999, '4': 3, '5': 11, '6': '.google.protobuf.UninterpretedOption', '10': 'uninterpretedOption'}, + ], + '5': [ + {'1': 1000, '2': 536870912}, + ], +}; + +/// Descriptor for `ServiceOptions`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List serviceOptionsDescriptor = $convert.base64Decode( + 'Cg5TZXJ2aWNlT3B0aW9ucxIlCgpkZXByZWNhdGVkGCEgASgIOgVmYWxzZVIKZGVwcmVjYXRlZB' + 'JYChR1bmludGVycHJldGVkX29wdGlvbhjnByADKAsyJC5nb29nbGUucHJvdG9idWYuVW5pbnRl' + 'cnByZXRlZE9wdGlvblITdW5pbnRlcnByZXRlZE9wdGlvbioJCOgHEICAgIAC'); + +@$core.Deprecated('Use methodOptionsDescriptor instead') +const MethodOptions$json = { + '1': 'MethodOptions', + '2': [ + {'1': 'deprecated', '3': 33, '4': 1, '5': 8, '7': 'false', '10': 'deprecated'}, + {'1': 'idempotency_level', '3': 34, '4': 1, '5': 14, '6': '.google.protobuf.MethodOptions.IdempotencyLevel', '7': 'IDEMPOTENCY_UNKNOWN', '10': 'idempotencyLevel'}, + {'1': 'uninterpreted_option', '3': 999, '4': 3, '5': 11, '6': '.google.protobuf.UninterpretedOption', '10': 'uninterpretedOption'}, + ], + '4': [MethodOptions_IdempotencyLevel$json], + '5': [ + {'1': 1000, '2': 536870912}, + ], +}; + +@$core.Deprecated('Use methodOptionsDescriptor instead') +const MethodOptions_IdempotencyLevel$json = { + '1': 'IdempotencyLevel', + '2': [ + {'1': 'IDEMPOTENCY_UNKNOWN', '2': 0}, + {'1': 'NO_SIDE_EFFECTS', '2': 1}, + {'1': 'IDEMPOTENT', '2': 2}, + ], +}; + +/// Descriptor for `MethodOptions`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List methodOptionsDescriptor = $convert.base64Decode( + 'Cg1NZXRob2RPcHRpb25zEiUKCmRlcHJlY2F0ZWQYISABKAg6BWZhbHNlUgpkZXByZWNhdGVkEn' + 'EKEWlkZW1wb3RlbmN5X2xldmVsGCIgASgOMi8uZ29vZ2xlLnByb3RvYnVmLk1ldGhvZE9wdGlv' + 'bnMuSWRlbXBvdGVuY3lMZXZlbDoTSURFTVBPVEVOQ1lfVU5LTk9XTlIQaWRlbXBvdGVuY3lMZX' + 'ZlbBJYChR1bmludGVycHJldGVkX29wdGlvbhjnByADKAsyJC5nb29nbGUucHJvdG9idWYuVW5p' + 'bnRlcnByZXRlZE9wdGlvblITdW5pbnRlcnByZXRlZE9wdGlvbiJQChBJZGVtcG90ZW5jeUxldm' + 'VsEhcKE0lERU1QT1RFTkNZX1VOS05PV04QABITCg9OT19TSURFX0VGRkVDVFMQARIOCgpJREVN' + 'UE9URU5UEAIqCQjoBxCAgICAAg=='); + +@$core.Deprecated('Use uninterpretedOptionDescriptor instead') +const UninterpretedOption$json = { + '1': 'UninterpretedOption', + '2': [ + {'1': 'name', '3': 2, '4': 3, '5': 11, '6': '.google.protobuf.UninterpretedOption.NamePart', '10': 'name'}, + {'1': 'identifier_value', '3': 3, '4': 1, '5': 9, '10': 'identifierValue'}, + {'1': 'positive_int_value', '3': 4, '4': 1, '5': 4, '10': 'positiveIntValue'}, + {'1': 'negative_int_value', '3': 5, '4': 1, '5': 3, '10': 'negativeIntValue'}, + {'1': 'double_value', '3': 6, '4': 1, '5': 1, '10': 'doubleValue'}, + {'1': 'string_value', '3': 7, '4': 1, '5': 12, '10': 'stringValue'}, + {'1': 'aggregate_value', '3': 8, '4': 1, '5': 9, '10': 'aggregateValue'}, + ], + '3': [UninterpretedOption_NamePart$json], +}; + +@$core.Deprecated('Use uninterpretedOptionDescriptor instead') +const UninterpretedOption_NamePart$json = { + '1': 'NamePart', + '2': [ + {'1': 'name_part', '3': 1, '4': 2, '5': 9, '10': 'namePart'}, + {'1': 'is_extension', '3': 2, '4': 2, '5': 8, '10': 'isExtension'}, + ], +}; + +/// Descriptor for `UninterpretedOption`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List uninterpretedOptionDescriptor = $convert.base64Decode( + 'ChNVbmludGVycHJldGVkT3B0aW9uEkEKBG5hbWUYAiADKAsyLS5nb29nbGUucHJvdG9idWYuVW' + '5pbnRlcnByZXRlZE9wdGlvbi5OYW1lUGFydFIEbmFtZRIpChBpZGVudGlmaWVyX3ZhbHVlGAMg' + 'ASgJUg9pZGVudGlmaWVyVmFsdWUSLAoScG9zaXRpdmVfaW50X3ZhbHVlGAQgASgEUhBwb3NpdG' + 'l2ZUludFZhbHVlEiwKEm5lZ2F0aXZlX2ludF92YWx1ZRgFIAEoA1IQbmVnYXRpdmVJbnRWYWx1' + 'ZRIhCgxkb3VibGVfdmFsdWUYBiABKAFSC2RvdWJsZVZhbHVlEiEKDHN0cmluZ192YWx1ZRgHIA' + 'EoDFILc3RyaW5nVmFsdWUSJwoPYWdncmVnYXRlX3ZhbHVlGAggASgJUg5hZ2dyZWdhdGVWYWx1' + 'ZRpKCghOYW1lUGFydBIbCgluYW1lX3BhcnQYASACKAlSCG5hbWVQYXJ0EiEKDGlzX2V4dGVuc2' + 'lvbhgCIAIoCFILaXNFeHRlbnNpb24='); + +@$core.Deprecated('Use sourceCodeInfoDescriptor instead') +const SourceCodeInfo$json = { + '1': 'SourceCodeInfo', + '2': [ + {'1': 'location', '3': 1, '4': 3, '5': 11, '6': '.google.protobuf.SourceCodeInfo.Location', '10': 'location'}, + ], + '3': [SourceCodeInfo_Location$json], +}; + +@$core.Deprecated('Use sourceCodeInfoDescriptor instead') +const SourceCodeInfo_Location$json = { + '1': 'Location', + '2': [ + { + '1': 'path', + '3': 1, + '4': 3, + '5': 5, + '8': {'2': true}, + '10': 'path', + }, + { + '1': 'span', + '3': 2, + '4': 3, + '5': 5, + '8': {'2': true}, + '10': 'span', + }, + {'1': 'leading_comments', '3': 3, '4': 1, '5': 9, '10': 'leadingComments'}, + {'1': 'trailing_comments', '3': 4, '4': 1, '5': 9, '10': 'trailingComments'}, + {'1': 'leading_detached_comments', '3': 6, '4': 3, '5': 9, '10': 'leadingDetachedComments'}, + ], +}; + +/// Descriptor for `SourceCodeInfo`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List sourceCodeInfoDescriptor = $convert.base64Decode( + 'Cg5Tb3VyY2VDb2RlSW5mbxJECghsb2NhdGlvbhgBIAMoCzIoLmdvb2dsZS5wcm90b2J1Zi5Tb3' + 'VyY2VDb2RlSW5mby5Mb2NhdGlvblIIbG9jYXRpb24azgEKCExvY2F0aW9uEhYKBHBhdGgYASAD' + 'KAVCAhABUgRwYXRoEhYKBHNwYW4YAiADKAVCAhABUgRzcGFuEikKEGxlYWRpbmdfY29tbWVudH' + 'MYAyABKAlSD2xlYWRpbmdDb21tZW50cxIrChF0cmFpbGluZ19jb21tZW50cxgEIAEoCVIQdHJh' + 'aWxpbmdDb21tZW50cxI6ChlsZWFkaW5nX2RldGFjaGVkX2NvbW1lbnRzGAYgAygJUhdsZWFkaW' + '5nRGV0YWNoZWRDb21tZW50cw=='); + +@$core.Deprecated('Use generatedCodeInfoDescriptor instead') +const GeneratedCodeInfo$json = { + '1': 'GeneratedCodeInfo', + '2': [ + {'1': 'annotation', '3': 1, '4': 3, '5': 11, '6': '.google.protobuf.GeneratedCodeInfo.Annotation', '10': 'annotation'}, + ], + '3': [GeneratedCodeInfo_Annotation$json], +}; + +@$core.Deprecated('Use generatedCodeInfoDescriptor instead') +const GeneratedCodeInfo_Annotation$json = { + '1': 'Annotation', + '2': [ + { + '1': 'path', + '3': 1, + '4': 3, + '5': 5, + '8': {'2': true}, + '10': 'path', + }, + {'1': 'source_file', '3': 2, '4': 1, '5': 9, '10': 'sourceFile'}, + {'1': 'begin', '3': 3, '4': 1, '5': 5, '10': 'begin'}, + {'1': 'end', '3': 4, '4': 1, '5': 5, '10': 'end'}, + ], +}; + +/// Descriptor for `GeneratedCodeInfo`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List generatedCodeInfoDescriptor = $convert.base64Decode( + 'ChFHZW5lcmF0ZWRDb2RlSW5mbxJNCgphbm5vdGF0aW9uGAEgAygLMi0uZ29vZ2xlLnByb3RvYn' + 'VmLkdlbmVyYXRlZENvZGVJbmZvLkFubm90YXRpb25SCmFubm90YXRpb24abQoKQW5ub3RhdGlv' + 'bhIWCgRwYXRoGAEgAygFQgIQAVIEcGF0aBIfCgtzb3VyY2VfZmlsZRgCIAEoCVIKc291cmNlRm' + 'lsZRIUCgViZWdpbhgDIAEoBVIFYmVnaW4SEAoDZW5kGAQgASgFUgNlbmQ='); + diff --git a/lib/google/protobuf/duration.pb.dart b/lib/google/protobuf/duration.pb.dart new file mode 100644 index 0000000..622c92d --- /dev/null +++ b/lib/google/protobuf/duration.pb.dart @@ -0,0 +1,151 @@ +// +// Generated code. Do not modify. +// source: google/protobuf/duration.proto +// +// @dart = 2.12 + +// ignore_for_file: annotate_overrides, camel_case_types, comment_references +// ignore_for_file: constant_identifier_names, library_prefixes +// ignore_for_file: non_constant_identifier_names, prefer_final_fields +// ignore_for_file: unnecessary_import, unnecessary_this, unused_import + +import 'dart:core' as $core; + +import 'package:fixnum/fixnum.dart' as $fixnum; +import 'package:protobuf/protobuf.dart' as $pb; +import 'package:protobuf/src/protobuf/mixins/well_known.dart' as $mixin; + +/// A Duration represents a signed, fixed-length span of time represented +/// as a count of seconds and fractions of seconds at nanosecond +/// resolution. It is independent of any calendar and concepts like "day" +/// 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 +/// from a Timestamp. Range is approximately +-10,000 years. +/// +/// # Examples +/// +/// Example 1: Compute Duration from two Timestamps in pseudo code. +/// +/// Timestamp start = ...; +/// Timestamp end = ...; +/// Duration duration = ...; +/// +/// duration.seconds = end.seconds - start.seconds; +/// duration.nanos = end.nanos - start.nanos; +/// +/// if (duration.seconds < 0 && duration.nanos > 0) { +/// duration.seconds += 1; +/// duration.nanos -= 1000000000; +/// } else if (duration.seconds > 0 && duration.nanos < 0) { +/// duration.seconds -= 1; +/// duration.nanos += 1000000000; +/// } +/// +/// Example 2: Compute Timestamp from Timestamp + Duration in pseudo code. +/// +/// Timestamp start = ...; +/// Duration duration = ...; +/// Timestamp end = ...; +/// +/// end.seconds = start.seconds + duration.seconds; +/// end.nanos = start.nanos + duration.nanos; +/// +/// if (end.nanos < 0) { +/// end.seconds -= 1; +/// end.nanos += 1000000000; +/// } else if (end.nanos >= 1000000000) { +/// end.seconds += 1; +/// end.nanos -= 1000000000; +/// } +/// +/// Example 3: Compute Duration from datetime.timedelta in Python. +/// +/// td = datetime.timedelta(days=3, minutes=10) +/// duration = Duration() +/// duration.FromTimedelta(td) +/// +/// # JSON Mapping +/// +/// 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 +/// is preceded by the number of seconds, with nanoseconds expressed as +/// fractional seconds. For example, 3 seconds with 0 nanoseconds should be +/// 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 +/// microsecond should be expressed in JSON format as "3.000001s". +class Duration extends $pb.GeneratedMessage with $mixin.DurationMixin { + factory Duration({ + $fixnum.Int64? seconds, + $core.int? nanos, + }) { + final $result = create(); + if (seconds != null) { + $result.seconds = seconds; + } + 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); + factory Duration.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + 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') + ..a<$core.int>(2, _omitFieldNames ? '' : 'nanos', $pb.PbFieldType.O3) + ..hasRequiredFields = false + ; + + @$core.Deprecated( + '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); + @$core.Deprecated( + '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; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static Duration create() => Duration._(); + Duration createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static Duration getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static Duration? _defaultInstance; + + /// Signed seconds of the span of time. Must be from -315,576,000,000 + /// to +315,576,000,000 inclusive. Note: these bounds are computed from: + /// 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years + @$pb.TagNumber(1) + $fixnum.Int64 get seconds => $_getI64(0); + @$pb.TagNumber(1) + set seconds($fixnum.Int64 v) { $_setInt64(0, v); } + @$pb.TagNumber(1) + $core.bool hasSeconds() => $_has(0); + @$pb.TagNumber(1) + void clearSeconds() => clearField(1); + + /// Signed fractions of a second at nanosecond resolution of the span + /// of time. Durations less than one second are represented with a 0 + /// `seconds` field and a positive or negative `nanos` field. For durations + /// of one second or more, a non-zero value for the `nanos` field must be + /// of the same sign as the `seconds` field. Must be from -999,999,999 + /// to +999,999,999 inclusive. + @$pb.TagNumber(2) + $core.int get nanos => $_getIZ(1); + @$pb.TagNumber(2) + set nanos($core.int v) { $_setSignedInt32(1, v); } + @$pb.TagNumber(2) + $core.bool hasNanos() => $_has(1); + @$pb.TagNumber(2) + void clearNanos() => clearField(2); +} + + +const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); +const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/google/protobuf/duration.pbenum.dart b/lib/google/protobuf/duration.pbenum.dart new file mode 100644 index 0000000..403b010 --- /dev/null +++ b/lib/google/protobuf/duration.pbenum.dart @@ -0,0 +1,11 @@ +// +// Generated code. Do not modify. +// source: google/protobuf/duration.proto +// +// @dart = 2.12 + +// ignore_for_file: annotate_overrides, camel_case_types, comment_references +// ignore_for_file: constant_identifier_names, library_prefixes +// ignore_for_file: non_constant_identifier_names, prefer_final_fields +// ignore_for_file: unnecessary_import, unnecessary_this, unused_import + diff --git a/lib/google/protobuf/duration.pbjson.dart b/lib/google/protobuf/duration.pbjson.dart new file mode 100644 index 0000000..aacca43 --- /dev/null +++ b/lib/google/protobuf/duration.pbjson.dart @@ -0,0 +1,29 @@ +// +// Generated code. Do not modify. +// source: google/protobuf/duration.proto +// +// @dart = 2.12 + +// ignore_for_file: annotate_overrides, camel_case_types, comment_references +// ignore_for_file: constant_identifier_names, library_prefixes +// ignore_for_file: non_constant_identifier_names, prefer_final_fields +// ignore_for_file: unnecessary_import, unnecessary_this, unused_import + +import 'dart:convert' as $convert; +import 'dart:core' as $core; +import 'dart:typed_data' as $typed_data; + +@$core.Deprecated('Use durationDescriptor instead') +const Duration$json = { + '1': 'Duration', + '2': [ + {'1': 'seconds', '3': 1, '4': 1, '5': 3, '10': 'seconds'}, + {'1': 'nanos', '3': 2, '4': 1, '5': 5, '10': 'nanos'}, + ], +}; + +/// Descriptor for `Duration`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List durationDescriptor = $convert.base64Decode( + 'CghEdXJhdGlvbhIYCgdzZWNvbmRzGAEgASgDUgdzZWNvbmRzEhQKBW5hbm9zGAIgASgFUgVuYW' + '5vcw=='); + diff --git a/lib/google/protobuf/empty.pb.dart b/lib/google/protobuf/empty.pb.dart new file mode 100644 index 0000000..fb65fac --- /dev/null +++ b/lib/google/protobuf/empty.pb.dart @@ -0,0 +1,58 @@ +// +// Generated code. Do not modify. +// source: google/protobuf/empty.proto +// +// @dart = 2.12 + +// ignore_for_file: annotate_overrides, camel_case_types, comment_references +// ignore_for_file: constant_identifier_names, library_prefixes +// ignore_for_file: non_constant_identifier_names, prefer_final_fields +// ignore_for_file: unnecessary_import, unnecessary_this, unused_import + +import 'dart:core' as $core; + +import 'package:protobuf/protobuf.dart' as $pb; + +/// 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 +/// or the response type of an API method. For instance: +/// +/// service Foo { +/// rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); +/// } +/// +/// The JSON representation for `Empty` is empty JSON object `{}`. +class Empty extends $pb.GeneratedMessage { + factory Empty() => create(); + Empty._() : super(); + factory Empty.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory Empty.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Empty', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create) + ..hasRequiredFields = false + ; + + @$core.Deprecated( + '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); + @$core.Deprecated( + '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; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static Empty create() => Empty._(); + Empty createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static Empty getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static Empty? _defaultInstance; +} + + +const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/google/protobuf/empty.pbenum.dart b/lib/google/protobuf/empty.pbenum.dart new file mode 100644 index 0000000..510bac1 --- /dev/null +++ b/lib/google/protobuf/empty.pbenum.dart @@ -0,0 +1,11 @@ +// +// Generated code. Do not modify. +// source: google/protobuf/empty.proto +// +// @dart = 2.12 + +// ignore_for_file: annotate_overrides, camel_case_types, comment_references +// ignore_for_file: constant_identifier_names, library_prefixes +// ignore_for_file: non_constant_identifier_names, prefer_final_fields +// ignore_for_file: unnecessary_import, unnecessary_this, unused_import + diff --git a/lib/google/protobuf/empty.pbjson.dart b/lib/google/protobuf/empty.pbjson.dart new file mode 100644 index 0000000..c7245b6 --- /dev/null +++ b/lib/google/protobuf/empty.pbjson.dart @@ -0,0 +1,24 @@ +// +// Generated code. Do not modify. +// source: google/protobuf/empty.proto +// +// @dart = 2.12 + +// ignore_for_file: annotate_overrides, camel_case_types, comment_references +// ignore_for_file: constant_identifier_names, library_prefixes +// ignore_for_file: non_constant_identifier_names, prefer_final_fields +// ignore_for_file: unnecessary_import, unnecessary_this, unused_import + +import 'dart:convert' as $convert; +import 'dart:core' as $core; +import 'dart:typed_data' as $typed_data; + +@$core.Deprecated('Use emptyDescriptor instead') +const Empty$json = { + '1': 'Empty', +}; + +/// Descriptor for `Empty`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List emptyDescriptor = $convert.base64Decode( + 'CgVFbXB0eQ=='); + diff --git a/lib/google/protobuf/field_mask.pb.dart b/lib/google/protobuf/field_mask.pb.dart new file mode 100644 index 0000000..12037c6 --- /dev/null +++ b/lib/google/protobuf/field_mask.pb.dart @@ -0,0 +1,263 @@ +// +// Generated code. Do not modify. +// source: google/protobuf/field_mask.proto +// +// @dart = 2.12 + +// ignore_for_file: annotate_overrides, camel_case_types, comment_references +// ignore_for_file: constant_identifier_names, library_prefixes +// ignore_for_file: non_constant_identifier_names, prefer_final_fields +// ignore_for_file: unnecessary_import, unnecessary_this, unused_import + +import 'dart:core' as $core; + +import 'package:protobuf/protobuf.dart' as $pb; +import 'package:protobuf/src/protobuf/mixins/well_known.dart' as $mixin; + +/// `FieldMask` represents a set of symbolic field paths, for example: +/// +/// paths: "f.a" +/// paths: "f.b.d" +/// +/// 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 +/// message in `f.b`. +/// +/// Field masks are used to specify a subset of fields that should be +/// returned by a get operation or modified by an update operation. +/// Field masks also have a custom JSON encoding (see below). +/// +/// # Field Masks in Projections +/// +/// 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 +/// specified in the mask. For example, if the mask in the previous +/// example is applied to a response message as follows: +/// +/// f { +/// a : 22 +/// b { +/// d : 1 +/// x : 2 +/// } +/// y : 13 +/// } +/// z: 8 +/// +/// 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 +/// output): +/// +/// +/// f { +/// a : 22 +/// b { +/// d : 1 +/// } +/// } +/// +/// A repeated field is not allowed except at the last position of a +/// paths string. +/// +/// If a FieldMask object is not present in a get operation, the +/// operation applies to all fields (as if a FieldMask of all fields +/// had been specified). +/// +/// Note that a field mask does not necessarily apply to 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 +/// list operation, the mask instead applies to each individual message +/// in the returned resource list. In case of a REST custom method, +/// other definitions may be used. Where the mask applies will be +/// clearly documented together with its declaration in the API. In +/// any case, the effect on the returned resource/resources is required +/// behavior for APIs. +/// +/// # Field Masks in Update Operations +/// +/// A field mask in update operations specifies which fields of the +/// targeted resource are going to be updated. The API is required +/// 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 +/// describe the updated values, the API ignores the values of all +/// fields not covered by the mask. +/// +/// 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 +/// 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 +/// update operation, then new value will be merged into the existing sub-message +/// in the target resource. +/// +/// For example, given the target message: +/// +/// f { +/// b { +/// d: 1 +/// x: 2 +/// } +/// c: [1] +/// } +/// +/// And an update message: +/// +/// f { +/// b { +/// d: 10 +/// } +/// c: [2] +/// } +/// +/// then if the field mask is: +/// +/// paths: ["f.b", "f.c"] +/// +/// then the result will be: +/// +/// f { +/// b { +/// d: 10 +/// x: 2 +/// } +/// c: [1, 2] +/// } +/// +/// An implementation may provide options to override this default behavior for +/// repeated and message fields. +/// +/// 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. +/// 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 +/// not provide a mask as described below. +/// +/// 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). +/// Note that in the presence of schema evolution, this may mean that +/// fields the client does not know and has therefore not filled into +/// the request will be reset to their default. If this is unwanted +/// behavior, a specific service may require a client to always specify +/// a field mask, producing an error if not. +/// +/// As with get operations, the location of the resource which +/// describes the updated values in the request message depends on the +/// operation kind. In any case, the effect of the field mask is +/// required to be honored by the API. +/// +/// ## Considerations for HTTP REST +/// +/// 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 +/// (PUT must only be used for full updates). +/// +/// # JSON Encoding of Field Masks +/// +/// 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 +/// to/from lower-camel naming conventions. +/// +/// As an example, consider the following message declarations: +/// +/// message Profile { +/// User user = 1; +/// Photo photo = 2; +/// } +/// message User { +/// string display_name = 1; +/// string address = 2; +/// } +/// +/// In proto a field mask for `Profile` may look as such: +/// +/// mask { +/// paths: "user.display_name" +/// paths: "photo" +/// } +/// +/// In JSON, the same mask is represented as below: +/// +/// { +/// mask: "user.displayName,photo" +/// } +/// +/// # Field Masks and Oneof Fields +/// +/// Field masks treat fields in oneofs just as regular fields. Consider the +/// following message: +/// +/// message SampleMessage { +/// oneof test_oneof { +/// string name = 4; +/// SubMessage sub_message = 9; +/// } +/// } +/// +/// The field mask can be: +/// +/// mask { +/// paths: "name" +/// } +/// +/// Or: +/// +/// mask { +/// paths: "sub_message" +/// } +/// +/// Note that oneof type names ("test_oneof" in this case) cannot be used in +/// paths. +/// +/// ## Field Mask Verification +/// +/// The implementation of any API method which has a FieldMask type field in the +/// request should verify the included field paths, and return an +/// `INVALID_ARGUMENT` error if any path is unmappable. +class FieldMask extends $pb.GeneratedMessage with $mixin.FieldMaskMixin { + factory FieldMask({ + $core.Iterable<$core.String>? paths, + }) { + final $result = create(); + if (paths != null) { + $result.paths.addAll(paths); + } + return $result; + } + FieldMask._() : super(); + factory FieldMask.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory FieldMask.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + 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') + ..hasRequiredFields = false + ; + + @$core.Deprecated( + '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); + @$core.Deprecated( + '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; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static FieldMask create() => FieldMask._(); + FieldMask createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static FieldMask getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static FieldMask? _defaultInstance; + + /// The set of field mask paths. + @$pb.TagNumber(1) + $core.List<$core.String> get paths => $_getList(0); +} + + +const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); +const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/google/protobuf/field_mask.pbenum.dart b/lib/google/protobuf/field_mask.pbenum.dart new file mode 100644 index 0000000..97d02b5 --- /dev/null +++ b/lib/google/protobuf/field_mask.pbenum.dart @@ -0,0 +1,11 @@ +// +// Generated code. Do not modify. +// source: google/protobuf/field_mask.proto +// +// @dart = 2.12 + +// ignore_for_file: annotate_overrides, camel_case_types, comment_references +// ignore_for_file: constant_identifier_names, library_prefixes +// ignore_for_file: non_constant_identifier_names, prefer_final_fields +// ignore_for_file: unnecessary_import, unnecessary_this, unused_import + diff --git a/lib/google/protobuf/field_mask.pbjson.dart b/lib/google/protobuf/field_mask.pbjson.dart new file mode 100644 index 0000000..cc50b08 --- /dev/null +++ b/lib/google/protobuf/field_mask.pbjson.dart @@ -0,0 +1,27 @@ +// +// Generated code. Do not modify. +// source: google/protobuf/field_mask.proto +// +// @dart = 2.12 + +// ignore_for_file: annotate_overrides, camel_case_types, comment_references +// ignore_for_file: constant_identifier_names, library_prefixes +// ignore_for_file: non_constant_identifier_names, prefer_final_fields +// ignore_for_file: unnecessary_import, unnecessary_this, unused_import + +import 'dart:convert' as $convert; +import 'dart:core' as $core; +import 'dart:typed_data' as $typed_data; + +@$core.Deprecated('Use fieldMaskDescriptor instead') +const FieldMask$json = { + '1': 'FieldMask', + '2': [ + {'1': 'paths', '3': 1, '4': 3, '5': 9, '10': 'paths'}, + ], +}; + +/// Descriptor for `FieldMask`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List fieldMaskDescriptor = $convert.base64Decode( + 'CglGaWVsZE1hc2sSFAoFcGF0aHMYASADKAlSBXBhdGhz'); + diff --git a/lib/google/protobuf/source_context.pb.dart b/lib/google/protobuf/source_context.pb.dart new file mode 100644 index 0000000..423ce59 --- /dev/null +++ b/lib/google/protobuf/source_context.pb.dart @@ -0,0 +1,72 @@ +// +// Generated code. Do not modify. +// source: google/protobuf/source_context.proto +// +// @dart = 2.12 + +// ignore_for_file: annotate_overrides, camel_case_types, comment_references +// ignore_for_file: constant_identifier_names, library_prefixes +// ignore_for_file: non_constant_identifier_names, prefer_final_fields +// ignore_for_file: unnecessary_import, unnecessary_this, unused_import + +import 'dart:core' as $core; + +import 'package:protobuf/protobuf.dart' as $pb; + +/// `SourceContext` represents information about the source of a +/// protobuf element, like the file in which it is defined. +class SourceContext extends $pb.GeneratedMessage { + factory SourceContext({ + $core.String? fileName, + }) { + final $result = create(); + if (fileName != null) { + $result.fileName = fileName; + } + return $result; + } + SourceContext._() : super(); + factory SourceContext.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory SourceContext.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SourceContext', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'fileName') + ..hasRequiredFields = false + ; + + @$core.Deprecated( + '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); + @$core.Deprecated( + '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; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static SourceContext create() => SourceContext._(); + SourceContext createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static SourceContext getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static SourceContext? _defaultInstance; + + /// The path-qualified name of the .proto file that contained the associated + /// protobuf element. For example: `"google/protobuf/source_context.proto"`. + @$pb.TagNumber(1) + $core.String get fileName => $_getSZ(0); + @$pb.TagNumber(1) + set fileName($core.String v) { $_setString(0, v); } + @$pb.TagNumber(1) + $core.bool hasFileName() => $_has(0); + @$pb.TagNumber(1) + void clearFileName() => clearField(1); +} + + +const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); +const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/google/protobuf/source_context.pbenum.dart b/lib/google/protobuf/source_context.pbenum.dart new file mode 100644 index 0000000..ed40a1a --- /dev/null +++ b/lib/google/protobuf/source_context.pbenum.dart @@ -0,0 +1,11 @@ +// +// Generated code. Do not modify. +// source: google/protobuf/source_context.proto +// +// @dart = 2.12 + +// ignore_for_file: annotate_overrides, camel_case_types, comment_references +// ignore_for_file: constant_identifier_names, library_prefixes +// ignore_for_file: non_constant_identifier_names, prefer_final_fields +// ignore_for_file: unnecessary_import, unnecessary_this, unused_import + diff --git a/lib/google/protobuf/source_context.pbjson.dart b/lib/google/protobuf/source_context.pbjson.dart new file mode 100644 index 0000000..998760d --- /dev/null +++ b/lib/google/protobuf/source_context.pbjson.dart @@ -0,0 +1,27 @@ +// +// Generated code. Do not modify. +// source: google/protobuf/source_context.proto +// +// @dart = 2.12 + +// ignore_for_file: annotate_overrides, camel_case_types, comment_references +// ignore_for_file: constant_identifier_names, library_prefixes +// ignore_for_file: non_constant_identifier_names, prefer_final_fields +// ignore_for_file: unnecessary_import, unnecessary_this, unused_import + +import 'dart:convert' as $convert; +import 'dart:core' as $core; +import 'dart:typed_data' as $typed_data; + +@$core.Deprecated('Use sourceContextDescriptor instead') +const SourceContext$json = { + '1': 'SourceContext', + '2': [ + {'1': 'file_name', '3': 1, '4': 1, '5': 9, '10': 'fileName'}, + ], +}; + +/// Descriptor for `SourceContext`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List sourceContextDescriptor = $convert.base64Decode( + 'Cg1Tb3VyY2VDb250ZXh0EhsKCWZpbGVfbmFtZRgBIAEoCVIIZmlsZU5hbWU='); + diff --git a/lib/google/protobuf/struct.pb.dart b/lib/google/protobuf/struct.pb.dart new file mode 100644 index 0000000..07935dd --- /dev/null +++ b/lib/google/protobuf/struct.pb.dart @@ -0,0 +1,283 @@ +// +// Generated code. Do not modify. +// source: google/protobuf/struct.proto +// +// @dart = 2.12 + +// ignore_for_file: annotate_overrides, camel_case_types, comment_references +// ignore_for_file: constant_identifier_names, library_prefixes +// ignore_for_file: non_constant_identifier_names, prefer_final_fields +// ignore_for_file: unnecessary_import, unnecessary_this, unused_import + +import 'dart:core' as $core; + +import 'package:protobuf/protobuf.dart' as $pb; +import 'package:protobuf/src/protobuf/mixins/well_known.dart' as $mixin; + +import 'struct.pbenum.dart'; + +export 'struct.pbenum.dart'; + +/// `Struct` represents a structured data value, consisting of fields +/// which map to dynamically typed values. In some languages, `Struct` +/// might be supported by a native representation. For example, in +/// scripting languages like JS a struct is represented as an +/// object. The details of that representation are described together +/// with the proto support for the language. +/// +/// The JSON representation for `Struct` is JSON object. +class Struct extends $pb.GeneratedMessage with $mixin.StructMixin { + factory Struct({ + $core.Map<$core.String, Value>? fields, + }) { + final $result = create(); + if (fields != null) { + $result.fields.addAll(fields); + } + return $result; + } + Struct._() : super(); + factory Struct.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory Struct.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + 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')) + ..hasRequiredFields = false + ; + + @$core.Deprecated( + '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); + @$core.Deprecated( + '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; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static Struct create() => Struct._(); + Struct createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static Struct getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static Struct? _defaultInstance; + + /// Unordered map of dynamically typed values. + @$pb.TagNumber(1) + $core.Map<$core.String, Value> get fields => $_getMap(0); +} + +enum Value_Kind { + nullValue, + numberValue, + stringValue, + boolValue, + structValue, + listValue, + notSet +} + +/// `Value` represents a dynamically typed value which can be either +/// 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 +/// variants, absence of any variant indicates an error. +/// +/// The JSON representation for `Value` is JSON value. +class Value extends $pb.GeneratedMessage with $mixin.ValueMixin { + factory Value({ + NullValue? nullValue, + $core.double? numberValue, + $core.String? stringValue, + $core.bool? boolValue, + Struct? structValue, + ListValue? listValue, + }) { + final $result = create(); + if (nullValue != null) { + $result.nullValue = nullValue; + } + if (numberValue != null) { + $result.numberValue = numberValue; + } + if (stringValue != null) { + $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); + factory Value.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static const $core.Map<$core.int, Value_Kind> _Value_KindByTag = { + 1 : Value_Kind.nullValue, + 2 : Value_Kind.numberValue, + 3 : Value_Kind.stringValue, + 4 : Value_Kind.boolValue, + 5 : Value_Kind.structValue, + 6 : Value_Kind.listValue, + 0 : Value_Kind.notSet + }; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Value', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create, toProto3Json: $mixin.ValueMixin.toProto3JsonHelper, fromProto3Json: $mixin.ValueMixin.fromProto3JsonHelper) + ..oo(0, [1, 2, 3, 4, 5, 6]) + ..e(1, _omitFieldNames ? '' : 'nullValue', $pb.PbFieldType.OE, defaultOrMaker: NullValue.NULL_VALUE, valueOf: NullValue.valueOf, enumValues: NullValue.values) + ..a<$core.double>(2, _omitFieldNames ? '' : 'numberValue', $pb.PbFieldType.OD) + ..aOS(3, _omitFieldNames ? '' : 'stringValue') + ..aOB(4, _omitFieldNames ? '' : 'boolValue') + ..aOM(5, _omitFieldNames ? '' : 'structValue', subBuilder: Struct.create) + ..aOM(6, _omitFieldNames ? '' : 'listValue', subBuilder: ListValue.create) + ..hasRequiredFields = false + ; + + @$core.Deprecated( + '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); + @$core.Deprecated( + '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; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static Value create() => Value._(); + Value createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static Value getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static Value? _defaultInstance; + + Value_Kind whichKind() => _Value_KindByTag[$_whichOneof(0)]!; + void clearKind() => clearField($_whichOneof(0)); + + /// Represents a null value. + @$pb.TagNumber(1) + NullValue get nullValue => $_getN(0); + @$pb.TagNumber(1) + set nullValue(NullValue v) { setField(1, v); } + @$pb.TagNumber(1) + $core.bool hasNullValue() => $_has(0); + @$pb.TagNumber(1) + void clearNullValue() => clearField(1); + + /// Represents a double value. + @$pb.TagNumber(2) + $core.double get numberValue => $_getN(1); + @$pb.TagNumber(2) + set numberValue($core.double v) { $_setDouble(1, v); } + @$pb.TagNumber(2) + $core.bool hasNumberValue() => $_has(1); + @$pb.TagNumber(2) + void clearNumberValue() => clearField(2); + + /// Represents a string value. + @$pb.TagNumber(3) + $core.String get stringValue => $_getSZ(2); + @$pb.TagNumber(3) + set stringValue($core.String v) { $_setString(2, v); } + @$pb.TagNumber(3) + $core.bool hasStringValue() => $_has(2); + @$pb.TagNumber(3) + void clearStringValue() => clearField(3); + + /// Represents a boolean value. + @$pb.TagNumber(4) + $core.bool get boolValue => $_getBF(3); + @$pb.TagNumber(4) + set boolValue($core.bool v) { $_setBool(3, v); } + @$pb.TagNumber(4) + $core.bool hasBoolValue() => $_has(3); + @$pb.TagNumber(4) + void clearBoolValue() => clearField(4); + + /// Represents a structured value. + @$pb.TagNumber(5) + Struct get structValue => $_getN(4); + @$pb.TagNumber(5) + set structValue(Struct v) { setField(5, v); } + @$pb.TagNumber(5) + $core.bool hasStructValue() => $_has(4); + @$pb.TagNumber(5) + void clearStructValue() => clearField(5); + @$pb.TagNumber(5) + Struct ensureStructValue() => $_ensure(4); + + /// Represents a repeated `Value`. + @$pb.TagNumber(6) + ListValue get listValue => $_getN(5); + @$pb.TagNumber(6) + set listValue(ListValue v) { setField(6, v); } + @$pb.TagNumber(6) + $core.bool hasListValue() => $_has(5); + @$pb.TagNumber(6) + void clearListValue() => clearField(6); + @$pb.TagNumber(6) + ListValue ensureListValue() => $_ensure(5); +} + +/// `ListValue` is a wrapper around a repeated field of values. +/// +/// The JSON representation for `ListValue` is JSON array. +class ListValue extends $pb.GeneratedMessage with $mixin.ListValueMixin { + factory ListValue({ + $core.Iterable? values, + }) { + final $result = create(); + if (values != null) { + $result.values.addAll(values); + } + return $result; + } + ListValue._() : super(); + factory ListValue.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory ListValue.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + 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(1, _omitFieldNames ? '' : 'values', $pb.PbFieldType.PM, subBuilder: Value.create) + ..hasRequiredFields = false + ; + + @$core.Deprecated( + '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); + @$core.Deprecated( + '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; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static ListValue create() => ListValue._(); + ListValue createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static ListValue getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static ListValue? _defaultInstance; + + /// Repeated field of dynamically typed values. + @$pb.TagNumber(1) + $core.List get values => $_getList(0); +} + + +const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); +const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/google/protobuf/struct.pbenum.dart b/lib/google/protobuf/struct.pbenum.dart new file mode 100644 index 0000000..4402b34 --- /dev/null +++ b/lib/google/protobuf/struct.pbenum.dart @@ -0,0 +1,34 @@ +// +// Generated code. Do not modify. +// source: google/protobuf/struct.proto +// +// @dart = 2.12 + +// ignore_for_file: annotate_overrides, camel_case_types, comment_references +// ignore_for_file: constant_identifier_names, library_prefixes +// ignore_for_file: non_constant_identifier_names, prefer_final_fields +// ignore_for_file: unnecessary_import, unnecessary_this, unused_import + +import 'dart:core' as $core; + +import 'package:protobuf/protobuf.dart' as $pb; + +/// `NullValue` is a singleton enumeration to represent the null value for the +/// `Value` type union. +/// +/// The JSON representation for `NullValue` is JSON `null`. +class NullValue extends $pb.ProtobufEnum { + static const NullValue NULL_VALUE = NullValue._(0, _omitEnumNames ? '' : 'NULL_VALUE'); + + static const $core.List values = [ + NULL_VALUE, + ]; + + static final $core.Map<$core.int, NullValue> _byValue = $pb.ProtobufEnum.initByValue(values); + static NullValue? valueOf($core.int value) => _byValue[value]; + + const NullValue._($core.int v, $core.String n) : super(v, n); +} + + +const _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names'); diff --git a/lib/google/protobuf/struct.pbjson.dart b/lib/google/protobuf/struct.pbjson.dart new file mode 100644 index 0000000..ffa25fa --- /dev/null +++ b/lib/google/protobuf/struct.pbjson.dart @@ -0,0 +1,90 @@ +// +// Generated code. Do not modify. +// source: google/protobuf/struct.proto +// +// @dart = 2.12 + +// ignore_for_file: annotate_overrides, camel_case_types, comment_references +// ignore_for_file: constant_identifier_names, library_prefixes +// ignore_for_file: non_constant_identifier_names, prefer_final_fields +// ignore_for_file: unnecessary_import, unnecessary_this, unused_import + +import 'dart:convert' as $convert; +import 'dart:core' as $core; +import 'dart:typed_data' as $typed_data; + +@$core.Deprecated('Use nullValueDescriptor instead') +const NullValue$json = { + '1': 'NullValue', + '2': [ + {'1': 'NULL_VALUE', '2': 0}, + ], +}; + +/// Descriptor for `NullValue`. Decode as a `google.protobuf.EnumDescriptorProto`. +final $typed_data.Uint8List nullValueDescriptor = $convert.base64Decode( + 'CglOdWxsVmFsdWUSDgoKTlVMTF9WQUxVRRAA'); + +@$core.Deprecated('Use structDescriptor instead') +const Struct$json = { + '1': 'Struct', + '2': [ + {'1': 'fields', '3': 1, '4': 3, '5': 11, '6': '.google.protobuf.Struct.FieldsEntry', '10': 'fields'}, + ], + '3': [Struct_FieldsEntry$json], +}; + +@$core.Deprecated('Use structDescriptor instead') +const Struct_FieldsEntry$json = { + '1': 'FieldsEntry', + '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 `Struct`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List structDescriptor = $convert.base64Decode( + 'CgZTdHJ1Y3QSOwoGZmllbGRzGAEgAygLMiMuZ29vZ2xlLnByb3RvYnVmLlN0cnVjdC5GaWVsZH' + 'NFbnRyeVIGZmllbGRzGlEKC0ZpZWxkc0VudHJ5EhAKA2tleRgBIAEoCVIDa2V5EiwKBXZhbHVl' + 'GAIgASgLMhYuZ29vZ2xlLnByb3RvYnVmLlZhbHVlUgV2YWx1ZToCOAE='); + +@$core.Deprecated('Use valueDescriptor instead') +const Value$json = { + '1': 'Value', + '2': [ + {'1': 'null_value', '3': 1, '4': 1, '5': 14, '6': '.google.protobuf.NullValue', '9': 0, '10': 'nullValue'}, + {'1': 'number_value', '3': 2, '4': 1, '5': 1, '9': 0, '10': 'numberValue'}, + {'1': 'string_value', '3': 3, '4': 1, '5': 9, '9': 0, '10': 'stringValue'}, + {'1': 'bool_value', '3': 4, '4': 1, '5': 8, '9': 0, '10': 'boolValue'}, + {'1': 'struct_value', '3': 5, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '9': 0, '10': 'structValue'}, + {'1': 'list_value', '3': 6, '4': 1, '5': 11, '6': '.google.protobuf.ListValue', '9': 0, '10': 'listValue'}, + ], + '8': [ + {'1': 'kind'}, + ], +}; + +/// Descriptor for `Value`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List valueDescriptor = $convert.base64Decode( + 'CgVWYWx1ZRI7CgpudWxsX3ZhbHVlGAEgASgOMhouZ29vZ2xlLnByb3RvYnVmLk51bGxWYWx1ZU' + 'gAUgludWxsVmFsdWUSIwoMbnVtYmVyX3ZhbHVlGAIgASgBSABSC251bWJlclZhbHVlEiMKDHN0' + 'cmluZ192YWx1ZRgDIAEoCUgAUgtzdHJpbmdWYWx1ZRIfCgpib29sX3ZhbHVlGAQgASgISABSCW' + 'Jvb2xWYWx1ZRI8CgxzdHJ1Y3RfdmFsdWUYBSABKAsyFy5nb29nbGUucHJvdG9idWYuU3RydWN0' + 'SABSC3N0cnVjdFZhbHVlEjsKCmxpc3RfdmFsdWUYBiABKAsyGi5nb29nbGUucHJvdG9idWYuTG' + 'lzdFZhbHVlSABSCWxpc3RWYWx1ZUIGCgRraW5k'); + +@$core.Deprecated('Use listValueDescriptor instead') +const ListValue$json = { + '1': 'ListValue', + '2': [ + {'1': 'values', '3': 1, '4': 3, '5': 11, '6': '.google.protobuf.Value', '10': 'values'}, + ], +}; + +/// Descriptor for `ListValue`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List listValueDescriptor = $convert.base64Decode( + 'CglMaXN0VmFsdWUSLgoGdmFsdWVzGAEgAygLMhYuZ29vZ2xlLnByb3RvYnVmLlZhbHVlUgZ2YW' + 'x1ZXM='); + diff --git a/lib/google/protobuf/timestamp.pb.dart b/lib/google/protobuf/timestamp.pb.dart new file mode 100644 index 0000000..b90f582 --- /dev/null +++ b/lib/google/protobuf/timestamp.pb.dart @@ -0,0 +1,181 @@ +// +// Generated code. Do not modify. +// source: google/protobuf/timestamp.proto +// +// @dart = 2.12 + +// ignore_for_file: annotate_overrides, camel_case_types, comment_references +// ignore_for_file: constant_identifier_names, library_prefixes +// ignore_for_file: non_constant_identifier_names, prefer_final_fields +// ignore_for_file: unnecessary_import, unnecessary_this, unused_import + +import 'dart:core' as $core; + +import 'package:fixnum/fixnum.dart' as $fixnum; +import 'package:protobuf/protobuf.dart' as $pb; +import 'package:protobuf/src/protobuf/mixins/well_known.dart' as $mixin; + +/// 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 +/// nanosecond resolution. The count is relative to an epoch at UTC midnight on +/// January 1, 1970, in the proleptic Gregorian calendar which extends the +/// Gregorian calendar backwards to year one. +/// +/// 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 +/// smear](https://developers.google.com/time/smear). +/// +/// 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 +/// 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings. +/// +/// # Examples +/// +/// Example 1: Compute Timestamp from POSIX `time()`. +/// +/// Timestamp timestamp; +/// timestamp.set_seconds(time(NULL)); +/// timestamp.set_nanos(0); +/// +/// Example 2: Compute Timestamp from POSIX `gettimeofday()`. +/// +/// struct timeval tv; +/// gettimeofday(&tv, NULL); +/// +/// Timestamp timestamp; +/// timestamp.set_seconds(tv.tv_sec); +/// timestamp.set_nanos(tv.tv_usec * 1000); +/// +/// Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`. +/// +/// FILETIME ft; +/// GetSystemTimeAsFileTime(&ft); +/// UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime; +/// +/// // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z +/// // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z. +/// Timestamp timestamp; +/// timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL)); +/// timestamp.set_nanos((INT32) ((ticks % 10000000) * 100)); +/// +/// Example 4: Compute Timestamp from Java `System.currentTimeMillis()`. +/// +/// long millis = System.currentTimeMillis(); +/// +/// Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000) +/// .setNanos((int) ((millis % 1000) * 1000000)).build(); +/// +/// +/// Example 5: Compute Timestamp from current time in Python. +/// +/// timestamp = Timestamp() +/// timestamp.GetCurrentTime() +/// +/// # JSON Mapping +/// +/// In JSON format, the Timestamp type is encoded as a string in the +/// [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the +/// 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 +/// 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://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime%2D%2D +/// ) to obtain a formatter capable of generating timestamps in this format. +class Timestamp extends $pb.GeneratedMessage with $mixin.TimestampMixin { + factory Timestamp({ + $fixnum.Int64? seconds, + $core.int? nanos, + }) { + final $result = create(); + if (seconds != null) { + $result.seconds = seconds; + } + 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); + factory Timestamp.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + 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') + ..a<$core.int>(2, _omitFieldNames ? '' : 'nanos', $pb.PbFieldType.O3) + ..hasRequiredFields = false + ; + + @$core.Deprecated( + '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); + @$core.Deprecated( + '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; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static Timestamp create() => Timestamp._(); + Timestamp createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static Timestamp getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static Timestamp? _defaultInstance; + + /// Represents seconds of UTC time since Unix epoch + /// 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to + /// 9999-12-31T23:59:59Z inclusive. + @$pb.TagNumber(1) + $fixnum.Int64 get seconds => $_getI64(0); + @$pb.TagNumber(1) + set seconds($fixnum.Int64 v) { $_setInt64(0, v); } + @$pb.TagNumber(1) + $core.bool hasSeconds() => $_has(0); + @$pb.TagNumber(1) + void clearSeconds() => clearField(1); + + /// Non-negative fractions of a second at nanosecond resolution. Negative + /// second values with fractions must still have non-negative nanos values + /// that count forward in time. Must be from 0 to 999,999,999 + /// inclusive. + @$pb.TagNumber(2) + $core.int get nanos => $_getIZ(1); + @$pb.TagNumber(2) + set nanos($core.int v) { $_setSignedInt32(1, v); } + @$pb.TagNumber(2) + $core.bool hasNanos() => $_has(1); + @$pb.TagNumber(2) + void clearNanos() => clearField(2); + /// Creates a new instance from [dateTime]. + /// + /// Time zone information will not be preserved. + static Timestamp fromDateTime($core.DateTime dateTime) { + final result = create(); + $mixin.TimestampMixin.setFromDateTime(result, dateTime); + return result; + } +} + + +const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); +const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/google/protobuf/timestamp.pbenum.dart b/lib/google/protobuf/timestamp.pbenum.dart new file mode 100644 index 0000000..30275f6 --- /dev/null +++ b/lib/google/protobuf/timestamp.pbenum.dart @@ -0,0 +1,11 @@ +// +// Generated code. Do not modify. +// source: google/protobuf/timestamp.proto +// +// @dart = 2.12 + +// ignore_for_file: annotate_overrides, camel_case_types, comment_references +// ignore_for_file: constant_identifier_names, library_prefixes +// ignore_for_file: non_constant_identifier_names, prefer_final_fields +// ignore_for_file: unnecessary_import, unnecessary_this, unused_import + diff --git a/lib/google/protobuf/timestamp.pbjson.dart b/lib/google/protobuf/timestamp.pbjson.dart new file mode 100644 index 0000000..3dfd63b --- /dev/null +++ b/lib/google/protobuf/timestamp.pbjson.dart @@ -0,0 +1,29 @@ +// +// Generated code. Do not modify. +// source: google/protobuf/timestamp.proto +// +// @dart = 2.12 + +// ignore_for_file: annotate_overrides, camel_case_types, comment_references +// ignore_for_file: constant_identifier_names, library_prefixes +// ignore_for_file: non_constant_identifier_names, prefer_final_fields +// ignore_for_file: unnecessary_import, unnecessary_this, unused_import + +import 'dart:convert' as $convert; +import 'dart:core' as $core; +import 'dart:typed_data' as $typed_data; + +@$core.Deprecated('Use timestampDescriptor instead') +const Timestamp$json = { + '1': 'Timestamp', + '2': [ + {'1': 'seconds', '3': 1, '4': 1, '5': 3, '10': 'seconds'}, + {'1': 'nanos', '3': 2, '4': 1, '5': 5, '10': 'nanos'}, + ], +}; + +/// Descriptor for `Timestamp`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List timestampDescriptor = $convert.base64Decode( + 'CglUaW1lc3RhbXASGAoHc2Vjb25kcxgBIAEoA1IHc2Vjb25kcxIUCgVuYW5vcxgCIAEoBVIFbm' + 'Fub3M='); + diff --git a/lib/google/protobuf/type.pb.dart b/lib/google/protobuf/type.pb.dart new file mode 100644 index 0000000..61e4e6a --- /dev/null +++ b/lib/google/protobuf/type.pb.dart @@ -0,0 +1,572 @@ +// +// Generated code. Do not modify. +// source: google/protobuf/type.proto +// +// @dart = 2.12 + +// ignore_for_file: annotate_overrides, camel_case_types, comment_references +// ignore_for_file: constant_identifier_names, library_prefixes +// ignore_for_file: non_constant_identifier_names, prefer_final_fields +// ignore_for_file: unnecessary_import, unnecessary_this, unused_import + +import 'dart:core' as $core; + +import 'package:protobuf/protobuf.dart' as $pb; + +import 'any.pb.dart' as $17; +import 'source_context.pb.dart' as $18; +import 'type.pbenum.dart'; + +export 'type.pbenum.dart'; + +/// A protocol buffer message type. +class Type extends $pb.GeneratedMessage { + factory Type({ + $core.String? name, + $core.Iterable? fields, + $core.Iterable<$core.String>? oneofs, + $core.Iterable