Latest generation

This commit is contained in:
ci viz model
2025-03-17 13:03:45 +00:00
parent c677915ab1
commit 9ef31311b3
130 changed files with 34533 additions and 92 deletions

3
CHANGELOG.md Normal file
View File

@@ -0,0 +1,3 @@
# CHANGELOG
Lib version: 1.10.0-SNAPSHOT-250317130317

9
LICENSE Normal file
View File

@@ -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

View File

@@ -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

35
lib/annotations.pb.dart Normal file
View File

@@ -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');

View File

@@ -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

View File

@@ -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;

85
lib/core/options.pb.dart Normal file
View File

@@ -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');

View File

@@ -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

View File

@@ -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;

2866
lib/core/shared.pb.dart Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -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<ResponseStatus> values = <ResponseStatus> [
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');

667
lib/core/shared.pbjson.dart Normal file
View File

@@ -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=');

View File

@@ -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');

View File

@@ -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<Length> values = <Length> [
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<Weight> values = <Weight> [
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<Temperature> values = <Temperature> [
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<Speed> values = <Speed> [
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<Area> values = <Area> [
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<Volume> values = <Volume> [
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<DimensionLess> values = <DimensionLess> [
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');

View File

@@ -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=');

137
lib/counter.pb.dart Normal file
View File

@@ -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<NextProjectCounterRequest> createRepeated() => $pb.PbList<NextProjectCounterRequest>();
@$core.pragma('dart2js:noInline')
static NextProjectCounterRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<NextProjectCounterRequest>(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<NextCounterResult> createRepeated() => $pb.PbList<NextCounterResult>();
@$core.pragma('dart2js:noInline')
static NextCounterResult getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<NextCounterResult>(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');

11
lib/counter.pbenum.dart Normal file
View File

@@ -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

59
lib/counter.pbgrpc.dart Normal file
View File

@@ -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);
}

43
lib/counter.pbjson.dart Normal file
View File

@@ -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=');

View File

@@ -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');

View File

@@ -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

View File

@@ -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;

View File

@@ -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<FieldBehavior>.repeated(_omitMessageNames ? '' : 'google.protobuf.FieldOptions', _omitFieldNames ? '' : 'fieldBehavior', 1052, $pb.PbFieldType.KE, check: $pb.getCheckFunction($pb.PbFieldType.KE), valueOf: FieldBehavior.valueOf, enumValues: FieldBehavior.values);
static 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');

View File

@@ -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<FieldBehavior> values = <FieldBehavior> [
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');

View File

@@ -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');

647
lib/google/api/http.pb.dart Normal file
View File

@@ -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<HttpRule>? 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<HttpRule>(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<Http> createRepeated() => $pb.PbList<Http>();
@$core.pragma('dart2js:noInline')
static Http getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<Http>(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<HttpRule> 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&param=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<HttpRule>? 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<CustomHttpPattern>(8, _omitFieldNames ? '' : 'custom', subBuilder: CustomHttpPattern.create)
..pc<HttpRule>(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<HttpRule> createRepeated() => $pb.PbList<HttpRule>();
@$core.pragma('dart2js:noInline')
static HttpRule getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<HttpRule>(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<HttpRule> 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<CustomHttpPattern> createRepeated() => $pb.PbList<CustomHttpPattern>();
@$core.pragma('dart2js:noInline')
static CustomHttpPattern getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<CustomHttpPattern>(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');

View File

@@ -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

View File

@@ -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=');

View File

@@ -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<HttpBody> createRepeated() => $pb.PbList<HttpBody>();
@$core.pragma('dart2js:noInline')
static HttpBody getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<HttpBody>(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');

View File

@@ -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

View File

@@ -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=');

View File

@@ -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": <string>,
/// "lastName": <string>
/// }
///
/// If the embedded message type is well-known and has a custom JSON
/// representation, that representation will be embedded adding a field
/// `value` which holds the custom JSON in addition to the `@type`
/// field. Example (for message [google.protobuf.Duration][]):
///
/// {
/// "@type": "type.googleapis.com/google.protobuf.Duration",
/// "value": "1.212s"
/// }
class Any extends $pb.GeneratedMessage with $mixin.AnyMixin {
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<Any> createRepeated() => $pb.PbList<Any>();
@$core.pragma('dart2js:noInline')
static Any getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<Any>(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');

View File

@@ -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

View File

@@ -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');

View File

@@ -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<Method>? methods,
$core.Iterable<$20.Option>? options,
$core.String? version,
$18.SourceContext? sourceContext,
$core.Iterable<Mixin>? 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<Method>(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<Mixin>(6, _omitFieldNames ? '' : 'mixins', $pb.PbFieldType.PM, subBuilder: Mixin.create)
..e<$20.Syntax>(7, _omitFieldNames ? '' : 'syntax', $pb.PbFieldType.OE, defaultOrMaker: $20.Syntax.SYNTAX_PROTO2, valueOf: $20.Syntax.valueOf, enumValues: $20.Syntax.values)
..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<Api> createRepeated() => $pb.PbList<Api>();
@$core.pragma('dart2js:noInline')
static Api getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<Api>(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<Method> 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<major-version>`, 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<Mixin> 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<Method> createRepeated() => $pb.PbList<Method>();
@$core.pragma('dart2js:noInline')
static Method getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<Method>(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<Mixin> createRepeated() => $pb.PbList<Mixin>();
@$core.pragma('dart2js:noInline')
static Mixin getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<Mixin>(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');

View File

@@ -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

View File

@@ -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=');

View File

@@ -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<Version> createRepeated() => $pb.PbList<Version>();
@$core.pragma('dart2js:noInline')
static Version getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<Version>(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<Version>(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<CodeGeneratorRequest> createRepeated() => $pb.PbList<CodeGeneratorRequest>();
@$core.pragma('dart2js:noInline')
static CodeGeneratorRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<CodeGeneratorRequest>(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<CodeGeneratorResponse_File> createRepeated() => $pb.PbList<CodeGeneratorResponse_File>();
@$core.pragma('dart2js:noInline')
static CodeGeneratorResponse_File getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<CodeGeneratorResponse_File>(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<CodeGeneratorResponse_File>? 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<CodeGeneratorResponse_File>(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<CodeGeneratorResponse> createRepeated() => $pb.PbList<CodeGeneratorResponse>();
@$core.pragma('dart2js:noInline')
static CodeGeneratorResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<CodeGeneratorResponse>(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<CodeGeneratorResponse_File> get file => $_getList(1);
}
const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names');
const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names');

View File

@@ -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

View File

@@ -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==');

File diff suppressed because it is too large Load Diff

View File

@@ -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<FieldDescriptorProto_Type> values = <FieldDescriptorProto_Type> [
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<FieldDescriptorProto_Label> values = <FieldDescriptorProto_Label> [
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<FileOptions_OptimizeMode> values = <FileOptions_OptimizeMode> [
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<FieldOptions_CType> values = <FieldOptions_CType> [
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<FieldOptions_JSType> values = <FieldOptions_JSType> [
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<MethodOptions_IdempotencyLevel> values = <MethodOptions_IdempotencyLevel> [
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');

View File

@@ -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=');

View File

@@ -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<Duration> createRepeated() => $pb.PbList<Duration>();
@$core.pragma('dart2js:noInline')
static Duration getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<Duration>(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');

View File

@@ -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

View File

@@ -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==');

View File

@@ -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<Empty> createRepeated() => $pb.PbList<Empty>();
@$core.pragma('dart2js:noInline')
static Empty getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<Empty>(create);
static Empty? _defaultInstance;
}
const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names');

View File

@@ -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

View File

@@ -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==');

View File

@@ -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<FieldMask> createRepeated() => $pb.PbList<FieldMask>();
@$core.pragma('dart2js:noInline')
static FieldMask getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<FieldMask>(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');

View File

@@ -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

View File

@@ -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');

View File

@@ -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<SourceContext> createRepeated() => $pb.PbList<SourceContext>();
@$core.pragma('dart2js:noInline')
static SourceContext getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<SourceContext>(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');

View File

@@ -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

View File

@@ -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=');

View File

@@ -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<Struct> createRepeated() => $pb.PbList<Struct>();
@$core.pragma('dart2js:noInline')
static Struct getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<Struct>(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<NullValue>(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<Struct>(5, _omitFieldNames ? '' : 'structValue', subBuilder: Struct.create)
..aOM<ListValue>(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<Value> createRepeated() => $pb.PbList<Value>();
@$core.pragma('dart2js:noInline')
static Value getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<Value>(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<Value>? 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<Value>(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<ListValue> createRepeated() => $pb.PbList<ListValue>();
@$core.pragma('dart2js:noInline')
static ListValue getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<ListValue>(create);
static ListValue? _defaultInstance;
/// Repeated field of dynamically typed values.
@$pb.TagNumber(1)
$core.List<Value> get values => $_getList(0);
}
const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names');
const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names');

View File

@@ -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<NullValue> values = <NullValue> [
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');

View File

@@ -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=');

View File

@@ -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<Timestamp> createRepeated() => $pb.PbList<Timestamp>();
@$core.pragma('dart2js:noInline')
static Timestamp getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<Timestamp>(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');

View File

@@ -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

View File

@@ -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=');

View File

@@ -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<Field>? fields,
$core.Iterable<$core.String>? oneofs,
$core.Iterable<Option>? options,
$18.SourceContext? sourceContext,
Syntax? syntax,
}) {
final $result = create();
if (name != null) {
$result.name = name;
}
if (fields != null) {
$result.fields.addAll(fields);
}
if (oneofs != null) {
$result.oneofs.addAll(oneofs);
}
if (options != null) {
$result.options.addAll(options);
}
if (sourceContext != null) {
$result.sourceContext = sourceContext;
}
if (syntax != null) {
$result.syntax = syntax;
}
return $result;
}
Type._() : super();
factory Type.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
factory Type.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Type', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create)
..aOS(1, _omitFieldNames ? '' : 'name')
..pc<Field>(2, _omitFieldNames ? '' : 'fields', $pb.PbFieldType.PM, subBuilder: Field.create)
..pPS(3, _omitFieldNames ? '' : 'oneofs')
..pc<Option>(4, _omitFieldNames ? '' : 'options', $pb.PbFieldType.PM, subBuilder: Option.create)
..aOM<$18.SourceContext>(5, _omitFieldNames ? '' : 'sourceContext', subBuilder: $18.SourceContext.create)
..e<Syntax>(6, _omitFieldNames ? '' : 'syntax', $pb.PbFieldType.OE, defaultOrMaker: Syntax.SYNTAX_PROTO2, valueOf: Syntax.valueOf, enumValues: 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')
Type clone() => Type()..mergeFromMessage(this);
@$core.Deprecated(
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
'Will be removed in next major version')
Type copyWith(void Function(Type) updates) => super.copyWith((message) => updates(message as Type)) as Type;
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static Type create() => Type._();
Type createEmptyInstance() => create();
static $pb.PbList<Type> createRepeated() => $pb.PbList<Type>();
@$core.pragma('dart2js:noInline')
static Type getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<Type>(create);
static Type? _defaultInstance;
/// The fully qualified message 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 list of fields.
@$pb.TagNumber(2)
$core.List<Field> get fields => $_getList(1);
/// The list of types appearing in `oneof` definitions in this type.
@$pb.TagNumber(3)
$core.List<$core.String> get oneofs => $_getList(2);
/// The protocol buffer options.
@$pb.TagNumber(4)
$core.List<Option> get options => $_getList(3);
/// The source context.
@$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);
/// The source syntax.
@$pb.TagNumber(6)
Syntax get syntax => $_getN(5);
@$pb.TagNumber(6)
set syntax(Syntax v) { setField(6, v); }
@$pb.TagNumber(6)
$core.bool hasSyntax() => $_has(5);
@$pb.TagNumber(6)
void clearSyntax() => clearField(6);
}
/// A single field of a message type.
class Field extends $pb.GeneratedMessage {
factory Field({
Field_Kind? kind,
Field_Cardinality? cardinality,
$core.int? number,
$core.String? name,
$core.String? typeUrl,
$core.int? oneofIndex,
$core.bool? packed,
$core.Iterable<Option>? options,
$core.String? jsonName,
$core.String? defaultValue,
}) {
final $result = create();
if (kind != null) {
$result.kind = kind;
}
if (cardinality != null) {
$result.cardinality = cardinality;
}
if (number != null) {
$result.number = number;
}
if (name != null) {
$result.name = name;
}
if (typeUrl != null) {
$result.typeUrl = typeUrl;
}
if (oneofIndex != null) {
$result.oneofIndex = oneofIndex;
}
if (packed != null) {
$result.packed = packed;
}
if (options != null) {
$result.options.addAll(options);
}
if (jsonName != null) {
$result.jsonName = jsonName;
}
if (defaultValue != null) {
$result.defaultValue = defaultValue;
}
return $result;
}
Field._() : super();
factory Field.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
factory Field.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Field', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create)
..e<Field_Kind>(1, _omitFieldNames ? '' : 'kind', $pb.PbFieldType.OE, defaultOrMaker: Field_Kind.TYPE_UNKNOWN, valueOf: Field_Kind.valueOf, enumValues: Field_Kind.values)
..e<Field_Cardinality>(2, _omitFieldNames ? '' : 'cardinality', $pb.PbFieldType.OE, defaultOrMaker: Field_Cardinality.CARDINALITY_UNKNOWN, valueOf: Field_Cardinality.valueOf, enumValues: Field_Cardinality.values)
..a<$core.int>(3, _omitFieldNames ? '' : 'number', $pb.PbFieldType.O3)
..aOS(4, _omitFieldNames ? '' : 'name')
..aOS(6, _omitFieldNames ? '' : 'typeUrl')
..a<$core.int>(7, _omitFieldNames ? '' : 'oneofIndex', $pb.PbFieldType.O3)
..aOB(8, _omitFieldNames ? '' : 'packed')
..pc<Option>(9, _omitFieldNames ? '' : 'options', $pb.PbFieldType.PM, subBuilder: Option.create)
..aOS(10, _omitFieldNames ? '' : 'jsonName')
..aOS(11, _omitFieldNames ? '' : 'defaultValue')
..hasRequiredFields = false
;
@$core.Deprecated(
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
'Will be removed in next major version')
Field clone() => Field()..mergeFromMessage(this);
@$core.Deprecated(
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
'Will be removed in next major version')
Field copyWith(void Function(Field) updates) => super.copyWith((message) => updates(message as Field)) as Field;
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static Field create() => Field._();
Field createEmptyInstance() => create();
static $pb.PbList<Field> createRepeated() => $pb.PbList<Field>();
@$core.pragma('dart2js:noInline')
static Field getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<Field>(create);
static Field? _defaultInstance;
/// The field type.
@$pb.TagNumber(1)
Field_Kind get kind => $_getN(0);
@$pb.TagNumber(1)
set kind(Field_Kind v) { setField(1, v); }
@$pb.TagNumber(1)
$core.bool hasKind() => $_has(0);
@$pb.TagNumber(1)
void clearKind() => clearField(1);
/// The field cardinality.
@$pb.TagNumber(2)
Field_Cardinality get cardinality => $_getN(1);
@$pb.TagNumber(2)
set cardinality(Field_Cardinality v) { setField(2, v); }
@$pb.TagNumber(2)
$core.bool hasCardinality() => $_has(1);
@$pb.TagNumber(2)
void clearCardinality() => clearField(2);
/// The field number.
@$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);
/// The field name.
@$pb.TagNumber(4)
$core.String get name => $_getSZ(3);
@$pb.TagNumber(4)
set name($core.String v) { $_setString(3, v); }
@$pb.TagNumber(4)
$core.bool hasName() => $_has(3);
@$pb.TagNumber(4)
void clearName() => clearField(4);
/// The field type URL, without the scheme, for message or enumeration
/// types. Example: `"type.googleapis.com/google.protobuf.Timestamp"`.
@$pb.TagNumber(6)
$core.String get typeUrl => $_getSZ(4);
@$pb.TagNumber(6)
set typeUrl($core.String v) { $_setString(4, v); }
@$pb.TagNumber(6)
$core.bool hasTypeUrl() => $_has(4);
@$pb.TagNumber(6)
void clearTypeUrl() => clearField(6);
/// The index of the field type in `Type.oneofs`, for message or enumeration
/// types. The first type has index 1; zero means the type is not in the list.
@$pb.TagNumber(7)
$core.int get oneofIndex => $_getIZ(5);
@$pb.TagNumber(7)
set oneofIndex($core.int v) { $_setSignedInt32(5, v); }
@$pb.TagNumber(7)
$core.bool hasOneofIndex() => $_has(5);
@$pb.TagNumber(7)
void clearOneofIndex() => clearField(7);
/// Whether to use alternative packed wire representation.
@$pb.TagNumber(8)
$core.bool get packed => $_getBF(6);
@$pb.TagNumber(8)
set packed($core.bool v) { $_setBool(6, v); }
@$pb.TagNumber(8)
$core.bool hasPacked() => $_has(6);
@$pb.TagNumber(8)
void clearPacked() => clearField(8);
/// The protocol buffer options.
@$pb.TagNumber(9)
$core.List<Option> get options => $_getList(7);
/// The field JSON name.
@$pb.TagNumber(10)
$core.String get jsonName => $_getSZ(8);
@$pb.TagNumber(10)
set jsonName($core.String v) { $_setString(8, v); }
@$pb.TagNumber(10)
$core.bool hasJsonName() => $_has(8);
@$pb.TagNumber(10)
void clearJsonName() => clearField(10);
/// The string value of the default value of this field. Proto2 syntax only.
@$pb.TagNumber(11)
$core.String get defaultValue => $_getSZ(9);
@$pb.TagNumber(11)
set defaultValue($core.String v) { $_setString(9, v); }
@$pb.TagNumber(11)
$core.bool hasDefaultValue() => $_has(9);
@$pb.TagNumber(11)
void clearDefaultValue() => clearField(11);
}
/// Enum type definition.
class Enum extends $pb.GeneratedMessage {
factory Enum({
$core.String? name,
$core.Iterable<EnumValue>? enumvalue,
$core.Iterable<Option>? options,
$18.SourceContext? sourceContext,
Syntax? syntax,
}) {
final $result = create();
if (name != null) {
$result.name = name;
}
if (enumvalue != null) {
$result.enumvalue.addAll(enumvalue);
}
if (options != null) {
$result.options.addAll(options);
}
if (sourceContext != null) {
$result.sourceContext = sourceContext;
}
if (syntax != null) {
$result.syntax = syntax;
}
return $result;
}
Enum._() : super();
factory Enum.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
factory Enum.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Enum', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create)
..aOS(1, _omitFieldNames ? '' : 'name')
..pc<EnumValue>(2, _omitFieldNames ? '' : 'enumvalue', $pb.PbFieldType.PM, subBuilder: EnumValue.create)
..pc<Option>(3, _omitFieldNames ? '' : 'options', $pb.PbFieldType.PM, subBuilder: Option.create)
..aOM<$18.SourceContext>(4, _omitFieldNames ? '' : 'sourceContext', subBuilder: $18.SourceContext.create)
..e<Syntax>(5, _omitFieldNames ? '' : 'syntax', $pb.PbFieldType.OE, defaultOrMaker: Syntax.SYNTAX_PROTO2, valueOf: Syntax.valueOf, enumValues: 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')
Enum clone() => Enum()..mergeFromMessage(this);
@$core.Deprecated(
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
'Will be removed in next major version')
Enum copyWith(void Function(Enum) updates) => super.copyWith((message) => updates(message as Enum)) as Enum;
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static Enum create() => Enum._();
Enum createEmptyInstance() => create();
static $pb.PbList<Enum> createRepeated() => $pb.PbList<Enum>();
@$core.pragma('dart2js:noInline')
static Enum getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<Enum>(create);
static Enum? _defaultInstance;
/// Enum type 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);
/// Enum value definitions.
@$pb.TagNumber(2)
$core.List<EnumValue> get enumvalue => $_getList(1);
/// Protocol buffer options.
@$pb.TagNumber(3)
$core.List<Option> get options => $_getList(2);
/// The source context.
@$pb.TagNumber(4)
$18.SourceContext get sourceContext => $_getN(3);
@$pb.TagNumber(4)
set sourceContext($18.SourceContext v) { setField(4, v); }
@$pb.TagNumber(4)
$core.bool hasSourceContext() => $_has(3);
@$pb.TagNumber(4)
void clearSourceContext() => clearField(4);
@$pb.TagNumber(4)
$18.SourceContext ensureSourceContext() => $_ensure(3);
/// The source syntax.
@$pb.TagNumber(5)
Syntax get syntax => $_getN(4);
@$pb.TagNumber(5)
set syntax(Syntax v) { setField(5, v); }
@$pb.TagNumber(5)
$core.bool hasSyntax() => $_has(4);
@$pb.TagNumber(5)
void clearSyntax() => clearField(5);
}
/// Enum value definition.
class EnumValue extends $pb.GeneratedMessage {
factory EnumValue({
$core.String? name,
$core.int? number,
$core.Iterable<Option>? options,
}) {
final $result = create();
if (name != null) {
$result.name = name;
}
if (number != null) {
$result.number = number;
}
if (options != null) {
$result.options.addAll(options);
}
return $result;
}
EnumValue._() : super();
factory EnumValue.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
factory EnumValue.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'EnumValue', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create)
..aOS(1, _omitFieldNames ? '' : 'name')
..a<$core.int>(2, _omitFieldNames ? '' : 'number', $pb.PbFieldType.O3)
..pc<Option>(3, _omitFieldNames ? '' : 'options', $pb.PbFieldType.PM, subBuilder: Option.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')
EnumValue clone() => EnumValue()..mergeFromMessage(this);
@$core.Deprecated(
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
'Will be removed in next major version')
EnumValue copyWith(void Function(EnumValue) updates) => super.copyWith((message) => updates(message as EnumValue)) as EnumValue;
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static EnumValue create() => EnumValue._();
EnumValue createEmptyInstance() => create();
static $pb.PbList<EnumValue> createRepeated() => $pb.PbList<EnumValue>();
@$core.pragma('dart2js:noInline')
static EnumValue getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<EnumValue>(create);
static EnumValue? _defaultInstance;
/// Enum value 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);
/// Enum value number.
@$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);
/// Protocol buffer options.
@$pb.TagNumber(3)
$core.List<Option> get options => $_getList(2);
}
/// A protocol buffer option, which can be attached to a message, field,
/// enumeration, etc.
class Option extends $pb.GeneratedMessage {
factory Option({
$core.String? name,
$17.Any? value,
}) {
final $result = create();
if (name != null) {
$result.name = name;
}
if (value != null) {
$result.value = value;
}
return $result;
}
Option._() : super();
factory Option.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
factory Option.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Option', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create)
..aOS(1, _omitFieldNames ? '' : 'name')
..aOM<$17.Any>(2, _omitFieldNames ? '' : 'value', 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')
Option clone() => Option()..mergeFromMessage(this);
@$core.Deprecated(
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
'Will be removed in next major version')
Option copyWith(void Function(Option) updates) => super.copyWith((message) => updates(message as Option)) as Option;
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static Option create() => Option._();
Option createEmptyInstance() => create();
static $pb.PbList<Option> createRepeated() => $pb.PbList<Option>();
@$core.pragma('dart2js:noInline')
static Option getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<Option>(create);
static Option? _defaultInstance;
/// The option's name. For protobuf built-in options (options defined in
/// descriptor.proto), this is the short name. For example, `"map_entry"`.
/// For custom options, it should be the fully-qualified name. For example,
/// `"google.api.http"`.
@$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 option's value packed in an Any message. If the value is a primitive,
/// the corresponding wrapper type defined in google/protobuf/wrappers.proto
/// should be used. If the value is an enum, it should be stored as an int32
/// value using the google.protobuf.Int32Value type.
@$pb.TagNumber(2)
$17.Any get value => $_getN(1);
@$pb.TagNumber(2)
set value($17.Any v) { setField(2, v); }
@$pb.TagNumber(2)
$core.bool hasValue() => $_has(1);
@$pb.TagNumber(2)
void clearValue() => clearField(2);
@$pb.TagNumber(2)
$17.Any ensureValue() => $_ensure(1);
}
const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names');
const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names');

View File

@@ -0,0 +1,103 @@
//
// 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;
/// The syntax in which a protocol buffer element is defined.
class Syntax extends $pb.ProtobufEnum {
static const Syntax SYNTAX_PROTO2 = Syntax._(0, _omitEnumNames ? '' : 'SYNTAX_PROTO2');
static const Syntax SYNTAX_PROTO3 = Syntax._(1, _omitEnumNames ? '' : 'SYNTAX_PROTO3');
static const $core.List<Syntax> values = <Syntax> [
SYNTAX_PROTO2,
SYNTAX_PROTO3,
];
static final $core.Map<$core.int, Syntax> _byValue = $pb.ProtobufEnum.initByValue(values);
static Syntax? valueOf($core.int value) => _byValue[value];
const Syntax._($core.int v, $core.String n) : super(v, n);
}
/// Basic field types.
class Field_Kind extends $pb.ProtobufEnum {
static const Field_Kind TYPE_UNKNOWN = Field_Kind._(0, _omitEnumNames ? '' : 'TYPE_UNKNOWN');
static const Field_Kind TYPE_DOUBLE = Field_Kind._(1, _omitEnumNames ? '' : 'TYPE_DOUBLE');
static const Field_Kind TYPE_FLOAT = Field_Kind._(2, _omitEnumNames ? '' : 'TYPE_FLOAT');
static const Field_Kind TYPE_INT64 = Field_Kind._(3, _omitEnumNames ? '' : 'TYPE_INT64');
static const Field_Kind TYPE_UINT64 = Field_Kind._(4, _omitEnumNames ? '' : 'TYPE_UINT64');
static const Field_Kind TYPE_INT32 = Field_Kind._(5, _omitEnumNames ? '' : 'TYPE_INT32');
static const Field_Kind TYPE_FIXED64 = Field_Kind._(6, _omitEnumNames ? '' : 'TYPE_FIXED64');
static const Field_Kind TYPE_FIXED32 = Field_Kind._(7, _omitEnumNames ? '' : 'TYPE_FIXED32');
static const Field_Kind TYPE_BOOL = Field_Kind._(8, _omitEnumNames ? '' : 'TYPE_BOOL');
static const Field_Kind TYPE_STRING = Field_Kind._(9, _omitEnumNames ? '' : 'TYPE_STRING');
static const Field_Kind TYPE_GROUP = Field_Kind._(10, _omitEnumNames ? '' : 'TYPE_GROUP');
static const Field_Kind TYPE_MESSAGE = Field_Kind._(11, _omitEnumNames ? '' : 'TYPE_MESSAGE');
static const Field_Kind TYPE_BYTES = Field_Kind._(12, _omitEnumNames ? '' : 'TYPE_BYTES');
static const Field_Kind TYPE_UINT32 = Field_Kind._(13, _omitEnumNames ? '' : 'TYPE_UINT32');
static const Field_Kind TYPE_ENUM = Field_Kind._(14, _omitEnumNames ? '' : 'TYPE_ENUM');
static const Field_Kind TYPE_SFIXED32 = Field_Kind._(15, _omitEnumNames ? '' : 'TYPE_SFIXED32');
static const Field_Kind TYPE_SFIXED64 = Field_Kind._(16, _omitEnumNames ? '' : 'TYPE_SFIXED64');
static const Field_Kind TYPE_SINT32 = Field_Kind._(17, _omitEnumNames ? '' : 'TYPE_SINT32');
static const Field_Kind TYPE_SINT64 = Field_Kind._(18, _omitEnumNames ? '' : 'TYPE_SINT64');
static const $core.List<Field_Kind> values = <Field_Kind> [
TYPE_UNKNOWN,
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, Field_Kind> _byValue = $pb.ProtobufEnum.initByValue(values);
static Field_Kind? valueOf($core.int value) => _byValue[value];
const Field_Kind._($core.int v, $core.String n) : super(v, n);
}
/// Whether a field is optional, required, or repeated.
class Field_Cardinality extends $pb.ProtobufEnum {
static const Field_Cardinality CARDINALITY_UNKNOWN = Field_Cardinality._(0, _omitEnumNames ? '' : 'CARDINALITY_UNKNOWN');
static const Field_Cardinality CARDINALITY_OPTIONAL = Field_Cardinality._(1, _omitEnumNames ? '' : 'CARDINALITY_OPTIONAL');
static const Field_Cardinality CARDINALITY_REQUIRED = Field_Cardinality._(2, _omitEnumNames ? '' : 'CARDINALITY_REQUIRED');
static const Field_Cardinality CARDINALITY_REPEATED = Field_Cardinality._(3, _omitEnumNames ? '' : 'CARDINALITY_REPEATED');
static const $core.List<Field_Cardinality> values = <Field_Cardinality> [
CARDINALITY_UNKNOWN,
CARDINALITY_OPTIONAL,
CARDINALITY_REQUIRED,
CARDINALITY_REPEATED,
];
static final $core.Map<$core.int, Field_Cardinality> _byValue = $pb.ProtobufEnum.initByValue(values);
static Field_Cardinality? valueOf($core.int value) => _byValue[value];
const Field_Cardinality._($core.int v, $core.String n) : super(v, n);
}
const _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names');

View File

@@ -0,0 +1,171 @@
//
// 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:convert' as $convert;
import 'dart:core' as $core;
import 'dart:typed_data' as $typed_data;
@$core.Deprecated('Use syntaxDescriptor instead')
const Syntax$json = {
'1': 'Syntax',
'2': [
{'1': 'SYNTAX_PROTO2', '2': 0},
{'1': 'SYNTAX_PROTO3', '2': 1},
],
};
/// Descriptor for `Syntax`. Decode as a `google.protobuf.EnumDescriptorProto`.
final $typed_data.Uint8List syntaxDescriptor = $convert.base64Decode(
'CgZTeW50YXgSEQoNU1lOVEFYX1BST1RPMhAAEhEKDVNZTlRBWF9QUk9UTzMQAQ==');
@$core.Deprecated('Use typeDescriptor instead')
const Type$json = {
'1': 'Type',
'2': [
{'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'},
{'1': 'fields', '3': 2, '4': 3, '5': 11, '6': '.google.protobuf.Field', '10': 'fields'},
{'1': 'oneofs', '3': 3, '4': 3, '5': 9, '10': 'oneofs'},
{'1': 'options', '3': 4, '4': 3, '5': 11, '6': '.google.protobuf.Option', '10': 'options'},
{'1': 'source_context', '3': 5, '4': 1, '5': 11, '6': '.google.protobuf.SourceContext', '10': 'sourceContext'},
{'1': 'syntax', '3': 6, '4': 1, '5': 14, '6': '.google.protobuf.Syntax', '10': 'syntax'},
],
};
/// Descriptor for `Type`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List typeDescriptor = $convert.base64Decode(
'CgRUeXBlEhIKBG5hbWUYASABKAlSBG5hbWUSLgoGZmllbGRzGAIgAygLMhYuZ29vZ2xlLnByb3'
'RvYnVmLkZpZWxkUgZmaWVsZHMSFgoGb25lb2ZzGAMgAygJUgZvbmVvZnMSMQoHb3B0aW9ucxgE'
'IAMoCzIXLmdvb2dsZS5wcm90b2J1Zi5PcHRpb25SB29wdGlvbnMSRQoOc291cmNlX2NvbnRleH'
'QYBSABKAsyHi5nb29nbGUucHJvdG9idWYuU291cmNlQ29udGV4dFINc291cmNlQ29udGV4dBIv'
'CgZzeW50YXgYBiABKA4yFy5nb29nbGUucHJvdG9idWYuU3ludGF4UgZzeW50YXg=');
@$core.Deprecated('Use fieldDescriptor instead')
const Field$json = {
'1': 'Field',
'2': [
{'1': 'kind', '3': 1, '4': 1, '5': 14, '6': '.google.protobuf.Field.Kind', '10': 'kind'},
{'1': 'cardinality', '3': 2, '4': 1, '5': 14, '6': '.google.protobuf.Field.Cardinality', '10': 'cardinality'},
{'1': 'number', '3': 3, '4': 1, '5': 5, '10': 'number'},
{'1': 'name', '3': 4, '4': 1, '5': 9, '10': 'name'},
{'1': 'type_url', '3': 6, '4': 1, '5': 9, '10': 'typeUrl'},
{'1': 'oneof_index', '3': 7, '4': 1, '5': 5, '10': 'oneofIndex'},
{'1': 'packed', '3': 8, '4': 1, '5': 8, '10': 'packed'},
{'1': 'options', '3': 9, '4': 3, '5': 11, '6': '.google.protobuf.Option', '10': 'options'},
{'1': 'json_name', '3': 10, '4': 1, '5': 9, '10': 'jsonName'},
{'1': 'default_value', '3': 11, '4': 1, '5': 9, '10': 'defaultValue'},
],
'4': [Field_Kind$json, Field_Cardinality$json],
};
@$core.Deprecated('Use fieldDescriptor instead')
const Field_Kind$json = {
'1': 'Kind',
'2': [
{'1': 'TYPE_UNKNOWN', '2': 0},
{'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 fieldDescriptor instead')
const Field_Cardinality$json = {
'1': 'Cardinality',
'2': [
{'1': 'CARDINALITY_UNKNOWN', '2': 0},
{'1': 'CARDINALITY_OPTIONAL', '2': 1},
{'1': 'CARDINALITY_REQUIRED', '2': 2},
{'1': 'CARDINALITY_REPEATED', '2': 3},
],
};
/// Descriptor for `Field`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List fieldDescriptor = $convert.base64Decode(
'CgVGaWVsZBIvCgRraW5kGAEgASgOMhsuZ29vZ2xlLnByb3RvYnVmLkZpZWxkLktpbmRSBGtpbm'
'QSRAoLY2FyZGluYWxpdHkYAiABKA4yIi5nb29nbGUucHJvdG9idWYuRmllbGQuQ2FyZGluYWxp'
'dHlSC2NhcmRpbmFsaXR5EhYKBm51bWJlchgDIAEoBVIGbnVtYmVyEhIKBG5hbWUYBCABKAlSBG'
'5hbWUSGQoIdHlwZV91cmwYBiABKAlSB3R5cGVVcmwSHwoLb25lb2ZfaW5kZXgYByABKAVSCm9u'
'ZW9mSW5kZXgSFgoGcGFja2VkGAggASgIUgZwYWNrZWQSMQoHb3B0aW9ucxgJIAMoCzIXLmdvb2'
'dsZS5wcm90b2J1Zi5PcHRpb25SB29wdGlvbnMSGwoJanNvbl9uYW1lGAogASgJUghqc29uTmFt'
'ZRIjCg1kZWZhdWx0X3ZhbHVlGAsgASgJUgxkZWZhdWx0VmFsdWUiyAIKBEtpbmQSEAoMVFlQRV'
'9VTktOT1dOEAASDwoLVFlQRV9ET1VCTEUQARIOCgpUWVBFX0ZMT0FUEAISDgoKVFlQRV9JTlQ2'
'NBADEg8KC1RZUEVfVUlOVDY0EAQSDgoKVFlQRV9JTlQzMhAFEhAKDFRZUEVfRklYRUQ2NBAGEh'
'AKDFRZUEVfRklYRUQzMhAHEg0KCVRZUEVfQk9PTBAIEg8KC1RZUEVfU1RSSU5HEAkSDgoKVFlQ'
'RV9HUk9VUBAKEhAKDFRZUEVfTUVTU0FHRRALEg4KClRZUEVfQllURVMQDBIPCgtUWVBFX1VJTl'
'QzMhANEg0KCVRZUEVfRU5VTRAOEhEKDVRZUEVfU0ZJWEVEMzIQDxIRCg1UWVBFX1NGSVhFRDY0'
'EBASDwoLVFlQRV9TSU5UMzIQERIPCgtUWVBFX1NJTlQ2NBASInQKC0NhcmRpbmFsaXR5EhcKE0'
'NBUkRJTkFMSVRZX1VOS05PV04QABIYChRDQVJESU5BTElUWV9PUFRJT05BTBABEhgKFENBUkRJ'
'TkFMSVRZX1JFUVVJUkVEEAISGAoUQ0FSRElOQUxJVFlfUkVQRUFURUQQAw==');
@$core.Deprecated('Use enumDescriptor instead')
const Enum$json = {
'1': 'Enum',
'2': [
{'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'},
{'1': 'enumvalue', '3': 2, '4': 3, '5': 11, '6': '.google.protobuf.EnumValue', '10': 'enumvalue'},
{'1': 'options', '3': 3, '4': 3, '5': 11, '6': '.google.protobuf.Option', '10': 'options'},
{'1': 'source_context', '3': 4, '4': 1, '5': 11, '6': '.google.protobuf.SourceContext', '10': 'sourceContext'},
{'1': 'syntax', '3': 5, '4': 1, '5': 14, '6': '.google.protobuf.Syntax', '10': 'syntax'},
],
};
/// Descriptor for `Enum`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List enumDescriptor = $convert.base64Decode(
'CgRFbnVtEhIKBG5hbWUYASABKAlSBG5hbWUSOAoJZW51bXZhbHVlGAIgAygLMhouZ29vZ2xlLn'
'Byb3RvYnVmLkVudW1WYWx1ZVIJZW51bXZhbHVlEjEKB29wdGlvbnMYAyADKAsyFy5nb29nbGUu'
'cHJvdG9idWYuT3B0aW9uUgdvcHRpb25zEkUKDnNvdXJjZV9jb250ZXh0GAQgASgLMh4uZ29vZ2'
'xlLnByb3RvYnVmLlNvdXJjZUNvbnRleHRSDXNvdXJjZUNvbnRleHQSLwoGc3ludGF4GAUgASgO'
'MhcuZ29vZ2xlLnByb3RvYnVmLlN5bnRheFIGc3ludGF4');
@$core.Deprecated('Use enumValueDescriptor instead')
const EnumValue$json = {
'1': 'EnumValue',
'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': 3, '5': 11, '6': '.google.protobuf.Option', '10': 'options'},
],
};
/// Descriptor for `EnumValue`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List enumValueDescriptor = $convert.base64Decode(
'CglFbnVtVmFsdWUSEgoEbmFtZRgBIAEoCVIEbmFtZRIWCgZudW1iZXIYAiABKAVSBm51bWJlch'
'IxCgdvcHRpb25zGAMgAygLMhcuZ29vZ2xlLnByb3RvYnVmLk9wdGlvblIHb3B0aW9ucw==');
@$core.Deprecated('Use optionDescriptor instead')
const Option$json = {
'1': 'Option',
'2': [
{'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'},
{'1': 'value', '3': 2, '4': 1, '5': 11, '6': '.google.protobuf.Any', '10': 'value'},
],
};
/// Descriptor for `Option`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List optionDescriptor = $convert.base64Decode(
'CgZPcHRpb24SEgoEbmFtZRgBIAEoCVIEbmFtZRIqCgV2YWx1ZRgCIAEoCzIULmdvb2dsZS5wcm'
'90b2J1Zi5BbnlSBXZhbHVl');

View File

@@ -0,0 +1,506 @@
//
// Generated code. Do not modify.
// source: google/protobuf/wrappers.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;
/// Wrapper message for `double`.
///
/// The JSON representation for `DoubleValue` is JSON number.
class DoubleValue extends $pb.GeneratedMessage with $mixin.DoubleValueMixin {
factory DoubleValue({
$core.double? value,
}) {
final $result = create();
if (value != null) {
$result.value = value;
}
return $result;
}
DoubleValue._() : super();
factory DoubleValue.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
factory DoubleValue.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DoubleValue', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create, toProto3Json: $mixin.DoubleValueMixin.toProto3JsonHelper, fromProto3Json: $mixin.DoubleValueMixin.fromProto3JsonHelper)
..a<$core.double>(1, _omitFieldNames ? '' : 'value', $pb.PbFieldType.OD)
..hasRequiredFields = false
;
@$core.Deprecated(
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
'Will be removed in next major version')
DoubleValue clone() => DoubleValue()..mergeFromMessage(this);
@$core.Deprecated(
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
'Will be removed in next major version')
DoubleValue copyWith(void Function(DoubleValue) updates) => super.copyWith((message) => updates(message as DoubleValue)) as DoubleValue;
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static DoubleValue create() => DoubleValue._();
DoubleValue createEmptyInstance() => create();
static $pb.PbList<DoubleValue> createRepeated() => $pb.PbList<DoubleValue>();
@$core.pragma('dart2js:noInline')
static DoubleValue getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<DoubleValue>(create);
static DoubleValue? _defaultInstance;
/// The double value.
@$pb.TagNumber(1)
$core.double get value => $_getN(0);
@$pb.TagNumber(1)
set value($core.double v) { $_setDouble(0, v); }
@$pb.TagNumber(1)
$core.bool hasValue() => $_has(0);
@$pb.TagNumber(1)
void clearValue() => clearField(1);
}
/// Wrapper message for `float`.
///
/// The JSON representation for `FloatValue` is JSON number.
class FloatValue extends $pb.GeneratedMessage with $mixin.FloatValueMixin {
factory FloatValue({
$core.double? value,
}) {
final $result = create();
if (value != null) {
$result.value = value;
}
return $result;
}
FloatValue._() : super();
factory FloatValue.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
factory FloatValue.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'FloatValue', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create, toProto3Json: $mixin.FloatValueMixin.toProto3JsonHelper, fromProto3Json: $mixin.FloatValueMixin.fromProto3JsonHelper)
..a<$core.double>(1, _omitFieldNames ? '' : 'value', $pb.PbFieldType.OF)
..hasRequiredFields = false
;
@$core.Deprecated(
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
'Will be removed in next major version')
FloatValue clone() => FloatValue()..mergeFromMessage(this);
@$core.Deprecated(
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
'Will be removed in next major version')
FloatValue copyWith(void Function(FloatValue) updates) => super.copyWith((message) => updates(message as FloatValue)) as FloatValue;
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static FloatValue create() => FloatValue._();
FloatValue createEmptyInstance() => create();
static $pb.PbList<FloatValue> createRepeated() => $pb.PbList<FloatValue>();
@$core.pragma('dart2js:noInline')
static FloatValue getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<FloatValue>(create);
static FloatValue? _defaultInstance;
/// The float value.
@$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);
}
/// Wrapper message for `int64`.
///
/// The JSON representation for `Int64Value` is JSON string.
class Int64Value extends $pb.GeneratedMessage with $mixin.Int64ValueMixin {
factory Int64Value({
$fixnum.Int64? value,
}) {
final $result = create();
if (value != null) {
$result.value = value;
}
return $result;
}
Int64Value._() : super();
factory Int64Value.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
factory Int64Value.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Int64Value', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create, toProto3Json: $mixin.Int64ValueMixin.toProto3JsonHelper, fromProto3Json: $mixin.Int64ValueMixin.fromProto3JsonHelper)
..aInt64(1, _omitFieldNames ? '' : 'value')
..hasRequiredFields = false
;
@$core.Deprecated(
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
'Will be removed in next major version')
Int64Value clone() => Int64Value()..mergeFromMessage(this);
@$core.Deprecated(
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
'Will be removed in next major version')
Int64Value copyWith(void Function(Int64Value) updates) => super.copyWith((message) => updates(message as Int64Value)) as Int64Value;
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static Int64Value create() => Int64Value._();
Int64Value createEmptyInstance() => create();
static $pb.PbList<Int64Value> createRepeated() => $pb.PbList<Int64Value>();
@$core.pragma('dart2js:noInline')
static Int64Value getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<Int64Value>(create);
static Int64Value? _defaultInstance;
/// The int64 value.
@$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);
}
/// Wrapper message for `uint64`.
///
/// The JSON representation for `UInt64Value` is JSON string.
class UInt64Value extends $pb.GeneratedMessage with $mixin.UInt64ValueMixin {
factory UInt64Value({
$fixnum.Int64? value,
}) {
final $result = create();
if (value != null) {
$result.value = value;
}
return $result;
}
UInt64Value._() : super();
factory UInt64Value.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
factory UInt64Value.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UInt64Value', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create, toProto3Json: $mixin.UInt64ValueMixin.toProto3JsonHelper, fromProto3Json: $mixin.UInt64ValueMixin.fromProto3JsonHelper)
..a<$fixnum.Int64>(1, _omitFieldNames ? '' : 'value', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO)
..hasRequiredFields = false
;
@$core.Deprecated(
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
'Will be removed in next major version')
UInt64Value clone() => UInt64Value()..mergeFromMessage(this);
@$core.Deprecated(
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
'Will be removed in next major version')
UInt64Value copyWith(void Function(UInt64Value) updates) => super.copyWith((message) => updates(message as UInt64Value)) as UInt64Value;
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static UInt64Value create() => UInt64Value._();
UInt64Value createEmptyInstance() => create();
static $pb.PbList<UInt64Value> createRepeated() => $pb.PbList<UInt64Value>();
@$core.pragma('dart2js:noInline')
static UInt64Value getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<UInt64Value>(create);
static UInt64Value? _defaultInstance;
/// The uint64 value.
@$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);
}
/// Wrapper message for `int32`.
///
/// The JSON representation for `Int32Value` is JSON number.
class Int32Value extends $pb.GeneratedMessage with $mixin.Int32ValueMixin {
factory Int32Value({
$core.int? value,
}) {
final $result = create();
if (value != null) {
$result.value = value;
}
return $result;
}
Int32Value._() : super();
factory Int32Value.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
factory Int32Value.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Int32Value', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create, toProto3Json: $mixin.Int32ValueMixin.toProto3JsonHelper, fromProto3Json: $mixin.Int32ValueMixin.fromProto3JsonHelper)
..a<$core.int>(1, _omitFieldNames ? '' : 'value', $pb.PbFieldType.O3)
..hasRequiredFields = false
;
@$core.Deprecated(
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
'Will be removed in next major version')
Int32Value clone() => Int32Value()..mergeFromMessage(this);
@$core.Deprecated(
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
'Will be removed in next major version')
Int32Value copyWith(void Function(Int32Value) updates) => super.copyWith((message) => updates(message as Int32Value)) as Int32Value;
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static Int32Value create() => Int32Value._();
Int32Value createEmptyInstance() => create();
static $pb.PbList<Int32Value> createRepeated() => $pb.PbList<Int32Value>();
@$core.pragma('dart2js:noInline')
static Int32Value getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<Int32Value>(create);
static Int32Value? _defaultInstance;
/// The int32 value.
@$pb.TagNumber(1)
$core.int get value => $_getIZ(0);
@$pb.TagNumber(1)
set value($core.int v) { $_setSignedInt32(0, v); }
@$pb.TagNumber(1)
$core.bool hasValue() => $_has(0);
@$pb.TagNumber(1)
void clearValue() => clearField(1);
}
/// Wrapper message for `uint32`.
///
/// The JSON representation for `UInt32Value` is JSON number.
class UInt32Value extends $pb.GeneratedMessage with $mixin.UInt32ValueMixin {
factory UInt32Value({
$core.int? value,
}) {
final $result = create();
if (value != null) {
$result.value = value;
}
return $result;
}
UInt32Value._() : super();
factory UInt32Value.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
factory UInt32Value.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UInt32Value', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create, toProto3Json: $mixin.UInt32ValueMixin.toProto3JsonHelper, fromProto3Json: $mixin.UInt32ValueMixin.fromProto3JsonHelper)
..a<$core.int>(1, _omitFieldNames ? '' : 'value', $pb.PbFieldType.OU3)
..hasRequiredFields = false
;
@$core.Deprecated(
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
'Will be removed in next major version')
UInt32Value clone() => UInt32Value()..mergeFromMessage(this);
@$core.Deprecated(
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
'Will be removed in next major version')
UInt32Value copyWith(void Function(UInt32Value) updates) => super.copyWith((message) => updates(message as UInt32Value)) as UInt32Value;
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static UInt32Value create() => UInt32Value._();
UInt32Value createEmptyInstance() => create();
static $pb.PbList<UInt32Value> createRepeated() => $pb.PbList<UInt32Value>();
@$core.pragma('dart2js:noInline')
static UInt32Value getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<UInt32Value>(create);
static UInt32Value? _defaultInstance;
/// The uint32 value.
@$pb.TagNumber(1)
$core.int get value => $_getIZ(0);
@$pb.TagNumber(1)
set value($core.int v) { $_setUnsignedInt32(0, v); }
@$pb.TagNumber(1)
$core.bool hasValue() => $_has(0);
@$pb.TagNumber(1)
void clearValue() => clearField(1);
}
/// Wrapper message for `bool`.
///
/// The JSON representation for `BoolValue` is JSON `true` and `false`.
class BoolValue extends $pb.GeneratedMessage with $mixin.BoolValueMixin {
factory BoolValue({
$core.bool? value,
}) {
final $result = create();
if (value != null) {
$result.value = value;
}
return $result;
}
BoolValue._() : super();
factory BoolValue.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
factory BoolValue.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'BoolValue', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create, toProto3Json: $mixin.BoolValueMixin.toProto3JsonHelper, fromProto3Json: $mixin.BoolValueMixin.fromProto3JsonHelper)
..aOB(1, _omitFieldNames ? '' : 'value')
..hasRequiredFields = false
;
@$core.Deprecated(
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
'Will be removed in next major version')
BoolValue clone() => BoolValue()..mergeFromMessage(this);
@$core.Deprecated(
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
'Will be removed in next major version')
BoolValue copyWith(void Function(BoolValue) updates) => super.copyWith((message) => updates(message as BoolValue)) as BoolValue;
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static BoolValue create() => BoolValue._();
BoolValue createEmptyInstance() => create();
static $pb.PbList<BoolValue> createRepeated() => $pb.PbList<BoolValue>();
@$core.pragma('dart2js:noInline')
static BoolValue getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<BoolValue>(create);
static BoolValue? _defaultInstance;
/// The bool value.
@$pb.TagNumber(1)
$core.bool get value => $_getBF(0);
@$pb.TagNumber(1)
set value($core.bool v) { $_setBool(0, v); }
@$pb.TagNumber(1)
$core.bool hasValue() => $_has(0);
@$pb.TagNumber(1)
void clearValue() => clearField(1);
}
/// Wrapper message for `string`.
///
/// The JSON representation for `StringValue` is JSON string.
class StringValue extends $pb.GeneratedMessage with $mixin.StringValueMixin {
factory StringValue({
$core.String? value,
}) {
final $result = create();
if (value != null) {
$result.value = value;
}
return $result;
}
StringValue._() : super();
factory StringValue.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
factory StringValue.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'StringValue', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create, toProto3Json: $mixin.StringValueMixin.toProto3JsonHelper, fromProto3Json: $mixin.StringValueMixin.fromProto3JsonHelper)
..aOS(1, _omitFieldNames ? '' : 'value')
..hasRequiredFields = false
;
@$core.Deprecated(
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
'Will be removed in next major version')
StringValue clone() => StringValue()..mergeFromMessage(this);
@$core.Deprecated(
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
'Will be removed in next major version')
StringValue copyWith(void Function(StringValue) updates) => super.copyWith((message) => updates(message as StringValue)) as StringValue;
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static StringValue create() => StringValue._();
StringValue createEmptyInstance() => create();
static $pb.PbList<StringValue> createRepeated() => $pb.PbList<StringValue>();
@$core.pragma('dart2js:noInline')
static StringValue getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<StringValue>(create);
static StringValue? _defaultInstance;
/// The string value.
@$pb.TagNumber(1)
$core.String get value => $_getSZ(0);
@$pb.TagNumber(1)
set value($core.String v) { $_setString(0, v); }
@$pb.TagNumber(1)
$core.bool hasValue() => $_has(0);
@$pb.TagNumber(1)
void clearValue() => clearField(1);
}
/// Wrapper message for `bytes`.
///
/// The JSON representation for `BytesValue` is JSON string.
class BytesValue extends $pb.GeneratedMessage with $mixin.BytesValueMixin {
factory BytesValue({
$core.List<$core.int>? value,
}) {
final $result = create();
if (value != null) {
$result.value = value;
}
return $result;
}
BytesValue._() : super();
factory BytesValue.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
factory BytesValue.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'BytesValue', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create, toProto3Json: $mixin.BytesValueMixin.toProto3JsonHelper, fromProto3Json: $mixin.BytesValueMixin.fromProto3JsonHelper)
..a<$core.List<$core.int>>(1, _omitFieldNames ? '' : 'value', $pb.PbFieldType.OY)
..hasRequiredFields = false
;
@$core.Deprecated(
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
'Will be removed in next major version')
BytesValue clone() => BytesValue()..mergeFromMessage(this);
@$core.Deprecated(
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
'Will be removed in next major version')
BytesValue copyWith(void Function(BytesValue) updates) => super.copyWith((message) => updates(message as BytesValue)) as BytesValue;
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static BytesValue create() => BytesValue._();
BytesValue createEmptyInstance() => create();
static $pb.PbList<BytesValue> createRepeated() => $pb.PbList<BytesValue>();
@$core.pragma('dart2js:noInline')
static BytesValue getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<BytesValue>(create);
static BytesValue? _defaultInstance;
/// The bytes value.
@$pb.TagNumber(1)
$core.List<$core.int> get value => $_getN(0);
@$pb.TagNumber(1)
set value($core.List<$core.int> v) { $_setBytes(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');

View File

@@ -0,0 +1,11 @@
//
// Generated code. Do not modify.
// source: google/protobuf/wrappers.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

View File

@@ -0,0 +1,123 @@
//
// Generated code. Do not modify.
// source: google/protobuf/wrappers.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 doubleValueDescriptor instead')
const DoubleValue$json = {
'1': 'DoubleValue',
'2': [
{'1': 'value', '3': 1, '4': 1, '5': 1, '10': 'value'},
],
};
/// Descriptor for `DoubleValue`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List doubleValueDescriptor = $convert.base64Decode(
'CgtEb3VibGVWYWx1ZRIUCgV2YWx1ZRgBIAEoAVIFdmFsdWU=');
@$core.Deprecated('Use floatValueDescriptor instead')
const FloatValue$json = {
'1': 'FloatValue',
'2': [
{'1': 'value', '3': 1, '4': 1, '5': 2, '10': 'value'},
],
};
/// Descriptor for `FloatValue`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List floatValueDescriptor = $convert.base64Decode(
'CgpGbG9hdFZhbHVlEhQKBXZhbHVlGAEgASgCUgV2YWx1ZQ==');
@$core.Deprecated('Use int64ValueDescriptor instead')
const Int64Value$json = {
'1': 'Int64Value',
'2': [
{'1': 'value', '3': 1, '4': 1, '5': 3, '10': 'value'},
],
};
/// Descriptor for `Int64Value`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List int64ValueDescriptor = $convert.base64Decode(
'CgpJbnQ2NFZhbHVlEhQKBXZhbHVlGAEgASgDUgV2YWx1ZQ==');
@$core.Deprecated('Use uInt64ValueDescriptor instead')
const UInt64Value$json = {
'1': 'UInt64Value',
'2': [
{'1': 'value', '3': 1, '4': 1, '5': 4, '10': 'value'},
],
};
/// Descriptor for `UInt64Value`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List uInt64ValueDescriptor = $convert.base64Decode(
'CgtVSW50NjRWYWx1ZRIUCgV2YWx1ZRgBIAEoBFIFdmFsdWU=');
@$core.Deprecated('Use int32ValueDescriptor instead')
const Int32Value$json = {
'1': 'Int32Value',
'2': [
{'1': 'value', '3': 1, '4': 1, '5': 5, '10': 'value'},
],
};
/// Descriptor for `Int32Value`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List int32ValueDescriptor = $convert.base64Decode(
'CgpJbnQzMlZhbHVlEhQKBXZhbHVlGAEgASgFUgV2YWx1ZQ==');
@$core.Deprecated('Use uInt32ValueDescriptor instead')
const UInt32Value$json = {
'1': 'UInt32Value',
'2': [
{'1': 'value', '3': 1, '4': 1, '5': 13, '10': 'value'},
],
};
/// Descriptor for `UInt32Value`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List uInt32ValueDescriptor = $convert.base64Decode(
'CgtVSW50MzJWYWx1ZRIUCgV2YWx1ZRgBIAEoDVIFdmFsdWU=');
@$core.Deprecated('Use boolValueDescriptor instead')
const BoolValue$json = {
'1': 'BoolValue',
'2': [
{'1': 'value', '3': 1, '4': 1, '5': 8, '10': 'value'},
],
};
/// Descriptor for `BoolValue`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List boolValueDescriptor = $convert.base64Decode(
'CglCb29sVmFsdWUSFAoFdmFsdWUYASABKAhSBXZhbHVl');
@$core.Deprecated('Use stringValueDescriptor instead')
const StringValue$json = {
'1': 'StringValue',
'2': [
{'1': 'value', '3': 1, '4': 1, '5': 9, '10': 'value'},
],
};
/// Descriptor for `StringValue`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List stringValueDescriptor = $convert.base64Decode(
'CgtTdHJpbmdWYWx1ZRIUCgV2YWx1ZRgBIAEoCVIFdmFsdWU=');
@$core.Deprecated('Use bytesValueDescriptor instead')
const BytesValue$json = {
'1': 'BytesValue',
'2': [
{'1': 'value', '3': 1, '4': 1, '5': 12, '10': 'value'},
],
};
/// Descriptor for `BytesValue`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List bytesValueDescriptor = $convert.base64Decode(
'CgpCeXRlc1ZhbHVlEhQKBXZhbHVlGAEgASgMUgV2YWx1ZQ==');

View File

@@ -0,0 +1,15 @@
//
// Generated code. Do not modify.
// source: google/rpc/code.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;
export 'code.pbenum.dart';

View File

@@ -0,0 +1,69 @@
//
// Generated code. Do not modify.
// source: google/rpc/code.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;
/// The canonical error codes for Google APIs.
///
///
/// Sometimes multiple error codes may apply. Services should return
/// the most specific error code that applies. For example, prefer
/// `OUT_OF_RANGE` over `FAILED_PRECONDITION` if both codes apply.
/// Similarly prefer `NOT_FOUND` or `ALREADY_EXISTS` over `FAILED_PRECONDITION`.
class Code extends $pb.ProtobufEnum {
static const Code OK = Code._(0, _omitEnumNames ? '' : 'OK');
static const Code CANCELLED = Code._(1, _omitEnumNames ? '' : 'CANCELLED');
static const Code UNKNOWN = Code._(2, _omitEnumNames ? '' : 'UNKNOWN');
static const Code INVALID_ARGUMENT = Code._(3, _omitEnumNames ? '' : 'INVALID_ARGUMENT');
static const Code DEADLINE_EXCEEDED = Code._(4, _omitEnumNames ? '' : 'DEADLINE_EXCEEDED');
static const Code NOT_FOUND = Code._(5, _omitEnumNames ? '' : 'NOT_FOUND');
static const Code ALREADY_EXISTS = Code._(6, _omitEnumNames ? '' : 'ALREADY_EXISTS');
static const Code PERMISSION_DENIED = Code._(7, _omitEnumNames ? '' : 'PERMISSION_DENIED');
static const Code UNAUTHENTICATED = Code._(16, _omitEnumNames ? '' : 'UNAUTHENTICATED');
static const Code RESOURCE_EXHAUSTED = Code._(8, _omitEnumNames ? '' : 'RESOURCE_EXHAUSTED');
static const Code FAILED_PRECONDITION = Code._(9, _omitEnumNames ? '' : 'FAILED_PRECONDITION');
static const Code ABORTED = Code._(10, _omitEnumNames ? '' : 'ABORTED');
static const Code OUT_OF_RANGE = Code._(11, _omitEnumNames ? '' : 'OUT_OF_RANGE');
static const Code UNIMPLEMENTED = Code._(12, _omitEnumNames ? '' : 'UNIMPLEMENTED');
static const Code INTERNAL = Code._(13, _omitEnumNames ? '' : 'INTERNAL');
static const Code UNAVAILABLE = Code._(14, _omitEnumNames ? '' : 'UNAVAILABLE');
static const Code DATA_LOSS = Code._(15, _omitEnumNames ? '' : 'DATA_LOSS');
static const $core.List<Code> values = <Code> [
OK,
CANCELLED,
UNKNOWN,
INVALID_ARGUMENT,
DEADLINE_EXCEEDED,
NOT_FOUND,
ALREADY_EXISTS,
PERMISSION_DENIED,
UNAUTHENTICATED,
RESOURCE_EXHAUSTED,
FAILED_PRECONDITION,
ABORTED,
OUT_OF_RANGE,
UNIMPLEMENTED,
INTERNAL,
UNAVAILABLE,
DATA_LOSS,
];
static final $core.Map<$core.int, Code> _byValue = $pb.ProtobufEnum.initByValue(values);
static Code? valueOf($core.int value) => _byValue[value];
const Code._($core.int v, $core.String n) : super(v, n);
}
const _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names');

View File

@@ -0,0 +1,48 @@
//
// Generated code. Do not modify.
// source: google/rpc/code.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 codeDescriptor instead')
const Code$json = {
'1': 'Code',
'2': [
{'1': 'OK', '2': 0},
{'1': 'CANCELLED', '2': 1},
{'1': 'UNKNOWN', '2': 2},
{'1': 'INVALID_ARGUMENT', '2': 3},
{'1': 'DEADLINE_EXCEEDED', '2': 4},
{'1': 'NOT_FOUND', '2': 5},
{'1': 'ALREADY_EXISTS', '2': 6},
{'1': 'PERMISSION_DENIED', '2': 7},
{'1': 'UNAUTHENTICATED', '2': 16},
{'1': 'RESOURCE_EXHAUSTED', '2': 8},
{'1': 'FAILED_PRECONDITION', '2': 9},
{'1': 'ABORTED', '2': 10},
{'1': 'OUT_OF_RANGE', '2': 11},
{'1': 'UNIMPLEMENTED', '2': 12},
{'1': 'INTERNAL', '2': 13},
{'1': 'UNAVAILABLE', '2': 14},
{'1': 'DATA_LOSS', '2': 15},
],
};
/// Descriptor for `Code`. Decode as a `google.protobuf.EnumDescriptorProto`.
final $typed_data.Uint8List codeDescriptor = $convert.base64Decode(
'CgRDb2RlEgYKAk9LEAASDQoJQ0FOQ0VMTEVEEAESCwoHVU5LTk9XThACEhQKEElOVkFMSURfQV'
'JHVU1FTlQQAxIVChFERUFETElORV9FWENFRURFRBAEEg0KCU5PVF9GT1VORBAFEhIKDkFMUkVB'
'RFlfRVhJU1RTEAYSFQoRUEVSTUlTU0lPTl9ERU5JRUQQBxITCg9VTkFVVEhFTlRJQ0FURUQQEB'
'IWChJSRVNPVVJDRV9FWEhBVVNURUQQCBIXChNGQUlMRURfUFJFQ09ORElUSU9OEAkSCwoHQUJP'
'UlRFRBAKEhAKDE9VVF9PRl9SQU5HRRALEhEKDVVOSU1QTEVNRU5URUQQDBIMCghJTlRFUk5BTB'
'ANEg8KC1VOQVZBSUxBQkxFEA4SDQoJREFUQV9MT1NTEA8=');

View File

@@ -0,0 +1,896 @@
//
// Generated code. Do not modify.
// source: google/rpc/error_details.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/duration.pb.dart' as $13;
/// Describes when the clients can retry a failed request. Clients could ignore
/// the recommendation here or retry when this information is missing from error
/// responses.
///
/// It's always recommended that clients should use exponential backoff when
/// retrying.
///
/// Clients should wait until `retry_delay` amount of time has passed since
/// receiving the error response before retrying. If retrying requests also
/// fail, clients should use an exponential backoff scheme to gradually increase
/// the delay between retries based on `retry_delay`, until either a maximum
/// number of retires have been reached or a maximum retry delay cap has been
/// reached.
class RetryInfo extends $pb.GeneratedMessage {
factory RetryInfo({
$13.Duration? retryDelay,
}) {
final $result = create();
if (retryDelay != null) {
$result.retryDelay = retryDelay;
}
return $result;
}
RetryInfo._() : super();
factory RetryInfo.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
factory RetryInfo.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RetryInfo', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.rpc'), createEmptyInstance: create)
..aOM<$13.Duration>(1, _omitFieldNames ? '' : 'retryDelay', subBuilder: $13.Duration.create)
..hasRequiredFields = false
;
@$core.Deprecated(
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
'Will be removed in next major version')
RetryInfo clone() => RetryInfo()..mergeFromMessage(this);
@$core.Deprecated(
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
'Will be removed in next major version')
RetryInfo copyWith(void Function(RetryInfo) updates) => super.copyWith((message) => updates(message as RetryInfo)) as RetryInfo;
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static RetryInfo create() => RetryInfo._();
RetryInfo createEmptyInstance() => create();
static $pb.PbList<RetryInfo> createRepeated() => $pb.PbList<RetryInfo>();
@$core.pragma('dart2js:noInline')
static RetryInfo getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<RetryInfo>(create);
static RetryInfo? _defaultInstance;
/// Clients should wait at least this long between retrying the same request.
@$pb.TagNumber(1)
$13.Duration get retryDelay => $_getN(0);
@$pb.TagNumber(1)
set retryDelay($13.Duration v) { setField(1, v); }
@$pb.TagNumber(1)
$core.bool hasRetryDelay() => $_has(0);
@$pb.TagNumber(1)
void clearRetryDelay() => clearField(1);
@$pb.TagNumber(1)
$13.Duration ensureRetryDelay() => $_ensure(0);
}
/// Describes additional debugging info.
class DebugInfo extends $pb.GeneratedMessage {
factory DebugInfo({
$core.Iterable<$core.String>? stackEntries,
$core.String? detail,
}) {
final $result = create();
if (stackEntries != null) {
$result.stackEntries.addAll(stackEntries);
}
if (detail != null) {
$result.detail = detail;
}
return $result;
}
DebugInfo._() : super();
factory DebugInfo.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
factory DebugInfo.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DebugInfo', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.rpc'), createEmptyInstance: create)
..pPS(1, _omitFieldNames ? '' : 'stackEntries')
..aOS(2, _omitFieldNames ? '' : 'detail')
..hasRequiredFields = false
;
@$core.Deprecated(
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
'Will be removed in next major version')
DebugInfo clone() => DebugInfo()..mergeFromMessage(this);
@$core.Deprecated(
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
'Will be removed in next major version')
DebugInfo copyWith(void Function(DebugInfo) updates) => super.copyWith((message) => updates(message as DebugInfo)) as DebugInfo;
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static DebugInfo create() => DebugInfo._();
DebugInfo createEmptyInstance() => create();
static $pb.PbList<DebugInfo> createRepeated() => $pb.PbList<DebugInfo>();
@$core.pragma('dart2js:noInline')
static DebugInfo getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<DebugInfo>(create);
static DebugInfo? _defaultInstance;
/// The stack trace entries indicating where the error occurred.
@$pb.TagNumber(1)
$core.List<$core.String> get stackEntries => $_getList(0);
/// Additional debugging information provided by the server.
@$pb.TagNumber(2)
$core.String get detail => $_getSZ(1);
@$pb.TagNumber(2)
set detail($core.String v) { $_setString(1, v); }
@$pb.TagNumber(2)
$core.bool hasDetail() => $_has(1);
@$pb.TagNumber(2)
void clearDetail() => clearField(2);
}
/// A message type used to describe a single quota violation. For example, a
/// daily quota or a custom quota that was exceeded.
class QuotaFailure_Violation extends $pb.GeneratedMessage {
factory QuotaFailure_Violation({
$core.String? subject,
$core.String? description,
}) {
final $result = create();
if (subject != null) {
$result.subject = subject;
}
if (description != null) {
$result.description = description;
}
return $result;
}
QuotaFailure_Violation._() : super();
factory QuotaFailure_Violation.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
factory QuotaFailure_Violation.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'QuotaFailure.Violation', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.rpc'), createEmptyInstance: create)
..aOS(1, _omitFieldNames ? '' : 'subject')
..aOS(2, _omitFieldNames ? '' : 'description')
..hasRequiredFields = false
;
@$core.Deprecated(
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
'Will be removed in next major version')
QuotaFailure_Violation clone() => QuotaFailure_Violation()..mergeFromMessage(this);
@$core.Deprecated(
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
'Will be removed in next major version')
QuotaFailure_Violation copyWith(void Function(QuotaFailure_Violation) updates) => super.copyWith((message) => updates(message as QuotaFailure_Violation)) as QuotaFailure_Violation;
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static QuotaFailure_Violation create() => QuotaFailure_Violation._();
QuotaFailure_Violation createEmptyInstance() => create();
static $pb.PbList<QuotaFailure_Violation> createRepeated() => $pb.PbList<QuotaFailure_Violation>();
@$core.pragma('dart2js:noInline')
static QuotaFailure_Violation getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<QuotaFailure_Violation>(create);
static QuotaFailure_Violation? _defaultInstance;
/// The subject on which the quota check failed.
/// For example, "clientip:<ip address of client>" or "project:<Google
/// developer project id>".
@$pb.TagNumber(1)
$core.String get subject => $_getSZ(0);
@$pb.TagNumber(1)
set subject($core.String v) { $_setString(0, v); }
@$pb.TagNumber(1)
$core.bool hasSubject() => $_has(0);
@$pb.TagNumber(1)
void clearSubject() => clearField(1);
/// A description of how the quota check failed. Clients can use this
/// description to find more about the quota configuration in the service's
/// public documentation, or find the relevant quota limit to adjust through
/// developer console.
///
/// For example: "Service disabled" or "Daily Limit for read operations
/// exceeded".
@$pb.TagNumber(2)
$core.String get description => $_getSZ(1);
@$pb.TagNumber(2)
set description($core.String v) { $_setString(1, v); }
@$pb.TagNumber(2)
$core.bool hasDescription() => $_has(1);
@$pb.TagNumber(2)
void clearDescription() => clearField(2);
}
/// Describes how a quota check failed.
///
/// For example if a daily limit was exceeded for the calling project,
/// a service could respond with a QuotaFailure detail containing the project
/// id and the description of the quota limit that was exceeded. If the
/// calling project hasn't enabled the service in the developer console, then
/// a service could respond with the project id and set `service_disabled`
/// to true.
///
/// Also see RetryDetail and Help types for other details about handling a
/// quota failure.
class QuotaFailure extends $pb.GeneratedMessage {
factory QuotaFailure({
$core.Iterable<QuotaFailure_Violation>? violations,
}) {
final $result = create();
if (violations != null) {
$result.violations.addAll(violations);
}
return $result;
}
QuotaFailure._() : super();
factory QuotaFailure.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
factory QuotaFailure.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'QuotaFailure', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.rpc'), createEmptyInstance: create)
..pc<QuotaFailure_Violation>(1, _omitFieldNames ? '' : 'violations', $pb.PbFieldType.PM, subBuilder: QuotaFailure_Violation.create)
..hasRequiredFields = false
;
@$core.Deprecated(
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
'Will be removed in next major version')
QuotaFailure clone() => QuotaFailure()..mergeFromMessage(this);
@$core.Deprecated(
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
'Will be removed in next major version')
QuotaFailure copyWith(void Function(QuotaFailure) updates) => super.copyWith((message) => updates(message as QuotaFailure)) as QuotaFailure;
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static QuotaFailure create() => QuotaFailure._();
QuotaFailure createEmptyInstance() => create();
static $pb.PbList<QuotaFailure> createRepeated() => $pb.PbList<QuotaFailure>();
@$core.pragma('dart2js:noInline')
static QuotaFailure getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<QuotaFailure>(create);
static QuotaFailure? _defaultInstance;
/// Describes all quota violations.
@$pb.TagNumber(1)
$core.List<QuotaFailure_Violation> get violations => $_getList(0);
}
/// A message type used to describe a single precondition failure.
class PreconditionFailure_Violation extends $pb.GeneratedMessage {
factory PreconditionFailure_Violation({
$core.String? type,
$core.String? subject,
$core.String? description,
}) {
final $result = create();
if (type != null) {
$result.type = type;
}
if (subject != null) {
$result.subject = subject;
}
if (description != null) {
$result.description = description;
}
return $result;
}
PreconditionFailure_Violation._() : super();
factory PreconditionFailure_Violation.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
factory PreconditionFailure_Violation.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PreconditionFailure.Violation', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.rpc'), createEmptyInstance: create)
..aOS(1, _omitFieldNames ? '' : 'type')
..aOS(2, _omitFieldNames ? '' : 'subject')
..aOS(3, _omitFieldNames ? '' : 'description')
..hasRequiredFields = false
;
@$core.Deprecated(
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
'Will be removed in next major version')
PreconditionFailure_Violation clone() => PreconditionFailure_Violation()..mergeFromMessage(this);
@$core.Deprecated(
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
'Will be removed in next major version')
PreconditionFailure_Violation copyWith(void Function(PreconditionFailure_Violation) updates) => super.copyWith((message) => updates(message as PreconditionFailure_Violation)) as PreconditionFailure_Violation;
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static PreconditionFailure_Violation create() => PreconditionFailure_Violation._();
PreconditionFailure_Violation createEmptyInstance() => create();
static $pb.PbList<PreconditionFailure_Violation> createRepeated() => $pb.PbList<PreconditionFailure_Violation>();
@$core.pragma('dart2js:noInline')
static PreconditionFailure_Violation getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<PreconditionFailure_Violation>(create);
static PreconditionFailure_Violation? _defaultInstance;
/// The type of PreconditionFailure. We recommend using a service-specific
/// enum type to define the supported precondition violation types. For
/// example, "TOS" for "Terms of Service violation".
@$pb.TagNumber(1)
$core.String get type => $_getSZ(0);
@$pb.TagNumber(1)
set type($core.String v) { $_setString(0, v); }
@$pb.TagNumber(1)
$core.bool hasType() => $_has(0);
@$pb.TagNumber(1)
void clearType() => clearField(1);
/// The subject, relative to the type, that failed.
/// For example, "google.com/cloud" relative to the "TOS" type would
/// indicate which terms of service is being referenced.
@$pb.TagNumber(2)
$core.String get subject => $_getSZ(1);
@$pb.TagNumber(2)
set subject($core.String v) { $_setString(1, v); }
@$pb.TagNumber(2)
$core.bool hasSubject() => $_has(1);
@$pb.TagNumber(2)
void clearSubject() => clearField(2);
/// A description of how the precondition failed. Developers can use this
/// description to understand how to fix the failure.
///
/// For example: "Terms of service not accepted".
@$pb.TagNumber(3)
$core.String get description => $_getSZ(2);
@$pb.TagNumber(3)
set description($core.String v) { $_setString(2, v); }
@$pb.TagNumber(3)
$core.bool hasDescription() => $_has(2);
@$pb.TagNumber(3)
void clearDescription() => clearField(3);
}
/// Describes what preconditions have failed.
///
/// For example, if an RPC failed because it required the Terms of Service to be
/// acknowledged, it could list the terms of service violation in the
/// PreconditionFailure message.
class PreconditionFailure extends $pb.GeneratedMessage {
factory PreconditionFailure({
$core.Iterable<PreconditionFailure_Violation>? violations,
}) {
final $result = create();
if (violations != null) {
$result.violations.addAll(violations);
}
return $result;
}
PreconditionFailure._() : super();
factory PreconditionFailure.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
factory PreconditionFailure.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PreconditionFailure', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.rpc'), createEmptyInstance: create)
..pc<PreconditionFailure_Violation>(1, _omitFieldNames ? '' : 'violations', $pb.PbFieldType.PM, subBuilder: PreconditionFailure_Violation.create)
..hasRequiredFields = false
;
@$core.Deprecated(
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
'Will be removed in next major version')
PreconditionFailure clone() => PreconditionFailure()..mergeFromMessage(this);
@$core.Deprecated(
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
'Will be removed in next major version')
PreconditionFailure copyWith(void Function(PreconditionFailure) updates) => super.copyWith((message) => updates(message as PreconditionFailure)) as PreconditionFailure;
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static PreconditionFailure create() => PreconditionFailure._();
PreconditionFailure createEmptyInstance() => create();
static $pb.PbList<PreconditionFailure> createRepeated() => $pb.PbList<PreconditionFailure>();
@$core.pragma('dart2js:noInline')
static PreconditionFailure getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<PreconditionFailure>(create);
static PreconditionFailure? _defaultInstance;
/// Describes all precondition violations.
@$pb.TagNumber(1)
$core.List<PreconditionFailure_Violation> get violations => $_getList(0);
}
/// A message type used to describe a single bad request field.
class BadRequest_FieldViolation extends $pb.GeneratedMessage {
factory BadRequest_FieldViolation({
$core.String? field_1,
$core.String? description,
}) {
final $result = create();
if (field_1 != null) {
$result.field_1 = field_1;
}
if (description != null) {
$result.description = description;
}
return $result;
}
BadRequest_FieldViolation._() : super();
factory BadRequest_FieldViolation.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
factory BadRequest_FieldViolation.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'BadRequest.FieldViolation', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.rpc'), createEmptyInstance: create)
..aOS(1, _omitFieldNames ? '' : 'field')
..aOS(2, _omitFieldNames ? '' : 'description')
..hasRequiredFields = false
;
@$core.Deprecated(
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
'Will be removed in next major version')
BadRequest_FieldViolation clone() => BadRequest_FieldViolation()..mergeFromMessage(this);
@$core.Deprecated(
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
'Will be removed in next major version')
BadRequest_FieldViolation copyWith(void Function(BadRequest_FieldViolation) updates) => super.copyWith((message) => updates(message as BadRequest_FieldViolation)) as BadRequest_FieldViolation;
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static BadRequest_FieldViolation create() => BadRequest_FieldViolation._();
BadRequest_FieldViolation createEmptyInstance() => create();
static $pb.PbList<BadRequest_FieldViolation> createRepeated() => $pb.PbList<BadRequest_FieldViolation>();
@$core.pragma('dart2js:noInline')
static BadRequest_FieldViolation getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<BadRequest_FieldViolation>(create);
static BadRequest_FieldViolation? _defaultInstance;
/// A path leading to a field in the request body. The value will be a
/// sequence of dot-separated identifiers that identify a protocol buffer
/// field. E.g., "field_violations.field" would identify this field.
@$pb.TagNumber(1)
$core.String get field_1 => $_getSZ(0);
@$pb.TagNumber(1)
set field_1($core.String v) { $_setString(0, v); }
@$pb.TagNumber(1)
$core.bool hasField_1() => $_has(0);
@$pb.TagNumber(1)
void clearField_1() => clearField(1);
/// A description of why the request element is bad.
@$pb.TagNumber(2)
$core.String get description => $_getSZ(1);
@$pb.TagNumber(2)
set description($core.String v) { $_setString(1, v); }
@$pb.TagNumber(2)
$core.bool hasDescription() => $_has(1);
@$pb.TagNumber(2)
void clearDescription() => clearField(2);
}
/// Describes violations in a client request. This error type focuses on the
/// syntactic aspects of the request.
class BadRequest extends $pb.GeneratedMessage {
factory BadRequest({
$core.Iterable<BadRequest_FieldViolation>? fieldViolations,
}) {
final $result = create();
if (fieldViolations != null) {
$result.fieldViolations.addAll(fieldViolations);
}
return $result;
}
BadRequest._() : super();
factory BadRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
factory BadRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'BadRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.rpc'), createEmptyInstance: create)
..pc<BadRequest_FieldViolation>(1, _omitFieldNames ? '' : 'fieldViolations', $pb.PbFieldType.PM, subBuilder: BadRequest_FieldViolation.create)
..hasRequiredFields = false
;
@$core.Deprecated(
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
'Will be removed in next major version')
BadRequest clone() => BadRequest()..mergeFromMessage(this);
@$core.Deprecated(
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
'Will be removed in next major version')
BadRequest copyWith(void Function(BadRequest) updates) => super.copyWith((message) => updates(message as BadRequest)) as BadRequest;
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static BadRequest create() => BadRequest._();
BadRequest createEmptyInstance() => create();
static $pb.PbList<BadRequest> createRepeated() => $pb.PbList<BadRequest>();
@$core.pragma('dart2js:noInline')
static BadRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<BadRequest>(create);
static BadRequest? _defaultInstance;
/// Describes all violations in a client request.
@$pb.TagNumber(1)
$core.List<BadRequest_FieldViolation> get fieldViolations => $_getList(0);
}
/// Contains metadata about the request that clients can attach when filing a bug
/// or providing other forms of feedback.
class RequestInfo extends $pb.GeneratedMessage {
factory RequestInfo({
$core.String? requestId,
$core.String? servingData,
}) {
final $result = create();
if (requestId != null) {
$result.requestId = requestId;
}
if (servingData != null) {
$result.servingData = servingData;
}
return $result;
}
RequestInfo._() : super();
factory RequestInfo.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
factory RequestInfo.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RequestInfo', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.rpc'), createEmptyInstance: create)
..aOS(1, _omitFieldNames ? '' : 'requestId')
..aOS(2, _omitFieldNames ? '' : 'servingData')
..hasRequiredFields = false
;
@$core.Deprecated(
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
'Will be removed in next major version')
RequestInfo clone() => RequestInfo()..mergeFromMessage(this);
@$core.Deprecated(
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
'Will be removed in next major version')
RequestInfo copyWith(void Function(RequestInfo) updates) => super.copyWith((message) => updates(message as RequestInfo)) as RequestInfo;
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static RequestInfo create() => RequestInfo._();
RequestInfo createEmptyInstance() => create();
static $pb.PbList<RequestInfo> createRepeated() => $pb.PbList<RequestInfo>();
@$core.pragma('dart2js:noInline')
static RequestInfo getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<RequestInfo>(create);
static RequestInfo? _defaultInstance;
/// An opaque string that should only be interpreted by the service generating
/// it. For example, it can be used to identify requests in the service's logs.
@$pb.TagNumber(1)
$core.String get requestId => $_getSZ(0);
@$pb.TagNumber(1)
set requestId($core.String v) { $_setString(0, v); }
@$pb.TagNumber(1)
$core.bool hasRequestId() => $_has(0);
@$pb.TagNumber(1)
void clearRequestId() => clearField(1);
/// Any data that was used to serve this request. For example, an encrypted
/// stack trace that can be sent back to the service provider for debugging.
@$pb.TagNumber(2)
$core.String get servingData => $_getSZ(1);
@$pb.TagNumber(2)
set servingData($core.String v) { $_setString(1, v); }
@$pb.TagNumber(2)
$core.bool hasServingData() => $_has(1);
@$pb.TagNumber(2)
void clearServingData() => clearField(2);
}
/// Describes the resource that is being accessed.
class ResourceInfo extends $pb.GeneratedMessage {
factory ResourceInfo({
$core.String? resourceType,
$core.String? resourceName,
$core.String? owner,
$core.String? description,
}) {
final $result = create();
if (resourceType != null) {
$result.resourceType = resourceType;
}
if (resourceName != null) {
$result.resourceName = resourceName;
}
if (owner != null) {
$result.owner = owner;
}
if (description != null) {
$result.description = description;
}
return $result;
}
ResourceInfo._() : super();
factory ResourceInfo.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
factory ResourceInfo.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ResourceInfo', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.rpc'), createEmptyInstance: create)
..aOS(1, _omitFieldNames ? '' : 'resourceType')
..aOS(2, _omitFieldNames ? '' : 'resourceName')
..aOS(3, _omitFieldNames ? '' : 'owner')
..aOS(4, _omitFieldNames ? '' : 'description')
..hasRequiredFields = false
;
@$core.Deprecated(
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
'Will be removed in next major version')
ResourceInfo clone() => ResourceInfo()..mergeFromMessage(this);
@$core.Deprecated(
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
'Will be removed in next major version')
ResourceInfo copyWith(void Function(ResourceInfo) updates) => super.copyWith((message) => updates(message as ResourceInfo)) as ResourceInfo;
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static ResourceInfo create() => ResourceInfo._();
ResourceInfo createEmptyInstance() => create();
static $pb.PbList<ResourceInfo> createRepeated() => $pb.PbList<ResourceInfo>();
@$core.pragma('dart2js:noInline')
static ResourceInfo getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<ResourceInfo>(create);
static ResourceInfo? _defaultInstance;
/// A name for the type of resource being accessed, e.g. "sql table",
/// "cloud storage bucket", "file", "Google calendar"; or the type URL
/// of the resource: e.g. "type.googleapis.com/google.pubsub.v1.Topic".
@$pb.TagNumber(1)
$core.String get resourceType => $_getSZ(0);
@$pb.TagNumber(1)
set resourceType($core.String v) { $_setString(0, v); }
@$pb.TagNumber(1)
$core.bool hasResourceType() => $_has(0);
@$pb.TagNumber(1)
void clearResourceType() => clearField(1);
/// The name of the resource being accessed. For example, a shared calendar
/// name: "example.com_4fghdhgsrgh@group.calendar.google.com", if the current
/// error is [google.rpc.Code.PERMISSION_DENIED][google.rpc.Code.PERMISSION_DENIED].
@$pb.TagNumber(2)
$core.String get resourceName => $_getSZ(1);
@$pb.TagNumber(2)
set resourceName($core.String v) { $_setString(1, v); }
@$pb.TagNumber(2)
$core.bool hasResourceName() => $_has(1);
@$pb.TagNumber(2)
void clearResourceName() => clearField(2);
/// The owner of the resource (optional).
/// For example, "user:<owner email>" or "project:<Google developer project
/// id>".
@$pb.TagNumber(3)
$core.String get owner => $_getSZ(2);
@$pb.TagNumber(3)
set owner($core.String v) { $_setString(2, v); }
@$pb.TagNumber(3)
$core.bool hasOwner() => $_has(2);
@$pb.TagNumber(3)
void clearOwner() => clearField(3);
/// Describes what error is encountered when accessing this resource.
/// For example, updating a cloud project may require the `writer` permission
/// on the developer console project.
@$pb.TagNumber(4)
$core.String get description => $_getSZ(3);
@$pb.TagNumber(4)
set description($core.String v) { $_setString(3, v); }
@$pb.TagNumber(4)
$core.bool hasDescription() => $_has(3);
@$pb.TagNumber(4)
void clearDescription() => clearField(4);
}
/// Describes a URL link.
class Help_Link extends $pb.GeneratedMessage {
factory Help_Link({
$core.String? description,
$core.String? url,
}) {
final $result = create();
if (description != null) {
$result.description = description;
}
if (url != null) {
$result.url = url;
}
return $result;
}
Help_Link._() : super();
factory Help_Link.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
factory Help_Link.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Help.Link', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.rpc'), createEmptyInstance: create)
..aOS(1, _omitFieldNames ? '' : 'description')
..aOS(2, _omitFieldNames ? '' : 'url')
..hasRequiredFields = false
;
@$core.Deprecated(
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
'Will be removed in next major version')
Help_Link clone() => Help_Link()..mergeFromMessage(this);
@$core.Deprecated(
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
'Will be removed in next major version')
Help_Link copyWith(void Function(Help_Link) updates) => super.copyWith((message) => updates(message as Help_Link)) as Help_Link;
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static Help_Link create() => Help_Link._();
Help_Link createEmptyInstance() => create();
static $pb.PbList<Help_Link> createRepeated() => $pb.PbList<Help_Link>();
@$core.pragma('dart2js:noInline')
static Help_Link getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<Help_Link>(create);
static Help_Link? _defaultInstance;
/// Describes what the link offers.
@$pb.TagNumber(1)
$core.String get description => $_getSZ(0);
@$pb.TagNumber(1)
set description($core.String v) { $_setString(0, v); }
@$pb.TagNumber(1)
$core.bool hasDescription() => $_has(0);
@$pb.TagNumber(1)
void clearDescription() => clearField(1);
/// The URL of the link.
@$pb.TagNumber(2)
$core.String get url => $_getSZ(1);
@$pb.TagNumber(2)
set url($core.String v) { $_setString(1, v); }
@$pb.TagNumber(2)
$core.bool hasUrl() => $_has(1);
@$pb.TagNumber(2)
void clearUrl() => clearField(2);
}
/// Provides links to documentation or for performing an out of band action.
///
/// For example, if a quota check failed with an error indicating the calling
/// project hasn't enabled the accessed service, this can contain a URL pointing
/// directly to the right place in the developer console to flip the bit.
class Help extends $pb.GeneratedMessage {
factory Help({
$core.Iterable<Help_Link>? links,
}) {
final $result = create();
if (links != null) {
$result.links.addAll(links);
}
return $result;
}
Help._() : super();
factory Help.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
factory Help.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Help', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.rpc'), createEmptyInstance: create)
..pc<Help_Link>(1, _omitFieldNames ? '' : 'links', $pb.PbFieldType.PM, subBuilder: Help_Link.create)
..hasRequiredFields = false
;
@$core.Deprecated(
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
'Will be removed in next major version')
Help clone() => Help()..mergeFromMessage(this);
@$core.Deprecated(
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
'Will be removed in next major version')
Help copyWith(void Function(Help) updates) => super.copyWith((message) => updates(message as Help)) as Help;
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static Help create() => Help._();
Help createEmptyInstance() => create();
static $pb.PbList<Help> createRepeated() => $pb.PbList<Help>();
@$core.pragma('dart2js:noInline')
static Help getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<Help>(create);
static Help? _defaultInstance;
/// URL(s) pointing to additional information on handling the current error.
@$pb.TagNumber(1)
$core.List<Help_Link> get links => $_getList(0);
}
/// Provides a localized error message that is safe to return to the user
/// which can be attached to an RPC error.
class LocalizedMessage extends $pb.GeneratedMessage {
factory LocalizedMessage({
$core.String? locale,
$core.String? message,
}) {
final $result = create();
if (locale != null) {
$result.locale = locale;
}
if (message != null) {
$result.message = message;
}
return $result;
}
LocalizedMessage._() : super();
factory LocalizedMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
factory LocalizedMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'LocalizedMessage', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.rpc'), createEmptyInstance: create)
..aOS(1, _omitFieldNames ? '' : 'locale')
..aOS(2, _omitFieldNames ? '' : 'message')
..hasRequiredFields = false
;
@$core.Deprecated(
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
'Will be removed in next major version')
LocalizedMessage clone() => LocalizedMessage()..mergeFromMessage(this);
@$core.Deprecated(
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
'Will be removed in next major version')
LocalizedMessage copyWith(void Function(LocalizedMessage) updates) => super.copyWith((message) => updates(message as LocalizedMessage)) as LocalizedMessage;
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static LocalizedMessage create() => LocalizedMessage._();
LocalizedMessage createEmptyInstance() => create();
static $pb.PbList<LocalizedMessage> createRepeated() => $pb.PbList<LocalizedMessage>();
@$core.pragma('dart2js:noInline')
static LocalizedMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<LocalizedMessage>(create);
static LocalizedMessage? _defaultInstance;
/// The locale used following the specification defined at
/// http://www.rfc-editor.org/rfc/bcp/bcp47.txt.
/// Examples are: "en-US", "fr-CH", "es-MX"
@$pb.TagNumber(1)
$core.String get locale => $_getSZ(0);
@$pb.TagNumber(1)
set locale($core.String v) { $_setString(0, v); }
@$pb.TagNumber(1)
$core.bool hasLocale() => $_has(0);
@$pb.TagNumber(1)
void clearLocale() => clearField(1);
/// The localized error message in the above locale.
@$pb.TagNumber(2)
$core.String get message => $_getSZ(1);
@$pb.TagNumber(2)
set message($core.String v) { $_setString(1, v); }
@$pb.TagNumber(2)
$core.bool hasMessage() => $_has(1);
@$pb.TagNumber(2)
void clearMessage() => clearField(2);
}
const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names');
const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names');

View File

@@ -0,0 +1,11 @@
//
// Generated code. Do not modify.
// source: google/rpc/error_details.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

View File

@@ -0,0 +1,185 @@
//
// Generated code. Do not modify.
// source: google/rpc/error_details.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 retryInfoDescriptor instead')
const RetryInfo$json = {
'1': 'RetryInfo',
'2': [
{'1': 'retry_delay', '3': 1, '4': 1, '5': 11, '6': '.google.protobuf.Duration', '10': 'retryDelay'},
],
};
/// Descriptor for `RetryInfo`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List retryInfoDescriptor = $convert.base64Decode(
'CglSZXRyeUluZm8SOgoLcmV0cnlfZGVsYXkYASABKAsyGS5nb29nbGUucHJvdG9idWYuRHVyYX'
'Rpb25SCnJldHJ5RGVsYXk=');
@$core.Deprecated('Use debugInfoDescriptor instead')
const DebugInfo$json = {
'1': 'DebugInfo',
'2': [
{'1': 'stack_entries', '3': 1, '4': 3, '5': 9, '10': 'stackEntries'},
{'1': 'detail', '3': 2, '4': 1, '5': 9, '10': 'detail'},
],
};
/// Descriptor for `DebugInfo`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List debugInfoDescriptor = $convert.base64Decode(
'CglEZWJ1Z0luZm8SIwoNc3RhY2tfZW50cmllcxgBIAMoCVIMc3RhY2tFbnRyaWVzEhYKBmRldG'
'FpbBgCIAEoCVIGZGV0YWls');
@$core.Deprecated('Use quotaFailureDescriptor instead')
const QuotaFailure$json = {
'1': 'QuotaFailure',
'2': [
{'1': 'violations', '3': 1, '4': 3, '5': 11, '6': '.google.rpc.QuotaFailure.Violation', '10': 'violations'},
],
'3': [QuotaFailure_Violation$json],
};
@$core.Deprecated('Use quotaFailureDescriptor instead')
const QuotaFailure_Violation$json = {
'1': 'Violation',
'2': [
{'1': 'subject', '3': 1, '4': 1, '5': 9, '10': 'subject'},
{'1': 'description', '3': 2, '4': 1, '5': 9, '10': 'description'},
],
};
/// Descriptor for `QuotaFailure`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List quotaFailureDescriptor = $convert.base64Decode(
'CgxRdW90YUZhaWx1cmUSQgoKdmlvbGF0aW9ucxgBIAMoCzIiLmdvb2dsZS5ycGMuUXVvdGFGYW'
'lsdXJlLlZpb2xhdGlvblIKdmlvbGF0aW9ucxpHCglWaW9sYXRpb24SGAoHc3ViamVjdBgBIAEo'
'CVIHc3ViamVjdBIgCgtkZXNjcmlwdGlvbhgCIAEoCVILZGVzY3JpcHRpb24=');
@$core.Deprecated('Use preconditionFailureDescriptor instead')
const PreconditionFailure$json = {
'1': 'PreconditionFailure',
'2': [
{'1': 'violations', '3': 1, '4': 3, '5': 11, '6': '.google.rpc.PreconditionFailure.Violation', '10': 'violations'},
],
'3': [PreconditionFailure_Violation$json],
};
@$core.Deprecated('Use preconditionFailureDescriptor instead')
const PreconditionFailure_Violation$json = {
'1': 'Violation',
'2': [
{'1': 'type', '3': 1, '4': 1, '5': 9, '10': 'type'},
{'1': 'subject', '3': 2, '4': 1, '5': 9, '10': 'subject'},
{'1': 'description', '3': 3, '4': 1, '5': 9, '10': 'description'},
],
};
/// Descriptor for `PreconditionFailure`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List preconditionFailureDescriptor = $convert.base64Decode(
'ChNQcmVjb25kaXRpb25GYWlsdXJlEkkKCnZpb2xhdGlvbnMYASADKAsyKS5nb29nbGUucnBjLl'
'ByZWNvbmRpdGlvbkZhaWx1cmUuVmlvbGF0aW9uUgp2aW9sYXRpb25zGlsKCVZpb2xhdGlvbhIS'
'CgR0eXBlGAEgASgJUgR0eXBlEhgKB3N1YmplY3QYAiABKAlSB3N1YmplY3QSIAoLZGVzY3JpcH'
'Rpb24YAyABKAlSC2Rlc2NyaXB0aW9u');
@$core.Deprecated('Use badRequestDescriptor instead')
const BadRequest$json = {
'1': 'BadRequest',
'2': [
{'1': 'field_violations', '3': 1, '4': 3, '5': 11, '6': '.google.rpc.BadRequest.FieldViolation', '10': 'fieldViolations'},
],
'3': [BadRequest_FieldViolation$json],
};
@$core.Deprecated('Use badRequestDescriptor instead')
const BadRequest_FieldViolation$json = {
'1': 'FieldViolation',
'2': [
{'1': 'field', '3': 1, '4': 1, '5': 9, '10': 'field'},
{'1': 'description', '3': 2, '4': 1, '5': 9, '10': 'description'},
],
};
/// Descriptor for `BadRequest`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List badRequestDescriptor = $convert.base64Decode(
'CgpCYWRSZXF1ZXN0ElAKEGZpZWxkX3Zpb2xhdGlvbnMYASADKAsyJS5nb29nbGUucnBjLkJhZF'
'JlcXVlc3QuRmllbGRWaW9sYXRpb25SD2ZpZWxkVmlvbGF0aW9ucxpICg5GaWVsZFZpb2xhdGlv'
'bhIUCgVmaWVsZBgBIAEoCVIFZmllbGQSIAoLZGVzY3JpcHRpb24YAiABKAlSC2Rlc2NyaXB0aW'
'9u');
@$core.Deprecated('Use requestInfoDescriptor instead')
const RequestInfo$json = {
'1': 'RequestInfo',
'2': [
{'1': 'request_id', '3': 1, '4': 1, '5': 9, '10': 'requestId'},
{'1': 'serving_data', '3': 2, '4': 1, '5': 9, '10': 'servingData'},
],
};
/// Descriptor for `RequestInfo`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List requestInfoDescriptor = $convert.base64Decode(
'CgtSZXF1ZXN0SW5mbxIdCgpyZXF1ZXN0X2lkGAEgASgJUglyZXF1ZXN0SWQSIQoMc2VydmluZ1'
'9kYXRhGAIgASgJUgtzZXJ2aW5nRGF0YQ==');
@$core.Deprecated('Use resourceInfoDescriptor instead')
const ResourceInfo$json = {
'1': 'ResourceInfo',
'2': [
{'1': 'resource_type', '3': 1, '4': 1, '5': 9, '10': 'resourceType'},
{'1': 'resource_name', '3': 2, '4': 1, '5': 9, '10': 'resourceName'},
{'1': 'owner', '3': 3, '4': 1, '5': 9, '10': 'owner'},
{'1': 'description', '3': 4, '4': 1, '5': 9, '10': 'description'},
],
};
/// Descriptor for `ResourceInfo`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List resourceInfoDescriptor = $convert.base64Decode(
'CgxSZXNvdXJjZUluZm8SIwoNcmVzb3VyY2VfdHlwZRgBIAEoCVIMcmVzb3VyY2VUeXBlEiMKDX'
'Jlc291cmNlX25hbWUYAiABKAlSDHJlc291cmNlTmFtZRIUCgVvd25lchgDIAEoCVIFb3duZXIS'
'IAoLZGVzY3JpcHRpb24YBCABKAlSC2Rlc2NyaXB0aW9u');
@$core.Deprecated('Use helpDescriptor instead')
const Help$json = {
'1': 'Help',
'2': [
{'1': 'links', '3': 1, '4': 3, '5': 11, '6': '.google.rpc.Help.Link', '10': 'links'},
],
'3': [Help_Link$json],
};
@$core.Deprecated('Use helpDescriptor instead')
const Help_Link$json = {
'1': 'Link',
'2': [
{'1': 'description', '3': 1, '4': 1, '5': 9, '10': 'description'},
{'1': 'url', '3': 2, '4': 1, '5': 9, '10': 'url'},
],
};
/// Descriptor for `Help`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List helpDescriptor = $convert.base64Decode(
'CgRIZWxwEisKBWxpbmtzGAEgAygLMhUuZ29vZ2xlLnJwYy5IZWxwLkxpbmtSBWxpbmtzGjoKBE'
'xpbmsSIAoLZGVzY3JpcHRpb24YASABKAlSC2Rlc2NyaXB0aW9uEhAKA3VybBgCIAEoCVIDdXJs');
@$core.Deprecated('Use localizedMessageDescriptor instead')
const LocalizedMessage$json = {
'1': 'LocalizedMessage',
'2': [
{'1': 'locale', '3': 1, '4': 1, '5': 9, '10': 'locale'},
{'1': 'message', '3': 2, '4': 1, '5': 9, '10': 'message'},
],
};
/// Descriptor for `LocalizedMessage`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List localizedMessageDescriptor = $convert.base64Decode(
'ChBMb2NhbGl6ZWRNZXNzYWdlEhYKBmxvY2FsZRgBIAEoCVIGbG9jYWxlEhgKB21lc3NhZ2UYAi'
'ABKAlSB21lc3NhZ2U=');

View File

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

View File

@@ -0,0 +1,11 @@
//
// Generated code. Do not modify.
// source: google/rpc/status.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

View File

@@ -0,0 +1,30 @@
//
// Generated code. Do not modify.
// source: google/rpc/status.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 statusDescriptor instead')
const Status$json = {
'1': 'Status',
'2': [
{'1': 'code', '3': 1, '4': 1, '5': 5, '10': 'code'},
{'1': 'message', '3': 2, '4': 1, '5': 9, '10': 'message'},
{'1': 'details', '3': 3, '4': 3, '5': 11, '6': '.google.protobuf.Any', '10': 'details'},
],
};
/// Descriptor for `Status`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List statusDescriptor = $convert.base64Decode(
'CgZTdGF0dXMSEgoEY29kZRgBIAEoBVIEY29kZRIYCgdtZXNzYWdlGAIgASgJUgdtZXNzYWdlEi'
'4KB2RldGFpbHMYAyADKAsyFC5nb29nbGUucHJvdG9idWYuQW55UgdkZXRhaWxz');

2113
lib/openapiv2.pb.dart Normal file

File diff suppressed because it is too large Load Diff

129
lib/openapiv2.pbenum.dart Normal file
View File

@@ -0,0 +1,129 @@
//
// Generated code. Do not modify.
// source: openapiv2.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;
/// Scheme describes the schemes supported by the OpenAPI Swagger
/// and Operation objects.
class Scheme extends $pb.ProtobufEnum {
static const Scheme UNKNOWN = Scheme._(0, _omitEnumNames ? '' : 'UNKNOWN');
static const Scheme HTTP = Scheme._(1, _omitEnumNames ? '' : 'HTTP');
static const Scheme HTTPS = Scheme._(2, _omitEnumNames ? '' : 'HTTPS');
static const Scheme WS = Scheme._(3, _omitEnumNames ? '' : 'WS');
static const Scheme WSS = Scheme._(4, _omitEnumNames ? '' : 'WSS');
static const $core.List<Scheme> values = <Scheme> [
UNKNOWN,
HTTP,
HTTPS,
WS,
WSS,
];
static final $core.Map<$core.int, Scheme> _byValue = $pb.ProtobufEnum.initByValue(values);
static Scheme? valueOf($core.int value) => _byValue[value];
const Scheme._($core.int v, $core.String n) : super(v, n);
}
class JSONSchema_JSONSchemaSimpleTypes extends $pb.ProtobufEnum {
static const JSONSchema_JSONSchemaSimpleTypes UNKNOWN = JSONSchema_JSONSchemaSimpleTypes._(0, _omitEnumNames ? '' : 'UNKNOWN');
static const JSONSchema_JSONSchemaSimpleTypes ARRAY = JSONSchema_JSONSchemaSimpleTypes._(1, _omitEnumNames ? '' : 'ARRAY');
static const JSONSchema_JSONSchemaSimpleTypes BOOLEAN = JSONSchema_JSONSchemaSimpleTypes._(2, _omitEnumNames ? '' : 'BOOLEAN');
static const JSONSchema_JSONSchemaSimpleTypes INTEGER = JSONSchema_JSONSchemaSimpleTypes._(3, _omitEnumNames ? '' : 'INTEGER');
static const JSONSchema_JSONSchemaSimpleTypes NULL = JSONSchema_JSONSchemaSimpleTypes._(4, _omitEnumNames ? '' : 'NULL');
static const JSONSchema_JSONSchemaSimpleTypes NUMBER = JSONSchema_JSONSchemaSimpleTypes._(5, _omitEnumNames ? '' : 'NUMBER');
static const JSONSchema_JSONSchemaSimpleTypes OBJECT = JSONSchema_JSONSchemaSimpleTypes._(6, _omitEnumNames ? '' : 'OBJECT');
static const JSONSchema_JSONSchemaSimpleTypes STRING = JSONSchema_JSONSchemaSimpleTypes._(7, _omitEnumNames ? '' : 'STRING');
static const $core.List<JSONSchema_JSONSchemaSimpleTypes> values = <JSONSchema_JSONSchemaSimpleTypes> [
UNKNOWN,
ARRAY,
BOOLEAN,
INTEGER,
NULL,
NUMBER,
OBJECT,
STRING,
];
static final $core.Map<$core.int, JSONSchema_JSONSchemaSimpleTypes> _byValue = $pb.ProtobufEnum.initByValue(values);
static JSONSchema_JSONSchemaSimpleTypes? valueOf($core.int value) => _byValue[value];
const JSONSchema_JSONSchemaSimpleTypes._($core.int v, $core.String n) : super(v, n);
}
/// The type of the security scheme. Valid values are "basic",
/// "apiKey" or "oauth2".
class SecurityScheme_Type extends $pb.ProtobufEnum {
static const SecurityScheme_Type TYPE_INVALID = SecurityScheme_Type._(0, _omitEnumNames ? '' : 'TYPE_INVALID');
static const SecurityScheme_Type TYPE_BASIC = SecurityScheme_Type._(1, _omitEnumNames ? '' : 'TYPE_BASIC');
static const SecurityScheme_Type TYPE_API_KEY = SecurityScheme_Type._(2, _omitEnumNames ? '' : 'TYPE_API_KEY');
static const SecurityScheme_Type TYPE_OAUTH2 = SecurityScheme_Type._(3, _omitEnumNames ? '' : 'TYPE_OAUTH2');
static const $core.List<SecurityScheme_Type> values = <SecurityScheme_Type> [
TYPE_INVALID,
TYPE_BASIC,
TYPE_API_KEY,
TYPE_OAUTH2,
];
static final $core.Map<$core.int, SecurityScheme_Type> _byValue = $pb.ProtobufEnum.initByValue(values);
static SecurityScheme_Type? valueOf($core.int value) => _byValue[value];
const SecurityScheme_Type._($core.int v, $core.String n) : super(v, n);
}
/// The location of the API key. Valid values are "query" or "header".
class SecurityScheme_In extends $pb.ProtobufEnum {
static const SecurityScheme_In IN_INVALID = SecurityScheme_In._(0, _omitEnumNames ? '' : 'IN_INVALID');
static const SecurityScheme_In IN_QUERY = SecurityScheme_In._(1, _omitEnumNames ? '' : 'IN_QUERY');
static const SecurityScheme_In IN_HEADER = SecurityScheme_In._(2, _omitEnumNames ? '' : 'IN_HEADER');
static const $core.List<SecurityScheme_In> values = <SecurityScheme_In> [
IN_INVALID,
IN_QUERY,
IN_HEADER,
];
static final $core.Map<$core.int, SecurityScheme_In> _byValue = $pb.ProtobufEnum.initByValue(values);
static SecurityScheme_In? valueOf($core.int value) => _byValue[value];
const SecurityScheme_In._($core.int v, $core.String n) : super(v, n);
}
/// The flow used by the OAuth2 security scheme. Valid values are
/// "implicit", "password", "application" or "accessCode".
class SecurityScheme_Flow extends $pb.ProtobufEnum {
static const SecurityScheme_Flow FLOW_INVALID = SecurityScheme_Flow._(0, _omitEnumNames ? '' : 'FLOW_INVALID');
static const SecurityScheme_Flow FLOW_IMPLICIT = SecurityScheme_Flow._(1, _omitEnumNames ? '' : 'FLOW_IMPLICIT');
static const SecurityScheme_Flow FLOW_PASSWORD = SecurityScheme_Flow._(2, _omitEnumNames ? '' : 'FLOW_PASSWORD');
static const SecurityScheme_Flow FLOW_APPLICATION = SecurityScheme_Flow._(3, _omitEnumNames ? '' : 'FLOW_APPLICATION');
static const SecurityScheme_Flow FLOW_ACCESS_CODE = SecurityScheme_Flow._(4, _omitEnumNames ? '' : 'FLOW_ACCESS_CODE');
static const $core.List<SecurityScheme_Flow> values = <SecurityScheme_Flow> [
FLOW_INVALID,
FLOW_IMPLICIT,
FLOW_PASSWORD,
FLOW_APPLICATION,
FLOW_ACCESS_CODE,
];
static final $core.Map<$core.int, SecurityScheme_Flow> _byValue = $pb.ProtobufEnum.initByValue(values);
static SecurityScheme_Flow? valueOf($core.int value) => _byValue[value];
const SecurityScheme_Flow._($core.int v, $core.String n) : super(v, n);
}
const _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names');

628
lib/openapiv2.pbjson.dart Normal file
View File

@@ -0,0 +1,628 @@
//
// Generated code. Do not modify.
// source: openapiv2.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 schemeDescriptor instead')
const Scheme$json = {
'1': 'Scheme',
'2': [
{'1': 'UNKNOWN', '2': 0},
{'1': 'HTTP', '2': 1},
{'1': 'HTTPS', '2': 2},
{'1': 'WS', '2': 3},
{'1': 'WSS', '2': 4},
],
};
/// Descriptor for `Scheme`. Decode as a `google.protobuf.EnumDescriptorProto`.
final $typed_data.Uint8List schemeDescriptor = $convert.base64Decode(
'CgZTY2hlbWUSCwoHVU5LTk9XThAAEggKBEhUVFAQARIJCgVIVFRQUxACEgYKAldTEAMSBwoDV1'
'NTEAQ=');
@$core.Deprecated('Use swaggerDescriptor instead')
const Swagger$json = {
'1': 'Swagger',
'2': [
{'1': 'swagger', '3': 1, '4': 1, '5': 9, '10': 'swagger'},
{'1': 'info', '3': 2, '4': 1, '5': 11, '6': '.grpc.gateway.protoc_gen_openapiv2.options.Info', '10': 'info'},
{'1': 'host', '3': 3, '4': 1, '5': 9, '10': 'host'},
{'1': 'base_path', '3': 4, '4': 1, '5': 9, '10': 'basePath'},
{'1': 'schemes', '3': 5, '4': 3, '5': 14, '6': '.grpc.gateway.protoc_gen_openapiv2.options.Scheme', '10': 'schemes'},
{'1': 'consumes', '3': 6, '4': 3, '5': 9, '10': 'consumes'},
{'1': 'produces', '3': 7, '4': 3, '5': 9, '10': 'produces'},
{'1': 'responses', '3': 10, '4': 3, '5': 11, '6': '.grpc.gateway.protoc_gen_openapiv2.options.Swagger.ResponsesEntry', '10': 'responses'},
{'1': 'security_definitions', '3': 11, '4': 1, '5': 11, '6': '.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions', '10': 'securityDefinitions'},
{'1': 'security', '3': 12, '4': 3, '5': 11, '6': '.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement', '10': 'security'},
{'1': 'external_docs', '3': 14, '4': 1, '5': 11, '6': '.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation', '10': 'externalDocs'},
{'1': 'extensions', '3': 15, '4': 3, '5': 11, '6': '.grpc.gateway.protoc_gen_openapiv2.options.Swagger.ExtensionsEntry', '10': 'extensions'},
],
'3': [Swagger_ResponsesEntry$json, Swagger_ExtensionsEntry$json],
'9': [
{'1': 8, '2': 9},
{'1': 9, '2': 10},
{'1': 13, '2': 14},
],
};
@$core.Deprecated('Use swaggerDescriptor instead')
const Swagger_ResponsesEntry$json = {
'1': 'ResponsesEntry',
'2': [
{'1': 'key', '3': 1, '4': 1, '5': 9, '10': 'key'},
{'1': 'value', '3': 2, '4': 1, '5': 11, '6': '.grpc.gateway.protoc_gen_openapiv2.options.Response', '10': 'value'},
],
'7': {'7': true},
};
@$core.Deprecated('Use swaggerDescriptor instead')
const Swagger_ExtensionsEntry$json = {
'1': 'ExtensionsEntry',
'2': [
{'1': 'key', '3': 1, '4': 1, '5': 9, '10': 'key'},
{'1': 'value', '3': 2, '4': 1, '5': 11, '6': '.google.protobuf.Value', '10': 'value'},
],
'7': {'7': true},
};
/// Descriptor for `Swagger`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List swaggerDescriptor = $convert.base64Decode(
'CgdTd2FnZ2VyEhgKB3N3YWdnZXIYASABKAlSB3N3YWdnZXISQwoEaW5mbxgCIAEoCzIvLmdycG'
'MuZ2F0ZXdheS5wcm90b2NfZ2VuX29wZW5hcGl2Mi5vcHRpb25zLkluZm9SBGluZm8SEgoEaG9z'
'dBgDIAEoCVIEaG9zdBIbCgliYXNlX3BhdGgYBCABKAlSCGJhc2VQYXRoEksKB3NjaGVtZXMYBS'
'ADKA4yMS5ncnBjLmdhdGV3YXkucHJvdG9jX2dlbl9vcGVuYXBpdjIub3B0aW9ucy5TY2hlbWVS'
'B3NjaGVtZXMSGgoIY29uc3VtZXMYBiADKAlSCGNvbnN1bWVzEhoKCHByb2R1Y2VzGAcgAygJUg'
'hwcm9kdWNlcxJfCglyZXNwb25zZXMYCiADKAsyQS5ncnBjLmdhdGV3YXkucHJvdG9jX2dlbl9v'
'cGVuYXBpdjIub3B0aW9ucy5Td2FnZ2VyLlJlc3BvbnNlc0VudHJ5UglyZXNwb25zZXMScQoUc2'
'VjdXJpdHlfZGVmaW5pdGlvbnMYCyABKAsyPi5ncnBjLmdhdGV3YXkucHJvdG9jX2dlbl9vcGVu'
'YXBpdjIub3B0aW9ucy5TZWN1cml0eURlZmluaXRpb25zUhNzZWN1cml0eURlZmluaXRpb25zEl'
'oKCHNlY3VyaXR5GAwgAygLMj4uZ3JwYy5nYXRld2F5LnByb3RvY19nZW5fb3BlbmFwaXYyLm9w'
'dGlvbnMuU2VjdXJpdHlSZXF1aXJlbWVudFIIc2VjdXJpdHkSZQoNZXh0ZXJuYWxfZG9jcxgOIA'
'EoCzJALmdycGMuZ2F0ZXdheS5wcm90b2NfZ2VuX29wZW5hcGl2Mi5vcHRpb25zLkV4dGVybmFs'
'RG9jdW1lbnRhdGlvblIMZXh0ZXJuYWxEb2NzEmIKCmV4dGVuc2lvbnMYDyADKAsyQi5ncnBjLm'
'dhdGV3YXkucHJvdG9jX2dlbl9vcGVuYXBpdjIub3B0aW9ucy5Td2FnZ2VyLkV4dGVuc2lvbnNF'
'bnRyeVIKZXh0ZW5zaW9ucxpxCg5SZXNwb25zZXNFbnRyeRIQCgNrZXkYASABKAlSA2tleRJJCg'
'V2YWx1ZRgCIAEoCzIzLmdycGMuZ2F0ZXdheS5wcm90b2NfZ2VuX29wZW5hcGl2Mi5vcHRpb25z'
'LlJlc3BvbnNlUgV2YWx1ZToCOAEaVQoPRXh0ZW5zaW9uc0VudHJ5EhAKA2tleRgBIAEoCVIDa2'
'V5EiwKBXZhbHVlGAIgASgLMhYuZ29vZ2xlLnByb3RvYnVmLlZhbHVlUgV2YWx1ZToCOAFKBAgI'
'EAlKBAgJEApKBAgNEA4=');
@$core.Deprecated('Use operationDescriptor instead')
const Operation$json = {
'1': 'Operation',
'2': [
{'1': 'tags', '3': 1, '4': 3, '5': 9, '10': 'tags'},
{'1': 'summary', '3': 2, '4': 1, '5': 9, '10': 'summary'},
{'1': 'description', '3': 3, '4': 1, '5': 9, '10': 'description'},
{'1': 'external_docs', '3': 4, '4': 1, '5': 11, '6': '.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation', '10': 'externalDocs'},
{'1': 'operation_id', '3': 5, '4': 1, '5': 9, '10': 'operationId'},
{'1': 'consumes', '3': 6, '4': 3, '5': 9, '10': 'consumes'},
{'1': 'produces', '3': 7, '4': 3, '5': 9, '10': 'produces'},
{'1': 'responses', '3': 9, '4': 3, '5': 11, '6': '.grpc.gateway.protoc_gen_openapiv2.options.Operation.ResponsesEntry', '10': 'responses'},
{'1': 'schemes', '3': 10, '4': 3, '5': 14, '6': '.grpc.gateway.protoc_gen_openapiv2.options.Scheme', '10': 'schemes'},
{'1': 'deprecated', '3': 11, '4': 1, '5': 8, '10': 'deprecated'},
{'1': 'security', '3': 12, '4': 3, '5': 11, '6': '.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement', '10': 'security'},
{'1': 'extensions', '3': 13, '4': 3, '5': 11, '6': '.grpc.gateway.protoc_gen_openapiv2.options.Operation.ExtensionsEntry', '10': 'extensions'},
],
'3': [Operation_ResponsesEntry$json, Operation_ExtensionsEntry$json],
'9': [
{'1': 8, '2': 9},
],
};
@$core.Deprecated('Use operationDescriptor instead')
const Operation_ResponsesEntry$json = {
'1': 'ResponsesEntry',
'2': [
{'1': 'key', '3': 1, '4': 1, '5': 9, '10': 'key'},
{'1': 'value', '3': 2, '4': 1, '5': 11, '6': '.grpc.gateway.protoc_gen_openapiv2.options.Response', '10': 'value'},
],
'7': {'7': true},
};
@$core.Deprecated('Use operationDescriptor instead')
const Operation_ExtensionsEntry$json = {
'1': 'ExtensionsEntry',
'2': [
{'1': 'key', '3': 1, '4': 1, '5': 9, '10': 'key'},
{'1': 'value', '3': 2, '4': 1, '5': 11, '6': '.google.protobuf.Value', '10': 'value'},
],
'7': {'7': true},
};
/// Descriptor for `Operation`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List operationDescriptor = $convert.base64Decode(
'CglPcGVyYXRpb24SEgoEdGFncxgBIAMoCVIEdGFncxIYCgdzdW1tYXJ5GAIgASgJUgdzdW1tYX'
'J5EiAKC2Rlc2NyaXB0aW9uGAMgASgJUgtkZXNjcmlwdGlvbhJlCg1leHRlcm5hbF9kb2NzGAQg'
'ASgLMkAuZ3JwYy5nYXRld2F5LnByb3RvY19nZW5fb3BlbmFwaXYyLm9wdGlvbnMuRXh0ZXJuYW'
'xEb2N1bWVudGF0aW9uUgxleHRlcm5hbERvY3MSIQoMb3BlcmF0aW9uX2lkGAUgASgJUgtvcGVy'
'YXRpb25JZBIaCghjb25zdW1lcxgGIAMoCVIIY29uc3VtZXMSGgoIcHJvZHVjZXMYByADKAlSCH'
'Byb2R1Y2VzEmEKCXJlc3BvbnNlcxgJIAMoCzJDLmdycGMuZ2F0ZXdheS5wcm90b2NfZ2VuX29w'
'ZW5hcGl2Mi5vcHRpb25zLk9wZXJhdGlvbi5SZXNwb25zZXNFbnRyeVIJcmVzcG9uc2VzEksKB3'
'NjaGVtZXMYCiADKA4yMS5ncnBjLmdhdGV3YXkucHJvdG9jX2dlbl9vcGVuYXBpdjIub3B0aW9u'
'cy5TY2hlbWVSB3NjaGVtZXMSHgoKZGVwcmVjYXRlZBgLIAEoCFIKZGVwcmVjYXRlZBJaCghzZW'
'N1cml0eRgMIAMoCzI+LmdycGMuZ2F0ZXdheS5wcm90b2NfZ2VuX29wZW5hcGl2Mi5vcHRpb25z'
'LlNlY3VyaXR5UmVxdWlyZW1lbnRSCHNlY3VyaXR5EmQKCmV4dGVuc2lvbnMYDSADKAsyRC5ncn'
'BjLmdhdGV3YXkucHJvdG9jX2dlbl9vcGVuYXBpdjIub3B0aW9ucy5PcGVyYXRpb24uRXh0ZW5z'
'aW9uc0VudHJ5UgpleHRlbnNpb25zGnEKDlJlc3BvbnNlc0VudHJ5EhAKA2tleRgBIAEoCVIDa2'
'V5EkkKBXZhbHVlGAIgASgLMjMuZ3JwYy5nYXRld2F5LnByb3RvY19nZW5fb3BlbmFwaXYyLm9w'
'dGlvbnMuUmVzcG9uc2VSBXZhbHVlOgI4ARpVCg9FeHRlbnNpb25zRW50cnkSEAoDa2V5GAEgAS'
'gJUgNrZXkSLAoFdmFsdWUYAiABKAsyFi5nb29nbGUucHJvdG9idWYuVmFsdWVSBXZhbHVlOgI4'
'AUoECAgQCQ==');
@$core.Deprecated('Use headerDescriptor instead')
const Header$json = {
'1': 'Header',
'2': [
{'1': 'description', '3': 1, '4': 1, '5': 9, '10': 'description'},
{'1': 'type', '3': 2, '4': 1, '5': 9, '10': 'type'},
{'1': 'format', '3': 3, '4': 1, '5': 9, '10': 'format'},
{'1': 'default', '3': 6, '4': 1, '5': 9, '10': 'default'},
{'1': 'pattern', '3': 13, '4': 1, '5': 9, '10': 'pattern'},
],
'9': [
{'1': 4, '2': 5},
{'1': 5, '2': 6},
{'1': 7, '2': 8},
{'1': 8, '2': 9},
{'1': 9, '2': 10},
{'1': 10, '2': 11},
{'1': 11, '2': 12},
{'1': 12, '2': 13},
{'1': 14, '2': 15},
{'1': 15, '2': 16},
{'1': 16, '2': 17},
{'1': 17, '2': 18},
{'1': 18, '2': 19},
],
};
/// Descriptor for `Header`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List headerDescriptor = $convert.base64Decode(
'CgZIZWFkZXISIAoLZGVzY3JpcHRpb24YASABKAlSC2Rlc2NyaXB0aW9uEhIKBHR5cGUYAiABKA'
'lSBHR5cGUSFgoGZm9ybWF0GAMgASgJUgZmb3JtYXQSGAoHZGVmYXVsdBgGIAEoCVIHZGVmYXVs'
'dBIYCgdwYXR0ZXJuGA0gASgJUgdwYXR0ZXJuSgQIBBAFSgQIBRAGSgQIBxAISgQICBAJSgQICR'
'AKSgQIChALSgQICxAMSgQIDBANSgQIDhAPSgQIDxAQSgQIEBARSgQIERASSgQIEhAT');
@$core.Deprecated('Use responseDescriptor instead')
const Response$json = {
'1': 'Response',
'2': [
{'1': 'description', '3': 1, '4': 1, '5': 9, '10': 'description'},
{'1': 'schema', '3': 2, '4': 1, '5': 11, '6': '.grpc.gateway.protoc_gen_openapiv2.options.Schema', '10': 'schema'},
{'1': 'headers', '3': 3, '4': 3, '5': 11, '6': '.grpc.gateway.protoc_gen_openapiv2.options.Response.HeadersEntry', '10': 'headers'},
{'1': 'examples', '3': 4, '4': 3, '5': 11, '6': '.grpc.gateway.protoc_gen_openapiv2.options.Response.ExamplesEntry', '10': 'examples'},
{'1': 'extensions', '3': 5, '4': 3, '5': 11, '6': '.grpc.gateway.protoc_gen_openapiv2.options.Response.ExtensionsEntry', '10': 'extensions'},
],
'3': [Response_HeadersEntry$json, Response_ExamplesEntry$json, Response_ExtensionsEntry$json],
};
@$core.Deprecated('Use responseDescriptor instead')
const Response_HeadersEntry$json = {
'1': 'HeadersEntry',
'2': [
{'1': 'key', '3': 1, '4': 1, '5': 9, '10': 'key'},
{'1': 'value', '3': 2, '4': 1, '5': 11, '6': '.grpc.gateway.protoc_gen_openapiv2.options.Header', '10': 'value'},
],
'7': {'7': true},
};
@$core.Deprecated('Use responseDescriptor instead')
const Response_ExamplesEntry$json = {
'1': 'ExamplesEntry',
'2': [
{'1': 'key', '3': 1, '4': 1, '5': 9, '10': 'key'},
{'1': 'value', '3': 2, '4': 1, '5': 9, '10': 'value'},
],
'7': {'7': true},
};
@$core.Deprecated('Use responseDescriptor instead')
const Response_ExtensionsEntry$json = {
'1': 'ExtensionsEntry',
'2': [
{'1': 'key', '3': 1, '4': 1, '5': 9, '10': 'key'},
{'1': 'value', '3': 2, '4': 1, '5': 11, '6': '.google.protobuf.Value', '10': 'value'},
],
'7': {'7': true},
};
/// Descriptor for `Response`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List responseDescriptor = $convert.base64Decode(
'CghSZXNwb25zZRIgCgtkZXNjcmlwdGlvbhgBIAEoCVILZGVzY3JpcHRpb24SSQoGc2NoZW1hGA'
'IgASgLMjEuZ3JwYy5nYXRld2F5LnByb3RvY19nZW5fb3BlbmFwaXYyLm9wdGlvbnMuU2NoZW1h'
'UgZzY2hlbWESWgoHaGVhZGVycxgDIAMoCzJALmdycGMuZ2F0ZXdheS5wcm90b2NfZ2VuX29wZW'
'5hcGl2Mi5vcHRpb25zLlJlc3BvbnNlLkhlYWRlcnNFbnRyeVIHaGVhZGVycxJdCghleGFtcGxl'
'cxgEIAMoCzJBLmdycGMuZ2F0ZXdheS5wcm90b2NfZ2VuX29wZW5hcGl2Mi5vcHRpb25zLlJlc3'
'BvbnNlLkV4YW1wbGVzRW50cnlSCGV4YW1wbGVzEmMKCmV4dGVuc2lvbnMYBSADKAsyQy5ncnBj'
'LmdhdGV3YXkucHJvdG9jX2dlbl9vcGVuYXBpdjIub3B0aW9ucy5SZXNwb25zZS5FeHRlbnNpb2'
'5zRW50cnlSCmV4dGVuc2lvbnMabQoMSGVhZGVyc0VudHJ5EhAKA2tleRgBIAEoCVIDa2V5EkcK'
'BXZhbHVlGAIgASgLMjEuZ3JwYy5nYXRld2F5LnByb3RvY19nZW5fb3BlbmFwaXYyLm9wdGlvbn'
'MuSGVhZGVyUgV2YWx1ZToCOAEaOwoNRXhhbXBsZXNFbnRyeRIQCgNrZXkYASABKAlSA2tleRIU'
'CgV2YWx1ZRgCIAEoCVIFdmFsdWU6AjgBGlUKD0V4dGVuc2lvbnNFbnRyeRIQCgNrZXkYASABKA'
'lSA2tleRIsCgV2YWx1ZRgCIAEoCzIWLmdvb2dsZS5wcm90b2J1Zi5WYWx1ZVIFdmFsdWU6AjgB');
@$core.Deprecated('Use infoDescriptor instead')
const Info$json = {
'1': 'Info',
'2': [
{'1': 'title', '3': 1, '4': 1, '5': 9, '10': 'title'},
{'1': 'description', '3': 2, '4': 1, '5': 9, '10': 'description'},
{'1': 'terms_of_service', '3': 3, '4': 1, '5': 9, '10': 'termsOfService'},
{'1': 'contact', '3': 4, '4': 1, '5': 11, '6': '.grpc.gateway.protoc_gen_openapiv2.options.Contact', '10': 'contact'},
{'1': 'license', '3': 5, '4': 1, '5': 11, '6': '.grpc.gateway.protoc_gen_openapiv2.options.License', '10': 'license'},
{'1': 'version', '3': 6, '4': 1, '5': 9, '10': 'version'},
{'1': 'extensions', '3': 7, '4': 3, '5': 11, '6': '.grpc.gateway.protoc_gen_openapiv2.options.Info.ExtensionsEntry', '10': 'extensions'},
],
'3': [Info_ExtensionsEntry$json],
};
@$core.Deprecated('Use infoDescriptor instead')
const Info_ExtensionsEntry$json = {
'1': 'ExtensionsEntry',
'2': [
{'1': 'key', '3': 1, '4': 1, '5': 9, '10': 'key'},
{'1': 'value', '3': 2, '4': 1, '5': 11, '6': '.google.protobuf.Value', '10': 'value'},
],
'7': {'7': true},
};
/// Descriptor for `Info`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List infoDescriptor = $convert.base64Decode(
'CgRJbmZvEhQKBXRpdGxlGAEgASgJUgV0aXRsZRIgCgtkZXNjcmlwdGlvbhgCIAEoCVILZGVzY3'
'JpcHRpb24SKAoQdGVybXNfb2Zfc2VydmljZRgDIAEoCVIOdGVybXNPZlNlcnZpY2USTAoHY29u'
'dGFjdBgEIAEoCzIyLmdycGMuZ2F0ZXdheS5wcm90b2NfZ2VuX29wZW5hcGl2Mi5vcHRpb25zLk'
'NvbnRhY3RSB2NvbnRhY3QSTAoHbGljZW5zZRgFIAEoCzIyLmdycGMuZ2F0ZXdheS5wcm90b2Nf'
'Z2VuX29wZW5hcGl2Mi5vcHRpb25zLkxpY2Vuc2VSB2xpY2Vuc2USGAoHdmVyc2lvbhgGIAEoCV'
'IHdmVyc2lvbhJfCgpleHRlbnNpb25zGAcgAygLMj8uZ3JwYy5nYXRld2F5LnByb3RvY19nZW5f'
'b3BlbmFwaXYyLm9wdGlvbnMuSW5mby5FeHRlbnNpb25zRW50cnlSCmV4dGVuc2lvbnMaVQoPRX'
'h0ZW5zaW9uc0VudHJ5EhAKA2tleRgBIAEoCVIDa2V5EiwKBXZhbHVlGAIgASgLMhYuZ29vZ2xl'
'LnByb3RvYnVmLlZhbHVlUgV2YWx1ZToCOAE=');
@$core.Deprecated('Use contactDescriptor instead')
const Contact$json = {
'1': 'Contact',
'2': [
{'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'},
{'1': 'url', '3': 2, '4': 1, '5': 9, '10': 'url'},
{'1': 'email', '3': 3, '4': 1, '5': 9, '10': 'email'},
],
};
/// Descriptor for `Contact`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List contactDescriptor = $convert.base64Decode(
'CgdDb250YWN0EhIKBG5hbWUYASABKAlSBG5hbWUSEAoDdXJsGAIgASgJUgN1cmwSFAoFZW1haW'
'wYAyABKAlSBWVtYWls');
@$core.Deprecated('Use licenseDescriptor instead')
const License$json = {
'1': 'License',
'2': [
{'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'},
{'1': 'url', '3': 2, '4': 1, '5': 9, '10': 'url'},
],
};
/// Descriptor for `License`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List licenseDescriptor = $convert.base64Decode(
'CgdMaWNlbnNlEhIKBG5hbWUYASABKAlSBG5hbWUSEAoDdXJsGAIgASgJUgN1cmw=');
@$core.Deprecated('Use externalDocumentationDescriptor instead')
const ExternalDocumentation$json = {
'1': 'ExternalDocumentation',
'2': [
{'1': 'description', '3': 1, '4': 1, '5': 9, '10': 'description'},
{'1': 'url', '3': 2, '4': 1, '5': 9, '10': 'url'},
],
};
/// Descriptor for `ExternalDocumentation`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List externalDocumentationDescriptor = $convert.base64Decode(
'ChVFeHRlcm5hbERvY3VtZW50YXRpb24SIAoLZGVzY3JpcHRpb24YASABKAlSC2Rlc2NyaXB0aW'
'9uEhAKA3VybBgCIAEoCVIDdXJs');
@$core.Deprecated('Use schemaDescriptor instead')
const Schema$json = {
'1': 'Schema',
'2': [
{'1': 'json_schema', '3': 1, '4': 1, '5': 11, '6': '.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema', '10': 'jsonSchema'},
{'1': 'discriminator', '3': 2, '4': 1, '5': 9, '10': 'discriminator'},
{'1': 'read_only', '3': 3, '4': 1, '5': 8, '10': 'readOnly'},
{'1': 'external_docs', '3': 5, '4': 1, '5': 11, '6': '.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation', '10': 'externalDocs'},
{'1': 'example', '3': 6, '4': 1, '5': 9, '10': 'example'},
],
'9': [
{'1': 4, '2': 5},
],
};
/// Descriptor for `Schema`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List schemaDescriptor = $convert.base64Decode(
'CgZTY2hlbWESVgoLanNvbl9zY2hlbWEYASABKAsyNS5ncnBjLmdhdGV3YXkucHJvdG9jX2dlbl'
'9vcGVuYXBpdjIub3B0aW9ucy5KU09OU2NoZW1hUgpqc29uU2NoZW1hEiQKDWRpc2NyaW1pbmF0'
'b3IYAiABKAlSDWRpc2NyaW1pbmF0b3ISGwoJcmVhZF9vbmx5GAMgASgIUghyZWFkT25seRJlCg'
'1leHRlcm5hbF9kb2NzGAUgASgLMkAuZ3JwYy5nYXRld2F5LnByb3RvY19nZW5fb3BlbmFwaXYy'
'Lm9wdGlvbnMuRXh0ZXJuYWxEb2N1bWVudGF0aW9uUgxleHRlcm5hbERvY3MSGAoHZXhhbXBsZR'
'gGIAEoCVIHZXhhbXBsZUoECAQQBQ==');
@$core.Deprecated('Use jSONSchemaDescriptor instead')
const JSONSchema$json = {
'1': 'JSONSchema',
'2': [
{'1': 'ref', '3': 3, '4': 1, '5': 9, '10': 'ref'},
{'1': 'title', '3': 5, '4': 1, '5': 9, '10': 'title'},
{'1': 'description', '3': 6, '4': 1, '5': 9, '10': 'description'},
{'1': 'default', '3': 7, '4': 1, '5': 9, '10': 'default'},
{'1': 'read_only', '3': 8, '4': 1, '5': 8, '10': 'readOnly'},
{'1': 'example', '3': 9, '4': 1, '5': 9, '10': 'example'},
{'1': 'multiple_of', '3': 10, '4': 1, '5': 1, '10': 'multipleOf'},
{'1': 'maximum', '3': 11, '4': 1, '5': 1, '10': 'maximum'},
{'1': 'exclusive_maximum', '3': 12, '4': 1, '5': 8, '10': 'exclusiveMaximum'},
{'1': 'minimum', '3': 13, '4': 1, '5': 1, '10': 'minimum'},
{'1': 'exclusive_minimum', '3': 14, '4': 1, '5': 8, '10': 'exclusiveMinimum'},
{'1': 'max_length', '3': 15, '4': 1, '5': 4, '10': 'maxLength'},
{'1': 'min_length', '3': 16, '4': 1, '5': 4, '10': 'minLength'},
{'1': 'pattern', '3': 17, '4': 1, '5': 9, '10': 'pattern'},
{'1': 'max_items', '3': 20, '4': 1, '5': 4, '10': 'maxItems'},
{'1': 'min_items', '3': 21, '4': 1, '5': 4, '10': 'minItems'},
{'1': 'unique_items', '3': 22, '4': 1, '5': 8, '10': 'uniqueItems'},
{'1': 'max_properties', '3': 24, '4': 1, '5': 4, '10': 'maxProperties'},
{'1': 'min_properties', '3': 25, '4': 1, '5': 4, '10': 'minProperties'},
{'1': 'required', '3': 26, '4': 3, '5': 9, '10': 'required'},
{'1': 'array', '3': 34, '4': 3, '5': 9, '10': 'array'},
{'1': 'type', '3': 35, '4': 3, '5': 14, '6': '.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.JSONSchemaSimpleTypes', '10': 'type'},
{'1': 'format', '3': 36, '4': 1, '5': 9, '10': 'format'},
{'1': 'enum', '3': 46, '4': 3, '5': 9, '10': 'enum'},
],
'4': [JSONSchema_JSONSchemaSimpleTypes$json],
'9': [
{'1': 1, '2': 2},
{'1': 2, '2': 3},
{'1': 4, '2': 5},
{'1': 18, '2': 19},
{'1': 19, '2': 20},
{'1': 23, '2': 24},
{'1': 27, '2': 28},
{'1': 28, '2': 29},
{'1': 29, '2': 30},
{'1': 30, '2': 34},
{'1': 37, '2': 42},
{'1': 42, '2': 43},
{'1': 43, '2': 46},
],
};
@$core.Deprecated('Use jSONSchemaDescriptor instead')
const JSONSchema_JSONSchemaSimpleTypes$json = {
'1': 'JSONSchemaSimpleTypes',
'2': [
{'1': 'UNKNOWN', '2': 0},
{'1': 'ARRAY', '2': 1},
{'1': 'BOOLEAN', '2': 2},
{'1': 'INTEGER', '2': 3},
{'1': 'NULL', '2': 4},
{'1': 'NUMBER', '2': 5},
{'1': 'OBJECT', '2': 6},
{'1': 'STRING', '2': 7},
],
};
/// Descriptor for `JSONSchema`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List jSONSchemaDescriptor = $convert.base64Decode(
'CgpKU09OU2NoZW1hEhAKA3JlZhgDIAEoCVIDcmVmEhQKBXRpdGxlGAUgASgJUgV0aXRsZRIgCg'
'tkZXNjcmlwdGlvbhgGIAEoCVILZGVzY3JpcHRpb24SGAoHZGVmYXVsdBgHIAEoCVIHZGVmYXVs'
'dBIbCglyZWFkX29ubHkYCCABKAhSCHJlYWRPbmx5EhgKB2V4YW1wbGUYCSABKAlSB2V4YW1wbG'
'USHwoLbXVsdGlwbGVfb2YYCiABKAFSCm11bHRpcGxlT2YSGAoHbWF4aW11bRgLIAEoAVIHbWF4'
'aW11bRIrChFleGNsdXNpdmVfbWF4aW11bRgMIAEoCFIQZXhjbHVzaXZlTWF4aW11bRIYCgdtaW'
'5pbXVtGA0gASgBUgdtaW5pbXVtEisKEWV4Y2x1c2l2ZV9taW5pbXVtGA4gASgIUhBleGNsdXNp'
'dmVNaW5pbXVtEh0KCm1heF9sZW5ndGgYDyABKARSCW1heExlbmd0aBIdCgptaW5fbGVuZ3RoGB'
'AgASgEUgltaW5MZW5ndGgSGAoHcGF0dGVybhgRIAEoCVIHcGF0dGVybhIbCgltYXhfaXRlbXMY'
'FCABKARSCG1heEl0ZW1zEhsKCW1pbl9pdGVtcxgVIAEoBFIIbWluSXRlbXMSIQoMdW5pcXVlX2'
'l0ZW1zGBYgASgIUgt1bmlxdWVJdGVtcxIlCg5tYXhfcHJvcGVydGllcxgYIAEoBFINbWF4UHJv'
'cGVydGllcxIlCg5taW5fcHJvcGVydGllcxgZIAEoBFINbWluUHJvcGVydGllcxIaCghyZXF1aX'
'JlZBgaIAMoCVIIcmVxdWlyZWQSFAoFYXJyYXkYIiADKAlSBWFycmF5El8KBHR5cGUYIyADKA4y'
'Sy5ncnBjLmdhdGV3YXkucHJvdG9jX2dlbl9vcGVuYXBpdjIub3B0aW9ucy5KU09OU2NoZW1hLk'
'pTT05TY2hlbWFTaW1wbGVUeXBlc1IEdHlwZRIWCgZmb3JtYXQYJCABKAlSBmZvcm1hdBISCgRl'
'bnVtGC4gAygJUgRlbnVtIncKFUpTT05TY2hlbWFTaW1wbGVUeXBlcxILCgdVTktOT1dOEAASCQ'
'oFQVJSQVkQARILCgdCT09MRUFOEAISCwoHSU5URUdFUhADEggKBE5VTEwQBBIKCgZOVU1CRVIQ'
'BRIKCgZPQkpFQ1QQBhIKCgZTVFJJTkcQB0oECAEQAkoECAIQA0oECAQQBUoECBIQE0oECBMQFE'
'oECBcQGEoECBsQHEoECBwQHUoECB0QHkoECB4QIkoECCUQKkoECCoQK0oECCsQLg==');
@$core.Deprecated('Use tagDescriptor instead')
const Tag$json = {
'1': 'Tag',
'2': [
{'1': 'description', '3': 2, '4': 1, '5': 9, '10': 'description'},
{'1': 'external_docs', '3': 3, '4': 1, '5': 11, '6': '.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation', '10': 'externalDocs'},
],
'9': [
{'1': 1, '2': 2},
],
};
/// Descriptor for `Tag`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List tagDescriptor = $convert.base64Decode(
'CgNUYWcSIAoLZGVzY3JpcHRpb24YAiABKAlSC2Rlc2NyaXB0aW9uEmUKDWV4dGVybmFsX2RvY3'
'MYAyABKAsyQC5ncnBjLmdhdGV3YXkucHJvdG9jX2dlbl9vcGVuYXBpdjIub3B0aW9ucy5FeHRl'
'cm5hbERvY3VtZW50YXRpb25SDGV4dGVybmFsRG9jc0oECAEQAg==');
@$core.Deprecated('Use securityDefinitionsDescriptor instead')
const SecurityDefinitions$json = {
'1': 'SecurityDefinitions',
'2': [
{'1': 'security', '3': 1, '4': 3, '5': 11, '6': '.grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.SecurityEntry', '10': 'security'},
],
'3': [SecurityDefinitions_SecurityEntry$json],
};
@$core.Deprecated('Use securityDefinitionsDescriptor instead')
const SecurityDefinitions_SecurityEntry$json = {
'1': 'SecurityEntry',
'2': [
{'1': 'key', '3': 1, '4': 1, '5': 9, '10': 'key'},
{'1': 'value', '3': 2, '4': 1, '5': 11, '6': '.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme', '10': 'value'},
],
'7': {'7': true},
};
/// Descriptor for `SecurityDefinitions`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List securityDefinitionsDescriptor = $convert.base64Decode(
'ChNTZWN1cml0eURlZmluaXRpb25zEmgKCHNlY3VyaXR5GAEgAygLMkwuZ3JwYy5nYXRld2F5Ln'
'Byb3RvY19nZW5fb3BlbmFwaXYyLm9wdGlvbnMuU2VjdXJpdHlEZWZpbml0aW9ucy5TZWN1cml0'
'eUVudHJ5UghzZWN1cml0eRp2Cg1TZWN1cml0eUVudHJ5EhAKA2tleRgBIAEoCVIDa2V5Ek8KBX'
'ZhbHVlGAIgASgLMjkuZ3JwYy5nYXRld2F5LnByb3RvY19nZW5fb3BlbmFwaXYyLm9wdGlvbnMu'
'U2VjdXJpdHlTY2hlbWVSBXZhbHVlOgI4AQ==');
@$core.Deprecated('Use securitySchemeDescriptor instead')
const SecurityScheme$json = {
'1': 'SecurityScheme',
'2': [
{'1': 'type', '3': 1, '4': 1, '5': 14, '6': '.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Type', '10': 'type'},
{'1': 'description', '3': 2, '4': 1, '5': 9, '10': 'description'},
{'1': 'name', '3': 3, '4': 1, '5': 9, '10': 'name'},
{'1': 'in', '3': 4, '4': 1, '5': 14, '6': '.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.In', '10': 'in'},
{'1': 'flow', '3': 5, '4': 1, '5': 14, '6': '.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Flow', '10': 'flow'},
{'1': 'authorization_url', '3': 6, '4': 1, '5': 9, '10': 'authorizationUrl'},
{'1': 'token_url', '3': 7, '4': 1, '5': 9, '10': 'tokenUrl'},
{'1': 'scopes', '3': 8, '4': 1, '5': 11, '6': '.grpc.gateway.protoc_gen_openapiv2.options.Scopes', '10': 'scopes'},
{'1': 'extensions', '3': 9, '4': 3, '5': 11, '6': '.grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.ExtensionsEntry', '10': 'extensions'},
],
'3': [SecurityScheme_ExtensionsEntry$json],
'4': [SecurityScheme_Type$json, SecurityScheme_In$json, SecurityScheme_Flow$json],
};
@$core.Deprecated('Use securitySchemeDescriptor instead')
const SecurityScheme_ExtensionsEntry$json = {
'1': 'ExtensionsEntry',
'2': [
{'1': 'key', '3': 1, '4': 1, '5': 9, '10': 'key'},
{'1': 'value', '3': 2, '4': 1, '5': 11, '6': '.google.protobuf.Value', '10': 'value'},
],
'7': {'7': true},
};
@$core.Deprecated('Use securitySchemeDescriptor instead')
const SecurityScheme_Type$json = {
'1': 'Type',
'2': [
{'1': 'TYPE_INVALID', '2': 0},
{'1': 'TYPE_BASIC', '2': 1},
{'1': 'TYPE_API_KEY', '2': 2},
{'1': 'TYPE_OAUTH2', '2': 3},
],
};
@$core.Deprecated('Use securitySchemeDescriptor instead')
const SecurityScheme_In$json = {
'1': 'In',
'2': [
{'1': 'IN_INVALID', '2': 0},
{'1': 'IN_QUERY', '2': 1},
{'1': 'IN_HEADER', '2': 2},
],
};
@$core.Deprecated('Use securitySchemeDescriptor instead')
const SecurityScheme_Flow$json = {
'1': 'Flow',
'2': [
{'1': 'FLOW_INVALID', '2': 0},
{'1': 'FLOW_IMPLICIT', '2': 1},
{'1': 'FLOW_PASSWORD', '2': 2},
{'1': 'FLOW_APPLICATION', '2': 3},
{'1': 'FLOW_ACCESS_CODE', '2': 4},
],
};
/// Descriptor for `SecurityScheme`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List securitySchemeDescriptor = $convert.base64Decode(
'Cg5TZWN1cml0eVNjaGVtZRJSCgR0eXBlGAEgASgOMj4uZ3JwYy5nYXRld2F5LnByb3RvY19nZW'
'5fb3BlbmFwaXYyLm9wdGlvbnMuU2VjdXJpdHlTY2hlbWUuVHlwZVIEdHlwZRIgCgtkZXNjcmlw'
'dGlvbhgCIAEoCVILZGVzY3JpcHRpb24SEgoEbmFtZRgDIAEoCVIEbmFtZRJMCgJpbhgEIAEoDj'
'I8LmdycGMuZ2F0ZXdheS5wcm90b2NfZ2VuX29wZW5hcGl2Mi5vcHRpb25zLlNlY3VyaXR5U2No'
'ZW1lLkluUgJpbhJSCgRmbG93GAUgASgOMj4uZ3JwYy5nYXRld2F5LnByb3RvY19nZW5fb3Blbm'
'FwaXYyLm9wdGlvbnMuU2VjdXJpdHlTY2hlbWUuRmxvd1IEZmxvdxIrChFhdXRob3JpemF0aW9u'
'X3VybBgGIAEoCVIQYXV0aG9yaXphdGlvblVybBIbCgl0b2tlbl91cmwYByABKAlSCHRva2VuVX'
'JsEkkKBnNjb3BlcxgIIAEoCzIxLmdycGMuZ2F0ZXdheS5wcm90b2NfZ2VuX29wZW5hcGl2Mi5v'
'cHRpb25zLlNjb3Blc1IGc2NvcGVzEmkKCmV4dGVuc2lvbnMYCSADKAsySS5ncnBjLmdhdGV3YX'
'kucHJvdG9jX2dlbl9vcGVuYXBpdjIub3B0aW9ucy5TZWN1cml0eVNjaGVtZS5FeHRlbnNpb25z'
'RW50cnlSCmV4dGVuc2lvbnMaVQoPRXh0ZW5zaW9uc0VudHJ5EhAKA2tleRgBIAEoCVIDa2V5Ei'
'wKBXZhbHVlGAIgASgLMhYuZ29vZ2xlLnByb3RvYnVmLlZhbHVlUgV2YWx1ZToCOAEiSwoEVHlw'
'ZRIQCgxUWVBFX0lOVkFMSUQQABIOCgpUWVBFX0JBU0lDEAESEAoMVFlQRV9BUElfS0VZEAISDw'
'oLVFlQRV9PQVVUSDIQAyIxCgJJbhIOCgpJTl9JTlZBTElEEAASDAoISU5fUVVFUlkQARINCglJ'
'Tl9IRUFERVIQAiJqCgRGbG93EhAKDEZMT1dfSU5WQUxJRBAAEhEKDUZMT1dfSU1QTElDSVQQAR'
'IRCg1GTE9XX1BBU1NXT1JEEAISFAoQRkxPV19BUFBMSUNBVElPThADEhQKEEZMT1dfQUNDRVNT'
'X0NPREUQBA==');
@$core.Deprecated('Use securityRequirementDescriptor instead')
const SecurityRequirement$json = {
'1': 'SecurityRequirement',
'2': [
{'1': 'security_requirement', '3': 1, '4': 3, '5': 11, '6': '.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementEntry', '10': 'securityRequirement'},
],
'3': [SecurityRequirement_SecurityRequirementValue$json, SecurityRequirement_SecurityRequirementEntry$json],
};
@$core.Deprecated('Use securityRequirementDescriptor instead')
const SecurityRequirement_SecurityRequirementValue$json = {
'1': 'SecurityRequirementValue',
'2': [
{'1': 'scope', '3': 1, '4': 3, '5': 9, '10': 'scope'},
],
};
@$core.Deprecated('Use securityRequirementDescriptor instead')
const SecurityRequirement_SecurityRequirementEntry$json = {
'1': 'SecurityRequirementEntry',
'2': [
{'1': 'key', '3': 1, '4': 1, '5': 9, '10': 'key'},
{'1': 'value', '3': 2, '4': 1, '5': 11, '6': '.grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue', '10': 'value'},
],
'7': {'7': true},
};
/// Descriptor for `SecurityRequirement`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List securityRequirementDescriptor = $convert.base64Decode(
'ChNTZWN1cml0eVJlcXVpcmVtZW50EooBChRzZWN1cml0eV9yZXF1aXJlbWVudBgBIAMoCzJXLm'
'dycGMuZ2F0ZXdheS5wcm90b2NfZ2VuX29wZW5hcGl2Mi5vcHRpb25zLlNlY3VyaXR5UmVxdWly'
'ZW1lbnQuU2VjdXJpdHlSZXF1aXJlbWVudEVudHJ5UhNzZWN1cml0eVJlcXVpcmVtZW50GjAKGF'
'NlY3VyaXR5UmVxdWlyZW1lbnRWYWx1ZRIUCgVzY29wZRgBIAMoCVIFc2NvcGUanwEKGFNlY3Vy'
'aXR5UmVxdWlyZW1lbnRFbnRyeRIQCgNrZXkYASABKAlSA2tleRJtCgV2YWx1ZRgCIAEoCzJXLm'
'dycGMuZ2F0ZXdheS5wcm90b2NfZ2VuX29wZW5hcGl2Mi5vcHRpb25zLlNlY3VyaXR5UmVxdWly'
'ZW1lbnQuU2VjdXJpdHlSZXF1aXJlbWVudFZhbHVlUgV2YWx1ZToCOAE=');
@$core.Deprecated('Use scopesDescriptor instead')
const Scopes$json = {
'1': 'Scopes',
'2': [
{'1': 'scope', '3': 1, '4': 3, '5': 11, '6': '.grpc.gateway.protoc_gen_openapiv2.options.Scopes.ScopeEntry', '10': 'scope'},
],
'3': [Scopes_ScopeEntry$json],
};
@$core.Deprecated('Use scopesDescriptor instead')
const Scopes_ScopeEntry$json = {
'1': 'ScopeEntry',
'2': [
{'1': 'key', '3': 1, '4': 1, '5': 9, '10': 'key'},
{'1': 'value', '3': 2, '4': 1, '5': 9, '10': 'value'},
],
'7': {'7': true},
};
/// Descriptor for `Scopes`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List scopesDescriptor = $convert.base64Decode(
'CgZTY29wZXMSUgoFc2NvcGUYASADKAsyPC5ncnBjLmdhdGV3YXkucHJvdG9jX2dlbl9vcGVuYX'
'BpdjIub3B0aW9ucy5TY29wZXMuU2NvcGVFbnRyeVIFc2NvcGUaOAoKU2NvcGVFbnRyeRIQCgNr'
'ZXkYASABKAlSA2tleRIUCgV2YWx1ZRgCIAEoCVIFdmFsdWU6AjgB');

4314
lib/validate.pb.dart Normal file

File diff suppressed because it is too large Load Diff

35
lib/validate.pbenum.dart Normal file
View File

@@ -0,0 +1,35 @@
//
// Generated code. Do not modify.
// source: validate.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;
/// WellKnownRegex contain some well-known patterns.
class KnownRegex extends $pb.ProtobufEnum {
static const KnownRegex UNKNOWN = KnownRegex._(0, _omitEnumNames ? '' : 'UNKNOWN');
static const KnownRegex HTTP_HEADER_NAME = KnownRegex._(1, _omitEnumNames ? '' : 'HTTP_HEADER_NAME');
static const KnownRegex HTTP_HEADER_VALUE = KnownRegex._(2, _omitEnumNames ? '' : 'HTTP_HEADER_VALUE');
static const $core.List<KnownRegex> values = <KnownRegex> [
UNKNOWN,
HTTP_HEADER_NAME,
HTTP_HEADER_VALUE,
];
static final $core.Map<$core.int, KnownRegex> _byValue = $pb.ProtobufEnum.initByValue(values);
static KnownRegex? valueOf($core.int value) => _byValue[value];
const KnownRegex._($core.int v, $core.String n) : super(v, n);
}
const _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names');

611
lib/validate.pbjson.dart Normal file
View File

@@ -0,0 +1,611 @@
//
// Generated code. Do not modify.
// source: validate.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 knownRegexDescriptor instead')
const KnownRegex$json = {
'1': 'KnownRegex',
'2': [
{'1': 'UNKNOWN', '2': 0},
{'1': 'HTTP_HEADER_NAME', '2': 1},
{'1': 'HTTP_HEADER_VALUE', '2': 2},
],
};
/// Descriptor for `KnownRegex`. Decode as a `google.protobuf.EnumDescriptorProto`.
final $typed_data.Uint8List knownRegexDescriptor = $convert.base64Decode(
'CgpLbm93blJlZ2V4EgsKB1VOS05PV04QABIUChBIVFRQX0hFQURFUl9OQU1FEAESFQoRSFRUUF'
'9IRUFERVJfVkFMVUUQAg==');
@$core.Deprecated('Use fieldRulesDescriptor instead')
const FieldRules$json = {
'1': 'FieldRules',
'2': [
{'1': 'message', '3': 17, '4': 1, '5': 11, '6': '.validate.MessageRules', '10': 'message'},
{'1': 'float', '3': 1, '4': 1, '5': 11, '6': '.validate.FloatRules', '9': 0, '10': 'float'},
{'1': 'double', '3': 2, '4': 1, '5': 11, '6': '.validate.DoubleRules', '9': 0, '10': 'double'},
{'1': 'int32', '3': 3, '4': 1, '5': 11, '6': '.validate.Int32Rules', '9': 0, '10': 'int32'},
{'1': 'int64', '3': 4, '4': 1, '5': 11, '6': '.validate.Int64Rules', '9': 0, '10': 'int64'},
{'1': 'uint32', '3': 5, '4': 1, '5': 11, '6': '.validate.UInt32Rules', '9': 0, '10': 'uint32'},
{'1': 'uint64', '3': 6, '4': 1, '5': 11, '6': '.validate.UInt64Rules', '9': 0, '10': 'uint64'},
{'1': 'sint32', '3': 7, '4': 1, '5': 11, '6': '.validate.SInt32Rules', '9': 0, '10': 'sint32'},
{'1': 'sint64', '3': 8, '4': 1, '5': 11, '6': '.validate.SInt64Rules', '9': 0, '10': 'sint64'},
{'1': 'fixed32', '3': 9, '4': 1, '5': 11, '6': '.validate.Fixed32Rules', '9': 0, '10': 'fixed32'},
{'1': 'fixed64', '3': 10, '4': 1, '5': 11, '6': '.validate.Fixed64Rules', '9': 0, '10': 'fixed64'},
{'1': 'sfixed32', '3': 11, '4': 1, '5': 11, '6': '.validate.SFixed32Rules', '9': 0, '10': 'sfixed32'},
{'1': 'sfixed64', '3': 12, '4': 1, '5': 11, '6': '.validate.SFixed64Rules', '9': 0, '10': 'sfixed64'},
{'1': 'bool', '3': 13, '4': 1, '5': 11, '6': '.validate.BoolRules', '9': 0, '10': 'bool'},
{'1': 'string', '3': 14, '4': 1, '5': 11, '6': '.validate.StringRules', '9': 0, '10': 'string'},
{'1': 'bytes', '3': 15, '4': 1, '5': 11, '6': '.validate.BytesRules', '9': 0, '10': 'bytes'},
{'1': 'enum', '3': 16, '4': 1, '5': 11, '6': '.validate.EnumRules', '9': 0, '10': 'enum'},
{'1': 'repeated', '3': 18, '4': 1, '5': 11, '6': '.validate.RepeatedRules', '9': 0, '10': 'repeated'},
{'1': 'map', '3': 19, '4': 1, '5': 11, '6': '.validate.MapRules', '9': 0, '10': 'map'},
{'1': 'any', '3': 20, '4': 1, '5': 11, '6': '.validate.AnyRules', '9': 0, '10': 'any'},
{'1': 'duration', '3': 21, '4': 1, '5': 11, '6': '.validate.DurationRules', '9': 0, '10': 'duration'},
{'1': 'timestamp', '3': 22, '4': 1, '5': 11, '6': '.validate.TimestampRules', '9': 0, '10': 'timestamp'},
],
'8': [
{'1': 'type'},
],
};
/// Descriptor for `FieldRules`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List fieldRulesDescriptor = $convert.base64Decode(
'CgpGaWVsZFJ1bGVzEjAKB21lc3NhZ2UYESABKAsyFi52YWxpZGF0ZS5NZXNzYWdlUnVsZXNSB2'
'1lc3NhZ2USLAoFZmxvYXQYASABKAsyFC52YWxpZGF0ZS5GbG9hdFJ1bGVzSABSBWZsb2F0Ei8K'
'BmRvdWJsZRgCIAEoCzIVLnZhbGlkYXRlLkRvdWJsZVJ1bGVzSABSBmRvdWJsZRIsCgVpbnQzMh'
'gDIAEoCzIULnZhbGlkYXRlLkludDMyUnVsZXNIAFIFaW50MzISLAoFaW50NjQYBCABKAsyFC52'
'YWxpZGF0ZS5JbnQ2NFJ1bGVzSABSBWludDY0Ei8KBnVpbnQzMhgFIAEoCzIVLnZhbGlkYXRlLl'
'VJbnQzMlJ1bGVzSABSBnVpbnQzMhIvCgZ1aW50NjQYBiABKAsyFS52YWxpZGF0ZS5VSW50NjRS'
'dWxlc0gAUgZ1aW50NjQSLwoGc2ludDMyGAcgASgLMhUudmFsaWRhdGUuU0ludDMyUnVsZXNIAF'
'IGc2ludDMyEi8KBnNpbnQ2NBgIIAEoCzIVLnZhbGlkYXRlLlNJbnQ2NFJ1bGVzSABSBnNpbnQ2'
'NBIyCgdmaXhlZDMyGAkgASgLMhYudmFsaWRhdGUuRml4ZWQzMlJ1bGVzSABSB2ZpeGVkMzISMg'
'oHZml4ZWQ2NBgKIAEoCzIWLnZhbGlkYXRlLkZpeGVkNjRSdWxlc0gAUgdmaXhlZDY0EjUKCHNm'
'aXhlZDMyGAsgASgLMhcudmFsaWRhdGUuU0ZpeGVkMzJSdWxlc0gAUghzZml4ZWQzMhI1CghzZm'
'l4ZWQ2NBgMIAEoCzIXLnZhbGlkYXRlLlNGaXhlZDY0UnVsZXNIAFIIc2ZpeGVkNjQSKQoEYm9v'
'bBgNIAEoCzITLnZhbGlkYXRlLkJvb2xSdWxlc0gAUgRib29sEi8KBnN0cmluZxgOIAEoCzIVLn'
'ZhbGlkYXRlLlN0cmluZ1J1bGVzSABSBnN0cmluZxIsCgVieXRlcxgPIAEoCzIULnZhbGlkYXRl'
'LkJ5dGVzUnVsZXNIAFIFYnl0ZXMSKQoEZW51bRgQIAEoCzITLnZhbGlkYXRlLkVudW1SdWxlc0'
'gAUgRlbnVtEjUKCHJlcGVhdGVkGBIgASgLMhcudmFsaWRhdGUuUmVwZWF0ZWRSdWxlc0gAUghy'
'ZXBlYXRlZBImCgNtYXAYEyABKAsyEi52YWxpZGF0ZS5NYXBSdWxlc0gAUgNtYXASJgoDYW55GB'
'QgASgLMhIudmFsaWRhdGUuQW55UnVsZXNIAFIDYW55EjUKCGR1cmF0aW9uGBUgASgLMhcudmFs'
'aWRhdGUuRHVyYXRpb25SdWxlc0gAUghkdXJhdGlvbhI4Cgl0aW1lc3RhbXAYFiABKAsyGC52YW'
'xpZGF0ZS5UaW1lc3RhbXBSdWxlc0gAUgl0aW1lc3RhbXBCBgoEdHlwZQ==');
@$core.Deprecated('Use floatRulesDescriptor instead')
const FloatRules$json = {
'1': 'FloatRules',
'2': [
{'1': 'const', '3': 1, '4': 1, '5': 2, '10': 'const'},
{'1': 'lt', '3': 2, '4': 1, '5': 2, '10': 'lt'},
{'1': 'lte', '3': 3, '4': 1, '5': 2, '10': 'lte'},
{'1': 'gt', '3': 4, '4': 1, '5': 2, '10': 'gt'},
{'1': 'gte', '3': 5, '4': 1, '5': 2, '10': 'gte'},
{'1': 'in', '3': 6, '4': 3, '5': 2, '10': 'in'},
{'1': 'not_in', '3': 7, '4': 3, '5': 2, '10': 'notIn'},
{'1': 'unauthorized', '3': 8, '4': 1, '5': 8, '10': 'unauthorized'},
{'1': 'ignore_empty', '3': 9, '4': 1, '5': 8, '10': 'ignoreEmpty'},
],
};
/// Descriptor for `FloatRules`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List floatRulesDescriptor = $convert.base64Decode(
'CgpGbG9hdFJ1bGVzEhQKBWNvbnN0GAEgASgCUgVjb25zdBIOCgJsdBgCIAEoAlICbHQSEAoDbH'
'RlGAMgASgCUgNsdGUSDgoCZ3QYBCABKAJSAmd0EhAKA2d0ZRgFIAEoAlIDZ3RlEg4KAmluGAYg'
'AygCUgJpbhIVCgZub3RfaW4YByADKAJSBW5vdEluEiIKDHVuYXV0aG9yaXplZBgIIAEoCFIMdW'
'5hdXRob3JpemVkEiEKDGlnbm9yZV9lbXB0eRgJIAEoCFILaWdub3JlRW1wdHk=');
@$core.Deprecated('Use doubleRulesDescriptor instead')
const DoubleRules$json = {
'1': 'DoubleRules',
'2': [
{'1': 'const', '3': 1, '4': 1, '5': 1, '10': 'const'},
{'1': 'lt', '3': 2, '4': 1, '5': 1, '10': 'lt'},
{'1': 'lte', '3': 3, '4': 1, '5': 1, '10': 'lte'},
{'1': 'gt', '3': 4, '4': 1, '5': 1, '10': 'gt'},
{'1': 'gte', '3': 5, '4': 1, '5': 1, '10': 'gte'},
{'1': 'in', '3': 6, '4': 3, '5': 1, '10': 'in'},
{'1': 'not_in', '3': 7, '4': 3, '5': 1, '10': 'notIn'},
{'1': 'unauthorized', '3': 8, '4': 1, '5': 8, '10': 'unauthorized'},
{'1': 'ignore_empty', '3': 9, '4': 1, '5': 8, '10': 'ignoreEmpty'},
],
};
/// Descriptor for `DoubleRules`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List doubleRulesDescriptor = $convert.base64Decode(
'CgtEb3VibGVSdWxlcxIUCgVjb25zdBgBIAEoAVIFY29uc3QSDgoCbHQYAiABKAFSAmx0EhAKA2'
'x0ZRgDIAEoAVIDbHRlEg4KAmd0GAQgASgBUgJndBIQCgNndGUYBSABKAFSA2d0ZRIOCgJpbhgG'
'IAMoAVICaW4SFQoGbm90X2luGAcgAygBUgVub3RJbhIiCgx1bmF1dGhvcml6ZWQYCCABKAhSDH'
'VuYXV0aG9yaXplZBIhCgxpZ25vcmVfZW1wdHkYCSABKAhSC2lnbm9yZUVtcHR5');
@$core.Deprecated('Use int32RulesDescriptor instead')
const Int32Rules$json = {
'1': 'Int32Rules',
'2': [
{'1': 'const', '3': 1, '4': 1, '5': 5, '10': 'const'},
{'1': 'lt', '3': 2, '4': 1, '5': 5, '10': 'lt'},
{'1': 'lte', '3': 3, '4': 1, '5': 5, '10': 'lte'},
{'1': 'gt', '3': 4, '4': 1, '5': 5, '10': 'gt'},
{'1': 'gte', '3': 5, '4': 1, '5': 5, '10': 'gte'},
{'1': 'in', '3': 6, '4': 3, '5': 5, '10': 'in'},
{'1': 'not_in', '3': 7, '4': 3, '5': 5, '10': 'notIn'},
{'1': 'unauthorized', '3': 8, '4': 1, '5': 8, '10': 'unauthorized'},
{'1': 'ignore_empty', '3': 9, '4': 1, '5': 8, '10': 'ignoreEmpty'},
],
};
/// Descriptor for `Int32Rules`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List int32RulesDescriptor = $convert.base64Decode(
'CgpJbnQzMlJ1bGVzEhQKBWNvbnN0GAEgASgFUgVjb25zdBIOCgJsdBgCIAEoBVICbHQSEAoDbH'
'RlGAMgASgFUgNsdGUSDgoCZ3QYBCABKAVSAmd0EhAKA2d0ZRgFIAEoBVIDZ3RlEg4KAmluGAYg'
'AygFUgJpbhIVCgZub3RfaW4YByADKAVSBW5vdEluEiIKDHVuYXV0aG9yaXplZBgIIAEoCFIMdW'
'5hdXRob3JpemVkEiEKDGlnbm9yZV9lbXB0eRgJIAEoCFILaWdub3JlRW1wdHk=');
@$core.Deprecated('Use int64RulesDescriptor instead')
const Int64Rules$json = {
'1': 'Int64Rules',
'2': [
{'1': 'const', '3': 1, '4': 1, '5': 3, '10': 'const'},
{'1': 'lt', '3': 2, '4': 1, '5': 3, '10': 'lt'},
{'1': 'lte', '3': 3, '4': 1, '5': 3, '10': 'lte'},
{'1': 'gt', '3': 4, '4': 1, '5': 3, '10': 'gt'},
{'1': 'gte', '3': 5, '4': 1, '5': 3, '10': 'gte'},
{'1': 'in', '3': 6, '4': 3, '5': 3, '10': 'in'},
{'1': 'not_in', '3': 7, '4': 3, '5': 3, '10': 'notIn'},
{'1': 'unauthorized', '3': 8, '4': 1, '5': 8, '10': 'unauthorized'},
{'1': 'ignore_empty', '3': 9, '4': 1, '5': 8, '10': 'ignoreEmpty'},
],
};
/// Descriptor for `Int64Rules`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List int64RulesDescriptor = $convert.base64Decode(
'CgpJbnQ2NFJ1bGVzEhQKBWNvbnN0GAEgASgDUgVjb25zdBIOCgJsdBgCIAEoA1ICbHQSEAoDbH'
'RlGAMgASgDUgNsdGUSDgoCZ3QYBCABKANSAmd0EhAKA2d0ZRgFIAEoA1IDZ3RlEg4KAmluGAYg'
'AygDUgJpbhIVCgZub3RfaW4YByADKANSBW5vdEluEiIKDHVuYXV0aG9yaXplZBgIIAEoCFIMdW'
'5hdXRob3JpemVkEiEKDGlnbm9yZV9lbXB0eRgJIAEoCFILaWdub3JlRW1wdHk=');
@$core.Deprecated('Use uInt32RulesDescriptor instead')
const UInt32Rules$json = {
'1': 'UInt32Rules',
'2': [
{'1': 'const', '3': 1, '4': 1, '5': 13, '10': 'const'},
{'1': 'lt', '3': 2, '4': 1, '5': 13, '10': 'lt'},
{'1': 'lte', '3': 3, '4': 1, '5': 13, '10': 'lte'},
{'1': 'gt', '3': 4, '4': 1, '5': 13, '10': 'gt'},
{'1': 'gte', '3': 5, '4': 1, '5': 13, '10': 'gte'},
{'1': 'in', '3': 6, '4': 3, '5': 13, '10': 'in'},
{'1': 'not_in', '3': 7, '4': 3, '5': 13, '10': 'notIn'},
{'1': 'unauthorized', '3': 8, '4': 1, '5': 8, '10': 'unauthorized'},
{'1': 'ignore_empty', '3': 9, '4': 1, '5': 8, '10': 'ignoreEmpty'},
],
};
/// Descriptor for `UInt32Rules`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List uInt32RulesDescriptor = $convert.base64Decode(
'CgtVSW50MzJSdWxlcxIUCgVjb25zdBgBIAEoDVIFY29uc3QSDgoCbHQYAiABKA1SAmx0EhAKA2'
'x0ZRgDIAEoDVIDbHRlEg4KAmd0GAQgASgNUgJndBIQCgNndGUYBSABKA1SA2d0ZRIOCgJpbhgG'
'IAMoDVICaW4SFQoGbm90X2luGAcgAygNUgVub3RJbhIiCgx1bmF1dGhvcml6ZWQYCCABKAhSDH'
'VuYXV0aG9yaXplZBIhCgxpZ25vcmVfZW1wdHkYCSABKAhSC2lnbm9yZUVtcHR5');
@$core.Deprecated('Use uInt64RulesDescriptor instead')
const UInt64Rules$json = {
'1': 'UInt64Rules',
'2': [
{'1': 'const', '3': 1, '4': 1, '5': 4, '10': 'const'},
{'1': 'lt', '3': 2, '4': 1, '5': 4, '10': 'lt'},
{'1': 'lte', '3': 3, '4': 1, '5': 4, '10': 'lte'},
{'1': 'gt', '3': 4, '4': 1, '5': 4, '10': 'gt'},
{'1': 'gte', '3': 5, '4': 1, '5': 4, '10': 'gte'},
{'1': 'in', '3': 6, '4': 3, '5': 4, '10': 'in'},
{'1': 'not_in', '3': 7, '4': 3, '5': 4, '10': 'notIn'},
{'1': 'unauthorized', '3': 8, '4': 1, '5': 8, '10': 'unauthorized'},
{'1': 'ignore_empty', '3': 9, '4': 1, '5': 8, '10': 'ignoreEmpty'},
],
};
/// Descriptor for `UInt64Rules`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List uInt64RulesDescriptor = $convert.base64Decode(
'CgtVSW50NjRSdWxlcxIUCgVjb25zdBgBIAEoBFIFY29uc3QSDgoCbHQYAiABKARSAmx0EhAKA2'
'x0ZRgDIAEoBFIDbHRlEg4KAmd0GAQgASgEUgJndBIQCgNndGUYBSABKARSA2d0ZRIOCgJpbhgG'
'IAMoBFICaW4SFQoGbm90X2luGAcgAygEUgVub3RJbhIiCgx1bmF1dGhvcml6ZWQYCCABKAhSDH'
'VuYXV0aG9yaXplZBIhCgxpZ25vcmVfZW1wdHkYCSABKAhSC2lnbm9yZUVtcHR5');
@$core.Deprecated('Use sInt32RulesDescriptor instead')
const SInt32Rules$json = {
'1': 'SInt32Rules',
'2': [
{'1': 'const', '3': 1, '4': 1, '5': 17, '10': 'const'},
{'1': 'lt', '3': 2, '4': 1, '5': 17, '10': 'lt'},
{'1': 'lte', '3': 3, '4': 1, '5': 17, '10': 'lte'},
{'1': 'gt', '3': 4, '4': 1, '5': 17, '10': 'gt'},
{'1': 'gte', '3': 5, '4': 1, '5': 17, '10': 'gte'},
{'1': 'in', '3': 6, '4': 3, '5': 17, '10': 'in'},
{'1': 'not_in', '3': 7, '4': 3, '5': 17, '10': 'notIn'},
{'1': 'unauthorized', '3': 8, '4': 1, '5': 8, '10': 'unauthorized'},
{'1': 'ignore_empty', '3': 9, '4': 1, '5': 8, '10': 'ignoreEmpty'},
],
};
/// Descriptor for `SInt32Rules`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List sInt32RulesDescriptor = $convert.base64Decode(
'CgtTSW50MzJSdWxlcxIUCgVjb25zdBgBIAEoEVIFY29uc3QSDgoCbHQYAiABKBFSAmx0EhAKA2'
'x0ZRgDIAEoEVIDbHRlEg4KAmd0GAQgASgRUgJndBIQCgNndGUYBSABKBFSA2d0ZRIOCgJpbhgG'
'IAMoEVICaW4SFQoGbm90X2luGAcgAygRUgVub3RJbhIiCgx1bmF1dGhvcml6ZWQYCCABKAhSDH'
'VuYXV0aG9yaXplZBIhCgxpZ25vcmVfZW1wdHkYCSABKAhSC2lnbm9yZUVtcHR5');
@$core.Deprecated('Use sInt64RulesDescriptor instead')
const SInt64Rules$json = {
'1': 'SInt64Rules',
'2': [
{'1': 'const', '3': 1, '4': 1, '5': 18, '10': 'const'},
{'1': 'lt', '3': 2, '4': 1, '5': 18, '10': 'lt'},
{'1': 'lte', '3': 3, '4': 1, '5': 18, '10': 'lte'},
{'1': 'gt', '3': 4, '4': 1, '5': 18, '10': 'gt'},
{'1': 'gte', '3': 5, '4': 1, '5': 18, '10': 'gte'},
{'1': 'in', '3': 6, '4': 3, '5': 18, '10': 'in'},
{'1': 'not_in', '3': 7, '4': 3, '5': 18, '10': 'notIn'},
{'1': 'unauthorized', '3': 8, '4': 1, '5': 8, '10': 'unauthorized'},
{'1': 'ignore_empty', '3': 9, '4': 1, '5': 8, '10': 'ignoreEmpty'},
],
};
/// Descriptor for `SInt64Rules`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List sInt64RulesDescriptor = $convert.base64Decode(
'CgtTSW50NjRSdWxlcxIUCgVjb25zdBgBIAEoElIFY29uc3QSDgoCbHQYAiABKBJSAmx0EhAKA2'
'x0ZRgDIAEoElIDbHRlEg4KAmd0GAQgASgSUgJndBIQCgNndGUYBSABKBJSA2d0ZRIOCgJpbhgG'
'IAMoElICaW4SFQoGbm90X2luGAcgAygSUgVub3RJbhIiCgx1bmF1dGhvcml6ZWQYCCABKAhSDH'
'VuYXV0aG9yaXplZBIhCgxpZ25vcmVfZW1wdHkYCSABKAhSC2lnbm9yZUVtcHR5');
@$core.Deprecated('Use fixed32RulesDescriptor instead')
const Fixed32Rules$json = {
'1': 'Fixed32Rules',
'2': [
{'1': 'const', '3': 1, '4': 1, '5': 7, '10': 'const'},
{'1': 'lt', '3': 2, '4': 1, '5': 7, '10': 'lt'},
{'1': 'lte', '3': 3, '4': 1, '5': 7, '10': 'lte'},
{'1': 'gt', '3': 4, '4': 1, '5': 7, '10': 'gt'},
{'1': 'gte', '3': 5, '4': 1, '5': 7, '10': 'gte'},
{'1': 'in', '3': 6, '4': 3, '5': 7, '10': 'in'},
{'1': 'not_in', '3': 7, '4': 3, '5': 7, '10': 'notIn'},
{'1': 'unauthorized', '3': 8, '4': 1, '5': 8, '10': 'unauthorized'},
{'1': 'ignore_empty', '3': 9, '4': 1, '5': 8, '10': 'ignoreEmpty'},
],
};
/// Descriptor for `Fixed32Rules`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List fixed32RulesDescriptor = $convert.base64Decode(
'CgxGaXhlZDMyUnVsZXMSFAoFY29uc3QYASABKAdSBWNvbnN0Eg4KAmx0GAIgASgHUgJsdBIQCg'
'NsdGUYAyABKAdSA2x0ZRIOCgJndBgEIAEoB1ICZ3QSEAoDZ3RlGAUgASgHUgNndGUSDgoCaW4Y'
'BiADKAdSAmluEhUKBm5vdF9pbhgHIAMoB1IFbm90SW4SIgoMdW5hdXRob3JpemVkGAggASgIUg'
'x1bmF1dGhvcml6ZWQSIQoMaWdub3JlX2VtcHR5GAkgASgIUgtpZ25vcmVFbXB0eQ==');
@$core.Deprecated('Use fixed64RulesDescriptor instead')
const Fixed64Rules$json = {
'1': 'Fixed64Rules',
'2': [
{'1': 'const', '3': 1, '4': 1, '5': 6, '10': 'const'},
{'1': 'lt', '3': 2, '4': 1, '5': 6, '10': 'lt'},
{'1': 'lte', '3': 3, '4': 1, '5': 6, '10': 'lte'},
{'1': 'gt', '3': 4, '4': 1, '5': 6, '10': 'gt'},
{'1': 'gte', '3': 5, '4': 1, '5': 6, '10': 'gte'},
{'1': 'in', '3': 6, '4': 3, '5': 6, '10': 'in'},
{'1': 'not_in', '3': 7, '4': 3, '5': 6, '10': 'notIn'},
{'1': 'unauthorized', '3': 8, '4': 1, '5': 8, '10': 'unauthorized'},
{'1': 'ignore_empty', '3': 9, '4': 1, '5': 8, '10': 'ignoreEmpty'},
],
};
/// Descriptor for `Fixed64Rules`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List fixed64RulesDescriptor = $convert.base64Decode(
'CgxGaXhlZDY0UnVsZXMSFAoFY29uc3QYASABKAZSBWNvbnN0Eg4KAmx0GAIgASgGUgJsdBIQCg'
'NsdGUYAyABKAZSA2x0ZRIOCgJndBgEIAEoBlICZ3QSEAoDZ3RlGAUgASgGUgNndGUSDgoCaW4Y'
'BiADKAZSAmluEhUKBm5vdF9pbhgHIAMoBlIFbm90SW4SIgoMdW5hdXRob3JpemVkGAggASgIUg'
'x1bmF1dGhvcml6ZWQSIQoMaWdub3JlX2VtcHR5GAkgASgIUgtpZ25vcmVFbXB0eQ==');
@$core.Deprecated('Use sFixed32RulesDescriptor instead')
const SFixed32Rules$json = {
'1': 'SFixed32Rules',
'2': [
{'1': 'const', '3': 1, '4': 1, '5': 15, '10': 'const'},
{'1': 'lt', '3': 2, '4': 1, '5': 15, '10': 'lt'},
{'1': 'lte', '3': 3, '4': 1, '5': 15, '10': 'lte'},
{'1': 'gt', '3': 4, '4': 1, '5': 15, '10': 'gt'},
{'1': 'gte', '3': 5, '4': 1, '5': 15, '10': 'gte'},
{'1': 'in', '3': 6, '4': 3, '5': 15, '10': 'in'},
{'1': 'not_in', '3': 7, '4': 3, '5': 15, '10': 'notIn'},
{'1': 'unauthorized', '3': 8, '4': 1, '5': 8, '10': 'unauthorized'},
{'1': 'ignore_empty', '3': 9, '4': 1, '5': 8, '10': 'ignoreEmpty'},
],
};
/// Descriptor for `SFixed32Rules`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List sFixed32RulesDescriptor = $convert.base64Decode(
'Cg1TRml4ZWQzMlJ1bGVzEhQKBWNvbnN0GAEgASgPUgVjb25zdBIOCgJsdBgCIAEoD1ICbHQSEA'
'oDbHRlGAMgASgPUgNsdGUSDgoCZ3QYBCABKA9SAmd0EhAKA2d0ZRgFIAEoD1IDZ3RlEg4KAmlu'
'GAYgAygPUgJpbhIVCgZub3RfaW4YByADKA9SBW5vdEluEiIKDHVuYXV0aG9yaXplZBgIIAEoCF'
'IMdW5hdXRob3JpemVkEiEKDGlnbm9yZV9lbXB0eRgJIAEoCFILaWdub3JlRW1wdHk=');
@$core.Deprecated('Use sFixed64RulesDescriptor instead')
const SFixed64Rules$json = {
'1': 'SFixed64Rules',
'2': [
{'1': 'const', '3': 1, '4': 1, '5': 16, '10': 'const'},
{'1': 'lt', '3': 2, '4': 1, '5': 16, '10': 'lt'},
{'1': 'lte', '3': 3, '4': 1, '5': 16, '10': 'lte'},
{'1': 'gt', '3': 4, '4': 1, '5': 16, '10': 'gt'},
{'1': 'gte', '3': 5, '4': 1, '5': 16, '10': 'gte'},
{'1': 'in', '3': 6, '4': 3, '5': 16, '10': 'in'},
{'1': 'not_in', '3': 7, '4': 3, '5': 16, '10': 'notIn'},
{'1': 'unauthorized', '3': 8, '4': 1, '5': 8, '10': 'unauthorized'},
{'1': 'ignore_empty', '3': 9, '4': 1, '5': 8, '10': 'ignoreEmpty'},
],
};
/// Descriptor for `SFixed64Rules`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List sFixed64RulesDescriptor = $convert.base64Decode(
'Cg1TRml4ZWQ2NFJ1bGVzEhQKBWNvbnN0GAEgASgQUgVjb25zdBIOCgJsdBgCIAEoEFICbHQSEA'
'oDbHRlGAMgASgQUgNsdGUSDgoCZ3QYBCABKBBSAmd0EhAKA2d0ZRgFIAEoEFIDZ3RlEg4KAmlu'
'GAYgAygQUgJpbhIVCgZub3RfaW4YByADKBBSBW5vdEluEiIKDHVuYXV0aG9yaXplZBgIIAEoCF'
'IMdW5hdXRob3JpemVkEiEKDGlnbm9yZV9lbXB0eRgJIAEoCFILaWdub3JlRW1wdHk=');
@$core.Deprecated('Use boolRulesDescriptor instead')
const BoolRules$json = {
'1': 'BoolRules',
'2': [
{'1': 'const', '3': 1, '4': 1, '5': 8, '10': 'const'},
{'1': 'unauthorized', '3': 2, '4': 1, '5': 8, '10': 'unauthorized'},
],
};
/// Descriptor for `BoolRules`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List boolRulesDescriptor = $convert.base64Decode(
'CglCb29sUnVsZXMSFAoFY29uc3QYASABKAhSBWNvbnN0EiIKDHVuYXV0aG9yaXplZBgCIAEoCF'
'IMdW5hdXRob3JpemVk');
@$core.Deprecated('Use stringRulesDescriptor instead')
const StringRules$json = {
'1': 'StringRules',
'2': [
{'1': 'const', '3': 1, '4': 1, '5': 9, '10': 'const'},
{'1': 'len', '3': 19, '4': 1, '5': 4, '10': 'len'},
{'1': 'min_len', '3': 2, '4': 1, '5': 4, '10': 'minLen'},
{'1': 'max_len', '3': 3, '4': 1, '5': 4, '10': 'maxLen'},
{'1': 'len_bytes', '3': 20, '4': 1, '5': 4, '10': 'lenBytes'},
{'1': 'min_bytes', '3': 4, '4': 1, '5': 4, '10': 'minBytes'},
{'1': 'max_bytes', '3': 5, '4': 1, '5': 4, '10': 'maxBytes'},
{'1': 'pattern', '3': 6, '4': 1, '5': 9, '10': 'pattern'},
{'1': 'prefix', '3': 7, '4': 1, '5': 9, '10': 'prefix'},
{'1': 'suffix', '3': 8, '4': 1, '5': 9, '10': 'suffix'},
{'1': 'contains', '3': 9, '4': 1, '5': 9, '10': 'contains'},
{'1': 'not_contains', '3': 23, '4': 1, '5': 9, '10': 'notContains'},
{'1': 'in', '3': 10, '4': 3, '5': 9, '10': 'in'},
{'1': 'not_in', '3': 11, '4': 3, '5': 9, '10': 'notIn'},
{'1': 'unauthorized', '3': 29, '4': 1, '5': 8, '10': 'unauthorized'},
{'1': 'email', '3': 12, '4': 1, '5': 8, '9': 0, '10': 'email'},
{'1': 'hostname', '3': 13, '4': 1, '5': 8, '9': 0, '10': 'hostname'},
{'1': 'ip', '3': 14, '4': 1, '5': 8, '9': 0, '10': 'ip'},
{'1': 'ipv4', '3': 15, '4': 1, '5': 8, '9': 0, '10': 'ipv4'},
{'1': 'ipv6', '3': 16, '4': 1, '5': 8, '9': 0, '10': 'ipv6'},
{'1': 'uri', '3': 17, '4': 1, '5': 8, '9': 0, '10': 'uri'},
{'1': 'uri_ref', '3': 18, '4': 1, '5': 8, '9': 0, '10': 'uriRef'},
{'1': 'address', '3': 21, '4': 1, '5': 8, '9': 0, '10': 'address'},
{'1': 'uuid', '3': 22, '4': 1, '5': 8, '9': 0, '10': 'uuid'},
{'1': 'well_known_regex', '3': 24, '4': 1, '5': 14, '6': '.validate.KnownRegex', '9': 0, '10': 'wellKnownRegex'},
{'1': 'dateIso8601', '3': 26, '4': 1, '5': 8, '9': 0, '10': 'dateIso8601'},
{'1': 'languageIso6391', '3': 27, '4': 1, '5': 8, '9': 0, '10': 'languageIso6391'},
{'1': 'tzData', '3': 28, '4': 1, '5': 8, '9': 0, '10': 'tzData'},
{'1': 'strict', '3': 25, '4': 1, '5': 8, '7': 'true', '10': 'strict'},
{'1': 'ignore_empty', '3': 30, '4': 1, '5': 8, '10': 'ignoreEmpty'},
],
'8': [
{'1': 'well_known'},
],
};
/// Descriptor for `StringRules`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List stringRulesDescriptor = $convert.base64Decode(
'CgtTdHJpbmdSdWxlcxIUCgVjb25zdBgBIAEoCVIFY29uc3QSEAoDbGVuGBMgASgEUgNsZW4SFw'
'oHbWluX2xlbhgCIAEoBFIGbWluTGVuEhcKB21heF9sZW4YAyABKARSBm1heExlbhIbCglsZW5f'
'Ynl0ZXMYFCABKARSCGxlbkJ5dGVzEhsKCW1pbl9ieXRlcxgEIAEoBFIIbWluQnl0ZXMSGwoJbW'
'F4X2J5dGVzGAUgASgEUghtYXhCeXRlcxIYCgdwYXR0ZXJuGAYgASgJUgdwYXR0ZXJuEhYKBnBy'
'ZWZpeBgHIAEoCVIGcHJlZml4EhYKBnN1ZmZpeBgIIAEoCVIGc3VmZml4EhoKCGNvbnRhaW5zGA'
'kgASgJUghjb250YWlucxIhCgxub3RfY29udGFpbnMYFyABKAlSC25vdENvbnRhaW5zEg4KAmlu'
'GAogAygJUgJpbhIVCgZub3RfaW4YCyADKAlSBW5vdEluEiIKDHVuYXV0aG9yaXplZBgdIAEoCF'
'IMdW5hdXRob3JpemVkEhYKBWVtYWlsGAwgASgISABSBWVtYWlsEhwKCGhvc3RuYW1lGA0gASgI'
'SABSCGhvc3RuYW1lEhAKAmlwGA4gASgISABSAmlwEhQKBGlwdjQYDyABKAhIAFIEaXB2NBIUCg'
'RpcHY2GBAgASgISABSBGlwdjYSEgoDdXJpGBEgASgISABSA3VyaRIZCgd1cmlfcmVmGBIgASgI'
'SABSBnVyaVJlZhIaCgdhZGRyZXNzGBUgASgISABSB2FkZHJlc3MSFAoEdXVpZBgWIAEoCEgAUg'
'R1dWlkEkAKEHdlbGxfa25vd25fcmVnZXgYGCABKA4yFC52YWxpZGF0ZS5Lbm93blJlZ2V4SABS'
'DndlbGxLbm93blJlZ2V4EiIKC2RhdGVJc284NjAxGBogASgISABSC2RhdGVJc284NjAxEioKD2'
'xhbmd1YWdlSXNvNjM5MRgbIAEoCEgAUg9sYW5ndWFnZUlzbzYzOTESGAoGdHpEYXRhGBwgASgI'
'SABSBnR6RGF0YRIcCgZzdHJpY3QYGSABKAg6BHRydWVSBnN0cmljdBIhCgxpZ25vcmVfZW1wdH'
'kYHiABKAhSC2lnbm9yZUVtcHR5QgwKCndlbGxfa25vd24=');
@$core.Deprecated('Use bytesRulesDescriptor instead')
const BytesRules$json = {
'1': 'BytesRules',
'2': [
{'1': 'const', '3': 1, '4': 1, '5': 12, '10': 'const'},
{'1': 'len', '3': 13, '4': 1, '5': 4, '10': 'len'},
{'1': 'min_len', '3': 2, '4': 1, '5': 4, '10': 'minLen'},
{'1': 'max_len', '3': 3, '4': 1, '5': 4, '10': 'maxLen'},
{'1': 'pattern', '3': 4, '4': 1, '5': 9, '10': 'pattern'},
{'1': 'prefix', '3': 5, '4': 1, '5': 12, '10': 'prefix'},
{'1': 'suffix', '3': 6, '4': 1, '5': 12, '10': 'suffix'},
{'1': 'contains', '3': 7, '4': 1, '5': 12, '10': 'contains'},
{'1': 'in', '3': 8, '4': 3, '5': 12, '10': 'in'},
{'1': 'not_in', '3': 9, '4': 3, '5': 12, '10': 'notIn'},
{'1': 'ip', '3': 10, '4': 1, '5': 8, '9': 0, '10': 'ip'},
{'1': 'ipv4', '3': 11, '4': 1, '5': 8, '9': 0, '10': 'ipv4'},
{'1': 'ipv6', '3': 12, '4': 1, '5': 8, '9': 0, '10': 'ipv6'},
{'1': 'ignore_empty', '3': 14, '4': 1, '5': 8, '10': 'ignoreEmpty'},
],
'8': [
{'1': 'well_known'},
],
};
/// Descriptor for `BytesRules`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List bytesRulesDescriptor = $convert.base64Decode(
'CgpCeXRlc1J1bGVzEhQKBWNvbnN0GAEgASgMUgVjb25zdBIQCgNsZW4YDSABKARSA2xlbhIXCg'
'dtaW5fbGVuGAIgASgEUgZtaW5MZW4SFwoHbWF4X2xlbhgDIAEoBFIGbWF4TGVuEhgKB3BhdHRl'
'cm4YBCABKAlSB3BhdHRlcm4SFgoGcHJlZml4GAUgASgMUgZwcmVmaXgSFgoGc3VmZml4GAYgAS'
'gMUgZzdWZmaXgSGgoIY29udGFpbnMYByABKAxSCGNvbnRhaW5zEg4KAmluGAggAygMUgJpbhIV'
'CgZub3RfaW4YCSADKAxSBW5vdEluEhAKAmlwGAogASgISABSAmlwEhQKBGlwdjQYCyABKAhIAF'
'IEaXB2NBIUCgRpcHY2GAwgASgISABSBGlwdjYSIQoMaWdub3JlX2VtcHR5GA4gASgIUgtpZ25v'
'cmVFbXB0eUIMCgp3ZWxsX2tub3du');
@$core.Deprecated('Use enumRulesDescriptor instead')
const EnumRules$json = {
'1': 'EnumRules',
'2': [
{'1': 'const', '3': 1, '4': 1, '5': 5, '10': 'const'},
{'1': 'defined_only', '3': 2, '4': 1, '5': 8, '10': 'definedOnly'},
{'1': 'in', '3': 3, '4': 3, '5': 5, '10': 'in'},
{'1': 'not_in', '3': 4, '4': 3, '5': 5, '10': 'notIn'},
{'1': 'unauthorized', '3': 5, '4': 1, '5': 8, '10': 'unauthorized'},
{'1': 'ignore_empty', '3': 6, '4': 1, '5': 8, '10': 'ignoreEmpty'},
],
};
/// Descriptor for `EnumRules`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List enumRulesDescriptor = $convert.base64Decode(
'CglFbnVtUnVsZXMSFAoFY29uc3QYASABKAVSBWNvbnN0EiEKDGRlZmluZWRfb25seRgCIAEoCF'
'ILZGVmaW5lZE9ubHkSDgoCaW4YAyADKAVSAmluEhUKBm5vdF9pbhgEIAMoBVIFbm90SW4SIgoM'
'dW5hdXRob3JpemVkGAUgASgIUgx1bmF1dGhvcml6ZWQSIQoMaWdub3JlX2VtcHR5GAYgASgIUg'
'tpZ25vcmVFbXB0eQ==');
@$core.Deprecated('Use messageRulesDescriptor instead')
const MessageRules$json = {
'1': 'MessageRules',
'2': [
{'1': 'skip', '3': 1, '4': 1, '5': 8, '10': 'skip'},
{'1': 'required', '3': 2, '4': 1, '5': 8, '10': 'required'},
{'1': 'unauthorized', '3': 3, '4': 1, '5': 8, '10': 'unauthorized'},
],
};
/// Descriptor for `MessageRules`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List messageRulesDescriptor = $convert.base64Decode(
'CgxNZXNzYWdlUnVsZXMSEgoEc2tpcBgBIAEoCFIEc2tpcBIaCghyZXF1aXJlZBgCIAEoCFIIcm'
'VxdWlyZWQSIgoMdW5hdXRob3JpemVkGAMgASgIUgx1bmF1dGhvcml6ZWQ=');
@$core.Deprecated('Use repeatedRulesDescriptor instead')
const RepeatedRules$json = {
'1': 'RepeatedRules',
'2': [
{'1': 'min_items', '3': 1, '4': 1, '5': 4, '10': 'minItems'},
{'1': 'max_items', '3': 2, '4': 1, '5': 4, '10': 'maxItems'},
{'1': 'unique', '3': 3, '4': 1, '5': 8, '10': 'unique'},
{'1': 'items', '3': 4, '4': 1, '5': 11, '6': '.validate.FieldRules', '10': 'items'},
{'1': 'uniqueBaseLV', '3': 5, '4': 1, '5': 8, '10': 'uniqueBaseLV'},
{'1': 'knownRefLV', '3': 6, '4': 1, '5': 8, '10': 'knownRefLV'},
{'1': 'ignore_empty', '3': 7, '4': 1, '5': 8, '10': 'ignoreEmpty'},
],
};
/// Descriptor for `RepeatedRules`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List repeatedRulesDescriptor = $convert.base64Decode(
'Cg1SZXBlYXRlZFJ1bGVzEhsKCW1pbl9pdGVtcxgBIAEoBFIIbWluSXRlbXMSGwoJbWF4X2l0ZW'
'1zGAIgASgEUghtYXhJdGVtcxIWCgZ1bmlxdWUYAyABKAhSBnVuaXF1ZRIqCgVpdGVtcxgEIAEo'
'CzIULnZhbGlkYXRlLkZpZWxkUnVsZXNSBWl0ZW1zEiIKDHVuaXF1ZUJhc2VMVhgFIAEoCFIMdW'
'5pcXVlQmFzZUxWEh4KCmtub3duUmVmTFYYBiABKAhSCmtub3duUmVmTFYSIQoMaWdub3JlX2Vt'
'cHR5GAcgASgIUgtpZ25vcmVFbXB0eQ==');
@$core.Deprecated('Use mapRulesDescriptor instead')
const MapRules$json = {
'1': 'MapRules',
'2': [
{'1': 'min_pairs', '3': 1, '4': 1, '5': 4, '10': 'minPairs'},
{'1': 'max_pairs', '3': 2, '4': 1, '5': 4, '10': 'maxPairs'},
{'1': 'no_sparse', '3': 3, '4': 1, '5': 8, '10': 'noSparse'},
{'1': 'keys', '3': 4, '4': 1, '5': 11, '6': '.validate.FieldRules', '10': 'keys'},
{'1': 'values', '3': 5, '4': 1, '5': 11, '6': '.validate.FieldRules', '10': 'values'},
{'1': 'ignore_empty', '3': 6, '4': 1, '5': 8, '10': 'ignoreEmpty'},
],
};
/// Descriptor for `MapRules`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List mapRulesDescriptor = $convert.base64Decode(
'CghNYXBSdWxlcxIbCgltaW5fcGFpcnMYASABKARSCG1pblBhaXJzEhsKCW1heF9wYWlycxgCIA'
'EoBFIIbWF4UGFpcnMSGwoJbm9fc3BhcnNlGAMgASgIUghub1NwYXJzZRIoCgRrZXlzGAQgASgL'
'MhQudmFsaWRhdGUuRmllbGRSdWxlc1IEa2V5cxIsCgZ2YWx1ZXMYBSABKAsyFC52YWxpZGF0ZS'
'5GaWVsZFJ1bGVzUgZ2YWx1ZXMSIQoMaWdub3JlX2VtcHR5GAYgASgIUgtpZ25vcmVFbXB0eQ==');
@$core.Deprecated('Use anyRulesDescriptor instead')
const AnyRules$json = {
'1': 'AnyRules',
'2': [
{'1': 'required', '3': 1, '4': 1, '5': 8, '10': 'required'},
{'1': 'in', '3': 2, '4': 3, '5': 9, '10': 'in'},
{'1': 'not_in', '3': 3, '4': 3, '5': 9, '10': 'notIn'},
],
};
/// Descriptor for `AnyRules`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List anyRulesDescriptor = $convert.base64Decode(
'CghBbnlSdWxlcxIaCghyZXF1aXJlZBgBIAEoCFIIcmVxdWlyZWQSDgoCaW4YAiADKAlSAmluEh'
'UKBm5vdF9pbhgDIAMoCVIFbm90SW4=');
@$core.Deprecated('Use durationRulesDescriptor instead')
const DurationRules$json = {
'1': 'DurationRules',
'2': [
{'1': 'required', '3': 1, '4': 1, '5': 8, '10': 'required'},
{'1': 'const', '3': 2, '4': 1, '5': 11, '6': '.google.protobuf.Duration', '10': 'const'},
{'1': 'lt', '3': 3, '4': 1, '5': 11, '6': '.google.protobuf.Duration', '10': 'lt'},
{'1': 'lte', '3': 4, '4': 1, '5': 11, '6': '.google.protobuf.Duration', '10': 'lte'},
{'1': 'gt', '3': 5, '4': 1, '5': 11, '6': '.google.protobuf.Duration', '10': 'gt'},
{'1': 'gte', '3': 6, '4': 1, '5': 11, '6': '.google.protobuf.Duration', '10': 'gte'},
{'1': 'in', '3': 7, '4': 3, '5': 11, '6': '.google.protobuf.Duration', '10': 'in'},
{'1': 'not_in', '3': 8, '4': 3, '5': 11, '6': '.google.protobuf.Duration', '10': 'notIn'},
],
};
/// Descriptor for `DurationRules`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List durationRulesDescriptor = $convert.base64Decode(
'Cg1EdXJhdGlvblJ1bGVzEhoKCHJlcXVpcmVkGAEgASgIUghyZXF1aXJlZBIvCgVjb25zdBgCIA'
'EoCzIZLmdvb2dsZS5wcm90b2J1Zi5EdXJhdGlvblIFY29uc3QSKQoCbHQYAyABKAsyGS5nb29n'
'bGUucHJvdG9idWYuRHVyYXRpb25SAmx0EisKA2x0ZRgEIAEoCzIZLmdvb2dsZS5wcm90b2J1Zi'
'5EdXJhdGlvblIDbHRlEikKAmd0GAUgASgLMhkuZ29vZ2xlLnByb3RvYnVmLkR1cmF0aW9uUgJn'
'dBIrCgNndGUYBiABKAsyGS5nb29nbGUucHJvdG9idWYuRHVyYXRpb25SA2d0ZRIpCgJpbhgHIA'
'MoCzIZLmdvb2dsZS5wcm90b2J1Zi5EdXJhdGlvblICaW4SMAoGbm90X2luGAggAygLMhkuZ29v'
'Z2xlLnByb3RvYnVmLkR1cmF0aW9uUgVub3RJbg==');
@$core.Deprecated('Use timestampRulesDescriptor instead')
const TimestampRules$json = {
'1': 'TimestampRules',
'2': [
{'1': 'required', '3': 1, '4': 1, '5': 8, '10': 'required'},
{'1': 'const', '3': 2, '4': 1, '5': 11, '6': '.google.protobuf.Timestamp', '10': 'const'},
{'1': 'lt', '3': 3, '4': 1, '5': 11, '6': '.google.protobuf.Timestamp', '10': 'lt'},
{'1': 'lte', '3': 4, '4': 1, '5': 11, '6': '.google.protobuf.Timestamp', '10': 'lte'},
{'1': 'gt', '3': 5, '4': 1, '5': 11, '6': '.google.protobuf.Timestamp', '10': 'gt'},
{'1': 'gte', '3': 6, '4': 1, '5': 11, '6': '.google.protobuf.Timestamp', '10': 'gte'},
{'1': 'lt_now', '3': 7, '4': 1, '5': 8, '10': 'ltNow'},
{'1': 'gt_now', '3': 8, '4': 1, '5': 8, '10': 'gtNow'},
{'1': 'within', '3': 9, '4': 1, '5': 11, '6': '.google.protobuf.Duration', '10': 'within'},
],
};
/// Descriptor for `TimestampRules`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List timestampRulesDescriptor = $convert.base64Decode(
'Cg5UaW1lc3RhbXBSdWxlcxIaCghyZXF1aXJlZBgBIAEoCFIIcmVxdWlyZWQSMAoFY29uc3QYAi'
'ABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wUgVjb25zdBIqCgJsdBgDIAEoCzIaLmdv'
'b2dsZS5wcm90b2J1Zi5UaW1lc3RhbXBSAmx0EiwKA2x0ZRgEIAEoCzIaLmdvb2dsZS5wcm90b2'
'J1Zi5UaW1lc3RhbXBSA2x0ZRIqCgJndBgFIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3Rh'
'bXBSAmd0EiwKA2d0ZRgGIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXBSA2d0ZRIVCg'
'ZsdF9ub3cYByABKAhSBWx0Tm93EhUKBmd0X25vdxgIIAEoCFIFZ3ROb3cSMQoGd2l0aGluGAkg'
'ASgLMhkuZ29vZ2xlLnByb3RvYnVmLkR1cmF0aW9uUgZ3aXRoaW4=');

188
lib/visibility.pb.dart Normal file
View File

@@ -0,0 +1,188 @@
//
// Generated code. Do not modify.
// source: visibility.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;
/// `Visibility` defines restrictions for the visibility of service
/// elements. Restrictions are specified using visibility labels
/// (e.g., PREVIEW) that are elsewhere linked to users and projects.
///
/// Users and projects can have access to more than one visibility label. The
/// effective visibility for multiple labels is the union of each label's
/// elements, plus any unrestricted elements.
///
/// If an element and its parents have no restrictions, visibility is
/// unconditionally granted.
///
/// Example:
///
/// visibility:
/// rules:
/// - selector: google.calendar.Calendar.EnhancedSearch
/// restriction: PREVIEW
/// - selector: google.calendar.Calendar.Delegate
/// restriction: INTERNAL
///
/// Here, all methods are publicly visible except for the restricted methods
/// EnhancedSearch and Delegate.
class Visibility extends $pb.GeneratedMessage {
factory Visibility({
$core.Iterable<VisibilityRule>? rules,
}) {
final $result = create();
if (rules != null) {
$result.rules.addAll(rules);
}
return $result;
}
Visibility._() : super();
factory Visibility.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
factory Visibility.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Visibility', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.api'), createEmptyInstance: create)
..pc<VisibilityRule>(1, _omitFieldNames ? '' : 'rules', $pb.PbFieldType.PM, subBuilder: VisibilityRule.create)
..hasRequiredFields = false
;
@$core.Deprecated(
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
'Will be removed in next major version')
Visibility clone() => Visibility()..mergeFromMessage(this);
@$core.Deprecated(
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
'Will be removed in next major version')
Visibility copyWith(void Function(Visibility) updates) => super.copyWith((message) => updates(message as Visibility)) as Visibility;
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static Visibility create() => Visibility._();
Visibility createEmptyInstance() => create();
static $pb.PbList<Visibility> createRepeated() => $pb.PbList<Visibility>();
@$core.pragma('dart2js:noInline')
static Visibility getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<Visibility>(create);
static Visibility? _defaultInstance;
/// A list of visibility rules that apply to individual API elements.
///
/// **NOTE:** All service configuration rules follow "last one wins" order.
@$pb.TagNumber(1)
$core.List<VisibilityRule> get rules => $_getList(0);
}
/// A visibility rule provides visibility configuration for an individual API
/// element.
class VisibilityRule extends $pb.GeneratedMessage {
factory VisibilityRule({
$core.String? selector,
$core.String? restriction,
}) {
final $result = create();
if (selector != null) {
$result.selector = selector;
}
if (restriction != null) {
$result.restriction = restriction;
}
return $result;
}
VisibilityRule._() : super();
factory VisibilityRule.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
factory VisibilityRule.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'VisibilityRule', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.api'), createEmptyInstance: create)
..aOS(1, _omitFieldNames ? '' : 'selector')
..aOS(2, _omitFieldNames ? '' : 'restriction')
..hasRequiredFields = false
;
@$core.Deprecated(
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
'Will be removed in next major version')
VisibilityRule clone() => VisibilityRule()..mergeFromMessage(this);
@$core.Deprecated(
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
'Will be removed in next major version')
VisibilityRule copyWith(void Function(VisibilityRule) updates) => super.copyWith((message) => updates(message as VisibilityRule)) as VisibilityRule;
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static VisibilityRule create() => VisibilityRule._();
VisibilityRule createEmptyInstance() => create();
static $pb.PbList<VisibilityRule> createRepeated() => $pb.PbList<VisibilityRule>();
@$core.pragma('dart2js:noInline')
static VisibilityRule getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<VisibilityRule>(create);
static VisibilityRule? _defaultInstance;
/// Selects methods, messages, fields, enums, etc. 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);
/// A comma-separated list of visibility labels that apply to the `selector`.
/// Any of the listed labels can be used to grant the visibility.
///
/// If a rule has multiple labels, removing one of the labels but not all of
/// them can break clients.
///
/// Example:
///
/// visibility:
/// rules:
/// - selector: google.calendar.Calendar.EnhancedSearch
/// restriction: INTERNAL, PREVIEW
///
/// Removing INTERNAL from this restriction will break clients that rely on
/// this method and only had access to it through INTERNAL.
@$pb.TagNumber(2)
$core.String get restriction => $_getSZ(1);
@$pb.TagNumber(2)
set restriction($core.String v) { $_setString(1, v); }
@$pb.TagNumber(2)
$core.bool hasRestriction() => $_has(1);
@$pb.TagNumber(2)
void clearRestriction() => clearField(2);
}
class VisibilityExt {
static final enumVisibility = $pb.Extension<VisibilityRule>(_omitMessageNames ? '' : 'google.protobuf.EnumOptions', _omitFieldNames ? '' : 'enumVisibility', 72295727, $pb.PbFieldType.OM, defaultOrMaker: VisibilityRule.getDefault, subBuilder: VisibilityRule.create);
static final valueVisibility = $pb.Extension<VisibilityRule>(_omitMessageNames ? '' : 'google.protobuf.EnumValueOptions', _omitFieldNames ? '' : 'valueVisibility', 72295727, $pb.PbFieldType.OM, defaultOrMaker: VisibilityRule.getDefault, subBuilder: VisibilityRule.create);
static final fieldVisibility = $pb.Extension<VisibilityRule>(_omitMessageNames ? '' : 'google.protobuf.FieldOptions', _omitFieldNames ? '' : 'fieldVisibility', 72295727, $pb.PbFieldType.OM, defaultOrMaker: VisibilityRule.getDefault, subBuilder: VisibilityRule.create);
static final messageVisibility = $pb.Extension<VisibilityRule>(_omitMessageNames ? '' : 'google.protobuf.MessageOptions', _omitFieldNames ? '' : 'messageVisibility', 72295727, $pb.PbFieldType.OM, defaultOrMaker: VisibilityRule.getDefault, subBuilder: VisibilityRule.create);
static final methodVisibility = $pb.Extension<VisibilityRule>(_omitMessageNames ? '' : 'google.protobuf.MethodOptions', _omitFieldNames ? '' : 'methodVisibility', 72295727, $pb.PbFieldType.OM, defaultOrMaker: VisibilityRule.getDefault, subBuilder: VisibilityRule.create);
static final apiVisibility = $pb.Extension<VisibilityRule>(_omitMessageNames ? '' : 'google.protobuf.ServiceOptions', _omitFieldNames ? '' : 'apiVisibility', 72295727, $pb.PbFieldType.OM, defaultOrMaker: VisibilityRule.getDefault, subBuilder: VisibilityRule.create);
static void registerAllExtensions($pb.ExtensionRegistry registry) {
registry.add(enumVisibility);
registry.add(valueVisibility);
registry.add(fieldVisibility);
registry.add(messageVisibility);
registry.add(methodVisibility);
registry.add(apiVisibility);
}
}
const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names');
const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names');

View File

@@ -0,0 +1,11 @@
//
// Generated code. Do not modify.
// source: visibility.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

View File

@@ -0,0 +1,42 @@
//
// Generated code. Do not modify.
// source: visibility.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 visibilityDescriptor instead')
const Visibility$json = {
'1': 'Visibility',
'2': [
{'1': 'rules', '3': 1, '4': 3, '5': 11, '6': '.google.api.VisibilityRule', '10': 'rules'},
],
};
/// Descriptor for `Visibility`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List visibilityDescriptor = $convert.base64Decode(
'CgpWaXNpYmlsaXR5EjAKBXJ1bGVzGAEgAygLMhouZ29vZ2xlLmFwaS5WaXNpYmlsaXR5UnVsZV'
'IFcnVsZXM=');
@$core.Deprecated('Use visibilityRuleDescriptor instead')
const VisibilityRule$json = {
'1': 'VisibilityRule',
'2': [
{'1': 'selector', '3': 1, '4': 1, '5': 9, '10': 'selector'},
{'1': 'restriction', '3': 2, '4': 1, '5': 9, '10': 'restriction'},
],
};
/// Descriptor for `VisibilityRule`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List visibilityRuleDescriptor = $convert.base64Decode(
'Cg5WaXNpYmlsaXR5UnVsZRIaCghzZWxlY3RvchgBIAEoCVIIc2VsZWN0b3ISIAoLcmVzdHJpY3'
'Rpb24YAiABKAlSC3Jlc3RyaWN0aW9u');

13
lib/viz-common.pb.dart Normal file
View File

@@ -0,0 +1,13 @@
//
// Generated code. Do not modify.
// source: viz-common.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;

View File

@@ -0,0 +1,11 @@
//
// Generated code. Do not modify.
// source: viz-common.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

View File

@@ -0,0 +1,15 @@
//
// Generated code. Do not modify.
// source: viz-common.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;

View File

@@ -0,0 +1,900 @@
//
// Generated code. Do not modify.
// source: viz-composed-field.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 'core/shared.pb.dart' as $16;
class ComposedField extends $pb.GeneratedMessage {
factory ComposedField({
$core.String? composedFieldID,
$core.String? name,
$core.String? projectID,
$core.String? screenID,
$core.String? createUserID,
$core.String? updateUserID,
$core.String? createDateTime,
$core.String? updateDateTime,
$core.String? tabID,
$core.String? payload,
}) {
final $result = create();
if (composedFieldID != null) {
$result.composedFieldID = composedFieldID;
}
if (name != null) {
$result.name = name;
}
if (projectID != null) {
$result.projectID = projectID;
}
if (screenID != null) {
$result.screenID = screenID;
}
if (createUserID != null) {
$result.createUserID = createUserID;
}
if (updateUserID != null) {
$result.updateUserID = updateUserID;
}
if (createDateTime != null) {
$result.createDateTime = createDateTime;
}
if (updateDateTime != null) {
$result.updateDateTime = updateDateTime;
}
if (tabID != null) {
$result.tabID = tabID;
}
if (payload != null) {
$result.payload = payload;
}
return $result;
}
ComposedField._() : super();
factory ComposedField.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
factory ComposedField.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ComposedField', package: const $pb.PackageName(_omitMessageNames ? '' : 'vizapi'), createEmptyInstance: create)
..aOS(1, _omitFieldNames ? '' : 'ComposedFieldID', protoName: 'ComposedFieldID')
..aOS(2, _omitFieldNames ? '' : 'Name', protoName: 'Name')
..aOS(3, _omitFieldNames ? '' : 'ProjectID', protoName: 'ProjectID')
..aOS(4, _omitFieldNames ? '' : 'ScreenID', protoName: 'ScreenID')
..aOS(5, _omitFieldNames ? '' : 'CreateUserID', protoName: 'CreateUserID')
..aOS(6, _omitFieldNames ? '' : 'UpdateUserID', protoName: 'UpdateUserID')
..aOS(7, _omitFieldNames ? '' : 'CreateDateTime', protoName: 'CreateDateTime')
..aOS(8, _omitFieldNames ? '' : 'UpdateDateTime', protoName: 'UpdateDateTime')
..aOS(9, _omitFieldNames ? '' : 'TabID', protoName: 'TabID')
..aOS(10, _omitFieldNames ? '' : 'Payload', protoName: 'Payload')
..hasRequiredFields = false
;
@$core.Deprecated(
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
'Will be removed in next major version')
ComposedField clone() => ComposedField()..mergeFromMessage(this);
@$core.Deprecated(
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
'Will be removed in next major version')
ComposedField copyWith(void Function(ComposedField) updates) => super.copyWith((message) => updates(message as ComposedField)) as ComposedField;
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static ComposedField create() => ComposedField._();
ComposedField createEmptyInstance() => create();
static $pb.PbList<ComposedField> createRepeated() => $pb.PbList<ComposedField>();
@$core.pragma('dart2js:noInline')
static ComposedField getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<ComposedField>(create);
static ComposedField? _defaultInstance;
/// Identifier of the Composed Field
@$pb.TagNumber(1)
$core.String get composedFieldID => $_getSZ(0);
@$pb.TagNumber(1)
set composedFieldID($core.String v) { $_setString(0, v); }
@$pb.TagNumber(1)
$core.bool hasComposedFieldID() => $_has(0);
@$pb.TagNumber(1)
void clearComposedFieldID() => clearField(1);
/// Name of the Composed Field
@$pb.TagNumber(2)
$core.String get name => $_getSZ(1);
@$pb.TagNumber(2)
set name($core.String v) { $_setString(1, v); }
@$pb.TagNumber(2)
$core.bool hasName() => $_has(1);
@$pb.TagNumber(2)
void clearName() => clearField(2);
/// Identifier of the project
@$pb.TagNumber(3)
$core.String get projectID => $_getSZ(2);
@$pb.TagNumber(3)
set projectID($core.String v) { $_setString(2, v); }
@$pb.TagNumber(3)
$core.bool hasProjectID() => $_has(2);
@$pb.TagNumber(3)
void clearProjectID() => clearField(3);
/// Identifier of the Screen
@$pb.TagNumber(4)
$core.String get screenID => $_getSZ(3);
@$pb.TagNumber(4)
set screenID($core.String v) { $_setString(3, v); }
@$pb.TagNumber(4)
$core.bool hasScreenID() => $_has(3);
@$pb.TagNumber(4)
void clearScreenID() => clearField(4);
/// Identifier of the user who created
@$pb.TagNumber(5)
$core.String get createUserID => $_getSZ(4);
@$pb.TagNumber(5)
set createUserID($core.String v) { $_setString(4, v); }
@$pb.TagNumber(5)
$core.bool hasCreateUserID() => $_has(4);
@$pb.TagNumber(5)
void clearCreateUserID() => clearField(5);
/// Identifier of the user who did the last update
@$pb.TagNumber(6)
$core.String get updateUserID => $_getSZ(5);
@$pb.TagNumber(6)
set updateUserID($core.String v) { $_setString(5, v); }
@$pb.TagNumber(6)
$core.bool hasUpdateUserID() => $_has(5);
@$pb.TagNumber(6)
void clearUpdateUserID() => clearField(6);
/// Date of creation in ISO 8601 format with time zone (accepted tzd formats: [+01:00, -01:00, Z]
@$pb.TagNumber(7)
$core.String get createDateTime => $_getSZ(6);
@$pb.TagNumber(7)
set createDateTime($core.String v) { $_setString(6, v); }
@$pb.TagNumber(7)
$core.bool hasCreateDateTime() => $_has(6);
@$pb.TagNumber(7)
void clearCreateDateTime() => clearField(7);
/// Date of last update in ISO 8601 format with time zone (accepted tzd formats: [+01:00, -01:00, Z]
@$pb.TagNumber(8)
$core.String get updateDateTime => $_getSZ(7);
@$pb.TagNumber(8)
set updateDateTime($core.String v) { $_setString(7, v); }
@$pb.TagNumber(8)
$core.bool hasUpdateDateTime() => $_has(7);
@$pb.TagNumber(8)
void clearUpdateDateTime() => clearField(8);
/// Identifier of the Tab
@$pb.TagNumber(9)
$core.String get tabID => $_getSZ(8);
@$pb.TagNumber(9)
set tabID($core.String v) { $_setString(8, v); }
@$pb.TagNumber(9)
$core.bool hasTabID() => $_has(8);
@$pb.TagNumber(9)
void clearTabID() => clearField(9);
/// Content in the Composed Field
@$pb.TagNumber(10)
$core.String get payload => $_getSZ(9);
@$pb.TagNumber(10)
set payload($core.String v) { $_setString(9, v); }
@$pb.TagNumber(10)
$core.bool hasPayload() => $_has(9);
@$pb.TagNumber(10)
void clearPayload() => clearField(10);
}
/// IDs of the Composed Field
class GetComposedFieldRequest extends $pb.GeneratedMessage {
factory GetComposedFieldRequest({
$16.RequestProjectHeader? header,
$core.String? composedFieldID,
}) {
final $result = create();
if (header != null) {
$result.header = header;
}
if (composedFieldID != null) {
$result.composedFieldID = composedFieldID;
}
return $result;
}
GetComposedFieldRequest._() : super();
factory GetComposedFieldRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
factory GetComposedFieldRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetComposedFieldRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'vizapi'), createEmptyInstance: create)
..aOM<$16.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $16.RequestProjectHeader.create)
..aOS(2, _omitFieldNames ? '' : 'ComposedFieldID', protoName: 'ComposedFieldID')
..hasRequiredFields = false
;
@$core.Deprecated(
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
'Will be removed in next major version')
GetComposedFieldRequest clone() => GetComposedFieldRequest()..mergeFromMessage(this);
@$core.Deprecated(
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
'Will be removed in next major version')
GetComposedFieldRequest copyWith(void Function(GetComposedFieldRequest) updates) => super.copyWith((message) => updates(message as GetComposedFieldRequest)) as GetComposedFieldRequest;
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static GetComposedFieldRequest create() => GetComposedFieldRequest._();
GetComposedFieldRequest createEmptyInstance() => create();
static $pb.PbList<GetComposedFieldRequest> createRepeated() => $pb.PbList<GetComposedFieldRequest>();
@$core.pragma('dart2js:noInline')
static GetComposedFieldRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<GetComposedFieldRequest>(create);
static GetComposedFieldRequest? _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);
/// Identifier of the Composed Field
@$pb.TagNumber(2)
$core.String get composedFieldID => $_getSZ(1);
@$pb.TagNumber(2)
set composedFieldID($core.String v) { $_setString(1, v); }
@$pb.TagNumber(2)
$core.bool hasComposedFieldID() => $_has(1);
@$pb.TagNumber(2)
void clearComposedFieldID() => clearField(2);
}
/// All the Content about the composed field
class GetComposedFieldResult extends $pb.GeneratedMessage {
factory GetComposedFieldResult({
ComposedField? result,
}) {
final $result = create();
if (result != null) {
$result.result = result;
}
return $result;
}
GetComposedFieldResult._() : super();
factory GetComposedFieldResult.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
factory GetComposedFieldResult.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetComposedFieldResult', package: const $pb.PackageName(_omitMessageNames ? '' : 'vizapi'), createEmptyInstance: create)
..aOM<ComposedField>(1, _omitFieldNames ? '' : 'Result', protoName: 'Result', subBuilder: ComposedField.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')
GetComposedFieldResult clone() => GetComposedFieldResult()..mergeFromMessage(this);
@$core.Deprecated(
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
'Will be removed in next major version')
GetComposedFieldResult copyWith(void Function(GetComposedFieldResult) updates) => super.copyWith((message) => updates(message as GetComposedFieldResult)) as GetComposedFieldResult;
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static GetComposedFieldResult create() => GetComposedFieldResult._();
GetComposedFieldResult createEmptyInstance() => create();
static $pb.PbList<GetComposedFieldResult> createRepeated() => $pb.PbList<GetComposedFieldResult>();
@$core.pragma('dart2js:noInline')
static GetComposedFieldResult getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<GetComposedFieldResult>(create);
static GetComposedFieldResult? _defaultInstance;
@$pb.TagNumber(1)
ComposedField get result => $_getN(0);
@$pb.TagNumber(1)
set result(ComposedField v) { setField(1, v); }
@$pb.TagNumber(1)
$core.bool hasResult() => $_has(0);
@$pb.TagNumber(1)
void clearResult() => clearField(1);
@$pb.TagNumber(1)
ComposedField ensureResult() => $_ensure(0);
}
/// Content that needs to be stored
class CreateComposedFieldRequest extends $pb.GeneratedMessage {
factory CreateComposedFieldRequest({
$16.RequestProjectHeader? header,
$core.String? name,
$core.String? screenID,
$core.String? tabID,
$core.String? payload,
}) {
final $result = create();
if (header != null) {
$result.header = header;
}
if (name != null) {
$result.name = name;
}
if (screenID != null) {
$result.screenID = screenID;
}
if (tabID != null) {
$result.tabID = tabID;
}
if (payload != null) {
$result.payload = payload;
}
return $result;
}
CreateComposedFieldRequest._() : super();
factory CreateComposedFieldRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
factory CreateComposedFieldRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CreateComposedFieldRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'vizapi'), createEmptyInstance: create)
..aOM<$16.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $16.RequestProjectHeader.create)
..aOS(2, _omitFieldNames ? '' : 'Name', protoName: 'Name')
..aOS(3, _omitFieldNames ? '' : 'ScreenID', protoName: 'ScreenID')
..aOS(4, _omitFieldNames ? '' : 'TabID', protoName: 'TabID')
..aOS(5, _omitFieldNames ? '' : 'Payload', protoName: 'Payload')
..hasRequiredFields = false
;
@$core.Deprecated(
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
'Will be removed in next major version')
CreateComposedFieldRequest clone() => CreateComposedFieldRequest()..mergeFromMessage(this);
@$core.Deprecated(
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
'Will be removed in next major version')
CreateComposedFieldRequest copyWith(void Function(CreateComposedFieldRequest) updates) => super.copyWith((message) => updates(message as CreateComposedFieldRequest)) as CreateComposedFieldRequest;
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static CreateComposedFieldRequest create() => CreateComposedFieldRequest._();
CreateComposedFieldRequest createEmptyInstance() => create();
static $pb.PbList<CreateComposedFieldRequest> createRepeated() => $pb.PbList<CreateComposedFieldRequest>();
@$core.pragma('dart2js:noInline')
static CreateComposedFieldRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<CreateComposedFieldRequest>(create);
static CreateComposedFieldRequest? _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);
/// Name of the Composed Field
@$pb.TagNumber(2)
$core.String get name => $_getSZ(1);
@$pb.TagNumber(2)
set name($core.String v) { $_setString(1, v); }
@$pb.TagNumber(2)
$core.bool hasName() => $_has(1);
@$pb.TagNumber(2)
void clearName() => clearField(2);
/// Identifier of the Screen
@$pb.TagNumber(3)
$core.String get screenID => $_getSZ(2);
@$pb.TagNumber(3)
set screenID($core.String v) { $_setString(2, v); }
@$pb.TagNumber(3)
$core.bool hasScreenID() => $_has(2);
@$pb.TagNumber(3)
void clearScreenID() => clearField(3);
/// Identifier of the Tab
@$pb.TagNumber(4)
$core.String get tabID => $_getSZ(3);
@$pb.TagNumber(4)
set tabID($core.String v) { $_setString(3, v); }
@$pb.TagNumber(4)
$core.bool hasTabID() => $_has(3);
@$pb.TagNumber(4)
void clearTabID() => clearField(4);
/// Content in the Composed Field
@$pb.TagNumber(5)
$core.String get payload => $_getSZ(4);
@$pb.TagNumber(5)
set payload($core.String v) { $_setString(4, v); }
@$pb.TagNumber(5)
$core.bool hasPayload() => $_has(4);
@$pb.TagNumber(5)
void clearPayload() => clearField(5);
}
/// ID of the created Composed Field
class CreateComposedFieldResult extends $pb.GeneratedMessage {
factory CreateComposedFieldResult({
$core.String? composedFieldID,
}) {
final $result = create();
if (composedFieldID != null) {
$result.composedFieldID = composedFieldID;
}
return $result;
}
CreateComposedFieldResult._() : super();
factory CreateComposedFieldResult.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
factory CreateComposedFieldResult.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CreateComposedFieldResult', package: const $pb.PackageName(_omitMessageNames ? '' : 'vizapi'), createEmptyInstance: create)
..aOS(1, _omitFieldNames ? '' : 'ComposedFieldID', protoName: 'ComposedFieldID')
..hasRequiredFields = false
;
@$core.Deprecated(
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
'Will be removed in next major version')
CreateComposedFieldResult clone() => CreateComposedFieldResult()..mergeFromMessage(this);
@$core.Deprecated(
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
'Will be removed in next major version')
CreateComposedFieldResult copyWith(void Function(CreateComposedFieldResult) updates) => super.copyWith((message) => updates(message as CreateComposedFieldResult)) as CreateComposedFieldResult;
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static CreateComposedFieldResult create() => CreateComposedFieldResult._();
CreateComposedFieldResult createEmptyInstance() => create();
static $pb.PbList<CreateComposedFieldResult> createRepeated() => $pb.PbList<CreateComposedFieldResult>();
@$core.pragma('dart2js:noInline')
static CreateComposedFieldResult getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<CreateComposedFieldResult>(create);
static CreateComposedFieldResult? _defaultInstance;
/// Identifier of the Composed Field
@$pb.TagNumber(1)
$core.String get composedFieldID => $_getSZ(0);
@$pb.TagNumber(1)
set composedFieldID($core.String v) { $_setString(0, v); }
@$pb.TagNumber(1)
$core.bool hasComposedFieldID() => $_has(0);
@$pb.TagNumber(1)
void clearComposedFieldID() => clearField(1);
}
/// Content that needs to be updated
class UpdateComposedFieldRequest extends $pb.GeneratedMessage {
factory UpdateComposedFieldRequest({
$16.RequestProjectHeader? header,
$core.String? composedFieldID,
$core.String? name,
$core.String? screenID,
$core.String? tabID,
$core.String? payload,
}) {
final $result = create();
if (header != null) {
$result.header = header;
}
if (composedFieldID != null) {
$result.composedFieldID = composedFieldID;
}
if (name != null) {
$result.name = name;
}
if (screenID != null) {
$result.screenID = screenID;
}
if (tabID != null) {
$result.tabID = tabID;
}
if (payload != null) {
$result.payload = payload;
}
return $result;
}
UpdateComposedFieldRequest._() : super();
factory UpdateComposedFieldRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
factory UpdateComposedFieldRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateComposedFieldRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'vizapi'), createEmptyInstance: create)
..aOM<$16.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $16.RequestProjectHeader.create)
..aOS(2, _omitFieldNames ? '' : 'ComposedFieldID', protoName: 'ComposedFieldID')
..aOS(3, _omitFieldNames ? '' : 'Name', protoName: 'Name')
..aOS(4, _omitFieldNames ? '' : 'ScreenID', protoName: 'ScreenID')
..aOS(5, _omitFieldNames ? '' : 'TabID', protoName: 'TabID')
..aOS(6, _omitFieldNames ? '' : 'Payload', protoName: 'Payload')
..hasRequiredFields = false
;
@$core.Deprecated(
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
'Will be removed in next major version')
UpdateComposedFieldRequest clone() => UpdateComposedFieldRequest()..mergeFromMessage(this);
@$core.Deprecated(
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
'Will be removed in next major version')
UpdateComposedFieldRequest copyWith(void Function(UpdateComposedFieldRequest) updates) => super.copyWith((message) => updates(message as UpdateComposedFieldRequest)) as UpdateComposedFieldRequest;
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static UpdateComposedFieldRequest create() => UpdateComposedFieldRequest._();
UpdateComposedFieldRequest createEmptyInstance() => create();
static $pb.PbList<UpdateComposedFieldRequest> createRepeated() => $pb.PbList<UpdateComposedFieldRequest>();
@$core.pragma('dart2js:noInline')
static UpdateComposedFieldRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<UpdateComposedFieldRequest>(create);
static UpdateComposedFieldRequest? _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);
/// Identifier of the Composed Field
@$pb.TagNumber(2)
$core.String get composedFieldID => $_getSZ(1);
@$pb.TagNumber(2)
set composedFieldID($core.String v) { $_setString(1, v); }
@$pb.TagNumber(2)
$core.bool hasComposedFieldID() => $_has(1);
@$pb.TagNumber(2)
void clearComposedFieldID() => clearField(2);
/// Name of the Composed Field
@$pb.TagNumber(3)
$core.String get name => $_getSZ(2);
@$pb.TagNumber(3)
set name($core.String v) { $_setString(2, v); }
@$pb.TagNumber(3)
$core.bool hasName() => $_has(2);
@$pb.TagNumber(3)
void clearName() => clearField(3);
/// Identifier of the Screen
@$pb.TagNumber(4)
$core.String get screenID => $_getSZ(3);
@$pb.TagNumber(4)
set screenID($core.String v) { $_setString(3, v); }
@$pb.TagNumber(4)
$core.bool hasScreenID() => $_has(3);
@$pb.TagNumber(4)
void clearScreenID() => clearField(4);
/// Identifier of the Tab
@$pb.TagNumber(5)
$core.String get tabID => $_getSZ(4);
@$pb.TagNumber(5)
set tabID($core.String v) { $_setString(4, v); }
@$pb.TagNumber(5)
$core.bool hasTabID() => $_has(4);
@$pb.TagNumber(5)
void clearTabID() => clearField(5);
/// Content in the Composed Field
@$pb.TagNumber(6)
$core.String get payload => $_getSZ(5);
@$pb.TagNumber(6)
set payload($core.String v) { $_setString(5, v); }
@$pb.TagNumber(6)
$core.bool hasPayload() => $_has(5);
@$pb.TagNumber(6)
void clearPayload() => clearField(6);
}
/// Updated dashboard ID
class UpdateComposedFieldResult extends $pb.GeneratedMessage {
factory UpdateComposedFieldResult({
$core.String? composedFieldID,
}) {
final $result = create();
if (composedFieldID != null) {
$result.composedFieldID = composedFieldID;
}
return $result;
}
UpdateComposedFieldResult._() : super();
factory UpdateComposedFieldResult.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
factory UpdateComposedFieldResult.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateComposedFieldResult', package: const $pb.PackageName(_omitMessageNames ? '' : 'vizapi'), createEmptyInstance: create)
..aOS(1, _omitFieldNames ? '' : 'ComposedFieldID', protoName: 'ComposedFieldID')
..hasRequiredFields = false
;
@$core.Deprecated(
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
'Will be removed in next major version')
UpdateComposedFieldResult clone() => UpdateComposedFieldResult()..mergeFromMessage(this);
@$core.Deprecated(
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
'Will be removed in next major version')
UpdateComposedFieldResult copyWith(void Function(UpdateComposedFieldResult) updates) => super.copyWith((message) => updates(message as UpdateComposedFieldResult)) as UpdateComposedFieldResult;
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static UpdateComposedFieldResult create() => UpdateComposedFieldResult._();
UpdateComposedFieldResult createEmptyInstance() => create();
static $pb.PbList<UpdateComposedFieldResult> createRepeated() => $pb.PbList<UpdateComposedFieldResult>();
@$core.pragma('dart2js:noInline')
static UpdateComposedFieldResult getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<UpdateComposedFieldResult>(create);
static UpdateComposedFieldResult? _defaultInstance;
/// Identifier of the Composed Field
@$pb.TagNumber(1)
$core.String get composedFieldID => $_getSZ(0);
@$pb.TagNumber(1)
set composedFieldID($core.String v) { $_setString(0, v); }
@$pb.TagNumber(1)
$core.bool hasComposedFieldID() => $_has(0);
@$pb.TagNumber(1)
void clearComposedFieldID() => clearField(1);
}
/// IDs of the Composed Field to be deleted
class DeleteComposedFieldRequest extends $pb.GeneratedMessage {
factory DeleteComposedFieldRequest({
$16.RequestProjectHeader? header,
$core.String? composedFieldID,
}) {
final $result = create();
if (header != null) {
$result.header = header;
}
if (composedFieldID != null) {
$result.composedFieldID = composedFieldID;
}
return $result;
}
DeleteComposedFieldRequest._() : super();
factory DeleteComposedFieldRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
factory DeleteComposedFieldRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeleteComposedFieldRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'vizapi'), createEmptyInstance: create)
..aOM<$16.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $16.RequestProjectHeader.create)
..aOS(2, _omitFieldNames ? '' : 'ComposedFieldID', protoName: 'ComposedFieldID')
..hasRequiredFields = false
;
@$core.Deprecated(
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
'Will be removed in next major version')
DeleteComposedFieldRequest clone() => DeleteComposedFieldRequest()..mergeFromMessage(this);
@$core.Deprecated(
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
'Will be removed in next major version')
DeleteComposedFieldRequest copyWith(void Function(DeleteComposedFieldRequest) updates) => super.copyWith((message) => updates(message as DeleteComposedFieldRequest)) as DeleteComposedFieldRequest;
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static DeleteComposedFieldRequest create() => DeleteComposedFieldRequest._();
DeleteComposedFieldRequest createEmptyInstance() => create();
static $pb.PbList<DeleteComposedFieldRequest> createRepeated() => $pb.PbList<DeleteComposedFieldRequest>();
@$core.pragma('dart2js:noInline')
static DeleteComposedFieldRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<DeleteComposedFieldRequest>(create);
static DeleteComposedFieldRequest? _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);
/// Identifier of the Composed Field
@$pb.TagNumber(2)
$core.String get composedFieldID => $_getSZ(1);
@$pb.TagNumber(2)
set composedFieldID($core.String v) { $_setString(1, v); }
@$pb.TagNumber(2)
$core.bool hasComposedFieldID() => $_has(1);
@$pb.TagNumber(2)
void clearComposedFieldID() => clearField(2);
}
class DeleteComposedFieldResult extends $pb.GeneratedMessage {
factory DeleteComposedFieldResult() => create();
DeleteComposedFieldResult._() : super();
factory DeleteComposedFieldResult.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
factory DeleteComposedFieldResult.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeleteComposedFieldResult', package: const $pb.PackageName(_omitMessageNames ? '' : 'vizapi'), 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')
DeleteComposedFieldResult clone() => DeleteComposedFieldResult()..mergeFromMessage(this);
@$core.Deprecated(
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
'Will be removed in next major version')
DeleteComposedFieldResult copyWith(void Function(DeleteComposedFieldResult) updates) => super.copyWith((message) => updates(message as DeleteComposedFieldResult)) as DeleteComposedFieldResult;
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static DeleteComposedFieldResult create() => DeleteComposedFieldResult._();
DeleteComposedFieldResult createEmptyInstance() => create();
static $pb.PbList<DeleteComposedFieldResult> createRepeated() => $pb.PbList<DeleteComposedFieldResult>();
@$core.pragma('dart2js:noInline')
static DeleteComposedFieldResult getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<DeleteComposedFieldResult>(create);
static DeleteComposedFieldResult? _defaultInstance;
}
class ListComposedFieldRequest extends $pb.GeneratedMessage {
factory ListComposedFieldRequest({
$16.RequestProjectHeader? header,
$core.String? screenID,
$core.String? tabID,
}) {
final $result = create();
if (header != null) {
$result.header = header;
}
if (screenID != null) {
$result.screenID = screenID;
}
if (tabID != null) {
$result.tabID = tabID;
}
return $result;
}
ListComposedFieldRequest._() : super();
factory ListComposedFieldRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
factory ListComposedFieldRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ListComposedFieldRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'vizapi'), createEmptyInstance: create)
..aOM<$16.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $16.RequestProjectHeader.create)
..aOS(2, _omitFieldNames ? '' : 'ScreenID', protoName: 'ScreenID')
..aOS(3, _omitFieldNames ? '' : 'TabID', protoName: 'TabID')
..hasRequiredFields = false
;
@$core.Deprecated(
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
'Will be removed in next major version')
ListComposedFieldRequest clone() => ListComposedFieldRequest()..mergeFromMessage(this);
@$core.Deprecated(
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
'Will be removed in next major version')
ListComposedFieldRequest copyWith(void Function(ListComposedFieldRequest) updates) => super.copyWith((message) => updates(message as ListComposedFieldRequest)) as ListComposedFieldRequest;
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static ListComposedFieldRequest create() => ListComposedFieldRequest._();
ListComposedFieldRequest createEmptyInstance() => create();
static $pb.PbList<ListComposedFieldRequest> createRepeated() => $pb.PbList<ListComposedFieldRequest>();
@$core.pragma('dart2js:noInline')
static ListComposedFieldRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<ListComposedFieldRequest>(create);
static ListComposedFieldRequest? _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);
/// Identifier of the Screen
@$pb.TagNumber(2)
$core.String get screenID => $_getSZ(1);
@$pb.TagNumber(2)
set screenID($core.String v) { $_setString(1, v); }
@$pb.TagNumber(2)
$core.bool hasScreenID() => $_has(1);
@$pb.TagNumber(2)
void clearScreenID() => clearField(2);
/// Identifier of the Tab
@$pb.TagNumber(3)
$core.String get tabID => $_getSZ(2);
@$pb.TagNumber(3)
set tabID($core.String v) { $_setString(2, v); }
@$pb.TagNumber(3)
$core.bool hasTabID() => $_has(2);
@$pb.TagNumber(3)
void clearTabID() => clearField(3);
}
/// List of Composed Fields
class ListComposedFieldResult extends $pb.GeneratedMessage {
factory ListComposedFieldResult({
$core.Iterable<ComposedField>? results,
}) {
final $result = create();
if (results != null) {
$result.results.addAll(results);
}
return $result;
}
ListComposedFieldResult._() : super();
factory ListComposedFieldResult.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
factory ListComposedFieldResult.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ListComposedFieldResult', package: const $pb.PackageName(_omitMessageNames ? '' : 'vizapi'), createEmptyInstance: create)
..pc<ComposedField>(1, _omitFieldNames ? '' : 'Results', $pb.PbFieldType.PM, protoName: 'Results', subBuilder: ComposedField.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')
ListComposedFieldResult clone() => ListComposedFieldResult()..mergeFromMessage(this);
@$core.Deprecated(
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
'Will be removed in next major version')
ListComposedFieldResult copyWith(void Function(ListComposedFieldResult) updates) => super.copyWith((message) => updates(message as ListComposedFieldResult)) as ListComposedFieldResult;
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static ListComposedFieldResult create() => ListComposedFieldResult._();
ListComposedFieldResult createEmptyInstance() => create();
static $pb.PbList<ListComposedFieldResult> createRepeated() => $pb.PbList<ListComposedFieldResult>();
@$core.pragma('dart2js:noInline')
static ListComposedFieldResult getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<ListComposedFieldResult>(create);
static ListComposedFieldResult? _defaultInstance;
/// All Content in a Composed Field
@$pb.TagNumber(1)
$core.List<ComposedField> get results => $_getList(0);
}
const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names');
const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names');

View File

@@ -0,0 +1,11 @@
//
// Generated code. Do not modify.
// source: viz-composed-field.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

View File

@@ -0,0 +1,139 @@
//
// Generated code. Do not modify.
// source: viz-composed-field.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 'viz-composed-field.pb.dart' as $2;
export 'viz-composed-field.pb.dart';
@$pb.GrpcServiceName('vizapi.ComposedFieldService')
class ComposedFieldServiceClient extends $grpc.Client {
static final _$get = $grpc.ClientMethod<$2.GetComposedFieldRequest, $2.GetComposedFieldResult>(
'/vizapi.ComposedFieldService/Get',
($2.GetComposedFieldRequest value) => value.writeToBuffer(),
($core.List<$core.int> value) => $2.GetComposedFieldResult.fromBuffer(value));
static final _$create = $grpc.ClientMethod<$2.CreateComposedFieldRequest, $2.CreateComposedFieldResult>(
'/vizapi.ComposedFieldService/Create',
($2.CreateComposedFieldRequest value) => value.writeToBuffer(),
($core.List<$core.int> value) => $2.CreateComposedFieldResult.fromBuffer(value));
static final _$update = $grpc.ClientMethod<$2.UpdateComposedFieldRequest, $2.UpdateComposedFieldResult>(
'/vizapi.ComposedFieldService/Update',
($2.UpdateComposedFieldRequest value) => value.writeToBuffer(),
($core.List<$core.int> value) => $2.UpdateComposedFieldResult.fromBuffer(value));
static final _$delete = $grpc.ClientMethod<$2.DeleteComposedFieldRequest, $2.DeleteComposedFieldResult>(
'/vizapi.ComposedFieldService/Delete',
($2.DeleteComposedFieldRequest value) => value.writeToBuffer(),
($core.List<$core.int> value) => $2.DeleteComposedFieldResult.fromBuffer(value));
static final _$list = $grpc.ClientMethod<$2.ListComposedFieldRequest, $2.ListComposedFieldResult>(
'/vizapi.ComposedFieldService/List',
($2.ListComposedFieldRequest value) => value.writeToBuffer(),
($core.List<$core.int> value) => $2.ListComposedFieldResult.fromBuffer(value));
ComposedFieldServiceClient($grpc.ClientChannel channel,
{$grpc.CallOptions? options,
$core.Iterable<$grpc.ClientInterceptor>? interceptors})
: super(channel, options: options,
interceptors: interceptors);
$grpc.ResponseFuture<$2.GetComposedFieldResult> get($2.GetComposedFieldRequest request, {$grpc.CallOptions? options}) {
return $createUnaryCall(_$get, request, options: options);
}
$grpc.ResponseFuture<$2.CreateComposedFieldResult> create($2.CreateComposedFieldRequest request, {$grpc.CallOptions? options}) {
return $createUnaryCall(_$create, request, options: options);
}
$grpc.ResponseFuture<$2.UpdateComposedFieldResult> update($2.UpdateComposedFieldRequest request, {$grpc.CallOptions? options}) {
return $createUnaryCall(_$update, request, options: options);
}
$grpc.ResponseFuture<$2.DeleteComposedFieldResult> delete($2.DeleteComposedFieldRequest request, {$grpc.CallOptions? options}) {
return $createUnaryCall(_$delete, request, options: options);
}
$grpc.ResponseFuture<$2.ListComposedFieldResult> list($2.ListComposedFieldRequest request, {$grpc.CallOptions? options}) {
return $createUnaryCall(_$list, request, options: options);
}
}
@$pb.GrpcServiceName('vizapi.ComposedFieldService')
abstract class ComposedFieldServiceBase extends $grpc.Service {
$core.String get $name => 'vizapi.ComposedFieldService';
ComposedFieldServiceBase() {
$addMethod($grpc.ServiceMethod<$2.GetComposedFieldRequest, $2.GetComposedFieldResult>(
'Get',
get_Pre,
false,
false,
($core.List<$core.int> value) => $2.GetComposedFieldRequest.fromBuffer(value),
($2.GetComposedFieldResult value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$2.CreateComposedFieldRequest, $2.CreateComposedFieldResult>(
'Create',
create_Pre,
false,
false,
($core.List<$core.int> value) => $2.CreateComposedFieldRequest.fromBuffer(value),
($2.CreateComposedFieldResult value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$2.UpdateComposedFieldRequest, $2.UpdateComposedFieldResult>(
'Update',
update_Pre,
false,
false,
($core.List<$core.int> value) => $2.UpdateComposedFieldRequest.fromBuffer(value),
($2.UpdateComposedFieldResult value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$2.DeleteComposedFieldRequest, $2.DeleteComposedFieldResult>(
'Delete',
delete_Pre,
false,
false,
($core.List<$core.int> value) => $2.DeleteComposedFieldRequest.fromBuffer(value),
($2.DeleteComposedFieldResult value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$2.ListComposedFieldRequest, $2.ListComposedFieldResult>(
'List',
list_Pre,
false,
false,
($core.List<$core.int> value) => $2.ListComposedFieldRequest.fromBuffer(value),
($2.ListComposedFieldResult value) => value.writeToBuffer()));
}
$async.Future<$2.GetComposedFieldResult> get_Pre($grpc.ServiceCall call, $async.Future<$2.GetComposedFieldRequest> request) async {
return get(call, await request);
}
$async.Future<$2.CreateComposedFieldResult> create_Pre($grpc.ServiceCall call, $async.Future<$2.CreateComposedFieldRequest> request) async {
return create(call, await request);
}
$async.Future<$2.UpdateComposedFieldResult> update_Pre($grpc.ServiceCall call, $async.Future<$2.UpdateComposedFieldRequest> request) async {
return update(call, await request);
}
$async.Future<$2.DeleteComposedFieldResult> delete_Pre($grpc.ServiceCall call, $async.Future<$2.DeleteComposedFieldRequest> request) async {
return delete(call, await request);
}
$async.Future<$2.ListComposedFieldResult> list_Pre($grpc.ServiceCall call, $async.Future<$2.ListComposedFieldRequest> request) async {
return list(call, await request);
}
$async.Future<$2.GetComposedFieldResult> get($grpc.ServiceCall call, $2.GetComposedFieldRequest request);
$async.Future<$2.CreateComposedFieldResult> create($grpc.ServiceCall call, $2.CreateComposedFieldRequest request);
$async.Future<$2.UpdateComposedFieldResult> update($grpc.ServiceCall call, $2.UpdateComposedFieldRequest request);
$async.Future<$2.DeleteComposedFieldResult> delete($grpc.ServiceCall call, $2.DeleteComposedFieldRequest request);
$async.Future<$2.ListComposedFieldResult> list($grpc.ServiceCall call, $2.ListComposedFieldRequest request);
}

View File

@@ -0,0 +1,227 @@
//
// Generated code. Do not modify.
// source: viz-composed-field.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 composedFieldDescriptor instead')
const ComposedField$json = {
'1': 'ComposedField',
'2': [
{'1': 'ComposedFieldID', '3': 1, '4': 1, '5': 9, '8': {}, '10': 'ComposedFieldID'},
{'1': 'Name', '3': 2, '4': 1, '5': 9, '8': {}, '10': 'Name'},
{'1': 'ProjectID', '3': 3, '4': 1, '5': 9, '8': {}, '10': 'ProjectID'},
{'1': 'ScreenID', '3': 4, '4': 1, '5': 9, '8': {}, '10': 'ScreenID'},
{'1': 'CreateUserID', '3': 5, '4': 1, '5': 9, '8': {}, '10': 'CreateUserID'},
{'1': 'UpdateUserID', '3': 6, '4': 1, '5': 9, '8': {}, '10': 'UpdateUserID'},
{'1': 'CreateDateTime', '3': 7, '4': 1, '5': 9, '8': {}, '10': 'CreateDateTime'},
{'1': 'UpdateDateTime', '3': 8, '4': 1, '5': 9, '8': {}, '10': 'UpdateDateTime'},
{'1': 'TabID', '3': 9, '4': 1, '5': 9, '8': {}, '10': 'TabID'},
{'1': 'Payload', '3': 10, '4': 1, '5': 9, '8': {}, '10': 'Payload'},
],
};
/// Descriptor for `ComposedField`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List composedFieldDescriptor = $convert.base64Decode(
'Cg1Db21wb3NlZEZpZWxkEk8KD0NvbXBvc2VkRmllbGRJRBgBIAEoCUIlkkEiMiBJZGVudGlmaW'
'VyIG9mIHRoZSBDb21wb3NlZCBGaWVsZFIPQ29tcG9zZWRGaWVsZElEEjMKBE5hbWUYAiABKAlC'
'H5JBHDIaTmFtZSBvZiB0aGUgQ29tcG9zZWQgRmllbGRSBE5hbWUSQwoJUHJvamVjdElEGAMgAS'
'gJQiWSQRsyGUlkZW50aWZpZXIgb2YgdGhlIHByb2plY3T6QgRyAhABUglQcm9qZWN0SUQSOQoI'
'U2NyZWVuSUQYBCABKAlCHZJBGjIYSWRlbnRpZmllciBvZiB0aGUgU2NyZWVuUghTY3JlZW5JRB'
'JLCgxDcmVhdGVVc2VySUQYBSABKAlCJ5JBJDIiSWRlbnRpZmllciBvZiB0aGUgdXNlciB3aG8g'
'Y3JlYXRlZFIMQ3JlYXRlVXNlcklEElcKDFVwZGF0ZVVzZXJJRBgGIAEoCUIzkkEwMi5JZGVudG'
'lmaWVyIG9mIHRoZSB1c2VyIHdobyBkaWQgdGhlIGxhc3QgdXBkYXRlUgxVcGRhdGVVc2VySUQS'
'wgEKDkNyZWF0ZURhdGVUaW1lGAcgASgJQpkBkkGVATKSAURhdGUgb2YgY3JlYXRpb24gaW4gPG'
'EgaHJlZj0iaHR0cHM6Ly9lbi53aWtpcGVkaWEub3JnL3dpa2kvSVNPXzg2MDEiPklTTyA4NjAx'
'PC9hPiBmb3JtYXQgd2l0aCB0aW1lIHpvbmUgKGFjY2VwdGVkIHR6ZCBmb3JtYXRzOiBbKzAxOj'
'AwLCAtMDE6MDAsIFpdUg5DcmVhdGVEYXRlVGltZRLFAQoOVXBkYXRlRGF0ZVRpbWUYCCABKAlC'
'nAGSQZgBMpUBRGF0ZSBvZiBsYXN0IHVwZGF0ZSBpbiA8YSBocmVmPSJodHRwczovL2VuLndpa2'
'lwZWRpYS5vcmcvd2lraS9JU09fODYwMSI+SVNPIDg2MDE8L2E+IGZvcm1hdCB3aXRoIHRpbWUg'
'em9uZSAoYWNjZXB0ZWQgdHpkIGZvcm1hdHM6IFsrMDE6MDAsIC0wMTowMCwgWl1SDlVwZGF0ZU'
'RhdGVUaW1lEjAKBVRhYklEGAkgASgJQhqSQRcyFUlkZW50aWZpZXIgb2YgdGhlIFRhYlIFVGFi'
'SUQSPAoHUGF5bG9hZBgKIAEoCUIikkEfMh1Db250ZW50IGluIHRoZSBDb21wb3NlZCBGaWVsZF'
'IHUGF5bG9hZA==');
@$core.Deprecated('Use getComposedFieldRequestDescriptor instead')
const GetComposedFieldRequest$json = {
'1': 'GetComposedFieldRequest',
'2': [
{'1': 'Header', '3': 1, '4': 1, '5': 11, '6': '.api.RequestProjectHeader', '8': {}, '10': 'Header'},
{'1': 'ComposedFieldID', '3': 2, '4': 1, '5': 9, '8': {}, '10': 'ComposedFieldID'},
],
'7': {},
};
/// Descriptor for `GetComposedFieldRequest`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List getComposedFieldRequestDescriptor = $convert.base64Decode(
'ChdHZXRDb21wb3NlZEZpZWxkUmVxdWVzdBI7CgZIZWFkZXIYASABKAsyGS5hcGkuUmVxdWVzdF'
'Byb2plY3RIZWFkZXJCCPpCBYoBAhABUgZIZWFkZXISVgoPQ29tcG9zZWRGaWVsZElEGAIgASgJ'
'QiySQSIyIElkZW50aWZpZXIgb2YgdGhlIENvbXBvc2VkIEZpZWxk+kIEcgIQAVIPQ29tcG9zZW'
'RGaWVsZElEOjuSQTgKNjIZSURzIG9mIHRoZSBDb21wb3NlZCBGaWVsZNIBBkhlYWRlctIBD0Nv'
'bXBvc2VkRmllbGRJRA==');
@$core.Deprecated('Use getComposedFieldResultDescriptor instead')
const GetComposedFieldResult$json = {
'1': 'GetComposedFieldResult',
'2': [
{'1': 'Result', '3': 1, '4': 1, '5': 11, '6': '.vizapi.ComposedField', '10': 'Result'},
],
'7': {},
};
/// Descriptor for `GetComposedFieldResult`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List getComposedFieldResultDescriptor = $convert.base64Decode(
'ChZHZXRDb21wb3NlZEZpZWxkUmVzdWx0Ei0KBlJlc3VsdBgBIAEoCzIVLnZpemFwaS5Db21wb3'
'NlZEZpZWxkUgZSZXN1bHQ6L5JBLAoqMihBbGwgdGhlIENvbnRlbnQgYWJvdXQgdGhlIGNvbXBv'
'c2VkIGZpZWxk');
@$core.Deprecated('Use createComposedFieldRequestDescriptor instead')
const CreateComposedFieldRequest$json = {
'1': 'CreateComposedFieldRequest',
'2': [
{'1': 'Header', '3': 1, '4': 1, '5': 11, '6': '.api.RequestProjectHeader', '8': {}, '10': 'Header'},
{'1': 'Name', '3': 2, '4': 1, '5': 9, '8': {}, '10': 'Name'},
{'1': 'ScreenID', '3': 3, '4': 1, '5': 9, '8': {}, '10': 'ScreenID'},
{'1': 'TabID', '3': 4, '4': 1, '5': 9, '8': {}, '10': 'TabID'},
{'1': 'Payload', '3': 5, '4': 1, '5': 9, '8': {}, '10': 'Payload'},
],
'7': {},
};
/// Descriptor for `CreateComposedFieldRequest`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List createComposedFieldRequestDescriptor = $convert.base64Decode(
'ChpDcmVhdGVDb21wb3NlZEZpZWxkUmVxdWVzdBI7CgZIZWFkZXIYASABKAsyGS5hcGkuUmVxdW'
'VzdFByb2plY3RIZWFkZXJCCPpCBYoBAhABUgZIZWFkZXISOgoETmFtZRgCIAEoCUImkkEcMhpO'
'YW1lIG9mIHRoZSBDb21wb3NlZCBGaWVsZPpCBHICEAFSBE5hbWUSQAoIU2NyZWVuSUQYAyABKA'
'lCJJJBGjIYSWRlbnRpZmllciBvZiB0aGUgU2NyZWVu+kIEcgIQAVIIU2NyZWVuSUQSNwoFVGFi'
'SUQYBCABKAlCIZJBFzIVSWRlbnRpZmllciBvZiB0aGUgVGFi+kIEcgIQAVIFVGFiSUQSQwoHUG'
'F5bG9hZBgFIAEoCUIpkkEfMh1Db250ZW50IGluIHRoZSBDb21wb3NlZCBGaWVsZPpCBHICEAFS'
'B1BheWxvYWQ6VJJBUQpPMiBDb250ZW50IHRoYXQgbmVlZHMgdG8gYmUgc3RvcmVkINIBBkhlYW'
'RlctIBBE5hbWXSAQhTY3JlZW5JRNIBBVRhYklE0gEHUGF5bG9hZA==');
@$core.Deprecated('Use createComposedFieldResultDescriptor instead')
const CreateComposedFieldResult$json = {
'1': 'CreateComposedFieldResult',
'2': [
{'1': 'ComposedFieldID', '3': 1, '4': 1, '5': 9, '8': {}, '10': 'ComposedFieldID'},
],
'7': {},
};
/// Descriptor for `CreateComposedFieldResult`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List createComposedFieldResultDescriptor = $convert.base64Decode(
'ChlDcmVhdGVDb21wb3NlZEZpZWxkUmVzdWx0Ek8KD0NvbXBvc2VkRmllbGRJRBgBIAEoCUIlkk'
'EiMiBJZGVudGlmaWVyIG9mIHRoZSBDb21wb3NlZCBGaWVsZFIPQ29tcG9zZWRGaWVsZElEOieS'
'QSQKIjIgSUQgb2YgdGhlIGNyZWF0ZWQgQ29tcG9zZWQgRmllbGQ=');
@$core.Deprecated('Use updateComposedFieldRequestDescriptor instead')
const UpdateComposedFieldRequest$json = {
'1': 'UpdateComposedFieldRequest',
'2': [
{'1': 'Header', '3': 1, '4': 1, '5': 11, '6': '.api.RequestProjectHeader', '8': {}, '10': 'Header'},
{'1': 'ComposedFieldID', '3': 2, '4': 1, '5': 9, '8': {}, '10': 'ComposedFieldID'},
{'1': 'Name', '3': 3, '4': 1, '5': 9, '8': {}, '10': 'Name'},
{'1': 'ScreenID', '3': 4, '4': 1, '5': 9, '8': {}, '10': 'ScreenID'},
{'1': 'TabID', '3': 5, '4': 1, '5': 9, '8': {}, '10': 'TabID'},
{'1': 'Payload', '3': 6, '4': 1, '5': 9, '8': {}, '10': 'Payload'},
],
'7': {},
};
/// Descriptor for `UpdateComposedFieldRequest`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List updateComposedFieldRequestDescriptor = $convert.base64Decode(
'ChpVcGRhdGVDb21wb3NlZEZpZWxkUmVxdWVzdBI7CgZIZWFkZXIYASABKAsyGS5hcGkuUmVxdW'
'VzdFByb2plY3RIZWFkZXJCCPpCBYoBAhABUgZIZWFkZXISVgoPQ29tcG9zZWRGaWVsZElEGAIg'
'ASgJQiySQSIyIElkZW50aWZpZXIgb2YgdGhlIENvbXBvc2VkIEZpZWxk+kIEcgIQAVIPQ29tcG'
'9zZWRGaWVsZElEEjoKBE5hbWUYAyABKAlCJpJBHDIaTmFtZSBvZiB0aGUgQ29tcG9zZWQgRmll'
'bGT6QgRyAhABUgROYW1lEkAKCFNjcmVlbklEGAQgASgJQiSSQRoyGElkZW50aWZpZXIgb2YgdG'
'hlIFNjcmVlbvpCBHICEAFSCFNjcmVlbklEEjcKBVRhYklEGAUgASgJQiGSQRcyFUlkZW50aWZp'
'ZXIgb2YgdGhlIFRhYvpCBHICEAFSBVRhYklEEkMKB1BheWxvYWQYBiABKAlCKZJBHzIdQ29udG'
'VudCBpbiB0aGUgQ29tcG9zZWQgRmllbGT6QgRyAhABUgdQYXlsb2FkOmaSQWMKYTIgQ29udGVu'
'dCB0aGF0IG5lZWRzIHRvIGJlIHVwZGF0ZWTSAQZIZWFkZXLSAQ9Db21wb3NlZEZpZWxkSUTSAQ'
'ROYW1l0gEIU2NyZWVuSUTSAQVUYWJJRNIBB1BheWxvYWQ=');
@$core.Deprecated('Use updateComposedFieldResultDescriptor instead')
const UpdateComposedFieldResult$json = {
'1': 'UpdateComposedFieldResult',
'2': [
{'1': 'ComposedFieldID', '3': 1, '4': 1, '5': 9, '8': {}, '10': 'ComposedFieldID'},
],
'7': {},
};
/// Descriptor for `UpdateComposedFieldResult`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List updateComposedFieldResultDescriptor = $convert.base64Decode(
'ChlVcGRhdGVDb21wb3NlZEZpZWxkUmVzdWx0Ek8KD0NvbXBvc2VkRmllbGRJRBgBIAEoCUIlkk'
'EiMiBJZGVudGlmaWVyIG9mIHRoZSBDb21wb3NlZCBGaWVsZFIPQ29tcG9zZWRGaWVsZElEOhuS'
'QRgKFjIUVXBkYXRlZCBkYXNoYm9hcmQgSUQ=');
@$core.Deprecated('Use deleteComposedFieldRequestDescriptor instead')
const DeleteComposedFieldRequest$json = {
'1': 'DeleteComposedFieldRequest',
'2': [
{'1': 'Header', '3': 1, '4': 1, '5': 11, '6': '.api.RequestProjectHeader', '8': {}, '10': 'Header'},
{'1': 'ComposedFieldID', '3': 2, '4': 1, '5': 9, '8': {}, '10': 'ComposedFieldID'},
],
'7': {},
};
/// Descriptor for `DeleteComposedFieldRequest`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List deleteComposedFieldRequestDescriptor = $convert.base64Decode(
'ChpEZWxldGVDb21wb3NlZEZpZWxkUmVxdWVzdBI7CgZIZWFkZXIYASABKAsyGS5hcGkuUmVxdW'
'VzdFByb2plY3RIZWFkZXJCCPpCBYoBAhABUgZIZWFkZXISVgoPQ29tcG9zZWRGaWVsZElEGAIg'
'ASgJQiySQSIyIElkZW50aWZpZXIgb2YgdGhlIENvbXBvc2VkIEZpZWxk+kIEcgIQAVIPQ29tcG'
'9zZWRGaWVsZElEOkmSQUYKRDInSURzIG9mIHRoZSBDb21wb3NlZCBGaWVsZCB0byBiZSBkZWxl'
'dGVk0gEGSGVhZGVy0gEPQ29tcG9zZWRGaWVsZElE');
@$core.Deprecated('Use deleteComposedFieldResultDescriptor instead')
const DeleteComposedFieldResult$json = {
'1': 'DeleteComposedFieldResult',
};
/// Descriptor for `DeleteComposedFieldResult`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List deleteComposedFieldResultDescriptor = $convert.base64Decode(
'ChlEZWxldGVDb21wb3NlZEZpZWxkUmVzdWx0');
@$core.Deprecated('Use listComposedFieldRequestDescriptor instead')
const ListComposedFieldRequest$json = {
'1': 'ListComposedFieldRequest',
'2': [
{'1': 'Header', '3': 1, '4': 1, '5': 11, '6': '.api.RequestProjectHeader', '8': {}, '10': 'Header'},
{'1': 'ScreenID', '3': 2, '4': 1, '5': 9, '8': {}, '10': 'ScreenID'},
{'1': 'TabID', '3': 3, '4': 1, '5': 9, '8': {}, '10': 'TabID'},
],
'7': {},
};
/// Descriptor for `ListComposedFieldRequest`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List listComposedFieldRequestDescriptor = $convert.base64Decode(
'ChhMaXN0Q29tcG9zZWRGaWVsZFJlcXVlc3QSOwoGSGVhZGVyGAEgASgLMhkuYXBpLlJlcXVlc3'
'RQcm9qZWN0SGVhZGVyQgj6QgWKAQIQAVIGSGVhZGVyEjkKCFNjcmVlbklEGAIgASgJQh2SQRoy'
'GElkZW50aWZpZXIgb2YgdGhlIFNjcmVlblIIU2NyZWVuSUQSMAoFVGFiSUQYAyABKAlCGpJBFz'
'IVSWRlbnRpZmllciBvZiB0aGUgVGFiUgVUYWJJRDoOkkELCgnSAQZIZWFkZXI=');
@$core.Deprecated('Use listComposedFieldResultDescriptor instead')
const ListComposedFieldResult$json = {
'1': 'ListComposedFieldResult',
'2': [
{'1': 'Results', '3': 1, '4': 3, '5': 11, '6': '.vizapi.ComposedField', '8': {}, '10': 'Results'},
],
'7': {},
};
/// Descriptor for `ListComposedFieldResult`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List listComposedFieldResultDescriptor = $convert.base64Decode(
'ChdMaXN0Q29tcG9zZWRGaWVsZFJlc3VsdBJVCgdSZXN1bHRzGAEgAygLMhUudml6YXBpLkNvbX'
'Bvc2VkRmllbGRCJJJBITIfQWxsIENvbnRlbnQgaW4gYSBDb21wb3NlZCBGaWVsZFIHUmVzdWx0'
'czoekkEbChkyF0xpc3Qgb2YgQ29tcG9zZWQgRmllbGRz');

1165
lib/viz-dashboard.pb.dart Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,11 @@
//
// Generated code. Do not modify.
// source: viz-dashboard.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

View File

@@ -0,0 +1,199 @@
//
// Generated code. Do not modify.
// source: viz-dashboard.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 'viz-dashboard.pb.dart' as $6;
export 'viz-dashboard.pb.dart';
@$pb.GrpcServiceName('vizapi.DashboardService')
class DashboardServiceClient extends $grpc.Client {
static final _$create = $grpc.ClientMethod<$6.CreateDashboardRequest, $6.CreateDashboardResult>(
'/vizapi.DashboardService/Create',
($6.CreateDashboardRequest value) => value.writeToBuffer(),
($core.List<$core.int> value) => $6.CreateDashboardResult.fromBuffer(value));
static final _$list = $grpc.ClientMethod<$6.ListDashboardRequest, $6.ListDashboardResult>(
'/vizapi.DashboardService/List',
($6.ListDashboardRequest value) => value.writeToBuffer(),
($core.List<$core.int> value) => $6.ListDashboardResult.fromBuffer(value));
static final _$delete = $grpc.ClientMethod<$6.DeleteDashboardRequest, $6.DeleteDashboardResult>(
'/vizapi.DashboardService/Delete',
($6.DeleteDashboardRequest value) => value.writeToBuffer(),
($core.List<$core.int> value) => $6.DeleteDashboardResult.fromBuffer(value));
static final _$deleteDashboardsForOrganisation = $grpc.ClientMethod<$6.DeleteDashboardsForOrganisationRequest, $6.DeleteDashboardsForOrganisationResult>(
'/vizapi.DashboardService/DeleteDashboardsForOrganisation',
($6.DeleteDashboardsForOrganisationRequest value) => value.writeToBuffer(),
($core.List<$core.int> value) => $6.DeleteDashboardsForOrganisationResult.fromBuffer(value));
static final _$deleteDashboardsForProject = $grpc.ClientMethod<$6.DeleteDashboardsForProjectRequest, $6.DeleteDashboardsForProjectResult>(
'/vizapi.DashboardService/DeleteDashboardsForProject',
($6.DeleteDashboardsForProjectRequest value) => value.writeToBuffer(),
($core.List<$core.int> value) => $6.DeleteDashboardsForProjectResult.fromBuffer(value));
static final _$update = $grpc.ClientMethod<$6.UpdateDashboardRequest, $6.UpdateDashboardResult>(
'/vizapi.DashboardService/Update',
($6.UpdateDashboardRequest value) => value.writeToBuffer(),
($core.List<$core.int> value) => $6.UpdateDashboardResult.fromBuffer(value));
static final _$get = $grpc.ClientMethod<$6.GetDashboardRequest, $6.GetDashboardResult>(
'/vizapi.DashboardService/Get',
($6.GetDashboardRequest value) => value.writeToBuffer(),
($core.List<$core.int> value) => $6.GetDashboardResult.fromBuffer(value));
static final _$copy = $grpc.ClientMethod<$6.CopyDashboardRequest, $6.CopyDashboardResult>(
'/vizapi.DashboardService/Copy',
($6.CopyDashboardRequest value) => value.writeToBuffer(),
($core.List<$core.int> value) => $6.CopyDashboardResult.fromBuffer(value));
DashboardServiceClient($grpc.ClientChannel channel,
{$grpc.CallOptions? options,
$core.Iterable<$grpc.ClientInterceptor>? interceptors})
: super(channel, options: options,
interceptors: interceptors);
$grpc.ResponseFuture<$6.CreateDashboardResult> create($6.CreateDashboardRequest request, {$grpc.CallOptions? options}) {
return $createUnaryCall(_$create, request, options: options);
}
$grpc.ResponseFuture<$6.ListDashboardResult> list($6.ListDashboardRequest request, {$grpc.CallOptions? options}) {
return $createUnaryCall(_$list, request, options: options);
}
$grpc.ResponseFuture<$6.DeleteDashboardResult> delete($6.DeleteDashboardRequest request, {$grpc.CallOptions? options}) {
return $createUnaryCall(_$delete, request, options: options);
}
$grpc.ResponseFuture<$6.DeleteDashboardsForOrganisationResult> deleteDashboardsForOrganisation($6.DeleteDashboardsForOrganisationRequest request, {$grpc.CallOptions? options}) {
return $createUnaryCall(_$deleteDashboardsForOrganisation, request, options: options);
}
$grpc.ResponseFuture<$6.DeleteDashboardsForProjectResult> deleteDashboardsForProject($6.DeleteDashboardsForProjectRequest request, {$grpc.CallOptions? options}) {
return $createUnaryCall(_$deleteDashboardsForProject, request, options: options);
}
$grpc.ResponseFuture<$6.UpdateDashboardResult> update($6.UpdateDashboardRequest request, {$grpc.CallOptions? options}) {
return $createUnaryCall(_$update, request, options: options);
}
$grpc.ResponseFuture<$6.GetDashboardResult> get($6.GetDashboardRequest request, {$grpc.CallOptions? options}) {
return $createUnaryCall(_$get, request, options: options);
}
$grpc.ResponseFuture<$6.CopyDashboardResult> copy($6.CopyDashboardRequest request, {$grpc.CallOptions? options}) {
return $createUnaryCall(_$copy, request, options: options);
}
}
@$pb.GrpcServiceName('vizapi.DashboardService')
abstract class DashboardServiceBase extends $grpc.Service {
$core.String get $name => 'vizapi.DashboardService';
DashboardServiceBase() {
$addMethod($grpc.ServiceMethod<$6.CreateDashboardRequest, $6.CreateDashboardResult>(
'Create',
create_Pre,
false,
false,
($core.List<$core.int> value) => $6.CreateDashboardRequest.fromBuffer(value),
($6.CreateDashboardResult value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$6.ListDashboardRequest, $6.ListDashboardResult>(
'List',
list_Pre,
false,
false,
($core.List<$core.int> value) => $6.ListDashboardRequest.fromBuffer(value),
($6.ListDashboardResult value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$6.DeleteDashboardRequest, $6.DeleteDashboardResult>(
'Delete',
delete_Pre,
false,
false,
($core.List<$core.int> value) => $6.DeleteDashboardRequest.fromBuffer(value),
($6.DeleteDashboardResult value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$6.DeleteDashboardsForOrganisationRequest, $6.DeleteDashboardsForOrganisationResult>(
'DeleteDashboardsForOrganisation',
deleteDashboardsForOrganisation_Pre,
false,
false,
($core.List<$core.int> value) => $6.DeleteDashboardsForOrganisationRequest.fromBuffer(value),
($6.DeleteDashboardsForOrganisationResult value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$6.DeleteDashboardsForProjectRequest, $6.DeleteDashboardsForProjectResult>(
'DeleteDashboardsForProject',
deleteDashboardsForProject_Pre,
false,
false,
($core.List<$core.int> value) => $6.DeleteDashboardsForProjectRequest.fromBuffer(value),
($6.DeleteDashboardsForProjectResult value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$6.UpdateDashboardRequest, $6.UpdateDashboardResult>(
'Update',
update_Pre,
false,
false,
($core.List<$core.int> value) => $6.UpdateDashboardRequest.fromBuffer(value),
($6.UpdateDashboardResult value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$6.GetDashboardRequest, $6.GetDashboardResult>(
'Get',
get_Pre,
false,
false,
($core.List<$core.int> value) => $6.GetDashboardRequest.fromBuffer(value),
($6.GetDashboardResult value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$6.CopyDashboardRequest, $6.CopyDashboardResult>(
'Copy',
copy_Pre,
false,
false,
($core.List<$core.int> value) => $6.CopyDashboardRequest.fromBuffer(value),
($6.CopyDashboardResult value) => value.writeToBuffer()));
}
$async.Future<$6.CreateDashboardResult> create_Pre($grpc.ServiceCall call, $async.Future<$6.CreateDashboardRequest> request) async {
return create(call, await request);
}
$async.Future<$6.ListDashboardResult> list_Pre($grpc.ServiceCall call, $async.Future<$6.ListDashboardRequest> request) async {
return list(call, await request);
}
$async.Future<$6.DeleteDashboardResult> delete_Pre($grpc.ServiceCall call, $async.Future<$6.DeleteDashboardRequest> request) async {
return delete(call, await request);
}
$async.Future<$6.DeleteDashboardsForOrganisationResult> deleteDashboardsForOrganisation_Pre($grpc.ServiceCall call, $async.Future<$6.DeleteDashboardsForOrganisationRequest> request) async {
return deleteDashboardsForOrganisation(call, await request);
}
$async.Future<$6.DeleteDashboardsForProjectResult> deleteDashboardsForProject_Pre($grpc.ServiceCall call, $async.Future<$6.DeleteDashboardsForProjectRequest> request) async {
return deleteDashboardsForProject(call, await request);
}
$async.Future<$6.UpdateDashboardResult> update_Pre($grpc.ServiceCall call, $async.Future<$6.UpdateDashboardRequest> request) async {
return update(call, await request);
}
$async.Future<$6.GetDashboardResult> get_Pre($grpc.ServiceCall call, $async.Future<$6.GetDashboardRequest> request) async {
return get(call, await request);
}
$async.Future<$6.CopyDashboardResult> copy_Pre($grpc.ServiceCall call, $async.Future<$6.CopyDashboardRequest> request) async {
return copy(call, await request);
}
$async.Future<$6.CreateDashboardResult> create($grpc.ServiceCall call, $6.CreateDashboardRequest request);
$async.Future<$6.ListDashboardResult> list($grpc.ServiceCall call, $6.ListDashboardRequest request);
$async.Future<$6.DeleteDashboardResult> delete($grpc.ServiceCall call, $6.DeleteDashboardRequest request);
$async.Future<$6.DeleteDashboardsForOrganisationResult> deleteDashboardsForOrganisation($grpc.ServiceCall call, $6.DeleteDashboardsForOrganisationRequest request);
$async.Future<$6.DeleteDashboardsForProjectResult> deleteDashboardsForProject($grpc.ServiceCall call, $6.DeleteDashboardsForProjectRequest request);
$async.Future<$6.UpdateDashboardResult> update($grpc.ServiceCall call, $6.UpdateDashboardRequest request);
$async.Future<$6.GetDashboardResult> get($grpc.ServiceCall call, $6.GetDashboardRequest request);
$async.Future<$6.CopyDashboardResult> copy($grpc.ServiceCall call, $6.CopyDashboardRequest request);
}

View File

@@ -0,0 +1,298 @@
//
// Generated code. Do not modify.
// source: viz-dashboard.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 dashboardDescriptor instead')
const Dashboard$json = {
'1': 'Dashboard',
'2': [
{'1': 'DashboardID', '3': 1, '4': 1, '5': 9, '8': {}, '10': 'DashboardID'},
{'1': 'Name', '3': 2, '4': 1, '5': 9, '8': {}, '10': 'Name'},
{'1': 'Content', '3': 3, '4': 1, '5': 9, '8': {}, '10': 'Content'},
{'1': 'CreateUserID', '3': 4, '4': 1, '5': 9, '8': {}, '10': 'CreateUserID'},
{'1': 'UpdateUserID', '3': 5, '4': 1, '5': 9, '8': {}, '10': 'UpdateUserID'},
{'1': 'CreateDate', '3': 6, '4': 1, '5': 9, '8': {}, '10': 'CreateDate'},
{'1': 'UpdateDate', '3': 7, '4': 1, '5': 9, '8': {}, '10': 'UpdateDate'},
{'1': 'IsPrivate', '3': 8, '4': 1, '5': 8, '8': {}, '10': 'IsPrivate'},
{'1': 'AutoRefresh', '3': 12, '4': 1, '5': 5, '10': 'AutoRefresh'},
],
};
/// Descriptor for `Dashboard`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List dashboardDescriptor = $convert.base64Decode(
'CglEYXNoYm9hcmQSQgoLRGFzaGJvYXJkSUQYASABKAlCIJJBHTIbSWRlbnRpZmllciBvZiB0aG'
'UgRGFzaGJvYXJkUgtEYXNoYm9hcmRJRBIuCgROYW1lGAIgASgJQhqSQRcyFU5hbWUgb2YgdGhl'
'IERhc2hib2FyZFIETmFtZRI7CgdDb250ZW50GAMgASgJQiGSQR4yHEFsbCB0aGUgd2lkZ2V0cy'
'BpbiBEYXNoYm9hcmRSB0NvbnRlbnQSSwoMQ3JlYXRlVXNlcklEGAQgASgJQieSQSQyIklkZW50'
'aWZpZXIgb2YgdGhlIHVzZXIgd2hvIGNyZWF0ZWRSDENyZWF0ZVVzZXJJRBJXCgxVcGRhdGVVc2'
'VySUQYBSABKAlCM5JBMDIuSWRlbnRpZmllciBvZiB0aGUgdXNlciB3aG8gZGlkIHRoZSBsYXN0'
'IHVwZGF0ZVIMVXBkYXRlVXNlcklEEtIBCgpDcmVhdGVEYXRlGAYgASgJQrEBkkGtATKSAURhdG'
'Ugb2YgY3JlYXRpb24gaW4gPGEgaHJlZj0naHR0cHM6Ly9lbi53aWtpcGVkaWEub3JnL3dpa2kv'
'SVNPXzg2MDEnPklTTyA4NjAxPC9hPiBmb3JtYXQgd2l0aCB0aW1lIHpvbmUgKGFjY2VwdGVkIH'
'R6ZCBmb3JtYXRzOiBbKzAxOjAwLCAtMDE6MDAsIFpdShYiMjAyMy0wMS0wMVQwMDowMDowMFoi'
'UgpDcmVhdGVEYXRlEtUBCgpVcGRhdGVEYXRlGAcgASgJQrQBkkGwATKVAURhdGUgb2YgbGFzdC'
'B1cGRhdGUgaW4gPGEgaHJlZj0naHR0cHM6Ly9lbi53aWtpcGVkaWEub3JnL3dpa2kvSVNPXzg2'
'MDEnPklTTyA4NjAxPC9hPiBmb3JtYXQgd2l0aCB0aW1lIHpvbmUgKGFjY2VwdGVkIHR6ZCBmb3'
'JtYXRzOiBbKzAxOjAwLCAtMDE6MDAsIFpdShYiMjAyMy0wMS0wMVQwMDowMDowMVoiUgpVcGRh'
'dGVEYXRlEj4KCUlzUHJpdmF0ZRgIIAEoCEIgkkEdMhtWaXNpYmlsaXR5IG9mIHRoZSBEYXNoYm'
'9hcmRSCUlzUHJpdmF0ZRIgCgtBdXRvUmVmcmVzaBgMIAEoBVILQXV0b1JlZnJlc2g=');
@$core.Deprecated('Use listDashboardRequestDescriptor instead')
const ListDashboardRequest$json = {
'1': 'ListDashboardRequest',
'2': [
{'1': 'Header', '3': 1, '4': 1, '5': 11, '6': '.api.RequestProjectHeader', '8': {}, '10': 'Header'},
],
'7': {},
};
/// Descriptor for `ListDashboardRequest`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List listDashboardRequestDescriptor = $convert.base64Decode(
'ChRMaXN0RGFzaGJvYXJkUmVxdWVzdBI7CgZIZWFkZXIYASABKAsyGS5hcGkuUmVxdWVzdFByb2'
'plY3RIZWFkZXJCCPpCBYoBAhABUgZIZWFkZXI6DpJBCwoJ0gEGSGVhZGVy');
@$core.Deprecated('Use listDashboardResultDescriptor instead')
const ListDashboardResult$json = {
'1': 'ListDashboardResult',
'2': [
{'1': 'Results', '3': 1, '4': 3, '5': 11, '6': '.vizapi.Dashboard', '8': {}, '10': 'Results'},
],
'7': {},
};
/// Descriptor for `ListDashboardResult`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List listDashboardResultDescriptor = $convert.base64Decode(
'ChNMaXN0RGFzaGJvYXJkUmVzdWx0ElAKB1Jlc3VsdHMYASADKAsyES52aXphcGkuRGFzaGJvYX'
'JkQiOSQSAyHkFsbCBpbmZvcm1hdGlvbiBpbiBhIERhc2hib2FyZFIHUmVzdWx0czoZkkEWChQy'
'Ekxpc3Qgb2YgRGFzaGJvYXJkcw==');
@$core.Deprecated('Use createDashboardRequestDescriptor instead')
const CreateDashboardRequest$json = {
'1': 'CreateDashboardRequest',
'2': [
{'1': 'Header', '3': 1, '4': 1, '5': 11, '6': '.api.RequestProjectHeader', '8': {}, '10': 'Header'},
{'1': 'Name', '3': 2, '4': 1, '5': 9, '8': {}, '10': 'Name'},
{'1': 'content', '3': 3, '4': 1, '5': 9, '8': {}, '10': 'content'},
{'1': 'IsPrivate', '3': 4, '4': 1, '5': 8, '8': {}, '10': 'IsPrivate'},
{'1': 'AutoRefresh', '3': 8, '4': 1, '5': 5, '10': 'AutoRefresh'},
],
'7': {},
};
/// Descriptor for `CreateDashboardRequest`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List createDashboardRequestDescriptor = $convert.base64Decode(
'ChZDcmVhdGVEYXNoYm9hcmRSZXF1ZXN0EjsKBkhlYWRlchgBIAEoCzIZLmFwaS5SZXF1ZXN0UH'
'JvamVjdEhlYWRlckII+kIFigECEAFSBkhlYWRlchI1CgROYW1lGAIgASgJQiGSQRcyFU5hbWUg'
'b2YgdGhlIERhc2hib2FyZPpCBHICEAFSBE5hbWUSNwoHY29udGVudBgDIAEoCUIdkkEaMhhBbG'
'wgd2lkZ2V0cyBpbiBEYXNoYm9hcmRSB2NvbnRlbnQSPgoJSXNQcml2YXRlGAQgASgIQiCSQR0y'
'G1Zpc2liaWxpdHkgb2YgdGhlIERhc2hib2FyZFIJSXNQcml2YXRlEiAKC0F1dG9SZWZyZXNoGA'
'ggASgFUgtBdXRvUmVmcmVzaDo6kkE3CjUyI0luZm9ybWF0aW9uIHRoYXQgbmVlZHMgdG8gYmUg'
'c3RvcmVk0gEGSGVhZGVy0gEETmFtZQ==');
@$core.Deprecated('Use createDashboardResultDescriptor instead')
const CreateDashboardResult$json = {
'1': 'CreateDashboardResult',
'2': [
{'1': 'Result', '3': 1, '4': 1, '5': 11, '6': '.vizapi.Dashboard', '10': 'Result'},
],
'7': {},
};
/// Descriptor for `CreateDashboardResult`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List createDashboardResultDescriptor = $convert.base64Decode(
'ChVDcmVhdGVEYXNoYm9hcmRSZXN1bHQSKQoGUmVzdWx0GAEgASgLMhEudml6YXBpLkRhc2hib2'
'FyZFIGUmVzdWx0OhiSQRUKEzIRQ3JlYXRlZCBEYXNoYm9hcmQ=');
@$core.Deprecated('Use deleteDashboardRequestDescriptor instead')
const DeleteDashboardRequest$json = {
'1': 'DeleteDashboardRequest',
'2': [
{'1': 'Header', '3': 1, '4': 1, '5': 11, '6': '.api.RequestProjectHeader', '8': {}, '10': 'Header'},
{'1': 'DashboardID', '3': 2, '4': 1, '5': 9, '8': {}, '10': 'DashboardID'},
],
'7': {},
};
/// Descriptor for `DeleteDashboardRequest`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List deleteDashboardRequestDescriptor = $convert.base64Decode(
'ChZEZWxldGVEYXNoYm9hcmRSZXF1ZXN0EjsKBkhlYWRlchgBIAEoCzIZLmFwaS5SZXF1ZXN0UH'
'JvamVjdEhlYWRlckII+kIFigECEAFSBkhlYWRlchJJCgtEYXNoYm9hcmRJRBgCIAEoCUInkkEd'
'MhtJZGVudGlmaWVyIG9mIHRoZSBEYXNoYm9hcmT6QgRyAhABUgtEYXNoYm9hcmRJRDpAkkE9Cj'
'syIklEcyBvZiB0aGUgRGFzaGJvYXJkIHRvIGJlIGRlbGV0ZWTSAQZIZWFkZXLSAQtEYXNoYm9h'
'cmRJRA==');
@$core.Deprecated('Use deleteDashboardResultDescriptor instead')
const DeleteDashboardResult$json = {
'1': 'DeleteDashboardResult',
};
/// Descriptor for `DeleteDashboardResult`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List deleteDashboardResultDescriptor = $convert.base64Decode(
'ChVEZWxldGVEYXNoYm9hcmRSZXN1bHQ=');
@$core.Deprecated('Use deleteDashboardsForOrganisationRequestDescriptor instead')
const DeleteDashboardsForOrganisationRequest$json = {
'1': 'DeleteDashboardsForOrganisationRequest',
'2': [
{'1': 'OrganisationID', '3': 2, '4': 1, '5': 9, '8': {}, '10': 'OrganisationID'},
],
'7': {},
};
/// Descriptor for `DeleteDashboardsForOrganisationRequest`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List deleteDashboardsForOrganisationRequestDescriptor = $convert.base64Decode(
'CiZEZWxldGVEYXNoYm9hcmRzRm9yT3JnYW5pc2F0aW9uUmVxdWVzdBJSCg5PcmdhbmlzYXRpb2'
'5JRBgCIAEoCUIqkkEgMh5JZGVudGlmaWVyIG9mIHRoZSBPcmdhbml6YXRpb276QgRyAhABUg5P'
'cmdhbmlzYXRpb25JRDpNkkFKCkgyNU9yZ2FuaXphdGlvbiBpZGVudGlmaWVyIHRvIGRlbGV0ZS'
'B0aGUgZGFzaGJvYXJkcyBmcm9t0gEOT3JnYW5pc2F0aW9uSUQ=');
@$core.Deprecated('Use deleteDashboardsForOrganisationResultDescriptor instead')
const DeleteDashboardsForOrganisationResult$json = {
'1': 'DeleteDashboardsForOrganisationResult',
};
/// Descriptor for `DeleteDashboardsForOrganisationResult`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List deleteDashboardsForOrganisationResultDescriptor = $convert.base64Decode(
'CiVEZWxldGVEYXNoYm9hcmRzRm9yT3JnYW5pc2F0aW9uUmVzdWx0');
@$core.Deprecated('Use deleteDashboardsForProjectRequestDescriptor instead')
const DeleteDashboardsForProjectRequest$json = {
'1': 'DeleteDashboardsForProjectRequest',
'2': [
{'1': 'ProjectID', '3': 1, '4': 1, '5': 9, '8': {}, '10': 'ProjectID'},
],
'7': {},
};
/// Descriptor for `DeleteDashboardsForProjectRequest`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List deleteDashboardsForProjectRequestDescriptor = $convert.base64Decode(
'CiFEZWxldGVEYXNoYm9hcmRzRm9yUHJvamVjdFJlcXVlc3QSQwoJUHJvamVjdElEGAEgASgJQi'
'WSQRsyGUlkZW50aWZpZXIgb2YgdGhlIFByb2plY3T6QgRyAhABUglQcm9qZWN0SUQ6SJJBRQpD'
'MjVPcmdhbml6YXRpb24gaWRlbnRpZmllciB0byBkZWxldGUgdGhlIGRhc2hib2FyZHMgZnJvbd'
'IBCVByb2plY3RJRA==');
@$core.Deprecated('Use deleteDashboardsForProjectResultDescriptor instead')
const DeleteDashboardsForProjectResult$json = {
'1': 'DeleteDashboardsForProjectResult',
};
/// Descriptor for `DeleteDashboardsForProjectResult`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List deleteDashboardsForProjectResultDescriptor = $convert.base64Decode(
'CiBEZWxldGVEYXNoYm9hcmRzRm9yUHJvamVjdFJlc3VsdA==');
@$core.Deprecated('Use updateDashboardRequestDescriptor instead')
const UpdateDashboardRequest$json = {
'1': 'UpdateDashboardRequest',
'2': [
{'1': 'Header', '3': 1, '4': 1, '5': 11, '6': '.api.RequestProjectHeader', '8': {}, '10': 'Header'},
{'1': 'DashboardID', '3': 2, '4': 1, '5': 9, '8': {}, '10': 'DashboardID'},
{'1': 'Name', '3': 3, '4': 1, '5': 11, '6': '.api.StringObject', '8': {}, '10': 'Name'},
{'1': 'Content', '3': 4, '4': 1, '5': 11, '6': '.api.StringObject', '8': {}, '10': 'Content'},
{'1': 'IsPrivate', '3': 5, '4': 1, '5': 11, '6': '.api.BoolObject', '8': {}, '10': 'IsPrivate'},
{'1': 'AutoRefresh', '3': 9, '4': 1, '5': 11, '6': '.api.Int32Object', '10': 'AutoRefresh'},
],
'7': {},
};
/// Descriptor for `UpdateDashboardRequest`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List updateDashboardRequestDescriptor = $convert.base64Decode(
'ChZVcGRhdGVEYXNoYm9hcmRSZXF1ZXN0EjsKBkhlYWRlchgBIAEoCzIZLmFwaS5SZXF1ZXN0UH'
'JvamVjdEhlYWRlckII+kIFigECEAFSBkhlYWRlchJJCgtEYXNoYm9hcmRJRBgCIAEoCUInkkEd'
'MhtJZGVudGlmaWVyIG9mIHRoZSBEYXNoYm9hcmT6QgRyAhABUgtEYXNoYm9hcmRJRBJBCgROYW'
'1lGAMgASgLMhEuYXBpLlN0cmluZ09iamVjdEIakkEXMhVOYW1lIG9mIHRoZSBEYXNoYm9hcmRS'
'BE5hbWUSTgoHQ29udGVudBgEIAEoCzIRLmFwaS5TdHJpbmdPYmplY3RCIZJBHjIcQWxsIHRoZS'
'B3aWRnZXRzIGluIERhc2hib2FyZFIHQ29udGVudBJPCglJc1ByaXZhdGUYBSABKAsyDy5hcGku'
'Qm9vbE9iamVjdEIgkkEdMhtWaXNpYmlsaXR5IG9mIHRoZSBEYXNoYm9hcmRSCUlzUHJpdmF0ZR'
'IyCgtBdXRvUmVmcmVzaBgJIAEoCzIQLmFwaS5JbnQzMk9iamVjdFILQXV0b1JlZnJlc2g6QpJB'
'Pwo9MiRJbmZvcm1hdGlvbiB0aGF0IG5lZWRzIHRvIGJlIHVwZGF0ZWTSAQZIZWFkZXLSAQtEYX'
'NoYm9hcmRJRA==');
@$core.Deprecated('Use updateDashboardResultDescriptor instead')
const UpdateDashboardResult$json = {
'1': 'UpdateDashboardResult',
'2': [
{'1': 'Result', '3': 1, '4': 1, '5': 11, '6': '.vizapi.Dashboard', '10': 'Result'},
],
'7': {},
};
/// Descriptor for `UpdateDashboardResult`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List updateDashboardResultDescriptor = $convert.base64Decode(
'ChVVcGRhdGVEYXNoYm9hcmRSZXN1bHQSKQoGUmVzdWx0GAEgASgLMhEudml6YXBpLkRhc2hib2'
'FyZFIGUmVzdWx0OiSSQSEKHzIdVXBkYXRlZCBEYXNoYm9hcmQgaW5mb3JtYXRpb24=');
@$core.Deprecated('Use getDashboardRequestDescriptor instead')
const GetDashboardRequest$json = {
'1': 'GetDashboardRequest',
'2': [
{'1': 'Header', '3': 1, '4': 1, '5': 11, '6': '.api.RequestProjectHeader', '8': {}, '10': 'Header'},
{'1': 'DashboardID', '3': 2, '4': 1, '5': 9, '8': {}, '10': 'DashboardID'},
],
'7': {},
};
/// Descriptor for `GetDashboardRequest`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List getDashboardRequestDescriptor = $convert.base64Decode(
'ChNHZXREYXNoYm9hcmRSZXF1ZXN0EjsKBkhlYWRlchgBIAEoCzIZLmFwaS5SZXF1ZXN0UHJvam'
'VjdEhlYWRlckII+kIFigECEAFSBkhlYWRlchJJCgtEYXNoYm9hcmRJRBgCIAEoCUInkkEdMhtJ'
'ZGVudGlmaWVyIG9mIHRoZSBEYXNoYm9hcmT6QgRyAhABUgtEYXNoYm9hcmRJRDoykkEvCi0yFE'
'lEcyBvZiB0aGUgRGFzaGJvYXJk0gEGSGVhZGVy0gELRGFzaGJvYXJkSUQ=');
@$core.Deprecated('Use getDashboardResultDescriptor instead')
const GetDashboardResult$json = {
'1': 'GetDashboardResult',
'2': [
{'1': 'result', '3': 1, '4': 1, '5': 11, '6': '.vizapi.Dashboard', '10': 'result'},
],
'7': {},
};
/// Descriptor for `GetDashboardResult`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List getDashboardResultDescriptor = $convert.base64Decode(
'ChJHZXREYXNoYm9hcmRSZXN1bHQSKQoGcmVzdWx0GAEgASgLMhEudml6YXBpLkRhc2hib2FyZF'
'IGcmVzdWx0OiqSQScKJTIjQWxsIGluZm9ybWF0aW9uIGFib3V0IHRoZSBEYXNoYm9hcmQ=');
@$core.Deprecated('Use copyDashboardRequestDescriptor instead')
const CopyDashboardRequest$json = {
'1': 'CopyDashboardRequest',
'2': [
{'1': 'Header', '3': 1, '4': 1, '5': 11, '6': '.api.RequestProjectHeader', '8': {}, '10': 'Header'},
{'1': 'DashboardID', '3': 2, '4': 1, '5': 9, '8': {}, '10': 'DashboardID'},
{'1': 'Name', '3': 3, '4': 1, '5': 9, '8': {}, '10': 'Name'},
],
'7': {},
};
/// Descriptor for `CopyDashboardRequest`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List copyDashboardRequestDescriptor = $convert.base64Decode(
'ChRDb3B5RGFzaGJvYXJkUmVxdWVzdBI7CgZIZWFkZXIYASABKAsyGS5hcGkuUmVxdWVzdFByb2'
'plY3RIZWFkZXJCCPpCBYoBAhABUgZIZWFkZXISSQoLRGFzaGJvYXJkSUQYAiABKAlCJ5JBHTIb'
'SWRlbnRpZmllciBvZiB0aGUgRGFzaGJvYXJk+kIEcgIQAVILRGFzaGJvYXJkSUQSOQoETmFtZR'
'gDIAEoCUIlkkEbMhlOYW1lIG9mIHRoZSBuZXcgRGFzaGJvYXJk+kIEcgIQAVIETmFtZTojkkEg'
'Ch7SAQZIZWFkZXLSAQtEYXNoYm9hcmRJRNIBBE5hbWU=');
@$core.Deprecated('Use copyDashboardResultDescriptor instead')
const CopyDashboardResult$json = {
'1': 'CopyDashboardResult',
'2': [
{'1': 'Result', '3': 1, '4': 1, '5': 11, '6': '.vizapi.Dashboard', '10': 'Result'},
],
'7': {},
};
/// Descriptor for `CopyDashboardResult`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List copyDashboardResultDescriptor = $convert.base64Decode(
'ChNDb3B5RGFzaGJvYXJkUmVzdWx0EikKBlJlc3VsdBgBIAEoCzIRLnZpemFwaS5EYXNoYm9hcm'
'RSBlJlc3VsdDobkkEYChYyFE5ldyBjb3BpZWQgZGFzaGJvYXJk');

View File

@@ -0,0 +1,283 @@
//
// Generated code. Do not modify.
// source: viz-default-view.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 UpdatePlatformDefaultViewRequest extends $pb.GeneratedMessage {
factory UpdatePlatformDefaultViewRequest({
$core.String? viewID,
$core.String? payload,
$core.bool? isPrivate,
}) {
final $result = create();
if (viewID != null) {
$result.viewID = viewID;
}
if (payload != null) {
$result.payload = payload;
}
if (isPrivate != null) {
$result.isPrivate = isPrivate;
}
return $result;
}
UpdatePlatformDefaultViewRequest._() : super();
factory UpdatePlatformDefaultViewRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
factory UpdatePlatformDefaultViewRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdatePlatformDefaultViewRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'vizapi'), createEmptyInstance: create)
..aOS(1, _omitFieldNames ? '' : 'ViewID', protoName: 'ViewID')
..aOS(4, _omitFieldNames ? '' : 'Payload', protoName: 'Payload')
..aOB(5, _omitFieldNames ? '' : 'IsPrivate', protoName: 'IsPrivate')
..hasRequiredFields = false
;
@$core.Deprecated(
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
'Will be removed in next major version')
UpdatePlatformDefaultViewRequest clone() => UpdatePlatformDefaultViewRequest()..mergeFromMessage(this);
@$core.Deprecated(
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
'Will be removed in next major version')
UpdatePlatformDefaultViewRequest copyWith(void Function(UpdatePlatformDefaultViewRequest) updates) => super.copyWith((message) => updates(message as UpdatePlatformDefaultViewRequest)) as UpdatePlatformDefaultViewRequest;
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static UpdatePlatformDefaultViewRequest create() => UpdatePlatformDefaultViewRequest._();
UpdatePlatformDefaultViewRequest createEmptyInstance() => create();
static $pb.PbList<UpdatePlatformDefaultViewRequest> createRepeated() => $pb.PbList<UpdatePlatformDefaultViewRequest>();
@$core.pragma('dart2js:noInline')
static UpdatePlatformDefaultViewRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<UpdatePlatformDefaultViewRequest>(create);
static UpdatePlatformDefaultViewRequest? _defaultInstance;
/// Identifier of the View
@$pb.TagNumber(1)
$core.String get viewID => $_getSZ(0);
@$pb.TagNumber(1)
set viewID($core.String v) { $_setString(0, v); }
@$pb.TagNumber(1)
$core.bool hasViewID() => $_has(0);
@$pb.TagNumber(1)
void clearViewID() => clearField(1);
/// Content of the View
@$pb.TagNumber(4)
$core.String get payload => $_getSZ(1);
@$pb.TagNumber(4)
set payload($core.String v) { $_setString(1, v); }
@$pb.TagNumber(4)
$core.bool hasPayload() => $_has(1);
@$pb.TagNumber(4)
void clearPayload() => clearField(4);
/// Visibility of the View
@$pb.TagNumber(5)
$core.bool get isPrivate => $_getBF(2);
@$pb.TagNumber(5)
set isPrivate($core.bool v) { $_setBool(2, v); }
@$pb.TagNumber(5)
$core.bool hasIsPrivate() => $_has(2);
@$pb.TagNumber(5)
void clearIsPrivate() => clearField(5);
}
class CreatePlatformDefaultViewRequest extends $pb.GeneratedMessage {
factory CreatePlatformDefaultViewRequest({
$core.String? screenID,
$core.String? payload,
$core.bool? isPrivate,
}) {
final $result = create();
if (screenID != null) {
$result.screenID = screenID;
}
if (payload != null) {
$result.payload = payload;
}
if (isPrivate != null) {
$result.isPrivate = isPrivate;
}
return $result;
}
CreatePlatformDefaultViewRequest._() : super();
factory CreatePlatformDefaultViewRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
factory CreatePlatformDefaultViewRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CreatePlatformDefaultViewRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'vizapi'), createEmptyInstance: create)
..aOS(1, _omitFieldNames ? '' : 'ScreenID', protoName: 'ScreenID')
..aOS(4, _omitFieldNames ? '' : 'Payload', protoName: 'Payload')
..aOB(5, _omitFieldNames ? '' : 'IsPrivate', protoName: 'IsPrivate')
..hasRequiredFields = false
;
@$core.Deprecated(
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
'Will be removed in next major version')
CreatePlatformDefaultViewRequest clone() => CreatePlatformDefaultViewRequest()..mergeFromMessage(this);
@$core.Deprecated(
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
'Will be removed in next major version')
CreatePlatformDefaultViewRequest copyWith(void Function(CreatePlatformDefaultViewRequest) updates) => super.copyWith((message) => updates(message as CreatePlatformDefaultViewRequest)) as CreatePlatformDefaultViewRequest;
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static CreatePlatformDefaultViewRequest create() => CreatePlatformDefaultViewRequest._();
CreatePlatformDefaultViewRequest createEmptyInstance() => create();
static $pb.PbList<CreatePlatformDefaultViewRequest> createRepeated() => $pb.PbList<CreatePlatformDefaultViewRequest>();
@$core.pragma('dart2js:noInline')
static CreatePlatformDefaultViewRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<CreatePlatformDefaultViewRequest>(create);
static CreatePlatformDefaultViewRequest? _defaultInstance;
/// Identifier of the Screen
@$pb.TagNumber(1)
$core.String get screenID => $_getSZ(0);
@$pb.TagNumber(1)
set screenID($core.String v) { $_setString(0, v); }
@$pb.TagNumber(1)
$core.bool hasScreenID() => $_has(0);
@$pb.TagNumber(1)
void clearScreenID() => clearField(1);
/// Content of the View
@$pb.TagNumber(4)
$core.String get payload => $_getSZ(1);
@$pb.TagNumber(4)
set payload($core.String v) { $_setString(1, v); }
@$pb.TagNumber(4)
$core.bool hasPayload() => $_has(1);
@$pb.TagNumber(4)
void clearPayload() => clearField(4);
/// Visibility of the View
@$pb.TagNumber(5)
$core.bool get isPrivate => $_getBF(2);
@$pb.TagNumber(5)
set isPrivate($core.bool v) { $_setBool(2, v); }
@$pb.TagNumber(5)
$core.bool hasIsPrivate() => $_has(2);
@$pb.TagNumber(5)
void clearIsPrivate() => clearField(5);
}
/// ID of the created View
class CreatePlatformDefaultViewResult extends $pb.GeneratedMessage {
factory CreatePlatformDefaultViewResult({
$core.String? viewID,
}) {
final $result = create();
if (viewID != null) {
$result.viewID = viewID;
}
return $result;
}
CreatePlatformDefaultViewResult._() : super();
factory CreatePlatformDefaultViewResult.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
factory CreatePlatformDefaultViewResult.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CreatePlatformDefaultViewResult', package: const $pb.PackageName(_omitMessageNames ? '' : 'vizapi'), createEmptyInstance: create)
..aOS(1, _omitFieldNames ? '' : 'ViewID', protoName: 'ViewID')
..hasRequiredFields = false
;
@$core.Deprecated(
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
'Will be removed in next major version')
CreatePlatformDefaultViewResult clone() => CreatePlatformDefaultViewResult()..mergeFromMessage(this);
@$core.Deprecated(
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
'Will be removed in next major version')
CreatePlatformDefaultViewResult copyWith(void Function(CreatePlatformDefaultViewResult) updates) => super.copyWith((message) => updates(message as CreatePlatformDefaultViewResult)) as CreatePlatformDefaultViewResult;
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static CreatePlatformDefaultViewResult create() => CreatePlatformDefaultViewResult._();
CreatePlatformDefaultViewResult createEmptyInstance() => create();
static $pb.PbList<CreatePlatformDefaultViewResult> createRepeated() => $pb.PbList<CreatePlatformDefaultViewResult>();
@$core.pragma('dart2js:noInline')
static CreatePlatformDefaultViewResult getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<CreatePlatformDefaultViewResult>(create);
static CreatePlatformDefaultViewResult? _defaultInstance;
/// Identifier of the View
@$pb.TagNumber(1)
$core.String get viewID => $_getSZ(0);
@$pb.TagNumber(1)
set viewID($core.String v) { $_setString(0, v); }
@$pb.TagNumber(1)
$core.bool hasViewID() => $_has(0);
@$pb.TagNumber(1)
void clearViewID() => clearField(1);
}
class UpdatePlatformDefaultViewResult extends $pb.GeneratedMessage {
factory UpdatePlatformDefaultViewResult({
$core.String? viewID,
}) {
final $result = create();
if (viewID != null) {
$result.viewID = viewID;
}
return $result;
}
UpdatePlatformDefaultViewResult._() : super();
factory UpdatePlatformDefaultViewResult.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
factory UpdatePlatformDefaultViewResult.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdatePlatformDefaultViewResult', package: const $pb.PackageName(_omitMessageNames ? '' : 'vizapi'), createEmptyInstance: create)
..aOS(1, _omitFieldNames ? '' : 'ViewID', protoName: 'ViewID')
..hasRequiredFields = false
;
@$core.Deprecated(
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
'Will be removed in next major version')
UpdatePlatformDefaultViewResult clone() => UpdatePlatformDefaultViewResult()..mergeFromMessage(this);
@$core.Deprecated(
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
'Will be removed in next major version')
UpdatePlatformDefaultViewResult copyWith(void Function(UpdatePlatformDefaultViewResult) updates) => super.copyWith((message) => updates(message as UpdatePlatformDefaultViewResult)) as UpdatePlatformDefaultViewResult;
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static UpdatePlatformDefaultViewResult create() => UpdatePlatformDefaultViewResult._();
UpdatePlatformDefaultViewResult createEmptyInstance() => create();
static $pb.PbList<UpdatePlatformDefaultViewResult> createRepeated() => $pb.PbList<UpdatePlatformDefaultViewResult>();
@$core.pragma('dart2js:noInline')
static UpdatePlatformDefaultViewResult getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<UpdatePlatformDefaultViewResult>(create);
static UpdatePlatformDefaultViewResult? _defaultInstance;
/// Identifier of the View
@$pb.TagNumber(1)
$core.String get viewID => $_getSZ(0);
@$pb.TagNumber(1)
set viewID($core.String v) { $_setString(0, v); }
@$pb.TagNumber(1)
$core.bool hasViewID() => $_has(0);
@$pb.TagNumber(1)
void clearViewID() => clearField(1);
}
const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names');
const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names');

View File

@@ -0,0 +1,11 @@
//
// Generated code. Do not modify.
// source: viz-default-view.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

View File

@@ -0,0 +1,79 @@
//
// Generated code. Do not modify.
// source: viz-default-view.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 'viz-default-view.pb.dart' as $3;
export 'viz-default-view.pb.dart';
@$pb.GrpcServiceName('vizapi.DefaultViewService')
class DefaultViewServiceClient extends $grpc.Client {
static final _$createPlatform = $grpc.ClientMethod<$3.CreatePlatformDefaultViewRequest, $3.CreatePlatformDefaultViewResult>(
'/vizapi.DefaultViewService/CreatePlatform',
($3.CreatePlatformDefaultViewRequest value) => value.writeToBuffer(),
($core.List<$core.int> value) => $3.CreatePlatformDefaultViewResult.fromBuffer(value));
static final _$updatePlatform = $grpc.ClientMethod<$3.UpdatePlatformDefaultViewRequest, $3.UpdatePlatformDefaultViewResult>(
'/vizapi.DefaultViewService/UpdatePlatform',
($3.UpdatePlatformDefaultViewRequest value) => value.writeToBuffer(),
($core.List<$core.int> value) => $3.UpdatePlatformDefaultViewResult.fromBuffer(value));
DefaultViewServiceClient($grpc.ClientChannel channel,
{$grpc.CallOptions? options,
$core.Iterable<$grpc.ClientInterceptor>? interceptors})
: super(channel, options: options,
interceptors: interceptors);
$grpc.ResponseFuture<$3.CreatePlatformDefaultViewResult> createPlatform($3.CreatePlatformDefaultViewRequest request, {$grpc.CallOptions? options}) {
return $createUnaryCall(_$createPlatform, request, options: options);
}
$grpc.ResponseFuture<$3.UpdatePlatformDefaultViewResult> updatePlatform($3.UpdatePlatformDefaultViewRequest request, {$grpc.CallOptions? options}) {
return $createUnaryCall(_$updatePlatform, request, options: options);
}
}
@$pb.GrpcServiceName('vizapi.DefaultViewService')
abstract class DefaultViewServiceBase extends $grpc.Service {
$core.String get $name => 'vizapi.DefaultViewService';
DefaultViewServiceBase() {
$addMethod($grpc.ServiceMethod<$3.CreatePlatformDefaultViewRequest, $3.CreatePlatformDefaultViewResult>(
'CreatePlatform',
createPlatform_Pre,
false,
false,
($core.List<$core.int> value) => $3.CreatePlatformDefaultViewRequest.fromBuffer(value),
($3.CreatePlatformDefaultViewResult value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$3.UpdatePlatformDefaultViewRequest, $3.UpdatePlatformDefaultViewResult>(
'UpdatePlatform',
updatePlatform_Pre,
false,
false,
($core.List<$core.int> value) => $3.UpdatePlatformDefaultViewRequest.fromBuffer(value),
($3.UpdatePlatformDefaultViewResult value) => value.writeToBuffer()));
}
$async.Future<$3.CreatePlatformDefaultViewResult> createPlatform_Pre($grpc.ServiceCall call, $async.Future<$3.CreatePlatformDefaultViewRequest> request) async {
return createPlatform(call, await request);
}
$async.Future<$3.UpdatePlatformDefaultViewResult> updatePlatform_Pre($grpc.ServiceCall call, $async.Future<$3.UpdatePlatformDefaultViewRequest> request) async {
return updatePlatform(call, await request);
}
$async.Future<$3.CreatePlatformDefaultViewResult> createPlatform($grpc.ServiceCall call, $3.CreatePlatformDefaultViewRequest request);
$async.Future<$3.UpdatePlatformDefaultViewResult> updatePlatform($grpc.ServiceCall call, $3.UpdatePlatformDefaultViewRequest request);
}

View File

@@ -0,0 +1,81 @@
//
// Generated code. Do not modify.
// source: viz-default-view.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 updatePlatformDefaultViewRequestDescriptor instead')
const UpdatePlatformDefaultViewRequest$json = {
'1': 'UpdatePlatformDefaultViewRequest',
'2': [
{'1': 'ViewID', '3': 1, '4': 1, '5': 9, '8': {}, '10': 'ViewID'},
{'1': 'Payload', '3': 4, '4': 1, '5': 9, '8': {}, '10': 'Payload'},
{'1': 'IsPrivate', '3': 5, '4': 1, '5': 8, '8': {}, '10': 'IsPrivate'},
],
'7': {},
};
/// Descriptor for `UpdatePlatformDefaultViewRequest`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List updatePlatformDefaultViewRequestDescriptor = $convert.base64Decode(
'CiBVcGRhdGVQbGF0Zm9ybURlZmF1bHRWaWV3UmVxdWVzdBI6CgZWaWV3SUQYASABKAlCIpJBGD'
'IWSWRlbnRpZmllciBvZiB0aGUgVmlld/pCBHICEAFSBlZpZXdJRBI5CgdQYXlsb2FkGAQgASgJ'
'Qh+SQRUyE0NvbnRlbnQgb2YgdGhlIFZpZXf6QgRyAhABUgdQYXlsb2FkEjkKCUlzUHJpdmF0ZR'
'gFIAEoCEIbkkEYMhZWaXNpYmlsaXR5IG9mIHRoZSBWaWV3UglJc1ByaXZhdGU6GJJBFQoT0gEG'
'Vmlld0lE0gEHUGF5bG9hZA==');
@$core.Deprecated('Use createPlatformDefaultViewRequestDescriptor instead')
const CreatePlatformDefaultViewRequest$json = {
'1': 'CreatePlatformDefaultViewRequest',
'2': [
{'1': 'ScreenID', '3': 1, '4': 1, '5': 9, '8': {}, '10': 'ScreenID'},
{'1': 'Payload', '3': 4, '4': 1, '5': 9, '8': {}, '10': 'Payload'},
{'1': 'IsPrivate', '3': 5, '4': 1, '5': 8, '8': {}, '10': 'IsPrivate'},
],
'7': {},
};
/// Descriptor for `CreatePlatformDefaultViewRequest`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List createPlatformDefaultViewRequestDescriptor = $convert.base64Decode(
'CiBDcmVhdGVQbGF0Zm9ybURlZmF1bHRWaWV3UmVxdWVzdBJACghTY3JlZW5JRBgBIAEoCUIkkk'
'EaMhhJZGVudGlmaWVyIG9mIHRoZSBTY3JlZW76QgRyAhABUghTY3JlZW5JRBI5CgdQYXlsb2Fk'
'GAQgASgJQh+SQRUyE0NvbnRlbnQgb2YgdGhlIFZpZXf6QgRyAhABUgdQYXlsb2FkEjkKCUlzUH'
'JpdmF0ZRgFIAEoCEIbkkEYMhZWaXNpYmlsaXR5IG9mIHRoZSBWaWV3UglJc1ByaXZhdGU6GpJB'
'FwoV0gEIU2NyZWVuSUTSAQdQYXlsb2Fk');
@$core.Deprecated('Use createPlatformDefaultViewResultDescriptor instead')
const CreatePlatformDefaultViewResult$json = {
'1': 'CreatePlatformDefaultViewResult',
'2': [
{'1': 'ViewID', '3': 1, '4': 1, '5': 9, '8': {}, '10': 'ViewID'},
],
'7': {},
};
/// Descriptor for `CreatePlatformDefaultViewResult`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List createPlatformDefaultViewResultDescriptor = $convert.base64Decode(
'Ch9DcmVhdGVQbGF0Zm9ybURlZmF1bHRWaWV3UmVzdWx0EjMKBlZpZXdJRBgBIAEoCUIbkkEYMh'
'ZJZGVudGlmaWVyIG9mIHRoZSBWaWV3UgZWaWV3SUQ6HZJBGgoYMhZJRCBvZiB0aGUgY3JlYXRl'
'ZCBWaWV3');
@$core.Deprecated('Use updatePlatformDefaultViewResultDescriptor instead')
const UpdatePlatformDefaultViewResult$json = {
'1': 'UpdatePlatformDefaultViewResult',
'2': [
{'1': 'ViewID', '3': 1, '4': 1, '5': 9, '8': {}, '10': 'ViewID'},
],
};
/// Descriptor for `UpdatePlatformDefaultViewResult`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List updatePlatformDefaultViewResultDescriptor = $convert.base64Decode(
'Ch9VcGRhdGVQbGF0Zm9ybURlZmF1bHRWaWV3UmVzdWx0EjMKBlZpZXdJRBgBIAEoCUIbkkEYMh'
'ZJZGVudGlmaWVyIG9mIHRoZSBWaWV3UgZWaWV3SUQ=');

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