// This is a generated file - do not edit.
//
// Generated from translations.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

import 'dart:core' as $core;

import 'package:protobuf/protobuf.dart' as $pb;

import 'shared.pb.dart' as $1;

export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions;

class Translation extends $pb.GeneratedMessage {
  factory Translation({
    $core.String? languageCode,
    $core.String? translation,
  }) {
    final result = create();
    if (languageCode != null) result.languageCode = languageCode;
    if (translation != null) result.translation = translation;
    return result;
  }

  Translation._();

  factory Translation.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
  factory Translation.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Translation', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOS(1, _omitFieldNames ? '' : 'LanguageCode', protoName: 'LanguageCode')
    ..aOS(2, _omitFieldNames ? '' : 'Translation', protoName: 'Translation')
    ..hasRequiredFields = false
  ;

  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  Translation clone() => Translation()..mergeFromMessage(this);
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  Translation copyWith(void Function(Translation) updates) => super.copyWith((message) => updates(message as Translation)) as Translation;

  @$core.override
  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static Translation create() => Translation._();
  @$core.override
  Translation createEmptyInstance() => create();
  static $pb.PbList<Translation> createRepeated() => $pb.PbList<Translation>();
  @$core.pragma('dart2js:noInline')
  static Translation getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<Translation>(create);
  static Translation? _defaultInstance;

  @$pb.TagNumber(1)
  $core.String get languageCode => $_getSZ(0);
  @$pb.TagNumber(1)
  set languageCode($core.String value) => $_setString(0, value);
  @$pb.TagNumber(1)
  $core.bool hasLanguageCode() => $_has(0);
  @$pb.TagNumber(1)
  void clearLanguageCode() => $_clearField(1);

  @$pb.TagNumber(2)
  $core.String get translation => $_getSZ(1);
  @$pb.TagNumber(2)
  set translation($core.String value) => $_setString(1, value);
  @$pb.TagNumber(2)
  $core.bool hasTranslation() => $_has(1);
  @$pb.TagNumber(2)
  void clearTranslation() => $_clearField(2);
}

class TranslationsByContext extends $pb.GeneratedMessage {
  factory TranslationsByContext({
    $core.String? context,
    $core.Iterable<TranslationByLabel>? labels,
  }) {
    final result = create();
    if (context != null) result.context = context;
    if (labels != null) result.labels.addAll(labels);
    return result;
  }

  TranslationsByContext._();

  factory TranslationsByContext.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
  factory TranslationsByContext.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'TranslationsByContext', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOS(1, _omitFieldNames ? '' : 'Context', protoName: 'Context')
    ..pc<TranslationByLabel>(2, _omitFieldNames ? '' : 'Labels', $pb.PbFieldType.PM, protoName: 'Labels', subBuilder: TranslationByLabel.create)
    ..hasRequiredFields = false
  ;

  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  TranslationsByContext clone() => TranslationsByContext()..mergeFromMessage(this);
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  TranslationsByContext copyWith(void Function(TranslationsByContext) updates) => super.copyWith((message) => updates(message as TranslationsByContext)) as TranslationsByContext;

  @$core.override
  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static TranslationsByContext create() => TranslationsByContext._();
  @$core.override
  TranslationsByContext createEmptyInstance() => create();
  static $pb.PbList<TranslationsByContext> createRepeated() => $pb.PbList<TranslationsByContext>();
  @$core.pragma('dart2js:noInline')
  static TranslationsByContext getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<TranslationsByContext>(create);
  static TranslationsByContext? _defaultInstance;

  @$pb.TagNumber(1)
  $core.String get context => $_getSZ(0);
  @$pb.TagNumber(1)
  set context($core.String value) => $_setString(0, value);
  @$pb.TagNumber(1)
  $core.bool hasContext() => $_has(0);
  @$pb.TagNumber(1)
  void clearContext() => $_clearField(1);

  @$pb.TagNumber(2)
  $pb.PbList<TranslationByLabel> get labels => $_getList(1);
}

class TranslationByLabel extends $pb.GeneratedMessage {
  factory TranslationByLabel({
    $core.String? key,
    $core.String? translation,
  }) {
    final result = create();
    if (key != null) result.key = key;
    if (translation != null) result.translation = translation;
    return result;
  }

  TranslationByLabel._();

  factory TranslationByLabel.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
  factory TranslationByLabel.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'TranslationByLabel', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOS(1, _omitFieldNames ? '' : 'Key', protoName: 'Key')
    ..aOS(2, _omitFieldNames ? '' : 'Translation', protoName: 'Translation')
    ..hasRequiredFields = false
  ;

  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  TranslationByLabel clone() => TranslationByLabel()..mergeFromMessage(this);
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  TranslationByLabel copyWith(void Function(TranslationByLabel) updates) => super.copyWith((message) => updates(message as TranslationByLabel)) as TranslationByLabel;

  @$core.override
  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static TranslationByLabel create() => TranslationByLabel._();
  @$core.override
  TranslationByLabel createEmptyInstance() => create();
  static $pb.PbList<TranslationByLabel> createRepeated() => $pb.PbList<TranslationByLabel>();
  @$core.pragma('dart2js:noInline')
  static TranslationByLabel getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<TranslationByLabel>(create);
  static TranslationByLabel? _defaultInstance;

  @$pb.TagNumber(1)
  $core.String get key => $_getSZ(0);
  @$pb.TagNumber(1)
  set key($core.String value) => $_setString(0, value);
  @$pb.TagNumber(1)
  $core.bool hasKey() => $_has(0);
  @$pb.TagNumber(1)
  void clearKey() => $_clearField(1);

  @$pb.TagNumber(2)
  $core.String get translation => $_getSZ(1);
  @$pb.TagNumber(2)
  set translation($core.String value) => $_setString(1, value);
  @$pb.TagNumber(2)
  $core.bool hasTranslation() => $_has(1);
  @$pb.TagNumber(2)
  void clearTranslation() => $_clearField(2);
}

class GetTranslationsRequest extends $pb.GeneratedMessage {
  factory GetTranslationsRequest({
    $1.RequestProjectHeader? header,
    $core.String? context,
    $core.String? key,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (context != null) result.context = context;
    if (key != null) result.key = key;
    return result;
  }

  GetTranslationsRequest._();

  factory GetTranslationsRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
  factory GetTranslationsRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetTranslationsRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$1.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.RequestProjectHeader.create)
    ..aOS(2, _omitFieldNames ? '' : 'Context', protoName: 'Context')
    ..aOS(3, _omitFieldNames ? '' : 'Key', protoName: 'Key')
    ..hasRequiredFields = false
  ;

  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  GetTranslationsRequest clone() => GetTranslationsRequest()..mergeFromMessage(this);
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  GetTranslationsRequest copyWith(void Function(GetTranslationsRequest) updates) => super.copyWith((message) => updates(message as GetTranslationsRequest)) as GetTranslationsRequest;

  @$core.override
  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static GetTranslationsRequest create() => GetTranslationsRequest._();
  @$core.override
  GetTranslationsRequest createEmptyInstance() => create();
  static $pb.PbList<GetTranslationsRequest> createRepeated() => $pb.PbList<GetTranslationsRequest>();
  @$core.pragma('dart2js:noInline')
  static GetTranslationsRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<GetTranslationsRequest>(create);
  static GetTranslationsRequest? _defaultInstance;

  @$pb.TagNumber(1)
  $1.RequestProjectHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($1.RequestProjectHeader value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $1.RequestProjectHeader ensureHeader() => $_ensure(0);

  @$pb.TagNumber(2)
  $core.String get context => $_getSZ(1);
  @$pb.TagNumber(2)
  set context($core.String value) => $_setString(1, value);
  @$pb.TagNumber(2)
  $core.bool hasContext() => $_has(1);
  @$pb.TagNumber(2)
  void clearContext() => $_clearField(2);

  @$pb.TagNumber(3)
  $core.String get key => $_getSZ(2);
  @$pb.TagNumber(3)
  set key($core.String value) => $_setString(2, value);
  @$pb.TagNumber(3)
  $core.bool hasKey() => $_has(2);
  @$pb.TagNumber(3)
  void clearKey() => $_clearField(3);
}

class GetTranslationsResult extends $pb.GeneratedMessage {
  factory GetTranslationsResult({
    $core.Iterable<Translation>? translations,
  }) {
    final result = create();
    if (translations != null) result.translations.addAll(translations);
    return result;
  }

  GetTranslationsResult._();

  factory GetTranslationsResult.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
  factory GetTranslationsResult.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetTranslationsResult', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..pc<Translation>(1, _omitFieldNames ? '' : 'Translations', $pb.PbFieldType.PM, protoName: 'Translations', subBuilder: Translation.create)
    ..hasRequiredFields = false
  ;

  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  GetTranslationsResult clone() => GetTranslationsResult()..mergeFromMessage(this);
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  GetTranslationsResult copyWith(void Function(GetTranslationsResult) updates) => super.copyWith((message) => updates(message as GetTranslationsResult)) as GetTranslationsResult;

  @$core.override
  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static GetTranslationsResult create() => GetTranslationsResult._();
  @$core.override
  GetTranslationsResult createEmptyInstance() => create();
  static $pb.PbList<GetTranslationsResult> createRepeated() => $pb.PbList<GetTranslationsResult>();
  @$core.pragma('dart2js:noInline')
  static GetTranslationsResult getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<GetTranslationsResult>(create);
  static GetTranslationsResult? _defaultInstance;

  @$pb.TagNumber(1)
  $pb.PbList<Translation> get translations => $_getList(0);
}

class PutTranslationsRequest extends $pb.GeneratedMessage {
  factory PutTranslationsRequest({
    $1.RequestProjectHeader? header,
    $core.String? context,
    $core.String? key,
    $core.Iterable<Translation>? translations,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (context != null) result.context = context;
    if (key != null) result.key = key;
    if (translations != null) result.translations.addAll(translations);
    return result;
  }

  PutTranslationsRequest._();

  factory PutTranslationsRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
  factory PutTranslationsRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PutTranslationsRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$1.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.RequestProjectHeader.create)
    ..aOS(2, _omitFieldNames ? '' : 'Context', protoName: 'Context')
    ..aOS(3, _omitFieldNames ? '' : 'Key', protoName: 'Key')
    ..pc<Translation>(4, _omitFieldNames ? '' : 'Translations', $pb.PbFieldType.PM, protoName: 'Translations', subBuilder: Translation.create)
    ..hasRequiredFields = false
  ;

  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  PutTranslationsRequest clone() => PutTranslationsRequest()..mergeFromMessage(this);
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  PutTranslationsRequest copyWith(void Function(PutTranslationsRequest) updates) => super.copyWith((message) => updates(message as PutTranslationsRequest)) as PutTranslationsRequest;

  @$core.override
  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static PutTranslationsRequest create() => PutTranslationsRequest._();
  @$core.override
  PutTranslationsRequest createEmptyInstance() => create();
  static $pb.PbList<PutTranslationsRequest> createRepeated() => $pb.PbList<PutTranslationsRequest>();
  @$core.pragma('dart2js:noInline')
  static PutTranslationsRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<PutTranslationsRequest>(create);
  static PutTranslationsRequest? _defaultInstance;

  @$pb.TagNumber(1)
  $1.RequestProjectHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($1.RequestProjectHeader value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $1.RequestProjectHeader ensureHeader() => $_ensure(0);

  @$pb.TagNumber(2)
  $core.String get context => $_getSZ(1);
  @$pb.TagNumber(2)
  set context($core.String value) => $_setString(1, value);
  @$pb.TagNumber(2)
  $core.bool hasContext() => $_has(1);
  @$pb.TagNumber(2)
  void clearContext() => $_clearField(2);

  @$pb.TagNumber(3)
  $core.String get key => $_getSZ(2);
  @$pb.TagNumber(3)
  set key($core.String value) => $_setString(2, value);
  @$pb.TagNumber(3)
  $core.bool hasKey() => $_has(2);
  @$pb.TagNumber(3)
  void clearKey() => $_clearField(3);

  @$pb.TagNumber(4)
  $pb.PbList<Translation> get translations => $_getList(3);
}

class PutTranslationsResult extends $pb.GeneratedMessage {
  factory PutTranslationsResult({
    $core.Iterable<Translation>? translations,
  }) {
    final result = create();
    if (translations != null) result.translations.addAll(translations);
    return result;
  }

  PutTranslationsResult._();

  factory PutTranslationsResult.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
  factory PutTranslationsResult.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PutTranslationsResult', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..pc<Translation>(1, _omitFieldNames ? '' : 'Translations', $pb.PbFieldType.PM, protoName: 'Translations', subBuilder: Translation.create)
    ..hasRequiredFields = false
  ;

  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  PutTranslationsResult clone() => PutTranslationsResult()..mergeFromMessage(this);
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  PutTranslationsResult copyWith(void Function(PutTranslationsResult) updates) => super.copyWith((message) => updates(message as PutTranslationsResult)) as PutTranslationsResult;

  @$core.override
  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static PutTranslationsResult create() => PutTranslationsResult._();
  @$core.override
  PutTranslationsResult createEmptyInstance() => create();
  static $pb.PbList<PutTranslationsResult> createRepeated() => $pb.PbList<PutTranslationsResult>();
  @$core.pragma('dart2js:noInline')
  static PutTranslationsResult getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<PutTranslationsResult>(create);
  static PutTranslationsResult? _defaultInstance;

  @$pb.TagNumber(1)
  $pb.PbList<Translation> get translations => $_getList(0);
}

class DeleteTranslationsRequest extends $pb.GeneratedMessage {
  factory DeleteTranslationsRequest({
    $1.RequestProjectHeader? header,
    $core.String? context,
    $core.String? key,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (context != null) result.context = context;
    if (key != null) result.key = key;
    return result;
  }

  DeleteTranslationsRequest._();

  factory DeleteTranslationsRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
  factory DeleteTranslationsRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeleteTranslationsRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$1.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.RequestProjectHeader.create)
    ..aOS(2, _omitFieldNames ? '' : 'Context', protoName: 'Context')
    ..aOS(3, _omitFieldNames ? '' : 'Key', protoName: 'Key')
    ..hasRequiredFields = false
  ;

  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  DeleteTranslationsRequest clone() => DeleteTranslationsRequest()..mergeFromMessage(this);
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  DeleteTranslationsRequest copyWith(void Function(DeleteTranslationsRequest) updates) => super.copyWith((message) => updates(message as DeleteTranslationsRequest)) as DeleteTranslationsRequest;

  @$core.override
  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static DeleteTranslationsRequest create() => DeleteTranslationsRequest._();
  @$core.override
  DeleteTranslationsRequest createEmptyInstance() => create();
  static $pb.PbList<DeleteTranslationsRequest> createRepeated() => $pb.PbList<DeleteTranslationsRequest>();
  @$core.pragma('dart2js:noInline')
  static DeleteTranslationsRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<DeleteTranslationsRequest>(create);
  static DeleteTranslationsRequest? _defaultInstance;

  @$pb.TagNumber(1)
  $1.RequestProjectHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($1.RequestProjectHeader value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $1.RequestProjectHeader ensureHeader() => $_ensure(0);

  @$pb.TagNumber(2)
  $core.String get context => $_getSZ(1);
  @$pb.TagNumber(2)
  set context($core.String value) => $_setString(1, value);
  @$pb.TagNumber(2)
  $core.bool hasContext() => $_has(1);
  @$pb.TagNumber(2)
  void clearContext() => $_clearField(2);

  @$pb.TagNumber(3)
  $core.String get key => $_getSZ(2);
  @$pb.TagNumber(3)
  set key($core.String value) => $_setString(2, value);
  @$pb.TagNumber(3)
  $core.bool hasKey() => $_has(2);
  @$pb.TagNumber(3)
  void clearKey() => $_clearField(3);
}

class DeleteTranslationsResult extends $pb.GeneratedMessage {
  factory DeleteTranslationsResult() => create();

  DeleteTranslationsResult._();

  factory DeleteTranslationsResult.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
  factory DeleteTranslationsResult.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeleteTranslationsResult', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..hasRequiredFields = false
  ;

  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  DeleteTranslationsResult clone() => DeleteTranslationsResult()..mergeFromMessage(this);
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  DeleteTranslationsResult copyWith(void Function(DeleteTranslationsResult) updates) => super.copyWith((message) => updates(message as DeleteTranslationsResult)) as DeleteTranslationsResult;

  @$core.override
  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static DeleteTranslationsResult create() => DeleteTranslationsResult._();
  @$core.override
  DeleteTranslationsResult createEmptyInstance() => create();
  static $pb.PbList<DeleteTranslationsResult> createRepeated() => $pb.PbList<DeleteTranslationsResult>();
  @$core.pragma('dart2js:noInline')
  static DeleteTranslationsResult getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<DeleteTranslationsResult>(create);
  static DeleteTranslationsResult? _defaultInstance;
}

class ListTranslationsRequest extends $pb.GeneratedMessage {
  factory ListTranslationsRequest({
    $1.RequestProjectHeader? header,
    $core.String? languageCode,
    $core.String? fallbackLanguageCode,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (languageCode != null) result.languageCode = languageCode;
    if (fallbackLanguageCode != null) result.fallbackLanguageCode = fallbackLanguageCode;
    return result;
  }

  ListTranslationsRequest._();

  factory ListTranslationsRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
  factory ListTranslationsRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ListTranslationsRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$1.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.RequestProjectHeader.create)
    ..aOS(2, _omitFieldNames ? '' : 'LanguageCode', protoName: 'LanguageCode')
    ..aOS(3, _omitFieldNames ? '' : 'FallbackLanguageCode', protoName: 'FallbackLanguageCode')
    ..hasRequiredFields = false
  ;

  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  ListTranslationsRequest clone() => ListTranslationsRequest()..mergeFromMessage(this);
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  ListTranslationsRequest copyWith(void Function(ListTranslationsRequest) updates) => super.copyWith((message) => updates(message as ListTranslationsRequest)) as ListTranslationsRequest;

  @$core.override
  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static ListTranslationsRequest create() => ListTranslationsRequest._();
  @$core.override
  ListTranslationsRequest createEmptyInstance() => create();
  static $pb.PbList<ListTranslationsRequest> createRepeated() => $pb.PbList<ListTranslationsRequest>();
  @$core.pragma('dart2js:noInline')
  static ListTranslationsRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<ListTranslationsRequest>(create);
  static ListTranslationsRequest? _defaultInstance;

  @$pb.TagNumber(1)
  $1.RequestProjectHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($1.RequestProjectHeader value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $1.RequestProjectHeader ensureHeader() => $_ensure(0);

  @$pb.TagNumber(2)
  $core.String get languageCode => $_getSZ(1);
  @$pb.TagNumber(2)
  set languageCode($core.String value) => $_setString(1, value);
  @$pb.TagNumber(2)
  $core.bool hasLanguageCode() => $_has(1);
  @$pb.TagNumber(2)
  void clearLanguageCode() => $_clearField(2);

  @$pb.TagNumber(3)
  $core.String get fallbackLanguageCode => $_getSZ(2);
  @$pb.TagNumber(3)
  set fallbackLanguageCode($core.String value) => $_setString(2, value);
  @$pb.TagNumber(3)
  $core.bool hasFallbackLanguageCode() => $_has(2);
  @$pb.TagNumber(3)
  void clearFallbackLanguageCode() => $_clearField(3);
}

class ListTranslationsResult extends $pb.GeneratedMessage {
  factory ListTranslationsResult({
    $core.Iterable<TranslationsByContext>? contexts,
  }) {
    final result = create();
    if (contexts != null) result.contexts.addAll(contexts);
    return result;
  }

  ListTranslationsResult._();

  factory ListTranslationsResult.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
  factory ListTranslationsResult.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ListTranslationsResult', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..pc<TranslationsByContext>(1, _omitFieldNames ? '' : 'Contexts', $pb.PbFieldType.PM, protoName: 'Contexts', subBuilder: TranslationsByContext.create)
    ..hasRequiredFields = false
  ;

  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  ListTranslationsResult clone() => ListTranslationsResult()..mergeFromMessage(this);
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  ListTranslationsResult copyWith(void Function(ListTranslationsResult) updates) => super.copyWith((message) => updates(message as ListTranslationsResult)) as ListTranslationsResult;

  @$core.override
  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static ListTranslationsResult create() => ListTranslationsResult._();
  @$core.override
  ListTranslationsResult createEmptyInstance() => create();
  static $pb.PbList<ListTranslationsResult> createRepeated() => $pb.PbList<ListTranslationsResult>();
  @$core.pragma('dart2js:noInline')
  static ListTranslationsResult getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<ListTranslationsResult>(create);
  static ListTranslationsResult? _defaultInstance;

  @$pb.TagNumber(1)
  $pb.PbList<TranslationsByContext> get contexts => $_getList(0);
}

class DeleteAllTranslationsRequest extends $pb.GeneratedMessage {
  factory DeleteAllTranslationsRequest({
    $1.RequestProjectHeader? header,
  }) {
    final result = create();
    if (header != null) result.header = header;
    return result;
  }

  DeleteAllTranslationsRequest._();

  factory DeleteAllTranslationsRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
  factory DeleteAllTranslationsRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeleteAllTranslationsRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$1.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.RequestProjectHeader.create)
    ..hasRequiredFields = false
  ;

  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  DeleteAllTranslationsRequest clone() => DeleteAllTranslationsRequest()..mergeFromMessage(this);
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  DeleteAllTranslationsRequest copyWith(void Function(DeleteAllTranslationsRequest) updates) => super.copyWith((message) => updates(message as DeleteAllTranslationsRequest)) as DeleteAllTranslationsRequest;

  @$core.override
  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static DeleteAllTranslationsRequest create() => DeleteAllTranslationsRequest._();
  @$core.override
  DeleteAllTranslationsRequest createEmptyInstance() => create();
  static $pb.PbList<DeleteAllTranslationsRequest> createRepeated() => $pb.PbList<DeleteAllTranslationsRequest>();
  @$core.pragma('dart2js:noInline')
  static DeleteAllTranslationsRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<DeleteAllTranslationsRequest>(create);
  static DeleteAllTranslationsRequest? _defaultInstance;

  @$pb.TagNumber(1)
  $1.RequestProjectHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($1.RequestProjectHeader value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $1.RequestProjectHeader ensureHeader() => $_ensure(0);
}

class DeleteAllTranslationsResult extends $pb.GeneratedMessage {
  factory DeleteAllTranslationsResult() => create();

  DeleteAllTranslationsResult._();

  factory DeleteAllTranslationsResult.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
  factory DeleteAllTranslationsResult.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeleteAllTranslationsResult', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..hasRequiredFields = false
  ;

  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  DeleteAllTranslationsResult clone() => DeleteAllTranslationsResult()..mergeFromMessage(this);
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  DeleteAllTranslationsResult copyWith(void Function(DeleteAllTranslationsResult) updates) => super.copyWith((message) => updates(message as DeleteAllTranslationsResult)) as DeleteAllTranslationsResult;

  @$core.override
  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static DeleteAllTranslationsResult create() => DeleteAllTranslationsResult._();
  @$core.override
  DeleteAllTranslationsResult createEmptyInstance() => create();
  static $pb.PbList<DeleteAllTranslationsResult> createRepeated() => $pb.PbList<DeleteAllTranslationsResult>();
  @$core.pragma('dart2js:noInline')
  static DeleteAllTranslationsResult getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<DeleteAllTranslationsResult>(create);
  static DeleteAllTranslationsResult? _defaultInstance;
}

class GetLanguagesRequest extends $pb.GeneratedMessage {
  factory GetLanguagesRequest() => create();

  GetLanguagesRequest._();

  factory GetLanguagesRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
  factory GetLanguagesRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetLanguagesRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..hasRequiredFields = false
  ;

  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  GetLanguagesRequest clone() => GetLanguagesRequest()..mergeFromMessage(this);
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  GetLanguagesRequest copyWith(void Function(GetLanguagesRequest) updates) => super.copyWith((message) => updates(message as GetLanguagesRequest)) as GetLanguagesRequest;

  @$core.override
  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static GetLanguagesRequest create() => GetLanguagesRequest._();
  @$core.override
  GetLanguagesRequest createEmptyInstance() => create();
  static $pb.PbList<GetLanguagesRequest> createRepeated() => $pb.PbList<GetLanguagesRequest>();
  @$core.pragma('dart2js:noInline')
  static GetLanguagesRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<GetLanguagesRequest>(create);
  static GetLanguagesRequest? _defaultInstance;
}

class GetLanguagesResult extends $pb.GeneratedMessage {
  factory GetLanguagesResult({
    $core.Iterable<$core.String>? languages,
  }) {
    final result = create();
    if (languages != null) result.languages.addAll(languages);
    return result;
  }

  GetLanguagesResult._();

  factory GetLanguagesResult.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
  factory GetLanguagesResult.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetLanguagesResult', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..pPS(1, _omitFieldNames ? '' : 'Languages', protoName: 'Languages')
    ..hasRequiredFields = false
  ;

  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  GetLanguagesResult clone() => GetLanguagesResult()..mergeFromMessage(this);
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  GetLanguagesResult copyWith(void Function(GetLanguagesResult) updates) => super.copyWith((message) => updates(message as GetLanguagesResult)) as GetLanguagesResult;

  @$core.override
  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static GetLanguagesResult create() => GetLanguagesResult._();
  @$core.override
  GetLanguagesResult createEmptyInstance() => create();
  static $pb.PbList<GetLanguagesResult> createRepeated() => $pb.PbList<GetLanguagesResult>();
  @$core.pragma('dart2js:noInline')
  static GetLanguagesResult getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<GetLanguagesResult>(create);
  static GetLanguagesResult? _defaultInstance;

  @$pb.TagNumber(1)
  $pb.PbList<$core.String> get languages => $_getList(0);
}


const $core.bool _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names');
const $core.bool _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names');
