diff --git a/gen/dart/lib/google/protobuf/descriptor.pb.dart b/gen/dart/lib/google/protobuf/descriptor.pb.dart new file mode 100644 index 000000000..be07a662a --- /dev/null +++ b/gen/dart/lib/google/protobuf/descriptor.pb.dart @@ -0,0 +1,3903 @@ +// +// Generated code. Do not modify. +// source: google/protobuf/descriptor.proto +// +// @dart = 2.12 + +// ignore_for_file: annotate_overrides, camel_case_types, comment_references +// ignore_for_file: constant_identifier_names, library_prefixes +// ignore_for_file: non_constant_identifier_names, prefer_final_fields +// ignore_for_file: unnecessary_import, unnecessary_this, unused_import + +import 'dart:core' as $core; + +import 'package:fixnum/fixnum.dart' as $fixnum; +import 'package:protobuf/protobuf.dart' as $pb; + +import 'descriptor.pbenum.dart'; + +export 'descriptor.pbenum.dart'; + +/// The protocol compiler can output a FileDescriptorSet containing the .proto +/// files it parses. +class FileDescriptorSet extends $pb.GeneratedMessage { + factory FileDescriptorSet({ + $core.Iterable? file, + }) { + final $result = create(); + if (file != null) { + $result.file.addAll(file); + } + return $result; + } + FileDescriptorSet._() : super(); + factory FileDescriptorSet.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory FileDescriptorSet.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + 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) + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + FileDescriptorSet clone() => FileDescriptorSet()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + FileDescriptorSet copyWith(void Function(FileDescriptorSet) updates) => super.copyWith((message) => updates(message as FileDescriptorSet)) as FileDescriptorSet; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static FileDescriptorSet create() => FileDescriptorSet._(); + FileDescriptorSet createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static FileDescriptorSet getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static FileDescriptorSet? _defaultInstance; + + @$pb.TagNumber(1) + $core.List get file => $_getList(0); +} + +/// Describes a complete .proto file. +class FileDescriptorProto extends $pb.GeneratedMessage { + factory FileDescriptorProto({ + $core.String? name, + $core.String? package, + $core.Iterable<$core.String>? dependency, + $core.Iterable? messageType, + $core.Iterable? enumType, + $core.Iterable? service, + $core.Iterable? extension, + FileOptions? options, + SourceCodeInfo? sourceCodeInfo, + $core.Iterable<$core.int>? publicDependency, + $core.Iterable<$core.int>? weakDependency, + $core.String? syntax, + Edition? edition, + }) { + final $result = create(); + if (name != null) { + $result.name = name; + } + if (package != null) { + $result.package = package; + } + if (dependency != null) { + $result.dependency.addAll(dependency); + } + if (messageType != null) { + $result.messageType.addAll(messageType); + } + if (enumType != null) { + $result.enumType.addAll(enumType); + } + if (service != null) { + $result.service.addAll(service); + } + if (extension != null) { + $result.extension.addAll(extension); + } + if (options != null) { + $result.options = options; + } + if (sourceCodeInfo != null) { + $result.sourceCodeInfo = sourceCodeInfo; + } + 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; + } + return $result; + } + FileDescriptorProto._() : super(); + factory FileDescriptorProto.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory FileDescriptorProto.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'FileDescriptorProto', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'name') + ..aOS(2, _omitFieldNames ? '' : 'package') + ..pPS(3, _omitFieldNames ? '' : 'dependency') + ..pc(4, _omitFieldNames ? '' : 'messageType', $pb.PbFieldType.PM, subBuilder: DescriptorProto.create) + ..pc(5, _omitFieldNames ? '' : 'enumType', $pb.PbFieldType.PM, subBuilder: EnumDescriptorProto.create) + ..pc(6, _omitFieldNames ? '' : 'service', $pb.PbFieldType.PM, subBuilder: ServiceDescriptorProto.create) + ..pc(7, _omitFieldNames ? '' : 'extension', $pb.PbFieldType.PM, subBuilder: FieldDescriptorProto.create) + ..aOM(8, _omitFieldNames ? '' : 'options', subBuilder: FileOptions.create) + ..aOM(9, _omitFieldNames ? '' : 'sourceCodeInfo', subBuilder: SourceCodeInfo.create) + ..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) + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + FileDescriptorProto clone() => FileDescriptorProto()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + FileDescriptorProto copyWith(void Function(FileDescriptorProto) updates) => super.copyWith((message) => updates(message as FileDescriptorProto)) as FileDescriptorProto; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static FileDescriptorProto create() => FileDescriptorProto._(); + FileDescriptorProto createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static FileDescriptorProto getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static FileDescriptorProto? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get name => $_getSZ(0); + @$pb.TagNumber(1) + set name($core.String v) { $_setString(0, v); } + @$pb.TagNumber(1) + $core.bool hasName() => $_has(0); + @$pb.TagNumber(1) + void clearName() => clearField(1); + + @$pb.TagNumber(2) + $core.String get package => $_getSZ(1); + @$pb.TagNumber(2) + set package($core.String v) { $_setString(1, v); } + @$pb.TagNumber(2) + $core.bool hasPackage() => $_has(1); + @$pb.TagNumber(2) + void clearPackage() => clearField(2); + + /// Names of files imported by this file. + @$pb.TagNumber(3) + $core.List<$core.String> get dependency => $_getList(2); + + /// All top-level definitions in this file. + @$pb.TagNumber(4) + $core.List get messageType => $_getList(3); + + @$pb.TagNumber(5) + $core.List get enumType => $_getList(4); + + @$pb.TagNumber(6) + $core.List get service => $_getList(5); + + @$pb.TagNumber(7) + $core.List get extension => $_getList(6); + + @$pb.TagNumber(8) + FileOptions get options => $_getN(7); + @$pb.TagNumber(8) + set options(FileOptions v) { setField(8, v); } + @$pb.TagNumber(8) + $core.bool hasOptions() => $_has(7); + @$pb.TagNumber(8) + void clearOptions() => clearField(8); + @$pb.TagNumber(8) + FileOptions ensureOptions() => $_ensure(7); + + /// This field contains optional information about the original source code. + /// You may safely remove this entire field without harming runtime + /// functionality of the descriptors -- the information is needed only by + /// development tools. + @$pb.TagNumber(9) + SourceCodeInfo get sourceCodeInfo => $_getN(8); + @$pb.TagNumber(9) + set sourceCodeInfo(SourceCodeInfo v) { setField(9, v); } + @$pb.TagNumber(9) + $core.bool hasSourceCodeInfo() => $_has(8); + @$pb.TagNumber(9) + void clearSourceCodeInfo() => clearField(9); + @$pb.TagNumber(9) + SourceCodeInfo ensureSourceCodeInfo() => $_ensure(8); + + /// Indexes of the public imported files in the dependency list above. + @$pb.TagNumber(10) + $core.List<$core.int> get publicDependency => $_getList(9); + + /// Indexes of the weak imported files in the dependency list. + /// For Google-internal migration only. Do not use. + @$pb.TagNumber(11) + $core.List<$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". + @$pb.TagNumber(12) + $core.String get syntax => $_getSZ(11); + @$pb.TagNumber(12) + set syntax($core.String v) { $_setString(11, v); } + @$pb.TagNumber(12) + $core.bool hasSyntax() => $_has(11); + @$pb.TagNumber(12) + void clearSyntax() => clearField(12); + + /// The edition of the proto file. + @$pb.TagNumber(14) + Edition get edition => $_getN(12); + @$pb.TagNumber(14) + set edition(Edition v) { setField(14, v); } + @$pb.TagNumber(14) + $core.bool hasEdition() => $_has(12); + @$pb.TagNumber(14) + void clearEdition() => clearField(14); +} + +class DescriptorProto_ExtensionRange extends $pb.GeneratedMessage { + factory DescriptorProto_ExtensionRange({ + $core.int? start, + $core.int? end, + ExtensionRangeOptions? options, + }) { + final $result = create(); + if (start != null) { + $result.start = start; + } + if (end != null) { + $result.end = end; + } + if (options != null) { + $result.options = options; + } + return $result; + } + DescriptorProto_ExtensionRange._() : super(); + factory DescriptorProto_ExtensionRange.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory DescriptorProto_ExtensionRange.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DescriptorProto.ExtensionRange', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create) + ..a<$core.int>(1, _omitFieldNames ? '' : 'start', $pb.PbFieldType.O3) + ..a<$core.int>(2, _omitFieldNames ? '' : 'end', $pb.PbFieldType.O3) + ..aOM(3, _omitFieldNames ? '' : 'options', subBuilder: ExtensionRangeOptions.create) + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + DescriptorProto_ExtensionRange clone() => DescriptorProto_ExtensionRange()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + DescriptorProto_ExtensionRange copyWith(void Function(DescriptorProto_ExtensionRange) updates) => super.copyWith((message) => updates(message as DescriptorProto_ExtensionRange)) as DescriptorProto_ExtensionRange; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static DescriptorProto_ExtensionRange create() => DescriptorProto_ExtensionRange._(); + DescriptorProto_ExtensionRange createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static DescriptorProto_ExtensionRange getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static DescriptorProto_ExtensionRange? _defaultInstance; + + @$pb.TagNumber(1) + $core.int get start => $_getIZ(0); + @$pb.TagNumber(1) + set start($core.int v) { $_setSignedInt32(0, v); } + @$pb.TagNumber(1) + $core.bool hasStart() => $_has(0); + @$pb.TagNumber(1) + void clearStart() => clearField(1); + + @$pb.TagNumber(2) + $core.int get end => $_getIZ(1); + @$pb.TagNumber(2) + set end($core.int v) { $_setSignedInt32(1, v); } + @$pb.TagNumber(2) + $core.bool hasEnd() => $_has(1); + @$pb.TagNumber(2) + void clearEnd() => clearField(2); + + @$pb.TagNumber(3) + ExtensionRangeOptions get options => $_getN(2); + @$pb.TagNumber(3) + set options(ExtensionRangeOptions v) { setField(3, v); } + @$pb.TagNumber(3) + $core.bool hasOptions() => $_has(2); + @$pb.TagNumber(3) + void clearOptions() => clearField(3); + @$pb.TagNumber(3) + ExtensionRangeOptions ensureOptions() => $_ensure(2); +} + +/// Range of reserved tag numbers. Reserved tag numbers may not be used by +/// fields or extension ranges in the same message. Reserved ranges may +/// not overlap. +class DescriptorProto_ReservedRange extends $pb.GeneratedMessage { + factory DescriptorProto_ReservedRange({ + $core.int? start, + $core.int? end, + }) { + final $result = create(); + if (start != null) { + $result.start = start; + } + if (end != null) { + $result.end = end; + } + return $result; + } + DescriptorProto_ReservedRange._() : super(); + factory DescriptorProto_ReservedRange.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory DescriptorProto_ReservedRange.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DescriptorProto.ReservedRange', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create) + ..a<$core.int>(1, _omitFieldNames ? '' : 'start', $pb.PbFieldType.O3) + ..a<$core.int>(2, _omitFieldNames ? '' : 'end', $pb.PbFieldType.O3) + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + DescriptorProto_ReservedRange clone() => DescriptorProto_ReservedRange()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + DescriptorProto_ReservedRange copyWith(void Function(DescriptorProto_ReservedRange) updates) => super.copyWith((message) => updates(message as DescriptorProto_ReservedRange)) as DescriptorProto_ReservedRange; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static DescriptorProto_ReservedRange create() => DescriptorProto_ReservedRange._(); + DescriptorProto_ReservedRange createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static DescriptorProto_ReservedRange getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static DescriptorProto_ReservedRange? _defaultInstance; + + @$pb.TagNumber(1) + $core.int get start => $_getIZ(0); + @$pb.TagNumber(1) + set start($core.int v) { $_setSignedInt32(0, v); } + @$pb.TagNumber(1) + $core.bool hasStart() => $_has(0); + @$pb.TagNumber(1) + void clearStart() => clearField(1); + + @$pb.TagNumber(2) + $core.int get end => $_getIZ(1); + @$pb.TagNumber(2) + set end($core.int v) { $_setSignedInt32(1, v); } + @$pb.TagNumber(2) + $core.bool hasEnd() => $_has(1); + @$pb.TagNumber(2) + void clearEnd() => clearField(2); +} + +/// Describes a message type. +class DescriptorProto extends $pb.GeneratedMessage { + factory DescriptorProto({ + $core.String? name, + $core.Iterable? field, + $core.Iterable? nestedType, + $core.Iterable? enumType, + $core.Iterable? extensionRange, + $core.Iterable? extension, + MessageOptions? options, + $core.Iterable? oneofDecl, + $core.Iterable? reservedRange, + $core.Iterable<$core.String>? reservedName, + }) { + final $result = create(); + if (name != null) { + $result.name = name; + } + if (field != null) { + $result.field.addAll(field); + } + if (nestedType != null) { + $result.nestedType.addAll(nestedType); + } + if (enumType != null) { + $result.enumType.addAll(enumType); + } + if (extensionRange != null) { + $result.extensionRange.addAll(extensionRange); + } + if (extension != null) { + $result.extension.addAll(extension); + } + if (options != null) { + $result.options = options; + } + if (oneofDecl != null) { + $result.oneofDecl.addAll(oneofDecl); + } + if (reservedRange != null) { + $result.reservedRange.addAll(reservedRange); + } + if (reservedName != null) { + $result.reservedName.addAll(reservedName); + } + return $result; + } + DescriptorProto._() : super(); + factory DescriptorProto.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory DescriptorProto.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DescriptorProto', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'name') + ..pc(2, _omitFieldNames ? '' : 'field', $pb.PbFieldType.PM, subBuilder: FieldDescriptorProto.create) + ..pc(3, _omitFieldNames ? '' : 'nestedType', $pb.PbFieldType.PM, subBuilder: DescriptorProto.create) + ..pc(4, _omitFieldNames ? '' : 'enumType', $pb.PbFieldType.PM, subBuilder: EnumDescriptorProto.create) + ..pc(5, _omitFieldNames ? '' : 'extensionRange', $pb.PbFieldType.PM, subBuilder: DescriptorProto_ExtensionRange.create) + ..pc(6, _omitFieldNames ? '' : 'extension', $pb.PbFieldType.PM, subBuilder: FieldDescriptorProto.create) + ..aOM(7, _omitFieldNames ? '' : 'options', subBuilder: MessageOptions.create) + ..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') + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + DescriptorProto clone() => DescriptorProto()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + DescriptorProto copyWith(void Function(DescriptorProto) updates) => super.copyWith((message) => updates(message as DescriptorProto)) as DescriptorProto; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static DescriptorProto create() => DescriptorProto._(); + DescriptorProto createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static DescriptorProto getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static DescriptorProto? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get name => $_getSZ(0); + @$pb.TagNumber(1) + set name($core.String v) { $_setString(0, v); } + @$pb.TagNumber(1) + $core.bool hasName() => $_has(0); + @$pb.TagNumber(1) + void clearName() => clearField(1); + + @$pb.TagNumber(2) + $core.List get field => $_getList(1); + + @$pb.TagNumber(3) + $core.List get nestedType => $_getList(2); + + @$pb.TagNumber(4) + $core.List get enumType => $_getList(3); + + @$pb.TagNumber(5) + $core.List get extensionRange => $_getList(4); + + @$pb.TagNumber(6) + $core.List get extension => $_getList(5); + + @$pb.TagNumber(7) + MessageOptions get options => $_getN(6); + @$pb.TagNumber(7) + set options(MessageOptions v) { setField(7, v); } + @$pb.TagNumber(7) + $core.bool hasOptions() => $_has(6); + @$pb.TagNumber(7) + void clearOptions() => clearField(7); + @$pb.TagNumber(7) + MessageOptions ensureOptions() => $_ensure(6); + + @$pb.TagNumber(8) + $core.List get oneofDecl => $_getList(7); + + @$pb.TagNumber(9) + $core.List get reservedRange => $_getList(8); + + /// Reserved field names, which may not be used by fields in the same message. + /// A given name may only be reserved once. + @$pb.TagNumber(10) + $core.List<$core.String> get reservedName => $_getList(9); +} + +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._() : super(); + factory ExtensionRangeOptions_Declaration.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory ExtensionRangeOptions_Declaration.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + 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( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + ExtensionRangeOptions_Declaration clone() => ExtensionRangeOptions_Declaration()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + ExtensionRangeOptions_Declaration copyWith(void Function(ExtensionRangeOptions_Declaration) updates) => super.copyWith((message) => updates(message as ExtensionRangeOptions_Declaration)) as ExtensionRangeOptions_Declaration; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static ExtensionRangeOptions_Declaration create() => ExtensionRangeOptions_Declaration._(); + 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 v) { $_setSignedInt32(0, v); } + @$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 v) { $_setString(1, v); } + @$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 v) { $_setString(2, v); } + @$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 v) { $_setBool(3, v); } + @$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 v) { $_setBool(4, v); } + @$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; + } + ExtensionRangeOptions._() : super(); + factory ExtensionRangeOptions.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory ExtensionRangeOptions.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + 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 + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + ExtensionRangeOptions clone() => ExtensionRangeOptions()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + ExtensionRangeOptions copyWith(void Function(ExtensionRangeOptions) updates) => super.copyWith((message) => updates(message as ExtensionRangeOptions)) as ExtensionRangeOptions; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static ExtensionRangeOptions create() => ExtensionRangeOptions._(); + ExtensionRangeOptions createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + 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) + $core.List 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 v) { setField(3, v); } + @$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 v) { setField(50, v); } + @$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) + $core.List get uninterpretedOption => $_getList(3); +} + +/// Describes a field within a message. +class FieldDescriptorProto extends $pb.GeneratedMessage { + factory FieldDescriptorProto({ + $core.String? name, + $core.String? extendee, + $core.int? number, + FieldDescriptorProto_Label? label, + FieldDescriptorProto_Type? type, + $core.String? typeName, + $core.String? defaultValue, + FieldOptions? options, + $core.int? oneofIndex, + $core.String? jsonName, + $core.bool? proto3Optional, + }) { + final $result = create(); + if (name != null) { + $result.name = name; + } + if (extendee != null) { + $result.extendee = extendee; + } + if (number != null) { + $result.number = number; + } + if (label != null) { + $result.label = label; + } + if (type != null) { + $result.type = type; + } + if (typeName != null) { + $result.typeName = typeName; + } + if (defaultValue != null) { + $result.defaultValue = defaultValue; + } + 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; + } + FieldDescriptorProto._() : super(); + factory FieldDescriptorProto.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory FieldDescriptorProto.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'FieldDescriptorProto', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'name') + ..aOS(2, _omitFieldNames ? '' : 'extendee') + ..a<$core.int>(3, _omitFieldNames ? '' : 'number', $pb.PbFieldType.O3) + ..e(4, _omitFieldNames ? '' : 'label', $pb.PbFieldType.OE, defaultOrMaker: FieldDescriptorProto_Label.LABEL_OPTIONAL, valueOf: FieldDescriptorProto_Label.valueOf, enumValues: FieldDescriptorProto_Label.values) + ..e(5, _omitFieldNames ? '' : 'type', $pb.PbFieldType.OE, defaultOrMaker: FieldDescriptorProto_Type.TYPE_DOUBLE, valueOf: FieldDescriptorProto_Type.valueOf, enumValues: FieldDescriptorProto_Type.values) + ..aOS(6, _omitFieldNames ? '' : 'typeName') + ..aOS(7, _omitFieldNames ? '' : 'defaultValue') + ..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( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + FieldDescriptorProto clone() => FieldDescriptorProto()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + FieldDescriptorProto copyWith(void Function(FieldDescriptorProto) updates) => super.copyWith((message) => updates(message as FieldDescriptorProto)) as FieldDescriptorProto; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static FieldDescriptorProto create() => FieldDescriptorProto._(); + FieldDescriptorProto createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static FieldDescriptorProto getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static FieldDescriptorProto? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get name => $_getSZ(0); + @$pb.TagNumber(1) + set name($core.String v) { $_setString(0, v); } + @$pb.TagNumber(1) + $core.bool hasName() => $_has(0); + @$pb.TagNumber(1) + void clearName() => clearField(1); + + /// For extensions, this is the name of the type being extended. It is + /// resolved in the same manner as type_name. + @$pb.TagNumber(2) + $core.String get extendee => $_getSZ(1); + @$pb.TagNumber(2) + set extendee($core.String v) { $_setString(1, v); } + @$pb.TagNumber(2) + $core.bool hasExtendee() => $_has(1); + @$pb.TagNumber(2) + void clearExtendee() => clearField(2); + + @$pb.TagNumber(3) + $core.int get number => $_getIZ(2); + @$pb.TagNumber(3) + set number($core.int v) { $_setSignedInt32(2, v); } + @$pb.TagNumber(3) + $core.bool hasNumber() => $_has(2); + @$pb.TagNumber(3) + void clearNumber() => clearField(3); + + @$pb.TagNumber(4) + FieldDescriptorProto_Label get label => $_getN(3); + @$pb.TagNumber(4) + set label(FieldDescriptorProto_Label v) { setField(4, v); } + @$pb.TagNumber(4) + $core.bool hasLabel() => $_has(3); + @$pb.TagNumber(4) + void clearLabel() => clearField(4); + + /// If type_name is set, this need not be set. If both this and type_name + /// are set, this must be one of TYPE_ENUM, TYPE_MESSAGE or TYPE_GROUP. + @$pb.TagNumber(5) + FieldDescriptorProto_Type get type => $_getN(4); + @$pb.TagNumber(5) + set type(FieldDescriptorProto_Type v) { setField(5, v); } + @$pb.TagNumber(5) + $core.bool hasType() => $_has(4); + @$pb.TagNumber(5) + void clearType() => clearField(5); + + /// For message and enum types, this is the name of the type. If the name + /// starts with a '.', it is fully-qualified. Otherwise, C++-like scoping + /// rules are used to find the type (i.e. first the nested types within this + /// message are searched, then within the parent, on up to the root + /// namespace). + @$pb.TagNumber(6) + $core.String get typeName => $_getSZ(5); + @$pb.TagNumber(6) + set typeName($core.String v) { $_setString(5, v); } + @$pb.TagNumber(6) + $core.bool hasTypeName() => $_has(5); + @$pb.TagNumber(6) + void clearTypeName() => clearField(6); + + /// For numeric types, contains the original text representation of the value. + /// 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. + @$pb.TagNumber(7) + $core.String get defaultValue => $_getSZ(6); + @$pb.TagNumber(7) + set defaultValue($core.String v) { $_setString(6, v); } + @$pb.TagNumber(7) + $core.bool hasDefaultValue() => $_has(6); + @$pb.TagNumber(7) + void clearDefaultValue() => clearField(7); + + @$pb.TagNumber(8) + FieldOptions get options => $_getN(7); + @$pb.TagNumber(8) + set options(FieldOptions v) { setField(8, v); } + @$pb.TagNumber(8) + $core.bool hasOptions() => $_has(7); + @$pb.TagNumber(8) + void clearOptions() => clearField(8); + @$pb.TagNumber(8) + FieldOptions ensureOptions() => $_ensure(7); + + /// If set, gives the index of a oneof in the containing type's oneof_decl + /// list. This field is a member of that oneof. + @$pb.TagNumber(9) + $core.int get oneofIndex => $_getIZ(8); + @$pb.TagNumber(9) + set oneofIndex($core.int v) { $_setSignedInt32(8, v); } + @$pb.TagNumber(9) + $core.bool hasOneofIndex() => $_has(8); + @$pb.TagNumber(9) + void clearOneofIndex() => clearField(9); + + /// JSON name of this field. The value is set by protocol compiler. If the + /// user has set a "json_name" option on this field, that option's value + /// will be used. Otherwise, it's deduced from the field's name by converting + /// it to camelCase. + @$pb.TagNumber(10) + $core.String get jsonName => $_getSZ(9); + @$pb.TagNumber(10) + set jsonName($core.String v) { $_setString(9, v); } + @$pb.TagNumber(10) + $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 v) { $_setBool(10, v); } + @$pb.TagNumber(17) + $core.bool hasProto3Optional() => $_has(10); + @$pb.TagNumber(17) + void clearProto3Optional() => clearField(17); +} + +/// Describes a oneof. +class OneofDescriptorProto extends $pb.GeneratedMessage { + factory OneofDescriptorProto({ + $core.String? name, + OneofOptions? options, + }) { + final $result = create(); + if (name != null) { + $result.name = name; + } + if (options != null) { + $result.options = options; + } + return $result; + } + OneofDescriptorProto._() : super(); + factory OneofDescriptorProto.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory OneofDescriptorProto.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OneofDescriptorProto', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'name') + ..aOM(2, _omitFieldNames ? '' : 'options', subBuilder: OneofOptions.create) + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + OneofDescriptorProto clone() => OneofDescriptorProto()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + OneofDescriptorProto copyWith(void Function(OneofDescriptorProto) updates) => super.copyWith((message) => updates(message as OneofDescriptorProto)) as OneofDescriptorProto; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static OneofDescriptorProto create() => OneofDescriptorProto._(); + OneofDescriptorProto createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static OneofDescriptorProto getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static OneofDescriptorProto? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get name => $_getSZ(0); + @$pb.TagNumber(1) + set name($core.String v) { $_setString(0, v); } + @$pb.TagNumber(1) + $core.bool hasName() => $_has(0); + @$pb.TagNumber(1) + void clearName() => clearField(1); + + @$pb.TagNumber(2) + OneofOptions get options => $_getN(1); + @$pb.TagNumber(2) + set options(OneofOptions v) { setField(2, v); } + @$pb.TagNumber(2) + $core.bool hasOptions() => $_has(1); + @$pb.TagNumber(2) + void clearOptions() => clearField(2); + @$pb.TagNumber(2) + OneofOptions ensureOptions() => $_ensure(1); +} + +/// Range of reserved numeric values. Reserved values may not be used by +/// entries in the same enum. Reserved ranges may not overlap. +/// +/// Note that this is distinct from DescriptorProto.ReservedRange in that it +/// is inclusive such that it can appropriately represent the entire int32 +/// domain. +class EnumDescriptorProto_EnumReservedRange extends $pb.GeneratedMessage { + factory EnumDescriptorProto_EnumReservedRange({ + $core.int? start, + $core.int? end, + }) { + final $result = create(); + if (start != null) { + $result.start = start; + } + if (end != null) { + $result.end = end; + } + return $result; + } + EnumDescriptorProto_EnumReservedRange._() : super(); + factory EnumDescriptorProto_EnumReservedRange.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory EnumDescriptorProto_EnumReservedRange.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'EnumDescriptorProto.EnumReservedRange', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create) + ..a<$core.int>(1, _omitFieldNames ? '' : 'start', $pb.PbFieldType.O3) + ..a<$core.int>(2, _omitFieldNames ? '' : 'end', $pb.PbFieldType.O3) + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + EnumDescriptorProto_EnumReservedRange clone() => EnumDescriptorProto_EnumReservedRange()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + EnumDescriptorProto_EnumReservedRange copyWith(void Function(EnumDescriptorProto_EnumReservedRange) updates) => super.copyWith((message) => updates(message as EnumDescriptorProto_EnumReservedRange)) as EnumDescriptorProto_EnumReservedRange; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static EnumDescriptorProto_EnumReservedRange create() => EnumDescriptorProto_EnumReservedRange._(); + EnumDescriptorProto_EnumReservedRange createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static EnumDescriptorProto_EnumReservedRange getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static EnumDescriptorProto_EnumReservedRange? _defaultInstance; + + @$pb.TagNumber(1) + $core.int get start => $_getIZ(0); + @$pb.TagNumber(1) + set start($core.int v) { $_setSignedInt32(0, v); } + @$pb.TagNumber(1) + $core.bool hasStart() => $_has(0); + @$pb.TagNumber(1) + void clearStart() => clearField(1); + + @$pb.TagNumber(2) + $core.int get end => $_getIZ(1); + @$pb.TagNumber(2) + set end($core.int v) { $_setSignedInt32(1, v); } + @$pb.TagNumber(2) + $core.bool hasEnd() => $_has(1); + @$pb.TagNumber(2) + void clearEnd() => clearField(2); +} + +/// Describes an enum type. +class EnumDescriptorProto extends $pb.GeneratedMessage { + factory EnumDescriptorProto({ + $core.String? name, + $core.Iterable? value, + EnumOptions? options, + $core.Iterable? reservedRange, + $core.Iterable<$core.String>? reservedName, + }) { + final $result = create(); + if (name != null) { + $result.name = name; + } + if (value != null) { + $result.value.addAll(value); + } + if (options != null) { + $result.options = options; + } + if (reservedRange != null) { + $result.reservedRange.addAll(reservedRange); + } + if (reservedName != null) { + $result.reservedName.addAll(reservedName); + } + return $result; + } + EnumDescriptorProto._() : super(); + factory EnumDescriptorProto.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory EnumDescriptorProto.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'EnumDescriptorProto', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'name') + ..pc(2, _omitFieldNames ? '' : 'value', $pb.PbFieldType.PM, subBuilder: EnumValueDescriptorProto.create) + ..aOM(3, _omitFieldNames ? '' : 'options', subBuilder: EnumOptions.create) + ..pc(4, _omitFieldNames ? '' : 'reservedRange', $pb.PbFieldType.PM, subBuilder: EnumDescriptorProto_EnumReservedRange.create) + ..pPS(5, _omitFieldNames ? '' : 'reservedName') + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + EnumDescriptorProto clone() => EnumDescriptorProto()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + EnumDescriptorProto copyWith(void Function(EnumDescriptorProto) updates) => super.copyWith((message) => updates(message as EnumDescriptorProto)) as EnumDescriptorProto; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static EnumDescriptorProto create() => EnumDescriptorProto._(); + EnumDescriptorProto createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static EnumDescriptorProto getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static EnumDescriptorProto? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get name => $_getSZ(0); + @$pb.TagNumber(1) + set name($core.String v) { $_setString(0, v); } + @$pb.TagNumber(1) + $core.bool hasName() => $_has(0); + @$pb.TagNumber(1) + void clearName() => clearField(1); + + @$pb.TagNumber(2) + $core.List get value => $_getList(1); + + @$pb.TagNumber(3) + EnumOptions get options => $_getN(2); + @$pb.TagNumber(3) + set options(EnumOptions v) { setField(3, v); } + @$pb.TagNumber(3) + $core.bool hasOptions() => $_has(2); + @$pb.TagNumber(3) + void clearOptions() => clearField(3); + @$pb.TagNumber(3) + EnumOptions ensureOptions() => $_ensure(2); + + /// Range of reserved numeric values. Reserved numeric values may not be used + /// by enum values in the same enum declaration. Reserved ranges may not + /// overlap. + @$pb.TagNumber(4) + $core.List get reservedRange => $_getList(3); + + /// Reserved enum value names, which may not be reused. A given name may only + /// be reserved once. + @$pb.TagNumber(5) + $core.List<$core.String> get reservedName => $_getList(4); +} + +/// Describes a value within an enum. +class EnumValueDescriptorProto extends $pb.GeneratedMessage { + factory EnumValueDescriptorProto({ + $core.String? name, + $core.int? number, + EnumValueOptions? options, + }) { + final $result = create(); + if (name != null) { + $result.name = name; + } + if (number != null) { + $result.number = number; + } + if (options != null) { + $result.options = options; + } + return $result; + } + EnumValueDescriptorProto._() : super(); + factory EnumValueDescriptorProto.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory EnumValueDescriptorProto.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'EnumValueDescriptorProto', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'name') + ..a<$core.int>(2, _omitFieldNames ? '' : 'number', $pb.PbFieldType.O3) + ..aOM(3, _omitFieldNames ? '' : 'options', subBuilder: EnumValueOptions.create) + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + EnumValueDescriptorProto clone() => EnumValueDescriptorProto()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + EnumValueDescriptorProto copyWith(void Function(EnumValueDescriptorProto) updates) => super.copyWith((message) => updates(message as EnumValueDescriptorProto)) as EnumValueDescriptorProto; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static EnumValueDescriptorProto create() => EnumValueDescriptorProto._(); + EnumValueDescriptorProto createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static EnumValueDescriptorProto getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static EnumValueDescriptorProto? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get name => $_getSZ(0); + @$pb.TagNumber(1) + set name($core.String v) { $_setString(0, v); } + @$pb.TagNumber(1) + $core.bool hasName() => $_has(0); + @$pb.TagNumber(1) + void clearName() => clearField(1); + + @$pb.TagNumber(2) + $core.int get number => $_getIZ(1); + @$pb.TagNumber(2) + set number($core.int v) { $_setSignedInt32(1, v); } + @$pb.TagNumber(2) + $core.bool hasNumber() => $_has(1); + @$pb.TagNumber(2) + void clearNumber() => clearField(2); + + @$pb.TagNumber(3) + EnumValueOptions get options => $_getN(2); + @$pb.TagNumber(3) + set options(EnumValueOptions v) { setField(3, v); } + @$pb.TagNumber(3) + $core.bool hasOptions() => $_has(2); + @$pb.TagNumber(3) + void clearOptions() => clearField(3); + @$pb.TagNumber(3) + EnumValueOptions ensureOptions() => $_ensure(2); +} + +/// Describes a service. +class ServiceDescriptorProto extends $pb.GeneratedMessage { + factory ServiceDescriptorProto({ + $core.String? name, + $core.Iterable? method, + ServiceOptions? options, + }) { + final $result = create(); + if (name != null) { + $result.name = name; + } + if (method != null) { + $result.method.addAll(method); + } + if (options != null) { + $result.options = options; + } + return $result; + } + ServiceDescriptorProto._() : super(); + factory ServiceDescriptorProto.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory ServiceDescriptorProto.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ServiceDescriptorProto', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'name') + ..pc(2, _omitFieldNames ? '' : 'method', $pb.PbFieldType.PM, subBuilder: MethodDescriptorProto.create) + ..aOM(3, _omitFieldNames ? '' : 'options', subBuilder: ServiceOptions.create) + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + ServiceDescriptorProto clone() => ServiceDescriptorProto()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + ServiceDescriptorProto copyWith(void Function(ServiceDescriptorProto) updates) => super.copyWith((message) => updates(message as ServiceDescriptorProto)) as ServiceDescriptorProto; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static ServiceDescriptorProto create() => ServiceDescriptorProto._(); + ServiceDescriptorProto createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static ServiceDescriptorProto getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static ServiceDescriptorProto? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get name => $_getSZ(0); + @$pb.TagNumber(1) + set name($core.String v) { $_setString(0, v); } + @$pb.TagNumber(1) + $core.bool hasName() => $_has(0); + @$pb.TagNumber(1) + void clearName() => clearField(1); + + @$pb.TagNumber(2) + $core.List get method => $_getList(1); + + @$pb.TagNumber(3) + ServiceOptions get options => $_getN(2); + @$pb.TagNumber(3) + set options(ServiceOptions v) { setField(3, v); } + @$pb.TagNumber(3) + $core.bool hasOptions() => $_has(2); + @$pb.TagNumber(3) + void clearOptions() => clearField(3); + @$pb.TagNumber(3) + ServiceOptions ensureOptions() => $_ensure(2); +} + +/// Describes a method of a service. +class MethodDescriptorProto extends $pb.GeneratedMessage { + factory MethodDescriptorProto({ + $core.String? name, + $core.String? inputType, + $core.String? outputType, + MethodOptions? options, + $core.bool? clientStreaming, + $core.bool? serverStreaming, + }) { + final $result = create(); + if (name != null) { + $result.name = name; + } + if (inputType != null) { + $result.inputType = inputType; + } + if (outputType != null) { + $result.outputType = outputType; + } + if (options != null) { + $result.options = options; + } + if (clientStreaming != null) { + $result.clientStreaming = clientStreaming; + } + if (serverStreaming != null) { + $result.serverStreaming = serverStreaming; + } + return $result; + } + MethodDescriptorProto._() : super(); + factory MethodDescriptorProto.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory MethodDescriptorProto.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'MethodDescriptorProto', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'name') + ..aOS(2, _omitFieldNames ? '' : 'inputType') + ..aOS(3, _omitFieldNames ? '' : 'outputType') + ..aOM(4, _omitFieldNames ? '' : 'options', subBuilder: MethodOptions.create) + ..aOB(5, _omitFieldNames ? '' : 'clientStreaming') + ..aOB(6, _omitFieldNames ? '' : 'serverStreaming') + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + MethodDescriptorProto clone() => MethodDescriptorProto()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + MethodDescriptorProto copyWith(void Function(MethodDescriptorProto) updates) => super.copyWith((message) => updates(message as MethodDescriptorProto)) as MethodDescriptorProto; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static MethodDescriptorProto create() => MethodDescriptorProto._(); + MethodDescriptorProto createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static MethodDescriptorProto getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static MethodDescriptorProto? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get name => $_getSZ(0); + @$pb.TagNumber(1) + set name($core.String v) { $_setString(0, v); } + @$pb.TagNumber(1) + $core.bool hasName() => $_has(0); + @$pb.TagNumber(1) + void clearName() => clearField(1); + + /// Input and output type names. These are resolved in the same way as + /// FieldDescriptorProto.type_name, but must refer to a message type. + @$pb.TagNumber(2) + $core.String get inputType => $_getSZ(1); + @$pb.TagNumber(2) + set inputType($core.String v) { $_setString(1, v); } + @$pb.TagNumber(2) + $core.bool hasInputType() => $_has(1); + @$pb.TagNumber(2) + void clearInputType() => clearField(2); + + @$pb.TagNumber(3) + $core.String get outputType => $_getSZ(2); + @$pb.TagNumber(3) + set outputType($core.String v) { $_setString(2, v); } + @$pb.TagNumber(3) + $core.bool hasOutputType() => $_has(2); + @$pb.TagNumber(3) + void clearOutputType() => clearField(3); + + @$pb.TagNumber(4) + MethodOptions get options => $_getN(3); + @$pb.TagNumber(4) + set options(MethodOptions v) { setField(4, v); } + @$pb.TagNumber(4) + $core.bool hasOptions() => $_has(3); + @$pb.TagNumber(4) + void clearOptions() => clearField(4); + @$pb.TagNumber(4) + MethodOptions ensureOptions() => $_ensure(3); + + /// Identifies if client streams multiple client messages + @$pb.TagNumber(5) + $core.bool get clientStreaming => $_getBF(4); + @$pb.TagNumber(5) + set clientStreaming($core.bool v) { $_setBool(4, v); } + @$pb.TagNumber(5) + $core.bool hasClientStreaming() => $_has(4); + @$pb.TagNumber(5) + void clearClientStreaming() => clearField(5); + + /// Identifies if server streams multiple server messages + @$pb.TagNumber(6) + $core.bool get serverStreaming => $_getBF(5); + @$pb.TagNumber(6) + set serverStreaming($core.bool v) { $_setBool(5, v); } + @$pb.TagNumber(6) + $core.bool hasServerStreaming() => $_has(5); + @$pb.TagNumber(6) + void clearServerStreaming() => clearField(6); +} + +class FileOptions extends $pb.GeneratedMessage { + factory FileOptions({ + $core.String? javaPackage, + $core.String? javaOuterClassname, + FileOptions_OptimizeMode? optimizeFor, + $core.bool? javaMultipleFiles, + $core.String? goPackage, + $core.bool? ccGenericServices, + $core.bool? javaGenericServices, + $core.bool? pyGenericServices, + @$core.Deprecated('This field is deprecated.') + $core.bool? javaGenerateEqualsAndHash, + $core.bool? deprecated, + $core.bool? javaStringCheckUtf8, + $core.bool? ccEnableArenas, + $core.String? objcClassPrefix, + $core.String? csharpNamespace, + $core.String? swiftPrefix, + $core.String? phpClassPrefix, + $core.String? phpNamespace, + $core.String? phpMetadataNamespace, + $core.String? rubyPackage, + FeatureSet? features, + $core.Iterable? uninterpretedOption, + }) { + final $result = create(); + if (javaPackage != null) { + $result.javaPackage = javaPackage; + } + if (javaOuterClassname != null) { + $result.javaOuterClassname = javaOuterClassname; + } + if (optimizeFor != null) { + $result.optimizeFor = optimizeFor; + } + if (javaMultipleFiles != null) { + $result.javaMultipleFiles = javaMultipleFiles; + } + if (goPackage != null) { + $result.goPackage = goPackage; + } + if (ccGenericServices != null) { + $result.ccGenericServices = ccGenericServices; + } + if (javaGenericServices != null) { + $result.javaGenericServices = javaGenericServices; + } + if (pyGenericServices != null) { + $result.pyGenericServices = pyGenericServices; + } + if (javaGenerateEqualsAndHash != null) { + // ignore: deprecated_member_use_from_same_package + $result.javaGenerateEqualsAndHash = javaGenerateEqualsAndHash; + } + if (deprecated != null) { + $result.deprecated = deprecated; + } + if (javaStringCheckUtf8 != null) { + $result.javaStringCheckUtf8 = javaStringCheckUtf8; + } + if (ccEnableArenas != null) { + $result.ccEnableArenas = ccEnableArenas; + } + if (objcClassPrefix != null) { + $result.objcClassPrefix = objcClassPrefix; + } + if (csharpNamespace != null) { + $result.csharpNamespace = csharpNamespace; + } + if (swiftPrefix != null) { + $result.swiftPrefix = swiftPrefix; + } + if (phpClassPrefix != null) { + $result.phpClassPrefix = phpClassPrefix; + } + if (phpNamespace != null) { + $result.phpNamespace = phpNamespace; + } + 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; + } + FileOptions._() : super(); + factory FileOptions.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory FileOptions.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'FileOptions', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'javaPackage') + ..aOS(8, _omitFieldNames ? '' : 'javaOuterClassname') + ..e(9, _omitFieldNames ? '' : 'optimizeFor', $pb.PbFieldType.OE, defaultOrMaker: FileOptions_OptimizeMode.SPEED, valueOf: FileOptions_OptimizeMode.valueOf, enumValues: FileOptions_OptimizeMode.values) + ..aOB(10, _omitFieldNames ? '' : 'javaMultipleFiles') + ..aOS(11, _omitFieldNames ? '' : 'goPackage') + ..aOB(16, _omitFieldNames ? '' : 'ccGenericServices') + ..aOB(17, _omitFieldNames ? '' : 'javaGenericServices') + ..aOB(18, _omitFieldNames ? '' : 'pyGenericServices') + ..aOB(20, _omitFieldNames ? '' : 'javaGenerateEqualsAndHash') + ..aOB(23, _omitFieldNames ? '' : 'deprecated') + ..aOB(27, _omitFieldNames ? '' : 'javaStringCheckUtf8') + ..a<$core.bool>(31, _omitFieldNames ? '' : 'ccEnableArenas', $pb.PbFieldType.OB, defaultOrMaker: true) + ..aOS(36, _omitFieldNames ? '' : 'objcClassPrefix') + ..aOS(37, _omitFieldNames ? '' : 'csharpNamespace') + ..aOS(39, _omitFieldNames ? '' : 'swiftPrefix') + ..aOS(40, _omitFieldNames ? '' : 'phpClassPrefix') + ..aOS(41, _omitFieldNames ? '' : 'phpNamespace') + ..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 + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + FileOptions clone() => FileOptions()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + FileOptions copyWith(void Function(FileOptions) updates) => super.copyWith((message) => updates(message as FileOptions)) as FileOptions; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static FileOptions create() => FileOptions._(); + FileOptions createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static FileOptions getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static FileOptions? _defaultInstance; + + /// Sets the Java package where classes generated from this .proto will be + /// placed. By default, the proto package is used, but this is often + /// inappropriate because proto packages do not normally start with backwards + /// domain names. + @$pb.TagNumber(1) + $core.String get javaPackage => $_getSZ(0); + @$pb.TagNumber(1) + set javaPackage($core.String v) { $_setString(0, v); } + @$pb.TagNumber(1) + $core.bool hasJavaPackage() => $_has(0); + @$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. + @$pb.TagNumber(8) + $core.String get javaOuterClassname => $_getSZ(1); + @$pb.TagNumber(8) + set javaOuterClassname($core.String v) { $_setString(1, v); } + @$pb.TagNumber(8) + $core.bool hasJavaOuterClassname() => $_has(1); + @$pb.TagNumber(8) + void clearJavaOuterClassname() => clearField(8); + + @$pb.TagNumber(9) + FileOptions_OptimizeMode get optimizeFor => $_getN(2); + @$pb.TagNumber(9) + set optimizeFor(FileOptions_OptimizeMode v) { setField(9, v); } + @$pb.TagNumber(9) + $core.bool hasOptimizeFor() => $_has(2); + @$pb.TagNumber(9) + void clearOptimizeFor() => clearField(9); + + /// If enabled, 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 + /// generated to contain the file's getDescriptor() method as well as any + /// top-level extensions defined in the file. + @$pb.TagNumber(10) + $core.bool get javaMultipleFiles => $_getBF(3); + @$pb.TagNumber(10) + set javaMultipleFiles($core.bool v) { $_setBool(3, v); } + @$pb.TagNumber(10) + $core.bool hasJavaMultipleFiles() => $_has(3); + @$pb.TagNumber(10) + void clearJavaMultipleFiles() => clearField(10); + + /// Sets the Go package where structs generated from this .proto will be + /// placed. If omitted, the Go package will be derived from the following: + /// - The basename of the package import path, if provided. + /// - Otherwise, the package statement in the .proto file, if present. + /// - Otherwise, the basename of the .proto file, without extension. + @$pb.TagNumber(11) + $core.String get goPackage => $_getSZ(4); + @$pb.TagNumber(11) + set goPackage($core.String v) { $_setString(4, v); } + @$pb.TagNumber(11) + $core.bool hasGoPackage() => $_has(4); + @$pb.TagNumber(11) + void clearGoPackage() => clearField(11); + + /// Should generic services be generated in each language? "Generic" services + /// are not specific to any particular RPC system. They are generated by the + /// main code generators in each language (without additional plugins). + /// Generic services were the only kind of service generation supported by + /// early versions of google.protobuf. + /// + /// Generic services are now considered deprecated in favor of using plugins + /// that generate code specific to your particular RPC system. Therefore, + /// these default to false. Old code which depends on generic services should + /// explicitly set them to true. + @$pb.TagNumber(16) + $core.bool get ccGenericServices => $_getBF(5); + @$pb.TagNumber(16) + set ccGenericServices($core.bool v) { $_setBool(5, v); } + @$pb.TagNumber(16) + $core.bool hasCcGenericServices() => $_has(5); + @$pb.TagNumber(16) + void clearCcGenericServices() => clearField(16); + + @$pb.TagNumber(17) + $core.bool get javaGenericServices => $_getBF(6); + @$pb.TagNumber(17) + set javaGenericServices($core.bool v) { $_setBool(6, v); } + @$pb.TagNumber(17) + $core.bool hasJavaGenericServices() => $_has(6); + @$pb.TagNumber(17) + void clearJavaGenericServices() => clearField(17); + + @$pb.TagNumber(18) + $core.bool get pyGenericServices => $_getBF(7); + @$pb.TagNumber(18) + set pyGenericServices($core.bool v) { $_setBool(7, v); } + @$pb.TagNumber(18) + $core.bool hasPyGenericServices() => $_has(7); + @$pb.TagNumber(18) + void clearPyGenericServices() => clearField(18); + + /// This option does nothing. + @$core.Deprecated('This field is deprecated.') + @$pb.TagNumber(20) + $core.bool get javaGenerateEqualsAndHash => $_getBF(8); + @$core.Deprecated('This field is deprecated.') + @$pb.TagNumber(20) + set javaGenerateEqualsAndHash($core.bool v) { $_setBool(8, v); } + @$core.Deprecated('This field is deprecated.') + @$pb.TagNumber(20) + $core.bool hasJavaGenerateEqualsAndHash() => $_has(8); + @$core.Deprecated('This field is deprecated.') + @$pb.TagNumber(20) + void clearJavaGenerateEqualsAndHash() => clearField(20); + + /// Is this file deprecated? + /// Depending on the target platform, this can emit Deprecated annotations + /// for everything in the file, or it will be completely ignored; in the very + /// least, this is a formalization for deprecating files. + @$pb.TagNumber(23) + $core.bool get deprecated => $_getBF(9); + @$pb.TagNumber(23) + set deprecated($core.bool v) { $_setBool(9, v); } + @$pb.TagNumber(23) + $core.bool hasDeprecated() => $_has(9); + @$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. + @$pb.TagNumber(27) + $core.bool get javaStringCheckUtf8 => $_getBF(10); + @$pb.TagNumber(27) + set javaStringCheckUtf8($core.bool v) { $_setBool(10, v); } + @$pb.TagNumber(27) + $core.bool hasJavaStringCheckUtf8() => $_has(10); + @$pb.TagNumber(27) + void clearJavaStringCheckUtf8() => clearField(27); + + /// 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); + @$pb.TagNumber(31) + set ccEnableArenas($core.bool v) { $_setBool(11, v); } + @$pb.TagNumber(31) + $core.bool hasCcEnableArenas() => $_has(11); + @$pb.TagNumber(31) + void clearCcEnableArenas() => clearField(31); + + /// Sets the objective c class prefix which is prepended to all objective c + /// generated classes from this .proto. There is no default. + @$pb.TagNumber(36) + $core.String get objcClassPrefix => $_getSZ(12); + @$pb.TagNumber(36) + set objcClassPrefix($core.String v) { $_setString(12, v); } + @$pb.TagNumber(36) + $core.bool hasObjcClassPrefix() => $_has(12); + @$pb.TagNumber(36) + void clearObjcClassPrefix() => clearField(36); + + /// Namespace for generated classes; defaults to the package. + @$pb.TagNumber(37) + $core.String get csharpNamespace => $_getSZ(13); + @$pb.TagNumber(37) + set csharpNamespace($core.String v) { $_setString(13, v); } + @$pb.TagNumber(37) + $core.bool hasCsharpNamespace() => $_has(13); + @$pb.TagNumber(37) + void clearCsharpNamespace() => clearField(37); + + /// By default Swift generators will take the proto package and CamelCase it + /// replacing '.' with underscore and use that to prefix the types/symbols + /// defined. When this options is provided, they will use this value instead + /// to prefix the types/symbols defined. + @$pb.TagNumber(39) + $core.String get swiftPrefix => $_getSZ(14); + @$pb.TagNumber(39) + set swiftPrefix($core.String v) { $_setString(14, v); } + @$pb.TagNumber(39) + $core.bool hasSwiftPrefix() => $_has(14); + @$pb.TagNumber(39) + void clearSwiftPrefix() => clearField(39); + + /// Sets the php class prefix which is prepended to all php generated classes + /// from this .proto. Default is empty. + @$pb.TagNumber(40) + $core.String get phpClassPrefix => $_getSZ(15); + @$pb.TagNumber(40) + set phpClassPrefix($core.String v) { $_setString(15, v); } + @$pb.TagNumber(40) + $core.bool hasPhpClassPrefix() => $_has(15); + @$pb.TagNumber(40) + void clearPhpClassPrefix() => clearField(40); + + /// Use this option to change the namespace of php generated classes. Default + /// is empty. When this option is empty, the package name will be used for + /// determining the namespace. + @$pb.TagNumber(41) + $core.String get phpNamespace => $_getSZ(16); + @$pb.TagNumber(41) + set phpNamespace($core.String v) { $_setString(16, v); } + @$pb.TagNumber(41) + $core.bool hasPhpNamespace() => $_has(16); + @$pb.TagNumber(41) + void clearPhpNamespace() => clearField(41); + + /// 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); + @$pb.TagNumber(44) + set phpMetadataNamespace($core.String v) { $_setString(17, v); } + @$pb.TagNumber(44) + $core.bool hasPhpMetadataNamespace() => $_has(17); + @$pb.TagNumber(44) + void clearPhpMetadataNamespace() => clearField(44); + + /// Use this option to change the package of ruby generated classes. Default + /// 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); + @$pb.TagNumber(45) + set rubyPackage($core.String v) { $_setString(18, v); } + @$pb.TagNumber(45) + $core.bool hasRubyPackage() => $_has(18); + @$pb.TagNumber(45) + void clearRubyPackage() => clearField(45); + + /// Any features defined in the specific edition. + @$pb.TagNumber(50) + FeatureSet get features => $_getN(19); + @$pb.TagNumber(50) + set features(FeatureSet v) { setField(50, v); } + @$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) + $core.List get uninterpretedOption => $_getList(20); +} + +class MessageOptions extends $pb.GeneratedMessage { + factory MessageOptions({ + $core.bool? messageSetWireFormat, + $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(); + if (messageSetWireFormat != null) { + $result.messageSetWireFormat = messageSetWireFormat; + } + if (noStandardDescriptorAccessor != null) { + $result.noStandardDescriptorAccessor = noStandardDescriptorAccessor; + } + if (deprecated != null) { + $result.deprecated = deprecated; + } + if (mapEntry != null) { + $result.mapEntry = mapEntry; + } + if (deprecatedLegacyJsonFieldConflicts != null) { + // ignore: deprecated_member_use_from_same_package + $result.deprecatedLegacyJsonFieldConflicts = deprecatedLegacyJsonFieldConflicts; + } + if (features != null) { + $result.features = features; + } + if (uninterpretedOption != null) { + $result.uninterpretedOption.addAll(uninterpretedOption); + } + return $result; + } + MessageOptions._() : super(); + factory MessageOptions.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory MessageOptions.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'MessageOptions', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create) + ..aOB(1, _omitFieldNames ? '' : 'messageSetWireFormat') + ..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 + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + MessageOptions clone() => MessageOptions()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + MessageOptions copyWith(void Function(MessageOptions) updates) => super.copyWith((message) => updates(message as MessageOptions)) as MessageOptions; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static MessageOptions create() => MessageOptions._(); + MessageOptions createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static MessageOptions getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static MessageOptions? _defaultInstance; + + /// Set true to use the old proto1 MessageSet wire format for extensions. + /// This is provided for backwards-compatibility with the MessageSet wire + /// format. You should not use this for any other reason: It's less + /// efficient, has fewer features, and is more complicated. + /// + /// The message must be defined exactly as follows: + /// message Foo { + /// option message_set_wire_format = true; + /// extensions 4 to max; + /// } + /// Note that the message cannot have any defined fields; MessageSets only + /// have extensions. + /// + /// All extensions of your type must be singular messages; e.g. they cannot + /// be int32s, enums, or repeated messages. + /// + /// Because this is an option, the above two restrictions are not enforced by + /// the protocol compiler. + @$pb.TagNumber(1) + $core.bool get messageSetWireFormat => $_getBF(0); + @$pb.TagNumber(1) + set messageSetWireFormat($core.bool v) { $_setBool(0, v); } + @$pb.TagNumber(1) + $core.bool hasMessageSetWireFormat() => $_has(0); + @$pb.TagNumber(1) + void clearMessageSetWireFormat() => clearField(1); + + /// Disables the generation of the standard "descriptor()" accessor, which can + /// conflict with a field of the same name. This is meant to make migration + /// from proto1 easier; new code should avoid fields named "descriptor". + @$pb.TagNumber(2) + $core.bool get noStandardDescriptorAccessor => $_getBF(1); + @$pb.TagNumber(2) + set noStandardDescriptorAccessor($core.bool v) { $_setBool(1, v); } + @$pb.TagNumber(2) + $core.bool hasNoStandardDescriptorAccessor() => $_has(1); + @$pb.TagNumber(2) + void clearNoStandardDescriptorAccessor() => clearField(2); + + /// Is this message deprecated? + /// Depending on the target platform, this can emit Deprecated annotations + /// for the message, or it will be completely ignored; in the very least, + /// this is a formalization for deprecating messages. + @$pb.TagNumber(3) + $core.bool get deprecated => $_getBF(2); + @$pb.TagNumber(3) + set deprecated($core.bool v) { $_setBool(2, v); } + @$pb.TagNumber(3) + $core.bool hasDeprecated() => $_has(2); + @$pb.TagNumber(3) + void clearDeprecated() => clearField(3); + + /// Whether the message is an automatically generated map entry type for the + /// maps field. + /// + /// For maps fields: + /// map map_field = 1; + /// The parsed descriptor looks like: + /// message MapFieldEntry { + /// option map_entry = true; + /// optional KeyType key = 1; + /// optional ValueType value = 2; + /// } + /// repeated MapFieldEntry map_field = 1; + /// + /// Implementations may choose not to generate the map_entry=true message, but + /// use a native map in the target language to hold the keys and values. + /// The reflection APIs in such implementations still need to work as + /// if the field is a repeated message field. + /// + /// NOTE: Do not set the option in .proto files. Always use the maps syntax + /// instead. The option should only be implicitly set by the proto compiler + /// parser. + @$pb.TagNumber(7) + $core.bool get mapEntry => $_getBF(3); + @$pb.TagNumber(7) + set mapEntry($core.bool v) { $_setBool(3, v); } + @$pb.TagNumber(7) + $core.bool hasMapEntry() => $_has(3); + @$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 v) { $_setBool(4, v); } + @$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. + @$pb.TagNumber(12) + FeatureSet get features => $_getN(5); + @$pb.TagNumber(12) + set features(FeatureSet v) { setField(12, v); } + @$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) + $core.List 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._() : super(); + factory FieldOptions_EditionDefault.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory FieldOptions_EditionDefault.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + 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( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + FieldOptions_EditionDefault clone() => FieldOptions_EditionDefault()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + FieldOptions_EditionDefault copyWith(void Function(FieldOptions_EditionDefault) updates) => super.copyWith((message) => updates(message as FieldOptions_EditionDefault)) as FieldOptions_EditionDefault; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static FieldOptions_EditionDefault create() => FieldOptions_EditionDefault._(); + 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 v) { $_setString(0, v); } + @$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 v) { setField(3, v); } + @$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, + }) { + 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; + } + return $result; + } + FieldOptions_FeatureSupport._() : super(); + factory FieldOptions_FeatureSupport.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory FieldOptions_FeatureSupport.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + 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) + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + FieldOptions_FeatureSupport clone() => FieldOptions_FeatureSupport()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + FieldOptions_FeatureSupport copyWith(void Function(FieldOptions_FeatureSupport) updates) => super.copyWith((message) => updates(message as FieldOptions_FeatureSupport)) as FieldOptions_FeatureSupport; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static FieldOptions_FeatureSupport create() => FieldOptions_FeatureSupport._(); + 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 v) { setField(1, v); } + @$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 v) { setField(2, v); } + @$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 v) { $_setString(2, v); } + @$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 v) { setField(4, v); } + @$pb.TagNumber(4) + $core.bool hasEditionRemoved() => $_has(3); + @$pb.TagNumber(4) + void clearEditionRemoved() => clearField(4); +} + +class FieldOptions extends $pb.GeneratedMessage { + factory FieldOptions({ + FieldOptions_CType? ctype, + $core.bool? packed, + $core.bool? deprecated, + $core.bool? lazy, + FieldOptions_JSType? jstype, + $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(); + if (ctype != null) { + $result.ctype = ctype; + } + if (packed != null) { + $result.packed = packed; + } + if (deprecated != null) { + $result.deprecated = deprecated; + } + 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; + } + FieldOptions._() : super(); + factory FieldOptions.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory FieldOptions.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'FieldOptions', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create) + ..e(1, _omitFieldNames ? '' : 'ctype', $pb.PbFieldType.OE, defaultOrMaker: FieldOptions_CType.STRING, valueOf: FieldOptions_CType.valueOf, enumValues: FieldOptions_CType.values) + ..aOB(2, _omitFieldNames ? '' : 'packed') + ..aOB(3, _omitFieldNames ? '' : 'deprecated') + ..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 + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + FieldOptions clone() => FieldOptions()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + FieldOptions copyWith(void Function(FieldOptions) updates) => super.copyWith((message) => updates(message as FieldOptions)) as FieldOptions; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static FieldOptions create() => FieldOptions._(); + FieldOptions createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static FieldOptions getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static FieldOptions? _defaultInstance; + + /// 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 -- sorry, we'll try to include + /// other types in a future version! + @$pb.TagNumber(1) + FieldOptions_CType get ctype => $_getN(0); + @$pb.TagNumber(1) + set ctype(FieldOptions_CType v) { setField(1, v); } + @$pb.TagNumber(1) + $core.bool hasCtype() => $_has(0); + @$pb.TagNumber(1) + void clearCtype() => clearField(1); + + /// The packed option can be enabled for repeated primitive fields to enable + /// 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. + @$pb.TagNumber(2) + $core.bool get packed => $_getBF(1); + @$pb.TagNumber(2) + set packed($core.bool v) { $_setBool(1, v); } + @$pb.TagNumber(2) + $core.bool hasPacked() => $_has(1); + @$pb.TagNumber(2) + void clearPacked() => clearField(2); + + /// Is this field deprecated? + /// Depending on the target platform, this can emit Deprecated annotations + /// for accessors, or it will be completely ignored; in the very least, this + /// is a formalization for deprecating fields. + @$pb.TagNumber(3) + $core.bool get deprecated => $_getBF(2); + @$pb.TagNumber(3) + set deprecated($core.bool v) { $_setBool(2, v); } + @$pb.TagNumber(3) + $core.bool hasDeprecated() => $_has(2); + @$pb.TagNumber(3) + void clearDeprecated() => clearField(3); + + /// Should this field be parsed lazily? Lazy applies only to message-type + /// fields. It means that when the outer message is initially parsed, the + /// inner message's contents will not be parsed but instead stored in encoded + /// form. The inner message will actually be parsed when it is first accessed. + /// + /// This is only a hint. Implementations are free to choose whether to use + /// eager or lazy parsing regardless of the value of this option. However, + /// setting this option true suggests that the protocol author believes that + /// using lazy parsing on this field is worth the additional bookkeeping + /// overhead typically needed to implement it. + /// + /// This option does not affect the public interface of any generated code; + /// all method signatures remain the same. Furthermore, thread-safety of the + /// interface is not affected by this option; const methods remain safe to + /// 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). + @$pb.TagNumber(5) + $core.bool get lazy => $_getBF(3); + @$pb.TagNumber(5) + set lazy($core.bool v) { $_setBool(3, v); } + @$pb.TagNumber(5) + $core.bool hasLazy() => $_has(3); + @$pb.TagNumber(5) + void clearLazy() => clearField(5); + + /// The jstype option determines the JavaScript type used for values of the + /// field. The option is permitted only for 64 bit integral and fixed types + /// (int64, uint64, sint64, fixed64, sfixed64). A field with jstype JS_STRING + /// is represented as JavaScript string, which avoids loss of precision that + /// can happen when a large value is converted to a floating point JavaScript. + /// Specifying JS_NUMBER for the jstype causes the generated JavaScript code to + /// use the JavaScript "number" type. The behavior of the default option + /// JS_NORMAL is implementation dependent. + /// + /// This option is an enum to permit additional types to be added, e.g. + /// goog.math.Integer. + @$pb.TagNumber(6) + FieldOptions_JSType get jstype => $_getN(4); + @$pb.TagNumber(6) + set jstype(FieldOptions_JSType v) { setField(6, v); } + @$pb.TagNumber(6) + $core.bool hasJstype() => $_has(4); + @$pb.TagNumber(6) + void clearJstype() => clearField(6); + + /// For Google-internal migration only. Do not use. + @$pb.TagNumber(10) + $core.bool get weak => $_getBF(5); + @$pb.TagNumber(10) + set weak($core.bool v) { $_setBool(5, v); } + @$pb.TagNumber(10) + $core.bool hasWeak() => $_has(5); + @$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 v) { $_setBool(6, v); } + @$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 v) { $_setBool(7, v); } + @$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 v) { setField(17, v); } + @$pb.TagNumber(17) + $core.bool hasRetention() => $_has(8); + @$pb.TagNumber(17) + void clearRetention() => clearField(17); + + @$pb.TagNumber(19) + $core.List get targets => $_getList(9); + + @$pb.TagNumber(20) + $core.List get editionDefaults => $_getList(10); + + /// Any features defined in the specific edition. + @$pb.TagNumber(21) + FeatureSet get features => $_getN(11); + @$pb.TagNumber(21) + set features(FeatureSet v) { setField(21, v); } + @$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 v) { setField(22, v); } + @$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) + $core.List get uninterpretedOption => $_getList(13); +} + +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; + } + OneofOptions._() : super(); + factory OneofOptions.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory OneofOptions.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + 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 + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + OneofOptions clone() => OneofOptions()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + OneofOptions copyWith(void Function(OneofOptions) updates) => super.copyWith((message) => updates(message as OneofOptions)) as OneofOptions; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static OneofOptions create() => OneofOptions._(); + OneofOptions createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static OneofOptions getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static OneofOptions? _defaultInstance; + + /// Any features defined in the specific edition. + @$pb.TagNumber(1) + FeatureSet get features => $_getN(0); + @$pb.TagNumber(1) + set features(FeatureSet v) { setField(1, v); } + @$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) + $core.List get uninterpretedOption => $_getList(1); +} + +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) { + // ignore: deprecated_member_use_from_same_package + $result.deprecatedLegacyJsonFieldConflicts = deprecatedLegacyJsonFieldConflicts; + } + if (features != null) { + $result.features = features; + } + if (uninterpretedOption != null) { + $result.uninterpretedOption.addAll(uninterpretedOption); + } + return $result; + } + EnumOptions._() : super(); + factory EnumOptions.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory EnumOptions.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + 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 + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + EnumOptions clone() => EnumOptions()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + EnumOptions copyWith(void Function(EnumOptions) updates) => super.copyWith((message) => updates(message as EnumOptions)) as EnumOptions; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static EnumOptions create() => EnumOptions._(); + EnumOptions createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static EnumOptions getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static EnumOptions? _defaultInstance; + + /// Set this option to true to allow mapping different tag names to the same + /// value. + @$pb.TagNumber(2) + $core.bool get allowAlias => $_getBF(0); + @$pb.TagNumber(2) + set allowAlias($core.bool v) { $_setBool(0, v); } + @$pb.TagNumber(2) + $core.bool hasAllowAlias() => $_has(0); + @$pb.TagNumber(2) + void clearAllowAlias() => clearField(2); + + /// Is this enum deprecated? + /// Depending on the target platform, this can emit Deprecated annotations + /// for the enum, or it will be completely ignored; in the very least, this + /// is a formalization for deprecating enums. + @$pb.TagNumber(3) + $core.bool get deprecated => $_getBF(1); + @$pb.TagNumber(3) + set deprecated($core.bool v) { $_setBool(1, v); } + @$pb.TagNumber(3) + $core.bool hasDeprecated() => $_has(1); + @$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 v) { $_setBool(2, v); } + @$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. + @$pb.TagNumber(7) + FeatureSet get features => $_getN(3); + @$pb.TagNumber(7) + set features(FeatureSet v) { setField(7, v); } + @$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) + $core.List get uninterpretedOption => $_getList(4); +} + +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; + } + EnumValueOptions._() : super(); + factory EnumValueOptions.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory EnumValueOptions.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + 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 + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + EnumValueOptions clone() => EnumValueOptions()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + EnumValueOptions copyWith(void Function(EnumValueOptions) updates) => super.copyWith((message) => updates(message as EnumValueOptions)) as EnumValueOptions; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static EnumValueOptions create() => EnumValueOptions._(); + EnumValueOptions createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static EnumValueOptions getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static EnumValueOptions? _defaultInstance; + + /// Is this enum value deprecated? + /// Depending on the target platform, this can emit Deprecated annotations + /// for the enum value, or it will be completely ignored; in the very least, + /// this is a formalization for deprecating enum values. + @$pb.TagNumber(1) + $core.bool get deprecated => $_getBF(0); + @$pb.TagNumber(1) + set deprecated($core.bool v) { $_setBool(0, v); } + @$pb.TagNumber(1) + $core.bool hasDeprecated() => $_has(0); + @$pb.TagNumber(1) + void clearDeprecated() => clearField(1); + + /// Any features defined in the specific edition. + @$pb.TagNumber(2) + FeatureSet get features => $_getN(1); + @$pb.TagNumber(2) + set features(FeatureSet v) { setField(2, v); } + @$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 v) { $_setBool(2, v); } + @$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 v) { setField(4, v); } + @$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) + $core.List get uninterpretedOption => $_getList(4); +} + +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; + } + ServiceOptions._() : super(); + factory ServiceOptions.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory ServiceOptions.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + 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 + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + ServiceOptions clone() => ServiceOptions()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + ServiceOptions copyWith(void Function(ServiceOptions) updates) => super.copyWith((message) => updates(message as ServiceOptions)) as ServiceOptions; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static ServiceOptions create() => ServiceOptions._(); + ServiceOptions createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static ServiceOptions getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static ServiceOptions? _defaultInstance; + + /// Is this service deprecated? + /// Depending on the target platform, this can emit Deprecated annotations + /// for the service, or it will be completely ignored; in the very least, + /// this is a formalization for deprecating services. + @$pb.TagNumber(33) + $core.bool get deprecated => $_getBF(0); + @$pb.TagNumber(33) + set deprecated($core.bool v) { $_setBool(0, v); } + @$pb.TagNumber(33) + $core.bool hasDeprecated() => $_has(0); + @$pb.TagNumber(33) + void clearDeprecated() => clearField(33); + + /// Any features defined in the specific edition. + @$pb.TagNumber(34) + FeatureSet get features => $_getN(1); + @$pb.TagNumber(34) + set features(FeatureSet v) { setField(34, v); } + @$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) + $core.List get uninterpretedOption => $_getList(2); +} + +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; + } + MethodOptions._() : super(); + factory MethodOptions.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory MethodOptions.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + 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 + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + MethodOptions clone() => MethodOptions()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + MethodOptions copyWith(void Function(MethodOptions) updates) => super.copyWith((message) => updates(message as MethodOptions)) as MethodOptions; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static MethodOptions create() => MethodOptions._(); + MethodOptions createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static MethodOptions getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static MethodOptions? _defaultInstance; + + /// Is this method deprecated? + /// Depending on the target platform, this can emit Deprecated annotations + /// for the method, or it will be completely ignored; in the very least, + /// this is a formalization for deprecating methods. + @$pb.TagNumber(33) + $core.bool get deprecated => $_getBF(0); + @$pb.TagNumber(33) + set deprecated($core.bool v) { $_setBool(0, v); } + @$pb.TagNumber(33) + $core.bool hasDeprecated() => $_has(0); + @$pb.TagNumber(33) + void clearDeprecated() => clearField(33); + + @$pb.TagNumber(34) + MethodOptions_IdempotencyLevel get idempotencyLevel => $_getN(1); + @$pb.TagNumber(34) + set idempotencyLevel(MethodOptions_IdempotencyLevel v) { setField(34, v); } + @$pb.TagNumber(34) + $core.bool hasIdempotencyLevel() => $_has(1); + @$pb.TagNumber(34) + void clearIdempotencyLevel() => clearField(34); + + /// Any features defined in the specific edition. + @$pb.TagNumber(35) + FeatureSet get features => $_getN(2); + @$pb.TagNumber(35) + set features(FeatureSet v) { setField(35, v); } + @$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) + $core.List get uninterpretedOption => $_getList(3); +} + +/// 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". +class UninterpretedOption_NamePart extends $pb.GeneratedMessage { + factory UninterpretedOption_NamePart({ + $core.String? namePart, + $core.bool? isExtension, + }) { + final $result = create(); + if (namePart != null) { + $result.namePart = namePart; + } + if (isExtension != null) { + $result.isExtension = isExtension; + } + return $result; + } + UninterpretedOption_NamePart._() : super(); + factory UninterpretedOption_NamePart.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory UninterpretedOption_NamePart.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UninterpretedOption.NamePart', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create) + ..aQS(1, _omitFieldNames ? '' : 'namePart') + ..a<$core.bool>(2, _omitFieldNames ? '' : 'isExtension', $pb.PbFieldType.QB) + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + UninterpretedOption_NamePart clone() => UninterpretedOption_NamePart()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + UninterpretedOption_NamePart copyWith(void Function(UninterpretedOption_NamePart) updates) => super.copyWith((message) => updates(message as UninterpretedOption_NamePart)) as UninterpretedOption_NamePart; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static UninterpretedOption_NamePart create() => UninterpretedOption_NamePart._(); + UninterpretedOption_NamePart createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static UninterpretedOption_NamePart getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static UninterpretedOption_NamePart? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get namePart => $_getSZ(0); + @$pb.TagNumber(1) + set namePart($core.String v) { $_setString(0, v); } + @$pb.TagNumber(1) + $core.bool hasNamePart() => $_has(0); + @$pb.TagNumber(1) + void clearNamePart() => clearField(1); + + @$pb.TagNumber(2) + $core.bool get isExtension => $_getBF(1); + @$pb.TagNumber(2) + set isExtension($core.bool v) { $_setBool(1, v); } + @$pb.TagNumber(2) + $core.bool hasIsExtension() => $_has(1); + @$pb.TagNumber(2) + void clearIsExtension() => clearField(2); +} + +/// A message representing a option the parser does not recognize. This only +/// appears in options protos created by the compiler::Parser class. +/// DescriptorPool resolves these when building Descriptor objects. Therefore, +/// options protos in descriptor objects (e.g. returned by Descriptor::options(), +/// or produced by Descriptor::CopyTo()) will never have UninterpretedOptions +/// in them. +class UninterpretedOption extends $pb.GeneratedMessage { + factory UninterpretedOption({ + $core.Iterable? name, + $core.String? identifierValue, + $fixnum.Int64? positiveIntValue, + $fixnum.Int64? negativeIntValue, + $core.double? doubleValue, + $core.List<$core.int>? stringValue, + $core.String? aggregateValue, + }) { + final $result = create(); + if (name != null) { + $result.name.addAll(name); + } + if (identifierValue != null) { + $result.identifierValue = identifierValue; + } + if (positiveIntValue != null) { + $result.positiveIntValue = positiveIntValue; + } + if (negativeIntValue != null) { + $result.negativeIntValue = negativeIntValue; + } + if (doubleValue != null) { + $result.doubleValue = doubleValue; + } + if (stringValue != null) { + $result.stringValue = stringValue; + } + if (aggregateValue != null) { + $result.aggregateValue = aggregateValue; + } + return $result; + } + UninterpretedOption._() : super(); + factory UninterpretedOption.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory UninterpretedOption.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UninterpretedOption', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create) + ..pc(2, _omitFieldNames ? '' : 'name', $pb.PbFieldType.PM, subBuilder: UninterpretedOption_NamePart.create) + ..aOS(3, _omitFieldNames ? '' : 'identifierValue') + ..a<$fixnum.Int64>(4, _omitFieldNames ? '' : 'positiveIntValue', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) + ..aInt64(5, _omitFieldNames ? '' : 'negativeIntValue') + ..a<$core.double>(6, _omitFieldNames ? '' : 'doubleValue', $pb.PbFieldType.OD) + ..a<$core.List<$core.int>>(7, _omitFieldNames ? '' : 'stringValue', $pb.PbFieldType.OY) + ..aOS(8, _omitFieldNames ? '' : 'aggregateValue') + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + UninterpretedOption clone() => UninterpretedOption()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + UninterpretedOption copyWith(void Function(UninterpretedOption) updates) => super.copyWith((message) => updates(message as UninterpretedOption)) as UninterpretedOption; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static UninterpretedOption create() => UninterpretedOption._(); + UninterpretedOption createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static UninterpretedOption getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static UninterpretedOption? _defaultInstance; + + @$pb.TagNumber(2) + $core.List get name => $_getList(0); + + /// The value of the uninterpreted option, in whatever type the tokenizer + /// identified it as during parsing. Exactly one of these should be set. + @$pb.TagNumber(3) + $core.String get identifierValue => $_getSZ(1); + @$pb.TagNumber(3) + set identifierValue($core.String v) { $_setString(1, v); } + @$pb.TagNumber(3) + $core.bool hasIdentifierValue() => $_has(1); + @$pb.TagNumber(3) + void clearIdentifierValue() => clearField(3); + + @$pb.TagNumber(4) + $fixnum.Int64 get positiveIntValue => $_getI64(2); + @$pb.TagNumber(4) + set positiveIntValue($fixnum.Int64 v) { $_setInt64(2, v); } + @$pb.TagNumber(4) + $core.bool hasPositiveIntValue() => $_has(2); + @$pb.TagNumber(4) + void clearPositiveIntValue() => clearField(4); + + @$pb.TagNumber(5) + $fixnum.Int64 get negativeIntValue => $_getI64(3); + @$pb.TagNumber(5) + set negativeIntValue($fixnum.Int64 v) { $_setInt64(3, v); } + @$pb.TagNumber(5) + $core.bool hasNegativeIntValue() => $_has(3); + @$pb.TagNumber(5) + void clearNegativeIntValue() => clearField(5); + + @$pb.TagNumber(6) + $core.double get doubleValue => $_getN(4); + @$pb.TagNumber(6) + set doubleValue($core.double v) { $_setDouble(4, v); } + @$pb.TagNumber(6) + $core.bool hasDoubleValue() => $_has(4); + @$pb.TagNumber(6) + void clearDoubleValue() => clearField(6); + + @$pb.TagNumber(7) + $core.List<$core.int> get stringValue => $_getN(5); + @$pb.TagNumber(7) + set stringValue($core.List<$core.int> v) { $_setBytes(5, v); } + @$pb.TagNumber(7) + $core.bool hasStringValue() => $_has(5); + @$pb.TagNumber(7) + void clearStringValue() => clearField(7); + + @$pb.TagNumber(8) + $core.String get aggregateValue => $_getSZ(6); + @$pb.TagNumber(8) + set aggregateValue($core.String v) { $_setString(6, v); } + @$pb.TagNumber(8) + $core.bool hasAggregateValue() => $_has(6); + @$pb.TagNumber(8) + void clearAggregateValue() => clearField(8); +} + +/// 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, + }) { + 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; + } + return $result; + } + FeatureSet._() : super(); + factory FeatureSet.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory FeatureSet.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + 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) + ..hasExtensions = true + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + FeatureSet clone() => FeatureSet()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + FeatureSet copyWith(void Function(FeatureSet) updates) => super.copyWith((message) => updates(message as FeatureSet)) as FeatureSet; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static FeatureSet create() => FeatureSet._(); + 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 v) { setField(1, v); } + @$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 v) { setField(2, v); } + @$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 v) { setField(3, v); } + @$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 v) { setField(4, v); } + @$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 v) { setField(5, v); } + @$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 v) { setField(6, v); } + @$pb.TagNumber(6) + $core.bool hasJsonFormat() => $_has(5); + @$pb.TagNumber(6) + void clearJsonFormat() => clearField(6); +} + +/// 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._() : super(); + factory FeatureSetDefaults_FeatureSetEditionDefault.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory FeatureSetDefaults_FeatureSetEditionDefault.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + 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( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + FeatureSetDefaults_FeatureSetEditionDefault clone() => FeatureSetDefaults_FeatureSetEditionDefault()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + FeatureSetDefaults_FeatureSetEditionDefault copyWith(void Function(FeatureSetDefaults_FeatureSetEditionDefault) updates) => super.copyWith((message) => updates(message as FeatureSetDefaults_FeatureSetEditionDefault)) as FeatureSetDefaults_FeatureSetEditionDefault; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static FeatureSetDefaults_FeatureSetEditionDefault create() => FeatureSetDefaults_FeatureSetEditionDefault._(); + 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 v) { setField(3, v); } + @$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 v) { setField(4, v); } + @$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 v) { setField(5, v); } + @$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._() : super(); + factory FeatureSetDefaults.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory FeatureSetDefaults.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + 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( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + FeatureSetDefaults clone() => FeatureSetDefaults()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + FeatureSetDefaults copyWith(void Function(FeatureSetDefaults) updates) => super.copyWith((message) => updates(message as FeatureSetDefaults)) as FeatureSetDefaults; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static FeatureSetDefaults create() => FeatureSetDefaults._(); + 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) + $core.List 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 v) { setField(4, v); } + @$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 v) { setField(5, v); } + @$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, + $core.Iterable<$core.int>? span, + $core.String? leadingComments, + $core.String? trailingComments, + $core.Iterable<$core.String>? leadingDetachedComments, + }) { + final $result = create(); + if (path != null) { + $result.path.addAll(path); + } + if (span != null) { + $result.span.addAll(span); + } + if (leadingComments != null) { + $result.leadingComments = leadingComments; + } + if (trailingComments != null) { + $result.trailingComments = trailingComments; + } + if (leadingDetachedComments != null) { + $result.leadingDetachedComments.addAll(leadingDetachedComments); + } + return $result; + } + SourceCodeInfo_Location._() : super(); + factory SourceCodeInfo_Location.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory SourceCodeInfo_Location.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SourceCodeInfo.Location', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create) + ..p<$core.int>(1, _omitFieldNames ? '' : 'path', $pb.PbFieldType.K3) + ..p<$core.int>(2, _omitFieldNames ? '' : 'span', $pb.PbFieldType.K3) + ..aOS(3, _omitFieldNames ? '' : 'leadingComments') + ..aOS(4, _omitFieldNames ? '' : 'trailingComments') + ..pPS(6, _omitFieldNames ? '' : 'leadingDetachedComments') + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + SourceCodeInfo_Location clone() => SourceCodeInfo_Location()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + SourceCodeInfo_Location copyWith(void Function(SourceCodeInfo_Location) updates) => super.copyWith((message) => updates(message as SourceCodeInfo_Location)) as SourceCodeInfo_Location; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static SourceCodeInfo_Location create() => SourceCodeInfo_Location._(); + SourceCodeInfo_Location createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static SourceCodeInfo_Location getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static SourceCodeInfo_Location? _defaultInstance; + + /// Identifies which part of the FileDescriptorProto was defined at this + /// 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: + /// [ 4, 3, 2, 7, 1 ] + /// refers to: + /// file.message_type(3) // 4, 3 + /// .field(7) // 2, 7 + /// .name() // 1 + /// This is because FileDescriptorProto.message_type has field number 4: + /// repeated DescriptorProto message_type = 4; + /// and DescriptorProto.field has field number 2: + /// repeated FieldDescriptorProto field = 2; + /// and FieldDescriptorProto.name has field number 1: + /// optional string name = 1; + /// + /// Thus, the above path gives the location of a field name. If we removed + /// the last element: + /// [ 4, 3, 2, 7 ] + /// this path refers to the whole field declaration (from the beginning + /// of the label to the terminating semicolon). + @$pb.TagNumber(1) + $core.List<$core.int> get path => $_getList(0); + + /// Always has exactly three or four elements: start line, start column, + /// end line (optional, otherwise assumed same as start line), end column. + /// These are packed into a single field for efficiency. Note that line + /// and column numbers are zero-based -- typically you will want to add + /// 1 to each before displaying to a user. + @$pb.TagNumber(2) + $core.List<$core.int> get span => $_getList(1); + + /// If this SourceCodeInfo represents a complete declaration, these are any + /// comments appearing before and after the declaration which appear to be + /// attached to the declaration. + /// + /// A series of line comments appearing on consecutive lines, with no other + /// tokens appearing on those lines, will be treated as a single comment. + /// + /// leading_detached_comments will keep paragraphs of comments that appear + /// before (but not connected to) the current element. Each paragraph, + /// separated by empty lines, will be one comment element in the repeated + /// field. + /// + /// Only the comment content is provided; comment markers (e.g. //) are + /// stripped out. For block comments, leading whitespace and an asterisk + /// will be stripped from the beginning of each line other than the first. + /// Newlines are included in the output. + /// + /// Examples: + /// + /// optional int32 foo = 1; // Comment attached to foo. + /// // Comment attached to bar. + /// optional int32 bar = 2; + /// + /// optional string baz = 3; + /// // Comment attached to baz. + /// // Another line attached to baz. + /// + /// // Comment attached to moo. + /// // + /// // Another line attached to moo. + /// optional double moo = 4; + /// + /// // Detached comment for corge. This is not leading or trailing comments + /// // to moo or corge because there are blank lines separating it from + /// // both. + /// + /// // Detached comment for corge paragraph 2. + /// + /// optional string corge = 5; + /// /* Block comment attached + /// * to corge. Leading asterisks + /// * will be removed. */ + /// /* Block comment attached to + /// * grault. */ + /// optional int32 grault = 6; + /// + /// // ignored detached comments. + @$pb.TagNumber(3) + $core.String get leadingComments => $_getSZ(2); + @$pb.TagNumber(3) + set leadingComments($core.String v) { $_setString(2, v); } + @$pb.TagNumber(3) + $core.bool hasLeadingComments() => $_has(2); + @$pb.TagNumber(3) + void clearLeadingComments() => clearField(3); + + @$pb.TagNumber(4) + $core.String get trailingComments => $_getSZ(3); + @$pb.TagNumber(4) + set trailingComments($core.String v) { $_setString(3, v); } + @$pb.TagNumber(4) + $core.bool hasTrailingComments() => $_has(3); + @$pb.TagNumber(4) + void clearTrailingComments() => clearField(4); + + @$pb.TagNumber(6) + $core.List<$core.String> get leadingDetachedComments => $_getList(4); +} + +/// Encapsulates information about the original source file from which a +/// FileDescriptorProto was generated. +class SourceCodeInfo extends $pb.GeneratedMessage { + factory SourceCodeInfo({ + $core.Iterable? location, + }) { + final $result = create(); + if (location != null) { + $result.location.addAll(location); + } + return $result; + } + SourceCodeInfo._() : super(); + factory SourceCodeInfo.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory SourceCodeInfo.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + 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) + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + SourceCodeInfo clone() => SourceCodeInfo()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + SourceCodeInfo copyWith(void Function(SourceCodeInfo) updates) => super.copyWith((message) => updates(message as SourceCodeInfo)) as SourceCodeInfo; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static SourceCodeInfo create() => SourceCodeInfo._(); + SourceCodeInfo createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static SourceCodeInfo getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static SourceCodeInfo? _defaultInstance; + + /// A Location identifies a piece of source code in a .proto file which + /// corresponds to a particular definition. This information is intended + /// to be useful to IDEs, code indexers, documentation generators, and similar + /// tools. + /// + /// For example, say we have a file like: + /// message Foo { + /// optional string foo = 1; + /// } + /// Let's look at just the field definition: + /// optional string foo = 1; + /// ^ ^^ ^^ ^ ^^^ + /// a bc de f ghi + /// We have the following locations: + /// span path represents + /// [a,i) [ 4, 0, 2, 0 ] The whole field definition. + /// [a,b) [ 4, 0, 2, 0, 4 ] The label (optional). + /// [c,d) [ 4, 0, 2, 0, 5 ] The type (string). + /// [e,f) [ 4, 0, 2, 0, 1 ] The name (foo). + /// [g,h) [ 4, 0, 2, 0, 3 ] The number (1). + /// + /// Notes: + /// - A location may refer to a repeated field itself (i.e. not to any + /// particular index within it). This is used whenever a set of elements are + /// logically enclosed in a single code segment. For example, an entire + /// extend block (possibly containing multiple extension definitions) will + /// have an outer location whose path refers to the "extensions" repeated + /// field without an index. + /// - Multiple locations may have the same path. This happens when a single + /// logical declaration is spread out across multiple places. The most + /// obvious example is the "extend" block again -- there may be multiple + /// extend blocks in the same scope, each of which will have the same path. + /// - A location's span is not always a subset of its parent's span. For + /// example, the "extendee" of an extension declaration appears at the + /// beginning of the "extend" block and is shared by all extensions within + /// the block. + /// - Just because a location's span is a subset of some other location's span + /// does not mean that it is a descendant. For example, a "group" defines + /// both a type and a field in a single declaration. Thus, the locations + /// corresponding to the type and field and their components will overlap. + /// - Code which tries to interpret locations should probably be designed to + /// ignore those that it doesn't understand, as more types of locations could + /// be recorded in the future. + @$pb.TagNumber(1) + $core.List get location => $_getList(0); +} + +class GeneratedCodeInfo_Annotation extends $pb.GeneratedMessage { + factory GeneratedCodeInfo_Annotation({ + $core.Iterable<$core.int>? path, + $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; + } + GeneratedCodeInfo_Annotation._() : super(); + factory GeneratedCodeInfo_Annotation.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory GeneratedCodeInfo_Annotation.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GeneratedCodeInfo.Annotation', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create) + ..p<$core.int>(1, _omitFieldNames ? '' : 'path', $pb.PbFieldType.K3) + ..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 + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + GeneratedCodeInfo_Annotation clone() => GeneratedCodeInfo_Annotation()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + GeneratedCodeInfo_Annotation copyWith(void Function(GeneratedCodeInfo_Annotation) updates) => super.copyWith((message) => updates(message as GeneratedCodeInfo_Annotation)) as GeneratedCodeInfo_Annotation; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static GeneratedCodeInfo_Annotation create() => GeneratedCodeInfo_Annotation._(); + GeneratedCodeInfo_Annotation createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static GeneratedCodeInfo_Annotation getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static GeneratedCodeInfo_Annotation? _defaultInstance; + + /// Identifies the element in the original source .proto file. This field + /// is formatted the same as SourceCodeInfo.Location.path. + @$pb.TagNumber(1) + $core.List<$core.int> get path => $_getList(0); + + /// Identifies the filesystem path to the original source .proto. + @$pb.TagNumber(2) + $core.String get sourceFile => $_getSZ(1); + @$pb.TagNumber(2) + set sourceFile($core.String v) { $_setString(1, v); } + @$pb.TagNumber(2) + $core.bool hasSourceFile() => $_has(1); + @$pb.TagNumber(2) + void clearSourceFile() => clearField(2); + + /// Identifies the starting offset in bytes in the generated code + /// that relates to the identified object. + @$pb.TagNumber(3) + $core.int get begin => $_getIZ(2); + @$pb.TagNumber(3) + set begin($core.int v) { $_setSignedInt32(2, v); } + @$pb.TagNumber(3) + $core.bool hasBegin() => $_has(2); + @$pb.TagNumber(3) + 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 + /// the last relevant byte (so the length of the text = end - begin). + @$pb.TagNumber(4) + $core.int get end => $_getIZ(3); + @$pb.TagNumber(4) + set end($core.int v) { $_setSignedInt32(3, v); } + @$pb.TagNumber(4) + $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 v) { setField(5, v); } + @$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 +/// file. A GeneratedCodeInfo message is associated with only one generated +/// source file, but may contain references to different source .proto files. +class GeneratedCodeInfo extends $pb.GeneratedMessage { + factory GeneratedCodeInfo({ + $core.Iterable? annotation, + }) { + final $result = create(); + if (annotation != null) { + $result.annotation.addAll(annotation); + } + return $result; + } + GeneratedCodeInfo._() : super(); + factory GeneratedCodeInfo.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory GeneratedCodeInfo.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GeneratedCodeInfo', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create) + ..pc(1, _omitFieldNames ? '' : 'annotation', $pb.PbFieldType.PM, subBuilder: GeneratedCodeInfo_Annotation.create) + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + GeneratedCodeInfo clone() => GeneratedCodeInfo()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + GeneratedCodeInfo copyWith(void Function(GeneratedCodeInfo) updates) => super.copyWith((message) => updates(message as GeneratedCodeInfo)) as GeneratedCodeInfo; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static GeneratedCodeInfo create() => GeneratedCodeInfo._(); + GeneratedCodeInfo createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static GeneratedCodeInfo getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static GeneratedCodeInfo? _defaultInstance; + + /// An Annotation connects some span of text in generated code to an element + /// of its generating .proto file. + @$pb.TagNumber(1) + $core.List get annotation => $_getList(0); +} + + +const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); +const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/gen/dart/lib/google/protobuf/descriptor.pbenum.dart b/gen/dart/lib/google/protobuf/descriptor.pbenum.dart new file mode 100644 index 000000000..779fc7d30 --- /dev/null +++ b/gen/dart/lib/google/protobuf/descriptor.pbenum.dart @@ -0,0 +1,383 @@ +// +// Generated code. Do not modify. +// source: google/protobuf/descriptor.proto +// +// @dart = 2.12 + +// ignore_for_file: annotate_overrides, camel_case_types, comment_references +// ignore_for_file: constant_identifier_names, library_prefixes +// ignore_for_file: non_constant_identifier_names, prefer_final_fields +// ignore_for_file: unnecessary_import, unnecessary_this, unused_import + +import 'dart:core' as $core; + +import 'package:protobuf/protobuf.dart' as $pb; + +/// The full set of known editions. +class Edition extends $pb.ProtobufEnum { + static const Edition EDITION_UNKNOWN = Edition._(0, _omitEnumNames ? '' : 'EDITION_UNKNOWN'); + static const Edition EDITION_LEGACY = Edition._(900, _omitEnumNames ? '' : 'EDITION_LEGACY'); + static const Edition EDITION_PROTO2 = Edition._(998, _omitEnumNames ? '' : 'EDITION_PROTO2'); + static const Edition EDITION_PROTO3 = Edition._(999, _omitEnumNames ? '' : 'EDITION_PROTO3'); + static const Edition EDITION_2023 = Edition._(1000, _omitEnumNames ? '' : 'EDITION_2023'); + static const Edition EDITION_2024 = Edition._(1001, _omitEnumNames ? '' : 'EDITION_2024'); + 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'); + 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_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._($core.int v, $core.String n) : super(v, n); +} + +/// The verification state of the extension range. +class ExtensionRangeOptions_VerificationState extends $pb.ProtobufEnum { + 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.Map<$core.int, ExtensionRangeOptions_VerificationState> _byValue = $pb.ProtobufEnum.initByValue(values); + static ExtensionRangeOptions_VerificationState? valueOf($core.int value) => _byValue[value]; + + const ExtensionRangeOptions_VerificationState._($core.int v, $core.String n) : super(v, n); +} + +class FieldDescriptorProto_Type extends $pb.ProtobufEnum { + static const FieldDescriptorProto_Type TYPE_DOUBLE = FieldDescriptorProto_Type._(1, _omitEnumNames ? '' : 'TYPE_DOUBLE'); + static const FieldDescriptorProto_Type TYPE_FLOAT = FieldDescriptorProto_Type._(2, _omitEnumNames ? '' : 'TYPE_FLOAT'); + static const FieldDescriptorProto_Type TYPE_INT64 = FieldDescriptorProto_Type._(3, _omitEnumNames ? '' : 'TYPE_INT64'); + static const FieldDescriptorProto_Type TYPE_UINT64 = FieldDescriptorProto_Type._(4, _omitEnumNames ? '' : 'TYPE_UINT64'); + static const FieldDescriptorProto_Type TYPE_INT32 = FieldDescriptorProto_Type._(5, _omitEnumNames ? '' : 'TYPE_INT32'); + static const FieldDescriptorProto_Type TYPE_FIXED64 = FieldDescriptorProto_Type._(6, _omitEnumNames ? '' : 'TYPE_FIXED64'); + static const FieldDescriptorProto_Type TYPE_FIXED32 = FieldDescriptorProto_Type._(7, _omitEnumNames ? '' : 'TYPE_FIXED32'); + static const FieldDescriptorProto_Type TYPE_BOOL = FieldDescriptorProto_Type._(8, _omitEnumNames ? '' : 'TYPE_BOOL'); + static const FieldDescriptorProto_Type TYPE_STRING = FieldDescriptorProto_Type._(9, _omitEnumNames ? '' : 'TYPE_STRING'); + static const FieldDescriptorProto_Type TYPE_GROUP = FieldDescriptorProto_Type._(10, _omitEnumNames ? '' : 'TYPE_GROUP'); + static const FieldDescriptorProto_Type TYPE_MESSAGE = FieldDescriptorProto_Type._(11, _omitEnumNames ? '' : 'TYPE_MESSAGE'); + static const FieldDescriptorProto_Type TYPE_BYTES = FieldDescriptorProto_Type._(12, _omitEnumNames ? '' : 'TYPE_BYTES'); + static const FieldDescriptorProto_Type TYPE_UINT32 = FieldDescriptorProto_Type._(13, _omitEnumNames ? '' : 'TYPE_UINT32'); + static const FieldDescriptorProto_Type TYPE_ENUM = FieldDescriptorProto_Type._(14, _omitEnumNames ? '' : 'TYPE_ENUM'); + static const FieldDescriptorProto_Type TYPE_SFIXED32 = FieldDescriptorProto_Type._(15, _omitEnumNames ? '' : 'TYPE_SFIXED32'); + static const FieldDescriptorProto_Type TYPE_SFIXED64 = FieldDescriptorProto_Type._(16, _omitEnumNames ? '' : 'TYPE_SFIXED64'); + static const FieldDescriptorProto_Type TYPE_SINT32 = FieldDescriptorProto_Type._(17, _omitEnumNames ? '' : 'TYPE_SINT32'); + static const FieldDescriptorProto_Type TYPE_SINT64 = FieldDescriptorProto_Type._(18, _omitEnumNames ? '' : 'TYPE_SINT64'); + + static const $core.List values = [ + TYPE_DOUBLE, + TYPE_FLOAT, + TYPE_INT64, + TYPE_UINT64, + TYPE_INT32, + TYPE_FIXED64, + TYPE_FIXED32, + TYPE_BOOL, + TYPE_STRING, + TYPE_GROUP, + TYPE_MESSAGE, + TYPE_BYTES, + TYPE_UINT32, + TYPE_ENUM, + TYPE_SFIXED32, + TYPE_SFIXED64, + TYPE_SINT32, + TYPE_SINT64, + ]; + + static final $core.Map<$core.int, FieldDescriptorProto_Type> _byValue = $pb.ProtobufEnum.initByValue(values); + static FieldDescriptorProto_Type? valueOf($core.int value) => _byValue[value]; + + const FieldDescriptorProto_Type._($core.int v, $core.String n) : super(v, n); +} + +class FieldDescriptorProto_Label extends $pb.ProtobufEnum { + static const FieldDescriptorProto_Label LABEL_OPTIONAL = FieldDescriptorProto_Label._(1, _omitEnumNames ? '' : 'LABEL_OPTIONAL'); + static const FieldDescriptorProto_Label LABEL_REPEATED = FieldDescriptorProto_Label._(3, _omitEnumNames ? '' : 'LABEL_REPEATED'); + static const FieldDescriptorProto_Label LABEL_REQUIRED = FieldDescriptorProto_Label._(2, _omitEnumNames ? '' : 'LABEL_REQUIRED'); + + static const $core.List values = [ + LABEL_OPTIONAL, + LABEL_REPEATED, + LABEL_REQUIRED, + ]; + + static final $core.Map<$core.int, FieldDescriptorProto_Label> _byValue = $pb.ProtobufEnum.initByValue(values); + static FieldDescriptorProto_Label? valueOf($core.int value) => _byValue[value]; + + const FieldDescriptorProto_Label._($core.int v, $core.String n) : super(v, n); +} + +/// Generated classes can be optimized for speed or code size. +class FileOptions_OptimizeMode extends $pb.ProtobufEnum { + static const FileOptions_OptimizeMode SPEED = FileOptions_OptimizeMode._(1, _omitEnumNames ? '' : 'SPEED'); + static const FileOptions_OptimizeMode CODE_SIZE = FileOptions_OptimizeMode._(2, _omitEnumNames ? '' : 'CODE_SIZE'); + static const FileOptions_OptimizeMode LITE_RUNTIME = FileOptions_OptimizeMode._(3, _omitEnumNames ? '' : 'LITE_RUNTIME'); + + static const $core.List values = [ + SPEED, + CODE_SIZE, + LITE_RUNTIME, + ]; + + static final $core.Map<$core.int, FileOptions_OptimizeMode> _byValue = $pb.ProtobufEnum.initByValue(values); + static FileOptions_OptimizeMode? valueOf($core.int value) => _byValue[value]; + + const FileOptions_OptimizeMode._($core.int v, $core.String n) : super(v, n); +} + +class FieldOptions_CType extends $pb.ProtobufEnum { + static const FieldOptions_CType STRING = FieldOptions_CType._(0, _omitEnumNames ? '' : 'STRING'); + static const FieldOptions_CType CORD = FieldOptions_CType._(1, _omitEnumNames ? '' : 'CORD'); + static const FieldOptions_CType STRING_PIECE = FieldOptions_CType._(2, _omitEnumNames ? '' : 'STRING_PIECE'); + + static const $core.List values = [ + STRING, + CORD, + STRING_PIECE, + ]; + + static final $core.Map<$core.int, FieldOptions_CType> _byValue = $pb.ProtobufEnum.initByValue(values); + static FieldOptions_CType? valueOf($core.int value) => _byValue[value]; + + const FieldOptions_CType._($core.int v, $core.String n) : super(v, n); +} + +class FieldOptions_JSType extends $pb.ProtobufEnum { + static const FieldOptions_JSType JS_NORMAL = FieldOptions_JSType._(0, _omitEnumNames ? '' : 'JS_NORMAL'); + static const FieldOptions_JSType JS_STRING = FieldOptions_JSType._(1, _omitEnumNames ? '' : 'JS_STRING'); + static const FieldOptions_JSType JS_NUMBER = FieldOptions_JSType._(2, _omitEnumNames ? '' : 'JS_NUMBER'); + + static const $core.List values = [ + JS_NORMAL, + JS_STRING, + JS_NUMBER, + ]; + + static final $core.Map<$core.int, FieldOptions_JSType> _byValue = $pb.ProtobufEnum.initByValue(values); + static FieldOptions_JSType? valueOf($core.int value) => _byValue[value]; + + const FieldOptions_JSType._($core.int v, $core.String n) : super(v, n); +} + +/// If set to RETENTION_SOURCE, the option will be omitted from the binary. +/// Note: as of January 2023, support for this is in progress and does not yet +/// have an effect (b/264593489). +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.Map<$core.int, FieldOptions_OptionRetention> _byValue = $pb.ProtobufEnum.initByValue(values); + static FieldOptions_OptionRetention? valueOf($core.int value) => _byValue[value]; + + const FieldOptions_OptionRetention._($core.int v, $core.String n) : super(v, n); +} + +/// 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. Note: as of January 2023, support for this is +/// in progress and does not yet have an effect (b/264593489). +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.Map<$core.int, FieldOptions_OptionTargetType> _byValue = $pb.ProtobufEnum.initByValue(values); + static FieldOptions_OptionTargetType? valueOf($core.int value) => _byValue[value]; + + const FieldOptions_OptionTargetType._($core.int v, $core.String n) : super(v, n); +} + +/// 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. +class MethodOptions_IdempotencyLevel extends $pb.ProtobufEnum { + static const MethodOptions_IdempotencyLevel IDEMPOTENCY_UNKNOWN = MethodOptions_IdempotencyLevel._(0, _omitEnumNames ? '' : 'IDEMPOTENCY_UNKNOWN'); + static const MethodOptions_IdempotencyLevel NO_SIDE_EFFECTS = MethodOptions_IdempotencyLevel._(1, _omitEnumNames ? '' : 'NO_SIDE_EFFECTS'); + static const MethodOptions_IdempotencyLevel IDEMPOTENT = MethodOptions_IdempotencyLevel._(2, _omitEnumNames ? '' : 'IDEMPOTENT'); + + static const $core.List values = [ + IDEMPOTENCY_UNKNOWN, + NO_SIDE_EFFECTS, + IDEMPOTENT, + ]; + + static final $core.Map<$core.int, MethodOptions_IdempotencyLevel> _byValue = $pb.ProtobufEnum.initByValue(values); + static MethodOptions_IdempotencyLevel? valueOf($core.int value) => _byValue[value]; + + const MethodOptions_IdempotencyLevel._($core.int v, $core.String n) : super(v, n); +} + +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.Map<$core.int, FeatureSet_FieldPresence> _byValue = $pb.ProtobufEnum.initByValue(values); + static FeatureSet_FieldPresence? valueOf($core.int value) => _byValue[value]; + + const FeatureSet_FieldPresence._($core.int v, $core.String n) : super(v, n); +} + +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.Map<$core.int, FeatureSet_EnumType> _byValue = $pb.ProtobufEnum.initByValue(values); + static FeatureSet_EnumType? valueOf($core.int value) => _byValue[value]; + + const FeatureSet_EnumType._($core.int v, $core.String n) : super(v, n); +} + +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.Map<$core.int, FeatureSet_RepeatedFieldEncoding> _byValue = $pb.ProtobufEnum.initByValue(values); + static FeatureSet_RepeatedFieldEncoding? valueOf($core.int value) => _byValue[value]; + + const FeatureSet_RepeatedFieldEncoding._($core.int v, $core.String n) : super(v, n); +} + +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.Map<$core.int, FeatureSet_Utf8Validation> _byValue = $pb.ProtobufEnum.initByValue(values); + static FeatureSet_Utf8Validation? valueOf($core.int value) => _byValue[value]; + + const FeatureSet_Utf8Validation._($core.int v, $core.String n) : super(v, n); +} + +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.Map<$core.int, FeatureSet_MessageEncoding> _byValue = $pb.ProtobufEnum.initByValue(values); + static FeatureSet_MessageEncoding? valueOf($core.int value) => _byValue[value]; + + const FeatureSet_MessageEncoding._($core.int v, $core.String n) : super(v, n); +} + +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.Map<$core.int, FeatureSet_JsonFormat> _byValue = $pb.ProtobufEnum.initByValue(values); + static FeatureSet_JsonFormat? valueOf($core.int value) => _byValue[value]; + + const FeatureSet_JsonFormat._($core.int v, $core.String n) : super(v, n); +} + +/// Represents the identified object's effect on the element in the original +/// .proto file. +class GeneratedCodeInfo_Annotation_Semantic extends $pb.ProtobufEnum { + static const GeneratedCodeInfo_Annotation_Semantic NONE = GeneratedCodeInfo_Annotation_Semantic._(0, _omitEnumNames ? '' : 'NONE'); + static const GeneratedCodeInfo_Annotation_Semantic SET = GeneratedCodeInfo_Annotation_Semantic._(1, _omitEnumNames ? '' : 'SET'); + static const GeneratedCodeInfo_Annotation_Semantic ALIAS = GeneratedCodeInfo_Annotation_Semantic._(2, _omitEnumNames ? '' : 'ALIAS'); + + static const $core.List values = [ + NONE, + SET, + ALIAS, + ]; + + static final $core.Map<$core.int, GeneratedCodeInfo_Annotation_Semantic> _byValue = $pb.ProtobufEnum.initByValue(values); + static GeneratedCodeInfo_Annotation_Semantic? valueOf($core.int value) => _byValue[value]; + + const GeneratedCodeInfo_Annotation_Semantic._($core.int v, $core.String n) : super(v, n); +} + + +const _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names'); diff --git a/gen/dart/lib/google/protobuf/descriptor.pbjson.dart b/gen/dart/lib/google/protobuf/descriptor.pbjson.dart new file mode 100644 index 000000000..c1f633ed4 --- /dev/null +++ b/gen/dart/lib/google/protobuf/descriptor.pbjson.dart @@ -0,0 +1,1041 @@ +// +// Generated code. Do not modify. +// source: google/protobuf/descriptor.proto +// +// @dart = 2.12 + +// ignore_for_file: annotate_overrides, camel_case_types, comment_references +// ignore_for_file: constant_identifier_names, library_prefixes +// ignore_for_file: non_constant_identifier_names, prefer_final_fields +// ignore_for_file: unnecessary_import, unnecessary_this, unused_import + +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_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' + 'BxIRCgxFRElUSU9OXzIwMjQQ6QcSFwoTRURJVElPTl8xX1RFU1RfT05MWRABEhcKE0VESVRJT0' + '5fMl9URVNUX09OTFkQAhIdChdFRElUSU9OXzk5OTk3X1RFU1RfT05MWRCdjQYSHQoXRURJVElP' + 'Tl85OTk5OF9URVNUX09OTFkQno0GEh0KF0VESVRJT05fOTk5OTlfVEVTVF9PTkxZEJ+NBhITCg' + 'tFRElUSU9OX01BWBD/////Bw=='); + +@$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'}, + ], +}; + +/// Descriptor for `FileDescriptorSet`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List fileDescriptorSetDescriptor = $convert.base64Decode( + 'ChFGaWxlRGVzY3JpcHRvclNldBI4CgRmaWxlGAEgAygLMiQuZ29vZ2xlLnByb3RvYnVmLkZpbG' + 'VEZXNjcmlwdG9yUHJvdG9SBGZpbGU='); + +@$core.Deprecated('Use fileDescriptorProtoDescriptor instead') +const FileDescriptorProto$json = { + '1': 'FileDescriptorProto', + '2': [ + {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, + {'1': 'package', '3': 2, '4': 1, '5': 9, '10': 'package'}, + {'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': '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'}, + {'1': 'extension', '3': 7, '4': 3, '5': 11, '6': '.google.protobuf.FieldDescriptorProto', '10': 'extension'}, + {'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'}, + ], +}; + +/// Descriptor for `FileDescriptorProto`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List fileDescriptorProtoDescriptor = $convert.base64Decode( + 'ChNGaWxlRGVzY3JpcHRvclByb3RvEhIKBG5hbWUYASABKAlSBG5hbWUSGAoHcGFja2FnZRgCIA' + 'EoCVIHcGFja2FnZRIeCgpkZXBlbmRlbmN5GAMgAygJUgpkZXBlbmRlbmN5EisKEXB1YmxpY19k' + 'ZXBlbmRlbmN5GAogAygFUhBwdWJsaWNEZXBlbmRlbmN5EicKD3dlYWtfZGVwZW5kZW5jeRgLIA' + 'MoBVIOd2Vha0RlcGVuZGVuY3kSQwoMbWVzc2FnZV90eXBlGAQgAygLMiAuZ29vZ2xlLnByb3Rv' + 'YnVmLkRlc2NyaXB0b3JQcm90b1ILbWVzc2FnZVR5cGUSQQoJZW51bV90eXBlGAUgAygLMiQuZ2' + '9vZ2xlLnByb3RvYnVmLkVudW1EZXNjcmlwdG9yUHJvdG9SCGVudW1UeXBlEkEKB3NlcnZpY2UY' + 'BiADKAsyJy5nb29nbGUucHJvdG9idWYuU2VydmljZURlc2NyaXB0b3JQcm90b1IHc2VydmljZR' + 'JDCglleHRlbnNpb24YByADKAsyJS5nb29nbGUucHJvdG9idWYuRmllbGREZXNjcmlwdG9yUHJv' + 'dG9SCWV4dGVuc2lvbhI2CgdvcHRpb25zGAggASgLMhwuZ29vZ2xlLnByb3RvYnVmLkZpbGVPcH' + 'Rpb25zUgdvcHRpb25zEkkKEHNvdXJjZV9jb2RlX2luZm8YCSABKAsyHy5nb29nbGUucHJvdG9i' + 'dWYuU291cmNlQ29kZUluZm9SDnNvdXJjZUNvZGVJbmZvEhYKBnN5bnRheBgMIAEoCVIGc3ludG' + 'F4EjIKB2VkaXRpb24YDiABKA4yGC5nb29nbGUucHJvdG9idWYuRWRpdGlvblIHZWRpdGlvbg=='); + +@$core.Deprecated('Use descriptorProtoDescriptor instead') +const DescriptorProto$json = { + '1': 'DescriptorProto', + '2': [ + {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, + {'1': 'field', '3': 2, '4': 3, '5': 11, '6': '.google.protobuf.FieldDescriptorProto', '10': 'field'}, + {'1': 'extension', '3': 6, '4': 3, '5': 11, '6': '.google.protobuf.FieldDescriptorProto', '10': 'extension'}, + {'1': 'nested_type', '3': 3, '4': 3, '5': 11, '6': '.google.protobuf.DescriptorProto', '10': 'nestedType'}, + {'1': 'enum_type', '3': 4, '4': 3, '5': 11, '6': '.google.protobuf.EnumDescriptorProto', '10': 'enumType'}, + {'1': 'extension_range', '3': 5, '4': 3, '5': 11, '6': '.google.protobuf.DescriptorProto.ExtensionRange', '10': 'extensionRange'}, + {'1': 'oneof_decl', '3': 8, '4': 3, '5': 11, '6': '.google.protobuf.OneofDescriptorProto', '10': 'oneofDecl'}, + {'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'}, + ], + '3': [DescriptorProto_ExtensionRange$json, DescriptorProto_ReservedRange$json], +}; + +@$core.Deprecated('Use descriptorProtoDescriptor instead') +const DescriptorProto_ExtensionRange$json = { + '1': 'ExtensionRange', + '2': [ + {'1': 'start', '3': 1, '4': 1, '5': 5, '10': 'start'}, + {'1': 'end', '3': 2, '4': 1, '5': 5, '10': 'end'}, + {'1': 'options', '3': 3, '4': 1, '5': 11, '6': '.google.protobuf.ExtensionRangeOptions', '10': 'options'}, + ], +}; + +@$core.Deprecated('Use descriptorProtoDescriptor instead') +const DescriptorProto_ReservedRange$json = { + '1': 'ReservedRange', + '2': [ + {'1': 'start', '3': 1, '4': 1, '5': 5, '10': 'start'}, + {'1': 'end', '3': 2, '4': 1, '5': 5, '10': 'end'}, + ], +}; + +/// Descriptor for `DescriptorProto`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List descriptorProtoDescriptor = $convert.base64Decode( + 'Cg9EZXNjcmlwdG9yUHJvdG8SEgoEbmFtZRgBIAEoCVIEbmFtZRI7CgVmaWVsZBgCIAMoCzIlLm' + 'dvb2dsZS5wcm90b2J1Zi5GaWVsZERlc2NyaXB0b3JQcm90b1IFZmllbGQSQwoJZXh0ZW5zaW9u' + 'GAYgAygLMiUuZ29vZ2xlLnByb3RvYnVmLkZpZWxkRGVzY3JpcHRvclByb3RvUglleHRlbnNpb2' + '4SQQoLbmVzdGVkX3R5cGUYAyADKAsyIC5nb29nbGUucHJvdG9idWYuRGVzY3JpcHRvclByb3Rv' + 'UgpuZXN0ZWRUeXBlEkEKCWVudW1fdHlwZRgEIAMoCzIkLmdvb2dsZS5wcm90b2J1Zi5FbnVtRG' + 'VzY3JpcHRvclByb3RvUghlbnVtVHlwZRJYCg9leHRlbnNpb25fcmFuZ2UYBSADKAsyLy5nb29n' + 'bGUucHJvdG9idWYuRGVzY3JpcHRvclByb3RvLkV4dGVuc2lvblJhbmdlUg5leHRlbnNpb25SYW' + '5nZRJECgpvbmVvZl9kZWNsGAggAygLMiUuZ29vZ2xlLnByb3RvYnVmLk9uZW9mRGVzY3JpcHRv' + 'clByb3RvUglvbmVvZkRlY2wSOQoHb3B0aW9ucxgHIAEoCzIfLmdvb2dsZS5wcm90b2J1Zi5NZX' + 'NzYWdlT3B0aW9uc1IHb3B0aW9ucxJVCg5yZXNlcnZlZF9yYW5nZRgJIAMoCzIuLmdvb2dsZS5w' + 'cm90b2J1Zi5EZXNjcmlwdG9yUHJvdG8uUmVzZXJ2ZWRSYW5nZVINcmVzZXJ2ZWRSYW5nZRIjCg' + '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': {}, '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': {}, '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'); + +@$core.Deprecated('Use fieldDescriptorProtoDescriptor instead') +const FieldDescriptorProto$json = { + '1': 'FieldDescriptorProto', + '2': [ + {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, + {'1': 'number', '3': 3, '4': 1, '5': 5, '10': 'number'}, + {'1': 'label', '3': 4, '4': 1, '5': 14, '6': '.google.protobuf.FieldDescriptorProto.Label', '10': 'label'}, + {'1': 'type', '3': 5, '4': 1, '5': 14, '6': '.google.protobuf.FieldDescriptorProto.Type', '10': 'type'}, + {'1': 'type_name', '3': 6, '4': 1, '5': 9, '10': 'typeName'}, + {'1': 'extendee', '3': 2, '4': 1, '5': 9, '10': 'extendee'}, + {'1': 'default_value', '3': 7, '4': 1, '5': 9, '10': 'defaultValue'}, + {'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], +}; + +@$core.Deprecated('Use fieldDescriptorProtoDescriptor instead') +const FieldDescriptorProto_Type$json = { + '1': 'Type', + '2': [ + {'1': 'TYPE_DOUBLE', '2': 1}, + {'1': 'TYPE_FLOAT', '2': 2}, + {'1': 'TYPE_INT64', '2': 3}, + {'1': 'TYPE_UINT64', '2': 4}, + {'1': 'TYPE_INT32', '2': 5}, + {'1': 'TYPE_FIXED64', '2': 6}, + {'1': 'TYPE_FIXED32', '2': 7}, + {'1': 'TYPE_BOOL', '2': 8}, + {'1': 'TYPE_STRING', '2': 9}, + {'1': 'TYPE_GROUP', '2': 10}, + {'1': 'TYPE_MESSAGE', '2': 11}, + {'1': 'TYPE_BYTES', '2': 12}, + {'1': 'TYPE_UINT32', '2': 13}, + {'1': 'TYPE_ENUM', '2': 14}, + {'1': 'TYPE_SFIXED32', '2': 15}, + {'1': 'TYPE_SFIXED64', '2': 16}, + {'1': 'TYPE_SINT32', '2': 17}, + {'1': 'TYPE_SINT64', '2': 18}, + ], +}; + +@$core.Deprecated('Use fieldDescriptorProtoDescriptor instead') +const FieldDescriptorProto_Label$json = { + '1': 'Label', + '2': [ + {'1': 'LABEL_OPTIONAL', '2': 1}, + {'1': 'LABEL_REPEATED', '2': 3}, + {'1': 'LABEL_REQUIRED', '2': 2}, + ], +}; + +/// Descriptor for `FieldDescriptorProto`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List fieldDescriptorProtoDescriptor = $convert.base64Decode( + 'ChRGaWVsZERlc2NyaXB0b3JQcm90bxISCgRuYW1lGAEgASgJUgRuYW1lEhYKBm51bWJlchgDIA' + 'EoBVIGbnVtYmVyEkEKBWxhYmVsGAQgASgOMisuZ29vZ2xlLnByb3RvYnVmLkZpZWxkRGVzY3Jp' + 'cHRvclByb3RvLkxhYmVsUgVsYWJlbBI+CgR0eXBlGAUgASgOMiouZ29vZ2xlLnByb3RvYnVmLk' + 'ZpZWxkRGVzY3JpcHRvclByb3RvLlR5cGVSBHR5cGUSGwoJdHlwZV9uYW1lGAYgASgJUgh0eXBl' + 'TmFtZRIaCghleHRlbmRlZRgCIAEoCVIIZXh0ZW5kZWUSIwoNZGVmYXVsdF92YWx1ZRgHIAEoCV' + 'IMZGVmYXVsdFZhbHVlEh8KC29uZW9mX2luZGV4GAkgASgFUgpvbmVvZkluZGV4EhsKCWpzb25f' + 'bmFtZRgKIAEoCVIIanNvbk5hbWUSNwoHb3B0aW9ucxgIIAEoCzIdLmdvb2dsZS5wcm90b2J1Zi' + '5GaWVsZE9wdGlvbnNSB29wdGlvbnMSJwoPcHJvdG8zX29wdGlvbmFsGBEgASgIUg5wcm90bzNP' + 'cHRpb25hbCK2AgoEVHlwZRIPCgtUWVBFX0RPVUJMRRABEg4KClRZUEVfRkxPQVQQAhIOCgpUWV' + 'BFX0lOVDY0EAMSDwoLVFlQRV9VSU5UNjQQBBIOCgpUWVBFX0lOVDMyEAUSEAoMVFlQRV9GSVhF' + 'RDY0EAYSEAoMVFlQRV9GSVhFRDMyEAcSDQoJVFlQRV9CT09MEAgSDwoLVFlQRV9TVFJJTkcQCR' + 'IOCgpUWVBFX0dST1VQEAoSEAoMVFlQRV9NRVNTQUdFEAsSDgoKVFlQRV9CWVRFUxAMEg8KC1RZ' + 'UEVfVUlOVDMyEA0SDQoJVFlQRV9FTlVNEA4SEQoNVFlQRV9TRklYRUQzMhAPEhEKDVRZUEVfU0' + 'ZJWEVENjQQEBIPCgtUWVBFX1NJTlQzMhAREg8KC1RZUEVfU0lOVDY0EBIiQwoFTGFiZWwSEgoO' + 'TEFCRUxfT1BUSU9OQUwQARISCg5MQUJFTF9SRVBFQVRFRBADEhIKDkxBQkVMX1JFUVVJUkVEEA' + 'I='); + +@$core.Deprecated('Use oneofDescriptorProtoDescriptor instead') +const OneofDescriptorProto$json = { + '1': 'OneofDescriptorProto', + '2': [ + {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, + {'1': 'options', '3': 2, '4': 1, '5': 11, '6': '.google.protobuf.OneofOptions', '10': 'options'}, + ], +}; + +/// Descriptor for `OneofDescriptorProto`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List oneofDescriptorProtoDescriptor = $convert.base64Decode( + 'ChRPbmVvZkRlc2NyaXB0b3JQcm90bxISCgRuYW1lGAEgASgJUgRuYW1lEjcKB29wdGlvbnMYAi' + 'ABKAsyHS5nb29nbGUucHJvdG9idWYuT25lb2ZPcHRpb25zUgdvcHRpb25z'); + +@$core.Deprecated('Use enumDescriptorProtoDescriptor instead') +const EnumDescriptorProto$json = { + '1': 'EnumDescriptorProto', + '2': [ + {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, + {'1': 'value', '3': 2, '4': 3, '5': 11, '6': '.google.protobuf.EnumValueDescriptorProto', '10': 'value'}, + {'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'}, + ], + '3': [EnumDescriptorProto_EnumReservedRange$json], +}; + +@$core.Deprecated('Use enumDescriptorProtoDescriptor instead') +const EnumDescriptorProto_EnumReservedRange$json = { + '1': 'EnumReservedRange', + '2': [ + {'1': 'start', '3': 1, '4': 1, '5': 5, '10': 'start'}, + {'1': 'end', '3': 2, '4': 1, '5': 5, '10': 'end'}, + ], +}; + +/// Descriptor for `EnumDescriptorProto`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List enumDescriptorProtoDescriptor = $convert.base64Decode( + 'ChNFbnVtRGVzY3JpcHRvclByb3RvEhIKBG5hbWUYASABKAlSBG5hbWUSPwoFdmFsdWUYAiADKA' + 'syKS5nb29nbGUucHJvdG9idWYuRW51bVZhbHVlRGVzY3JpcHRvclByb3RvUgV2YWx1ZRI2Cgdv' + 'cHRpb25zGAMgASgLMhwuZ29vZ2xlLnByb3RvYnVmLkVudW1PcHRpb25zUgdvcHRpb25zEl0KDn' + 'Jlc2VydmVkX3JhbmdlGAQgAygLMjYuZ29vZ2xlLnByb3RvYnVmLkVudW1EZXNjcmlwdG9yUHJv' + 'dG8uRW51bVJlc2VydmVkUmFuZ2VSDXJlc2VydmVkUmFuZ2USIwoNcmVzZXJ2ZWRfbmFtZRgFIA' + 'MoCVIMcmVzZXJ2ZWROYW1lGjsKEUVudW1SZXNlcnZlZFJhbmdlEhQKBXN0YXJ0GAEgASgFUgVz' + 'dGFydBIQCgNlbmQYAiABKAVSA2VuZA=='); + +@$core.Deprecated('Use enumValueDescriptorProtoDescriptor instead') +const EnumValueDescriptorProto$json = { + '1': 'EnumValueDescriptorProto', + '2': [ + {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, + {'1': 'number', '3': 2, '4': 1, '5': 5, '10': 'number'}, + {'1': 'options', '3': 3, '4': 1, '5': 11, '6': '.google.protobuf.EnumValueOptions', '10': 'options'}, + ], +}; + +/// Descriptor for `EnumValueDescriptorProto`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List enumValueDescriptorProtoDescriptor = $convert.base64Decode( + 'ChhFbnVtVmFsdWVEZXNjcmlwdG9yUHJvdG8SEgoEbmFtZRgBIAEoCVIEbmFtZRIWCgZudW1iZX' + 'IYAiABKAVSBm51bWJlchI7CgdvcHRpb25zGAMgASgLMiEuZ29vZ2xlLnByb3RvYnVmLkVudW1W' + 'YWx1ZU9wdGlvbnNSB29wdGlvbnM='); + +@$core.Deprecated('Use serviceDescriptorProtoDescriptor instead') +const ServiceDescriptorProto$json = { + '1': 'ServiceDescriptorProto', + '2': [ + {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, + {'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'}, + ], +}; + +/// Descriptor for `ServiceDescriptorProto`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List serviceDescriptorProtoDescriptor = $convert.base64Decode( + 'ChZTZXJ2aWNlRGVzY3JpcHRvclByb3RvEhIKBG5hbWUYASABKAlSBG5hbWUSPgoGbWV0aG9kGA' + 'IgAygLMiYuZ29vZ2xlLnByb3RvYnVmLk1ldGhvZERlc2NyaXB0b3JQcm90b1IGbWV0aG9kEjkK' + 'B29wdGlvbnMYAyABKAsyHy5nb29nbGUucHJvdG9idWYuU2VydmljZU9wdGlvbnNSB29wdGlvbn' + 'M='); + +@$core.Deprecated('Use methodDescriptorProtoDescriptor instead') +const MethodDescriptorProto$json = { + '1': 'MethodDescriptorProto', + '2': [ + {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, + {'1': 'input_type', '3': 2, '4': 1, '5': 9, '10': 'inputType'}, + {'1': 'output_type', '3': 3, '4': 1, '5': 9, '10': 'outputType'}, + {'1': 'options', '3': 4, '4': 1, '5': 11, '6': '.google.protobuf.MethodOptions', '10': 'options'}, + {'1': 'client_streaming', '3': 5, '4': 1, '5': 8, '7': 'false', '10': 'clientStreaming'}, + {'1': 'server_streaming', '3': 6, '4': 1, '5': 8, '7': 'false', '10': 'serverStreaming'}, + ], +}; + +/// Descriptor for `MethodDescriptorProto`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List methodDescriptorProtoDescriptor = $convert.base64Decode( + 'ChVNZXRob2REZXNjcmlwdG9yUHJvdG8SEgoEbmFtZRgBIAEoCVIEbmFtZRIdCgppbnB1dF90eX' + 'BlGAIgASgJUglpbnB1dFR5cGUSHwoLb3V0cHV0X3R5cGUYAyABKAlSCm91dHB1dFR5cGUSOAoH' + 'b3B0aW9ucxgEIAEoCzIeLmdvb2dsZS5wcm90b2J1Zi5NZXRob2RPcHRpb25zUgdvcHRpb25zEj' + 'AKEGNsaWVudF9zdHJlYW1pbmcYBSABKAg6BWZhbHNlUg9jbGllbnRTdHJlYW1pbmcSMAoQc2Vy' + 'dmVyX3N0cmVhbWluZxgGIAEoCDoFZmFsc2VSD3NlcnZlclN0cmVhbWluZw=='); + +@$core.Deprecated('Use fileOptionsDescriptor instead') +const FileOptions$json = { + '1': 'FileOptions', + '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', '10': 'javaMultipleFiles'}, + { + '1': 'java_generate_equals_and_hash', + '3': 20, + '4': 1, + '5': 8, + '8': {'3': true}, + '10': 'javaGenerateEqualsAndHash', + }, + {'1': 'java_string_check_utf8', '3': 27, '4': 1, '5': 8, '7': 'false', '10': 'javaStringCheckUtf8'}, + {'1': 'optimize_for', '3': 9, '4': 1, '5': 14, '6': '.google.protobuf.FileOptions.OptimizeMode', '7': 'SPEED', '10': 'optimizeFor'}, + {'1': 'go_package', '3': 11, '4': 1, '5': 9, '10': 'goPackage'}, + {'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': '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': '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'}, + {'1': 'php_class_prefix', '3': 40, '4': 1, '5': 9, '10': 'phpClassPrefix'}, + {'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], + '5': [ + {'1': 1000, '2': 536870912}, + ], + '9': [ + {'1': 42, '2': 43}, + {'1': 38, '2': 39}, + ], + '10': ['php_generic_services'], +}; + +@$core.Deprecated('Use fileOptionsDescriptor instead') +const FileOptions_OptimizeMode$json = { + '1': 'OptimizeMode', + '2': [ + {'1': 'SPEED', '2': 1}, + {'1': 'CODE_SIZE', '2': 2}, + {'1': 'LITE_RUNTIME', '2': 3}, + ], +}; + +/// Descriptor for `FileOptions`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List fileOptionsDescriptor = $convert.base64Decode( + 'CgtGaWxlT3B0aW9ucxIhCgxqYXZhX3BhY2thZ2UYASABKAlSC2phdmFQYWNrYWdlEjAKFGphdm' + 'Ffb3V0ZXJfY2xhc3NuYW1lGAggASgJUhJqYXZhT3V0ZXJDbGFzc25hbWUSNQoTamF2YV9tdWx0' + 'aXBsZV9maWxlcxgKIAEoCDoFZmFsc2VSEWphdmFNdWx0aXBsZUZpbGVzEkQKHWphdmFfZ2VuZX' + 'JhdGVfZXF1YWxzX2FuZF9oYXNoGBQgASgIQgIYAVIZamF2YUdlbmVyYXRlRXF1YWxzQW5kSGFz' + 'aBI6ChZqYXZhX3N0cmluZ19jaGVja191dGY4GBsgASgIOgVmYWxzZVITamF2YVN0cmluZ0NoZW' + 'NrVXRmOBJTCgxvcHRpbWl6ZV9mb3IYCSABKA4yKS5nb29nbGUucHJvdG9idWYuRmlsZU9wdGlv' + 'bnMuT3B0aW1pemVNb2RlOgVTUEVFRFILb3B0aW1pemVGb3ISHQoKZ29fcGFja2FnZRgLIAEoCV' + 'IJZ29QYWNrYWdlEjUKE2NjX2dlbmVyaWNfc2VydmljZXMYECABKAg6BWZhbHNlUhFjY0dlbmVy' + 'aWNTZXJ2aWNlcxI5ChVqYXZhX2dlbmVyaWNfc2VydmljZXMYESABKAg6BWZhbHNlUhNqYXZhR2' + 'VuZXJpY1NlcnZpY2VzEjUKE3B5X2dlbmVyaWNfc2VydmljZXMYEiABKAg6BWZhbHNlUhFweUdl' + 'bmVyaWNTZXJ2aWNlcxIlCgpkZXByZWNhdGVkGBcgASgIOgVmYWxzZVIKZGVwcmVjYXRlZBIuCh' + 'BjY19lbmFibGVfYXJlbmFzGB8gASgIOgR0cnVlUg5jY0VuYWJsZUFyZW5hcxIqChFvYmpjX2Ns' + 'YXNzX3ByZWZpeBgkIAEoCVIPb2JqY0NsYXNzUHJlZml4EikKEGNzaGFycF9uYW1lc3BhY2UYJS' + 'ABKAlSD2NzaGFycE5hbWVzcGFjZRIhCgxzd2lmdF9wcmVmaXgYJyABKAlSC3N3aWZ0UHJlZml4' + 'EigKEHBocF9jbGFzc19wcmVmaXgYKCABKAlSDnBocENsYXNzUHJlZml4EiMKDXBocF9uYW1lc3' + 'BhY2UYKSABKAlSDHBocE5hbWVzcGFjZRI0ChZwaHBfbWV0YWRhdGFfbmFtZXNwYWNlGCwgASgJ' + 'UhRwaHBNZXRhZGF0YU5hbWVzcGFjZRIhCgxydWJ5X3BhY2thZ2UYLSABKAlSC3J1YnlQYWNrYW' + 'dlEjcKCGZlYXR1cmVzGDIgASgLMhsuZ29vZ2xlLnByb3RvYnVmLkZlYXR1cmVTZXRSCGZlYXR1' + 'cmVzElgKFHVuaW50ZXJwcmV0ZWRfb3B0aW9uGOcHIAMoCzIkLmdvb2dsZS5wcm90b2J1Zi5Vbm' + 'ludGVycHJldGVkT3B0aW9uUhN1bmludGVycHJldGVkT3B0aW9uIjoKDE9wdGltaXplTW9kZRIJ' + 'CgVTUEVFRBABEg0KCUNPREVfU0laRRACEhAKDExJVEVfUlVOVElNRRADKgkI6AcQgICAgAJKBA' + 'gqECtKBAgmECdSFHBocF9nZW5lcmljX3NlcnZpY2Vz'); + +@$core.Deprecated('Use messageOptionsDescriptor instead') +const MessageOptions$json = { + '1': 'MessageOptions', + '2': [ + {'1': 'message_set_wire_format', '3': 1, '4': 1, '5': 8, '7': 'false', '10': 'messageSetWireFormat'}, + {'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}, + ], +}; + +/// Descriptor for `MessageOptions`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List messageOptionsDescriptor = $convert.base64Decode( + 'Cg5NZXNzYWdlT3B0aW9ucxI8ChdtZXNzYWdlX3NldF93aXJlX2Zvcm1hdBgBIAEoCDoFZmFsc2' + 'VSFG1lc3NhZ2VTZXRXaXJlRm9ybWF0EkwKH25vX3N0YW5kYXJkX2Rlc2NyaXB0b3JfYWNjZXNz' + 'b3IYAiABKAg6BWZhbHNlUhxub1N0YW5kYXJkRGVzY3JpcHRvckFjY2Vzc29yEiUKCmRlcHJlY2' + 'F0ZWQYAyABKAg6BWZhbHNlUgpkZXByZWNhdGVkEhsKCW1hcF9lbnRyeRgHIAEoCFIIbWFwRW50' + 'cnkSVgomZGVwcmVjYXRlZF9sZWdhY3lfanNvbl9maWVsZF9jb25mbGljdHMYCyABKAhCAhgBUi' + 'JkZXByZWNhdGVkTGVnYWN5SnNvbkZpZWxkQ29uZmxpY3RzEjcKCGZlYXR1cmVzGAwgASgLMhsu' + 'Z29vZ2xlLnByb3RvYnVmLkZlYXR1cmVTZXRSCGZlYXR1cmVzElgKFHVuaW50ZXJwcmV0ZWRfb3' + 'B0aW9uGOcHIAMoCzIkLmdvb2dsZS5wcm90b2J1Zi5VbmludGVycHJldGVkT3B0aW9uUhN1bmlu' + 'dGVycHJldGVkT3B0aW9uKgkI6AcQgICAgAJKBAgEEAVKBAgFEAZKBAgGEAdKBAgIEAlKBAgJEA' + 'o='); + +@$core.Deprecated('Use fieldOptionsDescriptor instead') +const FieldOptions$json = { + '1': 'FieldOptions', + '2': [ + {'1': 'ctype', '3': 1, '4': 1, '5': 14, '6': '.google.protobuf.FieldOptions.CType', '7': 'STRING', '10': 'ctype'}, + {'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', '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': '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], + '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'}, + ], +}; + +@$core.Deprecated('Use fieldOptionsDescriptor instead') +const FieldOptions_CType$json = { + '1': 'CType', + '2': [ + {'1': 'STRING', '2': 0}, + {'1': 'CORD', '2': 1}, + {'1': 'STRING_PIECE', '2': 2}, + ], +}; + +@$core.Deprecated('Use fieldOptionsDescriptor instead') +const FieldOptions_JSType$json = { + '1': 'JSType', + '2': [ + {'1': 'JS_NORMAL', '2': 0}, + {'1': 'JS_STRING', '2': 1}, + {'1': 'JS_NUMBER', '2': 2}, + ], +}; + +@$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' + 'xzZVIKZGVwcmVjYXRlZBIZCgR3ZWFrGAogASgIOgVmYWxzZVIEd2VhaxIoCgxkZWJ1Z19yZWRh' + 'Y3QYECABKAg6BWZhbHNlUgtkZWJ1Z1JlZGFjdBJLCglyZXRlbnRpb24YESABKA4yLS5nb29nbG' + 'UucHJvdG9idWYuRmllbGRPcHRpb25zLk9wdGlvblJldGVudGlvblIJcmV0ZW50aW9uEkgKB3Rh' + 'cmdldHMYEyADKA4yLi5nb29nbGUucHJvdG9idWYuRmllbGRPcHRpb25zLk9wdGlvblRhcmdldF' + 'R5cGVSB3RhcmdldHMSVwoQZWRpdGlvbl9kZWZhdWx0cxgUIAMoCzIsLmdvb2dsZS5wcm90b2J1' + 'Zi5GaWVsZE9wdGlvbnMuRWRpdGlvbkRlZmF1bHRSD2VkaXRpb25EZWZhdWx0cxI3CghmZWF0dX' + 'JlcxgVIAEoCzIbLmdvb2dsZS5wcm90b2J1Zi5GZWF0dXJlU2V0UghmZWF0dXJlcxJVCg9mZWF0' + 'dXJlX3N1cHBvcnQYFiABKAsyLC5nb29nbGUucHJvdG9idWYuRmllbGRPcHRpb25zLkZlYXR1cm' + 'VTdXBwb3J0Ug5mZWF0dXJlU3VwcG9ydBJYChR1bmludGVycHJldGVkX29wdGlvbhjnByADKAsy' + 'JC5nb29nbGUucHJvdG9idWYuVW5pbnRlcnByZXRlZE9wdGlvblITdW5pbnRlcnByZXRlZE9wdG' + 'lvbhpaCg5FZGl0aW9uRGVmYXVsdBIyCgdlZGl0aW9uGAMgASgOMhguZ29vZ2xlLnByb3RvYnVm' + 'LkVkaXRpb25SB2VkaXRpb24SFAoFdmFsdWUYAiABKAlSBXZhbHVlGpYCCg5GZWF0dXJlU3VwcG' + '9ydBJHChJlZGl0aW9uX2ludHJvZHVjZWQYASABKA4yGC5nb29nbGUucHJvdG9idWYuRWRpdGlv' + 'blIRZWRpdGlvbkludHJvZHVjZWQSRwoSZWRpdGlvbl9kZXByZWNhdGVkGAIgASgOMhguZ29vZ2' + 'xlLnByb3RvYnVmLkVkaXRpb25SEWVkaXRpb25EZXByZWNhdGVkEi8KE2RlcHJlY2F0aW9uX3dh' + 'cm5pbmcYAyABKAlSEmRlcHJlY2F0aW9uV2FybmluZxJBCg9lZGl0aW9uX3JlbW92ZWQYBCABKA' + '4yGC5nb29nbGUucHJvdG9idWYuRWRpdGlvblIOZWRpdGlvblJlbW92ZWQiLwoFQ1R5cGUSCgoG' + 'U1RSSU5HEAASCAoEQ09SRBABEhAKDFNUUklOR19QSUVDRRACIjUKBkpTVHlwZRINCglKU19OT1' + 'JNQUwQABINCglKU19TVFJJTkcQARINCglKU19OVU1CRVIQAiJVCg9PcHRpb25SZXRlbnRpb24S' + 'FQoRUkVURU5USU9OX1VOS05PV04QABIVChFSRVRFTlRJT05fUlVOVElNRRABEhQKEFJFVEVOVE' + 'lPTl9TT1VSQ0UQAiKMAgoQT3B0aW9uVGFyZ2V0VHlwZRIXChNUQVJHRVRfVFlQRV9VTktOT1dO' + 'EAASFAoQVEFSR0VUX1RZUEVfRklMRRABEh8KG1RBUkdFVF9UWVBFX0VYVEVOU0lPTl9SQU5HRR' + 'ACEhcKE1RBUkdFVF9UWVBFX01FU1NBR0UQAxIVChFUQVJHRVRfVFlQRV9GSUVMRBAEEhUKEVRB' + 'UkdFVF9UWVBFX09ORU9GEAUSFAoQVEFSR0VUX1RZUEVfRU5VTRAGEhoKFlRBUkdFVF9UWVBFX0' + 'VOVU1fRU5UUlkQBxIXChNUQVJHRVRfVFlQRV9TRVJWSUNFEAgSFgoSVEFSR0VUX1RZUEVfTUVU' + 'SE9EEAkqCQjoBxCAgICAAkoECAQQBUoECBIQEw=='); + +@$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': [ + {'1': 1000, '2': 536870912}, + ], +}; + +/// Descriptor for `OneofOptions`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List oneofOptionsDescriptor = $convert.base64Decode( + 'CgxPbmVvZk9wdGlvbnMSNwoIZmVhdHVyZXMYASABKAsyGy5nb29nbGUucHJvdG9idWYuRmVhdH' + 'VyZVNldFIIZmVhdHVyZXMSWAoUdW5pbnRlcnByZXRlZF9vcHRpb24Y5wcgAygLMiQuZ29vZ2xl' + 'LnByb3RvYnVmLlVuaW50ZXJwcmV0ZWRPcHRpb25SE3VuaW50ZXJwcmV0ZWRPcHRpb24qCQjoBx' + 'CAgICAAg=='); + +@$core.Deprecated('Use enumOptionsDescriptor instead') +const EnumOptions$json = { + '1': 'EnumOptions', + '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': [ + {'1': 1000, '2': 536870912}, + ], + '9': [ + {'1': 5, '2': 6}, + ], +}; + +/// Descriptor for `EnumOptions`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List enumOptionsDescriptor = $convert.base64Decode( + 'CgtFbnVtT3B0aW9ucxIfCgthbGxvd19hbGlhcxgCIAEoCFIKYWxsb3dBbGlhcxIlCgpkZXByZW' + 'NhdGVkGAMgASgIOgVmYWxzZVIKZGVwcmVjYXRlZBJWCiZkZXByZWNhdGVkX2xlZ2FjeV9qc29u' + 'X2ZpZWxkX2NvbmZsaWN0cxgGIAEoCEICGAFSImRlcHJlY2F0ZWRMZWdhY3lKc29uRmllbGRDb2' + '5mbGljdHMSNwoIZmVhdHVyZXMYByABKAsyGy5nb29nbGUucHJvdG9idWYuRmVhdHVyZVNldFII' + 'ZmVhdHVyZXMSWAoUdW5pbnRlcnByZXRlZF9vcHRpb24Y5wcgAygLMiQuZ29vZ2xlLnByb3RvYn' + 'VmLlVuaW50ZXJwcmV0ZWRPcHRpb25SE3VuaW50ZXJwcmV0ZWRPcHRpb24qCQjoBxCAgICAAkoE' + 'CAUQBg=='); + +@$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': [ + {'1': 1000, '2': 536870912}, + ], +}; + +/// Descriptor for `EnumValueOptions`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List enumValueOptionsDescriptor = $convert.base64Decode( + 'ChBFbnVtVmFsdWVPcHRpb25zEiUKCmRlcHJlY2F0ZWQYASABKAg6BWZhbHNlUgpkZXByZWNhdG' + 'VkEjcKCGZlYXR1cmVzGAIgASgLMhsuZ29vZ2xlLnByb3RvYnVmLkZlYXR1cmVTZXRSCGZlYXR1' + 'cmVzEigKDGRlYnVnX3JlZGFjdBgDIAEoCDoFZmFsc2VSC2RlYnVnUmVkYWN0ElUKD2ZlYXR1cm' + 'Vfc3VwcG9ydBgEIAEoCzIsLmdvb2dsZS5wcm90b2J1Zi5GaWVsZE9wdGlvbnMuRmVhdHVyZVN1' + 'cHBvcnRSDmZlYXR1cmVTdXBwb3J0ElgKFHVuaW50ZXJwcmV0ZWRfb3B0aW9uGOcHIAMoCzIkLm' + 'dvb2dsZS5wcm90b2J1Zi5VbmludGVycHJldGVkT3B0aW9uUhN1bmludGVycHJldGVkT3B0aW9u' + 'KgkI6AcQgICAgAI='); + +@$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'}, + ], + '5': [ + {'1': 1000, '2': 536870912}, + ], +}; + +/// Descriptor for `ServiceOptions`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List serviceOptionsDescriptor = $convert.base64Decode( + 'Cg5TZXJ2aWNlT3B0aW9ucxI3CghmZWF0dXJlcxgiIAEoCzIbLmdvb2dsZS5wcm90b2J1Zi5GZW' + 'F0dXJlU2V0UghmZWF0dXJlcxIlCgpkZXByZWNhdGVkGCEgASgIOgVmYWxzZVIKZGVwcmVjYXRl' + 'ZBJYChR1bmludGVycHJldGVkX29wdGlvbhjnByADKAsyJC5nb29nbGUucHJvdG9idWYuVW5pbn' + 'RlcnByZXRlZE9wdGlvblITdW5pbnRlcnByZXRlZE9wdGlvbioJCOgHEICAgIAC'); + +@$core.Deprecated('Use methodOptionsDescriptor instead') +const MethodOptions$json = { + '1': 'MethodOptions', + '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], + '5': [ + {'1': 1000, '2': 536870912}, + ], +}; + +@$core.Deprecated('Use methodOptionsDescriptor instead') +const MethodOptions_IdempotencyLevel$json = { + '1': 'IdempotencyLevel', + '2': [ + {'1': 'IDEMPOTENCY_UNKNOWN', '2': 0}, + {'1': 'NO_SIDE_EFFECTS', '2': 1}, + {'1': 'IDEMPOTENT', '2': 2}, + ], +}; + +/// Descriptor for `MethodOptions`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List methodOptionsDescriptor = $convert.base64Decode( + 'Cg1NZXRob2RPcHRpb25zEiUKCmRlcHJlY2F0ZWQYISABKAg6BWZhbHNlUgpkZXByZWNhdGVkEn' + 'EKEWlkZW1wb3RlbmN5X2xldmVsGCIgASgOMi8uZ29vZ2xlLnByb3RvYnVmLk1ldGhvZE9wdGlv' + 'bnMuSWRlbXBvdGVuY3lMZXZlbDoTSURFTVBPVEVOQ1lfVU5LTk9XTlIQaWRlbXBvdGVuY3lMZX' + 'ZlbBI3CghmZWF0dXJlcxgjIAEoCzIbLmdvb2dsZS5wcm90b2J1Zi5GZWF0dXJlU2V0UghmZWF0' + 'dXJlcxJYChR1bmludGVycHJldGVkX29wdGlvbhjnByADKAsyJC5nb29nbGUucHJvdG9idWYuVW' + '5pbnRlcnByZXRlZE9wdGlvblITdW5pbnRlcnByZXRlZE9wdGlvbiJQChBJZGVtcG90ZW5jeUxl' + 'dmVsEhcKE0lERU1QT1RFTkNZX1VOS05PV04QABITCg9OT19TSURFX0VGRkVDVFMQARIOCgpJRE' + 'VNUE9URU5UEAIqCQjoBxCAgICAAg=='); + +@$core.Deprecated('Use uninterpretedOptionDescriptor instead') +const UninterpretedOption$json = { + '1': 'UninterpretedOption', + '2': [ + {'1': 'name', '3': 2, '4': 3, '5': 11, '6': '.google.protobuf.UninterpretedOption.NamePart', '10': 'name'}, + {'1': 'identifier_value', '3': 3, '4': 1, '5': 9, '10': 'identifierValue'}, + {'1': 'positive_int_value', '3': 4, '4': 1, '5': 4, '10': 'positiveIntValue'}, + {'1': 'negative_int_value', '3': 5, '4': 1, '5': 3, '10': 'negativeIntValue'}, + {'1': 'double_value', '3': 6, '4': 1, '5': 1, '10': 'doubleValue'}, + {'1': 'string_value', '3': 7, '4': 1, '5': 12, '10': 'stringValue'}, + {'1': 'aggregate_value', '3': 8, '4': 1, '5': 9, '10': 'aggregateValue'}, + ], + '3': [UninterpretedOption_NamePart$json], +}; + +@$core.Deprecated('Use uninterpretedOptionDescriptor instead') +const UninterpretedOption_NamePart$json = { + '1': 'NamePart', + '2': [ + {'1': 'name_part', '3': 1, '4': 2, '5': 9, '10': 'namePart'}, + {'1': 'is_extension', '3': 2, '4': 2, '5': 8, '10': 'isExtension'}, + ], +}; + +/// Descriptor for `UninterpretedOption`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List uninterpretedOptionDescriptor = $convert.base64Decode( + 'ChNVbmludGVycHJldGVkT3B0aW9uEkEKBG5hbWUYAiADKAsyLS5nb29nbGUucHJvdG9idWYuVW' + '5pbnRlcnByZXRlZE9wdGlvbi5OYW1lUGFydFIEbmFtZRIpChBpZGVudGlmaWVyX3ZhbHVlGAMg' + 'ASgJUg9pZGVudGlmaWVyVmFsdWUSLAoScG9zaXRpdmVfaW50X3ZhbHVlGAQgASgEUhBwb3NpdG' + 'l2ZUludFZhbHVlEiwKEm5lZ2F0aXZlX2ludF92YWx1ZRgFIAEoA1IQbmVnYXRpdmVJbnRWYWx1' + 'ZRIhCgxkb3VibGVfdmFsdWUYBiABKAFSC2RvdWJsZVZhbHVlEiEKDHN0cmluZ192YWx1ZRgHIA' + 'EoDFILc3RyaW5nVmFsdWUSJwoPYWdncmVnYXRlX3ZhbHVlGAggASgJUg5hZ2dyZWdhdGVWYWx1' + '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': {}, '10': 'fieldPresence'}, + {'1': 'enum_type', '3': 2, '4': 1, '5': 14, '6': '.google.protobuf.FeatureSet.EnumType', '8': {}, '10': 'enumType'}, + {'1': 'repeated_field_encoding', '3': 3, '4': 1, '5': 14, '6': '.google.protobuf.FeatureSet.RepeatedFieldEncoding', '8': {}, '10': 'repeatedFieldEncoding'}, + {'1': 'utf8_validation', '3': 4, '4': 1, '5': 14, '6': '.google.protobuf.FeatureSet.Utf8Validation', '8': {}, '10': 'utf8Validation'}, + {'1': 'message_encoding', '3': 5, '4': 1, '5': 14, '6': '.google.protobuf.FeatureSet.MessageEncoding', '8': {}, '10': 'messageEncoding'}, + {'1': 'json_format', '3': 6, '4': 1, '5': 14, '6': '.google.protobuf.FeatureSet.JsonFormat', '8': {}, '10': 'jsonFormat'}, + ], + '4': [FeatureSet_FieldPresence$json, FeatureSet_EnumType$json, FeatureSet_RepeatedFieldEncoding$json, FeatureSet_Utf8Validation$json, FeatureSet_MessageEncoding$json, FeatureSet_JsonFormat$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_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}, + ], +}; + +/// Descriptor for `FeatureSet`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List featureSetDescriptor = $convert.base64Decode( + 'CgpGZWF0dXJlU2V0EpEBCg5maWVsZF9wcmVzZW5jZRgBIAEoDjIpLmdvb2dsZS5wcm90b2J1Zi' + '5GZWF0dXJlU2V0LkZpZWxkUHJlc2VuY2VCP4gBAZgBBJgBAaIBDRIIRVhQTElDSVQY5geiAQ0S' + 'CElNUExJQ0lUGOcHogENEghFWFBMSUNJVBjoB7IBAwjoB1INZmllbGRQcmVzZW5jZRJsCgllbn' + 'VtX3R5cGUYAiABKA4yJC5nb29nbGUucHJvdG9idWYuRmVhdHVyZVNldC5FbnVtVHlwZUIpiAEB' + 'mAEGmAEBogELEgZDTE9TRUQY5geiAQkSBE9QRU4Y5weyAQMI6AdSCGVudW1UeXBlEpgBChdyZX' + 'BlYXRlZF9maWVsZF9lbmNvZGluZxgDIAEoDjIxLmdvb2dsZS5wcm90b2J1Zi5GZWF0dXJlU2V0' + 'LlJlcGVhdGVkRmllbGRFbmNvZGluZ0ItiAEBmAEEmAEBogENEghFWFBBTkRFRBjmB6IBCxIGUE' + 'FDS0VEGOcHsgEDCOgHUhVyZXBlYXRlZEZpZWxkRW5jb2RpbmcSfgoPdXRmOF92YWxpZGF0aW9u' + 'GAQgASgOMiouZ29vZ2xlLnByb3RvYnVmLkZlYXR1cmVTZXQuVXRmOFZhbGlkYXRpb25CKYgBAZ' + 'gBBJgBAaIBCRIETk9ORRjmB6IBCxIGVkVSSUZZGOcHsgEDCOgHUg51dGY4VmFsaWRhdGlvbhJ+' + 'ChBtZXNzYWdlX2VuY29kaW5nGAUgASgOMisuZ29vZ2xlLnByb3RvYnVmLkZlYXR1cmVTZXQuTW' + 'Vzc2FnZUVuY29kaW5nQiaIAQGYAQSYAQGiARQSD0xFTkdUSF9QUkVGSVhFRBjmB7IBAwjoB1IP' + 'bWVzc2FnZUVuY29kaW5nEoIBCgtqc29uX2Zvcm1hdBgGIAEoDjImLmdvb2dsZS5wcm90b2J1Zi' + '5GZWF0dXJlU2V0Lkpzb25Gb3JtYXRCOYgBAZgBA5gBBpgBAaIBFxISTEVHQUNZX0JFU1RfRUZG' + 'T1JUGOYHogEKEgVBTExPVxjnB7IBAwjoB1IKanNvbkZvcm1hdCJcCg1GaWVsZFByZXNlbmNlEh' + 'oKFkZJRUxEX1BSRVNFTkNFX1VOS05PV04QABIMCghFWFBMSUNJVBABEgwKCElNUExJQ0lUEAIS' + 'EwoPTEVHQUNZX1JFUVVJUkVEEAMiNwoIRW51bVR5cGUSFQoRRU5VTV9UWVBFX1VOS05PV04QAB' + 'IICgRPUEVOEAESCgoGQ0xPU0VEEAIiVgoVUmVwZWF0ZWRGaWVsZEVuY29kaW5nEiMKH1JFUEVB' + 'VEVEX0ZJRUxEX0VOQ09ESU5HX1VOS05PV04QABIKCgZQQUNLRUQQARIMCghFWFBBTkRFRBACIk' + 'kKDlV0ZjhWYWxpZGF0aW9uEhsKF1VURjhfVkFMSURBVElPTl9VTktOT1dOEAASCgoGVkVSSUZZ' + 'EAISCAoETk9ORRADIgQIARABIlMKD01lc3NhZ2VFbmNvZGluZxIcChhNRVNTQUdFX0VOQ09ESU' + '5HX1VOS05PV04QABITCg9MRU5HVEhfUFJFRklYRUQQARINCglERUxJTUlURUQQAiJICgpKc29u' + 'Rm9ybWF0EhcKE0pTT05fRk9STUFUX1VOS05PV04QABIJCgVBTExPVxABEhYKEkxFR0FDWV9CRV' + 'NUX0VGRk9SVBACKgYI6AcQi04qBgiLThCQTioGCJBOEJFOSgYI5wcQ6Ac='); + +@$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', + '2': [ + {'1': 'location', '3': 1, '4': 3, '5': 11, '6': '.google.protobuf.SourceCodeInfo.Location', '10': 'location'}, + ], + '3': [SourceCodeInfo_Location$json], +}; + +@$core.Deprecated('Use sourceCodeInfoDescriptor instead') +const SourceCodeInfo_Location$json = { + '1': 'Location', + '2': [ + { + '1': 'path', + '3': 1, + '4': 3, + '5': 5, + '8': {'2': true}, + '10': 'path', + }, + { + '1': 'span', + '3': 2, + '4': 3, + '5': 5, + '8': {'2': true}, + '10': 'span', + }, + {'1': 'leading_comments', '3': 3, '4': 1, '5': 9, '10': 'leadingComments'}, + {'1': 'trailing_comments', '3': 4, '4': 1, '5': 9, '10': 'trailingComments'}, + {'1': 'leading_detached_comments', '3': 6, '4': 3, '5': 9, '10': 'leadingDetachedComments'}, + ], +}; + +/// Descriptor for `SourceCodeInfo`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List sourceCodeInfoDescriptor = $convert.base64Decode( + 'Cg5Tb3VyY2VDb2RlSW5mbxJECghsb2NhdGlvbhgBIAMoCzIoLmdvb2dsZS5wcm90b2J1Zi5Tb3' + 'VyY2VDb2RlSW5mby5Mb2NhdGlvblIIbG9jYXRpb24azgEKCExvY2F0aW9uEhYKBHBhdGgYASAD' + 'KAVCAhABUgRwYXRoEhYKBHNwYW4YAiADKAVCAhABUgRzcGFuEikKEGxlYWRpbmdfY29tbWVudH' + 'MYAyABKAlSD2xlYWRpbmdDb21tZW50cxIrChF0cmFpbGluZ19jb21tZW50cxgEIAEoCVIQdHJh' + 'aWxpbmdDb21tZW50cxI6ChlsZWFkaW5nX2RldGFjaGVkX2NvbW1lbnRzGAYgAygJUhdsZWFkaW' + '5nRGV0YWNoZWRDb21tZW50cw=='); + +@$core.Deprecated('Use generatedCodeInfoDescriptor instead') +const GeneratedCodeInfo$json = { + '1': 'GeneratedCodeInfo', + '2': [ + {'1': 'annotation', '3': 1, '4': 3, '5': 11, '6': '.google.protobuf.GeneratedCodeInfo.Annotation', '10': 'annotation'}, + ], + '3': [GeneratedCodeInfo_Annotation$json], +}; + +@$core.Deprecated('Use generatedCodeInfoDescriptor instead') +const GeneratedCodeInfo_Annotation$json = { + '1': 'Annotation', + '2': [ + { + '1': 'path', + '3': 1, + '4': 3, + '5': 5, + '8': {'2': true}, + '10': 'path', + }, + {'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'); + diff --git a/gen/dart/lib/libs/events/v1/options.pb.dart b/gen/dart/lib/libs/events/v1/options.pb.dart new file mode 100644 index 000000000..68256e9f1 --- /dev/null +++ b/gen/dart/lib/libs/events/v1/options.pb.dart @@ -0,0 +1,25 @@ +// +// Generated code. Do not modify. +// source: libs/events/v1/options.proto +// +// @dart = 2.12 + +// ignore_for_file: annotate_overrides, camel_case_types, comment_references +// ignore_for_file: constant_identifier_names, library_prefixes +// ignore_for_file: non_constant_identifier_names, prefer_final_fields +// ignore_for_file: unnecessary_import, unnecessary_this, unused_import + +import 'dart:core' as $core; + +import 'package:protobuf/protobuf.dart' as $pb; + +class Options { + static final eventType = $pb.Extension<$core.String>(_omitMessageNames ? '' : 'google.protobuf.MessageOptions', _omitFieldNames ? '' : 'eventType', 2123, $pb.PbFieldType.OS); + static void registerAllExtensions($pb.ExtensionRegistry registry) { + registry.add(eventType); + } +} + + +const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); +const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/gen/dart/lib/libs/events/v1/options.pbenum.dart b/gen/dart/lib/libs/events/v1/options.pbenum.dart new file mode 100644 index 000000000..326091c8a --- /dev/null +++ b/gen/dart/lib/libs/events/v1/options.pbenum.dart @@ -0,0 +1,11 @@ +// +// Generated code. Do not modify. +// source: libs/events/v1/options.proto +// +// @dart = 2.12 + +// ignore_for_file: annotate_overrides, camel_case_types, comment_references +// ignore_for_file: constant_identifier_names, library_prefixes +// ignore_for_file: non_constant_identifier_names, prefer_final_fields +// ignore_for_file: unnecessary_import, unnecessary_this, unused_import + diff --git a/gen/dart/lib/libs/events/v1/options.pbjson.dart b/gen/dart/lib/libs/events/v1/options.pbjson.dart new file mode 100644 index 000000000..0a41b52c7 --- /dev/null +++ b/gen/dart/lib/libs/events/v1/options.pbjson.dart @@ -0,0 +1,15 @@ +// +// Generated code. Do not modify. +// source: libs/events/v1/options.proto +// +// @dart = 2.12 + +// ignore_for_file: annotate_overrides, camel_case_types, comment_references +// ignore_for_file: constant_identifier_names, library_prefixes +// ignore_for_file: non_constant_identifier_names, prefer_final_fields +// ignore_for_file: unnecessary_import, unnecessary_this, unused_import + +import 'dart:convert' as $convert; +import 'dart:core' as $core; +import 'dart:typed_data' as $typed_data; + diff --git a/gen/dart/lib/libs/technical_events/property_svc/v1/property.pb.dart b/gen/dart/lib/libs/technical_events/property_svc/v1/property.pb.dart index dd642b343..ad61644b9 100644 --- a/gen/dart/lib/libs/technical_events/property_svc/v1/property.pb.dart +++ b/gen/dart/lib/libs/technical_events/property_svc/v1/property.pb.dart @@ -13,8 +13,556 @@ import 'dart:core' as $core; import 'package:protobuf/protobuf.dart' as $pb; -class UpdateNameEvent extends $pb.GeneratedMessage { - factory UpdateNameEvent({ +import '../../../../services/property_svc/v1/types.pbenum.dart' as $21; + +class PropertyCreatedEvent extends $pb.GeneratedMessage { + factory PropertyCreatedEvent({ + $core.String? id, + $21.SubjectType? subjectType, + $21.FieldType? fieldType, + $core.String? name, + }) { + final $result = create(); + if (id != null) { + $result.id = id; + } + if (subjectType != null) { + $result.subjectType = subjectType; + } + if (fieldType != null) { + $result.fieldType = fieldType; + } + if (name != null) { + $result.name = name; + } + return $result; + } + PropertyCreatedEvent._() : super(); + factory PropertyCreatedEvent.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory PropertyCreatedEvent.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PropertyCreatedEvent', package: const $pb.PackageName(_omitMessageNames ? '' : 'libs.technical_events.property_svc.v1'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'id') + ..e<$21.SubjectType>(2, _omitFieldNames ? '' : 'subjectType', $pb.PbFieldType.OE, defaultOrMaker: $21.SubjectType.SUBJECT_TYPE_UNSPECIFIED, valueOf: $21.SubjectType.valueOf, enumValues: $21.SubjectType.values) + ..e<$21.FieldType>(3, _omitFieldNames ? '' : 'fieldType', $pb.PbFieldType.OE, defaultOrMaker: $21.FieldType.FIELD_TYPE_UNSPECIFIED, valueOf: $21.FieldType.valueOf, enumValues: $21.FieldType.values) + ..aOS(4, _omitFieldNames ? '' : 'name') + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + PropertyCreatedEvent clone() => PropertyCreatedEvent()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + PropertyCreatedEvent copyWith(void Function(PropertyCreatedEvent) updates) => super.copyWith((message) => updates(message as PropertyCreatedEvent)) as PropertyCreatedEvent; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static PropertyCreatedEvent create() => PropertyCreatedEvent._(); + PropertyCreatedEvent createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static PropertyCreatedEvent getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static PropertyCreatedEvent? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get id => $_getSZ(0); + @$pb.TagNumber(1) + set id($core.String v) { $_setString(0, v); } + @$pb.TagNumber(1) + $core.bool hasId() => $_has(0); + @$pb.TagNumber(1) + void clearId() => clearField(1); + + @$pb.TagNumber(2) + $21.SubjectType get subjectType => $_getN(1); + @$pb.TagNumber(2) + set subjectType($21.SubjectType v) { setField(2, v); } + @$pb.TagNumber(2) + $core.bool hasSubjectType() => $_has(1); + @$pb.TagNumber(2) + void clearSubjectType() => clearField(2); + + @$pb.TagNumber(3) + $21.FieldType get fieldType => $_getN(2); + @$pb.TagNumber(3) + set fieldType($21.FieldType v) { setField(3, v); } + @$pb.TagNumber(3) + $core.bool hasFieldType() => $_has(2); + @$pb.TagNumber(3) + void clearFieldType() => clearField(3); + + @$pb.TagNumber(4) + $core.String get name => $_getSZ(3); + @$pb.TagNumber(4) + set name($core.String v) { $_setString(3, v); } + @$pb.TagNumber(4) + $core.bool hasName() => $_has(3); + @$pb.TagNumber(4) + void clearName() => clearField(4); +} + +class PropertyDescriptionUpdatedEvent extends $pb.GeneratedMessage { + factory PropertyDescriptionUpdatedEvent({ + $core.String? description, + }) { + final $result = create(); + if (description != null) { + $result.description = description; + } + return $result; + } + PropertyDescriptionUpdatedEvent._() : super(); + factory PropertyDescriptionUpdatedEvent.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory PropertyDescriptionUpdatedEvent.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PropertyDescriptionUpdatedEvent', package: const $pb.PackageName(_omitMessageNames ? '' : 'libs.technical_events.property_svc.v1'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'description') + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + PropertyDescriptionUpdatedEvent clone() => PropertyDescriptionUpdatedEvent()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + PropertyDescriptionUpdatedEvent copyWith(void Function(PropertyDescriptionUpdatedEvent) updates) => super.copyWith((message) => updates(message as PropertyDescriptionUpdatedEvent)) as PropertyDescriptionUpdatedEvent; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static PropertyDescriptionUpdatedEvent create() => PropertyDescriptionUpdatedEvent._(); + PropertyDescriptionUpdatedEvent createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static PropertyDescriptionUpdatedEvent getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static PropertyDescriptionUpdatedEvent? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get description => $_getSZ(0); + @$pb.TagNumber(1) + set description($core.String v) { $_setString(0, v); } + @$pb.TagNumber(1) + $core.bool hasDescription() => $_has(0); + @$pb.TagNumber(1) + void clearDescription() => clearField(1); +} + +class PropertySetIDUpdatedEvent extends $pb.GeneratedMessage { + factory PropertySetIDUpdatedEvent({ + $core.String? setId, + }) { + final $result = create(); + if (setId != null) { + $result.setId = setId; + } + return $result; + } + PropertySetIDUpdatedEvent._() : super(); + factory PropertySetIDUpdatedEvent.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory PropertySetIDUpdatedEvent.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PropertySetIDUpdatedEvent', package: const $pb.PackageName(_omitMessageNames ? '' : 'libs.technical_events.property_svc.v1'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'setId') + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + PropertySetIDUpdatedEvent clone() => PropertySetIDUpdatedEvent()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + PropertySetIDUpdatedEvent copyWith(void Function(PropertySetIDUpdatedEvent) updates) => super.copyWith((message) => updates(message as PropertySetIDUpdatedEvent)) as PropertySetIDUpdatedEvent; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static PropertySetIDUpdatedEvent create() => PropertySetIDUpdatedEvent._(); + PropertySetIDUpdatedEvent createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static PropertySetIDUpdatedEvent getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static PropertySetIDUpdatedEvent? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get setId => $_getSZ(0); + @$pb.TagNumber(1) + set setId($core.String v) { $_setString(0, v); } + @$pb.TagNumber(1) + $core.bool hasSetId() => $_has(0); + @$pb.TagNumber(1) + void clearSetId() => clearField(1); +} + +class PropertySubjectTypeUpdatedEvent extends $pb.GeneratedMessage { + factory PropertySubjectTypeUpdatedEvent({ + $core.String? subjectType, + }) { + final $result = create(); + if (subjectType != null) { + $result.subjectType = subjectType; + } + return $result; + } + PropertySubjectTypeUpdatedEvent._() : super(); + factory PropertySubjectTypeUpdatedEvent.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory PropertySubjectTypeUpdatedEvent.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PropertySubjectTypeUpdatedEvent', package: const $pb.PackageName(_omitMessageNames ? '' : 'libs.technical_events.property_svc.v1'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'subjectType') + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + PropertySubjectTypeUpdatedEvent clone() => PropertySubjectTypeUpdatedEvent()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + PropertySubjectTypeUpdatedEvent copyWith(void Function(PropertySubjectTypeUpdatedEvent) updates) => super.copyWith((message) => updates(message as PropertySubjectTypeUpdatedEvent)) as PropertySubjectTypeUpdatedEvent; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static PropertySubjectTypeUpdatedEvent create() => PropertySubjectTypeUpdatedEvent._(); + PropertySubjectTypeUpdatedEvent createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static PropertySubjectTypeUpdatedEvent getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static PropertySubjectTypeUpdatedEvent? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get subjectType => $_getSZ(0); + @$pb.TagNumber(1) + set subjectType($core.String v) { $_setString(0, v); } + @$pb.TagNumber(1) + $core.bool hasSubjectType() => $_has(0); + @$pb.TagNumber(1) + void clearSubjectType() => clearField(1); +} + +class PropertyFieldTypeUpdatedEvent extends $pb.GeneratedMessage { + factory PropertyFieldTypeUpdatedEvent({ + $core.String? fieldType, + }) { + final $result = create(); + if (fieldType != null) { + $result.fieldType = fieldType; + } + return $result; + } + PropertyFieldTypeUpdatedEvent._() : super(); + factory PropertyFieldTypeUpdatedEvent.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory PropertyFieldTypeUpdatedEvent.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PropertyFieldTypeUpdatedEvent', package: const $pb.PackageName(_omitMessageNames ? '' : 'libs.technical_events.property_svc.v1'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'fieldType') + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + PropertyFieldTypeUpdatedEvent clone() => PropertyFieldTypeUpdatedEvent()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + PropertyFieldTypeUpdatedEvent copyWith(void Function(PropertyFieldTypeUpdatedEvent) updates) => super.copyWith((message) => updates(message as PropertyFieldTypeUpdatedEvent)) as PropertyFieldTypeUpdatedEvent; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static PropertyFieldTypeUpdatedEvent create() => PropertyFieldTypeUpdatedEvent._(); + PropertyFieldTypeUpdatedEvent createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static PropertyFieldTypeUpdatedEvent getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static PropertyFieldTypeUpdatedEvent? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get fieldType => $_getSZ(0); + @$pb.TagNumber(1) + set fieldType($core.String v) { $_setString(0, v); } + @$pb.TagNumber(1) + $core.bool hasFieldType() => $_has(0); + @$pb.TagNumber(1) + void clearFieldType() => clearField(1); +} + +class PropertyFieldTypeDataCreatedEvent_SelectOption extends $pb.GeneratedMessage { + factory PropertyFieldTypeDataCreatedEvent_SelectOption({ + $core.String? id, + $core.String? name, + $core.String? description, + $core.bool? isCustom, + }) { + final $result = create(); + if (id != null) { + $result.id = id; + } + if (name != null) { + $result.name = name; + } + if (description != null) { + $result.description = description; + } + if (isCustom != null) { + $result.isCustom = isCustom; + } + return $result; + } + PropertyFieldTypeDataCreatedEvent_SelectOption._() : super(); + factory PropertyFieldTypeDataCreatedEvent_SelectOption.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory PropertyFieldTypeDataCreatedEvent_SelectOption.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PropertyFieldTypeDataCreatedEvent.SelectOption', package: const $pb.PackageName(_omitMessageNames ? '' : 'libs.technical_events.property_svc.v1'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'id') + ..aOS(2, _omitFieldNames ? '' : 'name') + ..aOS(3, _omitFieldNames ? '' : 'description') + ..aOB(4, _omitFieldNames ? '' : 'isCustom') + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + PropertyFieldTypeDataCreatedEvent_SelectOption clone() => PropertyFieldTypeDataCreatedEvent_SelectOption()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + PropertyFieldTypeDataCreatedEvent_SelectOption copyWith(void Function(PropertyFieldTypeDataCreatedEvent_SelectOption) updates) => super.copyWith((message) => updates(message as PropertyFieldTypeDataCreatedEvent_SelectOption)) as PropertyFieldTypeDataCreatedEvent_SelectOption; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static PropertyFieldTypeDataCreatedEvent_SelectOption create() => PropertyFieldTypeDataCreatedEvent_SelectOption._(); + PropertyFieldTypeDataCreatedEvent_SelectOption createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static PropertyFieldTypeDataCreatedEvent_SelectOption getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static PropertyFieldTypeDataCreatedEvent_SelectOption? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get id => $_getSZ(0); + @$pb.TagNumber(1) + set id($core.String v) { $_setString(0, v); } + @$pb.TagNumber(1) + $core.bool hasId() => $_has(0); + @$pb.TagNumber(1) + void clearId() => clearField(1); + + @$pb.TagNumber(2) + $core.String get name => $_getSZ(1); + @$pb.TagNumber(2) + set name($core.String v) { $_setString(1, v); } + @$pb.TagNumber(2) + $core.bool hasName() => $_has(1); + @$pb.TagNumber(2) + void clearName() => clearField(2); + + @$pb.TagNumber(3) + $core.String get description => $_getSZ(2); + @$pb.TagNumber(3) + set description($core.String v) { $_setString(2, v); } + @$pb.TagNumber(3) + $core.bool hasDescription() => $_has(2); + @$pb.TagNumber(3) + void clearDescription() => clearField(3); + + @$pb.TagNumber(4) + $core.bool get isCustom => $_getBF(3); + @$pb.TagNumber(4) + set isCustom($core.bool v) { $_setBool(3, v); } + @$pb.TagNumber(4) + $core.bool hasIsCustom() => $_has(3); + @$pb.TagNumber(4) + void clearIsCustom() => clearField(4); +} + +class PropertyFieldTypeDataCreatedEvent_SelectData extends $pb.GeneratedMessage { + factory PropertyFieldTypeDataCreatedEvent_SelectData({ + $core.bool? allowFreetext, + $core.Iterable? selectOptions, + }) { + final $result = create(); + if (allowFreetext != null) { + $result.allowFreetext = allowFreetext; + } + if (selectOptions != null) { + $result.selectOptions.addAll(selectOptions); + } + return $result; + } + PropertyFieldTypeDataCreatedEvent_SelectData._() : super(); + factory PropertyFieldTypeDataCreatedEvent_SelectData.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory PropertyFieldTypeDataCreatedEvent_SelectData.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PropertyFieldTypeDataCreatedEvent.SelectData', package: const $pb.PackageName(_omitMessageNames ? '' : 'libs.technical_events.property_svc.v1'), createEmptyInstance: create) + ..aOB(1, _omitFieldNames ? '' : 'allowFreetext') + ..pc(2, _omitFieldNames ? '' : 'selectOptions', $pb.PbFieldType.PM, subBuilder: PropertyFieldTypeDataCreatedEvent_SelectOption.create) + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + PropertyFieldTypeDataCreatedEvent_SelectData clone() => PropertyFieldTypeDataCreatedEvent_SelectData()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + PropertyFieldTypeDataCreatedEvent_SelectData copyWith(void Function(PropertyFieldTypeDataCreatedEvent_SelectData) updates) => super.copyWith((message) => updates(message as PropertyFieldTypeDataCreatedEvent_SelectData)) as PropertyFieldTypeDataCreatedEvent_SelectData; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static PropertyFieldTypeDataCreatedEvent_SelectData create() => PropertyFieldTypeDataCreatedEvent_SelectData._(); + PropertyFieldTypeDataCreatedEvent_SelectData createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static PropertyFieldTypeDataCreatedEvent_SelectData getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static PropertyFieldTypeDataCreatedEvent_SelectData? _defaultInstance; + + @$pb.TagNumber(1) + $core.bool get allowFreetext => $_getBF(0); + @$pb.TagNumber(1) + set allowFreetext($core.bool v) { $_setBool(0, v); } + @$pb.TagNumber(1) + $core.bool hasAllowFreetext() => $_has(0); + @$pb.TagNumber(1) + void clearAllowFreetext() => clearField(1); + + @$pb.TagNumber(2) + $core.List get selectOptions => $_getList(1); +} + +class PropertyFieldTypeDataCreatedEvent_FieldTypeData extends $pb.GeneratedMessage { + factory PropertyFieldTypeDataCreatedEvent_FieldTypeData({ + PropertyFieldTypeDataCreatedEvent_SelectData? selectData, + }) { + final $result = create(); + if (selectData != null) { + $result.selectData = selectData; + } + return $result; + } + PropertyFieldTypeDataCreatedEvent_FieldTypeData._() : super(); + factory PropertyFieldTypeDataCreatedEvent_FieldTypeData.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory PropertyFieldTypeDataCreatedEvent_FieldTypeData.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PropertyFieldTypeDataCreatedEvent.FieldTypeData', package: const $pb.PackageName(_omitMessageNames ? '' : 'libs.technical_events.property_svc.v1'), createEmptyInstance: create) + ..aOM(1, _omitFieldNames ? '' : 'selectData', subBuilder: PropertyFieldTypeDataCreatedEvent_SelectData.create) + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + PropertyFieldTypeDataCreatedEvent_FieldTypeData clone() => PropertyFieldTypeDataCreatedEvent_FieldTypeData()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + PropertyFieldTypeDataCreatedEvent_FieldTypeData copyWith(void Function(PropertyFieldTypeDataCreatedEvent_FieldTypeData) updates) => super.copyWith((message) => updates(message as PropertyFieldTypeDataCreatedEvent_FieldTypeData)) as PropertyFieldTypeDataCreatedEvent_FieldTypeData; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static PropertyFieldTypeDataCreatedEvent_FieldTypeData create() => PropertyFieldTypeDataCreatedEvent_FieldTypeData._(); + PropertyFieldTypeDataCreatedEvent_FieldTypeData createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static PropertyFieldTypeDataCreatedEvent_FieldTypeData getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static PropertyFieldTypeDataCreatedEvent_FieldTypeData? _defaultInstance; + + @$pb.TagNumber(1) + PropertyFieldTypeDataCreatedEvent_SelectData get selectData => $_getN(0); + @$pb.TagNumber(1) + set selectData(PropertyFieldTypeDataCreatedEvent_SelectData v) { setField(1, v); } + @$pb.TagNumber(1) + $core.bool hasSelectData() => $_has(0); + @$pb.TagNumber(1) + void clearSelectData() => clearField(1); + @$pb.TagNumber(1) + PropertyFieldTypeDataCreatedEvent_SelectData ensureSelectData() => $_ensure(0); +} + +class PropertyFieldTypeDataCreatedEvent extends $pb.GeneratedMessage { + factory PropertyFieldTypeDataCreatedEvent({ + PropertyFieldTypeDataCreatedEvent_FieldTypeData? fieldTypeData, + }) { + final $result = create(); + if (fieldTypeData != null) { + $result.fieldTypeData = fieldTypeData; + } + return $result; + } + PropertyFieldTypeDataCreatedEvent._() : super(); + factory PropertyFieldTypeDataCreatedEvent.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory PropertyFieldTypeDataCreatedEvent.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PropertyFieldTypeDataCreatedEvent', package: const $pb.PackageName(_omitMessageNames ? '' : 'libs.technical_events.property_svc.v1'), createEmptyInstance: create) + ..aOM(1, _omitFieldNames ? '' : 'fieldTypeData', subBuilder: PropertyFieldTypeDataCreatedEvent_FieldTypeData.create) + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + PropertyFieldTypeDataCreatedEvent clone() => PropertyFieldTypeDataCreatedEvent()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + PropertyFieldTypeDataCreatedEvent copyWith(void Function(PropertyFieldTypeDataCreatedEvent) updates) => super.copyWith((message) => updates(message as PropertyFieldTypeDataCreatedEvent)) as PropertyFieldTypeDataCreatedEvent; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static PropertyFieldTypeDataCreatedEvent create() => PropertyFieldTypeDataCreatedEvent._(); + PropertyFieldTypeDataCreatedEvent createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static PropertyFieldTypeDataCreatedEvent getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static PropertyFieldTypeDataCreatedEvent? _defaultInstance; + + @$pb.TagNumber(1) + PropertyFieldTypeDataCreatedEvent_FieldTypeData get fieldTypeData => $_getN(0); + @$pb.TagNumber(1) + set fieldTypeData(PropertyFieldTypeDataCreatedEvent_FieldTypeData v) { setField(1, v); } + @$pb.TagNumber(1) + $core.bool hasFieldTypeData() => $_has(0); + @$pb.TagNumber(1) + void clearFieldTypeData() => clearField(1); + @$pb.TagNumber(1) + PropertyFieldTypeDataCreatedEvent_FieldTypeData ensureFieldTypeData() => $_ensure(0); +} + +class PropertyNameUpdatedEvent extends $pb.GeneratedMessage { + factory PropertyNameUpdatedEvent({ $core.String? name, }) { final $result = create(); @@ -23,11 +571,11 @@ class UpdateNameEvent extends $pb.GeneratedMessage { } return $result; } - UpdateNameEvent._() : super(); - factory UpdateNameEvent.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory UpdateNameEvent.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + PropertyNameUpdatedEvent._() : super(); + factory PropertyNameUpdatedEvent.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory PropertyNameUpdatedEvent.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateNameEvent', package: const $pb.PackageName(_omitMessageNames ? '' : 'libs.technical_events.property_svc.v1'), createEmptyInstance: create) + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PropertyNameUpdatedEvent', package: const $pb.PackageName(_omitMessageNames ? '' : 'libs.technical_events.property_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'name') ..hasRequiredFields = false ; @@ -36,22 +584,22 @@ class UpdateNameEvent extends $pb.GeneratedMessage { 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' 'Will be removed in next major version') - UpdateNameEvent clone() => UpdateNameEvent()..mergeFromMessage(this); + PropertyNameUpdatedEvent clone() => PropertyNameUpdatedEvent()..mergeFromMessage(this); @$core.Deprecated( 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 'Will be removed in next major version') - UpdateNameEvent copyWith(void Function(UpdateNameEvent) updates) => super.copyWith((message) => updates(message as UpdateNameEvent)) as UpdateNameEvent; + PropertyNameUpdatedEvent copyWith(void Function(PropertyNameUpdatedEvent) updates) => super.copyWith((message) => updates(message as PropertyNameUpdatedEvent)) as PropertyNameUpdatedEvent; $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') - static UpdateNameEvent create() => UpdateNameEvent._(); - UpdateNameEvent createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); + static PropertyNameUpdatedEvent create() => PropertyNameUpdatedEvent._(); + PropertyNameUpdatedEvent createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') - static UpdateNameEvent getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static UpdateNameEvent? _defaultInstance; + static PropertyNameUpdatedEvent getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static PropertyNameUpdatedEvent? _defaultInstance; @$pb.TagNumber(1) $core.String get name => $_getSZ(0); @@ -63,6 +611,563 @@ class UpdateNameEvent extends $pb.GeneratedMessage { void clearName() => clearField(1); } +class PropertyFieldTypeDataAllowFreetextUpdatedEvent extends $pb.GeneratedMessage { + factory PropertyFieldTypeDataAllowFreetextUpdatedEvent({ + $core.bool? newAllowFreetext, + }) { + final $result = create(); + if (newAllowFreetext != null) { + $result.newAllowFreetext = newAllowFreetext; + } + return $result; + } + PropertyFieldTypeDataAllowFreetextUpdatedEvent._() : super(); + factory PropertyFieldTypeDataAllowFreetextUpdatedEvent.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory PropertyFieldTypeDataAllowFreetextUpdatedEvent.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PropertyFieldTypeDataAllowFreetextUpdatedEvent', package: const $pb.PackageName(_omitMessageNames ? '' : 'libs.technical_events.property_svc.v1'), createEmptyInstance: create) + ..aOB(1, _omitFieldNames ? '' : 'newAllowFreetext') + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + PropertyFieldTypeDataAllowFreetextUpdatedEvent clone() => PropertyFieldTypeDataAllowFreetextUpdatedEvent()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + PropertyFieldTypeDataAllowFreetextUpdatedEvent copyWith(void Function(PropertyFieldTypeDataAllowFreetextUpdatedEvent) updates) => super.copyWith((message) => updates(message as PropertyFieldTypeDataAllowFreetextUpdatedEvent)) as PropertyFieldTypeDataAllowFreetextUpdatedEvent; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static PropertyFieldTypeDataAllowFreetextUpdatedEvent create() => PropertyFieldTypeDataAllowFreetextUpdatedEvent._(); + PropertyFieldTypeDataAllowFreetextUpdatedEvent createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static PropertyFieldTypeDataAllowFreetextUpdatedEvent getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static PropertyFieldTypeDataAllowFreetextUpdatedEvent? _defaultInstance; + + @$pb.TagNumber(1) + $core.bool get newAllowFreetext => $_getBF(0); + @$pb.TagNumber(1) + set newAllowFreetext($core.bool v) { $_setBool(0, v); } + @$pb.TagNumber(1) + $core.bool hasNewAllowFreetext() => $_has(0); + @$pb.TagNumber(1) + void clearNewAllowFreetext() => clearField(1); +} + +class PropertyFieldTypeDataSelectOptionsRemovedEvent extends $pb.GeneratedMessage { + factory PropertyFieldTypeDataSelectOptionsRemovedEvent({ + $core.Iterable<$core.String>? removedSelectOptions, + }) { + final $result = create(); + if (removedSelectOptions != null) { + $result.removedSelectOptions.addAll(removedSelectOptions); + } + return $result; + } + PropertyFieldTypeDataSelectOptionsRemovedEvent._() : super(); + factory PropertyFieldTypeDataSelectOptionsRemovedEvent.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory PropertyFieldTypeDataSelectOptionsRemovedEvent.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PropertyFieldTypeDataSelectOptionsRemovedEvent', package: const $pb.PackageName(_omitMessageNames ? '' : 'libs.technical_events.property_svc.v1'), createEmptyInstance: create) + ..pPS(1, _omitFieldNames ? '' : 'removedSelectOptions') + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + PropertyFieldTypeDataSelectOptionsRemovedEvent clone() => PropertyFieldTypeDataSelectOptionsRemovedEvent()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + PropertyFieldTypeDataSelectOptionsRemovedEvent copyWith(void Function(PropertyFieldTypeDataSelectOptionsRemovedEvent) updates) => super.copyWith((message) => updates(message as PropertyFieldTypeDataSelectOptionsRemovedEvent)) as PropertyFieldTypeDataSelectOptionsRemovedEvent; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static PropertyFieldTypeDataSelectOptionsRemovedEvent create() => PropertyFieldTypeDataSelectOptionsRemovedEvent._(); + PropertyFieldTypeDataSelectOptionsRemovedEvent createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static PropertyFieldTypeDataSelectOptionsRemovedEvent getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static PropertyFieldTypeDataSelectOptionsRemovedEvent? _defaultInstance; + + @$pb.TagNumber(1) + $core.List<$core.String> get removedSelectOptions => $_getList(0); +} + +class PropertyFieldTypeDataSelectOptionsUpsertedEvent_UpdateSelectOption extends $pb.GeneratedMessage { + factory PropertyFieldTypeDataSelectOptionsUpsertedEvent_UpdateSelectOption({ + $core.String? id, + $core.String? name, + $core.String? description, + $core.bool? isCustom, + }) { + final $result = create(); + if (id != null) { + $result.id = id; + } + if (name != null) { + $result.name = name; + } + if (description != null) { + $result.description = description; + } + if (isCustom != null) { + $result.isCustom = isCustom; + } + return $result; + } + PropertyFieldTypeDataSelectOptionsUpsertedEvent_UpdateSelectOption._() : super(); + factory PropertyFieldTypeDataSelectOptionsUpsertedEvent_UpdateSelectOption.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory PropertyFieldTypeDataSelectOptionsUpsertedEvent_UpdateSelectOption.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PropertyFieldTypeDataSelectOptionsUpsertedEvent.UpdateSelectOption', package: const $pb.PackageName(_omitMessageNames ? '' : 'libs.technical_events.property_svc.v1'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'id') + ..aOS(2, _omitFieldNames ? '' : 'name') + ..aOS(3, _omitFieldNames ? '' : 'description') + ..aOB(4, _omitFieldNames ? '' : 'isCustom') + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + PropertyFieldTypeDataSelectOptionsUpsertedEvent_UpdateSelectOption clone() => PropertyFieldTypeDataSelectOptionsUpsertedEvent_UpdateSelectOption()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + PropertyFieldTypeDataSelectOptionsUpsertedEvent_UpdateSelectOption copyWith(void Function(PropertyFieldTypeDataSelectOptionsUpsertedEvent_UpdateSelectOption) updates) => super.copyWith((message) => updates(message as PropertyFieldTypeDataSelectOptionsUpsertedEvent_UpdateSelectOption)) as PropertyFieldTypeDataSelectOptionsUpsertedEvent_UpdateSelectOption; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static PropertyFieldTypeDataSelectOptionsUpsertedEvent_UpdateSelectOption create() => PropertyFieldTypeDataSelectOptionsUpsertedEvent_UpdateSelectOption._(); + PropertyFieldTypeDataSelectOptionsUpsertedEvent_UpdateSelectOption createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static PropertyFieldTypeDataSelectOptionsUpsertedEvent_UpdateSelectOption getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static PropertyFieldTypeDataSelectOptionsUpsertedEvent_UpdateSelectOption? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get id => $_getSZ(0); + @$pb.TagNumber(1) + set id($core.String v) { $_setString(0, v); } + @$pb.TagNumber(1) + $core.bool hasId() => $_has(0); + @$pb.TagNumber(1) + void clearId() => clearField(1); + + @$pb.TagNumber(2) + $core.String get name => $_getSZ(1); + @$pb.TagNumber(2) + set name($core.String v) { $_setString(1, v); } + @$pb.TagNumber(2) + $core.bool hasName() => $_has(1); + @$pb.TagNumber(2) + void clearName() => clearField(2); + + @$pb.TagNumber(3) + $core.String get description => $_getSZ(2); + @$pb.TagNumber(3) + set description($core.String v) { $_setString(2, v); } + @$pb.TagNumber(3) + $core.bool hasDescription() => $_has(2); + @$pb.TagNumber(3) + void clearDescription() => clearField(3); + + @$pb.TagNumber(4) + $core.bool get isCustom => $_getBF(3); + @$pb.TagNumber(4) + set isCustom($core.bool v) { $_setBool(3, v); } + @$pb.TagNumber(4) + $core.bool hasIsCustom() => $_has(3); + @$pb.TagNumber(4) + void clearIsCustom() => clearField(4); +} + +class PropertyFieldTypeDataSelectOptionsUpsertedEvent extends $pb.GeneratedMessage { + factory PropertyFieldTypeDataSelectOptionsUpsertedEvent({ + $core.Iterable? upsertedSelectOptions, + }) { + final $result = create(); + if (upsertedSelectOptions != null) { + $result.upsertedSelectOptions.addAll(upsertedSelectOptions); + } + return $result; + } + PropertyFieldTypeDataSelectOptionsUpsertedEvent._() : super(); + factory PropertyFieldTypeDataSelectOptionsUpsertedEvent.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory PropertyFieldTypeDataSelectOptionsUpsertedEvent.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PropertyFieldTypeDataSelectOptionsUpsertedEvent', package: const $pb.PackageName(_omitMessageNames ? '' : 'libs.technical_events.property_svc.v1'), createEmptyInstance: create) + ..pc(1, _omitFieldNames ? '' : 'upsertedSelectOptions', $pb.PbFieldType.PM, subBuilder: PropertyFieldTypeDataSelectOptionsUpsertedEvent_UpdateSelectOption.create) + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + PropertyFieldTypeDataSelectOptionsUpsertedEvent clone() => PropertyFieldTypeDataSelectOptionsUpsertedEvent()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + PropertyFieldTypeDataSelectOptionsUpsertedEvent copyWith(void Function(PropertyFieldTypeDataSelectOptionsUpsertedEvent) updates) => super.copyWith((message) => updates(message as PropertyFieldTypeDataSelectOptionsUpsertedEvent)) as PropertyFieldTypeDataSelectOptionsUpsertedEvent; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static PropertyFieldTypeDataSelectOptionsUpsertedEvent create() => PropertyFieldTypeDataSelectOptionsUpsertedEvent._(); + PropertyFieldTypeDataSelectOptionsUpsertedEvent createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static PropertyFieldTypeDataSelectOptionsUpsertedEvent getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static PropertyFieldTypeDataSelectOptionsUpsertedEvent? _defaultInstance; + + @$pb.TagNumber(1) + $core.List get upsertedSelectOptions => $_getList(0); +} + +class PropertyArchivedEvent extends $pb.GeneratedMessage { + factory PropertyArchivedEvent() => create(); + PropertyArchivedEvent._() : super(); + factory PropertyArchivedEvent.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory PropertyArchivedEvent.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PropertyArchivedEvent', package: const $pb.PackageName(_omitMessageNames ? '' : 'libs.technical_events.property_svc.v1'), createEmptyInstance: create) + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + PropertyArchivedEvent clone() => PropertyArchivedEvent()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + PropertyArchivedEvent copyWith(void Function(PropertyArchivedEvent) updates) => super.copyWith((message) => updates(message as PropertyArchivedEvent)) as PropertyArchivedEvent; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static PropertyArchivedEvent create() => PropertyArchivedEvent._(); + PropertyArchivedEvent createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static PropertyArchivedEvent getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static PropertyArchivedEvent? _defaultInstance; +} + +class PropertyRetrievedEvent extends $pb.GeneratedMessage { + factory PropertyRetrievedEvent() => create(); + PropertyRetrievedEvent._() : super(); + factory PropertyRetrievedEvent.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory PropertyRetrievedEvent.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PropertyRetrievedEvent', package: const $pb.PackageName(_omitMessageNames ? '' : 'libs.technical_events.property_svc.v1'), createEmptyInstance: create) + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + PropertyRetrievedEvent clone() => PropertyRetrievedEvent()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + PropertyRetrievedEvent copyWith(void Function(PropertyRetrievedEvent) updates) => super.copyWith((message) => updates(message as PropertyRetrievedEvent)) as PropertyRetrievedEvent; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static PropertyRetrievedEvent create() => PropertyRetrievedEvent._(); + PropertyRetrievedEvent createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static PropertyRetrievedEvent getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static PropertyRetrievedEvent? _defaultInstance; +} + +enum TechnicalEvent_Event { + propertyCreated, + propertyDescriptionUpdated, + propertySetIdUpdated, + propertySubjectTypeUpdated, + propertyFieldTypeUpdated, + propertyFieldTypeDataCreated, + propertyNameUpdated, + propertyFieldTypeDataAllowFreetextUpdated, + propertyFieldTypeDataSelectOptionsRemoved, + propertyFieldTypeDataSelectOptionsUpserted, + propertyArchived, + propertyRetrieved, + notSet +} + +class TechnicalEvent extends $pb.GeneratedMessage { + factory TechnicalEvent({ + PropertyCreatedEvent? propertyCreated, + PropertyDescriptionUpdatedEvent? propertyDescriptionUpdated, + PropertySetIDUpdatedEvent? propertySetIdUpdated, + PropertySubjectTypeUpdatedEvent? propertySubjectTypeUpdated, + PropertyFieldTypeUpdatedEvent? propertyFieldTypeUpdated, + PropertyFieldTypeDataCreatedEvent? propertyFieldTypeDataCreated, + PropertyNameUpdatedEvent? propertyNameUpdated, + PropertyFieldTypeDataAllowFreetextUpdatedEvent? propertyFieldTypeDataAllowFreetextUpdated, + PropertyFieldTypeDataSelectOptionsRemovedEvent? propertyFieldTypeDataSelectOptionsRemoved, + PropertyFieldTypeDataSelectOptionsUpsertedEvent? propertyFieldTypeDataSelectOptionsUpserted, + PropertyArchivedEvent? propertyArchived, + PropertyRetrievedEvent? propertyRetrieved, + }) { + final $result = create(); + if (propertyCreated != null) { + $result.propertyCreated = propertyCreated; + } + if (propertyDescriptionUpdated != null) { + $result.propertyDescriptionUpdated = propertyDescriptionUpdated; + } + if (propertySetIdUpdated != null) { + $result.propertySetIdUpdated = propertySetIdUpdated; + } + if (propertySubjectTypeUpdated != null) { + $result.propertySubjectTypeUpdated = propertySubjectTypeUpdated; + } + if (propertyFieldTypeUpdated != null) { + $result.propertyFieldTypeUpdated = propertyFieldTypeUpdated; + } + if (propertyFieldTypeDataCreated != null) { + $result.propertyFieldTypeDataCreated = propertyFieldTypeDataCreated; + } + if (propertyNameUpdated != null) { + $result.propertyNameUpdated = propertyNameUpdated; + } + if (propertyFieldTypeDataAllowFreetextUpdated != null) { + $result.propertyFieldTypeDataAllowFreetextUpdated = propertyFieldTypeDataAllowFreetextUpdated; + } + if (propertyFieldTypeDataSelectOptionsRemoved != null) { + $result.propertyFieldTypeDataSelectOptionsRemoved = propertyFieldTypeDataSelectOptionsRemoved; + } + if (propertyFieldTypeDataSelectOptionsUpserted != null) { + $result.propertyFieldTypeDataSelectOptionsUpserted = propertyFieldTypeDataSelectOptionsUpserted; + } + if (propertyArchived != null) { + $result.propertyArchived = propertyArchived; + } + if (propertyRetrieved != null) { + $result.propertyRetrieved = propertyRetrieved; + } + return $result; + } + TechnicalEvent._() : super(); + factory TechnicalEvent.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory TechnicalEvent.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static const $core.Map<$core.int, TechnicalEvent_Event> _TechnicalEvent_EventByTag = { + 1 : TechnicalEvent_Event.propertyCreated, + 2 : TechnicalEvent_Event.propertyDescriptionUpdated, + 3 : TechnicalEvent_Event.propertySetIdUpdated, + 4 : TechnicalEvent_Event.propertySubjectTypeUpdated, + 5 : TechnicalEvent_Event.propertyFieldTypeUpdated, + 6 : TechnicalEvent_Event.propertyFieldTypeDataCreated, + 7 : TechnicalEvent_Event.propertyNameUpdated, + 8 : TechnicalEvent_Event.propertyFieldTypeDataAllowFreetextUpdated, + 9 : TechnicalEvent_Event.propertyFieldTypeDataSelectOptionsRemoved, + 10 : TechnicalEvent_Event.propertyFieldTypeDataSelectOptionsUpserted, + 11 : TechnicalEvent_Event.propertyArchived, + 12 : TechnicalEvent_Event.propertyRetrieved, + 0 : TechnicalEvent_Event.notSet + }; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'TechnicalEvent', package: const $pb.PackageName(_omitMessageNames ? '' : 'libs.technical_events.property_svc.v1'), createEmptyInstance: create) + ..oo(0, [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]) + ..aOM(1, _omitFieldNames ? '' : 'propertyCreated', subBuilder: PropertyCreatedEvent.create) + ..aOM(2, _omitFieldNames ? '' : 'propertyDescriptionUpdated', subBuilder: PropertyDescriptionUpdatedEvent.create) + ..aOM(3, _omitFieldNames ? '' : 'propertySetIdUpdated', subBuilder: PropertySetIDUpdatedEvent.create) + ..aOM(4, _omitFieldNames ? '' : 'propertySubjectTypeUpdated', subBuilder: PropertySubjectTypeUpdatedEvent.create) + ..aOM(5, _omitFieldNames ? '' : 'propertyFieldTypeUpdated', subBuilder: PropertyFieldTypeUpdatedEvent.create) + ..aOM(6, _omitFieldNames ? '' : 'propertyFieldTypeDataCreated', subBuilder: PropertyFieldTypeDataCreatedEvent.create) + ..aOM(7, _omitFieldNames ? '' : 'propertyNameUpdated', subBuilder: PropertyNameUpdatedEvent.create) + ..aOM(8, _omitFieldNames ? '' : 'propertyFieldTypeDataAllowFreetextUpdated', subBuilder: PropertyFieldTypeDataAllowFreetextUpdatedEvent.create) + ..aOM(9, _omitFieldNames ? '' : 'propertyFieldTypeDataSelectOptionsRemoved', subBuilder: PropertyFieldTypeDataSelectOptionsRemovedEvent.create) + ..aOM(10, _omitFieldNames ? '' : 'propertyFieldTypeDataSelectOptionsUpserted', subBuilder: PropertyFieldTypeDataSelectOptionsUpsertedEvent.create) + ..aOM(11, _omitFieldNames ? '' : 'propertyArchived', subBuilder: PropertyArchivedEvent.create) + ..aOM(12, _omitFieldNames ? '' : 'propertyRetrieved', subBuilder: PropertyRetrievedEvent.create) + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + TechnicalEvent clone() => TechnicalEvent()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + TechnicalEvent copyWith(void Function(TechnicalEvent) updates) => super.copyWith((message) => updates(message as TechnicalEvent)) as TechnicalEvent; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static TechnicalEvent create() => TechnicalEvent._(); + TechnicalEvent createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static TechnicalEvent getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static TechnicalEvent? _defaultInstance; + + TechnicalEvent_Event whichEvent() => _TechnicalEvent_EventByTag[$_whichOneof(0)]!; + void clearEvent() => clearField($_whichOneof(0)); + + @$pb.TagNumber(1) + PropertyCreatedEvent get propertyCreated => $_getN(0); + @$pb.TagNumber(1) + set propertyCreated(PropertyCreatedEvent v) { setField(1, v); } + @$pb.TagNumber(1) + $core.bool hasPropertyCreated() => $_has(0); + @$pb.TagNumber(1) + void clearPropertyCreated() => clearField(1); + @$pb.TagNumber(1) + PropertyCreatedEvent ensurePropertyCreated() => $_ensure(0); + + @$pb.TagNumber(2) + PropertyDescriptionUpdatedEvent get propertyDescriptionUpdated => $_getN(1); + @$pb.TagNumber(2) + set propertyDescriptionUpdated(PropertyDescriptionUpdatedEvent v) { setField(2, v); } + @$pb.TagNumber(2) + $core.bool hasPropertyDescriptionUpdated() => $_has(1); + @$pb.TagNumber(2) + void clearPropertyDescriptionUpdated() => clearField(2); + @$pb.TagNumber(2) + PropertyDescriptionUpdatedEvent ensurePropertyDescriptionUpdated() => $_ensure(1); + + @$pb.TagNumber(3) + PropertySetIDUpdatedEvent get propertySetIdUpdated => $_getN(2); + @$pb.TagNumber(3) + set propertySetIdUpdated(PropertySetIDUpdatedEvent v) { setField(3, v); } + @$pb.TagNumber(3) + $core.bool hasPropertySetIdUpdated() => $_has(2); + @$pb.TagNumber(3) + void clearPropertySetIdUpdated() => clearField(3); + @$pb.TagNumber(3) + PropertySetIDUpdatedEvent ensurePropertySetIdUpdated() => $_ensure(2); + + @$pb.TagNumber(4) + PropertySubjectTypeUpdatedEvent get propertySubjectTypeUpdated => $_getN(3); + @$pb.TagNumber(4) + set propertySubjectTypeUpdated(PropertySubjectTypeUpdatedEvent v) { setField(4, v); } + @$pb.TagNumber(4) + $core.bool hasPropertySubjectTypeUpdated() => $_has(3); + @$pb.TagNumber(4) + void clearPropertySubjectTypeUpdated() => clearField(4); + @$pb.TagNumber(4) + PropertySubjectTypeUpdatedEvent ensurePropertySubjectTypeUpdated() => $_ensure(3); + + @$pb.TagNumber(5) + PropertyFieldTypeUpdatedEvent get propertyFieldTypeUpdated => $_getN(4); + @$pb.TagNumber(5) + set propertyFieldTypeUpdated(PropertyFieldTypeUpdatedEvent v) { setField(5, v); } + @$pb.TagNumber(5) + $core.bool hasPropertyFieldTypeUpdated() => $_has(4); + @$pb.TagNumber(5) + void clearPropertyFieldTypeUpdated() => clearField(5); + @$pb.TagNumber(5) + PropertyFieldTypeUpdatedEvent ensurePropertyFieldTypeUpdated() => $_ensure(4); + + @$pb.TagNumber(6) + PropertyFieldTypeDataCreatedEvent get propertyFieldTypeDataCreated => $_getN(5); + @$pb.TagNumber(6) + set propertyFieldTypeDataCreated(PropertyFieldTypeDataCreatedEvent v) { setField(6, v); } + @$pb.TagNumber(6) + $core.bool hasPropertyFieldTypeDataCreated() => $_has(5); + @$pb.TagNumber(6) + void clearPropertyFieldTypeDataCreated() => clearField(6); + @$pb.TagNumber(6) + PropertyFieldTypeDataCreatedEvent ensurePropertyFieldTypeDataCreated() => $_ensure(5); + + @$pb.TagNumber(7) + PropertyNameUpdatedEvent get propertyNameUpdated => $_getN(6); + @$pb.TagNumber(7) + set propertyNameUpdated(PropertyNameUpdatedEvent v) { setField(7, v); } + @$pb.TagNumber(7) + $core.bool hasPropertyNameUpdated() => $_has(6); + @$pb.TagNumber(7) + void clearPropertyNameUpdated() => clearField(7); + @$pb.TagNumber(7) + PropertyNameUpdatedEvent ensurePropertyNameUpdated() => $_ensure(6); + + @$pb.TagNumber(8) + PropertyFieldTypeDataAllowFreetextUpdatedEvent get propertyFieldTypeDataAllowFreetextUpdated => $_getN(7); + @$pb.TagNumber(8) + set propertyFieldTypeDataAllowFreetextUpdated(PropertyFieldTypeDataAllowFreetextUpdatedEvent v) { setField(8, v); } + @$pb.TagNumber(8) + $core.bool hasPropertyFieldTypeDataAllowFreetextUpdated() => $_has(7); + @$pb.TagNumber(8) + void clearPropertyFieldTypeDataAllowFreetextUpdated() => clearField(8); + @$pb.TagNumber(8) + PropertyFieldTypeDataAllowFreetextUpdatedEvent ensurePropertyFieldTypeDataAllowFreetextUpdated() => $_ensure(7); + + @$pb.TagNumber(9) + PropertyFieldTypeDataSelectOptionsRemovedEvent get propertyFieldTypeDataSelectOptionsRemoved => $_getN(8); + @$pb.TagNumber(9) + set propertyFieldTypeDataSelectOptionsRemoved(PropertyFieldTypeDataSelectOptionsRemovedEvent v) { setField(9, v); } + @$pb.TagNumber(9) + $core.bool hasPropertyFieldTypeDataSelectOptionsRemoved() => $_has(8); + @$pb.TagNumber(9) + void clearPropertyFieldTypeDataSelectOptionsRemoved() => clearField(9); + @$pb.TagNumber(9) + PropertyFieldTypeDataSelectOptionsRemovedEvent ensurePropertyFieldTypeDataSelectOptionsRemoved() => $_ensure(8); + + @$pb.TagNumber(10) + PropertyFieldTypeDataSelectOptionsUpsertedEvent get propertyFieldTypeDataSelectOptionsUpserted => $_getN(9); + @$pb.TagNumber(10) + set propertyFieldTypeDataSelectOptionsUpserted(PropertyFieldTypeDataSelectOptionsUpsertedEvent v) { setField(10, v); } + @$pb.TagNumber(10) + $core.bool hasPropertyFieldTypeDataSelectOptionsUpserted() => $_has(9); + @$pb.TagNumber(10) + void clearPropertyFieldTypeDataSelectOptionsUpserted() => clearField(10); + @$pb.TagNumber(10) + PropertyFieldTypeDataSelectOptionsUpsertedEvent ensurePropertyFieldTypeDataSelectOptionsUpserted() => $_ensure(9); + + @$pb.TagNumber(11) + PropertyArchivedEvent get propertyArchived => $_getN(10); + @$pb.TagNumber(11) + set propertyArchived(PropertyArchivedEvent v) { setField(11, v); } + @$pb.TagNumber(11) + $core.bool hasPropertyArchived() => $_has(10); + @$pb.TagNumber(11) + void clearPropertyArchived() => clearField(11); + @$pb.TagNumber(11) + PropertyArchivedEvent ensurePropertyArchived() => $_ensure(10); + + @$pb.TagNumber(12) + PropertyRetrievedEvent get propertyRetrieved => $_getN(11); + @$pb.TagNumber(12) + set propertyRetrieved(PropertyRetrievedEvent v) { setField(12, v); } + @$pb.TagNumber(12) + $core.bool hasPropertyRetrieved() => $_has(11); + @$pb.TagNumber(12) + void clearPropertyRetrieved() => clearField(12); + @$pb.TagNumber(12) + PropertyRetrievedEvent ensurePropertyRetrieved() => $_ensure(11); +} + const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/gen/dart/lib/libs/technical_events/property_svc/v1/property.pbjson.dart b/gen/dart/lib/libs/technical_events/property_svc/v1/property.pbjson.dart index 6526eb657..fc213c6e0 100644 --- a/gen/dart/lib/libs/technical_events/property_svc/v1/property.pbjson.dart +++ b/gen/dart/lib/libs/technical_events/property_svc/v1/property.pbjson.dart @@ -13,15 +13,298 @@ import 'dart:convert' as $convert; import 'dart:core' as $core; import 'dart:typed_data' as $typed_data; -@$core.Deprecated('Use updateNameEventDescriptor instead') -const UpdateNameEvent$json = { - '1': 'UpdateNameEvent', +@$core.Deprecated('Use propertyCreatedEventDescriptor instead') +const PropertyCreatedEvent$json = { + '1': 'PropertyCreatedEvent', + '2': [ + {'1': 'id', '3': 1, '4': 1, '5': 9, '10': 'id'}, + {'1': 'subject_type', '3': 2, '4': 1, '5': 14, '6': '.services.property_svc.v1.SubjectType', '10': 'subjectType'}, + {'1': 'field_type', '3': 3, '4': 1, '5': 14, '6': '.services.property_svc.v1.FieldType', '10': 'fieldType'}, + {'1': 'name', '3': 4, '4': 1, '5': 9, '10': 'name'}, + ], + '7': {}, +}; + +/// Descriptor for `PropertyCreatedEvent`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List propertyCreatedEventDescriptor = $convert.base64Decode( + 'ChRQcm9wZXJ0eUNyZWF0ZWRFdmVudBIOCgJpZBgBIAEoCVICaWQSSAoMc3ViamVjdF90eXBlGA' + 'IgASgOMiUuc2VydmljZXMucHJvcGVydHlfc3ZjLnYxLlN1YmplY3RUeXBlUgtzdWJqZWN0VHlw' + 'ZRJCCgpmaWVsZF90eXBlGAMgASgOMiMuc2VydmljZXMucHJvcGVydHlfc3ZjLnYxLkZpZWxkVH' + 'lwZVIJZmllbGRUeXBlEhIKBG5hbWUYBCABKAlSBG5hbWU6F9qEARNQUk9QRVJUWV9DUkVBVEVE' + 'X3Yx'); + +@$core.Deprecated('Use propertyDescriptionUpdatedEventDescriptor instead') +const PropertyDescriptionUpdatedEvent$json = { + '1': 'PropertyDescriptionUpdatedEvent', + '2': [ + {'1': 'description', '3': 1, '4': 1, '5': 9, '10': 'description'}, + ], + '7': {}, +}; + +/// Descriptor for `PropertyDescriptionUpdatedEvent`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List propertyDescriptionUpdatedEventDescriptor = $convert.base64Decode( + 'Ch9Qcm9wZXJ0eURlc2NyaXB0aW9uVXBkYXRlZEV2ZW50EiAKC2Rlc2NyaXB0aW9uGAEgASgJUg' + 'tkZXNjcmlwdGlvbjoj2oQBH1BST1BFUlRZX0RFU0NSSVBUSU9OX1VQREFURURfdjE='); + +@$core.Deprecated('Use propertySetIDUpdatedEventDescriptor instead') +const PropertySetIDUpdatedEvent$json = { + '1': 'PropertySetIDUpdatedEvent', + '2': [ + {'1': 'set_id', '3': 1, '4': 1, '5': 9, '10': 'setId'}, + ], + '7': {}, +}; + +/// Descriptor for `PropertySetIDUpdatedEvent`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List propertySetIDUpdatedEventDescriptor = $convert.base64Decode( + 'ChlQcm9wZXJ0eVNldElEVXBkYXRlZEV2ZW50EhUKBnNldF9pZBgBIAEoCVIFc2V0SWQ6HtqEAR' + 'pQUk9QRVJUWV9TRVRfSURfVVBEQVRFRF92MQ=='); + +@$core.Deprecated('Use propertySubjectTypeUpdatedEventDescriptor instead') +const PropertySubjectTypeUpdatedEvent$json = { + '1': 'PropertySubjectTypeUpdatedEvent', + '2': [ + {'1': 'subject_type', '3': 1, '4': 1, '5': 9, '10': 'subjectType'}, + ], + '7': {}, +}; + +/// Descriptor for `PropertySubjectTypeUpdatedEvent`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List propertySubjectTypeUpdatedEventDescriptor = $convert.base64Decode( + 'Ch9Qcm9wZXJ0eVN1YmplY3RUeXBlVXBkYXRlZEV2ZW50EiEKDHN1YmplY3RfdHlwZRgBIAEoCV' + 'ILc3ViamVjdFR5cGU6JNqEASBQUk9QRVJUWV9TVUJKRUNUX1RZUEVfVVBEQVRFRF92MQ=='); + +@$core.Deprecated('Use propertyFieldTypeUpdatedEventDescriptor instead') +const PropertyFieldTypeUpdatedEvent$json = { + '1': 'PropertyFieldTypeUpdatedEvent', + '2': [ + {'1': 'field_type', '3': 1, '4': 1, '5': 9, '10': 'fieldType'}, + ], + '7': {}, +}; + +/// Descriptor for `PropertyFieldTypeUpdatedEvent`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List propertyFieldTypeUpdatedEventDescriptor = $convert.base64Decode( + 'Ch1Qcm9wZXJ0eUZpZWxkVHlwZVVwZGF0ZWRFdmVudBIdCgpmaWVsZF90eXBlGAEgASgJUglmaW' + 'VsZFR5cGU6ItqEAR5QUk9QRVJUWV9GSUVMRF9UWVBFX1VQREFURURfdjE='); + +@$core.Deprecated('Use propertyFieldTypeDataCreatedEventDescriptor instead') +const PropertyFieldTypeDataCreatedEvent$json = { + '1': 'PropertyFieldTypeDataCreatedEvent', + '2': [ + {'1': 'field_type_data', '3': 1, '4': 1, '5': 11, '6': '.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.FieldTypeData', '10': 'fieldTypeData'}, + ], + '3': [PropertyFieldTypeDataCreatedEvent_SelectOption$json, PropertyFieldTypeDataCreatedEvent_SelectData$json, PropertyFieldTypeDataCreatedEvent_FieldTypeData$json], + '7': {}, +}; + +@$core.Deprecated('Use propertyFieldTypeDataCreatedEventDescriptor instead') +const PropertyFieldTypeDataCreatedEvent_SelectOption$json = { + '1': 'SelectOption', + '2': [ + {'1': 'id', '3': 1, '4': 1, '5': 9, '10': 'id'}, + {'1': 'name', '3': 2, '4': 1, '5': 9, '10': 'name'}, + {'1': 'description', '3': 3, '4': 1, '5': 9, '9': 0, '10': 'description', '17': true}, + {'1': 'is_custom', '3': 4, '4': 1, '5': 8, '10': 'isCustom'}, + ], + '8': [ + {'1': '_description'}, + ], +}; + +@$core.Deprecated('Use propertyFieldTypeDataCreatedEventDescriptor instead') +const PropertyFieldTypeDataCreatedEvent_SelectData$json = { + '1': 'SelectData', + '2': [ + {'1': 'allow_freetext', '3': 1, '4': 1, '5': 8, '10': 'allowFreetext'}, + {'1': 'select_options', '3': 2, '4': 3, '5': 11, '6': '.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.SelectOption', '10': 'selectOptions'}, + ], +}; + +@$core.Deprecated('Use propertyFieldTypeDataCreatedEventDescriptor instead') +const PropertyFieldTypeDataCreatedEvent_FieldTypeData$json = { + '1': 'FieldTypeData', + '2': [ + {'1': 'select_data', '3': 1, '4': 1, '5': 11, '6': '.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.SelectData', '9': 0, '10': 'selectData', '17': true}, + ], + '8': [ + {'1': '_select_data'}, + ], +}; + +/// Descriptor for `PropertyFieldTypeDataCreatedEvent`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List propertyFieldTypeDataCreatedEventDescriptor = $convert.base64Decode( + 'CiFQcm9wZXJ0eUZpZWxkVHlwZURhdGFDcmVhdGVkRXZlbnQSfgoPZmllbGRfdHlwZV9kYXRhGA' + 'EgASgLMlYubGlicy50ZWNobmljYWxfZXZlbnRzLnByb3BlcnR5X3N2Yy52MS5Qcm9wZXJ0eUZp' + 'ZWxkVHlwZURhdGFDcmVhdGVkRXZlbnQuRmllbGRUeXBlRGF0YVINZmllbGRUeXBlRGF0YRqGAQ' + 'oMU2VsZWN0T3B0aW9uEg4KAmlkGAEgASgJUgJpZBISCgRuYW1lGAIgASgJUgRuYW1lEiUKC2Rl' + 'c2NyaXB0aW9uGAMgASgJSABSC2Rlc2NyaXB0aW9uiAEBEhsKCWlzX2N1c3RvbRgEIAEoCFIIaX' + 'NDdXN0b21CDgoMX2Rlc2NyaXB0aW9uGrEBCgpTZWxlY3REYXRhEiUKDmFsbG93X2ZyZWV0ZXh0' + 'GAEgASgIUg1hbGxvd0ZyZWV0ZXh0EnwKDnNlbGVjdF9vcHRpb25zGAIgAygLMlUubGlicy50ZW' + 'NobmljYWxfZXZlbnRzLnByb3BlcnR5X3N2Yy52MS5Qcm9wZXJ0eUZpZWxkVHlwZURhdGFDcmVh' + 'dGVkRXZlbnQuU2VsZWN0T3B0aW9uUg1zZWxlY3RPcHRpb25zGpoBCg1GaWVsZFR5cGVEYXRhEn' + 'kKC3NlbGVjdF9kYXRhGAEgASgLMlMubGlicy50ZWNobmljYWxfZXZlbnRzLnByb3BlcnR5X3N2' + 'Yy52MS5Qcm9wZXJ0eUZpZWxkVHlwZURhdGFDcmVhdGVkRXZlbnQuU2VsZWN0RGF0YUgAUgpzZW' + 'xlY3REYXRhiAEBQg4KDF9zZWxlY3RfZGF0YTon2oQBI1BST1BFUlRZX0ZJRUxEX1RZUEVfREFU' + 'QV9DUkVBVEVEX3Yx'); + +@$core.Deprecated('Use propertyNameUpdatedEventDescriptor instead') +const PropertyNameUpdatedEvent$json = { + '1': 'PropertyNameUpdatedEvent', '2': [ {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, ], + '7': {}, +}; + +/// Descriptor for `PropertyNameUpdatedEvent`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List propertyNameUpdatedEventDescriptor = $convert.base64Decode( + 'ChhQcm9wZXJ0eU5hbWVVcGRhdGVkRXZlbnQSEgoEbmFtZRgBIAEoCVIEbmFtZToc2oQBGFBST1' + 'BFUlRZX05BTUVfVVBEQVRFRF92MQ=='); + +@$core.Deprecated('Use propertyFieldTypeDataAllowFreetextUpdatedEventDescriptor instead') +const PropertyFieldTypeDataAllowFreetextUpdatedEvent$json = { + '1': 'PropertyFieldTypeDataAllowFreetextUpdatedEvent', + '2': [ + {'1': 'new_allow_freetext', '3': 1, '4': 1, '5': 8, '10': 'newAllowFreetext'}, + ], + '7': {}, +}; + +/// Descriptor for `PropertyFieldTypeDataAllowFreetextUpdatedEvent`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List propertyFieldTypeDataAllowFreetextUpdatedEventDescriptor = $convert.base64Decode( + 'Ci5Qcm9wZXJ0eUZpZWxkVHlwZURhdGFBbGxvd0ZyZWV0ZXh0VXBkYXRlZEV2ZW50EiwKEm5ld1' + '9hbGxvd19mcmVldGV4dBgBIAEoCFIQbmV3QWxsb3dGcmVldGV4dDo22oQBMlBST1BFUlRZX0ZJ' + 'RUxEX1RZUEVfREFUQV9BTExPV19GUkVFVEVYVF9VUERBVEVEX3Yx'); + +@$core.Deprecated('Use propertyFieldTypeDataSelectOptionsRemovedEventDescriptor instead') +const PropertyFieldTypeDataSelectOptionsRemovedEvent$json = { + '1': 'PropertyFieldTypeDataSelectOptionsRemovedEvent', + '2': [ + {'1': 'removed_select_options', '3': 1, '4': 3, '5': 9, '10': 'removedSelectOptions'}, + ], + '7': {}, +}; + +/// Descriptor for `PropertyFieldTypeDataSelectOptionsRemovedEvent`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List propertyFieldTypeDataSelectOptionsRemovedEventDescriptor = $convert.base64Decode( + 'Ci5Qcm9wZXJ0eUZpZWxkVHlwZURhdGFTZWxlY3RPcHRpb25zUmVtb3ZlZEV2ZW50EjQKFnJlbW' + '92ZWRfc2VsZWN0X29wdGlvbnMYASADKAlSFHJlbW92ZWRTZWxlY3RPcHRpb25zOjbahAEyUFJP' + 'UEVSVFlfRklFTERfVFlQRV9EQVRBX1NFTEVDVF9PUFRJT05TX1JFTU9WRURfdjE='); + +@$core.Deprecated('Use propertyFieldTypeDataSelectOptionsUpsertedEventDescriptor instead') +const PropertyFieldTypeDataSelectOptionsUpsertedEvent$json = { + '1': 'PropertyFieldTypeDataSelectOptionsUpsertedEvent', + '2': [ + {'1': 'upserted_select_options', '3': 1, '4': 3, '5': 11, '6': '.libs.technical_events.property_svc.v1.PropertyFieldTypeDataSelectOptionsUpsertedEvent.UpdateSelectOption', '10': 'upsertedSelectOptions'}, + ], + '3': [PropertyFieldTypeDataSelectOptionsUpsertedEvent_UpdateSelectOption$json], + '7': {}, +}; + +@$core.Deprecated('Use propertyFieldTypeDataSelectOptionsUpsertedEventDescriptor instead') +const PropertyFieldTypeDataSelectOptionsUpsertedEvent_UpdateSelectOption$json = { + '1': 'UpdateSelectOption', + '2': [ + {'1': 'id', '3': 1, '4': 1, '5': 9, '10': 'id'}, + {'1': 'name', '3': 2, '4': 1, '5': 9, '9': 0, '10': 'name', '17': true}, + {'1': 'description', '3': 3, '4': 1, '5': 9, '9': 1, '10': 'description', '17': true}, + {'1': 'is_custom', '3': 4, '4': 1, '5': 8, '9': 2, '10': 'isCustom', '17': true}, + ], + '8': [ + {'1': '_name'}, + {'1': '_description'}, + {'1': '_is_custom'}, + ], +}; + +/// Descriptor for `PropertyFieldTypeDataSelectOptionsUpsertedEvent`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List propertyFieldTypeDataSelectOptionsUpsertedEventDescriptor = $convert.base64Decode( + 'Ci9Qcm9wZXJ0eUZpZWxkVHlwZURhdGFTZWxlY3RPcHRpb25zVXBzZXJ0ZWRFdmVudBKhAQoXdX' + 'BzZXJ0ZWRfc2VsZWN0X29wdGlvbnMYASADKAsyaS5saWJzLnRlY2huaWNhbF9ldmVudHMucHJv' + 'cGVydHlfc3ZjLnYxLlByb3BlcnR5RmllbGRUeXBlRGF0YVNlbGVjdE9wdGlvbnNVcHNlcnRlZE' + 'V2ZW50LlVwZGF0ZVNlbGVjdE9wdGlvblIVdXBzZXJ0ZWRTZWxlY3RPcHRpb25zGq0BChJVcGRh' + 'dGVTZWxlY3RPcHRpb24SDgoCaWQYASABKAlSAmlkEhcKBG5hbWUYAiABKAlIAFIEbmFtZYgBAR' + 'IlCgtkZXNjcmlwdGlvbhgDIAEoCUgBUgtkZXNjcmlwdGlvbogBARIgCglpc19jdXN0b20YBCAB' + 'KAhIAlIIaXNDdXN0b22IAQFCBwoFX25hbWVCDgoMX2Rlc2NyaXB0aW9uQgwKCl9pc19jdXN0b2' + '06N9qEATNQUk9QRVJUWV9GSUVMRF9UWVBFX0RBVEFfU0VMRUNUX09QVElPTlNfVVBTRVJURURf' + 'djE='); + +@$core.Deprecated('Use propertyArchivedEventDescriptor instead') +const PropertyArchivedEvent$json = { + '1': 'PropertyArchivedEvent', + '7': {}, +}; + +/// Descriptor for `PropertyArchivedEvent`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List propertyArchivedEventDescriptor = $convert.base64Decode( + 'ChVQcm9wZXJ0eUFyY2hpdmVkRXZlbnQ6GNqEARRQUk9QRVJUWV9BUkNISVZFRF92MQ=='); + +@$core.Deprecated('Use propertyRetrievedEventDescriptor instead') +const PropertyRetrievedEvent$json = { + '1': 'PropertyRetrievedEvent', + '7': {}, +}; + +/// Descriptor for `PropertyRetrievedEvent`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List propertyRetrievedEventDescriptor = $convert.base64Decode( + 'ChZQcm9wZXJ0eVJldHJpZXZlZEV2ZW50OhnahAEVUFJPUEVSVFlfUkVUUklFVkVEX3Yx'); + +@$core.Deprecated('Use technicalEventDescriptor instead') +const TechnicalEvent$json = { + '1': 'TechnicalEvent', + '2': [ + {'1': 'property_created', '3': 1, '4': 1, '5': 11, '6': '.libs.technical_events.property_svc.v1.PropertyCreatedEvent', '9': 0, '10': 'propertyCreated'}, + {'1': 'property_description_updated', '3': 2, '4': 1, '5': 11, '6': '.libs.technical_events.property_svc.v1.PropertyDescriptionUpdatedEvent', '9': 0, '10': 'propertyDescriptionUpdated'}, + {'1': 'property_set_id_updated', '3': 3, '4': 1, '5': 11, '6': '.libs.technical_events.property_svc.v1.PropertySetIDUpdatedEvent', '9': 0, '10': 'propertySetIdUpdated'}, + {'1': 'property_subject_type_updated', '3': 4, '4': 1, '5': 11, '6': '.libs.technical_events.property_svc.v1.PropertySubjectTypeUpdatedEvent', '9': 0, '10': 'propertySubjectTypeUpdated'}, + {'1': 'property_field_type_updated', '3': 5, '4': 1, '5': 11, '6': '.libs.technical_events.property_svc.v1.PropertyFieldTypeUpdatedEvent', '9': 0, '10': 'propertyFieldTypeUpdated'}, + {'1': 'property_field_type_data_created', '3': 6, '4': 1, '5': 11, '6': '.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent', '9': 0, '10': 'propertyFieldTypeDataCreated'}, + {'1': 'property_name_updated', '3': 7, '4': 1, '5': 11, '6': '.libs.technical_events.property_svc.v1.PropertyNameUpdatedEvent', '9': 0, '10': 'propertyNameUpdated'}, + {'1': 'property_field_type_data_allow_freetext_updated', '3': 8, '4': 1, '5': 11, '6': '.libs.technical_events.property_svc.v1.PropertyFieldTypeDataAllowFreetextUpdatedEvent', '9': 0, '10': 'propertyFieldTypeDataAllowFreetextUpdated'}, + {'1': 'property_field_type_data_select_options_removed', '3': 9, '4': 1, '5': 11, '6': '.libs.technical_events.property_svc.v1.PropertyFieldTypeDataSelectOptionsRemovedEvent', '9': 0, '10': 'propertyFieldTypeDataSelectOptionsRemoved'}, + {'1': 'property_field_type_data_select_options_upserted', '3': 10, '4': 1, '5': 11, '6': '.libs.technical_events.property_svc.v1.PropertyFieldTypeDataSelectOptionsUpsertedEvent', '9': 0, '10': 'propertyFieldTypeDataSelectOptionsUpserted'}, + {'1': 'property_archived', '3': 11, '4': 1, '5': 11, '6': '.libs.technical_events.property_svc.v1.PropertyArchivedEvent', '9': 0, '10': 'propertyArchived'}, + {'1': 'property_retrieved', '3': 12, '4': 1, '5': 11, '6': '.libs.technical_events.property_svc.v1.PropertyRetrievedEvent', '9': 0, '10': 'propertyRetrieved'}, + ], + '8': [ + {'1': 'event'}, + ], }; -/// Descriptor for `UpdateNameEvent`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List updateNameEventDescriptor = $convert.base64Decode( - 'Cg9VcGRhdGVOYW1lRXZlbnQSEgoEbmFtZRgBIAEoCVIEbmFtZQ=='); +/// Descriptor for `TechnicalEvent`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List technicalEventDescriptor = $convert.base64Decode( + 'Cg5UZWNobmljYWxFdmVudBJoChBwcm9wZXJ0eV9jcmVhdGVkGAEgASgLMjsubGlicy50ZWNobm' + 'ljYWxfZXZlbnRzLnByb3BlcnR5X3N2Yy52MS5Qcm9wZXJ0eUNyZWF0ZWRFdmVudEgAUg9wcm9w' + 'ZXJ0eUNyZWF0ZWQSigEKHHByb3BlcnR5X2Rlc2NyaXB0aW9uX3VwZGF0ZWQYAiABKAsyRi5saW' + 'JzLnRlY2huaWNhbF9ldmVudHMucHJvcGVydHlfc3ZjLnYxLlByb3BlcnR5RGVzY3JpcHRpb25V' + 'cGRhdGVkRXZlbnRIAFIacHJvcGVydHlEZXNjcmlwdGlvblVwZGF0ZWQSeQoXcHJvcGVydHlfc2' + 'V0X2lkX3VwZGF0ZWQYAyABKAsyQC5saWJzLnRlY2huaWNhbF9ldmVudHMucHJvcGVydHlfc3Zj' + 'LnYxLlByb3BlcnR5U2V0SURVcGRhdGVkRXZlbnRIAFIUcHJvcGVydHlTZXRJZFVwZGF0ZWQSiw' + 'EKHXByb3BlcnR5X3N1YmplY3RfdHlwZV91cGRhdGVkGAQgASgLMkYubGlicy50ZWNobmljYWxf' + 'ZXZlbnRzLnByb3BlcnR5X3N2Yy52MS5Qcm9wZXJ0eVN1YmplY3RUeXBlVXBkYXRlZEV2ZW50SA' + 'BSGnByb3BlcnR5U3ViamVjdFR5cGVVcGRhdGVkEoUBChtwcm9wZXJ0eV9maWVsZF90eXBlX3Vw' + 'ZGF0ZWQYBSABKAsyRC5saWJzLnRlY2huaWNhbF9ldmVudHMucHJvcGVydHlfc3ZjLnYxLlByb3' + 'BlcnR5RmllbGRUeXBlVXBkYXRlZEV2ZW50SABSGHByb3BlcnR5RmllbGRUeXBlVXBkYXRlZBKS' + 'AQogcHJvcGVydHlfZmllbGRfdHlwZV9kYXRhX2NyZWF0ZWQYBiABKAsySC5saWJzLnRlY2huaW' + 'NhbF9ldmVudHMucHJvcGVydHlfc3ZjLnYxLlByb3BlcnR5RmllbGRUeXBlRGF0YUNyZWF0ZWRF' + 'dmVudEgAUhxwcm9wZXJ0eUZpZWxkVHlwZURhdGFDcmVhdGVkEnUKFXByb3BlcnR5X25hbWVfdX' + 'BkYXRlZBgHIAEoCzI/LmxpYnMudGVjaG5pY2FsX2V2ZW50cy5wcm9wZXJ0eV9zdmMudjEuUHJv' + 'cGVydHlOYW1lVXBkYXRlZEV2ZW50SABSE3Byb3BlcnR5TmFtZVVwZGF0ZWQSuwEKL3Byb3Blcn' + 'R5X2ZpZWxkX3R5cGVfZGF0YV9hbGxvd19mcmVldGV4dF91cGRhdGVkGAggASgLMlUubGlicy50' + 'ZWNobmljYWxfZXZlbnRzLnByb3BlcnR5X3N2Yy52MS5Qcm9wZXJ0eUZpZWxkVHlwZURhdGFBbG' + 'xvd0ZyZWV0ZXh0VXBkYXRlZEV2ZW50SABSKXByb3BlcnR5RmllbGRUeXBlRGF0YUFsbG93RnJl' + 'ZXRleHRVcGRhdGVkErsBCi9wcm9wZXJ0eV9maWVsZF90eXBlX2RhdGFfc2VsZWN0X29wdGlvbn' + 'NfcmVtb3ZlZBgJIAEoCzJVLmxpYnMudGVjaG5pY2FsX2V2ZW50cy5wcm9wZXJ0eV9zdmMudjEu' + 'UHJvcGVydHlGaWVsZFR5cGVEYXRhU2VsZWN0T3B0aW9uc1JlbW92ZWRFdmVudEgAUilwcm9wZX' + 'J0eUZpZWxkVHlwZURhdGFTZWxlY3RPcHRpb25zUmVtb3ZlZBK+AQowcHJvcGVydHlfZmllbGRf' + 'dHlwZV9kYXRhX3NlbGVjdF9vcHRpb25zX3Vwc2VydGVkGAogASgLMlYubGlicy50ZWNobmljYW' + 'xfZXZlbnRzLnByb3BlcnR5X3N2Yy52MS5Qcm9wZXJ0eUZpZWxkVHlwZURhdGFTZWxlY3RPcHRp' + 'b25zVXBzZXJ0ZWRFdmVudEgAUipwcm9wZXJ0eUZpZWxkVHlwZURhdGFTZWxlY3RPcHRpb25zVX' + 'BzZXJ0ZWQSawoRcHJvcGVydHlfYXJjaGl2ZWQYCyABKAsyPC5saWJzLnRlY2huaWNhbF9ldmVu' + 'dHMucHJvcGVydHlfc3ZjLnYxLlByb3BlcnR5QXJjaGl2ZWRFdmVudEgAUhBwcm9wZXJ0eUFyY2' + 'hpdmVkEm4KEnByb3BlcnR5X3JldHJpZXZlZBgMIAEoCzI9LmxpYnMudGVjaG5pY2FsX2V2ZW50' + 'cy5wcm9wZXJ0eV9zdmMudjEuUHJvcGVydHlSZXRyaWV2ZWRFdmVudEgAUhFwcm9wZXJ0eVJldH' + 'JpZXZlZEIHCgVldmVudA=='); diff --git a/gen/dart/lib/services/property_svc/v1/property_svc.pb.dart b/gen/dart/lib/services/property_svc/v1/property_svc.pb.dart index d5dcd4983..a4836b662 100644 --- a/gen/dart/lib/services/property_svc/v1/property_svc.pb.dart +++ b/gen/dart/lib/services/property_svc/v1/property_svc.pb.dart @@ -13,8 +13,8 @@ import 'dart:core' as $core; import 'package:protobuf/protobuf.dart' as $pb; -import '../../../libs/common/v1/conflict.pb.dart' as $21; -import 'types.pbenum.dart' as $22; +import '../../../libs/common/v1/conflict.pb.dart' as $22; +import 'types.pbenum.dart' as $21; class CreatePropertyRequest_SelectData_SelectOption extends $pb.GeneratedMessage { factory CreatePropertyRequest_SelectData_SelectOption({ @@ -147,8 +147,8 @@ enum CreatePropertyRequest_FieldTypeData { /// Creates a new Property class CreatePropertyRequest extends $pb.GeneratedMessage { factory CreatePropertyRequest({ - $22.SubjectType? subjectType, - $22.FieldType? fieldType, + $21.SubjectType? subjectType, + $21.FieldType? fieldType, $core.String? name, $core.String? description, $core.String? setId, @@ -185,8 +185,8 @@ class CreatePropertyRequest extends $pb.GeneratedMessage { }; static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CreatePropertyRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.property_svc.v1'), createEmptyInstance: create) ..oo(0, [9]) - ..e<$22.SubjectType>(2, _omitFieldNames ? '' : 'subjectType', $pb.PbFieldType.OE, defaultOrMaker: $22.SubjectType.SUBJECT_TYPE_UNSPECIFIED, valueOf: $22.SubjectType.valueOf, enumValues: $22.SubjectType.values) - ..e<$22.FieldType>(3, _omitFieldNames ? '' : 'fieldType', $pb.PbFieldType.OE, defaultOrMaker: $22.FieldType.FIELD_TYPE_UNSPECIFIED, valueOf: $22.FieldType.valueOf, enumValues: $22.FieldType.values) + ..e<$21.SubjectType>(2, _omitFieldNames ? '' : 'subjectType', $pb.PbFieldType.OE, defaultOrMaker: $21.SubjectType.SUBJECT_TYPE_UNSPECIFIED, valueOf: $21.SubjectType.valueOf, enumValues: $21.SubjectType.values) + ..e<$21.FieldType>(3, _omitFieldNames ? '' : 'fieldType', $pb.PbFieldType.OE, defaultOrMaker: $21.FieldType.FIELD_TYPE_UNSPECIFIED, valueOf: $21.FieldType.valueOf, enumValues: $21.FieldType.values) ..aOS(4, _omitFieldNames ? '' : 'name') ..aOS(5, _omitFieldNames ? '' : 'description') ..aOS(6, _omitFieldNames ? '' : 'setId') @@ -219,18 +219,18 @@ class CreatePropertyRequest extends $pb.GeneratedMessage { void clearFieldTypeData() => clearField($_whichOneof(0)); @$pb.TagNumber(2) - $22.SubjectType get subjectType => $_getN(0); + $21.SubjectType get subjectType => $_getN(0); @$pb.TagNumber(2) - set subjectType($22.SubjectType v) { setField(2, v); } + set subjectType($21.SubjectType v) { setField(2, v); } @$pb.TagNumber(2) $core.bool hasSubjectType() => $_has(0); @$pb.TagNumber(2) void clearSubjectType() => clearField(2); @$pb.TagNumber(3) - $22.FieldType get fieldType => $_getN(1); + $21.FieldType get fieldType => $_getN(1); @$pb.TagNumber(3) - set fieldType($22.FieldType v) { setField(3, v); } + set fieldType($21.FieldType v) { setField(3, v); } @$pb.TagNumber(3) $core.bool hasFieldType() => $_has(1); @$pb.TagNumber(3) @@ -659,8 +659,8 @@ enum GetPropertyResponse_FieldTypeData { class GetPropertyResponse extends $pb.GeneratedMessage { factory GetPropertyResponse({ $core.String? id, - $22.SubjectType? subjectType, - $22.FieldType? fieldType, + $21.SubjectType? subjectType, + $21.FieldType? fieldType, $core.String? name, $core.String? description, $core.bool? isArchived, @@ -713,8 +713,8 @@ class GetPropertyResponse extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPropertyResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.property_svc.v1'), createEmptyInstance: create) ..oo(0, [10]) ..aOS(1, _omitFieldNames ? '' : 'id') - ..e<$22.SubjectType>(2, _omitFieldNames ? '' : 'subjectType', $pb.PbFieldType.OE, defaultOrMaker: $22.SubjectType.SUBJECT_TYPE_UNSPECIFIED, valueOf: $22.SubjectType.valueOf, enumValues: $22.SubjectType.values) - ..e<$22.FieldType>(3, _omitFieldNames ? '' : 'fieldType', $pb.PbFieldType.OE, defaultOrMaker: $22.FieldType.FIELD_TYPE_UNSPECIFIED, valueOf: $22.FieldType.valueOf, enumValues: $22.FieldType.values) + ..e<$21.SubjectType>(2, _omitFieldNames ? '' : 'subjectType', $pb.PbFieldType.OE, defaultOrMaker: $21.SubjectType.SUBJECT_TYPE_UNSPECIFIED, valueOf: $21.SubjectType.valueOf, enumValues: $21.SubjectType.values) + ..e<$21.FieldType>(3, _omitFieldNames ? '' : 'fieldType', $pb.PbFieldType.OE, defaultOrMaker: $21.FieldType.FIELD_TYPE_UNSPECIFIED, valueOf: $21.FieldType.valueOf, enumValues: $21.FieldType.values) ..aOS(4, _omitFieldNames ? '' : 'name') ..aOS(5, _omitFieldNames ? '' : 'description') ..aOB(6, _omitFieldNames ? '' : 'isArchived') @@ -759,18 +759,18 @@ class GetPropertyResponse extends $pb.GeneratedMessage { void clearId() => clearField(1); @$pb.TagNumber(2) - $22.SubjectType get subjectType => $_getN(1); + $21.SubjectType get subjectType => $_getN(1); @$pb.TagNumber(2) - set subjectType($22.SubjectType v) { setField(2, v); } + set subjectType($21.SubjectType v) { setField(2, v); } @$pb.TagNumber(2) $core.bool hasSubjectType() => $_has(1); @$pb.TagNumber(2) void clearSubjectType() => clearField(2); @$pb.TagNumber(3) - $22.FieldType get fieldType => $_getN(2); + $21.FieldType get fieldType => $_getN(2); @$pb.TagNumber(3) - set fieldType($22.FieldType v) { setField(3, v); } + set fieldType($21.FieldType v) { setField(3, v); } @$pb.TagNumber(3) $core.bool hasFieldType() => $_has(2); @$pb.TagNumber(3) @@ -1009,7 +1009,7 @@ enum UpdatePropertyRequest_FieldTypeData { class UpdatePropertyRequest extends $pb.GeneratedMessage { factory UpdatePropertyRequest({ $core.String? id, - $22.SubjectType? subjectType, + $21.SubjectType? subjectType, $core.String? name, $core.String? description, $core.bool? isArchived, @@ -1055,7 +1055,7 @@ class UpdatePropertyRequest extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdatePropertyRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.property_svc.v1'), createEmptyInstance: create) ..oo(0, [10]) ..aOS(1, _omitFieldNames ? '' : 'id') - ..e<$22.SubjectType>(2, _omitFieldNames ? '' : 'subjectType', $pb.PbFieldType.OE, defaultOrMaker: $22.SubjectType.SUBJECT_TYPE_UNSPECIFIED, valueOf: $22.SubjectType.valueOf, enumValues: $22.SubjectType.values) + ..e<$21.SubjectType>(2, _omitFieldNames ? '' : 'subjectType', $pb.PbFieldType.OE, defaultOrMaker: $21.SubjectType.SUBJECT_TYPE_UNSPECIFIED, valueOf: $21.SubjectType.valueOf, enumValues: $21.SubjectType.values) ..aOS(4, _omitFieldNames ? '' : 'name') ..aOS(5, _omitFieldNames ? '' : 'description') ..aOB(6, _omitFieldNames ? '' : 'isArchived') @@ -1099,9 +1099,9 @@ class UpdatePropertyRequest extends $pb.GeneratedMessage { void clearId() => clearField(1); @$pb.TagNumber(2) - $22.SubjectType get subjectType => $_getN(1); + $21.SubjectType get subjectType => $_getN(1); @$pb.TagNumber(2) - set subjectType($22.SubjectType v) { setField(2, v); } + set subjectType($21.SubjectType v) { setField(2, v); } @$pb.TagNumber(2) $core.bool hasSubjectType() => $_has(1); @$pb.TagNumber(2) @@ -1167,7 +1167,7 @@ class UpdatePropertyRequest extends $pb.GeneratedMessage { class UpdatePropertyResponse extends $pb.GeneratedMessage { factory UpdatePropertyResponse({ - $21.Conflict? conflict, + $22.Conflict? conflict, $core.String? consistency, }) { final $result = create(); @@ -1184,7 +1184,7 @@ class UpdatePropertyResponse extends $pb.GeneratedMessage { factory UpdatePropertyResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdatePropertyResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.property_svc.v1'), createEmptyInstance: create) - ..aOM<$21.Conflict>(1, _omitFieldNames ? '' : 'conflict', subBuilder: $21.Conflict.create) + ..aOM<$22.Conflict>(1, _omitFieldNames ? '' : 'conflict', subBuilder: $22.Conflict.create) ..aOS(2, _omitFieldNames ? '' : 'consistency') ..hasRequiredFields = false ; @@ -1211,15 +1211,15 @@ class UpdatePropertyResponse extends $pb.GeneratedMessage { static UpdatePropertyResponse? _defaultInstance; @$pb.TagNumber(1) - $21.Conflict get conflict => $_getN(0); + $22.Conflict get conflict => $_getN(0); @$pb.TagNumber(1) - set conflict($21.Conflict v) { setField(1, v); } + set conflict($22.Conflict v) { setField(1, v); } @$pb.TagNumber(1) $core.bool hasConflict() => $_has(0); @$pb.TagNumber(1) void clearConflict() => clearField(1); @$pb.TagNumber(1) - $21.Conflict ensureConflict() => $_ensure(0); + $22.Conflict ensureConflict() => $_ensure(0); @$pb.TagNumber(2) $core.String get consistency => $_getSZ(1); @@ -1233,7 +1233,7 @@ class UpdatePropertyResponse extends $pb.GeneratedMessage { class GetPropertiesRequest extends $pb.GeneratedMessage { factory GetPropertiesRequest({ - $22.SubjectType? subjectType, + $21.SubjectType? subjectType, }) { final $result = create(); if (subjectType != null) { @@ -1246,7 +1246,7 @@ class GetPropertiesRequest extends $pb.GeneratedMessage { factory GetPropertiesRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPropertiesRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.property_svc.v1'), createEmptyInstance: create) - ..e<$22.SubjectType>(1, _omitFieldNames ? '' : 'subjectType', $pb.PbFieldType.OE, defaultOrMaker: $22.SubjectType.SUBJECT_TYPE_UNSPECIFIED, valueOf: $22.SubjectType.valueOf, enumValues: $22.SubjectType.values) + ..e<$21.SubjectType>(1, _omitFieldNames ? '' : 'subjectType', $pb.PbFieldType.OE, defaultOrMaker: $21.SubjectType.SUBJECT_TYPE_UNSPECIFIED, valueOf: $21.SubjectType.valueOf, enumValues: $21.SubjectType.values) ..hasRequiredFields = false ; @@ -1272,9 +1272,9 @@ class GetPropertiesRequest extends $pb.GeneratedMessage { static GetPropertiesRequest? _defaultInstance; @$pb.TagNumber(1) - $22.SubjectType get subjectType => $_getN(0); + $21.SubjectType get subjectType => $_getN(0); @$pb.TagNumber(1) - set subjectType($22.SubjectType v) { setField(1, v); } + set subjectType($21.SubjectType v) { setField(1, v); } @$pb.TagNumber(1) $core.bool hasSubjectType() => $_has(0); @$pb.TagNumber(1) @@ -1439,8 +1439,8 @@ enum GetPropertiesResponse_Property_FieldTypeData { class GetPropertiesResponse_Property extends $pb.GeneratedMessage { factory GetPropertiesResponse_Property({ $core.String? id, - $22.SubjectType? subjectType, - $22.FieldType? fieldType, + $21.SubjectType? subjectType, + $21.FieldType? fieldType, $core.String? name, $core.String? description, $core.bool? isArchived, @@ -1489,8 +1489,8 @@ class GetPropertiesResponse_Property extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPropertiesResponse.Property', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.property_svc.v1'), createEmptyInstance: create) ..oo(0, [10]) ..aOS(1, _omitFieldNames ? '' : 'id') - ..e<$22.SubjectType>(2, _omitFieldNames ? '' : 'subjectType', $pb.PbFieldType.OE, defaultOrMaker: $22.SubjectType.SUBJECT_TYPE_UNSPECIFIED, valueOf: $22.SubjectType.valueOf, enumValues: $22.SubjectType.values) - ..e<$22.FieldType>(3, _omitFieldNames ? '' : 'fieldType', $pb.PbFieldType.OE, defaultOrMaker: $22.FieldType.FIELD_TYPE_UNSPECIFIED, valueOf: $22.FieldType.valueOf, enumValues: $22.FieldType.values) + ..e<$21.SubjectType>(2, _omitFieldNames ? '' : 'subjectType', $pb.PbFieldType.OE, defaultOrMaker: $21.SubjectType.SUBJECT_TYPE_UNSPECIFIED, valueOf: $21.SubjectType.valueOf, enumValues: $21.SubjectType.values) + ..e<$21.FieldType>(3, _omitFieldNames ? '' : 'fieldType', $pb.PbFieldType.OE, defaultOrMaker: $21.FieldType.FIELD_TYPE_UNSPECIFIED, valueOf: $21.FieldType.valueOf, enumValues: $21.FieldType.values) ..aOS(4, _omitFieldNames ? '' : 'name') ..aOS(5, _omitFieldNames ? '' : 'description') ..aOB(6, _omitFieldNames ? '' : 'isArchived') @@ -1534,18 +1534,18 @@ class GetPropertiesResponse_Property extends $pb.GeneratedMessage { void clearId() => clearField(1); @$pb.TagNumber(2) - $22.SubjectType get subjectType => $_getN(1); + $21.SubjectType get subjectType => $_getN(1); @$pb.TagNumber(2) - set subjectType($22.SubjectType v) { setField(2, v); } + set subjectType($21.SubjectType v) { setField(2, v); } @$pb.TagNumber(2) $core.bool hasSubjectType() => $_has(1); @$pb.TagNumber(2) void clearSubjectType() => clearField(2); @$pb.TagNumber(3) - $22.FieldType get fieldType => $_getN(2); + $21.FieldType get fieldType => $_getN(2); @$pb.TagNumber(3) - set fieldType($22.FieldType v) { setField(3, v); } + set fieldType($21.FieldType v) { setField(3, v); } @$pb.TagNumber(3) $core.bool hasFieldType() => $_has(2); @$pb.TagNumber(3) diff --git a/gen/dart/lib/services/property_svc/v1/property_value_svc.pb.dart b/gen/dart/lib/services/property_svc/v1/property_value_svc.pb.dart index f993fdce7..4f6a08b8e 100644 --- a/gen/dart/lib/services/property_svc/v1/property_value_svc.pb.dart +++ b/gen/dart/lib/services/property_svc/v1/property_value_svc.pb.dart @@ -14,9 +14,9 @@ import 'dart:core' as $core; import 'package:protobuf/protobuf.dart' as $pb; import '../../../google/protobuf/timestamp.pb.dart' as $20; -import '../../../libs/common/v1/conflict.pb.dart' as $21; -import 'types.pb.dart' as $22; -import 'types.pbenum.dart' as $22; +import '../../../libs/common/v1/conflict.pb.dart' as $22; +import 'types.pb.dart' as $21; +import 'types.pbenum.dart' as $21; class AttachPropertyValueRequest_MultiSelectValue extends $pb.GeneratedMessage { factory AttachPropertyValueRequest_MultiSelectValue({ @@ -90,7 +90,7 @@ class AttachPropertyValueRequest extends $pb.GeneratedMessage { $core.String? textValue, $core.double? numberValue, $core.bool? boolValue, - $22.Date? dateValue, + $21.Date? dateValue, $20.Timestamp? dateTimeValue, $core.String? selectValue, AttachPropertyValueRequest_MultiSelectValue? multiSelectValue, @@ -150,7 +150,7 @@ class AttachPropertyValueRequest extends $pb.GeneratedMessage { ..aOS(3, _omitFieldNames ? '' : 'textValue') ..a<$core.double>(4, _omitFieldNames ? '' : 'numberValue', $pb.PbFieldType.OD) ..aOB(5, _omitFieldNames ? '' : 'boolValue') - ..aOM<$22.Date>(6, _omitFieldNames ? '' : 'dateValue', subBuilder: $22.Date.create) + ..aOM<$21.Date>(6, _omitFieldNames ? '' : 'dateValue', subBuilder: $21.Date.create) ..aOM<$20.Timestamp>(7, _omitFieldNames ? '' : 'dateTimeValue', subBuilder: $20.Timestamp.create) ..aOS(8, _omitFieldNames ? '' : 'selectValue') ..aOM(9, _omitFieldNames ? '' : 'multiSelectValue', subBuilder: AttachPropertyValueRequest_MultiSelectValue.create) @@ -228,15 +228,15 @@ class AttachPropertyValueRequest extends $pb.GeneratedMessage { void clearBoolValue() => clearField(5); @$pb.TagNumber(6) - $22.Date get dateValue => $_getN(5); + $21.Date get dateValue => $_getN(5); @$pb.TagNumber(6) - set dateValue($22.Date v) { setField(6, v); } + set dateValue($21.Date v) { setField(6, v); } @$pb.TagNumber(6) $core.bool hasDateValue() => $_has(5); @$pb.TagNumber(6) void clearDateValue() => clearField(6); @$pb.TagNumber(6) - $22.Date ensureDateValue() => $_ensure(5); + $21.Date ensureDateValue() => $_ensure(5); @$pb.TagNumber(7) $20.Timestamp get dateTimeValue => $_getN(6); @@ -283,7 +283,7 @@ class AttachPropertyValueRequest extends $pb.GeneratedMessage { class AttachPropertyValueResponse extends $pb.GeneratedMessage { factory AttachPropertyValueResponse({ $core.String? propertyValueId, - $21.Conflict? conflict, + $22.Conflict? conflict, $core.String? consistency, }) { final $result = create(); @@ -304,7 +304,7 @@ class AttachPropertyValueResponse extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AttachPropertyValueResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.property_svc.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'propertyValueId') - ..aOM<$21.Conflict>(2, _omitFieldNames ? '' : 'conflict', subBuilder: $21.Conflict.create) + ..aOM<$22.Conflict>(2, _omitFieldNames ? '' : 'conflict', subBuilder: $22.Conflict.create) ..aOS(3, _omitFieldNames ? '' : 'consistency') ..hasRequiredFields = false ; @@ -340,15 +340,15 @@ class AttachPropertyValueResponse extends $pb.GeneratedMessage { void clearPropertyValueId() => clearField(1); @$pb.TagNumber(2) - $21.Conflict get conflict => $_getN(1); + $22.Conflict get conflict => $_getN(1); @$pb.TagNumber(2) - set conflict($21.Conflict v) { setField(2, v); } + set conflict($22.Conflict v) { setField(2, v); } @$pb.TagNumber(2) $core.bool hasConflict() => $_has(1); @$pb.TagNumber(2) void clearConflict() => clearField(2); @$pb.TagNumber(2) - $21.Conflict ensureConflict() => $_ensure(1); + $22.Conflict ensureConflict() => $_ensure(1); @$pb.TagNumber(3) $core.String get consistency => $_getSZ(2); @@ -707,14 +707,14 @@ enum GetAttachedPropertyValuesResponse_Value_Value { class GetAttachedPropertyValuesResponse_Value extends $pb.GeneratedMessage { factory GetAttachedPropertyValuesResponse_Value({ $core.String? propertyId, - $22.FieldType? fieldType, + $21.FieldType? fieldType, $core.String? name, $core.String? description, $core.bool? isArchived, $core.String? textValue, $core.double? numberValue, $core.bool? boolValue, - $22.Date? dateValue, + $21.Date? dateValue, $20.Timestamp? dateTimeValue, GetAttachedPropertyValuesResponse_Value_SelectValueOption? selectValue, GetAttachedPropertyValuesResponse_Value_MultiSelectValue? multiSelectValue, @@ -783,14 +783,14 @@ class GetAttachedPropertyValuesResponse_Value extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetAttachedPropertyValuesResponse.Value', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.property_svc.v1'), createEmptyInstance: create) ..oo(0, [6, 7, 8, 9, 10, 11, 12]) ..aOS(1, _omitFieldNames ? '' : 'propertyId') - ..e<$22.FieldType>(2, _omitFieldNames ? '' : 'fieldType', $pb.PbFieldType.OE, defaultOrMaker: $22.FieldType.FIELD_TYPE_UNSPECIFIED, valueOf: $22.FieldType.valueOf, enumValues: $22.FieldType.values) + ..e<$21.FieldType>(2, _omitFieldNames ? '' : 'fieldType', $pb.PbFieldType.OE, defaultOrMaker: $21.FieldType.FIELD_TYPE_UNSPECIFIED, valueOf: $21.FieldType.valueOf, enumValues: $21.FieldType.values) ..aOS(3, _omitFieldNames ? '' : 'name') ..aOS(4, _omitFieldNames ? '' : 'description') ..aOB(5, _omitFieldNames ? '' : 'isArchived') ..aOS(6, _omitFieldNames ? '' : 'textValue') ..a<$core.double>(7, _omitFieldNames ? '' : 'numberValue', $pb.PbFieldType.OD) ..aOB(8, _omitFieldNames ? '' : 'boolValue') - ..aOM<$22.Date>(9, _omitFieldNames ? '' : 'dateValue', subBuilder: $22.Date.create) + ..aOM<$21.Date>(9, _omitFieldNames ? '' : 'dateValue', subBuilder: $21.Date.create) ..aOM<$20.Timestamp>(10, _omitFieldNames ? '' : 'dateTimeValue', subBuilder: $20.Timestamp.create) ..aOM(11, _omitFieldNames ? '' : 'selectValue', subBuilder: GetAttachedPropertyValuesResponse_Value_SelectValueOption.create) ..aOM(12, _omitFieldNames ? '' : 'multiSelectValue', subBuilder: GetAttachedPropertyValuesResponse_Value_MultiSelectValue.create) @@ -833,9 +833,9 @@ class GetAttachedPropertyValuesResponse_Value extends $pb.GeneratedMessage { void clearPropertyId() => clearField(1); @$pb.TagNumber(2) - $22.FieldType get fieldType => $_getN(1); + $21.FieldType get fieldType => $_getN(1); @$pb.TagNumber(2) - set fieldType($22.FieldType v) { setField(2, v); } + set fieldType($21.FieldType v) { setField(2, v); } @$pb.TagNumber(2) $core.bool hasFieldType() => $_has(1); @$pb.TagNumber(2) @@ -896,15 +896,15 @@ class GetAttachedPropertyValuesResponse_Value extends $pb.GeneratedMessage { void clearBoolValue() => clearField(8); @$pb.TagNumber(9) - $22.Date get dateValue => $_getN(8); + $21.Date get dateValue => $_getN(8); @$pb.TagNumber(9) - set dateValue($22.Date v) { setField(9, v); } + set dateValue($21.Date v) { setField(9, v); } @$pb.TagNumber(9) $core.bool hasDateValue() => $_has(8); @$pb.TagNumber(9) void clearDateValue() => clearField(9); @$pb.TagNumber(9) - $22.Date ensureDateValue() => $_ensure(8); + $21.Date ensureDateValue() => $_ensure(8); @$pb.TagNumber(10) $20.Timestamp get dateTimeValue => $_getN(9); diff --git a/gen/dart/lib/services/tasks_svc/v1/bed_svc.pb.dart b/gen/dart/lib/services/tasks_svc/v1/bed_svc.pb.dart index 6633452a8..dcbc661ce 100644 --- a/gen/dart/lib/services/tasks_svc/v1/bed_svc.pb.dart +++ b/gen/dart/lib/services/tasks_svc/v1/bed_svc.pb.dart @@ -13,7 +13,7 @@ import 'dart:core' as $core; import 'package:protobuf/protobuf.dart' as $pb; -import '../../../libs/common/v1/conflict.pb.dart' as $21; +import '../../../libs/common/v1/conflict.pb.dart' as $22; class CreateBedRequest extends $pb.GeneratedMessage { factory CreateBedRequest({ @@ -1211,7 +1211,7 @@ class UpdateBedRequest extends $pb.GeneratedMessage { class UpdateBedResponse extends $pb.GeneratedMessage { factory UpdateBedResponse({ - $21.Conflict? conflict, + $22.Conflict? conflict, $core.String? consistency, }) { final $result = create(); @@ -1228,7 +1228,7 @@ class UpdateBedResponse extends $pb.GeneratedMessage { factory UpdateBedResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateBedResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.tasks_svc.v1'), createEmptyInstance: create) - ..aOM<$21.Conflict>(1, _omitFieldNames ? '' : 'conflict', subBuilder: $21.Conflict.create) + ..aOM<$22.Conflict>(1, _omitFieldNames ? '' : 'conflict', subBuilder: $22.Conflict.create) ..aOS(2, _omitFieldNames ? '' : 'consistency') ..hasRequiredFields = false ; @@ -1255,15 +1255,15 @@ class UpdateBedResponse extends $pb.GeneratedMessage { static UpdateBedResponse? _defaultInstance; @$pb.TagNumber(1) - $21.Conflict get conflict => $_getN(0); + $22.Conflict get conflict => $_getN(0); @$pb.TagNumber(1) - set conflict($21.Conflict v) { setField(1, v); } + set conflict($22.Conflict v) { setField(1, v); } @$pb.TagNumber(1) $core.bool hasConflict() => $_has(0); @$pb.TagNumber(1) void clearConflict() => clearField(1); @$pb.TagNumber(1) - $21.Conflict ensureConflict() => $_ensure(0); + $22.Conflict ensureConflict() => $_ensure(0); @$pb.TagNumber(2) $core.String get consistency => $_getSZ(1); diff --git a/gen/dart/lib/services/tasks_svc/v1/patient_svc.pb.dart b/gen/dart/lib/services/tasks_svc/v1/patient_svc.pb.dart index cdd28d455..5a8368cbf 100644 --- a/gen/dart/lib/services/tasks_svc/v1/patient_svc.pb.dart +++ b/gen/dart/lib/services/tasks_svc/v1/patient_svc.pb.dart @@ -13,7 +13,7 @@ import 'dart:core' as $core; import 'package:protobuf/protobuf.dart' as $pb; -import '../../../libs/common/v1/conflict.pb.dart' as $21; +import '../../../libs/common/v1/conflict.pb.dart' as $22; import 'types.pbenum.dart' as $23; class CreatePatientRequest extends $pb.GeneratedMessage { @@ -2892,7 +2892,7 @@ class UpdatePatientRequest extends $pb.GeneratedMessage { class UpdatePatientResponse extends $pb.GeneratedMessage { factory UpdatePatientResponse({ - $21.Conflict? conflict, + $22.Conflict? conflict, $core.String? consistency, }) { final $result = create(); @@ -2909,7 +2909,7 @@ class UpdatePatientResponse extends $pb.GeneratedMessage { factory UpdatePatientResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdatePatientResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.tasks_svc.v1'), createEmptyInstance: create) - ..aOM<$21.Conflict>(1, _omitFieldNames ? '' : 'conflict', subBuilder: $21.Conflict.create) + ..aOM<$22.Conflict>(1, _omitFieldNames ? '' : 'conflict', subBuilder: $22.Conflict.create) ..aOS(2, _omitFieldNames ? '' : 'consistency') ..hasRequiredFields = false ; @@ -2936,15 +2936,15 @@ class UpdatePatientResponse extends $pb.GeneratedMessage { static UpdatePatientResponse? _defaultInstance; @$pb.TagNumber(1) - $21.Conflict get conflict => $_getN(0); + $22.Conflict get conflict => $_getN(0); @$pb.TagNumber(1) - set conflict($21.Conflict v) { setField(1, v); } + set conflict($22.Conflict v) { setField(1, v); } @$pb.TagNumber(1) $core.bool hasConflict() => $_has(0); @$pb.TagNumber(1) void clearConflict() => clearField(1); @$pb.TagNumber(1) - $21.Conflict ensureConflict() => $_ensure(0); + $22.Conflict ensureConflict() => $_ensure(0); @$pb.TagNumber(2) $core.String get consistency => $_getSZ(1); @@ -3036,7 +3036,7 @@ class AssignBedRequest extends $pb.GeneratedMessage { class AssignBedResponse extends $pb.GeneratedMessage { factory AssignBedResponse({ - $21.Conflict? conflict, + $22.Conflict? conflict, $core.String? consistency, }) { final $result = create(); @@ -3053,7 +3053,7 @@ class AssignBedResponse extends $pb.GeneratedMessage { factory AssignBedResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AssignBedResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.tasks_svc.v1'), createEmptyInstance: create) - ..aOM<$21.Conflict>(1, _omitFieldNames ? '' : 'conflict', subBuilder: $21.Conflict.create) + ..aOM<$22.Conflict>(1, _omitFieldNames ? '' : 'conflict', subBuilder: $22.Conflict.create) ..aOS(2, _omitFieldNames ? '' : 'consistency') ..hasRequiredFields = false ; @@ -3080,15 +3080,15 @@ class AssignBedResponse extends $pb.GeneratedMessage { static AssignBedResponse? _defaultInstance; @$pb.TagNumber(1) - $21.Conflict get conflict => $_getN(0); + $22.Conflict get conflict => $_getN(0); @$pb.TagNumber(1) - set conflict($21.Conflict v) { setField(1, v); } + set conflict($22.Conflict v) { setField(1, v); } @$pb.TagNumber(1) $core.bool hasConflict() => $_has(0); @$pb.TagNumber(1) void clearConflict() => clearField(1); @$pb.TagNumber(1) - $21.Conflict ensureConflict() => $_ensure(0); + $22.Conflict ensureConflict() => $_ensure(0); @$pb.TagNumber(2) $core.String get consistency => $_getSZ(1); @@ -3166,7 +3166,7 @@ class UnassignBedRequest extends $pb.GeneratedMessage { class UnassignBedResponse extends $pb.GeneratedMessage { factory UnassignBedResponse({ - $21.Conflict? conflict, + $22.Conflict? conflict, $core.String? consistency, }) { final $result = create(); @@ -3183,7 +3183,7 @@ class UnassignBedResponse extends $pb.GeneratedMessage { factory UnassignBedResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UnassignBedResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.tasks_svc.v1'), createEmptyInstance: create) - ..aOM<$21.Conflict>(1, _omitFieldNames ? '' : 'conflict', subBuilder: $21.Conflict.create) + ..aOM<$22.Conflict>(1, _omitFieldNames ? '' : 'conflict', subBuilder: $22.Conflict.create) ..aOS(2, _omitFieldNames ? '' : 'consistency') ..hasRequiredFields = false ; @@ -3210,15 +3210,15 @@ class UnassignBedResponse extends $pb.GeneratedMessage { static UnassignBedResponse? _defaultInstance; @$pb.TagNumber(1) - $21.Conflict get conflict => $_getN(0); + $22.Conflict get conflict => $_getN(0); @$pb.TagNumber(1) - set conflict($21.Conflict v) { setField(1, v); } + set conflict($22.Conflict v) { setField(1, v); } @$pb.TagNumber(1) $core.bool hasConflict() => $_has(0); @$pb.TagNumber(1) void clearConflict() => clearField(1); @$pb.TagNumber(1) - $21.Conflict ensureConflict() => $_ensure(0); + $22.Conflict ensureConflict() => $_ensure(0); @$pb.TagNumber(2) $core.String get consistency => $_getSZ(1); diff --git a/gen/dart/lib/services/tasks_svc/v1/room_svc.pb.dart b/gen/dart/lib/services/tasks_svc/v1/room_svc.pb.dart index 08c9a2c60..5d4cdc654 100644 --- a/gen/dart/lib/services/tasks_svc/v1/room_svc.pb.dart +++ b/gen/dart/lib/services/tasks_svc/v1/room_svc.pb.dart @@ -13,7 +13,7 @@ import 'dart:core' as $core; import 'package:protobuf/protobuf.dart' as $pb; -import '../../../libs/common/v1/conflict.pb.dart' as $21; +import '../../../libs/common/v1/conflict.pb.dart' as $22; class CreateRoomRequest extends $pb.GeneratedMessage { factory CreateRoomRequest({ @@ -723,7 +723,7 @@ class UpdateRoomRequest extends $pb.GeneratedMessage { class UpdateRoomResponse extends $pb.GeneratedMessage { factory UpdateRoomResponse({ - $21.Conflict? conflict, + $22.Conflict? conflict, $core.String? consistency, }) { final $result = create(); @@ -740,7 +740,7 @@ class UpdateRoomResponse extends $pb.GeneratedMessage { factory UpdateRoomResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateRoomResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.tasks_svc.v1'), createEmptyInstance: create) - ..aOM<$21.Conflict>(1, _omitFieldNames ? '' : 'conflict', subBuilder: $21.Conflict.create) + ..aOM<$22.Conflict>(1, _omitFieldNames ? '' : 'conflict', subBuilder: $22.Conflict.create) ..aOS(2, _omitFieldNames ? '' : 'consistency') ..hasRequiredFields = false ; @@ -767,15 +767,15 @@ class UpdateRoomResponse extends $pb.GeneratedMessage { static UpdateRoomResponse? _defaultInstance; @$pb.TagNumber(1) - $21.Conflict get conflict => $_getN(0); + $22.Conflict get conflict => $_getN(0); @$pb.TagNumber(1) - set conflict($21.Conflict v) { setField(1, v); } + set conflict($22.Conflict v) { setField(1, v); } @$pb.TagNumber(1) $core.bool hasConflict() => $_has(0); @$pb.TagNumber(1) void clearConflict() => clearField(1); @$pb.TagNumber(1) - $21.Conflict ensureConflict() => $_ensure(0); + $22.Conflict ensureConflict() => $_ensure(0); @$pb.TagNumber(2) $core.String get consistency => $_getSZ(1); diff --git a/gen/dart/lib/services/tasks_svc/v1/task_svc.pb.dart b/gen/dart/lib/services/tasks_svc/v1/task_svc.pb.dart index 3bea64892..d4a627529 100644 --- a/gen/dart/lib/services/tasks_svc/v1/task_svc.pb.dart +++ b/gen/dart/lib/services/tasks_svc/v1/task_svc.pb.dart @@ -14,7 +14,7 @@ import 'dart:core' as $core; import 'package:protobuf/protobuf.dart' as $pb; import '../../../google/protobuf/timestamp.pb.dart' as $20; -import '../../../libs/common/v1/conflict.pb.dart' as $21; +import '../../../libs/common/v1/conflict.pb.dart' as $22; import 'types.pbenum.dart' as $23; class CreateTaskRequest_SubTask extends $pb.GeneratedMessage { @@ -427,7 +427,7 @@ class UpdateTaskRequest extends $pb.GeneratedMessage { class UpdateTaskResponse extends $pb.GeneratedMessage { factory UpdateTaskResponse({ - $21.Conflict? conflict, + $22.Conflict? conflict, $core.String? consistency, }) { final $result = create(); @@ -444,7 +444,7 @@ class UpdateTaskResponse extends $pb.GeneratedMessage { factory UpdateTaskResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateTaskResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.tasks_svc.v1'), createEmptyInstance: create) - ..aOM<$21.Conflict>(1, _omitFieldNames ? '' : 'conflict', subBuilder: $21.Conflict.create) + ..aOM<$22.Conflict>(1, _omitFieldNames ? '' : 'conflict', subBuilder: $22.Conflict.create) ..aOS(2, _omitFieldNames ? '' : 'consistency') ..hasRequiredFields = false ; @@ -471,15 +471,15 @@ class UpdateTaskResponse extends $pb.GeneratedMessage { static UpdateTaskResponse? _defaultInstance; @$pb.TagNumber(1) - $21.Conflict get conflict => $_getN(0); + $22.Conflict get conflict => $_getN(0); @$pb.TagNumber(1) - set conflict($21.Conflict v) { setField(1, v); } + set conflict($22.Conflict v) { setField(1, v); } @$pb.TagNumber(1) $core.bool hasConflict() => $_has(0); @$pb.TagNumber(1) void clearConflict() => clearField(1); @$pb.TagNumber(1) - $21.Conflict ensureConflict() => $_ensure(0); + $22.Conflict ensureConflict() => $_ensure(0); @$pb.TagNumber(2) $core.String get consistency => $_getSZ(1); @@ -2223,7 +2223,7 @@ class AssignTaskRequest extends $pb.GeneratedMessage { class AssignTaskResponse extends $pb.GeneratedMessage { factory AssignTaskResponse({ - $21.Conflict? conflict, + $22.Conflict? conflict, $core.String? consistency, }) { final $result = create(); @@ -2240,7 +2240,7 @@ class AssignTaskResponse extends $pb.GeneratedMessage { factory AssignTaskResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AssignTaskResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.tasks_svc.v1'), createEmptyInstance: create) - ..aOM<$21.Conflict>(1, _omitFieldNames ? '' : 'conflict', subBuilder: $21.Conflict.create) + ..aOM<$22.Conflict>(1, _omitFieldNames ? '' : 'conflict', subBuilder: $22.Conflict.create) ..aOS(2, _omitFieldNames ? '' : 'consistency') ..hasRequiredFields = false ; @@ -2267,15 +2267,15 @@ class AssignTaskResponse extends $pb.GeneratedMessage { static AssignTaskResponse? _defaultInstance; @$pb.TagNumber(1) - $21.Conflict get conflict => $_getN(0); + $22.Conflict get conflict => $_getN(0); @$pb.TagNumber(1) - set conflict($21.Conflict v) { setField(1, v); } + set conflict($22.Conflict v) { setField(1, v); } @$pb.TagNumber(1) $core.bool hasConflict() => $_has(0); @$pb.TagNumber(1) void clearConflict() => clearField(1); @$pb.TagNumber(1) - $21.Conflict ensureConflict() => $_ensure(0); + $22.Conflict ensureConflict() => $_ensure(0); @$pb.TagNumber(2) $core.String get consistency => $_getSZ(1); @@ -2367,7 +2367,7 @@ class UnassignTaskRequest extends $pb.GeneratedMessage { class UnassignTaskResponse extends $pb.GeneratedMessage { factory UnassignTaskResponse({ - $21.Conflict? conflict, + $22.Conflict? conflict, $core.String? consistency, }) { final $result = create(); @@ -2384,7 +2384,7 @@ class UnassignTaskResponse extends $pb.GeneratedMessage { factory UnassignTaskResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UnassignTaskResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.tasks_svc.v1'), createEmptyInstance: create) - ..aOM<$21.Conflict>(1, _omitFieldNames ? '' : 'conflict', subBuilder: $21.Conflict.create) + ..aOM<$22.Conflict>(1, _omitFieldNames ? '' : 'conflict', subBuilder: $22.Conflict.create) ..aOS(2, _omitFieldNames ? '' : 'consistency') ..hasRequiredFields = false ; @@ -2411,15 +2411,15 @@ class UnassignTaskResponse extends $pb.GeneratedMessage { static UnassignTaskResponse? _defaultInstance; @$pb.TagNumber(1) - $21.Conflict get conflict => $_getN(0); + $22.Conflict get conflict => $_getN(0); @$pb.TagNumber(1) - set conflict($21.Conflict v) { setField(1, v); } + set conflict($22.Conflict v) { setField(1, v); } @$pb.TagNumber(1) $core.bool hasConflict() => $_has(0); @$pb.TagNumber(1) void clearConflict() => clearField(1); @$pb.TagNumber(1) - $21.Conflict ensureConflict() => $_ensure(0); + $22.Conflict ensureConflict() => $_ensure(0); @$pb.TagNumber(2) $core.String get consistency => $_getSZ(1); @@ -2785,7 +2785,7 @@ class UpdateSubtaskRequest extends $pb.GeneratedMessage { class UpdateSubtaskResponse extends $pb.GeneratedMessage { factory UpdateSubtaskResponse({ - $21.Conflict? conflict, + $22.Conflict? conflict, $core.String? taskConsistency, }) { final $result = create(); @@ -2802,7 +2802,7 @@ class UpdateSubtaskResponse extends $pb.GeneratedMessage { factory UpdateSubtaskResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateSubtaskResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.tasks_svc.v1'), createEmptyInstance: create) - ..aOM<$21.Conflict>(1, _omitFieldNames ? '' : 'conflict', subBuilder: $21.Conflict.create) + ..aOM<$22.Conflict>(1, _omitFieldNames ? '' : 'conflict', subBuilder: $22.Conflict.create) ..aOS(2, _omitFieldNames ? '' : 'taskConsistency') ..hasRequiredFields = false ; @@ -2829,15 +2829,15 @@ class UpdateSubtaskResponse extends $pb.GeneratedMessage { static UpdateSubtaskResponse? _defaultInstance; @$pb.TagNumber(1) - $21.Conflict get conflict => $_getN(0); + $22.Conflict get conflict => $_getN(0); @$pb.TagNumber(1) - set conflict($21.Conflict v) { setField(1, v); } + set conflict($22.Conflict v) { setField(1, v); } @$pb.TagNumber(1) $core.bool hasConflict() => $_has(0); @$pb.TagNumber(1) void clearConflict() => clearField(1); @$pb.TagNumber(1) - $21.Conflict ensureConflict() => $_ensure(0); + $22.Conflict ensureConflict() => $_ensure(0); @$pb.TagNumber(2) $core.String get taskConsistency => $_getSZ(1); diff --git a/gen/dart/lib/services/tasks_svc/v1/task_template_svc.pb.dart b/gen/dart/lib/services/tasks_svc/v1/task_template_svc.pb.dart index 34ec1db8c..3f17b1d89 100644 --- a/gen/dart/lib/services/tasks_svc/v1/task_template_svc.pb.dart +++ b/gen/dart/lib/services/tasks_svc/v1/task_template_svc.pb.dart @@ -13,7 +13,7 @@ import 'dart:core' as $core; import 'package:protobuf/protobuf.dart' as $pb; -import '../../../libs/common/v1/conflict.pb.dart' as $21; +import '../../../libs/common/v1/conflict.pb.dart' as $22; class CreateTaskTemplateRequest_SubTask extends $pb.GeneratedMessage { factory CreateTaskTemplateRequest_SubTask({ @@ -491,7 +491,7 @@ class UpdateTaskTemplateRequest extends $pb.GeneratedMessage { class UpdateTaskTemplateResponse extends $pb.GeneratedMessage { factory UpdateTaskTemplateResponse({ - $21.Conflict? conflict, + $22.Conflict? conflict, $core.String? consistency, }) { final $result = create(); @@ -508,7 +508,7 @@ class UpdateTaskTemplateResponse extends $pb.GeneratedMessage { factory UpdateTaskTemplateResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateTaskTemplateResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.tasks_svc.v1'), createEmptyInstance: create) - ..aOM<$21.Conflict>(1, _omitFieldNames ? '' : 'conflict', subBuilder: $21.Conflict.create) + ..aOM<$22.Conflict>(1, _omitFieldNames ? '' : 'conflict', subBuilder: $22.Conflict.create) ..aOS(2, _omitFieldNames ? '' : 'consistency') ..hasRequiredFields = false ; @@ -535,15 +535,15 @@ class UpdateTaskTemplateResponse extends $pb.GeneratedMessage { static UpdateTaskTemplateResponse? _defaultInstance; @$pb.TagNumber(1) - $21.Conflict get conflict => $_getN(0); + $22.Conflict get conflict => $_getN(0); @$pb.TagNumber(1) - set conflict($21.Conflict v) { setField(1, v); } + set conflict($22.Conflict v) { setField(1, v); } @$pb.TagNumber(1) $core.bool hasConflict() => $_has(0); @$pb.TagNumber(1) void clearConflict() => clearField(1); @$pb.TagNumber(1) - $21.Conflict ensureConflict() => $_ensure(0); + $22.Conflict ensureConflict() => $_ensure(0); @$pb.TagNumber(2) $core.String get consistency => $_getSZ(1); @@ -635,7 +635,7 @@ class UpdateTaskTemplateSubTaskRequest extends $pb.GeneratedMessage { class UpdateTaskTemplateSubTaskResponse extends $pb.GeneratedMessage { factory UpdateTaskTemplateSubTaskResponse({ - $21.Conflict? conflict, + $22.Conflict? conflict, $core.String? taskTemplateConsistency, }) { final $result = create(); @@ -652,7 +652,7 @@ class UpdateTaskTemplateSubTaskResponse extends $pb.GeneratedMessage { factory UpdateTaskTemplateSubTaskResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateTaskTemplateSubTaskResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.tasks_svc.v1'), createEmptyInstance: create) - ..aOM<$21.Conflict>(1, _omitFieldNames ? '' : 'conflict', subBuilder: $21.Conflict.create) + ..aOM<$22.Conflict>(1, _omitFieldNames ? '' : 'conflict', subBuilder: $22.Conflict.create) ..aOS(2, _omitFieldNames ? '' : 'taskTemplateConsistency') ..hasRequiredFields = false ; @@ -679,15 +679,15 @@ class UpdateTaskTemplateSubTaskResponse extends $pb.GeneratedMessage { static UpdateTaskTemplateSubTaskResponse? _defaultInstance; @$pb.TagNumber(1) - $21.Conflict get conflict => $_getN(0); + $22.Conflict get conflict => $_getN(0); @$pb.TagNumber(1) - set conflict($21.Conflict v) { setField(1, v); } + set conflict($22.Conflict v) { setField(1, v); } @$pb.TagNumber(1) $core.bool hasConflict() => $_has(0); @$pb.TagNumber(1) void clearConflict() => clearField(1); @$pb.TagNumber(1) - $21.Conflict ensureConflict() => $_ensure(0); + $22.Conflict ensureConflict() => $_ensure(0); @$pb.TagNumber(2) $core.String get taskTemplateConsistency => $_getSZ(1); diff --git a/gen/dart/lib/services/tasks_svc/v1/ward_svc.pb.dart b/gen/dart/lib/services/tasks_svc/v1/ward_svc.pb.dart index 702392cfc..1be99a97a 100644 --- a/gen/dart/lib/services/tasks_svc/v1/ward_svc.pb.dart +++ b/gen/dart/lib/services/tasks_svc/v1/ward_svc.pb.dart @@ -13,7 +13,7 @@ import 'dart:core' as $core; import 'package:protobuf/protobuf.dart' as $pb; -import '../../../libs/common/v1/conflict.pb.dart' as $21; +import '../../../libs/common/v1/conflict.pb.dart' as $22; class CreateWardRequest extends $pb.GeneratedMessage { factory CreateWardRequest({ @@ -701,7 +701,7 @@ class UpdateWardRequest extends $pb.GeneratedMessage { class UpdateWardResponse extends $pb.GeneratedMessage { factory UpdateWardResponse({ - $21.Conflict? conflict, + $22.Conflict? conflict, $core.String? consistency, }) { final $result = create(); @@ -718,7 +718,7 @@ class UpdateWardResponse extends $pb.GeneratedMessage { factory UpdateWardResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateWardResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'services.tasks_svc.v1'), createEmptyInstance: create) - ..aOM<$21.Conflict>(1, _omitFieldNames ? '' : 'conflict', subBuilder: $21.Conflict.create) + ..aOM<$22.Conflict>(1, _omitFieldNames ? '' : 'conflict', subBuilder: $22.Conflict.create) ..aOS(2, _omitFieldNames ? '' : 'consistency') ..hasRequiredFields = false ; @@ -745,15 +745,15 @@ class UpdateWardResponse extends $pb.GeneratedMessage { static UpdateWardResponse? _defaultInstance; @$pb.TagNumber(1) - $21.Conflict get conflict => $_getN(0); + $22.Conflict get conflict => $_getN(0); @$pb.TagNumber(1) - set conflict($21.Conflict v) { setField(1, v); } + set conflict($22.Conflict v) { setField(1, v); } @$pb.TagNumber(1) $core.bool hasConflict() => $_has(0); @$pb.TagNumber(1) void clearConflict() => clearField(1); @$pb.TagNumber(1) - $21.Conflict ensureConflict() => $_ensure(0); + $22.Conflict ensureConflict() => $_ensure(0); @$pb.TagNumber(2) $core.String get consistency => $_getSZ(1); diff --git a/gen/go/google/protobuf/descriptor.pb.go b/gen/go/google/protobuf/descriptor.pb.go new file mode 100644 index 000000000..a00e42bb6 --- /dev/null +++ b/gen/go/google/protobuf/descriptor.pb.go @@ -0,0 +1,5835 @@ +// Protocol Buffers - Google's data interchange format +// Copyright 2008 Google Inc. All rights reserved. +// https://developers.google.com/protocol-buffers/ +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// * Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// * Redistributions in binary form must reproduce the above +// copyright notice, this list of conditions and the following disclaimer +// in the documentation and/or other materials provided with the +// distribution. +// * Neither the name of Google Inc. nor the names of its +// contributors may be used to endorse or promote products derived from +// this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +// Author: kenton@google.com (Kenton Varda) +// Based on original Protocol Buffers design by +// Sanjay Ghemawat, Jeff Dean, and others. +// +// The messages in this file describe the definitions found in .proto files. +// A valid .proto file can be translated directly to a FileDescriptorProto +// without any other information (e.g. without reading its imports). + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.34.1 +// protoc (unknown) +// source: google/protobuf/descriptor.proto + +package descriptorpb + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// The full set of known editions. +type Edition int32 + +const ( + // A placeholder for an unknown edition value. + Edition_EDITION_UNKNOWN Edition = 0 + // A placeholder edition for specifying default behaviors *before* a feature + // was first introduced. This is effectively an "infinite past". + Edition_EDITION_LEGACY Edition = 900 + // 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. + Edition_EDITION_PROTO2 Edition = 998 + Edition_EDITION_PROTO3 Edition = 999 + // 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. + Edition_EDITION_2023 Edition = 1000 + Edition_EDITION_2024 Edition = 1001 + // Placeholder editions for testing feature resolution. These should not be + // used or relyed on outside of tests. + Edition_EDITION_1_TEST_ONLY Edition = 1 + Edition_EDITION_2_TEST_ONLY Edition = 2 + Edition_EDITION_99997_TEST_ONLY Edition = 99997 + Edition_EDITION_99998_TEST_ONLY Edition = 99998 + Edition_EDITION_99999_TEST_ONLY Edition = 99999 + // 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. + Edition_EDITION_MAX Edition = 2147483647 +) + +// Enum value maps for Edition. +var ( + Edition_name = map[int32]string{ + 0: "EDITION_UNKNOWN", + 900: "EDITION_LEGACY", + 998: "EDITION_PROTO2", + 999: "EDITION_PROTO3", + 1000: "EDITION_2023", + 1001: "EDITION_2024", + 1: "EDITION_1_TEST_ONLY", + 2: "EDITION_2_TEST_ONLY", + 99997: "EDITION_99997_TEST_ONLY", + 99998: "EDITION_99998_TEST_ONLY", + 99999: "EDITION_99999_TEST_ONLY", + 2147483647: "EDITION_MAX", + } + Edition_value = map[string]int32{ + "EDITION_UNKNOWN": 0, + "EDITION_LEGACY": 900, + "EDITION_PROTO2": 998, + "EDITION_PROTO3": 999, + "EDITION_2023": 1000, + "EDITION_2024": 1001, + "EDITION_1_TEST_ONLY": 1, + "EDITION_2_TEST_ONLY": 2, + "EDITION_99997_TEST_ONLY": 99997, + "EDITION_99998_TEST_ONLY": 99998, + "EDITION_99999_TEST_ONLY": 99999, + "EDITION_MAX": 2147483647, + } +) + +func (x Edition) Enum() *Edition { + p := new(Edition) + *p = x + return p +} + +func (x Edition) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (Edition) Descriptor() protoreflect.EnumDescriptor { + return file_google_protobuf_descriptor_proto_enumTypes[0].Descriptor() +} + +func (Edition) Type() protoreflect.EnumType { + return &file_google_protobuf_descriptor_proto_enumTypes[0] +} + +func (x Edition) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Do not use. +func (x *Edition) UnmarshalJSON(b []byte) error { + num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) + if err != nil { + return err + } + *x = Edition(num) + return nil +} + +// Deprecated: Use Edition.Descriptor instead. +func (Edition) EnumDescriptor() ([]byte, []int) { + return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{0} +} + +// The verification state of the extension range. +type ExtensionRangeOptions_VerificationState int32 + +const ( + // All the extensions of the range must be declared. + ExtensionRangeOptions_DECLARATION ExtensionRangeOptions_VerificationState = 0 + ExtensionRangeOptions_UNVERIFIED ExtensionRangeOptions_VerificationState = 1 +) + +// Enum value maps for ExtensionRangeOptions_VerificationState. +var ( + ExtensionRangeOptions_VerificationState_name = map[int32]string{ + 0: "DECLARATION", + 1: "UNVERIFIED", + } + ExtensionRangeOptions_VerificationState_value = map[string]int32{ + "DECLARATION": 0, + "UNVERIFIED": 1, + } +) + +func (x ExtensionRangeOptions_VerificationState) Enum() *ExtensionRangeOptions_VerificationState { + p := new(ExtensionRangeOptions_VerificationState) + *p = x + return p +} + +func (x ExtensionRangeOptions_VerificationState) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (ExtensionRangeOptions_VerificationState) Descriptor() protoreflect.EnumDescriptor { + return file_google_protobuf_descriptor_proto_enumTypes[1].Descriptor() +} + +func (ExtensionRangeOptions_VerificationState) Type() protoreflect.EnumType { + return &file_google_protobuf_descriptor_proto_enumTypes[1] +} + +func (x ExtensionRangeOptions_VerificationState) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Do not use. +func (x *ExtensionRangeOptions_VerificationState) UnmarshalJSON(b []byte) error { + num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) + if err != nil { + return err + } + *x = ExtensionRangeOptions_VerificationState(num) + return nil +} + +// Deprecated: Use ExtensionRangeOptions_VerificationState.Descriptor instead. +func (ExtensionRangeOptions_VerificationState) EnumDescriptor() ([]byte, []int) { + return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{3, 0} +} + +type FieldDescriptorProto_Type int32 + +const ( + // 0 is reserved for errors. + // Order is weird for historical reasons. + FieldDescriptorProto_TYPE_DOUBLE FieldDescriptorProto_Type = 1 + FieldDescriptorProto_TYPE_FLOAT FieldDescriptorProto_Type = 2 + // Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT64 if + // negative values are likely. + FieldDescriptorProto_TYPE_INT64 FieldDescriptorProto_Type = 3 + FieldDescriptorProto_TYPE_UINT64 FieldDescriptorProto_Type = 4 + // Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT32 if + // negative values are likely. + FieldDescriptorProto_TYPE_INT32 FieldDescriptorProto_Type = 5 + FieldDescriptorProto_TYPE_FIXED64 FieldDescriptorProto_Type = 6 + FieldDescriptorProto_TYPE_FIXED32 FieldDescriptorProto_Type = 7 + FieldDescriptorProto_TYPE_BOOL FieldDescriptorProto_Type = 8 + FieldDescriptorProto_TYPE_STRING FieldDescriptorProto_Type = 9 + // Tag-delimited aggregate. + // Group type is deprecated and not supported after google.protobuf. 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. + FieldDescriptorProto_TYPE_GROUP FieldDescriptorProto_Type = 10 + FieldDescriptorProto_TYPE_MESSAGE FieldDescriptorProto_Type = 11 // Length-delimited aggregate. + // New in version 2. + FieldDescriptorProto_TYPE_BYTES FieldDescriptorProto_Type = 12 + FieldDescriptorProto_TYPE_UINT32 FieldDescriptorProto_Type = 13 + FieldDescriptorProto_TYPE_ENUM FieldDescriptorProto_Type = 14 + FieldDescriptorProto_TYPE_SFIXED32 FieldDescriptorProto_Type = 15 + FieldDescriptorProto_TYPE_SFIXED64 FieldDescriptorProto_Type = 16 + FieldDescriptorProto_TYPE_SINT32 FieldDescriptorProto_Type = 17 // Uses ZigZag encoding. + FieldDescriptorProto_TYPE_SINT64 FieldDescriptorProto_Type = 18 // Uses ZigZag encoding. +) + +// Enum value maps for FieldDescriptorProto_Type. +var ( + FieldDescriptorProto_Type_name = map[int32]string{ + 1: "TYPE_DOUBLE", + 2: "TYPE_FLOAT", + 3: "TYPE_INT64", + 4: "TYPE_UINT64", + 5: "TYPE_INT32", + 6: "TYPE_FIXED64", + 7: "TYPE_FIXED32", + 8: "TYPE_BOOL", + 9: "TYPE_STRING", + 10: "TYPE_GROUP", + 11: "TYPE_MESSAGE", + 12: "TYPE_BYTES", + 13: "TYPE_UINT32", + 14: "TYPE_ENUM", + 15: "TYPE_SFIXED32", + 16: "TYPE_SFIXED64", + 17: "TYPE_SINT32", + 18: "TYPE_SINT64", + } + FieldDescriptorProto_Type_value = map[string]int32{ + "TYPE_DOUBLE": 1, + "TYPE_FLOAT": 2, + "TYPE_INT64": 3, + "TYPE_UINT64": 4, + "TYPE_INT32": 5, + "TYPE_FIXED64": 6, + "TYPE_FIXED32": 7, + "TYPE_BOOL": 8, + "TYPE_STRING": 9, + "TYPE_GROUP": 10, + "TYPE_MESSAGE": 11, + "TYPE_BYTES": 12, + "TYPE_UINT32": 13, + "TYPE_ENUM": 14, + "TYPE_SFIXED32": 15, + "TYPE_SFIXED64": 16, + "TYPE_SINT32": 17, + "TYPE_SINT64": 18, + } +) + +func (x FieldDescriptorProto_Type) Enum() *FieldDescriptorProto_Type { + p := new(FieldDescriptorProto_Type) + *p = x + return p +} + +func (x FieldDescriptorProto_Type) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (FieldDescriptorProto_Type) Descriptor() protoreflect.EnumDescriptor { + return file_google_protobuf_descriptor_proto_enumTypes[2].Descriptor() +} + +func (FieldDescriptorProto_Type) Type() protoreflect.EnumType { + return &file_google_protobuf_descriptor_proto_enumTypes[2] +} + +func (x FieldDescriptorProto_Type) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Do not use. +func (x *FieldDescriptorProto_Type) UnmarshalJSON(b []byte) error { + num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) + if err != nil { + return err + } + *x = FieldDescriptorProto_Type(num) + return nil +} + +// Deprecated: Use FieldDescriptorProto_Type.Descriptor instead. +func (FieldDescriptorProto_Type) EnumDescriptor() ([]byte, []int) { + return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{4, 0} +} + +type FieldDescriptorProto_Label int32 + +const ( + // 0 is reserved for errors + FieldDescriptorProto_LABEL_OPTIONAL FieldDescriptorProto_Label = 1 + FieldDescriptorProto_LABEL_REPEATED FieldDescriptorProto_Label = 3 + // 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. + FieldDescriptorProto_LABEL_REQUIRED FieldDescriptorProto_Label = 2 +) + +// Enum value maps for FieldDescriptorProto_Label. +var ( + FieldDescriptorProto_Label_name = map[int32]string{ + 1: "LABEL_OPTIONAL", + 3: "LABEL_REPEATED", + 2: "LABEL_REQUIRED", + } + FieldDescriptorProto_Label_value = map[string]int32{ + "LABEL_OPTIONAL": 1, + "LABEL_REPEATED": 3, + "LABEL_REQUIRED": 2, + } +) + +func (x FieldDescriptorProto_Label) Enum() *FieldDescriptorProto_Label { + p := new(FieldDescriptorProto_Label) + *p = x + return p +} + +func (x FieldDescriptorProto_Label) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (FieldDescriptorProto_Label) Descriptor() protoreflect.EnumDescriptor { + return file_google_protobuf_descriptor_proto_enumTypes[3].Descriptor() +} + +func (FieldDescriptorProto_Label) Type() protoreflect.EnumType { + return &file_google_protobuf_descriptor_proto_enumTypes[3] +} + +func (x FieldDescriptorProto_Label) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Do not use. +func (x *FieldDescriptorProto_Label) UnmarshalJSON(b []byte) error { + num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) + if err != nil { + return err + } + *x = FieldDescriptorProto_Label(num) + return nil +} + +// Deprecated: Use FieldDescriptorProto_Label.Descriptor instead. +func (FieldDescriptorProto_Label) EnumDescriptor() ([]byte, []int) { + return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{4, 1} +} + +// Generated classes can be optimized for speed or code size. +type FileOptions_OptimizeMode int32 + +const ( + FileOptions_SPEED FileOptions_OptimizeMode = 1 // Generate complete code for parsing, serialization, + // etc. + FileOptions_CODE_SIZE FileOptions_OptimizeMode = 2 // Use ReflectionOps to implement these methods. + FileOptions_LITE_RUNTIME FileOptions_OptimizeMode = 3 // Generate code using MessageLite and the lite runtime. +) + +// Enum value maps for FileOptions_OptimizeMode. +var ( + FileOptions_OptimizeMode_name = map[int32]string{ + 1: "SPEED", + 2: "CODE_SIZE", + 3: "LITE_RUNTIME", + } + FileOptions_OptimizeMode_value = map[string]int32{ + "SPEED": 1, + "CODE_SIZE": 2, + "LITE_RUNTIME": 3, + } +) + +func (x FileOptions_OptimizeMode) Enum() *FileOptions_OptimizeMode { + p := new(FileOptions_OptimizeMode) + *p = x + return p +} + +func (x FileOptions_OptimizeMode) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (FileOptions_OptimizeMode) Descriptor() protoreflect.EnumDescriptor { + return file_google_protobuf_descriptor_proto_enumTypes[4].Descriptor() +} + +func (FileOptions_OptimizeMode) Type() protoreflect.EnumType { + return &file_google_protobuf_descriptor_proto_enumTypes[4] +} + +func (x FileOptions_OptimizeMode) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Do not use. +func (x *FileOptions_OptimizeMode) UnmarshalJSON(b []byte) error { + num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) + if err != nil { + return err + } + *x = FileOptions_OptimizeMode(num) + return nil +} + +// Deprecated: Use FileOptions_OptimizeMode.Descriptor instead. +func (FileOptions_OptimizeMode) EnumDescriptor() ([]byte, []int) { + return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{10, 0} +} + +type FieldOptions_CType int32 + +const ( + // Default mode. + FieldOptions_STRING FieldOptions_CType = 0 + // 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. + FieldOptions_CORD FieldOptions_CType = 1 + FieldOptions_STRING_PIECE FieldOptions_CType = 2 +) + +// Enum value maps for FieldOptions_CType. +var ( + FieldOptions_CType_name = map[int32]string{ + 0: "STRING", + 1: "CORD", + 2: "STRING_PIECE", + } + FieldOptions_CType_value = map[string]int32{ + "STRING": 0, + "CORD": 1, + "STRING_PIECE": 2, + } +) + +func (x FieldOptions_CType) Enum() *FieldOptions_CType { + p := new(FieldOptions_CType) + *p = x + return p +} + +func (x FieldOptions_CType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (FieldOptions_CType) Descriptor() protoreflect.EnumDescriptor { + return file_google_protobuf_descriptor_proto_enumTypes[5].Descriptor() +} + +func (FieldOptions_CType) Type() protoreflect.EnumType { + return &file_google_protobuf_descriptor_proto_enumTypes[5] +} + +func (x FieldOptions_CType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Do not use. +func (x *FieldOptions_CType) UnmarshalJSON(b []byte) error { + num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) + if err != nil { + return err + } + *x = FieldOptions_CType(num) + return nil +} + +// Deprecated: Use FieldOptions_CType.Descriptor instead. +func (FieldOptions_CType) EnumDescriptor() ([]byte, []int) { + return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{12, 0} +} + +type FieldOptions_JSType int32 + +const ( + // Use the default type. + FieldOptions_JS_NORMAL FieldOptions_JSType = 0 + // Use JavaScript strings. + FieldOptions_JS_STRING FieldOptions_JSType = 1 + // Use JavaScript numbers. + FieldOptions_JS_NUMBER FieldOptions_JSType = 2 +) + +// Enum value maps for FieldOptions_JSType. +var ( + FieldOptions_JSType_name = map[int32]string{ + 0: "JS_NORMAL", + 1: "JS_STRING", + 2: "JS_NUMBER", + } + FieldOptions_JSType_value = map[string]int32{ + "JS_NORMAL": 0, + "JS_STRING": 1, + "JS_NUMBER": 2, + } +) + +func (x FieldOptions_JSType) Enum() *FieldOptions_JSType { + p := new(FieldOptions_JSType) + *p = x + return p +} + +func (x FieldOptions_JSType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (FieldOptions_JSType) Descriptor() protoreflect.EnumDescriptor { + return file_google_protobuf_descriptor_proto_enumTypes[6].Descriptor() +} + +func (FieldOptions_JSType) Type() protoreflect.EnumType { + return &file_google_protobuf_descriptor_proto_enumTypes[6] +} + +func (x FieldOptions_JSType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Do not use. +func (x *FieldOptions_JSType) UnmarshalJSON(b []byte) error { + num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) + if err != nil { + return err + } + *x = FieldOptions_JSType(num) + return nil +} + +// Deprecated: Use FieldOptions_JSType.Descriptor instead. +func (FieldOptions_JSType) EnumDescriptor() ([]byte, []int) { + return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{12, 1} +} + +// If set to RETENTION_SOURCE, the option will be omitted from the binary. +// Note: as of January 2023, support for this is in progress and does not yet +// have an effect (b/264593489). +type FieldOptions_OptionRetention int32 + +const ( + FieldOptions_RETENTION_UNKNOWN FieldOptions_OptionRetention = 0 + FieldOptions_RETENTION_RUNTIME FieldOptions_OptionRetention = 1 + FieldOptions_RETENTION_SOURCE FieldOptions_OptionRetention = 2 +) + +// Enum value maps for FieldOptions_OptionRetention. +var ( + FieldOptions_OptionRetention_name = map[int32]string{ + 0: "RETENTION_UNKNOWN", + 1: "RETENTION_RUNTIME", + 2: "RETENTION_SOURCE", + } + FieldOptions_OptionRetention_value = map[string]int32{ + "RETENTION_UNKNOWN": 0, + "RETENTION_RUNTIME": 1, + "RETENTION_SOURCE": 2, + } +) + +func (x FieldOptions_OptionRetention) Enum() *FieldOptions_OptionRetention { + p := new(FieldOptions_OptionRetention) + *p = x + return p +} + +func (x FieldOptions_OptionRetention) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (FieldOptions_OptionRetention) Descriptor() protoreflect.EnumDescriptor { + return file_google_protobuf_descriptor_proto_enumTypes[7].Descriptor() +} + +func (FieldOptions_OptionRetention) Type() protoreflect.EnumType { + return &file_google_protobuf_descriptor_proto_enumTypes[7] +} + +func (x FieldOptions_OptionRetention) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Do not use. +func (x *FieldOptions_OptionRetention) UnmarshalJSON(b []byte) error { + num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) + if err != nil { + return err + } + *x = FieldOptions_OptionRetention(num) + return nil +} + +// Deprecated: Use FieldOptions_OptionRetention.Descriptor instead. +func (FieldOptions_OptionRetention) EnumDescriptor() ([]byte, []int) { + return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{12, 2} +} + +// 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. Note: as of January 2023, support for this is +// in progress and does not yet have an effect (b/264593489). +type FieldOptions_OptionTargetType int32 + +const ( + FieldOptions_TARGET_TYPE_UNKNOWN FieldOptions_OptionTargetType = 0 + FieldOptions_TARGET_TYPE_FILE FieldOptions_OptionTargetType = 1 + FieldOptions_TARGET_TYPE_EXTENSION_RANGE FieldOptions_OptionTargetType = 2 + FieldOptions_TARGET_TYPE_MESSAGE FieldOptions_OptionTargetType = 3 + FieldOptions_TARGET_TYPE_FIELD FieldOptions_OptionTargetType = 4 + FieldOptions_TARGET_TYPE_ONEOF FieldOptions_OptionTargetType = 5 + FieldOptions_TARGET_TYPE_ENUM FieldOptions_OptionTargetType = 6 + FieldOptions_TARGET_TYPE_ENUM_ENTRY FieldOptions_OptionTargetType = 7 + FieldOptions_TARGET_TYPE_SERVICE FieldOptions_OptionTargetType = 8 + FieldOptions_TARGET_TYPE_METHOD FieldOptions_OptionTargetType = 9 +) + +// Enum value maps for FieldOptions_OptionTargetType. +var ( + FieldOptions_OptionTargetType_name = map[int32]string{ + 0: "TARGET_TYPE_UNKNOWN", + 1: "TARGET_TYPE_FILE", + 2: "TARGET_TYPE_EXTENSION_RANGE", + 3: "TARGET_TYPE_MESSAGE", + 4: "TARGET_TYPE_FIELD", + 5: "TARGET_TYPE_ONEOF", + 6: "TARGET_TYPE_ENUM", + 7: "TARGET_TYPE_ENUM_ENTRY", + 8: "TARGET_TYPE_SERVICE", + 9: "TARGET_TYPE_METHOD", + } + FieldOptions_OptionTargetType_value = map[string]int32{ + "TARGET_TYPE_UNKNOWN": 0, + "TARGET_TYPE_FILE": 1, + "TARGET_TYPE_EXTENSION_RANGE": 2, + "TARGET_TYPE_MESSAGE": 3, + "TARGET_TYPE_FIELD": 4, + "TARGET_TYPE_ONEOF": 5, + "TARGET_TYPE_ENUM": 6, + "TARGET_TYPE_ENUM_ENTRY": 7, + "TARGET_TYPE_SERVICE": 8, + "TARGET_TYPE_METHOD": 9, + } +) + +func (x FieldOptions_OptionTargetType) Enum() *FieldOptions_OptionTargetType { + p := new(FieldOptions_OptionTargetType) + *p = x + return p +} + +func (x FieldOptions_OptionTargetType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (FieldOptions_OptionTargetType) Descriptor() protoreflect.EnumDescriptor { + return file_google_protobuf_descriptor_proto_enumTypes[8].Descriptor() +} + +func (FieldOptions_OptionTargetType) Type() protoreflect.EnumType { + return &file_google_protobuf_descriptor_proto_enumTypes[8] +} + +func (x FieldOptions_OptionTargetType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Do not use. +func (x *FieldOptions_OptionTargetType) UnmarshalJSON(b []byte) error { + num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) + if err != nil { + return err + } + *x = FieldOptions_OptionTargetType(num) + return nil +} + +// Deprecated: Use FieldOptions_OptionTargetType.Descriptor instead. +func (FieldOptions_OptionTargetType) EnumDescriptor() ([]byte, []int) { + return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{12, 3} +} + +// 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. +type MethodOptions_IdempotencyLevel int32 + +const ( + MethodOptions_IDEMPOTENCY_UNKNOWN MethodOptions_IdempotencyLevel = 0 + MethodOptions_NO_SIDE_EFFECTS MethodOptions_IdempotencyLevel = 1 // implies idempotent + MethodOptions_IDEMPOTENT MethodOptions_IdempotencyLevel = 2 // idempotent, but may have side effects +) + +// Enum value maps for MethodOptions_IdempotencyLevel. +var ( + MethodOptions_IdempotencyLevel_name = map[int32]string{ + 0: "IDEMPOTENCY_UNKNOWN", + 1: "NO_SIDE_EFFECTS", + 2: "IDEMPOTENT", + } + MethodOptions_IdempotencyLevel_value = map[string]int32{ + "IDEMPOTENCY_UNKNOWN": 0, + "NO_SIDE_EFFECTS": 1, + "IDEMPOTENT": 2, + } +) + +func (x MethodOptions_IdempotencyLevel) Enum() *MethodOptions_IdempotencyLevel { + p := new(MethodOptions_IdempotencyLevel) + *p = x + return p +} + +func (x MethodOptions_IdempotencyLevel) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (MethodOptions_IdempotencyLevel) Descriptor() protoreflect.EnumDescriptor { + return file_google_protobuf_descriptor_proto_enumTypes[9].Descriptor() +} + +func (MethodOptions_IdempotencyLevel) Type() protoreflect.EnumType { + return &file_google_protobuf_descriptor_proto_enumTypes[9] +} + +func (x MethodOptions_IdempotencyLevel) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Do not use. +func (x *MethodOptions_IdempotencyLevel) UnmarshalJSON(b []byte) error { + num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) + if err != nil { + return err + } + *x = MethodOptions_IdempotencyLevel(num) + return nil +} + +// Deprecated: Use MethodOptions_IdempotencyLevel.Descriptor instead. +func (MethodOptions_IdempotencyLevel) EnumDescriptor() ([]byte, []int) { + return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{17, 0} +} + +type FeatureSet_FieldPresence int32 + +const ( + FeatureSet_FIELD_PRESENCE_UNKNOWN FeatureSet_FieldPresence = 0 + FeatureSet_EXPLICIT FeatureSet_FieldPresence = 1 + FeatureSet_IMPLICIT FeatureSet_FieldPresence = 2 + FeatureSet_LEGACY_REQUIRED FeatureSet_FieldPresence = 3 +) + +// Enum value maps for FeatureSet_FieldPresence. +var ( + FeatureSet_FieldPresence_name = map[int32]string{ + 0: "FIELD_PRESENCE_UNKNOWN", + 1: "EXPLICIT", + 2: "IMPLICIT", + 3: "LEGACY_REQUIRED", + } + FeatureSet_FieldPresence_value = map[string]int32{ + "FIELD_PRESENCE_UNKNOWN": 0, + "EXPLICIT": 1, + "IMPLICIT": 2, + "LEGACY_REQUIRED": 3, + } +) + +func (x FeatureSet_FieldPresence) Enum() *FeatureSet_FieldPresence { + p := new(FeatureSet_FieldPresence) + *p = x + return p +} + +func (x FeatureSet_FieldPresence) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (FeatureSet_FieldPresence) Descriptor() protoreflect.EnumDescriptor { + return file_google_protobuf_descriptor_proto_enumTypes[10].Descriptor() +} + +func (FeatureSet_FieldPresence) Type() protoreflect.EnumType { + return &file_google_protobuf_descriptor_proto_enumTypes[10] +} + +func (x FeatureSet_FieldPresence) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Do not use. +func (x *FeatureSet_FieldPresence) UnmarshalJSON(b []byte) error { + num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) + if err != nil { + return err + } + *x = FeatureSet_FieldPresence(num) + return nil +} + +// Deprecated: Use FeatureSet_FieldPresence.Descriptor instead. +func (FeatureSet_FieldPresence) EnumDescriptor() ([]byte, []int) { + return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{19, 0} +} + +type FeatureSet_EnumType int32 + +const ( + FeatureSet_ENUM_TYPE_UNKNOWN FeatureSet_EnumType = 0 + FeatureSet_OPEN FeatureSet_EnumType = 1 + FeatureSet_CLOSED FeatureSet_EnumType = 2 +) + +// Enum value maps for FeatureSet_EnumType. +var ( + FeatureSet_EnumType_name = map[int32]string{ + 0: "ENUM_TYPE_UNKNOWN", + 1: "OPEN", + 2: "CLOSED", + } + FeatureSet_EnumType_value = map[string]int32{ + "ENUM_TYPE_UNKNOWN": 0, + "OPEN": 1, + "CLOSED": 2, + } +) + +func (x FeatureSet_EnumType) Enum() *FeatureSet_EnumType { + p := new(FeatureSet_EnumType) + *p = x + return p +} + +func (x FeatureSet_EnumType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (FeatureSet_EnumType) Descriptor() protoreflect.EnumDescriptor { + return file_google_protobuf_descriptor_proto_enumTypes[11].Descriptor() +} + +func (FeatureSet_EnumType) Type() protoreflect.EnumType { + return &file_google_protobuf_descriptor_proto_enumTypes[11] +} + +func (x FeatureSet_EnumType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Do not use. +func (x *FeatureSet_EnumType) UnmarshalJSON(b []byte) error { + num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) + if err != nil { + return err + } + *x = FeatureSet_EnumType(num) + return nil +} + +// Deprecated: Use FeatureSet_EnumType.Descriptor instead. +func (FeatureSet_EnumType) EnumDescriptor() ([]byte, []int) { + return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{19, 1} +} + +type FeatureSet_RepeatedFieldEncoding int32 + +const ( + FeatureSet_REPEATED_FIELD_ENCODING_UNKNOWN FeatureSet_RepeatedFieldEncoding = 0 + FeatureSet_PACKED FeatureSet_RepeatedFieldEncoding = 1 + FeatureSet_EXPANDED FeatureSet_RepeatedFieldEncoding = 2 +) + +// Enum value maps for FeatureSet_RepeatedFieldEncoding. +var ( + FeatureSet_RepeatedFieldEncoding_name = map[int32]string{ + 0: "REPEATED_FIELD_ENCODING_UNKNOWN", + 1: "PACKED", + 2: "EXPANDED", + } + FeatureSet_RepeatedFieldEncoding_value = map[string]int32{ + "REPEATED_FIELD_ENCODING_UNKNOWN": 0, + "PACKED": 1, + "EXPANDED": 2, + } +) + +func (x FeatureSet_RepeatedFieldEncoding) Enum() *FeatureSet_RepeatedFieldEncoding { + p := new(FeatureSet_RepeatedFieldEncoding) + *p = x + return p +} + +func (x FeatureSet_RepeatedFieldEncoding) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (FeatureSet_RepeatedFieldEncoding) Descriptor() protoreflect.EnumDescriptor { + return file_google_protobuf_descriptor_proto_enumTypes[12].Descriptor() +} + +func (FeatureSet_RepeatedFieldEncoding) Type() protoreflect.EnumType { + return &file_google_protobuf_descriptor_proto_enumTypes[12] +} + +func (x FeatureSet_RepeatedFieldEncoding) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Do not use. +func (x *FeatureSet_RepeatedFieldEncoding) UnmarshalJSON(b []byte) error { + num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) + if err != nil { + return err + } + *x = FeatureSet_RepeatedFieldEncoding(num) + return nil +} + +// Deprecated: Use FeatureSet_RepeatedFieldEncoding.Descriptor instead. +func (FeatureSet_RepeatedFieldEncoding) EnumDescriptor() ([]byte, []int) { + return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{19, 2} +} + +type FeatureSet_Utf8Validation int32 + +const ( + FeatureSet_UTF8_VALIDATION_UNKNOWN FeatureSet_Utf8Validation = 0 + FeatureSet_VERIFY FeatureSet_Utf8Validation = 2 + FeatureSet_NONE FeatureSet_Utf8Validation = 3 +) + +// Enum value maps for FeatureSet_Utf8Validation. +var ( + FeatureSet_Utf8Validation_name = map[int32]string{ + 0: "UTF8_VALIDATION_UNKNOWN", + 2: "VERIFY", + 3: "NONE", + } + FeatureSet_Utf8Validation_value = map[string]int32{ + "UTF8_VALIDATION_UNKNOWN": 0, + "VERIFY": 2, + "NONE": 3, + } +) + +func (x FeatureSet_Utf8Validation) Enum() *FeatureSet_Utf8Validation { + p := new(FeatureSet_Utf8Validation) + *p = x + return p +} + +func (x FeatureSet_Utf8Validation) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (FeatureSet_Utf8Validation) Descriptor() protoreflect.EnumDescriptor { + return file_google_protobuf_descriptor_proto_enumTypes[13].Descriptor() +} + +func (FeatureSet_Utf8Validation) Type() protoreflect.EnumType { + return &file_google_protobuf_descriptor_proto_enumTypes[13] +} + +func (x FeatureSet_Utf8Validation) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Do not use. +func (x *FeatureSet_Utf8Validation) UnmarshalJSON(b []byte) error { + num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) + if err != nil { + return err + } + *x = FeatureSet_Utf8Validation(num) + return nil +} + +// Deprecated: Use FeatureSet_Utf8Validation.Descriptor instead. +func (FeatureSet_Utf8Validation) EnumDescriptor() ([]byte, []int) { + return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{19, 3} +} + +type FeatureSet_MessageEncoding int32 + +const ( + FeatureSet_MESSAGE_ENCODING_UNKNOWN FeatureSet_MessageEncoding = 0 + FeatureSet_LENGTH_PREFIXED FeatureSet_MessageEncoding = 1 + FeatureSet_DELIMITED FeatureSet_MessageEncoding = 2 +) + +// Enum value maps for FeatureSet_MessageEncoding. +var ( + FeatureSet_MessageEncoding_name = map[int32]string{ + 0: "MESSAGE_ENCODING_UNKNOWN", + 1: "LENGTH_PREFIXED", + 2: "DELIMITED", + } + FeatureSet_MessageEncoding_value = map[string]int32{ + "MESSAGE_ENCODING_UNKNOWN": 0, + "LENGTH_PREFIXED": 1, + "DELIMITED": 2, + } +) + +func (x FeatureSet_MessageEncoding) Enum() *FeatureSet_MessageEncoding { + p := new(FeatureSet_MessageEncoding) + *p = x + return p +} + +func (x FeatureSet_MessageEncoding) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (FeatureSet_MessageEncoding) Descriptor() protoreflect.EnumDescriptor { + return file_google_protobuf_descriptor_proto_enumTypes[14].Descriptor() +} + +func (FeatureSet_MessageEncoding) Type() protoreflect.EnumType { + return &file_google_protobuf_descriptor_proto_enumTypes[14] +} + +func (x FeatureSet_MessageEncoding) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Do not use. +func (x *FeatureSet_MessageEncoding) UnmarshalJSON(b []byte) error { + num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) + if err != nil { + return err + } + *x = FeatureSet_MessageEncoding(num) + return nil +} + +// Deprecated: Use FeatureSet_MessageEncoding.Descriptor instead. +func (FeatureSet_MessageEncoding) EnumDescriptor() ([]byte, []int) { + return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{19, 4} +} + +type FeatureSet_JsonFormat int32 + +const ( + FeatureSet_JSON_FORMAT_UNKNOWN FeatureSet_JsonFormat = 0 + FeatureSet_ALLOW FeatureSet_JsonFormat = 1 + FeatureSet_LEGACY_BEST_EFFORT FeatureSet_JsonFormat = 2 +) + +// Enum value maps for FeatureSet_JsonFormat. +var ( + FeatureSet_JsonFormat_name = map[int32]string{ + 0: "JSON_FORMAT_UNKNOWN", + 1: "ALLOW", + 2: "LEGACY_BEST_EFFORT", + } + FeatureSet_JsonFormat_value = map[string]int32{ + "JSON_FORMAT_UNKNOWN": 0, + "ALLOW": 1, + "LEGACY_BEST_EFFORT": 2, + } +) + +func (x FeatureSet_JsonFormat) Enum() *FeatureSet_JsonFormat { + p := new(FeatureSet_JsonFormat) + *p = x + return p +} + +func (x FeatureSet_JsonFormat) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (FeatureSet_JsonFormat) Descriptor() protoreflect.EnumDescriptor { + return file_google_protobuf_descriptor_proto_enumTypes[15].Descriptor() +} + +func (FeatureSet_JsonFormat) Type() protoreflect.EnumType { + return &file_google_protobuf_descriptor_proto_enumTypes[15] +} + +func (x FeatureSet_JsonFormat) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Do not use. +func (x *FeatureSet_JsonFormat) UnmarshalJSON(b []byte) error { + num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) + if err != nil { + return err + } + *x = FeatureSet_JsonFormat(num) + return nil +} + +// Deprecated: Use FeatureSet_JsonFormat.Descriptor instead. +func (FeatureSet_JsonFormat) EnumDescriptor() ([]byte, []int) { + return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{19, 5} +} + +// Represents the identified object's effect on the element in the original +// .proto file. +type GeneratedCodeInfo_Annotation_Semantic int32 + +const ( + // There is no effect or the effect is indescribable. + GeneratedCodeInfo_Annotation_NONE GeneratedCodeInfo_Annotation_Semantic = 0 + // The element is set or otherwise mutated. + GeneratedCodeInfo_Annotation_SET GeneratedCodeInfo_Annotation_Semantic = 1 + // An alias to the element is returned. + GeneratedCodeInfo_Annotation_ALIAS GeneratedCodeInfo_Annotation_Semantic = 2 +) + +// Enum value maps for GeneratedCodeInfo_Annotation_Semantic. +var ( + GeneratedCodeInfo_Annotation_Semantic_name = map[int32]string{ + 0: "NONE", + 1: "SET", + 2: "ALIAS", + } + GeneratedCodeInfo_Annotation_Semantic_value = map[string]int32{ + "NONE": 0, + "SET": 1, + "ALIAS": 2, + } +) + +func (x GeneratedCodeInfo_Annotation_Semantic) Enum() *GeneratedCodeInfo_Annotation_Semantic { + p := new(GeneratedCodeInfo_Annotation_Semantic) + *p = x + return p +} + +func (x GeneratedCodeInfo_Annotation_Semantic) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (GeneratedCodeInfo_Annotation_Semantic) Descriptor() protoreflect.EnumDescriptor { + return file_google_protobuf_descriptor_proto_enumTypes[16].Descriptor() +} + +func (GeneratedCodeInfo_Annotation_Semantic) Type() protoreflect.EnumType { + return &file_google_protobuf_descriptor_proto_enumTypes[16] +} + +func (x GeneratedCodeInfo_Annotation_Semantic) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Do not use. +func (x *GeneratedCodeInfo_Annotation_Semantic) UnmarshalJSON(b []byte) error { + num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) + if err != nil { + return err + } + *x = GeneratedCodeInfo_Annotation_Semantic(num) + return nil +} + +// Deprecated: Use GeneratedCodeInfo_Annotation_Semantic.Descriptor instead. +func (GeneratedCodeInfo_Annotation_Semantic) EnumDescriptor() ([]byte, []int) { + return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{22, 0, 0} +} + +// The protocol compiler can output a FileDescriptorSet containing the .proto +// files it parses. +type FileDescriptorSet struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + File []*FileDescriptorProto `protobuf:"bytes,1,rep,name=file" json:"file,omitempty"` +} + +func (x *FileDescriptorSet) Reset() { + *x = FileDescriptorSet{} + if protoimpl.UnsafeEnabled { + mi := &file_google_protobuf_descriptor_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FileDescriptorSet) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FileDescriptorSet) ProtoMessage() {} + +func (x *FileDescriptorSet) ProtoReflect() protoreflect.Message { + mi := &file_google_protobuf_descriptor_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FileDescriptorSet.ProtoReflect.Descriptor instead. +func (*FileDescriptorSet) Descriptor() ([]byte, []int) { + return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{0} +} + +func (x *FileDescriptorSet) GetFile() []*FileDescriptorProto { + if x != nil { + return x.File + } + return nil +} + +// Describes a complete .proto file. +type FileDescriptorProto struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` // file name, relative to root of source tree + Package *string `protobuf:"bytes,2,opt,name=package" json:"package,omitempty"` // e.g. "foo", "foo.bar", etc. + // Names of files imported by this file. + Dependency []string `protobuf:"bytes,3,rep,name=dependency" json:"dependency,omitempty"` + // Indexes of the public imported files in the dependency list above. + PublicDependency []int32 `protobuf:"varint,10,rep,name=public_dependency,json=publicDependency" json:"public_dependency,omitempty"` + // Indexes of the weak imported files in the dependency list. + // For Google-internal migration only. Do not use. + WeakDependency []int32 `protobuf:"varint,11,rep,name=weak_dependency,json=weakDependency" json:"weak_dependency,omitempty"` + // All top-level definitions in this file. + MessageType []*DescriptorProto `protobuf:"bytes,4,rep,name=message_type,json=messageType" json:"message_type,omitempty"` + EnumType []*EnumDescriptorProto `protobuf:"bytes,5,rep,name=enum_type,json=enumType" json:"enum_type,omitempty"` + Service []*ServiceDescriptorProto `protobuf:"bytes,6,rep,name=service" json:"service,omitempty"` + Extension []*FieldDescriptorProto `protobuf:"bytes,7,rep,name=extension" json:"extension,omitempty"` + Options *FileOptions `protobuf:"bytes,8,opt,name=options" json:"options,omitempty"` + // This field contains optional information about the original source code. + // You may safely remove this entire field without harming runtime + // functionality of the descriptors -- the information is needed only by + // development tools. + SourceCodeInfo *SourceCodeInfo `protobuf:"bytes,9,opt,name=source_code_info,json=sourceCodeInfo" json:"source_code_info,omitempty"` + // The syntax of the proto file. + // The supported values are "proto2", "proto3", and "editions". + // + // If `edition` is present, this value must be "editions". + Syntax *string `protobuf:"bytes,12,opt,name=syntax" json:"syntax,omitempty"` + // The edition of the proto file. + Edition *Edition `protobuf:"varint,14,opt,name=edition,enum=google.protobuf.Edition" json:"edition,omitempty"` +} + +func (x *FileDescriptorProto) Reset() { + *x = FileDescriptorProto{} + if protoimpl.UnsafeEnabled { + mi := &file_google_protobuf_descriptor_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FileDescriptorProto) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FileDescriptorProto) ProtoMessage() {} + +func (x *FileDescriptorProto) ProtoReflect() protoreflect.Message { + mi := &file_google_protobuf_descriptor_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FileDescriptorProto.ProtoReflect.Descriptor instead. +func (*FileDescriptorProto) Descriptor() ([]byte, []int) { + return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{1} +} + +func (x *FileDescriptorProto) GetName() string { + if x != nil && x.Name != nil { + return *x.Name + } + return "" +} + +func (x *FileDescriptorProto) GetPackage() string { + if x != nil && x.Package != nil { + return *x.Package + } + return "" +} + +func (x *FileDescriptorProto) GetDependency() []string { + if x != nil { + return x.Dependency + } + return nil +} + +func (x *FileDescriptorProto) GetPublicDependency() []int32 { + if x != nil { + return x.PublicDependency + } + return nil +} + +func (x *FileDescriptorProto) GetWeakDependency() []int32 { + if x != nil { + return x.WeakDependency + } + return nil +} + +func (x *FileDescriptorProto) GetMessageType() []*DescriptorProto { + if x != nil { + return x.MessageType + } + return nil +} + +func (x *FileDescriptorProto) GetEnumType() []*EnumDescriptorProto { + if x != nil { + return x.EnumType + } + return nil +} + +func (x *FileDescriptorProto) GetService() []*ServiceDescriptorProto { + if x != nil { + return x.Service + } + return nil +} + +func (x *FileDescriptorProto) GetExtension() []*FieldDescriptorProto { + if x != nil { + return x.Extension + } + return nil +} + +func (x *FileDescriptorProto) GetOptions() *FileOptions { + if x != nil { + return x.Options + } + return nil +} + +func (x *FileDescriptorProto) GetSourceCodeInfo() *SourceCodeInfo { + if x != nil { + return x.SourceCodeInfo + } + return nil +} + +func (x *FileDescriptorProto) GetSyntax() string { + if x != nil && x.Syntax != nil { + return *x.Syntax + } + return "" +} + +func (x *FileDescriptorProto) GetEdition() Edition { + if x != nil && x.Edition != nil { + return *x.Edition + } + return Edition_EDITION_UNKNOWN +} + +// Describes a message type. +type DescriptorProto struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` + Field []*FieldDescriptorProto `protobuf:"bytes,2,rep,name=field" json:"field,omitempty"` + Extension []*FieldDescriptorProto `protobuf:"bytes,6,rep,name=extension" json:"extension,omitempty"` + NestedType []*DescriptorProto `protobuf:"bytes,3,rep,name=nested_type,json=nestedType" json:"nested_type,omitempty"` + EnumType []*EnumDescriptorProto `protobuf:"bytes,4,rep,name=enum_type,json=enumType" json:"enum_type,omitempty"` + ExtensionRange []*DescriptorProto_ExtensionRange `protobuf:"bytes,5,rep,name=extension_range,json=extensionRange" json:"extension_range,omitempty"` + OneofDecl []*OneofDescriptorProto `protobuf:"bytes,8,rep,name=oneof_decl,json=oneofDecl" json:"oneof_decl,omitempty"` + Options *MessageOptions `protobuf:"bytes,7,opt,name=options" json:"options,omitempty"` + ReservedRange []*DescriptorProto_ReservedRange `protobuf:"bytes,9,rep,name=reserved_range,json=reservedRange" json:"reserved_range,omitempty"` + // Reserved field names, which may not be used by fields in the same message. + // A given name may only be reserved once. + ReservedName []string `protobuf:"bytes,10,rep,name=reserved_name,json=reservedName" json:"reserved_name,omitempty"` +} + +func (x *DescriptorProto) Reset() { + *x = DescriptorProto{} + if protoimpl.UnsafeEnabled { + mi := &file_google_protobuf_descriptor_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DescriptorProto) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DescriptorProto) ProtoMessage() {} + +func (x *DescriptorProto) ProtoReflect() protoreflect.Message { + mi := &file_google_protobuf_descriptor_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DescriptorProto.ProtoReflect.Descriptor instead. +func (*DescriptorProto) Descriptor() ([]byte, []int) { + return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{2} +} + +func (x *DescriptorProto) GetName() string { + if x != nil && x.Name != nil { + return *x.Name + } + return "" +} + +func (x *DescriptorProto) GetField() []*FieldDescriptorProto { + if x != nil { + return x.Field + } + return nil +} + +func (x *DescriptorProto) GetExtension() []*FieldDescriptorProto { + if x != nil { + return x.Extension + } + return nil +} + +func (x *DescriptorProto) GetNestedType() []*DescriptorProto { + if x != nil { + return x.NestedType + } + return nil +} + +func (x *DescriptorProto) GetEnumType() []*EnumDescriptorProto { + if x != nil { + return x.EnumType + } + return nil +} + +func (x *DescriptorProto) GetExtensionRange() []*DescriptorProto_ExtensionRange { + if x != nil { + return x.ExtensionRange + } + return nil +} + +func (x *DescriptorProto) GetOneofDecl() []*OneofDescriptorProto { + if x != nil { + return x.OneofDecl + } + return nil +} + +func (x *DescriptorProto) GetOptions() *MessageOptions { + if x != nil { + return x.Options + } + return nil +} + +func (x *DescriptorProto) GetReservedRange() []*DescriptorProto_ReservedRange { + if x != nil { + return x.ReservedRange + } + return nil +} + +func (x *DescriptorProto) GetReservedName() []string { + if x != nil { + return x.ReservedName + } + return nil +} + +type ExtensionRangeOptions struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + extensionFields protoimpl.ExtensionFields + + // The parser stores options it doesn't recognize here. See above. + UninterpretedOption []*UninterpretedOption `protobuf:"bytes,999,rep,name=uninterpreted_option,json=uninterpretedOption" json:"uninterpreted_option,omitempty"` + // 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. + Declaration []*ExtensionRangeOptions_Declaration `protobuf:"bytes,2,rep,name=declaration" json:"declaration,omitempty"` + // Any features defined in the specific edition. + Features *FeatureSet `protobuf:"bytes,50,opt,name=features" json:"features,omitempty"` + // The verification state of the range. + // TODO: flip the default to DECLARATION once all empty ranges + // are marked as UNVERIFIED. + Verification *ExtensionRangeOptions_VerificationState `protobuf:"varint,3,opt,name=verification,enum=google.protobuf.ExtensionRangeOptions_VerificationState,def=1" json:"verification,omitempty"` +} + +// Default values for ExtensionRangeOptions fields. +const ( + Default_ExtensionRangeOptions_Verification = ExtensionRangeOptions_UNVERIFIED +) + +func (x *ExtensionRangeOptions) Reset() { + *x = ExtensionRangeOptions{} + if protoimpl.UnsafeEnabled { + mi := &file_google_protobuf_descriptor_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ExtensionRangeOptions) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ExtensionRangeOptions) ProtoMessage() {} + +func (x *ExtensionRangeOptions) ProtoReflect() protoreflect.Message { + mi := &file_google_protobuf_descriptor_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ExtensionRangeOptions.ProtoReflect.Descriptor instead. +func (*ExtensionRangeOptions) Descriptor() ([]byte, []int) { + return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{3} +} + +func (x *ExtensionRangeOptions) GetUninterpretedOption() []*UninterpretedOption { + if x != nil { + return x.UninterpretedOption + } + return nil +} + +func (x *ExtensionRangeOptions) GetDeclaration() []*ExtensionRangeOptions_Declaration { + if x != nil { + return x.Declaration + } + return nil +} + +func (x *ExtensionRangeOptions) GetFeatures() *FeatureSet { + if x != nil { + return x.Features + } + return nil +} + +func (x *ExtensionRangeOptions) GetVerification() ExtensionRangeOptions_VerificationState { + if x != nil && x.Verification != nil { + return *x.Verification + } + return Default_ExtensionRangeOptions_Verification +} + +// Describes a field within a message. +type FieldDescriptorProto struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` + Number *int32 `protobuf:"varint,3,opt,name=number" json:"number,omitempty"` + Label *FieldDescriptorProto_Label `protobuf:"varint,4,opt,name=label,enum=google.protobuf.FieldDescriptorProto_Label" json:"label,omitempty"` + // If type_name is set, this need not be set. If both this and type_name + // are set, this must be one of TYPE_ENUM, TYPE_MESSAGE or TYPE_GROUP. + Type *FieldDescriptorProto_Type `protobuf:"varint,5,opt,name=type,enum=google.protobuf.FieldDescriptorProto_Type" json:"type,omitempty"` + // For message and enum types, this is the name of the type. If the name + // starts with a '.', it is fully-qualified. Otherwise, C++-like scoping + // rules are used to find the type (i.e. first the nested types within this + // message are searched, then within the parent, on up to the root + // namespace). + TypeName *string `protobuf:"bytes,6,opt,name=type_name,json=typeName" json:"type_name,omitempty"` + // For extensions, this is the name of the type being extended. It is + // resolved in the same manner as type_name. + Extendee *string `protobuf:"bytes,2,opt,name=extendee" json:"extendee,omitempty"` + // For numeric types, contains the original text representation of the value. + // 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. + DefaultValue *string `protobuf:"bytes,7,opt,name=default_value,json=defaultValue" json:"default_value,omitempty"` + // If set, gives the index of a oneof in the containing type's oneof_decl + // list. This field is a member of that oneof. + OneofIndex *int32 `protobuf:"varint,9,opt,name=oneof_index,json=oneofIndex" json:"oneof_index,omitempty"` + // JSON name of this field. The value is set by protocol compiler. If the + // user has set a "json_name" option on this field, that option's value + // will be used. Otherwise, it's deduced from the field's name by converting + // it to camelCase. + JsonName *string `protobuf:"bytes,10,opt,name=json_name,json=jsonName" json:"json_name,omitempty"` + Options *FieldOptions `protobuf:"bytes,8,opt,name=options" json:"options,omitempty"` + // 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`. + Proto3Optional *bool `protobuf:"varint,17,opt,name=proto3_optional,json=proto3Optional" json:"proto3_optional,omitempty"` +} + +func (x *FieldDescriptorProto) Reset() { + *x = FieldDescriptorProto{} + if protoimpl.UnsafeEnabled { + mi := &file_google_protobuf_descriptor_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FieldDescriptorProto) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FieldDescriptorProto) ProtoMessage() {} + +func (x *FieldDescriptorProto) ProtoReflect() protoreflect.Message { + mi := &file_google_protobuf_descriptor_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FieldDescriptorProto.ProtoReflect.Descriptor instead. +func (*FieldDescriptorProto) Descriptor() ([]byte, []int) { + return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{4} +} + +func (x *FieldDescriptorProto) GetName() string { + if x != nil && x.Name != nil { + return *x.Name + } + return "" +} + +func (x *FieldDescriptorProto) GetNumber() int32 { + if x != nil && x.Number != nil { + return *x.Number + } + return 0 +} + +func (x *FieldDescriptorProto) GetLabel() FieldDescriptorProto_Label { + if x != nil && x.Label != nil { + return *x.Label + } + return FieldDescriptorProto_LABEL_OPTIONAL +} + +func (x *FieldDescriptorProto) GetType() FieldDescriptorProto_Type { + if x != nil && x.Type != nil { + return *x.Type + } + return FieldDescriptorProto_TYPE_DOUBLE +} + +func (x *FieldDescriptorProto) GetTypeName() string { + if x != nil && x.TypeName != nil { + return *x.TypeName + } + return "" +} + +func (x *FieldDescriptorProto) GetExtendee() string { + if x != nil && x.Extendee != nil { + return *x.Extendee + } + return "" +} + +func (x *FieldDescriptorProto) GetDefaultValue() string { + if x != nil && x.DefaultValue != nil { + return *x.DefaultValue + } + return "" +} + +func (x *FieldDescriptorProto) GetOneofIndex() int32 { + if x != nil && x.OneofIndex != nil { + return *x.OneofIndex + } + return 0 +} + +func (x *FieldDescriptorProto) GetJsonName() string { + if x != nil && x.JsonName != nil { + return *x.JsonName + } + return "" +} + +func (x *FieldDescriptorProto) GetOptions() *FieldOptions { + if x != nil { + return x.Options + } + return nil +} + +func (x *FieldDescriptorProto) GetProto3Optional() bool { + if x != nil && x.Proto3Optional != nil { + return *x.Proto3Optional + } + return false +} + +// Describes a oneof. +type OneofDescriptorProto struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` + Options *OneofOptions `protobuf:"bytes,2,opt,name=options" json:"options,omitempty"` +} + +func (x *OneofDescriptorProto) Reset() { + *x = OneofDescriptorProto{} + if protoimpl.UnsafeEnabled { + mi := &file_google_protobuf_descriptor_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *OneofDescriptorProto) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*OneofDescriptorProto) ProtoMessage() {} + +func (x *OneofDescriptorProto) ProtoReflect() protoreflect.Message { + mi := &file_google_protobuf_descriptor_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use OneofDescriptorProto.ProtoReflect.Descriptor instead. +func (*OneofDescriptorProto) Descriptor() ([]byte, []int) { + return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{5} +} + +func (x *OneofDescriptorProto) GetName() string { + if x != nil && x.Name != nil { + return *x.Name + } + return "" +} + +func (x *OneofDescriptorProto) GetOptions() *OneofOptions { + if x != nil { + return x.Options + } + return nil +} + +// Describes an enum type. +type EnumDescriptorProto struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` + Value []*EnumValueDescriptorProto `protobuf:"bytes,2,rep,name=value" json:"value,omitempty"` + Options *EnumOptions `protobuf:"bytes,3,opt,name=options" json:"options,omitempty"` + // Range of reserved numeric values. Reserved numeric values may not be used + // by enum values in the same enum declaration. Reserved ranges may not + // overlap. + ReservedRange []*EnumDescriptorProto_EnumReservedRange `protobuf:"bytes,4,rep,name=reserved_range,json=reservedRange" json:"reserved_range,omitempty"` + // Reserved enum value names, which may not be reused. A given name may only + // be reserved once. + ReservedName []string `protobuf:"bytes,5,rep,name=reserved_name,json=reservedName" json:"reserved_name,omitempty"` +} + +func (x *EnumDescriptorProto) Reset() { + *x = EnumDescriptorProto{} + if protoimpl.UnsafeEnabled { + mi := &file_google_protobuf_descriptor_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EnumDescriptorProto) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EnumDescriptorProto) ProtoMessage() {} + +func (x *EnumDescriptorProto) ProtoReflect() protoreflect.Message { + mi := &file_google_protobuf_descriptor_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EnumDescriptorProto.ProtoReflect.Descriptor instead. +func (*EnumDescriptorProto) Descriptor() ([]byte, []int) { + return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{6} +} + +func (x *EnumDescriptorProto) GetName() string { + if x != nil && x.Name != nil { + return *x.Name + } + return "" +} + +func (x *EnumDescriptorProto) GetValue() []*EnumValueDescriptorProto { + if x != nil { + return x.Value + } + return nil +} + +func (x *EnumDescriptorProto) GetOptions() *EnumOptions { + if x != nil { + return x.Options + } + return nil +} + +func (x *EnumDescriptorProto) GetReservedRange() []*EnumDescriptorProto_EnumReservedRange { + if x != nil { + return x.ReservedRange + } + return nil +} + +func (x *EnumDescriptorProto) GetReservedName() []string { + if x != nil { + return x.ReservedName + } + return nil +} + +// Describes a value within an enum. +type EnumValueDescriptorProto struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` + Number *int32 `protobuf:"varint,2,opt,name=number" json:"number,omitempty"` + Options *EnumValueOptions `protobuf:"bytes,3,opt,name=options" json:"options,omitempty"` +} + +func (x *EnumValueDescriptorProto) Reset() { + *x = EnumValueDescriptorProto{} + if protoimpl.UnsafeEnabled { + mi := &file_google_protobuf_descriptor_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EnumValueDescriptorProto) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EnumValueDescriptorProto) ProtoMessage() {} + +func (x *EnumValueDescriptorProto) ProtoReflect() protoreflect.Message { + mi := &file_google_protobuf_descriptor_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EnumValueDescriptorProto.ProtoReflect.Descriptor instead. +func (*EnumValueDescriptorProto) Descriptor() ([]byte, []int) { + return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{7} +} + +func (x *EnumValueDescriptorProto) GetName() string { + if x != nil && x.Name != nil { + return *x.Name + } + return "" +} + +func (x *EnumValueDescriptorProto) GetNumber() int32 { + if x != nil && x.Number != nil { + return *x.Number + } + return 0 +} + +func (x *EnumValueDescriptorProto) GetOptions() *EnumValueOptions { + if x != nil { + return x.Options + } + return nil +} + +// Describes a service. +type ServiceDescriptorProto struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` + Method []*MethodDescriptorProto `protobuf:"bytes,2,rep,name=method" json:"method,omitempty"` + Options *ServiceOptions `protobuf:"bytes,3,opt,name=options" json:"options,omitempty"` +} + +func (x *ServiceDescriptorProto) Reset() { + *x = ServiceDescriptorProto{} + if protoimpl.UnsafeEnabled { + mi := &file_google_protobuf_descriptor_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ServiceDescriptorProto) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ServiceDescriptorProto) ProtoMessage() {} + +func (x *ServiceDescriptorProto) ProtoReflect() protoreflect.Message { + mi := &file_google_protobuf_descriptor_proto_msgTypes[8] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ServiceDescriptorProto.ProtoReflect.Descriptor instead. +func (*ServiceDescriptorProto) Descriptor() ([]byte, []int) { + return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{8} +} + +func (x *ServiceDescriptorProto) GetName() string { + if x != nil && x.Name != nil { + return *x.Name + } + return "" +} + +func (x *ServiceDescriptorProto) GetMethod() []*MethodDescriptorProto { + if x != nil { + return x.Method + } + return nil +} + +func (x *ServiceDescriptorProto) GetOptions() *ServiceOptions { + if x != nil { + return x.Options + } + return nil +} + +// Describes a method of a service. +type MethodDescriptorProto struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` + // Input and output type names. These are resolved in the same way as + // FieldDescriptorProto.type_name, but must refer to a message type. + InputType *string `protobuf:"bytes,2,opt,name=input_type,json=inputType" json:"input_type,omitempty"` + OutputType *string `protobuf:"bytes,3,opt,name=output_type,json=outputType" json:"output_type,omitempty"` + Options *MethodOptions `protobuf:"bytes,4,opt,name=options" json:"options,omitempty"` + // Identifies if client streams multiple client messages + ClientStreaming *bool `protobuf:"varint,5,opt,name=client_streaming,json=clientStreaming,def=0" json:"client_streaming,omitempty"` + // Identifies if server streams multiple server messages + ServerStreaming *bool `protobuf:"varint,6,opt,name=server_streaming,json=serverStreaming,def=0" json:"server_streaming,omitempty"` +} + +// Default values for MethodDescriptorProto fields. +const ( + Default_MethodDescriptorProto_ClientStreaming = bool(false) + Default_MethodDescriptorProto_ServerStreaming = bool(false) +) + +func (x *MethodDescriptorProto) Reset() { + *x = MethodDescriptorProto{} + if protoimpl.UnsafeEnabled { + mi := &file_google_protobuf_descriptor_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MethodDescriptorProto) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MethodDescriptorProto) ProtoMessage() {} + +func (x *MethodDescriptorProto) ProtoReflect() protoreflect.Message { + mi := &file_google_protobuf_descriptor_proto_msgTypes[9] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MethodDescriptorProto.ProtoReflect.Descriptor instead. +func (*MethodDescriptorProto) Descriptor() ([]byte, []int) { + return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{9} +} + +func (x *MethodDescriptorProto) GetName() string { + if x != nil && x.Name != nil { + return *x.Name + } + return "" +} + +func (x *MethodDescriptorProto) GetInputType() string { + if x != nil && x.InputType != nil { + return *x.InputType + } + return "" +} + +func (x *MethodDescriptorProto) GetOutputType() string { + if x != nil && x.OutputType != nil { + return *x.OutputType + } + return "" +} + +func (x *MethodDescriptorProto) GetOptions() *MethodOptions { + if x != nil { + return x.Options + } + return nil +} + +func (x *MethodDescriptorProto) GetClientStreaming() bool { + if x != nil && x.ClientStreaming != nil { + return *x.ClientStreaming + } + return Default_MethodDescriptorProto_ClientStreaming +} + +func (x *MethodDescriptorProto) GetServerStreaming() bool { + if x != nil && x.ServerStreaming != nil { + return *x.ServerStreaming + } + return Default_MethodDescriptorProto_ServerStreaming +} + +type FileOptions struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + extensionFields protoimpl.ExtensionFields + + // Sets the Java package where classes generated from this .proto will be + // placed. By default, the proto package is used, but this is often + // inappropriate because proto packages do not normally start with backwards + // domain names. + JavaPackage *string `protobuf:"bytes,1,opt,name=java_package,json=javaPackage" json:"java_package,omitempty"` + // 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. + JavaOuterClassname *string `protobuf:"bytes,8,opt,name=java_outer_classname,json=javaOuterClassname" json:"java_outer_classname,omitempty"` + // If enabled, 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 + // generated to contain the file's getDescriptor() method as well as any + // top-level extensions defined in the file. + JavaMultipleFiles *bool `protobuf:"varint,10,opt,name=java_multiple_files,json=javaMultipleFiles,def=0" json:"java_multiple_files,omitempty"` + // This option does nothing. + // + // Deprecated: Marked as deprecated in google/protobuf/descriptor.proto. + JavaGenerateEqualsAndHash *bool `protobuf:"varint,20,opt,name=java_generate_equals_and_hash,json=javaGenerateEqualsAndHash" json:"java_generate_equals_and_hash,omitempty"` + // 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. + JavaStringCheckUtf8 *bool `protobuf:"varint,27,opt,name=java_string_check_utf8,json=javaStringCheckUtf8,def=0" json:"java_string_check_utf8,omitempty"` + OptimizeFor *FileOptions_OptimizeMode `protobuf:"varint,9,opt,name=optimize_for,json=optimizeFor,enum=google.protobuf.FileOptions_OptimizeMode,def=1" json:"optimize_for,omitempty"` + // Sets the Go package where structs generated from this .proto will be + // placed. If omitted, the Go package will be derived from the following: + // - The basename of the package import path, if provided. + // - Otherwise, the package statement in the .proto file, if present. + // - Otherwise, the basename of the .proto file, without extension. + GoPackage *string `protobuf:"bytes,11,opt,name=go_package,json=goPackage" json:"go_package,omitempty"` + // Should generic services be generated in each language? "Generic" services + // are not specific to any particular RPC system. They are generated by the + // main code generators in each language (without additional plugins). + // Generic services were the only kind of service generation supported by + // early versions of google.protobuf. + // + // Generic services are now considered deprecated in favor of using plugins + // that generate code specific to your particular RPC system. Therefore, + // these default to false. Old code which depends on generic services should + // explicitly set them to true. + CcGenericServices *bool `protobuf:"varint,16,opt,name=cc_generic_services,json=ccGenericServices,def=0" json:"cc_generic_services,omitempty"` + JavaGenericServices *bool `protobuf:"varint,17,opt,name=java_generic_services,json=javaGenericServices,def=0" json:"java_generic_services,omitempty"` + PyGenericServices *bool `protobuf:"varint,18,opt,name=py_generic_services,json=pyGenericServices,def=0" json:"py_generic_services,omitempty"` + // Is this file deprecated? + // Depending on the target platform, this can emit Deprecated annotations + // for everything in the file, or it will be completely ignored; in the very + // least, this is a formalization for deprecating files. + Deprecated *bool `protobuf:"varint,23,opt,name=deprecated,def=0" json:"deprecated,omitempty"` + // Enables the use of arenas for the proto messages in this file. This applies + // only to generated classes for C++. + CcEnableArenas *bool `protobuf:"varint,31,opt,name=cc_enable_arenas,json=ccEnableArenas,def=1" json:"cc_enable_arenas,omitempty"` + // Sets the objective c class prefix which is prepended to all objective c + // generated classes from this .proto. There is no default. + ObjcClassPrefix *string `protobuf:"bytes,36,opt,name=objc_class_prefix,json=objcClassPrefix" json:"objc_class_prefix,omitempty"` + // Namespace for generated classes; defaults to the package. + CsharpNamespace *string `protobuf:"bytes,37,opt,name=csharp_namespace,json=csharpNamespace" json:"csharp_namespace,omitempty"` + // By default Swift generators will take the proto package and CamelCase it + // replacing '.' with underscore and use that to prefix the types/symbols + // defined. When this options is provided, they will use this value instead + // to prefix the types/symbols defined. + SwiftPrefix *string `protobuf:"bytes,39,opt,name=swift_prefix,json=swiftPrefix" json:"swift_prefix,omitempty"` + // Sets the php class prefix which is prepended to all php generated classes + // from this .proto. Default is empty. + PhpClassPrefix *string `protobuf:"bytes,40,opt,name=php_class_prefix,json=phpClassPrefix" json:"php_class_prefix,omitempty"` + // Use this option to change the namespace of php generated classes. Default + // is empty. When this option is empty, the package name will be used for + // determining the namespace. + PhpNamespace *string `protobuf:"bytes,41,opt,name=php_namespace,json=phpNamespace" json:"php_namespace,omitempty"` + // 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. + PhpMetadataNamespace *string `protobuf:"bytes,44,opt,name=php_metadata_namespace,json=phpMetadataNamespace" json:"php_metadata_namespace,omitempty"` + // Use this option to change the package of ruby generated classes. Default + // is empty. When this option is not set, the package name will be used for + // determining the ruby package. + RubyPackage *string `protobuf:"bytes,45,opt,name=ruby_package,json=rubyPackage" json:"ruby_package,omitempty"` + // Any features defined in the specific edition. + Features *FeatureSet `protobuf:"bytes,50,opt,name=features" json:"features,omitempty"` + // The parser stores options it doesn't recognize here. + // See the documentation for the "Options" section above. + UninterpretedOption []*UninterpretedOption `protobuf:"bytes,999,rep,name=uninterpreted_option,json=uninterpretedOption" json:"uninterpreted_option,omitempty"` +} + +// Default values for FileOptions fields. +const ( + Default_FileOptions_JavaMultipleFiles = bool(false) + Default_FileOptions_JavaStringCheckUtf8 = bool(false) + Default_FileOptions_OptimizeFor = FileOptions_SPEED + Default_FileOptions_CcGenericServices = bool(false) + Default_FileOptions_JavaGenericServices = bool(false) + Default_FileOptions_PyGenericServices = bool(false) + Default_FileOptions_Deprecated = bool(false) + Default_FileOptions_CcEnableArenas = bool(true) +) + +func (x *FileOptions) Reset() { + *x = FileOptions{} + if protoimpl.UnsafeEnabled { + mi := &file_google_protobuf_descriptor_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FileOptions) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FileOptions) ProtoMessage() {} + +func (x *FileOptions) ProtoReflect() protoreflect.Message { + mi := &file_google_protobuf_descriptor_proto_msgTypes[10] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FileOptions.ProtoReflect.Descriptor instead. +func (*FileOptions) Descriptor() ([]byte, []int) { + return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{10} +} + +func (x *FileOptions) GetJavaPackage() string { + if x != nil && x.JavaPackage != nil { + return *x.JavaPackage + } + return "" +} + +func (x *FileOptions) GetJavaOuterClassname() string { + if x != nil && x.JavaOuterClassname != nil { + return *x.JavaOuterClassname + } + return "" +} + +func (x *FileOptions) GetJavaMultipleFiles() bool { + if x != nil && x.JavaMultipleFiles != nil { + return *x.JavaMultipleFiles + } + return Default_FileOptions_JavaMultipleFiles +} + +// Deprecated: Marked as deprecated in google/protobuf/descriptor.proto. +func (x *FileOptions) GetJavaGenerateEqualsAndHash() bool { + if x != nil && x.JavaGenerateEqualsAndHash != nil { + return *x.JavaGenerateEqualsAndHash + } + return false +} + +func (x *FileOptions) GetJavaStringCheckUtf8() bool { + if x != nil && x.JavaStringCheckUtf8 != nil { + return *x.JavaStringCheckUtf8 + } + return Default_FileOptions_JavaStringCheckUtf8 +} + +func (x *FileOptions) GetOptimizeFor() FileOptions_OptimizeMode { + if x != nil && x.OptimizeFor != nil { + return *x.OptimizeFor + } + return Default_FileOptions_OptimizeFor +} + +func (x *FileOptions) GetGoPackage() string { + if x != nil && x.GoPackage != nil { + return *x.GoPackage + } + return "" +} + +func (x *FileOptions) GetCcGenericServices() bool { + if x != nil && x.CcGenericServices != nil { + return *x.CcGenericServices + } + return Default_FileOptions_CcGenericServices +} + +func (x *FileOptions) GetJavaGenericServices() bool { + if x != nil && x.JavaGenericServices != nil { + return *x.JavaGenericServices + } + return Default_FileOptions_JavaGenericServices +} + +func (x *FileOptions) GetPyGenericServices() bool { + if x != nil && x.PyGenericServices != nil { + return *x.PyGenericServices + } + return Default_FileOptions_PyGenericServices +} + +func (x *FileOptions) GetDeprecated() bool { + if x != nil && x.Deprecated != nil { + return *x.Deprecated + } + return Default_FileOptions_Deprecated +} + +func (x *FileOptions) GetCcEnableArenas() bool { + if x != nil && x.CcEnableArenas != nil { + return *x.CcEnableArenas + } + return Default_FileOptions_CcEnableArenas +} + +func (x *FileOptions) GetObjcClassPrefix() string { + if x != nil && x.ObjcClassPrefix != nil { + return *x.ObjcClassPrefix + } + return "" +} + +func (x *FileOptions) GetCsharpNamespace() string { + if x != nil && x.CsharpNamespace != nil { + return *x.CsharpNamespace + } + return "" +} + +func (x *FileOptions) GetSwiftPrefix() string { + if x != nil && x.SwiftPrefix != nil { + return *x.SwiftPrefix + } + return "" +} + +func (x *FileOptions) GetPhpClassPrefix() string { + if x != nil && x.PhpClassPrefix != nil { + return *x.PhpClassPrefix + } + return "" +} + +func (x *FileOptions) GetPhpNamespace() string { + if x != nil && x.PhpNamespace != nil { + return *x.PhpNamespace + } + return "" +} + +func (x *FileOptions) GetPhpMetadataNamespace() string { + if x != nil && x.PhpMetadataNamespace != nil { + return *x.PhpMetadataNamespace + } + return "" +} + +func (x *FileOptions) GetRubyPackage() string { + if x != nil && x.RubyPackage != nil { + return *x.RubyPackage + } + return "" +} + +func (x *FileOptions) GetFeatures() *FeatureSet { + if x != nil { + return x.Features + } + return nil +} + +func (x *FileOptions) GetUninterpretedOption() []*UninterpretedOption { + if x != nil { + return x.UninterpretedOption + } + return nil +} + +type MessageOptions struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + extensionFields protoimpl.ExtensionFields + + // Set true to use the old proto1 MessageSet wire format for extensions. + // This is provided for backwards-compatibility with the MessageSet wire + // format. You should not use this for any other reason: It's less + // efficient, has fewer features, and is more complicated. + // + // The message must be defined exactly as follows: + // + // message Foo { + // option message_set_wire_format = true; + // extensions 4 to max; + // } + // + // Note that the message cannot have any defined fields; MessageSets only + // have extensions. + // + // All extensions of your type must be singular messages; e.g. they cannot + // be int32s, enums, or repeated messages. + // + // Because this is an option, the above two restrictions are not enforced by + // the protocol compiler. + MessageSetWireFormat *bool `protobuf:"varint,1,opt,name=message_set_wire_format,json=messageSetWireFormat,def=0" json:"message_set_wire_format,omitempty"` + // Disables the generation of the standard "descriptor()" accessor, which can + // conflict with a field of the same name. This is meant to make migration + // from proto1 easier; new code should avoid fields named "descriptor". + NoStandardDescriptorAccessor *bool `protobuf:"varint,2,opt,name=no_standard_descriptor_accessor,json=noStandardDescriptorAccessor,def=0" json:"no_standard_descriptor_accessor,omitempty"` + // Is this message deprecated? + // Depending on the target platform, this can emit Deprecated annotations + // for the message, or it will be completely ignored; in the very least, + // this is a formalization for deprecating messages. + Deprecated *bool `protobuf:"varint,3,opt,name=deprecated,def=0" json:"deprecated,omitempty"` + // Whether the message is an automatically generated map entry type for the + // maps field. + // + // For maps fields: + // + // map map_field = 1; + // + // The parsed descriptor looks like: + // + // message MapFieldEntry { + // option map_entry = true; + // optional KeyType key = 1; + // optional ValueType value = 2; + // } + // repeated MapFieldEntry map_field = 1; + // + // Implementations may choose not to generate the map_entry=true message, but + // use a native map in the target language to hold the keys and values. + // The reflection APIs in such implementations still need to work as + // if the field is a repeated message field. + // + // NOTE: Do not set the option in .proto files. Always use the maps syntax + // instead. The option should only be implicitly set by the proto compiler + // parser. + MapEntry *bool `protobuf:"varint,7,opt,name=map_entry,json=mapEntry" json:"map_entry,omitempty"` + // 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. + // + // Deprecated: Marked as deprecated in google/protobuf/descriptor.proto. + DeprecatedLegacyJsonFieldConflicts *bool `protobuf:"varint,11,opt,name=deprecated_legacy_json_field_conflicts,json=deprecatedLegacyJsonFieldConflicts" json:"deprecated_legacy_json_field_conflicts,omitempty"` + // Any features defined in the specific edition. + Features *FeatureSet `protobuf:"bytes,12,opt,name=features" json:"features,omitempty"` + // The parser stores options it doesn't recognize here. See above. + UninterpretedOption []*UninterpretedOption `protobuf:"bytes,999,rep,name=uninterpreted_option,json=uninterpretedOption" json:"uninterpreted_option,omitempty"` +} + +// Default values for MessageOptions fields. +const ( + Default_MessageOptions_MessageSetWireFormat = bool(false) + Default_MessageOptions_NoStandardDescriptorAccessor = bool(false) + Default_MessageOptions_Deprecated = bool(false) +) + +func (x *MessageOptions) Reset() { + *x = MessageOptions{} + if protoimpl.UnsafeEnabled { + mi := &file_google_protobuf_descriptor_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MessageOptions) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MessageOptions) ProtoMessage() {} + +func (x *MessageOptions) ProtoReflect() protoreflect.Message { + mi := &file_google_protobuf_descriptor_proto_msgTypes[11] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MessageOptions.ProtoReflect.Descriptor instead. +func (*MessageOptions) Descriptor() ([]byte, []int) { + return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{11} +} + +func (x *MessageOptions) GetMessageSetWireFormat() bool { + if x != nil && x.MessageSetWireFormat != nil { + return *x.MessageSetWireFormat + } + return Default_MessageOptions_MessageSetWireFormat +} + +func (x *MessageOptions) GetNoStandardDescriptorAccessor() bool { + if x != nil && x.NoStandardDescriptorAccessor != nil { + return *x.NoStandardDescriptorAccessor + } + return Default_MessageOptions_NoStandardDescriptorAccessor +} + +func (x *MessageOptions) GetDeprecated() bool { + if x != nil && x.Deprecated != nil { + return *x.Deprecated + } + return Default_MessageOptions_Deprecated +} + +func (x *MessageOptions) GetMapEntry() bool { + if x != nil && x.MapEntry != nil { + return *x.MapEntry + } + return false +} + +// Deprecated: Marked as deprecated in google/protobuf/descriptor.proto. +func (x *MessageOptions) GetDeprecatedLegacyJsonFieldConflicts() bool { + if x != nil && x.DeprecatedLegacyJsonFieldConflicts != nil { + return *x.DeprecatedLegacyJsonFieldConflicts + } + return false +} + +func (x *MessageOptions) GetFeatures() *FeatureSet { + if x != nil { + return x.Features + } + return nil +} + +func (x *MessageOptions) GetUninterpretedOption() []*UninterpretedOption { + if x != nil { + return x.UninterpretedOption + } + return nil +} + +type FieldOptions struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + extensionFields protoimpl.ExtensionFields + + // 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 -- sorry, we'll try to include + // other types in a future version! + Ctype *FieldOptions_CType `protobuf:"varint,1,opt,name=ctype,enum=google.protobuf.FieldOptions_CType,def=0" json:"ctype,omitempty"` + // The packed option can be enabled for repeated primitive fields to enable + // 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. + Packed *bool `protobuf:"varint,2,opt,name=packed" json:"packed,omitempty"` + // The jstype option determines the JavaScript type used for values of the + // field. The option is permitted only for 64 bit integral and fixed types + // (int64, uint64, sint64, fixed64, sfixed64). A field with jstype JS_STRING + // is represented as JavaScript string, which avoids loss of precision that + // can happen when a large value is converted to a floating point JavaScript. + // Specifying JS_NUMBER for the jstype causes the generated JavaScript code to + // use the JavaScript "number" type. The behavior of the default option + // JS_NORMAL is implementation dependent. + // + // This option is an enum to permit additional types to be added, e.g. + // goog.math.Integer. + Jstype *FieldOptions_JSType `protobuf:"varint,6,opt,name=jstype,enum=google.protobuf.FieldOptions_JSType,def=0" json:"jstype,omitempty"` + // Should this field be parsed lazily? Lazy applies only to message-type + // fields. It means that when the outer message is initially parsed, the + // inner message's contents will not be parsed but instead stored in encoded + // form. The inner message will actually be parsed when it is first accessed. + // + // This is only a hint. Implementations are free to choose whether to use + // eager or lazy parsing regardless of the value of this option. However, + // setting this option true suggests that the protocol author believes that + // using lazy parsing on this field is worth the additional bookkeeping + // overhead typically needed to implement it. + // + // This option does not affect the public interface of any generated code; + // all method signatures remain the same. Furthermore, thread-safety of the + // interface is not affected by this option; const methods remain safe to + // 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). + Lazy *bool `protobuf:"varint,5,opt,name=lazy,def=0" json:"lazy,omitempty"` + // unverified_lazy does no correctness checks on the byte stream. This should + // only be used where lazy with verification is prohibitive for performance + // reasons. + UnverifiedLazy *bool `protobuf:"varint,15,opt,name=unverified_lazy,json=unverifiedLazy,def=0" json:"unverified_lazy,omitempty"` + // Is this field deprecated? + // Depending on the target platform, this can emit Deprecated annotations + // for accessors, or it will be completely ignored; in the very least, this + // is a formalization for deprecating fields. + Deprecated *bool `protobuf:"varint,3,opt,name=deprecated,def=0" json:"deprecated,omitempty"` + // For Google-internal migration only. Do not use. + Weak *bool `protobuf:"varint,10,opt,name=weak,def=0" json:"weak,omitempty"` + // Indicate that the field value should not be printed out when using debug + // formats, e.g. when the field contains sensitive credentials. + DebugRedact *bool `protobuf:"varint,16,opt,name=debug_redact,json=debugRedact,def=0" json:"debug_redact,omitempty"` + Retention *FieldOptions_OptionRetention `protobuf:"varint,17,opt,name=retention,enum=google.protobuf.FieldOptions_OptionRetention" json:"retention,omitempty"` + Targets []FieldOptions_OptionTargetType `protobuf:"varint,19,rep,name=targets,enum=google.protobuf.FieldOptions_OptionTargetType" json:"targets,omitempty"` + EditionDefaults []*FieldOptions_EditionDefault `protobuf:"bytes,20,rep,name=edition_defaults,json=editionDefaults" json:"edition_defaults,omitempty"` + // Any features defined in the specific edition. + Features *FeatureSet `protobuf:"bytes,21,opt,name=features" json:"features,omitempty"` + FeatureSupport *FieldOptions_FeatureSupport `protobuf:"bytes,22,opt,name=feature_support,json=featureSupport" json:"feature_support,omitempty"` + // The parser stores options it doesn't recognize here. See above. + UninterpretedOption []*UninterpretedOption `protobuf:"bytes,999,rep,name=uninterpreted_option,json=uninterpretedOption" json:"uninterpreted_option,omitempty"` +} + +// Default values for FieldOptions fields. +const ( + Default_FieldOptions_Ctype = FieldOptions_STRING + Default_FieldOptions_Jstype = FieldOptions_JS_NORMAL + Default_FieldOptions_Lazy = bool(false) + Default_FieldOptions_UnverifiedLazy = bool(false) + Default_FieldOptions_Deprecated = bool(false) + Default_FieldOptions_Weak = bool(false) + Default_FieldOptions_DebugRedact = bool(false) +) + +func (x *FieldOptions) Reset() { + *x = FieldOptions{} + if protoimpl.UnsafeEnabled { + mi := &file_google_protobuf_descriptor_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FieldOptions) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FieldOptions) ProtoMessage() {} + +func (x *FieldOptions) ProtoReflect() protoreflect.Message { + mi := &file_google_protobuf_descriptor_proto_msgTypes[12] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FieldOptions.ProtoReflect.Descriptor instead. +func (*FieldOptions) Descriptor() ([]byte, []int) { + return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{12} +} + +func (x *FieldOptions) GetCtype() FieldOptions_CType { + if x != nil && x.Ctype != nil { + return *x.Ctype + } + return Default_FieldOptions_Ctype +} + +func (x *FieldOptions) GetPacked() bool { + if x != nil && x.Packed != nil { + return *x.Packed + } + return false +} + +func (x *FieldOptions) GetJstype() FieldOptions_JSType { + if x != nil && x.Jstype != nil { + return *x.Jstype + } + return Default_FieldOptions_Jstype +} + +func (x *FieldOptions) GetLazy() bool { + if x != nil && x.Lazy != nil { + return *x.Lazy + } + return Default_FieldOptions_Lazy +} + +func (x *FieldOptions) GetUnverifiedLazy() bool { + if x != nil && x.UnverifiedLazy != nil { + return *x.UnverifiedLazy + } + return Default_FieldOptions_UnverifiedLazy +} + +func (x *FieldOptions) GetDeprecated() bool { + if x != nil && x.Deprecated != nil { + return *x.Deprecated + } + return Default_FieldOptions_Deprecated +} + +func (x *FieldOptions) GetWeak() bool { + if x != nil && x.Weak != nil { + return *x.Weak + } + return Default_FieldOptions_Weak +} + +func (x *FieldOptions) GetDebugRedact() bool { + if x != nil && x.DebugRedact != nil { + return *x.DebugRedact + } + return Default_FieldOptions_DebugRedact +} + +func (x *FieldOptions) GetRetention() FieldOptions_OptionRetention { + if x != nil && x.Retention != nil { + return *x.Retention + } + return FieldOptions_RETENTION_UNKNOWN +} + +func (x *FieldOptions) GetTargets() []FieldOptions_OptionTargetType { + if x != nil { + return x.Targets + } + return nil +} + +func (x *FieldOptions) GetEditionDefaults() []*FieldOptions_EditionDefault { + if x != nil { + return x.EditionDefaults + } + return nil +} + +func (x *FieldOptions) GetFeatures() *FeatureSet { + if x != nil { + return x.Features + } + return nil +} + +func (x *FieldOptions) GetFeatureSupport() *FieldOptions_FeatureSupport { + if x != nil { + return x.FeatureSupport + } + return nil +} + +func (x *FieldOptions) GetUninterpretedOption() []*UninterpretedOption { + if x != nil { + return x.UninterpretedOption + } + return nil +} + +type OneofOptions struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + extensionFields protoimpl.ExtensionFields + + // Any features defined in the specific edition. + Features *FeatureSet `protobuf:"bytes,1,opt,name=features" json:"features,omitempty"` + // The parser stores options it doesn't recognize here. See above. + UninterpretedOption []*UninterpretedOption `protobuf:"bytes,999,rep,name=uninterpreted_option,json=uninterpretedOption" json:"uninterpreted_option,omitempty"` +} + +func (x *OneofOptions) Reset() { + *x = OneofOptions{} + if protoimpl.UnsafeEnabled { + mi := &file_google_protobuf_descriptor_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *OneofOptions) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*OneofOptions) ProtoMessage() {} + +func (x *OneofOptions) ProtoReflect() protoreflect.Message { + mi := &file_google_protobuf_descriptor_proto_msgTypes[13] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use OneofOptions.ProtoReflect.Descriptor instead. +func (*OneofOptions) Descriptor() ([]byte, []int) { + return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{13} +} + +func (x *OneofOptions) GetFeatures() *FeatureSet { + if x != nil { + return x.Features + } + return nil +} + +func (x *OneofOptions) GetUninterpretedOption() []*UninterpretedOption { + if x != nil { + return x.UninterpretedOption + } + return nil +} + +type EnumOptions struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + extensionFields protoimpl.ExtensionFields + + // Set this option to true to allow mapping different tag names to the same + // value. + AllowAlias *bool `protobuf:"varint,2,opt,name=allow_alias,json=allowAlias" json:"allow_alias,omitempty"` + // Is this enum deprecated? + // Depending on the target platform, this can emit Deprecated annotations + // for the enum, or it will be completely ignored; in the very least, this + // is a formalization for deprecating enums. + Deprecated *bool `protobuf:"varint,3,opt,name=deprecated,def=0" json:"deprecated,omitempty"` + // 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. + // + // Deprecated: Marked as deprecated in google/protobuf/descriptor.proto. + DeprecatedLegacyJsonFieldConflicts *bool `protobuf:"varint,6,opt,name=deprecated_legacy_json_field_conflicts,json=deprecatedLegacyJsonFieldConflicts" json:"deprecated_legacy_json_field_conflicts,omitempty"` + // Any features defined in the specific edition. + Features *FeatureSet `protobuf:"bytes,7,opt,name=features" json:"features,omitempty"` + // The parser stores options it doesn't recognize here. See above. + UninterpretedOption []*UninterpretedOption `protobuf:"bytes,999,rep,name=uninterpreted_option,json=uninterpretedOption" json:"uninterpreted_option,omitempty"` +} + +// Default values for EnumOptions fields. +const ( + Default_EnumOptions_Deprecated = bool(false) +) + +func (x *EnumOptions) Reset() { + *x = EnumOptions{} + if protoimpl.UnsafeEnabled { + mi := &file_google_protobuf_descriptor_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EnumOptions) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EnumOptions) ProtoMessage() {} + +func (x *EnumOptions) ProtoReflect() protoreflect.Message { + mi := &file_google_protobuf_descriptor_proto_msgTypes[14] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EnumOptions.ProtoReflect.Descriptor instead. +func (*EnumOptions) Descriptor() ([]byte, []int) { + return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{14} +} + +func (x *EnumOptions) GetAllowAlias() bool { + if x != nil && x.AllowAlias != nil { + return *x.AllowAlias + } + return false +} + +func (x *EnumOptions) GetDeprecated() bool { + if x != nil && x.Deprecated != nil { + return *x.Deprecated + } + return Default_EnumOptions_Deprecated +} + +// Deprecated: Marked as deprecated in google/protobuf/descriptor.proto. +func (x *EnumOptions) GetDeprecatedLegacyJsonFieldConflicts() bool { + if x != nil && x.DeprecatedLegacyJsonFieldConflicts != nil { + return *x.DeprecatedLegacyJsonFieldConflicts + } + return false +} + +func (x *EnumOptions) GetFeatures() *FeatureSet { + if x != nil { + return x.Features + } + return nil +} + +func (x *EnumOptions) GetUninterpretedOption() []*UninterpretedOption { + if x != nil { + return x.UninterpretedOption + } + return nil +} + +type EnumValueOptions struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + extensionFields protoimpl.ExtensionFields + + // Is this enum value deprecated? + // Depending on the target platform, this can emit Deprecated annotations + // for the enum value, or it will be completely ignored; in the very least, + // this is a formalization for deprecating enum values. + Deprecated *bool `protobuf:"varint,1,opt,name=deprecated,def=0" json:"deprecated,omitempty"` + // Any features defined in the specific edition. + Features *FeatureSet `protobuf:"bytes,2,opt,name=features" json:"features,omitempty"` + // 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. + DebugRedact *bool `protobuf:"varint,3,opt,name=debug_redact,json=debugRedact,def=0" json:"debug_redact,omitempty"` + // Information about the support window of a feature value. + FeatureSupport *FieldOptions_FeatureSupport `protobuf:"bytes,4,opt,name=feature_support,json=featureSupport" json:"feature_support,omitempty"` + // The parser stores options it doesn't recognize here. See above. + UninterpretedOption []*UninterpretedOption `protobuf:"bytes,999,rep,name=uninterpreted_option,json=uninterpretedOption" json:"uninterpreted_option,omitempty"` +} + +// Default values for EnumValueOptions fields. +const ( + Default_EnumValueOptions_Deprecated = bool(false) + Default_EnumValueOptions_DebugRedact = bool(false) +) + +func (x *EnumValueOptions) Reset() { + *x = EnumValueOptions{} + if protoimpl.UnsafeEnabled { + mi := &file_google_protobuf_descriptor_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EnumValueOptions) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EnumValueOptions) ProtoMessage() {} + +func (x *EnumValueOptions) ProtoReflect() protoreflect.Message { + mi := &file_google_protobuf_descriptor_proto_msgTypes[15] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EnumValueOptions.ProtoReflect.Descriptor instead. +func (*EnumValueOptions) Descriptor() ([]byte, []int) { + return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{15} +} + +func (x *EnumValueOptions) GetDeprecated() bool { + if x != nil && x.Deprecated != nil { + return *x.Deprecated + } + return Default_EnumValueOptions_Deprecated +} + +func (x *EnumValueOptions) GetFeatures() *FeatureSet { + if x != nil { + return x.Features + } + return nil +} + +func (x *EnumValueOptions) GetDebugRedact() bool { + if x != nil && x.DebugRedact != nil { + return *x.DebugRedact + } + return Default_EnumValueOptions_DebugRedact +} + +func (x *EnumValueOptions) GetFeatureSupport() *FieldOptions_FeatureSupport { + if x != nil { + return x.FeatureSupport + } + return nil +} + +func (x *EnumValueOptions) GetUninterpretedOption() []*UninterpretedOption { + if x != nil { + return x.UninterpretedOption + } + return nil +} + +type ServiceOptions struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + extensionFields protoimpl.ExtensionFields + + // Any features defined in the specific edition. + Features *FeatureSet `protobuf:"bytes,34,opt,name=features" json:"features,omitempty"` + // Is this service deprecated? + // Depending on the target platform, this can emit Deprecated annotations + // for the service, or it will be completely ignored; in the very least, + // this is a formalization for deprecating services. + Deprecated *bool `protobuf:"varint,33,opt,name=deprecated,def=0" json:"deprecated,omitempty"` + // The parser stores options it doesn't recognize here. See above. + UninterpretedOption []*UninterpretedOption `protobuf:"bytes,999,rep,name=uninterpreted_option,json=uninterpretedOption" json:"uninterpreted_option,omitempty"` +} + +// Default values for ServiceOptions fields. +const ( + Default_ServiceOptions_Deprecated = bool(false) +) + +func (x *ServiceOptions) Reset() { + *x = ServiceOptions{} + if protoimpl.UnsafeEnabled { + mi := &file_google_protobuf_descriptor_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ServiceOptions) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ServiceOptions) ProtoMessage() {} + +func (x *ServiceOptions) ProtoReflect() protoreflect.Message { + mi := &file_google_protobuf_descriptor_proto_msgTypes[16] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ServiceOptions.ProtoReflect.Descriptor instead. +func (*ServiceOptions) Descriptor() ([]byte, []int) { + return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{16} +} + +func (x *ServiceOptions) GetFeatures() *FeatureSet { + if x != nil { + return x.Features + } + return nil +} + +func (x *ServiceOptions) GetDeprecated() bool { + if x != nil && x.Deprecated != nil { + return *x.Deprecated + } + return Default_ServiceOptions_Deprecated +} + +func (x *ServiceOptions) GetUninterpretedOption() []*UninterpretedOption { + if x != nil { + return x.UninterpretedOption + } + return nil +} + +type MethodOptions struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + extensionFields protoimpl.ExtensionFields + + // Is this method deprecated? + // Depending on the target platform, this can emit Deprecated annotations + // for the method, or it will be completely ignored; in the very least, + // this is a formalization for deprecating methods. + Deprecated *bool `protobuf:"varint,33,opt,name=deprecated,def=0" json:"deprecated,omitempty"` + IdempotencyLevel *MethodOptions_IdempotencyLevel `protobuf:"varint,34,opt,name=idempotency_level,json=idempotencyLevel,enum=google.protobuf.MethodOptions_IdempotencyLevel,def=0" json:"idempotency_level,omitempty"` + // Any features defined in the specific edition. + Features *FeatureSet `protobuf:"bytes,35,opt,name=features" json:"features,omitempty"` + // The parser stores options it doesn't recognize here. See above. + UninterpretedOption []*UninterpretedOption `protobuf:"bytes,999,rep,name=uninterpreted_option,json=uninterpretedOption" json:"uninterpreted_option,omitempty"` +} + +// Default values for MethodOptions fields. +const ( + Default_MethodOptions_Deprecated = bool(false) + Default_MethodOptions_IdempotencyLevel = MethodOptions_IDEMPOTENCY_UNKNOWN +) + +func (x *MethodOptions) Reset() { + *x = MethodOptions{} + if protoimpl.UnsafeEnabled { + mi := &file_google_protobuf_descriptor_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MethodOptions) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MethodOptions) ProtoMessage() {} + +func (x *MethodOptions) ProtoReflect() protoreflect.Message { + mi := &file_google_protobuf_descriptor_proto_msgTypes[17] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MethodOptions.ProtoReflect.Descriptor instead. +func (*MethodOptions) Descriptor() ([]byte, []int) { + return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{17} +} + +func (x *MethodOptions) GetDeprecated() bool { + if x != nil && x.Deprecated != nil { + return *x.Deprecated + } + return Default_MethodOptions_Deprecated +} + +func (x *MethodOptions) GetIdempotencyLevel() MethodOptions_IdempotencyLevel { + if x != nil && x.IdempotencyLevel != nil { + return *x.IdempotencyLevel + } + return Default_MethodOptions_IdempotencyLevel +} + +func (x *MethodOptions) GetFeatures() *FeatureSet { + if x != nil { + return x.Features + } + return nil +} + +func (x *MethodOptions) GetUninterpretedOption() []*UninterpretedOption { + if x != nil { + return x.UninterpretedOption + } + return nil +} + +// A message representing a option the parser does not recognize. This only +// appears in options protos created by the compiler::Parser class. +// DescriptorPool resolves these when building Descriptor objects. Therefore, +// options protos in descriptor objects (e.g. returned by Descriptor::options(), +// or produced by Descriptor::CopyTo()) will never have UninterpretedOptions +// in them. +type UninterpretedOption struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Name []*UninterpretedOption_NamePart `protobuf:"bytes,2,rep,name=name" json:"name,omitempty"` + // The value of the uninterpreted option, in whatever type the tokenizer + // identified it as during parsing. Exactly one of these should be set. + IdentifierValue *string `protobuf:"bytes,3,opt,name=identifier_value,json=identifierValue" json:"identifier_value,omitempty"` + PositiveIntValue *uint64 `protobuf:"varint,4,opt,name=positive_int_value,json=positiveIntValue" json:"positive_int_value,omitempty"` + NegativeIntValue *int64 `protobuf:"varint,5,opt,name=negative_int_value,json=negativeIntValue" json:"negative_int_value,omitempty"` + DoubleValue *float64 `protobuf:"fixed64,6,opt,name=double_value,json=doubleValue" json:"double_value,omitempty"` + StringValue []byte `protobuf:"bytes,7,opt,name=string_value,json=stringValue" json:"string_value,omitempty"` + AggregateValue *string `protobuf:"bytes,8,opt,name=aggregate_value,json=aggregateValue" json:"aggregate_value,omitempty"` +} + +func (x *UninterpretedOption) Reset() { + *x = UninterpretedOption{} + if protoimpl.UnsafeEnabled { + mi := &file_google_protobuf_descriptor_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UninterpretedOption) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UninterpretedOption) ProtoMessage() {} + +func (x *UninterpretedOption) ProtoReflect() protoreflect.Message { + mi := &file_google_protobuf_descriptor_proto_msgTypes[18] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UninterpretedOption.ProtoReflect.Descriptor instead. +func (*UninterpretedOption) Descriptor() ([]byte, []int) { + return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{18} +} + +func (x *UninterpretedOption) GetName() []*UninterpretedOption_NamePart { + if x != nil { + return x.Name + } + return nil +} + +func (x *UninterpretedOption) GetIdentifierValue() string { + if x != nil && x.IdentifierValue != nil { + return *x.IdentifierValue + } + return "" +} + +func (x *UninterpretedOption) GetPositiveIntValue() uint64 { + if x != nil && x.PositiveIntValue != nil { + return *x.PositiveIntValue + } + return 0 +} + +func (x *UninterpretedOption) GetNegativeIntValue() int64 { + if x != nil && x.NegativeIntValue != nil { + return *x.NegativeIntValue + } + return 0 +} + +func (x *UninterpretedOption) GetDoubleValue() float64 { + if x != nil && x.DoubleValue != nil { + return *x.DoubleValue + } + return 0 +} + +func (x *UninterpretedOption) GetStringValue() []byte { + if x != nil { + return x.StringValue + } + return nil +} + +func (x *UninterpretedOption) GetAggregateValue() string { + if x != nil && x.AggregateValue != nil { + return *x.AggregateValue + } + return "" +} + +// 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. +type FeatureSet struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + extensionFields protoimpl.ExtensionFields + + FieldPresence *FeatureSet_FieldPresence `protobuf:"varint,1,opt,name=field_presence,json=fieldPresence,enum=google.protobuf.FeatureSet_FieldPresence" json:"field_presence,omitempty"` + EnumType *FeatureSet_EnumType `protobuf:"varint,2,opt,name=enum_type,json=enumType,enum=google.protobuf.FeatureSet_EnumType" json:"enum_type,omitempty"` + RepeatedFieldEncoding *FeatureSet_RepeatedFieldEncoding `protobuf:"varint,3,opt,name=repeated_field_encoding,json=repeatedFieldEncoding,enum=google.protobuf.FeatureSet_RepeatedFieldEncoding" json:"repeated_field_encoding,omitempty"` + Utf8Validation *FeatureSet_Utf8Validation `protobuf:"varint,4,opt,name=utf8_validation,json=utf8Validation,enum=google.protobuf.FeatureSet_Utf8Validation" json:"utf8_validation,omitempty"` + MessageEncoding *FeatureSet_MessageEncoding `protobuf:"varint,5,opt,name=message_encoding,json=messageEncoding,enum=google.protobuf.FeatureSet_MessageEncoding" json:"message_encoding,omitempty"` + JsonFormat *FeatureSet_JsonFormat `protobuf:"varint,6,opt,name=json_format,json=jsonFormat,enum=google.protobuf.FeatureSet_JsonFormat" json:"json_format,omitempty"` +} + +func (x *FeatureSet) Reset() { + *x = FeatureSet{} + if protoimpl.UnsafeEnabled { + mi := &file_google_protobuf_descriptor_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FeatureSet) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FeatureSet) ProtoMessage() {} + +func (x *FeatureSet) ProtoReflect() protoreflect.Message { + mi := &file_google_protobuf_descriptor_proto_msgTypes[19] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FeatureSet.ProtoReflect.Descriptor instead. +func (*FeatureSet) Descriptor() ([]byte, []int) { + return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{19} +} + +func (x *FeatureSet) GetFieldPresence() FeatureSet_FieldPresence { + if x != nil && x.FieldPresence != nil { + return *x.FieldPresence + } + return FeatureSet_FIELD_PRESENCE_UNKNOWN +} + +func (x *FeatureSet) GetEnumType() FeatureSet_EnumType { + if x != nil && x.EnumType != nil { + return *x.EnumType + } + return FeatureSet_ENUM_TYPE_UNKNOWN +} + +func (x *FeatureSet) GetRepeatedFieldEncoding() FeatureSet_RepeatedFieldEncoding { + if x != nil && x.RepeatedFieldEncoding != nil { + return *x.RepeatedFieldEncoding + } + return FeatureSet_REPEATED_FIELD_ENCODING_UNKNOWN +} + +func (x *FeatureSet) GetUtf8Validation() FeatureSet_Utf8Validation { + if x != nil && x.Utf8Validation != nil { + return *x.Utf8Validation + } + return FeatureSet_UTF8_VALIDATION_UNKNOWN +} + +func (x *FeatureSet) GetMessageEncoding() FeatureSet_MessageEncoding { + if x != nil && x.MessageEncoding != nil { + return *x.MessageEncoding + } + return FeatureSet_MESSAGE_ENCODING_UNKNOWN +} + +func (x *FeatureSet) GetJsonFormat() FeatureSet_JsonFormat { + if x != nil && x.JsonFormat != nil { + return *x.JsonFormat + } + return FeatureSet_JSON_FORMAT_UNKNOWN +} + +// 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. +type FeatureSetDefaults struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Defaults []*FeatureSetDefaults_FeatureSetEditionDefault `protobuf:"bytes,1,rep,name=defaults" json:"defaults,omitempty"` + // The minimum supported edition (inclusive) when this was constructed. + // Editions before this will not have defaults. + MinimumEdition *Edition `protobuf:"varint,4,opt,name=minimum_edition,json=minimumEdition,enum=google.protobuf.Edition" json:"minimum_edition,omitempty"` + // The maximum known edition (inclusive) when this was constructed. Editions + // after this will not have reliable defaults. + MaximumEdition *Edition `protobuf:"varint,5,opt,name=maximum_edition,json=maximumEdition,enum=google.protobuf.Edition" json:"maximum_edition,omitempty"` +} + +func (x *FeatureSetDefaults) Reset() { + *x = FeatureSetDefaults{} + if protoimpl.UnsafeEnabled { + mi := &file_google_protobuf_descriptor_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FeatureSetDefaults) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FeatureSetDefaults) ProtoMessage() {} + +func (x *FeatureSetDefaults) ProtoReflect() protoreflect.Message { + mi := &file_google_protobuf_descriptor_proto_msgTypes[20] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FeatureSetDefaults.ProtoReflect.Descriptor instead. +func (*FeatureSetDefaults) Descriptor() ([]byte, []int) { + return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{20} +} + +func (x *FeatureSetDefaults) GetDefaults() []*FeatureSetDefaults_FeatureSetEditionDefault { + if x != nil { + return x.Defaults + } + return nil +} + +func (x *FeatureSetDefaults) GetMinimumEdition() Edition { + if x != nil && x.MinimumEdition != nil { + return *x.MinimumEdition + } + return Edition_EDITION_UNKNOWN +} + +func (x *FeatureSetDefaults) GetMaximumEdition() Edition { + if x != nil && x.MaximumEdition != nil { + return *x.MaximumEdition + } + return Edition_EDITION_UNKNOWN +} + +// Encapsulates information about the original source file from which a +// FileDescriptorProto was generated. +type SourceCodeInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // A Location identifies a piece of source code in a .proto file which + // corresponds to a particular definition. This information is intended + // to be useful to IDEs, code indexers, documentation generators, and similar + // tools. + // + // For example, say we have a file like: + // + // message Foo { + // optional string foo = 1; + // } + // + // Let's look at just the field definition: + // + // optional string foo = 1; + // ^ ^^ ^^ ^ ^^^ + // a bc de f ghi + // + // We have the following locations: + // + // span path represents + // [a,i) [ 4, 0, 2, 0 ] The whole field definition. + // [a,b) [ 4, 0, 2, 0, 4 ] The label (optional). + // [c,d) [ 4, 0, 2, 0, 5 ] The type (string). + // [e,f) [ 4, 0, 2, 0, 1 ] The name (foo). + // [g,h) [ 4, 0, 2, 0, 3 ] The number (1). + // + // Notes: + // - A location may refer to a repeated field itself (i.e. not to any + // particular index within it). This is used whenever a set of elements are + // logically enclosed in a single code segment. For example, an entire + // extend block (possibly containing multiple extension definitions) will + // have an outer location whose path refers to the "extensions" repeated + // field without an index. + // - Multiple locations may have the same path. This happens when a single + // logical declaration is spread out across multiple places. The most + // obvious example is the "extend" block again -- there may be multiple + // extend blocks in the same scope, each of which will have the same path. + // - A location's span is not always a subset of its parent's span. For + // example, the "extendee" of an extension declaration appears at the + // beginning of the "extend" block and is shared by all extensions within + // the block. + // - Just because a location's span is a subset of some other location's span + // does not mean that it is a descendant. For example, a "group" defines + // both a type and a field in a single declaration. Thus, the locations + // corresponding to the type and field and their components will overlap. + // - Code which tries to interpret locations should probably be designed to + // ignore those that it doesn't understand, as more types of locations could + // be recorded in the future. + Location []*SourceCodeInfo_Location `protobuf:"bytes,1,rep,name=location" json:"location,omitempty"` +} + +func (x *SourceCodeInfo) Reset() { + *x = SourceCodeInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_google_protobuf_descriptor_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SourceCodeInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SourceCodeInfo) ProtoMessage() {} + +func (x *SourceCodeInfo) ProtoReflect() protoreflect.Message { + mi := &file_google_protobuf_descriptor_proto_msgTypes[21] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SourceCodeInfo.ProtoReflect.Descriptor instead. +func (*SourceCodeInfo) Descriptor() ([]byte, []int) { + return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{21} +} + +func (x *SourceCodeInfo) GetLocation() []*SourceCodeInfo_Location { + if x != nil { + return x.Location + } + return nil +} + +// Describes the relationship between generated code and its original source +// file. A GeneratedCodeInfo message is associated with only one generated +// source file, but may contain references to different source .proto files. +type GeneratedCodeInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // An Annotation connects some span of text in generated code to an element + // of its generating .proto file. + Annotation []*GeneratedCodeInfo_Annotation `protobuf:"bytes,1,rep,name=annotation" json:"annotation,omitempty"` +} + +func (x *GeneratedCodeInfo) Reset() { + *x = GeneratedCodeInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_google_protobuf_descriptor_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GeneratedCodeInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GeneratedCodeInfo) ProtoMessage() {} + +func (x *GeneratedCodeInfo) ProtoReflect() protoreflect.Message { + mi := &file_google_protobuf_descriptor_proto_msgTypes[22] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GeneratedCodeInfo.ProtoReflect.Descriptor instead. +func (*GeneratedCodeInfo) Descriptor() ([]byte, []int) { + return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{22} +} + +func (x *GeneratedCodeInfo) GetAnnotation() []*GeneratedCodeInfo_Annotation { + if x != nil { + return x.Annotation + } + return nil +} + +type DescriptorProto_ExtensionRange struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Start *int32 `protobuf:"varint,1,opt,name=start" json:"start,omitempty"` // Inclusive. + End *int32 `protobuf:"varint,2,opt,name=end" json:"end,omitempty"` // Exclusive. + Options *ExtensionRangeOptions `protobuf:"bytes,3,opt,name=options" json:"options,omitempty"` +} + +func (x *DescriptorProto_ExtensionRange) Reset() { + *x = DescriptorProto_ExtensionRange{} + if protoimpl.UnsafeEnabled { + mi := &file_google_protobuf_descriptor_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DescriptorProto_ExtensionRange) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DescriptorProto_ExtensionRange) ProtoMessage() {} + +func (x *DescriptorProto_ExtensionRange) ProtoReflect() protoreflect.Message { + mi := &file_google_protobuf_descriptor_proto_msgTypes[23] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DescriptorProto_ExtensionRange.ProtoReflect.Descriptor instead. +func (*DescriptorProto_ExtensionRange) Descriptor() ([]byte, []int) { + return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{2, 0} +} + +func (x *DescriptorProto_ExtensionRange) GetStart() int32 { + if x != nil && x.Start != nil { + return *x.Start + } + return 0 +} + +func (x *DescriptorProto_ExtensionRange) GetEnd() int32 { + if x != nil && x.End != nil { + return *x.End + } + return 0 +} + +func (x *DescriptorProto_ExtensionRange) GetOptions() *ExtensionRangeOptions { + if x != nil { + return x.Options + } + return nil +} + +// Range of reserved tag numbers. Reserved tag numbers may not be used by +// fields or extension ranges in the same message. Reserved ranges may +// not overlap. +type DescriptorProto_ReservedRange struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Start *int32 `protobuf:"varint,1,opt,name=start" json:"start,omitempty"` // Inclusive. + End *int32 `protobuf:"varint,2,opt,name=end" json:"end,omitempty"` // Exclusive. +} + +func (x *DescriptorProto_ReservedRange) Reset() { + *x = DescriptorProto_ReservedRange{} + if protoimpl.UnsafeEnabled { + mi := &file_google_protobuf_descriptor_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DescriptorProto_ReservedRange) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DescriptorProto_ReservedRange) ProtoMessage() {} + +func (x *DescriptorProto_ReservedRange) ProtoReflect() protoreflect.Message { + mi := &file_google_protobuf_descriptor_proto_msgTypes[24] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DescriptorProto_ReservedRange.ProtoReflect.Descriptor instead. +func (*DescriptorProto_ReservedRange) Descriptor() ([]byte, []int) { + return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{2, 1} +} + +func (x *DescriptorProto_ReservedRange) GetStart() int32 { + if x != nil && x.Start != nil { + return *x.Start + } + return 0 +} + +func (x *DescriptorProto_ReservedRange) GetEnd() int32 { + if x != nil && x.End != nil { + return *x.End + } + return 0 +} + +type ExtensionRangeOptions_Declaration struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The extension number declared within the extension range. + Number *int32 `protobuf:"varint,1,opt,name=number" json:"number,omitempty"` + // The fully-qualified name of the extension field. There must be a leading + // dot in front of the full name. + FullName *string `protobuf:"bytes,2,opt,name=full_name,json=fullName" json:"full_name,omitempty"` + // The fully-qualified type name of the extension field. Unlike + // Metadata.type, Declaration.type must have a leading dot for messages + // and enums. + Type *string `protobuf:"bytes,3,opt,name=type" json:"type,omitempty"` + // 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. + Reserved *bool `protobuf:"varint,5,opt,name=reserved" json:"reserved,omitempty"` + // If true, indicates that the extension must be defined as repeated. + // Otherwise the extension must be defined as optional. + Repeated *bool `protobuf:"varint,6,opt,name=repeated" json:"repeated,omitempty"` +} + +func (x *ExtensionRangeOptions_Declaration) Reset() { + *x = ExtensionRangeOptions_Declaration{} + if protoimpl.UnsafeEnabled { + mi := &file_google_protobuf_descriptor_proto_msgTypes[25] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ExtensionRangeOptions_Declaration) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ExtensionRangeOptions_Declaration) ProtoMessage() {} + +func (x *ExtensionRangeOptions_Declaration) ProtoReflect() protoreflect.Message { + mi := &file_google_protobuf_descriptor_proto_msgTypes[25] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ExtensionRangeOptions_Declaration.ProtoReflect.Descriptor instead. +func (*ExtensionRangeOptions_Declaration) Descriptor() ([]byte, []int) { + return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{3, 0} +} + +func (x *ExtensionRangeOptions_Declaration) GetNumber() int32 { + if x != nil && x.Number != nil { + return *x.Number + } + return 0 +} + +func (x *ExtensionRangeOptions_Declaration) GetFullName() string { + if x != nil && x.FullName != nil { + return *x.FullName + } + return "" +} + +func (x *ExtensionRangeOptions_Declaration) GetType() string { + if x != nil && x.Type != nil { + return *x.Type + } + return "" +} + +func (x *ExtensionRangeOptions_Declaration) GetReserved() bool { + if x != nil && x.Reserved != nil { + return *x.Reserved + } + return false +} + +func (x *ExtensionRangeOptions_Declaration) GetRepeated() bool { + if x != nil && x.Repeated != nil { + return *x.Repeated + } + return false +} + +// Range of reserved numeric values. Reserved values may not be used by +// entries in the same enum. Reserved ranges may not overlap. +// +// Note that this is distinct from DescriptorProto.ReservedRange in that it +// is inclusive such that it can appropriately represent the entire int32 +// domain. +type EnumDescriptorProto_EnumReservedRange struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Start *int32 `protobuf:"varint,1,opt,name=start" json:"start,omitempty"` // Inclusive. + End *int32 `protobuf:"varint,2,opt,name=end" json:"end,omitempty"` // Inclusive. +} + +func (x *EnumDescriptorProto_EnumReservedRange) Reset() { + *x = EnumDescriptorProto_EnumReservedRange{} + if protoimpl.UnsafeEnabled { + mi := &file_google_protobuf_descriptor_proto_msgTypes[26] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EnumDescriptorProto_EnumReservedRange) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EnumDescriptorProto_EnumReservedRange) ProtoMessage() {} + +func (x *EnumDescriptorProto_EnumReservedRange) ProtoReflect() protoreflect.Message { + mi := &file_google_protobuf_descriptor_proto_msgTypes[26] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EnumDescriptorProto_EnumReservedRange.ProtoReflect.Descriptor instead. +func (*EnumDescriptorProto_EnumReservedRange) Descriptor() ([]byte, []int) { + return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{6, 0} +} + +func (x *EnumDescriptorProto_EnumReservedRange) GetStart() int32 { + if x != nil && x.Start != nil { + return *x.Start + } + return 0 +} + +func (x *EnumDescriptorProto_EnumReservedRange) GetEnd() int32 { + if x != nil && x.End != nil { + return *x.End + } + return 0 +} + +type FieldOptions_EditionDefault struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Edition *Edition `protobuf:"varint,3,opt,name=edition,enum=google.protobuf.Edition" json:"edition,omitempty"` + Value *string `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"` // Textproto value. +} + +func (x *FieldOptions_EditionDefault) Reset() { + *x = FieldOptions_EditionDefault{} + if protoimpl.UnsafeEnabled { + mi := &file_google_protobuf_descriptor_proto_msgTypes[27] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FieldOptions_EditionDefault) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FieldOptions_EditionDefault) ProtoMessage() {} + +func (x *FieldOptions_EditionDefault) ProtoReflect() protoreflect.Message { + mi := &file_google_protobuf_descriptor_proto_msgTypes[27] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FieldOptions_EditionDefault.ProtoReflect.Descriptor instead. +func (*FieldOptions_EditionDefault) Descriptor() ([]byte, []int) { + return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{12, 0} +} + +func (x *FieldOptions_EditionDefault) GetEdition() Edition { + if x != nil && x.Edition != nil { + return *x.Edition + } + return Edition_EDITION_UNKNOWN +} + +func (x *FieldOptions_EditionDefault) GetValue() string { + if x != nil && x.Value != nil { + return *x.Value + } + return "" +} + +// Information about the support window of a feature. +type FieldOptions_FeatureSupport struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // 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. + EditionIntroduced *Edition `protobuf:"varint,1,opt,name=edition_introduced,json=editionIntroduced,enum=google.protobuf.Edition" json:"edition_introduced,omitempty"` + // The edition this feature becomes deprecated in. Using this after this + // edition may trigger warnings. + EditionDeprecated *Edition `protobuf:"varint,2,opt,name=edition_deprecated,json=editionDeprecated,enum=google.protobuf.Edition" json:"edition_deprecated,omitempty"` + // The deprecation warning text if this feature is used after the edition it + // was marked deprecated in. + DeprecationWarning *string `protobuf:"bytes,3,opt,name=deprecation_warning,json=deprecationWarning" json:"deprecation_warning,omitempty"` + // 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. + EditionRemoved *Edition `protobuf:"varint,4,opt,name=edition_removed,json=editionRemoved,enum=google.protobuf.Edition" json:"edition_removed,omitempty"` +} + +func (x *FieldOptions_FeatureSupport) Reset() { + *x = FieldOptions_FeatureSupport{} + if protoimpl.UnsafeEnabled { + mi := &file_google_protobuf_descriptor_proto_msgTypes[28] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FieldOptions_FeatureSupport) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FieldOptions_FeatureSupport) ProtoMessage() {} + +func (x *FieldOptions_FeatureSupport) ProtoReflect() protoreflect.Message { + mi := &file_google_protobuf_descriptor_proto_msgTypes[28] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FieldOptions_FeatureSupport.ProtoReflect.Descriptor instead. +func (*FieldOptions_FeatureSupport) Descriptor() ([]byte, []int) { + return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{12, 1} +} + +func (x *FieldOptions_FeatureSupport) GetEditionIntroduced() Edition { + if x != nil && x.EditionIntroduced != nil { + return *x.EditionIntroduced + } + return Edition_EDITION_UNKNOWN +} + +func (x *FieldOptions_FeatureSupport) GetEditionDeprecated() Edition { + if x != nil && x.EditionDeprecated != nil { + return *x.EditionDeprecated + } + return Edition_EDITION_UNKNOWN +} + +func (x *FieldOptions_FeatureSupport) GetDeprecationWarning() string { + if x != nil && x.DeprecationWarning != nil { + return *x.DeprecationWarning + } + return "" +} + +func (x *FieldOptions_FeatureSupport) GetEditionRemoved() Edition { + if x != nil && x.EditionRemoved != nil { + return *x.EditionRemoved + } + return Edition_EDITION_UNKNOWN +} + +// 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". +type UninterpretedOption_NamePart struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + NamePart *string `protobuf:"bytes,1,req,name=name_part,json=namePart" json:"name_part,omitempty"` + IsExtension *bool `protobuf:"varint,2,req,name=is_extension,json=isExtension" json:"is_extension,omitempty"` +} + +func (x *UninterpretedOption_NamePart) Reset() { + *x = UninterpretedOption_NamePart{} + if protoimpl.UnsafeEnabled { + mi := &file_google_protobuf_descriptor_proto_msgTypes[29] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UninterpretedOption_NamePart) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UninterpretedOption_NamePart) ProtoMessage() {} + +func (x *UninterpretedOption_NamePart) ProtoReflect() protoreflect.Message { + mi := &file_google_protobuf_descriptor_proto_msgTypes[29] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UninterpretedOption_NamePart.ProtoReflect.Descriptor instead. +func (*UninterpretedOption_NamePart) Descriptor() ([]byte, []int) { + return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{18, 0} +} + +func (x *UninterpretedOption_NamePart) GetNamePart() string { + if x != nil && x.NamePart != nil { + return *x.NamePart + } + return "" +} + +func (x *UninterpretedOption_NamePart) GetIsExtension() bool { + if x != nil && x.IsExtension != nil { + return *x.IsExtension + } + return false +} + +// 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. +type FeatureSetDefaults_FeatureSetEditionDefault struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Edition *Edition `protobuf:"varint,3,opt,name=edition,enum=google.protobuf.Edition" json:"edition,omitempty"` + // Defaults of features that can be overridden in this edition. + OverridableFeatures *FeatureSet `protobuf:"bytes,4,opt,name=overridable_features,json=overridableFeatures" json:"overridable_features,omitempty"` + // Defaults of features that can't be overridden in this edition. + FixedFeatures *FeatureSet `protobuf:"bytes,5,opt,name=fixed_features,json=fixedFeatures" json:"fixed_features,omitempty"` +} + +func (x *FeatureSetDefaults_FeatureSetEditionDefault) Reset() { + *x = FeatureSetDefaults_FeatureSetEditionDefault{} + if protoimpl.UnsafeEnabled { + mi := &file_google_protobuf_descriptor_proto_msgTypes[30] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FeatureSetDefaults_FeatureSetEditionDefault) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FeatureSetDefaults_FeatureSetEditionDefault) ProtoMessage() {} + +func (x *FeatureSetDefaults_FeatureSetEditionDefault) ProtoReflect() protoreflect.Message { + mi := &file_google_protobuf_descriptor_proto_msgTypes[30] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FeatureSetDefaults_FeatureSetEditionDefault.ProtoReflect.Descriptor instead. +func (*FeatureSetDefaults_FeatureSetEditionDefault) Descriptor() ([]byte, []int) { + return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{20, 0} +} + +func (x *FeatureSetDefaults_FeatureSetEditionDefault) GetEdition() Edition { + if x != nil && x.Edition != nil { + return *x.Edition + } + return Edition_EDITION_UNKNOWN +} + +func (x *FeatureSetDefaults_FeatureSetEditionDefault) GetOverridableFeatures() *FeatureSet { + if x != nil { + return x.OverridableFeatures + } + return nil +} + +func (x *FeatureSetDefaults_FeatureSetEditionDefault) GetFixedFeatures() *FeatureSet { + if x != nil { + return x.FixedFeatures + } + return nil +} + +type SourceCodeInfo_Location struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Identifies which part of the FileDescriptorProto was defined at this + // 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: + // + // [ 4, 3, 2, 7, 1 ] + // + // refers to: + // + // file.message_type(3) // 4, 3 + // .field(7) // 2, 7 + // .name() // 1 + // + // This is because FileDescriptorProto.message_type has field number 4: + // + // repeated DescriptorProto message_type = 4; + // + // and DescriptorProto.field has field number 2: + // + // repeated FieldDescriptorProto field = 2; + // + // and FieldDescriptorProto.name has field number 1: + // + // optional string name = 1; + // + // Thus, the above path gives the location of a field name. If we removed + // the last element: + // + // [ 4, 3, 2, 7 ] + // + // this path refers to the whole field declaration (from the beginning + // of the label to the terminating semicolon). + Path []int32 `protobuf:"varint,1,rep,packed,name=path" json:"path,omitempty"` + // Always has exactly three or four elements: start line, start column, + // end line (optional, otherwise assumed same as start line), end column. + // These are packed into a single field for efficiency. Note that line + // and column numbers are zero-based -- typically you will want to add + // 1 to each before displaying to a user. + Span []int32 `protobuf:"varint,2,rep,packed,name=span" json:"span,omitempty"` + // If this SourceCodeInfo represents a complete declaration, these are any + // comments appearing before and after the declaration which appear to be + // attached to the declaration. + // + // A series of line comments appearing on consecutive lines, with no other + // tokens appearing on those lines, will be treated as a single comment. + // + // leading_detached_comments will keep paragraphs of comments that appear + // before (but not connected to) the current element. Each paragraph, + // separated by empty lines, will be one comment element in the repeated + // field. + // + // Only the comment content is provided; comment markers (e.g. //) are + // stripped out. For block comments, leading whitespace and an asterisk + // will be stripped from the beginning of each line other than the first. + // Newlines are included in the output. + // + // Examples: + // + // optional int32 foo = 1; // Comment attached to foo. + // // Comment attached to bar. + // optional int32 bar = 2; + // + // optional string baz = 3; + // // Comment attached to baz. + // // Another line attached to baz. + // + // // Comment attached to moo. + // // + // // Another line attached to moo. + // optional double moo = 4; + // + // // Detached comment for corge. This is not leading or trailing comments + // // to moo or corge because there are blank lines separating it from + // // both. + // + // // Detached comment for corge paragraph 2. + // + // optional string corge = 5; + // /* Block comment attached + // * to corge. Leading asterisks + // * will be removed. */ + // /* Block comment attached to + // * grault. */ + // optional int32 grault = 6; + // + // // ignored detached comments. + LeadingComments *string `protobuf:"bytes,3,opt,name=leading_comments,json=leadingComments" json:"leading_comments,omitempty"` + TrailingComments *string `protobuf:"bytes,4,opt,name=trailing_comments,json=trailingComments" json:"trailing_comments,omitempty"` + LeadingDetachedComments []string `protobuf:"bytes,6,rep,name=leading_detached_comments,json=leadingDetachedComments" json:"leading_detached_comments,omitempty"` +} + +func (x *SourceCodeInfo_Location) Reset() { + *x = SourceCodeInfo_Location{} + if protoimpl.UnsafeEnabled { + mi := &file_google_protobuf_descriptor_proto_msgTypes[31] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SourceCodeInfo_Location) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SourceCodeInfo_Location) ProtoMessage() {} + +func (x *SourceCodeInfo_Location) ProtoReflect() protoreflect.Message { + mi := &file_google_protobuf_descriptor_proto_msgTypes[31] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SourceCodeInfo_Location.ProtoReflect.Descriptor instead. +func (*SourceCodeInfo_Location) Descriptor() ([]byte, []int) { + return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{21, 0} +} + +func (x *SourceCodeInfo_Location) GetPath() []int32 { + if x != nil { + return x.Path + } + return nil +} + +func (x *SourceCodeInfo_Location) GetSpan() []int32 { + if x != nil { + return x.Span + } + return nil +} + +func (x *SourceCodeInfo_Location) GetLeadingComments() string { + if x != nil && x.LeadingComments != nil { + return *x.LeadingComments + } + return "" +} + +func (x *SourceCodeInfo_Location) GetTrailingComments() string { + if x != nil && x.TrailingComments != nil { + return *x.TrailingComments + } + return "" +} + +func (x *SourceCodeInfo_Location) GetLeadingDetachedComments() []string { + if x != nil { + return x.LeadingDetachedComments + } + return nil +} + +type GeneratedCodeInfo_Annotation struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Identifies the element in the original source .proto file. This field + // is formatted the same as SourceCodeInfo.Location.path. + Path []int32 `protobuf:"varint,1,rep,packed,name=path" json:"path,omitempty"` + // Identifies the filesystem path to the original source .proto. + SourceFile *string `protobuf:"bytes,2,opt,name=source_file,json=sourceFile" json:"source_file,omitempty"` + // Identifies the starting offset in bytes in the generated code + // that relates to the identified object. + Begin *int32 `protobuf:"varint,3,opt,name=begin" json:"begin,omitempty"` + // Identifies the ending offset in bytes in the generated code that + // relates to the identified object. The end offset should be one past + // the last relevant byte (so the length of the text = end - begin). + End *int32 `protobuf:"varint,4,opt,name=end" json:"end,omitempty"` + Semantic *GeneratedCodeInfo_Annotation_Semantic `protobuf:"varint,5,opt,name=semantic,enum=google.protobuf.GeneratedCodeInfo_Annotation_Semantic" json:"semantic,omitempty"` +} + +func (x *GeneratedCodeInfo_Annotation) Reset() { + *x = GeneratedCodeInfo_Annotation{} + if protoimpl.UnsafeEnabled { + mi := &file_google_protobuf_descriptor_proto_msgTypes[32] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GeneratedCodeInfo_Annotation) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GeneratedCodeInfo_Annotation) ProtoMessage() {} + +func (x *GeneratedCodeInfo_Annotation) ProtoReflect() protoreflect.Message { + mi := &file_google_protobuf_descriptor_proto_msgTypes[32] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GeneratedCodeInfo_Annotation.ProtoReflect.Descriptor instead. +func (*GeneratedCodeInfo_Annotation) Descriptor() ([]byte, []int) { + return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{22, 0} +} + +func (x *GeneratedCodeInfo_Annotation) GetPath() []int32 { + if x != nil { + return x.Path + } + return nil +} + +func (x *GeneratedCodeInfo_Annotation) GetSourceFile() string { + if x != nil && x.SourceFile != nil { + return *x.SourceFile + } + return "" +} + +func (x *GeneratedCodeInfo_Annotation) GetBegin() int32 { + if x != nil && x.Begin != nil { + return *x.Begin + } + return 0 +} + +func (x *GeneratedCodeInfo_Annotation) GetEnd() int32 { + if x != nil && x.End != nil { + return *x.End + } + return 0 +} + +func (x *GeneratedCodeInfo_Annotation) GetSemantic() GeneratedCodeInfo_Annotation_Semantic { + if x != nil && x.Semantic != nil { + return *x.Semantic + } + return GeneratedCodeInfo_Annotation_NONE +} + +var File_google_protobuf_descriptor_proto protoreflect.FileDescriptor + +var file_google_protobuf_descriptor_proto_rawDesc = []byte{ + 0x0a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, + 0x66, 0x2f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x12, 0x0f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x75, 0x66, 0x22, 0x4d, 0x0a, 0x11, 0x46, 0x69, 0x6c, 0x65, 0x44, 0x65, 0x73, 0x63, 0x72, + 0x69, 0x70, 0x74, 0x6f, 0x72, 0x53, 0x65, 0x74, 0x12, 0x38, 0x0a, 0x04, 0x66, 0x69, 0x6c, 0x65, + 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x44, 0x65, 0x73, + 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x04, 0x66, 0x69, + 0x6c, 0x65, 0x22, 0x98, 0x05, 0x0a, 0x13, 0x46, 0x69, 0x6c, 0x65, 0x44, 0x65, 0x73, 0x63, 0x72, + 0x69, 0x70, 0x74, 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, + 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x18, + 0x0a, 0x07, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x07, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x64, 0x65, 0x70, 0x65, + 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x79, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x64, 0x65, + 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x79, 0x12, 0x2b, 0x0a, 0x11, 0x70, 0x75, 0x62, 0x6c, + 0x69, 0x63, 0x5f, 0x64, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x79, 0x18, 0x0a, 0x20, + 0x03, 0x28, 0x05, 0x52, 0x10, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x44, 0x65, 0x70, 0x65, 0x6e, + 0x64, 0x65, 0x6e, 0x63, 0x79, 0x12, 0x27, 0x0a, 0x0f, 0x77, 0x65, 0x61, 0x6b, 0x5f, 0x64, 0x65, + 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x79, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x05, 0x52, 0x0e, + 0x77, 0x65, 0x61, 0x6b, 0x44, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x79, 0x12, 0x43, + 0x0a, 0x0c, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, + 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x0b, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, + 0x79, 0x70, 0x65, 0x12, 0x41, 0x0a, 0x09, 0x65, 0x6e, 0x75, 0x6d, 0x5f, 0x74, 0x79, 0x70, 0x65, + 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x44, 0x65, 0x73, + 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x08, 0x65, 0x6e, + 0x75, 0x6d, 0x54, 0x79, 0x70, 0x65, 0x12, 0x41, 0x0a, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, + 0x65, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, + 0x65, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, + 0x52, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x43, 0x0a, 0x09, 0x65, 0x78, 0x74, + 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x67, + 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, + 0x69, 0x65, 0x6c, 0x64, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x50, 0x72, + 0x6f, 0x74, 0x6f, 0x52, 0x09, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x36, + 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, + 0x66, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x07, 0x6f, + 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x49, 0x0a, 0x10, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, + 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x1f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x75, 0x66, 0x2e, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, + 0x6f, 0x52, 0x0e, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, + 0x6f, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x79, 0x6e, 0x74, 0x61, 0x78, 0x18, 0x0c, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x06, 0x73, 0x79, 0x6e, 0x74, 0x61, 0x78, 0x12, 0x32, 0x0a, 0x07, 0x65, 0x64, 0x69, + 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x18, 0x2e, 0x67, 0x6f, 0x6f, + 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x64, 0x69, + 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xb9, 0x06, + 0x0a, 0x0f, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74, + 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x3b, 0x0a, 0x05, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x18, 0x02, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x44, 0x65, 0x73, 0x63, + 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x05, 0x66, 0x69, 0x65, + 0x6c, 0x64, 0x12, 0x43, 0x0a, 0x09, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x18, + 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x44, 0x65, 0x73, + 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x09, 0x65, 0x78, + 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x41, 0x0a, 0x0b, 0x6e, 0x65, 0x73, 0x74, 0x65, + 0x64, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x67, + 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, + 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x0a, + 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x54, 0x79, 0x70, 0x65, 0x12, 0x41, 0x0a, 0x09, 0x65, 0x6e, + 0x75, 0x6d, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, + 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, + 0x45, 0x6e, 0x75, 0x6d, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x50, 0x72, + 0x6f, 0x74, 0x6f, 0x52, 0x08, 0x65, 0x6e, 0x75, 0x6d, 0x54, 0x79, 0x70, 0x65, 0x12, 0x58, 0x0a, + 0x0f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x72, 0x61, 0x6e, 0x67, 0x65, + 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, + 0x74, 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, + 0x6f, 0x6e, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x0e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, + 0x6f, 0x6e, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x44, 0x0a, 0x0a, 0x6f, 0x6e, 0x65, 0x6f, 0x66, + 0x5f, 0x64, 0x65, 0x63, 0x6c, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x67, 0x6f, + 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4f, 0x6e, + 0x65, 0x6f, 0x66, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x50, 0x72, 0x6f, + 0x74, 0x6f, 0x52, 0x09, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x44, 0x65, 0x63, 0x6c, 0x12, 0x39, 0x0a, + 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, + 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, + 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, + 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x55, 0x0a, 0x0e, 0x72, 0x65, 0x73, 0x65, + 0x72, 0x76, 0x65, 0x64, 0x5f, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x2e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x75, 0x66, 0x2e, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x50, 0x72, 0x6f, + 0x74, 0x6f, 0x2e, 0x52, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x52, 0x61, 0x6e, 0x67, 0x65, + 0x52, 0x0d, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x12, + 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x5f, 0x6e, 0x61, 0x6d, 0x65, + 0x18, 0x0a, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, + 0x4e, 0x61, 0x6d, 0x65, 0x1a, 0x7a, 0x0a, 0x0e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, + 0x6e, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x72, 0x74, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x73, 0x74, 0x61, 0x72, 0x74, 0x12, 0x10, 0x0a, 0x03, + 0x65, 0x6e, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x65, 0x6e, 0x64, 0x12, 0x40, + 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x26, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, + 0x66, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x61, 0x6e, 0x67, 0x65, + 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, + 0x1a, 0x37, 0x0a, 0x0d, 0x52, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x52, 0x61, 0x6e, 0x67, + 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x72, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, + 0x52, 0x05, 0x73, 0x74, 0x61, 0x72, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x65, 0x6e, 0x64, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x65, 0x6e, 0x64, 0x22, 0xcc, 0x04, 0x0a, 0x15, 0x45, 0x78, + 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x4f, 0x70, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x12, 0x58, 0x0a, 0x14, 0x75, 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, + 0x65, 0x74, 0x65, 0x64, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0xe7, 0x07, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, + 0x65, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x13, 0x75, 0x6e, 0x69, 0x6e, 0x74, 0x65, + 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x59, 0x0a, + 0x0b, 0x64, 0x65, 0x63, 0x6c, 0x61, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x61, + 0x6e, 0x67, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x44, 0x65, 0x63, 0x6c, 0x61, + 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x03, 0x88, 0x01, 0x02, 0x52, 0x0b, 0x64, 0x65, 0x63, + 0x6c, 0x61, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x37, 0x0a, 0x08, 0x66, 0x65, 0x61, 0x74, + 0x75, 0x72, 0x65, 0x73, 0x18, 0x32, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, + 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x65, 0x61, + 0x74, 0x75, 0x72, 0x65, 0x53, 0x65, 0x74, 0x52, 0x08, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, + 0x73, 0x12, 0x6d, 0x0a, 0x0c, 0x76, 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x38, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, + 0x69, 0x6f, 0x6e, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, + 0x56, 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, + 0x65, 0x3a, 0x0a, 0x55, 0x4e, 0x56, 0x45, 0x52, 0x49, 0x46, 0x49, 0x45, 0x44, 0x42, 0x03, 0x88, + 0x01, 0x02, 0x52, 0x0c, 0x76, 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x1a, 0x94, 0x01, 0x0a, 0x0b, 0x44, 0x65, 0x63, 0x6c, 0x61, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, + 0x52, 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x75, 0x6c, 0x6c, + 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x75, 0x6c, + 0x6c, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x73, + 0x65, 0x72, 0x76, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x72, 0x65, 0x73, + 0x65, 0x72, 0x76, 0x65, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, + 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, + 0x64, 0x4a, 0x04, 0x08, 0x04, 0x10, 0x05, 0x22, 0x34, 0x0a, 0x11, 0x56, 0x65, 0x72, 0x69, 0x66, + 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x0f, 0x0a, 0x0b, + 0x44, 0x45, 0x43, 0x4c, 0x41, 0x52, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x00, 0x12, 0x0e, 0x0a, + 0x0a, 0x55, 0x4e, 0x56, 0x45, 0x52, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x01, 0x2a, 0x09, 0x08, + 0xe8, 0x07, 0x10, 0x80, 0x80, 0x80, 0x80, 0x02, 0x22, 0xc1, 0x06, 0x0a, 0x14, 0x46, 0x69, 0x65, + 0x6c, 0x64, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74, + 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x41, 0x0a, + 0x05, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2b, 0x2e, 0x67, + 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, + 0x69, 0x65, 0x6c, 0x64, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x50, 0x72, + 0x6f, 0x74, 0x6f, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x52, 0x05, 0x6c, 0x61, 0x62, 0x65, 0x6c, + 0x12, 0x3e, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2a, + 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, + 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, + 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, + 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x06, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x08, 0x74, 0x79, 0x70, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, + 0x08, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x08, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x64, 0x65, 0x66, + 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x0c, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1f, + 0x0a, 0x0b, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x09, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x0a, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, + 0x1b, 0x0a, 0x09, 0x6a, 0x73, 0x6f, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x0a, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x08, 0x6a, 0x73, 0x6f, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x37, 0x0a, 0x07, + 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, + 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, + 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x07, 0x6f, 0x70, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x27, 0x0a, 0x0f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 0x5f, + 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x18, 0x11, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x22, 0xb6, + 0x02, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0f, 0x0a, 0x0b, 0x54, 0x59, 0x50, 0x45, 0x5f, + 0x44, 0x4f, 0x55, 0x42, 0x4c, 0x45, 0x10, 0x01, 0x12, 0x0e, 0x0a, 0x0a, 0x54, 0x59, 0x50, 0x45, + 0x5f, 0x46, 0x4c, 0x4f, 0x41, 0x54, 0x10, 0x02, 0x12, 0x0e, 0x0a, 0x0a, 0x54, 0x59, 0x50, 0x45, + 0x5f, 0x49, 0x4e, 0x54, 0x36, 0x34, 0x10, 0x03, 0x12, 0x0f, 0x0a, 0x0b, 0x54, 0x59, 0x50, 0x45, + 0x5f, 0x55, 0x49, 0x4e, 0x54, 0x36, 0x34, 0x10, 0x04, 0x12, 0x0e, 0x0a, 0x0a, 0x54, 0x59, 0x50, + 0x45, 0x5f, 0x49, 0x4e, 0x54, 0x33, 0x32, 0x10, 0x05, 0x12, 0x10, 0x0a, 0x0c, 0x54, 0x59, 0x50, + 0x45, 0x5f, 0x46, 0x49, 0x58, 0x45, 0x44, 0x36, 0x34, 0x10, 0x06, 0x12, 0x10, 0x0a, 0x0c, 0x54, + 0x59, 0x50, 0x45, 0x5f, 0x46, 0x49, 0x58, 0x45, 0x44, 0x33, 0x32, 0x10, 0x07, 0x12, 0x0d, 0x0a, + 0x09, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x42, 0x4f, 0x4f, 0x4c, 0x10, 0x08, 0x12, 0x0f, 0x0a, 0x0b, + 0x54, 0x59, 0x50, 0x45, 0x5f, 0x53, 0x54, 0x52, 0x49, 0x4e, 0x47, 0x10, 0x09, 0x12, 0x0e, 0x0a, + 0x0a, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x47, 0x52, 0x4f, 0x55, 0x50, 0x10, 0x0a, 0x12, 0x10, 0x0a, + 0x0c, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4d, 0x45, 0x53, 0x53, 0x41, 0x47, 0x45, 0x10, 0x0b, 0x12, + 0x0e, 0x0a, 0x0a, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x42, 0x59, 0x54, 0x45, 0x53, 0x10, 0x0c, 0x12, + 0x0f, 0x0a, 0x0b, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x49, 0x4e, 0x54, 0x33, 0x32, 0x10, 0x0d, + 0x12, 0x0d, 0x0a, 0x09, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x45, 0x4e, 0x55, 0x4d, 0x10, 0x0e, 0x12, + 0x11, 0x0a, 0x0d, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x53, 0x46, 0x49, 0x58, 0x45, 0x44, 0x33, 0x32, + 0x10, 0x0f, 0x12, 0x11, 0x0a, 0x0d, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x53, 0x46, 0x49, 0x58, 0x45, + 0x44, 0x36, 0x34, 0x10, 0x10, 0x12, 0x0f, 0x0a, 0x0b, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x53, 0x49, + 0x4e, 0x54, 0x33, 0x32, 0x10, 0x11, 0x12, 0x0f, 0x0a, 0x0b, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x53, + 0x49, 0x4e, 0x54, 0x36, 0x34, 0x10, 0x12, 0x22, 0x43, 0x0a, 0x05, 0x4c, 0x61, 0x62, 0x65, 0x6c, + 0x12, 0x12, 0x0a, 0x0e, 0x4c, 0x41, 0x42, 0x45, 0x4c, 0x5f, 0x4f, 0x50, 0x54, 0x49, 0x4f, 0x4e, + 0x41, 0x4c, 0x10, 0x01, 0x12, 0x12, 0x0a, 0x0e, 0x4c, 0x41, 0x42, 0x45, 0x4c, 0x5f, 0x52, 0x45, + 0x50, 0x45, 0x41, 0x54, 0x45, 0x44, 0x10, 0x03, 0x12, 0x12, 0x0a, 0x0e, 0x4c, 0x41, 0x42, 0x45, + 0x4c, 0x5f, 0x52, 0x45, 0x51, 0x55, 0x49, 0x52, 0x45, 0x44, 0x10, 0x02, 0x22, 0x63, 0x0a, 0x14, + 0x4f, 0x6e, 0x65, 0x6f, 0x66, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x50, + 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x37, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, + 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4f, 0x6e, 0x65, 0x6f, + 0x66, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x22, 0xe3, 0x02, 0x0a, 0x13, 0x45, 0x6e, 0x75, 0x6d, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, + 0x70, 0x74, 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, + 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x3f, 0x0a, + 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x67, + 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, + 0x6e, 0x75, 0x6d, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, + 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x36, + 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, + 0x66, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x07, 0x6f, + 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x5d, 0x0a, 0x0e, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, + 0x65, 0x64, 0x5f, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x36, + 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, + 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x50, + 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, + 0x64, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x0d, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, + 0x52, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, + 0x64, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, + 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x1a, 0x3b, 0x0a, 0x11, 0x45, 0x6e, + 0x75, 0x6d, 0x52, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x12, + 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x72, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, + 0x73, 0x74, 0x61, 0x72, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x65, 0x6e, 0x64, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x05, 0x52, 0x03, 0x65, 0x6e, 0x64, 0x22, 0x83, 0x01, 0x0a, 0x18, 0x45, 0x6e, 0x75, 0x6d, + 0x56, 0x61, 0x6c, 0x75, 0x65, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x50, + 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x75, 0x6d, 0x62, + 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, + 0x12, 0x3b, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x21, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x4f, 0x70, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0xa7, 0x01, + 0x0a, 0x16, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, + 0x74, 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x3e, 0x0a, 0x06, + 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x67, + 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4d, + 0x65, 0x74, 0x68, 0x6f, 0x64, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x50, + 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x12, 0x39, 0x0a, 0x07, + 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, + 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, + 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x07, + 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x89, 0x02, 0x0a, 0x15, 0x4d, 0x65, 0x74, 0x68, + 0x6f, 0x64, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74, + 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x5f, 0x74, + 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x69, 0x6e, 0x70, 0x75, 0x74, + 0x54, 0x79, 0x70, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, 0x74, + 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6f, 0x75, 0x74, 0x70, 0x75, + 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x38, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x4f, + 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, + 0x30, 0x0a, 0x10, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, + 0x69, 0x6e, 0x67, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x3a, 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65, + 0x52, 0x0f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x69, 0x6e, + 0x67, 0x12, 0x30, 0x0a, 0x10, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x73, 0x74, 0x72, 0x65, + 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x3a, 0x05, 0x66, 0x61, 0x6c, + 0x73, 0x65, 0x52, 0x0f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, + 0x69, 0x6e, 0x67, 0x22, 0xad, 0x09, 0x0a, 0x0b, 0x46, 0x69, 0x6c, 0x65, 0x4f, 0x70, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x6a, 0x61, 0x76, 0x61, 0x5f, 0x70, 0x61, 0x63, 0x6b, + 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6a, 0x61, 0x76, 0x61, 0x50, + 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x12, 0x30, 0x0a, 0x14, 0x6a, 0x61, 0x76, 0x61, 0x5f, 0x6f, + 0x75, 0x74, 0x65, 0x72, 0x5f, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x08, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x6a, 0x61, 0x76, 0x61, 0x4f, 0x75, 0x74, 0x65, 0x72, 0x43, + 0x6c, 0x61, 0x73, 0x73, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x35, 0x0a, 0x13, 0x6a, 0x61, 0x76, 0x61, + 0x5f, 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x70, 0x6c, 0x65, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x18, + 0x0a, 0x20, 0x01, 0x28, 0x08, 0x3a, 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x52, 0x11, 0x6a, 0x61, + 0x76, 0x61, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x70, 0x6c, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x12, + 0x44, 0x0a, 0x1d, 0x6a, 0x61, 0x76, 0x61, 0x5f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, + 0x5f, 0x65, 0x71, 0x75, 0x61, 0x6c, 0x73, 0x5f, 0x61, 0x6e, 0x64, 0x5f, 0x68, 0x61, 0x73, 0x68, + 0x18, 0x14, 0x20, 0x01, 0x28, 0x08, 0x42, 0x02, 0x18, 0x01, 0x52, 0x19, 0x6a, 0x61, 0x76, 0x61, + 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x45, 0x71, 0x75, 0x61, 0x6c, 0x73, 0x41, 0x6e, + 0x64, 0x48, 0x61, 0x73, 0x68, 0x12, 0x3a, 0x0a, 0x16, 0x6a, 0x61, 0x76, 0x61, 0x5f, 0x73, 0x74, + 0x72, 0x69, 0x6e, 0x67, 0x5f, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x5f, 0x75, 0x74, 0x66, 0x38, 0x18, + 0x1b, 0x20, 0x01, 0x28, 0x08, 0x3a, 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x52, 0x13, 0x6a, 0x61, + 0x76, 0x61, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x55, 0x74, 0x66, + 0x38, 0x12, 0x53, 0x0a, 0x0c, 0x6f, 0x70, 0x74, 0x69, 0x6d, 0x69, 0x7a, 0x65, 0x5f, 0x66, 0x6f, + 0x72, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x29, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x4f, 0x70, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6d, 0x69, 0x7a, 0x65, 0x4d, 0x6f, + 0x64, 0x65, 0x3a, 0x05, 0x53, 0x50, 0x45, 0x45, 0x44, 0x52, 0x0b, 0x6f, 0x70, 0x74, 0x69, 0x6d, + 0x69, 0x7a, 0x65, 0x46, 0x6f, 0x72, 0x12, 0x1d, 0x0a, 0x0a, 0x67, 0x6f, 0x5f, 0x70, 0x61, 0x63, + 0x6b, 0x61, 0x67, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x67, 0x6f, 0x50, 0x61, + 0x63, 0x6b, 0x61, 0x67, 0x65, 0x12, 0x35, 0x0a, 0x13, 0x63, 0x63, 0x5f, 0x67, 0x65, 0x6e, 0x65, + 0x72, 0x69, 0x63, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x18, 0x10, 0x20, 0x01, + 0x28, 0x08, 0x3a, 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x52, 0x11, 0x63, 0x63, 0x47, 0x65, 0x6e, + 0x65, 0x72, 0x69, 0x63, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x12, 0x39, 0x0a, 0x15, + 0x6a, 0x61, 0x76, 0x61, 0x5f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x5f, 0x73, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0x73, 0x18, 0x11, 0x20, 0x01, 0x28, 0x08, 0x3a, 0x05, 0x66, 0x61, 0x6c, + 0x73, 0x65, 0x52, 0x13, 0x6a, 0x61, 0x76, 0x61, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x53, + 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x12, 0x35, 0x0a, 0x13, 0x70, 0x79, 0x5f, 0x67, 0x65, + 0x6e, 0x65, 0x72, 0x69, 0x63, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x18, 0x12, + 0x20, 0x01, 0x28, 0x08, 0x3a, 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x52, 0x11, 0x70, 0x79, 0x47, + 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x12, 0x25, + 0x0a, 0x0a, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x18, 0x17, 0x20, 0x01, + 0x28, 0x08, 0x3a, 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x52, 0x0a, 0x64, 0x65, 0x70, 0x72, 0x65, + 0x63, 0x61, 0x74, 0x65, 0x64, 0x12, 0x2e, 0x0a, 0x10, 0x63, 0x63, 0x5f, 0x65, 0x6e, 0x61, 0x62, + 0x6c, 0x65, 0x5f, 0x61, 0x72, 0x65, 0x6e, 0x61, 0x73, 0x18, 0x1f, 0x20, 0x01, 0x28, 0x08, 0x3a, + 0x04, 0x74, 0x72, 0x75, 0x65, 0x52, 0x0e, 0x63, 0x63, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x41, + 0x72, 0x65, 0x6e, 0x61, 0x73, 0x12, 0x2a, 0x0a, 0x11, 0x6f, 0x62, 0x6a, 0x63, 0x5f, 0x63, 0x6c, + 0x61, 0x73, 0x73, 0x5f, 0x70, 0x72, 0x65, 0x66, 0x69, 0x78, 0x18, 0x24, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x0f, 0x6f, 0x62, 0x6a, 0x63, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x50, 0x72, 0x65, 0x66, 0x69, + 0x78, 0x12, 0x29, 0x0a, 0x10, 0x63, 0x73, 0x68, 0x61, 0x72, 0x70, 0x5f, 0x6e, 0x61, 0x6d, 0x65, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x25, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x63, 0x73, 0x68, + 0x61, 0x72, 0x70, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x21, 0x0a, 0x0c, + 0x73, 0x77, 0x69, 0x66, 0x74, 0x5f, 0x70, 0x72, 0x65, 0x66, 0x69, 0x78, 0x18, 0x27, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x0b, 0x73, 0x77, 0x69, 0x66, 0x74, 0x50, 0x72, 0x65, 0x66, 0x69, 0x78, 0x12, + 0x28, 0x0a, 0x10, 0x70, 0x68, 0x70, 0x5f, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x5f, 0x70, 0x72, 0x65, + 0x66, 0x69, 0x78, 0x18, 0x28, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x70, 0x68, 0x70, 0x43, 0x6c, + 0x61, 0x73, 0x73, 0x50, 0x72, 0x65, 0x66, 0x69, 0x78, 0x12, 0x23, 0x0a, 0x0d, 0x70, 0x68, 0x70, + 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x29, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x0c, 0x70, 0x68, 0x70, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x34, + 0x0a, 0x16, 0x70, 0x68, 0x70, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x6e, + 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x2c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x14, + 0x70, 0x68, 0x70, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x4e, 0x61, 0x6d, 0x65, 0x73, + 0x70, 0x61, 0x63, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x72, 0x75, 0x62, 0x79, 0x5f, 0x70, 0x61, 0x63, + 0x6b, 0x61, 0x67, 0x65, 0x18, 0x2d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x72, 0x75, 0x62, 0x79, + 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x12, 0x37, 0x0a, 0x08, 0x66, 0x65, 0x61, 0x74, 0x75, + 0x72, 0x65, 0x73, 0x18, 0x32, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, + 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x65, 0x61, 0x74, + 0x75, 0x72, 0x65, 0x53, 0x65, 0x74, 0x52, 0x08, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, + 0x12, 0x58, 0x0a, 0x14, 0x75, 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, + 0x64, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0xe7, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, + 0x66, 0x2e, 0x55, 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x4f, + 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x13, 0x75, 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, + 0x65, 0x74, 0x65, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x3a, 0x0a, 0x0c, 0x4f, 0x70, + 0x74, 0x69, 0x6d, 0x69, 0x7a, 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x09, 0x0a, 0x05, 0x53, 0x50, + 0x45, 0x45, 0x44, 0x10, 0x01, 0x12, 0x0d, 0x0a, 0x09, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x53, 0x49, + 0x5a, 0x45, 0x10, 0x02, 0x12, 0x10, 0x0a, 0x0c, 0x4c, 0x49, 0x54, 0x45, 0x5f, 0x52, 0x55, 0x4e, + 0x54, 0x49, 0x4d, 0x45, 0x10, 0x03, 0x2a, 0x09, 0x08, 0xe8, 0x07, 0x10, 0x80, 0x80, 0x80, 0x80, + 0x02, 0x4a, 0x04, 0x08, 0x2a, 0x10, 0x2b, 0x4a, 0x04, 0x08, 0x26, 0x10, 0x27, 0x52, 0x14, 0x70, + 0x68, 0x70, 0x5f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, + 0x63, 0x65, 0x73, 0x22, 0xf4, 0x03, 0x0a, 0x0e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x4f, + 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x3c, 0x0a, 0x17, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, + 0x65, 0x5f, 0x73, 0x65, 0x74, 0x5f, 0x77, 0x69, 0x72, 0x65, 0x5f, 0x66, 0x6f, 0x72, 0x6d, 0x61, + 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x3a, 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x52, 0x14, + 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x57, 0x69, 0x72, 0x65, 0x46, 0x6f, + 0x72, 0x6d, 0x61, 0x74, 0x12, 0x4c, 0x0a, 0x1f, 0x6e, 0x6f, 0x5f, 0x73, 0x74, 0x61, 0x6e, 0x64, + 0x61, 0x72, 0x64, 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x5f, 0x61, + 0x63, 0x63, 0x65, 0x73, 0x73, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x3a, 0x05, 0x66, + 0x61, 0x6c, 0x73, 0x65, 0x52, 0x1c, 0x6e, 0x6f, 0x53, 0x74, 0x61, 0x6e, 0x64, 0x61, 0x72, 0x64, + 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, + 0x6f, 0x72, 0x12, 0x25, 0x0a, 0x0a, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x3a, 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x52, 0x0a, 0x64, + 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x70, + 0x5f, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x6d, 0x61, + 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x56, 0x0a, 0x26, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, + 0x61, 0x74, 0x65, 0x64, 0x5f, 0x6c, 0x65, 0x67, 0x61, 0x63, 0x79, 0x5f, 0x6a, 0x73, 0x6f, 0x6e, + 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x6c, 0x69, 0x63, 0x74, 0x73, + 0x18, 0x0b, 0x20, 0x01, 0x28, 0x08, 0x42, 0x02, 0x18, 0x01, 0x52, 0x22, 0x64, 0x65, 0x70, 0x72, + 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x4c, 0x65, 0x67, 0x61, 0x63, 0x79, 0x4a, 0x73, 0x6f, 0x6e, + 0x46, 0x69, 0x65, 0x6c, 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x6c, 0x69, 0x63, 0x74, 0x73, 0x12, 0x37, + 0x0a, 0x08, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x75, 0x66, 0x2e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x53, 0x65, 0x74, 0x52, 0x08, 0x66, + 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x12, 0x58, 0x0a, 0x14, 0x75, 0x6e, 0x69, 0x6e, 0x74, + 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, + 0xe7, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, + 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x13, 0x75, 0x6e, + 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, + 0x6e, 0x2a, 0x09, 0x08, 0xe8, 0x07, 0x10, 0x80, 0x80, 0x80, 0x80, 0x02, 0x4a, 0x04, 0x08, 0x04, + 0x10, 0x05, 0x4a, 0x04, 0x08, 0x05, 0x10, 0x06, 0x4a, 0x04, 0x08, 0x06, 0x10, 0x07, 0x4a, 0x04, + 0x08, 0x08, 0x10, 0x09, 0x4a, 0x04, 0x08, 0x09, 0x10, 0x0a, 0x22, 0x9d, 0x0d, 0x0a, 0x0c, 0x46, + 0x69, 0x65, 0x6c, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x41, 0x0a, 0x05, 0x63, + 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x23, 0x2e, 0x67, 0x6f, 0x6f, + 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, + 0x6c, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x43, 0x54, 0x79, 0x70, 0x65, 0x3a, + 0x06, 0x53, 0x54, 0x52, 0x49, 0x4e, 0x47, 0x52, 0x05, 0x63, 0x74, 0x79, 0x70, 0x65, 0x12, 0x16, + 0x0a, 0x06, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, + 0x70, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x12, 0x47, 0x0a, 0x06, 0x6a, 0x73, 0x74, 0x79, 0x70, 0x65, + 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4f, 0x70, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x4a, 0x53, 0x54, 0x79, 0x70, 0x65, 0x3a, 0x09, 0x4a, 0x53, + 0x5f, 0x4e, 0x4f, 0x52, 0x4d, 0x41, 0x4c, 0x52, 0x06, 0x6a, 0x73, 0x74, 0x79, 0x70, 0x65, 0x12, + 0x19, 0x0a, 0x04, 0x6c, 0x61, 0x7a, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x3a, 0x05, 0x66, + 0x61, 0x6c, 0x73, 0x65, 0x52, 0x04, 0x6c, 0x61, 0x7a, 0x79, 0x12, 0x2e, 0x0a, 0x0f, 0x75, 0x6e, + 0x76, 0x65, 0x72, 0x69, 0x66, 0x69, 0x65, 0x64, 0x5f, 0x6c, 0x61, 0x7a, 0x79, 0x18, 0x0f, 0x20, + 0x01, 0x28, 0x08, 0x3a, 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x52, 0x0e, 0x75, 0x6e, 0x76, 0x65, + 0x72, 0x69, 0x66, 0x69, 0x65, 0x64, 0x4c, 0x61, 0x7a, 0x79, 0x12, 0x25, 0x0a, 0x0a, 0x64, 0x65, + 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x3a, 0x05, + 0x66, 0x61, 0x6c, 0x73, 0x65, 0x52, 0x0a, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, + 0x64, 0x12, 0x19, 0x0a, 0x04, 0x77, 0x65, 0x61, 0x6b, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x3a, + 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x52, 0x04, 0x77, 0x65, 0x61, 0x6b, 0x12, 0x28, 0x0a, 0x0c, + 0x64, 0x65, 0x62, 0x75, 0x67, 0x5f, 0x72, 0x65, 0x64, 0x61, 0x63, 0x74, 0x18, 0x10, 0x20, 0x01, + 0x28, 0x08, 0x3a, 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x52, 0x0b, 0x64, 0x65, 0x62, 0x75, 0x67, + 0x52, 0x65, 0x64, 0x61, 0x63, 0x74, 0x12, 0x4b, 0x0a, 0x09, 0x72, 0x65, 0x74, 0x65, 0x6e, 0x74, + 0x69, 0x6f, 0x6e, 0x18, 0x11, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, + 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, + 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, + 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x72, 0x65, 0x74, 0x65, 0x6e, 0x74, + 0x69, 0x6f, 0x6e, 0x12, 0x48, 0x0a, 0x07, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x18, 0x13, + 0x20, 0x03, 0x28, 0x0e, 0x32, 0x2e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4f, 0x70, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, + 0x54, 0x79, 0x70, 0x65, 0x52, 0x07, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x12, 0x57, 0x0a, + 0x10, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, + 0x73, 0x18, 0x14, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4f, + 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x45, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, + 0x66, 0x61, 0x75, 0x6c, 0x74, 0x52, 0x0f, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, + 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x12, 0x37, 0x0a, 0x08, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, + 0x65, 0x73, 0x18, 0x15, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, + 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x65, 0x61, 0x74, 0x75, + 0x72, 0x65, 0x53, 0x65, 0x74, 0x52, 0x08, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x12, + 0x55, 0x0a, 0x0f, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x5f, 0x73, 0x75, 0x70, 0x70, 0x6f, + 0x72, 0x74, 0x18, 0x16, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, + 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, + 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x53, + 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x0e, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x53, + 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x58, 0x0a, 0x14, 0x75, 0x6e, 0x69, 0x6e, 0x74, 0x65, + 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0xe7, + 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70, + 0x72, 0x65, 0x74, 0x65, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x13, 0x75, 0x6e, 0x69, + 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, + 0x1a, 0x5a, 0x0a, 0x0e, 0x45, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x66, 0x61, 0x75, + 0x6c, 0x74, 0x12, 0x32, 0x0a, 0x07, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x0e, 0x32, 0x18, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x65, + 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x1a, 0x96, 0x02, 0x0a, + 0x0e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x53, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x12, + 0x47, 0x0a, 0x12, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x6e, 0x74, 0x72, 0x6f, + 0x64, 0x75, 0x63, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x18, 0x2e, 0x67, 0x6f, + 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x64, + 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x11, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, + 0x74, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x65, 0x64, 0x12, 0x47, 0x0a, 0x12, 0x65, 0x64, 0x69, 0x74, + 0x69, 0x6f, 0x6e, 0x5f, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0e, 0x32, 0x18, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x11, + 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, + 0x64, 0x12, 0x2f, 0x0a, 0x13, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x5f, 0x77, 0x61, 0x72, 0x6e, 0x69, 0x6e, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, + 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x57, 0x61, 0x72, 0x6e, 0x69, + 0x6e, 0x67, 0x12, 0x41, 0x0a, 0x0f, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x72, 0x65, + 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x18, 0x2e, 0x67, 0x6f, + 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x64, + 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0e, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, + 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x22, 0x2f, 0x0a, 0x05, 0x43, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0a, + 0x0a, 0x06, 0x53, 0x54, 0x52, 0x49, 0x4e, 0x47, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x43, 0x4f, + 0x52, 0x44, 0x10, 0x01, 0x12, 0x10, 0x0a, 0x0c, 0x53, 0x54, 0x52, 0x49, 0x4e, 0x47, 0x5f, 0x50, + 0x49, 0x45, 0x43, 0x45, 0x10, 0x02, 0x22, 0x35, 0x0a, 0x06, 0x4a, 0x53, 0x54, 0x79, 0x70, 0x65, + 0x12, 0x0d, 0x0a, 0x09, 0x4a, 0x53, 0x5f, 0x4e, 0x4f, 0x52, 0x4d, 0x41, 0x4c, 0x10, 0x00, 0x12, + 0x0d, 0x0a, 0x09, 0x4a, 0x53, 0x5f, 0x53, 0x54, 0x52, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x0d, + 0x0a, 0x09, 0x4a, 0x53, 0x5f, 0x4e, 0x55, 0x4d, 0x42, 0x45, 0x52, 0x10, 0x02, 0x22, 0x55, 0x0a, + 0x0f, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, + 0x12, 0x15, 0x0a, 0x11, 0x52, 0x45, 0x54, 0x45, 0x4e, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x55, 0x4e, + 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x15, 0x0a, 0x11, 0x52, 0x45, 0x54, 0x45, 0x4e, + 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x52, 0x55, 0x4e, 0x54, 0x49, 0x4d, 0x45, 0x10, 0x01, 0x12, 0x14, + 0x0a, 0x10, 0x52, 0x45, 0x54, 0x45, 0x4e, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x53, 0x4f, 0x55, 0x52, + 0x43, 0x45, 0x10, 0x02, 0x22, 0x8c, 0x02, 0x0a, 0x10, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x54, + 0x61, 0x72, 0x67, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x17, 0x0a, 0x13, 0x54, 0x41, 0x52, + 0x47, 0x45, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, + 0x10, 0x00, 0x12, 0x14, 0x0a, 0x10, 0x54, 0x41, 0x52, 0x47, 0x45, 0x54, 0x5f, 0x54, 0x59, 0x50, + 0x45, 0x5f, 0x46, 0x49, 0x4c, 0x45, 0x10, 0x01, 0x12, 0x1f, 0x0a, 0x1b, 0x54, 0x41, 0x52, 0x47, + 0x45, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x45, 0x58, 0x54, 0x45, 0x4e, 0x53, 0x49, 0x4f, + 0x4e, 0x5f, 0x52, 0x41, 0x4e, 0x47, 0x45, 0x10, 0x02, 0x12, 0x17, 0x0a, 0x13, 0x54, 0x41, 0x52, + 0x47, 0x45, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4d, 0x45, 0x53, 0x53, 0x41, 0x47, 0x45, + 0x10, 0x03, 0x12, 0x15, 0x0a, 0x11, 0x54, 0x41, 0x52, 0x47, 0x45, 0x54, 0x5f, 0x54, 0x59, 0x50, + 0x45, 0x5f, 0x46, 0x49, 0x45, 0x4c, 0x44, 0x10, 0x04, 0x12, 0x15, 0x0a, 0x11, 0x54, 0x41, 0x52, + 0x47, 0x45, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4f, 0x4e, 0x45, 0x4f, 0x46, 0x10, 0x05, + 0x12, 0x14, 0x0a, 0x10, 0x54, 0x41, 0x52, 0x47, 0x45, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, + 0x45, 0x4e, 0x55, 0x4d, 0x10, 0x06, 0x12, 0x1a, 0x0a, 0x16, 0x54, 0x41, 0x52, 0x47, 0x45, 0x54, + 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x45, 0x4e, 0x55, 0x4d, 0x5f, 0x45, 0x4e, 0x54, 0x52, 0x59, + 0x10, 0x07, 0x12, 0x17, 0x0a, 0x13, 0x54, 0x41, 0x52, 0x47, 0x45, 0x54, 0x5f, 0x54, 0x59, 0x50, + 0x45, 0x5f, 0x53, 0x45, 0x52, 0x56, 0x49, 0x43, 0x45, 0x10, 0x08, 0x12, 0x16, 0x0a, 0x12, 0x54, + 0x41, 0x52, 0x47, 0x45, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4d, 0x45, 0x54, 0x48, 0x4f, + 0x44, 0x10, 0x09, 0x2a, 0x09, 0x08, 0xe8, 0x07, 0x10, 0x80, 0x80, 0x80, 0x80, 0x02, 0x4a, 0x04, + 0x08, 0x04, 0x10, 0x05, 0x4a, 0x04, 0x08, 0x12, 0x10, 0x13, 0x22, 0xac, 0x01, 0x0a, 0x0c, 0x4f, + 0x6e, 0x65, 0x6f, 0x66, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x37, 0x0a, 0x08, 0x66, + 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, + 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, + 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x53, 0x65, 0x74, 0x52, 0x08, 0x66, 0x65, 0x61, 0x74, + 0x75, 0x72, 0x65, 0x73, 0x12, 0x58, 0x0a, 0x14, 0x75, 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70, + 0x72, 0x65, 0x74, 0x65, 0x64, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0xe7, 0x07, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x65, + 0x74, 0x65, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x13, 0x75, 0x6e, 0x69, 0x6e, 0x74, + 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x2a, 0x09, + 0x08, 0xe8, 0x07, 0x10, 0x80, 0x80, 0x80, 0x80, 0x02, 0x22, 0xd1, 0x02, 0x0a, 0x0b, 0x45, 0x6e, + 0x75, 0x6d, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x6c, 0x6c, + 0x6f, 0x77, 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, + 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x12, 0x25, 0x0a, 0x0a, 0x64, 0x65, + 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x3a, 0x05, + 0x66, 0x61, 0x6c, 0x73, 0x65, 0x52, 0x0a, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, + 0x64, 0x12, 0x56, 0x0a, 0x26, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x5f, + 0x6c, 0x65, 0x67, 0x61, 0x63, 0x79, 0x5f, 0x6a, 0x73, 0x6f, 0x6e, 0x5f, 0x66, 0x69, 0x65, 0x6c, + 0x64, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x6c, 0x69, 0x63, 0x74, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, + 0x08, 0x42, 0x02, 0x18, 0x01, 0x52, 0x22, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, + 0x64, 0x4c, 0x65, 0x67, 0x61, 0x63, 0x79, 0x4a, 0x73, 0x6f, 0x6e, 0x46, 0x69, 0x65, 0x6c, 0x64, + 0x43, 0x6f, 0x6e, 0x66, 0x6c, 0x69, 0x63, 0x74, 0x73, 0x12, 0x37, 0x0a, 0x08, 0x66, 0x65, 0x61, + 0x74, 0x75, 0x72, 0x65, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, + 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x65, + 0x61, 0x74, 0x75, 0x72, 0x65, 0x53, 0x65, 0x74, 0x52, 0x08, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, + 0x65, 0x73, 0x12, 0x58, 0x0a, 0x14, 0x75, 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x65, + 0x74, 0x65, 0x64, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0xe7, 0x07, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x75, 0x66, 0x2e, 0x55, 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, + 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x13, 0x75, 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, + 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x2a, 0x09, 0x08, 0xe8, + 0x07, 0x10, 0x80, 0x80, 0x80, 0x80, 0x02, 0x4a, 0x04, 0x08, 0x05, 0x10, 0x06, 0x22, 0xd8, 0x02, + 0x0a, 0x10, 0x45, 0x6e, 0x75, 0x6d, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x12, 0x25, 0x0a, 0x0a, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x3a, 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x52, 0x0a, 0x64, + 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x12, 0x37, 0x0a, 0x08, 0x66, 0x65, 0x61, + 0x74, 0x75, 0x72, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, + 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x65, + 0x61, 0x74, 0x75, 0x72, 0x65, 0x53, 0x65, 0x74, 0x52, 0x08, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, + 0x65, 0x73, 0x12, 0x28, 0x0a, 0x0c, 0x64, 0x65, 0x62, 0x75, 0x67, 0x5f, 0x72, 0x65, 0x64, 0x61, + 0x63, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x3a, 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x52, + 0x0b, 0x64, 0x65, 0x62, 0x75, 0x67, 0x52, 0x65, 0x64, 0x61, 0x63, 0x74, 0x12, 0x55, 0x0a, 0x0f, + 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x5f, 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4f, 0x70, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x53, 0x75, 0x70, 0x70, + 0x6f, 0x72, 0x74, 0x52, 0x0e, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x53, 0x75, 0x70, 0x70, + 0x6f, 0x72, 0x74, 0x12, 0x58, 0x0a, 0x14, 0x75, 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, + 0x65, 0x74, 0x65, 0x64, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0xe7, 0x07, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, + 0x65, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x13, 0x75, 0x6e, 0x69, 0x6e, 0x74, 0x65, + 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x2a, 0x09, 0x08, + 0xe8, 0x07, 0x10, 0x80, 0x80, 0x80, 0x80, 0x02, 0x22, 0xd5, 0x01, 0x0a, 0x0e, 0x53, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x37, 0x0a, 0x08, 0x66, + 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x18, 0x22, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, + 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, + 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x53, 0x65, 0x74, 0x52, 0x08, 0x66, 0x65, 0x61, 0x74, + 0x75, 0x72, 0x65, 0x73, 0x12, 0x25, 0x0a, 0x0a, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, + 0x65, 0x64, 0x18, 0x21, 0x20, 0x01, 0x28, 0x08, 0x3a, 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x52, + 0x0a, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x12, 0x58, 0x0a, 0x14, 0x75, + 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x5f, 0x6f, 0x70, 0x74, + 0x69, 0x6f, 0x6e, 0x18, 0xe7, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x6f, 0x6f, + 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x6e, 0x69, + 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, + 0x52, 0x13, 0x75, 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x4f, + 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x2a, 0x09, 0x08, 0xe8, 0x07, 0x10, 0x80, 0x80, 0x80, 0x80, 0x02, + 0x22, 0x99, 0x03, 0x0a, 0x0d, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x12, 0x25, 0x0a, 0x0a, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, + 0x18, 0x21, 0x20, 0x01, 0x28, 0x08, 0x3a, 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x52, 0x0a, 0x64, + 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x12, 0x71, 0x0a, 0x11, 0x69, 0x64, 0x65, + 0x6d, 0x70, 0x6f, 0x74, 0x65, 0x6e, 0x63, 0x79, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x22, + 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x4f, 0x70, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x49, 0x64, 0x65, 0x6d, 0x70, 0x6f, 0x74, 0x65, 0x6e, 0x63, 0x79, + 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x3a, 0x13, 0x49, 0x44, 0x45, 0x4d, 0x50, 0x4f, 0x54, 0x45, 0x4e, + 0x43, 0x59, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x52, 0x10, 0x69, 0x64, 0x65, 0x6d, + 0x70, 0x6f, 0x74, 0x65, 0x6e, 0x63, 0x79, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x37, 0x0a, 0x08, + 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x18, 0x23, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, + 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, + 0x2e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x53, 0x65, 0x74, 0x52, 0x08, 0x66, 0x65, 0x61, + 0x74, 0x75, 0x72, 0x65, 0x73, 0x12, 0x58, 0x0a, 0x14, 0x75, 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, + 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0xe7, 0x07, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, + 0x65, 0x74, 0x65, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x13, 0x75, 0x6e, 0x69, 0x6e, + 0x74, 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x22, + 0x50, 0x0a, 0x10, 0x49, 0x64, 0x65, 0x6d, 0x70, 0x6f, 0x74, 0x65, 0x6e, 0x63, 0x79, 0x4c, 0x65, + 0x76, 0x65, 0x6c, 0x12, 0x17, 0x0a, 0x13, 0x49, 0x44, 0x45, 0x4d, 0x50, 0x4f, 0x54, 0x45, 0x4e, + 0x43, 0x59, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x13, 0x0a, 0x0f, + 0x4e, 0x4f, 0x5f, 0x53, 0x49, 0x44, 0x45, 0x5f, 0x45, 0x46, 0x46, 0x45, 0x43, 0x54, 0x53, 0x10, + 0x01, 0x12, 0x0e, 0x0a, 0x0a, 0x49, 0x44, 0x45, 0x4d, 0x50, 0x4f, 0x54, 0x45, 0x4e, 0x54, 0x10, + 0x02, 0x2a, 0x09, 0x08, 0xe8, 0x07, 0x10, 0x80, 0x80, 0x80, 0x80, 0x02, 0x22, 0x9a, 0x03, 0x0a, + 0x13, 0x55, 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x4f, 0x70, + 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x41, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, + 0x65, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x50, 0x61, 0x72, + 0x74, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x29, 0x0a, 0x10, 0x69, 0x64, 0x65, 0x6e, 0x74, + 0x69, 0x66, 0x69, 0x65, 0x72, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x56, 0x61, 0x6c, + 0x75, 0x65, 0x12, 0x2c, 0x0a, 0x12, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x69, + 0x6e, 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x10, + 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x76, 0x65, 0x49, 0x6e, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, + 0x12, 0x2c, 0x0a, 0x12, 0x6e, 0x65, 0x67, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x69, 0x6e, 0x74, + 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x10, 0x6e, 0x65, + 0x67, 0x61, 0x74, 0x69, 0x76, 0x65, 0x49, 0x6e, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x21, + 0x0a, 0x0c, 0x64, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x06, + 0x20, 0x01, 0x28, 0x01, 0x52, 0x0b, 0x64, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x56, 0x61, 0x6c, 0x75, + 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x5f, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, + 0x61, 0x6c, 0x75, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, + 0x65, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x61, + 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x1a, 0x4a, 0x0a, + 0x08, 0x4e, 0x61, 0x6d, 0x65, 0x50, 0x61, 0x72, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x6e, 0x61, 0x6d, + 0x65, 0x5f, 0x70, 0x61, 0x72, 0x74, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x08, 0x6e, 0x61, + 0x6d, 0x65, 0x50, 0x61, 0x72, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x69, 0x73, 0x5f, 0x65, 0x78, 0x74, + 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x02, 0x28, 0x08, 0x52, 0x0b, 0x69, 0x73, + 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0xa7, 0x0a, 0x0a, 0x0a, 0x46, 0x65, + 0x61, 0x74, 0x75, 0x72, 0x65, 0x53, 0x65, 0x74, 0x12, 0x91, 0x01, 0x0a, 0x0e, 0x66, 0x69, 0x65, + 0x6c, 0x64, 0x5f, 0x70, 0x72, 0x65, 0x73, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0e, 0x32, 0x29, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x75, 0x66, 0x2e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x53, 0x65, 0x74, 0x2e, 0x46, + 0x69, 0x65, 0x6c, 0x64, 0x50, 0x72, 0x65, 0x73, 0x65, 0x6e, 0x63, 0x65, 0x42, 0x3f, 0x88, 0x01, + 0x01, 0x98, 0x01, 0x04, 0x98, 0x01, 0x01, 0xa2, 0x01, 0x0d, 0x12, 0x08, 0x45, 0x58, 0x50, 0x4c, + 0x49, 0x43, 0x49, 0x54, 0x18, 0xe6, 0x07, 0xa2, 0x01, 0x0d, 0x12, 0x08, 0x49, 0x4d, 0x50, 0x4c, + 0x49, 0x43, 0x49, 0x54, 0x18, 0xe7, 0x07, 0xa2, 0x01, 0x0d, 0x12, 0x08, 0x45, 0x58, 0x50, 0x4c, + 0x49, 0x43, 0x49, 0x54, 0x18, 0xe8, 0x07, 0xb2, 0x01, 0x03, 0x08, 0xe8, 0x07, 0x52, 0x0d, 0x66, + 0x69, 0x65, 0x6c, 0x64, 0x50, 0x72, 0x65, 0x73, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x6c, 0x0a, 0x09, + 0x65, 0x6e, 0x75, 0x6d, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, + 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, + 0x66, 0x2e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x53, 0x65, 0x74, 0x2e, 0x45, 0x6e, 0x75, + 0x6d, 0x54, 0x79, 0x70, 0x65, 0x42, 0x29, 0x88, 0x01, 0x01, 0x98, 0x01, 0x06, 0x98, 0x01, 0x01, + 0xa2, 0x01, 0x0b, 0x12, 0x06, 0x43, 0x4c, 0x4f, 0x53, 0x45, 0x44, 0x18, 0xe6, 0x07, 0xa2, 0x01, + 0x09, 0x12, 0x04, 0x4f, 0x50, 0x45, 0x4e, 0x18, 0xe7, 0x07, 0xb2, 0x01, 0x03, 0x08, 0xe8, 0x07, + 0x52, 0x08, 0x65, 0x6e, 0x75, 0x6d, 0x54, 0x79, 0x70, 0x65, 0x12, 0x98, 0x01, 0x0a, 0x17, 0x72, + 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x65, 0x6e, + 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x31, 0x2e, 0x67, + 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, + 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x53, 0x65, 0x74, 0x2e, 0x52, 0x65, 0x70, 0x65, 0x61, 0x74, + 0x65, 0x64, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x45, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x42, + 0x2d, 0x88, 0x01, 0x01, 0x98, 0x01, 0x04, 0x98, 0x01, 0x01, 0xa2, 0x01, 0x0d, 0x12, 0x08, 0x45, + 0x58, 0x50, 0x41, 0x4e, 0x44, 0x45, 0x44, 0x18, 0xe6, 0x07, 0xa2, 0x01, 0x0b, 0x12, 0x06, 0x50, + 0x41, 0x43, 0x4b, 0x45, 0x44, 0x18, 0xe7, 0x07, 0xb2, 0x01, 0x03, 0x08, 0xe8, 0x07, 0x52, 0x15, + 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x45, 0x6e, 0x63, + 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x12, 0x7e, 0x0a, 0x0f, 0x75, 0x74, 0x66, 0x38, 0x5f, 0x76, 0x61, + 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2a, + 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, + 0x2e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x53, 0x65, 0x74, 0x2e, 0x55, 0x74, 0x66, 0x38, + 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x29, 0x88, 0x01, 0x01, 0x98, + 0x01, 0x04, 0x98, 0x01, 0x01, 0xa2, 0x01, 0x09, 0x12, 0x04, 0x4e, 0x4f, 0x4e, 0x45, 0x18, 0xe6, + 0x07, 0xa2, 0x01, 0x0b, 0x12, 0x06, 0x56, 0x45, 0x52, 0x49, 0x46, 0x59, 0x18, 0xe7, 0x07, 0xb2, + 0x01, 0x03, 0x08, 0xe8, 0x07, 0x52, 0x0e, 0x75, 0x74, 0x66, 0x38, 0x56, 0x61, 0x6c, 0x69, 0x64, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x7e, 0x0a, 0x10, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, + 0x5f, 0x65, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, + 0x2b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, + 0x66, 0x2e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x53, 0x65, 0x74, 0x2e, 0x4d, 0x65, 0x73, + 0x73, 0x61, 0x67, 0x65, 0x45, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x42, 0x26, 0x88, 0x01, + 0x01, 0x98, 0x01, 0x04, 0x98, 0x01, 0x01, 0xa2, 0x01, 0x14, 0x12, 0x0f, 0x4c, 0x45, 0x4e, 0x47, + 0x54, 0x48, 0x5f, 0x50, 0x52, 0x45, 0x46, 0x49, 0x58, 0x45, 0x44, 0x18, 0xe6, 0x07, 0xb2, 0x01, + 0x03, 0x08, 0xe8, 0x07, 0x52, 0x0f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x45, 0x6e, 0x63, + 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x12, 0x82, 0x01, 0x0a, 0x0b, 0x6a, 0x73, 0x6f, 0x6e, 0x5f, 0x66, + 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x26, 0x2e, 0x67, 0x6f, + 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x65, + 0x61, 0x74, 0x75, 0x72, 0x65, 0x53, 0x65, 0x74, 0x2e, 0x4a, 0x73, 0x6f, 0x6e, 0x46, 0x6f, 0x72, + 0x6d, 0x61, 0x74, 0x42, 0x39, 0x88, 0x01, 0x01, 0x98, 0x01, 0x03, 0x98, 0x01, 0x06, 0x98, 0x01, + 0x01, 0xa2, 0x01, 0x17, 0x12, 0x12, 0x4c, 0x45, 0x47, 0x41, 0x43, 0x59, 0x5f, 0x42, 0x45, 0x53, + 0x54, 0x5f, 0x45, 0x46, 0x46, 0x4f, 0x52, 0x54, 0x18, 0xe6, 0x07, 0xa2, 0x01, 0x0a, 0x12, 0x05, + 0x41, 0x4c, 0x4c, 0x4f, 0x57, 0x18, 0xe7, 0x07, 0xb2, 0x01, 0x03, 0x08, 0xe8, 0x07, 0x52, 0x0a, + 0x6a, 0x73, 0x6f, 0x6e, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x22, 0x5c, 0x0a, 0x0d, 0x46, 0x69, + 0x65, 0x6c, 0x64, 0x50, 0x72, 0x65, 0x73, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x1a, 0x0a, 0x16, 0x46, + 0x49, 0x45, 0x4c, 0x44, 0x5f, 0x50, 0x52, 0x45, 0x53, 0x45, 0x4e, 0x43, 0x45, 0x5f, 0x55, 0x4e, + 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x45, 0x58, 0x50, 0x4c, 0x49, + 0x43, 0x49, 0x54, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x49, 0x4d, 0x50, 0x4c, 0x49, 0x43, 0x49, + 0x54, 0x10, 0x02, 0x12, 0x13, 0x0a, 0x0f, 0x4c, 0x45, 0x47, 0x41, 0x43, 0x59, 0x5f, 0x52, 0x45, + 0x51, 0x55, 0x49, 0x52, 0x45, 0x44, 0x10, 0x03, 0x22, 0x37, 0x0a, 0x08, 0x45, 0x6e, 0x75, 0x6d, + 0x54, 0x79, 0x70, 0x65, 0x12, 0x15, 0x0a, 0x11, 0x45, 0x4e, 0x55, 0x4d, 0x5f, 0x54, 0x59, 0x50, + 0x45, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x4f, + 0x50, 0x45, 0x4e, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x43, 0x4c, 0x4f, 0x53, 0x45, 0x44, 0x10, + 0x02, 0x22, 0x56, 0x0a, 0x15, 0x52, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x46, 0x69, 0x65, + 0x6c, 0x64, 0x45, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x12, 0x23, 0x0a, 0x1f, 0x52, 0x45, + 0x50, 0x45, 0x41, 0x54, 0x45, 0x44, 0x5f, 0x46, 0x49, 0x45, 0x4c, 0x44, 0x5f, 0x45, 0x4e, 0x43, + 0x4f, 0x44, 0x49, 0x4e, 0x47, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, + 0x0a, 0x0a, 0x06, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x44, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x45, + 0x58, 0x50, 0x41, 0x4e, 0x44, 0x45, 0x44, 0x10, 0x02, 0x22, 0x49, 0x0a, 0x0e, 0x55, 0x74, 0x66, + 0x38, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1b, 0x0a, 0x17, 0x55, + 0x54, 0x46, 0x38, 0x5f, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x55, + 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x56, 0x45, 0x52, 0x49, + 0x46, 0x59, 0x10, 0x02, 0x12, 0x08, 0x0a, 0x04, 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x03, 0x22, 0x04, + 0x08, 0x01, 0x10, 0x01, 0x22, 0x53, 0x0a, 0x0f, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x45, + 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x12, 0x1c, 0x0a, 0x18, 0x4d, 0x45, 0x53, 0x53, 0x41, + 0x47, 0x45, 0x5f, 0x45, 0x4e, 0x43, 0x4f, 0x44, 0x49, 0x4e, 0x47, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, + 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x13, 0x0a, 0x0f, 0x4c, 0x45, 0x4e, 0x47, 0x54, 0x48, 0x5f, + 0x50, 0x52, 0x45, 0x46, 0x49, 0x58, 0x45, 0x44, 0x10, 0x01, 0x12, 0x0d, 0x0a, 0x09, 0x44, 0x45, + 0x4c, 0x49, 0x4d, 0x49, 0x54, 0x45, 0x44, 0x10, 0x02, 0x22, 0x48, 0x0a, 0x0a, 0x4a, 0x73, 0x6f, + 0x6e, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 0x17, 0x0a, 0x13, 0x4a, 0x53, 0x4f, 0x4e, 0x5f, + 0x46, 0x4f, 0x52, 0x4d, 0x41, 0x54, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, + 0x12, 0x09, 0x0a, 0x05, 0x41, 0x4c, 0x4c, 0x4f, 0x57, 0x10, 0x01, 0x12, 0x16, 0x0a, 0x12, 0x4c, + 0x45, 0x47, 0x41, 0x43, 0x59, 0x5f, 0x42, 0x45, 0x53, 0x54, 0x5f, 0x45, 0x46, 0x46, 0x4f, 0x52, + 0x54, 0x10, 0x02, 0x2a, 0x06, 0x08, 0xe8, 0x07, 0x10, 0x8b, 0x4e, 0x2a, 0x06, 0x08, 0x8b, 0x4e, + 0x10, 0x90, 0x4e, 0x2a, 0x06, 0x08, 0x90, 0x4e, 0x10, 0x91, 0x4e, 0x4a, 0x06, 0x08, 0xe7, 0x07, + 0x10, 0xe8, 0x07, 0x22, 0xef, 0x03, 0x0a, 0x12, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x53, + 0x65, 0x74, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x12, 0x58, 0x0a, 0x08, 0x64, 0x65, + 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3c, 0x2e, 0x67, + 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, + 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x53, 0x65, 0x74, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, + 0x73, 0x2e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x53, 0x65, 0x74, 0x45, 0x64, 0x69, 0x74, + 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x52, 0x08, 0x64, 0x65, 0x66, 0x61, + 0x75, 0x6c, 0x74, 0x73, 0x12, 0x41, 0x0a, 0x0f, 0x6d, 0x69, 0x6e, 0x69, 0x6d, 0x75, 0x6d, 0x5f, + 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x18, 0x2e, + 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, + 0x45, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0e, 0x6d, 0x69, 0x6e, 0x69, 0x6d, 0x75, 0x6d, + 0x45, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x41, 0x0a, 0x0f, 0x6d, 0x61, 0x78, 0x69, 0x6d, + 0x75, 0x6d, 0x5f, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, + 0x32, 0x18, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x75, 0x66, 0x2e, 0x45, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0e, 0x6d, 0x61, 0x78, 0x69, + 0x6d, 0x75, 0x6d, 0x45, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0xf8, 0x01, 0x0a, 0x18, 0x46, + 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x53, 0x65, 0x74, 0x45, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, + 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x12, 0x32, 0x0a, 0x07, 0x65, 0x64, 0x69, 0x74, 0x69, + 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x18, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, + 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x64, 0x69, 0x74, 0x69, + 0x6f, 0x6e, 0x52, 0x07, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x4e, 0x0a, 0x14, 0x6f, + 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x66, 0x65, 0x61, 0x74, 0x75, + 0x72, 0x65, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, + 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x65, 0x61, 0x74, + 0x75, 0x72, 0x65, 0x53, 0x65, 0x74, 0x52, 0x13, 0x6f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x61, + 0x62, 0x6c, 0x65, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x12, 0x42, 0x0a, 0x0e, 0x66, + 0x69, 0x78, 0x65, 0x64, 0x5f, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x18, 0x05, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x53, 0x65, 0x74, + 0x52, 0x0d, 0x66, 0x69, 0x78, 0x65, 0x64, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x4a, + 0x04, 0x08, 0x01, 0x10, 0x02, 0x4a, 0x04, 0x08, 0x02, 0x10, 0x03, 0x52, 0x08, 0x66, 0x65, 0x61, + 0x74, 0x75, 0x72, 0x65, 0x73, 0x22, 0xa7, 0x02, 0x0a, 0x0e, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, + 0x43, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x44, 0x0a, 0x08, 0x6c, 0x6f, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x67, 0x6f, 0x6f, + 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x6f, 0x75, + 0x72, 0x63, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x4c, 0x6f, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0xce, + 0x01, 0x0a, 0x08, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x04, 0x70, + 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x03, 0x28, 0x05, 0x42, 0x02, 0x10, 0x01, 0x52, 0x04, 0x70, + 0x61, 0x74, 0x68, 0x12, 0x16, 0x0a, 0x04, 0x73, 0x70, 0x61, 0x6e, 0x18, 0x02, 0x20, 0x03, 0x28, + 0x05, 0x42, 0x02, 0x10, 0x01, 0x52, 0x04, 0x73, 0x70, 0x61, 0x6e, 0x12, 0x29, 0x0a, 0x10, 0x6c, + 0x65, 0x61, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x6c, 0x65, 0x61, 0x64, 0x69, 0x6e, 0x67, 0x43, 0x6f, + 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x2b, 0x0a, 0x11, 0x74, 0x72, 0x61, 0x69, 0x6c, 0x69, + 0x6e, 0x67, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x10, 0x74, 0x72, 0x61, 0x69, 0x6c, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6d, 0x6d, 0x65, + 0x6e, 0x74, 0x73, 0x12, 0x3a, 0x0a, 0x19, 0x6c, 0x65, 0x61, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x64, + 0x65, 0x74, 0x61, 0x63, 0x68, 0x65, 0x64, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x73, + 0x18, 0x06, 0x20, 0x03, 0x28, 0x09, 0x52, 0x17, 0x6c, 0x65, 0x61, 0x64, 0x69, 0x6e, 0x67, 0x44, + 0x65, 0x74, 0x61, 0x63, 0x68, 0x65, 0x64, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x22, + 0xd0, 0x02, 0x0a, 0x11, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x64, 0x43, 0x6f, 0x64, + 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x4d, 0x0a, 0x0a, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, + 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x47, 0x65, 0x6e, 0x65, + 0x72, 0x61, 0x74, 0x65, 0x64, 0x43, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x41, 0x6e, + 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0xeb, 0x01, 0x0a, 0x0a, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x03, 0x28, + 0x05, 0x42, 0x02, 0x10, 0x01, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x1f, 0x0a, 0x0b, 0x73, + 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x0a, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x12, 0x14, 0x0a, 0x05, + 0x62, 0x65, 0x67, 0x69, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x62, 0x65, 0x67, + 0x69, 0x6e, 0x12, 0x10, 0x0a, 0x03, 0x65, 0x6e, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, + 0x03, 0x65, 0x6e, 0x64, 0x12, 0x52, 0x0a, 0x08, 0x73, 0x65, 0x6d, 0x61, 0x6e, 0x74, 0x69, 0x63, + 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x36, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, + 0x65, 0x64, 0x43, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x41, 0x6e, 0x6e, 0x6f, 0x74, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x53, 0x65, 0x6d, 0x61, 0x6e, 0x74, 0x69, 0x63, 0x52, 0x08, + 0x73, 0x65, 0x6d, 0x61, 0x6e, 0x74, 0x69, 0x63, 0x22, 0x28, 0x0a, 0x08, 0x53, 0x65, 0x6d, 0x61, + 0x6e, 0x74, 0x69, 0x63, 0x12, 0x08, 0x0a, 0x04, 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x00, 0x12, 0x07, + 0x0a, 0x03, 0x53, 0x45, 0x54, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, 0x41, 0x4c, 0x49, 0x41, 0x53, + 0x10, 0x02, 0x2a, 0xa7, 0x02, 0x0a, 0x07, 0x45, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x13, + 0x0a, 0x0f, 0x45, 0x44, 0x49, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, + 0x4e, 0x10, 0x00, 0x12, 0x13, 0x0a, 0x0e, 0x45, 0x44, 0x49, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x4c, + 0x45, 0x47, 0x41, 0x43, 0x59, 0x10, 0x84, 0x07, 0x12, 0x13, 0x0a, 0x0e, 0x45, 0x44, 0x49, 0x54, + 0x49, 0x4f, 0x4e, 0x5f, 0x50, 0x52, 0x4f, 0x54, 0x4f, 0x32, 0x10, 0xe6, 0x07, 0x12, 0x13, 0x0a, + 0x0e, 0x45, 0x44, 0x49, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x50, 0x52, 0x4f, 0x54, 0x4f, 0x33, 0x10, + 0xe7, 0x07, 0x12, 0x11, 0x0a, 0x0c, 0x45, 0x44, 0x49, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x32, 0x30, + 0x32, 0x33, 0x10, 0xe8, 0x07, 0x12, 0x11, 0x0a, 0x0c, 0x45, 0x44, 0x49, 0x54, 0x49, 0x4f, 0x4e, + 0x5f, 0x32, 0x30, 0x32, 0x34, 0x10, 0xe9, 0x07, 0x12, 0x17, 0x0a, 0x13, 0x45, 0x44, 0x49, 0x54, + 0x49, 0x4f, 0x4e, 0x5f, 0x31, 0x5f, 0x54, 0x45, 0x53, 0x54, 0x5f, 0x4f, 0x4e, 0x4c, 0x59, 0x10, + 0x01, 0x12, 0x17, 0x0a, 0x13, 0x45, 0x44, 0x49, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x32, 0x5f, 0x54, + 0x45, 0x53, 0x54, 0x5f, 0x4f, 0x4e, 0x4c, 0x59, 0x10, 0x02, 0x12, 0x1d, 0x0a, 0x17, 0x45, 0x44, + 0x49, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x39, 0x39, 0x39, 0x39, 0x37, 0x5f, 0x54, 0x45, 0x53, 0x54, + 0x5f, 0x4f, 0x4e, 0x4c, 0x59, 0x10, 0x9d, 0x8d, 0x06, 0x12, 0x1d, 0x0a, 0x17, 0x45, 0x44, 0x49, + 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x39, 0x39, 0x39, 0x39, 0x38, 0x5f, 0x54, 0x45, 0x53, 0x54, 0x5f, + 0x4f, 0x4e, 0x4c, 0x59, 0x10, 0x9e, 0x8d, 0x06, 0x12, 0x1d, 0x0a, 0x17, 0x45, 0x44, 0x49, 0x54, + 0x49, 0x4f, 0x4e, 0x5f, 0x39, 0x39, 0x39, 0x39, 0x39, 0x5f, 0x54, 0x45, 0x53, 0x54, 0x5f, 0x4f, + 0x4e, 0x4c, 0x59, 0x10, 0x9f, 0x8d, 0x06, 0x12, 0x13, 0x0a, 0x0b, 0x45, 0x44, 0x49, 0x54, 0x49, + 0x4f, 0x4e, 0x5f, 0x4d, 0x41, 0x58, 0x10, 0xff, 0xff, 0xff, 0xff, 0x07, 0x42, 0x7e, 0x0a, 0x13, + 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x75, 0x66, 0x42, 0x10, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x50, + 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x48, 0x01, 0x5a, 0x2d, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, + 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x75, 0x66, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, + 0x70, 0x74, 0x6f, 0x72, 0x70, 0x62, 0xf8, 0x01, 0x01, 0xa2, 0x02, 0x03, 0x47, 0x50, 0x42, 0xaa, + 0x02, 0x1a, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, + 0x66, 0x2e, 0x52, 0x65, 0x66, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, +} + +var ( + file_google_protobuf_descriptor_proto_rawDescOnce sync.Once + file_google_protobuf_descriptor_proto_rawDescData = file_google_protobuf_descriptor_proto_rawDesc +) + +func file_google_protobuf_descriptor_proto_rawDescGZIP() []byte { + file_google_protobuf_descriptor_proto_rawDescOnce.Do(func() { + file_google_protobuf_descriptor_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_protobuf_descriptor_proto_rawDescData) + }) + return file_google_protobuf_descriptor_proto_rawDescData +} + +var file_google_protobuf_descriptor_proto_enumTypes = make([]protoimpl.EnumInfo, 17) +var file_google_protobuf_descriptor_proto_msgTypes = make([]protoimpl.MessageInfo, 33) +var file_google_protobuf_descriptor_proto_goTypes = []interface{}{ + (Edition)(0), // 0: google.protobuf.Edition + (ExtensionRangeOptions_VerificationState)(0), // 1: google.protobuf.ExtensionRangeOptions.VerificationState + (FieldDescriptorProto_Type)(0), // 2: google.protobuf.FieldDescriptorProto.Type + (FieldDescriptorProto_Label)(0), // 3: google.protobuf.FieldDescriptorProto.Label + (FileOptions_OptimizeMode)(0), // 4: google.protobuf.FileOptions.OptimizeMode + (FieldOptions_CType)(0), // 5: google.protobuf.FieldOptions.CType + (FieldOptions_JSType)(0), // 6: google.protobuf.FieldOptions.JSType + (FieldOptions_OptionRetention)(0), // 7: google.protobuf.FieldOptions.OptionRetention + (FieldOptions_OptionTargetType)(0), // 8: google.protobuf.FieldOptions.OptionTargetType + (MethodOptions_IdempotencyLevel)(0), // 9: google.protobuf.MethodOptions.IdempotencyLevel + (FeatureSet_FieldPresence)(0), // 10: google.protobuf.FeatureSet.FieldPresence + (FeatureSet_EnumType)(0), // 11: google.protobuf.FeatureSet.EnumType + (FeatureSet_RepeatedFieldEncoding)(0), // 12: google.protobuf.FeatureSet.RepeatedFieldEncoding + (FeatureSet_Utf8Validation)(0), // 13: google.protobuf.FeatureSet.Utf8Validation + (FeatureSet_MessageEncoding)(0), // 14: google.protobuf.FeatureSet.MessageEncoding + (FeatureSet_JsonFormat)(0), // 15: google.protobuf.FeatureSet.JsonFormat + (GeneratedCodeInfo_Annotation_Semantic)(0), // 16: google.protobuf.GeneratedCodeInfo.Annotation.Semantic + (*FileDescriptorSet)(nil), // 17: google.protobuf.FileDescriptorSet + (*FileDescriptorProto)(nil), // 18: google.protobuf.FileDescriptorProto + (*DescriptorProto)(nil), // 19: google.protobuf.DescriptorProto + (*ExtensionRangeOptions)(nil), // 20: google.protobuf.ExtensionRangeOptions + (*FieldDescriptorProto)(nil), // 21: google.protobuf.FieldDescriptorProto + (*OneofDescriptorProto)(nil), // 22: google.protobuf.OneofDescriptorProto + (*EnumDescriptorProto)(nil), // 23: google.protobuf.EnumDescriptorProto + (*EnumValueDescriptorProto)(nil), // 24: google.protobuf.EnumValueDescriptorProto + (*ServiceDescriptorProto)(nil), // 25: google.protobuf.ServiceDescriptorProto + (*MethodDescriptorProto)(nil), // 26: google.protobuf.MethodDescriptorProto + (*FileOptions)(nil), // 27: google.protobuf.FileOptions + (*MessageOptions)(nil), // 28: google.protobuf.MessageOptions + (*FieldOptions)(nil), // 29: google.protobuf.FieldOptions + (*OneofOptions)(nil), // 30: google.protobuf.OneofOptions + (*EnumOptions)(nil), // 31: google.protobuf.EnumOptions + (*EnumValueOptions)(nil), // 32: google.protobuf.EnumValueOptions + (*ServiceOptions)(nil), // 33: google.protobuf.ServiceOptions + (*MethodOptions)(nil), // 34: google.protobuf.MethodOptions + (*UninterpretedOption)(nil), // 35: google.protobuf.UninterpretedOption + (*FeatureSet)(nil), // 36: google.protobuf.FeatureSet + (*FeatureSetDefaults)(nil), // 37: google.protobuf.FeatureSetDefaults + (*SourceCodeInfo)(nil), // 38: google.protobuf.SourceCodeInfo + (*GeneratedCodeInfo)(nil), // 39: google.protobuf.GeneratedCodeInfo + (*DescriptorProto_ExtensionRange)(nil), // 40: google.protobuf.DescriptorProto.ExtensionRange + (*DescriptorProto_ReservedRange)(nil), // 41: google.protobuf.DescriptorProto.ReservedRange + (*ExtensionRangeOptions_Declaration)(nil), // 42: google.protobuf.ExtensionRangeOptions.Declaration + (*EnumDescriptorProto_EnumReservedRange)(nil), // 43: google.protobuf.EnumDescriptorProto.EnumReservedRange + (*FieldOptions_EditionDefault)(nil), // 44: google.protobuf.FieldOptions.EditionDefault + (*FieldOptions_FeatureSupport)(nil), // 45: google.protobuf.FieldOptions.FeatureSupport + (*UninterpretedOption_NamePart)(nil), // 46: google.protobuf.UninterpretedOption.NamePart + (*FeatureSetDefaults_FeatureSetEditionDefault)(nil), // 47: google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault + (*SourceCodeInfo_Location)(nil), // 48: google.protobuf.SourceCodeInfo.Location + (*GeneratedCodeInfo_Annotation)(nil), // 49: google.protobuf.GeneratedCodeInfo.Annotation +} +var file_google_protobuf_descriptor_proto_depIdxs = []int32{ + 18, // 0: google.protobuf.FileDescriptorSet.file:type_name -> google.protobuf.FileDescriptorProto + 19, // 1: google.protobuf.FileDescriptorProto.message_type:type_name -> google.protobuf.DescriptorProto + 23, // 2: google.protobuf.FileDescriptorProto.enum_type:type_name -> google.protobuf.EnumDescriptorProto + 25, // 3: google.protobuf.FileDescriptorProto.service:type_name -> google.protobuf.ServiceDescriptorProto + 21, // 4: google.protobuf.FileDescriptorProto.extension:type_name -> google.protobuf.FieldDescriptorProto + 27, // 5: google.protobuf.FileDescriptorProto.options:type_name -> google.protobuf.FileOptions + 38, // 6: google.protobuf.FileDescriptorProto.source_code_info:type_name -> google.protobuf.SourceCodeInfo + 0, // 7: google.protobuf.FileDescriptorProto.edition:type_name -> google.protobuf.Edition + 21, // 8: google.protobuf.DescriptorProto.field:type_name -> google.protobuf.FieldDescriptorProto + 21, // 9: google.protobuf.DescriptorProto.extension:type_name -> google.protobuf.FieldDescriptorProto + 19, // 10: google.protobuf.DescriptorProto.nested_type:type_name -> google.protobuf.DescriptorProto + 23, // 11: google.protobuf.DescriptorProto.enum_type:type_name -> google.protobuf.EnumDescriptorProto + 40, // 12: google.protobuf.DescriptorProto.extension_range:type_name -> google.protobuf.DescriptorProto.ExtensionRange + 22, // 13: google.protobuf.DescriptorProto.oneof_decl:type_name -> google.protobuf.OneofDescriptorProto + 28, // 14: google.protobuf.DescriptorProto.options:type_name -> google.protobuf.MessageOptions + 41, // 15: google.protobuf.DescriptorProto.reserved_range:type_name -> google.protobuf.DescriptorProto.ReservedRange + 35, // 16: google.protobuf.ExtensionRangeOptions.uninterpreted_option:type_name -> google.protobuf.UninterpretedOption + 42, // 17: google.protobuf.ExtensionRangeOptions.declaration:type_name -> google.protobuf.ExtensionRangeOptions.Declaration + 36, // 18: google.protobuf.ExtensionRangeOptions.features:type_name -> google.protobuf.FeatureSet + 1, // 19: google.protobuf.ExtensionRangeOptions.verification:type_name -> google.protobuf.ExtensionRangeOptions.VerificationState + 3, // 20: google.protobuf.FieldDescriptorProto.label:type_name -> google.protobuf.FieldDescriptorProto.Label + 2, // 21: google.protobuf.FieldDescriptorProto.type:type_name -> google.protobuf.FieldDescriptorProto.Type + 29, // 22: google.protobuf.FieldDescriptorProto.options:type_name -> google.protobuf.FieldOptions + 30, // 23: google.protobuf.OneofDescriptorProto.options:type_name -> google.protobuf.OneofOptions + 24, // 24: google.protobuf.EnumDescriptorProto.value:type_name -> google.protobuf.EnumValueDescriptorProto + 31, // 25: google.protobuf.EnumDescriptorProto.options:type_name -> google.protobuf.EnumOptions + 43, // 26: google.protobuf.EnumDescriptorProto.reserved_range:type_name -> google.protobuf.EnumDescriptorProto.EnumReservedRange + 32, // 27: google.protobuf.EnumValueDescriptorProto.options:type_name -> google.protobuf.EnumValueOptions + 26, // 28: google.protobuf.ServiceDescriptorProto.method:type_name -> google.protobuf.MethodDescriptorProto + 33, // 29: google.protobuf.ServiceDescriptorProto.options:type_name -> google.protobuf.ServiceOptions + 34, // 30: google.protobuf.MethodDescriptorProto.options:type_name -> google.protobuf.MethodOptions + 4, // 31: google.protobuf.FileOptions.optimize_for:type_name -> google.protobuf.FileOptions.OptimizeMode + 36, // 32: google.protobuf.FileOptions.features:type_name -> google.protobuf.FeatureSet + 35, // 33: google.protobuf.FileOptions.uninterpreted_option:type_name -> google.protobuf.UninterpretedOption + 36, // 34: google.protobuf.MessageOptions.features:type_name -> google.protobuf.FeatureSet + 35, // 35: google.protobuf.MessageOptions.uninterpreted_option:type_name -> google.protobuf.UninterpretedOption + 5, // 36: google.protobuf.FieldOptions.ctype:type_name -> google.protobuf.FieldOptions.CType + 6, // 37: google.protobuf.FieldOptions.jstype:type_name -> google.protobuf.FieldOptions.JSType + 7, // 38: google.protobuf.FieldOptions.retention:type_name -> google.protobuf.FieldOptions.OptionRetention + 8, // 39: google.protobuf.FieldOptions.targets:type_name -> google.protobuf.FieldOptions.OptionTargetType + 44, // 40: google.protobuf.FieldOptions.edition_defaults:type_name -> google.protobuf.FieldOptions.EditionDefault + 36, // 41: google.protobuf.FieldOptions.features:type_name -> google.protobuf.FeatureSet + 45, // 42: google.protobuf.FieldOptions.feature_support:type_name -> google.protobuf.FieldOptions.FeatureSupport + 35, // 43: google.protobuf.FieldOptions.uninterpreted_option:type_name -> google.protobuf.UninterpretedOption + 36, // 44: google.protobuf.OneofOptions.features:type_name -> google.protobuf.FeatureSet + 35, // 45: google.protobuf.OneofOptions.uninterpreted_option:type_name -> google.protobuf.UninterpretedOption + 36, // 46: google.protobuf.EnumOptions.features:type_name -> google.protobuf.FeatureSet + 35, // 47: google.protobuf.EnumOptions.uninterpreted_option:type_name -> google.protobuf.UninterpretedOption + 36, // 48: google.protobuf.EnumValueOptions.features:type_name -> google.protobuf.FeatureSet + 45, // 49: google.protobuf.EnumValueOptions.feature_support:type_name -> google.protobuf.FieldOptions.FeatureSupport + 35, // 50: google.protobuf.EnumValueOptions.uninterpreted_option:type_name -> google.protobuf.UninterpretedOption + 36, // 51: google.protobuf.ServiceOptions.features:type_name -> google.protobuf.FeatureSet + 35, // 52: google.protobuf.ServiceOptions.uninterpreted_option:type_name -> google.protobuf.UninterpretedOption + 9, // 53: google.protobuf.MethodOptions.idempotency_level:type_name -> google.protobuf.MethodOptions.IdempotencyLevel + 36, // 54: google.protobuf.MethodOptions.features:type_name -> google.protobuf.FeatureSet + 35, // 55: google.protobuf.MethodOptions.uninterpreted_option:type_name -> google.protobuf.UninterpretedOption + 46, // 56: google.protobuf.UninterpretedOption.name:type_name -> google.protobuf.UninterpretedOption.NamePart + 10, // 57: google.protobuf.FeatureSet.field_presence:type_name -> google.protobuf.FeatureSet.FieldPresence + 11, // 58: google.protobuf.FeatureSet.enum_type:type_name -> google.protobuf.FeatureSet.EnumType + 12, // 59: google.protobuf.FeatureSet.repeated_field_encoding:type_name -> google.protobuf.FeatureSet.RepeatedFieldEncoding + 13, // 60: google.protobuf.FeatureSet.utf8_validation:type_name -> google.protobuf.FeatureSet.Utf8Validation + 14, // 61: google.protobuf.FeatureSet.message_encoding:type_name -> google.protobuf.FeatureSet.MessageEncoding + 15, // 62: google.protobuf.FeatureSet.json_format:type_name -> google.protobuf.FeatureSet.JsonFormat + 47, // 63: google.protobuf.FeatureSetDefaults.defaults:type_name -> google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault + 0, // 64: google.protobuf.FeatureSetDefaults.minimum_edition:type_name -> google.protobuf.Edition + 0, // 65: google.protobuf.FeatureSetDefaults.maximum_edition:type_name -> google.protobuf.Edition + 48, // 66: google.protobuf.SourceCodeInfo.location:type_name -> google.protobuf.SourceCodeInfo.Location + 49, // 67: google.protobuf.GeneratedCodeInfo.annotation:type_name -> google.protobuf.GeneratedCodeInfo.Annotation + 20, // 68: google.protobuf.DescriptorProto.ExtensionRange.options:type_name -> google.protobuf.ExtensionRangeOptions + 0, // 69: google.protobuf.FieldOptions.EditionDefault.edition:type_name -> google.protobuf.Edition + 0, // 70: google.protobuf.FieldOptions.FeatureSupport.edition_introduced:type_name -> google.protobuf.Edition + 0, // 71: google.protobuf.FieldOptions.FeatureSupport.edition_deprecated:type_name -> google.protobuf.Edition + 0, // 72: google.protobuf.FieldOptions.FeatureSupport.edition_removed:type_name -> google.protobuf.Edition + 0, // 73: google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.edition:type_name -> google.protobuf.Edition + 36, // 74: google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.overridable_features:type_name -> google.protobuf.FeatureSet + 36, // 75: google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.fixed_features:type_name -> google.protobuf.FeatureSet + 16, // 76: google.protobuf.GeneratedCodeInfo.Annotation.semantic:type_name -> google.protobuf.GeneratedCodeInfo.Annotation.Semantic + 77, // [77:77] is the sub-list for method output_type + 77, // [77:77] is the sub-list for method input_type + 77, // [77:77] is the sub-list for extension type_name + 77, // [77:77] is the sub-list for extension extendee + 0, // [0:77] is the sub-list for field type_name +} + +func init() { file_google_protobuf_descriptor_proto_init() } +func file_google_protobuf_descriptor_proto_init() { + if File_google_protobuf_descriptor_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_google_protobuf_descriptor_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FileDescriptorSet); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_protobuf_descriptor_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FileDescriptorProto); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_protobuf_descriptor_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DescriptorProto); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_protobuf_descriptor_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ExtensionRangeOptions); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + case 3: + return &v.extensionFields + default: + return nil + } + } + file_google_protobuf_descriptor_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FieldDescriptorProto); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_protobuf_descriptor_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*OneofDescriptorProto); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_protobuf_descriptor_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EnumDescriptorProto); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_protobuf_descriptor_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EnumValueDescriptorProto); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_protobuf_descriptor_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ServiceDescriptorProto); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_protobuf_descriptor_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MethodDescriptorProto); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_protobuf_descriptor_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FileOptions); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + case 3: + return &v.extensionFields + default: + return nil + } + } + file_google_protobuf_descriptor_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MessageOptions); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + case 3: + return &v.extensionFields + default: + return nil + } + } + file_google_protobuf_descriptor_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FieldOptions); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + case 3: + return &v.extensionFields + default: + return nil + } + } + file_google_protobuf_descriptor_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*OneofOptions); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + case 3: + return &v.extensionFields + default: + return nil + } + } + file_google_protobuf_descriptor_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EnumOptions); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + case 3: + return &v.extensionFields + default: + return nil + } + } + file_google_protobuf_descriptor_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EnumValueOptions); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + case 3: + return &v.extensionFields + default: + return nil + } + } + file_google_protobuf_descriptor_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ServiceOptions); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + case 3: + return &v.extensionFields + default: + return nil + } + } + file_google_protobuf_descriptor_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MethodOptions); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + case 3: + return &v.extensionFields + default: + return nil + } + } + file_google_protobuf_descriptor_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UninterpretedOption); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_protobuf_descriptor_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FeatureSet); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + case 3: + return &v.extensionFields + default: + return nil + } + } + file_google_protobuf_descriptor_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FeatureSetDefaults); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_protobuf_descriptor_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SourceCodeInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_protobuf_descriptor_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GeneratedCodeInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_protobuf_descriptor_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DescriptorProto_ExtensionRange); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_protobuf_descriptor_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DescriptorProto_ReservedRange); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_protobuf_descriptor_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ExtensionRangeOptions_Declaration); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_protobuf_descriptor_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EnumDescriptorProto_EnumReservedRange); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_protobuf_descriptor_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FieldOptions_EditionDefault); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_protobuf_descriptor_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FieldOptions_FeatureSupport); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_protobuf_descriptor_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UninterpretedOption_NamePart); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_protobuf_descriptor_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FeatureSetDefaults_FeatureSetEditionDefault); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_protobuf_descriptor_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SourceCodeInfo_Location); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_protobuf_descriptor_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GeneratedCodeInfo_Annotation); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_google_protobuf_descriptor_proto_rawDesc, + NumEnums: 17, + NumMessages: 33, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_google_protobuf_descriptor_proto_goTypes, + DependencyIndexes: file_google_protobuf_descriptor_proto_depIdxs, + EnumInfos: file_google_protobuf_descriptor_proto_enumTypes, + MessageInfos: file_google_protobuf_descriptor_proto_msgTypes, + }.Build() + File_google_protobuf_descriptor_proto = out.File + file_google_protobuf_descriptor_proto_rawDesc = nil + file_google_protobuf_descriptor_proto_goTypes = nil + file_google_protobuf_descriptor_proto_depIdxs = nil +} diff --git a/gen/go/libs/events/v1/options.pb.go b/gen/go/libs/events/v1/options.pb.go new file mode 100644 index 000000000..fbefd86c5 --- /dev/null +++ b/gen/go/libs/events/v1/options.pb.go @@ -0,0 +1,99 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.34.1 +// protoc (unknown) +// source: libs/events/v1/options.proto + +package v1 + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + descriptorpb "google.golang.org/protobuf/types/descriptorpb" + reflect "reflect" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +var file_libs_events_v1_options_proto_extTypes = []protoimpl.ExtensionInfo{ + { + ExtendedType: (*descriptorpb.MessageOptions)(nil), + ExtensionType: (*string)(nil), + Field: 2123, + Name: "libs.events.v1.event_type", + Tag: "bytes,2123,opt,name=event_type", + Filename: "libs/events/v1/options.proto", + }, +} + +// Extension fields to descriptorpb.MessageOptions. +var ( + // optional string event_type = 2123; + E_EventType = &file_libs_events_v1_options_proto_extTypes[0] +) + +var File_libs_events_v1_options_proto protoreflect.FileDescriptor + +var file_libs_events_v1_options_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x6c, 0x69, 0x62, 0x73, 0x2f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x2f, 0x76, 0x31, + 0x2f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0e, + 0x6c, 0x69, 0x62, 0x73, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x1a, 0x20, + 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, + 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x3a, 0x3f, 0x0a, 0x0a, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x12, 0x1f, + 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, + 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, + 0xcb, 0x10, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, + 0x65, 0x42, 0x90, 0x01, 0x0a, 0x12, 0x63, 0x6f, 0x6d, 0x2e, 0x6c, 0x69, 0x62, 0x73, 0x2e, 0x65, + 0x76, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x42, 0x0c, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x12, 0x67, 0x65, 0x6e, 0x2f, 0x6c, 0x69, + 0x62, 0x73, 0x2f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x2f, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x4c, + 0x45, 0x58, 0xaa, 0x02, 0x0e, 0x4c, 0x69, 0x62, 0x73, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, + 0x2e, 0x56, 0x31, 0xca, 0x02, 0x0e, 0x4c, 0x69, 0x62, 0x73, 0x5c, 0x45, 0x76, 0x65, 0x6e, 0x74, + 0x73, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x1a, 0x4c, 0x69, 0x62, 0x73, 0x5c, 0x45, 0x76, 0x65, 0x6e, + 0x74, 0x73, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, + 0x61, 0xea, 0x02, 0x10, 0x4c, 0x69, 0x62, 0x73, 0x3a, 0x3a, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, + 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var file_libs_events_v1_options_proto_goTypes = []interface{}{ + (*descriptorpb.MessageOptions)(nil), // 0: google.protobuf.MessageOptions +} +var file_libs_events_v1_options_proto_depIdxs = []int32{ + 0, // 0: libs.events.v1.event_type:extendee -> google.protobuf.MessageOptions + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 0, // [0:1] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_libs_events_v1_options_proto_init() } +func file_libs_events_v1_options_proto_init() { + if File_libs_events_v1_options_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_libs_events_v1_options_proto_rawDesc, + NumEnums: 0, + NumMessages: 0, + NumExtensions: 1, + NumServices: 0, + }, + GoTypes: file_libs_events_v1_options_proto_goTypes, + DependencyIndexes: file_libs_events_v1_options_proto_depIdxs, + ExtensionInfos: file_libs_events_v1_options_proto_extTypes, + }.Build() + File_libs_events_v1_options_proto = out.File + file_libs_events_v1_options_proto_rawDesc = nil + file_libs_events_v1_options_proto_goTypes = nil + file_libs_events_v1_options_proto_depIdxs = nil +} diff --git a/gen/go/libs/technical_events/property_svc/v1/property.pb.go b/gen/go/libs/technical_events/property_svc/v1/property.pb.go index 7fa462a7f..221df390d 100644 --- a/gen/go/libs/technical_events/property_svc/v1/property.pb.go +++ b/gen/go/libs/technical_events/property_svc/v1/property.pb.go @@ -7,6 +7,8 @@ package v1 import ( + _ "gen/libs/events/v1" + v1 "gen/services/property_svc/v1" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" @@ -20,7 +22,313 @@ const ( _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) ) -type UpdateNameEvent struct { +type PropertyCreatedEvent struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + SubjectType v1.SubjectType `protobuf:"varint,2,opt,name=subject_type,json=subjectType,proto3,enum=services.property_svc.v1.SubjectType" json:"subject_type,omitempty"` + FieldType v1.FieldType `protobuf:"varint,3,opt,name=field_type,json=fieldType,proto3,enum=services.property_svc.v1.FieldType" json:"field_type,omitempty"` + Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` +} + +func (x *PropertyCreatedEvent) Reset() { + *x = PropertyCreatedEvent{} + if protoimpl.UnsafeEnabled { + mi := &file_libs_technical_events_property_svc_v1_property_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PropertyCreatedEvent) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PropertyCreatedEvent) ProtoMessage() {} + +func (x *PropertyCreatedEvent) ProtoReflect() protoreflect.Message { + mi := &file_libs_technical_events_property_svc_v1_property_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PropertyCreatedEvent.ProtoReflect.Descriptor instead. +func (*PropertyCreatedEvent) Descriptor() ([]byte, []int) { + return file_libs_technical_events_property_svc_v1_property_proto_rawDescGZIP(), []int{0} +} + +func (x *PropertyCreatedEvent) GetId() string { + if x != nil { + return x.Id + } + return "" +} + +func (x *PropertyCreatedEvent) GetSubjectType() v1.SubjectType { + if x != nil { + return x.SubjectType + } + return v1.SubjectType(0) +} + +func (x *PropertyCreatedEvent) GetFieldType() v1.FieldType { + if x != nil { + return x.FieldType + } + return v1.FieldType(0) +} + +func (x *PropertyCreatedEvent) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +type PropertyDescriptionUpdatedEvent struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"` +} + +func (x *PropertyDescriptionUpdatedEvent) Reset() { + *x = PropertyDescriptionUpdatedEvent{} + if protoimpl.UnsafeEnabled { + mi := &file_libs_technical_events_property_svc_v1_property_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PropertyDescriptionUpdatedEvent) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PropertyDescriptionUpdatedEvent) ProtoMessage() {} + +func (x *PropertyDescriptionUpdatedEvent) ProtoReflect() protoreflect.Message { + mi := &file_libs_technical_events_property_svc_v1_property_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PropertyDescriptionUpdatedEvent.ProtoReflect.Descriptor instead. +func (*PropertyDescriptionUpdatedEvent) Descriptor() ([]byte, []int) { + return file_libs_technical_events_property_svc_v1_property_proto_rawDescGZIP(), []int{1} +} + +func (x *PropertyDescriptionUpdatedEvent) GetDescription() string { + if x != nil { + return x.Description + } + return "" +} + +type PropertySetIDUpdatedEvent struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SetId string `protobuf:"bytes,1,opt,name=set_id,json=setId,proto3" json:"set_id,omitempty"` +} + +func (x *PropertySetIDUpdatedEvent) Reset() { + *x = PropertySetIDUpdatedEvent{} + if protoimpl.UnsafeEnabled { + mi := &file_libs_technical_events_property_svc_v1_property_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PropertySetIDUpdatedEvent) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PropertySetIDUpdatedEvent) ProtoMessage() {} + +func (x *PropertySetIDUpdatedEvent) ProtoReflect() protoreflect.Message { + mi := &file_libs_technical_events_property_svc_v1_property_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PropertySetIDUpdatedEvent.ProtoReflect.Descriptor instead. +func (*PropertySetIDUpdatedEvent) Descriptor() ([]byte, []int) { + return file_libs_technical_events_property_svc_v1_property_proto_rawDescGZIP(), []int{2} +} + +func (x *PropertySetIDUpdatedEvent) GetSetId() string { + if x != nil { + return x.SetId + } + return "" +} + +type PropertySubjectTypeUpdatedEvent struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SubjectType string `protobuf:"bytes,1,opt,name=subject_type,json=subjectType,proto3" json:"subject_type,omitempty"` +} + +func (x *PropertySubjectTypeUpdatedEvent) Reset() { + *x = PropertySubjectTypeUpdatedEvent{} + if protoimpl.UnsafeEnabled { + mi := &file_libs_technical_events_property_svc_v1_property_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PropertySubjectTypeUpdatedEvent) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PropertySubjectTypeUpdatedEvent) ProtoMessage() {} + +func (x *PropertySubjectTypeUpdatedEvent) ProtoReflect() protoreflect.Message { + mi := &file_libs_technical_events_property_svc_v1_property_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PropertySubjectTypeUpdatedEvent.ProtoReflect.Descriptor instead. +func (*PropertySubjectTypeUpdatedEvent) Descriptor() ([]byte, []int) { + return file_libs_technical_events_property_svc_v1_property_proto_rawDescGZIP(), []int{3} +} + +func (x *PropertySubjectTypeUpdatedEvent) GetSubjectType() string { + if x != nil { + return x.SubjectType + } + return "" +} + +type PropertyFieldTypeUpdatedEvent struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + FieldType string `protobuf:"bytes,1,opt,name=field_type,json=fieldType,proto3" json:"field_type,omitempty"` +} + +func (x *PropertyFieldTypeUpdatedEvent) Reset() { + *x = PropertyFieldTypeUpdatedEvent{} + if protoimpl.UnsafeEnabled { + mi := &file_libs_technical_events_property_svc_v1_property_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PropertyFieldTypeUpdatedEvent) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PropertyFieldTypeUpdatedEvent) ProtoMessage() {} + +func (x *PropertyFieldTypeUpdatedEvent) ProtoReflect() protoreflect.Message { + mi := &file_libs_technical_events_property_svc_v1_property_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PropertyFieldTypeUpdatedEvent.ProtoReflect.Descriptor instead. +func (*PropertyFieldTypeUpdatedEvent) Descriptor() ([]byte, []int) { + return file_libs_technical_events_property_svc_v1_property_proto_rawDescGZIP(), []int{4} +} + +func (x *PropertyFieldTypeUpdatedEvent) GetFieldType() string { + if x != nil { + return x.FieldType + } + return "" +} + +type PropertyFieldTypeDataCreatedEvent struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + FieldTypeData *PropertyFieldTypeDataCreatedEvent_FieldTypeData `protobuf:"bytes,1,opt,name=field_type_data,json=fieldTypeData,proto3" json:"field_type_data,omitempty"` +} + +func (x *PropertyFieldTypeDataCreatedEvent) Reset() { + *x = PropertyFieldTypeDataCreatedEvent{} + if protoimpl.UnsafeEnabled { + mi := &file_libs_technical_events_property_svc_v1_property_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PropertyFieldTypeDataCreatedEvent) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PropertyFieldTypeDataCreatedEvent) ProtoMessage() {} + +func (x *PropertyFieldTypeDataCreatedEvent) ProtoReflect() protoreflect.Message { + mi := &file_libs_technical_events_property_svc_v1_property_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PropertyFieldTypeDataCreatedEvent.ProtoReflect.Descriptor instead. +func (*PropertyFieldTypeDataCreatedEvent) Descriptor() ([]byte, []int) { + return file_libs_technical_events_property_svc_v1_property_proto_rawDescGZIP(), []int{5} +} + +func (x *PropertyFieldTypeDataCreatedEvent) GetFieldTypeData() *PropertyFieldTypeDataCreatedEvent_FieldTypeData { + if x != nil { + return x.FieldTypeData + } + return nil +} + +type PropertyNameUpdatedEvent struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields @@ -28,23 +336,580 @@ type UpdateNameEvent struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` } -func (x *UpdateNameEvent) Reset() { - *x = UpdateNameEvent{} +func (x *PropertyNameUpdatedEvent) Reset() { + *x = PropertyNameUpdatedEvent{} + if protoimpl.UnsafeEnabled { + mi := &file_libs_technical_events_property_svc_v1_property_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PropertyNameUpdatedEvent) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PropertyNameUpdatedEvent) ProtoMessage() {} + +func (x *PropertyNameUpdatedEvent) ProtoReflect() protoreflect.Message { + mi := &file_libs_technical_events_property_svc_v1_property_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PropertyNameUpdatedEvent.ProtoReflect.Descriptor instead. +func (*PropertyNameUpdatedEvent) Descriptor() ([]byte, []int) { + return file_libs_technical_events_property_svc_v1_property_proto_rawDescGZIP(), []int{6} +} + +func (x *PropertyNameUpdatedEvent) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +type PropertyFieldTypeDataAllowFreetextUpdatedEvent struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + NewAllowFreetext bool `protobuf:"varint,1,opt,name=new_allow_freetext,json=newAllowFreetext,proto3" json:"new_allow_freetext,omitempty"` +} + +func (x *PropertyFieldTypeDataAllowFreetextUpdatedEvent) Reset() { + *x = PropertyFieldTypeDataAllowFreetextUpdatedEvent{} + if protoimpl.UnsafeEnabled { + mi := &file_libs_technical_events_property_svc_v1_property_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PropertyFieldTypeDataAllowFreetextUpdatedEvent) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PropertyFieldTypeDataAllowFreetextUpdatedEvent) ProtoMessage() {} + +func (x *PropertyFieldTypeDataAllowFreetextUpdatedEvent) ProtoReflect() protoreflect.Message { + mi := &file_libs_technical_events_property_svc_v1_property_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PropertyFieldTypeDataAllowFreetextUpdatedEvent.ProtoReflect.Descriptor instead. +func (*PropertyFieldTypeDataAllowFreetextUpdatedEvent) Descriptor() ([]byte, []int) { + return file_libs_technical_events_property_svc_v1_property_proto_rawDescGZIP(), []int{7} +} + +func (x *PropertyFieldTypeDataAllowFreetextUpdatedEvent) GetNewAllowFreetext() bool { + if x != nil { + return x.NewAllowFreetext + } + return false +} + +type PropertyFieldTypeDataSelectOptionsRemovedEvent struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RemovedSelectOptions []string `protobuf:"bytes,1,rep,name=removed_select_options,json=removedSelectOptions,proto3" json:"removed_select_options,omitempty"` +} + +func (x *PropertyFieldTypeDataSelectOptionsRemovedEvent) Reset() { + *x = PropertyFieldTypeDataSelectOptionsRemovedEvent{} + if protoimpl.UnsafeEnabled { + mi := &file_libs_technical_events_property_svc_v1_property_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PropertyFieldTypeDataSelectOptionsRemovedEvent) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PropertyFieldTypeDataSelectOptionsRemovedEvent) ProtoMessage() {} + +func (x *PropertyFieldTypeDataSelectOptionsRemovedEvent) ProtoReflect() protoreflect.Message { + mi := &file_libs_technical_events_property_svc_v1_property_proto_msgTypes[8] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PropertyFieldTypeDataSelectOptionsRemovedEvent.ProtoReflect.Descriptor instead. +func (*PropertyFieldTypeDataSelectOptionsRemovedEvent) Descriptor() ([]byte, []int) { + return file_libs_technical_events_property_svc_v1_property_proto_rawDescGZIP(), []int{8} +} + +func (x *PropertyFieldTypeDataSelectOptionsRemovedEvent) GetRemovedSelectOptions() []string { + if x != nil { + return x.RemovedSelectOptions + } + return nil +} + +type PropertyFieldTypeDataSelectOptionsUpsertedEvent struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + UpsertedSelectOptions []*PropertyFieldTypeDataSelectOptionsUpsertedEvent_UpdateSelectOption `protobuf:"bytes,1,rep,name=upserted_select_options,json=upsertedSelectOptions,proto3" json:"upserted_select_options,omitempty"` +} + +func (x *PropertyFieldTypeDataSelectOptionsUpsertedEvent) Reset() { + *x = PropertyFieldTypeDataSelectOptionsUpsertedEvent{} + if protoimpl.UnsafeEnabled { + mi := &file_libs_technical_events_property_svc_v1_property_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PropertyFieldTypeDataSelectOptionsUpsertedEvent) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PropertyFieldTypeDataSelectOptionsUpsertedEvent) ProtoMessage() {} + +func (x *PropertyFieldTypeDataSelectOptionsUpsertedEvent) ProtoReflect() protoreflect.Message { + mi := &file_libs_technical_events_property_svc_v1_property_proto_msgTypes[9] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PropertyFieldTypeDataSelectOptionsUpsertedEvent.ProtoReflect.Descriptor instead. +func (*PropertyFieldTypeDataSelectOptionsUpsertedEvent) Descriptor() ([]byte, []int) { + return file_libs_technical_events_property_svc_v1_property_proto_rawDescGZIP(), []int{9} +} + +func (x *PropertyFieldTypeDataSelectOptionsUpsertedEvent) GetUpsertedSelectOptions() []*PropertyFieldTypeDataSelectOptionsUpsertedEvent_UpdateSelectOption { + if x != nil { + return x.UpsertedSelectOptions + } + return nil +} + +type PropertyArchivedEvent struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *PropertyArchivedEvent) Reset() { + *x = PropertyArchivedEvent{} + if protoimpl.UnsafeEnabled { + mi := &file_libs_technical_events_property_svc_v1_property_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PropertyArchivedEvent) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PropertyArchivedEvent) ProtoMessage() {} + +func (x *PropertyArchivedEvent) ProtoReflect() protoreflect.Message { + mi := &file_libs_technical_events_property_svc_v1_property_proto_msgTypes[10] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PropertyArchivedEvent.ProtoReflect.Descriptor instead. +func (*PropertyArchivedEvent) Descriptor() ([]byte, []int) { + return file_libs_technical_events_property_svc_v1_property_proto_rawDescGZIP(), []int{10} +} + +type PropertyRetrievedEvent struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *PropertyRetrievedEvent) Reset() { + *x = PropertyRetrievedEvent{} + if protoimpl.UnsafeEnabled { + mi := &file_libs_technical_events_property_svc_v1_property_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PropertyRetrievedEvent) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PropertyRetrievedEvent) ProtoMessage() {} + +func (x *PropertyRetrievedEvent) ProtoReflect() protoreflect.Message { + mi := &file_libs_technical_events_property_svc_v1_property_proto_msgTypes[11] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PropertyRetrievedEvent.ProtoReflect.Descriptor instead. +func (*PropertyRetrievedEvent) Descriptor() ([]byte, []int) { + return file_libs_technical_events_property_svc_v1_property_proto_rawDescGZIP(), []int{11} +} + +type TechnicalEvent struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to Event: + // + // *TechnicalEvent_PropertyCreated + // *TechnicalEvent_PropertyDescriptionUpdated + // *TechnicalEvent_PropertySetIdUpdated + // *TechnicalEvent_PropertySubjectTypeUpdated + // *TechnicalEvent_PropertyFieldTypeUpdated + // *TechnicalEvent_PropertyFieldTypeDataCreated + // *TechnicalEvent_PropertyNameUpdated + // *TechnicalEvent_PropertyFieldTypeDataAllowFreetextUpdated + // *TechnicalEvent_PropertyFieldTypeDataSelectOptionsRemoved + // *TechnicalEvent_PropertyFieldTypeDataSelectOptionsUpserted + // *TechnicalEvent_PropertyArchived + // *TechnicalEvent_PropertyRetrieved + Event isTechnicalEvent_Event `protobuf_oneof:"event"` +} + +func (x *TechnicalEvent) Reset() { + *x = TechnicalEvent{} + if protoimpl.UnsafeEnabled { + mi := &file_libs_technical_events_property_svc_v1_property_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TechnicalEvent) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TechnicalEvent) ProtoMessage() {} + +func (x *TechnicalEvent) ProtoReflect() protoreflect.Message { + mi := &file_libs_technical_events_property_svc_v1_property_proto_msgTypes[12] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TechnicalEvent.ProtoReflect.Descriptor instead. +func (*TechnicalEvent) Descriptor() ([]byte, []int) { + return file_libs_technical_events_property_svc_v1_property_proto_rawDescGZIP(), []int{12} +} + +func (m *TechnicalEvent) GetEvent() isTechnicalEvent_Event { + if m != nil { + return m.Event + } + return nil +} + +func (x *TechnicalEvent) GetPropertyCreated() *PropertyCreatedEvent { + if x, ok := x.GetEvent().(*TechnicalEvent_PropertyCreated); ok { + return x.PropertyCreated + } + return nil +} + +func (x *TechnicalEvent) GetPropertyDescriptionUpdated() *PropertyDescriptionUpdatedEvent { + if x, ok := x.GetEvent().(*TechnicalEvent_PropertyDescriptionUpdated); ok { + return x.PropertyDescriptionUpdated + } + return nil +} + +func (x *TechnicalEvent) GetPropertySetIdUpdated() *PropertySetIDUpdatedEvent { + if x, ok := x.GetEvent().(*TechnicalEvent_PropertySetIdUpdated); ok { + return x.PropertySetIdUpdated + } + return nil +} + +func (x *TechnicalEvent) GetPropertySubjectTypeUpdated() *PropertySubjectTypeUpdatedEvent { + if x, ok := x.GetEvent().(*TechnicalEvent_PropertySubjectTypeUpdated); ok { + return x.PropertySubjectTypeUpdated + } + return nil +} + +func (x *TechnicalEvent) GetPropertyFieldTypeUpdated() *PropertyFieldTypeUpdatedEvent { + if x, ok := x.GetEvent().(*TechnicalEvent_PropertyFieldTypeUpdated); ok { + return x.PropertyFieldTypeUpdated + } + return nil +} + +func (x *TechnicalEvent) GetPropertyFieldTypeDataCreated() *PropertyFieldTypeDataCreatedEvent { + if x, ok := x.GetEvent().(*TechnicalEvent_PropertyFieldTypeDataCreated); ok { + return x.PropertyFieldTypeDataCreated + } + return nil +} + +func (x *TechnicalEvent) GetPropertyNameUpdated() *PropertyNameUpdatedEvent { + if x, ok := x.GetEvent().(*TechnicalEvent_PropertyNameUpdated); ok { + return x.PropertyNameUpdated + } + return nil +} + +func (x *TechnicalEvent) GetPropertyFieldTypeDataAllowFreetextUpdated() *PropertyFieldTypeDataAllowFreetextUpdatedEvent { + if x, ok := x.GetEvent().(*TechnicalEvent_PropertyFieldTypeDataAllowFreetextUpdated); ok { + return x.PropertyFieldTypeDataAllowFreetextUpdated + } + return nil +} + +func (x *TechnicalEvent) GetPropertyFieldTypeDataSelectOptionsRemoved() *PropertyFieldTypeDataSelectOptionsRemovedEvent { + if x, ok := x.GetEvent().(*TechnicalEvent_PropertyFieldTypeDataSelectOptionsRemoved); ok { + return x.PropertyFieldTypeDataSelectOptionsRemoved + } + return nil +} + +func (x *TechnicalEvent) GetPropertyFieldTypeDataSelectOptionsUpserted() *PropertyFieldTypeDataSelectOptionsUpsertedEvent { + if x, ok := x.GetEvent().(*TechnicalEvent_PropertyFieldTypeDataSelectOptionsUpserted); ok { + return x.PropertyFieldTypeDataSelectOptionsUpserted + } + return nil +} + +func (x *TechnicalEvent) GetPropertyArchived() *PropertyArchivedEvent { + if x, ok := x.GetEvent().(*TechnicalEvent_PropertyArchived); ok { + return x.PropertyArchived + } + return nil +} + +func (x *TechnicalEvent) GetPropertyRetrieved() *PropertyRetrievedEvent { + if x, ok := x.GetEvent().(*TechnicalEvent_PropertyRetrieved); ok { + return x.PropertyRetrieved + } + return nil +} + +type isTechnicalEvent_Event interface { + isTechnicalEvent_Event() +} + +type TechnicalEvent_PropertyCreated struct { + PropertyCreated *PropertyCreatedEvent `protobuf:"bytes,1,opt,name=property_created,json=propertyCreated,proto3,oneof"` +} + +type TechnicalEvent_PropertyDescriptionUpdated struct { + PropertyDescriptionUpdated *PropertyDescriptionUpdatedEvent `protobuf:"bytes,2,opt,name=property_description_updated,json=propertyDescriptionUpdated,proto3,oneof"` +} + +type TechnicalEvent_PropertySetIdUpdated struct { + PropertySetIdUpdated *PropertySetIDUpdatedEvent `protobuf:"bytes,3,opt,name=property_set_id_updated,json=propertySetIdUpdated,proto3,oneof"` +} + +type TechnicalEvent_PropertySubjectTypeUpdated struct { + PropertySubjectTypeUpdated *PropertySubjectTypeUpdatedEvent `protobuf:"bytes,4,opt,name=property_subject_type_updated,json=propertySubjectTypeUpdated,proto3,oneof"` +} + +type TechnicalEvent_PropertyFieldTypeUpdated struct { + PropertyFieldTypeUpdated *PropertyFieldTypeUpdatedEvent `protobuf:"bytes,5,opt,name=property_field_type_updated,json=propertyFieldTypeUpdated,proto3,oneof"` +} + +type TechnicalEvent_PropertyFieldTypeDataCreated struct { + PropertyFieldTypeDataCreated *PropertyFieldTypeDataCreatedEvent `protobuf:"bytes,6,opt,name=property_field_type_data_created,json=propertyFieldTypeDataCreated,proto3,oneof"` +} + +type TechnicalEvent_PropertyNameUpdated struct { + PropertyNameUpdated *PropertyNameUpdatedEvent `protobuf:"bytes,7,opt,name=property_name_updated,json=propertyNameUpdated,proto3,oneof"` +} + +type TechnicalEvent_PropertyFieldTypeDataAllowFreetextUpdated struct { + PropertyFieldTypeDataAllowFreetextUpdated *PropertyFieldTypeDataAllowFreetextUpdatedEvent `protobuf:"bytes,8,opt,name=property_field_type_data_allow_freetext_updated,json=propertyFieldTypeDataAllowFreetextUpdated,proto3,oneof"` +} + +type TechnicalEvent_PropertyFieldTypeDataSelectOptionsRemoved struct { + PropertyFieldTypeDataSelectOptionsRemoved *PropertyFieldTypeDataSelectOptionsRemovedEvent `protobuf:"bytes,9,opt,name=property_field_type_data_select_options_removed,json=propertyFieldTypeDataSelectOptionsRemoved,proto3,oneof"` +} + +type TechnicalEvent_PropertyFieldTypeDataSelectOptionsUpserted struct { + PropertyFieldTypeDataSelectOptionsUpserted *PropertyFieldTypeDataSelectOptionsUpsertedEvent `protobuf:"bytes,10,opt,name=property_field_type_data_select_options_upserted,json=propertyFieldTypeDataSelectOptionsUpserted,proto3,oneof"` +} + +type TechnicalEvent_PropertyArchived struct { + PropertyArchived *PropertyArchivedEvent `protobuf:"bytes,11,opt,name=property_archived,json=propertyArchived,proto3,oneof"` +} + +type TechnicalEvent_PropertyRetrieved struct { + PropertyRetrieved *PropertyRetrievedEvent `protobuf:"bytes,12,opt,name=property_retrieved,json=propertyRetrieved,proto3,oneof"` +} + +func (*TechnicalEvent_PropertyCreated) isTechnicalEvent_Event() {} + +func (*TechnicalEvent_PropertyDescriptionUpdated) isTechnicalEvent_Event() {} + +func (*TechnicalEvent_PropertySetIdUpdated) isTechnicalEvent_Event() {} + +func (*TechnicalEvent_PropertySubjectTypeUpdated) isTechnicalEvent_Event() {} + +func (*TechnicalEvent_PropertyFieldTypeUpdated) isTechnicalEvent_Event() {} + +func (*TechnicalEvent_PropertyFieldTypeDataCreated) isTechnicalEvent_Event() {} + +func (*TechnicalEvent_PropertyNameUpdated) isTechnicalEvent_Event() {} + +func (*TechnicalEvent_PropertyFieldTypeDataAllowFreetextUpdated) isTechnicalEvent_Event() {} + +func (*TechnicalEvent_PropertyFieldTypeDataSelectOptionsRemoved) isTechnicalEvent_Event() {} + +func (*TechnicalEvent_PropertyFieldTypeDataSelectOptionsUpserted) isTechnicalEvent_Event() {} + +func (*TechnicalEvent_PropertyArchived) isTechnicalEvent_Event() {} + +func (*TechnicalEvent_PropertyRetrieved) isTechnicalEvent_Event() {} + +type PropertyFieldTypeDataCreatedEvent_SelectOption struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + Description *string `protobuf:"bytes,3,opt,name=description,proto3,oneof" json:"description,omitempty"` + IsCustom bool `protobuf:"varint,4,opt,name=is_custom,json=isCustom,proto3" json:"is_custom,omitempty"` +} + +func (x *PropertyFieldTypeDataCreatedEvent_SelectOption) Reset() { + *x = PropertyFieldTypeDataCreatedEvent_SelectOption{} + if protoimpl.UnsafeEnabled { + mi := &file_libs_technical_events_property_svc_v1_property_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PropertyFieldTypeDataCreatedEvent_SelectOption) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PropertyFieldTypeDataCreatedEvent_SelectOption) ProtoMessage() {} + +func (x *PropertyFieldTypeDataCreatedEvent_SelectOption) ProtoReflect() protoreflect.Message { + mi := &file_libs_technical_events_property_svc_v1_property_proto_msgTypes[13] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PropertyFieldTypeDataCreatedEvent_SelectOption.ProtoReflect.Descriptor instead. +func (*PropertyFieldTypeDataCreatedEvent_SelectOption) Descriptor() ([]byte, []int) { + return file_libs_technical_events_property_svc_v1_property_proto_rawDescGZIP(), []int{5, 0} +} + +func (x *PropertyFieldTypeDataCreatedEvent_SelectOption) GetId() string { + if x != nil { + return x.Id + } + return "" +} + +func (x *PropertyFieldTypeDataCreatedEvent_SelectOption) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +func (x *PropertyFieldTypeDataCreatedEvent_SelectOption) GetDescription() string { + if x != nil && x.Description != nil { + return *x.Description + } + return "" +} + +func (x *PropertyFieldTypeDataCreatedEvent_SelectOption) GetIsCustom() bool { + if x != nil { + return x.IsCustom + } + return false +} + +type PropertyFieldTypeDataCreatedEvent_SelectData struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AllowFreetext bool `protobuf:"varint,1,opt,name=allow_freetext,json=allowFreetext,proto3" json:"allow_freetext,omitempty"` + SelectOptions []*PropertyFieldTypeDataCreatedEvent_SelectOption `protobuf:"bytes,2,rep,name=select_options,json=selectOptions,proto3" json:"select_options,omitempty"` +} + +func (x *PropertyFieldTypeDataCreatedEvent_SelectData) Reset() { + *x = PropertyFieldTypeDataCreatedEvent_SelectData{} if protoimpl.UnsafeEnabled { - mi := &file_libs_technical_events_property_svc_v1_property_proto_msgTypes[0] + mi := &file_libs_technical_events_property_svc_v1_property_proto_msgTypes[14] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *UpdateNameEvent) String() string { +func (x *PropertyFieldTypeDataCreatedEvent_SelectData) String() string { return protoimpl.X.MessageStringOf(x) } -func (*UpdateNameEvent) ProtoMessage() {} +func (*PropertyFieldTypeDataCreatedEvent_SelectData) ProtoMessage() {} -func (x *UpdateNameEvent) ProtoReflect() protoreflect.Message { - mi := &file_libs_technical_events_property_svc_v1_property_proto_msgTypes[0] +func (x *PropertyFieldTypeDataCreatedEvent_SelectData) ProtoReflect() protoreflect.Message { + mi := &file_libs_technical_events_property_svc_v1_property_proto_msgTypes[14] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -55,18 +920,143 @@ func (x *UpdateNameEvent) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use UpdateNameEvent.ProtoReflect.Descriptor instead. -func (*UpdateNameEvent) Descriptor() ([]byte, []int) { - return file_libs_technical_events_property_svc_v1_property_proto_rawDescGZIP(), []int{0} +// Deprecated: Use PropertyFieldTypeDataCreatedEvent_SelectData.ProtoReflect.Descriptor instead. +func (*PropertyFieldTypeDataCreatedEvent_SelectData) Descriptor() ([]byte, []int) { + return file_libs_technical_events_property_svc_v1_property_proto_rawDescGZIP(), []int{5, 1} } -func (x *UpdateNameEvent) GetName() string { +func (x *PropertyFieldTypeDataCreatedEvent_SelectData) GetAllowFreetext() bool { if x != nil { - return x.Name + return x.AllowFreetext + } + return false +} + +func (x *PropertyFieldTypeDataCreatedEvent_SelectData) GetSelectOptions() []*PropertyFieldTypeDataCreatedEvent_SelectOption { + if x != nil { + return x.SelectOptions + } + return nil +} + +type PropertyFieldTypeDataCreatedEvent_FieldTypeData struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SelectData *PropertyFieldTypeDataCreatedEvent_SelectData `protobuf:"bytes,1,opt,name=select_data,json=selectData,proto3,oneof" json:"select_data,omitempty"` +} + +func (x *PropertyFieldTypeDataCreatedEvent_FieldTypeData) Reset() { + *x = PropertyFieldTypeDataCreatedEvent_FieldTypeData{} + if protoimpl.UnsafeEnabled { + mi := &file_libs_technical_events_property_svc_v1_property_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PropertyFieldTypeDataCreatedEvent_FieldTypeData) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PropertyFieldTypeDataCreatedEvent_FieldTypeData) ProtoMessage() {} + +func (x *PropertyFieldTypeDataCreatedEvent_FieldTypeData) ProtoReflect() protoreflect.Message { + mi := &file_libs_technical_events_property_svc_v1_property_proto_msgTypes[15] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PropertyFieldTypeDataCreatedEvent_FieldTypeData.ProtoReflect.Descriptor instead. +func (*PropertyFieldTypeDataCreatedEvent_FieldTypeData) Descriptor() ([]byte, []int) { + return file_libs_technical_events_property_svc_v1_property_proto_rawDescGZIP(), []int{5, 2} +} + +func (x *PropertyFieldTypeDataCreatedEvent_FieldTypeData) GetSelectData() *PropertyFieldTypeDataCreatedEvent_SelectData { + if x != nil { + return x.SelectData + } + return nil +} + +type PropertyFieldTypeDataSelectOptionsUpsertedEvent_UpdateSelectOption struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + Name *string `protobuf:"bytes,2,opt,name=name,proto3,oneof" json:"name,omitempty"` + Description *string `protobuf:"bytes,3,opt,name=description,proto3,oneof" json:"description,omitempty"` + IsCustom *bool `protobuf:"varint,4,opt,name=is_custom,json=isCustom,proto3,oneof" json:"is_custom,omitempty"` +} + +func (x *PropertyFieldTypeDataSelectOptionsUpsertedEvent_UpdateSelectOption) Reset() { + *x = PropertyFieldTypeDataSelectOptionsUpsertedEvent_UpdateSelectOption{} + if protoimpl.UnsafeEnabled { + mi := &file_libs_technical_events_property_svc_v1_property_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PropertyFieldTypeDataSelectOptionsUpsertedEvent_UpdateSelectOption) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PropertyFieldTypeDataSelectOptionsUpsertedEvent_UpdateSelectOption) ProtoMessage() {} + +func (x *PropertyFieldTypeDataSelectOptionsUpsertedEvent_UpdateSelectOption) ProtoReflect() protoreflect.Message { + mi := &file_libs_technical_events_property_svc_v1_property_proto_msgTypes[16] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PropertyFieldTypeDataSelectOptionsUpsertedEvent_UpdateSelectOption.ProtoReflect.Descriptor instead. +func (*PropertyFieldTypeDataSelectOptionsUpsertedEvent_UpdateSelectOption) Descriptor() ([]byte, []int) { + return file_libs_technical_events_property_svc_v1_property_proto_rawDescGZIP(), []int{9, 0} +} + +func (x *PropertyFieldTypeDataSelectOptionsUpsertedEvent_UpdateSelectOption) GetId() string { + if x != nil { + return x.Id + } + return "" +} + +func (x *PropertyFieldTypeDataSelectOptionsUpsertedEvent_UpdateSelectOption) GetName() string { + if x != nil && x.Name != nil { + return *x.Name + } + return "" +} + +func (x *PropertyFieldTypeDataSelectOptionsUpsertedEvent_UpdateSelectOption) GetDescription() string { + if x != nil && x.Description != nil { + return *x.Description } return "" } +func (x *PropertyFieldTypeDataSelectOptionsUpsertedEvent_UpdateSelectOption) GetIsCustom() bool { + if x != nil && x.IsCustom != nil { + return *x.IsCustom + } + return false +} + var File_libs_technical_events_property_svc_v1_property_proto protoreflect.FileDescriptor var file_libs_technical_events_property_svc_v1_property_proto_rawDesc = []byte{ @@ -75,28 +1065,279 @@ var file_libs_technical_events_property_svc_v1_property_proto_rawDesc = []byte{ 0x5f, 0x73, 0x76, 0x63, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x25, 0x6c, 0x69, 0x62, 0x73, 0x2e, 0x74, 0x65, 0x63, 0x68, 0x6e, 0x69, 0x63, 0x61, 0x6c, 0x5f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x70, 0x72, - 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x22, 0x25, 0x0a, - 0x0f, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x45, 0x76, 0x65, 0x6e, 0x74, - 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, - 0x6e, 0x61, 0x6d, 0x65, 0x42, 0x94, 0x02, 0x0a, 0x29, 0x63, 0x6f, 0x6d, 0x2e, 0x6c, 0x69, 0x62, + 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x1a, 0x1c, 0x6c, + 0x69, 0x62, 0x73, 0x2f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x6f, 0x70, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x24, 0x73, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x5f, 0x73, + 0x76, 0x63, 0x2f, 0x76, 0x31, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0xe1, 0x01, 0x0a, 0x14, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x43, 0x72, + 0x65, 0x61, 0x74, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x48, 0x0a, 0x0c, 0x73, 0x75, + 0x62, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, + 0x32, 0x25, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x70, + 0x65, 0x72, 0x74, 0x79, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x75, 0x62, 0x6a, + 0x65, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, + 0x54, 0x79, 0x70, 0x65, 0x12, 0x42, 0x0a, 0x0a, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x74, 0x79, + 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x23, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, + 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x5f, 0x73, 0x76, 0x63, + 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x54, 0x79, 0x70, 0x65, 0x52, 0x09, 0x66, + 0x69, 0x65, 0x6c, 0x64, 0x54, 0x79, 0x70, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x3a, 0x17, 0xda, 0x84, + 0x01, 0x13, 0x50, 0x52, 0x4f, 0x50, 0x45, 0x52, 0x54, 0x59, 0x5f, 0x43, 0x52, 0x45, 0x41, 0x54, + 0x45, 0x44, 0x5f, 0x76, 0x31, 0x22, 0x68, 0x0a, 0x1f, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, + 0x79, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x55, 0x70, 0x64, 0x61, + 0x74, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, + 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, + 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x3a, 0x23, 0xda, 0x84, 0x01, 0x1f, + 0x50, 0x52, 0x4f, 0x50, 0x45, 0x52, 0x54, 0x59, 0x5f, 0x44, 0x45, 0x53, 0x43, 0x52, 0x49, 0x50, + 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x55, 0x50, 0x44, 0x41, 0x54, 0x45, 0x44, 0x5f, 0x76, 0x31, 0x22, + 0x52, 0x0a, 0x19, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x53, 0x65, 0x74, 0x49, 0x44, + 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x15, 0x0a, 0x06, + 0x73, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x65, + 0x74, 0x49, 0x64, 0x3a, 0x1e, 0xda, 0x84, 0x01, 0x1a, 0x50, 0x52, 0x4f, 0x50, 0x45, 0x52, 0x54, + 0x59, 0x5f, 0x53, 0x45, 0x54, 0x5f, 0x49, 0x44, 0x5f, 0x55, 0x50, 0x44, 0x41, 0x54, 0x45, 0x44, + 0x5f, 0x76, 0x31, 0x22, 0x6a, 0x0a, 0x1f, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x53, + 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, + 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, + 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x73, 0x75, + 0x62, 0x6a, 0x65, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x3a, 0x24, 0xda, 0x84, 0x01, 0x20, 0x50, + 0x52, 0x4f, 0x50, 0x45, 0x52, 0x54, 0x59, 0x5f, 0x53, 0x55, 0x42, 0x4a, 0x45, 0x43, 0x54, 0x5f, + 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x50, 0x44, 0x41, 0x54, 0x45, 0x44, 0x5f, 0x76, 0x31, 0x22, + 0x62, 0x0a, 0x1d, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x46, 0x69, 0x65, 0x6c, 0x64, + 0x54, 0x79, 0x70, 0x65, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, + 0x12, 0x1d, 0x0a, 0x0a, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x54, 0x79, 0x70, 0x65, 0x3a, + 0x22, 0xda, 0x84, 0x01, 0x1e, 0x50, 0x52, 0x4f, 0x50, 0x45, 0x52, 0x54, 0x59, 0x5f, 0x46, 0x49, + 0x45, 0x4c, 0x44, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x50, 0x44, 0x41, 0x54, 0x45, 0x44, + 0x5f, 0x76, 0x31, 0x22, 0xa6, 0x05, 0x0a, 0x21, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, + 0x46, 0x69, 0x65, 0x6c, 0x64, 0x54, 0x79, 0x70, 0x65, 0x44, 0x61, 0x74, 0x61, 0x43, 0x72, 0x65, + 0x61, 0x74, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x7e, 0x0a, 0x0f, 0x66, 0x69, 0x65, + 0x6c, 0x64, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x56, 0x2e, 0x6c, 0x69, 0x62, 0x73, 0x2e, 0x74, 0x65, 0x63, 0x68, 0x6e, 0x69, + 0x63, 0x61, 0x6c, 0x5f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x70, 0x65, + 0x72, 0x74, 0x79, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x65, + 0x72, 0x74, 0x79, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x54, 0x79, 0x70, 0x65, 0x44, 0x61, 0x74, 0x61, + 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x46, 0x69, 0x65, + 0x6c, 0x64, 0x54, 0x79, 0x70, 0x65, 0x44, 0x61, 0x74, 0x61, 0x52, 0x0d, 0x66, 0x69, 0x65, 0x6c, + 0x64, 0x54, 0x79, 0x70, 0x65, 0x44, 0x61, 0x74, 0x61, 0x1a, 0x86, 0x01, 0x0a, 0x0c, 0x53, 0x65, + 0x6c, 0x65, 0x63, 0x74, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, + 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x25, + 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, + 0x6f, 0x6e, 0x88, 0x01, 0x01, 0x12, 0x1b, 0x0a, 0x09, 0x69, 0x73, 0x5f, 0x63, 0x75, 0x73, 0x74, + 0x6f, 0x6d, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, 0x43, 0x75, 0x73, 0x74, + 0x6f, 0x6d, 0x42, 0x0e, 0x0a, 0x0c, 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, + 0x6f, 0x6e, 0x1a, 0xb1, 0x01, 0x0a, 0x0a, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x44, 0x61, 0x74, + 0x61, 0x12, 0x25, 0x0a, 0x0e, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x66, 0x72, 0x65, 0x65, 0x74, + 0x65, 0x78, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x61, 0x6c, 0x6c, 0x6f, 0x77, + 0x46, 0x72, 0x65, 0x65, 0x74, 0x65, 0x78, 0x74, 0x12, 0x7c, 0x0a, 0x0e, 0x73, 0x65, 0x6c, 0x65, + 0x63, 0x74, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x55, 0x2e, 0x6c, 0x69, 0x62, 0x73, 0x2e, 0x74, 0x65, 0x63, 0x68, 0x6e, 0x69, 0x63, 0x61, + 0x6c, 0x5f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, + 0x79, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, + 0x79, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x54, 0x79, 0x70, 0x65, 0x44, 0x61, 0x74, 0x61, 0x43, 0x72, + 0x65, 0x61, 0x74, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x53, 0x65, 0x6c, 0x65, 0x63, + 0x74, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0d, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x4f, + 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x9a, 0x01, 0x0a, 0x0d, 0x46, 0x69, 0x65, 0x6c, 0x64, + 0x54, 0x79, 0x70, 0x65, 0x44, 0x61, 0x74, 0x61, 0x12, 0x79, 0x0a, 0x0b, 0x73, 0x65, 0x6c, 0x65, + 0x63, 0x74, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x53, 0x2e, + 0x6c, 0x69, 0x62, 0x73, 0x2e, 0x74, 0x65, 0x63, 0x68, 0x6e, 0x69, 0x63, 0x61, 0x6c, 0x5f, 0x65, + 0x76, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x5f, 0x73, + 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x46, 0x69, + 0x65, 0x6c, 0x64, 0x54, 0x79, 0x70, 0x65, 0x44, 0x61, 0x74, 0x61, 0x43, 0x72, 0x65, 0x61, 0x74, + 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x44, 0x61, + 0x74, 0x61, 0x48, 0x00, 0x52, 0x0a, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x44, 0x61, 0x74, 0x61, + 0x88, 0x01, 0x01, 0x42, 0x0e, 0x0a, 0x0c, 0x5f, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x5f, 0x64, + 0x61, 0x74, 0x61, 0x3a, 0x27, 0xda, 0x84, 0x01, 0x23, 0x50, 0x52, 0x4f, 0x50, 0x45, 0x52, 0x54, + 0x59, 0x5f, 0x46, 0x49, 0x45, 0x4c, 0x44, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x44, 0x41, 0x54, + 0x41, 0x5f, 0x43, 0x52, 0x45, 0x41, 0x54, 0x45, 0x44, 0x5f, 0x76, 0x31, 0x22, 0x4c, 0x0a, 0x18, + 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x55, 0x70, 0x64, 0x61, + 0x74, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x3a, 0x1c, 0xda, 0x84, + 0x01, 0x18, 0x50, 0x52, 0x4f, 0x50, 0x45, 0x52, 0x54, 0x59, 0x5f, 0x4e, 0x41, 0x4d, 0x45, 0x5f, + 0x55, 0x50, 0x44, 0x41, 0x54, 0x45, 0x44, 0x5f, 0x76, 0x31, 0x22, 0x96, 0x01, 0x0a, 0x2e, 0x50, + 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x54, 0x79, 0x70, 0x65, + 0x44, 0x61, 0x74, 0x61, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x46, 0x72, 0x65, 0x65, 0x74, 0x65, 0x78, + 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x2c, 0x0a, + 0x12, 0x6e, 0x65, 0x77, 0x5f, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x66, 0x72, 0x65, 0x65, 0x74, + 0x65, 0x78, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x6e, 0x65, 0x77, 0x41, 0x6c, + 0x6c, 0x6f, 0x77, 0x46, 0x72, 0x65, 0x65, 0x74, 0x65, 0x78, 0x74, 0x3a, 0x36, 0xda, 0x84, 0x01, + 0x32, 0x50, 0x52, 0x4f, 0x50, 0x45, 0x52, 0x54, 0x59, 0x5f, 0x46, 0x49, 0x45, 0x4c, 0x44, 0x5f, + 0x54, 0x59, 0x50, 0x45, 0x5f, 0x44, 0x41, 0x54, 0x41, 0x5f, 0x41, 0x4c, 0x4c, 0x4f, 0x57, 0x5f, + 0x46, 0x52, 0x45, 0x45, 0x54, 0x45, 0x58, 0x54, 0x5f, 0x55, 0x50, 0x44, 0x41, 0x54, 0x45, 0x44, + 0x5f, 0x76, 0x31, 0x22, 0x9e, 0x01, 0x0a, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, + 0x46, 0x69, 0x65, 0x6c, 0x64, 0x54, 0x79, 0x70, 0x65, 0x44, 0x61, 0x74, 0x61, 0x53, 0x65, 0x6c, + 0x65, 0x63, 0x74, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, + 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x34, 0x0a, 0x16, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, + 0x64, 0x5f, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, + 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x14, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x53, + 0x65, 0x6c, 0x65, 0x63, 0x74, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x3a, 0x36, 0xda, 0x84, + 0x01, 0x32, 0x50, 0x52, 0x4f, 0x50, 0x45, 0x52, 0x54, 0x59, 0x5f, 0x46, 0x49, 0x45, 0x4c, 0x44, + 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x44, 0x41, 0x54, 0x41, 0x5f, 0x53, 0x45, 0x4c, 0x45, 0x43, + 0x54, 0x5f, 0x4f, 0x50, 0x54, 0x49, 0x4f, 0x4e, 0x53, 0x5f, 0x52, 0x45, 0x4d, 0x4f, 0x56, 0x45, + 0x44, 0x5f, 0x76, 0x31, 0x22, 0xbe, 0x03, 0x0a, 0x2f, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, + 0x79, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x54, 0x79, 0x70, 0x65, 0x44, 0x61, 0x74, 0x61, 0x53, 0x65, + 0x6c, 0x65, 0x63, 0x74, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x55, 0x70, 0x73, 0x65, 0x72, + 0x74, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0xa1, 0x01, 0x0a, 0x17, 0x75, 0x70, 0x73, + 0x65, 0x72, 0x74, 0x65, 0x64, 0x5f, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x5f, 0x6f, 0x70, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x69, 0x2e, 0x6c, 0x69, 0x62, + 0x73, 0x2e, 0x74, 0x65, 0x63, 0x68, 0x6e, 0x69, 0x63, 0x61, 0x6c, 0x5f, 0x65, 0x76, 0x65, 0x6e, + 0x74, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x5f, 0x73, 0x76, 0x63, 0x2e, + 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x46, 0x69, 0x65, 0x6c, 0x64, + 0x54, 0x79, 0x70, 0x65, 0x44, 0x61, 0x74, 0x61, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x4f, 0x70, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x55, 0x70, 0x73, 0x65, 0x72, 0x74, 0x65, 0x64, 0x45, 0x76, 0x65, + 0x6e, 0x74, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x4f, + 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x15, 0x75, 0x70, 0x73, 0x65, 0x72, 0x74, 0x65, 0x64, 0x53, + 0x65, 0x6c, 0x65, 0x63, 0x74, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0xad, 0x01, 0x0a, + 0x12, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x4f, 0x70, 0x74, + 0x69, 0x6f, 0x6e, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x02, 0x69, 0x64, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x48, 0x00, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x88, 0x01, 0x01, 0x12, 0x25, 0x0a, 0x0b, + 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x09, 0x48, 0x01, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, + 0x88, 0x01, 0x01, 0x12, 0x20, 0x0a, 0x09, 0x69, 0x73, 0x5f, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x48, 0x02, 0x52, 0x08, 0x69, 0x73, 0x43, 0x75, 0x73, 0x74, + 0x6f, 0x6d, 0x88, 0x01, 0x01, 0x42, 0x07, 0x0a, 0x05, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x42, 0x0e, + 0x0a, 0x0c, 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x0c, + 0x0a, 0x0a, 0x5f, 0x69, 0x73, 0x5f, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x3a, 0x37, 0xda, 0x84, + 0x01, 0x33, 0x50, 0x52, 0x4f, 0x50, 0x45, 0x52, 0x54, 0x59, 0x5f, 0x46, 0x49, 0x45, 0x4c, 0x44, + 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x44, 0x41, 0x54, 0x41, 0x5f, 0x53, 0x45, 0x4c, 0x45, 0x43, + 0x54, 0x5f, 0x4f, 0x50, 0x54, 0x49, 0x4f, 0x4e, 0x53, 0x5f, 0x55, 0x50, 0x53, 0x45, 0x52, 0x54, + 0x45, 0x44, 0x5f, 0x76, 0x31, 0x22, 0x31, 0x0a, 0x15, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, + 0x79, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x3a, 0x18, + 0xda, 0x84, 0x01, 0x14, 0x50, 0x52, 0x4f, 0x50, 0x45, 0x52, 0x54, 0x59, 0x5f, 0x41, 0x52, 0x43, + 0x48, 0x49, 0x56, 0x45, 0x44, 0x5f, 0x76, 0x31, 0x22, 0x33, 0x0a, 0x16, 0x50, 0x72, 0x6f, 0x70, + 0x65, 0x72, 0x74, 0x79, 0x52, 0x65, 0x74, 0x72, 0x69, 0x65, 0x76, 0x65, 0x64, 0x45, 0x76, 0x65, + 0x6e, 0x74, 0x3a, 0x19, 0xda, 0x84, 0x01, 0x15, 0x50, 0x52, 0x4f, 0x50, 0x45, 0x52, 0x54, 0x59, + 0x5f, 0x52, 0x45, 0x54, 0x52, 0x49, 0x45, 0x56, 0x45, 0x44, 0x5f, 0x76, 0x31, 0x22, 0xc7, 0x0d, + 0x0a, 0x0e, 0x54, 0x65, 0x63, 0x68, 0x6e, 0x69, 0x63, 0x61, 0x6c, 0x45, 0x76, 0x65, 0x6e, 0x74, + 0x12, 0x68, 0x0a, 0x10, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x5f, 0x63, 0x72, 0x65, + 0x61, 0x74, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3b, 0x2e, 0x6c, 0x69, 0x62, + 0x73, 0x2e, 0x74, 0x65, 0x63, 0x68, 0x6e, 0x69, 0x63, 0x61, 0x6c, 0x5f, 0x65, 0x76, 0x65, 0x6e, + 0x74, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x5f, 0x73, 0x76, 0x63, 0x2e, + 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x43, 0x72, 0x65, 0x61, 0x74, + 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x0f, 0x70, 0x72, 0x6f, 0x70, 0x65, + 0x72, 0x74, 0x79, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x12, 0x8a, 0x01, 0x0a, 0x1c, 0x70, + 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, + 0x69, 0x6f, 0x6e, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x46, 0x2e, 0x6c, 0x69, 0x62, 0x73, 0x2e, 0x74, 0x65, 0x63, 0x68, 0x6e, 0x69, 0x63, + 0x61, 0x6c, 0x5f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, + 0x74, 0x79, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, + 0x74, 0x79, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x55, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x1a, 0x70, 0x72, 0x6f, + 0x70, 0x65, 0x72, 0x74, 0x79, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, + 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x12, 0x79, 0x0a, 0x17, 0x70, 0x72, 0x6f, 0x70, 0x65, + 0x72, 0x74, 0x79, 0x5f, 0x73, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, + 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x40, 0x2e, 0x6c, 0x69, 0x62, 0x73, 0x2e, + 0x74, 0x65, 0x63, 0x68, 0x6e, 0x69, 0x63, 0x61, 0x6c, 0x5f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, + 0x2e, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, + 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x53, 0x65, 0x74, 0x49, 0x44, 0x55, 0x70, + 0x64, 0x61, 0x74, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x14, 0x70, 0x72, + 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x53, 0x65, 0x74, 0x49, 0x64, 0x55, 0x70, 0x64, 0x61, 0x74, + 0x65, 0x64, 0x12, 0x8b, 0x01, 0x0a, 0x1d, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x5f, + 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x75, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x46, 0x2e, 0x6c, 0x69, 0x62, + 0x73, 0x2e, 0x74, 0x65, 0x63, 0x68, 0x6e, 0x69, 0x63, 0x61, 0x6c, 0x5f, 0x65, 0x76, 0x65, 0x6e, + 0x74, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x5f, 0x73, 0x76, 0x63, 0x2e, + 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x53, 0x75, 0x62, 0x6a, 0x65, + 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x45, 0x76, 0x65, + 0x6e, 0x74, 0x48, 0x00, 0x52, 0x1a, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x53, 0x75, + 0x62, 0x6a, 0x65, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, + 0x12, 0x85, 0x01, 0x0a, 0x1b, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x5f, 0x66, 0x69, + 0x65, 0x6c, 0x64, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, + 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x44, 0x2e, 0x6c, 0x69, 0x62, 0x73, 0x2e, 0x74, 0x65, + 0x63, 0x68, 0x6e, 0x69, 0x63, 0x61, 0x6c, 0x5f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x70, + 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x50, + 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x54, 0x79, 0x70, 0x65, + 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x18, + 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x54, 0x79, 0x70, + 0x65, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x12, 0x92, 0x01, 0x0a, 0x20, 0x70, 0x72, 0x6f, + 0x70, 0x65, 0x72, 0x74, 0x79, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x74, 0x79, 0x70, 0x65, + 0x5f, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x18, 0x06, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x48, 0x2e, 0x6c, 0x69, 0x62, 0x73, 0x2e, 0x74, 0x65, 0x63, 0x68, 0x6e, + 0x69, 0x63, 0x61, 0x6c, 0x5f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x70, + 0x65, 0x72, 0x74, 0x79, 0x5f, 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, + 0x65, 0x72, 0x74, 0x79, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x54, 0x79, 0x70, 0x65, 0x44, 0x61, 0x74, + 0x61, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, + 0x1c, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x54, 0x79, + 0x70, 0x65, 0x44, 0x61, 0x74, 0x61, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x12, 0x75, 0x0a, + 0x15, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x5f, 0x75, + 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3f, 0x2e, 0x6c, + 0x69, 0x62, 0x73, 0x2e, 0x74, 0x65, 0x63, 0x68, 0x6e, 0x69, 0x63, 0x61, 0x6c, 0x5f, 0x65, 0x76, + 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x5f, 0x73, 0x76, + 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x4e, 0x61, 0x6d, + 0x65, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, + 0x13, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x55, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x64, 0x12, 0xbb, 0x01, 0x0a, 0x2f, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, + 0x79, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x64, 0x61, 0x74, + 0x61, 0x5f, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x66, 0x72, 0x65, 0x65, 0x74, 0x65, 0x78, 0x74, + 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x55, + 0x2e, 0x6c, 0x69, 0x62, 0x73, 0x2e, 0x74, 0x65, 0x63, 0x68, 0x6e, 0x69, 0x63, 0x61, 0x6c, 0x5f, + 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x5f, + 0x73, 0x76, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x46, + 0x69, 0x65, 0x6c, 0x64, 0x54, 0x79, 0x70, 0x65, 0x44, 0x61, 0x74, 0x61, 0x41, 0x6c, 0x6c, 0x6f, + 0x77, 0x46, 0x72, 0x65, 0x65, 0x74, 0x65, 0x78, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, + 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x29, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, + 0x79, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x54, 0x79, 0x70, 0x65, 0x44, 0x61, 0x74, 0x61, 0x41, 0x6c, + 0x6c, 0x6f, 0x77, 0x46, 0x72, 0x65, 0x65, 0x74, 0x65, 0x78, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, + 0x65, 0x64, 0x12, 0xbb, 0x01, 0x0a, 0x2f, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x5f, + 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x5f, + 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x5f, 0x72, + 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x55, 0x2e, 0x6c, + 0x69, 0x62, 0x73, 0x2e, 0x74, 0x65, 0x63, 0x68, 0x6e, 0x69, 0x63, 0x61, 0x6c, 0x5f, 0x65, 0x76, + 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x5f, 0x73, 0x76, + 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x46, 0x69, 0x65, + 0x6c, 0x64, 0x54, 0x79, 0x70, 0x65, 0x44, 0x61, 0x74, 0x61, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, + 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x45, 0x76, + 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x29, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x46, + 0x69, 0x65, 0x6c, 0x64, 0x54, 0x79, 0x70, 0x65, 0x44, 0x61, 0x74, 0x61, 0x53, 0x65, 0x6c, 0x65, + 0x63, 0x74, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, + 0x12, 0xbe, 0x01, 0x0a, 0x30, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x5f, 0x66, 0x69, + 0x65, 0x6c, 0x64, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x73, 0x65, + 0x6c, 0x65, 0x63, 0x74, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x5f, 0x75, 0x70, 0x73, + 0x65, 0x72, 0x74, 0x65, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x56, 0x2e, 0x6c, 0x69, + 0x62, 0x73, 0x2e, 0x74, 0x65, 0x63, 0x68, 0x6e, 0x69, 0x63, 0x61, 0x6c, 0x5f, 0x65, 0x76, 0x65, + 0x6e, 0x74, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x5f, 0x73, 0x76, 0x63, + 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x46, 0x69, 0x65, 0x6c, + 0x64, 0x54, 0x79, 0x70, 0x65, 0x44, 0x61, 0x74, 0x61, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x4f, + 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x55, 0x70, 0x73, 0x65, 0x72, 0x74, 0x65, 0x64, 0x45, 0x76, + 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x2a, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x46, + 0x69, 0x65, 0x6c, 0x64, 0x54, 0x79, 0x70, 0x65, 0x44, 0x61, 0x74, 0x61, 0x53, 0x65, 0x6c, 0x65, + 0x63, 0x74, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x55, 0x70, 0x73, 0x65, 0x72, 0x74, 0x65, + 0x64, 0x12, 0x6b, 0x0a, 0x11, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x5f, 0x61, 0x72, + 0x63, 0x68, 0x69, 0x76, 0x65, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3c, 0x2e, 0x6c, + 0x69, 0x62, 0x73, 0x2e, 0x74, 0x65, 0x63, 0x68, 0x6e, 0x69, 0x63, 0x61, 0x6c, 0x5f, 0x65, 0x76, + 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x5f, 0x73, 0x76, + 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x41, 0x72, 0x63, + 0x68, 0x69, 0x76, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x10, 0x70, 0x72, + 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x64, 0x12, 0x6e, + 0x0a, 0x12, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x5f, 0x72, 0x65, 0x74, 0x72, 0x69, + 0x65, 0x76, 0x65, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3d, 0x2e, 0x6c, 0x69, 0x62, 0x73, 0x2e, 0x74, 0x65, 0x63, 0x68, 0x6e, 0x69, 0x63, 0x61, 0x6c, 0x5f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x5f, 0x73, 0x76, 0x63, 0x2e, - 0x76, 0x31, 0x42, 0x0d, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x50, 0x72, 0x6f, 0x74, - 0x6f, 0x50, 0x01, 0x5a, 0x29, 0x67, 0x65, 0x6e, 0x2f, 0x6c, 0x69, 0x62, 0x73, 0x2f, 0x74, 0x65, - 0x63, 0x68, 0x6e, 0x69, 0x63, 0x61, 0x6c, 0x2d, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x2f, 0x70, - 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x2d, 0x73, 0x76, 0x63, 0x2f, 0x76, 0x31, 0xa2, 0x02, - 0x03, 0x4c, 0x54, 0x50, 0xaa, 0x02, 0x23, 0x4c, 0x69, 0x62, 0x73, 0x2e, 0x54, 0x65, 0x63, 0x68, - 0x6e, 0x69, 0x63, 0x61, 0x6c, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x50, 0x72, 0x6f, 0x70, - 0x65, 0x72, 0x74, 0x79, 0x53, 0x76, 0x63, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x23, 0x4c, 0x69, 0x62, - 0x73, 0x5c, 0x54, 0x65, 0x63, 0x68, 0x6e, 0x69, 0x63, 0x61, 0x6c, 0x45, 0x76, 0x65, 0x6e, 0x74, - 0x73, 0x5c, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x53, 0x76, 0x63, 0x5c, 0x56, 0x31, - 0xe2, 0x02, 0x2f, 0x4c, 0x69, 0x62, 0x73, 0x5c, 0x54, 0x65, 0x63, 0x68, 0x6e, 0x69, 0x63, 0x61, - 0x6c, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x5c, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, - 0x53, 0x76, 0x63, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, - 0x74, 0x61, 0xea, 0x02, 0x26, 0x4c, 0x69, 0x62, 0x73, 0x3a, 0x3a, 0x54, 0x65, 0x63, 0x68, 0x6e, - 0x69, 0x63, 0x61, 0x6c, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x3a, 0x3a, 0x50, 0x72, 0x6f, 0x70, - 0x65, 0x72, 0x74, 0x79, 0x53, 0x76, 0x63, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x33, + 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x52, 0x65, 0x74, 0x72, 0x69, + 0x65, 0x76, 0x65, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x11, 0x70, 0x72, 0x6f, + 0x70, 0x65, 0x72, 0x74, 0x79, 0x52, 0x65, 0x74, 0x72, 0x69, 0x65, 0x76, 0x65, 0x64, 0x42, 0x07, + 0x0a, 0x05, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x42, 0x94, 0x02, 0x0a, 0x29, 0x63, 0x6f, 0x6d, 0x2e, + 0x6c, 0x69, 0x62, 0x73, 0x2e, 0x74, 0x65, 0x63, 0x68, 0x6e, 0x69, 0x63, 0x61, 0x6c, 0x5f, 0x65, + 0x76, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x5f, 0x73, + 0x76, 0x63, 0x2e, 0x76, 0x31, 0x42, 0x0d, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x50, + 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x29, 0x67, 0x65, 0x6e, 0x2f, 0x6c, 0x69, 0x62, 0x73, + 0x2f, 0x74, 0x65, 0x63, 0x68, 0x6e, 0x69, 0x63, 0x61, 0x6c, 0x2d, 0x65, 0x76, 0x65, 0x6e, 0x74, + 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x2d, 0x73, 0x76, 0x63, 0x2f, 0x76, + 0x31, 0xa2, 0x02, 0x03, 0x4c, 0x54, 0x50, 0xaa, 0x02, 0x23, 0x4c, 0x69, 0x62, 0x73, 0x2e, 0x54, + 0x65, 0x63, 0x68, 0x6e, 0x69, 0x63, 0x61, 0x6c, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x50, + 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x53, 0x76, 0x63, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x23, + 0x4c, 0x69, 0x62, 0x73, 0x5c, 0x54, 0x65, 0x63, 0x68, 0x6e, 0x69, 0x63, 0x61, 0x6c, 0x45, 0x76, + 0x65, 0x6e, 0x74, 0x73, 0x5c, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x53, 0x76, 0x63, + 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x2f, 0x4c, 0x69, 0x62, 0x73, 0x5c, 0x54, 0x65, 0x63, 0x68, 0x6e, + 0x69, 0x63, 0x61, 0x6c, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x5c, 0x50, 0x72, 0x6f, 0x70, 0x65, + 0x72, 0x74, 0x79, 0x53, 0x76, 0x63, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, + 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x26, 0x4c, 0x69, 0x62, 0x73, 0x3a, 0x3a, 0x54, 0x65, + 0x63, 0x68, 0x6e, 0x69, 0x63, 0x61, 0x6c, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x3a, 0x3a, 0x50, + 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x53, 0x76, 0x63, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -111,16 +1352,52 @@ func file_libs_technical_events_property_svc_v1_property_proto_rawDescGZIP() []b return file_libs_technical_events_property_svc_v1_property_proto_rawDescData } -var file_libs_technical_events_property_svc_v1_property_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_libs_technical_events_property_svc_v1_property_proto_msgTypes = make([]protoimpl.MessageInfo, 17) var file_libs_technical_events_property_svc_v1_property_proto_goTypes = []interface{}{ - (*UpdateNameEvent)(nil), // 0: libs.technical_events.property_svc.v1.UpdateNameEvent + (*PropertyCreatedEvent)(nil), // 0: libs.technical_events.property_svc.v1.PropertyCreatedEvent + (*PropertyDescriptionUpdatedEvent)(nil), // 1: libs.technical_events.property_svc.v1.PropertyDescriptionUpdatedEvent + (*PropertySetIDUpdatedEvent)(nil), // 2: libs.technical_events.property_svc.v1.PropertySetIDUpdatedEvent + (*PropertySubjectTypeUpdatedEvent)(nil), // 3: libs.technical_events.property_svc.v1.PropertySubjectTypeUpdatedEvent + (*PropertyFieldTypeUpdatedEvent)(nil), // 4: libs.technical_events.property_svc.v1.PropertyFieldTypeUpdatedEvent + (*PropertyFieldTypeDataCreatedEvent)(nil), // 5: libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent + (*PropertyNameUpdatedEvent)(nil), // 6: libs.technical_events.property_svc.v1.PropertyNameUpdatedEvent + (*PropertyFieldTypeDataAllowFreetextUpdatedEvent)(nil), // 7: libs.technical_events.property_svc.v1.PropertyFieldTypeDataAllowFreetextUpdatedEvent + (*PropertyFieldTypeDataSelectOptionsRemovedEvent)(nil), // 8: libs.technical_events.property_svc.v1.PropertyFieldTypeDataSelectOptionsRemovedEvent + (*PropertyFieldTypeDataSelectOptionsUpsertedEvent)(nil), // 9: libs.technical_events.property_svc.v1.PropertyFieldTypeDataSelectOptionsUpsertedEvent + (*PropertyArchivedEvent)(nil), // 10: libs.technical_events.property_svc.v1.PropertyArchivedEvent + (*PropertyRetrievedEvent)(nil), // 11: libs.technical_events.property_svc.v1.PropertyRetrievedEvent + (*TechnicalEvent)(nil), // 12: libs.technical_events.property_svc.v1.TechnicalEvent + (*PropertyFieldTypeDataCreatedEvent_SelectOption)(nil), // 13: libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.SelectOption + (*PropertyFieldTypeDataCreatedEvent_SelectData)(nil), // 14: libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.SelectData + (*PropertyFieldTypeDataCreatedEvent_FieldTypeData)(nil), // 15: libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.FieldTypeData + (*PropertyFieldTypeDataSelectOptionsUpsertedEvent_UpdateSelectOption)(nil), // 16: libs.technical_events.property_svc.v1.PropertyFieldTypeDataSelectOptionsUpsertedEvent.UpdateSelectOption + (v1.SubjectType)(0), // 17: services.property_svc.v1.SubjectType + (v1.FieldType)(0), // 18: services.property_svc.v1.FieldType } var file_libs_technical_events_property_svc_v1_property_proto_depIdxs = []int32{ - 0, // [0:0] is the sub-list for method output_type - 0, // [0:0] is the sub-list for method input_type - 0, // [0:0] is the sub-list for extension type_name - 0, // [0:0] is the sub-list for extension extendee - 0, // [0:0] is the sub-list for field type_name + 17, // 0: libs.technical_events.property_svc.v1.PropertyCreatedEvent.subject_type:type_name -> services.property_svc.v1.SubjectType + 18, // 1: libs.technical_events.property_svc.v1.PropertyCreatedEvent.field_type:type_name -> services.property_svc.v1.FieldType + 15, // 2: libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.field_type_data:type_name -> libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.FieldTypeData + 16, // 3: libs.technical_events.property_svc.v1.PropertyFieldTypeDataSelectOptionsUpsertedEvent.upserted_select_options:type_name -> libs.technical_events.property_svc.v1.PropertyFieldTypeDataSelectOptionsUpsertedEvent.UpdateSelectOption + 0, // 4: libs.technical_events.property_svc.v1.TechnicalEvent.property_created:type_name -> libs.technical_events.property_svc.v1.PropertyCreatedEvent + 1, // 5: libs.technical_events.property_svc.v1.TechnicalEvent.property_description_updated:type_name -> libs.technical_events.property_svc.v1.PropertyDescriptionUpdatedEvent + 2, // 6: libs.technical_events.property_svc.v1.TechnicalEvent.property_set_id_updated:type_name -> libs.technical_events.property_svc.v1.PropertySetIDUpdatedEvent + 3, // 7: libs.technical_events.property_svc.v1.TechnicalEvent.property_subject_type_updated:type_name -> libs.technical_events.property_svc.v1.PropertySubjectTypeUpdatedEvent + 4, // 8: libs.technical_events.property_svc.v1.TechnicalEvent.property_field_type_updated:type_name -> libs.technical_events.property_svc.v1.PropertyFieldTypeUpdatedEvent + 5, // 9: libs.technical_events.property_svc.v1.TechnicalEvent.property_field_type_data_created:type_name -> libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent + 6, // 10: libs.technical_events.property_svc.v1.TechnicalEvent.property_name_updated:type_name -> libs.technical_events.property_svc.v1.PropertyNameUpdatedEvent + 7, // 11: libs.technical_events.property_svc.v1.TechnicalEvent.property_field_type_data_allow_freetext_updated:type_name -> libs.technical_events.property_svc.v1.PropertyFieldTypeDataAllowFreetextUpdatedEvent + 8, // 12: libs.technical_events.property_svc.v1.TechnicalEvent.property_field_type_data_select_options_removed:type_name -> libs.technical_events.property_svc.v1.PropertyFieldTypeDataSelectOptionsRemovedEvent + 9, // 13: libs.technical_events.property_svc.v1.TechnicalEvent.property_field_type_data_select_options_upserted:type_name -> libs.technical_events.property_svc.v1.PropertyFieldTypeDataSelectOptionsUpsertedEvent + 10, // 14: libs.technical_events.property_svc.v1.TechnicalEvent.property_archived:type_name -> libs.technical_events.property_svc.v1.PropertyArchivedEvent + 11, // 15: libs.technical_events.property_svc.v1.TechnicalEvent.property_retrieved:type_name -> libs.technical_events.property_svc.v1.PropertyRetrievedEvent + 13, // 16: libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.SelectData.select_options:type_name -> libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.SelectOption + 14, // 17: libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.FieldTypeData.select_data:type_name -> libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.SelectData + 18, // [18:18] is the sub-list for method output_type + 18, // [18:18] is the sub-list for method input_type + 18, // [18:18] is the sub-list for extension type_name + 18, // [18:18] is the sub-list for extension extendee + 0, // [0:18] is the sub-list for field type_name } func init() { file_libs_technical_events_property_svc_v1_property_proto_init() } @@ -130,7 +1407,199 @@ func file_libs_technical_events_property_svc_v1_property_proto_init() { } if !protoimpl.UnsafeEnabled { file_libs_technical_events_property_svc_v1_property_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateNameEvent); i { + switch v := v.(*PropertyCreatedEvent); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_libs_technical_events_property_svc_v1_property_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PropertyDescriptionUpdatedEvent); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_libs_technical_events_property_svc_v1_property_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PropertySetIDUpdatedEvent); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_libs_technical_events_property_svc_v1_property_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PropertySubjectTypeUpdatedEvent); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_libs_technical_events_property_svc_v1_property_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PropertyFieldTypeUpdatedEvent); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_libs_technical_events_property_svc_v1_property_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PropertyFieldTypeDataCreatedEvent); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_libs_technical_events_property_svc_v1_property_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PropertyNameUpdatedEvent); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_libs_technical_events_property_svc_v1_property_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PropertyFieldTypeDataAllowFreetextUpdatedEvent); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_libs_technical_events_property_svc_v1_property_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PropertyFieldTypeDataSelectOptionsRemovedEvent); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_libs_technical_events_property_svc_v1_property_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PropertyFieldTypeDataSelectOptionsUpsertedEvent); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_libs_technical_events_property_svc_v1_property_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PropertyArchivedEvent); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_libs_technical_events_property_svc_v1_property_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PropertyRetrievedEvent); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_libs_technical_events_property_svc_v1_property_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TechnicalEvent); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_libs_technical_events_property_svc_v1_property_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PropertyFieldTypeDataCreatedEvent_SelectOption); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_libs_technical_events_property_svc_v1_property_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PropertyFieldTypeDataCreatedEvent_SelectData); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_libs_technical_events_property_svc_v1_property_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PropertyFieldTypeDataCreatedEvent_FieldTypeData); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_libs_technical_events_property_svc_v1_property_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PropertyFieldTypeDataSelectOptionsUpsertedEvent_UpdateSelectOption); i { case 0: return &v.state case 1: @@ -142,13 +1611,30 @@ func file_libs_technical_events_property_svc_v1_property_proto_init() { } } } + file_libs_technical_events_property_svc_v1_property_proto_msgTypes[12].OneofWrappers = []interface{}{ + (*TechnicalEvent_PropertyCreated)(nil), + (*TechnicalEvent_PropertyDescriptionUpdated)(nil), + (*TechnicalEvent_PropertySetIdUpdated)(nil), + (*TechnicalEvent_PropertySubjectTypeUpdated)(nil), + (*TechnicalEvent_PropertyFieldTypeUpdated)(nil), + (*TechnicalEvent_PropertyFieldTypeDataCreated)(nil), + (*TechnicalEvent_PropertyNameUpdated)(nil), + (*TechnicalEvent_PropertyFieldTypeDataAllowFreetextUpdated)(nil), + (*TechnicalEvent_PropertyFieldTypeDataSelectOptionsRemoved)(nil), + (*TechnicalEvent_PropertyFieldTypeDataSelectOptionsUpserted)(nil), + (*TechnicalEvent_PropertyArchived)(nil), + (*TechnicalEvent_PropertyRetrieved)(nil), + } + file_libs_technical_events_property_svc_v1_property_proto_msgTypes[13].OneofWrappers = []interface{}{} + file_libs_technical_events_property_svc_v1_property_proto_msgTypes[15].OneofWrappers = []interface{}{} + file_libs_technical_events_property_svc_v1_property_proto_msgTypes[16].OneofWrappers = []interface{}{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_libs_technical_events_property_svc_v1_property_proto_rawDesc, NumEnums: 0, - NumMessages: 1, + NumMessages: 17, NumExtensions: 0, NumServices: 0, }, diff --git a/gen/ts/google/protobuf/descriptor_pb.d.ts b/gen/ts/google/protobuf/descriptor_pb.d.ts new file mode 100644 index 000000000..4d7071e4c --- /dev/null +++ b/gen/ts/google/protobuf/descriptor_pb.d.ts @@ -0,0 +1,1626 @@ +import * as jspb from 'google-protobuf' + + + +export class FileDescriptorSet extends jspb.Message { + getFileList(): Array; + setFileList(value: Array): FileDescriptorSet; + clearFileList(): FileDescriptorSet; + addFile(value?: FileDescriptorProto, index?: number): FileDescriptorProto; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): FileDescriptorSet.AsObject; + static toObject(includeInstance: boolean, msg: FileDescriptorSet): FileDescriptorSet.AsObject; + static serializeBinaryToWriter(message: FileDescriptorSet, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): FileDescriptorSet; + static deserializeBinaryFromReader(message: FileDescriptorSet, reader: jspb.BinaryReader): FileDescriptorSet; +} + +export namespace FileDescriptorSet { + export type AsObject = { + fileList: Array, + } +} + +export class FileDescriptorProto extends jspb.Message { + getName(): string; + setName(value: string): FileDescriptorProto; + hasName(): boolean; + clearName(): FileDescriptorProto; + + getPackage(): string; + setPackage(value: string): FileDescriptorProto; + hasPackage(): boolean; + clearPackage(): FileDescriptorProto; + + getDependencyList(): Array; + setDependencyList(value: Array): FileDescriptorProto; + clearDependencyList(): FileDescriptorProto; + addDependency(value: string, index?: number): FileDescriptorProto; + + getPublicDependencyList(): Array; + setPublicDependencyList(value: Array): FileDescriptorProto; + clearPublicDependencyList(): FileDescriptorProto; + addPublicDependency(value: number, index?: number): FileDescriptorProto; + + getWeakDependencyList(): Array; + setWeakDependencyList(value: Array): FileDescriptorProto; + clearWeakDependencyList(): FileDescriptorProto; + addWeakDependency(value: number, index?: number): FileDescriptorProto; + + getMessageTypeList(): Array; + setMessageTypeList(value: Array): FileDescriptorProto; + clearMessageTypeList(): FileDescriptorProto; + addMessageType(value?: DescriptorProto, index?: number): DescriptorProto; + + getEnumTypeList(): Array; + setEnumTypeList(value: Array): FileDescriptorProto; + clearEnumTypeList(): FileDescriptorProto; + addEnumType(value?: EnumDescriptorProto, index?: number): EnumDescriptorProto; + + getServiceList(): Array; + setServiceList(value: Array): FileDescriptorProto; + clearServiceList(): FileDescriptorProto; + addService(value?: ServiceDescriptorProto, index?: number): ServiceDescriptorProto; + + getExtensionList(): Array; + setExtensionList(value: Array): FileDescriptorProto; + clearExtensionList(): FileDescriptorProto; + addExtension(value?: FieldDescriptorProto, index?: number): FieldDescriptorProto; + + getOptions(): FileOptions | undefined; + setOptions(value?: FileOptions): FileDescriptorProto; + hasOptions(): boolean; + clearOptions(): FileDescriptorProto; + + getSourceCodeInfo(): SourceCodeInfo | undefined; + setSourceCodeInfo(value?: SourceCodeInfo): FileDescriptorProto; + hasSourceCodeInfo(): boolean; + clearSourceCodeInfo(): FileDescriptorProto; + + getSyntax(): string; + setSyntax(value: string): FileDescriptorProto; + hasSyntax(): boolean; + clearSyntax(): FileDescriptorProto; + + getEdition(): Edition; + setEdition(value: Edition): FileDescriptorProto; + hasEdition(): boolean; + clearEdition(): FileDescriptorProto; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): FileDescriptorProto.AsObject; + static toObject(includeInstance: boolean, msg: FileDescriptorProto): FileDescriptorProto.AsObject; + static serializeBinaryToWriter(message: FileDescriptorProto, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): FileDescriptorProto; + static deserializeBinaryFromReader(message: FileDescriptorProto, reader: jspb.BinaryReader): FileDescriptorProto; +} + +export namespace FileDescriptorProto { + export type AsObject = { + name?: string, + pb_package?: string, + dependencyList: Array, + publicDependencyList: Array, + weakDependencyList: Array, + messageTypeList: Array, + enumTypeList: Array, + serviceList: Array, + extensionList: Array, + options?: FileOptions.AsObject, + sourceCodeInfo?: SourceCodeInfo.AsObject, + syntax?: string, + edition?: Edition, + } +} + +export class DescriptorProto extends jspb.Message { + getName(): string; + setName(value: string): DescriptorProto; + hasName(): boolean; + clearName(): DescriptorProto; + + getFieldList(): Array; + setFieldList(value: Array): DescriptorProto; + clearFieldList(): DescriptorProto; + addField(value?: FieldDescriptorProto, index?: number): FieldDescriptorProto; + + getExtensionList(): Array; + setExtensionList(value: Array): DescriptorProto; + clearExtensionList(): DescriptorProto; + addExtension(value?: FieldDescriptorProto, index?: number): FieldDescriptorProto; + + getNestedTypeList(): Array; + setNestedTypeList(value: Array): DescriptorProto; + clearNestedTypeList(): DescriptorProto; + addNestedType(value?: DescriptorProto, index?: number): DescriptorProto; + + getEnumTypeList(): Array; + setEnumTypeList(value: Array): DescriptorProto; + clearEnumTypeList(): DescriptorProto; + addEnumType(value?: EnumDescriptorProto, index?: number): EnumDescriptorProto; + + getExtensionRangeList(): Array; + setExtensionRangeList(value: Array): DescriptorProto; + clearExtensionRangeList(): DescriptorProto; + addExtensionRange(value?: DescriptorProto.ExtensionRange, index?: number): DescriptorProto.ExtensionRange; + + getOneofDeclList(): Array; + setOneofDeclList(value: Array): DescriptorProto; + clearOneofDeclList(): DescriptorProto; + addOneofDecl(value?: OneofDescriptorProto, index?: number): OneofDescriptorProto; + + getOptions(): MessageOptions | undefined; + setOptions(value?: MessageOptions): DescriptorProto; + hasOptions(): boolean; + clearOptions(): DescriptorProto; + + getReservedRangeList(): Array; + setReservedRangeList(value: Array): DescriptorProto; + clearReservedRangeList(): DescriptorProto; + addReservedRange(value?: DescriptorProto.ReservedRange, index?: number): DescriptorProto.ReservedRange; + + getReservedNameList(): Array; + setReservedNameList(value: Array): DescriptorProto; + clearReservedNameList(): DescriptorProto; + addReservedName(value: string, index?: number): DescriptorProto; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): DescriptorProto.AsObject; + static toObject(includeInstance: boolean, msg: DescriptorProto): DescriptorProto.AsObject; + static serializeBinaryToWriter(message: DescriptorProto, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): DescriptorProto; + static deserializeBinaryFromReader(message: DescriptorProto, reader: jspb.BinaryReader): DescriptorProto; +} + +export namespace DescriptorProto { + export type AsObject = { + name?: string, + fieldList: Array, + extensionList: Array, + nestedTypeList: Array, + enumTypeList: Array, + extensionRangeList: Array, + oneofDeclList: Array, + options?: MessageOptions.AsObject, + reservedRangeList: Array, + reservedNameList: Array, + } + + export class ExtensionRange extends jspb.Message { + getStart(): number; + setStart(value: number): ExtensionRange; + hasStart(): boolean; + clearStart(): ExtensionRange; + + getEnd(): number; + setEnd(value: number): ExtensionRange; + hasEnd(): boolean; + clearEnd(): ExtensionRange; + + getOptions(): ExtensionRangeOptions | undefined; + setOptions(value?: ExtensionRangeOptions): ExtensionRange; + hasOptions(): boolean; + clearOptions(): ExtensionRange; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): ExtensionRange.AsObject; + static toObject(includeInstance: boolean, msg: ExtensionRange): ExtensionRange.AsObject; + static serializeBinaryToWriter(message: ExtensionRange, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): ExtensionRange; + static deserializeBinaryFromReader(message: ExtensionRange, reader: jspb.BinaryReader): ExtensionRange; + } + + export namespace ExtensionRange { + export type AsObject = { + start?: number, + end?: number, + options?: ExtensionRangeOptions.AsObject, + } + } + + + export class ReservedRange extends jspb.Message { + getStart(): number; + setStart(value: number): ReservedRange; + hasStart(): boolean; + clearStart(): ReservedRange; + + getEnd(): number; + setEnd(value: number): ReservedRange; + hasEnd(): boolean; + clearEnd(): ReservedRange; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): ReservedRange.AsObject; + static toObject(includeInstance: boolean, msg: ReservedRange): ReservedRange.AsObject; + static serializeBinaryToWriter(message: ReservedRange, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): ReservedRange; + static deserializeBinaryFromReader(message: ReservedRange, reader: jspb.BinaryReader): ReservedRange; + } + + export namespace ReservedRange { + export type AsObject = { + start?: number, + end?: number, + } + } + +} + +export class ExtensionRangeOptions extends jspb.Message { + getUninterpretedOptionList(): Array; + setUninterpretedOptionList(value: Array): ExtensionRangeOptions; + clearUninterpretedOptionList(): ExtensionRangeOptions; + addUninterpretedOption(value?: UninterpretedOption, index?: number): UninterpretedOption; + + getDeclarationList(): Array; + setDeclarationList(value: Array): ExtensionRangeOptions; + clearDeclarationList(): ExtensionRangeOptions; + addDeclaration(value?: ExtensionRangeOptions.Declaration, index?: number): ExtensionRangeOptions.Declaration; + + getFeatures(): FeatureSet | undefined; + setFeatures(value?: FeatureSet): ExtensionRangeOptions; + hasFeatures(): boolean; + clearFeatures(): ExtensionRangeOptions; + + getVerification(): ExtensionRangeOptions.VerificationState; + setVerification(value: ExtensionRangeOptions.VerificationState): ExtensionRangeOptions; + hasVerification(): boolean; + clearVerification(): ExtensionRangeOptions; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): ExtensionRangeOptions.AsObject; + static toObject(includeInstance: boolean, msg: ExtensionRangeOptions): ExtensionRangeOptions.AsObject; + static serializeBinaryToWriter(message: ExtensionRangeOptions, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): ExtensionRangeOptions; + static deserializeBinaryFromReader(message: ExtensionRangeOptions, reader: jspb.BinaryReader): ExtensionRangeOptions; +} + +export namespace ExtensionRangeOptions { + export type AsObject = { + uninterpretedOptionList: Array, + declarationList: Array, + features?: FeatureSet.AsObject, + verification?: ExtensionRangeOptions.VerificationState, + } + + export class Declaration extends jspb.Message { + getNumber(): number; + setNumber(value: number): Declaration; + hasNumber(): boolean; + clearNumber(): Declaration; + + getFullName(): string; + setFullName(value: string): Declaration; + hasFullName(): boolean; + clearFullName(): Declaration; + + getType(): string; + setType(value: string): Declaration; + hasType(): boolean; + clearType(): Declaration; + + getReserved(): boolean; + setReserved(value: boolean): Declaration; + hasReserved(): boolean; + clearReserved(): Declaration; + + getRepeated(): boolean; + setRepeated(value: boolean): Declaration; + hasRepeated(): boolean; + clearRepeated(): Declaration; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Declaration.AsObject; + static toObject(includeInstance: boolean, msg: Declaration): Declaration.AsObject; + static serializeBinaryToWriter(message: Declaration, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Declaration; + static deserializeBinaryFromReader(message: Declaration, reader: jspb.BinaryReader): Declaration; + } + + export namespace Declaration { + export type AsObject = { + number?: number, + fullName?: string, + type?: string, + reserved?: boolean, + repeated?: boolean, + } + } + + + export enum VerificationState { + DECLARATION = 0, + UNVERIFIED = 1, + } +} + +export class FieldDescriptorProto extends jspb.Message { + getName(): string; + setName(value: string): FieldDescriptorProto; + hasName(): boolean; + clearName(): FieldDescriptorProto; + + getNumber(): number; + setNumber(value: number): FieldDescriptorProto; + hasNumber(): boolean; + clearNumber(): FieldDescriptorProto; + + getLabel(): FieldDescriptorProto.Label; + setLabel(value: FieldDescriptorProto.Label): FieldDescriptorProto; + hasLabel(): boolean; + clearLabel(): FieldDescriptorProto; + + getType(): FieldDescriptorProto.Type; + setType(value: FieldDescriptorProto.Type): FieldDescriptorProto; + hasType(): boolean; + clearType(): FieldDescriptorProto; + + getTypeName(): string; + setTypeName(value: string): FieldDescriptorProto; + hasTypeName(): boolean; + clearTypeName(): FieldDescriptorProto; + + getExtendee(): string; + setExtendee(value: string): FieldDescriptorProto; + hasExtendee(): boolean; + clearExtendee(): FieldDescriptorProto; + + getDefaultValue(): string; + setDefaultValue(value: string): FieldDescriptorProto; + hasDefaultValue(): boolean; + clearDefaultValue(): FieldDescriptorProto; + + getOneofIndex(): number; + setOneofIndex(value: number): FieldDescriptorProto; + hasOneofIndex(): boolean; + clearOneofIndex(): FieldDescriptorProto; + + getJsonName(): string; + setJsonName(value: string): FieldDescriptorProto; + hasJsonName(): boolean; + clearJsonName(): FieldDescriptorProto; + + getOptions(): FieldOptions | undefined; + setOptions(value?: FieldOptions): FieldDescriptorProto; + hasOptions(): boolean; + clearOptions(): FieldDescriptorProto; + + getProto3Optional(): boolean; + setProto3Optional(value: boolean): FieldDescriptorProto; + hasProto3Optional(): boolean; + clearProto3Optional(): FieldDescriptorProto; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): FieldDescriptorProto.AsObject; + static toObject(includeInstance: boolean, msg: FieldDescriptorProto): FieldDescriptorProto.AsObject; + static serializeBinaryToWriter(message: FieldDescriptorProto, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): FieldDescriptorProto; + static deserializeBinaryFromReader(message: FieldDescriptorProto, reader: jspb.BinaryReader): FieldDescriptorProto; +} + +export namespace FieldDescriptorProto { + export type AsObject = { + name?: string, + number?: number, + label?: FieldDescriptorProto.Label, + type?: FieldDescriptorProto.Type, + typeName?: string, + extendee?: string, + defaultValue?: string, + oneofIndex?: number, + jsonName?: string, + options?: FieldOptions.AsObject, + proto3Optional?: boolean, + } + + export enum Type { + TYPE_DOUBLE = 1, + TYPE_FLOAT = 2, + TYPE_INT64 = 3, + TYPE_UINT64 = 4, + TYPE_INT32 = 5, + TYPE_FIXED64 = 6, + TYPE_FIXED32 = 7, + TYPE_BOOL = 8, + TYPE_STRING = 9, + TYPE_GROUP = 10, + TYPE_MESSAGE = 11, + TYPE_BYTES = 12, + TYPE_UINT32 = 13, + TYPE_ENUM = 14, + TYPE_SFIXED32 = 15, + TYPE_SFIXED64 = 16, + TYPE_SINT32 = 17, + TYPE_SINT64 = 18, + } + + export enum Label { + LABEL_OPTIONAL = 1, + LABEL_REPEATED = 3, + LABEL_REQUIRED = 2, + } +} + +export class OneofDescriptorProto extends jspb.Message { + getName(): string; + setName(value: string): OneofDescriptorProto; + hasName(): boolean; + clearName(): OneofDescriptorProto; + + getOptions(): OneofOptions | undefined; + setOptions(value?: OneofOptions): OneofDescriptorProto; + hasOptions(): boolean; + clearOptions(): OneofDescriptorProto; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): OneofDescriptorProto.AsObject; + static toObject(includeInstance: boolean, msg: OneofDescriptorProto): OneofDescriptorProto.AsObject; + static serializeBinaryToWriter(message: OneofDescriptorProto, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): OneofDescriptorProto; + static deserializeBinaryFromReader(message: OneofDescriptorProto, reader: jspb.BinaryReader): OneofDescriptorProto; +} + +export namespace OneofDescriptorProto { + export type AsObject = { + name?: string, + options?: OneofOptions.AsObject, + } +} + +export class EnumDescriptorProto extends jspb.Message { + getName(): string; + setName(value: string): EnumDescriptorProto; + hasName(): boolean; + clearName(): EnumDescriptorProto; + + getValueList(): Array; + setValueList(value: Array): EnumDescriptorProto; + clearValueList(): EnumDescriptorProto; + addValue(value?: EnumValueDescriptorProto, index?: number): EnumValueDescriptorProto; + + getOptions(): EnumOptions | undefined; + setOptions(value?: EnumOptions): EnumDescriptorProto; + hasOptions(): boolean; + clearOptions(): EnumDescriptorProto; + + getReservedRangeList(): Array; + setReservedRangeList(value: Array): EnumDescriptorProto; + clearReservedRangeList(): EnumDescriptorProto; + addReservedRange(value?: EnumDescriptorProto.EnumReservedRange, index?: number): EnumDescriptorProto.EnumReservedRange; + + getReservedNameList(): Array; + setReservedNameList(value: Array): EnumDescriptorProto; + clearReservedNameList(): EnumDescriptorProto; + addReservedName(value: string, index?: number): EnumDescriptorProto; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): EnumDescriptorProto.AsObject; + static toObject(includeInstance: boolean, msg: EnumDescriptorProto): EnumDescriptorProto.AsObject; + static serializeBinaryToWriter(message: EnumDescriptorProto, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): EnumDescriptorProto; + static deserializeBinaryFromReader(message: EnumDescriptorProto, reader: jspb.BinaryReader): EnumDescriptorProto; +} + +export namespace EnumDescriptorProto { + export type AsObject = { + name?: string, + valueList: Array, + options?: EnumOptions.AsObject, + reservedRangeList: Array, + reservedNameList: Array, + } + + export class EnumReservedRange extends jspb.Message { + getStart(): number; + setStart(value: number): EnumReservedRange; + hasStart(): boolean; + clearStart(): EnumReservedRange; + + getEnd(): number; + setEnd(value: number): EnumReservedRange; + hasEnd(): boolean; + clearEnd(): EnumReservedRange; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): EnumReservedRange.AsObject; + static toObject(includeInstance: boolean, msg: EnumReservedRange): EnumReservedRange.AsObject; + static serializeBinaryToWriter(message: EnumReservedRange, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): EnumReservedRange; + static deserializeBinaryFromReader(message: EnumReservedRange, reader: jspb.BinaryReader): EnumReservedRange; + } + + export namespace EnumReservedRange { + export type AsObject = { + start?: number, + end?: number, + } + } + +} + +export class EnumValueDescriptorProto extends jspb.Message { + getName(): string; + setName(value: string): EnumValueDescriptorProto; + hasName(): boolean; + clearName(): EnumValueDescriptorProto; + + getNumber(): number; + setNumber(value: number): EnumValueDescriptorProto; + hasNumber(): boolean; + clearNumber(): EnumValueDescriptorProto; + + getOptions(): EnumValueOptions | undefined; + setOptions(value?: EnumValueOptions): EnumValueDescriptorProto; + hasOptions(): boolean; + clearOptions(): EnumValueDescriptorProto; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): EnumValueDescriptorProto.AsObject; + static toObject(includeInstance: boolean, msg: EnumValueDescriptorProto): EnumValueDescriptorProto.AsObject; + static serializeBinaryToWriter(message: EnumValueDescriptorProto, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): EnumValueDescriptorProto; + static deserializeBinaryFromReader(message: EnumValueDescriptorProto, reader: jspb.BinaryReader): EnumValueDescriptorProto; +} + +export namespace EnumValueDescriptorProto { + export type AsObject = { + name?: string, + number?: number, + options?: EnumValueOptions.AsObject, + } +} + +export class ServiceDescriptorProto extends jspb.Message { + getName(): string; + setName(value: string): ServiceDescriptorProto; + hasName(): boolean; + clearName(): ServiceDescriptorProto; + + getMethodList(): Array; + setMethodList(value: Array): ServiceDescriptorProto; + clearMethodList(): ServiceDescriptorProto; + addMethod(value?: MethodDescriptorProto, index?: number): MethodDescriptorProto; + + getOptions(): ServiceOptions | undefined; + setOptions(value?: ServiceOptions): ServiceDescriptorProto; + hasOptions(): boolean; + clearOptions(): ServiceDescriptorProto; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): ServiceDescriptorProto.AsObject; + static toObject(includeInstance: boolean, msg: ServiceDescriptorProto): ServiceDescriptorProto.AsObject; + static serializeBinaryToWriter(message: ServiceDescriptorProto, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): ServiceDescriptorProto; + static deserializeBinaryFromReader(message: ServiceDescriptorProto, reader: jspb.BinaryReader): ServiceDescriptorProto; +} + +export namespace ServiceDescriptorProto { + export type AsObject = { + name?: string, + methodList: Array, + options?: ServiceOptions.AsObject, + } +} + +export class MethodDescriptorProto extends jspb.Message { + getName(): string; + setName(value: string): MethodDescriptorProto; + hasName(): boolean; + clearName(): MethodDescriptorProto; + + getInputType(): string; + setInputType(value: string): MethodDescriptorProto; + hasInputType(): boolean; + clearInputType(): MethodDescriptorProto; + + getOutputType(): string; + setOutputType(value: string): MethodDescriptorProto; + hasOutputType(): boolean; + clearOutputType(): MethodDescriptorProto; + + getOptions(): MethodOptions | undefined; + setOptions(value?: MethodOptions): MethodDescriptorProto; + hasOptions(): boolean; + clearOptions(): MethodDescriptorProto; + + getClientStreaming(): boolean; + setClientStreaming(value: boolean): MethodDescriptorProto; + hasClientStreaming(): boolean; + clearClientStreaming(): MethodDescriptorProto; + + getServerStreaming(): boolean; + setServerStreaming(value: boolean): MethodDescriptorProto; + hasServerStreaming(): boolean; + clearServerStreaming(): MethodDescriptorProto; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): MethodDescriptorProto.AsObject; + static toObject(includeInstance: boolean, msg: MethodDescriptorProto): MethodDescriptorProto.AsObject; + static serializeBinaryToWriter(message: MethodDescriptorProto, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): MethodDescriptorProto; + static deserializeBinaryFromReader(message: MethodDescriptorProto, reader: jspb.BinaryReader): MethodDescriptorProto; +} + +export namespace MethodDescriptorProto { + export type AsObject = { + name?: string, + inputType?: string, + outputType?: string, + options?: MethodOptions.AsObject, + clientStreaming?: boolean, + serverStreaming?: boolean, + } +} + +export class FileOptions extends jspb.Message { + getJavaPackage(): string; + setJavaPackage(value: string): FileOptions; + hasJavaPackage(): boolean; + clearJavaPackage(): FileOptions; + + getJavaOuterClassname(): string; + setJavaOuterClassname(value: string): FileOptions; + hasJavaOuterClassname(): boolean; + clearJavaOuterClassname(): FileOptions; + + getJavaMultipleFiles(): boolean; + setJavaMultipleFiles(value: boolean): FileOptions; + hasJavaMultipleFiles(): boolean; + clearJavaMultipleFiles(): FileOptions; + + getJavaGenerateEqualsAndHash(): boolean; + setJavaGenerateEqualsAndHash(value: boolean): FileOptions; + hasJavaGenerateEqualsAndHash(): boolean; + clearJavaGenerateEqualsAndHash(): FileOptions; + + getJavaStringCheckUtf8(): boolean; + setJavaStringCheckUtf8(value: boolean): FileOptions; + hasJavaStringCheckUtf8(): boolean; + clearJavaStringCheckUtf8(): FileOptions; + + getOptimizeFor(): FileOptions.OptimizeMode; + setOptimizeFor(value: FileOptions.OptimizeMode): FileOptions; + hasOptimizeFor(): boolean; + clearOptimizeFor(): FileOptions; + + getGoPackage(): string; + setGoPackage(value: string): FileOptions; + hasGoPackage(): boolean; + clearGoPackage(): FileOptions; + + getCcGenericServices(): boolean; + setCcGenericServices(value: boolean): FileOptions; + hasCcGenericServices(): boolean; + clearCcGenericServices(): FileOptions; + + getJavaGenericServices(): boolean; + setJavaGenericServices(value: boolean): FileOptions; + hasJavaGenericServices(): boolean; + clearJavaGenericServices(): FileOptions; + + getPyGenericServices(): boolean; + setPyGenericServices(value: boolean): FileOptions; + hasPyGenericServices(): boolean; + clearPyGenericServices(): FileOptions; + + getDeprecated(): boolean; + setDeprecated(value: boolean): FileOptions; + hasDeprecated(): boolean; + clearDeprecated(): FileOptions; + + getCcEnableArenas(): boolean; + setCcEnableArenas(value: boolean): FileOptions; + hasCcEnableArenas(): boolean; + clearCcEnableArenas(): FileOptions; + + getObjcClassPrefix(): string; + setObjcClassPrefix(value: string): FileOptions; + hasObjcClassPrefix(): boolean; + clearObjcClassPrefix(): FileOptions; + + getCsharpNamespace(): string; + setCsharpNamespace(value: string): FileOptions; + hasCsharpNamespace(): boolean; + clearCsharpNamespace(): FileOptions; + + getSwiftPrefix(): string; + setSwiftPrefix(value: string): FileOptions; + hasSwiftPrefix(): boolean; + clearSwiftPrefix(): FileOptions; + + getPhpClassPrefix(): string; + setPhpClassPrefix(value: string): FileOptions; + hasPhpClassPrefix(): boolean; + clearPhpClassPrefix(): FileOptions; + + getPhpNamespace(): string; + setPhpNamespace(value: string): FileOptions; + hasPhpNamespace(): boolean; + clearPhpNamespace(): FileOptions; + + getPhpMetadataNamespace(): string; + setPhpMetadataNamespace(value: string): FileOptions; + hasPhpMetadataNamespace(): boolean; + clearPhpMetadataNamespace(): FileOptions; + + getRubyPackage(): string; + setRubyPackage(value: string): FileOptions; + hasRubyPackage(): boolean; + clearRubyPackage(): FileOptions; + + getFeatures(): FeatureSet | undefined; + setFeatures(value?: FeatureSet): FileOptions; + hasFeatures(): boolean; + clearFeatures(): FileOptions; + + getUninterpretedOptionList(): Array; + setUninterpretedOptionList(value: Array): FileOptions; + clearUninterpretedOptionList(): FileOptions; + addUninterpretedOption(value?: UninterpretedOption, index?: number): UninterpretedOption; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): FileOptions.AsObject; + static toObject(includeInstance: boolean, msg: FileOptions): FileOptions.AsObject; + static serializeBinaryToWriter(message: FileOptions, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): FileOptions; + static deserializeBinaryFromReader(message: FileOptions, reader: jspb.BinaryReader): FileOptions; +} + +export namespace FileOptions { + export type AsObject = { + javaPackage?: string, + javaOuterClassname?: string, + javaMultipleFiles?: boolean, + javaGenerateEqualsAndHash?: boolean, + javaStringCheckUtf8?: boolean, + optimizeFor?: FileOptions.OptimizeMode, + goPackage?: string, + ccGenericServices?: boolean, + javaGenericServices?: boolean, + pyGenericServices?: boolean, + deprecated?: boolean, + ccEnableArenas?: boolean, + objcClassPrefix?: string, + csharpNamespace?: string, + swiftPrefix?: string, + phpClassPrefix?: string, + phpNamespace?: string, + phpMetadataNamespace?: string, + rubyPackage?: string, + features?: FeatureSet.AsObject, + uninterpretedOptionList: Array, + } + + export enum OptimizeMode { + SPEED = 1, + CODE_SIZE = 2, + LITE_RUNTIME = 3, + } +} + +export class MessageOptions extends jspb.Message { + getMessageSetWireFormat(): boolean; + setMessageSetWireFormat(value: boolean): MessageOptions; + hasMessageSetWireFormat(): boolean; + clearMessageSetWireFormat(): MessageOptions; + + getNoStandardDescriptorAccessor(): boolean; + setNoStandardDescriptorAccessor(value: boolean): MessageOptions; + hasNoStandardDescriptorAccessor(): boolean; + clearNoStandardDescriptorAccessor(): MessageOptions; + + getDeprecated(): boolean; + setDeprecated(value: boolean): MessageOptions; + hasDeprecated(): boolean; + clearDeprecated(): MessageOptions; + + getMapEntry(): boolean; + setMapEntry(value: boolean): MessageOptions; + hasMapEntry(): boolean; + clearMapEntry(): MessageOptions; + + getDeprecatedLegacyJsonFieldConflicts(): boolean; + setDeprecatedLegacyJsonFieldConflicts(value: boolean): MessageOptions; + hasDeprecatedLegacyJsonFieldConflicts(): boolean; + clearDeprecatedLegacyJsonFieldConflicts(): MessageOptions; + + getFeatures(): FeatureSet | undefined; + setFeatures(value?: FeatureSet): MessageOptions; + hasFeatures(): boolean; + clearFeatures(): MessageOptions; + + getUninterpretedOptionList(): Array; + setUninterpretedOptionList(value: Array): MessageOptions; + clearUninterpretedOptionList(): MessageOptions; + addUninterpretedOption(value?: UninterpretedOption, index?: number): UninterpretedOption; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): MessageOptions.AsObject; + static toObject(includeInstance: boolean, msg: MessageOptions): MessageOptions.AsObject; + static serializeBinaryToWriter(message: MessageOptions, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): MessageOptions; + static deserializeBinaryFromReader(message: MessageOptions, reader: jspb.BinaryReader): MessageOptions; +} + +export namespace MessageOptions { + export type AsObject = { + messageSetWireFormat?: boolean, + noStandardDescriptorAccessor?: boolean, + deprecated?: boolean, + mapEntry?: boolean, + deprecatedLegacyJsonFieldConflicts?: boolean, + features?: FeatureSet.AsObject, + uninterpretedOptionList: Array, + } +} + +export class FieldOptions extends jspb.Message { + getCtype(): FieldOptions.CType; + setCtype(value: FieldOptions.CType): FieldOptions; + hasCtype(): boolean; + clearCtype(): FieldOptions; + + getPacked(): boolean; + setPacked(value: boolean): FieldOptions; + hasPacked(): boolean; + clearPacked(): FieldOptions; + + getJstype(): FieldOptions.JSType; + setJstype(value: FieldOptions.JSType): FieldOptions; + hasJstype(): boolean; + clearJstype(): FieldOptions; + + getLazy(): boolean; + setLazy(value: boolean): FieldOptions; + hasLazy(): boolean; + clearLazy(): FieldOptions; + + getUnverifiedLazy(): boolean; + setUnverifiedLazy(value: boolean): FieldOptions; + hasUnverifiedLazy(): boolean; + clearUnverifiedLazy(): FieldOptions; + + getDeprecated(): boolean; + setDeprecated(value: boolean): FieldOptions; + hasDeprecated(): boolean; + clearDeprecated(): FieldOptions; + + getWeak(): boolean; + setWeak(value: boolean): FieldOptions; + hasWeak(): boolean; + clearWeak(): FieldOptions; + + getDebugRedact(): boolean; + setDebugRedact(value: boolean): FieldOptions; + hasDebugRedact(): boolean; + clearDebugRedact(): FieldOptions; + + getRetention(): FieldOptions.OptionRetention; + setRetention(value: FieldOptions.OptionRetention): FieldOptions; + hasRetention(): boolean; + clearRetention(): FieldOptions; + + getTargetsList(): Array; + setTargetsList(value: Array): FieldOptions; + clearTargetsList(): FieldOptions; + addTargets(value: FieldOptions.OptionTargetType, index?: number): FieldOptions; + + getEditionDefaultsList(): Array; + setEditionDefaultsList(value: Array): FieldOptions; + clearEditionDefaultsList(): FieldOptions; + addEditionDefaults(value?: FieldOptions.EditionDefault, index?: number): FieldOptions.EditionDefault; + + getFeatures(): FeatureSet | undefined; + setFeatures(value?: FeatureSet): FieldOptions; + hasFeatures(): boolean; + clearFeatures(): FieldOptions; + + getFeatureSupport(): FieldOptions.FeatureSupport | undefined; + setFeatureSupport(value?: FieldOptions.FeatureSupport): FieldOptions; + hasFeatureSupport(): boolean; + clearFeatureSupport(): FieldOptions; + + getUninterpretedOptionList(): Array; + setUninterpretedOptionList(value: Array): FieldOptions; + clearUninterpretedOptionList(): FieldOptions; + addUninterpretedOption(value?: UninterpretedOption, index?: number): UninterpretedOption; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): FieldOptions.AsObject; + static toObject(includeInstance: boolean, msg: FieldOptions): FieldOptions.AsObject; + static serializeBinaryToWriter(message: FieldOptions, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): FieldOptions; + static deserializeBinaryFromReader(message: FieldOptions, reader: jspb.BinaryReader): FieldOptions; +} + +export namespace FieldOptions { + export type AsObject = { + ctype?: FieldOptions.CType, + packed?: boolean, + jstype?: FieldOptions.JSType, + lazy?: boolean, + unverifiedLazy?: boolean, + deprecated?: boolean, + weak?: boolean, + debugRedact?: boolean, + retention?: FieldOptions.OptionRetention, + targetsList: Array, + editionDefaultsList: Array, + features?: FeatureSet.AsObject, + featureSupport?: FieldOptions.FeatureSupport.AsObject, + uninterpretedOptionList: Array, + } + + export class EditionDefault extends jspb.Message { + getEdition(): Edition; + setEdition(value: Edition): EditionDefault; + hasEdition(): boolean; + clearEdition(): EditionDefault; + + getValue(): string; + setValue(value: string): EditionDefault; + hasValue(): boolean; + clearValue(): EditionDefault; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): EditionDefault.AsObject; + static toObject(includeInstance: boolean, msg: EditionDefault): EditionDefault.AsObject; + static serializeBinaryToWriter(message: EditionDefault, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): EditionDefault; + static deserializeBinaryFromReader(message: EditionDefault, reader: jspb.BinaryReader): EditionDefault; + } + + export namespace EditionDefault { + export type AsObject = { + edition?: Edition, + value?: string, + } + } + + + export class FeatureSupport extends jspb.Message { + getEditionIntroduced(): Edition; + setEditionIntroduced(value: Edition): FeatureSupport; + hasEditionIntroduced(): boolean; + clearEditionIntroduced(): FeatureSupport; + + getEditionDeprecated(): Edition; + setEditionDeprecated(value: Edition): FeatureSupport; + hasEditionDeprecated(): boolean; + clearEditionDeprecated(): FeatureSupport; + + getDeprecationWarning(): string; + setDeprecationWarning(value: string): FeatureSupport; + hasDeprecationWarning(): boolean; + clearDeprecationWarning(): FeatureSupport; + + getEditionRemoved(): Edition; + setEditionRemoved(value: Edition): FeatureSupport; + hasEditionRemoved(): boolean; + clearEditionRemoved(): FeatureSupport; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): FeatureSupport.AsObject; + static toObject(includeInstance: boolean, msg: FeatureSupport): FeatureSupport.AsObject; + static serializeBinaryToWriter(message: FeatureSupport, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): FeatureSupport; + static deserializeBinaryFromReader(message: FeatureSupport, reader: jspb.BinaryReader): FeatureSupport; + } + + export namespace FeatureSupport { + export type AsObject = { + editionIntroduced?: Edition, + editionDeprecated?: Edition, + deprecationWarning?: string, + editionRemoved?: Edition, + } + } + + + export enum CType { + STRING = 0, + CORD = 1, + STRING_PIECE = 2, + } + + export enum JSType { + JS_NORMAL = 0, + JS_STRING = 1, + JS_NUMBER = 2, + } + + export enum OptionRetention { + RETENTION_UNKNOWN = 0, + RETENTION_RUNTIME = 1, + RETENTION_SOURCE = 2, + } + + export enum OptionTargetType { + TARGET_TYPE_UNKNOWN = 0, + TARGET_TYPE_FILE = 1, + TARGET_TYPE_EXTENSION_RANGE = 2, + TARGET_TYPE_MESSAGE = 3, + TARGET_TYPE_FIELD = 4, + TARGET_TYPE_ONEOF = 5, + TARGET_TYPE_ENUM = 6, + TARGET_TYPE_ENUM_ENTRY = 7, + TARGET_TYPE_SERVICE = 8, + TARGET_TYPE_METHOD = 9, + } +} + +export class OneofOptions extends jspb.Message { + getFeatures(): FeatureSet | undefined; + setFeatures(value?: FeatureSet): OneofOptions; + hasFeatures(): boolean; + clearFeatures(): OneofOptions; + + getUninterpretedOptionList(): Array; + setUninterpretedOptionList(value: Array): OneofOptions; + clearUninterpretedOptionList(): OneofOptions; + addUninterpretedOption(value?: UninterpretedOption, index?: number): UninterpretedOption; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): OneofOptions.AsObject; + static toObject(includeInstance: boolean, msg: OneofOptions): OneofOptions.AsObject; + static serializeBinaryToWriter(message: OneofOptions, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): OneofOptions; + static deserializeBinaryFromReader(message: OneofOptions, reader: jspb.BinaryReader): OneofOptions; +} + +export namespace OneofOptions { + export type AsObject = { + features?: FeatureSet.AsObject, + uninterpretedOptionList: Array, + } +} + +export class EnumOptions extends jspb.Message { + getAllowAlias(): boolean; + setAllowAlias(value: boolean): EnumOptions; + hasAllowAlias(): boolean; + clearAllowAlias(): EnumOptions; + + getDeprecated(): boolean; + setDeprecated(value: boolean): EnumOptions; + hasDeprecated(): boolean; + clearDeprecated(): EnumOptions; + + getDeprecatedLegacyJsonFieldConflicts(): boolean; + setDeprecatedLegacyJsonFieldConflicts(value: boolean): EnumOptions; + hasDeprecatedLegacyJsonFieldConflicts(): boolean; + clearDeprecatedLegacyJsonFieldConflicts(): EnumOptions; + + getFeatures(): FeatureSet | undefined; + setFeatures(value?: FeatureSet): EnumOptions; + hasFeatures(): boolean; + clearFeatures(): EnumOptions; + + getUninterpretedOptionList(): Array; + setUninterpretedOptionList(value: Array): EnumOptions; + clearUninterpretedOptionList(): EnumOptions; + addUninterpretedOption(value?: UninterpretedOption, index?: number): UninterpretedOption; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): EnumOptions.AsObject; + static toObject(includeInstance: boolean, msg: EnumOptions): EnumOptions.AsObject; + static serializeBinaryToWriter(message: EnumOptions, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): EnumOptions; + static deserializeBinaryFromReader(message: EnumOptions, reader: jspb.BinaryReader): EnumOptions; +} + +export namespace EnumOptions { + export type AsObject = { + allowAlias?: boolean, + deprecated?: boolean, + deprecatedLegacyJsonFieldConflicts?: boolean, + features?: FeatureSet.AsObject, + uninterpretedOptionList: Array, + } +} + +export class EnumValueOptions extends jspb.Message { + getDeprecated(): boolean; + setDeprecated(value: boolean): EnumValueOptions; + hasDeprecated(): boolean; + clearDeprecated(): EnumValueOptions; + + getFeatures(): FeatureSet | undefined; + setFeatures(value?: FeatureSet): EnumValueOptions; + hasFeatures(): boolean; + clearFeatures(): EnumValueOptions; + + getDebugRedact(): boolean; + setDebugRedact(value: boolean): EnumValueOptions; + hasDebugRedact(): boolean; + clearDebugRedact(): EnumValueOptions; + + getFeatureSupport(): FieldOptions.FeatureSupport | undefined; + setFeatureSupport(value?: FieldOptions.FeatureSupport): EnumValueOptions; + hasFeatureSupport(): boolean; + clearFeatureSupport(): EnumValueOptions; + + getUninterpretedOptionList(): Array; + setUninterpretedOptionList(value: Array): EnumValueOptions; + clearUninterpretedOptionList(): EnumValueOptions; + addUninterpretedOption(value?: UninterpretedOption, index?: number): UninterpretedOption; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): EnumValueOptions.AsObject; + static toObject(includeInstance: boolean, msg: EnumValueOptions): EnumValueOptions.AsObject; + static serializeBinaryToWriter(message: EnumValueOptions, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): EnumValueOptions; + static deserializeBinaryFromReader(message: EnumValueOptions, reader: jspb.BinaryReader): EnumValueOptions; +} + +export namespace EnumValueOptions { + export type AsObject = { + deprecated?: boolean, + features?: FeatureSet.AsObject, + debugRedact?: boolean, + featureSupport?: FieldOptions.FeatureSupport.AsObject, + uninterpretedOptionList: Array, + } +} + +export class ServiceOptions extends jspb.Message { + getFeatures(): FeatureSet | undefined; + setFeatures(value?: FeatureSet): ServiceOptions; + hasFeatures(): boolean; + clearFeatures(): ServiceOptions; + + getDeprecated(): boolean; + setDeprecated(value: boolean): ServiceOptions; + hasDeprecated(): boolean; + clearDeprecated(): ServiceOptions; + + getUninterpretedOptionList(): Array; + setUninterpretedOptionList(value: Array): ServiceOptions; + clearUninterpretedOptionList(): ServiceOptions; + addUninterpretedOption(value?: UninterpretedOption, index?: number): UninterpretedOption; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): ServiceOptions.AsObject; + static toObject(includeInstance: boolean, msg: ServiceOptions): ServiceOptions.AsObject; + static serializeBinaryToWriter(message: ServiceOptions, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): ServiceOptions; + static deserializeBinaryFromReader(message: ServiceOptions, reader: jspb.BinaryReader): ServiceOptions; +} + +export namespace ServiceOptions { + export type AsObject = { + features?: FeatureSet.AsObject, + deprecated?: boolean, + uninterpretedOptionList: Array, + } +} + +export class MethodOptions extends jspb.Message { + getDeprecated(): boolean; + setDeprecated(value: boolean): MethodOptions; + hasDeprecated(): boolean; + clearDeprecated(): MethodOptions; + + getIdempotencyLevel(): MethodOptions.IdempotencyLevel; + setIdempotencyLevel(value: MethodOptions.IdempotencyLevel): MethodOptions; + hasIdempotencyLevel(): boolean; + clearIdempotencyLevel(): MethodOptions; + + getFeatures(): FeatureSet | undefined; + setFeatures(value?: FeatureSet): MethodOptions; + hasFeatures(): boolean; + clearFeatures(): MethodOptions; + + getUninterpretedOptionList(): Array; + setUninterpretedOptionList(value: Array): MethodOptions; + clearUninterpretedOptionList(): MethodOptions; + addUninterpretedOption(value?: UninterpretedOption, index?: number): UninterpretedOption; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): MethodOptions.AsObject; + static toObject(includeInstance: boolean, msg: MethodOptions): MethodOptions.AsObject; + static serializeBinaryToWriter(message: MethodOptions, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): MethodOptions; + static deserializeBinaryFromReader(message: MethodOptions, reader: jspb.BinaryReader): MethodOptions; +} + +export namespace MethodOptions { + export type AsObject = { + deprecated?: boolean, + idempotencyLevel?: MethodOptions.IdempotencyLevel, + features?: FeatureSet.AsObject, + uninterpretedOptionList: Array, + } + + export enum IdempotencyLevel { + IDEMPOTENCY_UNKNOWN = 0, + NO_SIDE_EFFECTS = 1, + IDEMPOTENT = 2, + } +} + +export class UninterpretedOption extends jspb.Message { + getNameList(): Array; + setNameList(value: Array): UninterpretedOption; + clearNameList(): UninterpretedOption; + addName(value?: UninterpretedOption.NamePart, index?: number): UninterpretedOption.NamePart; + + getIdentifierValue(): string; + setIdentifierValue(value: string): UninterpretedOption; + hasIdentifierValue(): boolean; + clearIdentifierValue(): UninterpretedOption; + + getPositiveIntValue(): number; + setPositiveIntValue(value: number): UninterpretedOption; + hasPositiveIntValue(): boolean; + clearPositiveIntValue(): UninterpretedOption; + + getNegativeIntValue(): number; + setNegativeIntValue(value: number): UninterpretedOption; + hasNegativeIntValue(): boolean; + clearNegativeIntValue(): UninterpretedOption; + + getDoubleValue(): number; + setDoubleValue(value: number): UninterpretedOption; + hasDoubleValue(): boolean; + clearDoubleValue(): UninterpretedOption; + + getStringValue(): Uint8Array | string; + getStringValue_asU8(): Uint8Array; + getStringValue_asB64(): string; + setStringValue(value: Uint8Array | string): UninterpretedOption; + hasStringValue(): boolean; + clearStringValue(): UninterpretedOption; + + getAggregateValue(): string; + setAggregateValue(value: string): UninterpretedOption; + hasAggregateValue(): boolean; + clearAggregateValue(): UninterpretedOption; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): UninterpretedOption.AsObject; + static toObject(includeInstance: boolean, msg: UninterpretedOption): UninterpretedOption.AsObject; + static serializeBinaryToWriter(message: UninterpretedOption, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): UninterpretedOption; + static deserializeBinaryFromReader(message: UninterpretedOption, reader: jspb.BinaryReader): UninterpretedOption; +} + +export namespace UninterpretedOption { + export type AsObject = { + nameList: Array, + identifierValue?: string, + positiveIntValue?: number, + negativeIntValue?: number, + doubleValue?: number, + stringValue?: Uint8Array | string, + aggregateValue?: string, + } + + export class NamePart extends jspb.Message { + getNamePart(): string; + setNamePart(value: string): NamePart; + + getIsExtension(): boolean; + setIsExtension(value: boolean): NamePart; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): NamePart.AsObject; + static toObject(includeInstance: boolean, msg: NamePart): NamePart.AsObject; + static serializeBinaryToWriter(message: NamePart, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): NamePart; + static deserializeBinaryFromReader(message: NamePart, reader: jspb.BinaryReader): NamePart; + } + + export namespace NamePart { + export type AsObject = { + namePart: string, + isExtension: boolean, + } + } + +} + +export class FeatureSet extends jspb.Message { + getFieldPresence(): FeatureSet.FieldPresence; + setFieldPresence(value: FeatureSet.FieldPresence): FeatureSet; + hasFieldPresence(): boolean; + clearFieldPresence(): FeatureSet; + + getEnumType(): FeatureSet.EnumType; + setEnumType(value: FeatureSet.EnumType): FeatureSet; + hasEnumType(): boolean; + clearEnumType(): FeatureSet; + + getRepeatedFieldEncoding(): FeatureSet.RepeatedFieldEncoding; + setRepeatedFieldEncoding(value: FeatureSet.RepeatedFieldEncoding): FeatureSet; + hasRepeatedFieldEncoding(): boolean; + clearRepeatedFieldEncoding(): FeatureSet; + + getUtf8Validation(): FeatureSet.Utf8Validation; + setUtf8Validation(value: FeatureSet.Utf8Validation): FeatureSet; + hasUtf8Validation(): boolean; + clearUtf8Validation(): FeatureSet; + + getMessageEncoding(): FeatureSet.MessageEncoding; + setMessageEncoding(value: FeatureSet.MessageEncoding): FeatureSet; + hasMessageEncoding(): boolean; + clearMessageEncoding(): FeatureSet; + + getJsonFormat(): FeatureSet.JsonFormat; + setJsonFormat(value: FeatureSet.JsonFormat): FeatureSet; + hasJsonFormat(): boolean; + clearJsonFormat(): FeatureSet; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): FeatureSet.AsObject; + static toObject(includeInstance: boolean, msg: FeatureSet): FeatureSet.AsObject; + static serializeBinaryToWriter(message: FeatureSet, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): FeatureSet; + static deserializeBinaryFromReader(message: FeatureSet, reader: jspb.BinaryReader): FeatureSet; +} + +export namespace FeatureSet { + export type AsObject = { + fieldPresence?: FeatureSet.FieldPresence, + enumType?: FeatureSet.EnumType, + repeatedFieldEncoding?: FeatureSet.RepeatedFieldEncoding, + utf8Validation?: FeatureSet.Utf8Validation, + messageEncoding?: FeatureSet.MessageEncoding, + jsonFormat?: FeatureSet.JsonFormat, + } + + export enum FieldPresence { + FIELD_PRESENCE_UNKNOWN = 0, + EXPLICIT = 1, + IMPLICIT = 2, + LEGACY_REQUIRED = 3, + } + + export enum EnumType { + ENUM_TYPE_UNKNOWN = 0, + OPEN = 1, + CLOSED = 2, + } + + export enum RepeatedFieldEncoding { + REPEATED_FIELD_ENCODING_UNKNOWN = 0, + PACKED = 1, + EXPANDED = 2, + } + + export enum Utf8Validation { + UTF8_VALIDATION_UNKNOWN = 0, + VERIFY = 2, + NONE = 3, + } + + export enum MessageEncoding { + MESSAGE_ENCODING_UNKNOWN = 0, + LENGTH_PREFIXED = 1, + DELIMITED = 2, + } + + export enum JsonFormat { + JSON_FORMAT_UNKNOWN = 0, + ALLOW = 1, + LEGACY_BEST_EFFORT = 2, + } +} + +export class FeatureSetDefaults extends jspb.Message { + getDefaultsList(): Array; + setDefaultsList(value: Array): FeatureSetDefaults; + clearDefaultsList(): FeatureSetDefaults; + addDefaults(value?: FeatureSetDefaults.FeatureSetEditionDefault, index?: number): FeatureSetDefaults.FeatureSetEditionDefault; + + getMinimumEdition(): Edition; + setMinimumEdition(value: Edition): FeatureSetDefaults; + hasMinimumEdition(): boolean; + clearMinimumEdition(): FeatureSetDefaults; + + getMaximumEdition(): Edition; + setMaximumEdition(value: Edition): FeatureSetDefaults; + hasMaximumEdition(): boolean; + clearMaximumEdition(): FeatureSetDefaults; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): FeatureSetDefaults.AsObject; + static toObject(includeInstance: boolean, msg: FeatureSetDefaults): FeatureSetDefaults.AsObject; + static serializeBinaryToWriter(message: FeatureSetDefaults, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): FeatureSetDefaults; + static deserializeBinaryFromReader(message: FeatureSetDefaults, reader: jspb.BinaryReader): FeatureSetDefaults; +} + +export namespace FeatureSetDefaults { + export type AsObject = { + defaultsList: Array, + minimumEdition?: Edition, + maximumEdition?: Edition, + } + + export class FeatureSetEditionDefault extends jspb.Message { + getEdition(): Edition; + setEdition(value: Edition): FeatureSetEditionDefault; + hasEdition(): boolean; + clearEdition(): FeatureSetEditionDefault; + + getOverridableFeatures(): FeatureSet | undefined; + setOverridableFeatures(value?: FeatureSet): FeatureSetEditionDefault; + hasOverridableFeatures(): boolean; + clearOverridableFeatures(): FeatureSetEditionDefault; + + getFixedFeatures(): FeatureSet | undefined; + setFixedFeatures(value?: FeatureSet): FeatureSetEditionDefault; + hasFixedFeatures(): boolean; + clearFixedFeatures(): FeatureSetEditionDefault; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): FeatureSetEditionDefault.AsObject; + static toObject(includeInstance: boolean, msg: FeatureSetEditionDefault): FeatureSetEditionDefault.AsObject; + static serializeBinaryToWriter(message: FeatureSetEditionDefault, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): FeatureSetEditionDefault; + static deserializeBinaryFromReader(message: FeatureSetEditionDefault, reader: jspb.BinaryReader): FeatureSetEditionDefault; + } + + export namespace FeatureSetEditionDefault { + export type AsObject = { + edition?: Edition, + overridableFeatures?: FeatureSet.AsObject, + fixedFeatures?: FeatureSet.AsObject, + } + } + +} + +export class SourceCodeInfo extends jspb.Message { + getLocationList(): Array; + setLocationList(value: Array): SourceCodeInfo; + clearLocationList(): SourceCodeInfo; + addLocation(value?: SourceCodeInfo.Location, index?: number): SourceCodeInfo.Location; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): SourceCodeInfo.AsObject; + static toObject(includeInstance: boolean, msg: SourceCodeInfo): SourceCodeInfo.AsObject; + static serializeBinaryToWriter(message: SourceCodeInfo, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): SourceCodeInfo; + static deserializeBinaryFromReader(message: SourceCodeInfo, reader: jspb.BinaryReader): SourceCodeInfo; +} + +export namespace SourceCodeInfo { + export type AsObject = { + locationList: Array, + } + + export class Location extends jspb.Message { + getPathList(): Array; + setPathList(value: Array): Location; + clearPathList(): Location; + addPath(value: number, index?: number): Location; + + getSpanList(): Array; + setSpanList(value: Array): Location; + clearSpanList(): Location; + addSpan(value: number, index?: number): Location; + + getLeadingComments(): string; + setLeadingComments(value: string): Location; + hasLeadingComments(): boolean; + clearLeadingComments(): Location; + + getTrailingComments(): string; + setTrailingComments(value: string): Location; + hasTrailingComments(): boolean; + clearTrailingComments(): Location; + + getLeadingDetachedCommentsList(): Array; + setLeadingDetachedCommentsList(value: Array): Location; + clearLeadingDetachedCommentsList(): Location; + addLeadingDetachedComments(value: string, index?: number): Location; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Location.AsObject; + static toObject(includeInstance: boolean, msg: Location): Location.AsObject; + static serializeBinaryToWriter(message: Location, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Location; + static deserializeBinaryFromReader(message: Location, reader: jspb.BinaryReader): Location; + } + + export namespace Location { + export type AsObject = { + pathList: Array, + spanList: Array, + leadingComments?: string, + trailingComments?: string, + leadingDetachedCommentsList: Array, + } + } + +} + +export class GeneratedCodeInfo extends jspb.Message { + getAnnotationList(): Array; + setAnnotationList(value: Array): GeneratedCodeInfo; + clearAnnotationList(): GeneratedCodeInfo; + addAnnotation(value?: GeneratedCodeInfo.Annotation, index?: number): GeneratedCodeInfo.Annotation; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): GeneratedCodeInfo.AsObject; + static toObject(includeInstance: boolean, msg: GeneratedCodeInfo): GeneratedCodeInfo.AsObject; + static serializeBinaryToWriter(message: GeneratedCodeInfo, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): GeneratedCodeInfo; + static deserializeBinaryFromReader(message: GeneratedCodeInfo, reader: jspb.BinaryReader): GeneratedCodeInfo; +} + +export namespace GeneratedCodeInfo { + export type AsObject = { + annotationList: Array, + } + + export class Annotation extends jspb.Message { + getPathList(): Array; + setPathList(value: Array): Annotation; + clearPathList(): Annotation; + addPath(value: number, index?: number): Annotation; + + getSourceFile(): string; + setSourceFile(value: string): Annotation; + hasSourceFile(): boolean; + clearSourceFile(): Annotation; + + getBegin(): number; + setBegin(value: number): Annotation; + hasBegin(): boolean; + clearBegin(): Annotation; + + getEnd(): number; + setEnd(value: number): Annotation; + hasEnd(): boolean; + clearEnd(): Annotation; + + getSemantic(): GeneratedCodeInfo.Annotation.Semantic; + setSemantic(value: GeneratedCodeInfo.Annotation.Semantic): Annotation; + hasSemantic(): boolean; + clearSemantic(): Annotation; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Annotation.AsObject; + static toObject(includeInstance: boolean, msg: Annotation): Annotation.AsObject; + static serializeBinaryToWriter(message: Annotation, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Annotation; + static deserializeBinaryFromReader(message: Annotation, reader: jspb.BinaryReader): Annotation; + } + + export namespace Annotation { + export type AsObject = { + pathList: Array, + sourceFile?: string, + begin?: number, + end?: number, + semantic?: GeneratedCodeInfo.Annotation.Semantic, + } + + export enum Semantic { + NONE = 0, + SET = 1, + ALIAS = 2, + } + } + +} + +export enum Edition { + EDITION_UNKNOWN = 0, + EDITION_LEGACY = 900, + EDITION_PROTO2 = 998, + EDITION_PROTO3 = 999, + EDITION_2023 = 1000, + EDITION_2024 = 1001, + EDITION_1_TEST_ONLY = 1, + EDITION_2_TEST_ONLY = 2, + EDITION_99997_TEST_ONLY = 99997, + EDITION_99998_TEST_ONLY = 99998, + EDITION_99999_TEST_ONLY = 99999, + EDITION_MAX = 2147483647, +} diff --git a/gen/ts/google/protobuf/descriptor_pb.js b/gen/ts/google/protobuf/descriptor_pb.js new file mode 100644 index 000000000..fc791305b --- /dev/null +++ b/gen/ts/google/protobuf/descriptor_pb.js @@ -0,0 +1,13196 @@ +// source: google/protobuf/descriptor.proto +/** + * @fileoverview + * @enhanceable + * @suppress {missingRequire} reports error on implicit type usages. + * @suppress {messageConventions} JS Compiler reports an error if a variable or + * field starts with 'MSG_' and isn't a translatable message. + * @public + */ +// GENERATED CODE -- DO NOT EDIT! +/* eslint-disable */ +// @ts-nocheck + +var jspb = require('google-protobuf'); +var goog = jspb; +var global = + (typeof globalThis !== 'undefined' && globalThis) || + (typeof window !== 'undefined' && window) || + (typeof global !== 'undefined' && global) || + (typeof self !== 'undefined' && self) || + (function () { return this; }).call(null) || + Function('return this')(); + +goog.exportSymbol('proto.google.protobuf.DescriptorProto', null, global); +goog.exportSymbol('proto.google.protobuf.DescriptorProto.ExtensionRange', null, global); +goog.exportSymbol('proto.google.protobuf.DescriptorProto.ReservedRange', null, global); +goog.exportSymbol('proto.google.protobuf.Edition', null, global); +goog.exportSymbol('proto.google.protobuf.EnumDescriptorProto', null, global); +goog.exportSymbol('proto.google.protobuf.EnumDescriptorProto.EnumReservedRange', null, global); +goog.exportSymbol('proto.google.protobuf.EnumOptions', null, global); +goog.exportSymbol('proto.google.protobuf.EnumValueDescriptorProto', null, global); +goog.exportSymbol('proto.google.protobuf.EnumValueOptions', null, global); +goog.exportSymbol('proto.google.protobuf.ExtensionRangeOptions', null, global); +goog.exportSymbol('proto.google.protobuf.ExtensionRangeOptions.Declaration', null, global); +goog.exportSymbol('proto.google.protobuf.ExtensionRangeOptions.VerificationState', null, global); +goog.exportSymbol('proto.google.protobuf.FeatureSet', null, global); +goog.exportSymbol('proto.google.protobuf.FeatureSet.EnumType', null, global); +goog.exportSymbol('proto.google.protobuf.FeatureSet.FieldPresence', null, global); +goog.exportSymbol('proto.google.protobuf.FeatureSet.JsonFormat', null, global); +goog.exportSymbol('proto.google.protobuf.FeatureSet.MessageEncoding', null, global); +goog.exportSymbol('proto.google.protobuf.FeatureSet.RepeatedFieldEncoding', null, global); +goog.exportSymbol('proto.google.protobuf.FeatureSet.Utf8Validation', null, global); +goog.exportSymbol('proto.google.protobuf.FeatureSetDefaults', null, global); +goog.exportSymbol('proto.google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault', null, global); +goog.exportSymbol('proto.google.protobuf.FieldDescriptorProto', null, global); +goog.exportSymbol('proto.google.protobuf.FieldDescriptorProto.Label', null, global); +goog.exportSymbol('proto.google.protobuf.FieldDescriptorProto.Type', null, global); +goog.exportSymbol('proto.google.protobuf.FieldOptions', null, global); +goog.exportSymbol('proto.google.protobuf.FieldOptions.CType', null, global); +goog.exportSymbol('proto.google.protobuf.FieldOptions.EditionDefault', null, global); +goog.exportSymbol('proto.google.protobuf.FieldOptions.FeatureSupport', null, global); +goog.exportSymbol('proto.google.protobuf.FieldOptions.JSType', null, global); +goog.exportSymbol('proto.google.protobuf.FieldOptions.OptionRetention', null, global); +goog.exportSymbol('proto.google.protobuf.FieldOptions.OptionTargetType', null, global); +goog.exportSymbol('proto.google.protobuf.FileDescriptorProto', null, global); +goog.exportSymbol('proto.google.protobuf.FileDescriptorSet', null, global); +goog.exportSymbol('proto.google.protobuf.FileOptions', null, global); +goog.exportSymbol('proto.google.protobuf.FileOptions.OptimizeMode', null, global); +goog.exportSymbol('proto.google.protobuf.GeneratedCodeInfo', null, global); +goog.exportSymbol('proto.google.protobuf.GeneratedCodeInfo.Annotation', null, global); +goog.exportSymbol('proto.google.protobuf.GeneratedCodeInfo.Annotation.Semantic', null, global); +goog.exportSymbol('proto.google.protobuf.MessageOptions', null, global); +goog.exportSymbol('proto.google.protobuf.MethodDescriptorProto', null, global); +goog.exportSymbol('proto.google.protobuf.MethodOptions', null, global); +goog.exportSymbol('proto.google.protobuf.MethodOptions.IdempotencyLevel', null, global); +goog.exportSymbol('proto.google.protobuf.OneofDescriptorProto', null, global); +goog.exportSymbol('proto.google.protobuf.OneofOptions', null, global); +goog.exportSymbol('proto.google.protobuf.ServiceDescriptorProto', null, global); +goog.exportSymbol('proto.google.protobuf.ServiceOptions', null, global); +goog.exportSymbol('proto.google.protobuf.SourceCodeInfo', null, global); +goog.exportSymbol('proto.google.protobuf.SourceCodeInfo.Location', null, global); +goog.exportSymbol('proto.google.protobuf.UninterpretedOption', null, global); +goog.exportSymbol('proto.google.protobuf.UninterpretedOption.NamePart', null, global); +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.google.protobuf.FileDescriptorSet = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.google.protobuf.FileDescriptorSet.repeatedFields_, null); +}; +goog.inherits(proto.google.protobuf.FileDescriptorSet, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.google.protobuf.FileDescriptorSet.displayName = 'proto.google.protobuf.FileDescriptorSet'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.google.protobuf.FileDescriptorProto = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.google.protobuf.FileDescriptorProto.repeatedFields_, null); +}; +goog.inherits(proto.google.protobuf.FileDescriptorProto, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.google.protobuf.FileDescriptorProto.displayName = 'proto.google.protobuf.FileDescriptorProto'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.google.protobuf.DescriptorProto = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.google.protobuf.DescriptorProto.repeatedFields_, null); +}; +goog.inherits(proto.google.protobuf.DescriptorProto, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.google.protobuf.DescriptorProto.displayName = 'proto.google.protobuf.DescriptorProto'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.google.protobuf.DescriptorProto.ExtensionRange = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.google.protobuf.DescriptorProto.ExtensionRange, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.google.protobuf.DescriptorProto.ExtensionRange.displayName = 'proto.google.protobuf.DescriptorProto.ExtensionRange'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.google.protobuf.DescriptorProto.ReservedRange = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.google.protobuf.DescriptorProto.ReservedRange, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.google.protobuf.DescriptorProto.ReservedRange.displayName = 'proto.google.protobuf.DescriptorProto.ReservedRange'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.google.protobuf.ExtensionRangeOptions = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, 500, proto.google.protobuf.ExtensionRangeOptions.repeatedFields_, null); +}; +goog.inherits(proto.google.protobuf.ExtensionRangeOptions, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.google.protobuf.ExtensionRangeOptions.displayName = 'proto.google.protobuf.ExtensionRangeOptions'; +} + +/** + * The extensions registered with this message class. This is a map of + * extension field number to fieldInfo object. + * + * For example: + * { 123: {fieldIndex: 123, fieldName: {my_field_name: 0}, ctor: proto.example.MyMessage} } + * + * fieldName contains the JsCompiler renamed field name property so that it + * works in OPTIMIZED mode. + * + * @type {!Object} + */ +proto.google.protobuf.ExtensionRangeOptions.extensions = {}; + + +/** + * The extensions registered with this message class. This is a map of + * extension field number to fieldInfo object. + * + * For example: + * { 123: {fieldIndex: 123, fieldName: {my_field_name: 0}, ctor: proto.example.MyMessage} } + * + * fieldName contains the JsCompiler renamed field name property so that it + * works in OPTIMIZED mode. + * + * @type {!Object} + */ +proto.google.protobuf.ExtensionRangeOptions.extensionsBinary = {}; + +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.google.protobuf.ExtensionRangeOptions.Declaration = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.google.protobuf.ExtensionRangeOptions.Declaration, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.google.protobuf.ExtensionRangeOptions.Declaration.displayName = 'proto.google.protobuf.ExtensionRangeOptions.Declaration'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.google.protobuf.FieldDescriptorProto = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.google.protobuf.FieldDescriptorProto, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.google.protobuf.FieldDescriptorProto.displayName = 'proto.google.protobuf.FieldDescriptorProto'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.google.protobuf.OneofDescriptorProto = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.google.protobuf.OneofDescriptorProto, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.google.protobuf.OneofDescriptorProto.displayName = 'proto.google.protobuf.OneofDescriptorProto'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.google.protobuf.EnumDescriptorProto = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.google.protobuf.EnumDescriptorProto.repeatedFields_, null); +}; +goog.inherits(proto.google.protobuf.EnumDescriptorProto, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.google.protobuf.EnumDescriptorProto.displayName = 'proto.google.protobuf.EnumDescriptorProto'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.google.protobuf.EnumDescriptorProto.EnumReservedRange = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.google.protobuf.EnumDescriptorProto.EnumReservedRange, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.displayName = 'proto.google.protobuf.EnumDescriptorProto.EnumReservedRange'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.google.protobuf.EnumValueDescriptorProto = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.google.protobuf.EnumValueDescriptorProto, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.google.protobuf.EnumValueDescriptorProto.displayName = 'proto.google.protobuf.EnumValueDescriptorProto'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.google.protobuf.ServiceDescriptorProto = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.google.protobuf.ServiceDescriptorProto.repeatedFields_, null); +}; +goog.inherits(proto.google.protobuf.ServiceDescriptorProto, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.google.protobuf.ServiceDescriptorProto.displayName = 'proto.google.protobuf.ServiceDescriptorProto'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.google.protobuf.MethodDescriptorProto = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.google.protobuf.MethodDescriptorProto, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.google.protobuf.MethodDescriptorProto.displayName = 'proto.google.protobuf.MethodDescriptorProto'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.google.protobuf.FileOptions = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, 500, proto.google.protobuf.FileOptions.repeatedFields_, null); +}; +goog.inherits(proto.google.protobuf.FileOptions, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.google.protobuf.FileOptions.displayName = 'proto.google.protobuf.FileOptions'; +} + +/** + * The extensions registered with this message class. This is a map of + * extension field number to fieldInfo object. + * + * For example: + * { 123: {fieldIndex: 123, fieldName: {my_field_name: 0}, ctor: proto.example.MyMessage} } + * + * fieldName contains the JsCompiler renamed field name property so that it + * works in OPTIMIZED mode. + * + * @type {!Object} + */ +proto.google.protobuf.FileOptions.extensions = {}; + + +/** + * The extensions registered with this message class. This is a map of + * extension field number to fieldInfo object. + * + * For example: + * { 123: {fieldIndex: 123, fieldName: {my_field_name: 0}, ctor: proto.example.MyMessage} } + * + * fieldName contains the JsCompiler renamed field name property so that it + * works in OPTIMIZED mode. + * + * @type {!Object} + */ +proto.google.protobuf.FileOptions.extensionsBinary = {}; + +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.google.protobuf.MessageOptions = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, 500, proto.google.protobuf.MessageOptions.repeatedFields_, null); +}; +goog.inherits(proto.google.protobuf.MessageOptions, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.google.protobuf.MessageOptions.displayName = 'proto.google.protobuf.MessageOptions'; +} + +/** + * The extensions registered with this message class. This is a map of + * extension field number to fieldInfo object. + * + * For example: + * { 123: {fieldIndex: 123, fieldName: {my_field_name: 0}, ctor: proto.example.MyMessage} } + * + * fieldName contains the JsCompiler renamed field name property so that it + * works in OPTIMIZED mode. + * + * @type {!Object} + */ +proto.google.protobuf.MessageOptions.extensions = {}; + + +/** + * The extensions registered with this message class. This is a map of + * extension field number to fieldInfo object. + * + * For example: + * { 123: {fieldIndex: 123, fieldName: {my_field_name: 0}, ctor: proto.example.MyMessage} } + * + * fieldName contains the JsCompiler renamed field name property so that it + * works in OPTIMIZED mode. + * + * @type {!Object} + */ +proto.google.protobuf.MessageOptions.extensionsBinary = {}; + +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.google.protobuf.FieldOptions = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, 500, proto.google.protobuf.FieldOptions.repeatedFields_, null); +}; +goog.inherits(proto.google.protobuf.FieldOptions, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.google.protobuf.FieldOptions.displayName = 'proto.google.protobuf.FieldOptions'; +} + +/** + * The extensions registered with this message class. This is a map of + * extension field number to fieldInfo object. + * + * For example: + * { 123: {fieldIndex: 123, fieldName: {my_field_name: 0}, ctor: proto.example.MyMessage} } + * + * fieldName contains the JsCompiler renamed field name property so that it + * works in OPTIMIZED mode. + * + * @type {!Object} + */ +proto.google.protobuf.FieldOptions.extensions = {}; + + +/** + * The extensions registered with this message class. This is a map of + * extension field number to fieldInfo object. + * + * For example: + * { 123: {fieldIndex: 123, fieldName: {my_field_name: 0}, ctor: proto.example.MyMessage} } + * + * fieldName contains the JsCompiler renamed field name property so that it + * works in OPTIMIZED mode. + * + * @type {!Object} + */ +proto.google.protobuf.FieldOptions.extensionsBinary = {}; + +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.google.protobuf.FieldOptions.EditionDefault = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.google.protobuf.FieldOptions.EditionDefault, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.google.protobuf.FieldOptions.EditionDefault.displayName = 'proto.google.protobuf.FieldOptions.EditionDefault'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.google.protobuf.FieldOptions.FeatureSupport = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.google.protobuf.FieldOptions.FeatureSupport, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.google.protobuf.FieldOptions.FeatureSupport.displayName = 'proto.google.protobuf.FieldOptions.FeatureSupport'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.google.protobuf.OneofOptions = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, 500, proto.google.protobuf.OneofOptions.repeatedFields_, null); +}; +goog.inherits(proto.google.protobuf.OneofOptions, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.google.protobuf.OneofOptions.displayName = 'proto.google.protobuf.OneofOptions'; +} + +/** + * The extensions registered with this message class. This is a map of + * extension field number to fieldInfo object. + * + * For example: + * { 123: {fieldIndex: 123, fieldName: {my_field_name: 0}, ctor: proto.example.MyMessage} } + * + * fieldName contains the JsCompiler renamed field name property so that it + * works in OPTIMIZED mode. + * + * @type {!Object} + */ +proto.google.protobuf.OneofOptions.extensions = {}; + + +/** + * The extensions registered with this message class. This is a map of + * extension field number to fieldInfo object. + * + * For example: + * { 123: {fieldIndex: 123, fieldName: {my_field_name: 0}, ctor: proto.example.MyMessage} } + * + * fieldName contains the JsCompiler renamed field name property so that it + * works in OPTIMIZED mode. + * + * @type {!Object} + */ +proto.google.protobuf.OneofOptions.extensionsBinary = {}; + +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.google.protobuf.EnumOptions = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, 500, proto.google.protobuf.EnumOptions.repeatedFields_, null); +}; +goog.inherits(proto.google.protobuf.EnumOptions, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.google.protobuf.EnumOptions.displayName = 'proto.google.protobuf.EnumOptions'; +} + +/** + * The extensions registered with this message class. This is a map of + * extension field number to fieldInfo object. + * + * For example: + * { 123: {fieldIndex: 123, fieldName: {my_field_name: 0}, ctor: proto.example.MyMessage} } + * + * fieldName contains the JsCompiler renamed field name property so that it + * works in OPTIMIZED mode. + * + * @type {!Object} + */ +proto.google.protobuf.EnumOptions.extensions = {}; + + +/** + * The extensions registered with this message class. This is a map of + * extension field number to fieldInfo object. + * + * For example: + * { 123: {fieldIndex: 123, fieldName: {my_field_name: 0}, ctor: proto.example.MyMessage} } + * + * fieldName contains the JsCompiler renamed field name property so that it + * works in OPTIMIZED mode. + * + * @type {!Object} + */ +proto.google.protobuf.EnumOptions.extensionsBinary = {}; + +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.google.protobuf.EnumValueOptions = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, 500, proto.google.protobuf.EnumValueOptions.repeatedFields_, null); +}; +goog.inherits(proto.google.protobuf.EnumValueOptions, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.google.protobuf.EnumValueOptions.displayName = 'proto.google.protobuf.EnumValueOptions'; +} + +/** + * The extensions registered with this message class. This is a map of + * extension field number to fieldInfo object. + * + * For example: + * { 123: {fieldIndex: 123, fieldName: {my_field_name: 0}, ctor: proto.example.MyMessage} } + * + * fieldName contains the JsCompiler renamed field name property so that it + * works in OPTIMIZED mode. + * + * @type {!Object} + */ +proto.google.protobuf.EnumValueOptions.extensions = {}; + + +/** + * The extensions registered with this message class. This is a map of + * extension field number to fieldInfo object. + * + * For example: + * { 123: {fieldIndex: 123, fieldName: {my_field_name: 0}, ctor: proto.example.MyMessage} } + * + * fieldName contains the JsCompiler renamed field name property so that it + * works in OPTIMIZED mode. + * + * @type {!Object} + */ +proto.google.protobuf.EnumValueOptions.extensionsBinary = {}; + +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.google.protobuf.ServiceOptions = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, 500, proto.google.protobuf.ServiceOptions.repeatedFields_, null); +}; +goog.inherits(proto.google.protobuf.ServiceOptions, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.google.protobuf.ServiceOptions.displayName = 'proto.google.protobuf.ServiceOptions'; +} + +/** + * The extensions registered with this message class. This is a map of + * extension field number to fieldInfo object. + * + * For example: + * { 123: {fieldIndex: 123, fieldName: {my_field_name: 0}, ctor: proto.example.MyMessage} } + * + * fieldName contains the JsCompiler renamed field name property so that it + * works in OPTIMIZED mode. + * + * @type {!Object} + */ +proto.google.protobuf.ServiceOptions.extensions = {}; + + +/** + * The extensions registered with this message class. This is a map of + * extension field number to fieldInfo object. + * + * For example: + * { 123: {fieldIndex: 123, fieldName: {my_field_name: 0}, ctor: proto.example.MyMessage} } + * + * fieldName contains the JsCompiler renamed field name property so that it + * works in OPTIMIZED mode. + * + * @type {!Object} + */ +proto.google.protobuf.ServiceOptions.extensionsBinary = {}; + +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.google.protobuf.MethodOptions = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, 500, proto.google.protobuf.MethodOptions.repeatedFields_, null); +}; +goog.inherits(proto.google.protobuf.MethodOptions, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.google.protobuf.MethodOptions.displayName = 'proto.google.protobuf.MethodOptions'; +} + +/** + * The extensions registered with this message class. This is a map of + * extension field number to fieldInfo object. + * + * For example: + * { 123: {fieldIndex: 123, fieldName: {my_field_name: 0}, ctor: proto.example.MyMessage} } + * + * fieldName contains the JsCompiler renamed field name property so that it + * works in OPTIMIZED mode. + * + * @type {!Object} + */ +proto.google.protobuf.MethodOptions.extensions = {}; + + +/** + * The extensions registered with this message class. This is a map of + * extension field number to fieldInfo object. + * + * For example: + * { 123: {fieldIndex: 123, fieldName: {my_field_name: 0}, ctor: proto.example.MyMessage} } + * + * fieldName contains the JsCompiler renamed field name property so that it + * works in OPTIMIZED mode. + * + * @type {!Object} + */ +proto.google.protobuf.MethodOptions.extensionsBinary = {}; + +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.google.protobuf.UninterpretedOption = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.google.protobuf.UninterpretedOption.repeatedFields_, null); +}; +goog.inherits(proto.google.protobuf.UninterpretedOption, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.google.protobuf.UninterpretedOption.displayName = 'proto.google.protobuf.UninterpretedOption'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.google.protobuf.UninterpretedOption.NamePart = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.google.protobuf.UninterpretedOption.NamePart, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.google.protobuf.UninterpretedOption.NamePart.displayName = 'proto.google.protobuf.UninterpretedOption.NamePart'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.google.protobuf.FeatureSet = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, 7, null, null); +}; +goog.inherits(proto.google.protobuf.FeatureSet, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.google.protobuf.FeatureSet.displayName = 'proto.google.protobuf.FeatureSet'; +} + +/** + * The extensions registered with this message class. This is a map of + * extension field number to fieldInfo object. + * + * For example: + * { 123: {fieldIndex: 123, fieldName: {my_field_name: 0}, ctor: proto.example.MyMessage} } + * + * fieldName contains the JsCompiler renamed field name property so that it + * works in OPTIMIZED mode. + * + * @type {!Object} + */ +proto.google.protobuf.FeatureSet.extensions = {}; + + +/** + * The extensions registered with this message class. This is a map of + * extension field number to fieldInfo object. + * + * For example: + * { 123: {fieldIndex: 123, fieldName: {my_field_name: 0}, ctor: proto.example.MyMessage} } + * + * fieldName contains the JsCompiler renamed field name property so that it + * works in OPTIMIZED mode. + * + * @type {!Object} + */ +proto.google.protobuf.FeatureSet.extensionsBinary = {}; + +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.google.protobuf.FeatureSetDefaults = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.google.protobuf.FeatureSetDefaults.repeatedFields_, null); +}; +goog.inherits(proto.google.protobuf.FeatureSetDefaults, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.google.protobuf.FeatureSetDefaults.displayName = 'proto.google.protobuf.FeatureSetDefaults'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.displayName = 'proto.google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.google.protobuf.SourceCodeInfo = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.google.protobuf.SourceCodeInfo.repeatedFields_, null); +}; +goog.inherits(proto.google.protobuf.SourceCodeInfo, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.google.protobuf.SourceCodeInfo.displayName = 'proto.google.protobuf.SourceCodeInfo'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.google.protobuf.SourceCodeInfo.Location = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.google.protobuf.SourceCodeInfo.Location.repeatedFields_, null); +}; +goog.inherits(proto.google.protobuf.SourceCodeInfo.Location, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.google.protobuf.SourceCodeInfo.Location.displayName = 'proto.google.protobuf.SourceCodeInfo.Location'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.google.protobuf.GeneratedCodeInfo = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.google.protobuf.GeneratedCodeInfo.repeatedFields_, null); +}; +goog.inherits(proto.google.protobuf.GeneratedCodeInfo, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.google.protobuf.GeneratedCodeInfo.displayName = 'proto.google.protobuf.GeneratedCodeInfo'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.google.protobuf.GeneratedCodeInfo.Annotation = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.google.protobuf.GeneratedCodeInfo.Annotation.repeatedFields_, null); +}; +goog.inherits(proto.google.protobuf.GeneratedCodeInfo.Annotation, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.google.protobuf.GeneratedCodeInfo.Annotation.displayName = 'proto.google.protobuf.GeneratedCodeInfo.Annotation'; +} + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.google.protobuf.FileDescriptorSet.repeatedFields_ = [1]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.google.protobuf.FileDescriptorSet.prototype.toObject = function(opt_includeInstance) { + return proto.google.protobuf.FileDescriptorSet.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.google.protobuf.FileDescriptorSet} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.protobuf.FileDescriptorSet.toObject = function(includeInstance, msg) { + var f, obj = { + fileList: jspb.Message.toObjectList(msg.getFileList(), + proto.google.protobuf.FileDescriptorProto.toObject, includeInstance) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.google.protobuf.FileDescriptorSet} + */ +proto.google.protobuf.FileDescriptorSet.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.google.protobuf.FileDescriptorSet; + return proto.google.protobuf.FileDescriptorSet.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.google.protobuf.FileDescriptorSet} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.google.protobuf.FileDescriptorSet} + */ +proto.google.protobuf.FileDescriptorSet.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.google.protobuf.FileDescriptorProto; + reader.readMessage(value,proto.google.protobuf.FileDescriptorProto.deserializeBinaryFromReader); + msg.addFile(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.google.protobuf.FileDescriptorSet.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.google.protobuf.FileDescriptorSet.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.google.protobuf.FileDescriptorSet} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.protobuf.FileDescriptorSet.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getFileList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 1, + f, + proto.google.protobuf.FileDescriptorProto.serializeBinaryToWriter + ); + } +}; + + +/** + * repeated FileDescriptorProto file = 1; + * @return {!Array} + */ +proto.google.protobuf.FileDescriptorSet.prototype.getFileList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.google.protobuf.FileDescriptorProto, 1)); +}; + + +/** + * @param {!Array} value + * @return {!proto.google.protobuf.FileDescriptorSet} returns this +*/ +proto.google.protobuf.FileDescriptorSet.prototype.setFileList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 1, value); +}; + + +/** + * @param {!proto.google.protobuf.FileDescriptorProto=} opt_value + * @param {number=} opt_index + * @return {!proto.google.protobuf.FileDescriptorProto} + */ +proto.google.protobuf.FileDescriptorSet.prototype.addFile = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.google.protobuf.FileDescriptorProto, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.google.protobuf.FileDescriptorSet} returns this + */ +proto.google.protobuf.FileDescriptorSet.prototype.clearFileList = function() { + return this.setFileList([]); +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.google.protobuf.FileDescriptorProto.repeatedFields_ = [3,10,11,4,5,6,7]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.google.protobuf.FileDescriptorProto.prototype.toObject = function(opt_includeInstance) { + return proto.google.protobuf.FileDescriptorProto.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.google.protobuf.FileDescriptorProto} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.protobuf.FileDescriptorProto.toObject = function(includeInstance, msg) { + var f, obj = { + name: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, + pb_package: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, + dependencyList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f, + publicDependencyList: (f = jspb.Message.getRepeatedField(msg, 10)) == null ? undefined : f, + weakDependencyList: (f = jspb.Message.getRepeatedField(msg, 11)) == null ? undefined : f, + messageTypeList: jspb.Message.toObjectList(msg.getMessageTypeList(), + proto.google.protobuf.DescriptorProto.toObject, includeInstance), + enumTypeList: jspb.Message.toObjectList(msg.getEnumTypeList(), + proto.google.protobuf.EnumDescriptorProto.toObject, includeInstance), + serviceList: jspb.Message.toObjectList(msg.getServiceList(), + proto.google.protobuf.ServiceDescriptorProto.toObject, includeInstance), + extensionList: jspb.Message.toObjectList(msg.getExtensionList(), + proto.google.protobuf.FieldDescriptorProto.toObject, includeInstance), + options: (f = msg.getOptions()) && proto.google.protobuf.FileOptions.toObject(includeInstance, f), + sourceCodeInfo: (f = msg.getSourceCodeInfo()) && proto.google.protobuf.SourceCodeInfo.toObject(includeInstance, f), + syntax: (f = jspb.Message.getField(msg, 12)) == null ? undefined : f, + edition: (f = jspb.Message.getField(msg, 14)) == null ? undefined : f + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.google.protobuf.FileDescriptorProto} + */ +proto.google.protobuf.FileDescriptorProto.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.google.protobuf.FileDescriptorProto; + return proto.google.protobuf.FileDescriptorProto.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.google.protobuf.FileDescriptorProto} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.google.protobuf.FileDescriptorProto} + */ +proto.google.protobuf.FileDescriptorProto.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setName(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setPackage(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.addDependency(value); + break; + case 10: + var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]); + for (var i = 0; i < values.length; i++) { + msg.addPublicDependency(values[i]); + } + break; + case 11: + var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]); + for (var i = 0; i < values.length; i++) { + msg.addWeakDependency(values[i]); + } + break; + case 4: + var value = new proto.google.protobuf.DescriptorProto; + reader.readMessage(value,proto.google.protobuf.DescriptorProto.deserializeBinaryFromReader); + msg.addMessageType(value); + break; + case 5: + var value = new proto.google.protobuf.EnumDescriptorProto; + reader.readMessage(value,proto.google.protobuf.EnumDescriptorProto.deserializeBinaryFromReader); + msg.addEnumType(value); + break; + case 6: + var value = new proto.google.protobuf.ServiceDescriptorProto; + reader.readMessage(value,proto.google.protobuf.ServiceDescriptorProto.deserializeBinaryFromReader); + msg.addService(value); + break; + case 7: + var value = new proto.google.protobuf.FieldDescriptorProto; + reader.readMessage(value,proto.google.protobuf.FieldDescriptorProto.deserializeBinaryFromReader); + msg.addExtension$(value); + break; + case 8: + var value = new proto.google.protobuf.FileOptions; + reader.readMessage(value,proto.google.protobuf.FileOptions.deserializeBinaryFromReader); + msg.setOptions(value); + break; + case 9: + var value = new proto.google.protobuf.SourceCodeInfo; + reader.readMessage(value,proto.google.protobuf.SourceCodeInfo.deserializeBinaryFromReader); + msg.setSourceCodeInfo(value); + break; + case 12: + var value = /** @type {string} */ (reader.readString()); + msg.setSyntax(value); + break; + case 14: + var value = /** @type {!proto.google.protobuf.Edition} */ (reader.readEnum()); + msg.setEdition(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.google.protobuf.FileDescriptorProto.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.google.protobuf.FileDescriptorProto.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.google.protobuf.FileDescriptorProto} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.protobuf.FileDescriptorProto.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = /** @type {string} */ (jspb.Message.getField(message, 1)); + if (f != null) { + writer.writeString( + 1, + f + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 2)); + if (f != null) { + writer.writeString( + 2, + f + ); + } + f = message.getDependencyList(); + if (f.length > 0) { + writer.writeRepeatedString( + 3, + f + ); + } + f = message.getPublicDependencyList(); + if (f.length > 0) { + writer.writeRepeatedInt32( + 10, + f + ); + } + f = message.getWeakDependencyList(); + if (f.length > 0) { + writer.writeRepeatedInt32( + 11, + f + ); + } + f = message.getMessageTypeList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 4, + f, + proto.google.protobuf.DescriptorProto.serializeBinaryToWriter + ); + } + f = message.getEnumTypeList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 5, + f, + proto.google.protobuf.EnumDescriptorProto.serializeBinaryToWriter + ); + } + f = message.getServiceList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 6, + f, + proto.google.protobuf.ServiceDescriptorProto.serializeBinaryToWriter + ); + } + f = message.getExtensionList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 7, + f, + proto.google.protobuf.FieldDescriptorProto.serializeBinaryToWriter + ); + } + f = message.getOptions(); + if (f != null) { + writer.writeMessage( + 8, + f, + proto.google.protobuf.FileOptions.serializeBinaryToWriter + ); + } + f = message.getSourceCodeInfo(); + if (f != null) { + writer.writeMessage( + 9, + f, + proto.google.protobuf.SourceCodeInfo.serializeBinaryToWriter + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 12)); + if (f != null) { + writer.writeString( + 12, + f + ); + } + f = /** @type {!proto.google.protobuf.Edition} */ (jspb.Message.getField(message, 14)); + if (f != null) { + writer.writeEnum( + 14, + f + ); + } +}; + + +/** + * optional string name = 1; + * @return {string} + */ +proto.google.protobuf.FileDescriptorProto.prototype.getName = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.protobuf.FileDescriptorProto} returns this + */ +proto.google.protobuf.FileDescriptorProto.prototype.setName = function(value) { + return jspb.Message.setField(this, 1, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.protobuf.FileDescriptorProto} returns this + */ +proto.google.protobuf.FileDescriptorProto.prototype.clearName = function() { + return jspb.Message.setField(this, 1, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.protobuf.FileDescriptorProto.prototype.hasName = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional string package = 2; + * @return {string} + */ +proto.google.protobuf.FileDescriptorProto.prototype.getPackage = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.protobuf.FileDescriptorProto} returns this + */ +proto.google.protobuf.FileDescriptorProto.prototype.setPackage = function(value) { + return jspb.Message.setField(this, 2, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.protobuf.FileDescriptorProto} returns this + */ +proto.google.protobuf.FileDescriptorProto.prototype.clearPackage = function() { + return jspb.Message.setField(this, 2, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.protobuf.FileDescriptorProto.prototype.hasPackage = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * repeated string dependency = 3; + * @return {!Array} + */ +proto.google.protobuf.FileDescriptorProto.prototype.getDependencyList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 3)); +}; + + +/** + * @param {!Array} value + * @return {!proto.google.protobuf.FileDescriptorProto} returns this + */ +proto.google.protobuf.FileDescriptorProto.prototype.setDependencyList = function(value) { + return jspb.Message.setField(this, 3, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.google.protobuf.FileDescriptorProto} returns this + */ +proto.google.protobuf.FileDescriptorProto.prototype.addDependency = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 3, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.google.protobuf.FileDescriptorProto} returns this + */ +proto.google.protobuf.FileDescriptorProto.prototype.clearDependencyList = function() { + return this.setDependencyList([]); +}; + + +/** + * repeated int32 public_dependency = 10; + * @return {!Array} + */ +proto.google.protobuf.FileDescriptorProto.prototype.getPublicDependencyList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 10)); +}; + + +/** + * @param {!Array} value + * @return {!proto.google.protobuf.FileDescriptorProto} returns this + */ +proto.google.protobuf.FileDescriptorProto.prototype.setPublicDependencyList = function(value) { + return jspb.Message.setField(this, 10, value || []); +}; + + +/** + * @param {number} value + * @param {number=} opt_index + * @return {!proto.google.protobuf.FileDescriptorProto} returns this + */ +proto.google.protobuf.FileDescriptorProto.prototype.addPublicDependency = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 10, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.google.protobuf.FileDescriptorProto} returns this + */ +proto.google.protobuf.FileDescriptorProto.prototype.clearPublicDependencyList = function() { + return this.setPublicDependencyList([]); +}; + + +/** + * repeated int32 weak_dependency = 11; + * @return {!Array} + */ +proto.google.protobuf.FileDescriptorProto.prototype.getWeakDependencyList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 11)); +}; + + +/** + * @param {!Array} value + * @return {!proto.google.protobuf.FileDescriptorProto} returns this + */ +proto.google.protobuf.FileDescriptorProto.prototype.setWeakDependencyList = function(value) { + return jspb.Message.setField(this, 11, value || []); +}; + + +/** + * @param {number} value + * @param {number=} opt_index + * @return {!proto.google.protobuf.FileDescriptorProto} returns this + */ +proto.google.protobuf.FileDescriptorProto.prototype.addWeakDependency = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 11, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.google.protobuf.FileDescriptorProto} returns this + */ +proto.google.protobuf.FileDescriptorProto.prototype.clearWeakDependencyList = function() { + return this.setWeakDependencyList([]); +}; + + +/** + * repeated DescriptorProto message_type = 4; + * @return {!Array} + */ +proto.google.protobuf.FileDescriptorProto.prototype.getMessageTypeList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.google.protobuf.DescriptorProto, 4)); +}; + + +/** + * @param {!Array} value + * @return {!proto.google.protobuf.FileDescriptorProto} returns this +*/ +proto.google.protobuf.FileDescriptorProto.prototype.setMessageTypeList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 4, value); +}; + + +/** + * @param {!proto.google.protobuf.DescriptorProto=} opt_value + * @param {number=} opt_index + * @return {!proto.google.protobuf.DescriptorProto} + */ +proto.google.protobuf.FileDescriptorProto.prototype.addMessageType = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 4, opt_value, proto.google.protobuf.DescriptorProto, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.google.protobuf.FileDescriptorProto} returns this + */ +proto.google.protobuf.FileDescriptorProto.prototype.clearMessageTypeList = function() { + return this.setMessageTypeList([]); +}; + + +/** + * repeated EnumDescriptorProto enum_type = 5; + * @return {!Array} + */ +proto.google.protobuf.FileDescriptorProto.prototype.getEnumTypeList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.google.protobuf.EnumDescriptorProto, 5)); +}; + + +/** + * @param {!Array} value + * @return {!proto.google.protobuf.FileDescriptorProto} returns this +*/ +proto.google.protobuf.FileDescriptorProto.prototype.setEnumTypeList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 5, value); +}; + + +/** + * @param {!proto.google.protobuf.EnumDescriptorProto=} opt_value + * @param {number=} opt_index + * @return {!proto.google.protobuf.EnumDescriptorProto} + */ +proto.google.protobuf.FileDescriptorProto.prototype.addEnumType = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 5, opt_value, proto.google.protobuf.EnumDescriptorProto, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.google.protobuf.FileDescriptorProto} returns this + */ +proto.google.protobuf.FileDescriptorProto.prototype.clearEnumTypeList = function() { + return this.setEnumTypeList([]); +}; + + +/** + * repeated ServiceDescriptorProto service = 6; + * @return {!Array} + */ +proto.google.protobuf.FileDescriptorProto.prototype.getServiceList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.google.protobuf.ServiceDescriptorProto, 6)); +}; + + +/** + * @param {!Array} value + * @return {!proto.google.protobuf.FileDescriptorProto} returns this +*/ +proto.google.protobuf.FileDescriptorProto.prototype.setServiceList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 6, value); +}; + + +/** + * @param {!proto.google.protobuf.ServiceDescriptorProto=} opt_value + * @param {number=} opt_index + * @return {!proto.google.protobuf.ServiceDescriptorProto} + */ +proto.google.protobuf.FileDescriptorProto.prototype.addService = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 6, opt_value, proto.google.protobuf.ServiceDescriptorProto, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.google.protobuf.FileDescriptorProto} returns this + */ +proto.google.protobuf.FileDescriptorProto.prototype.clearServiceList = function() { + return this.setServiceList([]); +}; + + +/** + * repeated FieldDescriptorProto extension = 7; + * @return {!Array} + */ +proto.google.protobuf.FileDescriptorProto.prototype.getExtensionList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.google.protobuf.FieldDescriptorProto, 7)); +}; + + +/** + * @param {!Array} value + * @return {!proto.google.protobuf.FileDescriptorProto} returns this +*/ +proto.google.protobuf.FileDescriptorProto.prototype.setExtensionList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 7, value); +}; + + +/** + * @param {!proto.google.protobuf.FieldDescriptorProto=} opt_value + * @param {number=} opt_index + * @return {!proto.google.protobuf.FieldDescriptorProto} + */ +proto.google.protobuf.FileDescriptorProto.prototype.addExtension$ = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 7, opt_value, proto.google.protobuf.FieldDescriptorProto, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.google.protobuf.FileDescriptorProto} returns this + */ +proto.google.protobuf.FileDescriptorProto.prototype.clearExtensionList = function() { + return this.setExtensionList([]); +}; + + +/** + * optional FileOptions options = 8; + * @return {?proto.google.protobuf.FileOptions} + */ +proto.google.protobuf.FileDescriptorProto.prototype.getOptions = function() { + return /** @type{?proto.google.protobuf.FileOptions} */ ( + jspb.Message.getWrapperField(this, proto.google.protobuf.FileOptions, 8)); +}; + + +/** + * @param {?proto.google.protobuf.FileOptions|undefined} value + * @return {!proto.google.protobuf.FileDescriptorProto} returns this +*/ +proto.google.protobuf.FileDescriptorProto.prototype.setOptions = function(value) { + return jspb.Message.setWrapperField(this, 8, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.google.protobuf.FileDescriptorProto} returns this + */ +proto.google.protobuf.FileDescriptorProto.prototype.clearOptions = function() { + return this.setOptions(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.protobuf.FileDescriptorProto.prototype.hasOptions = function() { + return jspb.Message.getField(this, 8) != null; +}; + + +/** + * optional SourceCodeInfo source_code_info = 9; + * @return {?proto.google.protobuf.SourceCodeInfo} + */ +proto.google.protobuf.FileDescriptorProto.prototype.getSourceCodeInfo = function() { + return /** @type{?proto.google.protobuf.SourceCodeInfo} */ ( + jspb.Message.getWrapperField(this, proto.google.protobuf.SourceCodeInfo, 9)); +}; + + +/** + * @param {?proto.google.protobuf.SourceCodeInfo|undefined} value + * @return {!proto.google.protobuf.FileDescriptorProto} returns this +*/ +proto.google.protobuf.FileDescriptorProto.prototype.setSourceCodeInfo = function(value) { + return jspb.Message.setWrapperField(this, 9, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.google.protobuf.FileDescriptorProto} returns this + */ +proto.google.protobuf.FileDescriptorProto.prototype.clearSourceCodeInfo = function() { + return this.setSourceCodeInfo(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.protobuf.FileDescriptorProto.prototype.hasSourceCodeInfo = function() { + return jspb.Message.getField(this, 9) != null; +}; + + +/** + * optional string syntax = 12; + * @return {string} + */ +proto.google.protobuf.FileDescriptorProto.prototype.getSyntax = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.protobuf.FileDescriptorProto} returns this + */ +proto.google.protobuf.FileDescriptorProto.prototype.setSyntax = function(value) { + return jspb.Message.setField(this, 12, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.protobuf.FileDescriptorProto} returns this + */ +proto.google.protobuf.FileDescriptorProto.prototype.clearSyntax = function() { + return jspb.Message.setField(this, 12, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.protobuf.FileDescriptorProto.prototype.hasSyntax = function() { + return jspb.Message.getField(this, 12) != null; +}; + + +/** + * optional Edition edition = 14; + * @return {!proto.google.protobuf.Edition} + */ +proto.google.protobuf.FileDescriptorProto.prototype.getEdition = function() { + return /** @type {!proto.google.protobuf.Edition} */ (jspb.Message.getFieldWithDefault(this, 14, 0)); +}; + + +/** + * @param {!proto.google.protobuf.Edition} value + * @return {!proto.google.protobuf.FileDescriptorProto} returns this + */ +proto.google.protobuf.FileDescriptorProto.prototype.setEdition = function(value) { + return jspb.Message.setField(this, 14, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.protobuf.FileDescriptorProto} returns this + */ +proto.google.protobuf.FileDescriptorProto.prototype.clearEdition = function() { + return jspb.Message.setField(this, 14, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.protobuf.FileDescriptorProto.prototype.hasEdition = function() { + return jspb.Message.getField(this, 14) != null; +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.google.protobuf.DescriptorProto.repeatedFields_ = [2,6,3,4,5,8,9,10]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.google.protobuf.DescriptorProto.prototype.toObject = function(opt_includeInstance) { + return proto.google.protobuf.DescriptorProto.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.google.protobuf.DescriptorProto} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.protobuf.DescriptorProto.toObject = function(includeInstance, msg) { + var f, obj = { + name: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, + fieldList: jspb.Message.toObjectList(msg.getFieldList(), + proto.google.protobuf.FieldDescriptorProto.toObject, includeInstance), + extensionList: jspb.Message.toObjectList(msg.getExtensionList(), + proto.google.protobuf.FieldDescriptorProto.toObject, includeInstance), + nestedTypeList: jspb.Message.toObjectList(msg.getNestedTypeList(), + proto.google.protobuf.DescriptorProto.toObject, includeInstance), + enumTypeList: jspb.Message.toObjectList(msg.getEnumTypeList(), + proto.google.protobuf.EnumDescriptorProto.toObject, includeInstance), + extensionRangeList: jspb.Message.toObjectList(msg.getExtensionRangeList(), + proto.google.protobuf.DescriptorProto.ExtensionRange.toObject, includeInstance), + oneofDeclList: jspb.Message.toObjectList(msg.getOneofDeclList(), + proto.google.protobuf.OneofDescriptorProto.toObject, includeInstance), + options: (f = msg.getOptions()) && proto.google.protobuf.MessageOptions.toObject(includeInstance, f), + reservedRangeList: jspb.Message.toObjectList(msg.getReservedRangeList(), + proto.google.protobuf.DescriptorProto.ReservedRange.toObject, includeInstance), + reservedNameList: (f = jspb.Message.getRepeatedField(msg, 10)) == null ? undefined : f + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.google.protobuf.DescriptorProto} + */ +proto.google.protobuf.DescriptorProto.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.google.protobuf.DescriptorProto; + return proto.google.protobuf.DescriptorProto.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.google.protobuf.DescriptorProto} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.google.protobuf.DescriptorProto} + */ +proto.google.protobuf.DescriptorProto.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setName(value); + break; + case 2: + var value = new proto.google.protobuf.FieldDescriptorProto; + reader.readMessage(value,proto.google.protobuf.FieldDescriptorProto.deserializeBinaryFromReader); + msg.addField(value); + break; + case 6: + var value = new proto.google.protobuf.FieldDescriptorProto; + reader.readMessage(value,proto.google.protobuf.FieldDescriptorProto.deserializeBinaryFromReader); + msg.addExtension$(value); + break; + case 3: + var value = new proto.google.protobuf.DescriptorProto; + reader.readMessage(value,proto.google.protobuf.DescriptorProto.deserializeBinaryFromReader); + msg.addNestedType(value); + break; + case 4: + var value = new proto.google.protobuf.EnumDescriptorProto; + reader.readMessage(value,proto.google.protobuf.EnumDescriptorProto.deserializeBinaryFromReader); + msg.addEnumType(value); + break; + case 5: + var value = new proto.google.protobuf.DescriptorProto.ExtensionRange; + reader.readMessage(value,proto.google.protobuf.DescriptorProto.ExtensionRange.deserializeBinaryFromReader); + msg.addExtensionRange(value); + break; + case 8: + var value = new proto.google.protobuf.OneofDescriptorProto; + reader.readMessage(value,proto.google.protobuf.OneofDescriptorProto.deserializeBinaryFromReader); + msg.addOneofDecl(value); + break; + case 7: + var value = new proto.google.protobuf.MessageOptions; + reader.readMessage(value,proto.google.protobuf.MessageOptions.deserializeBinaryFromReader); + msg.setOptions(value); + break; + case 9: + var value = new proto.google.protobuf.DescriptorProto.ReservedRange; + reader.readMessage(value,proto.google.protobuf.DescriptorProto.ReservedRange.deserializeBinaryFromReader); + msg.addReservedRange(value); + break; + case 10: + var value = /** @type {string} */ (reader.readString()); + msg.addReservedName(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.google.protobuf.DescriptorProto.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.google.protobuf.DescriptorProto.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.google.protobuf.DescriptorProto} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.protobuf.DescriptorProto.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = /** @type {string} */ (jspb.Message.getField(message, 1)); + if (f != null) { + writer.writeString( + 1, + f + ); + } + f = message.getFieldList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 2, + f, + proto.google.protobuf.FieldDescriptorProto.serializeBinaryToWriter + ); + } + f = message.getExtensionList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 6, + f, + proto.google.protobuf.FieldDescriptorProto.serializeBinaryToWriter + ); + } + f = message.getNestedTypeList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 3, + f, + proto.google.protobuf.DescriptorProto.serializeBinaryToWriter + ); + } + f = message.getEnumTypeList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 4, + f, + proto.google.protobuf.EnumDescriptorProto.serializeBinaryToWriter + ); + } + f = message.getExtensionRangeList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 5, + f, + proto.google.protobuf.DescriptorProto.ExtensionRange.serializeBinaryToWriter + ); + } + f = message.getOneofDeclList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 8, + f, + proto.google.protobuf.OneofDescriptorProto.serializeBinaryToWriter + ); + } + f = message.getOptions(); + if (f != null) { + writer.writeMessage( + 7, + f, + proto.google.protobuf.MessageOptions.serializeBinaryToWriter + ); + } + f = message.getReservedRangeList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 9, + f, + proto.google.protobuf.DescriptorProto.ReservedRange.serializeBinaryToWriter + ); + } + f = message.getReservedNameList(); + if (f.length > 0) { + writer.writeRepeatedString( + 10, + f + ); + } +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.toObject = function(opt_includeInstance) { + return proto.google.protobuf.DescriptorProto.ExtensionRange.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.google.protobuf.DescriptorProto.ExtensionRange} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.protobuf.DescriptorProto.ExtensionRange.toObject = function(includeInstance, msg) { + var f, obj = { + start: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, + end: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, + options: (f = msg.getOptions()) && proto.google.protobuf.ExtensionRangeOptions.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.google.protobuf.DescriptorProto.ExtensionRange} + */ +proto.google.protobuf.DescriptorProto.ExtensionRange.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.google.protobuf.DescriptorProto.ExtensionRange; + return proto.google.protobuf.DescriptorProto.ExtensionRange.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.google.protobuf.DescriptorProto.ExtensionRange} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.google.protobuf.DescriptorProto.ExtensionRange} + */ +proto.google.protobuf.DescriptorProto.ExtensionRange.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {number} */ (reader.readInt32()); + msg.setStart(value); + break; + case 2: + var value = /** @type {number} */ (reader.readInt32()); + msg.setEnd(value); + break; + case 3: + var value = new proto.google.protobuf.ExtensionRangeOptions; + reader.readMessage(value,proto.google.protobuf.ExtensionRangeOptions.deserializeBinaryFromReader); + msg.setOptions(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.google.protobuf.DescriptorProto.ExtensionRange.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.google.protobuf.DescriptorProto.ExtensionRange} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.protobuf.DescriptorProto.ExtensionRange.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = /** @type {number} */ (jspb.Message.getField(message, 1)); + if (f != null) { + writer.writeInt32( + 1, + f + ); + } + f = /** @type {number} */ (jspb.Message.getField(message, 2)); + if (f != null) { + writer.writeInt32( + 2, + f + ); + } + f = message.getOptions(); + if (f != null) { + writer.writeMessage( + 3, + f, + proto.google.protobuf.ExtensionRangeOptions.serializeBinaryToWriter + ); + } +}; + + +/** + * optional int32 start = 1; + * @return {number} + */ +proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.getStart = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.google.protobuf.DescriptorProto.ExtensionRange} returns this + */ +proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.setStart = function(value) { + return jspb.Message.setField(this, 1, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.protobuf.DescriptorProto.ExtensionRange} returns this + */ +proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.clearStart = function() { + return jspb.Message.setField(this, 1, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.hasStart = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional int32 end = 2; + * @return {number} + */ +proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.getEnd = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.google.protobuf.DescriptorProto.ExtensionRange} returns this + */ +proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.setEnd = function(value) { + return jspb.Message.setField(this, 2, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.protobuf.DescriptorProto.ExtensionRange} returns this + */ +proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.clearEnd = function() { + return jspb.Message.setField(this, 2, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.hasEnd = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional ExtensionRangeOptions options = 3; + * @return {?proto.google.protobuf.ExtensionRangeOptions} + */ +proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.getOptions = function() { + return /** @type{?proto.google.protobuf.ExtensionRangeOptions} */ ( + jspb.Message.getWrapperField(this, proto.google.protobuf.ExtensionRangeOptions, 3)); +}; + + +/** + * @param {?proto.google.protobuf.ExtensionRangeOptions|undefined} value + * @return {!proto.google.protobuf.DescriptorProto.ExtensionRange} returns this +*/ +proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.setOptions = function(value) { + return jspb.Message.setWrapperField(this, 3, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.google.protobuf.DescriptorProto.ExtensionRange} returns this + */ +proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.clearOptions = function() { + return this.setOptions(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.hasOptions = function() { + return jspb.Message.getField(this, 3) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.google.protobuf.DescriptorProto.ReservedRange.prototype.toObject = function(opt_includeInstance) { + return proto.google.protobuf.DescriptorProto.ReservedRange.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.google.protobuf.DescriptorProto.ReservedRange} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.protobuf.DescriptorProto.ReservedRange.toObject = function(includeInstance, msg) { + var f, obj = { + start: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, + end: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.google.protobuf.DescriptorProto.ReservedRange} + */ +proto.google.protobuf.DescriptorProto.ReservedRange.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.google.protobuf.DescriptorProto.ReservedRange; + return proto.google.protobuf.DescriptorProto.ReservedRange.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.google.protobuf.DescriptorProto.ReservedRange} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.google.protobuf.DescriptorProto.ReservedRange} + */ +proto.google.protobuf.DescriptorProto.ReservedRange.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {number} */ (reader.readInt32()); + msg.setStart(value); + break; + case 2: + var value = /** @type {number} */ (reader.readInt32()); + msg.setEnd(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.google.protobuf.DescriptorProto.ReservedRange.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.google.protobuf.DescriptorProto.ReservedRange.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.google.protobuf.DescriptorProto.ReservedRange} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.protobuf.DescriptorProto.ReservedRange.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = /** @type {number} */ (jspb.Message.getField(message, 1)); + if (f != null) { + writer.writeInt32( + 1, + f + ); + } + f = /** @type {number} */ (jspb.Message.getField(message, 2)); + if (f != null) { + writer.writeInt32( + 2, + f + ); + } +}; + + +/** + * optional int32 start = 1; + * @return {number} + */ +proto.google.protobuf.DescriptorProto.ReservedRange.prototype.getStart = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.google.protobuf.DescriptorProto.ReservedRange} returns this + */ +proto.google.protobuf.DescriptorProto.ReservedRange.prototype.setStart = function(value) { + return jspb.Message.setField(this, 1, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.protobuf.DescriptorProto.ReservedRange} returns this + */ +proto.google.protobuf.DescriptorProto.ReservedRange.prototype.clearStart = function() { + return jspb.Message.setField(this, 1, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.protobuf.DescriptorProto.ReservedRange.prototype.hasStart = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional int32 end = 2; + * @return {number} + */ +proto.google.protobuf.DescriptorProto.ReservedRange.prototype.getEnd = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.google.protobuf.DescriptorProto.ReservedRange} returns this + */ +proto.google.protobuf.DescriptorProto.ReservedRange.prototype.setEnd = function(value) { + return jspb.Message.setField(this, 2, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.protobuf.DescriptorProto.ReservedRange} returns this + */ +proto.google.protobuf.DescriptorProto.ReservedRange.prototype.clearEnd = function() { + return jspb.Message.setField(this, 2, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.protobuf.DescriptorProto.ReservedRange.prototype.hasEnd = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional string name = 1; + * @return {string} + */ +proto.google.protobuf.DescriptorProto.prototype.getName = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.protobuf.DescriptorProto} returns this + */ +proto.google.protobuf.DescriptorProto.prototype.setName = function(value) { + return jspb.Message.setField(this, 1, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.protobuf.DescriptorProto} returns this + */ +proto.google.protobuf.DescriptorProto.prototype.clearName = function() { + return jspb.Message.setField(this, 1, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.protobuf.DescriptorProto.prototype.hasName = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * repeated FieldDescriptorProto field = 2; + * @return {!Array} + */ +proto.google.protobuf.DescriptorProto.prototype.getFieldList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.google.protobuf.FieldDescriptorProto, 2)); +}; + + +/** + * @param {!Array} value + * @return {!proto.google.protobuf.DescriptorProto} returns this +*/ +proto.google.protobuf.DescriptorProto.prototype.setFieldList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 2, value); +}; + + +/** + * @param {!proto.google.protobuf.FieldDescriptorProto=} opt_value + * @param {number=} opt_index + * @return {!proto.google.protobuf.FieldDescriptorProto} + */ +proto.google.protobuf.DescriptorProto.prototype.addField = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.google.protobuf.FieldDescriptorProto, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.google.protobuf.DescriptorProto} returns this + */ +proto.google.protobuf.DescriptorProto.prototype.clearFieldList = function() { + return this.setFieldList([]); +}; + + +/** + * repeated FieldDescriptorProto extension = 6; + * @return {!Array} + */ +proto.google.protobuf.DescriptorProto.prototype.getExtensionList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.google.protobuf.FieldDescriptorProto, 6)); +}; + + +/** + * @param {!Array} value + * @return {!proto.google.protobuf.DescriptorProto} returns this +*/ +proto.google.protobuf.DescriptorProto.prototype.setExtensionList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 6, value); +}; + + +/** + * @param {!proto.google.protobuf.FieldDescriptorProto=} opt_value + * @param {number=} opt_index + * @return {!proto.google.protobuf.FieldDescriptorProto} + */ +proto.google.protobuf.DescriptorProto.prototype.addExtension$ = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 6, opt_value, proto.google.protobuf.FieldDescriptorProto, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.google.protobuf.DescriptorProto} returns this + */ +proto.google.protobuf.DescriptorProto.prototype.clearExtensionList = function() { + return this.setExtensionList([]); +}; + + +/** + * repeated DescriptorProto nested_type = 3; + * @return {!Array} + */ +proto.google.protobuf.DescriptorProto.prototype.getNestedTypeList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.google.protobuf.DescriptorProto, 3)); +}; + + +/** + * @param {!Array} value + * @return {!proto.google.protobuf.DescriptorProto} returns this +*/ +proto.google.protobuf.DescriptorProto.prototype.setNestedTypeList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 3, value); +}; + + +/** + * @param {!proto.google.protobuf.DescriptorProto=} opt_value + * @param {number=} opt_index + * @return {!proto.google.protobuf.DescriptorProto} + */ +proto.google.protobuf.DescriptorProto.prototype.addNestedType = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.google.protobuf.DescriptorProto, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.google.protobuf.DescriptorProto} returns this + */ +proto.google.protobuf.DescriptorProto.prototype.clearNestedTypeList = function() { + return this.setNestedTypeList([]); +}; + + +/** + * repeated EnumDescriptorProto enum_type = 4; + * @return {!Array} + */ +proto.google.protobuf.DescriptorProto.prototype.getEnumTypeList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.google.protobuf.EnumDescriptorProto, 4)); +}; + + +/** + * @param {!Array} value + * @return {!proto.google.protobuf.DescriptorProto} returns this +*/ +proto.google.protobuf.DescriptorProto.prototype.setEnumTypeList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 4, value); +}; + + +/** + * @param {!proto.google.protobuf.EnumDescriptorProto=} opt_value + * @param {number=} opt_index + * @return {!proto.google.protobuf.EnumDescriptorProto} + */ +proto.google.protobuf.DescriptorProto.prototype.addEnumType = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 4, opt_value, proto.google.protobuf.EnumDescriptorProto, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.google.protobuf.DescriptorProto} returns this + */ +proto.google.protobuf.DescriptorProto.prototype.clearEnumTypeList = function() { + return this.setEnumTypeList([]); +}; + + +/** + * repeated ExtensionRange extension_range = 5; + * @return {!Array} + */ +proto.google.protobuf.DescriptorProto.prototype.getExtensionRangeList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.google.protobuf.DescriptorProto.ExtensionRange, 5)); +}; + + +/** + * @param {!Array} value + * @return {!proto.google.protobuf.DescriptorProto} returns this +*/ +proto.google.protobuf.DescriptorProto.prototype.setExtensionRangeList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 5, value); +}; + + +/** + * @param {!proto.google.protobuf.DescriptorProto.ExtensionRange=} opt_value + * @param {number=} opt_index + * @return {!proto.google.protobuf.DescriptorProto.ExtensionRange} + */ +proto.google.protobuf.DescriptorProto.prototype.addExtensionRange = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 5, opt_value, proto.google.protobuf.DescriptorProto.ExtensionRange, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.google.protobuf.DescriptorProto} returns this + */ +proto.google.protobuf.DescriptorProto.prototype.clearExtensionRangeList = function() { + return this.setExtensionRangeList([]); +}; + + +/** + * repeated OneofDescriptorProto oneof_decl = 8; + * @return {!Array} + */ +proto.google.protobuf.DescriptorProto.prototype.getOneofDeclList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.google.protobuf.OneofDescriptorProto, 8)); +}; + + +/** + * @param {!Array} value + * @return {!proto.google.protobuf.DescriptorProto} returns this +*/ +proto.google.protobuf.DescriptorProto.prototype.setOneofDeclList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 8, value); +}; + + +/** + * @param {!proto.google.protobuf.OneofDescriptorProto=} opt_value + * @param {number=} opt_index + * @return {!proto.google.protobuf.OneofDescriptorProto} + */ +proto.google.protobuf.DescriptorProto.prototype.addOneofDecl = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 8, opt_value, proto.google.protobuf.OneofDescriptorProto, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.google.protobuf.DescriptorProto} returns this + */ +proto.google.protobuf.DescriptorProto.prototype.clearOneofDeclList = function() { + return this.setOneofDeclList([]); +}; + + +/** + * optional MessageOptions options = 7; + * @return {?proto.google.protobuf.MessageOptions} + */ +proto.google.protobuf.DescriptorProto.prototype.getOptions = function() { + return /** @type{?proto.google.protobuf.MessageOptions} */ ( + jspb.Message.getWrapperField(this, proto.google.protobuf.MessageOptions, 7)); +}; + + +/** + * @param {?proto.google.protobuf.MessageOptions|undefined} value + * @return {!proto.google.protobuf.DescriptorProto} returns this +*/ +proto.google.protobuf.DescriptorProto.prototype.setOptions = function(value) { + return jspb.Message.setWrapperField(this, 7, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.google.protobuf.DescriptorProto} returns this + */ +proto.google.protobuf.DescriptorProto.prototype.clearOptions = function() { + return this.setOptions(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.protobuf.DescriptorProto.prototype.hasOptions = function() { + return jspb.Message.getField(this, 7) != null; +}; + + +/** + * repeated ReservedRange reserved_range = 9; + * @return {!Array} + */ +proto.google.protobuf.DescriptorProto.prototype.getReservedRangeList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.google.protobuf.DescriptorProto.ReservedRange, 9)); +}; + + +/** + * @param {!Array} value + * @return {!proto.google.protobuf.DescriptorProto} returns this +*/ +proto.google.protobuf.DescriptorProto.prototype.setReservedRangeList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 9, value); +}; + + +/** + * @param {!proto.google.protobuf.DescriptorProto.ReservedRange=} opt_value + * @param {number=} opt_index + * @return {!proto.google.protobuf.DescriptorProto.ReservedRange} + */ +proto.google.protobuf.DescriptorProto.prototype.addReservedRange = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 9, opt_value, proto.google.protobuf.DescriptorProto.ReservedRange, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.google.protobuf.DescriptorProto} returns this + */ +proto.google.protobuf.DescriptorProto.prototype.clearReservedRangeList = function() { + return this.setReservedRangeList([]); +}; + + +/** + * repeated string reserved_name = 10; + * @return {!Array} + */ +proto.google.protobuf.DescriptorProto.prototype.getReservedNameList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 10)); +}; + + +/** + * @param {!Array} value + * @return {!proto.google.protobuf.DescriptorProto} returns this + */ +proto.google.protobuf.DescriptorProto.prototype.setReservedNameList = function(value) { + return jspb.Message.setField(this, 10, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.google.protobuf.DescriptorProto} returns this + */ +proto.google.protobuf.DescriptorProto.prototype.addReservedName = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 10, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.google.protobuf.DescriptorProto} returns this + */ +proto.google.protobuf.DescriptorProto.prototype.clearReservedNameList = function() { + return this.setReservedNameList([]); +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.google.protobuf.ExtensionRangeOptions.repeatedFields_ = [999,2]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.google.protobuf.ExtensionRangeOptions.prototype.toObject = function(opt_includeInstance) { + return proto.google.protobuf.ExtensionRangeOptions.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.google.protobuf.ExtensionRangeOptions} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.protobuf.ExtensionRangeOptions.toObject = function(includeInstance, msg) { + var f, obj = { + uninterpretedOptionList: jspb.Message.toObjectList(msg.getUninterpretedOptionList(), + proto.google.protobuf.UninterpretedOption.toObject, includeInstance), + declarationList: jspb.Message.toObjectList(msg.getDeclarationList(), + proto.google.protobuf.ExtensionRangeOptions.Declaration.toObject, includeInstance), + features: (f = msg.getFeatures()) && proto.google.protobuf.FeatureSet.toObject(includeInstance, f), + verification: jspb.Message.getFieldWithDefault(msg, 3, 1) + }; + + jspb.Message.toObjectExtension(/** @type {!jspb.Message} */ (msg), obj, + proto.google.protobuf.ExtensionRangeOptions.extensions, proto.google.protobuf.ExtensionRangeOptions.prototype.getExtension, + includeInstance); + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.google.protobuf.ExtensionRangeOptions} + */ +proto.google.protobuf.ExtensionRangeOptions.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.google.protobuf.ExtensionRangeOptions; + return proto.google.protobuf.ExtensionRangeOptions.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.google.protobuf.ExtensionRangeOptions} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.google.protobuf.ExtensionRangeOptions} + */ +proto.google.protobuf.ExtensionRangeOptions.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 999: + var value = new proto.google.protobuf.UninterpretedOption; + reader.readMessage(value,proto.google.protobuf.UninterpretedOption.deserializeBinaryFromReader); + msg.addUninterpretedOption(value); + break; + case 2: + var value = new proto.google.protobuf.ExtensionRangeOptions.Declaration; + reader.readMessage(value,proto.google.protobuf.ExtensionRangeOptions.Declaration.deserializeBinaryFromReader); + msg.addDeclaration(value); + break; + case 50: + var value = new proto.google.protobuf.FeatureSet; + reader.readMessage(value,proto.google.protobuf.FeatureSet.deserializeBinaryFromReader); + msg.setFeatures(value); + break; + case 3: + var value = /** @type {!proto.google.protobuf.ExtensionRangeOptions.VerificationState} */ (reader.readEnum()); + msg.setVerification(value); + break; + default: + jspb.Message.readBinaryExtension(msg, reader, + proto.google.protobuf.ExtensionRangeOptions.extensionsBinary, + proto.google.protobuf.ExtensionRangeOptions.prototype.getExtension, + proto.google.protobuf.ExtensionRangeOptions.prototype.setExtension); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.google.protobuf.ExtensionRangeOptions.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.google.protobuf.ExtensionRangeOptions.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.google.protobuf.ExtensionRangeOptions} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.protobuf.ExtensionRangeOptions.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getUninterpretedOptionList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 999, + f, + proto.google.protobuf.UninterpretedOption.serializeBinaryToWriter + ); + } + f = message.getDeclarationList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 2, + f, + proto.google.protobuf.ExtensionRangeOptions.Declaration.serializeBinaryToWriter + ); + } + f = message.getFeatures(); + if (f != null) { + writer.writeMessage( + 50, + f, + proto.google.protobuf.FeatureSet.serializeBinaryToWriter + ); + } + f = /** @type {!proto.google.protobuf.ExtensionRangeOptions.VerificationState} */ (jspb.Message.getField(message, 3)); + if (f != null) { + writer.writeEnum( + 3, + f + ); + } + jspb.Message.serializeBinaryExtensions(message, writer, + proto.google.protobuf.ExtensionRangeOptions.extensionsBinary, proto.google.protobuf.ExtensionRangeOptions.prototype.getExtension); +}; + + +/** + * @enum {number} + */ +proto.google.protobuf.ExtensionRangeOptions.VerificationState = { + DECLARATION: 0, + UNVERIFIED: 1 +}; + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.google.protobuf.ExtensionRangeOptions.Declaration.prototype.toObject = function(opt_includeInstance) { + return proto.google.protobuf.ExtensionRangeOptions.Declaration.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.google.protobuf.ExtensionRangeOptions.Declaration} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.protobuf.ExtensionRangeOptions.Declaration.toObject = function(includeInstance, msg) { + var f, obj = { + number: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, + fullName: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, + type: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, + reserved: (f = jspb.Message.getBooleanField(msg, 5)) == null ? undefined : f, + repeated: (f = jspb.Message.getBooleanField(msg, 6)) == null ? undefined : f + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.google.protobuf.ExtensionRangeOptions.Declaration} + */ +proto.google.protobuf.ExtensionRangeOptions.Declaration.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.google.protobuf.ExtensionRangeOptions.Declaration; + return proto.google.protobuf.ExtensionRangeOptions.Declaration.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.google.protobuf.ExtensionRangeOptions.Declaration} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.google.protobuf.ExtensionRangeOptions.Declaration} + */ +proto.google.protobuf.ExtensionRangeOptions.Declaration.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {number} */ (reader.readInt32()); + msg.setNumber(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setFullName(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setType(value); + break; + case 5: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setReserved(value); + break; + case 6: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setRepeated(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.google.protobuf.ExtensionRangeOptions.Declaration.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.google.protobuf.ExtensionRangeOptions.Declaration.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.google.protobuf.ExtensionRangeOptions.Declaration} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.protobuf.ExtensionRangeOptions.Declaration.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = /** @type {number} */ (jspb.Message.getField(message, 1)); + if (f != null) { + writer.writeInt32( + 1, + f + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 2)); + if (f != null) { + writer.writeString( + 2, + f + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 3)); + if (f != null) { + writer.writeString( + 3, + f + ); + } + f = /** @type {boolean} */ (jspb.Message.getField(message, 5)); + if (f != null) { + writer.writeBool( + 5, + f + ); + } + f = /** @type {boolean} */ (jspb.Message.getField(message, 6)); + if (f != null) { + writer.writeBool( + 6, + f + ); + } +}; + + +/** + * optional int32 number = 1; + * @return {number} + */ +proto.google.protobuf.ExtensionRangeOptions.Declaration.prototype.getNumber = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.google.protobuf.ExtensionRangeOptions.Declaration} returns this + */ +proto.google.protobuf.ExtensionRangeOptions.Declaration.prototype.setNumber = function(value) { + return jspb.Message.setField(this, 1, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.protobuf.ExtensionRangeOptions.Declaration} returns this + */ +proto.google.protobuf.ExtensionRangeOptions.Declaration.prototype.clearNumber = function() { + return jspb.Message.setField(this, 1, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.protobuf.ExtensionRangeOptions.Declaration.prototype.hasNumber = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional string full_name = 2; + * @return {string} + */ +proto.google.protobuf.ExtensionRangeOptions.Declaration.prototype.getFullName = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.protobuf.ExtensionRangeOptions.Declaration} returns this + */ +proto.google.protobuf.ExtensionRangeOptions.Declaration.prototype.setFullName = function(value) { + return jspb.Message.setField(this, 2, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.protobuf.ExtensionRangeOptions.Declaration} returns this + */ +proto.google.protobuf.ExtensionRangeOptions.Declaration.prototype.clearFullName = function() { + return jspb.Message.setField(this, 2, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.protobuf.ExtensionRangeOptions.Declaration.prototype.hasFullName = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional string type = 3; + * @return {string} + */ +proto.google.protobuf.ExtensionRangeOptions.Declaration.prototype.getType = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.protobuf.ExtensionRangeOptions.Declaration} returns this + */ +proto.google.protobuf.ExtensionRangeOptions.Declaration.prototype.setType = function(value) { + return jspb.Message.setField(this, 3, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.protobuf.ExtensionRangeOptions.Declaration} returns this + */ +proto.google.protobuf.ExtensionRangeOptions.Declaration.prototype.clearType = function() { + return jspb.Message.setField(this, 3, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.protobuf.ExtensionRangeOptions.Declaration.prototype.hasType = function() { + return jspb.Message.getField(this, 3) != null; +}; + + +/** + * optional bool reserved = 5; + * @return {boolean} + */ +proto.google.protobuf.ExtensionRangeOptions.Declaration.prototype.getReserved = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.google.protobuf.ExtensionRangeOptions.Declaration} returns this + */ +proto.google.protobuf.ExtensionRangeOptions.Declaration.prototype.setReserved = function(value) { + return jspb.Message.setField(this, 5, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.protobuf.ExtensionRangeOptions.Declaration} returns this + */ +proto.google.protobuf.ExtensionRangeOptions.Declaration.prototype.clearReserved = function() { + return jspb.Message.setField(this, 5, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.protobuf.ExtensionRangeOptions.Declaration.prototype.hasReserved = function() { + return jspb.Message.getField(this, 5) != null; +}; + + +/** + * optional bool repeated = 6; + * @return {boolean} + */ +proto.google.protobuf.ExtensionRangeOptions.Declaration.prototype.getRepeated = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 6, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.google.protobuf.ExtensionRangeOptions.Declaration} returns this + */ +proto.google.protobuf.ExtensionRangeOptions.Declaration.prototype.setRepeated = function(value) { + return jspb.Message.setField(this, 6, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.protobuf.ExtensionRangeOptions.Declaration} returns this + */ +proto.google.protobuf.ExtensionRangeOptions.Declaration.prototype.clearRepeated = function() { + return jspb.Message.setField(this, 6, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.protobuf.ExtensionRangeOptions.Declaration.prototype.hasRepeated = function() { + return jspb.Message.getField(this, 6) != null; +}; + + +/** + * repeated UninterpretedOption uninterpreted_option = 999; + * @return {!Array} + */ +proto.google.protobuf.ExtensionRangeOptions.prototype.getUninterpretedOptionList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.google.protobuf.UninterpretedOption, 999)); +}; + + +/** + * @param {!Array} value + * @return {!proto.google.protobuf.ExtensionRangeOptions} returns this +*/ +proto.google.protobuf.ExtensionRangeOptions.prototype.setUninterpretedOptionList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 999, value); +}; + + +/** + * @param {!proto.google.protobuf.UninterpretedOption=} opt_value + * @param {number=} opt_index + * @return {!proto.google.protobuf.UninterpretedOption} + */ +proto.google.protobuf.ExtensionRangeOptions.prototype.addUninterpretedOption = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 999, opt_value, proto.google.protobuf.UninterpretedOption, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.google.protobuf.ExtensionRangeOptions} returns this + */ +proto.google.protobuf.ExtensionRangeOptions.prototype.clearUninterpretedOptionList = function() { + return this.setUninterpretedOptionList([]); +}; + + +/** + * repeated Declaration declaration = 2; + * @return {!Array} + */ +proto.google.protobuf.ExtensionRangeOptions.prototype.getDeclarationList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.google.protobuf.ExtensionRangeOptions.Declaration, 2)); +}; + + +/** + * @param {!Array} value + * @return {!proto.google.protobuf.ExtensionRangeOptions} returns this +*/ +proto.google.protobuf.ExtensionRangeOptions.prototype.setDeclarationList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 2, value); +}; + + +/** + * @param {!proto.google.protobuf.ExtensionRangeOptions.Declaration=} opt_value + * @param {number=} opt_index + * @return {!proto.google.protobuf.ExtensionRangeOptions.Declaration} + */ +proto.google.protobuf.ExtensionRangeOptions.prototype.addDeclaration = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.google.protobuf.ExtensionRangeOptions.Declaration, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.google.protobuf.ExtensionRangeOptions} returns this + */ +proto.google.protobuf.ExtensionRangeOptions.prototype.clearDeclarationList = function() { + return this.setDeclarationList([]); +}; + + +/** + * optional FeatureSet features = 50; + * @return {?proto.google.protobuf.FeatureSet} + */ +proto.google.protobuf.ExtensionRangeOptions.prototype.getFeatures = function() { + return /** @type{?proto.google.protobuf.FeatureSet} */ ( + jspb.Message.getWrapperField(this, proto.google.protobuf.FeatureSet, 50)); +}; + + +/** + * @param {?proto.google.protobuf.FeatureSet|undefined} value + * @return {!proto.google.protobuf.ExtensionRangeOptions} returns this +*/ +proto.google.protobuf.ExtensionRangeOptions.prototype.setFeatures = function(value) { + return jspb.Message.setWrapperField(this, 50, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.google.protobuf.ExtensionRangeOptions} returns this + */ +proto.google.protobuf.ExtensionRangeOptions.prototype.clearFeatures = function() { + return this.setFeatures(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.protobuf.ExtensionRangeOptions.prototype.hasFeatures = function() { + return jspb.Message.getField(this, 50) != null; +}; + + +/** + * optional VerificationState verification = 3; + * @return {!proto.google.protobuf.ExtensionRangeOptions.VerificationState} + */ +proto.google.protobuf.ExtensionRangeOptions.prototype.getVerification = function() { + return /** @type {!proto.google.protobuf.ExtensionRangeOptions.VerificationState} */ (jspb.Message.getFieldWithDefault(this, 3, 1)); +}; + + +/** + * @param {!proto.google.protobuf.ExtensionRangeOptions.VerificationState} value + * @return {!proto.google.protobuf.ExtensionRangeOptions} returns this + */ +proto.google.protobuf.ExtensionRangeOptions.prototype.setVerification = function(value) { + return jspb.Message.setField(this, 3, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.protobuf.ExtensionRangeOptions} returns this + */ +proto.google.protobuf.ExtensionRangeOptions.prototype.clearVerification = function() { + return jspb.Message.setField(this, 3, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.protobuf.ExtensionRangeOptions.prototype.hasVerification = function() { + return jspb.Message.getField(this, 3) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.google.protobuf.FieldDescriptorProto.prototype.toObject = function(opt_includeInstance) { + return proto.google.protobuf.FieldDescriptorProto.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.google.protobuf.FieldDescriptorProto} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.protobuf.FieldDescriptorProto.toObject = function(includeInstance, msg) { + var f, obj = { + name: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, + number: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, + label: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f, + type: (f = jspb.Message.getField(msg, 5)) == null ? undefined : f, + typeName: (f = jspb.Message.getField(msg, 6)) == null ? undefined : f, + extendee: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, + defaultValue: (f = jspb.Message.getField(msg, 7)) == null ? undefined : f, + oneofIndex: (f = jspb.Message.getField(msg, 9)) == null ? undefined : f, + jsonName: (f = jspb.Message.getField(msg, 10)) == null ? undefined : f, + options: (f = msg.getOptions()) && proto.google.protobuf.FieldOptions.toObject(includeInstance, f), + proto3Optional: (f = jspb.Message.getBooleanField(msg, 17)) == null ? undefined : f + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.google.protobuf.FieldDescriptorProto} + */ +proto.google.protobuf.FieldDescriptorProto.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.google.protobuf.FieldDescriptorProto; + return proto.google.protobuf.FieldDescriptorProto.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.google.protobuf.FieldDescriptorProto} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.google.protobuf.FieldDescriptorProto} + */ +proto.google.protobuf.FieldDescriptorProto.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setName(value); + break; + case 3: + var value = /** @type {number} */ (reader.readInt32()); + msg.setNumber(value); + break; + case 4: + var value = /** @type {!proto.google.protobuf.FieldDescriptorProto.Label} */ (reader.readEnum()); + msg.setLabel(value); + break; + case 5: + var value = /** @type {!proto.google.protobuf.FieldDescriptorProto.Type} */ (reader.readEnum()); + msg.setType(value); + break; + case 6: + var value = /** @type {string} */ (reader.readString()); + msg.setTypeName(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setExtendee(value); + break; + case 7: + var value = /** @type {string} */ (reader.readString()); + msg.setDefaultValue(value); + break; + case 9: + var value = /** @type {number} */ (reader.readInt32()); + msg.setOneofIndex(value); + break; + case 10: + var value = /** @type {string} */ (reader.readString()); + msg.setJsonName(value); + break; + case 8: + var value = new proto.google.protobuf.FieldOptions; + reader.readMessage(value,proto.google.protobuf.FieldOptions.deserializeBinaryFromReader); + msg.setOptions(value); + break; + case 17: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setProto3Optional(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.google.protobuf.FieldDescriptorProto.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.google.protobuf.FieldDescriptorProto.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.google.protobuf.FieldDescriptorProto} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.protobuf.FieldDescriptorProto.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = /** @type {string} */ (jspb.Message.getField(message, 1)); + if (f != null) { + writer.writeString( + 1, + f + ); + } + f = /** @type {number} */ (jspb.Message.getField(message, 3)); + if (f != null) { + writer.writeInt32( + 3, + f + ); + } + f = /** @type {!proto.google.protobuf.FieldDescriptorProto.Label} */ (jspb.Message.getField(message, 4)); + if (f != null) { + writer.writeEnum( + 4, + f + ); + } + f = /** @type {!proto.google.protobuf.FieldDescriptorProto.Type} */ (jspb.Message.getField(message, 5)); + if (f != null) { + writer.writeEnum( + 5, + f + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 6)); + if (f != null) { + writer.writeString( + 6, + f + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 2)); + if (f != null) { + writer.writeString( + 2, + f + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 7)); + if (f != null) { + writer.writeString( + 7, + f + ); + } + f = /** @type {number} */ (jspb.Message.getField(message, 9)); + if (f != null) { + writer.writeInt32( + 9, + f + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 10)); + if (f != null) { + writer.writeString( + 10, + f + ); + } + f = message.getOptions(); + if (f != null) { + writer.writeMessage( + 8, + f, + proto.google.protobuf.FieldOptions.serializeBinaryToWriter + ); + } + f = /** @type {boolean} */ (jspb.Message.getField(message, 17)); + if (f != null) { + writer.writeBool( + 17, + f + ); + } +}; + + +/** + * @enum {number} + */ +proto.google.protobuf.FieldDescriptorProto.Type = { + TYPE_DOUBLE: 1, + TYPE_FLOAT: 2, + TYPE_INT64: 3, + TYPE_UINT64: 4, + TYPE_INT32: 5, + TYPE_FIXED64: 6, + TYPE_FIXED32: 7, + TYPE_BOOL: 8, + TYPE_STRING: 9, + TYPE_GROUP: 10, + TYPE_MESSAGE: 11, + TYPE_BYTES: 12, + TYPE_UINT32: 13, + TYPE_ENUM: 14, + TYPE_SFIXED32: 15, + TYPE_SFIXED64: 16, + TYPE_SINT32: 17, + TYPE_SINT64: 18 +}; + +/** + * @enum {number} + */ +proto.google.protobuf.FieldDescriptorProto.Label = { + LABEL_OPTIONAL: 1, + LABEL_REPEATED: 3, + LABEL_REQUIRED: 2 +}; + +/** + * optional string name = 1; + * @return {string} + */ +proto.google.protobuf.FieldDescriptorProto.prototype.getName = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.protobuf.FieldDescriptorProto} returns this + */ +proto.google.protobuf.FieldDescriptorProto.prototype.setName = function(value) { + return jspb.Message.setField(this, 1, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.protobuf.FieldDescriptorProto} returns this + */ +proto.google.protobuf.FieldDescriptorProto.prototype.clearName = function() { + return jspb.Message.setField(this, 1, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.protobuf.FieldDescriptorProto.prototype.hasName = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional int32 number = 3; + * @return {number} + */ +proto.google.protobuf.FieldDescriptorProto.prototype.getNumber = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.google.protobuf.FieldDescriptorProto} returns this + */ +proto.google.protobuf.FieldDescriptorProto.prototype.setNumber = function(value) { + return jspb.Message.setField(this, 3, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.protobuf.FieldDescriptorProto} returns this + */ +proto.google.protobuf.FieldDescriptorProto.prototype.clearNumber = function() { + return jspb.Message.setField(this, 3, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.protobuf.FieldDescriptorProto.prototype.hasNumber = function() { + return jspb.Message.getField(this, 3) != null; +}; + + +/** + * optional Label label = 4; + * @return {!proto.google.protobuf.FieldDescriptorProto.Label} + */ +proto.google.protobuf.FieldDescriptorProto.prototype.getLabel = function() { + return /** @type {!proto.google.protobuf.FieldDescriptorProto.Label} */ (jspb.Message.getFieldWithDefault(this, 4, 1)); +}; + + +/** + * @param {!proto.google.protobuf.FieldDescriptorProto.Label} value + * @return {!proto.google.protobuf.FieldDescriptorProto} returns this + */ +proto.google.protobuf.FieldDescriptorProto.prototype.setLabel = function(value) { + return jspb.Message.setField(this, 4, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.protobuf.FieldDescriptorProto} returns this + */ +proto.google.protobuf.FieldDescriptorProto.prototype.clearLabel = function() { + return jspb.Message.setField(this, 4, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.protobuf.FieldDescriptorProto.prototype.hasLabel = function() { + return jspb.Message.getField(this, 4) != null; +}; + + +/** + * optional Type type = 5; + * @return {!proto.google.protobuf.FieldDescriptorProto.Type} + */ +proto.google.protobuf.FieldDescriptorProto.prototype.getType = function() { + return /** @type {!proto.google.protobuf.FieldDescriptorProto.Type} */ (jspb.Message.getFieldWithDefault(this, 5, 1)); +}; + + +/** + * @param {!proto.google.protobuf.FieldDescriptorProto.Type} value + * @return {!proto.google.protobuf.FieldDescriptorProto} returns this + */ +proto.google.protobuf.FieldDescriptorProto.prototype.setType = function(value) { + return jspb.Message.setField(this, 5, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.protobuf.FieldDescriptorProto} returns this + */ +proto.google.protobuf.FieldDescriptorProto.prototype.clearType = function() { + return jspb.Message.setField(this, 5, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.protobuf.FieldDescriptorProto.prototype.hasType = function() { + return jspb.Message.getField(this, 5) != null; +}; + + +/** + * optional string type_name = 6; + * @return {string} + */ +proto.google.protobuf.FieldDescriptorProto.prototype.getTypeName = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.protobuf.FieldDescriptorProto} returns this + */ +proto.google.protobuf.FieldDescriptorProto.prototype.setTypeName = function(value) { + return jspb.Message.setField(this, 6, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.protobuf.FieldDescriptorProto} returns this + */ +proto.google.protobuf.FieldDescriptorProto.prototype.clearTypeName = function() { + return jspb.Message.setField(this, 6, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.protobuf.FieldDescriptorProto.prototype.hasTypeName = function() { + return jspb.Message.getField(this, 6) != null; +}; + + +/** + * optional string extendee = 2; + * @return {string} + */ +proto.google.protobuf.FieldDescriptorProto.prototype.getExtendee = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.protobuf.FieldDescriptorProto} returns this + */ +proto.google.protobuf.FieldDescriptorProto.prototype.setExtendee = function(value) { + return jspb.Message.setField(this, 2, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.protobuf.FieldDescriptorProto} returns this + */ +proto.google.protobuf.FieldDescriptorProto.prototype.clearExtendee = function() { + return jspb.Message.setField(this, 2, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.protobuf.FieldDescriptorProto.prototype.hasExtendee = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional string default_value = 7; + * @return {string} + */ +proto.google.protobuf.FieldDescriptorProto.prototype.getDefaultValue = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.protobuf.FieldDescriptorProto} returns this + */ +proto.google.protobuf.FieldDescriptorProto.prototype.setDefaultValue = function(value) { + return jspb.Message.setField(this, 7, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.protobuf.FieldDescriptorProto} returns this + */ +proto.google.protobuf.FieldDescriptorProto.prototype.clearDefaultValue = function() { + return jspb.Message.setField(this, 7, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.protobuf.FieldDescriptorProto.prototype.hasDefaultValue = function() { + return jspb.Message.getField(this, 7) != null; +}; + + +/** + * optional int32 oneof_index = 9; + * @return {number} + */ +proto.google.protobuf.FieldDescriptorProto.prototype.getOneofIndex = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.google.protobuf.FieldDescriptorProto} returns this + */ +proto.google.protobuf.FieldDescriptorProto.prototype.setOneofIndex = function(value) { + return jspb.Message.setField(this, 9, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.protobuf.FieldDescriptorProto} returns this + */ +proto.google.protobuf.FieldDescriptorProto.prototype.clearOneofIndex = function() { + return jspb.Message.setField(this, 9, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.protobuf.FieldDescriptorProto.prototype.hasOneofIndex = function() { + return jspb.Message.getField(this, 9) != null; +}; + + +/** + * optional string json_name = 10; + * @return {string} + */ +proto.google.protobuf.FieldDescriptorProto.prototype.getJsonName = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.protobuf.FieldDescriptorProto} returns this + */ +proto.google.protobuf.FieldDescriptorProto.prototype.setJsonName = function(value) { + return jspb.Message.setField(this, 10, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.protobuf.FieldDescriptorProto} returns this + */ +proto.google.protobuf.FieldDescriptorProto.prototype.clearJsonName = function() { + return jspb.Message.setField(this, 10, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.protobuf.FieldDescriptorProto.prototype.hasJsonName = function() { + return jspb.Message.getField(this, 10) != null; +}; + + +/** + * optional FieldOptions options = 8; + * @return {?proto.google.protobuf.FieldOptions} + */ +proto.google.protobuf.FieldDescriptorProto.prototype.getOptions = function() { + return /** @type{?proto.google.protobuf.FieldOptions} */ ( + jspb.Message.getWrapperField(this, proto.google.protobuf.FieldOptions, 8)); +}; + + +/** + * @param {?proto.google.protobuf.FieldOptions|undefined} value + * @return {!proto.google.protobuf.FieldDescriptorProto} returns this +*/ +proto.google.protobuf.FieldDescriptorProto.prototype.setOptions = function(value) { + return jspb.Message.setWrapperField(this, 8, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.google.protobuf.FieldDescriptorProto} returns this + */ +proto.google.protobuf.FieldDescriptorProto.prototype.clearOptions = function() { + return this.setOptions(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.protobuf.FieldDescriptorProto.prototype.hasOptions = function() { + return jspb.Message.getField(this, 8) != null; +}; + + +/** + * optional bool proto3_optional = 17; + * @return {boolean} + */ +proto.google.protobuf.FieldDescriptorProto.prototype.getProto3Optional = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 17, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.google.protobuf.FieldDescriptorProto} returns this + */ +proto.google.protobuf.FieldDescriptorProto.prototype.setProto3Optional = function(value) { + return jspb.Message.setField(this, 17, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.protobuf.FieldDescriptorProto} returns this + */ +proto.google.protobuf.FieldDescriptorProto.prototype.clearProto3Optional = function() { + return jspb.Message.setField(this, 17, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.protobuf.FieldDescriptorProto.prototype.hasProto3Optional = function() { + return jspb.Message.getField(this, 17) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.google.protobuf.OneofDescriptorProto.prototype.toObject = function(opt_includeInstance) { + return proto.google.protobuf.OneofDescriptorProto.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.google.protobuf.OneofDescriptorProto} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.protobuf.OneofDescriptorProto.toObject = function(includeInstance, msg) { + var f, obj = { + name: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, + options: (f = msg.getOptions()) && proto.google.protobuf.OneofOptions.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.google.protobuf.OneofDescriptorProto} + */ +proto.google.protobuf.OneofDescriptorProto.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.google.protobuf.OneofDescriptorProto; + return proto.google.protobuf.OneofDescriptorProto.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.google.protobuf.OneofDescriptorProto} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.google.protobuf.OneofDescriptorProto} + */ +proto.google.protobuf.OneofDescriptorProto.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setName(value); + break; + case 2: + var value = new proto.google.protobuf.OneofOptions; + reader.readMessage(value,proto.google.protobuf.OneofOptions.deserializeBinaryFromReader); + msg.setOptions(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.google.protobuf.OneofDescriptorProto.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.google.protobuf.OneofDescriptorProto.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.google.protobuf.OneofDescriptorProto} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.protobuf.OneofDescriptorProto.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = /** @type {string} */ (jspb.Message.getField(message, 1)); + if (f != null) { + writer.writeString( + 1, + f + ); + } + f = message.getOptions(); + if (f != null) { + writer.writeMessage( + 2, + f, + proto.google.protobuf.OneofOptions.serializeBinaryToWriter + ); + } +}; + + +/** + * optional string name = 1; + * @return {string} + */ +proto.google.protobuf.OneofDescriptorProto.prototype.getName = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.protobuf.OneofDescriptorProto} returns this + */ +proto.google.protobuf.OneofDescriptorProto.prototype.setName = function(value) { + return jspb.Message.setField(this, 1, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.protobuf.OneofDescriptorProto} returns this + */ +proto.google.protobuf.OneofDescriptorProto.prototype.clearName = function() { + return jspb.Message.setField(this, 1, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.protobuf.OneofDescriptorProto.prototype.hasName = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional OneofOptions options = 2; + * @return {?proto.google.protobuf.OneofOptions} + */ +proto.google.protobuf.OneofDescriptorProto.prototype.getOptions = function() { + return /** @type{?proto.google.protobuf.OneofOptions} */ ( + jspb.Message.getWrapperField(this, proto.google.protobuf.OneofOptions, 2)); +}; + + +/** + * @param {?proto.google.protobuf.OneofOptions|undefined} value + * @return {!proto.google.protobuf.OneofDescriptorProto} returns this +*/ +proto.google.protobuf.OneofDescriptorProto.prototype.setOptions = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.google.protobuf.OneofDescriptorProto} returns this + */ +proto.google.protobuf.OneofDescriptorProto.prototype.clearOptions = function() { + return this.setOptions(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.protobuf.OneofDescriptorProto.prototype.hasOptions = function() { + return jspb.Message.getField(this, 2) != null; +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.google.protobuf.EnumDescriptorProto.repeatedFields_ = [2,4,5]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.google.protobuf.EnumDescriptorProto.prototype.toObject = function(opt_includeInstance) { + return proto.google.protobuf.EnumDescriptorProto.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.google.protobuf.EnumDescriptorProto} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.protobuf.EnumDescriptorProto.toObject = function(includeInstance, msg) { + var f, obj = { + name: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, + valueList: jspb.Message.toObjectList(msg.getValueList(), + proto.google.protobuf.EnumValueDescriptorProto.toObject, includeInstance), + options: (f = msg.getOptions()) && proto.google.protobuf.EnumOptions.toObject(includeInstance, f), + reservedRangeList: jspb.Message.toObjectList(msg.getReservedRangeList(), + proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.toObject, includeInstance), + reservedNameList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.google.protobuf.EnumDescriptorProto} + */ +proto.google.protobuf.EnumDescriptorProto.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.google.protobuf.EnumDescriptorProto; + return proto.google.protobuf.EnumDescriptorProto.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.google.protobuf.EnumDescriptorProto} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.google.protobuf.EnumDescriptorProto} + */ +proto.google.protobuf.EnumDescriptorProto.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setName(value); + break; + case 2: + var value = new proto.google.protobuf.EnumValueDescriptorProto; + reader.readMessage(value,proto.google.protobuf.EnumValueDescriptorProto.deserializeBinaryFromReader); + msg.addValue(value); + break; + case 3: + var value = new proto.google.protobuf.EnumOptions; + reader.readMessage(value,proto.google.protobuf.EnumOptions.deserializeBinaryFromReader); + msg.setOptions(value); + break; + case 4: + var value = new proto.google.protobuf.EnumDescriptorProto.EnumReservedRange; + reader.readMessage(value,proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.deserializeBinaryFromReader); + msg.addReservedRange(value); + break; + case 5: + var value = /** @type {string} */ (reader.readString()); + msg.addReservedName(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.google.protobuf.EnumDescriptorProto.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.google.protobuf.EnumDescriptorProto.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.google.protobuf.EnumDescriptorProto} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.protobuf.EnumDescriptorProto.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = /** @type {string} */ (jspb.Message.getField(message, 1)); + if (f != null) { + writer.writeString( + 1, + f + ); + } + f = message.getValueList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 2, + f, + proto.google.protobuf.EnumValueDescriptorProto.serializeBinaryToWriter + ); + } + f = message.getOptions(); + if (f != null) { + writer.writeMessage( + 3, + f, + proto.google.protobuf.EnumOptions.serializeBinaryToWriter + ); + } + f = message.getReservedRangeList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 4, + f, + proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.serializeBinaryToWriter + ); + } + f = message.getReservedNameList(); + if (f.length > 0) { + writer.writeRepeatedString( + 5, + f + ); + } +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.prototype.toObject = function(opt_includeInstance) { + return proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.google.protobuf.EnumDescriptorProto.EnumReservedRange} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.toObject = function(includeInstance, msg) { + var f, obj = { + start: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, + end: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.google.protobuf.EnumDescriptorProto.EnumReservedRange} + */ +proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.google.protobuf.EnumDescriptorProto.EnumReservedRange; + return proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.google.protobuf.EnumDescriptorProto.EnumReservedRange} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.google.protobuf.EnumDescriptorProto.EnumReservedRange} + */ +proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {number} */ (reader.readInt32()); + msg.setStart(value); + break; + case 2: + var value = /** @type {number} */ (reader.readInt32()); + msg.setEnd(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.google.protobuf.EnumDescriptorProto.EnumReservedRange} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = /** @type {number} */ (jspb.Message.getField(message, 1)); + if (f != null) { + writer.writeInt32( + 1, + f + ); + } + f = /** @type {number} */ (jspb.Message.getField(message, 2)); + if (f != null) { + writer.writeInt32( + 2, + f + ); + } +}; + + +/** + * optional int32 start = 1; + * @return {number} + */ +proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.prototype.getStart = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.google.protobuf.EnumDescriptorProto.EnumReservedRange} returns this + */ +proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.prototype.setStart = function(value) { + return jspb.Message.setField(this, 1, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.protobuf.EnumDescriptorProto.EnumReservedRange} returns this + */ +proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.prototype.clearStart = function() { + return jspb.Message.setField(this, 1, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.prototype.hasStart = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional int32 end = 2; + * @return {number} + */ +proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.prototype.getEnd = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.google.protobuf.EnumDescriptorProto.EnumReservedRange} returns this + */ +proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.prototype.setEnd = function(value) { + return jspb.Message.setField(this, 2, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.protobuf.EnumDescriptorProto.EnumReservedRange} returns this + */ +proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.prototype.clearEnd = function() { + return jspb.Message.setField(this, 2, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.prototype.hasEnd = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional string name = 1; + * @return {string} + */ +proto.google.protobuf.EnumDescriptorProto.prototype.getName = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.protobuf.EnumDescriptorProto} returns this + */ +proto.google.protobuf.EnumDescriptorProto.prototype.setName = function(value) { + return jspb.Message.setField(this, 1, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.protobuf.EnumDescriptorProto} returns this + */ +proto.google.protobuf.EnumDescriptorProto.prototype.clearName = function() { + return jspb.Message.setField(this, 1, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.protobuf.EnumDescriptorProto.prototype.hasName = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * repeated EnumValueDescriptorProto value = 2; + * @return {!Array} + */ +proto.google.protobuf.EnumDescriptorProto.prototype.getValueList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.google.protobuf.EnumValueDescriptorProto, 2)); +}; + + +/** + * @param {!Array} value + * @return {!proto.google.protobuf.EnumDescriptorProto} returns this +*/ +proto.google.protobuf.EnumDescriptorProto.prototype.setValueList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 2, value); +}; + + +/** + * @param {!proto.google.protobuf.EnumValueDescriptorProto=} opt_value + * @param {number=} opt_index + * @return {!proto.google.protobuf.EnumValueDescriptorProto} + */ +proto.google.protobuf.EnumDescriptorProto.prototype.addValue = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.google.protobuf.EnumValueDescriptorProto, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.google.protobuf.EnumDescriptorProto} returns this + */ +proto.google.protobuf.EnumDescriptorProto.prototype.clearValueList = function() { + return this.setValueList([]); +}; + + +/** + * optional EnumOptions options = 3; + * @return {?proto.google.protobuf.EnumOptions} + */ +proto.google.protobuf.EnumDescriptorProto.prototype.getOptions = function() { + return /** @type{?proto.google.protobuf.EnumOptions} */ ( + jspb.Message.getWrapperField(this, proto.google.protobuf.EnumOptions, 3)); +}; + + +/** + * @param {?proto.google.protobuf.EnumOptions|undefined} value + * @return {!proto.google.protobuf.EnumDescriptorProto} returns this +*/ +proto.google.protobuf.EnumDescriptorProto.prototype.setOptions = function(value) { + return jspb.Message.setWrapperField(this, 3, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.google.protobuf.EnumDescriptorProto} returns this + */ +proto.google.protobuf.EnumDescriptorProto.prototype.clearOptions = function() { + return this.setOptions(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.protobuf.EnumDescriptorProto.prototype.hasOptions = function() { + return jspb.Message.getField(this, 3) != null; +}; + + +/** + * repeated EnumReservedRange reserved_range = 4; + * @return {!Array} + */ +proto.google.protobuf.EnumDescriptorProto.prototype.getReservedRangeList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.google.protobuf.EnumDescriptorProto.EnumReservedRange, 4)); +}; + + +/** + * @param {!Array} value + * @return {!proto.google.protobuf.EnumDescriptorProto} returns this +*/ +proto.google.protobuf.EnumDescriptorProto.prototype.setReservedRangeList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 4, value); +}; + + +/** + * @param {!proto.google.protobuf.EnumDescriptorProto.EnumReservedRange=} opt_value + * @param {number=} opt_index + * @return {!proto.google.protobuf.EnumDescriptorProto.EnumReservedRange} + */ +proto.google.protobuf.EnumDescriptorProto.prototype.addReservedRange = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 4, opt_value, proto.google.protobuf.EnumDescriptorProto.EnumReservedRange, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.google.protobuf.EnumDescriptorProto} returns this + */ +proto.google.protobuf.EnumDescriptorProto.prototype.clearReservedRangeList = function() { + return this.setReservedRangeList([]); +}; + + +/** + * repeated string reserved_name = 5; + * @return {!Array} + */ +proto.google.protobuf.EnumDescriptorProto.prototype.getReservedNameList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 5)); +}; + + +/** + * @param {!Array} value + * @return {!proto.google.protobuf.EnumDescriptorProto} returns this + */ +proto.google.protobuf.EnumDescriptorProto.prototype.setReservedNameList = function(value) { + return jspb.Message.setField(this, 5, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.google.protobuf.EnumDescriptorProto} returns this + */ +proto.google.protobuf.EnumDescriptorProto.prototype.addReservedName = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 5, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.google.protobuf.EnumDescriptorProto} returns this + */ +proto.google.protobuf.EnumDescriptorProto.prototype.clearReservedNameList = function() { + return this.setReservedNameList([]); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.google.protobuf.EnumValueDescriptorProto.prototype.toObject = function(opt_includeInstance) { + return proto.google.protobuf.EnumValueDescriptorProto.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.google.protobuf.EnumValueDescriptorProto} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.protobuf.EnumValueDescriptorProto.toObject = function(includeInstance, msg) { + var f, obj = { + name: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, + number: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, + options: (f = msg.getOptions()) && proto.google.protobuf.EnumValueOptions.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.google.protobuf.EnumValueDescriptorProto} + */ +proto.google.protobuf.EnumValueDescriptorProto.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.google.protobuf.EnumValueDescriptorProto; + return proto.google.protobuf.EnumValueDescriptorProto.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.google.protobuf.EnumValueDescriptorProto} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.google.protobuf.EnumValueDescriptorProto} + */ +proto.google.protobuf.EnumValueDescriptorProto.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setName(value); + break; + case 2: + var value = /** @type {number} */ (reader.readInt32()); + msg.setNumber(value); + break; + case 3: + var value = new proto.google.protobuf.EnumValueOptions; + reader.readMessage(value,proto.google.protobuf.EnumValueOptions.deserializeBinaryFromReader); + msg.setOptions(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.google.protobuf.EnumValueDescriptorProto.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.google.protobuf.EnumValueDescriptorProto.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.google.protobuf.EnumValueDescriptorProto} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.protobuf.EnumValueDescriptorProto.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = /** @type {string} */ (jspb.Message.getField(message, 1)); + if (f != null) { + writer.writeString( + 1, + f + ); + } + f = /** @type {number} */ (jspb.Message.getField(message, 2)); + if (f != null) { + writer.writeInt32( + 2, + f + ); + } + f = message.getOptions(); + if (f != null) { + writer.writeMessage( + 3, + f, + proto.google.protobuf.EnumValueOptions.serializeBinaryToWriter + ); + } +}; + + +/** + * optional string name = 1; + * @return {string} + */ +proto.google.protobuf.EnumValueDescriptorProto.prototype.getName = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.protobuf.EnumValueDescriptorProto} returns this + */ +proto.google.protobuf.EnumValueDescriptorProto.prototype.setName = function(value) { + return jspb.Message.setField(this, 1, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.protobuf.EnumValueDescriptorProto} returns this + */ +proto.google.protobuf.EnumValueDescriptorProto.prototype.clearName = function() { + return jspb.Message.setField(this, 1, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.protobuf.EnumValueDescriptorProto.prototype.hasName = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional int32 number = 2; + * @return {number} + */ +proto.google.protobuf.EnumValueDescriptorProto.prototype.getNumber = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.google.protobuf.EnumValueDescriptorProto} returns this + */ +proto.google.protobuf.EnumValueDescriptorProto.prototype.setNumber = function(value) { + return jspb.Message.setField(this, 2, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.protobuf.EnumValueDescriptorProto} returns this + */ +proto.google.protobuf.EnumValueDescriptorProto.prototype.clearNumber = function() { + return jspb.Message.setField(this, 2, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.protobuf.EnumValueDescriptorProto.prototype.hasNumber = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional EnumValueOptions options = 3; + * @return {?proto.google.protobuf.EnumValueOptions} + */ +proto.google.protobuf.EnumValueDescriptorProto.prototype.getOptions = function() { + return /** @type{?proto.google.protobuf.EnumValueOptions} */ ( + jspb.Message.getWrapperField(this, proto.google.protobuf.EnumValueOptions, 3)); +}; + + +/** + * @param {?proto.google.protobuf.EnumValueOptions|undefined} value + * @return {!proto.google.protobuf.EnumValueDescriptorProto} returns this +*/ +proto.google.protobuf.EnumValueDescriptorProto.prototype.setOptions = function(value) { + return jspb.Message.setWrapperField(this, 3, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.google.protobuf.EnumValueDescriptorProto} returns this + */ +proto.google.protobuf.EnumValueDescriptorProto.prototype.clearOptions = function() { + return this.setOptions(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.protobuf.EnumValueDescriptorProto.prototype.hasOptions = function() { + return jspb.Message.getField(this, 3) != null; +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.google.protobuf.ServiceDescriptorProto.repeatedFields_ = [2]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.google.protobuf.ServiceDescriptorProto.prototype.toObject = function(opt_includeInstance) { + return proto.google.protobuf.ServiceDescriptorProto.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.google.protobuf.ServiceDescriptorProto} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.protobuf.ServiceDescriptorProto.toObject = function(includeInstance, msg) { + var f, obj = { + name: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, + methodList: jspb.Message.toObjectList(msg.getMethodList(), + proto.google.protobuf.MethodDescriptorProto.toObject, includeInstance), + options: (f = msg.getOptions()) && proto.google.protobuf.ServiceOptions.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.google.protobuf.ServiceDescriptorProto} + */ +proto.google.protobuf.ServiceDescriptorProto.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.google.protobuf.ServiceDescriptorProto; + return proto.google.protobuf.ServiceDescriptorProto.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.google.protobuf.ServiceDescriptorProto} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.google.protobuf.ServiceDescriptorProto} + */ +proto.google.protobuf.ServiceDescriptorProto.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setName(value); + break; + case 2: + var value = new proto.google.protobuf.MethodDescriptorProto; + reader.readMessage(value,proto.google.protobuf.MethodDescriptorProto.deserializeBinaryFromReader); + msg.addMethod(value); + break; + case 3: + var value = new proto.google.protobuf.ServiceOptions; + reader.readMessage(value,proto.google.protobuf.ServiceOptions.deserializeBinaryFromReader); + msg.setOptions(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.google.protobuf.ServiceDescriptorProto.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.google.protobuf.ServiceDescriptorProto.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.google.protobuf.ServiceDescriptorProto} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.protobuf.ServiceDescriptorProto.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = /** @type {string} */ (jspb.Message.getField(message, 1)); + if (f != null) { + writer.writeString( + 1, + f + ); + } + f = message.getMethodList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 2, + f, + proto.google.protobuf.MethodDescriptorProto.serializeBinaryToWriter + ); + } + f = message.getOptions(); + if (f != null) { + writer.writeMessage( + 3, + f, + proto.google.protobuf.ServiceOptions.serializeBinaryToWriter + ); + } +}; + + +/** + * optional string name = 1; + * @return {string} + */ +proto.google.protobuf.ServiceDescriptorProto.prototype.getName = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.protobuf.ServiceDescriptorProto} returns this + */ +proto.google.protobuf.ServiceDescriptorProto.prototype.setName = function(value) { + return jspb.Message.setField(this, 1, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.protobuf.ServiceDescriptorProto} returns this + */ +proto.google.protobuf.ServiceDescriptorProto.prototype.clearName = function() { + return jspb.Message.setField(this, 1, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.protobuf.ServiceDescriptorProto.prototype.hasName = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * repeated MethodDescriptorProto method = 2; + * @return {!Array} + */ +proto.google.protobuf.ServiceDescriptorProto.prototype.getMethodList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.google.protobuf.MethodDescriptorProto, 2)); +}; + + +/** + * @param {!Array} value + * @return {!proto.google.protobuf.ServiceDescriptorProto} returns this +*/ +proto.google.protobuf.ServiceDescriptorProto.prototype.setMethodList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 2, value); +}; + + +/** + * @param {!proto.google.protobuf.MethodDescriptorProto=} opt_value + * @param {number=} opt_index + * @return {!proto.google.protobuf.MethodDescriptorProto} + */ +proto.google.protobuf.ServiceDescriptorProto.prototype.addMethod = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.google.protobuf.MethodDescriptorProto, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.google.protobuf.ServiceDescriptorProto} returns this + */ +proto.google.protobuf.ServiceDescriptorProto.prototype.clearMethodList = function() { + return this.setMethodList([]); +}; + + +/** + * optional ServiceOptions options = 3; + * @return {?proto.google.protobuf.ServiceOptions} + */ +proto.google.protobuf.ServiceDescriptorProto.prototype.getOptions = function() { + return /** @type{?proto.google.protobuf.ServiceOptions} */ ( + jspb.Message.getWrapperField(this, proto.google.protobuf.ServiceOptions, 3)); +}; + + +/** + * @param {?proto.google.protobuf.ServiceOptions|undefined} value + * @return {!proto.google.protobuf.ServiceDescriptorProto} returns this +*/ +proto.google.protobuf.ServiceDescriptorProto.prototype.setOptions = function(value) { + return jspb.Message.setWrapperField(this, 3, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.google.protobuf.ServiceDescriptorProto} returns this + */ +proto.google.protobuf.ServiceDescriptorProto.prototype.clearOptions = function() { + return this.setOptions(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.protobuf.ServiceDescriptorProto.prototype.hasOptions = function() { + return jspb.Message.getField(this, 3) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.google.protobuf.MethodDescriptorProto.prototype.toObject = function(opt_includeInstance) { + return proto.google.protobuf.MethodDescriptorProto.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.google.protobuf.MethodDescriptorProto} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.protobuf.MethodDescriptorProto.toObject = function(includeInstance, msg) { + var f, obj = { + name: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, + inputType: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, + outputType: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, + options: (f = msg.getOptions()) && proto.google.protobuf.MethodOptions.toObject(includeInstance, f), + clientStreaming: jspb.Message.getBooleanFieldWithDefault(msg, 5, false), + serverStreaming: jspb.Message.getBooleanFieldWithDefault(msg, 6, false) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.google.protobuf.MethodDescriptorProto} + */ +proto.google.protobuf.MethodDescriptorProto.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.google.protobuf.MethodDescriptorProto; + return proto.google.protobuf.MethodDescriptorProto.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.google.protobuf.MethodDescriptorProto} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.google.protobuf.MethodDescriptorProto} + */ +proto.google.protobuf.MethodDescriptorProto.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setName(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setInputType(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setOutputType(value); + break; + case 4: + var value = new proto.google.protobuf.MethodOptions; + reader.readMessage(value,proto.google.protobuf.MethodOptions.deserializeBinaryFromReader); + msg.setOptions(value); + break; + case 5: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setClientStreaming(value); + break; + case 6: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setServerStreaming(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.google.protobuf.MethodDescriptorProto.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.google.protobuf.MethodDescriptorProto.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.google.protobuf.MethodDescriptorProto} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.protobuf.MethodDescriptorProto.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = /** @type {string} */ (jspb.Message.getField(message, 1)); + if (f != null) { + writer.writeString( + 1, + f + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 2)); + if (f != null) { + writer.writeString( + 2, + f + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 3)); + if (f != null) { + writer.writeString( + 3, + f + ); + } + f = message.getOptions(); + if (f != null) { + writer.writeMessage( + 4, + f, + proto.google.protobuf.MethodOptions.serializeBinaryToWriter + ); + } + f = /** @type {boolean} */ (jspb.Message.getField(message, 5)); + if (f != null) { + writer.writeBool( + 5, + f + ); + } + f = /** @type {boolean} */ (jspb.Message.getField(message, 6)); + if (f != null) { + writer.writeBool( + 6, + f + ); + } +}; + + +/** + * optional string name = 1; + * @return {string} + */ +proto.google.protobuf.MethodDescriptorProto.prototype.getName = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.protobuf.MethodDescriptorProto} returns this + */ +proto.google.protobuf.MethodDescriptorProto.prototype.setName = function(value) { + return jspb.Message.setField(this, 1, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.protobuf.MethodDescriptorProto} returns this + */ +proto.google.protobuf.MethodDescriptorProto.prototype.clearName = function() { + return jspb.Message.setField(this, 1, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.protobuf.MethodDescriptorProto.prototype.hasName = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional string input_type = 2; + * @return {string} + */ +proto.google.protobuf.MethodDescriptorProto.prototype.getInputType = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.protobuf.MethodDescriptorProto} returns this + */ +proto.google.protobuf.MethodDescriptorProto.prototype.setInputType = function(value) { + return jspb.Message.setField(this, 2, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.protobuf.MethodDescriptorProto} returns this + */ +proto.google.protobuf.MethodDescriptorProto.prototype.clearInputType = function() { + return jspb.Message.setField(this, 2, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.protobuf.MethodDescriptorProto.prototype.hasInputType = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional string output_type = 3; + * @return {string} + */ +proto.google.protobuf.MethodDescriptorProto.prototype.getOutputType = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.protobuf.MethodDescriptorProto} returns this + */ +proto.google.protobuf.MethodDescriptorProto.prototype.setOutputType = function(value) { + return jspb.Message.setField(this, 3, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.protobuf.MethodDescriptorProto} returns this + */ +proto.google.protobuf.MethodDescriptorProto.prototype.clearOutputType = function() { + return jspb.Message.setField(this, 3, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.protobuf.MethodDescriptorProto.prototype.hasOutputType = function() { + return jspb.Message.getField(this, 3) != null; +}; + + +/** + * optional MethodOptions options = 4; + * @return {?proto.google.protobuf.MethodOptions} + */ +proto.google.protobuf.MethodDescriptorProto.prototype.getOptions = function() { + return /** @type{?proto.google.protobuf.MethodOptions} */ ( + jspb.Message.getWrapperField(this, proto.google.protobuf.MethodOptions, 4)); +}; + + +/** + * @param {?proto.google.protobuf.MethodOptions|undefined} value + * @return {!proto.google.protobuf.MethodDescriptorProto} returns this +*/ +proto.google.protobuf.MethodDescriptorProto.prototype.setOptions = function(value) { + return jspb.Message.setWrapperField(this, 4, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.google.protobuf.MethodDescriptorProto} returns this + */ +proto.google.protobuf.MethodDescriptorProto.prototype.clearOptions = function() { + return this.setOptions(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.protobuf.MethodDescriptorProto.prototype.hasOptions = function() { + return jspb.Message.getField(this, 4) != null; +}; + + +/** + * optional bool client_streaming = 5; + * @return {boolean} + */ +proto.google.protobuf.MethodDescriptorProto.prototype.getClientStreaming = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.google.protobuf.MethodDescriptorProto} returns this + */ +proto.google.protobuf.MethodDescriptorProto.prototype.setClientStreaming = function(value) { + return jspb.Message.setField(this, 5, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.protobuf.MethodDescriptorProto} returns this + */ +proto.google.protobuf.MethodDescriptorProto.prototype.clearClientStreaming = function() { + return jspb.Message.setField(this, 5, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.protobuf.MethodDescriptorProto.prototype.hasClientStreaming = function() { + return jspb.Message.getField(this, 5) != null; +}; + + +/** + * optional bool server_streaming = 6; + * @return {boolean} + */ +proto.google.protobuf.MethodDescriptorProto.prototype.getServerStreaming = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 6, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.google.protobuf.MethodDescriptorProto} returns this + */ +proto.google.protobuf.MethodDescriptorProto.prototype.setServerStreaming = function(value) { + return jspb.Message.setField(this, 6, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.protobuf.MethodDescriptorProto} returns this + */ +proto.google.protobuf.MethodDescriptorProto.prototype.clearServerStreaming = function() { + return jspb.Message.setField(this, 6, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.protobuf.MethodDescriptorProto.prototype.hasServerStreaming = function() { + return jspb.Message.getField(this, 6) != null; +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.google.protobuf.FileOptions.repeatedFields_ = [999]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.google.protobuf.FileOptions.prototype.toObject = function(opt_includeInstance) { + return proto.google.protobuf.FileOptions.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.google.protobuf.FileOptions} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.protobuf.FileOptions.toObject = function(includeInstance, msg) { + var f, obj = { + javaPackage: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, + javaOuterClassname: (f = jspb.Message.getField(msg, 8)) == null ? undefined : f, + javaMultipleFiles: jspb.Message.getBooleanFieldWithDefault(msg, 10, false), + javaGenerateEqualsAndHash: (f = jspb.Message.getBooleanField(msg, 20)) == null ? undefined : f, + javaStringCheckUtf8: jspb.Message.getBooleanFieldWithDefault(msg, 27, false), + optimizeFor: jspb.Message.getFieldWithDefault(msg, 9, 1), + goPackage: (f = jspb.Message.getField(msg, 11)) == null ? undefined : f, + ccGenericServices: jspb.Message.getBooleanFieldWithDefault(msg, 16, false), + javaGenericServices: jspb.Message.getBooleanFieldWithDefault(msg, 17, false), + pyGenericServices: jspb.Message.getBooleanFieldWithDefault(msg, 18, false), + deprecated: jspb.Message.getBooleanFieldWithDefault(msg, 23, false), + ccEnableArenas: jspb.Message.getBooleanFieldWithDefault(msg, 31, true), + objcClassPrefix: (f = jspb.Message.getField(msg, 36)) == null ? undefined : f, + csharpNamespace: (f = jspb.Message.getField(msg, 37)) == null ? undefined : f, + swiftPrefix: (f = jspb.Message.getField(msg, 39)) == null ? undefined : f, + phpClassPrefix: (f = jspb.Message.getField(msg, 40)) == null ? undefined : f, + phpNamespace: (f = jspb.Message.getField(msg, 41)) == null ? undefined : f, + phpMetadataNamespace: (f = jspb.Message.getField(msg, 44)) == null ? undefined : f, + rubyPackage: (f = jspb.Message.getField(msg, 45)) == null ? undefined : f, + features: (f = msg.getFeatures()) && proto.google.protobuf.FeatureSet.toObject(includeInstance, f), + uninterpretedOptionList: jspb.Message.toObjectList(msg.getUninterpretedOptionList(), + proto.google.protobuf.UninterpretedOption.toObject, includeInstance) + }; + + jspb.Message.toObjectExtension(/** @type {!jspb.Message} */ (msg), obj, + proto.google.protobuf.FileOptions.extensions, proto.google.protobuf.FileOptions.prototype.getExtension, + includeInstance); + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.google.protobuf.FileOptions} + */ +proto.google.protobuf.FileOptions.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.google.protobuf.FileOptions; + return proto.google.protobuf.FileOptions.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.google.protobuf.FileOptions} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.google.protobuf.FileOptions} + */ +proto.google.protobuf.FileOptions.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setJavaPackage(value); + break; + case 8: + var value = /** @type {string} */ (reader.readString()); + msg.setJavaOuterClassname(value); + break; + case 10: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setJavaMultipleFiles(value); + break; + case 20: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setJavaGenerateEqualsAndHash(value); + break; + case 27: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setJavaStringCheckUtf8(value); + break; + case 9: + var value = /** @type {!proto.google.protobuf.FileOptions.OptimizeMode} */ (reader.readEnum()); + msg.setOptimizeFor(value); + break; + case 11: + var value = /** @type {string} */ (reader.readString()); + msg.setGoPackage(value); + break; + case 16: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setCcGenericServices(value); + break; + case 17: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setJavaGenericServices(value); + break; + case 18: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setPyGenericServices(value); + break; + case 23: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setDeprecated(value); + break; + case 31: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setCcEnableArenas(value); + break; + case 36: + var value = /** @type {string} */ (reader.readString()); + msg.setObjcClassPrefix(value); + break; + case 37: + var value = /** @type {string} */ (reader.readString()); + msg.setCsharpNamespace(value); + break; + case 39: + var value = /** @type {string} */ (reader.readString()); + msg.setSwiftPrefix(value); + break; + case 40: + var value = /** @type {string} */ (reader.readString()); + msg.setPhpClassPrefix(value); + break; + case 41: + var value = /** @type {string} */ (reader.readString()); + msg.setPhpNamespace(value); + break; + case 44: + var value = /** @type {string} */ (reader.readString()); + msg.setPhpMetadataNamespace(value); + break; + case 45: + var value = /** @type {string} */ (reader.readString()); + msg.setRubyPackage(value); + break; + case 50: + var value = new proto.google.protobuf.FeatureSet; + reader.readMessage(value,proto.google.protobuf.FeatureSet.deserializeBinaryFromReader); + msg.setFeatures(value); + break; + case 999: + var value = new proto.google.protobuf.UninterpretedOption; + reader.readMessage(value,proto.google.protobuf.UninterpretedOption.deserializeBinaryFromReader); + msg.addUninterpretedOption(value); + break; + default: + jspb.Message.readBinaryExtension(msg, reader, + proto.google.protobuf.FileOptions.extensionsBinary, + proto.google.protobuf.FileOptions.prototype.getExtension, + proto.google.protobuf.FileOptions.prototype.setExtension); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.google.protobuf.FileOptions.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.google.protobuf.FileOptions.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.google.protobuf.FileOptions} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.protobuf.FileOptions.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = /** @type {string} */ (jspb.Message.getField(message, 1)); + if (f != null) { + writer.writeString( + 1, + f + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 8)); + if (f != null) { + writer.writeString( + 8, + f + ); + } + f = /** @type {boolean} */ (jspb.Message.getField(message, 10)); + if (f != null) { + writer.writeBool( + 10, + f + ); + } + f = /** @type {boolean} */ (jspb.Message.getField(message, 20)); + if (f != null) { + writer.writeBool( + 20, + f + ); + } + f = /** @type {boolean} */ (jspb.Message.getField(message, 27)); + if (f != null) { + writer.writeBool( + 27, + f + ); + } + f = /** @type {!proto.google.protobuf.FileOptions.OptimizeMode} */ (jspb.Message.getField(message, 9)); + if (f != null) { + writer.writeEnum( + 9, + f + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 11)); + if (f != null) { + writer.writeString( + 11, + f + ); + } + f = /** @type {boolean} */ (jspb.Message.getField(message, 16)); + if (f != null) { + writer.writeBool( + 16, + f + ); + } + f = /** @type {boolean} */ (jspb.Message.getField(message, 17)); + if (f != null) { + writer.writeBool( + 17, + f + ); + } + f = /** @type {boolean} */ (jspb.Message.getField(message, 18)); + if (f != null) { + writer.writeBool( + 18, + f + ); + } + f = /** @type {boolean} */ (jspb.Message.getField(message, 23)); + if (f != null) { + writer.writeBool( + 23, + f + ); + } + f = /** @type {boolean} */ (jspb.Message.getField(message, 31)); + if (f != null) { + writer.writeBool( + 31, + f + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 36)); + if (f != null) { + writer.writeString( + 36, + f + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 37)); + if (f != null) { + writer.writeString( + 37, + f + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 39)); + if (f != null) { + writer.writeString( + 39, + f + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 40)); + if (f != null) { + writer.writeString( + 40, + f + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 41)); + if (f != null) { + writer.writeString( + 41, + f + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 44)); + if (f != null) { + writer.writeString( + 44, + f + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 45)); + if (f != null) { + writer.writeString( + 45, + f + ); + } + f = message.getFeatures(); + if (f != null) { + writer.writeMessage( + 50, + f, + proto.google.protobuf.FeatureSet.serializeBinaryToWriter + ); + } + f = message.getUninterpretedOptionList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 999, + f, + proto.google.protobuf.UninterpretedOption.serializeBinaryToWriter + ); + } + jspb.Message.serializeBinaryExtensions(message, writer, + proto.google.protobuf.FileOptions.extensionsBinary, proto.google.protobuf.FileOptions.prototype.getExtension); +}; + + +/** + * @enum {number} + */ +proto.google.protobuf.FileOptions.OptimizeMode = { + SPEED: 1, + CODE_SIZE: 2, + LITE_RUNTIME: 3 +}; + +/** + * optional string java_package = 1; + * @return {string} + */ +proto.google.protobuf.FileOptions.prototype.getJavaPackage = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.protobuf.FileOptions} returns this + */ +proto.google.protobuf.FileOptions.prototype.setJavaPackage = function(value) { + return jspb.Message.setField(this, 1, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.protobuf.FileOptions} returns this + */ +proto.google.protobuf.FileOptions.prototype.clearJavaPackage = function() { + return jspb.Message.setField(this, 1, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.protobuf.FileOptions.prototype.hasJavaPackage = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional string java_outer_classname = 8; + * @return {string} + */ +proto.google.protobuf.FileOptions.prototype.getJavaOuterClassname = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.protobuf.FileOptions} returns this + */ +proto.google.protobuf.FileOptions.prototype.setJavaOuterClassname = function(value) { + return jspb.Message.setField(this, 8, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.protobuf.FileOptions} returns this + */ +proto.google.protobuf.FileOptions.prototype.clearJavaOuterClassname = function() { + return jspb.Message.setField(this, 8, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.protobuf.FileOptions.prototype.hasJavaOuterClassname = function() { + return jspb.Message.getField(this, 8) != null; +}; + + +/** + * optional bool java_multiple_files = 10; + * @return {boolean} + */ +proto.google.protobuf.FileOptions.prototype.getJavaMultipleFiles = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 10, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.google.protobuf.FileOptions} returns this + */ +proto.google.protobuf.FileOptions.prototype.setJavaMultipleFiles = function(value) { + return jspb.Message.setField(this, 10, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.protobuf.FileOptions} returns this + */ +proto.google.protobuf.FileOptions.prototype.clearJavaMultipleFiles = function() { + return jspb.Message.setField(this, 10, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.protobuf.FileOptions.prototype.hasJavaMultipleFiles = function() { + return jspb.Message.getField(this, 10) != null; +}; + + +/** + * optional bool java_generate_equals_and_hash = 20; + * @return {boolean} + */ +proto.google.protobuf.FileOptions.prototype.getJavaGenerateEqualsAndHash = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 20, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.google.protobuf.FileOptions} returns this + */ +proto.google.protobuf.FileOptions.prototype.setJavaGenerateEqualsAndHash = function(value) { + return jspb.Message.setField(this, 20, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.protobuf.FileOptions} returns this + */ +proto.google.protobuf.FileOptions.prototype.clearJavaGenerateEqualsAndHash = function() { + return jspb.Message.setField(this, 20, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.protobuf.FileOptions.prototype.hasJavaGenerateEqualsAndHash = function() { + return jspb.Message.getField(this, 20) != null; +}; + + +/** + * optional bool java_string_check_utf8 = 27; + * @return {boolean} + */ +proto.google.protobuf.FileOptions.prototype.getJavaStringCheckUtf8 = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 27, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.google.protobuf.FileOptions} returns this + */ +proto.google.protobuf.FileOptions.prototype.setJavaStringCheckUtf8 = function(value) { + return jspb.Message.setField(this, 27, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.protobuf.FileOptions} returns this + */ +proto.google.protobuf.FileOptions.prototype.clearJavaStringCheckUtf8 = function() { + return jspb.Message.setField(this, 27, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.protobuf.FileOptions.prototype.hasJavaStringCheckUtf8 = function() { + return jspb.Message.getField(this, 27) != null; +}; + + +/** + * optional OptimizeMode optimize_for = 9; + * @return {!proto.google.protobuf.FileOptions.OptimizeMode} + */ +proto.google.protobuf.FileOptions.prototype.getOptimizeFor = function() { + return /** @type {!proto.google.protobuf.FileOptions.OptimizeMode} */ (jspb.Message.getFieldWithDefault(this, 9, 1)); +}; + + +/** + * @param {!proto.google.protobuf.FileOptions.OptimizeMode} value + * @return {!proto.google.protobuf.FileOptions} returns this + */ +proto.google.protobuf.FileOptions.prototype.setOptimizeFor = function(value) { + return jspb.Message.setField(this, 9, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.protobuf.FileOptions} returns this + */ +proto.google.protobuf.FileOptions.prototype.clearOptimizeFor = function() { + return jspb.Message.setField(this, 9, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.protobuf.FileOptions.prototype.hasOptimizeFor = function() { + return jspb.Message.getField(this, 9) != null; +}; + + +/** + * optional string go_package = 11; + * @return {string} + */ +proto.google.protobuf.FileOptions.prototype.getGoPackage = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.protobuf.FileOptions} returns this + */ +proto.google.protobuf.FileOptions.prototype.setGoPackage = function(value) { + return jspb.Message.setField(this, 11, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.protobuf.FileOptions} returns this + */ +proto.google.protobuf.FileOptions.prototype.clearGoPackage = function() { + return jspb.Message.setField(this, 11, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.protobuf.FileOptions.prototype.hasGoPackage = function() { + return jspb.Message.getField(this, 11) != null; +}; + + +/** + * optional bool cc_generic_services = 16; + * @return {boolean} + */ +proto.google.protobuf.FileOptions.prototype.getCcGenericServices = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 16, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.google.protobuf.FileOptions} returns this + */ +proto.google.protobuf.FileOptions.prototype.setCcGenericServices = function(value) { + return jspb.Message.setField(this, 16, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.protobuf.FileOptions} returns this + */ +proto.google.protobuf.FileOptions.prototype.clearCcGenericServices = function() { + return jspb.Message.setField(this, 16, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.protobuf.FileOptions.prototype.hasCcGenericServices = function() { + return jspb.Message.getField(this, 16) != null; +}; + + +/** + * optional bool java_generic_services = 17; + * @return {boolean} + */ +proto.google.protobuf.FileOptions.prototype.getJavaGenericServices = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 17, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.google.protobuf.FileOptions} returns this + */ +proto.google.protobuf.FileOptions.prototype.setJavaGenericServices = function(value) { + return jspb.Message.setField(this, 17, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.protobuf.FileOptions} returns this + */ +proto.google.protobuf.FileOptions.prototype.clearJavaGenericServices = function() { + return jspb.Message.setField(this, 17, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.protobuf.FileOptions.prototype.hasJavaGenericServices = function() { + return jspb.Message.getField(this, 17) != null; +}; + + +/** + * optional bool py_generic_services = 18; + * @return {boolean} + */ +proto.google.protobuf.FileOptions.prototype.getPyGenericServices = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 18, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.google.protobuf.FileOptions} returns this + */ +proto.google.protobuf.FileOptions.prototype.setPyGenericServices = function(value) { + return jspb.Message.setField(this, 18, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.protobuf.FileOptions} returns this + */ +proto.google.protobuf.FileOptions.prototype.clearPyGenericServices = function() { + return jspb.Message.setField(this, 18, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.protobuf.FileOptions.prototype.hasPyGenericServices = function() { + return jspb.Message.getField(this, 18) != null; +}; + + +/** + * optional bool deprecated = 23; + * @return {boolean} + */ +proto.google.protobuf.FileOptions.prototype.getDeprecated = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 23, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.google.protobuf.FileOptions} returns this + */ +proto.google.protobuf.FileOptions.prototype.setDeprecated = function(value) { + return jspb.Message.setField(this, 23, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.protobuf.FileOptions} returns this + */ +proto.google.protobuf.FileOptions.prototype.clearDeprecated = function() { + return jspb.Message.setField(this, 23, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.protobuf.FileOptions.prototype.hasDeprecated = function() { + return jspb.Message.getField(this, 23) != null; +}; + + +/** + * optional bool cc_enable_arenas = 31; + * @return {boolean} + */ +proto.google.protobuf.FileOptions.prototype.getCcEnableArenas = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 31, true)); +}; + + +/** + * @param {boolean} value + * @return {!proto.google.protobuf.FileOptions} returns this + */ +proto.google.protobuf.FileOptions.prototype.setCcEnableArenas = function(value) { + return jspb.Message.setField(this, 31, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.protobuf.FileOptions} returns this + */ +proto.google.protobuf.FileOptions.prototype.clearCcEnableArenas = function() { + return jspb.Message.setField(this, 31, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.protobuf.FileOptions.prototype.hasCcEnableArenas = function() { + return jspb.Message.getField(this, 31) != null; +}; + + +/** + * optional string objc_class_prefix = 36; + * @return {string} + */ +proto.google.protobuf.FileOptions.prototype.getObjcClassPrefix = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 36, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.protobuf.FileOptions} returns this + */ +proto.google.protobuf.FileOptions.prototype.setObjcClassPrefix = function(value) { + return jspb.Message.setField(this, 36, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.protobuf.FileOptions} returns this + */ +proto.google.protobuf.FileOptions.prototype.clearObjcClassPrefix = function() { + return jspb.Message.setField(this, 36, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.protobuf.FileOptions.prototype.hasObjcClassPrefix = function() { + return jspb.Message.getField(this, 36) != null; +}; + + +/** + * optional string csharp_namespace = 37; + * @return {string} + */ +proto.google.protobuf.FileOptions.prototype.getCsharpNamespace = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 37, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.protobuf.FileOptions} returns this + */ +proto.google.protobuf.FileOptions.prototype.setCsharpNamespace = function(value) { + return jspb.Message.setField(this, 37, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.protobuf.FileOptions} returns this + */ +proto.google.protobuf.FileOptions.prototype.clearCsharpNamespace = function() { + return jspb.Message.setField(this, 37, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.protobuf.FileOptions.prototype.hasCsharpNamespace = function() { + return jspb.Message.getField(this, 37) != null; +}; + + +/** + * optional string swift_prefix = 39; + * @return {string} + */ +proto.google.protobuf.FileOptions.prototype.getSwiftPrefix = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 39, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.protobuf.FileOptions} returns this + */ +proto.google.protobuf.FileOptions.prototype.setSwiftPrefix = function(value) { + return jspb.Message.setField(this, 39, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.protobuf.FileOptions} returns this + */ +proto.google.protobuf.FileOptions.prototype.clearSwiftPrefix = function() { + return jspb.Message.setField(this, 39, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.protobuf.FileOptions.prototype.hasSwiftPrefix = function() { + return jspb.Message.getField(this, 39) != null; +}; + + +/** + * optional string php_class_prefix = 40; + * @return {string} + */ +proto.google.protobuf.FileOptions.prototype.getPhpClassPrefix = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 40, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.protobuf.FileOptions} returns this + */ +proto.google.protobuf.FileOptions.prototype.setPhpClassPrefix = function(value) { + return jspb.Message.setField(this, 40, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.protobuf.FileOptions} returns this + */ +proto.google.protobuf.FileOptions.prototype.clearPhpClassPrefix = function() { + return jspb.Message.setField(this, 40, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.protobuf.FileOptions.prototype.hasPhpClassPrefix = function() { + return jspb.Message.getField(this, 40) != null; +}; + + +/** + * optional string php_namespace = 41; + * @return {string} + */ +proto.google.protobuf.FileOptions.prototype.getPhpNamespace = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 41, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.protobuf.FileOptions} returns this + */ +proto.google.protobuf.FileOptions.prototype.setPhpNamespace = function(value) { + return jspb.Message.setField(this, 41, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.protobuf.FileOptions} returns this + */ +proto.google.protobuf.FileOptions.prototype.clearPhpNamespace = function() { + return jspb.Message.setField(this, 41, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.protobuf.FileOptions.prototype.hasPhpNamespace = function() { + return jspb.Message.getField(this, 41) != null; +}; + + +/** + * optional string php_metadata_namespace = 44; + * @return {string} + */ +proto.google.protobuf.FileOptions.prototype.getPhpMetadataNamespace = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 44, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.protobuf.FileOptions} returns this + */ +proto.google.protobuf.FileOptions.prototype.setPhpMetadataNamespace = function(value) { + return jspb.Message.setField(this, 44, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.protobuf.FileOptions} returns this + */ +proto.google.protobuf.FileOptions.prototype.clearPhpMetadataNamespace = function() { + return jspb.Message.setField(this, 44, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.protobuf.FileOptions.prototype.hasPhpMetadataNamespace = function() { + return jspb.Message.getField(this, 44) != null; +}; + + +/** + * optional string ruby_package = 45; + * @return {string} + */ +proto.google.protobuf.FileOptions.prototype.getRubyPackage = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 45, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.protobuf.FileOptions} returns this + */ +proto.google.protobuf.FileOptions.prototype.setRubyPackage = function(value) { + return jspb.Message.setField(this, 45, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.protobuf.FileOptions} returns this + */ +proto.google.protobuf.FileOptions.prototype.clearRubyPackage = function() { + return jspb.Message.setField(this, 45, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.protobuf.FileOptions.prototype.hasRubyPackage = function() { + return jspb.Message.getField(this, 45) != null; +}; + + +/** + * optional FeatureSet features = 50; + * @return {?proto.google.protobuf.FeatureSet} + */ +proto.google.protobuf.FileOptions.prototype.getFeatures = function() { + return /** @type{?proto.google.protobuf.FeatureSet} */ ( + jspb.Message.getWrapperField(this, proto.google.protobuf.FeatureSet, 50)); +}; + + +/** + * @param {?proto.google.protobuf.FeatureSet|undefined} value + * @return {!proto.google.protobuf.FileOptions} returns this +*/ +proto.google.protobuf.FileOptions.prototype.setFeatures = function(value) { + return jspb.Message.setWrapperField(this, 50, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.google.protobuf.FileOptions} returns this + */ +proto.google.protobuf.FileOptions.prototype.clearFeatures = function() { + return this.setFeatures(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.protobuf.FileOptions.prototype.hasFeatures = function() { + return jspb.Message.getField(this, 50) != null; +}; + + +/** + * repeated UninterpretedOption uninterpreted_option = 999; + * @return {!Array} + */ +proto.google.protobuf.FileOptions.prototype.getUninterpretedOptionList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.google.protobuf.UninterpretedOption, 999)); +}; + + +/** + * @param {!Array} value + * @return {!proto.google.protobuf.FileOptions} returns this +*/ +proto.google.protobuf.FileOptions.prototype.setUninterpretedOptionList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 999, value); +}; + + +/** + * @param {!proto.google.protobuf.UninterpretedOption=} opt_value + * @param {number=} opt_index + * @return {!proto.google.protobuf.UninterpretedOption} + */ +proto.google.protobuf.FileOptions.prototype.addUninterpretedOption = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 999, opt_value, proto.google.protobuf.UninterpretedOption, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.google.protobuf.FileOptions} returns this + */ +proto.google.protobuf.FileOptions.prototype.clearUninterpretedOptionList = function() { + return this.setUninterpretedOptionList([]); +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.google.protobuf.MessageOptions.repeatedFields_ = [999]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.google.protobuf.MessageOptions.prototype.toObject = function(opt_includeInstance) { + return proto.google.protobuf.MessageOptions.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.google.protobuf.MessageOptions} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.protobuf.MessageOptions.toObject = function(includeInstance, msg) { + var f, obj = { + messageSetWireFormat: jspb.Message.getBooleanFieldWithDefault(msg, 1, false), + noStandardDescriptorAccessor: jspb.Message.getBooleanFieldWithDefault(msg, 2, false), + deprecated: jspb.Message.getBooleanFieldWithDefault(msg, 3, false), + mapEntry: (f = jspb.Message.getBooleanField(msg, 7)) == null ? undefined : f, + deprecatedLegacyJsonFieldConflicts: (f = jspb.Message.getBooleanField(msg, 11)) == null ? undefined : f, + features: (f = msg.getFeatures()) && proto.google.protobuf.FeatureSet.toObject(includeInstance, f), + uninterpretedOptionList: jspb.Message.toObjectList(msg.getUninterpretedOptionList(), + proto.google.protobuf.UninterpretedOption.toObject, includeInstance) + }; + + jspb.Message.toObjectExtension(/** @type {!jspb.Message} */ (msg), obj, + proto.google.protobuf.MessageOptions.extensions, proto.google.protobuf.MessageOptions.prototype.getExtension, + includeInstance); + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.google.protobuf.MessageOptions} + */ +proto.google.protobuf.MessageOptions.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.google.protobuf.MessageOptions; + return proto.google.protobuf.MessageOptions.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.google.protobuf.MessageOptions} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.google.protobuf.MessageOptions} + */ +proto.google.protobuf.MessageOptions.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setMessageSetWireFormat(value); + break; + case 2: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setNoStandardDescriptorAccessor(value); + break; + case 3: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setDeprecated(value); + break; + case 7: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setMapEntry(value); + break; + case 11: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setDeprecatedLegacyJsonFieldConflicts(value); + break; + case 12: + var value = new proto.google.protobuf.FeatureSet; + reader.readMessage(value,proto.google.protobuf.FeatureSet.deserializeBinaryFromReader); + msg.setFeatures(value); + break; + case 999: + var value = new proto.google.protobuf.UninterpretedOption; + reader.readMessage(value,proto.google.protobuf.UninterpretedOption.deserializeBinaryFromReader); + msg.addUninterpretedOption(value); + break; + default: + jspb.Message.readBinaryExtension(msg, reader, + proto.google.protobuf.MessageOptions.extensionsBinary, + proto.google.protobuf.MessageOptions.prototype.getExtension, + proto.google.protobuf.MessageOptions.prototype.setExtension); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.google.protobuf.MessageOptions.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.google.protobuf.MessageOptions.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.google.protobuf.MessageOptions} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.protobuf.MessageOptions.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = /** @type {boolean} */ (jspb.Message.getField(message, 1)); + if (f != null) { + writer.writeBool( + 1, + f + ); + } + f = /** @type {boolean} */ (jspb.Message.getField(message, 2)); + if (f != null) { + writer.writeBool( + 2, + f + ); + } + f = /** @type {boolean} */ (jspb.Message.getField(message, 3)); + if (f != null) { + writer.writeBool( + 3, + f + ); + } + f = /** @type {boolean} */ (jspb.Message.getField(message, 7)); + if (f != null) { + writer.writeBool( + 7, + f + ); + } + f = /** @type {boolean} */ (jspb.Message.getField(message, 11)); + if (f != null) { + writer.writeBool( + 11, + f + ); + } + f = message.getFeatures(); + if (f != null) { + writer.writeMessage( + 12, + f, + proto.google.protobuf.FeatureSet.serializeBinaryToWriter + ); + } + f = message.getUninterpretedOptionList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 999, + f, + proto.google.protobuf.UninterpretedOption.serializeBinaryToWriter + ); + } + jspb.Message.serializeBinaryExtensions(message, writer, + proto.google.protobuf.MessageOptions.extensionsBinary, proto.google.protobuf.MessageOptions.prototype.getExtension); +}; + + +/** + * optional bool message_set_wire_format = 1; + * @return {boolean} + */ +proto.google.protobuf.MessageOptions.prototype.getMessageSetWireFormat = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.google.protobuf.MessageOptions} returns this + */ +proto.google.protobuf.MessageOptions.prototype.setMessageSetWireFormat = function(value) { + return jspb.Message.setField(this, 1, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.protobuf.MessageOptions} returns this + */ +proto.google.protobuf.MessageOptions.prototype.clearMessageSetWireFormat = function() { + return jspb.Message.setField(this, 1, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.protobuf.MessageOptions.prototype.hasMessageSetWireFormat = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional bool no_standard_descriptor_accessor = 2; + * @return {boolean} + */ +proto.google.protobuf.MessageOptions.prototype.getNoStandardDescriptorAccessor = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.google.protobuf.MessageOptions} returns this + */ +proto.google.protobuf.MessageOptions.prototype.setNoStandardDescriptorAccessor = function(value) { + return jspb.Message.setField(this, 2, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.protobuf.MessageOptions} returns this + */ +proto.google.protobuf.MessageOptions.prototype.clearNoStandardDescriptorAccessor = function() { + return jspb.Message.setField(this, 2, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.protobuf.MessageOptions.prototype.hasNoStandardDescriptorAccessor = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional bool deprecated = 3; + * @return {boolean} + */ +proto.google.protobuf.MessageOptions.prototype.getDeprecated = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.google.protobuf.MessageOptions} returns this + */ +proto.google.protobuf.MessageOptions.prototype.setDeprecated = function(value) { + return jspb.Message.setField(this, 3, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.protobuf.MessageOptions} returns this + */ +proto.google.protobuf.MessageOptions.prototype.clearDeprecated = function() { + return jspb.Message.setField(this, 3, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.protobuf.MessageOptions.prototype.hasDeprecated = function() { + return jspb.Message.getField(this, 3) != null; +}; + + +/** + * optional bool map_entry = 7; + * @return {boolean} + */ +proto.google.protobuf.MessageOptions.prototype.getMapEntry = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 7, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.google.protobuf.MessageOptions} returns this + */ +proto.google.protobuf.MessageOptions.prototype.setMapEntry = function(value) { + return jspb.Message.setField(this, 7, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.protobuf.MessageOptions} returns this + */ +proto.google.protobuf.MessageOptions.prototype.clearMapEntry = function() { + return jspb.Message.setField(this, 7, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.protobuf.MessageOptions.prototype.hasMapEntry = function() { + return jspb.Message.getField(this, 7) != null; +}; + + +/** + * optional bool deprecated_legacy_json_field_conflicts = 11; + * @return {boolean} + */ +proto.google.protobuf.MessageOptions.prototype.getDeprecatedLegacyJsonFieldConflicts = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 11, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.google.protobuf.MessageOptions} returns this + */ +proto.google.protobuf.MessageOptions.prototype.setDeprecatedLegacyJsonFieldConflicts = function(value) { + return jspb.Message.setField(this, 11, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.protobuf.MessageOptions} returns this + */ +proto.google.protobuf.MessageOptions.prototype.clearDeprecatedLegacyJsonFieldConflicts = function() { + return jspb.Message.setField(this, 11, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.protobuf.MessageOptions.prototype.hasDeprecatedLegacyJsonFieldConflicts = function() { + return jspb.Message.getField(this, 11) != null; +}; + + +/** + * optional FeatureSet features = 12; + * @return {?proto.google.protobuf.FeatureSet} + */ +proto.google.protobuf.MessageOptions.prototype.getFeatures = function() { + return /** @type{?proto.google.protobuf.FeatureSet} */ ( + jspb.Message.getWrapperField(this, proto.google.protobuf.FeatureSet, 12)); +}; + + +/** + * @param {?proto.google.protobuf.FeatureSet|undefined} value + * @return {!proto.google.protobuf.MessageOptions} returns this +*/ +proto.google.protobuf.MessageOptions.prototype.setFeatures = function(value) { + return jspb.Message.setWrapperField(this, 12, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.google.protobuf.MessageOptions} returns this + */ +proto.google.protobuf.MessageOptions.prototype.clearFeatures = function() { + return this.setFeatures(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.protobuf.MessageOptions.prototype.hasFeatures = function() { + return jspb.Message.getField(this, 12) != null; +}; + + +/** + * repeated UninterpretedOption uninterpreted_option = 999; + * @return {!Array} + */ +proto.google.protobuf.MessageOptions.prototype.getUninterpretedOptionList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.google.protobuf.UninterpretedOption, 999)); +}; + + +/** + * @param {!Array} value + * @return {!proto.google.protobuf.MessageOptions} returns this +*/ +proto.google.protobuf.MessageOptions.prototype.setUninterpretedOptionList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 999, value); +}; + + +/** + * @param {!proto.google.protobuf.UninterpretedOption=} opt_value + * @param {number=} opt_index + * @return {!proto.google.protobuf.UninterpretedOption} + */ +proto.google.protobuf.MessageOptions.prototype.addUninterpretedOption = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 999, opt_value, proto.google.protobuf.UninterpretedOption, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.google.protobuf.MessageOptions} returns this + */ +proto.google.protobuf.MessageOptions.prototype.clearUninterpretedOptionList = function() { + return this.setUninterpretedOptionList([]); +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.google.protobuf.FieldOptions.repeatedFields_ = [19,20,999]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.google.protobuf.FieldOptions.prototype.toObject = function(opt_includeInstance) { + return proto.google.protobuf.FieldOptions.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.google.protobuf.FieldOptions} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.protobuf.FieldOptions.toObject = function(includeInstance, msg) { + var f, obj = { + ctype: jspb.Message.getFieldWithDefault(msg, 1, 0), + packed: (f = jspb.Message.getBooleanField(msg, 2)) == null ? undefined : f, + jstype: jspb.Message.getFieldWithDefault(msg, 6, 0), + lazy: jspb.Message.getBooleanFieldWithDefault(msg, 5, false), + unverifiedLazy: jspb.Message.getBooleanFieldWithDefault(msg, 15, false), + deprecated: jspb.Message.getBooleanFieldWithDefault(msg, 3, false), + weak: jspb.Message.getBooleanFieldWithDefault(msg, 10, false), + debugRedact: jspb.Message.getBooleanFieldWithDefault(msg, 16, false), + retention: (f = jspb.Message.getField(msg, 17)) == null ? undefined : f, + targetsList: (f = jspb.Message.getRepeatedField(msg, 19)) == null ? undefined : f, + editionDefaultsList: jspb.Message.toObjectList(msg.getEditionDefaultsList(), + proto.google.protobuf.FieldOptions.EditionDefault.toObject, includeInstance), + features: (f = msg.getFeatures()) && proto.google.protobuf.FeatureSet.toObject(includeInstance, f), + featureSupport: (f = msg.getFeatureSupport()) && proto.google.protobuf.FieldOptions.FeatureSupport.toObject(includeInstance, f), + uninterpretedOptionList: jspb.Message.toObjectList(msg.getUninterpretedOptionList(), + proto.google.protobuf.UninterpretedOption.toObject, includeInstance) + }; + + jspb.Message.toObjectExtension(/** @type {!jspb.Message} */ (msg), obj, + proto.google.protobuf.FieldOptions.extensions, proto.google.protobuf.FieldOptions.prototype.getExtension, + includeInstance); + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.google.protobuf.FieldOptions} + */ +proto.google.protobuf.FieldOptions.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.google.protobuf.FieldOptions; + return proto.google.protobuf.FieldOptions.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.google.protobuf.FieldOptions} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.google.protobuf.FieldOptions} + */ +proto.google.protobuf.FieldOptions.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {!proto.google.protobuf.FieldOptions.CType} */ (reader.readEnum()); + msg.setCtype(value); + break; + case 2: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setPacked(value); + break; + case 6: + var value = /** @type {!proto.google.protobuf.FieldOptions.JSType} */ (reader.readEnum()); + msg.setJstype(value); + break; + case 5: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setLazy(value); + break; + case 15: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setUnverifiedLazy(value); + break; + case 3: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setDeprecated(value); + break; + case 10: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setWeak(value); + break; + case 16: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setDebugRedact(value); + break; + case 17: + var value = /** @type {!proto.google.protobuf.FieldOptions.OptionRetention} */ (reader.readEnum()); + msg.setRetention(value); + break; + case 19: + var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedEnum() : [reader.readEnum()]); + for (var i = 0; i < values.length; i++) { + msg.addTargets(values[i]); + } + break; + case 20: + var value = new proto.google.protobuf.FieldOptions.EditionDefault; + reader.readMessage(value,proto.google.protobuf.FieldOptions.EditionDefault.deserializeBinaryFromReader); + msg.addEditionDefaults(value); + break; + case 21: + var value = new proto.google.protobuf.FeatureSet; + reader.readMessage(value,proto.google.protobuf.FeatureSet.deserializeBinaryFromReader); + msg.setFeatures(value); + break; + case 22: + var value = new proto.google.protobuf.FieldOptions.FeatureSupport; + reader.readMessage(value,proto.google.protobuf.FieldOptions.FeatureSupport.deserializeBinaryFromReader); + msg.setFeatureSupport(value); + break; + case 999: + var value = new proto.google.protobuf.UninterpretedOption; + reader.readMessage(value,proto.google.protobuf.UninterpretedOption.deserializeBinaryFromReader); + msg.addUninterpretedOption(value); + break; + default: + jspb.Message.readBinaryExtension(msg, reader, + proto.google.protobuf.FieldOptions.extensionsBinary, + proto.google.protobuf.FieldOptions.prototype.getExtension, + proto.google.protobuf.FieldOptions.prototype.setExtension); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.google.protobuf.FieldOptions.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.google.protobuf.FieldOptions.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.google.protobuf.FieldOptions} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.protobuf.FieldOptions.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = /** @type {!proto.google.protobuf.FieldOptions.CType} */ (jspb.Message.getField(message, 1)); + if (f != null) { + writer.writeEnum( + 1, + f + ); + } + f = /** @type {boolean} */ (jspb.Message.getField(message, 2)); + if (f != null) { + writer.writeBool( + 2, + f + ); + } + f = /** @type {!proto.google.protobuf.FieldOptions.JSType} */ (jspb.Message.getField(message, 6)); + if (f != null) { + writer.writeEnum( + 6, + f + ); + } + f = /** @type {boolean} */ (jspb.Message.getField(message, 5)); + if (f != null) { + writer.writeBool( + 5, + f + ); + } + f = /** @type {boolean} */ (jspb.Message.getField(message, 15)); + if (f != null) { + writer.writeBool( + 15, + f + ); + } + f = /** @type {boolean} */ (jspb.Message.getField(message, 3)); + if (f != null) { + writer.writeBool( + 3, + f + ); + } + f = /** @type {boolean} */ (jspb.Message.getField(message, 10)); + if (f != null) { + writer.writeBool( + 10, + f + ); + } + f = /** @type {boolean} */ (jspb.Message.getField(message, 16)); + if (f != null) { + writer.writeBool( + 16, + f + ); + } + f = /** @type {!proto.google.protobuf.FieldOptions.OptionRetention} */ (jspb.Message.getField(message, 17)); + if (f != null) { + writer.writeEnum( + 17, + f + ); + } + f = message.getTargetsList(); + if (f.length > 0) { + writer.writeRepeatedEnum( + 19, + f + ); + } + f = message.getEditionDefaultsList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 20, + f, + proto.google.protobuf.FieldOptions.EditionDefault.serializeBinaryToWriter + ); + } + f = message.getFeatures(); + if (f != null) { + writer.writeMessage( + 21, + f, + proto.google.protobuf.FeatureSet.serializeBinaryToWriter + ); + } + f = message.getFeatureSupport(); + if (f != null) { + writer.writeMessage( + 22, + f, + proto.google.protobuf.FieldOptions.FeatureSupport.serializeBinaryToWriter + ); + } + f = message.getUninterpretedOptionList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 999, + f, + proto.google.protobuf.UninterpretedOption.serializeBinaryToWriter + ); + } + jspb.Message.serializeBinaryExtensions(message, writer, + proto.google.protobuf.FieldOptions.extensionsBinary, proto.google.protobuf.FieldOptions.prototype.getExtension); +}; + + +/** + * @enum {number} + */ +proto.google.protobuf.FieldOptions.CType = { + STRING: 0, + CORD: 1, + STRING_PIECE: 2 +}; + +/** + * @enum {number} + */ +proto.google.protobuf.FieldOptions.JSType = { + JS_NORMAL: 0, + JS_STRING: 1, + JS_NUMBER: 2 +}; + +/** + * @enum {number} + */ +proto.google.protobuf.FieldOptions.OptionRetention = { + RETENTION_UNKNOWN: 0, + RETENTION_RUNTIME: 1, + RETENTION_SOURCE: 2 +}; + +/** + * @enum {number} + */ +proto.google.protobuf.FieldOptions.OptionTargetType = { + TARGET_TYPE_UNKNOWN: 0, + TARGET_TYPE_FILE: 1, + TARGET_TYPE_EXTENSION_RANGE: 2, + TARGET_TYPE_MESSAGE: 3, + TARGET_TYPE_FIELD: 4, + TARGET_TYPE_ONEOF: 5, + TARGET_TYPE_ENUM: 6, + TARGET_TYPE_ENUM_ENTRY: 7, + TARGET_TYPE_SERVICE: 8, + TARGET_TYPE_METHOD: 9 +}; + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.google.protobuf.FieldOptions.EditionDefault.prototype.toObject = function(opt_includeInstance) { + return proto.google.protobuf.FieldOptions.EditionDefault.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.google.protobuf.FieldOptions.EditionDefault} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.protobuf.FieldOptions.EditionDefault.toObject = function(includeInstance, msg) { + var f, obj = { + edition: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, + value: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.google.protobuf.FieldOptions.EditionDefault} + */ +proto.google.protobuf.FieldOptions.EditionDefault.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.google.protobuf.FieldOptions.EditionDefault; + return proto.google.protobuf.FieldOptions.EditionDefault.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.google.protobuf.FieldOptions.EditionDefault} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.google.protobuf.FieldOptions.EditionDefault} + */ +proto.google.protobuf.FieldOptions.EditionDefault.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 3: + var value = /** @type {!proto.google.protobuf.Edition} */ (reader.readEnum()); + msg.setEdition(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setValue(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.google.protobuf.FieldOptions.EditionDefault.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.google.protobuf.FieldOptions.EditionDefault.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.google.protobuf.FieldOptions.EditionDefault} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.protobuf.FieldOptions.EditionDefault.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = /** @type {!proto.google.protobuf.Edition} */ (jspb.Message.getField(message, 3)); + if (f != null) { + writer.writeEnum( + 3, + f + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 2)); + if (f != null) { + writer.writeString( + 2, + f + ); + } +}; + + +/** + * optional Edition edition = 3; + * @return {!proto.google.protobuf.Edition} + */ +proto.google.protobuf.FieldOptions.EditionDefault.prototype.getEdition = function() { + return /** @type {!proto.google.protobuf.Edition} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); +}; + + +/** + * @param {!proto.google.protobuf.Edition} value + * @return {!proto.google.protobuf.FieldOptions.EditionDefault} returns this + */ +proto.google.protobuf.FieldOptions.EditionDefault.prototype.setEdition = function(value) { + return jspb.Message.setField(this, 3, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.protobuf.FieldOptions.EditionDefault} returns this + */ +proto.google.protobuf.FieldOptions.EditionDefault.prototype.clearEdition = function() { + return jspb.Message.setField(this, 3, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.protobuf.FieldOptions.EditionDefault.prototype.hasEdition = function() { + return jspb.Message.getField(this, 3) != null; +}; + + +/** + * optional string value = 2; + * @return {string} + */ +proto.google.protobuf.FieldOptions.EditionDefault.prototype.getValue = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.protobuf.FieldOptions.EditionDefault} returns this + */ +proto.google.protobuf.FieldOptions.EditionDefault.prototype.setValue = function(value) { + return jspb.Message.setField(this, 2, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.protobuf.FieldOptions.EditionDefault} returns this + */ +proto.google.protobuf.FieldOptions.EditionDefault.prototype.clearValue = function() { + return jspb.Message.setField(this, 2, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.protobuf.FieldOptions.EditionDefault.prototype.hasValue = function() { + return jspb.Message.getField(this, 2) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.google.protobuf.FieldOptions.FeatureSupport.prototype.toObject = function(opt_includeInstance) { + return proto.google.protobuf.FieldOptions.FeatureSupport.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.google.protobuf.FieldOptions.FeatureSupport} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.protobuf.FieldOptions.FeatureSupport.toObject = function(includeInstance, msg) { + var f, obj = { + editionIntroduced: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, + editionDeprecated: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, + deprecationWarning: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, + editionRemoved: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.google.protobuf.FieldOptions.FeatureSupport} + */ +proto.google.protobuf.FieldOptions.FeatureSupport.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.google.protobuf.FieldOptions.FeatureSupport; + return proto.google.protobuf.FieldOptions.FeatureSupport.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.google.protobuf.FieldOptions.FeatureSupport} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.google.protobuf.FieldOptions.FeatureSupport} + */ +proto.google.protobuf.FieldOptions.FeatureSupport.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {!proto.google.protobuf.Edition} */ (reader.readEnum()); + msg.setEditionIntroduced(value); + break; + case 2: + var value = /** @type {!proto.google.protobuf.Edition} */ (reader.readEnum()); + msg.setEditionDeprecated(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setDeprecationWarning(value); + break; + case 4: + var value = /** @type {!proto.google.protobuf.Edition} */ (reader.readEnum()); + msg.setEditionRemoved(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.google.protobuf.FieldOptions.FeatureSupport.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.google.protobuf.FieldOptions.FeatureSupport.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.google.protobuf.FieldOptions.FeatureSupport} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.protobuf.FieldOptions.FeatureSupport.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = /** @type {!proto.google.protobuf.Edition} */ (jspb.Message.getField(message, 1)); + if (f != null) { + writer.writeEnum( + 1, + f + ); + } + f = /** @type {!proto.google.protobuf.Edition} */ (jspb.Message.getField(message, 2)); + if (f != null) { + writer.writeEnum( + 2, + f + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 3)); + if (f != null) { + writer.writeString( + 3, + f + ); + } + f = /** @type {!proto.google.protobuf.Edition} */ (jspb.Message.getField(message, 4)); + if (f != null) { + writer.writeEnum( + 4, + f + ); + } +}; + + +/** + * optional Edition edition_introduced = 1; + * @return {!proto.google.protobuf.Edition} + */ +proto.google.protobuf.FieldOptions.FeatureSupport.prototype.getEditionIntroduced = function() { + return /** @type {!proto.google.protobuf.Edition} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); +}; + + +/** + * @param {!proto.google.protobuf.Edition} value + * @return {!proto.google.protobuf.FieldOptions.FeatureSupport} returns this + */ +proto.google.protobuf.FieldOptions.FeatureSupport.prototype.setEditionIntroduced = function(value) { + return jspb.Message.setField(this, 1, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.protobuf.FieldOptions.FeatureSupport} returns this + */ +proto.google.protobuf.FieldOptions.FeatureSupport.prototype.clearEditionIntroduced = function() { + return jspb.Message.setField(this, 1, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.protobuf.FieldOptions.FeatureSupport.prototype.hasEditionIntroduced = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional Edition edition_deprecated = 2; + * @return {!proto.google.protobuf.Edition} + */ +proto.google.protobuf.FieldOptions.FeatureSupport.prototype.getEditionDeprecated = function() { + return /** @type {!proto.google.protobuf.Edition} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); +}; + + +/** + * @param {!proto.google.protobuf.Edition} value + * @return {!proto.google.protobuf.FieldOptions.FeatureSupport} returns this + */ +proto.google.protobuf.FieldOptions.FeatureSupport.prototype.setEditionDeprecated = function(value) { + return jspb.Message.setField(this, 2, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.protobuf.FieldOptions.FeatureSupport} returns this + */ +proto.google.protobuf.FieldOptions.FeatureSupport.prototype.clearEditionDeprecated = function() { + return jspb.Message.setField(this, 2, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.protobuf.FieldOptions.FeatureSupport.prototype.hasEditionDeprecated = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional string deprecation_warning = 3; + * @return {string} + */ +proto.google.protobuf.FieldOptions.FeatureSupport.prototype.getDeprecationWarning = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.protobuf.FieldOptions.FeatureSupport} returns this + */ +proto.google.protobuf.FieldOptions.FeatureSupport.prototype.setDeprecationWarning = function(value) { + return jspb.Message.setField(this, 3, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.protobuf.FieldOptions.FeatureSupport} returns this + */ +proto.google.protobuf.FieldOptions.FeatureSupport.prototype.clearDeprecationWarning = function() { + return jspb.Message.setField(this, 3, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.protobuf.FieldOptions.FeatureSupport.prototype.hasDeprecationWarning = function() { + return jspb.Message.getField(this, 3) != null; +}; + + +/** + * optional Edition edition_removed = 4; + * @return {!proto.google.protobuf.Edition} + */ +proto.google.protobuf.FieldOptions.FeatureSupport.prototype.getEditionRemoved = function() { + return /** @type {!proto.google.protobuf.Edition} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); +}; + + +/** + * @param {!proto.google.protobuf.Edition} value + * @return {!proto.google.protobuf.FieldOptions.FeatureSupport} returns this + */ +proto.google.protobuf.FieldOptions.FeatureSupport.prototype.setEditionRemoved = function(value) { + return jspb.Message.setField(this, 4, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.protobuf.FieldOptions.FeatureSupport} returns this + */ +proto.google.protobuf.FieldOptions.FeatureSupport.prototype.clearEditionRemoved = function() { + return jspb.Message.setField(this, 4, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.protobuf.FieldOptions.FeatureSupport.prototype.hasEditionRemoved = function() { + return jspb.Message.getField(this, 4) != null; +}; + + +/** + * optional CType ctype = 1; + * @return {!proto.google.protobuf.FieldOptions.CType} + */ +proto.google.protobuf.FieldOptions.prototype.getCtype = function() { + return /** @type {!proto.google.protobuf.FieldOptions.CType} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); +}; + + +/** + * @param {!proto.google.protobuf.FieldOptions.CType} value + * @return {!proto.google.protobuf.FieldOptions} returns this + */ +proto.google.protobuf.FieldOptions.prototype.setCtype = function(value) { + return jspb.Message.setField(this, 1, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.protobuf.FieldOptions} returns this + */ +proto.google.protobuf.FieldOptions.prototype.clearCtype = function() { + return jspb.Message.setField(this, 1, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.protobuf.FieldOptions.prototype.hasCtype = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional bool packed = 2; + * @return {boolean} + */ +proto.google.protobuf.FieldOptions.prototype.getPacked = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.google.protobuf.FieldOptions} returns this + */ +proto.google.protobuf.FieldOptions.prototype.setPacked = function(value) { + return jspb.Message.setField(this, 2, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.protobuf.FieldOptions} returns this + */ +proto.google.protobuf.FieldOptions.prototype.clearPacked = function() { + return jspb.Message.setField(this, 2, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.protobuf.FieldOptions.prototype.hasPacked = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional JSType jstype = 6; + * @return {!proto.google.protobuf.FieldOptions.JSType} + */ +proto.google.protobuf.FieldOptions.prototype.getJstype = function() { + return /** @type {!proto.google.protobuf.FieldOptions.JSType} */ (jspb.Message.getFieldWithDefault(this, 6, 0)); +}; + + +/** + * @param {!proto.google.protobuf.FieldOptions.JSType} value + * @return {!proto.google.protobuf.FieldOptions} returns this + */ +proto.google.protobuf.FieldOptions.prototype.setJstype = function(value) { + return jspb.Message.setField(this, 6, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.protobuf.FieldOptions} returns this + */ +proto.google.protobuf.FieldOptions.prototype.clearJstype = function() { + return jspb.Message.setField(this, 6, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.protobuf.FieldOptions.prototype.hasJstype = function() { + return jspb.Message.getField(this, 6) != null; +}; + + +/** + * optional bool lazy = 5; + * @return {boolean} + */ +proto.google.protobuf.FieldOptions.prototype.getLazy = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.google.protobuf.FieldOptions} returns this + */ +proto.google.protobuf.FieldOptions.prototype.setLazy = function(value) { + return jspb.Message.setField(this, 5, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.protobuf.FieldOptions} returns this + */ +proto.google.protobuf.FieldOptions.prototype.clearLazy = function() { + return jspb.Message.setField(this, 5, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.protobuf.FieldOptions.prototype.hasLazy = function() { + return jspb.Message.getField(this, 5) != null; +}; + + +/** + * optional bool unverified_lazy = 15; + * @return {boolean} + */ +proto.google.protobuf.FieldOptions.prototype.getUnverifiedLazy = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 15, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.google.protobuf.FieldOptions} returns this + */ +proto.google.protobuf.FieldOptions.prototype.setUnverifiedLazy = function(value) { + return jspb.Message.setField(this, 15, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.protobuf.FieldOptions} returns this + */ +proto.google.protobuf.FieldOptions.prototype.clearUnverifiedLazy = function() { + return jspb.Message.setField(this, 15, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.protobuf.FieldOptions.prototype.hasUnverifiedLazy = function() { + return jspb.Message.getField(this, 15) != null; +}; + + +/** + * optional bool deprecated = 3; + * @return {boolean} + */ +proto.google.protobuf.FieldOptions.prototype.getDeprecated = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.google.protobuf.FieldOptions} returns this + */ +proto.google.protobuf.FieldOptions.prototype.setDeprecated = function(value) { + return jspb.Message.setField(this, 3, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.protobuf.FieldOptions} returns this + */ +proto.google.protobuf.FieldOptions.prototype.clearDeprecated = function() { + return jspb.Message.setField(this, 3, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.protobuf.FieldOptions.prototype.hasDeprecated = function() { + return jspb.Message.getField(this, 3) != null; +}; + + +/** + * optional bool weak = 10; + * @return {boolean} + */ +proto.google.protobuf.FieldOptions.prototype.getWeak = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 10, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.google.protobuf.FieldOptions} returns this + */ +proto.google.protobuf.FieldOptions.prototype.setWeak = function(value) { + return jspb.Message.setField(this, 10, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.protobuf.FieldOptions} returns this + */ +proto.google.protobuf.FieldOptions.prototype.clearWeak = function() { + return jspb.Message.setField(this, 10, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.protobuf.FieldOptions.prototype.hasWeak = function() { + return jspb.Message.getField(this, 10) != null; +}; + + +/** + * optional bool debug_redact = 16; + * @return {boolean} + */ +proto.google.protobuf.FieldOptions.prototype.getDebugRedact = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 16, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.google.protobuf.FieldOptions} returns this + */ +proto.google.protobuf.FieldOptions.prototype.setDebugRedact = function(value) { + return jspb.Message.setField(this, 16, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.protobuf.FieldOptions} returns this + */ +proto.google.protobuf.FieldOptions.prototype.clearDebugRedact = function() { + return jspb.Message.setField(this, 16, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.protobuf.FieldOptions.prototype.hasDebugRedact = function() { + return jspb.Message.getField(this, 16) != null; +}; + + +/** + * optional OptionRetention retention = 17; + * @return {!proto.google.protobuf.FieldOptions.OptionRetention} + */ +proto.google.protobuf.FieldOptions.prototype.getRetention = function() { + return /** @type {!proto.google.protobuf.FieldOptions.OptionRetention} */ (jspb.Message.getFieldWithDefault(this, 17, 0)); +}; + + +/** + * @param {!proto.google.protobuf.FieldOptions.OptionRetention} value + * @return {!proto.google.protobuf.FieldOptions} returns this + */ +proto.google.protobuf.FieldOptions.prototype.setRetention = function(value) { + return jspb.Message.setField(this, 17, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.protobuf.FieldOptions} returns this + */ +proto.google.protobuf.FieldOptions.prototype.clearRetention = function() { + return jspb.Message.setField(this, 17, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.protobuf.FieldOptions.prototype.hasRetention = function() { + return jspb.Message.getField(this, 17) != null; +}; + + +/** + * repeated OptionTargetType targets = 19; + * @return {!Array} + */ +proto.google.protobuf.FieldOptions.prototype.getTargetsList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 19)); +}; + + +/** + * @param {!Array} value + * @return {!proto.google.protobuf.FieldOptions} returns this + */ +proto.google.protobuf.FieldOptions.prototype.setTargetsList = function(value) { + return jspb.Message.setField(this, 19, value || []); +}; + + +/** + * @param {!proto.google.protobuf.FieldOptions.OptionTargetType} value + * @param {number=} opt_index + * @return {!proto.google.protobuf.FieldOptions} returns this + */ +proto.google.protobuf.FieldOptions.prototype.addTargets = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 19, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.google.protobuf.FieldOptions} returns this + */ +proto.google.protobuf.FieldOptions.prototype.clearTargetsList = function() { + return this.setTargetsList([]); +}; + + +/** + * repeated EditionDefault edition_defaults = 20; + * @return {!Array} + */ +proto.google.protobuf.FieldOptions.prototype.getEditionDefaultsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.google.protobuf.FieldOptions.EditionDefault, 20)); +}; + + +/** + * @param {!Array} value + * @return {!proto.google.protobuf.FieldOptions} returns this +*/ +proto.google.protobuf.FieldOptions.prototype.setEditionDefaultsList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 20, value); +}; + + +/** + * @param {!proto.google.protobuf.FieldOptions.EditionDefault=} opt_value + * @param {number=} opt_index + * @return {!proto.google.protobuf.FieldOptions.EditionDefault} + */ +proto.google.protobuf.FieldOptions.prototype.addEditionDefaults = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 20, opt_value, proto.google.protobuf.FieldOptions.EditionDefault, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.google.protobuf.FieldOptions} returns this + */ +proto.google.protobuf.FieldOptions.prototype.clearEditionDefaultsList = function() { + return this.setEditionDefaultsList([]); +}; + + +/** + * optional FeatureSet features = 21; + * @return {?proto.google.protobuf.FeatureSet} + */ +proto.google.protobuf.FieldOptions.prototype.getFeatures = function() { + return /** @type{?proto.google.protobuf.FeatureSet} */ ( + jspb.Message.getWrapperField(this, proto.google.protobuf.FeatureSet, 21)); +}; + + +/** + * @param {?proto.google.protobuf.FeatureSet|undefined} value + * @return {!proto.google.protobuf.FieldOptions} returns this +*/ +proto.google.protobuf.FieldOptions.prototype.setFeatures = function(value) { + return jspb.Message.setWrapperField(this, 21, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.google.protobuf.FieldOptions} returns this + */ +proto.google.protobuf.FieldOptions.prototype.clearFeatures = function() { + return this.setFeatures(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.protobuf.FieldOptions.prototype.hasFeatures = function() { + return jspb.Message.getField(this, 21) != null; +}; + + +/** + * optional FeatureSupport feature_support = 22; + * @return {?proto.google.protobuf.FieldOptions.FeatureSupport} + */ +proto.google.protobuf.FieldOptions.prototype.getFeatureSupport = function() { + return /** @type{?proto.google.protobuf.FieldOptions.FeatureSupport} */ ( + jspb.Message.getWrapperField(this, proto.google.protobuf.FieldOptions.FeatureSupport, 22)); +}; + + +/** + * @param {?proto.google.protobuf.FieldOptions.FeatureSupport|undefined} value + * @return {!proto.google.protobuf.FieldOptions} returns this +*/ +proto.google.protobuf.FieldOptions.prototype.setFeatureSupport = function(value) { + return jspb.Message.setWrapperField(this, 22, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.google.protobuf.FieldOptions} returns this + */ +proto.google.protobuf.FieldOptions.prototype.clearFeatureSupport = function() { + return this.setFeatureSupport(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.protobuf.FieldOptions.prototype.hasFeatureSupport = function() { + return jspb.Message.getField(this, 22) != null; +}; + + +/** + * repeated UninterpretedOption uninterpreted_option = 999; + * @return {!Array} + */ +proto.google.protobuf.FieldOptions.prototype.getUninterpretedOptionList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.google.protobuf.UninterpretedOption, 999)); +}; + + +/** + * @param {!Array} value + * @return {!proto.google.protobuf.FieldOptions} returns this +*/ +proto.google.protobuf.FieldOptions.prototype.setUninterpretedOptionList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 999, value); +}; + + +/** + * @param {!proto.google.protobuf.UninterpretedOption=} opt_value + * @param {number=} opt_index + * @return {!proto.google.protobuf.UninterpretedOption} + */ +proto.google.protobuf.FieldOptions.prototype.addUninterpretedOption = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 999, opt_value, proto.google.protobuf.UninterpretedOption, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.google.protobuf.FieldOptions} returns this + */ +proto.google.protobuf.FieldOptions.prototype.clearUninterpretedOptionList = function() { + return this.setUninterpretedOptionList([]); +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.google.protobuf.OneofOptions.repeatedFields_ = [999]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.google.protobuf.OneofOptions.prototype.toObject = function(opt_includeInstance) { + return proto.google.protobuf.OneofOptions.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.google.protobuf.OneofOptions} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.protobuf.OneofOptions.toObject = function(includeInstance, msg) { + var f, obj = { + features: (f = msg.getFeatures()) && proto.google.protobuf.FeatureSet.toObject(includeInstance, f), + uninterpretedOptionList: jspb.Message.toObjectList(msg.getUninterpretedOptionList(), + proto.google.protobuf.UninterpretedOption.toObject, includeInstance) + }; + + jspb.Message.toObjectExtension(/** @type {!jspb.Message} */ (msg), obj, + proto.google.protobuf.OneofOptions.extensions, proto.google.protobuf.OneofOptions.prototype.getExtension, + includeInstance); + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.google.protobuf.OneofOptions} + */ +proto.google.protobuf.OneofOptions.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.google.protobuf.OneofOptions; + return proto.google.protobuf.OneofOptions.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.google.protobuf.OneofOptions} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.google.protobuf.OneofOptions} + */ +proto.google.protobuf.OneofOptions.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.google.protobuf.FeatureSet; + reader.readMessage(value,proto.google.protobuf.FeatureSet.deserializeBinaryFromReader); + msg.setFeatures(value); + break; + case 999: + var value = new proto.google.protobuf.UninterpretedOption; + reader.readMessage(value,proto.google.protobuf.UninterpretedOption.deserializeBinaryFromReader); + msg.addUninterpretedOption(value); + break; + default: + jspb.Message.readBinaryExtension(msg, reader, + proto.google.protobuf.OneofOptions.extensionsBinary, + proto.google.protobuf.OneofOptions.prototype.getExtension, + proto.google.protobuf.OneofOptions.prototype.setExtension); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.google.protobuf.OneofOptions.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.google.protobuf.OneofOptions.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.google.protobuf.OneofOptions} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.protobuf.OneofOptions.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getFeatures(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.google.protobuf.FeatureSet.serializeBinaryToWriter + ); + } + f = message.getUninterpretedOptionList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 999, + f, + proto.google.protobuf.UninterpretedOption.serializeBinaryToWriter + ); + } + jspb.Message.serializeBinaryExtensions(message, writer, + proto.google.protobuf.OneofOptions.extensionsBinary, proto.google.protobuf.OneofOptions.prototype.getExtension); +}; + + +/** + * optional FeatureSet features = 1; + * @return {?proto.google.protobuf.FeatureSet} + */ +proto.google.protobuf.OneofOptions.prototype.getFeatures = function() { + return /** @type{?proto.google.protobuf.FeatureSet} */ ( + jspb.Message.getWrapperField(this, proto.google.protobuf.FeatureSet, 1)); +}; + + +/** + * @param {?proto.google.protobuf.FeatureSet|undefined} value + * @return {!proto.google.protobuf.OneofOptions} returns this +*/ +proto.google.protobuf.OneofOptions.prototype.setFeatures = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.google.protobuf.OneofOptions} returns this + */ +proto.google.protobuf.OneofOptions.prototype.clearFeatures = function() { + return this.setFeatures(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.protobuf.OneofOptions.prototype.hasFeatures = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * repeated UninterpretedOption uninterpreted_option = 999; + * @return {!Array} + */ +proto.google.protobuf.OneofOptions.prototype.getUninterpretedOptionList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.google.protobuf.UninterpretedOption, 999)); +}; + + +/** + * @param {!Array} value + * @return {!proto.google.protobuf.OneofOptions} returns this +*/ +proto.google.protobuf.OneofOptions.prototype.setUninterpretedOptionList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 999, value); +}; + + +/** + * @param {!proto.google.protobuf.UninterpretedOption=} opt_value + * @param {number=} opt_index + * @return {!proto.google.protobuf.UninterpretedOption} + */ +proto.google.protobuf.OneofOptions.prototype.addUninterpretedOption = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 999, opt_value, proto.google.protobuf.UninterpretedOption, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.google.protobuf.OneofOptions} returns this + */ +proto.google.protobuf.OneofOptions.prototype.clearUninterpretedOptionList = function() { + return this.setUninterpretedOptionList([]); +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.google.protobuf.EnumOptions.repeatedFields_ = [999]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.google.protobuf.EnumOptions.prototype.toObject = function(opt_includeInstance) { + return proto.google.protobuf.EnumOptions.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.google.protobuf.EnumOptions} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.protobuf.EnumOptions.toObject = function(includeInstance, msg) { + var f, obj = { + allowAlias: (f = jspb.Message.getBooleanField(msg, 2)) == null ? undefined : f, + deprecated: jspb.Message.getBooleanFieldWithDefault(msg, 3, false), + deprecatedLegacyJsonFieldConflicts: (f = jspb.Message.getBooleanField(msg, 6)) == null ? undefined : f, + features: (f = msg.getFeatures()) && proto.google.protobuf.FeatureSet.toObject(includeInstance, f), + uninterpretedOptionList: jspb.Message.toObjectList(msg.getUninterpretedOptionList(), + proto.google.protobuf.UninterpretedOption.toObject, includeInstance) + }; + + jspb.Message.toObjectExtension(/** @type {!jspb.Message} */ (msg), obj, + proto.google.protobuf.EnumOptions.extensions, proto.google.protobuf.EnumOptions.prototype.getExtension, + includeInstance); + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.google.protobuf.EnumOptions} + */ +proto.google.protobuf.EnumOptions.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.google.protobuf.EnumOptions; + return proto.google.protobuf.EnumOptions.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.google.protobuf.EnumOptions} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.google.protobuf.EnumOptions} + */ +proto.google.protobuf.EnumOptions.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 2: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setAllowAlias(value); + break; + case 3: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setDeprecated(value); + break; + case 6: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setDeprecatedLegacyJsonFieldConflicts(value); + break; + case 7: + var value = new proto.google.protobuf.FeatureSet; + reader.readMessage(value,proto.google.protobuf.FeatureSet.deserializeBinaryFromReader); + msg.setFeatures(value); + break; + case 999: + var value = new proto.google.protobuf.UninterpretedOption; + reader.readMessage(value,proto.google.protobuf.UninterpretedOption.deserializeBinaryFromReader); + msg.addUninterpretedOption(value); + break; + default: + jspb.Message.readBinaryExtension(msg, reader, + proto.google.protobuf.EnumOptions.extensionsBinary, + proto.google.protobuf.EnumOptions.prototype.getExtension, + proto.google.protobuf.EnumOptions.prototype.setExtension); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.google.protobuf.EnumOptions.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.google.protobuf.EnumOptions.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.google.protobuf.EnumOptions} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.protobuf.EnumOptions.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = /** @type {boolean} */ (jspb.Message.getField(message, 2)); + if (f != null) { + writer.writeBool( + 2, + f + ); + } + f = /** @type {boolean} */ (jspb.Message.getField(message, 3)); + if (f != null) { + writer.writeBool( + 3, + f + ); + } + f = /** @type {boolean} */ (jspb.Message.getField(message, 6)); + if (f != null) { + writer.writeBool( + 6, + f + ); + } + f = message.getFeatures(); + if (f != null) { + writer.writeMessage( + 7, + f, + proto.google.protobuf.FeatureSet.serializeBinaryToWriter + ); + } + f = message.getUninterpretedOptionList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 999, + f, + proto.google.protobuf.UninterpretedOption.serializeBinaryToWriter + ); + } + jspb.Message.serializeBinaryExtensions(message, writer, + proto.google.protobuf.EnumOptions.extensionsBinary, proto.google.protobuf.EnumOptions.prototype.getExtension); +}; + + +/** + * optional bool allow_alias = 2; + * @return {boolean} + */ +proto.google.protobuf.EnumOptions.prototype.getAllowAlias = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.google.protobuf.EnumOptions} returns this + */ +proto.google.protobuf.EnumOptions.prototype.setAllowAlias = function(value) { + return jspb.Message.setField(this, 2, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.protobuf.EnumOptions} returns this + */ +proto.google.protobuf.EnumOptions.prototype.clearAllowAlias = function() { + return jspb.Message.setField(this, 2, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.protobuf.EnumOptions.prototype.hasAllowAlias = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional bool deprecated = 3; + * @return {boolean} + */ +proto.google.protobuf.EnumOptions.prototype.getDeprecated = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.google.protobuf.EnumOptions} returns this + */ +proto.google.protobuf.EnumOptions.prototype.setDeprecated = function(value) { + return jspb.Message.setField(this, 3, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.protobuf.EnumOptions} returns this + */ +proto.google.protobuf.EnumOptions.prototype.clearDeprecated = function() { + return jspb.Message.setField(this, 3, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.protobuf.EnumOptions.prototype.hasDeprecated = function() { + return jspb.Message.getField(this, 3) != null; +}; + + +/** + * optional bool deprecated_legacy_json_field_conflicts = 6; + * @return {boolean} + */ +proto.google.protobuf.EnumOptions.prototype.getDeprecatedLegacyJsonFieldConflicts = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 6, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.google.protobuf.EnumOptions} returns this + */ +proto.google.protobuf.EnumOptions.prototype.setDeprecatedLegacyJsonFieldConflicts = function(value) { + return jspb.Message.setField(this, 6, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.protobuf.EnumOptions} returns this + */ +proto.google.protobuf.EnumOptions.prototype.clearDeprecatedLegacyJsonFieldConflicts = function() { + return jspb.Message.setField(this, 6, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.protobuf.EnumOptions.prototype.hasDeprecatedLegacyJsonFieldConflicts = function() { + return jspb.Message.getField(this, 6) != null; +}; + + +/** + * optional FeatureSet features = 7; + * @return {?proto.google.protobuf.FeatureSet} + */ +proto.google.protobuf.EnumOptions.prototype.getFeatures = function() { + return /** @type{?proto.google.protobuf.FeatureSet} */ ( + jspb.Message.getWrapperField(this, proto.google.protobuf.FeatureSet, 7)); +}; + + +/** + * @param {?proto.google.protobuf.FeatureSet|undefined} value + * @return {!proto.google.protobuf.EnumOptions} returns this +*/ +proto.google.protobuf.EnumOptions.prototype.setFeatures = function(value) { + return jspb.Message.setWrapperField(this, 7, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.google.protobuf.EnumOptions} returns this + */ +proto.google.protobuf.EnumOptions.prototype.clearFeatures = function() { + return this.setFeatures(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.protobuf.EnumOptions.prototype.hasFeatures = function() { + return jspb.Message.getField(this, 7) != null; +}; + + +/** + * repeated UninterpretedOption uninterpreted_option = 999; + * @return {!Array} + */ +proto.google.protobuf.EnumOptions.prototype.getUninterpretedOptionList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.google.protobuf.UninterpretedOption, 999)); +}; + + +/** + * @param {!Array} value + * @return {!proto.google.protobuf.EnumOptions} returns this +*/ +proto.google.protobuf.EnumOptions.prototype.setUninterpretedOptionList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 999, value); +}; + + +/** + * @param {!proto.google.protobuf.UninterpretedOption=} opt_value + * @param {number=} opt_index + * @return {!proto.google.protobuf.UninterpretedOption} + */ +proto.google.protobuf.EnumOptions.prototype.addUninterpretedOption = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 999, opt_value, proto.google.protobuf.UninterpretedOption, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.google.protobuf.EnumOptions} returns this + */ +proto.google.protobuf.EnumOptions.prototype.clearUninterpretedOptionList = function() { + return this.setUninterpretedOptionList([]); +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.google.protobuf.EnumValueOptions.repeatedFields_ = [999]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.google.protobuf.EnumValueOptions.prototype.toObject = function(opt_includeInstance) { + return proto.google.protobuf.EnumValueOptions.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.google.protobuf.EnumValueOptions} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.protobuf.EnumValueOptions.toObject = function(includeInstance, msg) { + var f, obj = { + deprecated: jspb.Message.getBooleanFieldWithDefault(msg, 1, false), + features: (f = msg.getFeatures()) && proto.google.protobuf.FeatureSet.toObject(includeInstance, f), + debugRedact: jspb.Message.getBooleanFieldWithDefault(msg, 3, false), + featureSupport: (f = msg.getFeatureSupport()) && proto.google.protobuf.FieldOptions.FeatureSupport.toObject(includeInstance, f), + uninterpretedOptionList: jspb.Message.toObjectList(msg.getUninterpretedOptionList(), + proto.google.protobuf.UninterpretedOption.toObject, includeInstance) + }; + + jspb.Message.toObjectExtension(/** @type {!jspb.Message} */ (msg), obj, + proto.google.protobuf.EnumValueOptions.extensions, proto.google.protobuf.EnumValueOptions.prototype.getExtension, + includeInstance); + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.google.protobuf.EnumValueOptions} + */ +proto.google.protobuf.EnumValueOptions.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.google.protobuf.EnumValueOptions; + return proto.google.protobuf.EnumValueOptions.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.google.protobuf.EnumValueOptions} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.google.protobuf.EnumValueOptions} + */ +proto.google.protobuf.EnumValueOptions.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setDeprecated(value); + break; + case 2: + var value = new proto.google.protobuf.FeatureSet; + reader.readMessage(value,proto.google.protobuf.FeatureSet.deserializeBinaryFromReader); + msg.setFeatures(value); + break; + case 3: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setDebugRedact(value); + break; + case 4: + var value = new proto.google.protobuf.FieldOptions.FeatureSupport; + reader.readMessage(value,proto.google.protobuf.FieldOptions.FeatureSupport.deserializeBinaryFromReader); + msg.setFeatureSupport(value); + break; + case 999: + var value = new proto.google.protobuf.UninterpretedOption; + reader.readMessage(value,proto.google.protobuf.UninterpretedOption.deserializeBinaryFromReader); + msg.addUninterpretedOption(value); + break; + default: + jspb.Message.readBinaryExtension(msg, reader, + proto.google.protobuf.EnumValueOptions.extensionsBinary, + proto.google.protobuf.EnumValueOptions.prototype.getExtension, + proto.google.protobuf.EnumValueOptions.prototype.setExtension); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.google.protobuf.EnumValueOptions.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.google.protobuf.EnumValueOptions.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.google.protobuf.EnumValueOptions} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.protobuf.EnumValueOptions.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = /** @type {boolean} */ (jspb.Message.getField(message, 1)); + if (f != null) { + writer.writeBool( + 1, + f + ); + } + f = message.getFeatures(); + if (f != null) { + writer.writeMessage( + 2, + f, + proto.google.protobuf.FeatureSet.serializeBinaryToWriter + ); + } + f = /** @type {boolean} */ (jspb.Message.getField(message, 3)); + if (f != null) { + writer.writeBool( + 3, + f + ); + } + f = message.getFeatureSupport(); + if (f != null) { + writer.writeMessage( + 4, + f, + proto.google.protobuf.FieldOptions.FeatureSupport.serializeBinaryToWriter + ); + } + f = message.getUninterpretedOptionList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 999, + f, + proto.google.protobuf.UninterpretedOption.serializeBinaryToWriter + ); + } + jspb.Message.serializeBinaryExtensions(message, writer, + proto.google.protobuf.EnumValueOptions.extensionsBinary, proto.google.protobuf.EnumValueOptions.prototype.getExtension); +}; + + +/** + * optional bool deprecated = 1; + * @return {boolean} + */ +proto.google.protobuf.EnumValueOptions.prototype.getDeprecated = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.google.protobuf.EnumValueOptions} returns this + */ +proto.google.protobuf.EnumValueOptions.prototype.setDeprecated = function(value) { + return jspb.Message.setField(this, 1, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.protobuf.EnumValueOptions} returns this + */ +proto.google.protobuf.EnumValueOptions.prototype.clearDeprecated = function() { + return jspb.Message.setField(this, 1, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.protobuf.EnumValueOptions.prototype.hasDeprecated = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional FeatureSet features = 2; + * @return {?proto.google.protobuf.FeatureSet} + */ +proto.google.protobuf.EnumValueOptions.prototype.getFeatures = function() { + return /** @type{?proto.google.protobuf.FeatureSet} */ ( + jspb.Message.getWrapperField(this, proto.google.protobuf.FeatureSet, 2)); +}; + + +/** + * @param {?proto.google.protobuf.FeatureSet|undefined} value + * @return {!proto.google.protobuf.EnumValueOptions} returns this +*/ +proto.google.protobuf.EnumValueOptions.prototype.setFeatures = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.google.protobuf.EnumValueOptions} returns this + */ +proto.google.protobuf.EnumValueOptions.prototype.clearFeatures = function() { + return this.setFeatures(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.protobuf.EnumValueOptions.prototype.hasFeatures = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional bool debug_redact = 3; + * @return {boolean} + */ +proto.google.protobuf.EnumValueOptions.prototype.getDebugRedact = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.google.protobuf.EnumValueOptions} returns this + */ +proto.google.protobuf.EnumValueOptions.prototype.setDebugRedact = function(value) { + return jspb.Message.setField(this, 3, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.protobuf.EnumValueOptions} returns this + */ +proto.google.protobuf.EnumValueOptions.prototype.clearDebugRedact = function() { + return jspb.Message.setField(this, 3, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.protobuf.EnumValueOptions.prototype.hasDebugRedact = function() { + return jspb.Message.getField(this, 3) != null; +}; + + +/** + * optional FieldOptions.FeatureSupport feature_support = 4; + * @return {?proto.google.protobuf.FieldOptions.FeatureSupport} + */ +proto.google.protobuf.EnumValueOptions.prototype.getFeatureSupport = function() { + return /** @type{?proto.google.protobuf.FieldOptions.FeatureSupport} */ ( + jspb.Message.getWrapperField(this, proto.google.protobuf.FieldOptions.FeatureSupport, 4)); +}; + + +/** + * @param {?proto.google.protobuf.FieldOptions.FeatureSupport|undefined} value + * @return {!proto.google.protobuf.EnumValueOptions} returns this +*/ +proto.google.protobuf.EnumValueOptions.prototype.setFeatureSupport = function(value) { + return jspb.Message.setWrapperField(this, 4, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.google.protobuf.EnumValueOptions} returns this + */ +proto.google.protobuf.EnumValueOptions.prototype.clearFeatureSupport = function() { + return this.setFeatureSupport(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.protobuf.EnumValueOptions.prototype.hasFeatureSupport = function() { + return jspb.Message.getField(this, 4) != null; +}; + + +/** + * repeated UninterpretedOption uninterpreted_option = 999; + * @return {!Array} + */ +proto.google.protobuf.EnumValueOptions.prototype.getUninterpretedOptionList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.google.protobuf.UninterpretedOption, 999)); +}; + + +/** + * @param {!Array} value + * @return {!proto.google.protobuf.EnumValueOptions} returns this +*/ +proto.google.protobuf.EnumValueOptions.prototype.setUninterpretedOptionList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 999, value); +}; + + +/** + * @param {!proto.google.protobuf.UninterpretedOption=} opt_value + * @param {number=} opt_index + * @return {!proto.google.protobuf.UninterpretedOption} + */ +proto.google.protobuf.EnumValueOptions.prototype.addUninterpretedOption = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 999, opt_value, proto.google.protobuf.UninterpretedOption, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.google.protobuf.EnumValueOptions} returns this + */ +proto.google.protobuf.EnumValueOptions.prototype.clearUninterpretedOptionList = function() { + return this.setUninterpretedOptionList([]); +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.google.protobuf.ServiceOptions.repeatedFields_ = [999]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.google.protobuf.ServiceOptions.prototype.toObject = function(opt_includeInstance) { + return proto.google.protobuf.ServiceOptions.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.google.protobuf.ServiceOptions} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.protobuf.ServiceOptions.toObject = function(includeInstance, msg) { + var f, obj = { + features: (f = msg.getFeatures()) && proto.google.protobuf.FeatureSet.toObject(includeInstance, f), + deprecated: jspb.Message.getBooleanFieldWithDefault(msg, 33, false), + uninterpretedOptionList: jspb.Message.toObjectList(msg.getUninterpretedOptionList(), + proto.google.protobuf.UninterpretedOption.toObject, includeInstance) + }; + + jspb.Message.toObjectExtension(/** @type {!jspb.Message} */ (msg), obj, + proto.google.protobuf.ServiceOptions.extensions, proto.google.protobuf.ServiceOptions.prototype.getExtension, + includeInstance); + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.google.protobuf.ServiceOptions} + */ +proto.google.protobuf.ServiceOptions.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.google.protobuf.ServiceOptions; + return proto.google.protobuf.ServiceOptions.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.google.protobuf.ServiceOptions} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.google.protobuf.ServiceOptions} + */ +proto.google.protobuf.ServiceOptions.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 34: + var value = new proto.google.protobuf.FeatureSet; + reader.readMessage(value,proto.google.protobuf.FeatureSet.deserializeBinaryFromReader); + msg.setFeatures(value); + break; + case 33: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setDeprecated(value); + break; + case 999: + var value = new proto.google.protobuf.UninterpretedOption; + reader.readMessage(value,proto.google.protobuf.UninterpretedOption.deserializeBinaryFromReader); + msg.addUninterpretedOption(value); + break; + default: + jspb.Message.readBinaryExtension(msg, reader, + proto.google.protobuf.ServiceOptions.extensionsBinary, + proto.google.protobuf.ServiceOptions.prototype.getExtension, + proto.google.protobuf.ServiceOptions.prototype.setExtension); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.google.protobuf.ServiceOptions.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.google.protobuf.ServiceOptions.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.google.protobuf.ServiceOptions} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.protobuf.ServiceOptions.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getFeatures(); + if (f != null) { + writer.writeMessage( + 34, + f, + proto.google.protobuf.FeatureSet.serializeBinaryToWriter + ); + } + f = /** @type {boolean} */ (jspb.Message.getField(message, 33)); + if (f != null) { + writer.writeBool( + 33, + f + ); + } + f = message.getUninterpretedOptionList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 999, + f, + proto.google.protobuf.UninterpretedOption.serializeBinaryToWriter + ); + } + jspb.Message.serializeBinaryExtensions(message, writer, + proto.google.protobuf.ServiceOptions.extensionsBinary, proto.google.protobuf.ServiceOptions.prototype.getExtension); +}; + + +/** + * optional FeatureSet features = 34; + * @return {?proto.google.protobuf.FeatureSet} + */ +proto.google.protobuf.ServiceOptions.prototype.getFeatures = function() { + return /** @type{?proto.google.protobuf.FeatureSet} */ ( + jspb.Message.getWrapperField(this, proto.google.protobuf.FeatureSet, 34)); +}; + + +/** + * @param {?proto.google.protobuf.FeatureSet|undefined} value + * @return {!proto.google.protobuf.ServiceOptions} returns this +*/ +proto.google.protobuf.ServiceOptions.prototype.setFeatures = function(value) { + return jspb.Message.setWrapperField(this, 34, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.google.protobuf.ServiceOptions} returns this + */ +proto.google.protobuf.ServiceOptions.prototype.clearFeatures = function() { + return this.setFeatures(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.protobuf.ServiceOptions.prototype.hasFeatures = function() { + return jspb.Message.getField(this, 34) != null; +}; + + +/** + * optional bool deprecated = 33; + * @return {boolean} + */ +proto.google.protobuf.ServiceOptions.prototype.getDeprecated = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 33, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.google.protobuf.ServiceOptions} returns this + */ +proto.google.protobuf.ServiceOptions.prototype.setDeprecated = function(value) { + return jspb.Message.setField(this, 33, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.protobuf.ServiceOptions} returns this + */ +proto.google.protobuf.ServiceOptions.prototype.clearDeprecated = function() { + return jspb.Message.setField(this, 33, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.protobuf.ServiceOptions.prototype.hasDeprecated = function() { + return jspb.Message.getField(this, 33) != null; +}; + + +/** + * repeated UninterpretedOption uninterpreted_option = 999; + * @return {!Array} + */ +proto.google.protobuf.ServiceOptions.prototype.getUninterpretedOptionList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.google.protobuf.UninterpretedOption, 999)); +}; + + +/** + * @param {!Array} value + * @return {!proto.google.protobuf.ServiceOptions} returns this +*/ +proto.google.protobuf.ServiceOptions.prototype.setUninterpretedOptionList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 999, value); +}; + + +/** + * @param {!proto.google.protobuf.UninterpretedOption=} opt_value + * @param {number=} opt_index + * @return {!proto.google.protobuf.UninterpretedOption} + */ +proto.google.protobuf.ServiceOptions.prototype.addUninterpretedOption = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 999, opt_value, proto.google.protobuf.UninterpretedOption, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.google.protobuf.ServiceOptions} returns this + */ +proto.google.protobuf.ServiceOptions.prototype.clearUninterpretedOptionList = function() { + return this.setUninterpretedOptionList([]); +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.google.protobuf.MethodOptions.repeatedFields_ = [999]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.google.protobuf.MethodOptions.prototype.toObject = function(opt_includeInstance) { + return proto.google.protobuf.MethodOptions.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.google.protobuf.MethodOptions} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.protobuf.MethodOptions.toObject = function(includeInstance, msg) { + var f, obj = { + deprecated: jspb.Message.getBooleanFieldWithDefault(msg, 33, false), + idempotencyLevel: jspb.Message.getFieldWithDefault(msg, 34, 0), + features: (f = msg.getFeatures()) && proto.google.protobuf.FeatureSet.toObject(includeInstance, f), + uninterpretedOptionList: jspb.Message.toObjectList(msg.getUninterpretedOptionList(), + proto.google.protobuf.UninterpretedOption.toObject, includeInstance) + }; + + jspb.Message.toObjectExtension(/** @type {!jspb.Message} */ (msg), obj, + proto.google.protobuf.MethodOptions.extensions, proto.google.protobuf.MethodOptions.prototype.getExtension, + includeInstance); + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.google.protobuf.MethodOptions} + */ +proto.google.protobuf.MethodOptions.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.google.protobuf.MethodOptions; + return proto.google.protobuf.MethodOptions.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.google.protobuf.MethodOptions} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.google.protobuf.MethodOptions} + */ +proto.google.protobuf.MethodOptions.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 33: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setDeprecated(value); + break; + case 34: + var value = /** @type {!proto.google.protobuf.MethodOptions.IdempotencyLevel} */ (reader.readEnum()); + msg.setIdempotencyLevel(value); + break; + case 35: + var value = new proto.google.protobuf.FeatureSet; + reader.readMessage(value,proto.google.protobuf.FeatureSet.deserializeBinaryFromReader); + msg.setFeatures(value); + break; + case 999: + var value = new proto.google.protobuf.UninterpretedOption; + reader.readMessage(value,proto.google.protobuf.UninterpretedOption.deserializeBinaryFromReader); + msg.addUninterpretedOption(value); + break; + default: + jspb.Message.readBinaryExtension(msg, reader, + proto.google.protobuf.MethodOptions.extensionsBinary, + proto.google.protobuf.MethodOptions.prototype.getExtension, + proto.google.protobuf.MethodOptions.prototype.setExtension); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.google.protobuf.MethodOptions.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.google.protobuf.MethodOptions.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.google.protobuf.MethodOptions} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.protobuf.MethodOptions.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = /** @type {boolean} */ (jspb.Message.getField(message, 33)); + if (f != null) { + writer.writeBool( + 33, + f + ); + } + f = /** @type {!proto.google.protobuf.MethodOptions.IdempotencyLevel} */ (jspb.Message.getField(message, 34)); + if (f != null) { + writer.writeEnum( + 34, + f + ); + } + f = message.getFeatures(); + if (f != null) { + writer.writeMessage( + 35, + f, + proto.google.protobuf.FeatureSet.serializeBinaryToWriter + ); + } + f = message.getUninterpretedOptionList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 999, + f, + proto.google.protobuf.UninterpretedOption.serializeBinaryToWriter + ); + } + jspb.Message.serializeBinaryExtensions(message, writer, + proto.google.protobuf.MethodOptions.extensionsBinary, proto.google.protobuf.MethodOptions.prototype.getExtension); +}; + + +/** + * @enum {number} + */ +proto.google.protobuf.MethodOptions.IdempotencyLevel = { + IDEMPOTENCY_UNKNOWN: 0, + NO_SIDE_EFFECTS: 1, + IDEMPOTENT: 2 +}; + +/** + * optional bool deprecated = 33; + * @return {boolean} + */ +proto.google.protobuf.MethodOptions.prototype.getDeprecated = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 33, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.google.protobuf.MethodOptions} returns this + */ +proto.google.protobuf.MethodOptions.prototype.setDeprecated = function(value) { + return jspb.Message.setField(this, 33, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.protobuf.MethodOptions} returns this + */ +proto.google.protobuf.MethodOptions.prototype.clearDeprecated = function() { + return jspb.Message.setField(this, 33, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.protobuf.MethodOptions.prototype.hasDeprecated = function() { + return jspb.Message.getField(this, 33) != null; +}; + + +/** + * optional IdempotencyLevel idempotency_level = 34; + * @return {!proto.google.protobuf.MethodOptions.IdempotencyLevel} + */ +proto.google.protobuf.MethodOptions.prototype.getIdempotencyLevel = function() { + return /** @type {!proto.google.protobuf.MethodOptions.IdempotencyLevel} */ (jspb.Message.getFieldWithDefault(this, 34, 0)); +}; + + +/** + * @param {!proto.google.protobuf.MethodOptions.IdempotencyLevel} value + * @return {!proto.google.protobuf.MethodOptions} returns this + */ +proto.google.protobuf.MethodOptions.prototype.setIdempotencyLevel = function(value) { + return jspb.Message.setField(this, 34, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.protobuf.MethodOptions} returns this + */ +proto.google.protobuf.MethodOptions.prototype.clearIdempotencyLevel = function() { + return jspb.Message.setField(this, 34, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.protobuf.MethodOptions.prototype.hasIdempotencyLevel = function() { + return jspb.Message.getField(this, 34) != null; +}; + + +/** + * optional FeatureSet features = 35; + * @return {?proto.google.protobuf.FeatureSet} + */ +proto.google.protobuf.MethodOptions.prototype.getFeatures = function() { + return /** @type{?proto.google.protobuf.FeatureSet} */ ( + jspb.Message.getWrapperField(this, proto.google.protobuf.FeatureSet, 35)); +}; + + +/** + * @param {?proto.google.protobuf.FeatureSet|undefined} value + * @return {!proto.google.protobuf.MethodOptions} returns this +*/ +proto.google.protobuf.MethodOptions.prototype.setFeatures = function(value) { + return jspb.Message.setWrapperField(this, 35, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.google.protobuf.MethodOptions} returns this + */ +proto.google.protobuf.MethodOptions.prototype.clearFeatures = function() { + return this.setFeatures(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.protobuf.MethodOptions.prototype.hasFeatures = function() { + return jspb.Message.getField(this, 35) != null; +}; + + +/** + * repeated UninterpretedOption uninterpreted_option = 999; + * @return {!Array} + */ +proto.google.protobuf.MethodOptions.prototype.getUninterpretedOptionList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.google.protobuf.UninterpretedOption, 999)); +}; + + +/** + * @param {!Array} value + * @return {!proto.google.protobuf.MethodOptions} returns this +*/ +proto.google.protobuf.MethodOptions.prototype.setUninterpretedOptionList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 999, value); +}; + + +/** + * @param {!proto.google.protobuf.UninterpretedOption=} opt_value + * @param {number=} opt_index + * @return {!proto.google.protobuf.UninterpretedOption} + */ +proto.google.protobuf.MethodOptions.prototype.addUninterpretedOption = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 999, opt_value, proto.google.protobuf.UninterpretedOption, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.google.protobuf.MethodOptions} returns this + */ +proto.google.protobuf.MethodOptions.prototype.clearUninterpretedOptionList = function() { + return this.setUninterpretedOptionList([]); +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.google.protobuf.UninterpretedOption.repeatedFields_ = [2]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.google.protobuf.UninterpretedOption.prototype.toObject = function(opt_includeInstance) { + return proto.google.protobuf.UninterpretedOption.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.google.protobuf.UninterpretedOption} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.protobuf.UninterpretedOption.toObject = function(includeInstance, msg) { + var f, obj = { + nameList: jspb.Message.toObjectList(msg.getNameList(), + proto.google.protobuf.UninterpretedOption.NamePart.toObject, includeInstance), + identifierValue: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, + positiveIntValue: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f, + negativeIntValue: (f = jspb.Message.getField(msg, 5)) == null ? undefined : f, + doubleValue: (f = jspb.Message.getOptionalFloatingPointField(msg, 6)) == null ? undefined : f, + stringValue: msg.getStringValue_asB64(), + aggregateValue: (f = jspb.Message.getField(msg, 8)) == null ? undefined : f + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.google.protobuf.UninterpretedOption} + */ +proto.google.protobuf.UninterpretedOption.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.google.protobuf.UninterpretedOption; + return proto.google.protobuf.UninterpretedOption.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.google.protobuf.UninterpretedOption} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.google.protobuf.UninterpretedOption} + */ +proto.google.protobuf.UninterpretedOption.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 2: + var value = new proto.google.protobuf.UninterpretedOption.NamePart; + reader.readMessage(value,proto.google.protobuf.UninterpretedOption.NamePart.deserializeBinaryFromReader); + msg.addName(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setIdentifierValue(value); + break; + case 4: + var value = /** @type {number} */ (reader.readUint64()); + msg.setPositiveIntValue(value); + break; + case 5: + var value = /** @type {number} */ (reader.readInt64()); + msg.setNegativeIntValue(value); + break; + case 6: + var value = /** @type {number} */ (reader.readDouble()); + msg.setDoubleValue(value); + break; + case 7: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setStringValue(value); + break; + case 8: + var value = /** @type {string} */ (reader.readString()); + msg.setAggregateValue(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.google.protobuf.UninterpretedOption.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.google.protobuf.UninterpretedOption.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.google.protobuf.UninterpretedOption} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.protobuf.UninterpretedOption.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getNameList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 2, + f, + proto.google.protobuf.UninterpretedOption.NamePart.serializeBinaryToWriter + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 3)); + if (f != null) { + writer.writeString( + 3, + f + ); + } + f = /** @type {number} */ (jspb.Message.getField(message, 4)); + if (f != null) { + writer.writeUint64( + 4, + f + ); + } + f = /** @type {number} */ (jspb.Message.getField(message, 5)); + if (f != null) { + writer.writeInt64( + 5, + f + ); + } + f = /** @type {number} */ (jspb.Message.getField(message, 6)); + if (f != null) { + writer.writeDouble( + 6, + f + ); + } + f = /** @type {!(string|Uint8Array)} */ (jspb.Message.getField(message, 7)); + if (f != null) { + writer.writeBytes( + 7, + f + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 8)); + if (f != null) { + writer.writeString( + 8, + f + ); + } +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.google.protobuf.UninterpretedOption.NamePart.prototype.toObject = function(opt_includeInstance) { + return proto.google.protobuf.UninterpretedOption.NamePart.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.google.protobuf.UninterpretedOption.NamePart} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.protobuf.UninterpretedOption.NamePart.toObject = function(includeInstance, msg) { + var f, obj = { + namePart: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, + isExtension: (f = jspb.Message.getBooleanField(msg, 2)) == null ? undefined : f + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.google.protobuf.UninterpretedOption.NamePart} + */ +proto.google.protobuf.UninterpretedOption.NamePart.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.google.protobuf.UninterpretedOption.NamePart; + return proto.google.protobuf.UninterpretedOption.NamePart.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.google.protobuf.UninterpretedOption.NamePart} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.google.protobuf.UninterpretedOption.NamePart} + */ +proto.google.protobuf.UninterpretedOption.NamePart.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setNamePart(value); + break; + case 2: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setIsExtension(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.google.protobuf.UninterpretedOption.NamePart.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.google.protobuf.UninterpretedOption.NamePart.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.google.protobuf.UninterpretedOption.NamePart} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.protobuf.UninterpretedOption.NamePart.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = /** @type {string} */ (jspb.Message.getField(message, 1)); + if (f != null) { + writer.writeString( + 1, + f + ); + } + f = /** @type {boolean} */ (jspb.Message.getField(message, 2)); + if (f != null) { + writer.writeBool( + 2, + f + ); + } +}; + + +/** + * required string name_part = 1; + * @return {string} + */ +proto.google.protobuf.UninterpretedOption.NamePart.prototype.getNamePart = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.protobuf.UninterpretedOption.NamePart} returns this + */ +proto.google.protobuf.UninterpretedOption.NamePart.prototype.setNamePart = function(value) { + return jspb.Message.setField(this, 1, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.protobuf.UninterpretedOption.NamePart} returns this + */ +proto.google.protobuf.UninterpretedOption.NamePart.prototype.clearNamePart = function() { + return jspb.Message.setField(this, 1, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.protobuf.UninterpretedOption.NamePart.prototype.hasNamePart = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * required bool is_extension = 2; + * @return {boolean} + */ +proto.google.protobuf.UninterpretedOption.NamePart.prototype.getIsExtension = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.google.protobuf.UninterpretedOption.NamePart} returns this + */ +proto.google.protobuf.UninterpretedOption.NamePart.prototype.setIsExtension = function(value) { + return jspb.Message.setField(this, 2, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.protobuf.UninterpretedOption.NamePart} returns this + */ +proto.google.protobuf.UninterpretedOption.NamePart.prototype.clearIsExtension = function() { + return jspb.Message.setField(this, 2, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.protobuf.UninterpretedOption.NamePart.prototype.hasIsExtension = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * repeated NamePart name = 2; + * @return {!Array} + */ +proto.google.protobuf.UninterpretedOption.prototype.getNameList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.google.protobuf.UninterpretedOption.NamePart, 2)); +}; + + +/** + * @param {!Array} value + * @return {!proto.google.protobuf.UninterpretedOption} returns this +*/ +proto.google.protobuf.UninterpretedOption.prototype.setNameList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 2, value); +}; + + +/** + * @param {!proto.google.protobuf.UninterpretedOption.NamePart=} opt_value + * @param {number=} opt_index + * @return {!proto.google.protobuf.UninterpretedOption.NamePart} + */ +proto.google.protobuf.UninterpretedOption.prototype.addName = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.google.protobuf.UninterpretedOption.NamePart, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.google.protobuf.UninterpretedOption} returns this + */ +proto.google.protobuf.UninterpretedOption.prototype.clearNameList = function() { + return this.setNameList([]); +}; + + +/** + * optional string identifier_value = 3; + * @return {string} + */ +proto.google.protobuf.UninterpretedOption.prototype.getIdentifierValue = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.protobuf.UninterpretedOption} returns this + */ +proto.google.protobuf.UninterpretedOption.prototype.setIdentifierValue = function(value) { + return jspb.Message.setField(this, 3, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.protobuf.UninterpretedOption} returns this + */ +proto.google.protobuf.UninterpretedOption.prototype.clearIdentifierValue = function() { + return jspb.Message.setField(this, 3, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.protobuf.UninterpretedOption.prototype.hasIdentifierValue = function() { + return jspb.Message.getField(this, 3) != null; +}; + + +/** + * optional uint64 positive_int_value = 4; + * @return {number} + */ +proto.google.protobuf.UninterpretedOption.prototype.getPositiveIntValue = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.google.protobuf.UninterpretedOption} returns this + */ +proto.google.protobuf.UninterpretedOption.prototype.setPositiveIntValue = function(value) { + return jspb.Message.setField(this, 4, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.protobuf.UninterpretedOption} returns this + */ +proto.google.protobuf.UninterpretedOption.prototype.clearPositiveIntValue = function() { + return jspb.Message.setField(this, 4, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.protobuf.UninterpretedOption.prototype.hasPositiveIntValue = function() { + return jspb.Message.getField(this, 4) != null; +}; + + +/** + * optional int64 negative_int_value = 5; + * @return {number} + */ +proto.google.protobuf.UninterpretedOption.prototype.getNegativeIntValue = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.google.protobuf.UninterpretedOption} returns this + */ +proto.google.protobuf.UninterpretedOption.prototype.setNegativeIntValue = function(value) { + return jspb.Message.setField(this, 5, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.protobuf.UninterpretedOption} returns this + */ +proto.google.protobuf.UninterpretedOption.prototype.clearNegativeIntValue = function() { + return jspb.Message.setField(this, 5, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.protobuf.UninterpretedOption.prototype.hasNegativeIntValue = function() { + return jspb.Message.getField(this, 5) != null; +}; + + +/** + * optional double double_value = 6; + * @return {number} + */ +proto.google.protobuf.UninterpretedOption.prototype.getDoubleValue = function() { + return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 6, 0.0)); +}; + + +/** + * @param {number} value + * @return {!proto.google.protobuf.UninterpretedOption} returns this + */ +proto.google.protobuf.UninterpretedOption.prototype.setDoubleValue = function(value) { + return jspb.Message.setField(this, 6, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.protobuf.UninterpretedOption} returns this + */ +proto.google.protobuf.UninterpretedOption.prototype.clearDoubleValue = function() { + return jspb.Message.setField(this, 6, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.protobuf.UninterpretedOption.prototype.hasDoubleValue = function() { + return jspb.Message.getField(this, 6) != null; +}; + + +/** + * optional bytes string_value = 7; + * @return {!(string|Uint8Array)} + */ +proto.google.protobuf.UninterpretedOption.prototype.getStringValue = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 7, "")); +}; + + +/** + * optional bytes string_value = 7; + * This is a type-conversion wrapper around `getStringValue()` + * @return {string} + */ +proto.google.protobuf.UninterpretedOption.prototype.getStringValue_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getStringValue())); +}; + + +/** + * optional bytes string_value = 7; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getStringValue()` + * @return {!Uint8Array} + */ +proto.google.protobuf.UninterpretedOption.prototype.getStringValue_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getStringValue())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.google.protobuf.UninterpretedOption} returns this + */ +proto.google.protobuf.UninterpretedOption.prototype.setStringValue = function(value) { + return jspb.Message.setField(this, 7, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.protobuf.UninterpretedOption} returns this + */ +proto.google.protobuf.UninterpretedOption.prototype.clearStringValue = function() { + return jspb.Message.setField(this, 7, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.protobuf.UninterpretedOption.prototype.hasStringValue = function() { + return jspb.Message.getField(this, 7) != null; +}; + + +/** + * optional string aggregate_value = 8; + * @return {string} + */ +proto.google.protobuf.UninterpretedOption.prototype.getAggregateValue = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.protobuf.UninterpretedOption} returns this + */ +proto.google.protobuf.UninterpretedOption.prototype.setAggregateValue = function(value) { + return jspb.Message.setField(this, 8, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.protobuf.UninterpretedOption} returns this + */ +proto.google.protobuf.UninterpretedOption.prototype.clearAggregateValue = function() { + return jspb.Message.setField(this, 8, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.protobuf.UninterpretedOption.prototype.hasAggregateValue = function() { + return jspb.Message.getField(this, 8) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.google.protobuf.FeatureSet.prototype.toObject = function(opt_includeInstance) { + return proto.google.protobuf.FeatureSet.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.google.protobuf.FeatureSet} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.protobuf.FeatureSet.toObject = function(includeInstance, msg) { + var f, obj = { + fieldPresence: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, + enumType: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, + repeatedFieldEncoding: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, + utf8Validation: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f, + messageEncoding: (f = jspb.Message.getField(msg, 5)) == null ? undefined : f, + jsonFormat: (f = jspb.Message.getField(msg, 6)) == null ? undefined : f + }; + + jspb.Message.toObjectExtension(/** @type {!jspb.Message} */ (msg), obj, + proto.google.protobuf.FeatureSet.extensions, proto.google.protobuf.FeatureSet.prototype.getExtension, + includeInstance); + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.google.protobuf.FeatureSet} + */ +proto.google.protobuf.FeatureSet.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.google.protobuf.FeatureSet; + return proto.google.protobuf.FeatureSet.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.google.protobuf.FeatureSet} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.google.protobuf.FeatureSet} + */ +proto.google.protobuf.FeatureSet.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {!proto.google.protobuf.FeatureSet.FieldPresence} */ (reader.readEnum()); + msg.setFieldPresence(value); + break; + case 2: + var value = /** @type {!proto.google.protobuf.FeatureSet.EnumType} */ (reader.readEnum()); + msg.setEnumType(value); + break; + case 3: + var value = /** @type {!proto.google.protobuf.FeatureSet.RepeatedFieldEncoding} */ (reader.readEnum()); + msg.setRepeatedFieldEncoding(value); + break; + case 4: + var value = /** @type {!proto.google.protobuf.FeatureSet.Utf8Validation} */ (reader.readEnum()); + msg.setUtf8Validation(value); + break; + case 5: + var value = /** @type {!proto.google.protobuf.FeatureSet.MessageEncoding} */ (reader.readEnum()); + msg.setMessageEncoding(value); + break; + case 6: + var value = /** @type {!proto.google.protobuf.FeatureSet.JsonFormat} */ (reader.readEnum()); + msg.setJsonFormat(value); + break; + default: + jspb.Message.readBinaryExtension(msg, reader, + proto.google.protobuf.FeatureSet.extensionsBinary, + proto.google.protobuf.FeatureSet.prototype.getExtension, + proto.google.protobuf.FeatureSet.prototype.setExtension); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.google.protobuf.FeatureSet.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.google.protobuf.FeatureSet.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.google.protobuf.FeatureSet} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.protobuf.FeatureSet.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = /** @type {!proto.google.protobuf.FeatureSet.FieldPresence} */ (jspb.Message.getField(message, 1)); + if (f != null) { + writer.writeEnum( + 1, + f + ); + } + f = /** @type {!proto.google.protobuf.FeatureSet.EnumType} */ (jspb.Message.getField(message, 2)); + if (f != null) { + writer.writeEnum( + 2, + f + ); + } + f = /** @type {!proto.google.protobuf.FeatureSet.RepeatedFieldEncoding} */ (jspb.Message.getField(message, 3)); + if (f != null) { + writer.writeEnum( + 3, + f + ); + } + f = /** @type {!proto.google.protobuf.FeatureSet.Utf8Validation} */ (jspb.Message.getField(message, 4)); + if (f != null) { + writer.writeEnum( + 4, + f + ); + } + f = /** @type {!proto.google.protobuf.FeatureSet.MessageEncoding} */ (jspb.Message.getField(message, 5)); + if (f != null) { + writer.writeEnum( + 5, + f + ); + } + f = /** @type {!proto.google.protobuf.FeatureSet.JsonFormat} */ (jspb.Message.getField(message, 6)); + if (f != null) { + writer.writeEnum( + 6, + f + ); + } + jspb.Message.serializeBinaryExtensions(message, writer, + proto.google.protobuf.FeatureSet.extensionsBinary, proto.google.protobuf.FeatureSet.prototype.getExtension); +}; + + +/** + * @enum {number} + */ +proto.google.protobuf.FeatureSet.FieldPresence = { + FIELD_PRESENCE_UNKNOWN: 0, + EXPLICIT: 1, + IMPLICIT: 2, + LEGACY_REQUIRED: 3 +}; + +/** + * @enum {number} + */ +proto.google.protobuf.FeatureSet.EnumType = { + ENUM_TYPE_UNKNOWN: 0, + OPEN: 1, + CLOSED: 2 +}; + +/** + * @enum {number} + */ +proto.google.protobuf.FeatureSet.RepeatedFieldEncoding = { + REPEATED_FIELD_ENCODING_UNKNOWN: 0, + PACKED: 1, + EXPANDED: 2 +}; + +/** + * @enum {number} + */ +proto.google.protobuf.FeatureSet.Utf8Validation = { + UTF8_VALIDATION_UNKNOWN: 0, + VERIFY: 2, + NONE: 3 +}; + +/** + * @enum {number} + */ +proto.google.protobuf.FeatureSet.MessageEncoding = { + MESSAGE_ENCODING_UNKNOWN: 0, + LENGTH_PREFIXED: 1, + DELIMITED: 2 +}; + +/** + * @enum {number} + */ +proto.google.protobuf.FeatureSet.JsonFormat = { + JSON_FORMAT_UNKNOWN: 0, + ALLOW: 1, + LEGACY_BEST_EFFORT: 2 +}; + +/** + * optional FieldPresence field_presence = 1; + * @return {!proto.google.protobuf.FeatureSet.FieldPresence} + */ +proto.google.protobuf.FeatureSet.prototype.getFieldPresence = function() { + return /** @type {!proto.google.protobuf.FeatureSet.FieldPresence} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); +}; + + +/** + * @param {!proto.google.protobuf.FeatureSet.FieldPresence} value + * @return {!proto.google.protobuf.FeatureSet} returns this + */ +proto.google.protobuf.FeatureSet.prototype.setFieldPresence = function(value) { + return jspb.Message.setField(this, 1, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.protobuf.FeatureSet} returns this + */ +proto.google.protobuf.FeatureSet.prototype.clearFieldPresence = function() { + return jspb.Message.setField(this, 1, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.protobuf.FeatureSet.prototype.hasFieldPresence = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional EnumType enum_type = 2; + * @return {!proto.google.protobuf.FeatureSet.EnumType} + */ +proto.google.protobuf.FeatureSet.prototype.getEnumType = function() { + return /** @type {!proto.google.protobuf.FeatureSet.EnumType} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); +}; + + +/** + * @param {!proto.google.protobuf.FeatureSet.EnumType} value + * @return {!proto.google.protobuf.FeatureSet} returns this + */ +proto.google.protobuf.FeatureSet.prototype.setEnumType = function(value) { + return jspb.Message.setField(this, 2, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.protobuf.FeatureSet} returns this + */ +proto.google.protobuf.FeatureSet.prototype.clearEnumType = function() { + return jspb.Message.setField(this, 2, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.protobuf.FeatureSet.prototype.hasEnumType = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional RepeatedFieldEncoding repeated_field_encoding = 3; + * @return {!proto.google.protobuf.FeatureSet.RepeatedFieldEncoding} + */ +proto.google.protobuf.FeatureSet.prototype.getRepeatedFieldEncoding = function() { + return /** @type {!proto.google.protobuf.FeatureSet.RepeatedFieldEncoding} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); +}; + + +/** + * @param {!proto.google.protobuf.FeatureSet.RepeatedFieldEncoding} value + * @return {!proto.google.protobuf.FeatureSet} returns this + */ +proto.google.protobuf.FeatureSet.prototype.setRepeatedFieldEncoding = function(value) { + return jspb.Message.setField(this, 3, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.protobuf.FeatureSet} returns this + */ +proto.google.protobuf.FeatureSet.prototype.clearRepeatedFieldEncoding = function() { + return jspb.Message.setField(this, 3, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.protobuf.FeatureSet.prototype.hasRepeatedFieldEncoding = function() { + return jspb.Message.getField(this, 3) != null; +}; + + +/** + * optional Utf8Validation utf8_validation = 4; + * @return {!proto.google.protobuf.FeatureSet.Utf8Validation} + */ +proto.google.protobuf.FeatureSet.prototype.getUtf8Validation = function() { + return /** @type {!proto.google.protobuf.FeatureSet.Utf8Validation} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); +}; + + +/** + * @param {!proto.google.protobuf.FeatureSet.Utf8Validation} value + * @return {!proto.google.protobuf.FeatureSet} returns this + */ +proto.google.protobuf.FeatureSet.prototype.setUtf8Validation = function(value) { + return jspb.Message.setField(this, 4, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.protobuf.FeatureSet} returns this + */ +proto.google.protobuf.FeatureSet.prototype.clearUtf8Validation = function() { + return jspb.Message.setField(this, 4, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.protobuf.FeatureSet.prototype.hasUtf8Validation = function() { + return jspb.Message.getField(this, 4) != null; +}; + + +/** + * optional MessageEncoding message_encoding = 5; + * @return {!proto.google.protobuf.FeatureSet.MessageEncoding} + */ +proto.google.protobuf.FeatureSet.prototype.getMessageEncoding = function() { + return /** @type {!proto.google.protobuf.FeatureSet.MessageEncoding} */ (jspb.Message.getFieldWithDefault(this, 5, 0)); +}; + + +/** + * @param {!proto.google.protobuf.FeatureSet.MessageEncoding} value + * @return {!proto.google.protobuf.FeatureSet} returns this + */ +proto.google.protobuf.FeatureSet.prototype.setMessageEncoding = function(value) { + return jspb.Message.setField(this, 5, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.protobuf.FeatureSet} returns this + */ +proto.google.protobuf.FeatureSet.prototype.clearMessageEncoding = function() { + return jspb.Message.setField(this, 5, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.protobuf.FeatureSet.prototype.hasMessageEncoding = function() { + return jspb.Message.getField(this, 5) != null; +}; + + +/** + * optional JsonFormat json_format = 6; + * @return {!proto.google.protobuf.FeatureSet.JsonFormat} + */ +proto.google.protobuf.FeatureSet.prototype.getJsonFormat = function() { + return /** @type {!proto.google.protobuf.FeatureSet.JsonFormat} */ (jspb.Message.getFieldWithDefault(this, 6, 0)); +}; + + +/** + * @param {!proto.google.protobuf.FeatureSet.JsonFormat} value + * @return {!proto.google.protobuf.FeatureSet} returns this + */ +proto.google.protobuf.FeatureSet.prototype.setJsonFormat = function(value) { + return jspb.Message.setField(this, 6, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.protobuf.FeatureSet} returns this + */ +proto.google.protobuf.FeatureSet.prototype.clearJsonFormat = function() { + return jspb.Message.setField(this, 6, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.protobuf.FeatureSet.prototype.hasJsonFormat = function() { + return jspb.Message.getField(this, 6) != null; +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.google.protobuf.FeatureSetDefaults.repeatedFields_ = [1]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.google.protobuf.FeatureSetDefaults.prototype.toObject = function(opt_includeInstance) { + return proto.google.protobuf.FeatureSetDefaults.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.google.protobuf.FeatureSetDefaults} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.protobuf.FeatureSetDefaults.toObject = function(includeInstance, msg) { + var f, obj = { + defaultsList: jspb.Message.toObjectList(msg.getDefaultsList(), + proto.google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.toObject, includeInstance), + minimumEdition: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f, + maximumEdition: (f = jspb.Message.getField(msg, 5)) == null ? undefined : f + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.google.protobuf.FeatureSetDefaults} + */ +proto.google.protobuf.FeatureSetDefaults.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.google.protobuf.FeatureSetDefaults; + return proto.google.protobuf.FeatureSetDefaults.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.google.protobuf.FeatureSetDefaults} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.google.protobuf.FeatureSetDefaults} + */ +proto.google.protobuf.FeatureSetDefaults.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault; + reader.readMessage(value,proto.google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.deserializeBinaryFromReader); + msg.addDefaults(value); + break; + case 4: + var value = /** @type {!proto.google.protobuf.Edition} */ (reader.readEnum()); + msg.setMinimumEdition(value); + break; + case 5: + var value = /** @type {!proto.google.protobuf.Edition} */ (reader.readEnum()); + msg.setMaximumEdition(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.google.protobuf.FeatureSetDefaults.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.google.protobuf.FeatureSetDefaults.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.google.protobuf.FeatureSetDefaults} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.protobuf.FeatureSetDefaults.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getDefaultsList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 1, + f, + proto.google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.serializeBinaryToWriter + ); + } + f = /** @type {!proto.google.protobuf.Edition} */ (jspb.Message.getField(message, 4)); + if (f != null) { + writer.writeEnum( + 4, + f + ); + } + f = /** @type {!proto.google.protobuf.Edition} */ (jspb.Message.getField(message, 5)); + if (f != null) { + writer.writeEnum( + 5, + f + ); + } +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.prototype.toObject = function(opt_includeInstance) { + return proto.google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.toObject = function(includeInstance, msg) { + var f, obj = { + edition: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, + overridableFeatures: (f = msg.getOverridableFeatures()) && proto.google.protobuf.FeatureSet.toObject(includeInstance, f), + fixedFeatures: (f = msg.getFixedFeatures()) && proto.google.protobuf.FeatureSet.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault} + */ +proto.google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault; + return proto.google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault} + */ +proto.google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 3: + var value = /** @type {!proto.google.protobuf.Edition} */ (reader.readEnum()); + msg.setEdition(value); + break; + case 4: + var value = new proto.google.protobuf.FeatureSet; + reader.readMessage(value,proto.google.protobuf.FeatureSet.deserializeBinaryFromReader); + msg.setOverridableFeatures(value); + break; + case 5: + var value = new proto.google.protobuf.FeatureSet; + reader.readMessage(value,proto.google.protobuf.FeatureSet.deserializeBinaryFromReader); + msg.setFixedFeatures(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = /** @type {!proto.google.protobuf.Edition} */ (jspb.Message.getField(message, 3)); + if (f != null) { + writer.writeEnum( + 3, + f + ); + } + f = message.getOverridableFeatures(); + if (f != null) { + writer.writeMessage( + 4, + f, + proto.google.protobuf.FeatureSet.serializeBinaryToWriter + ); + } + f = message.getFixedFeatures(); + if (f != null) { + writer.writeMessage( + 5, + f, + proto.google.protobuf.FeatureSet.serializeBinaryToWriter + ); + } +}; + + +/** + * optional Edition edition = 3; + * @return {!proto.google.protobuf.Edition} + */ +proto.google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.prototype.getEdition = function() { + return /** @type {!proto.google.protobuf.Edition} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); +}; + + +/** + * @param {!proto.google.protobuf.Edition} value + * @return {!proto.google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault} returns this + */ +proto.google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.prototype.setEdition = function(value) { + return jspb.Message.setField(this, 3, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault} returns this + */ +proto.google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.prototype.clearEdition = function() { + return jspb.Message.setField(this, 3, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.prototype.hasEdition = function() { + return jspb.Message.getField(this, 3) != null; +}; + + +/** + * optional FeatureSet overridable_features = 4; + * @return {?proto.google.protobuf.FeatureSet} + */ +proto.google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.prototype.getOverridableFeatures = function() { + return /** @type{?proto.google.protobuf.FeatureSet} */ ( + jspb.Message.getWrapperField(this, proto.google.protobuf.FeatureSet, 4)); +}; + + +/** + * @param {?proto.google.protobuf.FeatureSet|undefined} value + * @return {!proto.google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault} returns this +*/ +proto.google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.prototype.setOverridableFeatures = function(value) { + return jspb.Message.setWrapperField(this, 4, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault} returns this + */ +proto.google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.prototype.clearOverridableFeatures = function() { + return this.setOverridableFeatures(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.prototype.hasOverridableFeatures = function() { + return jspb.Message.getField(this, 4) != null; +}; + + +/** + * optional FeatureSet fixed_features = 5; + * @return {?proto.google.protobuf.FeatureSet} + */ +proto.google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.prototype.getFixedFeatures = function() { + return /** @type{?proto.google.protobuf.FeatureSet} */ ( + jspb.Message.getWrapperField(this, proto.google.protobuf.FeatureSet, 5)); +}; + + +/** + * @param {?proto.google.protobuf.FeatureSet|undefined} value + * @return {!proto.google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault} returns this +*/ +proto.google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.prototype.setFixedFeatures = function(value) { + return jspb.Message.setWrapperField(this, 5, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault} returns this + */ +proto.google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.prototype.clearFixedFeatures = function() { + return this.setFixedFeatures(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.prototype.hasFixedFeatures = function() { + return jspb.Message.getField(this, 5) != null; +}; + + +/** + * repeated FeatureSetEditionDefault defaults = 1; + * @return {!Array} + */ +proto.google.protobuf.FeatureSetDefaults.prototype.getDefaultsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault, 1)); +}; + + +/** + * @param {!Array} value + * @return {!proto.google.protobuf.FeatureSetDefaults} returns this +*/ +proto.google.protobuf.FeatureSetDefaults.prototype.setDefaultsList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 1, value); +}; + + +/** + * @param {!proto.google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault=} opt_value + * @param {number=} opt_index + * @return {!proto.google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault} + */ +proto.google.protobuf.FeatureSetDefaults.prototype.addDefaults = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.google.protobuf.FeatureSetDefaults} returns this + */ +proto.google.protobuf.FeatureSetDefaults.prototype.clearDefaultsList = function() { + return this.setDefaultsList([]); +}; + + +/** + * optional Edition minimum_edition = 4; + * @return {!proto.google.protobuf.Edition} + */ +proto.google.protobuf.FeatureSetDefaults.prototype.getMinimumEdition = function() { + return /** @type {!proto.google.protobuf.Edition} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); +}; + + +/** + * @param {!proto.google.protobuf.Edition} value + * @return {!proto.google.protobuf.FeatureSetDefaults} returns this + */ +proto.google.protobuf.FeatureSetDefaults.prototype.setMinimumEdition = function(value) { + return jspb.Message.setField(this, 4, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.protobuf.FeatureSetDefaults} returns this + */ +proto.google.protobuf.FeatureSetDefaults.prototype.clearMinimumEdition = function() { + return jspb.Message.setField(this, 4, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.protobuf.FeatureSetDefaults.prototype.hasMinimumEdition = function() { + return jspb.Message.getField(this, 4) != null; +}; + + +/** + * optional Edition maximum_edition = 5; + * @return {!proto.google.protobuf.Edition} + */ +proto.google.protobuf.FeatureSetDefaults.prototype.getMaximumEdition = function() { + return /** @type {!proto.google.protobuf.Edition} */ (jspb.Message.getFieldWithDefault(this, 5, 0)); +}; + + +/** + * @param {!proto.google.protobuf.Edition} value + * @return {!proto.google.protobuf.FeatureSetDefaults} returns this + */ +proto.google.protobuf.FeatureSetDefaults.prototype.setMaximumEdition = function(value) { + return jspb.Message.setField(this, 5, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.protobuf.FeatureSetDefaults} returns this + */ +proto.google.protobuf.FeatureSetDefaults.prototype.clearMaximumEdition = function() { + return jspb.Message.setField(this, 5, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.protobuf.FeatureSetDefaults.prototype.hasMaximumEdition = function() { + return jspb.Message.getField(this, 5) != null; +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.google.protobuf.SourceCodeInfo.repeatedFields_ = [1]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.google.protobuf.SourceCodeInfo.prototype.toObject = function(opt_includeInstance) { + return proto.google.protobuf.SourceCodeInfo.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.google.protobuf.SourceCodeInfo} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.protobuf.SourceCodeInfo.toObject = function(includeInstance, msg) { + var f, obj = { + locationList: jspb.Message.toObjectList(msg.getLocationList(), + proto.google.protobuf.SourceCodeInfo.Location.toObject, includeInstance) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.google.protobuf.SourceCodeInfo} + */ +proto.google.protobuf.SourceCodeInfo.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.google.protobuf.SourceCodeInfo; + return proto.google.protobuf.SourceCodeInfo.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.google.protobuf.SourceCodeInfo} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.google.protobuf.SourceCodeInfo} + */ +proto.google.protobuf.SourceCodeInfo.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.google.protobuf.SourceCodeInfo.Location; + reader.readMessage(value,proto.google.protobuf.SourceCodeInfo.Location.deserializeBinaryFromReader); + msg.addLocation(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.google.protobuf.SourceCodeInfo.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.google.protobuf.SourceCodeInfo.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.google.protobuf.SourceCodeInfo} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.protobuf.SourceCodeInfo.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getLocationList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 1, + f, + proto.google.protobuf.SourceCodeInfo.Location.serializeBinaryToWriter + ); + } +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.google.protobuf.SourceCodeInfo.Location.repeatedFields_ = [1,2,6]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.google.protobuf.SourceCodeInfo.Location.prototype.toObject = function(opt_includeInstance) { + return proto.google.protobuf.SourceCodeInfo.Location.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.google.protobuf.SourceCodeInfo.Location} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.protobuf.SourceCodeInfo.Location.toObject = function(includeInstance, msg) { + var f, obj = { + pathList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f, + spanList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f, + leadingComments: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, + trailingComments: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f, + leadingDetachedCommentsList: (f = jspb.Message.getRepeatedField(msg, 6)) == null ? undefined : f + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.google.protobuf.SourceCodeInfo.Location} + */ +proto.google.protobuf.SourceCodeInfo.Location.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.google.protobuf.SourceCodeInfo.Location; + return proto.google.protobuf.SourceCodeInfo.Location.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.google.protobuf.SourceCodeInfo.Location} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.google.protobuf.SourceCodeInfo.Location} + */ +proto.google.protobuf.SourceCodeInfo.Location.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]); + for (var i = 0; i < values.length; i++) { + msg.addPath(values[i]); + } + break; + case 2: + var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]); + for (var i = 0; i < values.length; i++) { + msg.addSpan(values[i]); + } + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setLeadingComments(value); + break; + case 4: + var value = /** @type {string} */ (reader.readString()); + msg.setTrailingComments(value); + break; + case 6: + var value = /** @type {string} */ (reader.readString()); + msg.addLeadingDetachedComments(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.google.protobuf.SourceCodeInfo.Location.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.google.protobuf.SourceCodeInfo.Location.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.google.protobuf.SourceCodeInfo.Location} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.protobuf.SourceCodeInfo.Location.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getPathList(); + if (f.length > 0) { + writer.writePackedInt32( + 1, + f + ); + } + f = message.getSpanList(); + if (f.length > 0) { + writer.writePackedInt32( + 2, + f + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 3)); + if (f != null) { + writer.writeString( + 3, + f + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 4)); + if (f != null) { + writer.writeString( + 4, + f + ); + } + f = message.getLeadingDetachedCommentsList(); + if (f.length > 0) { + writer.writeRepeatedString( + 6, + f + ); + } +}; + + +/** + * repeated int32 path = 1; + * @return {!Array} + */ +proto.google.protobuf.SourceCodeInfo.Location.prototype.getPathList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 1)); +}; + + +/** + * @param {!Array} value + * @return {!proto.google.protobuf.SourceCodeInfo.Location} returns this + */ +proto.google.protobuf.SourceCodeInfo.Location.prototype.setPathList = function(value) { + return jspb.Message.setField(this, 1, value || []); +}; + + +/** + * @param {number} value + * @param {number=} opt_index + * @return {!proto.google.protobuf.SourceCodeInfo.Location} returns this + */ +proto.google.protobuf.SourceCodeInfo.Location.prototype.addPath = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 1, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.google.protobuf.SourceCodeInfo.Location} returns this + */ +proto.google.protobuf.SourceCodeInfo.Location.prototype.clearPathList = function() { + return this.setPathList([]); +}; + + +/** + * repeated int32 span = 2; + * @return {!Array} + */ +proto.google.protobuf.SourceCodeInfo.Location.prototype.getSpanList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 2)); +}; + + +/** + * @param {!Array} value + * @return {!proto.google.protobuf.SourceCodeInfo.Location} returns this + */ +proto.google.protobuf.SourceCodeInfo.Location.prototype.setSpanList = function(value) { + return jspb.Message.setField(this, 2, value || []); +}; + + +/** + * @param {number} value + * @param {number=} opt_index + * @return {!proto.google.protobuf.SourceCodeInfo.Location} returns this + */ +proto.google.protobuf.SourceCodeInfo.Location.prototype.addSpan = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 2, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.google.protobuf.SourceCodeInfo.Location} returns this + */ +proto.google.protobuf.SourceCodeInfo.Location.prototype.clearSpanList = function() { + return this.setSpanList([]); +}; + + +/** + * optional string leading_comments = 3; + * @return {string} + */ +proto.google.protobuf.SourceCodeInfo.Location.prototype.getLeadingComments = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.protobuf.SourceCodeInfo.Location} returns this + */ +proto.google.protobuf.SourceCodeInfo.Location.prototype.setLeadingComments = function(value) { + return jspb.Message.setField(this, 3, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.protobuf.SourceCodeInfo.Location} returns this + */ +proto.google.protobuf.SourceCodeInfo.Location.prototype.clearLeadingComments = function() { + return jspb.Message.setField(this, 3, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.protobuf.SourceCodeInfo.Location.prototype.hasLeadingComments = function() { + return jspb.Message.getField(this, 3) != null; +}; + + +/** + * optional string trailing_comments = 4; + * @return {string} + */ +proto.google.protobuf.SourceCodeInfo.Location.prototype.getTrailingComments = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.protobuf.SourceCodeInfo.Location} returns this + */ +proto.google.protobuf.SourceCodeInfo.Location.prototype.setTrailingComments = function(value) { + return jspb.Message.setField(this, 4, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.protobuf.SourceCodeInfo.Location} returns this + */ +proto.google.protobuf.SourceCodeInfo.Location.prototype.clearTrailingComments = function() { + return jspb.Message.setField(this, 4, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.protobuf.SourceCodeInfo.Location.prototype.hasTrailingComments = function() { + return jspb.Message.getField(this, 4) != null; +}; + + +/** + * repeated string leading_detached_comments = 6; + * @return {!Array} + */ +proto.google.protobuf.SourceCodeInfo.Location.prototype.getLeadingDetachedCommentsList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 6)); +}; + + +/** + * @param {!Array} value + * @return {!proto.google.protobuf.SourceCodeInfo.Location} returns this + */ +proto.google.protobuf.SourceCodeInfo.Location.prototype.setLeadingDetachedCommentsList = function(value) { + return jspb.Message.setField(this, 6, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.google.protobuf.SourceCodeInfo.Location} returns this + */ +proto.google.protobuf.SourceCodeInfo.Location.prototype.addLeadingDetachedComments = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 6, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.google.protobuf.SourceCodeInfo.Location} returns this + */ +proto.google.protobuf.SourceCodeInfo.Location.prototype.clearLeadingDetachedCommentsList = function() { + return this.setLeadingDetachedCommentsList([]); +}; + + +/** + * repeated Location location = 1; + * @return {!Array} + */ +proto.google.protobuf.SourceCodeInfo.prototype.getLocationList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.google.protobuf.SourceCodeInfo.Location, 1)); +}; + + +/** + * @param {!Array} value + * @return {!proto.google.protobuf.SourceCodeInfo} returns this +*/ +proto.google.protobuf.SourceCodeInfo.prototype.setLocationList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 1, value); +}; + + +/** + * @param {!proto.google.protobuf.SourceCodeInfo.Location=} opt_value + * @param {number=} opt_index + * @return {!proto.google.protobuf.SourceCodeInfo.Location} + */ +proto.google.protobuf.SourceCodeInfo.prototype.addLocation = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.google.protobuf.SourceCodeInfo.Location, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.google.protobuf.SourceCodeInfo} returns this + */ +proto.google.protobuf.SourceCodeInfo.prototype.clearLocationList = function() { + return this.setLocationList([]); +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.google.protobuf.GeneratedCodeInfo.repeatedFields_ = [1]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.google.protobuf.GeneratedCodeInfo.prototype.toObject = function(opt_includeInstance) { + return proto.google.protobuf.GeneratedCodeInfo.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.google.protobuf.GeneratedCodeInfo} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.protobuf.GeneratedCodeInfo.toObject = function(includeInstance, msg) { + var f, obj = { + annotationList: jspb.Message.toObjectList(msg.getAnnotationList(), + proto.google.protobuf.GeneratedCodeInfo.Annotation.toObject, includeInstance) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.google.protobuf.GeneratedCodeInfo} + */ +proto.google.protobuf.GeneratedCodeInfo.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.google.protobuf.GeneratedCodeInfo; + return proto.google.protobuf.GeneratedCodeInfo.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.google.protobuf.GeneratedCodeInfo} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.google.protobuf.GeneratedCodeInfo} + */ +proto.google.protobuf.GeneratedCodeInfo.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.google.protobuf.GeneratedCodeInfo.Annotation; + reader.readMessage(value,proto.google.protobuf.GeneratedCodeInfo.Annotation.deserializeBinaryFromReader); + msg.addAnnotation(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.google.protobuf.GeneratedCodeInfo.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.google.protobuf.GeneratedCodeInfo.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.google.protobuf.GeneratedCodeInfo} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.protobuf.GeneratedCodeInfo.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getAnnotationList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 1, + f, + proto.google.protobuf.GeneratedCodeInfo.Annotation.serializeBinaryToWriter + ); + } +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.google.protobuf.GeneratedCodeInfo.Annotation.repeatedFields_ = [1]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.toObject = function(opt_includeInstance) { + return proto.google.protobuf.GeneratedCodeInfo.Annotation.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.google.protobuf.GeneratedCodeInfo.Annotation} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.protobuf.GeneratedCodeInfo.Annotation.toObject = function(includeInstance, msg) { + var f, obj = { + pathList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f, + sourceFile: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, + begin: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, + end: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f, + semantic: (f = jspb.Message.getField(msg, 5)) == null ? undefined : f + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.google.protobuf.GeneratedCodeInfo.Annotation} + */ +proto.google.protobuf.GeneratedCodeInfo.Annotation.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.google.protobuf.GeneratedCodeInfo.Annotation; + return proto.google.protobuf.GeneratedCodeInfo.Annotation.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.google.protobuf.GeneratedCodeInfo.Annotation} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.google.protobuf.GeneratedCodeInfo.Annotation} + */ +proto.google.protobuf.GeneratedCodeInfo.Annotation.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]); + for (var i = 0; i < values.length; i++) { + msg.addPath(values[i]); + } + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setSourceFile(value); + break; + case 3: + var value = /** @type {number} */ (reader.readInt32()); + msg.setBegin(value); + break; + case 4: + var value = /** @type {number} */ (reader.readInt32()); + msg.setEnd(value); + break; + case 5: + var value = /** @type {!proto.google.protobuf.GeneratedCodeInfo.Annotation.Semantic} */ (reader.readEnum()); + msg.setSemantic(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.google.protobuf.GeneratedCodeInfo.Annotation.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.google.protobuf.GeneratedCodeInfo.Annotation} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.google.protobuf.GeneratedCodeInfo.Annotation.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getPathList(); + if (f.length > 0) { + writer.writePackedInt32( + 1, + f + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 2)); + if (f != null) { + writer.writeString( + 2, + f + ); + } + f = /** @type {number} */ (jspb.Message.getField(message, 3)); + if (f != null) { + writer.writeInt32( + 3, + f + ); + } + f = /** @type {number} */ (jspb.Message.getField(message, 4)); + if (f != null) { + writer.writeInt32( + 4, + f + ); + } + f = /** @type {!proto.google.protobuf.GeneratedCodeInfo.Annotation.Semantic} */ (jspb.Message.getField(message, 5)); + if (f != null) { + writer.writeEnum( + 5, + f + ); + } +}; + + +/** + * @enum {number} + */ +proto.google.protobuf.GeneratedCodeInfo.Annotation.Semantic = { + NONE: 0, + SET: 1, + ALIAS: 2 +}; + +/** + * repeated int32 path = 1; + * @return {!Array} + */ +proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.getPathList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 1)); +}; + + +/** + * @param {!Array} value + * @return {!proto.google.protobuf.GeneratedCodeInfo.Annotation} returns this + */ +proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.setPathList = function(value) { + return jspb.Message.setField(this, 1, value || []); +}; + + +/** + * @param {number} value + * @param {number=} opt_index + * @return {!proto.google.protobuf.GeneratedCodeInfo.Annotation} returns this + */ +proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.addPath = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 1, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.google.protobuf.GeneratedCodeInfo.Annotation} returns this + */ +proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.clearPathList = function() { + return this.setPathList([]); +}; + + +/** + * optional string source_file = 2; + * @return {string} + */ +proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.getSourceFile = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.google.protobuf.GeneratedCodeInfo.Annotation} returns this + */ +proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.setSourceFile = function(value) { + return jspb.Message.setField(this, 2, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.protobuf.GeneratedCodeInfo.Annotation} returns this + */ +proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.clearSourceFile = function() { + return jspb.Message.setField(this, 2, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.hasSourceFile = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional int32 begin = 3; + * @return {number} + */ +proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.getBegin = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.google.protobuf.GeneratedCodeInfo.Annotation} returns this + */ +proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.setBegin = function(value) { + return jspb.Message.setField(this, 3, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.protobuf.GeneratedCodeInfo.Annotation} returns this + */ +proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.clearBegin = function() { + return jspb.Message.setField(this, 3, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.hasBegin = function() { + return jspb.Message.getField(this, 3) != null; +}; + + +/** + * optional int32 end = 4; + * @return {number} + */ +proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.getEnd = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.google.protobuf.GeneratedCodeInfo.Annotation} returns this + */ +proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.setEnd = function(value) { + return jspb.Message.setField(this, 4, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.protobuf.GeneratedCodeInfo.Annotation} returns this + */ +proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.clearEnd = function() { + return jspb.Message.setField(this, 4, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.hasEnd = function() { + return jspb.Message.getField(this, 4) != null; +}; + + +/** + * optional Semantic semantic = 5; + * @return {!proto.google.protobuf.GeneratedCodeInfo.Annotation.Semantic} + */ +proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.getSemantic = function() { + return /** @type {!proto.google.protobuf.GeneratedCodeInfo.Annotation.Semantic} */ (jspb.Message.getFieldWithDefault(this, 5, 0)); +}; + + +/** + * @param {!proto.google.protobuf.GeneratedCodeInfo.Annotation.Semantic} value + * @return {!proto.google.protobuf.GeneratedCodeInfo.Annotation} returns this + */ +proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.setSemantic = function(value) { + return jspb.Message.setField(this, 5, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.google.protobuf.GeneratedCodeInfo.Annotation} returns this + */ +proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.clearSemantic = function() { + return jspb.Message.setField(this, 5, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.hasSemantic = function() { + return jspb.Message.getField(this, 5) != null; +}; + + +/** + * repeated Annotation annotation = 1; + * @return {!Array} + */ +proto.google.protobuf.GeneratedCodeInfo.prototype.getAnnotationList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.google.protobuf.GeneratedCodeInfo.Annotation, 1)); +}; + + +/** + * @param {!Array} value + * @return {!proto.google.protobuf.GeneratedCodeInfo} returns this +*/ +proto.google.protobuf.GeneratedCodeInfo.prototype.setAnnotationList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 1, value); +}; + + +/** + * @param {!proto.google.protobuf.GeneratedCodeInfo.Annotation=} opt_value + * @param {number=} opt_index + * @return {!proto.google.protobuf.GeneratedCodeInfo.Annotation} + */ +proto.google.protobuf.GeneratedCodeInfo.prototype.addAnnotation = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.google.protobuf.GeneratedCodeInfo.Annotation, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.google.protobuf.GeneratedCodeInfo} returns this + */ +proto.google.protobuf.GeneratedCodeInfo.prototype.clearAnnotationList = function() { + return this.setAnnotationList([]); +}; + + +/** + * @enum {number} + */ +proto.google.protobuf.Edition = { + EDITION_UNKNOWN: 0, + EDITION_LEGACY: 900, + EDITION_PROTO2: 998, + EDITION_PROTO3: 999, + EDITION_2023: 1000, + EDITION_2024: 1001, + EDITION_1_TEST_ONLY: 1, + EDITION_2_TEST_ONLY: 2, + EDITION_99997_TEST_ONLY: 99997, + EDITION_99998_TEST_ONLY: 99998, + EDITION_99999_TEST_ONLY: 99999, + EDITION_MAX: 2147483647 +}; + +goog.object.extend(exports, proto.google.protobuf); diff --git a/gen/ts/libs/events/v1/options_pb.d.ts b/gen/ts/libs/events/v1/options_pb.d.ts new file mode 100644 index 000000000..0b15efd85 --- /dev/null +++ b/gen/ts/libs/events/v1/options_pb.d.ts @@ -0,0 +1,5 @@ +import * as jspb from 'google-protobuf' + +import * as google_protobuf_descriptor_pb from 'google-protobuf/google/protobuf/descriptor_pb'; // proto import: "google/protobuf/descriptor.proto" + + diff --git a/gen/ts/libs/events/v1/options_pb.js b/gen/ts/libs/events/v1/options_pb.js new file mode 100644 index 000000000..244c3f1df --- /dev/null +++ b/gen/ts/libs/events/v1/options_pb.js @@ -0,0 +1,52 @@ +// source: libs/events/v1/options.proto +/** + * @fileoverview + * @enhanceable + * @suppress {missingRequire} reports error on implicit type usages. + * @suppress {messageConventions} JS Compiler reports an error if a variable or + * field starts with 'MSG_' and isn't a translatable message. + * @public + */ +// GENERATED CODE -- DO NOT EDIT! +/* eslint-disable */ +// @ts-nocheck + +var jspb = require('google-protobuf'); +var goog = jspb; +var global = + (typeof globalThis !== 'undefined' && globalThis) || + (typeof window !== 'undefined' && window) || + (typeof global !== 'undefined' && global) || + (typeof self !== 'undefined' && self) || + (function () { return this; }).call(null) || + Function('return this')(); + +var google_protobuf_descriptor_pb = require('google-protobuf/google/protobuf/descriptor_pb.js'); +goog.object.extend(proto, google_protobuf_descriptor_pb); +goog.exportSymbol('proto.libs.events.v1.eventType', null, global); + +/** + * A tuple of {field number, class constructor} for the extension + * field named `eventType`. + * @type {!jspb.ExtensionFieldInfo} + */ +proto.libs.events.v1.eventType = new jspb.ExtensionFieldInfo( + 2123, + {eventType: 0}, + null, + /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( + null), + 0); + +google_protobuf_descriptor_pb.MessageOptions.extensionsBinary[2123] = new jspb.ExtensionFieldBinaryInfo( + proto.libs.events.v1.eventType, + jspb.BinaryReader.prototype.readString, + jspb.BinaryWriter.prototype.writeString, + undefined, + undefined, + false); +// This registers the extension field with the extended class, so that +// toObject() will function correctly. +google_protobuf_descriptor_pb.MessageOptions.extensions[2123] = proto.libs.events.v1.eventType; + +goog.object.extend(exports, proto.libs.events.v1); diff --git a/gen/ts/libs/technical_events/property_svc/v1/property_pb.d.ts b/gen/ts/libs/technical_events/property_svc/v1/property_pb.d.ts index f6eeb4d47..85cf4a3ce 100644 --- a/gen/ts/libs/technical_events/property_svc/v1/property_pb.d.ts +++ b/gen/ts/libs/technical_events/property_svc/v1/property_pb.d.ts @@ -1,22 +1,477 @@ import * as jspb from 'google-protobuf' +import * as libs_events_v1_options_pb from '../../../../libs/events/v1/options_pb'; // proto import: "libs/events/v1/options.proto" +import * as services_property_svc_v1_types_pb from '../../../../services/property_svc/v1/types_pb'; // proto import: "services/property_svc/v1/types.proto" -export class UpdateNameEvent extends jspb.Message { +export class PropertyCreatedEvent extends jspb.Message { + getId(): string; + setId(value: string): PropertyCreatedEvent; + + getSubjectType(): services_property_svc_v1_types_pb.SubjectType; + setSubjectType(value: services_property_svc_v1_types_pb.SubjectType): PropertyCreatedEvent; + + getFieldType(): services_property_svc_v1_types_pb.FieldType; + setFieldType(value: services_property_svc_v1_types_pb.FieldType): PropertyCreatedEvent; + getName(): string; - setName(value: string): UpdateNameEvent; + setName(value: string): PropertyCreatedEvent; serializeBinary(): Uint8Array; - toObject(includeInstance?: boolean): UpdateNameEvent.AsObject; - static toObject(includeInstance: boolean, msg: UpdateNameEvent): UpdateNameEvent.AsObject; - static serializeBinaryToWriter(message: UpdateNameEvent, writer: jspb.BinaryWriter): void; - static deserializeBinary(bytes: Uint8Array): UpdateNameEvent; - static deserializeBinaryFromReader(message: UpdateNameEvent, reader: jspb.BinaryReader): UpdateNameEvent; + toObject(includeInstance?: boolean): PropertyCreatedEvent.AsObject; + static toObject(includeInstance: boolean, msg: PropertyCreatedEvent): PropertyCreatedEvent.AsObject; + static serializeBinaryToWriter(message: PropertyCreatedEvent, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): PropertyCreatedEvent; + static deserializeBinaryFromReader(message: PropertyCreatedEvent, reader: jspb.BinaryReader): PropertyCreatedEvent; } -export namespace UpdateNameEvent { +export namespace PropertyCreatedEvent { export type AsObject = { + id: string, + subjectType: services_property_svc_v1_types_pb.SubjectType, + fieldType: services_property_svc_v1_types_pb.FieldType, name: string, } } +export class PropertyDescriptionUpdatedEvent extends jspb.Message { + getDescription(): string; + setDescription(value: string): PropertyDescriptionUpdatedEvent; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): PropertyDescriptionUpdatedEvent.AsObject; + static toObject(includeInstance: boolean, msg: PropertyDescriptionUpdatedEvent): PropertyDescriptionUpdatedEvent.AsObject; + static serializeBinaryToWriter(message: PropertyDescriptionUpdatedEvent, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): PropertyDescriptionUpdatedEvent; + static deserializeBinaryFromReader(message: PropertyDescriptionUpdatedEvent, reader: jspb.BinaryReader): PropertyDescriptionUpdatedEvent; +} + +export namespace PropertyDescriptionUpdatedEvent { + export type AsObject = { + description: string, + } +} + +export class PropertySetIDUpdatedEvent extends jspb.Message { + getSetId(): string; + setSetId(value: string): PropertySetIDUpdatedEvent; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): PropertySetIDUpdatedEvent.AsObject; + static toObject(includeInstance: boolean, msg: PropertySetIDUpdatedEvent): PropertySetIDUpdatedEvent.AsObject; + static serializeBinaryToWriter(message: PropertySetIDUpdatedEvent, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): PropertySetIDUpdatedEvent; + static deserializeBinaryFromReader(message: PropertySetIDUpdatedEvent, reader: jspb.BinaryReader): PropertySetIDUpdatedEvent; +} + +export namespace PropertySetIDUpdatedEvent { + export type AsObject = { + setId: string, + } +} + +export class PropertySubjectTypeUpdatedEvent extends jspb.Message { + getSubjectType(): string; + setSubjectType(value: string): PropertySubjectTypeUpdatedEvent; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): PropertySubjectTypeUpdatedEvent.AsObject; + static toObject(includeInstance: boolean, msg: PropertySubjectTypeUpdatedEvent): PropertySubjectTypeUpdatedEvent.AsObject; + static serializeBinaryToWriter(message: PropertySubjectTypeUpdatedEvent, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): PropertySubjectTypeUpdatedEvent; + static deserializeBinaryFromReader(message: PropertySubjectTypeUpdatedEvent, reader: jspb.BinaryReader): PropertySubjectTypeUpdatedEvent; +} + +export namespace PropertySubjectTypeUpdatedEvent { + export type AsObject = { + subjectType: string, + } +} + +export class PropertyFieldTypeUpdatedEvent extends jspb.Message { + getFieldType(): string; + setFieldType(value: string): PropertyFieldTypeUpdatedEvent; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): PropertyFieldTypeUpdatedEvent.AsObject; + static toObject(includeInstance: boolean, msg: PropertyFieldTypeUpdatedEvent): PropertyFieldTypeUpdatedEvent.AsObject; + static serializeBinaryToWriter(message: PropertyFieldTypeUpdatedEvent, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): PropertyFieldTypeUpdatedEvent; + static deserializeBinaryFromReader(message: PropertyFieldTypeUpdatedEvent, reader: jspb.BinaryReader): PropertyFieldTypeUpdatedEvent; +} + +export namespace PropertyFieldTypeUpdatedEvent { + export type AsObject = { + fieldType: string, + } +} + +export class PropertyFieldTypeDataCreatedEvent extends jspb.Message { + getFieldTypeData(): PropertyFieldTypeDataCreatedEvent.FieldTypeData | undefined; + setFieldTypeData(value?: PropertyFieldTypeDataCreatedEvent.FieldTypeData): PropertyFieldTypeDataCreatedEvent; + hasFieldTypeData(): boolean; + clearFieldTypeData(): PropertyFieldTypeDataCreatedEvent; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): PropertyFieldTypeDataCreatedEvent.AsObject; + static toObject(includeInstance: boolean, msg: PropertyFieldTypeDataCreatedEvent): PropertyFieldTypeDataCreatedEvent.AsObject; + static serializeBinaryToWriter(message: PropertyFieldTypeDataCreatedEvent, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): PropertyFieldTypeDataCreatedEvent; + static deserializeBinaryFromReader(message: PropertyFieldTypeDataCreatedEvent, reader: jspb.BinaryReader): PropertyFieldTypeDataCreatedEvent; +} + +export namespace PropertyFieldTypeDataCreatedEvent { + export type AsObject = { + fieldTypeData?: PropertyFieldTypeDataCreatedEvent.FieldTypeData.AsObject, + } + + export class SelectOption extends jspb.Message { + getId(): string; + setId(value: string): SelectOption; + + getName(): string; + setName(value: string): SelectOption; + + getDescription(): string; + setDescription(value: string): SelectOption; + hasDescription(): boolean; + clearDescription(): SelectOption; + + getIsCustom(): boolean; + setIsCustom(value: boolean): SelectOption; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): SelectOption.AsObject; + static toObject(includeInstance: boolean, msg: SelectOption): SelectOption.AsObject; + static serializeBinaryToWriter(message: SelectOption, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): SelectOption; + static deserializeBinaryFromReader(message: SelectOption, reader: jspb.BinaryReader): SelectOption; + } + + export namespace SelectOption { + export type AsObject = { + id: string, + name: string, + description?: string, + isCustom: boolean, + } + + export enum DescriptionCase { + _DESCRIPTION_NOT_SET = 0, + DESCRIPTION = 3, + } + } + + + export class SelectData extends jspb.Message { + getAllowFreetext(): boolean; + setAllowFreetext(value: boolean): SelectData; + + getSelectOptionsList(): Array; + setSelectOptionsList(value: Array): SelectData; + clearSelectOptionsList(): SelectData; + addSelectOptions(value?: PropertyFieldTypeDataCreatedEvent.SelectOption, index?: number): PropertyFieldTypeDataCreatedEvent.SelectOption; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): SelectData.AsObject; + static toObject(includeInstance: boolean, msg: SelectData): SelectData.AsObject; + static serializeBinaryToWriter(message: SelectData, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): SelectData; + static deserializeBinaryFromReader(message: SelectData, reader: jspb.BinaryReader): SelectData; + } + + export namespace SelectData { + export type AsObject = { + allowFreetext: boolean, + selectOptionsList: Array, + } + } + + + export class FieldTypeData extends jspb.Message { + getSelectData(): PropertyFieldTypeDataCreatedEvent.SelectData | undefined; + setSelectData(value?: PropertyFieldTypeDataCreatedEvent.SelectData): FieldTypeData; + hasSelectData(): boolean; + clearSelectData(): FieldTypeData; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): FieldTypeData.AsObject; + static toObject(includeInstance: boolean, msg: FieldTypeData): FieldTypeData.AsObject; + static serializeBinaryToWriter(message: FieldTypeData, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): FieldTypeData; + static deserializeBinaryFromReader(message: FieldTypeData, reader: jspb.BinaryReader): FieldTypeData; + } + + export namespace FieldTypeData { + export type AsObject = { + selectData?: PropertyFieldTypeDataCreatedEvent.SelectData.AsObject, + } + + export enum SelectDataCase { + _SELECT_DATA_NOT_SET = 0, + SELECT_DATA = 1, + } + } + +} + +export class PropertyNameUpdatedEvent extends jspb.Message { + getName(): string; + setName(value: string): PropertyNameUpdatedEvent; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): PropertyNameUpdatedEvent.AsObject; + static toObject(includeInstance: boolean, msg: PropertyNameUpdatedEvent): PropertyNameUpdatedEvent.AsObject; + static serializeBinaryToWriter(message: PropertyNameUpdatedEvent, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): PropertyNameUpdatedEvent; + static deserializeBinaryFromReader(message: PropertyNameUpdatedEvent, reader: jspb.BinaryReader): PropertyNameUpdatedEvent; +} + +export namespace PropertyNameUpdatedEvent { + export type AsObject = { + name: string, + } +} + +export class PropertyFieldTypeDataAllowFreetextUpdatedEvent extends jspb.Message { + getNewAllowFreetext(): boolean; + setNewAllowFreetext(value: boolean): PropertyFieldTypeDataAllowFreetextUpdatedEvent; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): PropertyFieldTypeDataAllowFreetextUpdatedEvent.AsObject; + static toObject(includeInstance: boolean, msg: PropertyFieldTypeDataAllowFreetextUpdatedEvent): PropertyFieldTypeDataAllowFreetextUpdatedEvent.AsObject; + static serializeBinaryToWriter(message: PropertyFieldTypeDataAllowFreetextUpdatedEvent, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): PropertyFieldTypeDataAllowFreetextUpdatedEvent; + static deserializeBinaryFromReader(message: PropertyFieldTypeDataAllowFreetextUpdatedEvent, reader: jspb.BinaryReader): PropertyFieldTypeDataAllowFreetextUpdatedEvent; +} + +export namespace PropertyFieldTypeDataAllowFreetextUpdatedEvent { + export type AsObject = { + newAllowFreetext: boolean, + } +} + +export class PropertyFieldTypeDataSelectOptionsRemovedEvent extends jspb.Message { + getRemovedSelectOptionsList(): Array; + setRemovedSelectOptionsList(value: Array): PropertyFieldTypeDataSelectOptionsRemovedEvent; + clearRemovedSelectOptionsList(): PropertyFieldTypeDataSelectOptionsRemovedEvent; + addRemovedSelectOptions(value: string, index?: number): PropertyFieldTypeDataSelectOptionsRemovedEvent; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): PropertyFieldTypeDataSelectOptionsRemovedEvent.AsObject; + static toObject(includeInstance: boolean, msg: PropertyFieldTypeDataSelectOptionsRemovedEvent): PropertyFieldTypeDataSelectOptionsRemovedEvent.AsObject; + static serializeBinaryToWriter(message: PropertyFieldTypeDataSelectOptionsRemovedEvent, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): PropertyFieldTypeDataSelectOptionsRemovedEvent; + static deserializeBinaryFromReader(message: PropertyFieldTypeDataSelectOptionsRemovedEvent, reader: jspb.BinaryReader): PropertyFieldTypeDataSelectOptionsRemovedEvent; +} + +export namespace PropertyFieldTypeDataSelectOptionsRemovedEvent { + export type AsObject = { + removedSelectOptionsList: Array, + } +} + +export class PropertyFieldTypeDataSelectOptionsUpsertedEvent extends jspb.Message { + getUpsertedSelectOptionsList(): Array; + setUpsertedSelectOptionsList(value: Array): PropertyFieldTypeDataSelectOptionsUpsertedEvent; + clearUpsertedSelectOptionsList(): PropertyFieldTypeDataSelectOptionsUpsertedEvent; + addUpsertedSelectOptions(value?: PropertyFieldTypeDataSelectOptionsUpsertedEvent.UpdateSelectOption, index?: number): PropertyFieldTypeDataSelectOptionsUpsertedEvent.UpdateSelectOption; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): PropertyFieldTypeDataSelectOptionsUpsertedEvent.AsObject; + static toObject(includeInstance: boolean, msg: PropertyFieldTypeDataSelectOptionsUpsertedEvent): PropertyFieldTypeDataSelectOptionsUpsertedEvent.AsObject; + static serializeBinaryToWriter(message: PropertyFieldTypeDataSelectOptionsUpsertedEvent, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): PropertyFieldTypeDataSelectOptionsUpsertedEvent; + static deserializeBinaryFromReader(message: PropertyFieldTypeDataSelectOptionsUpsertedEvent, reader: jspb.BinaryReader): PropertyFieldTypeDataSelectOptionsUpsertedEvent; +} + +export namespace PropertyFieldTypeDataSelectOptionsUpsertedEvent { + export type AsObject = { + upsertedSelectOptionsList: Array, + } + + export class UpdateSelectOption extends jspb.Message { + getId(): string; + setId(value: string): UpdateSelectOption; + + getName(): string; + setName(value: string): UpdateSelectOption; + hasName(): boolean; + clearName(): UpdateSelectOption; + + getDescription(): string; + setDescription(value: string): UpdateSelectOption; + hasDescription(): boolean; + clearDescription(): UpdateSelectOption; + + getIsCustom(): boolean; + setIsCustom(value: boolean): UpdateSelectOption; + hasIsCustom(): boolean; + clearIsCustom(): UpdateSelectOption; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): UpdateSelectOption.AsObject; + static toObject(includeInstance: boolean, msg: UpdateSelectOption): UpdateSelectOption.AsObject; + static serializeBinaryToWriter(message: UpdateSelectOption, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): UpdateSelectOption; + static deserializeBinaryFromReader(message: UpdateSelectOption, reader: jspb.BinaryReader): UpdateSelectOption; + } + + export namespace UpdateSelectOption { + export type AsObject = { + id: string, + name?: string, + description?: string, + isCustom?: boolean, + } + + export enum NameCase { + _NAME_NOT_SET = 0, + NAME = 2, + } + + export enum DescriptionCase { + _DESCRIPTION_NOT_SET = 0, + DESCRIPTION = 3, + } + + export enum IsCustomCase { + _IS_CUSTOM_NOT_SET = 0, + IS_CUSTOM = 4, + } + } + +} + +export class PropertyArchivedEvent extends jspb.Message { + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): PropertyArchivedEvent.AsObject; + static toObject(includeInstance: boolean, msg: PropertyArchivedEvent): PropertyArchivedEvent.AsObject; + static serializeBinaryToWriter(message: PropertyArchivedEvent, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): PropertyArchivedEvent; + static deserializeBinaryFromReader(message: PropertyArchivedEvent, reader: jspb.BinaryReader): PropertyArchivedEvent; +} + +export namespace PropertyArchivedEvent { + export type AsObject = { + } +} + +export class PropertyRetrievedEvent extends jspb.Message { + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): PropertyRetrievedEvent.AsObject; + static toObject(includeInstance: boolean, msg: PropertyRetrievedEvent): PropertyRetrievedEvent.AsObject; + static serializeBinaryToWriter(message: PropertyRetrievedEvent, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): PropertyRetrievedEvent; + static deserializeBinaryFromReader(message: PropertyRetrievedEvent, reader: jspb.BinaryReader): PropertyRetrievedEvent; +} + +export namespace PropertyRetrievedEvent { + export type AsObject = { + } +} + +export class TechnicalEvent extends jspb.Message { + getPropertyCreated(): PropertyCreatedEvent | undefined; + setPropertyCreated(value?: PropertyCreatedEvent): TechnicalEvent; + hasPropertyCreated(): boolean; + clearPropertyCreated(): TechnicalEvent; + + getPropertyDescriptionUpdated(): PropertyDescriptionUpdatedEvent | undefined; + setPropertyDescriptionUpdated(value?: PropertyDescriptionUpdatedEvent): TechnicalEvent; + hasPropertyDescriptionUpdated(): boolean; + clearPropertyDescriptionUpdated(): TechnicalEvent; + + getPropertySetIdUpdated(): PropertySetIDUpdatedEvent | undefined; + setPropertySetIdUpdated(value?: PropertySetIDUpdatedEvent): TechnicalEvent; + hasPropertySetIdUpdated(): boolean; + clearPropertySetIdUpdated(): TechnicalEvent; + + getPropertySubjectTypeUpdated(): PropertySubjectTypeUpdatedEvent | undefined; + setPropertySubjectTypeUpdated(value?: PropertySubjectTypeUpdatedEvent): TechnicalEvent; + hasPropertySubjectTypeUpdated(): boolean; + clearPropertySubjectTypeUpdated(): TechnicalEvent; + + getPropertyFieldTypeUpdated(): PropertyFieldTypeUpdatedEvent | undefined; + setPropertyFieldTypeUpdated(value?: PropertyFieldTypeUpdatedEvent): TechnicalEvent; + hasPropertyFieldTypeUpdated(): boolean; + clearPropertyFieldTypeUpdated(): TechnicalEvent; + + getPropertyFieldTypeDataCreated(): PropertyFieldTypeDataCreatedEvent | undefined; + setPropertyFieldTypeDataCreated(value?: PropertyFieldTypeDataCreatedEvent): TechnicalEvent; + hasPropertyFieldTypeDataCreated(): boolean; + clearPropertyFieldTypeDataCreated(): TechnicalEvent; + + getPropertyNameUpdated(): PropertyNameUpdatedEvent | undefined; + setPropertyNameUpdated(value?: PropertyNameUpdatedEvent): TechnicalEvent; + hasPropertyNameUpdated(): boolean; + clearPropertyNameUpdated(): TechnicalEvent; + + getPropertyFieldTypeDataAllowFreetextUpdated(): PropertyFieldTypeDataAllowFreetextUpdatedEvent | undefined; + setPropertyFieldTypeDataAllowFreetextUpdated(value?: PropertyFieldTypeDataAllowFreetextUpdatedEvent): TechnicalEvent; + hasPropertyFieldTypeDataAllowFreetextUpdated(): boolean; + clearPropertyFieldTypeDataAllowFreetextUpdated(): TechnicalEvent; + + getPropertyFieldTypeDataSelectOptionsRemoved(): PropertyFieldTypeDataSelectOptionsRemovedEvent | undefined; + setPropertyFieldTypeDataSelectOptionsRemoved(value?: PropertyFieldTypeDataSelectOptionsRemovedEvent): TechnicalEvent; + hasPropertyFieldTypeDataSelectOptionsRemoved(): boolean; + clearPropertyFieldTypeDataSelectOptionsRemoved(): TechnicalEvent; + + getPropertyFieldTypeDataSelectOptionsUpserted(): PropertyFieldTypeDataSelectOptionsUpsertedEvent | undefined; + setPropertyFieldTypeDataSelectOptionsUpserted(value?: PropertyFieldTypeDataSelectOptionsUpsertedEvent): TechnicalEvent; + hasPropertyFieldTypeDataSelectOptionsUpserted(): boolean; + clearPropertyFieldTypeDataSelectOptionsUpserted(): TechnicalEvent; + + getPropertyArchived(): PropertyArchivedEvent | undefined; + setPropertyArchived(value?: PropertyArchivedEvent): TechnicalEvent; + hasPropertyArchived(): boolean; + clearPropertyArchived(): TechnicalEvent; + + getPropertyRetrieved(): PropertyRetrievedEvent | undefined; + setPropertyRetrieved(value?: PropertyRetrievedEvent): TechnicalEvent; + hasPropertyRetrieved(): boolean; + clearPropertyRetrieved(): TechnicalEvent; + + getEventCase(): TechnicalEvent.EventCase; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): TechnicalEvent.AsObject; + static toObject(includeInstance: boolean, msg: TechnicalEvent): TechnicalEvent.AsObject; + static serializeBinaryToWriter(message: TechnicalEvent, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): TechnicalEvent; + static deserializeBinaryFromReader(message: TechnicalEvent, reader: jspb.BinaryReader): TechnicalEvent; +} + +export namespace TechnicalEvent { + export type AsObject = { + propertyCreated?: PropertyCreatedEvent.AsObject, + propertyDescriptionUpdated?: PropertyDescriptionUpdatedEvent.AsObject, + propertySetIdUpdated?: PropertySetIDUpdatedEvent.AsObject, + propertySubjectTypeUpdated?: PropertySubjectTypeUpdatedEvent.AsObject, + propertyFieldTypeUpdated?: PropertyFieldTypeUpdatedEvent.AsObject, + propertyFieldTypeDataCreated?: PropertyFieldTypeDataCreatedEvent.AsObject, + propertyNameUpdated?: PropertyNameUpdatedEvent.AsObject, + propertyFieldTypeDataAllowFreetextUpdated?: PropertyFieldTypeDataAllowFreetextUpdatedEvent.AsObject, + propertyFieldTypeDataSelectOptionsRemoved?: PropertyFieldTypeDataSelectOptionsRemovedEvent.AsObject, + propertyFieldTypeDataSelectOptionsUpserted?: PropertyFieldTypeDataSelectOptionsUpsertedEvent.AsObject, + propertyArchived?: PropertyArchivedEvent.AsObject, + propertyRetrieved?: PropertyRetrievedEvent.AsObject, + } + + export enum EventCase { + EVENT_NOT_SET = 0, + PROPERTY_CREATED = 1, + PROPERTY_DESCRIPTION_UPDATED = 2, + PROPERTY_SET_ID_UPDATED = 3, + PROPERTY_SUBJECT_TYPE_UPDATED = 4, + PROPERTY_FIELD_TYPE_UPDATED = 5, + PROPERTY_FIELD_TYPE_DATA_CREATED = 6, + PROPERTY_NAME_UPDATED = 7, + PROPERTY_FIELD_TYPE_DATA_ALLOW_FREETEXT_UPDATED = 8, + PROPERTY_FIELD_TYPE_DATA_SELECT_OPTIONS_REMOVED = 9, + PROPERTY_FIELD_TYPE_DATA_SELECT_OPTIONS_UPSERTED = 10, + PROPERTY_ARCHIVED = 11, + PROPERTY_RETRIEVED = 12, + } +} + diff --git a/gen/ts/libs/technical_events/property_svc/v1/property_pb.js b/gen/ts/libs/technical_events/property_svc/v1/property_pb.js index e84277ba6..6472fb3fb 100644 --- a/gen/ts/libs/technical_events/property_svc/v1/property_pb.js +++ b/gen/ts/libs/technical_events/property_svc/v1/property_pb.js @@ -21,7 +21,28 @@ var global = (function () { return this; }).call(null) || Function('return this')(); -goog.exportSymbol('proto.libs.technical_events.property_svc.v1.UpdateNameEvent', null, global); +var libs_events_v1_options_pb = require('../../../../libs/events/v1/options_pb.js'); +goog.object.extend(proto, libs_events_v1_options_pb); +var services_property_svc_v1_types_pb = require('../../../../services/property_svc/v1/types_pb.js'); +goog.object.extend(proto, services_property_svc_v1_types_pb); +goog.exportSymbol('proto.libs.technical_events.property_svc.v1.PropertyArchivedEvent', null, global); +goog.exportSymbol('proto.libs.technical_events.property_svc.v1.PropertyCreatedEvent', null, global); +goog.exportSymbol('proto.libs.technical_events.property_svc.v1.PropertyDescriptionUpdatedEvent', null, global); +goog.exportSymbol('proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataAllowFreetextUpdatedEvent', null, global); +goog.exportSymbol('proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent', null, global); +goog.exportSymbol('proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.FieldTypeData', null, global); +goog.exportSymbol('proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.SelectData', null, global); +goog.exportSymbol('proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.SelectOption', null, global); +goog.exportSymbol('proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataSelectOptionsRemovedEvent', null, global); +goog.exportSymbol('proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataSelectOptionsUpsertedEvent', null, global); +goog.exportSymbol('proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataSelectOptionsUpsertedEvent.UpdateSelectOption', null, global); +goog.exportSymbol('proto.libs.technical_events.property_svc.v1.PropertyFieldTypeUpdatedEvent', null, global); +goog.exportSymbol('proto.libs.technical_events.property_svc.v1.PropertyNameUpdatedEvent', null, global); +goog.exportSymbol('proto.libs.technical_events.property_svc.v1.PropertyRetrievedEvent', null, global); +goog.exportSymbol('proto.libs.technical_events.property_svc.v1.PropertySetIDUpdatedEvent', null, global); +goog.exportSymbol('proto.libs.technical_events.property_svc.v1.PropertySubjectTypeUpdatedEvent', null, global); +goog.exportSymbol('proto.libs.technical_events.property_svc.v1.TechnicalEvent', null, global); +goog.exportSymbol('proto.libs.technical_events.property_svc.v1.TechnicalEvent.EventCase', null, global); /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a @@ -32,144 +53,3620 @@ goog.exportSymbol('proto.libs.technical_events.property_svc.v1.UpdateNameEvent', * @extends {jspb.Message} * @constructor */ -proto.libs.technical_events.property_svc.v1.UpdateNameEvent = function(opt_data) { +proto.libs.technical_events.property_svc.v1.PropertyCreatedEvent = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.libs.technical_events.property_svc.v1.UpdateNameEvent, jspb.Message); +goog.inherits(proto.libs.technical_events.property_svc.v1.PropertyCreatedEvent, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.libs.technical_events.property_svc.v1.UpdateNameEvent.displayName = 'proto.libs.technical_events.property_svc.v1.UpdateNameEvent'; + proto.libs.technical_events.property_svc.v1.PropertyCreatedEvent.displayName = 'proto.libs.technical_events.property_svc.v1.PropertyCreatedEvent'; } +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.libs.technical_events.property_svc.v1.PropertyDescriptionUpdatedEvent = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.libs.technical_events.property_svc.v1.PropertyDescriptionUpdatedEvent, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.libs.technical_events.property_svc.v1.PropertyDescriptionUpdatedEvent.displayName = 'proto.libs.technical_events.property_svc.v1.PropertyDescriptionUpdatedEvent'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.libs.technical_events.property_svc.v1.PropertySetIDUpdatedEvent = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.libs.technical_events.property_svc.v1.PropertySetIDUpdatedEvent, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.libs.technical_events.property_svc.v1.PropertySetIDUpdatedEvent.displayName = 'proto.libs.technical_events.property_svc.v1.PropertySetIDUpdatedEvent'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.libs.technical_events.property_svc.v1.PropertySubjectTypeUpdatedEvent = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.libs.technical_events.property_svc.v1.PropertySubjectTypeUpdatedEvent, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.libs.technical_events.property_svc.v1.PropertySubjectTypeUpdatedEvent.displayName = 'proto.libs.technical_events.property_svc.v1.PropertySubjectTypeUpdatedEvent'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.libs.technical_events.property_svc.v1.PropertyFieldTypeUpdatedEvent = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.libs.technical_events.property_svc.v1.PropertyFieldTypeUpdatedEvent, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.libs.technical_events.property_svc.v1.PropertyFieldTypeUpdatedEvent.displayName = 'proto.libs.technical_events.property_svc.v1.PropertyFieldTypeUpdatedEvent'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.displayName = 'proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.SelectOption = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.SelectOption, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.SelectOption.displayName = 'proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.SelectOption'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.SelectData = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.SelectData.repeatedFields_, null); +}; +goog.inherits(proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.SelectData, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.SelectData.displayName = 'proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.SelectData'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.FieldTypeData = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.FieldTypeData, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.FieldTypeData.displayName = 'proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.FieldTypeData'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.libs.technical_events.property_svc.v1.PropertyNameUpdatedEvent = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.libs.technical_events.property_svc.v1.PropertyNameUpdatedEvent, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.libs.technical_events.property_svc.v1.PropertyNameUpdatedEvent.displayName = 'proto.libs.technical_events.property_svc.v1.PropertyNameUpdatedEvent'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataAllowFreetextUpdatedEvent = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataAllowFreetextUpdatedEvent, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataAllowFreetextUpdatedEvent.displayName = 'proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataAllowFreetextUpdatedEvent'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataSelectOptionsRemovedEvent = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataSelectOptionsRemovedEvent.repeatedFields_, null); +}; +goog.inherits(proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataSelectOptionsRemovedEvent, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataSelectOptionsRemovedEvent.displayName = 'proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataSelectOptionsRemovedEvent'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataSelectOptionsUpsertedEvent = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataSelectOptionsUpsertedEvent.repeatedFields_, null); +}; +goog.inherits(proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataSelectOptionsUpsertedEvent, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataSelectOptionsUpsertedEvent.displayName = 'proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataSelectOptionsUpsertedEvent'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataSelectOptionsUpsertedEvent.UpdateSelectOption = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataSelectOptionsUpsertedEvent.UpdateSelectOption, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataSelectOptionsUpsertedEvent.UpdateSelectOption.displayName = 'proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataSelectOptionsUpsertedEvent.UpdateSelectOption'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.libs.technical_events.property_svc.v1.PropertyArchivedEvent = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.libs.technical_events.property_svc.v1.PropertyArchivedEvent, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.libs.technical_events.property_svc.v1.PropertyArchivedEvent.displayName = 'proto.libs.technical_events.property_svc.v1.PropertyArchivedEvent'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.libs.technical_events.property_svc.v1.PropertyRetrievedEvent = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.libs.technical_events.property_svc.v1.PropertyRetrievedEvent, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.libs.technical_events.property_svc.v1.PropertyRetrievedEvent.displayName = 'proto.libs.technical_events.property_svc.v1.PropertyRetrievedEvent'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.libs.technical_events.property_svc.v1.TechnicalEvent = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, proto.libs.technical_events.property_svc.v1.TechnicalEvent.oneofGroups_); +}; +goog.inherits(proto.libs.technical_events.property_svc.v1.TechnicalEvent, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.libs.technical_events.property_svc.v1.TechnicalEvent.displayName = 'proto.libs.technical_events.property_svc.v1.TechnicalEvent'; +} + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.libs.technical_events.property_svc.v1.PropertyCreatedEvent.prototype.toObject = function(opt_includeInstance) { + return proto.libs.technical_events.property_svc.v1.PropertyCreatedEvent.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.libs.technical_events.property_svc.v1.PropertyCreatedEvent} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.libs.technical_events.property_svc.v1.PropertyCreatedEvent.toObject = function(includeInstance, msg) { + var f, obj = { + id: jspb.Message.getFieldWithDefault(msg, 1, ""), + subjectType: jspb.Message.getFieldWithDefault(msg, 2, 0), + fieldType: jspb.Message.getFieldWithDefault(msg, 3, 0), + name: jspb.Message.getFieldWithDefault(msg, 4, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.libs.technical_events.property_svc.v1.PropertyCreatedEvent} + */ +proto.libs.technical_events.property_svc.v1.PropertyCreatedEvent.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.libs.technical_events.property_svc.v1.PropertyCreatedEvent; + return proto.libs.technical_events.property_svc.v1.PropertyCreatedEvent.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.libs.technical_events.property_svc.v1.PropertyCreatedEvent} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.libs.technical_events.property_svc.v1.PropertyCreatedEvent} + */ +proto.libs.technical_events.property_svc.v1.PropertyCreatedEvent.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setId(value); + break; + case 2: + var value = /** @type {!proto.services.property_svc.v1.SubjectType} */ (reader.readEnum()); + msg.setSubjectType(value); + break; + case 3: + var value = /** @type {!proto.services.property_svc.v1.FieldType} */ (reader.readEnum()); + msg.setFieldType(value); + break; + case 4: + var value = /** @type {string} */ (reader.readString()); + msg.setName(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.libs.technical_events.property_svc.v1.PropertyCreatedEvent.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.libs.technical_events.property_svc.v1.PropertyCreatedEvent.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.libs.technical_events.property_svc.v1.PropertyCreatedEvent} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.libs.technical_events.property_svc.v1.PropertyCreatedEvent.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getId(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getSubjectType(); + if (f !== 0.0) { + writer.writeEnum( + 2, + f + ); + } + f = message.getFieldType(); + if (f !== 0.0) { + writer.writeEnum( + 3, + f + ); + } + f = message.getName(); + if (f.length > 0) { + writer.writeString( + 4, + f + ); + } +}; + + +/** + * optional string id = 1; + * @return {string} + */ +proto.libs.technical_events.property_svc.v1.PropertyCreatedEvent.prototype.getId = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.libs.technical_events.property_svc.v1.PropertyCreatedEvent} returns this + */ +proto.libs.technical_events.property_svc.v1.PropertyCreatedEvent.prototype.setId = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional services.property_svc.v1.SubjectType subject_type = 2; + * @return {!proto.services.property_svc.v1.SubjectType} + */ +proto.libs.technical_events.property_svc.v1.PropertyCreatedEvent.prototype.getSubjectType = function() { + return /** @type {!proto.services.property_svc.v1.SubjectType} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); +}; + + +/** + * @param {!proto.services.property_svc.v1.SubjectType} value + * @return {!proto.libs.technical_events.property_svc.v1.PropertyCreatedEvent} returns this + */ +proto.libs.technical_events.property_svc.v1.PropertyCreatedEvent.prototype.setSubjectType = function(value) { + return jspb.Message.setProto3EnumField(this, 2, value); +}; + + +/** + * optional services.property_svc.v1.FieldType field_type = 3; + * @return {!proto.services.property_svc.v1.FieldType} + */ +proto.libs.technical_events.property_svc.v1.PropertyCreatedEvent.prototype.getFieldType = function() { + return /** @type {!proto.services.property_svc.v1.FieldType} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); +}; + + +/** + * @param {!proto.services.property_svc.v1.FieldType} value + * @return {!proto.libs.technical_events.property_svc.v1.PropertyCreatedEvent} returns this + */ +proto.libs.technical_events.property_svc.v1.PropertyCreatedEvent.prototype.setFieldType = function(value) { + return jspb.Message.setProto3EnumField(this, 3, value); +}; + + +/** + * optional string name = 4; + * @return {string} + */ +proto.libs.technical_events.property_svc.v1.PropertyCreatedEvent.prototype.getName = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); +}; + + +/** + * @param {string} value + * @return {!proto.libs.technical_events.property_svc.v1.PropertyCreatedEvent} returns this + */ +proto.libs.technical_events.property_svc.v1.PropertyCreatedEvent.prototype.setName = function(value) { + return jspb.Message.setProto3StringField(this, 4, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.libs.technical_events.property_svc.v1.PropertyDescriptionUpdatedEvent.prototype.toObject = function(opt_includeInstance) { + return proto.libs.technical_events.property_svc.v1.PropertyDescriptionUpdatedEvent.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.libs.technical_events.property_svc.v1.PropertyDescriptionUpdatedEvent} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.libs.technical_events.property_svc.v1.PropertyDescriptionUpdatedEvent.toObject = function(includeInstance, msg) { + var f, obj = { + description: jspb.Message.getFieldWithDefault(msg, 1, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.libs.technical_events.property_svc.v1.PropertyDescriptionUpdatedEvent} + */ +proto.libs.technical_events.property_svc.v1.PropertyDescriptionUpdatedEvent.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.libs.technical_events.property_svc.v1.PropertyDescriptionUpdatedEvent; + return proto.libs.technical_events.property_svc.v1.PropertyDescriptionUpdatedEvent.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.libs.technical_events.property_svc.v1.PropertyDescriptionUpdatedEvent} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.libs.technical_events.property_svc.v1.PropertyDescriptionUpdatedEvent} + */ +proto.libs.technical_events.property_svc.v1.PropertyDescriptionUpdatedEvent.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setDescription(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.libs.technical_events.property_svc.v1.PropertyDescriptionUpdatedEvent.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.libs.technical_events.property_svc.v1.PropertyDescriptionUpdatedEvent.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.libs.technical_events.property_svc.v1.PropertyDescriptionUpdatedEvent} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.libs.technical_events.property_svc.v1.PropertyDescriptionUpdatedEvent.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getDescription(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } +}; + + +/** + * optional string description = 1; + * @return {string} + */ +proto.libs.technical_events.property_svc.v1.PropertyDescriptionUpdatedEvent.prototype.getDescription = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.libs.technical_events.property_svc.v1.PropertyDescriptionUpdatedEvent} returns this + */ +proto.libs.technical_events.property_svc.v1.PropertyDescriptionUpdatedEvent.prototype.setDescription = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.libs.technical_events.property_svc.v1.PropertySetIDUpdatedEvent.prototype.toObject = function(opt_includeInstance) { + return proto.libs.technical_events.property_svc.v1.PropertySetIDUpdatedEvent.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.libs.technical_events.property_svc.v1.PropertySetIDUpdatedEvent} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.libs.technical_events.property_svc.v1.PropertySetIDUpdatedEvent.toObject = function(includeInstance, msg) { + var f, obj = { + setId: jspb.Message.getFieldWithDefault(msg, 1, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.libs.technical_events.property_svc.v1.PropertySetIDUpdatedEvent} + */ +proto.libs.technical_events.property_svc.v1.PropertySetIDUpdatedEvent.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.libs.technical_events.property_svc.v1.PropertySetIDUpdatedEvent; + return proto.libs.technical_events.property_svc.v1.PropertySetIDUpdatedEvent.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.libs.technical_events.property_svc.v1.PropertySetIDUpdatedEvent} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.libs.technical_events.property_svc.v1.PropertySetIDUpdatedEvent} + */ +proto.libs.technical_events.property_svc.v1.PropertySetIDUpdatedEvent.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setSetId(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.libs.technical_events.property_svc.v1.PropertySetIDUpdatedEvent.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.libs.technical_events.property_svc.v1.PropertySetIDUpdatedEvent.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.libs.technical_events.property_svc.v1.PropertySetIDUpdatedEvent} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.libs.technical_events.property_svc.v1.PropertySetIDUpdatedEvent.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getSetId(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } +}; + + +/** + * optional string set_id = 1; + * @return {string} + */ +proto.libs.technical_events.property_svc.v1.PropertySetIDUpdatedEvent.prototype.getSetId = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.libs.technical_events.property_svc.v1.PropertySetIDUpdatedEvent} returns this + */ +proto.libs.technical_events.property_svc.v1.PropertySetIDUpdatedEvent.prototype.setSetId = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.libs.technical_events.property_svc.v1.PropertySubjectTypeUpdatedEvent.prototype.toObject = function(opt_includeInstance) { + return proto.libs.technical_events.property_svc.v1.PropertySubjectTypeUpdatedEvent.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.libs.technical_events.property_svc.v1.PropertySubjectTypeUpdatedEvent} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.libs.technical_events.property_svc.v1.PropertySubjectTypeUpdatedEvent.toObject = function(includeInstance, msg) { + var f, obj = { + subjectType: jspb.Message.getFieldWithDefault(msg, 1, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.libs.technical_events.property_svc.v1.PropertySubjectTypeUpdatedEvent} + */ +proto.libs.technical_events.property_svc.v1.PropertySubjectTypeUpdatedEvent.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.libs.technical_events.property_svc.v1.PropertySubjectTypeUpdatedEvent; + return proto.libs.technical_events.property_svc.v1.PropertySubjectTypeUpdatedEvent.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.libs.technical_events.property_svc.v1.PropertySubjectTypeUpdatedEvent} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.libs.technical_events.property_svc.v1.PropertySubjectTypeUpdatedEvent} + */ +proto.libs.technical_events.property_svc.v1.PropertySubjectTypeUpdatedEvent.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setSubjectType(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.libs.technical_events.property_svc.v1.PropertySubjectTypeUpdatedEvent.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.libs.technical_events.property_svc.v1.PropertySubjectTypeUpdatedEvent.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.libs.technical_events.property_svc.v1.PropertySubjectTypeUpdatedEvent} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.libs.technical_events.property_svc.v1.PropertySubjectTypeUpdatedEvent.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getSubjectType(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } +}; + + +/** + * optional string subject_type = 1; + * @return {string} + */ +proto.libs.technical_events.property_svc.v1.PropertySubjectTypeUpdatedEvent.prototype.getSubjectType = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.libs.technical_events.property_svc.v1.PropertySubjectTypeUpdatedEvent} returns this + */ +proto.libs.technical_events.property_svc.v1.PropertySubjectTypeUpdatedEvent.prototype.setSubjectType = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.libs.technical_events.property_svc.v1.PropertyFieldTypeUpdatedEvent.prototype.toObject = function(opt_includeInstance) { + return proto.libs.technical_events.property_svc.v1.PropertyFieldTypeUpdatedEvent.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.libs.technical_events.property_svc.v1.PropertyFieldTypeUpdatedEvent} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.libs.technical_events.property_svc.v1.PropertyFieldTypeUpdatedEvent.toObject = function(includeInstance, msg) { + var f, obj = { + fieldType: jspb.Message.getFieldWithDefault(msg, 1, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.libs.technical_events.property_svc.v1.PropertyFieldTypeUpdatedEvent} + */ +proto.libs.technical_events.property_svc.v1.PropertyFieldTypeUpdatedEvent.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.libs.technical_events.property_svc.v1.PropertyFieldTypeUpdatedEvent; + return proto.libs.technical_events.property_svc.v1.PropertyFieldTypeUpdatedEvent.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.libs.technical_events.property_svc.v1.PropertyFieldTypeUpdatedEvent} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.libs.technical_events.property_svc.v1.PropertyFieldTypeUpdatedEvent} + */ +proto.libs.technical_events.property_svc.v1.PropertyFieldTypeUpdatedEvent.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setFieldType(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.libs.technical_events.property_svc.v1.PropertyFieldTypeUpdatedEvent.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.libs.technical_events.property_svc.v1.PropertyFieldTypeUpdatedEvent.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.libs.technical_events.property_svc.v1.PropertyFieldTypeUpdatedEvent} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.libs.technical_events.property_svc.v1.PropertyFieldTypeUpdatedEvent.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getFieldType(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } +}; + + +/** + * optional string field_type = 1; + * @return {string} + */ +proto.libs.technical_events.property_svc.v1.PropertyFieldTypeUpdatedEvent.prototype.getFieldType = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.libs.technical_events.property_svc.v1.PropertyFieldTypeUpdatedEvent} returns this + */ +proto.libs.technical_events.property_svc.v1.PropertyFieldTypeUpdatedEvent.prototype.setFieldType = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.prototype.toObject = function(opt_includeInstance) { + return proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.toObject = function(includeInstance, msg) { + var f, obj = { + fieldTypeData: (f = msg.getFieldTypeData()) && proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.FieldTypeData.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent} + */ +proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent; + return proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent} + */ +proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.FieldTypeData; + reader.readMessage(value,proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.FieldTypeData.deserializeBinaryFromReader); + msg.setFieldTypeData(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getFieldTypeData(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.FieldTypeData.serializeBinaryToWriter + ); + } +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.SelectOption.prototype.toObject = function(opt_includeInstance) { + return proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.SelectOption.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.SelectOption} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.SelectOption.toObject = function(includeInstance, msg) { + var f, obj = { + id: jspb.Message.getFieldWithDefault(msg, 1, ""), + name: jspb.Message.getFieldWithDefault(msg, 2, ""), + description: jspb.Message.getFieldWithDefault(msg, 3, ""), + isCustom: jspb.Message.getBooleanFieldWithDefault(msg, 4, false) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.SelectOption} + */ +proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.SelectOption.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.SelectOption; + return proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.SelectOption.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.SelectOption} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.SelectOption} + */ +proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.SelectOption.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setId(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setName(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setDescription(value); + break; + case 4: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setIsCustom(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.SelectOption.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.SelectOption.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.SelectOption} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.SelectOption.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getId(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getName(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 3)); + if (f != null) { + writer.writeString( + 3, + f + ); + } + f = message.getIsCustom(); + if (f) { + writer.writeBool( + 4, + f + ); + } +}; + + +/** + * optional string id = 1; + * @return {string} + */ +proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.SelectOption.prototype.getId = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.SelectOption} returns this + */ +proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.SelectOption.prototype.setId = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional string name = 2; + * @return {string} + */ +proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.SelectOption.prototype.getName = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.SelectOption} returns this + */ +proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.SelectOption.prototype.setName = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * optional string description = 3; + * @return {string} + */ +proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.SelectOption.prototype.getDescription = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.SelectOption} returns this + */ +proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.SelectOption.prototype.setDescription = function(value) { + return jspb.Message.setField(this, 3, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.SelectOption} returns this + */ +proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.SelectOption.prototype.clearDescription = function() { + return jspb.Message.setField(this, 3, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.SelectOption.prototype.hasDescription = function() { + return jspb.Message.getField(this, 3) != null; +}; + + +/** + * optional bool is_custom = 4; + * @return {boolean} + */ +proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.SelectOption.prototype.getIsCustom = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.SelectOption} returns this + */ +proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.SelectOption.prototype.setIsCustom = function(value) { + return jspb.Message.setProto3BooleanField(this, 4, value); +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.SelectData.repeatedFields_ = [2]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.SelectData.prototype.toObject = function(opt_includeInstance) { + return proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.SelectData.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.SelectData} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.SelectData.toObject = function(includeInstance, msg) { + var f, obj = { + allowFreetext: jspb.Message.getBooleanFieldWithDefault(msg, 1, false), + selectOptionsList: jspb.Message.toObjectList(msg.getSelectOptionsList(), + proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.SelectOption.toObject, includeInstance) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.SelectData} + */ +proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.SelectData.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.SelectData; + return proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.SelectData.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.SelectData} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.SelectData} + */ +proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.SelectData.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setAllowFreetext(value); + break; + case 2: + var value = new proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.SelectOption; + reader.readMessage(value,proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.SelectOption.deserializeBinaryFromReader); + msg.addSelectOptions(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.SelectData.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.SelectData.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.SelectData} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.SelectData.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getAllowFreetext(); + if (f) { + writer.writeBool( + 1, + f + ); + } + f = message.getSelectOptionsList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 2, + f, + proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.SelectOption.serializeBinaryToWriter + ); + } +}; + + +/** + * optional bool allow_freetext = 1; + * @return {boolean} + */ +proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.SelectData.prototype.getAllowFreetext = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.SelectData} returns this + */ +proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.SelectData.prototype.setAllowFreetext = function(value) { + return jspb.Message.setProto3BooleanField(this, 1, value); +}; + + +/** + * repeated SelectOption select_options = 2; + * @return {!Array} + */ +proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.SelectData.prototype.getSelectOptionsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.SelectOption, 2)); +}; + + +/** + * @param {!Array} value + * @return {!proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.SelectData} returns this +*/ +proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.SelectData.prototype.setSelectOptionsList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 2, value); +}; + + +/** + * @param {!proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.SelectOption=} opt_value + * @param {number=} opt_index + * @return {!proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.SelectOption} + */ +proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.SelectData.prototype.addSelectOptions = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.SelectOption, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.SelectData} returns this + */ +proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.SelectData.prototype.clearSelectOptionsList = function() { + return this.setSelectOptionsList([]); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.FieldTypeData.prototype.toObject = function(opt_includeInstance) { + return proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.FieldTypeData.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.FieldTypeData} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.FieldTypeData.toObject = function(includeInstance, msg) { + var f, obj = { + selectData: (f = msg.getSelectData()) && proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.SelectData.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.FieldTypeData} + */ +proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.FieldTypeData.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.FieldTypeData; + return proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.FieldTypeData.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.FieldTypeData} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.FieldTypeData} + */ +proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.FieldTypeData.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.SelectData; + reader.readMessage(value,proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.SelectData.deserializeBinaryFromReader); + msg.setSelectData(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.FieldTypeData.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.FieldTypeData.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.FieldTypeData} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.FieldTypeData.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getSelectData(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.SelectData.serializeBinaryToWriter + ); + } +}; + + +/** + * optional SelectData select_data = 1; + * @return {?proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.SelectData} + */ +proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.FieldTypeData.prototype.getSelectData = function() { + return /** @type{?proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.SelectData} */ ( + jspb.Message.getWrapperField(this, proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.SelectData, 1)); +}; + + +/** + * @param {?proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.SelectData|undefined} value + * @return {!proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.FieldTypeData} returns this +*/ +proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.FieldTypeData.prototype.setSelectData = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.FieldTypeData} returns this + */ +proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.FieldTypeData.prototype.clearSelectData = function() { + return this.setSelectData(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.FieldTypeData.prototype.hasSelectData = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional FieldTypeData field_type_data = 1; + * @return {?proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.FieldTypeData} + */ +proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.prototype.getFieldTypeData = function() { + return /** @type{?proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.FieldTypeData} */ ( + jspb.Message.getWrapperField(this, proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.FieldTypeData, 1)); +}; + + +/** + * @param {?proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.FieldTypeData|undefined} value + * @return {!proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent} returns this +*/ +proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.prototype.setFieldTypeData = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent} returns this + */ +proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.prototype.clearFieldTypeData = function() { + return this.setFieldTypeData(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.prototype.hasFieldTypeData = function() { + return jspb.Message.getField(this, 1) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.libs.technical_events.property_svc.v1.PropertyNameUpdatedEvent.prototype.toObject = function(opt_includeInstance) { + return proto.libs.technical_events.property_svc.v1.PropertyNameUpdatedEvent.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.libs.technical_events.property_svc.v1.PropertyNameUpdatedEvent} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.libs.technical_events.property_svc.v1.PropertyNameUpdatedEvent.toObject = function(includeInstance, msg) { + var f, obj = { + name: jspb.Message.getFieldWithDefault(msg, 1, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.libs.technical_events.property_svc.v1.PropertyNameUpdatedEvent} + */ +proto.libs.technical_events.property_svc.v1.PropertyNameUpdatedEvent.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.libs.technical_events.property_svc.v1.PropertyNameUpdatedEvent; + return proto.libs.technical_events.property_svc.v1.PropertyNameUpdatedEvent.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.libs.technical_events.property_svc.v1.PropertyNameUpdatedEvent} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.libs.technical_events.property_svc.v1.PropertyNameUpdatedEvent} + */ +proto.libs.technical_events.property_svc.v1.PropertyNameUpdatedEvent.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setName(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.libs.technical_events.property_svc.v1.PropertyNameUpdatedEvent.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.libs.technical_events.property_svc.v1.PropertyNameUpdatedEvent.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.libs.technical_events.property_svc.v1.PropertyNameUpdatedEvent} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.libs.technical_events.property_svc.v1.PropertyNameUpdatedEvent.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getName(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } +}; + + +/** + * optional string name = 1; + * @return {string} + */ +proto.libs.technical_events.property_svc.v1.PropertyNameUpdatedEvent.prototype.getName = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.libs.technical_events.property_svc.v1.PropertyNameUpdatedEvent} returns this + */ +proto.libs.technical_events.property_svc.v1.PropertyNameUpdatedEvent.prototype.setName = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataAllowFreetextUpdatedEvent.prototype.toObject = function(opt_includeInstance) { + return proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataAllowFreetextUpdatedEvent.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataAllowFreetextUpdatedEvent} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataAllowFreetextUpdatedEvent.toObject = function(includeInstance, msg) { + var f, obj = { + newAllowFreetext: jspb.Message.getBooleanFieldWithDefault(msg, 1, false) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataAllowFreetextUpdatedEvent} + */ +proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataAllowFreetextUpdatedEvent.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataAllowFreetextUpdatedEvent; + return proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataAllowFreetextUpdatedEvent.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataAllowFreetextUpdatedEvent} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataAllowFreetextUpdatedEvent} + */ +proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataAllowFreetextUpdatedEvent.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setNewAllowFreetext(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataAllowFreetextUpdatedEvent.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataAllowFreetextUpdatedEvent.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataAllowFreetextUpdatedEvent} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataAllowFreetextUpdatedEvent.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getNewAllowFreetext(); + if (f) { + writer.writeBool( + 1, + f + ); + } +}; + + +/** + * optional bool new_allow_freetext = 1; + * @return {boolean} + */ +proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataAllowFreetextUpdatedEvent.prototype.getNewAllowFreetext = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataAllowFreetextUpdatedEvent} returns this + */ +proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataAllowFreetextUpdatedEvent.prototype.setNewAllowFreetext = function(value) { + return jspb.Message.setProto3BooleanField(this, 1, value); +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataSelectOptionsRemovedEvent.repeatedFields_ = [1]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataSelectOptionsRemovedEvent.prototype.toObject = function(opt_includeInstance) { + return proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataSelectOptionsRemovedEvent.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataSelectOptionsRemovedEvent} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataSelectOptionsRemovedEvent.toObject = function(includeInstance, msg) { + var f, obj = { + removedSelectOptionsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataSelectOptionsRemovedEvent} + */ +proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataSelectOptionsRemovedEvent.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataSelectOptionsRemovedEvent; + return proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataSelectOptionsRemovedEvent.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataSelectOptionsRemovedEvent} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataSelectOptionsRemovedEvent} + */ +proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataSelectOptionsRemovedEvent.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.addRemovedSelectOptions(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataSelectOptionsRemovedEvent.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataSelectOptionsRemovedEvent.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataSelectOptionsRemovedEvent} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataSelectOptionsRemovedEvent.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getRemovedSelectOptionsList(); + if (f.length > 0) { + writer.writeRepeatedString( + 1, + f + ); + } +}; + + +/** + * repeated string removed_select_options = 1; + * @return {!Array} + */ +proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataSelectOptionsRemovedEvent.prototype.getRemovedSelectOptionsList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 1)); +}; + + +/** + * @param {!Array} value + * @return {!proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataSelectOptionsRemovedEvent} returns this + */ +proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataSelectOptionsRemovedEvent.prototype.setRemovedSelectOptionsList = function(value) { + return jspb.Message.setField(this, 1, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataSelectOptionsRemovedEvent} returns this + */ +proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataSelectOptionsRemovedEvent.prototype.addRemovedSelectOptions = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 1, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataSelectOptionsRemovedEvent} returns this + */ +proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataSelectOptionsRemovedEvent.prototype.clearRemovedSelectOptionsList = function() { + return this.setRemovedSelectOptionsList([]); +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataSelectOptionsUpsertedEvent.repeatedFields_ = [1]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataSelectOptionsUpsertedEvent.prototype.toObject = function(opt_includeInstance) { + return proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataSelectOptionsUpsertedEvent.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataSelectOptionsUpsertedEvent} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataSelectOptionsUpsertedEvent.toObject = function(includeInstance, msg) { + var f, obj = { + upsertedSelectOptionsList: jspb.Message.toObjectList(msg.getUpsertedSelectOptionsList(), + proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataSelectOptionsUpsertedEvent.UpdateSelectOption.toObject, includeInstance) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataSelectOptionsUpsertedEvent} + */ +proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataSelectOptionsUpsertedEvent.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataSelectOptionsUpsertedEvent; + return proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataSelectOptionsUpsertedEvent.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataSelectOptionsUpsertedEvent} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataSelectOptionsUpsertedEvent} + */ +proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataSelectOptionsUpsertedEvent.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataSelectOptionsUpsertedEvent.UpdateSelectOption; + reader.readMessage(value,proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataSelectOptionsUpsertedEvent.UpdateSelectOption.deserializeBinaryFromReader); + msg.addUpsertedSelectOptions(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataSelectOptionsUpsertedEvent.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataSelectOptionsUpsertedEvent.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataSelectOptionsUpsertedEvent} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataSelectOptionsUpsertedEvent.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getUpsertedSelectOptionsList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 1, + f, + proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataSelectOptionsUpsertedEvent.UpdateSelectOption.serializeBinaryToWriter + ); + } +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataSelectOptionsUpsertedEvent.UpdateSelectOption.prototype.toObject = function(opt_includeInstance) { + return proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataSelectOptionsUpsertedEvent.UpdateSelectOption.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataSelectOptionsUpsertedEvent.UpdateSelectOption} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataSelectOptionsUpsertedEvent.UpdateSelectOption.toObject = function(includeInstance, msg) { + var f, obj = { + id: jspb.Message.getFieldWithDefault(msg, 1, ""), + name: jspb.Message.getFieldWithDefault(msg, 2, ""), + description: jspb.Message.getFieldWithDefault(msg, 3, ""), + isCustom: jspb.Message.getBooleanFieldWithDefault(msg, 4, false) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataSelectOptionsUpsertedEvent.UpdateSelectOption} + */ +proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataSelectOptionsUpsertedEvent.UpdateSelectOption.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataSelectOptionsUpsertedEvent.UpdateSelectOption; + return proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataSelectOptionsUpsertedEvent.UpdateSelectOption.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataSelectOptionsUpsertedEvent.UpdateSelectOption} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataSelectOptionsUpsertedEvent.UpdateSelectOption} + */ +proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataSelectOptionsUpsertedEvent.UpdateSelectOption.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setId(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setName(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setDescription(value); + break; + case 4: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setIsCustom(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataSelectOptionsUpsertedEvent.UpdateSelectOption.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataSelectOptionsUpsertedEvent.UpdateSelectOption.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataSelectOptionsUpsertedEvent.UpdateSelectOption} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataSelectOptionsUpsertedEvent.UpdateSelectOption.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getId(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 2)); + if (f != null) { + writer.writeString( + 2, + f + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 3)); + if (f != null) { + writer.writeString( + 3, + f + ); + } + f = /** @type {boolean} */ (jspb.Message.getField(message, 4)); + if (f != null) { + writer.writeBool( + 4, + f + ); + } +}; + + +/** + * optional string id = 1; + * @return {string} + */ +proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataSelectOptionsUpsertedEvent.UpdateSelectOption.prototype.getId = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataSelectOptionsUpsertedEvent.UpdateSelectOption} returns this + */ +proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataSelectOptionsUpsertedEvent.UpdateSelectOption.prototype.setId = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional string name = 2; + * @return {string} + */ +proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataSelectOptionsUpsertedEvent.UpdateSelectOption.prototype.getName = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataSelectOptionsUpsertedEvent.UpdateSelectOption} returns this + */ +proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataSelectOptionsUpsertedEvent.UpdateSelectOption.prototype.setName = function(value) { + return jspb.Message.setField(this, 2, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataSelectOptionsUpsertedEvent.UpdateSelectOption} returns this + */ +proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataSelectOptionsUpsertedEvent.UpdateSelectOption.prototype.clearName = function() { + return jspb.Message.setField(this, 2, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataSelectOptionsUpsertedEvent.UpdateSelectOption.prototype.hasName = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional string description = 3; + * @return {string} + */ +proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataSelectOptionsUpsertedEvent.UpdateSelectOption.prototype.getDescription = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataSelectOptionsUpsertedEvent.UpdateSelectOption} returns this + */ +proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataSelectOptionsUpsertedEvent.UpdateSelectOption.prototype.setDescription = function(value) { + return jspb.Message.setField(this, 3, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataSelectOptionsUpsertedEvent.UpdateSelectOption} returns this + */ +proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataSelectOptionsUpsertedEvent.UpdateSelectOption.prototype.clearDescription = function() { + return jspb.Message.setField(this, 3, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataSelectOptionsUpsertedEvent.UpdateSelectOption.prototype.hasDescription = function() { + return jspb.Message.getField(this, 3) != null; +}; + + +/** + * optional bool is_custom = 4; + * @return {boolean} + */ +proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataSelectOptionsUpsertedEvent.UpdateSelectOption.prototype.getIsCustom = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataSelectOptionsUpsertedEvent.UpdateSelectOption} returns this + */ +proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataSelectOptionsUpsertedEvent.UpdateSelectOption.prototype.setIsCustom = function(value) { + return jspb.Message.setField(this, 4, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataSelectOptionsUpsertedEvent.UpdateSelectOption} returns this + */ +proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataSelectOptionsUpsertedEvent.UpdateSelectOption.prototype.clearIsCustom = function() { + return jspb.Message.setField(this, 4, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataSelectOptionsUpsertedEvent.UpdateSelectOption.prototype.hasIsCustom = function() { + return jspb.Message.getField(this, 4) != null; +}; + + +/** + * repeated UpdateSelectOption upserted_select_options = 1; + * @return {!Array} + */ +proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataSelectOptionsUpsertedEvent.prototype.getUpsertedSelectOptionsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataSelectOptionsUpsertedEvent.UpdateSelectOption, 1)); +}; + + +/** + * @param {!Array} value + * @return {!proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataSelectOptionsUpsertedEvent} returns this +*/ +proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataSelectOptionsUpsertedEvent.prototype.setUpsertedSelectOptionsList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 1, value); +}; + + +/** + * @param {!proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataSelectOptionsUpsertedEvent.UpdateSelectOption=} opt_value + * @param {number=} opt_index + * @return {!proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataSelectOptionsUpsertedEvent.UpdateSelectOption} + */ +proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataSelectOptionsUpsertedEvent.prototype.addUpsertedSelectOptions = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataSelectOptionsUpsertedEvent.UpdateSelectOption, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataSelectOptionsUpsertedEvent} returns this + */ +proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataSelectOptionsUpsertedEvent.prototype.clearUpsertedSelectOptionsList = function() { + return this.setUpsertedSelectOptionsList([]); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.libs.technical_events.property_svc.v1.PropertyArchivedEvent.prototype.toObject = function(opt_includeInstance) { + return proto.libs.technical_events.property_svc.v1.PropertyArchivedEvent.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.libs.technical_events.property_svc.v1.PropertyArchivedEvent} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.libs.technical_events.property_svc.v1.PropertyArchivedEvent.toObject = function(includeInstance, msg) { + var f, obj = { + + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.libs.technical_events.property_svc.v1.PropertyArchivedEvent} + */ +proto.libs.technical_events.property_svc.v1.PropertyArchivedEvent.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.libs.technical_events.property_svc.v1.PropertyArchivedEvent; + return proto.libs.technical_events.property_svc.v1.PropertyArchivedEvent.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.libs.technical_events.property_svc.v1.PropertyArchivedEvent} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.libs.technical_events.property_svc.v1.PropertyArchivedEvent} + */ +proto.libs.technical_events.property_svc.v1.PropertyArchivedEvent.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.libs.technical_events.property_svc.v1.PropertyArchivedEvent.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.libs.technical_events.property_svc.v1.PropertyArchivedEvent.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.libs.technical_events.property_svc.v1.PropertyArchivedEvent} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.libs.technical_events.property_svc.v1.PropertyArchivedEvent.serializeBinaryToWriter = function(message, writer) { + var f = undefined; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.libs.technical_events.property_svc.v1.PropertyRetrievedEvent.prototype.toObject = function(opt_includeInstance) { + return proto.libs.technical_events.property_svc.v1.PropertyRetrievedEvent.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.libs.technical_events.property_svc.v1.PropertyRetrievedEvent} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.libs.technical_events.property_svc.v1.PropertyRetrievedEvent.toObject = function(includeInstance, msg) { + var f, obj = { + + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.libs.technical_events.property_svc.v1.PropertyRetrievedEvent} + */ +proto.libs.technical_events.property_svc.v1.PropertyRetrievedEvent.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.libs.technical_events.property_svc.v1.PropertyRetrievedEvent; + return proto.libs.technical_events.property_svc.v1.PropertyRetrievedEvent.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.libs.technical_events.property_svc.v1.PropertyRetrievedEvent} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.libs.technical_events.property_svc.v1.PropertyRetrievedEvent} + */ +proto.libs.technical_events.property_svc.v1.PropertyRetrievedEvent.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.libs.technical_events.property_svc.v1.PropertyRetrievedEvent.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.libs.technical_events.property_svc.v1.PropertyRetrievedEvent.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.libs.technical_events.property_svc.v1.PropertyRetrievedEvent} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.libs.technical_events.property_svc.v1.PropertyRetrievedEvent.serializeBinaryToWriter = function(message, writer) { + var f = undefined; +}; + + + +/** + * Oneof group definitions for this message. Each group defines the field + * numbers belonging to that group. When of these fields' value is set, all + * other fields in the group are cleared. During deserialization, if multiple + * fields are encountered for a group, only the last value seen will be kept. + * @private {!Array>} + * @const + */ +proto.libs.technical_events.property_svc.v1.TechnicalEvent.oneofGroups_ = [[1,2,3,4,5,6,7,8,9,10,11,12]]; + +/** + * @enum {number} + */ +proto.libs.technical_events.property_svc.v1.TechnicalEvent.EventCase = { + EVENT_NOT_SET: 0, + PROPERTY_CREATED: 1, + PROPERTY_DESCRIPTION_UPDATED: 2, + PROPERTY_SET_ID_UPDATED: 3, + PROPERTY_SUBJECT_TYPE_UPDATED: 4, + PROPERTY_FIELD_TYPE_UPDATED: 5, + PROPERTY_FIELD_TYPE_DATA_CREATED: 6, + PROPERTY_NAME_UPDATED: 7, + PROPERTY_FIELD_TYPE_DATA_ALLOW_FREETEXT_UPDATED: 8, + PROPERTY_FIELD_TYPE_DATA_SELECT_OPTIONS_REMOVED: 9, + PROPERTY_FIELD_TYPE_DATA_SELECT_OPTIONS_UPSERTED: 10, + PROPERTY_ARCHIVED: 11, + PROPERTY_RETRIEVED: 12 +}; + +/** + * @return {proto.libs.technical_events.property_svc.v1.TechnicalEvent.EventCase} + */ +proto.libs.technical_events.property_svc.v1.TechnicalEvent.prototype.getEventCase = function() { + return /** @type {proto.libs.technical_events.property_svc.v1.TechnicalEvent.EventCase} */(jspb.Message.computeOneofCase(this, proto.libs.technical_events.property_svc.v1.TechnicalEvent.oneofGroups_[0])); +}; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.libs.technical_events.property_svc.v1.TechnicalEvent.prototype.toObject = function(opt_includeInstance) { + return proto.libs.technical_events.property_svc.v1.TechnicalEvent.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.libs.technical_events.property_svc.v1.TechnicalEvent} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.libs.technical_events.property_svc.v1.TechnicalEvent.toObject = function(includeInstance, msg) { + var f, obj = { + propertyCreated: (f = msg.getPropertyCreated()) && proto.libs.technical_events.property_svc.v1.PropertyCreatedEvent.toObject(includeInstance, f), + propertyDescriptionUpdated: (f = msg.getPropertyDescriptionUpdated()) && proto.libs.technical_events.property_svc.v1.PropertyDescriptionUpdatedEvent.toObject(includeInstance, f), + propertySetIdUpdated: (f = msg.getPropertySetIdUpdated()) && proto.libs.technical_events.property_svc.v1.PropertySetIDUpdatedEvent.toObject(includeInstance, f), + propertySubjectTypeUpdated: (f = msg.getPropertySubjectTypeUpdated()) && proto.libs.technical_events.property_svc.v1.PropertySubjectTypeUpdatedEvent.toObject(includeInstance, f), + propertyFieldTypeUpdated: (f = msg.getPropertyFieldTypeUpdated()) && proto.libs.technical_events.property_svc.v1.PropertyFieldTypeUpdatedEvent.toObject(includeInstance, f), + propertyFieldTypeDataCreated: (f = msg.getPropertyFieldTypeDataCreated()) && proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.toObject(includeInstance, f), + propertyNameUpdated: (f = msg.getPropertyNameUpdated()) && proto.libs.technical_events.property_svc.v1.PropertyNameUpdatedEvent.toObject(includeInstance, f), + propertyFieldTypeDataAllowFreetextUpdated: (f = msg.getPropertyFieldTypeDataAllowFreetextUpdated()) && proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataAllowFreetextUpdatedEvent.toObject(includeInstance, f), + propertyFieldTypeDataSelectOptionsRemoved: (f = msg.getPropertyFieldTypeDataSelectOptionsRemoved()) && proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataSelectOptionsRemovedEvent.toObject(includeInstance, f), + propertyFieldTypeDataSelectOptionsUpserted: (f = msg.getPropertyFieldTypeDataSelectOptionsUpserted()) && proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataSelectOptionsUpsertedEvent.toObject(includeInstance, f), + propertyArchived: (f = msg.getPropertyArchived()) && proto.libs.technical_events.property_svc.v1.PropertyArchivedEvent.toObject(includeInstance, f), + propertyRetrieved: (f = msg.getPropertyRetrieved()) && proto.libs.technical_events.property_svc.v1.PropertyRetrievedEvent.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.libs.technical_events.property_svc.v1.TechnicalEvent} + */ +proto.libs.technical_events.property_svc.v1.TechnicalEvent.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.libs.technical_events.property_svc.v1.TechnicalEvent; + return proto.libs.technical_events.property_svc.v1.TechnicalEvent.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.libs.technical_events.property_svc.v1.TechnicalEvent} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.libs.technical_events.property_svc.v1.TechnicalEvent} + */ +proto.libs.technical_events.property_svc.v1.TechnicalEvent.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.libs.technical_events.property_svc.v1.PropertyCreatedEvent; + reader.readMessage(value,proto.libs.technical_events.property_svc.v1.PropertyCreatedEvent.deserializeBinaryFromReader); + msg.setPropertyCreated(value); + break; + case 2: + var value = new proto.libs.technical_events.property_svc.v1.PropertyDescriptionUpdatedEvent; + reader.readMessage(value,proto.libs.technical_events.property_svc.v1.PropertyDescriptionUpdatedEvent.deserializeBinaryFromReader); + msg.setPropertyDescriptionUpdated(value); + break; + case 3: + var value = new proto.libs.technical_events.property_svc.v1.PropertySetIDUpdatedEvent; + reader.readMessage(value,proto.libs.technical_events.property_svc.v1.PropertySetIDUpdatedEvent.deserializeBinaryFromReader); + msg.setPropertySetIdUpdated(value); + break; + case 4: + var value = new proto.libs.technical_events.property_svc.v1.PropertySubjectTypeUpdatedEvent; + reader.readMessage(value,proto.libs.technical_events.property_svc.v1.PropertySubjectTypeUpdatedEvent.deserializeBinaryFromReader); + msg.setPropertySubjectTypeUpdated(value); + break; + case 5: + var value = new proto.libs.technical_events.property_svc.v1.PropertyFieldTypeUpdatedEvent; + reader.readMessage(value,proto.libs.technical_events.property_svc.v1.PropertyFieldTypeUpdatedEvent.deserializeBinaryFromReader); + msg.setPropertyFieldTypeUpdated(value); + break; + case 6: + var value = new proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent; + reader.readMessage(value,proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.deserializeBinaryFromReader); + msg.setPropertyFieldTypeDataCreated(value); + break; + case 7: + var value = new proto.libs.technical_events.property_svc.v1.PropertyNameUpdatedEvent; + reader.readMessage(value,proto.libs.technical_events.property_svc.v1.PropertyNameUpdatedEvent.deserializeBinaryFromReader); + msg.setPropertyNameUpdated(value); + break; + case 8: + var value = new proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataAllowFreetextUpdatedEvent; + reader.readMessage(value,proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataAllowFreetextUpdatedEvent.deserializeBinaryFromReader); + msg.setPropertyFieldTypeDataAllowFreetextUpdated(value); + break; + case 9: + var value = new proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataSelectOptionsRemovedEvent; + reader.readMessage(value,proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataSelectOptionsRemovedEvent.deserializeBinaryFromReader); + msg.setPropertyFieldTypeDataSelectOptionsRemoved(value); + break; + case 10: + var value = new proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataSelectOptionsUpsertedEvent; + reader.readMessage(value,proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataSelectOptionsUpsertedEvent.deserializeBinaryFromReader); + msg.setPropertyFieldTypeDataSelectOptionsUpserted(value); + break; + case 11: + var value = new proto.libs.technical_events.property_svc.v1.PropertyArchivedEvent; + reader.readMessage(value,proto.libs.technical_events.property_svc.v1.PropertyArchivedEvent.deserializeBinaryFromReader); + msg.setPropertyArchived(value); + break; + case 12: + var value = new proto.libs.technical_events.property_svc.v1.PropertyRetrievedEvent; + reader.readMessage(value,proto.libs.technical_events.property_svc.v1.PropertyRetrievedEvent.deserializeBinaryFromReader); + msg.setPropertyRetrieved(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.libs.technical_events.property_svc.v1.TechnicalEvent.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.libs.technical_events.property_svc.v1.TechnicalEvent.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.libs.technical_events.property_svc.v1.TechnicalEvent} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.libs.technical_events.property_svc.v1.TechnicalEvent.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getPropertyCreated(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.libs.technical_events.property_svc.v1.PropertyCreatedEvent.serializeBinaryToWriter + ); + } + f = message.getPropertyDescriptionUpdated(); + if (f != null) { + writer.writeMessage( + 2, + f, + proto.libs.technical_events.property_svc.v1.PropertyDescriptionUpdatedEvent.serializeBinaryToWriter + ); + } + f = message.getPropertySetIdUpdated(); + if (f != null) { + writer.writeMessage( + 3, + f, + proto.libs.technical_events.property_svc.v1.PropertySetIDUpdatedEvent.serializeBinaryToWriter + ); + } + f = message.getPropertySubjectTypeUpdated(); + if (f != null) { + writer.writeMessage( + 4, + f, + proto.libs.technical_events.property_svc.v1.PropertySubjectTypeUpdatedEvent.serializeBinaryToWriter + ); + } + f = message.getPropertyFieldTypeUpdated(); + if (f != null) { + writer.writeMessage( + 5, + f, + proto.libs.technical_events.property_svc.v1.PropertyFieldTypeUpdatedEvent.serializeBinaryToWriter + ); + } + f = message.getPropertyFieldTypeDataCreated(); + if (f != null) { + writer.writeMessage( + 6, + f, + proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent.serializeBinaryToWriter + ); + } + f = message.getPropertyNameUpdated(); + if (f != null) { + writer.writeMessage( + 7, + f, + proto.libs.technical_events.property_svc.v1.PropertyNameUpdatedEvent.serializeBinaryToWriter + ); + } + f = message.getPropertyFieldTypeDataAllowFreetextUpdated(); + if (f != null) { + writer.writeMessage( + 8, + f, + proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataAllowFreetextUpdatedEvent.serializeBinaryToWriter + ); + } + f = message.getPropertyFieldTypeDataSelectOptionsRemoved(); + if (f != null) { + writer.writeMessage( + 9, + f, + proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataSelectOptionsRemovedEvent.serializeBinaryToWriter + ); + } + f = message.getPropertyFieldTypeDataSelectOptionsUpserted(); + if (f != null) { + writer.writeMessage( + 10, + f, + proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataSelectOptionsUpsertedEvent.serializeBinaryToWriter + ); + } + f = message.getPropertyArchived(); + if (f != null) { + writer.writeMessage( + 11, + f, + proto.libs.technical_events.property_svc.v1.PropertyArchivedEvent.serializeBinaryToWriter + ); + } + f = message.getPropertyRetrieved(); + if (f != null) { + writer.writeMessage( + 12, + f, + proto.libs.technical_events.property_svc.v1.PropertyRetrievedEvent.serializeBinaryToWriter + ); + } +}; +/** + * optional PropertyCreatedEvent property_created = 1; + * @return {?proto.libs.technical_events.property_svc.v1.PropertyCreatedEvent} + */ +proto.libs.technical_events.property_svc.v1.TechnicalEvent.prototype.getPropertyCreated = function() { + return /** @type{?proto.libs.technical_events.property_svc.v1.PropertyCreatedEvent} */ ( + jspb.Message.getWrapperField(this, proto.libs.technical_events.property_svc.v1.PropertyCreatedEvent, 1)); +}; + -if (jspb.Message.GENERATE_TO_OBJECT) { /** - * Creates an object representation of this proto. - * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. - * To access a reserved field use, foo.pb_, eg, foo.pb_default. - * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @return {!Object} + * @param {?proto.libs.technical_events.property_svc.v1.PropertyCreatedEvent|undefined} value + * @return {!proto.libs.technical_events.property_svc.v1.TechnicalEvent} returns this +*/ +proto.libs.technical_events.property_svc.v1.TechnicalEvent.prototype.setPropertyCreated = function(value) { + return jspb.Message.setOneofWrapperField(this, 1, proto.libs.technical_events.property_svc.v1.TechnicalEvent.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.libs.technical_events.property_svc.v1.TechnicalEvent} returns this */ -proto.libs.technical_events.property_svc.v1.UpdateNameEvent.prototype.toObject = function(opt_includeInstance) { - return proto.libs.technical_events.property_svc.v1.UpdateNameEvent.toObject(opt_includeInstance, this); +proto.libs.technical_events.property_svc.v1.TechnicalEvent.prototype.clearPropertyCreated = function() { + return this.setPropertyCreated(undefined); }; /** - * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @param {!proto.libs.technical_events.property_svc.v1.UpdateNameEvent} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages + * Returns whether this field is set. + * @return {boolean} */ -proto.libs.technical_events.property_svc.v1.UpdateNameEvent.toObject = function(includeInstance, msg) { - var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, "") - }; +proto.libs.technical_events.property_svc.v1.TechnicalEvent.prototype.hasPropertyCreated = function() { + return jspb.Message.getField(this, 1) != null; +}; - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; + +/** + * optional PropertyDescriptionUpdatedEvent property_description_updated = 2; + * @return {?proto.libs.technical_events.property_svc.v1.PropertyDescriptionUpdatedEvent} + */ +proto.libs.technical_events.property_svc.v1.TechnicalEvent.prototype.getPropertyDescriptionUpdated = function() { + return /** @type{?proto.libs.technical_events.property_svc.v1.PropertyDescriptionUpdatedEvent} */ ( + jspb.Message.getWrapperField(this, proto.libs.technical_events.property_svc.v1.PropertyDescriptionUpdatedEvent, 2)); }; -} /** - * Deserializes binary data (in protobuf wire format). - * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.libs.technical_events.property_svc.v1.UpdateNameEvent} + * @param {?proto.libs.technical_events.property_svc.v1.PropertyDescriptionUpdatedEvent|undefined} value + * @return {!proto.libs.technical_events.property_svc.v1.TechnicalEvent} returns this +*/ +proto.libs.technical_events.property_svc.v1.TechnicalEvent.prototype.setPropertyDescriptionUpdated = function(value) { + return jspb.Message.setOneofWrapperField(this, 2, proto.libs.technical_events.property_svc.v1.TechnicalEvent.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.libs.technical_events.property_svc.v1.TechnicalEvent} returns this */ -proto.libs.technical_events.property_svc.v1.UpdateNameEvent.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.libs.technical_events.property_svc.v1.UpdateNameEvent; - return proto.libs.technical_events.property_svc.v1.UpdateNameEvent.deserializeBinaryFromReader(msg, reader); +proto.libs.technical_events.property_svc.v1.TechnicalEvent.prototype.clearPropertyDescriptionUpdated = function() { + return this.setPropertyDescriptionUpdated(undefined); }; /** - * Deserializes binary data (in protobuf wire format) from the - * given reader into the given message object. - * @param {!proto.libs.technical_events.property_svc.v1.UpdateNameEvent} msg The message object to deserialize into. - * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.libs.technical_events.property_svc.v1.UpdateNameEvent} + * Returns whether this field is set. + * @return {boolean} */ -proto.libs.technical_events.property_svc.v1.UpdateNameEvent.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; - } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = /** @type {string} */ (reader.readString()); - msg.setName(value); - break; - default: - reader.skipField(); - break; - } - } - return msg; +proto.libs.technical_events.property_svc.v1.TechnicalEvent.prototype.hasPropertyDescriptionUpdated = function() { + return jspb.Message.getField(this, 2) != null; }; /** - * Serializes the message to binary data (in protobuf wire format). - * @return {!Uint8Array} + * optional PropertySetIDUpdatedEvent property_set_id_updated = 3; + * @return {?proto.libs.technical_events.property_svc.v1.PropertySetIDUpdatedEvent} */ -proto.libs.technical_events.property_svc.v1.UpdateNameEvent.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.libs.technical_events.property_svc.v1.UpdateNameEvent.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); +proto.libs.technical_events.property_svc.v1.TechnicalEvent.prototype.getPropertySetIdUpdated = function() { + return /** @type{?proto.libs.technical_events.property_svc.v1.PropertySetIDUpdatedEvent} */ ( + jspb.Message.getWrapperField(this, proto.libs.technical_events.property_svc.v1.PropertySetIDUpdatedEvent, 3)); }; /** - * Serializes the given message to binary data (in protobuf wire - * format), writing to the given BinaryWriter. - * @param {!proto.libs.technical_events.property_svc.v1.UpdateNameEvent} message - * @param {!jspb.BinaryWriter} writer - * @suppress {unusedLocalVariables} f is only used for nested messages + * @param {?proto.libs.technical_events.property_svc.v1.PropertySetIDUpdatedEvent|undefined} value + * @return {!proto.libs.technical_events.property_svc.v1.TechnicalEvent} returns this +*/ +proto.libs.technical_events.property_svc.v1.TechnicalEvent.prototype.setPropertySetIdUpdated = function(value) { + return jspb.Message.setOneofWrapperField(this, 3, proto.libs.technical_events.property_svc.v1.TechnicalEvent.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.libs.technical_events.property_svc.v1.TechnicalEvent} returns this */ -proto.libs.technical_events.property_svc.v1.UpdateNameEvent.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getName(); - if (f.length > 0) { - writer.writeString( - 1, - f - ); - } +proto.libs.technical_events.property_svc.v1.TechnicalEvent.prototype.clearPropertySetIdUpdated = function() { + return this.setPropertySetIdUpdated(undefined); }; /** - * optional string name = 1; - * @return {string} + * Returns whether this field is set. + * @return {boolean} */ -proto.libs.technical_events.property_svc.v1.UpdateNameEvent.prototype.getName = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +proto.libs.technical_events.property_svc.v1.TechnicalEvent.prototype.hasPropertySetIdUpdated = function() { + return jspb.Message.getField(this, 3) != null; }; /** - * @param {string} value - * @return {!proto.libs.technical_events.property_svc.v1.UpdateNameEvent} returns this + * optional PropertySubjectTypeUpdatedEvent property_subject_type_updated = 4; + * @return {?proto.libs.technical_events.property_svc.v1.PropertySubjectTypeUpdatedEvent} */ -proto.libs.technical_events.property_svc.v1.UpdateNameEvent.prototype.setName = function(value) { - return jspb.Message.setProto3StringField(this, 1, value); +proto.libs.technical_events.property_svc.v1.TechnicalEvent.prototype.getPropertySubjectTypeUpdated = function() { + return /** @type{?proto.libs.technical_events.property_svc.v1.PropertySubjectTypeUpdatedEvent} */ ( + jspb.Message.getWrapperField(this, proto.libs.technical_events.property_svc.v1.PropertySubjectTypeUpdatedEvent, 4)); +}; + + +/** + * @param {?proto.libs.technical_events.property_svc.v1.PropertySubjectTypeUpdatedEvent|undefined} value + * @return {!proto.libs.technical_events.property_svc.v1.TechnicalEvent} returns this +*/ +proto.libs.technical_events.property_svc.v1.TechnicalEvent.prototype.setPropertySubjectTypeUpdated = function(value) { + return jspb.Message.setOneofWrapperField(this, 4, proto.libs.technical_events.property_svc.v1.TechnicalEvent.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.libs.technical_events.property_svc.v1.TechnicalEvent} returns this + */ +proto.libs.technical_events.property_svc.v1.TechnicalEvent.prototype.clearPropertySubjectTypeUpdated = function() { + return this.setPropertySubjectTypeUpdated(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.libs.technical_events.property_svc.v1.TechnicalEvent.prototype.hasPropertySubjectTypeUpdated = function() { + return jspb.Message.getField(this, 4) != null; +}; + + +/** + * optional PropertyFieldTypeUpdatedEvent property_field_type_updated = 5; + * @return {?proto.libs.technical_events.property_svc.v1.PropertyFieldTypeUpdatedEvent} + */ +proto.libs.technical_events.property_svc.v1.TechnicalEvent.prototype.getPropertyFieldTypeUpdated = function() { + return /** @type{?proto.libs.technical_events.property_svc.v1.PropertyFieldTypeUpdatedEvent} */ ( + jspb.Message.getWrapperField(this, proto.libs.technical_events.property_svc.v1.PropertyFieldTypeUpdatedEvent, 5)); +}; + + +/** + * @param {?proto.libs.technical_events.property_svc.v1.PropertyFieldTypeUpdatedEvent|undefined} value + * @return {!proto.libs.technical_events.property_svc.v1.TechnicalEvent} returns this +*/ +proto.libs.technical_events.property_svc.v1.TechnicalEvent.prototype.setPropertyFieldTypeUpdated = function(value) { + return jspb.Message.setOneofWrapperField(this, 5, proto.libs.technical_events.property_svc.v1.TechnicalEvent.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.libs.technical_events.property_svc.v1.TechnicalEvent} returns this + */ +proto.libs.technical_events.property_svc.v1.TechnicalEvent.prototype.clearPropertyFieldTypeUpdated = function() { + return this.setPropertyFieldTypeUpdated(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.libs.technical_events.property_svc.v1.TechnicalEvent.prototype.hasPropertyFieldTypeUpdated = function() { + return jspb.Message.getField(this, 5) != null; +}; + + +/** + * optional PropertyFieldTypeDataCreatedEvent property_field_type_data_created = 6; + * @return {?proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent} + */ +proto.libs.technical_events.property_svc.v1.TechnicalEvent.prototype.getPropertyFieldTypeDataCreated = function() { + return /** @type{?proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent} */ ( + jspb.Message.getWrapperField(this, proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent, 6)); +}; + + +/** + * @param {?proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataCreatedEvent|undefined} value + * @return {!proto.libs.technical_events.property_svc.v1.TechnicalEvent} returns this +*/ +proto.libs.technical_events.property_svc.v1.TechnicalEvent.prototype.setPropertyFieldTypeDataCreated = function(value) { + return jspb.Message.setOneofWrapperField(this, 6, proto.libs.technical_events.property_svc.v1.TechnicalEvent.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.libs.technical_events.property_svc.v1.TechnicalEvent} returns this + */ +proto.libs.technical_events.property_svc.v1.TechnicalEvent.prototype.clearPropertyFieldTypeDataCreated = function() { + return this.setPropertyFieldTypeDataCreated(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.libs.technical_events.property_svc.v1.TechnicalEvent.prototype.hasPropertyFieldTypeDataCreated = function() { + return jspb.Message.getField(this, 6) != null; +}; + + +/** + * optional PropertyNameUpdatedEvent property_name_updated = 7; + * @return {?proto.libs.technical_events.property_svc.v1.PropertyNameUpdatedEvent} + */ +proto.libs.technical_events.property_svc.v1.TechnicalEvent.prototype.getPropertyNameUpdated = function() { + return /** @type{?proto.libs.technical_events.property_svc.v1.PropertyNameUpdatedEvent} */ ( + jspb.Message.getWrapperField(this, proto.libs.technical_events.property_svc.v1.PropertyNameUpdatedEvent, 7)); +}; + + +/** + * @param {?proto.libs.technical_events.property_svc.v1.PropertyNameUpdatedEvent|undefined} value + * @return {!proto.libs.technical_events.property_svc.v1.TechnicalEvent} returns this +*/ +proto.libs.technical_events.property_svc.v1.TechnicalEvent.prototype.setPropertyNameUpdated = function(value) { + return jspb.Message.setOneofWrapperField(this, 7, proto.libs.technical_events.property_svc.v1.TechnicalEvent.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.libs.technical_events.property_svc.v1.TechnicalEvent} returns this + */ +proto.libs.technical_events.property_svc.v1.TechnicalEvent.prototype.clearPropertyNameUpdated = function() { + return this.setPropertyNameUpdated(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.libs.technical_events.property_svc.v1.TechnicalEvent.prototype.hasPropertyNameUpdated = function() { + return jspb.Message.getField(this, 7) != null; +}; + + +/** + * optional PropertyFieldTypeDataAllowFreetextUpdatedEvent property_field_type_data_allow_freetext_updated = 8; + * @return {?proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataAllowFreetextUpdatedEvent} + */ +proto.libs.technical_events.property_svc.v1.TechnicalEvent.prototype.getPropertyFieldTypeDataAllowFreetextUpdated = function() { + return /** @type{?proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataAllowFreetextUpdatedEvent} */ ( + jspb.Message.getWrapperField(this, proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataAllowFreetextUpdatedEvent, 8)); +}; + + +/** + * @param {?proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataAllowFreetextUpdatedEvent|undefined} value + * @return {!proto.libs.technical_events.property_svc.v1.TechnicalEvent} returns this +*/ +proto.libs.technical_events.property_svc.v1.TechnicalEvent.prototype.setPropertyFieldTypeDataAllowFreetextUpdated = function(value) { + return jspb.Message.setOneofWrapperField(this, 8, proto.libs.technical_events.property_svc.v1.TechnicalEvent.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.libs.technical_events.property_svc.v1.TechnicalEvent} returns this + */ +proto.libs.technical_events.property_svc.v1.TechnicalEvent.prototype.clearPropertyFieldTypeDataAllowFreetextUpdated = function() { + return this.setPropertyFieldTypeDataAllowFreetextUpdated(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.libs.technical_events.property_svc.v1.TechnicalEvent.prototype.hasPropertyFieldTypeDataAllowFreetextUpdated = function() { + return jspb.Message.getField(this, 8) != null; +}; + + +/** + * optional PropertyFieldTypeDataSelectOptionsRemovedEvent property_field_type_data_select_options_removed = 9; + * @return {?proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataSelectOptionsRemovedEvent} + */ +proto.libs.technical_events.property_svc.v1.TechnicalEvent.prototype.getPropertyFieldTypeDataSelectOptionsRemoved = function() { + return /** @type{?proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataSelectOptionsRemovedEvent} */ ( + jspb.Message.getWrapperField(this, proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataSelectOptionsRemovedEvent, 9)); +}; + + +/** + * @param {?proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataSelectOptionsRemovedEvent|undefined} value + * @return {!proto.libs.technical_events.property_svc.v1.TechnicalEvent} returns this +*/ +proto.libs.technical_events.property_svc.v1.TechnicalEvent.prototype.setPropertyFieldTypeDataSelectOptionsRemoved = function(value) { + return jspb.Message.setOneofWrapperField(this, 9, proto.libs.technical_events.property_svc.v1.TechnicalEvent.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.libs.technical_events.property_svc.v1.TechnicalEvent} returns this + */ +proto.libs.technical_events.property_svc.v1.TechnicalEvent.prototype.clearPropertyFieldTypeDataSelectOptionsRemoved = function() { + return this.setPropertyFieldTypeDataSelectOptionsRemoved(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.libs.technical_events.property_svc.v1.TechnicalEvent.prototype.hasPropertyFieldTypeDataSelectOptionsRemoved = function() { + return jspb.Message.getField(this, 9) != null; +}; + + +/** + * optional PropertyFieldTypeDataSelectOptionsUpsertedEvent property_field_type_data_select_options_upserted = 10; + * @return {?proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataSelectOptionsUpsertedEvent} + */ +proto.libs.technical_events.property_svc.v1.TechnicalEvent.prototype.getPropertyFieldTypeDataSelectOptionsUpserted = function() { + return /** @type{?proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataSelectOptionsUpsertedEvent} */ ( + jspb.Message.getWrapperField(this, proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataSelectOptionsUpsertedEvent, 10)); +}; + + +/** + * @param {?proto.libs.technical_events.property_svc.v1.PropertyFieldTypeDataSelectOptionsUpsertedEvent|undefined} value + * @return {!proto.libs.technical_events.property_svc.v1.TechnicalEvent} returns this +*/ +proto.libs.technical_events.property_svc.v1.TechnicalEvent.prototype.setPropertyFieldTypeDataSelectOptionsUpserted = function(value) { + return jspb.Message.setOneofWrapperField(this, 10, proto.libs.technical_events.property_svc.v1.TechnicalEvent.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.libs.technical_events.property_svc.v1.TechnicalEvent} returns this + */ +proto.libs.technical_events.property_svc.v1.TechnicalEvent.prototype.clearPropertyFieldTypeDataSelectOptionsUpserted = function() { + return this.setPropertyFieldTypeDataSelectOptionsUpserted(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.libs.technical_events.property_svc.v1.TechnicalEvent.prototype.hasPropertyFieldTypeDataSelectOptionsUpserted = function() { + return jspb.Message.getField(this, 10) != null; +}; + + +/** + * optional PropertyArchivedEvent property_archived = 11; + * @return {?proto.libs.technical_events.property_svc.v1.PropertyArchivedEvent} + */ +proto.libs.technical_events.property_svc.v1.TechnicalEvent.prototype.getPropertyArchived = function() { + return /** @type{?proto.libs.technical_events.property_svc.v1.PropertyArchivedEvent} */ ( + jspb.Message.getWrapperField(this, proto.libs.technical_events.property_svc.v1.PropertyArchivedEvent, 11)); +}; + + +/** + * @param {?proto.libs.technical_events.property_svc.v1.PropertyArchivedEvent|undefined} value + * @return {!proto.libs.technical_events.property_svc.v1.TechnicalEvent} returns this +*/ +proto.libs.technical_events.property_svc.v1.TechnicalEvent.prototype.setPropertyArchived = function(value) { + return jspb.Message.setOneofWrapperField(this, 11, proto.libs.technical_events.property_svc.v1.TechnicalEvent.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.libs.technical_events.property_svc.v1.TechnicalEvent} returns this + */ +proto.libs.technical_events.property_svc.v1.TechnicalEvent.prototype.clearPropertyArchived = function() { + return this.setPropertyArchived(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.libs.technical_events.property_svc.v1.TechnicalEvent.prototype.hasPropertyArchived = function() { + return jspb.Message.getField(this, 11) != null; +}; + + +/** + * optional PropertyRetrievedEvent property_retrieved = 12; + * @return {?proto.libs.technical_events.property_svc.v1.PropertyRetrievedEvent} + */ +proto.libs.technical_events.property_svc.v1.TechnicalEvent.prototype.getPropertyRetrieved = function() { + return /** @type{?proto.libs.technical_events.property_svc.v1.PropertyRetrievedEvent} */ ( + jspb.Message.getWrapperField(this, proto.libs.technical_events.property_svc.v1.PropertyRetrievedEvent, 12)); +}; + + +/** + * @param {?proto.libs.technical_events.property_svc.v1.PropertyRetrievedEvent|undefined} value + * @return {!proto.libs.technical_events.property_svc.v1.TechnicalEvent} returns this +*/ +proto.libs.technical_events.property_svc.v1.TechnicalEvent.prototype.setPropertyRetrieved = function(value) { + return jspb.Message.setOneofWrapperField(this, 12, proto.libs.technical_events.property_svc.v1.TechnicalEvent.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.libs.technical_events.property_svc.v1.TechnicalEvent} returns this + */ +proto.libs.technical_events.property_svc.v1.TechnicalEvent.prototype.clearPropertyRetrieved = function() { + return this.setPropertyRetrieved(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.libs.technical_events.property_svc.v1.TechnicalEvent.prototype.hasPropertyRetrieved = function() { + return jspb.Message.getField(this, 12) != null; }; diff --git a/libs/hwes/event.go b/libs/hwes/event.go index f960cd46c..e5e652738 100644 --- a/libs/hwes/event.go +++ b/libs/hwes/event.go @@ -15,6 +15,8 @@ import ( "github.com/EventStore/EventStore-Client-Go/v4/esdb" "github.com/google/uuid" "github.com/rs/zerolog" + + pbEventsV1 "gen/libs/events/v1" ) type Event struct { @@ -49,19 +51,12 @@ type metadata struct { DataIsProto bool `json:"data_is_proto"` } -func MessageToEventName(protoMessage proto.Message) (string, error) { - protoPath := proto.MessageName(protoMessage) - - messageName := string(protoPath.Name()) - probablyVersion := string(protoPath.Parent().Name()) - - if !strings.HasPrefix(probablyVersion, "v") { - return "", fmt.Errorf("%s does not look like a version for proto %s", probablyVersion, protoPath) +func MessageToEventName(protoMessage proto.Message) string { + protoEventType := proto.GetExtension(protoMessage.ProtoReflect().Descriptor().Options(), pbEventsV1.E_EventType).(string) + if protoEventType == "" { + panic("protoMessage does not has EventType extension") // TODO: optimize } - - eventName := fmt.Sprintf("%s_%s", messageName, probablyVersion) - - return eventName, nil + return protoEventType } // EventOption used to apply configurations in hwes.NewEvent() @@ -115,10 +110,11 @@ func NewEvent(aggregate Aggregate, eventType string, opts ...EventOption) (Event } func NewEventFromProto(aggregate Aggregate, message proto.Message, opts ...EventOption) (Event, error) { - eventType, err := MessageToEventName(message) - if err != nil { - return Event{}, err - } + eventType := MessageToEventName(message) + + fmt.Println("==============================") + fmt.Println(eventType) + fmt.Println("==============================") event, err := NewEvent(aggregate, eventType, opts...) if err != nil { diff --git a/libs/hwes/go.mod b/libs/hwes/go.mod index 3f5d43d59..2f70ecc90 100644 --- a/libs/hwes/go.mod +++ b/libs/hwes/go.mod @@ -4,6 +4,7 @@ go 1.23 replace ( common => ../common + gen => ../../gen/go hwlocale => ../hwlocale hwutil => ../hwutil telemetry => ../telemetry @@ -11,10 +12,12 @@ replace ( require ( common v0.0.0 + gen v0.0.0-00010101000000-000000000000 github.com/EventStore/EventStore-Client-Go/v4 v4.1.0 github.com/google/uuid v1.6.0 github.com/rs/zerolog v1.33.0 github.com/stretchr/testify v1.9.0 + google.golang.org/protobuf v1.34.2 hwutil v0.0.0 telemetry v0.0.0 ) @@ -71,7 +74,6 @@ require ( google.golang.org/genproto/googleapis/api v0.0.0-20240903143218-8af14fe29dc1 // indirect google.golang.org/genproto/googleapis/rpc v0.0.0-20240903143218-8af14fe29dc1 // indirect google.golang.org/grpc v1.66.1 // indirect - google.golang.org/protobuf v1.34.2 // indirect gopkg.in/square/go-jose.v2 v2.6.0 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect hwlocale v0.0.0 // indirect diff --git a/lint.sh b/lint.sh index 0740542f1..d0d5fc631 100755 --- a/lint.sh +++ b/lint.sh @@ -1,5 +1,7 @@ #!/bin/bash set -e +export GOFLAGS="-buildvcs=false" + find -type d -name gen -prune -o -name "go.mod" -exec sh -c 'cd "$(dirname {})" && pwd && golangci-lint run' \; diff --git a/proto/libs/events/v1/options.proto b/proto/libs/events/v1/options.proto new file mode 100644 index 000000000..98ee6c8c9 --- /dev/null +++ b/proto/libs/events/v1/options.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + +package libs.events.v1; + +import "google/protobuf/descriptor.proto"; + +option go_package = "gen/libs/events/v1"; + +extend google.protobuf.MessageOptions { + string event_type = 2123; +} diff --git a/proto/libs/technical_events/property_svc/v1/property.proto b/proto/libs/technical_events/property_svc/v1/property.proto index a87c8fa24..861445e27 100644 --- a/proto/libs/technical_events/property_svc/v1/property.proto +++ b/proto/libs/technical_events/property_svc/v1/property.proto @@ -2,8 +2,118 @@ syntax = "proto3"; package libs.technical_events.property_svc.v1; +import "libs/events/v1/options.proto"; +import "services/property_svc/v1/types.proto"; + option go_package = "gen/libs/technical-events/property-svc/v1"; -message UpdateNameEvent { +message PropertyCreatedEvent { + option (libs.events.v1.event_type) = "PROPERTY_CREATED_v1"; + + string id = 1; + services.property_svc.v1.SubjectType subject_type = 2; + services.property_svc.v1.FieldType field_type = 3; + string name = 4; +} + +message PropertyDescriptionUpdatedEvent { + option (libs.events.v1.event_type) = "PROPERTY_DESCRIPTION_UPDATED_v1"; + + string description = 1; +} + +message PropertySetIDUpdatedEvent { + option (libs.events.v1.event_type) = "PROPERTY_SET_ID_UPDATED_v1"; + + string set_id = 1; +} + +message PropertySubjectTypeUpdatedEvent { + option (libs.events.v1.event_type) = "PROPERTY_SUBJECT_TYPE_UPDATED_v1"; + + string subject_type = 1; +} + +message PropertyFieldTypeUpdatedEvent { + option (libs.events.v1.event_type) = "PROPERTY_FIELD_TYPE_UPDATED_v1"; + + string field_type = 1; +} + +message PropertyFieldTypeDataCreatedEvent { + option (libs.events.v1.event_type) = "PROPERTY_FIELD_TYPE_DATA_CREATED_v1"; + + message SelectOption { + string id = 1; + string name = 2; + optional string description = 3; + bool is_custom = 4; + } + + message SelectData { + bool allow_freetext = 1; + repeated SelectOption select_options = 2; + } + + message FieldTypeData { + optional SelectData select_data = 1; + } + + FieldTypeData field_type_data = 1; +} + +message PropertyNameUpdatedEvent { + option (libs.events.v1.event_type) = "PROPERTY_NAME_UPDATED_v1"; + string name = 1; } + +message PropertyFieldTypeDataAllowFreetextUpdatedEvent { + option (libs.events.v1.event_type) = "PROPERTY_FIELD_TYPE_DATA_ALLOW_FREETEXT_UPDATED_v1"; + + bool new_allow_freetext = 1; +} + +message PropertyFieldTypeDataSelectOptionsRemovedEvent { + option (libs.events.v1.event_type) = "PROPERTY_FIELD_TYPE_DATA_SELECT_OPTIONS_REMOVED_v1"; + + repeated string removed_select_options = 1; +} + +message PropertyFieldTypeDataSelectOptionsUpsertedEvent { + option (libs.events.v1.event_type) = "PROPERTY_FIELD_TYPE_DATA_SELECT_OPTIONS_UPSERTED_v1"; + + message UpdateSelectOption { + string id = 1; + optional string name = 2; + optional string description = 3; + optional bool is_custom = 4; + } + + repeated UpdateSelectOption upserted_select_options = 1; +} + +message PropertyArchivedEvent { + option (libs.events.v1.event_type) = "PROPERTY_ARCHIVED_v1"; +} + +message PropertyRetrievedEvent { + option (libs.events.v1.event_type) = "PROPERTY_RETRIEVED_v1"; +} + +message TechnicalEvent { + oneof event { + PropertyCreatedEvent property_created = 1; + PropertyDescriptionUpdatedEvent property_description_updated = 2; + PropertySetIDUpdatedEvent property_set_id_updated = 3; + PropertySubjectTypeUpdatedEvent property_subject_type_updated = 4; + PropertyFieldTypeUpdatedEvent property_field_type_updated = 5; + PropertyFieldTypeDataCreatedEvent property_field_type_data_created = 6; + PropertyNameUpdatedEvent property_name_updated = 7; + PropertyFieldTypeDataAllowFreetextUpdatedEvent property_field_type_data_allow_freetext_updated = 8; + PropertyFieldTypeDataSelectOptionsRemovedEvent property_field_type_data_select_options_removed = 9; + PropertyFieldTypeDataSelectOptionsUpsertedEvent property_field_type_data_select_options_upserted = 10; + PropertyArchivedEvent property_archived = 11; + PropertyRetrievedEvent property_retrieved = 12; + } +} diff --git a/services/property-svc/internal/property/aggregate/aggregate.go b/services/property-svc/internal/property/aggregate/aggregate.go index 7b5ed422c..bd3eb3b18 100644 --- a/services/property-svc/internal/property/aggregate/aggregate.go +++ b/services/property-svc/internal/property/aggregate/aggregate.go @@ -8,7 +8,6 @@ import ( "github.com/google/uuid" "hwes" "hwutil" - propertyEventsV1 "property-svc/internal/property/events/v1" "property-svc/internal/property/models" ) @@ -41,84 +40,94 @@ func LoadPropertyAggregate(ctx context.Context, as hwes.AggregateStore, id uuid. } func (a *PropertyAggregate) initEventListeners() { - - // TODO: Resolve name not in such a way ... - updateNameEvent := &pbTechnicalEventsV1.UpdateNameEvent{} - updateNameEventName, err := hwes.MessageToEventName(updateNameEvent) - if err != nil { - panic(err) - } - - a.RegisterEventListener(propertyEventsV1.PropertyCreated, a.onPropertyCreated) - a.RegisterEventListener(propertyEventsV1.PropertyDescriptionUpdated, a.onDescriptionUpdated) - a.RegisterEventListener(propertyEventsV1.PropertySetIDUpdated, a.onSetIDUpdated) - a.RegisterEventListener(propertyEventsV1.PropertySubjectTypeUpdated, a.onSubjectTypeUpdated) - a.RegisterEventListener(updateNameEventName, a.onNameUpdated) - a.RegisterEventListener(propertyEventsV1.PropertyFieldTypeDataCreated, a.onFieldTypeDataCreated) - a.RegisterEventListener(propertyEventsV1.PropertyFieldTypeDataAllowFreetextUpdated, a.onAllowFreetextUpdated) - a.RegisterEventListener(propertyEventsV1.PropertyFieldTypeDataSelectOptionsUpserted, a.onFieldTypeDataSelectOptionsUpserted) - a.RegisterEventListener(propertyEventsV1.PropertyFieldTypeDataSelectOptionsRemoved, a.onFieldTypeDataSelectOptionsRemoved) - a.RegisterEventListener(propertyEventsV1.PropertyArchived, a.onPropertyArchived) - a.RegisterEventListener(propertyEventsV1.PropertyRetrieved, a.onPropertyRetrieved) + a.RegisterEventListener(hwes.MessageToEventName(&pbTechnicalEventsV1.PropertyCreatedEvent{}), a.onPropertyCreated) + a.RegisterEventListener(hwes.MessageToEventName(&pbTechnicalEventsV1.PropertyDescriptionUpdatedEvent{}), a.onDescriptionUpdated) + a.RegisterEventListener(hwes.MessageToEventName(&pbTechnicalEventsV1.PropertySetIDUpdatedEvent{}), a.onSetIDUpdated) + a.RegisterEventListener(hwes.MessageToEventName(&pbTechnicalEventsV1.PropertySubjectTypeUpdatedEvent{}), a.onSubjectTypeUpdated) + a.RegisterEventListener(hwes.MessageToEventName(&pbTechnicalEventsV1.PropertyNameUpdatedEvent{}), a.onNameUpdated) + a.RegisterEventListener(hwes.MessageToEventName(&pbTechnicalEventsV1.PropertyFieldTypeDataCreatedEvent{}), a.onFieldTypeDataCreated) + a.RegisterEventListener(hwes.MessageToEventName(&pbTechnicalEventsV1.PropertyFieldTypeDataAllowFreetextUpdatedEvent{}), a.onAllowFreetextUpdated) + a.RegisterEventListener(hwes.MessageToEventName(&pbTechnicalEventsV1.PropertyFieldTypeDataSelectOptionsUpsertedEvent{}), a.onFieldTypeDataSelectOptionsUpserted) + a.RegisterEventListener(hwes.MessageToEventName(&pbTechnicalEventsV1.PropertyFieldTypeDataSelectOptionsRemovedEvent{}), a.onFieldTypeDataSelectOptionsRemoved) + a.RegisterEventListener(hwes.MessageToEventName(&pbTechnicalEventsV1.PropertyArchivedEvent{}), a.onPropertyArchived) + a.RegisterEventListener(hwes.MessageToEventName(&pbTechnicalEventsV1.PropertyRetrievedEvent{}), a.onPropertyRetrieved) } // Event handlers func (a *PropertyAggregate) onPropertyCreated(evt hwes.Event) error { - var payload propertyEventsV1.PropertyCreatedEvent - if err := evt.GetJsonData(&payload); err != nil { + var payload pbTechnicalEventsV1.PropertyCreatedEvent + if err := evt.GetProtoData(&payload); err != nil { return err } - val, found := pb.FieldType_value[payload.FieldType] + val, found := pb.FieldType_value[payload.GetFieldType().String()] if !found { - return fmt.Errorf("invalid property fieldType: %s", payload.FieldType) + return fmt.Errorf("invalid property fieldType: %s", payload.GetFieldType()) } fieldType := (pb.FieldType)(val) - val, found = pb.SubjectType_value[payload.SubjectType] + val, found = pb.SubjectType_value[payload.GetSubjectType().String()] if !found { - return fmt.Errorf("invalid property subjectType: %s", payload.SubjectType) + return fmt.Errorf("invalid property subjectType: %s", payload.GetSubjectType()) } subjectType := (pb.SubjectType)(val) a.Property.SubjectType = subjectType a.Property.FieldType = fieldType - a.Property.Name = payload.Name + a.Property.Name = payload.GetName() return nil } func (a *PropertyAggregate) onFieldTypeDataCreated(evt hwes.Event) error { - var payload propertyEventsV1.FieldTypeDataCreatedEvent - if err := evt.GetJsonData(&payload); err != nil { + var payload pbTechnicalEventsV1.PropertyFieldTypeDataCreatedEvent + if err := evt.GetProtoData(&payload); err != nil { return err } - a.Property.FieldTypeData = payload.FieldTypeData + fieldTypeData := models.FieldTypeData{} + + if payload.GetFieldTypeData() != nil { + opts := hwutil.Map(payload.GetFieldTypeData().GetSelectData().GetSelectOptions(), func(opt *pbTechnicalEventsV1.PropertyFieldTypeDataCreatedEvent_SelectOption) models.SelectOption { + return models.SelectOption{ + ID: uuid.MustParse(opt.GetId()), + Name: opt.GetName(), + Description: opt.Description, + IsCustom: opt.GetIsCustom(), + } + }) + + fieldTypeData.SelectData = &models.SelectData{ + AllowFreetext: payload.GetFieldTypeData().GetSelectData().GetAllowFreetext(), + SelectOptions: opts, + } + } + + a.Property.FieldTypeData = fieldTypeData return nil } func (a *PropertyAggregate) onDescriptionUpdated(evt hwes.Event) error { - var payload propertyEventsV1.PropertyDescriptionUpdatedEvent - if err := evt.GetJsonData(&payload); err != nil { + var payload pbTechnicalEventsV1.PropertyDescriptionUpdatedEvent + if err := evt.GetProtoData(&payload); err != nil { return err } - a.Property.Description = payload.Description + a.Property.Description = payload.GetDescription() return nil } func (a *PropertyAggregate) onSetIDUpdated(evt hwes.Event) error { - var payload propertyEventsV1.PropertySetIDUpdatedEvent - if err := evt.GetJsonData(&payload); err != nil { + var payload pbTechnicalEventsV1.PropertySetIDUpdatedEvent + if err := evt.GetProtoData(&payload); err != nil { return err } setID := uuid.NullUUID{UUID: uuid.Nil, Valid: false} - if len(payload.SetID) > 0 { - parsedID, err := hwutil.ParseNullUUID(&payload.SetID) + if len(payload.GetSetId()) > 0 { + parsedID, err := hwutil.ParseNullUUID(&payload.SetId) if err != nil { return err } @@ -130,14 +139,14 @@ func (a *PropertyAggregate) onSetIDUpdated(evt hwes.Event) error { } func (a *PropertyAggregate) onSubjectTypeUpdated(evt hwes.Event) error { - var payload propertyEventsV1.PropertySubjectTypeUpdatedEvent - if err := evt.GetJsonData(&payload); err != nil { + var payload pbTechnicalEventsV1.PropertySubjectTypeUpdatedEvent + if err := evt.GetProtoData(&payload); err != nil { return err } - value, found := pb.SubjectType_value[payload.SubjectType] + value, found := pb.SubjectType_value[payload.GetSubjectType()] if !found { - return fmt.Errorf("invalid subjectType: %s", payload.SubjectType) + return fmt.Errorf("invalid subjectType: %s", payload.GetSubjectType()) } subjectType := (pb.SubjectType)(value) @@ -146,18 +155,18 @@ func (a *PropertyAggregate) onSubjectTypeUpdated(evt hwes.Event) error { } func (a *PropertyAggregate) onNameUpdated(evt hwes.Event) error { - var payload pbTechnicalEventsV1.UpdateNameEvent + var payload pbTechnicalEventsV1.PropertyNameUpdatedEvent if err := evt.GetProtoData(&payload); err != nil { return err } - a.Property.Name = payload.Name + a.Property.Name = payload.GetName() return nil } func (a *PropertyAggregate) onAllowFreetextUpdated(evt hwes.Event) error { - var payload propertyEventsV1.FieldTypeDataAllowFreetextUpdatedEvent - if err := evt.GetJsonData(&payload); err != nil { + var payload pbTechnicalEventsV1.PropertyFieldTypeDataAllowFreetextUpdatedEvent + if err := evt.GetProtoData(&payload); err != nil { return err } @@ -173,8 +182,8 @@ func (a *PropertyAggregate) onAllowFreetextUpdated(evt hwes.Event) error { } func (a *PropertyAggregate) onFieldTypeDataSelectOptionsUpserted(evt hwes.Event) error { - var payload propertyEventsV1.FieldTypeDataSelectOptionsUpsertedEvent - if err := evt.GetJsonData(&payload); err != nil { + var payload pbTechnicalEventsV1.PropertyFieldTypeDataSelectOptionsUpsertedEvent + if err := evt.GetProtoData(&payload); err != nil { return err } @@ -187,17 +196,19 @@ func (a *PropertyAggregate) onFieldTypeDataSelectOptionsUpserted(evt hwes.Event) } for _, option := range payload.UpsertedSelectOptions { - if _, exists := selectOptions[option.ID]; !exists { + optionId := uuid.MustParse(option.Id) + + if _, exists := selectOptions[optionId]; !exists { if option.Name == nil { - return fmt.Errorf("name missing for selectOption with id %s", option.ID.String()) + return fmt.Errorf("name missing for selectOption with id %s", optionId.String()) } - selectOptions[option.ID] = models.SelectOption{ - ID: option.ID, + selectOptions[optionId] = models.SelectOption{ + ID: optionId, Name: *option.Name, Description: option.Description, } } else { - updatedOpt := selectOptions[option.ID] + updatedOpt := selectOptions[optionId] if option.Name != nil { updatedOpt.Name = *option.Name } @@ -207,7 +218,7 @@ func (a *PropertyAggregate) onFieldTypeDataSelectOptionsUpserted(evt hwes.Event) if option.IsCustom != nil { updatedOpt.IsCustom = *option.IsCustom } - selectOptions[option.ID] = updatedOpt + selectOptions[optionId] = updatedOpt } } @@ -232,8 +243,8 @@ func (a *PropertyAggregate) onFieldTypeDataSelectOptionsUpserted(evt hwes.Event) } func (a *PropertyAggregate) onFieldTypeDataSelectOptionsRemoved(evt hwes.Event) error { - var payload propertyEventsV1.FieldTypeDataSelectOptionsRemovedEvent - if err := evt.GetJsonData(&payload); err != nil { + var payload pbTechnicalEventsV1.PropertyFieldTypeDataSelectOptionsRemovedEvent + if err := evt.GetProtoData(&payload); err != nil { return err } @@ -251,12 +262,12 @@ func (a *PropertyAggregate) onFieldTypeDataSelectOptionsRemoved(evt hwes.Event) return nil } -func (a *PropertyAggregate) onPropertyArchived(evt hwes.Event) error { +func (a *PropertyAggregate) onPropertyArchived(_ hwes.Event) error { a.Property.IsArchived = true return nil } -func (a *PropertyAggregate) onPropertyRetrieved(evt hwes.Event) error { +func (a *PropertyAggregate) onPropertyRetrieved(_ hwes.Event) error { a.Property.IsArchived = false return nil } diff --git a/services/property-svc/internal/property/events/v1/events.go b/services/property-svc/internal/property/events/v1/events.go index e59b377a9..a1fb5d682 100644 --- a/services/property-svc/internal/property/events/v1/events.go +++ b/services/property-svc/internal/property/events/v1/events.go @@ -6,67 +6,46 @@ import ( pb "gen/services/property_svc/v1" "github.com/google/uuid" "hwes" + "hwutil" "property-svc/internal/property/models" ) -const ( - PropertyCreated = "PROPERTY_CREATED_v1" - PropertyDescriptionUpdated = "PROPERTY_DESCRIPTION_UPDATED_v1" - PropertySetIDUpdated = "PROPERTY_SET_ID_UPDATED_v1" - PropertySubjectTypeUpdated = "PROPERTY_SUBJECT_TYPE_UPDATED_v1" - PropertyFieldTypeUpdated = "PROPERTY_FIELD_TYPE_UPDATED_v1" - PropertyFieldTypeDataCreated = "PROPERTY_FIELD_TYPE_DATA_CREATED_v1" - PropertyNameUpdated = "PROPERTY_NAME_UPDATED_v1" - PropertyFieldTypeDataAllowFreetextUpdated = "PROPERTY_FIELD_TYPE_DATA_ALLOW_FREETEXT_UPDATED_v1" - PropertyFieldTypeDataSelectOptionsRemoved = "PROPERTY_FIELD_TYPE_DATA_SELECT_OPTIONS_REMOVED_v1" - PropertyFieldTypeDataSelectOptionsUpserted = "PROPERTY_FIELD_TYPE_DATA_SELECT_OPTIONS_UPSERTED_v1" - PropertyArchived = "PROPERTY_ARCHIVED_v1" - PropertyRetrieved = "PROPERTY_RETRIEVED_v1" -) - -type PropertyCreatedEvent struct { - ID string `json:"id"` - - SubjectType string `json:"subject_type"` - FieldType string `json:"field_type"` - - Name string `json:"name"` -} - func NewPropertyCreatedEvent(ctx context.Context, a hwes.Aggregate, id uuid.UUID, subjectType pb.SubjectType, fieldType pb.FieldType, name string) (hwes.Event, error) { - payload := PropertyCreatedEvent{ - ID: id.String(), - SubjectType: subjectType.String(), - FieldType: fieldType.String(), + payload := pbTechnicalEventsV1.PropertyCreatedEvent{ + Id: id.String(), + SubjectType: subjectType, + FieldType: fieldType, Name: name, } - return hwes.NewEvent(a, PropertyCreated, hwes.WithContext(ctx), hwes.WithData(payload)) -} - -type FieldTypeDataCreatedEvent struct { - FieldTypeData models.FieldTypeData + return hwes.NewEventFromProto(a, &payload, hwes.WithContext(ctx)) } func NewFieldTypeDataCreatedEvent(ctx context.Context, a hwes.Aggregate, fieldTypeData models.FieldTypeData) (hwes.Event, error) { - payload := FieldTypeDataCreatedEvent{ - FieldTypeData: fieldTypeData, + protoFieldTypeData := pbTechnicalEventsV1.PropertyFieldTypeDataCreatedEvent_FieldTypeData{} + + if fieldTypeData.SelectData != nil { + protoFieldTypeData.SelectData.AllowFreetext = fieldTypeData.SelectData.AllowFreetext + protoFieldTypeData.SelectData.SelectOptions = hwutil.Map(fieldTypeData.SelectData.SelectOptions, func(opt models.SelectOption) *pbTechnicalEventsV1.PropertyFieldTypeDataCreatedEvent_SelectOption { + return &pbTechnicalEventsV1.PropertyFieldTypeDataCreatedEvent_SelectOption{ + Id: opt.ID.String(), + Name: opt.Name, + Description: opt.Description, + IsCustom: opt.IsCustom, + } + }) } - return hwes.NewEvent(a, PropertyFieldTypeDataCreated, hwes.WithContext(ctx), hwes.WithData(payload)) -} -type PropertyDescriptionUpdatedEvent struct { - Description string `json:"description"` + payload := pbTechnicalEventsV1.PropertyFieldTypeDataCreatedEvent{ + FieldTypeData: &protoFieldTypeData, + } + return hwes.NewEventFromProto(a, &payload, hwes.WithContext(ctx)) } func NewPropertyDescriptionUpdatedEvent(ctx context.Context, a hwes.Aggregate, description string) (hwes.Event, error) { - payload := PropertyDescriptionUpdatedEvent{ + payload := pbTechnicalEventsV1.PropertyDescriptionUpdatedEvent{ Description: description, } - return hwes.NewEvent(a, PropertyDescriptionUpdated, hwes.WithContext(ctx), hwes.WithData(payload)) -} - -type PropertySetIDUpdatedEvent struct { - SetID string `json:"set_id"` + return hwes.NewEventFromProto(a, &payload, hwes.WithContext(ctx)) } func NewPropertySetIDUpdatedEvent(ctx context.Context, a hwes.Aggregate, setID uuid.NullUUID) (hwes.Event, error) { @@ -74,82 +53,68 @@ func NewPropertySetIDUpdatedEvent(ctx context.Context, a hwes.Aggregate, setID u if setID.Valid { sids = setID.UUID.String() } - payload := PropertySetIDUpdatedEvent{ - SetID: sids, + payload := pbTechnicalEventsV1.PropertySetIDUpdatedEvent{ + SetId: sids, } - return hwes.NewEvent(a, PropertySetIDUpdated, hwes.WithContext(ctx), hwes.WithData(payload)) -} - -type PropertySubjectTypeUpdatedEvent struct { - SubjectType string `json:"subject_type"` + return hwes.NewEventFromProto(a, &payload, hwes.WithContext(ctx)) } func NewPropertySubjectTypeUpdatedEvent(ctx context.Context, a hwes.Aggregate, subjectType pb.SubjectType) (hwes.Event, error) { - payload := PropertySubjectTypeUpdatedEvent{ + payload := pbTechnicalEventsV1.PropertySubjectTypeUpdatedEvent{ SubjectType: subjectType.String(), } - return hwes.NewEvent(a, PropertySubjectTypeUpdated, hwes.WithContext(ctx), hwes.WithData(payload)) -} - -type PropertyFieldTypeUpdatedEvent struct { - FieldType string `json:"field_type"` + return hwes.NewEventFromProto(a, &payload, hwes.WithContext(ctx)) } func NewPropertyFieldTypeUpdatedEvent(ctx context.Context, a hwes.Aggregate, fieldType pb.FieldType) (hwes.Event, error) { - payload := PropertyFieldTypeUpdatedEvent{ + payload := pbTechnicalEventsV1.PropertyFieldTypeUpdatedEvent{ FieldType: fieldType.String(), } - return hwes.NewEvent(a, PropertyFieldTypeUpdated, hwes.WithContext(ctx), hwes.WithData(payload)) -} - -type PropertyNameUpdatedEvent struct { - Name string `json:"name"` + return hwes.NewEventFromProto(a, &payload, hwes.WithContext(ctx)) } func NewPropertyNameUpdatedEvent(ctx context.Context, a hwes.Aggregate, name string) (hwes.Event, error) { - payload := &pbTechnicalEventsV1.UpdateNameEvent{ + payload := pbTechnicalEventsV1.PropertyNameUpdatedEvent{ Name: name, } - return hwes.NewEventFromProto(a, payload, hwes.WithContext(ctx)) -} - -type FieldTypeDataAllowFreetextUpdatedEvent struct { - NewAllowFreetext bool `json:"new_allow_freetext"` + return hwes.NewEventFromProto(a, &payload, hwes.WithContext(ctx)) } func NewFieldTypeDataAllowFreetextUpdatedEvent(ctx context.Context, a hwes.Aggregate, newAllowFreetext bool) (hwes.Event, error) { - payload := FieldTypeDataAllowFreetextUpdatedEvent{ + payload := pbTechnicalEventsV1.PropertyFieldTypeDataAllowFreetextUpdatedEvent{ NewAllowFreetext: newAllowFreetext, } - return hwes.NewEvent(a, PropertyFieldTypeDataAllowFreetextUpdated, hwes.WithContext(ctx), hwes.WithData(payload)) -} - -type FieldTypeDataSelectOptionsRemovedEvent struct { - RemovedSelectOptions []string `json:"removed_select_options"` + return hwes.NewEventFromProto(a, &payload, hwes.WithContext(ctx)) } func NewFieldTypeDataSelectOptionsRemovedEvent(ctx context.Context, a hwes.Aggregate, toBeRemoved []string) (hwes.Event, error) { - payload := FieldTypeDataSelectOptionsRemovedEvent{ + payload := pbTechnicalEventsV1.PropertyFieldTypeDataSelectOptionsRemovedEvent{ RemovedSelectOptions: toBeRemoved, } - return hwes.NewEvent(a, PropertyFieldTypeDataSelectOptionsRemoved, hwes.WithContext(ctx), hwes.WithData(payload)) -} - -type FieldTypeDataSelectOptionsUpsertedEvent struct { - UpsertedSelectOptions []models.UpdateSelectOption `json:"UpsertedSelectOptions"` + return hwes.NewEventFromProto(a, &payload, hwes.WithContext(ctx)) } func NewFieldTypeDataSelectOptionsUpsertedEvent(ctx context.Context, a hwes.Aggregate, upsertOptions []models.UpdateSelectOption) (hwes.Event, error) { - payload := FieldTypeDataSelectOptionsUpsertedEvent{ - UpsertedSelectOptions: upsertOptions, + updateSelectOptions := hwutil.Map(upsertOptions, func(upsertOptions models.UpdateSelectOption) *pbTechnicalEventsV1.PropertyFieldTypeDataSelectOptionsUpsertedEvent_UpdateSelectOption { + return &pbTechnicalEventsV1.PropertyFieldTypeDataSelectOptionsUpsertedEvent_UpdateSelectOption{ + Id: upsertOptions.ID.String(), + Name: upsertOptions.Name, + Description: upsertOptions.Description, + IsCustom: upsertOptions.IsCustom, + } + }) + + payload := pbTechnicalEventsV1.PropertyFieldTypeDataSelectOptionsUpsertedEvent{ + UpsertedSelectOptions: updateSelectOptions, } - return hwes.NewEvent(a, PropertyFieldTypeDataSelectOptionsUpserted, hwes.WithContext(ctx), hwes.WithData(payload)) + + return hwes.NewEventFromProto(a, &payload, hwes.WithContext(ctx)) } func NewPropertyArchivedEvent(ctx context.Context, a hwes.Aggregate) (hwes.Event, error) { - return hwes.NewEvent(a, PropertyArchived, hwes.WithContext(ctx)) + return hwes.NewEventFromProto(a, &pbTechnicalEventsV1.PropertyArchivedEvent{}, hwes.WithContext(ctx)) } func NewPropertyRetrievedEvent(ctx context.Context, a hwes.Aggregate) (hwes.Event, error) { - return hwes.NewEvent(a, PropertyRetrieved, hwes.WithContext(ctx)) + return hwes.NewEventFromProto(a, &pbTechnicalEventsV1.PropertyRetrievedEvent{}, hwes.WithContext(ctx)) } diff --git a/services/property-svc/internal/property/projections/property_postgres_projection/property_postgres_projection.go b/services/property-svc/internal/property/projections/property_postgres_projection/property_postgres_projection.go index c6f83a6c1..ce8008682 100644 --- a/services/property-svc/internal/property/projections/property_postgres_projection/property_postgres_projection.go +++ b/services/property-svc/internal/property/projections/property_postgres_projection/property_postgres_projection.go @@ -4,6 +4,7 @@ import ( "context" "errors" "fmt" + pbTechnicalEventsV1 "gen/libs/technical_events/property_svc/v1" pb "gen/services/property_svc/v1" "github.com/EventStore/EventStore-Client-Go/v4/esdb" "github.com/google/uuid" @@ -14,7 +15,6 @@ import ( "hwes/eventstoredb/projections/custom" "hwutil" "property-svc/internal/property/aggregate" - propertyEventsV1 "property-svc/internal/property/events/v1" "property-svc/internal/property/models" "property-svc/repos/property_repo" ) @@ -37,43 +37,43 @@ func NewProjection(es *esdb.Client, serviceName string, db hwdb.DBTX) *Projectio } func (p *Projection) initEventListeners() { - p.RegisterEventListener(propertyEventsV1.PropertyCreated, p.onPropertyCreated) - p.RegisterEventListener(propertyEventsV1.PropertyDescriptionUpdated, p.onPropertyDescriptionUpdated) - p.RegisterEventListener(propertyEventsV1.PropertySetIDUpdated, p.onPropertySetIDUpdated) - p.RegisterEventListener(propertyEventsV1.PropertySubjectTypeUpdated, p.onSubjectTypeUpdated) - p.RegisterEventListener(propertyEventsV1.PropertyNameUpdated, p.onNameUpdated) - p.RegisterEventListener(propertyEventsV1.PropertyArchived, p.onPropertyArchived) - p.RegisterEventListener(propertyEventsV1.PropertyRetrieved, p.onPropertyRetrieved) - p.RegisterEventListener(propertyEventsV1.PropertyFieldTypeDataCreated, p.onPropertyFieldTypeDataCreated) - p.RegisterEventListener(propertyEventsV1.PropertyFieldTypeDataAllowFreetextUpdated, p.onAllowFreetextUpdated) - p.RegisterEventListener(propertyEventsV1.PropertyFieldTypeDataSelectOptionsRemoved, p.onFieldTypeDataSelectOptionsRemoved) - p.RegisterEventListener(propertyEventsV1.PropertyFieldTypeDataSelectOptionsUpserted, p.onFieldTypeDataSelectOptionsUpserted) + p.RegisterEventListener(hwes.MessageToEventName(&pbTechnicalEventsV1.PropertyCreatedEvent{}), p.onPropertyCreated) + p.RegisterEventListener(hwes.MessageToEventName(&pbTechnicalEventsV1.PropertyDescriptionUpdatedEvent{}), p.onPropertyDescriptionUpdated) + p.RegisterEventListener(hwes.MessageToEventName(&pbTechnicalEventsV1.PropertySetIDUpdatedEvent{}), p.onPropertySetIDUpdated) + p.RegisterEventListener(hwes.MessageToEventName(&pbTechnicalEventsV1.PropertySubjectTypeUpdatedEvent{}), p.onSubjectTypeUpdated) + p.RegisterEventListener(hwes.MessageToEventName(&pbTechnicalEventsV1.PropertyNameUpdatedEvent{}), p.onNameUpdated) + p.RegisterEventListener(hwes.MessageToEventName(&pbTechnicalEventsV1.PropertyArchivedEvent{}), p.onPropertyArchived) + p.RegisterEventListener(hwes.MessageToEventName(&pbTechnicalEventsV1.PropertyRetrievedEvent{}), p.onPropertyRetrieved) + p.RegisterEventListener(hwes.MessageToEventName(&pbTechnicalEventsV1.PropertyFieldTypeDataCreatedEvent{}), p.onPropertyFieldTypeDataCreated) + p.RegisterEventListener(hwes.MessageToEventName(&pbTechnicalEventsV1.PropertyFieldTypeDataAllowFreetextUpdatedEvent{}), p.onAllowFreetextUpdated) + p.RegisterEventListener(hwes.MessageToEventName(&pbTechnicalEventsV1.PropertyFieldTypeDataSelectOptionsRemovedEvent{}), p.onFieldTypeDataSelectOptionsRemoved) + p.RegisterEventListener(hwes.MessageToEventName(&pbTechnicalEventsV1.PropertyFieldTypeDataSelectOptionsUpsertedEvent{}), p.onFieldTypeDataSelectOptionsUpserted) } func (p *Projection) onPropertyCreated(ctx context.Context, evt hwes.Event) (error, *esdb.NackAction) { log := zlog.Ctx(ctx) - var payload propertyEventsV1.PropertyCreatedEvent - if err := evt.GetJsonData(&payload); err != nil { + var payload pbTechnicalEventsV1.PropertyCreatedEvent + if err := evt.GetProtoData(&payload); err != nil { log.Error().Err(err).Msg("unmarshal failed") return err, hwutil.PtrTo(esdb.NackActionPark) } // Create Property - propertyID, err := uuid.Parse(payload.ID) + propertyID, err := uuid.Parse(payload.GetId()) if err != nil { return err, hwutil.PtrTo(esdb.NackActionPark) } - value, found := pb.SubjectType_value[payload.SubjectType] + value, found := pb.SubjectType_value[payload.GetSubjectType().String()] if !found { - return fmt.Errorf("subject_type %s invalid", payload.SubjectType), hwutil.PtrTo(esdb.NackActionPark) + return fmt.Errorf("subject_type %s invalid", payload.GetSubjectType()), hwutil.PtrTo(esdb.NackActionPark) } subjectType := (pb.SubjectType)(value) - value, found = pb.FieldType_value[payload.FieldType] + value, found = pb.FieldType_value[payload.GetFieldType().String()] if !found { - return fmt.Errorf("field_type %s invalid", payload.FieldType), hwutil.PtrTo(esdb.NackActionPark) + return fmt.Errorf("field_type %s invalid", payload.GetFieldType()), hwutil.PtrTo(esdb.NackActionPark) } fieldType := (pb.FieldType)(value) @@ -81,7 +81,7 @@ func (p *Projection) onPropertyCreated(ctx context.Context, evt hwes.Event) (err ID: propertyID, SubjectType: int32(subjectType), FieldType: int32(fieldType), - Name: payload.Name, + Name: payload.GetName(), Consistency: int64(evt.GetVersion()), }) if err := hwdb.Error(ctx, err); err != nil { @@ -94,8 +94,8 @@ func (p *Projection) onPropertyCreated(ctx context.Context, evt hwes.Event) (err func (p *Projection) onPropertyDescriptionUpdated(ctx context.Context, evt hwes.Event) (error, *esdb.NackAction) { log := zlog.Ctx(ctx) - var payload propertyEventsV1.PropertyDescriptionUpdatedEvent - if err := evt.GetJsonData(&payload); err != nil { + var payload pbTechnicalEventsV1.PropertyDescriptionUpdatedEvent + if err := evt.GetProtoData(&payload); err != nil { log.Error().Err(err).Msg("unmarshal failed") return err, hwutil.PtrTo(esdb.NackActionPark) } @@ -116,15 +116,15 @@ func (p *Projection) onPropertyDescriptionUpdated(ctx context.Context, evt hwes. func (p *Projection) onPropertySetIDUpdated(ctx context.Context, evt hwes.Event) (error, *esdb.NackAction) { log := zlog.Ctx(ctx) - var payload propertyEventsV1.PropertySetIDUpdatedEvent - if err := evt.GetJsonData(&payload); err != nil { + var payload pbTechnicalEventsV1.PropertySetIDUpdatedEvent + if err := evt.GetProtoData(&payload); err != nil { log.Error().Err(err).Msg("unmarshal failed") return err, hwutil.PtrTo(esdb.NackActionPark) } setID := uuid.NullUUID{UUID: uuid.Nil, Valid: false} - if payload.SetID != "" { - if parsedID, err := hwutil.ParseNullUUID(&payload.SetID); err != nil { + if payload.GetSetId() != "" { + if parsedID, err := hwutil.ParseNullUUID(&payload.SetId); err != nil { return err, hwutil.PtrTo(esdb.NackActionPark) } else { setID = parsedID @@ -147,15 +147,15 @@ func (p *Projection) onPropertySetIDUpdated(ctx context.Context, evt hwes.Event) func (p *Projection) onSubjectTypeUpdated(ctx context.Context, evt hwes.Event) (error, *esdb.NackAction) { log := zlog.Ctx(ctx) - var payload propertyEventsV1.PropertySubjectTypeUpdatedEvent + var payload pbTechnicalEventsV1.PropertySubjectTypeUpdatedEvent if err := evt.GetJsonData(&payload); err != nil { log.Error().Err(err).Msg("unmarshal failed") return err, hwutil.PtrTo(esdb.NackActionPark) } - value, found := pb.SubjectType_value[payload.SubjectType] + value, found := pb.SubjectType_value[payload.GetSubjectType()] if !found { - return fmt.Errorf("invalid fieldType: %s", payload.SubjectType), hwutil.PtrTo(esdb.NackActionPark) + return fmt.Errorf("invalid fieldType: %s", payload.GetSubjectType()), hwutil.PtrTo(esdb.NackActionPark) } subjectType := (pb.SubjectType)(value) @@ -175,7 +175,7 @@ func (p *Projection) onSubjectTypeUpdated(ctx context.Context, evt hwes.Event) ( func (p *Projection) onNameUpdated(ctx context.Context, evt hwes.Event) (error, *esdb.NackAction) { log := zlog.Ctx(ctx) - var payload propertyEventsV1.PropertyNameUpdatedEvent + var payload pbTechnicalEventsV1.PropertyNameUpdatedEvent if err := evt.GetJsonData(&payload); err != nil { log.Error().Err(err).Msg("unmarshal failed") return err, hwutil.PtrTo(esdb.NackActionPark) @@ -229,20 +229,21 @@ func (p *Projection) onPropertyFieldTypeDataCreated(ctx context.Context, evt hwe defer rollback() propertyRepo := p.propertyRepo.WithTx(tx) - var payload propertyEventsV1.FieldTypeDataCreatedEvent - if err := evt.GetJsonData(&payload); err != nil { + var payload pbTechnicalEventsV1.PropertyFieldTypeDataCreatedEvent + if err := evt.GetProtoData(&payload); err != nil { log.Error().Err(err).Msg("unmarshal failed") return err, hwutil.PtrTo(esdb.NackActionPark) } - if payload.FieldTypeData.SelectData != nil { - selectDataID, err := propertyRepo.CreateSelectData(ctx, payload.FieldTypeData.SelectData.AllowFreetext) + if payload.GetFieldTypeData().GetSelectData() != nil { + selectDataID, err := propertyRepo.CreateSelectData(ctx, payload.GetFieldTypeData().GetSelectData().GetAllowFreetext()) if err := hwdb.Error(ctx, err); err != nil { return err, hwutil.PtrTo(esdb.NackActionRetry) } - for _, option := range payload.FieldTypeData.SelectData.SelectOptions { + for _, option := range payload.GetFieldTypeData().GetSelectData().GetSelectOptions() { + optionId := uuid.MustParse(option.GetId()) err := propertyRepo.CreateSelectOption(ctx, property_repo.CreateSelectOptionParams{ - ID: option.ID, + ID: optionId, Name: option.Name, Description: option.Description, IsCustom: option.IsCustom, @@ -280,8 +281,8 @@ func (p *Projection) onAllowFreetextUpdated(ctx context.Context, evt hwes.Event) defer rollback() propertyRepo := p.propertyRepo.WithTx(tx) - var payload propertyEventsV1.FieldTypeDataAllowFreetextUpdatedEvent - if err := evt.GetJsonData(&payload); err != nil { + var payload pbTechnicalEventsV1.PropertyFieldTypeDataAllowFreetextUpdatedEvent + if err := evt.GetProtoData(&payload); err != nil { log.Error().Err(err).Msg("unmarshal failed") return err, hwutil.PtrTo(esdb.NackActionPark) } @@ -294,7 +295,7 @@ func (p *Projection) onAllowFreetextUpdated(ctx context.Context, evt hwes.Event) if property.SelectDataID.Valid { err := propertyRepo.UpdateSelectData(ctx, property_repo.UpdateSelectDataParams{ ID: property.SelectDataID.UUID, - AllowFreetext: payload.NewAllowFreetext, + AllowFreetext: payload.GetNewAllowFreetext(), Consistency: int64(evt.GetVersion()), }) if err := hwdb.Error(ctx, err); err != nil { @@ -302,7 +303,7 @@ func (p *Projection) onAllowFreetextUpdated(ctx context.Context, evt hwes.Event) } } else if property.FieldType == int32(pb.FieldType_FIELD_TYPE_SELECT) || property.FieldType == int32(pb.FieldType_FIELD_TYPE_MULTI_SELECT) { // if the property was created with field_type_select but selectData wasn't created initially we have to do it here - sdID, err := propertyRepo.CreateSelectData(ctx, payload.NewAllowFreetext) + sdID, err := propertyRepo.CreateSelectData(ctx, payload.GetNewAllowFreetext()) if err := hwdb.Error(ctx, err); err != nil { return err, hwutil.PtrTo(esdb.NackActionRetry) } @@ -332,8 +333,8 @@ func (p *Projection) onFieldTypeDataSelectOptionsUpserted(ctx context.Context, e defer rollback() propertyRepo := p.propertyRepo.WithTx(tx) - var payload propertyEventsV1.FieldTypeDataSelectOptionsUpsertedEvent - if err := evt.GetJsonData(&payload); err != nil { + var payload pbTechnicalEventsV1.PropertyFieldTypeDataSelectOptionsUpsertedEvent + if err := evt.GetProtoData(&payload); err != nil { log.Error().Err(err).Msg("unmarshal failed") return err, hwutil.PtrTo(esdb.NackActionPark) } @@ -366,13 +367,19 @@ func (p *Projection) onFieldTypeDataSelectOptionsUpserted(ctx context.Context, e selectOptions := make(map[uuid.UUID]models.UpdateSelectOption) existsSelectOptions := make(map[uuid.UUID]bool) // Map indicates if selectOption already exists - for _, option := range payload.UpsertedSelectOptions { - selectOptions[option.ID] = option - existsSelectOptions[option.ID] = false + for _, option := range payload.GetUpsertedSelectOptions() { + optionId := uuid.MustParse(option.Id) + selectOptions[optionId] = models.UpdateSelectOption{ + ID: optionId, + Name: option.Name, + Description: option.Description, + IsCustom: option.IsCustom, + } + existsSelectOptions[optionId] = false } - selectOptionsID := hwutil.Map(payload.UpsertedSelectOptions, func(opt models.UpdateSelectOption) uuid.UUID { - return opt.ID + selectOptionsID := hwutil.Map(payload.GetUpsertedSelectOptions(), func(opt *pbTechnicalEventsV1.PropertyFieldTypeDataSelectOptionsUpsertedEvent_UpdateSelectOption) uuid.UUID { + return uuid.MustParse(opt.Id) }) // Check for existing SelectOptions @@ -482,13 +489,13 @@ func (p *Projection) onFieldTypeDataSelectOptionsRemoved(ctx context.Context, ev defer rollback() propertyRepo := p.propertyRepo.WithTx(tx) - var payload propertyEventsV1.FieldTypeDataSelectOptionsRemovedEvent - if err := evt.GetJsonData(&payload); err != nil { + var payload pbTechnicalEventsV1.PropertyFieldTypeDataSelectOptionsRemovedEvent + if err := evt.GetProtoData(&payload); err != nil { log.Error().Err(err).Msg("unmarshal failed") return err, hwutil.PtrTo(esdb.NackActionPark) } - parsedIDs := hwutil.FlatMap(payload.RemovedSelectOptions, func(s string) *uuid.UUID { + parsedIDs := hwutil.FlatMap(payload.GetRemovedSelectOptions(), func(s string) *uuid.UUID { parsed, err := uuid.Parse(s) if err != nil { log.Warn().Str("uuid", s).Msg("invalid uuid in removedSelectOptions.")