blob: 57bc0fb49c71d87975ee7246f1cecee0ecf23f7f [file] [log] [blame]
///
// Generated code. Do not modify.
// source: lib/src/model/appengine/key_helper.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 Path_Element extends $pb.GeneratedMessage {
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'Path.Element',
createEmptyInstance: create)
..aQS(2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'type')
..aInt64(3, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'id')
..aOS(4, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'name');
Path_Element._() : super();
factory Path_Element({
$core.String? type,
$fixnum.Int64? id,
$core.String? name,
}) {
final _result = create();
if (type != null) {
_result.type = type;
}
if (id != null) {
_result.id = id;
}
if (name != null) {
_result.name = name;
}
return _result;
}
factory Path_Element.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
create()..mergeFromBuffer(i, r);
factory Path_Element.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')
Path_Element clone() => Path_Element()..mergeFromMessage(this);
@$core.Deprecated('Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
'Will be removed in next major version')
Path_Element copyWith(void Function(Path_Element) updates) =>
super.copyWith((message) => updates(message as Path_Element)) as Path_Element; // ignore: deprecated_member_use
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static Path_Element create() => Path_Element._();
Path_Element createEmptyInstance() => create();
static $pb.PbList<Path_Element> createRepeated() => $pb.PbList<Path_Element>();
@$core.pragma('dart2js:noInline')
static Path_Element getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<Path_Element>(create);
static Path_Element? _defaultInstance;
@$pb.TagNumber(2)
$core.String get type => $_getSZ(0);
@$pb.TagNumber(2)
set type($core.String v) {
$_setString(0, v);
}
@$pb.TagNumber(2)
$core.bool hasType() => $_has(0);
@$pb.TagNumber(2)
void clearType() => clearField(2);
@$pb.TagNumber(3)
$fixnum.Int64 get id => $_getI64(1);
@$pb.TagNumber(3)
set id($fixnum.Int64 v) {
$_setInt64(1, v);
}
@$pb.TagNumber(3)
$core.bool hasId() => $_has(1);
@$pb.TagNumber(3)
void clearId() => clearField(3);
@$pb.TagNumber(4)
$core.String get name => $_getSZ(2);
@$pb.TagNumber(4)
set name($core.String v) {
$_setString(2, v);
}
@$pb.TagNumber(4)
$core.bool hasName() => $_has(2);
@$pb.TagNumber(4)
void clearName() => clearField(4);
}
class Path extends $pb.GeneratedMessage {
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'Path',
createEmptyInstance: create)
..pc<Path_Element>(
1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'element', $pb.PbFieldType.PG,
subBuilder: Path_Element.create)
..hasRequiredFields = false;
Path._() : super();
factory Path({
$core.Iterable<Path_Element>? element,
}) {
final _result = create();
if (element != null) {
_result.element.addAll(element);
}
return _result;
}
factory Path.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
create()..mergeFromBuffer(i, r);
factory Path.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')
Path clone() => Path()..mergeFromMessage(this);
@$core.Deprecated('Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
'Will be removed in next major version')
Path copyWith(void Function(Path) updates) =>
super.copyWith((message) => updates(message as Path)) as Path; // ignore: deprecated_member_use
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static Path create() => Path._();
Path createEmptyInstance() => create();
static $pb.PbList<Path> createRepeated() => $pb.PbList<Path>();
@$core.pragma('dart2js:noInline')
static Path getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<Path>(create);
static Path? _defaultInstance;
@$pb.TagNumber(1)
$core.List<Path_Element> get element => $_getList(0);
}
class Reference extends $pb.GeneratedMessage {
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'Reference',
createEmptyInstance: create)
..aQS(13, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'app')
..aQM<Path>(14, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'path',
subBuilder: Path.create)
..aOS(20, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'nameSpace');
Reference._() : super();
factory Reference({
$core.String? app,
Path? path,
$core.String? nameSpace,
}) {
final _result = create();
if (app != null) {
_result.app = app;
}
if (path != null) {
_result.path = path;
}
if (nameSpace != null) {
_result.nameSpace = nameSpace;
}
return _result;
}
factory Reference.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
create()..mergeFromBuffer(i, r);
factory Reference.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')
Reference clone() => Reference()..mergeFromMessage(this);
@$core.Deprecated('Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
'Will be removed in next major version')
Reference copyWith(void Function(Reference) updates) =>
super.copyWith((message) => updates(message as Reference)) as Reference; // ignore: deprecated_member_use
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static Reference create() => Reference._();
Reference createEmptyInstance() => create();
static $pb.PbList<Reference> createRepeated() => $pb.PbList<Reference>();
@$core.pragma('dart2js:noInline')
static Reference getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<Reference>(create);
static Reference? _defaultInstance;
@$pb.TagNumber(13)
$core.String get app => $_getSZ(0);
@$pb.TagNumber(13)
set app($core.String v) {
$_setString(0, v);
}
@$pb.TagNumber(13)
$core.bool hasApp() => $_has(0);
@$pb.TagNumber(13)
void clearApp() => clearField(13);
@$pb.TagNumber(14)
Path get path => $_getN(1);
@$pb.TagNumber(14)
set path(Path v) {
setField(14, v);
}
@$pb.TagNumber(14)
$core.bool hasPath() => $_has(1);
@$pb.TagNumber(14)
void clearPath() => clearField(14);
@$pb.TagNumber(14)
Path ensurePath() => $_ensure(1);
@$pb.TagNumber(20)
$core.String get nameSpace => $_getSZ(2);
@$pb.TagNumber(20)
set nameSpace($core.String v) {
$_setString(2, v);
}
@$pb.TagNumber(20)
$core.bool hasNameSpace() => $_has(2);
@$pb.TagNumber(20)
void clearNameSpace() => clearField(20);
}