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 p1 extends com.google.crypto.tink.shaded.protobuf.x implements com.google.crypto.tink.shaded.protobuf.p0 {
    private static final p1 DEFAULT_INSTANCE;
    public static final int DEK_TEMPLATE_FIELD_NUMBER = 2;
    public static final int KEK_URI_FIELD_NUMBER = 1;
    private static volatile com.google.crypto.tink.shaded.protobuf.v0 PARSER;
    private int bitField0_;
    private y0 dekTemplate_;
    private String kekUri_ = "";

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

    public static void D(p1 p1Var, String str) {
        p1Var.getClass();
        str.getClass();
        p1Var.kekUri_ = str;
    }

    public static void E(p1 p1Var, y0 y0Var) {
        p1Var.getClass();
        y0Var.getClass();
        p1Var.dekTemplate_ = y0Var;
        p1Var.bitField0_ |= 1;
    }

    public static p1 F() {
        return DEFAULT_INSTANCE;
    }

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

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

    public final y0 G() {
        y0 y0Var = this.dekTemplate_;
        return y0Var == null ? y0.G() : y0Var;
    }

    public final String H() {
        return this.kekUri_;
    }

    @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Ȉ\u0002ဉ\u0000", new Object[]{"bitField0_", "kekUri_", "dekTemplate_"});
        }
        if (iOrdinal == 3) {
            return new p1();
        }
        if (iOrdinal == 4) {
            return new o1(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 (p1.class) {
                try {
                    wVar = PARSER;
                    if (wVar == null) {
                        wVar = new com.google.crypto.tink.shaded.protobuf.w();
                        PARSER = wVar;
                    }
                } finally {
                }
            }
        }
        return wVar;
    }
}
