package ra;

import com.google.crypto.tink.proto.OutputPrefixType;
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 y0 extends com.google.crypto.tink.shaded.protobuf.x implements com.google.crypto.tink.shaded.protobuf.p0 {
    private static final y0 DEFAULT_INSTANCE;
    public static final int OUTPUT_PREFIX_TYPE_FIELD_NUMBER = 3;
    private static volatile com.google.crypto.tink.shaded.protobuf.v0 PARSER = null;
    public static final int TYPE_URL_FIELD_NUMBER = 1;
    public static final int VALUE_FIELD_NUMBER = 2;
    private int outputPrefixType_;
    private String typeUrl_ = "";
    private ByteString value_ = ByteString.f23846a;

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

    public static void D(y0 y0Var, String str) {
        y0Var.getClass();
        str.getClass();
        y0Var.typeUrl_ = str;
    }

    public static void E(y0 y0Var, ByteString byteString) {
        y0Var.getClass();
        byteString.getClass();
        y0Var.value_ = byteString;
    }

    public static void F(y0 y0Var, OutputPrefixType outputPrefixType) {
        y0Var.getClass();
        y0Var.outputPrefixType_ = outputPrefixType.b();
    }

    public static y0 G() {
        return DEFAULT_INSTANCE;
    }

    public static x0 K() {
        return (x0) DEFAULT_INSTANCE.j();
    }

    public static x0 L(y0 y0Var) {
        com.google.crypto.tink.shaded.protobuf.v vVarJ = DEFAULT_INSTANCE.j();
        vVarJ.g(y0Var);
        return (x0) vVarJ;
    }

    public static y0 M(byte[] bArr, com.google.crypto.tink.shaded.protobuf.q qVar) {
        return (y0) com.google.crypto.tink.shaded.protobuf.x.x(DEFAULT_INSTANCE, bArr, qVar);
    }

    public final OutputPrefixType H() {
        OutputPrefixType outputPrefixTypeA = OutputPrefixType.a(this.outputPrefixType_);
        return outputPrefixTypeA == null ? OutputPrefixType.UNRECOGNIZED : outputPrefixTypeA;
    }

    public final String I() {
        return this.typeUrl_;
    }

    public final ByteString J() {
        return this.value_;
    }

    @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\u0000\u0001\u0003\u0003\u0000\u0000\u0000\u0001Ȉ\u0002\n\u0003\f", new Object[]{"typeUrl_", "value_", "outputPrefixType_"});
        }
        if (iOrdinal == 3) {
            return new y0();
        }
        if (iOrdinal == 4) {
            return new x0(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 (y0.class) {
                try {
                    wVar = PARSER;
                    if (wVar == null) {
                        wVar = new com.google.crypto.tink.shaded.protobuf.w();
                        PARSER = wVar;
                    }
                } finally {
                }
            }
        }
        return wVar;
    }
}
