From 0a93573435d8fed72dd2338bd0c50c414dc70818 Mon Sep 17 00:00:00 2001 From: ci core model Date: Thu, 5 Feb 2026 08:59:17 +0000 Subject: [PATCH] Release 1.12.3 --- CHANGELOG.md | 2 +- lib/annotations.pb.dart | 2 - lib/appointmentInput.pb.dart | 246 ---- lib/appointmentInput.pbgrpc.dart | 21 - lib/appointmentInput.pbjson.dart | 64 - lib/claimInput.pbjson.dart | 4 +- lib/google/api/field_behavior.pb.dart | 2 +- lib/google/api/field_behavior.pbenum.dart | 28 +- lib/google/api/field_behavior.pbjson.dart | 6 +- lib/google/api/http.pb.dart | 60 +- lib/google/api/httpbody.pb.dart | 10 +- lib/google/protobuf/any.pb.dart | 15 +- lib/google/protobuf/api.pb.dart | 54 +- lib/google/protobuf/api.pbjson.dart | 27 +- lib/google/protobuf/compiler/plugin.pb.dart | 82 +- .../protobuf/compiler/plugin.pbenum.dart | 24 - .../protobuf/compiler/plugin.pbjson.dart | 38 +- lib/google/protobuf/descriptor.pb.dart | 1149 +---------------- lib/google/protobuf/descriptor.pbenum.dart | 333 +---- lib/google/protobuf/descriptor.pbjson.dart | 761 ++--------- lib/google/protobuf/empty.pb.dart | 2 + lib/google/protobuf/struct.pb.dart | 4 +- lib/google/protobuf/struct.pbenum.dart | 2 +- lib/google/protobuf/timestamp.pb.dart | 28 +- lib/google/protobuf/type.pb.dart | 50 - lib/google/protobuf/type.pbenum.dart | 5 +- lib/google/protobuf/type.pbjson.dart | 12 +- lib/google/protobuf/wrappers.pb.dart | 27 - lib/openapiv2.pb.dart | 350 +---- lib/openapiv2.pbenum.dart | 23 - lib/openapiv2.pbjson.dart | 118 +- lib/options.pb.dart | 2 - lib/orderInput.pbjson.dart | 28 +- lib/role.pb.dart | 6 - lib/role.pbjson.dart | 3 +- lib/shared.pb.dart | 6 - lib/shared.pbenum.dart | 21 +- lib/shared.pbjson.dart | 24 +- lib/site.pb.dart | 136 -- lib/site.pbgrpc.dart | 21 - lib/site.pbjson.dart | 32 - lib/slotbooking.pbjson.dart | 16 +- lib/stockQuery.pbgrpc.dart | 21 - pubspec.yaml | 2 +- 44 files changed, 272 insertions(+), 3595 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d6f39417..f61d4637 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,3 @@ # CHANGELOG -Lib version: 1.13.0-SNAPSHOT-260205084133 +Lib version: 1.12.3 diff --git a/lib/annotations.pb.dart b/lib/annotations.pb.dart index a96037a3..fab14d3a 100644 --- a/lib/annotations.pb.dart +++ b/lib/annotations.pb.dart @@ -22,14 +22,12 @@ class Annotations { static final openapiv2Swagger = $pb.Extension<$0.Swagger>(_omitMessageNames ? '' : 'google.protobuf.FileOptions', _omitFieldNames ? '' : 'openapiv2Swagger', 1042, $pb.PbFieldType.OM, defaultOrMaker: $0.Swagger.getDefault, subBuilder: $0.Swagger.create); static final openapiv2Operation = $pb.Extension<$0.Operation>(_omitMessageNames ? '' : 'google.protobuf.MethodOptions', _omitFieldNames ? '' : 'openapiv2Operation', 1042, $pb.PbFieldType.OM, defaultOrMaker: $0.Operation.getDefault, subBuilder: $0.Operation.create); static final openapiv2Schema = $pb.Extension<$0.Schema>(_omitMessageNames ? '' : 'google.protobuf.MessageOptions', _omitFieldNames ? '' : 'openapiv2Schema', 1042, $pb.PbFieldType.OM, defaultOrMaker: $0.Schema.getDefault, subBuilder: $0.Schema.create); - static final openapiv2Enum = $pb.Extension<$0.EnumSchema>(_omitMessageNames ? '' : 'google.protobuf.EnumOptions', _omitFieldNames ? '' : 'openapiv2Enum', 1042, $pb.PbFieldType.OM, defaultOrMaker: $0.EnumSchema.getDefault, subBuilder: $0.EnumSchema.create); static final openapiv2Tag = $pb.Extension<$0.Tag>(_omitMessageNames ? '' : 'google.protobuf.ServiceOptions', _omitFieldNames ? '' : 'openapiv2Tag', 1042, $pb.PbFieldType.OM, defaultOrMaker: $0.Tag.getDefault, subBuilder: $0.Tag.create); static final openapiv2Field = $pb.Extension<$0.JSONSchema>(_omitMessageNames ? '' : 'google.protobuf.FieldOptions', _omitFieldNames ? '' : 'openapiv2Field', 1042, $pb.PbFieldType.OM, defaultOrMaker: $0.JSONSchema.getDefault, subBuilder: $0.JSONSchema.create); static void registerAllExtensions($pb.ExtensionRegistry registry) { registry.add(openapiv2Swagger); registry.add(openapiv2Operation); registry.add(openapiv2Schema); - registry.add(openapiv2Enum); registry.add(openapiv2Tag); registry.add(openapiv2Field); } diff --git a/lib/appointmentInput.pb.dart b/lib/appointmentInput.pb.dart index 3aa35108..4c2e7354 100644 --- a/lib/appointmentInput.pb.dart +++ b/lib/appointmentInput.pb.dart @@ -5773,252 +5773,6 @@ class AppointmentCustomFieldsUpdatedResponse extends $pb.GeneratedMessage { $2.EntityID ensureID() => $_ensure(1); } -class AppointmentRedetectedPayload extends $pb.GeneratedMessage { - factory AppointmentRedetectedPayload() => create(); - - AppointmentRedetectedPayload._(); - - factory AppointmentRedetectedPayload.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory AppointmentRedetectedPayload.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AppointmentRedetectedPayload', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - AppointmentRedetectedPayload clone() => AppointmentRedetectedPayload()..mergeFromMessage(this); - @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - AppointmentRedetectedPayload copyWith(void Function(AppointmentRedetectedPayload) updates) => super.copyWith((message) => updates(message as AppointmentRedetectedPayload)) as AppointmentRedetectedPayload; - - @$core.override - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static AppointmentRedetectedPayload create() => AppointmentRedetectedPayload._(); - @$core.override - AppointmentRedetectedPayload createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static AppointmentRedetectedPayload getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static AppointmentRedetectedPayload? _defaultInstance; -} - -class AppointmentRedetectedEvent extends $pb.GeneratedMessage { - factory AppointmentRedetectedEvent({ - $2.EventHeader? header, - $2.EntityID? iD, - AppointmentRedetectedPayload? payload, - }) { - final result = create(); - if (header != null) result.header = header; - if (iD != null) result.iD = iD; - if (payload != null) result.payload = payload; - return result; - } - - AppointmentRedetectedEvent._(); - - factory AppointmentRedetectedEvent.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory AppointmentRedetectedEvent.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AppointmentRedetectedEvent', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) - ..aOM<$2.EventHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $2.EventHeader.create) - ..aOM<$2.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $2.EntityID.create) - ..aOM(3, _omitFieldNames ? '' : 'Payload', protoName: 'Payload', subBuilder: AppointmentRedetectedPayload.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - AppointmentRedetectedEvent clone() => AppointmentRedetectedEvent()..mergeFromMessage(this); - @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - AppointmentRedetectedEvent copyWith(void Function(AppointmentRedetectedEvent) updates) => super.copyWith((message) => updates(message as AppointmentRedetectedEvent)) as AppointmentRedetectedEvent; - - @$core.override - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static AppointmentRedetectedEvent create() => AppointmentRedetectedEvent._(); - @$core.override - AppointmentRedetectedEvent createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static AppointmentRedetectedEvent getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static AppointmentRedetectedEvent? _defaultInstance; - - /// option (postAggMethods) = ""; // Here are listed the post aggregation methods to call when event message is aggregated - /// option (preAggMethods) = ""; // Here are listed the pre aggregation methods to call before event message is aggregated - @$pb.TagNumber(1) - $2.EventHeader get header => $_getN(0); - @$pb.TagNumber(1) - set header($2.EventHeader value) => $_setField(1, value); - @$pb.TagNumber(1) - $core.bool hasHeader() => $_has(0); - @$pb.TagNumber(1) - void clearHeader() => $_clearField(1); - @$pb.TagNumber(1) - $2.EventHeader ensureHeader() => $_ensure(0); - - @$pb.TagNumber(2) - $2.EntityID get iD => $_getN(1); - @$pb.TagNumber(2) - set iD($2.EntityID value) => $_setField(2, value); - @$pb.TagNumber(2) - $core.bool hasID() => $_has(1); - @$pb.TagNumber(2) - void clearID() => $_clearField(2); - @$pb.TagNumber(2) - $2.EntityID ensureID() => $_ensure(1); - - @$pb.TagNumber(3) - AppointmentRedetectedPayload get payload => $_getN(2); - @$pb.TagNumber(3) - set payload(AppointmentRedetectedPayload value) => $_setField(3, value); - @$pb.TagNumber(3) - $core.bool hasPayload() => $_has(2); - @$pb.TagNumber(3) - void clearPayload() => $_clearField(3); - @$pb.TagNumber(3) - AppointmentRedetectedPayload ensurePayload() => $_ensure(2); -} - -class AppointmentRedetectedRequest extends $pb.GeneratedMessage { - factory AppointmentRedetectedRequest({ - $2.RequestProjectHeader? header, - $2.EntityID? iD, - AppointmentRedetectedPayload? payload, - }) { - final result = create(); - if (header != null) result.header = header; - if (iD != null) result.iD = iD; - if (payload != null) result.payload = payload; - return result; - } - - AppointmentRedetectedRequest._(); - - factory AppointmentRedetectedRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory AppointmentRedetectedRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AppointmentRedetectedRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) - ..aOM<$2.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $2.RequestProjectHeader.create) - ..aOM<$2.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $2.EntityID.create) - ..aOM(3, _omitFieldNames ? '' : 'Payload', protoName: 'Payload', subBuilder: AppointmentRedetectedPayload.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - AppointmentRedetectedRequest clone() => AppointmentRedetectedRequest()..mergeFromMessage(this); - @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - AppointmentRedetectedRequest copyWith(void Function(AppointmentRedetectedRequest) updates) => super.copyWith((message) => updates(message as AppointmentRedetectedRequest)) as AppointmentRedetectedRequest; - - @$core.override - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static AppointmentRedetectedRequest create() => AppointmentRedetectedRequest._(); - @$core.override - AppointmentRedetectedRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static AppointmentRedetectedRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static AppointmentRedetectedRequest? _defaultInstance; - - @$pb.TagNumber(1) - $2.RequestProjectHeader get header => $_getN(0); - @$pb.TagNumber(1) - set header($2.RequestProjectHeader value) => $_setField(1, value); - @$pb.TagNumber(1) - $core.bool hasHeader() => $_has(0); - @$pb.TagNumber(1) - void clearHeader() => $_clearField(1); - @$pb.TagNumber(1) - $2.RequestProjectHeader ensureHeader() => $_ensure(0); - - @$pb.TagNumber(2) - $2.EntityID get iD => $_getN(1); - @$pb.TagNumber(2) - set iD($2.EntityID value) => $_setField(2, value); - @$pb.TagNumber(2) - $core.bool hasID() => $_has(1); - @$pb.TagNumber(2) - void clearID() => $_clearField(2); - @$pb.TagNumber(2) - $2.EntityID ensureID() => $_ensure(1); - - @$pb.TagNumber(3) - AppointmentRedetectedPayload get payload => $_getN(2); - @$pb.TagNumber(3) - set payload(AppointmentRedetectedPayload value) => $_setField(3, value); - @$pb.TagNumber(3) - $core.bool hasPayload() => $_has(2); - @$pb.TagNumber(3) - void clearPayload() => $_clearField(3); - @$pb.TagNumber(3) - AppointmentRedetectedPayload ensurePayload() => $_ensure(2); -} - -class AppointmentRedetectedResponse extends $pb.GeneratedMessage { - factory AppointmentRedetectedResponse({ - $2.ResponseHeader? header, - $2.EntityID? iD, - }) { - final result = create(); - if (header != null) result.header = header; - if (iD != null) result.iD = iD; - return result; - } - - AppointmentRedetectedResponse._(); - - factory AppointmentRedetectedResponse.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory AppointmentRedetectedResponse.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AppointmentRedetectedResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) - ..aOM<$2.ResponseHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $2.ResponseHeader.create) - ..aOM<$2.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $2.EntityID.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - AppointmentRedetectedResponse clone() => AppointmentRedetectedResponse()..mergeFromMessage(this); - @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - AppointmentRedetectedResponse copyWith(void Function(AppointmentRedetectedResponse) updates) => super.copyWith((message) => updates(message as AppointmentRedetectedResponse)) as AppointmentRedetectedResponse; - - @$core.override - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static AppointmentRedetectedResponse create() => AppointmentRedetectedResponse._(); - @$core.override - AppointmentRedetectedResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static AppointmentRedetectedResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static AppointmentRedetectedResponse? _defaultInstance; - - @$pb.TagNumber(1) - $2.ResponseHeader get header => $_getN(0); - @$pb.TagNumber(1) - set header($2.ResponseHeader value) => $_setField(1, value); - @$pb.TagNumber(1) - $core.bool hasHeader() => $_has(0); - @$pb.TagNumber(1) - void clearHeader() => $_clearField(1); - @$pb.TagNumber(1) - $2.ResponseHeader ensureHeader() => $_ensure(0); - - @$pb.TagNumber(2) - $2.EntityID get iD => $_getN(1); - @$pb.TagNumber(2) - set iD($2.EntityID value) => $_setField(2, value); - @$pb.TagNumber(2) - $core.bool hasID() => $_has(1); - @$pb.TagNumber(2) - void clearID() => $_clearField(2); - @$pb.TagNumber(2) - $2.EntityID ensureID() => $_ensure(1); -} - const $core.bool _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); const $core.bool _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/appointmentInput.pbgrpc.dart b/lib/appointmentInput.pbgrpc.dart index c18cd94c..810c79fa 100644 --- a/lib/appointmentInput.pbgrpc.dart +++ b/lib/appointmentInput.pbgrpc.dart @@ -118,10 +118,6 @@ class AppointmentInputAPIClient extends $grpc.Client { return $createUnaryCall(_$customFieldsUpdated, request, options: options); } - $grpc.ResponseFuture<$0.AppointmentRedetectedResponse> redetected($0.AppointmentRedetectedRequest request, {$grpc.CallOptions? options,}) { - return $createUnaryCall(_$redetected, request, options: options); - } - // method descriptors static final _$created = $grpc.ClientMethod<$0.AppointmentCreatedRequest, $0.AppointmentCreatedResponse>( @@ -208,10 +204,6 @@ class AppointmentInputAPIClient extends $grpc.Client { '/api.AppointmentInputAPI/CustomFieldsUpdated', ($0.AppointmentCustomFieldsUpdatedRequest value) => value.writeToBuffer(), $0.AppointmentCustomFieldsUpdatedResponse.fromBuffer); - static final _$redetected = $grpc.ClientMethod<$0.AppointmentRedetectedRequest, $0.AppointmentRedetectedResponse>( - '/api.AppointmentInputAPI/Redetected', - ($0.AppointmentRedetectedRequest value) => value.writeToBuffer(), - $0.AppointmentRedetectedResponse.fromBuffer); } @$pb.GrpcServiceName('api.AppointmentInputAPI') @@ -366,13 +358,6 @@ abstract class AppointmentInputAPIServiceBase extends $grpc.Service { false, ($core.List<$core.int> value) => $0.AppointmentCustomFieldsUpdatedRequest.fromBuffer(value), ($0.AppointmentCustomFieldsUpdatedResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$0.AppointmentRedetectedRequest, $0.AppointmentRedetectedResponse>( - 'Redetected', - redetected_Pre, - false, - false, - ($core.List<$core.int> value) => $0.AppointmentRedetectedRequest.fromBuffer(value), - ($0.AppointmentRedetectedResponse value) => value.writeToBuffer())); } $async.Future<$0.AppointmentCreatedResponse> created_Pre($grpc.ServiceCall $call, $async.Future<$0.AppointmentCreatedRequest> $request) async { @@ -501,10 +486,4 @@ abstract class AppointmentInputAPIServiceBase extends $grpc.Service { $async.Future<$0.AppointmentCustomFieldsUpdatedResponse> customFieldsUpdated($grpc.ServiceCall call, $0.AppointmentCustomFieldsUpdatedRequest request); - $async.Future<$0.AppointmentRedetectedResponse> redetected_Pre($grpc.ServiceCall $call, $async.Future<$0.AppointmentRedetectedRequest> $request) async { - return redetected($call, await $request); - } - - $async.Future<$0.AppointmentRedetectedResponse> redetected($grpc.ServiceCall call, $0.AppointmentRedetectedRequest request); - } diff --git a/lib/appointmentInput.pbjson.dart b/lib/appointmentInput.pbjson.dart index 764a5406..f3f73a64 100644 --- a/lib/appointmentInput.pbjson.dart +++ b/lib/appointmentInput.pbjson.dart @@ -1520,67 +1520,3 @@ final $typed_data.Uint8List appointmentCustomFieldsUpdatedResponseDescriptor = $ 'syEy5hcGkuUmVzcG9uc2VIZWFkZXJSBkhlYWRlchIdCgJJRBgCIAEoCzINLmFwaS5FbnRpdHlJ' 'RFICSUQ6GaK7GAhSZXNwb25zZbq7GAlTYW5pdGlzZWQ='); -@$core.Deprecated('Use appointmentRedetectedPayloadDescriptor instead') -const AppointmentRedetectedPayload$json = { - '1': 'AppointmentRedetectedPayload', - '7': {}, -}; - -/// Descriptor for `AppointmentRedetectedPayload`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List appointmentRedetectedPayloadDescriptor = $convert.base64Decode( - 'ChxBcHBvaW50bWVudFJlZGV0ZWN0ZWRQYXlsb2FkOhuiuxgFRXZlbnSouxgBursYClJlZGV0ZW' - 'N0ZWQ='); - -@$core.Deprecated('Use appointmentRedetectedEventDescriptor instead') -const AppointmentRedetectedEvent$json = { - '1': 'AppointmentRedetectedEvent', - '2': [ - {'1': 'Header', '3': 1, '4': 1, '5': 11, '6': '.api.EventHeader', '8': {}, '10': 'Header'}, - {'1': 'ID', '3': 2, '4': 1, '5': 11, '6': '.api.EntityID', '8': {}, '10': 'ID'}, - {'1': 'Payload', '3': 3, '4': 1, '5': 11, '6': '.api.AppointmentRedetectedPayload', '8': {}, '10': 'Payload'}, - ], - '7': {}, -}; - -/// Descriptor for `AppointmentRedetectedEvent`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List appointmentRedetectedEventDescriptor = $convert.base64Decode( - 'ChpBcHBvaW50bWVudFJlZGV0ZWN0ZWRFdmVudBIyCgZIZWFkZXIYASABKAsyEC5hcGkuRXZlbn' - 'RIZWFkZXJCCPpCBYoBAhABUgZIZWFkZXISJwoCSUQYAiABKAsyDS5hcGkuRW50aXR5SURCCPpC' - 'BYoBAhABUgJJRBJFCgdQYXlsb2FkGAMgASgLMiEuYXBpLkFwcG9pbnRtZW50UmVkZXRlY3RlZF' - 'BheWxvYWRCCPpCBYoBAhABUgdQYXlsb2FkOheiuxgFRXZlbnS6uxgKUmVkZXRlY3RlZA=='); - -@$core.Deprecated('Use appointmentRedetectedRequestDescriptor instead') -const AppointmentRedetectedRequest$json = { - '1': 'AppointmentRedetectedRequest', - '2': [ - {'1': 'Header', '3': 1, '4': 1, '5': 11, '6': '.api.RequestProjectHeader', '8': {}, '10': 'Header'}, - {'1': 'ID', '3': 2, '4': 1, '5': 11, '6': '.api.EntityID', '8': {}, '10': 'ID'}, - {'1': 'Payload', '3': 3, '4': 1, '5': 11, '6': '.api.AppointmentRedetectedPayload', '8': {}, '10': 'Payload'}, - ], - '7': {}, -}; - -/// Descriptor for `AppointmentRedetectedRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List appointmentRedetectedRequestDescriptor = $convert.base64Decode( - 'ChxBcHBvaW50bWVudFJlZGV0ZWN0ZWRSZXF1ZXN0EjsKBkhlYWRlchgBIAEoCzIZLmFwaS5SZX' - 'F1ZXN0UHJvamVjdEhlYWRlckII+kIFigECEAFSBkhlYWRlchInCgJJRBgCIAEoCzINLmFwaS5F' - 'bnRpdHlJREII+kIFigECEAFSAklEEkUKB1BheWxvYWQYAyABKAsyIS5hcGkuQXBwb2ludG1lbn' - 'RSZWRldGVjdGVkUGF5bG9hZEII+kIFigECEAFSB1BheWxvYWQ6NpJBGgoY0gEGSGVhZGVy0gEC' - 'SUTSAQdQYXlsb2FkorsYB1JlcXVlc3S6uxgKUmVkZXRlY3RlZA=='); - -@$core.Deprecated('Use appointmentRedetectedResponseDescriptor instead') -const AppointmentRedetectedResponse$json = { - '1': 'AppointmentRedetectedResponse', - '2': [ - {'1': 'Header', '3': 1, '4': 1, '5': 11, '6': '.api.ResponseHeader', '10': 'Header'}, - {'1': 'ID', '3': 2, '4': 1, '5': 11, '6': '.api.EntityID', '10': 'ID'}, - ], - '7': {}, -}; - -/// Descriptor for `AppointmentRedetectedResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List appointmentRedetectedResponseDescriptor = $convert.base64Decode( - 'Ch1BcHBvaW50bWVudFJlZGV0ZWN0ZWRSZXNwb25zZRIrCgZIZWFkZXIYASABKAsyEy5hcGkuUm' - 'VzcG9uc2VIZWFkZXJSBkhlYWRlchIdCgJJRBgCIAEoCzINLmFwaS5FbnRpdHlJRFICSUQ6GqK7' - 'GAhSZXNwb25zZbq7GApSZWRldGVjdGVk'); - diff --git a/lib/claimInput.pbjson.dart b/lib/claimInput.pbjson.dart index 4564a582..8c54dc24 100644 --- a/lib/claimInput.pbjson.dart +++ b/lib/claimInput.pbjson.dart @@ -66,8 +66,8 @@ final $typed_data.Uint8List claimCreatedEventDescriptor = $convert.base64Decode( 'ChFDbGFpbUNyZWF0ZWRFdmVudBIyCgZIZWFkZXIYASABKAsyEC5hcGkuRXZlbnRIZWFkZXJCCP' 'pCBYoBAhABUgZIZWFkZXISJwoCSUQYAiABKAsyDS5hcGkuRW50aXR5SURCCPpCBYoBAhABUgJJ' 'RBI8CgdQYXlsb2FkGAMgASgLMhguYXBpLkNsYWltQ3JlYXRlZFBheWxvYWRCCPpCBYoBAhABUg' - 'dQYXlsb2FkOlOSQRoKGNIBBkhlYWRlctIBAklE0gEHUGF5bG9hZKK7GAVFdmVudLq7GAdDcmVh' - 'dGVkyrsYDWZpbGxEaXNwbGF5SUTauxgNY2hlY2tDcmVhdGlvbg=='); + 'dQYXlsb2FkOkKSQRoKGNIBBkhlYWRlctIBAklE0gEHUGF5bG9hZKK7GAVFdmVudLq7GAdDcmVh' + 'dGVkyrsYDWZpbGxEaXNwbGF5SUQ='); @$core.Deprecated('Use claimCreatedRequestDescriptor instead') const ClaimCreatedRequest$json = { diff --git a/lib/google/api/field_behavior.pb.dart b/lib/google/api/field_behavior.pb.dart index a4f60aa0..08bc48fa 100644 --- a/lib/google/api/field_behavior.pb.dart +++ b/lib/google/api/field_behavior.pb.dart @@ -21,7 +21,7 @@ export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions; export 'field_behavior.pbenum.dart'; class Field_behavior { - static final fieldBehavior = $pb.Extension.repeated(_omitMessageNames ? '' : 'google.protobuf.FieldOptions', _omitFieldNames ? '' : 'fieldBehavior', 1052, $pb.PbFieldType.PE, check: $pb.getCheckFunction($pb.PbFieldType.PE), valueOf: FieldBehavior.valueOf, enumValues: FieldBehavior.values); + static final fieldBehavior = $pb.Extension.repeated(_omitMessageNames ? '' : 'google.protobuf.FieldOptions', _omitFieldNames ? '' : 'fieldBehavior', 1052, $pb.PbFieldType.KE, check: $pb.getCheckFunction($pb.PbFieldType.KE), valueOf: FieldBehavior.valueOf, enumValues: FieldBehavior.values); static void registerAllExtensions($pb.ExtensionRegistry registry) { registry.add(fieldBehavior); } diff --git a/lib/google/api/field_behavior.pbenum.dart b/lib/google/api/field_behavior.pbenum.dart index d6261cb8..3db3fb87 100644 --- a/lib/google/api/field_behavior.pbenum.dart +++ b/lib/google/api/field_behavior.pbenum.dart @@ -44,29 +44,6 @@ class FieldBehavior extends $pb.ProtobufEnum { /// This indicates that the field may be set once in a request to create a /// resource, but may not be changed thereafter. static const FieldBehavior IMMUTABLE = FieldBehavior._(5, _omitEnumNames ? '' : 'IMMUTABLE'); - /// Denotes that a (repeated) field is an unordered list. - /// This indicates that the service may provide the elements of the list - /// in any arbitrary order, rather than the order the user originally - /// provided. Additionally, the list's order may or may not be stable. - static const FieldBehavior UNORDERED_LIST = FieldBehavior._(6, _omitEnumNames ? '' : 'UNORDERED_LIST'); - /// Denotes that this field returns a non-empty default value if not set. - /// This indicates that if the user provides the empty value in a request, - /// a non-empty value will be returned. The user will not be aware of what - /// non-empty value to expect. - static const FieldBehavior NON_EMPTY_DEFAULT = FieldBehavior._(7, _omitEnumNames ? '' : 'NON_EMPTY_DEFAULT'); - /// Denotes that the field in a resource (a message annotated with - /// google.api.resource) is used in the resource name to uniquely identify the - /// resource. For AIP-compliant APIs, this should only be applied to the - /// `name` field on the resource. - /// - /// This behavior should not be applied to references to other resources within - /// the message. - /// - /// The identifier field of resources often have different field behavior - /// depending on the request it is embedded in (e.g. for Create methods name - /// is optional and unused, while for Update methods it is required). Instead - /// of method-specific annotations, only `IDENTIFIER` is required. - static const FieldBehavior IDENTIFIER = FieldBehavior._(8, _omitEnumNames ? '' : 'IDENTIFIER'); static const $core.List values = [ FIELD_BEHAVIOR_UNSPECIFIED, @@ -75,12 +52,9 @@ class FieldBehavior extends $pb.ProtobufEnum { OUTPUT_ONLY, INPUT_ONLY, IMMUTABLE, - UNORDERED_LIST, - NON_EMPTY_DEFAULT, - IDENTIFIER, ]; - static final $core.List _byValue = $pb.ProtobufEnum.$_initByValueList(values, 8); + static final $core.List _byValue = $pb.ProtobufEnum.$_initByValueList(values, 5); static FieldBehavior? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value]; const FieldBehavior._(super.value, super.name); diff --git a/lib/google/api/field_behavior.pbjson.dart b/lib/google/api/field_behavior.pbjson.dart index c8e03741..8bc2f001 100644 --- a/lib/google/api/field_behavior.pbjson.dart +++ b/lib/google/api/field_behavior.pbjson.dart @@ -24,9 +24,6 @@ const FieldBehavior$json = { {'1': 'OUTPUT_ONLY', '2': 3}, {'1': 'INPUT_ONLY', '2': 4}, {'1': 'IMMUTABLE', '2': 5}, - {'1': 'UNORDERED_LIST', '2': 6}, - {'1': 'NON_EMPTY_DEFAULT', '2': 7}, - {'1': 'IDENTIFIER', '2': 8}, ], }; @@ -34,6 +31,5 @@ const FieldBehavior$json = { final $typed_data.Uint8List fieldBehaviorDescriptor = $convert.base64Decode( 'Cg1GaWVsZEJlaGF2aW9yEh4KGkZJRUxEX0JFSEFWSU9SX1VOU1BFQ0lGSUVEEAASDAoIT1BUSU' '9OQUwQARIMCghSRVFVSVJFRBACEg8KC09VVFBVVF9PTkxZEAMSDgoKSU5QVVRfT05MWRAEEg0K' - 'CUlNTVVUQUJMRRAFEhIKDlVOT1JERVJFRF9MSVNUEAYSFQoRTk9OX0VNUFRZX0RFRkFVTFQQBx' - 'IOCgpJREVOVElGSUVSEAg='); + 'CUlNTVVUQUJMRRAF'); diff --git a/lib/google/api/http.pb.dart b/lib/google/api/http.pb.dart index b24fbbf4..bdc9a7be 100644 --- a/lib/google/api/http.pb.dart +++ b/lib/google/api/http.pb.dart @@ -90,7 +90,7 @@ enum HttpRule_Pattern { notSet } -/// gRPC Transcoding +/// # gRPC Transcoding /// /// gRPC Transcoding is a feature for mapping between a gRPC method and one or /// more HTTP REST endpoints. It allows developers to build a single API service @@ -131,8 +131,9 @@ enum HttpRule_Pattern { /// /// This enables an HTTP REST to gRPC mapping as below: /// -/// - HTTP: `GET /v1/messages/123456` -/// - gRPC: `GetMessage(name: "messages/123456")` +/// HTTP | gRPC +/// -----|----- +/// `GET /v1/messages/123456` | `GetMessage(name: "messages/123456")` /// /// Any fields in the request message which are not bound by the path template /// automatically become HTTP query parameters if there is no HTTP request body. @@ -156,9 +157,11 @@ enum HttpRule_Pattern { /// /// This enables a HTTP JSON to RPC mapping as below: /// -/// - HTTP: `GET /v1/messages/123456?revision=2&sub.subfield=foo` -/// - gRPC: `GetMessage(message_id: "123456" revision: 2 sub: -/// SubMessage(subfield: "foo"))` +/// HTTP | gRPC +/// -----|----- +/// `GET /v1/messages/123456?revision=2&sub.subfield=foo` | +/// `GetMessage(message_id: "123456" revision: 2 sub: SubMessage(subfield: +/// "foo"))` /// /// Note that fields which are mapped to URL query parameters must have a /// primitive type or a repeated primitive type or a non-repeated message type. @@ -188,8 +191,10 @@ enum HttpRule_Pattern { /// representation of the JSON in the request body is determined by /// protos JSON encoding: /// -/// - HTTP: `PATCH /v1/messages/123456 { "text": "Hi!" }` -/// - gRPC: `UpdateMessage(message_id: "123456" message { text: "Hi!" })` +/// HTTP | gRPC +/// -----|----- +/// `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: +/// "123456" message { text: "Hi!" })` /// /// The special name `*` can be used in the body mapping to define that /// every field not bound by the path template should be mapped to the @@ -212,8 +217,10 @@ enum HttpRule_Pattern { /// /// The following HTTP JSON to RPC mapping is enabled: /// -/// - HTTP: `PATCH /v1/messages/123456 { "text": "Hi!" }` -/// - gRPC: `UpdateMessage(message_id: "123456" text: "Hi!")` +/// HTTP | gRPC +/// -----|----- +/// `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: +/// "123456" text: "Hi!")` /// /// Note that when using `*` in the body mapping, it is not possible to /// have HTTP parameters, as all fields not bound by the path end in @@ -241,32 +248,29 @@ enum HttpRule_Pattern { /// /// This enables the following two alternative HTTP JSON to RPC mappings: /// -/// - HTTP: `GET /v1/messages/123456` -/// - gRPC: `GetMessage(message_id: "123456")` +/// HTTP | gRPC +/// -----|----- +/// `GET /v1/messages/123456` | `GetMessage(message_id: "123456")` +/// `GET /v1/users/me/messages/123456` | `GetMessage(user_id: "me" message_id: +/// "123456")` /// -/// - HTTP: `GET /v1/users/me/messages/123456` -/// - gRPC: `GetMessage(user_id: "me" message_id: "123456")` -/// -/// Rules for HTTP mapping +/// ## Rules for HTTP mapping /// /// 1. Leaf request fields (recursive expansion nested messages in the request /// message) are classified into three categories: /// - Fields referred by the path template. They are passed via the URL path. -/// - Fields referred by the [HttpRule.body][google.api.HttpRule.body]. They -/// are passed via the HTTP +/// - Fields referred by the [HttpRule.body][google.api.HttpRule.body]. They are passed via the HTTP /// request body. /// - All other fields are passed via the URL query parameters, and the /// parameter name is the field path in the request message. A repeated /// field can be represented as multiple query parameters under the same /// name. -/// 2. If [HttpRule.body][google.api.HttpRule.body] is "*", there is no URL -/// query parameter, all fields +/// 2. If [HttpRule.body][google.api.HttpRule.body] is "*", there is no URL query parameter, all fields /// are passed via URL path and HTTP request body. -/// 3. If [HttpRule.body][google.api.HttpRule.body] is omitted, there is no HTTP -/// request body, all +/// 3. If [HttpRule.body][google.api.HttpRule.body] is omitted, there is no HTTP request body, all /// fields are passed via URL path and URL query parameters. /// -/// Path template syntax +/// ### Path template syntax /// /// Template = "/" Segments [ Verb ] ; /// Segments = Segment { "/" Segment } ; @@ -305,7 +309,7 @@ enum HttpRule_Pattern { /// Document](https://developers.google.com/discovery/v1/reference/apis) as /// `{+var}`. /// -/// Using gRPC API Service Configuration +/// ## Using gRPC API Service Configuration /// /// gRPC API Service Configuration (service config) is a configuration language /// for configuring a gRPC service to become a user-facing product. The @@ -320,14 +324,15 @@ enum HttpRule_Pattern { /// specified in the service config will override any matching transcoding /// configuration in the proto. /// -/// The following example selects a gRPC method and applies an `HttpRule` to it: +/// Example: /// /// http: /// rules: +/// # Selects a gRPC method and applies HttpRule to it. /// - selector: example.v1.Messaging.GetMessage /// get: /v1/messages/{message_id}/{sub.subfield} /// -/// Special notes +/// ## Special notes /// /// When gRPC Transcoding is used to map a gRPC to JSON REST endpoints, the /// proto to JSON conversion must follow the [proto3 @@ -432,8 +437,7 @@ class HttpRule extends $pb.GeneratedMessage { /// Selects a method to which this rule applies. /// - /// Refer to [selector][google.api.DocumentationRule.selector] for syntax - /// details. + /// Refer to [selector][google.api.DocumentationRule.selector] for syntax details. @$pb.TagNumber(1) $core.String get selector => $_getSZ(0); @$pb.TagNumber(1) diff --git a/lib/google/api/httpbody.pb.dart b/lib/google/api/httpbody.pb.dart index 85307048..bc957dd5 100644 --- a/lib/google/api/httpbody.pb.dart +++ b/lib/google/api/httpbody.pb.dart @@ -38,15 +38,12 @@ export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions; /// /// // The raw HTTP body is bound to this field. /// google.api.HttpBody http_body = 2; -/// /// } /// /// service ResourceService { -/// rpc GetResource(GetResourceRequest) -/// returns (google.api.HttpBody); -/// rpc UpdateResource(google.api.HttpBody) -/// returns (google.protobuf.Empty); -/// +/// rpc GetResource(GetResourceRequest) returns (google.api.HttpBody); +/// rpc UpdateResource(google.api.HttpBody) returns +/// (google.protobuf.Empty); /// } /// /// Example with streaming methods: @@ -56,7 +53,6 @@ export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions; /// returns (stream google.api.HttpBody); /// rpc UpdateCalendar(stream google.api.HttpBody) /// returns (stream google.api.HttpBody); -/// /// } /// /// Use of this type only changes how the request and response bodies are diff --git a/lib/google/protobuf/any.pb.dart b/lib/google/protobuf/any.pb.dart index 12b9e616..29db032c 100644 --- a/lib/google/protobuf/any.pb.dart +++ b/lib/google/protobuf/any.pb.dart @@ -42,10 +42,6 @@ export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions; /// if (any.is(Foo.class)) { /// foo = any.unpack(Foo.class); /// } -/// // or ... -/// if (any.isSameTypeAs(Foo.getDefaultInstance())) { -/// foo = any.unpack(Foo.getDefaultInstance()); -/// } /// /// Example 3: Pack and unpack a message in Python. /// @@ -60,13 +56,10 @@ export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions; /// Example 4: Pack and unpack a message in Go /// /// foo := &pb.Foo{...} -/// any, err := anypb.New(foo) -/// if err != nil { -/// ... -/// } +/// any, err := ptypes.MarshalAny(foo) /// ... /// foo := &pb.Foo{} -/// if err := any.UnmarshalTo(foo); err != nil { +/// if err := ptypes.UnmarshalAny(any, foo); err != nil { /// ... /// } /// @@ -76,6 +69,7 @@ export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions; /// in the type URL, for example "foo.bar.com/x/y.z" will yield type /// name "y.z". /// +/// /// JSON /// ==== /// The JSON representation of an `Any` value uses the regular @@ -165,8 +159,7 @@ class Any extends $pb.GeneratedMessage with $mixin.AnyMixin { /// /// Note: this functionality is not currently available in the official /// protobuf release, and it is not used for type URLs beginning with - /// type.googleapis.com. As of May 2023, there are no widely used type server - /// implementations and no plans to implement one. + /// type.googleapis.com. /// /// Schemes other than `http`, `https` (or the empty scheme) might be /// used with implementation specific semantics. diff --git a/lib/google/protobuf/api.pb.dart b/lib/google/protobuf/api.pb.dart index 43a4b969..5f44b216 100644 --- a/lib/google/protobuf/api.pb.dart +++ b/lib/google/protobuf/api.pb.dart @@ -28,11 +28,6 @@ export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions; /// sometimes simply referred to as "APIs" in other contexts, such as the name of /// this message itself. See https://cloud.google.com/apis/design/glossary for /// detailed terminology. -/// -/// New usages of this message as an alternative to ServiceDescriptorProto are -/// strongly discouraged. This message does not reliability preserve all -/// information necessary to model the schema and preserve semantics. Instead -/// make use of FileDescriptorSet which preserves the necessary information. class Api extends $pb.GeneratedMessage { factory Api({ $core.String? name, @@ -42,7 +37,6 @@ class Api extends $pb.GeneratedMessage { $1.SourceContext? sourceContext, $core.Iterable? mixins, $0.Syntax? syntax, - $core.String? edition, }) { final result = create(); if (name != null) result.name = name; @@ -52,7 +46,6 @@ class Api extends $pb.GeneratedMessage { if (sourceContext != null) result.sourceContext = sourceContext; if (mixins != null) result.mixins.addAll(mixins); if (syntax != null) result.syntax = syntax; - if (edition != null) result.edition = edition; return result; } @@ -69,7 +62,6 @@ class Api extends $pb.GeneratedMessage { ..aOM<$1.SourceContext>(5, _omitFieldNames ? '' : 'sourceContext', subBuilder: $1.SourceContext.create) ..pc(6, _omitFieldNames ? '' : 'mixins', $pb.PbFieldType.PM, subBuilder: Mixin.create) ..e<$0.Syntax>(7, _omitFieldNames ? '' : 'syntax', $pb.PbFieldType.OE, defaultOrMaker: $0.Syntax.SYNTAX_PROTO2, valueOf: $0.Syntax.valueOf, enumValues: $0.Syntax.values) - ..aOS(8, _omitFieldNames ? '' : 'edition') ..hasRequiredFields = false ; @@ -163,24 +155,9 @@ class Api extends $pb.GeneratedMessage { $core.bool hasSyntax() => $_has(6); @$pb.TagNumber(7) void clearSyntax() => $_clearField(7); - - /// The source edition string, only valid when syntax is SYNTAX_EDITIONS. - @$pb.TagNumber(8) - $core.String get edition => $_getSZ(7); - @$pb.TagNumber(8) - set edition($core.String value) => $_setString(7, value); - @$pb.TagNumber(8) - $core.bool hasEdition() => $_has(7); - @$pb.TagNumber(8) - void clearEdition() => $_clearField(8); } /// Method represents a method of an API interface. -/// -/// New usages of this message as an alternative to MethodDescriptorProto are -/// strongly discouraged. This message does not reliability preserve all -/// information necessary to model the schema and preserve semantics. Instead -/// make use of FileDescriptorSet which preserves the necessary information. class Method extends $pb.GeneratedMessage { factory Method({ $core.String? name, @@ -189,10 +166,7 @@ class Method extends $pb.GeneratedMessage { $core.String? responseTypeUrl, $core.bool? responseStreaming, $core.Iterable<$0.Option>? options, - @$core.Deprecated('This field is deprecated.') $0.Syntax? syntax, - @$core.Deprecated('This field is deprecated.') - $core.String? edition, }) { final result = create(); if (name != null) result.name = name; @@ -202,7 +176,6 @@ class Method extends $pb.GeneratedMessage { if (responseStreaming != null) result.responseStreaming = responseStreaming; if (options != null) result.options.addAll(options); if (syntax != null) result.syntax = syntax; - if (edition != null) result.edition = edition; return result; } @@ -219,7 +192,6 @@ class Method extends $pb.GeneratedMessage { ..aOB(5, _omitFieldNames ? '' : 'responseStreaming') ..pc<$0.Option>(6, _omitFieldNames ? '' : 'options', $pb.PbFieldType.PM, subBuilder: $0.Option.create) ..e<$0.Syntax>(7, _omitFieldNames ? '' : 'syntax', $pb.PbFieldType.OE, defaultOrMaker: $0.Syntax.SYNTAX_PROTO2, valueOf: $0.Syntax.valueOf, enumValues: $0.Syntax.values) - ..aOS(8, _omitFieldNames ? '' : 'edition') ..hasRequiredFields = false ; @@ -295,38 +267,14 @@ class Method extends $pb.GeneratedMessage { $pb.PbList<$0.Option> get options => $_getList(5); /// The source syntax of this method. - /// - /// This field should be ignored, instead the syntax should be inherited from - /// Api. This is similar to Field and EnumValue. - @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(7) $0.Syntax get syntax => $_getN(6); - @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(7) set syntax($0.Syntax value) => $_setField(7, value); - @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(7) $core.bool hasSyntax() => $_has(6); - @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(7) void clearSyntax() => $_clearField(7); - - /// The source edition string, only valid when syntax is SYNTAX_EDITIONS. - /// - /// This field should be ignored, instead the edition should be inherited from - /// Api. This is similar to Field and EnumValue. - @$core.Deprecated('This field is deprecated.') - @$pb.TagNumber(8) - $core.String get edition => $_getSZ(7); - @$core.Deprecated('This field is deprecated.') - @$pb.TagNumber(8) - set edition($core.String value) => $_setString(7, value); - @$core.Deprecated('This field is deprecated.') - @$pb.TagNumber(8) - $core.bool hasEdition() => $_has(7); - @$core.Deprecated('This field is deprecated.') - @$pb.TagNumber(8) - void clearEdition() => $_clearField(8); } /// Declares an API Interface to be included in this interface. The including @@ -376,7 +324,7 @@ class Method extends $pb.GeneratedMessage { /// The mixin construct implies that all methods in `AccessControl` are /// also declared with same name and request/response types in /// `Storage`. A documentation generator or annotation processor will -/// see the effective `Storage.GetAcl` method after inheriting +/// see the effective `Storage.GetAcl` method after inherting /// documentation and annotations as follows: /// /// service Storage { diff --git a/lib/google/protobuf/api.pbjson.dart b/lib/google/protobuf/api.pbjson.dart index 7e8e225b..eb0d1956 100644 --- a/lib/google/protobuf/api.pbjson.dart +++ b/lib/google/protobuf/api.pbjson.dart @@ -25,7 +25,6 @@ const Api$json = { {'1': 'source_context', '3': 5, '4': 1, '5': 11, '6': '.google.protobuf.SourceContext', '10': 'sourceContext'}, {'1': 'mixins', '3': 6, '4': 3, '5': 11, '6': '.google.protobuf.Mixin', '10': 'mixins'}, {'1': 'syntax', '3': 7, '4': 1, '5': 14, '6': '.google.protobuf.Syntax', '10': 'syntax'}, - {'1': 'edition', '3': 8, '4': 1, '5': 9, '10': 'edition'}, ], }; @@ -36,8 +35,7 @@ final $typed_data.Uint8List apiDescriptor = $convert.base64Decode( 'Lk9wdGlvblIHb3B0aW9ucxIYCgd2ZXJzaW9uGAQgASgJUgd2ZXJzaW9uEkUKDnNvdXJjZV9jb2' '50ZXh0GAUgASgLMh4uZ29vZ2xlLnByb3RvYnVmLlNvdXJjZUNvbnRleHRSDXNvdXJjZUNvbnRl' 'eHQSLgoGbWl4aW5zGAYgAygLMhYuZ29vZ2xlLnByb3RvYnVmLk1peGluUgZtaXhpbnMSLwoGc3' - 'ludGF4GAcgASgOMhcuZ29vZ2xlLnByb3RvYnVmLlN5bnRheFIGc3ludGF4EhgKB2VkaXRpb24Y' - 'CCABKAlSB2VkaXRpb24='); + 'ludGF4GAcgASgOMhcuZ29vZ2xlLnByb3RvYnVmLlN5bnRheFIGc3ludGF4'); @$core.Deprecated('Use methodDescriptor instead') const Method$json = { @@ -49,23 +47,7 @@ const Method$json = { {'1': 'response_type_url', '3': 4, '4': 1, '5': 9, '10': 'responseTypeUrl'}, {'1': 'response_streaming', '3': 5, '4': 1, '5': 8, '10': 'responseStreaming'}, {'1': 'options', '3': 6, '4': 3, '5': 11, '6': '.google.protobuf.Option', '10': 'options'}, - { - '1': 'syntax', - '3': 7, - '4': 1, - '5': 14, - '6': '.google.protobuf.Syntax', - '8': {'3': true}, - '10': 'syntax', - }, - { - '1': 'edition', - '3': 8, - '4': 1, - '5': 9, - '8': {'3': true}, - '10': 'edition', - }, + {'1': 'syntax', '3': 7, '4': 1, '5': 14, '6': '.google.protobuf.Syntax', '10': 'syntax'}, ], }; @@ -75,9 +57,8 @@ final $typed_data.Uint8List methodDescriptor = $convert.base64Decode( '5yZXF1ZXN0VHlwZVVybBIrChFyZXF1ZXN0X3N0cmVhbWluZxgDIAEoCFIQcmVxdWVzdFN0cmVh' 'bWluZxIqChFyZXNwb25zZV90eXBlX3VybBgEIAEoCVIPcmVzcG9uc2VUeXBlVXJsEi0KEnJlc3' 'BvbnNlX3N0cmVhbWluZxgFIAEoCFIRcmVzcG9uc2VTdHJlYW1pbmcSMQoHb3B0aW9ucxgGIAMo' - 'CzIXLmdvb2dsZS5wcm90b2J1Zi5PcHRpb25SB29wdGlvbnMSMwoGc3ludGF4GAcgASgOMhcuZ2' - '9vZ2xlLnByb3RvYnVmLlN5bnRheEICGAFSBnN5bnRheBIcCgdlZGl0aW9uGAggASgJQgIYAVIH' - 'ZWRpdGlvbg=='); + 'CzIXLmdvb2dsZS5wcm90b2J1Zi5PcHRpb25SB29wdGlvbnMSLwoGc3ludGF4GAcgASgOMhcuZ2' + '9vZ2xlLnByb3RvYnVmLlN5bnRheFIGc3ludGF4'); @$core.Deprecated('Use mixinDescriptor instead') const Mixin$json = { diff --git a/lib/google/protobuf/compiler/plugin.pb.dart b/lib/google/protobuf/compiler/plugin.pb.dart index 2c31dd72..6feea4e0 100644 --- a/lib/google/protobuf/compiler/plugin.pb.dart +++ b/lib/google/protobuf/compiler/plugin.pb.dart @@ -12,15 +12,12 @@ import 'dart:core' as $core; -import 'package:fixnum/fixnum.dart' as $fixnum; import 'package:protobuf/protobuf.dart' as $pb; import '../descriptor.pb.dart' as $0; export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions; -export 'plugin.pbenum.dart'; - /// The version number of protocol compiler. class Version extends $pb.GeneratedMessage { factory Version({ @@ -113,14 +110,12 @@ class CodeGeneratorRequest extends $pb.GeneratedMessage { $core.String? parameter, Version? compilerVersion, $core.Iterable<$0.FileDescriptorProto>? protoFile, - $core.Iterable<$0.FileDescriptorProto>? sourceFileDescriptors, }) { final result = create(); if (fileToGenerate != null) result.fileToGenerate.addAll(fileToGenerate); if (parameter != null) result.parameter = parameter; if (compilerVersion != null) result.compilerVersion = compilerVersion; if (protoFile != null) result.protoFile.addAll(protoFile); - if (sourceFileDescriptors != null) result.sourceFileDescriptors.addAll(sourceFileDescriptors); return result; } @@ -134,7 +129,6 @@ class CodeGeneratorRequest extends $pb.GeneratedMessage { ..aOS(2, _omitFieldNames ? '' : 'parameter') ..aOM(3, _omitFieldNames ? '' : 'compilerVersion', subBuilder: Version.create) ..pc<$0.FileDescriptorProto>(15, _omitFieldNames ? '' : 'protoFile', $pb.PbFieldType.PM, subBuilder: $0.FileDescriptorProto.create) - ..pc<$0.FileDescriptorProto>(17, _omitFieldNames ? '' : 'sourceFileDescriptors', $pb.PbFieldType.PM, subBuilder: $0.FileDescriptorProto.create) ; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') @@ -186,11 +180,6 @@ class CodeGeneratorRequest extends $pb.GeneratedMessage { /// they import. The files will appear in topological order, so each file /// appears before any file that imports it. /// - /// Note: the files listed in files_to_generate will include runtime-retention - /// options only, but all other files will include source-retention options. - /// The source_file_descriptors field below is available in case you need - /// source-retention options for files_to_generate. - /// /// protoc guarantees that all proto_files will be written after /// the fields above, even though this is not technically guaranteed by the /// protobuf wire format. This theoretically could allow a plugin to stream @@ -203,12 +192,6 @@ class CodeGeneratorRequest extends $pb.GeneratedMessage { /// fully qualified. @$pb.TagNumber(15) $pb.PbList<$0.FileDescriptorProto> get protoFile => $_getList(3); - - /// File descriptors with all options, including source-retention options. - /// These descriptors are only provided for the files listed in - /// files_to_generate. - @$pb.TagNumber(17) - $pb.PbList<$0.FileDescriptorProto> get sourceFileDescriptors => $_getList(4); } /// Represents a single generated file. @@ -217,13 +200,11 @@ class CodeGeneratorResponse_File extends $pb.GeneratedMessage { $core.String? name, $core.String? insertionPoint, $core.String? content, - $0.GeneratedCodeInfo? generatedCodeInfo, }) { final result = create(); if (name != null) result.name = name; if (insertionPoint != null) result.insertionPoint = insertionPoint; if (content != null) result.content = content; - if (generatedCodeInfo != null) result.generatedCodeInfo = generatedCodeInfo; return result; } @@ -236,7 +217,6 @@ class CodeGeneratorResponse_File extends $pb.GeneratedMessage { ..aOS(1, _omitFieldNames ? '' : 'name') ..aOS(2, _omitFieldNames ? '' : 'insertionPoint') ..aOS(15, _omitFieldNames ? '' : 'content') - ..aOM<$0.GeneratedCodeInfo>(16, _omitFieldNames ? '' : 'generatedCodeInfo', subBuilder: $0.GeneratedCodeInfo.create) ..hasRequiredFields = false ; @@ -332,36 +312,16 @@ class CodeGeneratorResponse_File extends $pb.GeneratedMessage { $core.bool hasContent() => $_has(2); @$pb.TagNumber(15) void clearContent() => $_clearField(15); - - /// Information describing the file content being inserted. If an insertion - /// point is used, this information will be appropriately offset and inserted - /// into the code generation metadata for the generated files. - @$pb.TagNumber(16) - $0.GeneratedCodeInfo get generatedCodeInfo => $_getN(3); - @$pb.TagNumber(16) - set generatedCodeInfo($0.GeneratedCodeInfo value) => $_setField(16, value); - @$pb.TagNumber(16) - $core.bool hasGeneratedCodeInfo() => $_has(3); - @$pb.TagNumber(16) - void clearGeneratedCodeInfo() => $_clearField(16); - @$pb.TagNumber(16) - $0.GeneratedCodeInfo ensureGeneratedCodeInfo() => $_ensure(3); } /// The plugin writes an encoded CodeGeneratorResponse to stdout. class CodeGeneratorResponse extends $pb.GeneratedMessage { factory CodeGeneratorResponse({ $core.String? error, - $fixnum.Int64? supportedFeatures, - $core.int? minimumEdition, - $core.int? maximumEdition, $core.Iterable? file, }) { final result = create(); if (error != null) result.error = error; - if (supportedFeatures != null) result.supportedFeatures = supportedFeatures; - if (minimumEdition != null) result.minimumEdition = minimumEdition; - if (maximumEdition != null) result.maximumEdition = maximumEdition; if (file != null) result.file.addAll(file); return result; } @@ -373,9 +333,6 @@ class CodeGeneratorResponse extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CodeGeneratorResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf.compiler'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'error') - ..a<$fixnum.Int64>(2, _omitFieldNames ? '' : 'supportedFeatures', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) - ..a<$core.int>(3, _omitFieldNames ? '' : 'minimumEdition', $pb.PbFieldType.O3) - ..a<$core.int>(4, _omitFieldNames ? '' : 'maximumEdition', $pb.PbFieldType.O3) ..pc(15, _omitFieldNames ? '' : 'file', $pb.PbFieldType.PM, subBuilder: CodeGeneratorResponse_File.create) ..hasRequiredFields = false ; @@ -414,45 +371,8 @@ class CodeGeneratorResponse extends $pb.GeneratedMessage { @$pb.TagNumber(1) void clearError() => $_clearField(1); - /// A bitmask of supported features that the code generator supports. - /// This is a bitwise "or" of values from the Feature enum. - @$pb.TagNumber(2) - $fixnum.Int64 get supportedFeatures => $_getI64(1); - @$pb.TagNumber(2) - set supportedFeatures($fixnum.Int64 value) => $_setInt64(1, value); - @$pb.TagNumber(2) - $core.bool hasSupportedFeatures() => $_has(1); - @$pb.TagNumber(2) - void clearSupportedFeatures() => $_clearField(2); - - /// The minimum edition this plugin supports. This will be treated as an - /// Edition enum, but we want to allow unknown values. It should be specified - /// according the edition enum value, *not* the edition number. Only takes - /// effect for plugins that have FEATURE_SUPPORTS_EDITIONS set. - @$pb.TagNumber(3) - $core.int get minimumEdition => $_getIZ(2); - @$pb.TagNumber(3) - set minimumEdition($core.int value) => $_setSignedInt32(2, value); - @$pb.TagNumber(3) - $core.bool hasMinimumEdition() => $_has(2); - @$pb.TagNumber(3) - void clearMinimumEdition() => $_clearField(3); - - /// The maximum edition this plugin supports. This will be treated as an - /// Edition enum, but we want to allow unknown values. It should be specified - /// according the edition enum value, *not* the edition number. Only takes - /// effect for plugins that have FEATURE_SUPPORTS_EDITIONS set. - @$pb.TagNumber(4) - $core.int get maximumEdition => $_getIZ(3); - @$pb.TagNumber(4) - set maximumEdition($core.int value) => $_setSignedInt32(3, value); - @$pb.TagNumber(4) - $core.bool hasMaximumEdition() => $_has(3); - @$pb.TagNumber(4) - void clearMaximumEdition() => $_clearField(4); - @$pb.TagNumber(15) - $pb.PbList get file => $_getList(4); + $pb.PbList get file => $_getList(1); } diff --git a/lib/google/protobuf/compiler/plugin.pbenum.dart b/lib/google/protobuf/compiler/plugin.pbenum.dart index a80b3a6a..7ae574ad 100644 --- a/lib/google/protobuf/compiler/plugin.pbenum.dart +++ b/lib/google/protobuf/compiler/plugin.pbenum.dart @@ -10,27 +10,3 @@ // ignore_for_file: deprecated_member_use_from_same_package, library_prefixes // ignore_for_file: non_constant_identifier_names -import 'dart:core' as $core; - -import 'package:protobuf/protobuf.dart' as $pb; - -/// Sync with code_generator.h. -class CodeGeneratorResponse_Feature extends $pb.ProtobufEnum { - static const CodeGeneratorResponse_Feature FEATURE_NONE = CodeGeneratorResponse_Feature._(0, _omitEnumNames ? '' : 'FEATURE_NONE'); - static const CodeGeneratorResponse_Feature FEATURE_PROTO3_OPTIONAL = CodeGeneratorResponse_Feature._(1, _omitEnumNames ? '' : 'FEATURE_PROTO3_OPTIONAL'); - static const CodeGeneratorResponse_Feature FEATURE_SUPPORTS_EDITIONS = CodeGeneratorResponse_Feature._(2, _omitEnumNames ? '' : 'FEATURE_SUPPORTS_EDITIONS'); - - static const $core.List values = [ - FEATURE_NONE, - FEATURE_PROTO3_OPTIONAL, - FEATURE_SUPPORTS_EDITIONS, - ]; - - static final $core.List _byValue = $pb.ProtobufEnum.$_initByValueList(values, 2); - static CodeGeneratorResponse_Feature? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value]; - - const CodeGeneratorResponse_Feature._(super.value, super.name); -} - - -const $core.bool _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names'); diff --git a/lib/google/protobuf/compiler/plugin.pbjson.dart b/lib/google/protobuf/compiler/plugin.pbjson.dart index c797cb29..c7abad4e 100644 --- a/lib/google/protobuf/compiler/plugin.pbjson.dart +++ b/lib/google/protobuf/compiler/plugin.pbjson.dart @@ -37,7 +37,6 @@ const CodeGeneratorRequest$json = { {'1': 'file_to_generate', '3': 1, '4': 3, '5': 9, '10': 'fileToGenerate'}, {'1': 'parameter', '3': 2, '4': 1, '5': 9, '10': 'parameter'}, {'1': 'proto_file', '3': 15, '4': 3, '5': 11, '6': '.google.protobuf.FileDescriptorProto', '10': 'protoFile'}, - {'1': 'source_file_descriptors', '3': 17, '4': 3, '5': 11, '6': '.google.protobuf.FileDescriptorProto', '10': 'sourceFileDescriptors'}, {'1': 'compiler_version', '3': 3, '4': 1, '5': 11, '6': '.google.protobuf.compiler.Version', '10': 'compilerVersion'}, ], }; @@ -46,24 +45,18 @@ const CodeGeneratorRequest$json = { final $typed_data.Uint8List codeGeneratorRequestDescriptor = $convert.base64Decode( 'ChRDb2RlR2VuZXJhdG9yUmVxdWVzdBIoChBmaWxlX3RvX2dlbmVyYXRlGAEgAygJUg5maWxlVG' '9HZW5lcmF0ZRIcCglwYXJhbWV0ZXIYAiABKAlSCXBhcmFtZXRlchJDCgpwcm90b19maWxlGA8g' - 'AygLMiQuZ29vZ2xlLnByb3RvYnVmLkZpbGVEZXNjcmlwdG9yUHJvdG9SCXByb3RvRmlsZRJcCh' - 'dzb3VyY2VfZmlsZV9kZXNjcmlwdG9ycxgRIAMoCzIkLmdvb2dsZS5wcm90b2J1Zi5GaWxlRGVz' - 'Y3JpcHRvclByb3RvUhVzb3VyY2VGaWxlRGVzY3JpcHRvcnMSTAoQY29tcGlsZXJfdmVyc2lvbh' - 'gDIAEoCzIhLmdvb2dsZS5wcm90b2J1Zi5jb21waWxlci5WZXJzaW9uUg9jb21waWxlclZlcnNp' - 'b24='); + 'AygLMiQuZ29vZ2xlLnByb3RvYnVmLkZpbGVEZXNjcmlwdG9yUHJvdG9SCXByb3RvRmlsZRJMCh' + 'Bjb21waWxlcl92ZXJzaW9uGAMgASgLMiEuZ29vZ2xlLnByb3RvYnVmLmNvbXBpbGVyLlZlcnNp' + 'b25SD2NvbXBpbGVyVmVyc2lvbg=='); @$core.Deprecated('Use codeGeneratorResponseDescriptor instead') const CodeGeneratorResponse$json = { '1': 'CodeGeneratorResponse', '2': [ {'1': 'error', '3': 1, '4': 1, '5': 9, '10': 'error'}, - {'1': 'supported_features', '3': 2, '4': 1, '5': 4, '10': 'supportedFeatures'}, - {'1': 'minimum_edition', '3': 3, '4': 1, '5': 5, '10': 'minimumEdition'}, - {'1': 'maximum_edition', '3': 4, '4': 1, '5': 5, '10': 'maximumEdition'}, {'1': 'file', '3': 15, '4': 3, '5': 11, '6': '.google.protobuf.compiler.CodeGeneratorResponse.File', '10': 'file'}, ], '3': [CodeGeneratorResponse_File$json], - '4': [CodeGeneratorResponse_Feature$json], }; @$core.Deprecated('Use codeGeneratorResponseDescriptor instead') @@ -73,30 +66,13 @@ const CodeGeneratorResponse_File$json = { {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, {'1': 'insertion_point', '3': 2, '4': 1, '5': 9, '10': 'insertionPoint'}, {'1': 'content', '3': 15, '4': 1, '5': 9, '10': 'content'}, - {'1': 'generated_code_info', '3': 16, '4': 1, '5': 11, '6': '.google.protobuf.GeneratedCodeInfo', '10': 'generatedCodeInfo'}, - ], -}; - -@$core.Deprecated('Use codeGeneratorResponseDescriptor instead') -const CodeGeneratorResponse_Feature$json = { - '1': 'Feature', - '2': [ - {'1': 'FEATURE_NONE', '2': 0}, - {'1': 'FEATURE_PROTO3_OPTIONAL', '2': 1}, - {'1': 'FEATURE_SUPPORTS_EDITIONS', '2': 2}, ], }; /// Descriptor for `CodeGeneratorResponse`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List codeGeneratorResponseDescriptor = $convert.base64Decode( - 'ChVDb2RlR2VuZXJhdG9yUmVzcG9uc2USFAoFZXJyb3IYASABKAlSBWVycm9yEi0KEnN1cHBvcn' - 'RlZF9mZWF0dXJlcxgCIAEoBFIRc3VwcG9ydGVkRmVhdHVyZXMSJwoPbWluaW11bV9lZGl0aW9u' - 'GAMgASgFUg5taW5pbXVtRWRpdGlvbhInCg9tYXhpbXVtX2VkaXRpb24YBCABKAVSDm1heGltdW' - '1FZGl0aW9uEkgKBGZpbGUYDyADKAsyNC5nb29nbGUucHJvdG9idWYuY29tcGlsZXIuQ29kZUdl' - 'bmVyYXRvclJlc3BvbnNlLkZpbGVSBGZpbGUasQEKBEZpbGUSEgoEbmFtZRgBIAEoCVIEbmFtZR' - 'InCg9pbnNlcnRpb25fcG9pbnQYAiABKAlSDmluc2VydGlvblBvaW50EhgKB2NvbnRlbnQYDyAB' - 'KAlSB2NvbnRlbnQSUgoTZ2VuZXJhdGVkX2NvZGVfaW5mbxgQIAEoCzIiLmdvb2dsZS5wcm90b2' - 'J1Zi5HZW5lcmF0ZWRDb2RlSW5mb1IRZ2VuZXJhdGVkQ29kZUluZm8iVwoHRmVhdHVyZRIQCgxG' - 'RUFUVVJFX05PTkUQABIbChdGRUFUVVJFX1BST1RPM19PUFRJT05BTBABEh0KGUZFQVRVUkVfU1' - 'VQUE9SVFNfRURJVElPTlMQAg=='); + 'ChVDb2RlR2VuZXJhdG9yUmVzcG9uc2USFAoFZXJyb3IYASABKAlSBWVycm9yEkgKBGZpbGUYDy' + 'ADKAsyNC5nb29nbGUucHJvdG9idWYuY29tcGlsZXIuQ29kZUdlbmVyYXRvclJlc3BvbnNlLkZp' + 'bGVSBGZpbGUaXQoERmlsZRISCgRuYW1lGAEgASgJUgRuYW1lEicKD2luc2VydGlvbl9wb2ludB' + 'gCIAEoCVIOaW5zZXJ0aW9uUG9pbnQSGAoHY29udGVudBgPIAEoCVIHY29udGVudA=='); diff --git a/lib/google/protobuf/descriptor.pb.dart b/lib/google/protobuf/descriptor.pb.dart index 52a6142e..858f79aa 100644 --- a/lib/google/protobuf/descriptor.pb.dart +++ b/lib/google/protobuf/descriptor.pb.dart @@ -39,7 +39,6 @@ class FileDescriptorSet extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'FileDescriptorSet', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create) ..pc(1, _omitFieldNames ? '' : 'file', $pb.PbFieldType.PM, subBuilder: FileDescriptorProto.create) - ..hasExtensions = true ; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') @@ -78,8 +77,6 @@ class FileDescriptorProto extends $pb.GeneratedMessage { $core.Iterable<$core.int>? publicDependency, $core.Iterable<$core.int>? weakDependency, $core.String? syntax, - Edition? edition, - $core.Iterable<$core.String>? optionDependency, }) { final result = create(); if (name != null) result.name = name; @@ -94,8 +91,6 @@ class FileDescriptorProto extends $pb.GeneratedMessage { if (publicDependency != null) result.publicDependency.addAll(publicDependency); if (weakDependency != null) result.weakDependency.addAll(weakDependency); if (syntax != null) result.syntax = syntax; - if (edition != null) result.edition = edition; - if (optionDependency != null) result.optionDependency.addAll(optionDependency); return result; } @@ -117,8 +112,6 @@ class FileDescriptorProto extends $pb.GeneratedMessage { ..p<$core.int>(10, _omitFieldNames ? '' : 'publicDependency', $pb.PbFieldType.P3) ..p<$core.int>(11, _omitFieldNames ? '' : 'weakDependency', $pb.PbFieldType.P3) ..aOS(12, _omitFieldNames ? '' : 'syntax') - ..e(14, _omitFieldNames ? '' : 'edition', $pb.PbFieldType.OE, defaultOrMaker: Edition.EDITION_UNKNOWN, valueOf: Edition.valueOf, enumValues: Edition.values) - ..pPS(15, _omitFieldNames ? '' : 'optionDependency') ; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') @@ -209,12 +202,7 @@ class FileDescriptorProto extends $pb.GeneratedMessage { $pb.PbList<$core.int> get weakDependency => $_getList(10); /// The syntax of the proto file. - /// The supported values are "proto2", "proto3", and "editions". - /// - /// If `edition` is present, this value must be "editions". - /// WARNING: This field should only be used by protobuf plugins or special - /// cases like the proto compiler. Other uses are discouraged and - /// developers should rely on the protoreflect APIs for their client language. + /// The supported values are "proto2" and "proto3". @$pb.TagNumber(12) $core.String get syntax => $_getSZ(11); @$pb.TagNumber(12) @@ -223,24 +211,6 @@ class FileDescriptorProto extends $pb.GeneratedMessage { $core.bool hasSyntax() => $_has(11); @$pb.TagNumber(12) void clearSyntax() => $_clearField(12); - - /// The edition of the proto file. - /// WARNING: This field should only be used by protobuf plugins or special - /// cases like the proto compiler. Other uses are discouraged and - /// developers should rely on the protoreflect APIs for their client language. - @$pb.TagNumber(14) - Edition get edition => $_getN(12); - @$pb.TagNumber(14) - set edition(Edition value) => $_setField(14, value); - @$pb.TagNumber(14) - $core.bool hasEdition() => $_has(12); - @$pb.TagNumber(14) - void clearEdition() => $_clearField(14); - - /// Names of files imported by this file purely for the purpose of providing - /// option extensions. These are excluded from the dependency list above. - @$pb.TagNumber(15) - $pb.PbList<$core.String> get optionDependency => $_getList(13); } class DescriptorProto_ExtensionRange extends $pb.GeneratedMessage { @@ -388,7 +358,6 @@ class DescriptorProto extends $pb.GeneratedMessage { $core.Iterable? oneofDecl, $core.Iterable? reservedRange, $core.Iterable<$core.String>? reservedName, - SymbolVisibility? visibility, }) { final result = create(); if (name != null) result.name = name; @@ -401,7 +370,6 @@ class DescriptorProto extends $pb.GeneratedMessage { if (oneofDecl != null) result.oneofDecl.addAll(oneofDecl); if (reservedRange != null) result.reservedRange.addAll(reservedRange); if (reservedName != null) result.reservedName.addAll(reservedName); - if (visibility != null) result.visibility = visibility; return result; } @@ -421,7 +389,6 @@ class DescriptorProto extends $pb.GeneratedMessage { ..pc(8, _omitFieldNames ? '' : 'oneofDecl', $pb.PbFieldType.PM, subBuilder: OneofDescriptorProto.create) ..pc(9, _omitFieldNames ? '' : 'reservedRange', $pb.PbFieldType.PM, subBuilder: DescriptorProto_ReservedRange.create) ..pPS(10, _omitFieldNames ? '' : 'reservedName') - ..e(11, _omitFieldNames ? '' : 'visibility', $pb.PbFieldType.OE, defaultOrMaker: SymbolVisibility.VISIBILITY_UNSET, valueOf: SymbolVisibility.valueOf, enumValues: SymbolVisibility.values) ; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') @@ -486,134 +453,13 @@ class DescriptorProto extends $pb.GeneratedMessage { /// A given name may only be reserved once. @$pb.TagNumber(10) $pb.PbList<$core.String> get reservedName => $_getList(9); - - /// Support for `export` and `local` keywords on enums. - @$pb.TagNumber(11) - SymbolVisibility get visibility => $_getN(10); - @$pb.TagNumber(11) - set visibility(SymbolVisibility value) => $_setField(11, value); - @$pb.TagNumber(11) - $core.bool hasVisibility() => $_has(10); - @$pb.TagNumber(11) - void clearVisibility() => $_clearField(11); -} - -class ExtensionRangeOptions_Declaration extends $pb.GeneratedMessage { - factory ExtensionRangeOptions_Declaration({ - $core.int? number, - $core.String? fullName, - $core.String? type, - $core.bool? reserved, - $core.bool? repeated, - }) { - final result = create(); - if (number != null) result.number = number; - if (fullName != null) result.fullName = fullName; - if (type != null) result.type = type; - if (reserved != null) result.reserved = reserved; - if (repeated != null) result.repeated = repeated; - return result; - } - - ExtensionRangeOptions_Declaration._(); - - factory ExtensionRangeOptions_Declaration.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory ExtensionRangeOptions_Declaration.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ExtensionRangeOptions.Declaration', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create) - ..a<$core.int>(1, _omitFieldNames ? '' : 'number', $pb.PbFieldType.O3) - ..aOS(2, _omitFieldNames ? '' : 'fullName') - ..aOS(3, _omitFieldNames ? '' : 'type') - ..aOB(5, _omitFieldNames ? '' : 'reserved') - ..aOB(6, _omitFieldNames ? '' : 'repeated') - ..hasRequiredFields = false - ; - - @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - ExtensionRangeOptions_Declaration clone() => ExtensionRangeOptions_Declaration()..mergeFromMessage(this); - @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - ExtensionRangeOptions_Declaration copyWith(void Function(ExtensionRangeOptions_Declaration) updates) => super.copyWith((message) => updates(message as ExtensionRangeOptions_Declaration)) as ExtensionRangeOptions_Declaration; - - @$core.override - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ExtensionRangeOptions_Declaration create() => ExtensionRangeOptions_Declaration._(); - @$core.override - ExtensionRangeOptions_Declaration createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ExtensionRangeOptions_Declaration getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ExtensionRangeOptions_Declaration? _defaultInstance; - - /// The extension number declared within the extension range. - @$pb.TagNumber(1) - $core.int get number => $_getIZ(0); - @$pb.TagNumber(1) - set number($core.int value) => $_setSignedInt32(0, value); - @$pb.TagNumber(1) - $core.bool hasNumber() => $_has(0); - @$pb.TagNumber(1) - void clearNumber() => $_clearField(1); - - /// The fully-qualified name of the extension field. There must be a leading - /// dot in front of the full name. - @$pb.TagNumber(2) - $core.String get fullName => $_getSZ(1); - @$pb.TagNumber(2) - set fullName($core.String value) => $_setString(1, value); - @$pb.TagNumber(2) - $core.bool hasFullName() => $_has(1); - @$pb.TagNumber(2) - void clearFullName() => $_clearField(2); - - /// The fully-qualified type name of the extension field. Unlike - /// Metadata.type, Declaration.type must have a leading dot for messages - /// and enums. - @$pb.TagNumber(3) - $core.String get type => $_getSZ(2); - @$pb.TagNumber(3) - set type($core.String value) => $_setString(2, value); - @$pb.TagNumber(3) - $core.bool hasType() => $_has(2); - @$pb.TagNumber(3) - void clearType() => $_clearField(3); - - /// If true, indicates that the number is reserved in the extension range, - /// and any extension field with the number will fail to compile. Set this - /// when a declared extension field is deleted. - @$pb.TagNumber(5) - $core.bool get reserved => $_getBF(3); - @$pb.TagNumber(5) - set reserved($core.bool value) => $_setBool(3, value); - @$pb.TagNumber(5) - $core.bool hasReserved() => $_has(3); - @$pb.TagNumber(5) - void clearReserved() => $_clearField(5); - - /// If true, indicates that the extension must be defined as repeated. - /// Otherwise the extension must be defined as optional. - @$pb.TagNumber(6) - $core.bool get repeated => $_getBF(4); - @$pb.TagNumber(6) - set repeated($core.bool value) => $_setBool(4, value); - @$pb.TagNumber(6) - $core.bool hasRepeated() => $_has(4); - @$pb.TagNumber(6) - void clearRepeated() => $_clearField(6); } class ExtensionRangeOptions extends $pb.GeneratedMessage { factory ExtensionRangeOptions({ - $core.Iterable? declaration, - ExtensionRangeOptions_VerificationState? verification, - FeatureSet? features, $core.Iterable? uninterpretedOption, }) { final result = create(); - if (declaration != null) result.declaration.addAll(declaration); - if (verification != null) result.verification = verification; - if (features != null) result.features = features; if (uninterpretedOption != null) result.uninterpretedOption.addAll(uninterpretedOption); return result; } @@ -624,9 +470,6 @@ class ExtensionRangeOptions extends $pb.GeneratedMessage { factory ExtensionRangeOptions.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ExtensionRangeOptions', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create) - ..pc(2, _omitFieldNames ? '' : 'declaration', $pb.PbFieldType.PM, subBuilder: ExtensionRangeOptions_Declaration.create) - ..e(3, _omitFieldNames ? '' : 'verification', $pb.PbFieldType.OE, defaultOrMaker: ExtensionRangeOptions_VerificationState.UNVERIFIED, valueOf: ExtensionRangeOptions_VerificationState.valueOf, enumValues: ExtensionRangeOptions_VerificationState.values) - ..aOM(50, _omitFieldNames ? '' : 'features', subBuilder: FeatureSet.create) ..pc(999, _omitFieldNames ? '' : 'uninterpretedOption', $pb.PbFieldType.PM, subBuilder: UninterpretedOption.create) ..hasExtensions = true ; @@ -648,39 +491,9 @@ class ExtensionRangeOptions extends $pb.GeneratedMessage { static ExtensionRangeOptions getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static ExtensionRangeOptions? _defaultInstance; - /// For external users: DO NOT USE. We are in the process of open sourcing - /// extension declaration and executing internal cleanups before it can be - /// used externally. - @$pb.TagNumber(2) - $pb.PbList get declaration => $_getList(0); - - /// The verification state of the range. - /// TODO: flip the default to DECLARATION once all empty ranges - /// are marked as UNVERIFIED. - @$pb.TagNumber(3) - ExtensionRangeOptions_VerificationState get verification => $_getN(1); - @$pb.TagNumber(3) - set verification(ExtensionRangeOptions_VerificationState value) => $_setField(3, value); - @$pb.TagNumber(3) - $core.bool hasVerification() => $_has(1); - @$pb.TagNumber(3) - void clearVerification() => $_clearField(3); - - /// Any features defined in the specific edition. - @$pb.TagNumber(50) - FeatureSet get features => $_getN(2); - @$pb.TagNumber(50) - set features(FeatureSet value) => $_setField(50, value); - @$pb.TagNumber(50) - $core.bool hasFeatures() => $_has(2); - @$pb.TagNumber(50) - void clearFeatures() => $_clearField(50); - @$pb.TagNumber(50) - FeatureSet ensureFeatures() => $_ensure(2); - /// The parser stores options it doesn't recognize here. See above. @$pb.TagNumber(999) - $pb.PbList get uninterpretedOption => $_getList(3); + $pb.PbList get uninterpretedOption => $_getList(0); } /// Describes a field within a message. @@ -696,7 +509,6 @@ class FieldDescriptorProto extends $pb.GeneratedMessage { FieldOptions? options, $core.int? oneofIndex, $core.String? jsonName, - $core.bool? proto3Optional, }) { final result = create(); if (name != null) result.name = name; @@ -709,7 +521,6 @@ class FieldDescriptorProto extends $pb.GeneratedMessage { if (options != null) result.options = options; if (oneofIndex != null) result.oneofIndex = oneofIndex; if (jsonName != null) result.jsonName = jsonName; - if (proto3Optional != null) result.proto3Optional = proto3Optional; return result; } @@ -729,7 +540,6 @@ class FieldDescriptorProto extends $pb.GeneratedMessage { ..aOM(8, _omitFieldNames ? '' : 'options', subBuilder: FieldOptions.create) ..a<$core.int>(9, _omitFieldNames ? '' : 'oneofIndex', $pb.PbFieldType.O3) ..aOS(10, _omitFieldNames ? '' : 'jsonName') - ..aOB(17, _omitFieldNames ? '' : 'proto3Optional') ; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') @@ -816,6 +626,7 @@ class FieldDescriptorProto extends $pb.GeneratedMessage { /// For booleans, "true" or "false". /// For strings, contains the default text contents (not escaped in any way). /// For bytes, contains the C escaped value. All bytes >= 128 are escaped. + /// TODO(kenton): Base-64 encode? @$pb.TagNumber(7) $core.String get defaultValue => $_getSZ(6); @$pb.TagNumber(7) @@ -859,36 +670,6 @@ class FieldDescriptorProto extends $pb.GeneratedMessage { $core.bool hasJsonName() => $_has(9); @$pb.TagNumber(10) void clearJsonName() => $_clearField(10); - - /// If true, this is a proto3 "optional". When a proto3 field is optional, it - /// tracks presence regardless of field type. - /// - /// When proto3_optional is true, this field must belong to a oneof to signal - /// to old proto3 clients that presence is tracked for this field. This oneof - /// is known as a "synthetic" oneof, and this field must be its sole member - /// (each proto3 optional field gets its own synthetic oneof). Synthetic oneofs - /// exist in the descriptor only, and do not generate any API. Synthetic oneofs - /// must be ordered after all "real" oneofs. - /// - /// For message fields, proto3_optional doesn't create any semantic change, - /// since non-repeated message fields always track presence. However it still - /// indicates the semantic detail of whether the user wrote "optional" or not. - /// This can be useful for round-tripping the .proto file. For consistency we - /// give message fields a synthetic oneof also, even though it is not required - /// to track presence. This is especially important because the parser can't - /// tell if a field is a message or an enum, so it must always create a - /// synthetic oneof. - /// - /// Proto2 optional fields do not set this flag, because they already indicate - /// optional with `LABEL_OPTIONAL`. - @$pb.TagNumber(17) - $core.bool get proto3Optional => $_getBF(10); - @$pb.TagNumber(17) - set proto3Optional($core.bool value) => $_setBool(10, value); - @$pb.TagNumber(17) - $core.bool hasProto3Optional() => $_has(10); - @$pb.TagNumber(17) - void clearProto3Optional() => $_clearField(17); } /// Describes a oneof. @@ -1023,7 +804,6 @@ class EnumDescriptorProto extends $pb.GeneratedMessage { EnumOptions? options, $core.Iterable? reservedRange, $core.Iterable<$core.String>? reservedName, - SymbolVisibility? visibility, }) { final result = create(); if (name != null) result.name = name; @@ -1031,7 +811,6 @@ class EnumDescriptorProto extends $pb.GeneratedMessage { if (options != null) result.options = options; if (reservedRange != null) result.reservedRange.addAll(reservedRange); if (reservedName != null) result.reservedName.addAll(reservedName); - if (visibility != null) result.visibility = visibility; return result; } @@ -1046,7 +825,6 @@ class EnumDescriptorProto extends $pb.GeneratedMessage { ..aOM(3, _omitFieldNames ? '' : 'options', subBuilder: EnumOptions.create) ..pc(4, _omitFieldNames ? '' : 'reservedRange', $pb.PbFieldType.PM, subBuilder: EnumDescriptorProto_EnumReservedRange.create) ..pPS(5, _omitFieldNames ? '' : 'reservedName') - ..e(6, _omitFieldNames ? '' : 'visibility', $pb.PbFieldType.OE, defaultOrMaker: SymbolVisibility.VISIBILITY_UNSET, valueOf: SymbolVisibility.valueOf, enumValues: SymbolVisibility.values) ; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') @@ -1099,16 +877,6 @@ class EnumDescriptorProto extends $pb.GeneratedMessage { /// be reserved once. @$pb.TagNumber(5) $pb.PbList<$core.String> get reservedName => $_getList(4); - - /// Support for `export` and `local` keywords on enums. - @$pb.TagNumber(6) - SymbolVisibility get visibility => $_getN(5); - @$pb.TagNumber(6) - set visibility(SymbolVisibility value) => $_setField(6, value); - @$pb.TagNumber(6) - $core.bool hasVisibility() => $_has(5); - @$pb.TagNumber(6) - void clearVisibility() => $_clearField(6); } /// Describes a value within an enum. @@ -1381,9 +1149,9 @@ class FileOptions extends $pb.GeneratedMessage { $core.String? swiftPrefix, $core.String? phpClassPrefix, $core.String? phpNamespace, + $core.bool? phpGenericServices, $core.String? phpMetadataNamespace, $core.String? rubyPackage, - FeatureSet? features, $core.Iterable? uninterpretedOption, }) { final result = create(); @@ -1404,9 +1172,9 @@ class FileOptions extends $pb.GeneratedMessage { if (swiftPrefix != null) result.swiftPrefix = swiftPrefix; if (phpClassPrefix != null) result.phpClassPrefix = phpClassPrefix; if (phpNamespace != null) result.phpNamespace = phpNamespace; + if (phpGenericServices != null) result.phpGenericServices = phpGenericServices; if (phpMetadataNamespace != null) result.phpMetadataNamespace = phpMetadataNamespace; if (rubyPackage != null) result.rubyPackage = rubyPackage; - if (features != null) result.features = features; if (uninterpretedOption != null) result.uninterpretedOption.addAll(uninterpretedOption); return result; } @@ -1428,15 +1196,15 @@ class FileOptions extends $pb.GeneratedMessage { ..aOB(20, _omitFieldNames ? '' : 'javaGenerateEqualsAndHash') ..aOB(23, _omitFieldNames ? '' : 'deprecated') ..aOB(27, _omitFieldNames ? '' : 'javaStringCheckUtf8') - ..a<$core.bool>(31, _omitFieldNames ? '' : 'ccEnableArenas', $pb.PbFieldType.OB, defaultOrMaker: true) + ..aOB(31, _omitFieldNames ? '' : 'ccEnableArenas') ..aOS(36, _omitFieldNames ? '' : 'objcClassPrefix') ..aOS(37, _omitFieldNames ? '' : 'csharpNamespace') ..aOS(39, _omitFieldNames ? '' : 'swiftPrefix') ..aOS(40, _omitFieldNames ? '' : 'phpClassPrefix') ..aOS(41, _omitFieldNames ? '' : 'phpNamespace') + ..aOB(42, _omitFieldNames ? '' : 'phpGenericServices') ..aOS(44, _omitFieldNames ? '' : 'phpMetadataNamespace') ..aOS(45, _omitFieldNames ? '' : 'rubyPackage') - ..aOM(50, _omitFieldNames ? '' : 'features', subBuilder: FeatureSet.create) ..pc(999, _omitFieldNames ? '' : 'uninterpretedOption', $pb.PbFieldType.PM, subBuilder: UninterpretedOption.create) ..hasExtensions = true ; @@ -1471,11 +1239,11 @@ class FileOptions extends $pb.GeneratedMessage { @$pb.TagNumber(1) void clearJavaPackage() => $_clearField(1); - /// Controls the name of the wrapper Java class generated for the .proto file. - /// That class will always contain the .proto file's getDescriptor() method as - /// well as any top-level extensions defined in the .proto file. - /// If java_multiple_files is disabled, then all the other classes from the - /// .proto file will be nested inside the single wrapper outer class. + /// If set, all the classes from the .proto file are wrapped in a single + /// outer class with the given name. This applies to both Proto1 + /// (equivalent to the old "--one_java_file" option) and Proto2 (where + /// a .proto always translates to a single class, but you may want to + /// explicitly choose the class name). @$pb.TagNumber(8) $core.String get javaOuterClassname => $_getSZ(1); @$pb.TagNumber(8) @@ -1494,10 +1262,10 @@ class FileOptions extends $pb.GeneratedMessage { @$pb.TagNumber(9) void clearOptimizeFor() => $_clearField(9); - /// If enabled, then the Java code generator will generate a separate .java + /// If set true, then the Java code generator will generate a separate .java /// file for each top-level message, enum, and service defined in the .proto - /// file. Thus, these types will *not* be nested inside the wrapper class - /// named by java_outer_classname. However, the wrapper class will still be + /// file. Thus, these types will *not* be nested inside the outer class + /// named by java_outer_classname. However, the outer class will still be /// generated to contain the file's getDescriptor() method as well as any /// top-level extensions defined in the file. @$pb.TagNumber(10) @@ -1587,16 +1355,12 @@ class FileOptions extends $pb.GeneratedMessage { @$pb.TagNumber(23) void clearDeprecated() => $_clearField(23); - /// A proto2 file can set this to true to opt in to UTF-8 checking for Java, - /// which will throw an exception if invalid UTF-8 is parsed from the wire or - /// assigned to a string field. - /// - /// TODO: clarify exactly what kinds of field types this option - /// applies to, and update these docs accordingly. - /// - /// Proto3 files already perform these checks. Setting the option explicitly to - /// false has no effect: it cannot be used to opt proto3 files out of UTF-8 - /// checks. + /// If set true, then the Java2 code generator will generate code that + /// throws an exception whenever an attempt is made to assign a non-UTF-8 + /// byte sequence to a string field. + /// Message reflection will do the same. + /// However, an extension field still accepts non-UTF-8 byte sequences. + /// This option has no effect on when used with the lite runtime. @$pb.TagNumber(27) $core.bool get javaStringCheckUtf8 => $_getBF(10); @$pb.TagNumber(27) @@ -1609,7 +1373,7 @@ class FileOptions extends $pb.GeneratedMessage { /// Enables the use of arenas for the proto messages in this file. This applies /// only to generated classes for C++. @$pb.TagNumber(31) - $core.bool get ccEnableArenas => $_getB(11, true); + $core.bool get ccEnableArenas => $_getBF(11); @$pb.TagNumber(31) set ccEnableArenas($core.bool value) => $_setBool(11, value); @$pb.TagNumber(31) @@ -1674,15 +1438,24 @@ class FileOptions extends $pb.GeneratedMessage { @$pb.TagNumber(41) void clearPhpNamespace() => $_clearField(41); + @$pb.TagNumber(42) + $core.bool get phpGenericServices => $_getBF(17); + @$pb.TagNumber(42) + set phpGenericServices($core.bool value) => $_setBool(17, value); + @$pb.TagNumber(42) + $core.bool hasPhpGenericServices() => $_has(17); + @$pb.TagNumber(42) + void clearPhpGenericServices() => $_clearField(42); + /// Use this option to change the namespace of php generated metadata classes. /// Default is empty. When this option is empty, the proto file name will be /// used for determining the namespace. @$pb.TagNumber(44) - $core.String get phpMetadataNamespace => $_getSZ(17); + $core.String get phpMetadataNamespace => $_getSZ(18); @$pb.TagNumber(44) - set phpMetadataNamespace($core.String value) => $_setString(17, value); + set phpMetadataNamespace($core.String value) => $_setString(18, value); @$pb.TagNumber(44) - $core.bool hasPhpMetadataNamespace() => $_has(17); + $core.bool hasPhpMetadataNamespace() => $_has(18); @$pb.TagNumber(44) void clearPhpMetadataNamespace() => $_clearField(44); @@ -1690,29 +1463,14 @@ class FileOptions extends $pb.GeneratedMessage { /// is empty. When this option is not set, the package name will be used for /// determining the ruby package. @$pb.TagNumber(45) - $core.String get rubyPackage => $_getSZ(18); + $core.String get rubyPackage => $_getSZ(19); @$pb.TagNumber(45) - set rubyPackage($core.String value) => $_setString(18, value); + set rubyPackage($core.String value) => $_setString(19, value); @$pb.TagNumber(45) - $core.bool hasRubyPackage() => $_has(18); + $core.bool hasRubyPackage() => $_has(19); @$pb.TagNumber(45) void clearRubyPackage() => $_clearField(45); - /// Any features defined in the specific edition. - /// WARNING: This field should only be used by protobuf plugins or special - /// cases like the proto compiler. Other uses are discouraged and - /// developers should rely on the protoreflect APIs for their client language. - @$pb.TagNumber(50) - FeatureSet get features => $_getN(19); - @$pb.TagNumber(50) - set features(FeatureSet value) => $_setField(50, value); - @$pb.TagNumber(50) - $core.bool hasFeatures() => $_has(19); - @$pb.TagNumber(50) - void clearFeatures() => $_clearField(50); - @$pb.TagNumber(50) - FeatureSet ensureFeatures() => $_ensure(19); - /// The parser stores options it doesn't recognize here. /// See the documentation for the "Options" section above. @$pb.TagNumber(999) @@ -1725,9 +1483,6 @@ class MessageOptions extends $pb.GeneratedMessage { $core.bool? noStandardDescriptorAccessor, $core.bool? deprecated, $core.bool? mapEntry, - @$core.Deprecated('This field is deprecated.') - $core.bool? deprecatedLegacyJsonFieldConflicts, - FeatureSet? features, $core.Iterable? uninterpretedOption, }) { final result = create(); @@ -1735,8 +1490,6 @@ class MessageOptions extends $pb.GeneratedMessage { if (noStandardDescriptorAccessor != null) result.noStandardDescriptorAccessor = noStandardDescriptorAccessor; if (deprecated != null) result.deprecated = deprecated; if (mapEntry != null) result.mapEntry = mapEntry; - if (deprecatedLegacyJsonFieldConflicts != null) result.deprecatedLegacyJsonFieldConflicts = deprecatedLegacyJsonFieldConflicts; - if (features != null) result.features = features; if (uninterpretedOption != null) result.uninterpretedOption.addAll(uninterpretedOption); return result; } @@ -1751,8 +1504,6 @@ class MessageOptions extends $pb.GeneratedMessage { ..aOB(2, _omitFieldNames ? '' : 'noStandardDescriptorAccessor') ..aOB(3, _omitFieldNames ? '' : 'deprecated') ..aOB(7, _omitFieldNames ? '' : 'mapEntry') - ..aOB(11, _omitFieldNames ? '' : 'deprecatedLegacyJsonFieldConflicts') - ..aOM(12, _omitFieldNames ? '' : 'features', subBuilder: FeatureSet.create) ..pc(999, _omitFieldNames ? '' : 'uninterpretedOption', $pb.PbFieldType.PM, subBuilder: UninterpretedOption.create) ..hasExtensions = true ; @@ -1856,212 +1607,9 @@ class MessageOptions extends $pb.GeneratedMessage { @$pb.TagNumber(7) void clearMapEntry() => $_clearField(7); - /// Enable the legacy handling of JSON field name conflicts. This lowercases - /// and strips underscored from the fields before comparison in proto3 only. - /// The new behavior takes `json_name` into account and applies to proto2 as - /// well. - /// - /// This should only be used as a temporary measure against broken builds due - /// to the change in behavior for JSON field name conflicts. - /// - /// TODO This is legacy behavior we plan to remove once downstream - /// teams have had time to migrate. - @$core.Deprecated('This field is deprecated.') - @$pb.TagNumber(11) - $core.bool get deprecatedLegacyJsonFieldConflicts => $_getBF(4); - @$core.Deprecated('This field is deprecated.') - @$pb.TagNumber(11) - set deprecatedLegacyJsonFieldConflicts($core.bool value) => $_setBool(4, value); - @$core.Deprecated('This field is deprecated.') - @$pb.TagNumber(11) - $core.bool hasDeprecatedLegacyJsonFieldConflicts() => $_has(4); - @$core.Deprecated('This field is deprecated.') - @$pb.TagNumber(11) - void clearDeprecatedLegacyJsonFieldConflicts() => $_clearField(11); - - /// Any features defined in the specific edition. - /// WARNING: This field should only be used by protobuf plugins or special - /// cases like the proto compiler. Other uses are discouraged and - /// developers should rely on the protoreflect APIs for their client language. - @$pb.TagNumber(12) - FeatureSet get features => $_getN(5); - @$pb.TagNumber(12) - set features(FeatureSet value) => $_setField(12, value); - @$pb.TagNumber(12) - $core.bool hasFeatures() => $_has(5); - @$pb.TagNumber(12) - void clearFeatures() => $_clearField(12); - @$pb.TagNumber(12) - FeatureSet ensureFeatures() => $_ensure(5); - /// The parser stores options it doesn't recognize here. See above. @$pb.TagNumber(999) - $pb.PbList get uninterpretedOption => $_getList(6); -} - -class FieldOptions_EditionDefault extends $pb.GeneratedMessage { - factory FieldOptions_EditionDefault({ - $core.String? value, - Edition? edition, - }) { - final result = create(); - if (value != null) result.value = value; - if (edition != null) result.edition = edition; - return result; - } - - FieldOptions_EditionDefault._(); - - factory FieldOptions_EditionDefault.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory FieldOptions_EditionDefault.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'FieldOptions.EditionDefault', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create) - ..aOS(2, _omitFieldNames ? '' : 'value') - ..e(3, _omitFieldNames ? '' : 'edition', $pb.PbFieldType.OE, defaultOrMaker: Edition.EDITION_UNKNOWN, valueOf: Edition.valueOf, enumValues: Edition.values) - ..hasRequiredFields = false - ; - - @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - FieldOptions_EditionDefault clone() => FieldOptions_EditionDefault()..mergeFromMessage(this); - @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - FieldOptions_EditionDefault copyWith(void Function(FieldOptions_EditionDefault) updates) => super.copyWith((message) => updates(message as FieldOptions_EditionDefault)) as FieldOptions_EditionDefault; - - @$core.override - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static FieldOptions_EditionDefault create() => FieldOptions_EditionDefault._(); - @$core.override - FieldOptions_EditionDefault createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static FieldOptions_EditionDefault getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static FieldOptions_EditionDefault? _defaultInstance; - - @$pb.TagNumber(2) - $core.String get value => $_getSZ(0); - @$pb.TagNumber(2) - set value($core.String value) => $_setString(0, value); - @$pb.TagNumber(2) - $core.bool hasValue() => $_has(0); - @$pb.TagNumber(2) - void clearValue() => $_clearField(2); - - @$pb.TagNumber(3) - Edition get edition => $_getN(1); - @$pb.TagNumber(3) - set edition(Edition value) => $_setField(3, value); - @$pb.TagNumber(3) - $core.bool hasEdition() => $_has(1); - @$pb.TagNumber(3) - void clearEdition() => $_clearField(3); -} - -/// Information about the support window of a feature. -class FieldOptions_FeatureSupport extends $pb.GeneratedMessage { - factory FieldOptions_FeatureSupport({ - Edition? editionIntroduced, - Edition? editionDeprecated, - $core.String? deprecationWarning, - Edition? editionRemoved, - $core.String? removalError, - }) { - final result = create(); - if (editionIntroduced != null) result.editionIntroduced = editionIntroduced; - if (editionDeprecated != null) result.editionDeprecated = editionDeprecated; - if (deprecationWarning != null) result.deprecationWarning = deprecationWarning; - if (editionRemoved != null) result.editionRemoved = editionRemoved; - if (removalError != null) result.removalError = removalError; - return result; - } - - FieldOptions_FeatureSupport._(); - - factory FieldOptions_FeatureSupport.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory FieldOptions_FeatureSupport.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'FieldOptions.FeatureSupport', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create) - ..e(1, _omitFieldNames ? '' : 'editionIntroduced', $pb.PbFieldType.OE, defaultOrMaker: Edition.EDITION_UNKNOWN, valueOf: Edition.valueOf, enumValues: Edition.values) - ..e(2, _omitFieldNames ? '' : 'editionDeprecated', $pb.PbFieldType.OE, defaultOrMaker: Edition.EDITION_UNKNOWN, valueOf: Edition.valueOf, enumValues: Edition.values) - ..aOS(3, _omitFieldNames ? '' : 'deprecationWarning') - ..e(4, _omitFieldNames ? '' : 'editionRemoved', $pb.PbFieldType.OE, defaultOrMaker: Edition.EDITION_UNKNOWN, valueOf: Edition.valueOf, enumValues: Edition.values) - ..aOS(5, _omitFieldNames ? '' : 'removalError') - ..hasRequiredFields = false - ; - - @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - FieldOptions_FeatureSupport clone() => FieldOptions_FeatureSupport()..mergeFromMessage(this); - @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - FieldOptions_FeatureSupport copyWith(void Function(FieldOptions_FeatureSupport) updates) => super.copyWith((message) => updates(message as FieldOptions_FeatureSupport)) as FieldOptions_FeatureSupport; - - @$core.override - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static FieldOptions_FeatureSupport create() => FieldOptions_FeatureSupport._(); - @$core.override - FieldOptions_FeatureSupport createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static FieldOptions_FeatureSupport getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static FieldOptions_FeatureSupport? _defaultInstance; - - /// The edition that this feature was first available in. In editions - /// earlier than this one, the default assigned to EDITION_LEGACY will be - /// used, and proto files will not be able to override it. - @$pb.TagNumber(1) - Edition get editionIntroduced => $_getN(0); - @$pb.TagNumber(1) - set editionIntroduced(Edition value) => $_setField(1, value); - @$pb.TagNumber(1) - $core.bool hasEditionIntroduced() => $_has(0); - @$pb.TagNumber(1) - void clearEditionIntroduced() => $_clearField(1); - - /// The edition this feature becomes deprecated in. Using this after this - /// edition may trigger warnings. - @$pb.TagNumber(2) - Edition get editionDeprecated => $_getN(1); - @$pb.TagNumber(2) - set editionDeprecated(Edition value) => $_setField(2, value); - @$pb.TagNumber(2) - $core.bool hasEditionDeprecated() => $_has(1); - @$pb.TagNumber(2) - void clearEditionDeprecated() => $_clearField(2); - - /// The deprecation warning text if this feature is used after the edition it - /// was marked deprecated in. - @$pb.TagNumber(3) - $core.String get deprecationWarning => $_getSZ(2); - @$pb.TagNumber(3) - set deprecationWarning($core.String value) => $_setString(2, value); - @$pb.TagNumber(3) - $core.bool hasDeprecationWarning() => $_has(2); - @$pb.TagNumber(3) - void clearDeprecationWarning() => $_clearField(3); - - /// The edition this feature is no longer available in. In editions after - /// this one, the last default assigned will be used, and proto files will - /// not be able to override it. - @$pb.TagNumber(4) - Edition get editionRemoved => $_getN(3); - @$pb.TagNumber(4) - set editionRemoved(Edition value) => $_setField(4, value); - @$pb.TagNumber(4) - $core.bool hasEditionRemoved() => $_has(3); - @$pb.TagNumber(4) - void clearEditionRemoved() => $_clearField(4); - - /// The removal error text if this feature is used after the edition it was - /// removed in. - @$pb.TagNumber(5) - $core.String get removalError => $_getSZ(4); - @$pb.TagNumber(5) - set removalError($core.String value) => $_setString(4, value); - @$pb.TagNumber(5) - $core.bool hasRemovalError() => $_has(4); - @$pb.TagNumber(5) - void clearRemovalError() => $_clearField(5); + $pb.PbList get uninterpretedOption => $_getList(4); } class FieldOptions extends $pb.GeneratedMessage { @@ -2071,15 +1619,7 @@ class FieldOptions extends $pb.GeneratedMessage { $core.bool? deprecated, $core.bool? lazy, FieldOptions_JSType? jstype, - @$core.Deprecated('This field is deprecated.') $core.bool? weak, - $core.bool? unverifiedLazy, - $core.bool? debugRedact, - FieldOptions_OptionRetention? retention, - $core.Iterable? targets, - $core.Iterable? editionDefaults, - FeatureSet? features, - FieldOptions_FeatureSupport? featureSupport, $core.Iterable? uninterpretedOption, }) { final result = create(); @@ -2089,13 +1629,6 @@ class FieldOptions extends $pb.GeneratedMessage { if (lazy != null) result.lazy = lazy; if (jstype != null) result.jstype = jstype; if (weak != null) result.weak = weak; - if (unverifiedLazy != null) result.unverifiedLazy = unverifiedLazy; - if (debugRedact != null) result.debugRedact = debugRedact; - if (retention != null) result.retention = retention; - if (targets != null) result.targets.addAll(targets); - if (editionDefaults != null) result.editionDefaults.addAll(editionDefaults); - if (features != null) result.features = features; - if (featureSupport != null) result.featureSupport = featureSupport; if (uninterpretedOption != null) result.uninterpretedOption.addAll(uninterpretedOption); return result; } @@ -2112,13 +1645,6 @@ class FieldOptions extends $pb.GeneratedMessage { ..aOB(5, _omitFieldNames ? '' : 'lazy') ..e(6, _omitFieldNames ? '' : 'jstype', $pb.PbFieldType.OE, defaultOrMaker: FieldOptions_JSType.JS_NORMAL, valueOf: FieldOptions_JSType.valueOf, enumValues: FieldOptions_JSType.values) ..aOB(10, _omitFieldNames ? '' : 'weak') - ..aOB(15, _omitFieldNames ? '' : 'unverifiedLazy') - ..aOB(16, _omitFieldNames ? '' : 'debugRedact') - ..e(17, _omitFieldNames ? '' : 'retention', $pb.PbFieldType.OE, defaultOrMaker: FieldOptions_OptionRetention.RETENTION_UNKNOWN, valueOf: FieldOptions_OptionRetention.valueOf, enumValues: FieldOptions_OptionRetention.values) - ..pc(19, _omitFieldNames ? '' : 'targets', $pb.PbFieldType.PE, valueOf: FieldOptions_OptionTargetType.valueOf, enumValues: FieldOptions_OptionTargetType.values, defaultEnumValue: FieldOptions_OptionTargetType.TARGET_TYPE_UNKNOWN) - ..pc(20, _omitFieldNames ? '' : 'editionDefaults', $pb.PbFieldType.PM, subBuilder: FieldOptions_EditionDefault.create) - ..aOM(21, _omitFieldNames ? '' : 'features', subBuilder: FeatureSet.create) - ..aOM(22, _omitFieldNames ? '' : 'featureSupport', subBuilder: FieldOptions_FeatureSupport.create) ..pc(999, _omitFieldNames ? '' : 'uninterpretedOption', $pb.PbFieldType.PM, subBuilder: UninterpretedOption.create) ..hasExtensions = true ; @@ -2140,13 +1666,10 @@ class FieldOptions extends $pb.GeneratedMessage { static FieldOptions getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static FieldOptions? _defaultInstance; - /// NOTE: ctype is deprecated. Use `features.(pb.cpp).string_type` instead. /// The ctype option instructs the C++ code generator to use a different /// representation of the field than it normally would. See the specific - /// options below. This option is only implemented to support use of - /// [ctype=CORD] and [ctype=STRING] (the default) on non-repeated fields of - /// type "bytes" in the open source release. - /// TODO: make ctype actually deprecated. + /// options below. This option is not yet implemented in the open source + /// release -- sorry, we'll try to include it in a future version! @$pb.TagNumber(1) FieldOptions_CType get ctype => $_getN(0); @$pb.TagNumber(1) @@ -2160,9 +1683,7 @@ class FieldOptions extends $pb.GeneratedMessage { /// a more efficient representation on the wire. Rather than repeatedly /// writing the tag and type for each element, the entire array is encoded as /// a single length-delimited blob. In proto3, only explicit setting it to - /// false will avoid using packed encoding. This option is prohibited in - /// Editions, but the `repeated_field_encoding` feature can be used to control - /// the behavior. + /// false will avoid using packed encoding. @$pb.TagNumber(2) $core.bool get packed => $_getBF(1); @$pb.TagNumber(2) @@ -2202,11 +1723,17 @@ class FieldOptions extends $pb.GeneratedMessage { /// call from multiple threads concurrently, while non-const methods continue /// to require exclusive access. /// - /// Note that lazy message fields are still eagerly verified to check - /// ill-formed wireformat or missing required fields. Calling IsInitialized() - /// on the outer message would fail if the inner message has missing required - /// fields. Failed verification would result in parsing failure (except when - /// uninitialized messages are acceptable). + /// + /// Note that implementations may choose not to check required fields within + /// a lazy sub-message. That is, calling IsInitialized() on the outer message + /// may return true even if the inner message has missing required fields. + /// This is necessary because otherwise the inner message would have to be + /// parsed in order to perform the check, defeating the purpose of lazy + /// parsing. An implementation which chooses not to check required fields + /// must be consistent about it. That is, for any particular sub-message, the + /// implementation must either *always* check its required fields, or *never* + /// check its required fields, regardless of whether or not the message has + /// been parsed. @$pb.TagNumber(5) $core.bool get lazy => $_getBF(3); @$pb.TagNumber(5) @@ -2236,97 +1763,26 @@ class FieldOptions extends $pb.GeneratedMessage { @$pb.TagNumber(6) void clearJstype() => $_clearField(6); - /// DEPRECATED. DO NOT USE! /// For Google-internal migration only. Do not use. - @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(10) $core.bool get weak => $_getBF(5); - @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(10) set weak($core.bool value) => $_setBool(5, value); - @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(10) $core.bool hasWeak() => $_has(5); - @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(10) void clearWeak() => $_clearField(10); - /// unverified_lazy does no correctness checks on the byte stream. This should - /// only be used where lazy with verification is prohibitive for performance - /// reasons. - @$pb.TagNumber(15) - $core.bool get unverifiedLazy => $_getBF(6); - @$pb.TagNumber(15) - set unverifiedLazy($core.bool value) => $_setBool(6, value); - @$pb.TagNumber(15) - $core.bool hasUnverifiedLazy() => $_has(6); - @$pb.TagNumber(15) - void clearUnverifiedLazy() => $_clearField(15); - - /// Indicate that the field value should not be printed out when using debug - /// formats, e.g. when the field contains sensitive credentials. - @$pb.TagNumber(16) - $core.bool get debugRedact => $_getBF(7); - @$pb.TagNumber(16) - set debugRedact($core.bool value) => $_setBool(7, value); - @$pb.TagNumber(16) - $core.bool hasDebugRedact() => $_has(7); - @$pb.TagNumber(16) - void clearDebugRedact() => $_clearField(16); - - @$pb.TagNumber(17) - FieldOptions_OptionRetention get retention => $_getN(8); - @$pb.TagNumber(17) - set retention(FieldOptions_OptionRetention value) => $_setField(17, value); - @$pb.TagNumber(17) - $core.bool hasRetention() => $_has(8); - @$pb.TagNumber(17) - void clearRetention() => $_clearField(17); - - @$pb.TagNumber(19) - $pb.PbList get targets => $_getList(9); - - @$pb.TagNumber(20) - $pb.PbList get editionDefaults => $_getList(10); - - /// Any features defined in the specific edition. - /// WARNING: This field should only be used by protobuf plugins or special - /// cases like the proto compiler. Other uses are discouraged and - /// developers should rely on the protoreflect APIs for their client language. - @$pb.TagNumber(21) - FeatureSet get features => $_getN(11); - @$pb.TagNumber(21) - set features(FeatureSet value) => $_setField(21, value); - @$pb.TagNumber(21) - $core.bool hasFeatures() => $_has(11); - @$pb.TagNumber(21) - void clearFeatures() => $_clearField(21); - @$pb.TagNumber(21) - FeatureSet ensureFeatures() => $_ensure(11); - - @$pb.TagNumber(22) - FieldOptions_FeatureSupport get featureSupport => $_getN(12); - @$pb.TagNumber(22) - set featureSupport(FieldOptions_FeatureSupport value) => $_setField(22, value); - @$pb.TagNumber(22) - $core.bool hasFeatureSupport() => $_has(12); - @$pb.TagNumber(22) - void clearFeatureSupport() => $_clearField(22); - @$pb.TagNumber(22) - FieldOptions_FeatureSupport ensureFeatureSupport() => $_ensure(12); - /// The parser stores options it doesn't recognize here. See above. @$pb.TagNumber(999) - $pb.PbList get uninterpretedOption => $_getList(13); + $pb.PbList get uninterpretedOption => $_getList(6); } class OneofOptions extends $pb.GeneratedMessage { factory OneofOptions({ - FeatureSet? features, $core.Iterable? uninterpretedOption, }) { final result = create(); - if (features != null) result.features = features; if (uninterpretedOption != null) result.uninterpretedOption.addAll(uninterpretedOption); return result; } @@ -2337,7 +1793,6 @@ class OneofOptions extends $pb.GeneratedMessage { factory OneofOptions.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OneofOptions', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create) - ..aOM(1, _omitFieldNames ? '' : 'features', subBuilder: FeatureSet.create) ..pc(999, _omitFieldNames ? '' : 'uninterpretedOption', $pb.PbFieldType.PM, subBuilder: UninterpretedOption.create) ..hasExtensions = true ; @@ -2359,40 +1814,20 @@ class OneofOptions extends $pb.GeneratedMessage { static OneofOptions getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static OneofOptions? _defaultInstance; - /// Any features defined in the specific edition. - /// WARNING: This field should only be used by protobuf plugins or special - /// cases like the proto compiler. Other uses are discouraged and - /// developers should rely on the protoreflect APIs for their client language. - @$pb.TagNumber(1) - FeatureSet get features => $_getN(0); - @$pb.TagNumber(1) - set features(FeatureSet value) => $_setField(1, value); - @$pb.TagNumber(1) - $core.bool hasFeatures() => $_has(0); - @$pb.TagNumber(1) - void clearFeatures() => $_clearField(1); - @$pb.TagNumber(1) - FeatureSet ensureFeatures() => $_ensure(0); - /// The parser stores options it doesn't recognize here. See above. @$pb.TagNumber(999) - $pb.PbList get uninterpretedOption => $_getList(1); + $pb.PbList get uninterpretedOption => $_getList(0); } class EnumOptions extends $pb.GeneratedMessage { factory EnumOptions({ $core.bool? allowAlias, $core.bool? deprecated, - @$core.Deprecated('This field is deprecated.') - $core.bool? deprecatedLegacyJsonFieldConflicts, - FeatureSet? features, $core.Iterable? uninterpretedOption, }) { final result = create(); if (allowAlias != null) result.allowAlias = allowAlias; if (deprecated != null) result.deprecated = deprecated; - if (deprecatedLegacyJsonFieldConflicts != null) result.deprecatedLegacyJsonFieldConflicts = deprecatedLegacyJsonFieldConflicts; - if (features != null) result.features = features; if (uninterpretedOption != null) result.uninterpretedOption.addAll(uninterpretedOption); return result; } @@ -2405,8 +1840,6 @@ class EnumOptions extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'EnumOptions', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create) ..aOB(2, _omitFieldNames ? '' : 'allowAlias') ..aOB(3, _omitFieldNames ? '' : 'deprecated') - ..aOB(6, _omitFieldNames ? '' : 'deprecatedLegacyJsonFieldConflicts') - ..aOM(7, _omitFieldNames ? '' : 'features', subBuilder: FeatureSet.create) ..pc(999, _omitFieldNames ? '' : 'uninterpretedOption', $pb.PbFieldType.PM, subBuilder: UninterpretedOption.create) ..hasExtensions = true ; @@ -2452,58 +1885,18 @@ class EnumOptions extends $pb.GeneratedMessage { @$pb.TagNumber(3) void clearDeprecated() => $_clearField(3); - /// Enable the legacy handling of JSON field name conflicts. This lowercases - /// and strips underscored from the fields before comparison in proto3 only. - /// The new behavior takes `json_name` into account and applies to proto2 as - /// well. - /// TODO Remove this legacy behavior once downstream teams have - /// had time to migrate. - @$core.Deprecated('This field is deprecated.') - @$pb.TagNumber(6) - $core.bool get deprecatedLegacyJsonFieldConflicts => $_getBF(2); - @$core.Deprecated('This field is deprecated.') - @$pb.TagNumber(6) - set deprecatedLegacyJsonFieldConflicts($core.bool value) => $_setBool(2, value); - @$core.Deprecated('This field is deprecated.') - @$pb.TagNumber(6) - $core.bool hasDeprecatedLegacyJsonFieldConflicts() => $_has(2); - @$core.Deprecated('This field is deprecated.') - @$pb.TagNumber(6) - void clearDeprecatedLegacyJsonFieldConflicts() => $_clearField(6); - - /// Any features defined in the specific edition. - /// WARNING: This field should only be used by protobuf plugins or special - /// cases like the proto compiler. Other uses are discouraged and - /// developers should rely on the protoreflect APIs for their client language. - @$pb.TagNumber(7) - FeatureSet get features => $_getN(3); - @$pb.TagNumber(7) - set features(FeatureSet value) => $_setField(7, value); - @$pb.TagNumber(7) - $core.bool hasFeatures() => $_has(3); - @$pb.TagNumber(7) - void clearFeatures() => $_clearField(7); - @$pb.TagNumber(7) - FeatureSet ensureFeatures() => $_ensure(3); - /// The parser stores options it doesn't recognize here. See above. @$pb.TagNumber(999) - $pb.PbList get uninterpretedOption => $_getList(4); + $pb.PbList get uninterpretedOption => $_getList(2); } class EnumValueOptions extends $pb.GeneratedMessage { factory EnumValueOptions({ $core.bool? deprecated, - FeatureSet? features, - $core.bool? debugRedact, - FieldOptions_FeatureSupport? featureSupport, $core.Iterable? uninterpretedOption, }) { final result = create(); if (deprecated != null) result.deprecated = deprecated; - if (features != null) result.features = features; - if (debugRedact != null) result.debugRedact = debugRedact; - if (featureSupport != null) result.featureSupport = featureSupport; if (uninterpretedOption != null) result.uninterpretedOption.addAll(uninterpretedOption); return result; } @@ -2515,9 +1908,6 @@ class EnumValueOptions extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'EnumValueOptions', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create) ..aOB(1, _omitFieldNames ? '' : 'deprecated') - ..aOM(2, _omitFieldNames ? '' : 'features', subBuilder: FeatureSet.create) - ..aOB(3, _omitFieldNames ? '' : 'debugRedact') - ..aOM(4, _omitFieldNames ? '' : 'featureSupport', subBuilder: FieldOptions_FeatureSupport.create) ..pc(999, _omitFieldNames ? '' : 'uninterpretedOption', $pb.PbFieldType.PM, subBuilder: UninterpretedOption.create) ..hasExtensions = true ; @@ -2552,59 +1942,18 @@ class EnumValueOptions extends $pb.GeneratedMessage { @$pb.TagNumber(1) void clearDeprecated() => $_clearField(1); - /// Any features defined in the specific edition. - /// WARNING: This field should only be used by protobuf plugins or special - /// cases like the proto compiler. Other uses are discouraged and - /// developers should rely on the protoreflect APIs for their client language. - @$pb.TagNumber(2) - FeatureSet get features => $_getN(1); - @$pb.TagNumber(2) - set features(FeatureSet value) => $_setField(2, value); - @$pb.TagNumber(2) - $core.bool hasFeatures() => $_has(1); - @$pb.TagNumber(2) - void clearFeatures() => $_clearField(2); - @$pb.TagNumber(2) - FeatureSet ensureFeatures() => $_ensure(1); - - /// Indicate that fields annotated with this enum value should not be printed - /// out when using debug formats, e.g. when the field contains sensitive - /// credentials. - @$pb.TagNumber(3) - $core.bool get debugRedact => $_getBF(2); - @$pb.TagNumber(3) - set debugRedact($core.bool value) => $_setBool(2, value); - @$pb.TagNumber(3) - $core.bool hasDebugRedact() => $_has(2); - @$pb.TagNumber(3) - void clearDebugRedact() => $_clearField(3); - - /// Information about the support window of a feature value. - @$pb.TagNumber(4) - FieldOptions_FeatureSupport get featureSupport => $_getN(3); - @$pb.TagNumber(4) - set featureSupport(FieldOptions_FeatureSupport value) => $_setField(4, value); - @$pb.TagNumber(4) - $core.bool hasFeatureSupport() => $_has(3); - @$pb.TagNumber(4) - void clearFeatureSupport() => $_clearField(4); - @$pb.TagNumber(4) - FieldOptions_FeatureSupport ensureFeatureSupport() => $_ensure(3); - /// The parser stores options it doesn't recognize here. See above. @$pb.TagNumber(999) - $pb.PbList get uninterpretedOption => $_getList(4); + $pb.PbList get uninterpretedOption => $_getList(1); } class ServiceOptions extends $pb.GeneratedMessage { factory ServiceOptions({ $core.bool? deprecated, - FeatureSet? features, $core.Iterable? uninterpretedOption, }) { final result = create(); if (deprecated != null) result.deprecated = deprecated; - if (features != null) result.features = features; if (uninterpretedOption != null) result.uninterpretedOption.addAll(uninterpretedOption); return result; } @@ -2616,7 +1965,6 @@ class ServiceOptions extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ServiceOptions', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create) ..aOB(33, _omitFieldNames ? '' : 'deprecated') - ..aOM(34, _omitFieldNames ? '' : 'features', subBuilder: FeatureSet.create) ..pc(999, _omitFieldNames ? '' : 'uninterpretedOption', $pb.PbFieldType.PM, subBuilder: UninterpretedOption.create) ..hasExtensions = true ; @@ -2651,37 +1999,20 @@ class ServiceOptions extends $pb.GeneratedMessage { @$pb.TagNumber(33) void clearDeprecated() => $_clearField(33); - /// Any features defined in the specific edition. - /// WARNING: This field should only be used by protobuf plugins or special - /// cases like the proto compiler. Other uses are discouraged and - /// developers should rely on the protoreflect APIs for their client language. - @$pb.TagNumber(34) - FeatureSet get features => $_getN(1); - @$pb.TagNumber(34) - set features(FeatureSet value) => $_setField(34, value); - @$pb.TagNumber(34) - $core.bool hasFeatures() => $_has(1); - @$pb.TagNumber(34) - void clearFeatures() => $_clearField(34); - @$pb.TagNumber(34) - FeatureSet ensureFeatures() => $_ensure(1); - /// The parser stores options it doesn't recognize here. See above. @$pb.TagNumber(999) - $pb.PbList get uninterpretedOption => $_getList(2); + $pb.PbList get uninterpretedOption => $_getList(1); } class MethodOptions extends $pb.GeneratedMessage { factory MethodOptions({ $core.bool? deprecated, MethodOptions_IdempotencyLevel? idempotencyLevel, - FeatureSet? features, $core.Iterable? uninterpretedOption, }) { final result = create(); if (deprecated != null) result.deprecated = deprecated; if (idempotencyLevel != null) result.idempotencyLevel = idempotencyLevel; - if (features != null) result.features = features; if (uninterpretedOption != null) result.uninterpretedOption.addAll(uninterpretedOption); return result; } @@ -2694,7 +2025,6 @@ class MethodOptions extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'MethodOptions', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create) ..aOB(33, _omitFieldNames ? '' : 'deprecated') ..e(34, _omitFieldNames ? '' : 'idempotencyLevel', $pb.PbFieldType.OE, defaultOrMaker: MethodOptions_IdempotencyLevel.IDEMPOTENCY_UNKNOWN, valueOf: MethodOptions_IdempotencyLevel.valueOf, enumValues: MethodOptions_IdempotencyLevel.values) - ..aOM(35, _omitFieldNames ? '' : 'features', subBuilder: FeatureSet.create) ..pc(999, _omitFieldNames ? '' : 'uninterpretedOption', $pb.PbFieldType.PM, subBuilder: UninterpretedOption.create) ..hasExtensions = true ; @@ -2738,31 +2068,16 @@ class MethodOptions extends $pb.GeneratedMessage { @$pb.TagNumber(34) void clearIdempotencyLevel() => $_clearField(34); - /// Any features defined in the specific edition. - /// WARNING: This field should only be used by protobuf plugins or special - /// cases like the proto compiler. Other uses are discouraged and - /// developers should rely on the protoreflect APIs for their client language. - @$pb.TagNumber(35) - FeatureSet get features => $_getN(2); - @$pb.TagNumber(35) - set features(FeatureSet value) => $_setField(35, value); - @$pb.TagNumber(35) - $core.bool hasFeatures() => $_has(2); - @$pb.TagNumber(35) - void clearFeatures() => $_clearField(35); - @$pb.TagNumber(35) - FeatureSet ensureFeatures() => $_ensure(2); - /// The parser stores options it doesn't recognize here. See above. @$pb.TagNumber(999) - $pb.PbList get uninterpretedOption => $_getList(3); + $pb.PbList get uninterpretedOption => $_getList(2); } /// The name of the uninterpreted option. Each string represents a segment in /// a dot-separated name. is_extension is true iff a segment represents an /// extension (denoted with parentheses in options specs in .proto files). -/// E.g.,{ ["foo", false], ["bar.baz", true], ["moo", false] } represents -/// "foo.(bar.baz).moo". +/// E.g.,{ ["foo", false], ["bar.baz", true], ["qux", false] } represents +/// "foo.(bar.baz).qux". class UninterpretedOption_NamePart extends $pb.GeneratedMessage { factory UninterpretedOption_NamePart({ $core.String? namePart, @@ -2939,322 +2254,6 @@ class UninterpretedOption extends $pb.GeneratedMessage { void clearAggregateValue() => $_clearField(8); } -class FeatureSet_VisibilityFeature extends $pb.GeneratedMessage { - factory FeatureSet_VisibilityFeature() => create(); - - FeatureSet_VisibilityFeature._(); - - factory FeatureSet_VisibilityFeature.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory FeatureSet_VisibilityFeature.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'FeatureSet.VisibilityFeature', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - FeatureSet_VisibilityFeature clone() => FeatureSet_VisibilityFeature()..mergeFromMessage(this); - @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - FeatureSet_VisibilityFeature copyWith(void Function(FeatureSet_VisibilityFeature) updates) => super.copyWith((message) => updates(message as FeatureSet_VisibilityFeature)) as FeatureSet_VisibilityFeature; - - @$core.override - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static FeatureSet_VisibilityFeature create() => FeatureSet_VisibilityFeature._(); - @$core.override - FeatureSet_VisibilityFeature createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static FeatureSet_VisibilityFeature getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static FeatureSet_VisibilityFeature? _defaultInstance; -} - -/// TODO Enums in C++ gencode (and potentially other languages) are -/// not well scoped. This means that each of the feature enums below can clash -/// with each other. The short names we've chosen maximize call-site -/// readability, but leave us very open to this scenario. A future feature will -/// be designed and implemented to handle this, hopefully before we ever hit a -/// conflict here. -class FeatureSet extends $pb.GeneratedMessage { - factory FeatureSet({ - FeatureSet_FieldPresence? fieldPresence, - FeatureSet_EnumType? enumType, - FeatureSet_RepeatedFieldEncoding? repeatedFieldEncoding, - FeatureSet_Utf8Validation? utf8Validation, - FeatureSet_MessageEncoding? messageEncoding, - FeatureSet_JsonFormat? jsonFormat, - FeatureSet_EnforceNamingStyle? enforceNamingStyle, - FeatureSet_VisibilityFeature_DefaultSymbolVisibility? defaultSymbolVisibility, - }) { - final result = create(); - if (fieldPresence != null) result.fieldPresence = fieldPresence; - if (enumType != null) result.enumType = enumType; - if (repeatedFieldEncoding != null) result.repeatedFieldEncoding = repeatedFieldEncoding; - if (utf8Validation != null) result.utf8Validation = utf8Validation; - if (messageEncoding != null) result.messageEncoding = messageEncoding; - if (jsonFormat != null) result.jsonFormat = jsonFormat; - if (enforceNamingStyle != null) result.enforceNamingStyle = enforceNamingStyle; - if (defaultSymbolVisibility != null) result.defaultSymbolVisibility = defaultSymbolVisibility; - return result; - } - - FeatureSet._(); - - factory FeatureSet.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory FeatureSet.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'FeatureSet', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create) - ..e(1, _omitFieldNames ? '' : 'fieldPresence', $pb.PbFieldType.OE, defaultOrMaker: FeatureSet_FieldPresence.FIELD_PRESENCE_UNKNOWN, valueOf: FeatureSet_FieldPresence.valueOf, enumValues: FeatureSet_FieldPresence.values) - ..e(2, _omitFieldNames ? '' : 'enumType', $pb.PbFieldType.OE, defaultOrMaker: FeatureSet_EnumType.ENUM_TYPE_UNKNOWN, valueOf: FeatureSet_EnumType.valueOf, enumValues: FeatureSet_EnumType.values) - ..e(3, _omitFieldNames ? '' : 'repeatedFieldEncoding', $pb.PbFieldType.OE, defaultOrMaker: FeatureSet_RepeatedFieldEncoding.REPEATED_FIELD_ENCODING_UNKNOWN, valueOf: FeatureSet_RepeatedFieldEncoding.valueOf, enumValues: FeatureSet_RepeatedFieldEncoding.values) - ..e(4, _omitFieldNames ? '' : 'utf8Validation', $pb.PbFieldType.OE, defaultOrMaker: FeatureSet_Utf8Validation.UTF8_VALIDATION_UNKNOWN, valueOf: FeatureSet_Utf8Validation.valueOf, enumValues: FeatureSet_Utf8Validation.values) - ..e(5, _omitFieldNames ? '' : 'messageEncoding', $pb.PbFieldType.OE, defaultOrMaker: FeatureSet_MessageEncoding.MESSAGE_ENCODING_UNKNOWN, valueOf: FeatureSet_MessageEncoding.valueOf, enumValues: FeatureSet_MessageEncoding.values) - ..e(6, _omitFieldNames ? '' : 'jsonFormat', $pb.PbFieldType.OE, defaultOrMaker: FeatureSet_JsonFormat.JSON_FORMAT_UNKNOWN, valueOf: FeatureSet_JsonFormat.valueOf, enumValues: FeatureSet_JsonFormat.values) - ..e(7, _omitFieldNames ? '' : 'enforceNamingStyle', $pb.PbFieldType.OE, defaultOrMaker: FeatureSet_EnforceNamingStyle.ENFORCE_NAMING_STYLE_UNKNOWN, valueOf: FeatureSet_EnforceNamingStyle.valueOf, enumValues: FeatureSet_EnforceNamingStyle.values) - ..e(8, _omitFieldNames ? '' : 'defaultSymbolVisibility', $pb.PbFieldType.OE, defaultOrMaker: FeatureSet_VisibilityFeature_DefaultSymbolVisibility.DEFAULT_SYMBOL_VISIBILITY_UNKNOWN, valueOf: FeatureSet_VisibilityFeature_DefaultSymbolVisibility.valueOf, enumValues: FeatureSet_VisibilityFeature_DefaultSymbolVisibility.values) - ..hasExtensions = true - ; - - @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - FeatureSet clone() => FeatureSet()..mergeFromMessage(this); - @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - FeatureSet copyWith(void Function(FeatureSet) updates) => super.copyWith((message) => updates(message as FeatureSet)) as FeatureSet; - - @$core.override - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static FeatureSet create() => FeatureSet._(); - @$core.override - FeatureSet createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static FeatureSet getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static FeatureSet? _defaultInstance; - - @$pb.TagNumber(1) - FeatureSet_FieldPresence get fieldPresence => $_getN(0); - @$pb.TagNumber(1) - set fieldPresence(FeatureSet_FieldPresence value) => $_setField(1, value); - @$pb.TagNumber(1) - $core.bool hasFieldPresence() => $_has(0); - @$pb.TagNumber(1) - void clearFieldPresence() => $_clearField(1); - - @$pb.TagNumber(2) - FeatureSet_EnumType get enumType => $_getN(1); - @$pb.TagNumber(2) - set enumType(FeatureSet_EnumType value) => $_setField(2, value); - @$pb.TagNumber(2) - $core.bool hasEnumType() => $_has(1); - @$pb.TagNumber(2) - void clearEnumType() => $_clearField(2); - - @$pb.TagNumber(3) - FeatureSet_RepeatedFieldEncoding get repeatedFieldEncoding => $_getN(2); - @$pb.TagNumber(3) - set repeatedFieldEncoding(FeatureSet_RepeatedFieldEncoding value) => $_setField(3, value); - @$pb.TagNumber(3) - $core.bool hasRepeatedFieldEncoding() => $_has(2); - @$pb.TagNumber(3) - void clearRepeatedFieldEncoding() => $_clearField(3); - - @$pb.TagNumber(4) - FeatureSet_Utf8Validation get utf8Validation => $_getN(3); - @$pb.TagNumber(4) - set utf8Validation(FeatureSet_Utf8Validation value) => $_setField(4, value); - @$pb.TagNumber(4) - $core.bool hasUtf8Validation() => $_has(3); - @$pb.TagNumber(4) - void clearUtf8Validation() => $_clearField(4); - - @$pb.TagNumber(5) - FeatureSet_MessageEncoding get messageEncoding => $_getN(4); - @$pb.TagNumber(5) - set messageEncoding(FeatureSet_MessageEncoding value) => $_setField(5, value); - @$pb.TagNumber(5) - $core.bool hasMessageEncoding() => $_has(4); - @$pb.TagNumber(5) - void clearMessageEncoding() => $_clearField(5); - - @$pb.TagNumber(6) - FeatureSet_JsonFormat get jsonFormat => $_getN(5); - @$pb.TagNumber(6) - set jsonFormat(FeatureSet_JsonFormat value) => $_setField(6, value); - @$pb.TagNumber(6) - $core.bool hasJsonFormat() => $_has(5); - @$pb.TagNumber(6) - void clearJsonFormat() => $_clearField(6); - - @$pb.TagNumber(7) - FeatureSet_EnforceNamingStyle get enforceNamingStyle => $_getN(6); - @$pb.TagNumber(7) - set enforceNamingStyle(FeatureSet_EnforceNamingStyle value) => $_setField(7, value); - @$pb.TagNumber(7) - $core.bool hasEnforceNamingStyle() => $_has(6); - @$pb.TagNumber(7) - void clearEnforceNamingStyle() => $_clearField(7); - - @$pb.TagNumber(8) - FeatureSet_VisibilityFeature_DefaultSymbolVisibility get defaultSymbolVisibility => $_getN(7); - @$pb.TagNumber(8) - set defaultSymbolVisibility(FeatureSet_VisibilityFeature_DefaultSymbolVisibility value) => $_setField(8, value); - @$pb.TagNumber(8) - $core.bool hasDefaultSymbolVisibility() => $_has(7); - @$pb.TagNumber(8) - void clearDefaultSymbolVisibility() => $_clearField(8); -} - -/// A map from every known edition with a unique set of defaults to its -/// defaults. Not all editions may be contained here. For a given edition, -/// the defaults at the closest matching edition ordered at or before it should -/// be used. This field must be in strict ascending order by edition. -class FeatureSetDefaults_FeatureSetEditionDefault extends $pb.GeneratedMessage { - factory FeatureSetDefaults_FeatureSetEditionDefault({ - Edition? edition, - FeatureSet? overridableFeatures, - FeatureSet? fixedFeatures, - }) { - final result = create(); - if (edition != null) result.edition = edition; - if (overridableFeatures != null) result.overridableFeatures = overridableFeatures; - if (fixedFeatures != null) result.fixedFeatures = fixedFeatures; - return result; - } - - FeatureSetDefaults_FeatureSetEditionDefault._(); - - factory FeatureSetDefaults_FeatureSetEditionDefault.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory FeatureSetDefaults_FeatureSetEditionDefault.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'FeatureSetDefaults.FeatureSetEditionDefault', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create) - ..e(3, _omitFieldNames ? '' : 'edition', $pb.PbFieldType.OE, defaultOrMaker: Edition.EDITION_UNKNOWN, valueOf: Edition.valueOf, enumValues: Edition.values) - ..aOM(4, _omitFieldNames ? '' : 'overridableFeatures', subBuilder: FeatureSet.create) - ..aOM(5, _omitFieldNames ? '' : 'fixedFeatures', subBuilder: FeatureSet.create) - ; - - @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - FeatureSetDefaults_FeatureSetEditionDefault clone() => FeatureSetDefaults_FeatureSetEditionDefault()..mergeFromMessage(this); - @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - FeatureSetDefaults_FeatureSetEditionDefault copyWith(void Function(FeatureSetDefaults_FeatureSetEditionDefault) updates) => super.copyWith((message) => updates(message as FeatureSetDefaults_FeatureSetEditionDefault)) as FeatureSetDefaults_FeatureSetEditionDefault; - - @$core.override - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static FeatureSetDefaults_FeatureSetEditionDefault create() => FeatureSetDefaults_FeatureSetEditionDefault._(); - @$core.override - FeatureSetDefaults_FeatureSetEditionDefault createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static FeatureSetDefaults_FeatureSetEditionDefault getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static FeatureSetDefaults_FeatureSetEditionDefault? _defaultInstance; - - @$pb.TagNumber(3) - Edition get edition => $_getN(0); - @$pb.TagNumber(3) - set edition(Edition value) => $_setField(3, value); - @$pb.TagNumber(3) - $core.bool hasEdition() => $_has(0); - @$pb.TagNumber(3) - void clearEdition() => $_clearField(3); - - /// Defaults of features that can be overridden in this edition. - @$pb.TagNumber(4) - FeatureSet get overridableFeatures => $_getN(1); - @$pb.TagNumber(4) - set overridableFeatures(FeatureSet value) => $_setField(4, value); - @$pb.TagNumber(4) - $core.bool hasOverridableFeatures() => $_has(1); - @$pb.TagNumber(4) - void clearOverridableFeatures() => $_clearField(4); - @$pb.TagNumber(4) - FeatureSet ensureOverridableFeatures() => $_ensure(1); - - /// Defaults of features that can't be overridden in this edition. - @$pb.TagNumber(5) - FeatureSet get fixedFeatures => $_getN(2); - @$pb.TagNumber(5) - set fixedFeatures(FeatureSet value) => $_setField(5, value); - @$pb.TagNumber(5) - $core.bool hasFixedFeatures() => $_has(2); - @$pb.TagNumber(5) - void clearFixedFeatures() => $_clearField(5); - @$pb.TagNumber(5) - FeatureSet ensureFixedFeatures() => $_ensure(2); -} - -/// A compiled specification for the defaults of a set of features. These -/// messages are generated from FeatureSet extensions and can be used to seed -/// feature resolution. The resolution with this object becomes a simple search -/// for the closest matching edition, followed by proto merges. -class FeatureSetDefaults extends $pb.GeneratedMessage { - factory FeatureSetDefaults({ - $core.Iterable? defaults, - Edition? minimumEdition, - Edition? maximumEdition, - }) { - final result = create(); - if (defaults != null) result.defaults.addAll(defaults); - if (minimumEdition != null) result.minimumEdition = minimumEdition; - if (maximumEdition != null) result.maximumEdition = maximumEdition; - return result; - } - - FeatureSetDefaults._(); - - factory FeatureSetDefaults.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); - factory FeatureSetDefaults.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'FeatureSetDefaults', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create) - ..pc(1, _omitFieldNames ? '' : 'defaults', $pb.PbFieldType.PM, subBuilder: FeatureSetDefaults_FeatureSetEditionDefault.create) - ..e(4, _omitFieldNames ? '' : 'minimumEdition', $pb.PbFieldType.OE, defaultOrMaker: Edition.EDITION_UNKNOWN, valueOf: Edition.valueOf, enumValues: Edition.values) - ..e(5, _omitFieldNames ? '' : 'maximumEdition', $pb.PbFieldType.OE, defaultOrMaker: Edition.EDITION_UNKNOWN, valueOf: Edition.valueOf, enumValues: Edition.values) - ; - - @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - FeatureSetDefaults clone() => FeatureSetDefaults()..mergeFromMessage(this); - @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') - FeatureSetDefaults copyWith(void Function(FeatureSetDefaults) updates) => super.copyWith((message) => updates(message as FeatureSetDefaults)) as FeatureSetDefaults; - - @$core.override - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static FeatureSetDefaults create() => FeatureSetDefaults._(); - @$core.override - FeatureSetDefaults createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static FeatureSetDefaults getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static FeatureSetDefaults? _defaultInstance; - - @$pb.TagNumber(1) - $pb.PbList get defaults => $_getList(0); - - /// The minimum supported edition (inclusive) when this was constructed. - /// Editions before this will not have defaults. - @$pb.TagNumber(4) - Edition get minimumEdition => $_getN(1); - @$pb.TagNumber(4) - set minimumEdition(Edition value) => $_setField(4, value); - @$pb.TagNumber(4) - $core.bool hasMinimumEdition() => $_has(1); - @$pb.TagNumber(4) - void clearMinimumEdition() => $_clearField(4); - - /// The maximum known edition (inclusive) when this was constructed. Editions - /// after this will not have reliable defaults. - @$pb.TagNumber(5) - Edition get maximumEdition => $_getN(2); - @$pb.TagNumber(5) - set maximumEdition(Edition value) => $_setField(5, value); - @$pb.TagNumber(5) - $core.bool hasMaximumEdition() => $_has(2); - @$pb.TagNumber(5) - void clearMaximumEdition() => $_clearField(5); -} - class SourceCodeInfo_Location extends $pb.GeneratedMessage { factory SourceCodeInfo_Location({ $core.Iterable<$core.int>? path, @@ -3307,8 +2306,8 @@ class SourceCodeInfo_Location extends $pb.GeneratedMessage { /// location. /// /// Each element is a field number or an index. They form a path from - /// the root FileDescriptorProto to the place where the definition appears. - /// For example, this path: + /// the root FileDescriptorProto to the place where the definition. For + /// example, this path: /// [ 4, 3, 2, 7, 1 ] /// refers to: /// file.message_type(3) // 4, 3 @@ -3364,13 +2363,13 @@ class SourceCodeInfo_Location extends $pb.GeneratedMessage { /// // Comment attached to baz. /// // Another line attached to baz. /// - /// // Comment attached to moo. + /// // Comment attached to qux. /// // - /// // Another line attached to moo. - /// optional double moo = 4; + /// // Another line attached to qux. + /// optional double qux = 4; /// /// // Detached comment for corge. This is not leading or trailing comments - /// // to moo or corge because there are blank lines separating it from + /// // to qux or corge because there are blank lines separating it from /// // both. /// /// // Detached comment for corge paragraph 2. @@ -3424,7 +2423,7 @@ class SourceCodeInfo extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SourceCodeInfo', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create) ..pc(1, _omitFieldNames ? '' : 'location', $pb.PbFieldType.PM, subBuilder: SourceCodeInfo_Location.create) - ..hasExtensions = true + ..hasRequiredFields = false ; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') @@ -3497,14 +2496,12 @@ class GeneratedCodeInfo_Annotation extends $pb.GeneratedMessage { $core.String? sourceFile, $core.int? begin, $core.int? end, - GeneratedCodeInfo_Annotation_Semantic? semantic, }) { final result = create(); if (path != null) result.path.addAll(path); if (sourceFile != null) result.sourceFile = sourceFile; if (begin != null) result.begin = begin; if (end != null) result.end = end; - if (semantic != null) result.semantic = semantic; return result; } @@ -3518,7 +2515,6 @@ class GeneratedCodeInfo_Annotation extends $pb.GeneratedMessage { ..aOS(2, _omitFieldNames ? '' : 'sourceFile') ..a<$core.int>(3, _omitFieldNames ? '' : 'begin', $pb.PbFieldType.O3) ..a<$core.int>(4, _omitFieldNames ? '' : 'end', $pb.PbFieldType.O3) - ..e(5, _omitFieldNames ? '' : 'semantic', $pb.PbFieldType.OE, defaultOrMaker: GeneratedCodeInfo_Annotation_Semantic.NONE, valueOf: GeneratedCodeInfo_Annotation_Semantic.valueOf, enumValues: GeneratedCodeInfo_Annotation_Semantic.values) ..hasRequiredFields = false ; @@ -3566,7 +2562,7 @@ class GeneratedCodeInfo_Annotation extends $pb.GeneratedMessage { void clearBegin() => $_clearField(3); /// Identifies the ending offset in bytes in the generated code that - /// relates to the identified object. The end offset should be one past + /// relates to the identified offset. The end offset should be one past /// the last relevant byte (so the length of the text = end - begin). @$pb.TagNumber(4) $core.int get end => $_getIZ(3); @@ -3576,15 +2572,6 @@ class GeneratedCodeInfo_Annotation extends $pb.GeneratedMessage { $core.bool hasEnd() => $_has(3); @$pb.TagNumber(4) void clearEnd() => $_clearField(4); - - @$pb.TagNumber(5) - GeneratedCodeInfo_Annotation_Semantic get semantic => $_getN(4); - @$pb.TagNumber(5) - set semantic(GeneratedCodeInfo_Annotation_Semantic value) => $_setField(5, value); - @$pb.TagNumber(5) - $core.bool hasSemantic() => $_has(4); - @$pb.TagNumber(5) - void clearSemantic() => $_clearField(5); } /// Describes the relationship between generated code and its original source diff --git a/lib/google/protobuf/descriptor.pbenum.dart b/lib/google/protobuf/descriptor.pbenum.dart index ac0c26d2..65960a2f 100644 --- a/lib/google/protobuf/descriptor.pbenum.dart +++ b/lib/google/protobuf/descriptor.pbenum.dart @@ -14,99 +14,6 @@ import 'dart:core' as $core; import 'package:protobuf/protobuf.dart' as $pb; -/// The full set of known editions. -class Edition extends $pb.ProtobufEnum { - /// A placeholder for an unknown edition value. - static const Edition EDITION_UNKNOWN = Edition._(0, _omitEnumNames ? '' : 'EDITION_UNKNOWN'); - /// A placeholder edition for specifying default behaviors *before* a feature - /// was first introduced. This is effectively an "infinite past". - static const Edition EDITION_LEGACY = Edition._(900, _omitEnumNames ? '' : 'EDITION_LEGACY'); - /// Legacy syntax "editions". These pre-date editions, but behave much like - /// distinct editions. These can't be used to specify the edition of proto - /// files, but feature definitions must supply proto2/proto3 defaults for - /// backwards compatibility. - static const Edition EDITION_PROTO2 = Edition._(998, _omitEnumNames ? '' : 'EDITION_PROTO2'); - static const Edition EDITION_PROTO3 = Edition._(999, _omitEnumNames ? '' : 'EDITION_PROTO3'); - /// Editions that have been released. The specific values are arbitrary and - /// should not be depended on, but they will always be time-ordered for easy - /// comparison. - static const Edition EDITION_2023 = Edition._(1000, _omitEnumNames ? '' : 'EDITION_2023'); - static const Edition EDITION_2024 = Edition._(1001, _omitEnumNames ? '' : 'EDITION_2024'); - /// A placeholder edition for developing and testing unscheduled features. - static const Edition EDITION_UNSTABLE = Edition._(9999, _omitEnumNames ? '' : 'EDITION_UNSTABLE'); - /// Placeholder editions for testing feature resolution. These should not be - /// used or relied on outside of tests. - static const Edition EDITION_1_TEST_ONLY = Edition._(1, _omitEnumNames ? '' : 'EDITION_1_TEST_ONLY'); - static const Edition EDITION_2_TEST_ONLY = Edition._(2, _omitEnumNames ? '' : 'EDITION_2_TEST_ONLY'); - static const Edition EDITION_99997_TEST_ONLY = Edition._(99997, _omitEnumNames ? '' : 'EDITION_99997_TEST_ONLY'); - static const Edition EDITION_99998_TEST_ONLY = Edition._(99998, _omitEnumNames ? '' : 'EDITION_99998_TEST_ONLY'); - static const Edition EDITION_99999_TEST_ONLY = Edition._(99999, _omitEnumNames ? '' : 'EDITION_99999_TEST_ONLY'); - /// Placeholder for specifying unbounded edition support. This should only - /// ever be used by plugins that can expect to never require any changes to - /// support a new edition. - static const Edition EDITION_MAX = Edition._(2147483647, _omitEnumNames ? '' : 'EDITION_MAX'); - - static const $core.List values = [ - EDITION_UNKNOWN, - EDITION_LEGACY, - EDITION_PROTO2, - EDITION_PROTO3, - EDITION_2023, - EDITION_2024, - EDITION_UNSTABLE, - EDITION_1_TEST_ONLY, - EDITION_2_TEST_ONLY, - EDITION_99997_TEST_ONLY, - EDITION_99998_TEST_ONLY, - EDITION_99999_TEST_ONLY, - EDITION_MAX, - ]; - - static final $core.Map<$core.int, Edition> _byValue = $pb.ProtobufEnum.initByValue(values); - static Edition? valueOf($core.int value) => _byValue[value]; - - const Edition._(super.value, super.name); -} - -/// Describes the 'visibility' of a symbol with respect to the proto import -/// system. Symbols can only be imported when the visibility rules do not prevent -/// it (ex: local symbols cannot be imported). Visibility modifiers can only set -/// on `message` and `enum` as they are the only types available to be referenced -/// from other files. -class SymbolVisibility extends $pb.ProtobufEnum { - static const SymbolVisibility VISIBILITY_UNSET = SymbolVisibility._(0, _omitEnumNames ? '' : 'VISIBILITY_UNSET'); - static const SymbolVisibility VISIBILITY_LOCAL = SymbolVisibility._(1, _omitEnumNames ? '' : 'VISIBILITY_LOCAL'); - static const SymbolVisibility VISIBILITY_EXPORT = SymbolVisibility._(2, _omitEnumNames ? '' : 'VISIBILITY_EXPORT'); - - static const $core.List values = [ - VISIBILITY_UNSET, - VISIBILITY_LOCAL, - VISIBILITY_EXPORT, - ]; - - static final $core.List _byValue = $pb.ProtobufEnum.$_initByValueList(values, 2); - static SymbolVisibility? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value]; - - const SymbolVisibility._(super.value, super.name); -} - -/// The verification state of the extension range. -class ExtensionRangeOptions_VerificationState extends $pb.ProtobufEnum { - /// All the extensions of the range must be declared. - static const ExtensionRangeOptions_VerificationState DECLARATION = ExtensionRangeOptions_VerificationState._(0, _omitEnumNames ? '' : 'DECLARATION'); - static const ExtensionRangeOptions_VerificationState UNVERIFIED = ExtensionRangeOptions_VerificationState._(1, _omitEnumNames ? '' : 'UNVERIFIED'); - - static const $core.List values = [ - DECLARATION, - UNVERIFIED, - ]; - - static final $core.List _byValue = $pb.ProtobufEnum.$_initByValueList(values, 1); - static ExtensionRangeOptions_VerificationState? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value]; - - const ExtensionRangeOptions_VerificationState._(super.value, super.name); -} - class FieldDescriptorProto_Type extends $pb.ProtobufEnum { /// 0 is reserved for errors. /// Order is weird for historical reasons. @@ -124,10 +31,9 @@ class FieldDescriptorProto_Type extends $pb.ProtobufEnum { static const FieldDescriptorProto_Type TYPE_BOOL = FieldDescriptorProto_Type._(8, _omitEnumNames ? '' : 'TYPE_BOOL'); static const FieldDescriptorProto_Type TYPE_STRING = FieldDescriptorProto_Type._(9, _omitEnumNames ? '' : 'TYPE_STRING'); /// Tag-delimited aggregate. - /// Group type is deprecated and not supported after google.protobuf. However, Proto3 + /// Group type is deprecated and not supported in proto3. However, Proto3 /// implementations should still be able to parse the group wire format and - /// treat group fields as unknown fields. In Editions, the group wire format - /// can be enabled via the `message_encoding` feature. + /// treat group fields as unknown fields. static const FieldDescriptorProto_Type TYPE_GROUP = FieldDescriptorProto_Type._(10, _omitEnumNames ? '' : 'TYPE_GROUP'); static const FieldDescriptorProto_Type TYPE_MESSAGE = FieldDescriptorProto_Type._(11, _omitEnumNames ? '' : 'TYPE_MESSAGE'); /// New in version 2. @@ -169,16 +75,13 @@ class FieldDescriptorProto_Type extends $pb.ProtobufEnum { class FieldDescriptorProto_Label extends $pb.ProtobufEnum { /// 0 is reserved for errors static const FieldDescriptorProto_Label LABEL_OPTIONAL = FieldDescriptorProto_Label._(1, _omitEnumNames ? '' : 'LABEL_OPTIONAL'); - static const FieldDescriptorProto_Label LABEL_REPEATED = FieldDescriptorProto_Label._(3, _omitEnumNames ? '' : 'LABEL_REPEATED'); - /// The required label is only allowed in google.protobuf. In proto3 and Editions - /// it's explicitly prohibited. In Editions, the `field_presence` feature - /// can be used to get this behavior. static const FieldDescriptorProto_Label LABEL_REQUIRED = FieldDescriptorProto_Label._(2, _omitEnumNames ? '' : 'LABEL_REQUIRED'); + static const FieldDescriptorProto_Label LABEL_REPEATED = FieldDescriptorProto_Label._(3, _omitEnumNames ? '' : 'LABEL_REPEATED'); static const $core.List values = [ LABEL_OPTIONAL, - LABEL_REPEATED, LABEL_REQUIRED, + LABEL_REPEATED, ]; static final $core.List _byValue = $pb.ProtobufEnum.$_initByValueList(values, 3); @@ -209,12 +112,6 @@ class FileOptions_OptimizeMode extends $pb.ProtobufEnum { class FieldOptions_CType extends $pb.ProtobufEnum { /// Default mode. static const FieldOptions_CType STRING = FieldOptions_CType._(0, _omitEnumNames ? '' : 'STRING'); - /// The option [ctype=CORD] may be applied to a non-repeated field of type - /// "bytes". It indicates that in C++, the data should be stored in a Cord - /// instead of a string. For very large strings, this may reduce memory - /// fragmentation. It may also allow better performance when parsing from a - /// Cord, or when parsing with aliasing enabled, as the parsed Cord may then - /// alias the original buffer. static const FieldOptions_CType CORD = FieldOptions_CType._(1, _omitEnumNames ? '' : 'CORD'); static const FieldOptions_CType STRING_PIECE = FieldOptions_CType._(2, _omitEnumNames ? '' : 'STRING_PIECE'); @@ -250,58 +147,6 @@ class FieldOptions_JSType extends $pb.ProtobufEnum { const FieldOptions_JSType._(super.value, super.name); } -/// If set to RETENTION_SOURCE, the option will be omitted from the binary. -class FieldOptions_OptionRetention extends $pb.ProtobufEnum { - static const FieldOptions_OptionRetention RETENTION_UNKNOWN = FieldOptions_OptionRetention._(0, _omitEnumNames ? '' : 'RETENTION_UNKNOWN'); - static const FieldOptions_OptionRetention RETENTION_RUNTIME = FieldOptions_OptionRetention._(1, _omitEnumNames ? '' : 'RETENTION_RUNTIME'); - static const FieldOptions_OptionRetention RETENTION_SOURCE = FieldOptions_OptionRetention._(2, _omitEnumNames ? '' : 'RETENTION_SOURCE'); - - static const $core.List values = [ - RETENTION_UNKNOWN, - RETENTION_RUNTIME, - RETENTION_SOURCE, - ]; - - static final $core.List _byValue = $pb.ProtobufEnum.$_initByValueList(values, 2); - static FieldOptions_OptionRetention? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value]; - - const FieldOptions_OptionRetention._(super.value, super.name); -} - -/// This indicates the types of entities that the field may apply to when used -/// as an option. If it is unset, then the field may be freely used as an -/// option on any kind of entity. -class FieldOptions_OptionTargetType extends $pb.ProtobufEnum { - static const FieldOptions_OptionTargetType TARGET_TYPE_UNKNOWN = FieldOptions_OptionTargetType._(0, _omitEnumNames ? '' : 'TARGET_TYPE_UNKNOWN'); - static const FieldOptions_OptionTargetType TARGET_TYPE_FILE = FieldOptions_OptionTargetType._(1, _omitEnumNames ? '' : 'TARGET_TYPE_FILE'); - static const FieldOptions_OptionTargetType TARGET_TYPE_EXTENSION_RANGE = FieldOptions_OptionTargetType._(2, _omitEnumNames ? '' : 'TARGET_TYPE_EXTENSION_RANGE'); - static const FieldOptions_OptionTargetType TARGET_TYPE_MESSAGE = FieldOptions_OptionTargetType._(3, _omitEnumNames ? '' : 'TARGET_TYPE_MESSAGE'); - static const FieldOptions_OptionTargetType TARGET_TYPE_FIELD = FieldOptions_OptionTargetType._(4, _omitEnumNames ? '' : 'TARGET_TYPE_FIELD'); - static const FieldOptions_OptionTargetType TARGET_TYPE_ONEOF = FieldOptions_OptionTargetType._(5, _omitEnumNames ? '' : 'TARGET_TYPE_ONEOF'); - static const FieldOptions_OptionTargetType TARGET_TYPE_ENUM = FieldOptions_OptionTargetType._(6, _omitEnumNames ? '' : 'TARGET_TYPE_ENUM'); - static const FieldOptions_OptionTargetType TARGET_TYPE_ENUM_ENTRY = FieldOptions_OptionTargetType._(7, _omitEnumNames ? '' : 'TARGET_TYPE_ENUM_ENTRY'); - static const FieldOptions_OptionTargetType TARGET_TYPE_SERVICE = FieldOptions_OptionTargetType._(8, _omitEnumNames ? '' : 'TARGET_TYPE_SERVICE'); - static const FieldOptions_OptionTargetType TARGET_TYPE_METHOD = FieldOptions_OptionTargetType._(9, _omitEnumNames ? '' : 'TARGET_TYPE_METHOD'); - - static const $core.List values = [ - TARGET_TYPE_UNKNOWN, - TARGET_TYPE_FILE, - TARGET_TYPE_EXTENSION_RANGE, - TARGET_TYPE_MESSAGE, - TARGET_TYPE_FIELD, - TARGET_TYPE_ONEOF, - TARGET_TYPE_ENUM, - TARGET_TYPE_ENUM_ENTRY, - TARGET_TYPE_SERVICE, - TARGET_TYPE_METHOD, - ]; - - static final $core.List _byValue = $pb.ProtobufEnum.$_initByValueList(values, 9); - static FieldOptions_OptionTargetType? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value]; - - const FieldOptions_OptionTargetType._(super.value, super.name); -} - /// Is this method side-effect-free (or safe in HTTP parlance), or idempotent, /// or neither? HTTP based RPC implementation may choose GET verb for safe /// methods, and PUT verb for idempotent methods instead of the default POST. @@ -322,175 +167,5 @@ class MethodOptions_IdempotencyLevel extends $pb.ProtobufEnum { const MethodOptions_IdempotencyLevel._(super.value, super.name); } -class FeatureSet_FieldPresence extends $pb.ProtobufEnum { - static const FeatureSet_FieldPresence FIELD_PRESENCE_UNKNOWN = FeatureSet_FieldPresence._(0, _omitEnumNames ? '' : 'FIELD_PRESENCE_UNKNOWN'); - static const FeatureSet_FieldPresence EXPLICIT = FeatureSet_FieldPresence._(1, _omitEnumNames ? '' : 'EXPLICIT'); - static const FeatureSet_FieldPresence IMPLICIT = FeatureSet_FieldPresence._(2, _omitEnumNames ? '' : 'IMPLICIT'); - static const FeatureSet_FieldPresence LEGACY_REQUIRED = FeatureSet_FieldPresence._(3, _omitEnumNames ? '' : 'LEGACY_REQUIRED'); - - static const $core.List values = [ - FIELD_PRESENCE_UNKNOWN, - EXPLICIT, - IMPLICIT, - LEGACY_REQUIRED, - ]; - - static final $core.List _byValue = $pb.ProtobufEnum.$_initByValueList(values, 3); - static FeatureSet_FieldPresence? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value]; - - const FeatureSet_FieldPresence._(super.value, super.name); -} - -class FeatureSet_EnumType extends $pb.ProtobufEnum { - static const FeatureSet_EnumType ENUM_TYPE_UNKNOWN = FeatureSet_EnumType._(0, _omitEnumNames ? '' : 'ENUM_TYPE_UNKNOWN'); - static const FeatureSet_EnumType OPEN = FeatureSet_EnumType._(1, _omitEnumNames ? '' : 'OPEN'); - static const FeatureSet_EnumType CLOSED = FeatureSet_EnumType._(2, _omitEnumNames ? '' : 'CLOSED'); - - static const $core.List values = [ - ENUM_TYPE_UNKNOWN, - OPEN, - CLOSED, - ]; - - static final $core.List _byValue = $pb.ProtobufEnum.$_initByValueList(values, 2); - static FeatureSet_EnumType? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value]; - - const FeatureSet_EnumType._(super.value, super.name); -} - -class FeatureSet_RepeatedFieldEncoding extends $pb.ProtobufEnum { - static const FeatureSet_RepeatedFieldEncoding REPEATED_FIELD_ENCODING_UNKNOWN = FeatureSet_RepeatedFieldEncoding._(0, _omitEnumNames ? '' : 'REPEATED_FIELD_ENCODING_UNKNOWN'); - static const FeatureSet_RepeatedFieldEncoding PACKED = FeatureSet_RepeatedFieldEncoding._(1, _omitEnumNames ? '' : 'PACKED'); - static const FeatureSet_RepeatedFieldEncoding EXPANDED = FeatureSet_RepeatedFieldEncoding._(2, _omitEnumNames ? '' : 'EXPANDED'); - - static const $core.List values = [ - REPEATED_FIELD_ENCODING_UNKNOWN, - PACKED, - EXPANDED, - ]; - - static final $core.List _byValue = $pb.ProtobufEnum.$_initByValueList(values, 2); - static FeatureSet_RepeatedFieldEncoding? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value]; - - const FeatureSet_RepeatedFieldEncoding._(super.value, super.name); -} - -class FeatureSet_Utf8Validation extends $pb.ProtobufEnum { - static const FeatureSet_Utf8Validation UTF8_VALIDATION_UNKNOWN = FeatureSet_Utf8Validation._(0, _omitEnumNames ? '' : 'UTF8_VALIDATION_UNKNOWN'); - static const FeatureSet_Utf8Validation VERIFY = FeatureSet_Utf8Validation._(2, _omitEnumNames ? '' : 'VERIFY'); - static const FeatureSet_Utf8Validation NONE = FeatureSet_Utf8Validation._(3, _omitEnumNames ? '' : 'NONE'); - - static const $core.List values = [ - UTF8_VALIDATION_UNKNOWN, - VERIFY, - NONE, - ]; - - static final $core.List _byValue = $pb.ProtobufEnum.$_initByValueList(values, 3); - static FeatureSet_Utf8Validation? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value]; - - const FeatureSet_Utf8Validation._(super.value, super.name); -} - -class FeatureSet_MessageEncoding extends $pb.ProtobufEnum { - static const FeatureSet_MessageEncoding MESSAGE_ENCODING_UNKNOWN = FeatureSet_MessageEncoding._(0, _omitEnumNames ? '' : 'MESSAGE_ENCODING_UNKNOWN'); - static const FeatureSet_MessageEncoding LENGTH_PREFIXED = FeatureSet_MessageEncoding._(1, _omitEnumNames ? '' : 'LENGTH_PREFIXED'); - static const FeatureSet_MessageEncoding DELIMITED = FeatureSet_MessageEncoding._(2, _omitEnumNames ? '' : 'DELIMITED'); - - static const $core.List values = [ - MESSAGE_ENCODING_UNKNOWN, - LENGTH_PREFIXED, - DELIMITED, - ]; - - static final $core.List _byValue = $pb.ProtobufEnum.$_initByValueList(values, 2); - static FeatureSet_MessageEncoding? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value]; - - const FeatureSet_MessageEncoding._(super.value, super.name); -} - -class FeatureSet_JsonFormat extends $pb.ProtobufEnum { - static const FeatureSet_JsonFormat JSON_FORMAT_UNKNOWN = FeatureSet_JsonFormat._(0, _omitEnumNames ? '' : 'JSON_FORMAT_UNKNOWN'); - static const FeatureSet_JsonFormat ALLOW = FeatureSet_JsonFormat._(1, _omitEnumNames ? '' : 'ALLOW'); - static const FeatureSet_JsonFormat LEGACY_BEST_EFFORT = FeatureSet_JsonFormat._(2, _omitEnumNames ? '' : 'LEGACY_BEST_EFFORT'); - - static const $core.List values = [ - JSON_FORMAT_UNKNOWN, - ALLOW, - LEGACY_BEST_EFFORT, - ]; - - static final $core.List _byValue = $pb.ProtobufEnum.$_initByValueList(values, 2); - static FeatureSet_JsonFormat? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value]; - - const FeatureSet_JsonFormat._(super.value, super.name); -} - -class FeatureSet_EnforceNamingStyle extends $pb.ProtobufEnum { - static const FeatureSet_EnforceNamingStyle ENFORCE_NAMING_STYLE_UNKNOWN = FeatureSet_EnforceNamingStyle._(0, _omitEnumNames ? '' : 'ENFORCE_NAMING_STYLE_UNKNOWN'); - static const FeatureSet_EnforceNamingStyle STYLE2024 = FeatureSet_EnforceNamingStyle._(1, _omitEnumNames ? '' : 'STYLE2024'); - static const FeatureSet_EnforceNamingStyle STYLE_LEGACY = FeatureSet_EnforceNamingStyle._(2, _omitEnumNames ? '' : 'STYLE_LEGACY'); - - static const $core.List values = [ - ENFORCE_NAMING_STYLE_UNKNOWN, - STYLE2024, - STYLE_LEGACY, - ]; - - static final $core.List _byValue = $pb.ProtobufEnum.$_initByValueList(values, 2); - static FeatureSet_EnforceNamingStyle? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value]; - - const FeatureSet_EnforceNamingStyle._(super.value, super.name); -} - -class FeatureSet_VisibilityFeature_DefaultSymbolVisibility extends $pb.ProtobufEnum { - static const FeatureSet_VisibilityFeature_DefaultSymbolVisibility DEFAULT_SYMBOL_VISIBILITY_UNKNOWN = FeatureSet_VisibilityFeature_DefaultSymbolVisibility._(0, _omitEnumNames ? '' : 'DEFAULT_SYMBOL_VISIBILITY_UNKNOWN'); - /// Default pre-EDITION_2024, all UNSET visibility are export. - static const FeatureSet_VisibilityFeature_DefaultSymbolVisibility EXPORT_ALL = FeatureSet_VisibilityFeature_DefaultSymbolVisibility._(1, _omitEnumNames ? '' : 'EXPORT_ALL'); - /// All top-level symbols default to export, nested default to local. - static const FeatureSet_VisibilityFeature_DefaultSymbolVisibility EXPORT_TOP_LEVEL = FeatureSet_VisibilityFeature_DefaultSymbolVisibility._(2, _omitEnumNames ? '' : 'EXPORT_TOP_LEVEL'); - /// All symbols default to local. - static const FeatureSet_VisibilityFeature_DefaultSymbolVisibility LOCAL_ALL = FeatureSet_VisibilityFeature_DefaultSymbolVisibility._(3, _omitEnumNames ? '' : 'LOCAL_ALL'); - /// All symbols local by default. Nested types cannot be exported. - /// With special case caveat for message { enum {} reserved 1 to max; } - /// This is the recommended setting for new protos. - static const FeatureSet_VisibilityFeature_DefaultSymbolVisibility STRICT = FeatureSet_VisibilityFeature_DefaultSymbolVisibility._(4, _omitEnumNames ? '' : 'STRICT'); - - static const $core.List values = [ - DEFAULT_SYMBOL_VISIBILITY_UNKNOWN, - EXPORT_ALL, - EXPORT_TOP_LEVEL, - LOCAL_ALL, - STRICT, - ]; - - static final $core.List _byValue = $pb.ProtobufEnum.$_initByValueList(values, 4); - static FeatureSet_VisibilityFeature_DefaultSymbolVisibility? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value]; - - const FeatureSet_VisibilityFeature_DefaultSymbolVisibility._(super.value, super.name); -} - -/// Represents the identified object's effect on the element in the original -/// .proto file. -class GeneratedCodeInfo_Annotation_Semantic extends $pb.ProtobufEnum { - /// There is no effect or the effect is indescribable. - static const GeneratedCodeInfo_Annotation_Semantic NONE = GeneratedCodeInfo_Annotation_Semantic._(0, _omitEnumNames ? '' : 'NONE'); - /// The element is set or otherwise mutated. - static const GeneratedCodeInfo_Annotation_Semantic SET = GeneratedCodeInfo_Annotation_Semantic._(1, _omitEnumNames ? '' : 'SET'); - /// An alias to the element is returned. - static const GeneratedCodeInfo_Annotation_Semantic ALIAS = GeneratedCodeInfo_Annotation_Semantic._(2, _omitEnumNames ? '' : 'ALIAS'); - - static const $core.List values = [ - NONE, - SET, - ALIAS, - ]; - - static final $core.List _byValue = $pb.ProtobufEnum.$_initByValueList(values, 2); - static GeneratedCodeInfo_Annotation_Semantic? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value]; - - const GeneratedCodeInfo_Annotation_Semantic._(super.value, super.name); -} - const $core.bool _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names'); diff --git a/lib/google/protobuf/descriptor.pbjson.dart b/lib/google/protobuf/descriptor.pbjson.dart index 3eb73f95..811b4eae 100644 --- a/lib/google/protobuf/descriptor.pbjson.dart +++ b/lib/google/protobuf/descriptor.pbjson.dart @@ -14,65 +14,18 @@ import 'dart:convert' as $convert; import 'dart:core' as $core; import 'dart:typed_data' as $typed_data; -@$core.Deprecated('Use editionDescriptor instead') -const Edition$json = { - '1': 'Edition', - '2': [ - {'1': 'EDITION_UNKNOWN', '2': 0}, - {'1': 'EDITION_LEGACY', '2': 900}, - {'1': 'EDITION_PROTO2', '2': 998}, - {'1': 'EDITION_PROTO3', '2': 999}, - {'1': 'EDITION_2023', '2': 1000}, - {'1': 'EDITION_2024', '2': 1001}, - {'1': 'EDITION_UNSTABLE', '2': 9999}, - {'1': 'EDITION_1_TEST_ONLY', '2': 1}, - {'1': 'EDITION_2_TEST_ONLY', '2': 2}, - {'1': 'EDITION_99997_TEST_ONLY', '2': 99997}, - {'1': 'EDITION_99998_TEST_ONLY', '2': 99998}, - {'1': 'EDITION_99999_TEST_ONLY', '2': 99999}, - {'1': 'EDITION_MAX', '2': 2147483647}, - ], -}; - -/// Descriptor for `Edition`. Decode as a `google.protobuf.EnumDescriptorProto`. -final $typed_data.Uint8List editionDescriptor = $convert.base64Decode( - 'CgdFZGl0aW9uEhMKD0VESVRJT05fVU5LTk9XThAAEhMKDkVESVRJT05fTEVHQUNZEIQHEhMKDk' - 'VESVRJT05fUFJPVE8yEOYHEhMKDkVESVRJT05fUFJPVE8zEOcHEhEKDEVESVRJT05fMjAyMxDo' - 'BxIRCgxFRElUSU9OXzIwMjQQ6QcSFQoQRURJVElPTl9VTlNUQUJMRRCPThIXChNFRElUSU9OXz' - 'FfVEVTVF9PTkxZEAESFwoTRURJVElPTl8yX1RFU1RfT05MWRACEh0KF0VESVRJT05fOTk5OTdf' - 'VEVTVF9PTkxZEJ2NBhIdChdFRElUSU9OXzk5OTk4X1RFU1RfT05MWRCejQYSHQoXRURJVElPTl' - '85OTk5OV9URVNUX09OTFkQn40GEhMKC0VESVRJT05fTUFYEP////8H'); - -@$core.Deprecated('Use symbolVisibilityDescriptor instead') -const SymbolVisibility$json = { - '1': 'SymbolVisibility', - '2': [ - {'1': 'VISIBILITY_UNSET', '2': 0}, - {'1': 'VISIBILITY_LOCAL', '2': 1}, - {'1': 'VISIBILITY_EXPORT', '2': 2}, - ], -}; - -/// Descriptor for `SymbolVisibility`. Decode as a `google.protobuf.EnumDescriptorProto`. -final $typed_data.Uint8List symbolVisibilityDescriptor = $convert.base64Decode( - 'ChBTeW1ib2xWaXNpYmlsaXR5EhQKEFZJU0lCSUxJVFlfVU5TRVQQABIUChBWSVNJQklMSVRZX0' - 'xPQ0FMEAESFQoRVklTSUJJTElUWV9FWFBPUlQQAg=='); - @$core.Deprecated('Use fileDescriptorSetDescriptor instead') const FileDescriptorSet$json = { '1': 'FileDescriptorSet', '2': [ {'1': 'file', '3': 1, '4': 3, '5': 11, '6': '.google.protobuf.FileDescriptorProto', '10': 'file'}, ], - '5': [ - {'1': 536000000, '2': 536000001}, - ], }; /// Descriptor for `FileDescriptorSet`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List fileDescriptorSetDescriptor = $convert.base64Decode( 'ChFGaWxlRGVzY3JpcHRvclNldBI4CgRmaWxlGAEgAygLMiQuZ29vZ2xlLnByb3RvYnVmLkZpbG' - 'VEZXNjcmlwdG9yUHJvdG9SBGZpbGUqDAiA7Mr/ARCB7Mr/AQ=='); + 'VEZXNjcmlwdG9yUHJvdG9SBGZpbGU='); @$core.Deprecated('Use fileDescriptorProtoDescriptor instead') const FileDescriptorProto$json = { @@ -83,7 +36,6 @@ const FileDescriptorProto$json = { {'1': 'dependency', '3': 3, '4': 3, '5': 9, '10': 'dependency'}, {'1': 'public_dependency', '3': 10, '4': 3, '5': 5, '10': 'publicDependency'}, {'1': 'weak_dependency', '3': 11, '4': 3, '5': 5, '10': 'weakDependency'}, - {'1': 'option_dependency', '3': 15, '4': 3, '5': 9, '10': 'optionDependency'}, {'1': 'message_type', '3': 4, '4': 3, '5': 11, '6': '.google.protobuf.DescriptorProto', '10': 'messageType'}, {'1': 'enum_type', '3': 5, '4': 3, '5': 11, '6': '.google.protobuf.EnumDescriptorProto', '10': 'enumType'}, {'1': 'service', '3': 6, '4': 3, '5': 11, '6': '.google.protobuf.ServiceDescriptorProto', '10': 'service'}, @@ -91,7 +43,6 @@ const FileDescriptorProto$json = { {'1': 'options', '3': 8, '4': 1, '5': 11, '6': '.google.protobuf.FileOptions', '10': 'options'}, {'1': 'source_code_info', '3': 9, '4': 1, '5': 11, '6': '.google.protobuf.SourceCodeInfo', '10': 'sourceCodeInfo'}, {'1': 'syntax', '3': 12, '4': 1, '5': 9, '10': 'syntax'}, - {'1': 'edition', '3': 14, '4': 1, '5': 14, '6': '.google.protobuf.Edition', '10': 'edition'}, ], }; @@ -100,16 +51,15 @@ final $typed_data.Uint8List fileDescriptorProtoDescriptor = $convert.base64Decod 'ChNGaWxlRGVzY3JpcHRvclByb3RvEhIKBG5hbWUYASABKAlSBG5hbWUSGAoHcGFja2FnZRgCIA' 'EoCVIHcGFja2FnZRIeCgpkZXBlbmRlbmN5GAMgAygJUgpkZXBlbmRlbmN5EisKEXB1YmxpY19k' 'ZXBlbmRlbmN5GAogAygFUhBwdWJsaWNEZXBlbmRlbmN5EicKD3dlYWtfZGVwZW5kZW5jeRgLIA' - 'MoBVIOd2Vha0RlcGVuZGVuY3kSKwoRb3B0aW9uX2RlcGVuZGVuY3kYDyADKAlSEG9wdGlvbkRl' - 'cGVuZGVuY3kSQwoMbWVzc2FnZV90eXBlGAQgAygLMiAuZ29vZ2xlLnByb3RvYnVmLkRlc2NyaX' - 'B0b3JQcm90b1ILbWVzc2FnZVR5cGUSQQoJZW51bV90eXBlGAUgAygLMiQuZ29vZ2xlLnByb3Rv' - 'YnVmLkVudW1EZXNjcmlwdG9yUHJvdG9SCGVudW1UeXBlEkEKB3NlcnZpY2UYBiADKAsyJy5nb2' - '9nbGUucHJvdG9idWYuU2VydmljZURlc2NyaXB0b3JQcm90b1IHc2VydmljZRJDCglleHRlbnNp' - 'b24YByADKAsyJS5nb29nbGUucHJvdG9idWYuRmllbGREZXNjcmlwdG9yUHJvdG9SCWV4dGVuc2' - 'lvbhI2CgdvcHRpb25zGAggASgLMhwuZ29vZ2xlLnByb3RvYnVmLkZpbGVPcHRpb25zUgdvcHRp' - 'b25zEkkKEHNvdXJjZV9jb2RlX2luZm8YCSABKAsyHy5nb29nbGUucHJvdG9idWYuU291cmNlQ2' - '9kZUluZm9SDnNvdXJjZUNvZGVJbmZvEhYKBnN5bnRheBgMIAEoCVIGc3ludGF4EjIKB2VkaXRp' - 'b24YDiABKA4yGC5nb29nbGUucHJvdG9idWYuRWRpdGlvblIHZWRpdGlvbg=='); + 'MoBVIOd2Vha0RlcGVuZGVuY3kSQwoMbWVzc2FnZV90eXBlGAQgAygLMiAuZ29vZ2xlLnByb3Rv' + 'YnVmLkRlc2NyaXB0b3JQcm90b1ILbWVzc2FnZVR5cGUSQQoJZW51bV90eXBlGAUgAygLMiQuZ2' + '9vZ2xlLnByb3RvYnVmLkVudW1EZXNjcmlwdG9yUHJvdG9SCGVudW1UeXBlEkEKB3NlcnZpY2UY' + 'BiADKAsyJy5nb29nbGUucHJvdG9idWYuU2VydmljZURlc2NyaXB0b3JQcm90b1IHc2VydmljZR' + 'JDCglleHRlbnNpb24YByADKAsyJS5nb29nbGUucHJvdG9idWYuRmllbGREZXNjcmlwdG9yUHJv' + 'dG9SCWV4dGVuc2lvbhI2CgdvcHRpb25zGAggASgLMhwuZ29vZ2xlLnByb3RvYnVmLkZpbGVPcH' + 'Rpb25zUgdvcHRpb25zEkkKEHNvdXJjZV9jb2RlX2luZm8YCSABKAsyHy5nb29nbGUucHJvdG9i' + 'dWYuU291cmNlQ29kZUluZm9SDnNvdXJjZUNvZGVJbmZvEhYKBnN5bnRheBgMIAEoCVIGc3ludG' + 'F4'); @$core.Deprecated('Use descriptorProtoDescriptor instead') const DescriptorProto$json = { @@ -125,7 +75,6 @@ const DescriptorProto$json = { {'1': 'options', '3': 7, '4': 1, '5': 11, '6': '.google.protobuf.MessageOptions', '10': 'options'}, {'1': 'reserved_range', '3': 9, '4': 3, '5': 11, '6': '.google.protobuf.DescriptorProto.ReservedRange', '10': 'reservedRange'}, {'1': 'reserved_name', '3': 10, '4': 3, '5': 9, '10': 'reservedName'}, - {'1': 'visibility', '3': 11, '4': 1, '5': 14, '6': '.google.protobuf.SymbolVisibility', '10': 'visibility'}, ], '3': [DescriptorProto_ExtensionRange$json, DescriptorProto_ReservedRange$json], }; @@ -162,83 +111,27 @@ final $typed_data.Uint8List descriptorProtoDescriptor = $convert.base64Decode( 'clByb3RvUglvbmVvZkRlY2wSOQoHb3B0aW9ucxgHIAEoCzIfLmdvb2dsZS5wcm90b2J1Zi5NZX' 'NzYWdlT3B0aW9uc1IHb3B0aW9ucxJVCg5yZXNlcnZlZF9yYW5nZRgJIAMoCzIuLmdvb2dsZS5w' 'cm90b2J1Zi5EZXNjcmlwdG9yUHJvdG8uUmVzZXJ2ZWRSYW5nZVINcmVzZXJ2ZWRSYW5nZRIjCg' - '1yZXNlcnZlZF9uYW1lGAogAygJUgxyZXNlcnZlZE5hbWUSQQoKdmlzaWJpbGl0eRgLIAEoDjIh' - 'Lmdvb2dsZS5wcm90b2J1Zi5TeW1ib2xWaXNpYmlsaXR5Ugp2aXNpYmlsaXR5GnoKDkV4dGVuc2' - 'lvblJhbmdlEhQKBXN0YXJ0GAEgASgFUgVzdGFydBIQCgNlbmQYAiABKAVSA2VuZBJACgdvcHRp' - 'b25zGAMgASgLMiYuZ29vZ2xlLnByb3RvYnVmLkV4dGVuc2lvblJhbmdlT3B0aW9uc1IHb3B0aW' - '9ucxo3Cg1SZXNlcnZlZFJhbmdlEhQKBXN0YXJ0GAEgASgFUgVzdGFydBIQCgNlbmQYAiABKAVS' - 'A2VuZA=='); + '1yZXNlcnZlZF9uYW1lGAogAygJUgxyZXNlcnZlZE5hbWUaegoORXh0ZW5zaW9uUmFuZ2USFAoF' + 'c3RhcnQYASABKAVSBXN0YXJ0EhAKA2VuZBgCIAEoBVIDZW5kEkAKB29wdGlvbnMYAyABKAsyJi' + '5nb29nbGUucHJvdG9idWYuRXh0ZW5zaW9uUmFuZ2VPcHRpb25zUgdvcHRpb25zGjcKDVJlc2Vy' + 'dmVkUmFuZ2USFAoFc3RhcnQYASABKAVSBXN0YXJ0EhAKA2VuZBgCIAEoBVIDZW5k'); @$core.Deprecated('Use extensionRangeOptionsDescriptor instead') const ExtensionRangeOptions$json = { '1': 'ExtensionRangeOptions', '2': [ {'1': 'uninterpreted_option', '3': 999, '4': 3, '5': 11, '6': '.google.protobuf.UninterpretedOption', '10': 'uninterpretedOption'}, - { - '1': 'declaration', - '3': 2, - '4': 3, - '5': 11, - '6': '.google.protobuf.ExtensionRangeOptions.Declaration', - '8': {'17': 2}, - '10': 'declaration', - }, - {'1': 'features', '3': 50, '4': 1, '5': 11, '6': '.google.protobuf.FeatureSet', '10': 'features'}, - { - '1': 'verification', - '3': 3, - '4': 1, - '5': 14, - '6': '.google.protobuf.ExtensionRangeOptions.VerificationState', - '7': 'UNVERIFIED', - '8': {'17': 2}, - '10': 'verification', - }, ], - '3': [ExtensionRangeOptions_Declaration$json], - '4': [ExtensionRangeOptions_VerificationState$json], '5': [ {'1': 1000, '2': 536870912}, ], }; -@$core.Deprecated('Use extensionRangeOptionsDescriptor instead') -const ExtensionRangeOptions_Declaration$json = { - '1': 'Declaration', - '2': [ - {'1': 'number', '3': 1, '4': 1, '5': 5, '10': 'number'}, - {'1': 'full_name', '3': 2, '4': 1, '5': 9, '10': 'fullName'}, - {'1': 'type', '3': 3, '4': 1, '5': 9, '10': 'type'}, - {'1': 'reserved', '3': 5, '4': 1, '5': 8, '10': 'reserved'}, - {'1': 'repeated', '3': 6, '4': 1, '5': 8, '10': 'repeated'}, - ], - '9': [ - {'1': 4, '2': 5}, - ], -}; - -@$core.Deprecated('Use extensionRangeOptionsDescriptor instead') -const ExtensionRangeOptions_VerificationState$json = { - '1': 'VerificationState', - '2': [ - {'1': 'DECLARATION', '2': 0}, - {'1': 'UNVERIFIED', '2': 1}, - ], -}; - /// Descriptor for `ExtensionRangeOptions`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List extensionRangeOptionsDescriptor = $convert.base64Decode( 'ChVFeHRlbnNpb25SYW5nZU9wdGlvbnMSWAoUdW5pbnRlcnByZXRlZF9vcHRpb24Y5wcgAygLMi' 'QuZ29vZ2xlLnByb3RvYnVmLlVuaW50ZXJwcmV0ZWRPcHRpb25SE3VuaW50ZXJwcmV0ZWRPcHRp' - 'b24SWQoLZGVjbGFyYXRpb24YAiADKAsyMi5nb29nbGUucHJvdG9idWYuRXh0ZW5zaW9uUmFuZ2' - 'VPcHRpb25zLkRlY2xhcmF0aW9uQgOIAQJSC2RlY2xhcmF0aW9uEjcKCGZlYXR1cmVzGDIgASgL' - 'MhsuZ29vZ2xlLnByb3RvYnVmLkZlYXR1cmVTZXRSCGZlYXR1cmVzEm0KDHZlcmlmaWNhdGlvbh' - 'gDIAEoDjI4Lmdvb2dsZS5wcm90b2J1Zi5FeHRlbnNpb25SYW5nZU9wdGlvbnMuVmVyaWZpY2F0' - 'aW9uU3RhdGU6ClVOVkVSSUZJRURCA4gBAlIMdmVyaWZpY2F0aW9uGpQBCgtEZWNsYXJhdGlvbh' - 'IWCgZudW1iZXIYASABKAVSBm51bWJlchIbCglmdWxsX25hbWUYAiABKAlSCGZ1bGxOYW1lEhIK' - 'BHR5cGUYAyABKAlSBHR5cGUSGgoIcmVzZXJ2ZWQYBSABKAhSCHJlc2VydmVkEhoKCHJlcGVhdG' - 'VkGAYgASgIUghyZXBlYXRlZEoECAQQBSI0ChFWZXJpZmljYXRpb25TdGF0ZRIPCgtERUNMQVJB' - 'VElPThAAEg4KClVOVkVSSUZJRUQQASoJCOgHEICAgIAC'); + 'b24qCQjoBxCAgICAAg=='); @$core.Deprecated('Use fieldDescriptorProtoDescriptor instead') const FieldDescriptorProto$json = { @@ -254,7 +147,6 @@ const FieldDescriptorProto$json = { {'1': 'oneof_index', '3': 9, '4': 1, '5': 5, '10': 'oneofIndex'}, {'1': 'json_name', '3': 10, '4': 1, '5': 9, '10': 'jsonName'}, {'1': 'options', '3': 8, '4': 1, '5': 11, '6': '.google.protobuf.FieldOptions', '10': 'options'}, - {'1': 'proto3_optional', '3': 17, '4': 1, '5': 8, '10': 'proto3Optional'}, ], '4': [FieldDescriptorProto_Type$json, FieldDescriptorProto_Label$json], }; @@ -289,8 +181,8 @@ const FieldDescriptorProto_Label$json = { '1': 'Label', '2': [ {'1': 'LABEL_OPTIONAL', '2': 1}, - {'1': 'LABEL_REPEATED', '2': 3}, {'1': 'LABEL_REQUIRED', '2': 2}, + {'1': 'LABEL_REPEATED', '2': 3}, ], }; @@ -303,15 +195,14 @@ final $typed_data.Uint8List fieldDescriptorProtoDescriptor = $convert.base64Deco 'TmFtZRIaCghleHRlbmRlZRgCIAEoCVIIZXh0ZW5kZWUSIwoNZGVmYXVsdF92YWx1ZRgHIAEoCV' 'IMZGVmYXVsdFZhbHVlEh8KC29uZW9mX2luZGV4GAkgASgFUgpvbmVvZkluZGV4EhsKCWpzb25f' 'bmFtZRgKIAEoCVIIanNvbk5hbWUSNwoHb3B0aW9ucxgIIAEoCzIdLmdvb2dsZS5wcm90b2J1Zi' - '5GaWVsZE9wdGlvbnNSB29wdGlvbnMSJwoPcHJvdG8zX29wdGlvbmFsGBEgASgIUg5wcm90bzNP' - 'cHRpb25hbCK2AgoEVHlwZRIPCgtUWVBFX0RPVUJMRRABEg4KClRZUEVfRkxPQVQQAhIOCgpUWV' - 'BFX0lOVDY0EAMSDwoLVFlQRV9VSU5UNjQQBBIOCgpUWVBFX0lOVDMyEAUSEAoMVFlQRV9GSVhF' - 'RDY0EAYSEAoMVFlQRV9GSVhFRDMyEAcSDQoJVFlQRV9CT09MEAgSDwoLVFlQRV9TVFJJTkcQCR' - 'IOCgpUWVBFX0dST1VQEAoSEAoMVFlQRV9NRVNTQUdFEAsSDgoKVFlQRV9CWVRFUxAMEg8KC1RZ' - 'UEVfVUlOVDMyEA0SDQoJVFlQRV9FTlVNEA4SEQoNVFlQRV9TRklYRUQzMhAPEhEKDVRZUEVfU0' - 'ZJWEVENjQQEBIPCgtUWVBFX1NJTlQzMhAREg8KC1RZUEVfU0lOVDY0EBIiQwoFTGFiZWwSEgoO' - 'TEFCRUxfT1BUSU9OQUwQARISCg5MQUJFTF9SRVBFQVRFRBADEhIKDkxBQkVMX1JFUVVJUkVEEA' - 'I='); + '5GaWVsZE9wdGlvbnNSB29wdGlvbnMitgIKBFR5cGUSDwoLVFlQRV9ET1VCTEUQARIOCgpUWVBF' + 'X0ZMT0FUEAISDgoKVFlQRV9JTlQ2NBADEg8KC1RZUEVfVUlOVDY0EAQSDgoKVFlQRV9JTlQzMh' + 'AFEhAKDFRZUEVfRklYRUQ2NBAGEhAKDFRZUEVfRklYRUQzMhAHEg0KCVRZUEVfQk9PTBAIEg8K' + 'C1RZUEVfU1RSSU5HEAkSDgoKVFlQRV9HUk9VUBAKEhAKDFRZUEVfTUVTU0FHRRALEg4KClRZUE' + 'VfQllURVMQDBIPCgtUWVBFX1VJTlQzMhANEg0KCVRZUEVfRU5VTRAOEhEKDVRZUEVfU0ZJWEVE' + 'MzIQDxIRCg1UWVBFX1NGSVhFRDY0EBASDwoLVFlQRV9TSU5UMzIQERIPCgtUWVBFX1NJTlQ2NB' + 'ASIkMKBUxhYmVsEhIKDkxBQkVMX09QVElPTkFMEAESEgoOTEFCRUxfUkVRVUlSRUQQAhISCg5M' + 'QUJFTF9SRVBFQVRFRBAD'); @$core.Deprecated('Use oneofDescriptorProtoDescriptor instead') const OneofDescriptorProto$json = { @@ -336,7 +227,6 @@ const EnumDescriptorProto$json = { {'1': 'options', '3': 3, '4': 1, '5': 11, '6': '.google.protobuf.EnumOptions', '10': 'options'}, {'1': 'reserved_range', '3': 4, '4': 3, '5': 11, '6': '.google.protobuf.EnumDescriptorProto.EnumReservedRange', '10': 'reservedRange'}, {'1': 'reserved_name', '3': 5, '4': 3, '5': 9, '10': 'reservedName'}, - {'1': 'visibility', '3': 6, '4': 1, '5': 14, '6': '.google.protobuf.SymbolVisibility', '10': 'visibility'}, ], '3': [EnumDescriptorProto_EnumReservedRange$json], }; @@ -357,9 +247,8 @@ final $typed_data.Uint8List enumDescriptorProtoDescriptor = $convert.base64Decod 'cHRpb25zGAMgASgLMhwuZ29vZ2xlLnByb3RvYnVmLkVudW1PcHRpb25zUgdvcHRpb25zEl0KDn' 'Jlc2VydmVkX3JhbmdlGAQgAygLMjYuZ29vZ2xlLnByb3RvYnVmLkVudW1EZXNjcmlwdG9yUHJv' 'dG8uRW51bVJlc2VydmVkUmFuZ2VSDXJlc2VydmVkUmFuZ2USIwoNcmVzZXJ2ZWRfbmFtZRgFIA' - 'MoCVIMcmVzZXJ2ZWROYW1lEkEKCnZpc2liaWxpdHkYBiABKA4yIS5nb29nbGUucHJvdG9idWYu' - 'U3ltYm9sVmlzaWJpbGl0eVIKdmlzaWJpbGl0eRo7ChFFbnVtUmVzZXJ2ZWRSYW5nZRIUCgVzdG' - 'FydBgBIAEoBVIFc3RhcnQSEAoDZW5kGAIgASgFUgNlbmQ='); + 'MoCVIMcmVzZXJ2ZWROYW1lGjsKEUVudW1SZXNlcnZlZFJhbmdlEhQKBXN0YXJ0GAEgASgFUgVz' + 'dGFydBIQCgNlbmQYAiABKAVSA2VuZA=='); @$core.Deprecated('Use enumValueDescriptorProtoDescriptor instead') const EnumValueDescriptorProto$json = { @@ -385,10 +274,6 @@ const ServiceDescriptorProto$json = { {'1': 'method', '3': 2, '4': 3, '5': 11, '6': '.google.protobuf.MethodDescriptorProto', '10': 'method'}, {'1': 'options', '3': 3, '4': 1, '5': 11, '6': '.google.protobuf.ServiceOptions', '10': 'options'}, ], - '9': [ - {'1': 4, '2': 5}, - ], - '10': ['stream'], }; /// Descriptor for `ServiceDescriptorProto`. Decode as a `google.protobuf.DescriptorProto`. @@ -396,7 +281,7 @@ final $typed_data.Uint8List serviceDescriptorProtoDescriptor = $convert.base64De 'ChZTZXJ2aWNlRGVzY3JpcHRvclByb3RvEhIKBG5hbWUYASABKAlSBG5hbWUSPgoGbWV0aG9kGA' 'IgAygLMiYuZ29vZ2xlLnByb3RvYnVmLk1ldGhvZERlc2NyaXB0b3JQcm90b1IGbWV0aG9kEjkK' 'B29wdGlvbnMYAyABKAsyHy5nb29nbGUucHJvdG9idWYuU2VydmljZU9wdGlvbnNSB29wdGlvbn' - 'NKBAgEEAVSBnN0cmVhbQ=='); + 'M='); @$core.Deprecated('Use methodDescriptorProtoDescriptor instead') const MethodDescriptorProto$json = { @@ -425,17 +310,7 @@ const FileOptions$json = { '2': [ {'1': 'java_package', '3': 1, '4': 1, '5': 9, '10': 'javaPackage'}, {'1': 'java_outer_classname', '3': 8, '4': 1, '5': 9, '10': 'javaOuterClassname'}, - { - '1': 'java_multiple_files', - '3': 10, - '4': 1, - '5': 8, - '7': 'false', - '8': { - '22': {'1': 998, '4': 1001}, - }, - '10': 'javaMultipleFiles', - }, + {'1': 'java_multiple_files', '3': 10, '4': 1, '5': 8, '7': 'false', '10': 'javaMultipleFiles'}, { '1': 'java_generate_equals_and_hash', '3': 20, @@ -450,8 +325,9 @@ const FileOptions$json = { {'1': 'cc_generic_services', '3': 16, '4': 1, '5': 8, '7': 'false', '10': 'ccGenericServices'}, {'1': 'java_generic_services', '3': 17, '4': 1, '5': 8, '7': 'false', '10': 'javaGenericServices'}, {'1': 'py_generic_services', '3': 18, '4': 1, '5': 8, '7': 'false', '10': 'pyGenericServices'}, + {'1': 'php_generic_services', '3': 42, '4': 1, '5': 8, '7': 'false', '10': 'phpGenericServices'}, {'1': 'deprecated', '3': 23, '4': 1, '5': 8, '7': 'false', '10': 'deprecated'}, - {'1': 'cc_enable_arenas', '3': 31, '4': 1, '5': 8, '7': 'true', '10': 'ccEnableArenas'}, + {'1': 'cc_enable_arenas', '3': 31, '4': 1, '5': 8, '7': 'false', '10': 'ccEnableArenas'}, {'1': 'objc_class_prefix', '3': 36, '4': 1, '5': 9, '10': 'objcClassPrefix'}, {'1': 'csharp_namespace', '3': 37, '4': 1, '5': 9, '10': 'csharpNamespace'}, {'1': 'swift_prefix', '3': 39, '4': 1, '5': 9, '10': 'swiftPrefix'}, @@ -459,7 +335,6 @@ const FileOptions$json = { {'1': 'php_namespace', '3': 41, '4': 1, '5': 9, '10': 'phpNamespace'}, {'1': 'php_metadata_namespace', '3': 44, '4': 1, '5': 9, '10': 'phpMetadataNamespace'}, {'1': 'ruby_package', '3': 45, '4': 1, '5': 9, '10': 'rubyPackage'}, - {'1': 'features', '3': 50, '4': 1, '5': 11, '6': '.google.protobuf.FeatureSet', '10': 'features'}, {'1': 'uninterpreted_option', '3': 999, '4': 3, '5': 11, '6': '.google.protobuf.UninterpretedOption', '10': 'uninterpretedOption'}, ], '4': [FileOptions_OptimizeMode$json], @@ -467,10 +342,8 @@ const FileOptions$json = { {'1': 1000, '2': 536870912}, ], '9': [ - {'1': 42, '2': 43}, {'1': 38, '2': 39}, ], - '10': ['php_generic_services'], }; @$core.Deprecated('Use fileOptionsDescriptor instead') @@ -486,31 +359,27 @@ const FileOptions_OptimizeMode$json = { /// Descriptor for `FileOptions`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List fileOptionsDescriptor = $convert.base64Decode( 'CgtGaWxlT3B0aW9ucxIhCgxqYXZhX3BhY2thZ2UYASABKAlSC2phdmFQYWNrYWdlEjAKFGphdm' - 'Ffb3V0ZXJfY2xhc3NuYW1lGAggASgJUhJqYXZhT3V0ZXJDbGFzc25hbWUS+QEKE2phdmFfbXVs' - 'dGlwbGVfZmlsZXMYCiABKAg6BWZhbHNlQsEBsgG9AQjmByDpByq0AVRoaXMgYmVoYXZpb3IgaX' - 'MgZW5hYmxlZCBieSBkZWZhdWx0IGluIGVkaXRpb25zIDIwMjQgYW5kIGFib3ZlLiBUbyBkaXNh' - 'YmxlIGl0LCB5b3UgY2FuIHNldCBgZmVhdHVyZXMuKHBiLmphdmEpLm5lc3RfaW5fZmlsZV9jbG' - 'FzcyA9IFlFU2Agb24gaW5kaXZpZHVhbCBtZXNzYWdlcywgZW51bXMsIG9yIHNlcnZpY2VzLlIR' - 'amF2YU11bHRpcGxlRmlsZXMSRAodamF2YV9nZW5lcmF0ZV9lcXVhbHNfYW5kX2hhc2gYFCABKA' - 'hCAhgBUhlqYXZhR2VuZXJhdGVFcXVhbHNBbmRIYXNoEjoKFmphdmFfc3RyaW5nX2NoZWNrX3V0' - 'ZjgYGyABKAg6BWZhbHNlUhNqYXZhU3RyaW5nQ2hlY2tVdGY4ElMKDG9wdGltaXplX2ZvchgJIA' - 'EoDjIpLmdvb2dsZS5wcm90b2J1Zi5GaWxlT3B0aW9ucy5PcHRpbWl6ZU1vZGU6BVNQRUVEUgtv' - 'cHRpbWl6ZUZvchIdCgpnb19wYWNrYWdlGAsgASgJUglnb1BhY2thZ2USNQoTY2NfZ2VuZXJpY1' - '9zZXJ2aWNlcxgQIAEoCDoFZmFsc2VSEWNjR2VuZXJpY1NlcnZpY2VzEjkKFWphdmFfZ2VuZXJp' - 'Y19zZXJ2aWNlcxgRIAEoCDoFZmFsc2VSE2phdmFHZW5lcmljU2VydmljZXMSNQoTcHlfZ2VuZX' - 'JpY19zZXJ2aWNlcxgSIAEoCDoFZmFsc2VSEXB5R2VuZXJpY1NlcnZpY2VzEiUKCmRlcHJlY2F0' - 'ZWQYFyABKAg6BWZhbHNlUgpkZXByZWNhdGVkEi4KEGNjX2VuYWJsZV9hcmVuYXMYHyABKAg6BH' - 'RydWVSDmNjRW5hYmxlQXJlbmFzEioKEW9iamNfY2xhc3NfcHJlZml4GCQgASgJUg9vYmpjQ2xh' - 'c3NQcmVmaXgSKQoQY3NoYXJwX25hbWVzcGFjZRglIAEoCVIPY3NoYXJwTmFtZXNwYWNlEiEKDH' - 'N3aWZ0X3ByZWZpeBgnIAEoCVILc3dpZnRQcmVmaXgSKAoQcGhwX2NsYXNzX3ByZWZpeBgoIAEo' - 'CVIOcGhwQ2xhc3NQcmVmaXgSIwoNcGhwX25hbWVzcGFjZRgpIAEoCVIMcGhwTmFtZXNwYWNlEj' - 'QKFnBocF9tZXRhZGF0YV9uYW1lc3BhY2UYLCABKAlSFHBocE1ldGFkYXRhTmFtZXNwYWNlEiEK' - 'DHJ1YnlfcGFja2FnZRgtIAEoCVILcnVieVBhY2thZ2USNwoIZmVhdHVyZXMYMiABKAsyGy5nb2' - '9nbGUucHJvdG9idWYuRmVhdHVyZVNldFIIZmVhdHVyZXMSWAoUdW5pbnRlcnByZXRlZF9vcHRp' - 'b24Y5wcgAygLMiQuZ29vZ2xlLnByb3RvYnVmLlVuaW50ZXJwcmV0ZWRPcHRpb25SE3VuaW50ZX' - 'JwcmV0ZWRPcHRpb24iOgoMT3B0aW1pemVNb2RlEgkKBVNQRUVEEAESDQoJQ09ERV9TSVpFEAIS' - 'EAoMTElURV9SVU5USU1FEAMqCQjoBxCAgICAAkoECCoQK0oECCYQJ1IUcGhwX2dlbmVyaWNfc2' - 'VydmljZXM='); + 'Ffb3V0ZXJfY2xhc3NuYW1lGAggASgJUhJqYXZhT3V0ZXJDbGFzc25hbWUSNQoTamF2YV9tdWx0' + 'aXBsZV9maWxlcxgKIAEoCDoFZmFsc2VSEWphdmFNdWx0aXBsZUZpbGVzEkQKHWphdmFfZ2VuZX' + 'JhdGVfZXF1YWxzX2FuZF9oYXNoGBQgASgIQgIYAVIZamF2YUdlbmVyYXRlRXF1YWxzQW5kSGFz' + 'aBI6ChZqYXZhX3N0cmluZ19jaGVja191dGY4GBsgASgIOgVmYWxzZVITamF2YVN0cmluZ0NoZW' + 'NrVXRmOBJTCgxvcHRpbWl6ZV9mb3IYCSABKA4yKS5nb29nbGUucHJvdG9idWYuRmlsZU9wdGlv' + 'bnMuT3B0aW1pemVNb2RlOgVTUEVFRFILb3B0aW1pemVGb3ISHQoKZ29fcGFja2FnZRgLIAEoCV' + 'IJZ29QYWNrYWdlEjUKE2NjX2dlbmVyaWNfc2VydmljZXMYECABKAg6BWZhbHNlUhFjY0dlbmVy' + 'aWNTZXJ2aWNlcxI5ChVqYXZhX2dlbmVyaWNfc2VydmljZXMYESABKAg6BWZhbHNlUhNqYXZhR2' + 'VuZXJpY1NlcnZpY2VzEjUKE3B5X2dlbmVyaWNfc2VydmljZXMYEiABKAg6BWZhbHNlUhFweUdl' + 'bmVyaWNTZXJ2aWNlcxI3ChRwaHBfZ2VuZXJpY19zZXJ2aWNlcxgqIAEoCDoFZmFsc2VSEnBocE' + 'dlbmVyaWNTZXJ2aWNlcxIlCgpkZXByZWNhdGVkGBcgASgIOgVmYWxzZVIKZGVwcmVjYXRlZBIv' + 'ChBjY19lbmFibGVfYXJlbmFzGB8gASgIOgVmYWxzZVIOY2NFbmFibGVBcmVuYXMSKgoRb2JqY1' + '9jbGFzc19wcmVmaXgYJCABKAlSD29iamNDbGFzc1ByZWZpeBIpChBjc2hhcnBfbmFtZXNwYWNl' + 'GCUgASgJUg9jc2hhcnBOYW1lc3BhY2USIQoMc3dpZnRfcHJlZml4GCcgASgJUgtzd2lmdFByZW' + 'ZpeBIoChBwaHBfY2xhc3NfcHJlZml4GCggASgJUg5waHBDbGFzc1ByZWZpeBIjCg1waHBfbmFt' + 'ZXNwYWNlGCkgASgJUgxwaHBOYW1lc3BhY2USNAoWcGhwX21ldGFkYXRhX25hbWVzcGFjZRgsIA' + 'EoCVIUcGhwTWV0YWRhdGFOYW1lc3BhY2USIQoMcnVieV9wYWNrYWdlGC0gASgJUgtydWJ5UGFj' + 'a2FnZRJYChR1bmludGVycHJldGVkX29wdGlvbhjnByADKAsyJC5nb29nbGUucHJvdG9idWYuVW' + '5pbnRlcnByZXRlZE9wdGlvblITdW5pbnRlcnByZXRlZE9wdGlvbiI6CgxPcHRpbWl6ZU1vZGUS' + 'CQoFU1BFRUQQARINCglDT0RFX1NJWkUQAhIQCgxMSVRFX1JVTlRJTUUQAyoJCOgHEICAgIACSg' + 'QIJhAn'); @$core.Deprecated('Use messageOptionsDescriptor instead') const MessageOptions$json = { @@ -520,24 +389,12 @@ const MessageOptions$json = { {'1': 'no_standard_descriptor_accessor', '3': 2, '4': 1, '5': 8, '7': 'false', '10': 'noStandardDescriptorAccessor'}, {'1': 'deprecated', '3': 3, '4': 1, '5': 8, '7': 'false', '10': 'deprecated'}, {'1': 'map_entry', '3': 7, '4': 1, '5': 8, '10': 'mapEntry'}, - { - '1': 'deprecated_legacy_json_field_conflicts', - '3': 11, - '4': 1, - '5': 8, - '8': {'3': true}, - '10': 'deprecatedLegacyJsonFieldConflicts', - }, - {'1': 'features', '3': 12, '4': 1, '5': 11, '6': '.google.protobuf.FeatureSet', '10': 'features'}, {'1': 'uninterpreted_option', '3': 999, '4': 3, '5': 11, '6': '.google.protobuf.UninterpretedOption', '10': 'uninterpretedOption'}, ], '5': [ {'1': 1000, '2': 536870912}, ], '9': [ - {'1': 4, '2': 5}, - {'1': 5, '2': 6}, - {'1': 6, '2': 7}, {'1': 8, '2': 9}, {'1': 9, '2': 10}, ], @@ -549,12 +406,9 @@ final $typed_data.Uint8List messageOptionsDescriptor = $convert.base64Decode( 'VSFG1lc3NhZ2VTZXRXaXJlRm9ybWF0EkwKH25vX3N0YW5kYXJkX2Rlc2NyaXB0b3JfYWNjZXNz' 'b3IYAiABKAg6BWZhbHNlUhxub1N0YW5kYXJkRGVzY3JpcHRvckFjY2Vzc29yEiUKCmRlcHJlY2' 'F0ZWQYAyABKAg6BWZhbHNlUgpkZXByZWNhdGVkEhsKCW1hcF9lbnRyeRgHIAEoCFIIbWFwRW50' - 'cnkSVgomZGVwcmVjYXRlZF9sZWdhY3lfanNvbl9maWVsZF9jb25mbGljdHMYCyABKAhCAhgBUi' - 'JkZXByZWNhdGVkTGVnYWN5SnNvbkZpZWxkQ29uZmxpY3RzEjcKCGZlYXR1cmVzGAwgASgLMhsu' - 'Z29vZ2xlLnByb3RvYnVmLkZlYXR1cmVTZXRSCGZlYXR1cmVzElgKFHVuaW50ZXJwcmV0ZWRfb3' - 'B0aW9uGOcHIAMoCzIkLmdvb2dsZS5wcm90b2J1Zi5VbmludGVycHJldGVkT3B0aW9uUhN1bmlu' - 'dGVycHJldGVkT3B0aW9uKgkI6AcQgICAgAJKBAgEEAVKBAgFEAZKBAgGEAdKBAgIEAlKBAgJEA' - 'o='); + 'cnkSWAoUdW5pbnRlcnByZXRlZF9vcHRpb24Y5wcgAygLMiQuZ29vZ2xlLnByb3RvYnVmLlVuaW' + '50ZXJwcmV0ZWRPcHRpb25SE3VuaW50ZXJwcmV0ZWRPcHRpb24qCQjoBxCAgICAAkoECAgQCUoE' + 'CAkQCg=='); @$core.Deprecated('Use fieldOptionsDescriptor instead') const FieldOptions$json = { @@ -564,54 +418,16 @@ const FieldOptions$json = { {'1': 'packed', '3': 2, '4': 1, '5': 8, '10': 'packed'}, {'1': 'jstype', '3': 6, '4': 1, '5': 14, '6': '.google.protobuf.FieldOptions.JSType', '7': 'JS_NORMAL', '10': 'jstype'}, {'1': 'lazy', '3': 5, '4': 1, '5': 8, '7': 'false', '10': 'lazy'}, - {'1': 'unverified_lazy', '3': 15, '4': 1, '5': 8, '7': 'false', '10': 'unverifiedLazy'}, {'1': 'deprecated', '3': 3, '4': 1, '5': 8, '7': 'false', '10': 'deprecated'}, - { - '1': 'weak', - '3': 10, - '4': 1, - '5': 8, - '7': 'false', - '8': {'3': true}, - '10': 'weak', - }, - {'1': 'debug_redact', '3': 16, '4': 1, '5': 8, '7': 'false', '10': 'debugRedact'}, - {'1': 'retention', '3': 17, '4': 1, '5': 14, '6': '.google.protobuf.FieldOptions.OptionRetention', '10': 'retention'}, - {'1': 'targets', '3': 19, '4': 3, '5': 14, '6': '.google.protobuf.FieldOptions.OptionTargetType', '10': 'targets'}, - {'1': 'edition_defaults', '3': 20, '4': 3, '5': 11, '6': '.google.protobuf.FieldOptions.EditionDefault', '10': 'editionDefaults'}, - {'1': 'features', '3': 21, '4': 1, '5': 11, '6': '.google.protobuf.FeatureSet', '10': 'features'}, - {'1': 'feature_support', '3': 22, '4': 1, '5': 11, '6': '.google.protobuf.FieldOptions.FeatureSupport', '10': 'featureSupport'}, + {'1': 'weak', '3': 10, '4': 1, '5': 8, '7': 'false', '10': 'weak'}, {'1': 'uninterpreted_option', '3': 999, '4': 3, '5': 11, '6': '.google.protobuf.UninterpretedOption', '10': 'uninterpretedOption'}, ], - '3': [FieldOptions_EditionDefault$json, FieldOptions_FeatureSupport$json], - '4': [FieldOptions_CType$json, FieldOptions_JSType$json, FieldOptions_OptionRetention$json, FieldOptions_OptionTargetType$json], + '4': [FieldOptions_CType$json, FieldOptions_JSType$json], '5': [ {'1': 1000, '2': 536870912}, ], '9': [ {'1': 4, '2': 5}, - {'1': 18, '2': 19}, - ], -}; - -@$core.Deprecated('Use fieldOptionsDescriptor instead') -const FieldOptions_EditionDefault$json = { - '1': 'EditionDefault', - '2': [ - {'1': 'edition', '3': 3, '4': 1, '5': 14, '6': '.google.protobuf.Edition', '10': 'edition'}, - {'1': 'value', '3': 2, '4': 1, '5': 9, '10': 'value'}, - ], -}; - -@$core.Deprecated('Use fieldOptionsDescriptor instead') -const FieldOptions_FeatureSupport$json = { - '1': 'FeatureSupport', - '2': [ - {'1': 'edition_introduced', '3': 1, '4': 1, '5': 14, '6': '.google.protobuf.Edition', '10': 'editionIntroduced'}, - {'1': 'edition_deprecated', '3': 2, '4': 1, '5': 14, '6': '.google.protobuf.Edition', '10': 'editionDeprecated'}, - {'1': 'deprecation_warning', '3': 3, '4': 1, '5': 9, '10': 'deprecationWarning'}, - {'1': 'edition_removed', '3': 4, '4': 1, '5': 14, '6': '.google.protobuf.Edition', '10': 'editionRemoved'}, - {'1': 'removal_error', '3': 5, '4': 1, '5': 9, '10': 'removalError'}, ], }; @@ -635,73 +451,22 @@ const FieldOptions_JSType$json = { ], }; -@$core.Deprecated('Use fieldOptionsDescriptor instead') -const FieldOptions_OptionRetention$json = { - '1': 'OptionRetention', - '2': [ - {'1': 'RETENTION_UNKNOWN', '2': 0}, - {'1': 'RETENTION_RUNTIME', '2': 1}, - {'1': 'RETENTION_SOURCE', '2': 2}, - ], -}; - -@$core.Deprecated('Use fieldOptionsDescriptor instead') -const FieldOptions_OptionTargetType$json = { - '1': 'OptionTargetType', - '2': [ - {'1': 'TARGET_TYPE_UNKNOWN', '2': 0}, - {'1': 'TARGET_TYPE_FILE', '2': 1}, - {'1': 'TARGET_TYPE_EXTENSION_RANGE', '2': 2}, - {'1': 'TARGET_TYPE_MESSAGE', '2': 3}, - {'1': 'TARGET_TYPE_FIELD', '2': 4}, - {'1': 'TARGET_TYPE_ONEOF', '2': 5}, - {'1': 'TARGET_TYPE_ENUM', '2': 6}, - {'1': 'TARGET_TYPE_ENUM_ENTRY', '2': 7}, - {'1': 'TARGET_TYPE_SERVICE', '2': 8}, - {'1': 'TARGET_TYPE_METHOD', '2': 9}, - ], -}; - /// Descriptor for `FieldOptions`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List fieldOptionsDescriptor = $convert.base64Decode( 'CgxGaWVsZE9wdGlvbnMSQQoFY3R5cGUYASABKA4yIy5nb29nbGUucHJvdG9idWYuRmllbGRPcH' 'Rpb25zLkNUeXBlOgZTVFJJTkdSBWN0eXBlEhYKBnBhY2tlZBgCIAEoCFIGcGFja2VkEkcKBmpz' 'dHlwZRgGIAEoDjIkLmdvb2dsZS5wcm90b2J1Zi5GaWVsZE9wdGlvbnMuSlNUeXBlOglKU19OT1' - 'JNQUxSBmpzdHlwZRIZCgRsYXp5GAUgASgIOgVmYWxzZVIEbGF6eRIuCg91bnZlcmlmaWVkX2xh' - 'enkYDyABKAg6BWZhbHNlUg51bnZlcmlmaWVkTGF6eRIlCgpkZXByZWNhdGVkGAMgASgIOgVmYW' - 'xzZVIKZGVwcmVjYXRlZBIdCgR3ZWFrGAogASgIOgVmYWxzZUICGAFSBHdlYWsSKAoMZGVidWdf' - 'cmVkYWN0GBAgASgIOgVmYWxzZVILZGVidWdSZWRhY3QSSwoJcmV0ZW50aW9uGBEgASgOMi0uZ2' - '9vZ2xlLnByb3RvYnVmLkZpZWxkT3B0aW9ucy5PcHRpb25SZXRlbnRpb25SCXJldGVudGlvbhJI' - 'Cgd0YXJnZXRzGBMgAygOMi4uZ29vZ2xlLnByb3RvYnVmLkZpZWxkT3B0aW9ucy5PcHRpb25UYX' - 'JnZXRUeXBlUgd0YXJnZXRzElcKEGVkaXRpb25fZGVmYXVsdHMYFCADKAsyLC5nb29nbGUucHJv' - 'dG9idWYuRmllbGRPcHRpb25zLkVkaXRpb25EZWZhdWx0Ug9lZGl0aW9uRGVmYXVsdHMSNwoIZm' - 'VhdHVyZXMYFSABKAsyGy5nb29nbGUucHJvdG9idWYuRmVhdHVyZVNldFIIZmVhdHVyZXMSVQoP' - 'ZmVhdHVyZV9zdXBwb3J0GBYgASgLMiwuZ29vZ2xlLnByb3RvYnVmLkZpZWxkT3B0aW9ucy5GZW' - 'F0dXJlU3VwcG9ydFIOZmVhdHVyZVN1cHBvcnQSWAoUdW5pbnRlcnByZXRlZF9vcHRpb24Y5wcg' - 'AygLMiQuZ29vZ2xlLnByb3RvYnVmLlVuaW50ZXJwcmV0ZWRPcHRpb25SE3VuaW50ZXJwcmV0ZW' - 'RPcHRpb24aWgoORWRpdGlvbkRlZmF1bHQSMgoHZWRpdGlvbhgDIAEoDjIYLmdvb2dsZS5wcm90' - 'b2J1Zi5FZGl0aW9uUgdlZGl0aW9uEhQKBXZhbHVlGAIgASgJUgV2YWx1ZRq7AgoORmVhdHVyZV' - 'N1cHBvcnQSRwoSZWRpdGlvbl9pbnRyb2R1Y2VkGAEgASgOMhguZ29vZ2xlLnByb3RvYnVmLkVk' - 'aXRpb25SEWVkaXRpb25JbnRyb2R1Y2VkEkcKEmVkaXRpb25fZGVwcmVjYXRlZBgCIAEoDjIYLm' - 'dvb2dsZS5wcm90b2J1Zi5FZGl0aW9uUhFlZGl0aW9uRGVwcmVjYXRlZBIvChNkZXByZWNhdGlv' - 'bl93YXJuaW5nGAMgASgJUhJkZXByZWNhdGlvbldhcm5pbmcSQQoPZWRpdGlvbl9yZW1vdmVkGA' - 'QgASgOMhguZ29vZ2xlLnByb3RvYnVmLkVkaXRpb25SDmVkaXRpb25SZW1vdmVkEiMKDXJlbW92' - 'YWxfZXJyb3IYBSABKAlSDHJlbW92YWxFcnJvciIvCgVDVHlwZRIKCgZTVFJJTkcQABIICgRDT1' + 'JNQUxSBmpzdHlwZRIZCgRsYXp5GAUgASgIOgVmYWxzZVIEbGF6eRIlCgpkZXByZWNhdGVkGAMg' + 'ASgIOgVmYWxzZVIKZGVwcmVjYXRlZBIZCgR3ZWFrGAogASgIOgVmYWxzZVIEd2VhaxJYChR1bm' + 'ludGVycHJldGVkX29wdGlvbhjnByADKAsyJC5nb29nbGUucHJvdG9idWYuVW5pbnRlcnByZXRl' + 'ZE9wdGlvblITdW5pbnRlcnByZXRlZE9wdGlvbiIvCgVDVHlwZRIKCgZTVFJJTkcQABIICgRDT1' 'JEEAESEAoMU1RSSU5HX1BJRUNFEAIiNQoGSlNUeXBlEg0KCUpTX05PUk1BTBAAEg0KCUpTX1NU' - 'UklORxABEg0KCUpTX05VTUJFUhACIlUKD09wdGlvblJldGVudGlvbhIVChFSRVRFTlRJT05fVU' - '5LTk9XThAAEhUKEVJFVEVOVElPTl9SVU5USU1FEAESFAoQUkVURU5USU9OX1NPVVJDRRACIowC' - 'ChBPcHRpb25UYXJnZXRUeXBlEhcKE1RBUkdFVF9UWVBFX1VOS05PV04QABIUChBUQVJHRVRfVF' - 'lQRV9GSUxFEAESHwobVEFSR0VUX1RZUEVfRVhURU5TSU9OX1JBTkdFEAISFwoTVEFSR0VUX1RZ' - 'UEVfTUVTU0FHRRADEhUKEVRBUkdFVF9UWVBFX0ZJRUxEEAQSFQoRVEFSR0VUX1RZUEVfT05FT0' - 'YQBRIUChBUQVJHRVRfVFlQRV9FTlVNEAYSGgoWVEFSR0VUX1RZUEVfRU5VTV9FTlRSWRAHEhcK' - 'E1RBUkdFVF9UWVBFX1NFUlZJQ0UQCBIWChJUQVJHRVRfVFlQRV9NRVRIT0QQCSoJCOgHEICAgI' - 'ACSgQIBBAFSgQIEhAT'); + 'UklORxABEg0KCUpTX05VTUJFUhACKgkI6AcQgICAgAJKBAgEEAU='); @$core.Deprecated('Use oneofOptionsDescriptor instead') const OneofOptions$json = { '1': 'OneofOptions', '2': [ - {'1': 'features', '3': 1, '4': 1, '5': 11, '6': '.google.protobuf.FeatureSet', '10': 'features'}, {'1': 'uninterpreted_option', '3': 999, '4': 3, '5': 11, '6': '.google.protobuf.UninterpretedOption', '10': 'uninterpretedOption'}, ], '5': [ @@ -711,10 +476,9 @@ const OneofOptions$json = { /// Descriptor for `OneofOptions`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List oneofOptionsDescriptor = $convert.base64Decode( - 'CgxPbmVvZk9wdGlvbnMSNwoIZmVhdHVyZXMYASABKAsyGy5nb29nbGUucHJvdG9idWYuRmVhdH' - 'VyZVNldFIIZmVhdHVyZXMSWAoUdW5pbnRlcnByZXRlZF9vcHRpb24Y5wcgAygLMiQuZ29vZ2xl' - 'LnByb3RvYnVmLlVuaW50ZXJwcmV0ZWRPcHRpb25SE3VuaW50ZXJwcmV0ZWRPcHRpb24qCQjoBx' - 'CAgICAAg=='); + 'CgxPbmVvZk9wdGlvbnMSWAoUdW5pbnRlcnByZXRlZF9vcHRpb24Y5wcgAygLMiQuZ29vZ2xlLn' + 'Byb3RvYnVmLlVuaW50ZXJwcmV0ZWRPcHRpb25SE3VuaW50ZXJwcmV0ZWRPcHRpb24qCQjoBxCA' + 'gICAAg=='); @$core.Deprecated('Use enumOptionsDescriptor instead') const EnumOptions$json = { @@ -722,15 +486,6 @@ const EnumOptions$json = { '2': [ {'1': 'allow_alias', '3': 2, '4': 1, '5': 8, '10': 'allowAlias'}, {'1': 'deprecated', '3': 3, '4': 1, '5': 8, '7': 'false', '10': 'deprecated'}, - { - '1': 'deprecated_legacy_json_field_conflicts', - '3': 6, - '4': 1, - '5': 8, - '8': {'3': true}, - '10': 'deprecatedLegacyJsonFieldConflicts', - }, - {'1': 'features', '3': 7, '4': 1, '5': 11, '6': '.google.protobuf.FeatureSet', '10': 'features'}, {'1': 'uninterpreted_option', '3': 999, '4': 3, '5': 11, '6': '.google.protobuf.UninterpretedOption', '10': 'uninterpretedOption'}, ], '5': [ @@ -744,21 +499,15 @@ const EnumOptions$json = { /// Descriptor for `EnumOptions`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List enumOptionsDescriptor = $convert.base64Decode( 'CgtFbnVtT3B0aW9ucxIfCgthbGxvd19hbGlhcxgCIAEoCFIKYWxsb3dBbGlhcxIlCgpkZXByZW' - 'NhdGVkGAMgASgIOgVmYWxzZVIKZGVwcmVjYXRlZBJWCiZkZXByZWNhdGVkX2xlZ2FjeV9qc29u' - 'X2ZpZWxkX2NvbmZsaWN0cxgGIAEoCEICGAFSImRlcHJlY2F0ZWRMZWdhY3lKc29uRmllbGRDb2' - '5mbGljdHMSNwoIZmVhdHVyZXMYByABKAsyGy5nb29nbGUucHJvdG9idWYuRmVhdHVyZVNldFII' - 'ZmVhdHVyZXMSWAoUdW5pbnRlcnByZXRlZF9vcHRpb24Y5wcgAygLMiQuZ29vZ2xlLnByb3RvYn' - 'VmLlVuaW50ZXJwcmV0ZWRPcHRpb25SE3VuaW50ZXJwcmV0ZWRPcHRpb24qCQjoBxCAgICAAkoE' - 'CAUQBg=='); + 'NhdGVkGAMgASgIOgVmYWxzZVIKZGVwcmVjYXRlZBJYChR1bmludGVycHJldGVkX29wdGlvbhjn' + 'ByADKAsyJC5nb29nbGUucHJvdG9idWYuVW5pbnRlcnByZXRlZE9wdGlvblITdW5pbnRlcnByZX' + 'RlZE9wdGlvbioJCOgHEICAgIACSgQIBRAG'); @$core.Deprecated('Use enumValueOptionsDescriptor instead') const EnumValueOptions$json = { '1': 'EnumValueOptions', '2': [ {'1': 'deprecated', '3': 1, '4': 1, '5': 8, '7': 'false', '10': 'deprecated'}, - {'1': 'features', '3': 2, '4': 1, '5': 11, '6': '.google.protobuf.FeatureSet', '10': 'features'}, - {'1': 'debug_redact', '3': 3, '4': 1, '5': 8, '7': 'false', '10': 'debugRedact'}, - {'1': 'feature_support', '3': 4, '4': 1, '5': 11, '6': '.google.protobuf.FieldOptions.FeatureSupport', '10': 'featureSupport'}, {'1': 'uninterpreted_option', '3': 999, '4': 3, '5': 11, '6': '.google.protobuf.UninterpretedOption', '10': 'uninterpretedOption'}, ], '5': [ @@ -769,18 +518,13 @@ const EnumValueOptions$json = { /// Descriptor for `EnumValueOptions`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List enumValueOptionsDescriptor = $convert.base64Decode( 'ChBFbnVtVmFsdWVPcHRpb25zEiUKCmRlcHJlY2F0ZWQYASABKAg6BWZhbHNlUgpkZXByZWNhdG' - 'VkEjcKCGZlYXR1cmVzGAIgASgLMhsuZ29vZ2xlLnByb3RvYnVmLkZlYXR1cmVTZXRSCGZlYXR1' - 'cmVzEigKDGRlYnVnX3JlZGFjdBgDIAEoCDoFZmFsc2VSC2RlYnVnUmVkYWN0ElUKD2ZlYXR1cm' - 'Vfc3VwcG9ydBgEIAEoCzIsLmdvb2dsZS5wcm90b2J1Zi5GaWVsZE9wdGlvbnMuRmVhdHVyZVN1' - 'cHBvcnRSDmZlYXR1cmVTdXBwb3J0ElgKFHVuaW50ZXJwcmV0ZWRfb3B0aW9uGOcHIAMoCzIkLm' - 'dvb2dsZS5wcm90b2J1Zi5VbmludGVycHJldGVkT3B0aW9uUhN1bmludGVycHJldGVkT3B0aW9u' - 'KgkI6AcQgICAgAI='); + 'VkElgKFHVuaW50ZXJwcmV0ZWRfb3B0aW9uGOcHIAMoCzIkLmdvb2dsZS5wcm90b2J1Zi5Vbmlu' + 'dGVycHJldGVkT3B0aW9uUhN1bmludGVycHJldGVkT3B0aW9uKgkI6AcQgICAgAI='); @$core.Deprecated('Use serviceOptionsDescriptor instead') const ServiceOptions$json = { '1': 'ServiceOptions', '2': [ - {'1': 'features', '3': 34, '4': 1, '5': 11, '6': '.google.protobuf.FeatureSet', '10': 'features'}, {'1': 'deprecated', '3': 33, '4': 1, '5': 8, '7': 'false', '10': 'deprecated'}, {'1': 'uninterpreted_option', '3': 999, '4': 3, '5': 11, '6': '.google.protobuf.UninterpretedOption', '10': 'uninterpretedOption'}, ], @@ -791,10 +535,9 @@ const ServiceOptions$json = { /// Descriptor for `ServiceOptions`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List serviceOptionsDescriptor = $convert.base64Decode( - 'Cg5TZXJ2aWNlT3B0aW9ucxI3CghmZWF0dXJlcxgiIAEoCzIbLmdvb2dsZS5wcm90b2J1Zi5GZW' - 'F0dXJlU2V0UghmZWF0dXJlcxIlCgpkZXByZWNhdGVkGCEgASgIOgVmYWxzZVIKZGVwcmVjYXRl' - 'ZBJYChR1bmludGVycHJldGVkX29wdGlvbhjnByADKAsyJC5nb29nbGUucHJvdG9idWYuVW5pbn' - 'RlcnByZXRlZE9wdGlvblITdW5pbnRlcnByZXRlZE9wdGlvbioJCOgHEICAgIAC'); + 'Cg5TZXJ2aWNlT3B0aW9ucxIlCgpkZXByZWNhdGVkGCEgASgIOgVmYWxzZVIKZGVwcmVjYXRlZB' + 'JYChR1bmludGVycHJldGVkX29wdGlvbhjnByADKAsyJC5nb29nbGUucHJvdG9idWYuVW5pbnRl' + 'cnByZXRlZE9wdGlvblITdW5pbnRlcnByZXRlZE9wdGlvbioJCOgHEICAgIAC'); @$core.Deprecated('Use methodOptionsDescriptor instead') const MethodOptions$json = { @@ -802,7 +545,6 @@ const MethodOptions$json = { '2': [ {'1': 'deprecated', '3': 33, '4': 1, '5': 8, '7': 'false', '10': 'deprecated'}, {'1': 'idempotency_level', '3': 34, '4': 1, '5': 14, '6': '.google.protobuf.MethodOptions.IdempotencyLevel', '7': 'IDEMPOTENCY_UNKNOWN', '10': 'idempotencyLevel'}, - {'1': 'features', '3': 35, '4': 1, '5': 11, '6': '.google.protobuf.FeatureSet', '10': 'features'}, {'1': 'uninterpreted_option', '3': 999, '4': 3, '5': 11, '6': '.google.protobuf.UninterpretedOption', '10': 'uninterpretedOption'}, ], '4': [MethodOptions_IdempotencyLevel$json], @@ -826,11 +568,10 @@ final $typed_data.Uint8List methodOptionsDescriptor = $convert.base64Decode( 'Cg1NZXRob2RPcHRpb25zEiUKCmRlcHJlY2F0ZWQYISABKAg6BWZhbHNlUgpkZXByZWNhdGVkEn' 'EKEWlkZW1wb3RlbmN5X2xldmVsGCIgASgOMi8uZ29vZ2xlLnByb3RvYnVmLk1ldGhvZE9wdGlv' 'bnMuSWRlbXBvdGVuY3lMZXZlbDoTSURFTVBPVEVOQ1lfVU5LTk9XTlIQaWRlbXBvdGVuY3lMZX' - 'ZlbBI3CghmZWF0dXJlcxgjIAEoCzIbLmdvb2dsZS5wcm90b2J1Zi5GZWF0dXJlU2V0UghmZWF0' - 'dXJlcxJYChR1bmludGVycHJldGVkX29wdGlvbhjnByADKAsyJC5nb29nbGUucHJvdG9idWYuVW' - '5pbnRlcnByZXRlZE9wdGlvblITdW5pbnRlcnByZXRlZE9wdGlvbiJQChBJZGVtcG90ZW5jeUxl' - 'dmVsEhcKE0lERU1QT1RFTkNZX1VOS05PV04QABITCg9OT19TSURFX0VGRkVDVFMQARIOCgpJRE' - 'VNUE9URU5UEAIqCQjoBxCAgICAAg=='); + 'ZlbBJYChR1bmludGVycHJldGVkX29wdGlvbhjnByADKAsyJC5nb29nbGUucHJvdG9idWYuVW5p' + 'bnRlcnByZXRlZE9wdGlvblITdW5pbnRlcnByZXRlZE9wdGlvbiJQChBJZGVtcG90ZW5jeUxldm' + 'VsEhcKE0lERU1QT1RFTkNZX1VOS05PV04QABITCg9OT19TSURFX0VGRkVDVFMQARIOCgpJREVN' + 'UE9URU5UEAIqCQjoBxCAgICAAg=='); @$core.Deprecated('Use uninterpretedOptionDescriptor instead') const UninterpretedOption$json = { @@ -867,330 +608,6 @@ final $typed_data.Uint8List uninterpretedOptionDescriptor = $convert.base64Decod 'ZRpKCghOYW1lUGFydBIbCgluYW1lX3BhcnQYASACKAlSCG5hbWVQYXJ0EiEKDGlzX2V4dGVuc2' 'lvbhgCIAIoCFILaXNFeHRlbnNpb24='); -@$core.Deprecated('Use featureSetDescriptor instead') -const FeatureSet$json = { - '1': 'FeatureSet', - '2': [ - { - '1': 'field_presence', - '3': 1, - '4': 1, - '5': 14, - '6': '.google.protobuf.FeatureSet.FieldPresence', - '8': { - '17': 1, - '19': [4, 1], - '20': [ - {'2': 'EXPLICIT', '3': 900}, - {'2': 'IMPLICIT', '3': 999}, - {'2': 'EXPLICIT', '3': 1000}, - ], - '22': {'1': 1000}, - }, - '10': 'fieldPresence', - }, - { - '1': 'enum_type', - '3': 2, - '4': 1, - '5': 14, - '6': '.google.protobuf.FeatureSet.EnumType', - '8': { - '17': 1, - '19': [6, 1], - '20': [ - {'2': 'CLOSED', '3': 900}, - {'2': 'OPEN', '3': 999}, - ], - '22': {'1': 1000}, - }, - '10': 'enumType', - }, - { - '1': 'repeated_field_encoding', - '3': 3, - '4': 1, - '5': 14, - '6': '.google.protobuf.FeatureSet.RepeatedFieldEncoding', - '8': { - '17': 1, - '19': [4, 1], - '20': [ - {'2': 'EXPANDED', '3': 900}, - {'2': 'PACKED', '3': 999}, - ], - '22': {'1': 1000}, - }, - '10': 'repeatedFieldEncoding', - }, - { - '1': 'utf8_validation', - '3': 4, - '4': 1, - '5': 14, - '6': '.google.protobuf.FeatureSet.Utf8Validation', - '8': { - '17': 1, - '19': [4, 1], - '20': [ - {'2': 'NONE', '3': 900}, - {'2': 'VERIFY', '3': 999}, - ], - '22': {'1': 1000}, - }, - '10': 'utf8Validation', - }, - { - '1': 'message_encoding', - '3': 5, - '4': 1, - '5': 14, - '6': '.google.protobuf.FeatureSet.MessageEncoding', - '8': { - '17': 1, - '19': [4, 1], - '20': [ - {'2': 'LENGTH_PREFIXED', '3': 900}, - ], - '22': {'1': 1000}, - }, - '10': 'messageEncoding', - }, - { - '1': 'json_format', - '3': 6, - '4': 1, - '5': 14, - '6': '.google.protobuf.FeatureSet.JsonFormat', - '8': { - '17': 1, - '19': [3, 6, 1], - '20': [ - {'2': 'LEGACY_BEST_EFFORT', '3': 900}, - {'2': 'ALLOW', '3': 999}, - ], - '22': {'1': 1000}, - }, - '10': 'jsonFormat', - }, - { - '1': 'enforce_naming_style', - '3': 7, - '4': 1, - '5': 14, - '6': '.google.protobuf.FeatureSet.EnforceNamingStyle', - '8': { - '17': 2, - '19': [1, 2, 3, 4, 5, 6, 7, 8, 9], - '20': [ - {'2': 'STYLE_LEGACY', '3': 900}, - {'2': 'STYLE2024', '3': 1001}, - ], - '22': {'1': 1001}, - }, - '10': 'enforceNamingStyle', - }, - { - '1': 'default_symbol_visibility', - '3': 8, - '4': 1, - '5': 14, - '6': '.google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility', - '8': { - '17': 2, - '19': [1], - '20': [ - {'2': 'EXPORT_ALL', '3': 900}, - {'2': 'EXPORT_TOP_LEVEL', '3': 1001}, - ], - '22': {'1': 1001}, - }, - '10': 'defaultSymbolVisibility', - }, - ], - '3': [FeatureSet_VisibilityFeature$json], - '4': [FeatureSet_FieldPresence$json, FeatureSet_EnumType$json, FeatureSet_RepeatedFieldEncoding$json, FeatureSet_Utf8Validation$json, FeatureSet_MessageEncoding$json, FeatureSet_JsonFormat$json, FeatureSet_EnforceNamingStyle$json], - '5': [ - {'1': 1000, '2': 9995}, - {'1': 9995, '2': 10000}, - {'1': 10000, '2': 10001}, - ], - '9': [ - {'1': 999, '2': 1000}, - ], -}; - -@$core.Deprecated('Use featureSetDescriptor instead') -const FeatureSet_VisibilityFeature$json = { - '1': 'VisibilityFeature', - '4': [FeatureSet_VisibilityFeature_DefaultSymbolVisibility$json], - '9': [ - {'1': 1, '2': 536870912}, - ], -}; - -@$core.Deprecated('Use featureSetDescriptor instead') -const FeatureSet_VisibilityFeature_DefaultSymbolVisibility$json = { - '1': 'DefaultSymbolVisibility', - '2': [ - {'1': 'DEFAULT_SYMBOL_VISIBILITY_UNKNOWN', '2': 0}, - {'1': 'EXPORT_ALL', '2': 1}, - {'1': 'EXPORT_TOP_LEVEL', '2': 2}, - {'1': 'LOCAL_ALL', '2': 3}, - {'1': 'STRICT', '2': 4}, - ], -}; - -@$core.Deprecated('Use featureSetDescriptor instead') -const FeatureSet_FieldPresence$json = { - '1': 'FieldPresence', - '2': [ - {'1': 'FIELD_PRESENCE_UNKNOWN', '2': 0}, - {'1': 'EXPLICIT', '2': 1}, - {'1': 'IMPLICIT', '2': 2}, - {'1': 'LEGACY_REQUIRED', '2': 3}, - ], -}; - -@$core.Deprecated('Use featureSetDescriptor instead') -const FeatureSet_EnumType$json = { - '1': 'EnumType', - '2': [ - {'1': 'ENUM_TYPE_UNKNOWN', '2': 0}, - {'1': 'OPEN', '2': 1}, - {'1': 'CLOSED', '2': 2}, - ], -}; - -@$core.Deprecated('Use featureSetDescriptor instead') -const FeatureSet_RepeatedFieldEncoding$json = { - '1': 'RepeatedFieldEncoding', - '2': [ - {'1': 'REPEATED_FIELD_ENCODING_UNKNOWN', '2': 0}, - {'1': 'PACKED', '2': 1}, - {'1': 'EXPANDED', '2': 2}, - ], -}; - -@$core.Deprecated('Use featureSetDescriptor instead') -const FeatureSet_Utf8Validation$json = { - '1': 'Utf8Validation', - '2': [ - {'1': 'UTF8_VALIDATION_UNKNOWN', '2': 0}, - {'1': 'VERIFY', '2': 2}, - {'1': 'NONE', '2': 3}, - ], - '4': [ - {'1': 1, '2': 1}, - ], -}; - -@$core.Deprecated('Use featureSetDescriptor instead') -const FeatureSet_MessageEncoding$json = { - '1': 'MessageEncoding', - '2': [ - {'1': 'MESSAGE_ENCODING_UNKNOWN', '2': 0}, - {'1': 'LENGTH_PREFIXED', '2': 1}, - {'1': 'DELIMITED', '2': 2}, - ], -}; - -@$core.Deprecated('Use featureSetDescriptor instead') -const FeatureSet_JsonFormat$json = { - '1': 'JsonFormat', - '2': [ - {'1': 'JSON_FORMAT_UNKNOWN', '2': 0}, - {'1': 'ALLOW', '2': 1}, - {'1': 'LEGACY_BEST_EFFORT', '2': 2}, - ], -}; - -@$core.Deprecated('Use featureSetDescriptor instead') -const FeatureSet_EnforceNamingStyle$json = { - '1': 'EnforceNamingStyle', - '2': [ - {'1': 'ENFORCE_NAMING_STYLE_UNKNOWN', '2': 0}, - {'1': 'STYLE2024', '2': 1}, - {'1': 'STYLE_LEGACY', '2': 2}, - ], -}; - -/// Descriptor for `FeatureSet`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List featureSetDescriptor = $convert.base64Decode( - 'CgpGZWF0dXJlU2V0EpEBCg5maWVsZF9wcmVzZW5jZRgBIAEoDjIpLmdvb2dsZS5wcm90b2J1Zi' - '5GZWF0dXJlU2V0LkZpZWxkUHJlc2VuY2VCP4gBAZgBBJgBAaIBDRIIRVhQTElDSVQYhAeiAQ0S' - 'CElNUExJQ0lUGOcHogENEghFWFBMSUNJVBjoB7IBAwjoB1INZmllbGRQcmVzZW5jZRJsCgllbn' - 'VtX3R5cGUYAiABKA4yJC5nb29nbGUucHJvdG9idWYuRmVhdHVyZVNldC5FbnVtVHlwZUIpiAEB' - 'mAEGmAEBogELEgZDTE9TRUQYhAeiAQkSBE9QRU4Y5weyAQMI6AdSCGVudW1UeXBlEpgBChdyZX' - 'BlYXRlZF9maWVsZF9lbmNvZGluZxgDIAEoDjIxLmdvb2dsZS5wcm90b2J1Zi5GZWF0dXJlU2V0' - 'LlJlcGVhdGVkRmllbGRFbmNvZGluZ0ItiAEBmAEEmAEBogENEghFWFBBTkRFRBiEB6IBCxIGUE' - 'FDS0VEGOcHsgEDCOgHUhVyZXBlYXRlZEZpZWxkRW5jb2RpbmcSfgoPdXRmOF92YWxpZGF0aW9u' - 'GAQgASgOMiouZ29vZ2xlLnByb3RvYnVmLkZlYXR1cmVTZXQuVXRmOFZhbGlkYXRpb25CKYgBAZ' - 'gBBJgBAaIBCRIETk9ORRiEB6IBCxIGVkVSSUZZGOcHsgEDCOgHUg51dGY4VmFsaWRhdGlvbhJ+' - 'ChBtZXNzYWdlX2VuY29kaW5nGAUgASgOMisuZ29vZ2xlLnByb3RvYnVmLkZlYXR1cmVTZXQuTW' - 'Vzc2FnZUVuY29kaW5nQiaIAQGYAQSYAQGiARQSD0xFTkdUSF9QUkVGSVhFRBiEB7IBAwjoB1IP' - 'bWVzc2FnZUVuY29kaW5nEoIBCgtqc29uX2Zvcm1hdBgGIAEoDjImLmdvb2dsZS5wcm90b2J1Zi' - '5GZWF0dXJlU2V0Lkpzb25Gb3JtYXRCOYgBAZgBA5gBBpgBAaIBFxISTEVHQUNZX0JFU1RfRUZG' - 'T1JUGIQHogEKEgVBTExPVxjnB7IBAwjoB1IKanNvbkZvcm1hdBKrAQoUZW5mb3JjZV9uYW1pbm' - 'dfc3R5bGUYByABKA4yLi5nb29nbGUucHJvdG9idWYuRmVhdHVyZVNldC5FbmZvcmNlTmFtaW5n' - 'U3R5bGVCSYgBApgBAZgBApgBA5gBBJgBBZgBBpgBB5gBCJgBCaIBERIMU1RZTEVfTEVHQUNZGI' - 'QHogEOEglTVFlMRTIwMjQY6QeyAQMI6QdSEmVuZm9yY2VOYW1pbmdTdHlsZRK5AQoZZGVmYXVs' - 'dF9zeW1ib2xfdmlzaWJpbGl0eRgIIAEoDjJFLmdvb2dsZS5wcm90b2J1Zi5GZWF0dXJlU2V0Ll' - 'Zpc2liaWxpdHlGZWF0dXJlLkRlZmF1bHRTeW1ib2xWaXNpYmlsaXR5QjaIAQKYAQGiAQ8SCkVY' - 'UE9SVF9BTEwYhAeiARUSEEVYUE9SVF9UT1BfTEVWRUwY6QeyAQMI6QdSF2RlZmF1bHRTeW1ib2' - 'xWaXNpYmlsaXR5GqEBChFWaXNpYmlsaXR5RmVhdHVyZSKBAQoXRGVmYXVsdFN5bWJvbFZpc2li' - 'aWxpdHkSJQohREVGQVVMVF9TWU1CT0xfVklTSUJJTElUWV9VTktOT1dOEAASDgoKRVhQT1JUX0' - 'FMTBABEhQKEEVYUE9SVF9UT1BfTEVWRUwQAhINCglMT0NBTF9BTEwQAxIKCgZTVFJJQ1QQBEoI' - 'CAEQgICAgAIiXAoNRmllbGRQcmVzZW5jZRIaChZGSUVMRF9QUkVTRU5DRV9VTktOT1dOEAASDA' - 'oIRVhQTElDSVQQARIMCghJTVBMSUNJVBACEhMKD0xFR0FDWV9SRVFVSVJFRBADIjcKCEVudW1U' - 'eXBlEhUKEUVOVU1fVFlQRV9VTktOT1dOEAASCAoET1BFThABEgoKBkNMT1NFRBACIlYKFVJlcG' - 'VhdGVkRmllbGRFbmNvZGluZxIjCh9SRVBFQVRFRF9GSUVMRF9FTkNPRElOR19VTktOT1dOEAAS' - 'CgoGUEFDS0VEEAESDAoIRVhQQU5ERUQQAiJJCg5VdGY4VmFsaWRhdGlvbhIbChdVVEY4X1ZBTE' - 'lEQVRJT05fVU5LTk9XThAAEgoKBlZFUklGWRACEggKBE5PTkUQAyIECAEQASJTCg9NZXNzYWdl' - 'RW5jb2RpbmcSHAoYTUVTU0FHRV9FTkNPRElOR19VTktOT1dOEAASEwoPTEVOR1RIX1BSRUZJWE' - 'VEEAESDQoJREVMSU1JVEVEEAIiSAoKSnNvbkZvcm1hdBIXChNKU09OX0ZPUk1BVF9VTktOT1dO' - 'EAASCQoFQUxMT1cQARIWChJMRUdBQ1lfQkVTVF9FRkZPUlQQAiJXChJFbmZvcmNlTmFtaW5nU3' - 'R5bGUSIAocRU5GT1JDRV9OQU1JTkdfU1RZTEVfVU5LTk9XThAAEg0KCVNUWUxFMjAyNBABEhAK' - 'DFNUWUxFX0xFR0FDWRACKgYI6AcQi04qBgiLThCQTioGCJBOEJFOSgYI5wcQ6Ac='); - -@$core.Deprecated('Use featureSetDefaultsDescriptor instead') -const FeatureSetDefaults$json = { - '1': 'FeatureSetDefaults', - '2': [ - {'1': 'defaults', '3': 1, '4': 3, '5': 11, '6': '.google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault', '10': 'defaults'}, - {'1': 'minimum_edition', '3': 4, '4': 1, '5': 14, '6': '.google.protobuf.Edition', '10': 'minimumEdition'}, - {'1': 'maximum_edition', '3': 5, '4': 1, '5': 14, '6': '.google.protobuf.Edition', '10': 'maximumEdition'}, - ], - '3': [FeatureSetDefaults_FeatureSetEditionDefault$json], -}; - -@$core.Deprecated('Use featureSetDefaultsDescriptor instead') -const FeatureSetDefaults_FeatureSetEditionDefault$json = { - '1': 'FeatureSetEditionDefault', - '2': [ - {'1': 'edition', '3': 3, '4': 1, '5': 14, '6': '.google.protobuf.Edition', '10': 'edition'}, - {'1': 'overridable_features', '3': 4, '4': 1, '5': 11, '6': '.google.protobuf.FeatureSet', '10': 'overridableFeatures'}, - {'1': 'fixed_features', '3': 5, '4': 1, '5': 11, '6': '.google.protobuf.FeatureSet', '10': 'fixedFeatures'}, - ], - '9': [ - {'1': 1, '2': 2}, - {'1': 2, '2': 3}, - ], - '10': ['features'], -}; - -/// Descriptor for `FeatureSetDefaults`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List featureSetDefaultsDescriptor = $convert.base64Decode( - 'ChJGZWF0dXJlU2V0RGVmYXVsdHMSWAoIZGVmYXVsdHMYASADKAsyPC5nb29nbGUucHJvdG9idW' - 'YuRmVhdHVyZVNldERlZmF1bHRzLkZlYXR1cmVTZXRFZGl0aW9uRGVmYXVsdFIIZGVmYXVsdHMS' - 'QQoPbWluaW11bV9lZGl0aW9uGAQgASgOMhguZ29vZ2xlLnByb3RvYnVmLkVkaXRpb25SDm1pbm' - 'ltdW1FZGl0aW9uEkEKD21heGltdW1fZWRpdGlvbhgFIAEoDjIYLmdvb2dsZS5wcm90b2J1Zi5F' - 'ZGl0aW9uUg5tYXhpbXVtRWRpdGlvbhr4AQoYRmVhdHVyZVNldEVkaXRpb25EZWZhdWx0EjIKB2' - 'VkaXRpb24YAyABKA4yGC5nb29nbGUucHJvdG9idWYuRWRpdGlvblIHZWRpdGlvbhJOChRvdmVy' - 'cmlkYWJsZV9mZWF0dXJlcxgEIAEoCzIbLmdvb2dsZS5wcm90b2J1Zi5GZWF0dXJlU2V0UhNvdm' - 'VycmlkYWJsZUZlYXR1cmVzEkIKDmZpeGVkX2ZlYXR1cmVzGAUgASgLMhsuZ29vZ2xlLnByb3Rv' - 'YnVmLkZlYXR1cmVTZXRSDWZpeGVkRmVhdHVyZXNKBAgBEAJKBAgCEANSCGZlYXR1cmVz'); - @$core.Deprecated('Use sourceCodeInfoDescriptor instead') const SourceCodeInfo$json = { '1': 'SourceCodeInfo', @@ -1198,9 +615,6 @@ const SourceCodeInfo$json = { {'1': 'location', '3': 1, '4': 3, '5': 11, '6': '.google.protobuf.SourceCodeInfo.Location', '10': 'location'}, ], '3': [SourceCodeInfo_Location$json], - '5': [ - {'1': 536000000, '2': 536000001}, - ], }; @$core.Deprecated('Use sourceCodeInfoDescriptor instead') @@ -1236,7 +650,7 @@ final $typed_data.Uint8List sourceCodeInfoDescriptor = $convert.base64Decode( 'KAVCAhABUgRwYXRoEhYKBHNwYW4YAiADKAVCAhABUgRzcGFuEikKEGxlYWRpbmdfY29tbWVudH' 'MYAyABKAlSD2xlYWRpbmdDb21tZW50cxIrChF0cmFpbGluZ19jb21tZW50cxgEIAEoCVIQdHJh' 'aWxpbmdDb21tZW50cxI6ChlsZWFkaW5nX2RldGFjaGVkX2NvbW1lbnRzGAYgAygJUhdsZWFkaW' - '5nRGV0YWNoZWRDb21tZW50cyoMCIDsyv8BEIHsyv8B'); + '5nRGV0YWNoZWRDb21tZW50cw=='); @$core.Deprecated('Use generatedCodeInfoDescriptor instead') const GeneratedCodeInfo$json = { @@ -1262,28 +676,13 @@ const GeneratedCodeInfo_Annotation$json = { {'1': 'source_file', '3': 2, '4': 1, '5': 9, '10': 'sourceFile'}, {'1': 'begin', '3': 3, '4': 1, '5': 5, '10': 'begin'}, {'1': 'end', '3': 4, '4': 1, '5': 5, '10': 'end'}, - {'1': 'semantic', '3': 5, '4': 1, '5': 14, '6': '.google.protobuf.GeneratedCodeInfo.Annotation.Semantic', '10': 'semantic'}, - ], - '4': [GeneratedCodeInfo_Annotation_Semantic$json], -}; - -@$core.Deprecated('Use generatedCodeInfoDescriptor instead') -const GeneratedCodeInfo_Annotation_Semantic$json = { - '1': 'Semantic', - '2': [ - {'1': 'NONE', '2': 0}, - {'1': 'SET', '2': 1}, - {'1': 'ALIAS', '2': 2}, ], }; /// Descriptor for `GeneratedCodeInfo`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List generatedCodeInfoDescriptor = $convert.base64Decode( 'ChFHZW5lcmF0ZWRDb2RlSW5mbxJNCgphbm5vdGF0aW9uGAEgAygLMi0uZ29vZ2xlLnByb3RvYn' - 'VmLkdlbmVyYXRlZENvZGVJbmZvLkFubm90YXRpb25SCmFubm90YXRpb24a6wEKCkFubm90YXRp' - 'b24SFgoEcGF0aBgBIAMoBUICEAFSBHBhdGgSHwoLc291cmNlX2ZpbGUYAiABKAlSCnNvdXJjZU' - 'ZpbGUSFAoFYmVnaW4YAyABKAVSBWJlZ2luEhAKA2VuZBgEIAEoBVIDZW5kElIKCHNlbWFudGlj' - 'GAUgASgOMjYuZ29vZ2xlLnByb3RvYnVmLkdlbmVyYXRlZENvZGVJbmZvLkFubm90YXRpb24uU2' - 'VtYW50aWNSCHNlbWFudGljIigKCFNlbWFudGljEggKBE5PTkUQABIHCgNTRVQQARIJCgVBTElB' - 'UxAC'); + 'VmLkdlbmVyYXRlZENvZGVJbmZvLkFubm90YXRpb25SCmFubm90YXRpb24abQoKQW5ub3RhdGlv' + 'bhIWCgRwYXRoGAEgAygFQgIQAVIEcGF0aBIfCgtzb3VyY2VfZmlsZRgCIAEoCVIKc291cmNlRm' + 'lsZRIUCgViZWdpbhgDIAEoBVIFYmVnaW4SEAoDZW5kGAQgASgFUgNlbmQ='); diff --git a/lib/google/protobuf/empty.pb.dart b/lib/google/protobuf/empty.pb.dart index 15bdcea6..b9233997 100644 --- a/lib/google/protobuf/empty.pb.dart +++ b/lib/google/protobuf/empty.pb.dart @@ -23,6 +23,8 @@ export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions; /// service Foo { /// rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); /// } +/// +/// The JSON representation for `Empty` is empty JSON object `{}`. class Empty extends $pb.GeneratedMessage { factory Empty() => create(); diff --git a/lib/google/protobuf/struct.pb.dart b/lib/google/protobuf/struct.pb.dart index caf4194a..238437e1 100644 --- a/lib/google/protobuf/struct.pb.dart +++ b/lib/google/protobuf/struct.pb.dart @@ -83,8 +83,8 @@ enum Value_Kind { /// `Value` represents a dynamically typed value which can be either /// null, a number, a string, a boolean, a recursive struct value, or a -/// list of values. A producer of value is expected to set one of these -/// variants. Absence of any variant indicates an error. +/// list of values. A producer of value is expected to set one of that +/// variants, absence of any variant indicates an error. /// /// The JSON representation for `Value` is JSON value. class Value extends $pb.GeneratedMessage with $mixin.ValueMixin { diff --git a/lib/google/protobuf/struct.pbenum.dart b/lib/google/protobuf/struct.pbenum.dart index 5559256e..c8c5beb3 100644 --- a/lib/google/protobuf/struct.pbenum.dart +++ b/lib/google/protobuf/struct.pbenum.dart @@ -17,7 +17,7 @@ import 'package:protobuf/protobuf.dart' as $pb; /// `NullValue` is a singleton enumeration to represent the null value for the /// `Value` type union. /// -/// The JSON representation for `NullValue` is JSON `null`. +/// The JSON representation for `NullValue` is JSON `null`. class NullValue extends $pb.ProtobufEnum { /// Null value. static const NullValue NULL_VALUE = NullValue._(0, _omitEnumNames ? '' : 'NULL_VALUE'); diff --git a/lib/google/protobuf/timestamp.pb.dart b/lib/google/protobuf/timestamp.pb.dart index 1cb7df14..a8865f39 100644 --- a/lib/google/protobuf/timestamp.pb.dart +++ b/lib/google/protobuf/timestamp.pb.dart @@ -69,15 +69,8 @@ export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions; /// Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000) /// .setNanos((int) ((millis % 1000) * 1000000)).build(); /// -/// Example 5: Compute Timestamp from Java `Instant.now()`. /// -/// Instant now = Instant.now(); -/// -/// Timestamp timestamp = -/// Timestamp.newBuilder().setSeconds(now.getEpochSecond()) -/// .setNanos(now.getNano()).build(); -/// -/// Example 6: Compute Timestamp from current time in Python. +/// Example 5: Compute Timestamp from current time in Python. /// /// timestamp = Timestamp() /// timestamp.GetCurrentTime() @@ -91,8 +84,8 @@ export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions; /// {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional /// seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution), /// are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone -/// is required. A ProtoJSON serializer should always use UTC (as indicated by -/// "Z") when printing the Timestamp type and a ProtoJSON parser should be +/// is required. A proto3 JSON serializer should always use UTC (as indicated by +/// "Z") when printing the Timestamp type and a proto3 JSON parser should be /// able to accept both UTC and other timezones (as indicated by an offset). /// /// For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past @@ -106,7 +99,7 @@ export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions; /// [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with /// the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use /// the Joda Time's [`ISODateTimeFormat.dateTime()`]( -/// http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime() +/// http://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime%2D%2D /// ) to obtain a formatter capable of generating timestamps in this format. class Timestamp extends $pb.GeneratedMessage with $mixin.TimestampMixin { factory Timestamp({ @@ -147,9 +140,9 @@ class Timestamp extends $pb.GeneratedMessage with $mixin.TimestampMixin { static Timestamp getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static Timestamp? _defaultInstance; - /// Represents seconds of UTC time since Unix epoch 1970-01-01T00:00:00Z. Must - /// be between -62135596800 and 253402300799 inclusive (which corresponds to - /// 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z). + /// Represents seconds of UTC time since Unix epoch + /// 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to + /// 9999-12-31T23:59:59Z inclusive. @$pb.TagNumber(1) $fixnum.Int64 get seconds => $_getI64(0); @$pb.TagNumber(1) @@ -159,10 +152,9 @@ class Timestamp extends $pb.GeneratedMessage with $mixin.TimestampMixin { @$pb.TagNumber(1) void clearSeconds() => $_clearField(1); - /// Non-negative fractions of a second at nanosecond resolution. This field is - /// the nanosecond portion of the duration, not an alternative to seconds. - /// Negative second values with fractions must still have non-negative nanos - /// values that count forward in time. Must be between 0 and 999,999,999 + /// Non-negative fractions of a second at nanosecond resolution. Negative + /// second values with fractions must still have non-negative nanos values + /// that count forward in time. Must be from 0 to 999,999,999 /// inclusive. @$pb.TagNumber(2) $core.int get nanos => $_getIZ(1); diff --git a/lib/google/protobuf/type.pb.dart b/lib/google/protobuf/type.pb.dart index 1394f39d..24188958 100644 --- a/lib/google/protobuf/type.pb.dart +++ b/lib/google/protobuf/type.pb.dart @@ -23,11 +23,6 @@ export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions; export 'type.pbenum.dart'; /// A protocol buffer message type. -/// -/// New usages of this message as an alternative to DescriptorProto are strongly -/// discouraged. This message does not reliability preserve all information -/// necessary to model the schema and preserve semantics. Instead make use of -/// FileDescriptorSet which preserves the necessary information. class Type extends $pb.GeneratedMessage { factory Type({ $core.String? name, @@ -36,7 +31,6 @@ class Type extends $pb.GeneratedMessage { $core.Iterable