// Generated by view binder compiler. Do not edit!
package com.crm.chat.databinding;

import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.ProgressBar;
import android.widget.TextView;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.appcompat.widget.Toolbar;
import androidx.constraintlayout.widget.ConstraintLayout;
import androidx.viewbinding.ViewBinding;
import androidx.viewbinding.ViewBindings;
import com.crm.chat.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 ActivityProfileBinding implements ViewBinding {
  @NonNull
  private final ConstraintLayout rootView;

  @NonNull
  public final ImageView avatarImageView;

  @NonNull
  public final ConstraintLayout avatarSection;

  @NonNull
  public final TextInputEditText emailEditText;

  @NonNull
  public final TextInputLayout emailInputLayout;

  @NonNull
  public final TextView errorTextView;

  @NonNull
  public final TextInputEditText firstNameEditText;

  @NonNull
  public final TextInputLayout firstNameInputLayout;

  @NonNull
  public final TextInputEditText lastNameEditText;

  @NonNull
  public final TextInputLayout lastNameInputLayout;

  @NonNull
  public final TextInputEditText phoneEditText;

  @NonNull
  public final TextInputLayout phoneInputLayout;

  @NonNull
  public final ProgressBar progressBar;

  @NonNull
  public final MaterialButton saveButton;

  @NonNull
  public final Toolbar toolbar;

  private ActivityProfileBinding(@NonNull ConstraintLayout rootView,
      @NonNull ImageView avatarImageView, @NonNull ConstraintLayout avatarSection,
      @NonNull TextInputEditText emailEditText, @NonNull TextInputLayout emailInputLayout,
      @NonNull TextView errorTextView, @NonNull TextInputEditText firstNameEditText,
      @NonNull TextInputLayout firstNameInputLayout, @NonNull TextInputEditText lastNameEditText,
      @NonNull TextInputLayout lastNameInputLayout, @NonNull TextInputEditText phoneEditText,
      @NonNull TextInputLayout phoneInputLayout, @NonNull ProgressBar progressBar,
      @NonNull MaterialButton saveButton, @NonNull Toolbar toolbar) {
    this.rootView = rootView;
    this.avatarImageView = avatarImageView;
    this.avatarSection = avatarSection;
    this.emailEditText = emailEditText;
    this.emailInputLayout = emailInputLayout;
    this.errorTextView = errorTextView;
    this.firstNameEditText = firstNameEditText;
    this.firstNameInputLayout = firstNameInputLayout;
    this.lastNameEditText = lastNameEditText;
    this.lastNameInputLayout = lastNameInputLayout;
    this.phoneEditText = phoneEditText;
    this.phoneInputLayout = phoneInputLayout;
    this.progressBar = progressBar;
    this.saveButton = saveButton;
    this.toolbar = toolbar;
  }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      return new ActivityProfileBinding((ConstraintLayout) rootView, avatarImageView, avatarSection,
          emailEditText, emailInputLayout, errorTextView, firstNameEditText, firstNameInputLayout,
          lastNameEditText, lastNameInputLayout, phoneEditText, phoneInputLayout, progressBar,
          saveButton, toolbar);
    }
    String missingId = rootView.getResources().getResourceName(id);
    throw new NullPointerException("Missing required view with ID: ".concat(missingId));
  }
}
