mirror of
https://mirror.ghproxy.com/https://github.com/StarCitizenToolBox/app.git
synced 2024-12-23 18:13:41 +08:00
119 lines
4.5 KiB
Dart
119 lines
4.5 KiB
Dart
|
//
|
||
|
// Generated code. Do not modify.
|
||
|
// source: app.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 PingRequest extends $pb.GeneratedMessage {
|
||
|
factory PingRequest({
|
||
|
$core.String? name,
|
||
|
}) {
|
||
|
final $result = create();
|
||
|
if (name != null) {
|
||
|
$result.name = name;
|
||
|
}
|
||
|
return $result;
|
||
|
}
|
||
|
PingRequest._() : super();
|
||
|
factory PingRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
|
||
|
factory PingRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
|
||
|
|
||
|
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PingRequest', createEmptyInstance: create)
|
||
|
..aOS(1, _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')
|
||
|
PingRequest clone() => PingRequest()..mergeFromMessage(this);
|
||
|
@$core.Deprecated(
|
||
|
'Using this can add significant overhead to your binary. '
|
||
|
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
|
||
|
'Will be removed in next major version')
|
||
|
PingRequest copyWith(void Function(PingRequest) updates) => super.copyWith((message) => updates(message as PingRequest)) as PingRequest;
|
||
|
|
||
|
$pb.BuilderInfo get info_ => _i;
|
||
|
|
||
|
@$core.pragma('dart2js:noInline')
|
||
|
static PingRequest create() => PingRequest._();
|
||
|
PingRequest createEmptyInstance() => create();
|
||
|
static $pb.PbList<PingRequest> createRepeated() => $pb.PbList<PingRequest>();
|
||
|
@$core.pragma('dart2js:noInline')
|
||
|
static PingRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<PingRequest>(create);
|
||
|
static PingRequest? _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);
|
||
|
}
|
||
|
|
||
|
class PingResult extends $pb.GeneratedMessage {
|
||
|
factory PingResult({
|
||
|
$core.String? pong,
|
||
|
}) {
|
||
|
final $result = create();
|
||
|
if (pong != null) {
|
||
|
$result.pong = pong;
|
||
|
}
|
||
|
return $result;
|
||
|
}
|
||
|
PingResult._() : super();
|
||
|
factory PingResult.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
|
||
|
factory PingResult.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
|
||
|
|
||
|
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PingResult', createEmptyInstance: create)
|
||
|
..aOS(1, _omitFieldNames ? '' : 'pong')
|
||
|
..hasRequiredFields = false
|
||
|
;
|
||
|
|
||
|
@$core.Deprecated(
|
||
|
'Using this can add significant overhead to your binary. '
|
||
|
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
|
||
|
'Will be removed in next major version')
|
||
|
PingResult clone() => PingResult()..mergeFromMessage(this);
|
||
|
@$core.Deprecated(
|
||
|
'Using this can add significant overhead to your binary. '
|
||
|
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
|
||
|
'Will be removed in next major version')
|
||
|
PingResult copyWith(void Function(PingResult) updates) => super.copyWith((message) => updates(message as PingResult)) as PingResult;
|
||
|
|
||
|
$pb.BuilderInfo get info_ => _i;
|
||
|
|
||
|
@$core.pragma('dart2js:noInline')
|
||
|
static PingResult create() => PingResult._();
|
||
|
PingResult createEmptyInstance() => create();
|
||
|
static $pb.PbList<PingResult> createRepeated() => $pb.PbList<PingResult>();
|
||
|
@$core.pragma('dart2js:noInline')
|
||
|
static PingResult getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<PingResult>(create);
|
||
|
static PingResult? _defaultInstance;
|
||
|
|
||
|
@$pb.TagNumber(1)
|
||
|
$core.String get pong => $_getSZ(0);
|
||
|
@$pb.TagNumber(1)
|
||
|
set pong($core.String v) { $_setString(0, v); }
|
||
|
@$pb.TagNumber(1)
|
||
|
$core.bool hasPong() => $_has(0);
|
||
|
@$pb.TagNumber(1)
|
||
|
void clearPong() => clearField(1);
|
||
|
}
|
||
|
|
||
|
|
||
|
const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names');
|
||
|
const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names');
|