package ra;

import com.google.crypto.tink.shaded.protobuf.ByteString;
import com.google.crypto.tink.shaded.protobuf.GeneratedMessageLite$MethodToInvoke;

/* JADX INFO: loaded from: classes2.dex */
public final class d extends com.google.crypto.tink.shaded.protobuf.x implements com.google.crypto.tink.shaded.protobuf.p0 {
    private static final d DEFAULT_INSTANCE;
    public static final int KEY_SIZE_FIELD_NUMBER = 1;
    public static final int PARAMS_FIELD_NUMBER = 2;
    private static volatile com.google.crypto.tink.shaded.protobuf.v0 PARSER;
    private int bitField0_;
    private int keySize_;
    private f params_;

    static {
        d dVar = new d();
        DEFAULT_INSTANCE = dVar;
        com.google.crypto.tink.shaded.protobuf.x.z(d.class, dVar);
    }

    public static void D(d dVar, int i10) {
        dVar.keySize_ = i10;
    }

    public static void E(d dVar, f fVar) {
        dVar.getClass();
        dVar.params_ = fVar;
        dVar.bitField0_ |= 1;
    }

    public static c H() {
        return (c) DEFAULT_INSTANCE.j();
    }

    public static d I(ByteString byteString, com.google.crypto.tink.shaded.protobuf.q qVar) {
        return (d) com.google.crypto.tink.shaded.protobuf.x.w(DEFAULT_INSTANCE, byteString, qVar);
    }

    public final int F() {
        return this.keySize_;
    }

    public final f G() {
        f fVar = this.params_;
        return fVar == null ? f.E() : fVar;
    }

    @Override // com.google.crypto.tink.shaded.protobuf.x
    public final Object k(GeneratedMessageLite$MethodToInvoke generatedMessageLite$MethodToInvoke) {
        int iOrdinal = generatedMessageLite$MethodToInvoke.ordinal();
        if (iOrdinal == 0) {
            return (byte) 1;
        }
        if (iOrdinal == 2) {
            return new com.google.crypto.tink.shaded.protobuf.y0(DEFAULT_INSTANCE, "\u0000\u0002\u0000\u0001\u0001\u0002\u0002\u0000\u0000\u0000\u0001\u000b\u0002ဉ\u0000", new Object[]{"bitField0_", "keySize_", "params_"});
        }
        if (iOrdinal == 3) {
            return new d();
        }
        if (iOrdinal == 4) {
            return new c(DEFAULT_INSTANCE);
        }
        if (iOrdinal == 5) {
            return DEFAULT_INSTANCE;
        }
        if (iOrdinal != 6) {
            throw null;
        }
        com.google.crypto.tink.shaded.protobuf.v0 wVar = PARSER;
        if (wVar == null) {
            synchronized (d.class) {
                try {
                    wVar = PARSER;
                    if (wVar == null) {
                        wVar = new com.google.crypto.tink.shaded.protobuf.w();
                        PARSER = wVar;
                    }
                } finally {
                }
            }
        }
        return wVar;
    }
}
