mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-08-06 15:21:21 +08:00
950 lines
34 KiB
Dart
950 lines
34 KiB
Dart
// SPDX-FileCopyrightText: 2021 Vishesh Handa <me@vhanda.in>
|
|
//
|
|
// SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
///
|
|
// Generated code. Do not modify.
|
|
// source: shared_preferences.proto
|
|
//
|
|
// @dart = 2.12
|
|
// ignore_for_file: annotate_overrides,camel_case_types,unnecessary_const,non_constant_identifier_names,library_prefixes,unused_import,unused_shown_name,return_of_invalid_type,unnecessary_this,prefer_final_fields
|
|
|
|
import 'dart:core' as $core;
|
|
|
|
import 'package:fixnum/fixnum.dart' as $fixnum;
|
|
import 'package:protobuf/protobuf.dart' as $pb;
|
|
|
|
class EmptyMessage extends $pb.GeneratedMessage {
|
|
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
|
const $core.bool.fromEnvironment('protobuf.omit_message_names')
|
|
? ''
|
|
: 'EmptyMessage',
|
|
package: const $pb.PackageName(
|
|
const $core.bool.fromEnvironment('protobuf.omit_message_names')
|
|
? ''
|
|
: 'gitjournal'),
|
|
createEmptyInstance: create)
|
|
..hasRequiredFields = false;
|
|
|
|
EmptyMessage._() : super();
|
|
factory EmptyMessage() => create();
|
|
factory EmptyMessage.fromBuffer($core.List<$core.int> i,
|
|
[$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
|
|
create()..mergeFromBuffer(i, r);
|
|
factory EmptyMessage.fromJson($core.String i,
|
|
[$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
|
|
create()..mergeFromJson(i, r);
|
|
@$core.Deprecated('Using this can add significant overhead to your binary. '
|
|
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
|
|
'Will be removed in next major version')
|
|
EmptyMessage clone() => EmptyMessage()..mergeFromMessage(this);
|
|
@$core.Deprecated('Using this can add significant overhead to your binary. '
|
|
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
|
|
'Will be removed in next major version')
|
|
EmptyMessage copyWith(void Function(EmptyMessage) updates) =>
|
|
super.copyWith((message) => updates(message as EmptyMessage))
|
|
as EmptyMessage; // ignore: deprecated_member_use
|
|
$pb.BuilderInfo get info_ => _i;
|
|
@$core.pragma('dart2js:noInline')
|
|
static EmptyMessage create() => EmptyMessage._();
|
|
EmptyMessage createEmptyInstance() => create();
|
|
static $pb.PbList<EmptyMessage> createRepeated() =>
|
|
$pb.PbList<EmptyMessage>();
|
|
@$core.pragma('dart2js:noInline')
|
|
static EmptyMessage getDefault() => _defaultInstance ??=
|
|
$pb.GeneratedMessage.$_defaultFor<EmptyMessage>(create);
|
|
static EmptyMessage? _defaultInstance;
|
|
}
|
|
|
|
class StringMessage extends $pb.GeneratedMessage {
|
|
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
|
const $core.bool.fromEnvironment('protobuf.omit_message_names')
|
|
? ''
|
|
: 'StringMessage',
|
|
package: const $pb.PackageName(
|
|
const $core.bool.fromEnvironment('protobuf.omit_message_names')
|
|
? ''
|
|
: 'gitjournal'),
|
|
createEmptyInstance: create)
|
|
..aOS(
|
|
1,
|
|
const $core.bool.fromEnvironment('protobuf.omit_field_names')
|
|
? ''
|
|
: 'value')
|
|
..hasRequiredFields = false;
|
|
|
|
StringMessage._() : super();
|
|
factory StringMessage({
|
|
$core.String? value,
|
|
}) {
|
|
final _result = create();
|
|
if (value != null) {
|
|
_result.value = value;
|
|
}
|
|
return _result;
|
|
}
|
|
factory StringMessage.fromBuffer($core.List<$core.int> i,
|
|
[$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
|
|
create()..mergeFromBuffer(i, r);
|
|
factory StringMessage.fromJson($core.String i,
|
|
[$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
|
|
create()..mergeFromJson(i, r);
|
|
@$core.Deprecated('Using this can add significant overhead to your binary. '
|
|
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
|
|
'Will be removed in next major version')
|
|
StringMessage clone() => StringMessage()..mergeFromMessage(this);
|
|
@$core.Deprecated('Using this can add significant overhead to your binary. '
|
|
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
|
|
'Will be removed in next major version')
|
|
StringMessage copyWith(void Function(StringMessage) updates) =>
|
|
super.copyWith((message) => updates(message as StringMessage))
|
|
as StringMessage; // ignore: deprecated_member_use
|
|
$pb.BuilderInfo get info_ => _i;
|
|
@$core.pragma('dart2js:noInline')
|
|
static StringMessage create() => StringMessage._();
|
|
StringMessage createEmptyInstance() => create();
|
|
static $pb.PbList<StringMessage> createRepeated() =>
|
|
$pb.PbList<StringMessage>();
|
|
@$core.pragma('dart2js:noInline')
|
|
static StringMessage getDefault() => _defaultInstance ??=
|
|
$pb.GeneratedMessage.$_defaultFor<StringMessage>(create);
|
|
static StringMessage? _defaultInstance;
|
|
|
|
@$pb.TagNumber(1)
|
|
$core.String get value => $_getSZ(0);
|
|
@$pb.TagNumber(1)
|
|
set value($core.String v) {
|
|
$_setString(0, v);
|
|
}
|
|
|
|
@$pb.TagNumber(1)
|
|
$core.bool hasValue() => $_has(0);
|
|
@$pb.TagNumber(1)
|
|
void clearValue() => clearField(1);
|
|
}
|
|
|
|
class BoolMessage extends $pb.GeneratedMessage {
|
|
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
|
const $core.bool.fromEnvironment('protobuf.omit_message_names')
|
|
? ''
|
|
: 'BoolMessage',
|
|
package: const $pb.PackageName(
|
|
const $core.bool.fromEnvironment('protobuf.omit_message_names')
|
|
? ''
|
|
: 'gitjournal'),
|
|
createEmptyInstance: create)
|
|
..aOB(
|
|
1,
|
|
const $core.bool.fromEnvironment('protobuf.omit_field_names')
|
|
? ''
|
|
: 'value')
|
|
..hasRequiredFields = false;
|
|
|
|
BoolMessage._() : super();
|
|
factory BoolMessage({
|
|
$core.bool? value,
|
|
}) {
|
|
final _result = create();
|
|
if (value != null) {
|
|
_result.value = value;
|
|
}
|
|
return _result;
|
|
}
|
|
factory BoolMessage.fromBuffer($core.List<$core.int> i,
|
|
[$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
|
|
create()..mergeFromBuffer(i, r);
|
|
factory BoolMessage.fromJson($core.String i,
|
|
[$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
|
|
create()..mergeFromJson(i, r);
|
|
@$core.Deprecated('Using this can add significant overhead to your binary. '
|
|
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
|
|
'Will be removed in next major version')
|
|
BoolMessage clone() => BoolMessage()..mergeFromMessage(this);
|
|
@$core.Deprecated('Using this can add significant overhead to your binary. '
|
|
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
|
|
'Will be removed in next major version')
|
|
BoolMessage copyWith(void Function(BoolMessage) updates) =>
|
|
super.copyWith((message) => updates(message as BoolMessage))
|
|
as BoolMessage; // ignore: deprecated_member_use
|
|
$pb.BuilderInfo get info_ => _i;
|
|
@$core.pragma('dart2js:noInline')
|
|
static BoolMessage create() => BoolMessage._();
|
|
BoolMessage createEmptyInstance() => create();
|
|
static $pb.PbList<BoolMessage> createRepeated() => $pb.PbList<BoolMessage>();
|
|
@$core.pragma('dart2js:noInline')
|
|
static BoolMessage getDefault() => _defaultInstance ??=
|
|
$pb.GeneratedMessage.$_defaultFor<BoolMessage>(create);
|
|
static BoolMessage? _defaultInstance;
|
|
|
|
@$pb.TagNumber(1)
|
|
$core.bool get value => $_getBF(0);
|
|
@$pb.TagNumber(1)
|
|
set value($core.bool v) {
|
|
$_setBool(0, v);
|
|
}
|
|
|
|
@$pb.TagNumber(1)
|
|
$core.bool hasValue() => $_has(0);
|
|
@$pb.TagNumber(1)
|
|
void clearValue() => clearField(1);
|
|
}
|
|
|
|
class OptionalBool extends $pb.GeneratedMessage {
|
|
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
|
const $core.bool.fromEnvironment('protobuf.omit_message_names')
|
|
? ''
|
|
: 'OptionalBool',
|
|
package: const $pb.PackageName(
|
|
const $core.bool.fromEnvironment('protobuf.omit_message_names')
|
|
? ''
|
|
: 'gitjournal'),
|
|
createEmptyInstance: create)
|
|
..aOB(
|
|
1,
|
|
const $core.bool.fromEnvironment('protobuf.omit_field_names')
|
|
? ''
|
|
: 'value')
|
|
..hasRequiredFields = false;
|
|
|
|
OptionalBool._() : super();
|
|
factory OptionalBool({
|
|
$core.bool? value,
|
|
}) {
|
|
final _result = create();
|
|
if (value != null) {
|
|
_result.value = value;
|
|
}
|
|
return _result;
|
|
}
|
|
factory OptionalBool.fromBuffer($core.List<$core.int> i,
|
|
[$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
|
|
create()..mergeFromBuffer(i, r);
|
|
factory OptionalBool.fromJson($core.String i,
|
|
[$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
|
|
create()..mergeFromJson(i, r);
|
|
@$core.Deprecated('Using this can add significant overhead to your binary. '
|
|
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
|
|
'Will be removed in next major version')
|
|
OptionalBool clone() => OptionalBool()..mergeFromMessage(this);
|
|
@$core.Deprecated('Using this can add significant overhead to your binary. '
|
|
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
|
|
'Will be removed in next major version')
|
|
OptionalBool copyWith(void Function(OptionalBool) updates) =>
|
|
super.copyWith((message) => updates(message as OptionalBool))
|
|
as OptionalBool; // ignore: deprecated_member_use
|
|
$pb.BuilderInfo get info_ => _i;
|
|
@$core.pragma('dart2js:noInline')
|
|
static OptionalBool create() => OptionalBool._();
|
|
OptionalBool createEmptyInstance() => create();
|
|
static $pb.PbList<OptionalBool> createRepeated() =>
|
|
$pb.PbList<OptionalBool>();
|
|
@$core.pragma('dart2js:noInline')
|
|
static OptionalBool getDefault() => _defaultInstance ??=
|
|
$pb.GeneratedMessage.$_defaultFor<OptionalBool>(create);
|
|
static OptionalBool? _defaultInstance;
|
|
|
|
@$pb.TagNumber(1)
|
|
$core.bool get value => $_getBF(0);
|
|
@$pb.TagNumber(1)
|
|
set value($core.bool v) {
|
|
$_setBool(0, v);
|
|
}
|
|
|
|
@$pb.TagNumber(1)
|
|
$core.bool hasValue() => $_has(0);
|
|
@$pb.TagNumber(1)
|
|
void clearValue() => clearField(1);
|
|
}
|
|
|
|
class OptionalInt extends $pb.GeneratedMessage {
|
|
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
|
const $core.bool.fromEnvironment('protobuf.omit_message_names')
|
|
? ''
|
|
: 'OptionalInt',
|
|
package: const $pb.PackageName(
|
|
const $core.bool.fromEnvironment('protobuf.omit_message_names')
|
|
? ''
|
|
: 'gitjournal'),
|
|
createEmptyInstance: create)
|
|
..aInt64(
|
|
1,
|
|
const $core.bool.fromEnvironment('protobuf.omit_field_names')
|
|
? ''
|
|
: 'value')
|
|
..hasRequiredFields = false;
|
|
|
|
OptionalInt._() : super();
|
|
factory OptionalInt({
|
|
$fixnum.Int64? value,
|
|
}) {
|
|
final _result = create();
|
|
if (value != null) {
|
|
_result.value = value;
|
|
}
|
|
return _result;
|
|
}
|
|
factory OptionalInt.fromBuffer($core.List<$core.int> i,
|
|
[$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
|
|
create()..mergeFromBuffer(i, r);
|
|
factory OptionalInt.fromJson($core.String i,
|
|
[$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
|
|
create()..mergeFromJson(i, r);
|
|
@$core.Deprecated('Using this can add significant overhead to your binary. '
|
|
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
|
|
'Will be removed in next major version')
|
|
OptionalInt clone() => OptionalInt()..mergeFromMessage(this);
|
|
@$core.Deprecated('Using this can add significant overhead to your binary. '
|
|
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
|
|
'Will be removed in next major version')
|
|
OptionalInt copyWith(void Function(OptionalInt) updates) =>
|
|
super.copyWith((message) => updates(message as OptionalInt))
|
|
as OptionalInt; // ignore: deprecated_member_use
|
|
$pb.BuilderInfo get info_ => _i;
|
|
@$core.pragma('dart2js:noInline')
|
|
static OptionalInt create() => OptionalInt._();
|
|
OptionalInt createEmptyInstance() => create();
|
|
static $pb.PbList<OptionalInt> createRepeated() => $pb.PbList<OptionalInt>();
|
|
@$core.pragma('dart2js:noInline')
|
|
static OptionalInt getDefault() => _defaultInstance ??=
|
|
$pb.GeneratedMessage.$_defaultFor<OptionalInt>(create);
|
|
static OptionalInt? _defaultInstance;
|
|
|
|
@$pb.TagNumber(1)
|
|
$fixnum.Int64 get value => $_getI64(0);
|
|
@$pb.TagNumber(1)
|
|
set value($fixnum.Int64 v) {
|
|
$_setInt64(0, v);
|
|
}
|
|
|
|
@$pb.TagNumber(1)
|
|
$core.bool hasValue() => $_has(0);
|
|
@$pb.TagNumber(1)
|
|
void clearValue() => clearField(1);
|
|
}
|
|
|
|
class OptionalDouble extends $pb.GeneratedMessage {
|
|
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
|
const $core.bool.fromEnvironment('protobuf.omit_message_names')
|
|
? ''
|
|
: 'OptionalDouble',
|
|
package: const $pb.PackageName(
|
|
const $core.bool.fromEnvironment('protobuf.omit_message_names')
|
|
? ''
|
|
: 'gitjournal'),
|
|
createEmptyInstance: create)
|
|
..a<$core.double>(
|
|
1,
|
|
const $core.bool.fromEnvironment('protobuf.omit_field_names')
|
|
? ''
|
|
: 'value',
|
|
$pb.PbFieldType.OD)
|
|
..hasRequiredFields = false;
|
|
|
|
OptionalDouble._() : super();
|
|
factory OptionalDouble({
|
|
$core.double? value,
|
|
}) {
|
|
final _result = create();
|
|
if (value != null) {
|
|
_result.value = value;
|
|
}
|
|
return _result;
|
|
}
|
|
factory OptionalDouble.fromBuffer($core.List<$core.int> i,
|
|
[$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
|
|
create()..mergeFromBuffer(i, r);
|
|
factory OptionalDouble.fromJson($core.String i,
|
|
[$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
|
|
create()..mergeFromJson(i, r);
|
|
@$core.Deprecated('Using this can add significant overhead to your binary. '
|
|
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
|
|
'Will be removed in next major version')
|
|
OptionalDouble clone() => OptionalDouble()..mergeFromMessage(this);
|
|
@$core.Deprecated('Using this can add significant overhead to your binary. '
|
|
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
|
|
'Will be removed in next major version')
|
|
OptionalDouble copyWith(void Function(OptionalDouble) updates) =>
|
|
super.copyWith((message) => updates(message as OptionalDouble))
|
|
as OptionalDouble; // ignore: deprecated_member_use
|
|
$pb.BuilderInfo get info_ => _i;
|
|
@$core.pragma('dart2js:noInline')
|
|
static OptionalDouble create() => OptionalDouble._();
|
|
OptionalDouble createEmptyInstance() => create();
|
|
static $pb.PbList<OptionalDouble> createRepeated() =>
|
|
$pb.PbList<OptionalDouble>();
|
|
@$core.pragma('dart2js:noInline')
|
|
static OptionalDouble getDefault() => _defaultInstance ??=
|
|
$pb.GeneratedMessage.$_defaultFor<OptionalDouble>(create);
|
|
static OptionalDouble? _defaultInstance;
|
|
|
|
@$pb.TagNumber(1)
|
|
$core.double get value => $_getN(0);
|
|
@$pb.TagNumber(1)
|
|
set value($core.double v) {
|
|
$_setDouble(0, v);
|
|
}
|
|
|
|
@$pb.TagNumber(1)
|
|
$core.bool hasValue() => $_has(0);
|
|
@$pb.TagNumber(1)
|
|
void clearValue() => clearField(1);
|
|
}
|
|
|
|
class OptionalString extends $pb.GeneratedMessage {
|
|
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
|
const $core.bool.fromEnvironment('protobuf.omit_message_names')
|
|
? ''
|
|
: 'OptionalString',
|
|
package: const $pb.PackageName(
|
|
const $core.bool.fromEnvironment('protobuf.omit_message_names')
|
|
? ''
|
|
: 'gitjournal'),
|
|
createEmptyInstance: create)
|
|
..aOS(
|
|
1,
|
|
const $core.bool.fromEnvironment('protobuf.omit_field_names')
|
|
? ''
|
|
: 'value')
|
|
..hasRequiredFields = false;
|
|
|
|
OptionalString._() : super();
|
|
factory OptionalString({
|
|
$core.String? value,
|
|
}) {
|
|
final _result = create();
|
|
if (value != null) {
|
|
_result.value = value;
|
|
}
|
|
return _result;
|
|
}
|
|
factory OptionalString.fromBuffer($core.List<$core.int> i,
|
|
[$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
|
|
create()..mergeFromBuffer(i, r);
|
|
factory OptionalString.fromJson($core.String i,
|
|
[$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
|
|
create()..mergeFromJson(i, r);
|
|
@$core.Deprecated('Using this can add significant overhead to your binary. '
|
|
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
|
|
'Will be removed in next major version')
|
|
OptionalString clone() => OptionalString()..mergeFromMessage(this);
|
|
@$core.Deprecated('Using this can add significant overhead to your binary. '
|
|
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
|
|
'Will be removed in next major version')
|
|
OptionalString copyWith(void Function(OptionalString) updates) =>
|
|
super.copyWith((message) => updates(message as OptionalString))
|
|
as OptionalString; // ignore: deprecated_member_use
|
|
$pb.BuilderInfo get info_ => _i;
|
|
@$core.pragma('dart2js:noInline')
|
|
static OptionalString create() => OptionalString._();
|
|
OptionalString createEmptyInstance() => create();
|
|
static $pb.PbList<OptionalString> createRepeated() =>
|
|
$pb.PbList<OptionalString>();
|
|
@$core.pragma('dart2js:noInline')
|
|
static OptionalString getDefault() => _defaultInstance ??=
|
|
$pb.GeneratedMessage.$_defaultFor<OptionalString>(create);
|
|
static OptionalString? _defaultInstance;
|
|
|
|
@$pb.TagNumber(1)
|
|
$core.String get value => $_getSZ(0);
|
|
@$pb.TagNumber(1)
|
|
set value($core.String v) {
|
|
$_setString(0, v);
|
|
}
|
|
|
|
@$pb.TagNumber(1)
|
|
$core.bool hasValue() => $_has(0);
|
|
@$pb.TagNumber(1)
|
|
void clearValue() => clearField(1);
|
|
}
|
|
|
|
class StringListMessage extends $pb.GeneratedMessage {
|
|
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
|
const $core.bool.fromEnvironment('protobuf.omit_message_names')
|
|
? ''
|
|
: 'StringListMessage',
|
|
package: const $pb.PackageName(
|
|
const $core.bool.fromEnvironment('protobuf.omit_message_names')
|
|
? ''
|
|
: 'gitjournal'),
|
|
createEmptyInstance: create)
|
|
..pPS(
|
|
1,
|
|
const $core.bool.fromEnvironment('protobuf.omit_field_names')
|
|
? ''
|
|
: 'value')
|
|
..hasRequiredFields = false;
|
|
|
|
StringListMessage._() : super();
|
|
factory StringListMessage({
|
|
$core.Iterable<$core.String>? value,
|
|
}) {
|
|
final _result = create();
|
|
if (value != null) {
|
|
_result.value.addAll(value);
|
|
}
|
|
return _result;
|
|
}
|
|
factory StringListMessage.fromBuffer($core.List<$core.int> i,
|
|
[$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
|
|
create()..mergeFromBuffer(i, r);
|
|
factory StringListMessage.fromJson($core.String i,
|
|
[$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
|
|
create()..mergeFromJson(i, r);
|
|
@$core.Deprecated('Using this can add significant overhead to your binary. '
|
|
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
|
|
'Will be removed in next major version')
|
|
StringListMessage clone() => StringListMessage()..mergeFromMessage(this);
|
|
@$core.Deprecated('Using this can add significant overhead to your binary. '
|
|
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
|
|
'Will be removed in next major version')
|
|
StringListMessage copyWith(void Function(StringListMessage) updates) =>
|
|
super.copyWith((message) => updates(message as StringListMessage))
|
|
as StringListMessage; // ignore: deprecated_member_use
|
|
$pb.BuilderInfo get info_ => _i;
|
|
@$core.pragma('dart2js:noInline')
|
|
static StringListMessage create() => StringListMessage._();
|
|
StringListMessage createEmptyInstance() => create();
|
|
static $pb.PbList<StringListMessage> createRepeated() =>
|
|
$pb.PbList<StringListMessage>();
|
|
@$core.pragma('dart2js:noInline')
|
|
static StringListMessage getDefault() => _defaultInstance ??=
|
|
$pb.GeneratedMessage.$_defaultFor<StringListMessage>(create);
|
|
static StringListMessage? _defaultInstance;
|
|
|
|
@$pb.TagNumber(1)
|
|
$core.List<$core.String> get value => $_getList(0);
|
|
}
|
|
|
|
class SetBoolRequest extends $pb.GeneratedMessage {
|
|
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
|
const $core.bool.fromEnvironment('protobuf.omit_message_names')
|
|
? ''
|
|
: 'SetBoolRequest',
|
|
package: const $pb.PackageName(
|
|
const $core.bool.fromEnvironment('protobuf.omit_message_names')
|
|
? ''
|
|
: 'gitjournal'),
|
|
createEmptyInstance: create)
|
|
..aOS(
|
|
1,
|
|
const $core.bool.fromEnvironment('protobuf.omit_field_names')
|
|
? ''
|
|
: 'key')
|
|
..aOB(
|
|
2,
|
|
const $core.bool.fromEnvironment('protobuf.omit_field_names')
|
|
? ''
|
|
: 'value')
|
|
..hasRequiredFields = false;
|
|
|
|
SetBoolRequest._() : super();
|
|
factory SetBoolRequest({
|
|
$core.String? key,
|
|
$core.bool? value,
|
|
}) {
|
|
final _result = create();
|
|
if (key != null) {
|
|
_result.key = key;
|
|
}
|
|
if (value != null) {
|
|
_result.value = value;
|
|
}
|
|
return _result;
|
|
}
|
|
factory SetBoolRequest.fromBuffer($core.List<$core.int> i,
|
|
[$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
|
|
create()..mergeFromBuffer(i, r);
|
|
factory SetBoolRequest.fromJson($core.String i,
|
|
[$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
|
|
create()..mergeFromJson(i, r);
|
|
@$core.Deprecated('Using this can add significant overhead to your binary. '
|
|
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
|
|
'Will be removed in next major version')
|
|
SetBoolRequest clone() => SetBoolRequest()..mergeFromMessage(this);
|
|
@$core.Deprecated('Using this can add significant overhead to your binary. '
|
|
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
|
|
'Will be removed in next major version')
|
|
SetBoolRequest copyWith(void Function(SetBoolRequest) updates) =>
|
|
super.copyWith((message) => updates(message as SetBoolRequest))
|
|
as SetBoolRequest; // ignore: deprecated_member_use
|
|
$pb.BuilderInfo get info_ => _i;
|
|
@$core.pragma('dart2js:noInline')
|
|
static SetBoolRequest create() => SetBoolRequest._();
|
|
SetBoolRequest createEmptyInstance() => create();
|
|
static $pb.PbList<SetBoolRequest> createRepeated() =>
|
|
$pb.PbList<SetBoolRequest>();
|
|
@$core.pragma('dart2js:noInline')
|
|
static SetBoolRequest getDefault() => _defaultInstance ??=
|
|
$pb.GeneratedMessage.$_defaultFor<SetBoolRequest>(create);
|
|
static SetBoolRequest? _defaultInstance;
|
|
|
|
@$pb.TagNumber(1)
|
|
$core.String get key => $_getSZ(0);
|
|
@$pb.TagNumber(1)
|
|
set key($core.String v) {
|
|
$_setString(0, v);
|
|
}
|
|
|
|
@$pb.TagNumber(1)
|
|
$core.bool hasKey() => $_has(0);
|
|
@$pb.TagNumber(1)
|
|
void clearKey() => clearField(1);
|
|
|
|
@$pb.TagNumber(2)
|
|
$core.bool get value => $_getBF(1);
|
|
@$pb.TagNumber(2)
|
|
set value($core.bool v) {
|
|
$_setBool(1, v);
|
|
}
|
|
|
|
@$pb.TagNumber(2)
|
|
$core.bool hasValue() => $_has(1);
|
|
@$pb.TagNumber(2)
|
|
void clearValue() => clearField(2);
|
|
}
|
|
|
|
class SetIntRequest extends $pb.GeneratedMessage {
|
|
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
|
const $core.bool.fromEnvironment('protobuf.omit_message_names')
|
|
? ''
|
|
: 'SetIntRequest',
|
|
package: const $pb.PackageName(
|
|
const $core.bool.fromEnvironment('protobuf.omit_message_names')
|
|
? ''
|
|
: 'gitjournal'),
|
|
createEmptyInstance: create)
|
|
..aOS(
|
|
1,
|
|
const $core.bool.fromEnvironment('protobuf.omit_field_names')
|
|
? ''
|
|
: 'key')
|
|
..aInt64(
|
|
2,
|
|
const $core.bool.fromEnvironment('protobuf.omit_field_names')
|
|
? ''
|
|
: 'value')
|
|
..hasRequiredFields = false;
|
|
|
|
SetIntRequest._() : super();
|
|
factory SetIntRequest({
|
|
$core.String? key,
|
|
$fixnum.Int64? value,
|
|
}) {
|
|
final _result = create();
|
|
if (key != null) {
|
|
_result.key = key;
|
|
}
|
|
if (value != null) {
|
|
_result.value = value;
|
|
}
|
|
return _result;
|
|
}
|
|
factory SetIntRequest.fromBuffer($core.List<$core.int> i,
|
|
[$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
|
|
create()..mergeFromBuffer(i, r);
|
|
factory SetIntRequest.fromJson($core.String i,
|
|
[$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
|
|
create()..mergeFromJson(i, r);
|
|
@$core.Deprecated('Using this can add significant overhead to your binary. '
|
|
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
|
|
'Will be removed in next major version')
|
|
SetIntRequest clone() => SetIntRequest()..mergeFromMessage(this);
|
|
@$core.Deprecated('Using this can add significant overhead to your binary. '
|
|
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
|
|
'Will be removed in next major version')
|
|
SetIntRequest copyWith(void Function(SetIntRequest) updates) =>
|
|
super.copyWith((message) => updates(message as SetIntRequest))
|
|
as SetIntRequest; // ignore: deprecated_member_use
|
|
$pb.BuilderInfo get info_ => _i;
|
|
@$core.pragma('dart2js:noInline')
|
|
static SetIntRequest create() => SetIntRequest._();
|
|
SetIntRequest createEmptyInstance() => create();
|
|
static $pb.PbList<SetIntRequest> createRepeated() =>
|
|
$pb.PbList<SetIntRequest>();
|
|
@$core.pragma('dart2js:noInline')
|
|
static SetIntRequest getDefault() => _defaultInstance ??=
|
|
$pb.GeneratedMessage.$_defaultFor<SetIntRequest>(create);
|
|
static SetIntRequest? _defaultInstance;
|
|
|
|
@$pb.TagNumber(1)
|
|
$core.String get key => $_getSZ(0);
|
|
@$pb.TagNumber(1)
|
|
set key($core.String v) {
|
|
$_setString(0, v);
|
|
}
|
|
|
|
@$pb.TagNumber(1)
|
|
$core.bool hasKey() => $_has(0);
|
|
@$pb.TagNumber(1)
|
|
void clearKey() => clearField(1);
|
|
|
|
@$pb.TagNumber(2)
|
|
$fixnum.Int64 get value => $_getI64(1);
|
|
@$pb.TagNumber(2)
|
|
set value($fixnum.Int64 v) {
|
|
$_setInt64(1, v);
|
|
}
|
|
|
|
@$pb.TagNumber(2)
|
|
$core.bool hasValue() => $_has(1);
|
|
@$pb.TagNumber(2)
|
|
void clearValue() => clearField(2);
|
|
}
|
|
|
|
class SetDoubleRequest extends $pb.GeneratedMessage {
|
|
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
|
const $core.bool.fromEnvironment('protobuf.omit_message_names')
|
|
? ''
|
|
: 'SetDoubleRequest',
|
|
package: const $pb.PackageName(
|
|
const $core.bool.fromEnvironment('protobuf.omit_message_names')
|
|
? ''
|
|
: 'gitjournal'),
|
|
createEmptyInstance: create)
|
|
..aOS(
|
|
1,
|
|
const $core.bool.fromEnvironment('protobuf.omit_field_names')
|
|
? ''
|
|
: 'key')
|
|
..a<$core.double>(
|
|
2,
|
|
const $core.bool.fromEnvironment('protobuf.omit_field_names')
|
|
? ''
|
|
: 'value',
|
|
$pb.PbFieldType.OD)
|
|
..hasRequiredFields = false;
|
|
|
|
SetDoubleRequest._() : super();
|
|
factory SetDoubleRequest({
|
|
$core.String? key,
|
|
$core.double? value,
|
|
}) {
|
|
final _result = create();
|
|
if (key != null) {
|
|
_result.key = key;
|
|
}
|
|
if (value != null) {
|
|
_result.value = value;
|
|
}
|
|
return _result;
|
|
}
|
|
factory SetDoubleRequest.fromBuffer($core.List<$core.int> i,
|
|
[$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
|
|
create()..mergeFromBuffer(i, r);
|
|
factory SetDoubleRequest.fromJson($core.String i,
|
|
[$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
|
|
create()..mergeFromJson(i, r);
|
|
@$core.Deprecated('Using this can add significant overhead to your binary. '
|
|
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
|
|
'Will be removed in next major version')
|
|
SetDoubleRequest clone() => SetDoubleRequest()..mergeFromMessage(this);
|
|
@$core.Deprecated('Using this can add significant overhead to your binary. '
|
|
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
|
|
'Will be removed in next major version')
|
|
SetDoubleRequest copyWith(void Function(SetDoubleRequest) updates) =>
|
|
super.copyWith((message) => updates(message as SetDoubleRequest))
|
|
as SetDoubleRequest; // ignore: deprecated_member_use
|
|
$pb.BuilderInfo get info_ => _i;
|
|
@$core.pragma('dart2js:noInline')
|
|
static SetDoubleRequest create() => SetDoubleRequest._();
|
|
SetDoubleRequest createEmptyInstance() => create();
|
|
static $pb.PbList<SetDoubleRequest> createRepeated() =>
|
|
$pb.PbList<SetDoubleRequest>();
|
|
@$core.pragma('dart2js:noInline')
|
|
static SetDoubleRequest getDefault() => _defaultInstance ??=
|
|
$pb.GeneratedMessage.$_defaultFor<SetDoubleRequest>(create);
|
|
static SetDoubleRequest? _defaultInstance;
|
|
|
|
@$pb.TagNumber(1)
|
|
$core.String get key => $_getSZ(0);
|
|
@$pb.TagNumber(1)
|
|
set key($core.String v) {
|
|
$_setString(0, v);
|
|
}
|
|
|
|
@$pb.TagNumber(1)
|
|
$core.bool hasKey() => $_has(0);
|
|
@$pb.TagNumber(1)
|
|
void clearKey() => clearField(1);
|
|
|
|
@$pb.TagNumber(2)
|
|
$core.double get value => $_getN(1);
|
|
@$pb.TagNumber(2)
|
|
set value($core.double v) {
|
|
$_setDouble(1, v);
|
|
}
|
|
|
|
@$pb.TagNumber(2)
|
|
$core.bool hasValue() => $_has(1);
|
|
@$pb.TagNumber(2)
|
|
void clearValue() => clearField(2);
|
|
}
|
|
|
|
class SetStringRequest extends $pb.GeneratedMessage {
|
|
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
|
const $core.bool.fromEnvironment('protobuf.omit_message_names')
|
|
? ''
|
|
: 'SetStringRequest',
|
|
package: const $pb.PackageName(
|
|
const $core.bool.fromEnvironment('protobuf.omit_message_names')
|
|
? ''
|
|
: 'gitjournal'),
|
|
createEmptyInstance: create)
|
|
..aOS(
|
|
1,
|
|
const $core.bool.fromEnvironment('protobuf.omit_field_names')
|
|
? ''
|
|
: 'key')
|
|
..aOS(
|
|
2,
|
|
const $core.bool.fromEnvironment('protobuf.omit_field_names')
|
|
? ''
|
|
: 'value')
|
|
..hasRequiredFields = false;
|
|
|
|
SetStringRequest._() : super();
|
|
factory SetStringRequest({
|
|
$core.String? key,
|
|
$core.String? value,
|
|
}) {
|
|
final _result = create();
|
|
if (key != null) {
|
|
_result.key = key;
|
|
}
|
|
if (value != null) {
|
|
_result.value = value;
|
|
}
|
|
return _result;
|
|
}
|
|
factory SetStringRequest.fromBuffer($core.List<$core.int> i,
|
|
[$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
|
|
create()..mergeFromBuffer(i, r);
|
|
factory SetStringRequest.fromJson($core.String i,
|
|
[$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
|
|
create()..mergeFromJson(i, r);
|
|
@$core.Deprecated('Using this can add significant overhead to your binary. '
|
|
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
|
|
'Will be removed in next major version')
|
|
SetStringRequest clone() => SetStringRequest()..mergeFromMessage(this);
|
|
@$core.Deprecated('Using this can add significant overhead to your binary. '
|
|
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
|
|
'Will be removed in next major version')
|
|
SetStringRequest copyWith(void Function(SetStringRequest) updates) =>
|
|
super.copyWith((message) => updates(message as SetStringRequest))
|
|
as SetStringRequest; // ignore: deprecated_member_use
|
|
$pb.BuilderInfo get info_ => _i;
|
|
@$core.pragma('dart2js:noInline')
|
|
static SetStringRequest create() => SetStringRequest._();
|
|
SetStringRequest createEmptyInstance() => create();
|
|
static $pb.PbList<SetStringRequest> createRepeated() =>
|
|
$pb.PbList<SetStringRequest>();
|
|
@$core.pragma('dart2js:noInline')
|
|
static SetStringRequest getDefault() => _defaultInstance ??=
|
|
$pb.GeneratedMessage.$_defaultFor<SetStringRequest>(create);
|
|
static SetStringRequest? _defaultInstance;
|
|
|
|
@$pb.TagNumber(1)
|
|
$core.String get key => $_getSZ(0);
|
|
@$pb.TagNumber(1)
|
|
set key($core.String v) {
|
|
$_setString(0, v);
|
|
}
|
|
|
|
@$pb.TagNumber(1)
|
|
$core.bool hasKey() => $_has(0);
|
|
@$pb.TagNumber(1)
|
|
void clearKey() => clearField(1);
|
|
|
|
@$pb.TagNumber(2)
|
|
$core.String get value => $_getSZ(1);
|
|
@$pb.TagNumber(2)
|
|
set value($core.String v) {
|
|
$_setString(1, v);
|
|
}
|
|
|
|
@$pb.TagNumber(2)
|
|
$core.bool hasValue() => $_has(1);
|
|
@$pb.TagNumber(2)
|
|
void clearValue() => clearField(2);
|
|
}
|
|
|
|
class SetStringListRequest extends $pb.GeneratedMessage {
|
|
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
|
const $core.bool.fromEnvironment('protobuf.omit_message_names')
|
|
? ''
|
|
: 'SetStringListRequest',
|
|
package: const $pb.PackageName(
|
|
const $core.bool.fromEnvironment('protobuf.omit_message_names')
|
|
? ''
|
|
: 'gitjournal'),
|
|
createEmptyInstance: create)
|
|
..aOS(
|
|
1,
|
|
const $core.bool.fromEnvironment('protobuf.omit_field_names')
|
|
? ''
|
|
: 'key')
|
|
..pPS(
|
|
2,
|
|
const $core.bool.fromEnvironment('protobuf.omit_field_names')
|
|
? ''
|
|
: 'value')
|
|
..hasRequiredFields = false;
|
|
|
|
SetStringListRequest._() : super();
|
|
factory SetStringListRequest({
|
|
$core.String? key,
|
|
$core.Iterable<$core.String>? value,
|
|
}) {
|
|
final _result = create();
|
|
if (key != null) {
|
|
_result.key = key;
|
|
}
|
|
if (value != null) {
|
|
_result.value.addAll(value);
|
|
}
|
|
return _result;
|
|
}
|
|
factory SetStringListRequest.fromBuffer($core.List<$core.int> i,
|
|
[$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
|
|
create()..mergeFromBuffer(i, r);
|
|
factory SetStringListRequest.fromJson($core.String i,
|
|
[$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
|
|
create()..mergeFromJson(i, r);
|
|
@$core.Deprecated('Using this can add significant overhead to your binary. '
|
|
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
|
|
'Will be removed in next major version')
|
|
SetStringListRequest clone() =>
|
|
SetStringListRequest()..mergeFromMessage(this);
|
|
@$core.Deprecated('Using this can add significant overhead to your binary. '
|
|
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
|
|
'Will be removed in next major version')
|
|
SetStringListRequest copyWith(void Function(SetStringListRequest) updates) =>
|
|
super.copyWith((message) => updates(message as SetStringListRequest))
|
|
as SetStringListRequest; // ignore: deprecated_member_use
|
|
$pb.BuilderInfo get info_ => _i;
|
|
@$core.pragma('dart2js:noInline')
|
|
static SetStringListRequest create() => SetStringListRequest._();
|
|
SetStringListRequest createEmptyInstance() => create();
|
|
static $pb.PbList<SetStringListRequest> createRepeated() =>
|
|
$pb.PbList<SetStringListRequest>();
|
|
@$core.pragma('dart2js:noInline')
|
|
static SetStringListRequest getDefault() => _defaultInstance ??=
|
|
$pb.GeneratedMessage.$_defaultFor<SetStringListRequest>(create);
|
|
static SetStringListRequest? _defaultInstance;
|
|
|
|
@$pb.TagNumber(1)
|
|
$core.String get key => $_getSZ(0);
|
|
@$pb.TagNumber(1)
|
|
set key($core.String v) {
|
|
$_setString(0, v);
|
|
}
|
|
|
|
@$pb.TagNumber(1)
|
|
$core.bool hasKey() => $_has(0);
|
|
@$pb.TagNumber(1)
|
|
void clearKey() => clearField(1);
|
|
|
|
@$pb.TagNumber(2)
|
|
$core.List<$core.String> get value => $_getList(1);
|
|
}
|