You've already forked dart-core-sdk
Latest generation
This commit is contained in:
@@ -226,10 +226,12 @@ class RuleComputeResult extends $pb.GeneratedMessage {
|
||||
factory RuleComputeResult({
|
||||
RuleComputeFormat? format,
|
||||
$core.String? value,
|
||||
$core.String? ruleID,
|
||||
}) {
|
||||
final result = create();
|
||||
if (format != null) result.format = format;
|
||||
if (value != null) result.value = value;
|
||||
if (ruleID != null) result.ruleID = ruleID;
|
||||
return result;
|
||||
}
|
||||
|
||||
@@ -241,6 +243,7 @@ class RuleComputeResult extends $pb.GeneratedMessage {
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RuleComputeResult', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
||||
..e<RuleComputeFormat>(1, _omitFieldNames ? '' : 'Format', $pb.PbFieldType.OE, protoName: 'Format', defaultOrMaker: RuleComputeFormat.RULE_COMPUTE_FORMAT_UNKNOWN, valueOf: RuleComputeFormat.valueOf, enumValues: RuleComputeFormat.values)
|
||||
..aOS(2, _omitFieldNames ? '' : 'Value', protoName: 'Value')
|
||||
..aOS(3, _omitFieldNames ? '' : 'RuleID', protoName: 'RuleID')
|
||||
..hasRequiredFields = false
|
||||
;
|
||||
|
||||
@@ -278,6 +281,15 @@ class RuleComputeResult extends $pb.GeneratedMessage {
|
||||
$core.bool hasValue() => $_has(1);
|
||||
@$pb.TagNumber(2)
|
||||
void clearValue() => $_clearField(2);
|
||||
|
||||
@$pb.TagNumber(3)
|
||||
$core.String get ruleID => $_getSZ(2);
|
||||
@$pb.TagNumber(3)
|
||||
set ruleID($core.String value) => $_setString(2, value);
|
||||
@$pb.TagNumber(3)
|
||||
$core.bool hasRuleID() => $_has(2);
|
||||
@$pb.TagNumber(3)
|
||||
void clearRuleID() => $_clearField(3);
|
||||
}
|
||||
|
||||
class RestrictionRule extends $pb.GeneratedMessage {
|
||||
|
||||
@@ -93,13 +93,15 @@ const RuleComputeResult$json = {
|
||||
'2': [
|
||||
{'1': 'Format', '3': 1, '4': 1, '5': 14, '6': '.api.RuleComputeFormat', '10': 'Format'},
|
||||
{'1': 'Value', '3': 2, '4': 1, '5': 9, '10': 'Value'},
|
||||
{'1': 'RuleID', '3': 3, '4': 1, '5': 9, '10': 'RuleID'},
|
||||
],
|
||||
};
|
||||
|
||||
/// Descriptor for `RuleComputeResult`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List ruleComputeResultDescriptor = $convert.base64Decode(
|
||||
'ChFSdWxlQ29tcHV0ZVJlc3VsdBIuCgZGb3JtYXQYASABKA4yFi5hcGkuUnVsZUNvbXB1dGVGb3'
|
||||
'JtYXRSBkZvcm1hdBIUCgVWYWx1ZRgCIAEoCVIFVmFsdWU=');
|
||||
'JtYXRSBkZvcm1hdBIUCgVWYWx1ZRgCIAEoCVIFVmFsdWUSFgoGUnVsZUlEGAMgASgJUgZSdWxl'
|
||||
'SUQ=');
|
||||
|
||||
@$core.Deprecated('Use restrictionRuleDescriptor instead')
|
||||
const RestrictionRule$json = {
|
||||
|
||||
Reference in New Issue
Block a user