You've already forked dart-core-sdk
Latest generation
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
# CHANGELOG
|
||||
|
||||
Lib version: 1.11.0-SNAPSHOT-250711064638
|
||||
Lib version: 1.11.0-SNAPSHOT-250711115849
|
||||
|
||||
109
lib/site.pb.dart
109
lib/site.pb.dart
@@ -1094,6 +1094,115 @@ class DeleteSiteResponse extends $pb.GeneratedMessage {
|
||||
$3.WorkflowExecutionResult ensureWorkflowExecution() => $_ensure(0);
|
||||
}
|
||||
|
||||
/// Upload photo
|
||||
class UploadPhotoRequest extends $pb.GeneratedMessage {
|
||||
factory UploadPhotoRequest({
|
||||
$3.RequestSiteHeader? header,
|
||||
$3.FileDataRequest? file,
|
||||
}) {
|
||||
final result = create();
|
||||
if (header != null) result.header = header;
|
||||
if (file != null) result.file = file;
|
||||
return result;
|
||||
}
|
||||
|
||||
UploadPhotoRequest._();
|
||||
|
||||
factory UploadPhotoRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
|
||||
factory UploadPhotoRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UploadPhotoRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
||||
..aOM<$3.RequestSiteHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.RequestSiteHeader.create)
|
||||
..aOM<$3.FileDataRequest>(2, _omitFieldNames ? '' : 'File', protoName: 'File', subBuilder: $3.FileDataRequest.create)
|
||||
..hasRequiredFields = false
|
||||
;
|
||||
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
UploadPhotoRequest clone() => UploadPhotoRequest()..mergeFromMessage(this);
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
UploadPhotoRequest copyWith(void Function(UploadPhotoRequest) updates) => super.copyWith((message) => updates(message as UploadPhotoRequest)) as UploadPhotoRequest;
|
||||
|
||||
@$core.override
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static UploadPhotoRequest create() => UploadPhotoRequest._();
|
||||
@$core.override
|
||||
UploadPhotoRequest createEmptyInstance() => create();
|
||||
static $pb.PbList<UploadPhotoRequest> createRepeated() => $pb.PbList<UploadPhotoRequest>();
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static UploadPhotoRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<UploadPhotoRequest>(create);
|
||||
static UploadPhotoRequest? _defaultInstance;
|
||||
|
||||
@$pb.TagNumber(1)
|
||||
$3.RequestSiteHeader get header => $_getN(0);
|
||||
@$pb.TagNumber(1)
|
||||
set header($3.RequestSiteHeader value) => $_setField(1, value);
|
||||
@$pb.TagNumber(1)
|
||||
$core.bool hasHeader() => $_has(0);
|
||||
@$pb.TagNumber(1)
|
||||
void clearHeader() => $_clearField(1);
|
||||
@$pb.TagNumber(1)
|
||||
$3.RequestSiteHeader ensureHeader() => $_ensure(0);
|
||||
|
||||
@$pb.TagNumber(2)
|
||||
$3.FileDataRequest get file => $_getN(1);
|
||||
@$pb.TagNumber(2)
|
||||
set file($3.FileDataRequest value) => $_setField(2, value);
|
||||
@$pb.TagNumber(2)
|
||||
$core.bool hasFile() => $_has(1);
|
||||
@$pb.TagNumber(2)
|
||||
void clearFile() => $_clearField(2);
|
||||
@$pb.TagNumber(2)
|
||||
$3.FileDataRequest ensureFile() => $_ensure(1);
|
||||
}
|
||||
|
||||
class UploadPhotoResponse extends $pb.GeneratedMessage {
|
||||
factory UploadPhotoResponse({
|
||||
$core.String? uRI,
|
||||
}) {
|
||||
final result = create();
|
||||
if (uRI != null) result.uRI = uRI;
|
||||
return result;
|
||||
}
|
||||
|
||||
UploadPhotoResponse._();
|
||||
|
||||
factory UploadPhotoResponse.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
|
||||
factory UploadPhotoResponse.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UploadPhotoResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
||||
..aOS(1, _omitFieldNames ? '' : 'URI', protoName: 'URI')
|
||||
..hasRequiredFields = false
|
||||
;
|
||||
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
UploadPhotoResponse clone() => UploadPhotoResponse()..mergeFromMessage(this);
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
UploadPhotoResponse copyWith(void Function(UploadPhotoResponse) updates) => super.copyWith((message) => updates(message as UploadPhotoResponse)) as UploadPhotoResponse;
|
||||
|
||||
@$core.override
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static UploadPhotoResponse create() => UploadPhotoResponse._();
|
||||
@$core.override
|
||||
UploadPhotoResponse createEmptyInstance() => create();
|
||||
static $pb.PbList<UploadPhotoResponse> createRepeated() => $pb.PbList<UploadPhotoResponse>();
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static UploadPhotoResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<UploadPhotoResponse>(create);
|
||||
static UploadPhotoResponse? _defaultInstance;
|
||||
|
||||
@$pb.TagNumber(1)
|
||||
$core.String get uRI => $_getSZ(0);
|
||||
@$pb.TagNumber(1)
|
||||
set uRI($core.String value) => $_setString(0, value);
|
||||
@$pb.TagNumber(1)
|
||||
$core.bool hasURI() => $_has(0);
|
||||
@$pb.TagNumber(1)
|
||||
void clearURI() => $_clearField(1);
|
||||
}
|
||||
|
||||
/// Upload document
|
||||
class UploadInstructionDocumentRequest extends $pb.GeneratedMessage {
|
||||
factory UploadInstructionDocumentRequest({
|
||||
|
||||
@@ -52,6 +52,10 @@ class SiteServiceClient extends $grpc.Client {
|
||||
return $createUnaryCall(_$delete, request, options: options);
|
||||
}
|
||||
|
||||
$grpc.ResponseFuture<$0.UploadPhotoResponse> uploadPhoto($0.UploadPhotoRequest request, {$grpc.CallOptions? options,}) {
|
||||
return $createUnaryCall(_$uploadPhoto, request, options: options);
|
||||
}
|
||||
|
||||
$grpc.ResponseFuture<$0.UploadInstructionDocumentResponse> uploadInstructionDocument($0.UploadInstructionDocumentRequest request, {$grpc.CallOptions? options,}) {
|
||||
return $createUnaryCall(_$uploadInstructionDocument, request, options: options);
|
||||
}
|
||||
@@ -122,6 +126,10 @@ class SiteServiceClient extends $grpc.Client {
|
||||
'/api.SiteService/Delete',
|
||||
($0.DeleteSiteRequest value) => value.writeToBuffer(),
|
||||
$0.DeleteSiteResponse.fromBuffer);
|
||||
static final _$uploadPhoto = $grpc.ClientMethod<$0.UploadPhotoRequest, $0.UploadPhotoResponse>(
|
||||
'/api.SiteService/UploadPhoto',
|
||||
($0.UploadPhotoRequest value) => value.writeToBuffer(),
|
||||
$0.UploadPhotoResponse.fromBuffer);
|
||||
static final _$uploadInstructionDocument = $grpc.ClientMethod<$0.UploadInstructionDocumentRequest, $0.UploadInstructionDocumentResponse>(
|
||||
'/api.SiteService/UploadInstructionDocument',
|
||||
($0.UploadInstructionDocumentRequest value) => value.writeToBuffer(),
|
||||
@@ -212,6 +220,13 @@ abstract class SiteServiceBase extends $grpc.Service {
|
||||
false,
|
||||
($core.List<$core.int> value) => $0.DeleteSiteRequest.fromBuffer(value),
|
||||
($0.DeleteSiteResponse value) => value.writeToBuffer()));
|
||||
$addMethod($grpc.ServiceMethod<$0.UploadPhotoRequest, $0.UploadPhotoResponse>(
|
||||
'UploadPhoto',
|
||||
uploadPhoto_Pre,
|
||||
false,
|
||||
false,
|
||||
($core.List<$core.int> value) => $0.UploadPhotoRequest.fromBuffer(value),
|
||||
($0.UploadPhotoResponse value) => value.writeToBuffer()));
|
||||
$addMethod($grpc.ServiceMethod<$0.UploadInstructionDocumentRequest, $0.UploadInstructionDocumentResponse>(
|
||||
'UploadInstructionDocument',
|
||||
uploadInstructionDocument_Pre,
|
||||
@@ -328,6 +343,12 @@ abstract class SiteServiceBase extends $grpc.Service {
|
||||
|
||||
$async.Future<$0.DeleteSiteResponse> delete($grpc.ServiceCall call, $0.DeleteSiteRequest request);
|
||||
|
||||
$async.Future<$0.UploadPhotoResponse> uploadPhoto_Pre($grpc.ServiceCall $call, $async.Future<$0.UploadPhotoRequest> $request) async {
|
||||
return uploadPhoto($call, await $request);
|
||||
}
|
||||
|
||||
$async.Future<$0.UploadPhotoResponse> uploadPhoto($grpc.ServiceCall call, $0.UploadPhotoRequest request);
|
||||
|
||||
$async.Future<$0.UploadInstructionDocumentResponse> uploadInstructionDocument_Pre($grpc.ServiceCall $call, $async.Future<$0.UploadInstructionDocumentRequest> $request) async {
|
||||
return uploadInstructionDocument($call, await $request);
|
||||
}
|
||||
|
||||
@@ -294,6 +294,34 @@ final $typed_data.Uint8List deleteSiteResponseDescriptor = $convert.base64Decode
|
||||
'ChJEZWxldGVTaXRlUmVzcG9uc2USSgoRV29ya2Zsb3dFeGVjdXRpb24YASABKAsyHC5hcGkuV2'
|
||||
'9ya2Zsb3dFeGVjdXRpb25SZXN1bHRSEVdvcmtmbG93RXhlY3V0aW9u');
|
||||
|
||||
@$core.Deprecated('Use uploadPhotoRequestDescriptor instead')
|
||||
const UploadPhotoRequest$json = {
|
||||
'1': 'UploadPhotoRequest',
|
||||
'2': [
|
||||
{'1': 'Header', '3': 1, '4': 1, '5': 11, '6': '.api.RequestSiteHeader', '8': {}, '10': 'Header'},
|
||||
{'1': 'File', '3': 2, '4': 1, '5': 11, '6': '.api.FileDataRequest', '8': {}, '10': 'File'},
|
||||
],
|
||||
'7': {},
|
||||
};
|
||||
|
||||
/// Descriptor for `UploadPhotoRequest`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List uploadPhotoRequestDescriptor = $convert.base64Decode(
|
||||
'ChJVcGxvYWRQaG90b1JlcXVlc3QSOAoGSGVhZGVyGAEgASgLMhYuYXBpLlJlcXVlc3RTaXRlSG'
|
||||
'VhZGVyQgj6QgWKAQIQAVIGSGVhZGVyEjIKBEZpbGUYAiABKAsyFC5hcGkuRmlsZURhdGFSZXF1'
|
||||
'ZXN0Qgj6QgWKAQIQAVIERmlsZToVkkESChDSAQZIZWFkZXLSAQRGaWxl');
|
||||
|
||||
@$core.Deprecated('Use uploadPhotoResponseDescriptor instead')
|
||||
const UploadPhotoResponse$json = {
|
||||
'1': 'UploadPhotoResponse',
|
||||
'2': [
|
||||
{'1': 'URI', '3': 1, '4': 1, '5': 9, '10': 'URI'},
|
||||
],
|
||||
};
|
||||
|
||||
/// Descriptor for `UploadPhotoResponse`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List uploadPhotoResponseDescriptor = $convert.base64Decode(
|
||||
'ChNVcGxvYWRQaG90b1Jlc3BvbnNlEhAKA1VSSRgBIAEoCVIDVVJJ');
|
||||
|
||||
@$core.Deprecated('Use uploadInstructionDocumentRequestDescriptor instead')
|
||||
const UploadInstructionDocumentRequest$json = {
|
||||
'1': 'UploadInstructionDocumentRequest',
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
name: dart_core_sdk
|
||||
description: dart libs from core model proto files
|
||||
version: 1.11.0-SNAPSHOT-250711064638
|
||||
version: 1.11.0-SNAPSHOT-250711115849
|
||||
homepage: ''
|
||||
publish_to: ''
|
||||
repository: ''
|
||||
|
||||
Reference in New Issue
Block a user