You've already forked dart-core-sdk
Latest generation
This commit is contained in:
@@ -1593,10 +1593,14 @@ class ActorConstraint extends $pb.GeneratedMessage {
|
||||
factory ActorConstraint({
|
||||
$core.Iterable<SegmentationActorConstraint>? segmentationConstraints,
|
||||
$0.Period? maxBookingPeriod,
|
||||
$core.bool? isBookingEnabledForUnknownUsers,
|
||||
CommandIdentifierEntry? commandIdentifierEntry,
|
||||
}) {
|
||||
final result = create();
|
||||
if (segmentationConstraints != null) result.segmentationConstraints.addAll(segmentationConstraints);
|
||||
if (maxBookingPeriod != null) result.maxBookingPeriod = maxBookingPeriod;
|
||||
if (isBookingEnabledForUnknownUsers != null) result.isBookingEnabledForUnknownUsers = isBookingEnabledForUnknownUsers;
|
||||
if (commandIdentifierEntry != null) result.commandIdentifierEntry = commandIdentifierEntry;
|
||||
return result;
|
||||
}
|
||||
|
||||
@@ -1608,6 +1612,8 @@ class ActorConstraint extends $pb.GeneratedMessage {
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ActorConstraint', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
||||
..pc<SegmentationActorConstraint>(1, _omitFieldNames ? '' : 'SegmentationConstraints', $pb.PbFieldType.PM, protoName: 'SegmentationConstraints', subBuilder: SegmentationActorConstraint.create)
|
||||
..aOM<$0.Period>(3, _omitFieldNames ? '' : 'MaxBookingPeriod', protoName: 'MaxBookingPeriod', subBuilder: $0.Period.create)
|
||||
..aOB(4, _omitFieldNames ? '' : 'IsBookingEnabledForUnknownUsers', protoName: 'IsBookingEnabledForUnknownUsers')
|
||||
..e<CommandIdentifierEntry>(5, _omitFieldNames ? '' : 'CommandIdentifierEntry', $pb.PbFieldType.OE, protoName: 'CommandIdentifierEntry', defaultOrMaker: CommandIdentifierEntry.CommandIdentifierEntry_MandatoryExceptForAllowedUsers, valueOf: CommandIdentifierEntry.valueOf, enumValues: CommandIdentifierEntry.values)
|
||||
..hasRequiredFields = false
|
||||
;
|
||||
|
||||
@@ -1643,6 +1649,26 @@ class ActorConstraint extends $pb.GeneratedMessage {
|
||||
void clearMaxBookingPeriod() => $_clearField(3);
|
||||
@$pb.TagNumber(3)
|
||||
$0.Period ensureMaxBookingPeriod() => $_ensure(1);
|
||||
|
||||
/// Enable booking for unknown users
|
||||
@$pb.TagNumber(4)
|
||||
$core.bool get isBookingEnabledForUnknownUsers => $_getBF(2);
|
||||
@$pb.TagNumber(4)
|
||||
set isBookingEnabledForUnknownUsers($core.bool value) => $_setBool(2, value);
|
||||
@$pb.TagNumber(4)
|
||||
$core.bool hasIsBookingEnabledForUnknownUsers() => $_has(2);
|
||||
@$pb.TagNumber(4)
|
||||
void clearIsBookingEnabledForUnknownUsers() => $_clearField(4);
|
||||
|
||||
/// CommandIdentifierEntry
|
||||
@$pb.TagNumber(5)
|
||||
CommandIdentifierEntry get commandIdentifierEntry => $_getN(3);
|
||||
@$pb.TagNumber(5)
|
||||
set commandIdentifierEntry(CommandIdentifierEntry value) => $_setField(5, value);
|
||||
@$pb.TagNumber(5)
|
||||
$core.bool hasCommandIdentifierEntry() => $_has(3);
|
||||
@$pb.TagNumber(5)
|
||||
void clearCommandIdentifierEntry() => $_clearField(5);
|
||||
}
|
||||
|
||||
class SegmentationActorConstraint extends $pb.GeneratedMessage {
|
||||
|
||||
@@ -77,6 +77,21 @@ class CarrierInformationType extends $pb.ProtobufEnum {
|
||||
const CarrierInformationType._(super.value, super.name);
|
||||
}
|
||||
|
||||
class CommandIdentifierEntry extends $pb.ProtobufEnum {
|
||||
static const CommandIdentifierEntry CommandIdentifierEntry_MandatoryExceptForAllowedUsers = CommandIdentifierEntry._(0, _omitEnumNames ? '' : 'CommandIdentifierEntry_MandatoryExceptForAllowedUsers');
|
||||
static const CommandIdentifierEntry CommandIdentifierEntry_NotRequired = CommandIdentifierEntry._(1, _omitEnumNames ? '' : 'CommandIdentifierEntry_NotRequired');
|
||||
|
||||
static const $core.List<CommandIdentifierEntry> values = <CommandIdentifierEntry> [
|
||||
CommandIdentifierEntry_MandatoryExceptForAllowedUsers,
|
||||
CommandIdentifierEntry_NotRequired,
|
||||
];
|
||||
|
||||
static final $core.List<CommandIdentifierEntry?> _byValue = $pb.ProtobufEnum.$_initByValueList(values, 1);
|
||||
static CommandIdentifierEntry? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value];
|
||||
|
||||
const CommandIdentifierEntry._(super.value, super.name);
|
||||
}
|
||||
|
||||
class SegmentationConstraintType extends $pb.ProtobufEnum {
|
||||
static const SegmentationConstraintType SEGMENTATION_CONSTRAINT_TYPE_UNKNOWN = SegmentationConstraintType._(0, _omitEnumNames ? '' : 'SEGMENTATION_CONSTRAINT_TYPE_UNKNOWN');
|
||||
static const SegmentationConstraintType SEGMENTATION_CONSTRAINT_TYPE_USER_CHOICE = SegmentationConstraintType._(1, _omitEnumNames ? '' : 'SEGMENTATION_CONSTRAINT_TYPE_USER_CHOICE');
|
||||
|
||||
@@ -72,6 +72,21 @@ final $typed_data.Uint8List carrierInformationTypeDescriptor = $convert.base64De
|
||||
'SUVSX0lORk9STUFUSU9OX1RZUEVfTElDRU5TRV9OVU1CRVIQBRIlCiFDQVJSSUVSX0lORk9STU'
|
||||
'FUSU9OX1RZUEVfRE9DVU1FTlQQBg==');
|
||||
|
||||
@$core.Deprecated('Use commandIdentifierEntryDescriptor instead')
|
||||
const CommandIdentifierEntry$json = {
|
||||
'1': 'CommandIdentifierEntry',
|
||||
'2': [
|
||||
{'1': 'CommandIdentifierEntry_MandatoryExceptForAllowedUsers', '2': 0},
|
||||
{'1': 'CommandIdentifierEntry_NotRequired', '2': 1},
|
||||
],
|
||||
};
|
||||
|
||||
/// Descriptor for `CommandIdentifierEntry`. Decode as a `google.protobuf.EnumDescriptorProto`.
|
||||
final $typed_data.Uint8List commandIdentifierEntryDescriptor = $convert.base64Decode(
|
||||
'ChZDb21tYW5kSWRlbnRpZmllckVudHJ5EjkKNUNvbW1hbmRJZGVudGlmaWVyRW50cnlfTWFuZG'
|
||||
'F0b3J5RXhjZXB0Rm9yQWxsb3dlZFVzZXJzEAASJgoiQ29tbWFuZElkZW50aWZpZXJFbnRyeV9O'
|
||||
'b3RSZXF1aXJlZBAB');
|
||||
|
||||
@$core.Deprecated('Use segmentationConstraintTypeDescriptor instead')
|
||||
const SegmentationConstraintType$json = {
|
||||
'1': 'SegmentationConstraintType',
|
||||
@@ -482,6 +497,8 @@ const ActorConstraint$json = {
|
||||
'2': [
|
||||
{'1': 'SegmentationConstraints', '3': 1, '4': 3, '5': 11, '6': '.api.SegmentationActorConstraint', '8': {}, '10': 'SegmentationConstraints'},
|
||||
{'1': 'MaxBookingPeriod', '3': 3, '4': 1, '5': 11, '6': '.api.Period', '10': 'MaxBookingPeriod'},
|
||||
{'1': 'IsBookingEnabledForUnknownUsers', '3': 4, '4': 1, '5': 8, '10': 'IsBookingEnabledForUnknownUsers'},
|
||||
{'1': 'CommandIdentifierEntry', '3': 5, '4': 1, '5': 14, '6': '.api.CommandIdentifierEntry', '10': 'CommandIdentifierEntry'},
|
||||
],
|
||||
};
|
||||
|
||||
@@ -490,7 +507,10 @@ final $typed_data.Uint8List actorConstraintDescriptor = $convert.base64Decode(
|
||||
'Cg9BY3RvckNvbnN0cmFpbnQSbgoXU2VnbWVudGF0aW9uQ29uc3RyYWludHMYASADKAsyIC5hcG'
|
||||
'kuU2VnbWVudGF0aW9uQWN0b3JDb25zdHJhaW50QhLqwRgOU2VnbWVudGF0aW9uSURSF1NlZ21l'
|
||||
'bnRhdGlvbkNvbnN0cmFpbnRzEjcKEE1heEJvb2tpbmdQZXJpb2QYAyABKAsyCy5hcGkuUGVyaW'
|
||||
'9kUhBNYXhCb29raW5nUGVyaW9k');
|
||||
'9kUhBNYXhCb29raW5nUGVyaW9kEkgKH0lzQm9va2luZ0VuYWJsZWRGb3JVbmtub3duVXNlcnMY'
|
||||
'BCABKAhSH0lzQm9va2luZ0VuYWJsZWRGb3JVbmtub3duVXNlcnMSUwoWQ29tbWFuZElkZW50aW'
|
||||
'ZpZXJFbnRyeRgFIAEoDjIbLmFwaS5Db21tYW5kSWRlbnRpZmllckVudHJ5UhZDb21tYW5kSWRl'
|
||||
'bnRpZmllckVudHJ5');
|
||||
|
||||
@$core.Deprecated('Use segmentationActorConstraintDescriptor instead')
|
||||
const SegmentationActorConstraint$json = {
|
||||
|
||||
Reference in New Issue
Block a user