// Generated by view binder compiler. Do not edit!
package com.example.wadi.databinding;

import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Button;
import android.widget.EditText;
import android.widget.RadioButton;
import android.widget.RadioGroup;
import android.widget.RelativeLayout;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.viewbinding.ViewBinding;
import androidx.viewbinding.ViewBindings;
import com.example.wadi.R;
import java.lang.NullPointerException;
import java.lang.Override;
import java.lang.String;

public final class ActivityRegisterBinding implements ViewBinding {
  @NonNull
  private final RelativeLayout rootView;

  @NonNull
  public final Button btnLinkToLoginScreen;

  @NonNull
  public final Button btnRegister;

  @NonNull
  public final EditText cnfPassword;

  @NonNull
  public final EditText email;

  @NonNull
  public final RadioGroup genderGroup;

  @NonNull
  public final EditText institute;

  @NonNull
  public final RadioButton market;

  @NonNull
  public final EditText name;

  @NonNull
  public final EditText password;

  @NonNull
  public final RadioButton service;

  @NonNull
  public final RadioButton user;

  @NonNull
  public final EditText username;

  @NonNull
  public final RadioButton worker;

  private ActivityRegisterBinding(@NonNull RelativeLayout rootView,
      @NonNull Button btnLinkToLoginScreen, @NonNull Button btnRegister,
      @NonNull EditText cnfPassword, @NonNull EditText email, @NonNull RadioGroup genderGroup,
      @NonNull EditText institute, @NonNull RadioButton market, @NonNull EditText name,
      @NonNull EditText password, @NonNull RadioButton service, @NonNull RadioButton user,
      @NonNull EditText username, @NonNull RadioButton worker) {
    this.rootView = rootView;
    this.btnLinkToLoginScreen = btnLinkToLoginScreen;
    this.btnRegister = btnRegister;
    this.cnfPassword = cnfPassword;
    this.email = email;
    this.genderGroup = genderGroup;
    this.institute = institute;
    this.market = market;
    this.name = name;
    this.password = password;
    this.service = service;
    this.user = user;
    this.username = username;
    this.worker = worker;
  }

  @Override
  @NonNull
  public RelativeLayout getRoot() {
    return rootView;
  }

  @NonNull
  public static ActivityRegisterBinding inflate(@NonNull LayoutInflater inflater) {
    return inflate(inflater, null, false);
  }

  @NonNull
  public static ActivityRegisterBinding inflate(@NonNull LayoutInflater inflater,
      @Nullable ViewGroup parent, boolean attachToParent) {
    View root = inflater.inflate(R.layout.activity_register, parent, false);
    if (attachToParent) {
      parent.addView(root);
    }
    return bind(root);
  }

  @NonNull
  public static ActivityRegisterBinding bind(@NonNull View rootView) {
    // The body of this method is generated in a way you would not otherwise write.
    // This is done to optimize the compiled bytecode for size and performance.
    int id;
    missingId: {
      id = R.id.btnLinkToLoginScreen;
      Button btnLinkToLoginScreen = ViewBindings.findChildViewById(rootView, id);
      if (btnLinkToLoginScreen == null) {
        break missingId;
      }

      id = R.id.btnRegister;
      Button btnRegister = ViewBindings.findChildViewById(rootView, id);
      if (btnRegister == null) {
        break missingId;
      }

      id = R.id.cnfPassword;
      EditText cnfPassword = ViewBindings.findChildViewById(rootView, id);
      if (cnfPassword == null) {
        break missingId;
      }

      id = R.id.email;
      EditText email = ViewBindings.findChildViewById(rootView, id);
      if (email == null) {
        break missingId;
      }

      id = R.id.genderGroup;
      RadioGroup genderGroup = ViewBindings.findChildViewById(rootView, id);
      if (genderGroup == null) {
        break missingId;
      }

      id = R.id.institute;
      EditText institute = ViewBindings.findChildViewById(rootView, id);
      if (institute == null) {
        break missingId;
      }

      id = R.id.market;
      RadioButton market = ViewBindings.findChildViewById(rootView, id);
      if (market == null) {
        break missingId;
      }

      id = R.id.name;
      EditText name = ViewBindings.findChildViewById(rootView, id);
      if (name == null) {
        break missingId;
      }

      id = R.id.password;
      EditText password = ViewBindings.findChildViewById(rootView, id);
      if (password == null) {
        break missingId;
      }

      id = R.id.service;
      RadioButton service = ViewBindings.findChildViewById(rootView, id);
      if (service == null) {
        break missingId;
      }

      id = R.id.user;
      RadioButton user = ViewBindings.findChildViewById(rootView, id);
      if (user == null) {
        break missingId;
      }

      id = R.id.username;
      EditText username = ViewBindings.findChildViewById(rootView, id);
      if (username == null) {
        break missingId;
      }

      id = R.id.worker;
      RadioButton worker = ViewBindings.findChildViewById(rootView, id);
      if (worker == null) {
        break missingId;
      }

      return new ActivityRegisterBinding((RelativeLayout) rootView, btnLinkToLoginScreen,
          btnRegister, cnfPassword, email, genderGroup, institute, market, name, password, service,
          user, username, worker);
    }
    String missingId = rootView.getResources().getResourceName(id);
    throw new NullPointerException("Missing required view with ID: ".concat(missingId));
  }
}
