// Generated by view binder compiler. Do not edit!
package com.mtc.goldenVendor.databinding;

import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.EditText;
import android.widget.FrameLayout;
import android.widget.ImageView;
import android.widget.LinearLayout;
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 com.google.android.material.bottomnavigation.BottomNavigationView;
import com.mtc.goldenVendor.R;
import de.hdodenhof.circleimageview.CircleImageView;
import java.lang.NullPointerException;
import java.lang.Override;
import java.lang.String;

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

  @NonNull
  public final EditText edSearch;

  @NonNull
  public final EditText edSend;

  @NonNull
  public final FrameLayout home;

  @NonNull
  public final ImageView imgBack;

  @NonNull
  public final CircleImageView imgProfile;

  @NonNull
  public final LinearLayout linearChat;

  @NonNull
  public final BottomNavigationView navView;

  @NonNull
  public final Toolbar toolbar;

  @NonNull
  public final TextView tvName;

  private ToolbarBinding(@NonNull ConstraintLayout rootView, @NonNull EditText edSearch,
      @NonNull EditText edSend, @NonNull FrameLayout home, @NonNull ImageView imgBack,
      @NonNull CircleImageView imgProfile, @NonNull LinearLayout linearChat,
      @NonNull BottomNavigationView navView, @NonNull Toolbar toolbar, @NonNull TextView tvName) {
    this.rootView = rootView;
    this.edSearch = edSearch;
    this.edSend = edSend;
    this.home = home;
    this.imgBack = imgBack;
    this.imgProfile = imgProfile;
    this.linearChat = linearChat;
    this.navView = navView;
    this.toolbar = toolbar;
    this.tvName = tvName;
  }

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

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

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

  @NonNull
  public static ToolbarBinding 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.ed_search;
      EditText edSearch = rootView.findViewById(id);
      if (edSearch == null) {
        break missingId;
      }

      id = R.id.ed_send;
      EditText edSend = rootView.findViewById(id);
      if (edSend == null) {
        break missingId;
      }

      id = R.id.home;
      FrameLayout home = rootView.findViewById(id);
      if (home == null) {
        break missingId;
      }

      id = R.id.img_back;
      ImageView imgBack = rootView.findViewById(id);
      if (imgBack == null) {
        break missingId;
      }

      id = R.id.img_profile;
      CircleImageView imgProfile = rootView.findViewById(id);
      if (imgProfile == null) {
        break missingId;
      }

      id = R.id.linear_chat;
      LinearLayout linearChat = rootView.findViewById(id);
      if (linearChat == null) {
        break missingId;
      }

      id = R.id.nav_view;
      BottomNavigationView navView = rootView.findViewById(id);
      if (navView == null) {
        break missingId;
      }

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

      id = R.id.tv_name;
      TextView tvName = rootView.findViewById(id);
      if (tvName == null) {
        break missingId;
      }

      return new ToolbarBinding((ConstraintLayout) rootView, edSearch, edSend, home, imgBack,
          imgProfile, linearChat, navView, toolbar, tvName);
    }
    String missingId = rootView.getResources().getResourceName(id);
    throw new NullPointerException("Missing required view with ID: ".concat(missingId));
  }
}
