package e4;

import com.google.protobuf.AbstractC1300d;
import com.google.protobuf.AbstractC1320n;
import com.google.protobuf.C1323o0;
import com.google.protobuf.InterfaceC1334u0;

/* JADX INFO: loaded from: classes3.dex */
public final class O0 extends com.google.protobuf.L implements InterfaceC1334u0 {
    public static final int DATABASE_FIELD_NUMBER = 1;
    private static final O0 DEFAULT_INSTANCE;
    public static final int LABELS_FIELD_NUMBER = 5;
    private static volatile com.google.protobuf.B0 PARSER = null;
    public static final int STREAM_ID_FIELD_NUMBER = 2;
    public static final int STREAM_TOKEN_FIELD_NUMBER = 4;
    public static final int WRITES_FIELD_NUMBER = 3;
    private C1323o0 labels_ = C1323o0.f14322b;
    private String database_ = "";
    private String streamId_ = "";
    private com.google.protobuf.Y writes_ = com.google.protobuf.L.emptyProtobufList();
    private AbstractC1320n streamToken_ = AbstractC1320n.f14310b;

    static {
        O0 o02 = new O0();
        DEFAULT_INSTANCE = o02;
        com.google.protobuf.L.registerDefaultInstance(O0.class, o02);
    }

    public static void f(O0 o02, String str) {
        o02.getClass();
        str.getClass();
        o02.database_ = str;
    }

    public static void g(O0 o02, AbstractC1320n abstractC1320n) {
        o02.getClass();
        abstractC1320n.getClass();
        o02.streamToken_ = abstractC1320n;
    }

    public static void h(O0 o02, K0 k02) {
        o02.getClass();
        k02.getClass();
        com.google.protobuf.Y y6 = o02.writes_;
        if (!((AbstractC1300d) y6).f14257a) {
            o02.writes_ = com.google.protobuf.L.mutableCopy(y6);
        }
        o02.writes_.add(k02);
    }

    public static O0 i() {
        return DEFAULT_INSTANCE;
    }

    public static M0 j() {
        return (M0) DEFAULT_INSTANCE.createBuilder();
    }

    @Override // com.google.protobuf.L
    public final Object dynamicMethod(com.google.protobuf.K k6, Object obj, Object obj2) {
        com.google.protobuf.B0 h5;
        switch (k6.ordinal()) {
            case 0:
                return (byte) 1;
            case 1:
                return null;
            case 2:
                return com.google.protobuf.L.newMessageInfo(DEFAULT_INSTANCE, "\u0000\u0005\u0000\u0000\u0001\u0005\u0005\u0001\u0001\u0000\u0001Ȉ\u0002Ȉ\u0003\u001b\u0004\n\u00052", new Object[]{"database_", "streamId_", "writes_", K0.class, "streamToken_", "labels_", N0.f16297a});
            case 3:
                return new O0();
            case 4:
                return new M0(DEFAULT_INSTANCE);
            case 5:
                return DEFAULT_INSTANCE;
            case 6:
                com.google.protobuf.B0 b02 = PARSER;
                if (b02 != null) {
                    return b02;
                }
                synchronized (O0.class) {
                    try {
                        h5 = PARSER;
                        if (h5 == null) {
                            h5 = new com.google.protobuf.H(DEFAULT_INSTANCE);
                            PARSER = h5;
                        }
                    } catch (Throwable th) {
                        throw th;
                    }
                    break;
                }
                return h5;
            default:
                throw new UnsupportedOperationException();
        }
    }
}
