// 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.LinearLayout;
import android.widget.TextView;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.cardview.widget.CardView;
import androidx.constraintlayout.widget.ConstraintLayout;
import androidx.viewbinding.ViewBinding;
import androidx.viewbinding.ViewBindings;
import com.crm.chat.R;
import java.lang.NullPointerException;
import java.lang.Override;
import java.lang.String;

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

  @NonNull
  public final LinearLayout receivedFileLayout;

  @NonNull
  public final TextView receivedFileNameText;

  @NonNull
  public final ImageView receivedImagePreview;

  @NonNull
  public final CardView receivedMessageCard;

  @NonNull
  public final TextView receivedMessageText;

  @NonNull
  public final LinearLayout receivedReactionsContainer;

  @NonNull
  public final LinearLayout receivedReplyIndicator;

  @NonNull
  public final TextView receivedReplyMessageText;

  @NonNull
  public final TextView receivedReplySenderText;

  @NonNull
  public final LinearLayout replyIndicator;

  @NonNull
  public final TextView replyMessageText;

  @NonNull
  public final TextView replySenderText;

  @NonNull
  public final TextView senderNameText;

  @NonNull
  public final LinearLayout sentFileLayout;

  @NonNull
  public final TextView sentFileNameText;

  @NonNull
  public final ImageView sentImagePreview;

  @NonNull
  public final CardView sentMessageCard;

  @NonNull
  public final TextView sentMessageText;

  @NonNull
  public final LinearLayout sentReactionsContainer;

  @NonNull
  public final LinearLayout sentReplyIndicator;

  @NonNull
  public final TextView sentReplyMessageText;

  @NonNull
  public final TextView sentReplySenderText;

  @NonNull
  public final TextView timestampText;

  private ItemMessageBinding(@NonNull ConstraintLayout rootView,
      @NonNull LinearLayout receivedFileLayout, @NonNull TextView receivedFileNameText,
      @NonNull ImageView receivedImagePreview, @NonNull CardView receivedMessageCard,
      @NonNull TextView receivedMessageText, @NonNull LinearLayout receivedReactionsContainer,
      @NonNull LinearLayout receivedReplyIndicator, @NonNull TextView receivedReplyMessageText,
      @NonNull TextView receivedReplySenderText, @NonNull LinearLayout replyIndicator,
      @NonNull TextView replyMessageText, @NonNull TextView replySenderText,
      @NonNull TextView senderNameText, @NonNull LinearLayout sentFileLayout,
      @NonNull TextView sentFileNameText, @NonNull ImageView sentImagePreview,
      @NonNull CardView sentMessageCard, @NonNull TextView sentMessageText,
      @NonNull LinearLayout sentReactionsContainer, @NonNull LinearLayout sentReplyIndicator,
      @NonNull TextView sentReplyMessageText, @NonNull TextView sentReplySenderText,
      @NonNull TextView timestampText) {
    this.rootView = rootView;
    this.receivedFileLayout = receivedFileLayout;
    this.receivedFileNameText = receivedFileNameText;
    this.receivedImagePreview = receivedImagePreview;
    this.receivedMessageCard = receivedMessageCard;
    this.receivedMessageText = receivedMessageText;
    this.receivedReactionsContainer = receivedReactionsContainer;
    this.receivedReplyIndicator = receivedReplyIndicator;
    this.receivedReplyMessageText = receivedReplyMessageText;
    this.receivedReplySenderText = receivedReplySenderText;
    this.replyIndicator = replyIndicator;
    this.replyMessageText = replyMessageText;
    this.replySenderText = replySenderText;
    this.senderNameText = senderNameText;
    this.sentFileLayout = sentFileLayout;
    this.sentFileNameText = sentFileNameText;
    this.sentImagePreview = sentImagePreview;
    this.sentMessageCard = sentMessageCard;
    this.sentMessageText = sentMessageText;
    this.sentReactionsContainer = sentReactionsContainer;
    this.sentReplyIndicator = sentReplyIndicator;
    this.sentReplyMessageText = sentReplyMessageText;
    this.sentReplySenderText = sentReplySenderText;
    this.timestampText = timestampText;
  }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      return new ItemMessageBinding((ConstraintLayout) rootView, receivedFileLayout,
          receivedFileNameText, receivedImagePreview, receivedMessageCard, receivedMessageText,
          receivedReactionsContainer, receivedReplyIndicator, receivedReplyMessageText,
          receivedReplySenderText, replyIndicator, replyMessageText, replySenderText,
          senderNameText, sentFileLayout, sentFileNameText, sentImagePreview, sentMessageCard,
          sentMessageText, sentReactionsContainer, sentReplyIndicator, sentReplyMessageText,
          sentReplySenderText, timestampText);
    }
    String missingId = rootView.getResources().getResourceName(id);
    throw new NullPointerException("Missing required view with ID: ".concat(missingId));
  }
}
