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 s1 extends com.google.crypto.tink.shaded.protobuf.x implements com.google.crypto.tink.shaded.protobuf.p0 {
    private static final s1 DEFAULT_INSTANCE;
    public static final int KEY_VALUE_FIELD_NUMBER = 3;
    public static final int PARAMS_FIELD_NUMBER = 2;
    private static volatile com.google.crypto.tink.shaded.protobuf.v0 PARSER = null;
    public static final int VERSION_FIELD_NUMBER = 1;
    private int bitField0_;
    private ByteString keyValue_ = ByteString.f23846a;
    private w1 params_;
    private int version_;

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

    public static void D(s1 s1Var, w1 w1Var) {
        s1Var.getClass();
        s1Var.params_ = w1Var;
        s1Var.bitField0_ |= 1;
    }

    public static void E(s1 s1Var, ByteString byteString) {
        s1Var.getClass();
        s1Var.keyValue_ = byteString;
    }

    public static r1 I() {
        return (r1) DEFAULT_INSTANCE.j();
    }

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

    public final ByteString F() {
        return this.keyValue_;
    }

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

    public final int H() {
        return this.version_;
    }

    @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\u0003\u0000\u0001\u0001\u0003\u0003\u0000\u0000\u0000\u0001\u000b\u0002ဉ\u0000\u0003\n", new Object[]{"bitField0_", "version_", "params_", "keyValue_"});
        }
        if (iOrdinal == 3) {
            return new s1();
        }
        if (iOrdinal == 4) {
            return new r1(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 (s1.class) {
                try {
                    wVar = PARSER;
                    if (wVar == null) {
                        wVar = new com.google.crypto.tink.shaded.protobuf.w();
                        PARSER = wVar;
                    }
                } finally {
                }
            }
        }
        return wVar;
    }
}
