// Generated by view binder compiler. Do not edit!
package com.inou.clawdnode.databinding;

import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Button;
import android.widget.EditText;
import android.widget.ScrollView;
import android.widget.TextView;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.viewbinding.ViewBinding;
import androidx.viewbinding.ViewBindings;
import com.inou.clawdnode.R;
import java.lang.NullPointerException;
import java.lang.Override;
import java.lang.String;

public final class ActivityMainBinding implements ViewBinding {
  @NonNull
  private final ScrollView rootView;

  @NonNull
  public final Button btnConnect;

  @NonNull
  public final Button btnDisconnect;

  @NonNull
  public final Button btnGrantCallScreening;

  @NonNull
  public final Button btnGrantNotifications;

  @NonNull
  public final Button btnGrantPermissions;

  @NonNull
  public final Button btnSaveGateway;

  @NonNull
  public final Button btnViewAuditLog;

  @NonNull
  public final EditText etGatewayToken;

  @NonNull
  public final EditText etGatewayUrl;

  @NonNull
  public final TextView tvCallScreeningStatus;

  @NonNull
  public final TextView tvConnectionStatus;

  @NonNull
  public final TextView tvNotificationStatus;

  @NonNull
  public final TextView tvPermissionsStatus;

  private ActivityMainBinding(@NonNull ScrollView rootView, @NonNull Button btnConnect,
      @NonNull Button btnDisconnect, @NonNull Button btnGrantCallScreening,
      @NonNull Button btnGrantNotifications, @NonNull Button btnGrantPermissions,
      @NonNull Button btnSaveGateway, @NonNull Button btnViewAuditLog,
      @NonNull EditText etGatewayToken, @NonNull EditText etGatewayUrl,
      @NonNull TextView tvCallScreeningStatus, @NonNull TextView tvConnectionStatus,
      @NonNull TextView tvNotificationStatus, @NonNull TextView tvPermissionsStatus) {
    this.rootView = rootView;
    this.btnConnect = btnConnect;
    this.btnDisconnect = btnDisconnect;
    this.btnGrantCallScreening = btnGrantCallScreening;
    this.btnGrantNotifications = btnGrantNotifications;
    this.btnGrantPermissions = btnGrantPermissions;
    this.btnSaveGateway = btnSaveGateway;
    this.btnViewAuditLog = btnViewAuditLog;
    this.etGatewayToken = etGatewayToken;
    this.etGatewayUrl = etGatewayUrl;
    this.tvCallScreeningStatus = tvCallScreeningStatus;
    this.tvConnectionStatus = tvConnectionStatus;
    this.tvNotificationStatus = tvNotificationStatus;
    this.tvPermissionsStatus = tvPermissionsStatus;
  }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      return new ActivityMainBinding((ScrollView) rootView, btnConnect, btnDisconnect,
          btnGrantCallScreening, btnGrantNotifications, btnGrantPermissions, btnSaveGateway,
          btnViewAuditLog, etGatewayToken, etGatewayUrl, tvCallScreeningStatus, tvConnectionStatus,
          tvNotificationStatus, tvPermissionsStatus);
    }
    String missingId = rootView.getResources().getResourceName(id);
    throw new NullPointerException("Missing required view with ID: ".concat(missingId));
  }
}
