// This is a generated file - do not edit.
//
// Generated from driver.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 'appointment.pb.dart' as $1;
import 'site.pb.dart' as $2;
import 'translations.pb.dart' as $3;

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

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

  GetAppointmentDriverDataRequest._();

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

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

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

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

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

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

  @$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);
}

class GetAppointmentDriverDataResponse extends $pb.GeneratedMessage {
  factory GetAppointmentDriverDataResponse({
    $1.Appointment? appointment,
    $2.Site? site,
    $3.ListTranslationsResult? translations,
  }) {
    final result = create();
    if (appointment != null) result.appointment = appointment;
    if (site != null) result.site = site;
    if (translations != null) result.translations = translations;
    return result;
  }

  GetAppointmentDriverDataResponse._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetAppointmentDriverDataResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$1.Appointment>(1, _omitFieldNames ? '' : 'Appointment', protoName: 'Appointment', subBuilder: $1.Appointment.create)
    ..aOM<$2.Site>(2, _omitFieldNames ? '' : 'Site', protoName: 'Site', subBuilder: $2.Site.create)
    ..aOM<$3.ListTranslationsResult>(3, _omitFieldNames ? '' : 'Translations', protoName: 'Translations', subBuilder: $3.ListTranslationsResult.create)
    ..hasRequiredFields = false
  ;

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

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

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

  @$pb.TagNumber(1)
  $1.Appointment get appointment => $_getN(0);
  @$pb.TagNumber(1)
  set appointment($1.Appointment value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasAppointment() => $_has(0);
  @$pb.TagNumber(1)
  void clearAppointment() => $_clearField(1);
  @$pb.TagNumber(1)
  $1.Appointment ensureAppointment() => $_ensure(0);

  @$pb.TagNumber(2)
  $2.Site get site => $_getN(1);
  @$pb.TagNumber(2)
  set site($2.Site value) => $_setField(2, value);
  @$pb.TagNumber(2)
  $core.bool hasSite() => $_has(1);
  @$pb.TagNumber(2)
  void clearSite() => $_clearField(2);
  @$pb.TagNumber(2)
  $2.Site ensureSite() => $_ensure(1);

  @$pb.TagNumber(3)
  $3.ListTranslationsResult get translations => $_getN(2);
  @$pb.TagNumber(3)
  set translations($3.ListTranslationsResult value) => $_setField(3, value);
  @$pb.TagNumber(3)
  $core.bool hasTranslations() => $_has(2);
  @$pb.TagNumber(3)
  void clearTranslations() => $_clearField(3);
  @$pb.TagNumber(3)
  $3.ListTranslationsResult ensureTranslations() => $_ensure(2);
}


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