// Generated by view binder compiler. Do not edit!
package com.nordenlogic.android.usbserial.printer.databinding;

import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Button;
import android.widget.EditText;
import android.widget.ImageButton;
import android.widget.LinearLayout;
import android.widget.TextView;
import android.widget.ToggleButton;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.viewbinding.ViewBinding;
import androidx.viewbinding.ViewBindings;
import com.nordenlogic.android.usbserial.printer.R;
import java.lang.NullPointerException;
import java.lang.Override;
import java.lang.String;

public final class FragmentTerminalBinding implements ViewBinding {
  @NonNull
  private final LinearLayout rootView;

  @NonNull
  public final ToggleButton controlLineCd;

  @NonNull
  public final ToggleButton controlLineCts;

  @NonNull
  public final ToggleButton controlLineDsr;

  @NonNull
  public final ToggleButton controlLineDtr;

  @NonNull
  public final ToggleButton controlLineRi;

  @NonNull
  public final ToggleButton controlLineRts;

  @NonNull
  public final Button receiveBtn;

  @NonNull
  public final TextView receiveText;

  @NonNull
  public final ImageButton sendBtn;

  @NonNull
  public final EditText sendText;

  private FragmentTerminalBinding(@NonNull LinearLayout rootView,
      @NonNull ToggleButton controlLineCd, @NonNull ToggleButton controlLineCts,
      @NonNull ToggleButton controlLineDsr, @NonNull ToggleButton controlLineDtr,
      @NonNull ToggleButton controlLineRi, @NonNull ToggleButton controlLineRts,
      @NonNull Button receiveBtn, @NonNull TextView receiveText, @NonNull ImageButton sendBtn,
      @NonNull EditText sendText) {
    this.rootView = rootView;
    this.controlLineCd = controlLineCd;
    this.controlLineCts = controlLineCts;
    this.controlLineDsr = controlLineDsr;
    this.controlLineDtr = controlLineDtr;
    this.controlLineRi = controlLineRi;
    this.controlLineRts = controlLineRts;
    this.receiveBtn = receiveBtn;
    this.receiveText = receiveText;
    this.sendBtn = sendBtn;
    this.sendText = sendText;
  }

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

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

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

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

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

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

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

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

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

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

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

      id = R.id.send_btn;
      ImageButton sendBtn = ViewBindings.findChildViewById(rootView, id);
      if (sendBtn == null) {
        break missingId;
      }

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

      return new FragmentTerminalBinding((LinearLayout) rootView, controlLineCd, controlLineCts,
          controlLineDsr, controlLineDtr, controlLineRi, controlLineRts, receiveBtn, receiveText,
          sendBtn, sendText);
    }
    String missingId = rootView.getResources().getResourceName(id);
    throw new NullPointerException("Missing required view with ID: ".concat(missingId));
  }
}
