Latest generation

This commit is contained in:
ci core model
2026-05-22 09:00:43 +00:00
parent f1a0a14514
commit d97009f4b8
4 changed files with 24 additions and 8 deletions

View File

@@ -4540,14 +4540,21 @@ class SiteProjectAptTypeBookingActorsContext extends $pb.GeneratedMessage {
void clearActorName() => $_clearField(3);
}
/// User should only set either (ActorID & ProjectID) OR SiteID alone.
/// Validation: exactly one of the two options must be provided:
/// - Option 1: both ProjectID and ActorID must be set (non-empty)
/// - Option 2: SiteID must be set (non-empty)
/// Setting both options or neither will be rejected.
class InitBookerProfileRequest extends $pb.GeneratedMessage {
factory InitBookerProfileRequest({
$core.String? projectID,
$core.String? actorID,
$core.String? siteID,
}) {
final result = create();
if (projectID != null) result.projectID = projectID;
if (actorID != null) result.actorID = actorID;
if (siteID != null) result.siteID = siteID;
return result;
}
@@ -4559,6 +4566,7 @@ class InitBookerProfileRequest extends $pb.GeneratedMessage {
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'InitBookerProfileRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
..aOS(1, _omitFieldNames ? '' : 'ProjectID', protoName: 'ProjectID')
..aOS(2, _omitFieldNames ? '' : 'ActorID', protoName: 'ActorID')
..aOS(3, _omitFieldNames ? '' : 'SiteID', protoName: 'SiteID')
..hasRequiredFields = false
;
@@ -4596,6 +4604,15 @@ class InitBookerProfileRequest extends $pb.GeneratedMessage {
$core.bool hasActorID() => $_has(1);
@$pb.TagNumber(2)
void clearActorID() => $_clearField(2);
@$pb.TagNumber(3)
$core.String get siteID => $_getSZ(2);
@$pb.TagNumber(3)
set siteID($core.String value) => $_setString(2, value);
@$pb.TagNumber(3)
$core.bool hasSiteID() => $_has(2);
@$pb.TagNumber(3)
void clearSiteID() => $_clearField(3);
}
class InitBookerProfileResponse extends $pb.GeneratedMessage {

View File

@@ -1256,17 +1256,16 @@ final $typed_data.Uint8List siteProjectAptTypeBookingActorsContextDescriptor = $
const InitBookerProfileRequest$json = {
'1': 'InitBookerProfileRequest',
'2': [
{'1': 'ProjectID', '3': 1, '4': 1, '5': 9, '8': {}, '10': 'ProjectID'},
{'1': 'ActorID', '3': 2, '4': 1, '5': 9, '8': {}, '10': 'ActorID'},
{'1': 'ProjectID', '3': 1, '4': 1, '5': 9, '10': 'ProjectID'},
{'1': 'ActorID', '3': 2, '4': 1, '5': 9, '10': 'ActorID'},
{'1': 'SiteID', '3': 3, '4': 1, '5': 9, '10': 'SiteID'},
],
'7': {},
};
/// Descriptor for `InitBookerProfileRequest`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List initBookerProfileRequestDescriptor = $convert.base64Decode(
'ChhJbml0Qm9va2VyUHJvZmlsZVJlcXVlc3QSJgoJUHJvamVjdElEGAEgASgJQgi6gQEEcgIQAV'
'IJUHJvamVjdElEEiIKB0FjdG9ySUQYAiABKAlCCLqBAQRyAhABUgdBY3RvcklEOhuSQRgKFtIB'
'CVByb2plY3RJRNIBB0FjdG9ySUQ=');
'ChhJbml0Qm9va2VyUHJvZmlsZVJlcXVlc3QSHAoJUHJvamVjdElEGAEgASgJUglQcm9qZWN0SU'
'QSGAoHQWN0b3JJRBgCIAEoCVIHQWN0b3JJRBIWCgZTaXRlSUQYAyABKAlSBlNpdGVJRA==');
@$core.Deprecated('Use initBookerProfileResponseDescriptor instead')
const InitBookerProfileResponse$json = {