| class PhoneNumber extends $pb.GeneratedMessage { |
| factory PhoneNumber() => create(); |
| PhoneNumber._() : super(); |
| factory PhoneNumber.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); |
| factory PhoneNumber.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); |
| |
| static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PhoneNumber', createEmptyInstance: create) |
| ..aQS(1, _omitFieldNames ? '' : 'number') |
| ..e<PhoneNumber_PhoneType>(2, _omitFieldNames ? '' : 'type', $pb.PbFieldType.OE, defaultOrMaker: PhoneNumber_PhoneType.MOBILE, valueOf: PhoneNumber_PhoneType.valueOf, enumValues: PhoneNumber_PhoneType.values) |
| ..a<$core.String>(3, _omitFieldNames ? '' : 'name', $pb.PbFieldType.OS, defaultOrMaker: '\$') |
| ..aOS(4, _omitFieldNames ? '' : 'deprecatedField') |
| ; |
| |
| @$core.Deprecated( |
| 'Using this can add significant overhead to your binary. ' |
| 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' |
| 'Will be removed in next major version') |
| PhoneNumber clone() => PhoneNumber()..mergeFromMessage(this); |
| @$core.Deprecated( |
| 'Using this can add significant overhead to your binary. ' |
| 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' |
| 'Will be removed in next major version') |
| PhoneNumber copyWith(void Function(PhoneNumber) updates) => super.copyWith((message) => updates(message as PhoneNumber)) as PhoneNumber; |
| |
| $pb.BuilderInfo get info_ => _i; |
| |
| @$core.pragma('dart2js:noInline') |
| static PhoneNumber create() => PhoneNumber._(); |
| PhoneNumber createEmptyInstance() => create(); |
| static $pb.PbList<PhoneNumber> createRepeated() => $pb.PbList<PhoneNumber>(); |
| @$core.pragma('dart2js:noInline') |
| static PhoneNumber getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<PhoneNumber>(create); |
| static PhoneNumber? _defaultInstance; |
| |
| @$pb.TagNumber(1) |
| $core.String get number => $_getSZ(0); |
| @$pb.TagNumber(1) |
| set number($core.String v) { $_setString(0, v); } |
| @$pb.TagNumber(1) |
| $core.bool hasNumber() => $_has(0); |
| @$pb.TagNumber(1) |
| void clearNumber() => $_clearField(1); |
| |
| @$pb.TagNumber(2) |
| PhoneNumber_PhoneType get type => $_getN(1); |
| @$pb.TagNumber(2) |
| set type(PhoneNumber_PhoneType v) { $_setField(2, v); } |
| @$pb.TagNumber(2) |
| $core.bool hasType() => $_has(1); |
| @$pb.TagNumber(2) |
| void clearType() => $_clearField(2); |
| |
| @$pb.TagNumber(3) |
| $core.String get name => $_getS(2, '\$'); |
| @$pb.TagNumber(3) |
| set name($core.String v) { $_setString(2, v); } |
| @$pb.TagNumber(3) |
| $core.bool hasName() => $_has(2); |
| @$pb.TagNumber(3) |
| void clearName() => $_clearField(3); |
| |
| @$core.Deprecated('This field is deprecated.') |
| @$pb.TagNumber(4) |
| $core.String get deprecatedField => $_getSZ(3); |
| @$core.Deprecated('This field is deprecated.') |
| @$pb.TagNumber(4) |
| set deprecatedField($core.String v) { $_setString(3, v); } |
| @$core.Deprecated('This field is deprecated.') |
| @$pb.TagNumber(4) |
| $core.bool hasDeprecatedField() => $_has(3); |
| @$core.Deprecated('This field is deprecated.') |
| @$pb.TagNumber(4) |
| void clearDeprecatedField() => $_clearField(4); |
| } |
| |
| |
| const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); |
| const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); |