You've already forked dart-core-sdk
Latest generation
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
# CHANGELOG
|
||||
|
||||
Lib version: 1.13.0-SNAPSHOT-260116161839
|
||||
Lib version: 1.13.0-SNAPSHOT-260119091020
|
||||
|
||||
135
lib/site.pb.dart
135
lib/site.pb.dart
@@ -4872,6 +4872,141 @@ class InitBookerProfileResponse extends $pb.GeneratedMessage {
|
||||
void clearSiteID() => $_clearField(2);
|
||||
}
|
||||
|
||||
/// CheckAppointmentModifiable
|
||||
class CheckAppointmentModifiableRequest extends $pb.GeneratedMessage {
|
||||
factory CheckAppointmentModifiableRequest({
|
||||
$3.RequestProjectHeader? header,
|
||||
$core.String? appointmentID,
|
||||
$core.String? actorID,
|
||||
}) {
|
||||
final result = create();
|
||||
if (header != null) result.header = header;
|
||||
if (appointmentID != null) result.appointmentID = appointmentID;
|
||||
if (actorID != null) result.actorID = actorID;
|
||||
return result;
|
||||
}
|
||||
|
||||
CheckAppointmentModifiableRequest._();
|
||||
|
||||
factory CheckAppointmentModifiableRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
|
||||
factory CheckAppointmentModifiableRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CheckAppointmentModifiableRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
||||
..aOM<$3.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.RequestProjectHeader.create)
|
||||
..aOS(2, _omitFieldNames ? '' : 'AppointmentID', protoName: 'AppointmentID')
|
||||
..aOS(3, _omitFieldNames ? '' : 'ActorID', protoName: 'ActorID')
|
||||
..hasRequiredFields = false
|
||||
;
|
||||
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
CheckAppointmentModifiableRequest clone() => CheckAppointmentModifiableRequest()..mergeFromMessage(this);
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
CheckAppointmentModifiableRequest copyWith(void Function(CheckAppointmentModifiableRequest) updates) => super.copyWith((message) => updates(message as CheckAppointmentModifiableRequest)) as CheckAppointmentModifiableRequest;
|
||||
|
||||
@$core.override
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static CheckAppointmentModifiableRequest create() => CheckAppointmentModifiableRequest._();
|
||||
@$core.override
|
||||
CheckAppointmentModifiableRequest createEmptyInstance() => create();
|
||||
static $pb.PbList<CheckAppointmentModifiableRequest> createRepeated() => $pb.PbList<CheckAppointmentModifiableRequest>();
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static CheckAppointmentModifiableRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<CheckAppointmentModifiableRequest>(create);
|
||||
static CheckAppointmentModifiableRequest? _defaultInstance;
|
||||
|
||||
@$pb.TagNumber(1)
|
||||
$3.RequestProjectHeader get header => $_getN(0);
|
||||
@$pb.TagNumber(1)
|
||||
set header($3.RequestProjectHeader value) => $_setField(1, value);
|
||||
@$pb.TagNumber(1)
|
||||
$core.bool hasHeader() => $_has(0);
|
||||
@$pb.TagNumber(1)
|
||||
void clearHeader() => $_clearField(1);
|
||||
@$pb.TagNumber(1)
|
||||
$3.RequestProjectHeader ensureHeader() => $_ensure(0);
|
||||
|
||||
/// Type of appointment : Loading / Unloading / Both
|
||||
@$pb.TagNumber(2)
|
||||
$core.String get appointmentID => $_getSZ(1);
|
||||
@$pb.TagNumber(2)
|
||||
set appointmentID($core.String value) => $_setString(1, value);
|
||||
@$pb.TagNumber(2)
|
||||
$core.bool hasAppointmentID() => $_has(1);
|
||||
@$pb.TagNumber(2)
|
||||
void clearAppointmentID() => $_clearField(2);
|
||||
|
||||
/// actor with which the siteID/project-depositID will be processed
|
||||
@$pb.TagNumber(3)
|
||||
$core.String get actorID => $_getSZ(2);
|
||||
@$pb.TagNumber(3)
|
||||
set actorID($core.String value) => $_setString(2, value);
|
||||
@$pb.TagNumber(3)
|
||||
$core.bool hasActorID() => $_has(2);
|
||||
@$pb.TagNumber(3)
|
||||
void clearActorID() => $_clearField(3);
|
||||
}
|
||||
|
||||
class CheckAppointmentModifiableResponse extends $pb.GeneratedMessage {
|
||||
factory CheckAppointmentModifiableResponse({
|
||||
$core.bool? isModifiable,
|
||||
$3.ResponseHeader? header,
|
||||
}) {
|
||||
final result = create();
|
||||
if (isModifiable != null) result.isModifiable = isModifiable;
|
||||
if (header != null) result.header = header;
|
||||
return result;
|
||||
}
|
||||
|
||||
CheckAppointmentModifiableResponse._();
|
||||
|
||||
factory CheckAppointmentModifiableResponse.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
|
||||
factory CheckAppointmentModifiableResponse.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CheckAppointmentModifiableResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
||||
..aOB(1, _omitFieldNames ? '' : 'IsModifiable', protoName: 'IsModifiable')
|
||||
..aOM<$3.ResponseHeader>(2, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.ResponseHeader.create)
|
||||
..hasRequiredFields = false
|
||||
;
|
||||
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
CheckAppointmentModifiableResponse clone() => CheckAppointmentModifiableResponse()..mergeFromMessage(this);
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
CheckAppointmentModifiableResponse copyWith(void Function(CheckAppointmentModifiableResponse) updates) => super.copyWith((message) => updates(message as CheckAppointmentModifiableResponse)) as CheckAppointmentModifiableResponse;
|
||||
|
||||
@$core.override
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static CheckAppointmentModifiableResponse create() => CheckAppointmentModifiableResponse._();
|
||||
@$core.override
|
||||
CheckAppointmentModifiableResponse createEmptyInstance() => create();
|
||||
static $pb.PbList<CheckAppointmentModifiableResponse> createRepeated() => $pb.PbList<CheckAppointmentModifiableResponse>();
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static CheckAppointmentModifiableResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<CheckAppointmentModifiableResponse>(create);
|
||||
static CheckAppointmentModifiableResponse? _defaultInstance;
|
||||
|
||||
@$pb.TagNumber(1)
|
||||
$core.bool get isModifiable => $_getBF(0);
|
||||
@$pb.TagNumber(1)
|
||||
set isModifiable($core.bool value) => $_setBool(0, value);
|
||||
@$pb.TagNumber(1)
|
||||
$core.bool hasIsModifiable() => $_has(0);
|
||||
@$pb.TagNumber(1)
|
||||
void clearIsModifiable() => $_clearField(1);
|
||||
|
||||
@$pb.TagNumber(2)
|
||||
$3.ResponseHeader get header => $_getN(1);
|
||||
@$pb.TagNumber(2)
|
||||
set header($3.ResponseHeader value) => $_setField(2, value);
|
||||
@$pb.TagNumber(2)
|
||||
$core.bool hasHeader() => $_has(1);
|
||||
@$pb.TagNumber(2)
|
||||
void clearHeader() => $_clearField(2);
|
||||
@$pb.TagNumber(2)
|
||||
$3.ResponseHeader ensureHeader() => $_ensure(1);
|
||||
}
|
||||
|
||||
|
||||
const $core.bool _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names');
|
||||
const $core.bool _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names');
|
||||
|
||||
@@ -172,6 +172,10 @@ class SiteServiceClient extends $grpc.Client {
|
||||
return $createUnaryCall(_$getMyBookingContext, request, options: options);
|
||||
}
|
||||
|
||||
$grpc.ResponseFuture<$0.CheckAppointmentModifiableResponse> checkAppointmentModifiable($0.CheckAppointmentModifiableRequest request, {$grpc.CallOptions? options,}) {
|
||||
return $createUnaryCall(_$checkAppointmentModifiable, request, options: options);
|
||||
}
|
||||
|
||||
$grpc.ResponseFuture<$0.ListSettingsResponse> listSettings($0.ListSettingsRequest request, {$grpc.CallOptions? options,}) {
|
||||
return $createUnaryCall(_$listSettings, request, options: options);
|
||||
}
|
||||
@@ -318,6 +322,10 @@ class SiteServiceClient extends $grpc.Client {
|
||||
'/api.SiteService/GetMyBookingContext',
|
||||
($0.GetMyBookingContextRequest value) => value.writeToBuffer(),
|
||||
$0.GetMyBookingContextResponse.fromBuffer);
|
||||
static final _$checkAppointmentModifiable = $grpc.ClientMethod<$0.CheckAppointmentModifiableRequest, $0.CheckAppointmentModifiableResponse>(
|
||||
'/api.SiteService/CheckAppointmentModifiable',
|
||||
($0.CheckAppointmentModifiableRequest value) => value.writeToBuffer(),
|
||||
$0.CheckAppointmentModifiableResponse.fromBuffer);
|
||||
static final _$listSettings = $grpc.ClientMethod<$0.ListSettingsRequest, $0.ListSettingsResponse>(
|
||||
'/api.SiteService/ListSettings',
|
||||
($0.ListSettingsRequest value) => value.writeToBuffer(),
|
||||
@@ -574,6 +582,13 @@ abstract class SiteServiceBase extends $grpc.Service {
|
||||
false,
|
||||
($core.List<$core.int> value) => $0.GetMyBookingContextRequest.fromBuffer(value),
|
||||
($0.GetMyBookingContextResponse value) => value.writeToBuffer()));
|
||||
$addMethod($grpc.ServiceMethod<$0.CheckAppointmentModifiableRequest, $0.CheckAppointmentModifiableResponse>(
|
||||
'CheckAppointmentModifiable',
|
||||
checkAppointmentModifiable_Pre,
|
||||
false,
|
||||
false,
|
||||
($core.List<$core.int> value) => $0.CheckAppointmentModifiableRequest.fromBuffer(value),
|
||||
($0.CheckAppointmentModifiableResponse value) => value.writeToBuffer()));
|
||||
$addMethod($grpc.ServiceMethod<$0.ListSettingsRequest, $0.ListSettingsResponse>(
|
||||
'ListSettings',
|
||||
listSettings_Pre,
|
||||
@@ -793,6 +808,12 @@ abstract class SiteServiceBase extends $grpc.Service {
|
||||
|
||||
$async.Future<$0.GetMyBookingContextResponse> getMyBookingContext($grpc.ServiceCall call, $0.GetMyBookingContextRequest request);
|
||||
|
||||
$async.Future<$0.CheckAppointmentModifiableResponse> checkAppointmentModifiable_Pre($grpc.ServiceCall $call, $async.Future<$0.CheckAppointmentModifiableRequest> $request) async {
|
||||
return checkAppointmentModifiable($call, await $request);
|
||||
}
|
||||
|
||||
$async.Future<$0.CheckAppointmentModifiableResponse> checkAppointmentModifiable($grpc.ServiceCall call, $0.CheckAppointmentModifiableRequest request);
|
||||
|
||||
$async.Future<$0.ListSettingsResponse> listSettings_Pre($grpc.ServiceCall $call, $async.Future<$0.ListSettingsRequest> $request) async {
|
||||
return listSettings($call, await $request);
|
||||
}
|
||||
|
||||
@@ -1285,3 +1285,36 @@ final $typed_data.Uint8List initBookerProfileResponseDescriptor = $convert.base6
|
||||
'ChlJbml0Qm9va2VyUHJvZmlsZVJlc3BvbnNlEiYKDk9yZ2FuaXNhdGlvbklEGAEgASgJUg5Pcm'
|
||||
'dhbmlzYXRpb25JRBIWCgZTaXRlSUQYAiABKAlSBlNpdGVJRA==');
|
||||
|
||||
@$core.Deprecated('Use checkAppointmentModifiableRequestDescriptor instead')
|
||||
const CheckAppointmentModifiableRequest$json = {
|
||||
'1': 'CheckAppointmentModifiableRequest',
|
||||
'2': [
|
||||
{'1': 'Header', '3': 1, '4': 1, '5': 11, '6': '.api.RequestProjectHeader', '8': {}, '10': 'Header'},
|
||||
{'1': 'AppointmentID', '3': 2, '4': 1, '5': 9, '10': 'AppointmentID'},
|
||||
{'1': 'ActorID', '3': 3, '4': 1, '5': 9, '10': 'ActorID'},
|
||||
],
|
||||
'7': {},
|
||||
};
|
||||
|
||||
/// Descriptor for `CheckAppointmentModifiableRequest`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List checkAppointmentModifiableRequestDescriptor = $convert.base64Decode(
|
||||
'CiFDaGVja0FwcG9pbnRtZW50TW9kaWZpYWJsZVJlcXVlc3QSOwoGSGVhZGVyGAEgASgLMhkuYX'
|
||||
'BpLlJlcXVlc3RQcm9qZWN0SGVhZGVyQgj6QgWKAQIQAVIGSGVhZGVyEiQKDUFwcG9pbnRtZW50'
|
||||
'SUQYAiABKAlSDUFwcG9pbnRtZW50SUQSGAoHQWN0b3JJRBgDIAEoCVIHQWN0b3JJRDoekkEbCh'
|
||||
'nSAQZIZWFkZXLSAQ1BcHBvaW50bWVudElE');
|
||||
|
||||
@$core.Deprecated('Use checkAppointmentModifiableResponseDescriptor instead')
|
||||
const CheckAppointmentModifiableResponse$json = {
|
||||
'1': 'CheckAppointmentModifiableResponse',
|
||||
'2': [
|
||||
{'1': 'Header', '3': 2, '4': 1, '5': 11, '6': '.api.ResponseHeader', '10': 'Header'},
|
||||
{'1': 'IsModifiable', '3': 1, '4': 1, '5': 8, '10': 'IsModifiable'},
|
||||
],
|
||||
};
|
||||
|
||||
/// Descriptor for `CheckAppointmentModifiableResponse`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List checkAppointmentModifiableResponseDescriptor = $convert.base64Decode(
|
||||
'CiJDaGVja0FwcG9pbnRtZW50TW9kaWZpYWJsZVJlc3BvbnNlEisKBkhlYWRlchgCIAEoCzITLm'
|
||||
'FwaS5SZXNwb25zZUhlYWRlclIGSGVhZGVyEiIKDElzTW9kaWZpYWJsZRgBIAEoCFIMSXNNb2Rp'
|
||||
'ZmlhYmxl');
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
name: dart_core_sdk
|
||||
description: dart libs from core model proto files
|
||||
version: 1.13.0-SNAPSHOT-260116161839
|
||||
version: 1.13.0-SNAPSHOT-260119091020
|
||||
homepage: ''
|
||||
publish_to: ''
|
||||
repository: ''
|
||||
|
||||
Reference in New Issue
Block a user