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

import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageButton;
import android.widget.TextView;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.constraintlayout.widget.ConstraintLayout;
import androidx.viewbinding.ViewBinding;
import androidx.viewbinding.ViewBindings;
import com.example.orderly.R;
import com.google.android.material.button.MaterialButton;
import com.google.android.material.textfield.TextInputEditText;
import com.google.android.material.textfield.TextInputLayout;
import java.lang.NullPointerException;
import java.lang.Override;
import java.lang.String;

public final class FragmentRegisterBinding implements ViewBinding {
  @NonNull
  private final ConstraintLayout rootView;

  @NonNull
  public final ImageButton btnBack;

  @NonNull
  public final MaterialButton btnRegister;

  @NonNull
  public final TextInputEditText etEmail;

  @NonNull
  public final TextInputEditText etPassword;

  @NonNull
  public final TextInputEditText etUsername;

  @NonNull
  public final TextInputLayout tlEmail;

  @NonNull
  public final TextInputLayout tlPassword;

  @NonNull
  public final TextInputLayout tlUsername;

  @NonNull
  public final TextView tvLoginLink;

  @NonNull
  public final TextView tvRegisterSubtitle;

  @NonNull
  public final TextView tvRegisterTitle;

  @NonNull
  public final View viewHeader;

  private FragmentRegisterBinding(@NonNull ConstraintLayout rootView, @NonNull ImageButton btnBack,
      @NonNull MaterialButton btnRegister, @NonNull TextInputEditText etEmail,
      @NonNull TextInputEditText etPassword, @NonNull TextInputEditText etUsername,
      @NonNull TextInputLayout tlEmail, @NonNull TextInputLayout tlPassword,
      @NonNull TextInputLayout tlUsername, @NonNull TextView tvLoginLink,
      @NonNull TextView tvRegisterSubtitle, @NonNull TextView tvRegisterTitle,
      @NonNull View viewHeader) {
    this.rootView = rootView;
    this.btnBack = btnBack;
    this.btnRegister = btnRegister;
    this.etEmail = etEmail;
    this.etPassword = etPassword;
    this.etUsername = etUsername;
    this.tlEmail = tlEmail;
    this.tlPassword = tlPassword;
    this.tlUsername = tlUsername;
    this.tvLoginLink = tvLoginLink;
    this.tvRegisterSubtitle = tvRegisterSubtitle;
    this.tvRegisterTitle = tvRegisterTitle;
    this.viewHeader = viewHeader;
  }

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

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

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

  @NonNull
  public static FragmentRegisterBinding 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.btnBack;
      ImageButton btnBack = ViewBindings.findChildViewById(rootView, id);
      if (btnBack == null) {
        break missingId;
      }

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

      id = R.id.et_email;
      TextInputEditText etEmail = ViewBindings.findChildViewById(rootView, id);
      if (etEmail == null) {
        break missingId;
      }

      id = R.id.et_password;
      TextInputEditText etPassword = ViewBindings.findChildViewById(rootView, id);
      if (etPassword == null) {
        break missingId;
      }

      id = R.id.et_username;
      TextInputEditText etUsername = ViewBindings.findChildViewById(rootView, id);
      if (etUsername == null) {
        break missingId;
      }

      id = R.id.tl_email;
      TextInputLayout tlEmail = ViewBindings.findChildViewById(rootView, id);
      if (tlEmail == null) {
        break missingId;
      }

      id = R.id.tl_password;
      TextInputLayout tlPassword = ViewBindings.findChildViewById(rootView, id);
      if (tlPassword == null) {
        break missingId;
      }

      id = R.id.tl_username;
      TextInputLayout tlUsername = ViewBindings.findChildViewById(rootView, id);
      if (tlUsername == null) {
        break missingId;
      }

      id = R.id.tv_login_link;
      TextView tvLoginLink = ViewBindings.findChildViewById(rootView, id);
      if (tvLoginLink == null) {
        break missingId;
      }

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

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

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

      return new FragmentRegisterBinding((ConstraintLayout) rootView, btnBack, btnRegister, etEmail,
          etPassword, etUsername, tlEmail, tlPassword, tlUsername, tvLoginLink, tvRegisterSubtitle,
          tvRegisterTitle, viewHeader);
    }
    String missingId = rootView.getResources().getResourceName(id);
    throw new NullPointerException("Missing required view with ID: ".concat(missingId));
  }
}
