// This is a generated file - do not edit. // // Generated from user_agent/vault/bootstrap.proto. // @dart = 3.3 // ignore_for_file: annotate_overrides, camel_case_types, comment_references // ignore_for_file: constant_identifier_names // ignore_for_file: curly_braces_in_flow_control_structures // ignore_for_file: deprecated_member_use_from_same_package, library_prefixes // ignore_for_file: non_constant_identifier_names, prefer_relative_imports import 'dart:core' as $core; import 'package:protobuf/protobuf.dart' as $pb; import 'bootstrap.pbenum.dart'; export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions; export 'bootstrap.pbenum.dart'; class BootstrapEncryptedKey extends $pb.GeneratedMessage { factory BootstrapEncryptedKey({ $core.List<$core.int>? nonce, $core.List<$core.int>? ciphertext, $core.List<$core.int>? associatedData, }) { final result = create(); if (nonce != null) result.nonce = nonce; if (ciphertext != null) result.ciphertext = ciphertext; if (associatedData != null) result.associatedData = associatedData; return result; } BootstrapEncryptedKey._(); factory BootstrapEncryptedKey.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); factory BootstrapEncryptedKey.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'BootstrapEncryptedKey', package: const $pb.PackageName( _omitMessageNames ? '' : 'arbiter.user_agent.vault.bootstrap'), createEmptyInstance: create) ..a<$core.List<$core.int>>( 1, _omitFieldNames ? '' : 'nonce', $pb.PbFieldType.OY) ..a<$core.List<$core.int>>( 2, _omitFieldNames ? '' : 'ciphertext', $pb.PbFieldType.OY) ..a<$core.List<$core.int>>( 3, _omitFieldNames ? '' : 'associatedData', $pb.PbFieldType.OY) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') BootstrapEncryptedKey clone() => deepCopy(); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') BootstrapEncryptedKey copyWith( void Function(BootstrapEncryptedKey) updates) => super.copyWith((message) => updates(message as BootstrapEncryptedKey)) as BootstrapEncryptedKey; @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static BootstrapEncryptedKey create() => BootstrapEncryptedKey._(); @$core.override BootstrapEncryptedKey createEmptyInstance() => create(); @$core.pragma('dart2js:noInline') static BootstrapEncryptedKey getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static BootstrapEncryptedKey? _defaultInstance; @$pb.TagNumber(1) $core.List<$core.int> get nonce => $_getN(0); @$pb.TagNumber(1) set nonce($core.List<$core.int> value) => $_setBytes(0, value); @$pb.TagNumber(1) $core.bool hasNonce() => $_has(0); @$pb.TagNumber(1) void clearNonce() => $_clearField(1); @$pb.TagNumber(2) $core.List<$core.int> get ciphertext => $_getN(1); @$pb.TagNumber(2) set ciphertext($core.List<$core.int> value) => $_setBytes(1, value); @$pb.TagNumber(2) $core.bool hasCiphertext() => $_has(1); @$pb.TagNumber(2) void clearCiphertext() => $_clearField(2); @$pb.TagNumber(3) $core.List<$core.int> get associatedData => $_getN(2); @$pb.TagNumber(3) set associatedData($core.List<$core.int> value) => $_setBytes(2, value); @$pb.TagNumber(3) $core.bool hasAssociatedData() => $_has(2); @$pb.TagNumber(3) void clearAssociatedData() => $_clearField(3); } class Request extends $pb.GeneratedMessage { factory Request({ BootstrapEncryptedKey? encryptedKey, }) { final result = create(); if (encryptedKey != null) result.encryptedKey = encryptedKey; return result; } Request._(); factory Request.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); factory Request.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'Request', package: const $pb.PackageName( _omitMessageNames ? '' : 'arbiter.user_agent.vault.bootstrap'), createEmptyInstance: create) ..aOM(2, _omitFieldNames ? '' : 'encryptedKey', subBuilder: BootstrapEncryptedKey.create) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') Request clone() => deepCopy(); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') Request copyWith(void Function(Request) updates) => super.copyWith((message) => updates(message as Request)) as Request; @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static Request create() => Request._(); @$core.override Request createEmptyInstance() => create(); @$core.pragma('dart2js:noInline') static Request getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static Request? _defaultInstance; @$pb.TagNumber(2) BootstrapEncryptedKey get encryptedKey => $_getN(0); @$pb.TagNumber(2) set encryptedKey(BootstrapEncryptedKey value) => $_setField(2, value); @$pb.TagNumber(2) $core.bool hasEncryptedKey() => $_has(0); @$pb.TagNumber(2) void clearEncryptedKey() => $_clearField(2); @$pb.TagNumber(2) BootstrapEncryptedKey ensureEncryptedKey() => $_ensure(0); } class Response extends $pb.GeneratedMessage { factory Response({ BootstrapResult? result, }) { final result$ = create(); if (result != null) result$.result = result; return result$; } Response._(); factory Response.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); factory Response.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo( _omitMessageNames ? '' : 'Response', package: const $pb.PackageName( _omitMessageNames ? '' : 'arbiter.user_agent.vault.bootstrap'), createEmptyInstance: create) ..aE(1, _omitFieldNames ? '' : 'result', enumValues: BootstrapResult.values) ..hasRequiredFields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') Response clone() => deepCopy(); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') Response copyWith(void Function(Response) updates) => super.copyWith((message) => updates(message as Response)) as Response; @$core.override $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static Response create() => Response._(); @$core.override Response createEmptyInstance() => create(); @$core.pragma('dart2js:noInline') static Response getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static Response? _defaultInstance; @$pb.TagNumber(1) BootstrapResult get result => $_getN(0); @$pb.TagNumber(1) set result(BootstrapResult value) => $_setField(1, value); @$pb.TagNumber(1) $core.bool hasResult() => $_has(0); @$pb.TagNumber(1) void clearResult() => $_clearField(1); } const $core.bool _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); const $core.bool _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names');