// 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.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.switchmaterial.SwitchMaterial;
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 ActivitySettingsBinding implements ViewBinding {
  @NonNull
  private final ConstraintLayout rootView;

  @NonNull
  public final TextInputEditText apiKeyEditText;

  @NonNull
  public final TextInputLayout apiKeyInputLayout;

  @NonNull
  public final TextView errorTextView;

  @NonNull
  public final ProgressBar progressBar;

  @NonNull
  public final MaterialButton saveButton;

  @NonNull
  public final ConstraintLayout serverSection;

  @NonNull
  public final TextView serverTitleTextView;

  @NonNull
  public final TextInputEditText serverUrlEditText;

  @NonNull
  public final TextInputLayout serverUrlInputLayout;

  @NonNull
  public final ConstraintLayout themeSection;

  @NonNull
  public final SwitchMaterial themeSwitch;

  @NonNull
  public final TextView themeTitleTextView;

  @NonNull
  public final Toolbar toolbar;

  private ActivitySettingsBinding(@NonNull ConstraintLayout rootView,
      @NonNull TextInputEditText apiKeyEditText, @NonNull TextInputLayout apiKeyInputLayout,
      @NonNull TextView errorTextView, @NonNull ProgressBar progressBar,
      @NonNull MaterialButton saveButton, @NonNull ConstraintLayout serverSection,
      @NonNull TextView serverTitleTextView, @NonNull TextInputEditText serverUrlEditText,
      @NonNull TextInputLayout serverUrlInputLayout, @NonNull ConstraintLayout themeSection,
      @NonNull SwitchMaterial themeSwitch, @NonNull TextView themeTitleTextView,
      @NonNull Toolbar toolbar) {
    this.rootView = rootView;
    this.apiKeyEditText = apiKeyEditText;
    this.apiKeyInputLayout = apiKeyInputLayout;
    this.errorTextView = errorTextView;
    this.progressBar = progressBar;
    this.saveButton = saveButton;
    this.serverSection = serverSection;
    this.serverTitleTextView = serverTitleTextView;
    this.serverUrlEditText = serverUrlEditText;
    this.serverUrlInputLayout = serverUrlInputLayout;
    this.themeSection = themeSection;
    this.themeSwitch = themeSwitch;
    this.themeTitleTextView = themeTitleTextView;
    this.toolbar = toolbar;
  }

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

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

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

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

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

      id = R.id.errorTextView;
      TextView errorTextView = ViewBindings.findChildViewById(rootView, id);
      if (errorTextView == 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.serverSection;
      ConstraintLayout serverSection = ViewBindings.findChildViewById(rootView, id);
      if (serverSection == null) {
        break missingId;
      }

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

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

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

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

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

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

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

      return new ActivitySettingsBinding((ConstraintLayout) rootView, apiKeyEditText,
          apiKeyInputLayout, errorTextView, progressBar, saveButton, serverSection,
          serverTitleTextView, serverUrlEditText, serverUrlInputLayout, themeSection, themeSwitch,
          themeTitleTextView, toolbar);
    }
    String missingId = rootView.getResources().getResourceName(id);
    throw new NullPointerException("Missing required view with ID: ".concat(missingId));
  }
}
