package li;

import com.google.firebase.encoders.proto.ProtoEnum;

/* loaded from: classes.dex */
public final class c {

    /* renamed from: c, reason: collision with root package name */
    private static final c f28295c = new a().a();

    /* renamed from: a, reason: collision with root package name */
    private final long f28296a;

    /* renamed from: b, reason: collision with root package name */
    private final b f28297b;

    /* loaded from: classes.dex */
    public static final class a {

        /* renamed from: a, reason: collision with root package name */
        private long f28298a = 0;

        /* renamed from: b, reason: collision with root package name */
        private b f28299b = b.REASON_UNKNOWN;

        a() {
        }

        public c a() {
            return new c(this.f28298a, this.f28299b);
        }

        public a b(long j10) {
            this.f28298a = j10;
            return this;
        }

        public a c(b bVar) {
            this.f28299b = bVar;
            return this;
        }
    }

    /* loaded from: classes.dex */
    public enum b implements ProtoEnum {
        REASON_UNKNOWN(0),
        MESSAGE_TOO_OLD(1),
        CACHE_FULL(2),
        PAYLOAD_TOO_BIG(3),
        MAX_RETRIES_REACHED(4),
        INVALID_PAYLOD(5),
        SERVER_ERROR(6);

        private final int number_;

        b(int i10) {
            this.number_ = i10;
        }

        @Override // com.google.firebase.encoders.proto.ProtoEnum
        public int getNumber() {
            return this.number_;
        }
    }

    c(long j10, b bVar) {
        this.f28296a = j10;
        this.f28297b = bVar;
    }

    public static a c() {
        return new a();
    }

    public long a() {
        return this.f28296a;
    }

    public b b() {
        return this.f28297b;
    }
}
