// This is a generated file - do not edit.
//
// Generated from restrictions.proto.

// @dart = 3.3

// ignore_for_file: annotate_overrides, camel_case_types, comment_references
// ignore_for_file: constant_identifier_names
// ignore_for_file: curly_braces_in_flow_control_structures
// ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
// ignore_for_file: non_constant_identifier_names

import 'dart:core' as $core;

import 'package:protobuf/protobuf.dart' as $pb;

/// RestrictionType determines the scope of a restriction's application.
class RestrictionType extends $pb.ProtobufEnum {
  static const RestrictionType RESTRICTION_TYPE_UNKNOWN = RestrictionType._(0, _omitEnumNames ? '' : 'RESTRICTION_TYPE_UNKNOWN');
  static const RestrictionType RESTRICTION_TYPE_USER = RestrictionType._(1, _omitEnumNames ? '' : 'RESTRICTION_TYPE_USER');
  static const RestrictionType RESTRICTION_TYPE_PARTNER = RestrictionType._(2, _omitEnumNames ? '' : 'RESTRICTION_TYPE_PARTNER');

  static const $core.List<RestrictionType> values = <RestrictionType> [
    RESTRICTION_TYPE_UNKNOWN,
    RESTRICTION_TYPE_USER,
    RESTRICTION_TYPE_PARTNER,
  ];

  static final $core.List<RestrictionType?> _byValue = $pb.ProtobufEnum.$_initByValueList(values, 2);
  static RestrictionType? valueOf($core.int value) =>  value < 0 || value >= _byValue.length ? null : _byValue[value];

  const RestrictionType._(super.value, super.name);
}

/// RuleComputeFormat specifies the query language into which a restriction rule is compiled.
class RuleComputeFormat extends $pb.ProtobufEnum {
  static const RuleComputeFormat RULE_COMPUTE_FORMAT_UNKNOWN = RuleComputeFormat._(0, _omitEnumNames ? '' : 'RULE_COMPUTE_FORMAT_UNKNOWN');
  static const RuleComputeFormat RULE_COMPUTE_FORMAT_CH = RuleComputeFormat._(1, _omitEnumNames ? '' : 'RULE_COMPUTE_FORMAT_CH');
  static const RuleComputeFormat RULE_COMPUTE_FORMAT_OS = RuleComputeFormat._(2, _omitEnumNames ? '' : 'RULE_COMPUTE_FORMAT_OS');
  static const RuleComputeFormat RULE_COMPUTE_FORMAT_JQ = RuleComputeFormat._(3, _omitEnumNames ? '' : 'RULE_COMPUTE_FORMAT_JQ');

  static const $core.List<RuleComputeFormat> values = <RuleComputeFormat> [
    RULE_COMPUTE_FORMAT_UNKNOWN,
    RULE_COMPUTE_FORMAT_CH,
    RULE_COMPUTE_FORMAT_OS,
    RULE_COMPUTE_FORMAT_JQ,
  ];

  static final $core.List<RuleComputeFormat?> _byValue = $pb.ProtobufEnum.$_initByValueList(values, 3);
  static RuleComputeFormat? valueOf($core.int value) =>  value < 0 || value >= _byValue.length ? null : _byValue[value];

  const RuleComputeFormat._(super.value, super.name);
}


const $core.bool _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names');
