mirror of
https://gitlab.com/veilid/veilidchat.git
synced 2024-12-27 00:29:32 -05:00
428 lines
18 KiB
Dart
428 lines
18 KiB
Dart
//
|
|
// Generated code. Do not modify.
|
|
// source: dht.proto
|
|
//
|
|
// @dart = 2.12
|
|
|
|
// ignore_for_file: annotate_overrides, camel_case_types
|
|
// 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;
|
|
|
|
import 'veilid.pb.dart' as $0;
|
|
|
|
class DHTData extends $pb.GeneratedMessage {
|
|
factory DHTData() => create();
|
|
DHTData._() : super();
|
|
factory DHTData.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
|
|
factory DHTData.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
|
|
|
|
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DHTData', package: const $pb.PackageName(_omitMessageNames ? '' : 'dht'), createEmptyInstance: create)
|
|
..pc<$0.TypedKey>(1, _omitFieldNames ? '' : 'keys', $pb.PbFieldType.PM, subBuilder: $0.TypedKey.create)
|
|
..aOM<$0.TypedKey>(2, _omitFieldNames ? '' : 'hash', subBuilder: $0.TypedKey.create)
|
|
..a<$core.int>(3, _omitFieldNames ? '' : 'chunk', $pb.PbFieldType.OU3)
|
|
..a<$core.int>(4, _omitFieldNames ? '' : 'size', $pb.PbFieldType.OU3)
|
|
..hasRequiredFields = false
|
|
;
|
|
|
|
@$core.Deprecated(
|
|
'Using this can add significant overhead to your binary. '
|
|
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
|
|
'Will be removed in next major version')
|
|
DHTData clone() => DHTData()..mergeFromMessage(this);
|
|
@$core.Deprecated(
|
|
'Using this can add significant overhead to your binary. '
|
|
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
|
|
'Will be removed in next major version')
|
|
DHTData copyWith(void Function(DHTData) updates) => super.copyWith((message) => updates(message as DHTData)) as DHTData;
|
|
|
|
$pb.BuilderInfo get info_ => _i;
|
|
|
|
@$core.pragma('dart2js:noInline')
|
|
static DHTData create() => DHTData._();
|
|
DHTData createEmptyInstance() => create();
|
|
static $pb.PbList<DHTData> createRepeated() => $pb.PbList<DHTData>();
|
|
@$core.pragma('dart2js:noInline')
|
|
static DHTData getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<DHTData>(create);
|
|
static DHTData? _defaultInstance;
|
|
|
|
@$pb.TagNumber(1)
|
|
$core.List<$0.TypedKey> get keys => $_getList(0);
|
|
|
|
@$pb.TagNumber(2)
|
|
$0.TypedKey get hash => $_getN(1);
|
|
@$pb.TagNumber(2)
|
|
set hash($0.TypedKey v) { setField(2, v); }
|
|
@$pb.TagNumber(2)
|
|
$core.bool hasHash() => $_has(1);
|
|
@$pb.TagNumber(2)
|
|
void clearHash() => clearField(2);
|
|
@$pb.TagNumber(2)
|
|
$0.TypedKey ensureHash() => $_ensure(1);
|
|
|
|
@$pb.TagNumber(3)
|
|
$core.int get chunk => $_getIZ(2);
|
|
@$pb.TagNumber(3)
|
|
set chunk($core.int v) { $_setUnsignedInt32(2, v); }
|
|
@$pb.TagNumber(3)
|
|
$core.bool hasChunk() => $_has(2);
|
|
@$pb.TagNumber(3)
|
|
void clearChunk() => clearField(3);
|
|
|
|
@$pb.TagNumber(4)
|
|
$core.int get size => $_getIZ(3);
|
|
@$pb.TagNumber(4)
|
|
set size($core.int v) { $_setUnsignedInt32(3, v); }
|
|
@$pb.TagNumber(4)
|
|
$core.bool hasSize() => $_has(3);
|
|
@$pb.TagNumber(4)
|
|
void clearSize() => clearField(4);
|
|
}
|
|
|
|
class DHTLog extends $pb.GeneratedMessage {
|
|
factory DHTLog() => create();
|
|
DHTLog._() : super();
|
|
factory DHTLog.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
|
|
factory DHTLog.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
|
|
|
|
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DHTLog', package: const $pb.PackageName(_omitMessageNames ? '' : 'dht'), createEmptyInstance: create)
|
|
..a<$core.int>(1, _omitFieldNames ? '' : 'head', $pb.PbFieldType.OU3)
|
|
..a<$core.int>(2, _omitFieldNames ? '' : 'tail', $pb.PbFieldType.OU3)
|
|
..a<$core.int>(3, _omitFieldNames ? '' : 'stride', $pb.PbFieldType.OU3)
|
|
..hasRequiredFields = false
|
|
;
|
|
|
|
@$core.Deprecated(
|
|
'Using this can add significant overhead to your binary. '
|
|
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
|
|
'Will be removed in next major version')
|
|
DHTLog clone() => DHTLog()..mergeFromMessage(this);
|
|
@$core.Deprecated(
|
|
'Using this can add significant overhead to your binary. '
|
|
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
|
|
'Will be removed in next major version')
|
|
DHTLog copyWith(void Function(DHTLog) updates) => super.copyWith((message) => updates(message as DHTLog)) as DHTLog;
|
|
|
|
$pb.BuilderInfo get info_ => _i;
|
|
|
|
@$core.pragma('dart2js:noInline')
|
|
static DHTLog create() => DHTLog._();
|
|
DHTLog createEmptyInstance() => create();
|
|
static $pb.PbList<DHTLog> createRepeated() => $pb.PbList<DHTLog>();
|
|
@$core.pragma('dart2js:noInline')
|
|
static DHTLog getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<DHTLog>(create);
|
|
static DHTLog? _defaultInstance;
|
|
|
|
@$pb.TagNumber(1)
|
|
$core.int get head => $_getIZ(0);
|
|
@$pb.TagNumber(1)
|
|
set head($core.int v) { $_setUnsignedInt32(0, v); }
|
|
@$pb.TagNumber(1)
|
|
$core.bool hasHead() => $_has(0);
|
|
@$pb.TagNumber(1)
|
|
void clearHead() => clearField(1);
|
|
|
|
@$pb.TagNumber(2)
|
|
$core.int get tail => $_getIZ(1);
|
|
@$pb.TagNumber(2)
|
|
set tail($core.int v) { $_setUnsignedInt32(1, v); }
|
|
@$pb.TagNumber(2)
|
|
$core.bool hasTail() => $_has(1);
|
|
@$pb.TagNumber(2)
|
|
void clearTail() => clearField(2);
|
|
|
|
@$pb.TagNumber(3)
|
|
$core.int get stride => $_getIZ(2);
|
|
@$pb.TagNumber(3)
|
|
set stride($core.int v) { $_setUnsignedInt32(2, v); }
|
|
@$pb.TagNumber(3)
|
|
$core.bool hasStride() => $_has(2);
|
|
@$pb.TagNumber(3)
|
|
void clearStride() => clearField(3);
|
|
}
|
|
|
|
class DHTShortArray extends $pb.GeneratedMessage {
|
|
factory DHTShortArray() => create();
|
|
DHTShortArray._() : super();
|
|
factory DHTShortArray.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
|
|
factory DHTShortArray.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
|
|
|
|
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DHTShortArray', package: const $pb.PackageName(_omitMessageNames ? '' : 'dht'), createEmptyInstance: create)
|
|
..pc<$0.TypedKey>(1, _omitFieldNames ? '' : 'keys', $pb.PbFieldType.PM, subBuilder: $0.TypedKey.create)
|
|
..a<$core.List<$core.int>>(2, _omitFieldNames ? '' : 'index', $pb.PbFieldType.OY)
|
|
..p<$core.int>(3, _omitFieldNames ? '' : 'seqs', $pb.PbFieldType.KU3)
|
|
..hasRequiredFields = false
|
|
;
|
|
|
|
@$core.Deprecated(
|
|
'Using this can add significant overhead to your binary. '
|
|
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
|
|
'Will be removed in next major version')
|
|
DHTShortArray clone() => DHTShortArray()..mergeFromMessage(this);
|
|
@$core.Deprecated(
|
|
'Using this can add significant overhead to your binary. '
|
|
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
|
|
'Will be removed in next major version')
|
|
DHTShortArray copyWith(void Function(DHTShortArray) updates) => super.copyWith((message) => updates(message as DHTShortArray)) as DHTShortArray;
|
|
|
|
$pb.BuilderInfo get info_ => _i;
|
|
|
|
@$core.pragma('dart2js:noInline')
|
|
static DHTShortArray create() => DHTShortArray._();
|
|
DHTShortArray createEmptyInstance() => create();
|
|
static $pb.PbList<DHTShortArray> createRepeated() => $pb.PbList<DHTShortArray>();
|
|
@$core.pragma('dart2js:noInline')
|
|
static DHTShortArray getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<DHTShortArray>(create);
|
|
static DHTShortArray? _defaultInstance;
|
|
|
|
@$pb.TagNumber(1)
|
|
$core.List<$0.TypedKey> get keys => $_getList(0);
|
|
|
|
@$pb.TagNumber(2)
|
|
$core.List<$core.int> get index => $_getN(1);
|
|
@$pb.TagNumber(2)
|
|
set index($core.List<$core.int> v) { $_setBytes(1, v); }
|
|
@$pb.TagNumber(2)
|
|
$core.bool hasIndex() => $_has(1);
|
|
@$pb.TagNumber(2)
|
|
void clearIndex() => clearField(2);
|
|
|
|
@$pb.TagNumber(3)
|
|
$core.List<$core.int> get seqs => $_getList(2);
|
|
}
|
|
|
|
class DHTDataReference extends $pb.GeneratedMessage {
|
|
factory DHTDataReference() => create();
|
|
DHTDataReference._() : super();
|
|
factory DHTDataReference.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
|
|
factory DHTDataReference.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
|
|
|
|
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DHTDataReference', package: const $pb.PackageName(_omitMessageNames ? '' : 'dht'), createEmptyInstance: create)
|
|
..aOM<$0.TypedKey>(1, _omitFieldNames ? '' : 'dhtData', subBuilder: $0.TypedKey.create)
|
|
..aOM<$0.TypedKey>(2, _omitFieldNames ? '' : 'hash', subBuilder: $0.TypedKey.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')
|
|
DHTDataReference clone() => DHTDataReference()..mergeFromMessage(this);
|
|
@$core.Deprecated(
|
|
'Using this can add significant overhead to your binary. '
|
|
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
|
|
'Will be removed in next major version')
|
|
DHTDataReference copyWith(void Function(DHTDataReference) updates) => super.copyWith((message) => updates(message as DHTDataReference)) as DHTDataReference;
|
|
|
|
$pb.BuilderInfo get info_ => _i;
|
|
|
|
@$core.pragma('dart2js:noInline')
|
|
static DHTDataReference create() => DHTDataReference._();
|
|
DHTDataReference createEmptyInstance() => create();
|
|
static $pb.PbList<DHTDataReference> createRepeated() => $pb.PbList<DHTDataReference>();
|
|
@$core.pragma('dart2js:noInline')
|
|
static DHTDataReference getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<DHTDataReference>(create);
|
|
static DHTDataReference? _defaultInstance;
|
|
|
|
@$pb.TagNumber(1)
|
|
$0.TypedKey get dhtData => $_getN(0);
|
|
@$pb.TagNumber(1)
|
|
set dhtData($0.TypedKey v) { setField(1, v); }
|
|
@$pb.TagNumber(1)
|
|
$core.bool hasDhtData() => $_has(0);
|
|
@$pb.TagNumber(1)
|
|
void clearDhtData() => clearField(1);
|
|
@$pb.TagNumber(1)
|
|
$0.TypedKey ensureDhtData() => $_ensure(0);
|
|
|
|
@$pb.TagNumber(2)
|
|
$0.TypedKey get hash => $_getN(1);
|
|
@$pb.TagNumber(2)
|
|
set hash($0.TypedKey v) { setField(2, v); }
|
|
@$pb.TagNumber(2)
|
|
$core.bool hasHash() => $_has(1);
|
|
@$pb.TagNumber(2)
|
|
void clearHash() => clearField(2);
|
|
@$pb.TagNumber(2)
|
|
$0.TypedKey ensureHash() => $_ensure(1);
|
|
}
|
|
|
|
class BlockStoreDataReference extends $pb.GeneratedMessage {
|
|
factory BlockStoreDataReference() => create();
|
|
BlockStoreDataReference._() : super();
|
|
factory BlockStoreDataReference.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
|
|
factory BlockStoreDataReference.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
|
|
|
|
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'BlockStoreDataReference', package: const $pb.PackageName(_omitMessageNames ? '' : 'dht'), createEmptyInstance: create)
|
|
..aOM<$0.TypedKey>(1, _omitFieldNames ? '' : 'block', subBuilder: $0.TypedKey.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')
|
|
BlockStoreDataReference clone() => BlockStoreDataReference()..mergeFromMessage(this);
|
|
@$core.Deprecated(
|
|
'Using this can add significant overhead to your binary. '
|
|
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
|
|
'Will be removed in next major version')
|
|
BlockStoreDataReference copyWith(void Function(BlockStoreDataReference) updates) => super.copyWith((message) => updates(message as BlockStoreDataReference)) as BlockStoreDataReference;
|
|
|
|
$pb.BuilderInfo get info_ => _i;
|
|
|
|
@$core.pragma('dart2js:noInline')
|
|
static BlockStoreDataReference create() => BlockStoreDataReference._();
|
|
BlockStoreDataReference createEmptyInstance() => create();
|
|
static $pb.PbList<BlockStoreDataReference> createRepeated() => $pb.PbList<BlockStoreDataReference>();
|
|
@$core.pragma('dart2js:noInline')
|
|
static BlockStoreDataReference getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<BlockStoreDataReference>(create);
|
|
static BlockStoreDataReference? _defaultInstance;
|
|
|
|
@$pb.TagNumber(1)
|
|
$0.TypedKey get block => $_getN(0);
|
|
@$pb.TagNumber(1)
|
|
set block($0.TypedKey v) { setField(1, v); }
|
|
@$pb.TagNumber(1)
|
|
$core.bool hasBlock() => $_has(0);
|
|
@$pb.TagNumber(1)
|
|
void clearBlock() => clearField(1);
|
|
@$pb.TagNumber(1)
|
|
$0.TypedKey ensureBlock() => $_ensure(0);
|
|
}
|
|
|
|
enum DataReference_Kind {
|
|
dhtData,
|
|
blockStoreData,
|
|
notSet
|
|
}
|
|
|
|
class DataReference extends $pb.GeneratedMessage {
|
|
factory DataReference() => create();
|
|
DataReference._() : super();
|
|
factory DataReference.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
|
|
factory DataReference.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
|
|
|
|
static const $core.Map<$core.int, DataReference_Kind> _DataReference_KindByTag = {
|
|
1 : DataReference_Kind.dhtData,
|
|
2 : DataReference_Kind.blockStoreData,
|
|
0 : DataReference_Kind.notSet
|
|
};
|
|
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DataReference', package: const $pb.PackageName(_omitMessageNames ? '' : 'dht'), createEmptyInstance: create)
|
|
..oo(0, [1, 2])
|
|
..aOM<DHTDataReference>(1, _omitFieldNames ? '' : 'dhtData', subBuilder: DHTDataReference.create)
|
|
..aOM<BlockStoreDataReference>(2, _omitFieldNames ? '' : 'blockStoreData', subBuilder: BlockStoreDataReference.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')
|
|
DataReference clone() => DataReference()..mergeFromMessage(this);
|
|
@$core.Deprecated(
|
|
'Using this can add significant overhead to your binary. '
|
|
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
|
|
'Will be removed in next major version')
|
|
DataReference copyWith(void Function(DataReference) updates) => super.copyWith((message) => updates(message as DataReference)) as DataReference;
|
|
|
|
$pb.BuilderInfo get info_ => _i;
|
|
|
|
@$core.pragma('dart2js:noInline')
|
|
static DataReference create() => DataReference._();
|
|
DataReference createEmptyInstance() => create();
|
|
static $pb.PbList<DataReference> createRepeated() => $pb.PbList<DataReference>();
|
|
@$core.pragma('dart2js:noInline')
|
|
static DataReference getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<DataReference>(create);
|
|
static DataReference? _defaultInstance;
|
|
|
|
DataReference_Kind whichKind() => _DataReference_KindByTag[$_whichOneof(0)]!;
|
|
void clearKind() => clearField($_whichOneof(0));
|
|
|
|
@$pb.TagNumber(1)
|
|
DHTDataReference get dhtData => $_getN(0);
|
|
@$pb.TagNumber(1)
|
|
set dhtData(DHTDataReference v) { setField(1, v); }
|
|
@$pb.TagNumber(1)
|
|
$core.bool hasDhtData() => $_has(0);
|
|
@$pb.TagNumber(1)
|
|
void clearDhtData() => clearField(1);
|
|
@$pb.TagNumber(1)
|
|
DHTDataReference ensureDhtData() => $_ensure(0);
|
|
|
|
@$pb.TagNumber(2)
|
|
BlockStoreDataReference get blockStoreData => $_getN(1);
|
|
@$pb.TagNumber(2)
|
|
set blockStoreData(BlockStoreDataReference v) { setField(2, v); }
|
|
@$pb.TagNumber(2)
|
|
$core.bool hasBlockStoreData() => $_has(1);
|
|
@$pb.TagNumber(2)
|
|
void clearBlockStoreData() => clearField(2);
|
|
@$pb.TagNumber(2)
|
|
BlockStoreDataReference ensureBlockStoreData() => $_ensure(1);
|
|
}
|
|
|
|
class OwnedDHTRecordPointer extends $pb.GeneratedMessage {
|
|
factory OwnedDHTRecordPointer() => create();
|
|
OwnedDHTRecordPointer._() : super();
|
|
factory OwnedDHTRecordPointer.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
|
|
factory OwnedDHTRecordPointer.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
|
|
|
|
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OwnedDHTRecordPointer', package: const $pb.PackageName(_omitMessageNames ? '' : 'dht'), createEmptyInstance: create)
|
|
..aOM<$0.TypedKey>(1, _omitFieldNames ? '' : 'recordKey', subBuilder: $0.TypedKey.create)
|
|
..aOM<$0.KeyPair>(2, _omitFieldNames ? '' : 'owner', subBuilder: $0.KeyPair.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')
|
|
OwnedDHTRecordPointer clone() => OwnedDHTRecordPointer()..mergeFromMessage(this);
|
|
@$core.Deprecated(
|
|
'Using this can add significant overhead to your binary. '
|
|
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
|
|
'Will be removed in next major version')
|
|
OwnedDHTRecordPointer copyWith(void Function(OwnedDHTRecordPointer) updates) => super.copyWith((message) => updates(message as OwnedDHTRecordPointer)) as OwnedDHTRecordPointer;
|
|
|
|
$pb.BuilderInfo get info_ => _i;
|
|
|
|
@$core.pragma('dart2js:noInline')
|
|
static OwnedDHTRecordPointer create() => OwnedDHTRecordPointer._();
|
|
OwnedDHTRecordPointer createEmptyInstance() => create();
|
|
static $pb.PbList<OwnedDHTRecordPointer> createRepeated() => $pb.PbList<OwnedDHTRecordPointer>();
|
|
@$core.pragma('dart2js:noInline')
|
|
static OwnedDHTRecordPointer getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<OwnedDHTRecordPointer>(create);
|
|
static OwnedDHTRecordPointer? _defaultInstance;
|
|
|
|
@$pb.TagNumber(1)
|
|
$0.TypedKey get recordKey => $_getN(0);
|
|
@$pb.TagNumber(1)
|
|
set recordKey($0.TypedKey v) { setField(1, v); }
|
|
@$pb.TagNumber(1)
|
|
$core.bool hasRecordKey() => $_has(0);
|
|
@$pb.TagNumber(1)
|
|
void clearRecordKey() => clearField(1);
|
|
@$pb.TagNumber(1)
|
|
$0.TypedKey ensureRecordKey() => $_ensure(0);
|
|
|
|
@$pb.TagNumber(2)
|
|
$0.KeyPair get owner => $_getN(1);
|
|
@$pb.TagNumber(2)
|
|
set owner($0.KeyPair v) { setField(2, v); }
|
|
@$pb.TagNumber(2)
|
|
$core.bool hasOwner() => $_has(1);
|
|
@$pb.TagNumber(2)
|
|
void clearOwner() => clearField(2);
|
|
@$pb.TagNumber(2)
|
|
$0.KeyPair ensureOwner() => $_ensure(1);
|
|
}
|
|
|
|
|
|
const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names');
|
|
const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names');
|