// Generated by view binder compiler. Do not edit!
package com.ElyStudio.leGaou.databinding;

import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Button;
import android.widget.ImageView;
import android.widget.TextView;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.viewbinding.ViewBinding;
import androidx.viewbinding.ViewBindings;
import com.ElyStudio.leGaou.R;
import com.google.android.gms.ads.nativead.NativeAdView;
import com.google.android.material.card.MaterialCardView;
import java.lang.NullPointerException;
import java.lang.Override;
import java.lang.String;

public final class SmallNativeAdLayoutBinding implements ViewBinding {
  @NonNull
  private final NativeAdView rootView;

  @NonNull
  public final TextView adBodySmall;

  @NonNull
  public final Button adCallToActionButtonSmall;

  @NonNull
  public final TextView adHeadlineSmall;

  @NonNull
  public final ImageView adIconSmall;

  @NonNull
  public final MaterialCardView adIconsCard;

  @NonNull
  public final TextView adTag;

  private SmallNativeAdLayoutBinding(@NonNull NativeAdView rootView, @NonNull TextView adBodySmall,
      @NonNull Button adCallToActionButtonSmall, @NonNull TextView adHeadlineSmall,
      @NonNull ImageView adIconSmall, @NonNull MaterialCardView adIconsCard,
      @NonNull TextView adTag) {
    this.rootView = rootView;
    this.adBodySmall = adBodySmall;
    this.adCallToActionButtonSmall = adCallToActionButtonSmall;
    this.adHeadlineSmall = adHeadlineSmall;
    this.adIconSmall = adIconSmall;
    this.adIconsCard = adIconsCard;
    this.adTag = adTag;
  }

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

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

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

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

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

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

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

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

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

      return new SmallNativeAdLayoutBinding((NativeAdView) rootView, adBodySmall,
          adCallToActionButtonSmall, adHeadlineSmall, adIconSmall, adIconsCard, adTag);
    }
    String missingId = rootView.getResources().getResourceName(id);
    throw new NullPointerException("Missing required view with ID: ".concat(missingId));
  }
}
