package com.google.protobuf;

import java.util.NoSuchElementException;

/* JADX INFO: renamed from: com.google.protobuf.i, reason: case insensitive filesystem */
/* JADX INFO: loaded from: classes3.dex */
public final class C1310i extends AbstractC1312j {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public int f14277a = 0;

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public final int f14278b;

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public final /* synthetic */ AbstractC1320n f14279c;

    public C1310i(AbstractC1320n abstractC1320n) {
        this.f14279c = abstractC1320n;
        this.f14278b = abstractC1320n.size();
    }

    @Override // com.google.protobuf.AbstractC1312j
    public final byte a() {
        int i6 = this.f14277a;
        if (i6 >= this.f14278b) {
            throw new NoSuchElementException();
        }
        this.f14277a = i6 + 1;
        return this.f14279c.p(i6);
    }

    @Override // java.util.Iterator
    public final boolean hasNext() {
        return this.f14277a < this.f14278b;
    }
}
