public static Status forNumber(int value) {
            return switch (value) {
                case 0 -> ENDPOINT_INACTIVE;
                case 1 -> ENDPOINT_BUFFERING;
                case 2 -> ENDPOINT_PUBLISHING;
                case 3 -> ENDPOINT_ERROR;
                case 4 -> ENDPOINT_COMPLETE;
                default -> null;
            };
        }
@param value The numeric wire value of the corresponding enum entry.
@return The enum associated with the given numeric wire value.
turms-plugins/turms-plugin-livekit/src/main/java/im/turms/plugin/livekit/core/proto/ingress/IngressState.java