diff --git a/.github/dependabot.yaml b/.github/dependabot.yaml
index ac56e8f7..71019b01 100644
--- a/.github/dependabot.yaml
+++ b/.github/dependabot.yaml
@@ -20,10 +20,6 @@ updates:
directory: "packages/celest_core"
schedule:
interval: "weekly"
- - package-ecosystem: "pub"
- directory: "packages/corks_cedar"
- schedule:
- interval: "weekly"
- package-ecosystem: "pub"
directory: "packages/native/storage"
schedule:
diff --git a/.github/workflows/corks_cedar.yaml b/.github/workflows/corks_cedar.yaml
deleted file mode 100644
index 33f97449..00000000
--- a/.github/workflows/corks_cedar.yaml
+++ /dev/null
@@ -1,38 +0,0 @@
-name: corks_cedar
-on:
- pull_request:
- paths:
- - ".github/workflows/corks_cedar.yaml"
- - "packages/corks_cedar/**"
-
-# Prevent duplicate runs due to Graphite
-# https://graphite.dev/docs/troubleshooting#why-are-my-actions-running-twice
-concurrency:
- group: ${{ github.repository }}-${{ github.workflow }}-${{ github.ref }}-${{ github.ref == 'refs/heads/main' && github.sha || ''}}
- cancel-in-progress: true
-
-jobs:
- test:
- strategy:
- fail-fast: false
- matrix:
- os:
- - ubuntu-latest
- - macos-14
- - windows-latest
- runs-on: ${{ matrix.os }}
- # TODO(dnys1): Speed up Rust builds
- timeout-minutes: 15
- steps:
- - name: Git Checkout
- uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # 4.1.5
- with:
- submodules: true
- - name: Setup Dart
- uses: dart-lang/setup-dart@f0ead981b4d9a35b37f30d36160575d60931ec30 # main
- - name: Get Packages
- working-directory: packages/corks_cedar
- run: dart pub get
- - name: Test
- working-directory: packages/corks_cedar
- run: dart --enable-experiment=native-assets test --fail-fast
diff --git a/README.md b/README.md
index ba2aa1ca..af704b17 100644
--- a/README.md
+++ b/README.md
@@ -137,7 +137,6 @@ You have now set up your Celest project and integrated it into your Flutter app.
| [celest](packages/celest/) | The main package for defining Celest backends. | | [![Celest](https://github.com/celest-dev/celest/actions/workflows/celest.yaml/badge.svg)](https://github.com/celest-dev/celest/actions/workflows/celest.yaml) |
| [celest_auth](packages/celest_auth/) | The authentication and authorization runtimes for Celest. | | [![Celest Auth](https://github.com/celest-dev/celest/actions/workflows/celest_auth.yaml/badge.svg)](https://github.com/celest-dev/celest/actions/workflows/celest_auth.yaml) |
| [celest_core](packages/celest_core/) | Core types and utilities shared between Celest packages. | | [![Celest Core](https://github.com/celest-dev/celest/actions/workflows/celest_core.yaml/badge.svg)](https://github.com/celest-dev/celest/actions/workflows/celest_core.yaml) |
-| [corks_cedar](packages/corks_cedar/) | An embedded authorization token format, based off Google's macaroons. | | [![Corks](https://github.com/celest-dev/celest/actions/workflows/corks_cedar.yaml/badge.svg)](https://github.com/celest-dev/celest/actions/workflows/corks_cedar.yaml) |
| [native_storage](packages/native/storage/) | A Dart-only package for accessing platform-native storage functionality. | | [![Native Storage](https://github.com/celest-dev/celest/actions/workflows/native_storage.yaml/badge.svg)](https://github.com/celest-dev/celest/actions/workflows/native_storage.yaml) |
## License
diff --git a/examples/gemini/celest/pubspec.yaml b/examples/gemini/celest/pubspec.yaml
index cf04557d..89897b19 100644
--- a/examples/gemini/celest/pubspec.yaml
+++ b/examples/gemini/celest/pubspec.yaml
@@ -17,8 +17,6 @@ dependency_overrides:
path: ../../../packages/celest_auth
celest_core:
path: ../../../packages/celest_core
- corks_cedar:
- path: ../../../packages/corks_cedar
native_storage:
path: ../../../packages/native/storage
diff --git a/examples/gemini/pubspec.yaml b/examples/gemini/pubspec.yaml
index 3b60d96f..162ce87d 100644
--- a/examples/gemini/pubspec.yaml
+++ b/examples/gemini/pubspec.yaml
@@ -20,8 +20,6 @@ dependency_overrides:
path: ../../packages/celest_auth
celest_core:
path: ../../packages/celest_core
- corks_cedar:
- path: ../../packages/corks_cedar
native_storage:
path: ../../packages/native/storage
diff --git a/examples/openai/celest/pubspec.yaml b/examples/openai/celest/pubspec.yaml
index bd4307d7..4f70cff1 100644
--- a/examples/openai/celest/pubspec.yaml
+++ b/examples/openai/celest/pubspec.yaml
@@ -17,8 +17,6 @@ dependency_overrides:
path: ../../../packages/celest_auth
celest_core:
path: ../../../packages/celest_core
- corks_cedar:
- path: ../../../packages/corks_cedar
native_storage:
path: ../../../packages/native/storage
diff --git a/examples/openai/pubspec.yaml b/examples/openai/pubspec.yaml
index f647b83d..414c2102 100644
--- a/examples/openai/pubspec.yaml
+++ b/examples/openai/pubspec.yaml
@@ -21,8 +21,6 @@ dependency_overrides:
path: ../../packages/celest_auth
celest_core:
path: ../../packages/celest_core
- corks_cedar:
- path: ../../packages/corks_cedar
native_storage:
path: ../../packages/native/storage
diff --git a/examples/todo/celest/pubspec.yaml b/examples/todo/celest/pubspec.yaml
index aeef06df..508eab4d 100644
--- a/examples/todo/celest/pubspec.yaml
+++ b/examples/todo/celest/pubspec.yaml
@@ -17,8 +17,6 @@ dependency_overrides:
path: ../../../packages/celest_auth
celest_core:
path: ../../../packages/celest_core
- corks_cedar:
- path: ../../../packages/corks_cedar
native_storage:
path: ../../../packages/native/storage
diff --git a/examples/todo/pubspec.yaml b/examples/todo/pubspec.yaml
index a0e1c743..ff71d964 100644
--- a/examples/todo/pubspec.yaml
+++ b/examples/todo/pubspec.yaml
@@ -20,8 +20,6 @@ dependency_overrides:
path: ../../packages/celest_auth
celest_core:
path: ../../packages/celest_core
- corks_cedar:
- path: ../../packages/corks_cedar
native_storage:
path: ../../packages/native/storage
diff --git a/packages/celest/example/celest/pubspec.yaml b/packages/celest/example/celest/pubspec.yaml
index 73b01102..37ad67ab 100644
--- a/packages/celest/example/celest/pubspec.yaml
+++ b/packages/celest/example/celest/pubspec.yaml
@@ -17,8 +17,6 @@ dependency_overrides:
path: ../../../celest_auth
celest_core:
path: ../../../celest_core
- corks_cedar:
- path: ../../../corks_cedar
native_storage:
path: ../../../native/storage
diff --git a/packages/celest/example/pubspec.yaml b/packages/celest/example/pubspec.yaml
index 78f5dcb6..66936c06 100644
--- a/packages/celest/example/pubspec.yaml
+++ b/packages/celest/example/pubspec.yaml
@@ -19,8 +19,6 @@ dependency_overrides:
path: ../../celest_auth
celest_core:
path: ../../celest_core
- corks_cedar:
- path: ../../corks_cedar
native_storage:
path: ../../native/storage
diff --git a/packages/celest_auth/example/celest/pubspec.yaml b/packages/celest_auth/example/celest/pubspec.yaml
index d1699128..d08a79ce 100644
--- a/packages/celest_auth/example/celest/pubspec.yaml
+++ b/packages/celest_auth/example/celest/pubspec.yaml
@@ -17,8 +17,6 @@ dependency_overrides:
path: ../../
celest_core:
path: ../../../celest_core
- corks_cedar:
- path: ../../../corks_cedar
native_storage:
path: ../../../native/storage
diff --git a/packages/celest_auth/example/pubspec.yaml b/packages/celest_auth/example/pubspec.yaml
index 7d483086..f6a27381 100644
--- a/packages/celest_auth/example/pubspec.yaml
+++ b/packages/celest_auth/example/pubspec.yaml
@@ -20,8 +20,6 @@ dependency_overrides:
path: ../
celest_core:
path: ../../celest_core
- corks_cedar:
- path: ../../corks_cedar
native_storage:
path: ../../native/storage
diff --git a/packages/corks_cedar/.gitignore b/packages/corks_cedar/.gitignore
deleted file mode 100644
index 3cceda55..00000000
--- a/packages/corks_cedar/.gitignore
+++ /dev/null
@@ -1,7 +0,0 @@
-# https://dart.dev/guides/libraries/private-files
-# Created by `dart pub`
-.dart_tool/
-
-# Avoid committing pubspec.lock for library packages; see
-# https://dart.dev/guides/libraries/private-files#pubspeclock.
-pubspec.lock
diff --git a/packages/corks_cedar/CHANGELOG.md b/packages/corks_cedar/CHANGELOG.md
deleted file mode 100644
index bfabdb40..00000000
--- a/packages/corks_cedar/CHANGELOG.md
+++ /dev/null
@@ -1,7 +0,0 @@
-## 0.1.1
-
-- Add template-linked policies
-
-## 0.1.0
-
-- Initial version.
diff --git a/packages/corks_cedar/LICENSE b/packages/corks_cedar/LICENSE
deleted file mode 100644
index d8101f5c..00000000
--- a/packages/corks_cedar/LICENSE
+++ /dev/null
@@ -1,46 +0,0 @@
-Copyright (c) 2024 Teo, Inc. (Celest)
-
-Redistribution and use in source and binary forms, with or without modification,
-are permitted provided that the following conditions are met:
-
-1. Redistributions of source code must retain the above copyright notice, this
-list of conditions and the following disclaimer.
-
-2. Redistributions in binary form must reproduce the above copyright notice,
-this list of conditions and the following disclaimer in the documentation and/or
-other materials provided with the distribution.
-
-Subject to the terms and conditions of this license, each copyright holder and
-contributor hereby grants to those receiving rights under this license a
-perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable
-(except for failure to satisfy the conditions of this license) patent license to
-make, have made, use, offer to sell, sell, import, and otherwise transfer this
-software, where such license applies only to those patent claims, already
-acquired or hereafter acquired, licensable by such copyright holder or
-contributor that are necessarily infringed by:
-
-(a) their Contribution(s) (the licensed copyrights of copyright holders and
-non-copyrightable additions of contributors, in source or binary form) alone; or
-
-(b) combination of their Contribution(s) with the work of authorship to which
-such Contribution(s) was added by such copyright holder or contributor, if, at
-the time the Contribution is added, such addition causes such combination to be
-necessarily infringed. The patent license shall not apply to any other
-combinations which include the Contribution.
-
-Except as expressly stated above, no rights or licenses from any copyright
-holder or contributor is granted under this license, whether expressly, by
-implication, estoppel or otherwise.
-
-DISCLAIMER
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS” AND
-ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE
-FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
-SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
-CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
-TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
-THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
\ No newline at end of file
diff --git a/packages/corks_cedar/README.md b/packages/corks_cedar/README.md
deleted file mode 100644
index 9aa334dd..00000000
--- a/packages/corks_cedar/README.md
+++ /dev/null
@@ -1,13 +0,0 @@
-# Corks
-
-Corks are authorization tokens which are based off Google's [Macaroons](https://research.google/pubs/macaroons-cookies-with-contextual-caveats-for-decentralized-authorization-in-the-cloud/) paper. They are bearer tokens which identify the entity possessing them, while providing a mechanism for embedding further restrictions via [Cedar](https://www.cedarpolicy.com/en) policy caveats.
-
-## Development
-
-Corks use Protobuf for serialization and deserialization of bearers and caveats. The proto definitions are located in the [proto](./proto) directory and the [Buf](https://buf.build) toolchain is used to generate Dart code from the Protobuf files.
-
-To generate the Dart code, install Buf then run the following command from the `proto/` directory:
-
-```sh
-$ buf generate
-```
diff --git a/packages/corks_cedar/analysis_options.yaml b/packages/corks_cedar/analysis_options.yaml
deleted file mode 100644
index 8ea0c328..00000000
--- a/packages/corks_cedar/analysis_options.yaml
+++ /dev/null
@@ -1,12 +0,0 @@
-include: package:lints/recommended.yaml
-
-analyzer:
- exclude:
- - "**/*.g.dart"
- - "**/*.pb.dart"
- - "**/*.pbenum.dart"
- - "**/*.pbjson.dart"
- - "**/*.pbserver.dart"
- errors:
- implementation_imports: ignore
- public_member_api_docs: ignore
diff --git a/packages/corks_cedar/lib/corks_cedar.dart b/packages/corks_cedar/lib/corks_cedar.dart
deleted file mode 100644
index 547cbd02..00000000
--- a/packages/corks_cedar/lib/corks_cedar.dart
+++ /dev/null
@@ -1,9 +0,0 @@
-/// Corks are authorization tokens which are based off Google's
-/// [Macaroons](https://research.google/pubs/macaroons-cookies-with-contextual-caveats-for-decentralized-authorization-in-the-cloud/)
-/// paper. They are bearer tokens which identify the entity possessing them,
-/// while providing a mechanism for embedding further restrictions via
-/// [Cedar](https://www.cedarpolicy.com/en) policy caveats.
-library;
-
-export 'src/cork.dart';
-export 'src/signer.dart';
diff --git a/packages/corks_cedar/lib/corks_proto.dart b/packages/corks_cedar/lib/corks_proto.dart
deleted file mode 100644
index 732b6ab8..00000000
--- a/packages/corks_cedar/lib/corks_proto.dart
+++ /dev/null
@@ -1,28 +0,0 @@
-export 'src/proto/cedar/v3/context.pb.dart';
-export 'src/proto/cedar/v3/context.pbenum.dart';
-export 'src/proto/cedar/v3/context.pbjson.dart';
-export 'src/proto/cedar/v3/context.pbserver.dart';
-export 'src/proto/cedar/v3/entity.pb.dart';
-export 'src/proto/cedar/v3/entity.pbenum.dart';
-export 'src/proto/cedar/v3/entity.pbjson.dart';
-export 'src/proto/cedar/v3/entity.pbserver.dart';
-export 'src/proto/cedar/v3/entity_id.pb.dart';
-export 'src/proto/cedar/v3/entity_id.pbenum.dart';
-export 'src/proto/cedar/v3/entity_id.pbjson.dart';
-export 'src/proto/cedar/v3/entity_id.pbserver.dart';
-export 'src/proto/cedar/v3/expr.pb.dart';
-export 'src/proto/cedar/v3/expr.pbenum.dart';
-export 'src/proto/cedar/v3/expr.pbjson.dart';
-export 'src/proto/cedar/v3/expr.pbserver.dart';
-export 'src/proto/cedar/v3/policy.pb.dart';
-export 'src/proto/cedar/v3/policy.pbenum.dart';
-export 'src/proto/cedar/v3/policy.pbjson.dart';
-export 'src/proto/cedar/v3/policy.pbserver.dart';
-export 'src/proto/cedar/v3/value.pb.dart';
-export 'src/proto/cedar/v3/value.pbenum.dart';
-export 'src/proto/cedar/v3/value.pbjson.dart';
-export 'src/proto/cedar/v3/value.pbserver.dart';
-export 'src/proto/corks/v1/cork.pb.dart';
-export 'src/proto/corks/v1/cork.pbenum.dart';
-export 'src/proto/corks/v1/cork.pbjson.dart';
-export 'src/proto/corks/v1/cork.pbserver.dart';
diff --git a/packages/corks_cedar/lib/src/cork.dart b/packages/corks_cedar/lib/src/cork.dart
deleted file mode 100644
index de2969b3..00000000
--- a/packages/corks_cedar/lib/src/cork.dart
+++ /dev/null
@@ -1,228 +0,0 @@
-import 'dart:async';
-import 'dart:collection';
-import 'dart:convert';
-import 'dart:math';
-import 'dart:typed_data';
-
-import 'package:cedar/cedar.dart' as cedar;
-import 'package:corks_cedar/corks_proto.dart' as proto;
-import 'package:corks_cedar/src/interop/proto_interop.dart';
-import 'package:corks_cedar/src/proto/google/protobuf/any.pb.dart' as proto;
-import 'package:corks_cedar/src/signer.dart';
-import 'package:crypto/crypto.dart';
-import 'package:meta/meta.dart';
-
-@immutable
-final class Cork {
- const Cork._({
- required this.id,
- required this.keyId,
- this.bearer,
- required List caveats,
- required this.signature,
- }) : _caveats = caveats;
-
- factory Cork.parse(String base64) => Cork.decode(base64Url.decode(base64));
-
- factory Cork.decode(Uint8List bytes) {
- final message = proto.Cork.fromBuffer(bytes);
- return Cork.fromProto(message);
- }
-
- factory Cork.fromProto(proto.Cork proto) => Cork._(
- id: Uint8List.fromList(proto.id),
- keyId: Uint8List.fromList(proto.keyId),
- bearer: proto.hasBearer() ? SignedBearer.fromProto(proto.bearer) : null,
- caveats: [
- for (final caveat in proto.caveats) SignedCaveat.fromProto(caveat),
- ],
- signature: Uint8List.fromList(proto.signature),
- );
-
- static CorkBuilder builder({
- Uint8List? id,
- Bearer? bearer,
- }) =>
- CorkBuilder(
- id: id,
- bearer: bearer,
- );
-
- final Uint8List id;
- final Uint8List keyId;
- final SignedBearer? bearer;
- final List _caveats;
- List get caveats => UnmodifiableListView(_caveats);
- final Uint8List signature;
-
- proto.Cork toProto() => proto.Cork(
- id: id,
- keyId: keyId,
- bearer: bearer?.toProto(),
- caveats: _caveats.map((caveat) => caveat.toProto()),
- signature: signature,
- );
-
- Uint8List encode() => toProto().writeToBuffer();
-
- Future verify(Signer signer) async {
- if (Digest(signer.keyId) != Digest(keyId)) {
- return false;
- }
- await signer.sign(id);
- if (bearer != null) {
- // TODO(dnys1): https://github.com/dart-lang/sdk/issues/54664
- if (!await bearer!.verify(signer)) {
- return false;
- }
- }
- for (final caveat in _caveats) {
- if (!await caveat.verify(signer)) {
- return false;
- }
- }
- return Digest(await signer.close()) == Digest(signature);
- }
-
- @override
- String toString() => base64Url.encode(encode());
-}
-
-final class CorkBuilder {
- factory CorkBuilder({
- Uint8List? id,
- Bearer? bearer,
- }) {
- if (id == null) {
- const nonceSize = 32;
- id = Uint8List(nonceSize);
- for (var i = 0; i < nonceSize; i++) {
- id[i] = _secureRandom.nextInt(256);
- }
- }
- return CorkBuilder._(id, bearer);
- }
-
- CorkBuilder._(
- this._id,
- this._bearer,
- );
-
- static final _secureRandom = Random.secure();
-
- final Uint8List _id;
- final Bearer? _bearer;
- final List _caveats = [];
-
- void addPolicyCaveat(cedar.CedarPolicy policy) {
- if (policy.effect != cedar.CedarPolicyEffect.forbid) {
- throw ArgumentError('Policy must have effect "forbid"');
- }
- _caveats.add(Caveat.policy(policy: policy));
- }
-
- Future build(Signer signer) async {
- await signer.sign(_id);
-
- SignedBearer? signedBearer;
- if (_bearer case final bearer?) {
- signedBearer = SignedBearer(await bearer.sign(signer));
- }
- final signedCaveats = [];
- for (final caveat in _caveats) {
- signedCaveats.add(SignedCaveat(await caveat.sign(signer)));
- }
- return Cork._(
- id: _id,
- keyId: signer.keyId,
- bearer: signedBearer,
- caveats: signedCaveats,
- signature: await signer.close(),
- );
- }
-}
-
-@immutable
-sealed class Bearer with Signable {
- const Bearer();
-
- factory Bearer.entity({
- required cedar.CedarEntity entity,
- }) =>
- EntityBearer(entity: entity);
-
- factory Bearer.entityId({
- required cedar.CedarEntityId entityId,
- }) =>
- EntityBearer(entity: cedar.CedarEntity(id: entityId));
-}
-
-final class EntityBearer extends Bearer {
- const EntityBearer({
- required this.entity,
- });
-
- final cedar.CedarEntity entity;
-
- @override
- proto.Entity toProto() => entity.toProto();
-}
-
-extension type SignedBearer(SignedBlock _block) implements SignedBlock {
- SignedBearer.fromProto(proto.SignedBlock proto)
- : _block = SignedBlock.fromProto(proto);
-
- Bearer get bearer {
- final any = proto.Any(
- typeUrl: typeUrl,
- value: block,
- );
- final entity = proto.Entity();
- if (!any.canUnpackInto(entity)) {
- throw ArgumentError('Invalid bearer type: $typeUrl');
- }
- any.unpackInto(entity);
- return Bearer.entity(
- entity: entity.fromProto(),
- );
- }
-}
-
-@immutable
-sealed class Caveat with Signable {
- const Caveat();
-
- factory Caveat.policy({
- required cedar.CedarPolicy policy,
- }) =>
- PolicyCaveat(policy: policy);
-}
-
-final class PolicyCaveat extends Caveat {
- const PolicyCaveat({
- required this.policy,
- });
-
- final cedar.CedarPolicy policy;
-
- @override
- proto.Policy toProto() => policy.toProto();
-}
-
-extension type SignedCaveat(SignedBlock _block) implements SignedBlock {
- SignedCaveat.fromProto(proto.SignedBlock proto)
- : _block = SignedBlock.fromProto(proto);
-
- Caveat get caveat {
- final any = proto.Any(
- typeUrl: typeUrl,
- value: block,
- );
- final policy = proto.Policy();
- if (!any.canUnpackInto(policy)) {
- throw ArgumentError('Invalid caveat type: $typeUrl');
- }
- any.unpackInto(policy);
- return PolicyCaveat(policy: policy.fromProto());
- }
-}
diff --git a/packages/corks_cedar/lib/src/interop/proto_interop.dart b/packages/corks_cedar/lib/src/interop/proto_interop.dart
deleted file mode 100644
index 4beac575..00000000
--- a/packages/corks_cedar/lib/src/interop/proto_interop.dart
+++ /dev/null
@@ -1,588 +0,0 @@
-@internal
-library;
-
-import 'dart:typed_data';
-
-import 'package:cedar/cedar.dart' as cedar;
-import 'package:corks_cedar/src/proto/cedar/v3/entity.pb.dart';
-import 'package:corks_cedar/src/proto/cedar/v3/entity_id.pb.dart';
-import 'package:corks_cedar/src/proto/cedar/v3/expr.pb.dart';
-import 'package:corks_cedar/src/proto/cedar/v3/policy.pb.dart';
-import 'package:corks_cedar/src/proto/cedar/v3/value.pb.dart';
-import 'package:fixnum/fixnum.dart';
-import 'package:meta/meta.dart';
-
-extension type CedarPolicy._(cedar.CedarPolicy _policy)
- implements cedar.CedarPolicy {
- factory CedarPolicy.fromProto(Policy policy) =>
- CedarPolicy._(policy.fromProto());
-
- factory CedarPolicy.fromJson(Map json) =>
- CedarPolicy._(cedar.CedarPolicy.fromJson(json));
-
- factory CedarPolicy.fromProtoBuffer(Uint8List buffer) =>
- CedarPolicy._(Policy.fromBuffer(buffer).fromProto());
-
- factory CedarPolicy.fromProtoJson(Map json) =>
- CedarPolicy._((Policy.create()..mergeFromProto3Json(json)).fromProto());
-
- Policy toProto() => _policy.toProto();
-
- Map toProtoJson() =>
- toProto().toProto3Json() as Map;
-
- Uint8List toProtoBuffer() => toProto().writeToBuffer();
-}
-
-extension PolicyOpFromProto on PolicyOp {
- cedar.CedarPolicyOp fromProto() => switch (this) {
- PolicyOp.POLICY_OP_ALL => cedar.CedarPolicyOp.all,
- PolicyOp.POLICY_OP_EQUALS => cedar.CedarPolicyOp.equals,
- PolicyOp.POLICY_OP_IN => cedar.CedarPolicyOp.in$,
- PolicyOp.POLICY_OP_IS => cedar.CedarPolicyOp.is$,
- PolicyOp.POLICY_OP_UNSPECIFIED => throw ArgumentError(
- 'PolicyOp.POLICY_OP_UNSPECIFIED is not a valid PolicyOp',
- ),
- _ => throw UnimplementedError(),
- };
-}
-
-extension PolicyOpToProto on cedar.CedarPolicyOp {
- PolicyOp toProto() => switch (this) {
- cedar.CedarPolicyOp.all => PolicyOp.POLICY_OP_ALL,
- cedar.CedarPolicyOp.equals => PolicyOp.POLICY_OP_EQUALS,
- cedar.CedarPolicyOp.in$ => PolicyOp.POLICY_OP_IN,
- cedar.CedarPolicyOp.is$ => PolicyOp.POLICY_OP_IS,
- _ => throw UnimplementedError(),
- };
-}
-
-extension PolicyEffectFromProto on PolicyEffect {
- cedar.CedarPolicyEffect fromProto() => switch (this) {
- PolicyEffect.POLICY_EFFECT_FORBID => cedar.CedarPolicyEffect.forbid,
- PolicyEffect.POLICY_EFFECT_PERMIT => cedar.CedarPolicyEffect.permit,
- PolicyEffect.POLICY_EFFECT_UNSPECIFIED => throw ArgumentError(
- 'PolicyEffect.POLICY_EFFECT_UNSPECIFIED is not a valid PolicyEffect',
- ),
- _ => throw UnimplementedError(),
- };
-}
-
-extension PolicyEffectToProto on cedar.CedarPolicyEffect {
- PolicyEffect toProto() => switch (this) {
- cedar.CedarPolicyEffect.forbid => PolicyEffect.POLICY_EFFECT_FORBID,
- cedar.CedarPolicyEffect.permit => PolicyEffect.POLICY_EFFECT_PERMIT,
- _ => throw UnimplementedError(),
- };
-}
-
-extension PolicyConditionKindFromProto on PolicyConditionKind {
- cedar.CedarPolicyConditionKind fromProto() => switch (this) {
- PolicyConditionKind.POLICY_CONDITION_KIND_WHEN =>
- cedar.CedarPolicyConditionKind.when,
- PolicyConditionKind.POLICY_CONDITION_KIND_UNLESS =>
- cedar.CedarPolicyConditionKind.unless,
- PolicyConditionKind.POLICY_CONDITION_KIND_UNSPECIFIED =>
- throw ArgumentError(
- 'PolicyConditionKind.POLICY_CONDITION_KIND_UNSPECIFIED is not a valid PolicyConditionKind',
- ),
- _ => throw UnimplementedError(),
- };
-}
-
-extension PolicyConditionKindToProto on cedar.CedarPolicyConditionKind {
- PolicyConditionKind toProto() => switch (this) {
- cedar.CedarPolicyConditionKind.when =>
- PolicyConditionKind.POLICY_CONDITION_KIND_WHEN,
- cedar.CedarPolicyConditionKind.unless =>
- PolicyConditionKind.POLICY_CONDITION_KIND_UNLESS,
- _ => throw UnimplementedError(),
- };
-}
-
-extension PolicyFromProto on Policy {
- cedar.CedarPolicy fromProto() => cedar.CedarPolicy(
- effect: effect.fromProto(),
- principal: cedar.CedarPolicyPrincipal(
- op: principal.op.fromProto(),
- entity: principal.hasEntity() ? principal.entity.fromProto() : null,
- entityType: principal.hasEntityType() ? principal.entityType : null,
- ),
- action: cedar.CedarPolicyAction(
- op: action.op.fromProto(),
- entity: action.hasEntity() ? action.entity.fromProto() : null,
- entities: action.hasEntity()
- ? null
- : [
- for (final entity in action.entities) entity.fromProto(),
- ],
- ),
- resource: cedar.CedarPolicyResource(
- op: resource.op.fromProto(),
- entity: resource.hasEntity() ? resource.entity.fromProto() : null,
- entityType: resource.hasEntityType() ? resource.entityType : null,
- ),
- conditions: [
- for (final condition in conditions) condition.fromProto(),
- ],
- annotations: annotations.isNotEmpty ? annotations : null,
- );
-}
-
-extension PolicyToProto on cedar.CedarPolicy {
- Policy toProto() => Policy(
- effect: effect.toProto(),
- principal: PolicyPrincipal(
- op: principal.op.toProto(),
- entity: principal.entity?.toProto(),
- entityType: principal.entityType,
- ),
- action: PolicyAction(
- op: action.op.toProto(),
- entity: action.entity?.toProto(),
- entities: action.entities == null
- ? null
- : [for (final entity in action.entities!) entity.toProto()],
- ),
- resource: PolicyResource(
- op: resource.op.toProto(),
- entity: resource.entity?.toProto(),
- entityType: resource.entityType,
- ),
- conditions: [
- for (final condition in conditions) condition.toProto(),
- ],
- annotations: annotations?.toMap(),
- );
-}
-
-extension PolicyConditionFromProto on PolicyCondition {
- cedar.CedarPolicyCondition fromProto() => cedar.CedarPolicyCondition(
- kind: kind.fromProto(),
- body: body.fromProto(),
- );
-}
-
-extension PolicyConditionToProto on cedar.CedarPolicyCondition {
- PolicyCondition toProto() => PolicyCondition(
- kind: kind.toProto(),
- body: body.toProto(),
- );
-}
-
-extension EntityIdFromProto on EntityId {
- cedar.CedarEntityId fromProto() => cedar.CedarEntityId(type, id);
-}
-
-extension EntityIdToProto on cedar.CedarEntityId {
- EntityId toProto() => EntityId(type: type, id: id);
-}
-
-extension EntityFromProto on Entity {
- cedar.CedarEntity fromProto() => cedar.CedarEntity(
- id: uid.fromProto(),
- parents: [for (final parent in parents) parent.fromProto()],
- attributes: attributes.map((k, v) => MapEntry(k, v.fromProto())),
- );
-}
-
-extension EntityToProto on cedar.CedarEntity {
- Entity toProto() => Entity(
- uid: id.toProto(),
- parents: [for (final parent in parents) parent.toProto()],
- attributes: attributes.asMap().map((k, v) => MapEntry(k, v.toProto())),
- );
-}
-
-extension type CedarExpr._(cedar.JsonExpr _expr) implements cedar.JsonExpr {
- factory CedarExpr.fromProtoJson(Map json) {
- final message = Expr.create()..mergeFromProto3Json(json);
- return CedarExpr._(message.fromProto());
- }
-
- factory CedarExpr.fromProtoBuffer(Uint8List buffer) {
- final message = Expr.fromBuffer(buffer);
- return CedarExpr._(message.fromProto());
- }
-
- factory CedarExpr.fromJson(Map json) =>
- CedarExpr._(cedar.JsonExpr.fromJson(json));
-
- Expr toProto() => _expr.toProto();
-
- Map toProtoJson() =>
- toProto().toProto3Json() as Map;
-
- Uint8List toProtoBuffer() => toProto().writeToBuffer();
-}
-
-extension ValueFromProto on Value {
- cedar.CedarValueJson fromProto() => switch (whichValue()) {
- Value_Value.bool_3 => cedar.CedarValueJson.bool(bool_3),
- Value_Value.entity =>
- cedar.CedarValueJson.entity(entity.uid.fromProto()),
- Value_Value.extension_6 => cedar.CedarValueJson.extension(
- cedar.CedarExtensionInvocation(
- fn: extension_6.fn,
- arg: extension_6.arg.fromProto(),
- ),
- ),
- Value_Value.long => cedar.CedarValueJson.long(long.toInt()),
- Value_Value.record => cedar.CedarValueJson.record(
- record.values.map((key, value) => MapEntry(key, value.fromProto())),
- ),
- Value_Value.set => cedar.CedarValueJson.set([
- for (final value in set.values) value.fromProto(),
- ]),
- Value_Value.string => cedar.CedarValueJson.string(string),
- Value_Value.notSet => throw ArgumentError.value(
- whichValue(),
- 'value',
- 'An unset value is not allowed',
- ),
- };
-}
-
-extension ValueToProto on cedar.CedarValueJson {
- Value toProto() => switch (this) {
- cedar.CedarValueBool(:final value) => Value(bool_3: value),
- cedar.CedarValueEntity(:final entityId) =>
- Value(entity: EntityValue(uid: entityId.toProto())),
- cedar.CedarValueExtension(:final extension) => Value(
- extension_6: ExtensionValue(
- fn: extension.fn,
- arg: extension.arg.toProto(),
- ),
- ),
- cedar.CedarValueLong(:final value) => Value(long: Int64(value)),
- cedar.CedarValueRecord(:final attributes) => Value(
- record: RecordValue(
- values: attributes
- .map((key, value) => MapEntry(key, value.toProto())),
- ),
- ),
- cedar.CedarValueSet(:final elements) => Value(
- set: SetValue(
- values: [for (final value in elements) value.toProto()],
- ),
- ),
- cedar.CedarValueString(:final value) => Value(string: value),
- };
-}
-
-extension ExprFromProto on Expr {
- cedar.JsonExpr fromProto() => switch (whichExpr()) {
- Expr_Expr.and => cedar.JsonExpr.and(
- and.left.fromProto(),
- and.right.fromProto(),
- ),
- Expr_Expr.contains => cedar.JsonExpr.contains(
- contains.left.fromProto(),
- contains.right.fromProto(),
- ),
- Expr_Expr.containsAll => cedar.JsonExpr.containsAll(
- containsAll.left.fromProto(),
- containsAll.right.fromProto(),
- ),
- Expr_Expr.containsAny => cedar.JsonExpr.containsAny(
- containsAny.left.fromProto(),
- containsAny.right.fromProto(),
- ),
- Expr_Expr.equals => cedar.JsonExpr.equals(
- equals.left.fromProto(),
- equals.right.fromProto(),
- ),
- Expr_Expr.funcCall => cedar.JsonExpr.funcCall(
- cedar.JsonExprOpFunc(funcCall.fn),
- [for (final arg in funcCall.args) arg.fromProto()],
- ),
- Expr_Expr.getAttribute => cedar.JsonExpr.getAttribute(
- getAttribute.left.fromProto(),
- getAttribute.attr,
- ),
- Expr_Expr.greaterThan => cedar.JsonExpr.greaterThan(
- greaterThan.left.fromProto(),
- greaterThan.right.fromProto(),
- ),
- Expr_Expr.greaterThanOrEquals => cedar.JsonExpr.greaterThanOrEquals(
- greaterThanOrEquals.left.fromProto(),
- greaterThanOrEquals.right.fromProto(),
- ),
- Expr_Expr.hasAttribute => cedar.JsonExpr.hasAttribute(
- hasAttribute.left.fromProto(),
- hasAttribute.attr,
- ),
- Expr_Expr.ifThenElse => cedar.JsonExpr.ifThenElse(
- cond: ifThenElse.if_.fromProto(),
- then: ifThenElse.then.fromProto(),
- else$: ifThenElse.else_.fromProto(),
- ),
- Expr_Expr.in_ => cedar.JsonExpr.in$(
- in_.left.fromProto(),
- in_.right.fromProto(),
- ),
- Expr_Expr.is_ => cedar.JsonExpr.is$(
- is_.left.fromProto(),
- is_.entityType,
- is_.hasIn_() ? is_.in_.fromProto() : null,
- ),
- Expr_Expr.lessThan => cedar.JsonExpr.lessThan(
- lessThan.left.fromProto(),
- lessThan.right.fromProto(),
- ),
- Expr_Expr.lessThanOrEquals => cedar.JsonExpr.lessThanOrEquals(
- lessThanOrEquals.left.fromProto(),
- lessThanOrEquals.right.fromProto(),
- ),
- Expr_Expr.like => cedar.JsonExpr.like(
- like.left.fromProto(),
- like.pattern,
- ),
- Expr_Expr.minus => cedar.JsonExpr.minus(
- minus.left.fromProto(),
- minus.right.fromProto(),
- ),
- Expr_Expr.neg => cedar.JsonExpr.neg(neg.expr.fromProto()),
- Expr_Expr.not => cedar.JsonExpr.not(not.expr.fromProto()),
- Expr_Expr.notEquals => cedar.JsonExpr.notEquals(
- notEquals.left.fromProto(),
- notEquals.right.fromProto(),
- ),
- Expr_Expr.or => cedar.JsonExpr.or(
- or.left.fromProto(),
- or.right.fromProto(),
- ),
- Expr_Expr.plus => cedar.JsonExpr.plus(
- plus.left.fromProto(),
- plus.right.fromProto(),
- ),
- Expr_Expr.record => cedar.JsonExpr.record(
- record.attributes
- .map((key, value) => MapEntry(key, value.fromProto())),
- ),
- Expr_Expr.set => cedar.JsonExpr.set([
- for (final value in set.expressions) value.fromProto(),
- ]),
- Expr_Expr.slot => cedar.JsonExpr.slot(
- switch (slot.slotId) {
- SlotId.SLOT_ID_PRINCIPAL => cedar.CedarSlotId.principal,
- SlotId.SLOT_ID_RESOURCE => cedar.CedarSlotId.resource,
- SlotId.SLOT_ID_UNSPECIFIED => throw ArgumentError.value(
- slot.slotId,
- 'slot',
- 'SlotId.SLOT_ID_UNSPECIFIED is not allowed',
- ),
- _ => throw UnimplementedError(),
- },
- ),
- Expr_Expr.times => cedar.JsonExpr.times(
- times.left.fromProto(),
- times.right.fromProto(),
- ),
- Expr_Expr.unknown => cedar.JsonExpr.unknown(unknown.name),
- Expr_Expr.value => cedar.JsonExpr.value(value.value.fromProto()),
- Expr_Expr.var_ => cedar.JsonExpr.variable(
- switch (var_.variable) {
- Variable.VARIABLE_ACTION => cedar.CedarVariable.action,
- Variable.VARIABLE_CONTEXT => cedar.CedarVariable.context,
- Variable.VARIABLE_PRINCIPAL => cedar.CedarVariable.principal,
- Variable.VARIABLE_RESOURCE => cedar.CedarVariable.resource,
- Variable.VARIABLE_UNSPECIFIED => throw ArgumentError.value(
- var_.variable,
- 'var_2',
- 'Variable.VARIABLE_UNSPECIFIED is not allowed',
- ),
- _ => throw UnimplementedError(),
- },
- ),
- Expr_Expr.notSet => throw ArgumentError.value(
- whichExpr(),
- 'expr',
- 'An unset expression is not allowed',
- ),
- };
-}
-
-extension ExprToProto on cedar.JsonExpr {
- Expr toProto() => switch (this) {
- cedar.JsonExprAnd(:final left, :final right) => Expr(
- and: ExprAnd(
- left: left.toProto(),
- right: right.toProto(),
- ),
- ),
- cedar.JsonExprContains(:final left, :final right) => Expr(
- contains: ExprContains(
- left: left.toProto(),
- right: right.toProto(),
- ),
- ),
- cedar.JsonExprContainsAll(:final left, :final right) => Expr(
- containsAll: ExprContainsAll(
- left: left.toProto(),
- right: right.toProto(),
- ),
- ),
- cedar.JsonExprContainsAny(:final left, :final right) => Expr(
- containsAny: ExprContainsAny(
- left: left.toProto(),
- right: right.toProto(),
- ),
- ),
- cedar.JsonExprEquals(:final left, :final right) => Expr(
- equals: ExprEquals(
- left: left.toProto(),
- right: right.toProto(),
- ),
- ),
- cedar.JsonExprFuncCall(:final fn, :final args) => Expr(
- funcCall: ExprFuncCall(
- fn: fn.name,
- args: [for (final arg in args) arg.toProto()],
- ),
- ),
- cedar.JsonExprGetAttribute(:final left, :final attr) => Expr(
- getAttribute: ExprGetAttribute(
- left: left.toProto(),
- attr: attr,
- ),
- ),
- cedar.JsonExprGreaterThan(:final left, :final right) => Expr(
- greaterThan: ExprGreaterThan(
- left: left.toProto(),
- right: right.toProto(),
- ),
- ),
- cedar.JsonExprGreaterThanOrEquals(:final left, :final right) => Expr(
- greaterThanOrEquals: ExprGreaterThanOrEquals(
- left: left.toProto(),
- right: right.toProto(),
- ),
- ),
- cedar.JsonExprHasAttribute(:final left, :final attr) => Expr(
- hasAttribute: ExprHasAttribute(
- left: left.toProto(),
- attr: attr,
- ),
- ),
- cedar.JsonExprIfThenElse(:final cond, :final then, :final else$) =>
- Expr(
- ifThenElse: ExprIfThenElse(
- if_: cond.toProto(),
- then: then.toProto(),
- else_: else$.toProto(),
- ),
- ),
- cedar.JsonExprIn(:final left, :final right) => Expr(
- in_: ExprIn(
- left: left.toProto(),
- right: right.toProto(),
- ),
- ),
- cedar.JsonExprIs(:final left, :final entityType, :final inExpr) => Expr(
- is_: ExprIs(
- left: left.toProto(),
- entityType: entityType,
- in_: inExpr?.toProto(),
- ),
- ),
- cedar.JsonExprLessThan(:final left, :final right) => Expr(
- lessThan: ExprLessThan(
- left: left.toProto(),
- right: right.toProto(),
- ),
- ),
- cedar.JsonExprLessThanOrEquals(:final left, :final right) => Expr(
- lessThanOrEquals: ExprLessThanOrEquals(
- left: left.toProto(),
- right: right.toProto(),
- ),
- ),
- cedar.JsonExprLike(:final left, :final pattern) => Expr(
- like: ExprLike(
- left: left.toProto(),
- pattern: pattern,
- ),
- ),
- cedar.JsonExprMinus(:final left, :final right) => Expr(
- minus: ExprMinus(
- left: left.toProto(),
- right: right.toProto(),
- ),
- ),
- cedar.JsonExprNeg(:final arg) => Expr(
- neg: ExprNeg(
- expr: arg.toProto(),
- ),
- ),
- cedar.JsonExprNot(:final arg) => Expr(
- not: ExprNot(
- expr: arg.toProto(),
- ),
- ),
- cedar.JsonExprNotEquals(:final left, :final right) => Expr(
- notEquals: ExprNotEquals(
- left: left.toProto(),
- right: right.toProto(),
- ),
- ),
- cedar.JsonExprOr(:final left, :final right) => Expr(
- or: ExprOr(
- left: left.toProto(),
- right: right.toProto(),
- ),
- ),
- cedar.JsonExprPlus(:final left, :final right) => Expr(
- plus: ExprPlus(
- left: left.toProto(),
- right: right.toProto(),
- ),
- ),
- cedar.JsonExprRecord(:final attributes) => Expr(
- record: ExprRecord(
- attributes: attributes
- .map((key, value) => MapEntry(key, value.toProto())),
- ),
- ),
- cedar.JsonExprSet(:final expressions) => Expr(
- set: ExprSet(
- expressions: [for (final value in expressions) value.toProto()],
- ),
- ),
- cedar.JsonExprSlot(:final slotId) => Expr(
- slot: ExprSlot(
- slotId: switch (slotId) {
- cedar.CedarSlotId.principal => SlotId.SLOT_ID_PRINCIPAL,
- cedar.CedarSlotId.resource => SlotId.SLOT_ID_RESOURCE,
- _ => throw UnimplementedError(),
- },
- ),
- ),
- cedar.JsonExprTimes(:final left, :final right) => Expr(
- times: ExprTimes(
- left: left.toProto(),
- right: right.toProto(),
- ),
- ),
- cedar.JsonExprUnknown(:final name) => Expr(
- unknown: ExprUnknown(
- name: name,
- ),
- ),
- cedar.JsonExprValue(:final value) => Expr(
- value: ExprValue(
- value: value.toProto(),
- ),
- ),
- cedar.JsonExprVariable(:final variable) => Expr(
- var_: ExprVar(
- variable: switch (variable) {
- cedar.CedarVariable.action => Variable.VARIABLE_ACTION,
- cedar.CedarVariable.context => Variable.VARIABLE_CONTEXT,
- cedar.CedarVariable.principal => Variable.VARIABLE_PRINCIPAL,
- cedar.CedarVariable.resource => Variable.VARIABLE_RESOURCE,
- },
- ),
- ),
- };
-}
diff --git a/packages/corks_cedar/lib/src/interop/to_proto.dart b/packages/corks_cedar/lib/src/interop/to_proto.dart
deleted file mode 100644
index 9cc8b7af..00000000
--- a/packages/corks_cedar/lib/src/interop/to_proto.dart
+++ /dev/null
@@ -1,5 +0,0 @@
-import 'package:protobuf/protobuf.dart' as proto;
-
-abstract interface class ToProto {
- M toProto();
-}
diff --git a/packages/corks_cedar/lib/src/proto/cedar/v3/context.pb.dart b/packages/corks_cedar/lib/src/proto/cedar/v3/context.pb.dart
deleted file mode 100644
index 30a958f6..00000000
--- a/packages/corks_cedar/lib/src/proto/cedar/v3/context.pb.dart
+++ /dev/null
@@ -1,64 +0,0 @@
-//
-// Generated code. Do not modify.
-// source: cedar/v3/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;
-
-import 'value.pb.dart' as $1;
-
-class Context extends $pb.GeneratedMessage {
- factory Context({
- $core.Map<$core.String, $1.Value>? values,
- }) {
- final $result = create();
- if (values != null) {
- $result.values.addAll(values);
- }
- return $result;
- }
- Context._() : super();
- factory Context.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
- factory Context.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
-
- static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Context', package: const $pb.PackageName(_omitMessageNames ? '' : 'cedar.v3'), createEmptyInstance: create)
- ..m<$core.String, $1.Value>(1, _omitFieldNames ? '' : 'values', entryClassName: 'Context.ValuesEntry', keyFieldType: $pb.PbFieldType.OS, valueFieldType: $pb.PbFieldType.OM, valueCreator: $1.Value.create, valueDefaultOrMaker: $1.Value.getDefault, packageName: const $pb.PackageName('cedar.v3'))
- ..hasRequiredFields = false
- ;
-
- @$core.Deprecated(
- 'Using this can add significant overhead to your binary. '
- 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
- 'Will be removed in next major version')
- Context clone() => Context()..mergeFromMessage(this);
- @$core.Deprecated(
- 'Using this can add significant overhead to your binary. '
- 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
- 'Will be removed in next major version')
- Context copyWith(void Function(Context) updates) => super.copyWith((message) => updates(message as Context)) as Context;
-
- $pb.BuilderInfo get info_ => _i;
-
- @$core.pragma('dart2js:noInline')
- static Context create() => Context._();
- Context createEmptyInstance() => create();
- static $pb.PbList createRepeated() => $pb.PbList();
- @$core.pragma('dart2js:noInline')
- static Context getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create);
- static Context? _defaultInstance;
-
- @$pb.TagNumber(1)
- $core.Map<$core.String, $1.Value> get values => $_getMap(0);
-}
-
-
-const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names');
-const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names');
diff --git a/packages/corks_cedar/lib/src/proto/cedar/v3/context.pbenum.dart b/packages/corks_cedar/lib/src/proto/cedar/v3/context.pbenum.dart
deleted file mode 100644
index b9f8c102..00000000
--- a/packages/corks_cedar/lib/src/proto/cedar/v3/context.pbenum.dart
+++ /dev/null
@@ -1,11 +0,0 @@
-//
-// Generated code. Do not modify.
-// source: cedar/v3/context.proto
-//
-// @dart = 2.12
-
-// ignore_for_file: annotate_overrides, camel_case_types, comment_references
-// ignore_for_file: constant_identifier_names, library_prefixes
-// ignore_for_file: non_constant_identifier_names, prefer_final_fields
-// ignore_for_file: unnecessary_import, unnecessary_this, unused_import
-
diff --git a/packages/corks_cedar/lib/src/proto/cedar/v3/context.pbjson.dart b/packages/corks_cedar/lib/src/proto/cedar/v3/context.pbjson.dart
deleted file mode 100644
index a1fc81de..00000000
--- a/packages/corks_cedar/lib/src/proto/cedar/v3/context.pbjson.dart
+++ /dev/null
@@ -1,40 +0,0 @@
-//
-// Generated code. Do not modify.
-// source: cedar/v3/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 contextDescriptor instead')
-const Context$json = {
- '1': 'Context',
- '2': [
- {'1': 'values', '3': 1, '4': 3, '5': 11, '6': '.cedar.v3.Context.ValuesEntry', '10': 'values'},
- ],
- '3': [Context_ValuesEntry$json],
-};
-
-@$core.Deprecated('Use contextDescriptor instead')
-const Context_ValuesEntry$json = {
- '1': 'ValuesEntry',
- '2': [
- {'1': 'key', '3': 1, '4': 1, '5': 9, '10': 'key'},
- {'1': 'value', '3': 2, '4': 1, '5': 11, '6': '.cedar.v3.Value', '10': 'value'},
- ],
- '7': {'7': true},
-};
-
-/// Descriptor for `Context`. Decode as a `google.protobuf.DescriptorProto`.
-final $typed_data.Uint8List contextDescriptor = $convert.base64Decode(
- 'CgdDb250ZXh0EjUKBnZhbHVlcxgBIAMoCzIdLmNlZGFyLnYzLkNvbnRleHQuVmFsdWVzRW50cn'
- 'lSBnZhbHVlcxpKCgtWYWx1ZXNFbnRyeRIQCgNrZXkYASABKAlSA2tleRIlCgV2YWx1ZRgCIAEo'
- 'CzIPLmNlZGFyLnYzLlZhbHVlUgV2YWx1ZToCOAE=');
-
diff --git a/packages/corks_cedar/lib/src/proto/cedar/v3/context.pbserver.dart b/packages/corks_cedar/lib/src/proto/cedar/v3/context.pbserver.dart
deleted file mode 100644
index 34032a02..00000000
--- a/packages/corks_cedar/lib/src/proto/cedar/v3/context.pbserver.dart
+++ /dev/null
@@ -1,14 +0,0 @@
-//
-// Generated code. Do not modify.
-// source: cedar/v3/context.proto
-//
-// @dart = 2.12
-
-// ignore_for_file: annotate_overrides, camel_case_types, comment_references
-// ignore_for_file: constant_identifier_names
-// ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
-// ignore_for_file: non_constant_identifier_names, prefer_final_fields
-// ignore_for_file: unnecessary_import, unnecessary_this, unused_import
-
-export 'context.pb.dart';
-
diff --git a/packages/corks_cedar/lib/src/proto/cedar/v3/entity.pb.dart b/packages/corks_cedar/lib/src/proto/cedar/v3/entity.pb.dart
deleted file mode 100644
index f75b7f32..00000000
--- a/packages/corks_cedar/lib/src/proto/cedar/v3/entity.pb.dart
+++ /dev/null
@@ -1,89 +0,0 @@
-//
-// Generated code. Do not modify.
-// source: cedar/v3/entity.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 'entity_id.pb.dart' as $0;
-import 'value.pb.dart' as $1;
-
-class Entity extends $pb.GeneratedMessage {
- factory Entity({
- $0.EntityId? uid,
- $core.Iterable<$0.EntityId>? parents,
- $core.Map<$core.String, $1.Value>? attributes,
- }) {
- final $result = create();
- if (uid != null) {
- $result.uid = uid;
- }
- if (parents != null) {
- $result.parents.addAll(parents);
- }
- if (attributes != null) {
- $result.attributes.addAll(attributes);
- }
- return $result;
- }
- Entity._() : super();
- factory Entity.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
- factory Entity.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
-
- static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Entity', package: const $pb.PackageName(_omitMessageNames ? '' : 'cedar.v3'), createEmptyInstance: create)
- ..aOM<$0.EntityId>(1, _omitFieldNames ? '' : 'uid', subBuilder: $0.EntityId.create)
- ..pc<$0.EntityId>(2, _omitFieldNames ? '' : 'parents', $pb.PbFieldType.PM, subBuilder: $0.EntityId.create)
- ..m<$core.String, $1.Value>(3, _omitFieldNames ? '' : 'attributes', entryClassName: 'Entity.AttributesEntry', keyFieldType: $pb.PbFieldType.OS, valueFieldType: $pb.PbFieldType.OM, valueCreator: $1.Value.create, valueDefaultOrMaker: $1.Value.getDefault, packageName: const $pb.PackageName('cedar.v3'))
- ..hasRequiredFields = false
- ;
-
- @$core.Deprecated(
- 'Using this can add significant overhead to your binary. '
- 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
- 'Will be removed in next major version')
- Entity clone() => Entity()..mergeFromMessage(this);
- @$core.Deprecated(
- 'Using this can add significant overhead to your binary. '
- 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
- 'Will be removed in next major version')
- Entity copyWith(void Function(Entity) updates) => super.copyWith((message) => updates(message as Entity)) as Entity;
-
- $pb.BuilderInfo get info_ => _i;
-
- @$core.pragma('dart2js:noInline')
- static Entity create() => Entity._();
- Entity createEmptyInstance() => create();
- static $pb.PbList createRepeated() => $pb.PbList();
- @$core.pragma('dart2js:noInline')
- static Entity getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create);
- static Entity? _defaultInstance;
-
- @$pb.TagNumber(1)
- $0.EntityId get uid => $_getN(0);
- @$pb.TagNumber(1)
- set uid($0.EntityId v) { setField(1, v); }
- @$pb.TagNumber(1)
- $core.bool hasUid() => $_has(0);
- @$pb.TagNumber(1)
- void clearUid() => clearField(1);
- @$pb.TagNumber(1)
- $0.EntityId ensureUid() => $_ensure(0);
-
- @$pb.TagNumber(2)
- $core.List<$0.EntityId> get parents => $_getList(1);
-
- @$pb.TagNumber(3)
- $core.Map<$core.String, $1.Value> get attributes => $_getMap(2);
-}
-
-
-const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names');
-const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names');
diff --git a/packages/corks_cedar/lib/src/proto/cedar/v3/entity.pbenum.dart b/packages/corks_cedar/lib/src/proto/cedar/v3/entity.pbenum.dart
deleted file mode 100644
index da437543..00000000
--- a/packages/corks_cedar/lib/src/proto/cedar/v3/entity.pbenum.dart
+++ /dev/null
@@ -1,11 +0,0 @@
-//
-// Generated code. Do not modify.
-// source: cedar/v3/entity.proto
-//
-// @dart = 2.12
-
-// ignore_for_file: annotate_overrides, camel_case_types, comment_references
-// ignore_for_file: constant_identifier_names, library_prefixes
-// ignore_for_file: non_constant_identifier_names, prefer_final_fields
-// ignore_for_file: unnecessary_import, unnecessary_this, unused_import
-
diff --git a/packages/corks_cedar/lib/src/proto/cedar/v3/entity.pbjson.dart b/packages/corks_cedar/lib/src/proto/cedar/v3/entity.pbjson.dart
deleted file mode 100644
index 3a463ed3..00000000
--- a/packages/corks_cedar/lib/src/proto/cedar/v3/entity.pbjson.dart
+++ /dev/null
@@ -1,44 +0,0 @@
-//
-// Generated code. Do not modify.
-// source: cedar/v3/entity.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 entityDescriptor instead')
-const Entity$json = {
- '1': 'Entity',
- '2': [
- {'1': 'uid', '3': 1, '4': 1, '5': 11, '6': '.cedar.v3.EntityId', '10': 'uid'},
- {'1': 'parents', '3': 2, '4': 3, '5': 11, '6': '.cedar.v3.EntityId', '10': 'parents'},
- {'1': 'attributes', '3': 3, '4': 3, '5': 11, '6': '.cedar.v3.Entity.AttributesEntry', '10': 'attributes'},
- ],
- '3': [Entity_AttributesEntry$json],
-};
-
-@$core.Deprecated('Use entityDescriptor instead')
-const Entity_AttributesEntry$json = {
- '1': 'AttributesEntry',
- '2': [
- {'1': 'key', '3': 1, '4': 1, '5': 9, '10': 'key'},
- {'1': 'value', '3': 2, '4': 1, '5': 11, '6': '.cedar.v3.Value', '10': 'value'},
- ],
- '7': {'7': true},
-};
-
-/// Descriptor for `Entity`. Decode as a `google.protobuf.DescriptorProto`.
-final $typed_data.Uint8List entityDescriptor = $convert.base64Decode(
- 'CgZFbnRpdHkSJAoDdWlkGAEgASgLMhIuY2VkYXIudjMuRW50aXR5SWRSA3VpZBIsCgdwYXJlbn'
- 'RzGAIgAygLMhIuY2VkYXIudjMuRW50aXR5SWRSB3BhcmVudHMSQAoKYXR0cmlidXRlcxgDIAMo'
- 'CzIgLmNlZGFyLnYzLkVudGl0eS5BdHRyaWJ1dGVzRW50cnlSCmF0dHJpYnV0ZXMaTgoPQXR0cm'
- 'lidXRlc0VudHJ5EhAKA2tleRgBIAEoCVIDa2V5EiUKBXZhbHVlGAIgASgLMg8uY2VkYXIudjMu'
- 'VmFsdWVSBXZhbHVlOgI4AQ==');
-
diff --git a/packages/corks_cedar/lib/src/proto/cedar/v3/entity.pbserver.dart b/packages/corks_cedar/lib/src/proto/cedar/v3/entity.pbserver.dart
deleted file mode 100644
index b012dd63..00000000
--- a/packages/corks_cedar/lib/src/proto/cedar/v3/entity.pbserver.dart
+++ /dev/null
@@ -1,14 +0,0 @@
-//
-// Generated code. Do not modify.
-// source: cedar/v3/entity.proto
-//
-// @dart = 2.12
-
-// ignore_for_file: annotate_overrides, camel_case_types, comment_references
-// ignore_for_file: constant_identifier_names
-// ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
-// ignore_for_file: non_constant_identifier_names, prefer_final_fields
-// ignore_for_file: unnecessary_import, unnecessary_this, unused_import
-
-export 'entity.pb.dart';
-
diff --git a/packages/corks_cedar/lib/src/proto/cedar/v3/entity_id.pb.dart b/packages/corks_cedar/lib/src/proto/cedar/v3/entity_id.pb.dart
deleted file mode 100644
index af1db677..00000000
--- a/packages/corks_cedar/lib/src/proto/cedar/v3/entity_id.pb.dart
+++ /dev/null
@@ -1,82 +0,0 @@
-//
-// Generated code. Do not modify.
-// source: cedar/v3/entity_id.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 EntityId extends $pb.GeneratedMessage {
- factory EntityId({
- $core.String? type,
- $core.String? id,
- }) {
- final $result = create();
- if (type != null) {
- $result.type = type;
- }
- if (id != null) {
- $result.id = id;
- }
- return $result;
- }
- EntityId._() : super();
- factory EntityId.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
- factory EntityId.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
-
- static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'EntityId', package: const $pb.PackageName(_omitMessageNames ? '' : 'cedar.v3'), createEmptyInstance: create)
- ..aOS(1, _omitFieldNames ? '' : 'type')
- ..aOS(2, _omitFieldNames ? '' : 'id')
- ..hasRequiredFields = false
- ;
-
- @$core.Deprecated(
- 'Using this can add significant overhead to your binary. '
- 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
- 'Will be removed in next major version')
- EntityId clone() => EntityId()..mergeFromMessage(this);
- @$core.Deprecated(
- 'Using this can add significant overhead to your binary. '
- 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
- 'Will be removed in next major version')
- EntityId copyWith(void Function(EntityId) updates) => super.copyWith((message) => updates(message as EntityId)) as EntityId;
-
- $pb.BuilderInfo get info_ => _i;
-
- @$core.pragma('dart2js:noInline')
- static EntityId create() => EntityId._();
- EntityId createEmptyInstance() => create();
- static $pb.PbList createRepeated() => $pb.PbList();
- @$core.pragma('dart2js:noInline')
- static EntityId getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create);
- static EntityId? _defaultInstance;
-
- @$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);
-
- @$pb.TagNumber(2)
- $core.String get id => $_getSZ(1);
- @$pb.TagNumber(2)
- set id($core.String v) { $_setString(1, v); }
- @$pb.TagNumber(2)
- $core.bool hasId() => $_has(1);
- @$pb.TagNumber(2)
- void clearId() => clearField(2);
-}
-
-
-const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names');
-const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names');
diff --git a/packages/corks_cedar/lib/src/proto/cedar/v3/entity_id.pbenum.dart b/packages/corks_cedar/lib/src/proto/cedar/v3/entity_id.pbenum.dart
deleted file mode 100644
index 6c57285a..00000000
--- a/packages/corks_cedar/lib/src/proto/cedar/v3/entity_id.pbenum.dart
+++ /dev/null
@@ -1,11 +0,0 @@
-//
-// Generated code. Do not modify.
-// source: cedar/v3/entity_id.proto
-//
-// @dart = 2.12
-
-// ignore_for_file: annotate_overrides, camel_case_types, comment_references
-// ignore_for_file: constant_identifier_names, library_prefixes
-// ignore_for_file: non_constant_identifier_names, prefer_final_fields
-// ignore_for_file: unnecessary_import, unnecessary_this, unused_import
-
diff --git a/packages/corks_cedar/lib/src/proto/cedar/v3/entity_id.pbjson.dart b/packages/corks_cedar/lib/src/proto/cedar/v3/entity_id.pbjson.dart
deleted file mode 100644
index 73f0cd15..00000000
--- a/packages/corks_cedar/lib/src/proto/cedar/v3/entity_id.pbjson.dart
+++ /dev/null
@@ -1,28 +0,0 @@
-//
-// Generated code. Do not modify.
-// source: cedar/v3/entity_id.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 entityIdDescriptor instead')
-const EntityId$json = {
- '1': 'EntityId',
- '2': [
- {'1': 'type', '3': 1, '4': 1, '5': 9, '10': 'type'},
- {'1': 'id', '3': 2, '4': 1, '5': 9, '10': 'id'},
- ],
-};
-
-/// Descriptor for `EntityId`. Decode as a `google.protobuf.DescriptorProto`.
-final $typed_data.Uint8List entityIdDescriptor = $convert.base64Decode(
- 'CghFbnRpdHlJZBISCgR0eXBlGAEgASgJUgR0eXBlEg4KAmlkGAIgASgJUgJpZA==');
-
diff --git a/packages/corks_cedar/lib/src/proto/cedar/v3/entity_id.pbserver.dart b/packages/corks_cedar/lib/src/proto/cedar/v3/entity_id.pbserver.dart
deleted file mode 100644
index c6f0083f..00000000
--- a/packages/corks_cedar/lib/src/proto/cedar/v3/entity_id.pbserver.dart
+++ /dev/null
@@ -1,14 +0,0 @@
-//
-// Generated code. Do not modify.
-// source: cedar/v3/entity_id.proto
-//
-// @dart = 2.12
-
-// ignore_for_file: annotate_overrides, camel_case_types, comment_references
-// ignore_for_file: constant_identifier_names
-// ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
-// ignore_for_file: non_constant_identifier_names, prefer_final_fields
-// ignore_for_file: unnecessary_import, unnecessary_this, unused_import
-
-export 'entity_id.pb.dart';
-
diff --git a/packages/corks_cedar/lib/src/proto/cedar/v3/expr.pb.dart b/packages/corks_cedar/lib/src/proto/cedar/v3/expr.pb.dart
deleted file mode 100644
index fa62bf65..00000000
--- a/packages/corks_cedar/lib/src/proto/cedar/v3/expr.pb.dart
+++ /dev/null
@@ -1,2428 +0,0 @@
-//
-// Generated code. Do not modify.
-// source: cedar/v3/expr.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 'expr.pbenum.dart';
-import 'value.pb.dart' as $1;
-
-export 'expr.pbenum.dart';
-
-enum Expr_Expr {
- value,
- var_,
- slot,
- unknown,
- not,
- neg,
- equals,
- notEquals,
- in_,
- lessThan,
- lessThanOrEquals,
- greaterThan,
- greaterThanOrEquals,
- and,
- or,
- plus,
- minus,
- times,
- contains,
- containsAll,
- containsAny,
- getAttribute,
- hasAttribute,
- like,
- is_,
- ifThenElse,
- set,
- record,
- funcCall,
- notSet
-}
-
-class Expr extends $pb.GeneratedMessage {
- factory Expr({
- ExprValue? value,
- ExprVar? var_,
- ExprSlot? slot,
- ExprUnknown? unknown,
- ExprNot? not,
- ExprNeg? neg,
- ExprEquals? equals,
- ExprNotEquals? notEquals,
- ExprIn? in_,
- ExprLessThan? lessThan,
- ExprLessThanOrEquals? lessThanOrEquals,
- ExprGreaterThan? greaterThan,
- ExprGreaterThanOrEquals? greaterThanOrEquals,
- ExprAnd? and,
- ExprOr? or,
- ExprPlus? plus,
- ExprMinus? minus,
- ExprTimes? times,
- ExprContains? contains,
- ExprContainsAll? containsAll,
- ExprContainsAny? containsAny,
- ExprGetAttribute? getAttribute,
- ExprHasAttribute? hasAttribute,
- ExprLike? like,
- ExprIs? is_,
- ExprIfThenElse? ifThenElse,
- ExprSet? set,
- ExprRecord? record,
- ExprFuncCall? funcCall,
- }) {
- final $result = create();
- if (value != null) {
- $result.value = value;
- }
- if (var_ != null) {
- $result.var_ = var_;
- }
- if (slot != null) {
- $result.slot = slot;
- }
- if (unknown != null) {
- $result.unknown = unknown;
- }
- if (not != null) {
- $result.not = not;
- }
- if (neg != null) {
- $result.neg = neg;
- }
- if (equals != null) {
- $result.equals = equals;
- }
- if (notEquals != null) {
- $result.notEquals = notEquals;
- }
- if (in_ != null) {
- $result.in_ = in_;
- }
- if (lessThan != null) {
- $result.lessThan = lessThan;
- }
- if (lessThanOrEquals != null) {
- $result.lessThanOrEquals = lessThanOrEquals;
- }
- if (greaterThan != null) {
- $result.greaterThan = greaterThan;
- }
- if (greaterThanOrEquals != null) {
- $result.greaterThanOrEquals = greaterThanOrEquals;
- }
- if (and != null) {
- $result.and = and;
- }
- if (or != null) {
- $result.or = or;
- }
- if (plus != null) {
- $result.plus = plus;
- }
- if (minus != null) {
- $result.minus = minus;
- }
- if (times != null) {
- $result.times = times;
- }
- if (contains != null) {
- $result.contains = contains;
- }
- if (containsAll != null) {
- $result.containsAll = containsAll;
- }
- if (containsAny != null) {
- $result.containsAny = containsAny;
- }
- if (getAttribute != null) {
- $result.getAttribute = getAttribute;
- }
- if (hasAttribute != null) {
- $result.hasAttribute = hasAttribute;
- }
- if (like != null) {
- $result.like = like;
- }
- if (is_ != null) {
- $result.is_ = is_;
- }
- if (ifThenElse != null) {
- $result.ifThenElse = ifThenElse;
- }
- if (set != null) {
- $result.set = set;
- }
- if (record != null) {
- $result.record = record;
- }
- if (funcCall != null) {
- $result.funcCall = funcCall;
- }
- return $result;
- }
- Expr._() : super();
- factory Expr.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
- factory Expr.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
-
- static const $core.Map<$core.int, Expr_Expr> _Expr_ExprByTag = {
- 1 : Expr_Expr.value,
- 2 : Expr_Expr.var_,
- 3 : Expr_Expr.slot,
- 4 : Expr_Expr.unknown,
- 5 : Expr_Expr.not,
- 6 : Expr_Expr.neg,
- 7 : Expr_Expr.equals,
- 8 : Expr_Expr.notEquals,
- 9 : Expr_Expr.in_,
- 10 : Expr_Expr.lessThan,
- 11 : Expr_Expr.lessThanOrEquals,
- 12 : Expr_Expr.greaterThan,
- 13 : Expr_Expr.greaterThanOrEquals,
- 14 : Expr_Expr.and,
- 15 : Expr_Expr.or,
- 16 : Expr_Expr.plus,
- 17 : Expr_Expr.minus,
- 18 : Expr_Expr.times,
- 19 : Expr_Expr.contains,
- 20 : Expr_Expr.containsAll,
- 21 : Expr_Expr.containsAny,
- 22 : Expr_Expr.getAttribute,
- 23 : Expr_Expr.hasAttribute,
- 24 : Expr_Expr.like,
- 25 : Expr_Expr.is_,
- 26 : Expr_Expr.ifThenElse,
- 27 : Expr_Expr.set,
- 28 : Expr_Expr.record,
- 29 : Expr_Expr.funcCall,
- 0 : Expr_Expr.notSet
- };
- static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Expr', package: const $pb.PackageName(_omitMessageNames ? '' : 'cedar.v3'), createEmptyInstance: create)
- ..oo(0, [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29])
- ..aOM(1, _omitFieldNames ? '' : 'value', subBuilder: ExprValue.create)
- ..aOM(2, _omitFieldNames ? '' : 'var', subBuilder: ExprVar.create)
- ..aOM(3, _omitFieldNames ? '' : 'slot', subBuilder: ExprSlot.create)
- ..aOM(4, _omitFieldNames ? '' : 'unknown', subBuilder: ExprUnknown.create)
- ..aOM(5, _omitFieldNames ? '' : 'not', subBuilder: ExprNot.create)
- ..aOM(6, _omitFieldNames ? '' : 'neg', subBuilder: ExprNeg.create)
- ..aOM(7, _omitFieldNames ? '' : 'equals', subBuilder: ExprEquals.create)
- ..aOM(8, _omitFieldNames ? '' : 'notEquals', subBuilder: ExprNotEquals.create)
- ..aOM(9, _omitFieldNames ? '' : 'in', subBuilder: ExprIn.create)
- ..aOM(10, _omitFieldNames ? '' : 'lessThan', subBuilder: ExprLessThan.create)
- ..aOM(11, _omitFieldNames ? '' : 'lessThanOrEquals', subBuilder: ExprLessThanOrEquals.create)
- ..aOM(12, _omitFieldNames ? '' : 'greaterThan', subBuilder: ExprGreaterThan.create)
- ..aOM(13, _omitFieldNames ? '' : 'greaterThanOrEquals', subBuilder: ExprGreaterThanOrEquals.create)
- ..aOM(14, _omitFieldNames ? '' : 'and', subBuilder: ExprAnd.create)
- ..aOM(15, _omitFieldNames ? '' : 'or', subBuilder: ExprOr.create)
- ..aOM(16, _omitFieldNames ? '' : 'plus', subBuilder: ExprPlus.create)
- ..aOM(17, _omitFieldNames ? '' : 'minus', subBuilder: ExprMinus.create)
- ..aOM(18, _omitFieldNames ? '' : 'times', subBuilder: ExprTimes.create)
- ..aOM(19, _omitFieldNames ? '' : 'contains', subBuilder: ExprContains.create)
- ..aOM(20, _omitFieldNames ? '' : 'containsAll', subBuilder: ExprContainsAll.create)
- ..aOM(21, _omitFieldNames ? '' : 'containsAny', subBuilder: ExprContainsAny.create)
- ..aOM(22, _omitFieldNames ? '' : 'getAttribute', subBuilder: ExprGetAttribute.create)
- ..aOM(23, _omitFieldNames ? '' : 'hasAttribute', subBuilder: ExprHasAttribute.create)
- ..aOM(24, _omitFieldNames ? '' : 'like', subBuilder: ExprLike.create)
- ..aOM(25, _omitFieldNames ? '' : 'is', subBuilder: ExprIs.create)
- ..aOM(26, _omitFieldNames ? '' : 'ifThenElse', subBuilder: ExprIfThenElse.create)
- ..aOM(27, _omitFieldNames ? '' : 'set', subBuilder: ExprSet.create)
- ..aOM(28, _omitFieldNames ? '' : 'record', subBuilder: ExprRecord.create)
- ..aOM(29, _omitFieldNames ? '' : 'funcCall', subBuilder: ExprFuncCall.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')
- Expr clone() => Expr()..mergeFromMessage(this);
- @$core.Deprecated(
- 'Using this can add significant overhead to your binary. '
- 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
- 'Will be removed in next major version')
- Expr copyWith(void Function(Expr) updates) => super.copyWith((message) => updates(message as Expr)) as Expr;
-
- $pb.BuilderInfo get info_ => _i;
-
- @$core.pragma('dart2js:noInline')
- static Expr create() => Expr._();
- Expr createEmptyInstance() => create();
- static $pb.PbList createRepeated() => $pb.PbList();
- @$core.pragma('dart2js:noInline')
- static Expr getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create);
- static Expr? _defaultInstance;
-
- Expr_Expr whichExpr() => _Expr_ExprByTag[$_whichOneof(0)]!;
- void clearExpr() => clearField($_whichOneof(0));
-
- @$pb.TagNumber(1)
- ExprValue get value => $_getN(0);
- @$pb.TagNumber(1)
- set value(ExprValue v) { setField(1, v); }
- @$pb.TagNumber(1)
- $core.bool hasValue() => $_has(0);
- @$pb.TagNumber(1)
- void clearValue() => clearField(1);
- @$pb.TagNumber(1)
- ExprValue ensureValue() => $_ensure(0);
-
- @$pb.TagNumber(2)
- ExprVar get var_ => $_getN(1);
- @$pb.TagNumber(2)
- set var_(ExprVar v) { setField(2, v); }
- @$pb.TagNumber(2)
- $core.bool hasVar_() => $_has(1);
- @$pb.TagNumber(2)
- void clearVar_() => clearField(2);
- @$pb.TagNumber(2)
- ExprVar ensureVar_() => $_ensure(1);
-
- @$pb.TagNumber(3)
- ExprSlot get slot => $_getN(2);
- @$pb.TagNumber(3)
- set slot(ExprSlot v) { setField(3, v); }
- @$pb.TagNumber(3)
- $core.bool hasSlot() => $_has(2);
- @$pb.TagNumber(3)
- void clearSlot() => clearField(3);
- @$pb.TagNumber(3)
- ExprSlot ensureSlot() => $_ensure(2);
-
- @$pb.TagNumber(4)
- ExprUnknown get unknown => $_getN(3);
- @$pb.TagNumber(4)
- set unknown(ExprUnknown v) { setField(4, v); }
- @$pb.TagNumber(4)
- $core.bool hasUnknown() => $_has(3);
- @$pb.TagNumber(4)
- void clearUnknown() => clearField(4);
- @$pb.TagNumber(4)
- ExprUnknown ensureUnknown() => $_ensure(3);
-
- @$pb.TagNumber(5)
- ExprNot get not => $_getN(4);
- @$pb.TagNumber(5)
- set not(ExprNot v) { setField(5, v); }
- @$pb.TagNumber(5)
- $core.bool hasNot() => $_has(4);
- @$pb.TagNumber(5)
- void clearNot() => clearField(5);
- @$pb.TagNumber(5)
- ExprNot ensureNot() => $_ensure(4);
-
- @$pb.TagNumber(6)
- ExprNeg get neg => $_getN(5);
- @$pb.TagNumber(6)
- set neg(ExprNeg v) { setField(6, v); }
- @$pb.TagNumber(6)
- $core.bool hasNeg() => $_has(5);
- @$pb.TagNumber(6)
- void clearNeg() => clearField(6);
- @$pb.TagNumber(6)
- ExprNeg ensureNeg() => $_ensure(5);
-
- @$pb.TagNumber(7)
- ExprEquals get equals => $_getN(6);
- @$pb.TagNumber(7)
- set equals(ExprEquals v) { setField(7, v); }
- @$pb.TagNumber(7)
- $core.bool hasEquals() => $_has(6);
- @$pb.TagNumber(7)
- void clearEquals() => clearField(7);
- @$pb.TagNumber(7)
- ExprEquals ensureEquals() => $_ensure(6);
-
- @$pb.TagNumber(8)
- ExprNotEquals get notEquals => $_getN(7);
- @$pb.TagNumber(8)
- set notEquals(ExprNotEquals v) { setField(8, v); }
- @$pb.TagNumber(8)
- $core.bool hasNotEquals() => $_has(7);
- @$pb.TagNumber(8)
- void clearNotEquals() => clearField(8);
- @$pb.TagNumber(8)
- ExprNotEquals ensureNotEquals() => $_ensure(7);
-
- @$pb.TagNumber(9)
- ExprIn get in_ => $_getN(8);
- @$pb.TagNumber(9)
- set in_(ExprIn v) { setField(9, v); }
- @$pb.TagNumber(9)
- $core.bool hasIn_() => $_has(8);
- @$pb.TagNumber(9)
- void clearIn_() => clearField(9);
- @$pb.TagNumber(9)
- ExprIn ensureIn_() => $_ensure(8);
-
- @$pb.TagNumber(10)
- ExprLessThan get lessThan => $_getN(9);
- @$pb.TagNumber(10)
- set lessThan(ExprLessThan v) { setField(10, v); }
- @$pb.TagNumber(10)
- $core.bool hasLessThan() => $_has(9);
- @$pb.TagNumber(10)
- void clearLessThan() => clearField(10);
- @$pb.TagNumber(10)
- ExprLessThan ensureLessThan() => $_ensure(9);
-
- @$pb.TagNumber(11)
- ExprLessThanOrEquals get lessThanOrEquals => $_getN(10);
- @$pb.TagNumber(11)
- set lessThanOrEquals(ExprLessThanOrEquals v) { setField(11, v); }
- @$pb.TagNumber(11)
- $core.bool hasLessThanOrEquals() => $_has(10);
- @$pb.TagNumber(11)
- void clearLessThanOrEquals() => clearField(11);
- @$pb.TagNumber(11)
- ExprLessThanOrEquals ensureLessThanOrEquals() => $_ensure(10);
-
- @$pb.TagNumber(12)
- ExprGreaterThan get greaterThan => $_getN(11);
- @$pb.TagNumber(12)
- set greaterThan(ExprGreaterThan v) { setField(12, v); }
- @$pb.TagNumber(12)
- $core.bool hasGreaterThan() => $_has(11);
- @$pb.TagNumber(12)
- void clearGreaterThan() => clearField(12);
- @$pb.TagNumber(12)
- ExprGreaterThan ensureGreaterThan() => $_ensure(11);
-
- @$pb.TagNumber(13)
- ExprGreaterThanOrEquals get greaterThanOrEquals => $_getN(12);
- @$pb.TagNumber(13)
- set greaterThanOrEquals(ExprGreaterThanOrEquals v) { setField(13, v); }
- @$pb.TagNumber(13)
- $core.bool hasGreaterThanOrEquals() => $_has(12);
- @$pb.TagNumber(13)
- void clearGreaterThanOrEquals() => clearField(13);
- @$pb.TagNumber(13)
- ExprGreaterThanOrEquals ensureGreaterThanOrEquals() => $_ensure(12);
-
- @$pb.TagNumber(14)
- ExprAnd get and => $_getN(13);
- @$pb.TagNumber(14)
- set and(ExprAnd v) { setField(14, v); }
- @$pb.TagNumber(14)
- $core.bool hasAnd() => $_has(13);
- @$pb.TagNumber(14)
- void clearAnd() => clearField(14);
- @$pb.TagNumber(14)
- ExprAnd ensureAnd() => $_ensure(13);
-
- @$pb.TagNumber(15)
- ExprOr get or => $_getN(14);
- @$pb.TagNumber(15)
- set or(ExprOr v) { setField(15, v); }
- @$pb.TagNumber(15)
- $core.bool hasOr() => $_has(14);
- @$pb.TagNumber(15)
- void clearOr() => clearField(15);
- @$pb.TagNumber(15)
- ExprOr ensureOr() => $_ensure(14);
-
- @$pb.TagNumber(16)
- ExprPlus get plus => $_getN(15);
- @$pb.TagNumber(16)
- set plus(ExprPlus v) { setField(16, v); }
- @$pb.TagNumber(16)
- $core.bool hasPlus() => $_has(15);
- @$pb.TagNumber(16)
- void clearPlus() => clearField(16);
- @$pb.TagNumber(16)
- ExprPlus ensurePlus() => $_ensure(15);
-
- @$pb.TagNumber(17)
- ExprMinus get minus => $_getN(16);
- @$pb.TagNumber(17)
- set minus(ExprMinus v) { setField(17, v); }
- @$pb.TagNumber(17)
- $core.bool hasMinus() => $_has(16);
- @$pb.TagNumber(17)
- void clearMinus() => clearField(17);
- @$pb.TagNumber(17)
- ExprMinus ensureMinus() => $_ensure(16);
-
- @$pb.TagNumber(18)
- ExprTimes get times => $_getN(17);
- @$pb.TagNumber(18)
- set times(ExprTimes v) { setField(18, v); }
- @$pb.TagNumber(18)
- $core.bool hasTimes() => $_has(17);
- @$pb.TagNumber(18)
- void clearTimes() => clearField(18);
- @$pb.TagNumber(18)
- ExprTimes ensureTimes() => $_ensure(17);
-
- @$pb.TagNumber(19)
- ExprContains get contains => $_getN(18);
- @$pb.TagNumber(19)
- set contains(ExprContains v) { setField(19, v); }
- @$pb.TagNumber(19)
- $core.bool hasContains() => $_has(18);
- @$pb.TagNumber(19)
- void clearContains() => clearField(19);
- @$pb.TagNumber(19)
- ExprContains ensureContains() => $_ensure(18);
-
- @$pb.TagNumber(20)
- ExprContainsAll get containsAll => $_getN(19);
- @$pb.TagNumber(20)
- set containsAll(ExprContainsAll v) { setField(20, v); }
- @$pb.TagNumber(20)
- $core.bool hasContainsAll() => $_has(19);
- @$pb.TagNumber(20)
- void clearContainsAll() => clearField(20);
- @$pb.TagNumber(20)
- ExprContainsAll ensureContainsAll() => $_ensure(19);
-
- @$pb.TagNumber(21)
- ExprContainsAny get containsAny => $_getN(20);
- @$pb.TagNumber(21)
- set containsAny(ExprContainsAny v) { setField(21, v); }
- @$pb.TagNumber(21)
- $core.bool hasContainsAny() => $_has(20);
- @$pb.TagNumber(21)
- void clearContainsAny() => clearField(21);
- @$pb.TagNumber(21)
- ExprContainsAny ensureContainsAny() => $_ensure(20);
-
- @$pb.TagNumber(22)
- ExprGetAttribute get getAttribute => $_getN(21);
- @$pb.TagNumber(22)
- set getAttribute(ExprGetAttribute v) { setField(22, v); }
- @$pb.TagNumber(22)
- $core.bool hasGetAttribute() => $_has(21);
- @$pb.TagNumber(22)
- void clearGetAttribute() => clearField(22);
- @$pb.TagNumber(22)
- ExprGetAttribute ensureGetAttribute() => $_ensure(21);
-
- @$pb.TagNumber(23)
- ExprHasAttribute get hasAttribute => $_getN(22);
- @$pb.TagNumber(23)
- set hasAttribute(ExprHasAttribute v) { setField(23, v); }
- @$pb.TagNumber(23)
- $core.bool hasHasAttribute() => $_has(22);
- @$pb.TagNumber(23)
- void clearHasAttribute() => clearField(23);
- @$pb.TagNumber(23)
- ExprHasAttribute ensureHasAttribute() => $_ensure(22);
-
- @$pb.TagNumber(24)
- ExprLike get like => $_getN(23);
- @$pb.TagNumber(24)
- set like(ExprLike v) { setField(24, v); }
- @$pb.TagNumber(24)
- $core.bool hasLike() => $_has(23);
- @$pb.TagNumber(24)
- void clearLike() => clearField(24);
- @$pb.TagNumber(24)
- ExprLike ensureLike() => $_ensure(23);
-
- @$pb.TagNumber(25)
- ExprIs get is_ => $_getN(24);
- @$pb.TagNumber(25)
- set is_(ExprIs v) { setField(25, v); }
- @$pb.TagNumber(25)
- $core.bool hasIs_() => $_has(24);
- @$pb.TagNumber(25)
- void clearIs_() => clearField(25);
- @$pb.TagNumber(25)
- ExprIs ensureIs_() => $_ensure(24);
-
- @$pb.TagNumber(26)
- ExprIfThenElse get ifThenElse => $_getN(25);
- @$pb.TagNumber(26)
- set ifThenElse(ExprIfThenElse v) { setField(26, v); }
- @$pb.TagNumber(26)
- $core.bool hasIfThenElse() => $_has(25);
- @$pb.TagNumber(26)
- void clearIfThenElse() => clearField(26);
- @$pb.TagNumber(26)
- ExprIfThenElse ensureIfThenElse() => $_ensure(25);
-
- @$pb.TagNumber(27)
- ExprSet get set => $_getN(26);
- @$pb.TagNumber(27)
- set set(ExprSet v) { setField(27, v); }
- @$pb.TagNumber(27)
- $core.bool hasSet() => $_has(26);
- @$pb.TagNumber(27)
- void clearSet() => clearField(27);
- @$pb.TagNumber(27)
- ExprSet ensureSet() => $_ensure(26);
-
- @$pb.TagNumber(28)
- ExprRecord get record => $_getN(27);
- @$pb.TagNumber(28)
- set record(ExprRecord v) { setField(28, v); }
- @$pb.TagNumber(28)
- $core.bool hasRecord() => $_has(27);
- @$pb.TagNumber(28)
- void clearRecord() => clearField(28);
- @$pb.TagNumber(28)
- ExprRecord ensureRecord() => $_ensure(27);
-
- @$pb.TagNumber(29)
- ExprFuncCall get funcCall => $_getN(28);
- @$pb.TagNumber(29)
- set funcCall(ExprFuncCall v) { setField(29, v); }
- @$pb.TagNumber(29)
- $core.bool hasFuncCall() => $_has(28);
- @$pb.TagNumber(29)
- void clearFuncCall() => clearField(29);
- @$pb.TagNumber(29)
- ExprFuncCall ensureFuncCall() => $_ensure(28);
-}
-
-class ExprValue extends $pb.GeneratedMessage {
- factory ExprValue({
- $1.Value? value,
- }) {
- final $result = create();
- if (value != null) {
- $result.value = value;
- }
- return $result;
- }
- ExprValue._() : super();
- factory ExprValue.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
- factory ExprValue.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
-
- static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ExprValue', package: const $pb.PackageName(_omitMessageNames ? '' : 'cedar.v3'), createEmptyInstance: create)
- ..aOM<$1.Value>(1, _omitFieldNames ? '' : 'value', subBuilder: $1.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')
- ExprValue clone() => ExprValue()..mergeFromMessage(this);
- @$core.Deprecated(
- 'Using this can add significant overhead to your binary. '
- 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
- 'Will be removed in next major version')
- ExprValue copyWith(void Function(ExprValue) updates) => super.copyWith((message) => updates(message as ExprValue)) as ExprValue;
-
- $pb.BuilderInfo get info_ => _i;
-
- @$core.pragma('dart2js:noInline')
- static ExprValue create() => ExprValue._();
- ExprValue createEmptyInstance() => create();
- static $pb.PbList createRepeated() => $pb.PbList();
- @$core.pragma('dart2js:noInline')
- static ExprValue getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create);
- static ExprValue? _defaultInstance;
-
- @$pb.TagNumber(1)
- $1.Value get value => $_getN(0);
- @$pb.TagNumber(1)
- set value($1.Value v) { setField(1, v); }
- @$pb.TagNumber(1)
- $core.bool hasValue() => $_has(0);
- @$pb.TagNumber(1)
- void clearValue() => clearField(1);
- @$pb.TagNumber(1)
- $1.Value ensureValue() => $_ensure(0);
-}
-
-class ExprVar extends $pb.GeneratedMessage {
- factory ExprVar({
- Variable? variable,
- }) {
- final $result = create();
- if (variable != null) {
- $result.variable = variable;
- }
- return $result;
- }
- ExprVar._() : super();
- factory ExprVar.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
- factory ExprVar.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
-
- static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ExprVar', package: const $pb.PackageName(_omitMessageNames ? '' : 'cedar.v3'), createEmptyInstance: create)
- ..e(1, _omitFieldNames ? '' : 'variable', $pb.PbFieldType.OE, defaultOrMaker: Variable.VARIABLE_UNSPECIFIED, valueOf: Variable.valueOf, enumValues: Variable.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')
- ExprVar clone() => ExprVar()..mergeFromMessage(this);
- @$core.Deprecated(
- 'Using this can add significant overhead to your binary. '
- 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
- 'Will be removed in next major version')
- ExprVar copyWith(void Function(ExprVar) updates) => super.copyWith((message) => updates(message as ExprVar)) as ExprVar;
-
- $pb.BuilderInfo get info_ => _i;
-
- @$core.pragma('dart2js:noInline')
- static ExprVar create() => ExprVar._();
- ExprVar createEmptyInstance() => create();
- static $pb.PbList createRepeated() => $pb.PbList();
- @$core.pragma('dart2js:noInline')
- static ExprVar getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create);
- static ExprVar? _defaultInstance;
-
- @$pb.TagNumber(1)
- Variable get variable => $_getN(0);
- @$pb.TagNumber(1)
- set variable(Variable v) { setField(1, v); }
- @$pb.TagNumber(1)
- $core.bool hasVariable() => $_has(0);
- @$pb.TagNumber(1)
- void clearVariable() => clearField(1);
-}
-
-class ExprSlot extends $pb.GeneratedMessage {
- factory ExprSlot({
- SlotId? slotId,
- }) {
- final $result = create();
- if (slotId != null) {
- $result.slotId = slotId;
- }
- return $result;
- }
- ExprSlot._() : super();
- factory ExprSlot.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
- factory ExprSlot.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
-
- static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ExprSlot', package: const $pb.PackageName(_omitMessageNames ? '' : 'cedar.v3'), createEmptyInstance: create)
- ..e(1, _omitFieldNames ? '' : 'slotId', $pb.PbFieldType.OE, defaultOrMaker: SlotId.SLOT_ID_UNSPECIFIED, valueOf: SlotId.valueOf, enumValues: SlotId.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')
- ExprSlot clone() => ExprSlot()..mergeFromMessage(this);
- @$core.Deprecated(
- 'Using this can add significant overhead to your binary. '
- 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
- 'Will be removed in next major version')
- ExprSlot copyWith(void Function(ExprSlot) updates) => super.copyWith((message) => updates(message as ExprSlot)) as ExprSlot;
-
- $pb.BuilderInfo get info_ => _i;
-
- @$core.pragma('dart2js:noInline')
- static ExprSlot create() => ExprSlot._();
- ExprSlot createEmptyInstance() => create();
- static $pb.PbList createRepeated() => $pb.PbList();
- @$core.pragma('dart2js:noInline')
- static ExprSlot getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create);
- static ExprSlot? _defaultInstance;
-
- @$pb.TagNumber(1)
- SlotId get slotId => $_getN(0);
- @$pb.TagNumber(1)
- set slotId(SlotId v) { setField(1, v); }
- @$pb.TagNumber(1)
- $core.bool hasSlotId() => $_has(0);
- @$pb.TagNumber(1)
- void clearSlotId() => clearField(1);
-}
-
-class ExprUnknown extends $pb.GeneratedMessage {
- factory ExprUnknown({
- $core.String? name,
- }) {
- final $result = create();
- if (name != null) {
- $result.name = name;
- }
- return $result;
- }
- ExprUnknown._() : super();
- factory ExprUnknown.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
- factory ExprUnknown.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
-
- static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ExprUnknown', package: const $pb.PackageName(_omitMessageNames ? '' : 'cedar.v3'), createEmptyInstance: create)
- ..aOS(1, _omitFieldNames ? '' : 'name')
- ..hasRequiredFields = false
- ;
-
- @$core.Deprecated(
- 'Using this can add significant overhead to your binary. '
- 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
- 'Will be removed in next major version')
- ExprUnknown clone() => ExprUnknown()..mergeFromMessage(this);
- @$core.Deprecated(
- 'Using this can add significant overhead to your binary. '
- 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
- 'Will be removed in next major version')
- ExprUnknown copyWith(void Function(ExprUnknown) updates) => super.copyWith((message) => updates(message as ExprUnknown)) as ExprUnknown;
-
- $pb.BuilderInfo get info_ => _i;
-
- @$core.pragma('dart2js:noInline')
- static ExprUnknown create() => ExprUnknown._();
- ExprUnknown createEmptyInstance() => create();
- static $pb.PbList createRepeated() => $pb.PbList();
- @$core.pragma('dart2js:noInline')
- static ExprUnknown getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create);
- static ExprUnknown? _defaultInstance;
-
- @$pb.TagNumber(1)
- $core.String get name => $_getSZ(0);
- @$pb.TagNumber(1)
- set name($core.String v) { $_setString(0, v); }
- @$pb.TagNumber(1)
- $core.bool hasName() => $_has(0);
- @$pb.TagNumber(1)
- void clearName() => clearField(1);
-}
-
-class ExprNot extends $pb.GeneratedMessage {
- factory ExprNot({
- Expr? expr,
- }) {
- final $result = create();
- if (expr != null) {
- $result.expr = expr;
- }
- return $result;
- }
- ExprNot._() : super();
- factory ExprNot.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
- factory ExprNot.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
-
- static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ExprNot', package: const $pb.PackageName(_omitMessageNames ? '' : 'cedar.v3'), createEmptyInstance: create)
- ..aOM(1, _omitFieldNames ? '' : 'expr', subBuilder: Expr.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')
- ExprNot clone() => ExprNot()..mergeFromMessage(this);
- @$core.Deprecated(
- 'Using this can add significant overhead to your binary. '
- 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
- 'Will be removed in next major version')
- ExprNot copyWith(void Function(ExprNot) updates) => super.copyWith((message) => updates(message as ExprNot)) as ExprNot;
-
- $pb.BuilderInfo get info_ => _i;
-
- @$core.pragma('dart2js:noInline')
- static ExprNot create() => ExprNot._();
- ExprNot createEmptyInstance() => create();
- static $pb.PbList createRepeated() => $pb.PbList();
- @$core.pragma('dart2js:noInline')
- static ExprNot getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create);
- static ExprNot? _defaultInstance;
-
- @$pb.TagNumber(1)
- Expr get expr => $_getN(0);
- @$pb.TagNumber(1)
- set expr(Expr v) { setField(1, v); }
- @$pb.TagNumber(1)
- $core.bool hasExpr() => $_has(0);
- @$pb.TagNumber(1)
- void clearExpr() => clearField(1);
- @$pb.TagNumber(1)
- Expr ensureExpr() => $_ensure(0);
-}
-
-class ExprNeg extends $pb.GeneratedMessage {
- factory ExprNeg({
- Expr? expr,
- }) {
- final $result = create();
- if (expr != null) {
- $result.expr = expr;
- }
- return $result;
- }
- ExprNeg._() : super();
- factory ExprNeg.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
- factory ExprNeg.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
-
- static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ExprNeg', package: const $pb.PackageName(_omitMessageNames ? '' : 'cedar.v3'), createEmptyInstance: create)
- ..aOM(1, _omitFieldNames ? '' : 'expr', subBuilder: Expr.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')
- ExprNeg clone() => ExprNeg()..mergeFromMessage(this);
- @$core.Deprecated(
- 'Using this can add significant overhead to your binary. '
- 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
- 'Will be removed in next major version')
- ExprNeg copyWith(void Function(ExprNeg) updates) => super.copyWith((message) => updates(message as ExprNeg)) as ExprNeg;
-
- $pb.BuilderInfo get info_ => _i;
-
- @$core.pragma('dart2js:noInline')
- static ExprNeg create() => ExprNeg._();
- ExprNeg createEmptyInstance() => create();
- static $pb.PbList createRepeated() => $pb.PbList();
- @$core.pragma('dart2js:noInline')
- static ExprNeg getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create);
- static ExprNeg? _defaultInstance;
-
- @$pb.TagNumber(1)
- Expr get expr => $_getN(0);
- @$pb.TagNumber(1)
- set expr(Expr v) { setField(1, v); }
- @$pb.TagNumber(1)
- $core.bool hasExpr() => $_has(0);
- @$pb.TagNumber(1)
- void clearExpr() => clearField(1);
- @$pb.TagNumber(1)
- Expr ensureExpr() => $_ensure(0);
-}
-
-class ExprEquals extends $pb.GeneratedMessage {
- factory ExprEquals({
- Expr? left,
- Expr? right,
- }) {
- final $result = create();
- if (left != null) {
- $result.left = left;
- }
- if (right != null) {
- $result.right = right;
- }
- return $result;
- }
- ExprEquals._() : super();
- factory ExprEquals.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
- factory ExprEquals.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
-
- static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ExprEquals', package: const $pb.PackageName(_omitMessageNames ? '' : 'cedar.v3'), createEmptyInstance: create)
- ..aOM(1, _omitFieldNames ? '' : 'left', subBuilder: Expr.create)
- ..aOM(2, _omitFieldNames ? '' : 'right', subBuilder: Expr.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')
- ExprEquals clone() => ExprEquals()..mergeFromMessage(this);
- @$core.Deprecated(
- 'Using this can add significant overhead to your binary. '
- 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
- 'Will be removed in next major version')
- ExprEquals copyWith(void Function(ExprEquals) updates) => super.copyWith((message) => updates(message as ExprEquals)) as ExprEquals;
-
- $pb.BuilderInfo get info_ => _i;
-
- @$core.pragma('dart2js:noInline')
- static ExprEquals create() => ExprEquals._();
- ExprEquals createEmptyInstance() => create();
- static $pb.PbList createRepeated() => $pb.PbList();
- @$core.pragma('dart2js:noInline')
- static ExprEquals getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create);
- static ExprEquals? _defaultInstance;
-
- @$pb.TagNumber(1)
- Expr get left => $_getN(0);
- @$pb.TagNumber(1)
- set left(Expr v) { setField(1, v); }
- @$pb.TagNumber(1)
- $core.bool hasLeft() => $_has(0);
- @$pb.TagNumber(1)
- void clearLeft() => clearField(1);
- @$pb.TagNumber(1)
- Expr ensureLeft() => $_ensure(0);
-
- @$pb.TagNumber(2)
- Expr get right => $_getN(1);
- @$pb.TagNumber(2)
- set right(Expr v) { setField(2, v); }
- @$pb.TagNumber(2)
- $core.bool hasRight() => $_has(1);
- @$pb.TagNumber(2)
- void clearRight() => clearField(2);
- @$pb.TagNumber(2)
- Expr ensureRight() => $_ensure(1);
-}
-
-class ExprNotEquals extends $pb.GeneratedMessage {
- factory ExprNotEquals({
- Expr? left,
- Expr? right,
- }) {
- final $result = create();
- if (left != null) {
- $result.left = left;
- }
- if (right != null) {
- $result.right = right;
- }
- return $result;
- }
- ExprNotEquals._() : super();
- factory ExprNotEquals.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
- factory ExprNotEquals.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
-
- static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ExprNotEquals', package: const $pb.PackageName(_omitMessageNames ? '' : 'cedar.v3'), createEmptyInstance: create)
- ..aOM(1, _omitFieldNames ? '' : 'left', subBuilder: Expr.create)
- ..aOM(2, _omitFieldNames ? '' : 'right', subBuilder: Expr.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')
- ExprNotEquals clone() => ExprNotEquals()..mergeFromMessage(this);
- @$core.Deprecated(
- 'Using this can add significant overhead to your binary. '
- 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
- 'Will be removed in next major version')
- ExprNotEquals copyWith(void Function(ExprNotEquals) updates) => super.copyWith((message) => updates(message as ExprNotEquals)) as ExprNotEquals;
-
- $pb.BuilderInfo get info_ => _i;
-
- @$core.pragma('dart2js:noInline')
- static ExprNotEquals create() => ExprNotEquals._();
- ExprNotEquals createEmptyInstance() => create();
- static $pb.PbList createRepeated() => $pb.PbList();
- @$core.pragma('dart2js:noInline')
- static ExprNotEquals getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create);
- static ExprNotEquals? _defaultInstance;
-
- @$pb.TagNumber(1)
- Expr get left => $_getN(0);
- @$pb.TagNumber(1)
- set left(Expr v) { setField(1, v); }
- @$pb.TagNumber(1)
- $core.bool hasLeft() => $_has(0);
- @$pb.TagNumber(1)
- void clearLeft() => clearField(1);
- @$pb.TagNumber(1)
- Expr ensureLeft() => $_ensure(0);
-
- @$pb.TagNumber(2)
- Expr get right => $_getN(1);
- @$pb.TagNumber(2)
- set right(Expr v) { setField(2, v); }
- @$pb.TagNumber(2)
- $core.bool hasRight() => $_has(1);
- @$pb.TagNumber(2)
- void clearRight() => clearField(2);
- @$pb.TagNumber(2)
- Expr ensureRight() => $_ensure(1);
-}
-
-class ExprIn extends $pb.GeneratedMessage {
- factory ExprIn({
- Expr? left,
- Expr? right,
- }) {
- final $result = create();
- if (left != null) {
- $result.left = left;
- }
- if (right != null) {
- $result.right = right;
- }
- return $result;
- }
- ExprIn._() : super();
- factory ExprIn.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
- factory ExprIn.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
-
- static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ExprIn', package: const $pb.PackageName(_omitMessageNames ? '' : 'cedar.v3'), createEmptyInstance: create)
- ..aOM(1, _omitFieldNames ? '' : 'left', subBuilder: Expr.create)
- ..aOM(2, _omitFieldNames ? '' : 'right', subBuilder: Expr.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')
- ExprIn clone() => ExprIn()..mergeFromMessage(this);
- @$core.Deprecated(
- 'Using this can add significant overhead to your binary. '
- 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
- 'Will be removed in next major version')
- ExprIn copyWith(void Function(ExprIn) updates) => super.copyWith((message) => updates(message as ExprIn)) as ExprIn;
-
- $pb.BuilderInfo get info_ => _i;
-
- @$core.pragma('dart2js:noInline')
- static ExprIn create() => ExprIn._();
- ExprIn createEmptyInstance() => create();
- static $pb.PbList createRepeated() => $pb.PbList();
- @$core.pragma('dart2js:noInline')
- static ExprIn getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create);
- static ExprIn? _defaultInstance;
-
- @$pb.TagNumber(1)
- Expr get left => $_getN(0);
- @$pb.TagNumber(1)
- set left(Expr v) { setField(1, v); }
- @$pb.TagNumber(1)
- $core.bool hasLeft() => $_has(0);
- @$pb.TagNumber(1)
- void clearLeft() => clearField(1);
- @$pb.TagNumber(1)
- Expr ensureLeft() => $_ensure(0);
-
- @$pb.TagNumber(2)
- Expr get right => $_getN(1);
- @$pb.TagNumber(2)
- set right(Expr v) { setField(2, v); }
- @$pb.TagNumber(2)
- $core.bool hasRight() => $_has(1);
- @$pb.TagNumber(2)
- void clearRight() => clearField(2);
- @$pb.TagNumber(2)
- Expr ensureRight() => $_ensure(1);
-}
-
-class ExprLessThan extends $pb.GeneratedMessage {
- factory ExprLessThan({
- Expr? left,
- Expr? right,
- }) {
- final $result = create();
- if (left != null) {
- $result.left = left;
- }
- if (right != null) {
- $result.right = right;
- }
- return $result;
- }
- ExprLessThan._() : super();
- factory ExprLessThan.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
- factory ExprLessThan.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
-
- static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ExprLessThan', package: const $pb.PackageName(_omitMessageNames ? '' : 'cedar.v3'), createEmptyInstance: create)
- ..aOM(1, _omitFieldNames ? '' : 'left', subBuilder: Expr.create)
- ..aOM(2, _omitFieldNames ? '' : 'right', subBuilder: Expr.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')
- ExprLessThan clone() => ExprLessThan()..mergeFromMessage(this);
- @$core.Deprecated(
- 'Using this can add significant overhead to your binary. '
- 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
- 'Will be removed in next major version')
- ExprLessThan copyWith(void Function(ExprLessThan) updates) => super.copyWith((message) => updates(message as ExprLessThan)) as ExprLessThan;
-
- $pb.BuilderInfo get info_ => _i;
-
- @$core.pragma('dart2js:noInline')
- static ExprLessThan create() => ExprLessThan._();
- ExprLessThan createEmptyInstance() => create();
- static $pb.PbList createRepeated() => $pb.PbList();
- @$core.pragma('dart2js:noInline')
- static ExprLessThan getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create);
- static ExprLessThan? _defaultInstance;
-
- @$pb.TagNumber(1)
- Expr get left => $_getN(0);
- @$pb.TagNumber(1)
- set left(Expr v) { setField(1, v); }
- @$pb.TagNumber(1)
- $core.bool hasLeft() => $_has(0);
- @$pb.TagNumber(1)
- void clearLeft() => clearField(1);
- @$pb.TagNumber(1)
- Expr ensureLeft() => $_ensure(0);
-
- @$pb.TagNumber(2)
- Expr get right => $_getN(1);
- @$pb.TagNumber(2)
- set right(Expr v) { setField(2, v); }
- @$pb.TagNumber(2)
- $core.bool hasRight() => $_has(1);
- @$pb.TagNumber(2)
- void clearRight() => clearField(2);
- @$pb.TagNumber(2)
- Expr ensureRight() => $_ensure(1);
-}
-
-class ExprLessThanOrEquals extends $pb.GeneratedMessage {
- factory ExprLessThanOrEquals({
- Expr? left,
- Expr? right,
- }) {
- final $result = create();
- if (left != null) {
- $result.left = left;
- }
- if (right != null) {
- $result.right = right;
- }
- return $result;
- }
- ExprLessThanOrEquals._() : super();
- factory ExprLessThanOrEquals.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
- factory ExprLessThanOrEquals.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
-
- static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ExprLessThanOrEquals', package: const $pb.PackageName(_omitMessageNames ? '' : 'cedar.v3'), createEmptyInstance: create)
- ..aOM(1, _omitFieldNames ? '' : 'left', subBuilder: Expr.create)
- ..aOM(2, _omitFieldNames ? '' : 'right', subBuilder: Expr.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')
- ExprLessThanOrEquals clone() => ExprLessThanOrEquals()..mergeFromMessage(this);
- @$core.Deprecated(
- 'Using this can add significant overhead to your binary. '
- 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
- 'Will be removed in next major version')
- ExprLessThanOrEquals copyWith(void Function(ExprLessThanOrEquals) updates) => super.copyWith((message) => updates(message as ExprLessThanOrEquals)) as ExprLessThanOrEquals;
-
- $pb.BuilderInfo get info_ => _i;
-
- @$core.pragma('dart2js:noInline')
- static ExprLessThanOrEquals create() => ExprLessThanOrEquals._();
- ExprLessThanOrEquals createEmptyInstance() => create();
- static $pb.PbList createRepeated() => $pb.PbList();
- @$core.pragma('dart2js:noInline')
- static ExprLessThanOrEquals getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create);
- static ExprLessThanOrEquals? _defaultInstance;
-
- @$pb.TagNumber(1)
- Expr get left => $_getN(0);
- @$pb.TagNumber(1)
- set left(Expr v) { setField(1, v); }
- @$pb.TagNumber(1)
- $core.bool hasLeft() => $_has(0);
- @$pb.TagNumber(1)
- void clearLeft() => clearField(1);
- @$pb.TagNumber(1)
- Expr ensureLeft() => $_ensure(0);
-
- @$pb.TagNumber(2)
- Expr get right => $_getN(1);
- @$pb.TagNumber(2)
- set right(Expr v) { setField(2, v); }
- @$pb.TagNumber(2)
- $core.bool hasRight() => $_has(1);
- @$pb.TagNumber(2)
- void clearRight() => clearField(2);
- @$pb.TagNumber(2)
- Expr ensureRight() => $_ensure(1);
-}
-
-class ExprGreaterThan extends $pb.GeneratedMessage {
- factory ExprGreaterThan({
- Expr? left,
- Expr? right,
- }) {
- final $result = create();
- if (left != null) {
- $result.left = left;
- }
- if (right != null) {
- $result.right = right;
- }
- return $result;
- }
- ExprGreaterThan._() : super();
- factory ExprGreaterThan.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
- factory ExprGreaterThan.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
-
- static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ExprGreaterThan', package: const $pb.PackageName(_omitMessageNames ? '' : 'cedar.v3'), createEmptyInstance: create)
- ..aOM(1, _omitFieldNames ? '' : 'left', subBuilder: Expr.create)
- ..aOM(2, _omitFieldNames ? '' : 'right', subBuilder: Expr.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')
- ExprGreaterThan clone() => ExprGreaterThan()..mergeFromMessage(this);
- @$core.Deprecated(
- 'Using this can add significant overhead to your binary. '
- 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
- 'Will be removed in next major version')
- ExprGreaterThan copyWith(void Function(ExprGreaterThan) updates) => super.copyWith((message) => updates(message as ExprGreaterThan)) as ExprGreaterThan;
-
- $pb.BuilderInfo get info_ => _i;
-
- @$core.pragma('dart2js:noInline')
- static ExprGreaterThan create() => ExprGreaterThan._();
- ExprGreaterThan createEmptyInstance() => create();
- static $pb.PbList createRepeated() => $pb.PbList();
- @$core.pragma('dart2js:noInline')
- static ExprGreaterThan getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create);
- static ExprGreaterThan? _defaultInstance;
-
- @$pb.TagNumber(1)
- Expr get left => $_getN(0);
- @$pb.TagNumber(1)
- set left(Expr v) { setField(1, v); }
- @$pb.TagNumber(1)
- $core.bool hasLeft() => $_has(0);
- @$pb.TagNumber(1)
- void clearLeft() => clearField(1);
- @$pb.TagNumber(1)
- Expr ensureLeft() => $_ensure(0);
-
- @$pb.TagNumber(2)
- Expr get right => $_getN(1);
- @$pb.TagNumber(2)
- set right(Expr v) { setField(2, v); }
- @$pb.TagNumber(2)
- $core.bool hasRight() => $_has(1);
- @$pb.TagNumber(2)
- void clearRight() => clearField(2);
- @$pb.TagNumber(2)
- Expr ensureRight() => $_ensure(1);
-}
-
-class ExprGreaterThanOrEquals extends $pb.GeneratedMessage {
- factory ExprGreaterThanOrEquals({
- Expr? left,
- Expr? right,
- }) {
- final $result = create();
- if (left != null) {
- $result.left = left;
- }
- if (right != null) {
- $result.right = right;
- }
- return $result;
- }
- ExprGreaterThanOrEquals._() : super();
- factory ExprGreaterThanOrEquals.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
- factory ExprGreaterThanOrEquals.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
-
- static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ExprGreaterThanOrEquals', package: const $pb.PackageName(_omitMessageNames ? '' : 'cedar.v3'), createEmptyInstance: create)
- ..aOM(1, _omitFieldNames ? '' : 'left', subBuilder: Expr.create)
- ..aOM(2, _omitFieldNames ? '' : 'right', subBuilder: Expr.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')
- ExprGreaterThanOrEquals clone() => ExprGreaterThanOrEquals()..mergeFromMessage(this);
- @$core.Deprecated(
- 'Using this can add significant overhead to your binary. '
- 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
- 'Will be removed in next major version')
- ExprGreaterThanOrEquals copyWith(void Function(ExprGreaterThanOrEquals) updates) => super.copyWith((message) => updates(message as ExprGreaterThanOrEquals)) as ExprGreaterThanOrEquals;
-
- $pb.BuilderInfo get info_ => _i;
-
- @$core.pragma('dart2js:noInline')
- static ExprGreaterThanOrEquals create() => ExprGreaterThanOrEquals._();
- ExprGreaterThanOrEquals createEmptyInstance() => create();
- static $pb.PbList createRepeated() => $pb.PbList();
- @$core.pragma('dart2js:noInline')
- static ExprGreaterThanOrEquals getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create);
- static ExprGreaterThanOrEquals? _defaultInstance;
-
- @$pb.TagNumber(1)
- Expr get left => $_getN(0);
- @$pb.TagNumber(1)
- set left(Expr v) { setField(1, v); }
- @$pb.TagNumber(1)
- $core.bool hasLeft() => $_has(0);
- @$pb.TagNumber(1)
- void clearLeft() => clearField(1);
- @$pb.TagNumber(1)
- Expr ensureLeft() => $_ensure(0);
-
- @$pb.TagNumber(2)
- Expr get right => $_getN(1);
- @$pb.TagNumber(2)
- set right(Expr v) { setField(2, v); }
- @$pb.TagNumber(2)
- $core.bool hasRight() => $_has(1);
- @$pb.TagNumber(2)
- void clearRight() => clearField(2);
- @$pb.TagNumber(2)
- Expr ensureRight() => $_ensure(1);
-}
-
-class ExprAnd extends $pb.GeneratedMessage {
- factory ExprAnd({
- Expr? left,
- Expr? right,
- }) {
- final $result = create();
- if (left != null) {
- $result.left = left;
- }
- if (right != null) {
- $result.right = right;
- }
- return $result;
- }
- ExprAnd._() : super();
- factory ExprAnd.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
- factory ExprAnd.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
-
- static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ExprAnd', package: const $pb.PackageName(_omitMessageNames ? '' : 'cedar.v3'), createEmptyInstance: create)
- ..aOM(1, _omitFieldNames ? '' : 'left', subBuilder: Expr.create)
- ..aOM(2, _omitFieldNames ? '' : 'right', subBuilder: Expr.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')
- ExprAnd clone() => ExprAnd()..mergeFromMessage(this);
- @$core.Deprecated(
- 'Using this can add significant overhead to your binary. '
- 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
- 'Will be removed in next major version')
- ExprAnd copyWith(void Function(ExprAnd) updates) => super.copyWith((message) => updates(message as ExprAnd)) as ExprAnd;
-
- $pb.BuilderInfo get info_ => _i;
-
- @$core.pragma('dart2js:noInline')
- static ExprAnd create() => ExprAnd._();
- ExprAnd createEmptyInstance() => create();
- static $pb.PbList createRepeated() => $pb.PbList();
- @$core.pragma('dart2js:noInline')
- static ExprAnd getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create);
- static ExprAnd? _defaultInstance;
-
- @$pb.TagNumber(1)
- Expr get left => $_getN(0);
- @$pb.TagNumber(1)
- set left(Expr v) { setField(1, v); }
- @$pb.TagNumber(1)
- $core.bool hasLeft() => $_has(0);
- @$pb.TagNumber(1)
- void clearLeft() => clearField(1);
- @$pb.TagNumber(1)
- Expr ensureLeft() => $_ensure(0);
-
- @$pb.TagNumber(2)
- Expr get right => $_getN(1);
- @$pb.TagNumber(2)
- set right(Expr v) { setField(2, v); }
- @$pb.TagNumber(2)
- $core.bool hasRight() => $_has(1);
- @$pb.TagNumber(2)
- void clearRight() => clearField(2);
- @$pb.TagNumber(2)
- Expr ensureRight() => $_ensure(1);
-}
-
-class ExprOr extends $pb.GeneratedMessage {
- factory ExprOr({
- Expr? left,
- Expr? right,
- }) {
- final $result = create();
- if (left != null) {
- $result.left = left;
- }
- if (right != null) {
- $result.right = right;
- }
- return $result;
- }
- ExprOr._() : super();
- factory ExprOr.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
- factory ExprOr.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
-
- static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ExprOr', package: const $pb.PackageName(_omitMessageNames ? '' : 'cedar.v3'), createEmptyInstance: create)
- ..aOM(1, _omitFieldNames ? '' : 'left', subBuilder: Expr.create)
- ..aOM(2, _omitFieldNames ? '' : 'right', subBuilder: Expr.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')
- ExprOr clone() => ExprOr()..mergeFromMessage(this);
- @$core.Deprecated(
- 'Using this can add significant overhead to your binary. '
- 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
- 'Will be removed in next major version')
- ExprOr copyWith(void Function(ExprOr) updates) => super.copyWith((message) => updates(message as ExprOr)) as ExprOr;
-
- $pb.BuilderInfo get info_ => _i;
-
- @$core.pragma('dart2js:noInline')
- static ExprOr create() => ExprOr._();
- ExprOr createEmptyInstance() => create();
- static $pb.PbList createRepeated() => $pb.PbList();
- @$core.pragma('dart2js:noInline')
- static ExprOr getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create);
- static ExprOr? _defaultInstance;
-
- @$pb.TagNumber(1)
- Expr get left => $_getN(0);
- @$pb.TagNumber(1)
- set left(Expr v) { setField(1, v); }
- @$pb.TagNumber(1)
- $core.bool hasLeft() => $_has(0);
- @$pb.TagNumber(1)
- void clearLeft() => clearField(1);
- @$pb.TagNumber(1)
- Expr ensureLeft() => $_ensure(0);
-
- @$pb.TagNumber(2)
- Expr get right => $_getN(1);
- @$pb.TagNumber(2)
- set right(Expr v) { setField(2, v); }
- @$pb.TagNumber(2)
- $core.bool hasRight() => $_has(1);
- @$pb.TagNumber(2)
- void clearRight() => clearField(2);
- @$pb.TagNumber(2)
- Expr ensureRight() => $_ensure(1);
-}
-
-class ExprPlus extends $pb.GeneratedMessage {
- factory ExprPlus({
- Expr? left,
- Expr? right,
- }) {
- final $result = create();
- if (left != null) {
- $result.left = left;
- }
- if (right != null) {
- $result.right = right;
- }
- return $result;
- }
- ExprPlus._() : super();
- factory ExprPlus.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
- factory ExprPlus.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
-
- static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ExprPlus', package: const $pb.PackageName(_omitMessageNames ? '' : 'cedar.v3'), createEmptyInstance: create)
- ..aOM(1, _omitFieldNames ? '' : 'left', subBuilder: Expr.create)
- ..aOM(2, _omitFieldNames ? '' : 'right', subBuilder: Expr.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')
- ExprPlus clone() => ExprPlus()..mergeFromMessage(this);
- @$core.Deprecated(
- 'Using this can add significant overhead to your binary. '
- 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
- 'Will be removed in next major version')
- ExprPlus copyWith(void Function(ExprPlus) updates) => super.copyWith((message) => updates(message as ExprPlus)) as ExprPlus;
-
- $pb.BuilderInfo get info_ => _i;
-
- @$core.pragma('dart2js:noInline')
- static ExprPlus create() => ExprPlus._();
- ExprPlus createEmptyInstance() => create();
- static $pb.PbList createRepeated() => $pb.PbList();
- @$core.pragma('dart2js:noInline')
- static ExprPlus getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create);
- static ExprPlus? _defaultInstance;
-
- @$pb.TagNumber(1)
- Expr get left => $_getN(0);
- @$pb.TagNumber(1)
- set left(Expr v) { setField(1, v); }
- @$pb.TagNumber(1)
- $core.bool hasLeft() => $_has(0);
- @$pb.TagNumber(1)
- void clearLeft() => clearField(1);
- @$pb.TagNumber(1)
- Expr ensureLeft() => $_ensure(0);
-
- @$pb.TagNumber(2)
- Expr get right => $_getN(1);
- @$pb.TagNumber(2)
- set right(Expr v) { setField(2, v); }
- @$pb.TagNumber(2)
- $core.bool hasRight() => $_has(1);
- @$pb.TagNumber(2)
- void clearRight() => clearField(2);
- @$pb.TagNumber(2)
- Expr ensureRight() => $_ensure(1);
-}
-
-class ExprMinus extends $pb.GeneratedMessage {
- factory ExprMinus({
- Expr? left,
- Expr? right,
- }) {
- final $result = create();
- if (left != null) {
- $result.left = left;
- }
- if (right != null) {
- $result.right = right;
- }
- return $result;
- }
- ExprMinus._() : super();
- factory ExprMinus.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
- factory ExprMinus.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
-
- static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ExprMinus', package: const $pb.PackageName(_omitMessageNames ? '' : 'cedar.v3'), createEmptyInstance: create)
- ..aOM(1, _omitFieldNames ? '' : 'left', subBuilder: Expr.create)
- ..aOM(2, _omitFieldNames ? '' : 'right', subBuilder: Expr.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')
- ExprMinus clone() => ExprMinus()..mergeFromMessage(this);
- @$core.Deprecated(
- 'Using this can add significant overhead to your binary. '
- 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
- 'Will be removed in next major version')
- ExprMinus copyWith(void Function(ExprMinus) updates) => super.copyWith((message) => updates(message as ExprMinus)) as ExprMinus;
-
- $pb.BuilderInfo get info_ => _i;
-
- @$core.pragma('dart2js:noInline')
- static ExprMinus create() => ExprMinus._();
- ExprMinus createEmptyInstance() => create();
- static $pb.PbList createRepeated() => $pb.PbList();
- @$core.pragma('dart2js:noInline')
- static ExprMinus getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create);
- static ExprMinus? _defaultInstance;
-
- @$pb.TagNumber(1)
- Expr get left => $_getN(0);
- @$pb.TagNumber(1)
- set left(Expr v) { setField(1, v); }
- @$pb.TagNumber(1)
- $core.bool hasLeft() => $_has(0);
- @$pb.TagNumber(1)
- void clearLeft() => clearField(1);
- @$pb.TagNumber(1)
- Expr ensureLeft() => $_ensure(0);
-
- @$pb.TagNumber(2)
- Expr get right => $_getN(1);
- @$pb.TagNumber(2)
- set right(Expr v) { setField(2, v); }
- @$pb.TagNumber(2)
- $core.bool hasRight() => $_has(1);
- @$pb.TagNumber(2)
- void clearRight() => clearField(2);
- @$pb.TagNumber(2)
- Expr ensureRight() => $_ensure(1);
-}
-
-class ExprTimes extends $pb.GeneratedMessage {
- factory ExprTimes({
- Expr? left,
- Expr? right,
- }) {
- final $result = create();
- if (left != null) {
- $result.left = left;
- }
- if (right != null) {
- $result.right = right;
- }
- return $result;
- }
- ExprTimes._() : super();
- factory ExprTimes.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
- factory ExprTimes.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
-
- static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ExprTimes', package: const $pb.PackageName(_omitMessageNames ? '' : 'cedar.v3'), createEmptyInstance: create)
- ..aOM(1, _omitFieldNames ? '' : 'left', subBuilder: Expr.create)
- ..aOM(2, _omitFieldNames ? '' : 'right', subBuilder: Expr.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')
- ExprTimes clone() => ExprTimes()..mergeFromMessage(this);
- @$core.Deprecated(
- 'Using this can add significant overhead to your binary. '
- 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
- 'Will be removed in next major version')
- ExprTimes copyWith(void Function(ExprTimes) updates) => super.copyWith((message) => updates(message as ExprTimes)) as ExprTimes;
-
- $pb.BuilderInfo get info_ => _i;
-
- @$core.pragma('dart2js:noInline')
- static ExprTimes create() => ExprTimes._();
- ExprTimes createEmptyInstance() => create();
- static $pb.PbList createRepeated() => $pb.PbList();
- @$core.pragma('dart2js:noInline')
- static ExprTimes getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create);
- static ExprTimes? _defaultInstance;
-
- @$pb.TagNumber(1)
- Expr get left => $_getN(0);
- @$pb.TagNumber(1)
- set left(Expr v) { setField(1, v); }
- @$pb.TagNumber(1)
- $core.bool hasLeft() => $_has(0);
- @$pb.TagNumber(1)
- void clearLeft() => clearField(1);
- @$pb.TagNumber(1)
- Expr ensureLeft() => $_ensure(0);
-
- @$pb.TagNumber(2)
- Expr get right => $_getN(1);
- @$pb.TagNumber(2)
- set right(Expr v) { setField(2, v); }
- @$pb.TagNumber(2)
- $core.bool hasRight() => $_has(1);
- @$pb.TagNumber(2)
- void clearRight() => clearField(2);
- @$pb.TagNumber(2)
- Expr ensureRight() => $_ensure(1);
-}
-
-class ExprContains extends $pb.GeneratedMessage {
- factory ExprContains({
- Expr? left,
- Expr? right,
- }) {
- final $result = create();
- if (left != null) {
- $result.left = left;
- }
- if (right != null) {
- $result.right = right;
- }
- return $result;
- }
- ExprContains._() : super();
- factory ExprContains.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
- factory ExprContains.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
-
- static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ExprContains', package: const $pb.PackageName(_omitMessageNames ? '' : 'cedar.v3'), createEmptyInstance: create)
- ..aOM(1, _omitFieldNames ? '' : 'left', subBuilder: Expr.create)
- ..aOM(2, _omitFieldNames ? '' : 'right', subBuilder: Expr.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')
- ExprContains clone() => ExprContains()..mergeFromMessage(this);
- @$core.Deprecated(
- 'Using this can add significant overhead to your binary. '
- 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
- 'Will be removed in next major version')
- ExprContains copyWith(void Function(ExprContains) updates) => super.copyWith((message) => updates(message as ExprContains)) as ExprContains;
-
- $pb.BuilderInfo get info_ => _i;
-
- @$core.pragma('dart2js:noInline')
- static ExprContains create() => ExprContains._();
- ExprContains createEmptyInstance() => create();
- static $pb.PbList createRepeated() => $pb.PbList();
- @$core.pragma('dart2js:noInline')
- static ExprContains getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create);
- static ExprContains? _defaultInstance;
-
- @$pb.TagNumber(1)
- Expr get left => $_getN(0);
- @$pb.TagNumber(1)
- set left(Expr v) { setField(1, v); }
- @$pb.TagNumber(1)
- $core.bool hasLeft() => $_has(0);
- @$pb.TagNumber(1)
- void clearLeft() => clearField(1);
- @$pb.TagNumber(1)
- Expr ensureLeft() => $_ensure(0);
-
- @$pb.TagNumber(2)
- Expr get right => $_getN(1);
- @$pb.TagNumber(2)
- set right(Expr v) { setField(2, v); }
- @$pb.TagNumber(2)
- $core.bool hasRight() => $_has(1);
- @$pb.TagNumber(2)
- void clearRight() => clearField(2);
- @$pb.TagNumber(2)
- Expr ensureRight() => $_ensure(1);
-}
-
-class ExprContainsAll extends $pb.GeneratedMessage {
- factory ExprContainsAll({
- Expr? left,
- Expr? right,
- }) {
- final $result = create();
- if (left != null) {
- $result.left = left;
- }
- if (right != null) {
- $result.right = right;
- }
- return $result;
- }
- ExprContainsAll._() : super();
- factory ExprContainsAll.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
- factory ExprContainsAll.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
-
- static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ExprContainsAll', package: const $pb.PackageName(_omitMessageNames ? '' : 'cedar.v3'), createEmptyInstance: create)
- ..aOM(1, _omitFieldNames ? '' : 'left', subBuilder: Expr.create)
- ..aOM(2, _omitFieldNames ? '' : 'right', subBuilder: Expr.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')
- ExprContainsAll clone() => ExprContainsAll()..mergeFromMessage(this);
- @$core.Deprecated(
- 'Using this can add significant overhead to your binary. '
- 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
- 'Will be removed in next major version')
- ExprContainsAll copyWith(void Function(ExprContainsAll) updates) => super.copyWith((message) => updates(message as ExprContainsAll)) as ExprContainsAll;
-
- $pb.BuilderInfo get info_ => _i;
-
- @$core.pragma('dart2js:noInline')
- static ExprContainsAll create() => ExprContainsAll._();
- ExprContainsAll createEmptyInstance() => create();
- static $pb.PbList createRepeated() => $pb.PbList();
- @$core.pragma('dart2js:noInline')
- static ExprContainsAll getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create);
- static ExprContainsAll? _defaultInstance;
-
- @$pb.TagNumber(1)
- Expr get left => $_getN(0);
- @$pb.TagNumber(1)
- set left(Expr v) { setField(1, v); }
- @$pb.TagNumber(1)
- $core.bool hasLeft() => $_has(0);
- @$pb.TagNumber(1)
- void clearLeft() => clearField(1);
- @$pb.TagNumber(1)
- Expr ensureLeft() => $_ensure(0);
-
- @$pb.TagNumber(2)
- Expr get right => $_getN(1);
- @$pb.TagNumber(2)
- set right(Expr v) { setField(2, v); }
- @$pb.TagNumber(2)
- $core.bool hasRight() => $_has(1);
- @$pb.TagNumber(2)
- void clearRight() => clearField(2);
- @$pb.TagNumber(2)
- Expr ensureRight() => $_ensure(1);
-}
-
-class ExprContainsAny extends $pb.GeneratedMessage {
- factory ExprContainsAny({
- Expr? left,
- Expr? right,
- }) {
- final $result = create();
- if (left != null) {
- $result.left = left;
- }
- if (right != null) {
- $result.right = right;
- }
- return $result;
- }
- ExprContainsAny._() : super();
- factory ExprContainsAny.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
- factory ExprContainsAny.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
-
- static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ExprContainsAny', package: const $pb.PackageName(_omitMessageNames ? '' : 'cedar.v3'), createEmptyInstance: create)
- ..aOM(1, _omitFieldNames ? '' : 'left', subBuilder: Expr.create)
- ..aOM(2, _omitFieldNames ? '' : 'right', subBuilder: Expr.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')
- ExprContainsAny clone() => ExprContainsAny()..mergeFromMessage(this);
- @$core.Deprecated(
- 'Using this can add significant overhead to your binary. '
- 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
- 'Will be removed in next major version')
- ExprContainsAny copyWith(void Function(ExprContainsAny) updates) => super.copyWith((message) => updates(message as ExprContainsAny)) as ExprContainsAny;
-
- $pb.BuilderInfo get info_ => _i;
-
- @$core.pragma('dart2js:noInline')
- static ExprContainsAny create() => ExprContainsAny._();
- ExprContainsAny createEmptyInstance() => create();
- static $pb.PbList createRepeated() => $pb.PbList();
- @$core.pragma('dart2js:noInline')
- static ExprContainsAny getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create);
- static ExprContainsAny? _defaultInstance;
-
- @$pb.TagNumber(1)
- Expr get left => $_getN(0);
- @$pb.TagNumber(1)
- set left(Expr v) { setField(1, v); }
- @$pb.TagNumber(1)
- $core.bool hasLeft() => $_has(0);
- @$pb.TagNumber(1)
- void clearLeft() => clearField(1);
- @$pb.TagNumber(1)
- Expr ensureLeft() => $_ensure(0);
-
- @$pb.TagNumber(2)
- Expr get right => $_getN(1);
- @$pb.TagNumber(2)
- set right(Expr v) { setField(2, v); }
- @$pb.TagNumber(2)
- $core.bool hasRight() => $_has(1);
- @$pb.TagNumber(2)
- void clearRight() => clearField(2);
- @$pb.TagNumber(2)
- Expr ensureRight() => $_ensure(1);
-}
-
-class ExprGetAttribute extends $pb.GeneratedMessage {
- factory ExprGetAttribute({
- Expr? left,
- $core.String? attr,
- }) {
- final $result = create();
- if (left != null) {
- $result.left = left;
- }
- if (attr != null) {
- $result.attr = attr;
- }
- return $result;
- }
- ExprGetAttribute._() : super();
- factory ExprGetAttribute.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
- factory ExprGetAttribute.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
-
- static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ExprGetAttribute', package: const $pb.PackageName(_omitMessageNames ? '' : 'cedar.v3'), createEmptyInstance: create)
- ..aOM(1, _omitFieldNames ? '' : 'left', subBuilder: Expr.create)
- ..aOS(2, _omitFieldNames ? '' : 'attr')
- ..hasRequiredFields = false
- ;
-
- @$core.Deprecated(
- 'Using this can add significant overhead to your binary. '
- 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
- 'Will be removed in next major version')
- ExprGetAttribute clone() => ExprGetAttribute()..mergeFromMessage(this);
- @$core.Deprecated(
- 'Using this can add significant overhead to your binary. '
- 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
- 'Will be removed in next major version')
- ExprGetAttribute copyWith(void Function(ExprGetAttribute) updates) => super.copyWith((message) => updates(message as ExprGetAttribute)) as ExprGetAttribute;
-
- $pb.BuilderInfo get info_ => _i;
-
- @$core.pragma('dart2js:noInline')
- static ExprGetAttribute create() => ExprGetAttribute._();
- ExprGetAttribute createEmptyInstance() => create();
- static $pb.PbList createRepeated() => $pb.PbList();
- @$core.pragma('dart2js:noInline')
- static ExprGetAttribute getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create);
- static ExprGetAttribute? _defaultInstance;
-
- @$pb.TagNumber(1)
- Expr get left => $_getN(0);
- @$pb.TagNumber(1)
- set left(Expr v) { setField(1, v); }
- @$pb.TagNumber(1)
- $core.bool hasLeft() => $_has(0);
- @$pb.TagNumber(1)
- void clearLeft() => clearField(1);
- @$pb.TagNumber(1)
- Expr ensureLeft() => $_ensure(0);
-
- @$pb.TagNumber(2)
- $core.String get attr => $_getSZ(1);
- @$pb.TagNumber(2)
- set attr($core.String v) { $_setString(1, v); }
- @$pb.TagNumber(2)
- $core.bool hasAttr() => $_has(1);
- @$pb.TagNumber(2)
- void clearAttr() => clearField(2);
-}
-
-class ExprHasAttribute extends $pb.GeneratedMessage {
- factory ExprHasAttribute({
- Expr? left,
- $core.String? attr,
- }) {
- final $result = create();
- if (left != null) {
- $result.left = left;
- }
- if (attr != null) {
- $result.attr = attr;
- }
- return $result;
- }
- ExprHasAttribute._() : super();
- factory ExprHasAttribute.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
- factory ExprHasAttribute.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
-
- static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ExprHasAttribute', package: const $pb.PackageName(_omitMessageNames ? '' : 'cedar.v3'), createEmptyInstance: create)
- ..aOM(1, _omitFieldNames ? '' : 'left', subBuilder: Expr.create)
- ..aOS(2, _omitFieldNames ? '' : 'attr')
- ..hasRequiredFields = false
- ;
-
- @$core.Deprecated(
- 'Using this can add significant overhead to your binary. '
- 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
- 'Will be removed in next major version')
- ExprHasAttribute clone() => ExprHasAttribute()..mergeFromMessage(this);
- @$core.Deprecated(
- 'Using this can add significant overhead to your binary. '
- 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
- 'Will be removed in next major version')
- ExprHasAttribute copyWith(void Function(ExprHasAttribute) updates) => super.copyWith((message) => updates(message as ExprHasAttribute)) as ExprHasAttribute;
-
- $pb.BuilderInfo get info_ => _i;
-
- @$core.pragma('dart2js:noInline')
- static ExprHasAttribute create() => ExprHasAttribute._();
- ExprHasAttribute createEmptyInstance() => create();
- static $pb.PbList createRepeated() => $pb.PbList();
- @$core.pragma('dart2js:noInline')
- static ExprHasAttribute getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create);
- static ExprHasAttribute? _defaultInstance;
-
- @$pb.TagNumber(1)
- Expr get left => $_getN(0);
- @$pb.TagNumber(1)
- set left(Expr v) { setField(1, v); }
- @$pb.TagNumber(1)
- $core.bool hasLeft() => $_has(0);
- @$pb.TagNumber(1)
- void clearLeft() => clearField(1);
- @$pb.TagNumber(1)
- Expr ensureLeft() => $_ensure(0);
-
- @$pb.TagNumber(2)
- $core.String get attr => $_getSZ(1);
- @$pb.TagNumber(2)
- set attr($core.String v) { $_setString(1, v); }
- @$pb.TagNumber(2)
- $core.bool hasAttr() => $_has(1);
- @$pb.TagNumber(2)
- void clearAttr() => clearField(2);
-}
-
-class ExprLike extends $pb.GeneratedMessage {
- factory ExprLike({
- Expr? left,
- $core.String? pattern,
- }) {
- final $result = create();
- if (left != null) {
- $result.left = left;
- }
- if (pattern != null) {
- $result.pattern = pattern;
- }
- return $result;
- }
- ExprLike._() : super();
- factory ExprLike.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
- factory ExprLike.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
-
- static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ExprLike', package: const $pb.PackageName(_omitMessageNames ? '' : 'cedar.v3'), createEmptyInstance: create)
- ..aOM(1, _omitFieldNames ? '' : 'left', subBuilder: Expr.create)
- ..aOS(2, _omitFieldNames ? '' : 'pattern')
- ..hasRequiredFields = false
- ;
-
- @$core.Deprecated(
- 'Using this can add significant overhead to your binary. '
- 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
- 'Will be removed in next major version')
- ExprLike clone() => ExprLike()..mergeFromMessage(this);
- @$core.Deprecated(
- 'Using this can add significant overhead to your binary. '
- 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
- 'Will be removed in next major version')
- ExprLike copyWith(void Function(ExprLike) updates) => super.copyWith((message) => updates(message as ExprLike)) as ExprLike;
-
- $pb.BuilderInfo get info_ => _i;
-
- @$core.pragma('dart2js:noInline')
- static ExprLike create() => ExprLike._();
- ExprLike createEmptyInstance() => create();
- static $pb.PbList createRepeated() => $pb.PbList();
- @$core.pragma('dart2js:noInline')
- static ExprLike getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create);
- static ExprLike? _defaultInstance;
-
- @$pb.TagNumber(1)
- Expr get left => $_getN(0);
- @$pb.TagNumber(1)
- set left(Expr v) { setField(1, v); }
- @$pb.TagNumber(1)
- $core.bool hasLeft() => $_has(0);
- @$pb.TagNumber(1)
- void clearLeft() => clearField(1);
- @$pb.TagNumber(1)
- Expr ensureLeft() => $_ensure(0);
-
- @$pb.TagNumber(2)
- $core.String get pattern => $_getSZ(1);
- @$pb.TagNumber(2)
- set pattern($core.String v) { $_setString(1, v); }
- @$pb.TagNumber(2)
- $core.bool hasPattern() => $_has(1);
- @$pb.TagNumber(2)
- void clearPattern() => clearField(2);
-}
-
-class ExprIs extends $pb.GeneratedMessage {
- factory ExprIs({
- Expr? left,
- $core.String? entityType,
- Expr? in_,
- }) {
- final $result = create();
- if (left != null) {
- $result.left = left;
- }
- if (entityType != null) {
- $result.entityType = entityType;
- }
- if (in_ != null) {
- $result.in_ = in_;
- }
- return $result;
- }
- ExprIs._() : super();
- factory ExprIs.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
- factory ExprIs.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
-
- static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ExprIs', package: const $pb.PackageName(_omitMessageNames ? '' : 'cedar.v3'), createEmptyInstance: create)
- ..aOM(1, _omitFieldNames ? '' : 'left', subBuilder: Expr.create)
- ..aOS(2, _omitFieldNames ? '' : 'entityType')
- ..aOM(3, _omitFieldNames ? '' : 'in', subBuilder: Expr.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')
- ExprIs clone() => ExprIs()..mergeFromMessage(this);
- @$core.Deprecated(
- 'Using this can add significant overhead to your binary. '
- 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
- 'Will be removed in next major version')
- ExprIs copyWith(void Function(ExprIs) updates) => super.copyWith((message) => updates(message as ExprIs)) as ExprIs;
-
- $pb.BuilderInfo get info_ => _i;
-
- @$core.pragma('dart2js:noInline')
- static ExprIs create() => ExprIs._();
- ExprIs createEmptyInstance() => create();
- static $pb.PbList createRepeated() => $pb.PbList();
- @$core.pragma('dart2js:noInline')
- static ExprIs getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create);
- static ExprIs? _defaultInstance;
-
- @$pb.TagNumber(1)
- Expr get left => $_getN(0);
- @$pb.TagNumber(1)
- set left(Expr v) { setField(1, v); }
- @$pb.TagNumber(1)
- $core.bool hasLeft() => $_has(0);
- @$pb.TagNumber(1)
- void clearLeft() => clearField(1);
- @$pb.TagNumber(1)
- Expr ensureLeft() => $_ensure(0);
-
- @$pb.TagNumber(2)
- $core.String get entityType => $_getSZ(1);
- @$pb.TagNumber(2)
- set entityType($core.String v) { $_setString(1, v); }
- @$pb.TagNumber(2)
- $core.bool hasEntityType() => $_has(1);
- @$pb.TagNumber(2)
- void clearEntityType() => clearField(2);
-
- @$pb.TagNumber(3)
- Expr get in_ => $_getN(2);
- @$pb.TagNumber(3)
- set in_(Expr v) { setField(3, v); }
- @$pb.TagNumber(3)
- $core.bool hasIn_() => $_has(2);
- @$pb.TagNumber(3)
- void clearIn_() => clearField(3);
- @$pb.TagNumber(3)
- Expr ensureIn_() => $_ensure(2);
-}
-
-class ExprIfThenElse extends $pb.GeneratedMessage {
- factory ExprIfThenElse({
- Expr? if_,
- Expr? then,
- Expr? else_,
- }) {
- final $result = create();
- if (if_ != null) {
- $result.if_ = if_;
- }
- if (then != null) {
- $result.then = then;
- }
- if (else_ != null) {
- $result.else_ = else_;
- }
- return $result;
- }
- ExprIfThenElse._() : super();
- factory ExprIfThenElse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
- factory ExprIfThenElse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
-
- static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ExprIfThenElse', package: const $pb.PackageName(_omitMessageNames ? '' : 'cedar.v3'), createEmptyInstance: create)
- ..aOM(1, _omitFieldNames ? '' : 'if', subBuilder: Expr.create)
- ..aOM(2, _omitFieldNames ? '' : 'then', subBuilder: Expr.create)
- ..aOM(3, _omitFieldNames ? '' : 'else', subBuilder: Expr.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')
- ExprIfThenElse clone() => ExprIfThenElse()..mergeFromMessage(this);
- @$core.Deprecated(
- 'Using this can add significant overhead to your binary. '
- 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
- 'Will be removed in next major version')
- ExprIfThenElse copyWith(void Function(ExprIfThenElse) updates) => super.copyWith((message) => updates(message as ExprIfThenElse)) as ExprIfThenElse;
-
- $pb.BuilderInfo get info_ => _i;
-
- @$core.pragma('dart2js:noInline')
- static ExprIfThenElse create() => ExprIfThenElse._();
- ExprIfThenElse createEmptyInstance() => create();
- static $pb.PbList createRepeated() => $pb.PbList();
- @$core.pragma('dart2js:noInline')
- static ExprIfThenElse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create);
- static ExprIfThenElse? _defaultInstance;
-
- @$pb.TagNumber(1)
- Expr get if_ => $_getN(0);
- @$pb.TagNumber(1)
- set if_(Expr v) { setField(1, v); }
- @$pb.TagNumber(1)
- $core.bool hasIf_() => $_has(0);
- @$pb.TagNumber(1)
- void clearIf_() => clearField(1);
- @$pb.TagNumber(1)
- Expr ensureIf_() => $_ensure(0);
-
- @$pb.TagNumber(2)
- Expr get then => $_getN(1);
- @$pb.TagNumber(2)
- set then(Expr v) { setField(2, v); }
- @$pb.TagNumber(2)
- $core.bool hasThen() => $_has(1);
- @$pb.TagNumber(2)
- void clearThen() => clearField(2);
- @$pb.TagNumber(2)
- Expr ensureThen() => $_ensure(1);
-
- @$pb.TagNumber(3)
- Expr get else_ => $_getN(2);
- @$pb.TagNumber(3)
- set else_(Expr v) { setField(3, v); }
- @$pb.TagNumber(3)
- $core.bool hasElse_() => $_has(2);
- @$pb.TagNumber(3)
- void clearElse_() => clearField(3);
- @$pb.TagNumber(3)
- Expr ensureElse_() => $_ensure(2);
-}
-
-class ExprSet extends $pb.GeneratedMessage {
- factory ExprSet({
- $core.Iterable? expressions,
- }) {
- final $result = create();
- if (expressions != null) {
- $result.expressions.addAll(expressions);
- }
- return $result;
- }
- ExprSet._() : super();
- factory ExprSet.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
- factory ExprSet.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
-
- static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ExprSet', package: const $pb.PackageName(_omitMessageNames ? '' : 'cedar.v3'), createEmptyInstance: create)
- ..pc(1, _omitFieldNames ? '' : 'expressions', $pb.PbFieldType.PM, subBuilder: Expr.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')
- ExprSet clone() => ExprSet()..mergeFromMessage(this);
- @$core.Deprecated(
- 'Using this can add significant overhead to your binary. '
- 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
- 'Will be removed in next major version')
- ExprSet copyWith(void Function(ExprSet) updates) => super.copyWith((message) => updates(message as ExprSet)) as ExprSet;
-
- $pb.BuilderInfo get info_ => _i;
-
- @$core.pragma('dart2js:noInline')
- static ExprSet create() => ExprSet._();
- ExprSet createEmptyInstance() => create();
- static $pb.PbList createRepeated() => $pb.PbList();
- @$core.pragma('dart2js:noInline')
- static ExprSet getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create);
- static ExprSet? _defaultInstance;
-
- @$pb.TagNumber(1)
- $core.List get expressions => $_getList(0);
-}
-
-class ExprRecord extends $pb.GeneratedMessage {
- factory ExprRecord({
- $core.Map<$core.String, Expr>? attributes,
- }) {
- final $result = create();
- if (attributes != null) {
- $result.attributes.addAll(attributes);
- }
- return $result;
- }
- ExprRecord._() : super();
- factory ExprRecord.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
- factory ExprRecord.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
-
- static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ExprRecord', package: const $pb.PackageName(_omitMessageNames ? '' : 'cedar.v3'), createEmptyInstance: create)
- ..m<$core.String, Expr>(1, _omitFieldNames ? '' : 'attributes', entryClassName: 'ExprRecord.AttributesEntry', keyFieldType: $pb.PbFieldType.OS, valueFieldType: $pb.PbFieldType.OM, valueCreator: Expr.create, valueDefaultOrMaker: Expr.getDefault, packageName: const $pb.PackageName('cedar.v3'))
- ..hasRequiredFields = false
- ;
-
- @$core.Deprecated(
- 'Using this can add significant overhead to your binary. '
- 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
- 'Will be removed in next major version')
- ExprRecord clone() => ExprRecord()..mergeFromMessage(this);
- @$core.Deprecated(
- 'Using this can add significant overhead to your binary. '
- 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
- 'Will be removed in next major version')
- ExprRecord copyWith(void Function(ExprRecord) updates) => super.copyWith((message) => updates(message as ExprRecord)) as ExprRecord;
-
- $pb.BuilderInfo get info_ => _i;
-
- @$core.pragma('dart2js:noInline')
- static ExprRecord create() => ExprRecord._();
- ExprRecord createEmptyInstance() => create();
- static $pb.PbList createRepeated() => $pb.PbList();
- @$core.pragma('dart2js:noInline')
- static ExprRecord getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create);
- static ExprRecord? _defaultInstance;
-
- @$pb.TagNumber(1)
- $core.Map<$core.String, Expr> get attributes => $_getMap(0);
-}
-
-class ExprFuncCall extends $pb.GeneratedMessage {
- factory ExprFuncCall({
- $core.String? fn,
- $core.Iterable? args,
- }) {
- final $result = create();
- if (fn != null) {
- $result.fn = fn;
- }
- if (args != null) {
- $result.args.addAll(args);
- }
- return $result;
- }
- ExprFuncCall._() : super();
- factory ExprFuncCall.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
- factory ExprFuncCall.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
-
- static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ExprFuncCall', package: const $pb.PackageName(_omitMessageNames ? '' : 'cedar.v3'), createEmptyInstance: create)
- ..aOS(1, _omitFieldNames ? '' : 'fn')
- ..pc(2, _omitFieldNames ? '' : 'args', $pb.PbFieldType.PM, subBuilder: Expr.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')
- ExprFuncCall clone() => ExprFuncCall()..mergeFromMessage(this);
- @$core.Deprecated(
- 'Using this can add significant overhead to your binary. '
- 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
- 'Will be removed in next major version')
- ExprFuncCall copyWith(void Function(ExprFuncCall) updates) => super.copyWith((message) => updates(message as ExprFuncCall)) as ExprFuncCall;
-
- $pb.BuilderInfo get info_ => _i;
-
- @$core.pragma('dart2js:noInline')
- static ExprFuncCall create() => ExprFuncCall._();
- ExprFuncCall createEmptyInstance() => create();
- static $pb.PbList createRepeated() => $pb.PbList();
- @$core.pragma('dart2js:noInline')
- static ExprFuncCall getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create);
- static ExprFuncCall? _defaultInstance;
-
- @$pb.TagNumber(1)
- $core.String get fn => $_getSZ(0);
- @$pb.TagNumber(1)
- set fn($core.String v) { $_setString(0, v); }
- @$pb.TagNumber(1)
- $core.bool hasFn() => $_has(0);
- @$pb.TagNumber(1)
- void clearFn() => clearField(1);
-
- @$pb.TagNumber(2)
- $core.List get args => $_getList(1);
-}
-
-
-const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names');
-const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names');
diff --git a/packages/corks_cedar/lib/src/proto/cedar/v3/expr.pbenum.dart b/packages/corks_cedar/lib/src/proto/cedar/v3/expr.pbenum.dart
deleted file mode 100644
index 06035e2d..00000000
--- a/packages/corks_cedar/lib/src/proto/cedar/v3/expr.pbenum.dart
+++ /dev/null
@@ -1,55 +0,0 @@
-//
-// Generated code. Do not modify.
-// source: cedar/v3/expr.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 Variable extends $pb.ProtobufEnum {
- static const Variable VARIABLE_UNSPECIFIED = Variable._(0, _omitEnumNames ? '' : 'VARIABLE_UNSPECIFIED');
- static const Variable VARIABLE_PRINCIPAL = Variable._(1, _omitEnumNames ? '' : 'VARIABLE_PRINCIPAL');
- static const Variable VARIABLE_ACTION = Variable._(2, _omitEnumNames ? '' : 'VARIABLE_ACTION');
- static const Variable VARIABLE_RESOURCE = Variable._(3, _omitEnumNames ? '' : 'VARIABLE_RESOURCE');
- static const Variable VARIABLE_CONTEXT = Variable._(4, _omitEnumNames ? '' : 'VARIABLE_CONTEXT');
-
- static const $core.List values = [
- VARIABLE_UNSPECIFIED,
- VARIABLE_PRINCIPAL,
- VARIABLE_ACTION,
- VARIABLE_RESOURCE,
- VARIABLE_CONTEXT,
- ];
-
- static final $core.Map<$core.int, Variable> _byValue = $pb.ProtobufEnum.initByValue(values);
- static Variable? valueOf($core.int value) => _byValue[value];
-
- const Variable._($core.int v, $core.String n) : super(v, n);
-}
-
-class SlotId extends $pb.ProtobufEnum {
- static const SlotId SLOT_ID_UNSPECIFIED = SlotId._(0, _omitEnumNames ? '' : 'SLOT_ID_UNSPECIFIED');
- static const SlotId SLOT_ID_PRINCIPAL = SlotId._(1, _omitEnumNames ? '' : 'SLOT_ID_PRINCIPAL');
- static const SlotId SLOT_ID_RESOURCE = SlotId._(2, _omitEnumNames ? '' : 'SLOT_ID_RESOURCE');
-
- static const $core.List values = [
- SLOT_ID_UNSPECIFIED,
- SLOT_ID_PRINCIPAL,
- SLOT_ID_RESOURCE,
- ];
-
- static final $core.Map<$core.int, SlotId> _byValue = $pb.ProtobufEnum.initByValue(values);
- static SlotId? valueOf($core.int value) => _byValue[value];
-
- const SlotId._($core.int v, $core.String n) : super(v, n);
-}
-
-
-const _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names');
diff --git a/packages/corks_cedar/lib/src/proto/cedar/v3/expr.pbjson.dart b/packages/corks_cedar/lib/src/proto/cedar/v3/expr.pbjson.dart
deleted file mode 100644
index f78334eb..00000000
--- a/packages/corks_cedar/lib/src/proto/cedar/v3/expr.pbjson.dart
+++ /dev/null
@@ -1,583 +0,0 @@
-//
-// Generated code. Do not modify.
-// source: cedar/v3/expr.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 variableDescriptor instead')
-const Variable$json = {
- '1': 'Variable',
- '2': [
- {'1': 'VARIABLE_UNSPECIFIED', '2': 0},
- {'1': 'VARIABLE_PRINCIPAL', '2': 1},
- {'1': 'VARIABLE_ACTION', '2': 2},
- {'1': 'VARIABLE_RESOURCE', '2': 3},
- {'1': 'VARIABLE_CONTEXT', '2': 4},
- ],
-};
-
-/// Descriptor for `Variable`. Decode as a `google.protobuf.EnumDescriptorProto`.
-final $typed_data.Uint8List variableDescriptor = $convert.base64Decode(
- 'CghWYXJpYWJsZRIYChRWQVJJQUJMRV9VTlNQRUNJRklFRBAAEhYKElZBUklBQkxFX1BSSU5DSV'
- 'BBTBABEhMKD1ZBUklBQkxFX0FDVElPThACEhUKEVZBUklBQkxFX1JFU09VUkNFEAMSFAoQVkFS'
- 'SUFCTEVfQ09OVEVYVBAE');
-
-@$core.Deprecated('Use slotIdDescriptor instead')
-const SlotId$json = {
- '1': 'SlotId',
- '2': [
- {'1': 'SLOT_ID_UNSPECIFIED', '2': 0},
- {'1': 'SLOT_ID_PRINCIPAL', '2': 1},
- {'1': 'SLOT_ID_RESOURCE', '2': 2},
- ],
-};
-
-/// Descriptor for `SlotId`. Decode as a `google.protobuf.EnumDescriptorProto`.
-final $typed_data.Uint8List slotIdDescriptor = $convert.base64Decode(
- 'CgZTbG90SWQSFwoTU0xPVF9JRF9VTlNQRUNJRklFRBAAEhUKEVNMT1RfSURfUFJJTkNJUEFMEA'
- 'ESFAoQU0xPVF9JRF9SRVNPVVJDRRAC');
-
-@$core.Deprecated('Use exprDescriptor instead')
-const Expr$json = {
- '1': 'Expr',
- '2': [
- {'1': 'value', '3': 1, '4': 1, '5': 11, '6': '.cedar.v3.ExprValue', '9': 0, '10': 'value'},
- {
- '1': 'var',
- '3': 2,
- '4': 1,
- '5': 11,
- '6': '.cedar.v3.ExprVar',
- '8': {'28700919': 'var_'},
- '9': 0,
- '10': 'var',
- },
- {'1': 'slot', '3': 3, '4': 1, '5': 11, '6': '.cedar.v3.ExprSlot', '9': 0, '10': 'slot'},
- {'1': 'unknown', '3': 4, '4': 1, '5': 11, '6': '.cedar.v3.ExprUnknown', '9': 0, '10': 'unknown'},
- {'1': 'not', '3': 5, '4': 1, '5': 11, '6': '.cedar.v3.ExprNot', '9': 0, '10': 'not'},
- {'1': 'neg', '3': 6, '4': 1, '5': 11, '6': '.cedar.v3.ExprNeg', '9': 0, '10': 'neg'},
- {'1': 'equals', '3': 7, '4': 1, '5': 11, '6': '.cedar.v3.ExprEquals', '9': 0, '10': 'equals'},
- {'1': 'not_equals', '3': 8, '4': 1, '5': 11, '6': '.cedar.v3.ExprNotEquals', '9': 0, '10': 'notEquals'},
- {
- '1': 'in',
- '3': 9,
- '4': 1,
- '5': 11,
- '6': '.cedar.v3.ExprIn',
- '8': {'28700919': 'in_'},
- '9': 0,
- '10': 'in',
- },
- {'1': 'less_than', '3': 10, '4': 1, '5': 11, '6': '.cedar.v3.ExprLessThan', '9': 0, '10': 'lessThan'},
- {'1': 'less_than_or_equals', '3': 11, '4': 1, '5': 11, '6': '.cedar.v3.ExprLessThanOrEquals', '9': 0, '10': 'lessThanOrEquals'},
- {'1': 'greater_than', '3': 12, '4': 1, '5': 11, '6': '.cedar.v3.ExprGreaterThan', '9': 0, '10': 'greaterThan'},
- {'1': 'greater_than_or_equals', '3': 13, '4': 1, '5': 11, '6': '.cedar.v3.ExprGreaterThanOrEquals', '9': 0, '10': 'greaterThanOrEquals'},
- {'1': 'and', '3': 14, '4': 1, '5': 11, '6': '.cedar.v3.ExprAnd', '9': 0, '10': 'and'},
- {'1': 'or', '3': 15, '4': 1, '5': 11, '6': '.cedar.v3.ExprOr', '9': 0, '10': 'or'},
- {'1': 'plus', '3': 16, '4': 1, '5': 11, '6': '.cedar.v3.ExprPlus', '9': 0, '10': 'plus'},
- {'1': 'minus', '3': 17, '4': 1, '5': 11, '6': '.cedar.v3.ExprMinus', '9': 0, '10': 'minus'},
- {'1': 'times', '3': 18, '4': 1, '5': 11, '6': '.cedar.v3.ExprTimes', '9': 0, '10': 'times'},
- {'1': 'contains', '3': 19, '4': 1, '5': 11, '6': '.cedar.v3.ExprContains', '9': 0, '10': 'contains'},
- {'1': 'contains_all', '3': 20, '4': 1, '5': 11, '6': '.cedar.v3.ExprContainsAll', '9': 0, '10': 'containsAll'},
- {'1': 'contains_any', '3': 21, '4': 1, '5': 11, '6': '.cedar.v3.ExprContainsAny', '9': 0, '10': 'containsAny'},
- {'1': 'get_attribute', '3': 22, '4': 1, '5': 11, '6': '.cedar.v3.ExprGetAttribute', '9': 0, '10': 'getAttribute'},
- {'1': 'has_attribute', '3': 23, '4': 1, '5': 11, '6': '.cedar.v3.ExprHasAttribute', '9': 0, '10': 'hasAttribute'},
- {'1': 'like', '3': 24, '4': 1, '5': 11, '6': '.cedar.v3.ExprLike', '9': 0, '10': 'like'},
- {
- '1': 'is',
- '3': 25,
- '4': 1,
- '5': 11,
- '6': '.cedar.v3.ExprIs',
- '8': {'28700919': 'is_'},
- '9': 0,
- '10': 'is',
- },
- {'1': 'if_then_else', '3': 26, '4': 1, '5': 11, '6': '.cedar.v3.ExprIfThenElse', '9': 0, '10': 'ifThenElse'},
- {'1': 'set', '3': 27, '4': 1, '5': 11, '6': '.cedar.v3.ExprSet', '9': 0, '10': 'set'},
- {'1': 'record', '3': 28, '4': 1, '5': 11, '6': '.cedar.v3.ExprRecord', '9': 0, '10': 'record'},
- {'1': 'func_call', '3': 29, '4': 1, '5': 11, '6': '.cedar.v3.ExprFuncCall', '9': 0, '10': 'funcCall'},
- ],
- '8': [
- {'1': 'expr'},
- ],
-};
-
-/// Descriptor for `Expr`. Decode as a `google.protobuf.DescriptorProto`.
-final $typed_data.Uint8List exprDescriptor = $convert.base64Decode(
- 'CgRFeHByEisKBXZhbHVlGAEgASgLMhMuY2VkYXIudjMuRXhwclZhbHVlSABSBXZhbHVlEjAKA3'
- 'ZhchgCIAEoCzIRLmNlZGFyLnYzLkV4cHJWYXJCCbqPvm0EdmFyX0gAUgN2YXISKAoEc2xvdBgD'
- 'IAEoCzISLmNlZGFyLnYzLkV4cHJTbG90SABSBHNsb3QSMQoHdW5rbm93bhgEIAEoCzIVLmNlZG'
- 'FyLnYzLkV4cHJVbmtub3duSABSB3Vua25vd24SJQoDbm90GAUgASgLMhEuY2VkYXIudjMuRXhw'
- 'ck5vdEgAUgNub3QSJQoDbmVnGAYgASgLMhEuY2VkYXIudjMuRXhwck5lZ0gAUgNuZWcSLgoGZX'
- 'F1YWxzGAcgASgLMhQuY2VkYXIudjMuRXhwckVxdWFsc0gAUgZlcXVhbHMSOAoKbm90X2VxdWFs'
- 'cxgIIAEoCzIXLmNlZGFyLnYzLkV4cHJOb3RFcXVhbHNIAFIJbm90RXF1YWxzEiwKAmluGAkgAS'
- 'gLMhAuY2VkYXIudjMuRXhwckluQgi6j75tA2luX0gAUgJpbhI1CglsZXNzX3RoYW4YCiABKAsy'
- 'Fi5jZWRhci52My5FeHByTGVzc1RoYW5IAFIIbGVzc1RoYW4STwoTbGVzc190aGFuX29yX2VxdW'
- 'FscxgLIAEoCzIeLmNlZGFyLnYzLkV4cHJMZXNzVGhhbk9yRXF1YWxzSABSEGxlc3NUaGFuT3JF'
- 'cXVhbHMSPgoMZ3JlYXRlcl90aGFuGAwgASgLMhkuY2VkYXIudjMuRXhwckdyZWF0ZXJUaGFuSA'
- 'BSC2dyZWF0ZXJUaGFuElgKFmdyZWF0ZXJfdGhhbl9vcl9lcXVhbHMYDSABKAsyIS5jZWRhci52'
- 'My5FeHByR3JlYXRlclRoYW5PckVxdWFsc0gAUhNncmVhdGVyVGhhbk9yRXF1YWxzEiUKA2FuZB'
- 'gOIAEoCzIRLmNlZGFyLnYzLkV4cHJBbmRIAFIDYW5kEiIKAm9yGA8gASgLMhAuY2VkYXIudjMu'
- 'RXhwck9ySABSAm9yEigKBHBsdXMYECABKAsyEi5jZWRhci52My5FeHByUGx1c0gAUgRwbHVzEi'
- 'sKBW1pbnVzGBEgASgLMhMuY2VkYXIudjMuRXhwck1pbnVzSABSBW1pbnVzEisKBXRpbWVzGBIg'
- 'ASgLMhMuY2VkYXIudjMuRXhwclRpbWVzSABSBXRpbWVzEjQKCGNvbnRhaW5zGBMgASgLMhYuY2'
- 'VkYXIudjMuRXhwckNvbnRhaW5zSABSCGNvbnRhaW5zEj4KDGNvbnRhaW5zX2FsbBgUIAEoCzIZ'
- 'LmNlZGFyLnYzLkV4cHJDb250YWluc0FsbEgAUgtjb250YWluc0FsbBI+Cgxjb250YWluc19hbn'
- 'kYFSABKAsyGS5jZWRhci52My5FeHByQ29udGFpbnNBbnlIAFILY29udGFpbnNBbnkSQQoNZ2V0'
- 'X2F0dHJpYnV0ZRgWIAEoCzIaLmNlZGFyLnYzLkV4cHJHZXRBdHRyaWJ1dGVIAFIMZ2V0QXR0cm'
- 'lidXRlEkEKDWhhc19hdHRyaWJ1dGUYFyABKAsyGi5jZWRhci52My5FeHBySGFzQXR0cmlidXRl'
- 'SABSDGhhc0F0dHJpYnV0ZRIoCgRsaWtlGBggASgLMhIuY2VkYXIudjMuRXhwckxpa2VIAFIEbG'
- 'lrZRIsCgJpcxgZIAEoCzIQLmNlZGFyLnYzLkV4cHJJc0IIuo++bQNpc19IAFICaXMSPAoMaWZf'
- 'dGhlbl9lbHNlGBogASgLMhguY2VkYXIudjMuRXhwcklmVGhlbkVsc2VIAFIKaWZUaGVuRWxzZR'
- 'IlCgNzZXQYGyABKAsyES5jZWRhci52My5FeHByU2V0SABSA3NldBIuCgZyZWNvcmQYHCABKAsy'
- 'FC5jZWRhci52My5FeHByUmVjb3JkSABSBnJlY29yZBI1CglmdW5jX2NhbGwYHSABKAsyFi5jZW'
- 'Rhci52My5FeHByRnVuY0NhbGxIAFIIZnVuY0NhbGxCBgoEZXhwcg==');
-
-@$core.Deprecated('Use exprValueDescriptor instead')
-const ExprValue$json = {
- '1': 'ExprValue',
- '2': [
- {'1': 'value', '3': 1, '4': 1, '5': 11, '6': '.cedar.v3.Value', '10': 'value'},
- ],
-};
-
-/// Descriptor for `ExprValue`. Decode as a `google.protobuf.DescriptorProto`.
-final $typed_data.Uint8List exprValueDescriptor = $convert.base64Decode(
- 'CglFeHByVmFsdWUSJQoFdmFsdWUYASABKAsyDy5jZWRhci52My5WYWx1ZVIFdmFsdWU=');
-
-@$core.Deprecated('Use exprVarDescriptor instead')
-const ExprVar$json = {
- '1': 'ExprVar',
- '2': [
- {'1': 'variable', '3': 1, '4': 1, '5': 14, '6': '.cedar.v3.Variable', '10': 'variable'},
- ],
-};
-
-/// Descriptor for `ExprVar`. Decode as a `google.protobuf.DescriptorProto`.
-final $typed_data.Uint8List exprVarDescriptor = $convert.base64Decode(
- 'CgdFeHByVmFyEi4KCHZhcmlhYmxlGAEgASgOMhIuY2VkYXIudjMuVmFyaWFibGVSCHZhcmlhYm'
- 'xl');
-
-@$core.Deprecated('Use exprSlotDescriptor instead')
-const ExprSlot$json = {
- '1': 'ExprSlot',
- '2': [
- {'1': 'slot_id', '3': 1, '4': 1, '5': 14, '6': '.cedar.v3.SlotId', '10': 'slotId'},
- ],
-};
-
-/// Descriptor for `ExprSlot`. Decode as a `google.protobuf.DescriptorProto`.
-final $typed_data.Uint8List exprSlotDescriptor = $convert.base64Decode(
- 'CghFeHByU2xvdBIpCgdzbG90X2lkGAEgASgOMhAuY2VkYXIudjMuU2xvdElkUgZzbG90SWQ=');
-
-@$core.Deprecated('Use exprUnknownDescriptor instead')
-const ExprUnknown$json = {
- '1': 'ExprUnknown',
- '2': [
- {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'},
- ],
-};
-
-/// Descriptor for `ExprUnknown`. Decode as a `google.protobuf.DescriptorProto`.
-final $typed_data.Uint8List exprUnknownDescriptor = $convert.base64Decode(
- 'CgtFeHByVW5rbm93bhISCgRuYW1lGAEgASgJUgRuYW1l');
-
-@$core.Deprecated('Use exprNotDescriptor instead')
-const ExprNot$json = {
- '1': 'ExprNot',
- '2': [
- {'1': 'expr', '3': 1, '4': 1, '5': 11, '6': '.cedar.v3.Expr', '10': 'expr'},
- ],
-};
-
-/// Descriptor for `ExprNot`. Decode as a `google.protobuf.DescriptorProto`.
-final $typed_data.Uint8List exprNotDescriptor = $convert.base64Decode(
- 'CgdFeHByTm90EiIKBGV4cHIYASABKAsyDi5jZWRhci52My5FeHByUgRleHBy');
-
-@$core.Deprecated('Use exprNegDescriptor instead')
-const ExprNeg$json = {
- '1': 'ExprNeg',
- '2': [
- {'1': 'expr', '3': 1, '4': 1, '5': 11, '6': '.cedar.v3.Expr', '10': 'expr'},
- ],
-};
-
-/// Descriptor for `ExprNeg`. Decode as a `google.protobuf.DescriptorProto`.
-final $typed_data.Uint8List exprNegDescriptor = $convert.base64Decode(
- 'CgdFeHByTmVnEiIKBGV4cHIYASABKAsyDi5jZWRhci52My5FeHByUgRleHBy');
-
-@$core.Deprecated('Use exprEqualsDescriptor instead')
-const ExprEquals$json = {
- '1': 'ExprEquals',
- '2': [
- {'1': 'left', '3': 1, '4': 1, '5': 11, '6': '.cedar.v3.Expr', '10': 'left'},
- {'1': 'right', '3': 2, '4': 1, '5': 11, '6': '.cedar.v3.Expr', '10': 'right'},
- ],
-};
-
-/// Descriptor for `ExprEquals`. Decode as a `google.protobuf.DescriptorProto`.
-final $typed_data.Uint8List exprEqualsDescriptor = $convert.base64Decode(
- 'CgpFeHByRXF1YWxzEiIKBGxlZnQYASABKAsyDi5jZWRhci52My5FeHByUgRsZWZ0EiQKBXJpZ2'
- 'h0GAIgASgLMg4uY2VkYXIudjMuRXhwclIFcmlnaHQ=');
-
-@$core.Deprecated('Use exprNotEqualsDescriptor instead')
-const ExprNotEquals$json = {
- '1': 'ExprNotEquals',
- '2': [
- {'1': 'left', '3': 1, '4': 1, '5': 11, '6': '.cedar.v3.Expr', '10': 'left'},
- {'1': 'right', '3': 2, '4': 1, '5': 11, '6': '.cedar.v3.Expr', '10': 'right'},
- ],
-};
-
-/// Descriptor for `ExprNotEquals`. Decode as a `google.protobuf.DescriptorProto`.
-final $typed_data.Uint8List exprNotEqualsDescriptor = $convert.base64Decode(
- 'Cg1FeHByTm90RXF1YWxzEiIKBGxlZnQYASABKAsyDi5jZWRhci52My5FeHByUgRsZWZ0EiQKBX'
- 'JpZ2h0GAIgASgLMg4uY2VkYXIudjMuRXhwclIFcmlnaHQ=');
-
-@$core.Deprecated('Use exprInDescriptor instead')
-const ExprIn$json = {
- '1': 'ExprIn',
- '2': [
- {'1': 'left', '3': 1, '4': 1, '5': 11, '6': '.cedar.v3.Expr', '10': 'left'},
- {'1': 'right', '3': 2, '4': 1, '5': 11, '6': '.cedar.v3.Expr', '10': 'right'},
- ],
-};
-
-/// Descriptor for `ExprIn`. Decode as a `google.protobuf.DescriptorProto`.
-final $typed_data.Uint8List exprInDescriptor = $convert.base64Decode(
- 'CgZFeHBySW4SIgoEbGVmdBgBIAEoCzIOLmNlZGFyLnYzLkV4cHJSBGxlZnQSJAoFcmlnaHQYAi'
- 'ABKAsyDi5jZWRhci52My5FeHByUgVyaWdodA==');
-
-@$core.Deprecated('Use exprLessThanDescriptor instead')
-const ExprLessThan$json = {
- '1': 'ExprLessThan',
- '2': [
- {'1': 'left', '3': 1, '4': 1, '5': 11, '6': '.cedar.v3.Expr', '10': 'left'},
- {'1': 'right', '3': 2, '4': 1, '5': 11, '6': '.cedar.v3.Expr', '10': 'right'},
- ],
-};
-
-/// Descriptor for `ExprLessThan`. Decode as a `google.protobuf.DescriptorProto`.
-final $typed_data.Uint8List exprLessThanDescriptor = $convert.base64Decode(
- 'CgxFeHByTGVzc1RoYW4SIgoEbGVmdBgBIAEoCzIOLmNlZGFyLnYzLkV4cHJSBGxlZnQSJAoFcm'
- 'lnaHQYAiABKAsyDi5jZWRhci52My5FeHByUgVyaWdodA==');
-
-@$core.Deprecated('Use exprLessThanOrEqualsDescriptor instead')
-const ExprLessThanOrEquals$json = {
- '1': 'ExprLessThanOrEquals',
- '2': [
- {'1': 'left', '3': 1, '4': 1, '5': 11, '6': '.cedar.v3.Expr', '10': 'left'},
- {'1': 'right', '3': 2, '4': 1, '5': 11, '6': '.cedar.v3.Expr', '10': 'right'},
- ],
-};
-
-/// Descriptor for `ExprLessThanOrEquals`. Decode as a `google.protobuf.DescriptorProto`.
-final $typed_data.Uint8List exprLessThanOrEqualsDescriptor = $convert.base64Decode(
- 'ChRFeHByTGVzc1RoYW5PckVxdWFscxIiCgRsZWZ0GAEgASgLMg4uY2VkYXIudjMuRXhwclIEbG'
- 'VmdBIkCgVyaWdodBgCIAEoCzIOLmNlZGFyLnYzLkV4cHJSBXJpZ2h0');
-
-@$core.Deprecated('Use exprGreaterThanDescriptor instead')
-const ExprGreaterThan$json = {
- '1': 'ExprGreaterThan',
- '2': [
- {'1': 'left', '3': 1, '4': 1, '5': 11, '6': '.cedar.v3.Expr', '10': 'left'},
- {'1': 'right', '3': 2, '4': 1, '5': 11, '6': '.cedar.v3.Expr', '10': 'right'},
- ],
-};
-
-/// Descriptor for `ExprGreaterThan`. Decode as a `google.protobuf.DescriptorProto`.
-final $typed_data.Uint8List exprGreaterThanDescriptor = $convert.base64Decode(
- 'Cg9FeHByR3JlYXRlclRoYW4SIgoEbGVmdBgBIAEoCzIOLmNlZGFyLnYzLkV4cHJSBGxlZnQSJA'
- 'oFcmlnaHQYAiABKAsyDi5jZWRhci52My5FeHByUgVyaWdodA==');
-
-@$core.Deprecated('Use exprGreaterThanOrEqualsDescriptor instead')
-const ExprGreaterThanOrEquals$json = {
- '1': 'ExprGreaterThanOrEquals',
- '2': [
- {'1': 'left', '3': 1, '4': 1, '5': 11, '6': '.cedar.v3.Expr', '10': 'left'},
- {'1': 'right', '3': 2, '4': 1, '5': 11, '6': '.cedar.v3.Expr', '10': 'right'},
- ],
-};
-
-/// Descriptor for `ExprGreaterThanOrEquals`. Decode as a `google.protobuf.DescriptorProto`.
-final $typed_data.Uint8List exprGreaterThanOrEqualsDescriptor = $convert.base64Decode(
- 'ChdFeHByR3JlYXRlclRoYW5PckVxdWFscxIiCgRsZWZ0GAEgASgLMg4uY2VkYXIudjMuRXhwcl'
- 'IEbGVmdBIkCgVyaWdodBgCIAEoCzIOLmNlZGFyLnYzLkV4cHJSBXJpZ2h0');
-
-@$core.Deprecated('Use exprAndDescriptor instead')
-const ExprAnd$json = {
- '1': 'ExprAnd',
- '2': [
- {'1': 'left', '3': 1, '4': 1, '5': 11, '6': '.cedar.v3.Expr', '10': 'left'},
- {'1': 'right', '3': 2, '4': 1, '5': 11, '6': '.cedar.v3.Expr', '10': 'right'},
- ],
-};
-
-/// Descriptor for `ExprAnd`. Decode as a `google.protobuf.DescriptorProto`.
-final $typed_data.Uint8List exprAndDescriptor = $convert.base64Decode(
- 'CgdFeHByQW5kEiIKBGxlZnQYASABKAsyDi5jZWRhci52My5FeHByUgRsZWZ0EiQKBXJpZ2h0GA'
- 'IgASgLMg4uY2VkYXIudjMuRXhwclIFcmlnaHQ=');
-
-@$core.Deprecated('Use exprOrDescriptor instead')
-const ExprOr$json = {
- '1': 'ExprOr',
- '2': [
- {'1': 'left', '3': 1, '4': 1, '5': 11, '6': '.cedar.v3.Expr', '10': 'left'},
- {'1': 'right', '3': 2, '4': 1, '5': 11, '6': '.cedar.v3.Expr', '10': 'right'},
- ],
-};
-
-/// Descriptor for `ExprOr`. Decode as a `google.protobuf.DescriptorProto`.
-final $typed_data.Uint8List exprOrDescriptor = $convert.base64Decode(
- 'CgZFeHByT3ISIgoEbGVmdBgBIAEoCzIOLmNlZGFyLnYzLkV4cHJSBGxlZnQSJAoFcmlnaHQYAi'
- 'ABKAsyDi5jZWRhci52My5FeHByUgVyaWdodA==');
-
-@$core.Deprecated('Use exprPlusDescriptor instead')
-const ExprPlus$json = {
- '1': 'ExprPlus',
- '2': [
- {'1': 'left', '3': 1, '4': 1, '5': 11, '6': '.cedar.v3.Expr', '10': 'left'},
- {'1': 'right', '3': 2, '4': 1, '5': 11, '6': '.cedar.v3.Expr', '10': 'right'},
- ],
-};
-
-/// Descriptor for `ExprPlus`. Decode as a `google.protobuf.DescriptorProto`.
-final $typed_data.Uint8List exprPlusDescriptor = $convert.base64Decode(
- 'CghFeHByUGx1cxIiCgRsZWZ0GAEgASgLMg4uY2VkYXIudjMuRXhwclIEbGVmdBIkCgVyaWdodB'
- 'gCIAEoCzIOLmNlZGFyLnYzLkV4cHJSBXJpZ2h0');
-
-@$core.Deprecated('Use exprMinusDescriptor instead')
-const ExprMinus$json = {
- '1': 'ExprMinus',
- '2': [
- {'1': 'left', '3': 1, '4': 1, '5': 11, '6': '.cedar.v3.Expr', '10': 'left'},
- {'1': 'right', '3': 2, '4': 1, '5': 11, '6': '.cedar.v3.Expr', '10': 'right'},
- ],
-};
-
-/// Descriptor for `ExprMinus`. Decode as a `google.protobuf.DescriptorProto`.
-final $typed_data.Uint8List exprMinusDescriptor = $convert.base64Decode(
- 'CglFeHByTWludXMSIgoEbGVmdBgBIAEoCzIOLmNlZGFyLnYzLkV4cHJSBGxlZnQSJAoFcmlnaH'
- 'QYAiABKAsyDi5jZWRhci52My5FeHByUgVyaWdodA==');
-
-@$core.Deprecated('Use exprTimesDescriptor instead')
-const ExprTimes$json = {
- '1': 'ExprTimes',
- '2': [
- {'1': 'left', '3': 1, '4': 1, '5': 11, '6': '.cedar.v3.Expr', '10': 'left'},
- {'1': 'right', '3': 2, '4': 1, '5': 11, '6': '.cedar.v3.Expr', '10': 'right'},
- ],
-};
-
-/// Descriptor for `ExprTimes`. Decode as a `google.protobuf.DescriptorProto`.
-final $typed_data.Uint8List exprTimesDescriptor = $convert.base64Decode(
- 'CglFeHByVGltZXMSIgoEbGVmdBgBIAEoCzIOLmNlZGFyLnYzLkV4cHJSBGxlZnQSJAoFcmlnaH'
- 'QYAiABKAsyDi5jZWRhci52My5FeHByUgVyaWdodA==');
-
-@$core.Deprecated('Use exprContainsDescriptor instead')
-const ExprContains$json = {
- '1': 'ExprContains',
- '2': [
- {'1': 'left', '3': 1, '4': 1, '5': 11, '6': '.cedar.v3.Expr', '10': 'left'},
- {'1': 'right', '3': 2, '4': 1, '5': 11, '6': '.cedar.v3.Expr', '10': 'right'},
- ],
-};
-
-/// Descriptor for `ExprContains`. Decode as a `google.protobuf.DescriptorProto`.
-final $typed_data.Uint8List exprContainsDescriptor = $convert.base64Decode(
- 'CgxFeHByQ29udGFpbnMSIgoEbGVmdBgBIAEoCzIOLmNlZGFyLnYzLkV4cHJSBGxlZnQSJAoFcm'
- 'lnaHQYAiABKAsyDi5jZWRhci52My5FeHByUgVyaWdodA==');
-
-@$core.Deprecated('Use exprContainsAllDescriptor instead')
-const ExprContainsAll$json = {
- '1': 'ExprContainsAll',
- '2': [
- {'1': 'left', '3': 1, '4': 1, '5': 11, '6': '.cedar.v3.Expr', '10': 'left'},
- {'1': 'right', '3': 2, '4': 1, '5': 11, '6': '.cedar.v3.Expr', '10': 'right'},
- ],
-};
-
-/// Descriptor for `ExprContainsAll`. Decode as a `google.protobuf.DescriptorProto`.
-final $typed_data.Uint8List exprContainsAllDescriptor = $convert.base64Decode(
- 'Cg9FeHByQ29udGFpbnNBbGwSIgoEbGVmdBgBIAEoCzIOLmNlZGFyLnYzLkV4cHJSBGxlZnQSJA'
- 'oFcmlnaHQYAiABKAsyDi5jZWRhci52My5FeHByUgVyaWdodA==');
-
-@$core.Deprecated('Use exprContainsAnyDescriptor instead')
-const ExprContainsAny$json = {
- '1': 'ExprContainsAny',
- '2': [
- {'1': 'left', '3': 1, '4': 1, '5': 11, '6': '.cedar.v3.Expr', '10': 'left'},
- {'1': 'right', '3': 2, '4': 1, '5': 11, '6': '.cedar.v3.Expr', '10': 'right'},
- ],
-};
-
-/// Descriptor for `ExprContainsAny`. Decode as a `google.protobuf.DescriptorProto`.
-final $typed_data.Uint8List exprContainsAnyDescriptor = $convert.base64Decode(
- 'Cg9FeHByQ29udGFpbnNBbnkSIgoEbGVmdBgBIAEoCzIOLmNlZGFyLnYzLkV4cHJSBGxlZnQSJA'
- 'oFcmlnaHQYAiABKAsyDi5jZWRhci52My5FeHByUgVyaWdodA==');
-
-@$core.Deprecated('Use exprGetAttributeDescriptor instead')
-const ExprGetAttribute$json = {
- '1': 'ExprGetAttribute',
- '2': [
- {'1': 'left', '3': 1, '4': 1, '5': 11, '6': '.cedar.v3.Expr', '10': 'left'},
- {'1': 'attr', '3': 2, '4': 1, '5': 9, '10': 'attr'},
- ],
-};
-
-/// Descriptor for `ExprGetAttribute`. Decode as a `google.protobuf.DescriptorProto`.
-final $typed_data.Uint8List exprGetAttributeDescriptor = $convert.base64Decode(
- 'ChBFeHByR2V0QXR0cmlidXRlEiIKBGxlZnQYASABKAsyDi5jZWRhci52My5FeHByUgRsZWZ0Eh'
- 'IKBGF0dHIYAiABKAlSBGF0dHI=');
-
-@$core.Deprecated('Use exprHasAttributeDescriptor instead')
-const ExprHasAttribute$json = {
- '1': 'ExprHasAttribute',
- '2': [
- {'1': 'left', '3': 1, '4': 1, '5': 11, '6': '.cedar.v3.Expr', '10': 'left'},
- {'1': 'attr', '3': 2, '4': 1, '5': 9, '10': 'attr'},
- ],
-};
-
-/// Descriptor for `ExprHasAttribute`. Decode as a `google.protobuf.DescriptorProto`.
-final $typed_data.Uint8List exprHasAttributeDescriptor = $convert.base64Decode(
- 'ChBFeHBySGFzQXR0cmlidXRlEiIKBGxlZnQYASABKAsyDi5jZWRhci52My5FeHByUgRsZWZ0Eh'
- 'IKBGF0dHIYAiABKAlSBGF0dHI=');
-
-@$core.Deprecated('Use exprLikeDescriptor instead')
-const ExprLike$json = {
- '1': 'ExprLike',
- '2': [
- {'1': 'left', '3': 1, '4': 1, '5': 11, '6': '.cedar.v3.Expr', '10': 'left'},
- {'1': 'pattern', '3': 2, '4': 1, '5': 9, '10': 'pattern'},
- ],
-};
-
-/// Descriptor for `ExprLike`. Decode as a `google.protobuf.DescriptorProto`.
-final $typed_data.Uint8List exprLikeDescriptor = $convert.base64Decode(
- 'CghFeHByTGlrZRIiCgRsZWZ0GAEgASgLMg4uY2VkYXIudjMuRXhwclIEbGVmdBIYCgdwYXR0ZX'
- 'JuGAIgASgJUgdwYXR0ZXJu');
-
-@$core.Deprecated('Use exprIsDescriptor instead')
-const ExprIs$json = {
- '1': 'ExprIs',
- '2': [
- {'1': 'left', '3': 1, '4': 1, '5': 11, '6': '.cedar.v3.Expr', '10': 'left'},
- {'1': 'entity_type', '3': 2, '4': 1, '5': 9, '10': 'entityType'},
- {
- '1': 'in',
- '3': 3,
- '4': 1,
- '5': 11,
- '6': '.cedar.v3.Expr',
- '8': {'28700919': 'in_'},
- '9': 0,
- '10': 'in',
- '17': true,
- },
- ],
- '8': [
- {'1': '_in'},
- ],
-};
-
-/// Descriptor for `ExprIs`. Decode as a `google.protobuf.DescriptorProto`.
-final $typed_data.Uint8List exprIsDescriptor = $convert.base64Decode(
- 'CgZFeHBySXMSIgoEbGVmdBgBIAEoCzIOLmNlZGFyLnYzLkV4cHJSBGxlZnQSHwoLZW50aXR5X3'
- 'R5cGUYAiABKAlSCmVudGl0eVR5cGUSLQoCaW4YAyABKAsyDi5jZWRhci52My5FeHByQgi6j75t'
- 'A2luX0gAUgJpbogBAUIFCgNfaW4=');
-
-@$core.Deprecated('Use exprIfThenElseDescriptor instead')
-const ExprIfThenElse$json = {
- '1': 'ExprIfThenElse',
- '2': [
- {
- '1': 'if',
- '3': 1,
- '4': 1,
- '5': 11,
- '6': '.cedar.v3.Expr',
- '8': {'28700919': 'if_'},
- '10': 'if',
- },
- {'1': 'then', '3': 2, '4': 1, '5': 11, '6': '.cedar.v3.Expr', '10': 'then'},
- {
- '1': 'else',
- '3': 3,
- '4': 1,
- '5': 11,
- '6': '.cedar.v3.Expr',
- '8': {'28700919': 'else_'},
- '10': 'else',
- },
- ],
-};
-
-/// Descriptor for `ExprIfThenElse`. Decode as a `google.protobuf.DescriptorProto`.
-final $typed_data.Uint8List exprIfThenElseDescriptor = $convert.base64Decode(
- 'Cg5FeHBySWZUaGVuRWxzZRIoCgJpZhgBIAEoCzIOLmNlZGFyLnYzLkV4cHJCCLqPvm0DaWZfUg'
- 'JpZhIiCgR0aGVuGAIgASgLMg4uY2VkYXIudjMuRXhwclIEdGhlbhIuCgRlbHNlGAMgASgLMg4u'
- 'Y2VkYXIudjMuRXhwckIKuo++bQVlbHNlX1IEZWxzZQ==');
-
-@$core.Deprecated('Use exprSetDescriptor instead')
-const ExprSet$json = {
- '1': 'ExprSet',
- '2': [
- {'1': 'expressions', '3': 1, '4': 3, '5': 11, '6': '.cedar.v3.Expr', '10': 'expressions'},
- ],
-};
-
-/// Descriptor for `ExprSet`. Decode as a `google.protobuf.DescriptorProto`.
-final $typed_data.Uint8List exprSetDescriptor = $convert.base64Decode(
- 'CgdFeHByU2V0EjAKC2V4cHJlc3Npb25zGAEgAygLMg4uY2VkYXIudjMuRXhwclILZXhwcmVzc2'
- 'lvbnM=');
-
-@$core.Deprecated('Use exprRecordDescriptor instead')
-const ExprRecord$json = {
- '1': 'ExprRecord',
- '2': [
- {'1': 'attributes', '3': 1, '4': 3, '5': 11, '6': '.cedar.v3.ExprRecord.AttributesEntry', '10': 'attributes'},
- ],
- '3': [ExprRecord_AttributesEntry$json],
-};
-
-@$core.Deprecated('Use exprRecordDescriptor instead')
-const ExprRecord_AttributesEntry$json = {
- '1': 'AttributesEntry',
- '2': [
- {'1': 'key', '3': 1, '4': 1, '5': 9, '10': 'key'},
- {'1': 'value', '3': 2, '4': 1, '5': 11, '6': '.cedar.v3.Expr', '10': 'value'},
- ],
- '7': {'7': true},
-};
-
-/// Descriptor for `ExprRecord`. Decode as a `google.protobuf.DescriptorProto`.
-final $typed_data.Uint8List exprRecordDescriptor = $convert.base64Decode(
- 'CgpFeHByUmVjb3JkEkQKCmF0dHJpYnV0ZXMYASADKAsyJC5jZWRhci52My5FeHByUmVjb3JkLk'
- 'F0dHJpYnV0ZXNFbnRyeVIKYXR0cmlidXRlcxpNCg9BdHRyaWJ1dGVzRW50cnkSEAoDa2V5GAEg'
- 'ASgJUgNrZXkSJAoFdmFsdWUYAiABKAsyDi5jZWRhci52My5FeHByUgV2YWx1ZToCOAE=');
-
-@$core.Deprecated('Use exprFuncCallDescriptor instead')
-const ExprFuncCall$json = {
- '1': 'ExprFuncCall',
- '2': [
- {'1': 'fn', '3': 1, '4': 1, '5': 9, '10': 'fn'},
- {'1': 'args', '3': 2, '4': 3, '5': 11, '6': '.cedar.v3.Expr', '10': 'args'},
- ],
-};
-
-/// Descriptor for `ExprFuncCall`. Decode as a `google.protobuf.DescriptorProto`.
-final $typed_data.Uint8List exprFuncCallDescriptor = $convert.base64Decode(
- 'CgxFeHByRnVuY0NhbGwSDgoCZm4YASABKAlSAmZuEiIKBGFyZ3MYAiADKAsyDi5jZWRhci52My'
- '5FeHByUgRhcmdz');
-
diff --git a/packages/corks_cedar/lib/src/proto/cedar/v3/expr.pbserver.dart b/packages/corks_cedar/lib/src/proto/cedar/v3/expr.pbserver.dart
deleted file mode 100644
index 9b92c137..00000000
--- a/packages/corks_cedar/lib/src/proto/cedar/v3/expr.pbserver.dart
+++ /dev/null
@@ -1,14 +0,0 @@
-//
-// Generated code. Do not modify.
-// source: cedar/v3/expr.proto
-//
-// @dart = 2.12
-
-// ignore_for_file: annotate_overrides, camel_case_types, comment_references
-// ignore_for_file: constant_identifier_names
-// ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
-// ignore_for_file: non_constant_identifier_names, prefer_final_fields
-// ignore_for_file: unnecessary_import, unnecessary_this, unused_import
-
-export 'expr.pb.dart';
-
diff --git a/packages/corks_cedar/lib/src/proto/cedar/v3/policy.pb.dart b/packages/corks_cedar/lib/src/proto/cedar/v3/policy.pb.dart
deleted file mode 100644
index 06805e0a..00000000
--- a/packages/corks_cedar/lib/src/proto/cedar/v3/policy.pb.dart
+++ /dev/null
@@ -1,452 +0,0 @@
-//
-// Generated code. Do not modify.
-// source: cedar/v3/policy.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 'entity_id.pb.dart' as $0;
-import 'expr.pb.dart' as $3;
-import 'policy.pbenum.dart';
-
-export 'policy.pbenum.dart';
-
-class Policy extends $pb.GeneratedMessage {
- factory Policy({
- $core.String? id,
- PolicyEffect? effect,
- PolicyPrincipal? principal,
- PolicyAction? action,
- PolicyResource? resource,
- $core.Iterable? conditions,
- $core.Map<$core.String, $core.String>? annotations,
- }) {
- final $result = create();
- if (id != null) {
- $result.id = id;
- }
- if (effect != null) {
- $result.effect = effect;
- }
- if (principal != null) {
- $result.principal = principal;
- }
- if (action != null) {
- $result.action = action;
- }
- if (resource != null) {
- $result.resource = resource;
- }
- if (conditions != null) {
- $result.conditions.addAll(conditions);
- }
- if (annotations != null) {
- $result.annotations.addAll(annotations);
- }
- return $result;
- }
- Policy._() : super();
- factory Policy.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
- factory Policy.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
-
- static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Policy', package: const $pb.PackageName(_omitMessageNames ? '' : 'cedar.v3'), createEmptyInstance: create)
- ..aOS(1, _omitFieldNames ? '' : 'id')
- ..e(2, _omitFieldNames ? '' : 'effect', $pb.PbFieldType.OE, defaultOrMaker: PolicyEffect.POLICY_EFFECT_UNSPECIFIED, valueOf: PolicyEffect.valueOf, enumValues: PolicyEffect.values)
- ..aOM(3, _omitFieldNames ? '' : 'principal', subBuilder: PolicyPrincipal.create)
- ..aOM(4, _omitFieldNames ? '' : 'action', subBuilder: PolicyAction.create)
- ..aOM(5, _omitFieldNames ? '' : 'resource', subBuilder: PolicyResource.create)
- ..pc(6, _omitFieldNames ? '' : 'conditions', $pb.PbFieldType.PM, subBuilder: PolicyCondition.create)
- ..m<$core.String, $core.String>(7, _omitFieldNames ? '' : 'annotations', entryClassName: 'Policy.AnnotationsEntry', keyFieldType: $pb.PbFieldType.OS, valueFieldType: $pb.PbFieldType.OS, packageName: const $pb.PackageName('cedar.v3'))
- ..hasRequiredFields = false
- ;
-
- @$core.Deprecated(
- 'Using this can add significant overhead to your binary. '
- 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
- 'Will be removed in next major version')
- Policy clone() => Policy()..mergeFromMessage(this);
- @$core.Deprecated(
- 'Using this can add significant overhead to your binary. '
- 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
- 'Will be removed in next major version')
- Policy copyWith(void Function(Policy) updates) => super.copyWith((message) => updates(message as Policy)) as Policy;
-
- $pb.BuilderInfo get info_ => _i;
-
- @$core.pragma('dart2js:noInline')
- static Policy create() => Policy._();
- Policy createEmptyInstance() => create();
- static $pb.PbList createRepeated() => $pb.PbList();
- @$core.pragma('dart2js:noInline')
- static Policy getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create);
- static Policy? _defaultInstance;
-
- @$pb.TagNumber(1)
- $core.String get id => $_getSZ(0);
- @$pb.TagNumber(1)
- set id($core.String v) { $_setString(0, v); }
- @$pb.TagNumber(1)
- $core.bool hasId() => $_has(0);
- @$pb.TagNumber(1)
- void clearId() => clearField(1);
-
- @$pb.TagNumber(2)
- PolicyEffect get effect => $_getN(1);
- @$pb.TagNumber(2)
- set effect(PolicyEffect v) { setField(2, v); }
- @$pb.TagNumber(2)
- $core.bool hasEffect() => $_has(1);
- @$pb.TagNumber(2)
- void clearEffect() => clearField(2);
-
- @$pb.TagNumber(3)
- PolicyPrincipal get principal => $_getN(2);
- @$pb.TagNumber(3)
- set principal(PolicyPrincipal v) { setField(3, v); }
- @$pb.TagNumber(3)
- $core.bool hasPrincipal() => $_has(2);
- @$pb.TagNumber(3)
- void clearPrincipal() => clearField(3);
- @$pb.TagNumber(3)
- PolicyPrincipal ensurePrincipal() => $_ensure(2);
-
- @$pb.TagNumber(4)
- PolicyAction get action => $_getN(3);
- @$pb.TagNumber(4)
- set action(PolicyAction v) { setField(4, v); }
- @$pb.TagNumber(4)
- $core.bool hasAction() => $_has(3);
- @$pb.TagNumber(4)
- void clearAction() => clearField(4);
- @$pb.TagNumber(4)
- PolicyAction ensureAction() => $_ensure(3);
-
- @$pb.TagNumber(5)
- PolicyResource get resource => $_getN(4);
- @$pb.TagNumber(5)
- set resource(PolicyResource v) { setField(5, v); }
- @$pb.TagNumber(5)
- $core.bool hasResource() => $_has(4);
- @$pb.TagNumber(5)
- void clearResource() => clearField(5);
- @$pb.TagNumber(5)
- PolicyResource ensureResource() => $_ensure(4);
-
- @$pb.TagNumber(6)
- $core.List get conditions => $_getList(5);
-
- @$pb.TagNumber(7)
- $core.Map<$core.String, $core.String> get annotations => $_getMap(6);
-}
-
-class PolicyPrincipal extends $pb.GeneratedMessage {
- factory PolicyPrincipal({
- PolicyOp? op,
- $0.EntityId? entity,
- $core.String? entityType,
- }) {
- final $result = create();
- if (op != null) {
- $result.op = op;
- }
- if (entity != null) {
- $result.entity = entity;
- }
- if (entityType != null) {
- $result.entityType = entityType;
- }
- return $result;
- }
- PolicyPrincipal._() : super();
- factory PolicyPrincipal.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
- factory PolicyPrincipal.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
-
- static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PolicyPrincipal', package: const $pb.PackageName(_omitMessageNames ? '' : 'cedar.v3'), createEmptyInstance: create)
- ..e(1, _omitFieldNames ? '' : 'op', $pb.PbFieldType.OE, defaultOrMaker: PolicyOp.POLICY_OP_UNSPECIFIED, valueOf: PolicyOp.valueOf, enumValues: PolicyOp.values)
- ..aOM<$0.EntityId>(2, _omitFieldNames ? '' : 'entity', subBuilder: $0.EntityId.create)
- ..aOS(3, _omitFieldNames ? '' : 'entityType')
- ..hasRequiredFields = false
- ;
-
- @$core.Deprecated(
- 'Using this can add significant overhead to your binary. '
- 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
- 'Will be removed in next major version')
- PolicyPrincipal clone() => PolicyPrincipal()..mergeFromMessage(this);
- @$core.Deprecated(
- 'Using this can add significant overhead to your binary. '
- 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
- 'Will be removed in next major version')
- PolicyPrincipal copyWith(void Function(PolicyPrincipal) updates) => super.copyWith((message) => updates(message as PolicyPrincipal)) as PolicyPrincipal;
-
- $pb.BuilderInfo get info_ => _i;
-
- @$core.pragma('dart2js:noInline')
- static PolicyPrincipal create() => PolicyPrincipal._();
- PolicyPrincipal createEmptyInstance() => create();
- static $pb.PbList createRepeated() => $pb.PbList();
- @$core.pragma('dart2js:noInline')
- static PolicyPrincipal getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create);
- static PolicyPrincipal? _defaultInstance;
-
- @$pb.TagNumber(1)
- PolicyOp get op => $_getN(0);
- @$pb.TagNumber(1)
- set op(PolicyOp v) { setField(1, v); }
- @$pb.TagNumber(1)
- $core.bool hasOp() => $_has(0);
- @$pb.TagNumber(1)
- void clearOp() => clearField(1);
-
- @$pb.TagNumber(2)
- $0.EntityId get entity => $_getN(1);
- @$pb.TagNumber(2)
- set entity($0.EntityId v) { setField(2, v); }
- @$pb.TagNumber(2)
- $core.bool hasEntity() => $_has(1);
- @$pb.TagNumber(2)
- void clearEntity() => clearField(2);
- @$pb.TagNumber(2)
- $0.EntityId ensureEntity() => $_ensure(1);
-
- @$pb.TagNumber(3)
- $core.String get entityType => $_getSZ(2);
- @$pb.TagNumber(3)
- set entityType($core.String v) { $_setString(2, v); }
- @$pb.TagNumber(3)
- $core.bool hasEntityType() => $_has(2);
- @$pb.TagNumber(3)
- void clearEntityType() => clearField(3);
-}
-
-class PolicyAction extends $pb.GeneratedMessage {
- factory PolicyAction({
- PolicyOp? op,
- $0.EntityId? entity,
- $core.Iterable<$0.EntityId>? entities,
- }) {
- final $result = create();
- if (op != null) {
- $result.op = op;
- }
- if (entity != null) {
- $result.entity = entity;
- }
- if (entities != null) {
- $result.entities.addAll(entities);
- }
- return $result;
- }
- PolicyAction._() : super();
- factory PolicyAction.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
- factory PolicyAction.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
-
- static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PolicyAction', package: const $pb.PackageName(_omitMessageNames ? '' : 'cedar.v3'), createEmptyInstance: create)
- ..e(1, _omitFieldNames ? '' : 'op', $pb.PbFieldType.OE, defaultOrMaker: PolicyOp.POLICY_OP_UNSPECIFIED, valueOf: PolicyOp.valueOf, enumValues: PolicyOp.values)
- ..aOM<$0.EntityId>(2, _omitFieldNames ? '' : 'entity', subBuilder: $0.EntityId.create)
- ..pc<$0.EntityId>(3, _omitFieldNames ? '' : 'entities', $pb.PbFieldType.PM, subBuilder: $0.EntityId.create)
- ..hasRequiredFields = false
- ;
-
- @$core.Deprecated(
- 'Using this can add significant overhead to your binary. '
- 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
- 'Will be removed in next major version')
- PolicyAction clone() => PolicyAction()..mergeFromMessage(this);
- @$core.Deprecated(
- 'Using this can add significant overhead to your binary. '
- 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
- 'Will be removed in next major version')
- PolicyAction copyWith(void Function(PolicyAction) updates) => super.copyWith((message) => updates(message as PolicyAction)) as PolicyAction;
-
- $pb.BuilderInfo get info_ => _i;
-
- @$core.pragma('dart2js:noInline')
- static PolicyAction create() => PolicyAction._();
- PolicyAction createEmptyInstance() => create();
- static $pb.PbList createRepeated() => $pb.PbList();
- @$core.pragma('dart2js:noInline')
- static PolicyAction getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create);
- static PolicyAction? _defaultInstance;
-
- @$pb.TagNumber(1)
- PolicyOp get op => $_getN(0);
- @$pb.TagNumber(1)
- set op(PolicyOp v) { setField(1, v); }
- @$pb.TagNumber(1)
- $core.bool hasOp() => $_has(0);
- @$pb.TagNumber(1)
- void clearOp() => clearField(1);
-
- @$pb.TagNumber(2)
- $0.EntityId get entity => $_getN(1);
- @$pb.TagNumber(2)
- set entity($0.EntityId v) { setField(2, v); }
- @$pb.TagNumber(2)
- $core.bool hasEntity() => $_has(1);
- @$pb.TagNumber(2)
- void clearEntity() => clearField(2);
- @$pb.TagNumber(2)
- $0.EntityId ensureEntity() => $_ensure(1);
-
- @$pb.TagNumber(3)
- $core.List<$0.EntityId> get entities => $_getList(2);
-}
-
-class PolicyResource extends $pb.GeneratedMessage {
- factory PolicyResource({
- PolicyOp? op,
- $0.EntityId? entity,
- $core.String? entityType,
- }) {
- final $result = create();
- if (op != null) {
- $result.op = op;
- }
- if (entity != null) {
- $result.entity = entity;
- }
- if (entityType != null) {
- $result.entityType = entityType;
- }
- return $result;
- }
- PolicyResource._() : super();
- factory PolicyResource.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
- factory PolicyResource.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
-
- static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PolicyResource', package: const $pb.PackageName(_omitMessageNames ? '' : 'cedar.v3'), createEmptyInstance: create)
- ..e(1, _omitFieldNames ? '' : 'op', $pb.PbFieldType.OE, defaultOrMaker: PolicyOp.POLICY_OP_UNSPECIFIED, valueOf: PolicyOp.valueOf, enumValues: PolicyOp.values)
- ..aOM<$0.EntityId>(2, _omitFieldNames ? '' : 'entity', subBuilder: $0.EntityId.create)
- ..aOS(3, _omitFieldNames ? '' : 'entityType')
- ..hasRequiredFields = false
- ;
-
- @$core.Deprecated(
- 'Using this can add significant overhead to your binary. '
- 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
- 'Will be removed in next major version')
- PolicyResource clone() => PolicyResource()..mergeFromMessage(this);
- @$core.Deprecated(
- 'Using this can add significant overhead to your binary. '
- 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
- 'Will be removed in next major version')
- PolicyResource copyWith(void Function(PolicyResource) updates) => super.copyWith((message) => updates(message as PolicyResource)) as PolicyResource;
-
- $pb.BuilderInfo get info_ => _i;
-
- @$core.pragma('dart2js:noInline')
- static PolicyResource create() => PolicyResource._();
- PolicyResource createEmptyInstance() => create();
- static $pb.PbList createRepeated() => $pb.PbList();
- @$core.pragma('dart2js:noInline')
- static PolicyResource getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create);
- static PolicyResource? _defaultInstance;
-
- @$pb.TagNumber(1)
- PolicyOp get op => $_getN(0);
- @$pb.TagNumber(1)
- set op(PolicyOp v) { setField(1, v); }
- @$pb.TagNumber(1)
- $core.bool hasOp() => $_has(0);
- @$pb.TagNumber(1)
- void clearOp() => clearField(1);
-
- @$pb.TagNumber(2)
- $0.EntityId get entity => $_getN(1);
- @$pb.TagNumber(2)
- set entity($0.EntityId v) { setField(2, v); }
- @$pb.TagNumber(2)
- $core.bool hasEntity() => $_has(1);
- @$pb.TagNumber(2)
- void clearEntity() => clearField(2);
- @$pb.TagNumber(2)
- $0.EntityId ensureEntity() => $_ensure(1);
-
- @$pb.TagNumber(3)
- $core.String get entityType => $_getSZ(2);
- @$pb.TagNumber(3)
- set entityType($core.String v) { $_setString(2, v); }
- @$pb.TagNumber(3)
- $core.bool hasEntityType() => $_has(2);
- @$pb.TagNumber(3)
- void clearEntityType() => clearField(3);
-}
-
-class PolicyCondition extends $pb.GeneratedMessage {
- factory PolicyCondition({
- PolicyConditionKind? kind,
- $3.Expr? body,
- }) {
- final $result = create();
- if (kind != null) {
- $result.kind = kind;
- }
- if (body != null) {
- $result.body = body;
- }
- return $result;
- }
- PolicyCondition._() : super();
- factory PolicyCondition.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
- factory PolicyCondition.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
-
- static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PolicyCondition', package: const $pb.PackageName(_omitMessageNames ? '' : 'cedar.v3'), createEmptyInstance: create)
- ..e(1, _omitFieldNames ? '' : 'kind', $pb.PbFieldType.OE, defaultOrMaker: PolicyConditionKind.POLICY_CONDITION_KIND_UNSPECIFIED, valueOf: PolicyConditionKind.valueOf, enumValues: PolicyConditionKind.values)
- ..aOM<$3.Expr>(2, _omitFieldNames ? '' : 'body', subBuilder: $3.Expr.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')
- PolicyCondition clone() => PolicyCondition()..mergeFromMessage(this);
- @$core.Deprecated(
- 'Using this can add significant overhead to your binary. '
- 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
- 'Will be removed in next major version')
- PolicyCondition copyWith(void Function(PolicyCondition) updates) => super.copyWith((message) => updates(message as PolicyCondition)) as PolicyCondition;
-
- $pb.BuilderInfo get info_ => _i;
-
- @$core.pragma('dart2js:noInline')
- static PolicyCondition create() => PolicyCondition._();
- PolicyCondition createEmptyInstance() => create();
- static $pb.PbList createRepeated() => $pb.PbList();
- @$core.pragma('dart2js:noInline')
- static PolicyCondition getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create);
- static PolicyCondition? _defaultInstance;
-
- @$pb.TagNumber(1)
- PolicyConditionKind get kind => $_getN(0);
- @$pb.TagNumber(1)
- set kind(PolicyConditionKind v) { setField(1, v); }
- @$pb.TagNumber(1)
- $core.bool hasKind() => $_has(0);
- @$pb.TagNumber(1)
- void clearKind() => clearField(1);
-
- @$pb.TagNumber(2)
- $3.Expr get body => $_getN(1);
- @$pb.TagNumber(2)
- set body($3.Expr v) { setField(2, v); }
- @$pb.TagNumber(2)
- $core.bool hasBody() => $_has(1);
- @$pb.TagNumber(2)
- void clearBody() => clearField(2);
- @$pb.TagNumber(2)
- $3.Expr ensureBody() => $_ensure(1);
-}
-
-
-const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names');
-const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names');
diff --git a/packages/corks_cedar/lib/src/proto/cedar/v3/policy.pbenum.dart b/packages/corks_cedar/lib/src/proto/cedar/v3/policy.pbenum.dart
deleted file mode 100644
index c7d69b36..00000000
--- a/packages/corks_cedar/lib/src/proto/cedar/v3/policy.pbenum.dart
+++ /dev/null
@@ -1,72 +0,0 @@
-//
-// Generated code. Do not modify.
-// source: cedar/v3/policy.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 PolicyEffect extends $pb.ProtobufEnum {
- static const PolicyEffect POLICY_EFFECT_UNSPECIFIED = PolicyEffect._(0, _omitEnumNames ? '' : 'POLICY_EFFECT_UNSPECIFIED');
- static const PolicyEffect POLICY_EFFECT_PERMIT = PolicyEffect._(1, _omitEnumNames ? '' : 'POLICY_EFFECT_PERMIT');
- static const PolicyEffect POLICY_EFFECT_FORBID = PolicyEffect._(2, _omitEnumNames ? '' : 'POLICY_EFFECT_FORBID');
-
- static const $core.List values = [
- POLICY_EFFECT_UNSPECIFIED,
- POLICY_EFFECT_PERMIT,
- POLICY_EFFECT_FORBID,
- ];
-
- static final $core.Map<$core.int, PolicyEffect> _byValue = $pb.ProtobufEnum.initByValue(values);
- static PolicyEffect? valueOf($core.int value) => _byValue[value];
-
- const PolicyEffect._($core.int v, $core.String n) : super(v, n);
-}
-
-class PolicyOp extends $pb.ProtobufEnum {
- static const PolicyOp POLICY_OP_UNSPECIFIED = PolicyOp._(0, _omitEnumNames ? '' : 'POLICY_OP_UNSPECIFIED');
- static const PolicyOp POLICY_OP_ALL = PolicyOp._(1, _omitEnumNames ? '' : 'POLICY_OP_ALL');
- static const PolicyOp POLICY_OP_EQUALS = PolicyOp._(2, _omitEnumNames ? '' : 'POLICY_OP_EQUALS');
- static const PolicyOp POLICY_OP_IN = PolicyOp._(3, _omitEnumNames ? '' : 'POLICY_OP_IN');
- static const PolicyOp POLICY_OP_IS = PolicyOp._(4, _omitEnumNames ? '' : 'POLICY_OP_IS');
-
- static const $core.List values = [
- POLICY_OP_UNSPECIFIED,
- POLICY_OP_ALL,
- POLICY_OP_EQUALS,
- POLICY_OP_IN,
- POLICY_OP_IS,
- ];
-
- static final $core.Map<$core.int, PolicyOp> _byValue = $pb.ProtobufEnum.initByValue(values);
- static PolicyOp? valueOf($core.int value) => _byValue[value];
-
- const PolicyOp._($core.int v, $core.String n) : super(v, n);
-}
-
-class PolicyConditionKind extends $pb.ProtobufEnum {
- static const PolicyConditionKind POLICY_CONDITION_KIND_UNSPECIFIED = PolicyConditionKind._(0, _omitEnumNames ? '' : 'POLICY_CONDITION_KIND_UNSPECIFIED');
- static const PolicyConditionKind POLICY_CONDITION_KIND_WHEN = PolicyConditionKind._(1, _omitEnumNames ? '' : 'POLICY_CONDITION_KIND_WHEN');
- static const PolicyConditionKind POLICY_CONDITION_KIND_UNLESS = PolicyConditionKind._(2, _omitEnumNames ? '' : 'POLICY_CONDITION_KIND_UNLESS');
-
- static const $core.List values = [
- POLICY_CONDITION_KIND_UNSPECIFIED,
- POLICY_CONDITION_KIND_WHEN,
- POLICY_CONDITION_KIND_UNLESS,
- ];
-
- static final $core.Map<$core.int, PolicyConditionKind> _byValue = $pb.ProtobufEnum.initByValue(values);
- static PolicyConditionKind? valueOf($core.int value) => _byValue[value];
-
- const PolicyConditionKind._($core.int v, $core.String n) : super(v, n);
-}
-
-
-const _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names');
diff --git a/packages/corks_cedar/lib/src/proto/cedar/v3/policy.pbjson.dart b/packages/corks_cedar/lib/src/proto/cedar/v3/policy.pbjson.dart
deleted file mode 100644
index 3e29400a..00000000
--- a/packages/corks_cedar/lib/src/proto/cedar/v3/policy.pbjson.dart
+++ /dev/null
@@ -1,178 +0,0 @@
-//
-// Generated code. Do not modify.
-// source: cedar/v3/policy.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 policyEffectDescriptor instead')
-const PolicyEffect$json = {
- '1': 'PolicyEffect',
- '2': [
- {'1': 'POLICY_EFFECT_UNSPECIFIED', '2': 0},
- {'1': 'POLICY_EFFECT_PERMIT', '2': 1},
- {'1': 'POLICY_EFFECT_FORBID', '2': 2},
- ],
-};
-
-/// Descriptor for `PolicyEffect`. Decode as a `google.protobuf.EnumDescriptorProto`.
-final $typed_data.Uint8List policyEffectDescriptor = $convert.base64Decode(
- 'CgxQb2xpY3lFZmZlY3QSHQoZUE9MSUNZX0VGRkVDVF9VTlNQRUNJRklFRBAAEhgKFFBPTElDWV'
- '9FRkZFQ1RfUEVSTUlUEAESGAoUUE9MSUNZX0VGRkVDVF9GT1JCSUQQAg==');
-
-@$core.Deprecated('Use policyOpDescriptor instead')
-const PolicyOp$json = {
- '1': 'PolicyOp',
- '2': [
- {'1': 'POLICY_OP_UNSPECIFIED', '2': 0},
- {'1': 'POLICY_OP_ALL', '2': 1},
- {'1': 'POLICY_OP_EQUALS', '2': 2},
- {'1': 'POLICY_OP_IN', '2': 3},
- {'1': 'POLICY_OP_IS', '2': 4},
- ],
-};
-
-/// Descriptor for `PolicyOp`. Decode as a `google.protobuf.EnumDescriptorProto`.
-final $typed_data.Uint8List policyOpDescriptor = $convert.base64Decode(
- 'CghQb2xpY3lPcBIZChVQT0xJQ1lfT1BfVU5TUEVDSUZJRUQQABIRCg1QT0xJQ1lfT1BfQUxMEA'
- 'ESFAoQUE9MSUNZX09QX0VRVUFMUxACEhAKDFBPTElDWV9PUF9JThADEhAKDFBPTElDWV9PUF9J'
- 'UxAE');
-
-@$core.Deprecated('Use policyConditionKindDescriptor instead')
-const PolicyConditionKind$json = {
- '1': 'PolicyConditionKind',
- '2': [
- {'1': 'POLICY_CONDITION_KIND_UNSPECIFIED', '2': 0},
- {'1': 'POLICY_CONDITION_KIND_WHEN', '2': 1},
- {'1': 'POLICY_CONDITION_KIND_UNLESS', '2': 2},
- ],
-};
-
-/// Descriptor for `PolicyConditionKind`. Decode as a `google.protobuf.EnumDescriptorProto`.
-final $typed_data.Uint8List policyConditionKindDescriptor = $convert.base64Decode(
- 'ChNQb2xpY3lDb25kaXRpb25LaW5kEiUKIVBPTElDWV9DT05ESVRJT05fS0lORF9VTlNQRUNJRk'
- 'lFRBAAEh4KGlBPTElDWV9DT05ESVRJT05fS0lORF9XSEVOEAESIAocUE9MSUNZX0NPTkRJVElP'
- 'Tl9LSU5EX1VOTEVTUxAC');
-
-@$core.Deprecated('Use policyDescriptor instead')
-const Policy$json = {
- '1': 'Policy',
- '2': [
- {'1': 'id', '3': 1, '4': 1, '5': 9, '9': 0, '10': 'id', '17': true},
- {'1': 'effect', '3': 2, '4': 1, '5': 14, '6': '.cedar.v3.PolicyEffect', '10': 'effect'},
- {'1': 'principal', '3': 3, '4': 1, '5': 11, '6': '.cedar.v3.PolicyPrincipal', '10': 'principal'},
- {'1': 'action', '3': 4, '4': 1, '5': 11, '6': '.cedar.v3.PolicyAction', '10': 'action'},
- {'1': 'resource', '3': 5, '4': 1, '5': 11, '6': '.cedar.v3.PolicyResource', '10': 'resource'},
- {'1': 'conditions', '3': 6, '4': 3, '5': 11, '6': '.cedar.v3.PolicyCondition', '10': 'conditions'},
- {'1': 'annotations', '3': 7, '4': 3, '5': 11, '6': '.cedar.v3.Policy.AnnotationsEntry', '10': 'annotations'},
- ],
- '3': [Policy_AnnotationsEntry$json],
- '8': [
- {'1': '_id'},
- ],
-};
-
-@$core.Deprecated('Use policyDescriptor instead')
-const Policy_AnnotationsEntry$json = {
- '1': 'AnnotationsEntry',
- '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 `Policy`. Decode as a `google.protobuf.DescriptorProto`.
-final $typed_data.Uint8List policyDescriptor = $convert.base64Decode(
- 'CgZQb2xpY3kSEwoCaWQYASABKAlIAFICaWSIAQESLgoGZWZmZWN0GAIgASgOMhYuY2VkYXIudj'
- 'MuUG9saWN5RWZmZWN0UgZlZmZlY3QSNwoJcHJpbmNpcGFsGAMgASgLMhkuY2VkYXIudjMuUG9s'
- 'aWN5UHJpbmNpcGFsUglwcmluY2lwYWwSLgoGYWN0aW9uGAQgASgLMhYuY2VkYXIudjMuUG9saW'
- 'N5QWN0aW9uUgZhY3Rpb24SNAoIcmVzb3VyY2UYBSABKAsyGC5jZWRhci52My5Qb2xpY3lSZXNv'
- 'dXJjZVIIcmVzb3VyY2USOQoKY29uZGl0aW9ucxgGIAMoCzIZLmNlZGFyLnYzLlBvbGljeUNvbm'
- 'RpdGlvblIKY29uZGl0aW9ucxJDCgthbm5vdGF0aW9ucxgHIAMoCzIhLmNlZGFyLnYzLlBvbGlj'
- 'eS5Bbm5vdGF0aW9uc0VudHJ5Ugthbm5vdGF0aW9ucxo+ChBBbm5vdGF0aW9uc0VudHJ5EhAKA2'
- 'tleRgBIAEoCVIDa2V5EhQKBXZhbHVlGAIgASgJUgV2YWx1ZToCOAFCBQoDX2lk');
-
-@$core.Deprecated('Use policyPrincipalDescriptor instead')
-const PolicyPrincipal$json = {
- '1': 'PolicyPrincipal',
- '2': [
- {'1': 'op', '3': 1, '4': 1, '5': 14, '6': '.cedar.v3.PolicyOp', '10': 'op'},
- {'1': 'entity', '3': 2, '4': 1, '5': 11, '6': '.cedar.v3.EntityId', '9': 0, '10': 'entity', '17': true},
- {'1': 'entity_type', '3': 3, '4': 1, '5': 9, '9': 1, '10': 'entityType', '17': true},
- ],
- '8': [
- {'1': '_entity'},
- {'1': '_entity_type'},
- ],
-};
-
-/// Descriptor for `PolicyPrincipal`. Decode as a `google.protobuf.DescriptorProto`.
-final $typed_data.Uint8List policyPrincipalDescriptor = $convert.base64Decode(
- 'Cg9Qb2xpY3lQcmluY2lwYWwSIgoCb3AYASABKA4yEi5jZWRhci52My5Qb2xpY3lPcFICb3ASLw'
- 'oGZW50aXR5GAIgASgLMhIuY2VkYXIudjMuRW50aXR5SWRIAFIGZW50aXR5iAEBEiQKC2VudGl0'
- 'eV90eXBlGAMgASgJSAFSCmVudGl0eVR5cGWIAQFCCQoHX2VudGl0eUIOCgxfZW50aXR5X3R5cG'
- 'U=');
-
-@$core.Deprecated('Use policyActionDescriptor instead')
-const PolicyAction$json = {
- '1': 'PolicyAction',
- '2': [
- {'1': 'op', '3': 1, '4': 1, '5': 14, '6': '.cedar.v3.PolicyOp', '10': 'op'},
- {'1': 'entity', '3': 2, '4': 1, '5': 11, '6': '.cedar.v3.EntityId', '9': 0, '10': 'entity', '17': true},
- {'1': 'entities', '3': 3, '4': 3, '5': 11, '6': '.cedar.v3.EntityId', '10': 'entities'},
- ],
- '8': [
- {'1': '_entity'},
- ],
-};
-
-/// Descriptor for `PolicyAction`. Decode as a `google.protobuf.DescriptorProto`.
-final $typed_data.Uint8List policyActionDescriptor = $convert.base64Decode(
- 'CgxQb2xpY3lBY3Rpb24SIgoCb3AYASABKA4yEi5jZWRhci52My5Qb2xpY3lPcFICb3ASLwoGZW'
- '50aXR5GAIgASgLMhIuY2VkYXIudjMuRW50aXR5SWRIAFIGZW50aXR5iAEBEi4KCGVudGl0aWVz'
- 'GAMgAygLMhIuY2VkYXIudjMuRW50aXR5SWRSCGVudGl0aWVzQgkKB19lbnRpdHk=');
-
-@$core.Deprecated('Use policyResourceDescriptor instead')
-const PolicyResource$json = {
- '1': 'PolicyResource',
- '2': [
- {'1': 'op', '3': 1, '4': 1, '5': 14, '6': '.cedar.v3.PolicyOp', '10': 'op'},
- {'1': 'entity', '3': 2, '4': 1, '5': 11, '6': '.cedar.v3.EntityId', '9': 0, '10': 'entity', '17': true},
- {'1': 'entity_type', '3': 3, '4': 1, '5': 9, '9': 1, '10': 'entityType', '17': true},
- ],
- '8': [
- {'1': '_entity'},
- {'1': '_entity_type'},
- ],
-};
-
-/// Descriptor for `PolicyResource`. Decode as a `google.protobuf.DescriptorProto`.
-final $typed_data.Uint8List policyResourceDescriptor = $convert.base64Decode(
- 'Cg5Qb2xpY3lSZXNvdXJjZRIiCgJvcBgBIAEoDjISLmNlZGFyLnYzLlBvbGljeU9wUgJvcBIvCg'
- 'ZlbnRpdHkYAiABKAsyEi5jZWRhci52My5FbnRpdHlJZEgAUgZlbnRpdHmIAQESJAoLZW50aXR5'
- 'X3R5cGUYAyABKAlIAVIKZW50aXR5VHlwZYgBAUIJCgdfZW50aXR5Qg4KDF9lbnRpdHlfdHlwZQ'
- '==');
-
-@$core.Deprecated('Use policyConditionDescriptor instead')
-const PolicyCondition$json = {
- '1': 'PolicyCondition',
- '2': [
- {'1': 'kind', '3': 1, '4': 1, '5': 14, '6': '.cedar.v3.PolicyConditionKind', '10': 'kind'},
- {'1': 'body', '3': 2, '4': 1, '5': 11, '6': '.cedar.v3.Expr', '10': 'body'},
- ],
-};
-
-/// Descriptor for `PolicyCondition`. Decode as a `google.protobuf.DescriptorProto`.
-final $typed_data.Uint8List policyConditionDescriptor = $convert.base64Decode(
- 'Cg9Qb2xpY3lDb25kaXRpb24SMQoEa2luZBgBIAEoDjIdLmNlZGFyLnYzLlBvbGljeUNvbmRpdG'
- 'lvbktpbmRSBGtpbmQSIgoEYm9keRgCIAEoCzIOLmNlZGFyLnYzLkV4cHJSBGJvZHk=');
-
diff --git a/packages/corks_cedar/lib/src/proto/cedar/v3/policy.pbserver.dart b/packages/corks_cedar/lib/src/proto/cedar/v3/policy.pbserver.dart
deleted file mode 100644
index 600f60cf..00000000
--- a/packages/corks_cedar/lib/src/proto/cedar/v3/policy.pbserver.dart
+++ /dev/null
@@ -1,14 +0,0 @@
-//
-// Generated code. Do not modify.
-// source: cedar/v3/policy.proto
-//
-// @dart = 2.12
-
-// ignore_for_file: annotate_overrides, camel_case_types, comment_references
-// ignore_for_file: constant_identifier_names
-// ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
-// ignore_for_file: non_constant_identifier_names, prefer_final_fields
-// ignore_for_file: unnecessary_import, unnecessary_this, unused_import
-
-export 'policy.pb.dart';
-
diff --git a/packages/corks_cedar/lib/src/proto/cedar/v3/value.pb.dart b/packages/corks_cedar/lib/src/proto/cedar/v3/value.pb.dart
deleted file mode 100644
index d6550120..00000000
--- a/packages/corks_cedar/lib/src/proto/cedar/v3/value.pb.dart
+++ /dev/null
@@ -1,394 +0,0 @@
-//
-// Generated code. Do not modify.
-// source: cedar/v3/value.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 'entity_id.pb.dart' as $0;
-
-enum Value_Value {
- string,
- long,
- bool_3,
- set,
- record,
- extension_6,
- entity,
- notSet
-}
-
-class Value extends $pb.GeneratedMessage {
- factory Value({
- $core.String? string,
- $fixnum.Int64? long,
- $core.bool? bool_3,
- SetValue? set,
- RecordValue? record,
- ExtensionValue? extension_6,
- EntityValue? entity,
- }) {
- final $result = create();
- if (string != null) {
- $result.string = string;
- }
- if (long != null) {
- $result.long = long;
- }
- if (bool_3 != null) {
- $result.bool_3 = bool_3;
- }
- if (set != null) {
- $result.set = set;
- }
- if (record != null) {
- $result.record = record;
- }
- if (extension_6 != null) {
- $result.extension_6 = extension_6;
- }
- if (entity != null) {
- $result.entity = entity;
- }
- 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_Value> _Value_ValueByTag = {
- 1 : Value_Value.string,
- 2 : Value_Value.long,
- 3 : Value_Value.bool_3,
- 4 : Value_Value.set,
- 5 : Value_Value.record,
- 6 : Value_Value.extension_6,
- 7 : Value_Value.entity,
- 0 : Value_Value.notSet
- };
- static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Value', package: const $pb.PackageName(_omitMessageNames ? '' : 'cedar.v3'), createEmptyInstance: create)
- ..oo(0, [1, 2, 3, 4, 5, 6, 7])
- ..aOS(1, _omitFieldNames ? '' : 'string')
- ..aInt64(2, _omitFieldNames ? '' : 'long')
- ..aOB(3, _omitFieldNames ? '' : 'bool')
- ..aOM(4, _omitFieldNames ? '' : 'set', subBuilder: SetValue.create)
- ..aOM(5, _omitFieldNames ? '' : 'record', subBuilder: RecordValue.create)
- ..aOM(6, _omitFieldNames ? '' : 'extension', subBuilder: ExtensionValue.create)
- ..aOM(7, _omitFieldNames ? '' : 'entity', subBuilder: EntityValue.create)
- ..hasRequiredFields = false
- ;
-
- @$core.Deprecated(
- 'Using this can add significant overhead to your binary. '
- 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
- 'Will be removed in next major version')
- Value clone() => Value()..mergeFromMessage(this);
- @$core.Deprecated(
- 'Using this can add significant overhead to your binary. '
- 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
- 'Will be removed in next major version')
- Value copyWith(void Function(Value) updates) => super.copyWith((message) => updates(message as Value)) as Value;
-
- $pb.BuilderInfo get info_ => _i;
-
- @$core.pragma('dart2js:noInline')
- static Value create() => Value._();
- Value createEmptyInstance() => create();
- static $pb.PbList createRepeated() => $pb.PbList();
- @$core.pragma('dart2js:noInline')
- static Value getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create);
- static Value? _defaultInstance;
-
- Value_Value whichValue() => _Value_ValueByTag[$_whichOneof(0)]!;
- void clearValue() => clearField($_whichOneof(0));
-
- @$pb.TagNumber(1)
- $core.String get string => $_getSZ(0);
- @$pb.TagNumber(1)
- set string($core.String v) { $_setString(0, v); }
- @$pb.TagNumber(1)
- $core.bool hasString() => $_has(0);
- @$pb.TagNumber(1)
- void clearString() => clearField(1);
-
- @$pb.TagNumber(2)
- $fixnum.Int64 get long => $_getI64(1);
- @$pb.TagNumber(2)
- set long($fixnum.Int64 v) { $_setInt64(1, v); }
- @$pb.TagNumber(2)
- $core.bool hasLong() => $_has(1);
- @$pb.TagNumber(2)
- void clearLong() => clearField(2);
-
- @$pb.TagNumber(3)
- $core.bool get bool_3 => $_getBF(2);
- @$pb.TagNumber(3)
- set bool_3($core.bool v) { $_setBool(2, v); }
- @$pb.TagNumber(3)
- $core.bool hasBool_3() => $_has(2);
- @$pb.TagNumber(3)
- void clearBool_3() => clearField(3);
-
- @$pb.TagNumber(4)
- SetValue get set => $_getN(3);
- @$pb.TagNumber(4)
- set set(SetValue v) { setField(4, v); }
- @$pb.TagNumber(4)
- $core.bool hasSet() => $_has(3);
- @$pb.TagNumber(4)
- void clearSet() => clearField(4);
- @$pb.TagNumber(4)
- SetValue ensureSet() => $_ensure(3);
-
- @$pb.TagNumber(5)
- RecordValue get record => $_getN(4);
- @$pb.TagNumber(5)
- set record(RecordValue v) { setField(5, v); }
- @$pb.TagNumber(5)
- $core.bool hasRecord() => $_has(4);
- @$pb.TagNumber(5)
- void clearRecord() => clearField(5);
- @$pb.TagNumber(5)
- RecordValue ensureRecord() => $_ensure(4);
-
- @$pb.TagNumber(6)
- ExtensionValue get extension_6 => $_getN(5);
- @$pb.TagNumber(6)
- set extension_6(ExtensionValue v) { setField(6, v); }
- @$pb.TagNumber(6)
- $core.bool hasExtension_6() => $_has(5);
- @$pb.TagNumber(6)
- void clearExtension_6() => clearField(6);
- @$pb.TagNumber(6)
- ExtensionValue ensureExtension_6() => $_ensure(5);
-
- @$pb.TagNumber(7)
- EntityValue get entity => $_getN(6);
- @$pb.TagNumber(7)
- set entity(EntityValue v) { setField(7, v); }
- @$pb.TagNumber(7)
- $core.bool hasEntity() => $_has(6);
- @$pb.TagNumber(7)
- void clearEntity() => clearField(7);
- @$pb.TagNumber(7)
- EntityValue ensureEntity() => $_ensure(6);
-}
-
-class SetValue extends $pb.GeneratedMessage {
- factory SetValue({
- $core.Iterable? values,
- }) {
- final $result = create();
- if (values != null) {
- $result.values.addAll(values);
- }
- return $result;
- }
- SetValue._() : super();
- factory SetValue.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
- factory SetValue.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
-
- static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SetValue', package: const $pb.PackageName(_omitMessageNames ? '' : 'cedar.v3'), createEmptyInstance: create)
- ..pc(1, _omitFieldNames ? '' : 'values', $pb.PbFieldType.PM, subBuilder: Value.create)
- ..hasRequiredFields = false
- ;
-
- @$core.Deprecated(
- 'Using this can add significant overhead to your binary. '
- 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
- 'Will be removed in next major version')
- SetValue clone() => SetValue()..mergeFromMessage(this);
- @$core.Deprecated(
- 'Using this can add significant overhead to your binary. '
- 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
- 'Will be removed in next major version')
- SetValue copyWith(void Function(SetValue) updates) => super.copyWith((message) => updates(message as SetValue)) as SetValue;
-
- $pb.BuilderInfo get info_ => _i;
-
- @$core.pragma('dart2js:noInline')
- static SetValue create() => SetValue._();
- SetValue createEmptyInstance() => create();
- static $pb.PbList createRepeated() => $pb.PbList();
- @$core.pragma('dart2js:noInline')
- static SetValue getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create);
- static SetValue? _defaultInstance;
-
- @$pb.TagNumber(1)
- $core.List get values => $_getList(0);
-}
-
-class RecordValue extends $pb.GeneratedMessage {
- factory RecordValue({
- $core.Map<$core.String, Value>? values,
- }) {
- final $result = create();
- if (values != null) {
- $result.values.addAll(values);
- }
- return $result;
- }
- RecordValue._() : super();
- factory RecordValue.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
- factory RecordValue.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
-
- static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RecordValue', package: const $pb.PackageName(_omitMessageNames ? '' : 'cedar.v3'), createEmptyInstance: create)
- ..m<$core.String, Value>(1, _omitFieldNames ? '' : 'values', entryClassName: 'RecordValue.ValuesEntry', keyFieldType: $pb.PbFieldType.OS, valueFieldType: $pb.PbFieldType.OM, valueCreator: Value.create, valueDefaultOrMaker: Value.getDefault, packageName: const $pb.PackageName('cedar.v3'))
- ..hasRequiredFields = false
- ;
-
- @$core.Deprecated(
- 'Using this can add significant overhead to your binary. '
- 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
- 'Will be removed in next major version')
- RecordValue clone() => RecordValue()..mergeFromMessage(this);
- @$core.Deprecated(
- 'Using this can add significant overhead to your binary. '
- 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
- 'Will be removed in next major version')
- RecordValue copyWith(void Function(RecordValue) updates) => super.copyWith((message) => updates(message as RecordValue)) as RecordValue;
-
- $pb.BuilderInfo get info_ => _i;
-
- @$core.pragma('dart2js:noInline')
- static RecordValue create() => RecordValue._();
- RecordValue createEmptyInstance() => create();
- static $pb.PbList createRepeated() => $pb.PbList();
- @$core.pragma('dart2js:noInline')
- static RecordValue getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create);
- static RecordValue? _defaultInstance;
-
- @$pb.TagNumber(1)
- $core.Map<$core.String, Value> get values => $_getMap(0);
-}
-
-class ExtensionValue extends $pb.GeneratedMessage {
- factory ExtensionValue({
- $core.String? fn,
- Value? arg,
- }) {
- final $result = create();
- if (fn != null) {
- $result.fn = fn;
- }
- if (arg != null) {
- $result.arg = arg;
- }
- return $result;
- }
- ExtensionValue._() : super();
- factory ExtensionValue.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
- factory ExtensionValue.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
-
- static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ExtensionValue', package: const $pb.PackageName(_omitMessageNames ? '' : 'cedar.v3'), createEmptyInstance: create)
- ..aOS(1, _omitFieldNames ? '' : 'fn')
- ..aOM(2, _omitFieldNames ? '' : 'arg', 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')
- ExtensionValue clone() => ExtensionValue()..mergeFromMessage(this);
- @$core.Deprecated(
- 'Using this can add significant overhead to your binary. '
- 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
- 'Will be removed in next major version')
- ExtensionValue copyWith(void Function(ExtensionValue) updates) => super.copyWith((message) => updates(message as ExtensionValue)) as ExtensionValue;
-
- $pb.BuilderInfo get info_ => _i;
-
- @$core.pragma('dart2js:noInline')
- static ExtensionValue create() => ExtensionValue._();
- ExtensionValue createEmptyInstance() => create();
- static $pb.PbList createRepeated() => $pb.PbList();
- @$core.pragma('dart2js:noInline')
- static ExtensionValue getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create);
- static ExtensionValue? _defaultInstance;
-
- @$pb.TagNumber(1)
- $core.String get fn => $_getSZ(0);
- @$pb.TagNumber(1)
- set fn($core.String v) { $_setString(0, v); }
- @$pb.TagNumber(1)
- $core.bool hasFn() => $_has(0);
- @$pb.TagNumber(1)
- void clearFn() => clearField(1);
-
- @$pb.TagNumber(2)
- Value get arg => $_getN(1);
- @$pb.TagNumber(2)
- set arg(Value v) { setField(2, v); }
- @$pb.TagNumber(2)
- $core.bool hasArg() => $_has(1);
- @$pb.TagNumber(2)
- void clearArg() => clearField(2);
- @$pb.TagNumber(2)
- Value ensureArg() => $_ensure(1);
-}
-
-class EntityValue extends $pb.GeneratedMessage {
- factory EntityValue({
- $0.EntityId? uid,
- }) {
- final $result = create();
- if (uid != null) {
- $result.uid = uid;
- }
- return $result;
- }
- EntityValue._() : super();
- factory EntityValue.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
- factory EntityValue.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
-
- static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'EntityValue', package: const $pb.PackageName(_omitMessageNames ? '' : 'cedar.v3'), createEmptyInstance: create)
- ..aOM<$0.EntityId>(1, _omitFieldNames ? '' : 'uid', subBuilder: $0.EntityId.create)
- ..hasRequiredFields = false
- ;
-
- @$core.Deprecated(
- 'Using this can add significant overhead to your binary. '
- 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
- 'Will be removed in next major version')
- EntityValue clone() => EntityValue()..mergeFromMessage(this);
- @$core.Deprecated(
- 'Using this can add significant overhead to your binary. '
- 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
- 'Will be removed in next major version')
- EntityValue copyWith(void Function(EntityValue) updates) => super.copyWith((message) => updates(message as EntityValue)) as EntityValue;
-
- $pb.BuilderInfo get info_ => _i;
-
- @$core.pragma('dart2js:noInline')
- static EntityValue create() => EntityValue._();
- EntityValue createEmptyInstance() => create();
- static $pb.PbList createRepeated() => $pb.PbList();
- @$core.pragma('dart2js:noInline')
- static EntityValue getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create);
- static EntityValue? _defaultInstance;
-
- @$pb.TagNumber(1)
- $0.EntityId get uid => $_getN(0);
- @$pb.TagNumber(1)
- set uid($0.EntityId v) { setField(1, v); }
- @$pb.TagNumber(1)
- $core.bool hasUid() => $_has(0);
- @$pb.TagNumber(1)
- void clearUid() => clearField(1);
- @$pb.TagNumber(1)
- $0.EntityId ensureUid() => $_ensure(0);
-}
-
-
-const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names');
-const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names');
diff --git a/packages/corks_cedar/lib/src/proto/cedar/v3/value.pbenum.dart b/packages/corks_cedar/lib/src/proto/cedar/v3/value.pbenum.dart
deleted file mode 100644
index bed60914..00000000
--- a/packages/corks_cedar/lib/src/proto/cedar/v3/value.pbenum.dart
+++ /dev/null
@@ -1,11 +0,0 @@
-//
-// Generated code. Do not modify.
-// source: cedar/v3/value.proto
-//
-// @dart = 2.12
-
-// ignore_for_file: annotate_overrides, camel_case_types, comment_references
-// ignore_for_file: constant_identifier_names, library_prefixes
-// ignore_for_file: non_constant_identifier_names, prefer_final_fields
-// ignore_for_file: unnecessary_import, unnecessary_this, unused_import
-
diff --git a/packages/corks_cedar/lib/src/proto/cedar/v3/value.pbjson.dart b/packages/corks_cedar/lib/src/proto/cedar/v3/value.pbjson.dart
deleted file mode 100644
index 832f54d3..00000000
--- a/packages/corks_cedar/lib/src/proto/cedar/v3/value.pbjson.dart
+++ /dev/null
@@ -1,104 +0,0 @@
-//
-// Generated code. Do not modify.
-// source: cedar/v3/value.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 valueDescriptor instead')
-const Value$json = {
- '1': 'Value',
- '2': [
- {'1': 'string', '3': 1, '4': 1, '5': 9, '9': 0, '10': 'string'},
- {'1': 'long', '3': 2, '4': 1, '5': 3, '9': 0, '10': 'long'},
- {'1': 'bool', '3': 3, '4': 1, '5': 8, '9': 0, '10': 'bool'},
- {'1': 'set', '3': 4, '4': 1, '5': 11, '6': '.cedar.v3.SetValue', '9': 0, '10': 'set'},
- {'1': 'record', '3': 5, '4': 1, '5': 11, '6': '.cedar.v3.RecordValue', '9': 0, '10': 'record'},
- {'1': 'extension', '3': 6, '4': 1, '5': 11, '6': '.cedar.v3.ExtensionValue', '9': 0, '10': 'extension'},
- {'1': 'entity', '3': 7, '4': 1, '5': 11, '6': '.cedar.v3.EntityValue', '9': 0, '10': 'entity'},
- ],
- '8': [
- {'1': 'value'},
- ],
-};
-
-/// Descriptor for `Value`. Decode as a `google.protobuf.DescriptorProto`.
-final $typed_data.Uint8List valueDescriptor = $convert.base64Decode(
- 'CgVWYWx1ZRIYCgZzdHJpbmcYASABKAlIAFIGc3RyaW5nEhQKBGxvbmcYAiABKANIAFIEbG9uZx'
- 'IUCgRib29sGAMgASgISABSBGJvb2wSJgoDc2V0GAQgASgLMhIuY2VkYXIudjMuU2V0VmFsdWVI'
- 'AFIDc2V0Ei8KBnJlY29yZBgFIAEoCzIVLmNlZGFyLnYzLlJlY29yZFZhbHVlSABSBnJlY29yZB'
- 'I4CglleHRlbnNpb24YBiABKAsyGC5jZWRhci52My5FeHRlbnNpb25WYWx1ZUgAUglleHRlbnNp'
- 'b24SLwoGZW50aXR5GAcgASgLMhUuY2VkYXIudjMuRW50aXR5VmFsdWVIAFIGZW50aXR5QgcKBX'
- 'ZhbHVl');
-
-@$core.Deprecated('Use setValueDescriptor instead')
-const SetValue$json = {
- '1': 'SetValue',
- '2': [
- {'1': 'values', '3': 1, '4': 3, '5': 11, '6': '.cedar.v3.Value', '10': 'values'},
- ],
-};
-
-/// Descriptor for `SetValue`. Decode as a `google.protobuf.DescriptorProto`.
-final $typed_data.Uint8List setValueDescriptor = $convert.base64Decode(
- 'CghTZXRWYWx1ZRInCgZ2YWx1ZXMYASADKAsyDy5jZWRhci52My5WYWx1ZVIGdmFsdWVz');
-
-@$core.Deprecated('Use recordValueDescriptor instead')
-const RecordValue$json = {
- '1': 'RecordValue',
- '2': [
- {'1': 'values', '3': 1, '4': 3, '5': 11, '6': '.cedar.v3.RecordValue.ValuesEntry', '10': 'values'},
- ],
- '3': [RecordValue_ValuesEntry$json],
-};
-
-@$core.Deprecated('Use recordValueDescriptor instead')
-const RecordValue_ValuesEntry$json = {
- '1': 'ValuesEntry',
- '2': [
- {'1': 'key', '3': 1, '4': 1, '5': 9, '10': 'key'},
- {'1': 'value', '3': 2, '4': 1, '5': 11, '6': '.cedar.v3.Value', '10': 'value'},
- ],
- '7': {'7': true},
-};
-
-/// Descriptor for `RecordValue`. Decode as a `google.protobuf.DescriptorProto`.
-final $typed_data.Uint8List recordValueDescriptor = $convert.base64Decode(
- 'CgtSZWNvcmRWYWx1ZRI5CgZ2YWx1ZXMYASADKAsyIS5jZWRhci52My5SZWNvcmRWYWx1ZS5WYW'
- 'x1ZXNFbnRyeVIGdmFsdWVzGkoKC1ZhbHVlc0VudHJ5EhAKA2tleRgBIAEoCVIDa2V5EiUKBXZh'
- 'bHVlGAIgASgLMg8uY2VkYXIudjMuVmFsdWVSBXZhbHVlOgI4AQ==');
-
-@$core.Deprecated('Use extensionValueDescriptor instead')
-const ExtensionValue$json = {
- '1': 'ExtensionValue',
- '2': [
- {'1': 'fn', '3': 1, '4': 1, '5': 9, '10': 'fn'},
- {'1': 'arg', '3': 2, '4': 1, '5': 11, '6': '.cedar.v3.Value', '10': 'arg'},
- ],
-};
-
-/// Descriptor for `ExtensionValue`. Decode as a `google.protobuf.DescriptorProto`.
-final $typed_data.Uint8List extensionValueDescriptor = $convert.base64Decode(
- 'Cg5FeHRlbnNpb25WYWx1ZRIOCgJmbhgBIAEoCVICZm4SIQoDYXJnGAIgASgLMg8uY2VkYXIudj'
- 'MuVmFsdWVSA2FyZw==');
-
-@$core.Deprecated('Use entityValueDescriptor instead')
-const EntityValue$json = {
- '1': 'EntityValue',
- '2': [
- {'1': 'uid', '3': 1, '4': 1, '5': 11, '6': '.cedar.v3.EntityId', '10': 'uid'},
- ],
-};
-
-/// Descriptor for `EntityValue`. Decode as a `google.protobuf.DescriptorProto`.
-final $typed_data.Uint8List entityValueDescriptor = $convert.base64Decode(
- 'CgtFbnRpdHlWYWx1ZRIkCgN1aWQYASABKAsyEi5jZWRhci52My5FbnRpdHlJZFIDdWlk');
-
diff --git a/packages/corks_cedar/lib/src/proto/cedar/v3/value.pbserver.dart b/packages/corks_cedar/lib/src/proto/cedar/v3/value.pbserver.dart
deleted file mode 100644
index 1417e467..00000000
--- a/packages/corks_cedar/lib/src/proto/cedar/v3/value.pbserver.dart
+++ /dev/null
@@ -1,14 +0,0 @@
-//
-// Generated code. Do not modify.
-// source: cedar/v3/value.proto
-//
-// @dart = 2.12
-
-// ignore_for_file: annotate_overrides, camel_case_types, comment_references
-// ignore_for_file: constant_identifier_names
-// ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
-// ignore_for_file: non_constant_identifier_names, prefer_final_fields
-// ignore_for_file: unnecessary_import, unnecessary_this, unused_import
-
-export 'value.pb.dart';
-
diff --git a/packages/corks_cedar/lib/src/proto/corks/v1/cork.pb.dart b/packages/corks_cedar/lib/src/proto/corks/v1/cork.pb.dart
deleted file mode 100644
index b4c15a56..00000000
--- a/packages/corks_cedar/lib/src/proto/corks/v1/cork.pb.dart
+++ /dev/null
@@ -1,198 +0,0 @@
-//
-// Generated code. Do not modify.
-// source: corks/v1/cork.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 Cork extends $pb.GeneratedMessage {
- factory Cork({
- $core.List<$core.int>? id,
- $core.List<$core.int>? keyId,
- SignedBlock? bearer,
- $core.Iterable? caveats,
- $core.List<$core.int>? signature,
- }) {
- final $result = create();
- if (id != null) {
- $result.id = id;
- }
- if (keyId != null) {
- $result.keyId = keyId;
- }
- if (bearer != null) {
- $result.bearer = bearer;
- }
- if (caveats != null) {
- $result.caveats.addAll(caveats);
- }
- if (signature != null) {
- $result.signature = signature;
- }
- return $result;
- }
- Cork._() : super();
- factory Cork.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
- factory Cork.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
-
- static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Cork', package: const $pb.PackageName(_omitMessageNames ? '' : 'corks.v1'), createEmptyInstance: create)
- ..a<$core.List<$core.int>>(1, _omitFieldNames ? '' : 'id', $pb.PbFieldType.OY)
- ..a<$core.List<$core.int>>(2, _omitFieldNames ? '' : 'keyId', $pb.PbFieldType.OY)
- ..aOM(3, _omitFieldNames ? '' : 'bearer', subBuilder: SignedBlock.create)
- ..pc(4, _omitFieldNames ? '' : 'caveats', $pb.PbFieldType.PM, subBuilder: SignedBlock.create)
- ..a<$core.List<$core.int>>(5, _omitFieldNames ? '' : 'signature', $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')
- Cork clone() => Cork()..mergeFromMessage(this);
- @$core.Deprecated(
- 'Using this can add significant overhead to your binary. '
- 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
- 'Will be removed in next major version')
- Cork copyWith(void Function(Cork) updates) => super.copyWith((message) => updates(message as Cork)) as Cork;
-
- $pb.BuilderInfo get info_ => _i;
-
- @$core.pragma('dart2js:noInline')
- static Cork create() => Cork._();
- Cork createEmptyInstance() => create();
- static $pb.PbList